Hi, As a total newbie, I am pushing my (lack of) knowledge to the limit as a way of learning more about FreeBSD... I had v6.1 release installed and a custom kernel. After the binary upgrade to v6.2, I tried to recreate the PPS kernel from updated sources, but got: | ../../../dev/mii/ip1000phy.c | ../../../dev/mii/ip1000phy.c: In function `ip1000phy_probe': | ../../../dev/mii/ip1000phy.c:91: error: `MII_OUI_ICPLUS' undeclared (first use in this function) | ../../../dev/mii/ip1000phy.c:91: error: (Each undeclared identifier is reported only once | ../../../dev/mii/ip1000phy.c:91: error: for each function it appears in.) | ../../../dev/mii/ip1000phy.c:92: error: `MII_MODEL_ICPLUS_IP1000A' undeclared (first use in this function) | ../../../dev/mii/ip1000phy.c:93: error: `MII_STR_ICPLUS_IP1000A' undeclared (first use in this function) | *** Error code 1 | | Stop in /usr/src/sys/i386/compile/MINIMUM_PPS. Using this method: | config MINIMUM_PPS | cd ../compile/MINIMUM_PPS | make cleandepend | make depend | make | make install MINIMUM_PPS had compiled OK on 6.1 and this is the only way I have tried to create a custom kernel so far. I had run cvsup to register the existing 6.1 release, and then again to update to the latest 6.2 stable. I can post the supfiles, if it would help - it's also the first time I've used cvsup... As an experiment, I have just started a buildworld to see if that will fix the problem. That is likely to take a while on my AMD5x86 machine so, while i am waiting, I thought I would ask if anyone can see where I went wrong. Cheers
Skipped content of type multipart/signed-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 224 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060925/4e3cece4/attachment-0001.pgp
On Mon, 25 Sep 2006 15:48:08 -0700, "Kevin Oberman" <oberman@es.net> wrote:>Unfortunately, I have already deleted the bounce message. I may get >another when I send this.Don't worry, I tried sending a test message from a gmail account and it bounced too. I've changed the mailbox in my address to something else.>About the only thing you should put in make.conf is the name of your >kernel config file: >KERNCONF=MY_SYS would cause the config file /sys/i386/conf/MY_SYS to be >used, assuming it's an i386 system.OK. Is that equivalent to declaring it as a make command parameter: | make buildkernel KERNCONF=MY_SYS or do I really need to put it in make.conf?>Are you sure that your kernel and world are in sync?I'm not sure I understand what 'in sync' really means. I upgraded the system from 6.1 release using the 6.2 pre-release ISOs which upgraded the binaries and installed the GENERIC kernel, but refused to upgrade the sources - so I then ran cvsup to update the sources using a supfile based on stable-supfile. Machine is 120 MHz and make buildworld is ongoing - should be time for another cup of tea I think! The only significant changes to GENERIC I need are: options PPS_SYNC options HZ=100 Cheers Geoff
On Tue, 26 Sep 2006 10:38:43 -0700, "Kevin Oberman" <oberman@es.net> wrote: [...]>> >About the only thing you should put in make.conf is the name of your >> >kernel config file: >> >KERNCONF=MY_SYS would cause the config file /sys/i386/conf/MY_SYS to be >> >used, assuming it's an i386 system. >> >> OK. Is that equivalent to declaring it as a make command parameter: >> | make buildkernel KERNCONF=MY_SYS >> or do I really need to put it in make.conf? > >It's the equivalent. It just allows you to leave it off of the make >command and i entirely optional. (Note that /etc/make.conf does not even >exist by default, but will be created if you install Perl.)[...]> >By "in-sync", I mean that world and kernel were either built from the >same sources or you understand any changes well enough to know that >there will be no adverse impact. (Unless you are hacking kernel code, >the second option is null and the sources should be the same.) > >If I understand what you did, you now have a 6.1 world and >6.2-PRERELEASE kernel. This is not likely to work well, I'm afraid. :-( > >FWIW, I have an AMD K6 at home and it's pretty painfully slow building >world or the kernel on that system (and it's 450 MHz). You don't even >want to think about building Gnome!Well, buildworld fell over - but was just that I ran out of space on /usr. Instead of building world again, I decided to: | make clean | make buildkernel KERNCONF=MYKERNEL | make installkernel KERNCONF=MYKERNEL That all completed successful. I had assumed that: | make buildkernel KERNCONF=MYKERNEL was equivalent to: | config MYKERNEL | cd ../compile/MYKERNEL | make cleandepend | make depend | make and would fall over too without building world first, but it seems not. Thanks for your help. Geoff