Re: fai-setup failed

2009-07-15 Diskussionsfäden Robert Markula
Hi Riza,
there is no need to edit the NFSROOT file. The nfsroot has nothing to do
with the system later installed (it is the base.tgz that is relevant for
the system to be installed). Leave it to the default [1] and see if
fai-setup -v continues to throw any errors. Btw, make sure that
FAI_DEBOOTSTRAP is set to "lenny http://ftp.debian.org/debian"; in your
/etc/fai/make-fai-nfsroot.conf.

Cheers,
Robert


[1] The NFSROOT defaults:


# package list for creating the NFSROOT

PACKAGES aptitude
nfs-common fai-nfsroot module-init-tools dhcp3-client ssh rdate lshw portmap
bootpc rsync lftp less dump reiserfsprogs e2fsprogs usbutils
hwinfo psmisc pciutils hdparm smartmontools parted mdadm lvm2
dnsutils ntpdate dosfstools cvs jove xfsprogs xfsdump
procinfo dialog discover mdetect
console-tools console-common
expect iproute udev subversion liblinux-lvm-perl

# needed for the simple examples
cfengine2 libapt-pkg-perl

# you should not edit the lines below
# architecture dependend list of packages that are installed

PACKAGES aptitude I386
grub lilo read-edid
linux-image-486 aufs-modules-2.6-486

PACKAGES aptitude AMD64
grub lilo
linux-image-2.6-amd64 aufs-modules-2.6-amd64

PACKAGES aptitude IA64
elilo gnu-efi efibootmgr

PACKAGES aptitude SPARC
silo sparc-utils

PACKAGES aptitude ALPHA
aboot

PACKAGES aptitude POWERPC
linux-image-2.6-powerpc aufs-modules-2.6-powerpc
yaboot


