[PATCH] eepro100 and IFF_RUNNING under 2.4

2001-07-20 Thread alex
Hiho.. While working on some code which tries to monitor physical link status for ethernet interfaces, I noticed that apparently under the 2.4 kernel, the eepro100 driver does not reflect link status with the IFF_RUNNING flag as it used to under 2.2.x. It looks like a bit of the code in eepro100

Re: SCSI Tape corruption - update

2001-07-20 Thread Gérard Roudier
On Fri, 20 Jul 2001, Geert Uytterhoeven wrote: > On Sun, 8 Jul 2001, Geert Uytterhoeven wrote: > > New findings: > > - The problem doesn't happen with kernels <= 2.2.17. It does happen with all > > kernels starting with 2.2.18-pre1. > > - The only related stuff that changed in 2.2.18-pr

2.4.7-pre9 oops

2001-07-20 Thread Paul Larson
I got this oops message with 2.4.7-pre9 on SuSE 7.2 today. It happened during bootup, from the boot.omsg log, it looks like maybe right after the swapspace was added. Ksymoops parsed oops message is attached below. Please let me know if any other information would help. I'm not a subscriber

Re: 2.4.6-ac5: Filesize limit exceeded

2001-07-20 Thread Ronald Jeninga
Hi, might be a limit problem, try ulimit -f Ronald Gregoire Favre wrote: > > Hello, > > I have just turned to 2.4.6-ac5, and I can't create tar bigger than > 40Mb, I got Filesize limit exceeded... > > Both on ext2 and reiserfs partitions. > > Any idea why? > > Thanks, > > Greg

RE: Simple LKM & copy_from_user question (followup)

2001-07-20 Thread David CM Weber
God(Allah, Ganesh, or whom/whatever) bless you all. Turns out I am a dumba** and forgot to define __KERNEL__ Thanks to all for your help. It's a valuable lesson that I'm sure newbies make lots of.. Thanks, Dave Weber (Feeling somewhat idiotic) Backbone Security, Inc. 570-422-7900 > ---

Re: Simple LKM & copy_from_user question (followup)

2001-07-20 Thread Randy.Dunlap
Hi- I'll suggest a few things for you. cd to your linux tree and 'make modules' Look at the gcc compile string there. Try to copy it closely. I added -I/path/to/linux/include and -D__KERNEL__ and compiled your module with no problem. If you had included the complete messages, we co

RE: Simple LKM & copy_from_user question (followup)

2001-07-20 Thread Richard B. Johnson
On Fri, 20 Jul 2001, David CM Weber wrote: > Attached is the file I"m having problems with. I'm compiling it w/ > > gcc -O3 -c main.c > > Thanks in advance, > > > Dave Weber > Backbone Security, Inc. > 570-422-7900 > Top line: #define __KERNEL__ ... compiles without any errors, one warn

Re: Loop broken again (2.4.6-ac4)

2001-07-20 Thread Jens Axboe
On Thu, Jul 19 2001, Adam Schrotenboer wrote: > Jens, > > Remember several weeks ago when I mentioned a problem w/ ridicyulous > mod-use counts w/ loop.o??? > Well, it's back again 2.4.5-ac19 (IIRC) worked fine. > > Basically, the result of attempting sudo losetup -d /dev/loop0 is the > follow

Re: Simple LKM & copy_from_user question (followup)

2001-07-20 Thread John Polyakov
On Fri, 20 Jul 2001 16:26:43 -0400 "David CM Weber" <[EMAIL PROTECTED]> wrote: DCW> Attached is the file I"m having problems with. I'm compiling it w/ DCW> gcc -O3 -c main.c DCW> Thanks in advance, There is a Makefile for you in attachment. Here is lsmod output: It's work :) [root@Sombre l

RE: Simple LKM & copy_from_user question (followup)

2001-07-20 Thread David CM Weber
Attached is the file I"m having problems with. I'm compiling it w/ gcc -O3 -c main.c Thanks in advance, Dave Weber Backbone Security, Inc. 570-422-7900 > -Original Message- > From: David CM Weber > Sent: Friday, July 20, 2001 12:45 PM > To: [EMAIL PROTECTED] > Subject: Simple L

Linux 2.5

2001-07-20 Thread Thiago Vinhas de Moraes
Hello all! I just would like to know what's missing to the start of the development of the kernel 2.5, and the mantaince of the 2.4 to go to Alan Cox ? I'm asking this because I see a very good stability of the 2.4 tree, and the need of the start of the development of 2.5. Currently, 2.4 is

Re: Please suggest me

2001-07-20 Thread Matti Aarnio
On Fri, Jul 20, 2001 at 02:13:00PM -0400, Dipak Biswas wrote: > Hi All, > I'm quite new to linux world. I've a very awkard question for you. > That is: I'm writting an user process, where I need all outgoing > IP packets to be blocked and captured. First, is it really possible? If > yes, how?

Re: Please suggest me

2001-07-20 Thread Richard B. Johnson
On Fri, 20 Jul 2001, Dipak Biswas wrote: > Hi All, > I'm quite new to linux world. I've a very awkard question for you. > That is: I'm writting an user process, where I need all outgoing > IP packets to be blocked and captured. First, is it really possible? If > yes, how? I don't want to make

Please suggest me

2001-07-20 Thread Dipak Biswas
Hi All, I'm quite new to linux world. I've a very awkard question for you. That is: I'm writting an user process, where I need all outgoing IP packets to be blocked and captured. First, is it really possible? If yes, how? I don't want to make any kernel source code changes. A wild guess: by co

Re: 2.4.7-pre9..

2001-07-20 Thread Jens Axboe
On Fri, Jul 20 2001, Linus Torvalds wrote: > > > On Fri, 20 Jul 2001, Jens Axboe wrote: > > > > > The paging stuff doesn't use any of this. The paging stuff use the page > > > cache lock bit, and always has. > > > > Paging still hits a request, I assumed that's what the (really really) > > old c

Re: [PATCH] swap usage of high memory (fwd)

2001-07-20 Thread Dirk Wetter
Hey Marcelo, thx for your great work! our 4gb system are working way better now. i am running ac5 (without your inactive_plenty() patch on top of that) on allmost all (see below) of our big boxes. also, it looks like the CPU affinity thing bought us also a little something as far as i was told,

Re: [PATCH] Re: MTD compiling error

