[Bug 262340] New: Kernel update interferes with CD/DVD burning, DMA
https://bugzilla.novell.com/show_bug.cgi?id=262340 Summary: Kernel update interferes with CD/DVD burning, DMA Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: kq8z67r6309fo9001@sneakemail.com QAContact: qa@suse.de Hopefully this isn't a duplicate of one of the many other CD/DVD burning bugs-appears not.... After the update from 2.6.18.2-34 to 2.6.18.8-0.1, CD and DVD burning don't work terribly well. The former will usually fail, and the latter just slows to about 1-2x speed. The cause appears to be that something is happening to disable DMA on the drive; from /var/log/messages: Apr 6 03:29:48 hostname kernel: hdc: irq timeout: status=0xd0 { Busy } Apr 6 03:29:48 hostname kernel: ide: failed opcode was: unknown Apr 6 03:29:48 hostname kernel: hdc: DMA disabled Apr 6 03:29:48 hostname kernel: hdc: ATAPI reset complete For DVDs, one can actually re-enable DMA with hdparm -d1 /dev/hdc, even whilst burning, but the chances of it staying on for the duration are poor. The point of initial (and subsequent, if re-enabled) loss of DMA appears to be random. DVDs burned in this manner appear to be readable, though as noted above CD burning fails completely. I tried reseating data cables, replacing data cables, switching IDE controllers, etc. with no effect. These efforts were probably superfluous as the problem did not and does not occur with kernel 2.6.18.2-34; otherwise I would assume from past experience that this is a hardware problem. It is not presently convenient to test with another drive, unfortunately. Motherboard is an Abit NF7-S (nforce2 chipset), DVD burner is an NEC ND-3550A. CDs burned with k3b and directly with cdrecord ("wodim" now, I guess). DVDs burned with k3b and directly with growisofs. There are some similar experiences reported, e.g.: http://www.fedoraforum.org/forum/showthread.php?t=101712 though in that case the problem appeared to be more severe. -- 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=262340 jeffm@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel- |teheo@novell.com |maintainers@forge.provo.nove| |ll.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=262340 teheo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |kq8z67r6309fo9001@sneakemail.com ------- Comment #1 from teheo@novell.com 2007-04-12 20:09 MST ------- * Please post '/var/log/boot.msg' and the result of 'hwinfo --all' * If possible, please go back to 2.6.18.2-34 and check that DVD burner works okay and report the above two from 2.6.18.2-34. -- 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=262340 ------- Comment #2 from kq8z67r6309fo9001@sneakemail.com 2007-04-14 14:47 MST ------- Created an attachment (id=131205) --> (https://bugzilla.novell.com/attachment.cgi?id=131205&action=view) hwinfo --all and boot.msg for both kernels Wasn't sure if you wanted hwinfo/boot.msg from 18.8 and just verification of functionality for 18.2 or full information for both, so I included the latter. Having now booted each kernel alternately 5 or 6 times, DVD burning works consistently in 18.2 but never in 18.8. -- 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=262340 ------- Comment #3 from teheo@novell.com 2007-04-15 02:06 MST ------- Yeap, I wanted both. Sorry about not being clear. This is weird. As far as core IDE layer and amd74xx are concerned, the only difference between the two versions is ->ide_dma_clear_irq() support added to the core layer which isn't activated when amd74xx is used, so your IDE controller is driven by effectively identical code in either version. As NF IDE still has some problem with cable detection, that was my first suspect but your boot messages indicate otherwise. IRQ delivery isn't the problem here either - the device is still in Busy state, suggesting data transfer problem. When testing 18.2 and 18.8, was everything except for the kernel identical? If not, can you test dry runs on the same media from the same media file with only kernel changed? Also, please post full dmesg including error messages. -- 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=262340 ------- Comment #4 from kq8z67r6309fo9001@sneakemail.com 2007-04-18 22:30 MST ------- Created an attachment (id=132316) --> (https://bugzilla.novell.com/attachment.cgi?id=132316&action=view) dmesg from boot until failed burn Burned twice, once with each kernel. Attached is dmesg from the newer kernel; the error occurs right before the end of the log. No problem with older kernel. -- 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=262340 teheo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|kq8z67r6309fo9001@sneakemail| |.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=262340 teheo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |kq8z67r6309fo9001@sneakemail.com ------- Comment #5 from teheo@novell.com 2007-04-24 02:51 MST ------- I've revisited all the IDE patches but couldn't find anything which could have caused this. It's the same code. But, it's also highly unlikely that changes in other part of the kernel can cause timeouts where BSY is still set. :-( So, I'm as lost as you are. Does using 80c cable make any difference? -- 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=262340 ------- Comment #6 from kq8z67r6309fo9001@sneakemail.com 2007-04-30 13:23 MST ------- Already using an 80 conductor cable for the optical drive in this machine, for whatever reason (I guess it was what was around at the time). I tried switching hard drive and optical between the two IDE controllers, with no effect. I'm afraid I'm at a bit of a loss to explain this if there was no code change. -- 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=262340 ------- Comment #7 from teheo@novell.com 2007-05-01 03:54 MST ------- Can you apply a patch, compile and test kernel? I think undoing whatever IDE related changes there are and seeing whether that fixes the problem would help. If you can't, I can prepare updated rpm but I'm currently on the road so it might take me some time. 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=262340 ------- Comment #8 from kq8z67r6309fo9001@sneakemail.com 2007-05-01 21:51 MST ------- Sure, just point me to the patch(es). -- 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=262340 ------- Comment #9 from teheo@novell.com 2007-05-03 08:06 MST ------- Created an attachment (id=137284) --> (https://bugzilla.novell.com/attachment.cgi?id=137284&action=view) undo-ide-updates Okay, here it is. This undos IDE updates. 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=262340#c10 Kevin Range <krange@lhup.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |krange@lhup.edu --- Comment #10 from Kevin Range <krange@lhup.edu> 2007-09-15 13:33:45 MST --- I am seeing the same thing here. Basically I have to reboot after every DVD I burn. For what it's worth, here is my hwinfo --all. Tejun, if you could roll an rpm with the putative fix I would be happy to give it a try. -- 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=262340#c11 --- Comment #11 from Kevin Range <krange@lhup.edu> 2007-09-15 13:35:33 MST --- Created an attachment (id=168700) --> (https://bugzilla.novell.com/attachment.cgi?id=168700) my hwinfo --all my hwinfo -- 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=262340#c12 --- Comment #12 from Tejun Heo <teheo@novell.com> 2007-09-17 03:44:59 MST --- Kevin, can you please give a shot at openSUSE 10.3 beta 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.
https://bugzilla.novell.com/show_bug.cgi?id=262340 Tejun Heo <teheo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|kq8z67r6309fo9001@sneakemail.com |krange@lhup.edu -- 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=262340#c13 --- Comment #13 from Kevin Range <krange@lhup.edu> 2007-09-17 13:03:44 MST --- Could I just use the 10.3 kernel here http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/x8... on my 10.2 system? This is my main machine at work, and I don't want to bollocks it up too bad... -- 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=262340#c14 --- Comment #14 from Tejun Heo <teheo@novell.com> 2007-09-18 22:32:42 MST --- Yeah, you can try the kernel on 10.2 installation. Please try KOTD. ftp://ftp.suse.com/pub/projects/kernel/kotd/HEAD/x86_64/kernel-default-2.6.22.5-20070918072952.x86_64.rpm -- 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=262340#c15 --- Comment #15 from Kevin Range <krange@lhup.edu> 2007-09-22 13:22:57 MST --- Hrm.... that didn't seem to work. So I installed kernel-default-2.6.22.5-20070921172731, which required me to upgrade apparmor to 2.0.2 which I got from http://download.opensuse.org/repositories/security:apparmor/openSUSE_10.2. When I tried to boot that kernel I got some error like: Couldn't parse number and got bounced back to the (now non-graphical) grub menu. When I booted my old kernel (2.6.18.8-0.5) apparmor choked on a mess of stuff, but I seem to be running okay. I would really like to give you the information you need to fix this problem, but also REALLY want to avoid putting 10.3 on this machine (since I have a relatively working 10.2 installation). If you could help me get a 2.6.22 kernel running on this system I would be very grateful. Maybe it was a bad KOTD? Or did I do something wrong? -- 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=262340#c16 --- Comment #16 from Kevin Range <krange@lhup.edu> 2007-09-22 13:47:36 MST --- Well, I rebooted after burning a DVD, and I wrote down what the KOTD error was: root(/dev/sdb1,0) Error 23: error while parsing number press any key to continue... Pressing any key brings me to a non-graphical GRUB menu, from which I can boot my old kernel normally, minus the apparmor errors. -- 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=262340#c17 --- Comment #17 from Tejun Heo <teheo@novell.com> 2007-09-28 06:09:52 MST --- Kevin, so the KOTD works? -- 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=262340#c18 --- Comment #18 from Kevin Range <krange@lhup.edu> 2007-09-28 08:01:55 MST --- No, KOTD does not work because I can't get KOTD (2.6.22.5-20070921172731) to boot. Whenever I try to boot that kernel it gives gives me the error in comment 16 and kicks me back to the grub menu. Should I try another KOTD? Maybe the above is a grub 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=262340#c19 --- Comment #19 from Tejun Heo <teheo@novell.com> 2007-09-28 08:26:23 MST --- It seems grub menu.lst update went wrong. I think installing openSUSE 10.3 RC1 would be the easiest way to test. -- 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=262340#c20 Kevin Range <krange@lhup.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|krange@lhup.edu | --- Comment #20 from Kevin Range <krange@lhup.edu> 2007-10-04 15:04:57 MST --- So, I fixed the grub problem and installed the 10.3 kernel (kernel-default-2.6.22.5-31). (The issue was the rpm put "root (/dev/sdb1,0)" instead of "root (hd0,0)" when I installed the new kernel.) Unfortunately, the DVD problem is WORSE with 2.6.22.5-31 in that the whole machine is locked up. Before it just hiccuped every time the ATAPI reset happened. Now it is a total lock up after a few minutes of quickly degrading operation. The logs reveal some differences. With kernel 2.6.18.8-0.5: Sep 22 15:36:46 krange kernel: hdc: DMA timeout retry Sep 22 15:36:46 krange kernel: hdc: timeout waiting for DMA Sep 22 15:36:51 krange kernel: hdd: status timeout: status=0xd8 { Busy } Sep 22 15:36:51 krange kernel: ide: failed opcode was: unknown Sep 22 15:36:51 krange kernel: hdd: DMA disabled Sep 22 15:36:51 krange kernel: hdd: drive not ready for command Sep 22 15:36:51 krange kernel: hdd: ATAPI reset complete Sep 22 15:36:56 krange kernel: hdc: irq timeout: status=0x80 { Busy } Sep 22 15:36:56 krange kernel: ide: failed opcode was: unknown Sep 22 15:36:56 krange kernel: hdc: ATAPI reset complete Sep 22 15:37:01 krange kernel: hdc: irq timeout: status=0x80 { Busy } Sep 22 15:37:01 krange kernel: ide: failed opcode was: unknown Sep 22 15:37:01 krange kernel: hdc: ATAPI reset complete The last three lines repeat until the machine is rebooted. Whereas with 2.6.22.5-31: Oct 4 16:28:47 krange kernel: hdc: DMA timeout retry Oct 4 16:28:47 krange kernel: hdc: timeout waiting for DMA Oct 4 16:28:47 krange kernel: hdd: status timeout: status=0xd8 { Busy } Oct 4 16:28:47 krange kernel: ide: failed opcode was: unknown Oct 4 16:28:47 krange kernel: hdd: drive not ready for command Oct 4 16:28:47 krange kernel: hdc: status timeout: status=0xd8 { Busy } Oct 4 16:28:47 krange kernel: ide: failed opcode was: unknown Oct 4 16:28:47 krange kernel: hdc: drive not ready for command Oct 4 16:28:52 krange kernel: hdc: status timeout: status=0xd8 { Busy } Oct 4 16:28:52 krange kernel: ide: failed opcode was: unknown Oct 4 16:28:52 krange kernel: hdc: drive not ready for command Once again, the last three lines repeat until a reboot. There is no ATAPI reset with the new kernel, which at least seemed to keep the machine alive before. -- 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=262340#c21 Tejun Heo <teheo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |kq8z67r6309fo9001@sneakemail.com --- Comment #21 from Tejun Heo <teheo@novell.com> 2007-10-04 17:58:29 MST --- Ah... You should be using libata driver not the IDE one. This will need some manual massaging. Now that openSUSE 10.3 is out, I think upgrading would be the better choice. Sorry about all the trouble... -- 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=262340#c22 --- Comment #22 from Kevin Range <krange@lhup.edu> 2007-10-08 13:38:21 MST --- Created an attachment (id=176884) --> (https://bugzilla.novell.com/attachment.cgi?id=176884) new messages in 10.3 After much gnashing of teeth and most of my weekend, I finally got 10.3 installed on my machine. Lo and behold, it seems I can burn DVD's now. I don't know if eveything is 100% though. See the new messages attached. -- 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=262340#c23 Kevin Range <krange@lhup.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|kq8z67r6309fo9001@sneakemail.com | Resolution| |FIXED Target Milestone|--- |openSUSE 10.3 --- Comment #23 from Kevin Range <krange@lhup.edu> 2007-10-08 14:25:46 MST --- Marking as fixed in 10.3, since it seems to be... -- 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=262340#c24 --- Comment #24 from Tejun Heo <teheo@novell.com> 2007-10-09 03:13:33 MST --- Kevin, can you please open a separate bug report with full kernel log containing those error messages? 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.
participants (1)
-
bugzilla_noreply@novell.com