Re: Mylex DAC vs RAM disk in 2.4.2 devfs

2001-04-18 Thread Richard Gooch
Russell Coker writes: I have just upgraded a machine with a Mylex DAC hardware RAID controller to kernel 2.4.2 with devfs. It seems that /dev/rd is used by both the RAM disk in the kernel and the Mylex controller! This is wrong of course, there are two problems, one is the situation of

/proc/pci is still obsolete in 2.2.x

2001-04-18 Thread Giacomo Catenazzi
Hello. After an user of us (debian) complained about the "xxx uses obsolete /proc/pci interface", I noticed that in 2.2.19, drivers/pci/oldproc.c, line 1042 kernel still writes: printk(KERN_INFO "%s uses obsolete /proc/pci interface\n", Now 2.3/2.4 this interface is still available and no

RE: change_mtu boundary checking error

2001-04-18 Thread Hen, Shmulik
But Ethernet is not only for IP, what about other protocols ? -Original Message- From: Alan Cox [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 17, 2001 3:41 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: change_mtu boundary checking error Now, the high

Re: I can eject a mounted CD

2001-04-18 Thread Giuliano Pochini
/dev/cdrom/mnt/cdromautonoauto,user,ro0 0 And remove the other cdrom listing. This will allow mounting any supported format and eliminate the duel support for one device. That's not the point. The kernel should not allow someone to eject a mounted media.

Re: [kbuild-devel] Supplying missing entries for Configure.help, part 2

2001-04-18 Thread Christoph Hellwig
On Tue, Apr 17, 2001 at 08:54:49PM -0400, Eric S. Raymond wrote: +Kernel support for JAVA binaries +CONFIG_BINFMT_JAVA + If you answer Y here, the kernel's program loader will know how to + directly execute Java J-code. This option is semi-obsolescent; you + should probably use

Re: IP Acounting Idea for 2.5

2001-04-18 Thread Kenneth Johansson
Alan Cox wrote: Fix your userspace applications to behave correctly. If _you_ require your userspace applications to not clear counters, then fix the application. You are confused. What would you say if a close() by another, No he isnt confused, you are trying to dictate policy.

Re: Is printing broke on sparc ?

2001-04-18 Thread Tim Waugh
On Tue, Apr 17, 2001 at 05:28:13PM -0700, Mr. James W. Laferriere wrote: Ok , There isn't a sysctl available to do that . I am also a little worried about the 'none' in ths below . root@udragon:~# sysctl -A | grep -i parp dev.parport.parport0.devices.active = none Don't be:

Re: Linux 2.4.3-ac9

2001-04-18 Thread J . A . Magallon
On 04.18 Alan Cox wrote: 2.4.3-ac9 .. 2.4.3-ac8 o ACPI updates(Andrew Grover) Patch for ac9 generates a file named linux/acpi-20010413.diff. It partially applies, some hunks failed and some offset. Is this rest of your work ? -- J.A. Magallon

Re: [CHECKER] copy_*_user length bugs?

2001-04-18 Thread David Schleef
On Tue, Apr 17, 2001 at 09:39:15PM -0700, Dawson Engler wrote: Hi All, at the suggestion of Chris ([EMAIL PROTECTED]) I wrote a simple checker to warn when the length parameter to copy_*_user was (1) an integer and (2) not checked 0. As an example, the ipv6 routine

Re: I can eject a mounted CD

2001-04-18 Thread Anthony D. Saxton
Giuliano Pochini wrote: My fstab: /dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0 /dev/cdrom /mnt/cdmac hfs noauto,user,ro 0 0 Change your fstab to read instead: /dev/cdrom/mnt/cdrom

Re: i386 cleanups

2001-04-18 Thread Abramo Bagnara
Jeff Garzik wrote: Pavel Machek wrote: Hi! These are tiny cleanups you might like. sizes are "logically" long. No, it does not matter on i386. processor.h makes INIT_TSS look much more readable. [Please tell me applied or rejected]

Re: I can eject a mounted CD

2001-04-18 Thread Tim Peeler
On Wed, Apr 18, 2001 at 09:25:43AM +0200, Giuliano Pochini wrote: /dev/cdrom/mnt/cdromautonoauto,user,ro0 0 And remove the other cdrom listing. This will allow mounting any supported format and eliminate the duel support for one device. That's not the

Re: Supplying missing entries for Configure.help, part 4

2001-04-18 Thread Philip Blundell
+Support for Cobalt Micro Server +CONFIG_COBALT_MICRO_SERVER + Support for ARM-based Cobalt boxes (they have been bought by Sun and + are now the "Server Appliance Business Unit") including the 2700 series Aren't those machines MIPS based? p. - To unsubscribe from this list: send the line

Re: I can eject a mounted CD

2001-04-18 Thread Giuliano Pochini
That's not the point. The kernel should not allow someone to eject a mounted media. rpm -e magicdev Magicdev is not installed. Ok, I'm the only one with this problem, I'll manage to find the bug by myself. eject(1) line 36: If the device is currently mounted, it is unmounted

[PATCH] SysV IPC loop speedups, kernel 2.4.3

2001-04-18 Thread Scott Maxwell
This patch contains a couple of micro-optimizations for the loops in ipc/msg.c's load_msg() and store_msg(). It works fine for me under 2.4.3. -- -+ R H L U Scott Maxwell: | ``Life results from the non-random survival E A I

Re: Linux 2.4.3-ac9

2001-04-18 Thread Roeland Th. Jansen
On Tue, Apr 17, 2001 at 10:26:26PM -0400, Byron Stanoszek wrote: I've seen this on my Dell P3 700 machine several times. Seems to happen at odd intervals after I use my CD burner, but that just might be coincidental. But I have seen this related to the cd burner as well. it's not a via board

some question about ramdisk

2001-04-18 Thread lmc83
hi, I have some question about initrd. If I have a compressed ramdisk image: initrd.gz put at a memory location for example: 0x0007 (in fact, in my application, it is flash) 1. what is the meaning of initrd_start in rd.c (linux-2.4.0)? Is it means 0x0007? or

[PATCH] fbdev init order violation

2001-04-18 Thread Geert Uytterhoeven
The Epson 1355 frame buffer device doesn't use resource management (yet), so it must be initialized later. --- linux-2.4.4-pre4/drivers/video/fbmem.c.orig Wed Apr 18 11:40:40 2001 +++ linux-2.4.4-pre4/drivers/video/fbmem.c Wed Apr 18 12:17:57 2001 @@ -202,9 +202,6 @@ #ifdef CONFIG_FB_SIS

Re: Fix for Donald Becker's DP83815 network driver (v1.07)

2001-04-18 Thread Ion Badulescu
On Tue, 17 Apr 2001 17:30:46 +0100 (BST), Steve Hill [EMAIL PROTECTED] wrote: Not sure - I've never tried initing more than 3 of the DP83815 cards in a single machine. (I am using Cobalt Qube 3's, which have 2 DP83815's on the motherboard, and a single PCI slot which I have installed a

[PATCH] d_flags races

2001-04-18 Thread Alexander Viro
Linus, we need to make access to bits of -d_flags atomic. That used to be protected by BKL, but since we've got DCACHE_REFERENCED it's no longer true - prune_dcache() and d_lookup() are not under BKL and while they are safe wrt each other (both are under dcache_lock) they race with every

Re: Problems with Toshiba SD-W2002 DVD-RAM drive (IDE)

2001-04-18 Thread Jens Axboe
On Tue, Apr 17 2001, Stefan Jaschke wrote: Judging from the thread started Jan 1, 2001, by Andre Hedrick, I thought IDE DVD-RAM just works out of the box and got a Toshiba SD-W2002. Problem: /dev/hdc cannot be read or written to when the drive contains DVD-RAM media. The behavior is

VFS problem

2001-04-18 Thread Jaquemet Loic
Sorry if this problem has already been disscussed. I run an linux box with a HD 30Go/reiserfs . I tried several 2.4 kernel ( 2.4.2 , 2.4.3 , 2.4.4-pre3 , 2.4.3-ac7) After a random time I've got a fs problem which lead to : -first a segfault of a process which reads/writes on the partition ex:

Re: AHA-154X/1535 not recognized any more

2001-04-18 Thread Markus Schaber
Alan Cox wrote: Now I have the problem that kernels 2.4.2 and 2.4.3 don't recognize this adapter any more, while all 2.2-kernels I used (I currently remember 2.2.19, 2.2.18 and debian-2.2.17pre6) work with it without problems. Load the module with isapnp=1. It defaults to not

D-Link DFE-550TX

2001-04-18 Thread Dennis Bjorklund
Have anyone used this in linux? It seems to have some good qualities. It says that it comes with drivers for linux, but i'm afraid that it might be a precompiled kernel module? And then the card is useless to me. I don't even know what chip is used, since I can't find that on the webpage:

Re: D-Link DFE-550TX

2001-04-18 Thread Jeff Garzik
Dennis Bjorklund wrote: It seems to have some good qualities. It says that it comes with drivers for linux, but i'm afraid that it might be a precompiled kernel module? And then the card is useless to me. I don't even know what chip is used, since I can't find that on the webpage: It uses

Re: D-Link DFE-550TX

2001-04-18 Thread Frank Fiene
Am Mittwoch, 18. April 2001 13:03 schrieb Dennis Bjorklund: Have anyone used this in linux? It seems to have some good qualities. It says that it comes with drivers for linux, but i'm afraid that it might be a precompiled kernel module? And then the card is useless to me. I don't even know

Re: [CHECKER] copy_*_user length bugs?

2001-04-18 Thread Chris Evans
On Wed, 18 Apr 2001, David Schleef wrote: On Tue, Apr 17, 2001 at 09:39:15PM -0700, Dawson Engler wrote: Hi All, at the suggestion of Chris ([EMAIL PROTECTED]) I wrote a simple checker to warn when the length parameter to copy_*_user was (1) an integer and (2) not checked 0. As

Re: generic_osync_inode/ext2_fsync_inode still not safe

2001-04-18 Thread Marcelo Tosatti
On Tue, 17 Apr 2001, Stephen C. Tweedie wrote: Hi, On Sat, Apr 14, 2001 at 07:24:42AM -0300, Marcelo Tosatti wrote: As described earlier, code which wants to write an inode cannot rely on the I_DIRTY bits (on inode-i_state) being clean to guarantee that the inode and its dirty

NETDEV WATCHDOG eth transmit timed out

2001-04-18 Thread axel
Hallo, on my router which is serving as a gateway for my lan, the adsl connection is irregularly killed due to the following: (eth1 is a RTL8139C, kernel 2.4.4pre3, incl. latest rtl8139 driver 0.9.16) Apr 18 12:11:09 bello kernel: eth1: Setting half-duplex based on auto-negotiated partner

Re: VFS problem

2001-04-18 Thread Jaquemet Loic
Jaquemet Loic a crit : Sorry if this problem has already been disscussed. I run an linux box with a HD 30Go/reiserfs . I tried several 2.4 kernel ( 2.4.2 , 2.4.3 , 2.4.4-pre3 , 2.4.3-ac7) After a random time I've got a fs problem which lead to : -first a segfault of a process which

Re: Linux 2.4.3-ac9

2001-04-18 Thread Alan Cox
intervals after I use my CD burner, but that just might be coincidental. But I'd like to point out that I've never seen this on my VIA686a itself. The P3 machine is UP too, not SMP. I saw this ever since I switched the machine to 2.4.2-ac8 and beyond (previously 2.2.18). At the moment the

Re: performance degradation on -ac tree

2001-04-18 Thread Alan Cox
I have noticed that with e.g. the 2.4.0-test kernels, and e.g. 2.4.2, netperf to localhost gets between 350-400 MB/s. With recent -ac kernels, e.g. 2.4.3-ac5, netperf to localhost gets more like 250 MB/sec. Thats one to ask Dave Miller. The same activity with recent -ac kernels feels like

Re: Let init know user wants to shutdown

2001-04-18 Thread Alan Cox
I'm wondering if that veto business is really needed. Why not reject *all* APM rejectable events, and then let the userspace event handler send the system to sleep or turn it off? Anybody au fait with the APM spec? Because apmd is optional - To unsubscribe from this list: send the line

Re: Supplying missing entries for Configure.help, part 4

2001-04-18 Thread Dmitry A. Fedorov
From: Eric S. Raymond [EMAIL PROTECTED] To: Alan Cox [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Date: Wed, 18 Apr 2001 01:26:48 -0400 Subject: Supplying missing entries for Configure.help, part 4 This patch supplies seventeen

Re: Kernel 2.5 Workshop RealVideo streams -- next time, please get better audio.

2001-04-18 Thread Alan Cox
Being an outsider, I'm still trying to find out WTF happened on friday evening when NUMA was discussed. I can't find any video, audio, or even technical notes. This sucks; I'm writing support for NUMA hardware (it's not cache coherent) right now and I don't have any idea where things will be

Re: [CHECKER] copy_*_user length bugs?

2001-04-18 Thread Richard B. Johnson
On Tue, 17 Apr 2001, Dawson Engler wrote: Hi All, at the suggestion of Chris ([EMAIL PROTECTED]) I wrote a simple checker to warn when the length parameter to copy_*_user was (1) an integer and (2) not checked 0. As an example, the ipv6 routine rawv6_geticmpfilter gets an integer

Re: I can eject a mounted CD

2001-04-18 Thread Alan Cox
rpm -e magicdev Magicdev is not installed. Ok, I'm the only one with this problem, I'll manage to find the bug by myself. vmware and one or two other apps I've also seen do this. WHen you unlock the cdrom door as root you can unlock it even if a file system is mounted - To unsubscribe from

Re: change_mtu boundary checking error

2001-04-18 Thread Alan Cox
But Ethernet is not only for IP, what about other protocols ? For 2.4 the checks were moved into the protocol layers. Any remaining check in the driver layer for 68 would be a bug. For 2.2 its not going to change - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: Linux 2.4.3-ac9

2001-04-18 Thread Alan Cox
2.4.3-ac8 o ACPI updates(Andrew Grover) Patch for ac9 generates a file named linux/acpi-20010413.diff. It partially applies, some hunks failed and some offset. Is this rest of your work ? Oops my screwup. I applied it, it wouldnt build. I removed it

Re: I can eject a mounted CD

2001-04-18 Thread Jens Axboe
On Wed, Apr 18 2001, Alan Cox wrote: rpm -e magicdev Magicdev is not installed. Ok, I'm the only one with this problem, I'll manage to find the bug by myself. vmware and one or two other apps I've also seen do this. WHen you unlock the cdrom door as root you can unlock it even if a

Re: AHA-154X/1535 not recognized any more

2001-04-18 Thread Alan Cox
Load the module with isapnp=1. It defaults to not scanning isapnp boards which strikes me as odd. Let me know if that fixes it if so I think I'll tweak the default This gives me the following message: lunix:/lib/modules/2.4.3# modprobe aha1542 isapnp=1

Re: Kernel 2.5 Workshop RealVideo streams -- next time, please get better audio.

2001-04-18 Thread Eric W. Biederman
Miles Lane [EMAIL PROTECTED] writes: http://www.osdn.com/conferences/kernel/ Thanks to all responsible for getting these captures of the Kernel 2.5 Workshop prosentations put together. There is one major shortcoming of the recordings. Usually, only the comments of the

Re: Problems with Toshiba SD-W2002 DVD-RAM drive (IDE)

2001-04-18 Thread Jens Axboe
On Wed, Apr 18 2001, Jens Axboe wrote: On Tue, Apr 17 2001, Stefan Jaschke wrote: Judging from the thread started Jan 1, 2001, by Andre Hedrick, I thought IDE DVD-RAM just works out of the box and got a Toshiba SD-W2002. Problem: /dev/hdc cannot be read or written to when the drive

Re: Kernel 2.5 Workshop RealVideo streams -- next time, please get better audio.

2001-04-18 Thread Alan Cox
So my question is, what would it take to get some automatic software volume correction going. This looks like it would be the easiest fix of all. Unfortunately its encoded in a proprietary format otherwise it would have been perhaps half an hours work to write an AGC filter for the data.

Re: [PATCH][CFT] ext2 directories in pagecache

2001-04-18 Thread James Lewis Nance
On Thu, Apr 12, 2001 at 12:33:42PM -0400, Alexander Viro wrote: Folks, IMO ext2-dir-patch got to the stable stage. Currently it's against 2.4.4-pre2, but it should apply to anything starting with 2.4.2 or so. Have you had any feedback about this patch? I applied it last night to 2.4.3.

Bug report:ide-scsi

2001-04-18 Thread Julian Gough
I think there is a bug in ide-scsi. Please excuse me if I am wrong. I have found independantly on 2 different machines, with 3 different kernels (including 2.4), that certain conditions cause ide-scsi to lock up irretrievably. Here is one condition which I know to reproduce the error: -When

Re: [PATCH][CFT] ext2 directories in pagecache

2001-04-18 Thread Anton Altaparmakov
At 13:44 18/04/2001, James Lewis Nance wrote: On Thu, Apr 12, 2001 at 12:33:42PM -0400, Alexander Viro wrote: Folks, IMO ext2-dir-patch got to the stable stage. Currently it's against 2.4.4-pre2, but it should apply to anything starting with 2.4.2 or so. Have you had any feedback

Re: [CHECKER] copy_*_user length bugs?

2001-04-18 Thread Russell King
On Wed, Apr 18, 2001 at 12:14:56PM +0100, Chris Evans wrote: To justify this, consider if len were set to minus 2 billion. This will pass the sanity check, and pass the value straight on to copy_to_user. The copy_to_user parameter is unsigned, so this value because approximately +2Gb. For

Re: I can eject a mounted CD

2001-04-18 Thread Giuliano Pochini
vmware and one or two other apps I've also seen do this. WHen you unlock the cdrom door as root you can unlock it even if a file system is mounted Right, so I'll check what eject(1) does. It might eject the disk even if it failed to unmount. Bye. Giuliano Pochini -)|(- Shiny Network

Re: Is there a way to turn file caching off ?

2001-04-18 Thread Bjorn Wesen
A similar phenomenon happens when you simply copy a file - file A is read into the cache and file B is written to the cache, until the memory runs out. Then both start to flush at the same time, creating a horrible performance hit (especially if A and B are on the same disk :) I don't know a

Re: I can eject a mounted CD

2001-04-18 Thread Jens Axboe
On Wed, Apr 18 2001, Giuliano Pochini wrote: vmware and one or two other apps I've also seen do this. WHen you unlock the cdrom door as root you can unlock it even if a file system is mounted Right, so I'll check what eject(1) does. It might eject the disk even if it failed to unmount.

Re: [NEED TESTERS] remove swapin_readahead Re: shmem_getpage_locked() / swapin_readahead() race in 2.4.4-pre3

2001-04-18 Thread Christoph Rohland
Hi Stephen, On Tue, 17 Apr 2001, Stephen C. Tweedie wrote: I don't see the problem. shmem_getpage_locked appears to back off correctly if it encounters a swap-cached page already existing if swapin_readahead has installed the page first, at least with the code in 2.4.3-ac5. But the swap

Re: [PATCH][CFT] ext2 directories in pagecache

2001-04-18 Thread Alexander Viro
On Wed, 18 Apr 2001, James Lewis Nance wrote: On Thu, Apr 12, 2001 at 12:33:42PM -0400, Alexander Viro wrote: Folks, IMO ext2-dir-patch got to the stable stage. Currently it's against 2.4.4-pre2, but it should apply to anything starting with 2.4.2 or so. Have you had any feedback

Re: Supplying missing entries for Configure.help, part 4

2001-04-18 Thread Alan Cox
+Support for Cobalt Micro Server +CONFIG_COBALT_MICRO_SERVER + Support for ARM-based Cobalt boxes (they have been bought by Sun and + are now the "Server Appliance Business Unit") including the 2700 series Aren't those machines MIPS based? They are mips based and support for them was

Re: [CHECKER] copy_*_user length bugs?

2001-04-18 Thread Chris Evans
On Wed, 18 Apr 2001, Russell King wrote: Now, providing the malicious user passes a low user space pointer (e.g. just above 0), the kernel's virtual address space wrap check will not trigger because ~0 + ~2Gb does not exceed 4G. And the result is the user being able to read kernel

Re: I can eject a mounted CD

2001-04-18 Thread Jeremy Jackson
Giuliano Pochini wrote: That's not the point. The kernel should not allow someone to eject a mounted media. rpm -e magicdev Magicdev is not installed. Ok, I'm the only one with this problem, I'll manage to find the bug by myself. eject(1) line 36: If the device is

[PATCH] IBM ServeRAID driver version 4.71 update

2001-04-18 Thread Pim Zandbergen
In the just-released Red Hat 7.1 source disk, the file kernel-2.4.2-2.src.rpm contains linux-2.4.2-ips-471.patch. This looks like the official update to kernel 2.4.X for the IBM ServeRAID driver. I have not seen this patch published elsewhere. Could we have this patch merged into the standard

zSeries

2001-04-18 Thread Frank Fiene
Hi. Who can tell me, how is the performance of the big irons (zSeries) from IBM comparing a pc server with linux? Regards. Frank. -- Frank Fiene, SYNTAGS GmbH, Im Defdahl 5-10, D-44141 Dortmund, Germany Security, Cryptography, Networks, Software Development http://www.syntags.de mailto:[EMAIL

RE: IP Acounting Idea for 2.5

2001-04-18 Thread Michael Clark
I repeat myself, fighting is apparently so pleasant that you are stuck on fighting over dead-end technology: I seriously suggest that for the primary (subject given) topic you are SERIOUSLY OFF TARGET. Look around, counting hits on some fw rules is waste of time! (And mightly

Re: zSeries

2001-04-18 Thread Malcolm Beattie
Frank Fiene writes: Who can tell me, how is the performance of the big irons (zSeries) from IBM comparing a pc server with linux? Different. Very, very different. Elaborate on what problem you're trying to solve and then there'll be more chance of comparing platforms. --Malcolm -- Malcolm

Re: VFS problem

2001-04-18 Thread Chris Mason
On Wednesday, April 18, 2001 01:44:04 PM +0200 Jaquemet Loic [EMAIL PROTECTED] wrote: Jaquemet Loic a crit : Sorry if this problem has already been disscussed. I run an linux box with a HD 30Go/reiserfs . I tried several 2.4 kernel ( 2.4.2 , 2.4.3 , 2.4.4-pre3 , 2.4.3-ac7) After a

Re: CML2 1.1.5, more comments

2001-04-18 Thread Eric S. Raymond
Anton Altaparmakov [EMAIL PROTECTED]: A few comments on cml2 1.1.5 running on my Pentium 133S (make menuconfig, fastmode): - Instantaneous moving up/down! Excellent! A consequence of getting the incremental-refresh logic right. - Thanks for dark blue! The cyan was barely readable. Now

Re: Supplying missing entries for Configure.help, part 4

2001-04-18 Thread Eric S. Raymond
Alan Cox [EMAIL PROTECTED]: They are mips based and support for them was also removed from the kernel so the entry doesnt want to go in. I'd rather have missing than wrong entries I'll post a 5th patch of corrections shortly. -- a href="http://www.tuxedo.org/~esr/"Eric S.

Re: Supplying missing entries for Configure.help, part 3

2001-04-18 Thread Eric S. Raymond
Peter Kjellerstedt [EMAIL PROTECTED]: Would it not be better to teach your URL extractor (as I guess that is the reason for this patch) what a URL followed by a period and a space looks like. Even though they are legal URLs, I think we can safely assume the writer intended the period to end

Supplying missing entries for Configure.help -- corrections

2001-04-18 Thread Eric S. Raymond
Some minor corrections to my Configure.help patches, as suggested by lkml regulars. Should be applied on top of my patches 1-4. --- Configure.help 2001/04/18 05:27:07 1.5 +++ Configure.help 2001/04/18 13:21:24 @@ -96,7 +96,7 @@ Prompt for drivers for obsolete features and

schedule() seems to have changed.

2001-04-18 Thread Richard B. Johnson
It seems that the nature of schedule() has changed in recent kernels. I am trying to update my drivers to correspond to the latest changes. Here is an example: This waits for some hardware (interrupt sets flag), time-out in one second. This is in an ioctl(), i.e., user context:

Re: VFS problem

2001-04-18 Thread Jaquemet Loic
Chris Mason a crit : On Wednesday, April 18, 2001 01:44:04 PM +0200 Jaquemet Loic [EMAIL PROTECTED] wrote: Jaquemet Loic a crit : Sorry if this problem has already been disscussed. I run an linux box with a HD 30Go/reiserfs . I tried several 2.4 kernel ( 2.4.2 , 2.4.3 , 2.4.4-pre3 ,

Re: IP Acounting Idea for 2.5

2001-04-18 Thread Jonathan Lundell
At 10:16 AM +0200 2001-04-18, Kenneth Johansson wrote: Alan Cox wrote: Fix your userspace applications to behave correctly. If _you_ require your userspace applications to not clear counters, then fix the application. You are confused. What would you say if a close() by another,

Re: [PATCH] IBM ServeRAID driver version 4.71 update

2001-04-18 Thread Alan Cox
contains linux-2.4.2-ips-471.patch. This looks like the official update to kernel 2.4.X for the IBM ServeRAID driver. I have not seen this patch published elsewhere. Could we have this patch merged into the standard kernel, please? I've asked them to clean up a few things. - To

Re: a quest for a better scheduler

2001-04-18 Thread Yoav Etsion
I don't want to open any old wounds, but I just got a summary from a colleague of mine, Dan Tsafrir, who measured the context switch overhead on Linux with multiple processes. You can find the document at: http://www.cs.huji.ac.il/~dants/linux-2.2.18-context-switch.ps The measurements were

[SCRIPT] Get potential __init functions from the kernel image

2001-04-18 Thread Matthias Hanisch
Hi! I got bored over Easter and wrote this little script to get all users of a function using objdump on a vmlinux image. "users" are functions that do ordinary calls to that function, EXPORT_SYMBOL declarations, functions which get called by initcall and setup functions. Moreover a special

Re: [CHECKER] copy_*_user length bugs?

2001-04-18 Thread Andreas Schwab
Chris Evans [EMAIL PROTECTED] writes: | To justify this, consider if len were set to minus 2 billion. This will | pass the sanity check, and pass the value straight on to copy_to_user. The | copy_to_user parameter is unsigned, so this value because approximately | +2Gb. | | Now, providing the

[PATCH] IP forwarded checksum, kernel 2.2.18-19

2001-04-18 Thread Martin Gadbois
Hi there! I realized that some tests were failing due to dropped IP packets. I traced and discovered the following: Begin patch # This caused some "holes" in forwarded transfers, that is checksum was bad # on some occasions -MG diff -ur original/include/net/ip.h

Re: AHA-154X/1535 not recognized any more

2001-04-18 Thread Markus Schaber
Hello, On Wed, 18 Apr 2001, Alan Cox wrote: Ok if you use the old style usermode isapnp tools to configure it and then force aha1542 to use the right io, irq to find it does it then work ? Well, as this device is already configured by the bios, I just tried to load it giving the right IO

RE: Let init know user wants to shutdown

2001-04-18 Thread Simon Richter
On Tue, 17 Apr 2001, Grover, Andrew wrote: We are going to need some software that handles button events, as well as thermal events, battery events, polling the battery, AC adapter status changes, sleeping the system, and more. Yes, that will be a separate daemon that will also get the

[PATCH] Updated Olympic Driver

2001-04-18 Thread Mike Phillips
Here is the patch for the latest olympic driver. This updates the driver to use the netdev api, pci dma, alloc_trdev friends, fixes cardbus ejection, adds support for the zSeries and changes network_monitor from a compile time option to a module parameter. The patch is against 2.4.3 clean,

2.4.3 - Kernel panic

2001-04-18 Thread Aleksey I Zavilohin
Oops catced from screen on paper 8-) ksymoops 2.3.7 on i686 2.4.3. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.4.3/ (default) -m /boot/System.map-2.4.3 (default) Warning: You did not tell me where to find symbol

Re: AHA-154X/1535 not recognized any more

2001-04-18 Thread Rafael E. Herrera
Markus Schaber wrote: Hello, On Wed, 18 Apr 2001, Alan Cox wrote: Ok if you use the old style usermode isapnp tools to configure it and then force aha1542 to use the right io, irq to find it does it then work ? Well, as this device is already configured by the bios, I just tried

SMP in 2.4

2001-04-18 Thread Dennis
Does 2.4 have something similar to spl levels or does it still require the ridiculous MS-DOSish spin-locks to protect every bit of code? DB - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

tcp / ip stack and ip forwarding questions

2001-04-18 Thread Miri Groentman
Hi I’m a newbe to Linux kernel, and I’m trying to understand some networking issues in kernel 2.4. I will highly appreciate it if anyone could refer me to networking documentation in general, and tcp / ip stack documentation in particular. I’ve been reading tcp/ip illustrated (vol. II), but it

Re: [PATCH] Updated Olympic Driver

2001-04-18 Thread Jeff Garzik
Mike Phillips wrote: hey Mike :) diff -urN --exclude-from=dontdiff linux-2.4.3.clean/drivers/net/Space.c linux-2.4.3.olympic/drivers/net/Space.c --- linux-2.4.3.clean/drivers/net/Space.c Tue Feb 13 16:15:05 2001 +++ linux-2.4.3.olympic/drivers/net/Space.c Sun Apr 1 19:22:08 2001

Re: AHA-154X/1535 not recognized any more

2001-04-18 Thread Alan Cox
Well, as this device is already configured by the bios, I just tried to load it giving the right IO port, and got the following message: The kernel PnP will deconfigure it Board 1 has Identity 08 0f 6d b9 45 42 15 90 04: ADP1542 Serial No 258849093 [checksum 08] pnptext:60 -- Fatal - IO

[PATCH] pci enable nm256 audio

2001-04-18 Thread Marcus Meissner
Hi Alan, linux-kernel, Some of our customer reported a hang when modprobing nm256_audio, this patch should fix the problem. Ciao, Marcus Index: nm256_audio.c === RCS file:

[PATCH] toshoboe pci enable

2001-04-18 Thread Marcus Meissner
Hi, Enable PCI for toshoboe IRDA adapters. Ciao, Marcus Index: drivers/net/irda/toshoboe.c === RCS file: /build/mm/work/repository/linux-mm/drivers/net/irda/toshoboe.c,v retrieving revision 1.12 diff -u -r1.12 toshoboe.c ---

Re: SMP in 2.4

2001-04-18 Thread Mark Hahn
Dennis is like a pie in the face: messy, unexpected, but trivial. On Wed, 18 Apr 2001, Dennis wrote: Does 2.4 have something similar to spl levels or does it still require the ridiculous MS-DOSish spin-locks to protect every bit of code? - To unsubscribe from this list: send the line

Re: schedule() seems to have changed.

2001-04-18 Thread george anzinger
"Richard B. Johnson" wrote: It seems that the nature of schedule() has changed in recent kernels. I am trying to update my drivers to correspond to the latest changes. Here is an example: This waits for some hardware (interrupt sets flag), time-out in one second. This is in an ioctl(),

[PATCH] misplaced pci_enable_device()s in drivers/sound/

2001-04-18 Thread Marcus Meissner
Hi, Several pci_enable_device()s in drivers/sound happen _after_ accessing PCI resources. I have moved them before the relevant first accesses. (Untested, but should work.) Against 2.4.3-ac9. Ciao, Marcus Index: es1370.c ===

Re: [PATCH] proc_lookup not exported

2001-04-18 Thread Jeff Golds
Alexander Viro wrote: On Tue, 17 Apr 2001, Jeff Golds wrote: Hi folks. I noticed that proc_lookup is not exported in fs/proc/procfs_syms.c but that the function is an external in include/linux/proc_fs.h. Not every public function needs to be exported. proc_lookup() is shared

Re: [PATCH] Updated Olympic Driver

2001-04-18 Thread mike_phillips
Jeff, Thanks for the comments. This patch has been hanging too long already, the drivers should be updated as given and I'll work up all the fixes and another patch. + sisr=readl(olympic_mmio+SISR_RR) ; /* Read Reset sisr */ you should also check for 0x, which will happen

patch: llseek for raw devices

2001-04-18 Thread k . lichtenwalder
Hi, this is my try for implementing the llseek operation on raw devices. The reason is that lseek does a check on the limits of the undlying filesystem and thus tends to err where the real device lies. Lseek check takes the /dev/raw/rawX filesystem as limiting factor, not the device that is bound

Re: Fix for Donald Becker's DP83815 network driver (v1.07)

2001-04-18 Thread Tim Hockin
use vanilla 2.4.x, you can simply copy drivers/net/starfire.c from the -ac tree. I can't use 2.4 kernels ATM because they don't boot (at all) on Cobalt hardware for some reason - when I've got chance I'll look into it and try and fix the 2.4 kernels so they work on Cobalt kit, but ATM

Re: schedule() seems to have changed.

2001-04-18 Thread Richard B. Johnson
On Wed, 18 Apr 2001, george anzinger wrote: "Richard B. Johnson" wrote: It seems that the nature of schedule() has changed in recent kernels. I am trying to update my drivers to correspond to the latest changes. Here is an example: This waits for some hardware (interrupt sets

Re: [PATCH] misplaced pci_enable_device()s in drivers/sound/

2001-04-18 Thread Jeff Garzik
Marcus Meissner wrote: Several pci_enable_device()s in drivers/sound happen _after_ accessing PCI resources. I have moved them before the relevant first accesses. cool if (!RSRCISIOREGION(pcidev, 0)) return -1; can you replace this mess while you are cleaning stuff

Re: SMP in 2.4

2001-04-18 Thread Richard B. Johnson
On Wed, 18 Apr 2001, Dennis wrote: Does 2.4 have something similar to spl levels or does it still require the ridiculous MS-DOSish spin-locks to protect every bit of code? DB This must be a Troll. MS-DOS didn't have spin-locks and, when you have multiple CPUs with one interrupt

Re: i386 cleanups

2001-04-18 Thread Linus Torvalds
On Tue, 17 Apr 2001, Pavel Machek wrote: These are tiny cleanups you might like. sizes are "logically" long. No. Sizes are not "logical". They are whatever you decide they are, ie it's purely a complier convention. At least earlier, size_t was defined as "unsigned int" in user mode, and

Re: light weight user level semaphores

2001-04-18 Thread Linus Torvalds
[ Cc'd to linux-kernel, to get feedback etc. I've already talked this over with some people a long time ago, but more people might get interested ] On Tue, 17 Apr 2001, Mike Kravetz wrote: In the near future, I should have some time to begin working on a prototype implementation. One

Re: Linux 2.4.3-ac7

2001-04-18 Thread Martin Hamilton
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Content-Type: text/plain; charset=us-ascii "Grover, Andrew" writes: | (BTW, read the ACPI 2.0 spec - it's a lot better) I'm getting there... perhaps tomorrow :-)) | ACPI is meant to abstract the OS from all the "magic numbers". It's very |

Re: [PATCH] misplaced pci_enable_device()s in drivers/sound/

2001-04-18 Thread Marcus Meissner
On Wed, Apr 18, 2001 at 12:55:50PM -0400, Jeff Garzik wrote: Marcus Meissner wrote: Several pci_enable_device()s in drivers/sound happen _after_ accessing PCI resources. I have moved them before the relevant first accesses. cool if (!RSRCISIOREGION(pcidev, 0))

Updated Scheduler Policies + FSS demo

2001-04-18 Thread Scott Rhine
http://resourcemanagement.unixsolutions.hp.com/WaRM/schedpolicy.html March Update to Plug-In Scheduler Policies project: Both a new patch to the base kernels and deltas to previous downloads are provided. If you download new utilities be sure to download the new kernel, or libpset calls may not

2.4.3-ac4: Problem accessing SCSI CDROM, ok with IDE

2001-04-18 Thread Raphael Manfredi
I have trouble accessing a CD-ROM via my SCSI Plextor CD, connected to a Tekram DC390 (AM53C974 driver). When I try to mount it, I get this error: mount: wrong fs type, bad option, bad superblock on /dev/scd0, or too many mounted file systems and in the logs:

  1   2   3   4   5   >