Re: which gcc version?

2001-04-04 Thread Alexander Viro
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 with gcc -v = egcs-2.91.66 Don't do it in

[PATCH] SysV IPC, kernel 2.4.3

2001-04-04 Thread Scott Maxwell
This patch contains several small bug fixes and micro-optimizations for SysV IPC code in the 2.4.3 kernel. Summary: * testmsg(): "return expr;" beats "if (expr) return 1; ... return 0;" * pipelined_send() was setting q_lspid instead of q_lrpid. * sys_msgrcv() had

which gcc version?

2001-04-04 Thread Manoj Sontakke
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 with gcc -v = egcs-2.91.66 Thanks for all the help. Manoj - To unsubscribe from this list:

Race in fs/proc/generic.c:make_inode_number()

2001-04-04 Thread Tom Leete
Hello, The proc_alloc_map bitfield is unprotected by any lock, and find_first_zero_bit() is not atomic. Concurrent module loading can race here. static unsigned char proc_alloc_map[PROC_NDYNAMIC / 8]; static int make_inode_number(void) { int i = find_first_zero_bit((void *)

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

2001-04-04 Thread Jens Axboe
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 into D-state and stays there when applying

Re: Underscore in rivafb

2001-04-04 Thread James Simmons
linux/Documentation/VGA-softcursor.txt MS: (n) 1. A debilitating and surprisingly widespread affliction that renders the sufferer barely able to perform the simplest task. 2. A disease. James Simmons [[EMAIL PROTECTED]] /| fbdev/console/gfx developer

Re: "linux" terminal type

2001-04-04 Thread James Simmons
>> Is there any documentation on ths linux console terminal type? If >> so, where? > >Maybe cryptic but the most complete documentation of the linux terminal >and it's relatives are probably /etc/termcap and the ncurses terminfo >database. Aside of the code itself. Also take a look at

Re: More about 2.4.3 timer problems

2001-04-04 Thread James Simmons
>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 kernel configuration. What do you mean it

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

2001-04-04 Thread James Simmons
>>> 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 seen make >a noticeable difference

[PATCH] NeoMagic Framebuffer Driver

2001-04-04 Thread Denis Oliver Kropp
Hi, I wrote a framebuffer driver for all NeoMagic PCI chips ported from current XFree driver, not based on the AFAIK unfinished driver of Ani Joshi or Helge Deller. This is version 0.2 with some little TODOs like module parameters or kernel parameter parsing; it's tested with NM2200 and NM2380.

2.4.3 video module build failure

2001-04-04 Thread Stephen L Moshier
This is for linux-2.4.3 configured with multimedia/video selected as a module. gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-f rame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -c -o buz.o buz.c buz.c: In function

Re: Signal Handling Performance?

2001-04-04 Thread Christopher Smith
--On Wednesday, April 04, 2001 21:30:51 -0400 "Carey B. Stortz" <[EMAIL PROTECTED]> wrote: > either stayed the same or had a performance increase. A general decrease > started around kernel 2.1.32, then performance drastically fell at kernel > 2.3.20. There is an Excel graph which shows the

Re: [QUESTION] MOD_INC/MOD_DEC: useful to check for correct usage?

2001-04-04 Thread Alexander Viro
On Wed, 4 Apr 2001, Dawson Engler wrote: > Hi, > > in the old days you couldn't call a sleeping function in a module > before doing a MOD_INC or after doing a MOD_DEC. Then some safety nets > were added that made these obsolete (in some number of places). I was > told that people had

Signal Handling Performance?

2001-04-04 Thread Carey B. Stortz
I am doing a research project on Linux kernel performance starting with the 2.0.1 kernel through the 2.4.0 kernel. I ran across something very interesting when running LMBench and reviewing the results. The performance of Signal Handling has decreased while every other area has either stayed the

Re: [BUG] smbfs: caching problems

2001-04-04 Thread Xuan Baldauf
Urban Widmark wrote: > On Sun, 1 Apr 2001, Xuan Baldauf wrote: > > > there is something wrong with smbfs caching which makes my > > applications fail. The behaviour happens with > > linux-2.4.3-pre4 and linux-2.4.3-final. > > > > Consider following shell script: (where /mnt/n is a > >

Re: linux 2.4.3 crashed my hard disk

2001-04-04 Thread Alan Cox
> 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 support an IDE dma timeout handling function (ie all it can do is reset

[QUESTION] MOD_INC/MOD_DEC: useful to check for correct usage?

2001-04-04 Thread Dawson Engler
Hi, in the old days you couldn't call a sleeping function in a module before doing a MOD_INC or after doing a MOD_DEC. Then some safety nets were added that made these obsolete (in some number of places). I was told that people had decided to potentially get rid of all safety nets. Is this

Re: ReiserFS? How reliable is it? Is this the future?

2001-04-04 Thread Alan Cox
> 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 upset. > displacement instead of vertical displacement) is planned. > > I can

Re: ReiserFS? How reliable is it? Is this the future?

2001-04-04 Thread Xuan Baldauf
Alan Cox 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 upset. The only bad consequence possible is that you

Re: linux 2.4.3 crashed my hard disk

2001-04-04 Thread Ion Badulescu
On Wed, 4 Apr 2001 20:00:29 +0100 (BST), Alan Cox <[EMAIL PROTECTED]> wrote: >> Been running this configuration over more than 2 years now without such >> major problems. >> Could this be the cause? > > Quite possibly. There are reasons we ignore bug reports from overclockers Perhaps. But,

[Problem] 3c90x on 2.4.3-ac3

2001-04-04 Thread Prasanna P Subash
hi lkml, I just built 2.4.3-ac3 with my old 2.4.2 .config and somehow networking does not work. dhclient eventually froze the machine. here is what dhclient complains. [root@psubash linux]# cat /tmp/error.txt skb: pf=2 (unowned) dev=lo len=328 PROTO=17 0.0.0.0:68 255.255.255.255:67

RE: vmalloc on 2.4.x on ia64

2001-04-04 Thread hiren_mehta
dropping the io_request_lock around vmalloc worked great. Thanks for all the help. I really appreciate it. Thanks -hiren > -Original Message- > From: Alan Cox [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 04, 2001 5:29 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED]; [EMAIL

Is jumbo ethernet MTU possible with Hamachi Gigabit ethernet driver?

2001-04-04 Thread John Weidman
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 to get a throughput of close to the 1Gb rating of the card. This is on a Compact PCI Alpha system. I'm trying to use an MTU in the 8000 to 9000 range and so far have not

Re: 2.4.2-ac6 hangs on boot w/AMD Elan SC520 dev board

2001-04-04 Thread Brian Moyle
Changes are isolated to sanitize_e820_map(). (patch is against linux-2.4.3-ac3) This change informs the user when overlaping memory regions have been found in their e820 map. If overlaps were found, it displays the original mapping and then creates an adjusted map (w/o overlaps). If no

Re: 2.2.19 borks am-utils building :-(

2001-04-04 Thread Ion Badulescu
On Wed, 4 Apr 2001 16:43:14 -0700 (PDT), Andre Hedrick <[EMAIL PROTECTED]> wrote: > The subject says it all Use the latest snapshot of am-utils (6.0.6s1), which fixes the problem. Ion am-utils co-maintainer -- It is better to keep your mouth shut and be thought a fool, than to

Re: MPEG-2 decoding driver for Trident Cyberblade i7

2001-04-04 Thread Alan Cox
> Searching on the web, I see a few question but no answers > to the question of whether a driver exists that can utilize > the MPEG-2 hardware assist feature of the Trident > Cyberblade i7. > > Any pointers? That would be part of the XFree 4 server if supported on that card yet. The hardware

Re: vmalloc on 2.4.x on ia64

2001-04-04 Thread Alan Cox
> I am calling during initialization only from detect() entry point. > But I guess, before the detect() is called, scsi layer acquires > the io_request_lock. So, you mean to say that I need to release it That depends if your driver is doing old or new style initialization > before calling

Re: Contacts within AMD? AMD-756 USB host-controller blacklisted dueto

2001-04-04 Thread Alan Cox
> Comprimise? > > This patch make it a config option to enable the AMD-756. > It's marked DANGEROUS and EXPERIMENTAL, and is only > available if CONFIG_EXPERIMENTAL is set. Since we expect to get errata docs very soon Im not that worried. As an implementation I'd rather a module option of

Config printk buffer size

2001-04-04 Thread Thomas Dodd
This should allow the printk buffer to be sized during config. The default size is still 16K. It could use some checking to insure power-of-2, but CML1 doesn't have a way to do it that I see. All the architectures should be covered, and all the default files also have it. It gets added in the

Re: vmalloc on 2.4.x on ia64

2001-04-04 Thread Andi Kleen
On Wed, Apr 04, 2001 at 06:11:32PM -0600, [EMAIL PROTECTED] wrote: > I am calling during initialization only from detect() entry point. > But I guess, before the detect() is called, scsi layer acquires > the io_request_lock. So, you mean to say that I need to release it > before calling vmalloc()

RE: vmalloc on 2.4.x on ia64

2001-04-04 Thread hiren_mehta
I am calling during initialization only from detect() entry point. But I guess, before the detect() is called, scsi layer acquires the io_request_lock. So, you mean to say that I need to release it before calling vmalloc() ? I was doing the same thing on 2.2.x and even on 2.4.0 and it was working

Re: Contacts within AMD? AMD-756 USB host-controller blacklisted dueto

2001-04-04 Thread Thomas Dodd
David Brownell wrote: > > please correct me if i'm wrong i only don't want to blacklist complete > > chipset-series > > Then feel free to develop and submit a better fix. That'd > be more practical if AMD's workaround were public. As I > understand it, the bulk of the production chips have

MPEG-2 decoding driver for Trident Cyberblade i7

2001-04-04 Thread Michael Shiloh
Hello, Searching on the web, I see a few question but no answers to the question of whether a driver exists that can utilize the MPEG-2 hardware assist feature of the Trident Cyberblade i7. Any pointers? Thanks Michael - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: vmalloc on 2.4.x on ia64

2001-04-04 Thread Alan Cox
> Can we call vmalloc() or get_free_pages() from scsi low-level driver > (HBA driver) ? The reason why I am asking is because, I am calling It depends where. You can call it during initialisation if you arent holding the io_request_lock for example. - To unsubscribe from this list: send the

Re: Contacts within AMD? AMD-756 USB host-controller blacklisted due to

2001-04-04 Thread Ryan Butler
Miles Lane wrote: > > > Personally, I agree with you, but I can also understand David's > desire to avoid wasting time chasing phantom bugs that only > show up due to this broken hardware. If it turns out that > there is actually a well-defined workaround that AMD will > tell us about, it

RE: vmalloc on 2.4.x on ia64

2001-04-04 Thread hiren_mehta
Can we call vmalloc() or get_free_pages() from scsi low-level driver (HBA driver) ? The reason why I am asking is because, I am calling vmalloc from scsi low-level driver and I tried this on 2.4.2 on ia32 as well as ia64 and on both the systems, it is hanging. on ia64 it happens everytime

2.2.19 borks am-utils building :-(

2001-04-04 Thread Andre Hedrick
The subject says it all Andre Hedrick Linux ATA Development - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: pcnet32 (maybe more) hosed in 2.4.3

2001-04-04 Thread Petr Vandrovec
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

Re: Underscore in rivafb

2001-04-04 Thread Petr Vandrovec
Stuart McFadden wrote: > > Hi, >The flashing block in rivafb was annoying me, so here is a diff (against > vanilla 2.4.3 ) of a quick hack in case anyone else was having the same problem. Get a look at drivers/video/matrox/matroxfb_misc:matroxfb_createcursorshape, and its callers,

[PATCH] - USB/Vendor ID update, nothing earthshaking..

2001-04-04 Thread Nikhil Goel
but shall be helpful for a few thousand users of the device. Thanks, Nikhil -- Nikhil Goel <[EMAIL PROTECTED]> 10, Anson Road Ph +65 3240210 Ext 20 International Plaza,#22-14 Fx +65 3240607 Singapore 079903

Re: Contacts within AMD? AMD-756 USB host-controller blacklisted dueto

2001-04-04 Thread David Brownell
> Apr 4 14:47:15 campari kernel: usb-ohci.c: bogus NDP=204 for OHCI > usb-00:07.4 > Apr 4 14:47:15 campari kernel: usb-ohci.c: rereads as NDP=4 Means that your system would have oopsed if it hadn't tested for the bogus register read (NDP). That's only one path; other bogus reads (which could

Re: [BUG] smbfs: caching problems

2001-04-04 Thread Urban Widmark
On Sun, 1 Apr 2001, Xuan Baldauf wrote: > there is something wrong with smbfs caching which makes my > applications fail. The behaviour happens with > linux-2.4.3-pre4 and linux-2.4.3-final. > > Consider following shell script: (where /mnt/n is a > smbmounted smb share from a Win98SE box) Try

Re: a quest for a better scheduler

2001-04-04 Thread Christopher Smith
--On Wednesday, April 04, 2001 15:16:32 -0700 Tim Wright <[EMAIL PROTECTED]> wrote: > On Wed, Apr 04, 2001 at 03:23:34PM +0200, Ingo Molnar wrote: >> nope. The goal is to satisfy runnable processes in the range of NR_CPUS. >> You are playing word games by suggesting that the current behavior >>

Re: [PATCH] Revised memory-management stuff (was: OOM killer)

2001-04-04 Thread Andreas Dilger
Jonathon Morton writes: > MAJOR: OOM killer now only activates when truly out of memory, ie. when > buffer and cache memory has already been eaten down to the bone. Good. > MEDIUM: IOW, if the allocating process is already 4x the size of the > remaining free memory, reservation of more memory

Re: uninteruptable sleep (D state => load_avrg++)

2001-04-04 Thread Tim Wright
On Wed, Apr 04, 2001 at 02:13:49PM +0200, christophe barbe wrote: > The sleep should certainly be interruptible and I that's what I said to the GFS guy. > But what the reason to increment the load average for each D process ? > OK, the Unix history goes something like this. Synchronization was

Re: Contacts within AMD? AMD-756 USB host-controller blacklisted due to

2001-04-04 Thread Miles Lane
Joachim 'roh' Steiger wrote: > i would like to help to track down this problem > i'm using a gigabyte 7IXE revision 1.1 > kernel is 2.4.1 > > lspci output for usb: > 00:07.4 USB Controller: Advanced Micro Devices [AMD] AMD-756 [Viper] USB > (rev 06) (prog-i > f 10 [OHCI]) > Flags: bus

Re: pcnet32 (maybe more) hosed in 2.4.3

2001-04-04 Thread Thomas Bogendoerfer
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 chip in > 32bit mode? probably

Underscore in rivafb

2001-04-04 Thread Stuart McFadden
Hi, The flashing block in rivafb was annoying me, so here is a diff (against vanilla 2.4.3 ) of a quick hack in case anyone else was having the same problem. Stuarty, diff -urN linux.pure/drivers/video/riva/fbdev.c linux/drivers/video/riva/fbdev.c --- linux.pure/drivers/video/riva/fbdev.c

Re: Contacts within AMD? AMD-756 USB host-controller blacklisteddue to

2001-04-04 Thread Joachim 'roh' Steiger
i would like to help to track down this problem i'm using a gigabyte 7IXE revision 1.1 kernel is 2.4.1 lspci output for usb: 00:07.4 USB Controller: Advanced Micro Devices [AMD] AMD-756 [Viper] USB (rev 06) (prog-i f 10 [OHCI]) Flags: bus master, medium devsel, latency 16, IRQ 11

Re: a quest for a better scheduler

2001-04-04 Thread Tim Wright
On Wed, Apr 04, 2001 at 03:23:34PM +0200, Ingo Molnar wrote: > > On Wed, 4 Apr 2001, Hubertus Franke wrote: > > > I understand the dilemma that the Linux scheduler is in, namely > > satisfy the low end at all cost. [...] > > nope. The goal is to satisfy runnable processes in the range of

2.2.19 hangs just before "Uncompressing Linux"

2001-04-04 Thread José Luis Domingo López
Hi kernel gurus & testers: When booting from my recently compiled Linux kernel version 2.2.19, about 90-95% of times the system hangs just after printing: Loading nameofimage. And doesn't get to the point where the kernel uncompresses (that is, no Uncompressing message). However,

Re: memory size detection problem on 2.3.16+ and 2.4.x

2001-04-04 Thread Michael Miller
Hi, >> the bios will set the carry flag on the return from the call should >> there be an error. However, the BIOS on my PC doesnt do this- infact >> it seems to simply return from the call without changing any registers. > > Your BIOS is faulty. No new suprises. Hmm- not as wrong as I had

[PATCH] Revised memory-management stuff (was: OOM killer)

2001-04-04 Thread Jonathan Morton
The attached patch applies to 2.4.3 and should address the most serious concerns surrounding OOM and low-memory situations for most people. A summary of the patch contents follows: MAJOR: OOM killer now only activates when truly out of memory, ie. when buffer and cache memory has already been

Re: kernel/sched.c questions

2001-04-04 Thread Bjorn Wesen
On 4 Apr 2001, Andi Kleen wrote: > > >> Hello, I would like to know why you put this two functions: > > >> void scheduling_functions_start_here(void) { } > > >> ... > > >> void scheduling_functions_end_here(void) { } > This is needed for a very bad hack to get the EIP information in ps -lax:

Re: kernel/sched.c questions

2001-04-04 Thread Richard B. Johnson
On Wed, 4 Apr 2001, Tim Walberg wrote: > On 04/04/2001 16:52 -0300, Sardañons, Eliel wrote: > >>Hello, I would like to know why you put this two functions: > >>void scheduling_functions_start_here(void) { } > >>... > >>void scheduling_functions_end_here(void) { } > >> >

Re: softirq buggy [Re: Serial port latency]

2001-04-04 Thread Manfred Spraul
From: "Pavel Machek" <[EMAIL PROTECTED]> > > > Ok, there are 2 bugs that are (afaics) impossible to fix without > > checking for pending softirq's in cpu_idle(): > > > > a) > > queue_task(my_task1, tq_immediate); > > mark_bh(); > > schedule(); > > ;within schedule: do_softirq() > > ;within

Re: how to let all others run

2001-04-04 Thread Richard B. Johnson
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 ? > > Are you trying to do this in kernel

Re: kernel/sched.c questions

2001-04-04 Thread Stuart MacDonald
I had similar questions recently when I was doing some hacking; these are my guesses: From: ; "Eliel" <[EMAIL PROTECTED]> > Hello, I would like to know why you put this two functions: > void scheduling_functions_start_here(void) { } > ... > void scheduling_functions_end_here(void) { } Just as

Re: kernel/sched.c questions

2001-04-04 Thread Andi Kleen
Tim Walberg <[EMAIL PROTECTED]> writes: > On 04/04/2001 16:52 -0300, Sardañons, Eliel wrote: > >>Hello, I would like to know why you put this two functions: > >>void scheduling_functions_start_here(void) { } > >>... > >>void scheduling_functions_end_here(void) { } > >> > >

Re: [WISHLIST] Addition of suspend patch into 2.5?

2001-04-04 Thread Pavel Machek
Hi! > Not only for laptops :) > > It's nice for PCs too also. And it is called sw_susp. So what about trying it, *NOW*? -- Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt, details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html. - To unsubscribe from this list:

Re: [WISHLIST] Addition of suspend patch into 2.5?

2001-04-04 Thread Pavel Machek
Hi! > Just a small adition to the 2.5 whislist: > Is "hibernation" on linux possible? Ideally it should write out on the / I just said it is. However you definitely do not want to write it onto filesystem -- that's much too hard. But you can write it to the swap space, and that's exactly what

Re: Ethernet driver tweak for error correction codes

2001-04-04 Thread Pavel Machek
Hi! > Is it possible to use up the src, dest MAC addresses (12B) and the CRC field (4B?) > on a point-to-point full duplex Ethernet link for my own data? That does not seem like too clean solution. > I would like to implement an error correction on this, because I'm gonna build > a freespace

softirq buggy [Re: Serial port latency]

2001-04-04 Thread Pavel Machek
Hi! > > Seems floppy and console is buggy, then. > > > > No. The softirq implementation is buggy. > I can trigger the problem with the TASKLET_HI (floppy), and both net rx > and tx (ping -l) > > > > What about creating a special cpu_is_idle() function that the idle > > > functions must call

Re: pcnet32 (maybe more) hosed in 2.4.3

2001-04-04 Thread Petr Vandrovec
Wade Hampton wrote: > > Carsten Langgaard wrote: > > > > I'm not sure what the problem is, but the whole deal about checking whether the > > controller runs in 16 bit or 32 bit mode, is a little bit tricky. > >[snip] > Without the changes listed in this thread, 2.4.3 crashed vmware 2.0.3 >

Re: how to let all others run

2001-04-04 Thread John Fremlin
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 ? Are you trying to do this in kernel or something? From userspace you can use nice(2) then

Re: kernel/sched.c questions

2001-04-04 Thread Tim Walberg
On 04/04/2001 16:52 -0300, Sardañons, Eliel wrote: >> Hello, I would like to know why you put this two functions: >> void scheduling_functions_start_here(void) { } >> ... >> void scheduling_functions_end_here(void) { } >> That one I have no idea about - maybe some

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

2001-04-04 Thread Herbert Valerio Riedel
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 into D-state and stays there when applying it to /dev/loop0, running it directly on the LV-device

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

2001-04-04 Thread Andrew Morton
Alan Cox wrote: > > > I initially upgraded my kernel from 2.4.2-ac5 to 2.4.3 and the first thing I > > noticed was that mysqld was stuck. Killing it left it hanging in a D state. > > Then I tried 2.4.2-ac28 (which I am using now), and the got the same result. > > I'd expect that bit.

Re: nfs performance at high loads

2001-04-04 Thread Mark Hemment
I believe David Miller's latest zero-copy patches might help here. In his patch, the pull-up buffer is now allocated near the top of stack (in the sunrpc code), so it can be a blocking allocation. This doesn't fix the core VM problems, but does relieve the pressure _slightly_ on the VM (I

Re: IDE RAID Hardware Advice

2001-04-04 Thread Erik Mouw
On Wed, Apr 04, 2001 at 10:03:59AM -0400, John Kodis wrote: > I'll be assembling a terabyte of IDE RAID network attached storage, > and was looking for some advice on: > > - best supported and most reliable multi-channel IDE controller; See http://www.linux-ide.org/chipsets.html . (3Ware

Re: Contacts within AMD? AMD-756 USB host-controller blacklisted due to

2001-04-04 Thread Miles Lane
Thomas Dodd wrote: > Alan Cox wrote: > >>> David Brownell recently added this check to the usb-ohci driver >>> since noone has gotten information from AMD for the workaround, >>> which is rumored to exist, for this bug. >>> >>> Do any of you have contacts within AMD who might be able to >>>

kernel/sched.c questions

2001-04-04 Thread Sardañons, Eliel
Hello, I would like to know why you put this two functions: void scheduling_functions_start_here(void) { } ... void scheduling_functions_end_here(void) { } why you put 'case TASK_RUNNING' switch (prev->state) { case TASK_INTERRUPTIBLE: if

Re: 2.4 kernel hangs on 486 machine at boot

2001-04-04 Thread Vik Heyndrickx
- Original Message - From: "Alan Cox" <[EMAIL PROTECTED]> To: "Vik Heyndrickx" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, April 04, 2001 7:54 PM Subject: Re: 2.4 kernel hangs on 486 machine at boot > > Problem: Linux kernel 2.4

Re: 2048 byte/sector problems with kernel 2.4

2001-04-04 Thread Giuliano Pochini
> >There WERE direct overwrite media for a while that would, in theory, be > >able to write the data directly, but a combination of high cost, >limited > >sources, and strong questions about the permanence of the recorded data > >severely limited the demand for these and I think that they have

Re: linux 2.4.3 crashed my hard disk

2001-04-04 Thread Richard B. Johnson
On Wed, 4 Apr 2001, Frank Cornelis wrote: > Hey, > > After I did put in /etc/sysconfig/harddisks > USE_DMA=1 > my system did crash very badly, I guess after my hard disks did wake up [SNIPPED...] > > BTW: my motherboard runs at 112 Mhz, overclocked, was 100 Mhz. > Been running this

Re: uninteruptable sleep

2001-04-04 Thread andersg
On Wed, Apr 04, 2001 at 08:39:19AM +0930, Trevor Nichols wrote: > > ps -eo pid,stat,pcpu,nwchan,wchan=WIDE-WCHAN-COLUMN -o args > > 1230 D 0.0 105cc1 down_write_failed /home/data/mozilla/obj/dist/bin/mozilla-bin My mysql-server got stuck in down_write_failed today too. SMP dual PentiumIII

Re: Minor 2.4.3 Adaptec Driver Problems

2001-04-04 Thread Earle Nietzel
> > That's what ext2 volume labels are for. > That is really not a great solution although it's half OK. Here's why? You can put labels on all your ext2 partitons but what happens on: cdroms zip drives and probably most important: swap but lets just say anything other than ext2

Re: linux 2.4.3 crashed my hard disk

2001-04-04 Thread Brian Gerst
Frank Cornelis wrote: > > Hey, > > After I did put in /etc/sysconfig/harddisks > USE_DMA=1 > my system did crash very badly, I guess after my hard disks did wake up > again. For I while I though I'd lose some sectors because of this, I had > to re-install my RedHat 7.0, had a not so

new aic7xxx driver problems

2001-04-04 Thread Giuliano Pochini
I have two Adaptec 2930CU (ultra narrow) cards. I modified the driver to make them work in ultra mode. The card connected to my CDROM and MO drive, operating at different bus clocks, does not behave well. Transfers stop often for 10-20 seconds and it spits out warnings like these: Apr 3

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

2001-04-04 Thread David Ford
Second time around, I didn't evoke any interest the first time. 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. # uname -r 2.4.3-pre8 mozilla-bin D C781849C 0

Re: Contacts within AMD? AMD-756 USB host-controller blacklisted due to

2001-04-04 Thread Thomas Dodd
Alan Cox wrote: > > > David Brownell recently added this check to the usb-ohci driver > > since noone has gotten information from AMD for the workaround, > > which is rumored to exist, for this bug. > > > > Do any of you have contacts within AMD who might be able to > > get an explanation of the

Re: Compiling problem kernel 2.4.2

2001-04-04 Thread Boris Pisarcik
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -02 > -fomit-frame-pointer -fno-strict-aliasing -pipe -march=i486 -c -o init/main.o > init/main.c > gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -02 > fomit-frame-pointer -fno-strict-aliasing -pipe

Re: Non keyboard trigger of Alt-SysRQ-S-U-B

2001-04-04 Thread Boris Pisarcik
> If you have a serial console on the server, you can get sysrq by > sending a serial break followed by the character. Hi, i've tried it with minicom and functioned : ctrl+a+F and key for function as in normal sysrq. This approach will probably not help you a lot thought, since you wouldn't

Re: Non keyboard trigger of Alt-SysRQ-S-U-B

2001-04-04 Thread Boris Pisarcik
Hi Nathan, I've just made an experimental module which offers syscall to privileged process, which internally translates itself into real sysrq handler (handle_sysrq) defined in drivers/char/sysrq.c. It occupates itself one of unussed linux system calls (concretely stty - no. 31). Makefile

Re: a quest for a better scheduler

2001-04-04 Thread Hubertus Franke
I give you a concrete example: Running DB2 on an SMP system. In DB2 there is a processes/thread pool that is sized based on memory and numcpus. People tell me that the size of this pool is in the order of 100s for an 8-way system with reasonable sized database. These determine the number of

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

2001-04-04 Thread Alan Cox
> I initially upgraded my kernel from 2.4.2-ac5 to 2.4.3 and the first thing I > noticed was that mysqld was stuck. Killing it left it hanging in a D state. > Then I tried 2.4.2-ac28 (which I am using now), and the got the same result. I'd expect that bit. 2.4.2-ac28 basically has the same new

Re: linux 2.4.3 crashed my hard disk

2001-04-04 Thread Alan Cox
> After I did put in /etc/sysconfig/harddisks > USE_DMA=1 > my system did crash very badly, I guess after my hard disks did wake up So you forced DMA on > BTW: my motherboard runs at 112 Mhz, overclocked, was 100 Mhz. and ran overclocked > Been running this configuration over more than

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

2001-04-04 Thread Vibol Hou
I initially upgraded my kernel from 2.4.2-ac5 to 2.4.3 and the first thing I noticed was that mysqld was stuck. Killing it left it hanging in a D state. Then I tried 2.4.2-ac28 (which I am using now), and the got the same result. My key_buffer was set to 256MB, so I figured maybe it was

linux 2.4.3 crashed my hard disk

2001-04-04 Thread Frank Cornelis
Hey, After I did put in /etc/sysconfig/harddisks USE_DMA=1 my system did crash very badly, I guess after my hard disks did wake up again. For I while I though I'd lose some sectors because of this, I had to re-install my RedHat 7.0, had a not so productive day :) But, hard disks are OK

Re: nfs performance at high loads

2001-04-04 Thread Alan Cox
> We have been seeing some problems with running nfs benchmarks > at very high loads and were wondering if somebody could show > some pointers to where the problem lies. > The system is a 2.4.0 kernel on a 6.2 Red at distribution ( so Use 2.2.19. The 2.4 VM is currently too broken to

nfs performance at high loads

2001-04-04 Thread Kapish K
Hello, We have been seeing some problems with running nfs benchmarks at very high loads and were wondering if somebody could show some pointers to where the problem lies. The system is a 2.4.0 kernel on a 6.2 Red at distribution ( so nfs utils from 6.2 and the nfsd of 2.4.0 ) -

[Lse-tech] HP Plug In Policies vs Multiqueue Scheduler (fwd)

2001-04-04 Thread Scott Rhine
There has been a little cross talk lately about the "HP" schedulers that may be sowing some confusion. 1) Pluggable policies provides a minimally intrusive way to develop and test new scheduler policies such as Processor Sets, or the Fair Share Scheduler. It provides a good way to test a

Re: 2.4 kernel hangs on 486 machine at boot

2001-04-04 Thread Brian Gerst
Alan Cox wrote: > > > Problem: Linux kernel 2.4 consistently hangs at boot on 486 machine > > > > Shortly after lilo starts the kernel it hangs at the following message: > > Checking if this processor honours the WP bit even in supervisor mode... > > > > Does this happen on 2.4.3-ac kernel

stick processes in 2.4.3 trace (alt-sysrq t)

2001-04-04 Thread Pau
Here's is the trace of a nautilus process in D state. I'm rebooting now in 2.4.3-ac2 to see if it still happens. Pau trace.bz2

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

2001-04-04 Thread Andrea Arcangeli
On Wed, Apr 04, 2001 at 10:49:04AM -0700, Kanoj Sarcar wrote: > Imagine that most of the program's memory is on node 1, it was scheduled > on node 2 cpu 8 momentarily (maybe because kswapd ran on node 1, other > higher priority processes took over other cpus on node 1, etc). > > Then, your

Re: 2.4 kernel hangs on 486 machine at boot

2001-04-04 Thread Alan Cox
> Problem: Linux kernel 2.4 consistently hangs at boot on 486 machine > > Shortly after lilo starts the kernel it hangs at the following message: > Checking if this processor honours the WP bit even in supervisor mode... > Does this happen on 2.4.3-ac kernel trees ? I thought i had it zapped

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

2001-04-04 Thread Kanoj Sarcar
> > It helps by keeping the task in the same node if it cannot keep it in > the same cpu anymore. > > Assume task A is sleeping and it last run on cpu 8 node 2. It gets a wakeup > and it gets running and for some reason cpu 8 is busy and there are other > cpus idle in the system. Now with the

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

2001-04-04 Thread Paul McKenney
> Just a quick comment. Andrea, unless your machine has some hardware > that imply pernode runqueues will help (nodelevel caches etc), I fail > to understand how this is helping you ... here's a simple theory though. > If your system is lightly loaded, your pernode queues are actually >

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

2001-04-04 Thread Hubertus Franke
Correct, that's true. Our patch does various things. (a) limit search for a task to a admin specified set of cpu's during schedule().. (b) limits search for a preemptable task to another set of cpu's during reschedule_idle() (c) loadbalancing, i.e. moving from queue to queue.

Re: "linux" terminal type

2001-04-04 Thread Ralf Baechle
On Tue, Apr 03, 2001 at 09:07:55PM -0600, Mark Lehrer wrote: > Date: Tue, 3 Apr 2001 21:07:55 -0600 > From: Mark Lehrer <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: "linux" terminal type > > > Is there any documentation on ths linux console terminal type? If > so, where?

  1   2   3   4   >