| 00:02 DavidDreezer | success |
| 00:03 DavidDreezer | setup is not required, we booted normally without it |
| 00:03 DavidDreezer | shall I try this new script, or continue on the plan with install debug with and without modules? |
| 00:04 mt | maybe try the new script first |
| 00:04 DavidDreezer | can do |
| 00:04 mt | but give me a sec |
| 00:05 DavidDreezer | ok. |
| 00:05 mt | please try http://paste.debian.net/101609 |
| 00:05 mt | (no full path, no more grub-setup) |
| 00:05 DavidDreezer | i do not have a hw raid server here at home, i can only test on sw until tomorrow |
| 00:06 mt | sure, that's fine, there's no need to hurry from my POV anyway |
| 00:06 mt | this script has been problematic for more than I year I believe |
| 00:07 DavidDreezer | well, we shall sove it |
| 00:07 DavidDreezer | solve |
| 00:08 DavidDreezer | ok, rebooting client on the new script, 101609 |
| 00:18 alekibango | mt: see this to get idea (remake similar to the movie scene) -- imagine your boss talking to you like that http://www.youtube.com/watch?v=XeoWIRn55eo&playnext=1&list=PLFE0347FE1D752871 notice the phrase 'that would be...(great|terrrific)' |
| 00:18 alekibango | but really see original sometimes |
| 00:19 alekibango | especially if you work in office boxes :) |
| 00:21 DavidDreezer | bad new Michael, rescue prompt |
| 00:22 mt | alekibango, I should really refrain from using that phrase |
| 00:22 mt | no: |
| 00:22 alekibango | :) its funny :) |
| 00:22 mt | mt, if you could please not use that phrase from now on, that would be great. |
| 00:23 alekibango | lmao |
| 00:23 DavidDreezer | it is a funny move, really. |
| 00:23 mt | DavidDreezer, that's strange ... |
| 00:23 DavidDreezer | indeed |
| 00:24 mt | could you add set -v -x to the script? |
| 00:25 mt | and then maybe as first step comment out the grub-probe and sed lines and use hardcoded (md0) in the install line |
| 00:25 alekibango | mt the phrase is funny, if its not from your boss standing above you... :) |
| 00:25 mt | DavidDreezer, btw, no errors reported I guess!? |
| 00:25 DavidDreezer | yes! |
| 00:25 DavidDreezer | + '[' -r /tmp/fai/disk_var.sh ']' |
| 00:25 DavidDreezer | + . /tmp/fai/disk_var.sh |
| 00:25 DavidDreezer | ++ SWAPLIST=/dev/md1 |
| 00:25 DavidDreezer | ++ BOOT_DEVICE=/dev/md0 |
| 00:25 DavidDreezer | ++ ROOT_PARTITION=/dev/md2 |
| 00:25 DavidDreezer | + '[' -z /dev/md0 ']' |
| 00:25 DavidDreezer | + chroot /target grub-mkimage --output=/boot/grub/core.img ext2 pc biosdisk raid |
| 00:25 DavidDreezer | ++ chroot /target grub-probe -tdrive -d /dev/md0 |
| 00:25 DavidDreezer | grub-probe: error: Cannot open `/boot/grub/device.map' |
| 00:25 alekibango | my test install is running... results soon |
| 00:25 DavidDreezer | + GROOT= |
| 00:25 DavidDreezer | ++ error=1 |
| 00:25 DavidDreezer | ++ echo |
| 00:25 DavidDreezer | ++ sed s:md/:md:g |
| 00:25 DavidDreezer | + GROOT= |
| 00:25 DavidDreezer | + chroot /target grub-install '' |
| 00:25 DavidDreezer | install_device not specified. |
| 00:25 DavidDreezer | Usage: grub-install [OPTION] install_device |
| 00:25 DavidDreezer | Install GRUB on your drive. |
| 00:26 DavidDreezer | $BOOT_DEVICE was correct |
| 00:26 DavidDreezer | but wait, grub-probe |
| 00:27 mt | grub-probe failed |
| 00:27 DavidDreezer | should that not be $TARGET/boot.grub/devicemap |
| 00:27 DavidDreezer | or chroot? |
| 00:27 DavidDreezer | that's where it failed, no? |
| 00:27 mt | argh |
| 00:28 mt | let me edit the script once more |
| 00:28 alekibango | grub_PC failed |
| 00:29 mt | probably with the very same error? |
| 00:29 alekibango | try grub-mkimage --help for more info |
| 00:29 mt | please use this one: |
| 00:29 mt | http://paste.debian.net/101613 |
| 00:29 DavidDreezer | GROOT=$($ROOTCMD grub-probe -tdrive -d $BOOT_DEVICE) |
| 00:29 DavidDreezer | it is chroot' |
| 00:30 mt | oh, alekibango, seems like grub-mkimage takes different parameters |
| 00:30 DavidDreezer | you added line 13? |
| 00:30 mt | yes |
| 00:31 mt | alekibango, could you do some manual run of the grub-mkimage command? |
| 00:31 mt | trying to see how to change it such that it works? |
| 00:31 alekibango | mt: yes |
| 00:31 mt | or maybe see what --help says? |
| 00:31 mt | (and possibly paste that somewhere ...) |
| 00:34 alekibango | mt plz login to root@80.82.157.135 -- with my password (not fai, v----m) |
| 00:35 alekibango | see my screen |
| 00:35 alekibango | target format not specified (use the -O option) |
| 00:36 alekibango | i386-coreboot, i386-multiboot, i386-pc, i386-efi,i386-ieee1275, i386-qemu, x86_64-efi, mipsel-yeeloong-flash, mipsel-yeeloong-elf, powerpc-ieee1275,sparc64-ieee1275-raw, sparc64-ieee1275-aout |
| 00:36 alekibango | wow |
| 00:37 mt | that's why grub-install is supposed to take care of this ... |
| 00:37 alekibango | ic |
| 00:38 alekibango | maybe we could do some case on grub version |
| 00:38 alekibango | and 2 different solutions? |
| 00:39 mt | we'll probably end up with something like this |
| 00:39 mt | but maybe we can also get this debugged using DavidDreezer's logs |
| 00:40 mt | I *guess* DavidDreezer needs the grub-mkimage call because otherwise grub would never know that the raid module should be included |
| 00:40 DavidDreezer | agreed |
| 00:40 mt | and grub-install --modules is breaks the setup there |
| 00:41 alekibango | my grub-pc version is 1.98* - he has 1.97* |
| 00:42 mt | isn't it even just 1.96* |
| 00:42 alekibango | ouch not sure |
| 00:42 mt | but anyway, I failed to find a changelog for grub anywhere on the net |
| 00:42 mt | (other than the debian changelog) |
| 00:42 alekibango | i think people will use (or should use) latest lenny/squeeze/sid versions |
| 00:42 mt | DavidDreezer is using the latest lenny version ... |
| 00:42 alekibango | mt: will be in bazaar or what they use |
| 00:43 mt | too lazy to checkout ... |
| 00:43 alekibango | bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub |
| 00:43 alekibango | bzr log :) |
| 00:44 mt | no bzr on this host |
| 00:44 alekibango | they have 1.98 already |
| 00:44 alekibango | apt-get install is fast :) |
| 00:45 mt | not if you have a Mac :-) |
| 00:45 DavidDreezer | we have success again |
| 00:45 mt | cool |
| 00:45 mt | so at least we have solution that |
| 00:45 DavidDreezer | yes, so 101613 works for me |
| 00:45 mt | *is supposed to work* on hw and sw raid |
| 00:45 DavidDreezer | at least on sw |
| 00:46 DavidDreezer | i shall check hw tomorrow |
| 00:46 mt | so now it would be nice to do that bit of grub debugging |
| 00:46 DavidDreezer | certainly |
| 00:46 mt | by adding --debug to the grub-install line |
| 00:46 mt | and later additionally adding --modules="lvm raid" |
| 00:46 DavidDreezer | with and without, both. will do |
| 00:46 mt | where we expect the boot to fail afterwards |
| 00:48 DavidDreezer | ok, added debug without modules for round one. then with. I'll tar up the logs and email them to you. |
| 00:51 mt | thx |
| 00:52 DavidDreezer | it must be so very late there by now! |
| 00:52 DavidDreezer | it must have reached the point where it is early already! |
| 00:53 alekibango | DavidDreezer: 2 hours later... not now yet |
| 01:01 DavidDreezer | it is actually the shell.log that you are interested in, is it not? |
| 01:02 mt | yes, should be that one I guess |
| 01:02 DavidDreezer | it has all of the debug. I don't want to overwhelm you with the entire hostname/last log dir |
| 01:02 mt | there should be some output similar to the one alekibango posted in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606035 |
| 01:03 DavidDreezer | sur eis |
| 01:03 DavidDreezer | ok, now let me add the modules and run it again |
| 01:03 mt | system boots, right? |
| 01:03 mt | (just to be damn sure) |
| 01:04 DavidDreezer | ah, le tme check. it should, all we changed was debug |
| 01:04 DavidDreezer | but i'll check |
| 01:07 DavidDreezer | yes, it did boot |
| 01:09 DavidDreezer | ok, i've added --modules="lvm raid mdraid" which we think will fail. |
| 01:11 mt | hmm, stop |
| 01:12 mt | (sorry, probably too late) |
| 01:12 mt | no mdraid |
| 01:12 DavidDreezer | err |
| 01:12 mt | that will surely fail as it doesn't exist in this version |
| 01:12 mt | just "lvm raid" |
| 01:12 DavidDreezer | you're right |
| 01:13 DavidDreezer | ok, easy fix |
| 01:13 mt | well, sorry, I really got to get to bed now |
| 01:13 DavidDreezer | not a problem. I shall email you these two shell.log files |
| 01:13 DavidDreezer | that you for all of your help |
| 01:13 mt | thanks a lot! |
| 01:14 mt | see you soon! |
| 01:14 DavidDreezer | I think i will be able to deploy this week sure looks like it |
| 01:14 DavidDreezer | gnight |
| ErKa (~keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds |
| DavidDreezer (Adium@c-71-227-156-146.hsd1.wa.comcast.net) left #fai. |
| pav5088 (~Mark@110.140.154.249) joined #fai. |
| pav5088 (~Mark@110.140.154.249) left irc: Ping timeout: 480 seconds |
| pav5088 (~Mark@58.171.48.140) joined #fai. |
| pav5088 (~Mark@58.171.48.140) left irc: Quit: Leaving |
| vineeth (~vineeth@115.242.36.193) joined #fai. |
| 04:54 vineeth | hi guys... how r u? |
| 04:54 vineeth | thanks for ur help 2 days before.. on fai setup.. |
| 04:54 vineeth | i've installed the client machine... but it shows some error in installing grub.. |
| 04:56 vineeth | i can login to the client using ssh.. and checked the log files after installation... can i show u that if u could help... |
| 04:57 vineeth | out of all the classes and scripts.. one failed with exit code 1.. GRUB_PC/10-setup |
| 04:58 vineeth | shell.log:chroot: cannot run command `install-keymap': No such file or directory |
| 04:58 vineeth | shell.log:chroot: cannot run command `grub-mkdevicemap': No such file or directory |
| 04:58 vineeth | shell.log:chroot: cannot run command `grub-mkconfig': No such file or directory |
| 04:58 vineeth | shell.log:chroot: cannot run command `grub-install': No such file or directory |
| 04:58 vineeth | shell.log:GRUB_PC/10-setup FAILED with exit code 1. |
| 04:58 vineeth | shell.log:ERROR: No kernel was installed. Have a look at shell.log |
| 04:58 vineeth | status.log:GRUB_PC/10-setup FAILED with exit code 1. |
| 04:58 vineeth | this is my error.log from fai client.. |
| 04:59 vineeth | i haven't included some name resolution errors.. coz, i know the reason.. and will clear it later... |
| 05:05 alekibango | vineeth: which distro ? |
| 05:05 alekibango | squeeze? |
| 05:05 alekibango | which fai version? |
| 05:07 alekibango | using raid? |
| 05:07 vineeth | i'm trying it in ubuntu 10.04 |
| 05:07 vineeth | lucid.. |
| 05:07 vineeth | not using raid now.. |
| 05:08 alekibango | http://pastebin.com/4qQWGXec <- this is my grub_pc script with squeeze and raid1 |
| 05:08 vineeth | fai-3.4.2 |
| 05:11 vineeth | http://pastebin.com/k6q6xwiZ |
| 05:11 vineeth | this is mine.. without raid.. |
| 05:11 vineeth | actually i was using the default script came with that.. just started playing with fai now...:) |
| 05:12 alekibango | vineeth: it just might wrong :) |
| 05:12 alekibango | can u upgrade to 3.4.5 ? |
| 05:12 vineeth | ohh k ok.. |
| 05:12 vineeth | i dnt think there is a ppa available in ubuntu with the new version.. i've just added that last week.. |
| 05:13 alekibango | vineeth: try to understand where the error is |
| 05:13 vineeth | i'm scratching my head..:) |
| 05:14 alekibango | ok... can u get console at the end of fai ? |
| 05:14 alekibango | go there, do export ROOTCMD='chroot /target' |
| 05:14 alekibango | cd /var/lib/fai/config/scripts/GRUB_PC/ |
| 05:14 vineeth | ohh ok.. do u know where is ROOTCDM variable is defined? |
| 05:15 alekibango | vineeth: try running it... |
| 05:15 alekibango | change it (on server if its nfs readonly) |
| 05:15 alekibango | to have set -xv |
| 05:15 alekibango | add --debug to grub-install |
| 05:15 alekibango | etc |
| 05:15 vineeth | ok... |
| 05:16 alekibango | and also you can vim /tmp/fai/shell.log |
| 05:16 alekibango | or other log files |
| 05:16 alekibango | or include some vars from there |
| 05:16 alekibango | look around in the dir /tmp/fai |
| 05:16 vineeth | ok k.. |
| 05:16 alekibango | its good to have ssh |
| 05:16 vineeth | do u know.. in which file we define the ROOTCMD variable? |
| 05:16 vineeth | ya.. i did ssh.. |
| 05:16 alekibango | no, but its 'chroot /target' |
| 05:17 vineeth | and checked those log files.. |
| 05:17 vineeth | ok.. thx.. |
| 05:17 alekibango | if you chroot to run shell, run bash |
| 05:17 alekibango | to get some [tab] working |
| 05:18 alekibango | paste details on pastebin |
| 05:19 alekibango | vineeth: today we hacked 2 failed grub_pc installations :) |
| 05:19 alekibango | here on channel |
| 05:19 alekibango | but no ubuntu |
| 05:21 vineeth | ohh k.. |
| Action: alekibango needs to rest, see you nextday |
| 05:22 vineeth | let me try... thank u very much.. |
| vineeth (~vineeth@115.242.36.193) left irc: Ping timeout: 480 seconds |
| vineeth (~vineeth@115.240.15.90) joined #fai. |
| vineeth (~vineeth@115.240.15.90) left irc: Ping timeout: 480 seconds |
| vineeth (~vineeth@115.242.87.153) joined #fai. |
| vineeth (~vineeth@115.242.87.153) left irc: Ping timeout: 480 seconds |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. |
| vineeth (~vineeth@115.242.55.55) joined #fai. |
| vineeth (~vineeth@115.242.55.55) left irc: Ping timeout: 480 seconds |
| vineeth (~vineeth@115.240.14.98) joined #fai. |
| justleen (~leen@rev-131-102.virtu.nl) joined #fai. |
| vineeth (~vineeth@115.240.14.98) left irc: Ping timeout: 480 seconds |
| Nic0 (~courtel@fw.tls.cena.fr) joined #fai. |
| Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai. |
| 08:57 Mrfai | Well I have those devices on squeeze: |
| 08:57 Mrfai | ls -l /dev/md* |
| 08:57 Mrfai | brw-rw---- 1 root disk 9, 0 Nov 30 14:01 /dev/md0 |
| 08:57 Mrfai | /dev/md: |
| 08:57 Mrfai | total 0 |
| 08:57 Mrfai | lrwxrwxrwx 1 root root 6 Nov 30 14:01 0 -> ../md0 |
| 08:57 Mrfai | and /proc/partitions only has md0, not md/0 |
| tecneeq (~karsten@p4FE4C9FE.dip.t-dialin.net) joined #fai. |
| 10:01 tecneeq | hi gents. setup-storage works fine, however, the fstab generated lacks lines for devpts, hugetablefs, tmpfs and so on. Is there a way to add arbitrary filesystems to the config or should i append my filesystems later with ,,echo >>''? |
| ErKa (keryell@m3.wifi.enstb.org) joined #fai. |
| 10:20 Mrfai | no, use ainsl(1) |
| 10:21 tecneeq | i see |
| 10:22 alekibango | ooo - yesterday my raid1 worked, and today my grub installs without error, but fails to boot, fails to read partitions somehow... |
| Mrfai (~lange@kueppers.informatik.uni-koeln.de) left irc: Quit: leaving |
| Mrfai (~lange@malzmuehle.informatik.uni-koeln.de) joined #fai. |
| 10:28 Mrfai | any comments on fix for #605947? |
| Nick change: glance_ -> glance |
| Nick change: glance -> Guest235 |
| 10:43 mikap | looks OK for me; is this a showstopper for 3.4.5? |
| 10:44 mikap | hmpf, still got no release exception for 3.4.5 :-/ |
| 10:46 Mrfai | yes this is a showstopper for 3.4.5. So we need a 3.4.6 |
| 10:48 mikap | Mrfai: hmpf :-/ (so you didn't test your commit?) |
| 10:52 Mrfai | I cannot test everything on my own. This was a simple fix, and I didn't though it would break fai-mirror. |
| 10:56 mikap | that's why you should have testscripts, use/adjust kantan,& :) seriously: we should not have any commits that break anything, getting 3.4.5 through release-team seems to be hard enough, asking for another round won't be any fun :-/ |
| 10:57 alekibango | unit testing = good, automated functional tests = bliss |
| 10:57 Mrfai | I know that it would be nice to have a test suite. |
| 10:58 alekibango | i would vote for kvm instead of virtualbox :) |
| 10:58 mikap | we *have* the base for a test suite |
| 10:58 mikap | alekibango: it's *there* already: http://grml.org/kantan/ |
| 10:59 mikap | i'm happy to extend it based on feedback/wishes/patches/... |
| 11:02 alekibango | fai + raid should be tested! :) |
| 11:02 alekibango | we have all sorts of issues |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. |
| 11:02 mikap | if you provide me your config space i'll check out how to automatically test that |
| \sh (~shermann@nat.de.netviewer.com) joined #fai. |
| 11:13 \sh | moins |
| 11:13 alekibango | its easy - basic raid1 -- from fresh new setup-storage man page |
| 11:13 alekibango | (commited yesterday) |
| 11:15 alekibango | mikap: http://pastebin.com/FqUeXpiZ |
| 11:15 mikap | alekibango: ah really that simple, ok - will try to integrate it as test into kantan |
| 11:15 alekibango | it says: /usr/sbin/grub-probe: error: no such disk. |
| 11:16 alekibango | Auto-detection of a filesystem module failed. |
| 11:16 alekibango | or other errors :) |
| 11:16 alekibango | ooo, it was working yesterday, darn |
| 11:16 alekibango | and there was no grub-pc update |
| 11:18 mikap | alekibango: huh? with which change? fai-update? which version? |
| Mrfai (~lange@malzmuehle.informatik.uni-koeln.de) left irc: Quit: leaving |
| Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai. |
| 11:23 alekibango | mikap: i dont know, grub is the same, fai is the same... yesterday we played for hours with grub-pc to make it booting finally -- by adding one line http://pastebin.com/4qQWGXec -- and today even this fails for me... :( |
| 11:24 alekibango | grub installs, but will not update the config now... |
| 11:24 alekibango | i mean update-grub fails |
| 11:24 mikap | alekibango: well, what error message? |
| 11:26 alekibango | ha, even grub-install fails, wait i need to reboot myself and servers once again :) |
| 11:26 mikap | provide according error messages (and what's inside e.g. "$device") |
| 11:26 alekibango | if you remember my raid config |
| 11:26 alekibango | my boot and grub device is /dev/md0 |
| 11:27 alekibango | and root |
| 11:28 alekibango | $ROOTCMD grub-install --no-floppy --modules="lvm raid" "(md0)" |
| 11:28 alekibango | /usr/sbin/grub-probe: error: no such disk. |
| 11:28 alekibango | yesterday this command worked well |
| 11:29 alekibango | grrr |
| 11:29 alekibango | mikap: if you ahve few minutes to hack, i can give you ssh account, those servers are really free for testing |
| 11:30 alekibango | i mean root access |
| 11:30 mikap | alekibango: sorry, no time now |
| tecneeq (karsten@p4FE4C9FE.dip.t-dialin.net) left #fai. |
| ErKa (keryell@m3.wifi.enstb.org) left irc: Ping timeout: 480 seconds |
| 11:54 mt | alekibango, still there? |
| 11:55 alekibango | yes :) |
| 11:55 alekibango | do you ahve some time mt? |
| 11:55 alekibango | :) |
| 11:55 mt | system still broken? |
| 11:55 alekibango | yes, as much as it can |
| 11:55 alekibango | ougr script stopped working for some reason |
| 11:55 mt | did you retry using your original 10-setup? |
| 11:55 mt | not the one we hacked for David? |
| 11:56 mt | this one |
| 11:56 mt | http://pastebin.com/4qQWGXec |
| 11:56 alekibango | problem is, grub-install ..... '(md0)' fails today |
| 11:56 alekibango | will doublecheck |
| 11:58 alekibango | yes thats the one i am using |
| 11:58 mt | got a freshly installed system I could ssh into? |
| 11:58 alekibango | yes, just a mom |
| 11:59 alekibango | 80.82.157.133 |
| pav5088 (~Mark@110.141.32.65) joined #fai. |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Ping timeout: 480 seconds |
| ErKa (keryell@m3.wifi.enstb.org) joined #fai. |
| 13:20 oz_ | istall base system (via fai):476 secs. |
| 13:20 oz_ | install openoffice:21Mins. |
| siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) joined #fai. |
| pav5088 (~Mark@110.141.32.65) left irc: Quit: Leaving |
| 14:11 alekibango | mikap: another simple and failing candidate for testing disk config: http://pastebin.com/wN3fuV1C |
| siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) left irc: Quit: Leaving. |
| 14:27 \sh | oz_: lol |
| 14:27 \sh | mikap: when you do the "developer page", please rename me from "Hermann" to "Adig" :) |
| 14:28 oz_ | you are married now? |
| 14:29 oz_ | congrats |
| 14:29 \sh | oz_: yepp :) |
| 14:30 \sh | oz_: thx :) |
| 14:30 \sh | oz_: http://www.shermann.name/2010/12/2010-12-03-lifes-changing.html :) |
| siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) joined #fai. |
| siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) left irc: Quit: Leaving. |
| ErKa (keryell@m3.wifi.enstb.org) left irc: Ping timeout: 480 seconds |
| justleen (~leen@rev-131-102.virtu.nl) left irc: Quit: Leaving. |
| 16:15 mikap | \sh: ok, done |
| 16:15 mikap | \sh: and congrats! |
| 16:16 mikap | alekibango: which error message? mt, any ideas? |
| 16:17 alekibango | congrats, \sh |
| 16:17 alekibango | mikap: again, no such device etc |
| 16:17 mt | imho there's nothing wrong with this config |
| 16:17 alekibango | and when i made it boot grub, initramfs failed to mount root |
| 16:18 mt | you'll have to add the update-initramfs -k all -u |
| 16:18 alekibango | i did, let me check how it worked out |
| 16:19 mikap | alekibango: this looks like something in your setup is broken ;) |
| 16:19 alekibango | update-initramfs --> cannot read table of mounted file system: no such file or directory |
| 16:19 alekibango | will not add needed modules |
| 16:20 mt | you are doing this with a $ROOTCMD, aren't you? |
| 16:20 alekibango | i tried to do that manually, but maybe i am too tired, i will leave raid for another nice day... |
| 16:20 mt | mikap, grub-pc and sw raid is horror |
| 16:21 alekibango | mt: doesnt change anything... i did it with edited 20-* script from GRUB |
| 16:21 mt | could you paste both of your scripts |
| 16:21 mt | could I ssh in there? |
| 16:21 alekibango | i am jsut too tired of this... |
| 16:21 alekibango | mt: let me reboot once more for ou - 5 mins |
| 16:22 mikap | mt: yeah, i know :) i'm known as grub-hater ;) |
| 16:22 mt | alekibango, is it something you have to get done today? |
| 16:22 mt | if so, can you maybe just go without RAID? |
| 16:22 alekibango | mt: i know, i might |
| 16:22 alekibango | but i will do that one for you |
| 16:23 mt | mikap, I generally like grub |
| 16:23 mt | but the development model sucks |
| 16:23 mt | no changelog anywhere |
| 16:23 mt | commands change syntax without there being major releases |
| 16:24 mikap | mt: grub is broken on so many aspects: 1) GNU project (they don't know how to release management), 2) having a bootloader where you don't know whether the bootloader works on next reboot is broken by design |
| 16:25 mt | what do you mean with "GNU project"? |
| 16:25 alekibango | mikap: you can always use qemu to test it :) |
| 16:26 mikap | mt: i'm not aware of any project at gnu.org that's not broken |
| 16:26 mikap | alekibango: nice joke |
| 16:26 alekibango | mikap: its not a joke, i realy did such things in the past :) |
| 16:27 mikap | alekibango: sure, scales very well to execute qemu/kvm on each single update-grub/grub-install call... |
| 16:29 alekibango | hehe. update-grub is not a problem |
| 16:29 alekibango | having working shell you can boot from cmdline |
| 16:29 alekibango | try remembering good old lilo days |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Quit: Ex-Chat |
| 16:32 mikap | alekibango: seems you're not developing installers and get money for fixed hours ;) |
| 16:32 mikap | alekibango: lilo was *much* better WRT reliability, if execution of lilo worked then you had a useful bootloader |
| 16:33 mikap | i can provide you tons of situations where grub just failes with 'unaligned pointer 0x.' |
| 16:33 mt | but lilo just lacked so many features |
| 16:33 mt | grub as all the features, but is buggy |
| 16:33 mt | it's a trade-off |
| 16:34 alekibango | mikap: when you reboot your server in server room far far away, this method works :) |
| 16:34 mikap | alekibango: kvm? |
| 16:34 alekibango | mikap: no, lilo failed on me many times |
| 16:35 mikap | mt: sure, but lilo worked far better than grub, anyway, discussion won't help because debian doesn't really support lilo anymore and will be dead sooner than later |
| 16:36 mt | indeed |
| 16:46 \sh | mikap: thx a lot :) |
| 16:48 Mrfai | \sh: congrats. What will be your new irc name? ;-) |
| 16:49 \sh | Mrfai: hehe..."sadig" would be a problem I think for us citizens ;) |
| 16:49 \sh | Mrfai: I think I'll stay with \sh ;) |
| 16:50 Mrfai | fine |
| Mrfai (~lange@kueppers.informatik.uni-koeln.de) left irc: Quit: leaving |
| siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) joined #fai. |
| siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) left irc: Ping timeout: 480 seconds |
| cmatei (~cmatei@79.115.207.54) joined #fai. |
| ErKa (~keryell@keryell.pck.nerim.net) joined #fai. |
| justleen (~leen@s5591f74f.adsl.wanadoo.nl) joined #fai. |
| 20:03 mt | alekibango, could you paste your final (and working!!) 10-setup script to pastebin? |
| ErKa (~keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds |
| justleen (~leen@s5591f74f.adsl.wanadoo.nl) left irc: Ping timeout: 480 seconds |
| ErKa (keryell@keryell.pck.nerim.net) joined #fai. |
| justleen (~leen@s5591f74f.adsl.wanadoo.nl) joined #fai. |
| DavidDreezer (~Adium@fw0hq.hr01.groupee-inc.net) joined #fai. |
| 21:18 DavidDreezer | Good evening |
| 21:18 DavidDreezer | MT, you're looking for me? :) |
| ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds |
| DavidDreezer (Adium@fw0hq.hr01.groupee-inc.net) left #fai. |
| DavidDreezer (~Adium@fw0hq.hr01.groupee-inc.net) joined #fai. |
| justleen (~leen@s5591f74f.adsl.wanadoo.nl) left irc: Ping timeout: 480 seconds |
| pav5088 (~Mark@123.208.28.175) joined #fai. |
| 23:25 mt | DavidDreezer, still there? |
| 23:28 DavidDreezer | yes, hi htere |
| 23:33 mt | hi |
| 23:33 mt | sorry for being late |
| 23:33 mt | so could you do some tests with hw raid? |
| 23:33 DavidDreezer | no worries, i've always something to do |
| 23:33 DavidDreezer | absolutely. |
| 23:33 mt | does it work? |
| 23:33 DavidDreezer | I ran one earlier today, at it ran fine |
| 23:34 mt | are you precisely using http://paste.debian.net/101613/ |
| 23:34 DavidDreezer | but SW failed. I'm currently synching the work we did yesterday to the server here at the office and rebuilding nfsroot |
| 23:34 DavidDreezer | AFAIK. let me confirm |
| 23:35 mt | in what way did sw fail? |
| 23:35 mt | grub rescue? |
| 23:35 DavidDreezer | yes |
| 23:35 DavidDreezer | but I am not sure the scripts that we did at home were synched to here at the office |
| 23:35 DavidDreezer | so I am doing so again just in case. |
| 23:35 DavidDreezer | as it was working at home when you logged off for th enight |
| 23:36 mt | once you got it synced |
| 23:37 mt | it'd be nice to see another install |
| 23:37 mt | hoping that it works .... |
| 23:37 mt | but in either case |
| 23:37 mt | a further try without the explicit call of grub-mkimage |
| 23:37 DavidDreezer | (it is in instsoft right now) |
| 23:37 DavidDreezer | ok, i am not on 613 right now |
| 23:38 DavidDreezer | there is one line difference |
| 23:38 DavidDreezer | I still have setup |
| 23:38 DavidDreezer | $ROOTCMD grub-install --debug "$GROOT" |
| 23:38 DavidDreezer | $ROOTCMD grub-setup "$GROOT" |
| 23:38 DavidDreezer | $ROOTCMD update-grub |
| 23:39 mt | it should be safe to remove the grub-setup call |
| 23:39 mt | I think the debug logs you sent properly confirmed that grub-install does call grub-set |
| 23:39 mt | grub-setup |
| 23:39 DavidDreezer | ok. this just went into configure., as long as it boots i shall do that |
| 23:39 DavidDreezer | the HW machine booted perfectly |
| 23:40 mt | it's all about sw raid ... |
| 23:40 DavidDreezer | I had to rebuild my nfsroot, it was still installing and old 3 version into the client |
| 23:40 mt | I'm pretty confident that it's a space issue |
| 23:41 DavidDreezer | both my sw and my mw have the same space in /boot |
| 23:41 mt | grub just has 32k for core.img |
| 23:41 mt | no, not /boot |
| 23:41 mt | must be on-disk space before the first partition |
| 23:41 DavidDreezer | primary/boot95ext3rw,noatime,nosuid,nodev |
| 23:41 DavidDreezer | oic |
| 23:42 mt | and AFAIK grub will limit itself to 32k |
| 23:42 mt | and all the modules needed for getting access to /boot/grub must be there |
| 23:42 mt | and it even seems to detect that it needs raid |
| 23:42 mt | auto-detect |
| 23:42 DavidDreezer | we just hit task chboot, let's see what the logs say, then i'll go see if it boots to debian properly |
| 23:42 mt | which it won't need for hw raid |
| 23:43 mt | could you paste the script you were using? |
| 23:43 mt | just for the sake of completeness |
| 23:44 DavidDreezer | the 10-setup? |
| 23:44 mt | yep |
| 23:44 DavidDreezer | certainly |
| 23:44 DavidDreezer | no errors reported |
| 23:45 DavidDreezer | http://paste.debian.net/101690/ |
| 23:45 mt | ok, still no guarantees that it boots ... |
| 23:45 DavidDreezer | this worked for HW earlier, let me see if the SW boots normallu |
| 23:48 DavidDreezer | ok, there we go. both hw and sw booted fine with 101690 |
| 23:48 mt | cool! |
| 23:48 mt | so ... could you please try without the grub-setup and grub-mkimage lines? |
| 23:48 mt | (and --debug can be removed as well...) |
| 23:49 DavidDreezer | ok. |
| 23:50 DavidDreezer | setup gone, mkimgae gone. debug removed. restarting botyh sw and hw machines |
| 23:50 mikap | mt: does this affect 3.4.5 btw? |
| 23:53 DavidDreezer | I'd suspect so. I haven't seen the 10-setup in 3.4.5 though. |
| 23:53 DavidDreezer | 3.4.5 us using grb2, isn't it? |
| 23:54 DavidDreezer | or does it still offer both? |
| pav5088 (~Mark@123.208.28.175) left irc: Ping timeout: 480 seconds |
| 23:58 mt | sorry guys |
| 23:58 DavidDreezer | HW just finished, error log clean |
| 23:58 mt | I believe in squeeze grub is grub2 |
| 23:58 mt | mikap, this is all sw raid only |
| 23:59 mt | no problems with ordinary setups |
| 23:59 mt | and AFAIK this never worked before (out of the box) |
| 23:59 mt | so no regression |
| 23:59 mt | but if we get a usable fix, we could/should push it into 3.4.6 |
| --- Tue Dec 7 2010 |