[Bug 455993] New: kiwi: timout problem when scanning for USB devices
https://bugzilla.novell.com/show_bug.cgi?id=455993 Summary: kiwi: timout problem when scanning for USB devices Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: System Imaging AssignedTo: ms@novell.com ReportedBy: ms@novell.com QAContact: adrian@novell.com Found By: --- I found a second HP Virtual Media bug, the next days I' ll check the virtual media of IBM boxes as well. I ran into a timing problem, it needs some time until the usb storage is available to the system. The command $h --cdrom | grep "Device File:"|sed -e"s@(.*)@@" | cut -f2 -d: is executed, before the usb drive scan is complete. Therefore only /dev/hda is used, insted of /dev/sr0, too. I attached a patch, which first waits 5 seconds for /sys/bus/usb/drivers/usb-storage , I' m not sure how long it can take until the directory is available. If the directory exists, I wait up to 15s for 'usb-storage: device scan complete' in the kernel dmesg. I don' t know if there is a better way to check for it. We have to wait until the scsi_scan_host has finished. Maybe the patch should be applied to the function probeUSB. My HP system needs 5 seconds to finish the scan. With my fix the Live image loads well. -- 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=455993 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=455993#c1 --- Comment #1 from Marcus Schaefer <ms@novell.com> 2008-12-03 05:29:59 MST --- Created an attachment (id=257677) --> (https://bugzilla.novell.com/attachment.cgi?id=257677) USB wait patch -- 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=455993 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Priority|P5 - None |P4 - Low -- 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=455993 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=455993#c2 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #2 from Marcus Schaefer <ms@novell.com> 2008-12-03 09:20:14 MST --- fixed -- 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.
participants (1)
-
bugzilla_noreply@novell.com