/srv/irclogs.ubuntu.com/2017/03/18/#ubuntu-devel.txt

drabso the problem isn't partman, it's the raid detection00:24
drabI got hold of the logs and partman doesn't even see sda00:24
drabthe kernel must be flagging sda as invalid or something because it think it has a screwed up raid00:24
drabhow that's the case I don't other other than and old windows install on that disk with fakeraid or something00:24
xnoxdrab, can you change settings in the bios from "raid" to "ahci" ?00:38
xnoxbut note that if you want to keep the windows dual boot00:38
drabxnox: it was another box, the new box I moved the drive to is ahci, only linux00:38
drabthe thing is, we have a bunch of these old drives with win on it00:38
draband I can't use them without prevoisly zero'ing them00:38
drabwhich I guess I can do00:38
drabI wasted more time trying to find this bug than doing that at this point00:39
xnoxyou should first boot to windows; configure it to always boot in safe mode; boot into safe mode; shut down; change from raid to ahci; boot into safe mode again; configure to boot windows normally; boot windows normally00:39
xnoxnow you can boot into ubuntu installer and everything will be fine; and both ubuntu and windows will boot.00:39
xnoxthere is no "update-initramfs -u"00:39
drabI want ubiquity to wipe the thing, but it won't00:39
xnoxin windows; it only reconsiders which modules/subsystems to load in safe mode.00:39
drabbecause it kicks off dmraid, it says there's mismatches on sda, drive is no go, and installation fails00:39
sarnoldxnox: I don't think drab cares about the windows bits :)00:40
drabxnox: dude I'm not dualbooting, I don't care about windows :)00:40
xnoxdrab, you must use the bios to disable raid controller detection.....00:40
drab...00:40
xnoxbecause thanks intel00:40
sarnoldlol00:40
sarnolddrab: you probably don't have to zero the whole drives either, I bet the first megabyte would be enough.00:40
drabsarnold: yess, and I tried to call ubiquity/early_command and run dd, but it doesn't seem to be running at all00:41
draband I found posts saying that early command is pretty much ignored...00:41
sarnolddrab: do you have eno7ugh of these drives that you have to do it via the installer rather than e.g. rescue media or something?00:41
xnoxsarnold, i have seen intel uefi putting zeroed out drives into "damaged, making read-only"00:41
drabeeer00:41
xnoxif one is still booting with raid on.00:41
sarnoldxnox: eww.00:41
drabsarnold: the thing is my "boss" every now and then finds one of these disk,tries to automated install, it fails and that makes my life harder because, to his own credit, "automatic installs don't work"00:42
drabI'm trying to bring in some more decent process and it's hard when process doesn't work00:43
drabI guess I could add a dd step in the wiki for ppl to do, but it kinda sucks00:43
drabhere it's a world of copy/paste and manual repetition which is causing a lot of troubles, but I can't get it out of the system if automation indeed is broken... this is just playing against me atm00:45
sarnoldespecially since they may blow away a drive they care about00:45
drabnah, that they get, it's ok, it comes with a warning sticker on the box :)00:45
sarnoldit'll be a Fun Opporunity to test restore procedures? :)00:46
drabsure :)00:46
drabsarnold: any thought about that early command prob? does it work in your exp?00:49
sarnolddrab: sorry, no idea, I generall use the installer once every few years..00:51
Unit193sarnold: Not even in VMs?00:57
sarnoldUnit193: the VMs are either crated by the security team's uvt which drives the installer, or cloud images, with no installer necessary00:57
=== JanC_ is now known as JanC
jtaylorcan you use /run/initramfs/shutdown on ubuntu?10:44
jtaylortrying to get my root dm devices properly detached on shutdown, this looks like the correct systemd interfacfe10:44
jtaylorusing dracut seems to work13:12
drabso netcfg is definitely doing the wrong thing, I'm trying to look at the sources, but I can't quite figure out what's going on18:30
drabanybody around that can give me some pointers?18:30
infinityjtaylor: dracut puts systems in the initramfs, initramfs-tools does not.  initrfams-tools is correct, IMO. :P20:25
infinitys/systems/systemd/20:25
jtaylorinfinity: is there a way to get initramfs on shutdown with initramfs-tools?20:26
infinityjtaylor: So, there is no "correct systemd interface to use the initrd on shutdown" because pivoting into the initrd on shutdown isn't correct to start with (and completely ignores the fact that there are systems without an initrd)20:26
jtaylorI haven't found another way to get dm-cache to shutdown properly20:27
jtaylordm-cache on root20:27
infinityIt can't be done after / goes readonly?20:27
jtaylorI assume no, atleast it doesn't work out of the box20:28
jtayloryou end up with an unclean shutdown and then it needs to consider the whole cache dirty and in need of flushing on reboot20:29
jtaylorwhich takes forever20:29
Unit193jtaylor: dracut isn't exactly the most supported, until recently you couldn't even install it without major haggling.  I wouldn't recommend it on a production system (as a person that's been using it for months), but if you do you'll likely need to turn /usr/sbin/update-initramfs into a wrapper.20:38
jtaylorits just for me desktop which I break regularly anyway ;)20:38
jtaylorUnit193: I assume you mean just make update-initramfs call dracut instead? the postinst is already setup, what else would try calling it directly?20:42
Unit193jtaylor: There's a few things that try every so often, http://paste.openstack.org/show/McSGZjX8Sbzdxf3yLUF9/ does it for me.20:43
Unit193Well, I think that's it.20:43
jtaylorUnit193: thanks, I'll keep that in mind when something starts breaking20:44
jtaylorup to now everything seems to work nicely, which is much better than the full disk corruption I had last time I tried dm-cache ;)20:46
drabwho/what can I email about netcfg? can't find a contact/place. also ubuntu seems to be tracking netcfg bugs on debian, so should I open stuff there? thanks20:49
drabbefore reporting a bug tho I'd love to talk to someone... I've just looked at the netcfg code for the very first time and might be completely off20:50
=== alexbligh1 is now known as alexbligh
=== alexbligh is now known as alexbligh2

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!