2.4-test8: Oops, FS damage on SCSI DVD-RAM

From: Joseph Morris (jpm@it-he.org)
Date: Fri Sep 15 2000 - 14:30:24 EST


There, I've summoned the courage to post it ;-)

I have a Toshiba 1101 DVD-RAM drive attached to a Symbios 53C810a SCSI
card. I have a cartridge formatted by Windows to FAT-16 with 64K clusters.
It has never worked in 2.4-test (I got the drive on test-6) however
it works perfectly using the 2.2 series kernels. The DVD-RAM drive is in
two-LUN configuration: using single-LUN doesn't seem to make any odds.

Before I trusted anything to the DVD-RAM drive I wanted to be sure it
worked, so I copied 410MB of .RAR archives to the disk. At first I just
got CRC errors and once a trashed FS on the cartridge (it was Ext-2
formatted at the time) , but since installing test-7 I get a kernel Oops
when trying to decompress an archive on the cart (or even read it with less!)
The test cart is currently formatted by Windows to FAT-16 with 64k clusters.

I am not on the mailing list so if you could CC replies to me directly
that would be great.

[OOPS]

ksymoops 2.3.4 on i586 2.4.0-test8. Options used
     -v vmlinux (specified)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.4.0-test8/ (default)
     -m /usr/src/linux/System.map (default)

Unable to handle kernel NULL pointer dereference at virtual address 00000000
00000000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[ppp_cleanup+0/4]
EFLAGS: 00010286
eax: 00000000 ebx: c4427f00 ecx: 00000003 edx: c4427f00
esi: ffffffea edi: 00000000 ebp: 00010000 esp: c40eff88
ds: 0018 es: 0018 ss: 0018
Process rar (pid: 1247, stackpage=c40ef000)
Stack: c014f918 c4427f00 40101000 00010000 c4427f20 c012ce55 c4427f00 40101000
       00010000 c4427f20 c40ee000 bffeb9a4 080afb38 bffeab8c c010a623 00000003
       40101000 00010000 bffeb9a4 080afb38 bffeab8c 00000003 0000002b 0000002b
Call Trace: [fat_notify_change+80/248] [get_hardblocksize+25/36]
[ret_from_sys_call+3/18]
Code: Bad EIP value.
Using defaults from ksymoops -t elf32-i386 -a i386

[Software versions]

-- Versions installed: (if some fields are empty or look
-- unusual then possibly you have very old versions)
Linux seaharrier.it-he.org 2.4.0-test8 #8 Sat Sep 9 17:01:41 BST 2000 i586
unknown
Kernel modules 2.3.15
Gnu C 2.95.2
Binutils 2.9.5.0.16
Linux C Library 2.1.2
Dynamic linker ldd (GNU libc) 2.1.2
Procps 2.0.6
Mount 2.9y
Net-tools 1.53
Console-tools 0.2.2
Sh-utils 2.0
Modules Loaded mga

[CPU]

processor : 0
vendor_id : AuthenticAMD
cpu family : 5
model : 9
model name : AMD-K6(tm) 3D+ Processor
stepping : 1
cpu MHz : 400.913894
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8 sep mtrr pge mmx 3dnow
bogomips : 799.54

[MODULES]

mga 100976 1

[IOMEM]

00000000-0009fbff : System RAM
0009fc00-0009ffff : System RAM
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000f0000-000fffff : System ROM
00100000-05feffff : System RAM
  00100000-002f0157 : Kernel code
  002f0158-00317343 : Kernel data
05ff0000-05ff2fff : ACPI Non-volatile Storage
05ff3000-05ffffff : ACPI Tables
e0000000-e3ffffff : PCI Bus #01
  e0000000-e0003fff : Matrox Graphics, Inc. MGA G400 AGP
    e0000000-e0003fff : matroxfb MMIO
  e1000000-e17fffff : Matrox Graphics, Inc. MGA G400 AGP
e4000000-e5ffffff : VIA Technologies, Inc. VT82C597 [Apollo VP3]
e6000000-e7ffffff : PCI Bus #01
  e6000000-e7ffffff : Matrox Graphics, Inc. MGA G400 AGP
    e6000000-e7ffffff : matroxfb FB
e9000000-e903ffff : Aureal Semiconductor Vortex 2
e9040000-e90400ff : Symbios Logic Inc. (formerly NCR) 53c810
e9041000-e90410ff : Lite-On Communications Inc LNE100TX
  e9041000-e90410ff : eth0
ffff0000-ffffffff : reserved

[IOPORTS]

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
01f0-01f7 : ide0
0213-0213 : isapnp read
0220-022f : soundblaster
02f8-02ff : serial(auto)
0330-0333 : MPU-401 UART
0378-037a : parport0
037b-037f : parport0
03c0-03df : vga+
  03c0-03df : matrox
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0778-077a : parport0
0a79-0a79 : isapnp write
0cf8-0cff : PCI conf1
5000-50ff : VIA Technologies, Inc. VT82C586B ACPI
d000-d00f : VIA Technologies, Inc. Bus Master IDE
d800-d8ff : Symbios Logic Inc. (formerly NCR) 53c810
  d800-d87f : sym53c8xx
