problem with setup_storage and fai
kegstand
kegstand at gmail.com
Tue Oct 14 20:17:08 CEST 2008
> 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 / 250 ext3 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 / 250 ext3 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
LOGUSER=fai
MACHTYPE=x86_64-pc-linux-gnu
MNTPOINT=/media/mirror
MODPROBE_OPTIONS=-qb
MODULE=filesystem
MODULESLIST='usbkbd ehci-hcd ohci-hcd uhci-hcd usbhid psmouse'
NETBOOT=nfs
NETMASK=255.255.255.0
NETWORK=10.10.53.0
NOHOSTS=Yes
NOUSER=Yes
OLDPWD=/
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/sbin:/usr/local/bin:/usr/lib/fai:/bin:/sbin:/usr/bin:/usr/sbin:
PIPESTATUS=([0]="0")
PREVLEVEL=N
PS4='+ '
ROOT=/dev/nfs
ROOTCMD='chroot /target'
ROOTDELAY=
ROOTFLAGS=
ROOTFSTYPE=
RUNLEVEL=S
SELINUX_INIT=YES
SHELL=/bin/bash
SHLVL=1
STATICIP=dhcp
STOP_ON_ERROR=700
TERM=linux
TIMEZONE=Europe/Berlin
UNIONTYPE=aufs
USERFULLNAME='Live user'
USERNAME=user
USE_SETUP_STORAGE=1
UTC=yes
blacklist=
boot=live
break=
cfclasses=DEFAULT.LINUX.AMD64.FAIBASE.DHCPC.GRUB.base-01.LAST
classes=$'DEFAULT\nLINUX\nAMD64\nFAIBASE\nDHCPC\nGRUB\nbase-01\nLAST'
debug=1
device_size='sda 104857600'
disklist=sda
do_init_tasks=1
fai_rundate=20081014_110728
faimond=0
flag_verbose=1
init=/sbin/init
initrd=initrd.img-2.6.26-1-amd64
ip=dhcp
monserver=
netdevices=eth0
netdevices_all=eth0
netdevices_up=eth0
nfsroot=/srv/fai/nfsroot
odir=/
panic=
printk=6
quiet=n
readonly=y
resume=
resume_offset=
romountopt='-o async,noatime,nolock,ro,actimeo=1800'
root=/dev/nfs
rootmnt=/root
stamp=/var/run/fai/FAI_INSTALLATION_IN_PROGRESS
start_seconds=41
target=/target
task_error=0
task_error_func=
taskname=defvar
verbose=1
More information about the linux-fai
mailing list