Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Oct 1998 11:39:10 -0400 (EDT)
From:      Snob Art Genre <benedict@echonyc.com>
To:        current@FreeBSD.ORG
Subject:   can't dump: fatal trap 12
Message-ID:  <Pine.GSO.4.02.9810061114400.1766-100000@echonyc.com>

next in thread | raw e-mail | index | archive | help
Last night, with a kernel as of yesterday afternoon, I was building
world with -j24, cvsup'ing the ports collection, and examining the load
with systat, when the console read:

/usr/obj: bad dir ino 238127 at offset 2048: mangled entry
syncing disks... blah blah blah blah 30 30 30 30 30 30 30 giving up
status=0xb, scsi status=0x0

And then the system wouldn't core dump.  At DES' suggestion, I compiled
up a DDB kernel, booted the system with it, dropped to the debugger, and
called panic.  The result:

syncing disks... Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x30
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xf017af00
stack pointer           = 0x10:0xf01d1cdc
frame pointer           = 0x10:0xf01d1ce0
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         = Idle
interrupt mask          = tty bio
kernel: type 12 trap, code=0
Stopped at      _Debugger+0x35: movb    $0,_in_Debugger.98

When I called panic again, the system printed a "dumping" message, but
simply hung, and eventually printed an I/O error message and offered to
reboot.

Since the output of nm /kernel | sort is about 175K, rather than spam
the list with it, I put it at http://www.interport.net/~float/nm.out.

Here is my dmesg.boot:

Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.0-BETA #0: Tue Oct  6 00:07:56 EDT 1998
    root@narcissus.net:/usr/src/sys/compile/DSUEVEN
Timecounter "i8254"  frequency 1193182 Hz  cost 3499 ns
Timecounter "TSC"  frequency 199433076 Hz  cost 252 ns
CPU: Pentium Pro (199.43-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x617  Stepping=7
  Features=0xf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV>
real memory  = 100663296 (98304K bytes)
avail memory = 95535104 (93296K bytes)
Probing for devices on PCI bus 0:
chip0: <Intel 82440FX (Natoma) PCI and memory controller> rev 0x02 on pci0.0.0
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0
vga0: <S3 ViRGE graphics accelerator> rev 0x06 int a irq 11 on pci0.11.0
bt0: <Buslogic Multimaster SCSI host adapter> rev 0x08 int a irq 9 on pci0.15.0
bt0: BT-948 FW Rev. 5.05R Ultra Narrow SCSI Host Adapter, SCSI ID 7, 192 CCBs
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x300-0x31f irq 10 on isa
ed0: address 00:40:05:1e:df:32, type NE2000 (16 bit) 
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
pcm0 at 0x220 irq 5 drq 1 on isa
WARNING: sb: misconfigured secondary DMA channel
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
bt: unit number (1) too high
bt1 not found
npx0 on motherboard
npx0: INT 16 interface
changing root device to da0s1a
da0 at bt0 bus 0 target 0 lun 0
da0: <CONNER CFP2107S  2.14GB 5767> Fixed Direct Access SCSI2 device 
da0: 3.300MB/s transfers, Tagged Queueing Enabled
da0: 2048MB (4194304 512 byte sectors: 255H 63S/T 261C)
da1 at bt0 bus 0 target 6 lun 0
da1: <QUANTUM FIREBALL_TM3200S 300X> Fixed Direct Access SCSI2 device 
da1: 3.300MB/s transfers, Tagged Queueing Enabled
da1: 3067MB (6281856 512 byte sectors: 255H 63S/T 391C)
WARNING: / was not properly dismounted
cd0 at bt0 bus 0 target 2 lun 0
cd0: <PLEXTOR CD-ROM PX-8XCS 1.02> Removable CD-ROM SCSI2 device 
cd0: 3.300MB/s transfers
cd0: cd present [193127 x 2048 byte records]
ffs_mountfs: superblock updated
ffs_mountfs: superblock updated
ffs_mountfs: superblock updated
ffs_mountfs: superblock updated


 Ben

"You have your mind on computers, it seems." 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.02.9810061114400.1766-100000>