Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Sep 1999 00:53:12 -0700
From:      Travis Cole <tcole@balsam.methow.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: kernel panic in 3.3-RC
Message-ID:  <19990913005312.A1381@wcug.wwu.edu>

next in thread | raw e-mail | index | archive | help

I hope this is the right place to report a problem like this.  Or should
I have filed a pr?

I'm still getting a panic in 3.3-RC code as of last night.
Like I said in my last message, this happens with almost every buildworld
on a FreeBSD box which is doing some light NFS serving, very light
DNS, ppp -nat,  and a very light squid proxy.

Here is a trace from gdb -k.  And below is my dmesg and then my kernel
config.  And I would be more than happy to provide more info or help
in any way in which my non-coding carcas can.


(kgdb) symbol-file /kernel.debug 
Reading symbols from /kernel.debug...done.
(kgdb) exec-file /var/crash/kernel.0 
(kgdb) core-file /var/crash/vmcore.0 
IdlePTD 2895872
initial pcb at 251be0
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xffff037f
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xffff037f
stack pointer           = 0x10:0xc4652e28
frame pointer           = 0x10:0xc4652e9c
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         = 76480 (cpp)
interrupt mask          = 
trap number             = 12
panic: page fault

syncing disks... 65 64 61 54 28 17 5 done

dumping to dev 20001, offset 216992
dump 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 
38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12
 11 10 9 8 7 6 5 4 3 2 1 
---
#0  boot (howto=256) at ../../kern/kern_shutdown.c:285
285                     dumppcb.pcb_cr3 = rcr3();
(kgdb) where
#0  boot (howto=256) at ../../kern/kern_shutdown.c:285
#1  0xc01345e8 in at_shutdown (
    function=0xc0231fd2 <__set_sysinit_set_sym_memdev_sys_init+1542>, 
    arg=0xc4636780, queue=-1000002068) at ../../kern/kern_shutdown.c:446
#2  0xc01fb959 in trap_fatal (frame=0xc4652dec, eva=4294902655)
    at ../../i386/i386/trap.c:942
#3  0xc01fb637 in trap_pfault (frame=0xc4652dec, usermode=0, eva=4294902655)
    at ../../i386/i386/trap.c:835
#4  0xc01fb2da in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = 135614464, 
      tf_esi = -1000001620, tf_ebp = -1000001892, tf_isp = -1000002028, 
      tf_ebx = 0, tf_edx = -1069539336, tf_ecx = 0, tf_eax = -1071710149, 
      tf_trapno = 12, tf_err = 0, tf_eip = -64641, tf_cs = 8, 
      tf_eflags = 66118, tf_esp = -65536, tf_ss = -1})
    at ../../i386/i386/trap.c:437
#5  0xffff037f in ?? ()
#6  0xc01d51e5 in vm_fault (map=0xc4628ac0, vaddr=135614464, 
    fault_type=3 '\003', fault_flags=8) at ../../vm/vm_fault.c:532
#7  0xc01fb5ca in trap_pfault (frame=0xc4652fac, usermode=1, eva=135614464)
    at ../../i386/i386/trap.c:816
#8  0xc01fb182 in trap (frame={tf_es = 39, tf_ds = 39, tf_edi = 135614464, 
      tf_esi = 134803538, tf_ebp = -1077947772, tf_isp = -1000001580, 
      tf_ebx = 134650200, tf_edx = 6411, tf_ecx = 1620, tf_eax = 86, 
      tf_trapno = 12, tf_err = 6, tf_eip = 134522590, tf_cs = 31, 
      tf_eflags = 66051, tf_esp = -1077947864, tf_ss = 39})
    at ../../i386/i386/trap.c:358
#9  0x804a6de in ?? ()
#10 0x804d9d0 in ?? ()
#11 0x804d319 in ?? ()
#12 0x804c39e in ?? ()
#13 0x804aae0 in ?? ()
#14 0x8049ff1 in ?? ()
#15 0x80480e9 in ?? ()


