On Mon, 21 Mar 2011, Pawel Golaszewski wrote:
> Pojawił mi się problem z wygenerowaniem poprawnego initrd do nowego 
> kernela. Wszystko się ładnie niby generuje, ale w wynikowym initrd brakuje 
> zwykłego device dla urządzenia.
> Urządzenie to /dev/sda1, raid sprzętowy tego kontrolera:
> 05:00.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1068E 
> PCI-Express Fusion-MPT SAS (rev 08)
> 
> Efektem całej zabawy jest panic przy starcie - nie może zamountować 
> root-a...
> 
> Na systemach gdzie mam md-raid elegancko widać przy generowaniu initrd jak 
> kopiuje device. Tutaj nie ma czegoś takiego...
> 
> Jak to ma działać?
> 
> Całość generowania wygląda tak:
> geninitrd: # $Revision: 12163 $ $Date: 2011-02-19 08:26:36 +0000 (Sat, 19 Feb 
> 2011) $ (geninitrd)
> geninitrd: Using _lib: lib64
> geninitrd: Using initrd_dir: /usr/lib64/initrd
> geninitrd: find_tool: found /usr/lib64/initrd/busybox
> geninitrd: # $Revision: 12159 $ $Date: 2011-02-17 23:16:30 +0100 (czw) $ 
> (mod-luks)
> geninitrd: find_tool: did not found any of: /usr/lib64/initrd/cryptsetup 
> /sbin/cryptsetup-initrd
> geninitrd: # $Revision: 12159 $ $Date: 2011-02-17 23:16:30 +0100 (czw) $ 
> (mod-multipath)
> geninitrd: # $Revision: 12159 $ $Date: 2011-02-17 23:16:30 +0100 (czw) $ 
> (mod-dmraid)
> geninitrd: find_tool: did not found any of: /usr/lib64/initrd/dmraid 
> /sbin/dmraid-initrd
> geninitrd: # $Revision: 12159 $ $Date: 2011-02-17 23:16:30 +0100 (czw) $ 
> (mod-lvm)
> geninitrd: find_tool: found /usr/lib64/initrd/lvm
> geninitrd: # $Revision: 12159 $ $Date: 2011-02-17 23:16:30 +0100 (czw) $ 
> (mod-md)
> geninitrd: find_tool: found /usr/lib64/initrd/mdassemble
> geninitrd: find_tool: found /usr/lib64/initrd/mdadm
> geninitrd: # $Revision: 12159 $ $Date: 2011-02-17 23:16:30 +0100 (czw) $ 
> (mod-blkid)
> geninitrd: find_tool: did not found any of: /usr/lib64/initrd/blkid 
> /sbin/initrd-blkid
> geninitrd: # $Revision: 12159 $ $Date: 2011-02-17 23:16:30 +0100 (czw) $ 
> (mod-udev)
> geninitrd: find_tool: did not found any of: /usr/lib64/initrd/udevd 
> /sbin/initrd-udevd
> geninitrd: find_tool: did not found any of: /usr/lib64/initrd/udevadm 
> /sbin/initrd-udevadm
> geninitrd: # $Revision: 12159 $ $Date: 2011-02-17 23:16:30 +0100 (czw) $ 
> (mod-tuxonice)
> geninitrd: # $Revision: 12159 $ $Date: 2011-02-17 23:16:30 +0100 (czw) $ 
> (mod-suspend)
> geninitrd: find_tool: did not found any of: /usr/lib64/initrd/resume 
> /usr/lib64/suspend/resume /usr/sbin/resume
> geninitrd: # $Revision: 12159 $ $Date: 2011-02-17 23:16:30 +0100 (czw) $ 
> (mod-fbsplash)
> geninitrd: find_tool: did not found any of: /usr/sbin/splash_geninitramfs 
> /usr/bin/splash_geninitramfs
> geninitrd: # $Revision: 12159 $ $Date: 2011-02-17 23:16:30 +0100 (czw) $ 
> (mod-condecor)
> geninitrd: find_tool: did not found any of: /usr/sbin/splash_geninitramfs 
> /usr/bin/splash_geninitramfs
> geninitrd: # $Revision: 12159 $ $Date: 2011-02-17 23:16:30 +0100 (czw) $ 
> (mod-bootsplash)
> geninitrd: find_tool: did not found any of: /bin/splash.bin
> geninitrd: # $Revision: 12159 $ $Date: 2011-02-17 23:16:30 +0100 (czw) $ 
> (mod-uvesafb)
> geninitrd: find_tool: did not found any of: /usr/lib64/initrd/v86d /sbin/v86d
> geninitrd: # $Revision: 12159 $ $Date: 2011-02-17 23:16:30 +0100 (czw) $ 
> (mod-sata)
> geninitrd: find_tool: found /sbin/lspci
> geninitrd: Using modprobe -c to get modules config
> geninitrd: Finding SATA modules (class=0x0106)
> geninitrd: Using /dev/sda1 as device for rootfs
> geninitrd: Finding modules for device path /dev/sda1
> geninitrd: Finding SCSI modules using scsi_hostadapter
> geninitrd: Building initrd...
> geninitrd: + cp /usr/lib64/initrd/busybox /root/tmp/initrd.S2HWrd/bin/busybox
> geninitrd: Loading module [scsi_mod] with options [scan=sync ]
> geninitrd: Loading module [scsi_transport_sas]
> geninitrd: Loading module [mptbase]
> geninitrd: Loading module [mptscsih]
> geninitrd: Loading module [mptsas]
> geninitrd: Loading module [crc-t10dif]
> geninitrd: Loading module [sd_mod]
> geninitrd: Loading module [scsi_wait_scan]
> geninitrd: Loading module [mbcache]
> geninitrd: Loading module [jbd]
> geninitrd: Loading module [ext3]
> geninitrd: Adding rootfs finding based on kernel cmdline root= option support.
> geninitrd: Creating rom image /root/tmp/initrd.img-qF4oy2
> geninitrd: image size: 2048 KiB (/root/tmp/initrd.S2HWrd)
> geninitrd: finding compressor: lzo gzip xz lzma bzip2 (via yes)
> geninitrd: Compressing /boot/initrd-2.6.37.2-2.gz with gzip

No i dokładnie identyczny problem powrócił na obecnym kernelu (w zasadzie 
to nie pamiętam czy wówczas był zwalczony).

Jakieś pomysły jak to zdebuggować?

-- 
pozdr.  Paweł Gołaszewski          jid:blues<at>jabber<dot>gda<dot>pl
--------------------------------------------------------------------------
If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby
Pro-Logic Surround Sound with Bass Boost and all the music is free.
_______________________________________________
pld-devel-pl mailing list
pld-devel-pl@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym