Q: Linux rebooting directly into linux.

2000-11-09 Thread Eric W. Biederman
I have recently developed a patch that allows linux to directly boot into another linux kernel. With the code freeze it appears inappropriate to submit it at this time. Linus in principal do you have any trouble with this kind of functionality? The immediate applications of this code, are:

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 a

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 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

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

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

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

2000-11-09 Thread Andre Hedrick
Second or Third here!!! TRG plans to create and publish a native RING 0 kernel and packages. This may end up as a bolt on ./arch or something. Not everyone in the world needs a SUPERCHARGED, FUEL-INJECTED, ALCOHOL, FIRE-BREATHING kernel, but some do! Andre Hedrick CTO Timpanogas Research Group

X crash with kernel 2.4.0-test10

2000-11-09 Thread Bartek Krajnik
On RedHat 6.2 with X 3.3.6-20: Caught signal 11. Server aborting... eip: 0822e4e8 eflags: 00013293 eax: 0004 ebx: 4018c608 ecx: 0004 edx: esi: 0008 edi: 408a12f4 ebp: b860 esp: b7d4 Stack: 438a2008 b880 084b7ea8 0002 408a12f4 0004 000c

Re: [linux-usb-devel] 2.4.0-test10 problems (power-down problem)

2000-11-09 Thread Richard Polton
The power switch is totally unresponsive in this situation. Richard Dan Streetman wrote: On Wed, 8 Nov 2000, Richard Polton wrote: the power switch is disabled too and the only way in which the machine responds is by switching off at the wall and pulling the battery. I have seen this

[PATCH] kernel/fork.c - tiny cleanup

2000-11-09 Thread Dan Aloni
Linus, This replaces an explict __MOD_INC_USE_COUNT in do_fork() with the right macro (get_exec_domain) to reflect the counterpart (put_exec_domain) in do_exit(). --- linux/kernel-2.4.0-test11-pre1/fork.c Sun Nov 5 00:27:50 2000 +++ linux/kernel/fork.c Thu Nov 9 10:04:50 2000 @@

2.4.0-test10 problems

2000-11-09 Thread Richard Polton
Hi, More testing and more problems 8-( Mind you, that is not to say that many things do not work wonderfully, because they do ;-) With regard to point one yesterday about the warm reboot problem, it was suggested that I toggle the PnP BIOS option and retry. Well, I did that and indeed there

PCMCIA versioning...

2000-11-09 Thread Simon Huggins
On Mon, Nov 06, 2000 at 03:40:39PM -0800, David Hinds wrote: [..] I would need to know what kernel versions and what PCMCIA driver versions were involved. [..] Is there actually a way to work out what version of userspace utilities you are using? I read Changes and it tells me that I need

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

2000-11-09 Thread richardj_moore
Let be clear about one thing: the GKHI make no statement about enabling proprietary extensions and that's a common misconception. GKHI is intended to make optional facilities easier to co-install and change. We designed it for DProbes, and when modularised will remain a GPL opensource offering.

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

2000-11-09 Thread Christoph Rohland
Hi Larry, On Wed, 8 Nov 2000, Larry McVoy wrote: On Thu, Nov 09, 2000 at 08:44:11AM +0100, Christoph Rohland wrote: *Are you crazy?* =:-0 Proposing proprietary kernel extensions to establish an enterprise kernel? No thanks! Actually, I think this idea is a good one. I'm a big opponent

Re: Installing kernel 2.4

2000-11-09 Thread Mark W. McClelland
"Jeff V. Merkey" wrote: The kernel isn't going non-ELF. Too painful, for dubious advantages, namely: perhaps we should extend ELF. After all, where linux goes, gcc follows I would like to see some features added to ELF. Resource binding support would be nice, i.e. bitmaps used

Re: Broken colors on console with 2.4.0-textXX

