First time building new kernel 5.1-RELEASE
From: Edward Carmody (ecarmody_at_optonline.net)
Date: 02/12/04
- Previous message: Warren Block: "Re: Install on 486 with floppy reboots after mfsroot"
- Next in thread: Lowell Gilbert: "Re: First time building new kernel 5.1-RELEASE"
- Reply: Lowell Gilbert: "Re: First time building new kernel 5.1-RELEASE"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 11 Feb 2004 22:38:08 -0500 To: freebsd-questions@freebsd.org
Hi,
Trying to build a new kernel, having some
issues...
First, I tried to follow the FreeBSD Handbook,
Section 9.3, Procedure 1. Building a Kernel the
``Traditional'' Way; experienced the following
issue: =================================
[root@Oberon conf]# pwd /usr/src/sys/i386/conf
[root@Oberon conf]# config OBERON
config: OBERON:226: devices with zero units are
not likely to be correct [root@Oberon conf]#
=================================
So I looked at line 226 of OBERON, and I saw:
=================================
device pci
=================================
As far as I can tell, this line is exactly as it
appears in LINT; has tabs, not spaces, though I
thought whitespace was whitespace here.
I man config, and see that "The line numbers
reported in error messages are usually off by
one." I did not experience this with a previous
mistake, but here are the lines around line 226:
=================================
device isa
device eisa
device pci
device fdc0 at isa? port IO_FD1 irq 6
drq 2
device fd0 at fdc0 drive 0
device fd1 at fdc0 drive 1
=================================
Again, I don't see what's wrong.
So, I tried Procedure 2. Building a Kernel the
``New'' Way: ================================= #
cd /usr/src # make buildkernel KERNCONF=MYKERNEL #
make installkernel KERNCONF=MYKERNEL
=================================
This seemed to work, since it didn't report the
weirdness the first method did, but when I
rebooted, dmesg shows:
================================= Copyright (c)
1992-2003 The FreeBSD Project. Copyright (c) 1979,
1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
1994
The Regents of the University of
California. All rights reserved. FreeBSD
5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003
root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GEN
ERIC
=================================
This indicates that I'm not running the new
kernel, "OBERON", doesn't it? If I check
/usr/obj/usr/src/sys, I see:
=================================
[root@Oberon sys]# pwd /usr/obj/usr/src/sys
[root@Oberon sys]# ls GENERIC OBERON boot
[root@Oberon sys]#
=================================
Obviously I did something wrong; doesn't look like
I configured the machine to boot the new
kernel...but I can't find where the Handbook
addresses dumbasses like me...any help in pointing
me in the right direction is a greatly
appreciated.
Edward Carmody, CCNP
Systems Engineer
ShoreGroup
V: 315.234.4480 x2028
F: 646.349.3506
M: 845.649.7791
ecarmody@shoregroup.com
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: Warren Block: "Re: Install on 486 with floppy reboots after mfsroot"
- Next in thread: Lowell Gilbert: "Re: First time building new kernel 5.1-RELEASE"
- Reply: Lowell Gilbert: "Re: First time building new kernel 5.1-RELEASE"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|