Re: Problems with reiserfs

2001-02-23 Thread hugang
Patrick Mackinlay : If your use redhat 7.0 ;Your will check the kernel "Makefile" ,change the gcc to kgcc , Try again ! Update the gcc from http://www.redhat.com/ > <_EIP>: >Code; d2cf9db8 <[reiserfs]create_virtual_node+298/490> <= > 0: 8b 40 14

Re: binfmt-464c and 2.4.1

2001-02-23 Thread Peter Samuelson
[Drew Bertola] > Feb 23 20:48:24 babylon modprobe: modprobe: Can't locate module binfmt-464c > Although I've looked through the documentation, I can't find any > reference to binfmt-464c. binfmt-464c is ELF -- it means your kernel came across an ELF executable and was unable to execute it so it

Re: PROBLEM: loopback block device freezes mount

2001-02-23 Thread Peter Samuelson
[Jon Hart] > 1. I am unable to mount loopback block devices using kernel 2.4.2. Apparently fixed in -ac3. Peter - 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.h

PROBLEM: loopback block device freezes mount

2001-02-23 Thread Jon Hart
Per /usr/src/linux/REPORTING-BUGS... 1. I am unable to mount loopback block devices using kernel 2.4.2. 2. Using the 2.4.2 kernel, the mount command freezes while trying to mount /dev/loop0. Further, the mount command will not die even with kill -9. I have not experienced this problem in kerne

Re: reiserfs: still problems with tail conversion

2001-02-23 Thread Meino Christian Cramer
From: Michal Gornisiewicz <[EMAIL PROTECTED]> Subject: Re: reiserfs: still problems with tail conversion Date: Sat, 24 Feb 2001 10:52:07 +0800 Message-ID: <[EMAIL PROTECTED]> I'm running 2.4.2ac3 and tried also the reisertest program. No problems here... The created files are all of 8192 bytes.

Re: [rfc] Near-constant time directory index for Ext2

