public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* aic94xx panic on module insertion
@ 2006-07-10 14:22 James Bottomley
  2006-07-10 16:25 ` Douglas Gilbert
  2006-07-10 17:29 ` Mike Anderson
  0 siblings, 2 replies; 9+ messages in thread
From: James Bottomley @ 2006-07-10 14:22 UTC (permalink / raw)
  To: linux-scsi

I got this one again over the weekend:

aic94xx: max_scbs:512, max_ddbs:128
aic94xx: setting phy0 addr to 50000d100001cae0
aic94xx: setting phy1 addr to 50000d100001cae0
aic94xx: setting phy2 addr to 50000d100001cae0
aic94xx: setting phy3 addr to 50000d100001cae0
aic94xx: setting phy4 addr to 50000d100001cae0
aic94xx: setting phy5 addr to 50000d100001cae0
aic94xx: setting phy6 addr to 50000d100001cae0
aic94xx: setting phy7 addr to 50000d100001cae0
aic94xx: num_edbs:21
aic94xx: num_escbs:3
aic94xx: using sequencer Razor_10a1
aic94xx: downloading CSEQ...
aic94xx: dma-ing 8192 bytes
aic94xx: verified 8192 bytes, passed
aic94xx: downloading LSEQs...
aic94xx: dma-ing 14336 bytes
aic94xx: LSEQ0 verified 14336 bytes, passed
aic94xx: LSEQ1 verified 14336 bytes, passed
aic94xx: LSEQ2 verified 14336 bytes, passed
aic94xx: LSEQ3 verified 14336 bytes, passed
aic94xx: LSEQ4 verified 14336 bytes, passed
aic94xx: LSEQ5 verified 14336 bytes, passed
aic94xx: LSEQ6 verified 14336 bytes, passed
aic94xx: LSEQ7 verified 14336 bytes, passed
aic94xx: max_scbs:446
aic94xx: first_scb_site_no:0x20
aic94xx: last_scb_site_no:0x1fe
aic94xx: First SCB dma_handle: 0x1ed97000
aic94xx: device 0000:03:03.0: SAS addr 50000d100001cae0, PCBA SN , 8 phys, 8 enabled phys, flash present, BIOS not present0
aic94xx: posting 3 escbs
aic94xx: escbs posted
aic94xx: posting 8 control phy scbs
aic94xx: enabled phys
aic94xx: control_phy_tasklet_complete: phy0, lrate:0x9, proto:0xe
aic94xx: control_phy_tasklet_complete: phy1, lrate:0x9, proto:0xe
aic94xx: escb_tasklet_complete: phy0: BYTES_DMAED
aic94xx: SAS proto IDENTIFY:
aic94xx: 00: 20 00 00 02
aic94xx: 04: 00 00 00 00
aic94xx: 08: 00 00 00 00
aic94xx: 0c: 50 06 05 b0
aic94xx: 10: 00 00 11 10
aic94xx: 14: 07 00 00 00
aic94xx: 18: 00 00 00 00
aic94xx: escb_tasklet_complete: phy1: PRIMITIVE_RECVD
sas: phy0 added to port0, phy_mask:0x1
aic94xx: phy1: BROADCAST change received:256
aic94xx: control_phy_tasklet_complete: phy2, lrate:0x9, proto:0xe
sas: broadcast received: 9
BUG: unable to handle kernel NULL pointer dereference at virtual address 00000214
 printing eip:
f88f14cd
*pde = 00000000
Oops: 0000 [#1]
SMP 
Modules linked in: aic94xx scsi_transport_sas_domain scsi_transport_sas uhci_hcd usbcore tg3 ext3 jbd mbcache sr_mod cdrom sd_mod aic79xx scsi_transport_spi scsi_mod
CPU:    1
EIP:    0060:[<f88f14cd>]    Not tainted VLI
EFLAGS: 00010297   (2.6.18-rc1 #10) 
EIP is at sas_discover_event+0x1d/0xa0 [scsi_transport_sas_domain]
eax: 00000000   ebx: 00000000   ecx: c011de75   edx: 00000000
esi: 00000001   edi: 00000044   ebp: f7019f18   esp: f7019efc
ds: 007b   es: 007b   ss: 0068
Process scsi_wq_2 (pid: 2256, ti=f7018000 task=f7052aa0 task.ti=f7018000)
Stack: de7c0c04 00000009 f7019f18 c011e02b 00000001 de7c0c04 00000009 f7019f34 
       f88f0e83 00000000 00000001 de7c0a04 de7c0a08 dff71118 f7019f68 c012ef4c 
       de7c09d4 dff71160 00000001 dff71158 dff711a0 00000286 f88f0e10 de7c09d4 
Call Trace:
 [<f88f0e83>] sas_porte_broadcast_rcvd+0x73/0x80 [scsi_transport_sas_domain]
 [<c012ef4c>] run_workqueue+0x7c/0x100
 [<c012f1a5>] worker_thread+0x115/0x150
 [<c0132a9d>] kthread+0xfd/0x110
 [<c0100ea5>] kernel_thread_helper+0x5/0x10
Code: 5e 5f 5d c3 8d 76 00 8d bc 27 00 00 00 00 55 89 e5 83 ec 1c 89 75 f8 8b 75 0c 89 5d f4 8b 5d 08 89 7d fc 83 fe 02 8d 7b 44 77 74 <8b> 83 14 02 00 00 8b 40 6c 89 45 ec 8d 04 76 c1 e0 04 8d 44 03 
EIP: [<f88f14cd>] sas_discover_event+0x1d/0xa0 [scsi_transport_sas_domain] SS:ESP 0068:f7019efc
 <5>aic94xx: escb_tasklet_complete: phy2: PRIMITIVE_RECVD

I think what happens is that the broadcast comes in before the aic94xx
has allocated a port to the phy (so phy->port is null in
sas_porte_boradcast_rcvd).

I'll investigate fixing this, but I might not have time for the rest of
this week if someone else wants to take a look.

James



^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: aic94xx panic on module insertion
@ 2006-07-11  8:05 Robert Tarte
  0 siblings, 0 replies; 9+ messages in thread
From: Robert Tarte @ 2006-07-11  8:05 UTC (permalink / raw)
  To: dougg, linux-scsi


> These comments have no direct bearing on the panic that
> James is reporting, but ... that sequencer version:
> "Razor_10a1" is old and should be updated.

[Tarte, Robert] I apologize for posting from this account, but my VPN
access is down.  There is patch available the updates the sequencer in
aic94xx to the latest version.  It is fairly ugly, because it is full of
sequencer hex.  I don't believe that this is related to James' problem.
Mike and Alexis have tried it out and it seems to running fine.  Doug,
Are you just developing on Luben's kernel, or would you like me to send
you the patch?

> 
> With a 48300 adapter I needed to do two things:
>   [a] update the board's BIOS firmware from build 1618
>       to 1705 (20060421) [See adaptec's site]
>   [b] update the linux driver's copy of the sequencer
>       code (in my case from Razor_10c2 to Razor_10c5b)
> 



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-07-11  8:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-10 14:22 aic94xx panic on module insertion James Bottomley
2006-07-10 16:25 ` Douglas Gilbert
2006-07-10 16:40   ` James Bottomley
2006-07-10 17:08     ` Mike Anderson
2006-07-10 21:18       ` James Bottomley
2006-07-10 17:29 ` Mike Anderson
2006-07-10 21:07   ` James Bottomley
2006-07-11  4:52     ` Mike Anderson
  -- strict thread matches above, loose matches on Subject: below --
2006-07-11  8:05 Robert Tarte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox