Re: changing mm->mmap_sem (was: Re: system call for processinformation?)

2001-03-17 Thread Rik van Riel
On Fri, 16 Mar 2001, Stephen C. Tweedie wrote: > Right, I'm not suggesting removing that: making the mmap_sem > read/write is fine, but yes, we still need that semaphore. Initial patch (against 2.4.2-ac20) is available at http://www.surriel.com/patches/ > But as for the "page faults would use

CML2 0.9.4 is available

2001-03-17 Thread Eric S. Raymond
The latest version is always available at http://www.tuxedo.org/~esr/cml2/ Release 0.9.4: Sun Mar 18 01:48:12 EST 2001 * Move to hand-rolled LL parser for increased compilation speed. * Compile numbers as numbers (solves Giacomo's 0.9.3 bug). The compilation-speed improvement is

2.4.x on netpliance i-opener

2001-03-17 Thread Kernel Jake
I am having difficulty booting 2.4-based Linux kernels on my Netpliance I-Opener. The Linux 2.4 TODO list has the following entry: IDE fails on some VIA boards (eg the i-opener) (reported fixed by Konrad Stepien) This issue is not really "fixed" as reported in the TODO. Mr. Stepien has

What's a return stack worth?

2001-03-17 Thread Rick Hohensee
These are the occurance counts of the 256 byte values in a big monolithic stripped 2.4.0 UP 386 vmlinux. 1/256 is .39% . countdec hex octal/ascii % possible meaning 334170 0 0 [ 0]17.05%ADD 63889 255ff [377] 3.26%2-byte

[2.4.3-pre4] comparing eepro100 & e100

2001-03-17 Thread Art Boulatov
Hi, I'm setting up a new server with Intel 82559 LOM (733470-066), this is ASUS CUR-DLS. While testing the NIC performance with eepro100 driver, I was getting those famous "card reports no resources" and "too much work in interrupt". The perfomance test was actually a "ping -f -s 65507" from

Re: [PATCH] /proc/uptime on SMP machines

2001-03-17 Thread Tim Moore
The patch works on 2.2.19pre17. The second machine (asus) has Uwe's patch modified for 2.2. The machine 'smp' is not patched. rgds, tim. [tim@smp ~]# cat /proc/uptime ; cat /proc/stat | grep cpu ; yes > /dev/null & ; sleep 180 ; killall yes ; cat /proc/uptime ; cat /proc/stat | grep cpu [2]

Re: Announce: ksymoops 2.4.1 is available

2001-03-17 Thread Keith Owens
On Sun, 18 Mar 2001 05:30:54 +0100, Dieter N tzel <[EMAIL PROTECTED]> wrote: >but I can't find it all over the world? >I've looked at au, uk, us, fi, de, ... There is something wrong with the kernel.org mirror system. ftpadmin has been notified. - To unsubscribe from this list: send the line

Re: Announce: ksymoops 2.4.1 is available

2001-03-17 Thread Dieter Nützel
Sorry, Keith, but I can't find it all over the world? I've looked at au, uk, us, fi, de, ... Thanks, Dieter -- Dieter Nützel Graduate Student, Computer Science University of Hamburg Department of Computer Science Cognitive Systems Group Vogt-Kölln-Straße 30 D-22527 Hamburg, Germany

[CHECKER] blocking w/ spinlock or interrupt's disabled

2001-03-17 Thread Dawson Engler
> enclosed are 163 potential bugs in 2.4.1 where blocking functions are > called with either interrupts disabled or a spin lock held. The > checker works by: Here's the file manifest. Apologies. drivers/atm/idt77105.c drivers/atm/iphase.c drivers/atm/uPD98402.c drivers/block/cciss.c

Re: [PATCH] /proc/uptime on SMP machines

