Re: make buildworld failure

2005-12-13 Thread Andreas Rudisch
On Tue, 2005-12-13 at 09:54 -0600, Dan Ross wrote:
> I am trying to build a new kernel with smp.  I started with make clean 
> and got no errors.
> I then type make buildworld from /usr/src directory

> suggestions?

1. You do not need to recompile world if you only want to build a new
kernel with smp support.

2. read:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
especially chapter 20.4.10 and 20.4.16.6.

Andreas

-- 
GnuPG key  : 0x2A573565  |  http://cyb.websimplex.de/pubkey.asc
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


signature.asc
Description: This is a digitally signed message part


Re: Make buildworld failure

2003-08-20 Thread Lowell Gilbert
Jud <[EMAIL PROTECTED]> writes:

> I'm diving in late here, always a chancy thing, but what's the reason
> for both "*default  tag=RELENG_4_8" and "*default tag=." in one
> supfile?


The former is for src-base, and the latter is for the docs and ports.
Neither of those have a RELENG_4_8 tag.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Make buildworld failure

2003-08-20 Thread Lucas Holt

I have /, /usr/src, and /usr/obj on 3 different HDs/controllers and
using -j? is still 10-20% slower than not using it.. On my systems, it
only speeded things up when I had more than 1 cpu.
Kent

-j flag should speed things up on a multi-processor system quite a bit. 
 It allows the work to be distributed on both processors.  I have used 
it for buildworlds on freebsd 4.7 and 4.8 builds without a problem.  
Perhaps it depends what OS version you are using.. maybe 5.x has 
problems?  In any rate, it works and is faster on my single processor 
1.2 gig celeron with 256mb ram.  (almost twice as fast actually)

I follow the handbook during builds.

Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
"Only two things are infinite, the universe and human stupidity, and 
I'm not sure about the former."
- Albert Einstein (1879-1955)

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Make buildworld failure

2003-08-20 Thread Kent Stewart
On Tuesday 19 August 2003 09:10 pm, Tillman Hodgson wrote:
> On Tue, Aug 19, 2003 at 09:03:11PM -0400, Jud wrote:
> > On Tue, 19 Aug 2003 15:49:38 -0500, Charles Howse
> > <[EMAIL PROTECTED]>
> >
> > wrote:
> > > Very interesting.
> > > On page 490 of "FreeBSD Unleashed" it references the -j4
> > > parameter as a way to speed up the make buildworld process by
> > > spawning multiple simultaneous processes.
> > >
> > > The same thing is referenced in Chapter 20 of the FreeBSD
> > > Handbook.
> > >
> > > Is this now depreciated?
> >
> > Whether deprecated or not, many posts to this mailing list have
> > said -j4 doesn't speed up "make buildworld" anyway, and that's been
> > my experience. I'm sure it depends on your setup.
>
> To use -j effectively, try putting /usr/obj and /usr/src on different
> drives (ideally, on drives dedicated to the task, meaning a third
> drive for the OS itself) and testing with `time make buildkernel -jX`
> (where X is greater than 1).  You should see a measurable decrease in
> compile time even on a single CPU system simply because you can keep
> both disks busier.
>
> On the other hand, if you have only a single CPU and a single disk
> and one or the other is maxed out it's unlikely that using -j will
> help (as you've seen).
>
> Chapter 18 of _Absolute BSD_ (Michael Lucas) has a description of
> tuning buildkernel. If you compare the output of `top` with `vmstat
> 5` while building without -j on a box with a reasonably fast CPU and
> a single disk you'll probably see that the CPU is idle for some
> percentage of the time, but the number of items under the 'b' column
> in vmstat is occassionally above 0. This means that the CPU has
> cycles available yet tasks are blocking on disk: classic disk IO
> bottlenecking.
>
> 'Course, as I say all this, building with -j on sparc64 is broken in
> -CURRENT at the moment so I'm not using -j for a while. Heh. It's
> handy when it works :-)
>

