hi,

I try to get FAI working for my SPARC machines and build a own kernel and let 
the kernel create the initrd. The most problem is the size of the tftp 
bootimage, which does not exceed 9.5MB, otherwise it can't load anymore.

The complete SPARC environment was create under the target (config + NFSRoot)  
and copied to the real FAI Server (X86). Also some FAI initrd files I copied to 
my own initrd. 
Now I hang on the boot process:

[...]
[   69.947437] tg3 0000:0c:04.1: eth3: Link is up at 1000 Mbps, full duplex
[   70.038007] tg3 0000:0c:04.1: eth3: Flow control is on for TX and on for RX
[   70.423596] tg3 0000:09:04.0: eth0: Link is up at 1000 Mbps, full duplex
[   70.511857] tg3 0000:09:04.0: eth0: Flow control is on for TX and on for RX
[   72.884113] . OK
[   74.409930] IP-Config: Got DHCP answer from 192.168.1.1, my address is 
192.168.1.5
[   74.664458] IP-Config: Complete:
[   74.706924]      device=eth3, addr=192.168.1.5, mask=255.255.255.0, 
gw=192.168.1.1,
[   74.804398]      host=template.rbg.foobar, domain=rbg.foobar, 
nis-domain=(none),
[   74.947630]      bootserver=192.168.1.1, rootserver=192.168.1.1, 
rootpath=/srv/fai-sparc/nfsroot
[   75.066827] Warning: unable to open an initial console.
[   75.180306] udev[73]: starting version 164


BusyBox v1.17.1 (Debian 1:1.17.1-8) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs)

[...]

the command line:

boot net3:dhcp root=/dev/nfs nfsroot:192.168.1.1:/srv/fai-sparc/nfsroot 
ip=::::eth3:

NFS itself is working:

(initramfs) mount
rootfs on / type rootfs (rw)
none on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
none on /proc type proc (rw,nosuid,nodev,noexec,relatime)
none on /dev type devtmpfs (rw,relatime,size=2071464k,nr_inodes=258933,mode=755)
none on /dev/pts type devpts 
(rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
udev on /dev type tmpfs (rw,relatime,size=10240k,mode=755)
none on /dev/pts type devpts 
(rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
(initramfs) mkdir /mnt
(initramfs) nfsmount 192.168.1.1:/srv/fai-sparc/nfsroot /mnt
(initramfs) ls /mnt
live
(initramfs) 


If I put into the command line "boot=live" than:

[...]
[   77.044287] Sending DHCP and RARP requests .
[   79.036276] tg3 0000:0c:04.1: eth3: Link is up at 1000 Mbps, full duplex
[   79.126838] tg3 0000:0c:04.1: eth3: Flow control is on for TX and on for RX
[   79.219337] tg3 0000:09:04.0: eth0: Link is up at 1000 Mbps, full duplex
[   79.307565] tg3 0000:09:04.0: eth0: Flow control is on for TX and on for RX
[   81.444262] ., OK
[   82.973979] IP-Config: Got RARP answer from 192.168.1.1, my address is 
192.168.1.5
[   83.228600] IP-Config: Complete:
[   83.271074]      device=eth3, addr=192.168.1.5, mask=255.255.255.0, 
gw=192.168.1.1,
[   83.368550]      host=template.rbg.foobar, domain=rbg.foobar, 
nis-domain=(none),
[   83.511783]      bootserver=192.168.1.1, rootserver=192.168.1.1, 
rootpath=/srv/fai-sparc/nfsroot
[   83.630980] Warning: unable to open an initial console.
[   83.744448] udev[73]: starting version 164
[   84.309317] Kernel panic - not syncing: Attempted to kill init!
[   84.387304] Call Trace:
[   84.419388]  [000000000045b8f8] do_exit+0xa8/0x6bc
[   84.482394]  [000000000045bf7c] do_group_exit+0x70/0xa8
[   84.551142]  [000000000045bfcc] SyS_exit_group+0x18/0x28
[   84.621044]  [0000000000405fd4] linux_sparc_syscall32+0x34/0x40
[   84.698955] Press Stop-A (L1-A) to return to the boot prom
[...]


So I have something missed ... 

any suggestions?

It seems, that there must be a problem with "init".

cu denny


Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to