[Bug 337423] New: SATA hotplug fails if disk drive not present during boot
https://bugzilla.novell.com/show_bug.cgi?id=337423 Summary: SATA hotplug fails if disk drive not present during boot Product: openSUSE 10.3 Version: Final Platform: i686 OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Hotplug AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: peter.nuechter@gmx.net QAContact: qa@suse.de Found By: Customer SATA hotplug works if a disk drive is present during boot, i.e., it is inserted in the SATA Mobile Rack connected to SATA adapter 5. This is demonstrated in subsequent test and attached files. Reproducible problem: If the disk drive is not inserted during boot, there never is a hotplug event discernible with lshal -m during operation. This means, that there is no access to the disk drive possible. Intention is to use these external SATA disks for periodical backup and keep them not inside the PC during normal operation. Demonstration of function if and only if disk drive was present during boot: 1) Initial state after boot Initial state after boot with SATA disk present during boot as detected by /proc/scsi/scsi (att. file proc-scsi-scsi_after-boot.txt) and by hwinfo --disk (att. file hwinfo--disk_after-boot.txt) Note: external SATA disks have no file system yet (just to avoid confusion with dmesg.txt) 2) Shutting down and removal of disk Commands for shutting down disk: # sdparm --command=sync /dev/sdb # sdparm --command=unlock /dev/sdb # sdparm --command=stop /dev/sdb disc stops rotation lshal -m about 10sec after removal of disk: Start monitoring devicelist: ------------------------------------------------- 19:07:02.303: pci_8086_2822_scsi_host_1_scsi_device_lun0_scsi_generic removed 19:07:02.305: storage_serial_SATA_SAMSUNG_HD320KJS0PAJDSP809573 removed 19:07:02.306: pci_8086_2822_scsi_host_1_scsi_device_lun0 removed 19:07:02.306: pci_8086_2822_scsi_host_1 removed 3) After Removal View of /proc/scsi/scsi after removal and after hal event (file proc-scsi-scsi_after-unplug.txt) 4) Replug event: Insertion of a different SATA disk: lshal -m output again after about 10 sec delay - please note the different serial number of the disk! 19:09:16.774: pci_8086_2822_scsi_host_1 added 19:09:16.781: pci_8086_2822_scsi_host_1_scsi_device_lun0 added 19:09:16.788: pci_8086_2822_scsi_host_1_scsi_device_lun0_scsi_generic added 19:09:16.824: storage_serial_SATA_SAMSUNG_HD320KJS0PAJDSP809581 added 5) After Re-Plug View of /proc/scsi/scsi after re-plug event and after hal event (file proc-scsi-scsi_after-replug.txt, file hwinfo--disk_after-replug.txt) Additional info: Attached filed uname-a.txt and dmesg.txt <eof> -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=337423#c1
--- Comment #1 from Peter Nuechter
https://bugzilla.novell.com/show_bug.cgi?id=337423#c2
--- Comment #2 from Peter Nuechter
https://bugzilla.novell.com/show_bug.cgi?id=337423#c3
--- Comment #3 from Peter Nuechter
https://bugzilla.novell.com/show_bug.cgi?id=337423#c4
--- Comment #4 from Peter Nuechter
https://bugzilla.novell.com/show_bug.cgi?id=337423#c5
--- Comment #5 from Peter Nuechter
https://bugzilla.novell.com/show_bug.cgi?id=337423#c6
--- Comment #6 from Peter Nuechter
https://bugzilla.novell.com/show_bug.cgi?id=337423#c7
--- Comment #7 from Peter Nuechter
https://bugzilla.novell.com/show_bug.cgi?id=337423
Matej Horvath
https://bugzilla.novell.com/show_bug.cgi?id=337423#c8
Danny Kukawka
https://bugzilla.novell.com/show_bug.cgi?id=337423#c9
Peter Nuechter
https://bugzilla.novell.com/show_bug.cgi?id=337423#c10
Danny Kukawka
https://bugzilla.novell.com/show_bug.cgi?id=337423#c11
--- Comment #11 from Peter Nuechter
https://bugzilla.novell.com/show_bug.cgi?id=337423#c12
--- Comment #12 from Peter Nuechter
https://bugzilla.novell.com/show_bug.cgi?id=337423#c13
--- Comment #13 from Peter Nuechter
https://bugzilla.novell.com/show_bug.cgi?id=337423#c14
--- Comment #14 from Peter Nuechter
https://bugzilla.novell.com/show_bug.cgi?id=337423#c15
--- Comment #15 from Peter Nuechter
https://bugzilla.novell.com/show_bug.cgi?id=337423#c16
--- Comment #16 from Peter Nuechter
https://bugzilla.novell.com/show_bug.cgi?id=337423#c17
Peter Nuechter
https://bugzilla.novell.com/show_bug.cgi?id=337423#c18
--- Comment #18 from Peter Nuechter
https://bugzilla.novell.com/show_bug.cgi?id=337423#c19
Danny Kukawka
https://bugzilla.novell.com/show_bug.cgi?id=337423#c20
Greg Kroah-Hartman
https://bugzilla.novell.com/show_bug.cgi?id=337423#c21
--- Comment #21 from Peter Nuechter
https://bugzilla.novell.com/show_bug.cgi?id=337423#c22
--- Comment #22 from Peter Nuechter
participants (1)
-
bugzilla_noreply@novell.com