Bug 329663

Summary: initrd problems with mylex based systems
Product: [openSUSE] openSUSE 10.3 Reporter: Forgotten User jwhIznUHTS <forgotten_jwhIznUHTS>
Component: InstallationAssignee: Hannes Reinecke <hare>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: alex, forgotten_jwhIznUHTS, hare
Version: RC 1   
Target Milestone: ---   
Hardware: 64bit   
OS: openSUSE 10.3   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: TAR archiv (compressed with bzip2)
mylex support for mkinitrd

Description Forgotten User jwhIznUHTS 2007-09-30 08:20:12 UTC
bootmanager: grub in MBR
2 HD mirror - 1 mylex drive (/dev/rd/c0d0)
rootfs on /dev/rd/c0d0p3
/boot on /dev/rd/c0d0p1
swap on /dev/rd/c0d0p2
LVM on /dev/rd/c0d0p4

mkinitrd is not able to build an initrd. I'm getting the following failure during installation:

########################################
Subprocess failed. Error: RPM failed: Free diskspace below /boot: 158204 blocks
Setting up /lib/modules/2.6.22.5-29-default

Kernel image:   /boot/vmlinuz-2.6.22.5-29-default
Initrd image:   /boot/initrd-2.6.22.5-29-default
Root device:    /dev/rd/c0d0p3 (mounted on / as ext3)
Device rd!c0d0p not found in sysfs
Script /lib/mkinitrd/setup/72-block.sh failed!
/sbin/mkinitrd failed
error: %post(kernel-default-2.6.22.5-29.x86_64) scriptlet failed, exit status 1
#########################################

Booting the installed system via CD works.


"ls -la /sys/block/rd\!c0d0/" shows:
##########################################
bspen:/lib/mkinitrd/scripts # l /sys/block/rd\!c0d0/
total 0
drwxr-xr-x  9 root root    0 Sep 29 23:51 ./
drwxr-xr-x 51 root root    0 Sep 29 17:00 ../
-r--r--r--  1 root root 4096 Sep 29 23:51 capability
-r--r--r--  1 root root 4096 Sep 29 23:51 dev
drwxr-xr-x  2 root root    0 Sep 29 16:58 holders/
drwxr-xr-x  3 root root    0 Sep 29 16:58 queue/
-r--r--r--  1 root root 4096 Sep 29 23:50 range
drwxr-xr-x  3 root root    0 Sep 30 08:49 rd!c0d0p1/
drwxr-xr-x  3 root root    0 Sep 29 23:51 rd!c0d0p2/
drwxr-xr-x  3 root root    0 Sep 30 09:32 rd!c0d0p3/
drwxr-xr-x  3 root root    0 Sep 29 23:51 rd!c0d0p4/
-r--r--r--  1 root root 4096 Sep 29 23:51 removable
-r--r--r--  1 root root 4096 Sep 29 23:51 size
drwxr-xr-x  2 root root    0 Sep 29 16:58 slaves/
-r--r--r--  1 root root 4096 Sep 29 23:51 stat
lrwxrwxrwx  1 root root    0 Sep 29 23:51 subsystem -> ../../block/
--w-------  1 root root 4096 Sep 29 23:51 uevent
###########################################
Comment 1 Cyril Hrubis 2007-10-02 15:53:28 UTC
Please attach y2logs from this installation. If you are in doubt follow:

http://en.opensuse.org/Bugs/YaST

Thanks!
Comment 2 Forgotten User jwhIznUHTS 2007-10-03 07:33:54 UTC
Created attachment 176058 [details]
TAR archiv (compressed with bzip2)
Comment 3 Forgotten User jwhIznUHTS 2007-10-03 07:39:34 UTC
Comment on attachment 176058 [details]
TAR archiv (compressed with bzip2)

Thanks for your reply - if you need further support from my side, please tell me.

regards - Bernd
Comment 4 Michal Zugec 2007-10-09 17:05:21 UTC
error is from postinstall script of kernel package
reassigned to kernel-maintainers
Comment 5 Alexander Graf 2007-10-14 22:21:40 UTC
This is an initrd bug. The block script searches for rd!c0d0p while it should be using rd!c0d0.
Comment 6 Alexander Graf 2007-10-14 22:43:21 UTC
Additionally there is no device symlink in sysfs, so as far as I can tell, we need to hardcode the kernel module name. I hope I guessed that one right.

Hannes, does this patch break cciss support?
Bernd, could you please try the attached patch?
Comment 7 Alexander Graf 2007-10-14 22:44:13 UTC
Created attachment 178316 [details]
mylex support for mkinitrd
Comment 8 Hannes Reinecke 2007-10-15 10:30:45 UTC
Yep, patch works for cciss.
Comment 9 Hannes Reinecke 2007-10-16 11:49:06 UTC
Updated rpm & patchinfo submitted.
Comment 10 Forgotten User jwhIznUHTS 2007-10-17 09:00:55 UTC
Sorry for respondig so late, but i'm sick and still not on work - so I'm not reading my emails at the moment.

@Alexander Graf:
I've added the patch and can confirm, that everything is OK now.

@Hannes Reinecke: 
I've not found an RPM - at least it does not came via YOU. Is it only in the Facctory Tree?

Many Thanks to all of you!

regards - Bernd