Re: strange nonmonotonic behavior of gettimeoftheday -- seen similar problem on PPC

2001-03-02 Thread Mike Galbraith
On Fri, 2 Mar 2001, Richard B. Johnson wrote: > Yes and no. It takes microseconds to call the kernel for anything (time > getpid() ), so it seldom loops. All the kernel has to do is remember Hi, c0109286 system_call +<22/40> (0.21) pid(4265) c011c7e7 sys_gettimeofday +<13/a8> (0.27)

RFC: changing precision control setting in initial FPU context

2001-03-02 Thread Kevin Buhr
A question recently came up in "c.o.l.d.s"; actually, it was a comment on Slashdot that had been cross-posted to 15 Usenet groups by some ignoramus. It concerned a snippet of C code that cast a double to int in such a way as to get a different answer under i386 Linux than under the i386 free

Re: OOPS-kernel 2.4.3-pre1

2001-03-02 Thread Alexander Viro
[sorry for sel-followup, but...] > Lovely. sb->s_op == NULL in iget(). The thing being, proc_read_super() > explicitly sets ->s_op to non-NULL. Oh, and that area hadn't changed since > 2.4.2, so I'd rather suspect the b0rken build. Can you reproduce it? More specifically, make sure that you

Re: OOPS-kernel 2.4.3-pre1

2001-03-02 Thread Alexander Viro
On Fri, 2 Mar 2001, TimO wrote: > eax: ebx: ecx: edx: [snip] > >>EIP; c0142a52<= > Trace; c0142ca6 > Trace; c0145f01 > Trace; c014601a > Trace; c01349a4 > Trace; c0134f7a > Trace; c0107007 > Trace; c01074b8 > Code; c0142a52 >

OOPS-kernel 2.4.3-pre1

2001-03-02 Thread TimO
[1] Oops when booting kernel 2.4.3-pre1 [2] Kernel oopses just after starting kswapd [3] [4] Linux nexxus.deenc.com 2.4.3-pre1 #2 Tue Jan 30 12:32:52 MST 2001 i686 unknown Gnu C 2.95.2 Gnu make 3.79 binutils 2.10.1 util-linux 2.10r

Re: 2.4 and 2GB swap partition limit

2001-03-02 Thread William T Wilson
On Fri, 2 Mar 2001 [EMAIL PROTECTED] wrote: > Linus has spoken, and 2.4.x now requires swap = 2x RAM. I think I missed this. What possible value does this have? (Not even Sun, the original purveyors of the 2x RAM rule, need this any more). - To unsubscribe from this list: send the line

Re: TCP window shrinkers

2001-03-02 Thread David
David wrote: > http://stuph.org/tcp-window-shrinkers.txt is a list of 825 systems > that generate this message. Following up.., I scripted an nmap run, it is in html ;) http://stuph.org/tcp-window-shrinkers.nmap.html Format is: IP dns lookup nmap results [OS type]

Re: [Fwd: [LARTC] 1 adsl + 1 sdsl + masq + simultaneous incomming routes]

2001-03-02 Thread David
> > >>> The problem: I am able to have the web server use one or the other dsl, but not >>> both at the same time. >>> >>> If I have web set to sdsl, replies to queries that came from adsl go out on the >>> sdsl link. Also since masq is involved, it also responds with the sdsl ip. >>> >>> How

Re: [Fwd: [LARTC] 1 adsl + 1 sdsl + masq + simultaneous incommingroutes]

2001-03-02 Thread phil
On Fri, 2 Mar 2001, Mike Fedyk wrote: > There has to be a better way. It's the one I use; it works and works well. Asking someone who deals with "network appliance" routers (ie Cisco) might lead to some ideas. But the Cisco folks I asked recommended the solution I told you about. You might

Re: MM docs...

2001-03-02 Thread Zou Min
> Is there any chance that some knowledgeable people could write docs for > the public functions in 2.4's linux/mm directory? I am currently doing some memory-related research. I would be very grateful if someone could write such documents. Btw, may I know some significant differences in terms

Re: strange nonmonotonic behavior of gettimeoftheday -- seen similar problem on PPC

2001-03-02 Thread Doug Siebert
"Richard B. Johnson" wrote: > >I think it's a math problem in the test code. Try this: > [code deleted] > >Note that two subsequent calls to gettimeofday() must not return the >same time even if your CPU runs infinitely fast. I haven't seen any >kernel in the past few years that fails this

Re: [Fwd: [LARTC] 1 adsl + 1 sdsl + masq + simultaneous incomming routes]

2001-03-02 Thread Jeremy Jackson
Mike Fedyk wrote: > [EMAIL PROTECTED] wrote: > > > > On Fri, 2 Mar 2001, Mike Fedyk wrote: > > > > > I have two dsl links, each with one ip, and a single gateway is assigned the ip > > > for each. > > > > > > ____ > > > | ADSL | | SDSL | > > > |__| |__| > > >\ / >

