Re: Network booting with PXE

2004-02-01 Thread User Mike
 Did you recompile your kernel with options:

 options BOOTP  # Use BOOTP to obtain IP address/hostname
 options BOOTP_NFSROOT  # NFS mount root filesystem using BOOTP info
 options BOOTP_COMPAT   # Workaround for broken bootp daemons.

Yes, I did. How else would the other machines work fine.

 By the way, how much RAM do you have in those machines?  I have found
 that I get by fine with no swap at all using as little as 32MB - though
 I am using Linux diskless terminals, but this shouldn't matter.

At least 64 MB, but up to 256 MB depending on usage/purpose of machine.
The main reason I wanted to add swap was because when the machines aren't
in heavy use they run MPI programs. As most people know at heavy usage
they almost always need swap!

Don't focus on the swap as it isn't the issue. My problem is that FBSD
won't mount root over NFS if a local hard drive is present. All I want to
know is how to bypass the check!


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


Network booting with PXE

2004-01-26 Thread User Mike
I've succesfully put up 4 diskless machines to boot up 4.9-release thru
PXE. They all work almost flawlessly. But when I connected an old 1GB hard
drive into one of them for swap, as NFS swap is a bit slow, it hangs for
some reason at trying to mount the hard drive as / at boot up.

Dmesg reports on all diskless machines:
Adjusted interface xl0
Shutdown interface faith0
Mounting root from ufs:/dev/ad0s1a
no such device 'ad'
setrootbyname failed
ffs_mountroot: can't find rootvp
Root mount failed: 6
Mounting root from nfs:
NFS ROOT: 10.0.10.1:/var/diskless

But on the machine I added disk for swap it never gets past no such
device 'a0' because it exists and calls reset of ata0 and something and
hangs there until reset button is pressed.

I'd like to know if there is a way to not try to mount root on local disks
and only NFS. Should this be done in kernel or loader ...? Since the
machine simply sits there I'd appreciate any suggestions.


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


Re: Network booting with PXE

2004-01-26 Thread Nathan Kinkade
On Sun, Jan 25, 2004 at 08:27:38PM +0200, User Mike wrote:
 I've succesfully put up 4 diskless machines to boot up 4.9-release thru
 PXE. They all work almost flawlessly. But when I connected an old 1GB hard
 drive into one of them for swap, as NFS swap is a bit slow, it hangs for
 some reason at trying to mount the hard drive as / at boot up.
 
 Dmesg reports on all diskless machines:
 Adjusted interface xl0
 Shutdown interface faith0
 Mounting root from ufs:/dev/ad0s1a
 no such device 'ad'
 setrootbyname failed
 ffs_mountroot: can't find rootvp
 Root mount failed: 6
 Mounting root from nfs:
 NFS ROOT: 10.0.10.1:/var/diskless
 
 But on the machine I added disk for swap it never gets past no such
 device 'a0' because it exists and calls reset of ata0 and something and
 hangs there until reset button is pressed.
 
 I'd like to know if there is a way to not try to mount root on local disks
 and only NFS. Should this be done in kernel or loader ...? Since the
 machine simply sits there I'd appreciate any suggestions.

Did you recompile your kernel with options:

options BOOTP  # Use BOOTP to obtain IP address/hostname
options BOOTP_NFSROOT  # NFS mount root filesystem using BOOTP info
options BOOTP_COMPAT   # Workaround for broken bootp daemons.

By the way, how much RAM do you have in those machines?  I have found
that I get by fine with no swap at all using as little as 32MB - though
I am using Linux diskless terminals, but this shouldn't matter.

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0.pgp
Description: PGP signature


Network booting?

2003-12-16 Thread Eric F Crist
Hello all,

I looked in the handbook, and didn't see anything about doing a network
boot on a PC from a freebsd server.  Is this at all a possibility?

Eric F Crist
President
AdTech Integrated Systems, Inc
(612) 998-3588




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


Re: Network booting?

2003-12-16 Thread pcasidy
On 16 Dec, Eric F Crist wrote:
 Hello all,
 
 I looked in the handbook, and didn't see anything about doing a network
 boot on a PC from a freebsd server.  Is this at all a possibility?
 

Besides the handbook there are a lot of useful books and articles:
http://www.freebsd.org/docs.html#articles

search for the PXE Booting article and look at all the available
articles ;)

Phil.

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


Re: Network booting?

2003-12-16 Thread Mike Galvez
On Tue, Dec 16, 2003 at 10:13:18AM -0600, Eric F Crist wrote:
 Hello all,
 
 I looked in the handbook, and didn't see anything about doing a network
 boot on a PC from a freebsd server.  Is this at all a possibility?

A member of our local Unix users group presented a talk on this subject
not too long ago. You may find the slides useful.

http://www.chuug.org/talks/20030722/netboot.pdf

 
 Eric F Crist
 President
 AdTech Integrated Systems, Inc
 (612) 998-3588
 
 
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
Michael Galvez http://www.people.virginia.edu/~mrg8n
Information Technology Specialist Office: 434-982-2975 
Financial AnalysisE-Mail: [EMAIL PROTECTED]
University of VirginiaMessenger Mail: Carruthers Hall

Man invented language to satisfy his deep need to complain.
-- Lily Tomlin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]