=== Foxhoundz is now known as BenderRodriguez [06:04] doko: cyphermox: It is always the new guy which struggles but due to that has a chance to make documentation better :-) I wanted to ask what you'd think of the following http://paste.ubuntu.com/p/JXMtDcnYBb/ ? [06:09] Or to better map asciart with text http://paste.ubuntu.com/p/gX9ZYmntRX/ [06:41] sladen: it looks like it breaks after I install vagrant [06:42] I reinstalled my system, did a full update, did a reboot. Then I installed vagrant and now I get a busybox [06:42] after a reboot [06:45] alterjsive: how was 'vagrant' installed, and from where? [06:49] y boot breaks after I install vagrant(updates initfs?) [06:49] Steps: [06:49] install ubuntu & reboot [06:49] do a full update & reboot [06:49] install vagrant & reboot [06:49] => busybox [06:51] I'm a consultant, can I also pay for support? :) [06:52] alterjsive: how was 'vagrant' installed, and from where? [06:53] sladen: i just did a sudo apt-get install vagrant -y on a clean updated system. [06:53] alterjsive: ie. from an Ubuntu package (which exact version), or from a Debian package (which exact version), or from downloading from the internet [06:54] alterjsive: okay, that this single action (sudo apt-get install vagrant -y ; sudo reboot) results in getting a busybox loging? [06:54] login? [06:55] vagrant (2.0.2+dfsg-2ubuntu8) bionic; urgency=medium [06:55] doko: cyphermox: I'll be unavailable next weeks MIR meeting (PTO) [06:56] just FYI as I checked next weeks meetings [06:56] 1 sec i'll reboot to check the exact message [06:58] https://launchpad.net/ubuntu/+source/vagrant/2.0.2+dfsg-2ubuntu8 [06:58] * sladen pages Old_Bloke [07:01] Busybox v 1.27.2 .... (initramfs) [07:03] sladen: any idea how to fix this initramfs issue? [07:04] alterjsive: what is the *exact* error message(s) on boot up [07:04] sladen: I get a busybox immediatly [07:05] alterjsive: what does the output say, immediately before "getting a busybox" ? [07:05] alterjsive: FYI I'm trying to recreate that per steps you listed above to cheeck if it generally applies [07:05] sladen: can I check some logfile? [07:05] cpaelzer: https://github.com/chef/bento/issues/661 could be a possibility [07:07] cpaelzer: but don't want to distract alterjsive from trying to debug and get hard facts! [07:10] sladen: should I check the boot log from a bootable usb? [07:11] steps of about 22 minutes ago work fine for me, vagrant is installed and reboot works as expected [07:11] after a failed boot /var/log/boot.log [07:11] so yeah, lets try to get reasonable logs from alterjsive case [07:12] ok brb reboot [07:12] any other logs ? [07:13] I'll add /var/log/dmesg too [07:13] alterjsive: boot log, dmesg, etc. Something will say *why* this boot up has gone to busybox (and without logs the going to busybox is the only we have indication here of anything non-normal here...) [07:27] sladen: I don't see anything unusual in the boot.log [07:28] https://paste.ubuntu.com/p/vKFz4rc95y/ [07:29] dmesg is not a log I found out :) [07:29] I just copied all files in my log dir [07:34] sladen: https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1794318 i've added my logfiles [07:34] Launchpad bug 1794318 in linux (Ubuntu) "unable to boot after installing vagrant?" [Undecided,Incomplete] [07:35] all of them [07:43] I'm sure you guys are busy , I should move this conversation to another channel right? [07:46] alterjsive: well here is good. keeps all the IRC logs in one place [07:47] did I say that right. an initfs update? [07:48] previous kernel version it works until another initfs update [07:49] my current kernel is working, can I make a backup ? in case I install something which does a update-initramfs ? [07:50] I need to continue my work now(deadline) [07:53] alterjsive: tihs syslog has four bootups in it. Which are the good ones, and which are the bad ones [07:53] this [07:55] alterjsive: "my current kernel is working" <-- *which* (exact version) kernel is working? [07:56] alterjsive: the syslog shows 3x boots with "(Ubuntu 4.15.0-29.31-generic 4.15.18)" and 1x boot with "(Ubuntu 4.15.0-34.37-generic 4.15.18)" [07:57] alterjsive: $ grep 'Linux version' log/syslog [08:03] grub says my latest kernel is 4.15.0-34-generic and the one i'm using now is 4.15.0-29-generic [08:04] alterjsive: so 4.15.0-34-generic is the *non*-working [08:04] yes [08:04] thank you [08:04] I was thinking about reinstalling it [08:04] and this is nothing to do with vagrant? [08:05] the *only* change is switching from kernel 4.15.0-29-generic (working) and rebooting with 4.15.0-34-generic (not working) [08:05] sladen: I'm under the impression that a update-initramfs breaks it, just a gut feeling [08:06] alterjsive: please confirm, that to replicate this, the *only* action needed is selecting one kernel, vs. the other kernel in Grub on bootup [08:07] s/replicate/reproduce this bug/ [08:07] sladen: yes [08:07] thank you [08:08] alterjsive: and that in neither case "safe mode" is being selected in Grub [08:08] sladen: yes [08:10] 1 sec I'll be more specific. After installing vagrant it did a update-initramfs which broke booting from kernel 4.15.0-34-generic when I switched back, using the grub menu, to a previous kernel 4.15.0-29-generic I could still boot without problems [08:11] any objections to sudo apt-get install --reinstall linux-image-generic linux-image [08:12] sladen: or do you need anyting more from me for debugging purposes? [08:12] alterjsive: please upload the working and non-working initramfs [08:13] sladen: how? [08:13] alterjsive: same way the lof files were uploaded [08:13] alterjsive: same way the log files were uploaded [08:14] where do they live? [08:15] alterjsive: ls -l /dev/*init*{4.15.0-29,4.15.0-34} [08:15] alterjsive: ls -l /boot/*init*{4.15.0-29,4.15.0-34} sorry [08:22] sladen: it's +-100MB, can I post it on launchpad? [08:22] together [08:23] alterjsive: or at least post the output of ls -l for the moment [08:24] sladen: https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1794318/+attachment/5193066/+files/initramfs.tar.gz [08:24] Launchpad bug 1794318 in linux (Ubuntu) "unable to boot after installing vagrant" [Undecided,Incomplete] [08:24] ls -l /boot/*init* [08:24] -rw-r--r-- 1 root root 54060073 sep 26 08:20 /boot/initrd.img-4.15.0-29-generic [08:24] -rw-r--r-- 1 root root 59276945 sep 26 08:36 /boot/initrd.img-4.15.0-34-generic [08:27] sladen: my best guess is that when I install virtualbox, I will break my current kernel aswell [08:28] because it updates initramfs [08:29] sladen: can I try to reinstall the latest kernel now? [08:29] alterjsive: just before "Log ended: 2018-09-26 08:36:21" there is "Processing triggers for initramfs-tools (0.130ubuntu3.3)" "update-initramfs: Generating /boot/initrd.img-4.15.0-34-generic" [08:29] alterjsive: yes [08:30] sladen: I see, I don't know the implectations of that [08:30] alterjsive: this is a place were only "initrd.img-4.15.0-34-generic" is updated, and not the older one [08:31] alterjsive: did 4.15.0-34 work *before* the initramfs was updated? [08:34] sladen: yes [08:34] righht... [08:34] I only got the busybox after i installed vagrant [08:34] sudo apt-get install --reinstall linux-image-4.15.0-34-generic [08:34] brb reboot [08:37] sladen: no luck, still busybox [08:39] alterjsive: and if you remove apt-get remove --purge vagrant ? [08:39] sladen: won't it try to remove it from the current kernel? [08:40] ok maybe it's cheaper to buy a new laptop with hardware raid [08:41] sorry bit frustrated [08:41] apt-get remove --purge vagrant, brb reboot [08:51] sladen: https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1794318/+attachment/5193074/+files/cannot%20activate%20member%20md127.jpg [08:51] Launchpad bug 1794318 in mdadm (Ubuntu) "unable to boot after installing vagrant" [Undecided,Incomplete] [08:52] sladen: looks like it's a fake raid issue [08:53] sladen: luckally I can still boot using the previous kernel [08:55] alterjsive: from the working kernel. Please upload cat /proc/mounts [08:56] alterjsive: thank you for the screenshot of the actual error message [09:00] https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1794318/comments/11 [09:00] Launchpad bug 1794318 in mdadm (Ubuntu) "unable to boot after installing vagrant" [Undecided,Incomplete] [09:07] ... === ghavil is now known as Guest58840 [09:09] alterjsive: looking at this tarball from earlier containing logs, the syslog contains these four boots, including one of -34 [09:09] sladen: I tried installing kernel 4.15.0-33-generic, but I get a busybox [09:09] alterjsive: if the mirror/raid away on mounted on root had not booted, then the syslog from the boot would not have saved. So this boot of -34 appears to have worked [09:10] s/away/array/ [09:11] sladen: when I installed 33, I tried to reboot, but I had to do a hard shutdown using the button because it hung on a stop job for WPA supplicants, i don't know if this is significant [09:12] this used to happen all the time [09:12] lately [09:12] sladen: yes it worked, before I installed vagrant [09:14] alterjsive: so 08:20 boot with -29, reboot to -34 at 08:30, install vagrant at 08:36, reboot, (reboot to -34 failed, no logs), reboot at 08:38 to -29, reboo at 08:59 to -29 [09:16] sladen: looks like it [09:19] alterjsive: please upload the output of find /etc/initramfs-tools/ -ls [09:21] sladen: I just installed virtualbox, I didn't see update-initramfs [09:21] sladen: https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1794318/comments/12 [09:21] Launchpad bug 1794318 in mdadm (Ubuntu) "unable to boot after installing vagrant" [Undecided,Incomplete] [09:24] Setting up virtualbox-dkms (5.2.10-dfsg-6ubuntu18.04.1) ... [09:24] Loading new virtualbox-5.2.10 DKMS files... [09:24] Building for 4.15.0-29-generic 4.15.0-34-generic [09:24] Building initial module for 4.15.0-29-generic [09:25] just so you know [09:30] doko: didrocks: I'd be happy if one of you here in my TZ could do a quick check if bug 1794219 is really ok (I found nothing) before I grant the MIR Team ack [09:30] bug 1794219 in ledmon (Ubuntu) "[MIR] ledmon" [Undecided,Confirmed] https://launchpad.net/bugs/1794219 [09:34] would you run this in valgrind to check for "Incautious use of malloc/sprintf" of the checks in https://wiki.ubuntu.com/MIRTeam ? [09:37] II did, but just want to learn on best practise for these [10:05] sladen: could you change the status back to posted? https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1794318 [10:05] Launchpad bug 1794318 in mdadm (Ubuntu) "unable to boot after installing vagrant" [Undecided,Incomplete] [10:06] sladen: it's complete now right? [10:09] alterjsive: did installing virtualbox cure things? [10:10] sladen: I don't dare to reboot [10:10] I will reboot the end of the day after my work [10:10] what is the virtualbox problem? [10:10] if none, nevermind [10:11] LocutusOfBorg: nothing yet, thx [10:13] sladen: if I want mirroring on linux and to use my self encrypting drive encryption. Should I buy a laptop with hardware raid? is this even possible? [10:13] sorry a bit off topic I know [10:14] ok I'll reboot, here goes nothing [10:15] cpaelzer, rbasak: hey can i ping you guys to get a new package imported? [10:15] cpaelzer, rbasak: in particular, rustc (it's a little large) [10:20] sladen: no lock, luckally I can still boot [10:20] on 27 [10:20] 29* [10:27] sladen: are you planning to pick this bug up soon, just for my own indication? [10:39] mwhudson: I can give it a try [10:39] mwhudson: do you need a one shot, or a regular re-import? [10:41] mwhudson: I'll do a --no-push --active-series-only first to check if it is affected by any odd issues before going for all of the history [10:41] alterjsive: can you run mdadm --assemble --scan at some point [10:41] cpaelzer: regular would be awesomest [10:42] (can you not just import all of ubuntu already!! ;-p) [10:42] sladen: ok, will try it tonight, thx [11:15] xnox: this upload of mdadm (4.1~rc1-3~ubuntu18.04.1) ... https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1779685 [11:15] Launchpad bug 1779685 in mdadm (Ubuntu Bionic) "[18.04.1] Backport support for Intel VROC arrays in mdadm" [High,Fix released] [11:15] cpaelzer: looks good [11:16] xnox: (might) be the cause of https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1794318 slangasek in particular referred to some udev rules from upstream being pulled into the Ubuntu package [11:16] Launchpad bug 1794318 in mdadm (Ubuntu) "unable to boot after installing vagrant" [Undecided,Incomplete] [11:19] xnox: "IMSM RAID geometry validation failed." and "platform does not support raid1 with 2 disks" + initramfs emergency shell is the result using an initramfs with this copy of mdadm [11:23] doko: the bug update or the pastebin with the changes? [11:32] alterjsive: mdadm --detail-platform also please later [11:33] sladen: ok, will do [11:36] mwhudson: I'll try an import and see how it goes [11:45] rbasak: will you run the real import then, that would be nice [11:45] rbasak: if my faster already started version stumble ssomewhere I'll let you know [11:48] cpaelzer: I'm running it (in the screen) for real. If it succeeds it'll push. [11:48] cpaelzer: though it's important to then add it to the whitelist so that it keeps up afterwards [11:50] sladen, i am sad =/ [11:52] sladen, disabling mdadm raid in the bios screens (typically Ctrl+I) and booting the drives directly might be an option. [11:52] xnox: currently the user is using their previous initramfs (with previous copy of mdadm included) [11:53] sladen, however, the install is done on top of intel raid.... as per partman [11:53] sladen, detail-platform would be useful, as well as the state/healthiness of the array from bios. quite likely there are unclean shutdowns and thus array is out of sync. [11:54] xnox: can you give a list of useful debugging commands for the user to run? [11:55] sladen, this user is interesting.... [11:55] * xnox is reading logs [11:58] sladen, specifically they forced mdadm installation from kubuntu desktop [12:03] xnox: tarball::log/apt/history.log Start-Date: 2018-09-26 08:35:14 Commandline: apt-get install -y vagrant ... mdadm:amd64 (4.1~rc1-3~ubuntu18.04.1, automatic). What are you seeing? [12:27] sladen, i'm reading installer logs, as to how the system installation was done. [12:27] rbasak: it ran a while without issues and is done (with the reduced set) [12:27] rbasak: so your run should hoefully work as well [12:29] did you guys say anything about sed's and raid btw? [12:29] I know i'm a bit ambitious in my IT demands :))) [12:40] rbasak: thanks for all the MP reviews! [12:47] More to come :) [12:51] cpaelzer: one comment on your paste: Ubuntu bugs easily get into Confirmed status so I consider New and Confirmed to be equivalent [13:21] smoser: another aws noob question for you if you have a moment, I'm getting, "ClientError: Unsupported configuration: Multiple etc directories found" [13:22] my root filesystem is an lvm thin pool, with several thin pools underneath it (all of them have /etc) [13:23] there are some other lvm volume too (none of them have /etc), but in any case, the one that's specified as / in grub does have a reasonable /etc and is a thin pool. do you know if this is supported? or is something else going on? [13:34] jbicha: yeah, since confirmed has no meaning yet we can define them as "the same" for this [13:34] jbicha: updated in the draft thanks [13:36] updated draft http://paste.ubuntu.com/p/HZXPnGk5sr/ [13:42] tych0: is this pvm ? [13:42] hvm should use grub2 and grub2 i would think might have issues, but such issues would not be specific to ec2 [13:43] pvm uses grub-legacy-ec2 which writes /boot/grub/menu.lst for a pv-grub loader to load. [13:43] that is hacky and generally deprecated, and i don tknow of the support for lvm volumes there. [13:44] smoser: i don't know the difference :) [13:44] smoser: i just used image-import by following the default docs [14:03] tych0: its probably hvm then. [14:04] but if that is the case hten you should most likelyi be able to reproduce outside ec2 [14:04] smoser: sadly, the image boots fine other places [14:04] cpaelzer: yeah, +1 for me, double checking by security is needed as you set [14:06] and it's not that it doesn't boot here, it's that aws won't import it. presumably because it's looking through all th ethin pools and seeing multiple /etc dirs [14:06] can you do a ec2-describe-images call on it ? [14:06] i dont know their "import" process. i only have familiarity with the bare bones path [14:06] where you push bytes and then try to boot them. [14:07] oh [14:07] well that sounds interesting :) [14:07] how do i do that? [14:11] (smoser) [14:12] smoser: i don't think i can do describe-images, because it never got successfully imported (the error i pasted above is from the import job) [14:12] oh. [14:13] its possible its just a buggy process flagging somethign that would otherwise work [14:13] yeah, i'm wondering if that's what's happening [14:13] not a lot of info on the interwebs about this, though [14:14] admittedly, a nested thinpool for / is a strange situation, i suppose [15:10] smoser: btw is it safe to assume that the code for generating and uploading the virtual images to aws is in lp? [15:13] hallyn: Ish. [15:14] hallyn: livecd-rootfs is responsible for all the heavy lifting there, but for public clouds, there's also a secret sauce branch that does some extra bits that aren't public. [15:15] hallyn: Oh, and the "and uploading" part is definitely not public. Though, I'm not sure there's any strategic reason why it couldn't be, just that it's not, AFAIR. [15:15] ok. a matter of "it would cost time/money to figure out whether there's secret sauce or not" probably [15:16] thanks infinity === ledeni_ is now known as ledeni === choopm is now known as Guest80724 [23:29] hi! is this the right place for help with debugging ubiquity?