lkml.org 
[lkml]   [2004]   [Jan]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromOliver Feiler <>
SubjectOops 2.6.0 - SCSI (driver aha152x) related
DateWed, 7 Jan 2004 00:08:36 +0100
Hi,

I have the following reproducable oops happening with 2.6.0, see attached file 
oops-2.6.0-scsi. It was captured and processed on -test11, but also happens 
on 2.6.0. I've also attached dmesg, .config and output from ver_linux from 
the system.

It's a 486 ISA only system with an Adaptec AVA-1520 (aha152x) SCSI card. A 
Panasonic DVD-RAM LF-D101 drive is the only device attached to the bus. The 
oops only seems to happen after I exchanged the disc in the drive at least 
once since reboot. If I boot with a disc in the drive I can mount it a dozen 
of times and it works just fine. If I eject the disc and insert it again, the 
oops occurs as soon as I mount it. The system hangs then, I cannot switch 
consoles or type anything. Rebooting with ctrl+alt+del however works until 
"unmount: / device is busy".

An IDE CD-ROM works fine so it should be related to the SCSI driver.

I know this stuff is very ancient now, but if someone is interested in working 
on the problem I'd be quite happy. Let me know if there is any more info you 
need.

Bye,
Oliver
ksymoops 2.4.8 on i486 2.6.0-test11.  Options used
     -V (default)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.6.0-test11/ (default)
     -m /usr/src/linux/System.map (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.

Error (regular_file): read_ksyms stat /proc/ksyms failed
No modules in ksyms, skipping objects
No ksyms, skipping lsmod
Jan  6 14:40:13 deekin kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000000
Jan  6 14:40:13 deekin kernel: c0203c18
Jan  6 14:40:13 deekin kernel: *pde = 00000000
Jan  6 14:40:13 deekin kernel: Oops: 0002 [#1]
Jan  6 14:40:13 deekin kernel: CPU:    0
Jan  6 14:40:13 deekin kernel: EIP:    0060:[<c0203c18>]    Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
Jan  6 14:40:13 deekin kernel: EFLAGS: 00010086
Jan  6 14:40:13 deekin kernel: eax: c137a800   ebx: c0e80200   ecx: c1379050   edx: 00000000
Jan  6 14:40:13 deekin kernel: esi: c137a800   edi: c13d0000   ebp: 00000246   esp: c13d1f2c
Jan  6 14:40:13 deekin kernel: ds: 007b   es: 007b   ss: 0068
Jan  6 14:40:14 deekin kernel: Stack: c1379050 00000002 c137a800 00000008 00000000 c137a800 c02060b3 c137a800 
Jan  6 14:40:14 deekin kernel:        0001221e 00000000 c030b004 c030b000 c13fdc10 c02037c0 c137a800 00000293 
Jan  6 14:40:14 deekin kernel:        c0125b6d 00000000 c13fdc28 c13fdc20 c13d0000 c13d0000 c13d0000 00000000 
Jan  6 14:40:14 deekin kernel: Call Trace:
Jan  6 14:40:14 deekin kernel:  [<c02060b3>] is_complete+0x2c3/0x310
Jan  6 14:40:14 deekin kernel:  [<c02037c0>] run+0x30/0x40
Jan  6 14:40:14 deekin kernel:  [<c0125b6d>] worker_thread+0x1bd/0x2b0
Jan  6 14:40:14 deekin kernel:  [<c0203790>] run+0x0/0x40
Jan  6 14:40:14 deekin kernel:  [<c0113b10>] default_wake_function+0x0/0x20
Jan  6 14:40:14 deekin kernel:  [<c0108fd6>] ret_from_fork+0x6/0x20
Jan  6 14:40:14 deekin kernel:  [<c0113b10>] default_wake_function+0x0/0x20
Jan  6 14:40:14 deekin kernel:  [<c01259b0>] worker_thread+0x0/0x2b0
Jan  6 14:40:14 deekin kernel:  [<c0107175>] kernel_thread_helper+0x5/0x10
Jan  6 14:40:14 deekin kernel: Code: 89 02 8b 41 04 8b 40 3c 8b 53 04 89 42 3c 8b 41 04 8b 40 40 

>>EIP; c0203c18 <busfree_run+368/520>   <=====

>>eax; c137a800 <__crc_memcpy_tokerneliovec+11c778/4bc1f2>
>>ebx; c0e80200 <__crc_idle_cpu+2b543/2c10e5>
>>ecx; c1379050 <__crc_memcpy_tokerneliovec+11afc8/4bc1f2>
>>esi; c137a800 <__crc_memcpy_tokerneliovec+11c778/4bc1f2>
>>edi; c13d0000 <__crc_memcpy_tokerneliovec+171f78/4bc1f2>
>>esp; c13d1f2c <__crc_memcpy_tokerneliovec+173ea4/4bc1f2>

Trace; c02060b3 <is_complete+2c3/310>
Trace; c02037c0 <run+30/40>
Trace; c0125b6d <worker_thread+1bd/2b0>
Trace; c0203790 <run+0/40>
Trace; c0113b10 <default_wake_function+0/20>
Trace; c0108fd6 <ret_from_fork+6/20>
Trace; c0113b10 <default_wake_function+0/20>
Trace; c01259b0 <worker_thread+0/2b0>
Trace; c0107175 <kernel_thread_helper+5/10>

Code;  c0203c18 <busfree_run+368/520>
00000000 <_EIP>:
Code;  c0203c18 <busfree_run+368/520>   <=====
   0:   89 02                     mov    %eax,(%edx)   <=====
Code;  c0203c1a <busfree_run+36a/520>
   2:   8b 41 04                  mov    0x4(%ecx),%eax
Code;  c0203c1d <busfree_run+36d/520>
   5:   8b 40 3c                  mov    0x3c(%eax),%eax
Code;  c0203c20 <busfree_run+370/520>
   8:   8b 53 04                  mov    0x4(%ebx),%edx
Code;  c0203c23 <busfree_run+373/520>
   b:   89 42 3c                  mov    %eax,0x3c(%edx)
Code;  c0203c26 <busfree_run+376/520>
   e:   8b 41 04                  mov    0x4(%ecx),%eax
Code;  c0203c29 <busfree_run+379/520>
  11:   8b 40 40                  mov    0x40(%eax),%eax

1 warning and 1 error 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 deekin 2.6.0-test11 #2 Tue Jan 6 13:38:28 CET 2004 i486 unknown

Gnu C                  3.2.2
Gnu make               3.80
util-linux             2.11z
mount                  2.11z
module-init-tools      0.9.15-pre2
e2fsprogs              1.32
Linux C Library        2.3.1
Dynamic linker (ldd)   2.3.1
Linux C++ Library      5.0.2
Procps                 3.1.6
Net-tools              1.60
Kbd                    1.08
Sh-utils               2.0
Modules Loaded         snd_pcm_oss snd_mixer_oss snd_sb16 snd_opl3_lib snd_hwdep snd_sb16_dsp snd_sb_common snd_pcm snd_page_alloc snd_timer snd_mpu401_uart snd_rawmidi snd_seq_device snd rtc
Linux version 2.6.0-test11 (root@deekin) (gcc version 3.2.2) #2 Tue Jan 6 13:38:28 CET 2004
BIOS-provided physical RAM map:
 BIOS-88: 0000000000000000 - 000000000009f000 (usable)
 BIOS-88: 0000000000100000 - 0000000001400000 (usable)
20MB LOWMEM available.
On node 0 totalpages: 5120
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 1024 pages, LIFO batch:1
  HighMem zone: 0 pages, LIFO batch:1
DMI not present.
Building zonelist for node : 0
Kernel command line: BOOT_IMAGE=Linux ro root=303 aha152x=0x140,12
Initializing CPU#0
PID hash table entries: 128 (order 7: 1024 bytes)
Console: colour VGA+ 80x25
Memory: 17696k/20480k available (1460k kernel code, 2348k reserved, 450k data, 100k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 65.15 BogoMIPS
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU:     After generic identify, caps: 00000001 00000000 00000000 00000000
CPU:     After vendor identify, caps: 00000001 00000000 00000000 00000000
CPU:     After all inits, caps: 00000001 00000000 00000000 00000000
CPU: AMD Am5x86-WT stepping 04
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
NET: Registered protocol family 16
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
isapnp: Scanning for PnP cards...
pnp: SB audio device quirk - increasing port range
isapnp: Card 'Creative ViBRA16X PnP'
isapnp: 1 Plug & Play card detected total
pty: 256 Unix98 ptys configured
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport0: PC-style at 0x378 (0x778) [PCSPP(,...)]
parport0: irq 7 detected
Using anticipatory io scheduler
Floppy drive(s): fd0 is 1.44M
FDC 0 is an 8272A
ne.c:v1.10 9/23/94 Donald Becker (becker@scyld.com)
Last modified Nov 1, 2000 by Paul Gortmaker
NE*000 ethercard probe at 0x280: 00 00 21 6c 14 1d
eth0: NE2000 found at 0x280, using IRQ 10.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
hda: ST33221A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128KiB
hda: 6303024 sectors (3227 MB) w/128KiB Cache, CHS=6253/16/63
 hda: hda1 hda2 hda3
aha152x: processing commandline: ok
aha152x: BIOS test: passed, detected 1 controller(s)
aha152x: resetting bus...
aha152x0: vital data: rev=1, io=0x140 (0x140/0x140), irq=12, scsiid=7, reconnect=enabled, parity=enabled, synchronous=enabled, delay=1000, extended translation=disabled
aha152x0: trying software interrupt, ok.
scsi0 : Adaptec 152x SCSI driver; $Revision: 2.5 $
(scsi0:2:0) 01 03 01 32 08 00 
  Vendor: MATSHITA  Model: PD-2 LF-D100      Rev: A113
  Type:   CD-ROM                             ANSI SCSI revision: 02
sr0: scsi3-mmc drive: 0x/0x dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 2, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 2, lun 0,  type 5
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
NET: Registered protocol family 1
NET: Registered protocol family 17
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 100k freed
spurious 8259A interrupt: IRQ7.
Adding 64504k swap on /dev/hda2.  Priority:-1 extents:1
EXT3 FS on hda3, internal journal
Real Time Clock Driver v1.12
pnp: Device 00:01.00 activated.[unhandled content-type:application/x-gzip]
\
 
 \ /
  Last update: 2005-03-22 13:59    [from the cache]
©2003-2008