2001-02-23 Thread Ralph Loader
Andries, > > int hash_fn (char * p) > > { > > int hash = 0; > > while (*p) { > > hash = hash + *p; > > // Rotate a 31 bit field 7 bits: > > hash = ((hash << 7) | (hash >> 24)) & 0x7fff; > > } > > return hash; > > } > > Hmm. This one goes in the "catastrophic" catego

Re: APM suspend system lockup under 2.4.2 and 2.4.2ac1

2001-02-23 Thread bradley mclain
i thought that it was my network driver (xircom), but i recompiled 2.4.2 without sound support and apm --suspend has begun to work again. the sound card is a yamaha YMF-744B. i hadn't been compiling with sound support (i dont care about sound on my laptop), but when i got 2.4.2 i decided to try,

Re: APM suspend system lockup under 2.4.2 and 2.4.2ac1

2001-02-23 Thread bradley mclain
i thought that it was my network driver, but i recompiled 2.4.2 without sound support and apm --suspend has begun to work again. the sound card is a yamaha YMF-744B. i hadn't been compiling with sound support (i dont care about sound on my laptop), but when i got 2.4.2 i decided to try, and now

Re: Linux 2.4.1-ac15

2001-02-23 Thread Andrea Arcangeli
This new one should be better. Using the spinlock for the SMP serialization is ok because that's an extremely slow path. diff -urN -X /home/andrea/bin/dontdiff 2.4.2/arch/i386/mm/fault.c 2.4.2aa/arch/i386/mm/fault.c --- 2.4.2/arch/i386/mm/fault.c Thu Feb 22 03:44:53 2001 +++ 2.4.2aa/arch/i386/m

Felicidades y bienvenido a dobleU.com!

2001-02-23 Thread info
Para quienes trabajamos en dobleU es un gusto informarte que tu sitio http://www.mazingerz.org ha sido agregado a nuestro directorio por haber cumplido con estandares estrictos de calidad. La certificacion dobleU se otorga unicamente a aquellos sitios que, despues de ser evaluados por nuestro

binfmt-464c and 2.4.1

2001-02-23 Thread Drew Bertola
I've noticed this in my logfile: Feb 23 20:48:24 babylon modprobe: modprobe: Can't locate module binfmt-464c Although I've looked through the documentation, I can't find any reference to binfmt-464c. Can anyone point me in the right direction? -- Drew Bertola | Send a text message to my pag

Re: Need help as a Linux newcomer

2001-02-23 Thread Rik van Riel
On Fri, 23 Feb 2001, Dwayne C. Litzenberger wrote: > I tried asking this before; never got an answer. > > I suggest you just spend 20 hours or so figuring out the basic structure of > the kernel sources. It's a long run, but you'll be happy once you do. OK, I hate to CC all these lists, but I g

Re: Linux 2.4.1-ac15

2001-02-23 Thread Andrea Arcangeli
On Fri, Feb 23, 2001 at 01:09:02PM -0800, Linus Torvalds wrote: > > > On Fri, 23 Feb 2001, Andrea Arcangeli wrote: > > > > I think that can't happen. Infact I think the whole section: > > > > pmd = pmd_offset(pgd, address); > > pmd_k = pmd_offset(pgd_k, address); > > >

[PATCH] partitions/ibm.c

2001-02-23 Thread Guest section DW
Reading patch-2.4.2 I met a strange amount of crap in partitions/ibm.c. It is as if the author does not know where the kernel keeps the starting offset of a partition, and simulates a HDIO_GETGEO ioctl from user space. I think the following patch does the same and removes a lot of cruft. (Warning:

Re: reiserfs: still problems with tail conversion

2001-02-23 Thread Michal Gornisiewicz
On Saturday 24 February 2001 06:19, Erik Mouw wrote: > I'll upgrade to linux-2.4.2 to see if it solves the problem. (was > running 2.4.2-pre4 + your patch) > > > Erik I'm running 2.4.2 and I get similar results using your test program. This is on an IBM 390 Laptop. P2-233, 96mb RAM, 3.2gb HDD. S

Re: [rfc] Near-constant time directory index for Ext2

2001-02-23 Thread Ralph Loader
Andries, > is very little interaction to start with. And the final AND that truncates > to the final size of the hash chain kills the high order bits. > No good. I didn't realise you were bit-masking down to the required size. Yes, it would be pretty useless in that case. Ralph. > > Andrie

Re: loop-6 patch and 2.4.2

2001-02-23 Thread Barry K. Nathan
Steven King wrote: > On Friday 23 February 2001 10:50, Mohammad A. Haque wrote: > > Is anyone else using 2.4.2 patched with loop-6? Does load goto about 1 > > and stay there even though mounting things via loop seem to work fine? > > Yes, and with 2 mounts the load avg goes ~2; after umount

Re: [ANOMALIES]: 2.4.2 - __alloc_pages: failed & mount hangingwithloop device issues

2001-02-23 Thread Rik van Riel
On Fri, 23 Feb 2001, Shawn Starr wrote: > Mike Galbraith wrote: > > [patch] Mike, this patch looks like a really good idea. regards, Rik -- Virtual memory is like a game you can't win; However, without VM there's truly nothing to lose... http://www.surriel.com/ http://www.cone

Re: VM balancing problems under 2.4.2-ac1

2001-02-23 Thread Rik van Riel
On 23 Feb 2001, Adam Sampson wrote: > The VM balancing updates in the recent ac kernels seem to have caused > some interesting performance problems on my desktop machine. I've got > 160Mb of RAM, and 2.4.2-ac1 appears to be using excessively large > amounts of it for buffers and cache while pushi

Re: [2.4.1] system goes glacial, Reiser on /usr doesn't sync

2001-02-23 Thread Dwayne C. Litzenberger
I think Alan fixed it. I've been running 2.4.2-ac3 under heavy load for about a half-hour now under heavy disk usage (apt-get + 2 kernel builds + Netscape/X11), and it hasn't locked up yet. -- Dwayne C. Litzenberger - [EMAIL PROTECTED] - Please always Cc to me when replying to me on the lists.

Re: [ANOMALIES]: 2.4.2 - __alloc_pages: failed - Patch failed

2001-02-23 Thread Shawn Starr
Feb 23 21:17:47 coredump kernel: __alloc_pages: 3-order allocation failed. Feb 23 21:17:47 coredump kernel: __alloc_pages: 2-order allocation failed. Feb 23 21:17:47 coredump kernel: __alloc_pages: 1-order allocation failed. Feb 23 21:17:47 coredump kernel: __alloc_pages: 3-order allocation failed

Re: 2.2.18: weird eepro100 msgs

2001-02-23 Thread Ivan Passos
On Fri, 2 Feb 2001, Ivan Passos wrote: > > On Fri, 2 Feb 2001, Ion Badulescu wrote: > > > On Fri, 2 Feb 2001 15:01:05 -0800 (PST), Ivan Passos <[EMAIL PROTECTED]> wrote: > > > > > Sometimes when I reboot the system, as soon as the eepro100 module is > > > loaded, I start to get these msgs on t

Re: creation of sock

2001-02-23 Thread Sourav Ghosh
I found this condition only happens when the sock state is TCP_TIME_WAIT. I don't know if this helps. Sourav Ghosh wrote: > Hello, > > I'm using linux 2.2.15 kernel on redhat. > I have added some variables (pointers) on "sock" data structure. > I was initializing them to NULL in sk_alloc() func

2.4.2-ac3 and wavelan driver

2001-02-23 Thread Jean Tourrilhes
Hi Alan (and the others) A few notes related to you *-ac* patches, the IrDA stack and the Wavelan driver. First, IrDA : > --- linux.vanilla/net/irda/irlap.cThu Feb 22 09:06:21 2001 > +++ linux.ac/net/irda/irlap.c Wed Feb 21 11:55:26 2001 > @@ -51,6 +51,7 @@ > hashbin_t *irl

Re: Linux-2.4.2 && Minix SP

2001-02-23 Thread Michèl Alexandre Salim
--- Adam <[EMAIL PROTECTED]> wrote: > > are those MINIX_SUBPARITIONS in 2.4.2 actually > supposed to copile? > in fs/partitions/msdos.c it refers to some MINIX > defines which do not > seems to be included in that path. Did not work for me either. Michel __

2.42 broke PCMCIA IDE

2001-02-23 Thread Michèl Alexandre Salim
Hello, Just installed a custom Debian system using kernel 2.4.1 + ReiserFS (root running reiserfs) and it works just fine. Since kernel 2.4.2 has been released, when recompiling a new kernel (the 2.4.1 I used has been trimmed to fit my modified boot disks) I used that instead, after hearing about

Re: 2.4.2 broke gcd (or, audio CD's won't play)

2001-02-23 Thread John E. Adams
> After upgrading to 2.4.2, gcd or any audio CD player will work. The > attached chunk of dmesg is the messages produced by attempting to play > them. The player just loops through all tracks, playing nothing. > Ripping CD's a la cdparanoia still works. Xmcd works fine here. 2.4.2 - To uns

Re: 2.4.2 broke gcd (or, audio CD's won't play)

2001-02-23 Thread Alan Cox
> After upgrading to 2.4.2, gcd or any audio CD player will work. The > attached chunk of dmesg is the messages produced by attempting to play > them. The player just loops through all tracks, playing nothing. > Ripping CD's a la cdparanoia still works. No dmesg chunk attached. ALso does 2.4.2a

Re: [OPPS] 2.2.18 + Scheduling in interrupt

2001-02-23 Thread Alan Cox
> Aiee, killing interrupt handler > alloc_skb called nonatomically from interrupt c016468f > eth0: Tx request while isr active. > Scheduling in interrupt What ethernet card was this ? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROT

Re: RFC: vmalloc improvements

2001-02-23 Thread Alan Cox
> We have an application that makes extensive use of vmalloc (we need > lots of large virtual contiguous buffers. The buffers don't have to be > physically contiguous). So you could actually code around that. If you have them virtually contiguous for mmap for example then you can actually mmap ar

Re: RFC: vmalloc improvements

2001-02-23 Thread Linus Torvalds
In article <[EMAIL PROTECTED]>, Reto Baettig <[EMAIL PROTECTED]> wrote: > >We would volounteer to improve vmalloc if there is any chance of >getting it into the main kernel tree. We also have an idea how we >Could do that (quite similar to the process address space management): > >1. Create

[OPPS] 2.2.18 + Scheduling in interrupt

2001-02-23 Thread James Stevenson
Hi this is the first opps i got from several i have attached the rest in a gzip file these were the messages i got Aiee, killing interrupt handler alloc_skb called nonatomically from interrupt c016468f eth0: Tx request while isr active. Scheduling in interrupt first opps Unable to handle ker

2.4.2 broke gcd (or, audio CD's won't play)

2001-02-23 Thread Steven Walter
After upgrading to 2.4.2, gcd or any audio CD player will work. The attached chunk of dmesg is the messages produced by attempting to play them. The player just loops through all tracks, playing nothing. Ripping CD's a la cdparanoia still works. If its any consequence, my CD-ROM is now detected

Re: reiserfs: still problems with tail conversion

2001-02-23 Thread Oliver Teuber
On Fri, Feb 23, 2001 at 05:10:46PM -0500, Chris Mason wrote: > On Friday, February 23, 2001 10:18:56 PM +0100 Erik Mouw > <[EMAIL PROTECTED]> wrote: > > I am running linux-2.4.2-pre4 with Chris Mason's tailconversion bug fix > > applied, but I still have problems with null bytes in files. I wrote

Re: [Ext2-devel] [rfc] Near-constant time directory index for Ext2

2001-02-23 Thread Andreas Dilger
Ted writes: > Note that in the long run, the fully comatible version should probably > have a COMPAT feature flag set so that you're forced to use a new enough > version of e2fsck. Otherwise an old e2fsck may end up not noticing > corruptions in an index block which might cause a new kernel to ha

Re: RFC: vmalloc improvements

2001-02-23 Thread Ingo Molnar
On Fri, 23 Feb 2001, Reto Baettig wrote: > We have an application that makes extensive use of vmalloc (we need > lots of large virtual contiguous buffers. The buffers don't have to be > physically contiguous). question: what is this application, and why does it need so much virtual memory? vmal

Re: creation of sock

2001-02-23 Thread Sourav Ghosh
Jacob L E Blain Christen wrote: > looking further at > net/ipv4/tcp_ipv4.c:tcp_create_openreq_child() (for 2.2.16) > and > net/ipv4/tcp_minisocks.c:tcp_create_openreq_child() (for 2.4.x) > > immediately after the sk_alloc() call (if it successful) it calls > memcpy(newsk, sk, sizeof(*news

RFC: vmalloc improvements

2001-02-23 Thread Reto Baettig
Hi We have an application that makes extensive use of vmalloc (we need lots of large virtual contiguous buffers. The buffers don't have to be physically contiguous). vmalloc/vfree is very slow when the vmlist gets long. I don't know if this problem is already on a todo list or if we are the fir

Re: Linux device driver writing

2001-02-23 Thread Prasanna P Subash
a treasure trove of info on linux would be /usr/src/linux/Documentation/kernel-docs.txt -Prasanna On Fri, Feb 23, 2001 at 10:01:40AM +, Rahul wrote: > Hi friends, > > I am new to this field of writing device drivers. I > have done my course in Unix/C and presently working > for a company in

Re: Need help as a Linux newcomer

2001-02-23 Thread Dwayne C. Litzenberger
I tried asking this before; never got an answer. I suggest you just spend 20 hours or so figuring out the basic structure of the kernel sources. It's a long run, but you'll be happy once you do. -- Dwayne C. Litzenberger - [EMAIL PROTECTED] - Please always Cc to me when replying to me on the

Re: [2.4.1] system goes glacial, Reiser on /usr doesn't sync

2001-02-23 Thread Dwayne C. Litzenberger
I have the same problem with 2.4.1 (and 2.4.2). Two processes that are actively using the disk (multiple files) seem to deadlock the system. Killing the right process (SysRq-K) seems to fix things. I'm kind of new to kernel debugging. Anyone want to guide me through it? -- Dwayne C. Litzen

Kernel 2.4.2 - kernel BUG at apic.c:220!

2001-02-23 Thread pf-kernel
When running 2.4.2 on a pentium 4, I get the following during boot: (any typos are due to me typing this in manually, off of what I see on the monitor connected to the P4. I've made sure the addresses are correct, at least... note that this happens with noapic passed as an option to the kernel as

RE: UDP attack? How to suppress kernel msgs?

2001-02-23 Thread Vibol Hou
I have an MRTG chart of what happened during the attack and have attached it. Does anyone know why the bandwidth going OUT spiked up so high and just cratered? Green is incoming, blue is outgoing. Thanks, Vibol Hou -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On

UDP attack? How to suppress kernel msgs?

2001-02-23 Thread Vibol Hou
Hi, One of my servers running 2.4.1 was attacked earlier today. I have a strong feeling it went down because the kernel was logging too many messages to syslog. There's over 100,000 lines of the following in my syslog: Feb 23 12:28:25 omega kernel: UDP: bad checksum. From 202.96.140.146:20567

Linux-2.4.2 and hamradio as module

2001-02-23 Thread jorgp
this was built from stock 2.4.2 kernel. gcc -D__KERNEL__ -I/usr/src/RPM/BUILD/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/RPM/BUILD/linux/include/linux/modversions

Linux-2.4.2 && Minix SP

2001-02-23 Thread Adam
are those MINIX_SUBPARITIONS in 2.4.2 actually supposed to copile? in fs/partitions/msdos.c it refers to some MINIX defines which do not seems to be included in that path. - gcc -D__KERNEL__ -I/usr/src/Linux/24/linux/include -Wall -Wstrict-prototypes -O2 -fomit-fr

Alpha compile error on 2.4.2-ac3 (irq_err_count)

2001-02-23 Thread Sven Koch
hi... Machine: DEC-Alpha XL300 (Alcor/XLT) Kernel: 2.4.2-ac3 Compile-Error: make[1]: Entering directory `/usr/src/linux-2.4.2-ac3/arch/alpha/kernel' gcc -D__KERNEL__ -I/usr/src/linux-2.4.2-ac3/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffi

re: possible bug x86 2.4.2 SMP in IP receive stack

2001-02-23 Thread Bob Felderman
=> From feldy Fri Feb 23 14:13:08 2001 => => Feb 23 12:42:30 rcc2 kernel: Warning: kfree_skb passed an skb still on a list (from c01f58dc). => => I'm going to pop out one processor on the receiver => and see if that makes the problem go away. Using a single processor on the receive side makes th

Re: [rfc] Near-constant time directory index for Ext2

2001-02-23 Thread Guest section DW
On Sat, Feb 24, 2001 at 10:43:16AM +1300, Ralph Loader wrote: > A while ago I did some experimentation with simple bit-op based string > hash functions. I.e., no multiplications / divides in the hash loop. > > The best I found was: > > int hash_fn (char * p) > { > int hash = 0; > while (*p

Re: APM suspend system lockup under 2.4.2 and 2.4.2ac1

2001-02-23 Thread John Fremlin
Unfortunately, the APM maintainer, Stephen Rothwell, seems to have gone into hibernation (pun) and is not responding to emails. bradley mclain <[EMAIL PROTECTED]> writes: > apm --suspend causes my system to hang under 2.4.2 and 2.4.2ac1. it > was working fine under 2.4.1ac19. looking at syslog

2.4.2-ac1 and ide questions/problems

2001-02-23 Thread Chuck Campbell
This machine started as a Redhat linux 6.1 install some time ago, with lots of updates since then. Prior to the kernel upgrade, I upgraded binutils to binutils-2.9.5.0.31-1, modutils to modutils-2.4.2-1, e2fsprogs to e2fsprogs-1.19-0. I've just installed kernel 2.4.2-ac1 from a clean build and

Re: reiserfs: still problems with tail conversion

2001-02-23 Thread Erik Mouw
On Fri, Feb 23, 2001 at 05:10:46PM -0500, Chris Mason wrote: > Many thanks for sending along a test program for reproducing. But, it > doesn't seem to reproduce the problem here, how many times did you have to > run it to see the null bytes? Do you remove the files between runs? I got them imme

oops with : loop-6 / patch-int-2.4.0.3 and 2.4.2

2001-02-23 Thread David Michael Norris
Hi, While running this script: #/bin/bash losetup -d /dev/loop0 losetup -e serpent /dev/loop0 /dev/sda1 mount -t ext2 /dev/loop0 ./idisc1 one of two things have happened: 1) It worked but I was unable to write to the disk, even though I had file permissions 3) It oopsed : ksymoops 2.

Re: filesystem statistics

2001-02-23 Thread Guest section DW
On Fri, Feb 23, 2001 at 11:54:28AM -0700, Andreas Dilger wrote: > Andries Brouwer writes: > > Here some statistics. > > Can you generate statistics on the number of files in each directory, > and the total size of each directory? > > This would also be helpful to determine how often indexing wil

possible bug x86 2.4.2 SMP in IP receive stack

2001-02-23 Thread Bob Felderman
With dual x86 processors running 2.4.2, if I blast a UDP stream at the machine using netperf, I can easily cause the kernel to panic with the message below. Feb 23 12:42:30 rcc2 kernel: Warning: kfree_skb passed an skb still on a list (from c01f58dc). I'm going to pop out one processor on the r

Re: creation of sock

2001-02-23 Thread Jacob L E Blain Christen
looking further at net/ipv4/tcp_ipv4.c:tcp_create_openreq_child() (for 2.2.16) and net/ipv4/tcp_minisocks.c:tcp_create_openreq_child() (for 2.4.x) immediately after the sk_alloc() call (if it successful) it calls memcpy(newsk, sk, sizeof(*newsk)) i suggest setting your NULL initial value

Re: reiserfs: still problems with tail conversion

2001-02-23 Thread Chris Mason
On Friday, February 23, 2001 10:18:56 PM +0100 Erik Mouw <[EMAIL PROTECTED]> wrote: > Hi all, > > I am running linux-2.4.2-pre4 with Chris Mason's tailconversion bug fix > applied, but I still have problems with null bytes in files. I wrote a > little test program that clearly shows the proble

Re: DMA blues...System lockup on setting DMA mode using hdparam

2001-02-23 Thread Joel Jaeggli
On Fri, 23 Feb 2001, Jasmeet Sidhu wrote: > Also another question related to IDE: > Is there anyway we can see how good/bad the system performance is while > the system is working? that information (what the disk subsytem as a whole is doing) is collected in /proc/stat something like xosvi

msdos ignored in 2.4.2, unless modules

2001-02-23 Thread Ken Moffat
Hi, compiled 2.4.2 this afternoon (fresh 2.4.0 tree, patched to 2.4.1 then 2.4.2). I'd selected 'Y' in menuconfig for fat, msdos, and vfat, but when I tried to mount a dos zip disk it told me the kernel didn't support fat. Recompiled with fat, msdos, vfat as modules and it runs fine. I imagine

Re: CS4232 sound update

2001-02-23 Thread Phil Smith
With the removal of the pnp selection, it worked, answered in another post to another topic, the 3c509 sb issue, almost as if isapnp is grabing the card its self and holding on in some way. Thank you Phil - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

[PATCH] drivers/scsi/g_NCR5380.c, kernel 2.4.2

2001-02-23 Thread Martin Storsjö
Hello I found out that passing boot parameters to the g_NCR5380-driver didn't work in the 2.4.x-series. It seems like other drivers might be affected, too. I don't know if this has been discussed before, or if I'm doing something completely wrong, but at least this patch of mine fixed the problem

Re: creation of sock

2001-02-23 Thread Jacob L E Blain Christen
im a kernel newbie here so pardon "the blind leading the blind" ... doing a quick search for all calls to sk_alloc in the entire kernel sources yields only one call that sets the "zero out the allocated struct" boolean to false and that is: net/ipv4/tcp_minisocks.c:tcp_create_openreq_chil

Re: cpu_has_fxsr or cpu_has_xmm?

2001-02-23 Thread H. Peter Anvin
Quim K Holland wrote: > > DL> As to the correctness, the mxcsr register really only exists > DL> if you have xmm, so the xmm is the correct test. However,... > > DL> ... User space programmers should be checking for xmm > DL> capability themselves before ever paying attention to mxcsr > DL> any

Re: [rfc] Near-constant time directory index for Ext2

2001-02-23 Thread Ralph Loader
Hi, I while ago I did some experimentation with simple bit-op based string hash functions. I.e., no multiplications / divides in the hash loop. The best I found was: int hash_fn (char * p) { int hash = 0; while (*p) { hash = hash + *p; // Rotate a 31 bit field 7 bits: hash =

Re: [PATCH] 2.4.1-ac16: add CDROM_LOCKDOOR ioctl to IDE floppies

2001-02-23 Thread Ken Moffat
Francis, do I understand that you can remove the disk while it is mounted? If so, there is a later version of ide-floppy.c (0.96) on sourceforge.net which for some reason hasn't made it into the -ac kernels. With 2.4.2 vanilla and ide-floppy 0.96 I don't get this problem, it also removes some i/o

reiserfs: still problems with tail conversion

2001-02-23 Thread Erik Mouw
Hi all, I am running linux-2.4.2-pre4 with Chris Mason's tailconversion bug fix applied, but I still have problems with null bytes in files. I wrote a little test program that clearly shows the problem: /* reisertest.c: test for tailconversion bug in reiserfs * * Compile with: gcc -O2 -o reis

Re: [ANNOUNCE] Boot log for Linux PPC64 on POWER3 hardware

2001-02-23 Thread Peter Bergner
Peter Samuelson wrote: : Impressive. One question, though -- : : > starting cpu /cpus/PowerPC,[EMAIL PROTECTED] : > starting cpu /cpus/PowerPC,[EMAIL PROTECTED] : > starting cpu /cpus/PowerPC,[EMAIL PROTECTED] : : You have 4 CPUs? : : > OpenPIC Version 1.2 (8 CPUs and 32 IRQ sources) at e0

Re: [ANOMALIES]: 2.4.2 - __alloc_pages: failed & mount hanging withloop device issues

2001-02-23 Thread Shawn Starr
Ok apply patch and loop patch... I'll let you know what happens in my next email. Mike Galbraith wrote: > On Fri, 23 Feb 2001, Shawn Starr wrote: > > > Feb 23 03:31:18 coredump kernel: __alloc_pages: 3-order allocation > > failed. > > Feb 23 03:31:18 coredump kernel: __alloc_pages: 3-order alloc

Re: Linux 2.4.1-ac15

2001-02-23 Thread Linus Torvalds
On Fri, 23 Feb 2001, Andrea Arcangeli wrote: > > I think that can't happen. Infact I think the whole section: > > pmd = pmd_offset(pgd, address); > pmd_k = pmd_offset(pgd_k, address); > > if (pmd_present(*pmd) || !pmd_present(*pmd_k)) >

Re: cpu_has_fxsr or cpu_has_xmm?

2001-02-23 Thread Quim K Holland
> "DL" == Doug Ledford <[EMAIL PROTECTED]> writes: >> > --- linux.vanilla/arch/i386/kernel/i387.c Thu Feb 22 09:05:35 2001 >> > +++ linux.ac/arch/i386/kernel/i387.cSun Feb 4 10:58:36 2001 >> > @@ -179,7 +179,7 @@ >> > >> > unsigned short get_fpu_mxcsr( struct task_struct *tsk ) >>

DMA blues...System lockup on setting DMA mode using hdparam

2001-02-23 Thread Jasmeet Sidhu
Hey guys, I have five Promise ATA100 controllers configured using kernel version 2.4.2-ac1 (using pdc202xx drivers of course) on ASUS A7V with a AMD Tbird 1GHz processor. Now for the most part this kernel is very stable. I have premium cables connected to the hard drives and all drives in th

Re: Linux 2.4.2ac3

2001-02-23 Thread J . A . Magallon
On 02.23 Alan Cox wrote: > > Handle with care.. Its possible the ioremap debugging change > might remove casts that hid older problems in a few drivers > > > ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/ > > 2.4.2-ac3 make xconfig: /tkparse < ../arch/i386/conf

Re: Linux 2.4.1-ac15

2001-02-23 Thread Andrea Arcangeli
On Thu, Feb 22, 2001 at 10:29:58AM +, Alan Cox wrote: > > >We can take page faults in interrupt handlers in 2.4 so I had to use a > > >spinlock, but that sounds the same > > > > Umm? The above doesn't really make sense. > > > > We can take a page fault on the kernel region with the lazy pag

Re: [Ext2-devel] [rfc] Near-constant time directory index for Ext2

2001-02-23 Thread tytso
From: Daniel Phillips <[EMAIL PROTECTED]> Date: Fri, 23 Feb 2001 00:04:02 +0100 I resolve not to take a position on this subject, and I will carry forward both a 'squeaky clean' backward-compatible version that sets an INCOMPAT flag, and a 'slightly tarnished' but very clever versi

creation of sock

2001-02-23 Thread Sourav Ghosh
Hello, I'm using linux 2.2.15 kernel on redhat. I have added some variables (pointers) on "sock" data structure. I was initializing them to NULL in sk_alloc() function. But it seems some sock structures are allocated for TCP bypassing this sk_alloc() and due to this my added pointers are not ini

Testing EZMLM-alike tricks at this list..

2001-02-23 Thread Matti Aarnio
For reasons seen earlier today, I implemented ways to produce individual SMTP-level MAIL FROM envelope addresses per recipient. Idea for it is partially from EZMLM, but details (location of the devil, as saying goes) are different. Because we really like the normal operation where each message th

Re: regular lockup on 2.4.2 (w/oops)

2001-02-23 Thread Brendan Cully
On Friday, 23 February 2001 at 19:50, Alan Cox wrote: > > I wonder if it's related to ACPI and/or IDE - I seem to get on > > occasion one ide_dmaproc: lost interrupt message during fsck - after a > > few seconds it recovers only to hang for good some 10-15 seconds > > later. > > Turn off ACPI and

Re: TESTERS PLEASE - improvements to knfsd for 2.4.2

2001-02-23 Thread james rich
On Fri, 23 Feb 2001, Matthias Andree wrote: > On Thu, 22 Feb 2001, Henning P. Schmiedehausen wrote: > > > [EMAIL PROTECTED] (Neil Brown) writes: > > > > Oh, please not again a stable kernel series with NFS problems, we're > > locked in for ages. 2.2 was bad enough up to 2.2.18. We have ReiserFS

VM balancing problems under 2.4.2-ac1

2001-02-23 Thread Adam Sampson
Hiya. The VM balancing updates in the recent ac kernels seem to have caused some interesting performance problems on my desktop machine. I've got 160Mb of RAM, and 2.4.2-ac1 appears to be using excessively large amounts of it for buffers and cache while pushing stuff out to swap. This means that

building 2.4.2 (with XFS) fails

2001-02-23 Thread james rich
When building 2.4.2 with XFS patches the build fails with errors that don't seem related to XFS (that's why the crosspost): gcc -V egcs-2.91.66 -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fno-strict-aliasing -fomit-frame-pointer -pipe -march=i686-c -o dec_and_lock.o

Re: Reiserfs, 3 Raid1 arrays, 2.4.1 machine locks up

2001-02-23 Thread Jasmeet Sidhu
As other posts have pointed out, if you have BAD HDMA cables, you will experience problems. One thing I would suggest is that you add kernel.*/dev/console to your /etc/syslog.conf so that you see any errors resulting from the kernel code. Also I would suggest that you open another v

Re: Trying to fix 3dfx.o + question about char drivers..

2001-02-23 Thread Alexander V. Lukyanov
Michael Bacarella wrote: > So, I upgrade to 2.4.0 and it's cool, except that I can't do > anything neat with my voodoo3 anymore. I've been looking > for a solution for weeks but to no avail. 3dfx's web site > looks like it's gone and nothing on lk about it. > > The process calls ioctl() after ope

Re: Via UDMA5 3/4/5 is not functional!

2001-02-23 Thread Jasmeet Sidhu
CRC errors are due to faulty cables. Go buy some cables that are good. I've had this problem and the only fix is to use better cables. Infact, If you get really bad cables, on lets say hdc which is on the same controller as hda, then when the kernel resets the harddrive giving crc errors hd

Re: EXT2-fs error

2001-02-23 Thread John Heil
On Fri, 23 Feb 2001, Alan Cox wrote: > Date: Fri, 23 Feb 2001 19:26:17 + (GMT) > From: Alan Cox <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] > Subject: Re: EXT2-fs error > > > > Possibly the result of the 'silent' bug in 2.4.1? > >

Re: EXT2-fs error

2001-02-23 Thread John Heil
On Fri, 23 Feb 2001, Ian Wehrman wrote: > Date: Fri, 23 Feb 2001 13:12:05 -0600 > From: Ian Wehrman <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] > Subject: Re: EXT2-fs error > > Mohammad A. Haque <[EMAIL PROTECTED]> wrote: > > I got the following after compil

Re: regular lockup on 2.4.2 (w/oops)

2001-02-23 Thread Alan Cox
> I wonder if it's related to ACPI and/or IDE - I seem to get on > occasion one ide_dmaproc: lost interrupt message during fsck - after a > few seconds it recovers only to hang for good some 10-15 seconds > later. Turn off ACPI and try that kernel. If that one also causes problems then it helps a

Linux 2.4.2ac3

2001-02-23 Thread Alan Cox
Handle with care.. Its possible the ioremap debugging change might remove casts that hid older problems in a few drivers ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/ 2.4.2-ac3 o Add documentation for the fb interfaces (Brad Douglas) o Work

regular lockup on 2.4.2 (w/oops)

2001-02-23 Thread Brendan Cully
Hi, Since running 2.4.2 I've been getting regular lockups, usually during the boot process but occasionally during regular usage too. I've copied down an oops by hand from the console (it seems to be always the same oops, except ESI varies). I wonder if it's related to ACPI and/or IDE - I seem t

Re: Linux device driver writing

2001-02-23 Thread Erik Mouw
On Fri, Feb 23, 2001 at 03:06:13PM -0200, Marcus Ramos wrote: > For Linux you can use the good and complete "Linux Device Drivers" by > Alessandro Rubini, O'Reilly, 1998. For other flavors of Unix, I am aware only > of old text books of little interest for present systems. Good luck. Problem with

Re: floppy linux installation

2001-02-23 Thread Erik Mouw
On Fri, Feb 23, 2001 at 12:19:05PM +0530, Srinivas Surabhi wrote: > I need help from somebody. > > Iwant to install Linux with just floppythrough FTP server. This is off topic for the linux kernel mailing list. > I am searching in net regarding How to make FTP installation floppy . > > can any

Re: problem with mount -o loop

2001-02-23 Thread J Sloan
Tim Tim wrote: > I made iso-image from cd with > dd if=/dev/hdd of=/image.iso > and mount it with > mount -o loop /image.iso /mnt/cdrom > under Linux-2.4.2-pre1 it is working > but under Linux-2.4.2 do not > Please help me to understand why If it was working it was by sheer luck - You need

Re: EXT2-fs error

2001-02-23 Thread Alan Cox
> > Possibly the result of the 'silent' bug in 2.4.1? > > you are not the only one who found this bug. immediately after booting 2.4.2 i > received dozens of these errors, resulting in _major_ filesystem corruption. > after a half hour of fsck'ing i managed to bring the machine back into a usable

Re: loop-6 patch and 2.4.2

2001-02-23 Thread Steven King
On Friday 23 February 2001 10:50, Mohammad A. Haque wrote: > Is anyone else using 2.4.2 patched with loop-6? Does load goto about 1 > and stay there even though mounting things via loop seem to work fine? Yes, and with 2 mounts the load avg goes ~2; after umounting, it goes back to norma

[FAQ] pls add migrate 2.2 -> 2.4 Re: 3c509 + sb16 bug

2001-02-23 Thread Rob Cermak
Alan, You've mentioned this before. I emailed Steve directly since I had the same sort of problem with a trio of ethernet cards. Hardware detection goes wacky when mixing isapnp userspace tools with the CONFIG_ISAPNP support in the kernel. Steve told me: "I'm running debian sid, with isapnptoo

problem with mount -o loop

2001-02-23 Thread Tim Tim
I made iso-image from cd with dd if=/dev/hdd of=/image.iso and mount it with mount -o loop /image.iso /mnt/cdrom under Linux-2.4.2-pre1 it is working but under Linux-2.4.2 do not Please help me to understand why __ Do You Yahoo!? Yahoo! Aucti

Re: EXT2-fs error

2001-02-23 Thread Ian Wehrman
Mohammad A. Haque <[EMAIL PROTECTED]> wrote: > I got the following after compiling/rebooting into 2.4.2 and forcing a > fsck. > > EXT2-fs error (device ide0(3,3)): ext2_readdir: bad entry in directory > #508411: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, > name_len=0 > EXT2-f

Re: 3c509 + sb16 bug

2001-02-23 Thread Alan Cox
> Perhaps it's cold comfort, but I found long ago that > 3c509 and SB don't mix too well, at least in Linux. I've had them mixed ok before > ISA devices are somewhat dumb, switching one > of the cards for a PCI version does the trick here. I think the problem here thought isnt the 3c509 and SB

Re: 3c509 + sb16 bug

2001-02-23 Thread J Sloan
Perhaps it's cold comfort, but I found long ago that 3c509 and SB don't mix too well, at least in Linux. ISA devices are somewhat dumb, switching one of the cards for a PCI version does the trick here. SB128, SBlive work fine, or you might want to go to a 10/100 pci ethernet card. Just my $.02

Re: [rfc] Near-constant time directory index for Ext2

2001-02-23 Thread Andreas Dilger
Jonathan Morton writes: > Meanwhile, let's go back to Linus' comment on compatibility and so on. He > has a *very* good point, which I'll expand on slightly here: > > Suppose some stone-age Linux user, running 2.0.35 or something equally old > (which runs ext2), decides to finally bite the bulle

Re: filesystem statistics

2001-02-23 Thread Andreas Dilger
Andries Brouwer writes: > Now that people are discussing the right hash function to use, > and the amount of space taken by filenames in various schemes, > I wondered how these things are on a random machine. > Here some statistics. Can you generate statistics on the number of files in each direc

  1   2   >