On Wed, 12.03.14 10:23, Thomas Bächler (tho...@archlinux.org) wrote: > > CHANGES WITH 211: > > > > [...] > > > > * systemd-gpt-auto-generator is now able to discover /srv and > > root partitions in addition to /home and swap partitions. It > > also supports LUKS-encrypted partitions now. With this in > > place automatic discovery of partitions to mount following > > the Discoverable Partitions Specification > > > > (http://www.freedesktop.org/wiki/Specifications/DiscoverablePartitionsSpec) > > is now a lot more complete. This allows booting without > > /etc/fstab and without root= on the kernel command line on > > appropriately prepared systems. > > I had no time to look into this yet, but there's something wrong. I > don't have GPT partitions on this machine (so the generator shouldn't do > anyting), but I get an error during boot: > > [ 4.634733] evey systemd-gpt-auto-generator[226]: Out of memory. > > I do have plenty of free memory available, so there is probably an > incorrect log_oom() somewhere in there.
Hmmmm. Any chance you could run the generator in a gdb and check where this happens? Use something like this: rm -rf /tmp/gpt-test ; mkdir /tmp/gpt-test ; gdb --args /usr/lib/systemd/system-generators/systemd-gpt-auto-generator /tmp/gpt-test /tmp/gpt-test /tmp/gpt-test And then set a breakpoint to log_oom(): b log_oom And then run it: r This should then run an break where the incorrect OOM happens. Then, get me a backtracke please: bt full Thanks! Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel