Re: `rmdir .` doesn't work in 2.4

2001-01-08 Thread Andrea Arcangeli
On Mon, Jan 08, 2001 at 04:08:58PM -0500, Alexander Viro wrote: > Andrea, fix your code. Linux-only stuff is OK when there is no BTW, "rmdir `pwd`" is not portable either. > portable way to achieve the same result. In your situation such way indeed > exists and is prefectly doable in

Re: `rmdir .` doesn't work in 2.4

2001-01-08 Thread Stefan Traby
On Mon, Jan 08, 2001 at 12:58:20PM -0500, Alexander Viro wrote: > Shell equivalent is rmdir `pwd`. Also portable. Very portable - not. rmdir "`pwd`" !!! -- ciao - Stefan " ( cd /lib ; ln -s libBrokenLocale-2.2.so libNiedersachsen.so ) " Stefan Traby

Re: [PATCH,serious] Fix raid5 crashes in 2.4.0

2001-01-08 Thread Richard Henderson
On Mon, Jan 08, 2001 at 06:16:25PM +0100, Andi Kleen wrote: > This patch just makes the SSE2 code conditional on ... Pedanticly, this is SSE1 code. r~ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at

Re: Subtle MM bug

2001-01-08 Thread Wayne Whitney
On Mon, 8 Jan 2001, Szabolcs Szakacsits wrote: > AFAIK newer glibc = CVS glibc but the malloc() tune parameters work > via environment variables for the current stable ones as well, Hmm, this must have been introduced in libc6? Unfortunately, I don't have the source code to MAGMA, and the

Re: setfsuid on ext2 weirdness (2.4)

2001-01-08 Thread Bjorn Wesen
On Mon, 8 Jan 2001, Linus Torvalds wrote: > Please show them, anyway. What does "ls -ld / /etc /etc/passwd" say? Heh... /etc and /etc/passwd were allright... but / was fscked (or not, maybe :) drwx- 500 0 both locked from other users and 500 as owner.. > 99% says that one of the

Re: The advantage of modules?

