Re: scsi vs ide performance on fsync's

2001-03-05 Thread Andre Hedrick
On Mon, 5 Mar 2001, Linus Torvalds wrote: > Well, it's fairly hard for the kernel to do much about that - it's almost > certainly just IDE doing write buffering on the disk itself. No OS > involved. I am pushing for WC to be defaulted in the off state, but as you know I have a bigger fight than

Re: scsi vs ide performance on fsync's

2001-03-05 Thread Andre Hedrick
On Tue, 6 Mar 2001, Jonathan Morton wrote: > It's pretty clear that the IDE drive(r) is *not* waiting for the physical > write to take place before returning control to the user program, whereas > the SCSI drive(r) is. Both devices appear to be performing the write Wrong, IDE does not unplug

Re: scsi vs ide performance on fsync's

2001-03-05 Thread Jonathan Morton
>I don't know if there is any way to turn of a write buffer on an IDE disk. hdparm has an option of this nature, but it makes no difference (as I reported). It's worth noting that even turning off UDMA to the disk on my machine doesn't help the situation - although it does slow things down a

Re: 2.4.2 ext2 filesystem corruption ? (was 2.4.2: What happened ? (No such file or directory))

2001-03-05 Thread Frédéric L. W. Meunier
Maybe I should give details about my hardware. The system was installed 5 months ago, and this is the first problem. I used 2.2.16 stock Kernel from Slackware 7.1 2.2.17 2.2.18 2.4.0 2.4.1 And the only problem was with 2.4.2. FYI, I'm not using hdparm or changing the BIOS to use UDMA 66. It'd

Re: 2.4.2 ext2 filesystem corruption ? (was 2.4.2: What happened ? (No such file or directory))

