Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2003 13:56:44 +0400 (MSD)
From:      Igor Timkin <ivt@logger.gamma.ru>
To:        current@freebsd.org
Subject:   Re: Panic: Fatal trap 12: page fault while in kernel mode
Message-ID:  <200309230956.h8N9ui49071066@logger.gamma.ru>
In-Reply-To: <200309211527.41308.brueffer@phoenix-systems.de>

next in thread | previous in thread | raw e-mail | index | archive | help
I have panic:
Fatal trap 12: page fault while in kernel mode
cpuid = 0; lapic.id = 01000000
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc025a224
stack pointer           = 0x10:0xdc6b5b64
frame pointer           = 0x10:0xdc6b5c1c
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         = 13 (swi8: tty:sio clock)
trap number             = 12
panic: page fault
cpuid = 0; lapic.id = 01000000
boot() called on cpu#0

syncing disks, buffers remaining... (The system freeze there, enter break
on serial console)~Stopped at      siointr1+0xec:  jmp     siointr1+0x220
db> trace
siointr1(c2c69800,c21a4974,c21a5980,dc6b2c90,c02f1ef1) at siointr1+0xec
siointr(c2c69800) at siointr+0x88
Xfastintr4() at Xfastintr4+0xba
--- interrupt, eip = 0xc02e2254, esp = 0xdc6b2cdc, ebp = 0xdc6b2cdc ---
cpu_idle(c03689c0,0,0,0,74d04) at cpu_idle+0x24
idle_proc(0,dc6b2d48,6f726420,77732070,6d207061) at idle_proc+0x25
fork_exit(c01b7fa0,0,dc6b2d48) at fork_exit+0xb1
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xdc6b2d7c, ebp = 0 ---
db> panic
panic: from debugger
cpuid = 0; lapic.id = 01000000
boot() called on cpu#0
Uptime: 23h51m18s
pfs_vncache_unload(): 1 entries remaining
Automatic reboot in 15 seconds - press a key on the console to abort
--> Press a key on the console to reboot,
--> or switch off the system now.
Rebooting...
cpu_reset called on cpu#0
Console: serial port
BIOS drive C: is disk0


FreeBSD news.gamma.ru 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Mon Sep 22 13:23:42 MSD 2003     ivt@news.gamma.ru:/usr/src/sys/i386/compile/NEWS  i386

The same problem with 10 Sep and 18 Sep kernels.
Motherboard is P2B-DS, 2x800 PIII. News server with heavy disk load.

ivt@news:/home/ivt:2:505>dmesg
Copyright (c) 1992-2003 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.1-CURRENT #1: Mon Sep 22 13:23:42 MSD 2003
    ivt@news.gamma.ru:/usr/src/sys/i386/compile/NEWS
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0405000.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (801.82-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 1073729536 (1023 MB)
avail memory = 1038938112 (990 MB)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 7 entries at 0xc00f0d20
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
IOAPIC #0 intpin 19 -> irq 2
IOAPIC #0 intpin 18 -> irq 10
IOAPIC #0 intpin 17 -> irq 11
IOAPIC #0 intpin 16 -> irq 12
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0xd800-0xd80f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pci0: <serial bus, USB> at device 4.2 (no driver attached)
piix0 port 0xe800-0xe80f at device 4.3 on pci0
Timecounter "PIIX" frequency 3579545 Hz quality 0
ahc0: <Adaptec aic7890/91 Ultra2 SCSI adapter> port 0xd000-0xd0ff mem 0xe1000000-0xe1000fff irq 2 at device 6.0 on pci0
aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: <Adaptec 2940 Ultra SCSI adapter> port 0xb800-0xb8ff mem 0xe0800000-0xe0800fff irq 2 at device 9.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
ahc2: <Adaptec 2940 Ultra SCSI adapter> port 0xb400-0xb4ff mem 0xe0000000-0xe0000fff irq 10 at device 10.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
fxp0: <Intel 82558 Pro/100 Ethernet> port 0xb000-0xb01f mem 0xdf800000-0xdf8fffff,0xe3000000-0xe3000fff irq 11 at device 11.0 on pci0
fxp0: Ethernet address 00:a0:c9:a3:5a:85
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: <Intel 82558 Pro/100 Ethernet> port 0xa800-0xa81f mem 0xdf000000-0xdf0fffff,0xe2000000-0xe2000fff irq 12 at device 12.0 on pci0
fxp1: Ethernet address 00:90:27:41:3d:89
miibus1: <MII bus> on fxp1
inphy1: <i82555 10/100 media interface> on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0: <Option ROMs> at iomem 0xdc000-0xe17ff,0xd8000-0xd87ff,0xd0000-0xd6fff,0xc8000-0xcc7ff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0303> can't assign resources (port)
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2

Timecounters tick every 10.000 msec
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, logging disabled
GEOM: create disk ad0 dp=0xc2c85d70
ad0: 12416MB <QUANTUM FIREBALL CR13.0A> [25228/16/63] at ata0-master UDMA33
Waiting 2 seconds for SCSI devices to settle
GEOM: create disk da0 dp=0xc2ddd450
GEOM: create disk da1 dp=0xc2dbd850
GEOM: create disk da2 dp=0xc2dbdc50
GEOM: create disk da3 dp=0xc2dd0c50
GEOM: create disk da4 dp=0xc2de5450
GEOM: create disk da5 dp=0xc2dde450
GEOM: create disk da6 dp=0xc2dbd450
GEOM: create disk da7 dp=0xc2ddf450
da6 at ahc2 bus 0 target 11 lun 0
da6: <DEC RZ29B    (C) DEC 0014> Fixed Direct Access SCSI-2 device
da6: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da6: 4091MB (8380080 512 byte sectors: 255H 63S/T 521C)
da7 at ahc2 bus 0 target 15 lun 0
da7: <SEAGATE ST15150W 0023> Fixed Direct Access SCSI-2 device
da7: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da7: 4095MB (8388315 512 byte sectors: 255H 63S/T 522C)
da4 at ahc0 bus 0 target 2 lun 0
da4: <IBM DDYS-T36950N S80D> Fixed Direct Access SCSI-3 device
da4: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da4: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C)
da5 at ahc0 bus 0 target 3 lun 0
da5: <IBM DDYS-T36950N S96H> Fixed Direct Access SCSI-3 device
da5: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da5: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C)
da3 at ahc0 bus 0 target 0 lun 0
da3: <IBM DDRS-34560D DC1B> Fixed Direct Access SCSI-2 device
da3: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled
da3: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C)
da0 at ahc1 bus 0 target 0 lun 0
da0: <WDIGTL ENTERPRISE 1.80> Fixed Direct Access SCSI-2 device
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
da0: 4157MB (8515173 512 byte sectors: 255H 63S/T 530C)
da1 at ahc1 bus 0 target 1 lun 0
da1: <WDIGTL ENTERPRISE 1.80> Fixed Direct Access SCSI-2 device
da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
da1: 2077MB (4254819 512 byte sectors: 255H 63S/T 264C)
da2 at ahc1 bus 0 target 2 lun 0
da2: <WDIGTL ENTERPRISE 1.91> Fixed Direct Access SCSI-2 device
da2: 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
da2: 2077MB (4254819 512 byte sectors: 255H 63S/T 264C)
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/da0s1a
WARNING: / was not properly dismounted
/news/dsk/04: correcting fs_sblockloc from 65536 to 8192
fxp0: Microcode loaded, int_delay: 1000 usec  bundle_max: 0
fxp0: Microcode loaded, int_delay: 1000 usec  bundle_max: 0
fxp0: Microcode loaded, int_delay: 1000 usec  bundle_max: 0
fxp0: Microcode loaded, int_delay: 1000 usec  bundle_max: 0
fxp1: Microcode loaded, int_delay: 1000 usec  bundle_max: 0
ivt@news:/home/ivt:2:505>mptable -verbose

===============================================================================

MPTable, version 2.0.15

 looking for EBDA pointer @ 0x040e, NOT found
 searching CMOS 'top of mem' @ 0x0009fc00 (639K)
 searching BIOS @ 0x000f0000

 MP FPS found in BIOS @ physical addr: 0x000f6e90

-------------------------------------------------------------------------------

MP Floating Pointer Structure:

  location:                     BIOS
  physical address:             0x000f6e90
  signature:                    '_MP_'
  length:                       16 bytes
  version:                      1.4
  checksum:                     0xa7
  mode:                         Virtual Wire

-------------------------------------------------------------------------------

MP Config Table Header:

  physical address:             0x000f6a80
  signature:                    'PCMP'
  base table length:            260
  version:                      1.4
  checksum:                     0x09
  OEM ID:                       'OEM00000'
  Product ID:                   'PROD00000000'
  OEM table pointer:            0x00000000
  OEM table size:               0
  entry count:                  24
  local APIC address:           0xfee00000
  extended table length:        124
  extended table checksum:      178

