SCHED_FIFO task blocks magic sysrq

2001-07-03 Thread David Mansfield
It seems like the sysrq code can get starved by a SCHED_FIFO task. I learned this by having an accidentally runaway SCHED_FIFO task which locked up my system. No SAK, no sync, no unmount, no reboot. Big Red Button. David -- David Mansfield (718) 963

severe FS corruption with 2.4.6-pre2 + IBM jfs 0.3.4 patch

2001-06-12 Thread David Mansfield
nel and I was dead. My OS partition was trashed, about 1/2 of it was unrecoverable. My home partition fared better (good luck) but still had plenty of trashed inodes. I've never had problems with any kernels before this... That's my story, David -- David Mansfield

2.4.6-pre1 hard lockup

2001-06-06 Thread David Mansfield
info. My system is a 700mhz Athlon, 256mb ram, Adaptec 2940UW, eepro100, and sound card is emu10k1 (sb live). -- David Mansfield (718) 963-2020 [EMAIL PROTECTED] Ultramaster Group, LLC www.ultramaster.com - To unsubscribe

Re: Why recovering from broken configs is too hard

2001-05-03 Thread David Mansfield
s into a world of bistates. How do you like that :-) Instead of trying all possible combinations, instead for 2000 symbols you only need (worst case) to check 2000 - each iteration you will have changed one setting from y to n, so the most you can do is 2000 checks. David -- David Mansfield

Re: nfs performance at high loads

2001-04-25 Thread David Mansfield
ell as fixes for bugs that could corrupt your filesystems. The zero copy patch as it existed for 2.4.0 was also buggy in itself, so that would explain some of your extended problems. Really, 2.4.0 is a 'horrible' kernel to be running, as it is missing an enormou

Re: [PATCH] fix a bug in ioctl(CDROMREADAUDIO) in cdrom.c in 2.2

2001-03-16 Thread David Mansfield
, but to me, such a simple fix as yours should go in the kernel in the meantime. Jens? -- David Mansfield (718) 963-2020 [EMAIL PROTECTED] Ultramaster Group, LLC www.ultramaster.com - To unsubscribe from this list: send the

Re: [PATCH] oom-killer trigger

2001-03-01 Thread David Mansfield
;=) rather than introducing a magic number (4). Or at least make the magic number interesting, like: + if (nr_free_pages() > freepages.min + 42) :-) Thanks for the bugfix, David -- David Mansfield (718) 963-2020 [EMAIL PROTECTED] Ultramaster Gr

Re: paging behavior in Linux

2001-02-28 Thread David Mansfield
he mmap_sem could be dropped during the blocking on I/O, and reclaimed after the handle_mm_fault? Probably not, or it'd be done. It can be a real DOS though, a 'well-written' clobbering program can make ps/vmstat useless. (it's actually /proc/pid/stat that's the kill

Re: Ingo's RAID patch for 2.2.18 final?

2001-02-16 Thread David Mansfield
y into user-space buffers (zero-copy IO)? Does this also bypass the read-ahead mechanisms in the kernel? Does it imply O_SYNC? Lots of questions... no answers. Sigh. David -- David Mansfield (718) 963-2020 [EMAIL PROTECTED] Ultramaster Group, LLC

Re: cdrom changes in test13-pre2 slow down cdrom access by 70%

2000-12-27 Thread David Mansfield
er had a failure. Granted, I put 'workstation' loads on my machine, but I run some benchmarks from time-to-time, put memory pressure on etc. (H*ll, just netscape alone is memory pressure enough :-). I just don't want to have to patch every kernel I run from here to eternit

Re: cdrom changes in test13-pre2 slow down cdrom access by 70%

2000-12-26 Thread David Mansfield
== NULL) { + if (frames > 1) { + frames = 1; + goto retry; + } else { + return -ENOMEM; + } + } if (!access_ok(VERIFY_WRITE, ra.buf, ra.n

Re: cdrom changes in test13-pre2 slow down cdrom access by 70%

2000-12-26 Thread David Mansfield
Jens Axboe wrote: > > On Fri, Dec 22 2000, David Mansfield wrote: > > Jens, > > > > The cdrom changes that went into test13-pre2 really kill the performance > > of my cdrom. I'm using cdparanoia to read audio data, and it normally > > reads at 2-3x.

phtreads program causes massive ctx switches in 2.4, not in 2.2

2000-12-18 Thread David Mansfield
= ? (mask now []) kill(2030, SIGRT_0) = 0 rt_sigprocmask(SIG_SETMASK, NULL, [RT_0], 8) = 0 rt_sigsuspend([] --- SIGRT_0 (Real-time signal 0) --- Any ideas? David Mansfield Ultramaster Group, LLC. [EMAIL PROTECTED] - To unsubscribe from this list: s

[PATCH] semaphore fairness patch against test11-pre6

2000-11-17 Thread David Mansfield
Hi Linus et al, I've applied your semaphore fairness patch (slightly fixed) below. It fixes my original bug report of vmstat, ps etc. stalls waiting for the mmap_sem. I can now run my memory 'hog' processes and actually see vmstat update every second even under heavy memory pressure. More impo

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

2000-11-10 Thread David Mansfield
t late. The > semaphore is locked again. > > Repeat until luck breaks the bad circle. > But doesn't __down have a fast path coded in assembly? In other words, it only hits your patched code if there is already contention, which there isn't in this case, and therefore the bug.

Re: blk-8 oopses at boot (was: blk-7 fails to boot)

2000-11-03 Thread David Mansfield
> On Fri, Nov 03 2000, David Mansfield wrote: > > Hi Jens. > > > > I've tried your blk-8 patch and it oopses during boot. I only hand > > copied the stack trace, and ran it through ksymoops: > > > > > I'm going to try taking MSDOS out of my .c

blk-8 oopses at boot (was: blk-7 fails to boot)

2000-11-03 Thread David Mansfield
this. I'll keep you posted as to my progress. David Mansfield - 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/

blk-7 fails to boot (against 2.4.0-test10)

2000-11-02 Thread David Mansfield
imple. Hmm. I'll try any subsequent patch you can offer. My system is a single processor Athlon 700, 256mb ram, 2.4.0-test10 plus blk-7. David Mansfield P.S. I added the #define ELEVATOR_MERGE_HOLE 3 like someone else mentioned, and the patch applied cleanly except filemap.c which was

mmap_sem (and generic) semaphore fairness question

2000-11-02 Thread David Mansfield
Can anyone explain why this wouldn't happen, and wouldn't cause infinite starvation of B? David Mansfield - 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/

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

2000-11-01 Thread David Mansfield
181 12.237161 close(7) = 0 The wchan of the stalled 'ps' is in __down_interruptible, which probably doesn't help much. This worked absolutely fine in 2.2. Even under extreme swap pressure, vmstat continues to function fine, spitting out messages every second as it shoul

Re: Problem with msgsnd

2000-10-26 Thread David Mansfield
portion of the message, not the 'packetlen.' Usually msgsnd is passed a structure pointer, say a struct msgbuf *. In that case, msgsz is: sizeof(struct msgbuf) - sizeof(long). The first issue makes anything possible... The second is just a gotcha to avoid. David Mansfield - To uns

Re: [PATCH 2.4.0-test8] mm/filemap.c

2000-09-14 Thread David Mansfield
s ok. If it could change, we need to re-initialize head because it could have changed while we didn't have the lock locked. David Mansfield - 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: Booting into /bin/bash

2000-09-12 Thread David Mansfield
of a f***ed up network (or changed ip address of server) you could hit ctrl-c during the rc script and the mount would be sent the ctrl-c and would terminate, then the rest of the rc script would continue (regular shell script behavior if I'm not mistaken). David Mansfield - To unsubscrib

Re: ll_rw_blk.c fails to merge requests. Help!

2000-08-29 Thread David Mansfield
t queue destroy time (blk_cleanup_queue) the pending_list should be spliced into the free_list so they won't get leaked. Alternatively, add a 'count -= blk_cleanup_queue(&q->pending_list)'. David Mansfield - To unsubscribe from this list: send the line "unsub