Bug 24624

Summary: Adaptec 2740 works fine in FreeBSD 4.0-RELEASE, panics during probe with 4.2-STABLE
Product: Base System Reporter: Sean Winn <sean>
Component: kernAssignee: Justin T. Gibbs <gibbs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-STABLE   
Hardware: Any   
OS: Any   

Description Sean Winn 2001-01-25 03:00:01 UTC
FreeBSD 4.2-STABLE #0: Thu Jan 25 10:19:43 EST 2001
    root@:/usr/src/sys/compile/DEBUG
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P54C (97.97-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x526  Stepping = 6
  Features=0x3bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC>
real memory  = 41943040 (40960K bytes)
avail memory = 36536320 (35680K bytes)
Preloaded elf kernel "kernel" at 0xc044a000.
Intel Pentium detected, installing workaround for F00F bug
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82375EB PCI-EISA bridge> at device 2.0 on pci0
eisa0: <EISA bus> on isab0
mainboard0: <INT0000 (System Board)> on eisa0 slot 0
ahc0: <Adaptec 274X SCSI adapter> at 0x2c00-0x2cff, irq 10 (level)
ahc0: on eisa0 slot 2


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x40
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc01b3bc2
stack pointer           = 0x10:0xc046bdc0
frame pointer           = 0x10:0xc046bdc0
code segment            = base rx0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 0 (swapper)
interrupt mask          = net tty bio cam
kernel: type 12 trap, code=0
Stopped at      device_get_softc+0x6:   movl    0x40(%eax),%eax
db> t
device_get_softc(0,c0c29680,c0c30380,c046be04,c0154c60) at device_get_softc+0x6
ahc_alloc(0,c0c29680,c0c29680,c0c29690,c0c30380) at ahc_alloc+0xe
aic7770_attach(c0c30380,c046be2c,c01b3e77,c0c30380,c0c30380) at aic7770_attach+0x88
DEVICE_ATTACH(c0c30380,c0c30380,c0c30800,0,0) at DEVICE_ATTACH+0x2e
device_probe_and_attach(c0c30380) at device_probe_and_attach+0x63
bus_generic_attach(c0c30500,c046be64,c01b3e77,c0c30500,c0c30500) at bus_generic_attach+0x16
DEVICE_ATTACH(c0c30500,c0c30500,c0c30a00,0,1) at DEVICE_ATTACH+0x2e
device_probe_and_attach(c0c30500) at device_probe_and_attach+0x63
bus_generic_attach(c0c30800,c0c30800,0,c0c30800,c0c30800) at bus_generic_attach+0x16
isab_attach(c0c30800,c046beb8,c01b3e77,c0c30800,c0c30800) at isab_attach+0x1a
DEVICE_ATTACH(c0c30800,c0c30800,c0c30a80,0,0) at DEVICE_ATTACH+0x2e
device_probe_and_attach(c0c30800) at device_probe_and_attach+0x63
bus_generic_attach(c0c30a00,c046bef0,c01b3e77,c0c30a00,c0c30a00) at bus_generic_attach+0x16
DEVICE_ATTACH(c0c30a00,c0c30a00,c0c30c00,0,1) at DEVICE_ATTACH+0x2e
device_probe_and_attach(c0c30a00) at device_probe_and_attach+0x63
bus_generic_attach(c0c30a80,c046bf28,c01b3e77,c0c30a80,c0c30a80) at bus_generic_attach+0x16
DEVICE_ATTACH(c0c30a80,c0c30a80,c091f800,0,1) at DEVICE_ATTACH+0x2e
device_probe_and_attach(c0c30a80) at device_probe_and_attach+0x63
bus_generic_attach(c0c30c00,c0c30c00,c046bf54,c012782e,c0c30c00) at bus_generic_attach+0x16
nexus_attach(c0c30c00,c046bf70,c01b3e77,c0c30c00,c0c30c00) at nexus_attach+0xd
DEVICE_ATTACH(c0c30c00,c0c30c00,c03a13f0,470000,1) at DEVICE_ATTACH+0x2e
device_probe_and_attach(c0c30c00) at device_probe_and_attach+0x63
root_bus_configure(c091f800,c037386c,0) at root_bus_configure+0x16
configure(0,469c00,470000,0,c0127214) at configure+0x33
mi_startup(c046bfb4,b0246,ffe,470000,c01b883d) at mi_startup+0x70
begin() at begin+0x4b
Comment 1 Sean Winn 2001-01-28 02:54:02 UTC
Problem resolved by latest updates to the ahc driver.
Comment 2 Kenneth D. Merry freebsd_committer freebsd_triage 2001-01-28 03:41:34 UTC
State Changed
From-To: open->closed

Submitter says the problem has been fixed. 


Comment 3 Kenneth D. Merry freebsd_committer freebsd_triage 2001-01-28 03:41:34 UTC
Responsible Changed
From-To: freebsd-bugs->gibbs

Justin's driver.