Re: Oddness in i_shared_lock and page_table_lock nesting hierarchies ?

2000-11-09 Thread aprasad
>I was looking into the vmm code and trying to work out exactly how to fix >this, and there are > some questions in my mind - mainly a few cases (involving multiple vma >updates) which > I'm not sure about the cleanest way to tackle. > But before I bother anyone with those, I thought I ought to

Re: jiffies wrap question...

2000-11-09 Thread Philipp Rumpf
On Fri, Nov 10, 2000 at 02:21:28AM -0500, Jeff Garzik wrote: > The following is a piece of code from the latter half of > schedule_timeout, in kernel/sched.c. Is it possible that > schedule_timeout could return an incorrect value, if the jiffy value > wraps between the first and last lines shown

Re: [BUG] /proc//stat access stalls badly for swapping process,2.4.0-test10

2000-11-09 Thread Mike Galbraith
On Thu, 9 Nov 2000, Linus Torvalds wrote: > > > As to the real reason for stalls on /proc//stat, I bet it has nothing > to do with IO except indirectly (the IO is necessary to trigger the > problem, but the _reason_ for the problem lies elsewhere). > > And it has everything to do with the fact

jiffies wrap question...

2000-11-09 Thread Jeff Garzik
The following is a piece of code from the latter half of schedule_timeout, in kernel/sched.c. Is it possible that schedule_timeout could return an incorrect value, if the jiffy value wraps between the first and last lines shown below. expire = timeout + jiffies; init_timer(&time

Re: Oddness in i_shared_lock and page_table_lock nesting hierarchies ?

2000-11-09 Thread David S. Miller
From: [EMAIL PROTECTED] Date:Thu, 9 Nov 2000 17:46:53 +0530 I was looking into the vmm code and trying to work out exactly how to fix this Let me save you some time, below is the fix I sent to Linus this evening: diff -u --recursive --new-file --exclude=CVS --exclude=.cvsi

[i386] CPU detection cleanup version 2

2000-11-09 Thread H. Peter Anvin
I have produced another version of the CPU detection cleanup patch. Now I have ported over mtrr.c, and fix a small handful of places I had missed because of the configurations I had used. The number one thing I *haven't* yet done with it -- which I'd like to -- is to integrate the handling of bug

[patch] Re: test11-pre2 compile error undefined reference to `bust_spinlocks'

2000-11-09 Thread Andrew Morton
John Kacur wrote: > > When attempting to compile test11-pre2, I get the following compile > error. > > arch/i386/mm/mm.o: In function `do_page_fault': > arch/i386/mm/mm.o(.text+0x781): undefined reference to `bust_spinlocks' > make: *** [vmlinux] Error 1 It was inside an ifdef. Apologies. Thi

Re: test11-pre2 compile error undefined reference to `bust_spinlocks'

2000-11-09 Thread Keith Owens
On Fri, 10 Nov 2000 00:32:49 -0500, John Kacur <[EMAIL PROTECTED]> wrote: >When attempting to compile test11-pre2, I get the following compile >error. > >arch/i386/mm/mm.o: In function `do_page_fault': >arch/i386/mm/mm.o(.text+0x781): undefined reference to `bust_spinlocks' >make: *** [vmlinux] E

Re: test11-pre2 compile error undefined reference to `bust_spinlocks'

2000-11-09 Thread Jeff Garzik
Keith Owens wrote: > Index: 0-test11-pre2.1/arch/i386/kernel/traps.c > --- 0-test11-pre2.1/arch/i386/kernel/traps.c Fri, 10 Nov 2000 13:10:37 +1100 kaos >(linux-2.4/A/c/1_traps.c 1.1.2.2.1.1.2.1.2.3.1.2.3.1.1.2 644) > +++ 0-test11-pre2.1(w)/arch/i386/kernel/traps.c Fri, 10 Nov 2000 15:56:54 +1100

2.4.0 console_loglevel cleanup

2000-11-09 Thread Keith Owens
25 separate source files declare extern int console_loglevel, many of them define console_silent() and console_verbose() - unclean, unclean! The patch against 2.4.0-test11-pre2 removes all the duplicate declarations and adds console_loglevel, console_silent() and console_verbose() to include/linu

Re: test11-pre2 compile error undefined reference to `bust_spinlocks'

2000-11-09 Thread Keith Owens
On Fri, 10 Nov 2000 00:32:49 -0500, John Kacur <[EMAIL PROTECTED]> wrote: >When attempting to compile test11-pre2, I get the following compile >error. > >arch/i386/mm/mm.o: In function `do_page_fault': >arch/i386/mm/mm.o(.text+0x781): undefined reference to `bust_spinlocks' >make: *** [vmlinux] E

test11-pre2 compile error undefined reference to `bust_spinlocks'

2000-11-09 Thread John Kacur
Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit When attempting to compile test11-pre2, I get the following compile error. arch/i386/mm/mm.o: In function `do_page_fault': arch/i386/mm/mm.o(.text+0x781): undefined reference to `bust_spinlocks' make: *** [vmlinux] Erro

Re: The IrDA patches !!! (+ more flames)

2000-11-09 Thread Jean Tourrilhes
On Thu, Nov 09, 2000 at 07:24:04PM -0800, Jean Tourrilhes wrote: > > I spent my full day going through my archives and splitting > the big patch of Dag into lots of small patches (see attached). I'm > glad I've got a big hard drive full of junk. By the way, while I'm in flaming m

CPU detection revamp (Request for comments)

2000-11-09 Thread H. Peter Anvin
Hi guys, I wanted to give you a preview of the CPUID revision patch; it is not 100% ready yet in that (a) it still has a bunch of debugging printk() and (b) I haven't ported over mtrr.c yet. This code took a lot longer to write than I had expected, mostly because I kept running into various form

Re: [test11-pre2] rrunner.c compiler error

2000-11-09 Thread Alan Cox
> rrunner.c : In function 'rr_ioctl' > rrunner.c:1558: label 'out' used but not defined > make[2]: *** [rrunner.o] Error 1 My fault. Swap that 1158 line pair error = -EPERM; goto out; with return -EPERM - To unsubscribe from this list: send the

Linux 2.2.18pre21

2000-11-09 Thread Alan Cox
Ok so the PS/2 bug is real and the megaraid mystery continues Anything which isnt a strict bug fix or previously agreed is now 2.2.19 material. Alan 2.2.18pre21 o Environment controller update for sparc (Eric Brower) o No italian translation for config.help (Andrea

[test11-pre2] rrunner.c compiler error

2000-11-09 Thread Frank Davis
Hello, I received the following error while compiling test11-pre2: rrunner.c : In function 'rr_ioctl' rrunner.c:1558: label 'out' used but not defined make[2]: *** [rrunner.o] Error 1 make[2]: Leaving directory '/usr/src/linux/drivers/net' ... make: ** [mod_drivers] Error 2 out is located in t

Re: test11-pre2

2000-11-09 Thread Jeff V. Merkey
Linus Torvalds wrote: > > Nothing stands out as affecting most people here. Security fix for /proc, > and various cleanups. Alpha and sparc fixes. If you use RAID or ramdisk, > upgrade. > > Linus > Only four level I's. Pretty good. PCMCIA problems fixed too. Jeff > --

[PATCH] obvious change to apm.c

2000-11-09 Thread Stephen Rothwell
Hi Linus, Obvious patch since daemonize() now does this stuff. Cheers, Stephen -- Stephen Rothwell, Open Source Researcher, Linuxcare, Inc. +61-2-62628990 tel, +61-2-62628991 fax [EMAIL PROTECTED], http://www.linuxcare.com/ Linuxcare. Support for the revolution. diff -ruN 2.4.0-test11pre2/ar

test11-pre2

2000-11-09 Thread Linus Torvalds
Nothing stands out as affecting most people here. Security fix for /proc, and various cleanups. Alpha and sparc fixes. If you use RAID or ramdisk, upgrade. Linus - - pre2: - Stephen Rothwell: directory notify could return with the lock held - Richard Henderson: CL

Re: catch 22 - porting net driver from 2.2 to 2.4

2000-11-09 Thread Olaf Titz
> We figured that since we are in user context (do_ioctl) and use > spin_lock_bh() to protect us from other concurrent threads, it might > interfere with rtnl_lock() so we remove our lock just before calling > register_netdev() and lock again upon return but then the whole process just > stopped a

Re: NFS, Can't get request slot

2000-11-09 Thread Alan Cox
> Nov 10 04:33:17 spc81 kernel: nfs: server student not responding, still trying > Nov 10 04:33:17 spc81 kernel: nfs: server student OK These are all one second or subsecond timeouts > Nov 10 04:45:56 spc81 kernel: nfs: server student not responding, still trying > Nov 10 04:46:00 spc81 kernel:

Re: NFS, Can't get request slot

2000-11-09 Thread Grahame Jordan
Alan, On a client running all by itself on our production network overnight, doing an "ls -lR /usr" and doing a compile (in a loop) is giving the same problems. A little snipit from /var/log/messages Nov 10 04:31:20 spc81 kernel: nfs: server student OK Nov 10 04:33:17 spc81 kernel: nfs: server st

Re: Module open() problems, Linux 2.4.0

2000-11-09 Thread Olaf Titz
> > I suppose. Look at what you just stated! This means that a reported > > value is now worthless. > > Correct. And it was always worthless. Right. The module "use count" is not a use count, it's a lock count. E.g. a driver may well increase this counter on open and then again when in a partic

Re: Errors in 2.4-test11 build

2000-11-09 Thread Chmouel Boudjnah
"J . A . Magallon" <[EMAIL PROTECTED]> writes: > A suggestion. People being able to build kernels with egcs or other version, > would not be this suitable for another entry in /var/lib/rpm/alternatives, > named kgcc, and with priorities gcc-2.91.66, gcc-2.95.2, gcc-2.7.2.3, gcc-2.96 ? this could

Re: Errors in 2.4-test11 build

2000-11-09 Thread J . A . Magallon
On Thu, 09 Nov 2000 21:13:36 Chmouel Boudjnah wrote: > "J . A . Magallon" <[EMAIL PROTECTED]> writes: > > > Trying to build 2.4.0-test11-pre1 I get the following: > > > > make[1]: Entering directory `/usr/src/linux-2.4.0-test11/arch/i386/kernel' > > kgcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/l

Re: Linux 2.2.18pre20 MEGARAID hang

2000-11-09 Thread Alan Cox
> [and, if you can, and this patch works, try to remove parts of the > patch until you find exactly what it is that makes it work] Thats what I need to know. Looking at the patch it makes no changes at all verus 2.2.18pre20 - To unsubscribe from this list: send the line "unsubscribe linux-kern

Re: PCI-PCI bridges mess in 2.4.x

2000-11-09 Thread Michal Jaegermann
On Thu, Nov 09, 2000 at 11:33:47AM -0500, Wakko Warner wrote: > > It was posted to lkml, so no link (except if you want to dig through > > lkml mail archives). > > It booted but then it oops'ed before userland I belive. I tried it this > morning and didn't have much time. It did find the scsi c

Re: PCI-PCI bridges mess in 2.4.x

2000-11-09 Thread Ivan Kokshaysky
On Thu, Nov 09, 2000 at 09:37:41PM +0100, Gerard Roudier wrote: > Hmmm... > The PCI spec. says that Limit registers define the top addresses > _inclusive_. Correct. > The spec. does not seem to imagine that a Limit register lower than the > corresponding Base register will ever exist anywhere, i

Re: Patch: Using clipped IDE disk larger than 32GB with old BIOS

2000-11-09 Thread Taisuke Yamada
> > # I might consider adding support for even newer 48-bit LBA > > # extension (which I read in ATA spec). > > The 48-LBA stuff is on hold because it requires more than simple > changes to ide-disk.c. Yes, I guess this is currently a future issue. If this is going to be done, there also needs f

Re: Patch generation

2000-11-09 Thread Dan Aloni
On Thu, 9 Nov 2000, Ivan Passos wrote: > Where in the src tree can I find (or what is) the command to generate a > patch file from two Linux kernel src trees, one being the original and the > other being the newly changed one?? The syntex looks like this one: diff -urN old_tree new_tree > your_

Re: Patch generation

2000-11-09 Thread Chmouel Boudjnah
Ivan Passos <[EMAIL PROTECTED]> writes: > Where in the src tree can I find (or what is) the command to generate a > patch file from two Linux kernel src trees, one being the original and the > other being the newly changed one?? > I've tried 'diff -ruN', but that does diff's on several files that

Re: Patch generation

2000-11-09 Thread Infamous Woodchuck
On Thu, 9 Nov 2000, Ivan Passos wrote: > Where in the src tree can I find (or what is) the command to generate a > patch file from two Linux kernel src trees, one being the original and the > other being the newly changed one?? > > I've tried 'diff -ruN', but that does diff's on several files tha

Re: Kernel 2.2.17 bug found

2000-11-09 Thread J . A . Magallon
On Thu, 09 Nov 2000 16:20:22 Andrea Pintori wrote: > I've a Debian dist, Kernel 2.2.17, no patches, all packages are stable. > > here what I found: > > [/tmp] mkdir old > [/tmp] chdir old > [/tmp/old] mv . ../new > [/tmp/old](should be /tmp/new !!) No, bash cwd is still "/t

Re: [bug] usb-uhci locks up on boot half the time

2000-11-09 Thread Linus Torvalds
In article <[EMAIL PROTECTED]>, David Ford <[EMAIL PROTECTED]> wrote: > >The oddity is that kdb shows the machine to lock up on the popf in >pci_conf_write_word()+0x2c. I never did get around to digging up this >routine and looking at the code, but I suspect this is a final return >from the rout

Patch generation

2000-11-09 Thread Ivan Passos
Hello, Where in the src tree can I find (or what is) the command to generate a patch file from two Linux kernel src trees, one being the original and the other being the newly changed one?? I've tried 'diff -ruN', but that does diff's on several files that could stay out of the comparison (such

Re: [bug] usb-uhci locks up on boot half the time

2000-11-09 Thread David Ford
"Dunlap, Randy" wrote: > > Either. Currently bus (self) powered. This hub has worked > > fine on my other > > computers without any adverse affect. > > Bus-powered != self-powered. It had been a long day. I really do know the distinction :) It is currently bus powered and I've only once had

2.4.0-test10 oops

2000-11-09 Thread Jan Dvorak
Hi, attached oops came from writing to vfat fs. Jan Dvorak <[EMAIL PROTECTED]> ksymoops 2.3.5 on i686 2.4.0-test10. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.4.0-test10/ (default) -m /boot/System.map (specified)

Re: [patch-2.4.0-test11-pre1] broken comment around paging_init()

2000-11-09 Thread Tigran Aivazian
On Thu, 9 Nov 2000, Tigran Aivazian wrote: > The comment above arch/i386/mm/init.c:paging_init() lies shamelessly -- we correction -- it doesn't lie since [0,4M] \subset [0,8M] -- it just doesn't tell the human everything he ma

[patch-2.4.0-test11-pre1] broken comment around paging_init()

2000-11-09 Thread Tigran Aivazian
Hi Linus, The comment above arch/i386/mm/init.c:paging_init() lies shamelessly -- we set up two page tables in head.S which cover 0-8M and not 0-4M. Also, the actual loop in head.S which does the job uses labels pg0 and empty_zero_page so the pointer to the second page table (pg1) is redundant.

Re: [PATCH] 2.2.18-pre20 AMI Megaraid & Dell Percraid drivers

2000-11-09 Thread Brian Marsden
On Thu, 9 Nov 2000, Byron Stanoszek wrote: > On Thu, 9 Nov 2000, Brian Marsden wrote: > > > 2.2.18pre20 (still) hangs on boot when it gets to the part where it > > detects the MEGARAID card. > > > > This is a shame, since 2.2.18 with NFS3 would be very nice on a big > > filestore such as the o

Re: PCI-PCI bridges mess in 2.4.x

2000-11-09 Thread Gérard Roudier
On Thu, 9 Nov 2000, Ivan Kokshaysky wrote: Hmmm... The PCI spec. says that Limit registers define the top addresses _inclusive_. The spec. does not seem to imagine that a Limit register lower than the corresponding Base register will ever exist anywhere, in my opinion. :-) This let me think t

Re: Incorrectness for fun and profit

2000-11-09 Thread Keith Owens
On Thu, 9 Nov 100 12:15:19 -0500 (EST), Rick Hohensee <[EMAIL PROTECTED]> wrote: >built the [2.4] kernel I'm using at the >moment with gcc 2.7.2.3. I'm looking for "subtle run time bugs". OK, I'm >desparate for entertainment. That's a given. Where should I look? 2.4.0-test10 kernel/module.c sta

Lockup in fdatasync

2000-11-09 Thread Stanislav Meduna
Hello, just installed 2.4.0-test10 on a SMP Intel machine and got following: NMI Watchdog detected LOCKUP on CPU1, registers: CPU:1 EIP:0010:[] Using defaults from ksymoops -t elf32-i386 -a i386 EFLAGS: 0086 eax: 0307 ebx: 0206 ecx: 0007 edx: 003f03af esi: 0307

Comming to Share??? (re: Subcribe)

2000-11-09 Thread Andre Hedrick
Hello Scot, Is Iomega ready to open the information needed to make you ATAPI products work correctly with Linux? Regards, Andre Hedrick CTO Timpanogas Research Group EVP Linux Development, TRG Linux ATA Development - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: Module open() problems, Linux 2.4.0

2000-11-09 Thread Christoph Hellwig
In article <[EMAIL PROTECTED]> you wrote: > On Thu, 9 Nov 2000, Jeff Garzik wrote: >> There is NO guarantee that module use count == device open count. Never >> has been, AFAIK. It just happens to work out that way on a lot of >> pre-2.4 code. >> >> The kernel is free to bump the module referen

Re: Used space in bytes

2000-11-09 Thread Miquel van Smoorenburg
In article <8uf21i$ro7$[EMAIL PROTECTED]>, H. Peter Anvin <[EMAIL PROTECTED]> wrote: >Report a block size (really allocation unit size) st_blocks == 1? If you mean st_blksize, well: The value st_blocks gives the size of the file in 512-byte blocks. The value st_blksize gives the "

Re: Module open() problems, Linux 2.4.0

2000-11-09 Thread Jeff Garzik
"Richard B. Johnson" wrote: > I suppose. Look at what you just stated! This means that a reported > value is now worthless. > > To restate, somebody decided that we didn't need this reported value > anymore. Therefore, it is okay to make it worthless. > > I don't agree. The De-facto standard has

Re: Linux 2.2.18pre20 MEGARAID hang

2000-11-09 Thread Miquel van Smoorenburg
In article <[EMAIL PROTECTED]>, Brian Marsden <[EMAIL PROTECTED]> wrote: >2.2.18pre20 (still) hangs on boot when it gets to the part where it >detects the MEGARAID card. Hmm, I got a patch from AMI that fixed it for me for 2.2.18pre18. That patch wasn't applied as-is, though Alan said a megarai

Re: Module open() problems, Linux 2.4.0

2000-11-09 Thread Richard B. Johnson
On Thu, 9 Nov 2000, Jeff Garzik wrote: > "Richard B. Johnson" wrote: > > > > On Thu, 9 Nov 2000, Brian Gerst wrote: > > > > > "Richard B. Johnson" wrote: > > > > > > > > `lsmod` shows that a device is open twice when using Linux-2.4.0-test9 > > > > when, in fact, it has been opened only once. >

Re: Pentium 4 and 2.4/2.5

2000-11-09 Thread Simon Kirby
On Wed, Nov 08, 2000 at 06:47:40PM +, Alan Cox wrote: > Ok. Issue settled. So 'rep nop' is safe. Ok that can get into the spinlocks > for 2.2.18 Just curious... What does "rep nop" actually accomplish, anyway? Simon- [ Stormix Technologies Inc. ][ NetNation Communications Inc. ] [

Re: Used space in bytes

2000-11-09 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:Jan Kara <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > Hello. > > I sent similar email a few weeks ago but discussion ended without > any useful results if I rememeber well. > > Quota in reiserfs is (and needs to be) accounted in byt

Linux 2.2.18pre20 MEGARAID hang

2000-11-09 Thread Brian Marsden
2.2.18pre20 (still) hangs on boot when it gets to the part where it detects the MEGARAID card. This is a shame, since 2.2.18 with NFS3 would be very nice on a big filestore such as the one this is running on. Further details: lspci: 00:00.0 Host bridge: ServerWorks CNB20HE (rev 05) 00:00.1 Ho

Re: Module open() problems, Linux 2.4.0

2000-11-09 Thread Brian Gerst
"Richard B. Johnson" wrote: > > On Thu, 9 Nov 2000, Brian Gerst wrote: > > > "Richard B. Johnson" wrote: > > > > > > `lsmod` shows that a device is open twice when using Linux-2.4.0-test9 > > > when, in fact, it has been opened only once. > > > > > > > > > > When the module is closed, the use-c

Re: Module open() problems, Linux 2.4.0

2000-11-09 Thread Jeff Garzik
"Richard B. Johnson" wrote: > > On Thu, 9 Nov 2000, Brian Gerst wrote: > > > "Richard B. Johnson" wrote: > > > > > > `lsmod` shows that a device is open twice when using Linux-2.4.0-test9 > > > when, in fact, it has been opened only once. > > > > > > > > > > When the module is closed, the use-c

RE: accessing on-card ram/rom

2000-11-09 Thread Gérard Roudier
On Wed, 8 Nov 2000 [EMAIL PROTECTED] wrote: > I looked at the IO-mapping.txt file. It says that > on x86 architecture it should not make any difference. > It also says that "on x86 it _is_ the same memory space. So > on x86 it actually works to just dereference a pointer". For bus_to_virt() to

Re: [ANNOUNCE] Generalised Kernel Hooks Interface (GKHI)

2000-11-09 Thread Theodore Y. Ts'o
Date: Thu, 9 Nov 2000 14:26:33 + (GMT) From: Alan Cox <[EMAIL PROTECTED]> > Actually, he's been quite specific. It's ok to have binary modules as > long as they conform to the interface defined in /proc/ksyms. What is completely unclear is if he has the authority to say tha

Re: Module open() problems, Linux 2.4.0

2000-11-09 Thread Christoph Hellwig
In article <[EMAIL PROTECTED]> you wrote: > This may be, as you say, "harmless". It is, however, a bug. The > reporting must be correct or large complex systems can't be > developed or maintained. No. It is not. The module usage count doesn't have a direct relation to the number of open devices

[PATCH] generate man pages from inline documentation

2000-11-09 Thread Christoph Hellwig
Hi Linus, this patch adds some infrastructure and modifies scripts/kernel-doc to support generating man pages from the inline documentation. Please apply (for all the poeple that prefer man pages over sgml) Christoph P.S. it does also removed an older stub for this that slipped in some

Re: Errors in 2.4-test11 build

2000-11-09 Thread Chmouel Boudjnah
"J . A . Magallon" <[EMAIL PROTECTED]> writes: > Trying to build 2.4.0-test11-pre1 I get the following: > > make[1]: Entering directory `/usr/src/linux-2.4.0-test11/arch/i386/kernel' > kgcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux/include -traditional -c > trampoline.S -o trampoline.o > gcc:

Re: Module open() problems, Linux 2.4.0

2000-11-09 Thread Richard B. Johnson
On Thu, 9 Nov 2000, Brian Gerst wrote: > "Richard B. Johnson" wrote: > > > > `lsmod` shows that a device is open twice when using Linux-2.4.0-test9 > > when, in fact, it has been opened only once. > > > > > > When the module is closed, the use-count goes to zero as expected. > > However, a si

Subcribe

2000-11-09 Thread Scot Slager
Subcribe

Re: ping -f kills ne2k (was:[patch] NE2000)

2000-11-09 Thread Jorge Nerin
Jorge Nerin wrote: > > Paul Gortmaker wrote: > > > > > > > > Well, I have tried it with 2.4.0-test10, both SMP and non-SMP, and the > > > result is a little confusing. > > > > > > Under SMP a ping -s 5 -f other_host takes down the network access > > > with no messages (ne2k-pci), and no possi

Problems with NFS in 2.4test10

2000-11-09 Thread Ingo Rohloff
Hi, First a description of my machine: I use a Dual Celeron System with glibc-2.1.3 and linux-2.4test10 . For information on peripherial devices I give the output of /proc/pci PCI devices found: Bus 0, device 0, function 0: Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bri

Re: B/W G3 - big IDE problems with 2.4.0-test10

2000-11-09 Thread Derrik Pates
On Thu, 9 Nov 2000, Benjamin Herrenschmidt wrote: > Did you try the bitkeeper PPC kernel ? (or Paul Mackerras rsync tree ?) Tried linuxcare's PPC kernel tree (fetched via rsync) and it is working. Some changes had to be dealt with, but I'm sorting this stuff out. I've discovered that I shouldn't

Missing ACKs with Linux 2.2/2.4?

2000-11-09 Thread Ben Mansell
Hi, I've been experiencing some very strange network behaviour under various versions of Linux, which can be provoked by just sending small amounts of data to the echo port on a server. The server is a Cobalt RAQ-3i (AMD-K6, kernel claims to be 2.2.12C3) While I can only recreate the behaviour u

Re: Module open() problems, Linux 2.4.0

2000-11-09 Thread Brian Gerst
"Richard B. Johnson" wrote: > > `lsmod` shows that a device is open twice when using Linux-2.4.0-test9 > when, in fact, it has been opened only once. > > lsmod is version 2.3.15, the latest-and-greatest. > > Here are the open/close routines for a module. > > /*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Module open() problems, Linux 2.4.0

2000-11-09 Thread Richard B. Johnson
`lsmod` shows that a device is open twice when using Linux-2.4.0-test9 when, in fact, it has been opened only once. lsmod is version 2.3.15, the latest-and-greatest. Here are the open/close routines for a module. /*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ /*

Re: Persistent module storage - modutils design

2000-11-09 Thread Ralf Baechle
On Tue, Nov 07, 2000 at 01:55:59PM +, Alan Cox wrote: > > Note! This _has_ to be in the / filesystem so it works before mounting the > > rest of the stuff (if ever). This would rule out /var, and leave just > > /lib/modules/. Makes me quite unhappy... > > The /lib filesystem is likely not wr

Re: [BUG] /proc//stat access stalls badly for swapping process,2.4.0-test10

2000-11-09 Thread Linus Torvalds
As to the real reason for stalls on /proc//stat, I bet it has nothing to do with IO except indirectly (the IO is necessary to trigger the problem, but the _reason_ for the problem lies elsewhere). And it has everything to do with the fact that the way Linux semaphores are implemented, a non-blo

Re: Installing kernel 2.4

2000-11-09 Thread James A . Sutherland
On Thu, 09 Nov 2000, David Woodhouse wrote: > [EMAIL PROTECTED] said: > > I think a default whereby the kernel built will run on any > > Linux-capable machine of that architecture would be sensible - so if I > > grab the 2.4.0t10 tarball and build it now, with no changes, I'll be > > able to boot

Re: [patch] NE2000

2000-11-09 Thread Steve Whitehouse
Hi, I have to own up and say that it was me :-) you'll see that DECnet is the only protocol to use these macros at the moment. I'm sure though that I only copied what IPv4 was doing at the time, along with the hints I had from yourself and Dave, Steve. > > Hello! > > > Alexey! Even someone u

Re: test9: running tasks not in run-queue

2000-11-09 Thread George Anzinger
"David S. Miller" wrote: > >Date:Wed, 8 Nov 2000 15:11:49 -0800 >From: Mike Kravetz <[EMAIL PROTECTED]> > >The following code in __wake_up_common() is then >executed: > >if (best_exclusive) >best_exclusive->state = TASK_RUNNING; >

Re: [patch] NE2000

2000-11-09 Thread kuznet
Hello! > Alexey! Even someone understood all this already, look > to include/net/sock.h SOCK_SLEEP_{PRE,POST} macros :-) > > I will compose a patch to fix all this. O! But who was this wiseman? 8) Alexey - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: Porting Linux v2.2.x Ethernet driver to v2.4.x?

2000-11-09 Thread Jeff Garzik
...and the attached document, referred to in the previous mail. :) I think I posted this recently, but it's small so a repost is no big deal. -- Jeff Garzik | Building 1024 | Would you like a Twinkie? MandrakeSoft| Network Devices, the Kernel, and You! Int

RE: Porting Linux v2.2.x Ethernet driver to v2.4.x?

2000-11-09 Thread Dunlap, Randy
Search the lkml archives. Here are 2 instances to find: from jamal, 2000-jan-6: [ANNOUNCE] SOFTNETing Network Drivers HOWTO from kuznet, 2000-feb-14: "softnet" drivers: an attempt to clarify from dave miller, 2000-feb-9: new network driver interface changes, README http://www.uwsg.indiana.ed

Re: Porting Linux v2.2.x Ethernet driver to v2.4.x?

2000-11-09 Thread Jeff Garzik
[EMAIL PROTECTED] wrote: > > Hello. > > I am about to modify a Linux v2.2.x-compatible Ethernet driver to allow it to > work in the new v2.4.x kernel. Are there any documents which describe the > differences in the device driver models (particularly PCI and Ethernet) of the 2 > kernel versions?

Re: PATCH: rd - deadlock removal

2000-11-09 Thread Linus Torvalds
On Thu, 9 Nov 2000, Jens Axboe wrote: > > > The second is more elegant in that it side steps the problem by > > giving rd.c a make_request function instead of using the default > > _make_request. This means that io_request_lock is simply never > > claimed my rd. > > And this solution is

Porting Linux v2.2.x Ethernet driver to v2.4.x?

2000-11-09 Thread Steven_Snyder
Hello. I am about to modify a Linux v2.2.x-compatible Ethernet driver to allow it to work in the new v2.4.x kernel. Are there any documents which describe the differences in the device driver models (particularly PCI and Ethernet) of the 2 kernel versions? If so, where can I find them? Thank

Re: getting a process name from task struct

2000-11-09 Thread George Anzinger
Chris Swiedler wrote: > > Is it possible to get a process's name / full execution path (from > kernelspace) given only a task struct? I can't find any pointers to this > information in the task struct, and I don't know where else it might be. ps > seems to be able to get the process name, but tha

Re: fpu now a must in kernel

2000-11-09 Thread George Anzinger
Andi Kleen wrote: > > On Thu, Nov 09, 2000 at 12:27:29PM +1300, david wrote: > > > > 2 . put the save / restore code in my code (NOT! GOOD! i do not wont to > > do it this way it is not the right way) > > It is the right way because it only penalizes your code, not everybody else. > This is a M

getting a process name from task struct

2000-11-09 Thread Chris Swiedler
Is it possible to get a process's name / full execution path (from kernelspace) given only a task struct? I can't find any pointers to this information in the task struct, and I don't know where else it might be. ps seems to be able to get the process name, but that's from userspace. Apologies in

Re: catch 22 - porting net driver from 2.2 to 2.4

2000-11-09 Thread Jeff Garzik
do_ioctl is inside rtnl_lock... Remember if you need to alter the rules, you can always queue work in the current context, and have a kernel thread handle the work. The nice thing about a kernel thread is that you start with a [almost] clean state, when it comes to locks. Jeff -- Jef

Re: OOPS loading cs46xx module, test11-pre1

2000-11-09 Thread Jeff Garzik
Christoph Hellwig wrote: > > On Thu, Nov 09, 2000 at 12:02:45PM -0500, Jeff Garzik wrote: > > > I have an (untested) update for the cs46xx driver in Linux 2.4. > > > It includes Nils' 2.2 changes, use of initcalls (so compiled-in > > > should work) and use of the 2.4 PCI interface. > > > > Patch

catch 22 - porting net driver from 2.2 to 2.4

2000-11-09 Thread Hen, Shmulik
Hello, This is a bit long and I apologize (since there are kdb captures in it). We are developing an advanced networking services driver (loadable module) and are having problems porting it to work on 2.4.x kernel. The driver is supposed to provide services such as fault tolerance, load balancin

Re: [ANNOUNCE] Generalised Kernel Hooks Interface (GKHI)

2000-11-09 Thread Alexander Viro
On 9 Nov 2000, Mike Coleman wrote: > Alexander Viro <[EMAIL PROTECTED]> writes: > > RMS had repeatedly demonstrated what he's worth as a designer > > and programmer. Way below zero. You may like or dislike his ideology, > > but when it comes to technical stuff... Not funny. > > Huh? > > >

Re: [ANNOUNCE] Generalised Kernel Hooks Interface (GKHI)

2000-11-09 Thread Mike Coleman
Alexander Viro <[EMAIL PROTECTED]> writes: > RMS had repeatedly demonstrated what he's worth as a designer > and programmer. Way below zero. You may like or dislike his ideology, > but when it comes to technical stuff... Not funny. Huh? *Hello*? GNU gcc? GNU emacs? Way below zero? *Hello*

Re: [bug] usb-uhci locks up on boot half the time

2000-11-09 Thread Greg KH
On Thu, Nov 09, 2000 at 09:06:31AM -0800, Dunlap, Randy wrote: > > Bus-powered != self-powered. > > Self-powered means that it has its own power cord. > > Bus-powered means that it gets its power from the USB cable. You're right, I used the wrong terms (but used the correct descriptions). I m

Re: OOPS loading cs46xx module, test11-pre1

2000-11-09 Thread Christoph Hellwig
On Thu, Nov 09, 2000 at 12:02:45PM -0500, Jeff Garzik wrote: > > I have an (untested) update for the cs46xx driver in Linux 2.4. > > It includes Nils' 2.2 changes, use of initcalls (so compiled-in > > should work) and use of the 2.4 PCI interface. > > Patch Generally looks ok. Comments: > > 1)

Incorrectness for fun and profit

2000-11-09 Thread Rick Hohensee
In 2.4 init/main.c we have... * Versions of gcc older than that listed below may actually compile * and link okay, but the end product can have subtle run time bugs. * To avoid associated bogus bug reports, we flatly refuse to compile * with a gcc that is known to be too old from the very be

RE: [bug] usb-uhci locks up on boot half the time

2000-11-09 Thread Dunlap, Randy
> From: David Ford [mailto:[EMAIL PROTECTED]] > [snip] > > Is the external hub a externally powered hub, or self > powered hub (does > > it get it's power from a plug in the wall, or from the USB > bus)? Self > > powered hubs are notoriously flaky and have been known to > > evil things to the

Re: OOPS loading cs46xx module, test11-pre1

2000-11-09 Thread Jeff Garzik
> I have an (untested) update for the cs46xx driver in Linux 2.4. > It includes Nils' 2.2 changes, use of initcalls (so compiled-in > should work) and use of the 2.4 PCI interface. Patch Generally looks ok. Comments: 1) This code is weird: >if (copy_to_user(buffer, dmabuf->rawbu

changelog

2000-11-09 Thread jim M.
hi all, Sorry, but i could not find a more appropriate group list to post this on. my fault in anyways. I like to keep track of what is installed after each RPM or any other install command is performed. Like dates inatlled and who installed it, Like create a log of changes,... what is th

Re: why do we need pg1?

2000-11-09 Thread Tigran Aivazian
On Thu, 9 Nov 2000, Tigran Aivazian wrote: > Hi, > > The code which sets up the page table at pg0 (in head.S) goes all the way > until it hits empty_zero_page so I don't understand why we need the label > pg1 in between, since it is never referred to by any other code? > > Also, is the comment

Re: is there a limit on bss size?

2000-11-09 Thread Tigran Aivazian
On Fri, 6 Oct 2000, Philipp Rumpf wrote: > On Fri, Oct 06, 2000 at 12:32:35PM +0300, Petko Manolov wrote: > > It is not so difficult as it looks. > > I don't see it being difficult at all ... > > > The master pgd looking as: > > > > .org 0x1000 > > ENTRY(swapper_pg_dir) > > .long 0x001

Re: PCI-PCI bridges mess in 2.4.x

2000-11-09 Thread Wakko Warner
> It was posted to lkml, so no link (except if you want to dig through > lkml mail archives). It booted but then it oops'ed before userland I belive. I tried it this morning and didn't have much time. It did find the scsi controller (which is across the bridge) and the drives attached so it doe

Re: PCI-PCI bridges mess in 2.4.x

2000-11-09 Thread Wakko Warner
> It was posted to lkml, so no link (except if you want to dig through > lkml mail archives). It booted but then it oops'ed before userland I belive. I tried it this morning and didn't have much time. It did find the scsi controller (which is across the bridge) and the drives attached so it doe

[PATCH] Reserve VM for root (was: Re: Looking for better VM)

2000-11-09 Thread Szabolcs Szakacsits
On Wed, 8 Nov 2000, Rik van Riel wrote: > OK. This is a lot more reasonable. Just the same what was in my first in email. > I'm actually looking into putting non-overcommit as a configurable > option in the kernel. Nice to hear, please make it a boot time option, not a compile time one. Also

[glynis@butterfly.hjsoft.com: test10 and cpia_usb camera]

2000-11-09 Thread John M. Flinchbaugh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 i'm happy to see my cheap little camera working again. i have observations though: using uhci.o, i only get black image from video camera in xawtv. using usb-uhci.o, i get a picture, but i periodically get: kernel: usb-uhci.c: interrupt, status , fr

why do we need pg1?

2000-11-09 Thread Tigran Aivazian
Hi, The code which sets up the page table at pg0 (in head.S) goes all the way until it hits empty_zero_page so I don't understand why we need the label pg1 in between, since it is never referred to by any other code? Also, is the comment in asm/pgtable.h /* page table for 0-4MB for everybody */

  1   2   >