Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2001 11:30:10 +0000
From:      Mark Knight <markk@knigma.org>
To:        freebsd-current@freebsd.org
Subject:   Panic during makeworld for at least a week of kernels
Message-ID:  <yiu9SNACTgr6Ewtx@knigma.org>

next in thread | raw e-mail | index | archive | help
Every time I try to buildworld on my -CURRENT box, having upgraded from an
early February kernel last week, the machine panics. I've
updated my kernel and world several times, but the problem persists with
this kernel from last night. The 'current process' is always 'cpp0',
and it always seems to originate from down in the 'ffs_read' area.

atal trap 12: page fault while in kernel mode
fault virtual address   = 0xe
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc3f265a0
stack pointer           = 0x10:0xc3f80bc4
frame pointer           = 0x10:0xc3f80c54
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         = 39400 (cpp0)
panic: from debugger
Uptime: 6h26m11s

dumping to dev #ad/9, offset 134401
dump ata1: resetting devices .. done
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  dumpsys () at ../../kern/kern_shutdown.c:478
478             if (dumping++) {
(kgdb) bt
#0  dumpsys () at ../../kern/kern_shutdown.c:478
#1  0xc01731eb in boot (howto=260) at ../../kern/kern_shutdown.c:321
#2  0xc01735b5 in panic (fmt=0xc0277714 "from debugger")
    at ../../kern/kern_shutdown.c:571
#3  0xc011eea5 in db_panic (addr=-1007524448, have_addr=0, count=-1, 
    modif=0xc3f80a30 "") at ../../ddb/db_command.c:433
#4  0xc011ee45 in db_command (last_cmdp=0xc02a7ac0, cmd_table=0xc02a7920, 
    aux_cmd_tablep=0xc02c9540) at ../../ddb/db_command.c:333
#5  0xc011ef0a in db_command_loop () at ../../ddb/db_command.c:455
#6  0xc01210d3 in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71
#7  0xc0254ee2 in kdb_trap (type=12, code=0, regs=0xc3f80b84)
    at ../../i386/i386/db_interface.c:164
#8  0xc0261bc4 in trap_fatal (frame=0xc3f80b84, eva=14)
    at ../../i386/i386/trap.c:982
#9  0xc0261939 in trap_pfault (frame=0xc3f80b84, usermode=0, eva=14)
    at ../../i386/i386/trap.c:901
#10 0xc02611e7 in trap (frame={tf_fs = 24, tf_es = 16, tf_ds = 16, 
      tf_edi = -1008835840, tf_esi = 4, tf_ebp = -1007154092, 
      tf_isp = -1007154256, tf_ebx = -1007200736, tf_edx = -1007161344, 
      tf_ecx = 0, tf_eax = 14, tf_trapno = 12, tf_err = 2, 
      tf_eip = -1007524448, tf_cs = 8, tf_eflags = 66198, 
      tf_esp = -1007524448, tf_ss = 0}) at ../../i386/i386/trap.c:448
#11 0xc3f265a0 in ?? ()
#12 0xc0261849 in trap_pfault (frame=0xc3f80cc8, usermode=0, eva=134832184)
    at ../../i386/i386/trap.c:876
#13 0xc02611e7 in trap (frame={tf_fs = 24, tf_es = 16, tf_ds = 16, 
      tf_edi = 134832128, tf_esi = -1050087424, tf_ebp = -1007153724, 
      tf_isp = -1007153932, tf_ebx = 8116, tf_edx = 0, tf_ecx = 1792, 
      tf_eax = 706742868, tf_trapno = 12, tf_err = 2, tf_eip = -1071252148, 
      tf_cs = 8, tf_eflags = 66183, tf_esp = -60801, tf_ss = -65536})
    at ../../i386/i386/trap.c:448
#14 0xc025fd4c in fastmove_loop ()
#15 0xc025fb88 in i586_copyout ()
#16 0xc022a50f in ffs_read (ap=0xc3f80e84) at ../../ufs/ufs/ufs_readwrite.c:314
#17 0xc01b3748 in vn_read (fp=0xc0923e40, uio=0xc3f80ef4, cred=0xc088e600, 
    flags=0, p=0xc3f75620) at vnode_if.h:279
#18 0xc01885b0 in dofileread (p=0xc3f75620, fp=0xc0923e40, fd=4, 
    buf=0x8096000, nbyte=8116, offset=-1, flags=0) at ../../sys/file.h:145
#19 0xc0188476 in read (p=0xc3f75620, uap=0xc3f80f80)
    at ../../kern/sys_generic.c:119
