/srv/irclogs.ubuntu.com/2015/09/10/#ubuntu-installer.txt

infinitytron103: Define "the latest kernel"?00:22
Fudgethanks cyphermox  and cjwatson01:16
cyphermoxFudge: np. lemme see if I can find something out quick01:23
Fudge:)02:16
cyphermoxthere may be a trick, by enabling espeakup as a module early on (you'd need to add things to the command line, or roll your own d-i image)02:52
cyphermoxbut I found some hints that it might be broken because of kernel changes02:52
cyphermoxFudge: so, the additional command-line entry you'd probably need would be "modules=espeakup-udeb", but it's not shipped on the server CD, so in a current case, at best you'd have to get online somehow through the menus before it would download the udeb03:19
cyphermoxso, the answer is most likely that if you want to make this work, for the time being it means building your own ISO if you want espeakup-udeb to be available03:20
cyphermox(or rebuild d-i, making it included in the mini.iso, but that means you'll need to bump the disk size it allows03:21
* cyphermox goes to bed03:21
tron103I've installed ubuntu-server 14.04 with the 3.16.0-30-generic kernel and a custom network driver that is needed. Is there a way to build an initrd/kernel combo for this version? The downloaded netboot installer is an older version of the kernel and won't accept my kernel modules.03:23
Fudgecyphermox:  that is very helpful mate, thank you so much03:24
infinitytron103: There's no way the netboot installer uses an older kernel than that (In fact, I'm looking right now, and it's 3.16.0-45, currently).11:20
infinitytron103: You're building for a kernel that's 7 months old.11:21
tron103Infinity: My cd ISO installed ubuntu-server 14.04 is at 3.16.0-30-generic, the real problem is that the netinstaller initrd is version 3.13.0-24-generic at http://us.archive.ubuntu.com/ubuntu/dists/trusty/main/installer-amd64/current/images/netboot/netboot.tar.gz16:19
cjwatsonyou want to use trusty-updates not trusty16:20
tron103lol16:20
tron103why is that?16:20
cjwatsontrusty is the version released with 14.04 on release day, it doesn't get updated16:20
cjwatsonjust like the archives, post-release updates go in trusty-updates16:20
tron103thank you cj, ill keep that in mind16:22
tron103I ended up finding the kernel-version specific modules and can now bring up the inifiniband interface, but it won't get dhcp for some reason. seems to only see ipv616:23
tron103I could try and rebuild everything with http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz16:24
tron103wow... the current netboot is at 3.13.0-61-generc16:30
tron103grrr16:30
tron103still smaller than my install version16:30
infinitytron103: There are netboot directories for each of 3.13, 3.16, and 3.1916:31
infinitytron103: http://cdimage.ubuntu.com/netboot/trusty/16:31
tron103thank you a bunch for that16:32
tron103so I have to look at cdimage instead of the archive16:32
infinitytron103: That page links to the archive, it's just nicer than remembering the deep links.16:33
tron103ah. its something called "vivid"... not just trusty16:34
infinitytron103: 3.16 would be lts-utopic, actually, not lts-vivid.16:34
tron103right you are :)16:35
tron103nice. its 3.16.0-45-generic.16:41
cjwatsonNot sure the lts-utopic kernel is still supported though, since utopic isn't16:42
tron103hmm now i wonder if the kernel modules from  3.16.0-30-generic will insert into 3.16.0-45-generic16:43
cjwatsonNo16:44
cjwatsonAt least I doubt it, the point of changing the ABI number is that the ABI changed16:44
infinitylts-utopic is supported until 3mo after 16.04 comes out.16:44
cjwatsoninfinity: oh really?  ok16:44
infinitycjwatson: Says so on the handy cdimage/netboot page. :)16:45
infinitySo it must be true, cause I wrote it.16:45
infinity*handwave*16:45
cjwatsonfair enough16:45
infinitycjwatson: But, basically, we support all the lts-N kernels until the .5 point release, where lts-next-lts becomes the only one supported with a highly-encouraged and annoying upgrade message.16:46
tron103thats a nope to inserting 3.16.0-30-generic modules into 3.16.0-45-generic16:59
tron103so my secret way of finding my compiled modules is to google: site:http://packages.ubuntu.com/ ib_addr.ko 3.13.0-24-generic17:00
infinitytron103: Err, wait.  What?  ib_addr should be included already, why do you need to compile your own?17:01
tron103ib_addr is not included in any of the netboot initrds ive looked at17:02
tron103and im not compiling them though, someone else helpfully did it and put it up on packages.ubuntu.com17:03
tron103I'm merely trying to add them into my netboot so i can bring up ib0 and dhcp it.17:04
infinitytron103: That "someone else" is us. :P17:05
tron103<317:06
infinitytron103: But indeed, infiniband stuff seems to be missing from d-i.  Have you filed a bug about your use-case so we can fix it?17:06
tron103... no, i just assumed noone cares about infiniband haha17:06
tron103how do i file?17:06
tron103if you guys add it, I've been reading in the mellanox documentation that a "specially compiled version of dhclient is needed". tho i'm not sure if that is true since the redhat dracut-based setup was able to np17:08
infinitytron103: "ubuntu-bug linux" and mention something about needing infiniband support in d-i.  It might not be something we can fix without some investigation (as you mention, it might be more than just pulling in some modules), but a bug is still nice.17:08
infinitytron103: Perhaps best to hold off on filing the bug until you've proven yourself that adding some modules does or doesn't work, so you have a bit more data for us than just "please fix".17:10
tron103yeah17:10
tron103just setting up launchpad for now17:10
infinitytron103: Especially since I think we have exactly two machines with the right hardware to test, and I don't have access to them, so I'd be working slightly blind. :P17:10
tron103again, i'm able to bring up the interfaces once I load the 10+ modules in the super-specific order17:11
tron103its just no dhcp17:11
tron103sigh17:11
tron103maybe itll work on this new kernel17:12
infinityBah, who needs DHCP?  Kids and your modern whiz-bang gadgets.17:13
tron103theforeman uses it to provision17:13
infinity(I was being sarcastic)17:13
tron103thank you for your help tho infinity and cj17:13
infinityapw: Actually, you might know, since Chris seems AFK and you decided to join. :P17:16
apwheh ... i missred the line and alert :)17:16
infinityapw: We have a user here who's trying to do infiniband in d-i which, at the very least, requires a bunch of modules we don't ship in the initrd.17:16
infinityapw: Chris was working with people on that at some point, right?  I feel like we also needed userspace changes that we've not yet made, but I have no idea if someone has a checklist of stuff that still needs doing.17:17
apwyeah i think you had the right victom :)17:17
apwi think i think the same as you, but have no details for you17:17
infinityFair enough.17:17
infinitytron103: So... WIP, no ETA.  But I'll poke around to see if it got stalled/forgotten. :P17:18
infinityWould certainly be nice to sort it by 16.04, if feasible.17:18
tron103jah jah. I'll probably get infiniband support. I'll make sure to post the fix..... somwhere17:19
infinityarges: Oh sure, join now, after I grill Andy on your behalf.17:19
infinityapw: We have a user here who's trying to do infiniband in d-i which, at the very least, requires a bunch of modules we don't ship in the initrd.17:19
infinityapw: Chris was working with people on that at some point, right?  I feel like we also needed userspace changes that we've not yet made, but I have no idea if someone has a checklist of stuff that still needs doing.17:19
infinityarges: ^-- s/apw/arges/17:19
argesinfinity: ok let me try to remember which bug this was...17:20
infinityarges: And, to be clear, I think he's doing IPoIB, not using any ethernet emulation layers.17:20
infinityarges: And, AFAIR, pure IB support was still a WIP.17:20
tron103yes. ipoib is correct17:20
infinitytron103: FWIW, I think doing ethernet or whatever on mellanox cards Just Works, which might be a workaround.  Run d-i in ethernet emulation mode, switch to IB post-install.17:21
argesinfinity: bug 146948217:21
infinitytron103: Though you might still hit the DHCP issue on the installed system.17:21
infinityarges: Oh good, a proper bug.17:23
infinitytron103: You might want to just subscribe to that bug instead of filing a new one.17:23
infinityarges: I suspect there are still userspace changes we need to make too, to enable DHCP over IB.  But I guess we'll find out, if someone's actually working on testing this.17:23
argesinfinity: yea so tinoco was going to work on that and give some proper information about impact etc. He has access to the hardware which makes it a bit easier for him to confirm17:23
infinityarges: Thanks for the pointer, at any rate.17:24
tron103subscribed. Thank you arges infinity!17:25
argesno problem17:27
tron103smh. on the initrd of 3.16.0-45-generic, modprobe ib_ipoib just hangs lol. Guess ill go back to 3.13.0-x18:00
tron103yes!18:13
tron103nm I got it18:13
tron103ib_ipoib doesn't hang when I don't screw with modules.d18:13
tron103to recap: when using the 3.16.0-45-generic initrd.gz (aka utopic), manually loading the infiniband modules allows me to use dhcp with ipoib18:17
tron103last question: how in the world do I get my script that loads the modules in the proper order to run at init time before the installer tries to detect my net hardware?18:18
tron103sorry if thats a super n00b question, I just can't figure it out18:18
tron103anyone in pacific northwest? I'll get a round18:20
tron103so how do I properly load my infiniband modules during netboot? I added them to /init but it just gives kernel panic and hangs....21:05
tron103(added right before the last line that says exec $init)21:06
tron103lib/debian-installer[-startup].d/S99loadinfiniband didn't run as well as adding in a line for inittab21:07

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