Thought I'd document the process of updating d-i's kernel udebs from 2.6.12 to 2.6.14, since there's been various speculation about how automatable this is.
1. Installed 2.6.14 kernel deb. 2. Ran find in the old and new kernel modules directories and diffed the list to find added/removed modules. 3. New crypto, acpi hotkey, drm, char, watchdog modules generally not relevant to d-i, skipped. 4. Two new firmware modules, dcdbas and dell_rbu. Looked at the source to see what the firmware was used by, looks not relevant for d-i. 5. Skipped new hwmon set of drivers after verifying they weren't useful in installation. 6. Skipped i2c changes, since noone has asked for any i2c stuff in d-i yet. 7. ide/pci/it821x is new, it's a new pci ide controller. Added to list in kernel-wedge. Verified that hw-detect will find and load it. 8. Skipped infiniband changes, since nooone has asked for that in d-i yet. 9. Skipped gameport driver removal, not relevant. 10. md.ko is renamed to md-mod.ko. Updated kernel-wedge to include whichever is available. Checked d-i tree for instances of "modprobe md" and fixed them to try both. Cursed the %$(#)@(# gratuitous module renaming squad some more. 11. Skipped media/dvb, media/video, not relevant for d-i. 12. Reviewed the new split mpt* modules. Got pretty confused and chatted with hch to sort it out. Added all three new modules. 13. Skipped mtd changes since d-i doesn't need it. 14. de600/de620 nic drivers are gone from binary kernel package (but not source), made them optional in linux-kernel-di-i386-2.6 modules list. 15. atp nic driver is also removed, but d-i didn't include it before for some reason, so no change needed. 16. Looked at the sun cassini nic card .. not quite sure why it's in the i386 kernel since some docs I find online seems to suggest it only works with Sun HW, but assumed the kernel team has a reason and added it to list. 17. Looked at new cxgb and added to nic-extra-modules. 18. Looked at the new drivers/net/phy/ stuff, trying to decide whether to include the non-generic phy drivers (deps will pull in the generic phy support). Unsure, but left it out for now, since AFAIK nothing in d-i would load these modules. 19. Added sis190, skge, uli526x nic modules. 20. Hostap is in this version of the kernel.. Left out for now even though I love this driver, since AFAIK other existing drivers should suffice for installation. Double-checked this in modules.pcimap, and indeed no pci ids are uniquely supported by hostap. 21. Skipped adding ipw2100 and ipw2200 since they appear to need firmware that is not included. 22. Skipped the orinoco_nortel module, seems very edge case. 23. Skipped the spectrum_cs module since it needs firmware and special utilities. 24. megaraid is removed (renamed to megaraid_mbox), so made kernel-wedge aware of that. Also, added megaraid_sas. 26. Looked at raid_class's documentation which is in its entirity, "Provides RAID". Blinked in puzzlement. Asked on irc. Went on to the next module. 27. Added sata_mv, yay, more sata. 28. Skipped new serial board drivers. 29. Skipped usb atm, audio, misc, and input changes, none appicable. 30. Skipped new usb/host/isp116x-hcd module, for now, since I don't know if it's common enough to include and d-i doesn't try to load it with te other hcd module. 31. Skipped all the usb nic modules since once of d-i's blind spots is support for any usb network hardware. 32. Noticed that this kernel drops support for modular vesafb and might break d-i. Oh well.. 33. Skipped 1-wire bus stuff 34. Skipped plan 9 filesystem support, we'll get bug reports if someone needs it. 35. Skipped fuse, not applicable (for now?) 36. Skipped relayfs, no applicable. 37. Looked over new kernel lib modules and etc, including the new generic ieee80211 modules. 38. Skipped netfilter and other tcp stuff. 39. Skipped sound, security, and schedulers, d-i needs none of them. 40. Committed the changes, built and installed new kernel-wedge. 41. Did a test build of linux-kernel-di-i386-2.6. Got a successful build after four tries. Had to adjust the dependencies of pcmcia-modules to include firmwre-modules and make some other changes I'd missed. 42. Copied udebs to loacaludebs, updated config/i386.cfg to use the new kernel and ran a make all_rebuild to make sure d-i still built. -- see shy jo
signature.asc
Description: Digital signature