Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138683 - silo fails on U30
Summary: silo fails on U30
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: Sparc64 Linux
: High normal (vote)
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-01 03:15 UTC by Konstantin Agouros
Modified: 2007-06-07 17:21 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Agouros 2006-07-01 03:15:01 UTC
When booting the system (silo 1.4.13 emerged) after choosing one of the kernels I get:

Allocated 8 Megs of memory at 0x40000000 for kernel                             
Loaded kernel version 2.4.32                                                    
Illegal Instruction            

And an OK prompt

The kernel it tries to boot is sparc-sources-2.4.32-r5

Gentoo Base System version 1.6.15
Portage 2.1-r1 (default-linux/sparc/sparc64/2006.0, gcc-20050130, glibc-2.3.6-r4
, 2.4.31-sparc sparc64)
=================================================================
System uname: 2.4.31-sparc sparc64 sun4u
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r6
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-mcpu=ultrasparc -O3 -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/
distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/d
istfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="sparc X apache2 arts avi berkdb bitmap-fonts cli crypt cups dba dlloader dr
i eds encode esd fbcon foomaticdb fortran gcc64 gd gdbm gif gnome gstreamer gtk 
gtk2 imlib ipv6 isdnlog ithreads jpeg kde ldap libwww mad mikmod motif mpeg ncur
ses nls ogg opengl oss pam pcre pdflib perl png pppd python qt3 readline reflect
ion sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev vorb
is xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse 
input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGU
AS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jason Wever (RETIRED) gentoo-dev 2006-07-02 08:49:36 UTC
Has this worked previously?  This looks more like a kernel issue than a SILO issue to me.
Comment 2 Konstantin Agouros 2006-07-02 08:51:43 UTC
it hasn't worked with 1.4.11, but with earlier ones. I tried different kernels I have on the disk though. All fail with the same error.
Comment 3 Gustavo Zacarias (RETIRED) gentoo-dev 2006-07-03 05:42:34 UTC
What machine model are we talking about, and which OBP version?
Comment 4 Konstantin Agouros 2006-07-03 09:06:46 UTC
U30 OBP is 3.26 I think
Comment 5 Gustavo Zacarias (RETIRED) gentoo-dev 2006-07-03 11:42:29 UTC
If you don't have 3.27.0 try upgrading to it since it's the latest and fixes a ton of bugs.
http://sunsolve.sun.com/search/document.do?assetkey=1-21-105930-06-1
Comment 6 Konstantin Agouros 2006-07-03 11:44:31 UTC
is there a way to find the current obp version from linux command prompt... I try updating anyway
Comment 7 Gustavo Zacarias (RETIRED) gentoo-dev 2006-07-03 11:46:17 UTC
cat /proc/openprom/openprom/version with openpromfs mounted.
Comment 8 Konstantin Agouros 2006-07-03 11:51:12 UTC
cat openprom/version                                       
'OBP 3.27.0 2000/08/23 15:43'            

So I guess I am current...

I will try to copy the kernel binary from the CD to the harddisk call silo and see 
if this one boots. Since it boots from CD this should show if something is wrong with silo.
Comment 9 Gustavo Zacarias (RETIRED) gentoo-dev 2006-07-03 11:52:25 UTC
Actually you could try booting my latest experimental livecd @ http://dev.gentoo.org/~gustavoz/sparc/experimental/ that's based on silo 1.4.13 and has both 2.4 & 2.6 kernels to play with.
Comment 10 Konstantin Agouros 2006-07-03 12:34:18 UTC
boot: 2431                                                                      
Allocated 8 Megs of memory at 0x40000000 for kernel                             
Loaded kernel version 2.4.31                                                    
Illegal Instruction                                 

This is the kernel on the 2005.1 live-cd is there anything I can give silo to boot the kernel in a more verbose way?

Maybe something inside /boot hasn't been updated?

Konstantin
Comment 11 Gustavo Zacarias (RETIRED) gentoo-dev 2006-07-03 12:39:16 UTC
Try the experimental livecd, that's what we are targetting since there were a lot of changes in silo lately.
Comment 12 Konstantin Agouros 2006-07-03 13:48:49 UTC
So I tried all three kernels on the experimental mini install cd.

All came back with illegal instruction...
Comment 13 Lars Weiler (RETIRED) gentoo-dev 2006-09-24 08:54:55 UTC
silo 1.4.13 fails as well on my U10.  Either from disk and from CD (2006.1).  I tested with a bunch of kernels on my disk (2.4.24-26, 2.6.1, 2.6.7, 2.6.10, 2.6.11 and 2.6.15).

But this is OBP 3.19.  Let's see if I can upgrade it somehow...
Comment 14 Lars Weiler (RETIRED) gentoo-dev 2006-09-24 10:59:04 UTC
(In reply to comment #13)
> But this is OBP 3.19.  Let's see if I can upgrade it somehow...

Same with OBP 3.31.0.  But I can boot with an older silo (1.4.9) from a Debian CD.
Comment 15 Gustavo Zacarias (RETIRED) gentoo-dev 2006-09-26 11:47:06 UTC
Works fine in my U5 which is basically the same as a U10 (same motherboard, cpu, everything). What's your error message since you didn't mention it?
Comment 16 Lars Weiler (RETIRED) gentoo-dev 2006-09-26 17:07:23 UTC
(In reply to comment #15)
> Works fine in my U5 which is basically the same as a U10 (same motherboard,
> cpu, everything). What's your error message since you didn't mention it?

Same like in the initial post: "Illegal Instruction"

I tried to chroot into the installed Gentoo from a 2006.0 CD, but got an error about "kernel too old" or something like that.  I can tell the exact error next weekend when I have time and access to that machine again.
Comment 17 Lars Weiler (RETIRED) gentoo-dev 2006-10-29 07:53:45 UTC
This issue is solved for me.

I made a backup of my data, wiped the complete disk and created a new sun disklabel with the current partitioning scheme suggesorted in the handbook (1.5GB for / on hdb1, 512MB for swap on hdb2, whole disk on hdb3, 8GB for /usr on hdb4, 2.5GB for /var on hdb5, rest for /home on hdb6).

Now I can boot with silo 1.4.13 and somehow even the 2616-kernel on the 2006.1-CD works.
Comment 18 Gustavo Zacarias (RETIRED) gentoo-dev 2007-05-21 22:30:11 UTC
Konstantin: any news on this with Lars's take on it?
Also we've found on some models with buggy OBP that setting auto-boot? to false and doing a hard reset of the machine and then trying to boot off cdrom helps (hard reset = power off).
Comment 19 Konstantin Agouros 2007-05-22 16:49:51 UTC
Hello,

I haven't actually tried in quite a while, since I am now booting Linux via the network with a tftp-server.

I could btw always boot from cdrom

Regards,

Konstantin
Comment 20 Gustavo Zacarias (RETIRED) gentoo-dev 2007-06-07 17:21:03 UTC
Closing as NEEDINFO because there's no NEEDTESTERS :)