Re: Article: Using test suites to test the new kernel

2001-01-14 Thread David D.W. Downey
God sent you right? :) Been looking for something along this nature. David On Mon, 15 Jan 2001, Michael D. Crawford wrote: > I've written a brief article on the topic of using test suites to test new linux > kernels. > > It is my hope that anyone who wants to play with the new kernels wil

*Very* weird behavior from 2.2.14

2001-01-14 Thread paradox3
My machine is/has: > Linux 2.2.14 > Red Hat 6.2 > Two PII 400 Mhz processors, but the kernel doesn't currently have SMP support compiled in > 256 MB RAM > Two ethernet cards using PCI NE2000 (ne2k-pci.c), vpre-1.00e 5/27/99 > One SCSI hard drive (boot, using aic7xxx.o), and four IDE drives. > Upti

Re: Subtle MM bug

2001-01-14 Thread Eric W. Biederman
Ralf Baechle <[EMAIL PROTECTED]> writes: > On Fri, Jan 12, 2001 at 09:11:43PM +, Russell King wrote: > > > Eric W. Biederman writes: > > > Hmm. I would think that increasing the logical page size in the kernel > > > would be the trivial way to handle virtual aliases. (i.e.) with a large >

Re: 2.4.0-ac9 works, but slower and swappier

2001-01-14 Thread Marcelo Tosatti
On Sun, 14 Jan 2001, Mark Orr wrote: > > I've been running 2.4.0-ac9 for a day and a half now. > > I have pretty low-end hardware (Pentium 1/ 100MHz, 16Mb RAM, > 17Mb swap) and it really seems to bog down with anything > heavy in memory.Netscape seems to really drag, and any > Java applet

Question relating to the nopage handler and memory in general

2001-01-14 Thread JJ Jordan
Okay, I'm in the middle of developing a pseudo device driver under 2.2.18. Processes that use it generally mmap() it, and in the mmap handler, it sets up a nopage handler. Here's the question: After the nopage handler has been called and pages have been mapped to client processes' spaces, ho

No Subject

2001-01-14 Thread Dan Merillat
Jan 15 00:09:55 news kernel: kernel BUG at inode.c:372! Jan 15 00:09:55 news kernel: invalid operand: Jan 15 00:09:55 news kernel: CPU:0 Jan 15 00:09:55 news kernel: EIP:0010:[clear_inode+51/228] Jan 15 00:09:55 news kernel: EFLAGS: 00010286 Jan 15 00:09:55 news kernel: eax: 001

Re: [PATCH] fix for ppp_async lockup in 2.4.0

2001-01-14 Thread Paul Mackerras
I meant to add that I have tested the patch I sent on both UP and SMP; PPP connections work fine and the exploit program doesn't hang the system. Paul. -- Paul Mackerras, Open Source Research Fellow, Linuxcare, Inc. +61 2 6262 8990 tel, +61 2 6262 8991 fax [EMAIL PROTECTED], http://www.linuxcar

[PATCH] fix for ppp_async lockup in 2.4.0

2001-01-14 Thread Paul Mackerras
The following patch fixes the lockup inside ppp_async_push which can occur if you set both the master and slave of a pty to PPP line discipline. The patch essentially makes 3 changes to ppp_async.c: 1. We detect the recursion that can occur if the tty driver's write function calls back to the

Re: Loopback almost-freeze?

2001-01-14 Thread Mike Galbraith
On Mon, 15 Jan 2001, James Mastros wrote: > On Mon, Jan 15, 2001 at 12:34:08AM -0500, James Mastros wrote: > > Step 3 doesn't have to be a simple cp. I did tar -cvvI /chris/windows/* > > |tar -xvvI /mnt/windows (or similar) to check once, and the same thing > > happened. > Or bonnie. Have you t

Re: mmap()/VM problem in 2.4.0

2001-01-14 Thread Marcelo Tosatti
On Fri, 12 Jan 2001, Vlad Bolkhovitine wrote: > After upgrade from 2.4.0-test7 to 2.4.0 while running tiotest v0.3.1 I found two > following problems. There have been quite a lot of things changed from 2.4.0-test7 to 2.4.0, so I'm not sure what caused the slowdown. Anyway, important VM change

Re: Loopback almost-freeze?

2001-01-14 Thread James Mastros
On Mon, Jan 15, 2001 at 12:34:08AM -0500, James Mastros wrote: > Step 3 doesn't have to be a simple cp. I did tar -cvvI /chris/windows/* > |tar -xvvI /mnt/windows (or similar) to check once, and the same thing > happened. Or bonnie. -=- James Mastros - To unsubscribe from this list: send the

Re: [linux-audio-dev] low-latency scheduling patch for 2.4.0

2001-01-14 Thread george anzinger
"David S. Miller" wrote: > > Nigel Gamble writes: > > That's why MontaVista's kernel preemption patch uses sleeping mutex > > locks instead of spinlocks for the long held locks. > > Anyone who uses sleeping mutex locks is asking for trouble. Priority > inversion is an issue I dearly hope we n

Re: can't build small enough zImage for floppy

