[00:43] ErKa (~keryell@183.36.0-109.rev.gaoland.net) left irc: Ping timeout: 480 seconds [01:10] is it possible to use variables in fai_config/debconf/* ? [02:08] pav5088 (~Mark@110.144.140.138) left irc: Read error: Connection reset by peer [06:25] tokkee (tokkee@osprey.tokkee.org) left irc: Remote host closed the connection [06:25] tokkee (tokkee@osprey.tokkee.org) joined #fai. [07:09] torkel (~quassel@skruttibangbang.hpc2n.umu.se) joined #fai. [07:27] pav5088 (~Mark@58.171.15.97) joined #fai. [07:39] ErKa (~keryell@183.36.0-109.rev.gaoland.net) joined #fai. [07:50] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. [07:58] justleen (~leen@rev-131-102.virtu.nl) joined #fai. [09:02] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Quit: Leaving. [09:16] ErKa (~keryell@183.36.0-109.rev.gaoland.net) left irc: Ping timeout: 480 seconds [09:16] siggg (~jean@88.172.128.32) joined #fai. [09:33] ErKa (~keryell@183.36.0-109.rev.gaoland.net) joined #fai. [09:39] ballison: i am new to fai, but imho your boss is wrong. make backup and start it again... do not manually change things inside of the nfs chroot... use hooks for this [09:39] that way you can refresh it anytime without (big) problem [09:50] al (~d@niel.cx) left irc: Remote host closed the connection [09:53] al (d@niel.cx) joined #fai. [09:59] al (d@niel.cx) left irc: Read error: Connection reset by peer [10:00] al (d@niel.cx) joined #fai. [10:12] al (d@niel.cx) left irc: Ping timeout: 480 seconds [10:13] al (d@niel.cx) joined #fai. [10:33] verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. [10:46] Mrfai (~lange@malzmuehle.informatik.uni-koeln.de) joined #fai. [11:12] \sh (~shermann@nat.de.netviewer.com) joined #fai. [11:33] torkel_ (~quassel@skruttibangbang.hpc2n.umu.se) joined #fai. [11:37] torkel (~quassel@skruttibangbang.hpc2n.umu.se) left irc: Ping timeout: 480 seconds [11:42] ErKa (~keryell@183.36.0-109.rev.gaoland.net) left irc: Ping timeout: 480 seconds [11:44] Nick change: torkel_ -> torkel [13:15] pav5088 (~Mark@58.171.15.97) left irc: Quit: Leaving [14:07] hello [14:08] Mrfai: here's where I'm stuck at -> etchmirror:/etc/fai# make-fai-nfsroot -vk [14:08] Using configuration files from /etc/fai [14:08] Installing new kernel into the nfsroot. [14:08] chroot: cannot run command `dpkg-divert': No such file or directory [14:08] That's because you have a very old nfsroot and using newer fai packages. [14:09] I suggest that you are building a new nfsroot. I would use lenny or maybe squeeze. [14:09] let me move /svr/fai/nfsroot out of the way and try again. [14:09] But you also may need some changes in your config space. [14:09] If seems that your fai configs are very old. [14:10] etchmirror:/srv/fai# make-fai-nfsroot -vk [14:10] Using configuration files from /etc/fai [14:10] Installing new kernel into the nfsroot. [14:10] chroot: cannot change root directory to /srv/fai/nfsroot/live/filesystem.dir: No such file or directory [14:10] -vk is not the way to create a new nfsroot. remove the -k, leave -v [14:10] working [14:11] Creating base system using debootstrap version 1.0.10lenny1 [14:11] Calling debootstrap lenny /srv/fai/nfsroot/live/filesystem.dir http://etchmirror:9999/debian [14:11] I: Retrieving Release [14:12] ok, looks better :-) [14:14] like baking cookies [14:14] now will this give me the newest kernel is the question. [14:14] my main problem is I have the new Dell R210 and when I PXE it neither the harddrive controller nor the network card was recognized by the older kernel. :/ [14:15] since i know this works, should i Control-C out and change it to use squeeze instead? [14:15] if make-fai-nfsroot finished, please put the log file onto paste.debian.net [14:15] ok.. [14:18] Mrfai: s/if/when/ :) [14:18] anyway, I'll go for the weekend [14:21] Get:10 http://etchmirror etch/updates/main dnsutils 1:9.3.4-2etch6 [181kB] [14:21] Err http://etchmirror etch/updates/main rsync 2.6.9-2etch2 [14:21] 404 Not Found [14:21] Get:11 http://fai-project.org lenny/koeln linux-image-2.6.33-grml grml.02 [31.1MB] [14:23] It seems that you have stil lsome etch entries in /etc/fai/apt/sources.list [14:23] cp -a /etc/fai /etc/fai.old [14:23] Then edit the sources.list in /etc/fai [14:32] trying again [14:44] now will i lose all my classes doing this? because this one of the classes is super important [14:45] hello. i tried to use variable in config/debconf/myclass but it seems to be empty.... is it possible to use variables in debconf config somehow? [14:45] classes are in /srv/fai/config. You will not lose them. But maybe you have to adjust them that they will work using lenny. [14:45] ballison: for sure make some backup [14:45] and maybe put yuor config space in some git [14:46] alekibango: variables can't be used in the debconf subdirectory. [14:46] or cvs if you are using that old system [14:46] :) [14:53] make-fai-nfsroot finished properly. [14:54] I'm a little bit worried though. [14:54] because does this mean our newly imaged boxes will all be getting lenny now instead of etch? [14:54] stop being worried and learn to love the FAI [14:54] :) [14:54] ballison: yes it will be lenny [14:54] etch is not istallable now from internet directly [14:55] i don't think that's going to be allowed because our product (which is sold) will be lenny now. :/ [14:55] ?? [14:55] we image a box with a special image. that image was etch. [14:56] i can't just change it to lenny under the covers [14:56] ouch lol :) [14:56] what i trying to do was update the kernel fai used to install itself to support newer hardware [14:56] ballison: you can always use good old etch or potato installation cd :) [14:56] but that will not help much right [14:57] ballison: but how long you will keep etching? [14:57] this is not viable :) [14:57] so if i go image a host with fai now - i should get lenny? [14:57] let me go try it. [14:58] i just finished running make-fai-nfsroot -v [14:58] and it finished with no errors (using lenny as the source) [14:59] lenny should just work [14:59] if you put your make-fai-nfsroot.log on paste.debian.net I can check this [14:59] try installing one node using it [15:00] Mrfai is right, paste it [15:00] rather, your installation is really old :) [15:01] k [15:01] i just tested it via PXE and it kernel paniced [15:01] panicked [15:02] when? [15:02] which kernel version? [15:03] unknown [15:03] i just changed the NFSROOT file to use lenny and updated the /etc/fai/apt/sources.list to use lenny [15:03] http://pastebin.com/raw.php?i=rFA8Qmdj [15:05] it never gave me a chance to pick kernels or anything. just started booting the initrd [15:06] check /srv/tftp/fai/pxelinux.cfg. You can do this by calling fai-chboot -l [15:07] what does it say for your install client? [15:09] torkel (~quassel@skruttibangbang.hpc2n.umu.se) left irc: Remote host closed the connection [15:10] ballison: What does fai-chboot -l say? [15:10] ballison: did you run fai-chboot after lenny? [15:11] if not, that is the reason. nfs chroot looks fine [15:11] ballison: it was you who installed the fai years before? [15:15] no - i inhereted this system [15:15] best inheretence ever :) [15:16] http://pastebin.com/raw.php?i=C8T76PDq [15:16] ballison: ok [15:16] you have to call fai-chboot for specifing a different kernel. [15:17] But first we have to fix a minor thing inside the nfsroot [15:17] the log looks good, but there was no initrd created for the 2.6.33-grml kernel [15:17] chroot /srv/fai/nfsroot/live/filesystem.dir bash [15:18] update-initramfs -k 2.6.33-grml -t -c [15:18] exit [15:18] this should create the initrd. Then copy it to /srv/tftp/fai [15:19] then call: fai-chboot -SFv -s 2.6.33-grml installclient [15:21] # update-initramfs -k 2.6.33-grml -t -c [15:21] update-initramfs: Generating /boot/initrd.img-2.6.33-grml [15:21] df: Warning: cannot read table of mounted file systems: No such file or directory [15:21] warning: can't open /etc/mtab: No such file or directory [15:21] W: mdadm: unchecked configuration file: /etc/mdadm/mdadm.conf [15:21] W: mdadm: please read /usr/share/doc/mdadm/README.upgrading-2.5.3.gz . [15:21] W: mkconf: MD subsystem is not loaded, thus I cannot scan for arrays. [15:21] W: mdadm: failed to auto-generate temporary mdadm.conf file. [15:21] W: mdadm: no configuration file available. [15:22] where should it have created the initrd to so i can copy it? [15:22] you can ignore those messages, if you will get an initrd in /boot inside the nfsroot [15:23] ./filesystem.dir/initrd.img [15:23] that one? [15:24] found it [15:25] there is no /srv/tftp/fai/ [15:26] nevermind... found it [15:27] do i copy all the files from filesystem.dir/boot/ to /srv/tftp/fai or just the ones with grml in it? [15:27] it must be a initrd.img-2.6.33-grml [15:28] here's my server: [15:28] ls /srv/fai/nfsroot/live/filesystem.dir/boot/ [15:28] System.map-2.6.26-2-686 config-2.6.26-2-686 initrd.img-2.6.26-2-686 vmlinuz-2.6.26-2-686 [15:28] System.map-2.6.33-grml config-2.6.33-grml initrd.img-2.6.33-grml vmlinuz-2.6.33-grml [15:28] yours should look similar [15:29] yep [15:29] i copied initrd.img-2.6.33-grml and vmlinuz-2.6.33-grml to /srv/tftp/fai [15:30] now call fai-chboot [15:30] (( btw that kernel panic called everything on the network to go offline. for some reason it spammed the arp table after it panicked )) [15:30] then boot your install client [15:30] etchmirror:/srv/tftp/fai# fai-chboot [15:30] fai-chboot version 3.4.4 16-january-2008 [15:30] Please read the manual pages fai-chboot(8). [15:30] fai-chboot -SFv -s 2.6.33-grml installclient [15:31] "boot your install client" ?? i boot the host via pxe [15:31] yes, boot it via PXE [15:31] and check which kernel is received via tftp [15:31] i'm confused... where do i run that fai-chboot command? on the fai server, or on the server that i'm pxe booting? [15:32] on the fai server [15:33] # fai-chboot -SFv -s 2.6.33-grml splunk [15:33] Booting kernel vmlinuz-2.6.33-grml [15:33] append initrd=initrd.img-2.6.33-grml ip=dhcp FAI_FLAGS=verbose,sshd,createvt [15:33] splunk has 192.168.0.24 in hex C0A80018 [15:33] Writing file /srv/tftp/fai/pxelinux.cfg/C0A80018 for splunk [15:33] (( i'm trying to build a server to install splunk on. thus the name splunk )) [15:35] Does the machine boot? [15:38] ok - [15:39] What does ok mean? [15:39] 1- i pxe boot the server 2- it connects and pulls the initrd.img-2.6.33-grml kernel and boots that kernel [15:39] good [15:39] 3- a whole bunch of messages come up on the screen at the kernel boots [15:39] 4- it says detecting hardware [15:39] 5- more messages [15:39] perfect! [15:39] 6- then it says "press to reboot server" [15:39] This is FAI_ACTION=sysinfo [15:40] it did not start the installation. [15:40] yet [15:40] nope - nothing installed [15:40] If you call fai-chboot -IFv ..... (so -I instead of -S) and then reboot then you will start the isntallation [15:41] on the fai server or on the client server? [15:42] the pxe booted server is back to "press to reboot server" [15:43] # fai-chboot -IFv -s 2.6.33-grml splunk [15:43] ran [15:43] rebooting PXE client server [15:44] looks like it's working [15:48] is there a pastebin for images? [15:49] oh no - the server is in a infinite reboot/pxe/reboot/pxe/reboot/pxe install cycle now. :) [15:49] need to change the boot order [15:50] bye [15:50] Mrfai (~lange@malzmuehle.informatik.uni-koeln.de) left irc: Quit: leaving [15:56] crap - didn't work and Thomas left [15:56] the only option i have in grub is "kernel memtest" and that's it. [15:59] how do i fix it so it shows all the kernels correctly in grub? [15:59] memtest just runs the memory test. :/ [16:03] anyone here? [16:16] grrr [16:17] need help [16:19] justleen1 (~leen@rev-131-102.virtu.nl) joined #fai. [16:24] justleen (~leen@rev-131-102.virtu.nl) left irc: Ping timeout: 480 seconds [16:31] justleen1 (~leen@rev-131-102.virtu.nl) left irc: Ping timeout: 480 seconds [16:41] looks like it installed everything _except_ a kernel. [16:41] :/ [16:41] i had to KVM into it. chroot /target and then apt-get install the kernel [16:45] \sh (~shermann@nat.de.netviewer.com) left irc: Remote host closed the connection [17:06] Mrfai (~lange@xdsl-195-14-221-177.netcologne.de) joined #fai. [17:07] ballison: did you got my email? [17:07] verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Quit: Ex-Chat [18:19] Mrfai (~lange@xdsl-195-14-221-177.netcologne.de) left irc: Quit: leaving [18:48] Nic0 (~courtel@fw.tls.cena.fr) left irc: Quit: Leaving. [19:04] anyone here? [19:05] i need to know how to get a package that's in the lenny "non-free" repo to install via fai [19:35] alleehol (~quassel@allee.mpe.mpg.de) left irc: Remote host closed the connection [19:47] allee (~quassel@allee.mpe.mpg.de) joined #fai. [20:36] got another question [20:36] anyone here? [20:50] pav5088 (~Mark@120.154.41.212) joined #fai. [20:51] allee-k (~allee-k@p54A45AED.dip.t-dialin.net) joined #fai. [20:53] anyone here who can tell me how fai maps a hostname to a CLASS ? [20:56] ballison: in class/50-... [20:57] ballison: include main contrib non-free section in the lenny line inside /etc/apt/sources.list [20:58] ballison: dont ask if we are here. asking or answering such questions is lost time... [21:33] alek: thanks. i solved that one already. [21:33] i actually got it all working. [21:33] amazingly [21:33] two seperate classes. installing non-free drivers (bnx2) [21:33] all working. [21:33] * happy dance * [22:06] siggg (~jean@88.172.128.32) left irc: Ping timeout: 480 seconds [23:58] allee-k (~allee-k@p54A45AED.dip.t-dialin.net) left irc: Ping timeout: 480 seconds [00:00] --- Sat Dec 11 2010