2001-07-20 Thread Eric W. Biederman
David Woodhouse <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] said: > > /usr/src/linux-2.4.6/include/linux/mtd/cfi.h:387: `do_softirq' undeclared > (first use in this function) Dave this isn't a sufficient fix. In particular amd_flash.c has problems, if you only patch cfi.h. The problem is l

oops on boot 2.4.7-pre9

2001-07-20 Thread Garst R. Reese
Somebody else reported this. I can't catch the oops to decode, gcc-3.0 UDP pre7 works. processor : 0 vendor_id : GenuineIntel cpu family : 5 model : 8 model name : Mobile Pentium MMX stepping: 1 cpu MHz : 232.106 fdiv_bug: no hlt_bug

two seperate 2.4.x problems...

2001-07-20 Thread PinkFreud
I am not subscribed to this list, so please CC me in any replies. Thank you. Hey, all. I have two entirely seperate problems with 2.4.x kernels, on two seperate systems. The first occurs on a UDB (Digital Multia, model VX-51, Intel Pentium 100). I recently installed Slackware 8.0, which inc

Re: SCSI Tape corruption - update

2001-07-20 Thread Geert Uytterhoeven
On Sun, 8 Jul 2001, Geert Uytterhoeven wrote: > New findings: > - The problem doesn't happen with kernels <= 2.2.17. It does happen with all > kernels starting with 2.2.18-pre1. > - The only related stuff that changed in 2.2.18-pre1 seems to be the > Sym53c8xx driver itself. I'll do so

qlogicfc driver

2001-07-20 Thread Roland Fehrenbacher
Hi, I am testing a SAN setup with a Fibre Channel RAID Controller (GMR) connected to a QLA2200/QLA2100 via Gadzoox Cappelix Switches. The RAID controller supports 32 LUNs on configurable SCSI target Ids. In the present case I have 3 RAID sets with pairs (SCSI Id, LUN) (0, 0) (0, 1) (1, 0), i.e. t

Re: 2.4.7-pre9..

2001-07-20 Thread Linus Torvalds
On Fri, 20 Jul 2001, Jens Axboe wrote: > > > The paging stuff doesn't use any of this. The paging stuff use the page > > cache lock bit, and always has. > > Paging still hits a request, I assumed that's what the (really really) > old comment meant to say. No. Tha paging stuff (and _all_ regular

Simple LKM & copy_from_user question

2001-07-20 Thread David CM Weber
Hello all. I've been lurking for a while, and I have a quick question. I'm in the process of writing my first LKM to mess with the sys_socketcall function. I'm looking at the original one for guidance, and it makes a call to copy_from_user() to get some socket-related data. So, to use copy_from

RE: Too much memory causes crash when reading/writing to disk

2001-07-20 Thread Matt_Domsch
> grub stable <= 0.90.0 does not work on Dell 8450s. > > I really like the feature set of grub, but I guess the simplicity of > lilo should not be undervalued. grub-0.5.97-3.20010625.src.rpm from Red Hat rawhide works fine on Dell PowerEdge 8450s. Thanks, Matt -- Matt Domsch Sr. Software Engin

Re: [PATCH] PPPOE can kfree SKB twice (was Re: kernel panic problem. (smp, iptables?))

2001-07-20 Thread Rainer Clasen
On Fri, Jul 20, 2001 at 12:28:35AM -0700, David S. Miller wrote: > > Rainer Clasen writes: > > I am using tulip, dummy, Ben Grear's dot1q VLAN devices and some ISDN > > syncppp and ISDN rawip devices are configured (but not actively used), > > too. > > Can you test without dummy and VLAN? Ma

Re: [PATCH] Re: [MINOR PROBLEM] RTL8139C: transmit timed out

2001-07-20 Thread Masaru Kawashima
Hi, Rasmus! On Fri, 20 Jul 2001 11:03:38 +0200 (CEST) Rasmus Hansen <[EMAIL PROTECTED]> wrote: > Now the box has been running for nearly a week without any trace of > problems, so the patch seems to be fine. Thank you for your reporting. The patch has been included in linux-2.4.6-ac3 and above

Re: 2.4.6: chattr / lsattr does not work on directories anymore!

2001-07-20 Thread Andreas Dilger
You write: > Since kernel 2.4.6, the commands 'lsattr' and 'chattr' do not work > anymore when applied to directories: > > As root: > > # mkdir x > # chattr +i x > chattr: Inappropriate ioctl for device while reading flags on x > # lsattr -d x > lsattr: Inappropriate ioctl for device While readi

2.4.6-ac5: Filesize limit exceeded

2001-07-20 Thread Gregoire Favre
Hello, I have just turned to 2.4.6-ac5, and I can't create tar bigger than 40Mb, I got Filesize limit exceeded... Both on ext2 and reiserfs partitions. Any idea why? Thanks, Greg http://ulima.unil.ch/greg ICQ:16624071 ma

Re: 2.4.6-ac5 and VIA Athlon chipsets

2001-07-20 Thread Disconnect
Will this fix (or get closer to fixing) the K7-optimization crashes? (I'm still hoping its something that isn't getting initialized correctly, rather than just a bug. BurnK7/BurnMMX work fine, memtest86 and the MMX memtest work, windows seems to be using the full memory bandwidth, etc.) On Thu,

Re: realiable crashing with AIC7xxxx driver and vanilla 2.4.6 kernel on KT133(A)

2001-07-20 Thread Justin T. Gibbs
>** Summary ** >aic7xxx driver reliably crashes to(/in?) ahc_handle_seqint() function. If you are using the stock driver in 2.4.6, you might try upgrading to version 6.2.0 of the aic7xxx driver from here: http://people.FreeBSD.org/~gibbs/linux In the mean time, it would be interesting to know

kernel panic with 2.4.3

2001-07-20 Thread Manoj Sharma
Hi, I am using 2.4.3 kernel and I am getting kernel panic. It doesn't happen very regularly so may be difficult to simulate. I connected my system to serial port and captured the log. Please suggest a way so that I can track down the problem. Will KGDB be of any help ? Please reply to me direct

realiable crashing with AIC7xxxx driver and vanilla 2.4.6 kernel onKT133(A)

2001-07-20 Thread Janne Pänkälä
** Summary ** aic7xxx driver reliably crashes to(/in?) ahc_handle_seqint() function. ** Explanations ** I updated my motherboard from MVP3 chipset to KT133A (Asus KT7A) board and now I'm getting Oopses like no tomorrow. when ever I do something that uses scsi disk more than just a bit it will c

Re: NFS Client patch

2001-07-20 Thread Chris Mason
On Friday, July 20, 2001 10:50:57 AM +0200 Trond Myklebust <[EMAIL PROTECTED]> wrote: >> " " == Hans Reiser <[EMAIL PROTECTED]> writes: > > > The current code does rely on hidden knowledge of the filesytem > > on the server, and refuses to operate with any FS that does not >

OOPS on boot 2.4.7-pre9

2001-07-20 Thread Info
2.4.7-pre9 oops boot time when trying to activate swap. So, here are manually writed parameters from screen, may be mistakes. System works on ReiserFS volumes; kernel .config file is in attach. OOPS: CPU: 0 EIP: 0010 [] EFLAGS: 00010296 exx: ebx: c129 ecx: edx: c6a1

Re: patch to fs/proc/base.c

2001-07-20 Thread Matti Aarnio
On Fri, Jul 20, 2001 at 05:59:51PM +0400, Nikita Danilov wrote: > Date: Fri, 20 Jul 2001 17:59:51 +0400 > From: Nikita Danilov <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: patch to fs/proc/base.c > > Hello, > > following patch cures oopses in 2.4.7-pre9 when > proc_pid_make_inode()

newbie creating scatter/gather list

2001-07-20 Thread Oliver Ryan
Hi all, I want to create a scatter/gather list for dma from a pci device. I've read DMA-mapping.txt and a host of other stuff, but most of it assumes I know the 'basics' already, which I don't and can't find. Kernelnewbies sent me here. I want to use the pci_map_sg() function detailed in DMA

patch to fs/proc/base.c

2001-07-20 Thread Nikita Danilov
Hello, following patch cures oopses in 2.4.7-pre9 when proc_pid_make_inode() is called on task with task->mm == NULL. Linus, please apply, if you haven't got a bunch of equivalent patches already, which is doubtful. Nikita. --- linu

Re: Linux Kernel 2.2.19 Available Memory Bug

2001-07-20 Thread Doug McNaught
"John L. Males" <[EMAIL PROTECTED]> writes: > The bug I am reporting is that when one sets the amount of memory, > i.e. 128M, 256M; at the time of booting the 2.2.19 kernel the "Total > Memory" as reported by KDE, "free", etc is short by a important > amount. To be more specific I will detail th

Re: irda smc patch... oops

2001-07-20 Thread Stefani Seibold
Sorry, but i had a look on the irda homepage and it seems that there is nothing happening since more than a year. I will sent a copy of my patch to [EMAIL PROTECTED] and [EMAIL PROTECTED] Greetings, Stefani Am Freitag, 20. Juli 2001 14:58 schrieben Sie: > On Fri, Jul 20, 2001 at 12:36:24PM +01

2.4.6: chattr / lsattr does not work on directories anymore!

2001-07-20 Thread Marc-Jano Knopp
Since kernel 2.4.6, the commands 'lsattr' and 'chattr' do not work anymore when applied to directories: As root: # mkdir x # chattr +i x chattr: Inappropriate ioctl for device while reading flags on x # lsattr -d x lsattr: Inappropriate ioctl for device While reading flags on x # The error mess

Re: NFS Client patch

2001-07-20 Thread Hans Reiser
Trond Myklebust wrote: > > > " " == Hans Reiser <[EMAIL PROTECTED]> writes: > > > The current code does rely on hidden knowledge of the filesytem > > on the server, and refuses to operate with any FS that does not > > describe a position in a directory as an offset or hash tha

Re: bzImage, root device Q

2001-07-20 Thread Jesse Pollard
On Fri, 20 Jul 2001, D. Stimits wrote: >When booting to a bzImage kernel, bytes 508 and 509 can be used to name >the minor and major number of the intended root device (although it can >be overridden with a command line parameter). Other characteristics are >also available this way, through bytes

Re: modules/ksyms/filenames

2001-07-20 Thread Stephen C. Tweedie
Hi, On Thu, Jul 19, 2001 at 03:54:00PM -0600, Peter J. Braam wrote: > I'm trying to export a symbol (journal_begin/end) from > fs/reiserfs/journal.c. To export the symbols I added to the Makefile: > export-objs := journal.o > > There is also a file fs/jbd/journal.c which exports symbols. > > I

Re: 2.4.7-pre9..

2001-07-20 Thread David Woodhouse
[EMAIL PROTECTED] said: > I'm getting ready to do a 2.4.7, but one of the fixes in 2.4.7 is a > nasty SMP race that was found and made it clear that using an old > trick of having a semaphore on the stack and doing "down()" on it to > wait for some event (that would do the "up()") was a really ba

[PATCH] Re: MTD compiling error

2001-07-20 Thread David Woodhouse
[EMAIL PROTECTED] said: > /usr/src/linux-2.4.6/include/linux/mtd/cfi.h:387: `do_softirq' undeclared (first >use in this function) Linus, please apply: Index: include/linux/mtd/cfi.h === RCS file: /inst/cvs/linux/include/linux/mtd

