cool dev help..

2000-10-29 Thread Akbar A.
cool write up.. http://www.linuxdoc.org/LDP/tlk/tlk.html but i just had 1 question: is there anything similar to what microsoft has pulled of with msdn in the linux world? i mean there is man and all, but is there anything more "user friendly" and in the digital means besides Beg. Linux

Re: / on ramfs, possible?

2000-10-29 Thread Adam J. Richter
Anders Eriksson <[EMAIL PROTECTED]> writes: >I want my / to be a ramfs filesystem. I intend to populate it from an >initrd image, and then remount / as the ramfs filesystem. Is that at >all possible? The way I see it the kernel requires / on a device >(major,minor) or nfs. > >Am I out of luck

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-29 Thread Andi Kleen
On Mon, Oct 30, 2000 at 12:16:46AM -0700, Jeff V. Merkey wrote: > On Mon, Oct 30, 2000 at 08:08:58AM +0100, Andi Kleen wrote: > > On Sun, Oct 29, 2000 at 11:58:21PM -0700, Jeff V. Merkey wrote: > > > On Mon, Oct 30, 2000 at 07:47:00AM +0100, Andi Kleen wrote: > > > > On Sun, Oct 29, 2000 at

Re: / on ramfs, possible?

2000-10-29 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:Anders Eriksson <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > I want my / to be a ramfs filesystem. I intend to populate it from an > initrd image, and then remount / as the ramfs filesystem. Is that at > all possible? The way I see it

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-29 Thread Ingo Molnar
On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > Is there an option to map Linux into a flat address space [...] nope, Linux is fundamentally multitasked. what you can do to hack around this is to not switch to the idle thread after having done work in nfsd. Some simple & stupid thing in

/ on ramfs, possible?

2000-10-29 Thread Anders Eriksson
I want my / to be a ramfs filesystem. I intend to populate it from an initrd image, and then remount / as the ramfs filesystem. Is that at all possible? The way I see it the kernel requires / on a device (major,minor) or nfs. Am I out of luck using ramfs as /? If it's easy to fix, how do I

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-29 Thread Jeff V. Merkey
On Mon, Oct 30, 2000 at 09:26:59AM +0100, Ingo Molnar wrote: > > On Mon, 30 Oct 2000, Andi Kleen wrote: > > > One problem in Linux 2.2 is that kernel threads reload their VM on > > context switch (that would include the nfsd thread), this should be > > fixed in 2.4 with lazy mm. Hmm actually it

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-29 Thread Jeff V. Merkey
On Mon, Oct 30, 2000 at 08:08:58AM +0100, Andi Kleen wrote: > On Sun, Oct 29, 2000 at 11:58:21PM -0700, Jeff V. Merkey wrote: > > On Mon, Oct 30, 2000 at 07:47:00AM +0100, Andi Kleen wrote: > > > On Sun, Oct 29, 2000 at 06:35:31PM -0700, Jeff V. Merkey wrote: > > > > On Mon, Oct 30, 2000 at

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-29 Thread Ingo Molnar
On Mon, 30 Oct 2000, Andi Kleen wrote: > One problem in Linux 2.2 is that kernel threads reload their VM on > context switch (that would include the nfsd thread), this should be > fixed in 2.4 with lazy mm. Hmm actually it should be only fixed for > true kernel threads that have been started

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-29 Thread Andi Kleen
On Sun, Oct 29, 2000 at 11:58:21PM -0700, Jeff V. Merkey wrote: > On Mon, Oct 30, 2000 at 07:47:00AM +0100, Andi Kleen wrote: > > On Sun, Oct 29, 2000 at 06:35:31PM -0700, Jeff V. Merkey wrote: > > > On Mon, Oct 30, 2000 at 12:04:23AM +, Alan Cox wrote: > > > > > It's still got some problems

Re: /proc & xml data

2000-10-29 Thread Eric W. Biederman
Joe <[EMAIL PROTECTED]> writes: > I remember hearing about various debates about the /proc structure. I > was wondering if anyone had ever considered storing some of the data in > xml format rather than its current format? Things like /proc/meminfo > and cpuinfo may work good in this format as

Re: tcp.c::wait_for_tcp_memory() buggy ?

2000-10-29 Thread Ingo Molnar
On Sun, 29 Oct 2000, Rik van Riel wrote: > I can't quite put my finger on what wait_for_tcp_memory() is supposed > to do, [...] it's waiting for TCP output packets to be processed. This is a TCP protocol detail and is not connected to VM issues. The function name might be a bit misleading, it

Re: eepro100: card reports no resources [was VM-global...]

