Re: #define HZ 1024 -- negative effects?

2001-04-27 Thread Mike Galbraith
On Fri, 27 Apr 2001, Nigel Gamble wrote: > On Fri, 27 Apr 2001, Mike Galbraith wrote: > > On Fri, 27 Apr 2001, Nigel Gamble wrote: > > > > What about SCHED_YIELD and allocating during vm stress times? > > > > snip > > > > > A well-written GUI should not be using SCHED_YIELD. If it is > > > > I

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-27 Thread Albert D. Cahalan
Linus Torvalds writes: > The buffer cache is "virtual" in the sense that /dev/hda is a > completely separate name-space from /dev/hda1, even if there > is some physical overlap. So the aliasing problems and elevator algorithm confusion remain? Is this ever likely to change, and what is with the

Re: Kernel Oops when using the Netfilter QUEUE target

2001-04-27 Thread Rusty Russell
In message <[EMAIL PROTECTED]> you write: > On Wed, Apr 25, 2001 at 04:24:46PM +1000, James Morris wrote: > > Please try the patch below. > > So i did and it seems to work just fine (= no more oops') under 2.4.3/2.4.2-a James, I only glanced at the patch, but IIRC it just did route_me_harder()

[patch] 2.4.4-pre8 mm/Makefile

2001-04-27 Thread Keith Owens
Fix for "__VERSIONED_SYMBOL(shmem_file_setup)". Against 2.4.4-pre8. Index: 4-pre8.2/mm/Makefile --- 4-pre8.2/mm/Makefile Fri, 05 Jan 2001 13:42:29 +1100 kaos (linux-2.4/j/19_Makefile 1.1 644) +++ 4-pre8.2(w)/mm/Makefile Sat, 28 Apr 2001 14:10:59 +1000 kaos +(linux-2.4/j/19_Makefile 1.1 644)

Oopses under 2.4.4pre8 with Tbird 1.2GHz/Epox 8kta3

2001-04-27 Thread Lawrence Gold
Hi, About a week ago, I bought an AMD Thunderbird 1.2GHz CPU with a 266MHz frontside bus, along with an Epox 8KTA3 motherboard. If I boot into 2.2.18pre2, which was the version on the old hard drive I'm using for testing, everything runs just fine. However, if I boot into a 2.4.x kernel,

Re: kernel panic with 2.4.x and reiserfs

2001-04-27 Thread david
To your complaint, I have to add my kudos. I frequently run into crashes and I have only had reiserfs filesystem that I had to rebuild in well over a year of using it on half a dozen workstations. I use 2.4 exclusively and have often had "premature restarts". David Tony Hoyle wrote: >

Atrocious icache/dcache in 2.4.2

2001-04-27 Thread Ed Tomlinson
Hi, Here is a patch that prunes unused, clean inodes from the icache faster. I have previously checked out cleaning the unused dirty icache entries from the the same place in kswapd but did not find it to be much a win. This code does the following. It factors prune_icache to use,

amd 760 supported?

2001-04-27 Thread The_Beast
Hi, is the amd 760 chipset supporte by the new 2.4 kernels, and dpt controllers from adaptec? thanks - 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

Re: [PATCH] cleanup for fixing get_super() races

2001-04-27 Thread Alexander Viro
On Fri, 27 Apr 2001, Linus Torvalds wrote: > > On Fri, 27 Apr 2001, Alexander Viro wrote: > > > > PS: last time I've separated that part of patch was a couple months > > ago. See if something similar to the variant below would be OK with > > you (I'll rediff it): > > This one looks fine.

Re: [PATCH] cleanup for fixing get_super() races

2001-04-27 Thread Alexander Viro
On Fri, 27 Apr 2001, Linus Torvalds wrote: > > On Fri, 27 Apr 2001, Alexander Viro wrote: > > > > Fine with me. Actually in _all_ cases execept cdrom.c it's preceded by > > either sync_dev() or fsync_dev(). What do you think about pulling that > > into the same function? > > I'd actually

Re: [PATCH] cleanup for fixing get_super() races

2001-04-27 Thread Linus Torvalds
On Fri, 27 Apr 2001, Alexander Viro wrote: > > PS: last time I've separated that part of patch was a couple months > ago. See if something similar to the variant below would be OK with > you (I'll rediff it): This one looks fine. Linus - To unsubscribe from this list: send

Re: [PATCH] cleanup for fixing get_super() races

2001-04-27 Thread Linus Torvalds
On Fri, 27 Apr 2001, Alexander Viro wrote: > > Fine with me. Actually in _all_ cases execept cdrom.c it's preceded by > either sync_dev() or fsync_dev(). What do you think about pulling that > into the same function? I'd actually prefer not. I don't think it makes sense from a conceptual

Re: [PATCH] cleanup for fixing get_super() races

