Safety panics during boot time

Prasanna Meda pmeda at akamai.com
Tue Jul 8 15:02:42 PDT 2003


Hi All,

   I am facing random panics on my IBM netfinity machines
   during boot time. I attached a sample card dump here.
   If it boots, then I do not see anymore problems.

   Can you please tell me what is the problem  here?
   Is there a fix for  this problem, without upgrading
   to latest 2.4.21 driver?  I am using linux 2.4.19.

   NO_FREE_SCB macro is 0xd1 in new driver, the same
   value was used by MSGIN_PHASEMISS long back in
   linux  2.2.  Curious to see,  I changed panic to a printf(as
   it says panic  for safety),  then it panics again with invalid
   scb error.

   What are the safety panics?

Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0
SCSI device sda: 35548320 512-byte hdwr sectors (18201 MB)
Partition check:
 sda: sda1 sda2 sda3 sda4
SCSI device sdb: 35548320 512-byte hdwr sectors (18201 MB)
 sdb: sdb1 sdb2 sdb3
Journalled Block Device driver loaded
ext3: No journal on filesystem on sd(8,1)
Real Time Clock Driver v1.10e
scsi0: No free or disconnected SCBs
scsi0: Dumping Card State in Message-in phase, at SEQADDR 0x1a3
ACCUM = 0x1, SINDEX = 0xd1, DINDEX = 0x52, ARG_2 = 0x0
HCNT = 0x0 SCBPTR = 0x0
SCSISEQ = 0x5a, SBLKCTL = 0xa
 DFCNTRL = 0x0, DFSTATUS = 0x89
LASTPHASE = 0xe0, SCSISIGI = 0xe6, SXFRCTL0 = 0x88
SSTAT0 = 0x2, SSTAT1 = 0x1
SCSIPHASE = 0x8
STACK == 0x0, 0x12c, 0x15b, 0x197
SCB count = 4
Kernel NEXTQSCB = 2
Card NEXTQSCB = 2
QINFIFO entries:
Waiting Queue entries: 0:3
Disconnected Queue entries:
QOUTFIFO entries:
Sequencer Free SCB List:
Sequencer SCB Info: 0(c 0x60, s 0x7, l 0, t 0x3) 1(c 0x0, s 0xff, l 255,
t 0xff) 2(c 0xff, s 0xff, l 255, t 0xff) 3(c 0x0, s 0xff, l 255, t 0xff)
4(c 0xff, s 0xff, l 255, t 0xff) 5(c 0x0, s 0xff, l 255, t 0xff) 6(c
0x0, s 0xff, l 255, t 0xff) 7(c 0x0, s 0xff, l 255, t 0xff) 8(c 0x0, s
0xff, l 255, t 0xff) 9(c 0x0, s 0xff, l 255, t 0xff) 10(c 0x0, s 0xff, l
255, t 0xff) 11(c 0xff, s 0xff, l 255, t 0xff) 12(c 0x0, s 0xff, l 255,
t 0xff) 13(c 0x0, s 0xff, l 255, t 0xff) 14(c 0x0, s 0xff, l 255, t
0xff) 15(c 0x0, s 0xff, l 255, t 0xff) 16(c 0x0, s 0xff, l 255, t 0xff)
17(c 0xff, s 0xff, l 255, t 0xff) 18(c 0x0, s 0xff, l 255, t 0xff) 19(c
0x0, s 0xff, l 255, t 0xff) 20(c 0xff, s 0xff, l 255, t 0xff) 21(c 0x33,
s 0xff, l 255, t 0xff) 22(c 0x0, s 0xff, l 255, t 0xff) 23(c 0x0, s
0xff, l 255, t 0xff) 24(c 0x0, s 0xff, l 255, t 0xff) 25(c 0xff, s 0xff,
l 255, t 0xff) 26(c 0xff, s 0xff, l 255, t 0xff) 27(c 0xff, s 0xff, l
255, t 0xff) 28(c 0x0, s 0xff, l 255, t 0xff) 29(c 0xff, s 0xff, l 255,
t 0xff) 30(c 0x0, s 0xff, l 255, t 0xff) 31(c 0x33, s 0xff, l 255, t
0xff)
Pending list: 3(c 0x60, s 0x7, l 0), 1(c 0x64, s 0x7, l 0)
Kernel Free SCB list: 0
DevQ(0:0:0): 0 waiting
DevQ(0:1:0): 0 waiting
Was panicing for safety here in original driver.

scsi0:A:0: ahc_intr - referenced scb not valid during seqint 0x71
scb(255)
scsi0: Dumping Card State in Message-in phase, at SEQADDR 0x1a3
ACCUM = 0x0, SINDEX = 0x71, DINDEX = 0xe4, ARG_2 = 0x3f
HCNT = 0x0 SCBPTR = 0x0
SCSISEQ = 0x12, SBLKCTL = 0xa
 DFCNTRL = 0x0, DFSTATUS = 0x89
LASTPHASE = 0xe0, SCSISIGI = 0xe6, SXFRCTL0 = 0x88
SSTAT0 = 0x2, SSTAT1 = 0x11
SCSIPHASE = 0x8
STACK == 0x175, 0x160, 0x0, 0xfe
SCB count = 4
Kernel NEXTQSCB = 2
Card NEXTQSCB = 2
QINFIFO entries:
Waiting Queue entries:
Disconnected Queue entries:
QOUTFIFO entries:
Sequencer Free SCB List: 0
Sequencer SCB Info: 0(c 0x60, s 0x7, l 0, t 0xff) 1(c 0x0, s 0xff, l
255, t 0xff) 2(c 0xff, s 0xff, l 255, t 0xff) 3(c 0x0, s 0xff, l 255, t
0xff) 4(c 0xff, s 0xff, l 255, t 0xff) 5(c 0x0, s 0xff, l 255, t 0xff)
6(c 0x0, s 0xff, l 255, t 0xff) 7(c 0x0, s 0xff, l 255, t 0xff) 8(c 0x0,
s 0xff, l 255, t 0xff) 9(c 0x0, s 0xff, l 255, t 0xff) 10(c 0x0, s 0xff,
l 255, t 0xff) 11(c 0xff, s 0xff, l 255, t 0xff) 12(c 0x0, s 0xff, l
255, t 0xff) 13(c 0x0, s 0xff, l 255, t 0xff) 14(c 0x0, s 0xff, l 255, t
0xff) 15(c 0x0, s 0xff, l 255, t 0xff) 16(c 0x0, s 0xff, l 255, t 0xff)
17(c 0xff, s 0xff, l 255, t 0xff) 18(c 0x0, s 0xff, l 255, t 0xff) 19(c
0x0, s 0xff, l 255, t 0xff) 20(c 0xff, s 0xff, l 255, t 0xff) 21(c 0x33,
s 0xff, l 255, t 0xff) 22(c 0x0, s 0xff, l 255, t 0xff) 23(c 0x0, s
0xff, l 255, t 0xff) 24(c 0x0, s 0xff, l 255, t 0xff) 25(c 0xff, s 0xff,
l 255, t 0xff) 26(c 0xff, s 0xff, l 255, t 0xff) 27(c 0xff, s 0xff, l
255, t 0xff) 28(c 0x0, s 0xff, l 255, t 0xff) 29(c 0xff, s 0xff, l 255,
t 0xff) 30(c 0x0, s 0xff, l 255, t 0xff) 31(c 0x33, s 0xff, l 255, t
0xff)
Pending list: 3(c 0x60, s 0x7, l 0)
Kernel Free SCB list: 1 0
DevQ(0:0:0): 0 waiting
DevQ(0:1:0): 0 waiting
Kernel panic: for safety

Thanks,
MLPKR.



More information about the aic7xxx mailing list