mwhudson | hm | 01:14 |
---|---|---|
mwhudson | anyone want to explain how the config works in ubuntu kernel builds? | 09:09 |
TJ- | which bit? | 09:14 |
mwhudson | TJ-: oops, didn't see your reply! | 10:01 |
mwhudson | i think i figure it out anyway | 10:01 |
mwhudson | TJ-: now i'm onto wondering why some modules aren't in the initrd i have | 10:01 |
TJ- | That depends on the initramfs config | 10:02 |
TJ- | There's a setting in "/etc/initramfs-tools/initramfs.conf" "MODULES=" which can be most|netboot|dep|list | 10:03 |
mwhudson | TJ-: ah, thanks | 10:05 |
mwhudson | TJ-: what determines what 'most' means? | 10:05 |
TJ- | mwhudson: I'd suspect, something in the internals of initramfs-tools! | 10:06 |
mwhudson | heh fair enough | 10:06 |
mwhudson | i hope it's not written in perl | 10:07 |
TJ- | mwhudson: actually, no. see "man 5 initramfs.conf" | 10:07 |
mwhudson | "most adds most file system, all ata, sata, scsi and usb drivers." | 10:07 |
mwhudson | i think the fun part here is that the sata/ahci driver for this platform has an undeclared dependency on the ethernet driver | 10:08 |
TJ- | mwhudson: ... "/usr/share/initramfs-tools/hooks/cryptroot:536: if [ "$MODULES" = "most" ]; then" | 10:09 |
TJ- | mwhudson: "/usr/share/initramfs-tools/hook-functions:427:auto_add_modules()" | 10:11 |
mwhudson | TJ-: thanks, am reading that now | 10:11 |
mwhudson | looks like kernel/drivers/net is included in most | 10:11 |
mwhudson | but the driver i need is in kernel/drivers/phy | 10:11 |
mwhudson | hm | 10:13 |
mwhudson | i guess 2215 on a sunday isn't the ideal time to be thinking about this | 10:14 |
TJ- | regular add to "/etc/initramfs-tools/modules" then | 10:14 |
mwhudson | i want this to work in the archive kernel really | 10:15 |
mwhudson | but i guess that means finding the right person to complain at, not trying to do it myself | 10:15 |
mwhudson | eh, not archive kernel precisely, "ubuntu-built images" is more what i actually mean | 10:15 |
soren | mwhudson: Which sata/ahci driver? | 12:47 |
soreau | kees: I'm attempting a kernel bisect today, that's why I ask | 17:06 |
kees | soreau: exciting! if you can replicate with a stock upstream kernel, it may be easier to track things down. | 17:07 |
soreau | kees: What makes you say that? | 17:07 |
soreau | At this point I'm trying to establish a good commit using the instructions here https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel | 17:10 |
soreau | but it produces 5 deb packages instead of 3. I'm assuming I should still install all of them | 17:11 |
soreau | any tips to speed things up? | 17:13 |
=== fmasi is now known as Guest22497 | ||
=== fmasi is now known as Guest68050 | ||
soreau | ah good, turns out it's not a kernel bug | 18:58 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!