Re: [PATCH for 2.5] preemptible kernel

2001-03-21 Thread george anzinger
Nigel Gamble wrote: On Wed, 21 Mar 2001, Keith Owens wrote: I misread the code, but the idea is still correct. Add a preemption depth counter to each cpu, when you schedule and the depth is zero then you know that the cpu is no longer holding any references to quiesced structures.

Re: linux-2.4.xVIA694XDP on asus CUW4X-DLS

2001-03-21 Thread Alexander Lyamin
Tue, Mar 20, 2001 at 03:52:46PM -0500, Jeff Garzik wrote: Linus' latest pre-patch includes some Via changes. They are probably from the 'ac' tree, and thus no help to you, but it would be worth checking out. ftp://ftp.ru.kernel.org/pub/linux/kernel/testing/ hapless :( checked it - same as

Re: spinlock usage - ext2_get_block, lru_list_lock

2001-03-21 Thread Andreas Dilger
Anton Blanchard writes: I ported lockmeter to PPC and ran a few dbench runs on a quad CPU F50 here. These runs were made to never hit the disk. The full results can be found here: http://samba.org/~anton/ppc/lockmeter/2.4.3-pre3_hacked/ It was not surprising the BKL was one of the main

Re: [PATCH for 2.5] preemptible kernel

2001-03-21 Thread Keith Owens
On Wed, 21 Mar 2001 00:04:56 -0800, george anzinger [EMAIL PROTECTED] wrote: Exactly so. The method does not depend on the sum of preemption being zip, but on each potential reader (writers take locks) passing thru a "sync point". Your notion of waiting for each task to arrive "naturally" at

Re: spinlock usage - ext2_get_block, lru_list_lock

2001-03-21 Thread Mitchell Blank Jr
Andreas Dilger wrote: With per-group (or maybe per-bitmap) locking, files could be created in parallel with only a small amount of global locking if they are in different groups. ...and then we can let the disc go nuts seeking to actually commit all these new blocks. I suspect that this

Re: [PATCH for 2.5] preemptible kernel

2001-03-21 Thread Keith Owens
Nigel Gamble wrote: A task that has been preempted is on the run queue and can be rescheduled on a different CPU, so I can't see how a per-CPU counter would work. It seems to me that you would need a per run queue counter, like the example I gave in a previous posting. Ouch. What about all

Re: Question about memory usage in 2.4 vs 2.2

2001-03-21 Thread Zou Min
slabinfo reports: inode_cache 189974 243512480 30439 304391 : 124 62 dentry_cache 201179 341940128 11398 113981 : 252 126 ^ nameused allocd | used allocd in objects size in

re: clustering

2001-03-21 Thread Alastair Stevens
I have multiple Gateway 166's that I would like to try and experiment with Linux in a clustered environment. Any Advise? Bill Tomasiewicz Computer Specialist Hi - try MOSIX, a very cool-looking clustering solution for Linux, applied as a kernel patch to 2.2 kernels. The site is

(no subject)

2001-03-21 Thread Moran Cohen
list -- |\/| _ _ _ _ _| ne brocen -- | |(_)| (_|| |_\|| -- ne wurde... - 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: spinlock usage - ext2_get_block, lru_list_lock

2001-03-21 Thread Andreas Dilger
Mitchell Blank, Jr. writes: Andreas Dilger wrote: With per-group (or maybe per-bitmap) locking, files could be created in parallel with only a small amount of global locking if they are in different groups. ...and then we can let the disc go nuts seeking to actually commit all these

How to provoke kernel panic

2001-03-21 Thread Antwerpen, Oliver
Moin, Could someone kindly tell me how to provoke a kernel panic? I need to do so for testing some applications regarding system crash awareness. Olli - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: UDMA 100 / PIIX4 question

2001-03-21 Thread quintaq
On Tue, 20 Mar 2001 16:32:48 -0500 (EST) Mark Hahn [EMAIL PROTECTED] wrote: hdparm -t cannot be effected by the filesystem that lives in the partition, since hdparm is doing reads that don't go through the filesystem. hmm, I wonder if that's it: if you mount the FS that's in hda1, it

Re: Question about memory usage in 2.4 vs 2.2

2001-03-21 Thread Andreas Dilger
Zou Min writes: Then how to interpret slabinfo in 2.2.16 box? e.g. grep cache /proc/slabinfo kmem_cache32 42 skbuff_head_cache 2676 2730 dentry_cache 15626 16988 files_cache 103108 uid_cache 10127 slab_cache85126

Re: How to provoke kernel panic

2001-03-21 Thread Keith Owens
On Wed, 21 Mar 2001 10:43:25 +0100, "Antwerpen, Oliver" [EMAIL PROTECTED] wrote: Could someone kindly tell me how to provoke a kernel panic? I need to do so for testing some applications regarding system crash awareness. Create fs/example-module.c #include linux/config.h #include

Re: VIA audio and parport in 2.4.2

2001-03-21 Thread Tim Waugh
On Tue, Mar 20, 2001 at 11:21:10PM -0500, Jeff Garzik wrote: The current Via-specific parport_pc.c code forces on the best possible parallel port modes the chip can handle. In retrospect, what it should be doing is reading the configuration BIOS has set up, and not touching it. Yes, I

Re: Question about memory usage in 2.4 vs 2.2

2001-03-21 Thread Manfred Spraul
inode_cache 189974 243512 480 30439 30439 1 : 124 62 dentry_cache 201179 341940 128 11398 11398 1 : 252 126 1) number of used objects 2) number of allocated objects 3) size of each object 4) number of slabs that are at least partially in use 5) number of slabs that are allocated for the cache