I have /, /usr/src, and /usr/obj on 3 different HDs/controllers and 
using -j? is still 10-20% slower than not using it.. On my systems, it 
only speeded things up when I had more than 1 cpu.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Make buildworld failure

2003-08-19 Thread Jud
On Mon, 18 Aug 2003 19:35:26 -0700, Kent Stewart <[EMAIL PROTECTED]> wrote:

On Monday 18 August 2003 07:29 pm, Charles Howse wrote:
> > What have I done wrong?
>
> What did you cvsup and are you running as root when you try
> to build it.
Here's my /etc/cvsupfile, I ran /usr/local/cvsup -g -L 2
/etc/cvsupfile, and yes, I'm runnig as root.
*default  host=cvsup11.FreeBSD.org
*default  base=/usr
*default  prefix=/usr
*default  release=cvs
*default  tag=RELENG_4_8
*default  delete use-rel-suffix
src-base
*default tag=.
ports-all
doc-all
If you want to do a buildworld, you will need the source for "src-all".
It sounds like make tried to cd to a directory that didn't exist.
BTW, my /etc/make.conf only has the compat's and noprofile in it.

Kent
I'm diving in late here, always a chancy thing, but what's the reason for 
both "*default  tag=RELENG_4_8" and "*default tag=." in one supfile?

Jud

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Make buildworld failure

2003-08-19 Thread Tillman Hodgson
On Tue, Aug 19, 2003 at 09:03:11PM -0400, Jud wrote:
> On Tue, 19 Aug 2003 15:49:38 -0500, Charles Howse <[EMAIL PROTECTED]> 
> wrote:
> > Very interesting.
> > On page 490 of "FreeBSD Unleashed" it references the -j4 parameter as a
> > way to speed up the make buildworld process by spawning multiple
> > simultaneous processes.
> >
> > The same thing is referenced in Chapter 20 of the FreeBSD Handbook.
> >
> > Is this now depreciated?
> 
> Whether deprecated or not, many posts to this mailing list have said -j4 
> doesn't speed up "make buildworld" anyway, and that's been my experience.  
> I'm sure it depends on your setup.

To use -j effectively, try putting /usr/obj and /usr/src on different
drives (ideally, on drives dedicated to the task, meaning a third drive
for the OS itself) and testing with `time make buildkernel -jX` (where X
is greater than 1).  You should see a measurable decrease in compile
time even on a single CPU system simply because you can keep both disks
busier.

On the other hand, if you have only a single CPU and a single disk and
one or the other is maxed out it's unlikely that using -j will help (as
you've seen).

Chapter 18 of _Absolute BSD_ (Michael Lucas) has a description of tuning
buildkernel. If you compare the output of `top` with `vmstat 5` while
building without -j on a box with a reasonably fast CPU and a single
disk you'll probably see that the CPU is idle for some percentage of the
time, but the number of items under the 'b' column in vmstat is
occassionally above 0. This means that the CPU has cycles available yet
tasks are blocking on disk: classic disk IO bottlenecking.

'Course, as I say all this, building with -j on sparc64 is broken in
-CURRENT at the moment so I'm not using -j for a while. Heh. It's handy
when it works :-)

-T


-- 
"Surely the 4 sysadmins of the apocalypse should be:
 edquota, rm -rf, kill -9, and shutdown."
- Rob Blake
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Make buildworld failure

2003-08-19 Thread Jud
On Tue, 19 Aug 2003 15:49:38 -0500, Charles Howse <[EMAIL PROTECTED]> 
wrote:

> cd /usr/src
> make buildworld (drat, I should have done make -j4 buildworld!)
Actually, no, don't do the -j4 - I think that's why it worked.
I was fiddling with the -j flag once and ran into a bunch of
problems, when it was pointed out that this isn't a "supported"
way of doing a make buildworld. I stopped using it and all was
well.
Very interesting.
On page 490 of "FreeBSD Unleashed" it references the -j4 parameter as a
way to speed up the make buildworld process by spawning multiple
simultaneous processes.
The same thing is referenced in Chapter 20 of the FreeBSD Handbook.

