From: Tabris <tabris@tabris.net>
To: linux-kernel@vger.kernel.org
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>,
Andrew Morton <akpm@osdl.org>, Jens Axboe <axboe@suse.de>
Subject: DVD/ide-cd related Oops 2.6.[89]-mm
Date: Fri, 22 Oct 2004 05:01:45 -0400 [thread overview]
Message-ID: <20041022090145.GA6408@tabriel.tabris.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 899 bytes --]
I have a DVD I bought today that about 80% of the way through
causes an error, 'cmd 0x28 timed out', resets ATAPI 2 or 3 times... and
then produces the Oops attached below.
This has happened in 2.6.8-rc1-mm1+idefix2 (a mebbe 5 liner
patch to fix LBA 48 FLUSH CACHE on non-LBA48 capable drives from
Jens. was merged into rc2-mm, possibly in rc1-mm2 or mm3), and also
2.6.9-rc4-mm1+revert_optimize-profile+undecoded_slave-fixup
undecoded slave fixup is a oneliner patch in ide-probe to
recognize both of my Maxtor drives that appear to have the same serial
number, D3000000. This fix was discussed a month ago or so, as I had run
into it, but nothing official came of it, and it was never merged to -mm.
Patch attached.
Btw, the oops does not occur with another DVD I have. However, I
did go to the store and get another copy of the problematic DVD, and the
same problem occurred.
--
tabris
[-- Attachment #2: ide-cd.Oops.log --]
[-- Type: text/plain, Size: 1646 bytes --]
ide-cd: cmd 0x28 timed out
hdd: DMA timeout retry
hdd: timeout waiting for DMA
hdd: status error: status=0x58 { DriveReady SeekComplete DataRequest }
hdd: status error: error=0x00
hdd: drive not ready for command
hdd: status error: status=0xd0 { Busy }
hdd: status error: error=0x00
hdd: drive not ready for command
hdd: ATAPI reset complete
Unable to handle kernel NULL pointer dereference at virtual addr 00000030
printing eip:
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: binfmt_misc nfsd exportfs sg sr_mod lp parport_pc parport nfs lockd sunrpc snd_seq_oss snd_seq_midi_event snd_seq_ snd_pcm_oss snd_mixer_oss snd_emu10k1 snd_rawmidi snd_seq_device snd_ac97_codec snd_pcm snd_timer snd_page_alloc snd_util_mem snd_hwdep snd soundcore w83781d i2c_sensor i2c_viapro i2c_dev i2c_core raw ide_cd cdrom floppy thermal processor fan button battery ac 3c59x mii quota-vs xfs ext2 mbcache rtc
CPU: 0
EIP: 0060:{<e0a8a079>] Not Tainted VLI
EFLAGS: 00210012
EIP is at cdrom_read_intr+0x1a0/0x2f0 [ide_cd]
eax: 00008000 ebx: 00000040 ecx:cff01f40 edx: 00000000
esi: 00008000 edi: 00000000 ebp: c03f8d34 esp: cff01f28
ds: 007b es: 007b ss:0068
process artsd (pid: 7326, threadinfo=cff00000 task=cd1b1ae0)
stack: c47bc3a4 c47bc3b8 c47bc3b4 00000040 00000002 00000001 00000058 0000000f
c1579ca0 c03f8d34 00200282 c022769f 00000000 cff00000 e0a89ed0 c03f8ad0
c1577640 00000000 0000000f 00000000 c01347c4 000003c0 0000000f c03afe00
Call Trace:
ide_intr+0xff/0x200
cdrom_read_intr+0x0/0x2f0 [ide_cd]
handle_IRQ_event+0x34/0x60
__do_IRQ+0xf9/0x1a0
common_interrupt+0x18/0x20
<0>Kernel Panic - not syncing: Fatal exception in interrupt
[-- Attachment #3: ide-probe+undecoded_slave-Maxtor-fixup --]
[-- Type: text/plain, Size: 627 bytes --]
Signed-off by tabris@tabris.net
--- ide-probe.c~ 2004-10-22 04:49:47.045203783 -0400
+++ ide-probe.c 2004-10-22 04:49:28.889442288 -0400
@@ -730,6 +730,7 @@ static void probe_hwif(ide_hwif_t *hwif)
/* And beware of confused Maxtor drives that go "M0000000000"
"The SN# is garbage in the ID block..." [Eric] */
strncmp(drive->id->serial_no, "M0000000000000000000", 20) &&
+ strncmp(drive->id->serial_no, "D3000000", 8) &&
strncmp(hwif->drives[0].id->serial_no, drive->id->serial_no, 20) == 0) {
printk(KERN_WARNING "ide-probe: ignoring undecoded slave\n");
drive->present = 0;
next reply other threads:[~2004-10-22 9:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-22 9:01 Tabris [this message]
2004-10-22 14:35 ` DVD/ide-cd related Oops 2.6.[89]-mm Bartlomiej Zolnierkiewicz
2004-10-22 15:35 ` tabris
2004-10-22 16:45 ` tabris
2004-10-27 7:41 ` tabris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041022090145.GA6408@tabriel.tabris.net \
--to=tabris@tabris.net \
--cc=akpm@osdl.org \
--cc=axboe@suse.de \
--cc=bzolnier@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.