Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  1 Oct 2000 17:54:24 -0700 (PDT)
From:      crainm@techie.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/21688: Kernel crash with Adaptec AAA-133 and ahc driver but not with aic driver  trap 12 
Message-ID:  <20001002005424.A82B337B66E@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         21688
>Category:       kern
>Synopsis:       Kernel crash with Adaptec AAA-133 and ahc driver but not with aic driver  trap 12
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 01 18:00:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Erik B. Ordway
>Release:        4.1.1-Stable
>Organization:
The Evergreen State College
>Environment:
FreeBSD files.my.domain 4.1.1-STABLE FreeBSD 4.1.1-STABLE #2: Mon Oct  2 00:31:14 PDT 2000     root@files.my.domain:/usr/src/sys/compile/files.conf  i386

clock not correct off by 8 hours

>Description:
This is similar to [2000/08/08] kern/20484
but involves 4.1.1 and crashing at but not at run time.

source was cvsup'ed 21:00:00 pacific approx. on Sept./31/2000.

When booting with the Adaptec AAA-133 installed the kernel will crash when the first of three SCSI buses is probed.  Each bus uses a AIC7880P to drive it. If the AIC driver is enabled in the kernel and not the AHC the kernel will not crash but the device shows up as an unknown PCI device.

Oct  2 00:52:51 files /kernel.old: pcib2: <DEC 21152 PCI-PCI bridge> at device$
Oct  2 00:52:51 files /kernel.old: pci2: <PCI bus> on pcib2
Oct  2 00:52:51 files /kernel.old: pci2: <unknown card> (vendor=0x9004, dev=0x$
Oct  2 00:52:51 files /kernel.old: pci2: <unknown card> (vendor=0x9004, dev=0x$
Oct  2 00:52:51 files /kernel.old: pci2: <unknown card> (vendor=0x9004, dev=0x$
Oct  2 00:52:51 files /kernel.old: pci2: <unknown card> (vendor=0x9004, dev=0x$
Oct  2 00:52:51 files /kernel.old: atapci0: <AcerLabs Aladdin ATA33 controller$

If neither the AHC or AIC driver is enabled the kernel will crash at the same time.


This card was working with 4.1-Stable but when I upgraded to 4.1.1-stable this card stopped working in the present machine and in a test 4.1.1 machine but worked fine in a stock 4.0 install on the test machine.  I have noticed that gibbs@freebsd.com has been working on the AIC and AHC code in the last nine days and is in the write time frame for this to be related  

The crash in either case looks like this copied from the machine screen:

ahc0: <Adaptec aic7810 RAID memory controller> port 0xc800-0xc8ff mem 0xe6000000-0xe61ffffff,0xde000000-dxe000fff irq 10 ate device 0.0 n pci2 RAID Functionalality unsupported

Fatal trap 12: pagefualt while in kernel mode
fault virual address	=0x32
fault code		=superviso read, page not found
instruction pointer	=0x8_0xc013805b
stack pointer		=0x10_:0xc039fde4
frame pointer		=0x10_:0xc039fdec
code segment		=base 0x0, limit 0xfffff, type 0x1b
			=DPL 0, pres 1, def32 1, gran 1
processor eflags	=interrupt enable, resume, IOPL = 0
current process		=0 (swapper)
interrupt mask		=net tty bio cam
trap number		=12
panic: page fault
Uptime: 0s


Full dmessage
>How-To-Repeat:
Install a AAA-133 on a PCI machine and boot with the AHC drive or without it and no AIC driver.
>Fix:
remove card or boot with the aic driver and no ahc driver.  In either case access to the drive is lost

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001002005424.A82B337B66E>