Linus's include file strategy redux

2000-12-14 Thread LA Walsh
So, I brought up the idea of a linux/sys for kernel level include files. A few other people came up with a desire of a 'kernel' dir under include, parallel w/linux. So I ran into a snag with that scenario. Let's suppose we have a module developer or a company developing a driver in their own

Re: test13-pre1 changelog

2000-12-14 Thread Stephen Frost
* Alan Cox ([EMAIL PROTECTED]) wrote: machine? For no apparent reason after 5 days running 2.4.0test12 everything going through my firewall (set up using iptables) I got about 100ms time added on to pings and traceroutes. I'll probably reboot the machine tonight and see if that helps.

Re: Non-Blocking socket (SOCK_STREAM send)

2000-12-14 Thread Andi Kleen
On Thu, Dec 14, 2000 at 03:54:16PM -0800, Adam Scislowicz wrote: From your subject you seem not to. Im sorry for the subject I just wanted to give the environmental factors, and it is a non-blocking socket. At this point I am not sure if that is relavent or not. To the best of my

Re: test13-pre1 changelog

2000-12-14 Thread Linus Torvalds
On Thu, 14 Dec 2000, Stephen Frost wrote: This go around I compiled everything into the kernel, actually. If it would be useful I can compile them as modules reboot and then see what happens... Even when compiled into the kernel, you might just ifdown/ifup the device. That will

PATCH: fix FAT32 filesystems on 64-bit platforms

2000-12-14 Thread Bill Nottingham
This fixes FAT32 on 64-bit platforms (notably, IA-64 and Alpha); without this you can't mount any FAT32 filesystems. A similar patch is already in 2.2.18. Bill --- linux/fs/fat/cache.c.fooSat Nov 25 16:30:47 2000 +++ linux/fs/fat/cache.cSat Nov 25 16:32:29 2000 @@ -70,7 +70,7 @@

Re: Signal 11

2000-12-14 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED], Bernhard Rosenkraenzer [EMAIL PROTECTED] wrote: The same thing is true of *any* gcc release. For example, C++-ABI wise, 2.95.x is incompatible BOTH with egcs 1.1.x _and_ the upcoming 3.0 release. Yes, but 2.96 is also binary incompatible with all non-redhat

Re: Signal 11

2000-12-14 Thread lamont
I had tons of problems with K6III/450s in ASUS P5A motherboards with various kinds of 128MB SIMMs. There were multiple different symptoms, including just sig11s on compiles, corrupted input (leading to syntax error) in compiles, and corrupted input in the buffer cache (same crash over and over,

Re: test13-pre1 changelog

2000-12-14 Thread Stephen Frost
* Linus Torvalds ([EMAIL PROTECTED]) wrote: On Thu, 14 Dec 2000, Stephen Frost wrote: Any idea if these issues would cause a general slow-down of a machine? For no apparent reason after 5 days running 2.4.0test12 everything going through my firewall (set up using iptables) I

Re: Linus's include file strategy redux

2000-12-14 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED], LA Walsh [EMAIL PROTECTED] wrote: Which works because in a normal compile environment they have /usr/include in their include path and /usr/include/linux points to the directory under /usr/src/linux/include. No, that a redhat-ism. Sane distributions simply include

Re: Linus's include file strategy redux

2000-12-14 Thread Alexander Viro
On Thu, 14 Dec 2000, LA Walsh wrote: So I ran into a snag with that scenario. Let's suppose we have a module developer or a company developing a driver in their own /home/nvidia/video/drivers/newcard directory. Now they need to include kernel development files and are used to just doing

Re: Linus's include file strategy redux

2000-12-14 Thread Alexander Viro
On 15 Dec 2000, Miquel van Smoorenburg wrote: In article [EMAIL PROTECTED], LA Walsh [EMAIL PROTECTED] wrote: Which works because in a normal compile environment they have /usr/include in their include path and /usr/include/linux points to the directory under /usr/src/linux/include.

Re: test13-pre1 changelog

2000-12-14 Thread Stephen Frost
* Linus Torvalds ([EMAIL PROTECTED]) wrote: On Thu, 14 Dec 2000, Stephen Frost wrote: This go around I compiled everything into the kernel, actually. If it would be useful I can compile them as modules reboot and then see what happens... Even when compiled into the kernel,

Re: test13-pre1 changelog

2000-12-14 Thread Linus Torvalds
On Thu, 14 Dec 2000, Stephen Frost wrote: * Linus Torvalds ([EMAIL PROTECTED]) wrote: A 100ms delay sounds like some interrupt shut up or similar (and then timer handling makes it limp along). Hmm, it's happening on all interfaces. Ok, never mind me then. It's not an

Re: ORBit speed measure

2000-12-14 Thread Erik Mouw
On Thu, Dec 14, 2000 at 03:44:01PM -0600, Mike Castle wrote: Then again, isn't Jim some how involved in ORBit and GNOME? Or just a big supporter? :- Jim works on XFree86 (among other things). So yes, he is indeed *somehow* involved in GNOME ;-) Erik -- J.A.K. (Erik) Mouw, Information and

Re: D-LINK DFE-530-TX [patch]

2000-12-14 Thread Urban Widmark
On Wed, 13 Dec 2000, Alan Cox wrote: Becker's site http://www.scyld.com/network. 2.4.x-test has some fixes for via-rhine which don't appear to have made it into the Becker driver yet... Is either of these likely to make it into the stock 2.2 via-rhine? If someone ports them

Re: Linus's include file strategy redux

2000-12-14 Thread Alan Cox
Which works because in a normal compile environment they have /usr/include in their include path and /usr/include/linux points to the directory under /usr/src/linux/include. No, that a redhat-ism. Umm, its a most people except Debianism. People relied on it despite it being wrong. RH7

Re: Signal 11

2000-12-14 Thread Alan Cox
Yes, but 2.96 is also binary incompatible with all non-redhat distro's. And since redhat is _the_ distro that commercial entities use to release software for, this was very arguably a bad move. Except you conveniently ignore a few facts o Someone else moved to 2.95 not RH . In fact

Re: Linus's include file strategy redux

2000-12-14 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED], Alexander Viro [EMAIL PROTECTED] wrote: On 15 Dec 2000, Miquel van Smoorenburg wrote: In article [EMAIL PROTECTED], LA Walsh [EMAIL PROTECTED] wrote: Which works because in a normal compile environment they have /usr/include in their include path and

Re: Signal 11

2000-12-14 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED], Alan Cox [EMAIL PROTECTED] wrote: Yes, but 2.96 is also binary incompatible with all non-redhat distro's. And since redhat is _the_ distro that commercial entities use to release software for, this was very arguably a bad move. Except you conveniently ignore a

Re: Linus's include file strategy redux

2000-12-14 Thread Alexander Viro
On Fri, 15 Dec 2000, Alan Cox wrote: Which works because in a normal compile environment they have /usr/include in their include path and /usr/include/linux points to the directory under /usr/src/linux/include. No, that a redhat-ism. Umm, its a most people except Debianism.

Re: Linus's include file strategy redux

2000-12-14 Thread David Riley
Alexander Viro wrote: Actually, I suspect that quite a few of us had done that since long - IIRC I've got burned on 1.2/1.3 and decided that I had enough. Bugger if I remember what exactly it was - ISTR that it was restore(8) built with 1.3.something headers and playing funny games

Re: Signal 11

2000-12-14 Thread Michael Peddemors
Sticking my nose where it doesn't belong... On Thu, 14 Dec 2000, Alan Cox wrote: Yes, but 2.96 is also binary incompatible with all non-redhat distro's. And since redhat is _the_ distro that commercial entities use to release software for, this was very arguably a bad move. o We tell

Re: Netfilter is broken (was Re: ip_defrag is broken (was: Re: test12 lockups -- need feedback))