2000-11-09 Thread Richard Guenther
On Wed, 8 Nov 2000, James Simmons wrote: Sure - but this was always the case. And using 2.2 with the same (or more) stress the Xserver is still able to set the video hardware back to vga text mode. I just want to know whats the difference between 2.2 and 2.4 that causes failure in 2.4.

Re: PATCH: rd - deadlock removal

2000-11-09 Thread Jens Axboe
On Thu, Nov 09 2000, Neil Brown wrote: [snip] DEADLOCK I have two patches which address this problem. The first is simple and simply drops ui_request_lock before calling getblk. This may be the appropriate one to use given the code freeze. rd still

Re: Nvidia GeForce2 kernel driver - kernel 2.4.0 test-10

2000-11-09 Thread J . A . Magallon
On Thu, 09 Nov 2000 08:54:36 Athanasius wrote: Oh no it wasn't, doh *;-). One other try... -- Juan Antonio Magallon Lacarta # cd /pub mailto:[EMAIL PROTECTED] # more beer patch-nvdriver-2.4.0-test11

memory.c:83: bad pmd 0000000000000001.

2000-11-09 Thread Tom Holroyd
Alpha, 2.4.0-test10. kernel: memory.c:83: bad pmd 0001. Happened right when I ^Ced a vmstat that had been running all day, but that could be coincidence. It must be Florida's fault. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: No tcp connection establishment with 2.4

2000-11-09 Thread Erik Mouw
On Thu, Nov 09, 2000 at 12:08:32PM +0100, Michele Iacobellis wrote: [Summary] No tcp connection establishment with 2.4 [snip] Disable "Explicit congestion notification support" in the networking options. It breaks with certain Cisco firewalls. Erik -- J.A.K. (Erik) Mouw, Information and

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

2000-11-09 Thread Christoph Rohland
Hi Richard, On Thu, 9 Nov 2000, richardj moore wrote: Let be clear about one thing: the GKHI make no statement about enabling proprietary extensions and that's a common misconception. GKHI is intended to make optional facilities easier to co-install and change. We designed it for DProbes,

Re: Stange NFS messages - 2.2.18pre19

2000-11-09 Thread Klaus Naumann
Sasi Peter wrote: Broken link: [root@iq patches]# wget ftp://oss.sgi.com/www.projects/nfs3/download/nfs_tcp-2.2.17.dif --08:31:28-- ftp://oss.sgi.com:21/www.projects/nfs3/download/nfs_tcp-2.2.17.dif = `nfs_tcp-2.2.17.dif' Connecting to oss.sgi.com:21... connected! Logging in as

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

2000-11-09 Thread Michael Rothwell
Christoph Rohland wrote: If we would not allow binary only modules I would not have such a big problem with that... I'm not sure how you would do that. I understand that the one size fits all approach has some limitations if you want to run on PDAs up to big iron. But a framework to

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

2000-11-09 Thread Michael Rothwell
Christoph Rohland wrote: If we really need a special enterprise tree lets do it without module tricks. Why? I think the IBM GKHI code would be of tremendous value. It would make the kernel much more flexible, and for users, much more friendly. No more patch-and-recompile to add a filesystem or

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

2000-11-09 Thread Lars Marowsky-Bree
On 2000-11-09T07:25:52, Michael Rothwell [EMAIL PROTECTED] said: Why? I think the IBM GKHI code would be of tremendous value. It would make the kernel much more flexible, and for users, much more friendly. No more patch-and-recompile to add a filesystem or whatever. There's no reason to

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

2000-11-09 Thread Lars Marowsky-Bree
On 2000-11-09T07:20:27, Michael Rothwell [EMAIL PROTECTED] said: I understand that the one size fits all approach has some limitations if you want to run on PDAs up to big iron. But a framework to overload core kernel functions with modules smells a lot of binary only, closed source,

[Patch] QoS as modules in 2.4.0-test10 not compiling.

2000-11-09 Thread Paul Schulz
Greetings, I've been trying to compile the kernel with the QoS code as modules. The net/Makefile didn't have 'sched' listed as a module subdirectory, so it wasntt getting walked in a make_modules... any way, the following patch fixes the problem. Paul Schulz ([EMAIL PROTECTED]) Foursticks

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

