Re: [PATCH] blindingly stupid 2.2 VM bug

2000-11-18 Thread Ville Herva
On Sat, Nov 18, 2000 at 10:04:02PM -0200, you [Rik van Riel] said: > Hi Alan, > > here's a fix for a blindingly stupid bug that's been in > 2.2 for ages (and which I've warned you about a few times > in the last 6 months, and which I've even sent some patches > for). > > This patch should make

Re: sunhme.c patch for new PCI interface (UNTESTED)

2000-11-18 Thread Adam J. Richter
Albert D. Cahalan <[EMAIL PROTECTED]> writes: >PCI is certainly hot-plug hardware, but not on common desktop PCs. >Since PCI is so popular and so often not hot-plug, users should >not be forced to have hot-plug PCI support when they only need >hot-plug SCSI, etc. >Obvious hack: __pciinit,

Re: Linux 2.2.18pre22

2000-11-18 Thread Jeff V. Merkey
On Sun, Nov 19, 2000 at 01:11:33AM +, Alan Cox wrote: > > Bugs to go: PS/2 mouse detection > > Anything which isnt a strict bug fix or previously agreed is now 2.2.19 > material. > > Alan > > 2.2.18pre22 > o Fix HZ assumption in USB hub driver (Oleg Drokin) > o Fix

mount /mnt/cdrom ok!but ls segmentation fault...

2000-11-18 Thread Vincent
Hi all, Using linux-2.4.0-test11-pre7 right now..., here's what i did, mount /mnt/cdrom cd /mnt/cdrom ls Segmentation fault ls *NOT Responding* can't kill /sbin/ls can't umount /mnt/cdrom ps , shows ; 613 ?D 0:00 /bin/ls --color=auto -F -b -T 0 ^ i didn't want to

Re: neighbour table?

2000-11-18 Thread David Ford
Andrew Park wrote: > I get a message > > neighbour table overflow > > What does that mean? It seems that > > net/ipv4/route.c > > is the place where it prints this. But under what circumstances > does this happen? > Thanks It means you set the link state of eth0 up before lo.

neighbour table?

2000-11-18 Thread Andrew Park
I get a message neighbour table overflow What does that mean? It seems that net/ipv4/route.c is the place where it prints this. But under what circumstances does this happen? Thanks -A. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: sunhme.c patch for new PCI interface (UNTESTED)

2000-11-18 Thread Albert D. Cahalan
Adam J. Richter writes: > Can I have a hot plug PCI bridge card that connects to > a regular PCI backplane (perhaps as some kind of CardBus docking > station card)? If so, all PCI drivers should use __dev{init,exit}{,data}. PCI is certainly hot-plug hardware, but not on common desktop

[FIXED!] Re: [PATCH] pcmcia event thread. (fwd)

2000-11-18 Thread David Ford
It's time for a week long party! It works great, interrupts are even delivered to the tulip handler :) Attached is the boot dmesg in case any aesthetic changes are desired. Ted, please scratch off the NEC Versa LX PCMCIA entries as fixed, I assume this patch will go in on the next release.

7-order allocation failed

