2.5.10(bk r1.558): oops on mount cdrom (scsi emulation)
That is. Just tried. Details below.
mount options:
/dev/scd0 /mnt/cdrom iso9660 noauto,user,gid=100,unhide,mode=0444,ro
Device is a cd-recorder:
SCSI subsystem driver Revision: 1.00
Uniform CD-ROM driver unloaded
SCSI subsystem driver Revision: 1.00
ide: unexpected interrupt 1 15
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: AOPEN Model: CD-RW CRW2440 Rev: 1.00
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
Oops is the oops below (slightly formatted). It's reproducable, though i'd like to avoid the reproduction.
Uniform CD-ROM driver Revision: 3.12
VFS: Disk change detected on device sr(11,0)
Unable to handle kernel NULL pointer dereference at virtual address 00000044
printing eip:
c019e652
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[ide_start_dma+62/168] Not tainted
EFLAGS: 00010286
eax: 00000028 ebx: d6bae960 ecx: c029d038 edx: c029d038
esi: 0000d808 edi: c029d12c ebp: 00000000 esp: d52f5bf4
ds: 0018 es: 0018 ss: 0018
Process mount (pid: 382, threadinfo=d52f4000 task=d6ec52c0)
Stack: d6bae960 c029d12c 00000000 c029d038 c019e7de c029d038 c029d12c 00000000
c029d12c d6bae960 c029d12c 00000800 00000000 00000001 00000008 0095cf60
c019f7d4 00000000 c029d12c c029d12c d6bae960 c029d038 dca897f7 00000000
Call Trace: [ide_dmaproc+290/708] [via82cxxx_dmaproc+196/208] [<dca897f7>][<dca89915>] [start_request+690/800] [__elv_next_request+10/16] [ide_queue_commands+343/432] [ide_do_request+85/120] [ide_do_drive_cmd+257/328] [<dca8a292>] [<dca7d59b>] [<dca7da90>] [<dca832b0>] [<dca8e860>] [generic_unplug_device+43/76] [__run_task_queue+102/120] [__wait_on_buffer+90/144] [__bread+80/112] [<dca6002a>] [get_sb_bdev+526/628] [<dca643a0>] [<dca643a0>] [<dca60ff7>] [<dca643a0>] [<dca5ff2c>] [do_kern_mount+74/196] [<dca643a0>] [do_add_mount+109/316] [do_mount+364/392] [copy_mount_options+76/156] [sys_mount+164/272] [syscall_call+7/11]
Code: 8b 50 1c 83 e2 01 b8 08 00 00 00 85 d2 0f 44 e8 8b 81 80 05 <3>error: mount[382] exited with preempt_count 1
No filesystem damage. Which is always good.
The isofs had compression compiled in, but the zlib_inflate module wasn't installed. I just copied it into modules/2.5.10/kernel/lib.
Parts of the config caused the oops (i'll mail the whole if you think i cut too much):
...CONFIG_PREEMPT=yCONFIG_X86_UP_APIC=yCONFIG_X86_UP_IOAPIC=yCONFIG_X86_LOCAL_APIC=yCONFIG_X86_IO_APIC=y
...CONFIG_IDE=yCONFIG_BLK_DEV_IDE=yCONFIG_BLK_DEV_IDEDISK=yCONFIG_IDEDISK_MULTI_MODE=yCONFIG_BLK_DEV_IDECD=mCONFIG_BLK_DEV_IDESCSI=mCONFIG_BLK_DEV_IDEPCI=yCONFIG_IDEPCI_SHARE_IRQ=yCONFIG_BLK_DEV_IDEDMA_PCI=yCONFIG_IDEDMA_PCI_AUTO=yCONFIG_BLK_DEV_IDEDMA=yCONFIG_BLK_DEV_VIA82CXXX=yCONFIG_IDEDMA_AUTO=yCONFIG_SCSI=mCONFIG_BLK_DEV_SR=mCONFIG_SR_EXTRA_DEVS=2CONFIG_CHR_DEV_SG=m
...CONFIG_ISO9660_FS=mCONFIG_JOLIET=yCONFIG_ZISOFS=y
...CONFIG_CRC32=mCONFIG_ZLIB_INFLATE=m
# CONFIG_ZLIB_DEFLATE is not set
The last line is strange, the zlib_deflate was installed!
Quoted 19 lines · Alex Riesen
That is. Just tried. Details below.
mount options:
/dev/scd0/mnt/cdromiso9660 noauto,user,gid=100,unhide,mode=0444,roDevice is a cd-recorder:
SCSI subsystem driver Revision: 1.00
Uniform CD-ROM driver unloaded
SCSI subsystem driver Revision: 1.00
ide: unexpected interrupt 1 15
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: AOPEN Model: CD-RW CRW2440 Rev: 1.00
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
Quoted 2 lines
Oops is the oops below (slightly formatted). It's reproducable, though i'd like to avoid the reproduction.
Sorry, did some quick lookup in archives and found that this problem was already reported by Sebastian Droege.
Subject: [2.5.9/2.5.10] ide-scsi oops
Date: 2002-04-24 14:20:57 PST
Waiting for news, then.
-alex