2000-11-09 Thread Alexander Viro
On Thu, 9 Nov 2000, Michael Rothwell wrote: Same as before -- freedom and low cost. The primary advantae of Linux over other OSes is the GPL. Now, that's more than slightly insulting... The problem with the hooks et.al. is very simple - they promote every bloody implementation detail to

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

2000-11-09 Thread Michael Rothwell
Lars Marowsky-Bree wrote: And we already refuse to support those kernels - your point being? Who says you would support theirs? My point is, forks have been made in the past and are useful for the people that use them, and prevent "pollution" of the common kernel with hghly specialized

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

2000-11-09 Thread Tigran Aivazian
On Wed, 8 Nov 2000, Larry McVoy wrote: As long as Linus continues in his current role, I doubt much of anything that the big iron boys do will really make it back into the generic kernel. That is great, thank you. At least I know now someone on this planet who agrees with me! Everyone

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

2000-11-09 Thread Paul Jakma
On Thu, 9 Nov 2000, Michael Rothwell wrote: Why? I think the IBM GKHI code would be of tremendous value. It would make the kernel much more flexible, and for users, much more friendly. No more patch-and-recompile to add a filesystem or whatever. There's no reason to hamstring their efforts

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

2000-11-09 Thread Michael Rothwell
Paul Jakma wrote: On Thu, 9 Nov 2000, Michael Rothwell wrote: Why? I think the IBM GKHI code would be of tremendous value. It would make the kernel much more flexible, and for users, much more friendly. No more patch-and-recompile to add a filesystem or whatever. There's no reason to

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

2000-11-09 Thread Michael Rothwell
Alexander Viro wrote: On Thu, 9 Nov 2000, Michael Rothwell wrote: Same as before -- freedom and low cost. The primary advantae of Linux over other OSes is the GPL. Now, that's more than slightly insulting... Well, it wasn't meant to be. I imagine RMS would make the same type of

Re: accessing on-card ram/rom

2000-11-09 Thread Richard B. Johnson
You need ioremap(), etc. Paging is enabled, you need ioremap() to create a page-table entry (PTE). Cheers, Dick Johnson Penguin : Linux version 2.4.0 on an i686 machine (799.54 BogoMips). "Memory is like gasoline. You use it up when you are running. Of course you get it all back when you

Re: [PATCH] media/radio [check_region() removal... ]

2000-11-09 Thread Andrey Panin
On Wed, Nov 08, 2000 at 07:13:46PM -0500, Jeff Garzik wrote: Hi all, Finally, a word to you, Alan, and others doing request_region work: it is more informative to pass the device name (minor, etc.) into request_region. Ditto for request_irq. Many (most, except net?) drivers use

Re: VPN Masquerade patch going into 2.2.18final?

2000-11-09 Thread Alan Cox
Would you care to comment on the VPN Masquerade patch that has been floating around? Will it make it into an official 2.2.x kernel soon? The VPN-Masq HOWTO seems to think it is going into 2.2.18 proper. There is already more than enough in 2.2. The code is on my pending queue (some of it

Re: [PATCH] media/radio [check_region() removal... ]

2000-11-09 Thread Jeff Garzik
Andrey Panin wrote: 1) how about drivers requesting 2 (or more) irq for one device ? AFAIK some PowerMac net drivers do it (bmac.c for example). Should be fine.. If the driver distinguishes between the irqs, maybe you should do "eth0-rx dma", "eth0-tx dma", etc. 2) i found that some net

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

2000-11-09 Thread Benjamin Herrenschmidt
On Wed, 8 Nov 2000, Andre Hedrick wrote: What is your chipset, CMD646 rev 5 Ultra DMA 33 ??? Yep. I've tried building with the CMD64x driver, and that didn't help matters, if you were wondering. Any thoughts? Did you try the bitkeeper PPC kernel ? (or Paul Mackerras rsync tree ?) Not all PPC

