Re: SOLVED Why initramfs stops although root device is mountable and ready to use

2009-07-08 Thread Gilad Ben-Yossef
Lev Olshvang wrote: BTW, is there any way to track next line from /proc/devices 8 sd which modules actually made possible access to devices 8,0 ??? The information is available via sysfs some where ... Gilad -- Gilad Ben-Yossef Chief Coffee Drinker & CTO Codefidence Ltd.

Re: SOLVED Why initramfs stops although root device is mountable and ready to use

2009-07-08 Thread Ilya A. Volynets-Evenbakh
Lev Olshvang wrote: > > BTW, is there any way to track next line from /proc/devices > 8 sd > >which modules actually made possible access to devices 8,0 ??? Dig through /sys filesystem. -- Ilya A. Volynets-Evenbakh http://www.total-knowledge.com

Re: SOLVED Why initramfs stops although root device is mountable and ready to use

2009-07-08 Thread Lev Olshvang
Shachar Shemesh wrote: Ilya A. Volynets-Evenbakh wrote: I think it's the other way around - if you exit from your linuxrc when running from initramfs, it'll continue on with standard boot sequence, while ending linuxrc in initrd will panic the kernel with "Trying to kill PID 1" error. An in

Re: Why initramfs stops although root device is mountable and ready to use

2009-07-07 Thread Shachar Shemesh
Ilya A. Volynets-Evenbakh wrote: I think it's the other way around - if you exit from your linuxrc when running from initramfs, it'll continue on with standard boot sequence, while ending linuxrc in initrd will panic the kernel with "Trying to kill PID 1" error. An initramfs exists for any 2

Re: Why initramfs stops although root device is mountable and ready to use

2009-07-07 Thread Ilya A. Volynets-Evenbakh
Gilad Ben-Yossef wrote: > > Shachar Shemesh wrote: > >> Gilad Ben-Yossef wrote: I do not understand this : root device is ready, but boot process is stuck ?? >>> >>> Simple: >>> >>> You either use an initramfs, and if so your initramfs should mount >>> the real root file sys

Re: Why initramfs stops although root device is mountable and ready to use

2009-07-07 Thread Gilad Ben-Yossef
Shachar Shemesh wrote: Gilad Ben-Yossef wrote: I do not understand this : root device is ready, but boot process is stuck ?? Simple: You either use an initramfs, and if so your initramfs should mount the real root file system itself using switch_root() or you don't use an initramfs

Re: Why initramfs stops although root device is mountable and ready to use

2009-07-07 Thread Shachar Shemesh
Gilad Ben-Yossef wrote: I do not understand this : root device is ready, but boot process is stuck ?? Simple: You either use an initramfs, and if so your initramfs should mount the real root file system itself using switch_root() or you don't use an initramfs and let the kernel mount it

Re: Why initramfs stops although root device is mountable and ready to use

2009-07-07 Thread Gilad Ben-Yossef
Lev Olshvang wrote: Boker Everybody, I recently experienced a strange problem: The system is based on Ubuntu kernel 2.6.28 which I compiled and built initramfs for it provided with a driver for ide disk (pata_via.ko) grub should boot this system from the root=/dev/sda1 The boot process st

Why initramfs stops although root device is mountable and ready to use

2009-07-07 Thread Lev Olshvang
Boker Everybody, I recently experienced a strange problem: The system is based on Ubuntu kernel 2.6.28 which I compiled and built initramfs for it provided with a driver for ide disk (pata_via.ko) grub should boot this system from the root=/dev/sda1 The boot process stops on a famous messag