2000-12-14 Thread Harald Welte
On Thu, Dec 14, 2000 at 11:55:43AM -0800, David S. Miller wrote: Date: Thu, 14 Dec 2000 12:07:38 -0800 (PST) From: Ion Badulescu [EMAIL PROTECTED] I'm afraid I won't be able to answer this question, since I'm leaving for a 3-week vacation in about 50 minutes and I need my

Re: ip_defrag is broken (was: Re: test12 lockups -- need feedback)

2000-12-14 Thread Mohammad A. Haque
I do the following sudo modprobe iptable_nat Module Size Used by iptable_nat17440 0 (unused) ip_conntrack 19808 1 [iptable_nat] ip_tables 12320 3 [iptable_nat] Oops start flying by when I access via NFS. If you need the actual

Re: Netfilter is broken (was Re: ip_defrag is broken (was: Re: test12 lockups -- need feedback))

2000-12-14 Thread David S. Miller
Date: Fri, 15 Dec 2000 01:20:00 +0100 From: Harald Welte [EMAIL PROTECTED] Or is there something wrong with: - packet arrives in net/ipv4/ip_input.c:ip_rcv() - netfilter hook NF_IP_PRE_ROUTING is called - net/ipv4/netfilter/ip_conntrack_core.c:ip_conntrack_in() is called -

Re: Linus's include file strategy redux

2000-12-14 Thread Alexander Viro
On Thu, 14 Dec 2000, David Riley wrote: Alexander Viro wrote: Actually, I suspect that quite a few of us had done that since long - IIRC I've got burned on 1.2/1.3 and decided that I had enough. Bugger if I remember what exactly it was - ISTR that it was restore(8) built with

Re: Signal 11

2000-12-14 Thread Alan Cox
o We tell vendors to build RPMv3 , glibc 2.1.x Curious HOW do you tell vendors?? When they ask. More usefully Dan Quinlann and most vendors put together a recommended set of things to build with and use. It warns about library pitfalls, kernel changes and what packaging is supported. It is

Test12 ll_rw_block error.