2001-03-17 Thread Tim Moore
> Same for 2.2.19p17 except that init_tasks is a 2.4 struc. Corrected as below. rgds, tim --- 2.2.19pre17/fs/proc/array.c.old Fri Mar 16 04:09:41 2001 +++ 2.2.19pre17/fs/proc/array.c.idleSat Mar 17 19:35:36 2001 @@ -339,9 +339,16 @@ { unsigned long uptime; unsigned

Re: [PATCH] /proc/uptime on SMP machines

2001-03-17 Thread Tim Moore
> At present the idle value in /proc/uptime is only the idle time for the first > processor. With 2.4, processes seam "stickier" for my, and e.g "yes > >/dev/null" on an otherwise idle machine can stay for a long time on one > processor of my (intel) SMP machine. That way, the present output of >

Re: USB Mouse Problem in 2.4 Kernels - 2.2.18 Works Fine

2001-03-17 Thread Pete Zaitcev
> From: Andree Leidenfrost ([EMAIL PROTECTED]) > I am experiencing problems with a USB mouse: The machine boots, X > starts, I log on, everything works as expected. When I restart X or just > change to an alpha terminal and back to x the mouse does not work any > more. [...] > Hardware is an

Re: IP Alias with 2.2.18?

2001-03-17 Thread M.
Marco, Recompile your kernel and select IP: aliasing support under Networking Options Steve On 17 Mar 2001 22:06:44 +0100, Marco Calistri wrote: > My first post on the "top of mailing-list"... > > Is there same IP aliasing support with kernel 2.2.18? > > My eth0:0 doesn't works

Re: PATCH against 2.4.2: TTY hangup on PPP channel corrupts kernel memory

2001-03-17 Thread Kevin Buhr
Paul Mackerras <[EMAIL PROTECTED]> writes: > > But the waiting process must have had an instance of /dev/ppp open and > attached to the channel in order to be doing anything with rwait, > within either ppp_file_read or ppp_poll. The process of attaching to > the channel increases its refcnt,

[patch] Secure Attention Key handling

2001-03-17 Thread Andrew Morton
The do_SAK() function is called from within interrupt context. It acquires several process-level spinlocks. This can deadlock. It is fairly trivial for an unprivileged user to deliberately deadlock the kernel of a system which has SAK enabled. So this patch moves do_SAK() into process context.

Re: [CHECKER] 28 potential interrupt errors

2001-03-17 Thread Andrew Morton
David Woodhouse wrote: > > [ n_r3964.c stuff ] > ... > akpm, were you looking at this? I'm planning on poking through everything which has been identified as a posible problem. But I won't start for several weeks - give the maintainers (if any) time to address these things. So.. please go

[PATCH] /proc/uptime on SMP machines

2001-03-17 Thread Uwe Bonnes
Hallo, I didn't see a maintainer for the /proc filesystem, to I send this mail to linux-kernel for discussion. At present the idle value in /proc/uptime is only the idle time for the first processor. With 2.4, processes seam "stickier" for my, and e.g "yes >/dev/null" on an otherwise idle

Re: [CHECKER] 28 potential interrupt errors

2001-03-17 Thread David Woodhouse
On Fri, 16 Mar 2001, Junfeng Yang wrote: > - > [BUG] return with int disabled in an error path > > /u2/acc/oses/linux/2.4.1/drivers/char/n_r3964.c:1036:add_msg: ERROR:INTR:990:995: >Interrupts inconsistent, severity `20':995 > > >

Re: [CHECKER] 16 potential locking bugs in 2.4.1

2001-03-17 Thread David Woodhouse
On Fri, 16 Mar 2001, Andy Chou wrote: > Here are some more results from the MC project. These are 16 errors found > in 2.4.1 related to inconsistent use of locks. > +-++ > | file| fn

Re: [CHECKER] 120 potential dereference to invalid pointers errors for linux 2.4.1

2001-03-17 Thread Greg KH
On Sat, Mar 17, 2001 at 01:30:54AM -0800, Junfeng Yang wrote: > - > [BUG] dereference to invalid pointer "bluetooth" in error message > /u2/acc/oses/linux/2.4.1/drivers/usb/bluetooth.c:924:bluetooth_read_bulk_callback: >ERROR:NULL:828:924:

Re: Potential free/use-after-free bugs

2001-03-17 Thread Greg KH
On Fri, Mar 16, 2001 at 10:17:30PM -0800, Seth Andrew Hallem wrote: > [BUG] Potential double or more free. > /home/shallem/oses/linux/2.4.1/drivers/usb/serial/belkin_sa.c:236:belkin_sa_shutdown: > ERROR:FREE:237:236: Use-after-free of 'private'! set by 'kfree':237 > > } >

Re: [PATCH for 2.5] preemptible kernel

2001-03-17 Thread Pavel Machek
Hi! > Here is the latest preemptible kernel patch. It's much cleaner and > smaller than previous versions, so I've appended it to this mail. This > patch is against 2.4.2, although it's not intended for 2.4. I'd like > comments from anyone interested in a low-latency Linux kernel solution >

Re: [CHECKER] 28 potential interrupt errors

2001-03-17 Thread Junfeng Yang
> Your reporting is a little misleading here. Thanks for verifying these bugs ;) The interrupt checker checks for inconsistent interrupt states. For example, if a function has one exit point with interrupt disabled, and another exit point with interrupt enabled, the checker will report an error

IP Alias with 2.2.18?

2001-03-17 Thread Marco Calistri
My first post on the "top of mailing-list"... Is there same IP aliasing support with kernel 2.2.18? My eth0:0 doesn't works anymore. Thanks! -- Regards,: Marco Calistri <[EMAIL PROTECTED]> gpg key available on http://www.qsl.net/ik5bcu Xfmail 1.4.7p2 on linux RedHat 6.2 - To unsubscribe

Re: [OT] how to catch HW fault

2001-03-17 Thread Ville Herva
On Sat, Mar 17, 2001 at 01:22:46PM -0500, you [Aaron Lunansky] claimed: > Sounds like the only thing you haven't swapped out of your machine is the > ram/cpu. > > It could very well be your ram (I don't suspect the cpu). If you can, try a > different stick of ram. Or try memtest86

Re: IDE UDMA on a CMD-648 Chip

2001-03-17 Thread Zach Brown
> I can't find the chip's datasheet. CMD only gives it to direct customers. > I do have the datasheet for the CMD-646U, a prior UDMA supporting chip. Have you tried mailing them?. I sent mail to something silly like support@cmd. After they found the right person for me to talk to, I mentioned

Re: VIA audio and parport in 2.4.2

2001-03-17 Thread Mike Galbraith
On Sat, 17 Mar 2001, Will Newton wrote: > On Sat, 17 Mar 2001, Mike Galbraith wrote: > > > > messages.1:Mar 8 22:49:00 dogfox kernel: spurious 8259A interrupt: IRQ7. > > > > I see these once in a while too in 2.4.x, and only when copying largish > > files between boxes. NIC is IRQ-10, but the

Re: [OT] how to catch HW fault

2001-03-17 Thread John Jasen
On Sat, 17 Mar 2001, Aaron Lunansky wrote: > It could very well be your ram (I don't suspect the cpu). If you can, try a > different stick of ram. I've found a good exercise for exercising memory faults is to recompile the kernel with a -j16 flag; and in a second virtual console, do something

Re: [CHECKER] 120 potential dereference to invalid pointers errors for linux 2.4.1

2001-03-17 Thread Andy Chou
> > [BUG] fore200e_kmalloc can return NULL > > /u2/acc/oses/linux/2.4.1/drivers/atm/fore200e.c:2032:fore200e_get_esi: >ERROR:NULL:2020:2032: Using unknown ptr "prom" illegally! set by >'fore200e_kmalloc':2020 > > I don't see the bug - there is an explicit "if(!prom) return -ENOMEM;" after >

Re: [OT] how to catch HW fault

2001-03-17 Thread Aaron Lunansky
Sounds like the only thing you haven't swapped out of your machine is the ram/cpu. It could very well be your ram (I don't suspect the cpu). If you can, try a different stick of ram. -Original Message- From: kees <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Sent: Sat

Re: Is swap == 2 * RAM a permanent thing?

2001-03-17 Thread Alexander Viro
On Sat, 17 Mar 2001, Boris Pisarcik wrote: > On Thu, Mar 15, 2001 at 11:44:52PM -0300, Rik van Riel wrote: > i cannot delete executable file when it's just run, but under linux > i can delete /bin/bash without any problem. You can't delete it. You can unlink it, but the file itself remains

Re: [PATCH] Improved version reporting

2001-03-17 Thread Riley Williams
Hi Albert. >> +o Mount # 2.10e# mount --version > Concerning mount: (i) the version mentioned is too old, >>> Exactly why? Mere missing features don't make for a required >>> upgrade. Version number inflation should be resisted. >> These days you can mount

Re: VIA audio and parport in 2.4.2

2001-03-17 Thread Will Newton
On Sat, 17 Mar 2001, Mike Galbraith wrote: > > messages.1:Mar 8 22:49:00 dogfox kernel: spurious 8259A interrupt: IRQ7. > > I see these once in a while too in 2.4.x, and only when copying largish > files between boxes. NIC is IRQ-10, but the spurious interrupt is always > IRQ-7. I'm not using

Re: Is swap == 2 * RAM a permanent thing?

2001-03-17 Thread Boris Pisarcik
On Thu, Mar 15, 2001 at 11:44:52PM -0300, Rik van Riel wrote: > On Thu, 15 Mar 2001, William T Wilson wrote: > > > it seems to me that in 2.2.x it looks like this: > > > > total usage == swap + RAM > > under 2.4.x it looks like: > > total usage == swap > > total usage == maximum(swap, ram)

Re: [PATCH] Improved version reporting

2001-03-17 Thread Riley Williams
Hi Andries. >> {Shrug} Thinking isn't sufficient - check your facts. > Poor Riley, > > Probably I should not answer, I think you know all the facts > already. But just to be sure: > (i) There are two different packages, kbd and a forked version, > console-tools. Both contain roughly the

Mounting ISO via Loop Devices

2001-03-17 Thread Brent D. Norris
On my redhat 7.1 machine I have been using the 2.4.0 redhat kernel and mounting ISO's to loop devices and it worked fine. I upgraded to a 2.4.2 kernel and now none of the ISO's will mount. They all hang when the command is run. Are there any other known occurences of this? I am not on the

[OT] how to catch HW fault

2001-03-17 Thread kees
Hi, I'm getting mad because of random freezes of my system. Linux-2.2.19pre7 on MSI 694D dual PIII(677MHz) 128 MB, no OC. I tried to isolate the problem with replacing cards (S3 video, 3com 59X, ES1373 and AIC7xxx) didn't solve anything. Even in initlevel 1 with only a videocard the freeze

Re: problems compiling scsi_ioctl on kernels later 2.4.1

2001-03-17 Thread Erik van Asselt
i don't understand how it got corrupted but it looks like i'm missing a lot of things if i compare it to your scsi_ioctl file I will use your scsi_ioctl or i will untar kernel 2.4.2 again without patch pre4 i hope it will work Erik Douglas Gilbert schreef: > Erik van Asselt wrote: > > > > I

USB Mouse Problem in 2.4 Kernels - 2.2.18 Works Fine

2001-03-17 Thread Andree Leidenfrost
Dear kernel hackers, I am experiencing problems with a USB mouse: The machine boots, X starts, I log on, everything works as expected. When I restart X or just change to an alpha terminal and back to x the mouse does not work any more. It does not necessarily happen the first time I do this but

Re: Performance is weird (fwd) -> results

2001-03-17 Thread Sampsa Ranta
On Fri, 16 Mar 2001, Manfred Spraul wrote: > Sampsa Ranta wrote: > > > > After either of your patches, the result was the same, sorry. > > > Is apm or acpi running? No, I tried both SMP and non-SMP version of kernel, the machine is however single processor Athlon 900. CONFIG_ACPI is not set,

Re: problems compiling scsi_ioctl on kernels later 2.4.1

2001-03-17 Thread Erik van Asselt
I did link the usr/include/scsi to usr/srs/linux/include/scsi isn't that the right way for compiling the new kernel? Erik Douglas Gilbert schreef: > Erik, > It looks like you are missing (or have a corrupted) > include/scsi/scsi_ioctl.h header file. It contains > the definition of the struct

Re: [CHECKER] 120 potential dereference to invalid pointers errors for linux 2.4.1

2001-03-17 Thread Mitchell Blank Jr
Junfeng Yang wrote: > [BUG] fore200e_kmalloc can return NULL > /u2/acc/oses/linux/2.4.1/drivers/atm/fore200e.c:2032:fore200e_get_esi: >ERROR:NULL:2020:2032: Using unknown ptr "prom" illegally! set by >'fore200e_kmalloc':2020 I don't see the bug - there is an explicit "if(!prom) return

Re: LFS patch for 2.2.18

2001-03-17 Thread Andrea Arcangeli
On Fri, Mar 16, 2001 at 03:24:58PM +0200, Jussi Hamalainen wrote: > Where can I get the LFS patch for 2.2.18? Www.scyld.com doesn't > seem to be carrying it anymore. ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.2/2.2.19pre7aa1/40_lfs-2.2.19pre6aa1-24.bz2

Re: [CHECKER] 28 potential interrupt errors

2001-03-17 Thread Andrew Morton
Junfeng Yang wrote: > > ... > > [BUG] sleep_or_timeout will call interruptible_sleep_on, which will save disabled >flags and then restore them. > > /u2/acc/oses/linux/2.4.1/drivers/cdrom/cm206.c:474:send_command: ERROR:INTR:462:474: >Interrupts inconsistent, severity `20':474 > > if

Re: PATCH against 2.4.2: TTY hangup on PPP channel corrupts kernel memory

2001-03-17 Thread Paul Mackerras
Kevin Buhr writes: > If there's a hangup in the TTY layer on an async PPP channel, > do_tty_hangup shuts down the PPP line discipline, and, in ppp_async.c, > the function ppp_asynctty_close unregisteres the channel. In > ppp_generic.c, ppp_unregister_channel merrily wakes up the rwait > queue,

Re: [CHECKER] big stack variables

2001-03-17 Thread David Weinehall
On Sat, Mar 17, 2001 at 01:01:22AM -0500, Jeff Dike wrote: > [EMAIL PROTECTED] said: > > ObUML: something fishy happens in UML with multiple exec() in PID 1. > > Try to say "telinit u" (or just boot with init=/bin/sh and say exec / > > sbin/init) and you've got a nice panic()... > > ObFix:

Re: Potential free/use-after-free bugs

2001-03-17 Thread Andrew Morton
Seth Andrew Hallem wrote: > > I also have some questions regarding skbs. Our checker > found a lot of instances where the skb is freed, then its length field is > accessed. I have included an example location below. Is this a bug or > not? Yes, we should regard it as a bug. A

Re: parport not detected

2001-03-17 Thread Tim Waugh
On Sat, Mar 17, 2001 at 01:05:51AM -0500, Michael B. Allen wrote: > I setup everything as you describe below. I don't remember having to > do all this stuff before(on other machines anyway). I guess I'm used to > RH's fluffed-up stock kernels. Which stock kernel didn't work for you? Tim. */ -

Re: parport not detected

2001-03-17 Thread Tim Waugh
On Fri, Mar 16, 2001 at 06:52:53PM -0500, Michael B. Allen wrote: > The parallel port is not being detected on my ABIT KT7A KT133 w/ Athlon Need dmesg output to see what parport is being told and what is finding out for itself. > BIOS options are: > > 728/IRQ5 ^^^ 278, probably > 378/IRQ7

Re: oops in 2.4.2-ac20

2001-03-17 Thread Andrew Morton
John R Lenton wrote: > > What the subject says. > > I copied the oops by hand, but the output of ksymoops doesn't > seem too totally wrong, so I guess I didn't botch it :) > The trace dosn't look right, but you've probably hit the con_flush_chars-called-from-interrupt problem. Please add