Re: Stange NFS messages - 2.2.18pre19

2000-11-09 Thread Alan Cox
I really really think this should be backed out -- or at the very least disabled. The code wasn't part of the dhiggen merge, it wasn't tested, and it doesn't work well. Heck, it's still experimental and not recommended in 2.4.0-test. Its now an experimental option in my pre21 build tree. So

Re: Installing kernel 2.4

2000-11-09 Thread David Woodhouse
[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 the kernel on any x86 machine. I have four machines on

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

2000-11-09 Thread Alexander Viro
On Thu, 9 Nov 2000, Michael Rothwell wrote: Alexander Viro wrote: On Thu, 9 Nov 2000, Michael Rothwell wrote: Same as before -- freedom and low cost. The primary advantae of Linux over other OSes is the GPL. Now, that's more than slightly insulting... Well, it wasn't

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

2000-11-09 Thread Alan Cox
reason to hamstring their efforts because of the possibility of binary modules. The GPL allows that, right? So any developer of binary-only Its not clear the GPL does allow it. extensions using the GKHI would not be breaking the license agreement, I don't think. There's lots of binary

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

2000-11-09 Thread Alan Cox
Making this "commonplace" is a nightmare. Go away with that. It would be a third major fork (AFAIK), not a first, and not a nightmare. Are RTLinux and uclinux nightmares? How much do they impact your life? RTLinux is hardly a fork. UcLinux is a fork, it has its own mailing list, web site

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

2000-11-09 Thread Paul Jakma
On Thu, 9 Nov 2000, Michael Rothwell wrote: Well, then, problem solved. :) afaik linus allows binary modules in most cases. And since an "Advanced Linux Kernel Project" wouldn't be a Linus kernel, what then? Would they have the same discretion as Linus? Would Linus' exception apply

Re: [PATCH] media/radio [check_region() removal... ]

2000-11-09 Thread Alan Cox
2) i found that some net drivers (3c527.c, sk_mca.c) use io region and don't call request_region() at all. Should they be fixed ? Probably. MCA bus ensures there can be no collisions of I/O space but it does mean the user cannot see what is where as is - To unsubscribe from this list: send

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

2000-11-09 Thread Michael Rothwell
Alexander Viro wrote: Figure 1? Use search engine. On google "See Figure 1" brings the thing in the first 5 hits. http://www.google.com/search?q=See+Figure+1btnG=Google+Search - http://spiffy.cso.uiuc.edu/~kline/Stuff/see-figure-1.html - http://spiffy.cso.uiuc.edu/~kline/Stuff/f-you.gif

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

2000-11-09 Thread Marco Colombo
On Thu, 9 Nov 2000, Michael Rothwell wrote: Alexander Viro wrote: On Thu, 9 Nov 2000, Michael Rothwell wrote: Same as before -- freedom and low cost. The primary advantae of Linux over other OSes is the GPL. Now, that's more than slightly insulting... Well, it wasn't meant

Buffer copying latency

2000-11-09 Thread SVR Anand
Hi, Sorry if it is a naive question. I would like to know if there are any measurements made on a typical Pentium machine with respect to the latency for buffer copying from the user to kernel and vice versa. While there are many papers, and arguments that attempt to ban buffering copying of

Re: Installing kernel 2.4

2000-11-09 Thread Alan Cox
I would like to see some features added to ELF. Resource binding support would be nice, i.e. bitmaps used internally by GUI apps and such, so that they can be shared between processes if they are in a shared lib, You can do shared mappings of almost anything anyway. In fact most of the shared

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

2000-11-09 Thread Michael Rothwell
Alan Cox wrote: RTLinux is hardly a fork. UcLinux is a fork, it has its own mailing list, web site and everything. Post 2.4 I'm still very interested in spending time merging the 2.4 uc and the main tree. I think it can be done and they are doing it in a way that leads logically to this.

Re: [PATCH] media/radio [check_region() removal... ]

