Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jan 2003 18:34:02 +0100
From:      "Matty" <matty@cust.6.253.adsl.cistron.nl>
To:        ian.watkinson@ehsbrann.com, current <freebsd-current@FreeBSD.ORG>
Subject:   Re: Kernel Config files
Message-ID:  <20030114173402.M87222@cust.6.253.adsl.cistron.nl>
In-Reply-To: <1042565155.32509.48.camel@pan.ehsbrann.com>
References:  <1042565155.32509.48.camel@pan.ehsbrann.com>

next in thread | previous in thread | raw e-mail | index | archive | help
you need to update the config file

its in /usr/src/usr.sbin/config

simple make install and this little error is fixt 




On 14 Jan 2003 17:26:13 +0000, Ian Watkinson wrote
> 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



--
Open WebMail Project (http://openwebmail.org)


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?20030114173402.M87222>