Re: More about 2.4.3 timer problems

2001-04-05 Thread Eric Gillespie
On Wed, 4 Apr 2001, James Simmons wrote: : :Err, tried the patch you recommended me to apply to the 2.4.3 source code :(not the 2.4.3-pre6), but everything else started complaining it couldn't :see printk() any more. Any advice? Thanks... : :Can you tell us your hardware configuration and your

[QUESTION] 2.4.3: hotplug_path unresolved in usbcore?

2001-04-05 Thread Ryan Mack
Sorry for such a stupid question, but I'm stumped (it doesn't take much). modprobe reports that hotplug_path is unresolved when it processes usbcore. CONFIG_HOTPLUG is defined, so it seems that hotplug_path is defined and EXPORTed in kernel/kmod.c, so I'm unsure what the problem is. Thanks, Ryan

[CHECKER] __init functions called by non-__init

2001-04-05 Thread Dawson Engler
as per a suggestion from Jonathan ([EMAIL PROTECTED]) I wrote a simple checker to warn when non-__init functions call __init functions or use __initdata. Before sending the entire list of "bugs" I want to make sure they actually are errors rather than bugs in how I understand the kernel. So,

2.4.3-ac2 and D state process

2001-04-05 Thread CaT
I have mozilla stuck in D state: 25 [16:44:06] bowman@europa:/home/bowman ps -eo pid,tt,user,fname,tmout,f,wchan | grep mozilla 435 ?bowman mozilla- - 040 down_write_failed 2646 ?bowman mozilla- - 040 down_write_failed Would this be a mozilla issue or a kernel

Re: Stuck: What to do with solid locks?

2001-04-05 Thread Colonel
In kernel.list, you wrote: Oh, I realize this. I don't mind and even expect the occational crash right now in the 2.4.x series, but the frequency of these crashes fall Well, you say this, but ...more whinny post deleted... to begin to help fix this problem (or these problems). Twice your

Re: pcnet32 (maybe more) hosed in 2.4.3

2001-04-05 Thread Carsten Langgaard
Thomas Bogendoerfer wrote: On Wed, Apr 04, 2001 at 01:14:16PM -0700, Petr Vandrovec wrote: VMware is working on implementation PCnet 32bit mode in emulation (there is no such thing now because of no OS except FreeBSD needs it). But my question is - is there some real benefit in running

Re: pcnet32 (maybe more) hosed in 2.4.3

2001-04-05 Thread Carsten Langgaard
Petr Vandrovec wrote: Thomas Bogendoerfer wrote: On Wed, Apr 04, 2001 at 01:14:16PM -0700, Petr Vandrovec wrote: VMware is working on implementation PCnet 32bit mode in emulation (there is no such thing now because of no OS except FreeBSD needs it). But my question is - is there

Re: [PATCH for 2.5] preemptible kernel

2001-04-05 Thread Rusty Russell
In message [EMAIL PROTECTED] you write : Setting a running task's flags brings races, AFAICT, and checking p-state is NOT sufficient, consider wait_event(): you need p-has_cpu here I think. My thought here was that if p-state is anything other than TASK_RUNNING or

Re: [PATCH for 2.5] preemptible kernel

2001-04-05 Thread Rusty Russell
In message [EMAIL PROTECTED] you write: On a higher level, I think the scanning of the run list to set flags and counters is a bit off. [snip standard refcnt scheme] For most things, refcnts are great. I use them in connection tracking. But when writes can be insanely slow (eg. once per

Re: linux 2.4.3 crashed my hard disk

2001-04-05 Thread Alessandro Suardi
-- --alessandro [EMAIL PROTECTED] [EMAIL PROTECTED] Linux: kernel 2.2.19/2.4.3p8 glibc-2.2 gcc-2.96-69 binutils-2.11.90.0.1 Oracle: Oracle8i 8.1.7.0.1 Enterprise Edition for Linux motto: Tell the truth, there's less to remember. - To unsubscribe from this list: send the line

Re: linux 2.4.3 crashed my hard disk

2001-04-05 Thread Alessandro Suardi
Sorry for the null message, fingers slipped :( Alan Cox wrote: ide_dmaproc: chipset supported ide_dma_timeout func only: 14 is about the most ominous message one can receive from the IDE driver: 1. it's not in English, so it doesn't tell you jack It tells you the chipset doesnt

RE: mysqld [3.2.23] hangs when key_buffer ~256MB on [2.4.2-ac28+]

2001-04-05 Thread Vibol Hou
Andrew, I've applied the patch. The processes usually start dying within a few minutes so it shouldn't be hard to tell if this patch is working or not. I'll let you know what's up. -Vibol -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Andrew Morton

[CHECKER] 15 potential pointer dereference errors in 2.4.3

2001-04-05 Thread Andy Chou
I ran the null pointer dereference checker over 2.4.3 and it found the following 15 potential errors. As usual, the context given with each report may be misleading so you'll probably need to inspect the source. The checker tries to help by printing the function it thinks is returning NULL.

Re: which gcc version?

2001-04-05 Thread Manoj Sontakke
hi On Thu, 5 Apr 2001, Alexander Viro wrote: On Thu, 5 Apr 2001, Manoj Sontakke wrote: Hi I am getting linker error "undefined reference to __divdi3". This is because c = a/b; where a,b,c are of type "long long" I understand this is gcc problem. I am doing this on a pentium

RE: random PIDs

2001-04-05 Thread Studierende der Universitaet des Saarlandes
Finished tested my random PID kernel/fork.c:get_pid() replacement. This one keeps track of the last N (default is 64) pids who have exited. These are then not used. So, one cannot have more then 32767 - (64 + 1 (init) + 1 (idle)) = 32761 processes :o) DW Huh, should be 32701,

RE: random PIDs

2001-04-05 Thread Heusden, Folkert van
Finished tested my random PID kernel/fork.c:get_pid() replacement. This one keeps track of the last N (default is 64) pids who have exited. These are then not used. So, one cannot have more then 32767 - (64 + 1 (init) + 1 (idle)) = 32761 processes :o) DW Huh, should be 32701,

Re: Release naming conventions

2001-04-05 Thread dantes
At 13:46 05/04/01 +0530, [EMAIL PROTECTED] wrote: well..don't fire me for asking such a stupid question... I am new to linux kernel world... Welcome on board! I want to know the release naming conventions in linux.. I know the following... 2.1.xx -- means developmet release 2.2.xx -- means

Re: [CHECKER] 15 potential pointer dereference errors in 2.4.3

2001-04-05 Thread Andy Chou
I forgot to mention that these 15 potential errors are only the *new* ones. Many of the previously reported dereference errors from 2.4.1 are still there. -Andy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo

Calling kernel level function from user level program

2001-04-05 Thread Remko van der Vossen
Hi Guys, I'd like to know how I call a kernel level function which i made myself (in a module) from a user level program, i tried a header file with extern but that didn't work. Bye, Remko van der Vossen CMG Eindhoven [EMAIL PROTECTED] - To unsubscribe from this list: send the line

RE: random PIDs

2001-04-05 Thread Studierende der Universitaet des Saarlandes
M IIRC get_pid will loop forever if it doesn't find a free pid, and in the M worst case you can trigger that with ~11000 running threads. Ah, ok. But why would you have 11.000 running threads? Denial of Service attack. 11000 processes and the kernel locks up hard, regardless of the

RE: random PIDs

2001-04-05 Thread alad
"Heusden, Folkert van" [EMAIL PROTECTED] on 04/05/2001 03:45:13 PM To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] (bcc: Amol Lad/HSS) Subject: RE: random PIDs Finished tested my random PID kernel/fork.c:get_pid() replacement. This one keeps track of the last N (default is 64)

Re: Underscore in rivafb

2001-04-05 Thread Stuart McFadden
linux/Documentation/VGA-softcursor.txt Thanks, but I only seem to be able to change the colour of the cursor, not the shape. -- My polyvinyl cowboy wallet was made in Hong Kong by Montgomery Clift! - - - - - - - - - - - - - - - - - - - - - Stuarty McFadden [EMAIL PROTECTED] - To

Divide error 2.4.3

2001-04-05 Thread Rasmus Bøg Hansen
Hi This morning I tried to restart networking on our server. However, networking did not come up again. It showed out, that ifconfig had triggered an oops. The box is running vanilla 2.4.3 with reiserfs 3.6.x fs format. The box is running iptables and squid - and not more than this. It has got

[PATCH] New version of NeoMagic Framebuffer driver

2001-04-05 Thread Denis Oliver Kropp
Hi, I fixed an important bug with panning after X usage and added module and kernel parameter support. -- Denis Oliver Kropp ( convergence ) ( integrated media gmbh ) neofb-0.2.1-patch-2.4.3.bz2

RE: Calling kernel level function from user level program

2001-04-05 Thread Gabi Davar
You can't just call it, you need to either create a system call, or use IOCTLs. Read the FAQ at http://www.tux.org/lkml/ for general info and sources of information. -gabi -Original Message- From: Remko van der Vossen [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 05, 2001 11:59

Proper way to release binary-only driver?

2001-04-05 Thread Miller, Brendan
I have the need to distribute a binary-only driver (no flames, please), but I am not certain how to build it so that it can be used on multiple kernel versions. (Or is this impossible?) I didn't find any "HOWTO (or recommendation) for proper binary-only driver release etiquette", so if there

Re: [Lse-tech] Re: a quest for a better scheduler

2001-04-05 Thread Zdenek Kabelac
Hello Just dump idea - why not make scheduler switchable with modules - so users could select any scheduler they want ? This should not be that hard and would make it easy to replace scheduler at runtime so everyone could easily try what's the best for him/her. [EMAIL PROTECTED] - To

