From owner-freebsd-hackers Tue Apr 21 21:27:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA08504 for freebsd-hackers-outgoing; Tue, 21 Apr 1998 21:27:42 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from antipodes.cdrom.com (castles47.castles.com [208.214.165.47]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA08477 for ; Wed, 22 Apr 1998 04:27:35 GMT (envelope-from mike@antipodes.cdrom.com) Received: from antipodes.cdrom.com (localhost [127.0.0.1]) by antipodes.cdrom.com (8.8.8/8.8.5) with ESMTP id VAA00457; Tue, 21 Apr 1998 21:24:56 -0700 (PDT) Message-Id: <199804220424.VAA00457@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Richard Wackerbarth cc: hackers@FreeBSD.ORG, Mike Smith , Terry Lambert Subject: Re: Help! Booting a diskless client. In-reply-to: Your message of "Tue, 21 Apr 1998 16:27:18 CDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 21 Apr 1998 21:24:55 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Whoops, more data in this message. Saving for context... > I've read, and reread, Mike's application notes. > Obviously, I'm missing something here. > Can someone point out my error? > > What I really want to do is get a kernel to this machine. > > mount shows: > > /dev/sd0s1a on / (NFS exported, local, writes: sync 55568 async 78717)) > /dev/sd0s1f on /usr (NFS exported, local, writes: sync 279374 async 261826)) > /dev/sd1f on /diskless/swapfiles (asynchronous, NFS exported, local, > writes: sync 14 async 1)) > > /etc/exports shows: > > /diskless/root -maproot=0 -network 208.2.87.0 -mask 255.255.255.224 > /usr -maproot=0 -ro -network 208.2.87.0 -mask 255.255.255.224 > /diskless/swapfiles -alldirs -maproot=0 -network 208.2.87.0 -mask > 255.255.255.224 > > ps shows: > > root 19881 0.0 0.5 468 336 ?? Is 3:56PM 0:00.02 /sbin/mountd > -l -r > > ls shows: > > /diskless: > total 4 > drwxrwxr-x 2 root wheel 512 Apr 21 13:05 root > drwxr-xr-x 2 root wheel 512 Apr 21 15:40 swapfiles > > /diskless/swapfiles: > total 2064 > -rw-rw-r-- 1 root wheel 1048576 Apr 21 14:56 swap.208.2.87.13 > > syslog shows: > > Apr 21 15:56:53 shrimp mountd[19881]: mount request succeeded from > 208.2.87.13 for /diskless/swapfiles > Apr 21 15:56:53 shrimp mountd[19881]: umountall request from 208.2.87.3 > from unprivileged port > Apr 21 15:57:05 shrimp mountd[19881]: umountall request from 208.2.87.3 > from unprivileged port > > The diskless client gets its info from dhcp. > It is assigned IP = 208.2.87.13. > > Then it proceeds to read the kernel. > At the end of that, it stops with > "Unable to open swap.208.2.87.13: Not owner" > (NB: If I remove the swap. 208.2.87.13 file, I get a different message - > (not found). Ok, this is still netboot that's complaining. It's managed to mount the directory OK, but can't open the file. I suspect that because it can't authenticate itself, it's actually being mapped to "nobody", who can't operate on the swapfile that you've created. Try changing the permissions on it, or chown it to nobody. Please let me know how you go here, so I can amend the notes accordingly. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message