-------------------------------------------------------------------------------

MP Config Base Table Entries:

--
Processors:     APIC ID Version State           Family  Model   Step    Flags
                 1       0x11    BSP, usable     6       8       3       0x387fbff
                 0       0x11    AP, usable      6       8       3       0x383fbff
--
Bus:            Bus ID  Type
                 0       PCI
                 1       ISA
--
I/O APICs:      APIC ID Version State           Address
                 2       0x11    usable          0xfec00000
--
I/O Ints:       Type    Polarity    Trigger     Bus ID   IRQ    APIC ID PIN#
                ExtINT   conforms    conforms        1     0          2    0
                INT      conforms    conforms        1     1          2    1
                INT      conforms    conforms        1     0          2    2
                INT      conforms    conforms        1     3          2    3
                INT      conforms    conforms        1     4          2    4
                INT      conforms    conforms        1     5          2    5
                INT      conforms    conforms        1     6          2    6
                INT      conforms    conforms        1     7          2    7
                INT      conforms    conforms        1     8          2    8
                INT      conforms    conforms        1     9          2    9
                INT      conforms    conforms        1    14          2   14
                INT     active-lo       level        0   4:D          2   19
                INT     active-lo       level        0   6:A          2   19
                INT     active-lo       level        0   9:A          2   19
                INT     active-lo       level        0  10:A          2   18
                INT     active-lo       level        0  11:A          2   17
                INT     active-lo       level        0  12:A          2   16
--
Local Ints:     Type    Polarity    Trigger     Bus ID   IRQ    APIC ID PIN#
                ExtINT  active-hi        edge        1     0        255    0
                NMI     active-hi        edge        1     0        255    1

-------------------------------------------------------------------------------

MP Config Extended Table Entries:

--
System Address Space
 bus ID: 0 address type: I/O address
 address base: 0x0
 address range: 0x10000
--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0x40000000
 address range: 0xa1f00000
--
System Address Space
 bus ID: 0 address type: prefetch address
 address base: 0xe1f00000
 address range: 0x6100000
--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0xe8000000
 address range: 0x18000000
--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0xa0000
 address range: 0x20000
--
Bus Heirarchy
 bus ID: 1 bus info: 0x01 parent bus ID: 0
--
Compatibility Bus Address
 bus ID: 0 address modifier: add
 predefined range: 0x00000000
--
Compatibility Bus Address
 bus ID: 0 address modifier: add
 predefined range: 0x00000001

===============================================================================

