Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 1996 01:11:10 +0000 ()
From:      James Raynard <fcurrent@jraynard.demon.co.uk>
To:        current@freebsd.org
Subject:   Can't boot new kernel
Message-ID:  <199607290111.BAA00218@jraynard.demon.co.uk>

next in thread | raw e-mail | index | archive | help
[This is with a kernel compiled with code up to ctm-src.2036.gz]

When booting without any options, the boot gets as far as "ahc0
waiting for SCSI devices to settle" and then hangs.  If I give
the -d option at the boot prompt, I get this on executing the
"ret" statement at the end of _init386:-

Fatal trap 12: page fault while in kernel mode
Fault virtual address	= 0xefc00000
Fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xf0174f75
stack pointer		= 0x10:0xefbfff80
frame pointer		= 0x10:0xefbfff8c
code segment		= base 0x0, limit 0xfffff, type 0x1b,
			  DPL 0, pres 1, def32 1, gran 1
procecssor eflags	= resume, IOPL = 0
current process		= 0 ()
interrupt mask		= net tty bio
kernel: type 12 trap, code = 0

At this point, calling panic results in the "automatic reboot
in 15 seconds" message being displayed, but it doesn't reboot.
If I use the big red button, it comes up with a checksum error
in the BIOS.

dmesg from booting the old kernel gives:-

FreeBSD 2.2-CURRENT #0: Sat Jul 27 14:30:43  1996
    root@jraynard.demon.co.uk:/usr/src/sys/compile/JRAYNARD
Calibrating clock(s) relative to mc146818A clock...
i586 clock: 99624460 Hz, i8254 clock: 1193421 Hz
CPU: Pentium (99.60-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x525  Stepping=5
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 25165824 (24576K bytes)
avail memory = 22691840 (22160K bytes)
Probing for devices on PCI bus 0:
chip0 <Intel 82437 (Triton) PCI cache memory controller> rev 1 on pci0:0
chip1 <Intel 82371 (Triton) PCI-ISA bridge> rev 2 on pci0:7:0
piix0 <Intel 82371 (Triton) Bus-master IDE controller> rev 2 on pci0:7:1
ahc0 <Adaptec 2940 SCSI host adapter> rev 0 int a irq 10 on pci0:8
ahc0: aic7870 Single Channel, SCSI Id=7, 16 SCBs
ahc0 waiting for scsi devices to settle
(ahc0:2:0): "MATSHITA CD-ROM CR-504 ST22" type 5 removable SCSI 2
cd0(ahc0:2:0): CD-ROM cd present [302551 x 2048 byte records]
(ahc0:6:0): "CONNER CFP2105S  2.14GB 2B4B" type 0 fixed SCSI 2
sd0(ahc0:6:0): Direct-Access 2048MB (4194304 512 byte sectors)
vga0 <Display device> rev 0 on pci0:11
Probing for devices on the ISA bus:
vt0 at 0x60-0x6f irq 1 on motherboard
vt0: unkown s3, 80 col, color, 8 scr, mf2-kbd, [R3.20-b24]
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 765
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <Conner Peripherals 340MB - CFA340B>
wd0: 327MB (670320 sectors), 665 cyls, 16 heads, 63 S/T, 512 B/S
npx0 on motherboard
npx0: INT 16 interface

and my config file looks like this:-

#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
#	$Id: GENERIC,v 1.46.2.6 1995/10/25 17:29:51 jkh Exp $
#

machine		"i386"
#cpu		"I386_CPU"
#cpu		"I486_CPU"
cpu		"I586_CPU"
ident		JRAYNARD
maxusers	10

#options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS_NOSERVER
#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
options		"SCSI_DELAY=7"		#Be pessimistic about Joe SCSI device
options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
#options		UCONSOLE		#Allow users to grab the console
options		"I586_FAST_BCOPY"

options		SYSVSHM
options		SYSVSEM
options		SYSVMSG

config		kernel	root on wd0 dumps on wd0

options		DDB
options		KTRACE

controller	isa0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
#disk		fd1	at fdc0 drive 1
#tape		ft0	at fdc0 drive 2

controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
#disk		wd1	at wdc0 drive 1

#controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
#disk		wd2	at wdc1 drive 0
#disk		wd3	at wdc1 drive 1

#options         ATAPI   #Enable ATAPI support for IDE bus
#device          wcd0    #IDE CD-ROM

#controller	ncr0
#controller	ahc0

#controller	bt0	at isa? port "IO_BT0" bio irq ? vector btintr
#controller	uha0	at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
controller	ahc1	#at isa? bio irq ? vector ahcintr
#controller	ahb0	at isa? bio irq ? vector ahbintr
#controller	aha0	at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
#controller	aic0    at isa? port 0x340 bio irq 11 vector aicintr
#controller	nca0	at isa? port 0x1f88 bio irq 10 vector ncaintr
#controller	nca1	at isa? port 0x350 bio irq 5 vector ncaintr
#controller	sea0	at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr

controller	scbus0

device		sd0

#device		st0

device		cd0	#Only need one of these, the code dynamically grows

#device		wt0	at isa? port 0x300 bio irq 5 drq 1 vector wtintr
#device		mcd0	at isa? port 0x300 bio irq 10 vector mcdintr
#device		mcd1	at isa? port 0x340 bio irq 11 vector mcdintr

#controller	matcd0	at isa? port 0x230 bio

#device		scd0	at isa? port 0x230 bio

# syscons is the default console driver, resembling an SCO console
#device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
device		vt0	at isa? port "IO_KBD" tty irq 1 vector pcrint
options		"PCVT_FREEBSD=210"	# pcvt running on FreeBSD 2.1
options		"PCVT_INHIBIT_NUMLOCK"
#options		XSERVER			# include code for XFree86

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		sio2	at isa? port "IO_COM3" tty irq 5 vector siointr
#device		sio3	at isa? port "IO_COM4" tty irq 9 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr
#device		lpt1	at isa? port? tty
#device		lpt2	at isa? port? tty
#device		mse0	at isa? port 0x23c tty irq 5 vector mseintr

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
#device de0
#device ed0 at isa? port 0x280 net irq  5 iomem 0xd8000 vector edintr
#device ed1 at isa? port 0x300 net irq  5 iomem 0xd8000 vector edintr
#device ie0 at isa? port 0x360 net irq  7 iomem 0xd0000 vector ieintr
#device ep0 at isa? port 0x300 net irq 10 vector epintr
#device ix0 at isa? port 0x300 net irq 10 iomem 0xd0000 iosiz 32768 vector ixintr
#device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
#device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
#device lnc1 at isa? port 0x300 net irq 10 drq 0 vector lncintr
#device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
#device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr

pseudo-device	loop
#pseudo-device	ether
pseudo-device	log
#pseudo-device	sl	1
# ijppp uses tun instead of ppp device
pseudo-device	ppp	1
pseudo-device	tun	1
pseudo-device	pty	16
#pseudo-device	gzip		# Exec gzipped a.out's



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