Framebuffer woes with 3dfx Voodoo5 5500

2001-07-20 Thread Colin Bayer
When I boot up my home box, a Pentium III/933MHz with an i810 onboard disabled to make way for a 3dfx Voodoo5 5500 PCI, two main problems occur if I boot my framebuffered kernel (2.4.7-pre7): 1) It won't support anything over 640x480. I've got the buffer set up to run in 1024x768x32, and it r

[PATCH] ide-tape & ksyms fixes for 2.4.7-pre9

2001-07-20 Thread Mikael Pettersson
The patch below fixes two problems in 2.4.7-pre9: 1. Updates drivers/ide/ide-tape.c for the sem->completion changes. (It doesn't compile in -pre9 due to the changes in "struct request".) 2. Updates kernel/ksyms.c to export the new completion object functions. Needed for modular drivers. /Mi

Re: [PATCH] Re: [MINOR PROBLEM] RTL8139C: transmit timed out

2001-07-20 Thread Rasmus Bøg Hansen
On Sat, 14 Jul 2001, Masaru Kawashima wrote: > > Jul 12 20:36:43 wiibroe kernel: NETDEV WATCHDOG: eth0: transmit timed out > > I had the same problem with linux-2.4.6-ac2, and I found a bug > in the function rtl8139_start_xmit() of 8139too.c. > > Attached patch will fix this bug. Now the box h

Re: NFS Client patch

2001-07-20 Thread Trond Myklebust
> " " == Hans Reiser <[EMAIL PROTECTED]> writes: > The current code does rely on hidden knowledge of the filesytem > on the server, and refuses to operate with any FS that does not > describe a position in a directory as an offset or hash that > fits into 32 or 64 bits. I

Re: 2.4.7-pre9..

2001-07-20 Thread Jens Axboe
On Fri, Jul 20 2001, Linus Torvalds wrote: > > > On Fri, 20 Jul 2001, Jens Axboe wrote: > > > > Attached are two patches -- one that should fix DAC960 for this new > > completion scheme, and one that corrects the corrected comment in > > blkdev.h :-) > > No, the correction of the correction is

