New user needs help..
Ben Willcox
ben.willcox at british-gymnastics.org
Thu Aug 12 16:39:19 CEST 2004
Hi there,
Just started to try out FAI, but I'm having a few difficulties.
I've built a new Sarge machine to act as a fai server, and fai is
installed and make-nfs-root completed sucessfully.
I copied the example files over to try the demohost.
My client machines do not support network booting, so I've created a
boot floppy with make-fai-bootfloppy, which I can now boot from.
(although I had to fix a problem something to do with Grub by making a
link, can't remember the details).
So, this fai server (called fai-server) sits on my LAN which already has
a dhcp server so I do not run dhcpd on the fai-server.
As I understand it, fai knows what sort of client it's building by it's
hostname, but I can't pass this using my existing dhcp server (well
maybe I just don't know how to, it's a Windows box).
So I pass the following parameters to the bootfloppy:
ip=192.168.15.21:192.168.15.57:192.168.15.1:255.255.255.0:demohost
nfsroot=192.168.15.57:/user/lib/fai/nfsroot FAI_ACTION=install
(192.168.15.21 is the client, 192.168.15.57 is the fai-server)
The install fails - here is my error.log:
------------------
cfengine.log:Currently non existent variable $(HOSTNAME)
cfengine.log:Currently non existent variable $(HOSTNAME)
dmesg.log:register_serial(): autoconfig failed
dmesg.log:hdc: packet command error: status=0x51 { DriveReady
SeekComplete Error }
dmesg.log:hdc: packet command error: error=0x54
dmesg.log: Error: Illegal request -- (Sense key=0x05)
dmesg.log: The failed "Start/Stop Unit" packet command was:
dmesg.log: Error in command packet byte 4 bit 0
dmesg.log:cdrom: open failed.
rcS.log:Can't connect daemon on 192.168.15.57. Monitoring disabled.
rcS.log:NETWORK/S40 FAILED with exit code 1.
rcS.log:rcp: /tmp/target/boot/vmlinuz-*: No such file or directory
rcS.log:rcp: /tmp/target/boot/initrd.img-*: No such file or directory
rcS.log:Can't call method "addr_list" on an undefined value at
/usr/sbin/fai-chboot line 54.
shell.log:E: Couldn't find package kernel-image-2.4.24-fai_1_i386
shell.log:ftar died with error: No directory /fai/files//etc/cron.d
shell.log:ls: vmlinuz-*: No such file or directory
shell.log:ls: /tmp/target/boot/vmlinuz-*: No such file or directory
shell.log:Can't match device: /dev/root
shell.log:NETWORK/S40 FAILED with exit code 1.
shell.log:rm: cannot remove directory `/tmp/target/tmp': Device or
resource busy
software.log:WARNING: These unknown packages are removed from the
installation list: xfonts-scalable-nonfree gnome-users-guide gnome-help-data
software.log:ERROR: 25600 25600
status.log:NETWORK/S40 FAILED with exit code 1.
------------------
Don't know why theres the error about the kernel-image package, as it is
present in /usr/lib/fai/kernel/kernel-image-2.4.24-fai_1_i386.deb.
This is the KERNELPACKAGE specified in my fai.conf.
Also I had to remove the '--module' option from discover in the
06hwdetect.source script, as it generated a few errors.
Can anyone help me?
Thanks,
Ben.
More information about the linux-fai
mailing list