Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jun 1999 23:30:11 +0200 (CEST)
From:      Leif Neland <leifn@neland.dk>
To:        freebsd-current@FreeBSD.ORG
Subject:   kernel -c crashes on exit
Message-ID:  <Pine.BSF.4.05.9906172315040.95619-100000@arnold.neland.dk>

next in thread | raw e-mail | index | archive | help
(btw, does anyone here know if a Linux kernel can reboot automatically
after a crash? Nobody on the linux-lists I have found can answer... 
Anyway, back to FBSD:)

If I enter config-mode at boot (kernel -c), the machine crashes when
trying to save and exit.

Fatal trap 12: page fault while in kernel mode.
Fault virtual address 	= 0x4
Fault code		= supervisor read, page not present
Instruction pointer	= 0x8:0xc020028e
Stack pointer		= 0x10:0xc02e0ecc
Frame pointer		= 0x10:0xc02e0eec
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 tty bio cam
kernel: type 12 trap, code = 0
Stopped at   +xc020028e: movl  0x4(%eax),%edx
db>
 ------8<--------------------------------------------------
config:
machine		i386
cpu		I686_CPU
ident		"GINA"
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		MSDOSFS			#MSDOS Filesystem
options		CD9660			#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options		SCSI_DELAY=15000	#Be pessimistic about Joe SCSI device
options		UCONSOLE		#Allow users to grab the console
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor
options		DDB
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	atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1
device		psm0	at atkbdc? irq 12
device		vga0	at isa? port ? conflicts
pseudo-device	splash
device		sc0	at isa?
device		npx0	at nexus? port IO_NPX irq 13
device		apm0    at nexus? disable flags 0x31 # Advanced Power Management
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3
device		ppc0	at isa? port? irq 7
controller	ppbus0
device		lpt0	at ppbus?
device		ppi0	at ppbus?
device ed0 at isa? port 0x2c0 irq 5 iomem 0xd8000
pseudo-device	loop
pseudo-device	ether
pseudo-device	tun	2
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's
options		KTRACE		#kernel tracing
options         SYSVSHM
options         SYSVMSG
options         SYSVSEM
pseudo-device	bpfilter 4	#Berkeley packet filter
device pcm0
device pca0 at isa? port IO_TIMER1
controller	ata0
device		atadisk0	# ATA disk drives
device		atapicd0	# ATAPI CDROM drives
options		SOFTUPDATES
pseudo-device	sppp			#Generic Synchronous PPP
 --------------8<-------------------------------------------------
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 #42: Tue Jun 15 06:51:44 CEST 1999
    root@gina.neland.dk:/usr/src/sys/compile/GINA
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Xeon/Celeron (337.50-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping=2
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 67096576 (65524K bytes)
sio0: system console
avail memory = 62345216 (60884K bytes)
Preloaded elf kernel "kernel" at 0xc02cd000.
Pentium Pro MTRR support enabled, default memory type is uncacheable
Probing for PnP devices:
CSN 1 Vendor ID: SDA0150 [0x5001814c] Serial 0x00a03244 Comp ID: @@@0000 [0x00000000]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <PCI host bus adapter> on motherboard
pci0: <PCI bus> on pcib0
chip0: <Intel 82443BX (440 BX) host to PCI bridge> at device 0.0 on pci0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
vga-pci0: <S3 model 8904 graphics accelerator> at device 0.0 on pci1
isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
ata-pci0: <Intel PIIX4 IDE controller> at device 4.1 on pci0
ata-pci0: Busmastering DMA supported
ata0 at 0x01f0 irq 14 on ata-pci0
chip1: <UHCI USB controller> irq 5 at device 4.2 on pci0
chip2: <Intel 82371AB Power management controller> at device 4.3 on pci0
es0: <AudioPCI ES1370> irq 5 at device 10.0 on pci0
pcm0: using I/O space register mapping at 0xd000
ed0: <NE2000 PCI Ethernet (RealTek 8029)> irq 10 at device 12.0 on pci0
ed0: address 00:80:ad:50:40:cf, type NE2000 (16 bit) 
devclass_alloc_unit: ed0 already exists, using next available unit number
isa0: <ISA bus> on motherboard
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> at fdc0 drive 0
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
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 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0 at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
pca0 at port 0x40 on isa0
pca0: PC speaker audio driver
ata0: master: setting up UDMA2 mode on PIIX4 chip OK
ad0: <IBM-DTTA-350640/T54OA73A> ATA-4 disk at ata0 as master
ad0: 6197MB (12692295 sectors), 13431 cyls, 15 heads, 63 S/T, 512 B/S
ad0: piomode=4, dmamode=2, udmamode=2
ad0: 16 secs/int, 31 depth queue, DMA mode
changing root device to wd0s3a
 -----------------8<-----------------------------------------------
Oh, if I enable isdnd, the machine crashes on incoming calls, but let's
fix this first...


Leif




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?Pine.BSF.4.05.9906172315040.95619-100000>