2001-04-27 Thread Alexander Viro
On Fri, 27 Apr 2001, Alexander Viro wrote: > Fine with me. Actually in _all_ cases execept cdrom.c it's preceded by > either sync_dev() or fsync_dev(). What do you think about pulling that > into the same function? Actually, that's what I've done in namespace > patch (name being

Re: [PATCH] cleanup for fixing get_super() races

2001-04-27 Thread Alexander Viro
On Fri, 27 Apr 2001, Linus Torvalds wrote: > On Fri, 27 Apr 2001, Alexander Viro wrote: > > > > Each of these places is an oopsable race with umount. We can't fix them > > without touching a lot of drivers. However, we can make the future fix > > easier if we put the above into a helper

Re: [PATCH] cleanup for fixing get_super() races

2001-04-27 Thread Linus Torvalds
On Fri, 27 Apr 2001, Alexander Viro wrote: > > Each of these places is an oopsable race with umount. We can't fix them > without touching a lot of drivers. However, we can make the future fix > easier if we put the above into a helper function. Patch below does that. I don't like the name

Re: X15 alpha release: as fast as TUX but in user space

2001-04-27 Thread Fabio Riccardi
In both cases (X15 and TUX) the CPU utilization is 100% There are no IO bottlenecks on disk or on the net side. I think that the major bottleneck is the speed of RAM and the PCI bus, wait cycles. We are basically going at the speed of the hardware. - Fabio "David S. Miller" wrote: > Fabio

Re: X15 alpha release: as fast as TUX but in user space

2001-04-27 Thread David S. Miller
Fabio Riccardi writes: > On my Dell 4400 with 2G of RAM and 2 933MHz PIII and NetGear 2Gbit NICs > I achieve about 2500 SpecWeb99 connections, with both X15 and > TUX (actually X15 is sligtly faster, some 20 connections more... ;) What is the CPU utilization like in X15 vs. TUX during these

[PATCH] cleanup for fixing get_super() races

2001-04-27 Thread Alexander Viro
A lot of drivers does the following: sb = get_super(dev); if (sb) invalidate_inodes(sb); Each of these places is an oopsable race with umount. We can't fix them without touching a lot of drivers. However, we can make the future fix easier if we put the above into a

Re: 2.2.19 and ide.2.2.19.04092001.patch error

2001-04-27 Thread Douglas J. Hunley
On Friday 27 April 2001 20:21, Mark Hahn babbled: > > Kernel config is attached. So is a description of my computer. Anyone got > > any ideas? > > your disk has bad errors. why do you think software changes will help? I know the disk has errors. Hence I run fsck. This is a brand new drive. I

Re: X15 alpha release: as fast as TUX but in user space

2001-04-27 Thread Aaron Lehmann
On Fri, Apr 27, 2001 at 05:18:26PM -0700, Fabio Riccardi wrote: > You can download X15 Alpha 1 from here: > http://www.chromium.com/X15-Alpha-1.tgz Where's the source? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

Re: Resetting a PCI device

2001-04-27 Thread Tim Wright
Not generally. Systems that support hot-plug PCI also have the ability to reset individual PCI slots (ISTR that it's a requirement). Sadly, this facility is not generally available on "normal" systems. Tim On Fri, Apr 27, 2001 at 10:52:20AM +0100, [EMAIL PROTECTED] wrote: > Is there any way of

Question regarding kernel threads and userlevel

2001-04-27 Thread Steffen Persvold
Hi linux-kernel, I have a question regarding kernel threads : Are kernel threads treated equally in terms of scheduling as normal userlevel processes ?? In my test case I have a driver for a PCI card from which I want to control access to it's memory (prefetchable PCI space). Userlevel

X15 alpha release: as fast as TUX but in user space

2001-04-27 Thread Fabio Riccardi
Dear All, I'd like to announce the first release of X15 Alpha 1, a _user space_ web server that is as fast as TUX. On my Dell 4400 with 2G of RAM and 2 933MHz PIII and NetGear 2Gbit NICs I achieve about 2500 SpecWeb99 connections, with both X15 and TUX (actually X15 is sligtly faster, some 20

[PATCH] hpt366.c, *bad_ata66_4 additions (2.2.19 + ide.2.2.19.04092001.patch)

2001-04-27 Thread Tim Moore
(2.2.19 + ide.2.2.19.04092001.patch) --- drivers/block/hpt366.c Fri Apr 20 14:23:54 2001 +++ drivers/block/hpt366.new.c Fri Apr 27 16:30:13 2001 @@ -56,8 +56,11 @@ const char *bad_ata66_4[] = { "IBM-DTLA-307075", + "IBM-DTLA-307060", "IBM-DTLA-307045",

2.2.19 and ide.2.2.19.04092001.patch error

2001-04-27 Thread Douglas J. Hunley
While trying to use this patch to access /dev/hde1 on my Promise controller, I get the following errors: dma_intr: status=0x51 { DriveReady SeekComplete Error } dma_intr: error=0x40 { UncorrectableError }, LBAsect=21233782, sector=21233712 This fs has errors on it, and trying to run fsck on it

Re: 2.4.4-pre7 build failure w/ IP NAT and ipchains

2001-04-27 Thread David S. Miller
Kai Germaschewski writes: > If you get this mail, it works okay :-) (Just using a simple > masquerading setup here) Cool, I've sent this fix off to Rusty and Linus already. Later, David S. Miller [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: 2.4.4-pre7 build failure w/ IP NAT and ipchains

2001-04-27 Thread Kai Germaschewski
On Fri, 27 Apr 2001, David S. Miller wrote: > Kai, can you try this patch out? I think it does the right > thing. What I'm mostly interested in is if your ipchains > setup works for the resulting kernel, I've already checked > that it links properly. :-) If you get this mail, it works okay