ivt@news:/home/ivt:2:506>strings /boot/kernel/kernel  | grep ^___ | sed -e 's/^___//'
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.392 2003/09/19 20:04:55 joerg Exp $
machine         i386
#cpu            I486_CPU
#cpu            I586_CPU
cpu             I686_CPU
ident           NEWS
#To statically compile in device wiring instead of /boot/device.hints
#hints          "GENERIC.hints"         #Default places to look for devices.
makeoptions     DEBUG=-g                #Build kernel with gdb(1) debug symbols
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         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]
options         COMPAT_FREEBSD4         #Compatible with FreeBSD4
options         SCSI_DELAY=2000         #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.
# Debugging for use in -current
options         DDB                     #Enable the kernel debugger
#options        INVARIANTS              #Enable calls of extra sanity checking
#options        INVARIANT_SUPPORT       #Extra sanity checks of internal structures, required by INVARIANTS
#options        WITNESS                 #Enable checks to detect deadlocks and cycles
options         WITNESS_SKIPSPIN        #Don't run witness on spinlocks for speed
# To make an SMP kernel, the next two are needed
options         SMP                     # Symmetric MultiProcessor Kernel
options         APIC_IO                 # Symmetric (APIC) I/O
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
#device         ahb             # EISA AHA1742 family
device          ahc             # AHA2940 and onboard AIC7xxx devices
#device         ahd             # AHA39320/29320 and onboard AIC79xx devices
#device         amd             # AMD 53C974 (Tekram DC-390(T))
#device         isp             # Qlogic family
#device         mpt             # LSI-Logic MPT-Fusion
#device         ncr             # NCR/Symbios Logic
#device         sym             # NCR/Symbios Logic (newer chipsets + those of `ncr')
#device         trm             # Tekram DC395U/UW/F DC315U adapters
#device         adv             # Advansys SCSI adapters
#device         adw             # Advansys wide SCSI adapters
#device         aha             # Adaptec 154x SCSI adapters
#device         aic             # Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
#device         bt              # Buslogic/Mylex MultiMaster SCSI adapters
#device         ncv             # NCR 53C500
#device         nsp             # Workbit Ninja SCSI-3
#device         stg             # TMC 18C30/18C50
# 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
#device         asr             # DPT SmartRAID V, VI and Adaptec SCSI RAID
#device         ciss            # Compaq Smart RAID 5*
#device         dpt             # DPT Smartcache III, IV - See NOTES for options
#device         iir             # Intel Integrated RAID
#device         ips             # IBM (Adaptec) ServeRAID
#device         mly             # Mylex AcceleRAID/eXtremeRAID
# RAID controllers
#device         aac             # Adaptec FSA RAID
#device         aacp            # SCSI passthrough for aac (requires CAM)
#device         ida             # Compaq Smart RAID
#device         mlx             # Mylex DAC960 family
#device         pst             # Promise Supertrak SX6000
#device         twe             # 3ware ATA RAID
# 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
# PCCARD (PCMCIA) support
# Pcmcia and cardbus bridge support
#device         cbb                     # cardbus (yenta) bridge
#device         pcic                    # ExCA ISA and PCI bridges
#device         pccard                  # PC Card (16-bit) bus
#device         cardbus                 # CardBus (32-bit) bus
# Serial (COM) ports
device          sio             # 8250, 16[45]50 based serial ports
# Parallel port
#device         ppc
#device         ppbus           # Parallel port bus (required)
#device         lpt             # Printer
#device         plip            # TCP/IP over parallel
#device         ppi             # Parallel port interface device
#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         de              # DEC/Intel DC21x4x (``Tulip'')
#device         em              # Intel PRO/1000 adapter Gigabit Ethernet Card
#device         txp             # 3Com 3cR990 (``Typhoon'')
#device         vx              # 3Com 3c590, 3c595 (``Vortex'')
# 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         bfe             # Broadcom BCM440x 10/100 ethernet
#device         bge             # Broadcom BCM570xx Gigabit Ethernet
#device         dc              # DEC/Intel 21143 and various workalikes
device          fxp             # Intel EtherExpress PRO/100B (82557, 82558)
#device         pcn             # AMD Am79C97x PCI 10/100 (precedence over 'lnc')
#device         re              # RealTek 8139C+/8169/8169S/8110S
#device         rl              # RealTek 8129/8139
#device         sf              # Adaptec AIC-6915 (``Starfire'')
#device         sis             # Silicon Integrated Systems SiS 900/SiS 7016
#device         sk              # SysKonnect SK-984x and SK-982x gigabit ethernet
#device         ste             # Sundance ST201 (D-Link DFE-550TX)
#device         ti              # Alteon Networks Tigon I/II gigabit ethernet
#device         tl              # Texas Instruments ThunderLAN
#device         tx              # SMC EtherPower II (83c170 ``EPIC'')
#device         vr              # VIA Rhine, Rhine II
#device         wb              # Winbond W89C840F
#device         xl              # 3Com 3c90x (``Boomerang'', ``Cyclone'')
# ISA Ethernet NICs.  pccard nics included.
#device         cs              # Crystal Semiconductor CS89x0 NIC
# 'device ed' requires 'device miibus'
#device         ed              # NE[12]000, SMC Ultra, 3c503, DS8390 cards
#device         ex              # Intel EtherExpress Pro/10 and Pro/10+
#device         ep              # Etherlink III based cards
#device         fe              # Fujitsu MB8696x based cards
#device         ie              # EtherExpress 8/16, 3C507, StarLAN 10 etc.
#device         lnc             # NE2100, NE32-VL Lance Ethernet cards
#device         sn              # SMC's 9000 series of ethernet chips
#device         xe              # Xircom pccard ethernet
# ISA devices that use the old ISA shims
#device         le
# Wireless NIC cards
#device         wlan            # 802.11 support
#device         an              # Aironet 4500/4800 802.11 wireless NICs.
#device         awi             # BayStack 660 and others
#device         wi              # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
#device         wl              # Older non 802.11 Wavelan wireless NIC.
# Pseudo devices - the number indicates how many units to allocate.
device          random          # Entropy device
device          loop            # Network loopback
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!
device          bpf             # Berkeley packet filter
# USB support
#device         uhci            # UHCI PCI->USB interface
#device         ohci            # OHCI PCI->USB interface
#device         usb             # USB Bus (required)
#device         udbp            # USB Double Bulk Pipe devices
#device         ugen            # Generic
#device         uhid            # "Human Interface Devices"
#device         ukbd            # Keyboard
#device         ulpt            # Printer
#device         umass           # Disks/Mass storage - Requires scbus and da
#device         ums             # Mouse
#device         urio            # Diamond Rio 500 MP3 player
#device         uscanner        # Scanners
# USB Ethernet, requires mii
#device         aue             # ADMtek USB ethernet
#device         axe             # ASIX Electronics USB ethernet
#device         cue             # CATC USB ethernet
#device         kue             # Kawasaki LSI USB ethernet
# FireWire support
#device         firewire        # FireWire bus code
#device         sbp             # SCSI over FireWire (Requires scbus and da)
#device         fwe             # Ethernet over FireWire (non-standard!)
device          vlan            #VLAN support
options         INCLUDE_CONFIG_FILE     # Include this file in kernel
options         IPFIREWALL              #firewall
options         IPFIREWALL_FORWARD      #enable transparent proxy support
options         NMBCLUSTERS=4096
options         DDB_UNATTENDED
options         BREAK_TO_DEBUGGER       #a BREAK on a comconsole goes to
                                        #DDB, if available.