2001-01-08 Thread Russell King
Michael Meissner writes: > Quoting from drivers/scsi/scsi.c: > > /* >* Usage: echo "scsi add-single-device 0 1 2 3" >/proc/scsi/scsi >* with "0 1 2 3" replaced by your "Host Channel Id Lun". >* Consider this feature BETA. >* CAUTION: This is not for

Announce: updated USB hotplug support

2001-01-08 Thread David Brownell
Matching Keith's modutils update, here's a a package of hotplug scripts ... not yet as neatly packaged! And also, not (yet) handling with the older file format for the "modules.usbmap" files associated with 2.4.0 test (and prerelease) kernels. It "ought" to behave with the usb hotplug support

[PATCH] partition endianness fixes

2001-01-08 Thread Andrzej Krzysztofowicz
Hi, The following patch fixes in 2.4(-ac*) : - endiannes problems with BSD/SOLARIS disklabel (in msdos a partition) and OSF partition support on big-endian mashines, - SOLARIS disklabel support on 64-bit machines (it was silently assumed in the on-disk structures that "long" is 32 bit...)

2.2.19pre6aa1 degraded performance for me...

2001-01-08 Thread Sasi Peter
...compared to 2.2.18pre19. I use the IDE patch for my CMD648 card, and also 0.90 RAID. What I have now (2.2.19pre6aa1+ide-1221): [root@iq /root]# hdparm /dev/hd[aceg] /dev/hda: multcount= 16 (on) I/O support = 1 (32-bit) unmaskirq= 1 (on) using_dma= 1 (on) keepsettings =

Re: ramfs problem... (unlink of sparse file in "D" state)

2001-01-08 Thread Andries . Brouwer
> Calling pathconf with a symlink is not defined. The Austin draft requires pathconf to follow symlinks. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/

prerelease-to-final braindamage

2001-01-08 Thread Pavel Machek
Hi! Very clever. Invent new naming scheme of patches every couple of weeks, so that as many people as possible damage their trees. All other patches are called patch-VERSION. This one has to be called prerelease-to-final. And applying it over test12 if you missed the fact -prerelease exists

Re: Delay in authentication.

2001-01-08 Thread David S. Miller
Date: Mon, 08 Jan 2001 15:24:55 -0600 From: "M.H.VanLeeuwen" <[EMAIL PROTECTED]> Was this behavior intentionally changed and why? Looks like 2.2.X gives ECONNREFUSED, but 2.4.X doesn't and times out. It was intentionally changed because there is no way for the "ICMP port

Re: `rmdir .` doesn't work in 2.4

2001-01-08 Thread Andrea Arcangeli
On Mon, Jan 08, 2001 at 09:56:18PM +0100, [EMAIL PROTECTED] wrote: > You think that it fails with EBUSY. That would be allowed but not required: > > [EBUSY]: The directory to be removed is currently in use by > the system or some process and the implementation > considers this

Re: Coppermine is a PIII or a Celeron?

2001-01-08 Thread Erik Mouw
On Mon, Jan 08, 2001 at 11:09:00AM +0100, Giacomo Catenazzi wrote: > Thus the older Celerons should be compiled with CONFIG_M686 (Pentium > Pro), > but the Celeron Coppermine can be compiled with CONFIG_M686FXSR (Pentium > III), right? Yes. > In this case we should update the files

Re: Subtle MM bug

2001-01-08 Thread Wayne Whitney
On Mon, 8 Jan 2001, Rik van Riel wrote: > How does 2.4 perform when you add an extra GB of swap ? OK, some more data: First, I tried booting 2.4.0 with "nosmp" to see if the behavior I observe is SMP related. It isn't, there was no difference under 2.4.0 between 512MB/512MB/1CPU and

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-08 Thread David S. Miller
Date: Mon, 8 Jan 2001 16:05:23 -0200 (BRDT) From: Rik van Riel <[EMAIL PROTECTED]> I really think the zerocopy network stuff should be ported to kiobuf proper. That is how it could be done in 2.5.x, sure. But this patch is intended for 2.4.x so "minimum impact" applies. Later,

Re: Delay in authentication.

2001-01-08 Thread M.H.VanLeeuwen
Chris, I reported the same thing on 11/19/00, whether this is a feature or bug for 2.4.X was not determined. Was this behavior intentionally changed and why? Looks like 2.2.X gives ECONNREFUSED, but 2.4.X doesn't and times out.

Re: 2.4.0 APM w/ Compaq 16xx laptop...

2001-01-08 Thread Erik Mouw
On Sun, Jan 07, 2001 at 07:57:42PM -0800, Brian Macy wrote: > Anyone get this working? If so please tell me the version of you APM utilities > and what Power Management options you have on in the kernel. > > Ever since I started trying 2.3.x, as soon as the box gets a change in it's > power

Re: Bug in 2.2 kernels (mysterious hangs after freeing unused memory)

2001-01-08 Thread Blizbor
At 01-01-08 21:09, you wrote: >On Sun, Jan 07, 2001 at 07:21:08PM +0100, Blizbor wrote: >> I have found something weird in kernel 2.2.17. >> After installation on the Pentium PRO equipped machine, >> I have moved hard disk to another one, but equipped >> with AMD-K5 and after encountering

Re: Shared memory not enabled in 2.4.0?

2001-01-08 Thread Ernesto Hernandez-Novich
On Mon, 8 Jan 2001 [EMAIL PROTECTED] wrote: > For some reason shared memory is not being enabled on my system running kernel > v2.4.0 (on RedHat v6.2, with all updates applied). > > Per the documentation I have this line in my /etc/fstab: > > none /dev/shm shm defaults 0 0 > > Yes, I

Re: `rmdir .` doesn't work in 2.4

2001-01-08 Thread Alexander Viro
On Mon, 8 Jan 2001, Andrea Arcangeli wrote: > On Mon, Jan 08, 2001 at 01:04:24PM -0500, Alexander Viro wrote: > > Racy. Nonportable. Has portable and simple equivalent. Again, don't > > bother with chdir at all - if you know the name of directory even > > ../name will work. It's not about the

Re: [PATCH,serious] Fix raid5 crashes in 2.4.0

2001-01-08 Thread Andrea Arcangeli
On Mon, Jan 08, 2001 at 06:16:25PM +0100, Andi Kleen wrote: > > Hallo Linus, > > The following patch fixes an oops in 2.4.0 RAID5 initialisation when the kernel > was configured without CONFIG_X86_FXSR but is booted on a CPU supporting SSE. > The problem is that without the FXSR config the

Re: `rmdir .` doesn't work in 2.4

2001-01-08 Thread Andries . Brouwer
> why `rmdir .` is been deprecated in 2.4.x? > `rmdir .` makes perfect sense, the cwd dentry remains pinned You think that it fails with EBUSY. That would be allowed but not required: [EBUSY]: The directory to be removed is currently in use by the system or some process and the

Re: Delay in authentication.

2001-01-08 Thread Scott Laird
Is syslog running correctly? When syslog screws up, it very frequently results in this sort of problem. Scott On Mon, 8 Jan 2001, Chris Meadors wrote: > On Mon, 8 Jan 2001, Igmar Palsenberg wrote: > > > check /etc/pam.d/login > > No pam. > > > Could be kerberos that is biting you,

Re: Ext2 (dma ?) error

2001-01-08 Thread Alan Cox
> Nevertheless I checked the partition with my old SuSE 2.2.16 kernel > and it gave a different error message: > > hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error } > hda: read_intr: error=0x40 { UncorrectableError } LBAsect = 2421754, sector > 210048 > end_request: I/O

Re: Ext2 (dma ?) error

2001-01-08 Thread Michael Duelli
Hi kernel hackers, okay possibly my HD is the problem and I will try to check the disc with a Seagate tool (damned, i.e. reinstalling Windows) or even reformating I everything else goes wrong. Nevertheless I checked the partition with my old SuSE 2.2.16 kernel and it gave a different error

Re: real talk cards in 2.2.18.

2001-01-08 Thread Timothy A. DeWees
This was done. > Just enable 'Prompt for development and/or incomplete code/drivers' in > 'Code maturity level options', the first item in the setup menu... - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the

Re: real talk cards in 2.2.18.

2001-01-08 Thread Timothy A. DeWees
Yes I have. > Have you turned on: > [EISA, VLB, PCI and on board controllers] in > [Ethernet (10 or 100Mbit) --->] which is in > [Network device support --->] ??? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please

Re: real talk cards in 2.2.18.

2001-01-08 Thread Richard Torkar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timothy A. DeWees wrote: > Hello, > > I am trying to compile the rtl8139 driver for my SMC > 10/100 NIC. I have turned on all 10/100 devices (i.e. 3Com > cards -n- such); however, I can not get the rtl driver to show > up as an option in my

Re: real talk cards in 2.2.18.

2001-01-08 Thread Ward Vandewege
At 15:22 08/01/2001 -0500, Timothy A. DeWees wrote: >Hello, > > I am trying to compile the rtl8139 driver for my SMC >10/100 NIC. I have turned on all 10/100 devices (i.e. 3Com >cards -n- such); however, I can not get the rtl driver to show >up as an option in my menuconfig. What to I need

Re: Linux-2.4.x patch submission policy

2001-01-08 Thread Rik van Riel
On Mon, 8 Jan 2001, Ingo Oeser wrote: > On Sun, Jan 07, 2001 at 02:37:47PM -0200, Rik van Riel wrote: > > Once we are sure 2.4 is stable for just about anybody I > > will submit some of the really trivial enhancements for > > inclusion; all non-trivial patches I will maintain in a > > VM

Re: ramfs problem... (unlink of sparse file in "D" state)

2001-01-08 Thread Andreas Dilger
Al Viro writes: > Andreas Dilger wrote: > > Actually, this is wrong. The ext2 inode limit is 2^32 512-byte sectors, > > not 2^32 blocksize blocks. Yes this is a wart and Ted wants to fix it, as > > ??? Where? Oh, wait... ->i_blocks? I'ld rather refuse to grow past 2^32 - > sparse files can

Re: [patch] 2.4.0: defxx oopses upon insmod if short on memory

2001-01-08 Thread Maciej W. Rozycki
On Mon, 8 Jan 2001, Alan Cox wrote: > > @@ -2709,7 +2709,10 @@ static void dfx_rcv_init(DFX_board_t *bp > > struct sk_buff *newskb; > > bp->descr_block_virt->rcv_data[i+j].long_0 = (u32) >(PI_RCV_DESCR_M_SOP | > >

Re: Linux-2.4.x patch submission policy

2001-01-08 Thread Ingo Oeser
On Sun, Jan 07, 2001 at 02:37:47PM -0200, Rik van Riel wrote: > Once we are sure 2.4 is stable for just about anybody I > will submit some of the really trivial enhancements for > inclusion; all non-trivial patches I will maintain in a > VM bigpatch, which will be submitted for inclusion around >

Re: `rmdir .` doesn't work in 2.4

2001-01-08 Thread Andrea Arcangeli
On Mon, Jan 08, 2001 at 01:04:24PM -0500, Alexander Viro wrote: > Racy. Nonportable. Has portable and simple equivalent. Again, don't > bother with chdir at all - if you know the name of directory even > ../name will work. It's not about the current directory. It's about > the invalid last

Re: `rmdir .` doesn't work in 2.4

2001-01-08 Thread Andrea Arcangeli
On Mon, Jan 08, 2001 at 12:58:20PM -0500, Alexander Viro wrote: > It's a hell of a pain wrt locking. You need to lock the parent, but it can This is a no-brainer and bad implementation, but shows it's obviously right wrt locking. (pseudocode, I ignored the uaccess details and all the other not

Re: Subtle MM bug

2001-01-08 Thread Szabolcs Szakacsits
Andi Kleen <[EMAIL PROTECTED]> wrote: > On Sun, Jan 07, 2001 at 09:29:29PM -0800, Wayne Whitney wrote: > > package called MAGMA; at times this requires very large matrices. The > > RSS can get up to 870MB; for some reason a MAGMA process under linux > > thinks it has run out of memory at 870MB,

Re: MM/VM todo list

2001-01-08 Thread Rasmus Andersen
On Mon, Jan 08, 2001 at 03:36:23PM -0200, Rik van Riel wrote: > I have not taken^Whad the time to check the kernel tree > and see if the RSS counting has indeed been made safe > everywhere. I have posted the one below a couple of times without it making it in. If you like ot please fold it into

real talk cards in 2.2.18.

2001-01-08 Thread Timothy A. DeWees
Hello,       I am trying to compile the rtl8139 driver for my SMC 10/100 NIC.  I have turned on all 10/100 devices (i.e. 3Com cards -n- such); however, I can not get the rtl driver to show up as an option in my menuconfig.  What to I need to do to compile this driver as a module.  Am I

Re: setfsuid on ext2 weirdness (2.4)

2001-01-08 Thread Linus Torvalds
In article <[EMAIL PROTECTED]>, Bjorn Wesen <[EMAIL PROTECTED]> wrote: > >in fact, 0 and 500 are the ONLY ones who let a filesystem op through after >the setfsuid call. all other cause an EACCESS error on the open (or any >other fs op). and yes, the actual filepermissions on /etc and /etc/passwd

Re: [PATCH] More compile warning fixes for 2.4.0

2001-01-08 Thread Alan Cox
> > -case FORE200E_STATE_BLANK: > > +case FORE200E_STATE_BLANK:; > > Is this really a kernel bug? This is common idiom in C, so gcc > shouldn't warn about it. If it does, it is a bug in gcc IMHO. It's not valid in current ISO C. So gcc warns about it - To unsubscribe from this list:

Re: [patch] 2.4.0: defxx oopses upon insmod if short on memory

2001-01-08 Thread Alan Cox
> @@ -2709,7 +2709,10 @@ static void dfx_rcv_init(DFX_board_t *bp > struct sk_buff *newskb; > bp->descr_block_virt->rcv_data[i+j].long_0 = (u32) >(PI_RCV_DESCR_M_SOP | > ((PI_RCV_DATA_K_SIZE_MAX / PI_ALIGN_K_RCV_DATA_BUFF)

Re: ramfs problem... (unlink of sparse file in "D" state)

2001-01-08 Thread Alexander Viro
On Mon, 8 Jan 2001, Andreas Dilger wrote: > Actually, this is wrong. The ext2 inode limit is 2^32 512-byte sectors, > not 2^32 blocksize blocks. Yes this is a wart and Ted wants to fix it, as ??? Where? Oh, wait... ->i_blocks? I'ld rather refuse to grow past 2^32 - sparse files can

Re: Bug in 2.2 kernels (mysterious hangs after freeing unused memory)

2001-01-08 Thread Erik Mouw
On Sun, Jan 07, 2001 at 07:21:08PM +0100, Blizbor wrote: > I have found something weird in kernel 2.2.17. > After installation on the Pentium PRO equipped machine, > I have moved hard disk to another one, but equipped > with AMD-K5 and after encountering problems I moved again > this disk to

Re: typo in linux-2.2.18/Documentation/usb/usb-serial.txt

2001-01-08 Thread Greg KH
On Tue, Jan 09, 2001 at 02:24:07AM +0900, Hisaaki Shibata wrote: > Hi! > > I tried to use USB-SERIAL converter shown in > http://www.century.co.jp/products/usb_serial1a.html > that uses Prolific chip. > > Prolific USB2SERIAL is not supported yet, > so I tried to "generic". > Then I found typo

Re: Adaptec 19160 Problems

2001-01-08 Thread Jason Perlow
So you are saying this was fixed in 2.2.18? Which distro uses that by default now? We need to get the distros to come up with boot floppy images for this then because 19160 is a very popular host adapter. Its not like its weirdo hardware. Waiting for an updated distro is a real pain in the

Re: [PATCH] More compile warning fixes for 2.4.0

2001-01-08 Thread Erik Mouw
On Sat, Jan 06, 2001 at 09:40:51PM -0500, Rich Baum wrote: > Here's a patch that fixes more of the compile warnings with gcc > 2.97. > -case FORE200E_STATE_BLANK: > +case FORE200E_STATE_BLANK:; Is this really a kernel bug? This is common idiom in C, so gcc shouldn't warn about it. If

Re: Network Performance?

2001-01-08 Thread John Heffner
On Mon, 8 Jan 2001, Tim Sailer wrote: > > What is the round-trip time on the WAN? > > > > Packet loss? > > 101 packets transmitted, 101 packets received, 0% packet loss > round-trip min/avg/max = 109.6/110.3/112.2 ms Packet loss and RTT can be greatly affected by how much data you're sending

Re: Journaling: Surviving or allowing unclean shutdown?

2001-01-08 Thread Pavel Machek
Hi! > 1. setup the power switch so it doesn't actually turn things off (it > issues the shutdown command instead) Evil. Devices that are powered off should stay powered off, and there should be big mechanical switch to do that, so that no EMI or power glitch can make them power up. Also thing

Re: Journaling: Surviving or allowing unclean shutdown?

2001-01-08 Thread Pavel Machek
Hi! > > > Being able to shut down by hitting the power switch is a little luxury > > > for which I've been willing to invest more than a year of my life to > > > attain. Clueless newbies don't know why it should be any other way, and > > > it's essential for embedded devices. > > > > Clueless

Re: Confirmation request about new 2.4.x. kernel limits

2001-01-08 Thread Pavel Machek
Hi! > Hi, I would like to know whether following limits are right for kernel > 2.4.x: > > Max. N. of CPU: 32 (SMP) > Max. CPU speed: > 2 Ghz (up to ?) > Max. RAM size:64 GB (any slowness accessing RAM over 4 GB >

2.2/2.4 on MSI 694D Pro-AIR (MS-6321)

2001-01-08 Thread Paul Flinders
Has anyone got either 2.2.x or 2.4.0 booted on the above motherboard? This board has an integrated Promise Fasttrack ATA/100 controller - I know that to support the hardware RAID I need the binary only drivers from Promise but I'd rather not use these if software RAID works as there's no

test - please ignore

2001-01-08 Thread Timur Tabi
-- Timur Tabi - [EMAIL PROTECTED] Interactive Silicon - http://www.interactivesi.com When replying to a mailing-list message, please direct the reply to the mailing list only. Don't send another copy to me. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: Shared memory not enabled in 2.4.0?

2001-01-08 Thread J . A . Magallon
Try 'ipcs' and you'll see your shared mem segments info... On 2001.01.08 [EMAIL PROTECTED] wrote: > > > For some reason shared memory is not being enabled on my system running kernel > v2.4.0 (on RedHat v6.2, with all updates applied). > > Per the documentation I have this line in my

[patch] 2.4.0: defxx oopses upon insmod if short on memory

2001-01-08 Thread Maciej W. Rozycki
Hi, Is there anyone maintaining defxx these days? The defxx driver does a null pointer derefence if a system is short on memory. This happens repeatably on a 32MB machine if fsck is run just befor loading the driver (not an unusual event upon startup and a quite nasty one). The driver

Re: Shared memory not enabled in 2.4.0?

2001-01-08 Thread Brian Gerst
[EMAIL PROTECTED] wrote: > # cat /proc/meminfo > total:used:free: shared: buffers: cached: > Mem: 130293760 123133952 71598080 30371840 15179776 This is not SysV/POSIX shared memory. This used to mean the memory that was shared between processes (from

Re: Shared memory not enabled in 2.4.0?

2001-01-08 Thread Gregory Maxwell
On Mon, Jan 08, 2001 at 01:11:19PM -0600, [EMAIL PROTECTED] wrote: [snip] > No complaints are seen at startup, yet I still have no shared memory: > > # cat /proc/meminfo > total:used:free: shared: buffers: cached: > Mem: 130293760 123133952 71598080

Re: Shared memory not enabled in 2.4.0?

2001-01-08 Thread Richard B. Johnson
On Mon, 8 Jan 2001 [EMAIL PROTECTED] wrote: > > > For some reason shared memory is not being enabled on my system running kernel > v2.4.0 (on RedHat v6.2, with all updates applied). > > Per the documentation I have this line in my /etc/fstab: > > none /dev/shm shm defaults 0 0 > >

Re: lvm 0.8 to 0.9 conversion?

2001-01-08 Thread Todd M. Roy
I've been on vacation Nope, no snapshots. Well, I couldn't get my orginal volume group visible under both lvm 0.8 and 0.9. I don't know why. So I grabbed a big empty hard disk, created a new volume group that was visible under both, dded all the logical volumes over to it, updated fstab

[PATCH] pritk.c oneliner

2001-01-08 Thread Pavel Rabel
error is initialised twice Pavel Rabel --- kernel/printk.c.old Mon Jan 8 19:16:12 2001 +++ kernel/printk.c Mon Jan 8 19:17:54 2001 @@ -125,9 +125,8 @@ unsigned long i, j, limit, count; int do_clear = 0; char c; - int error = -EPERM; + int error = 0;

xircom_tulip_cb

2001-01-08 Thread Oliver Paukstadt
HY HY I have a Xircom R2BE-100, RealPort2 CardBus Ethernet 10/100. With RH6.2, 2.2.17 and pcmcia-cs-3.1.19 everything was fine. With RH7, 2.2.18 and pcmcia-cs-3.1.23 the Card did not work. With ifconfig -a it was displayed, but it doesn't work. With 2.4.0-ac2 and Kernel-PCMCIA the same

Re: lvm 0.8 to 0.9 conversion?

2001-01-08 Thread Todd M. Roy
I've been on vacation Nope, no snapshots. Well, I couldn't get my orginal volume group visible under both lvm 0.8 and 0.9. I don't know why. So I grabbed a big empty hard disk, created a new volume group that was visible under both, dded all the logical volumes over to it, updated fstab

APM, virtual console problem in 2.4.0

2001-01-08 Thread Joseph Pingenot
Greetings. When suspending my laptop (Toshiba Satellite 1605CDS; BIOS set to suspend to disk) with Debian 2.2r2's 'apm -s', the screen blanks and then the system locks up hard (not even the power button works). In 2.2.17, 'apm -s' works properly, first blanking the screen (maybe twice),

Modules Question

2001-01-08 Thread Christopher Harrer
Hello, I've built a module I'm trying to run on various (2.2.x) levels of the kernel. I compiled the module against a 2.2.18 Source Tree. I strip out the __module_kernel_version symbol and re-link the module on the target system to get the __module_kernel_version symbol in it. My problem is

Shared memory not enabled in 2.4.0?

2001-01-08 Thread Steven_Snyder
For some reason shared memory is not being enabled on my system running kernel v2.4.0 (on RedHat v6.2, with all updates applied). Per the documentation I have this line in my /etc/fstab: none /dev/shm shm defaults 0 0 Yes, I have created this subdirectory: # ls -l /dev | grep

Re: ramfs problem... (unlink of sparse file in "D" state)

2001-01-08 Thread Andreas Dilger
Al Viro writes: > No, it doesn't. s/$/while(bh != head);/, indeed. Sorry about that - > cut-and-waste when I did rediff to 2.4.0. Corrected patch follows: > > diff -urN S0-AC4/fs/ext2/super.c S0-AC4-fixes/fs/ext2/super.c > --- S0-AC4/fs/ext2/super.cMon Jan 8 08:46:18 2001 > +++

Re: ramfs problem... (unlink of sparse file in "D" state)

2001-01-08 Thread Alexander Viro
On Mon, 8 Jan 2001, Marc Lehmann wrote: > On Mon, Jan 08, 2001 at 01:33:50PM -0500, Alexander Viro <[EMAIL PROTECTED]> wrote: > > And prefix would be what? "/"? Besides, I said that you don't have > > read permissions on /foo, not search ones. > > You do not need read permissions on /foo to

Re: The advantage of modules?

2001-01-08 Thread Michael Meissner
On Mon, Jan 08, 2001 at 07:26:01PM +0100, Ookhoi wrote: > >3) Having drivers as modules means that you can remove them and > >reload them. When I was working in an office, I had one scsi > >controller that was a different brand (Adaptec) than the main scsi > >controller

Re: ramfs problem... (unlink of sparse file in "D" state)

2001-01-08 Thread Marc Lehmann
On Mon, Jan 08, 2001 at 01:33:50PM -0500, Alexander Viro <[EMAIL PROTECTED]> wrote: > And prefix would be what? "/"? Besides, I said that you don't have > read permissions on /foo, not search ones. You do not need read permissions on /foo to make pathconf on it. This makes sense: you are not

Re: ramfs problem... (unlink of sparse file in "D" state)

2001-01-08 Thread Stefan Traby
On Mon, Jan 08, 2001 at 01:33:50PM -0500, Alexander Viro wrote: > > On Mon, 8 Jan 2001, Stefan Traby wrote: > > > On Mon, Jan 08, 2001 at 01:22:49PM -0500, Alexander Viro wrote: > > > > > Here's another one: suppose that /foo is a mountpoint and you have > > > no read permissions on it. Try to

blinking vga card

2001-01-08 Thread Michal Medvecky
Hi folks, I have following problem: when I make big load on my PC, my monitor starts blinking in XFree 4.0.2 (precompiled binaries from xfree86.org), and does not stop until reboot. It has been blinking on 4.0.0, so I upgraded to 4.0.1 and then to 4.0.2, and problem persists. I have first

Re: Adaptec 19160 Problems

2001-01-08 Thread Jason Perlow
Ouch, thats an ugly solution. But why would it be the installer routine as opposed to some wackyness in the adaptec module? The kernel used in the installer routines for most of these distros is the same kernel used to boot the installed OS, right? How would you go about copying the IDE disk

Re: Network Performance?

2001-01-08 Thread Craig I. Hagan
> 101 packets transmitted, 101 packets received, 0% packet loss > round-trip min/avg/max = 109.6/110.3/112.2 ms > > > Does the problem occur in both directions? > > Good question. I'll find out. > > > Are you _sure_ the window size is being set correctly? How > > is it being set? > > I'm

Re: Adaptec 19160 Problems

2001-01-08 Thread I Lee Hetherington
I had the exact same problem. I ended up getting around it by installing a Linux image from another machine. 2.2.18 works fine on the machine, but Red Hat 6.2's install would not reliably get past the infinite reset stage. So, there is hope that once you get something new enough on the machine

Re: ramfs problem... (unlink of sparse file in "D" state)

2001-01-08 Thread Alexander Viro
On Mon, 8 Jan 2001, Stefan Traby wrote: > On Mon, Jan 08, 2001 at 01:22:49PM -0500, Alexander Viro wrote: > > > Here's another one: suppose that /foo is a mountpoint and you have > > no read permissions on it. Try to open the thing... > > I would return EACCESS. > [EACCES] > Search

Adaptec 19160 Problems

2001-01-08 Thread Jason Perlow
Greetings (and Linus and Alan if youre listening, thanks): I'm having a few bizarre problems with an adaptec 19160 scsi controller and several Linux distributions inlcluding Redhat 6.2 and 7.0, and I was wondering if anyone encountered anything similar and might be able to help. The machine

Re: VM subsystem bug in 2.4.0 ?

2001-01-08 Thread Rik van Riel
On Mon, 8 Jan 2001, Linus Torvalds wrote: > On Mon, 8 Jan 2001, Rik van Riel wrote: > > > > We need a check in deactivate_page() to prevent the kernel > > from moving pages from locked shared memory segments to the > > inactive_dirty list. > > > > Christoph? Linus? > > The only solution I see

Re: ramfs problem... (unlink of sparse file in "D" state)

2001-01-08 Thread Stefan Traby
On Mon, Jan 08, 2001 at 01:22:49PM -0500, Alexander Viro wrote: > Here's another one: suppose that /foo is a mountpoint and you have > no read permissions on it. Try to open the thing... I would return EACCESS. [EACCES] Search permission is denied for a component of the path prefix.

Re: The advantage of modules?

2001-01-08 Thread Ookhoi
Hi Michael, > On Fri, Jan 05, 2001 at 10:50:20PM -0600, Evan Thompson wrote: > > I'd like to know (I know, I'm being slightly off topic, while still > > staying on topic, so I'm on topic...er...yes) if there is any > > advantage, be it memory-wise or architectuarally wise, to use > > modules? >

Re: Patch (repost): cramfs memory corruption fix

2001-01-08 Thread Linus Torvalds
On Sun, 7 Jan 2001, David L. Parsley wrote: > > 2.4.0 ramfs with the one-liner does it's job for me already; what I'd > really love to fool with is _cramfs_. ;-) In case you missed the > beginning of this thread: all my cramfs initrd's fail to mount as > /dev/ram0 with 'wrong magic'; their

Re: ramfs problem... (unlink of sparse file in "D" state)

2001-01-08 Thread Alexander Viro
On Mon, 8 Jan 2001, Stefan Traby wrote: > Calling pathconf with a symlink is not defined. I suggest > an implementation of "yankee doodle" for that case. > Anyway the broken SuS standard wants that pathconf follow symlinks. > Or how do you interpret this: > > [ELOOP] >Too many

A Curious and Interesting Opportunity!!

2001-01-08 Thread marc5858
Dear Friend: AS SEEN ON NATIONAL TV : ''Making over half million dollars every 4 to 5 months from your home for an investment of only $25 U.S. Dollars expense one time'' THANKS TO THE COMPUTER AGE AND THE INTERNET! = BE A MILLIONAIRE LIKE OTHERS

Re: ramfs problem... (unlink of sparse file in "D" state)

2001-01-08 Thread Stefan Traby
On Mon, Jan 08, 2001 at 01:05:49PM -0500, Alexander Viro wrote: > > > On Mon, 8 Jan 2001, Stefan Traby wrote: > > > On Mon, Jan 08, 2001 at 04:01:10PM +, Alan Cox wrote: > > > > I prefer SuS fpathconf(), pathconf() is just a wrapper to fpathconf(); > > > > > > You can't implement it that

Re: VM subsystem bug in 2.4.0 ?

2001-01-08 Thread Linus Torvalds
On Mon, 8 Jan 2001, Rik van Riel wrote: > > We need a check in deactivate_page() to prevent the kernel > from moving pages from locked shared memory segments to the > inactive_dirty list. > > Christoph? Linus? The only solution I see is something like a "active_immobile" list, and add

Re: Network Performance?

2001-01-08 Thread Erik Mouw
On Mon, Jan 08, 2001 at 09:06:45AM -0500, Tim Sailer wrote: > On Mon, Jan 08, 2001 at 09:26:23PM +1100, Andrew Morton wrote: > > You're sending and receiving FTP/TCP/IP4 to Solaris and AIX hosts > > Yup > > > You have a 1000kbyte window size > > Yup > > > You have an 80 megabit/sec pipe. > >

Re: ramfs problem... (unlink of sparse file in "D" state)

2001-01-08 Thread Alexander Viro
On Mon, 8 Jan 2001, Stefan Traby wrote: > On Mon, Jan 08, 2001 at 04:01:10PM +, Alan Cox wrote: > > > I prefer SuS fpathconf(), pathconf() is just a wrapper to fpathconf(); > > > > You can't implement it that way in the corner cases. > > I reread SuSv2 again and didn't found corner

Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

2001-01-08 Thread Rik van Riel
On Mon, 8 Jan 2001, David S. Miller wrote: >From: Christoph Hellwig <[EMAIL PROTECTED]> > >don't you think the writepage file operation is rather hackish? > > Not at all, it's simply direct sendfile support. It does > not try to be any fancier than that. I really think the zerocopy

Re: `rmdir .` doesn't work in 2.4

2001-01-08 Thread Alexander Viro
On Mon, 8 Jan 2001, Andrea Arcangeli wrote: > in userspace, but I think the old behaviour was more flexible (it was also > showing how much our dcache is powerful) and I still don't see why it's been > removed. Maybe it was to remove a branch from a fast path? (if so I don't > think it was a

Re: ramfs problem... (unlink of sparse file in "D" state)

2001-01-08 Thread Stefan Traby
On Mon, Jan 08, 2001 at 04:01:10PM +, Alan Cox wrote: > > I prefer SuS fpathconf(), pathconf() is just a wrapper to fpathconf(); > > You can't implement it that way in the corner cases. I reread SuSv2 again and didn't found corner cases. Do you mean FIFO/pipe stuff ? I can't see the problem

Re: Subtle MM bug

2001-01-08 Thread Linus Torvalds
On Mon, 8 Jan 2001, Rik van Riel wrote: > > You are right in that we need to refill the inactive list > before calling page_launder(), but we'll also need a few > other modifications: NONE of your three additions do _anything_ to help us at all if we don't even see the dirty bit because the

Re: VM subsystem bug in 2.4.0 ?

2001-01-08 Thread Rik van Riel
On Mon, 8 Jan 2001, Sergey E. Volkov wrote: > I have a problem with 2.4.0 > > I'm testing Informix IIF-2000 database server running on dual > Intel Pentium II - 233. When I run 'make -j30 bzImage' in the > kernel source, my Linux box hangs without any messages. > Informix allocate about to 50%

Re: Subtle MM bug

2001-01-08 Thread Linus Torvalds
On Mon, 8 Jan 2001, Rik van Riel wrote: > On Sun, 7 Jan 2001, Wayne Whitney wrote: > > > Well, here is a workload that performs worse on 2.4.0 than on 2.2.19pre, > > > The typical machine is a dual Intel box with 512MB RAM and 512MB swap. > > How does 2.4 perform when you add an extra GB of

Re: `rmdir .` doesn't work in 2.4

2001-01-08 Thread Alexander Viro
On Mon, 8 Jan 2001, Andrea Arcangeli wrote: > Hello Al, > > why `rmdir .` is been deprecated in 2.4.x? I wrote software that depends on > `rmdir .` to work (it's local software only for myself so I don't care that it > may not work on unix) and I'm getting flooded by failing cronjobs since I

Re: `rmdir .` doesn't work in 2.4

2001-01-08 Thread Andrea Arcangeli
On Mon, Jan 08, 2001 at 12:31:29PM -0500, Mohammad A. Haque wrote: > I fail to see why this is useful. you can't do anything in the directory > afterwards. > > bash# mkdir foobar > bash# cd foobar/ > bash# ls > bash# rmdir . > bash# touch foo > touch: foo: Operation not permitted > bash#

Re: ramfs problem... (unlink of sparse file in "D" state)

2001-01-08 Thread Alan Cox
> if (pos + count > inode->i_sb->s_maxbytes) > { > count = inode->i_sb->s_maxbytes - count; > goto out; > } > > looks funny - goto out means that new (and rather meaningless) value of > count goes to hell. Shouldn't we remove that line and

Re: Subtle MM bug

2001-01-08 Thread Rik van Riel
On 7 Jan 2001, Linus Torvalds wrote: > That doesn't resolve the "2.4.x behaves badly" thing, though. > > I've seen that one myself, and it seems to be simply due to the > fact that we're usually so good at gettign memory from > page_launder() that we never bother to try to swap stuff out. > And

Re: PATCH for 2.4.0: assign ad1848 mixer operations to correct module

2001-01-08 Thread Chris Rankin
> > + > > + if (owner) > > + ad1848_mixer_operations.owner = owner; > > + > > if ((e = sound_install_mixer(MIXER_DRIVER_VERSION, > > dev_name, > > _mixer_operations, > > > > BTW Isn't it ever-so-slightly dodgy modifying the static > > Very. > > > operations in

Oops in 2.2.18

2001-01-08 Thread Lawrence Manning
Hardware is a Intel 440LX, with IDE disks, 96meg of memory, voodoo 2 graphics etc. Nothing remarkable. For about 3 days now, it has been oopsing at least once a day. Each time the machine eventually locks up in X. The kernel is a standard 2.2.18 linus kernel with Alsa drivers (version 0.5.10)

Re: [PATCH] cramfs is ro only, so honour this in inode->mode

2001-01-08 Thread Linus Torvalds
On Mon, 8 Jan 2001, Ingo Oeser wrote: > On Mon, Jan 08, 2001 at 12:13:39PM +, Shane Nay wrote: > > This may not initially seem like such a great thing..., but imagine a base > > distro being distributed as a cramfs file. Copy the thing over to your HD > > and you're done, otherwise the

Re: MM/VM todo list

2001-01-08 Thread Rik van Riel
On Mon, 8 Jan 2001 [EMAIL PROTECTED] wrote: > About the RSS ulimit proposal, have we resolved the correctness > of counting RSS in a process? I have not taken^Whad the time to check the kernel tree and see if the RSS counting has indeed been made safe everywhere. regards, Rik -- Virtual

<    1   2   3   4   5   6   7   >