#20 0xc026224d in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
      tf_edi = 134832128, tf_esi = 8116, tf_ebp = -1077941392, 
      tf_isp = -1007153196, tf_ebx = 8116, tf_edx = 39, tf_ecx = 2, 
      tf_eax = 3, tf_trapno = 12, tf_err = 2, tf_eip = 134576448, tf_cs = 31, 
      tf_eflags = 659, tf_esp = -1077941436, tf_ss = 47})
    at ../../i386/i386/trap.c:1184
#21 0xc02557ed in syscall_with_err_pushed ()
#22 0x804e0ec in ?? ()
#23 0x804d973 in ?? ()
#24 0x804cb2c in ?? ()
#25 0x804afcb in ?? ()
#26 0x804e224 in ?? ()
#27 0x804d973 in ?? ()
#28 0x804cb2c in ?? ()
#29 0x804afcb in ?? ()
#30 0x804e224 in ?? ()
#31 0x804d973 in ?? ()
#32 0x804cb2c in ?? ()
#33 0x804afcb in ?? ()
#34 0x804a64f in ?? ()
#35 0x8048135 in ?? ()

dmesg:

Copyright (c) 1992-2001 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.0-CURRENT #0: Mon Mar 12 21:40:34 GMT 2001
    root@wibble.lan.knigma.org:/u/src/sys/compile/WIBBLE
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 89814703 Hz
CPU: Pentium/P54C (89.81-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x525  Stepping = 5
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 33554432 (32768K bytes)
avail memory = 29425664 (28736K bytes)
Preloaded elf kernel "kernel" at 0xc034f000.
Intel Pentium detected, installing workaround for F00F bug
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pci0: <display, VGA> at 8.0 (no driver attached)
ifpi0: <AVM Fritz!Card PCI> port 0xff80-0xff9f mem 0xfffbec00-0xfffbec1f irq 9 at device 17.0 on
pci0
ifpi0: ISAC 2085 Version A1/A2 or 2086/2186 Version 1.1 (IOM-2)
ifpi0: passive stack unit 0
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
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
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>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ed0 at port 0x280-0x29f iomem 0xd8000-0xdbfff irq 5 on isa0
ed0: address 00:00:c0:be:37:99, type SMC8216/SMC8216C (16 bit) 
unknown: <PNP0303> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0680> can't assign resources
unknown: <PNP0680> can't assign resources
i4brbch: 4 raw B channel access device(s) attached
i4bipr: 4 IP over raw HDLC ISDN device(s) attached (VJ header compression)
i4bctl: ISDN system control port attached
i4btrc: 4 ISDN trace device(s) attached
i4b: ISDN call control device attached
i4btel: 2 ISDN telephony interface device(s) attached
i4b-L1 ifpi_isac_exir_hdlr: EXIRQ Rx Frame Overflow
ad0: 1039MB <QUANTUM FIREBALL1080A> [2112/16/63] at ata0-master BIOSPIO
ad1: 1039MB <QUANTUM FIREBALL1080A> [2112/16/63] at ata1-master BIOSPIO
ad2: 8809MB <QUANTUM FIREBALLP KA9.1> [17898/16/63] at ata1-slave BIOSPIO
acd0: CDROM <ATAPI CDROM> at ata0-slave BIOSPIO
Mounting root from ufs:/dev/ad0a

config:

machine         i386
#cpu            I386_CPU
#cpu            I486_CPU
cpu             I586_CPU
#cpu            I686_CPU
ident           WIBBLE
maxusers        32

#To statically compile in device wiring instead of /boot/device.hints
hints           "WIBBLE.hints"          #Default places to look for devices.

makeoptions     DEBUG=-g                #Build kernel with gdb(1) debug symbols
options         DDB

#options        MATH_EMULATE            #Support for x87 emulation
options         INET                    #InterNETworking
#options        INET6                   #IPv6 communications protocols
options         FFS                     #Berkeley Fast Filesystem
options         SOFTUPDATES             #Enable FFS soft updates support
options         MFS                     #Memory Filesystem
options         MD_ROOT                 #MD is a potential root device
options         NFS                     #Network Filesystem
options         NFS_ROOT                #NFS usable as root device, NFS required
options         MSDOSFS                 #MSDOS Filesystem
options         CD9660                  #ISO 9660 Filesystem
#options        DEVFS                   #Device Filesystem
options         PROCFS                  #Process filesystem
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]
options         SCSI_DELAY=3000         #Delay (in ms) before probing SCSI
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         _KPOSIX_PRIORITY_SCHEDULING
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev

# 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
#options        COMPAT_OLDISA           # compatability shims for lnc, le
#options        COMPAT_OLDPCI           # compatability shims for lnc

# Floppy drives
device          fdc

