

Code: Select all
Jan 25 12:55:39 simons dhcpd: DHCPDISCOVER from 00:04:61:50:3b:06 via eth2
Jan 25 12:55:39 simons dhcpd: DHCPOFFER on 192.168.2.2 to 00:04:61:50:3b:06 via eth2
Jan 25 12:55:41 simons dhcpd: DHCPDISCOVER from 00:04:61:50:3b:06 via eth2
Jan 25 12:55:41 simons dhcpd: DHCPOFFER on 192.168.2.2 to 00:04:61:50:3b:06 via eth2
Jan 25 12:55:45 simons dhcpd: DHCPDISCOVER from 00:04:61:50:3b:06 via eth2
Jan 25 12:55:45 simons dhcpd: DHCPOFFER on 192.168.2.2 to 00:04:61:50:3b:06 via eth2
Jan 25 12:55:54 simons dhcpd: DHCPDISCOVER from 00:04:61:50:3b:06 via eth2
Jan 25 12:55:54 simons dhcpd: DHCPOFFER on 192.168.2.2 to 00:04:61:50:3b:06 via eth2
Check the LTSP wiki, these guys are my inspiration to all this and it's LTSP that gave me a good start for such a platform.simon78 wrote:[...snip...]
Any hints?
Code: Select all
* Unmounting filesystems ... [ok]
* Remounting remaining filesystems readonly ... [ok]
* fsck will be skipped on next startup
Power down.
/etc/init.d/shutdown.sh: line 8: /sbin/halt: Network is unreachable
sounds like a fair assumption. Try mdifying the disklesse's /etc/init.d/shutdown.sh scritp to:BonesToo wrote: [...snip...]
My theory is that since the root NFS mount was unmounted it can't get to the actual halt command to turn the hardware off? I could be completely wrong. I need some input on what is going on here. Is anyone else seeing something like this???
Could it be that my hardware just doesn't support software shutdown? Im running a PC/104 single board computer with VIA C3 Nehemiah CPU. I can post more specs if needed.
Any ideas?
Code: Select all
/sbin/poweroff -fCode: Select all
...
HOSTCC usr/gen_init_cpio
CHK usr/initramfs_list
CPIO usr/initramfs_data.cpio
GZIP usr/initramfs_data.cpio.gz
AS usr/initramfs_data.o
LD usr/built-in.o
...
Code: Select all
DEFAULT kernel15.nofb
LABEL kernel15.nofb
KERNEL bzImage.15.nofb
APPEND ip=dhcp root=/dev/nfs nfsroot=192.168.1.102:/root/diskless/smokey,rsize=8192,wsize=8192,timeo=14
Thank you! Worked great for me!If you are happy, like me, with this, post a message here to gratulate me
On my machine it doesn't unmount root but mounts it read-only upon failing its unmount attempt (umount -r option used in netmount implies this behavior) ... which causes a lot of errors for the rest of the shutdown ...When I shut down the client, it umounts them but also the root filesystem which is connected via NFS. This causes a lot of errors during the rest of the shutdown. Is there a simple solution to this?
Code: Select all
stop() {
local ret
ebegin "Unmounting network filesystems"
[ -z "$(umount -art ${NET_FS_LIST// /,} 2>&1)" ]
ret=$?
eend ${ret} "Failed to simply unmount filesystems"
...


I've also write a unionfs gentoo diskless guide, before reading this topic, and I've put it on the wiki, to be modify by someone more practiced then me.wimalopaan wrote:I have made a new version of the diskless gentoo client guide (see below).
Code: Select all
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
CONFIG_IP_PNP_BOOTP=y
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_DIRECTIO=y
CONFIG_ROOT_NFS=y
CONFIG_NFSD=y
Code: Select all
emerge --unmerge udev ; emerge devfsd
Code: Select all
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs nodev,nosuid,noexec 0 0

Code: Select all
CLIENT MAC ADDR: 00 50 70 56 2E CA GUID: FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF
CLIENT IP: 192.168.10.100 MASK: 255.255.255.0 DHCP IP: 192.168.10.1
GATEWAY IP: 192.168.10.1
Probing...[RTL8139] - The PCI BIOS has not enabled this device!
Updating PCI command 0006->0007. pci_bus 00 pci_device_fn 00
PCI latency timer (CFLT) is unreasonably low at 0. Setting to 32 clocks.
ioaddr 0x0000, addr 00:80:40:55:AA:2A 10Mbps full-duplex
Code: Select all
Dec 10 15:32:55 [dhcpd] DHCPDISCOVER from 00:50:70:56:2e:ca via eth1
Dec 10 15:32:55 [dhcpd] DHCPOFFER on 192.168.10.100 to 00:50:70:56:2e:ca via eth
1
Dec 10 15:33:03 [dhcpd] DHCPREQUEST for 192.168.10.100 (192.168.10.1) from 00:50
:70:56:2e:ca via eth1
Dec 10 15:33:03 [dhcpd] DHCPACK on 192.168.10.100 to 00:50:70:56:2e:ca via eth1
Dec 10 21:33:03 [in.tftpd] RRQ from 192.168.10.100 filename pxegrub_
Dec 10 21:33:03 [in.tftpd] tftp: client does not accept options_
Dec 10 21:33:03 [in.tftpd] RRQ from 192.168.10.100 filename pxegrub_I got that same message trying to use pxegrub. I think it came from grub not having support for my ethernet hardware. I switched to pxelinux (part of syslinux) and was able to get the kernel booted.erik258 wrote:I am doing the same install method. All seems to go OK at boot, until
comes up on the screen. the computer halts there, crtl+alt+del ineffective.Code: Select all
CLIENT MAC ADDR: 00 50 70 56 2E CA GUID: FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF CLIENT IP: 192.168.10.100 MASK: 255.255.255.0 DHCP IP: 192.168.10.1 GATEWAY IP: 192.168.10.1 Probing...[RTL8139] - The PCI BIOS has not enabled this device! Updating PCI command 0006->0007. pci_bus 00 pci_device_fn 00 PCI latency timer (CFLT) is unreasonably low at 0. Setting to 32 clocks. ioaddr 0x0000, addr 00:80:40:55:AA:2A 10Mbps full-duplex
Does anyone recognize this?
The logs from the root show...It seems that dhcpd and in.tftpd are working, if misconfiguredly.Code: Select all
Dec 10 15:32:55 [dhcpd] DHCPDISCOVER from 00:50:70:56:2e:ca via eth1 Dec 10 15:32:55 [dhcpd] DHCPOFFER on 192.168.10.100 to 00:50:70:56:2e:ca via eth 1 Dec 10 15:33:03 [dhcpd] DHCPREQUEST for 192.168.10.100 (192.168.10.1) from 00:50 :70:56:2e:ca via eth1 Dec 10 15:33:03 [dhcpd] DHCPACK on 192.168.10.100 to 00:50:70:56:2e:ca via eth1 Dec 10 21:33:03 [in.tftpd] RRQ from 192.168.10.100 filename pxegrub_ Dec 10 21:33:03 [in.tftpd] tftp: client does not accept options_ Dec 10 21:33:03 [in.tftpd] RRQ from 192.168.10.100 filename pxegrub_
Any help is greatly appreciated


Code: Select all
CLIENT MAC ADDR: 00 50 70 56 2E CA GUID: FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF
CLIENT IP: 192.168.10.100 MASK: 255.255.255.0 DHCP IP: 192.168.10.1
GATEWAY IP: 192.168.10.1
Probing pci nic...
[3c905c-tpo]
3C90X Driver 2.00 Copyright 1999 LightSys Technology Services, Inc.
Portions Copyright 1999 Steve Smith
Provided with ABSOLUTELY NO WARRANTY
---------------------------------------------------------------------------------------------------------
MAC Address =
Connectors present: 10Base-T / 100Base-TX


Code: Select all
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 192.168.1.10, my address is 192.168.1.11
IP-Config: Complete:
device=eth0, addr=192.168.1.11, mask=255.255.255.0, gw=192.168.1.1,
host=192.168.1.11, domain=hornpipe, nis-domain=(none),
bootserver=192.168.1.10, rootserver=192.168.1.10, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.10
Looking up port of RPC 100005/1 on 192.168.1.10
VFS: Mounted root (nfs filesystem) readonly.
Freeing unused kernel memory: 144k freed
nfs_stat_to_errno: bad nfs status return value: 45
Warning: unable to open an initial console.
nfs_stat_to_errno: bad nfs status return value: 45
nfs_stat_to_errno: bad nfs status return value: 45
nfs_stat_to_errno: bad nfs status return value: 45
nfs_stat_to_errno: bad nfs status return value: 45
Kernel panic - not syncing: No init found. Try passing init= option to kernel.Code: Select all
default 0
timeout 30
title=Diskless Gentoo
root (nd)
kernel /mystic/boot/linux-2.6.17-beyond4 ip=dhcp root=/dev/nfs nfsroot=192.168.1.10:/diskless/mystic
try nfs v 3? Although, i didn't need to do this. Only thing I can think of, you haven't installed nfs-utils. Do you have nfs software installed?http://www.mail-archive.com/unionfs@mail.fsl.cs.sunysb.edu/msg02088.html wrote:NFS4 still fails, thus adding the kernel boot option: nfsroot=...,nfsver=3 helped.


within a chroot? It needs access to /lib to properly run!Also, I checked that init is in the right place and it executes within a chroot.