[4730] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Linux-2.0.35 Oops SMP SCSI NCR810

daemon@ATHENA.MIT.EDU (Erez Strauss)
Sun Sep 27 09:29:24 1998

Date: 	Sun, 27 Sep 1998 15:29:13 +0300
From: Erez Strauss <erez@newplaces.com>
To: linux-scsi@vger.rutgers.edu

Hello

I'm using a Dual Pentium-133 system (Tyan Tomcat III) IDE disks and
SCSI NCR810 Card, with Toshiba CDROM.

Linux Kernel - 2.0.35 with modules support.

First questions is which driver should I use: 53c7,8xx.c or ncr53c8xx.c
?
As I checked and both are also supported in the 2.1.1XX kernels.

I used the 53c7,8xx.c
Loading and unloading it when there are no SCSI devices at all, leaves
the system in a state that any 'cat /proc/interrupts' will cause kernel
Oops message.

When used with the CDROM connected, I can access the CDROM and mount it
but unloading the modules then reloading them will fail.

Reviewing the messages, It seems that the module doesn't free the IRQ
resources.

Please also reply by e-mail (erez@newplaces.com).
If needed I'll do tests for patches / provide needed information.

Thenks a lot

Erez Strauss <erez@newplaces.com>

--
From /proc/pci:

  Bus  0, device  19, function  0:
    SCSI storage controller: NCR 53c810 (rev 2).
      Medium devsel.  IRQ 11.  Master Capable.  Latency=32.
      I/O at 0x6100.
      Non-prefetchable 32 bit memory at 0xe0800000.

The following message shows a session of loading the driver then trying
to reload it and getting kernel Oops

From /var/log/messages:

Sep 24 22:10:55 www kernel: scsi-ncr53c7,8xx : at PCI bus 0, device 19, 
function 0
Sep 24 22:10:55 www kernel: scsi-ncr53c7,8xx : NCR53c810 at memory
0xe0800000, io 0x6100, irq 11
Sep 24 22:10:55 www kernel: scsi1 : burst length 2
Sep 24 22:10:55 www kernel: scsi1 : reset ccf to 3 from 0
Sep 24 22:10:55 www kernel: scsi1 : NCR code relocated to 0x16a4600
(virt 0x016a4600)
Sep 24 22:10:55 www kernel: scsi1 : test 1 started
Sep 24 22:10:55 www kernel: scsi1 : NCR53c{7,8}xx (rel 17)
Sep 24 22:10:55 www kernel: scsi : 2 hosts.
Sep 24 22:51:16 www kernel: scsi : 1 host.
Sep 24 22:51:42 www kernel: scsi-ncr53c7,8xx : at PCI bus 0, device 19, 
function 0
Sep 24 22:51:42 www kernel: scsi-ncr53c7,8xx : NCR53c810 at memory
0xe0800000, io 0x6100, irq 11
Sep 24 22:51:42 www kernel: scsi1 : burst length 2
Sep 24 22:51:42 www kernel: scsi1 : NCR code relocated to 0x4b4600 (virt
0x004b4600)
Sep 24 22:51:42 www kernel: scsi1 : test 1 started
Sep 24 22:51:42 www kernel: scsi1 : driver test 1 timed out due to lost
interrupt.
Sep 24 22:51:42 www kernel:          Please verify that the correct IRQ
is being used for your board,
Sep 24 22:51:42 www kernel: ^I      and that the motherboard IRQ
jumpering matches the PCI setup on
Sep 24 22:51:42 www kernel:          PCI systems.
Sep 24 22:51:42 www kernel:          If you are using a NCR53c810 board
in a PCI system, you should
Sep 24 22:51:42 www kernel:          also verify that the board is
jumpered to use PCI INTA, since
Sep 24 22:51:42 www kernel:          most PCI motherboards lack support
for INTB, INTC, and INTD.
Sep 24 22:51:42 www kernel:
Sep 24 22:51:42 www kernel: scsi1 : DSP = 0x004b4df8 (script at
0x004b4600, start at 0x4b4de4)
Sep 24 22:51:42 www kernel: scsi1 : DSPS = 0x4000000
Sep 24 22:51:42 www kernel: scsi : 1 host.
Sep 24 22:52:05 www kernel: scsi-ncr53c7,8xx : at PCI bus 0, device 19, 
function 0
Sep 24 22:52:05 www kernel: scsi-ncr53c7,8xx : NCR53c810 at memory
0xe0800000, io 0x6100, irq 11
Sep 24 22:52:05 www kernel: scsi1 : burst length 2
Sep 24 22:52:05 www kernel: scsi1 : reset ccf to 3 from 0
Sep 24 22:52:05 www kernel: scsi1 : NCR code relocated to 0x16a4600
(virt 0x016a4600)
Sep 24 22:52:05 www kernel: scsi1 : IRQ11 not free, detaching
Sep 24 22:52:05 www kernel:          You have either a configuration
problem, or a
Sep 24 22:52:05 www kernel:          broken BIOS.  You may wish to
manually assign
Sep 24 22:52:05 www kernel:          an interrupt to the NCR board
rather than using
Sep 24 22:52:05 www kernel:          an automatic setting.
Sep 24 22:52:05 www kernel: scsi : 1 host.
Sep 24 22:53:00 www kernel: Unable to handle kernel paging request at
virtual address c4868cc2
Sep 24 22:53:00 www kernel: current->tss.cr3 = 01faf000, <r3 = 01faf000
Sep 24 22:53:00 www kernel: *pde = 00003067
Sep 24 22:53:00 www kernel: *pte = 00000000
Sep 24 22:53:00 www kernel: Oops: 0000
Sep 24 22:53:00 www kernel: CPU:    1
Sep 24 22:53:00 www kernel: EIP:    0010:[vsprintf+655/1060]
Sep 24 22:53:00 www kernel: EFLAGS: 00010297
Sep 24 22:53:00 www kernel: eax: 04868cc2   ebx: ffffffff   ecx:
04868cc2   edx: fffffffe
Sep 24 22:53:00 www kernel: esi: ffffffff   edi: 027120d6   ebp:
00000000   esp: 03ae3ed4
Sep 24 22:53:00 www kernel: ds: 0018   es: 0018   fs: 002b   gs: 002b  
ss: 0018
Sep 24 22:53:00 www kernel: Process cat (pid: 20888, process nr: 75,
stackpage=03ae3000)
Sep 24 22:53:00 www kernel: Stack: 03241538 000000c5 0000000b 02712000
00000000 000000c4 0000000a ffffffff
Sep 24 22:53:00 www kernel:        0000001b 00000001 001a1b84 027120c5
001a23f8 03ae3f28 0010fa6f 027120c5
Sep 24 22:53:00 www kernel:        001a23ea 0000000b 00000009 0000002b
04868cc2 00000000 03ae3f90 00001000
Sep 24 22:53:00 www kernel: Call Trace: [sprintf+20/24]
[get_irq_list+67/164] [<04868cc2>] [get_root_array+282/384] [array_
read+274/636] [do_page_fault+360/864] [sys_read+208/248]
Sep 24 22:53:00 www kernel:        [system_call+258/320]
Sep 24 22:53:00 www kernel: Code: 80 38 00 74 07 40 4a 83 fa ff 75 f4 29
c8 89 c6 f7 c5 10 00

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post