Re: Problem with GRUB

2008-10-16 Diskussionsfäden Michael Tautschnig
>
>> - Try to use grub-pc, which is in lenny. In case somebody already has 
>> experience
>>   with that one, could you please step up and provide some details? I think
>>   there where some postings on this list recently.
>>   
> i use this:
>
> here is my script:
>
> /srv/fai/config/scripts/LAST/60-misc
>
>
>   #!/bin/bash
>
>   $ROOTCMD /usr/bin/grub-mkimage --output=/boot/grub/core.img ext2 pc  
> gpt biosdisk lvm
>   $ROOTCMD /usr/sbin/grub-install '(md0)'
>   $ROOTCMD /usr/sbin/grub-setup   '(md0)'
>   $ROOTCMD /usr/sbin/update-grub
>   $ROOTCMD update-initramfs -k all -u
>
>
>
> and i removed all the grub things in  the exemples  apart from the  
> package add of grub-pc instead of grub obviously.
>
> this is NOT very good as you HAVE to have / on md0 for this to work  
> (obviously again).
>
> you also need to add grub-pc to the fai image (chroot to the faiNfsroot  
> and aptitude install it).
>
> This is more a hack than a really good way of doing it
>

But at least it is a very first attempt to make FAI work with grub-pc! I've
added your suggestions to the experimental FAI packages available from

deb http://www.informatik.uni-koeln.de/fai/download experimental koeln

I added a class called GRUB_PC, which may be used instead of GRUB. It is,
however, completely untested. Feedback is most welcome :-)

Best,
Michael




pgp8jjzN2bAlw.pgp
Description: PGP signature


Re: setup-storage does not preserve my partitions

2008-10-16 Diskussionsfäden Michael Tautschnig
> 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 :-) .
>
[...]

This one is supposedly also solved in the latest experimental packages.

Best,
Michael



pgpYC2QH2uF7f.pgp
Description: PGP signature


Re: FAI 3.2.12: new problem with setup-storage

2008-10-16 Diskussionsfäden Michael Tautschnig
> Hello,
>
> After installing fai 3.2.12, I have a new problem with setup-storage,  
> with the following disk config; the full log is on  
> http://paste.debian.net/19353/.
>

Thanks for the detailed report, this is now known as bug #502462 and fixed in
the experimental packages which are now available using

deb http://www.informatik.uni-koeln.de/fai/download experimental koeln

in your sources.list (you need to tweak /etc/fai/apt/sources.list as well). This
is in fact the first time that the experimental builds are available in a proper
apt repository, so consider this as a very first announcement :-)

Best,
Michael



pgpf9G3e8OD0B.pgp
Description: PGP signature


FAI 3.2.12: new problem with setup-storage

2008-10-16 Diskussionsfäden Nicolas Courtel

Hello,

After installing fai 3.2.12, I have a new problem with setup-storage, 
with the following disk config; the full log is on 
http://paste.debian.net/19353/.


The disk config file is the following:

disk_config sda preserve_always:1 bootable:2

primary -  0-   -
primary/boot 512ext3rw
logical-   22000---

disk_config lvm
vg vg0 sda5
vg0-swapswap2000swapsw
vg0-root/6000ext3rw
vg0-var/var2000ext3rw
vg0-usr/usr6000ext3rw
vg0-local/local6000ext3rw

I get a similar error message when removing the preserved partition, or 
when changing the lvm partition to primary.


--
Nicolas



Re: custom kernel from kernel.org

2008-10-16 Diskussionsfäden Thomas Lange
> On Thu, 16 Oct 2008 13:17:58 +0200, Christian Quast <[EMAIL PROTECTED]> 
> said:

> What are the required steps to create a custom kernel > 2.6.20 used 
> during the installation?
Just use a plain 2.6.27 kernel from lenny inside the etch
nfsroot. Therefore create a local repository, that inluced then needed
deb files. That should work. Also make sure you have a new live-initramfs
package inside the nfsroot. You do not need to comile a kernel on your
own. 

-- 
regards Thomas


custom kernel from kernel.org

2008-10-16 Diskussionsfäden Christian Quast

