Re: Question: Using floating point in the kernel

2000-09-20 Thread Lyle Coder
Hi The real issue is that if you use MMX or FP state, the kernel _must_ save and restore the original state other wise user programs will see corruption. We all know this too well since redhat's 6.1 (I think) kernel had this optimized MMX functions that _screwed_ up user programs. The fact is...

[2.4.0-test9-pre5] SCSI still broken, trident/mixer still broken

2000-09-20 Thread Simon Kirby
Hi n' stuff, Around 2.4.0-test9-pre2 (or so, definitely in pre3) both my SCSI scanner and trident sound card stopped being happy. They are still both broken in pre5. On test8, both work perfectly. On test8: (scsi0:6:0) Synchronous Data Transfer Request was rejected Vendor: Model:

Re: Strange virtual/physical address of global data

2000-09-20 Thread Russell King
Timur Tabi writes: > I wrote a little module to test virt_to_phys: > > unsigned long test_data; > > int init_module(void) > { > void *virt = _data; > unsigned long phys = virt_to_phys(virt); > > When I run this and check the valur of virt and phys, it appears that phys is > outside the

Re: NAT dropping packets

2000-09-20 Thread Russell King
Henrik Størner writes: > In <[EMAIL PROTECTED]> Russell King ><[EMAIL PROTECTED]> writes: > > >NAT: 3 dropping untracked packet c065d3a0 1 192.168.0.1 -> 192.168.0.9 > > I see loads of these, in a firewall (state matching) and SNAT setup. > When I send mail, I see them quite regularly. It is

Re: 2.4.0-test9-pre4: __alloc_pages(...) try_again:

2000-09-20 Thread Mike Galbraith
On Wed, 20 Sep 2000, Roger Larsson wrote: > Hi, > > > Trying to find out why test9-pre4 freezes with mmap002 > I added a counter for try_again loops. > > ... __alloc_pages(...) > > int direct_reclaim = 0; > unsigned int gfp_mask = zonelist->gfp_mask; > struct page *

Re: __ucmpdi2

2000-09-20 Thread Jeremy Higdon
So I understand the point about filesystems and values that always happen to be a power of two where the compiler can't know that. However: > From: [EMAIL PROTECTED] (Linus Torvalds) > > >So what we've said is: 64 bit is okay, except in a switch statement, > >or other random expressions that

Re: Question: Using floating point in the kernel

2000-09-20 Thread Ricky Beam
On Wed, 20 Sep 2000, Lyle Coder wrote: >You cannot use MMX registers in the kernel either, since the kernel doesen't >save and restore FX state (fxsave, fxrstor) either (just like >(fsave/frstor). You might want to tell the software RAID maintainers that... RAID5 CRC calculations can be done

Intel D815EEA Motherboard (ethernet driver)

2000-09-20 Thread Craig Whitmore
To get the eepro100 ethernet card going on this motherboard (Intel D815EAA) I had to add   *** linux-2.4.0-test8/drivers/net/eepro100.c Sat Aug 12 14:14:46 2000--- linux-2.4.0-test8-old/drivers/net/eepro100.c Thu Sep 21 13:20:15 2000** 2273,2278 --- 2273,2280    

dev->hard_start_xmit return val handling correct?

2000-09-20 Thread Jeff Garzik
When dev->hard_start_xmit returns an error, it doesn't seem like returning ENETDOWN is the best course of action.. Is this correct? int dev_queue_xmit(struct sk_buff *skb) [...] if (dev->hard_start_xmit(skb, dev) == 0) { dev->xmit_lock_owner = -1;

Re: [PATCH] abuse of macros in swab.h

2000-09-20 Thread Horst von Brand
Martin Dalecki <[EMAIL PROTECTED]> said: > Andrea Arcangeli wrote: > > On Wed, Sep 20, 2000 at 01:22:50AM +0200, Andi Kleen wrote: > > > Better would be to use statement blocks like > > > #define bla(x) ({ __u32 tmp__ = (x); ; tmp__; }) > > Agreed. > Not agreed. In this case older version

Re: 2.4.0-test9-pre2: pcmcia 3c59x doesn't work

2000-09-20 Thread Horst von Brand
[EMAIL PROTECTED] (Linus Torvalds) said: > [...] Just to confirm that 2.4.0-test9-pre5 works fine here. Thanks! -- Horst von Brand [EMAIL PROTECTED] Casilla 9G, Vin~a del Mar, Chile +56 32 672616 - To unsubscribe from this list: send

Re: 2 Simple VGA/PCI questions (newbie)

2000-09-20 Thread Jeff Garzik
Lee wrote: > For my own edification I am writing a simple VGA driver for my PCI video card. Have you seen drivers/video/vga16fb? > I have two questions that probably many could answer. I am using v2.4-test7. > > 1) request_region(VGA_IO_BASE, VGA_IO_SIZE, "vga") always fails. > How do

2 Simple VGA/PCI questions (newbie)

2000-09-20 Thread Lee
Hello, For my own edification I am writing a simple VGA driver for my PCI video card. I have two questions that probably many could answer. I am using v2.4-test7. 1) request_region(VGA_IO_BASE, VGA_IO_SIZE, "vga") always fails. How do I get the standard vga ports? 2) Why aren't

Re: Function calls not permitted in kernel code

2000-09-20 Thread Peter Samuelson
[Mark James <[EMAIL PROTECTED]>] > In summary: > > - Kernel code can't or shouldn't do anything too high-level. In general, yes. This is why the winmodem driver people (last I heard) are trying to pull some of the modem functions out into userspace programs. Sync and cancellation algorithms

Re: Oops on boot with both 2.2.17 and 2.4.0t8p6

2000-09-20 Thread Marcelo Tosatti
Linus, Could you apply his patch? On Mon, 18 Sep 2000, Rasmus Andersen wrote: > On Sun, Sep 17, 2000 at 10:53:55PM -0300, Marcelo Tosatti wrote: > > > > AFAIK most distros use CONFIG_PCI_GOANY, which causes the kernel to try to > > detect the PCI devices directly, and in case this fails, it

lvm in 2.4.0-test9pre5

2000-09-20 Thread Mohammad A. Haque
I think lvm and lvm-snap didn't get moved into the md dir. Or maybe the Makefile in md needs to be fixed. -- = Mohammad A. Haque http://www.haque.net/

Re: 2.4.0-test9-pre[34]: Build failure on SPARC

2000-09-20 Thread Jeff Garzik
"David S. Miller" wrote: > > Talk to [EMAIL PROTECTED], he is the guilty party and > should be working on a fix ;-) Yep :) Should be going to Linus tonight or tomorrow. I need to write a PostIt note to myself that PCI isn't ubiquitous... - To unsubscribe from this list: send the line

Re: Question: Using floating point in the kernel

2000-09-20 Thread Rusty Russell
In message <[EMAIL PROTECTED]> you write: > I was just wondering if you can use floating point while servicing a > syscall in the kernel? Please read the documentation, found in linux/Documentation/DocBook/kernel-hacking.tmpl See `No floating point or MMX' Rusty. -- Hacking time. -

net/sunrpc/clnt.c: erroneous fallthru

2000-09-20 Thread Tim Mann
There is a missing case break in net/sunrpc/clnt.c that causes the kernel to print an extra, spurious message when a Sun RPC (NFS) request is rejected by a server with the error RPC_AUTH_TOOWEAK. The missing break also causes EIO to be returned to the user process instead of EACCES, which seems

Re: Function calls not permitted in kernel code

2000-09-20 Thread Mark James
Thank you Tigran and Peter for your replies. In summary: - Kernel code can't or shouldn't do anything too high-level. Emulating high-level things through calls to other parts of the kernel is not likely to be portable across versions. - A subset of libc functions is in the linux/lib

scsi change, two tape drives, kernel oops in st..

2000-09-20 Thread Thomas Davis
Ok, I've got an ADIC scsi tape library, that is using the scsi Changer code from http://www.strusel007.de/linux/changer.html (v0.15) with linux 2.2.17. When you do: mt -f /dev/nst0 offline mover ex d0 s12 mt -f /dev/nst1 offline mover ex d1 s13 you get the attached kernel oops. I've included

Re: 2.4.0-test9-pre[34]: Build failure on SPARC

2000-09-20 Thread David S. Miller
Talk to [EMAIL PROTECTED], he is the guilty party and should be working on a fix ;-) Later, David S. Miller [EMAIL PROTECTED] - 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/

test9-pre5

2000-09-20 Thread Linus Torvalds
- pre1: - USB: OHCI controller unlink and bandwidth reclamation fixes - USB: storage update - sparc64: register window race. Non-deadlock rwlocks. - name clash in hamradio/pi2.c and hamradio/pt.c - epic100 credits, 8139too driver update, sr.c initcalls - acenic update

Updated serial driver for 2.2.x

2000-09-20 Thread Lubomír Bulej
Hello, I'd like to ask if there exists a backport of 2.4 serial driver to 2.2.x. I've got to get one Oxford Semiconductor PCI serial board with UART 16950 on it running but fail to do so under 2.2.17. Lubomir - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: Software RAID

2000-09-20 Thread Jorge Nerin
Steve Hill wrote: > > Has anyone had any problems with software RAID causing high loadaverage > peaks? I've got a number of i586 boxes here, dual IDE controllers, one > drive on each controller. They're using RAID 1 across the two > drives. Every few hours, the load average peaks very high,

sigtimedwait with a zero timeout

2000-09-20 Thread Henrik Nordstrom
Hi. While playing with signal queues it was discovered that sigtimedwait with a zero timeout apparently does block somewhat even if it should not. Why: It forces a schedule() Also the actual delay seems to be at least 10msec more than requested, but I guess that is an effect of the

Re: EXT2-fs error and geometry walk ... ???

2000-09-20 Thread Andre Hedrick
Andries, The crap out is between 2.4.0-test5 and 2.4.0-test6. It takes four drives that were single partitioned and rips the first 130 blocks out and creates 4 bogus partitions. Partition check: /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 < p5 p6 p7 p8 p9 p10 >

Hang on 2.2.17 - serial/tty related?

2000-09-20 Thread Russell King
Hi, I just experianced a complete hang of one of my systems here after using the serial port a lot (ie, open, read/write, close). I was using minicom, and I started to notice that each time I quit minicom, it would not exit. ps alx revealed that it was waiting in tty_wait_until_sent, yet the

PCMCIA: 2.4.0-test9pre4: still reading only one socket

2000-09-20 Thread Claude LeFrancois (LMC)
Hello, With 2.4.0-test7, it was impossible for me to have my two PCMCIA sockets running (2.2.x was OK). Only the socket 0 was working fine. I have upgraded to 2.4.0-test9pre4 and pcmcia-cs-3.1.20 and I still have the same problem. From my /var/log/messages, I get: Sep 20 16:06:10 qwerty

Re: Linux-2.4.0-test9-pre2 (version numbering)

2000-09-20 Thread Barry K. Nathan
> "Barry K. Nathan" <[EMAIL PROTECTED]> said: > > > In other words, if I understand things correctly, once we have Linux > > 2.4.0-test4294967296 ;) and 2.4 is stable enough for the last phase of > > testing before release, 2.4.0-pre1 will be next... > > That so? Must get Linus an Alpha or

PCMCIA: 2.4.0-test9pre4: PCI resource for 3CCFE575CT

2000-09-20 Thread Claude LeFrancois (LMC)
Hello, I just installed the latest kernel: 2.4.0-test9pre4. I have also installed the pcmcia-cs-3.1.20 package. I have a Compaq Armada 7400 with 128 MB RAM and a 4 GB disk running Mandrake 7.0. I want to report the following malfunction. There is something bad between the PCI, the 3c59x cardbus

Re: PATCH 2.4.0.9.4: Fix Cardbus

2000-09-20 Thread Keith Owens
On Wed, 20 Sep 2000 10:22:50 -0400, Jeff Garzik <[EMAIL PROTECTED]> wrote: >Dag Bakke wrote: >> ROM image dump: >> cs: no valid ROM images found! >> >> Same problem, or different problem? This time, the card is not even >> detected... > >Look around for patches from Keith Owens relating to

Re: [PATCH] Re: SCSI scanning

2000-09-20 Thread Linus Torvalds
On Wed, 20 Sep 2000, Eric Youngdale wrote: > > Some of problems that are forcing ordering requirements are better fixed > in 2.5. The cleanups to allow disk and cdrom drivers to dynamicly resize > are probably in this category. If you disagree, I can take a stab at it, > but some of the

Re: missing symbols with depmod - how to solve this?

2000-09-20 Thread Keith Owens
On Wed, 20 Sep 2000 16:43:28 +0200, Graham Leggett <[EMAIL PROTECTED]> wrote: >[root@jolanda /root]# depmod -m /boot/System.map-2.2.17 -a 2.2.17 >/lib/modules/2.2.17/fs/nls_koi8-r.o: unresolved symbol(s) >/lib/modules/2.2.17/fs/nls_iso8859-15.o: unresolved symbol(s) Get the latest modutils and

Re: [PATCH] Re: SCSI scanning

2000-09-20 Thread Eric Youngdale
- Original Message - From: "Linus Torvalds" <[EMAIL PROTECTED]> To: "Torben Mathiasen" <[EMAIL PROTECTED]> Cc: "Eric Youngdale" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, September 19, 2000 6:59 PM Subject: Re: [PATCH] Re: SCSI

2.4.0-test9-pre4: __alloc_pages(...) try_again:

2000-09-20 Thread Roger Larsson
Hi, Trying to find out why test9-pre4 freezes with mmap002 I added a counter for try_again loops. ... __alloc_pages(...) int direct_reclaim = 0; unsigned int gfp_mask = zonelist->gfp_mask; struct page * page = NULL; + int try_again_loops = 0; - - - +

Re: Linux-2.4.0-test9-pre2 (version numbering)

2000-09-20 Thread Horst von Brand
"Barry K. Nathan" <[EMAIL PROTECTED]> said: [...] > In other words, if I understand things correctly, once we have Linux > 2.4.0-test4294967296 ;) and 2.4 is stable enough for the last phase of > testing before release, 2.4.0-pre1 will be next... That so? Must get Linus an Alpha or SPARC64

Re: NAT dropping packets

2000-09-20 Thread Henrik Størner
In <[EMAIL PROTECTED]> Russell King <[EMAIL PROTECTED]> writes: >NAT: 3 dropping untracked packet c065d3a0 1 192.168.0.1 -> 192.168.0.9 I see loads of these, in a firewall (state matching) and SNAT setup. When I send mail, I see them quite regularly. It is quite annoying, since they get

Re: linux-kernel-digest ?

2000-09-20 Thread Rogier Wolff
Matti Aarnio wrote: > I think DaveM also supplied an answer: "procmail" > > Select by header: > > X-Mailing-List: [EMAIL PROTECTED] > > Do note that TAB character, for some reason it really is not space.. > Store into separate folder from your normal inbox. Ah!!! Thats why my

Re: 2.2.17 crashes with RTL8139B and/or IPv6

2000-09-20 Thread James Sutherland
On Wed, 20 Sep 2000, Marco Colombo wrote: > On Wed, 20 Sep 2000, Simon Richter wrote: > > > Hi, > > > > I just upgraded our server (486DX2/120, running 186 days`) with a 100MBit > ^^ > isn't it overclocked? >From the CPU identification given later, it is