Re: [patch] linux likes to kill bad inodes

2001-04-27 Thread Andreas Dilger
I previously wrote: > I will post a patch separately which handles a couple of cases where > *_delete_inode() does not call clear_inode() in all cases. OK, here it is. The ext2_delete_inode() change isn't exactly a bug fix, but rather a "performance" change. No need to hold BLK to check status

CML2 1.3.1, aka "I stick my neck out a mile..."

2001-04-27 Thread Eric S. Raymond
Release 1.3.1: Fri Apr 27 19:02:31 EDT 2001 * kxref.py can now replace the unmaintained checkhelp.pl, checkconfig.pl, and checkincludes.pl scripts. I'm going to stick my neck out a mile and say that I think this is a stable release. Doing so, of course, is in reality a

Latest linux security module patch against 2.4.3

2001-04-27 Thread Greg KH
The latest version of the linux security module patch is available at: http://lsm.immunix.org/patches/lsm-2001_04_27-2.4.3.patch.gz Changes in this version include: - typo and null pointer dereference fixes from Seth Arnold - changed the extra version of the kernel to

Re: #define HZ 1024 -- negative effects?

2001-04-27 Thread Nigel Gamble
On Fri, 27 Apr 2001, Mike Galbraith wrote: > On Fri, 27 Apr 2001, Nigel Gamble wrote: > > > What about SCHED_YIELD and allocating during vm stress times? > > snip > > > A well-written GUI should not be using SCHED_YIELD. If it is > > I was refering to the gui (or other tasks) allocating

IDE reset and DMA disabled after CD read error

2001-04-27 Thread Tobias Ringstrom
When reading a bad CD, Linux 2.4.4-pre5 decided to turn off DMA when trying to read a bad sector. It also decided to reset the drive. Is that the expected behaviour? I'm certanly not an ATAPI expert, but it does seem a bit drastic to me. The drive is in UDMA33 mode on a VIA vt82c686a, with no

Re: 2.4.4-pre7 build failure w/ IP NAT and ipchains

2001-04-27 Thread David S. Miller
Kai, can you try this patch out? I think it does the right thing. What I'm mostly interested in is if your ipchains setup works for the resulting kernel, I've already checked that it links properly. :-) --- net/ipv4/netfilter/Makefile.~1~ Thu Apr 26 23:30:39 2001 +++

Re: 2.4 and 2GB swap partition limit

2001-04-27 Thread LA Walsh
Rik van Riel wrote: > On Fri, 27 Apr 2001, LA Walsh wrote: > > > An interesting option (though with less-than-stellar performance > > characteristics) would be a dynamically expanding swapfile. If you're > > going to be hit with swap penalties, it may be useful to not have to > >

Re: 2.4 and 2GB swap partition limit

2001-04-27 Thread Hugh Dickins
On Fri, 27 Apr 2001, Rik van Riel wrote: > On Fri, 27 Apr 2001, LA Walsh wrote: > > > An interesting option (though with less-than-stellar performance > > characteristics) would be a dynamically expanding swapfile. If you're > > going to be hit with swap penalties, it may be useful to not

Re: 2.4 and 2GB swap partition limit

2001-04-27 Thread Rik van Riel
On Fri, 27 Apr 2001, Hugh Dickins wrote: > On Fri, 27 Apr 2001, Rik van Riel wrote: > > On Fri, 27 Apr 2001, LA Walsh wrote: > > > > > An interesting option (though with less-than-stellar performance > > > characteristics) would be a dynamically expanding swapfile. If you're > > > going to

Re: Seagate ST340824A and (un)clipping max LBA: 2.2.19+ide04092001 patch

2001-04-27 Thread Andries . Brouwer
From: Alexander Stavitsky <[EMAIL PROTECTED]> Disk capacity unclipping routines in ide.2.2.19.04092001.patch do not unclip Seagate ST340824A. I have to use the jumper on the drive to make system boot. I tried "setmax" program and it is able to unclip the capacity, kernel