Re: [Lse-tech] Re: a quest for a better scheduler

2001-04-05 Thread alad
This concept I think is used in Solaris .. as they have dynamic loadable schedulers.. Zdenek Kabelac [EMAIL PROTECTED] on 04/05/2001 05:43:15 PM To: Andrea Arcangeli [EMAIL PROTECTED] cc:(bcc: Amol Lad/HSS) Subject: Re: [Lse-tech] Re: a quest for a better scheduler Hello Just

PROBLEM: make oldconfig can change Alpha system type on 2.2.19

2001-04-05 Thread Brian Campbell
[1.] One line summary of the problem: make oldconfig can change Alpha system type on 2.2.19 [2.] Full description of the problem/report: With the system type set to `Cabriolet' (CONFIG_ALPHA_CABRIOLET) running make oldconfig causes it to change to `EB64+' (CONFIG_ALPHA_EB64P) without asking.

Re: which gcc version?

2001-04-05 Thread Bart Trojanowski
On Thu, 5 Apr 2001, Manoj Sontakke wrote: Addition and subtraction works fine. The problem is with multiplication and division. I am doing this to avoid floating point calculation and doing fixed point calculation. The rage is large enough to need "long long" Any other way to achieve this?

Re: which gcc version?

2001-04-05 Thread Matti Aarnio
On Thu, Apr 05, 2001 at 07:39:14PM +0530, Manoj Sontakke wrote: hi On Thu, 5 Apr 2001, Alexander Viro wrote: On Thu, 5 Apr 2001, Manoj Sontakke wrote: Hi I am getting linker error "undefined reference to __divdi3". This is because c = a/b; where a,b,c are of type "long long"

Re: which gcc version?

2001-04-05 Thread christophe barbe
Which kernel are you using ? GFS use this kind of computation. And with kernel 2.2, a module divdi3.o provides all missing symbol like __divdi3. Christophe On jeu, 05 avr 2001 16:09:14 Manoj Sontakke wrote: hi On Thu, 5 Apr 2001, Alexander Viro wrote: On Thu, 5 Apr 2001, Manoj Sontakke

Re: Proper way to release binary-only driver?

2001-04-05 Thread Eric W. Biederman
"Miller, Brendan" [EMAIL PROTECTED] writes: I have the need to distribute a binary-only driver (no flames, please), but I am not certain how to build it so that it can be used on multiple kernel versions. (Or is this impossible?) It's possible but frowned on. As a general rule any problem

Re: Config printk buffer size

2001-04-05 Thread Andrzej Krzysztofowicz
"Thomas Dodd wrote:" diff -u --new-file --recursive linux-2.4.3-ac2.orig/kernel/printk.c linux-2.4.3-ac2/kernel/printk.c --- linux-2.4.3-ac2.orig/kernel/printk.c Wed Apr 4 15:23:31 2001 +++ linux-2.4.3-ac2/kernel/printk.c Wed Apr 4 16:01:28 2001 @@ -27,7 +27,7 @@ #include

Re: which gcc version?

2001-04-05 Thread Matti Aarnio
On Thu, Apr 05, 2001 at 07:37:03AM -0400, Bart Trojanowski wrote: On Thu, 5 Apr 2001, Manoj Sontakke wrote: gcc requires a function call to do a mul/div on a long long. There is no easy way to do a 64bit op of this type on a 32 bit CPU... Actually there is -- presuming your CPU has

Re: [Linux-fbdev-devel] Re: fbcon slowness [was NTP on 2.4.2?]

2001-04-05 Thread Eric W. Biederman
James Simmons [EMAIL PROTECTED] writes: As long as you are copying in real memory. So the PCI bus or the host bridge implementation may be the actual limit. The CyrixIII sits on the same host bridges as the intel processors I don't know if it applies to this case but one thing I have

Re: [QUESTION] 2.4.3: hotplug_path unresolved in usbcore?

2001-04-05 Thread Bart Trojanowski
On Wed, 4 Apr 2001, Ryan Mack wrote: Sorry for such a stupid question, but I'm stumped (it doesn't take much). modprobe reports that hotplug_path is unresolved when it processes usbcore. CONFIG_HOTPLUG is defined, so it seems that hotplug_path is defined and EXPORTed in kernel/kmod.c, so I'm

Re: [Linux-fbdev-devel] Re: fbcon slowness [was NTP on 2.4.2?]

2001-04-05 Thread Geert Uytterhoeven
On 5 Apr 2001, Eric W. Biederman wrote: 32bit writes on a bus with a word size of 64 or more bits. By the way does anyone know who didn't implement MTRR's or the equivalent on alpha so we can shoot them? People never get shot in Open Source projects. Not when they write buggy code, not when

unresolved symbols on SPARC with depmod -ae