2001-01-14 Thread alex
On Sat, Jan 13, 2001 at 06:54:15AM -0600, Jordan wrote: > [EMAIL PROTECTED] wrote: > > > I forgot to ask.. when attempting to boot from a floppy, are you using > > SYSLINUX, or something else? What version? > > unsure. I have booted floppies on my machine before which displayed SYSLINUX on > b

Loopback almost-freeze?

2001-01-14 Thread James Mastros
Hey all. I recently noticed, while setting up a disk image for plex86, a bug in loopback mounting. This happens on at least 2.4.0 and 2.4.0-ac9. Steps for me to reproduce (as root): 1) losetup /dev/loop0 losetup -o $((512*63)) /dev/loop0 /usr/src/emu/plex86/guest/hdd 2) mount /dev/loop0 /mnt 3)

2.4.0-x features ?

2001-01-14 Thread Pierre Rousselet
Pentium-III 256Mb BE6. 1) top (procps-2.0.7) gives me the messages : 'bad data in /proc/uptime' 'bad data in /proc/loadavg' cat /proc/uptime 1435.30 904.74 cat /proc/loadavg 0.01 0.21 0.29 1/17 19444 What is wrong ? 2) pppd (2.4.0b4) gives me the message : 'tdb_store failed : Success' 'tdb_store

Re: mmap()/VM problem in 2.4.0

2001-01-14 Thread Vlad Bolkhovitine
Tiotest/tiobench a new disk benchmark program written by a group of people led by Mika Kuoppala. AFAIK, it is the only disk IO test, which is able to use mmap(). You can find it on http://tiobench.sourceforge.net/ or http://www.icon.fi/~mak/tiotest/tiobench-0.3.1.tar.gz. Regards, Vlad Ray Bryan

Re: 2.4.0-pre3+zerocopy: weird messages

2001-01-14 Thread Petru Paler
On Sun, Jan 14, 2001 at 05:21:33AM -0800, David S. Miller wrote: > Petru Paler writes: > > Got more "udp v4 hw csum failure" messages but still no "UDP packet > > with bad csum was fragmented". > > OK, last experiment :-) Add this patch, and watch to see if > the UDP "InErrors" field in /proc/

Re: ide.2.4.1-p3.01112001.patch

2001-01-14 Thread Albert Cranford
Vojtech Pavlik wrote: > > Is the board still available for some testing? > I have a working PA-2007 but use a small hard disk. Can I help. PIRQ redirection, working around broken MP-BIOS. ... PIRQ0 -> IRQ 0 Initializing CPU#0 Detected 239.833 MHz processor. Console: colour dummy device 80x25 Ca

Oops in rtl8139, and more ...

2001-01-14 Thread Konstantin Cherenkoff
Hello: I have an ADSL Internet connection and use dhcpcd (ver. 1.3.19-pl2) as DHCP client. Everything works OK, but in one particular situation I always get a kernel Oops. Here's how: 1) Boot into runlevel 1 2) Put computer into suspend mode (it wakes up immediately) 3) Change to runlevel 3 Whe

Newsletter

2001-01-14 Thread andkais77
Hi Kalle! Mal wieder ein paar Surftips für Dich. Also wenn Du mich fragst die besten Maedels, 20 Studios mit Livebild und Chat im Netz findest Du unter http://www.lifegirl.de oder http://www.ero-channel.de oder http://www.stripline.de die beste Singleseite ist http://www.zweiherzen.de die v

Re: 2.4.0 compilation error

2001-01-14 Thread Rusty Russell
In message <[EMAIL PROTECTED]> you write: > I have attached my .config file. I'm not currently subscribed to this > mailing list so pls email me directly with any questions. Hi Christian, Thanks for the bug report. Please try the enclosed patch, which is pending for 2.4.1. Cheers, Rust

Re: [lvm-devel] Re: lvm 0.9.1-beta1 still segfaults vgexport

2001-01-14 Thread Andrea Arcangeli
On Sun, Jan 14, 2001 at 05:32:34PM +0100, Andrea Arcangeli wrote: > BTW, I can easily reproduce. I was near to go into it yesterday but got > interrupted by other issues (like the merging of the 0.9.1-beta1 kernel driver > and extraction of the strictly necessary fixes from the 0.9.1-beta1 userspa

Article: Using test suites to test the new kernel

2001-01-14 Thread Michael D. Crawford
I've written a brief article on the topic of using test suites to test new linux kernels. It is my hope that anyone who wants to play with the new kernels will try out some of these suites, not just people doing a formal QA process, so that more coverage of configurations can be achieved. Usin

PROBLEM: PS/2 Mouse && Asus A7V Mobo && X 4.0.x (and 3.3.x)

2001-01-14 Thread Matthew Fredrickson
Specs: AMD T-bird 1ghz Asus A7Vpro motherboard 160M of mem Kensington Mouseworks mouse(or any other ps2 mouse I hook up for that matter) I think those are all the relevant specs. My problem is in that when I try to use my mouse in X, after a brief period of time my mouse pointer activity goes a

Re: [PATCH] enable K7 nmi watchdog

2001-01-14 Thread Petr Vandrovec
On Sat, Jan 13, 2001 at 04:16:59PM +0100, Mikael Pettersson wrote: > This patch (against 2.4.0-ac8) _may_ enable the NMI watchdog on > some K7 systems. It won't help if you have an old K7 without a > local APIC, or if your BIOS disables it. > > This is a quick hack to test the mechanism -- I'll s

Re: APIC ERRor on CPU0: 00(02) ...

2001-01-14 Thread Dr. Kelsey Hudson
On Sat, 13 Jan 2001, Roeland Th. Jansen wrote: > you can say about the BP6 what you want but it appears that there are > (if your vision is right) many other low end SMP boards categorized > trash. there has been one mistake with it and that's the capacitor > behind a regulator that may have been

Re: Subtle MM bug

2001-01-14 Thread Ralf Baechle
On Fri, Jan 12, 2001 at 09:11:43PM +, Russell King wrote: > Eric W. Biederman writes: > > Hmm. I would think that increasing the logical page size in the kernel > > would be the trivial way to handle virtual aliases. (i.e.) with a large > > enough page size you can't actually have a virtual

Re: Subtle MM bug

2001-01-14 Thread Ralf Baechle
On Fri, Jan 12, 2001 at 09:10:54AM -0700, Eric W. Biederman wrote: > > Having a reverse mappings is the least sucky way to handle virtual aliases > > of certain types of MIPS caches. > > Hmm. I would think that increasing the logical page size in the kernel would > be the trivial way to handle

News

2001-01-14 Thread andkais77
Hi Kalle! Mal wieder ein paar Surftips für Dich. Also wenn Du mich fragst die besten Maedels, 20 Studios mit Livebild und Chat im Netz findest Du unter http://www.lifegirl.de oder http://www.ero-channel.de oder http://www.stripline.de die beste Singleseite ist http://www.zweiherzen.de die v

Re: Is sendfile all that sexy?

2001-01-14 Thread Michael Peddemors
The two things I change everytime are sendmail->qmail and wuftpd->proftpd But remember, security bugs are caught because more people use one vs the other.. Bugs in Proftpd weren't caught until more people started changing from wu-ftpd... Often, all it means when one product has more bugs than

News

2001-01-14 Thread andkais77
Hi Kalle! Mal wieder ein paar Surftips für Dich. Also wenn Du mich fragst die besten Maedels, 20 Studios mit Livebild und Chat im Netz findest Du unter http://www.lifegirl.de oder http://www.ero-channel.de oder http://www.stripline.de die beste Singleseite ist http://www.zweiherzen.de die

Re: QUESTION: Network hangs with BP6 and 2.4.x kernels, hardwarerelated?

2001-01-14 Thread Jorge Nerin
Frank de Lange wrote: > > On Fri, Jan 12, 2001 at 09:51:36PM +0100, Ingo Molnar wrote: > > great. Back when i had the same problem, flood pinging another host (on > > the local network) was the quickest way to reproduce the hang: > > > > ping -f -s 10 otherhost > > > > this produced an IOAP

[PATCH] important fixes for ieee1394 subsystem

2001-01-14 Thread Andreas Bombe
This patch does the missing conversions for the new task queue code, one of which fixes an oops (the others are there for cleanliness). I use some internal macros for easy compatibility to Linux 2.2. The other change incorporated fixes some issues in the PCILynx driver with bus resets being init

Re: Linux 2.4.0-ac9

2001-01-14 Thread Jens Axboe
On Mon, Jan 15 2001, Bill Crawford wrote: > I have a problem here with loopback-mounted filesystem freezing. The > process writing to the filesystem (ext2) gets stuck in uninterruptible > state with WCHAN showing "lock_p" which I believe to be lock_page. Could you try with this patch *.kernel.o

Re: ide.2.4.1-p3.01112001.patch

2001-01-14 Thread Jamie Lokier
> > Note that "hdparm -X34 -d1" enables old DMA, not UDMA. (The board was > > advertised as UDMA capable but it isn't AFAIK). Fwiw, -X34 does not fix the lockups for everyone else. Vojtech Pavlik wrote: > Is the board still available for some testing? The board is not in the same country as me

Re: Is sendfile all that sexy?

2001-01-14 Thread Dan Hollis
On 14 Jan 2001, Linus Torvalds wrote: > That's not the point of sendfile(). The point of sendfile() is to be > faster than the _combination_ of: > addr = mmap(file, ...len...); > write(fd, addr, len); > or > read(file, userdata, len); > write(fd, userdata, len); And boy is

Linux 2.4.0-ac9

2001-01-14 Thread Bill Crawford
I have a problem here with loopback-mounted filesystem freezing. The process writing to the filesystem (ext2) gets stuck in uninterruptible state with WCHAN showing "lock_p" which I believe to be lock_page. First time I noticed this, the system froze shortly afterwards but I do not know if this

2.4.0-ac9 works, but slower and swappier

2001-01-14 Thread Mark Orr
I've been running 2.4.0-ac9 for a day and a half now. I have pretty low-end hardware (Pentium 1/ 100MHz, 16Mb RAM, 17Mb swap) and it really seems to bog down with anything heavy in memory.Netscape seems to really drag, and any Java applets I encounter positively crawl -- you can see the ind

binary garbage in dmesg/boot messages (2.4.0)

2001-01-14 Thread John Newbigin
With kernel 2.4.0 on a Compaq DL380 I get the following. All seems OK except for the Version string. I have not checked the serial number but I looks acceptable. I do not know what the correct version string should be either. Jan 11 17:11:37 cartman kernel: DMI 2.3 present. Jan 11 17:11:37 cart

[PATCH] 2.4.0-ac9 fix for mm/shmem.c build error without CONFIG_SWAPFS enabled

2001-01-14 Thread Steven Cole
On Sunday 14 January 2001 02:56, Christoph Rohland wrote: > Steven Cole <[EMAIL PROTECTED]> writes: > > Here is a little patch which also fixes the symptoms of the build > > problem, and makes a kernel 1510 bytes smaller (without > > CONFIG_SWAPFS). Someone more knowlegable than I will have to ve

Weird (apparently FPU-related) bugs in 2.4.0

2001-01-14 Thread Steven Walter
Ok, this sounds weird, and it is. After running 2.4.0 for... 1 day, 18 hours straight, I've run into some strange behavior. Most noticeable is that, whem playing sounds, XMMS squeaks. However, the squeaks show up on the graphic equalizer, which means to me that it is getting bad math results.

Linux-2.4.0ac0 compile error

2001-01-14 Thread Ignacio Monge
Trying to compile this kernel I got this message: [...] make[2]: Cambiando a directorio `/usr/src/linux/mm' gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686

Re: 2.4.0 + iproute2

2001-01-14 Thread Igmar Palsenberg
> > Using textual strings means you can't use standard functions. An option > > would be to extend the call so that if the userspace app wants to know > > what really went wrong he can ask the kernel. > > That will not work. Consider an application that has multiple rtnetlink > sockets open, whi

ppp errors

2001-01-14 Thread isaac albeniz
When i upgraded to 2.4.0 i started having lots of ppp error. Jan 14 00:25:01 glass kernel: PPP: VJ decompression error Jan 14 00:25:41 glass kernel: PPP: VJ decompression error Jan 14 00:25:45 glass kernel: PPP: VJ decompression error With these errors ppp runs awefully and my downloads take at

[PATCH] ide-floppy ATAPI format capability (official)

2001-01-14 Thread Paul Bristow
Hi everyone, This is Sam Varshavchik's ATAPI format patch, synced in with my update to the driver. It requires ide-floppy.c V0.96. This patch brings the driver to 0.97. This patch updates ide-floppy to include ATAPI formatting ioctls. Like other devices, we allow O_NDELAY to open a drive with

Re: Where did vm_operations_struct->unmap in 2.4.0 go?

2001-01-14 Thread Keith Owens
On Sun, 14 Jan 2001 13:47:29 -0800 (PST), Linus Torvalds <[EMAIL PROTECTED]> wrote: >On Sun, 14 Jan 2001, David Woodhouse wrote: >> That's the one flaw in the inter_module_get() stuff - we could do with a >> way to put entries in the table at _compile_ time, rather than _only_ at >> run time. >

Question on 2.2.18 and setting a device to PROMISC.

2001-01-14 Thread Ben Greear
This code works in 2.4.0: (The important part is the dev_set_promiscuity() method.) int vlan_dev_set_mac_address(struct net_device *dev, void* addr_struct_p) { int i; struct sockaddr *addr = (struct sockaddr*)(addr_struct_p); if (netif_running(dev)) { ret

[PATCH] ide-floppy in 2.4.0 catches up to 2.2.18

2001-01-14 Thread Paul Bristow
Hi everyone, This patch is to bring the device support in the ide-floppy driver up to the same as that in the 2.2.18 kernel. Specifically, it adds IOMEGA Clik! drive and Apple Powerbook internal Zip support. Starts to tidy up the code using macros for debug and corrects the use of flags in se

Re: Is sendfile all that sexy?

2001-01-14 Thread J Sloan
Linus Torvalds wrote: > Of course, you may be right on wuftpd. It obviously wasn't designed with > security in mind, other alternatives may be better. I run proftpd on all my ftp servers - it's fast, configurable and can do all the tricks I need - even red hat seems to agree that proftpd is the

Re: Is sendfile all that sexy?

2001-01-14 Thread Linus Torvalds
On Sun, 14 Jan 2001, Gerhard Mack wrote: > > PS I wish someone would explain to me why distros insist on using WU > instead given it's horrid security record. I think it's a case of "better the devil you know..". Think of all the security scares sendmail has historically had. But it's a pret

Re: ide.2.4.1-p3.01112001.patch

2001-01-14 Thread Vojtech Pavlik
On Sun, Jan 14, 2001 at 08:38:23PM +0100, Jamie Lokier wrote: > > I think its significant that two reports I have are FIC PA-2013 but not all. > > What combination of chips is on the 2013 ? > > Reading through my mail logs, I know a board, either FIC PA-2011 or FIC > PA-2007 (I seem to have chan

Re: 2.4 ate my filesystem on rw-mount, getting closer

2001-01-14 Thread Vojtech Pavlik
On Sun, Jan 14, 2001 at 06:59:57PM +0100, Tobias Ringstrom wrote: > > I should also add that the 3.11 driver seems to make things better, but > not yet perfect. My intuition tells me that I get CRC errors much sooner > with 2.1e than with 3.11. > > Has the timings changed from 2.1e to 3.11, and

PROBLEM: Filesystem corruption with 2.4.1-pre3 and raid5

2001-01-14 Thread Holger Kiehl
Hello Doing some test where lots of small files get copied (and some large ones) around, I experienced filesystem corruption with 2.4.1-pre3. The system has a ASUS P2B-DS (onboard adaptec controller) with two P2-350, 256MB (one module) PC-100 222 SDRAM with ECC, with 4 SCSI disk and one IDE disk

Re: Where did vm_operations_struct->unmap in 2.4.0 go?

2001-01-14 Thread David Woodhouse
On Sun, 14 Jan 2001, Linus Torvalds wrote: > On Sun, 14 Jan 2001, David Woodhouse wrote: > > That's the one flaw in the inter_module_get() stuff - we could do with a > > way to put entries in the table at _compile_ time, rather than _only_ > > at run time. > Ok, I can buy that. Not having to i

Re: Is sendfile all that sexy?

2001-01-14 Thread Gerhard Mack
On Sun, 14 Jan 2001, Ingo Molnar wrote: > > On 14 Jan 2001, Linus Torvalds wrote: > > > Does anybody but apache actually use it? > > There is a Samba patch as well that makes it sendfile() based. Various > other projects use it too (phttpd for example), some FTP servers i > believe, and khttpd

Re: Is sendfile all that sexy?

2001-01-14 Thread Ingo Molnar
On Sun, 14 Jan 2001, Linus Torvalds wrote: > > There is a Samba patch as well that makes it sendfile() based. Various > > other projects use it too (phttpd for example), some FTP servers i > > believe, and khttpd and TUX. > > At least khttpd uses "do_generic_file_read()", not sendfile per se. I

Re: Where did vm_operations_struct->unmap in 2.4.0 go?

2001-01-14 Thread Linus Torvalds
On Sun, 14 Jan 2001, David Woodhouse wrote: > > That's the one flaw in the inter_module_get() stuff - we could do with a > way to put entries in the table at _compile_ time, rather than _only_ at > run time. Ok, I can buy that. Not having to initialize explicitly would be nice, but if so we s

Re: [PATCH] make drivers/scsi/atari_scsi.c check request_irq (240p3)

2001-01-14 Thread Rasmus Andersen
On Sun, Jan 14, 2001 at 04:29:11PM -0500, Jeff Garzik wrote: > request_irq returns zero on success, not on failure. Further, you need > to return the request_irq error value back to the caller, if possible. My, that was embarassing. I'll change this as soon as I trust myself with a keyboard ag

Re: Is sendfile all that sexy?

2001-01-14 Thread Linus Torvalds
On Sun, 14 Jan 2001, Ingo Molnar wrote: > > There is a Samba patch as well that makes it sendfile() based. Various > other projects use it too (phttpd for example), some FTP servers i > believe, and khttpd and TUX. At least khttpd uses "do_generic_file_read()", not sendfile per se. I assume TU

Re: SetPageDirty in shmem_nopage

2001-01-14 Thread Christoph Rohland
Linus Torvalds <[EMAIL PROTECTED]> writes: > On 14 Jan 2001, Christoph Rohland wrote: > Why do you increment the use counter at all in nopage? First to be able to limit the overall number of pages used by the filesystem and second to have the right value for the number of blocks in [f]stat. Sho

Re: [PATCH] make drivers/scsi/atari_scsi.c check request_irq (240p3)

2001-01-14 Thread Jeff Garzik
Rasmus Andersen wrote: > > Hi. > > The following patch makes drivers/scsi/atari_scsi.c check request_irq's > return code. It applies cleanly against 240p3 and ac9. > > Comments? > > --- linux-ac9/drivers/scsi/atari_scsi.c~Tue Nov 28 02:57:34 2000 > +++ linux-ac9/drivers/scsi/atari_scsi

Re: shmem or swapfs? was: [Patch] make shm filesystem part configurable

2001-01-14 Thread Christoph Rohland
Dominik Kubla <[EMAIL PROTECTED]> writes: > Well, it's tmpfs not only on SUN but for *BSD too. So i guess we should > follow the pack and use this name to avoid yet another "it's called this > under that Unix and this under the other and something else under Linux" > case. So does *BSD also hav

Re: Where did vm_operations_struct->unmap in 2.4.0 go?

2001-01-14 Thread David Woodhouse
On Sun, 14 Jan 2001, Linus Torvalds wrote: > This is what "request_module()" and "kmod" is all about. Once we probe the > hardware, the drievr itself can ask for more drivers. > > I completely fail to see the arguments that have been brought up for drm > doing ugly things. The code should simply

Re: eth1: Transmit timed out, status 0000, PHY status 0000

2001-01-14 Thread Mike A. Harris
On Sun, 14 Jan 2001, Urban Widmark wrote: >> eth1: Transmit timed out, status , PHY status , >> resetting... >[snip] >> Keeps going nonstop until I ifdown eth1. >> >> Card worked fine 2 days ago... > >So what did you change? Nothing. >Has the machine been up since then? No. I rebooted

Re: vmware 2.0.3, kernel 2.4.0 and a cdrom

2001-01-14 Thread Martin Tessun
Hi, I have the same problem. But if I say my CD-RW is the cdrom all works as expected (/dev/scd1). Also the capabilities aren't correct I think: Jan 14 21:26:31 worf kernel: sr0: scsi3-mmc drive: 0x/0x writer cd/rw caddy for my CDROM; it is a TEAC-CDROM without caddy, but tray and has a rea

Re: Is sendfile all that sexy?

2001-01-14 Thread Ingo Molnar
On 14 Jan 2001, Linus Torvalds wrote: > Does anybody but apache actually use it? There is a Samba patch as well that makes it sendfile() based. Various other projects use it too (phttpd for example), some FTP servers i believe, and khttpd and TUX. Ingo - To unsubscribe from this list:

Re: Is sendfile all that sexy?

2001-01-14 Thread Linus Torvalds
In article <[EMAIL PROTECTED]>, jamal <[EMAIL PROTECTED]> wrote: > >Before getting excited i had the courage to give plain 2.4.0-pre3 a whirl >and somethings bothered me. Note that "sendfile(fd, file, len)" is never going to be faster than "write(fd, userdata, len)". That's not the point of se

Re: Where did vm_operations_struct->unmap in 2.4.0 go?

2001-01-14 Thread Linus Torvalds
On Sun, 14 Jan 2001, David Woodhouse wrote: > > But in the case of the CFI probe code and also I believe DRM, we don't > actually know precisely which feature we're going to require until we've > done the hardware probe at runtime. That's ok. This is what "request_module()" and "kmod" is all

Re: Where did vm_operations_struct->unmap in 2.4.0 go?

2001-01-14 Thread David Woodhouse
On Sun, 14 Jan 2001, Linus Torvalds wrote: > Note that previously there _were_ order dependencies. In fact, I consider > it very tasteless to have modules that act differently on whether another > module is loaded. I saw some arguments saying that this is th "right > thing", and I disagree comple

Re: Kernel oops in tcp_ipv4.c

2001-01-14 Thread Patrick
[EMAIL PROTECTED] wrote: > > Hello! > > > Recently I tried 2.2.17, this kernel was up for about a month, before > > there was a kernel oops. The syslog messages are: > > This is caused by illegal setting of /proc/sys/net/ipv4/ip_local_port_range > with kernels before 2.2.18. > > Do not touch t

Re: [PATCH] make drivers/scsi/a3000.c check request_irq (240p3)

2001-01-14 Thread Rasmus Andersen
On Sun, Jan 14, 2001 at 07:49:35PM +0100, Rasmus Andersen wrote: > Comments? > Well, Hans Grobler had some. the patch below tries to accommodate them by adding scsi_unregister() and wd33c93_release() to the earlier patch. Sorry for the multiple mailings. (Any other) comments? :) --- linux-ac9

vmware 2.0.3, kernel 2.4.0 and a cdrom

2001-01-14 Thread Martin Maciaszek
Since I installed Kernel 2.4.0 VMware is no longer able to recognize my cdrom drive. VMware shows a dialog box on power up with following content: [...] CDROM: '/dev/scd0' exists, but does not appear tobe a CDROM device. Error connecting the CDROM device [...] At the same time my syslog records

Re: USB Mass Storage in 2.4.0

2001-01-14 Thread Jamie Lokier
Robert J. Bell wrote: > I have a Fujufilm FX-1400 digital camera that uses the USB Mass Storage > driver. I know it works because I had it working in 2.4.0-test12, and in > 2.4.0 however I had a major system failure and lost my new kernel. Fwiw, I have a Fujifilm FinePix 2400Zoom and it appear

Re: Kernel oops in tcp_ipv4.c

2001-01-14 Thread kuznet
Hello! > Recently I tried 2.2.17, this kernel was up for about a month, before > there was a kernel oops. The syslog messages are: This is caused by illegal setting of /proc/sys/net/ipv4/ip_local_port_range with kernels before 2.2.18. Do not touch this value or change it to something reasonable

Re: Question regarding driver developement

2001-01-14 Thread Manfred Spraul
> The only way I have found so far is to write have two FIFO buffers in the > driver (in and out) and use a daemon running in user space to manage the > disk access. Have you thought about using mmap and raw-io? * the kernel driver allocates a fifo (probably a ring?) buffer. The driver implemen

Re: ide.2.4.1-p3.01112001.patch

2001-01-14 Thread Jamie Lokier
Alan Cox wrote: > I think its significant that two reports I have are FIC PA-2013 but not all. > What combination of chips is on the 2013 ? Reading through my mail logs, I know a board, either FIC PA-2011 or FIC PA-2007 (I seem to have changed my mind somewhere in history) with a 6.4G Quantum Fir

Re: [PATCH] make drivers/scsi/atari_scsi.c check request_irq (240p3)

2001-01-14 Thread Rasmus Andersen
Hi again and sorry for the noise. Hans Grobler kindly pointed me towards scsi_unregister which I heppily had ignored. The following patch includes this function in the exit paths. Otherwise it is identical to the earlier one. --- linux-ac9/drivers/scsi/atari_scsi.c.org Sun Jan 14 19:41:56 2

Lucent Microelectronics Venus Modem, serial 5.05, and Linux 2.4.0

2001-01-14 Thread W. Michael Petullo
Theodore, et al., I have a Lucent Microelectronics Venus Modem (V90, 56KFlex) (rev 0) based modem which /almost/ works with your serial driver. Giving the modem an ATI command returns AEIGPM560LKTF1. The company that manufactures the modem calls it a PM560LKC 56K Internal PCI Call Waiting Modem

Re: SetPageDirty in shmem_nopage

2001-01-14 Thread Linus Torvalds
On 14 Jan 2001, Christoph Rohland wrote: > > Since we do not mark the page dirty at allocation time the vm can drop > it at any time as long as it is not written to. But shmem never > adjusts its accounting to that and will happily increase the use > counter for both the inode and the fs. Why

Re: Is sendfile all that sexy?

2001-01-14 Thread jamal
On Sun, 14 Jan 2001, Ingo Molnar wrote: > > in this case there could still be valid performance differences, as > copying from user-space is cheaper than copying from the pagecache. To > rule out SMP interactions, you could try a UP-IOAPIC kernel on that box. > Let me complete this with the ZC

Re: ENOMEM on socket writes

2001-01-14 Thread kuznet
Hello! > memory". Rsync is writing on a socket which is set non-blocking and > the write is apparently returning ENOMEM. This must not happen with stock 2.4.0. TCP never returns ENOMEM. Please, investigate. But application should be ready to get this error yet. > >From the point of view of t

Re: Where did vm_operations_struct->unmap in 2.4.0 go?

2001-01-14 Thread Linus Torvalds
On Sun, 14 Jan 2001, David Woodhouse wrote: > > But I have no particular attachment to it. All I'm asking for is a way to > avoid having init order dependencies where previously there was no need > for them, by having a way to put entries in the inter_module_get() table > at compile time. Note

Re: Is sendfile all that sexy?

2001-01-14 Thread Ingo Molnar
On Sun, 14 Jan 2001, jamal wrote: > Already doing the single file, single process. [...] in this case there could still be valid performance differences, as copying from user-space is cheaper than copying from the pagecache. To rule out SMP interactions, you could try a UP-IOAPIC kernel on that

Re: old binary works not with 2.2.18 (fwd)

2001-01-14 Thread kees
Hi, I tried a little further, 2.2.19p2 still works, 2.2.19p3 not. /usr/SCULPTOR/bin/sage: Microsoft a.out separate pure segmented word-swapped V2.3 V3.0 386 small model executable I *did* rebuilt my iBCS each time after building (and rebooting) a different kernel version. Kees - To unsu

Re: Is sendfile all that sexy?

2001-01-14 Thread jamal
On Sun, 14 Jan 2001, Ingo Molnar wrote: > > i believe what you are seeing here is the overhead of the pagecache. When > using sendmsg() only, you do not read() the file every time, right? Is In that case just a user space buffer is sent i.e no file association. > ttcp using multiple threads?

Re: 2.4 ate my filesystem on rw-mount, getting closer

2001-01-14 Thread Tobias Ringstrom
I should also add that the 3.11 driver seems to make things better, but not yet perfect. My intuition tells me that I get CRC errors much sooner with 2.1e than with 3.11. Has the timings changed from 2.1e to 3.11, and would it be easy to modify 3.11 to get extra safe/paranoid, but less high perf

Re: set_page_dirty/page_launder deadlock

2001-01-14 Thread Linus Torvalds
On Sun, 14 Jan 2001, David S. Miller wrote: > > Marcelo Tosatti writes: > > > > While taking a look at page_launder()... > > ... > > > set_page_dirty() may lock the pagecache_lock which means potential > > deadlock since we have the pagemap_lru_lock locked. > > Indeed, the following sh

[PATCH] make drivers/scsi/atari_scsi.c check request_irq (240p3)

2001-01-14 Thread Rasmus Andersen
Hi. The following patch makes drivers/scsi/atari_scsi.c check request_irq's return code. It applies cleanly against 240p3 and ac9. Comments? --- linux-ac9/drivers/scsi/atari_scsi.c~Tue Nov 28 02:57:34 2000 +++ linux-ac9/drivers/scsi/atari_scsi.c Sun Jan 14 19:28:00 2001 @@ -690,19 +690

Re: Is sendfile all that sexy?

2001-01-14 Thread Ingo Molnar
On Sun, 14 Jan 2001, jamal wrote: > regular ttcp, no ZC and no sendfile. [...] > Throughput: ~99MB/sec (for those obsessed with Mbps ~810Mbps) > CPU abuse: server side 87% client side 22% [...] > sendfile server. > - throughput: 86MB/sec > - CPU: server 100%, client 17% i believe what you are

[PATCH] make drivers/scsi/a3000.c check request_irq (240p3)

2001-01-14 Thread Rasmus Andersen
Hi. (I cannot seem to find a maintainer for this code.) The following patch makes drivers/scsi/a3000.c check the return from request_irq. Applies cleanly against 2.4.0 and ac9. Comments? --- linux-ac9/drivers/scsi/a3000.c.org Sun Jan 14 13:47:32 2001 +++ linux-ac9/drivers/scsi/a3000.c S

Re: Spinlocking patch for in xprt.c

2001-01-14 Thread Trond Myklebust
> " " == David S Miller <[EMAIL PROTECTED]> writes: > Trond, did you actually look at how this code works before you > made modifications to my fixes? > xprt_lock serializes sleep/wakeup sequences in the xprt code, > so you cannot remove xprt_lock from the sections where

Re: PROBLEM: aic7xxx hangs 2.4.0 with SMP

2001-01-14 Thread Widmann Thomas
Hi * Bruce Collins wrote: > Linux shockwave.linux2go.org 2.4.0 #5 SMP Sun Jan 14 10:01:24 EST 2001 > i686 unknown > Kernel modules 2.3.16 You need modutils >= 2.4.0 Check out Documentation/Changes ciao Thomas - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Is sendfile all that sexy?

2001-01-14 Thread jamal
I thought i'd run some tests on the new zerocopy patches (this is using a hacked ttcp which knows how to do sendfile and does MSG_TRUNC for true zero-copy receive, if you know what i mean ;-> ). 2 back to back SMP 2*PII-450Mhz hooked up via 1M acenics (gigE). MTU 9K. Before getting excited i h

SetPageDirty in shmem_nopage

2001-01-14 Thread Christoph Rohland
Hi Linus, While playing with the shmem read/write support I realised that the accounting for shmem is broken: Since we do not mark the page dirty at allocation time the vm can drop it at any time as long as it is not written to. But shmem never adjusts its accounting to that and will happily inc

Re: 2.4.0-pre3+zerocopy: weird messages

2001-01-14 Thread Petru Paler
On Sun, Jan 14, 2001 at 05:21:33AM -0800, David S. Miller wrote: > Petru Paler writes: > > Got more "udp v4 hw csum failure" messages but still no "UDP packet > > with bad csum was fragmented". > > OK, last experiment :-) Add this patch, and watch to see if > the UDP "InErrors" field in /proc/

PROBLEM: aic7xxx hangs 2.4.0 with SMP

2001-01-14 Thread Bruce Collins
[1] aic7xxx hangs 2.4.0 with SMP [2] SCSI device errors that only occur in a SMP machine with an aic7xxx with 2.4.0. The problem manifests itself with multiple SCSI bus resets and data error. [3] SMP SCSI aic7xxx [4] Linux version 2.4.0 ([EMAIL PROTECTED]) (gcc version egcs-2.91.66 19990314/Linux

Re: Where did vm_operations_struct->unmap in 2.4.0 go?

2001-01-14 Thread David Woodhouse
On 13 Jan 2001, Linus Torvalds wrote: > You miss _entirely_ the reason why "get_module_symbol()" was removed, > and why I will not _ever_ accept it coming back. > > Hint #1: get_MODULE_symbol(). > Hint #2: compiled in functionality. Er,... forgive me if I'm being overly dense here, but I can't

Re: 2.4 ate my filesystem on rw-mount, getting closer

2001-01-14 Thread Tobias Ringstrom
On Sun, 14 Jan 2001, Vojtech Pavlik wrote: > > > So the drive *did* work on the vt82c686a in the A7V board? You tested it > > > both on the Promise and on the 686a? But doesn't work on the 686a in > > > your other board? > > > > Yes, on both the Promise and on the 686a. But the device revisions a

Re: ide.2.4.1-p3.01112001.patch

2001-01-14 Thread David Woodhouse
On Sat, 13 Jan 2001, Linus Torvalds wrote: > Somebody who can test it needs to send me a patch - I'm NOT going to apply > patches that haven't been tested and that I cannot test myself. This patch has worked for me and is obvious enough that I haven't bothered to rewire my box to put the IBM dr

/proc/*/mem permissions (2.2.19pre6)

2001-01-14 Thread Ben De Rydt
[1.] One line summary of the problem: /proc/*/mem/ permissions default to -rw--- root root [2.] Full description of the problem/report: $ uname -r 2.2.19pre6 $ ps PID TTY TIME CMD 1646 pts/200:00:00 bash2 1649 pts/200:00:00 mutt 1703 pts/200:00:00 vim 1753 pt

  1   2   >