Re: Question about memory usage in 2.4 vs 2.2

2001-03-21 Thread Zou Min
Lastly, which cache can be reclaimed, and which can't? Slab cache will shrink if there are whole pages which are empty (it may be that they have to be at the end of the cache). It is hard to tell from the above numbers if any of the caches could shrink, because it depends on the number

initialisation code

2001-03-21 Thread Manoj Sontakke
Hi I am trying to implement some QoS in kernel(in the IP layersimilar to TC. BTW TC works in the data-link layer). I am dequeuing the packets from the IP queue when the function ip_forward is called. After processing them, I am reinserting them back to the IP queue. I

Re: initialisation code

2001-03-21 Thread Keith Owens
On Wed, 21 Mar 2001 22:00:51 +0530 (IST), Manoj Sontakke [EMAIL PROTECTED] wrote: I have a initlisation function (just like pktsched_init in TC). Can anyone tell me, where in the kernel boot sequence should I make a call to my initialisation function. Welcome to the wonderful world of

[patch] pagecache SMP-scalability patch [was: spinlock usage]

2001-03-21 Thread Ingo Molnar
Anton, if you are doing SMP-intensive dbench runs, then check out the SMP pagecache-scalability patch (against 2.4.2-ac20): http://people.redhat.com/~mingo/smp-pagecache-patches/pagecache-2.4.2-H1 this patch splits up the main scalability offender in non-RAM-limited dbench runs, which is

Re: [patch] pagecache SMP-scalability patch [was: spinlock usage]

2001-03-21 Thread Anton Blanchard
Hi, http://people.redhat.com/~mingo/smp-pagecache-patches/pagecache-2.4.2-H1 this patch splits up the main scalability offender in non-RAM-limited dbench runs, which is pagecache_lock. The patch was designed and written by David Miller, and is being forward ported / maintained by me.

2.4.2 SIGTRAP mystery

2001-03-21 Thread max
Hi, in our workgroup we run simulation jobs that may take a few days at a time to complete. Since recently, after upgrading some boxen to 2.4.2, we have jobs flaking out with messages like Trace/Breakpoint trap without core dumps. Unfortunately this happens unpredictably but consistently

Re: [patch] pagecache SMP-scalability patch [was: spinlock usage]

2001-03-21 Thread Alexander Viro
On Wed, 21 Mar 2001, Ingo Molnar wrote: Anton, if you are doing SMP-intensive dbench runs, then check out the SMP pagecache-scalability patch (against 2.4.2-ac20): http://people.redhat.com/~mingo/smp-pagecache-patches/pagecache-2.4.2-H1 this patch splits up the main scalability

[PATCH] RFC: Network driver info to userspace

2001-03-21 Thread Jeff Garzik
In various scenarios where userland needs to interact with hardware, userland often needs to know exactly what driver (and driver version) is currently running on a given interface. Hotplugging and other applications could -really- use the ability to find out bus information for a given

strange problem with /dev/isdninfo

2001-03-21 Thread Joern Heissler
Hello! I'm new to the Mailinglist. I've got a strange problem with /dev/isdninfo: joern:~# cat /dev/isdninfo idmap: Hisax... chmap: 0 1 ... foo bar phone: ??? ??? ... -- cat /dev/isdninfo works :-) Here's the problem: joern:~# cat EOF cat2.c #include unistd.h #include fcntl.h int main(int

No power down with MVP3 chipset (VIA 82c586B)