Is this now depreciated?
Whether deprecated or not, many posts to this mailing list have said -j4 
doesn't speed up "make buildworld" anyway, and that's been my experience.  
I'm sure it depends on your setup.

Jud
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Make buildworld failure

2003-08-19 Thread Jonathan Arnold
Charles Howse wrote:
cd /usr/src
make buildworld (drat, I should have done make -j4 buildworld!)
Actually, no, don't do the -j4 - I think that's why it worked.
I was fiddling with the -j flag once and ran into a bunch of
problems, when it was pointed out that this isn't a "supported"
way of doing a make buildworld. I stopped using it and all was
well.
Very interesting.
On page 490 of "FreeBSD Unleashed" it references the -j4 parameter as a
way to speed up the make buildworld process by spawning multiple
simultaneous processes.
The same thing is referenced in Chapter 20 of the FreeBSD Handbook.

Is this now depreciated?
In fact, "FreeBSD Unleashed" is where I first saw it, and got caught
by it.
--
Jonathan Arnold   (mailto:[EMAIL PROTECTED])
http://www.TheWargamer.com || http://www.iSimulacrum.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Make buildworld failure

2003-08-19 Thread Charles Howse
> > cd /usr/src
> > make buildworld (drat, I should have done make -j4 buildworld!)
> 
> Actually, no, don't do the -j4 - I think that's why it worked.
> I was fiddling with the -j flag once and ran into a bunch of
> problems, when it was pointed out that this isn't a "supported"
> way of doing a make buildworld. I stopped using it and all was
> well.

Very interesting.
On page 490 of "FreeBSD Unleashed" it references the -j4 parameter as a
way to speed up the make buildworld process by spawning multiple
simultaneous processes.

The same thing is referenced in Chapter 20 of the FreeBSD Handbook.

Is this now depreciated?


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Make buildworld failure

2003-08-19 Thread Jonathan Arnold
Charles Howse wrote:
cd /usr/src
make buildworld (drat, I should have done make -j4 buildworld!)
Actually, no, don't do the -j4 - I think that's why it worked.
I was fiddling with the -j flag once and ran into a bunch of
problems, when it was pointed out that this isn't a "supported"
way of doing a make buildworld. I stopped using it and all was
well.
--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD blog:
http://freebsd.amazingdev.com/blog


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Make buildworld failure

2003-08-19 Thread Charles Howse
At 7:00 AM this morning, I began to re-install 4.8-RELEASE.
Installed as usual, removed unnecessary drivers, FTP from default site,
installed cvsup-without-gui and portupgrade from packages.

After installation finished, I configured my /etc/cvsupfile and cvsup'ed
src-all, ports, and docs.

I copied /etc/defaults/make.conf to /etc/make.conf and uncommented the
following lines:
CFLAGS= -O -pipe
NOPROFILE= true
USA_RESIDENT= yes

cd /usr/src
make buildworld (drat, I should have done make -j4 buildworld!)

After that finished, I copied my saved CUSTOM kernel config to
/usr/src/sys/i386/conf

make buildkernel KERNCONF=CUSTOM
make installkernel KERNCONF=CUSTOM
make installworld
Cp -Rr /etc /etc.old
/usr/sbin/mergemaster -v -w 132 (132 is not correct, screen width is 80)
Cd /dev
./MAKEDEV all
Cd /usr/src/release/sysinstall
Make clean
Make install
Reboot!

At 1:30 PM
Yea.!!!  FreeBSD 4.8-p3 
No errors at all during compile, system seems to work properly!

Now fiddling with portupgrade.

Thanks again to all who responded so unselfishly!



Thanks,
Charles


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Make buildworld failure