2001-03-05 Thread Ben Greear
For what it's worth, I was able to completely screw up my root FS using redhat's Fisher beta kernel (2.2.18 + stuff). I did this by running a bad hdparm command while running a full GNOME desktop: (This was not a good idea...and I know, and knew that...but) hdparm -X34 -d1 -u1 /dev/hda (As

Re: Loop stuck in -D state

2001-03-05 Thread Mike Galbraith
On Mon, 5 Mar 2001, Richard B. Johnson wrote: > On Mon, 5 Mar 2001, Mike Galbraith wrote: > > > Are you saying that the initrd is broken again as well? (having > > trouble understanding the problem.. don't see why you need the > > loop device or rather how its being busted is connected to your

Re: SLAB vs. pci_alloc_xxx in usb-uhci patch

2001-03-05 Thread Peter Zaitcev
> From: "David S. Miller" <[EMAIL PROTECTED]> > Date: Mon, 5 Mar 2001 20:53:21 -0800 (PST) >[...] > Gerard Roudier wrote for the sym53c8xx driver the exact thing > UHCI/OHCI need for this. Thanks for the hint. *** Anyways, is this the end of the discussion regarding my patch? If it goes in,

Re: scsi vs ide performance on fsync's

2001-03-05 Thread Linus Torvalds
On Tue, 6 Mar 2001, Douglas Gilbert wrote: > > > On the other hand, it's also entirely possible that IDE is just a lot > > better than what the SCSI-bigots tend to claim. It's not all that > > surprising, considering that the PC industry has pushed untold billions of > > dollars into improving

Possible Bug? 2.2.18

2001-03-05 Thread Adrian Levi
running 2.2.18 on a AMD486DX4 - 120 with 34Mb Ram running RH6.2 I obtained these errors while trying to copy files from a burnt CD. Mar 6 10:13:33 lefty kernel: hdb: command error: status=0x51 { DriveReady SeekComplete Error } Mar 6 10:13:33 lefty kernel: hdb: command error: error=0x54 Mar 6

Re: scsi vs ide performance on fsync's

2001-03-05 Thread Douglas Gilbert
Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Linus Torvalds wrote: > Well, it's entirely possible that the mid-level SCSI layer is doing > something horribly stupid. Well it's in good company as FreeBSD 4.2 on the same hardware returns the same result

2.4.2 ext2 filesystem corruption ? (was 2.4.2: What happened ? (No such file or directory))

2001-03-05 Thread Frédéric L. W. Meunier
Hi. After a reboot I had to manually run fsck (sulogin from sysinit script) since there were failures. In my second (and problematic) boot with 2.4.2 I used the option mount --bind in my sysinit script to mount the old /dev in /dev-old before devfs was mounted, so I could get rid of all entries

Kernel 2.4.3 and new aic7xxx

2001-03-05 Thread Rafael E. Herrera
This is just to report on a the behavior of this driver. I've a dual channel Adaptec 7895 controller. The adapter BIOS is configured to boot from devices in channel B. I boot from a disk connected to channel B and when the kernel loads the driver the disks from channel A are seen first,

Re: kmalloc() alignment

2001-03-05 Thread H. Peter Anvin
Alan Cox wrote: > > > > It might be worth asking the question if larger blocks are more > > > aligned? > > > > OK, I'll bite... > > Are larger blocks more aligned? > > Only get_free_page() > I wonder if it would be practical/reasonable to guarantee better alignment for larger allocations (at

Re: How-To for PPPoE in v2.4.x?

2001-03-05 Thread Jeremy Jackson
[EMAIL PROTECTED] wrote: > Is there a How-To for getting the Linux v2.4.x PPPoE support to work? > I've searched for info but have mostly found sketchy references on getting > PPPoE to work with the v2.2 kernel. > I have been using PPPoE in the 2.4.0 kernel for about 2 months now. It's very

Re: SLAB vs. pci_alloc_xxx in usb-uhci patch

2001-03-05 Thread David S. Miller
Russell King writes: > A while ago, I looked at what was required to convert the OHCI driver > to pci_alloc_consistent, and it turns out that the current interface is > highly sub-optimal. It looks good on the face of it, but it _really_ > does need sub-page allocations to make sense for

Re: scsi vs ide performance on fsync's

2001-03-05 Thread Linus Torvalds
On Tue, 6 Mar 2001, Jonathan Morton wrote: > > It's pretty clear that the IDE drive(r) is *not* waiting for the physical > write to take place before returning control to the user program, whereas > the SCSI drive(r) is. This would not be unexpected. IDE drives generally always do write

Console driver and printing

2001-03-05 Thread Nicolas Cadou
Hi, I would like to know if know if there is any support for printing in the console driver. I mean, can the console receive from an application an mc4/mc5 sequence as defined in a terminfo entry and print what was sent in between? If so is there any way to configure the device to which the data

Re: Linux 2.4.2-ac12

2001-03-05 Thread Linus Torvalds
In article <[EMAIL PROTECTED]>, Scott M. Hoffman <[EMAIL PROTECTED]> wrote: > > It may not be related, but out of five boot attempts, only one got past >the IDE driver stage(ie, below from 2.4.2 : > VP_IDE: IDE controller on PCI bus 00 dev 39 > VP_IDE: chipset revision 16 > VP_IDE: not 100%

Re: sk_buff in 2.4.0

2001-03-05 Thread Sourav Sen
In the patch by David S. Miller, copy_from_user() is still there (Line 14360 in zerocopy-2.4.0-1.diff). So which copy is reduced? Can anyone explain kindly. thanks sourav On Mon, 5 Mar 2001, Albert D. Cahalan wrote: > > My question is: Is the state of the art same in 2.4.0, ie. is > >

bug report on Linux 2.4.0

2001-03-05 Thread Ko-Jen Shih
I submit this report with two configurations: 2.4.0.4 has been running perfect while 2.4.0.5 caused compilation problems recorded in the report. Ko-Jen Shih Middletown, NJ ld -m elf_i386 -r -o sched.o sch_generic.o make[3]: Leaving directory `/root/linux-2.4.0/linux/net/sched' make[2]:

Re: Linux 2.4.3

2001-03-05 Thread Linus Torvalds
In article <[EMAIL PROTECTED]>, Richard B. Johnson <[EMAIL PROTECTED]> wrote: > >I -- S T R O N G L Y -- suggest that nobody use this kernel with >a BusLogic SCSI controller until this problem is fixed. Ho humm.. Anybody who has any ideas or input, please holler. There are no actual BusLogic

Re: Linux 2.4.2-ac12

2001-03-05 Thread Scott M. Hoffman
On Mon, 5 Mar 2001, Richard B. Johnson wrote: > > Attempts to run linux-2.4.3-pre2 on chaos.analogic.com results > in **MASSIVE** file-system destruction. I have (had) all SCSI > disks, using the BusLogic controller. > > There is something **MAJOR** going on BAD, BAD, BAD, even disks > that were

Re: scsi vs ide performance on fsync's

2001-03-05 Thread Jonathan Morton
I've run the test on my own system and noted something interesting about the results: When the write() call extended the file (rather than just overwriting a section of a file already long enough), the performance drop was seen, and it was slower on SCSI than IDE - this is independent of whether

[PATCH] Re: 3c509 2.4.2-ac12 compilation fails

2001-03-05 Thread Jeff Garzik
Alan Cox wrote: > > > /me begins to download and merge ac12... > > It built for me too Found it -- 3c509 bug of a different sort. You don't notice if CONFIG_ISAPNP is a module... only if its built into the kernel. That code is not conditional on CONFIG_ISAPNP_MODULE, only CONFIG_ISAPNP.

Re: Linux 2.4.3

2001-03-05 Thread Mike Fedyk
"Richard B. Johnson" wrote: > > Attempts to run linux-2.4.3-pre2 on chaos.analogic.com results ... > I -- S T R O N G L Y -- suggest that nobody use this kernel with > a BusLogic SCSI controller until this problem is fixed. > > This is being sent from another machine, not on the list

Re: Kernel support for hot-plugging PCI adapters

2001-03-05 Thread Jeff Garzik
Duane Grigsby wrote: > Any plans to add support or is there support in the 2.4 kernel for > hot-plugging a PCI adapter? It may be in the sources already, but I can't > seem to locate it. Any help would be appreciated. For devices, the support is already there. See Documentation/pci.txt. Look

Re: Linux 2.4.2ac12

2001-03-05 Thread Alexander Viro
On Tue, 6 Mar 2001, Alan Cox wrote: > > Yuck. Build-dependency on libdb-dev is not pretty. What is it used for, > > anyway? Assembler in need of libdb. Mind boggleth... > > Could it perhaps be persuaded to use Tridge's tdb, which at < 1000 lines could > simply be included with it... Alan,

Linux 2.4.3

2001-03-05 Thread Richard B. Johnson
Attempts to run linux-2.4.3-pre2 on chaos.analogic.com results in **MASSIVE** file-system destruction. I have (had) all SCSI disks, using the BusLogic controller. There is something **MAJOR** going on BAD, BAD, BAD, even disks that were not mounted got trashed. This is (was) a 400MHz SMP

Re: scsi vs ide performance on fsync's

2001-03-05 Thread Linus Torvalds
On Mon, 5 Mar 2001, Jeremy Hansen wrote: > > Right now I'm running 2.4.2-ac11 on both machines and getting the same > results: > > SCSI: > > [root@orville /root]# time /root/xlog file.out fsync > > real0m21.266s > user0m0.000s > sys 0m0.310s > > IDE: > > [root@kahlbi /root]#

Re: binfmt_script and ^M

2001-03-05 Thread Richard B. Johnson
On Mon, 5 Mar 2001, Robert Read wrote: > On Mon, Mar 05, 2001 at 07:58:52PM +0100, Pozsar Balazs wrote: > > > > And what does POSIX say about "#!/bin/sh\r" ? > > In other words: should the kernel look for the interpreter between the ! > > and the newline, or [the first space or newline] or the

Re: Linux 2.4.2ac12

2001-03-05 Thread Alan Cox
> May be. But it's not a reason to use the _OBSOLETE_ library. At least the > current one should be used... > > Here comes the patch to use current libdb-3... Not all vendors ship db3. I'm not sure its a stunning improvement, but its the right first step. Will apply - To unsubscribe from this

Re: IDE trouble under 2.2.19pre16 with Hedrick's IDE patch

2001-03-05 Thread Mike Fedyk
Shane Wegner wrote: > > Hi, > > Whenever I write a substantial amount of data (200mb) to > disk, I get these messages. The disks lock for about 10 > seconds and then come back for about 10 seconds again. > This continues until the data is successfully written. > > ide_dmaproc: chipset

Re: scsi vs ide performance on fsync's

2001-03-05 Thread Jeremy Hansen
On 2 Mar 2001, Linus Torvalds wrote: > In article <[EMAIL PROTECTED]>, > Jeremy Hansen <[EMAIL PROTECTED]> wrote: > > > >The SCSI adapter on the raid array is an Adaptec 39160, the raid > >controller is a CMD-7040. Kernel 2.4.0 using XFS for the filesystem on > >the raid array, kernel 2.2.18

Re: kmalloc() alignment

2001-03-05 Thread Alan Cox
> > It might be worth asking the question if larger blocks are more > > aligned? > > OK, I'll bite... > Are larger blocks more aligned? Only get_free_page() Alan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

Re: Linux 2.4.2ac12

2001-03-05 Thread Sergey Kubushin
On Tue, 6 Mar 2001, Alan Cox wrote: > > On Mon, 5 Mar 2001, Alexander Viro wrote: > > > > New Adaptec driver does not build. It won't. People, can anyone > enlighten me > > why do we use a user space library for a kernel driver at all? > > aicasm is an assembler for the aic7xxx risc instruction

Re: SLAB vs. pci_alloc_xxx in usb-uhci patch

2001-03-05 Thread Alan Cox
> At the time, I didn't feel like creating a custom sub-allocator just > for USB, and since then I haven't had the inclination nor motivation > to go back to trying to get my USB mouse or iPAQ communicating via USB. > (I've not used this USB port for 3 years anyway). > > I'd be good to get it

Re: Linux 2.4.2ac12

2001-03-05 Thread Alan Cox
> Yuck. Build-dependency on libdb-dev is not pretty. What is it used for, > anyway? Assembler in need of libdb. Mind boggleth... Could it perhaps be persuaded to use Tridge's tdb, which at < 1000 lines could simply be included with it... - To unsubscribe from this list: send the line

Re: Linux 2.4.2ac12

2001-03-05 Thread Alan Cox
> On Mon, 5 Mar 2001, Alexander Viro wrote: > > New Adaptec driver does not build. It won't. People, can anyone enlighten me > why do we use a user space library for a kernel driver at all? aicasm is an assembler for the aic7xxx risc instruction code, not part of the driver - To unsubscribe

Re: continous hard disk trashing and error messages - 2.4.2-ac5

2001-03-05 Thread Alan Cox
> For the kernel 2.4.2 with the patch 2.4.2-ac5 patch, I have been getting continous >hard disk trashing and the following errors in the /var/log/messages. I increased the >console log level to avoid the messages. Please see below a sample set > Mar 5 12:15:59 amitc-linux mount: mount: can't

Re: [jford@tusc.net: LUNA: Megaraid problems]

2001-03-05 Thread Alan Cox
> Works great with kernel 2.2.16. Worked great up to kernel 2.3.99-test8 or > so. However under the current 2.4.x kernels (2.4.0, 2.4.1, 2.4.2) I get > the following message: Please test 2.4.2ac12. That has a much cleaned up megaraid.c 1.14g in it. I'd like feedback before handing it on to

Re: Patch to ymfpci from ALSA 0.99

2001-03-05 Thread Peter Zaitcev
> From: Alan Cox <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] (Peter Zaitcev) > Date: Mon, 5 Mar 2001 20:46:32 -0500 (EST) > > -static unsigned long int DspInst[] = { > > +static unsigned long DspInst[YDSXG_DSPLENGTH / 4] = { > > 0x0081, 0x01a4, 0x000a, 0x002f, > >

Re: Patch to ymfpci from ALSA 0.99

2001-03-05 Thread Alan Cox
> -static unsigned long int DspInst[] = { > +static unsigned long DspInst[YDSXG_DSPLENGTH / 4] = { > 0x0081, 0x01a4, 0x000a, 0x002f, > 0x00080253, 0x01800317, 0x407b, 0x843f, This seems wrong (actually I suspect its a continuation of wrongness. What about

Re: 3c509 2.4.2-ac12 compilation fails

2001-03-05 Thread Alan Cox
> /me begins to download and merge ac12... It built for me too - 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

Kernel support for hot-plugging PCI adapters

2001-03-05 Thread Duane Grigsby
Any plans to add support or is there support in the 2.4 kernel for hot-plugging a PCI adapter? It may be in the sources already, but I can't seem to locate it. Any help would be appreciated. Thanks, Duane Grigsby - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: Looking for best resource for device driver programmers

2001-03-05 Thread Peter Samuelson
[Steven Friedrich] > The questions I have are difficult to research because so little info > exists about 2.4 design philosophy. I guess the ORA "Linux Device Drivers" 2nd edition is due out Real Soon Now. It will cover 2.4. Peter - To unsubscribe from this list: send the line "unsubscribe

How-To for PPPoE in v2.4.x?

2001-03-05 Thread steve . snyder
Is there a How-To for getting the Linux v2.4.x PPPoE support to work? I've searched for info but have mostly found sketchy references on getting PPPoE to work with the v2.2 kernel. My system is running RedHat v6.2 and the v2.4.2 Linux kernel. I've built PPP and PPPoE support into the

Re: continous hard disk trashing and error messages - 2.4.2-ac5

2001-03-05 Thread SteveC
On Mon, 5 Mar 2001, Amit Chaudhary wrote: > For the kernel 2.4.2 with the patch 2.4.2-ac5 patch, I have been getting continous >hard disk trashing and the following errors in the /var/log/messages. I increased the >console log level to avoid the messages. Please see below a sample set > Mar 5

Re: kmalloc() alignment

2001-03-05 Thread Kenn Humborg
On Mon, Mar 05, 2001 at 04:15:36PM -0800, H. Peter Anvin wrote: > > So, to summarise (for 32-bit CPUs): > > > > o Alan Cox & Manfred Spraul say 4-byte alignment is guaranteed. > > > > o If you need larger alignment, you need to alloc a larger space, > >round as necessary, and keep the

Patch to ymfpci from ALSA 0.99

2001-03-05 Thread Peter Zaitcev
Hello: the patch does not fix the buzzing, but it does not hurt either. And the way we loaded the microcode before was seriously wrong. Please look. -- Pete diff -ur -X dontdiff linux-2.4.2/drivers/sound/ymfpci.c linux-2.4.2-p3/drivers/sound/ymfpci.c --- linux-2.4.2/drivers/sound/ymfpci.c

Re: scsi vs ide performance on fsync's

2001-03-05 Thread Douglas Gilbert
Since the intention of fsync and fdatasync seems to be to write dirty fs buffers to persistent storage (i.e. the "oxide") then the best time is not necessarily the objective. Given the IDE times that people have been reporting, it is very unlikely that any of those IDE disks were really doing

Re: kmalloc() alignment

2001-03-05 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:Kenn Humborg <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > On Sun, Mar 04, 2001 at 11:41:12PM +0100, Manfred Spraul wrote: > > > > > > Does kmalloc() make any guarantees of the alignment of allocated > > > blocks? Will the returned block

Re: kmalloc() alignment

2001-03-05 Thread Kenn Humborg
On Sun, Mar 04, 2001 at 11:41:12PM +0100, Manfred Spraul wrote: > > > > Does kmalloc() make any guarantees of the alignment of allocated > > blocks? Will the returned block always be 4-, 8- or 16-byte > > aligned, for example? > > > > 4-byte alignment is guaranteed on 32-bit cpus, 8-byte

USAGI IPv6 patches

2001-03-05 Thread Brian May
Hello, I wondered if there are any long term plans to merge the USAGI IPv6 kernel patches into Linux? See http://www.linux-ipv6.org/> Background: Currently, if my sources on debian-ipv6 are correct, it is not possible to create a IPv6 server that is not broken, as getaddrinfo returns both

Re: 3c509 2.4.2-ac12 compilation fails

2001-03-05 Thread Jeff Garzik
Greg Louis wrote: > gcc -D__KERNEL__ -I/usr/src/linux-2.4.2ac12/include -Wall > -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe > -march=i686-c -o 3c509.o 3c509.c > 3c509.c: In function 'el3_probe': > 3c509.c:330: structure has no member named 'name' hrm, I wonder if

Re: Linux 2.4.2ac12

2001-03-05 Thread Jeff Garzik
Sergey Kubushin wrote: > I _DO_ know what db1 stands for. And we do _NOT_ have db1 in our > distribution, KSI Linux. And we are _NOT_ going to build the obsolete > library with all the accompanied development stuff just to be able to make > some tool required to build exactly ONE kernel driver.

Re: Linux 2.4.2ac12

2001-03-05 Thread J . A . Magallon
On 03.06 Sergey Kubushin wrote: > On Mon, 5 Mar 2001, J . A . Magallon wrote: > > > What that line does is to build a tool (aicasm) to generate the ucode > > that > > is built into the kernel (afaik, it is a kind of assembler from a > > language > > to AIC sequencer code). That is, the tool

ramfs & a_ops->truncatepage()

2001-03-05 Thread Rajagopal Ananthanarayanan
I'm looking at this part of 2.4.2-ac8: diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.4.0/mm/filemap.c linux.ac/mm/filemap.c --- linux-2.4.0/mm/filemap.cWed Jan 3 02:59:45 2001 +++ linux.ac/mm/filemap.c Thu Jan 11 17:26:55 2001 @@ -206,6 +206,9 @@ if

Re: SLAB vs. pci_alloc_xxx in usb-uhci patch

2001-03-05 Thread Russell King
On Mon, Mar 05, 2001 at 02:52:24PM -0800, David Brownell wrote: > I didn't see that thread. I agree, pci_alloc_consistent() already has > a signature that's up to the job. The change you suggest would need > to affect every architecture's implementation of that code ... which > somehow seems

Re: Linux 2.4.2ac12

2001-03-05 Thread Sergey Kubushin
On Mon, 5 Mar 2001, Jeff Garzik wrote: > Amazingly you've hit one of the few problems caused by something > outside > the kernel tree. db v1.85 has been superceded by db2 and db3. db1 is > where the "original" Berkeley db stuff now lives. Apparently aicasm > needs db 1. > > So, update your

3c509 2.4.2-ac12 compilation fails

2001-03-05 Thread Greg Louis
gcc -D__KERNEL__ -I/usr/src/linux-2.4.2ac12/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -march=i686-c -o 3c509.o 3c509.c 3c509.c: In function 'el3_probe': 3c509.c:330: structure has no member named 'name' make[3]: *** [3c509.o] Error 1 make[3]:

Re: Linux 2.4.2ac12

2001-03-05 Thread Sergey Kubushin
On Mon, 5 Mar 2001, J . A . Magallon wrote: > What that line does is to build a tool (aicasm) to generate the ucode > that > is built into the kernel (afaik, it is a kind of assembler from a > language > to AIC sequencer code). That is, the tool uses db1 (as mkdep.c uses > glibc) > but once you

Re: Linux 2.4.2ac12

2001-03-05 Thread Alexander Viro
On Mon, 5 Mar 2001, J . A . Magallon wrote: > > On 03.05 Sergey Kubushin wrote: > > On Mon, 5 Mar 2001, Alexander Viro wrote: > > > > New Adaptec driver does not build. It won't. People, can anyone enlighten me > > why do we use a user space library for a kernel driver at all? > > > > gcc

Re: Linux 2.4.2ac12

2001-03-05 Thread Jeff Garzik
Sergey Kubushin wrote: > === Cut === > make -C aic7xxx modules > make[3]: Entering directory >`/tmp/build-kernel/usr/src/linux-2.4.2ac12/drivers/scsi/aic7xxx' > make -C aicasm > make[4]: Entering directory >`/tmp/build-kernel/usr/src/linux-2.4.2ac12/drivers/scsi/aic7xxx/aicasm' > gcc

Re: d_add on negative dentry?

2001-03-05 Thread Alexander Viro
On Tue, 6 Mar 2001, Urban Widmark wrote: > > Is it valid to call d_add on a negative dentry? > (or on a dentry that is already linked in d_hash, but all negative > dentries are, right?) Not all of them. It _is_ legal to do d_add() on a negative dentry. Doing that for hashed dentries is a

d_add on negative dentry?

2001-03-05 Thread Urban Widmark
Is it valid to call d_add on a negative dentry? (or on a dentry that is already linked in d_hash, but all negative dentries are, right?) I'm guessing it isn't because I think that is how I can get my machine to hang in d_lookup, looping on a corrupt d_hash list. The problem can be reproduced

Re: SLAB vs. pci_alloc_xxx in usb-uhci patch

2001-03-05 Thread David Brownell
> > And mm/slab.c changes semantics when CONFIG_SLAB_DEBUG > > is set: it ignores SLAB_HWCACHE_ALIGN. That seems more like > > the root cause of the problem to me! > > HWCACHE_ALIGN does not guarantee a certain byte alignment. And > additionally it's not even guaranteed that kmalloc() uses that

Re: Linux 2.4.2ac12

2001-03-05 Thread J . A . Magallon
On 03.05 Sergey Kubushin wrote: > On Mon, 5 Mar 2001, Alexander Viro wrote: > > New Adaptec driver does not build. It won't. People, can anyone enlighten me > why do we use a user space library for a kernel driver at all? > > gcc -I/usr/include -ldb1 aicasm_gram.c aicasm_scan.c aicasm.c

Re: Linux 2.4.2ac12

2001-03-05 Thread Sergey Kubushin
On Mon, 5 Mar 2001, Alexander Viro wrote: New Adaptec driver does not build. It won't. People, can anyone enlighten me why do we use a user space library for a kernel driver at all? === Cut === make -C aic7xxx modules make[3]: Entering directory

Re: binfmt_script and ^M

2001-03-05 Thread Robert Read
On Mon, Mar 05, 2001 at 10:05:36PM +0100, Pozsar Balazs wrote: > On Mon, 5 Mar 2001, Robert Read wrote: > > On Mon, Mar 05, 2001 at 07:58:52PM +0100, Pozsar Balazs wrote: > > > > > > And what does POSIX say about "#!/bin/sh\r" ? > > > In other words: should the kernel look for the interpreter

Re: Loop stuck in -D state

2001-03-05 Thread davidge
On Mon, 5 Mar 2001, Jeff Garzik wrote: >... > > 2.4.3-pre2 should be the one to test... it should include the latest > loop fixes.. > For what I've tested, 2.4.3-pre2 works fine with the loop device. David Gómez "The question of whether computers can think is just like the question of

Re: problems installing the kernel 2.4 (fwd)

2001-03-05 Thread davidge
On Mon, 5 Mar 2001, Tania Gomes Ramos wrote: Have you updated your modutils? Maybe that's why it's not working your network adapter. If you didn't, take a look at /usr/src/linux/Documentation/Changes to find out with versions do you need to run a 2.4 kernel. > > >First of all, thanks for

Re: Linux-2.4.2ac12

2001-03-05 Thread Steven Cole
It appears that with 2.4.2-ac12, we now have more than 2000 kernel configuration options. Using the options_linux script which I posted earlier today, I get the following: [steven@spc linux]$ sh scripts/options_linux | wc -l 2008 Compare to 2.2.18: [root@spc linux-2.2.18]# sh

continous hard disk trashing and error messages - 2.4.2-ac5

2001-03-05 Thread Amit Chaudhary
Hi, For the kernel 2.4.2 with the patch 2.4.2-ac5 patch, I have been getting continous hard disk trashing and the following errors in the /var/log/messages. I increased the console log level to avoid the messages. Please see below a sample set Mar 5 12:15:59 amitc-linux mount: mount: can't

Re: PATCH 2.4.0 parisc PCI support

2001-03-05 Thread Grant Grundler
Ivan Kokshaysky wrote: > On Fri, Mar 02, 2001 at 11:32:35AM -0800, Grant Grundler wrote: > > Code in parisc-linux CVS (based on 2.4.0) does boot on my OB800 > > (133Mhz Pentium), C3000, and A500 with PCI-PCI bridge support > > working. I'm quite certain PCI-PCI bridge configuration (ie BIOS > >

Re: [OFFTOPIC] Hardlink utility - reclaim drive space

2001-03-05 Thread David Schleef
On Mon, Mar 05, 2001 at 07:17:18PM +, Padraig Brady wrote: > Hmm.. useful until you actually want to modify a linked file, > but then your modifying the file in all "merged" trees. Use emacs, because you can configure it to do something appropriate with linked files. But for those of us

Re: SLAB vs. pci_alloc_xxx in usb-uhci patch

2001-03-05 Thread Manfred Spraul
> And mm/slab.c changes semantics when CONFIG_SLAB_DEBUG > is set: it ignores SLAB_HWCACHE_ALIGN. That seems more like > the root cause of the problem to me! > HWCACHE_ALIGN does not guarantee a certain byte alignment. And additionally it's not even guaranteed that kmalloc() uses that

Re: anti-spam regexps

2001-03-05 Thread Rik van Riel
On Mon, 5 Mar 2001 [EMAIL PROTECTED] wrote: > >I think I could even setup something where we keep the > >anti-spam regexps in a publicly accessible CVS tree (with > >of course a nice script to automatically generate the > >majordomo.cf). > > Cool. Sooner or later, some fun-loving script-kiddie

Re: [jford@tusc.net: LUNA: Megaraid problems]

2001-03-05 Thread Matt Domsch
Consider trying the megaraid driver megaraid.[ch] in 2.4.2-ac11 and above. It's v1.14g-ac. Thanks, Matt -- Matt Domsch Dell Linux Systems Group Linux OS Development www.dell.com/linux - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: Linux 2.4.2ac12

2001-03-05 Thread John Silva
I've used 82c686a at UDMA66 on MSI 694D with WD418000 and standard UDMA66 18" cables quite successfully. David Riley wrote: > Alan Cox wrote: > > 2.4.2-ac12 > > o Update VIA IDE driver to 3.21 (Vojtech Pavlik) > > |No UDMA66 on 82c686 > > Um... Does that include

Re: binfmt_script and ^M

2001-03-05 Thread Dr. Kelsey Hudson
On Mon, 5 Mar 2001, John Kodis wrote: > On Mon, Mar 05, 2001 at 08:40:22AM -0500, Richard B. Johnson wrote: > > > Somebody must have missed the boat entirely. Unix does not, never > > has, and never will end a text line with '\r'. > > Unix does not, never has, and never will end a text line

[PATCH] mad16 C924 detection

2001-03-05 Thread Pavel Rabel
Patch is replacing 7 levels of nested ifs with something readable. Against 2.4 kernels. I have posted this one already once, trying again. The driver doesn't support C924 in both PnP and non-PnP modes as it claims. It looks like part of the code got lost or was not finished. This patch makes it

Re: Question about IRQ_PENDING/IRQ_REPLAY

2001-03-05 Thread Benjamin Herrenschmidt
>We have about 12 interrupt controllers we end up using on PPC. I'm >suspicious of any effort to base Linux/PPC generic interrupt control code >paths on a software architecture that's been tested with 3. More to the >point, we get ASIC's that roll in a standard interrupt controller and add

Re: Question about IRQ_PENDING/IRQ_REPLAY

2001-03-05 Thread Benjamin Herrenschmidt
>And I seriously doubt that PPC SMP irq handling has gotten _nearly_ the >amount of testing and hard work that the x86 counterpart has. Things >like support for CPU affinity, per-irq spinlocks, etc etc. Some of those are the reason I moved part of the x86 irq.c code to PPC indeed. >Now, I'm not

Re: Can Linux 2.4.x boot from UDMA-100 disk ?

2001-03-05 Thread John Silva
I am doing this very thing on linux 2.2.18. My kernel has both the hd.c and ide.c drivers installed. I had to specify ide0=0x1f0 to the kernel to prevent the kernel's hd.c driver from remapping the first two drives to hda/hdb. With the ide0 setting the kernel preserves the true partition

[jford@tusc.net: LUNA: Megaraid problems]

2001-03-05 Thread Matthew Fredrickson
I have a machine with a built-in Adaptec aic7xxx card and a Megaraid PCI card. My system (raid 5) boots off the Megaraid. For this to work I compiled the Megaraid module into the kernel while the aic7xxx loads as a module. dmesg shows the following: megaraid: v107 (December 22, 1999)

Re: Linux 2.4.2ac12

2001-03-05 Thread David Riley
Alan Cox wrote: > 2.4.2-ac12 > o Update VIA IDE driver to 3.21 (Vojtech Pavlik) > |No UDMA66 on 82c686 Um... Does that include 686a? 82c686a is supposed to handle UDMA66... Or is it a corruption issue again? UDMA66 seems to work fine on mine... No corruptions

OOPS in 2.2.18-14mdk RAID code

2001-03-05 Thread John Silva
I recieved this oops after rearranging my SMP system to include a large (>100GB) raid5 array and copying approximately 15GB to it. The array was still synchronizing at the time. Motherboard is MSI 694D. RAID array in question is attached to the Promise 20265 chipset. No drives were attached

problems installing the kernel 2.4 (fwd)

2001-03-05 Thread Tania Gomes Ramos
First of all, thanks for helping me... I have noticed that after I have installed the new version of kernel (2.4.2),I am having some problems... After compiling everything, and making the make install_modules, I have the message that there is nothing to be done in the directories... But,

[OT] ncpfs (was Re: [acme@conectiva.com.br: Re: mke2fs /dev/...)

2001-03-05 Thread Petr Vandrovec
On 5 Mar 01 at 15:05, [EMAIL PROTECTED] wrote: > > What is the current version of ncpfs, and where can it be found? The most > recent I could find (at www.ibiblio.org) was ncpfs-2.2.0 which dates back to May > 1998, and I ran into the problem with select when trying to compile it on a >

Re: Linux 2.4.2ac12

2001-03-05 Thread Alexander Viro
On Mon, 5 Mar 2001, Alan Cox wrote: > o Fix binfmt_misc (and make the proc handling (Al Viro) > |a filesystem - > |mount -t binfmt_misc none /proc/sys/fs/binfmt_misc One comment: probably the best way to maintain backwards compatibility for people who used binfmt_misc as a

Re: binfmt_script and ^M

2001-03-05 Thread Andries . Brouwer
> And what does POSIX say about "#!/bin/sh\r" ? Nothing at all. The #! construction is not part of any standard right now. The implementation is messy - different operating systems do vaguely similar things, but all details differ. Linux can do whatever it wants. Of course it helps portability

Re: [acme@conectiva.com.br: Re: mke2fs /dev/loop0]

2001-03-05 Thread Wayne . Brown
What is the current version of ncpfs, and where can it be found? The most recent I could find (at www.ibiblio.org) was ncpfs-2.2.0 which dates back to May 1998, and I ran into the problem with select when trying to compile it on a current system. I got it to work by compiling it on an old

Re: binfmt_script and ^M

2001-03-05 Thread Pozsar Balazs
On Mon, 5 Mar 2001, Robert Read wrote: > On Mon, Mar 05, 2001 at 07:58:52PM +0100, Pozsar Balazs wrote: > > > > And what does POSIX say about "#!/bin/sh\r" ? > > In other words: should the kernel look for the interpreter between the ! > > and the newline, or [the first space or newline] or the

Re: usb-storage log verbosity

2001-03-05 Thread Matthew Dharm
Umm.. all the printk's are inclosed with the ifdef, courtsey of a little bit of #define magic. I use it all the time (after all, I'm the maintainer), and when I want it to shut up, it shuts up. Are you sure you recompiled and installed properly? Re-ran 'make dep'? I've had reports of this

Re: Question about IRQ_PENDING/IRQ_REPLAY

2001-03-05 Thread Cort Dougan
We have about 12 interrupt controllers we end up using on PPC. I'm suspicious of any effort to base Linux/PPC generic interrupt control code paths on a software architecture that's been tested with 3. More to the point, we get ASIC's that roll in a standard interrupt controller and add some

Re: 2.4.2 broke in-kernel ide_cs support

2001-03-05 Thread Trevor Hemsley
On Mon, 5 Mar 2001 08:14:42, Pavel Machek <[EMAIL PROTECTED]> wrote: > > I do not yet know details, but it worked in 2.4.1 and it does not work > now: > > Mar 5 09:12:05 bug cardmgr[69]: initializing socket 1 > Mar 5 09:12:05 bug cardmgr[69]: socket 1: ATA/IDE Fixed Disk > Mar 5 09:12:05

Re: 2.4.2 broke in-kernel ide_cs support

2001-03-05 Thread Arjan van de Ven
In article <[EMAIL PROTECTED]> you wrote: > Hi! > I do not yet know details, but it worked in 2.4.1 and it does not work > now: > Mar 5 09:12:05 bug cardmgr[69]: initializing socket 1 > Mar 5 09:12:05 bug cardmgr[69]: socket 1: ATA/IDE Fixed Disk > Mar 5 09:12:05 bug cardmgr[69]: module

Linux 2.4.2ac12

2001-03-05 Thread Alan Cox
ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/ 2.4.2-ac12 o Move the pci_enable_device for cardbus (David Hinds) o Add Sony MSC-U01N to the unusual devices(Marcel Holtmann) o Final smc-mca fixups - should now work (James Bottomley) o

sk_buff in 2.4.0

2001-03-05 Thread Sourav Sen
Hi, As far as I understand, in 2.2.x networking code the protocol header and data used to reside in a contiguous region in memory(pointed to by the head, data, tail, end of sk_buff struct), ie skb->data is the starting point and skb->tail is the ending point. |

Re: Index of Kernel Configuration Options

2001-03-05 Thread Steven Cole
I'm not currently on the lkml list here, so I apologize if my cut and past reply messes up someone's threaded mail reader. AJF75 wrote: >Does anyone know whereabouts I could go to get an index of all >configurations options (i.e. drivers, etc.) that are available in the >latest Linux kernel? I

  1   2   3   4   >