Re: 2.4 and 2GB swap partition limit

2001-04-27 Thread Wakko Warner
> I've always been trying to convice people that 2x RAM remains a good > rule-of-thumb. IMO this is pointless total used free sharedbuffers cached Mem:517456 505332 12124 111016 97752 236884 -/+ buffers/cache: 170696

Re: [patch] linux likes to kill bad inodes

2001-04-27 Thread Linus Torvalds
On Fri, 27 Apr 2001, Andreas Dilger wrote: > > However, since make_bad_inode() only changes the file methods and not > the superblock Please just make "make_bad_inode()" just do inode->i_sb = bad_super_block; and do everything else too. It's not acceptable to make low-level

Re: [patch] linux likes to kill bad inodes

2001-04-27 Thread Andreas Dilger
Pavel writes: > [I'd really like to get patch it; killing user's data without good > reason seems evil to me, and this did quite a lot of damage to my > $HOME.] > > Pavel > PS: Only filesystem at use at time of problem was ext2, and

Re: 2.4 and 2GB swap partition limit

2001-04-27 Thread Thomas Dodd
Rik van Riel wrote: > > On Fri, 27 Apr 2001, LA Walsh wrote: > > > An interesting option (though with less-than-stellar performance > > characteristics) would be a dynamically expanding swapfile. If you're > > going to be hit with swap penalties, it may be useful to not have to > >

Re: 2.4 and 2GB swap partition limit

2001-04-27 Thread Rik van Riel
On Fri, 27 Apr 2001, LA Walsh wrote: > An interesting option (though with less-than-stellar performance > characteristics) would be a dynamically expanding swapfile. If you're > going to be hit with swap penalties, it may be useful to not have to > pre-reserve something you only hit once in

Re: looking for books

2001-04-27 Thread David =?ISO-8859-1?Q?G=F3mez
On Fri, 27 Apr 2001, Xiong Zhao wrote: > hello.currently,i need to know the details about linux kernel,things > like how fork and pthread are implemented,how clone actually work and > so on.where can i get materials on these topics? > thanx Take a look on the new book from O'Reilly,

Re: 2.4.4-pre7 build failure w/ IP NAT and ipchains

2001-04-27 Thread David S. Miller
Kai Germaschewski writes: > Anyway, the appended patch fixed the problem for me, vmlinux links okay > now - didn't try if it works, though. This may work, but it is evidently the wrong change. The helpers list desired by net/ipv4/netfilter/ip_nat_*.c is in net/ipv4/netfilter/ip_nat_helper.c

Re: init process in 2.2.19

2001-04-27 Thread Subba Rao
On 0, Jesse Pollard <[EMAIL PROTECTED]> wrote: > Subba Rao <[EMAIL PROTECTED]>: > > I am trying to add a process which is to be managed by init. I have added the > > following entry to /etc/inittab > > > > SV:2345:respawn:env - PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin svscan /service >

i2o_block struct gendisk misinitialization (2.4.3)

