Na én most küzdök, nem érttem miért nem jó.
Történés: Akarunk! (egy rekettyést :) 2.4.20-ra áttérni.
Forrás leszed, kicsomagol /usr/src/linux-ba (vagyis az csak szimlink), aztán:
make menuconfig
make dep
make clean
make bzImage
make modules
make modules_install
bzImage+System map át a /boot-ba, edit lilo.conf, /sbin/lilo
indítok új kernelt, nyígik, hogy nincs neki devfsd. Pedig szeretném, mert az nekem úgy kényelmes.
.config szerkesztése, (CONFIG_EXPERIMENTAL=y, CONFIG_DEVFS_FS=y,CONFIG_DEVFS_MOUNT=y)
make dep
make clean
make bzImage
iszonyat error-hegyek (lásd: alul). dedvfsd fent van, fut.
devfsd.src leszed, make, make install.
make dep
make clean
make bzImage
megint error hegyek. mitől lehet ez? plz help mi!
x.
és most jönnek a hibák:
make[1]: Entering directory `/usr/src/linux-2.4.20/fs'
make -C devfs
make[2]: Entering directory `/usr/src/linux-2.4.20/fs/devfs'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.20/fs/devfs'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=k6 -nostdinc -iwithprefix
include -DKBUILD_BASENAME=base -DEXPORT_SYMTAB -c base.c
base.c:911: redefinition of `devfs_put'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:130: `devfs_put'
previously defined here
base.c:1549: redefinition of `devfs_register'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:140:
`devfs_register' previously defined here
base.c:1716: redefinition of `devfs_unregister'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:144:
`devfs_unregister' previously defined here
base.c:1794: redefinition of `devfs_mk_symlink'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:150:
`devfs_mk_symlink' previously defined here
base.c:1824: redefinition of `devfs_mk_dir'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:155: `devfs_mk_dir'
previously defined here
base.c:1887: redefinition of `devfs_get_handle'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:164:
`devfs_get_handle' previously defined here
base.c:1898: redefinition of `devfs_find_handle'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:173:
`devfs_find_handle' previously defined here
base.c:1916: redefinition of `devfs_get_flags'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:177:
`devfs_get_flags' previously defined here
base.c:1942: redefinition of `devfs_set_flags'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:181:
`devfs_set_flags' previously defined here
base.c:1967: redefinition of `devfs_get_maj_min'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:186:
`devfs_get_maj_min' previously defined here
base.c:1986: redefinition of `devfs_get_handle_from_inode'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:190:
`devfs_get_handle_from_inode' previously defined here
base.c:2005: redefinition of `devfs_generate_path'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:195:
`devfs_generate_path' previously defined here
base.c:2036: redefinition of `devfs_get_ops'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:199: `devfs_get_ops'
previously defined here
base.c:2067: redefinition of `devfs_put_ops'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:203: `devfs_put_ops'
previously defined here
base.c:2091: redefinition of `devfs_set_file_size'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:207:
`devfs_set_file_size' previously defined here
base.c:2111: redefinition of `devfs_get_info'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:211:
`devfs_get_info' previously defined here
base.c:2126: redefinition of `devfs_set_info'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:215:
`devfs_set_info' previously defined here
base.c:2141: redefinition of `devfs_get_parent'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:219:
`devfs_get_parent' previously defined here
base.c:2156: redefinition of `devfs_get_first_child'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:223:
`devfs_get_first_child' previously defined here
base.c:2172: redefinition of `devfs_get_next_sibling'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:227:
`devfs_get_next_sibling' previously defined here
base.c:2188: redefinition of `devfs_auto_unregister'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:232:
`devfs_auto_unregister' previously defined here
base.c:2212: redefinition of `devfs_get_unregister_slave'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:236:
`devfs_get_unregister_slave' previously defined here
base.c:2228: redefinition of `devfs_get_name'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:241:
`devfs_get_name' previously defined here
base.c:2249: redefinition of `devfs_register_chrdev'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:246:
`devfs_register_chrdev' previously defined here
base.c:2268: redefinition of `devfs_register_blkdev'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:251:
`devfs_register_blkdev' previously defined here
base.c:2285: redefinition of `devfs_unregister_chrdev'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:255:
`devfs_unregister_chrdev' previously defined here
base.c:2302: redefinition of `devfs_unregister_blkdev'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:259:
`devfs_unregister_blkdev' previously defined here
base.c: In function `devfsd_ioctl':
base.c:3433: warning: unused variable `lock'
base.c: At top level:
base.c:3548: redefinition of `mount_devfs_fs'
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:311:
`mount_devfs_fs' previously defined here
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:130: warning:
`devfs_put' defined but not used
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:140: warning:
`devfs_register' defined but not used
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:150: warning:
`devfs_mk_symlink' defined but not used
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:155: warning:
`devfs_mk_dir' defined but not used
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:164: warning:
`devfs_get_handle' defined but not used
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:173: warning:
`devfs_find_handle' defined but not used
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:177: warning:
`devfs_get_flags' defined but not used
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:181: warning:
`devfs_set_flags' defined but not used
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:186: warning:
`devfs_get_maj_min' defined but not used
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:190: warning:
`devfs_get_handle_from_inode' defined but not used
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:195: warning:
`devfs_generate_path' defined but not used
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:199: warning:
`devfs_get_ops' defined but not used
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:207: warning:
`devfs_set_file_size' defined but not used
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:211: warning:
`dev/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:215: warning:
`devfs_set_info' defined but not used
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:219: warning:
`devfs_get_parent' defined but not used
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:223: warning:
`devfs_get_first_child' defined but not used
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:227: warning:
`devfs_get_next_sibling' defined but not used
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:232: warning:
`devfs_auto_unregister' defined but not used
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:236: warning:
`devfs_get_unregister_slave' defined but not used
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:241: warning:
`devfs_get_name' defined but not used
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:246: warning:
`devfs_register_chrdev' defined but not used
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:251: warning:
`devfs_register_blkdev' defined but not used
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:255: warning:
`devfs_unregister_chrdev' defined but not used
/usr/src/linux-2.4.20/include/linux/devfs_fs_kernel.h:259: warning:
`devfs_unregister_blkdev' defined but not used
make[3]: *** [base.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20/fs/devfs'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20/fs/devfs'
make[1]: *** [_subdir_devfs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20/fs'
make: *** [_dir_fs] Error 2
fs_get_info' defined but not used