2000-11-18 Thread Forever shall I be.
I'm getting '__alloc_pages: 7-order allocation failed.' every time I play something to my maestro card (using the maestro kernel module, with dsps_order=2).. I'm assuming the following code is to blame: /* alloc as big a chunk as we can */ for (order = (dsps_order + (16-PAGE_SHIFT) + 1); order

Re: [PATCH] pcmcia event thread. (fwd)

2000-11-18 Thread Linus Torvalds
On Sat, 18 Nov 2000, David Ford wrote: > Linus Torvalds wrote: > > > Can you (you've probably done this before, but anyway) enable DEBUG in > > arch/i386/kernel/pci-i386.h? I wonder if the kernel for some strange > > reason doesn't find your router, even though "dump_pirq" obviously does.. > >

Re: [PATCH] pcmcia event thread. (fwd)

2000-11-18 Thread David Ford
Linus Torvalds wrote: > Can you (you've probably done this before, but anyway) enable DEBUG in > arch/i386/kernel/pci-i386.h? I wonder if the kernel for some strange > reason doesn't find your router, even though "dump_pirq" obviously does.. > If there's something wrong with the checksumming for

Re: speaking of USB...(bug/hub.c)

2000-11-18 Thread David Ford
Johannes Erdfelt wrote: > > # dmesg > > hub.c: USB new device connect on bus1/1, assigned device number 6 > > usb-uhci.c: interrupt, status 2, frame# 121 > > usb.c: USB device not accepting new address=6 (error=-110) > > hub.c: USB new device connect on bus1/1, assigned device number 7 > >

[oops] apm and tulip (eeprom.c) related in kernel 2.4.0 test11-pre7

2000-11-18 Thread David Ford
I've been trying [unsuccessfully :S] to get the kernel's pcmcia working. I woke up this morning and found the following oops: Unable to handle kernel NULL pointer dereference at virtual address 001b c01d4dca *pde = Oops: CPU:0 EIP:0010:[] Using defaults from ksymoops

trouble with OPL3-SAx soundchip

2000-11-18 Thread Roland Bauerschmidt
Hello, I am having trouble with the soundcard of my Thinkpad i1400, which has the following soundchip: roland@minnesota:~% cat /proc/isapnp | grep '^Card 1' Card 1 'YMH0800:YAMAHA OPL3-SAx Audio System' PnP version 1.0 If have used both 2.2.17 with ALSA and 2.4.0-test11-pre7 with the OSS

Re: lseek/llseek allows the negative offset

2000-11-18 Thread H . J . Lu
On Sun, Nov 19, 2000 at 04:07:04AM +0100, Andrea Arcangeli wrote: > On Sat, Nov 18, 2000 at 05:20:34PM -0800, H . J . Lu wrote: > > Try this again 2.2.18pre21. It works for me. > > > > > > -- > > H.J. Lu ([EMAIL PROTECTED]) > > --- > > --- linux/fs/ext2/file.c.lseek Sat Nov 18 17:18:49

Odd behaviour with agpgart

2000-11-18 Thread John Cavan
I don't know if this is specifically a problem with the AGP driver or with X, but basically the AGP driver detects an aperture base address different from that of the prefetchable memory area of the video card and the mtrr's are not in agreement. I'm using this with a Dual P3-500mhz and a Matrox

Re: PPC test11-7 barfed

2000-11-18 Thread Cort Dougan
Grab the version at www.fsmlabs.com/linuxppcbk.html, it's fixed. Linus hasn't absorbed out updates in a while. I'll feed him a bit more this evening... } -o vmlinux } arch/ppc/mm/mm.o: In function `map_page': } arch/ppc/mm/mm.o(.text+0xd90): undefined reference to `set_pgdir' }

2.4.0test11pre7 and synaptics touchpad

2000-11-18 Thread CaT
In an attempt to see how 2.4.0 would go with my notebook I grabbed the latest and compiled it. It booted fine but my touchpad wouldn't work properly. It was highly unresponsive... as if it was missing movements alot. It'd move at one time and at another it would not. It was very unusable. I had

ext2 sparse superblocks

2000-11-18 Thread Michael Rothwell
I'm looking for documentation on Ext2's support for sparse superblocks. Canvasing search engines gets me the same two references to tune2fs and the dac960. I've also looked in /usr/doc and /usr/src/linux/Documentation without success. What it the method uses to reduce the number of superblocks?

Re: lseek/llseek allows the negative offset

2000-11-18 Thread Andrea Arcangeli
On Sat, Nov 18, 2000 at 05:20:34PM -0800, H . J . Lu wrote: > Try this again 2.2.18pre21. It works for me. > > > -- > H.J. Lu ([EMAIL PROTECTED]) > --- > --- linux/fs/ext2/file.c.lseekSat Nov 18 17:18:49 2000 > +++ linux/fs/ext2/file.c Sat Nov 18 17:19:28 2000 > @@ -120,6 +120,8

Re: Linux 2.2.18pre22

2000-11-18 Thread J . A . Magallon
On Sun, 19 Nov 2000 02:11:33 Alan Cox wrote: > > Bugs to go: PS/2 mouse detection > > Anything which isnt a strict bug fix or previously agreed is now 2.2.19 > material. > What about memory sizing ? Is ready or still to test ? -- Juan Antonio Magallon Lacarta

PPC test11-7 barfed

2000-11-18 Thread Andre Hedrick
-o vmlinux arch/ppc/mm/mm.o: In function `map_page': arch/ppc/mm/mm.o(.text+0xd90): undefined reference to `set_pgdir' arch/ppc/mm/mm.o(.text+0xd90): relocation truncated to fit: R_PPC_REL24 set_pgdir Will hunt in a bit. Andre Hedrick CTO Timpanogas Research Group EVP Linux

Re: Q: Linux rebooting directly into linux.

2000-11-18 Thread Werner Almesberger
Eric W. Biederman wrote: > Well there is that. Somehow implementing scatter/gather from > a user space process seemed like a potential mess, and extra work. Did you look at kiobufs ? I think they may just have the right functionality. I always wanted bootimg to be able to memory-map things to

Re: [PATCH] swap= kernel commandline

2000-11-18 Thread Werner Almesberger
Eric W. Biederman wrote: > I have one that loads a second kernel over the network using dhcp > to configure it's interface and tftp to fetch the image and boots > that is only 20kb uncompressed Neat ;-) My goal is actually not only size, but also to have a relatively normal build

Re: Linux 2.2.18pre22

2000-11-18 Thread Miquel van Smoorenburg
In article <[EMAIL PROTECTED]>, Alan Cox <[EMAIL PROTECTED]> wrote: >Bugs to go: PS/2 mouse detection And probably Megaraid still. I'll try to test it this week, after Tuesday though. Mike. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] megaraid driver update for 2.4.0-test10

2000-11-18 Thread Miquel van Smoorenburg
In article <[EMAIL PROTECTED]>, dalecki <[EMAIL PROTECTED]> wrote: >This is a multi-part message in MIME format. >1. Merge the most current version (aka: 1.08) of the > MegaRAID driver from AMI in to the most current kernel > (2.4.0-test10 and friends). The latest is 1.11a or something. The

Re: [PATCH] semaphore fairness patch against test11-pre6

2000-11-18 Thread Linus Torvalds
On Sun, 19 Nov 2000, Andrew Morton wrote: > > Has anyone tried it on SMP? I get fairly repeatable instances of immortal > `D'-state processes with this patch. Too bad. I really thought it should be safe to do. > The patch isn't right - it allows `sleepers' to increase without bound. > But

Re: [PATCH] ext2 largefile fixes + [f]truncate() error value fix

2000-11-18 Thread Alexander Viro
On Sun, 19 Nov 2000, Andrea Arcangeli wrote: > Good spotting but wrong fix. s/32/31/ - forgot about the signedness. And yes, that should go for both 2.2 and 2.4. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please

Re: [PATCH] ext2 largefile fixes + [f]truncate() error value fix

2000-11-18 Thread Alexander Viro
On Sat, 18 Nov 2000, Alexander Viro wrote: > On Sun, 19 Nov 2000, Alan Cox wrote: > > > > is probably in order. Alan? Place in question is the check for notify_change() > > > growing the file past 4Gb - it should check for size >> 32, obviously. > > > > The 2.2 limit is 2Gbytes > > Sorry.

Re: [PATCH] ext2 largefile fixes + [f]truncate() error value fix

2000-11-18 Thread Alexander Viro
On Sun, 19 Nov 2000, Alan Cox wrote: > > is probably in order. Alan? Place in question is the check for notify_change() > > growing the file past 4Gb - it should check for size >> 32, obviously. > > The 2.2 limit is 2Gbytes Sorry. - To unsubscribe from this list: send the line "unsubscribe

Re: VIA IDE UDMA Mode x -> CRC-ERRORs (2.4.0-testxx)

2000-11-18 Thread Andre Hedrick
There is a problem that it does not downgrade the IO if all you have is iCRC errors. The threshold is 10 events without other errors and it should skip you from ATA-66 to ATA-44. If you did not enable the tuning aspect of the chipset then do so now. Regards, Andre Hedrick CTO Timpanogas

Re: [PATCH] swap= kernel commandline

2000-11-18 Thread Eric W. Biederman
Werner Almesberger <[EMAIL PROTECTED]> writes: > Rik van Riel wrote: > > Did you try to load an initrd on a low-memory machine? > > It shouldn't work and it probably won't ;) > > You must be really low on memory ;-) > > # zcat initrd.gz | wc -c > 409600 > > (ash, pwd, chroot, pivot_root,

