Yesterday I decided to upgrade my home server from it's PRE_SMPNG
state to -current, but now it panics just after detecting the
aic7810 RAID controller (though unsupported, the box booted happily
on an PRE_SMPNG kernel). The 398X adapter is one of the cards that
doesn't work with AHC_ALLOW_MEMIO (as I understand it because of the
PCI-PCI bridge) so I don't know if the recent changes here has
something to do with it.
-current:
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
1994
The Regents of the University of California. All rights
reserved.
FreeBSD 5.0-CURRENT #0: Sun Nov 12 12:39:35 CET 2000
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MAIL
Timecounter "i8254" frequency 1193182 Hz
Timecounter "TSC" frequency 166193999 Hz
CPU: Pentium/P54C (166.19-MHz 586-class CPU)
Origin = "GenuineIntel" Id = 0x52c Stepping = 12
Features=0x1bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8
real memory = 134217728 (131072K bytes)
avail memory = 126603264 (123636K bytes)
Preloaded elf kernel "kernel" at 0xc03d4000.
Preloaded elf module "vinum.ko" at 0xc03d40a8.
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge at pcibus 0 on motherboard
pci0: PCI bus on pcib0
isab0: Intel 82371SB PCI to ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
pci0: Intel PIIX3 ATA controller at 7.1
pcib1: DEC 21050 PCI-PCI bridge at device 9.0 on pci0
pci1: PCI bus on pcib1
ahc0: Adaptec 398X SCSI RAID adapter port 0xd800-0xd8ff mem
0xf900-0xf9000fff irq 9 at device 4.0 on pci1
aic7870: Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc1: Adaptec aic7810 RAID memory controller port 0xd400-0xd4ff
mem 0xfb00-0xfb1f,0xf880-0xf8800fff irq 11 at device 5.0
on pci1
RAID functionality unsupported
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x432
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc013656b
stack pointer = 0x10:0xc03e8e30
frame pointer = 0x10:0xc03e8e38
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 0 (swapper)
kernel: type 12 trap, code=0
Stopped at ahc_fini_scbdata+0xb: movzbl 0x432(%esi),%eax
db trace
ahc_fini_scbdata(c0737000) at ahc_fini_scbdata+0xb
ahc_free(c0737000,c0ec8080,c0efa380,c0efa180,c0283888) at
ahc_free+0xd
ahc_pci_attach(c0efa180,c0efa180,c0efa800,c0efa380,0) at
ahc_pci_attach+0xea
device_probe_and_attach(c0efa180) at device_probe_and_attach+0x8e
bus_generic_attach(c0efa380,c0efa380,c0efac00,c0efa800,0) at
bus_generic_attach+0x16
device_probe_and_attach(c0efa380) at device_probe_and_attach+0x8e
bus_generic_attach(c0efa800,c0efa800,c0efa800,c026a65f,) at
bus_generic_attach+0x16
pcib_attach(c0efa800,c0efa800,c0efac80,c0efac00,0) at
pcib_attach+0x9c
device_probe_and_attach(c0efa800) at device_probe_and_attach+0x8e
bus_generic_attach(c0efac00,c0efac00,c0efad80,c0efac80,0) at
bus_generic_attach+0x16
device_probe_and_attach(c0efac00) at device_probe_and_attach+0x8e
bus_generic_attach(c0efac80,c0efac80,c027a1b8,0,c0efac80) at
bus_generic_attach+0x16
nexus_pcib_attach(c0efac80,c0efac80,c0efad80,c0efad80,0) at
nexus_pcib_attach+0x1f
device_probe_and_attach(c0efac80) at device_probe_and_attach+0x8e
bus_generic_attach(c0efad80,c0ee4080,c0738e00,c03e8fc0,c016a6ca) at
bus_generic_attach+0x16
nexus_attach(c0efad80,c0efad80,c02942d0,3ed000,0) at
nexus_attach+0xe
device_probe_and_attach(c0efad80) at device_probe_and_attach+0x8e
root_bus_configure(c0738e00,c02737ac,0) at root_bus_configure+0x16
configure(0,3e6c00,3e6000,0,c011d232) at configure+0x33
mi_startup() at mi_startup+0x68
begin() at begin+0x29
db
From a working PRE_SMPNG kernel:
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #0: Thu Nov 9 02:18:13 CET 2000
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MAIL
Timecounter "i8254" frequency 1193182 Hz
Timecounter "TSC" frequency 166193968 Hz
CPU: Pentium/P54C (166.19-MHz 586-class CPU)
Origin = "GenuineIntel" Id = 0x52c Stepping = 12
Features=0x1bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8
real memory = 134217728 (131072K bytes)
avail memory = 127541248 (124552K bytes)
Preloaded elf kernel "kernel.ko" at 0xc02f.
Preloaded elf module "randomdev.ko" at 0xc02f00a0.
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge on motherboard
pci0: PCI bus on pcib0
isab0: Intel 82371SB PCI to ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
pci0: Intel PIIX3 ATA controller