Re: cPCI development

2000-09-20 Thread Cort Dougan
} On Wed, 20 Sep 2000, Adrian Cox wrote: } > cPCI is PCI + hotswap. Most people seem to ignore the hotswap, except at } > tradeshows. } } ISPs certainly don't ignore hotswap. Unfortunately, Linux does. :) :( PowerPC has hotswap for Motorola boards thanks to Johnnie Peters and Matt Porter. - To

Re: /proc/partitions is wrong

2000-09-20 Thread Andries Brouwer
On Wed, Sep 20, 2000 at 12:11:33PM +0200, Marko van Dooren wrote: > Hello, my /proc/partitions says I have 25 partitions while there are > only 21. Fdisk shows the right information, so there's nothing wrong > with my disk or so. > Kernel version 2.2.17 > Harddisk : Maxtor 54098U8 40GB 7200rpm

Re: cPCI development

2000-09-20 Thread Dan Hollis
On Wed, 20 Sep 2000, Adrian Cox wrote: > cPCI is PCI + hotswap. Most people seem to ignore the hotswap, except at > tradeshows. ISPs certainly don't ignore hotswap. Unfortunately, Linux does. :) :( -Dan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Wait queues and a race condition on 2.2.x

2000-09-20 Thread Lee Cremeans
I'm working on a driver for the Hi/fn 7751 encryption chip, and I've run into a weird problem and I'm not entirely sure how to fix it. The driver was originally written for NT, but has been broken out into OS-specific and OS-independent parts, and the Linux-specific part calls code in the

2.4.0-test9-pre4 VM unbalanced?

2000-09-20 Thread Richard Gooch
Hi, all. I've just brought up a 2.4.0-test kernel for the first time on this box (dual PIII with 1 GiB RAM), and I get the following message: Warning - running *really* short on DMA buffers With 1 GiB surely this shouldn't happen?!? This is 2.4.0-test9-pre4.

Re: 2.2.17 crashes with RTL8139B and/or IPv6