2001-04-27 Thread Alvaro Lopes
Hi i2o_block is not properly initializing its gendisk structure (i2o_gendisk) and someone forgot to link it to the gendisk linked list, causing i2o hard drives and partitions not to show in /proc/partitions (debian installer relies on this to find fdisk'able drives). I attached a simple patch

Re: 2.4 and 2GB swap partition limit

2001-04-27 Thread LA Walsh
Rogier Wolff wrote: > > > On Linux any swap adds to the memory pool, so 1xRAM would be > > > equivalent to 2xRAM with the old old OS's. > > > > no more true AFAIK > > I've always been trying to convice people that 2x RAM remains a good > rule-of-thumb. --- Ug. I like to view swap as "low

ReiserFS oops/panic/uninterruptable sleeps in -ac

2001-04-27 Thread Ian Gulliver
I have an SMP PenIII that had been running 2.4.1-ac18 for 65 days. Its /home partition was a newly created (first used on that kernel) ResierFS 3.6.x partition. For no obvious reason, two days ago, processes started going into uninterruptable sleeps, reportedly in "down" in the kernel. We

Re: #define HZ 1024 -- negative effects?

2001-04-27 Thread Mike Galbraith
On Fri, 27 Apr 2001, Nigel Gamble wrote: > > What about SCHED_YIELD and allocating during vm stress times? snip > A well-written GUI should not be using SCHED_YIELD. If it is I was refering to the gui (or other tasks) allocating memory during vm stress periods, and running into the yield in

Re: [PATCH] Single user linux

2001-04-27 Thread Jim Gettys
Not to mention fold up keyboard, IBM microdrive, etc. So you can run the ARM Debian distro either via NFS (with the problems that entails), or even locally on a microdrive (or I suppose you could also play with an IDE or SCSI controller if you were really insane). On the kernel software side,

2.4.4-pre8 undefined symbols

2001-04-27 Thread Ed Tomlinson
Hi The following patch adpated from the fix in the ac series, fixes the undefined symbols in the various drm modules in pre7/8. - --- linux/lib/rwsem.c.orig Fri Apr 27 13:24:48 2001 +++ linux/lib/rwsem.c Fri Apr 27 13:25:08 2001 @@ -6,6 +6,7 @@ #include #include #include

Re: Atrocious icache/dcache in 2.4.2

2001-04-27 Thread Alexander Viro
On Fri, 27 Apr 2001, Pete Zaitcev wrote: > Hello: > > My box here slows down dramatically after a while, and starts > behaving as if it has very little memory, e.g. programs page > each other out. It turns out that out of 40MB total, about > 35MB is used for dcache and icache, and system

[PATCH] rw_semaphores, exported symbol non-versioning

2001-04-27 Thread D . W . Howells
This patch (made against linux-2.4.4-pre8) turns off module export versioning on the rwsem symbols called from inline assembly. David diff -uNr linux-2.4.4-pre8/lib/rwsem.c linux-rwsem/lib/rwsem.c --- linux-2.4.4-pre8/lib/rwsem.cFri Apr 27 20:10:11 2001 +++ linux-rwsem/lib/rwsem.c

sched.h problem with kernel 2.4.3

2001-04-27 Thread Shaw Carruthers
I have just tried to upgrade to kernel 2.4.3 and my home grown modules won't compile e.g: The offending line 27 is: #include Could some kind kernel guru point to a source which explains the error of my ways? In file included from lm78.c:13: /usr/src/linux/include/linux/kernel.h:71: parse

Re: #define HZ 1024 -- negative effects?

2001-04-27 Thread Nigel Gamble
On Fri, 27 Apr 2001, Mike Galbraith wrote: > > Rubbish. Whenever a higher-priority thread than the current > > thread becomes runnable the current thread will get preempted, > > regardless of whether its timeslices is over or not. > > What about SCHED_YIELD and allocating during vm stress

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-27 Thread Shane Wegner
On Fri, Apr 27, 2001 at 09:52:19AM -0700, Linus Torvalds wrote: > > On Fri, 27 Apr 2001, Vojtech Pavlik wrote: > > > > Actually this is done quite often, even on mounted fs's: > > > > hdparm -t /dev/hda > > Note that this one happens to be ok. > > The buffer cache is "virtual" in the sense

Re: [PATCH] allow PF_MEMALLOC tasks to directly reclaim pages

2001-04-27 Thread Mark Hemment
Marcelo, Infact, the test can be made even weaker than that. We only what to avoid the inactive-clean list when allocating from within an interrupt (or from a bottom-half handler) to avoid deadlock on taking the pagecache_lock and pagemap_lru_lock. Note: no allocations are done while

Re: Atrocious icache/dcache in 2.4.2

2001-04-27 Thread Christoph Hellwig
Hi Pete, In article <[EMAIL PROTECTED]> you wrote: > After a little thinking it seems apparent to me that it > may be a good thing to have VM taking pages from dentry and > inode pools directly. This sounds almost what slab does, > so let me speculate about it (it is a bad idea, but it is >

Re: binfmt_misc on 2.4.3-ac14

2001-04-27 Thread Thomas Dodd
[EMAIL PROTECTED] wrote: > > <[EMAIL PROTECTED]> wrote: > >is it going to become the default in future kernel releases? > It's been that way in the -ac kernels for a while now, but Linus hasn't put it > into his kernels yet. Perhaps he's waiting until work begins on 2.5, rather > than break an

Re: [OT] linux on pda was Re: [PATCH] Single user linux

2001-04-27 Thread Erik Mouw
On Fri, Apr 27, 2001 at 07:42:25AM -0500, Collectively Unconscious wrote: > Also it seems to me last I checked PDA's were at least equvalent to the > 386 which is ostensibly the bottom linux rung. Check out the Compaq iPaq 3600 series. > As for the objection about slow compile times, get real.

Atrocious icache/dcache in 2.4.2

2001-04-27 Thread Pete Zaitcev
Hello: My box here slows down dramatically after a while, and starts behaving as if it has very little memory, e.g. programs page each other out. It turns out that out of 40MB total, about 35MB is used for dcache and icache, and system basically runs in 5MB of RAM. When I tried to discuss it

Re: [PATCH] Single user linux

2001-04-27 Thread Erik Mouw
On Thu, Apr 26, 2001 at 09:41:13PM +0200, Pavel Machek wrote: > > When I first started I compiled my linux kernels on a 386 dx with 8 mb ram > > heh. I think a lot of the current PDAs are faster. > > My pocket computer is 40MHz mips r3902, likely faster than your > 386dx. That's 3 years old.

Re: [linux-usb-devel] Repeatable lockup on SMP w/usbprocfs

2001-04-27 Thread volodya
On Thu, 29 Mar 2001, johan verrept wrote: > Tony Hoyle wrote: > > > > If an application calls the USBDEVFS_SUBMITURB ioctl to submit a read, > > when the async completion routine is called, the kernel goes into a hard > > deadlock (no response to ping, etc.). I've narrowed it down to the > >

Re: [patch] swap-speedup-2.4.3-B3 (fwd)

2001-04-27 Thread Rik van Riel
On Fri, 27 Apr 2001, Mike Galbraith wrote: > virgin pre7 +Rik > real11m44.088s > user7m57.720s > sys 0m36.420s > None of them make much difference. Good, then I suppose we can put in the cleanup from my code, since it makes the balancing a bit more predictable and should keep the

Re: ramdisk/tmpfs/ramfs/memfs ?

2001-04-27 Thread mirabilos
> > btw I get my initial root filesystem from a compact flash that can be > > accessed just like a hardisk. It's writeable also like a harddisk, but > > we boot with it readonly, and only mount it rw if we want to save > > config or whatever. We definitely wouldn't swap to it as it has > >

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-27 Thread dek_ml
On Fri, Apr 27, 2001 at 11:02:17AM -0700, LA Walsh wrote: > Andrzej Krzysztofowicz wrote: > > > I know a few people that often do: > > > > dd if=/dev/hda1 of=/dev/hdc1 > > e2fsck /dev/hdc1 > > > > to make an "exact" copy of a currently working system. > > --- > Presumably this isn't a

Re: 2.4.4-pre7 build failure w/ IP NAT and ipchains

2001-04-27 Thread Kai Germaschewski
On Fri, 27 Apr 2001, David S. Miller wrote: >> net/network.o: In function `ip_nat_setup_info': >> net/network.o(.text+0x37b3e): undefined reference to `helpers' >> net/network.o(.text+0x37b54): undefined reference to `helpers' > > Your configuration seems impossible, somehow the config system

preset performance options in make config

2001-04-27 Thread Dan Mann
I was wondering if having a make config option with 3 or 4 choices for general performance settings would be an option for the kernel? Like maybe the first question would read something like: Configure Preset Performance Options? (Y/N) Y Configure as Database Server (Y/N) N

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-27 Thread LA Walsh
Andrzej Krzysztofowicz wrote: > I know a few people that often do: > > dd if=/dev/hda1 of=/dev/hdc1 > e2fsck /dev/hdc1 > > to make an "exact" copy of a currently working system. --- Presumably this isn't a problem is the source disks are either unmounted or mounted 'read-only' ? -- The

Re: Cardbus conflicts...

2001-04-27 Thread Jeff Garzik
Evan Montgomery-Recht wrote: > > About 2 years ago, I bought a IBM 600E laptop with one > of the IBM branded Xircom CardBUS cards. It took me > about a month (with the help of a lot of people with > simular machines) to figure out why the card would be > recognized, and even connect to the

Re: 2.4.4-pre7 build failure w/ IP NAT and ipchains

2001-04-27 Thread Andrzej Krzysztofowicz
"Matthias Andree wrote:" > On Fri, 27 Apr 2001, David S. Miller wrote: > > Your configuration seems impossible, somehow the config system allowed > > you to set CONFIG_IP_NF_COMPAT_IPCHAINS without setting > > CONFIG_IP_NF_CONNTRACK. Just quick look at net/ipv4/netfilter/Config.in explains

Re: [patch] swap-speedup-2.4.3-B3 (fwd)

2001-04-27 Thread Mike Galbraith
On Thu, 26 Apr 2001, Linus Torvalds wrote: > Have you looked at "free_pte()"? I don't like that function, and it might > make a difference. There are several small nits with it: snip > I _think_ the logic should be something along the lines of: "freeing the > page amounts to a implied

ide.2.2.19.04092001.patch + VIA82CXXX (Abit VP6)

2001-04-27 Thread William Park
I have Abit VP6 (VIA 82c694x, 82c686b) running 2.2.19 and ide.2.2.19.04092001.patch. When I enable VIA82CXXX chipset support (EXPERIMENTAL) -- CONFIG_BLK_DEV_VIA82CXXX my machine hangs, Uniform Multi-Platform E-IDE driver Revision: 6.30 ide: Assuming 33MHz system bus speed for PIO

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-27 Thread Jeff Garzik
Linus Torvalds wrote: > On Fri, 27 Apr 2001, Neil Conway wrote: > > > > I'm surprised that dump is deprecated (by you at least ;-)). What to > > use instead for backups on machines that can't umount disks regularly? > > Note that dump simply won't work reliably at all even in 2.4.x: the buffer

Negative values of cat /proc/sys/fs/inode-nr

2001-04-27 Thread Ingo Oeser
Hi Alan, Hi linux-kernel, I just saw, that cat /proc/sys/fs/inode-nr gives negative values for the second part. 559 -211555 or 174805 -3 I'm using 2.4.3-ac13. I see this both on SMP and non-SMP, HIGHMEM and non-HIGHMEM, if that matters. The first value for the second example

Re: HPT366 IDE DMA error question.

2001-04-27 Thread Tim Hockin
Mike Panetta wrote: > hdi: timeout waiting for DMA > ide_dmaproc: chipset supported ide_dma_timeout func only: 14 > hdi: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest } > hdi: DMA disabled > ide4: reset: success > > I get this message on all my off board HPT366 based controller

Re: ramdisk/tmpfs/ramfs/memfs ?

2001-04-27 Thread David L. Parsley
David Woodhouse wrote: > Why copy it into RAM? Why not use cramfs and either turn the writable > directories into symlinks into a ramfs which you create at boot time, or > union-mount a ramfs over the top of it? ^^^ I didn't think we had union-mounting support... does it exist and

Re: ramdisk/tmpfs/ramfs/memfs ?

2001-04-27 Thread Xavier Bestel
Le 27 Apr 2001 18:53:07 +0100, Padraig Brady a écrit : > How much more efficent is JFFS than say ext3+e3compr, wrt: > logic size/logic speed/RAM requirements/filesystem structure size. JFFS doesn't have to use the FTL layer between its block device and the flash - that's a lot already ! Xav -

Re: FD in Kernel 2.4.x

2001-04-27 Thread Federico Edelman Anaya
# ./dklimits 1 Can open 1020 AF_LOCAL sockets with socketpair Can open 0 AF_INET sockets with socketpair Can open 1021 fds Can open 1021 files Can poll 1025 sockets Can bind 1021 ephemeral ports Dan Kegel wrote: > Federico Edelman Anaya wrote: > > > > Yeah .. I put in /etc/sysctl.conf > >

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-27 Thread Martin Dalecki
Linus Torvalds wrote: > Dump was a stupid program in the first place. Leave it behind. Not quite Linus - dump/restore are nice tools to create for example automatic over network installation servers, i.e. efficient system images or such. tar/cpio and friends don't deal properly with a. holes

Seagate ST340824A and (un)clipping max LBA: 2.2.19+ide04092001 patch

2001-04-27 Thread Alexander Stavitsky
Disk capacity unclipping routines in ide.2.2.19.04092001.patch do not unclip Seagate ST340824A. I have to use the jumper on the drive to make system boot. I tried "setmax" program and it is able to unclip the capacity, kernel however does not. I digged a little and I think the problem is that

Re: Lid support for ACPI

2001-04-27 Thread Michael K. Johnson
>PS: This seems very strange. What if machine is so crashed so that it >can no longer shutdown properly. Will that mean that its CPU will >damage itself? No, the ACPI standard requires CPUs to shut themselves down before any damage would occur from overheading. Well, at least the 1.0b version

Re: FD in Kernel 2.4.x

2001-04-27 Thread Dan Kegel
> How can I increase the FD in the Kernel 2.4.3? echo 32768 > /proc/sys/fs/file-max See also http://www.kegel.com/c10k.html#limits.filehandles - Dan - 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: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-27 Thread Linus Torvalds
[ linux-kernel added back as a cc ] On Fri, 27 Apr 2001, Neil Conway wrote: > > I'm surprised that dump is deprecated (by you at least ;-)). What to > use instead for backups on machines that can't umount disks regularly? Note that dump simply won't work reliably at all even in 2.4.x: the

Re: ramdisk/tmpfs/ramfs/memfs ?

2001-04-27 Thread Padraig Brady
David Woodhouse wrote: > > [EMAIL PROTECTED] said: > > btw I get my initial root filesystem from a compact flash that can be > > accessed just like a hardisk. It's writeable also like a harddisk, but > > we boot with it readonly, and only mount it rw if we want to save > > config or whatever. We

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-27 Thread Linus Torvalds
On Fri, 27 Apr 2001, Vojtech Pavlik wrote: > > Actually this is done quite often, even on mounted fs's: > > hdparm -t /dev/hda Note that this one happens to be ok. The buffer cache is "virtual" in the sense that /dev/hda is a completely separate name-space from /dev/hda1, even if there is

RE: 2.4.4-pre8 undefined symbols

2001-04-27 Thread Michel Wilson
I think Andrea's rwsem-patches fix these, but i'm not sure. You might give it a try, though. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Chua > Sent: Friday, April 27, 2001 18:11 > To: Linux Kernel > Cc: Jeff Chua > Subject: 2.4.4-pre8

FD in Kernel 2.4.x

2001-04-27 Thread Federico Edelman Anaya
Hi! I am newbie in this list! .. I'm Federico Edelman Anaya ... well! .. I have a question ... I need increase the FD (File Descriptors) ... I was change the value of the FD in kernel 2.2.17: /usr/include/bits/types.h: #define __FD_SETSIZE1024-> 4096

Re: devfs and /proc/ide/hda

2001-04-27 Thread Richard Gooch
AJ Lewis writes: > > --CblX+4bnyfN0pR09 > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Thu, Mar 08, 2001 at 01:32:03PM +0100, Goswin Brederlow wrote: > > > What it should do is change based on whether devfs is

Re: Hashing and directories

2001-04-27 Thread Daniel Phillips
On Thursday 08 March 2001 13:42, Goswin Brederlow wrote: > > " " == Pavel Machek <[EMAIL PROTECTED]> writes: > > Hi! > > > >> I was hoping to point out that in real life, most systems that > >> need to access large numbers of files are already designed to > >> do some

2.4.4-pre8 undefined symbols

2001-04-27 Thread Jeff Chua
depmod -ae yields the following errors under 2.4.4-pre8 Any fix? depmod: *** Unresolved symbols in /lib/modules/2.4.4-pre8/kernel/drivers/char/drm/i810.o depmod: rwsem_down_write_failed depmod: rwsem_wake depmod: *** Unresolved symbols in

Re: devfs and /proc/ide/hda

2001-04-27 Thread AJ Lewis
On Thu, Mar 08, 2001 at 01:32:03PM +0100, Goswin Brederlow wrote: > > What it should do is change based on whether devfs is mounted > > or not. It doesn't make *any* sense to have > > /dev/ide/host0/foo/bar in your /proc/partitions entries if you > > aren't mounting devfs.

Where did this patch come from?

2001-04-27 Thread peck, william
I was wondering if anyone could tell me who is responsible for the patch I have included? It fixes some issues with scanning the scsi bus, specifically it reports luns higher than 8. I am just wondering if whoever has created this if they have submitted it to be included in the mainstream 2.2.x

O_DIRECT support in 2.4.4?

2001-04-27 Thread Michael Susæg
We have tested the rawio and o_direct patches from Andrea Arcangeli with great success, and wondered if they will be part of the next kernel release, 2.4.4? So far we have tested these patches on four different systems. With the latest versions of these patches (rawio-6, o_direct-3) all

Re: kernel panic with 2.4.x and reiserfs

2001-04-27 Thread Chris Mason
On Friday, April 27, 2001 04:33:15 PM +0100 Tony Hoyle <[EMAIL PROTECTED]> wrote: > Reiserfs doesn't cope well with crashes Under 2.4 I wouldn't > recommend using it on any kind of critical server - it seems to > progressively corrupt itself (I'm looking at the second reformat and >

Re: ramdisk/tmpfs/ramfs/memfs ?

2001-04-27 Thread David Woodhouse
[EMAIL PROTECTED] said: > btw I get my initial root filesystem from a compact flash that can be > accessed just like a hardisk. It's writeable also like a harddisk, but > we boot with it readonly, and only mount it rw if we want to save > config or whatever. We definitely wouldn't swap to it as

Re: init process in 2.2.19

2001-04-27 Thread Russell King
On Thu, Apr 26, 2001 at 05:30:16PM +, Subba Rao wrote: > I am trying to add a process which is to be managed by init. I have added the > following entry to /etc/inittab > > SV:2345:respawn:env - PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin svscan /service > dev/console > > After saving, I

Re: ramdisk/tmpfs/ramfs/memfs ?

2001-04-27 Thread Bjorn Wesen
On Fri, 27 Apr 2001, Padraig Brady wrote: > for a partition. If I understand correctly ramfs just points > to the file data which are pages in the cache marked not to be It does not even do that - as of 2.4, the VFS in the kernel also knows how to cache a filestructure itself. It's in the

Re: ramdisk/tmpfs/ramfs/memfs ?

2001-04-27 Thread Christoph Rohland
Hi Padraig, On Fri, 27 Apr 2001, Padraig Brady wrote: > I don't have swap so don't need tmpfs, but could probably > use it anyway without a backing store? Yes, it does not need backing store. > Anyway why was ramfs created if tmpfs existed, unless tmpfs requires > backing store? They both

Re: kernel panic with 2.4.x and reiserfs

2001-04-27 Thread Tony Hoyle
jason wrote: > Hello, > > As the subject would imply, I've been having problems with 2.4.x. I have > my root partition (/dev/hda1) as reiserfs and also have another harddrive > with a reiserfs partition (/dev/hdc1). Several programs write (e.g. save > files to) /dev/hdc1, and I also store files

  1   2   3   4   >