[00:05] <infinity> srwarren: I'll be at Plumbers.  Though, to be fair, I'm mostly cool with you and robher in that thread, which is why I've not bothered to pipe up yet.
[12:35] <stgraber> cjwatson: hey, got a minute for a grub2/UEFI question?
[12:35] <stgraber> I'm spending some time on that shim bug that prevents my machine from booting unsigned kernels
[12:36] <stgraber> while tracking this down by having the shim dump debug information in a persistent nvram variable, I ended up with the conclusion that the shim gets stuck on a Print() call
[12:36] <stgraber> (I'm using http://paste.ubuntu.com/5962449/ and I get "verify_buffer: debug 1a" in the variable after the boot hangs)
[12:36] <stgraber> do you know if grub is doing anything which would make the EFI Print() call fail/hang somehow?
[12:37] <stgraber> (the equivalent of closing fd 1/2 comes to mind)
[12:40] <cjwatson> I can't think how - it does plenty of EFI console writes of its own, and while the console might get closed down at some point during handover to the target kernel, that should be well after shim
[12:41] <stgraber> hmm, odd... I think I'll do a simple shim test build where I drop all the Print() calls and see if this somehow magically works ;)
[12:43] <cjwatson> GRUB doesn't use Print as such, but it writes to the output console in ways which I'd have thought would be more or less equivalent
[12:43] <cjwatson> The Tiano implementation of Print does memory allocation - don't suppose it could be an alloc bug?
[12:44] <cjwatson> (In which case, um, good luck)
[12:44] <stgraber> could be, IIRC that specific bug doesn't happen on Tiano, so it may be Lenovo/AMI messing up the memory allocation code in their firmware...
[12:47] <cjwatson> Or it could even be that nothing else ever calls Print
[12:47] <cjwatson> You never know
[12:48] <cjwatson> You could also try some other loader that uses Print - I think efilinux does
[12:56] <stgraber> cjwatson: that was it! I commented that Print() in the code and my laptop happily booted an unsigned kernel!
[12:56] <cjwatson> Freaky
[12:56] <stgraber> yeah :)
[22:06] <rostam> HI I am trying to create kickstart/preseed image for Ubuntu 12.04. I studied how to create preseed file at this location:   https://help.ubuntu.com/lts/installation-guide/amd64/preseed-contents.html              Now I would like to know how to go to create usb installer with custom preseed file. Is there a wiki or link I can access to please? thanks