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

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 21055

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 23:05:1

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 prod

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 part

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 s

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 con

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 be

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

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 (signal_pending(p

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 >>> get

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 contr

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 a

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. 2.4.2-ac28

/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 works...

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 perver

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 sche

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 > Linux.

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 bef

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 la

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 t

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: 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) { } > >> > > Th

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 ma

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 or

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 my_task

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) { } > >> > This

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:

[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 ea

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

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, booting

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 NR_CPU

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

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: 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

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 a

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 ma

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 (b

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 >> p

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 t

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

[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: 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, matroxfb_*

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 ru

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 http://www.tux.org/lkml/

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 whereas

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 shou

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 lin

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 this

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" i

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: 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()

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 ke

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 'igno

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 vmallo

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 sc

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 o

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 overl

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 b

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 PRO

[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 L=3

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, ide

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

2001-04-04 Thread Xuan Baldauf
Alan Cox wrote: > > The bad (2.2 kernels) > > > > * Nothing I can think of > > Security exploit according to bugtraq, but Im pretty sure it wont take Chris > Mason and friends long to fix that. > This is a reiserfs security issue, but only of theoretical nature (Even if triggered, it won't har

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 p

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 tel

[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 tru

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

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 > > smbmounte

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 s

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 decided

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 trend

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 `v4l_f

[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. T

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

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 cou

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 http://w

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: /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

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 *) proc_alloc_m

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: s

[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 redundan

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

Re: More about 2.4.3 timer problems

2001-04-04 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 yo

[QUESTION] 2.4.3: hotplug_path unresolved in usbcore?

2001-04-04 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-04 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, as

2.4.3-ac2 and D state process

2001-04-04 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 i

Re: Stuck: What to do with solid locks?

2001-04-04 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

<    1   2