Re: No 100 HZ timer!

2001-04-12 Thread Ben Greear
Bret Indrelee wrote: > > On Thu, 12 Apr 2001, george anzinger wrote: > > Bret Indrelee wrote: > > > > > > On Thu, 12 Apr 2001, george anzinger wrote: > > > > Bret Indrelee wrote: > > > > > Keep all timers in a sorted double-linked list. Do the insert > > > > > intelligently, adding it from the

Sudden scsi timeouts on main disk.

2001-04-12 Thread Rafael E. Herrera
Hi, While playing a dvd I was plugging a headphone and my machine froze and had to reset. The machine was running 2.4.3 with the new aha7xxx driver. I booted back into 2.2.18. It took a while to get pass the scsi BIOS. It finally detected all the drives, but lilo would not find the scsi disk

Yacc in 2.4.3 causes kernel compile to fail (aicasm_gram.y)

2001-04-12 Thread David E. Weekly
There is a singular Yacc file in 2.4.3: linux/drivers/scsi/aic7xxx/aicasm/aicasm_gram.y This is the first time I remember seeing a Yacc file in the Linux kernel source code, but I'm young and stupid. Since the default Makefile mapping for .y files is to call yacc, and since I have bison on my

more via wierdness

2001-04-12 Thread Ed Tomlinson
Hi, Strange thing that shows up here. Using a MB with a MVP3 chipset I have hda - 13G udma2 hdb - nothing physical but the driver does not always agree hdc - cdrom udma2 sometimes... hdd - HP Colorada 20GB tape dma - sometimes... I say sometimes for the devices ide1 since what /proc/ide/via

[BUG] ide-tape is readonly here

2001-04-12 Thread Ed Tomlinson
Hi, Upgraded to ac5 tonight. Problems with 8139too.o caused a few crashes and scrambled a few files. Restoring them was fun. Seems that while ide-tape can write to my 'HP Colorado 20G' drive, it gets an I/O error when it trys to read... If I flip to ide-scsi and friends (much slower for

Re: k 2.4.2; usb; handspring-visor

2001-04-12 Thread Bob McElrath
Erik DeBill [[EMAIL PROTECTED]] wrote: > On Wed, Apr 11, 2001 at 08:52:30AM -0500, John Madden wrote: > > > Apr 8 23:33:09 horus kernel: hub.c: USB new device connect on bus1/1, > > > assigned device number 5 > > > Apr 8 23:33:12 horus kernel: usb_control/bulk_msg: timeout > > > Apr 8 23:33:12

[BUG] 8139too 'too much work at interrupt'

2001-04-12 Thread Ed Tomlinson
Hi, Upgraded to ac5 tonight. It stalled shortly after start a program to suck news. Looking at a serial console I see hundreds of the above message with a status of intrStatus = 0x0001 Sysrq was active on the serial console so I did a T and P before syncing are rebooting... If the

Re: bug in natsemi driver 1.07 for linux 2.4.2

2001-04-12 Thread Troy Benjegerdes
On Fri, Mar 30, 2001 at 07:04:29AM +0200, Sebastian Klemke wrote: > Hi! > > The driver for the natsemi NIC does not properly filter out requested > multicast groups when in multicast mode. Multicast groups I joined > are simply dropped by the MAC address filter of the card, the kernel > filters

Re: [PATCH] Re: memory usage - dentry_cacheg

2001-04-12 Thread Ed Tomlinson
On Thursday 12 April 2001 22:03, Alexander Viro wrote: > On Thu, 12 Apr 2001, Ed Tomlinson wrote: > > On Thursday 12 April 2001 11:12, Alexander Viro wrote: > > What prompted my patch was observing situations where the icache (and > > dcache too) got so big that they were applying artifical

Re: k 2.4.2; usb; handspring-visor

2001-04-12 Thread Erik DeBill
On Wed, Apr 11, 2001 at 08:52:30AM -0500, John Madden wrote: > > Apr 8 23:33:09 horus kernel: hub.c: USB new device connect on bus1/1, > > assigned device number 5 > > Apr 8 23:33:12 horus kernel: usb_control/bulk_msg: timeout > > Apr 8 23:33:12 horus kernel: usb.c: USB device not accepting

natsemi.c still broken...

2001-04-12 Thread Troy Benjegerdes
On Wed, Apr 11, 2001 at 09:32:36PM -0500, Troy Benjegerdes wrote: > On Wed, Mar 28, 2001 at 12:58:57PM -0500, Jeff Garzik wrote: > > There are some improvements in the latest 2.4 test patch, 2.4.3-pre8. I > > would be very interested in hearing feedback on that. I finally got two > > test

Re: Linux-Kernel Archive: No 100 HZ timer !

2001-04-12 Thread Andre Hedrick
On Thu, 12 Apr 2001, george anzinger wrote: > Actually we could do the same thing they did for errno, i.e. > > #define jiffies get_jiffies() > extern unsigned get_jiffies(void); > No, not really. HZ still defines the units of jiffies and most all the > timing is still related to it. Its just

Re: Help with Fasttrack/100 Raid on Linux

2001-04-12 Thread Andre Hedrick
Stephen, Just telling me this fact is preaching to the choir, you have to express this on the mailing list, so others can hear first hand that you dislike the product and their support is non-existant. You will get no support for kernels that are not precompiled with distros, that will be a

Re: No 100 HZ timer!

2001-04-12 Thread Bret Indrelee
On Thu, 12 Apr 2001, george anzinger wrote: > Bret Indrelee wrote: > > > > On Thu, 12 Apr 2001, george anzinger wrote: > > > Bret Indrelee wrote: > > > > Keep all timers in a sorted double-linked list. Do the insert > > > > intelligently, adding it from the back or front of the list depending on

Re: POSIX 52 53? 54

2001-04-12 Thread yodaiken
POSIX 1003.13 defines profiles 51-4 where 51 is a single POSIX process with multiple threads (RTLinux) and 54 is a full POSIX OS with the RT extensions (Linux). On Thu, Apr 12, 2001 at 08:15:34PM -0700, george anzinger wrote: > Any one know any thing about a POSIX draft 52 or 53 or 54. I think

POSIX 52 53? 54

2001-04-12 Thread george anzinger
Any one know any thing about a POSIX draft 52 or 53 or 54. I think they are suppose to have something to do with real time. Where can they be found? What do they imply for the kernel? George - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: Linux-Kernel Archive: No 100 HZ timer !

2001-04-12 Thread george anzinger
Andre Hedrick wrote: > > On Fri, 13 Apr 2001, Alan Cox wrote: > > > > Okay but what will be used for a base for hardware that has critical > > > timing issues due to the rules of the hardware? > > > > > #define WAIT_MIN_SLEEP (2*HZ/100) /* 20msec - minimum sleep time */ > > > > > > Give

BUG at exit.c:458

2001-04-12 Thread Arthur Pedyczak
Hi all, After running 2.4.3 for 9 days my system froze when copying a cd (dd if=/dev/cdrom of=file) After rebooting I found the following in the syslog: === Apr 12 22:05:28 cs865114-a kernel: Unable to handle kernel paging request at virtual

Re: Problem with 2.4.1/2.4.3 and CD-RW ide-scsi drive

2001-04-12 Thread Tim Meushaw
On Thu, Apr 12, 2001 at 09:32:40PM -0400, Douglas Gilbert wrote: > At the risk of Jens jumping on this post, I think > there was some problem mounting cdroms that is > fixed in the "ac" series, the latest of which is > 2.4.3-ac5 . Perhaps you could try it and report > back. Okay, I'll give that

Re: [PATCH] Re: memory usage - dentry_cacheg

2001-04-12 Thread Alexander Viro
On Thu, 12 Apr 2001, Ed Tomlinson wrote: > On Thursday 12 April 2001 11:12, Alexander Viro wrote: > What prompted my patch was observing situations where the icache (and dcache > too) got so big that they were applying artifical pressure to the page and > buffer caches. I say artifical since

Re: [PATCH] Re: memory usage - dentry_cacheg

2001-04-12 Thread Ed Tomlinson
On Thursday 12 April 2001 11:12, Alexander Viro wrote: > On Thu, 12 Apr 2001, Rik van Riel wrote: > > On Thu, 12 Apr 2001, Ed Tomlinson wrote: > > > I have been playing around with patches that fix this problem. What > > > seems to happen is that the VM code is pretty efficent at avoiding the >

Re: Problem with 2.4.1/2.4.3 and CD-RW ide-scsi drive

2001-04-12 Thread Douglas Gilbert
Tim Meushaw <[EMAIL PROTECTED]> wrote: > I've got an update for this problem I emailled about > last night (and for which I only received one reply :-) ). > > Strangely enough, I'm able to actually burn a CD > using the cd-rw described below, and can verify > data written to it (using

Re: Problem: Random paging request errors

2001-04-12 Thread Jon Eisenstein
> > (2) Every so often, I get a non-fatal error on my screen about a > > kernel paging request error. > > If it's usually the same address, we're probably dealing with > a kernel bug. If you always get different addresses, chances > are your RAM is broken (you can test this with memtest86). I

Re: Problem with 2.4.1/2.4.3 and CD-RW ide-scsi drive

2001-04-12 Thread Tim Meushaw
I've got an update for this problem I emailled about last night (and for which I only received one reply :-) ). Strangely enough, I'm able to actually burn a CD using the cd-rw described below, and can verify data written to it (using X-CD-Roast). I still can't actually mount a cd in the drive

Re: Proposal for a new PCI function call

2001-04-12 Thread Alan Cox
> Hmmm, I was wondering if could come up with a pretty way to do this on > 32 bit boxes that wants to enable highmem DMA. Right now > pci_set_dma_mask() wants a dma_addr_t which means you have to do > #ifdef CONFIG_HIGHMEM #else #endif. > > Introducing a new function that takes bit flags as

system call logging in userspace

2001-04-12 Thread Chad Hogan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I'm not very experienced with dealing directly with the kernel, so I was hoping for a little advice... I'd like to implement some sort of rudimentary (file)system-call logging.   Specifically, I'd like information about write, open, creat,

Re: Proposal for a new PCI function call

2001-04-12 Thread Jes Sorensen
> "Jeff" == Jeff Garzik <[EMAIL PROTECTED]> writes: >> I think the function idea would let us do some sanity checking to >> make sure drivers weren't setting this to 64bit on non-64 bit >> busses and stuff. Jeff> pci_set_dma_mask. Modify that to do the additional checks you Jeff> need.

Re: generic_osync_inode() broken?

2001-04-12 Thread Marcelo Tosatti
On Thu, 12 Apr 2001, Linus Torvalds wrote: > > > On Thu, 12 Apr 2001, Marcelo Tosatti wrote: > > > > Comments? > > > > --- fs/inode.c~ Thu Mar 22 16:04:13 2001 > > +++ fs/inode.c Thu Apr 12 15:18:22 2001 > > @@ -347,6 +347,11 @@ > > #endif > > > > spin_lock(_lock); > > + while

Re: Help with Fasttrack/100 Raid on Linux

2001-04-12 Thread Alan Cox
> > > FrastTrack/100 Raid controller working. I finally found the ft.o driver > > Did you try building it from source? Their docs say beta ft.o is RH 6.2-7.0 > which would make me a bit nervous. > > ftp://ftp.promise.com/Controllers/IDE/FastTrak100/Linux/LinuxBETA/ They dont supply most of

Re: Help with Fasttrack/100 Raid on Linux

2001-04-12 Thread Tim Moore
> > FrastTrack/100 Raid controller working. I finally found the ft.o driver Did you try building it from source? Their docs say beta ft.o is RH 6.2-7.0 which would make me a bit nervous. ftp://ftp.promise.com/Controllers/IDE/FastTrak100/Linux/LinuxBETA/ -- - To unsubscribe from this list:

Re: Linux 2.4.3-ac5

2001-04-12 Thread Andrea Arcangeli
On Thu, Apr 12, 2001 at 07:17:26PM -0400, Greg Louis wrote: > On 20010412 (Thu) at 1726:11 +0100, Alan Cox wrote: > > > > 2.4.3-ac5 > > > o Fix rwsem compile problem (me) > > No such luck, I fear, at least not with egcs-2.91.66: > /u

Re: Linux-Kernel Archive: No 100 HZ timer !

2001-04-12 Thread Andre Hedrick
On Fri, 13 Apr 2001, Alan Cox wrote: > > Okay but what will be used for a base for hardware that has critical > > timing issues due to the rules of the hardware? > > > #define WAIT_MIN_SLEEP (2*HZ/100) /* 20msec - minimum sleep time */ > > > > Give me something for HZ or a rule for

Re: Linux 2.4.3-ac5

2001-04-12 Thread Greg Louis
On 20010412 (Thu) at 1726:11 +0100, Alan Cox wrote: > > 2.4.3-ac5 > o Fix rwsem compile problem (me) No such luck, I fear, at least not with egcs-2.91.66: /usr/src/linux-2.4.3ac5/include/asm/rwsem.h:26: badly punctuated parameter list in #define' /usr/

Re: Linux-Kernel Archive: No 100 HZ timer !

2001-04-12 Thread Alan Cox
> Okay but what will be used for a base for hardware that has critical > timing issues due to the rules of the hardware? > #define WAIT_MIN_SLEEP (2*HZ/100) /* 20msec - minimum sleep time */ > > Give me something for HZ or a rule for getting a known base so I can have > your storage work

Re: [test-PATCH] Re: [QUESTION] 2.4.x nice level

2001-04-12 Thread Pozsar Balazs
On Wed, Apr 11, 2001 at 12:53:16PM -0300, Rik van Riel wrote: > On Wed, 11 Apr 2001, Rik van Riel wrote: > > > OK, here it is. It's nothing like montavista's singing-dancing > > scheduler patch that does all, just a really minimal change that > > should stretch the nice levels to yield the

Re: Help with Fasttrack/100 Raid on Linux

2001-04-12 Thread Andre Hedrick
Stephen, Sorry but that is a closed source driver and you have to goto Promise, LOL. Last time I talked to them they sent me an email virus that choked a drive. Scan your mail first and then count your fingers if you have to shake hands with somebody their Andre Hedrick Linux ATA

Unable to use ethernet after suspend and smbmount (laptop)

2001-04-12 Thread Kevin A. Burton
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK. This is Kernel 2.4.3. If I smbmount an exported filesystem from another GNU/Linux machine and then suspend my laptop, after I resume I am unable to use the network at all. I really think this is a bug raised by another bug. The xirc2ps_cs

Re: scheduler went mad?

2001-04-12 Thread Valdis . Kletnieks
On Fri, 13 Apr 2001 01:02:21 +0200, Szabolcs Szakacsits said: > Not __alloc_pages() calls oom_kill() however do_page_fault(). Not the > same. After the system tried *really* hard to get *one* free page and > couldn't managed why loop forever? To eat CPU and waiting for For what it's worth, this

Re: No 100 HZ timer!

2001-04-12 Thread george anzinger
Bret Indrelee wrote: > > On Thu, 12 Apr 2001, george anzinger wrote: > > Bret Indrelee wrote: > > > Keep all timers in a sorted double-linked list. Do the insert > > > intelligently, adding it from the back or front of the list depending on > > > where it is in relation to existing entries. > >

Re: ide.2.2.19.04092001.patch

2001-04-12 Thread Andre Hedrick
On Thu, 12 Apr 2001, Shane Wegner wrote: > On Thu, Apr 12, 2001 at 03:05:53PM -0700, Andre Hedrick wrote: > > > > So you want a VIA-old and VIA-new ?? > > Hi, > > Is the version of the driver in the latest IDE patch v4.x? > That's odd as that driver does work fine on Linux 2.4.3. > It's

Re: 8139too: defunct threads

2001-04-12 Thread David Woodhouse
[EMAIL PROTECTED] said: > ho-hum. Jeff, I think the best fix here is to bite the bullet and > write kernel_daemon(), which will delegate thread creation to keventd, > which is the only thing we have which reaps zombies. Any better > ideas? Yes. Let init do it, as God intended. Why reap

Re: ide.2.2.19.04092001.patch

2001-04-12 Thread Shane Wegner
On Thu, Apr 12, 2001 at 03:05:53PM -0700, Andre Hedrick wrote: > > So you want a VIA-old and VIA-new ?? Hi, Is the version of the driver in the latest IDE patch v4.x? That's odd as that driver does work fine on Linux 2.4.3. It's just the one in 2.2.19+ide.2.2.19.0405 which seems to be

Re: ide.2.2.19.04092001.patch

2001-04-12 Thread Andre Hedrick
So you want a VIA-old and VIA-new ?? On Tue, 10 Apr 2001, Shane Wegner wrote: > On Mon, Apr 09, 2001 at 05:33:13PM -0700, Andre Hedrick wrote: > > > > This is up with some updates > Hi, > > This isn't working here on my Abit VP6 board. The > ide.2.2.18.1221 works fine but this latest patch

Re: (ide.2.2.19.04092001.patch:) DiskPerf compile problem

2001-04-12 Thread Andre Hedrick
http://www.xx.kernel.org/pub/linux/kernel/people/hedrick/utility-patches/DiskPerf-1.0.4.tar.gz http://www.xx.kernel.org/pub/linux/kernel/people/hedrick/utility-patches/DiskPerf-1.0.4.tar.bz2 Cheers, Andre Hedrick Linux ATA Development ASL Kernel Development

Re: Incorect signal handling ?

2001-04-12 Thread Doug McNaught
Daniel Podlejski <[EMAIL PROTECTED]> writes: > Hi, > > there is litlle programm: > > signal (SIGALRM, empty); > alarm (1); > > a = read(fd, buf, 511); > > while (a && a != -1) a = read(fd, buf, 511); > I open /tmp/nic and run compiled program. > There should be

Re: scheduler went mad?

2001-04-12 Thread Szabolcs Szakacsits
On Thu, 12 Apr 2001, Rik van Riel wrote: > On Thu, 12 Apr 2001, Szabolcs Szakacsits wrote: > > You mean without dropping out_of_memory() test in kswapd and calling > > oom_kill() in page fault [i.e. without additional patch]? > No. I think it's ok for __alloc_pages() to call oom_kill() > IF we

Re: Linux-Kernel Archive: No 100 HZ timer !

2001-04-12 Thread Andre Hedrick
Okay but what will be used for a base for hardware that has critical timing issues due to the rules of the hardware? I do not care but your drives/floppy/tapes/cdroms/cdrws do: /* * Timeouts for various operations: */ #define WAIT_DRQ(5*HZ/100) /* 50msec - spec allows up to 20ms

Re: RTC !!

2001-04-12 Thread David Woodhouse
[EMAIL PROTECTED] said: > The RTC interrupt is programmable from 2 Hz to 8192 Hz, in powers of > 2. So the interrupts that you could get are one of the following: > 0.122ms, .244ms, .488ms, .977ms, 1.953ms, 3.906ms, 7.813ms, and so on. >Is there any workaround , so that i can use RTC for

Oscillations in disk write compaction, poor interactive performance

2001-04-12 Thread SodaPop
Subject: Oscillations in disk write compaction The following data sets are the output of a small program that reads a random 4k block from a large data file, makes a trivial alteration to the block, and writes the block back into the file (in place). In all three cases the file is larger than

Re: 8139too: defunct threads

2001-04-12 Thread Rod Stewart
On Thu, 12 Apr 2001, Andrew Morton wrote: > Rod Stewart wrote: > > > > On Thu, 12 Apr 2001, Andrew Morton wrote: > > > Is there something unusual about your setup? > > > > One box is standard PIII with RH 7.0, the other is a custom Crusoe TM5400 > > board. But from further investigation it

Re: 8139too: defunct threads

2001-04-12 Thread Andrew Morton
Rod Stewart wrote: > > On Thu, 12 Apr 2001, Andrew Morton wrote: > > Is there something unusual about your setup? > > One box is standard PIII with RH 7.0, the other is a custom Crusoe TM5400 > board. But from further investigation it appears to be a kernel config > option. As I've got a

Re: Incorect signal handling ?

2001-04-12 Thread Richard B. Johnson
On Thu, 12 Apr 2001, Daniel Podlejski wrote: > Hi, > > there is litlle programm: > > #include > #include > #include > #include > #include > #include > #include > > static void empty(int sig) > { > printf ("hello\n"); > return; > } > > void main() > { > int fd, a; >

Re: goodbye

2001-04-12 Thread Mike Fedyk
On Sat, Apr 07, 2001 at 11:17:29PM -0500, David Fries wrote: > There is a lot of comfort looking at /var/log/mail.log and seeing mail > accepted by the computer servicing the other person's account. Now > all I have is, accepted by university, hope it gets there... > While I operate my own mail

Re: List of all-zero .data variables in linux-2.4.3 available

2001-04-12 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:Ulrich Drepper <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > "Adam J. Richter" <[EMAIL PROTECTED]> writes: > > > >Shouldn't a compiler be able to deal with this instead? > > > > Yes. > > No. gcc must not do this. There are

Re: 8139too: defunct threads

2001-04-12 Thread Rod Stewart
On Thu, 12 Apr 2001, Andrew Morton wrote: > Rod Stewart wrote: > > > > On Thu, 12 Apr 2001, Andrew Morton wrote: > > > Rod Stewart wrote: > > > > > > > > Hello, > > > > > > > > Using the 8139too driver, 0.9.15c, we have noticed that we get a defunct > > > > thread for each device we have; if the

[upatch #11] 2.4.3-ac5 - static const char *foo to static char foo[]

2001-04-12 Thread Francois Romieu
Hello, it compiles fine and there is no MAINTAINER entry for it nor specific email address in the source file. diff -u --recursive linux-2.4.3-ac5.orig/drivers/char/keyboard.c linux-2.4.3-ac5/drivers/char/keyboard.c --- linux-2.4.3-ac5.orig/drivers/char/keyboard.cThu Apr 12 20:23:06

Re: [PATCH] 4th try: i386 rw_semaphores fix

2001-04-12 Thread D . W . Howells
Andrew Morton wrote: > It still doesn't compile with gcc-2.91.66 because of the "#define > rwsemdebug(FMT, ...)" thing. What can we do about this? Hmmm... It probably needs to be made conditional on the version of the compiler by means of the macros that hold the version numbers. > I

Re: CML2 1.0.0 doesn't remember configuration changes

2001-04-12 Thread Ingo Oeser
On Wed, Apr 11, 2001 at 10:06:46PM -0400, [EMAIL PROTECTED] wrote: > Editconfig was a mistake. OK, I think I understand the rules now. Is it: > > (1) First, try to read from .config > (2) If .config doesn't exist, read from $(ARCH)/defconfig > > ? Right. But with the following constraints:

Re: No 100 HZ timer!

2001-04-12 Thread Bret Indrelee
On Thu, 12 Apr 2001, george anzinger wrote: > Bret Indrelee wrote: > > Keep all timers in a sorted double-linked list. Do the insert > > intelligently, adding it from the back or front of the list depending on > > where it is in relation to existing entries. > > I think this is too slow,

Re: 8139too: defunct threads

2001-04-12 Thread Alan Cox
> Plus it would mean that the kernel requires, for its > correct operation, that process "1" is a child reaper. > Is this a good thing? That is already required. The rest of the reparenting functionality is also in kernel/exit.c already - To unsubscribe from this list: send the line

O_DIRECT

2001-04-12 Thread Andrea Arcangeli
I wrote the O_DIRECT zerocopy raw I/O support (dma from disk to the userspace memory through the filesystem). The patch against 2.4.4pre2 + rawio-3 is here: ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/patches/v2.4/2.4.4pre2/o_direct-1 Only ext2 is supported at the moment,

Re: 8139too: defunct threads

2001-04-12 Thread Andrew Morton
Rod Stewart wrote: > > On Thu, 12 Apr 2001, Andrew Morton wrote: > > Rod Stewart wrote: > > > > > > Hello, > > > > > > Using the 8139too driver, 0.9.15c, we have noticed that we get a defunct > > > thread for each device we have; if the driver is built into the kernel. > > > If the driver is

Re: new aic7xxx driver problems

2001-04-12 Thread Justin T. Gibbs
>> Can you elaborate on what you had to modify ? > >I just added AHC_ULTRA to the features of 7850 > >AHC_AIC7850_FE = AHC_SPIOCAP|AHC_AUTOPAUSE|AHC_TARGETMODE|AHC_ULTRA, > ^^ What's the PCI id of the card you are using? >Plain

Incorect signal handling ?

2001-04-12 Thread Daniel Podlejski
Hi, there is litlle programm: #include #include #include #include #include #include #include static void empty(int sig) { printf ("hello\n"); return; } void main() { int fd, a; char buf[512]; if (fd = open("/tmp/nic", O_RDONLY) < 0) {

Re: 8139too: defunct threads

2001-04-12 Thread Andrew Morton
Alan Cox wrote: > > > swapper doesn't know how to reap children, and > > AFAIK there's no way for a kernel thread to fully clean itself > > up. This is always done by the parent. > > Make daemonize() move threads with parent 0 to parent 1 Reparenting would require diving inside this lot:

Re: badly punctuated parameter list in `#define' (2.4.3-ac5 and 2 .4.4 -pre2)

2001-04-12 Thread Wayne . Brown
Drat, I just noticed my #$@%&$ email program word-wrapped some of the long lines. The four lines that contain just while(0) should be appended (preceded by a space) to the lines just previous to them. Wayne Christoph Hellwig <[EMAIL PROTECTED]> on 04/12/2001 03:16:38 PM To: Wayne

Re: new aic7xxx driver problems

2001-04-12 Thread Giuliano Pochini
> >I have two Adaptec 2930CU (ultra narrow) cards. I modified the driver to > >make them work in ultra mode. > > Can you elaborate on what you had to modify ? I just added AHC_ULTRA to the features of 7850 AHC_AIC7850_FE = AHC_SPIOCAP|AHC_AUTOPAUSE|AHC_TARGETMODE|AHC_ULTRA,

Re: scheduler went mad?

2001-04-12 Thread Rik van Riel
On Thu, 12 Apr 2001, Szabolcs Szakacsits wrote: > You mean without dropping out_of_memory() test in kswapd and calling > oom_kill() in page fault [i.e. without additional patch]? No. I think it's ok for __alloc_pages() to call oom_kill() IF we turn out to be out of memory, but that should not

Re: badly punctuated parameter list in `#define' (2.4.3-ac5 and 2 .4.4 -pre2)

2001-04-12 Thread Christoph Hellwig
On Thu, Apr 12, 2001 at 03:08:28PM -0500, [EMAIL PROTECTED] wrote: > >old compiler. The right ifdef seems to be: > > > > > #if __GNUC__ == 2 && __GNUC_MINOR__ < 95 > > > >Could you test it this way? > > Yes, that works for me. Is this the sort of thing you had in mind? Yes. Linus any chance

Re: real-time file monitoring at the kernel level

2001-04-12 Thread Ryan Butler
you might check out fam and imon (fam is userspace, imon is a kernel patch). Both are open source SGI tools, imon is the inode monitor. Both can be found at http://oss.sgi.com >Hello, > >I was wondering if anyone has a patch, or is working on something for what >im looking for, or if they

Re: badly punctuated parameter list in `#define' (2.4.3-ac5 and 2.4.4 -pre2)

2001-04-12 Thread Wayne . Brown
Christoph Hellwig <[EMAIL PROTECTED]> wrote: >So the /* old gcc */ part should probably be enabled based on a define for the >old compiler. The right ifdef seems to be: > > #if __GNUC__ == 2 && __GNUC_MINOR__ < 95 > >Could you test it this way? Yes, that works for me. Is this the sort of

Re: SCSI Tape Corruption - update 2

2001-04-12 Thread Lorenzo Marcantonio
On Thu, 12 Apr 2001, Gérard Roudier wrote: > using a sym53c875 controller. In this case, kernel 2.2 was fine. > > > Now I'll build some old 2.2 kernel to try... > > If 2.2 is ok with your tape, a software error in 2.4 gets very likely, in > my opinion. Well, the 2.2 distributed with Mandrake

Re: List of all-zero .data variables in linux-2.4.3 available

2001-04-12 Thread Adam J. Richter
>Thanks, but Andrey Panin did you one better -- he produced a patch which >fixes up a good number of these. You should follow lkml more closely :) I missed that patch and have been unable to find it on google/dejanews. However, my point is to provide an exhaustive list with sizes (and the tool

Re: generic_osync_inode() broken?

2001-04-12 Thread Marcelo Tosatti
On Thu, 12 Apr 2001, Marcelo Tosatti wrote: > > On Thu, 12 Apr 2001, Linus Torvalds wrote: > > > On Thu, 12 Apr 2001, Marcelo Tosatti wrote: > > > > > > Comments? > > > > > > --- fs/inode.c~ Thu Mar 22 16:04:13 2001 > > > +++ fs/inode.cThu Apr 12 15:18:22 2001 > > > @@ -347,6 +347,11

Request for Configure.help entries for newly added config options.

2001-04-12 Thread Steven Cole
As of kernel 2.4.3-ac5, there are now 574 config options which have no help text in Configure.help. I believe these are not derived options, but setable options which could use a help entry. Here is a list of these items which have been introduced very recently. Each group is incremental, versus

Re: List of all-zero .data variables in linux-2.4.3 available

2001-04-12 Thread Adam J. Richter
>> I am aware of a couple of cases where code relied on static >> variables being allocated contiguously, but, in both cases, those >> variables were either all zeros or all non-zeros, so my proposed >> change would not break such code. >Continuous placement is not the only property defined

Re: List of all-zero .data variables in linux-2.4.3 available

2001-04-12 Thread Jeff Garzik
"Adam J. Richter" wrote: > For anyone who is interested, I have produced a list of all > of the .data variables that contain all zeroes and could be moved to > .bss within the kernel and all of the modules (all of the modules > that we build at Yggdrasil for x86, which is almost all).

Re: PATCH(?): linux-2.4.4-pre2: fork should run child first

2001-04-12 Thread Adam J. Richter
Hubertus Franke <[EMAIL PROTECTED]> writes: >Try this ... this will guarantee that (p->counter) > (current->counter) >and it seems not as radical > p->counter = (current->counter + 1) >> 1; >current->counter = (current->counter - 1) >> 1; >if (!current->counter) >

Re: List of all-zero .data variables in linux-2.4.3 available

2001-04-12 Thread Ulrich Drepper
"Adam J. Richter" <[EMAIL PROTECTED]> writes: > I am aware of a couple of cases where code relied on static > variables being allocated contiguously, but, in both cases, those > variables were either all zeros or all non-zeros, so my proposed > change would not break such code. Continuous

Re: [lkml]Re: [PATCH] matroxfb and mga XF4 driver coexistence...

2001-04-12 Thread Chris Meadors
On Thu, 12 Apr 2001, [EMAIL PROTECTED] wrote: > Of course, but if we can fix the problem by making the kernel smaller, > what possible motive could you have for opposing it other than 'but it > doesn't solve _my_ problems!' ? Agreed. The only thing I was thinking, was if the kernel is doing

Re: Proposal for a new PCI function call

2001-04-12 Thread Jeff Garzik
Steve Modica wrote: > > Hi All, > > We found recently that the acenic driver for the 3com gigabit ethernet card does > not enable 64 bit DMAs. (this is done by setting the appropriate mask in > pci_dev->dma_mask). > > Jes suggested that the appropriate way to fix this would be to create a

Re: 8139too: defunct threads

2001-04-12 Thread Rod Stewart
On Thu, 12 Apr 2001, Andrew Morton wrote: > Rod Stewart wrote: > > > > Hello, > > > > Using the 8139too driver, 0.9.15c, we have noticed that we get a defunct > > thread for each device we have; if the driver is built into the kernel. > > If the driver is built as a module, no defunct threads

Re: scanner problem

2001-04-12 Thread Gérard Roudier
On Thu, 12 Apr 2001 [EMAIL PROTECTED] wrote: > hi, > > when trying to scan with xsane and "agfa snapscan 1236s", i get the > following message: > > Attached scsi generic sg2 at scsi0, channel 0, id 5, lun 0, type 6 > sym53c895-0-<5,*>: target did not report SYNC. This message is just a

Re: generic_osync_inode() broken?

2001-04-12 Thread Marcelo Tosatti
On Thu, 12 Apr 2001, Linus Torvalds wrote: > On Thu, 12 Apr 2001, Marcelo Tosatti wrote: > > > > Comments? > > > > --- fs/inode.c~ Thu Mar 22 16:04:13 2001 > > +++ fs/inode.c Thu Apr 12 15:18:22 2001 > > @@ -347,6 +347,11 @@ > > #endif > > > > spin_lock(_lock); > > + while

Re: 8139too: defunct threads

2001-04-12 Thread Alan Cox
> swapper doesn't know how to reap children, and > AFAIK there's no way for a kernel thread to fully clean itself > up. This is always done by the parent. Make daemonize() move threads with parent 0 to parent 1 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: badly punctuated parameter list in `#define' (2.4.3-ac5 and 2.4.4 -pre2)

2001-04-12 Thread Christoph Hellwig
In article <[EMAIL PROTECTED]> you wrote: > > When compiling 2.4.3-ac5 (and also 2.4.4-pre2) I get this: > > /usr/src/linux-2.4.3-ac5/include/asm/rwsem.h:26: badly punctuated parameter list > in `#define' > > This appears to be due to some code in rwsem.h that is written for a different >

Re: generic_osync_inode() broken?

2001-04-12 Thread Linus Torvalds
On Thu, 12 Apr 2001, Marcelo Tosatti wrote: > > Comments? > > --- fs/inode.c~ Thu Mar 22 16:04:13 2001 > +++ fs/inode.cThu Apr 12 15:18:22 2001 > @@ -347,6 +347,11 @@ > #endif > > spin_lock(_lock); > + while (inode->i_state & I_LOCK) { > +

Proposal for a new PCI function call

2001-04-12 Thread Steve Modica
Hi All, We found recently that the acenic driver for the 3com gigabit ethernet card does not enable 64 bit DMAs. (this is done by setting the appropriate mask in pci_dev->dma_mask). Jes suggested that the appropriate way to fix this would be to create a function like pci_enable_dma64 and then

generic_osync_inode() broken?

2001-04-12 Thread Marcelo Tosatti
Hi, generic_osync_inode() (called by generic_file_write()) is not checking if the inode being synced has the I_LOCK bit set before checking the I_DIRTY bit. AFAICS, the following problem can happen: sync() ... sync_one() reset I_DIRTY, set I_LOCK filemap_fdatasync() <-- #window

Re: PATCH(?): linux-2.4.4-pre2: fork should run child first

2001-04-12 Thread Adam J. Richter
>> = Adam J. Richter <[EMAIL PROTECTED]> > = Horst von Brand <[EMAIL PROTECTED]> >> I suppose that running the child first also has a minor >> advantage for clone() in that it should make programs that spawn lots >> of threads to do little bits of work behave better on machines with a >>

Re: List of all-zero .data variables in linux-2.4.3 available

2001-04-12 Thread Ulrich Drepper
"Adam J. Richter" <[EMAIL PROTECTED]> writes: > >Shouldn't a compiler be able to deal with this instead? > > Yes. No. gcc must not do this. There are situations where you must place a zero-initialized variable in .data. It is a programmer problem. -- ---.

badly punctuated parameter list in `#define' (2.4.3-ac5 and 2.4.4-pre2)

2001-04-12 Thread Wayne . Brown
When compiling 2.4.3-ac5 (and also 2.4.4-pre2) I get this: /usr/src/linux-2.4.3-ac5/include/asm/rwsem.h:26: badly punctuated parameter list in `#define' This appears to be due to some code in rwsem.h that is written for a different version of gcc. (I'm still using gcc-2.91.66 as specified in

Re: scheduler went mad?

2001-04-12 Thread Szabolcs Szakacsits
On Thu, 12 Apr 2001, Rik van Riel wrote: > On Thu, 12 Apr 2001, Szabolcs Szakacsits wrote: > > I still feel a bit unconfortable about processes looping forever in > > __alloc_pages and because of this oom_killer also can't be moved to > > page fault handler where I think its place should be. I'm

Re: List of all-zero .data variables in linux-2.4.3 available

2001-04-12 Thread Adam J. Richter
[EMAIL PROTECTED] writes: >Shouldn't a compiler be able to deal with this instead? Yes. I sent some email to bug-gcc about this a couple of months ago and even posted some (probably horribly incorrect) code showing roughly the change I had in mind in the gcc source code for the simple

Re: 8139too: defunct threads

2001-04-12 Thread Andrew Morton
Rod Stewart wrote: > > Hello, > > Using the 8139too driver, 0.9.15c, we have noticed that we get a defunct > thread for each device we have; if the driver is built into the kernel. > If the driver is built as a module, no defunct threads appear. What is the parent PID for the defunct tasks?

Re: [lkml]Re: [PATCH] matroxfb and mga XF4 driver coexistence...

2001-04-12 Thread thunder7
On Thu, Apr 12, 2001 at 09:28:44AM -0400, Chris Meadors wrote: > On Thu, 12 Apr 2001, Rafael E. Herrera wrote: > > If the problem occurs whithout the frame buffer on, the problem seems to > > be on the X server. > > Exactly. That is what I'm saying. I've seen the problem with the > returning

Re: SCSI Tape Corruption - update

2001-04-12 Thread Gérard Roudier
On Thu, 12 Apr 2001 [EMAIL PROTECTED] wrote: > Still experimenting with my SDT-9000... tried connecting it to another > controller > (2940AU in place of 2904, sorry but I've only Adaptec stuff :). Same > problem. > Tried with another tape (even with an old DDS-2 tape). Same. Even tried >

Re: Question about SysRq

2001-04-12 Thread Dr. Kelsey Hudson
On Wed, 4 Apr 2001, Boris Pisarcik wrote: > I looked a bit at the source of sysrq handling. I've found there is > rather big difference between sysrq+b and other killers handling. > Sysrq+b is just called with pretty straitforward fashion - stops other > processors on SMP and reboots directly

Re: i2o & Promise SuperTrak100

2001-04-12 Thread Andrew Chan
While you are at it, can you bug them for FastTrak (the software RAID thing) support? Their drivers are ages behind and Andre doesn't seem to be able to get them cooperate either. I have many many boards with their FastTrak chip on and I cannot use it either as FastTrak or even simple ATA100

Re: scheduler went mad?

2001-04-12 Thread Valdis . Kletnieks
On Thu, 12 Apr 2001 16:12:55 BST, Alan Cox said: > Do you have > 800Mb of RAM ? Following up - it just bit again (twice) The first time, it was xmms/kswapd fighting for CPU, and xmms was again immune to kill -9. Interestingly enough, several minutes later, I closed 'netscape', and xmms took

  1   2   3   4   5   >