2000-12-14 Thread Russell Cattelan
This would seem to be an error on the part of ll_rw_block. Setting b_end_io to a default handler without checking to see a callback has already been defined defeats the purpose of having a function op. void ll_rw_block(int rw, int nr, struct buffer_head * bhs[]) { @@ -928,7 +1046,8 @@

Re: Netfilter is broken (was Re: ip_defrag is broken (was: Re: test12 lockups -- need feedback))

2000-12-14 Thread Andi Kleen
On Thu, Dec 14, 2000 at 04:11:10PM -0800, David S. Miller wrote: Date: Fri, 15 Dec 2000 01:20:00 +0100 From: Harald Welte [EMAIL PROTECTED] Or is there something wrong with: - packet arrives in net/ipv4/ip_input.c:ip_rcv() - netfilter hook NF_IP_PRE_ROUTING is called -

Re: ip_defrag is broken (was: Re: test12 lockups -- need feedback)

2000-12-14 Thread Mohammad A. Haque
Problem only happens when ip_conntrack is loaded. On Thu, 14 Dec 2000, Mohammad A. Haque wrote: I do the following sudo modprobe iptable_nat Module Size Used by iptable_nat17440 0 (unused) ip_conntrack 19808 1 [iptable_nat] ip_tables

Re: Netfilter is broken (was Re: ip_defrag is broken (was: Re: test12 lockups -- need feedback))

2000-12-14 Thread Harald Welte
On Fri, Dec 15, 2000 at 01:48:32AM +0100, Andi Kleen wrote: Also is it sure that the backtrace involves ip_rcv ? A more likely guess is that it happens during the IP_LOCAL_OUT hook, when skb-dev isn't set yet, but conntrack already has to already reassemble fragments. Oh, thanks Andi. This

Lockup at boot with HPT370 and 2.4.0-test12

2000-12-14 Thread Ryan C. Boren
I have an Abit KT7-RAID mobo which sports an HPT370 ATA-100 IDE controller. When I configure support for the 370 into a 2.4.0-test12 kernel, the resulting kernel will hang at boot time. The ide2 and ide3 channels are detected, but when the kernel gets to the part where it usually displays info

[PATCH] Makefile fix

2000-12-14 Thread Brian Gerst
This patch should be obviously correct. diff -urN linux-2.4.0t13p1/arch/i386/Makefile linux/arch/i386/Makefile --- linux-2.4.0t13p1/arch/i386/Makefile Thu Dec 14 20:54:41 2000 +++ linux/arch/i386/MakefileThu Dec 14 21:04:34 2000 @@ -91,7 +91,7 @@ ifdef CONFIG_MATH_EMULATION SUBDIRS +=

Is there a Linux trademark issue with sun?

2000-12-14 Thread Rob Landley
Heads up everybody. Scott McNealy has apparently been calling Solaris Sun's implementation of Linux. Trademark violation time. The article's here: http://linuxtoday.com/news_story.php3?ltsn=2000-12-14-020-04-NW-CY Quick quote: When asked by a reporter why Sun's new clustering software was

Re: Test12 ll_rw_block error.

2000-12-14 Thread Linus Torvalds
In article [EMAIL PROTECTED], Russell Cattelan [EMAIL PROTECTED] wrote: This would seem to be an error on the part of ll_rw_block. Setting b_end_io to a default handler without checking to see a callback has already been defined defeats the purpose of having a function op. No. It just means

Re: test12 + initrd = swapper at 99.8% CPU timer

2000-12-14 Thread Mike Galbraith
On Thu, 14 Dec 2000, Joseph Cheek wrote: hi, ps axufw shows it as pid 1. Interesting.. init running out of control. I've seen that, and it was init taking endless page faults. I wager (one virtual brew) that you'll see an endless stream of output if you apply this. ---

loop device length

2000-12-14 Thread Tim Riker
losetup allows for setting a starting offset within a file for the loop block device. There however is no length parameter to permit setting the length. Adding a length parameter would allow for multiple fs images in a single file (or device) and would correctly handle programs like resize2fs.

Re: ip_defrag is broken (was: Re: test12 lockups -- need feedback)

2000-12-14 Thread Tom Leete
"David S. Miller" wrote: Date: Thu, 14 Dec 2000 15:35:48 -0500 (EST) From: "Mohammad A. Haque" [EMAIL PROTECTED] I'll be trying in a few hours. Meanwhile for people wanting the crashes to be fixed, please apply this patch. This was _always_ broken, and really what netfilter

Re: Test12 ll_rw_block error.

2000-12-14 Thread Linus Torvalds
On Thu, 14 Dec 2000, Russell Cattelan wrote: So one more observation in filemap_sync_pte lock_page(page); error = filemap_write_page(page, 1); - UnlockPage(page); This unlock page was removed? is that correct? Yes. The "writepage" thing changed: "struct file" disappeared (as I'm

Question about RTC interrupts on i386

2000-12-14 Thread Lee Reynolds
I'm reading the book Linux Internals by Moshe Bar. Early on he describes the use of the real time clock to generate an interrupt 100 times a second. He explains that this value was chosen early in the development cycle of the linux kernel and is therefore relatively low compared to what current

[PATCH]: fix for nfs on 64 bit archs.

2000-12-14 Thread Anton Blanchard
Hi, Since we use bitops on wb_flags it needs to be unsigned long. With this fix nfs works on sparc64 again. Anton --- linux/include/linux/nfs_page.h Wed Dec 6 22:19:17 2000 +++ linux_work/include/linux/nfs_page.h Fri Dec 15 14:38:18 2000 @@ -33,8 +33,8 @@ unsigned long

Re: Linus's include file strategy redux

2000-12-14 Thread ferret
On Thu, 14 Dec 2000, Alexander Viro wrote: On Thu, 14 Dec 2000, David Riley wrote: Alexander Viro wrote: Actually, I suspect that quite a few of us had done that since long - IIRC I've got burned on 1.2/1.3 and decided that I had enough. Bugger if I remember what

Re: test13-pre1 changelog

2000-12-14 Thread Oliver Xymoron
On Thu, 14 Dec 2000, Linus Torvalds wrote: On Thu, 14 Dec 2000, Stephen Frost wrote: Any idea if these issues would cause a general slow-down of a machine? For no apparent reason after 5 days running 2.4.0test12 everything going through my firewall (set up using iptables) I got

user-mode port 0.35-2.4.0-test12

2000-12-14 Thread Jeff Dike
The user-mode port of 2.4.0-test12 is finally available. It has been in CVS for a couple of days, but SourceForge only today fixed up the site enough to allow projects to make releases. hostfs now mostly works. It's still somewhat buggy. It is also possible to specify what host directory you

Re: Test12 ll_rw_block error.

2000-12-14 Thread Linus Torvalds
On Thu, 14 Dec 2000, Russell Cattelan wrote: Ok one more wrinkle. sync_buffers calls ll_rw_block, this is going to have the same problem as calling ll_rw_block directly. Good point. This actually looks fairly nasty to fix. The obvious fix would be to not put such buffers on the dirty

Re: failed in BUG() at fs/buffer.c:765

2000-12-14 Thread Atsuhiro Kojima
Neil Brown wrote: The simplest fix for this is the patch below. Exactly what will get into test13 has not yet been decided. NeilBrown Thanks for your advice. I will try it soon, maybe tonight or tomorrow. --- Atsuhiro Kojima Library Science Information Center, Osaka Prefecture

Anyone having trouble compiling test13-pre1?

2000-12-14 Thread Matthew Dharm
I'm having some problems with unresolved symbols in my modules with test13-pre1. This worked just fine before, and the symbols are all stuff that I'm sure it there. It looks like the modules were compiled for non-versioned symbols, while my kernel uses versioned symbols. The modules are

Re: Test12 ll_rw_block error.

2000-12-14 Thread Alexander Viro
On Thu, 14 Dec 2000, Linus Torvalds wrote: Good point. This actually looks fairly nasty to fix. The obvious fix would be to not put such buffers on the dirty list at all, and instead rely on the VM layer calling "writepage()" when it wants to push out the pages. That would be the nice

Re: PATCH: fix FAT32 filesystems on 64-bit platforms

2000-12-14 Thread Albert D. Cahalan
This fixes FAT32 on 64-bit platforms (notably, IA-64 and Alpha); without this you can't mount any FAT32 filesystems. A similar patch is already in 2.2.18. ... - next = CF_LE_L(((unsigned long *) bh-b_data)[(first + next = CF_LE_L(((__u32 *) bh-b_data)[(first ... -

Re: cramfs filesystem patch

2000-12-14 Thread Shane Nay
On Saturday 09 December 2000 06:39, Tim Riker wrote: I'd like to see these patches as well. They may be useful on the iPAQ (and similar hardware like my Yopy here... ;-) I wish some hardware vendor out there would build an x86 box that used memory addressable flash from 0 up and RAM up

userlink

2000-12-14 Thread Russell Coker
I am trying to port the Userlink driver (used for IPsec) to 2.4.0-test10. I have 2 questions: Firstly has anyone already done this? Secondly, how do I re-write the following code to work with 2.4.0? static int net_ul_start(struct net_device *dev) { dev-start = 1; dev-tbusy = 0;

RE: Linus's include file strategy redux

2000-12-14 Thread LA Walsh
Huh? % ls -ld /usr/include/linux drwxr-xr-x6 root root18432 Sep 2 22:35 /usr/include/linux/ So if we create a separate /usr/src/linux/include/kernel dir, does that imply that we'll have a 2nd link: What 2nd link? There should be _no_ links from /usr/include to the

<    1   2   3   4   5