Hi,

I have a debian etch server used as debian mirror and fai 'master'. The
fai-nfsroot is also debian etch. The installation 'targets' are debian etch
as well as ubuntu hardy.

The problem I am having is that some of the computers I need to install 
use a

PCIe Sata-RAID controller which is not supported by the stock etch kernel
(2.6.18). Hence, during the installation the harddisks connected to the
controller are not recognised by the OS. However, the controller is 
supported

by the newer kernels (>= 2.6.20).

So I tried to follow the instructions at [1] to build a custom kernel.
However, I am not really sure if these instructions apply to current fai
versions, missing directories and config file entries. I managed to get the
kernel into the nfsroot and added it to tftp as well. It started booting 
but
the installation process failed shortly after reaching the fai 'screen'. 
If I
remember correctly fai(?) complains about missing write permission on 
lots of

files / directories.

Reading the thread 'regular kernel' posted a few days ago I figured this 
might
be due to the incompatibility mentioned by Michael Tautschnig. So I 
tried to
build my own kernel. I have tried building unionfs 2.x [2] as well aufs 
[3].
When I apply either of these 'patches' to the stock kernel from 
kernel.org (I

tried 2.6.26/27) I get an error during compilation.
   ERROR: "security_inode_permission" [fs/aufs/{aufs,unionfs}.ko] 
undefined!


I couldn't find any helpful links searching the internet.


So my questions are:
What are the required steps to create a custom kernel > 2.6.20 used 
during the

installation?

Should I build a new nfs root wich is based on something other than debian
etch?

Is there a way to use fai without the need to use unionfs (etc...)?


regards
  Chriss


signature.asc
Description: PGP signature


Re: Installclient hangs after kernel boot

2008-10-16 Diskussionsfäden Henning Sprang
Toomas Tamm wrote:
> I think I have observed similar behaviour (boot hangs after kernel is
> loaded and the second DHCP handshake is in progress or just completed)
> intermettently on various hosts, with various network cards. Some cards
> seem to be more suspectible to this than others, and some are probably
> problem-free.

Good to be not alone :)

> All this with the FAI which comes with Debian etch (3.1.8) and a kernel
> we compiled locally (2.6.18).

We use Etch on the Server and the last Etch packages of FAI, 3.2.8, and
tried Standard Debian Kernels *2.6.18-6-486, 2.6.18-6-686 and the 2.6.24
from Etch and a half.

The Boradcom NIC on the Server did only start to get into service with
etch and a half kernel - the client is slightly different and works fine
with 2.6.18-6-686.


Henning

-- 
Henning Sprang
http://www.sprang.de | http://lazyb0y.blogspot.com/


Re: Installclient hangs after kernel boot

2008-10-16 Diskussionsfäden Henning Sprang
Thomas Lange wrote:
>> On Wed, 15 Oct 2008 20:44:05 +0200, Daniel Oetken <[EMAIL PROTECTED]> 
>> said:
> 
> > i defined before. But before the client can mount the nfsroot it hangs.
> > The last thats showing up on the monitor is:
> So, you also cannot see any mount request on the install server?

Exactly - as written - one can watch in the syslog (after adding -vv
to the tftp options) the kernel and initrd being requested and
delivered, than (I guess from the dhcp code in the initrd), again dhcp
info is requested and sent back, and that is the last thing that happens
- in install-/dhcp-server's syslog as well in tcpdump.
The machine has multiple ethernet cards, but we turned all but one off
in the BIOS - seemingly successful, because of Kernel output about eth1
vanished after that, but the problem still is the same.

I've been there with Daniel working on this and am also totally out of
ideas what we could be missing.

I recommended as next thing to check with a different install client,
and then with a different install server, doing the whole setup again -
in lack of any further ideas...

Henning



-- 
Henning Sprang
http://www.sprang.de | http://lazyb0y.blogspot.com/


Re: Installclient hangs after kernel boot

2008-10-16 Diskussionsfäden Thomas Lange
> On Wed, 15 Oct 2008 20:44:05 +0200, Daniel Oetken <[EMAIL PROTECTED]> 
> said:

> i defined before. But before the client can mount the nfsroot it hangs.
> The last thats showing up on the monitor is:
So, you also cannot see any mount request on the install server?

> tg3: eth0: Link is up at 1000Mbps, full duplex.
> tg3: eth1: Flow control is off for TX and off for RX.
Are both network cards connected to the network?
Are you using a DHCP gateway? Which FAi version are you using?

-- 
regards Thomas


FAI 3.2.12 released

2008-10-16 Diskussionsfäden Thomas Lange
Three important bugs in setup-storage were fixed in FAI 3.2.12. This
release is now available from the usual places.

-- 
regards Thomas


Re: Softupdates whith FAI 3.2.10 on Lenny

2008-10-16 Diskussionsfäden Axel Freyn

> Von: Holger Levsen <[EMAIL PROTECTED]>
> > again (can you test this please) I can readd it. It would be perfect
> > if you could write a bug report for this.
> 
> Yes, please do and please file it with severity "important".

It is #502394.


-- 
GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion!
http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196


Re: Softupdates whith FAI 3.2.10 on Lenny

2008-10-16 Diskussionsfäden Holger Levsen
Hi,

On Thursday 16 October 2008 09:52, Thomas Lange wrote:
> again (can you test this please) I can readd it. It would be perfect
> if you could write a bug report for this.

Yes, please do and please file it with severity "important".


Thanks,
Holger


pgpbf4MXby2ZM.pgp
Description: PGP signature


Re: Softupdates whith FAI 3.2.10 on Lenny

2008-10-16 Diskussionsfäden Thomas Lange
> On Thu, 16 Oct 2008 09:28:44 +0200, "Axel Freyn" <[EMAIL PROTECTED]> said:

> FAI-softupdate. Looking at the precise position of the message, it happens
> during 'task_updatebase', and there by the aptitude-command from file
>  /usr/lib/fai/updatebase, line 37:

> $ROOTCMD aptitude -y safe-upgrade


> I don't see, why this aptitude is called without the "aptopt"-options

> -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"

> which where used in the apt-get commands before? Could this be a possible
> explanation?

I think this option was just lost when changing from apt-get to
aptitude commands there. If you think the $aptopt should be added
again (can you test this please) I can readd it. It would be perfect
if you could write a bug report for this.
-- 
regards Thomas


Softupdates whith FAI 3.2.10 on Lenny

2008-10-16 Diskussionsfäden Axel Freyn
Hello,

We are using FAI version 3.2.10 on Lenny (both Clients and Server). We need the
softupdate functionality. The basic install works fine with our configuration
file, however during soft-updates the installations stops, whenever
configuration files, which were changed by us, are replaced. The error message
(in german) is given by something like

Konfigurationsdatei »/etc/security/group.conf«
 ==> Modifiziert (von Ihnen oder einem Skript) seit der Installation.
 ==> Paketverteiler hat eine aktualisierte Version herausgegeben.
   Was möchten Sie damit machen? Ihre Wahlmöglichkeiten sind:
Y oder I : Die Version des Paket-Betreuers installieren
N oder O : Die momentan installierte Version beibehalten
   D : Die Unterschiede zwischen den Versionen anzeigen
   Z : Prozess in den Hintergrund, um die Situation zu begutachten
 Der Standardweg ist das Beibehalten der momentanen Version.
*** group.conf (Y/I/N/O/D/Z) [Vorgabe=N] ?

After that, FAI excepts an user input - but even that is impossible, as the
update-process seems to be disconnected from the Keyboard.
The only solution, which we found, is to kill manually the aptitude-process,
do an "dpkg-reconfigure -C -all", answer the question and restart the
FAI-softupdate. Looking at the precise position of the message, it happens
during 'task_updatebase', and there by the aptitude-command from file
 /usr/lib/fai/updatebase, line 37:

$ROOTCMD aptitude -y safe-upgrade


I don't see, why this aptitude is called without the "aptopt"-options

-o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"

which where used in the apt-get commands before? Could this be a possible
explanation?

Thank you very much,

Axel

-- 
GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion!
http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196