2003-08-18 Thread Kent Stewart
On Monday 18 August 2003 07:41 pm, Charles Howse wrote:
> > > *default  host=cvsup11.FreeBSD.org
> > > *default  base=/usr
> > > *default  prefix=/usr
> > > *default  release=cvs
> > > *default  tag=RELENG_4_8
> > > *default  delete use-rel-suffix
> > >
> > > src-base
> > > *default tag=.
> > > ports-all
> > > doc-all
> >
> > If you want to do a buildworld, you will need the source for
> > "src-all".
> > It sounds like make tried to cd to a directory that didn't exist.
> >
> > BTW, my /etc/make.conf only has the compat's and noprofile in it.
>
> OK, that's not too bad an error.  As a hobbyist, I have no fear of
> re-installing, and I'm *determined* to get this right from install to
> everyday use.
>
> I'll do a fresh install tomorrow morning, edit the cvsupfile, and
> change src-base to scr-all, cvsup, and try again.
>
> The only lines I uncommented in make.conf are:
> CFLAGS= -O -pipe
> NOPROFILE= true
> USA_RESIDENT= yes
>
> Good?

I have the following 
USA_RESIDENT=YES
HAVE_MOTIF=YES
USE_128BIT=YES
COMPAT22=yes
COMPAT3x=yes
COMPAT4x=yes

I think USA and 128BIT doesn't mean anything anymore but I would have to 
know better to remove it :). MOTIF is there because I have the 
open-Motif installed. I started at 2.2.8 and have added the new compat 
everytime we went to a new level.

You also need to rebuild INDEX everytime you cvsup ports. I have them in 
separate scripts for that reason. I use portgrade and do

cd /usr/ports
make index
portsdb -u 

after each cvsup of ports-all.

If you do this, add ports/INDEX in your ports-all refuse file. If you 
don't, everytime you cvsup, you transfer an old version of INDEX (~3MB) 
onto your system.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Make buildworld failure

2003-08-18 Thread Charles Howse
> > *default  host=cvsup11.FreeBSD.org
> > *default  base=/usr
> > *default  prefix=/usr
> > *default  release=cvs
> > *default  tag=RELENG_4_8
> > *default  delete use-rel-suffix
> >
> > src-base
> > *default tag=.
> > ports-all
> > doc-all
> >
> 
> If you want to do a buildworld, you will need the source for 
> "src-all". 
> It sounds like make tried to cd to a directory that didn't exist.
> 
> BTW, my /etc/make.conf only has the compat's and noprofile in it.

OK, that's not too bad an error.  As a hobbyist, I have no fear of
re-installing, and I'm *determined* to get this right from install to
everyday use.

I'll do a fresh install tomorrow morning, edit the cvsupfile, and change
src-base to scr-all, cvsup, and try again.

The only lines I uncommented in make.conf are:
CFLAGS= -O -pipe
NOPROFILE= true
USA_RESIDENT= yes

Good?


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Make buildworld failure

2003-08-18 Thread Kent Stewart
On Monday 18 August 2003 07:29 pm, Charles Howse wrote:
> > > What have I done wrong?
> >
> > What did you cvsup and are you running as root when you try
> > to build it.
>
> Here's my /etc/cvsupfile, I ran /usr/local/cvsup -g -L 2
> /etc/cvsupfile, and yes, I'm runnig as root.
>
> *default  host=cvsup11.FreeBSD.org
> *default  base=/usr
> *default  prefix=/usr
> *default  release=cvs
> *default  tag=RELENG_4_8
> *default  delete use-rel-suffix
>
> src-base
> *default tag=.
> ports-all
> doc-all
>

If you want to do a buildworld, you will need the source for "src-all". 
It sounds like make tried to cd to a directory that didn't exist.

BTW, my /etc/make.conf only has the compat's and noprofile in it.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Make buildworld failure

2003-08-18 Thread Charles Howse
> > What have I done wrong?
> >
> 
> What did you cvsup and are you running as root when you try 
> to build it.

Here's my /etc/cvsupfile, I ran /usr/local/cvsup -g -L 2 /etc/cvsupfile,
and yes, I'm runnig as root.

*default  host=cvsup11.FreeBSD.org
*default  base=/usr
*default  prefix=/usr
*default  release=cvs
*default  tag=RELENG_4_8
*default  delete use-rel-suffix

src-base
*default tag=.
ports-all
doc-all


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Make buildworld failure

