Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 1999 22:59:11 -0500
From:      "Matthew D. Fuller" <fullermd@over-yonder.net>
To:        current@freebsd.org
Subject:   -CURRENT told me to panic when it booted, so I did
Message-ID:  <19990428225911.A24796@over-yonder.net>

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

I get a thoroughtly reproducible (in fact, utterly non-un-reproducible)
panic on boot of recent -CURRENTs.  It did this on a cvsup from maybe 2,
3 days ago, and again with one done ~4pm CDT today.

Note: all these messages are hand-copied, this machine isn't in a
situation where it's easy to put a serial console on it  :(

Bootup gets as far as:
isab0: <PCI to ISA bridge (vendor:0e11 device:0002)> at device 15.0 on pci0
which immediately suceeds probing xl0.  -v doesn't show anything more
revealing.  Panic reads as:
Fatal trap 12: page fault while in kernel mode

fault virtual address = 0x24000208
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc01456f5
stack pointer = 0x10:0xc02d5ef8
frame pointer = 0x10:0xc02d5f04
code segment = base 0x0, limit 0xfffff, type 0x1b
             = DRL 0, pres 1, def32 1, gran 1
processor eflags = interrupts enabled, resume, IOPL=0
current process = 0 ( )
interrupt mask = net tty bio cam
kernel: type 12 trap, code:0

DDB reveals
Stopped at device_probe_and_attach+0x9    movl  0x8(%ebx),%edi

The first few nuggets of creamy goodness 'trace' reveals are:
device_probe_and_attach(24000200) at device_probe_and_attach+0x9
bus_generic_attach(c09e1880, c02d5f38, c0145737, c09e1880, c09e1880)
                  at bus_generic_attach+0x16
DEVICE_ATTACH(c09e1880, c09e1880, 0, c061cb40, c02d5f48)
                  at DEVICE_ATTACH+0x25


If previous items in the trace (I think there were around 6 of them)
would be helpful, I can grab them; it's just a pain copying the !&$
things down  ;)

Ideas?  Trashing it isn't really an option, I use it too much.  It's not
a critical server, so I can experiment with patches/etc on it, but it's
my main workstation here, so I'd rather not trash it utterly in the
process.

It's presently up running this 3-day old -CURRENT world and a kernel
from...   early March, I think, working fine.

System is a Compaq Deskpro 575, P120 processor, 80 megs RAM, 1 floppy, 1
IDE drive, built-in lnc1 (which doesn't get along with the lnc driver),
xl0 used as net card, parallel port ZIP drive.  Kernel config follows:


#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
# For more information read the handbook part System Administration -> 
# Configuring the FreeBSD Kernel -> The Configuration File. 
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server 
# <URL:http://www.FreeBSD.ORG/>;
#
# An exhaustive list of options and more detailed explanations of the 
# device lines is present in the ./LINT configuration file. If you are 
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
#	$Id: GENERIC,v 1.166 1999/04/24 21:45:44 peter Exp $

machine		i386
cpu		I586_CPU
ident		NEWTAURUS
maxusers	64

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

options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		FFS_ROOT		#FFS usable as root device [keep this!]
options		MFS			#Memory Filesystem
options		NFS			#Network Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		PROCFS			#Process filesystem
options		COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options		SCSI_DELAY=2000		#Be pessimistic about Joe SCSI device
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		DDB
options		MAXMEM=(80*1024)

config		kernel	root on wd0


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

controller	fdc0	at isa? port IO_FD1 irq 6 drq 2
disk		fd0	at fdc0 drive 0

controller	wdc0	at isa? port IO_WD1 irq 14
disk		wd0	at wdc0 drive 0

controller	wdc1	at isa? disable port IO_WD2 irq 15
disk		wd2	at wdc1 drive 0


controller	scbus0

device		da0	#Only need one of these, the code dynamically grows
device		sa0
device		pass0

# atkbdc0 controls both the keyboard and the PS/2 mouse
controller	atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1
device		psm0	at atkbdc? 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?


device		npx0	at nexus? port IO_NPX irq 13


device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3

# Parallel port
device		ppc0	at isa? port? irq 7
controller	ppbus0
device		lpt0	at ppbus?
device		plip0	at ppbus?
device		ppi0	at ppbus?
controller	vpo0	at ppbus?

device xl0		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

device lnc0 

pseudo-device	loop
pseudo-device	ether
pseudo-device	sl	4
pseudo-device	tun	2
pseudo-device	pty	32
pseudo-device	gzip		# Exec gzipped a.out's

# 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

# This provides support for System V shared memory and message queues.
#
options         SYSVSHM
options         SYSVMSG
options         SYSVSEM

#  The `bpfilter' pseudo-device enables the Berkeley Packet Filter.  Be
#  aware of the legal and administrative consequences of enabling this
#  option.  The number of devices determines the maximum number of
#  simultaneous BPF clients programs runnable.
pseudo-device	bpfilter 4	#Berkeley packet filter




-- 

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
| Matthew Fuller    MF4839    http://www.over-yonder.net/ |
* fullermd@futuresouth.com       fullermd@over-yonder.net *
| UNIX Systems Administrator      Specializing in FreeBSD |
*   FutureSouth Communications   ISPHelp ISP Consulting   *
|  "The only reason I'm burning my candle at both ends,   |
*    is because I haven't figured out how to light the    *
|                     middle yet"                         |
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


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?19990428225911.A24796>