[6988] in linux-scsi channel archive

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

Re: Kernel panic at 0x5a5a5a5a with SCSI Generic

daemon@ATHENA.MIT.EDU (Terry Hardie)
Thu Aug 12 18:51:11 1999

Date:   Tue, 10 Aug 1999 13:50:37 -0400 (EDT)
From: Terry Hardie <terryh@orcas.net>
To: Mark Cooke <mpc@star.sr.bham.ac.uk>
cc: linux-scsi@vger.rutgers.edu
In-Reply-To: <Pine.LNX.4.10.9908101805341.30973-100000@pc24.sr.bham.ac.uk>

On Tue, 10 Aug 1999, Mark Cooke wrote:

> On Tue, 10 Aug 1999, Terry Hardie wrote:
> 
> > I've run into a problem with SCSI generic. I'm running 2.2.10-ac12. When I
> > use SCSI Generic, and send a command, if my program exits and is not there
> > to read the response from the SCSI device, the kernel panics at address
> > 0x5a5a5a5a.
> > 
> > Any suggestions?
> 
> This would seem to indicate a pointer is being used when it's 
> been freed.  (ISTR 5a5a5a5a is the code freed memory is set to
> in 2.2.10-ac12 for debugging).
> 
> Providing details of the scsi board make, and the particular command 
> to the list, and trying 2.2.11 are probably good steps to take.
> 
> Did you get a nice panic log in the syslog that'll show which bit of
> code is referencing a freed pointer (if that's what it is - I'm a
> part time kernel hacker ;-)?

Does it with:

(scsi0) <Adaptec AIC-7880 Ultra SCSI host adapter> found at PCI 12/0
(scsi0) Wide Channel, SCSI ID=7, 16/255 SCBs
(scsi0) Downloading sequencer code... 413 instructions downloaded

And a DMA DPT controller.

Here is the crash:

Unable to handle kernel paging request at virtual address 5a5a5a66
current->tss.cr3 = 07e3c000, %cr3 = 07e3c000
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0010:[scsi_unjam_host+952/1632]
EFLAGS: 00010206
eax: 5a5a5a5a   ebx: c7fc7f20   ecx:00000000   edx: c7fe1a20
esi: 5a5a5a5a   edi: c7fe2800   ebp:00000004   esp: c7e3ff18
ds: 0018   es: 0018   ss: 0018
Process zsh (pid: 504, process nr: 5,stackpage=c7e3f000)
Stack: 00000022 00000000 c7fe2800 c7e3e000 00000000 00000000 00000000 c6a13021
       080bb164 c01d1a6e c6a13000 00000000 00000000 00000022 00000000 00000001
       c6a13000 00000022 c778d320 00000022 c014ec9e 00000100 c6a13000 00000000
Call Trace: [st_int_ioctl+686/2728] [proc_writescsi+102/136] [sys_write+220/256] [proc_writescsi+0/136] [system_call+52/64]
Code: 8b 46 0c 89 43 18 68 18 01 00 00 56 e8 47 f9 ff ff 83 c4 08


---
Terry Hardie					terry@gxc.com
Vice President - Network Operations		ICQ#: 977679
Global Exchange Carrier, Manassas, VA, USA	V: +1-703-361-5566
"The Internet Long Distance Company"


-
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