Re: kernel 3.5.0 and initrd

2012-08-02 Thread Arkadiusz Miśkiewicz
On Wednesday 01 of August 2012, Artur Wroblewski wrote:
 Hi,
 
 When starting system using kernel 3.5.0, then I am getting something around
 
 BusyBox v1.19.3 (2012-01-13 00:33:55 CET) multi-call binary.
 
 Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR
 
 Before that info that /dev/sda1 is missing and after some nice kernel oops.
 
 Sorry for such lame bug report, but maybe someone else has something
 similar?

Looks like kernel 3.5.0 is doing something async way again and our geninitrd 
simply doesn't wait for devices to be activated.

geninitrd in svn should now always use minimal mdev from busybox when full 
udev is not enabled.

-- 
Arkadiusz Miśkiewicz, arekm / maven.pl
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


kernel 3.5.0 and initrd

2012-08-01 Thread Artur Wroblewski
Hi,

When starting system using kernel 3.5.0, then I am getting something around

BusyBox v1.19.3 (2012-01-13 00:33:55 CET) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Before that info that /dev/sda1 is missing and after some nice kernel oops.

Sorry for such lame bug report, but maybe someone else has something similar?

Regards,

w
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: kernel 3.5.0 and initrd

2012-08-01 Thread Elan Ruusamäe

On 01/08/12 22:38, Artur Wroblewski wrote:

On Wed, Aug 1, 2012 at 7:01 PM, Artur Wroblewskiwrob...@pld-linux.org  wrote:

Hi,

When starting system using kernel 3.5.0, then I am getting something around

 BusyBox v1.19.3 (2012-01-13 00:33:55 CET) multi-call binary.

 Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Before that info that /dev/sda1 is missing and after some nice kernel oops.

Sorry for such lame bug report, but maybe someone else has something similar?

yes it's lame, start with geninitrd -v output when generating initrd

--
glen

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: kernel 3.5.0 and initrd

2012-08-01 Thread Artur Wroblewski
On Wed, Aug 1, 2012 at 8:50 PM, Elan Ruusamäe g...@pld-linux.org wrote:
 On 01/08/12 22:38, Artur Wroblewski wrote:

 On Wed, Aug 1, 2012 at 7:01 PM, Artur Wroblewskiwrob...@pld-linux.org
 wrote:

 Hi,

 When starting system using kernel 3.5.0, then I am getting something
 around

  BusyBox v1.19.3 (2012-01-13 00:33:55 CET) multi-call binary.

  Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

 Before that info that /dev/sda1 is missing and after some nice kernel
 oops.

 Sorry for such lame bug report, but maybe someone else has something
 similar?

 yes it's lame, start with geninitrd -v output when generating initrd

# geninitrd -v -f /boot/initrd-3.5.0-1.gz 3.5.0-1
geninitrd: # $Revision: 12530 $ $Date:: 2012-03-30 14:41:13 + #$ (geninitrd)
geninitrd: find_tool: found /usr/lib64/initrd/busybox
geninitrd: find_tool: found /usr/lib64/initrd/cryptsetup
geninitrd: find_tool: found /usr/lib64/initrd/lvm
geninitrd: find_tool: found /usr/lib64/initrd/blkid
geninitrd: find_tool: found /usr/lib64/initrd/udevd
geninitrd: find_tool: found /usr/lib64/initrd/udevadm
geninitrd: find_tool: found /usr/lib64/initrd/v86d
geninitrd: Finding USB keyboard modules
geninitrd: Finding SATA modules (class=0x0106)
geninitrd: Using /dev/sda1 as device for rootfs
geninitrd: Finding modules for device path /dev/sda1
geninitrd: is_luks: /dev/sda1 is not device mapper name
geninitrd: Finding SCSI modules using scsi_hostadapter
geninitrd: Building initrd...
geninitrd: + cp /usr/lib64/initrd/busybox /root/tmp/initrd.SgpGRl/bin/busybox
geninitrd: Loading module [scsi_mod] with options [scan=sync ]
geninitrd: Loading module [libata]
geninitrd: Loading module [libahci]
geninitrd: Loading module [ahci]
geninitrd: Loading module [crc-t10dif]
geninitrd: Loading module [sd_mod]
geninitrd: Loading module [scsi_wait_scan]
geninitrd: Loading module [jbd]
geninitrd: Loading module [mbcache]
geninitrd: Loading module [ext3]
geninitrd: Adding BLKID support to initrd
geninitrd: + cp /usr/lib64/initrd/blkid /root/tmp/initrd.SgpGRl/bin/blkid
geninitrd: Adding rootfs finding based on kernel cmdline root= option support.
geninitrd: + cp /dev/sda1 /root/tmp/initrd.SgpGRl/dev/sda1
geninitrd: image size: 3072 KiB (/root/tmp/initrd.SgpGRl)
geninitrd: Creating initramfs image /root/tmp/initrd.img-agk5Xc
geninitrd: finding compressor: lzo gzip xz lzma bzip2 (via yes)
geninitrd: Compressing /boot/initrd-3.5.0-1.gz with gzip


w
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: kernel 3.5.0 and initrd

2012-08-01 Thread Paweł Sikora
On Wednesday 01 of August 2012 20:38:57 Artur Wroblewski wrote:
 On Wed, Aug 1, 2012 at 7:01 PM, Artur Wroblewski wrob...@pld-linux.org 
 wrote:
  Hi,
 
  When starting system using kernel 3.5.0, then I am getting something around
 
  BusyBox v1.19.3 (2012-01-13 00:33:55 CET) multi-call binary.
 
  Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR
 
  Before that info that /dev/sda1 is missing and after some nice kernel oops.
 
  Sorry for such lame bug report, but maybe someone else has something 
  similar?
 
 The screenshot for above attached.

try to install udev-initrd, set USE_UDEV=yes in /etc/sysconfig/geninitrd and 
regen initrd.

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: kernel 3.5.0 and initrd

2012-08-01 Thread Artur Wroblewski
On Wed, Aug 1, 2012 at 9:04 PM, Paweł Sikora pl...@agmk.net wrote:
[...]
 try to install udev-initrd, set USE_UDEV=yes in /etc/sysconfig/geninitrd and 
 regen initrd.

that helped. thanks.

w
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en