2000-11-09 Thread Jeff Garzik
Alan Cox wrote: 2) i found that some net drivers (3c527.c, sk_mca.c) use io region and don't call request_region() at all. Should they be fixed ? Probably. MCA bus ensures there can be no collisions of I/O space but it does mean the user cannot see what is where as is Ditto for

arch/i386/lib/mmx.c no symbols

2000-11-09 Thread therapy
arch/i386/lib/mmx.c does not export modversioned symbols. any module using include/asm-i386/[string.h/string-486.h/page.h] with 3DNOW enabled will fail to load. -therp (not-subscribed to the list, send a cc to me, if you reply) - To unsubscribe from this list: send the line "unsubscribe

Re: Linux 2.4 on Cobalt MiPS servers

2000-11-09 Thread Klaus Naumann
Jason Fayre wrote: Hello, Does the 2.4 series compile on Cobalt Networks MIPS-based servers? There is a cobalt directory under the arch/mips directory. Hi, I don't think so since the last things I have heard from this are a while back. You may want to join the [EMAIL PROTECTED] mailinglist

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

2000-11-09 Thread Jesse Pollard
Larry McVoy [EMAIL PROTECTED]: On Thu, Nov 09, 2000 at 08:44:11AM +0100, Christoph Rohland wrote: Hi Michael, On Wed, 08 Nov 2000, Michael Rothwell wrote: Sounds great; unfortunately, the core group has spoken out against a modular kernel. Perhaps IBM should get together with

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

2000-11-09 Thread Marco Colombo
On Thu, 9 Nov 2000, Paul Jakma wrote: On Thu, 9 Nov 2000, Michael Rothwell wrote: Well, then, problem solved. :) afaik linus allows binary modules in most cases. And since an "Advanced Linux Kernel Project" wouldn't be a Linus kernel, what then? Would they have the same

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

2000-11-09 Thread Theodore Y. Ts'o
Date:Thu, 9 Nov 2000 13:39:04 + (GMT) From: Paul Jakma [EMAIL PROTECTED] I actually think Linus has been too loose/vague on modules. The official COPYING txt file in the tree contains an exception on linking to the kernel using syscalls from linus and the GPL. nothing

Re: arch/i386/lib/mmx.c no symbols

2000-11-09 Thread Keith Owens
On Thu, 9 Nov 2000 14:56:05 +0100, therapy [EMAIL PROTECTED] wrote: arch/i386/lib/mmx.c does not export modversioned symbols. any module using include/asm-i386/[string.h/string-486.h/page.h] with 3DNOW enabled will fail to load. arch/i386/kernel/i386_ksyms.c exports _mmx_memcpy, mmx_clear_page

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

2000-11-09 Thread Theodore Y. Ts'o
Date:Thu, 09 Nov 2000 08:43:14 -0500 From: Michael Rothwell [EMAIL PROTECTED] And how would a hypothetical Advanced Linux Kernel Project be different? Set aside the GKHI and the issue of binary-only hook modules; how would an "enterprise" fork be any different than RT or

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

2000-11-09 Thread Alan Cox
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 that given that there is code from other people including the FSF merged into the tree. I've

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

2000-11-09 Thread Theodore Y. Ts'o
Date:Wed, 08 Nov 2000 16:35:33 -0500 From: Michael Rothwell [EMAIL PROTECTED] Sounds great; unfortunately, the core group has spoken out against a modular kernel. This is true; that's because a modular kernel means that interfaces have to be frozen in time, usually forever.

Re: fpu now a must in kernel

2000-11-09 Thread Andi Kleen
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. A -Andi - To unsubscribe from this list: send

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

2000-11-09 Thread Jeff Garzik
Alan Cox wrote: 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 that given that there is code from other people including the FSF merged into

Re: PCI-PCI bridges mess in 2.4.x

