898ae27d08852d16c3985960a55c97d26c1a3eb2
[pkgsrc.git] / wip / linux-kernel / TODO
1 add xfs support as a module?
2
3 add other sound cards and NIC card modules
4
5 should this build a normal vmlinuz or bzImage kernel?
6
7 should this use LINUX_VERSION or PKGVERSION in PLIST?
8
9 make sure ownership of modules is root (see makefile for -r switch)
10
11 why were modules/2.4.22/modules.usbmap
12 modules/2.4.22/modules.generic_string
13 modules/2.4.22/modules.parportmap
14 modules/2.4.22/modules.pnpbiosmap
15 modules/2.4.22/modules.isapnpmap
16 modules/2.4.22/modules.dep
17 modules/2.4.22/modules.ieee1394map
18 modules/2.4.22/modules.pcimap
19 files touched too? (2.4.22 files touch on a 2.6.x install)
20
21 if [ -r System.map ]; then /usr/sbin/depmod -ae -F System.map  2.6.3; fidepmod: *** Unresolved symbols in /lib/modules/2.6.3/kernel/drivers/message/i2o/i2o_config.ko
22
23 depmod:         i2o_post_this
24 depmod: *** Unresolved symbols in /lib/modules/2.6.3/kernel/drivers/net/ppp_generic.ko
25 depmod:         slhc_init
26
27 FATAL: ldconfig must be used with "||${TRUE}".
28 (that is bug in pkglint.)
29
30 make sure gcc exists (see very bottom of Makefile)
31
32 thread about missing stdarg.h
33  http://www.ussg.iu.edu/hypermail/linux/kernel/0209.3/1015.html 
34 For time being I run kernel make like this:
35    GCC_EXEC_PREFIX=/usr/app/gcc/lib/gcc-lib/ make
36
37 make package for linux-kernel-headers too
38  ${MAKE} include/linux/version.h
39 glibc provides its own <net/*> and <scsi/*> header files to replace them
40 so just include/asm and include/linux
41
42 message to suggest running lilo if using LILO
43
44 maybe dynamically figure out modules for PLIST
45
46 LOCALBASE should be / for PLIST to be right
47 (need to use LOCLABASE for the install part too.)
48
49 should install .config file too; for example:
50 Knoppix kernel-headers-2.4.22-xfs_10.00.Custom_i386.deb
51 ar p ../kernel-headers-2.4.22-xfs_10.00.Custom_i386.deb data.tar.gz | tar zxf -
52 and found usr/src/kernel-headers-2.4.22-xfs/.config
53
54 try to just install headers with make config followed by make include/linux/version.h
55
56 copy certain directories from include to /usr/include
57
58 look at default /boot/config-2.2.20-idepci
59
60 # cp -i arch/i386/boot/bzImage /bzImage.-- with kernel-version- or other name
61 #   maybe copy to boot directory (as lilo also knows it)
62
63 - This package has known vulnerabilities, please investigate and fix if possible. (see: CVE-2008-1375, CVE-2008-1675, CVE-2008-1669, CVE-2008-1615, CVE-2008-1375, CVE-2008-0007, CVE-2007-6282, CVE-2005-0504, CVE-2008-1673, CVE-2008-2750, CVE-2008-2812, CVE-2008-3077, CVE-2008-3247, CVE-2008-3276, CVE-2008-3686, CVE-2008-1514, CVE-2008-3831, CVE-2008-5025, CVE-2009-0029, http://secunia.com/advisories/30258/, CVE-2008-3272, CVE-2008-3275, CVE-2008-3534, CVE-2008-4410, CVE-2008-4933, CVE-2008-4934, CVE-2008-5029, CVE-2008-5134, CVE-2008-3528, CVE-2008-4395, CVE-2008-5079, CVE-2008-5300, CVE-2008-5395, CVE-2009-0031, CVE-2009-0834, CVE-2009-0835, CVE-2009-1184, CVE-2009-1192, CVE-2009-1265, CVE-2009-1337, CVE-2009-1385, CVE-2009-1439, CVE-2009-1633, CVE-2009-1895, CVE-2009-1897, CVE-2009-2287, CVE-2009-2692, CVE-2009-3002, http://secunia.com/advisories/33656/, http://secunia.com/advisories/33938/, http://secunia.com/advisories/34033/, http://secunia.com/advisories/33977/, http://secunia.com/advisories/35127/, http://bugzilla.kernel.org/show_bug.cgi?id=12430, SA36200, SA35985, SA36136, SA35983, SA36617, SA36891, SA36707, CVE-2009-3547, CVE-2009-1298, CVE-2009-4131, CVE-2009-4308, CVE-2009-4307, CVE-2009-3939, CVE-2009-4020, CVE-2009-4141, CVE-2010-0006, CVE-2010-0007, SA38718).