Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 1998 15:27:51 -0500
From:      Cory Kempf <ckempf@enigami.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Yay!  I have built a kernel, but...
Message-ID:  <v04003a00b12b40ec6362@[208.140.182.45]>

next in thread | raw e-mail | index | archive | help
OK, I have successfully built a kernel that I can boot off of.  So I should
be happy, right?

Well... almost.

Unfortunately, when I try to let it boot itself, it doesn't work (Fatal
trap 12: page fault while in kernel mode; this occurs in _ffs_mount(). )

If I boot with '0:sd(0,a)/kernel -a', it prints out:

	root device? da0 at ahc0 bus 0 target 0 lun 0
	da0: <SEAGATE ST19101W 0011> Fixed Direct Access SCSI2 device
	da0: Serial Number LH011342
	da0: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing
Enabled
	da0: 8683MB (17783249 512 byte sectors: 64H 32S/T 8683C)

If I type in da0, it lets me in.


So, any clues what is wrong?  Clearly it is finding da0, and the stuff on
da0 works, but how do I convince it to do so automatically?

Thanks,

+C



My hardware & Software, FWIW:

I have a DK440LX, 333MHz PII, Seagate 9 GB UW SCSI Cheetah (Bus A, ID 0),
128 MB RAM, No 9 I-128 series 2 video board (8 MB).  Running 3.0-Current as
of either yesterday or today

My config file (minus commented out stuffs):

#
# DM
#

machine		"i386"
cpu		"I586_CPU"
cpu		"I686_CPU"
ident		CORY_II
maxusers	32

options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		MFS
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		UCONSOLE		#Allow users to grab the console
options		KTRACE			#kernel tracing

options		SYSVSHM
options		DDB
options		"AHC_ALLOW_MEMIO"

#
# The following line generates an error at config(8) time...
#
options		"PQ_MEDIUMCACHE"
options		CONSPEED=115200		#default speed for serial console
options		USERCONFIG
options		VISUAL_USERCONFIG

#
# swap on generic isn't in LINT.  Without it, or with swap on da0,
# it builds, but doesn't work.
#
config		kernel	root on da0 swap on generic

controller	isa0
controller	pci0
controller      pnp0

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

controller	ahc0

controller	scbus0 at ahc0 bus 0
controller	scbus1 at ahc0 bus 1

device		sa0
device		pass0

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

# Mandatory, don't remove
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

device		psm0	at isa? port "IO_KBD" conflicts tty irq 12 vector
psmintr
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		fxp0

pseudo-device	loop
pseudo-device	ether
pseudo-device	pty		16
pseudo-device	bpfilter	4
pseudo-device	tun	2
# keep this if you want to be able to continue to use /stand/sysinstall
pseudo-device	gzip		# Exec gzipped a.out's


--
Thinking of purchasing RAM from the Chip Merchant?  Please read this first:
<http://www.enigami.com/~ckempf/chipmerchant.html>;

Cory Kempf                  Macintosh / Unix Consulting & Software Development
ckempf@enigami.com          <http://www.enigami.com/~ckempf/>;



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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