[PATCH] fs/nls/Makefile - fix a dependency problem

2001-03-17 Thread Dan Aloni
The problem: When both nls_iso8859_8 and nls_cp1255 are compiled into the kernel (=Y), init_nls_iso8859_8() is called before init_nls_cp1255() - this causes iso_8859_8 to call request_module() which obviously fails. Kernel log: (from dmesg + traces I added) TRACE: init_nls_iso8859_8()

Re: pivot_root & linuxrc problem

2001-03-17 Thread Mike Galbraith
On Sat, 17 Mar 2001, Bernd Eckenfels wrote: > In article <[EMAIL PROTECTED]> you wrote: > > Aha.. so that's it. I've never been able to get /linuxrc to execute > > automagically. I wonder why /linuxrc executes on Art's system, but > > not on mine. I can call it whatever I want and it doesn't

Re: [PATCH] Improved version reporting

2001-03-17 Thread Andries . Brouwer
> If the old mount can still do what it used to do, > then "mount" need not be listed at all. Well, I started saying that the mount line should be deleted, so we somewhat agree. > If I run the mount command from Red Hat 6.2, using it > as intended for a 2.2.xx kernel, doesn't everything work?

[CHECKER] 120 potential dereference to invalid pointers errors forlinux 2.4.1

2001-03-17 Thread Junfeng Yang
Hi, This checker warns when the pointer returned by a "plausibly" failing routine is not checked before being used. It automatically builds up the list of failing routines by examining all callsites. If a function's returned pointer is checked at more than one callsite, the checker ensures it

LDT allocated for cloned task!

2001-03-17 Thread Pozsar Balazs
hi all, When I was starting X, I got this in the syslog: Mar 17 10:19:20 brefatox kernel: LDT allocated for cloned task! _What is this?_. A grep on /var/log/messages shows that I had this several times. I'm using ext2fs on an IDE drive. Tell me what more info I can provide. Balazs Pozsar.

Who did the time list insert code?

2001-03-17 Thread george anzinger
At https://high-res-timers.sourceforge.net we are trying to define a high resolution timer patch for linux (please join us if you are interested). We would like to know who wrote the time list management code that is currently in the kernel. Or Any help on any studies done on the nature of the

2.4.1-pre10: Does Reiserfs eat files?

2001-03-17 Thread Hans-Joachim Baader
Hi, when I came to my computer this morning, I noticed that the file ~/.netscape/history.dat was missing. So I tried to copy over a backup copy from another computer and got "permission denied". I realized that the file was still there but not accessible at all, even by root. Here's an strace of

2.4.1-pre10: Does Reiserfs eat files?

2001-03-17 Thread Hans-Joachim Baader
Hi, when I came to my computer this morning, I noticed that the file ~/.netscape/history.dat was missing. So I tried to copy over a backup copy from another computer and got "permission denied". I realized that the file was still there but not accessible at all, even by root. Here's an strace of