2000-09-20 Thread Marco Colombo
On Wed, 20 Sep 2000, Simon Richter wrote: > Hi, > > I just upgraded our server (486DX2/120, running 186 days`) with a 100MBit ^^ isn't it overclocked? .TM. -- / / / / / / Marco Colombo ___/ ___ /

Re: linux-kernel-digest ?

2000-09-20 Thread Matti Aarnio
I think DaveM also supplied an answer: "procmail" Select by header: X-Mailing-List: [EMAIL PROTECTED] Do note that TAB character, for some reason it really is not space.. Store into separate folder from your normal inbox. On Wed, Sep 20, 2000 at 02:26:33PM -0400, Dmitry

Re: [PATCH] Fix queued SIGIO

2000-09-20 Thread Julian Anastasov
Hello, On Wed, 20 Sep 2000, Robert H. de Vries wrote: > > This is not needed for SI_SIGIO. It is not generated from > >the kernel. It seems this interface is already obsoleted. > > I think you are mistaking. The purpose of SIGIO is to notify user programs of > IO events detected by

Re: uid

2000-09-20 Thread Chris Wing
Dan: GNU tar uses text usernames preferentially, otherwise it falls back upon numeric IDs. So if you had a user with the same user name as in the tar file, it would chown it to that user's ID, not the same id as 'tarabas'. This is true only for GNU format tar, however; SysV format tar files do

Re: FWD: Re: Linux pipe question

2000-09-20 Thread Mike Panetta
Thanks for the reply! On Wed, Sep 20, 2000 at 07:29:06PM +0200, Jakob Østergaard wrote: > On Wed, Sep 20, 2000 at 12:31:25PM -0400, Mike Panetta wrote: > > Can anyone answer this? > > I am not sure if unnamed pipes in linux > > are pageable or not. If an unnamed pipe > > could be paged out

Re: [IDE]2.4.0test9-pre1, CD drive on hpt366 not detected correctlyand locking up when activated

2000-09-20 Thread Andre Hedrick
The ATAPI-DMA code for the use of all addon cards is not native. You are not allowed to do ATAPI-DMA on these, yet. I do not care what the OEM claims with their drivers, Linux chipset code is not completed or started to do this in 95 % of the cases. Cheers, On Wed, 20 Sep 2000, FORT David

Re: Question: Using floating point in the kernel

2000-09-20 Thread Richard B. Johnson
On Wed, 20 Sep 2000, Timur Tabi wrote: > ** Reply to message from "Lyle Coder" <[EMAIL PROTECTED]> on Wed, 20 Sep 2000 > 01:50:05 GMT > > > > You cannot use MMX registers in the kernel either, since the kernel doesen't > > save and restore FX state (fxsave, fxrstor) either (just like > >

Re: linux-kernel-digest ?

2000-09-20 Thread Dmitry Pogosyan
Matti Aarnio wrote: > On Wed, Sep 20, 2000 at 04:38:45PM +0100, Robert Greimel wrote: > > Hi, > > I am just wondering if linux-kernel-digest is going to come back. > > Greetings > > According to DaveM: No. > (Sometimes he holds possibly bad opinnions as ferociously as Linus, >but on

Re: linux-kernel-digest ?

2000-09-20 Thread Matti Aarnio
On Wed, Sep 20, 2000 at 04:38:45PM +0100, Robert Greimel wrote: > Hi, > I am just wondering if linux-kernel-digest is going to come back. > Greetings According to DaveM: No. (Sometimes he holds possibly bad opinnions as ferociously as Linus, but on the other hand, that Majordomo 1.x

Re: [PATCH] abuse of macros in swab.h

2000-09-20 Thread Andrzej Krzysztofowicz
> +static inline __u64 ___swab16(__u64 x) > +{ > + return (__u64)((x & (__u64)0x00ffULL) << 56) | > + (__u64)((x & (__u64)0xff00ULL) << 40) | > + (__u64)((x & (__u64)0x00ffULL) << 24) | > + (__u64)((x &

Re: [RFC] Wine speedup through kernel module

2000-09-20 Thread David Howells
> Reiserfs would make a fine registry. Interesting idea... Have a Linux-style registry hive file mounted as a reiserfs filesystem. However, I'd prefer to be able to use Windows-style registry hive files if possible. > > (3) Linux file structures do not hold enough information to support > >

Re: __ucmpdi2

2000-09-20 Thread Linus Torvalds
In article <[EMAIL PROTECTED]>, Jeremy Higdon <[EMAIL PROTECTED]> wrote: >> - Linux developers often do horribly stupid things, and use 64-bit >>division etc instead of using a simple shift. Again, not linking >>against libgcc finds those things early rather than late, because the >>

Strange virtual/physical address of global data

2000-09-20 Thread Timur Tabi
I wrote a little module to test virt_to_phys: unsigned long test_data; int init_module(void) { void *virt = _data; unsigned long phys = virt_to_phys(virt); When I run this and check the valur of virt and phys, it appears that phys is outside the range of physical memory! That is, if I

Re: Linux kernel 2.2.17 appears not support >512M RAM Disk

2000-09-20 Thread Andreas Dilger
Ryan Tokarek writes: > On Linux kernel 2.2.17 running on an intel PIII system with 1GB RAM I > cannot successfully create a ramdisk of greater than 512MB. It may be that there is a bug, but I would be interested to know what you are really trying to do. Usually bugs like this exist because

Re: FWD: Re: Linux pipe question

2000-09-20 Thread Jakob Østergaard
On Wed, Sep 20, 2000 at 12:31:25PM -0400, Mike Panetta wrote: > Can anyone answer this? > I am not sure if unnamed pipes in linux > are pageable or not. If an unnamed pipe > could be paged out what could be done > to prevent that from happening? The pipe itself is not pageable, but the user

FWD: Re: Linux pipe question

2000-09-20 Thread Mike Panetta
Can anyone answer this? I am not sure if unnamed pipes in linux are pageable or not. If an unnamed pipe could be paged out what could be done to prevent that from happening? TIA, Mike - Forwarded message from AW <[EMAIL PROTECTED]> - Date: Wed, 20 Sep 2000 12:27:05 -0400 From: AW

2.2.17 crashes with RTL8139B and/or IPv6

2000-09-20 Thread Simon Richter
Hi, I just upgraded our server (486DX2/120, running 186 days`) with a 100MBit RTL8139B network card and moved from 2.2.14 to 2.2.17 in this process, using the same .config (oldconfig) with two differences: IPv6 and the RTL8139 drivers. After about 20k of network activity the machine crashes (I

Re: cPCI development

2000-09-20 Thread Adrian Cox
[EMAIL PROTECTED] wrote: > Am I right in assumming that 2.2.14 (as from RH6.2) supports cPCI? Or do I > need to start developing on 2.4? > > I really do need to do some research into this, if I knew where to start. I > need some docs! (either paper, URL, or the straight-jacket kind) cPCI is PCI

Re: [PATCH] Fix queued SIGIO

2000-09-20 Thread Robert H. de Vries
On Wed, 20 Sep 2000, Julian Anastasov wrote: >Hello, > >On Tue, 19 Sep 2000, Robert H. de Vries wrote: >> It would be better to change SI_SIGIO in all the >> include/asm-*/siginfo.h files from -5 to __SI_CODE(__SI_SIGIO, -5) >> __SI_SIGIO would become (6 << 16). > > This is not needed for

[IDE]2.4.0test9-pre1, CD drive on hpt366 not detected correctly and locking up when activated

2000-09-20 Thread FORT David
The subject says everything, while detecting the drive i got the following strange thing: [from dmesg] >PIIX4: chipset revision 1 >PIIX4: not 100% native mode: will probe irqs later >ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio >ide1: BM-DMA at 0xf008-0xf00f, BIOS

Re: Question: Using floating point in the kernel

2000-09-20 Thread Brian Gerst
Timur Tabi wrote: > > ** Reply to message from "Lyle Coder" <[EMAIL PROTECTED]> on Wed, 20 Sep 2000 > 01:50:05 GMT > > > You cannot use MMX registers in the kernel either, since the kernel doesen't > > save and restore FX state (fxsave, fxrstor) either (just like > > (fsave/frstor). > > But

RE: PERCRAID 3 drivers?

2000-09-20 Thread Bruce A. Locke
Thanks to everyone who responded. The aacard driver patches that were in the Redhat pinstripe kernel SRPM work fine with 2.2.17. The machine seems pretty stable and speed is about the same as with the binary driver. Thanks again...

Re: cPCI development

2000-09-20 Thread Vitaly Luban
Ondrej Feela Filip wrote: > On Wed, 20 Sep 2000 [EMAIL PROTECTED] wrote: > > > Am I right in assumming that 2.2.14 (as from RH6.2) supports cPCI? Or do I > > need to start developing on 2.4? > > ? I believe, that PCI and cPCI are from SW view identical. I run linux > (2.2.13+) on many cPCI

Re: Question: Using floating point in the kernel

2000-09-20 Thread Timur Tabi
** Reply to message from "Lyle Coder" <[EMAIL PROTECTED]> on Wed, 20 Sep 2000 01:50:05 GMT > You cannot use MMX registers in the kernel either, since the kernel doesen't > save and restore FX state (fxsave, fxrstor) either (just like > (fsave/frstor). But what about these source files:

Re: Question about signals

2000-09-20 Thread Chris Meadors
On Wed, 20 Sep 2000, Adam Watson wrote: > I am working to get Diald up and running and with both 2.2.16 and the 2.4.0 > series kernels I have been getting SIOCSIFMETRIC Operation not supported. > I've looked through the kernel docs and include files but couldn't find a > reference to that

Re: Very aggressive swapping after 2 hours rest

2000-09-20 Thread Andrea Arcangeli
On Wed, Sep 20, 2000 at 12:53:18PM -0300, Rik van Riel wrote: > On Tue, 19 Sep 2000, Andrea Arcangeli wrote: > > On Tue, Sep 19, 2000 at 05:29:29AM -0300, Rik van Riel wrote: > > > what I wanted to do in the new VM, except that I didn't > > > see why we would want to restrict it to swap pages

Re: Linux-2.4.0-test9-pre2

2000-09-20 Thread Dr. Kelsey Hudson
On Tue, 19 Sep 2000, Andrea Arcangeli wrote: > I'm tired of you screwing up the VM and then complaining the elevator. At least > try to vary and choose something else to complain. At test1 time you may been > right, but now we're so permissive in the default settings exactly to be sure > the

Re: Linux-2.4.0-test9-pre2

2000-09-20 Thread Rik van Riel
On Tue, 19 Sep 2000, Andrea Arcangeli wrote: > On Tue, Sep 19, 2000 at 05:58:48AM -0300, Rik van Riel wrote: > > One of the issues which seems to be affecting performance > > is the elevator starvation bug, though, so I'm not sure how > > You are contraddicting yourself. If you decrease the

Re: Very aggressive swapping after 2 hours rest

2000-09-20 Thread Rik van Riel
On Tue, 19 Sep 2000, Andrea Arcangeli wrote: > On Tue, Sep 19, 2000 at 05:29:29AM -0300, Rik van Riel wrote: > > what I wanted to do in the new VM, except that I didn't > > see why we would want to restrict it to swap pages only? > > You _must_ do that _only_ for the swap_cache, that's a

l-k archive at tux.org vanishes?

2000-09-20 Thread Dan Kegel
http://boudicca.tux.org/hypermail/linux-kernel/ is gone. I was linking to individual posts there in my pages about kernel enhancements. What happened? Must I now laboriously link to some other archive? :-( And what linux-kernel archive is likely to be around long enough to be worth linking to?

Question about signals

2000-09-20 Thread Adam Watson
I am working to get Diald up and running and with both 2.2.16 and the 2.4.0 series kernels I have been getting SIOCSIFMETRIC Operation not supported. I've looked through the kernel docs and include files but couldn't find a reference to that operation. Is there another name for that

Re: Given an image, how can show its config?

2000-09-20 Thread Timur Tabi
** Reply to message from [EMAIL PROTECTED] on Wed, 20 Sep 2000 17:09:27 +0800 (CST) > I would like to upgrade my kernel which is bundled with Red Hat. However, > I don't want to lose modules/functions it has complied. How can I do > it? Is there any command to check the current config and how

linux-kernel-digest ?

2000-09-20 Thread Robert Greimel
Hi, I am just wondering if linux-kernel-digest is going to come back. Greetings Robert - 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/

Re: [RFC] Wine speedup through kernel module

2000-09-20 Thread Albert D. Cahalan
David Howells writes: > Daniel Pittman <[EMAIL PROTECTED]> wrote: >>> Thirdly, registry functions should issue system handles, as is done on >>> Windows. If system handles move into the kernel, then registry handles >>> should do too. This also means registry change notifications can be >>>

[PATCH] Scsi scanning fixes

2000-09-20 Thread Torben Mathiasen
Linus and others, Patch attached that should fix some of the problems with the new scsi scanning: devfs registration should be ok now with both builtin and module. link order changed to reflect hosts.c + minor additions. minor cleanups. First of all, please don't yell

Kernel oops & panic in ISDN

2000-09-20 Thread Steve Hill
I've got a Redhat 6.2 box here with a HiSax PCI ISDN card (modprobed with parameters: type=36 protocol=2). It's running a custom compiled 2.2.17 kernel. If I do an "isdnctrl dial ippp0" it dials up and negotiates the IP address, etc. However, I can't transmit any data across the syncppp link

Re: NMI Watchdog detected LOCKUP on CPU1 (stext_lock)(2.4.0-test9-pre2)

2000-09-20 Thread Andrea Arcangeli
On Thu, Sep 21, 2000 at 12:42:25AM +1100, Andrew Morton wrote: > What about the ALT-SYSRQ-P thing? I guess that wouldn't be necessary if > handle_sysrq() did a show_stack(0), which it doesn't, and probably > should. Yes, SYSRQ+P should definetly show the stack trace. Andrea - To unsubscribe

[Oops] Unable to handle kernel NULL pointer dereference

2000-09-20 Thread J Brook
Hi, I ran into some trouble while compiling the pspell library that the new version of Balsa requires - okay, so perhaps I was asking for it :-) I ran the configure script fine, but a kernel oops occurred a few lines into the "make" process. I gather that it might be something to do with

