[02:34] rcy (~rcy@209.90.176.121) joined #fai. [04:38] jair_ (~jair@adsl-67-36-185-84.dsl.chcgil.ameritech.net) joined #fai. [04:42] jair (~jair@adsl-67-36-182-169.dsl.chcgil.ameritech.net) left irc: Ping timeout: 480 seconds [05:21] MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. [05:37] MT (~MT@dove.informatik.tu-muenchen.de) left irc: Ping timeout: 480 seconds [06:14] MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. [06:29] sep (~sep@40.211.jostedal.no) joined #fai. [07:14] ErKa (keryell@m5.wifi.enstb.org) joined #fai. [08:04] serieus (~serieus@office.nedstat.nl) joined #fai. [08:04] I want help with the problem described on the following url: https://lists.uni-koeln.de/pipermail/linux-fai/2007-August/005283.html [08:05] Does anybody know the solution for this problem ? The author of this thread won't respond, and i'm out of possible options :-) [08:07] so what exactly is your problem? [08:08] My problem is that i'm getting the same error, but can't figure out which parameter in the fai.conf is causing or will solve this [08:08] The log files come up with an error that it can't find the package linux-image-486 [08:08] please paste your fai.conf to paste.debian.net [08:08] one moment [08:10] http://paste.debian.net/39174 [08:11] It's pretty standard [08:22] which architecture are you using? [08:23] amd64 [08:23] On both, the install server and the client [08:30] hmm, then probably there is no such package as linux-image-486 [08:31] (just a blind guess) [08:31] is this http://faiwiki.informatik.uni-koeln.de/index.php/Setup_harddisks_2 about the best docs ill find for setup_harddisk2 ? [08:34] MT (~MT@dove.informatik.tu-muenchen.de) left irc: Remote host closed the connection [08:34] MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. [08:34] sep, yes, actually it is [08:34] and probably this channel :-) [08:35] MT the examples in the svn helped a lot :) [08:40] Mrfai (~lange@suenner.informatik.uni-koeln.de) joined #fai. [08:44] Bokeh (~blaat@berchem.lorentz.leidenuniv.nl) joined #fai. [08:45] morning [08:46] just in case someone's awake at this early hour, but i'm having the following problem with fai: when i try to install ubuntu gutsy, the /var/lib/fai/config/class nfs mount won't work. [08:46] i already installed nfs-common in the nfsroot, solving the first problem [08:46] however, now nfsmount requires me to either mount with -o nolock or start rpc.statd [08:46] which FAI version are you using? [08:47] 1 sec [08:47] 3.2.1 [08:47] is there a simple solution, is it a known bug or will i have to hack the -o nolock option into the nfsroot's init.d [08:49] Have a look at http://faiwiki.informatik.uni-koeln.de/index.php/UbuntuTeam [08:49] There's a ubuntu version of 3.2.1 [08:49] a gutsy ppa package [08:50] cool [08:50] let me see how that works out [08:51] hmm..... that's the development tree though, do you know anything about how stable it is? [08:52] it's the stable version for gutsy [09:00] MT: sollte es möglich sein auch lvm volumen als unveränderlich zu markieren? [09:02] meinst mit preserve? [09:12] cheers [09:13] the packages from launchpad worked [09:41] MT: ja, preserve [09:41] da sollte das dann halt einfach nur "preserve" heißen [09:42] also auch dort statt der size [09:42] MT: ich frage weil das auswirkungen auf die darunterliegenden platten hat [09:43] warum das? [09:43] MT: ein "preserve" auf ein raid oder lvm würde auch "preserv" für alle beteiligten partitionen und ev. platten bedeuten. [09:44] hmm, ja [09:44] ansonsten finde ich dein teil dass du da gebaut hast ziemlich beeindruckend [09:44] MT (~MT@dove.informatik.tu-muenchen.de) left irc: Read error: Connection reset by peer [09:44] schade... :-) [09:45] MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. [09:49] umm when i use vg vg_system sda2 in order to make a lvm it fail, but vg system sda2 works. is it prohibited to use vg_ in a volumegroup name ? vg_system is the default vg name in a debian-edu installation [09:51] MT: wie kann man denn lösen dass die bootreihenfolge der devices sich ändert? [09:51] also i use disk_config disk1 in order to partition the first disk. is there any way i can omit using sda2 to specify the pv's hda2 | sda2 | c0d0p2 [09:51] also sda sdb sdc sdd das nächste mal nicht in dieser reihenfolge erkannt werden muss [09:57] does anyone know where Michael Tautschnig prefers comments or bugs on setup_harddrive2 ? [09:58] sep: you work on that one too? [09:58] sep: me too [09:58] stockholm, i only try to use it [09:58] sep: and how are you doing? [09:58] what kind of issue do you see? [09:58] i think i notice a oddity [09:58] Action: stockholm noticed several :-) [10:01] sep, comments either via ICQ or probably better via the mailing list [10:01] sorry, meant IRC instead of ICQ [10:02] meandtheshell (~markus@85.127.118.147) joined #fai. [10:05] MT: weisst du wie man disk-ids in das system reinbekommen könnte om eine reproduzierbare bootreihenfolge zu garantieren? [10:05] in das - welches - system? [10:06] später, booten? [10:06] oder in setup_harddisks? [10:07] stockholm, that i can not start the volumegroup name with vg_[name] [10:07] oh, does that confuse the parser? [10:08] i tried vg_system, and it said in the fai.log Volume group _system allready exsist. [10:08] MT: setup Hardsist muss das ja ermöglichen und einrichten! [10:08] using only system or any other name that dont start with vg is ok [10:09] also das sollte es schon können [10:09] stockholm: das muss man noch mit nem hook machen [10:09] geht derzeit so noch nicht [10:09] im neuen schon [10:09] o gott, echt? [10:09] mach mal disk_config disk1 fstabkey:uuid [10:09] dann muss ich ja meine config ändern! ;) [10:09] also setup_harddisks_2 kann es... [10:10] nur die grub-config dürfte noch ein Problem sein [10:10] hook. [10:10] da muss man AFAIK auch root=UUID=... haben [10:10] hook und initrd [10:10] ich hab da einfach ein preinst bei menu.lst dabei [10:11] aber die fstab sollte setup_harddisks_2 schon richtig mit UUIDs erzeugen [10:15] also http://faiwiki.informatik.uni-koeln.de/index.php/Setup_harddisks_2 might mention that you need dm_mod personally i added a modprobe in partition. but i'm sure there are more corerct ways [10:16] stockholm, other then that it seams to work for me atm [10:16] sep, could you change line 451 in shdd2-parser [10:17] to volume: /^vg\s+/ name devices [10:17] this should do the trick [10:17] MT sure, let me try [10:17] in fact, it would be cool if you could test whether this then works with vg_system [10:18] test is in progress [10:18] thanks, sep [10:18] I also updated the wiki page [10:19] added the modprobe dm_mod to the hook [10:19] very nice [10:21] from my previous test i notice that my lvm swap is correcty craeted as a lv swap , but no fstab entry is written. ? i use vg_system-swap - 512 swap - [10:21] hmm, probably a bug :-) [10:22] a bug! a bug! :) [10:23] ErKa (keryell@m5.wifi.enstb.org) left irc: Ping timeout: 480 seconds [10:23] MT, test failed i used vg vg_system sda2 [10:23] (CMD) vgdisplay -s 1> /tmp/zGDqmuYLjB 2> /tmp/f6mJjzOwY4 [10:23] Unexpected vgdisplay output "system" 11.76 GB [10.93 GB used / 848.00 MB free] [10:26] ok, well :-) [10:26] it seems to accept your name vg_system, which is the good news [10:26] but the parser of vgdisplay output is broken [10:27] let me see whether I can fix that [10:27] mom ... [10:28] ok, sep, about the swap <-> fstab problem [10:32] its a bug in sshd2-fstab [10:32] it silently skips all partitions without a mountpoint [10:32] thus including swaps [10:32] I won't be able to fix this right now, I'll look into it this evening [10:33] so, let's go for the vgdisplay thing [10:34] sure [10:35] ok, its about the MB/GB [10:35] I was only expecting GB [10:35] not 848.00 MB [10:35] MT, what about TB ? [10:35] no idea whether lvm displays this [10:36] actually I had no idea whether vgdisplay was using GB only or MB, TB [10:37] ok, could you please change line 379 of shdd2-volumes [10:37] ( $line =~ /^\s*"(\S+)"\s+\d+\.\d+ [MGT]B\s+\[\d+\.\d+ [MGT]B\s+used \/ \d+\.\d+ [MGT]B\s+free\]$/ ) [10:38] hmm, shall I paste it to paste.debian.net? [10:39] I've committed the bugfixes to the SVN [10:40] MT is not not tricky to try to guess the output all the time ? vgdisplay -s --units m would make it more predictable [10:41] oh, cool [10:41] didn't know about that one [10:43] I'll do the respective changes this evening [10:48] MT, your test on line 379 is booting nowe [10:48] meaning, it did the trick? [10:48] MT, you can use whatever units you want thol [10:48] meanint i am booting the fai client now [10:48] for another install attempt? [10:49] yeah [10:50] stockholm, did you already try the fstabkey:uuid thing? [10:52] MT, it failed to add the partition into the vg vg_system becouse it was allready a member of vg system from my previous installation attempth [10:53] MT, then it failed to create lv's since vg vg_system does not exsists [10:53] hmm, could you manually remove that volume group? [10:54] yeah ill do that and try again [10:55] ill be back in 20 minutes, run to lunch before they remove the food. :) [10:56] I'll also be away for 40 minutes or so [10:57] sep, this is of course a bug, but manually removing it is the quick fix :-) [11:03] ok, i'm a bit further now. i've installed the gutsy version of fai 2.3.1 from ppa.launchpad.net and the install procedure is working, until it gets to downloading the dkpg's with aptitude [11:03] it just stops downloading at a random package [11:04] we're running a local apt mirror here, it doesn't seem to have any performance problems. Anyone who could point me into the right direction or a logfile which would show more info? [11:06] Bokeh: what does software.log say? [11:06] there must be something in the logs [11:07] the only warning software.log gives is about the fact that fai-client is untrusted (which is correct because it comes from another repository) and that it's ignoring it because Ignore-Trust-Violations is set [11:07] the last line is Get:32 http://apt.lorentz.leidenuniv.nl gutsy/main librpcsecgss3 0.14-2ubuntu4 [35.4kB] [11:08] the package name and number is usually different [11:08] MT: the fstabkey:uuid thing is a solution, but it would need to be automated in order to work [11:08] dmesg is only giving me a message about unionfs (new lower inode mtime) [11:12] status.log ends with instsoft.FAIBASE OK. in case that's interesting to know [11:13] i-R2D2 (~deed@tor-irc.dnsbl.oftc.net) left irc: Remote host closed the connection [11:16] MT (~MT@dove.informatik.tu-muenchen.de) left irc: Ping timeout: 480 seconds [11:20] i-R2D2 (~deed@tor-irc.dnsbl.oftc.net) joined #fai. [11:26] serieus (~serieus@office.nedstat.nl) left irc: Quit: My damn controlling terminal disappeared! [11:35] MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. [11:37] Bokeh: try using an official mirror. OR paste the whole fai.log to paste.debian.net [11:39] yeah, was already working on seeing if it works with the regular ubuntu mirrors [11:39] still weird though, never had problems with installing from the local repo [11:40] ErKa (~keryell@keryell.pck.nerim.net) joined #fai. [11:56] nope... still hanging while getting the dpkgs [11:56] i'll put the log up in a second [11:59] http://paste.debian.net/39195 [12:00] really strange. [12:01] Log into your install client and use top and strace (maybe not installed into the nfsroot) to check what is going on. Maybe a partition is full? [12:02] top isn't really showing anything, i'll put strace in the nfsroot now [12:02] looks like aptitude is hanging for some reason [12:02] it's still in pstree but not doing anything [12:03] brb [12:29] hmmm [12:29] iostat isn't showing anything significant [12:30] and the only thing that aptitude is doing according to strace is [pid 7302] futex(0xa4d67c, FUTEX_WAIT, 1, NULL [12:31] Mmm, I never heard of this problem. Other people have success using ubuntu [12:31] could be b0rked hardware, i'll give it a try on another machine later one [12:31] on* [12:32] yeah, i also didn't have any problems with installing dapper with fai [12:32] though that was a while ago already on different machines with a different setup [12:33] it seems all processes (install_packages, aptitude, the http processes spawned by aptitude are all in a wait state [12:34] could be a messed up harddisk or ram, though it's weird dmesg doesn't show anything interesting [12:45] Action: h01ger is hit by bashism in his own script :) [12:47] ErKa (~keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds [12:57] MT: gestern hast du gesagt ich solle auch die zeilen 95 und 96 in shdd2-pasrer ändern wenn ich die disk1.2 notation hinzufügen würde. [12:57] MT: aber in den zeilen ist doch garnix was damit zu tun hat, oder sehen ich das falsch? [12:58] Mrfai: http://www.zweinull.cc/spotify-neuer-musikdienst-stellt-alles-andere-in-den-schatten/ [12:58] also da sollte meines Wissens nach dieselbe regexp stehen wie im eigentlichen Code [12:58] ach, stockholm, was hast Du eigentlich vorhin gemeint mit [12:59] MT: der witz ist dass die regexp glaube ich garnicht geändert werden muss. [12:59] "it would need to be automated in order to work"? [12:59] ErKa (keryell@keryell.pck.nerim.net) joined #fai. [12:59] hmm, stimmt [13:00] das nimmt ja alles [13:00] MT: ich meinte dass shdd das uuid labeling übernehem müsse und die richtigen werte in grubs boot.menu und fstab eintragen müsste [13:00] also in fstab sollte er das ja machen [13:00] und grub muss ja auch davon wissen, damit der kernel die devices richtig ordnen kann [13:00] ok, dann muss man also nur im parser das disk\d+\.\d+ besonders behandeln [13:01] ja, grub ist schon noch ein Problem [13:01] genau [13:01] das habe ich gerade gemacht [13:01] und checke es mal eben ein [13:01] ich schreib das mit grub mal auf die wiki-Seite [13:03] MT: schau mal ob das so passt in -parser [13:03] stockholm, vielleicht ist das mit dem grub gar nicht so kompliziert [13:03] ich teste es mal geschwind... [13:03] es gibt ja die Variable ROOT_PARTITION [13:04] und die muss man einfach exortieren? [13:04] hmm, mal kurz die Skripte ansehen [13:06] ja, ich glaub schon dass das funktionieren sollte [13:06] also man muss einfach nur in ROOT_PARTITION den richtigen Wert reinschreiben [13:06] stockholm: danke. Interessanter Beitrag. Und meine FReundin ist immer noch begeistert von spotify. [13:07] stockholm, Zeile 124 in shdd2-fstab [13:09] MT: was sollte da rein, dann? [13:09] da muss man ROOT_PARTITION mit einem korrekten Wert belegen [13:09] MT: ja, das hatte ich verstanden. [13:09] im moment wird da halt /dev/sda oder so gebaut [13:10] ah [13:10] dann müsste man also die infrastruktur zum uuid-holen besorgen? [13:10] ich glaube, so ungefähr den Code ab Zeile 93 kopieren [13:10] ist eigentlich alles schon da [13:10] ohhh [13:11] MT, seams to work when the disk is clean [13:11] ok, thanks [13:11] just one thing [13:11] you had a volume group named system on disk and now have a volume group "vg_system", don't you? [13:12] stockholm, es ist noch viel einfacher [13:12] noch einfacher??? :-) [13:12] $FAI::disk_var{ "ROOT_PARTITION" } = $fstab_line[0] [13:12] well now it's called vg_system2, since i have been testing a few times. and i wanted to make sure the old one got erased and not reused, [13:13] in Zeile 124 statt dem was dort steht [13:13] das if in Zeile 125 muss bleiben [13:13] weil in fstab_line steht ja eh schon das richtige drin, muss man den device namen ja nicht nochmal bauen... [13:13] j [13:14] ja [13:14] ok, cool. [13:14] das kommitte ich dann auch noch eben. :-) [13:14] sep, ok, I just wonder why it failed to add a logical volume to vg_system which had previously existed only in system [13:14] dann sieht das im svn log danach aus als hätte ich richtig was drauf. :-) [13:15] MT, becouse when the md_mod is loaded the vg and lv's from the disks are 'valid' [13:15] so the disk is in the vg, and the vg is in use by lv's [13:16] partman in d-i have the same problem [13:16] ah, hmm, ok [13:16] this will require some further debugging/testing then [13:17] stockholm, kannst Du dann auch testen, ob das mit den UUIDs so auch wirklich klappt? [13:18] stockholm, noch eine Bitte [13:18] kannst Du TODO statt ToDo schreiben? [13:18] macht das grep einfacher :-) [13:18] MT: grep -i [13:19] sicher, aber wenn man das vergisst... [13:28] MT, you can check out dm_wipe_lvm() in partman http://svn.debian.org/wsvn/d-i/trunk/packages/partman/partman-auto/auto-shared.sh?op=file&rev=0&sc=0 [13:29] MT: ja, klar [13:29] MT: jetzt setzt er ROOT_PARTITION=/dev/my_pv/_root [13:29] was ist mit boot? [13:29] er soll ja booten von /boot [13:29] und das ist auch das was grub liest [13:30] das sollte AFAIK kein Problem sein [13:30] also in /boot liegt grub selbst [13:30] bis dahin muss das BIOS kommen [13:30] und dann muss grub nur die richtige root=bla Kommandozeile an den kernel übergeben [13:31] und da muss dann eben root=/dev/my_pv/_root stehen [13:31] das sollte dann eigentlich schon klappen [13:31] falls die grub-tools das richtig reinschreiben [13:31] -> mal die erzeugte menu.lst prüfen [13:32] ja, ich boote jetzt gerade das installierte system [13:34] grup error 17 [13:34] grub error? [13:34] ja [13:34] was findet er denn nicht? [13:34] ich mein, das hat dann ja mit root=bla noch nix zu tun ... [13:36] vielleicht ist die device.map nicht OK? [13:37] 17 : Cannot mount selected partition [13:37] This error is returned if the partition requested exists, but the filesystem type cannot be recognized by GRUB. [13:38] 17 : Cannot mount selected partition This error is returned if the partition requested exists, but the filesystem type cannot be recognized by GRUB. [13:39] stockholm, wenn Du die grub config beim booten editierst, findet er da den kernel und so? [13:39] (einfach mal tab completion probieren...) [13:39] MT, any way one can avoid hardcoding device names in the line vg vg_system sda2 ? since i use the line disk_config disk1, [13:39] gerade macht grub garnix mehr. ich probiere gleich [13:40] sep, stockholm comitted a patch for this just a few minutes ago [13:40] if you grab shdd2-parser from SVN again, you can use [13:40] MT stockholm great [13:40] disk1.2 [13:41] for partition 2 on sda, if sda is disk1 [13:44] MT: grub kommt garnicht richtig hoch, error 17 kommt "sofort" bevor ich was manuell machen kann [13:44] MT: was macht dein patch? [13:45] Du meinst, die Sache mit ROOT_PARTITION? [13:45] ja [13:45] ganz dumme frage. Kann grub denn lvm? [13:45] sollte eben eigentlich nur statt /dev/sda1 oder so evtl. eine UUID oder ein LABEL nehmen [13:45] Mrfai: das muss er nicht [13:46] Mrfai: erst bootet man /boot wo der kernel und die initrd drauf ist [13:46] Mrfai: aber ich frage mich warum die root partition dann ins spiel kommt [13:46] MT: zuerst muss doch erstmal /boot auf der richtigen hd gefunden werden. [13:47] wie funktioniert das denn wenn die festplatten in beliebiger reihenfolge auftauchen können? [13:52] stockholm, der letzte Patch sollte eigentlich nichts ändern bei Dir [13:52] weil die root partition ja sowieso im LVM liegt [13:52] hat es denn vorher funktioniert? [13:52] ah [13:53] MT: das letzte mal war das error 17 [13:53] jetzt boote ich wieder [13:55] wieder error 17 [13:55] und hier ist die fstab [13:55] # [13:55] /dev/sde1 none swap sw 0 2 [13:55] /dev/sdb1 none swap sw 0 2 [13:55] /dev/my_pv/_root / ext3 rw,errors=remount-ro 0 1 [13:55] /dev/sdc1 none swap sw 0 2 [13:55] stockholm: stimmt /boot ist wohl nicht im LVM nur /. Verstehe. [13:55] /dev/sdb2 /boot ext3 rw,notail 0 2 [13:55] /dev/my_pv/_var /var xfs rw,notail,noatime 0 2 [13:55] /dev/sdd1 none swap sw 0 2 [13:55] ich meine, hat es schon irgendwann mal mit setup_harddisks_2 geklappt? [13:55] MT: nee, vorher hatten wir ja andere probleme so dass es nie überhaupt gebootet hat [13:56] errr [13:56] ich meine: vorher ist shdd2 ja nie durchgelaufen [13:56] ja, verstehe [13:56] jetzt macht es das. [13:56] was steht denn in shell.log oder so drin? [13:56] wie markiert man die bootpartition denn? [13:57] irgendwelche errors, wenn er GRUB/10-setup ausführt? [13:57] MT: ich habe hier die fai.log, die ist fast nur shdd2 log :-) [13:57] ich schau mal [13:57] shell.log brauchst aber ... [13:57] hmm, boot partition [13:57] ja [13:58] Executing shell: GRUB/10-setup [13:58] GRUB/10-setup FAILED with exit code 1. [13:58] aber in shell.log sollte mehr drin stehen [13:58] ok [13:59] floood!!! [13:59] hmm, vielleicht brauchst du sowas [13:59] Report bugs to . [13:59] Can't open /target/boot/grub/device.map [13:59] Searching for GRUB installation directory ... found: /boot/grub [13:59] Searching for default file ... Generating /boot/grub/default file and setting the default boot entry to 0 [13:59] Searching for GRUB installation directory ... found: /boot/grub [13:59] Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst [13:59] Searching for splash image ... none found, skipping ... [13:59] Found kernel: /vmlinuz-2.6.18-5-amd64 [13:59] Found kernel: /memtest86+.bin [13:59] Updating /boot/grub/menu.lst ... done [13:59] Grub installed on on [13:59] ERROR: postinst returned code 1 [13:59] GRUB/10-setup FAILED with exit code 1. [13:59] disk_config disk1 fstabkey:uuid bootable:2 [14:00] er braucht die Variablen BOOT_PARTITION und BOOT_DEVICE [14:00] i see this error too GRUB/10-setup FAILED with exit code 1 [14:01] ok, switching to English [14:01] MT: ok, i test that [14:01] BOOT_PARTITION and BOOT_DEVICE seem not to be set [14:01] could either of you check that? [14:01] MT: i am reinstalling with that setting now [14:02] with bootable:2 ? [14:02] yes [14:02] I'd be interested in what happens if you don't have that [14:02] it should have properly set the values itself [14:02] I hope ... [14:03] paste the contents of disk_var.sh [14:03] without bootable:2 [14:04] MT fai.log and disk_var.sh state that BOOT_DEVICE and BOOT_PARTITION is set [14:04] sep, do you have a separate /boot partition? [14:04] MT i have bootable:1 btw and a primary /boot [14:04] yes [14:05] but, did your grub report error 17 as well? [14:05] when booting the client for the first time? [14:05] again, grub exited with error 1 [14:05] what about the log? [14:05] does it still say [14:06] Grub installed on on [14:06] or are there now sensible values? [14:06] after the on's [14:06] ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds [14:07] http://paste.debian.net/39209 [14:07] that is the grub part from shell.log [14:07] it looks quite unhappy [14:08] Grub installed on on [14:08] ERROR: postinst returned code 1 [14:08] GRUB/10-setup FAILED with exit code 1. [14:08] Can't open /target/boot/grub/device.map [14:08] Thomas pointed in this direction already [14:08] Action: Mrfai filed a bug report that the postinst of grub/menu.lst should check if those variables are defined [14:08] just a sec ... telephone ... [14:09] http://paste.debian.net/39211 [14:09] it's identical [14:09] the uuid is not used in BOOT_PARTITION: [14:09] # [14:09] /dev/sde1 none swap sw 0 2 [14:09] UUID=e6163ecf-98ff-41b8-ace6-a3ed7bd59ce3 none swap sw 0 2 [14:09] /dev/my_pv/_root / ext3 rw,errors=remount-ro 0 1 [14:09] /dev/sdc1 none swap sw 0 2 [14:09] UUID=c3455830-36b4-45b2-aa7a-380c4c0ca295 /boot ext3 rw,notail 0 2 [14:09] /dev/my_pv/_var /var xfs rw,notail,noatime 0 2 [14:09] /dev/sdd1 none swap sw 0 2 [14:09] SWAPLIST=/dev/sde1 /dev/sdb1 /dev/sdc1 /dev/sdd1 [14:09] BOOT_DEVICE=/dev/sdb [14:09] ROOT_PARTITION=/dev/my_pv/_root [14:09] BOOT_PARTITION=/dev/sdb2 [14:09] but it is used in the fstab [14:09] that is something already [14:10] Mrfai: can we work around those missing definitions? [14:10] can we define them on our own? [14:10] #groot= is blank in the menu.lst [14:14] setup_harddisks2 should write those variables to diskvar.sh. Then they should be defined during postinst [14:15] I think the values written to disk_var.sh are ok [14:15] Mrfai: they are there: [14:15] SWAPLIST=/dev/sde1 /dev/sdb1 /dev/sdc1 /dev/sdd1 [14:15] BOOT_DEVICE=/dev/sdb [14:15] ROOT_PARTITION=/dev/my_pv/_root [14:15] BOOT_PARTITION=/dev/sdb2 [14:16] in diskvar_sh [14:16] which is pretty fine IMHO [14:16] jupp [14:16] except that we need them in UUID form [14:17] no, you don't [14:17] why not? [14:17] because nothing changes in that sense until you run grub-install [14:17] ah [14:18] and grub-install checks the fstab? [14:18] no, it is told [14:18] grub-install --no-floppy --root-directory=$target $BOOT_DEVICE [14:18] $BOOT_DEVICE is /dev/sdb [14:19] and that can change its name, but grub maps that to something stable internally? [14:19] please add set -x into postinst, wo we can see if the variables are really defined in the postinst script [14:19] s/wo/so/ [14:19] which postinst script? [14:19] yes, maybe even add some debugging output for now [14:19] the grub one? [14:19] files/boot/grub/menu.lst/postinst [14:19] in your config space [14:19] ah [14:19] grub/menu.lst/postinst [14:20] in order to install grub manually i had to chroot /tartget ; cp /proc/mounts /etc/mtab ; grub-install /dev/sda, edit meny.lst with the #groot line and update-grub [14:20] my ride is here now so i have to leave. [14:21] MT, Mrfai do you have some suggestions regarding the additional debug output? [14:21] echo X${BOOT_DEVICE}X [14:21] something of that kind [14:22] and set -x would be pretty cool [14:22] yep, that's perfect for debugging [14:23] stockholm, is /target/var/log/fai/disk_var.sh really in place? [14:23] i can check next time around [14:23] stockholm, where from did you read the variable settings you posted above [14:24] MT: from the install server [14:24] /target/var/log/fai/disk_var.sh is only needed for softupdates [14:24] no, it's read in exactly this postinst script [14:25] ah, no, I get it [14:25] should these variables be exported? [14:25] # during softupdate use this file [14:25] [ -r $target/var/log/fai/disk_var.sh ] && . $target/var/log/fai/disk_var.sh [14:25] the old (or current) setup_harddisks says this: [14:25] Write FAI variables to file /var/log/fai/current/disk_var.sh [14:25] MT: dont you export them currently? [14:26] the FAI automatically sources this file, so the variables are defined [14:26] s/the/then/ [14:26] ok [14:29] echo "BOOT_DEVICE:${BOOT_DEVICE}" [14:29] + echo BOOT_DEVICE: [14:29] BOOT_DEVICE: [14:29] in shell.log [14:29] also sind die variablen nicht definiert. [14:30] MT: aber das sollte ja einfach zu fixen sein [14:30] existiert /tmp/fai/disk_var.sh [14:30] ? [14:30] ich schau gerad [14:30] fai-client:~# cat /tmp/fai/disk_var.sh [14:30] SWAPLIST=/dev/sde1 /dev/sdb1 /dev/sdc1 /dev/sdd1 [14:30] BOOT_DEVICE=/dev/sdb [14:30] ROOT_PARTITION=/dev/my_pv/_root [14:30] BOOT_PARTITION=/dev/sdb2 [14:31] ja [14:31] BINGO! [14:31] fai-client:~# ls -al /var/log/fai/current/disk_var.sh [14:31] -rw-r--r-- 1 root root 127 Oct 9 16:32 /var/log/fai/current/disk_var.sh [14:31] was bingo? [14:31] 112 # now define variable for root and boot partition and boot device [14:31] 113 . $LOGDIR/disk_var.sh [14:32] das passiert natürlich im task partition [14:32] der ja geskippt wird [14:32] ah, und das wird .... genau [14:32] Mrfai, hast Du eine gute Idee für eine saubere Lösung? [14:32] dann müssen wir das in den hook mit reintun, gelle? [14:32] naja, aber der hook wird nicht gesourct [14:32] Du musst dann den hook umbenennen [14:32] partition.BLA.source [14:32] dann klappt's [14:32] der hook wird gesourced wenn er mit .source endet [14:33] ich ändere mal die wiki page [14:35] ok, wiki page ist aktualisiert [14:44] meandtheshell (~markus@85.127.118.147) left irc: Quit: Leaving. [14:44] stockholm, konntest Du schon einen neuen Test machen? [14:45] ja, gerade eben: [14:45] immer noch grub error ... [14:45] grub-install --no-floppy --root-directory=$target $BOOT_DEVICE [14:45] + grub-install --no-floppy --root-directory=/target /dev/sdb [14:45] You shouldn't call /sbin/grub-install. Please call /usr/sbin/grub-install instead! [14:45] Probing devices to guess BIOS drives. This may take a long time. [14:45] /dev/mapper/my_pv-_root does not have any corresponding BIOS drive. [14:45] error=1 [14:45] ++ error=1 [14:46] jetzt gibt es also die umgebungsvariablen [14:47] aber bood device ist falsch gesetzt. [14:47] ? [14:47] nee [14:47] stimmt nict [14:47] er weiss nicht was /dev/mapper/my_pv-_root [14:47] ist [14:47] kannst Du mal nochmal den ganzen Teil aus shell.log -> paste.debian.net? [14:47] ja [14:47] thx [14:48] http://paste.debian.net/39216 [14:49] blöde Frage: macht der error wirklich was aus? [14:50] oder tut's einfach [14:50] also bootet der client? [14:50] nee, error 17 [14:50] wieder [14:52] ok ich haetter gerne noch "echo $1" in dem postinst [14:53] das ist wird als $ENV{$1} in dem perl einzeiler genutzt [14:54] ist den der filetype fuer die /boot partition richtig gesetzt? [14:54] was sagt fdisk oder file -s /dev/sdb... [14:55] das hier ist falsch: [14:55] + grub-install --no-floppy --root-directory=/target /dev/sdb [14:55] ? [14:55] warum falsch? [14:55] das muss von /target/boot booten, nicht von /target [14:56] aber das root-directory, sollte das nicht der mountpoint von / sein? [14:56] sodass er dann /boot finden kann? [14:56] was ich im Netz gefunden habe: [14:56] ist /boot wirklich gemountet? [14:56] also während grub-install aufgerufen wird [14:57] ah [14:57] gute frage. [14:57] IMO ist /target richtig. [14:57] ich denk auch [14:57] stockholm: paste mal das ganze fai.log [14:57] und bitte mal checken, ob alles gemountet ist ... [14:58] ich habe jetzt $1 und mount noch in postinst dazugeschrieben und boote nochmal, dann paste ich fai.log und shell.log nach paste.debian.net [14:59] super! [14:59] echo $1 hoffentlich ;-) [15:08] http://paste.debian.net/39218 [15:08] http://paste.debian.net/39219 [15:10] also wenn ich's nicht übersehen habe, dann ist /boot nicht gemountet [15:10] ja, sehe ich auch nicht [15:10] das ist ja *schlecht* [15:10] # [15:10] Calling task_mountdisks [15:10] # [15:10] Mounting /dev/my_pv/_root to /target/ [15:10] # [15:10] Mounting /dev/my_pv/_var to /target/var [15:11] warum kein /boot? [15:11] Physical volume '/dev/sdd2' is already in volume group 'my_pv' [15:11] ist das OK? [15:11] Und hier scheint ein syntax error drin zu sein: [15:11] /var/log/fai/current/disk_var.sh: line 1: /dev/sda1: Permission denied [15:12] hmm, da brauchen wir wohl " [15:12] SWAPLIST hat vermutlich keine quotes [15:12] kannst Du mal die generierte fstab pasten? [15:13] ja [15:14] und das fai.log war auch nicht ganz komplett. Nur als info. Weil am Ende von fai.log sieht man was alles gemountet ist. [15:15] echo '$1' bringt nichts. $1 muss in "" stehen sonst wird nicht die variabel ausgegeben [15:15] ok, das mit SWAPLIST hab ich gefixt [15:15] r4612 [15:15] # /etc/fstab: static file system information. [15:15] # [15:15] # [15:15] /dev/sdb1 none swap sw 0 2 [15:15] UUID=621537db-f54f-4c57-bba7-c6ed2afb4176 none swap sw 0 2 [15:15] sorry vergiss mein $1 kommentar [15:15] /dev/my_pv/_root / ext3 rw,errors=remount-ro 0 1 [15:15] /dev/sdc1 none swap sw 0 2 [15:15] UUID=58e982cf-2632-45e1-9402-ffbff4c0183c /boot ext3 rw,notail 0 2 [15:15] /dev/my_pv/_var /var xfs rw,noatime 0 2 [15:15] /dev/sdd1 none swap sw 0 2 [15:15] /dev/fd0 /floppy auto users,noauto 0 0 [15:15] /dev/hda /media/cdrom0 udf,iso9660 ro,user,noauto 0 0 [15:15] /dev/sr0 /media/cdrom1 udf,iso9660 ro,user,noauto 0 0 [15:15] dacht ich mir doch [15:15] mount2dir kann vermutlich keine UUIDs [15:16] ne woher auch ;-) [15:16] kann mount direkt UUIDs? [15:17] also kann man mount /bla machen? [15:17] stockholm: du hast vier swap partitionen? zwei nur mit UUID angegeben und zwei mit /dev/sd... ? STimmt das? [15:18] Mrfai: ja, jede festplatte hat eine swap partition [15:18] ja, mount kann UUIDs [15:18] MT: mount -U kann das [15:18] also bei mir hat's jetzt auch ohne geklappt [15:18] also ohne -U [15:19] Mrfai: aber ich weiss nicht warum die eine in UUID und die andren drei in /dev/bla2 angegeben sind. [15:20] kannst Deine disk_config mal pasten? [15:20] die ist doch in fai.log mit drin [15:20] und Du wirst wohl vorerst mal $NFSROOT/usr/lib/fai/mount2dir hacken müssen [15:20] sorry, natürlich [15:21] fstabkey:uuid musst Du bei jeder disk angeben [15:21] MT: und mount2dir muss uuids verdauen können? wie sollen die denn *wirklich* aussehen? [15:21] das sollte nicht weiter schwierig sein [15:21] Zeile 76 von mount2dir [15:22] /dev/*|LABEL=*|UUID=*) [15:22] falls fsck und mount mit labels und UUIDs umgehen können [15:22] sonst muss man wohl mehr machen [15:23] schau mal in /etc/init.d/checkroot.sh [15:24] ja [15:25] patch fuer mount2dir bitte per email an mich. Ich bau ihn dann ein [15:26] ok, falls es nicht mit der obigen Änderung klappt muss man findfs bemühen [15:26] root@joey:~# findfs UUID=f23dffd4-1e71-4a36-976f-9fffa8b22695 [15:26] /dev/sda1 [15:26] testing... [15:32] fai-client:~# mount | grep boot [15:32] fai-client:~# [15:32] hm [15:32] immer noch nicht [15:32] mount | grep target [15:32] /dev/my_pv/_root on /target type ext3 (rw,noatime,data=ordered) [15:32] /dev/my_pv/_var on /target/var type xfs (rw,noatime) [15:32] proc on /target/proc type proc (rw) [15:32] sysfs on /target/sys type sysfs (rw) [15:32] udev on /target/dev type tmpfs (rw) [15:32] fai-client:~# [15:33] steht in fai.log irgendwas [15:33] irgendwelche Fehlermeldungen? [15:33] bzw. mount2dir nochmal manuell ausführen [15:33] mfl (~mfl@adonis.fnb.maschinenbau.tu-darmstadt.de) joined #fai. [15:34] /usr/lib/fai/mount2dir /target /tmp/fai/fstab [15:34] das wär vielleicht eine gute Sache [15:34] http://paste.debian.net/39221 [15:34] und vielleicht sh -x mount2dir ..... [15:34] http://paste.debian.net/39222 [15:36] ähm, kannst Du mount /dev/sda2 /target/boot machen? [15:36] # [15:36] Mounting UUID=51fe2312-d781-48c1-9287-ad41213c4357 to /target/boot [15:36] # [15:36] mount: wrong fs type, bad option, bad superblock on /dev/sda2, [15:36] # [15:36] missing codepage or other error [15:37] # [15:37] In some cases useful info is found in syslog - try [15:37] # [15:37] dmesg | tail or so [15:37] offensichtlich kann er also die UUID mappen [15:37] http://paste.debian.net/39223 [15:37] da ist das nochmal der set -xv output von mount2dir [15:38] UUID= muss wahrscheinlich weg beim mount aufruf [15:38] ja [15:39] sicher? [15:39] ich mein, probier einfach mal von Hand /boot zu mounten [15:39] mount -t ext3 -o noatime -o rw,notail UUID=51fe2312-d781-48c1-9287-ad41213c4357 /target/boot [15:39] solange anpassen, bis es klappt [15:40] mount /dev/sda2 /target/boot [15:40] das geht gut [15:41] fai-client:~# mount -t ext3 -o noatime -o rw,notail UUID=51fe2312-d781-48c1-9287-ad41213c4357 /target/boot [15:41] mount: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so [15:41] mit -U, wie Mrfai gemeint hat, klappt das? [15:43] mount -t ext3 -U 1234-123234234-234-2-34-234 /mnt klappt bei mir [15:44] UUID=....... klappt aber auch [15:44] mount -t ext3 -U 51fe2312-d781-48c1-9287-ad41213c4357 /target/boot [15:44] geht [15:44] ok, dann musst wohl mount2dir doch etwas aufwändiger patchen [15:44] stockholm: probier man UUID= [15:44] die mountoptions waren das problem, nicht die uuid oder -U [15:45] notail gibt es IMO nur bei reiser [15:45] fai-client:~# mount -t ext3 UUID=51fe2312-d781-48c1-9287-ad41213c4357 /target/boot [15:45] das geht [15:45] und -o noatime -o rw [15:45] ? [15:45] ja, das war der notail der hankt [15:45] yep, das notail bei ext3 erzeugt den FEhler [15:46] aber das steht in Diner disk_config [15:46] :-) [15:46] stockholm: schick mir bitte den mount2dir patch [15:46] MT: ja das geht auch mit den -o options [15:47] Mrfai, ich glaub es war einfach /dev/*|LABEL=*|UUID=*) [15:47] in Zeile76 [15:47] Action: Mrfai ist gespannt ob der Rechenr das naechste mal bootet [15:47] stockholm, pleas confirm [15:48] mt, Mrfai ja, bisher ist es nur das /dev/*|LABEL=*|UUID=*) [15:48] notail entfernt [15:48] ok [15:48] neu gebootet [15:49] wenn der jetzt gleich bootet verschwinde ich ganz schnell nach hause... dann kriege ich nämlich onch meinen zug :-) [15:50] Action: Mrfai drueckt die Daumen. [15:57] yes, grub OK! [15:59] YESSSSS! [15:59] tschüss! [15:59] weiter heute nacht zuhause. [15:59] Action: Mrfai gratuliert MT und stockholm [15:59] gute Arbeit! [15:59] Action: MT dankt stockholm ... [16:00] Mrfai (~lange@suenner.informatik.uni-koeln.de) left irc: Quit: leaving [16:00] Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai. [16:08] sepski (~sep@217.17.211.51) joined #fai. [16:47] Mrfai (~lange@kueppers.informatik.uni-koeln.de) left irc: Quit: leaving [16:47] Mrfai (~lange@xdsl-87-78-55-146.netcologne.de) joined #fai. [16:51] hmm after svn up i cant get partitioning to work again, i did revert the changes MT instructed back to svn version of the files. is it broken atm or ? [16:52] just a sec .. [17:06] MT (~MT@dove.informatik.tu-muenchen.de) left irc: Remote host closed the connection [17:07] MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. [17:22] sorry sepski .. [17:23] no, the current state _should_ be fine [17:23] in what sense is it broken? [17:25] does not create partitions, but it might be related to some dd commands i put into the hook to overwrite lvm info before loading the dm module [17:26] are there any error messages? [17:27] ill clean up my hook and try, ill post a log if it still fail [17:28] yeah it was my ugly dd if=/dev/zero of=/dev/sda that did it in the hook. [17:28] nevermind the noise [17:29] hmm, was it really that line that caused the error? [17:29] why did it? [17:29] seems strange to me... [17:29] did you check the wiki page in the last hour or so? [17:29] there was a severe change to the hook [17:30] it must get sourced [17:30] otherwise we can't get the disk_var.sh contents along [17:30] no ill check it out [17:35] #dd if=/dev/zero of=/dev/sda bs=1k count=1 [17:35] #hdparm -z /dev/sda [17:35] commented these and it worked again [17:36] I'd be interested in the error that setup_harddisks_2 reported (and that caused it to fail) [17:36] or does that simply mean that there was no error reported? [17:43] ill uncomment and post a log [17:43] after i see if this install ends with a successfull grub. [17:45] sepski, I'll be offline for little less than an hour [17:45] will you be online later on? [17:45] most likely [17:45] I'd really be interested in your logs [17:45] would be cool if you could tell me later on [17:45] perhpas not after 21:00 but ill be online again from tomorro 0800 [17:45] I'll ask then... [17:45] ok, see you soon [17:46] :) [17:52] ErKa (keryell@keryell.pck.nerim.net) joined #fai. [17:53] MT (~MT@dove.informatik.tu-muenchen.de) left irc: Ping timeout: 480 seconds [18:10] ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds [18:11] now i finished the Giga/Tera/Petabyte patch. [18:28] MT (~MT@ppp-82-135-65-206.dynamic.mnet-online.de) joined #fai. [18:31] jesper_ (~jesper@shrek.krogh.cc) joined #fai. [18:31] Hi. [18:31] Nick change: MT -> Guest1344 [18:31] MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. [18:31] I get messages from the root-on-NFS like this: [18:31] http://pastebin.com/m37ccfd00 [18:31] http://paste.debian.net/39237 [18:32] "Nfs server not responding, still trying". [18:32] Any debugging suggestions. It is not a persistent error.. it only show up "sometimes" [18:32] sepski, was it you who had an issue with the swaps not entering fstab? [18:33] thanks sepski, I'll look into this [18:33] MT: hilfe! ich habe den giga/tera/petabyte patch fertig, lasse perltidy drueberlaufen und habe jetzt einen riesen diff! [18:34] svn diff | wc 2576 11495 90622 [18:34] der patch selbst ist nicht SOOO gross [18:34] hmm, ja, ich hab irgendwann manuell weiterformatiert [18:34] könntest Du folgendes machen [18:34] Deine Änderungen reverten [18:34] dann perl tidy [18:35] und dann commit [18:35] ich habe es nicht eingecheckt [18:35] ah, ja [18:35] stimmt [18:35] und dann nur den eigentlichen patch [18:35] macht es einfacher, falls es mal Probleme gibt [18:35] wenn im commit log drin steht, dass das nur perl tidy war [18:35] (und sonst wirklich nichts!) [18:36] Guest1344 (~MT@ppp-82-135-65-206.dynamic.mnet-online.de) left irc: Ping timeout: 480 seconds [18:42] MT: ja, so habe ich es jetzt gemacht [18:42] super! [18:44] MT, yeah youll see the conffile in that paste actualy. [18:45] wie kriege ich denn das system dazu die initramdisk mit dm_mod zu bauen? [18:45] mom ... [18:46] stockholm: /etc/initramfs-tools/modules [18:47] MT: und wenn du mal den eigendlichen patch anschaust siehst du dass ich da auch kilobyte habe. aber es ist zweifelhaft dass das mit k und 1/1024 wirklich so funktioniert. weisst du man kommazahlen an parted geben kann? [18:47] nein, macht er nicht [18:47] rechnet alles in byte um [18:47] (und rundet wenn notwendig) [18:48] also vielleicht könnte parted das sogar [18:48] aber kleiner als byte wird eh nicht gehen :-) [18:48] bzw. man muss ja sogar zu cylinders runden [18:49] sepski, which paste do you mean? [18:49] MT: aber du wirfst ja Mbyte in range rein. rechnest du das später in byte um? [18:49] sepski, I only saw the one with the error [18:49] dann ist das mit kbyte kein problem so :-) [18:49] this has no fstab after all :-) [18:50] ja, stockholm - siehe z.b. Zeile 628 in shdd2-sizes [18:51] die perl-tidy version hast aber noch nicht eingecheckt, oder? [18:51] MT: doch [18:52] ah, ich hatte die schon [18:52] sorry [18:52] MT, check line 94 in that one it's now i tried to do lvm swap [18:53] yeah, sure [18:53] but due to some bug setup_harddisks_2 failed entirely :-) [18:54] so I can't see anything about a missing entry in fstab :-) [18:54] uhh, did i break it??? [18:54] no [18:54] it is broken if you do hdparm -z before [18:54] for some strange reason [18:54] well you wont find that in any log. i just ment to indicate how i tried towrite the swap into the config file [18:54] stockholm, see http://paste.debian.net/39237 [18:55] ah, ok [18:55] ah, sepski [18:55] there's an error in that config [18:55] it should say [18:56] system2-swap swap 48 swap - [18:56] that is, the "mountpoint" is swap [18:56] not "-" [18:57] MT, thanks [19:02] sepski, still there? [19:02] yeah [19:02] did you fix the hook to use skiptask instead of skip at the end? [19:03] yes [19:03] this is what i get in fai.log now Calling hook: partition.EDUCONFIG [19:03] Could not find method: Parse::RecDescent::convert_unit [19:03] at shdd2-parser line 729 [19:03] disklist was: [19:04] perhaps a new dependency [19:04] hmm, no [19:04] stockholm just added this method [19:04] vn -u st [19:04] Status against revision: 4616 [19:05] 1 minute [19:06] i use the etch package from http://layer-acht.org/debian and setup_hardrives from svn [19:06] thats 3.2.1 [19:06] yes [19:06] Action: h01ger waves :) [19:06] h01ger, :) [19:07] MT: taht was a typo, i just fixed it [19:07] but I think you need to say &FAI::convert_unit [19:08] when calling it [19:08] why? it is in the local scope only [19:08] it is just a local sub [19:09] but it still breaks [19:09] hu [19:09] I think it's because of the parser namespace [19:09] using &FAI::convert_unit should do [19:09] ok [19:09] i can fix that [19:12] checked in, testing it now [19:13] sepski, I guess it should do now... [19:13] 4618 worked for me now [19:14] how fast are you guys booting?! [19:14] my box is till just mounting the nfs root [19:15] and did not get it [19:15] duh [19:15] stockholm, im booting a virtual machine it's booting in a sec [19:15] a xen machine? [19:15] i need to do that too [19:15] later on :-) [19:15] vmware, but virtaulbox is cheaper [19:16] sepski: are you doing this for debian-edu? [19:17] ssh -X me@work vmware does not lag my machine here at home at all [19:18] I'm trying to use it on a network i do consultant work for. but the idea is to at the very least make a howto for debian-edu and if it works very well it might become part of it. [19:19] qemu. ;) [19:19] juri_: is THAT fast?! [19:20] juri_, qemu dies on me for some reason. i think i have messed toooo much with kqemu vbox-drv and kvm at the same time... [19:20] stockholm, with either kqemu or kvm its fast. otherways it's syrup [19:21] one think that vmware does much better then virtualbox and qemu is the networking between virtual machines. it's just there. without any hassle. [19:24] i am working with xen machines [19:24] stock: i work on reliable, not fast. :) [19:25] my fai server is a qemu box. [19:25] i had bad problems when trying to use it on my notebook [19:25] it takes 74 minutes to spin a FAI CD. ;P [19:25] (kqemu dosent work on my hardware/software) [19:25] the production machines are real servers in my case this is just me trying things out, seeing if i can learn to use it or not. [19:25] my fai server ist a xen box :-) [19:25] sorry to interrupt, but sepski, does the whole thing now do it? [19:25] does it even work in case you add the hdparm and dd? [19:26] MT, as long as i dont do any silly things in the hook yeah [19:26] no that still fail [19:26] hmm, that's really strange [19:26] gah, my boot fails because it cant mount root [19:26] boot after installation? [19:26] lets see if it has dm_mod now [19:26] and i had issues with grub eariler. going to be nice seeing how that went [19:27] MT: yes, boot after installation. the ramdisk is laoded and tries to mount / [19:27] I think we got things sorted out with grub [19:27] MT, swap got into the fstab ysy [19:27] yay [19:27] yes, this is no grub problem, it is a module/lvm problem [19:27] what is it trying to mount, i.e. what's there in menu.lst? [19:27] ah, no LVM support in the initrd? [19:28] MT: yes, that is why i added dm_mod to /srv/fai/config/files/etc/initramfs-tools/modules [19:29] but something must have gone wrong, dm_mod is not in the ramdisk [19:29] do i need more modules? [19:29] are you sure it isn't there, or is there some other error? [19:30] stockholm, was that copied into the client, and is the initrd created _after_ ? [19:30] sepski: hu? [19:30] stockholm: I would use ainsl to add a module to $target/etc/initramfs-tools/modules [19:30] jep, that's what I wanted to point out too [19:30] the entry must be there _before_ the initrd is built [19:31] alternatively, add a postinst script [19:31] ok. [19:31] that runs update-initramfs [19:31] Mrfai: where would the ainsl go? [19:31] This is up to you. [19:31] when would the /srv/fai/config/files/etc/initramfs-tools/modules come into play? [19:33] i would have thought the /srv/fai/config/files/etc/initramfs-tools/modules was put into place right at the beginning [19:34] Mrfai: if the directory is not yet there, will ainsl create the missing directories? [19:35] stockholm, the initrd is made during the base installation, and there is no /etc to put it into before that [19:36] and if there was i guess baseinstall would overwrite them ? [19:36] man ainsl or use ainsl -v and read the log files [19:37] Action: stockholm shoots Mrfai and thanks the dead body [19:38] sepski, could you do another try with the hdparm and dd stuff in a minute? [19:38] I think I've found the bug [19:39] i still had issue with grub too http://paste.debian.net/39248 [19:39] MT sure [19:39] Mrfai: and the docs dont answer my question either [19:39] Mrfai: i asked if the DIRECTORY would be created [19:39] not the file [19:39] i guess it is not [19:39] sepski, it's r4619 [19:40] sepski, what is the name of your hook? [19:40] I guess it's still partition.EDUCONFIG [19:40] but it should be partition.EDUCONFIG.source [19:40] instead [19:40] hooks/partition.EDUCONFIG [19:41] jep, rename it to hooks/partition.EDUCONFIG.source please [19:41] darn missed that in the wiki [19:41] ok, newbi question: where should i put things that do do stuff like ainsl? in hooks? [19:41] yeah, added that one to the wiki as well [19:41] it is necessary to properly source disk_var.sh [19:41] use instsoft.FAIBASE [19:42] if you've got that one, stockholm [19:42] MT is thatone run after everything else ? [19:42] then the line will be there before the kernel package is installed [19:42] that one - the instsoft.FAIBASE hook? [19:43] no, it is run before installing packages [19:43] I thought you were looking for some hook to work before packages are installed [19:43] but maybe I missed something [19:43] MT: jup [19:43] that was him,. i am looking for a way to run a script just before the machine is rebooted [19:44] sepski: LAST? [19:45] scripts/LAST ? [19:45] yes, you could put whatever you like to do in scripts/LAST/99-at-the-end [19:45] but there's some more going on [19:45] like saving logs [19:46] that happens even after scripts have been executed [19:46] this is with dd and hdparm in the hook http://paste.debian.net/39250 [19:46] that's ok [19:47] sepski: what do you do with hdparm? [19:48] is that r4619? [19:48] I think sepski clears out any existing LVM [19:49] i see :-) [19:49] the idea is to clear the drive with dd then run hdparm -z to reload the partitiontable (that just got cleared away) before losing dm_mod [19:49] loading dm [19:50] did you really use r4619 for what you pasted in 39250? [19:50] MT, AGGH /me hides [19:50] forgot ! [19:50] huh [19:50] sorry ! [19:51] Action: MT hopes that it'll do in the next attempt :-) [19:52] it seams to do it [19:52] cool :-) [19:52] thanks a lot for testing! [19:52] altho it's a ugly workaround to dd the disk. :) [19:52] MT, stockholm thanks a lot for developing code ! [19:53] now lets see if grub likes it better [19:53] :) [19:54] stockholm, any progress at your side? [19:55] MT: i have rebootet, the mounting of / hangs again and next i am going to see if dm_mod is in the initramfs [19:55] sepski: lol, not much from me:-) [19:56] system2-usr /usr 2000 ext3 defaults [19:56] where do the mkfs arguments go ? the wiki seam to indicate after the mount arguments [19:57] yes, they do [19:57] system2-usr /usr 2000 ext3 defaults dir_index,resize_inode [19:57] hmm, there's only a single example [19:57] primary / 12000 ext3 rw -b 2048 [19:57] # /dev/hda3 should be formatted using ext3 filesystem; when calling mkfs.ext3 [19:57] # the option "-b 2048" is appended. [19:58] ahh right there [19:58] system2-usr /usr 2000 ext3 defaults -O dir_index,resize_inode [19:58] it must be like this then [19:58] yes, correct [19:59] yes, now dm_mod is there [19:59] and it is loaded [20:00] perhaps add -O dir_index,resize_inode to the lvm example since i think that's a pretty common wanted feature [20:01] sepski, will do ... [20:01] stockholm, does your comment mean that dm_mod is there but it still doesn't work? [20:01] MT, i'v made a wiki user. so expect wiki spam later on :) [20:02] MT: yes, exactly [20:02] cool, feel free to edit whatever you like, sepski [20:02] I already added the _o dir_index,resize_inode to the last example [20:02] in /proc/cmdline it says that root=/dev/my_vp/_root [20:03] ah, are you in busybox? [20:03] /dev/my_pv/_root [20:03] yes [20:03] does /dev/my_pv exist? [20:04] or does /dev/mapper/ exist? [20:04] in busybox, on the commandline from hell, without the / key due to my bad terminal emulation [20:04] dev/mapper is there yes [20:04] but no volume groups below it? [20:04] there is only control [20:05] no volume groups [20:05] possibly the lvm creation did not work out? [20:05] no, we were intalling stuff into it after all [20:05] yep [20:05] MT didnt' think reiserfs had the same commands like dir_index and resize_inode [20:06] oops, thanks, fixed [20:06] hmm, do you have any of the lvm tools inside the busybox? [20:07] or could you just manually mount the root fs [20:07] and then use the lvm tools to see what's going on? [20:08] how can i mount the root fs if the device is not there? [20:08] ah - well - [20:08] MT, last try installed and booted OK [20:08] Action: MT hides [20:08] including LVM? [20:08] yes [20:08] i have /boot as ext3 tho [20:08] and bootable:1 [20:09] yes, me too [20:09] not so root [20:09] root on lvm [20:09] me too [20:09] why cant *I* boot /root and you can?! [20:09] http://paste.debian.net/39252 this is the one i use [20:10] stockholm, could you try to run the dd and hdparm commands that sepski uses [20:10] sepski, could you paste these two lines? [20:10] why would that help? i dont want to get rid of anything. [20:11] stockholm, are you preserving partitions between installs ? [20:11] no [20:11] no preserving at all [20:11] only ERASING all [20:11] do you erase the lvm's manually between each install ? or does it simply work becouse the vg happen to be the same name ? [20:12] i dont know [20:12] the hook file i use http://paste.debian.net/39253 [20:12] i think mounting the thing should be straight forward... [20:13] is it grub that fail to load or the kernel that fail to find root when booting ? [20:14] the kernel does not find a /root after booting the initramfs [20:14] stockholm, ohhh ! i know i can boot becouse i install the usplash package later on, then the initrd is recreated !" [20:15] so i get the dm_mod there probably [20:15] i have dm_mod in the initramfs and it is inserted in the kernel [20:15] let's see if it works without usplash... [20:15] and use use ext3 ? [20:16] yes [20:16] then i realy dont have any idea [20:17] oz_, it's installing again now without usplash [20:17] i will try to add the lvm tools onto the initramdisk [20:20] hmm why does the partition with lvm pv on it dont have type 8e (linux lvm) ? [20:20] (STDERR) Warning - device mapper device, but no dmsetup(8) found [20:20] what is dmsetup good for? [20:20] no idea... [20:20] (just on the phone, so I'm sort of slow...) [20:22] stockholm, i dont have that package installed either [20:22] sepski: do you get any error like the above in fai.log? [20:22] i will try to add the package [20:23] where did i specify packages i want? [20:23] ah, i need it in the nfsroot [20:25] dmsetup manages logical devices that use the device-mapper driver. Devices are created by loading a table that specifies a target for each [20:25] sector (512 bytes) in the logical device. [20:25] ErKa (keryell@keryell.pck.nerim.net) joined #fai. [20:30] no not at all [20:30] Mrfai (~lange@xdsl-87-78-55-146.netcologne.de) left irc: Quit: leaving [20:30] sepski: hu? [20:32] but i have added libparse-recdescent-perl parted lvm2 to the nfsroot as explained in the wiki [20:35] without the late recreation of the initrd by usplash it fails to boot [20:38] i am trying now with script/LATE/99-update-initramfs containing $ROOTCMD update-initramfs [20:39] $ROOTCMD update-initramfs -k all -u [20:39] (-k all -u might be necessary) [20:42] meandtheshell (~markus@85.127.117.208) joined #fai. [20:42] interesting.... [20:42] what is missing? [20:42] missing where? [20:43] earlier, when the initramfs is generated [20:43] the first time [20:44] probably the mtab in the chroot or something [20:48] mtab is for raid, right? [20:48] i dont do any raid [20:49] /etc/mtab is the mount list [20:50] ah, right, sorry, i mixed that up [20:54] hmm, stockholm, what is so fascinating about the point where the initramfs is generated? [20:56] booted fine with script/LATE/99-update-initramfs [20:57] dont know whats missing at the first kernel install time,. but i'd look at mtab or perhaps proc is not mounted before after base install is finished. [20:58] is the kernel already part of the base.tgz? [20:58] or is it installed later on, together with the other packages? [21:00] later i think, [21:01] but now it's night. I'll be back at 0800 for more fai fun :) [21:01] sepski: LATE was an existing class? [21:01] script/LATE is a directory. i made a file called in there [21:02] yes [21:02] LAST [21:02] LAST [21:02] bah [21:02] sorry [21:02] night [21:02] good night! [21:02] right, i was confused abtou late vs last [21:02] sepski (~sep@217.17.211.51) left irc: Quit: Leaving [21:44] allee (~ach@allee.mpe.mpg.de) left irc: Quit: Konversation terminated! [21:54] alvinc (~alvin.cur@office-ca.emaillabs.com) joined #fai. [21:54] by any chance, has anyone successfully FAI'd a Dell PowerEdge 2970? [21:55] what is it that troubles you? [21:55] i'm having that "cannot mount root problem" [21:55] not that I'd have such a machine, but maybe one can help anyway [21:55] i'm wondering if it needs a new network driver [21:56] it's getting PXE fine, kernel is loading, but mounting the nfsroot is being a pain [21:56] i'm guessing maybe a network driver, but i was curious if it had been seen befire [21:56] i'm loading feisty, btw [21:56] does it work on any other machine? [21:56] i'm building a 2.6.20 fai kernel now, just in case [21:56] but i was curious [21:56] it used to. :) [21:57] i mean, i FAI'd a Dell 850 and 750 a while back, before i started hacking. [21:57] and i can't re-FAI the 850 and 750 right now, because they are in use [21:57] hehehe [21:58] yeah. the feisty default is linux-image-2.6.17.13-ubuntu1-fai-kernels_1_i386.deb [21:58] so i'm hoping 2.6.20 might be the quick fix [21:58] well, with the Dells this may be true [21:59] you might want to ask on the mailing list though [21:59] make-kpkg is being slow though, and i was restless. so i thought i'd ask if anyone had already seen this one [21:59] yess, i might do that [21:59] I know of some guys having lots of Dell systems, but no idea whether they already have a 2970 [21:59] nod [22:00] today is not a good day for me, it seems [22:00] i'm also having problems with a Realtek 8169 NIC [22:00] i've successfully used an etherboot floppy with it on other machines before [22:00] but this one is being a pain [22:01] haven't quite figured it out yet. i'm suspecting maybe spanning-tree on the cisco is not doing portfast correctly [22:01] even though i set it to portfast [22:01] dhcp is not happening quickly enough [22:01] guess it's just one of those days. :-) [22:01] hmm, cisco is popping up again and again in the context of FAI [22:02] nod [22:02] seems like people have quite some trouble with that sort of switches [22:02] it's not really FAI that is the issue, of course [22:02] it's that dhcp is not returning within an acceptable timeout [22:02] sure, but rather DHCP/NFS/PXE [22:02] so it's more to do with dhcp really [22:02] yessir, exactly [22:03] are you in Europe, MT? [22:03] yes, Germany [22:03] ah cool [22:03] so it's already late for you [22:03] thus I'm leaving for bed pretty soon [22:03] ja [22:03] yep :-) [22:03] :) [22:03] i'll try getting a dumber switch and see if it makes a difference [22:03] if i see you'll tomorrow, i'll let you know what happens [22:04] ok, cool, thanks [22:04] bitte [22:04] (that's all the german i know) [22:04] rofl [22:04] :-) [22:04] so, good luck [22:05] ok, still no booting install, despite the late intiramfs [22:06] i could try to unmount and remount it right after boot. [22:06] see if i get any errors or problems then [22:06] did you manage to install any of the LVM tools into the initramfs [22:06] ? [22:07] no, not yet, i still dont know much about lvm. [22:07] which ones would be good to have? [22:07] for debugging it might be useful to move your root to a standard partition [22:07] yes, that is true [22:07] and only keep some not-so-important volume in LVM [22:08] then debugging is probably a lot more fun [22:08] right [22:08] otherwise you'd somehow need all of lvm2 in your initramfs, including the libraries [22:09] I'd suggest to go for the only-swap-in-LVM way [22:09] this shouldn't hinder it from booting [22:09] then you can see what else you need to get it going [22:14] right. tomorrow :-) [22:14] jep, good night! [22:18] meandtheshell (~markus@85.127.117.208) left irc: Quit: Leaving. [22:25] MT (~MT@dove.informatik.tu-muenchen.de) left irc: Ping timeout: 480 seconds [22:28] MT (~MT@ppp-62-245-162-223.dynamic.mnet-online.de) joined #fai. [22:30] hm. it looks indeed like it's the ethernet driver for Dell 2970 [22:30] i've got my nForce ethernet up fine [22:34] ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds [22:36] MT (~MT@ppp-62-245-162-223.dynamic.mnet-online.de) left irc: Ping timeout: 480 seconds [23:59] meandtheshell (~markus@85.127.117.208) joined #fai. [00:00] --- Wed Oct 10 2007