VT82C586B USB PCI card, Linux USB

2001-03-02 Thread Michael Rothwell
I have a USB PCI card, which shows up as this in `lspci`: 00:09.0 USB Controller: VIA Technologies, Inc. VT82C586B USB (rev 04) ... it appears that they tossed the whole southbridge chip onto a pci board, and disabled everything but USB. Anyway, this device seems to be semi-functional under

[Fwd: [LARTC] 1 adsl + 1 sdsl + masq + simultaneous incomming routes]

2001-03-02 Thread Mike Fedyk
[EMAIL PROTECTED] wrote: > > On Fri, 2 Mar 2001, Mike Fedyk wrote: > > > I have two dsl links, each with one ip, and a single gateway is assigned the ip > > for each. > > > > ____ > > | ADSL | | SDSL | > > |__| |__| > >\ / > > \/ > > ___|| > >

Oddity with /proc/sys/net/ipv4/conf/all

2001-03-02 Thread Nate Eldredge
According to Documentation/networking/ip-sysctl.txt: conf/all/* is special and changes the settings for all interfaces. However, I did this: mercury:~# echo 1 >/proc/sys/net/ipv4/conf/all/log_martians mercury:~# cat /proc/sys/net/ipv4/conf/all/log_martians 1 mercury:~# cat

Re: Linux 2.4.2-ac5 IDE Software Raid(ata/100) Problem..Kernel Oops?

2001-03-02 Thread Neil Brown
On Friday March 2, [EMAIL PROTECTED] wrote: > 1. Problem description > 2. Machine details > a) Hardware > b) Software > 3. System log during the incident > > 1. Problem Description: > snip > Mar 2 13:44:38 bertha kernel: Unable to handle kernel NULL pointer > dereference at

TCP window shrinkers

2001-03-02 Thread David
http://stuph.org/tcp-window-shrinkers.txt is a list of 825 systems that generate this message. -d - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: report bug: System reboots when accessing a loop-device over a second loop-device with 2.4.2-ac7

2001-03-02 Thread Jens Axboe
On Fri, Mar 02 2001, Mario Hermann wrote: > But with old 2.2 - Material stored on DVD-RAM. > > losetup -e blowfish /dev/loop0 /dev/sr3 > lsoetup -e serpent /dev/loop1 /dev/loop0 > > it doesn't work. (replied to Mario earlier, for reference here's the patch). Yet another miscount and IV

[Announce] SnapFS Snapshot File System alpha release

2001-03-02 Thread Peter J. Braam
SnapFS - Snapshot File System Release: alpha1 Requires: Linux 2.2.18 or later, Ext3 and EA. WWW site: http://www.mountainviewdata.com/technology/snapfs Mountain View Data, Inc is announcing the first release of SnapFS. SnapFS is a file system enhancement of Ext3 to bring fully featured

[PATCH] Add Epson Perfection 1640SU scanner to scanner.c

2001-03-02 Thread Jesse Wyant
Just purchased an Epson Perfection 1640SU (SCSI/USB) scanner (1600 dpi optical), and found in some tips (forgot where now) on getting it recognized by the USB code: (I made the change in a vanilla 2.4.2 kernel.) diff -urNb linux-2.4.2/drivers/usb/scanner.c

Re: 2.4.2 TCP window shrinking

2001-03-02 Thread David
David S. Miller wrote: > We need desperately to know exactly what OS the xxx.xxx.1.14 machine > is running. Because you've commented out the first two octets, I > cannot check this myself using nmap. I see them all the time on my sites. I have active mirrors so they abound. Here are a few,

Re: kmod error

2001-03-02 Thread Keith Owens
On Fri, 2 Mar 2001 20:55:37 -0500 , "MEHTA,HIREN (A-SanJose,ex1)" <[EMAIL PROTECTED]> wrote: >kmod: failed to exec /sbin/modprobe -s -l binfmt-464c, errno = 8. You must have support for elf binaries built into the kernel. - To unsubscribe from this list: send the line "unsubscribe

Re: 2.4.2 TCP window shrinking

2001-03-02 Thread Jesse Wyant
Similar situation here: vanilla 2.4.2, with web serving/ftp/hotline/napster/etc., and I get this: TCP: peer 148.75.118.138:1360/6699 shrinks window 3200785160:0:3200795086. Bad, what else can I say? TCP: peer 148.75.118.138:1359/6699 shrinks window 3054879436:0:3054885108. Bad, what else can

kmod error

2001-03-02 Thread MEHTA,HIREN (A-SanJose,ex1)
Greetings. I built a 2.4.0 kernel and installed th bzImage in boot, configured in lilo, etc. I also upgraded my modutils to 2.4.3. After that when I tried to boot from the new kernel, I am getting the following error message continuously. kmod: failed to exec /sbin/modprobe -s -l binfmt-464c,

Re: scsi vs ide performance on fsync's

2001-03-02 Thread Dan Hollis
On Fri, 2 Mar 2001, Chris Mason wrote: > For why ide is beating scsi in this benchmark...make sure tagged queueing > is on (or increase the queue length?). For the xlog.c test posted, I would > expect scsi to get faster than ide as the size of the write increases. I have seen that many drives

Re: [Re: paging behavior in Linux]

2001-03-02 Thread Jeremy Jackson
Manfred Spraul wrote: > Neelam Saboo wrote: > > > > hi, > > > > After I installed a newer version of Kernel (2.4.2) and enable DMA option in Ah hah! There's a huge difference in performance (in my experience) with DMA. also, using hdparm utility, *most* drives work fine with dma, irq

Re: VFS: Cannot open root device

2001-03-02 Thread Jeremy Jackson
Jeremy wrote: This is going to get confusing! > Hello all, > HELP, I have a new server that I am trying to put > Redhat 7.0 on. It is a Compaq Proliant ML530 Dual PIII > 1Ghz with a Gig of RAM. It has a Compaq smart array > 5300 in it also. It boots just fine with the default > Redhat 7 kernel

Re: IRQ advice (2.4.2-ac7)

2001-03-02 Thread Jeremy Jackson
Favre Gregoire wrote: > Hello, > > as I boot some times under windows, i have to change my IRQ for my PCI > devices to (all) 9... and all the times I tried to boot that way under linux, > it doesn't boot... > > So I haven't tested it that way for ages... and now with 2.4.2-ac7 i booted > without

Nasty bug in the IrDA stack

2001-03-02 Thread Jean Tourrilhes
Hi, I've found a really convoluted bug in the IrDA stack (spend the week chasing it). As it is not trivial, I would like you to check and comment on my description and my fix. My patch definitely fix the problem on the PC where I was seeing it, and I can't crash it

Re: 2.4.2 TCP window shrinking

2001-03-02 Thread Phil Brutsche
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A long time ago, in a galaxy far, far way, someone said... > > Jim Woodward writes: > > This has probably been covered but I saw this message in my logs and > > wondered what it meant? > > > > TCP: peer xxx.xxx.1.11:41154/80 shrinks window

Linux 2.4.2-ac5 IDE Software Raid(ata/100) Problem..Kernel Oops?

2001-03-02 Thread Jasmeet Sidhu
1. Problem description 2. Machine details a) Hardware b) Software 3. System log during the incident 1. Problem Description: I have a software raid 5 with 1 spare. (9 total drives dedicated for raid) with a seperate Boot drive for the system. Before this new problem, I had many

VFS: Cannot open root device

2001-03-02 Thread Jeremy
Hello all, HELP, I have a new server that I am trying to put Redhat 7.0 on. It is a Compaq Proliant ML530 Dual PIII 1Ghz with a Gig of RAM. It has a Compaq smart array 5300 in it also. It boots just fine with the default Redhat 7 kernel 2.2.16smp but when I compiled my own 2.4.2 kernel I get the

Re: The IO problem on multiple PCI busses

2001-03-02 Thread David S. Miller
Benjamin Herrenschmidt writes: > There is still the need, in the ioctl we use the "select" what need to be > mapped by the next mmap, to ask for the "legacy IO range of the bus where > the card reside" (if it exist of course). That would be the 0-64k (or less, > actually a couple of pages

Re: The IO problem on multiple PCI busses

2001-03-02 Thread David S. Miller
Benjamin Herrenschmidt writes: > What I call ISA IOs here doesn't necessarily mean there's an ISA bridge > on the PCI. Ok. > On PPC, we don't have an "IO" space neither, all we have is a range of > memory addresses that will cause IO cycles to happen on the PCI bus. This is precisely what

IRQ advice (2.4.2-ac7)

2001-03-02 Thread Favre Gregoire
Hello, as I boot some times under windows, i have to change my IRQ for my PCI devices to (all) 9... and all the times I tried to boot that way under linux, it doesn't boot... So I haven't tested it that way for ages... and now with 2.4.2-ac7 i booted without any problem that way: cat

usleep magically reduces cpu load?

2001-03-02 Thread SmartList
Why does this use up about 5% CPU (on my system) (pseude code of course) while (data,size = get_data) { write(/dev/dsp,data,size); } And this only uses about 0%: while (data,size = get_data) { write(/dev/dsp,data,size); usleep(1); } I've also tried replacing the usleep

[patch] 2.4.3-pre1: PCI documentation

2001-03-02 Thread Tim Waugh
Some of the fixes to the PCI documentation got lost in the 2.4.3-pre1 patch. Here they are again. Tim. */ 2001-03-02 Tim Waugh <[EMAIL PROTECTED]> * drivers/pci/pci.c: Inline documentation, based on a patch by Jani Monoses. --- linux/drivers/pci/pci.c.pcidoc Sat Mar 3

[patch] 2.4.3-pre1: parport fix (nAutoFd)

2001-03-02 Thread Tim Waugh
Linus, Here is a patch that makes 2.4.x's behaviour more closely match that of 2.2.x when a nibble mode read goes wrong. It prevents reading processes from getting stuck in certain circumstances. Tim. */ 2001-03-02 Tim Waugh <[EMAIL PROTECTED]> * drivers/parport/ieee1284_ops.c

Re: PATCH 2.4.0 parisc PCI support

2001-03-02 Thread Grant Grundler
Jeff Garzik wrote: > The patch worked 100% on my laptop, but failed to allocate a PCI memory > region on my desktop machine. Two attachments... "diff -u" output for > dmesg before and after your patch, and "diff -u" output for lspci before > and after your patch. Jeff, Thanks for trying. I'll

Memory-related hangup (2.4.2-ac3)

2001-03-02 Thread Byron Stanoszek
Is there a reason why the kernel appears to hang temporarily for 3-5 minutes under this circumstance: gandalf:~> free total used free sharedbuffers cached Mem:126700 125024 1676 0964 61640 -/+ buffers/cache: 62420

Re: Should isa-pnp utilize the PnP BIOS?

2001-03-02 Thread Thomas Hood
Okay, a couple of people have responded positively to this suggestion. The next question is, how should it be implemented? How 'bout: $ cd pcmcia-cs/modules $ cp pnp_bios.c pnp_proc.c pnp_rsrc.c /usr/src/linux/2.4.2a/drivers/pnp $ cd ../include/linux $ cp pnp_bios.h pnp_resource.h