missing symbols with depmod - how to solve this?

2000-09-20 Thread Graham Leggett
Hi all, I have recently been plagued with the problem of depmod complaining of missing symbols after a kernel compile - and I am completely stumped as to what is causing this. - I confirm that no pre-existing /usr/src/linux or /lib/modules/2.2.17 directories exist. - I download and unpack a

RE: cPCI development

2000-09-20 Thread Justin . Skists
Am I right in assumming that 2.2.14 (as from RH6.2) supports cPCI? Or do I need to start developing on 2.4? I really do need to do some research into this, if I knew where to start. I need some docs! (either paper, URL, or the straight-jacket kind) Justin. > -Original Message- > From:

Re: null TTY in tty_fasync?

2000-09-20 Thread Jeff Garzik
Andrew Morton wrote: > Having stared sleepily at the code for several evenings I see no way in > which serial_driver.refcount can be non-zero while serial.o's module > refcount is zero. But it happened. Is it possible to replace serial_driver.refcount with calls to GET_USE_COUNT()? No need to

Re: PATCH 2.4.0.9.4: Fix Cardbus

2000-09-20 Thread Jeff Garzik
Dag Bakke wrote: > > Jeff Garzik wrote: > > > Ok, it's time to get test9 running on my laptop, so I played the "what > > code didn't get cut-n-pasted" game. > > > > With the attached tested patch against 2.4.0-test9-pre4, CardBus is > > working again for me. This patch makes the logic match