Who did the time list insert code?

2001-03-17 Thread george anzinger
At https://high-res-timers.sourceforge.net we are trying to define a high resolution timer patch for linux (please join us if you are interested). We would like to know who wrote the time list management code that is currently in the kernel. Or Any help on any studies done on the nature of the

LDT allocated for cloned task!

2001-03-17 Thread Pozsar Balazs
hi all, When I was starting X, I got this in the syslog: Mar 17 10:19:20 brefatox kernel: LDT allocated for cloned task! _What is this?_. A grep on /var/log/messages shows that I had this several times. I'm using ext2fs on an IDE drive. Tell me what more info I can provide. Balazs Pozsar.

[CHECKER] 120 potential dereference to invalid pointers errors forlinux 2.4.1

2001-03-17 Thread Junfeng Yang
Hi, This checker warns when the pointer returned by a "plausibly" failing routine is not checked before being used. It automatically builds up the list of failing routines by examining all callsites. If a function's returned pointer is checked at more than one callsite, the checker ensures it

Re: [PATCH] Improved version reporting

2001-03-17 Thread Andries . Brouwer
If the old mount can still do what it used to do, then "mount" need not be listed at all. Well, I started saying that the mount line should be deleted, so we somewhat agree. If I run the mount command from Red Hat 6.2, using it as intended for a 2.2.xx kernel, doesn't everything work?

Re: pivot_root linuxrc problem