Generic x86 boot code [was Linux OS boilerplate]

2001-03-02 Thread Jay Lepreau
I learned of this 12-days past discussion on the "kernel traffic" digest. > The motivation behind this is that I would like to use the Linux boot > system as a boilerplate booter for some experimental code. It's > probably much cleaner and more robust than any boot loader I might > come up with.

Re: PATCH 2.4.0 parisc PCI support

2001-03-02 Thread Jeff Garzik
Just tested your patch on an x86 laptop with two CardBus controllers (kernel's CardBus bridge code == kernel's PCI-PCI bridge code, for the most part) and an SMP x86 desktop machine. The patch worked 100% on my laptop, but failed to allocate a PCI memory region on my desktop machine. Two

Re: Hashing and directories

2001-03-02 Thread Bill Crawford
Pavel Machek wrote: > Hi! > > I was hoping to point out that in real life, most systems that > > need to access large numbers of files are already designed to do > > some kind of hashing, or at least to divide-and-conquer by using > > multi-level directory structures. > Yes -- because their

Re: VM balancing problems under 2.4.2-ac1

2001-03-02 Thread Adrian Bunk
On Fri, 23 Feb 2001, Rik van Riel wrote: > On 23 Feb 2001, Adam Sampson wrote: > > > The VM balancing updates in the recent ac kernels seem to have caused > > some interesting performance problems on my desktop machine. I've got > > 160Mb of RAM, and 2.4.2-ac1 appears to be using excessively

Re: I/O problem with sustained writes

2001-03-02 Thread Andrew Morton
Collectively Unconscious wrote: > > We are having a problem with writes. > They start at 14 M/s for the first hour and then drop to 2.5 M/s and stay > that way. Reads do not seem effected and we've noticed this on the 2.2.16, > 2.2.17, 2.2.18 and now the 2.2.19pre11 kernels. > > These are SMP

Re: 2.4 and 2GB swap partition limit

2001-03-02 Thread Kenneth Johansson
[EMAIL PROTECTED] wrote: > Linus has spoken, and 2.4.x now requires swap = 2x RAM. > But, the 2GB per swap partition limit still exists, best as we can tell. > So, we sell machines with say 8GB RAM. We need 16GB swap, but really we > need like an 18GB disk with 8 2GB swap partitions, or ideally

IMS Twin Turbo 128 framebuffer

2001-03-02 Thread John R Lenton
Is there any particular reason why imsttfb isn't available in the i386 arch? It doesn't work in X either in spite of being "supported", but that's not for this list. -- John Lenton ([EMAIL PROTECTED]) -- Random fortune: Le donne hanno 4 labbra: due per dire delle stupidaggini, due per farsi

Re: [PATCH] alloc_tty_struct() wastage?

2001-03-02 Thread Russell King
Hugh Dickins writes: > I've been puzzling over alloc_tty_struct(), which seems determined > to waste memory on a machine of page size 8KB. Maybe you could change the ">" to ">="? > I've come to the conclusion that it represents great caution on > Russell's part when introducing ARM, not to

Re: ftruncate not extending files?

