Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Oct 1997 09:46:56 -0500 (CDT)
From:      Douglas Carmichael <dcarmich@mcs.com>
To:        phk@freebsd.org
Subject:   FreeBSD 2.2.2-RELEASE kernel compiled with pgcc failed to boot
Message-ID:  <199710041446.JAA00302@dcarmich.pr.mcs.net>

next in thread | raw e-mail | index | archive | help
When I tried compiling a kernel with -O -mpentium as the options in Makefile.i386, the compile went smoothly (i.e. didn't die) after removing NFS from the kernel config file, but when I tried to boot the new kernel, it showed the normal messages for a while, but then my screen got all scrambled and then my machine rebooted.
Here's the config file:
# My new kernel configuration (10/3/97)

machine		"i386"
cpu		"I586_CPU"
ident		NECVERSA-PGCC
maxusers	60

options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options         MFS                     #Memory 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		UCONSOLE		#Allow users to grab the console

options		SYSVSHM
options		SYSVSEM
options		SYSVMSG

# laptop-specific configuration
options		LAPTOP

# If your laptop have not had Windoze95-Ready BIOS, please update it.
# Such old BIOS'es sometimes have critical bugs at 32-bit protected
# mode APM BIOS interface (which have not used by Windoze 3.1).

# PC-card suspend/resume support (experimental)
options		APM_PCCARD_RESUME
options		PCIC_RESUME_RESET

# Keep power for serial cards when the system suspends
# (If your machine hangs up when you try to suspend the system with
#  FAX/Modem PCMCIA card, uncomment this option).
#options	SIO_SUSP_KEEP_PWR       

# Detach SCSI devices when the SCSI card is removed
options		SCSI_DETACH

# Don't suspend the system immediately before the system is resumed
# from suspended mode (Default 3 seconds)
options		"APM_NOSUSPEND_IMMEDIATE=3"

config		kernel	root on wd0 

controller	isa0
controller	pci0

controller	crd0
device		pcic0   at crd?
device		pcic1   at crd?
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
options         ATAPI		#Enable ATAPI support for IDE bus
options		ATAPI_STATIC	#Don't do it as an LKM
device          wcd0    #IDE CD-ROM
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

#
# Laptop support (see LINT for more options)
#
device		apm0    at isa?		# Advanced Power Management
options		APM_BROKEN_STATCLOCK	# Workaround some buggy APM BIOS

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 9 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr
device		psm0	at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr

# Sound devices
controller snd0
device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr
options SBC_IRQ=5
device sbxvi0 at isa? drq 5
device sbmidi0 at isa? port 0x330
device opl0 at isa? port 0x388

# 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.

pseudo-device	loop
pseudo-device   speaker
pseudo-device	ppp	2
pseudo-device	tun	2
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device	vn		#Vnode driver (turns a file into a device)

Here's the version of Pentium-GCC:
Reading specs from /usr/local/lib/gcc-lib/pentium-freebsd/2.7.2p/specs
gcc version 2.7.2p snapshot 970721

What gives?

       



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