Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2001 12:31:15 -0500
From:      doug.poland@omniresources.com
To:        akbeech@anchoragerescue.org, linux@icpn.com
Cc:        freebsd-questions@freebsd.org
Subject:   RE: make installworld fails on: devascii
Message-ID:  <DF5018B3C986D11196FF0060089A903C3C304D@omnigbwww.omniresource.com>

next in thread | raw e-mail | index | archive | help
Beech,

Okay, I'm giving your suggestion a try but am running
into a problem mounting the nfs exports.  I'm getting
permission denied errors:  Here's a script of what I've
done...

host: judeah 	-- good machine
host: bethlehem 	-- problem machine

judeah#  cat /etc/exports
/usr/src /usr/obj
/data

judeah# killall -KILL nfsd
judeah# nfsd
judeah# ps waux | grep nfs
root    7481  0.0  0.3   352  132  ??  I    12:15PM   0:00.00 nfsd: server
(nfsd)
root    7482  0.0  0.3   352  132  ??  I    12:15PM   0:00.00 nfsd: server
(nfsd)
root    7483  0.0  0.3   352  132  ??  I    12:15PM   0:00.00 nfsd: server
(nfsd)
root    7484  0.0  0.3   352  132  ??  I    12:15PM   0:00.00 nfsd: server
(nfsd)
judeah# ls -laF /usr
total 39
drwxr-xr-x  19 root  wheel   512 Mar  7 02:30 ./
drwxr-xr-x  17 root  wheel   512 May 11 09:41 ../
drwxr-xr-x  11 root  wheel   512 Mar  7 22:45 X11R6/
drwxr-xr-x   2 root  wheel  6656 May 11 08:57 bin/
drwxr-xr-x   2 root  wheel   512 Mar  6 19:06 compat/
drwxr-xr-x  12 root  wheel   512 May 10 22:55 doc/
drwxr-xr-x   3 root  wheel  1024 May 11 08:41 games/
drwxr-xr-x   3 root  wheel   512 Mar  6 19:21 home/
drwxr-xr-x  37 root  wheel  3584 May 11 08:56 include/
drwxr-xr-x   4 root  wheel  7168 May 11 08:57 lib/
drwxr-xr-x   9 root  wheel   512 Mar  6 18:38 libdata/
drwxr-xr-x   8 root  wheel  1536 May 11 08:57 libexec/
drwxr-xr-x  12 root  wheel   512 Mar  7 01:37 local/
drwxr-xr-x   3 root  wheel   512 May 10 23:10 obj/
drwxr-xr-x  56 root  wheel  1536 May 10 22:46 ports/
drwxr-xr-x   2 root  wheel  4096 May 11 08:57 sbin/
drwxr-xr-x  26 root  wheel   512 Nov 20 07:13 share/
drwxr-xr-x  22 root  wheel   512 May 10 21:52 src/
drwxr-xr-x  24 root  wheel   512 Mar  7 02:30 sup/

bethlehem# cd /usr/obj
bethlehem# chflags -R noschg *
bethlehem# rm -rf *
bethlehem# cd /usr/src
bethlehem# rm -rf *
bethlehem# ls -laF /usr
total 41
drwxr-xr-x  21 root  wheel   512 Mar 11 13:54 ./
drwxr-xr-x  16 root  wheel   512 May 13 22:21 ../
drwxr-xr-x  11 root  wheel   512 Feb 27 19:56 X11R6/
drwxr-xr-x   2 root  wheel  6656 May 13 22:32 bin/
drwxr-xr-x   3 root  wheel   512 Feb 27 19:46 compat/
drwxr-xr-x  12 root  wheel   512 Mar 10 14:08 doc/
drwxr-xr-x   3 root  wheel  1024 May 13 22:29 games/
drwxr-xr-x   3 root  wheel   512 Feb 27 19:45 home/
drwxr-xr-x  37 root  wheel  3584 May 13 22:29 include/
drwxr-xr-x   4 root  wheel  7168 May 13 22:29 lib/
drwxr-xr-x   9 root  wheel   512 Feb 27 18:49 libdata/
drwxr-xr-x   8 root  wheel  1536 May 13 22:32 libexec/
drwxr-xr-x  13 root  wheel   512 Mar  5 15:20 local/
drwxr-xr-x   2 root  wheel   512 May 14 12:29 obj/
drwxr-xr-x   2 root  wheel   512 Mar 11 14:50 opt/
drwxr-xr-x  56 root  wheel  1536 Mar 10 13:52 ports/
drwxr-xr-x   2 root  wheel  4096 May 13 22:30 sbin/
drwxr-xr-x  26 root  wheel   512 Nov 20 07:13 share/
drwxr-xr-x   2 root  wheel   512 May 14 12:30 src/
drwxr-xr-x  23 root  wheel   512 Mar  2 15:49 sup/
drwxrwxrwt   2 root  wheel   512 Mar  5 16:52 tmp/

bethlehem# mount -t nfs judeah:/usr/src /usr/src
nfs: can't access /usr/src: Permission denied
bethlehem# mount -t nfs judeah:/usr/obj /usr/obj
nfs: can't access /usr/obj: Permission denied

bethlehem# mount -t nfs judeah:/data /mnt
bethlehem# ls -F /mnt
0/      1/      2/      3/      4/      5/      6/      smb/

I can't figure out why I cannot mount /usr/src and /usr/obj
but can mount /data?  Thanks for your help!

Regards,
Doug 

> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Beech Rintoul
> Sent: Sunday, May 13, 2001 23:37
> To: Jeff Kolp
> Cc: freebsd-questions@freebsd.org
> Subject: Re: make installworld fails on: devascii
> 
> 
> If you have a successful build on another machine, try 
> exporting /usr/obj and /usr/src then just mount them 
> on your problem machine and do a make installworld, 
> make installkernel. I do it all the time on my slow 486 box.
> BTW /usr/obj & /usr/src need to be on the same export  line 
> and mounted to /usr/obj & /usr/src on your slow machine. 
> You need to clean out those directories and just leave the 
> blank ones to mount to.
> 
> Hopr this helps,
> 
> Beech

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DF5018B3C986D11196FF0060089A903C3C304D>