Hi,
I have problem with 5.4-RELEASE on Dell Power Edge 1600sc (previously
5.2.1 was running on it for 1.5 year - no problems). At first
I thought it might be problem with BIOS, but I have upgraded it
to A12 (latest one on DELL's site). There is problem, whenever
I enable APIC I get this lock (no dump :( on swap partiton), so
I have writen it down:
Fatal trap 12: page in fault while in kernel mode
CPUID = 2; APIC ID = 02
Fault virtual address = 0x24
Fault code = supervisor read page not present
Instruction pointer = 0x8:0xc050c3df
Stack pointer = 0x10: 0xE94AAc5C
Code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, PRES 1, DEF 32,1 GRAN 1
Processor eflags = resume, iopl = 0
current process = 64 (swi 5: clock sio)
trap number = 12
panic: page fault
cpuid = 2
Without APIC everything seems to work fine...
Copyright (c) 1992-2005 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.4-RELEASE #0: Tue May 10 22:11:18 CEST 2005
root@office.sbb.co.yu:/usr/src/sys/i386/compile/OFFICE
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.05-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf29 Stepping = 9
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Hyperthreading: 2 logical CPUs
real memory = 4227727360 (4031 MB)
avail memory = 4143869952 (3951 MB)
MPTable: <DELL PE 0135 >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 6
pnpbios: Bad PnP BIOS data checksum
ioapic0: Changing APIC ID to 8
ioapic0: Assuming intbase of 0
ioapic1: Changing APIC ID to 9
ioapic1: Assuming intbase of 16
ioapic2: Changing APIC ID to 10
ioapic2: Assuming intbase of 32
ioapic0 <Version 1.1> irqs 0-15 on motherboard
ioapic1 <Version 1.1> irqs 16-31 on motherboard
ioapic2 <Version 1.1> irqs 32-47 on motherboard
npx0: <math processor> on motherboard
npx0: INT 16 interface
cpu0 on motherboard
cpu1 on motherboard
pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pcib0: unable to route slot 15 INTA
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> port
0xecc0-0xecff mem 0xfe100000-0xfe11ffff irq 16 at device 2.0 on pci0
em0: Ethernet address: 00:c0:9f:2a:31:04
em0: Speed:N/A Duplex:N/A
pci0: <display, VGA> at device 14.0 (no driver attached)
atapci0: <ServerWorks CSB5 UDMA100 controller> port
0x8b0-0x8bf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <serial bus, USB> at device 15.2 (no driver attached)
isab0: <PCI-ISA bridge> at device 15.3 on pci0
isa0: <ISA bus> on isab0
pcib1: <MPTable Host-PCI bridge> pcibus 1 on motherboard
pci1: <PCI bus> on pcib1
amr0: <LSILogic MegaRAID 1.51> mem 0xfcd00000-0xfcd0ffff irq 17 at device
2.0 on pci1
amr0: <LSILogic PERC 4/SC> Firmware 3.28, BIOS 1.05, 64MB RAM
pci1: <mass storage, SCSI> at device 4.0 (no driver attached)
pcib3: <MPTable Host-PCI bridge> pcibus 3 on motherboard
pci3: <PCI bus> on pcib3
fxp0: <Intel 82550 Pro/100 Ethernet> port 0xccc0-0xccff mem
0xfcbc0000-0xfcbdffff,0xfcbff000-0xfcbfffff irq 21 at device 4.0 on pci3
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:02:b3:28:50:2b
fxp1: <Intel 82550 Pro/100 Ethernet> port 0xcc80-0xccbf mem
0xfcba0000-0xfcbbffff,0xfcbfe000-0xfcbfefff irq 22 at device 5.0 on pci3
miibus1: <MII bus> on fxp1
inphy1: <i82555 10/100 media interface> on miibus1
inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: Ethernet address: 00:02:b3:28:50:2c
pcib2: <MPTable Host-PCI bridge> pcibus 2 on motherboard
pci2: <PCI bus> on pcib2
pcib4: <MPTable PCI-PCI bridge> at device 2.0 on pci2
amr0: <LSILogic MegaRAID 1.51> mem 0xfcd00000-0xfcd0ffff irq 17 at device
2.0 on pci1
amr0: <LSILogic PERC 4/SC> Firmware 3.28, BIOS 1.05, 64MB RAM
pci1: <mass storage, SCSI> at device 4.0 (no driver attached)
pcib3: <MPTable Host-PCI bridge> pcibus 3 on motherboard
pci3: <PCI bus> on pcib3
fxp0: <Intel 82550 Pro/100 Ethernet> port 0xccc0-0xccff mem
0xfcbc0000-0xfcbdffff,0xfcbff000-0xfcbfffff irq 21 at device 4.0 on pci3
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:02:b3:28:50:2b
fxp1: <Intel 82550 Pro/100 Ethernet> port 0xcc80-0xccbf mem
0xfcba0000-0xfcbbffff,0xfcbfe000-0xfcbfefff irq 22 at device 5.0 on pci3
miibus1: <MII bus> on fxp1
inphy1: <i82555 10/100 media interface> on miibus1
inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: Ethernet address: 00:02:b3:28:50:2c
pcib2: <MPTable Host-PCI bridge> pcibus 2 on motherboard
pci2: <PCI bus> on pcib2
pcib4: <MPTable PCI-PCI bridge> at device 2.0 on pci2
pcib5: <MPTable PCI-PCI bridge> at device 4.0 on pci2
pci4: <PCI bus> on pcib5
fxp2: <Intel 82550 Pro/100 Ethernet> port 0xbcc0-0xbcff mem
0xfc9c0000-0xfc9dffff,0xfc9ff000-0xfc9fffff irq 24 at device 4.0 on pci4
miibus2: <MII bus> on fxp2
inphy2: <i82555 10/100 media interface> on miibus2
inphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp2: Ethernet address: 00:02:b3:28:50:29
fxp3: <Intel 82550 Pro/100 Ethernet> port 0xbc80-0xbcbf mem
0xfc9a0000-0xfc9bffff,0xfc9fe000-0xfc9fefff irq 23 at device 5.0 on pci4
miibus3: <MII bus> on fxp3
inphy3: <i82555 10/100 media interface> on miibus3
inphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp3: Ethernet address: 00:02:b3:28:50:2a
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem
0xec000-0xeffff,0xe3000-0xea7ff,0xc8000-0xc87ff,0xc0000-0xc7fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
Timecounters tick every 10.000 msec
IP Filter: v3.4.35 initialized. Default = pass all, Logging = disabled
acd0: CDROM <SAMSUNG CD-ROM SC-148C/B105> at ata1-master PIO4
amrd0: <LSILogic MegaRAID logical drive> on amr0
amrd0: 69356MB (142041088 sectors) RAID 5 (optimal)
ses0 at amr0 bus 0 target 6 lun 0
ses0: <SDR GEM318P 1> Fixed Processor SCSI-2 device
ses0: SAF-TE Compliant Device
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/amrd0s1a
WARNING: / was not properly dismounted
/: mount pending error: blocks 240 files 4
WARNING: /home was not properly dismounted
/home: mount pending error: blocks 2148 files 1
WARNING: /tmp was not properly dismounted
IP Filter: already initialized
em0: Link is up 100 Mbps Full Duplex
With APIC this is dmesg
Copyright (c) 1992-2005 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.4-RELEASE #0: Tue May 10 22:11:18 CEST 2005
root@office.sbb.co.yu:/usr/src/sys/i386/compile/OFFICE
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.04-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf29 Stepping = 9
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Hyperthreading: 2 logical CPUs
real memory = 4227727360 (4031 MB)
avail memory = 4143869952 (3951 MB)
ACPI APIC Table: <DELL PE1600SC>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
cpu2 (AP): APIC ID: 6
cpu3 (AP): APIC ID: 7
pnpbios: Bad PnP BIOS data checksum
ioapic0: Changing APIC ID to 8
ioapic1: Changing APIC ID to 9
ioapic2: Changing APIC ID to 10
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-15 on motherboard
ioapic1 <Version 1.1> irqs 16-31 on motherboard
ioapic2 <Version 1.1> irqs 32-47 on motherboard
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <DELL PE1600SC> on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 800, 1a (4) failed
acpi_timer0: couldn't allocate resource (port 0x808)
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> on acpi0
pci0: <ACPI PCI bus> on pcib0
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> port
0xecc0-0xecff mem 0xfe100000-0xfe11ffff irq 16 at device 2.0 on pci0
em0: Ethernet address: 00:c0:9f:2a:31:04
em0: Speed:N/A Duplex:N/A
pci0: <display, VGA> at device 14.0 (no driver attached)
atapci0: <ServerWorks CSB5 UDMA100 controller> port
0x8b0-0x8bf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <serial bus, USB> at device 15.2 (no driver attached)
isab0: <PCI-ISA bridge> at device 15.3 on pci0
isa0: <ISA bus> on isab0
pcib1: <ACPI Host-PCI bridge> on acpi0
pci1: <ACPI PCI bus> on pcib1
amr0: <LSILogic MegaRAID 1.51> mem 0xfcd00000-0xfcd0ffff irq 17 at device
2.0 on pci1
amr0: <LSILogic PERC 4/SC> Firmware 3.28, BIOS 1.05, 64MB RAM
pci1: <mass storage, SCSI> at device 4.0 (no driver attached)
pcib2: <ACPI Host-PCI bridge> on acpi0
pci2: <ACPI PCI bus> on pcib2
pcib3: <PCI-PCI bridge> at device 2.0 on pci2
pci3: <PCI bus> on pcib3
fxp0: <Intel 82550 Pro/100 Ethernet> port 0xccc0-0xccff mem
0xfcbc0000-0xfcbdffff,0xfcbff000-0xfcbfffff irq 21 at device 4.0 on pci3
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:02:b3:28:50:2b
fxp1: <Intel 82550 Pro/100 Ethernet> port 0xcc80-0xccbf mem
0xfcba0000-0xfcbbffff,0xfcbfe000-0xfcbfefff irq 22 at device 5.0 on pci3
miibus1: <MII bus> on fxp1
inphy1: <i82555 10/100 media interface> on miibus1
inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: Ethernet address: 00:02:b3:28:50:2c
pcib4: <PCI-PCI bridge> at device 4.0 on pci2
pci4: <PCI bus> on pcib4
fxp2: <Intel 82550 Pro/100 Ethernet> port 0xbcc0-0xbcff mem
0xfc9c0000-0xfc9dffff,0xfc9ff000-0xfc9fffff irq 24 at device 4.0 on pci4
miibus2: <MII bus> on fxp2
inphy2: <i82555 10/100 media interface> on miibus2
inphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp2: Ethernet address: 00:02:b3:28:50:29
fxp3: <Intel 82550 Pro/100 Ethernet> port 0xbc80-0xbcbf mem
0xfc9a0000-0xfc9bffff,0xfc9fe000-0xfc9fefff irq 23 at device 5.0 on pci4
miibus3: <MII bus> on fxp3
inphy3: <i82555 10/100 media interface> on miibus3
inphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp3: Ethernet address: 00:02:b3:28:50:2a
fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on
acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A
acpi_timer0: couldn't allocate resource (port 0x808)
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem
0xec000-0xeffff,0xe3000-0xea7ff,0xc8000-0xc87ff,0xc0000-0xc7fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
Timecounters tick every 10.000 msec
IP Filter: v3.4.35 initialized. Default = pass all, Logging = disabled
acd0: CDROM <SAMSUNG CD-ROM SC-148C/B105> at ata1-master PIO4
amrd0: <LSILogic MegaRAID logical drive> on amr0
amrd0: 69356MB (142041088 sectors) RAID 5 (optimal)
ses0 at amr0 bus 0 target 6 lun 0
ses0: <SDR GEM318P 1> Fixed Processor SCSI-2 device
ses0: SAF-TE Compliant Device
SMP: AP CPU #2 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
Mounting root from ufs:/dev/amrd0s1a
IP Filter: already initialized
em0: Link is up 100 Mbps Full Duplex
And here is my config:
machine i386
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
ident GENERIC
# To statically compile in device wiring instead of /boot/device.hints
#hints "GENERIC.hints" # Default places to look for
devices.
options SCHED_4BSD # 4BSD scheduler
options INET # InterNETworking
options INET6 # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
options NFSCLIENT # Network Filesystem Client
options NFSSERVER # Network Filesystem Server
options NFS_ROOT # NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660 # ISO 9660 Filesystem
options PROCFS # Process filesystem (requires PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
options GEOM_GPT # GUID Partition Tables.
options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options SCSI_DELAY=15000 # Delay (in ms) before probing SCSI
options KTRACE # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
extensions
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~215k to driver.
options ADAPTIVE_GIANT # Giant mutex is adaptive.
device apic # I/O APIC
options SMP
# Bus support. Do not remove isa, even if you have no isa slots
device isa
device eisa
device pci
# Floppy drives
device fdc
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
device ataraid # ATA RAID drives
device atapicd # ATAPI CDROM drives
device atapifd # ATAPI floppy drives
device atapist # ATAPI tape drives
options ATA_STATIC_ID # Static device numbering
# SCSI Controllers
# SCSI peripherals
device scbus # SCSI bus (required for SCSI)
device ch # SCSI media changers
device da # Direct Access (disks)
device sa # Sequential Access (tape etc)
device cd # CD
device pass # Passthrough device (direct SCSI access)
device ses # SCSI Environmental Services (and SAF-TE)
# RAID controllers interfaced to the SCSI subsystem
device amr # AMI MegaRAID
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device psm # PS/2 mouse
device vga # VGA video card driver
device splash # Splash screen and screen saver support
# syscons is the default console driver, resembling an SCO console
device sc
# Enable this for the pcvt (VT220 compatible) console driver
#device vt
#options XSERVER # support for X server on a vt console
#options FAT_CURSOR # start with block cursor
device agp # support several AGP chipsets
# Floating point support - do not disable.
device npx
# Power management support (see NOTES for more options)
#device apm
# Add suspend/resume support for the i8254.
device pmtimer
# Serial (COM) ports
device sio # 8250, 16[45]50 based serial ports
#device vpo # Requires scbus and da
# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to the sio and/or ppc drivers):
#device puc
# PCI Ethernet NICs.
device em # Intel PRO/1000 adapter Gigabit Ethernet Card
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these
NICs!
device miibus # MII bus support
device fxp
# Pseudo devices.
device loop # Network loopback
device mem # Memory and kernel memory devices
device io # I/O device
device random # Entropy device
device ether # Ethernet support
device sl # Kernel SLIP
device ppp # Kernel PPP
device tun # Packet tunnel.
device pty # Pseudo-ttys (telnet etc)
device md # Memory "disks"
device gif # IPv6 and IPv4 tunneling
device faith # IPv6-to-IPv4 relaying (translation)
# The Bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device bpf # Berkeley packet filter
options IPFILTER
If you need more info I would be glad to help.
Regards,
Goran Gajic