Hi, for some time now, I wonder if Debian (sarge) should have Kernel 2.6 when using linux-kernel-headers from 2.6. Now that we got the message I forward herewith, we should clarify this. My apologies if this was discussed elsewhere. Then, please just reply with a reference. Thanks. bye, Roland
--- Begin Message ---
- To: 223206@bugs.debian.org, daniel@frobnitz.ddts.net, neroden@twcny.rr.com, schepler@math.berkeley.edu, stigge@antcom.de
- Subject: Bug in Linux kernel ext2 headers
- From: Joerg Schilling <schilling@fokus.fraunhofer.de>
- Date: Mon, 29 Dec 2003 01:48:22 +0100 (CET)
- Message-id: <200312290048.hBT0mMDM027464@burner.fokus.fraunhofer.de>
Hi, I just did find this by chance.... It looks like you found a bug and are hit by the unwillingness of the Linux kernel crew to keep kernel header constsistent. But IMPORTANT: your "fix" is unacceptable for star in general as it prevents star from compiling on older versions of Linux. There is _only_ the include file that star uses... Just another note: The Linux 2.6 kernel introduced incompatible interface changes with major/minor mapping to previous Linux kernels. If Debian continues to use it's broken method of compiling applications only only once for different kernels you will end up in a broken star binary if star is run on a kernel it has not been compiled for. It is important to understand that the kernel and the core shell utilities are a unitiy that may not be mixed between different releases. Another hint: Forget what the Linux kernel crew says - they don't understand the Linux kernel.... You need to compile applications that use kernel interfaces by using the kernel include files for the kernel you like to compile for. Doing what the Linux kernel crew says: "compile against the header files libc has been compiled with" is wrong and creates broken binaries. There are a lot of kernel interfaces that are out of the scope of libc. Using the kernel interfaces may only be done correctly if you use the include files the kernel did use. If you have more questions feel free to ask, and please keep in contact with me in future to avoid to introduce patches that may cause portability problems. Jörg -- EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin js@cs.tu-berlin.de (uni) If you don't have iso-8859-1 schilling@fokus.fraunhofer.de (work) chars I am J"org Schilling URL: http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily
--- End Message ---
Attachment:
signature.asc
Description: This is a digitally signed message part