[17:13] xnox: Naughty. [17:14] infinity: =) [17:15] infinity: yeah, i think I'll move firmware install from post-base-install.d to pre-pkgsel.d/01* such that it's almost first thing after kernel is installed. [17:16] infinity: and most importantly before update-initramfs is done. [17:16] Indeed. The timing is critical. [17:17] (Well, there's no reason you can't trigger another in-target update-initramfs -u) [17:17] SUcks to slow down the install with multiple calls, but it's not world-ending either. [17:17] infinity: i just think that some of drivers, might just be drivers with no other postinst scripts et al. [17:18] infinity: and as this bug shows, all other driver disks never used proper dependencies. [17:18] =/ [17:21] infinity: should drivers generally depend on "linux-image-3.x.y-WW-generic" ? [17:21] Well, dkms driver disks don't need to depend on a kernel (would be wrong if they did), but still better to shuffle them all to this later spot. [17:22] This new and icky case is because they're shipping pre-compiled .ko files. [17:22] infinity: true. I wonder if moving this will break any existing driver disks, as I'll be pushing this to precise I'm guessing. [17:22] infinity: e.g. like Dell disks (which is where this feature originally came from) [17:23] I don't see why it would break a dkms disk, but shouldn't be too hard to test. [17:23] It just means the dkms trigger will have to happen from the driver install instead of from the kernel's postinst. [17:23] infinity: true. [17:24] Which should be true anyway, or their driver's don't work when you apt-get install them. [17:24] But worth checking. [17:24] s/driver's/drivers/ [17:24] Wow, I'm typing in internet grammar. I need to wake up. [17:25] infinity: try to install twice? or will we find bugs =) [17:25] i think it ignores errors at the moment. [17:27] superm1: are there any Dell Driver Injection Disks available publicly? e.g. for testing. I am working on a solution for bug #1216043 [17:27] Launchpad bug 1216043 in hw-detect (Ubuntu Saucy) "driver-inject-disk: in target debs are installed before kernel has been" [High,Confirmed] https://launchpad.net/bugs/1216043 [17:27] superm1: and well see discussion above ^ [17:28] and I would not want to break existing driver disks. [17:34] xnox: AFAIK it hasn't actually been used yet. it was added in anticipation of a factory preinstalled ubuntu server image, but thus far the machines have been certified but not preinstalled and there has been no other work put towards it [17:35] but to your discussion, i don't think it's appropriate that the debs included should depend on specific kernel versions [17:35] it's asking for breakage with every respin of an alternate ISO that includes an updated kernel [17:36] superm1: ok. thanks for the info. [17:36] kentb-out: was just discussing with me plans on how to get it into deployment though, so if you make changes make sure you tie off with him [17:37] ack. === kentb-out is now known as kentb [17:39] superm1: dkms disks obviously shouldn't depend on kernel versions. This other messed up use-case (pre-built .ko files) has to, but that shouldn't concern you guys, cause you're doing it right. :) [17:40] * arges reads [17:42] prebuilt ko's without a way to rebuild is asking for trouble for sure [17:46] superm1: We've told this partner the same thing, yes. :P [17:46] superm1: But providing them a mechanism to ask for said trouble is still helpful, even if we disagree with their method. :) [17:47] (And it should just be a matter of doing the driver install a tiny bit later (after a kernel is already installed in-target) and then making sure that doens't blow up dkms disks) [17:47] that's unfortunate that it probably will get used by another partner before we ever got to use it in production [17:47] superm1: And if you guys aren't yet using dkms disks in production, this is perfect, as we can just test new disks going forward, not worry about breaking old ones. [17:47] yep [18:03] arges: see proposed branch and check if that works for you https://bugs.launchpad.net/ubuntu/+source/hw-detect/+bug/1216043 [18:03] Launchpad bug 1216043 in hw-detect (Ubuntu Saucy) "driver-inject-disk: in target debs are installed before kernel has been" [High,Confirmed] [18:04] arges: I'm off to gym and EOD/EOW, but will pop back on IRC later. [18:07] xnox: Your MP is full of >>><<< merge conflict markers. :P [18:08] infinity: excellent. [18:09] infinity: so you click search, find a branch, click on it, lp adds it to the target branch field, but does not move the radio button from default focus! [18:10] xnox: Oh, so the MP was a mistake? :) [18:10] That explains a lot. [18:10] infinity: well, target branch =) [18:10] infinity: https://code.launchpad.net/~xnox/hw-detect/fix-firmware-order/+merge/181886 [18:10] fixed. [18:14] xnox: Ahh, that's much more readable. Uselessly so, since I need the source to figure out what the file you moved is. :) [18:14] * infinity looks. [18:15] # copy any loose firmware files to /target (incl. subdirs) [18:15] SRSLY? [18:15] Who wrote this? [18:17] I really, really, really wish I hadn't read that script. [18:20] xnox: Hrm, after I've approved it, I now wonder if the above scary bit is a problem with reordering. [18:20] xnox: Since it could be overwriting firmware from linux-firmware (presumably, it ran before linux-firmware was installed before you moved it) [18:21] Honestly, I wonder who thought that was a good idea AT ALL. Copying random firmware from the installer to the target system just seems scary. [18:26] 50-install-firmware wasn't written as part of the driver injection disk stuff, i thought that part came from debian from earlier [18:26] Indeed, you just leveraged it, since it already copies debs around and installs them. [18:26] In fact... [18:26] Hrm. [18:27] xnox: It might be better to put 50-install-firmware back where it came from. [18:27] xnox: And do a new XX-driver-disk in hw-detect.pre-pkgsel.d that uses a different /tmp directory. [18:28] xnox: And mangle driver-injection-disk.sh to use that instead of overloading /tmp/firmware [18:30] also the driver injection stuff did make it up to debian, so make sure that whatever you change you commit (or get someone to sponsor) up there too to be consistent [18:30] xnox and I both have commit to d-i in Debian. [18:31] great :) [19:13] infinity: I rarely question d-i =) colin will be back on monday and I can see if that bit can be improved. [19:28] xnox: Fundamentally, I think it's just wrong to leverage the firmware thing to install things that aren't firmware. Using another tmpdir and a different hook for driver disks feels cleaner. [19:28] xnox: And should be generally non-contentious. I'd commit that upstream today, if it looked clean. [19:44] I have tea to drink with cheesecake though =) [19:44] will do that, but not today.