2001-03-17 Thread Mike Galbraith
On Sat, 17 Mar 2001, Bernd Eckenfels wrote: In article [EMAIL PROTECTED] you wrote: Aha.. so that's it. I've never been able to get /linuxrc to execute automagically. I wonder why /linuxrc executes on Art's system, but not on mine. I can call it whatever I want and it doesn't run

[PATCH] fs/nls/Makefile - fix a dependency problem

2001-03-17 Thread Dan Aloni
The problem: When both nls_iso8859_8 and nls_cp1255 are compiled into the kernel (=Y), init_nls_iso8859_8() is called before init_nls_cp1255() - this causes iso_8859_8 to call request_module() which obviously fails. Kernel log: (from dmesg + traces I added) TRACE: init_nls_iso8859_8()

Re: oops in 2.4.2-ac20

2001-03-17 Thread Andrew Morton
John R Lenton wrote: What the subject says. I copied the oops by hand, but the output of ksymoops doesn't seem too totally wrong, so I guess I didn't botch it :) The trace dosn't look right, but you've probably hit the con_flush_chars-called-from-interrupt problem. Please add these two

Re: parport not detected

2001-03-17 Thread Tim Waugh
On Fri, Mar 16, 2001 at 06:52:53PM -0500, Michael B. Allen wrote: The parallel port is not being detected on my ABIT KT7A KT133 w/ Athlon Need dmesg output to see what parport is being told and what is finding out for itself. BIOS options are: 728/IRQ5 ^^^ 278, probably 378/IRQ7

Re: Potential free/use-after-free bugs

2001-03-17 Thread Andrew Morton
Seth Andrew Hallem wrote: I also have some questions regarding skbs. Our checker found a lot of instances where the skb is freed, then its length field is accessed. I have included an example location below. Is this a bug or not? Yes, we should regard it as a bug. A

Re: parport not detected

2001-03-17 Thread Tim Waugh
On Sat, Mar 17, 2001 at 01:05:51AM -0500, Michael B. Allen wrote: I setup everything as you describe below. I don't remember having to do all this stuff before(on other machines anyway). I guess I'm used to RH's fluffed-up stock kernels. Which stock kernel didn't work for you? Tim. */ - To

Re: [CHECKER] big stack variables

2001-03-17 Thread David Weinehall
On Sat, Mar 17, 2001 at 01:01:22AM -0500, Jeff Dike wrote: [EMAIL PROTECTED] said: ObUML: something fishy happens in UML with multiple exec() in PID 1. Try to say "telinit u" (or just boot with init=/bin/sh and say exec / sbin/init) and you've got a nice panic()... ObFix: This is

Re: PATCH against 2.4.2: TTY hangup on PPP channel corrupts kernel memory

2001-03-17 Thread Paul Mackerras
Kevin Buhr writes: If there's a hangup in the TTY layer on an async PPP channel, do_tty_hangup shuts down the PPP line discipline, and, in ppp_async.c, the function ppp_asynctty_close unregisteres the channel. In ppp_generic.c, ppp_unregister_channel merrily wakes up the rwait queue, then

Re: [CHECKER] 28 potential interrupt errors

