Re: How to build 9.0 from source?

2012-02-07 Thread ill...@gmail.com
On 5 February 2012 09:15, james ja...@mansionfamily.plus.com wrote:
 I installed 9.0 without sources.

 Now I'd like to try building the kernel (or specifically the mfi driver), so
 I've tried to get the sources.

 The handbook says (in 9.55) to use sysinstall to get the source
 configuration - but that doesn't seem to work and what its trying to fetch
 seems more like an 8.x source set

As a general rule, avoid sysinstall.  And once you've
successfully installed the system, definitely don't try
to use sysinstall for anything.  It does involve learning
a thousand difference commands, but it's worth it.

The most direct method is as outbackdi...@gmail.com
said: edit up a supfile  run csup(1).

You can also download the relevant src.txz from your
favourite ftp server,  extract it (tar xpf etc etc).

Or even go whole hog  pull it down via svn (this
does take up about double the space, though).

-- 
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


How to build 9.0 from source?

2012-02-05 Thread james

I installed 9.0 without sources.

Now I'd like to try building the kernel (or specifically the mfi 
driver), so I've tried to get the sources.


The handbook says (in 9.55) to use sysinstall to get the source 
configuration - but that doesn't seem to work and what its trying to 
fetch seems more like an 8.x source set,


I fetched src.txz and unpacked it and sorted out the /usr/src/sys link, 
and 'make' in the root of that builds the boot code ok.


However, there is no /usr/src/UPDATING to check per 9.5, and 'cd 
/usr/src;make buildkernel' tells me:


make: don't know how t make buildkerel. Stop.

/usr/src was empty before I set up the 'sys' link (which in my case 
points to a zfs volume).


It seems wrong to m - how can I get sources etc installed so I can build 
the kernel? (And userspace if necessary - but its the mfi driver I want 
to fiddle with)


James
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to build 9.0 from source?

2012-02-05 Thread Outback Dingo
On Sun, Feb 5, 2012 at 9:15 AM, james ja...@mansionfamily.plus.com wrote:
 I installed 9.0 without sources.

 Now I'd like to try building the kernel (or specifically the mfi driver), so
 I've tried to get the sources.

 The handbook says (in 9.55) to use sysinstall to get the source
 configuration - but that doesn't seem to work and what its trying to fetch
 seems more like an 8.x source set,

 I fetched src.txz and unpacked it and sorted out the /usr/src/sys link, and
 'make' in the root of that builds the boot code ok.

 However, there is no /usr/src/UPDATING to check per 9.5, and 'cd
 /usr/src;make buildkernel' tells me:

 make: don't know how t make buildkerel. Stop.

 /usr/src was empty before I set up the 'sys' link (which in my case points
 to a zfs volume).

 It seems wrong to m - how can I get sources etc installed so I can build the
 kernel? (And userspace if necessary - but its the mfi driver I want to
 fiddle with)

look in /usr/share/examples/cvsup theres files for csup, edit them to
your needs, cvsup server and release

the run csup -g 2 -L stable-supfile

itll fetch all the sources...

also see http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html




 James
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to build 9.0 from source?

2012-02-05 Thread Warren Block

On Sun, 5 Feb 2012, james wrote:


I installed 9.0 without sources.

Now I'd like to try building the kernel (or specifically the mfi driver), so 
I've tried to get the sources.


The handbook says (in 9.55) to use sysinstall to get the source configuration 
- but that doesn't seem to work and what its trying to fetch seems more like 
an 8.x source set,


Yes, those instructions need to be updated.  sysinstall doesn't work for 
fetching 9.0 source.  Here's a post I wrote in the forums that shows 
three ways to retrieve the 9.0 source:


http://forums.freebsd.org/showthread.php?t=29172
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to build 9.0 from source?

2012-02-05 Thread Warren Block

On Sun, 5 Feb 2012, james wrote:


I installed 9.0 without sources.

Now I'd like to try building the kernel (or specifically the mfi driver),
so 

I've tried to get the sources.

The handbook says (in 9.55) to use sysinstall to get the source
configuration 

- but that doesn't seem to work and what its trying to fetch seems more
like 

an 8.x source set,


Yes, those instructions need to be updated.  sysinstall doesn't work for 
fetching 9.0 source.  Here's a post I wrote in the forums that shows 
three ways to retrieve the 9.0 source:


http://forums.freebsd.org/showthread.php?t=29172
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org