[Bug 357401] New: lenovo X60: cdrom in docking station not initializing
https://bugzilla.novell.com/show_bug.cgi?id=357401 Summary: lenovo X60: cdrom in docking station not initializing Product: openSUSE 10.3 Version: Final Platform: x86 OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Mobile Devices AssignedTo: hmacht@novell.com ReportedBy: jw@novell.com QAContact: qa@suse.de CC: behlert@novell.com, seife@novell.com Blocks: 357354 Found By: --- The cdrom drive (actually a dvdrw) of the docking station is dead. It only comes alive, if I reboot the laptop while in the docking station. -- 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=357401 User hmacht@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=357401#c1 Holger Macht <hmacht@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |jw@novell.com --- Comment #1 from Holger Macht <hmacht@novell.com> 2008-01-31 05:25:39 MST --- Can you try 'docker dock' as root after docking and post the output please? ata_piix is loaded, right? If booted with docking station, the cdrom is /dev/sr0 (sata) not something like /dev/hdc? -- 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=357401 User hmacht@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=357401#c2 --- Comment #2 from Holger Macht <hmacht@novell.com> 2008-01-31 07:00:20 MST --- Do you have an X60s? If so please add it to /usr/lib/dockutils/hooks/thinkpad/60x60 where it says: [ "$MODEL" = "THINKPAD X60" ] || [ "$MODEL" = "THINKPAD X40" ] || exit 0; to something link [ "$MODEL" = "THINKPAD X60" ] || [ "$MODEL" = "THINKPAD X40" ] || [ "$MODEL = "THINKPAD X60s" ] || exit 0; Thanks. -- 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=357401 User jw@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=357401#c3 Juergen Weigert <jw@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|jw@novell.com | --- Comment #3 from Juergen Weigert <jw@novell.com> 2008-02-01 08:42:10 MST --- Yes, ata_piix is loaded. Yes, it is /dev/sr0 no change after adding [ "$MODEL" = "THINKPAD X60x" ] directly after reboot in docking station, cdrom works: # docker dock Fri Feb 1 00:41:53 CET 2008: running thinkpad hooks for event dock. docking should have been done automatically by the dock driver... while still in docking station: suspend to ram, resume. eject cdrom now fails: open("/dev/sr0", O_RDONLY|O_NONBLOCK) = 3 ioctl(3, CDROMEJECT, 0x804c456) = -1 EIO (Input/output error) # . /usr/lib/dockutils/common_functions # unregister_cdroms # scan_scsi_hosts brings it back to life. scan_scsi_hosts also helps with the original scenario "standalone reboot, dock" - it reliably awakens the drive. Any additional hints how to debug why the docking hooks do not trigger? (An open filedescriptor on /dev/ttyS0 -- the serial port on the docking station -- is still open, and fully functional. cool) -- 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=357401 User hmacht@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=357401#c4 Holger Macht <hmacht@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |jw@novell.com --- Comment #4 from Holger Macht <hmacht@novell.com> 2008-02-01 09:41:13 MST --- (In reply to comment #3 from Juergen Weigert)
no change after adding [ "$MODEL" = "THINKPAD X60x" ] ^ This is a typing error? Anyway, it has to match what
$ hal-get-property --udi /org/freedesktop/Hal/devices/computer --key smbios.system.version reports, in upper case. For testing, it would be good enough to remove the whole line, the script just must not exit.
while still in docking station: suspend to ram, resume. eject cdrom now fails: open("/dev/sr0", O_RDONLY|O_NONBLOCK) = 3 ioctl(3, CDROMEJECT, 0x804c456) = -1 EIO (Input/output error)
After fixing the above, can you 'docker undock' before suspend and 'docker dock' after resume? That's what is supposed to be done automatically.
(An open filedescriptor on /dev/ttyS0 -- the serial port on the docking station -- is still open, and fully functional. cool)
Without the dock station? Feature, not a bug ;-) -- 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=357401 User jw@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=357401#c5 --- Comment #5 from Juergen Weigert <jw@novell.com> 2008-02-04 04:30:04 MST --- Typo in my report. I'll comment out the line, and test docker tonight. -- 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=357401 User jw@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=357401#c6 Juergen Weigert <jw@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|jw@novell.com | --- Comment #6 from Juergen Weigert <jw@novell.com> 2008-02-04 14:46:59 MST --- Created an attachment (id=193118) --> (https://bugzilla.novell.com/attachment.cgi?id=193118) Fixing the hook causes resume to hang. -- 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=357401 User hmacht@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=357401#c7 --- Comment #7 from Holger Macht <hmacht@novell.com> 2008-02-04 15:17:26 MST --- Ok, I experienced this some days ago and already did some debugging. This seems like a race where HAL tries to read from /dev/sr0 in the same moment when the device disappears. At least this was the outcome from the strace. I'll still have to track this down but didn't find the time yet. Will do this week... -- 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=357401 Holger Macht <hmacht@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.
https://bugzilla.novell.com/show_bug.cgi?id=357401 User hmacht@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=357401#c8 Holger Macht <hmacht@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |jw@novell.com --- Comment #8 from Holger Macht <hmacht@novell.com> 2008-03-13 09:28:29 MST --- Can you please test the kernel from my home project: https://build.opensuse.org/package/show?package=kernel-default&project=home%3Ahmacht Also, please remove package dockutils before testing, the new kernel obsoletes this package. Thanks. -- 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=357401 User jw@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=357401#c9 Juergen Weigert <jw@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|jw@novell.com | --- Comment #9 from Juergen Weigert <jw@novell.com> 2008-03-13 13:23:31 MST --- Created an attachment (id=201478) --> (https://bugzilla.novell.com/attachment.cgi?id=201478) yat comes up with a long conflicts list for this kernel Is this kernel supposed to work with 10.3? I need a stable laptop. Installing stable was not helpful, last time I tried... -- 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=357401 User hmacht@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=357401#c10 Holger Macht <hmacht@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aj@novell.com --- Comment #10 from Holger Macht <hmacht@novell.com> 2008-03-13 14:33:53 MST --- No idea, I didn't test on 10.3. Let's wait if AJ reports any results. -- 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=357401 User hmacht@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=357401#c11 Holger Macht <hmacht@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |DUPLICATE --- Comment #11 from Holger Macht <hmacht@novell.com> 2008-06-02 09:39:05 MDT --- *** This bug has been marked as a duplicate of bug 390822 *** https://bugzilla.novell.com/show_bug.cgi?id=390822 -- 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