2001-03-21 Thread Markus Gaugusch
[First posting, please don't eat me :-)] I'm using kernel 2.4.2 and have never been able to shutdown my machine by software. Neither 2.2.x nor 2.4.x, with and without Real Mode power off. Bios is broken, no acpi tables can be found: ACPI-0191: *** Warning: Invalid table signature found

Re: strange problem with /dev/isdninfo

2001-03-21 Thread Kai Germaschewski
On Wed, 21 Mar 2001, Joern Heissler wrote: I've got a strange problem with /dev/isdninfo: joern:~# cat /dev/isdninfo idmap: Hisax... chmap: 0 1 ... -- cat /dev/isdninfo works :-) Here's the problem: open("/dev/isdninfo", O_RDONLY) = 3 read(3, "", 200) = 0 Could someone please

Fwd: 3ware user group

2001-03-21 Thread Steven Haryanto
Sorry if this is off-topic, but I was hoping that the 3w- driver developer users could join to make this worthwhile. It was hard getting support for 3ware cards... Date: Wed, 21 Mar 2001 20:27:21 +0700 To: [EMAIL PROTECTED], [EMAIL PROTECTED] From: Steven Haryanto [EMAIL PROTECTED] Subject:

Re: VIA audio and parport in 2.4.2

2001-03-21 Thread Will Newton
On Tue, 20 Mar 2001, Jeff Garzik wrote: What are your parallel port settings in BIOS? AFAICR there is only an option for setting the I/O port. I'll check for anything else later (the machine in question is busy right now :). Do you have Plug-n-Play OS enabled in BIOS? Yes. I am not sure

Re: Only 10 MB/sec with via 82c686b chipset?

2001-03-21 Thread egger
On 20 Mar, SodaPop wrote: I have an IWill KK-266R motherboard with an athlon-c 1200 processor in it, and for the life of me I can't get more than 10 MB/sec through the on-board ide controller. Yes, all the appropriate support is turned on in the kernel to enable dma and specific chipset

Re: How to provoke kernel panic

2001-03-21 Thread Richard B. Johnson
On Wed, 21 Mar 2001, Antwerpen, Oliver wrote: Moin, Could someone kindly tell me how to provoke a kernel panic? I need to do so for testing some applications regarding system crash awareness. Olli - If you want a real crash, rather than an induced panic(), just: `cp /dev/zero

Re: [patch] pagecache SMP-scalability patch [was: spinlock usage]

2001-03-21 Thread Alexander Viro
On Wed, 21 Mar 2001, Ingo Molnar wrote: On Wed, 21 Mar 2001, Alexander Viro wrote: (about lstat(): IMO lstat() should not call into the lowlevel FS code.) a) revalidation on network filesystems b) just about anything layered would win from ability to replace the normal stat()

Re: [patch] pagecache SMP-scalability patch [was: spinlock usage]

2001-03-21 Thread Ingo Molnar
On Wed, 21 Mar 2001, Alexander Viro wrote: ??? checking 2.2.0 Nope, no calls into ext2/*. do_revalidate() seeing NULL -i_revalidate and doing nothing, lnamei() doing usual lookup, cp_old_stat() not touching fs code at all... the problem was that it was calling lock_kernel(), not the

Re: VIA audio and parport in 2.4.2

2001-03-21 Thread Jeff Garzik
Will Newton wrote: On Tue, 20 Mar 2001, Jeff Garzik wrote: I am not sure that I agree, however, that an "irq=none" on the kernel cmd line should affect the operation of the Via code. I would much rather fix the Via code as I suggest above. irq=none seems pretty unequivocal to me, I'm

RE: 2.4.2 freezes with bad ISOs in IDE cdroms

2001-03-21 Thread Giuliano Pochini
On 20-Mar-01 Olaf Hering wrote: Hi, this is a bogus bugreport. The 2.4.2 kernel freezes on some machines here when I try to access (or mount) a bad self burned ISO image, in this case the boot CD with the install system. There are different case: I have an iBook and a bluewhite

Re: Only 10 MB/sec with via 82c686b chipset?

2001-03-21 Thread Jonathan Morton
Duh, before making such a claim you should consider the fact that this is overclocking your PCI/AGP bus and I have yet to see any graphic cards/IDE controllers/other devices which are rated for 37MHz PCI bus speed. The "blue and white" PowerMac G3 and certain early PowerMac G4s used a 66MHz

mysterious card

2001-03-21 Thread Heusden, Folkert van
Hi, I have this mysterious 8 bit ISA card with nothing more then 2 smb-mounted ic's and a button. It seems to be something that should force a system memory dump. I think I can handle the code-writing, but since there's no documentation I have to find out how things are working. Ok, the question

Re: RE: 2.4.2 freezes with bad ISOs in IDE cdroms

2001-03-21 Thread Olaf Hering
On Wed, Mar 21, Giuliano Pochini wrote: This happens on my blue G3 with 2.2.x too. I think it's a bug in the IDE driver. My old 7300 (mesh) with a SCSI cd just reported a read error on the same disk. Yes, I got that also with 2.2.18 on the G4 with cmd646. Gruss Olaf -- $ man clone BUGS

Re: mysterious card

2001-03-21 Thread Markus Gaugusch
Ok, the question is: does anyone know a place on the web where I can find specifications of ISA-slots? I need to know what is supposed to be connected to the pins (1, 2, 6, etc.) try the hardware book (hwb) http://www.ntua.gr/electronics/hwb/menu_Connector.html --

Re: VIA audio and parport in 2.4.2

2001-03-21 Thread Tim Waugh
On Wed, Mar 21, 2001 at 09:19:35AM -0500, Jeff Garzik wrote: Attempting to pretend that the parallel port is not in an interrupt driven mode by passing irq=none is folly. No, that's not what it's for. It means 'for Christ sake don't use interrupts, I know what I'm doing'. If irq=none is

[OT] Re: mysterious card

2001-03-21 Thread Per Jessen
On Wed, 21 Mar 2001 15:24:59 +0100, Heusden, Folkert van wrote: Ok, the question is: does anyone know a place on the web where I can find specifications of ISA-slots? I need to know what is supposed to be connected to the pins (1, 2, 6, etc.) Are you talking about the the layout of the ISA-bus

Re: Linux 2.4.2 fails to merge mmap areas, 700% slowdown.

2001-03-21 Thread Mike Galbraith
On Wed, 21 Mar 2001, Matthias Urlichs wrote: I frequently build Mozilla from scratch on my (aging) dual Celeron machine. [...] real60m4.574s user101m18.260s -- impossible no? sys 3m23.520s Why do numbers like this show up? I noticed some of this

Bug-report: SCSI related hang doing INQUIRY (DC390 card, 2.4.x kernels)

2001-03-21 Thread Bradley Broom
Summary: My system freezes *completely* when doing an INQUIRY under 2.4.x kernels. SCSI card is a Tekram DC390. Only inquiries to the DISK device cause a hang, others succeed. System details: AMD K63-400MHz, 128 Mb RAM, 1 IDE drive, 1 SCSI controller (DC390) plus (output of cat

Re: Linux 2.4.2 fails to merge mmap areas, 700% slowdown.

2001-03-21 Thread Matthias Urlichs
I frequently build Mozilla from scratch on my (aging) dual Celeron machine. [...] real60m4.574s user101m18.260s -- impossible no? sys 3m23.520s Why do numbers like this show up? I noticed some of this after having enabled SMP on my UP box. Now why would

[PATCH] 2.4.3-pre6 - hdlc/dscc4 missing bits

2001-03-21 Thread Francois Romieu
- hdlc.c requires ARPHRD_CISCO (Cisco HDLC) to compile. This should* be ARPHRD_HDLC - the PCI_VENDOR/DEVICE_xxx for drivers/net/wan/dscc4.c haven't been included in the pci_ids db - drivers/net/wan/dscc4.c relies on ARPHRD_RAWHDLC (it's initialized as a transparent hdlc driver and I know no

ext2_unlink fun

2001-03-21 Thread Mohammad A. Haque
My machine locked hard last night for an unknown reason under 2.4.3-pre4. Rebooted and it did it's fsck thing. Got alot of errors about missing '..', fixed alot of things and moved some stuff to /lost+found. Some files got screwed up so I can't delete them. [mhaque@viper html-blah]$ rm -r

[PATCH] Re: [PATCH] 2.4.3-pre6 - hdlc/dscc4 missing bits

2001-03-21 Thread Jeff Garzik
You should use this patch instead, from Alan's tree, for updating include/linux/if_arp.h... -- Jeff Garzik | May you have warm words on a cold evening, Building 1024 | a full mooon on a dark night, MandrakeSoft | and a smooth road all the way to your door. Index:

Re: [PATCH for 2.5] preemptible kernel

2001-03-21 Thread Andrea Arcangeli
On Wed, Mar 21, 2001 at 08:19:54PM +1100, Keith Owens wrote: Ouch. What about all the per cpu structures in the kernel, how do you handle them if a preempted task can be rescheduled on another cpu? int count[NR_CPUS], *p; p = count+smp_processor_id(); /* start on cpu 0, count[0] */ if

SMP on assym. x86

2001-03-21 Thread Kurt Garloff
Hi, recently upgrading one of my two CPUs, I found kernel-2.4.2 to be unable to handle the situation with 2 different CPUs (AMP = Assymmetric multiprocessing ;-) correctly. Some details on my system: Dual BX board (DFI P2XBL/D), iPII 350 (Deschutes) + iPIII 850 (Coppermine) Note: The difference

Re: Linux 2.4.2 fails to merge mmap areas, 700% slowdown.

2001-03-21 Thread Kurt Garloff
On Wed, Mar 21, 2001 at 07:41:55AM +0100, Mike Galbraith wrote: On 20 Mar 2001, Kevin Buhr wrote: real60m4.574s user101m18.260s -- impossible no? sys 3m23.520s Why do numbers like this show up? I noticed some of this after having enabled SMP on my UP box. As

[PATCH] Re: [PATCH] Re: [PATCH] 2.4.3-pre6 - hdlc/dscc4 missing bits

2001-03-21 Thread Francois Romieu
Jeff Garzik [EMAIL PROTECTED] crit : You should use this patch instead, from Alan's tree, for updating include/linux/if_arp.h... It adds confusion: do you imagine the poor soul who discovers hdlc in Linux and sees ARPHRD_CISCO and ARPHRD_HDLC for the same use after some hours of code-greping

Re: UDMA 100 / PIIX4 question

2001-03-21 Thread Mike Dresser
[EMAIL PROTECTED] wrote: I decided to play around a little further. First, I deleted the "ide0=ata66" from lilo.conf and second I ran bonnie a lot more times. I found that after the deletion I occasionally (say one time in three or four), saw block reads a little over 3 KB/sec. I then

Re: SMP on assym. x86

2001-03-21 Thread Mark Hahn
recently upgrading one of my two CPUs, I found kernel-2.4.2 to be unable to handle the situation with 2 different CPUs (AMP = Assymmetric multiprocessing ;-) correctly. "correctly". Intel doesn't support this (mis)configuration: especially with different steppings, not to mention models.

Re: Linux 2.4.2 fails to merge mmap areas, 700% slowdown.

2001-03-21 Thread Mike Galbraith
On Wed, 21 Mar 2001, Kurt Garloff wrote: On Wed, Mar 21, 2001 at 07:41:55AM +0100, Mike Galbraith wrote: On 20 Mar 2001, Kevin Buhr wrote: real60m4.574s user101m18.260s -- impossible no? sys 3m23.520s Why do numbers like this show up? I noticed some of

Re: spinlock usage - ext2_get_block, lru_list_lock

2001-03-21 Thread Linus Torvalds
In article [EMAIL PROTECTED], Anton Blanchard [EMAIL PROTECTED] wrote: It was not surprising the BKL was one of the main offenders. Looking at the stats ext2_get_block was the bad guy (UTIL is % of time lock was busy for, WAIT is time spent waiting for lock): Actually, I find the BKL fairly

Re: Alert on LAN for Linux?

2001-03-21 Thread Alan Cox
things correctly they have enhanced Wake-on-LAN to allow you to do things like reset the machine, update the BIOS and such by sending magic packets which are interpreted by the network card. Or maybe I am Normally 'sending magic packets resets the machine' is considered a feature reported to

Re: [Linux-fbdev-devel] [RFC] fbdev power management

2001-03-21 Thread James Simmons
Ok, I see. Currently, the sleep process is started from an ioctl sent to another driver, which will in turn call various notifier functions to shut down bits of hardware and finally put the machine to sleep. It's not a direct ioctl to the /dev/fb (which may not be opened). [snip]... I need to

Re: [PATCH] Re: [PATCH] Re: [PATCH] 2.4.3-pre6 - hdlc/dscc4 missing bits

2001-03-21 Thread Jeff Garzik
Francois Romieu wrote: Jeff Garzik [EMAIL PROTECTED] crit : You should use this patch instead, from Alan's tree, for updating include/linux/if_arp.h... It adds confusion: do you imagine the poor soul who discovers hdlc in Linux and sees ARPHRD_CISCO and ARPHRD_HDLC for the same use

Re: spinlock usage - ext2_get_block, lru_list_lock

2001-03-21 Thread Alexander Viro
On 21 Mar 2001, Linus Torvalds wrote: The big case seems to be ext2_get_block(), we'll fix that early in 2.5.x. I think Al already has patches for it. Since the last August ;-) Bitmaps handling is a separate story (it got less testing) but with the -gfp_mask in tree it will be much simpler.

Re:standard_io_resources[]

2001-03-21 Thread James Simmons
Isn't that a job of the device drivers? Well most of those resources are present on every PC motherboard. In KGI we have our own keyboard driver which tries to allocate the kayboard I/O range for itself, and when it does io_check_region() it fails. What should I do? This will also be the case

Re: DPT Driver Status

2001-03-21 Thread Alan Cox
Does anyone have a working patch for the 2.2.18 kernel? What is the most stable version of the kernel for the use of the patch? Has the native i2o driver been updated to handle what the dpt card is doing? I tried, I never managed to get the board and our i2o driver to be happy. As far as

Interesting post from the MC project to linux-kernel. :block while spinlock held...

2001-03-21 Thread Ishikawa
Hi, I suppose that many SCSI maintainers do read the linux-kernel mailing list. However, just in case, I am quoting one of the very interesting postings that come from people at Stanford. They seem to be doing mechanical verification / checking of linux source code to hunt for potentical bugs. In

2.4.3-pre6 alpha pte/pmd_alloc update

2001-03-21 Thread Ivan Kokshaysky
Surprisingly, it works on lx164. :-) Ivan. On Mon, Mar 19, 2001 at 06:46:17PM -0800, Linus Torvalds wrote: This has only been tested on i386 without PAE, and is known to break other architectures. Ingo, mind checking what PAE needs? Generally, the changes are simple, and really only implies

Re: spinlock usage - ext2_get_block, lru_list_lock

2001-03-21 Thread James Lewis Nance
On Wed, Mar 21, 2001 at 12:16:47PM -0500, Alexander Viro wrote: Obext2: plug Guys, help with testing directories-in-pagecache patch. It works fine here and I would really like it to get serious beating. Patch is on ftp.math.psu.edu/pub/viro/ext2-dir-patch-b-S2.gz (against 2.4.2, but applies

Re: LDT allocated for cloned task!

2001-03-21 Thread Simon Kirby
On Tue, Mar 20, 2001 at 09:23:14AM -0800, Linus Torvalds wrote: It's harmless. It's really a warning that says: the mm that you allocated a new LDT for may have multiple users, and while the LDT is added to all of them, we don't guarantee _when_ the other users will actually see the LDT.

Re: [PATCH] 2.4.3-pre6 - hdlc/dscc4 missing bits

2001-03-21 Thread Krzysztof Halasa
Francois Romieu [EMAIL PROTECTED] writes: What about the following (2.5 ?): - dev-type = ARPHRD_HDLC; + dev-type = ARPHRD_CISCO; I'll replace ARPHRD_HDLC with ARPHRD_CISCO in the whole (AC) tree when 2.4.x kernel with '#define ARPHRD_CISCO' is out, leaving

Re: SMP on assym. x86

2001-03-21 Thread James Bottomley
recently upgrading one of my two CPUs, I found kernel-2.4.2 to be unable to handle the situation with 2 different CPUs (AMP =3D Assymmetric multiprocessing ;-) correctly. Some details on my system: Dual BX board (DFI P2XBL/D), iPII 350 (Deschutes) + iPIII 850 (Coppermine) Note: The

Re: UDMA 100 / PIIX4 question

2001-03-21 Thread Tim Moore
Device BootStart EndBlocks Id System /dev/hda1 * 1 932 7486258+ b Win95 FAT32 ... I also ran hdparm -tT /dev/hda1: Timing buffer-cache reads: 128 MB in 1.28 seconds =100.00 MB/sec Timing buffered disk reads: 64 MB in 4.35 seconds =

Re: mysterious card

2001-03-21 Thread Alan Olsen
On Wed, 21 Mar 2001, Heusden, Folkert van wrote: Hi, I have this mysterious 8 bit ISA card with nothing more then 2 smb-mounted ic's and a button. It seems to be something that should force a system memory dump. I think I can handle the code-writing, but since there's no documentation I

Re: ext2_unlink fun

2001-03-21 Thread Mohammad A. Haque
On Wed, 21 Mar 2001, Andreas Dilger wrote: It would be nice to determine _why_ you can't unlink these files. If it was just an issue of size 2GB, you should get EFBIG error or so. People have been reporting undeletable files several times now... Before you reformat, could you do some

Re: UDMA 100 / PIIX4 question

2001-03-21 Thread Tim Moore
Device BootStart EndBlocks Id System /dev/hda1 * 1 932 7486258+ b Win95 FAT32 Try changing to 'c' (fat32+LBA) and check BIOS settings (s/b AUTO or USER, and LBA). rgds, tim. -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: Question about memory usage in 2.4 vs 2.2

2001-03-21 Thread Jan Harkes
On Wed, Mar 21, 2001 at 11:42:08AM -0600, Josh Grebe wrote: This is what I'm afraid of, in my case we have millions of files that are dealt with in no real order, and if cache fragmentation will keep the memory from being freed, we're in for problems. This reading was taken with the machine

Re: How to mount /proc/sys/fs/binfmt_misc ?

2001-03-21 Thread Alan Cox
a) mount it on some real place. And write there to register entries instead of the bogus /proc/sys/fs/binfmt_misc b) add a couple of proc_mkdir() into fs/proc/root.c c) stick with the previous binfmt_misc in 2.4 and leave the filesystem with 2.5 Actually you would still need

max ip_conntrack entries

2001-03-21 Thread Roeland Th. Jansen
is there a way to dynamically change the limit : kernel: ip_conntrack: maximum limit of 16384 entries exceeded ? grepping in the documentation didn't tell much here. either a newssus scan or a weird ftp server I tried to connect to, caused the table to fill pretty fast and all other

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

2001-03-21 Thread Benjamin Chelf
Hi, I'm interested in one specific "bug" reported out of these 120 and no one seems to have responded about it yet. It reports the error on line 889 (drivers/scsi/sd.c), but line 825 also seems bad (memsetting the pointer that was allocated before checking for NULL). This piece of code seems

Re: Question about memory usage in 2.4 vs 2.2

2001-03-21 Thread Rik van Riel
On Wed, 21 Mar 2001, Jan Harkes wrote: I've been thinking about this a bit and one possible solution would be to significantly lower the cost of prune_icache by removing the sync_all_inodes and only let it prune inodes that do not have any mappings associated with them. Then it might become

Re: kswapd deadlock 2.4.3-pre6

2001-03-21 Thread Rik van Riel
On Wed, 21 Mar 2001, Mike Galbraith wrote: I have a repeatable deadlock when SMP is enabled on my UP box. Linus' version of do_anonymous_page() is racy too... I know the one in my patch is uglier, but at least it doesn't leak memory or lose data ;) regards, Rik -- Virtual memory is like a

Re: kswapd deadlock 2.4.3-pre6

2001-03-21 Thread Rik van Riel
On Wed, 21 Mar 2001, Rik van Riel wrote: On Wed, 21 Mar 2001, Mike Galbraith wrote: I have a repeatable deadlock when SMP is enabled on my UP box. Linus' version of do_anonymous_page() is racy too... Umm, forget that, I was reading too much code at once and missed a few lines ... ;) Rik

Re: Linux 2.4.2 fails to merge mmap areas, 700% slowdown.

2001-03-21 Thread Kevin Buhr
Mike Galbraith [EMAIL PROTECTED] writes: Yes. I'm so used to UP numbers I didn't think. I saw user larger than real on my UP box yesterday during some testing, and then seeing this post... oops. Okay, so you see "user real" on a UP box running an SMP kernel. First, I'm not really

Re: kswapd deadlock 2.4.3-pre6

2001-03-21 Thread Linus Torvalds
On Wed, 21 Mar 2001, Mike Galbraith wrote: I have a repeatable deadlock when SMP is enabled on my UP box. EIP; c021e29a stext_lock+1556/677b = When you see something like this, please do gdb vmlinux (gdb) x/10i 0xc021e29a and it will basically show you where the

Re: spinlock usage - ext2_get_block, lru_list_lock

2001-03-21 Thread Alexander Viro
On Wed, 21 Mar 2001, James Lewis Nance wrote: On Wed, Mar 21, 2001 at 12:16:47PM -0500, Alexander Viro wrote: Obext2: plug Guys, help with testing directories-in-pagecache patch. It works fine here and I would really like it to get serious beating. Patch is on

Re: Q: kapm-idled and CPU usage

2001-03-21 Thread Alan Cox
Several months ago, kapmd was renamed to kapm-idled in an attempt to signal users that it was a special process, and that its CPU time wasn't "real CPU time." This hasn't silenced the bug reports and confusion. And instrumenting the number of calls to the apm idle function I am not convinced

IGNORE - test

2001-03-21 Thread Drew Bertola
Boy, do I hate doing this. Haven't gotten a post in several days, haven't seen any updates on kernel.org since 3/12. What's up? -- Drew Bertola | Send a text message to my pager or cell ... | http://jpager.com/Drew - To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] Prevent OOM from killing init

2001-03-21 Thread Eli Carter
Patrick O'Rourke wrote: Since the system will panic if the init process is chosen by the OOM killer, the following patch prevents select_bad_process() from picking init. Pat --- xxx/linux-2.4.3-pre6/mm/oom_kill.c Tue Nov 14 13:56:46 2000 +++ linux-2.4.3-pre6/mm/oom_kill.c Wed

Re: gettimeofday question

2001-03-21 Thread Eli Carter
Eli Carter wrote: Eli Carter wrote: Russell King wrote: Eli Carter writes: What are you seeing that I'm missing? Ok, after sitting down and thinking again about this problem, its not the 9.ms case, but the 10.1 case: [snip] Like I say, this requires good

Re: ata100 controller question

2001-03-21 Thread davidge
On Mon, 19 Mar 2001, Chuck Campbell wrote: Looked at the config of the kernel and you'll see with cards/chipsets are supported for ata100. I'm using the Promise ATA100 and works great with ata100 disks and linux 2.4.x. I've searched the kernel Documentation directory (linux 2.4.x) and I

Re: kernel 2.4.2 network performances

2001-03-21 Thread Anders Peter Fugmann
Hi Jerome. As Mr. Hafting says, is seems that there is a softirq missing somewhere. If this is the case, it should help to make some add some systemcalls in your program, since a softirq should happen at every system-call exit. Try adding: getpid(); in the innermost loop, and see if

Question on binutils release to use

2001-03-21 Thread Anthony Barbachan
Hi all, I'm looking into upgrading my binutils to the latest stable release. I do kernel work so I'm guessing from previous experience that I have to get the Linux specific one. I tracked the linux specific versions down to ftp.kernel.org but am not certain as to which one is the latest

Re: VIA686A chipset crash under 2.4.2-ac20

2001-03-21 Thread Kirill Kozmin
Andre Hedrick wrote: Okay not to worry, I now have a my hands on a VIA 686B and will look at the changes that happened to the VIA686A Have you run 2.2.18 plus my patches off kernel.org? Ok, now its clear that I have a big troubles with hardware. I compiled kernel 2.2.18+IDE_patches with

Re: SMP on assym. x86

2001-03-21 Thread Alan Cox
handle the situation with 2 different CPUs (AMP = Assymmetric multiprocessing ;-) correctly. "correctly". Intel doesn't support this (mis)configuration: especially with different steppings, not to mention models. Actually for a lot of cases its quite legal. Alan has, or is working on,

Re: [PATCH] Prevent OOM from killing init

2001-03-21 Thread Patrick O'Rourke
Eli Carter wrote: Having not looked at the code... Why not "if( p-pid 1 )"? (Or can p-pid can be negative?!, um, typecast to unsigned...) I simply mirrored the check done in do_exit(): if (tsk-pid == 1) panic("Attempted to kill init!"); Since PID_MAX is 32768 I do

RE: [PATCH] Prevent OOM from killing init

2001-03-21 Thread Leif Sawyer
Patrick O'Rourke, who wrote: Since the system will panic if the init process is chosen by the OOM killer, the following patch prevents select_bad_process() from picking init. (Patch deleted) What happens when init is not pid == 1, as is often the case during installs, booting off of cdrom,

Re: [PATCH] Prevent OOM from killing init

2001-03-21 Thread Rik van Riel
On Wed, 21 Mar 2001, Patrick O'Rourke wrote: Since the system will panic if the init process is chosen by the OOM killer, the following patch prevents select_bad_process() from picking init. One question ... has the OOM killer ever selected init on anybody's system ? I think that the

Re: [PATCH for 2.5] preemptible kernel

2001-03-21 Thread David S. Miller
george anzinger writes: By the by, if a preemption lock is all that is needed the patch defines it and it is rather fast (an inc going in and a dec test comming out). A lot faster than a spin lock with its "LOCK" access. A preempt lock does not need to be "LOCK"ed because the only

2.4.3-pre6 build problems

2001-03-21 Thread Jack Howarth
Is anyone else seeing this build problem on linux 2.4.3-pre6? On linuxppc using out bitkeeper linuxppc_2_4 archive which has been updated to linux 2.4.3-pre6 I see the following failure... ld -T arch/ppc/vmlinux.lds -Ttext 0xc000 -Bstatic arch/ppc/kernel/hea t/main.o init/version.o \

hostid derived from...

2001-03-21 Thread kern
hi, how does linux provide the hostid string? on a sun box this is a guaranteed unique identifier, since AFAIK intel architecture does not have this unique identifier can two linux boxes end up with same hostid by chance? thanks in advance mark - To unsubscribe from this list: send the line

Re: Why I get no more linux-kernel traffic ?

2001-03-21 Thread Matti Aarnio
The POSSIBLE reasons are FAQ items at the LKML FAQ: http://www.tux.org/lkml/ Lately we have had bounces from lots of places, INCLUDING @home.com ! However in your case I see no such events. Everything seem to have worked just fine, until at circa 2:15 AM (EST) on 16th of

Re: [PATCH for 2.5] preemptible kernel

2001-03-21 Thread Nigel Gamble
On Wed, 21 Mar 2001, Andrew Morton wrote: It's a problem for uniprocessors as well. Example: #define current_cpu_data boot_cpu_data #define pgd_quicklist (current_cpu_data.pgd_quick) extern __inline__ void free_pgd_fast(pgd_t *pgd) { *(unsigned long *)pgd = (unsigned long)

Re: [PATCH] Prevent OOM from killing init

2001-03-21 Thread Kevin Buhr
Leif Sawyer [EMAIL PROTECTED] writes: What happens when init is not pid == 1, as is often the case during installs, booting off of cdrom, etc.. Well, after spending hours scrutinizing Patrick's one-line patch, I'll guess that, in these cases, the patch does not prevent init from being killed

Re: hostid derived from...

2001-03-21 Thread Alan Cox
how does linux provide the hostid string? Its up to the C library on a sun box this is a guaranteed unique identifier, since AFAIK intel architecture does not have this unique identifier can two linux boxes end up with same hostid by chance? Easily. hostid is generally only useful to

  1   2   3   >