2000-11-09 Thread Ivan Kokshaysky
On Wed, Nov 08, 2000 at 03:48:11PM -0800, Richard Henderson wrote: Whee! We're back in Bootsville. Cool! Meanwhile this base/limit stuff got confirmation :-) Here is a patch against bridges-2.4.0t11-rth. Ivan. --- 2.4.0t11p1/drivers/pci/setup-bus.c Wed Nov 8 19:44:42 2000 +++

Re: PCI-PCI bridges mess in 2.4.x

2000-11-09 Thread Ivan Kokshaysky
On Wed, Nov 08, 2000 at 05:43:54PM -0500, Jeff Garzik wrote: I am still worried that the conditions which generate the following message indicate a problem still exists. (this message exists w/out your patch..) Unknown bridge resource 0: assuming transparent Well, I believe that transparent

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

2000-11-09 Thread Ingo Molnar
On Wed, 8 Nov 2000, Larry McVoy wrote: smart about that stuff, are least it seems so to me; he seems to be well aware that 99.% of the hardware in the world isn't big iron and never will be, so something approximating 99% of the effort should be going towards the common platforms, not

Re: problem with startx in linux kernel 2.4

2000-11-09 Thread Igmar Palsenberg
On Wed, 8 Nov 2000, Anil kumar wrote: Hi, I ahave installed Red Hat 7.0 kernel ver 2.4.0-test9 After I boot, when I do #startx I get an error as server crash. My processor is Pentium II I am attaching with this mail the error output I get and also

Re: malloc(1/0) ??

2000-11-09 Thread Igmar Palsenberg
Where the heck did you get idea? By reading the man page in the middle of the night and reading realloc() as malloc(). My error. -hpa Igmar - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read

Re: [PATCH] media/radio [check_region() removal... ]

2000-11-09 Thread Russell Kroll
[ radio cards ] These drivers seem to be unmantained :) Erm, no. I'm still behind the radio-aztech driver plus my mods on radio-aimslab and radio-cadet. Calling them unmaintained is going too far. As for the others, that's up to their respective authors. I use the cadet every couple of

Re: Kernel 2.2.17 bug found

2000-11-09 Thread Tim Waugh
On Thu, Nov 09, 2000 at 05:20:22PM +0200, Andrea Pintori wrote: [/tmp/old] mv . ../new [/tmp/old](should be /tmp/new !!) You forgot to 'cd .' Tim. */ PGP signature

Re: Kernel 2.2.17 bug found

2000-11-09 Thread Michael Rothwell
Tim Waugh wrote: You forgot to 'cd .' Look for "pebsak" messages in /var/log/syslog ;) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/

Re: Kernel 2.2.17 bug found

2000-11-09 Thread Thomas Köhler
On Thu, Nov 09, 2000 at 05:20:22PM +0200, Andrea Pintori [EMAIL PROTECTED] wrote: I've a Debian dist, Kernel 2.2.17, no patches, all packages are stable. I've Debian unstable, Kernel 2.2.17 here what I found: [/tmp] mkdir old [/tmp] chdir old [/tmp/old] mv . ../new [/tmp/old]

Re: Kernel 2.2.17 bug found

2000-11-09 Thread Richard B. Johnson
On Thu, 9 Nov 2000, 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 !!) The shell might not read this all the

Re: Kernel 2.2.17 bug found

2000-11-09 Thread Jesse Pollard
On Thu, Nov 09, 2000 at 05:20:22PM +0200, 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 !!) [/tmp/old] mkdir fff

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

[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

[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 a

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 does

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 does

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 0x00102007

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 in

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

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 USB bus.

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

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 meant

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) This code

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

2000-11-09 Thread Mike Coleman
Alexander Viro [EMAIL PROTECTED] writes: shrug 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? annoying valspeak tone *Hello*? GNU gcc? GNU emacs?

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: shrug 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? annoying

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 Generally

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 --

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: 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 that's

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?

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 much

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

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? If

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!

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 the

Re: [BUG] /proc/pid/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/pid/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

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/version. Makes me quite unhappy... The /lib filesystem is likely not

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. /*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/

  1   2   3   4   >