Re: Questions on RAID1 on IDE hard disks

2000-09-20 Thread Peter Samuelson
[Terence Ang] > Could anyone kindly tell me how to setup software RAID1 on IDE drives > under RedHat 6.2? > I have got one extra PCI IDE card with 2 hard disks (not mentioning > the existing Linux OS hard disk) > It seemed that the card could not be detected under Linux. It looks like you will

NAT dropping packets

2000-09-20 Thread Russell King
Hi, I've just spotted a small problem with 2.4.0-test8 running netfilter: NAT: 3 dropping untracked packet c065d3a0 1 192.168.0.1 -> 192.168.0.9 This seems to be caused when you have connection tracking enabled, and you ping the local network broadcast address. The filter rules specific to

Re: NMI Watchdog detected LOCKUP on CPU1 (stext_lock)(2.4.0-test9-pre2)

2000-09-20 Thread Andrew Morton
Keith Owens wrote: > > ... > > Waiting on spinlock! Spinner's EIP is [] > > ... > > Is the extra code worth it? The ix86 oops dump runs the stack printing > anything that looks like a kernel address. Fair enough. What about the ALT-SYSRQ-P thing? I guess that wouldn't be

Re: networking todo, was Re: Linux-2.4.0-test9-pre2

2000-09-20 Thread Andrea Arcangeli
On Wed, Sep 20, 2000 at 03:24:28PM +0200, Andi Kleen wrote: > That would just break the whole idea behind softnet. When you're juggling I agree ;(. Andrea - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ

Re: __ucmpdi2

2000-09-20 Thread Peter Samuelson
[Jeremy Higdon] > Is there a little FAQ of C constructions you should not use if you > are writing kernel code? It took a little doing to figure out that > it was the switch that was causing trouble and not the shifts and > arithmetic operations, and I'd like to avoid that in the future :-).

Re: [PATCH] abuse of macros in swab.h

2000-09-20 Thread Trond Myklebust
> " " == Alexander Viro <[EMAIL PROTECTED]> writes: > Nice spotting, but bad fix, IMO. swab...() stuff is a perfect > example of the dangerous use of macros. BTW, 2.4 has the same > problem. > +static inline __u16 ___swab16(__u16 x) +{ Don't forget that htonl(),

Re: NMI Watchdog detected LOCKUP on CPU1 (stext_lock)(2.4.0-test9-pre2)

2000-09-20 Thread Keith Owens
On Thu, 21 Sep 2000 00:05:03 +1100, Andrew Morton <[EMAIL PROTECTED]> wrote: >> The downside of this optimization is that all code that is waiting for >> a lock appears to be in the out of line section and the only label in >> that section is right at the start. So all lock code appears to be

Re: networking todo, was Re: Linux-2.4.0-test9-pre2

2000-09-20 Thread Andi Kleen
On Wed, Sep 20, 2000 at 03:29:39PM +0200, Andrea Arcangeli wrote: > On Wed, Sep 20, 2000 at 04:38:24AM +0200, Andi Kleen wrote: > > We must be talking about different things. It of course detects it on > > ACK input, but only for data it did send itself. Every TCP detects > > reordering

Re: networking todo, was Re: Linux-2.4.0-test9-pre2

2000-09-20 Thread Andrea Arcangeli
On Wed, Sep 20, 2000 at 04:38:24AM +0200, Andi Kleen wrote: > We must be talking about different things. It of course detects it on > ACK input, but only for data it did send itself. Every TCP detects > reordering automatically on the input with the sequence number check, > but all we still do

Re: NMI Watchdog detected LOCKUP on CPU1 (stext_lock)(2.4.0-test9-pre2)

2000-09-20 Thread Andrew Morton
Keith Owens wrote: > > Just because the traces end up in stext_lock does not mean that they > are the same bug. Locks are optimized for pipeline performance, the > code for "got the lock" is in the main text section, the code for > "cannot get lock, need to wait" is moved to a separate text

Re: null TTY in tty_fasync?

2000-09-20 Thread Andrew Morton
Marco d'Itri wrote: > > At the end of a UUCP poll this message was logged: > > Sep 19 23:42:47 wonderland kernel: Warning: null TTY for (04:40) in tty_fasync > > What does it mean? > Very hard to say. Ted, Google says this has only been reported three or four times. Could we please have a

Re: __ucmpdi2

2000-09-20 Thread Peter Samuelson
[Cahalan] > Well, what do you care about most? The problem can be solved in > other, more disturbing ways. :-) For example, gcc's computed goto. [code snipped] You are sick. (: Peter - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: [RFC] Wine speedup through kernel module

2000-09-20 Thread David Howells
Daniel Pittman <[EMAIL PROTECTED]> wrote: > *blink* I confess that I can't see that much of a requirement for the > ptrace stuff, but I take your word for it. :) I was under the impression that the wineserver used ptrace() to retrieve argument data to requests such as CreateFile(), but

  1   2   3   >