2003-08-18 Thread Kent Stewart
On Monday 18 August 2003 07:04 pm, Charles Howse wrote:
> Hi,
> I've done a fresh install, with ports, cvsup'ed the source, ports and
> docs.
>
> I've copied /etc/defaults/make.conf to /etc/make.conf and edited it
> according to directions.
>
> I have no files in /usr/obj to remove.
>
> I cd to /usr/src and do make -j4 buildworld
>
> It fails after 1 or 2 seconds.  I don't have a way to copy the script
> file I started to Windows to show it to you, but it ends with: can't
> cd to /usr/src/usr.bin/yacc
> Error Code 2
> 1 Error
> (2 more repititions of theses lines)
>
> What have I done wrong?
>

What did you cvsup and are you running as root when you try to build it.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Make buildworld failure...no inodes free! Do I have to pay?

2003-07-15 Thread Supote Leelasupphakorn
 --- [EMAIL PROTECTED] wrote: > Hi all,
> Damn mbworld failed.
> I did note that after dropping to su mode fsck -p
> did not much more than
> reports
> /dev/ad0s1a :NO WRITE ACCESS
> /dev/ad0s1A :UNEXPECTED INCONSISTENCY ;RUN FSCK
> MANUALLY
> 
> Then the script from makebuild showed up
> usr : create/symlink failed, no inodes free
> Then the wheels fell of the wagon!
> 
> I tried fsck / but NO WRITE still
> I tried mount -a /
> then fsck /
> But no dice...
> If only I knew what the... I was doing.
> Help required and gratefully acknowledged
> 
> Keith
> 


   This is not much useful but perhaps give you the
direction.

   It seems size of / (root partition) is too small.
Try to delete the unused files there. You can see your
number of free inode(in %) from the output of 
command "df -i". 

Cheers,

 



Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: make buildworld failure...

2003-02-19 Thread Asenchi
Sorry, I should have reported...

I just did another update, (with the same file) and used the GENERIC
kernel to build it.  Then reconfig'd my kern.

This fixed it.  Thanks for all of your help.

Curt Micol

On Wed, 2003-02-19 at 17:16, Kris Kennaway wrote:
> On Tue, Feb 18, 2003 at 08:43:48PM -0500, Asenchi wrote:
> > I am not quite sure how I did this, considering I put:
> > 
> > RELENG_4 in my sup file...
> > 
> > Ok, so let me see if I can fix this, I would appreciate it if you
> > could correct me if I am wrong.
> > 
> > So I need to tag=RELENG_4 in my make file.  Why didn't this work the
> > first time?  I used the file recommended in the handbook here:
> > ftp://ftp.jp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/share/example
> > s/cvsup/stable-supfile
> > 
> > Why would this go to 5.0?
> 
> I'd have to see the exact file you used.
> 
> Kris



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: make buildworld failure...

2003-02-19 Thread Kris Kennaway
On Tue, Feb 18, 2003 at 08:43:48PM -0500, Asenchi wrote:
> I am not quite sure how I did this, considering I put:
> 
> RELENG_4 in my sup file...
> 
> Ok, so let me see if I can fix this, I would appreciate it if you
> could correct me if I am wrong.
> 
> So I need to tag=RELENG_4 in my make file.  Why didn't this work the
> first time?  I used the file recommended in the handbook here:
> ftp://ftp.jp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/share/example
> s/cvsup/stable-supfile
> 
> Why would this go to 5.0?

I'd have to see the exact file you used.

Kris



msg19919/pgp0.pgp
Description: PGP signature


RE: make buildworld failure...

2003-02-18 Thread Asenchi
I am not quite sure how I did this, considering I put:

RELENG_4 in my sup file...

Ok, so let me see if I can fix this, I would appreciate it if you
could correct me if I am wrong.

So I need to tag=RELENG_4 in my make file.  Why didn't this work the
first time?  I used the file recommended in the handbook here:
ftp://ftp.jp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/share/example
s/cvsup/stable-supfile

Why would this go to 5.0?

