re: XOR [ was: Linux stifles innovation... ]

2001-02-17 Thread Jonathan Morton
You know XOR is patented (yes, the logical bit operation XOR). But wasn't that Xerox that had that? US Patent #4,197,590 held by NuGraphics, Inc. The patent was for using the technique of using XOR for dragging/moving parts of a graphics image without erasing other parts.

Re: 2.4.1-ac16 - Loopback device seems broken

2001-02-17 Thread Ville Herva
On Sat, Feb 17, 2001 at 08:25:58AM -, you [Ole Andr Vadla Ravns ] claimed: I don't know if this is broken in 2.4.1-ac17 and 2.4.2-pre4, but, what happens when mounting a filesystem

Re: Samba performance / zero-copy network I/O

2001-02-17 Thread Anton Blanchard
Hmm. Yeah, I think that may be one of the problems (Intel's card isn't supported afaik; if I have to I'll switch to 3com, or hopelessly try to implement support). I'm looking for a patch to implement sendfile in Samba, as Alan suggested. That seems like a good first step. As Alan said,

3ware 6400 ATA-RAID bugs

2001-02-17 Thread Dan Hollis
Kernel 2.4.1-ac15, 3ware driver. 512mb ram, amd thunderbird 1000, 3ware escalade 6400 with 2 x 45gb IBM in raid5 mode. 'iozone 512 16384' is a guaranteed, repeatable way to totally kill this machine. The kernel starts spitting out a zillion of "Warning - running *really* short on DMA buffers"

Asus CUV4X-D mobo

2001-02-17 Thread David D.W. Downey
Well, once again, VIA chipsets cause havok. The Asus CUV4X-D VIA694XDP/VT82C686B chipset. The southbridge (686b) could NOT see it's way clear to understand what my hard drives' geometry was. Kept getting LI every single reboot. Put the drives back on the Promise PDC20267 ATA100 controller and

Re: Whats the rvmalloc() story?

2001-02-17 Thread Rick Richardson
On Sat, Feb 17, 2001 at 06:46:34PM +1100, Anton Blanchard wrote: I note that at least 5 device drivers have similar implementations of rvmalloc()/rvfree() et al: ieee1394/video1394.c usb/ibmcam.c usb/ov511.c media/video/bttv-driver.c media/video/cpia.c

Re: Whats the rvmalloc() story?

2001-02-17 Thread Anton Blanchard
If you are offering to do this work now, here is a thread worth reading which includes a patch to start from... http://www.uwsg.iu.edu/hypermail/linux/kernel/0002.1/0586.html BTW, Alan Cox sent me the following additional information in a private email. Might as well get this in

had: lost interrupt...

2001-02-17 Thread Fons Rademakers
Hi, in my laptop (HP 4150B) I upgraded from a 12GB IBM Travelstar to an 20GB IBM Travelstar (both 4200rpm). After the upgrade I moved also to 2.4.2-pre3 and reiserfs. However, the problem I now have is that after resume I get the message "hda: lost interrupt" and the only thing to do is to

2.4.1ac17 hang on mounting loopback fs

2001-02-17 Thread Nate Eldredge
This one should be easy to track down, it's reproducible (2 for 2 so far). Kernel 2.4.1ac17 compiled by gcc 2.95.2. Scenario: In single-user mode; only user process running is /bin/bash (pid 1). Only fs'es mounted are / (ro), /spare (rw) (both ext2), /proc. # mount -t ext2 -o loop

Re: IBM-DTLA-307045 very slow under 2.2.x

2001-02-17 Thread Matthias Andree
On Sat, 17 Feb 2001, Neil Booth wrote: I have a SOYO "SY-5EMA+ Super 7" motherboard, with a K6-2 processor. The 45 Gig IBM drive hangs the BIOS if I let it autodetect it, so I turn off autodetection for IDE2 primary where it sits. This is probably not relevant. Not really. IBM has software

Re: Can 2.2 Linux boot from an IDE ZIP?

2001-02-17 Thread Sven Vermeulen
On Fri, 16 Feb 2001, Dennis wrote: Can 2.2.x linux made to boot from an ide zip drive? If so, what is required? There is a (rather old, but sufficient) mini-HOWTO about this. I use it to create a Linux-From-Scratch with RPMs. The url is:

Re: Can 2.2 Linux boot from an IDE ZIP?

2001-02-17 Thread Sven Vermeulen
On Fri, 16 Feb 2001, Dennis wrote: Can 2.2.x linux made to boot from an ide zip drive? If so, what is required? Oops, sorry, wrong URL (damned): http://www.linuxdoc.org/HOWTO/mini/Install-From-ZIP.html Found it with google ("zip install linux mini"). Just to make sure that, if it's

[PATCH] a more efficient BUG() macro

2001-02-17 Thread Paul Gortmaker
I was poking around in a vmlinux the other day and was surprised at the amount of repetitive crap text that was in there. For example, try: strings vmlinux|grep $PWD|wc -c which gets some 70KB in my case - depends on strlen($PWD) obviously. The culprit is BUG() in a static inline that is in

Flushing buffer and page cache

2001-02-17 Thread Florian Weimer
Is it possible to flush all entries in the buffer cache corresponding to a single block device (i.e. simply drop them if they aren't dirty, or write them to disk and drop them after this if they are dirty)? I've got another device in my SCSI chain which writes to the disk, and if the caches are

Subscription Problems

2001-02-17 Thread huma
Sorry for posting this message to the list, but i don't know what's happenning. Since two weeks ago i haven't recieved any mail from the list. I tried to resubscribe again, but i received no response, so i have to use web archives to access the list. Anybody know what the problem is? David

Re: too long mac address for --mac-source netfilter option

2001-02-17 Thread Stefan Smietanowski
Hi! I am trying to use the --mac-source option in the netfilter code to better refine access to my linux box. However, I have run up against something. The router through which my private subnet work box passes sends a 14-group "invalid" mac address, presumably as an attempt to conceal the

Re: Is this the ultimate stack-smash fix?

2001-02-17 Thread Florian Weimer
[EMAIL PROTECTED] (Eric W. Biederman) writes: There is another much more effective solution in the works. The C standard allows bounds checking of arrays. The C standard does not allow reliable bounds checking on {signed, unsigned, vanilla} char arrays, because the corresponding pointers can

Re: query about sending udp packets in kernel mode

2001-02-17 Thread Olaf Titz
sock_creat(PF_INET, SOCK_DGRAM, IPPROTO_UDP, sock); sin.sin_family = AF_INET; sin.sin_port = htons((unsigned short)serv_port); sin.sin_addr.s_addr = htonl(INADDR_ANY); /*i am not sure about this*/ Needs the target IP address here. msg.msg_name = sin; msg.msglen = sizeof(struct

Re: [PATCH] a more efficient BUG() macro

2001-02-17 Thread Manfred Spraul
Paul Gortmaker wrote: Anyway this small patch makes sure there is only one "kernel BUG..." string, and dumps __FILE__ in favour of an address value since System.map data is needed to make full use of the BUG() dump anyways. The memory stats of two otherwise identical kernels: Shouldn't

More on IO-APIC trouble

2001-02-17 Thread Igor Yanover
Recently I came across two more things, that are possibly related to IO-APIC problems: 1)http://xfree86.org/pipermail/xpert/2001January/004751.html Someone with SMP that has problem with interrupt delivery (stuck interrupt). Only in SMP mode and this is not NE2000 related.

SMP: bind process to cpu

2001-02-17 Thread Thomas Widmann
Hi, I run an 3*XEON 550MHz Primergy with 2GB of RAM. On this machine, i have compiled kernel 2.4.0SMP. Is it possible to bind a process to a specific cpu on this SMP machine (process affinity) ? I there something like pset ? Thanks in advance Regards Widmann Thomas Siemens AG - Munich - To

Re: [PATCH] a more efficient BUG() macro

2001-02-17 Thread Pauline Middelink
On Sat, 17 Feb 2001 around 13:26:52 +0100, Manfred Spraul wrote: Paul Gortmaker wrote: Anyway this small patch makes sure there is only one "kernel BUG..." string, and dumps __FILE__ in favour of an address value since System.map data is needed to make full use of the BUG() dump

Re: Linux stifles innovation...

2001-02-17 Thread Henning P. Schmiedehausen
[EMAIL PROTECTED] (Mike A. Harris) writes: On Fri, 16 Feb 2001, Dennis wrote: The biggest thing that the linux community does to stifle innovation is to bash commercial vendors trying to make a profit by whining endlessly about "sourceless" distributions and recommending "open-source" solutions

[LONG RANT] Re: Linux stifles innovation...

2001-02-17 Thread Henning P. Schmiedehausen
[EMAIL PROTECTED] (Alan Cox) writes: For example, if there were six different companies that marketed ethernet drivers for the eepro100, you'd have a choice of which one to buy..perhaps with different "features" that were of value to you. Instead, you have crappy GPL code that locks up

Re: Linux stifles innovation...

2001-02-17 Thread Henning P. Schmiedehausen
[EMAIL PROTECTED] (Augustin Vidovic) writes: 1- GPL code is the opposite of crap No. A license doesn't automatically make good code. Regards Henning -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen -- Geschaeftsfuehrer INTERMETA - Gesellschaft fuer

Re: Linux stifles innovation...

2001-02-17 Thread Henning P. Schmiedehausen
[EMAIL PROTECTED] (Michael H. Warfield) writes: But wasn't that Xerox that had that? Yeah, the same ones that screwed us over with the compression patent that shot .gif images out of the sky. There was inovation for you. Wrong company. You may want to check your facts before bashing.

Re: Linux stifles innovation...

2001-02-17 Thread Roeland Th. Jansen
On Sat, Feb 17, 2001 at 12:46:30PM +, Henning P. Schmiedehausen wrote: 1- GPL code is the opposite of crap No. A license doesn't automatically make good code. true but at least with GPL, people can work on crap GPL code and make it good. that's an option you don't have with closed

re: XOR [ was: Linux stifles innovation... ]

2001-02-17 Thread David Relson
At 09:32 PM 2/16/01, Dan Hollis wrote: On Fri, 16 Feb 2001, David Relson wrote: At 08:52 PM 2/16/01, you wrote: On Fri, 16 Feb 2001, Michael H. Warfield wrote: You know XOR is patented (yes, the logical bit operation XOR). But wasn't that Xerox that had that? US Patent

Re: [LONG RANT] Re: Linux stifles innovation...

2001-02-17 Thread Russell King
*** Please drop me from the CC: and To: lists before replying to this. *** I do read linux-kernel, so there is no need to send me two copies *** of your replies. Henning P. Schmiedehausen writes: But at least I would be happy if there would be a printing engine that is entirely open source and

Re: LILO and serial speeds over 9600

2001-02-17 Thread Pavel Machek
Hi! I might just decide to do the kernel as well. Hmmm... this sounds like it's turning into a group effort. Would you (or someone else) like to set up a sourceforge project for this? I would prefer not to have to deal with that end myself. OK, I've filled in the paperwork - we

Re: LILO and serial speeds over 9600

2001-02-17 Thread Pavel Machek
Hi! This is true, but one thing I'd really like to have is controlled buffer overrun, which TCP *doesn't* have. I really think an ad hoc UDP protocol (I've already begun sketching on the details) is more appropriate in this particular case. Explain 'controlled buffer overrun'.

Re: SMP: bind process to cpu

2001-02-17 Thread Christoph Hellwig
In article [EMAIL PROTECTED] you wrote: Hi, I run an 3*XEON 550MHz Primergy with 2GB of RAM. On this machine, i have compiled kernel 2.4.0SMP. Is it possible to bind a process to a specific cpu on this SMP machine (process affinity) ? Linux 2.4 is mostlu ready for process affinity, but it

[Oops] : 2.4.2-pre4 (and others) lp / zip, parallel port problems

2001-02-17 Thread f5ibh
Hi ! I've a parallel zip drive and an epson printer on the parallel port, the printer is connected to the zip drive in daisy chain. All is modularised. There are problems with this configuration with all the kernels : 1.2.18, 2.2.19-pre13, 2.4.2-pre4 and 2.4.1-ac15 The behaviour is different

Re: [PATCH] a more efficient BUG() macro

2001-02-17 Thread Hugh Dickins
On Sat, 17 Feb 2001, Paul Gortmaker wrote: I was poking around in a vmlinux the other day and was surprised at the amount of repetitive crap text that was in there. For example, try: strings vmlinux|grep $PWD|wc -c which gets some 70KB in my case - depends on strlen($PWD) obviously.

Re: SMP: bind process to cpu

2001-02-17 Thread Manfred Spraul
Christoph Hellwig wrote: In article [EMAIL PROTECTED] you wrote: Hi, I run an 3*XEON 550MHz Primergy with 2GB of RAM. On this machine, i have compiled kernel 2.4.0SMP. Is it possible to bind a process to a specific cpu on this SMP machine (process affinity) ? Linux 2.4 is

Re: [PATCH] a more efficient BUG() macro

2001-02-17 Thread J . A . Magallon
On 02.17 Hugh Dickins wrote: On Sat, 17 Feb 2001, Paul Gortmaker wrote: I was poking around in a vmlinux the other day and was surprised at the amount of repetitive crap text that was in there. For example, try: strings vmlinux|grep $PWD|wc -c If you try strings vmlinux|grep /usr

Re: SMP: bind process to cpu

2001-02-17 Thread Andrew Morton
Thomas Widmann wrote: Hi, I run an 3*XEON 550MHz Primergy with 2GB of RAM. On this machine, i have compiled kernel 2.4.0SMP. Is it possible to bind a process to a specific cpu on this SMP machine (process affinity) ? I there something like pset ? A patch which creates

Re: Is this the ultimate stack-smash fix?

2001-02-17 Thread Peter Samuelson
[Manfred Spraul] Unless you modify the ABI and pass the array bounds around you won't catch such problems, [Eric W. Biederman] Of course. But this is linux and you have the source. And I did mention you needed to recompile the libraries your trusted applications depended on. So by

Re: [PATCH] a more efficient BUG() macro

2001-02-17 Thread J . A . Magallon
On 02.17 J . A . Magallon wrote: #if 1 extern void *__io_virt_debug(unsigned long x, const char *file, int line); extern unsigned long __io_phys_debug(unsigned long x, const char *file, int li ne); #define __io_virt(x) __io_virt_debug((unsigned long)(x), __FILE__, __LINE__)

[OT]Re: Linux stifles innovation...

2001-02-17 Thread Gregory Maxwell
On Fri, Feb 16, 2001 at 11:20:54PM -0800, Mike Pontillo wrote: [snip] Assuming I am a corporate entity and I need to spend a few bucks to fix a GPL driver, just because I fix it and deploy my fix on my corporation's internal network machines -- and quite possibly benefit the hell out of

Re: Flushing buffer and page cache

2001-02-17 Thread James Bottomley
Is it possible to flush all entries in the buffer cache corresponding to a single block device (i.e. simply drop them if they aren't dirty, or write them to disk and drop them after this if they are dirty)? Yes, just send the BLKFLSBUF ioctl to the device this syncs the device then removes

reiserfs on 2.4.1,2.4.2-pre (with null bytes patch) breaks mozilla compile

2001-02-17 Thread Frank de Lange
Hi'all, Well, subject says it all... When I try to compile mozilla (CVS version) with the '--enable-elf-dynstr-gc' option, the compile fails with a segfault: ../../dist/bin/elf-dynstr-gc ../../dist/lib/components/libsample.so make[2]: *** [install] Segmentation fault (core dumped) compiling

Re: [PATCH] a more efficient BUG() macro

2001-02-17 Thread J . A . Magallon
On 02.17 Paul Gortmaker wrote: I was poking around in a vmlinux the other day and was surprised at the amount of repetitive crap text that was in there. For example, try: strings vmlinux|grep $PWD|wc -c which gets some 70KB in my case - depends on strlen($PWD) obviously. The culprit

Re: Linux stifles innovation...

2001-02-17 Thread Francois Romieu
Alan Cox [EMAIL PROTECTED] crit : [...] For example, if there were six different companies that marketed ethernet drivers for the eepro100, you'd have a choice of which one to buy..perhaps with different "features" that were of value to you. Instead, you have crappy GPL code that locks

Re: LILO and serial speeds over 9600

2001-02-17 Thread Patrick Michael Kane
* Pavel Machek ([EMAIL PROTECTED]) [010217 05:40]: Being able to remotely resed machine with crashed userland would be *very* nice, too... If it provides a true remote console, enable SYSRQ and youi should get this for free. -- Patrick Michael Kane [EMAIL PROTECTED] - To unsubscribe from this

Re: LILO and serial speeds over 9600

2001-02-17 Thread James Sutherland
On Sat, 17 Feb 2001, Patrick Michael Kane wrote: * Pavel Machek ([EMAIL PROTECTED]) [010217 05:40]: Being able to remotely resed machine with crashed userland would be *very* nice, too... If it provides a true remote console, enable SYSRQ and youi should get this for free. Yes, it

Re: Linux stifles innovation...

2001-02-17 Thread Robert Read
On Sat, Feb 17, 2001 at 12:41:57PM +, Henning P. Schmiedehausen wrote: If HP would spent only 5% of their driver writing buget for Windows into Linux driver development, that I would call "a move". Have you seen this: http://hp.sourceforge.net/ I certainly don't know what the

Re: XOR [ was: Linux stifles innovation... ]

2001-02-17 Thread brian
On Fri, 16 Feb 2001, Michael H. Warfield wrote: You know XOR is patented (yes, the logical bit operation XOR). But wasn't that Xerox that had that? US Patent #4,197,590 held by NuGraphics, Inc. On Fri, Feb 16, 2001 at 09:20:34PM -0500, David Relson wrote: The patent was for

Re: SMP: bind process to cpu

2001-02-17 Thread Christoph Hellwig
[Nick, I've added you to the Cc list so you can look at it for future versions of your patch] On Sat, Feb 17, 2001 at 03:13:45PM +0100, Manfred Spraul wrote: You must also update wake_process_synchroneous(), otherwise you can get lost wakeups with pipes. Something like

Re: Flushing buffer and page cache

2001-02-17 Thread Douglas Gilbert
James Bottomley wrote: Is it possible to flush all entries in the buffer cache corresponding to a single block device (i.e. simply drop them if they aren't dirty, or write them to disk and drop them after this if they are dirty)? Yes, just send the BLKFLSBUF ioctl to the device this

Re: Linux stifles innovation...

2001-02-17 Thread Henning P . Schmiedehausen
On Sat, Feb 17, 2001 at 02:58:45PM +0100, Jean Francois Micouleau wrote: On Sat, 17 Feb 2001, Henning P. Schmiedehausen wrote: If IBM, Intel, Compaq, HP, Dell, SGI and other companies would wholeheartedly drop their Windows support in favour of Linux, that I would call "a move". If HP

System V msg queue bugs in latest kernels

2001-02-17 Thread Mark Swanson
Hello, ipcs (msg) gives incorrect results if used-bytes is above 65536. It stays at 65536 even though messages are being read and removed from the msg queue. The sysv msg queue either ignores the /proc/sys/kernel/msgmnb value if it is above 65536 or simply gets it wrong. Proof: I can place more

Re: [LONG RANT] Re: Linux stifles innovation...

2001-02-17 Thread Jonathan Morton
Henning P. Schmiedehausen writes: But at least I would be happy if there would be a printing engine that is entirely open source and all the printer vendors can write a small, closed source stub that drives their printer over parallel port, ethernet or USB and give us all the features, that

Re: Linux stifles innovation...

2001-02-17 Thread Dennis
At 05:20 PM 02/16/2001, Alan Cox wrote: For example, if there were six different companies that marketed ethernet drivers for the eepro100, you'd have a choice of which one to buy..perhaps with different "features" that were of value to you. Instead, you have crappy GPL code that locks up

Re: Linux stifles innovation...

2001-02-17 Thread Dennis
Fortunately despite your best efforts there is now a choice in 2.4 When is that specification for 2.4 drivers going to be available? Talk about "stifling the marketplace"!!! Vendors cant even write reliable drivers if they want to. db - To unsubscribe from this list: send the line

[PATCH] APMD on Linux 2.2.18 and include/linux/mc146818rtc.h

2001-02-17 Thread Marc Esipovich
I've noticed this when attempting to build APMD, mc146818rtc.h has a reference to a spinlock_t while asm/spinlock.h is not included. Patch follows: --- linux-2.2.18.orig/include/linux/mc146818rtc.hFri Jan 12 19:15:00 2001 +++ linux-2.2.18/include/linux/mc146818rtc.h Tue

Re: System V msg queue bugs in latest kernels

2001-02-17 Thread Manfred Spraul
Mark Swanson wrote: Hello, ipcs (msg) gives incorrect results if used-bytes is above 65536. It stays at 65536 even though messages are being read and removed from the msg queue. I'm testing it. Could you check /proc/sysvipc/msg? I know that several API's have 16-bit numbers, perhaps

Re: Linux stifles innovation...

2001-02-17 Thread Mohammad A. Haque
I'm using these drivers just fine on a couple of streaming servers that get hit pretty hard. Dennis wrote: both lock up under load. You dont run a busy ISP i guess. The fact that they come out with a new release every few minutes is clear evidence that it is problematic. --

Re: SMP: bind process to cpu

2001-02-17 Thread Thomas Widmann
Hi, * Andrew Morton wrote: Hi, I run an 3*XEON 550MHz Primergy with 2GB of RAM. On this machine, i have compiled kernel 2.4.0SMP. Is it possible to bind a process to a specific cpu on this SMP machine (process affinity) ? I there something like pset ? A patch which

Re: Linux stifles innovation...

2001-02-17 Thread Dennis
At 05:31 PM 02/16/2001, Dan Hollis wrote: On Fri, 16 Feb 2001, Dennis wrote: The biggest thing that the linux community does to stifle innovation is to bash commercial vendors trying to make a profit by whining endlessly about "sourceless" distributions and recommending "open-source"

Re: [LONG RANT] Re: Linux stifles innovation...

2001-02-17 Thread Jacob Luna Lundberg
Speaking as a Linux _USER_, if this happens, can I get said print engine working on my ARM machines with these closed source drivers? Can Alpha users get this print system working? Can Sparc uses get it working? What? I can't? They can't? Well, its no good to me nor them. You've just

Re: [LONG RANT] Re: Linux stifles innovation...

2001-02-17 Thread Henning P . Schmiedehausen
On Sat, Feb 17, 2001 at 01:37:58PM +, Russell King wrote: Henning P. Schmiedehausen writes: But at least I would be happy if there would be a printing engine that is entirely open source and all the printer vendors can write a small, closed source stub that drives their printer over

Re: Ingo's RAID patch for 2.2.18 final?

2001-02-17 Thread Andrea Arcangeli
On Fri, Feb 16, 2001 at 10:53:51AM -0500, David Mansfield wrote: This may be a bit OT, but when you say O_DIRECT, that implies that you can pass that flag to open(2) and it will bypass the page cache, and yes. read directly into user-space buffers (zero-copy IO)? Does this also yes.

Re: System V msg queue bugs in latest kernels

2001-02-17 Thread Mark Swanson
You are right. /proc/sysvipc/msg is correct. It shows: cbytes: 1048575 qnum: 95325 ipcs shows: used-bytes: 65535 messages: 65535 It's a 16-bit number issue. --- Manfred Spraul [EMAIL PROTECTED] wrote: Mark Swanson wrote: Hello, ipcs (msg) gives incorrect results if used-bytes is

RE: Linux stifles innovation...

2001-02-17 Thread Dennis
At 08:34 PM 02/16/2001, Neal Dias wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It's not about facts, it's not about the truth, it's not about Jim Allchin being an idiot or deluded. It's about propaganda, misinformation, and marketing. It's about business. Nothing new, nor unexpected. And

Re: Linux stifles innovation...

2001-02-17 Thread Francois Romieu
Dennis [EMAIL PROTECTED] crit : [...] When is that specification for 2.4 drivers going to be available? Talk about "stifling the marketplace"!!! Vendors cant even write reliable drivers if they want to. May be said vendors should give a look at l-k between 2.2 and 2.4 instead of spending

Re: System V msg queue bugs in latest kernels

2001-02-17 Thread Mark Swanson
The exact error is in /usr/include/linux/msg.h The three unsigned shorts should be unsigned int instead. Would too many things break if this was changed? Should user-space tools like ipcs be rewritten to use /proc/sysvipc instead? (I notice that my old 2.2.14 kernel doesn't have

re. too long mac address for --mac-source netfilter option

2001-02-17 Thread jbinpg
Jack Bowling wrote - I am trying to use the --mac-source option in the netfilter code to better refine access to my linux box. However, I have run up against something. The router through which my private subnet work box passes sends a 14-group "invalid" mac address, presumably as an

[help] _syscall2 fails with -fPIC

2001-02-17 Thread Mark Swanson
Hello, I am building a -fPIC shared object that will define and access a Linux kernel system call, but _syscall2 fails with -fPIC .so compilation. What can I do? F.E. the statement: _syscall2 (int, tux, unsigned int, action, user_req_t *, req) Gives the following gcc error when

Re: SMP: bind process to cpu

2001-02-17 Thread Francis Galiegue
On Sat, 17 Feb 2001, Thomas Widmann wrote: #cat /proc/1310/cpus_allowed Now, if i want to run this process on only one cpu, i which way do i have to set the bitmask ? Let's say, i want to run it on cpu0. how look's the bitmask ? Wild guess: as this is a bitmask, you must

Re: Linux stifles innovation...

2001-02-17 Thread Dennis
At 07:01 PM 02/16/2001, Alan Olsen wrote: On Fri, 16 Feb 2001, Dennis wrote: There is much truth to the concept, although Microsoft should not be ones to comment on it as such. What truth? I have seen more "innovation" in the Open Source movement than I ever have in my 18+ years of being a

Re: Linux stifles innovation...

2001-02-17 Thread Dennis
At 07:10 PM 02/16/2001, [EMAIL PROTECTED] wrote: Dennis wrote: ... objective, arent we? Nope. Are you claiming to be? For example, if there were six different companies that marketed ethernet drivers for the eepro100, you'd have a choice of which one to buy..perhaps ... Rant deleted I had

Re: Linux stifles innovation...

2001-02-17 Thread Michael Bacarella
On Sat, Feb 17, 2001 at 02:38:29PM -0500, Dennis wrote: It's not about facts, it's not about the truth, it's not about Jim Allchin being an idiot or deluded. It's about propaganda, misinformation, and marketing. It's about business. Nothing new, nor unexpected. And to the comment "It is not

Re: Linux stifles innovation... [way O.T.]

2001-02-17 Thread Dennis
At 05:59 PM 02/16/2001, John Cavan wrote: Dennis wrote: objective, arent we? You might ask yourself the same question... For example, if there were six different companies that marketed ethernet drivers for the eepro100, you'd have a choice of which one to buy..perhaps with different

Re: SMP: bind process to cpu

2001-02-17 Thread Tim Hockin
Is it possible to bind a process to a specific cpu on this SMP machine (process affinity) ? I there something like pset ? http://isunix.it.ilstu.edu/~thockin/pset - pset for linux-2.2 (not ported to 2.4 yet) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: Linux stifles innovation...

2001-02-17 Thread James A. Sutherland
On Sat, 17 Feb 2001, Dennis wrote: At 07:01 PM 02/16/2001, Alan Olsen wrote: On Fri, 16 Feb 2001, Dennis wrote: There is much truth to the concept, although Microsoft should not be ones to comment on it as such. What truth? I have seen more "innovation" in the Open Source movement

Re: System V msg queue bugs in latest kernels

2001-02-17 Thread Manfred Spraul
Manfred Spraul wrote: Mark Swanson wrote: Hello, ipcs (msg) gives incorrect results if used-bytes is above 65536. It stays at 65536 even though messages are being read and removed from the msg queue. Ok, does the value stay at 65536 or 65535? It should stay at 65535 if you use a

Re: Linux stifles innovation...

2001-02-17 Thread James A. Sutherland
On Sat, 17 Feb 2001, Michael Bacarella wrote: On Sat, Feb 17, 2001 at 02:38:29PM -0500, Dennis wrote: It's not about facts, it's not about the truth, it's not about Jim Allchin being an idiot or deluded. It's about propaganda, misinformation, and marketing. It's about business. Nothing

Re: re. too long mac address for --mac-source netfilter option

2001-02-17 Thread Mr. James W. Laferriere
Hello All, On Sat, 17 Feb 2001 [EMAIL PROTECTED] wrote: Stefan Hanse writes - Umm.. An ethernet MAC address is 48bit long, ie AA:BB:CC:DD:EE:FF, 6 groups, not 14. Is this really an ethernet interface? (If it really has 14 groups). Good question. I have determined by scanning my

Re: Linux stifles innovation...

2001-02-17 Thread Alan Olsen
On Sat, 17 Feb 2001, Dennis wrote: At 07:01 PM 02/16/2001, Alan Olsen wrote: On Fri, 16 Feb 2001, Dennis wrote: There is much truth to the concept, although Microsoft should not be ones to comment on it as such. What truth? I have seen more "innovation" in the Open Source movement

Re: Linux stifles innovation...

2001-02-17 Thread Michael H. Warfield
On Sat, Feb 17, 2001 at 03:05:36PM -0500, Dennis wrote: At 07:01 PM 02/16/2001, Alan Olsen wrote: On Fri, 16 Feb 2001, Dennis wrote: There is much truth to the concept, although Microsoft should not be ones to comment on it as such. What truth? I have seen more "innovation" in the

Re: Linux stifles innovation...

2001-02-17 Thread Michael H. Warfield
On Sat, Feb 17, 2001 at 03:08:48PM -0500, Dennis wrote: At 07:10 PM 02/16/2001, [EMAIL PROTECTED] wrote: Dennis wrote: ... objective, arent we? Nope. Are you claiming to be? For example, if there were six different companies that marketed ethernet drivers for the eepro100, you'd

Re: 2.4.1ac17 hang on mounting loopback fs

2001-02-17 Thread Alan Cox
# mount -t ext2 -o loop /spare/i486-linuxaout.img /spare/mnt loop: enabling 8 loop devices Loop does not currently work in 2.4. It might partly work by luck but thats it. This will change as and when the new loop patches go in. Until then if you need loop use 2.2 - To unsubscribe from this

Re: Linux stifles innovation... [way O.T.]

2001-02-17 Thread Michael H. Warfield
On Sat, Feb 17, 2001 at 02:56:15PM -0500, Dennis wrote: At 05:59 PM 02/16/2001, John Cavan wrote: Dennis wrote: objective, arent we? You might ask yourself the same question... For example, if there were six different companies that marketed ethernet drivers for the eepro100, you'd

Re: Is this the ultimate stack-smash fix?

2001-02-17 Thread Alan Cox
need fat pointers, which would make sizeof (long) /= sizeof (void *), which would break quite some software, I think. There are plenty of architectures where sizeof long != sizeof (void *). If your code makes bad assumptions and a bounds checking cc breaks it then its progress. - To

Re: SO_SNDTIMEO: 2.4 kernel bugs

2001-02-17 Thread kuznet
Hello! Unfortunately, it seems to be very buggy. Here are two buggy scenarios. --- ../vger3-010210/linux/net/ipv4/tcp.cSat Feb 10 23:16:51 2001 +++ linux/net/ipv4/tcp.cSat Feb 17 23:27:43 2001 @@ -691,6 +691,8 @@ set_current_state(TASK_INTERRUPTIBLE); +

Re: 2.4.1ac17 hang on mounting loopback fs

2001-02-17 Thread Nate Eldredge
Alan Cox writes: # mount -t ext2 -o loop /spare/i486-linuxaout.img /spare/mnt loop: enabling 8 loop devices Loop does not currently work in 2.4. It might partly work by luck but thats it. This will change as and when the new loop patches go in. Until then if you need loop use 2.2

Re: Linux stifles innovation...

2001-02-17 Thread Gregory Maxwell
On Sat, Feb 17, 2001 at 03:08:48PM -0500, Dennis wrote: good commercial drivers dont need fixing. another point. You are arguing that having source is required to fix crappy code, which i agree with. Too bad we havn't seen much (any?) good closed-source (what you ment to say when you said

Re: Linux stifles innovation...

2001-02-17 Thread Alan Cox
both lock up under load. You dont run a busy ISP i guess. The fact that they come out with a new release every few minutes is clear evidence that it is problematic. I've been technical director of an ISP. I help manage sites that have not insignificant loads and no eepro100 driver problems.

Re: Linux stifles innovation...

2001-02-17 Thread Alan Cox
When is that specification for 2.4 drivers going to be available? Talk about "stifling the marketplace"!!! Vendors cant even write reliable drivers if they want to. Its called the source code, which includes example driver skeletons. WHere is the documentation for writing your own etinc

Re: PROBLEM: virtual console corruption (2.4.1/p4/radeon/XFree864.0.2)

2001-02-17 Thread Ingo Buescher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 14 Feb 2001, David Wood wrote: Everything actually works rather well, with the exception that when I've started XFree86 a few times, coupled with switching virtual consoles, I get irretrievably "corrupted" text virtual consoles. The

Multi-sized MMU page support

2001-02-17 Thread Jeremy Jackson
Greetings, I have been staying up late thinking about this, so I'm writing to clear my head. (and get some sleep in the future) Background: Under ia32 Pentium and higher, 3 different MMU page sizes are available in hardware: 4kB, 4MB 2MB. Under Alpha (21064), sizes include 8kB, 4MB for code,

Re: [PATCH] starfire reads irq before pci_enable_device.

2001-02-17 Thread David S. Miller
Jeff Garzik writes: And in another message, On Mon, 12 Feb 2001, David S. Miller wrote: 3) The acenic/gbit performance anomalies have been cured by reverting the PCI mem_inval tweaks. Just to be clear, acenic should or should not use MWI? And can a general rule be applied

[patch] clean up inconsistent formatting in MAINTAINERS

2001-02-17 Thread john slee
against 2.4.1: this may seem rather frivolous, but... patch below makes all data lines start with the appropriate letter, a colon, then a tab. previously some entries used (varying amounts of) space characters instead of tabs. --- MAINTAINERS.origSun Feb 18 01:48:03 2001 +++ MAINTAINERS

Re: SO_SNDTIMEO: 2.4 kernel bugs

2001-02-17 Thread Chris Evans
Alexey, Damn you are quick! :) Testing immediately Cheers Chris On Sat, 17 Feb 2001 [EMAIL PROTECTED] wrote: Hello! Unfortunately, it seems to be very buggy. Here are two buggy scenarios. --- ../vger3-010210/linux/net/ipv4/tcp.c Sat Feb 10 23:16:51 2001 +++ linux/net/ipv4/tcp.c

Changes to ide-cd for 2.4.1 are broken?

2001-02-17 Thread John Fremlin
Specifically, this part: @@ -2324,11 +2309,17 @@ sense.ascq == 0x04) return CDS_DISC_OK; + + /* +* If not using Mt Fuji extended media tray reports, +* just return TRAY_OPEN since ATAPI doesn't provide +

Re: [LONG RANT] Re: Linux stifles innovation...

2001-02-17 Thread Felix von Leitner
Thus spake Henning P . Schmiedehausen ([EMAIL PROTECTED]): "If a company does not write a driver which works on all hardware platforms in all cases and gives us the source, then it is better, that the company writes no drivers at all." "If I can't force a company to write a driver for

Re: Linux stifles innovation...

2001-02-17 Thread Felix von Leitner
Thus spake Dennis ([EMAIL PROTECTED]): You are confusing "progress" with "innovation". If there is only 1 choice, thats not innovation. Expanding on a bad idea, or even a good one, is not innovation. This is bizarre. Please name one innovation in the history of mankind that could not be

Re: re. too long mac address for --mac-source netfilter option

2001-02-17 Thread jpinpg
James L. wrote - Hello All, On Sat, 17 Feb 2001 [EMAIL PROTECTED] wrote: Stefan Hanse writes - Umm.. An ethernet MAC address is 48bit long, ie AA:BB:CC:DD:EE:FF, 6 groups, not 14. Is this really an ethernet interface? (If it really has 14 groups). Good question. I have determined

Comparing buffer cache algorithms on 2.2.17. Suggestions?

2001-02-17 Thread Fireball Freddy
Howdy, Trying to implement some different buffer caching algorithms in Linux. This is just for comparison purposes for a thesis, not suggesting any problem with the current scheme. Here is what I'm attempting: o Eliminate BUF_CLEAN, BUF_DIRTY, and BUF_LOCKED lists in favor of a single

  1   2   3   >