Date: Fri, 2 Feb 2001 23:50:14 +0100 From: Oliver Schonefeld <oschonef@TechFak.Uni-Bielefeld.DE> To: freebsd-stable@freebsd.org Subject: ahc eisa: disk probe fails -> kernel panic Message-ID: <20010202235014.A10100@mime.TechFak.Uni-Bielefeld.DE>
next in thread | raw e-mail | index | archive | help
Hello! With recent commits to the ahc driver the kernel survises the probing of the adapter but when probing the drives I get some wierd SCSI debug stuff and a kernel panic. Hardware is a Compaq Prosignia 486, Adaptec 1740 (one SCSI streamer) and an Adaptec 2742 (Twin Channel). Channel A: 4x IBM DNES 9,1 GB + 2x IBM DCAS 4.3 GB Channel B: 1x IBM DCAS 4.3 GB, 1x SCSI cdrom Other Hardware. 2x 3Com 3c597 eisa NICs Worked in the same hardware setup from 4.0-CURRENT to 4.2-RELEASE. Current -STABLE is a no go, booting -RELEASE kernel works without any problems. With -RELEASE, I even built world on that machine just 15 hours ago, so I do not think this is a hardware or scsi terminaton/cabling issue. World and Kernel have been built from sources as of 02.02.2001 23:00 CET from dmesg: ahb0: <Adaptec 174x SCSI host adapter> at 0x3c00-0x3ff, irq 14 (edge) ahb0: on eisa0 slot 3 ahb0: AHA1740A Single Ended SCSI Adapter, FW Rev. E , ID=7, 64 ECBs ahc0: <Adaptec 274X SCSI adapter> at 0x7c00-0x7ff, irq 15 (edge) ahc0: on eisa0 slot 7 aic7770: Twin Channel, A SCSI Id=7, B SCSI Id=7, primary B, 4/255 SCBs [..] ahb: SCSI Bus Reset Delivered ahc:0:B:0 no active SC for reconnecting target - issuing BUS DEVICE RESET SAVED_SCSID == 0x87, SAVED_LUN = 0x0, ARG_1 == 0xff ACCUM = 0x80 SEQ_FLAGS == 0x0, SCBPTR == 0x2, BTT == 0x8, SINDEX == 0x31 SCSIID == 0x17, SCB_SCSIID == 0x47, SCB_LUN = 0x0, SCB_TAG == 0x0, SCB_CONTROL == 0x44 SCSIBUSL == 0x13, SCSISIGI == 0x46 SXSFRCTL0 == 0x8 SEQCTL == 0x10 ahc: Dumping Card State at SEQADDR 0x19a SCB Count = 20 Kernel NEXTQSCB = 1 Card NEXTQSCB = 1 QINFIFO entries: Waiting Queue entries: Disconnected Queue entries: 2:0 3:19 1:2 0:15 QOUTFIFO enries Sequencer Free SCB List: Pending list: 0 17 19 18 4 2 15 8 Kernel Free SCB list: 16 3 9 5 6 7 14 13 12 11 10 Untagged Q(0): 8 4 Untagged Q(1): 19 17 Untagged Q(2): 15 Untagged Q(3): 2 Untagged Q(4): 0 Untagged Q(5): 18 ahc0:B:0: Target did not send an IDENTITIY message. LASTPHASE = 0x40, SAVED_SCSIID == 0x87 Inactive SCB in untaggedQ ahc0: Issued Channel B Bus Reset. 2 SCBs aborted ahc0: brkadrint, Illegal Host Access at seqaddr = 0x1 ahc0: Dumping Card State at SEQADDR 0x1 SCB count = 20 Kernel NEXTQSCB = 4 Card NEXTQSCB = 1 QINFIFO entries: 1 Waiting Queue entries: Disconnected Queue entries: 2:0 3:19 1:2 0:15 QOUTFIFO entries: Sequencer Free SCB List: Pending list: 0 19 18 1 2 15 Kernel Free SCB list: 8 17 16 3 9 5 6 7 14 13 12 11 10 Untagged Q(0): 1 Untagged Q(1): 19 Untagged Q(2): 15 Untagged Q(3): 2 Untagged Q(4): 0 Untagged Q(5): 18 (probe0:ahc:1:1:3): SCB 0x4 - timed out while idle, SEQADDR == 0x1f STACK == 0x0, 0x0, 0x0, 0x18 SXFRCTL0 == 0x0 ahc: Dumping Card State at SEQADDR 0x1f SCB Count = 20 Kernel NEXTQSCB = 17 Card NEXTQSCB = 0 QINFIFO entries:9 8 7 6 5 4 9 3 2 8 19 18 17 1 16 15 0 8 19 18 4 1 2 0 18 19 1 2 0 8 4 19 17 15 2 0 8 18 19 1 1 17 19 1 0 4 15 2 0 1 8 Wating Queue entries: 0:255 1:255 3:255 2:255 QOUTFIFO entries: Sequencer FreeSCB List: 0 1 3 2 Pending list: 16 3 9 5 6 7 14 13 12 11 10 Untagged Q(0): 15 18 Untagged Q(1): 4 19 Untagged Q(2): 1 Untagged Q(3): 0 Untagged Q(4): 8 Untagged Q(5): 2 sg[0] - Addr 0x5653e84 : Length 36 Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0141338 stack pointer = 0x10:0xc027e034 frame pointer = 0x10:0xc027e044 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = Idle interrupt mask = cam kernel: type 12 trap, code=0 Stopped at ahc_match_scb+0x18: movl 0(%esi),%eax db> trace ahc_match_scb(c0dd8000,0,1,42,3,4,1) at ahc_match_scb+0x18 ahc_searsch_qinfifo(c0dd8000,1,42,3,4,1,0,1) at ahc_search_qinfifo+0xcd ahc_timeout(c0ddf3dc,400000,0,0ffffffff) at ahc_timeout+0x504 softclock(0,10,10,10,ffffffff) at softclock+0xd1 doreti_swi() at doreti_swi+0xf db> Between the Card state dumps and the kernel panic a few seconds have gone by where nothing sees to happen. Sorry, no crash dump available. Anyone any ideas? Regards, Oliver -- -------------------------------------------------------- Hi! I'm a .signature virus! Copy me in your ~/.signature to help me spread! <- Save this lifeform ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010202235014.A10100>