2.2.0 oops (scsi related) and more about system lock

Adam Kumiszcza (adamk@3net.net.pl)
Fri, 29 Jan 1999 16:06:43 +0100


This is what happened after issuing
# cdrecord -v speed=2 dev=0,6,0 -eject -dummy -audio *.raw

Jan 28 19:46:07 psycho kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000058
Jan 28 19:46:07 psycho kernel: current->tss.cr3 = 01530000, %cr3 = 01530000
Jan 28 19:46:07 psycho kernel: *pde = 00000000
Jan 28 19:46:07 psycho kernel: Oops: 0002
Jan 28 19:46:07 psycho kernel: CPU: 0
Jan 28 19:46:07 psycho kernel: EIP: 0010:[serial:register_serial+-457709/320]
Jan 28 19:46:07 psycho kernel: EFLAGS: 00010246
Jan 28 19:46:07 psycho kernel: eax: 00000000 ebx: c0009f40 ecx: 00000005 edx: 00000000
Jan 28 19:46:07 psycho kernel: esi: 00000000 edi: 00000058 ebp: c0fdf800 esp: c1341f08
Jan 28 19:46:07 psycho kernel: ds: 0018 es: 0018 ss: 0018
Jan 28 19:46:07 psycho kernel: Process insmod (pid: 5162, process nr: 55, stackpage=c1341000)
Jan 28 19:46:07 psycho kernel: Stack: c48a0e40 c48a0eec c48a0eec c480fb69 c0009f40 c48a0e40 00000001 c480c000
Jan 28 19:46:07 psycho kernel: c480fca0 c48a0e40 c48a0000 c48a0c4a 00000004 c48a0e40 c01135c7 c1340000
Jan 28 19:46:07 psycho kernel: 0804f910 c48a0000 bffffd60 c48a0e1c c48a0eec c1341f78 c1341f70 00000002
Jan 28 19:46:07 psycho kernel: Call Trace: [<c48a0e40>] [<c48a0eec>] [<c48a0eec>] [serial:register_serial+-452307/320] [<c48a0e40>] [serial:register_serial+-467516/320] [serial:register_serial+-451996/320]
Jan 28 19:46:07 psycho kernel: [<c48a0e40>] [<c48a0000>] [<c48a0c4a>] [<c48a0e40>] [sys_init_module+1107/1212] [<c48a0000>] [<c48a0e1c>] [<c48a0eec>]
Jan 28 19:46:07 psycho kernel: [<c4896000>] [<c48a0048>] [system_call+52/64] [<c48a0000>]
Jan 28 19:46:07 psycho kernel: Code: f3 ab 89 2a 89 5a 08 46 8a 43 1c 88 42 40 8a 43 1d 88 42 41
Jan 28 19:46:07 psycho kernel: Attempt to allocate device channel 0, target 6, lun 0
Jan 28 19:46:07 psycho kernel: Kernel panic: No device found in scsi_allocate_device
Jan 28 19:46:07 psycho kernel:
Jan 28 19:53:51 psycho syslogd 1.3-3#30: restart.

It's 2.2.0, compiled using egcs-1.1.1 (with -m486 changed into -mpentium).

My scsi configuration:

scsi0 : AdvanSys SCSI 3.1E: ISA PnP 16 CDB: BIOS D000, IO 110/F, IRQ 12, DMA 6
scsi : 1 host.
Vendor: IBM Model: DPES-31080 Rev: S31Q
Type: Direct-Access ANSI SCSI revision: 02
Vendor: T.YUDEN Model: CD-WO EW-50 Rev: 2.16
Type: WORM ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 3, lun 0
SCSI device sda: hdwr sector= 512 bytes. Sectors= 2118144 [1034 MB] [1.0 GB]
sda: sda1 sda2

#
# SCSI support
#
CONFIG_SCSI=m
CONFIG_BLK_DEV_SD=m
# CONFIG_CHR_DEV_ST is not set
CONFIG_BLK_DEV_SR=m
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_CHR_DEV_SG=m
# CONFIG_SCSI_MULTI_LUN is not set
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y

# SCSI low-level drivers
#
[...]
CONFIG_SCSI_ADVANSYS=m

BTW, I tried to reproduce the error with issuing the same command -- didn't
work.

Second thing: I was trying to reproduce the system lock error I told about
earlier (with no success). When I did 'make -j zImage' and tried to exit
X-windows during that (alt-ctrl-f1) the system locked up completely
(didn't listen to keyboard or network).

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/