2001-03-02 Thread Jens-Uwe Mager
On Fri, 2 Mar 2001 10:17:14 GMT, Malcolm Beattie <[EMAIL PROTECTED]> wrote: >bert hubert writes: >> I would've sworn, based on the fact that I saw people do it, that ftruncate >> was a legitimate way to extend a file > >Well it's not SuSv2 standards compliant: > >

Re: [PATCH] 2.4.2-acX does not recognize any bus on Intel Serverworks based motherboard

2001-03-02 Thread Tim Wright
This has come up before a few times. The concensus seems to be that the PCI fixup code for Serverworks chipsets is currently broken (and it's less simple to fix than it should be due to lack of documentation - there have been some educated guesses but it would be nicer to know for sure). The

[PATCH] alloc_tty_struct() wastage?

2001-03-02 Thread Hugh Dickins
I've been puzzling over alloc_tty_struct(), which seems determined to waste memory on a machine of page size 8KB. I've come to the conclusion that it represents great caution on Russell's part when introducing ARM, not to interfere with existing code of other architectures - is that so, Russell?

Linux 2.4.2ac10

2001-03-02 Thread Alan Cox
ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/ 2.4.2-ac10 o Add ZF-Logic watchdog driver(Fernando Fuganti) o Add devfs support to USB printers (Mark McClelland) o Fix baud rate handling on keyspan (Paul Mackerras)

Re: Keyboard simulation

2001-03-02 Thread Guest section DW
> Transmit keycodes is AFAIK not implemented in official drivers. Maybe I misunderstand what you mean, but the kernel has had a keycode mode since before 1.0. Andries - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)

2001-03-02 Thread Donald Becker
On Fri, 2 Mar 2001, Manfred Spraul wrote: > Jeff Garzik wrote: > > Manfred Spraul wrote: > > > Could you double check the code in tulip_core.c, around line 1450? > > > IMHO it's bogus. > > > > > > 1) if the network card contains multiple mii's, then the the advertised > > > value of all mii's is

2.2.19pre - Kernel Panic: no init found

2001-03-02 Thread Stéphane GARIN
Hi, I have a kernel panic with the patch 2.2.19pre16 that I test. I use a 2.2.18 Kernel very well. I used the last patch on this kernel and make my kernel with sames parameters without error message. At the boot, I can see this : ... eth0: RealTek RTL8139 Fast Ethernet at 0xa800, IRQ 10,

Re: [ANNOUNCE] New version of the WRR network scheduler

2001-03-02 Thread Christian Worm Mortensen
Hi again, > I have just released a new version of the WRR scheduler supporting the > 2.4 kernels besides 2.2 as always . Oops, I forgot to write that it is available from http://wipl-wrr.dkik.dk/wrr/ Christian. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: strange nonmonotonic behavior of gettimeoftheday

2001-03-02 Thread John Being
OK, short status from the same box. It was up for about 2 weeks, but yesterday due this problem it become unuseable, as X failed at startup with message about failed select(). Before reboot I made some tests and found: - it triggered by starting of X (without X no backjumps) - it has something

Re: Strange 2.4.2 boot error

2001-03-02 Thread Michael Mueller
Hi folks and D. Stimits, Summary of discussion taken place so far (for linux-kernel people): D. Stimits noticed he can not boot his kernel from a 1.44MB floppy created with "make bzdisk". This would lead into a register dump. The dump does show the boot code tries to read track 80 of the disk.

Re: CPRM is dead; Thanks Andre!

2001-03-02 Thread Andre Hedrick
On Thu, 22 Feb 2001, Michael Rothwell wrote: > > IBM withdrew the proposal. > > ... from public view I am saddened to say that I agree with you now that all the info is in hand. However, I do not think IBM is the driving force now... It is now just the C4

Re: [ANNOUNCE] New version of the WRR network scheduler

2001-03-02 Thread Aaron Tiensivu
Umm.. where is it located? :) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)

2001-03-02 Thread Manfred Spraul
Jeff Garzik wrote: > > Manfred Spraul wrote: > > Could you double check the code in tulip_core.c, around line 1450? > > IMHO it's bogus. > > > > 1) if the network card contains multiple mii's, then the the advertised > > value of all mii's is changed to the advertised value of the first mii. >

Re: 2.4.2-ac6 hangs on boot w/AMD Elan SC520 dev board

2001-03-02 Thread Pavel Machek
Hi! > > bios-e820: 0009f400 @ (usable) > > bios-e820: 0c00 @ 0009f400 (reserved) > > bios-e820: 03f0 @ 0010 (usable) > > bios-e820: 03f0 @ 0010 (usable) > > bios-e820:

Re: PROBLEM: Kernel bug in inode.c:885 when floppy disk removed

2001-03-02 Thread Pavel Machek
Hi > > 1: > > Kernel bug/Segmentation fault when floppy disk removed 2nd time > > > > > > 2: > > Segmentation fault in a program, > > hanging processes in "D"-state, > > Kernel bug in inode.c:885! > > > > when removing floppy disk before unmounting and then using again > > - Doctor, it