makeoptions     MODULES_OVERRIDE="vinum"

Kernel config is GENERIC without unused devices and with SMP.



Markus Brueffer writes:
> Hi,
> 
> I was playing around with CAM and got this reproducible panic:
> 
> Fatal trap 12: page fault while in kernel mode
> fault virtual address   = 0x46
> fault code              = supervisor read, page not present
> instruction pointer     = 0x:0xc03962fe
> stack pointer           = 0x10:0xd835b9b4
> frame pointer           = 0x10:0xd835ba24
> 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         = 585 (dvdtest)
> kernel: type 12 trap, code=0
> Stoppes at generic_bcopy+0x1a: repe mocsl (%esi),%es:(%edi)
> db> tr
> generic_bcopy(c4034780,c4205000,d835ba58,c0136c42,c4034780) at 
> generic_bcopy+0x1a
> sbp_action(c4034780,c4205000,c0136953,c41f1400,c4205000) at sbp_action+0x18
> xpt_run_dev_sendq(c4034740,c41f1418,0,d835ba8c,c027895f)at 
> xpt_run_dev_dendq+0x192
> xtp_action(c4205000,0,c41f1430,c4202000,c4205000) at xpt_action+0x238
> cam_periph_runccb(c4205000,0,2,1,c40fb960) at cam_periph_runccb+0x48
> passsendcbb(c41e6500,c4205000,c4203400,c462920) at passsendccb+0xc7
> passioctl(c4213100,c2601502,c4203400,3,c401fbe0) at passioctl+0xf0
> spec_ioctl(d835bb7c,d835bc28,c02c34a1,d835bb7c,c025454d) at spec_ioctl+0x19e
> spec_vnoperate(d835bb7c,c025454d,c0460ea0,1,c0447b00) at spec_vnoperate+0x18
> vn_ioctl(c422c330,c2601502,c4203400,c42c9480,c401fbe0) at vn_ioctl+0x1a1
> ioctl(c401fbe0,d835bd10,c03f9491,3ec,3) at ioctl+0x475
> syscall(2f,2f,2f,bfbffb90,bfbff910) at syscall+0x273
> Xint0x80_syscall() at Xint0x80_syscall+0x1d
> --- syscall (54, FreeBSD ELF32, ioctl), eip = 0x281a354f, esp = 0xbfbff8dc, 
> ebp = 0xbfbff8f8 ---
> db >
> 
> Kernel is from this morning with up to date sources and ATAPICAM built in:
> 
> FreeBSD cheops.phoenix 5.1-CURRENT FreeBSD 5.1-CURRENT #7: Sun Sep 21 14:05:38 
> CEST 2003     brueffer@cheops.phoenix:/usr/obj/usr/src/sys/CHEOPS  i386
> 
> If you need further information or the source that caused the panic, please 
> let me know.
> 
> Regards,
> 
> Markus
> 
> -- 
> GPG Pub-Key    : http://www.phoenix-systems.de/mbrueffer.asc
> GPG Fingerprint: 3F9B EBE8 F290 E5CC 1447 8760 D48D 1072 78F8 A8D4
> GPG Key ID     : 0x78F8A8D4
-- End of PGP section, PGP failed!



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