Date: Sun, 28 Sep 1997 00:05:15 -0700 (PDT) From: Dan Busarow <dan@dpcsys.com> To: hackers@freebsd.org Subject: Problems with diskless Message-ID: <Pine.UW2.3.95.970928000340.713A-100000@cedb>
next in thread | raw e-mail | index | archive | help
I'm having problems building a 2.2.2 diskless client, here are the symptoms and config files I thing are relevant. It finds the bootp and tftp servers, loads the kernel and starts the boot. Right after apm0: disabled, not probed. NFS SWAP: 206.16.184.1.4:/u/export/rootfs/reg01 NFS ROOT: 206.16.184.4:/u/export/swapfs I get exec /sbin/init: error 13 followed by tries on /sbin/oinit ... and an eventual panic I have looked at all the diskless stuff I could find plus 2 years worth of list archives on the subject. I think I have every thing correct but obviously I don't. Where did I f up? The /etc/fstab in /u/export/rootfs/reg01 is cedb:/u/export/rootfs/reg01/etc $ cat fstab # Device Mountpoint FStype Options Dump Pass# 206.16.184.4:/u/export/swapfs none nfs rw 0 0 206.16.184.4:/u/export/rootfs/reg01 / nfs rw 0 0 proc /proc procfs rw 0 0 206.16.184.4:/u/export/X11R6 /usr/X11R6 nfs rw 0 0 cedb:/u/export/rootfs/reg01/etc $ The X11R6 fs is exported on its own since this started as an IDE ZIP system where only X needed to be NFS mounted. (see other ZIP thread) In /tftpboot/freebsd.206.16.184.101 I have cedb:/tftpboot $ cat freebsd.206.16.184.101 kernel /kernel # this seemed to be needed though I don't see why rootfs 206.16.184.4:/u/export/rootfs/reg01 rootopts rsize=1024,wsize=1024 swapfs 206.16.184.4:/u/export/swapfs swapopts rsize=1024,wsize=1024 swapsize 10000 hostname reg01.dpcsys.com cedb:/tftpboot $ Without the kernel /kernel directive it tries to use /usr/boot//u/export/rootfs/reg01/kernel but I dont see where it picks the /usr/boot/ up from ?!? The exported dirs cedb:/u/export $ ls -l total 0 drwxr-xr-x 7 root root 96 Sep 2 19:23 X11R6 drwxr-xr-x 3 root root 96 Sep 27 17:02 rootfs drwxr-xr-x 2 root root 96 Sep 27 16:46 swapfs cedb:/u/export $ Swap is cedb:/u/export $ ls -l swapfs total 20000 -rw-r--r-- 1 root root 10240000 Sep 27 16:46 swap.206.16.184.101 cedb:/u/export $ On to NFS. The server is an SVR4 box (Unixware 2.1). Sorry, I can't change this :) >From share cedb:/var/adm/log $ share x11r6 /u/export/X11R6 rw "X11R6" root /u/export/rootfs rw,root=reg01 "root" swap /u/export/swapfs rw,root=reg01 "swap" cedb:/var/adm/log $ When the diskless client tries to connect (from /var/adm/log/osmlog) Sep 27 23:17:37 inetd[275]: got SC_ENABLE message NFS request from an unprivileged port nfs_server: weak authentication NFS request from an unprivileged port nfs_server: weak authentication NFS request from an unprivileged port nfs_server: weak authentication NFS request from an unprivileged port nfs_server: weak authentication Sound: DMA (output) timed out - IRQ/DRQ config error? No times but that was the diskless client. But the mounts succeeded. From dfsmounts cedb:/var/adm/log $ dfmounts RESOURCE SERVER PATHNAME CLIENTS - cedb /u/export/rootfs/reg01 reg01.dpcsys.com - cedb /u/export/swapfs reg01.dpcsys.com cedb:/var/adm/log $ Does anyone have any ideas here? Many, many thanks in advance for help on this. Dan -- Dan Busarow 714 443 4172 DPC Systems / Beach.Net dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.UW2.3.95.970928000340.713A-100000>