Re: Keyboard simulation

2001-03-02 Thread Pavel Machek
Hi! > I'm writting a driver so that my soft braille display can work with the > BRLTTY daemon. > My braille computer contains a braille display, and a braille keyboard > which I can use to enter characters that are transmitted to the computer. > When my driver gets "normla" chars, he writes them

[ANNOUNCE] New version of the WRR network scheduler

2001-03-02 Thread Christian Worm Mortensen
Hi, I have just released a new version of the WRR scheduler supporting the 2.4 kernels besides 2.2 as always . The WRR scheduler is an extension to the Traffic Control/network bandwidth management part of the Linux kernels. The scheduler was developed to support distributing bandwidth on a

Re: binfmt_script and ^M

2001-03-02 Thread Pavel Machek
Hi! > > > When running a script (perl in this case) that has DOS-style > > > newlines (\r\n), Linux 2.4.2 can't find an interpreter because it > > > doesn't recognize the \r. The following patch should fix this > > > (untested). > > > Fix the script. The kernel expects a specific format > >

Re: 2.4.2 TCP window shrinking

2001-03-02 Thread David S. Miller
Jim Woodward writes: > This has probably been covered but I saw this message in my logs and > wondered what it meant? > > TCP: peer xxx.xxx.1.11:41154/80 shrinks window 2442047470:1072:2442050944. > Bad, what else can I say? > > Is it potentially bad? - Ive only ever seen it twice with

I/O problem with sustained writes

2001-03-02 Thread Collectively Unconscious
We are having a problem with writes. They start at 14 M/s for the first hour and then drop to 2.5 M/s and stay that way. Reads do not seem effected and we've noticed this on the 2.2.16, 2.2.17, 2.2.18 and now the 2.2.19pre11 kernels. These are SMP P-IIIs from 450 to 800 MHz. Redhat 6.2 Jay -

[PATCH] Re: usbdevfs can be mounted multiple times

2001-03-02 Thread Alexander Viro
On Fri, 2 Mar 2001, Alexander Viro wrote: > I.e. replace the last argument in declaration of usbdevfs with FS_SINGLE - > without that we get a new instance every time. Grr... Proper patch follows. Please, apply. Cheers,

Re: PATCH 2.4.0 parisc PCI support

2001-03-02 Thread Grant Grundler
Jeff Garzik wrote: > IIRC these "assuming transparent" lines were put in to -fix- PCI-PCI > bridges on at least some x86 boxes... I didn't really understand the > bridge code well enough at the time to comment one way or the other on > its correctness, but it definitely fixed some problems.

[PATCH] getname() buffer overflow

2001-03-02 Thread Hugh Dickins
The pathname slab cache size was "reduced" from PAGE_SIZE to PATH_MAX + 1 during the 2.4.0-test series, and len similarly adjusted in do_getname(). But its "are we near top of task space?" test should have been adjusted too: could overflow if page size >4KB. Patch below against 2.4.2-ac9,

[PATCH] CS89x0 demands too many pages

2001-03-02 Thread Hugh Dickins
The CS89x0 driver wants a 16KB or 64KB dma_buff (if use_dma and ANY_ISA_DMA), thinks it's asking __get_dma_pages() for 4 or 16 pages, but actually it's demanding order 4 or order 16 buffer. Patch below against 2.4.2-ac9 or 2.4.2, offset against 2.4.[01]. Hugh --- 2.4.2-ac9/drivers/net/cs89x0.c

Re: How to set hdparms for ide-scsi devices on devfs?

2001-03-02 Thread Andre Hedrick
There are mystert ATAPI harddrives in the world! On Fri, 2 Mar 2001, Wakko Warner wrote: > > PS: Is there still a possibility for setting the IDE-sleep timeout > > for a ide-scsi harddisk? (I know, this doesnt make sense) > > I didn't know you could use ide-scsi emulation for hard

[PATCH] QIC-02 tape broken buffaddr

2001-03-02 Thread Hugh Dickins
I don't have a QIC-02 tape drive to test, but its driver source looks long broken. Note the comment at line 2836 "TODO: does _get_dma_pages() really return the physical address?" and follow uses of buffaddr - sometimes physical, sometimes virtual. Which worked in 2.2, with ISA DMA ignoring

Re: Escape sequences & console

2001-03-02 Thread Simon Richter
On Thu, 1 Mar 2001, Sébastien HINDERER wrote: > According to linux/drivers/console.c, function setterm_commands, case 12, > one can change the virtual console by sending an escape sequence to > /dev/cnsole (what I want to do), hower, this is not documented in man > pages. From the source of the

[FIX] Re: usbdevfs can be mounted multiple times

