Kernel trap 9 [FreeBSD 4.9]

Nguyen Tam Chinh chinhngt at
Sat Sep 25 23:38:54 PDT 2004

Hi All,
After getting up this morning, I saw these dead lines on my screen:

%Kernel trap 9 with interrupts disabled
Fatal trap 9: general protection fault while in kernel mode
Instruction pointer = 0x1d:0x2813d428
Stack pointer = 0x10:0xdb32ffe8
frame pointer = 0x10:0xbfbffc00
Code segment = base 0x0, limit 0xfffff, type 0x13
	     = DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, IOPL = 0
current process = 4863 (ginifeed)
interrupt mask = none
trap number = 9
panic = general proctection fault
Syncing disks ...

All information in in the attached files.
%gcc -v
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]
With best regards,		|		The Power to Serve
Nguyen Tam Chinh		|   
-------------- next part --------------
# $FreeBSD: src/sys/i386/conf/GENERIC,v 2003/03/25 23:35:15 jhb Exp $
machine		i386
cpu		I686_CPU
ident		GENERIC
maxusers	0

makeoptions	COPTFLAGS="-O2 -pipe -funroll-loops -ffast-math"

options		CPU_ENABLE_SSE		#P.IV/Celeron feature
options		CPU_FASTER_5X86_FPU	#up fpu
options		USER_LDT		#will be default in FreeBSD 5
options		PNPBIOS			#Plug-n-Play BIOS support
options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_DIRHASH		#Improve performance on big directories
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	UCONSOLE		#Allow users to grab the console
options 	USERCONFIG		#boot -c editor
options 	VISUAL_USERCONFIG	#visual boot -c editor
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	P1003_1B		#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		IPFIREWALL		#default: deny all
options		IPDIVERT		#divert & natd implementation
options		IPFIREWALL_DEFAULT_TO_ACCEPT	#accept all by default
options 	SC_DISABLE_REBOOT	#No ctl-alt-del on console
options		SC_PIXEL_MODE		#Raster text mode
options		SC_HISTORY_SIZE=400	#Increase console history
options		VGA_WIDTH90		#Enable 90 column
options		QUOTA			#enable quota
options		TCP_DROP_SYNFIN		#drop synfin, make nmap unusable
options		ICMP_BANDLIM		#limit bad replies
options		VFS_AIO			#for running vmware 3.2.1
options		HZ=1000			#optimize for dummy net and vmware
options		DEVICE_POLLING		#optimized for fxp
options		DUMMYNET		#put all in pipe :)
options		BRIDGE

device 		pcm			#I want to listen to music
device		isa
device		pci

# Floppy drives
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0

# SCSI emulator
device scbus
device atapicam
device cd
device pass

# ATA and ATAPI devices
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
options 	ATA_STATIC_ID		#Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1 flags 0x1 #use only for AT kb

device		psm0	at atkbdc? irq 12

device		vga0	at isa?

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? flags 0x100

device		agp		# support several AGP chipsets
device		mgadrm		# for my matrox 450
device		apm0		# apm support
#device		acpica		# i can sleep now!!!

# Floating point support - do not disable.
device		npx0	at nexus? port IO_NPX irq 13

device		miibus		# MII bus support
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
device		rl		# RealTek 8129/8139

pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	ppp	1	# Kernel PPP
pseudo-device	tun	10	# Packet tunnel.
pseudo-device	pty		# Pseudo-ttys (telnet etc)
pseudo-device	vn		# for using file as device
pseudo-device	bpf	40	# Berkeley packet filter
-------------- next part --------------
FreeBSD 4.9-RELEASE-p5 FreeBSD 4.9-RELEASE-p5 #0: Sun May  9 16:06:05 MSD 2004     root at  i386
-------------- next part --------------
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 4.9-RELEASE-p5 #0: Sun May  9 16:06:05 MSD 2004
    root at
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel(R) Celeron(R) CPU 1.80GHz (1792.73-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf13  Stepping = 3
real memory  = 536805376 (524224K bytes)
avail memory = 518766592 (506608K bytes)
Preloaded elf kernel "kernel" at 0xc0372000.
Warning: Pentium 4 CPU: PSE disabled
Pentium Pro MTRR support enabled
Using $PIR table, 6 entries at 0xc00fde70
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <SIS Generic host to PCI bridge> mem 0xe0000000-0xe3ffffff at device 0.0 on pci0
pcib2: <PCI to PCI bridge (vendor=1039 device=0001)> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
drm0: <Matrox G400/G450 (AGP)> mem 0xc7000000-0xc77fffff,0xc6000000-0xc6003fff,0xc4000000-0xc5ffffff irq 5 at device 0.0 on pci1
info: [drm] AGP at 0xe0000000 64MB
info: [drm] Initialized mga 3.1.0 20021029 on minor 0
isab0: <SiS 85c503 PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
pci0: <OHCI USB controller> at 2.2 irq 11
pci0: <OHCI USB controller> at 2.3 irq 11
atapci0: <SiS 5591 ATA100 controller> port 0x4000-0x400f at device 2.5 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcm0: <SiS 7012> port 0xe400-0xe47f,0xe000-0xe0ff irq 9 at device 2.7 on pci0
pcm0: <Avance Logic ALC200 AC97 Codec>
fxp0: <Intel 82558 Pro/100 Ethernet> port 0xe800-0xe81f mem 0xca000000-0xca0fffff,0xca100000-0xca100fff irq 11 at device 7.0 on pci0
fxp0: Ethernet address 00:a0:c9:e6:5b:af
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: <RealTek 8139 10/100BaseTX> port 0xec00-0xecff mem 0xca103000-0xca1030ff irq 11 at device 15.0 on pci0
rl0: Ethernet address: 00:10:dc:58:b0:e1
miibus1: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus1
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib1: <SiS 5591 host to AGP bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROM> at iomem 0xc0000-0xc87ff on isa0
pmtimer0 on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
unknown: <PNP0000> can't assign resources
unknown: <PNP0303> can't assign resources
unknown: <PNP0f13> can't assign resources
unknown: <PNP0c02> can't assign resources
unknown: <PNP0700> can't assign resources
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging disabled
DUMMYNET initialized (011031)
BRIDGE 020214 loaded
ad0: 38166MB <ST340016A> [77545/16/63] at ata0-master UDMA100
ad2: 117246MB <Maxtor 6Y120L0> [238216/16/63] at ata1-master UDMA100
acd0: CD-RW <HL-DT-ST GCE-8481B> at ata1-slave PIO4
Mounting root from ufs:/dev/ad0s1a
cd0 at ata1 bus 0 target 1 lun 0
cd0: <HL-DT-ST CD-RW GCE-8481B 1.00> Removable CD-ROM SCSI-0 device 
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
WARNING: / was not properly dismounted
vmmon: Module vmmon: registered with major=200 minor=0 tag=$Name: build-570 (3.2.x mvm) $
vmmon: Module vmmon: initialized

More information about the freebsd-hackers mailing list