dc00-dcff : Lite-On Communications Inc LNE100TX
  dc00-dcff : eth0
e000-e007 : Aureal Semiconductor Vortex 2
e400-e407 : Aureal Semiconductor Vortex 2

[PCI]

00:00.0 Host bridge: VIA Technologies, Inc. VT82C598 [Apollo MVP3] (rev 04)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 16 set
        Region 0: Memory at e4000000 (32-bit, prefetchable) [size=32M]
        Capabilities: [a0] AGP version 1.0
                Status: RQ=7 SBA+ 64bit- FW- Rate=21
                Command: RQ=0 SBA+ AGP+ 64bit- FW- Rate=1

00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598 [Apollo MVP3 AGP]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort+ >SERR- <PERR-
        Latency: 0 set
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 0000f000-00000fff
        Memory behind bridge: e0000000-e3ffffff
        Prefetchable memory behind bridge: e6000000-e7ffffff
        BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-

00:07.0 ISA bridge: VIA Technologies, Inc. VT82C586/A/B PCI-to-ISA [Apollo VP]
(rev 47)
        Subsystem: VIA Technologies, Inc. MVP3 ISA Bridge
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr-
Stepping+ SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0 set

00:07.1 IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev 06)
(prog-if 8a [Master SecP PriP])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 set
        Region 4: I/O ports at d000 [size=16]

00:07.3 Host bridge: VIA Technologies, Inc. VT82C586B ACPI (rev 10)
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-

00:08.0 SCSI storage controller: Symbios Logic Inc. (formerly NCR) 53c810 (rev
23)
        Subsystem: Symbios Logic Inc. (formerly NCR) 8100S
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 8 min, 64 max, 64 set, cache line size 08
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at d800 [size=256]
        Region 1: Memory at e9040000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [40] Power Management version 1
                Flags: PMEClk- AuxPwr- DSI- D1- D2- PME-
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0a.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 20)
        Subsystem: Netgear FA310TX
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 set
        Interrupt: pin A routed to IRQ 10
        Region 0: I/O ports at dc00 [size=256]
        Region 1: Memory at e9041000 (32-bit, non-prefetchable) [size=256]
        Expansion ROM at e8000000 [disabled] [size=256K]

00:0b.0 Multimedia audio controller: Aureal Semiconductor Vortex 2 (rev fe)
        Subsystem: Aureal Semiconductor: Unknown device 0002
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 4 min, 12 max, 32 set, cache line size 08
        Interrupt: pin A routed to IRQ 12
        Region 0: Memory at e9000000 (32-bit, non-prefetchable) [size=256K]
        Region 1: I/O ports at e000 [size=8]
        Region 2: I/O ports at e400 [size=8]
        Capabilities: [dc] Power Management version 1
                Flags: PMEClk- AuxPwr- DSI+ D1- D2+ PME-
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 04)
        Subsystem: Matrox Graphics, Inc. Millennium G400 Dual Head 16Mb
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 16 min, 32 max, 32 set, cache line size 08
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at e6000000 (32-bit, prefetchable) [size=32M]
        Region 1: Memory at e0000000 (32-bit, non-prefetchable) [size=16K]
        Region 2: Memory at e1000000 (32-bit, non-prefetchable) [size=8M]
        Expansion ROM at <unassigned> [disabled] [size=64K]
        Capabilities: [dc] Power Management version 2
                Flags: PMEClk- AuxPwr- DSI+ D1- D2- PME-
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [f0] AGP version 2.0
                Status: RQ=31 SBA+ 64bit- FW- Rate=21
                Command: RQ=7 SBA+ AGP+ 64bit- FW- Rate=1

[SCSI]

Attached devices:
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: TOSHIBA Model: SD-W1101 DVD-RAM Rev: 1033
  Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 01
  Vendor: TOSHIBA Model: SD-W1101 DVD-RAM Rev: 1033
  Type: Optical Device ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: SCSI-CD Model: ReWritable-2x2x6 Rev: 2.00
  Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 06 Lun: 00
  Vendor: IOMEGA Model: ZIP 100 Rev: D.13
  Type: Direct-Access ANSI SCSI revision: 02

[FILESYSTEM SUPPORT]

nodev shm
nodev sockfs
nodev pipefs
nodev proc
        ext2
        msdos
        vfat
        iso9660
nodev smbfs
        udf
nodev autofs
nodev nfs
nodev devpts

-- 
JP Morris - aka DOUG the Eagle (Dragon) -=UDIC=-  doug@it-he.org
Fun things to do with the Ultima games            (http://www.it-he.org)
Developing a U6/U7 clone                          (http://fly.to/ire)
d+++ e+ N+ T++ Om U1234!56!7'!S'!8!9!KA u++ uC+++ uF+++ uG---- uLB----
uA--- nC+ nR---- nH+++ nP++ nI nPT nS nT wM- wC- y a(YEAR - 1976)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:26 EST