2001-03-02 Thread Alexander Viro
On Fri, 2 Mar 2001, Pavel Roskin wrote: > Hello! > > I understand that root can do many strange and unsafe things, but mounting > the same filesystem many times is not allowed for systems other than > usbdevfs. Mounting the same fs many times _is_ perfectly legitimate. However, I really

Re: apparent file corruption on 2.4.2

2001-03-02 Thread Andreas Dilger
Wade Hampton writes: > I can't move, delete, or do anything with these files. I tried > chattr, touch, etc. and the only thing I can do is change the > access date with touch. > > b--sr-s--t1 1769209956 1852796526 116, 101 May 29 2023 > /binold/hostname > > prwxr-x--T1

2.4 and 2GB swap partition limit

2001-03-02 Thread Matt_Domsch
Linus has spoken, and 2.4.x now requires swap = 2x RAM. But, the 2GB per swap partition limit still exists, best as we can tell. So, we sell machines with say 8GB RAM. We need 16GB swap, but really we need like an 18GB disk with 8 2GB swap partitions, or ideally 8 disks with a 2GB swap partition

Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)

2001-03-02 Thread Jeff Garzik
Manfred Spraul wrote: > Could you double check the code in tulip_core.c, around line 1450? > IMHO it's bogus. > > 1) if the network card contains multiple mii's, then the the advertised > value of all mii's is changed to the advertised value of the first mii. I'm really curious about this one

usbdevfs can be mounted multiple times

2001-03-02 Thread Pavel Roskin
Hello! I understand that root can do many strange and unsafe things, but mounting the same filesystem many times is not allowed for systems other than usbdevfs. [root@fonzie proski]# mount /dev/ide/host0/bus0/target0/lun0/part1 on / type reiserfs (rw) none on /proc type proc (rw) none on

Re: scsi vs ide performance on fsync's

2001-03-02 Thread Linus Torvalds
In article <[EMAIL PROTECTED]>, Jeremy Hansen <[EMAIL PROTECTED]> wrote: > >The SCSI adapter on the raid array is an Adaptec 39160, the raid >controller is a CMD-7040. Kernel 2.4.0 using XFS for the filesystem on >the raid array, kernel 2.2.18 on ext2 on the IDE drive. The filesystem is >not

Re: PATCH 2.4.0 parisc PCI support

2001-03-02 Thread Jeff Garzik
Grant Grundler wrote: > Index: drivers/pci/pci.c > === > RCS file: /home/cvs/parisc/linux/drivers/pci/pci.c,v > retrieving revision 1.1.1.6 > diff -u -p -r1.1.1.6 pci.c > --- pci.c 2001/01/09 16:57:56 1.1.1.6 > +++ pci.c

General interest: lawyers talking about GPL and Linux

2001-03-02 Thread Dale Amon
__ "Legal Implications of Open-Source Software" University of Illinois Law Review, Forthcoming BY: DAVID MCGOWAN University of Minnesota Law School Contact: DAVID MCGOWAN Email: Mailto:[EMAIL PROTECTED] Postal:

apparent file corruption on 2.4.2

2001-03-02 Thread Wade Hampton
Greetings, This is a CC of a post I sent last night to the redhat-list. I am forwarding it to the kernel list as I hear others have had file corruption and this might be of interest Also, if anyone has any ideas I got a couple of responses including: 1) Backup/restore the partition

Re: [Re: paging behavior in Linux]

2001-03-02 Thread Manfred Spraul
Neelam Saboo wrote: > > hi, > > After I installed a newer version of Kernel (2.4.2) and enable DMA option in > hardware configuration, the behavior changes. > I can see performance improvements when another thread is used. Also, i can > see timing overlaps between two threads. i.e. when one

Re: DMA on a AMD7409 controller with kernel 2.4.2

2001-03-02 Thread Andre Hedrick
On Fri, 2 Mar 2001, Thomas Dodd wrote: > > > using_dma= 0 (off) DMA is off and I bet you did not enable the new AUTODMA config setting. Andre Hedrick Linux ATA Development ASL Kernel Development - ASL, Inc.

Re: report bug: System reboots when accessing a loop-device over a second loop-device with 2.4.2-ac7

2001-03-02 Thread Mario Hermann
Hello! Jens Axboe wrote: > > On Fri, Mar 02 2001, Mario Hermann wrote: > > There is another small bug with the loop over loop problem. Now it works > > fine for > > files but not for Devices: > > > > losetup /dev/loop0 /dev/sr1 > > losetup /dev/loop1 /dev/loop0 > > dd if=/dev/loop1 of=test.dat

Re: strange nonmonotonic behavior of gettimeoftheday -- seen similar problem on PPC

2001-03-02 Thread george anzinger
"Richard B. Johnson" wrote: > > On Fri, 2 Mar 2001, george anzinger wrote: > > > "Richard B. Johnson" wrote: > ~snip~ > > > Note that two subsequent calls to gettimeofday() must not return the > > > same time even if your CPU runs infinitely fast. I haven't seen any > > > kernel in the past

