Bernard,

I just figured this out and it may be useful for anyone using a monolithic (no 
modules) UYOK setup.  The symptom is that the kernel hangs during device 
instantiation prior to init.  Monolithic kernels by definition don't use 
initrd.  If this is not defined in the .config then you can't boot up the 
initrd.  This sounds obvious, but there was something that confused me.

There are multiple variables involved:
CONFIG_BLK_DEV_RAM
CONFIG_BLK_DEV_INITRD

 plus

CONFIG_BLK_DEV_LOOP

in order to make everything work correctly.  My kernels are stripped of 
everything that's not needed, including RAM disks and loopback devices.  As I 
quickly went in and added the loop and RAM device, I did not pay close 
attention and failed to add the INITRD device, hence the hang when it tried to 
mount the initrd filesystem.

Problem solved.  Happy Customer.

Mitch

Mitch Sako wrote:
> Bernard,
> 
> I mounted up the initrd.  It looks like linuxrc links to bin/busybox which is 
> indeed 32-bit.  What file does the kernel look for when he's done with his 
> booting sequence?
> 
> sbin looks like this:
> $ ls -l sbin
> total 212
> -rwxr-xr-x    1 root     root        99980 Aug 10 11:35 dhclient*
> lrwxrwxrwx    1 root     root           14 Aug 10 19:00 fdisk -> 
> ../bin/busybox*
> lrwxrwxrwx    1 root     root           14 Aug 10 19:00 halt -> 
> ../bin/busybox*
> -rwxr-xr-x    1 root     root         1139 Aug 10 11:32 hotplug*
> lrwxrwxrwx    1 root     root           14 Aug 10 19:00 ifconfig -> 
> ../bin/busybox*
> lrwxrwxrwx    1 root     root           14 Aug 10 19:00 init -> 
> ../bin/busybox*
> lrwxrwxrwx    1 root     root           14 Aug 10 19:00 insmod -> 
> ../bin/busybox*
> lrwxrwxrwx    1 root     root           14 Aug 10 19:00 klogd -> 
> ../bin/busybox*
> lrwxrwxrwx    1 root     root           14 Aug 10 19:00 lsmod -> 
> ../bin/busybox*
> lrwxrwxrwx    1 root     root           14 Aug 10 19:00 makedevs -> 
> ../bin/busybox*
> lrwxrwxrwx    1 root     root           14 Aug 10 19:00 modprobe -> 
> ../bin/busybox*
> lrwxrwxrwx    1 root     root           14 Aug 10 19:00 pivot_root -> 
> ../bin/busybox*
> lrwxrwxrwx    1 root     root           14 Aug 10 19:00 poweroff -> 
> ../bin/busybox*
> lrwxrwxrwx    1 root     root           14 Aug 10 19:00 reboot -> 
> ../bin/busybox*
> lrwxrwxrwx    1 root     root           14 Aug 10 19:00 rmmod -> 
> ../bin/busybox*
> lrwxrwxrwx    1 root     root           14 Aug 10 19:00 route -> 
> ../bin/busybox*
> lrwxrwxrwx    1 root     root           14 Aug 10 19:00 swapoff -> 
> ../bin/busybox*
> lrwxrwxrwx    1 root     root           14 Aug 10 19:00 swapon -> 
> ../bin/busybox*
> lrwxrwxrwx    1 root     root           14 Aug 10 19:00 switch_root -> 
> ../bin/busybox*
> lrwxrwxrwx    1 root     root           14 Aug 10 19:00 syslogd -> 
> ../bin/busybox*
> -rwxr-xr-x    1 root     root        10220 Aug 10 11:35 udevcontrol*
> -rwxr-xr-x    1 root     root        56496 Aug 10 11:35 udevd*
> -rwxr-xr-x    1 root     root        23132 Aug 10 11:35 udevplug*
> -rwxr-xr-x    1 root     root        18992 Aug 10 11:35 udevsend*
> 
> bin looks like this:
> $  ls -l bin
> total 653
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 ash -> busybox*
> lrwxrwxrwx    1 root     root           36 Aug 10 19:00 bittorrent-console -> 
> ../lib/bittorrent/bittorrent-console*
> -rwxr-xr-x    1 root     root       232856 Aug 10 11:35 busybox*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 cat -> busybox*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 chmod -> busybox*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 chown -> busybox*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 cp -> busybox*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 dd -> busybox*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 df -> busybox*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 dmesg -> busybox*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 echo -> busybox*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 egrep -> busybox*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 fgrep -> busybox*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 grep -> busybox*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 kill -> busybox*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 ln -> busybox*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 ls -> busybox*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 mkdir -> busybox*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 mknod -> busybox*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 more -> busybox*
> -rwxr-xr-x    1 root     root        75136 Aug 10 11:35 mount*
> -rwxr-xr-x    1 root     root         4720 Aug 10 11:35 mountpoint*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 mv -> busybox*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 ping -> busybox*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 ps -> busybox*
> -rwxr-xr-x    1 root     root        15792 Aug 10 11:35 readlink*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 rm -> busybox*
> -rwxr-xr-x    1 root     root       243676 Aug 10 11:35 rsync*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 sed -> busybox*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 sh -> busybox*
> -rwxr-xr-x    1 root     root          245 Aug 10  2002 shutdown*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 sleep -> busybox*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 tar -> busybox*
> lrwxrwxrwx    1 root     root           37 Aug 10 19:00 torrentinfo-console 
> -> ../lib/bittorrent/torrentinfo-console*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 touch -> busybox*
> -rwxr-xr-x    1 root     root        40116 Aug 10 11:35 udp-receiver*
> -rwxr-xr-x    1 root     root        45632 Aug 10 11:35 umount*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 uname -> busybox*
> lrwxrwxrwx    1 root     root            7 Aug 10 19:00 vi -> busybox*
> 
> 
> 
> 
> Bernard Li wrote:
> 
>>Right - I checked your previous emails, you're using RHEL3 w/ 2.6
>>kernel...
>>
>>Anyways, wait for the release - test it with a clean install and we'll
>>go from there :-)
>>
>>Have you tried the CD on another machine to see if it boots?
>>
>>Cheers,
>>
>>Bernard 
>>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to