# ATA and ATAPI devices
device          ata
device          atadisk                 # ATA disk drives
device          atapicd                 # ATAPI CDROM drives
#device         atapifd                 # ATAPI floppy drives
#device         atapist                 # ATAPI tape drives
#options        ATA_STATIC_ID           #Static device numbering
#options        ATA_ENABLE_ATAPI_DMA    #Enable DMA on ATAPI devices

# SCSI Controllers
#device         ahb             # EISA AHA1742 family
#device         ahc             # AHA2940 and onboard AIC7xxx devices
#device         amd             # AMD 53C974 (Teckram DC-390(T))
#device         isp             # Qlogic family
#device         ncr             # NCR/Symbios Logic
#device         sym             # NCR/Symbios Logic (newer chipsets + those of `ncr')

#device         adv             # Advansys scsi adapters
#device         adw             # Advansys wide scsi adapters
#device         aha     1       # 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

# RAID controllers interfaced to the SCSI subsystem
#device         asr             # DPT SmartRAID V, VI and Adaptec SCSI RAID
#device         dpt             # DPT Smartcache III, IV - See NOTES for options!
#device         mly             # Mylex AcceleRAID/eXtremeRAID

# SCSI peripherals
#device         scbus           # SCSI bus (required)
#device         da              # Direct Access (disks)
#device         sa              # Sequential Access (tape etc)
#device         cd              # CD
#device         pass            # Passthrough device (direct SCSI access)

# RAID controllers
#device         aac             # Adaptec FSA RAID
#device         amr             # AMI MegaRAID
#device         ida             # Compaq Smart RAID
#device         mlx             # Mylex DAC960 family
#device         twe             # 3ware ATA RAID

# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc  1       # At keyboard controller
device          atkbd           # at keyboard
device          psm             # psm mouse

device          vga             # VGA screen

# splash screen/screen saver
device          splash

# syscons is the default console driver, resembling an SCO console
device          sc      1

# 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
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options        PCVT_SCANSET=2          # IBM keyboards are non-std

# Floating point support - do not disable.
device          npx

# Power management support (see NOTES for more options)
#device         apm

# PCCARD (PCMCIA) support
#device         card            # pccard bus
#device         pcic            # pcmcia bridge

# 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


# PCI Ethernet NICs.
#device         de              # DEC/Intel DC21x4x (``Tulip'')
#device         fxp             # Intel EtherExpress PRO/100B (82557, 82558)
#device         vx              # 3Com 3c590, 3c595 (``Vortex'')
#device         wx              # Intel Gigabit Ethernet Card (``Wiseman'')

# 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         dc              # DEC/Intel 21143 and various workalikes
#device         pcn             # AMD Am79C79x PCI 10/100 NICs
#device         rl              # RealTek 8129/8139
#device         sf              # Adaptec AIC-6915 (``Starfire'')
#device         sis             # Silicon Integrated Systems SiS 900/SiS 7016
#device         ste             # Sundance ST201 (D-Link DFE-550TX)
#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              # 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         sn              # SMC's 9000 series of ethernet chips
#device         xe              # Xircom pccard ethernet

# The probe order of these is presently determined by i386/isa/isa_compat.c.
#device         ie
#device         le
#device         lnc

# Wireless NIC cards
#device         an              # Aironet 4500/4800 802.11 wireless NICs. 
#device         awi             # BayStack 660 and others
#device         wi              # WaveLAN/IEEE 802.11 wireless NICs. 
#device         wl              # Older non 802.11 Wavelan wireless NIC.

# Pseudo devices - the number indicates how many units to allocated.
device          random          # Entropy device
device          loop            # Network loopback
device          ether           # Ethernet support
#device         sl              # Kernel SLIP
#device         ppp     1       # Kernel PPP
device          tun             # Packet tunnel.
device          pty             # Pseudo-ttys (telnet etc)
device          md              # Memory "disks"
#device         gif     4       # IPv6 and IPv4 tunneling
#device         faith   1       # 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         cue             # CATC USB ethernet
#device         kue             # Kawasaki LSI USB ethernet

# ISDN stuff
#options "AVM_A1_PCI"
device  ifpi
#device  isic
device   "i4bq921"               # i4b layer 2
device   "i4bq931"               # i4b layer 3
device   "i4b"                   # i4b layer 4
device   "i4btrc"        4       # Passive card ISDN tracing
device   "i4bctl"                # Main userland i4b controller
device   "i4brbch"       4       # Userland raw B channel access
device   "i4btel"        2       # userland telephony driver
device   "i4bipr"        4       # IP over raw HDLC ISDN
options         IPR_VJ                  # VJ for ipr

Cheers,
-- 
Mark A. R. Knight
Tel: +44 7973 410732                              http://www.knigma.org/

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?yiu9SNACTgr6Ewtx>