Kernel panic after reloading scsi device driver a few times

Bas Mevissen (sgm@stack.nl)
Thu, 13 Aug 1998 15:14:34 +0200


Hi all,

On my Linux 2.0.35/SMP driver Dual PPro box I got the following after
loading and unloading the ncr53c8xx device driver a few times:

Aug 13 14:24:45 twin kernel: ncr53c8xx: at PCI bus 0, device 13, function 0
Aug 13 14:24:45 twin kernel: ncr53c8xx: 53c810 detected
Aug 13 14:24:45 twin kernel: ncr53c810-0: rev=0x02, base=0xe0800000,
io_port=0x9800, irq=10
Aug 13 14:24:45 twin kernel: ncr53c810-0: ID 7, Fast-10, Parity Checking
Aug 13 14:24:45 twin kernel: ncr53c810-0: restart (scsi reset).
Aug 13 14:24:45 twin kernel: scsi1 : ncr53c8xx - revision 2.5f.1
Aug 13 14:24:45 twin kernel: scsi : 2 hosts.
Aug 13 14:25:14 twin kernel: ncr53c810-0: releasing host resources
Aug 13 14:25:14 twin kernel: ncr53c810-0: resetting chip
Aug 13 14:25:14 twin kernel: ncr53c810-0: host resources successfully
released
Aug 13 14:25:14 twin kernel: scsi : 1 host.
Aug 13 14:25:22 twin kernel: ncr53c8xx: at PCI bus 0, device 13, function 0
Aug 13 14:25:22 twin kernel: ncr53c8xx: 53c810 detected
Aug 13 14:25:22 twin kernel: ncr53c810-0: rev=0x02, base=0xe0800000,
io_port=0x9800, irq=10
Aug 13 14:25:22 twin kernel: ncr53c810-0: ID 7, Fast-10, Parity Checking
Aug 13 14:25:22 twin kernel: ncr53c810-0: restart (scsi reset).
Aug 13 14:25:22 twin kernel: scsi1 : ncr53c8xx - revision 2.5f.1
Aug 13 14:25:22 twin kernel: scsi : 2 hosts.
Aug 13 14:25:29 twin kernel: Vendor: PHILIPS Model: CDD2600
Rev: 1.07
Aug 13 14:25:29 twin kernel: Type: CD-ROM
ANSI SCSI revision: 02
Aug 13 14:25:34 twin kernel: ncr53c810-0: releasing host resources
Aug 13 14:25:34 twin kernel: ncr53c810-0: the timer seems to be already
stopped
Aug 13 14:25:34 twin kernel: ncr53c810-0: resetting chip
Aug 13 14:25:34 twin kernel: ncr53c810-0: host resources successfully
released
Aug 13 14:25:34 twin kernel: scsi : 1 host.
Aug 13 14:25:34 twin kernel: Unable to handle kernel paging request at
virtual address c4845d2c
Aug 13 14:25:34 twin kernel: current->tss.cr3 = 0309e000, `r3 = 0309e000
Aug 13 14:25:34 twin kernel: *pde = 00003067
Aug 13 14:25:34 twin kernel: *pte = 00000000
Aug 13 14:25:34 twin kernel: Oops: 0000
Aug 13 14:25:34 twin kernel: CPU: 0
Aug 13 14:25:34 twin kernel: EIP: 0010:[<04845d2c>]
Aug 13 14:25:34 twin kernel: EFLAGS: 00010206
Aug 13 14:25:34 twin kernel: eax: 026900d8 ebx: 02690080 ecx: 00000000
edx: 001a0e48
Aug 13 14:25:34 twin kernel: esi: 04845d2c edi: 00000002 ebp: 0309ff50
esp: 0309ff34
Aug 13 14:25:34 twin kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss:
0018
Aug 13 14:25:34 twin kernel: Process xterm (pid: 416, process nr: 35,
stackpage=0309f000)
Aug 13 14:25:34 twin kernel: Stack: 001177ed 02690080 00000001 ffffffff
00000105 00000002 0011e6c2 001b76c0
Aug 13 14:25:34 twin kernel: 0011e6f3 0309ff6c 00000000 08072880
bffff2e8 0010ac47 00001770 00036e0c
Aug 13 14:25:34 twin kernel: 04805000 00000000 08072880 bffff2e8
00000000 03910018 00000018 bfff002b
Aug 13 14:25:34 twin kernel: Call Trace: [timer_bh+749/820]
[do_bottom_half+10/96] [do_bottom_half+59/96] [handle_bottom_half+11/24]
[8390:ei_open+-77828/76] [system_call+125/312]
Aug 13 14:25:34 twin kernel: Code: <1>Unable to handle kernel paging request
at virtual address c4845d2c
Aug 13 14:25:34 twin kernel: current->tss.cr3 = 0309e000, `r3 = 0309e000
Aug 13 14:25:34 twin kernel: *pde = 00003067
Aug 13 14:25:34 twin kernel: *pte = 00000000
Aug 13 14:25:34 twin kernel: Oops: 0000
Aug 13 14:25:34 twin kernel: CPU: 0
Aug 13 14:25:34 twin kernel: EIP: 0010:[die_if_kernel+716/780]
Aug 13 14:25:34 twin kernel: EFLAGS: 00010202
Aug 13 14:25:34 twin kernel: eax: 00000010 ebx: 0000002b ecx: 04845d2c
edx: 0000ea60
Aug 13 14:25:34 twin kernel: esi: 00000000 edi: 030a0000 ebp: 0309fef8
esp: 0309fe94
Aug 13 14:25:34 twin kernel: ds: 0018 es: 0018 fs: 0010 gs: 002b ss:
0018
Aug 13 14:25:34 twin kernel: Process xterm (pid: 416, process nr: 35,
stackpage=0309f000)
Aug 13 14:25:34 twin kernel: Stack: 0018002b 0309fef8 00045000 00000000
00000000 04800000 05000000 04800000
Aug 13 14:25:34 twin kernel: 00000018 001160b7 0018e808 0309fef8
00000000 00115d68 04845d2c 00000002
Aug 13 14:25:34 twin kernel: 0309ff50 04000000 00000246 0308d098
03037414 00115d68 0010b0a5 0309fef8
Aug 13 14:25:34 twin kernel: Call Trace: [tty_wait_until_sent+155/388]
[8390:ei_open+-98308/76] [<05000000>] [8390:ei_open+-98308/76]
[do_page_fault+847/864] [do_page_fault+0/864] [<04845d2c>]
Aug 13 14:25:34 twin PAM_pwdb[427]: (su) session closed for user root
Aug 13 14:25:34 twin kernel: [do_page_fault+0/864]
[error_code+237/248] [<04845d2c>] [<04845d2c>] [timer_bh+749/820]
[do_bottom_half+10/96] [do_bottom_half+59/96] [handle_bottom_half+11/24]
Aug 13 14:25:34 twin kernel: [8390:ei_open+-77828/76]
[system_call+125/312]
Aug 13 14:25:34 twin kernel: Code: 64 8a 04 0e 0f a1 88 c2 81 e2 ff 00 00 00
89 54 24 10 52 68
Aug 13 14:25:34 twin kernel: Aiee, killing interrupt handler
Aug 13 14:25:48 twin PAM_pwdb[798]: (su) session opened for user root by
sgm(uid=0)
Aug 13 14:25:49 twin kernel: Kernel panic: CPU #1:Attempted flush tlb IPI
when not AKP(=255)

There was another scsi driver loaded for the ZIP drive (PPA 1.42) and it was
copying data from the zip disk to the ide harddisk.

Is it such a bad idea to (un)load a driver on a working system (copying
data) ?
In a second try, the machine didn't behave nice after unloading this driver.
I halted it immediately after that to avoid trouble. I can't see what is
really going on because there is no console on the box. I use it remotely.

I hope someone can shine his light on this.

Bas.

-
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.altern.org/andrebalsa/doc/lkml-faq.html