Re: lseek/llseek allows the negative offset

2000-11-18 Thread H . J . Lu
On Sun, Nov 19, 2000 at 01:45:12AM +0100, Andrea Arcangeli wrote: > On Sat, Nov 18, 2000 at 07:25:42PM +0100, Andrea Arcangeli wrote: > > I fixed it this way: > > fix is plain wrong, it's still possible to have lseek return -1 -2 -3 -4 > even when it should return -EINVAL. > Try this again

Re: [PATCH] semaphore fairness patch against test11-pre6

2000-11-18 Thread Andrew Morton
Christoph Rohland wrote: > > Hi David, > > David Mansfield <[EMAIL PROTECTED]> writes: > > If you can find the time to check this out more completely, I recommend > > it, because it seems like a great improvement to be able to accurately > > see vmstat numbers in times of system load. I hope

Linux 2.2.18pre22

2000-11-18 Thread Alan Cox
Bugs to go: PS/2 mouse detection Anything which isnt a strict bug fix or previously agreed is now 2.2.19 material. Alan 2.2.18pre22 o Fix HZ assumption in USB hub driver (Oleg Drokin) o Fix ndisc range check on ipv6 (Dave Miller) o Clear other

Re: [PATCH] ext2 largefile fixes + [f]truncate() error value fix

2000-11-18 Thread Alan Cox
> is probably in order. Alan? Place in question is the check for notify_change() > growing the file past 4Gb - it should check for size >> 32, obviously. The 2.2 limit is 2Gbytes - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: [PATCH] ext2 largefile fixes + [f]truncate() error value fix

2000-11-18 Thread Andrea Arcangeli
On Sat, Nov 18, 2000 at 07:46:29PM -0500, Alexander Viro wrote: > ed fs/ext2/inode.c < /ext2_notify_change/ > /size >> 33/ > s/33/32/ > w > q > EOF Good spotting but wrong fix. Right fix for 2.2.x: --- 33/fs/ext2/inode.c.~1~ Sun Nov 12 00:45:43 2000 +++ 33/fs/ext2/inode.c Sun Nov 19

Re: [PATCH] ext2 largefile fixes + [f]truncate() error value fix

