New: kernel from different versions hangs with some CD/DVD drives
http://bugzilla.kernel.org/show_bug.cgi?id=10216
Summary: kernel from different versions hangs with some CD/DVD
drives
Product: IO/Storage
Version: 2.5
KernelVersion: all tried (2.4.* and 2.6.*)
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: IDE
AssignedTo: [email protected]
ReportedBy: [email protected]Latest working kernel version: unknown
Earliest failing kernel version: 2.4
Distribution: all tried
Hardware Environment: notebook "Fujitsu Siemens Amilo Xa-2528", output from lspci -vvv attached
Software Environment: n/a
Problem Description:
I want to report a problem with certain CD/DVD drives / controllers, which is kernel-related as far as I can see. I came to face the problem on my new notebook (Fujitsu Siemens Amilo Xa-2528). Although I tried the installation CDs of different distributions (Gentoo, Ubuntu, DSL,...) with different kernel-versions including some of the 2.4 and 2.6 series all failed to boot. Here is part of the log:
Mar 7 20:51:59 (none) Freeing unused kernel memory: 376k freed
Mar 7 20:51:59 (none) ide-cd: cmd 0x5a timed out
Mar 7 20:51:59 (none) hda: irq timeout: status=0x58 { DriveReady SeekComplete
DataRequest }
Mar 7 20:51:59 (none) ide: failed opcode was: unknown
Mar 7 20:51:59 (none) hda: ATAPI CD-ROM drive, 0kB Cache
Mar 7 20:51:59 (none) Uniform CD-ROM driver Revision: 3.20
Mar 7 20:51:59 (none) hda: status error: status=0x58 { DriveReady SeekComplete
DataRequest }
Mar 7 20:51:59 (none) ide: failed opcode was: unknown
Mar 7 20:51:59 (none) hda: drive not ready for command
Mar 7 20:51:59 (none) hda: status error: status=0x58 { DriveReady SeekComplete
DataRequest }
Mar 7 20:51:59 (none) ide: failed opcode was: unknown
Mar 7 20:51:59 (none) hda: drive not ready for commandLast error messages are repetitiously outputted until the computer freezes / hangs. By googleing the error-message I found that it is not a problem of my computer alone. ( http://ubuntuforums.org/showthread.php?t=699244 ,
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/182996 ,
http://forums.gentoo.org/viewtopic-t-666680.html?sid=36e4b5379601abe70a5f2fc5420e1765
, ...)
As far as I can tell, the problem appears as soon as the CD/DVD drive is accessed, which is of cause done by almost any linux installation or "live" CD. So I tried a Gentoo-based boot-cd called "unattended gui" which does not mount the cd filesystem (btw: kernel config
http://unattended-gui.sourceforge.net/wiki/index.php?title=Bootcd:kernel )
Once booted, I ran lspci telling me:
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev f1) 00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev f1)
The drive inside my notebook is recognized as "hda: Optiarc DVD RW AD-7540A, ATAPI CD/DVD-ROM drive", but google tells me the problem (or similar) also appears on "PHILIPS DVDR1660P1", "BENQ DVD DD DW1620", "LILITE-ON DVD SOHD-16P6P9S", "RICOH CD-R/RW MP7040A" and other.
The pre-installed Windows Vista can read and write DVDs.
Some log (from the "unattended"...):
http://www.winterfeld.de/Lars/amalio/lspci-vvv
http://www.winterfeld.de/Lars/amalio/messages
http://www.winterfeld.de/Lars/amalio/dmesg
produced on this system:
http://www.winterfeld.de/Lars/amalio/cpuinfo
http://www.winterfeld.de/Lars/amalio/iomem
http://www.winterfeld.de/Lars/amalio/ioports
http://www.winterfeld.de/Lars/amalio/modules
http://www.winterfeld.de/Lars/amalio/scsi
http://www.winterfeld.de/Lars/amalio/uname-a
Since I also program in C, I took a look at some ide*.c files where I found the error message, but I have no clue about how the kernel works. So, I would be really grateful for any suggestions and if more information is needed, then please just ask.
Lars
Steps to reproduce: boot problem...
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #1 from [email protected] 2008-06-18 16:00 ------- Could you try some newer kernel (2.6.25 or 2.6.26-rc6), there has been a lot of fixes for ATA/ATAPI support since 2.6.24.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #2 from [email protected] 2008-07-08 02:56 ------- Created an attachment (id=16766)
--> (http://bugzilla.kernel.org/attachment.cgi?id=16766&action=view)
dmesg from 2.6.25-gentoo-r6 kernel
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #3 from [email protected] 2008-07-08 03:01 ------- For 2.6.24 I found some config, which caused the error not to appear (see bottom of http://gentoo-wiki.com/HARDWARE_Fujitsu-Siemens_Amilo_Xa2528 ). I could even read from the drive. Now I'm using 2.6.25-gentoo-r6 and the error appears again (dmesg attached above) and the device is no longer present in /dev but the notebook boots (with a delay of 6 minutes or so).
I'm still looking at the diff of the kernel-configs. Couldn't yet find anything, which could have caused the problem. (So it could be the fault of "lot of fixes" ;-) If someone could tell me some options which could be related to the problem, I would try the combinations of them and post the log-files.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #4 from [email protected] 2008-07-08 03:03 ------- Created an attachment (id=16767)
--> (http://bugzilla.kernel.org/attachment.cgi?id=16767&action=view)
config diff between 2.6.24-gentoo-r8 and 2.6.25-gentoo-r6
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #5 from [email protected] 2008-11-09 07:53 ------- This actually seems to be a controller specific issue (quite surprising at that).
Could you try the fix proposed for bug #11659 (as after the fact it seems to be same issue):
http://bugzilla.kernel.org/attachment.cgi?id=18748&action=view
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #6 from [email protected] 2008-11-10 15:15 ------- wanted to try it with 2.6.25.9, but include/linux/ide.h already contains a (1 << 26) flag: IDE_HFLAG_ABUSE_SET_DMA_MODE. all others up to 1<<31 are also used... because i do not want to break something else, i would try to store the "use-workaround"-flag somewhere else. what would you advice?
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #7 from [email protected] 2008-11-10 15:40 ------- Hmm, the safest bet would be to define IDE_HFLAG_BROKEN_ALTSTATUS flag to some flag that is set unconditionally in amd74xx host driver -- i.e. adding:
IDE_HFLAG_BROKEN_ALTSTATUS = IDE_HFLAG_PIO_NO_BLACKLIST,
at the end of enum { } clause.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #8 from [email protected] 2008-11-13 13:20 ------- Any news on this?
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #9 from [email protected] 2008-11-13 15:00 ------- i'll try it tomorrow. i'm going to post dmesg from the kernel with and without the patch. otherwise i'll do it on sunday, latest.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |PATCH_ALREADY_AVAILABLE------- Comment #10 from [email protected] 2008-11-23 04:12 ------- you are my hero! ;-)
it worked. i tried it with the original source of linux-2.6.25.9 without the patch the described problem appears, with the patch (and nothing else changed) the kernel boots just fine, /dev/cdrom gets created and i can read files from it.
i'm now going to attach some files (dmesg, maybe from other kernel versions, etc.) just for references...
i think, afterwords you can mark this bug as closed or resolved... would like to see this in the next kernel version... :-)
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #11 from [email protected] 2008-11-23 13:59 ------- Created an attachment (id=18979)
--> (http://bugzilla.kernel.org/attachment.cgi?id=18979&action=view)
working .config for 2.6.24-gentoo-r8
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #12 from [email protected] 2008-11-23 14:00 ------- Created an attachment (id=18980)
--> (http://bugzilla.kernel.org/attachment.cgi?id=18980&action=view)
config for 2.6.25-gentoo-r9 for both patched and unpatched
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #13 from [email protected] 2008-11-23 14:01 ------- Created an attachment (id=18981)
--> (http://bugzilla.kernel.org/attachment.cgi?id=18981&action=view)
config for 2.6.26-gentoo-r3 for both patched and unpatched
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #14 from [email protected] 2008-11-23 14:02 ------- Created an attachment (id=18982)
--> (http://bugzilla.kernel.org/attachment.cgi?id=18982&action=view)
config for 2.6.27-gentoo-r4 for both patched and unpatched
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #15 from [email protected] 2008-11-23 14:03 ------- Created an attachment (id=18983)
--> (http://bugzilla.kernel.org/attachment.cgi?id=18983&action=view)
dmesg from unpatched kernel 2.6.24-gentoo-r8
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #16 from [email protected] 2008-11-23 14:03 ------- Created an attachment (id=18984)
--> (http://bugzilla.kernel.org/attachment.cgi?id=18984&action=view)
dmesg from unpatched kernel 2.6.25-gentoo-r9
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #17 from [email protected] 2008-11-23 14:04 ------- Created an attachment (id=18985)
--> (http://bugzilla.kernel.org/attachment.cgi?id=18985&action=view)
dmesg from patched kernel 2.6.25-gentoo-r9
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #18 from [email protected] 2008-11-23 14:06 ------- Created an attachment (id=18986)
--> (http://bugzilla.kernel.org/attachment.cgi?id=18986&action=view)
dmesg from unpatched kernel 2.6.26-gentoo-r3
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #19 from [email protected] 2008-11-23 14:06 ------- Created an attachment (id=18987)
--> (http://bugzilla.kernel.org/attachment.cgi?id=18987&action=view)
dmesg from patched kernel 2.6.26-gentoo-r3
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
------- Comment #20 from [email protected] 2008-11-23 14:44 ------- Note the "Clocksource tsc unstable" message from the patche kernel, presuably while probing ide0.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #21 from [email protected] 2008-11-23 14:52 ------- Created an attachment (id=18988)
--> (http://bugzilla.kernel.org/attachment.cgi?id=18988&action=view)
dmesg from unpatched kernel 2.6.27-gentoo-r4
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #22 from [email protected] 2008-11-23 14:53 ------- Created an attachment (id=18989)
--> (http://bugzilla.kernel.org/attachment.cgi?id=18989&action=view)
dmesg from patched kernel 2.6.27-gentoo-r4
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #23 from [email protected] 2008-11-23 14:55 ------- Created an attachment (id=18990)
--> (http://bugzilla.kernel.org/attachment.cgi?id=18990&action=view)
dmesg from unpatched original kernel 2.6.25.9
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #24 from [email protected] 2008-11-23 14:55 ------- Created an attachment (id=18991)
--> (http://bugzilla.kernel.org/attachment.cgi?id=18991&action=view)
dmesg from patched original kernel 2.6.25.9
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #25 from [email protected] 2008-11-23 15:18 ------- by looking through the dmesg output, you can see that the patch
http://bugzilla.kernel.org/attachment.cgi?id=18748&action=view did it for me in all tested versions from 2.6.25 to 2.6.27.
i patched the original kernel ("vanilla-sources" as its called in gentoo) and different sources which are patched by gentoo-developers. (main drivers part should be the same...)
i patched drivers/ide/ide-iops.c, drivers/ide/ide-probe.c, drivers/ide/pci/amd74xx.c as described and include/linux/ide.h like this:
IDE_HFLAG_NO_UNMASK_IRQS = (1 << 31),
+ /* AltStatus register can be unreliable*/
+ IDE_HFLAG_BROKEN_ALTSTATUS = IDE_HFLAG_PIO_NO_BLACKLIST,
};
what is that "Clocksource tsc unstable" about?
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #26 from [email protected] 2008-11-23 15:24 ------- (In reply to comment #25)
Quoted 1 line
what is that "Clocksource tsc unstable" about?
Presumably very long delay with interrupts blocked.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #27 from [email protected] 2008-11-23 15:30 ------- Bart, looks like ide_wait_not_busy() needs to call clocksource_touch_watchdog().
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #28 from [email protected] 2008-11-24 00:37 ------- Indeed, it seems that it's the same problem as here
http://bugzilla.kernel.org/show_bug.cgi?id=11659
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #29 from [email protected] 2008-12-02 11:19 -------
Lars: thanks for testing, I updated patch description accordingly.
Sergei: seems so, could you make a patch for it?
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #30 from [email protected] 2008-12-02 12:23 ------- (In reply to comment #29)
Quoted 3 lines
Lars: thanks for testing, I updated patch description accordingly.
Sergei: seems so, could you make a patch for it?
I keep been overloaded for months already...
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #31 from [email protected] 2008-12-07 13:08 -------
Sergei: I looked into it (under QEMU for now) and adding msleep(1000) + printk() to ide_init() causes the "Clocksource tsc unstable" to appear before IDE initialization so it seems that the issue is caused by some other kernel code and IDE is just unlucky to be initialized at same time as clocksource watchdog triggers.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #32 from [email protected] 2008-12-07 14:38 ------- (In reply to comment #31)
Quoted 5 lines
Sergei: I looked into it (under QEMU for now) and adding msleep(1000) +
printk()toide_init()causes the "Clocksource tsc unstable" to appear before IDE initialization so it seems that the issue is caused by some other kernel code and IDE is just unlucky to be initialized at same time as clocksource watchdog triggers.
I guess it's caused by mspleep(1000) call itself. If ide_wait_not_ready() is touching the other watchdogs anyway, I don't see why it shouldn't touch the clocksource watchdog too.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 10216] kernel from different versions hangs with some CD/DVD drives
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=10216
------- Comment #33 from [email protected] 2008-12-07 15:23 ------- (In reply to comment #32)
Quoted 8 lines
(In reply to comment #31)
Quoted 5 lines
Sergei: I looked into it (under QEMU for now) and adding msleep(1000) +
printk()toide_init()causes the "Clocksource tsc unstable" to appear before IDE initialization so it seems that the issue is caused by some other kernel code and IDE is just unlucky to be initialized at same time as clocksource watchdog triggers.I guess it's caused by mspleep(1000) call itself.
Looks like it hasn't been a wild guess. The clocksource watchdog timer handler gets run every half second. :-)
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.