Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 1997 08:01:18 +0100
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        hackers@FreeBSD.org, current@FreeBSD.org
Subject:   2.2-GAMMA (latest) page fault while in kernel mode
Message-ID:  <19970312080118.34495@klemm.gtn.com>

next in thread | raw e-mail | index | archive | help
Still having problems to reboot my machine ...
Everytime I do so, the machine panics:

Fatal trap 12: page fault while in kernel mode
fault virtual address:	0x0
fault code:		supervisor read, page not present
instruction pointer:	0x8:0x0
stack pointer:		0x10:0xefbffe58
frame pointer:		0x10:0xefbffe60
code segment:		base 0x0, limit 0xfffff, type 0x16
			DPL0, pres 1, def 321, gran 1
processor flags:	interrupt enabled, resume, IOPL=0
current process:	1549 (reboot)
interrupt mask =
panic: page fault.

I compiled the kernel with debugging symbols as described in the
FreeBSD manual.

/var/crash contains the following files:

-rw-r--r--  1 root  wheel         2 12 Mär 07:42 bounds
-rw-r--r--  1 root  wheel   8451237 12 Mär 07:42 kernel.6
-rw-------  1 root  wheel  67108864 12 Mär 07:42 vmcore.6

Then:
	cd /bisdn/compile/BISDN
	kgdb kernel /var/crash/vmcore.6
	....
	(gdb) /var/crash/vmcore.6 is not a coredump
	(gdb) File format not recognized

/var is large enough so I think nothing is truncated because
of space limitations...

Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/sd0s3f    127151   109511     7468    94%    /var

-r-xr-xr-x  1 bin  bin  737280  9 Mär 19:49 /usr/bin/gdb
lrwxr-xr-x  1 bin  bin       3 10 Mär 23:49 /usr/bin/kgdb -> gdb

Kgdb is the catually build gdb ... So I think no fault of mine
here, too. Sorry, I wanted to give more infos on that but I
can't ...

Any idea ? BTW, the panic happens every time, when I execute
	shutdown -r now 

It's absolutely reproduceable !

Here again my kernel config file:

machine		"i386"
cpu		"I586_CPU"
ident		BISDN
maxusers	64

options		INET			#Internet communications protocols
options		FFS			#Fast filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"
options		SCSI_DELAY=8		#Be pessimistic about Joe SCSI device
options		UCONSOLE		#Allow ordinary users to take the 
					# console - this is useful for X.
options        "MAXCONS=4"		# Number of virtual SCO compat consoles

options		"MD5"

options		IPFIREWALL			#firewall
options		IPFIREWALL_VERBOSE		#print information about
options		"IPFIREWALL_VERBOSE_LIMIT=100"	#limit verbosity

options		TELES_HAS_MEMCPYB	# bisdn 0.97

options		SYSVSHM,SYSVSEM,SYSVMSG	# System V shared memory

###options	"IBCS2"			# COFF binary compatibility
options		COMPAT_LINUX		# Linux Binary compatibility

options		SHOW_BUSYBUFS		# busy buffers on shutdown ?

###options	AHC_TAGENABLE
###options	AHC_SCBPAGING_ENABLE
###options	AHC_ALLOW_MEMIO
options		SCSI_REPORT_GEOMETRY

###options	DDB
###options	KTRACE			#kernel tracing

options		MFS			#Memory File System

config		kernel root on sd0 dumps on sd0

controller	isa0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0

# my hardwired scsi devices, they have always the same SCSI ID !
controller	ahc0
controller	scbus0 at ahc0
disk		sd0 at scbus0 target 0
disk		sd1 at scbus0 target 1
disk		sd2 at scbus0 target 2
tape		st0 at scbus0 target 4
device		cd0 at scbus0 target 6

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr

device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr

device		ed0 at isa? port 0x300 net irq 10 iomem 0xcc000 vector edintr

# Joystick
device		joy0	at isa? port "IO_GAME"

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	bpfilter 4	#Berkeley packet filter
pseudo-device	snp	3	#Snoop device - to look at pty/vty/etc..
pseudo-device	gzip

pseudo-device	vn		#Vnode driver (turns a file into a device)
#pseudo-device	speaker

# SB = SoundBlaster;  PAS = ProAudioSpectrum;  GUS = Gravis UltraSound
# Controls all sound devices
controller	snd0

# SoundBlaster DSP driver - for SB, SB Pro, SB16, PAS(emulating SB)
device sb0	at isa? port 0x220 irq 5 drq 1 vector sbintr

# SoundBlaster 16 DSP driver - for SB16 - requires sb0 device
device sbxvi0	at isa? drq 5

# SoundBlaster 16 MIDI - for SB16 - requires sb0 device
device sbmidi0  at isa? port 0x330

# Yamaha OPL-2/OPL-3 FM - for SB, SB Pro, SB16, PAS
device opl0     at isa? port 0x388

#---------------------------------------------------------------------------
#
#	ISDN - parts of an example config file for bisdn
#	------------------------------------------------
#
#	last edit-date: [Sun May 26 10:35:22 1996]
#
#---------------------------------------------------------------------------

options		IPI_VJ		# Van Jacobsen header compression support
#options	"IPI_DIPA=3"	# send ip accounting packets every 3 seconds

# Teles S0/16.3	###################################################### IRQ  9 ##
controller	tel0 at isa? port 0xd80 net irq 9 vector telintr
pseudo-device	disdn
pseudo-device	isdn
pseudo-device	ipi	4
pseudo-device	itel	2
pseudo-device	ispy	1



-- 
andreas@klemm.gtn.com         /\/\___      Wiechers & Partner Datentechnik GmbH
   Andreas Klemm          ___/\/\/         Support Unix -- andreas.klemm@wup.de
pgp p-key  http://www-swiss.ai.mit.edu/~bal/pks-toplev.html  >>> powered by <<<
ftp://sunsite.unc.edu/pub/Linux/system/Printing/aps-491.tgz  >>>    FreeBSD <<<



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