2000-11-18 Thread Alexander Viro
On Sun, 19 Nov 2000, Andrea Arcangeli wrote: > On Sat, Nov 18, 2000 at 04:55:23PM -0500, Alexander Viro wrote: > > > if (size >> 33) { > >ITYM 32 > > this is a bug in 2.2.x mainstream btw. I don't have recent 2.2 at hand, but... ed fs/ext2/inode.c <> 33/

Re: lseek/llseek allows the negative offset

2000-11-18 Thread Andrea Arcangeli
On Sat, Nov 18, 2000 at 07:25:42PM +0100, Andrea Arcangeli wrote: > I fixed it this way: fix is plain wrong, it's still possible to have lseek return -1 -2 -3 -4 even when it should return -EINVAL. Andrea - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH] ext2 largefile fixes + [f]truncate() error value fix

2000-11-18 Thread Andrea Arcangeli
On Sat, Nov 18, 2000 at 04:55:23PM -0500, Alexander Viro wrote: > > if (size >> 33) { >ITYM 32 this is a bug in 2.2.x mainstream btw. Andrea - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

"No IRQ known for interrupt pin A..." error message

2000-11-18 Thread Steven Walter
During boot, I get the message: PCI: No IRQ known for interrupt pin A of device 00:00.1. Please try using pci=biosirq. If I boot with pci=biosirq, as the error message suggests, I get the same error, save the part about trying with pci=biosirq. This is with version 2.4.0-test11-pre7 and as far

Re: [CFT] dmfe.c network driver update for 2.4

2000-11-18 Thread Jeff Garzik
Tobias Ringstrom wrote: > > On Fri, 17 Nov 2000, Frank Davis wrote: > > > > I would rather fix those non-SMP compliant drivers to be SMP compliant, > > then keeping them 'broken'. Adding the print statements would only be a > > temporary solution. > > Of course. This list of priorites is

[PATCH] blindingly stupid 2.2 VM bug

2000-11-18 Thread Rik van Riel
Hi Alan, here's a fix for a blindingly stupid bug that's been in 2.2 for ages (and which I've warned you about a few times in the last 6 months, and which I've even sent some patches for). This patch should make 2.2 VM a bit more stable and should also fix the complaints from people who's

Re: [CFT] dmfe.c network driver update for 2.4

2000-11-18 Thread Tobias Ringstrom
On Fri, 17 Nov 2000, Frank Davis wrote: > > I would rather fix those non-SMP compliant drivers to be SMP compliant, > then keeping them 'broken'. Adding the print statements would only be a > temporary solution. Of course. This list of priorites is very natural, I think: 1. Working SMP

Re: 2.4 sendfile() not doing as manpage promises?

2000-11-18 Thread bert hubert
On Sat, Nov 18, 2000 at 03:15:28PM -0800, Dan Hollis wrote: > > In that case, the wording of the manpage needs to be changed, as it > > implies that 'either or both' of the filedescriptors can be sockets. > > Its quite clear. > > DESCRIPTION >This call copies data between file

Re: rdtsc to mili secs?

2000-11-18 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:Pavel Machek <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > Actually, on machines where RDTSC works correctly, you'd like to use > > that to detect a lost timer interrupt. > > > > It's tough, it really is :( > > Well, my patch did not do

Re: [BUG] raid5 link error? (was [PATCH] raid5 fix after xor.c cleanup)

2000-11-18 Thread Jasper Spaans
On Sat, Nov 18, 2000 at 12:35:36PM +0100, Jasper Spaans wrote: > Hmm, next time I'll need to eat my own dogfood -- this patch doesn't work, > it only compiles. Don't use it. It seems to me the original code was correct, but the linking isn't in the right order and the initcalls are in the wrong

Re: 2.4 sendfile() not doing as manpage promises?

2000-11-18 Thread Dan Hollis
On Sun, 19 Nov 2000, bert hubert wrote: > After some exploring with 'ddd' (a very nice graphical frontend for gdb, > which includes tools to display and traverse structs), I found that this > probably means that sendfile() can only be used to send files from > blockdevices which support

Re: lseek/llseek allows the negative offset

2000-11-18 Thread H . J . Lu
On Sat, Nov 18, 2000 at 07:25:42PM +0100, Andrea Arcangeli wrote: > On Fri, Nov 17, 2000 at 04:09:00PM -0800, H . J . Lu wrote: > > On Fri, Nov 17, 2000 at 03:59:13PM -0800, H . J . Lu wrote: > > > # gcc x.c > > > # ./a.out > > > lseek on -10: -10 > > > write: File too large > > > > > >

VIA IDE UDMA Mode x -> CRC-ERRORs (2.4.0-testxx)

2000-11-18 Thread Rene Rebe
Hi! I have an Asus K7M motherboard with an AMD Irongate and a VIA VT82C686 connected to an IBM-DPTA-372050 and/or IBM-DTLA-307030. I ever had IDE-DMA problems since I got the board in the beginning of this year. Until Kernel 2.4.0-test7 (or test6 or 8?) it was not possible to use a ATA-66

Re: Freeze on FPU exception with Athlon

2000-11-18 Thread TimO
adrian wrote: > > On Sat, 18 Nov 2000, Linus Torvalds wrote: > > > There's almost certainly more than that. I'd love to have a report on my > > asm-only version, but even so I suspect it also requires the 3dnow stuff, > > I tried all three versions, and no freezes. I forgot to mention the

Re: [PATCH] megaraid driver update for 2.4.0-test10

2000-11-18 Thread Jeff Garzik
dalecki wrote: > -#if LINUX_VERSION_CODE > 0x020024 > #include > -#endif *cheer* > -u32 RDINDOOR (mega_host_config * megaCfg) > +ulong RDINDOOR (mega_host_config * megaCfg) > -void WRINDOOR (mega_host_config * megaCfg, u32 value) > +void WRINDOOR (mega_host_config * megaCfg, ulong value) >

2.4 sendfile() not doing as manpage promises?

2000-11-18 Thread bert hubert
Hi everybody, I tried to use sendfile() to send data from a tcp/ip socket to a file on disk. This does not work, giving EINVAL. Using the very fine kgdb product (http://kgdb.sourceforge.net) and my laptop for remote debugging, I was able to trace this to this: sys/filemap.c::sys_sendfile():

Re: [PATCH] pcmcia event thread. (fwd)

2000-11-18 Thread David Hinds
On Sat, Nov 18, 2000 at 08:03:51AM -0800, Linus Torvalds wrote: > > Strange. Your interrupt router is a bog-standard PIIX4, we know how to > route the thing, AND your device shows up: > > > # dump_pirq > > Interrupt routing table found at address 0xf5a80: > > Version 1.0, size 0x0080 > >

Re: rdtsc to mili secs?

2000-11-18 Thread Vojtech Pavlik
On Sat, Nov 18, 2000 at 09:12:31PM +0100, Pavel Machek wrote: > > Anyway, this should be solvable by checking for clock change in the > > timer interrupt. This way we should be able to detect when the clock > > went weird with a 10 ms accuracy. And compensate for that. It should be > > possible

Re: [PATCH] (new for ppa and imm) Re: [PATCH] Re: Patch to fix lockup on ppa insert

2000-11-18 Thread John Cavan
Tim Waugh wrote: > > On Thu, Nov 16, 2000 at 09:50:40PM -0500, John Cavan wrote: > > > [...] This patch unlocks, allows the lowlevel driver to do it's > > probes, and then relocks. It could probably be more granular in the > > parport_pc code, but my own home tests show it to be working fine. >

Re: [PATCH] ext2 largefile fixes + [f]truncate() error value fix

2000-11-18 Thread Alexander Viro
On Sat, 18 Nov 2000, Andreas Dilger wrote: > Alexander Viro writes: > > * #include removed from ksyms.c. It is not > > needed there (hardly a surprise, since ext2 can be modular itself and > > it doesn't export anything). Ditto for > > * #include removed from fs/nfsd/vfs.c > > I've

Re: Please send Changelog info and patch notices for the test and -pre releases.

2000-11-18 Thread bert hubert
On Sat, Nov 18, 2000 at 07:48:35AM -0800, Linus Torvalds wrote: > You can actually get them off kernel.org these days: Peter Anvin set up a > system whereby when I upload a changelog it automatically gets added to > the web-site (main page, bottom). I find that synchronous notification of new

Re: rdtsc to mili secs?

2000-11-18 Thread Pavel Machek
Hi! > > Anyway, this should be solvable by checking for clock change in the > > timer interrupt. This way we should be able to detect when the clock > > went weird with a 10 ms accuracy. And compensate for that. It should be > > possible to keep a 'reasonable' clock running even through the

Re: rdtsc to mili secs?

2000-11-18 Thread Pavel Machek
Hi! > > > > Intel PIIX-based systems will do duty-cycle throttling, for example. > > > > > > Don't think so. My toshiba is PIIX-based, AFAIC: > > > > Interesting. Some will, definitely. Didn't know that wasn't universal. > > > > Clearly, on a machine like that, there is no hope for RDTSC,

Re: APM oops with Dell 5000e laptop

2000-11-18 Thread Pavel Machek
Hi! > > > Is there a way to uniquely identify the affected BIOSes at boot time and > > > Im looking at one with some pointers from Dell. It won't be in 2.2.18 so its > > quite likely a fixed BIOS will be out first anyway. > > Wherever the fix comes from, I sure hope it comes soon, because it's

Re: KPATCH] Reserve VM for root (was: Re: Looking for better VM)

2000-11-18 Thread Pavel Machek
Hi! > >>main() { while(1) if (fork()) malloc(1); } > >>With the patch below I could ssh to the host and killall the offending > >>processes. To enable reserving VM space for root do > > what about main() { while(1) system("ftp localhost &"); } > > This. or so,ething similar should

Re: Linux 2.2.18pre21

2000-11-18 Thread Pavel Machek
Hi! > > Two easy "get out of jail free" cards. There are other, more complex > > exploits. You have added one more. They all require root privileges. > > Actually, I've heard that a chrooted _non-root_ process can find another > process with the same uid that's not chrooted and can ptrace()

[PATCH] megaraid driver update for 2.4.0-test10

2000-11-18 Thread dalecki
The attached patch does the following: 1. Merge the most current version (aka: 1.08) of the MegaRAID driver from AMI in to the most current kernel (2.4.0-test10 and friends). 2. Try to be clever about HP NetRaid controllers used in HP LHR4 and LHR3 boxes. The current driver does

Re: [PATCH] ext2 largefile fixes + [f]truncate() error value fix

2000-11-18 Thread Alexander Viro
On Sat, 18 Nov 2000, Andrea Arcangeli wrote: [2.2 variant] RLIMIT_FSIZE stuff - vmtruncate(). size < 0 - caller. size > ... - ext2_notify_change(). > if (size >> 33) { ITYM 32 > struct super_block *sb = inode->i_sb; >

Re: [PATCH] swap= kernel commandline

2000-11-18 Thread Werner Almesberger
Rik van Riel wrote: > Did you try to load an initrd on a low-memory machine? > It shouldn't work and it probably won't ;) You must be really low on memory ;-) # zcat initrd.gz | wc -c 409600 (ash, pwd, chroot, pivot_root, smount, and still about 82 kB free.) - Werner --

2.2.18pre21 and ipv6 problems/questions

2000-11-18 Thread Pete Toscano
hello, i'm trying to set up an ipv6 machine. i got a setup script from freenet6 complete with an ipv6 address and the ipv6 and ipv4 addresses of my tunnel endpoint. i'm seeing some strange behavior, so i have a few questions. most of these are probably ubd (user brain damage), but i'd like to

Re: ATA/IDE: dmaproc error 14 testers wanted!

2000-11-18 Thread Mohammad A. Haque
This isnt the same as "ide_dmaproc: chipset supported ide_dma_timeout func only: 14" is it? This was on a PIIX4 w/ test11-pre5. I've since upgraded to test11-pre7 and the problem hasn't surfaced again. Andre Hedrick wrote: > > If anyone is suffering from the dreaded "dmaproc error 14:

Re: speaking of USB...(bug/hub.c)

2000-11-18 Thread Johannes Erdfelt
On Sat, Nov 18, 2000, David Ford <[EMAIL PROTECTED]> wrote: > Here's another one for the books. In the recent test11 series, timing > appears to be partially broken for dev addr assignments. If I'm lucky a > new usb device will answer back and get all the numbers set up > properly. Regularly

ATA/IDE: dmaproc error 14 testers wanted!

2000-11-18 Thread Andre Hedrick
If anyone is suffering from the dreaded "dmaproc error 14: unsupported" error and want to test a code that could get you out of that deadlock please speak up. Basically this is an Intel 440BX PIIX4 issues, but the solution is global and should work for all cases. Regards, Andre Hedrick CTO

Re: Advanced Linux Kernel/Enterprise Linux Kernel

2000-11-18 Thread Daniel Phillips
"Eric W. Biederman" wrote: > > Daniel Phillips <[EMAIL PROTECTED]> writes: > > > Actually, I was planning on doing on putting in a hack to do something > > like that: calculate a checksum after every buffer data update and check > > it after write completion, to make sure nothing scribbled in

Re: [PATCH] swap= kernel commandline

2000-11-18 Thread Rik van Riel
On Sat, 18 Nov 2000, Francois romieu wrote: > The Sat, Nov 18, 2000 at 01:46:40PM +0200, Kaj-Michael Lang wrote : > > This patch adds a swap kernel commandline option, so that you can add a > > swap partition before init starts running on a low-memory machine.

Re: [PATCH] Large "clipped" IDE disk support for 2.4 when using oldBIOS

2000-11-18 Thread Andre Hedrick
Taisuke, After some changes in the code to conform to the near final taskfile solution, it is called CONFIG_IDEDISK_STROKE. It is in the latest patch for 2.2.17 published on kernel.org but I forgot to remove a blocking stub in ide-disk.c Please try it and comment offline for now. Cheers, On

Re: [PATCH] pcmcia event thread. (fwd)

2000-11-18 Thread Pavel Machek
Hi! > [EMAIL PROTECTED] said: > > Umm.. Linus drivers dont appear to be SMP safe on unload > > AFAIK, no kernel threads are currently SMP safe on unload. However, > the PCMCIA thread would be safe with the patch below, and we could fairly > easily convert the others to use up_and_exit()

[PATCH] Large "clipped" IDE disk support for 2.4 when using old BIOS

2000-11-18 Thread Taisuke Yamada
Hi. Earlier this month, I had sent in a patch to 2.2.18pre17 (with IDE-patch from http://www.linux-ide.org/ applied) to add support for IDE disk larger than 32GB, even if the disk required "clipping" to reduce apparent disk size due to BIOS limitation. BIOS known to have this limitation is

Re: Kernel Panic

2000-11-18 Thread Chmouel Boudjnah
Dave Seff <[EMAIL PROTECTED]> writes: > I am not subscribed to this list, so please cc me on > replies. Thanks. I was running mke2fs on an external 17GB SCSI > drive. This started spewing and blasted the 2.2.17mdksmp kernel. could you generate it with ksymoops(include kernel-utils rpm) like

Re: Freeze on FPU exception with Athlon

2000-11-18 Thread Markus Schoder
--- Linus Torvalds <[EMAIL PROTECTED]> schrieb: > > > On Sat, 18 Nov 2000, adrian wrote: > > > > > > > On Sat, 18 Nov 2000, Linus Torvalds wrote: > > > > > There's almost certainly more than that. I'd > love to have a report on my > > > asm-only version, but even so I suspect it also >

Re: EXPORT_NO_SYMBOLS vs. (null) ?

2000-11-18 Thread Jeff Garzik
Rogier Wolff wrote: > > Jeff Garzik wrote: > > Rogier Wolff wrote: > > > > > > Alan Cox wrote: > > > > > What is the difference between a module that exports no symbols and > > > > > includes EXPORT_NO_SYMBOLS reference, and such a module that lacks > > > > > EXPORT_NO_SYMBOLS? > > > > > > > > >

Re: Freeze on FPU exception with Athlon

2000-11-18 Thread Linus Torvalds
On Sat, 18 Nov 2000, adrian wrote: > > > On Sat, 18 Nov 2000, Linus Torvalds wrote: > > > There's almost certainly more than that. I'd love to have a report on my > > asm-only version, but even so I suspect it also requires the 3dnow stuff, > > I tried all three versions, and no freezes.

Re: [PATCH] ext2 largefile fixes + [f]truncate() error value fix

2000-11-18 Thread Andrea Arcangeli
On Sat, Nov 18, 2000 at 05:28:46AM -0500, Alexander Viro wrote: > + setattr:ext2_notify_change, :) > + if (iattr->ia_valid & ATTR_SIZE) { > + if (iattr->ia_size > inode->i_sb->u.ext2_sb.s_max_size) { > + retval = -EFBIG; > +

Re: Freeze on FPU exception with Athlon

2000-11-18 Thread Linus Torvalds
On Sat, 18 Nov 2000, Markus Schoder wrote: > > Your test program is indeed sufficient to trigger the > freeze. Unfortunately the patch does not make a > difference :( Ok. This may in fact be an Athlon CPU bug. But before we contact anybody from AMD, I'd really need to know what the result

Re: Errors in aa2

2000-11-18 Thread J . A . Magallon
On Sat, 18 Nov 2000 18:19:37 Andrea Arcangeli wrote: > On Sat, Nov 18, 2000 at 03:36:09AM +0100, J . A . Magallon wrote: > > /usr/bin/kgcc -D__KERNEL__ -I/usr/src/linux/include -Wall > -Wstrict-prototypes > > -O4 -fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe > > -fno-strength-reduce

Re: Freeze on FPU exception with Athlon

2000-11-18 Thread adrian
On Sat, 18 Nov 2000, Linus Torvalds wrote: > There's almost certainly more than that. I'd love to have a report on my > asm-only version, but even so I suspect it also requires the 3dnow stuff, I tried all three versions, and no freezes. I forgot to mention the tests were run on a model 2

Re: Freeze on FPU exception with Athlon

2000-11-18 Thread Udo A. Steinberg
Markus Schoder wrote: > My test program caused the exception (and the freeze) > unintendedly in the return statement since the > division was optimized away as Brian pointed out. It's quite strange that I cannot seem to trigger the problem here on my machine. > I know of another guy with the

[PATCH] more up_and_exit() fixes.

2000-11-18 Thread David Woodhouse
Index: drivers/media/video/msp3400.c === RCS file: /net/passion/inst/cvs/linux/drivers/media/video/Attic/msp3400.c,v retrieving revision 1.1.2.2 diff -u -r1.1.2.2 msp3400.c --- drivers/media/video/msp3400.c 2000/11/15 12:15:02

Re: Freeze on FPU exception with Athlon

2000-11-18 Thread Udo A. Steinberg
Linus Torvalds wrote: > > Compiler specific ? > > There's almost certainly more than that. I'd love to have a report on my > asm-only version, but even so I suspect it also requires the 3dnow stuff, > because I'm not able to trigger anything like this on any machines I have > access to (none of

Re: lseek/llseek allows the negative offset

2000-11-18 Thread Andrea Arcangeli
On Fri, Nov 17, 2000 at 04:09:00PM -0800, H . J . Lu wrote: > On Fri, Nov 17, 2000 at 03:59:13PM -0800, H . J . Lu wrote: > > # gcc x.c > > # ./a.out > > lseek on -10: -10 > > write: File too large > > > > Should kernel allow negative offsets for lseek/llseek? > > > > > > Never mind.

Re: Freeze on FPU exception with Athlon

2000-11-18 Thread Markus Schoder
--- Linus Torvalds <[EMAIL PROTECTED]> wrote: > > If I'm right, the proper test-program should be > something like > Your test program is indeed sufficient to trigger the freeze. Unfortunately the patch does not make a difference :( My test program caused the exception (and the freeze)

Re: test11-pre6 still very broken

2000-11-18 Thread Linus Torvalds
In article <[EMAIL PROTECTED]>, Greg KH <[EMAIL PROTECTED]> wrote: >On Fri, Nov 17, 2000 at 11:25:50PM -0800, Ben Ford wrote: >> Here is lspci output from the laptop in question. Is this not UHCI? > >Yes it is. Just a bit funny if you think about it, but with Intel and >Via putting the UHCI

Re: sound and scsi pci MODULE_DEVICE_TABLE entries? (primary for Alan Cox)

2000-11-18 Thread Christoph Hellwig
In article <[EMAIL PROTECTED]> you wrote: > Jeff Garzik tells me that you, with some help from some other > kernel developers, are hacking on the sound drivers right now. I > would like to add PCI MODULE_DEVICE_TABLE entries to three of > the four PCI sound drivers: cmpci, cs46xx and

Re: Freeze on FPU exception with Athlon

2000-11-18 Thread Linus Torvalds
On Sat, 18 Nov 2000, Alan Cox wrote: > > Linus Torvalds wrote: > > > > > > I sure as hell hope this isn't an Athlon issue. Can other people try > > > the test-program and see if we have a pattern (ie "it happens only on > > > Athlons", or "Linus is on drugs and it happens for everybody

[PATCH] linux/time.h name space pollution in 2.4.0-test11-pre6/pre7

2000-11-18 Thread Werner Almesberger
Hi Linus, include/linux/time.h leaks out mktime, creating a possible conflict with POSIX mktime. This patch puts mktime and a few helper functions into #ifdef __KERNEL__ Originally for 2.4.0-test11-pre6, but applies also to 2.4.0-test11-pre7 Cheers, Werner --

Re: Linux 2.2.18pre21

2000-11-18 Thread Rogier Wolff
[EMAIL PROTECTED] wrote: > Hello! > > > Well, because lots of people seem to THINK that chroot imprisons > > someone. And "jail" actually does > > Also many of people work to add to linux jail-like functionality, > which is expected to be real security tool unlike bsd jail. > > I think

Re: EXPORT_NO_SYMBOLS vs. (null) ?

2000-11-18 Thread Rogier Wolff
Jeff Garzik wrote: > Rogier Wolff wrote: > > > > Alan Cox wrote: > > > > What is the difference between a module that exports no symbols and > > > > includes EXPORT_NO_SYMBOLS reference, and such a module that lacks > > > > EXPORT_NO_SYMBOLS? > > > > > > > > Alan once upbraided me for assuming

Re: Linux 2.2.18pre21

2000-11-18 Thread kuznet
Hello! > Well, because lots of people seem to THINK that chroot imprisons > someone. And "jail" actually does Also many of people work to add to linux jail-like functionality, which is expected to be real security tool unlike bsd jail. I think from the same source where you read about jail

Re: EXPORT_NO_SYMBOLS vs. (null) ?

2000-11-18 Thread Jeff Garzik
Rogier Wolff wrote: > > Alan Cox wrote: > > > What is the difference between a module that exports no symbols and > > > includes EXPORT_NO_SYMBOLS reference, and such a module that lacks > > > EXPORT_NO_SYMBOLS? > > > > > > Alan once upbraided me for assuming they were the same :) > > > >

Re: EXPORT_NO_SYMBOLS vs. (null) ?

2000-11-18 Thread Rogier Wolff
Alan Cox wrote: > > What is the difference between a module that exports no symbols and > > includes EXPORT_NO_SYMBOLS reference, and such a module that lacks > > EXPORT_NO_SYMBOLS? > > > > Alan once upbraided me for assuming they were the same :) > > EXPORT_NO_SYMBOLS -

About IOs, ISA, PCI, and life (WAS: VGA PCI IO port...)

2000-11-18 Thread Benjamin Herrenschmidt
> >One way to do this is to treat PCI IO and ISA IO as two separate >address spaces. The PCI IO address space is a 14-bit address space >(bits 9:8 are always zero) ranging from 0x1000 to 0xFCFF. ISA IO is a >10-bit space (bits 15:10 are available for the card to use) ranging >from 0x100 to

Re: Linux 2.2.18pre21

2000-11-18 Thread Rogier Wolff
[EMAIL PROTECTED] wrote: > Hello! > > > This IS the magical security device. > > Jail maybe is. Chroot is not. It is even not clear, why you remembered > about jail here. Chroot does not imprison anyone. Well, because lots of people seem to THINK that chroot imprisons someone. And "jail"

Re: Linux 2.2.18pre21

2000-11-18 Thread kuznet
Hello! > This IS the magical security device. Jail maybe is. Chroot is not. It is even not clear, why you remembered about jail here. Chroot does not imprison anyone. Alexey - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED]

  1   2   3   >