From: Ookhoi <oo...@dd...> - 2001-03-12 05:21:39
|
Hi, If I try to compile a 2.4.2 kernel patched with -ac18 and uml-patch-latest (11 Mar), I get this error: make[1]: Entering directory `/usr/src/linux/mm' make all_targets make[2]: Entering directory `/usr/src/linux/mm' gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -U__i386__ -Ui386 -D__arch_um__ -DSUBARCH="i386" -DNESTING=0 -D_FILE_OFFSET_BITS=64 -c -o memory.o memory.c memory.c:49: asm/tlb.h: No such file or directory make[2]: *** [memory.o] Error 1 make[2]: Leaving directory `/usr/src/linux/mm' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux/mm' make: *** [_dir_mm] Error 2 If I do a cp include/asm-i386/tlb.h include/asm/. it compiles fine. I also noted that for networking, uml depends on things in the kernel wich are depreciated: Netlink device emulation CONFIG_NETLINK_DEV This option will be removed soon. Any programs that want to use character special nodes like /dev/tap0 or /dev/route (all with major number 36) need this option, and need to be rewritten soon to use the real netlink socket. This is a backward compatibility option, choose Y for now. Ethertap network tap (OBSOLETE) CONFIG_ETHERTAP If you say Y here (and have said Y to "Kernel/User network link driver", above) and create a character special file /dev/tap0 with major number 36 and minor number 16 using mknod ("man mknod"), you will be able to have a user space program read and write raw Ethernet frames from/to that special file. tap0 can be configured with ifconfig and route like any other Ethernet device but it is not connected to any physical LAN; everything written by the user to /dev/tap0 is treated by the kernel as if it had come in from a LAN to the device tap0; everything the kernel wants to send out over the device tap0 can instead be read by the user from /dev/tap0: the user mode program replaces the LAN that would be attached to an ordinary Ethernet device. Please read the file Documentation/networking/ethertap.txt for more information. Will we still be able to use uml in kernel 2.5? And I als find network with uml hard to set up (doesn't work yet, will play further with it). I think uml is a great project. :-) Ookhoi |