Riza Nuari wrote:
> i tried to make fai server with ubuntu, and i using step-by-step on
> http://faiwiki.informatik.uni-koeln.de/index.php/UbuntuJauntyInstallationHowTo
> 
> I used repo from my local country (http://kambing.ui.ac.id). But when i
> execute fai-setup -v , i've got this error:
> 
> 
> 
> cp: cannot stat `/srv/fai/nfsroot/live/filesystem.dir/boot/vmlinuz-*':
> No such file or directory
> cp: cannot stat
> `/srv/fai/nfsroot/live/filesystem.dir/boot/initrd.img-*': No such file
> or directory

[...]

> this is my /etc/fai/NFSROOT file :
> 
> =
> 
> # package list for creating the NFSROOT
> 
> PACKAGES aptitude
> nfs-common fai-nfsroot module-init-tools dhcp3-client ssh rdate lshw
> portmap
> bootpc rsync lftp less dump reiserfsprogs ext2resize usbutils
> hwinfo psmisc pciutils hdparm smartmontools parted mdadm lvm2
> dnsutils ntpdate dosfstools cvs jove xfsprogs xfsdump
> sysutils dialog discover mdetect
> console-tools console-common
> expect iproute udev subversion
> sysvinit upstart-
> live-initramfs
> initramfs-tools
> vim
> linux-firmware
> module-init-tools
> sysvinit-utils
> linux-image-generic
> 
> # needed for the simple examples
> cfengine2 libapt-pkg-perl
> 
> # you should not edit the lines below
> # architecture dependend list of packages that are installed
> 
> PACKAGES aptitude I386
> grub lilo read-edid
> 
> PACKAGES install AMD64
> grub lilo
[...]


Re: Kernel just stops

2009-07-15 Diskussionsfäden Christoph Kluenter
On Tuesday 14 July 2009 18:50:03 Thomas Lange wrote:
> > On Tue, 14 Jul 2009 17:53:49 +0200, Christoph Kluenter 
> > said:
> >
> > I have a Computer that doesn't want to boot via PXE
> > It loads the initrd and the kernel and after the dots it just says
> > "Ready" and nothing happens anymore.
> > Other computers boot and work perfectly using the same cable.
> > And this computer boots knoppix via PXE just fine.
> >
> > Has anybody seen something like this ?
>
> No.
> Try memtest86+ and try a 486 kernel.
I tried a 486 Kernel since this is a Pentium4.
And since the Computer was running just fine and
boots Knoppix, I don't think its the memory.

Cheers,
   Christoph



-- 
IPHH Internet Port Hamburg GmbH
Christoph KluenterE-Mail: c...@iphh.net
Technik   Tel: +49 (0)40 374919-10
Wendenstrasse 408 Fax: +49 (0)40 374919-29
D-20537 Hamburg   AG Hamburg, HRB 76071
  Geschaeftsfuehrung: Axel G. Kroeger


Re: Kernel just stops

2009-07-15 Diskussionsfäden Christoph Kluenter
Hi Robert,


On Wednesday 15 July 2009 09:49:52 you wrote:
> Hi Christoph,
> what NFSROOT are you using? Do you use a "stock" debian NFSROOT or
> something different?
I am using the nfsroot that was built by fai-make-nfsroot.
Its the usual setup.
Why do you think the nfsroot could be the cause ?
Since other computers do boot with this nfsroot, I was thinking it
might be the CPU or the Bios or something.

Cheers,
 Christoph

>
> Cheers,
> Robert
>
> Christoph Kluenter wrote:
> >> > I have a Computer that doesn't want to boot via PXE
> >> > It loads the initrd and the kernel and after the dots it just says
> >> > "Ready" and nothing happens anymore.
> >> > Other computers boot and work perfectly using the same cable.
> >> > And this computer boots knoppix via PXE just fine.
> >> >
> >> > Has anybody seen something like this ?
> >>
> >> No.
> >> Try memtest86+ and try a 486 kernel.
> >
> > I tried a 486 Kernel since this is a Pentium4.
> > And since the Computer was running just fine and
> > boots Knoppix, I don't think its the memory.
> >
> > Cheers,
> >Christoph



-- 
IPHH Internet Port Hamburg GmbH
Christoph KluenterE-Mail: c...@iphh.net
Technik   Tel: +49 (0)40 374919-10
Wendenstrasse 408 Fax: +49 (0)40 374919-29
D-20537 Hamburg   AG Hamburg, HRB 76071
  Geschaeftsfuehrung: Axel G. Kroeger


Re: Kernel just stops

2009-07-15 Diskussionsfäden Robert Markula
Ah, yes, reading your original posting again I just saw that you don't
even get to the NFSROOT; your boot stops after loading the TFTP kernel
image.

It is strange that other clients can boot with the exactly same
configuration, just this one client is having issues. Did you check if
you can run Debian Lenny on this specific machine at all? Might indeed
be that the kernel is having troubles with one or the other hardware
component of this machine.

Would you mind posting the content of the TFTPROOT directory (like 'ls
/srv/tftp/fai') and your make-fai-nfsroot.conf nevertheless?

Cheers,
Robert


Christoph Kluenter wrote:
> I am using the nfsroot that was built by fai-make-nfsroot.
> Its the usual setup.
> Why do you think the nfsroot could be the cause ?
> Since other computers do boot with this nfsroot, I was thinking it
> might be the CPU or the Bios or something.


Re: Kernel just stops

2009-07-15 Diskussionsfäden Christoph Kluenter
On Wednesday 15 July 2009 10:49:55 Robert Markula wrote:
> Ah, yes, reading your original posting again I just saw that you don't
> even get to the NFSROOT; your boot stops after loading the TFTP kernel
> image.
>
> It is strange that other clients can boot with the exactly same
> configuration, just this one client is having issues. Did you check if
> you can run Debian Lenny on this specific machine at all? Might indeed
> be that the kernel is having troubles with one or the other hardware
> component of this machine.
It was running debian etch until now. I just wanted to do a reinstall.
But since this is a Pentium4, this is the first Computer for a while which is
i386. All others were amd64. But for testing I installed a DualCore with the 
i386 NFSROOT without problems.
I will try another kernel now. Let's see ...
>
> Would you mind posting the content of the TFTPROOT directory (like 'ls
> /srv/tftp/fai') and your make-fai-nfsroot.conf nevertheless?
sure:

fai-server1:/srv/tftp/fai# ls -l
total 20856
-rw-r--r-- 1 root root  90 2009-05-15 10:41 boot.txt
-rw-r--r-- 1 root root 8717927 2009-03-23 15:00 initrd.img-2.6.26-1-486
-rw-r--r-- 1 root root 9342726 2009-03-24 17:31 initrd.img-2.6.26-1-amd64
-rwxr-xr-x 1 root root   15820 2009-03-23 15:00 pxelinux.0
drwxr-xr-x 2 root root4096 2009-07-14 16:23 pxelinux.cfg
-rw-r--r-- 1 root root 1468048 2009-03-13 23:34 vmlinuz-2.6.26-1-486
-rw-r--r-- 1 root root 1755120 2009-03-24 17:31 vmlinuz-2.6.26-1-amd64

fai-server1:/srv/tftp/fai# cat pxelinux.cfg/default
DISPLAY boot.txt

DEFAULT amd64
PROMPT 1
TIMEOUT 100
MENU AUTOBOOT Starting amd64 fai in # seconds

LABEL bootlocal
MENU DEFAULT
MENU LABEL Local Boot
localboot 0


LABEL amd64
kernel vmlinuz-2.6.26-1-amd64
append initrd=initrd.img-2.6.26-1-amd64 ip=dhcp  root=/dev/nfs 
nfsroot=/srv/fai/nfsroot-amd64 boot=live  FAI_FLAGS=verbose,sshd,createvt 
FAI_ACTION=install


LABEL i386
kernel vmlinuz-2.6.26-1-486
append initrd=initrd.img-2.6.26-1-486 ip=dhcp  root=/dev/nfs 
nfsroot=/srv/fai/nfsroot boot=live  FAI_FLAGS=verbose,sshd,createvt 
FAI_ACTION=install


Cheers,
 Christoph
>
> Cheers,
> Robert
>
> Christoph Kluenter wrote:
> > I am using the nfsroot that was built by fai-make-nfsroot.
> > Its the usual setup.
> > Why do you think the nfsroot could be the cause ?
> > Since other computers do boot with this nfsroot, I was thinking it
> > might be the CPU or the Bios or something.



-- 
IPHH Internet Port Hamburg GmbH
Christoph KluenterE-Mail: c...@iphh.net
Technik   Tel: +49 (0)40 374919-10
Wendenstrasse 408 Fax: +49 (0)40 374919-29
D-20537 Hamburg   AG Hamburg, HRB 76071
  Geschaeftsfuehrung: Axel G. Kroeger