Skip site navigation (1)Skip section navigation (2)
Date:      14 Jan 2003 17:26:13 +0000
From:      Ian Watkinson <ian.watkinson@ehsbrann.com>
To:        current <freebsd-current@freebsd.org>
Subject:   Kernel Config files
Message-ID:  <1042565173.32509.50.camel@pan.ehsbrann.com>

next in thread | raw e-mail | index | archive | help
Have the config of the kernel files changed?


If so is there a pointer as to what where, and how to convert old to
new?

Getting an error with a previously working one.

hecate# cd /usr/src
hecate# make buildkernel KERNCONF=PICTUREBOOKKERN
Running test variables
PASS: Test variables detected no regression, output matches.
Running test targets
PASS: Test targets detected no regression.
Running test sysvmatch
PASS: Test sysvmatch detected no regression.
Running test lhs_expn
PASS: Test lhs_expn detected no regression.
Running test notdef
PASS: Test notdef detected no regression.
Running test modifiers
PASS: Test modifiers detected no regression.
Running test funny_targets
PASS: Test funny_targets detected no regression.

--------------------------------------------------------------
>>> Kernel build for PICTUREBOOKKERN started on Tue Jan 14 17:13:55 GMT
2003
--------------------------------------------------------------
===> PICTUREBOOKKERN
mkdir -p /usr/obj/usr/src/sys
cd /usr/src/sys/i386/conf; 
PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/usr/obj/usr/src/make.i386:/sbin:/bin:/usr/sbin:/usr/bin  config  -d /usr/obj/usr/src/sys/PICTUREBOOKKERN  /usr/src/sys/i386/conf/PICTUREBOOKKERN
config: /usr/src/sys/i386/conf/PICTUREBOOKKERN:72: devices with zero
units are not likely to be correct
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
hecate#


Line 72 of that file is a comment and the lines above and below that are
as follows
# To make an SMP kernel, the next two are needed
#options        SMP                     # Symmetric MultiProcessor
Kernel
#options        APIC_IO                 # Symmetric (APIC) I/O

device          isa
#device         eisa
device          pci

# Floppy drives
device          fdc0    at isa? port IO_FD1 irq 6 drq 2
device          fd0     at fdc0 drive 0
device          fd1     at fdc0 drive 1
#
# If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy,
# don't use the above line for fdc0 but the following one:
#device         fdc0

# ATA and ATAPI devices
device          ata0    at isa? port IO_WD1 irq 14
device          ata1    at isa? port IO_WD2 irq 15
device          ata
device          atadisk                 # ATA disk drives
device          atapicd                 # ATAPI CDROM drives
device          atapifd                 # ATAPI floppy drives
device          atapist                 # ATAPI tape drives
options         ATA_STATIC_ID           #Static device numbering


Generic Kernel seems to buildkernel fine.

Thanks in advance for any help.




-- 

Ian Watkinson
Systems Administrator
EHS Brann


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?1042565173.32509.50.camel>