Compiling iproute2(w/HTB patch) for 2.5.51

Compiling iproute2(w/HTB patch) for 2.5.51

Post by Mikael Starvi » Tue, 17 Dec 2002 08:30:07



I have the exact same problem with sysklogd and I found
that linux/module.h has a lot of new includes in 2.5
that indirectly brings in a lot of .h files that
shouldn't be included from userspace.

Because of this you get both the compilers definition
of FD_SET etc and the kernels version. I have not yet
had the time to find out how to solve this but the
solution is either to remove some includes or to add
more #ifdef __KERNEL__.

Question 1: Should it at all be possible to compile
applications with 2.5.x headers?

Question 2: Is there any chance that we can remove
or #ifdef some includes in module.h (e.g. sched.h)?

/Mikael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. Problem with mm1 patch for 2.5.51

Hi,
I applied mm1 patch to kernel 2.5.51 and I ran LM bench to test its performance.
Here are the errors that I obtained.

EXT3-fs error (device ide0(3,6)) in start_transaction: Journal has aborted

ext3_free_blocks: aborting transaction: Journal has aborted in __ext3_journal_get_undo_access<2>

EXT3-fs error (device ide0(3,6)) in ext3_free_blocks: Journal has aborted

ext3_free_blocks: aborting transaction: Journal has aborted in __ext3_journal_get_undo_access<2>

EXT3-fs error (device ide0(3,6)) in ext3_free_blocks: Journal has aborted

ext3_reserve_inode_write: aborting transaction: Journal has aborted in __ext3_journal_get_write_access<2>

EXT3-fs error (device ide0(3,6)) in ext3_reserve_inode_write: Journal has aborted

EXT3-fs error (device ide0(3,6)) in ext3_truncate: Journal has aborted

ext3_reserve_inode_write: aborting transaction: Journal has aborted in __ext3_journal_get_write_access<2>

EXT3-fs error (device ide0(3,6)) in ext3_reserve_inode_write: Journal has aborted

EXT3-fs error (device ide0(3,6)) in ext3_orphan_del: Journal has aborted

ext3_reserve_inode_write: aborting transaction: Journal has aborted in __ext3_journal_get_write_access<2>

EXT3-fs error (device ide0(3,6)) in ext3_reserve_inode_write: Journal has aborted

EXT3-fs error (device ide0(3,6)) in ext3_delete_inode: Journal has aborted

I had observered similar errors for mm2 patch for kernel 2.5.50. that patch was later removed from the site. It seems that the problem still persists. are changes in fs/ext3/balloc.c and fs/ext3/inode.c responsible for this ?

Regards,
--------------------------------------------------------------
Aniruddha Marathe
Systems Engineer,
4th floor, WIPRO technologies,
53/1, Hosur road,
Madivala,
Bangalore - 560068
Karnataka, India
Phone: +91-80-5502001 extension 5092

---------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Seyon for normal users (How ??)

3. LM bench result for mm1 patch of 2.5.51

4. ANNOUNCE: Kernel Traffic #10 is Now Available

5. Unixbench result for kernel 2.5.51 with mm2 patch .

6. Help on Packet Sniffer

7. [PATCH] ReiserFS additional inode attributes support for 2.5.51

8. About Vilmos answering "crc errorVFS"

9. Malformed patch 2.5.51-mm2

10. AIM benchmark result for kernel 2.5.51 with mm2 patch .

11. AIM benchmark result for kernel 2.5.51 with mm2 patch.

12. Unixbench result for kernel 2.5.51 with mm1 patch

13. 2.5.51 compile fails (fs/readdir.c)