Re: 2.4.7-pre9..

2001-07-20 Thread Linus Torvalds
On Fri, 20 Jul 2001, Jens Axboe wrote: > > Attached are two patches -- one that should fix DAC960 for this new > completion scheme, and one that corrects the corrected comment in > blkdev.h :-) No, the correction of the correction is worse. The paging stuff doesn't use any of this. The paging

Re: Oops in 2.4.7-pre9.

2001-07-20 Thread Linus Torvalds
On Fri, 20 Jul 2001, Andrew Morton wrote: > > I tested various other possible problems, such as making > /sbin/hotplug an elf executable and it looks OK, apart from > the /proc problem. Actually, there's a double stupidity in the dumpable testing: it should really test that the process has a VM

Linux Kernel 2.2.19 Available Memory Bug

2001-07-20 Thread John L. Males
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Please note I am not on the Kernel Mailing List so do try to copy me in with any reply, questions, clarifications, confirmations, et al on this bug report. Before I forget I am using SuSE 6.4 with most of the updates from the base applied, mo

bzImage, root device Q

2001-07-20 Thread D. Stimits
When booting to a bzImage kernel, bytes 508 and 509 can be used to name the minor and major number of the intended root device (although it can be overridden with a command line parameter). Other characteristics are also available this way, through bytes in the kernel. rdev makes a convenient way

Re: Oops in 2.4.7-pre9.

2001-07-20 Thread Niels Kristian Bech Jensen
On Thu, 19 Jul 2001, David S. Miller wrote: > > Niels Kristian Bech Jensen writes: > > >>EIP; c01467e3<= > > This should fix it: > It does, thanks. -- Niels Kristian Bech Jensen -- [EMAIL PROTECTED] -- http://www.image.dk/~nkbj/ --->> Stop software piracy --- use free softwar

Re: [PATCH] PPPOE can kfree SKB twice (was Re: kernel panic problem. (smp, iptables?))

2001-07-20 Thread David S. Miller
Rainer Clasen writes: > I am using tulip, dummy, Ben Grear's dot1q VLAN devices and some ISDN > syncppp and ISDN rawip devices are configured (but not actively used), > too. Can you test without dummy and VLAN? Man, I now have to audit that friggin' code too :-( Later, David S. Miller [EMAI