2001-03-17 Thread Andrew Morton
Junfeng Yang wrote: ... [BUG] sleep_or_timeout will call interruptible_sleep_on, which will save disabled flags and then restore them. /u2/acc/oses/linux/2.4.1/drivers/cdrom/cm206.c:474:send_command: ERROR:INTR:462:474: Interrupts inconsistent, severity `20':474 if

Re: LFS patch for 2.2.18

2001-03-17 Thread Andrea Arcangeli
On Fri, Mar 16, 2001 at 03:24:58PM +0200, Jussi Hamalainen wrote: Where can I get the LFS patch for 2.2.18? Www.scyld.com doesn't seem to be carrying it anymore. ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.2/2.2.19pre7aa1/40_lfs-2.2.19pre6aa1-24.bz2

Re: problems compiling scsi_ioctl on kernels later 2.4.1

2001-03-17 Thread Erik van Asselt
I did link the usr/include/scsi to usr/srs/linux/include/scsi isn't that the right way for compiling the new kernel? Erik Douglas Gilbert schreef: Erik, It looks like you are missing (or have a corrupted) include/scsi/scsi_ioctl.h header file. It contains the definition of the struct

Re: [CHECKER] 120 potential dereference to invalid pointers errors for linux 2.4.1

2001-03-17 Thread Mitchell Blank Jr
Junfeng Yang wrote: [BUG] fore200e_kmalloc can return NULL /u2/acc/oses/linux/2.4.1/drivers/atm/fore200e.c:2032:fore200e_get_esi: ERROR:NULL:2020:2032: Using unknown ptr "prom" illegally! set by 'fore200e_kmalloc':2020 I don't see the bug - there is an explicit "if(!prom) return -ENOMEM;"

Re: Performance is weird (fwd) - results

2001-03-17 Thread Sampsa Ranta
On Fri, 16 Mar 2001, Manfred Spraul wrote: Sampsa Ranta wrote: After either of your patches, the result was the same, sorry. Is apm or acpi running? No, I tried both SMP and non-SMP version of kernel, the machine is however single processor Athlon 900. CONFIG_ACPI is not set, CONFIG_APM

USB Mouse Problem in 2.4 Kernels - 2.2.18 Works Fine

2001-03-17 Thread Andree Leidenfrost
Dear kernel hackers, I am experiencing problems with a USB mouse: The machine boots, X starts, I log on, everything works as expected. When I restart X or just change to an alpha terminal and back to x the mouse does not work any more. It does not necessarily happen the first time I do this but

Re: problems compiling scsi_ioctl on kernels later 2.4.1

2001-03-17 Thread Erik van Asselt
i don't understand how it got corrupted but it looks like i'm missing a lot of things if i compare it to your scsi_ioctl file I will use your scsi_ioctl or i will untar kernel 2.4.2 again without patch pre4 i hope it will work Erik Douglas Gilbert schreef: Erik van Asselt wrote: I did

[OT] how to catch HW fault

2001-03-17 Thread kees
Hi, I'm getting mad because of random freezes of my system. Linux-2.2.19pre7 on MSI 694D dual PIII(677MHz) 128 MB, no OC. I tried to isolate the problem with replacing cards (S3 video, 3com 59X, ES1373 and AIC7xxx) didn't solve anything. Even in initlevel 1 with only a videocard the freeze

Mounting ISO via Loop Devices

2001-03-17 Thread Brent D. Norris
On my redhat 7.1 machine I have been using the 2.4.0 redhat kernel and mounting ISO's to loop devices and it worked fine. I upgraded to a 2.4.2 kernel and now none of the ISO's will mount. They all hang when the command is run. Are there any other known occurences of this? I am not on the

Re: [PATCH] Improved version reporting

2001-03-17 Thread Riley Williams
Hi Andries. {Shrug} Thinking isn't sufficient - check your facts. Poor Riley, Probably I should not answer, I think you know all the facts already. But just to be sure: (i) There are two different packages, kbd and a forked version, console-tools. Both contain roughly the same

Re: Is swap == 2 * RAM a permanent thing?

2001-03-17 Thread Boris Pisarcik
On Thu, Mar 15, 2001 at 11:44:52PM -0300, Rik van Riel wrote: On Thu, 15 Mar 2001, William T Wilson wrote: it seems to me that in 2.2.x it looks like this: total usage == swap + RAM under 2.4.x it looks like: total usage == swap total usage == maximum(swap, ram) Hi, Do you in

Re: VIA audio and parport in 2.4.2

2001-03-17 Thread Will Newton
On Sat, 17 Mar 2001, Mike Galbraith wrote: messages.1:Mar 8 22:49:00 dogfox kernel: spurious 8259A interrupt: IRQ7. I see these once in a while too in 2.4.x, and only when copying largish files between boxes. NIC is IRQ-10, but the spurious interrupt is always IRQ-7. I'm not using the

Re: Is swap == 2 * RAM a permanent thing?

2001-03-17 Thread Alexander Viro
On Sat, 17 Mar 2001, Boris Pisarcik wrote: On Thu, Mar 15, 2001 at 11:44:52PM -0300, Rik van Riel wrote: i cannot delete executable file when it's just run, but under linux i can delete /bin/bash without any problem. You can't delete it. You can unlink it, but the file itself remains

Re: [PATCH] Improved version reporting

2001-03-17 Thread Riley Williams
Hi Albert. +o Mount # 2.10e# mount --version Concerning mount: (i) the version mentioned is too old, Exactly why? Mere missing features don't make for a required upgrade. Version number inflation should be resisted. These days you can mount several

Re: [OT] how to catch HW fault

2001-03-17 Thread Aaron Lunansky
Sounds like the only thing you haven't swapped out of your machine is the ram/cpu. It could very well be your ram (I don't suspect the cpu). If you can, try a different stick of ram. -Original Message- From: kees [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Sent: Sat Mar

Re: [CHECKER] 120 potential dereference to invalid pointers errors for linux 2.4.1

2001-03-17 Thread Andy Chou
[BUG] fore200e_kmalloc can return NULL /u2/acc/oses/linux/2.4.1/drivers/atm/fore200e.c:2032:fore200e_get_esi: ERROR:NULL:2020:2032: Using unknown ptr "prom" illegally! set by 'fore200e_kmalloc':2020 I don't see the bug - there is an explicit "if(!prom) return -ENOMEM;" after the

Re: [OT] how to catch HW fault

2001-03-17 Thread John Jasen
On Sat, 17 Mar 2001, Aaron Lunansky wrote: It could very well be your ram (I don't suspect the cpu). If you can, try a different stick of ram. I've found a good exercise for exercising memory faults is to recompile the kernel with a -j16 flag; and in a second virtual console, do something

Re: VIA audio and parport in 2.4.2

2001-03-17 Thread Mike Galbraith
On Sat, 17 Mar 2001, Will Newton wrote: On Sat, 17 Mar 2001, Mike Galbraith wrote: messages.1:Mar 8 22:49:00 dogfox kernel: spurious 8259A interrupt: IRQ7. I see these once in a while too in 2.4.x, and only when copying largish files between boxes. NIC is IRQ-10, but the spurious

Re: [OT] how to catch HW fault

2001-03-17 Thread Ville Herva
On Sat, Mar 17, 2001 at 01:22:46PM -0500, you [Aaron Lunansky] claimed: Sounds like the only thing you haven't swapped out of your machine is the ram/cpu. It could very well be your ram (I don't suspect the cpu). If you can, try a different stick of ram. Or try memtest86

Re: IDE UDMA on a CMD-648 Chip

2001-03-17 Thread Zach Brown
I can't find the chip's datasheet. CMD only gives it to direct customers. I do have the datasheet for the CMD-646U, a prior UDMA supporting chip. Have you tried mailing them?. I sent mail to something silly like support@cmd. After they found the right person for me to talk to, I mentioned

IP Alias with 2.2.18?

2001-03-17 Thread Marco Calistri
My first post on the "top of mailing-list"... Is there same IP aliasing support with kernel 2.2.18? My eth0:0 doesn't works anymore. Thanks! -- Regards,: Marco Calistri [EMAIL PROTECTED] gpg key available on http://www.qsl.net/ik5bcu Xfmail 1.4.7p2 on linux RedHat 6.2 - To unsubscribe from

Re: [CHECKER] 28 potential interrupt errors

2001-03-17 Thread Junfeng Yang
Your reporting is a little misleading here. Thanks for verifying these bugs ;) The interrupt checker checks for inconsistent interrupt states. For example, if a function has one exit point with interrupt disabled, and another exit point with interrupt enabled, the checker will report an error

Re: [PATCH for 2.5] preemptible kernel

2001-03-17 Thread Pavel Machek
Hi! Here is the latest preemptible kernel patch. It's much cleaner and smaller than previous versions, so I've appended it to this mail. This patch is against 2.4.2, although it's not intended for 2.4. I'd like comments from anyone interested in a low-latency Linux kernel solution for

Re: Potential free/use-after-free bugs

2001-03-17 Thread Greg KH
On Fri, Mar 16, 2001 at 10:17:30PM -0800, Seth Andrew Hallem wrote: [BUG] Potential double or more free. /home/shallem/oses/linux/2.4.1/drivers/usb/serial/belkin_sa.c:236:belkin_sa_shutdown: ERROR:FREE:237:236: Use-after-free of 'private'! set by 'kfree':237 }

Re: [CHECKER] 120 potential dereference to invalid pointers errors for linux 2.4.1

2001-03-17 Thread Greg KH
On Sat, Mar 17, 2001 at 01:30:54AM -0800, Junfeng Yang wrote: - [BUG] dereference to invalid pointer "bluetooth" in error message /u2/acc/oses/linux/2.4.1/drivers/usb/bluetooth.c:924:bluetooth_read_bulk_callback: ERROR:NULL:828:924:

Re: [CHECKER] 16 potential locking bugs in 2.4.1

2001-03-17 Thread David Woodhouse
On Fri, 16 Mar 2001, Andy Chou wrote: Here are some more results from the MC project. These are 16 errors found in 2.4.1 related to inconsistent use of locks. +-++ | file| fn |

Re: [CHECKER] 28 potential interrupt errors

2001-03-17 Thread David Woodhouse
On Fri, 16 Mar 2001, Junfeng Yang wrote: - [BUG] return with int disabled in an error path /u2/acc/oses/linux/2.4.1/drivers/char/n_r3964.c:1036:add_msg: ERROR:INTR:990:995: Interrupts inconsistent, severity `20':995

[PATCH] /proc/uptime on SMP machines

2001-03-17 Thread Uwe Bonnes
Hallo, I didn't see a maintainer for the /proc filesystem, to I send this mail to linux-kernel for discussion. At present the idle value in /proc/uptime is only the idle time for the first processor. With 2.4, processes seam "stickier" for my, and e.g "yes /dev/null" on an otherwise idle

Re: [CHECKER] 28 potential interrupt errors

2001-03-17 Thread Andrew Morton
David Woodhouse wrote: [ n_r3964.c stuff ] ... akpm, were you looking at this? I'm planning on poking through everything which has been identified as a posible problem. But I won't start for several weeks - give the maintainers (if any) time to address these things. So.. please go ahead

[patch] Secure Attention Key handling

2001-03-17 Thread Andrew Morton
The do_SAK() function is called from within interrupt context. It acquires several process-level spinlocks. This can deadlock. It is fairly trivial for an unprivileged user to deliberately deadlock the kernel of a system which has SAK enabled. So this patch moves do_SAK() into process context.

  1   2   >