Curt Micol

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Kris Kennaway
> Sent: Tuesday, February 18, 2003 8:00 PM
> To: Asenchi
> Cc: [EMAIL PROTECTED]
> Subject: Re: make buildworld failure...
>
>
> On Tue, Feb 18, 2003 at 03:42:45PM -0500, Asenchi wrote:
>
> > I get this error:
> > 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/us
> r/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/
> usr/bin  config  -d /usr/obj/usr/src/sys/PALEA
> /usr/src/sys/i386/conf/PALEA
> > config: /usr/src/sys/i386/conf/PALEA:76: devices with
> zero units are not
> > likely to be correct
> > *** Error code 1
>
> You are trying to build a FreeBSD 5.0 kernel from a FreeBSD 4.x (or
> older) kernel configuration file.  This will not work :-)
>
> Did you really mean to upgrade to 5.0?
>
> Kris
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: make buildworld failure...

2003-02-18 Thread Kris Kennaway
On Tue, Feb 18, 2003 at 03:42:45PM -0500, Asenchi wrote:

> I get this error:
> 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:/sbin:/bin:/usr/sbin:/usr/bin
>  config  -d /usr/obj/usr/src/sys/PALEA  /usr/src/sys/i386/conf/PALEA
> config: /usr/src/sys/i386/conf/PALEA:76: devices with zero units are not
> likely to be correct
> *** Error code 1

You are trying to build a FreeBSD 5.0 kernel from a FreeBSD 4.x (or
older) kernel configuration file.  This will not work :-)

Did you really mean to upgrade to 5.0?

Kris



msg19796/pgp0.pgp
Description: PGP signature


Re: make buildworld failure...

2003-02-18 Thread Asenchi
On Tue, 2003-02-18 at 15:58, IAccounts wrote:
> > I went to my kernel to look at line 76 and this is where it put me
> > (using vi):
> >
> > (Cursor here)#Floppy Drives
> > device  fdc0at isa? port IO_FD1 irq 6 drq 2
> > device  fd0 at fdc0 drive 0
> > device  fd1 at fdc0 drive 1
> >
> > I can't figure this out.  As there is not 0 in the "#Floppy Drives"
> > line.
> 
> Post the few lines leading up to line 76. Many times, (I have noticed) a
> compiler will pooch on a line and give the line number of the following
> line.

I didn't see anything there, but take a look.

# To make an SMP kernel, the next two are needed
#optionsSMP # Symmetric MultiProcessor
Kernel
#optionsAPIC_IO # Symmetric (APIC) I/O

device  isa
device  eisa
device  pci

#Floppy Drives
device  fdc0at 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  ata0at isa? port IO_WD1 irq 14
device  ata1at isa? port IO_WD2 irq 15

Is it just me that finds this strange?  Thanks. Curt Micol
 
> Perhaps this is the case here.
> 
> Steve
> 
> 
> >
> > Here is:
> >
> > palea# uname -a
> > FreeBSD palea.grebner.com 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Mon Feb 10
> > 16:10:13 EST 2003
> > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PALEA  i386
> >
> > If there is anything else you need me to provide let me know.  Thank you
> > for any advice/suggestions you can give.
> >
> > I love this os. Curt Micol
> >
> >
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body of the message
> >
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: make buildworld failure...

2003-02-18 Thread IAccounts
> I went to my kernel to look at line 76 and this is where it put me
> (using vi):
>
> (Cursor here)#Floppy Drives
> device  fdc0at isa? port IO_FD1 irq 6 drq 2
> device  fd0 at fdc0 drive 0
> device  fd1 at fdc0 drive 1
>
> I can't figure this out.  As there is not 0 in the "#Floppy Drives"
> line.

Post the few lines leading up to line 76. Many times, (I have noticed) a
compiler will pooch on a line and give the line number of the following
line.

Perhaps this is the case here.

Steve


>
> Here is:
>
> palea# uname -a
> FreeBSD palea.grebner.com 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Mon Feb 10
> 16:10:13 EST 2003
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PALEA  i386
>
> If there is anything else you need me to provide let me know.  Thank you
> for any advice/suggestions you can give.
>
> I love this os. Curt Micol
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message