Date: Thu, 29 Apr 1999 18:57:04 +0200 From: Jeremy Lea <reg@shale.csir.co.za> To: current@freebsd.org Subject: Panic: Fatal trap 12, -CURRENT as of 8 days ago. Message-ID: <19990429185704.A410@shale.csir.co.za>
next in thread | raw e-mail | index | archive | help
Hi all, I've been having a few problems recently, since the move to EGCS, and I finally caught my box in the act, with a core dump... My system is running -CURRENT (version detail below), with no changes other the Richard Seaman's LinuxThreads patches. It's a UP P5-233, which is an overclocked 166. dmesg, mount and kernel config attached. Yes I know, no overclocking, but the system has been stable for 19 months. I'll clock it back and try again if people suspect hardware, but first read The Whole Story: 1. The first kernel which I built with ECGS, no frills, on 5 Apr 02:30 (GMT+2) after the EGCS import (once the world seemed to be building again), I did the usual make buildworld, make installworld, config, make depend, make and then make install. The system paniced within a few seconds of the new kernel being installed. Major adrenalin rush since the new kernel was not there because of softupdates... 2. Apr 5 23:00, rebooted on new world and kernel with "-O -pipe -mpentium". Full ports rebuild with these flags. 3. Spontaneous reboot on 9 Apr 02:38, with some 'calru: negative time' messages (from Apache) in /var/log/messages and some 'clientReadRequest: FD ?? Invalid Request' messages from squid, neither of which I have seen before, over the previous 24 hours. System idle. 4. Apr 12 00:55, rebooted on new world and kernel with "-O -pipe -march=pentium", following tips from freebsd-current. 5. Apr 19 13:45, spontaneous reboot, system idle, following one "clientReadRequest" error plus the following (note the block number?): Apr 19 02:12:22 shale /kernel: wd0s1f: soft error reading fsbn 7414628 of 7414626-7414627 (wd0s1 bn 8375972; cn 14772 tn 3 sn 59) (status 58<rdy,seekdone,drq> error 2<tr000>) 6. Apr 21 20:00, rebooted on new world and kernel following new_bus. 7. Apr 29 17:30, paniced to debugger, following a large number of "clientReadRequest" errors from squid. Finally got a core dump. Fatal trap 12: page fault while in kernel mode fault virtual address = 0xb0 fault code = supervisor read, page not present instruction pointer = 0x8:0xc01462b7 stack pointer = 0x10:0xc5021d3c frame pointer = 0x10:0xc5021d50 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 = net bio cam #0 0xc01441b5 in boot () #1 0xc01443f9 in panic () #2 0xc01233a5 in db_panic () #3 0xc0123343 in db_command () #4 0xc012340a in db_command_loop () #5 0xc01255e7 in db_trap () #6 0xc01be17c in kdb_trap () #7 0xc01c9db0 in trap_fatal () #8 0xc01c9a79 in trap_pfault () #9 0xc01c96b3 in trap () #10 0xc01462b7 in tsleep () #11 0xc01a2d96 in swap_pager_getpages () #12 0xc01a4012 in vm_fault () #13 0xc01c9a26 in trap_pfault () #14 0xc01c96b3 in trap () #15 0xc01c8c85 in swtch_com () #16 0xc013e4f4 in owait () #17 0xc013e035 in exit () #18 0xc01ca02a in syscall () #19 0xc01beaac in Xint0x80_syscall () Written down from kernel debugger: tsleep+0x1b. I have the core and kernel if anyone is interested. I can't put them up for FTP, but maybe John Hay can let me put them on internat.freebsd.org? Options: 1. Processor finally suffering from effects of overclocking. 2. UDMA IDE drive dying (squid cache is on the IDE). 3. Something doesn't like EGCS. 4. Something doesn't like -mpentium/-march=pentium. 5. I'm a moron. Like I said, I'll clock the machine back if needed, but these problems have only been around since the switch to EGCS, so I don't suspect that overclocking is the problem. I do have my suspicions about the IDE drive. (5) is always a option... :-) Regards, -Jeremy -- | "Come home my prodigal son, come home and lets be one, --+-- don't want to see you cry, don't make me tell you why, | you've lived in a house with me, my blood has set you free, | in the world you'll surely die, nothing else will satisfy." -MIC dmesg: Copyright (c) 1992-1999 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #0: Wed Apr 21 19:54:36 SAT 1999 root@shale.csir.co.za:/usr/src/sys/compile/SHALE Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 233864934 Hz CPU: Pentium/P55C (233.86-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x543 Stepping=3 Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX> real memory = 67108864 (65536K bytes) avail memory = 62603264 (61136K bytes) Preloaded elf kernel "kernel" at 0xc0284000. Probing for PnP devices: CSN 1 Vendor ID: CTL0070 [0x70008c0e] Serial 0xffffffff Comp ID: PNPb02f [0x2fb0d041] pcm1 (SB16pnp <SB16 PnP> sn 0xffffffff) at 0x220-0x22f irq 5 drq 1 flags 0x15 on isa npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <PCI host bus adapter> on motherboard pci0: <PCI bus> on pcib0 chip0: <Intel 82439TX System Controller (MTXC)> at device 0.0 on pci0 isab0: <Intel 82371AB PCI to ISA bridge> at device 1.0 on pci0 ide_pci0: <Intel PIIX4 Bus-master IDE controller> at device 1.1 on pci0 chip1: <Intel 82371AB Power management controller> at device 1.3 on pci0 ahc0: <Adaptec aic7880 Ultra SCSI adapter> at device 9.0 on pci0 ahc0: interrupting at irq 12 ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs isa0: <ISA bus> on motherboard wdc0 at port 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa0 wdc0: unit 0 (wd0): <QUANTUM FIREBALL ST4.3A>, DMA, 32-bit, multi-block-16 wd0: 4110MB (8418816 sectors), 14848 cyls, 9 heads, 63 S/T, 512 B/S wdc0: interrupting at irq 14 wdc1 at port 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa0 wdc1: unit 0 (atapi): <ASUS CD-S340/V1.71>, removable, accel, dma, iordy wcd0: drive speed 0 - 5843KB/sec, 128KB cache wcd0: supported read types: CD-R, CD-RW, CD-DA, packet track wcd0: Audio: play, 255 volume levels wcd0: Mechanism: ejectable tray wcd0: Medium: no/blank disc inside, unlocked wdc1: interrupting at irq 15 atkbdc0: <keyboard controller (i8042)> at port 0x60 on isa0 atkbd0: <AT Keyboard> on atkbdc0 atkbd0: interrupting at irq 1 vga0: <Generic ISA VGA> on isa0 sc0: <System console> on isa0 sc0: VGA color <16 virtual consoles, flags=0x0> sio0 at port 0x3f8-0x3ff irq 4 on isa0 sio0: type 16550A sio0: interrupting at irq 4 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio1: interrupting at irq 3 1 3C5x9 board(s) on ISA found at 0x300 ep0 at port 0x300-0x30f irq 10 on isa0 ep0: aui/utp[*UTP*] address 00:60:8c:90:af:c5 ep0: interrupting at irq 10 Intel Pentium detected, installing workaround for F00F bug ep0 XXX: driver didn't set ifq_maxlen ds0 XXX: driver didn't set ifq_maxlen Waiting 2 seconds for SCSI devices to settle da0 at ahc0 bus 0 target 0 lun 0 da0: <SEAGATE ST34520W 1281> Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da0: 4340MB (8888924 512 byte sectors: 255H 63S/T 553C) changing root device to da0s4a changing root device to da0a ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates mount: /dev/da0a on / (local, soft-updates, writes: sync 3 async 465) /dev/da0f on /usr (local, noatime, soft-updates, writes: sync 9 async 375) /dev/da0e on /var (local, noatime, soft-updates, writes: sync 247 async 918) /dev/wd0s1a on /olddisk/root (local, noatime, soft-updates, writes: sync 2 async 0) /dev/wd0s1f on /olddisk/usr (local, noatime, soft-updates, writes: sync 2 async 77) /dev/wd0s1e on /olddisk/var (local, noatime, soft-updates, writes: sync 2 async 0) procfs on /proc (local) mfs:40 on /tmp (asynchronous, local, nodev, nosuid, writes: sync 2 async 263) swapinfo: Device 1K-blocks Used Avail Capacity Type /dev/da0b 262016 0 262016 0% Interleaved /dev/wd0s1b 140576 0 140576 0% Interleaved Total 402592 0 402592 0% config: machine "i386" cpu "I586_CPU" ident SHALE maxusers 50 options INET #InterNETworking #options IPX #IPX/SPX communications protocols options FFS #Berkeley Fast Filesystem options FFS_ROOT #Want one of these options MFS #Memory File System #options NFS #Network Filesystem #options MSDOSFS #MSDOS Filesystem options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options SOFTUPDATES options UCONSOLE #Allow users to grab the console #options FAILSAFE #Be conservative #options USERCONFIG #boot -c editor #options VISUAL_USERCONFIG #visual boot -c editor options XSERVER # include code for XFree86 options SYSVSHM options SYSVSEM options SYSVMSG options USER_LDT #allow user-level control of i386 ldt options "VM86" options "AUTO_EOI_1" options "P1003_1B" options "_KPOSIX_PRIORITY_SCHEDULING" options "_KPOSIX_VERSION=199309L" options "MD5" config kernel root on da0 dumps on da0 controller isa0 controller pnp0 controller pci0 #controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 #disk fd0 at fdc0 drive 0 #disk fd1 at fdc0 drive 1 controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0xa0ffa0ff disk wd0 at wdc0 drive 0 controller wdc1 at isa? port "IO_WD2" bio irq 15 flags 0xa0ffa0ff device wcd0 controller scbus0 #base SCSI code controller ahc0 device da0 #SCSI disks device pass0 #CAM passthrough driver device pt0 at scbus? # SCSI processor type device sctarg0 at scbus? # SCSI target options AHC_ALLOW_MEMIO # atkbdc0 controlls both the keyboard and the PS/2 mouse controller atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? tty irq 1 #device psm0 at atkbdc? tty irq 12 device vga0 at isa? port ? conflicts # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? tty # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? tty device pcm0 at isa? port ? tty irq 5 drq 1 flags 0x0 device npx0 at nexus? port IO_NPX irq 13 device sio0 at isa? port "IO_COM1" tty irq 4 device sio1 at isa? port "IO_COM2" tty irq 3 controller ppbus0 #controller vpo0 at ppbus? device lpt0 at ppbus? device plip0 at ppbus? #device ppi0 at ppbus? #device pps0 at ppbus? #device lpbb0 at ppbus? #device ed0 at isa? port 0x240 net irq 15 iomem 0xd0000 #device ed1 at isa? port 0x300 net irq 5 iomem 0xd8000 device ep0 at isa? port 0x300 net irq 10 pseudo-device loop pseudo-device ether #pseudo-device log #pseudo-device sl 1 # ijppp uses tun instead of ppp device #pseudo-device ppp 1 pseudo-device bpfilter 4 #Berkeley packet filter pseudo-device disc #Discard device #pseudo-device tun 1 pseudo-device pty 16 pseudo-device gzip # Exec gzipped a.out's pseudo-device vn 4 #Vnode driver (turns a file into a device) # KTRACE enables the system-call tracing facility ktrace(2). # This adds 4 KB bloat to your kernel, and slightly increases # the costs of each syscall. options KTRACE #kernel tracing options DDB 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?19990429185704.A410>