2001-04-05 Thread Jeff Layton
In the last few kernels, I seem to always get the following message when doing make modules_install or depmod -a on both my SPARC boxes. Does this have something to do with FPU emulation perhaps? The kernels seem to run fine afterward, but things like SSH seem to be a bit slower (qualtitatively,

Re: Another report of mozilla in D state, related to the 'uninterruptible sleep' thread

2001-04-05 Thread Athanasius
On Wed, Apr 04, 2001 at 12:14:06PM -0700, David Ford wrote: I reported it back on Mar/27. It is still an almost daily problem requiring a reboot. Mozilla gets stuck in down_write_failed. This time I'm sure it's not reiser's fault. Definitely nothing to do with ReiserFS as I've had this

2.4.3-ac3 XIRCOM_CB only working as module

2001-04-05 Thread Alessandro Suardi
It looks like the new xircom_cb driver only works as module - if built in kernel there is no sign of eth0 setup. --alessandro [EMAIL PROTECTED] [EMAIL PROTECTED] Linux: kernel 2.2.19/2.4.3-ac3 glibc-2.2 gcc-2.96-69 binutils-2.11.90.0.4 Oracle: Oracle8i 8.1.7.0.1 Enterprise Edition for

Re: which gcc version?

2001-04-05 Thread David Woodhouse
[EMAIL PROTECTED] said: To think of it, there really should be explicitely callable versions of these with LinuxKernel names for them, not gcc builtins.  That way people would *know* they are doing something, which is potentially very slow. (And the API would

Re: unresolved symbols on SPARC with depmod -ae

2001-04-05 Thread Jeff Layton
Yep the module loaded fine. Must be a problem with depmod then. Thanks for the info! caladan:~# modprobe ip_conntrack caladan:~# lsmod Module Size Used by ip_conntrack 19840 0 (unused) -- Jeff Layton ([EMAIL PROTECTED]) "In order for you to profit from your

Re: which gcc version?

2001-04-05 Thread Matti Aarnio
On Thu, Apr 05, 2001 at 01:26:32PM +0100, David Woodhouse wrote: [EMAIL PROTECTED] said: To think of it, there really should be explicitely callable versions of these with LinuxKernel names for them, not gcc builtins. That way people would *know* they are doing

Re: bug database braindump from the kernel summit

2001-04-05 Thread Petr Baudis
Why not have the /proc/config option but instead of being plain text, make it binary with a userspace app that can interpret it? [snip] You'd have 2.4.3-pre3:110101 . . . . . I think this is against UNIX/Linux philosophy... Why we wouldn't just providing all the interface

asm/unistd.h

2001-04-05 Thread Sardañons, Eliel
I'm taking a look at the linux code and I don't understand how do you programm...mmm (?) may be i'm a stupid why in include/asm/unistd.h in some macros you use this: do { ... } while (0) Thanks in advance. Eliel C. Sardanons - To unsubscribe from this list: send the line "unsubscribe

ov511 problem

2001-04-05 Thread Thomas Speck
Hi I am trying to get working a Spacec@m 300 (USB) by Trust. I tried this under 2.2.18 and 2.4.3. In order to get the camera detected I can use the usb-uhci or uhci module (the result is the same). The camera gets detected (some OV7610 gets probed - I don't know if this is the correct one) and

Re: [Linux-fbdev-devel] Re: fbcon slowness [was NTP on 2.4.2?]

2001-04-05 Thread Maciej W. Rozycki
On Thu, 5 Apr 2001, Geert Uytterhoeven wrote: 32bit writes on a bus with a word size of 64 or more bits. By the way does anyone know who didn't implement MTRR's or the equivalent on alpha so we can shoot them? People never get shot in Open Source projects. Not when they write buggy

Re: asm/unistd.h

2001-04-05 Thread Bart Trojanowski
On Thu, 5 Apr 2001, Sardaons, Eliel wrote: I'm taking a look at the linux code and I don't understand how do you programm...mmm (?) may be i'm a stupid why in include/asm/unistd.h in some macros you use this: do { ... } while (0) This is a very useful trick. If you define a macro such

2.4.3 + aic7xxx-6.1.9 doesn't boot

2001-04-05 Thread Igor Mozetic
The latest aic7xxx-6.1.9 doesn't boot, I can see something like: scsi1:0:0:0: Attempting to queue an ABORT message scsi1:0:0:0: Command found on device queue aic7xxx_abort returns 8194 2.4.3 + aic7xxx-6.1.8 works fine (ignoring problems with renaming devices and not beeing able to read from

Re: which gcc version?

2001-04-05 Thread Richard B. Johnson
On Thu, 5 Apr 2001, David Woodhouse wrote: [EMAIL PROTECTED] said: To think of it, there really should be explicitely callable versions of these with LinuxKernel names for them, not gcc builtins.  That way people would *know* they are doing something, which is

Re: asm/unistd.h

2001-04-05 Thread Ben Collins
On Thu, Apr 05, 2001 at 09:58:43AM -0300, Sarda?ons, Eliel wrote: I'm taking a look at the linux code and I don't understand how do you programm...mmm (?) may be i'm a stupid why in include/asm/unistd.h in some macros you use this: do { ... } while (0) Imagine a macro of several lines of

Re: asm/unistd.h

2001-04-05 Thread Tim Waugh
On Thu, Apr 05, 2001 at 09:06:20AM -0400, Bart Trojanowski wrote: So you ask: "why not just use a { ... } to define a macro". I don't remember the case for this but I know it's there. It has to do with a complicated if/else structure where a simple {} breaks. It's for eating the semi-colon

Re: [PATCH] reiserfs old data bug 2.2.x (was: ReiserFS? Howreliable ...)

2001-04-05 Thread Chris Mason
On Thursday, April 05, 2001 02:13:55 AM +0100 Alan Cox [EMAIL PROTECTED] wrote: This is a reiserfs security issue, but only of theoretical nature (Even i= f triggered, it won't harm you). But the reason for this bug is in NFS (v2,= If the blocks contained my old /etc/shadow I'd be a bit

kernel 2.4.3 on HP netserver LH4

2001-04-05 Thread gianpaolo racca
Good morning and excuse for disturbing you I have to mantain an HP netserver lh4 in Statale University of Milan (Italy). Due to some routing issues I would like to switch to kernel 2.4. I'm not a kernel hacjer but I have already installed it on two nobrand boxes (one with redhat 6.1 and the

Re: asm/unistd.h

2001-04-05 Thread Joseph Carter
On Thu, Apr 05, 2001 at 09:06:20AM -0400, Bart Trojanowski wrote: So you ask: "why not just use a { ... } to define a macro". I don't remember the case for this but I know it's there. It has to do with a complicated if/else structure where a simple {} breaks. This doesn't follow in my mind.

Re: asm/unistd.h

2001-04-05 Thread Stephen Thomas
Joseph Carter wrote: This doesn't follow in my mind. I can't think of a case where a { ... } would fail, but a do { ... } while (0) would succeed. The former would also save a few keystrokes. #define FOO(x) { wibble(x); wobble((x)+1);} if (something) FOO(23); else/*

Re: asm/unistd.h

2001-04-05 Thread Bart Trojanowski
On Thu, 5 Apr 2001, Joseph Carter wrote: On Thu, Apr 05, 2001 at 09:06:20AM -0400, Bart Trojanowski wrote: So you ask: "why not just use a { ... } to define a macro". I don't remember the case for this but I know it's there. It has to do with a complicated if/else structure where a

[PATCH] Re: Race in fs/proc/generic.c:make_inode_number()

2001-04-05 Thread Tom Leete
I wrote: The proc_alloc_map bitfield is unprotected by any lock, and find_first_zero_bit() is not atomic. Concurrent module loading can race here. Hello, Here is a patch for this. It looks like callers are always in user context (kmalloc flag GFP_KERNEL), so I used a light spinlock.

Re: Is jumbo ethernet MTU possible with Hamachi Gigabit ethernet driver?

2001-04-05 Thread Pete Wyckoff
The hardware also must support jumbo MTUs. Hamachi limit is 1518 or 1522 (vlan) bytes, and the driver can't fix that. -- Pete [EMAIL PROTECTED] said: I'm trying to get some Gigabit ethernet cards that use the Packet Engines Hamachi GNIC-II chip to use a large mtu to attempt

compile error - ldmxcsr

2001-04-05 Thread Laura Dean
When I try to compile the linux 2.4.2 kernel I am getting the following error: {standard input}: Assembler messages: {standard input}:30: Error: no such 386 instruction: `ldmxcsr' It looks like an old assembler, but I am using binutils 2.10 and have also tried binutils 2.10.1. I am using

Re: /dev/loop0 over lvm... leading to d-state :-(

2001-04-05 Thread Jens Axboe
On Thu, Apr 05 2001, Jens Axboe wrote: On Wed, Apr 04 2001, Herbert Valerio Riedel wrote: fyi, loop devices over lvm LV's dont work for me... I've tested with 2.4.3final (and some other 2.4.3 derivates) and two lvm'ized partitions with a size of about 1gig each; mke2fs just goes

Re: asm/unistd.h

2001-04-05 Thread Andreas Schwab
Joseph Carter [EMAIL PROTECTED] writes: | On Thu, Apr 05, 2001 at 09:06:20AM -0400, Bart Trojanowski wrote: | So you ask: "why not just use a { ... } to define a macro". I don't | remember the case for this but I know it's there. It has to do with a | complicated if/else structure where a

Re: Config printk buffer size

2001-04-05 Thread Thomas Dodd
Andrzej Krzysztofowicz wrote: IMO, it would be nice to add a test here whether the CONFIG_PRINTK_BUF_LEN value is really set as a power of two, eg.: #if (LOG_BUF_LEN LOG_BUF_MASK) #error CONFIG_PRINTK_BUF_LEN must be a power of two #endif I couldn't figure out how to do it in the

Re: /dev/loop0 over lvm... leading to d-state :-(

2001-04-05 Thread Jens Axboe
On Thu, Apr 05 2001, Jens Axboe wrote: To the LVM folks: you can't use b_dev or b_blocknr inside your make_request_fn, it destroys stacking drivers such as loop. And is just plain wrong in the general case too. Irks, another one. lvm_make_request_fn also needs to call b_end_io if a map fails.

2.0.39 oopses in sys_new(l)stat

2001-04-05 Thread Ville Herva
I wonder if there might still be a bug in 2.0.39 sys_new(l)stat. Today, one of my trustworthy servers crashed (see details below), and it has actually given me two slightly similar looking oopses before. While this might be a hardware problem (I'll run memory test asap), it seems that the oopses

ERESTARTSYS question.

2001-04-05 Thread Jani Monoses
Hi, although the comments in errno.h say that ERESTARTSYS should not be seen by userland,many drivers seam to return it from their file_operations.Should glibc convert this errno so that the user program sees something meaningful?Because it does not.Is EINTR not a better errno to return from

Re: 2.4 kernel on LH4

2001-04-05 Thread gianpaolo racca
On Thursday 05 April 2001 16:57, you wrote: At some Kernel release between 2.4.2 and 2.4.3 I succeeded to install Mandrake Cooker (Devel-Tree) out of the box. However, we have switched to another SCSI RAID controller as the AMI MegaRAID driver in conjunction with I2O seems to be very

Re: asm/unistd.h

2001-04-05 Thread Steve Grubb
It would seem to me that after hearing how the macros are used in practice, wouldn't turning them into inline functions be an improvement? This is something gcc supports, it accomplishes the same thing, and has the added advantage of type checking.

Re: /dev/loop0 over lvm... leading to d-state :-(

2001-04-05 Thread Heinz J. Mauelshagen
Jens, thanks for the b_dev hint you provided. On Thu, Apr 05, 2001 at 04:49:42PM +0200, Jens Axboe wrote: On Thu, Apr 05 2001, Jens Axboe wrote: To the LVM folks: you can't use b_dev or b_blocknr inside your make_request_fn, it destroys stacking drivers such as loop. And is just plain

Re: ERESTARTSYS question.

2001-04-05 Thread Bjorn Wesen
On Thu, 5 Apr 2001, Jani Monoses wrote: although the comments in errno.h say that ERESTARTSYS should not be seen by userland,many drivers seam to return it from their file_operations.Should glibc convert this errno so that the user program sees something meaningful?Because it does not.Is

Re: 2.4.3-ac3 XIRCOM_CB only working as module

2001-04-05 Thread Pau
On Thu, 5 Apr 2001, Alessandro Suardi wrote: It looks like the new xircom_cb driver only works as module - if built in kernel there is no sign of eth0 setup. Built as a module works beutifully :) No need to "ifconfig -promisc" to make it work after a suspend. Anyway, you still have to

Re: /dev/loop0 over lvm... leading to d-state :-(

2001-04-05 Thread Jens Axboe
On Thu, Apr 05 2001, Heinz J. Mauelshagen wrote: Irks, another one. lvm_make_request_fn also needs to call b_end_io if a map fails. This is wrong. In case of an io error we do already call buffer_IO_error() on 2.4 in lvm_map(). Where? Calling buffer_IO_error would be ok, but there are

Re: asm/unistd.h

2001-04-05 Thread Bart Trojanowski
On Thu, 5 Apr 2001, Steve Grubb wrote: It would seem to me that after hearing how the macros are used in practice, wouldn't turning them into inline functions be an improvement? This is something gcc supports, it accomplishes the same thing, and has the added advantage of type checking.

Re: uninteruptable sleep

2001-04-05 Thread Christian Pernegger
Its a kernel bug if it gets stuck like this. You need to provide more info though - what file system, what devices, how much memory. Also ps can give you the wait address of a process stuck in 'D' state which is valuable for debug Let's see if I'm getting this right, processes in D state

Re: /dev/loop0 over lvm... leading to d-state :-(

2001-04-05 Thread Heinz J. Mauelshagen
On Thu, Apr 05, 2001 at 05:37:31PM +0200, Jens Axboe wrote: On Thu, Apr 05 2001, Heinz J. Mauelshagen wrote: Irks, another one. lvm_make_request_fn also needs to call b_end_io if a map fails. This is wrong. In case of an io error we do already call buffer_IO_error() on 2.4 in

Re: /dev/loop0 over lvm... leading to d-state :-(

2001-04-05 Thread Jens Axboe
On Thu, Apr 05 2001, Heinz J. Mauelshagen wrote: Where? Calling buffer_IO_error would be ok, but there are no such calls in 2.4.3. I just stated elsewhere that submit_bh should probably be clearing the dirty bit, not ll_rw_block, in which case the b_end_io is fine. But buffer_IO_error is

Re: [2.4.3] PPP errors

2001-04-05 Thread Manfred H. Winter
On Wed, 04 Apr 2001, Jean Paul Sartre wrote: On Wed, 4 Apr 2001, Manfred H. Winter wrote: Apr 4 02:05:21 marvin pppd[1227]: Couldn't set tty to PPP discipline: Invalid a rgument Apr 4 02:05:21 marvin pppd[1227]: Exit. Did you load the 'ppp_async.o' module? Sorry, I forget

Re: how to let all others run

2001-04-05 Thread John Fremlin
"Richard B. Johnson" [EMAIL PROTECTED] writes: On 4 Apr 2001, John Fremlin wrote: Hi Oliver! Oliver Neukum [EMAIL PROTECTED] writes: is there a way to let all other runable tasks run until they block or return to user space, before the task wishing to do so is run again ?

Re: /dev/loop0 over lvm... leading to d-state :-(

2001-04-05 Thread Heinz J. Mauelshagen
On Thu, Apr 05, 2001 at 05:54:30PM +0200, Jens Axboe wrote: On Thu, Apr 05 2001, Heinz J. Mauelshagen wrote: Where? Calling buffer_IO_error would be ok, but there are no such calls in 2.4.3. I just stated elsewhere that submit_bh should probably be clearing the dirty bit, not

Re: ERESTARTSYS question.

2001-04-05 Thread Jani Monoses
On Thu, 5 Apr 2001, Bjorn Wesen wrote: ERESTARTSYS is a part of the api between the driver and the signal-handling code in the kernel. It does not reach user-space (provided of course that it's used appropriately in the drivers :) As an example sound/via82cxxx_audio.c returns

PCI address space collision

2001-04-05 Thread Jani Monoses
Hi, is this something to worry about ? in dmesg: PCI: Address space collision on region 9 of device VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] [8080:808f] I know it might be unrelated with ACPI being experimental but if the kernel is compiled with ACPI instead of APM the machine

Re: tulip (was RE: Kernel 2.4.3 fails to compile)

2001-04-05 Thread Jeff Garzik
"Manuel A. McLure" wrote: Jeff Garzik wrote: On Fri, 30 Mar 2001, Manuel A. McLure wrote: It looks like the tulip driver isn't as up-to-date as the one from 2.4.2-ac20 - when is 2.4.3-ac1 due? :-) I got NETDEV WATCHDOG errors shortly after rebooting with 2.4.3, although these were

Re: how to let all others run

2001-04-05 Thread Richard B. Johnson
On 5 Apr 2001, John Fremlin wrote: "Richard B. Johnson" [EMAIL PROTECTED] writes: On 4 Apr 2001, John Fremlin wrote: Hi Oliver! Oliver Neukum [EMAIL PROTECTED] writes: is there a way to let all other runable tasks run until they block or return to user space,

Arch specific/multiple Configure.help files?

2001-04-05 Thread Johan Adolfsson
Would it be a good idea to have support for multiple Configure.help files in the config system? The main advantage would be that arch specific settings could have an arch specific help file as well. Anybody who knows: Would it be a easy to add support for this if this is considered a good idea?

Re: asm/unistd.h

2001-04-05 Thread J . A . Magallon
On 04.05 Andreas Schwab wrote: Try this and watch your compiler complaining: #define foo() { } #define bar() do { } while (0) void mumble () { if (1) foo(); else bar(); if (2) bar(); else foo(); } Perhaps it is time to USE gcc, yet the kernel can be built only with

AIC7xxx in Kernel 2.4.3

2001-04-05 Thread Peter Rottengatter
Hi This driver seems to be pretty broken, the way it is. It does not compile. The new author, Justin T. Gibbs, has been careful in avoiding to mention his e-mail address in his code :-( Hence the post to this list. As the first problem, the compile stops in aicasm_gram.c because in

Re: AIC7xxx in Kernel 2.4.3

2001-04-05 Thread Justin T. Gibbs
Hi This driver seems to be pretty broken, the way it is. It does not compile. The new author, Justin T. Gibbs, has been careful in avoiding to mention his e-mail address in his code :-( I actually don't believe in putting email address in code. They become stale far too easily. If you ever

Re: [Problem] 3c90x on 2.4.3-ac3

2001-04-05 Thread Prasanna P Subash
Thats right. ACPI was what made 3c90x not work :( With APM it works perfectly. Thanks Marcus. On Thu, Apr 05, 2001 at 10:14:56AM +0200, Marcus Meissner wrote: In article [EMAIL PROTECTED] you wrote: hi lkml, I just built 2.4.3-ac3 with my old 2.4.2 .config and somehow networking does

Re: [Linux-fbdev-devel] Re: fbcon slowness [was NTP on 2.4.2?]

2001-04-05 Thread Eric W. Biederman
"Maciej W. Rozycki" [EMAIL PROTECTED] writes: On Thu, 5 Apr 2001, Geert Uytterhoeven wrote: 32bit writes on a bus with a word size of 64 or more bits. By the way does anyone know who didn't implement MTRR's or the equivalent on alpha so we can shoot them? People never get shot

PROBLEM: buz.c, 6pack.c use nonexistant KMALLOC_MAXSIZE in 2.4.3

2001-04-05 Thread Mark W. Eichin
[1.] One line summary of the problem: buz.c, 6pack.c use nonexistant KMALLOC_MAXSIZE in 2.4.3 [2.] Full description of the problem/report: buz.c:2837: `KMALLOC_MAXSIZE' undeclared (first use in this function) in kernel-source-2.4.3: $ find . -name '*.h' | xargs grep KMALLOC_MAXSIZE $ find .

Re: pcnet32 (maybe more) hosed in 2.4.3

2001-04-05 Thread Petr Vandrovec
Carsten Langgaard wrote: Petr Vandrovec wrote: Current Linux driver switches them to 16bit mode in pcnet_probe1: pcnet_dwio_reset(); // reset to 16bit mode when in 32bit, ignore in 16bit mode pcnet_wio_reset(); // device is for sure in 16bit mode, but reset it again to I'm

Re: linux terminal type

2001-04-05 Thread Ralf Baechle
On Wed, Apr 04, 2001 at 08:42:32PM -0700, James Simmons wrote: Also take a look at http://www.vt100.net . Since linux tries to emulate the Dec vt100 at this site you will find the vt100 manuals. They are quite good and the esc codes are well described in them. MS: (n) 1. A debilitating and

Re: kernel bug in 2.4.2-ac28, patched with 6.1.8 aic drivers

2001-04-05 Thread John Jasen
On Thu, 5 Apr 2001, John Jasen wrote: got this on booting up 2.4.2-ac28: Apr 5 09:36:37 grim kernel: kernel BUG at slab.c:1244! Apr 5 09:36:37 grim kernel: invalid operand: errr ... belay that one. a) I said I didn't get it in 2.4.3-ac3, which was only about 30% correct. (I've gotten

RE: [Problem] 3c90x on 2.4.3-ac3

2001-04-05 Thread Grover, Andrew
I'm confused. 3c59x.c has a little acpi WOL stuff, but that's it. What specifically is ACPI doing to break things? Are ACPI and the NIC sharing any resources? Regards -- Andy -Original Message- From: Prasanna P Subash [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 05, 2001 11:12

Re: st corruption with 2.4.3-pre4

2001-04-05 Thread Geert Uytterhoeven
On Thu, 22 Mar 2001, Geert Uytterhoeven wrote: On Tue, 20 Mar 2001, Grard Roudier wrote: On Tue, 20 Mar 2001, Geert Uytterhoeven wrote: On Tue, 20 Mar 2001, Geert Uytterhoeven wrote: On Mon, 19 Mar 2001, Jeff Garzik wrote: I did some more tests: - The problem also occurs when

Re: kernel BUG at page_alloc.c:75! / exit.c

2001-04-05 Thread ernte23
"Albert D. Cahalan" wrote: I'm running the 2.4.3 kernel and my system always (!) crashes when I try to generate the "Linux kernel poster" from lgp.linuxcare.com.au. After working for one hour, the kernel printed this message: I'd guess you have a heat problem. Check for dust, a slow

How to embed linux into a board based on QED rm5230 mips cpu?

2001-04-05 Thread Miao Qingjun
Hi, Can anybody help me? How to embed linux into a board based on QED rm5230 mips cpu? How can I do step by step? Its configuration is rm5230 cpu galileo controller rom flash ram nvram/rtc uart Thanks in advance. __ Do You Yahoo!? Get email

2.4.3 Easy to make Mozilla go into D State

2001-04-05 Thread Trever L. Adams
[1.] One line summary of the problem: Mozilla and other programs easily get in D State [2.] Full description of the problem/report: Mozilla is easy to get into D State. Simply start it 2001040414 build. This is not the only program that I have doing this. It is just the easiest to make

2.4.3 (and possibly 2.4.2) don't enter S5 (ACPI) on shutdown

2001-04-05 Thread Trever L. Adams
[1.] One line summary of the problem: 2.4.3 no longer shuts down automatically with S5. [2.] Full description of the problem/report: 2.4.3 no longer shuts down automatically with S5. I have an Athlon based system using the FIC-SD11 motherboard. In 2.4.1 and possibly 2.4.2 the system used

  1   2   3   4   >