Re: problem with setup_storage and fai
On Mon, Oct 13, 2008 at 6:29 PM, kegstand [EMAIL PROTECTED] wrote: Could you please add export debug=1 to an appropriate class/*.var file and send an excerpt of your fai.log with debugging output? This particular problem should really have been fixed in 3.2.10, this is really strange. ok still running 3.2.11 amd64 64 bit lenny lenny fai-server lenny clients I have turned on debug. No. You have DEBUG=1, but not debug=1. Could you please fix this and report once again? Thanks a lot, Michael pgpZWIO6Ragrk.pgp Description: PGP signature
Re: setup-storage does not preserve my partitions
Michael Tautschnig a écrit : [...] Now sda1 sda2 are preserved, but setup-storage fails when building the ext3 filesystem on /boot (debug log is on http://paste.debian.net/19133/). This is weird, as running 'mkfs.ext3 /dev/sda3' works fine from the shell just after installation has stopped. Oh no, seems we need to move around the calls to udevsettle :-( I'll try to work out a patch later on this week; meanwhile: retrying might just work in this case... Could you indeed retry for me to see how high up this must be put in this week's priority list? Well, it works much better today, as my 4 successive tries on the same workstation have all succeeded. Yesterday, it has failed twice before I gave up. I guess I will only use setup-storage on even days from now :-) . Meanwhile I have only installed Etch on it, with my older FAI 3.1.8 server, for some other tests. -- Nicolas
Re: problem with setup_storage and fai
No. You have DEBUG=1, but not debug=1. Could you please fix this and report once again? Calling task_confdir Kernel currently running: Linux 2.6.26-1-amd64 x86_64 GNU/Linux Kernel parameters: initrd=initrd.img-2.6.26-1-amd64 ip=dhcp root=/dev/nfs nfsroot=/srv/fai/nfsroot boot=live FAI_FLAGS=verbose,sshd,createvt FAI_ACTION=install BOOT_IMAGE=vmlinuz-2.6.26-1-amd64 Reading /tmp/fai/boot.log FAI_FLAGS: verbose sshd createvt Configuration space leviathan:/srv/fai/config mounted to /var/lib/fai/config No monitor daemon defined. Calling task_setup FAI_FLAGS: verbose sshd createvt Press ctrl-c to interrupt FAI and to get a shell Calling task_defclass /usr/bin/fai-class: Defining classes. Executing /var/lib/fai/config/class/10-base-classes. 10-base-classes OK. Executing /var/lib/fai/config/class/20-hwdetect.source. loading kernel module usbkbd loading kernel module ide-disk loading kernel module ide-cd loading kernel module ohci-hcd loading kernel module usbhid loading kernel module usbmouse loading kernel module ide-generic loading kernel module mptspi loading kernel module ata_piix loading kernel module dm-mod loading kernel module md-mod loading kernel module aes loading kernel module dm-crypt 20-hwdetect.source OK. Executing /var/lib/fai/config/class/50-host-classes. 50-host-classes OK. List of all classes: DEFAULT LINUX AMD64 FAIBASE DHCPC GRUB base-01 LAST Calling task_defvar Executing FAIBASE.var ++ FAI_ALLOW_UNSIGNED=1 ++ CONSOLEFONT= ++ KEYMAP=us-latin1 ++ UTC=yes ++ TIMEZONE=Europe/Berlin ++ ROOTPW='$1$kBnWcO.E$djxB128U7dMkrltJHPf6d1' ++ MODULESLIST='usbkbd ehci-hcd ohci-hcd uhci-hcd usbhid psmouse' ++ STOP_ON_ERROR=700 ++ USE_SETUP_STORAGE=1 ++ debug=1 Loading keymap(s) us-latin1 ...done. Calling task_action FAI_ACTION: install Performing FAI installation. All data may be overwritten! Calling task_install Calling task_partition Partitioning local harddisks using setup-storage Starting setup-storage 1.0.1 disklist was: sda Using config file: /var/lib/fai/config/disk_config/FAIBASE Input was: # example of new config file for setup-storage # # type mountpoint size fs type mount options misc options disk_config disk1 disklabel:msdos primary / 250ext3 rw,errors=remount-ro logical swap 200-1000 swap rw logical /var 600-1300 ext3 rw createopts=-m 5 tuneopts=-c 0 -i 0 logical /tmp 100-1G ext3 rw createopts=-m 0 tuneopts=-c 0 -i 0 logical /usr 1G-8G ext3 rw logical /home 100-50%ext3 rw,nosuid createopts=-m 1 tuneopts=-c 0 -i 0 (CMD) parted -s /dev/sda unit TiB print 1 /tmp/KzDq5FLRMz 2 /tmp/L2Xj9y0gSS Executing: parted -s /dev/sda unit TiB print Command parted -s /dev/sda unit TiB print had exit code 1 INTERNAL ERROR in setup-storage: Table header not seen yet Please report this error to the Debian Bug Tracking System. (STDOUT) Error: /dev/sda: unrecognised disk label Traceback: task_error task_partition task task_install task task_action task main Starting setup-storage 1.0.1 disklist was: sda Using config file: /var/lib/fai/config/disk_config/FAIBASE Input was: # example of new config file for setup-storage # # type mountpoint size fs type mount options misc options disk_config disk1 disklabel:msdos primary / 250ext3 rw,errors=remount-ro logical swap 200-1000 swap rw logical /var 600-1300 ext3 rw createopts=-m 5 tuneopts=-c 0 -i 0 logical /tmp 100-1G ext3 rw createopts=-m 0 tuneopts=-c 0 -i 0 logical /usr 1G-8G ext3 rw logical /home 100-50%ext3 rw,nosuid createopts=-m 1 tuneopts=-c 0 -i 0 (CMD) parted -s /dev/sda unit TiB print 1 /tmp/KzDq5FLRMz 2 /tmp/L2Xj9y0gSS Executing: parted -s /dev/sda unit TiB print Command parted -s /dev/sda unit TiB print had exit code 1 INTERNAL ERROR in setup-storage: Table header not seen yet Please report this error to the Debian Bug Tracking System. (STDOUT) Error: /dev/sda: unrecognised disk label BASH=/bin/bash BASH_ARGC=() BASH_ARGV=() BASH_LINENO=([0]=149 [1]=144 [2]=308 [3]=0) BASH_SOURCE=([0]=/usr/lib/fai/subroutines [1]=/usr/lib/fai/subroutines [2]=/etc/init.d/rcS [3]=/etc/init.d/rcS) BASH_VERSION='3.2.39(1)-release' BOOT_IMAGE=vmlinuz-2.6.26-1-amd64 BROADCAST=10.10.53.255 CONSOLE=/dev/console CONSOLEFONT= DEBIAN_FRONTEND=noninteractive DIRSTACK=() DNSSRVS=10.10.53.1 DNSSRVS_1=10.10.53.1 DOMAIN=local DPKG_ARCH=amd64 FAI=/var/lib/fai/config FAI_ACTION=install FAI_ALLOW_UNSIGNED=1 FAI_CONFIGDIR=/srv/fai/config FAI_CONFIG_SRC=nfs://leviathan/srv/fai/config FAI_ETC_DIR=/etc/fai FAI_FLAGS='verbose sshd createvt' FAI_LOGPROTO=ssh FAI_ROOT=/target FAI_VERSION='FAI 3.2.11, 01 Oct 2008' FUNCNAME=([0]=task_defvar [1]=task [2]=fstart [3]=main) GATEWAYS=10.10.53.1 GATEWAYS_1=10.10.53.1 GROUPS=() HOSTNAME=base-01 HOSTTYPE=x86_64 IFS=$' \t\n' INIT_VERSION=sysvinit-2.86 IPADDR=10.10.53.137 KEYMAP=us-latin1 LOGDIR=/tmp/fai