2000-10-29 Thread pierre
Andrey Savochkin wrote: > > > Oct 26 16:38:01 ns29 kernel: eth0: card reports no resources. > > > > > let me guess: intel eepro100 or similar?? > > > 2.4.0-test9-pre3 it doesnt happen on my machine ... I run 2.4.0-test10-pre5 and it still does it. Trick : "ifconfig eth0 down" then "ifconfig eth0

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-29 Thread Andi Kleen
On Sun, Oct 29, 2000 at 06:35:31PM -0700, Jeff V. Merkey wrote: > On Mon, Oct 30, 2000 at 12:04:23AM +, Alan Cox wrote: > > > It's still got some problems with NFS (I am seeing a few RPC timeout > > > errors) so I am backreving to 2.2.17 for the Ute-NWFS release next week, > > > but it's most

Re: [ANNOUNCE] ide-patch for 2.2.18(pre)

2000-10-29 Thread lamont
bkz, any chance of a backport of this backport to 2.2.17? On Fri, 27 Oct 2000, Andre Hedrick wrote: > Hi Bart, > > The point is that I have stopped with the backport because of 2.4.0 push, > and I was waiting on you to pick it up again. > >

Re: [PATCH] Re: Negative scalability by removal of lock_kernel()?(Was:

2000-10-29 Thread Andi Kleen
On Sun, Oct 29, 2000 at 11:45:49AM -0800, dean gaudet wrote: > On Sat, 28 Oct 2000, Alan Cox wrote: > > > > The big question is: why is Apache using file locking so > > > much? Is this normal behaviour for Apache? > > > > Apache uses file locking to serialize accept on hosts where accept

/proc & xml data

2000-10-29 Thread Joe
I remember hearing about various debates about the /proc structure. I was wondering if anyone had ever considered storing some of the data in xml format rather than its current format? Things like /proc/meminfo and cpuinfo may work good in this format as then it would be easy to write a generic

PATCH 2.4.0.10.6: wrapper.h cleanup

2000-10-29 Thread Jeff Garzik
Linus, Attached is a patch against 2.4.0-test10-pre6. I went the ultra-safe route and put parentheses around every macro arg. Compiles ok for me here... If you were wondering if we can remove wrapper.h altogether, IMHO no, there are too many users (43) right now.. Changes: * add lots

Re: Compile error in drivers/ide/osb4.c in 240-t10p6

2000-10-29 Thread David Hinds
On Sun, Oct 29, 2000 at 11:12:57PM +0100, Rasmus Andersen wrote: > > Thanks for the pointer. However my test build still barfs in the final > link phase because we (in t10p6) morphed drivers/pcmcia/cs.c::pcmcia_ > request_irq into (the static) cs_request_irq. The rename part > broke the two

bug fix for 'include/linux/wrapper.h', bad parentheses for macros

2000-10-29 Thread Kevin Lawton
Listed in 2.4 headers as: #define mem_map_reserve(p) set_bit(PG_reserved, >flags) #define mem_map_unreserve(p) clear_bit(PG_reserved, >flags) ...but should be: #define mem_map_reserve(p) set_bit(PG_reserved, &((p)->flags)) #define mem_map_unreserve(p)

kernel 2.4.0-test9 nd bttv

2000-10-29 Thread vwbug
it look like you didn't add the lines to .config the stupid bttv drivers that's why mine didnt work with bttv card i have read the .config under video for linux and found no refernce to bttv??? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: page->mapping == 0

2000-10-29 Thread Daniel Phillips
Linus Torvalds wrote: > Now, I don't think this is really a valid usage pattern, so it's most > likely to be a result of a buggy application, but I can imagine having > some strange kind of user-space VM memory management scheme that depends > on SIGBUS to maintain a file length. I've never heard

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-29 Thread Jeff V. Merkey
On Mon, Oct 30, 2000 at 12:04:23AM +, Alan Cox wrote: > > It's still got some problems with NFS (I am seeing a few RPC timeout > > errors) so I am backreving to 2.2.17 for the Ute-NWFS release next week, > > but it's most impressive. > > Can you send a summary of the NFS reports to [EMAIL

POSIX message queue support in Linux kernel?

2000-10-29 Thread Craig Rodrigues
Hi, Does the Linux kernel support POSIX message queues as defined by the Single Unix Specification, v2, ie. http://www.opengroup.org/onlinepubs/007908799/xsh/mqueue.h.html stuff like mq_open(), mq_send(), mq_close(), etc. I've tried grepping the sources for 2.4.0, and could not find anything.

Re: Compile error in drivers/ide/osb4.c in 240-t10p6

2000-10-29 Thread Jeff Garzik
Rasmus Andersen wrote: > Thanks for the pointer. However my test build still barfs in the final > link phase because we (in t10p6) morphed drivers/pcmcia/cs.c::pcmcia_ > request_irq into (the static) cs_request_irq. The rename part > broke the two other places in cs.c where pcmcia_request_irq was

Readiness vs. completion (was: Re: Linux's implementation of poll()not scalable?)

2000-10-29 Thread Dan Kegel
John Gardiner Myers <[EMAIL PROTECTED]> wrote: > Your proposed interface suffers from most of the same problems as the > other Unix event interfaces I've seen. Key among the problems are > inherent race conditions when the interface is used by multithreaded > applications. > > The

Re: syslog() blocks on glibc 2.1.3 with kernel 2.2.x

2000-10-29 Thread Igmar Palsenberg
> > It was NOT ignored. If syslogd dies, then the system SHOULD stop, after a > > Huh? "SHOULD"? Why? If syslog dies for any reason (bug, DOS, hack, > admin stupidity) then I sure don't want the system freezing up. In some cases, I find the syslog messages of more importance then a working

ide/disk perf?

2000-10-29 Thread Mohammad A. Haque
Could someone who knows ide and drive inside and out (Andre?) please take a look at these figures? Am I forgetting to do something (or doing something I'm not suposed to) to get the best numbers? I thought I'd be able to get more than ~4MB/sec off the HPT366 and a UDMA66 drive. Kernel:

2.2.18Pre Lan Performance Rocks!

2000-10-29 Thread Jeff V. Merkey
Alan, I don't know what all changes you guys did to 2.2.18pre, but the LAN I/O performance absolutely rocks on our tests here vs. NetWare. Good job. It's still got some problems with NFS (I am seeing a few RPC timeout errors) so I am backreving to 2.2.17 for the Ute-NWFS release next week,

Re: [patch] kernel/module.c (plus gratuitous rant)

2000-10-29 Thread Rusty Russell
In message <[EMAIL PROTECTED]> you write: > On Fri, 27 Oct 2000 19:45:13 +0200, > Pavel Machek <[EMAIL PROTECTED]> wrote: > >Would it be possible to keep 2.7.2.3? You still need 2.7.2.3 to > >reliably compile 2.0.X (and maybe even 2.2.all-but-latest?). > > You can have multiple versions of gcc

Re: Podfuk renamed to uservfs and moved to sourceforge

2000-10-29 Thread Roland Mainz
Pavel Machek wrote: > Subject says it pretty much all. If you want to help with anything, > just get yourself sourceforge account and ask me ;-). podfuk V3.7 is on the way, I've created my sourceforge account ("gisburn"). How can I upload it ? Bye, Roland -- __ . . __ (o.\ \/ /.o)

Re: Blocked processes <=> Elevator starvation?

2000-10-29 Thread Jeff V. Merkey
I am posting the completed NWFS 2.4.4 tommorrow, and it NEVER exhibits this lockup problem on the console, no matter how busy the I/O subsystem underneath becomes. I think this is probably because I use my own elevator and LRU and don't use Linus's buffer cache. Whatever is causing it I would

Re: page->mapping == 0

2000-10-29 Thread Jeff V. Merkey
Alan Cox wrote: > > > I would expect problems with truncate, mmap, rename, POSIX locks, fasync, > > ptrace and mount go unnoticed for _long_. Ditto for parts of procfs > > Well the ptrace one still has mysteriously breaks usermode linux against it > on my list here. Was that ever explained.

[patch] 2.4.0-test10-pre6 fix usb initialization order

2000-10-29 Thread Keith Owens
Linus, please apply. Without this patch, USB has problems when built into the kernel and modversions are used, I have confirmation that it fixes the reported problem. The only changes from the previous version of this patch are in the documentation. This patch against 2.4.0-test10-pre6

Re: Blocked processes <=> Elevator starvation?

2000-10-29 Thread Jens Axboe
On Sun, Oct 29 2000, Miles Lane wrote: > >> There were still some stalls but they only lasted a couple of > >> seconds. The patch did make a difference and for the better. > > > > > > Ok, still needs a bit of work. Thanks for the feedback. > > Have you resolved this problem completely, now? >

Re: patch: atapi dvd-ram support

2000-10-29 Thread Jens Axboe
On Sun, Oct 29 2000, Hisaaki Shibata wrote: > I tried the patch. > But kernel said Oops both fdisk /dev/hdc and > dd if=/dev/zero of=/dev/hdc bs=2048 count=1 . > After showing above strace message in a few seconds, kernel panic happened. > > I can not see some head line of Oops messages. Sorry.

Re: Compile error in drivers/ide/osb4.c in 240-t10p6

2000-10-29 Thread Rasmus Andersen
> This patch, and a lot of others of a similar nature, are in my test10pre6 > compile patch at [snip] (Added a bit to the cc list) Hi Arjan. Thanks for the pointer. However my test build still barfs in the final link phase because we (in t10p6) morphed drivers/pcmcia/cs.c::pcmcia_ request_irq

Oops in 2.4.0-test10-pre6

2000-10-29 Thread f5ibh
Hi! This oops is not a new one .. I've it for quite a long time. It always happens when starting a hamradio program called 'ulistd'. There is not any problem at all with this program and the 2.2.17 or 2.2.18prex The system is frozen. I can access the 'magic keys'. My configuration is Pentium

Re: SMP System 2.2.15 #2 locking

2000-10-29 Thread Constantine Gavrilov
Could be a hardware problem. Check the errata/bios updates for your board or system. I had a similar problem and it turned out to be a hardware BUG with an Intel server board. It is funny the way they describe the bug -- it is a manufacturer problem that affects only one of 5 (or 6, I do not

Re:[patch] 2.4.0-test10-pre6 fix usb initialization order

2000-10-29 Thread Hunt Kent
Thanks, your patch solved my USB module dependency problems. >This patch against 2.4.0-test10-pre6 implements >LINK_FIRST and > LINK_LAST to fix the problem with usb initialization >order. The patch *only* affects drivers/usb __ Do You Yahoo!?

Re: page->mapping == 0

2000-10-29 Thread Alexander Viro
On Sun, 29 Oct 2000, Alan Cox wrote: > > I would expect problems with truncate, mmap, rename, POSIX locks, fasync, > > ptrace and mount go unnoticed for _long_. Ditto for parts of procfs > > Well the ptrace one still has mysteriously breaks usermode linux against it > on my list here. Was

Re: [patch] NE2000

2000-10-29 Thread Alan Cox
> This change sounds ok to me, if noone else objects. (I added to the CC > a bit) I saw that code, and was thinking about doing the same thing > myself. ne2k-pci.c definitely has changes which are not included in > ne.c, and it seems silly to duplicate ne2000 PCI support. Unless there are any

Re: page->mapping == 0

2000-10-29 Thread Alan Cox
> I would expect problems with truncate, mmap, rename, POSIX locks, fasync, > ptrace and mount go unnoticed for _long_. Ditto for parts of procfs Well the ptrace one still has mysteriously breaks usermode linux against it on my list here. Was that ever explained. It looked like the stack got

Re: [patch] NE2000

2000-10-29 Thread Jeff Garzik
pavel rabel wrote: > There are three drivers for n2k cards. One is MCA only, one is PCI only, > and the then the third one (ne.c) is both ISA and PCI. I think the ISA > driver should be ISA only, as is described in Documentation and in config > help. So I removed PCI code from ne.c to have ISA

Re: page->mapping == 0

2000-10-29 Thread Linus Torvalds
On Sun, 29 Oct 2000, Linus Torvalds wrote: > > Making it policy that we have to re-test page->mapping after aquireing the > page lock might be the simplest fix for 2.4.x. It still means that we > might end up allowing people to have a "bad" page in the VM space due to > the "test->insert" race

Re: 2.4.0-test10pre5: still IDE lockups on HPT366 controller.

2000-10-29 Thread Winfried Truemper
On Tue, 24 Oct 2000, Mark Hahn wrote: > > APIC error on CPU1 00(02) or 02(02) or 00(08) or 00(04) > > BP6 bugs, not linux's, and especially not ide's fault. you have to > do the usual BP6 voodoo: bios update, extra fans, big PS, higher voltage. On friday I bought a power supply with

Re: page->mapping == 0

2000-10-29 Thread Linus Torvalds
On Sun, 29 Oct 2000, Alexander Viro wrote: > > One possible way is to access page->mapping _only_ under the page lock > and in cases when we call ->i_mapping->a_ops->foo check the ->mapping > before the method call. I'm leaning towards this for a 2.4.x solution. As far as I can tell,

Oops in 2.4.0.-test9

2000-10-29 Thread Arthur Pedyczak
Hi All, I have just gotten the following Oops. The system was working under significant load (CPU intensive computation + verification of a freshly burned CD). ksymoops 2.3.4 on i686 2.4.0-test9.

Re: syslog() blocks on glibc 2.1.3 with kernel 2.2.x

2000-10-29 Thread James Sutherland
On Sun, 29 Oct 2000, Jesse Pollard wrote: > On Sun, 29 Oct 2000, Stephen Harris wrote: > >Horst von Brand wrote: > > > >> > > If you send SIGSTOP to syslogd on a Red Hat 6.2 system (glibc 2.1.3, > >> > > kernel 2.2.x), within a few minutes you will find your entire machine > >> > > grinds to a

Re: guarantee_memory() syscall?

2000-10-29 Thread James Sutherland
On 29 Oct 2000, Eric W. Biederman wrote: > Raul Miller <[EMAIL PROTECTED]> writes: > > > Can anyone tell me about the viability of a guarantee_memory() syscall? > > > > [I'm thinking: it would either kill the process, or allocate all virtual > > memory needed for its shared libraries, buffers,

Re: page->mapping == 0

2000-10-29 Thread Alexander Viro
On Sun, 29 Oct 2000, Linus Torvalds wrote: > approach for 2.4.x where we just re-test against the file size in multiple > places where this can happen - but it would be nicer to handle this more > cleanly. One possible way is to access page->mapping _only_ under the page lock and in cases

Re: Blocked processes <=> Elevator starvation?

2000-10-29 Thread Miles Lane
Jens Axboe wrote: > On Sat, Oct 28 2000, Rui Sousa wrote: > >> After adding >> >> #define ELEVATOR_HOLE_MERGE 3 >> >> to linux/include/linux/elevator.h it compiled ok. > > > Oops sorry, I'm on the road so the patch was extracted > from my packet writing tree (and not my regular tree). >

Re: page->mapping == 0

2000-10-29 Thread Linus Torvalds
On Sun, 29 Oct 2000, Paul Mackerras wrote: > > I have tracked down why I am getting the oops with page->mapping == 0 > in block_read_full_page. Well, at least if not the ultimate cause, > then the penultimate cause. It's basically yet another truncate bug > (tm). I have some fairly detailed

Re: syslog() blocks on glibc 2.1.3 with kernel 2.2.x

2000-10-29 Thread Stephen Harris
> It was NOT ignored. If syslogd dies, then the system SHOULD stop, after a Huh? "SHOULD"? Why? If syslog dies for any reason (bug, DOS, hack, admin stupidity) then I sure don't want the system freezing up. ( heh... at work on Solaris I monitor 300+ systems, and it's not unusual to find 1

Re: Oops in block_read_full_page() in test10-pre6

2000-10-29 Thread Alexander Viro
On Sun, 29 Oct 2000, Mohammad A. Haque wrote: > I JUST got the same oops. But daylight savings happened 9 or so hours > ago here. Known problem, fix being tested. Basically, it's the same as mmap/truncate races, with do_generic_file_read() in place of filemap_nopage(). I wonder what made it

Re: kernel BUG at fs.c:567

2000-10-29 Thread Stephen Crowley
On Sun, Oct 29, 2000 at 11:27:58AM +0100, David Weinehall wrote: > On Sat, Oct 28, 2000 at 06:43:42PM -0500, Stephen Crowley wrote: > > kernel 2.4.0-test10-pre6, but this has been here as long as I can > > remember. > > > > starting wine triggers the bug, C: points to /win2k which is an NTFS > >

Re: Oops in block_read_full_page() in test10-pre6

2000-10-29 Thread Mohammad A. Haque
I JUST got the same oops. But daylight savings happened 9 or so hours ago here. [EMAIL PROTECTED] wrote: > > Wierd thing about this oops is that it happened just > as I ticked over between the daylight savings adjustment, > and the system clock changed itself. > > Coincidence ? :) > > Unable

Oops in block_read_full_page() in test10-pre6

2000-10-29 Thread davej
Wierd thing about this oops is that it happened just as I ticked over between the daylight savings adjustment, and the system clock changed itself. Coincidence ? :) Unable to handle kernel NULL pointer dereference at virtual address 0010 c012efaa *pde = Oops: CPU:0 EIP:

Re: SMP System 2.2.15 #2 locking & Memory oddness?

2000-10-29 Thread Alan Cox
> Then I killed the two apache processes and the memory usage stayed > basically the same. I even checked top and ps, with no other programs > hogging memory. I can't seem to get the memory to "clear". The memory usage stuff seems sane. We wont free memory because its unused its just now

Multiple warnings when compiling network driver in 2.4.0-test9

2000-10-29 Thread Hen, Shmulik
Hello, While trying to compile a network driver for 2.4.0-test9 (+kdb-v1.5, configured for UP) I'm getting multiple warnings: /usr/src/linux/include/linux/sched.h:700: warning: can't inline call to `__mmdrop' /usr/src/linux/include/linux/sched.h:704: warning: called from here

Re: syslog() blocks on glibc 2.1.3 with kernel 2.2.x

2000-10-29 Thread Jesse Pollard
On Sun, 29 Oct 2000, Stephen Harris wrote: >Horst von Brand wrote: > >> > > If you send SIGSTOP to syslogd on a Red Hat 6.2 system (glibc 2.1.3, >> > > kernel 2.2.x), within a few minutes you will find your entire machine >> > > grinds to a halt. For example, nobody can log in. >> >> Great! Yet

Re: gcc question (off topic)

2000-10-29 Thread Alan Cox
> Can gcc generate ASM output with the source lines from the C file > interspersed as comments? Not afak directly. The makelst stuff in 2.2.18pre IBM contributed claims to do the job though - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: 2.2.17 & ASUS CD-S500/A (again)

2000-10-29 Thread Lorenzo Allegrucci
At 13.40 28/10/00 -0700, you wrote: >On Sat, Oct 28 2000, Lorenzo Allegrucci wrote: >> I've got this while trying to play an audio CD by cdplay. > >[snip] > >> NOTE: >> 2.4.0-test9 works without problems. > >2.2.18-pre-latest will do then, could you try that? Yes, I've tried 2.2.18pre17, problem

test9 oops (in block_read_full_page)

2000-10-29 Thread Nick Piggin
I apologise if this oops has already been fixed: it has happened twice but I can't find the exact way to trigger it, I just want to make sure it is reported ;) Nick oops

SMP System 2.2.15 #2 locking & Memory oddness?

2000-10-29 Thread John Babina III
I have been investigating this for quite a while and am at a loss... (Please let me know if you need more information or this post is unclear in anway, I tried to make it as complete as possible) I am running a heavily hit web server (around half a million hits a day) and am getting random

Re: gcc question (off topic)

2000-10-29 Thread Erik Mouw
On Sun, Oct 29, 2000 at 10:17:36AM -0500, Jerry Kelley wrote: > Can gcc generate ASM output with the source lines from the C file > interspersed as comments? Yes, "gcc -S". Look in the gcc info pages for more information (the man page in known to be outdated). If that isn't what you want, try

gcc question (off topic)

2000-10-29 Thread Jerry Kelley
Can gcc generate ASM output with the source lines from the C file interspersed as comments? Thanks. Jerry Kelley [EMAIL PROTECTED] - 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

Oops in block_read_full_page()

2000-10-29 Thread Erik Mouw
Hi, I just got an Oops in block_read_full_page() (fs/buffer.c) in test10-pre6 while logging out from X. The system is an Asus P6300 notebook with Mobile PII/266 and 112MB memory running SuSE 6.4. Here is the output from ksymoops: ksymoops 0.7c on i686 2.4.0-test10. Options used -V

Broken colors on console with 2.4.0-textXX

2000-10-29 Thread Richard Guenther
Hi! Console colors are completely messed up (read: black, I even suspect the font to be corrupt somehow) if switching back to console mode from X (either by quitting or ctrl-alt-fX) in recent 2.4.0-textXX kernels. 2.2.XX do work just fine. Is this a known problem with a known fix? Setup:

Re: guarantee_memory() syscall?

2000-10-29 Thread Alan Cox
> Can anyone tell me about the viability of a guarantee_memory() syscall? > [I'm thinking: it would either kill the process, or allocate all virtual > memory needed for its shared libraries, buffers, allocated memory, etc. > Furthermore, it would render this process immune to the OOM killer, >

Re: PATCH: killing read_ahead[]

2000-10-29 Thread Alexander Viro
On Thu, 26 Oct 2000, Linus Torvalds wrote: > The alternative is to have an entirely different approach, where the page > cache itself only knows about the maximum page (in which case your current > "last_page" calculation is right on), and then anybody who needs to know > about partial pages

Re: guarantee_memory() syscall?

2000-10-29 Thread Eric W. Biederman
Raul Miller <[EMAIL PROTECTED]> writes: > Can anyone tell me about the viability of a guarantee_memory() syscall? > > [I'm thinking: it would either kill the process, or allocate all virtual > memory needed for its shared libraries, buffers, allocated memory, etc. > Furthermore, it would render

Re: [patch] BSD process accounting: new locking

2000-10-29 Thread Nick Piggin
> I have attached a very small patch (test9) to remove the kernel lock from > kernel/acct.c. If I am missing something major (a brain?), I apologise in > advance. I have tested this on my UP x86 with spinlock debugging. I would > appreciate comments or an explanation of why this can't be done if

Re: PROBLEM: DELL PERC/Megaraid RAID driver in Linux 2.2.18pre17 hang

2000-10-29 Thread Miquel van Smoorenburg
In article <[EMAIL PROTECTED]>, Alan Cox <[EMAIL PROTECTED]> wrote: >Yep - known problem. AMI have one more pre patch to sort it our Im going back >to the older driver I've tried the AMI patch and it appears to work. I'm now running 2.2.18pre18 + fix to ideprobe.c + ami megaraid fix and it

Re: Linux 2.2.18pre18

2000-10-29 Thread Miquel van Smoorenburg
In article <[EMAIL PROTECTED]>, Alan Cox <[EMAIL PROTECTED]> wrote: >2.2.18pre18 >o Fix rtc_lock for ide-probe, and hd.c(Richard Johnson) I need this to get it to compile: --- linux-2.2.18pre18.orig/drivers/block/ide-probe.cSun Oct 29 13:02:39 2000 +++

Re: Compile error in drivers/ide/osb4.c in 240-t10p6

2000-10-29 Thread Arjan van de Ven
In article <[EMAIL PROTECTED]> you wrote: > The variable, osb4_revision, is inside a #ifdef CONFIG_PROC_FS block but > I was not able to discern if the line where it is referred should be > #ifdef'ed also. The following patch moves the variable declaration out- > side the #ifdef block, as a

guarantee_memory() syscall?

2000-10-29 Thread Raul Miller
Can anyone tell me about the viability of a guarantee_memory() syscall? [I'm thinking: it would either kill the process, or allocate all virtual memory needed for its shared libraries, buffers, allocated memory, etc. Furthermore, it would render this process immune to the OOM killer, unless it

Compile error in drivers/ide/osb4.c in 240-t10p6

2000-10-29 Thread Rasmus Andersen
Forgot to cc linux-kernel Hi. I get the following error when trying to compile 2.4.0-test10pre6 without procfs support: drivers/ide/osb4.c: In function `pci_init_osb4': drivers/ide/osb4.c:264: `osb4_revision' undeclared (first use in this function) drivers/ide/osb4.c:264: (Each undeclared

Re: RAID superblock

2000-10-29 Thread Wakko Warner
> > [Wakko Warner] > > > While this subject is fresh, what would be wrong with using the > > > entire drive as opposed to creating a partition and adding the > > > partition to the raid? > > > > Does it autodetect an entire drive? The autodetect logic for > > partitions looks at the 'partition

Re: page->mapping == 0

2000-10-29 Thread Daniel Phillips
Paul Mackerras wrote: > I am not any kind of expert on the page cache but it seems to me that > maybe after locking the page we should check if it is still the page > we want (i.e. page->mapping and page->index are still correct), and go > back and look up the page again if not. Presumably there

[patch] BSD process accounting: new locking

2000-10-29 Thread Nick Piggin
I have attached a very small patch (test9) to remove the kernel lock from kernel/acct.c. If I am missing something major (a brain?), I apologise in advance. I have tested this on my UP x86 with spinlock debugging. I would appreciate comments or an explanation of why this can't be done if you have

Re: RAID superblock

2000-10-29 Thread Igmar Palsenberg
On Sun, 29 Oct 2000, Peter Samuelson wrote: > [Wakko Warner] > > While this subject is fresh, what would be wrong with using the > > entire drive as opposed to creating a partition and adding the > > partition to the raid? > > Does it autodetect an entire drive? The autodetect logic for >

2.2.18pre17 + vm critical fix success

2000-10-29 Thread Olli Lounela
Just thought others besides Alan would want to know. There's some new data too (and typo fixes, now that I'm at it :) -klippeti-klippeti-klippeti-klap- I'd like to report a successful heavy-duty test of 2.2.18pre17 with Andrea's strict-VM-corruption-fix-1 (denoted 'vmfix'

Re: RAID superblock

2000-10-29 Thread Peter Samuelson
[Wakko Warner] > While this subject is fresh, what would be wrong with using the > entire drive as opposed to creating a partition and adding the > partition to the raid? Does it autodetect an entire drive? The autodetect logic for partitions looks at the 'partition type' byte, which of course

Re: kernel BUG at fs.c:567

2000-10-29 Thread David Weinehall
On Sat, Oct 28, 2000 at 06:43:42PM -0500, Stephen Crowley wrote: > kernel 2.4.0-test10-pre6, but this has been here as long as I can > remember. > > starting wine triggers the bug, C: points to /win2k which is an NTFS > filesystem. [snip] Yep, there's a solution for this. Get yourself the

page->mapping == 0

2000-10-29 Thread Paul Mackerras
Linus, I have tracked down why I am getting the oops with page->mapping == 0 in block_read_full_page. Well, at least if not the ultimate cause, then the penultimate cause. It's basically yet another truncate bug (tm). I have some fairly detailed traces which I can send you if you like, but

Oops in 2.2.17

2000-10-29 Thread Igor Kolomiets
Today I've found the following in my /var/log/messages: Oct 28 20:14:36 some_host kernel: kmem_free: Bad obj addr (objp=c2b381e0, name=size-64) Oct 28 20:14:36 some_host kernel: Unable to handle kernel NULL pointer dereference at virtual address Oct 28 20:14:36 some_host kernel:

Re: syslog() blocks on glibc 2.1.3 with kernel 2.2.x

2000-10-29 Thread Stephen Harris
Horst von Brand wrote: > > > If you send SIGSTOP to syslogd on a Red Hat 6.2 system (glibc 2.1.3, > > > kernel 2.2.x), within a few minutes you will find your entire machine > > > grinds to a halt. For example, nobody can log in. > > Great! Yet another way in which root can get the rope to

Oops in 2.2.17

2000-10-29 Thread Igor Kolomiets
Today I've found the following in my /var/log/messages: Oct 28 20:14:36 some_host kernel: kmem_free: Bad obj addr (objp=c2b381e0, name=size-64) Oct 28 20:14:36 some_host kernel: Unable to handle kernel NULL pointer dereference at virtual address Oct 28 20:14:36 some_host kernel:

Re: syslog() blocks on glibc 2.1.3 with kernel 2.2.x

2000-10-29 Thread Stephen Harris
Horst von Brand wrote: If you send SIGSTOP to syslogd on a Red Hat 6.2 system (glibc 2.1.3, kernel 2.2.x), within a few minutes you will find your entire machine grinds to a halt. For example, nobody can log in. Great! Yet another way in which root can get the rope to shoot herself

page-mapping == 0

2000-10-29 Thread Paul Mackerras
Linus, I have tracked down why I am getting the oops with page-mapping == 0 in block_read_full_page. Well, at least if not the ultimate cause, then the penultimate cause. It's basically yet another truncate bug (tm). I have some fairly detailed traces which I can send you if you like, but the

Re: kernel BUG at fs.c:567

2000-10-29 Thread David Weinehall
On Sat, Oct 28, 2000 at 06:43:42PM -0500, Stephen Crowley wrote: kernel 2.4.0-test10-pre6, but this has been here as long as I can remember. starting wine triggers the bug, C: points to /win2k which is an NTFS filesystem. [snip] Yep, there's a solution for this. Get yourself the complete

Re: RAID superblock

2000-10-29 Thread Peter Samuelson
[Wakko Warner] While this subject is fresh, what would be wrong with using the entire drive as opposed to creating a partition and adding the partition to the raid? Does it autodetect an entire drive? The autodetect logic for partitions looks at the 'partition type' byte, which of course

2.2.18pre17 + vm critical fix success

2000-10-29 Thread Olli Lounela
Just thought others besides Alan would want to know. There's some new data too (and typo fixes, now that I'm at it :) -klippeti-klippeti-klippeti-klap- I'd like to report a successful heavy-duty test of 2.2.18pre17 with Andrea's strict-VM-corruption-fix-1 (denoted 'vmfix'

[patch] BSD process accounting: new locking

2000-10-29 Thread Nick Piggin
I have attached a very small patch (test9) to remove the kernel lock from kernel/acct.c. If I am missing something major (a brain?), I apologise in advance. I have tested this on my UP x86 with spinlock debugging. I would appreciate comments or an explanation of why this can't be done if you have

Re: RAID superblock

2000-10-29 Thread Igmar Palsenberg
On Sun, 29 Oct 2000, Peter Samuelson wrote: [Wakko Warner] While this subject is fresh, what would be wrong with using the entire drive as opposed to creating a partition and adding the partition to the raid? Does it autodetect an entire drive? The autodetect logic for partitions

Re: page-mapping == 0

2000-10-29 Thread Daniel Phillips
Paul Mackerras wrote: I am not any kind of expert on the page cache but it seems to me that maybe after locking the page we should check if it is still the page we want (i.e. page-mapping and page-index are still correct), and go back and look up the page again if not. Presumably there will

Compile error in drivers/ide/osb4.c in 240-t10p6

2000-10-29 Thread Rasmus Andersen
ugh Forgot to cc linux-kernel Hi. I get the following error when trying to compile 2.4.0-test10pre6 without procfs support: drivers/ide/osb4.c: In function `pci_init_osb4': drivers/ide/osb4.c:264: `osb4_revision' undeclared (first use in this function) drivers/ide/osb4.c:264: (Each undeclared

guarantee_memory() syscall?

2000-10-29 Thread Raul Miller
Can anyone tell me about the viability of a guarantee_memory() syscall? [I'm thinking: it would either kill the process, or allocate all virtual memory needed for its shared libraries, buffers, allocated memory, etc. Furthermore, it would render this process immune to the OOM killer, unless it

Re: Compile error in drivers/ide/osb4.c in 240-t10p6

2000-10-29 Thread Arjan van de Ven
In article [EMAIL PROTECTED] you wrote: The variable, osb4_revision, is inside a #ifdef CONFIG_PROC_FS block but I was not able to discern if the line where it is referred should be #ifdef'ed also. The following patch moves the variable declaration out- side the #ifdef block, as a blind

  1   2   >