[Bug 206432] New: install to external firewire drive does not include sbp2 module in initrd, so unbootable
https://bugzilla.novell.com/show_bug.cgi?id=206432 Summary: install to external firewire drive does not include sbp2 module in initrd, so unbootable Product: openSUSE 10.2 Version: Alpha 4 Platform: Macintosh OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: harbaugh@ncifcrf.gov QAContact: jsrain@novell.com Installation to external firewire hd attached to Xserve G5 *does* work, but installed system is not bootable due to sbp2 module not being included in initrd. Boot attempt falls into shell: . . . Loading ieee1394 ieee1394: Initialized config rom entry `ip1394' Loading ohci1394 PCI: Enabling device: (0001:03:0e.0), cmd 2 ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[40] MMIO=[80200000-802007ff] Max Packet=[4096] IR/IT contexts=[8/8] No RAID disks Waiting for device /dev/sdc8 to appear: .ieee1394: Node added: ID:BUS[0-00:1023] GUID[0050770e10000215] ieee1394: Node added: ID:BUS[0-01:1023] GUID[00d04b3815067a2f] ieee1394: Host added: ID:BUS[0-03:1023] GUID[000d93fffec32438] ............................not found -- exiting to /bin/sh sh: no job control in this shell $ ls /lib/modules/2*/kernel/drivers/ieee1394 ieee1394.ko ohci1394.ko -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206432 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |hare@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206432 hare@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|hare@novell.com |yast2-maintainers@suse.de ------- Comment #1 from hare@novell.com 2006-09-21 03:37 MST ------- YaST issue. We don't do automatic module detection in mkinitrd but rather rely on the information in /etc/sysconfig/kernel:INITRD_MODULES. This is turn is written during installation time from YaST2. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206432 fehr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206432 fehr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |harbaugh@ncifcrf.gov ------- Comment #2 from fehr@novell.com 2006-09-21 03:43 MST ------- Need YaST2 log files -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206432 ------- Comment #3 from harbaugh@ncifcrf.gov 2006-09-21 04:47 MST ------- Created an attachment (id=99312) --> (https://bugzilla.novell.com/attachment.cgi?id=99312&action=view) /var/log/YaST2 sans y2log-2 and y2log-3 (will be separate due to size) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206432 ------- Comment #4 from harbaugh@ncifcrf.gov 2006-09-21 04:48 MST ------- Created an attachment (id=99313) --> (https://bugzilla.novell.com/attachment.cgi?id=99313&action=view) /var/log/YaST2/y2log-2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206432 ------- Comment #5 from harbaugh@ncifcrf.gov 2006-09-21 04:48 MST ------- Created an attachment (id=99314) --> (https://bugzilla.novell.com/attachment.cgi?id=99314&action=view) /var/log/YaST2/y2log-3 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206432 fehr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fehr@novell.com AssignedTo|yast2-maintainers@suse.de |snwint@novell.com Status|NEEDINFO |NEW Info Provider|harbaugh@ncifcrf.gov | ------- Comment #6 from fehr@novell.com 2006-09-21 09:30 MST ------- The data provided by hwinfo tells me to load mdoules - sata_svw for the SATA controller - ohci1394 for controller disk /dev/sdc is attached to These modules are correcly part of INITRD_MODULES Steffen is hwinfo data missing or are there other reasons that make this setup fail. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206432 ------- Comment #7 from harbaugh@ncifcrf.gov 2006-09-21 09:46 MST ------- sbp2 is required for external firewire hard drives. from the log when sbp2 is correctly loaded, the harddrive is associated with sbp2: ieee1394: Node added: ID:BUS[0-00:1023] GUID[0050770e10000215] ieee1394: Node added: ID:BUS[0-01:1023] GUID[00d04b3815067a2f] ieee1394: Host added: ID:BUS[0-03:1023] GUID[000d93fffec32438] ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1) ieee1394: sbp2: Try serialize_io=0 for better performance scsi5 : SBP-2 IEEE-1394 device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com ieee1394: sbp2: Logged into SBP-2 device ieee1394: Node 0-00:1023: Max speed [S400] - Max payload [2048] Vendor: WDC WD20 Model: 00JB-00GVA0 Rev: Type: Direct-Access-RBC ANSI SCSI revision: 04 SCSI device sdc: 390721968 512-byte hdwr sectors (200050 MB) sdc: Write Protect is off sdc: Mode Sense: 00 13 00 00 SCSI device sdc: drive cache: write back SCSI device sdc: 390721968 512-byte hdwr sectors (200050 MB) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206432 ------- Comment #8 from harbaugh@ncifcrf.gov 2006-09-21 09:53 MST ------- also note the OF path to the device indicates the use of the sbp-2 protocol: /ht@0,f2000000/pci@5/firewire@e/node@0050770e10000215/sbp-2@4000/disk@0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206432 ------- Comment #9 from harbaugh@ncifcrf.gov 2006-09-21 10:01 MST ------- Also note that the following solution is a nasty (but effective) workaround 1. pull the created initrd off to another linux system 2. unpack the initrd 3. put sbp2.ko in to the appropriate directory of the unpacked initrd 4. repack the initrd 5. put the new initrd in place of the old initrd with this, you still fall into a shell, but you can load the sbp2.ko module by-hand. THEN the system boots as it should. after booting I corrected the /etc/sysconfig/kernel file to include sbp2 as an initrd module, and did mkinitrd. the resulting initrd booted up without falling into a shell. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206432 snwint@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |harbaugh@ncifcrf.gov ------- Comment #10 from snwint@novell.com 2006-09-22 02:57 MST ------- what does 'hwinfo --disk' say? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206432 ------- Comment #11 from harbaugh@ncifcrf.gov 2006-09-22 04:09 MST ------- node03:~ # hwinfo --disk 21: IDE 00.0: 10600 Disk [Created at block.218] UDI: /org/freedesktop/Hal/devices/storage_serial_SATA_Hitachi_HDS7225_VNRB9JC2DBY9HL Unique ID: WmB0.4o+akiQIsiF Parent ID: wSm+.VoA0lnb6858 SysFS ID: /block/sda SysFS BusID: 0:0:0:0 SysFS Device Link: /devices/pci0001:00/0001:00:07.0/0001:05:0c.0/host0/target0:0:0/0:0:0:0 Hardware Class: disk Model: "Hitachi HDS72258" Vendor: "Hitachi" Device: "HDS72258" Revision: "V32B" Serial ID: "VNRB9JC2DBY9HL" Driver: "sata_svw", "sd" Driver Modules: "sata_svw" Device File: /dev/sda Device Files: /dev/sda, /dev/disk/by-id/scsi-SATA_Hitachi_HDS7225_VNRB9JC2DBY9HL, /dev/disk/by-path/pci-0001:05:0c.0-scsi-0:0:0:0 Device Number: block 8:0-8:15 Geometry (Logical): CHS 10011/255/63 Size: 160836480 sectors a 512 bytes Config Status: cfg=no, avail=yes, need=no, active=unknown Attached to: #20 (IDE interface) 22: IDE 200.0: 10600 Disk [Created at block.218] UDI: /org/freedesktop/Hal/devices/storage_serial_SATA_Hitachi_HDS7225_VNR99HC6CH77PM Unique ID: zxR4.fILP31rlmK2 Parent ID: wSm+.VoA0lnb6858 SysFS ID: /block/sdb SysFS BusID: 2:0:0:0 SysFS Device Link: /devices/pci0001:00/0001:00:07.0/0001:05:0c.0/host2/target2:0:0/2:0:0:0 Hardware Class: disk Model: "Hitachi HDS72252" Vendor: "Hitachi" Device: "HDS72252" Revision: "V3UB" Serial ID: "VNR99HC6CH77PM" Driver: "sata_svw", "sd" Driver Modules: "sata_svw" Device File: /dev/sdb Device Files: /dev/sdb, /dev/disk/by-id/scsi-SATA_Hitachi_HDS7225_VNR99HC6CH77PM, /dev/disk/by-path/pci-0001:05:0c.0-scsi-2:0:0:0 Device Number: block 8:16-8:31 Geometry (Logical): CHS 30515/255/63 Size: 490234752 sectors a 512 bytes Config Status: cfg=no, avail=yes, need=no, active=unknown Attached to: #20 (IDE interface) 23: SCSI 400.0: 10600 Disk [Created at block.218] UDI: /org/freedesktop/Hal/devices/storage_serial_0050770e10000215_0_0 Unique ID: wRaH.qNRZnyoAvgE Parent ID: +fvv.vQwvKZm+So6 SysFS ID: /block/sdc SysFS BusID: 4:0:0:0 SysFS Device Link: /devices/pci0001:00/0001:00:05.0/0001:03:0e.0/fw-host0/0050770e10000215/0050770e10000215-0/host4/target4:0:0/4:0:0:0 Hardware Class: disk Model: "WDC WD20 00JB-00GVA0" Vendor: "WDC WD20" Device: "00JB-00GVA0" Serial ID: "#" Driver: "sbp2", "sd" Device File: /dev/sdc (/dev/sg2) Device Files: /dev/sdc, /dev/disk/by-id/ieee1394-0050770e10000215:0:0, /dev/disk/by-path/pci-0001:03:0e.0-ieee1394-0x0050770e10000215:0:0 Device Number: block 8:32-8:47 (char 21:2) Features: Hotpluggable Geometry (Logical): CHS 24321/255/63 Size: 390721968 sectors a 512 bytes Config Status: cfg=no, avail=yes, need=no, active=unknown Attached to: #19 (FireWire (IEEE 1394)) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206432 snwint@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|harbaugh@ncifcrf.gov |fehr@novell.com ------- Comment #12 from snwint@novell.com 2006-09-22 04:38 MST ------- Hm, it _does_ mention sbp2 as driver. Thomas, shouldn't that work since our changes some time ago? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206432 ------- Comment #13 from harbaugh@ncifcrf.gov 2006-09-22 04:48 MST ------- note that the 'hwinfo --disk' is from the system with the initrd that was 'remade' to include sbp2. Without the addition of sbp2 to the initrd, the boot won't get far enough to run hwinfo (since hwinfo is not in the initrd) How does the installer determine which driver is associated with which device? sbp2 is present as part of the installation; I can specifically select it during a manual install. Here is part of the log from a manual install: Kernel Modules (Hardware Drivers) 1) Load ppc Modules 2) Load USB Modules 3) Load FireWire Modules 4) Load File System Modules 5) Load Unknown Modules 6) Show Loaded Modules 7) Unload Modules 8) Add Driver Update 9) Show Driver Updates
3
Load FireWire Modules 1) ohci1394 * OHCI 1394 Controller Driver 2) sbp2 : SBP-2 Support
2
Enter parameters for "ieee1394"> Trying to load module "ieee1394"... During loading, you may want to watch the kernel messages on virtual console 4 (ALT-F4). Use ALT-F1 to switch back to this menu. Module "ieee1394" loaded successfully. Enter parameters for "sbp2"> Trying to load module "sbp2"... During loading, you may want to watch the kernel messages on virtual console 4 (ALT-F4). Use ALT-F1 to switch back to this menu. Module "sbp2" loaded successfully. Kernel Modules (Hardware Drivers) 1) Load ppc Modules 2) Load USB Modules 3) Load FireWire Modules 4) Load File System Modules 5) Load Unknown Modules 6) Show Loaded Modules 7) Unload Modules 8) Add Driver Update 9) Show Driver Updates
6
Show Loaded Modules ATAPI CD-ROM Driver Generic Mid-Level SCSI Driver SCSI CD-ROM driver SCSI Disk Driver SCSI Tape Driver ISOFS CRAMFS NFS Client Symbios 53c8xx IBM Power Linux RAID adapter Broadcom Tigon3 Ethernet PowerMac K2 SATA SATA VSC 970eval HFS HFS+ USB Mass Storage Device Driver SBP-2 Support -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206432 ------- Comment #14 from harbaugh@ncifcrf.gov 2006-09-22 05:23 MST ------- It appears from the /var/log/YaST2/y2log-4 file that GetRootInitrdModules does not select the right module for the root disk. It 'knows' that the driver is sbp2, but it selects the 'ohci1394' module to add to initrd: 2006-09-18 08:21:58 <1> 129.43.1.231(3502) [YCP] Storage.ycp:4853 GetRootInitrdM odules disk $["bus":"SCSI", "cyl_count":24321, "cyl_size":8225280, "device":"/de v/sdc", "driver":"sbp2", "label":"mac", "max_logical":0, "max_primary":15, "mode l":"00JB-00GVA0", "modules":["ohci1394"], "name":"1. SCSI, 186.3 GB, /dev/sdc, WDC WD20-00JB-00GVA0", "size_k":195360984, "type":`CT_DISK, "udev_id":["ieee1394 -0050770e10000215:0:0"], "udev_path":"pci-0001:03:0e.0-ieee1394-0x0050770e100002 15:0:0", "unique":"wRaH.qNRZnyoAvgE", "vendor":"WDC WD20"] 2006-09-18 08:21:58 <1> 129.43.1.231(3502) [YCP] Storage.ycp:4915 adding disk mo dules ["ohci1394"] -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206432 fehr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|fehr@novell.com | Resolution| |FIXED Fixed in Milestone|--- |Alpha 5 ------- Comment #15 from fehr@novell.com 2006-09-25 04:37 MST ------- Change Storage.ycp to also add modules under "driver" to INITRDMODULES. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com