Re: kernel 2.4.2 SMP + ATM hangs (fwd)

2001-03-02 Thread Miguel Armas
On Fri, 2 Mar 2001, Mitchell Blank Jr wrote: > Miguel Armas wrote: > > A couple days ago we installed a Fore 200E ATM card and after getting the > > ATM address using ilmid the machine hangs. The kernel still respond to > > pings, but the userspace is dead. > > > > If we remove SMP support in

Re: APIC error on CPU0 (UP APIC kernel)

2001-03-02 Thread Chaskiel M Grundman
Excerpts from mail: 1-Mar-101 Re: APIC error on CPU0 (UP .. by Arnaldo C. de Melo@conec > can you try 2.4.2-ac8 and tell us the results? No change (I used 2.4.2-ac9, since that was available...). (The watchdog doesn't trip and display output, but eventually the errors stop and rebooting is

Re: Another rsync over ssh hang (repeatable, with 2.4.1 on both ends)

2001-03-02 Thread Tim Wright
On Fri, Mar 02, 2001 at 10:12:36AM +, Russell King wrote: > On Thu, Mar 01, 2001 at 04:41:01PM -0800, Scott Laird wrote: > > I have a fairly repeatable rsync over ssh stall that I'm seeing between > > two Linux boxes, both running identical 2.4.1 kernels. The stall is > > fairly easy to

Raw IO fixes for 2.4.2-ac8

2001-03-02 Thread Stephen C. Tweedie
Hi, I've just uploaded the current raw IO fixes as kiobuf-2.4.2-ac8-A0.tar.gz on ftp.uk.linux.org:/pub/linux/sct/fs/raw-io/ and ftp.*.kernel.org:/pub/linux/kernel/people/sct/raw-io/ This includes: 00-movecode.diff: move kiobuf code from mm/memory.c to fs/iobuf.c

[Re: paging behavior in Linux]

2001-03-02 Thread Neelam Saboo
hi, After I installed a newer version of Kernel (2.4.2) and enable DMA option in hardware configuration, the behavior changes. I can see performance improvements when another thread is used. Also, i can see timing overlaps between two threads. i.e. when one thread is blocked on a page fault,

Re: scsi vs ide performance on fsync's

2001-03-02 Thread Steve Lord
> > > On Friday, March 02, 2001 01:25:25 PM -0600 Steve Lord <[EMAIL PROTECTED]> wrote: > > >> For why ide is beating scsi in this benchmark...make sure tagged queueing > >> is on (or increase the queue length?). For the xlog.c test posted, I > >> would expect scsi to get faster than ide as

Re: scsi vs ide performance on fsync's

2001-03-02 Thread Chris Mason
On Friday, March 02, 2001 01:25:25 PM -0600 Steve Lord <[EMAIL PROTECTED]> wrote: >> For why ide is beating scsi in this benchmark...make sure tagged queueing >> is on (or increase the queue length?). For the xlog.c test posted, I >> would expect scsi to get faster than ide as the size of the

Re: Hashing and directories

2001-03-02 Thread Tim Wright
On Fri, Mar 02, 2001 at 10:04:10AM +0100, Pavel Machek wrote: > > xargs is very ugly. I want to rm 12*. Just plain "rm 12*". *Not* "find > . -name "12*" | xargs rm, which has terrible issues with files names > > "xyzzy" > "bla" > "xyzzy bla" > "12 xyzzy bla" > Getting a bit OffTopic(TM) here,

PATCH 2.4.0 parisc PCI support

2001-03-02 Thread Grant Grundler
Hi all, This patch contains the support parisc-linux needs in PCI generic. My patch is not as clean as I'd like - but it should work. Please send changes/feedback directly to me. Code in parisc-linux CVS (based on 2.4.0) does boot on my OB800 (133Mhz Pentium), C3000, and A500 with PCI-PCI bridge

Re: scsi vs ide performance on fsync's

2001-03-02 Thread Andre Hedrick
Okay I now have to create TCQ for ATA becasue I am not going to lose again now that I am winning ;-) On Fri, 2 Mar 2001, Chris Mason wrote: > > > On Friday, March 02, 2001 12:39:01 PM -0600 Steve Lord <[EMAIL PROTECTED]> wrote: > > [ file_fsync syncs all dirty buffers on the FS ] > > > >

Found out why "sg" was loaded automagically. Re: devfs: "cd" device not showing up initially.

2001-03-02 Thread Ishikawa
Some time ago, I posted a question concerning the device name "cd" (module sr_mod) not appearing automatically under my 2.4.x devfs/devfsd configuration. However, "generic" (module sg) does appear automagically. This confused me a bit. The subject I used back then was like "devfs: "cd" device

  1   2   3   4   5   >