[1.] Segfault reading SCSI MO - System hang while writing [2.] Hello * with kernel 2.4.x (actually 2.4.3) i ran into a problem acessing my SCSI MO. As everything works fine with 2.2.x (actually 19) the problem seems to be new in the 2.4.x kernel series and therefore you might want to take a look. I can mount the MO (/dev/sda) as /mnt/mod fs:vfat and do a ls with no problem or warning and i can cd to the directories of the MO. But if i try to open a file for example to copy it to somewhere i get a segfault. A try to write to it is even more worse, my system hangs immediately. After the error the device can't be unmounted any more. I don't think that the problem is in the hardware related driver (sym53c8xx) because i tried it with the ncr53c8xx and 53c7,8xx too with the same result. What i tried also is to mount the MO as msdos and umsdos and it produced the segfault too. [3.] SCSI vfat 53c810 MO [4.] Linux version 2.4.3 (root@camelot) (gcc version 2.95.2 19991024 (release)) #4 Wed Apr 18 15:09:02 CEST 2001 [5.] ksymoops.out [6.] cp /mnt/mod/somefile /tmp -> Segfault cp somefile /mnt/mod/somefile -> crash [7.] Environment [7.1.] ver_linux.out [7.2.] cpuinfo.out [7.3.] modules.out [7.4.] ioports.out, iomem.out [7.5.] lspci.out [7.6.] scsi.out greetings Thomas Herberg Email: [EMAIL PROTECTED]
ksymoops 2.4.0 on i686 2.4.3. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.4.3/ (default) -m /boot/System.map-2.4.3 (default) Warning: You did not tell me where to find symbol information. I will assume that the log matches the kernel and modules that are running right now and I'll use the default options above for symbol resolution. If the current kernel and/or modules do not match the log, you can get more accurate output by telling me the kernel version and where to find map, modules, ksyms etc. ksymoops -h explains the options. Apr 19 17:35:07 camelot kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000000 Apr 19 17:35:07 camelot kernel: 00000000 Apr 19 17:35:07 camelot kernel: *pde = 00000000 Apr 19 17:35:07 camelot kernel: Oops: 0000 Apr 19 17:35:07 camelot kernel: CPU: 0 Apr 19 17:35:07 camelot kernel: EIP: 0010:[<00000000>] Using defaults from ksymoops -t elf32-i386 -a i386 Apr 19 17:35:07 camelot kernel: EFLAGS: 00010286 Apr 19 17:35:07 camelot kernel: eax: 00000000 ebx: c68352a0 ecx: 00001000 edx: c68352c0 Apr 19 17:35:07 camelot kernel: esi: bfffe19c edi: 00000000 ebp: 00001000 esp: c0a9ff80 Apr 19 17:35:07 camelot kernel: ds: 0018 es: 0018 ss: 0018 Apr 19 17:35:07 camelot kernel: Process cp (pid: 1383, stackpage=c0a9f000) Apr 19 17:35:07 camelot kernel: Stack: c014e68d c68352a0 bfffe19c 00001000 c68352c0 c68352a0 ffffffea c012bc06 Apr 19 17:35:07 camelot kernel: c68352a0 bfffe19c 00001000 c68352c0 c0a9e000 bffff694 bfffe19c bffff244 Apr 19 17:35:07 camelot kernel: c0106d5f 00000003 bfffe19c 00001000 bffff694 bfffe19c bffff244 00000003 Apr 19 17:35:07 camelot kernel: Call Trace: [fat_file_read+45/52] [sys_read+150/204] [system_call+51/56] Apr 19 17:35:07 camelot kernel: Code: Bad EIP value. >>EIP; 00000000 Before first symbol 1 warning issued. Results may not be reliable.
If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes. Linux camelot 2.4.3 #4 Wed Apr 18 15:09:02 CEST 2001 i686 unknown Gnu C 2.95.2 Gnu make 3.79.1 binutils 2.10.0.33 util-linux 2.10q modutils 2.4.2 e2fsprogs 1.19 PPP 2.4.0 isdn4k-utils 3.1pre1a Linux C Library x 1 root root 1382179 Jan 19 07:14 /lib/libc.so.6 Dynamic linker (ldd) 2.2 Procps 2.0.7 Net-tools 1.57 Kbd 1.02 Sh-utils 2.0 Modules Loaded sb sb_lib uart401 sound soundcore isa-pnp af_packet hisax isdn ipchains ntfs
processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 6 model name : Celeron (Mendocino) stepping : 0 cpu MHz : 334.098 cache size : 128 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr bogomips : 666.82
sb 7376 0 (autoclean) sb_lib 33728 0 (autoclean) [sb] uart401 6384 0 (autoclean) [sb_lib] sound 56976 0 (autoclean) [sb_lib uart401] soundcore 3952 5 (autoclean) [sb_lib sound] isa-pnp 28016 0 (autoclean) [sb] af_packet 7968 1 (autoclean) hisax 135760 4 isdn 84720 6 [hisax] ipchains 31584 0 (unused) ntfs 35472 1 (autoclean)
0000-001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 0213-0213 : isapnp read 0220-022f : soundblaster 02f8-02ff : serial(auto) 0300-030f : 3c509 0330-0333 : MPU-401 UART 0376-0376 : ide1 03c0-03df : vga+ 03f6-03f6 : ide0 03f8-03ff : serial(auto) 0a79-0a79 : isapnp write 0cf8-0cff : PCI conf1 4000-403f : Intel Corporation 82371AB PIIX4 ACPI 5000-501f : Intel Corporation 82371AB PIIX4 ACPI e000-e01f : Intel Corporation 82371AB PIIX4 USB e400-e4ff : Symbios Logic Inc. (formerly NCR) 53c810 e400-e47f : sym53c8xx e800-e81f : AVM Audiovisuelles MKTG & Computer System GmbH A1 ISDN [Fritz] e800-e81f : avm PCI f000-f00f : Intel Corporation 82371AB PIIX4 IDE f000-f007 : ide0 f008-f00f : ide1
00000000-0009efff : System RAM 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000f0000-000fffff : System ROM 00100000-07ffffff : System RAM 00100000-001e7c1f : Kernel code 001e7c20-00244f6f : Kernel data d0000000-d3ffffff : Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge d4000000-d5ffffff : PCI Bus #01 d4000000-d4ffffff : nVidia Corporation Riva TnT 128 [NV04] d6000000-d6ffffff : PCI Bus #01 d6000000-d6ffffff : nVidia Corporation Riva TnT 128 [NV04] d7000000-d70000ff : Symbios Logic Inc. (formerly NCR) 53c810 d7001000-d700101f : AVM Audiovisuelles MKTG & Computer System GmbH A1 ISDN [Fritz]
00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (rev 03) 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 Region 0: Memory at d0000000 (32-bit, prefetchable) [size=64M] Capabilities: [a0] AGP version 1.0 Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2 Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none> 00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev 03) (prog-if 00 [Normal decode]) 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: 64 Bus: primary=00, secondary=01, subordinate=01, sec-latency=32 I/O behind bridge: 0000f000-00000fff Memory behind bridge: d4000000-d5ffffff Prefetchable memory behind bridge: d6000000-d6ffffff BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B+ 00:02.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02) 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 00:02.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) (prog-if 80 [Master]) 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 Region 4: I/O ports at f000 [size=16] 00:02.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01) (prog-if 00 [UHCI]) 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 Interrupt: pin D routed to IRQ 9 Region 4: I/O ports at e000 [size=32] 00:02.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 02) 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- Interrupt: pin ? routed to IRQ 9 00:0e.0 SCSI storage controller: Symbios Logic Inc. (formerly NCR) 53c810 (rev 12) 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: 64 (2000ns min, 16000ns max), cache line size 08 Interrupt: pin A routed to IRQ 9 Region 0: I/O ports at e400 [size=256] Region 1: Memory at d7000000 (32-bit, non-prefetchable) [size=256] 00:10.0 Network controller: AVM Audiovisuelles MKTG & Computer System GmbH A1 ISDN [Fritz] (rev 02) Subsystem: AVM Audiovisuelles MKTG & Computer System GmbH FRITZ!Card ISDN Controller 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- Interrupt: pin A routed to IRQ 9 Region 0: Memory at d7001000 (32-bit, non-prefetchable) [size=32] Region 1: I/O ports at e800 [size=32] 01:00.0 VGA compatible controller: nVidia Corporation Riva TnT 128 [NV04] (rev 04) (prog-if 00 [VGA]) Subsystem: Creative Labs Graphics Blaster CT6710 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 (1250ns min, 250ns max) Interrupt: pin A routed to IRQ 11 Region 0: Memory at d4000000 (32-bit, non-prefetchable) [size=16M] Region 1: Memory at d6000000 (32-bit, prefetchable) [size=16M] Expansion ROM at <unassigned> [disabled] [size=64K] Capabilities: [60] Power Management version 1 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- Capabilities: [44] AGP version 1.0 Status: RQ=15 SBA+ 64bit- FW- Rate=x1,x2 Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>
Attached devices: Host: scsi0 Channel: 00 Id: 03 Lun: 00 Vendor: YAMAHA Model: CRW8424S Rev: 1.0j Type: CD-ROM ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 04 Lun: 00 Vendor: FUJITSU Model: MCF3064SS Rev: 0020 Type: Optical Device ANSI SCSI revision: 02