My dmesg:

Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.3-RC #29: Sun Sep 12 14:57:58 PDT 1999
    root@nietzsche.nihilist.org:/usr/src/sys/compile/NIETZSCHE
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD-K6tm w/ multimedia extensions (200.46-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x562  Stepping = 2
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
  AMD Features=0x400<<b10>>
real memory  = 67108864 (65536K bytes)
avail memory = 62427136 (60964K bytes)
Preloaded elf kernel "kernel" at 0xc02b1000.
Probing for devices on PCI bus 0:
chip0: <Intel 82439TX System Controller (MTXC)> rev 0x01 on pci0.0.0
chip1: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.1.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.1.1
chip2: <Intel 82371AB Power management controller> rev 0x01 on pci0.1.3
vga0: <S3 ViRGE VX graphics accelerator> rev 0x02 int a irq 9 on pci0.9.0
xl0: <3Com 3c905-TX Fast Etherlink XL> rev 0x00 int a irq 12 on pci0.10.0
xl0: Ethernet address: 00:60:97:df:4e:0b
xl0: autoneg complete, link status good (half-duplex, 10Mbps)
pn0: <82c169 PNIC 10/100BaseTX> rev 0x20 int a irq 11 on pci0.11.0
pn0: Ethernet address: 00:a0:cc:55:5a:1f
pn0: autoneg not complete, no carrier
Probing for PnP devices:
CSN 1 Vendor ID: SUP2121 [0x2121b04e] Serial 0x00001591 Comp ID: @@@0000 [0x00000000]
CSN 2 Vendor ID: CTL0024 [0x24008c0e] Serial 0x1004d894 Comp ID: PNP0600 [0x0006d041]
pcm1 (SB16pnp <SB16 PnP> sn 0x1004d894) at 0x220-0x22f irq 5 drq 1 flags 0x15 on isa
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa
wdc0: unit 0 (wd0): <ST33232A>, DMA, 32-bit, multi-block-16
wd0: 3077MB (6303024 sectors), 6253 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa
wdc1: unit 0 (wd2): <QUANTUM FIREBALL ST4.3A>, DMA, 32-bit, multi-block-16
wd2: 4110MB (8418816 sectors), 14848 cyls, 9 heads, 63 S/T, 512 B/S
ppc0 at 0x378 irq 7 flags 0x40 on isa
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
plip0: <PLIP network interface> on ppbus 0
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
IP packet filtering initialized, divert enabled, rule-based forwarding disabled, logging limited to 200 packets/entry by default
changing root device to wd0s1a
WARNING: / was not properly dismounted
Start pid=2 <pagedaemon>
Start pid=3 <vmdaemon>
Start pid=4 <syncer>



My kernel config:

machine         "i386"
cpu             "I586_CPU"
cpu             "I686_CPU"
ident           NIETZSCHE
maxusers        32

options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep this!]
options         NFS                     #Network Filesystem
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP THIS!]
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         KTRACE                  #ktrace(1) syscall trace support
options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues
options         SYSVSEM                 #SYSV-style semaphores

config          kernel  root on wd0

controller      isa0
controller      pnp0                    # PnP support for ISA
controller      eisa0
controller      pci0

# Floppy drives
controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2
disk            fd0     at fdc0 drive 0
disk            fd1     at fdc0 drive 1

# IDE controller and disks
controller      wdc0    at isa? port "IO_WD1" bio irq 14 flags 0xa0ffa0ff
disk            wd0     at wdc0 drive 0
disk            wd1     at wdc0 drive 1

controller      wdc1    at isa? port "IO_WD2" bio irq 15 flags 0xa0ffa0ff
disk            wd2     at wdc1 drive 0
disk            wd3     at wdc1 drive 1

# ATAPI devices
options         ATAPI           #Enable ATAPI support for IDE bus
device          acd0            #IDE CD-ROM
device          wfd0            #IDE Floppy (e.g. LS-120)

# atkbdc0 controls both the keyboard and the PS/2 mouse
controller      atkbdc0 at isa? port IO_KBD tty
device          atkbd0  at isa? tty irq 1

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

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

# Power management support (see LINT for more options)
device          apm0    at isa? disable flags 0x31 # Advanced Power Management

# Serial (COM) ports
device          sio0    at isa? port "IO_COM1" flags 0x10 tty irq 4
device          sio1    at isa? port "IO_COM2" tty irq 3
device          sio2    at isa? disable port "IO_COM3" tty irq 5
device          sio3    at isa? disable port "IO_COM4" tty irq 9

# Parallel port
device          ppc0    at isa? port? flags 0x40 net irq 7
controller      ppbus0                  # Parallel port bus (required)
device          lpt0    at ppbus?       # Printer
device          plip0   at ppbus?       # TCP/IP over parallel
device          ppi0    at ppbus?       # Parallel port interface device

# PCI Ethernet NICs.
device          de0             # DEC/Intel DC21x4x (``Tulip'')
device          pn0             # Lite-On 82c168/82c169 (``PNIC'')
device          xl0             # 3Com 3c90x (``Boomerang'', ``Cyclone'')

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
pseudo-device   tun     1       # Packet tunnel, for ppp(1)
pseudo-device   pty     16      # Pseudo-ttys (telnet etc)
pseudo-device   gzip            # Exec gzipped a.out's

options         VESA
options         "VM86"

# Coda stuff:
options         CODA                    #CODA filesystem.
pseudo-device   vcoda   4               #coda minicache <-> venus comm.

# POSIX P1003.1B
options         "P1003_1B"
options         "_KPOSIX_PRIORITY_SCHEDULING"
options         "_KPOSIX_VERSION=199309L"

# Get rid of that lame Ctrl Alt Del to reboot
options         SC_DISABLE_REBOOT
options         SC_HISTORY_SIZE=200

# Stuff for my K6 CPU.
options         "NO_F00F_HACK"
options         CPU_WT_ALLOC            #some K6 optimization
options         NO_MEMORY_HOLE

options         "MD5"                   #authentiction stuff

device pcm0 at pnp?

# Firewall support
options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         "IPFIREWALL_VERBOSE_LIMIT=200"
options         IPDIVERT
options         ICMP_BANDLIM

# softupdate
options         SOFTUPDATES

# debug stuff
options         INVARIANTS
options         INVARIANT_SUPPORT
options         DIAGNOSTIC



I hope this does some good.  Thanks!

-- 
--Travis

When it comes to violence, morality and the young, we're the Idiot Nation,
the laughingstock not only of the civilized world but of the highly-wired
generation of kids we're supposedly trying to protect.
		Jon Katz	


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




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