Re: Patch 4/6 randomize the stack pointer

2005-01-28 Thread John Richard Moser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alright, I'll bite. Someone told me to bring this up after reading all the complaints about breakage, so again we get back to PaX. I'm more interested in "this patch is bad" than "PaX is better" for this argument, but whatever. Compatibility has

Re: [PATCH] OpenBSD Networking-related randomization port

2005-01-28 Thread linux
> It adds support for advanced networking-related randomization, in > concrete it adds support for TCP ISNs randomization Er... did you read the existing Linux TCP ISN generation code? Which is quite thoroughly randomized already? I'm not sure how the OpenBSD code is better in any way. (Notice

help me to know when ethernet header added to packet by eth_header function

2005-01-28 Thread linux lover
Hello, Can anybody explain me how ethernet header is added to every packet outgoing? I check eth.c file and found eth_header that is used for adding ethernet header on skbuff packet. But does each packet calls this function? I think not as theres a cache header function used that cache

Re: userspace vs. kernelspace address

2005-01-28 Thread Om
On Fri, Jan 28, 2005 at 01:40:51PM -0800, Rock Gordon wrote: > Hi everbody, > > Thanks for your replies. > > However I think my copy_to_user and copy_from_user are > failing since the kernel-mode thread is copying data > into another process's address space, and I am not > sure how to do this.

Re: [patch, 2.6.11-rc2] sched: RLIMIT_RT_CPU_RATIO feature

2005-01-28 Thread Jack O'Quin
Peter Williams <[EMAIL PROTECTED]> writes: > > If the average usage rate is estimated over longer periods it will be > lower allowing lower limits to be used. Also if the task's own usage > rate estimates are used to test the limits then the limit can be lower. > > If the default limits can be

Re: [PATCH] OpenBSD Networking-related randomization port

2005-01-28 Thread Andi Kleen
Stephen Hemminger <[EMAIL PROTECTED]> writes: > On Fri, 28 Jan 2005 12:45:17 -0800 > "David S. Miller" <[EMAIL PROTECTED]> wrote: > >> On Fri, 28 Jan 2005 21:34:52 +0100 >> Lorenzo Hernández García-Hierro <[EMAIL PROTECTED]> wrote: >> >> > Attached the new patch following Arjan's

Re: compat ioctl for submiting URB

2005-01-28 Thread Andi Kleen
Christopher Li <[EMAIL PROTECTED]> writes: > VMware is a big user of the usbdevfs, we translate guest USB > IO to usbdevfs, by submitting URB. On the x86_64 system, we > need those compatible ioctl for submitting URBs. For now we > make a hack to submit it through the vmmon driver. But that > is

Re: Patch 4/6 randomize the stack pointer

2005-01-28 Thread John Richard Moser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rik van Riel wrote: > On Thu, 27 Jan 2005, John Richard Moser wrote: > >> Arjan van de Ven wrote: > > Is this one any worse? >>> >>> yes. >>> >>> oracle, db2 and similar like to mmap 2Gb or more *in one chunk*. >> >> >> Special case? > > >

Re: compat ioctl for submiting URB

2005-01-28 Thread Andi Kleen
Christopher Li <[EMAIL PROTECTED]> writes: > This patch is for the case that running 32 bit application on > a 64 bit kernel. So far only x86_64 allow you to do that. > > I am not aware of other 64bit architecture need the 32bit > emulation. A lot of them do. Just use CONFIG_COMPAT instead.

Re: [Discuss][i386] Platform SMIs and their interferance with tsc based delay calibration

2005-01-28 Thread Andi Kleen
Venkatesh Pallipadi <[EMAIL PROTECTED]> writes: > + > + /* > + * If the upper limit and lower limit of the tsc_rate is more than > + * 12.5% apart. > + */ > + if (pre_start == 0 || pre_end == 0 || > + (tsc_rate_max - tsc_rate_min) > (tsc_rate_max >> 3)) { > +

Re: Compactflash (Sandisk 512) hangs on access

2005-01-28 Thread Prashant Viswanathan
> > I have been trying unsuccessfully over the last 2 weeks to get > > compactflash working on my Linux system based on mini-ITX (Via CL > > motherboard, pentium compatible). > > > > I use a CF->IDE adapter to access it just like a IDE hard disk. My > > compactflash is Sandisk SDCFH-512. Linux can

Re: Patch 4/6 randomize the stack pointer

2005-01-28 Thread John Richard Moser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ingo Molnar wrote: > * Paulo Marques <[EMAIL PROTECTED]> wrote: > > >>I really shouldn't feed the trolls, but this must be the most silly >>piece of code I saw on this mailing list in a very long time (and >>there have been some good examples over

Re: compat ioctl for submiting URB

2005-01-28 Thread Al Viro
On Fri, Jan 28, 2005 at 08:33:05PM -0500, Christopher Li wrote: > This patch is for the case that running 32 bit application on > a 64 bit kernel. So far only x86_64 allow you to do that. > > I am not aware of other 64bit architecture need the 32bit > emulation. Huh??? a) ppc64 runs

Re: compat ioctl for submiting URB

2005-01-28 Thread Roland Dreier
Christopher> This patch is for the case that running 32 bit Christopher> application on a 64 bit kernel. So far only x86_64 Christopher> allow you to do that. Actually, at least ia64, mips, parisc, ppc64, s390 and sparc64 also support 32-bit applications on a 64-bit kernel. All of

Re: compat ioctl for submiting URB

2005-01-28 Thread Christopher Li
This patch is for the case that running 32 bit application on a 64 bit kernel. So far only x86_64 allow you to do that. I am not aware of other 64bit architecture need the 32bit emulation. Chris On Sat, Jan 29, 2005 at 04:29:51AM +, Gianni Tedesco wrote: > On Fri, 2005-01-28 at 16:23 -0500,

Re: [Discuss][i386] Platform SMIs and their interferance with tsc based delay calibration

2005-01-28 Thread Andrew Morton
Please don't send emails which contain 500-column lines? Venkatesh Pallipadi <[EMAIL PROTECTED]> wrote: > > Current tsc based delay_calibration can result in significant errors in > loops_per_jiffy count when the platform events like SMIs (System Management > Interrupts that are non-maskable)

Re: [RFC] shared subtrees

2005-01-28 Thread raven
On Fri, 28 Jan 2005, Mike Waychison wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Al Viro wrote: OK, here comes the first draft of proposed semantics for subtree sharing. What we want is being able to propagate events between the parts of mount trees. Below is a description of what I

Kernel oops on integrating a module with obj-y option

2005-01-28 Thread selvakumar nagendran
Hello everyone, I am using Fedora core 1. I am doing my project in the linux kernel 2.4.28. In my project, I am intercepting system calls. I am doing all these things from a module. Now, I installed this module with the main kernel and I found it working nice when I used

Re: Possible bug in keyboard.c (2.6.10)

2005-01-28 Thread Al Viro
On Fri, Jan 28, 2005 at 11:59:37AM +0100, Vojtech Pavlik wrote: > I'm very sorry about the locking, but the thing grew up in times of > kernel 2.0, which didn't require any locking. There are a few possible Incorrect. You have blocking allocations in critical areas and they required locking all

Re: [PATCH] Restrict procfs permissions

2005-01-28 Thread Al Viro
On Sat, Jan 29, 2005 at 03:45:42AM +0100, Rene Scharfe wrote: > The patch is inspired by the /proc restriction parts of the GrSecurity > patch. The main difference is the ability to configure the restrictions > dynamically. You can change the umask setting by running > ># mount -o

Re: [PATCH 1/2] pci: Arch hook to determine config space size

2005-01-28 Thread Greg KH
On Fri, Jan 28, 2005 at 06:52:34PM +, Christoph Hellwig wrote: > > +int __attribute__ ((weak)) pcibios_exp_cfg_space(struct pci_dev *dev) { > > return 1; } > > - prototypes belong to headers > - weak linkage is the perfect way for total obsfucation > > please make this a regular arch hook

Re: compat ioctl for submiting URB

2005-01-28 Thread Gianni Tedesco
On Fri, 2005-01-28 at 16:23 -0500, Christopher Li wrote: > +#ifdef CONFIG_IA32_EMULATION > + > + case USBDEVFS_SUBMITURB32: > + snoop(>dev, "%s: SUBMITURB32\n", __FUNCTION__); > + ret = proc_submiturb_compat(ps, p); > + if (ret >= 0) > +

Disabling IRQ #xx, because nobody cared!

2005-01-28 Thread William Park
I'm runing 2.6.10 SMP. I usually use APM, but I decided to try ACPI. On my machine, USB (integrated) and Audio (PCI card) shares IRQ: CPU0 CPU1 0: 19281733 19952671IO-APIC-edge timer 1: 51751 53105IO-APIC-edge i8042 4:

USB HID events and Microsoft wheel mouse

2005-01-28 Thread Jon Smirl
Something changed in the Linus BK kernel in the last few days so that I get "drivers/usb/input/hid-input.c: event field not found" in dmesg everytime I move my MS Wheel mouse. Any ideas on how to get rid of this? The events are EV_MISC: type 4 code 4 value 65585 type 4 code 4 value 65584 type 4

HID warning messages fills the logs

2005-01-28 Thread Marcel Holtmann
Hi, when running 2.6.11-rc2-bk6 with my USB HID v1.00 Mouse [Microsoft Microsoft Wheel Mouse Optical®] the logs get filled with this message: kernel: drivers/usb/input/hid-input.c: event field not found last message repeated 459 times last message repeated 1157 times Regards Marcel - To

Impossible to renice threaded NPTL programs on 2.6.10

2005-01-28 Thread Jan Knutar
For those times when a threaded program runs amok, and I still have some hope that it will eventually stop being a pig, but would like to actually use my computer in the meanwhile, the idea of renicing this runaway program to nice 19 comes to mind. Except, it doesn't actually work. Only the main

slab BUG in FC devel kernel, x86-64

2005-01-28 Thread Bill Nottingham
The kernel in question is based on 2.6.11-rc2-bk4, FWIW. Transcribed by hand. Happened when rsyncing data onto a LVM-on-RAID1, sata_via controller. (root FS is on generic VIA IDE). slab: double free detected in cache 'size-128', objp 81000340bba8. Kernel BUG at slab:2188 invalid operand:

Re: [RFC PATCH 2.4] ata_piix on ich6r in RAID mode

2005-01-28 Thread Martins Krikis
--- Jeff Garzik <[EMAIL PROTECTED]> wrote: > Martins Krikis wrote: > > Without this patch, if the BIOS of an ICH6R box has IDE set to > "RAID" > > mode then ata_piix will not find any SATA disks because it > incorrectly > > tries the legacy mode. With the patch all 4 SATA drives become >

[Discuss][i386] Platform SMIs and their interferance with tsc based delay calibration

2005-01-28 Thread Venkatesh Pallipadi
Issue: Current tsc based delay_calibration can result in significant errors in loops_per_jiffy count when the platform events like SMIs (System Management Interrupts that are non-maskable) are present. This could lead to potential kernel panic(). This issue is becoming more visible with 2.6

Re: Patch 4/6 randomize the stack pointer

2005-01-28 Thread Rik van Riel
On Thu, 27 Jan 2005, John Richard Moser wrote: Arjan van de Ven wrote: Is this one any worse? yes. oracle, db2 and similar like to mmap 2Gb or more *in one chunk*. Special case? Absolutely, but ... Can I get this put into perspective? How much more important is "Good" randomization versus "not

[PATCH] Restrict procfs permissions

2005-01-28 Thread Rene Scharfe
Hi all, this patch adds a umask option to the proc filesystem. It can be used to restrict the permission of users to view each others process information. E.g. on a multi-user shell server one could use a setting of umask=077 to allow all users to view info about their own processes, only. It

Re: [RFC][PATCH] add driver matching priorities

2005-01-28 Thread Dmitry Torokhov
On Friday 28 January 2005 19:11, Al Viro wrote: > On Fri, Jan 28, 2005 at 06:23:26PM -0500, Dmitry Torokhov wrote: > > On Friday 28 JanuarDy 2005 17:30, Adam Belay wrote: > > > Of course this patch is not going to be effective alone.  We also need > > > to change the init order.  If a driver is

Re: 2.6.10 USB devices generate descriptor read error?

2005-01-28 Thread Parag Warudkar
Known one - It's non fatal. All your devices should work fine. If you want you can try loading usbcore.ko with module parameter old_scheme_first=y and see if it goes away. Parag Jeff Wiegley wrote: Is anybody else having a similar problem as the following... My USB keydrives use to work fine

2.6.10 USB devices generate descriptor read error?

2005-01-28 Thread Jeff Wiegley
Is anybody else having a similar problem as the following... My USB keydrives use to work fine in 2.6.9. Since I upgraded to 2.6.10 now they just generate a device descriptor read error. Specifically: /var/log/kern.log.0:Jan 26 18:18:18 mail kernel: usb 4-2.1: device descriptor read/64, error -32

Re: Why does the kernel need a gig of VM?

2005-01-28 Thread Andy Isaacson
On Fri, Jan 28, 2005 at 03:06:15PM -0500, John Richard Moser wrote: > Can someone give me a layout of what exactly is up there? I got the > basic idea > > K 4G > A 3G > A 2G > A 1G > > App has 3G, kernel has 1G at the top of VM on x86 (dunno about x86_64). > > So what's the layout of that top

Re: [PATCH, 2.4] fix an oops in ata_to_sense_error

2005-01-28 Thread Jeff Garzik
Martins Krikis wrote: Jeff, This fixes an occasional oops in the libata-scsi code. will apply, thanks. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: [PATCH, 2.4] fix an oops in ata_to_sense_error

2005-01-28 Thread Jeff Garzik
Martins Krikis wrote: Jeff, This fixes an occasional oops in the libata-scsi code. Martins Krikis --- linux-2.4.29/drivers/scsi/libata-scsi.c 2005-01-28 12:07:56.0 -0500 +++ linux-2.4.29-iswraid/drivers/scsi/libata-scsi.c 2005-01-28 12:14:43.0 -0500 BTW, don't forget

Re: [RFC PATCH 2.4] ata_piix on ich6r in RAID mode

2005-01-28 Thread Jeff Garzik
Martins Krikis wrote: Without this patch, if the BIOS of an ICH6R box has IDE set to "RAID" mode then ata_piix will not find any SATA disks because it incorrectly tries the legacy mode. With the patch all 4 SATA drives become visible. I don't think it would break any other vendor's SATA, but you

[Patch] invalidate range of pages after direct IO write

2005-01-28 Thread Zach Brown
After a direct IO write only invalidate the pages that the write intersected. invalidate_inode_pages2_range(mapping, pgoff start, pgoff end) is added and called from generic_file_direct_IO(). This doesn't break some subtle agreement with some other part of the code, does it? While we're in

[ANNOUNCE] "iswraid" (ICHxR ataraid sub-driver) for 2.4.29

2005-01-28 Thread Martins Krikis
Version 0.1.5 of the Intel Sofware RAID driver (iswraid) is now available for the 2.4 series kernels at http://prdownloads.sourceforge.net/iswraid/2.4.29-iswraid.patch.gz?download It is an ataraid "subdriver" but uses the SCSI subsystem to find the RAID member disks. It depends on the libata

Re: I need a hardware wizard... I have been beating my head on the wall..

2005-01-28 Thread David Sims
Hi Paulo! Your patch generated the following: Jan 28 19:11:51 linux kernel: vsc_sata int status: 0083 Jan 28 19:11:51 linux last message repeated 19 times Jan 28 19:11:51 linux kernel: irq 7: nobody cared! Jan 28 19:11:51 linux kernel: [] __report_bad_irq+0x22/0x90 Jan 28 19:11:51 linux

compat ioctl for submiting URB

2005-01-28 Thread Christopher Li
Hi, The compatible ioctl is missing for submitting URB from 32 bit application on a x86_64 system. For people who need to refresh their mind, please read the big comment after do_usbdevfs_bulk in fs/compat_ioctl.c VMware is a big user of the usbdevfs, we translate guest USB IO to usbdevfs, by

[patch 1/1] fix syscallN() macro errno value checking for i386

2005-01-28 Thread blaisorblade
From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> Cc: David Howells <[EMAIL PROTECTED]> The errno values which are visible for userspace are actually in the range -1 - -129, not until -128 (): this value was added: #define EKEYREJECTED129 /* Key was rejected by service */ And

Re: 2.6.11-r1 freezes dual 2.5 GHz PowerMac G5

2005-01-28 Thread Maurice Volaski
The patch below works. Thanks. Maurice Volaski writes: > I am running Gentoo with a fresh 2.6.11-r1. I have all the kernel > debugging options turned on. Occasionally, I can get past the boot > process, but half the time it freezes somewhere along the way. If > not, I do get to boot, it

Re: [patch, 2.6.11-rc2] sched: RLIMIT_RT_CPU_RATIO feature

2005-01-28 Thread Lee Revell
On Fri, 2005-01-28 at 10:11 +0100, Ingo Molnar wrote: > * Jack O'Quin <[EMAIL PROTECTED]> wrote: > > > > thus after a couple of years we'd end up with lots of desktop apps > > > running as SCHED_FIFO, and latency would go down the drain again. > > > > I wonder how Mac OS X and Windows deal with

Re: PNP and bus association

2005-01-28 Thread Pierre Ossman
Adam Belay wrote: Hi Pierre, The platform bus does not show the actual physical relationship either. For x86, ACPI is typically needed to determine this. It would be easy to bind to spawn pnp devices off of an ISA bridge device, attached to the pci bus, but whether it's the actual physical parent

2.6.10 ACPI on dell inspiron 8100

2005-01-28 Thread Wakko Warner
I noticed something strange with ACPI and the battery: /proc/acpi/battery/BAT1$ cat info present: yes design capacity: 57420 mWh last full capacity: 57420 mWh battery technology: rechargeable design voltage: 14800 mV design capacity warning: 3000 mWh

driver model: fix u32 vs. pm_message_t in OSS

2005-01-28 Thread Pavel Machek
Hi! This fixes u32 vs. pm_message_t in OSS. [I tried to go through alsa developers, but Takashi told me they do not have control over sound/oss.] No real code changes, please apply, Pavel (all bugs are mine :-). From: Bernard

Re: [RFC][PATCH] add driver matching priorities

2005-01-28 Thread Al Viro
On Fri, Jan 28, 2005 at 06:23:26PM -0500, Dmitry Torokhov wrote: > On Friday 28 January 2005 17:30, Adam Belay wrote: > > Of course this patch is not going to be effective alone.  We also need > > to change the init order.  If a driver is registered early but isn't the > > best available, it will

Re: [RFC][PATCH] add driver matching priorities

2005-01-28 Thread Adam Belay
On Fri, 2005-01-28 at 18:51 -0500, Dmitry Torokhov wrote: > If generic driver binds to a device that is has no idea how to drive > _at all_ then I will argue that the generic driver is broken. It should > not bind to begin with. > In the case of pci bridges, sometimes we can't really tell if we

Re: [PATCH 5/10] UML - compile fixes

2005-01-28 Thread Blaisorblade
On Friday 28 January 2005 23:10, Andrew Morton wrote: > Blaisorblade <[EMAIL PROTECTED]> wrote: > > On Monday 17 January 2005 08:27, Andrew Morton wrote: > > > Jeff Dike <[EMAIL PROTECTED]> wrote: > > > > This fixes some warnings, and changes the system call table so that > > > > it will compile

Re: [Bug 4081] New: OpenOffice crashes while starting due to a threading error

2005-01-28 Thread Stephen Hemminger
On Fri, 28 Jan 2005 18:46:13 -0500 Parag Warudkar <[EMAIL PROTECTED]> wrote: > Lee Revell wrote: > > > > > > >>munmap(0x955838, 8192) = -1 EINVAL (Invalid argument) > >>munmap(0x80d7ff0, 3221222108) = -1 EINVAL (Invalid argument) > >>--- SIGSEGV (Segmentation fault)

Re: [RFC][PATCH] add driver matching priorities

2005-01-28 Thread Dmitry Torokhov
On Friday 28 January 2005 18:33, Adam Belay wrote: > On Fri, 2005-01-28 at 18:23 -0500, Dmitry Torokhov wrote: > > On Friday 28 January 2005 17:30, Adam Belay wrote: > > > Of course this patch is not going to be effective alone. We also need > > > to change the init order. If a driver is

Re: [RFC][PATCH] add driver matching priorities

2005-01-28 Thread Adam Belay
On Fri, 2005-01-28 at 18:23 -0500, Dmitry Torokhov wrote: > On Friday 28 January 2005 17:30, Adam Belay wrote: > > Of course this patch is not going to be effective alone. We also need > > to change the init order. If a driver is registered early but isn't the > > best available, it will be

Re: Real-time rw-locks (Re: [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.32-15)

2005-01-28 Thread hui
On Fri, Jan 28, 2005 at 08:45:46PM +0100, Ingo Molnar wrote: > * Trond Myklebust <[EMAIL PROTECTED]> wrote: > > If you do have a highest interrupt case that causes all activity to > > block, then rwsems may indeed fit the bill. > > > > In the NFS client code we may use rwsems in order to protect

Re: [PATCH] idle thread preemption fix

2005-01-28 Thread Ingo Molnar
* Olaf Hering <[EMAIL PROTECTED]> wrote: > Whats the purpose of local_irq_disable() here? Locks up my toys in > atkbd_init or IP hash foo functions. fix already posted a couple of days ago, see: -- * Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > Hi Ingo ! > > Could you explain me

Re: [RFC][PATCH] add driver matching priorities

2005-01-28 Thread Dmitry Torokhov
On Friday 28 January 2005 17:30, Adam Belay wrote: > Of course this patch is not going to be effective alone. ÂWe also need > to change the init order. ÂIf a driver is registered early but isn't the > best available, it will be bound to the device prematurely. ÂThis would > be a problem for carbus

[PATCH] document atkbd.softraw

2005-01-28 Thread Andries.Brouwer
Document atkbd.softraw (and shorten a few long lines nearby). diff -uprN -X /linux/dontdiff a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt --- a/Documentation/kernel-parameters.txt 2004-12-29 03:39:42.0 +0100 +++ b/Documentation/kernel-parameters.txt

Re: [Bug 4081] New: OpenOffice crashes while starting due to a threading error

2005-01-28 Thread Lee Revell
On Fri, 2005-01-28 at 09:31 -0800, Stephen Hemminger wrote: > Here is the strace output of the part that SEGV's, looks like a DRI issue?? [snip] > munmap(0x955838, 8192) = -1 EINVAL (Invalid argument) > munmap(0x80d7ff0, 3221222108) = -1 EINVAL (Invalid argument) > ---

Re: [Bug 4081] New: OpenOffice crashes while starting due to a threading error

2005-01-28 Thread Parag Warudkar
Stephen Hemminger wrote: Here is the strace output of the part that SEGV's, looks like a DRI issue?? Yep.. If you haven't already, just change the permissions on /dev/dri/card0 to give access to your user id and it should be fine. (Reporter of this bug had to do the same in order to get it

PROBLEM: SysV semaphore race vs SIGSTOP

2005-01-28 Thread Ove Kaaven
There seem to be a race when SIGSTOP-ing a process waiting for a SysV semaphore. Even if it could not possibly have owned the semaphore when the signal was sent (because the sender of the signal owned it at the time), it still occasionally happens that it both stops execution *and* acquires the

Re: panic in raid1_end_write_request

2005-01-28 Thread Norman Gaywood
Thanks Mark, On Fri, Jan 28, 2005 at 04:34:01PM -0600, Mark Rustad wrote: > I used to get these running SuSE SLES 9 and also with a variety of > kernel.org kernels. The crash was triggered by a media error on a > RAID1. Were there any media errors logged? My system does not log any such

Re: PNP and bus association

2005-01-28 Thread Adam Belay
Hi Pierre, The platform bus does not show the actual physical relationship either. For x86, ACPI is typically needed to determine this. It would be easy to bind to spawn pnp devices off of an ISA bridge device, attached to the pci bus, but whether it's the actual physical parent would be very

Re: multiple neighbour cache tables for AF_INET

2005-01-28 Thread YOSHIFUJI Hideaki / $B5HF#1QL@(B
In article <[EMAIL PROTECTED]> (at Sat, 29 Jan 2005 09:19:49 +1100), Herbert Xu <[EMAIL PROTECTED]> says: > IMHO you need to give the user a way to specify which table they want > to operate on. If they don't specify one, then the current behaviour > of choosing the first table found is

Re: [PATCH] idle thread preemption fix

2005-01-28 Thread Olaf Hering
On Sat, Jan 08, Linux Kernel Mailing List wrote: > ChangeSet 1.2316, 2005/01/08 13:53:41-08:00, [EMAIL PROTECTED] > > [PATCH] idle thread preemption fix > > The early bootup stage is pretty fragile because the idle thread is not > yet > functioning as such and so we

[RFC][PATCH] add driver matching priorities

2005-01-28 Thread Adam Belay
Hi, This patch adds initial support for driver matching priorities to the driver model. It is needed for my work on converting the pci bridge driver to use "struct device_driver". It may also be helpful for driver with more complex (or long id lists as I've seen in many cases) matching

[WATCHDOG] 2.6.11-rc2 watchdog patches

2005-01-28 Thread Wim Van Sebroeck
n 0.01 @@ -49,6 +60,9 @@ * 20030921 Wim Van Sebroeck <[EMAIL PROTECTED]> * 0.06 change i810_margin to heartbeat, use module_param, * added notify system support, renamed module to i8xx_tco. + * 20050128 Wim Van Sebroeck <[EMAIL PROTECTED]> + * 0.07 Added support

Re: panic in raid1_end_write_request

2005-01-28 Thread Mark Rustad
Norman, I used to get these running SuSE SLES 9 and also with a variety of kernel.org kernels. The crash was triggered by a media error on a RAID1. A patch that I got from SuSE fixed it for me. The patch is below your message excerpt. On Jan 28, 2005, at 3:23 PM, Norman Gaywood wrote: I have a

Re: [RFC] shared subtrees

2005-01-28 Thread Mike Waychison
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Al Viro wrote: > OK, here comes the first draft of proposed semantics for subtree > sharing. What we want is being able to propagate events between > the parts of mount trees. Below is a description of what I think > might be a workable semantics;

Re: [PATCH] relayfs redux, part 2

2005-01-28 Thread Andrew Morton
Tom Zanussi <[EMAIL PROTECTED]> wrote: > > This patch is the result of the latest round of liposuction on relayfs > - the patch size is now 44K, down from 110K and the 200K before that. > I'm posting it as a patch against 2.6.10 rather than -mm in order to > make it easier to review, but will

Re: kernel oops!

2005-01-28 Thread ierdnah
On Fri, 2005-01-28 at 12:28 -0800, Linus Torvalds wrote: > I'm surprised that it makes _that_ much of a difference, but it sounds > like you used to be borderline on CPU usage before, and this just made it > much worse. it's musch worst, I had a load of 5 with 250 VPN connections, and now, I

Re: multiple neighbour cache tables for AF_INET

2005-01-28 Thread Herbert Xu
Wilfried Weissmann <[EMAIL PROTECTED]> wrote: > > The kernels 2.4.28+ and 2.6.9+ with IPv4 and ATM-CLIP enabled have bugs in > the neighbour cache code. neigh_delete() and neigh_add() only work properly > if one cache table per address family exist. After ATM-CLIP installed a > second cache table

Re: [patch, 2.6.11-rc2] sched: RLIMIT_RT_CPU_RATIO feature

2005-01-28 Thread Ingo Molnar
* Peter Williams <[EMAIL PROTECTED]> wrote: > I think part of the problem here is that by comparing each tasks limit > to the runqueue's usage rate (and to some extent using a relatively > short decay period) you're creating the need for the limits to be > quite large i.e. it has to be big

Re: [patch, 2.6.11-rc2] sched: RLIMIT_RT_CPU_RATIO feature

2005-01-28 Thread Peter Williams
Ingo Molnar wrote: * Jack O'Quin <[EMAIL PROTECTED]> wrote: i'm wondering, couldnt Jackd solve this whole issue completely in user-space, via a simple setuid-root wrapper app that does nothing else but validates whether the user is in the 'jackd' group and then keeps a pipe open to to the real

Re: [PATCH] OpenBSD Networking-related randomization port

2005-01-28 Thread Lorenzo Hernández García-Hierro
El vie, 28-01-2005 a las 21:47 +0100, Arjan van de Ven escribió: > as for obsd_get_random_long().. would it be possible to use the > get_random_int() function from the patches I posted the other day? They > use the existing random.c infrastructure instead of making a copy... As seen at

Re: Possible bug in keyboard.c (2.6.10)

2005-01-28 Thread Andries Brouwer
On Fri, Jan 28, 2005 at 12:10:05PM +0100, Vojtech Pavlik wrote: > And, btw, raw mode in 2.6 is not badly broken. It works as it is > intended to. If you want the 2.4 behavior on x86, you just need to > specify "atkbd.softraw=0" on the kernel command line. Thanks for pointing that out - I should

[WATCHDOG] 2.6.11-rc2 i8xx_tco.c-ICH4/6/7-patch

2005-01-28 Thread Wim Van Sebroeck
@@ * 20030921 Wim Van Sebroeck <[EMAIL PROTECTED]> * 0.06 change i810_margin to heartbeat, use module_param, * added notify system support, renamed module to i8xx_tco. + * 20050128 Wim Van Sebroeck <[EMAIL PROTECTED]> + * 0.07 Added support for the ICH4-M, ICH6,

Re: [2.6.11-rc2] kernel BUG at fs/reiserfs/prints.c:362

2005-01-28 Thread Lee Revell
On Thu, 2005-01-27 at 17:15 +0300, Vladimir Saveliev wrote: > Earlier reiserfs used to lock_kernel on entering and unlock on exit. The > reason is that reiserfs has no fine grain locking protecting access to > its data structures. > Since that time there could be introduced some minor

Re: [PATCH] OpenBSD Networking-related randomization port

2005-01-28 Thread David S. Miller
On Fri, 28 Jan 2005 13:34:08 -0800 Stephen Hemminger <[EMAIL PROTECTED]> wrote: > per-cpu would be the way to go here. Does the sbox get somehow seeded from use to use? If not, then yes that's the thing to do. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

[PATCH 1/1] tpm: insert missing up mutex in an error path

2005-01-28 Thread Kylene Hall
This patch puts in the missing up call on the tpm_mutex on an error condition in the tpm_transmit function. Bug reported by Stefan Berger <[EMAIL PROTECTED]>. This patch also implements a new status function to handle future chip configurations which may generate status differntly. Thanks,

Re: Why does the kernel need a gig of VM?

2005-01-28 Thread Oliver Neukum
Am Freitag, 28. Januar 2005 21:42 schrieb Josh Boyer: > Because of various reasons.  Normal kernel space virtual addresses > usually start at 0xc000, which is where the 3GiB userspace > restriction comes from.   > > Then there is the vmalloc virtual address space, which usually starts at > a

Re: userspace vs. kernelspace address

2005-01-28 Thread Rock Gordon
Hi everbody, Thanks for your replies. Lemme explain my problem a little bit more I have a thread that does exactly similar things in kernel-mode and user-mode (depending on how you invoked it; of course, the kernel one is forked using kernel_thread(), and the user one is from

Re: [BUG] 2.6.11-rc2 ALSA

2005-01-28 Thread Lee Revell
On Thu, 2005-01-27 at 08:46 +0100, Jaroslav Kysela wrote: > Fixed the default state of "Headphone Jack Sense" switch on AD1981x > codecs. Setting this on affects the output of some machines (e.g. > Thindpads). You probably meant "Thimkpads". Lee - To unsubscribe from this list: send the line

Re: [PATCH] OpenBSD Networking-related randomization port

2005-01-28 Thread Stephen Hemminger
On Fri, 28 Jan 2005 12:45:17 -0800 "David S. Miller" <[EMAIL PROTECTED]> wrote: > On Fri, 28 Jan 2005 21:34:52 +0100 > Lorenzo Hernández García-Hierro <[EMAIL PROTECTED]> wrote: > > > Attached the new patch following Arjan's recommendations. > > No SMP protection on the SBOX, better look into

[PATCH] Fix compile errors with 2.6.11-rc2

2005-01-28 Thread Manish Lachwani
Hi ! When compiling 2.6.11-rc2: ... CC kernel/stop_machine.o In file included from include/linux/sysdev.h:24, from include/linux/cpu.h:22, from include/linux/stop_machine.h:8, from kernel/stop_machine.c:1: include/linux/kobject.h: In

panic in raid1_end_write_request

2005-01-28 Thread Norman Gaywood
I have a Dell PE2650, Dual Xeon, 1G memory and several software raid1 partitions, ext3. Main duties include NFS, DHCP and samba. A Fedora kernel 2.6.10-1.747_FC3smp which includes 2.6.10-ac10. This system panics frequently, between several hours to several days. It does not seem to be related to

Re: Real-time rw-locks (Re: [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.32-15)

2005-01-28 Thread Lee Revell
On Fri, 2005-01-28 at 11:18 -0800, Trond Myklebust wrote: > In the NFS client code we may use rwsems in order to protect stateful > operations against the (very infrequently used) server reboot recovery > code. The point is that when the server reboots, the server forces us to > block *all*

Re: journaled filesystems -- known instability; Was: XFS: inode with st_mode == 0

2005-01-28 Thread Jeffrey E. Hundstad
Stephen C. Tweedie wrote: Hi, On Fri, 2005-01-28 at 20:15, Jeffrey E. Hundstad wrote: Does linux-2.6.11-rc2 have both the linux-2.6.10-ac10 fix and the xattr problem fixed? Not sure about how much of -ac went in, but it has the xattr fix. I've had my machine that would

Re: journaled filesystems -- known instability; Was: XFS: inode with st_mode == 0

2005-01-28 Thread Stephen C. Tweedie
Hi, On Fri, 2005-01-28 at 20:15, Jeffrey E. Hundstad wrote: > >>Does linux-2.6.11-rc2 have both the linux-2.6.10-ac10 fix and the xattr > >>problem fixed? > >Not sure about how much of -ac went in, but it has the xattr fix. > I've had my machine that would crash daily if not hourly stay up

Re: Why does the kernel need a gig of VM?

2005-01-28 Thread John Richard Moser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wow. I'd heard that there was a way to set 3.5/0.5 GiB split, and that there was a patch that removed the split and isolated the kernel (but that was slow), so I was just curious about all this stuff with people screaming about how tight 4G of VM is

Re: [PATCH] relayfs redux, part 2

2005-01-28 Thread Tim Bird
Tom Zanussi wrote: > diff -urpN -X dontdiff linux-2.6.10/fs/Kconfig linux-2.6.10-cur/fs/Kconfig ... > + This file system is also available as a module ( = code which can be > + inserted in and removed from the running kernel whenever you want). > + The module is called relayfs.

Re: I need a hardware wizard... I have been beating my head on the wall..

2005-01-28 Thread Paulo Marques
David Sims wrote: On Thu, 27 Jan 2005, Jeff Garzik wrote: David Sims wrote: [...] You can insert the module in a running kernel and after barking as follows (once for each disk attached) it runs just fine. Basically nobody has ever had hardware to test sata_vsc with that hardware. We should

Re: [PATCH] OpenBSD Networking-related randomization port

2005-01-28 Thread David S. Miller
On Fri, 28 Jan 2005 21:34:52 +0100 Lorenzo Hernández García-Hierro <[EMAIL PROTECTED]> wrote: > Attached the new patch following Arjan's recommendations. No SMP protection on the SBOX, better look into that. The locking you'll likely need to add will make this routine serialize many networking

Re: Why does the kernel need a gig of VM?

2005-01-28 Thread Josh Boyer
On Fri, 2005-01-28 at 15:06 -0500, John Richard Moser wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Can someone give me a layout of what exactly is up there? I got the > basic idea > > K 4G > A 3G > A 2G > A 1G > > App has 3G, kernel has 1G at the top of VM on x86 (dunno about

Re: [PATCH] OpenBSD Networking-related randomization port

2005-01-28 Thread Arjan van de Ven
On Fri, 2005-01-28 at 21:34 +0100, Lorenzo HernÃndez GarcÃa-Hierro wrote: > Hi, > > Attached the new patch following Arjan's recommendations. > I'm sorry about not making it "inlined", but my mail agent messes up the > diffs if I do so. > Still waiting for the OSDL STP tests results, they will

page fault scalability patch V16 [2/4]: mm counter macros

2005-01-28 Thread Christoph Lameter
This patch extracts all the interesting pieces for handling rss and anon_rss into definitions in include/linux/sched.h. All rss operations are performed through the following three macros: get_mm_counter(mm, member) -> Obtain the value of a counter set_mm_counter(mm, member, value)

page fault scalability patch V16 [3/4]: Drop page_table_lock in handle_mm_fault

2005-01-28 Thread Christoph Lameter
The page fault handler attempts to use the page_table_lock only for short time periods. It repeatedly drops and reacquires the lock. When the lock is reacquired, checks are made if the underlying pte has changed before replacing the pte value. These locations are a good fit for the use of

Re: [PATCH] OpenBSD Networking-related randomization port

2005-01-28 Thread Lorenzo Hernández García-Hierro
Hi, Attached the new patch following Arjan's recommendations. I'm sorry about not making it "inlined", but my mail agent messes up the diffs if I do so. Still waiting for the OSDL STP tests results, they will take a while to finish. Cheers, -- Lorenzo Hernández García-Hierro <[EMAIL PROTECTED]>

page fault scalability patch V16 [4/4]: Drop page_table_lock in do_anonymous_page

2005-01-28 Thread Christoph Lameter
Do not use the page_table_lock in do_anonymous_page. This will significantly increase the parallelism in the page fault handler in SMP systems. The patch also modifies the definitions of _mm_counter functions so that rss and anon_rss become atomic. Signed-off-by: Christoph Lameter <[EMAIL

page fault scalability patch V16 [0/4]: redesign overview

2005-01-28 Thread Christoph Lameter
Changes from V15->V16 of this patch: Complete Redesign. An introduction to what this patch does and a patch archive can be found on http://oss.sgi.com/projects/page_fault_performance. The archive also has a combined patch. The basic approach in this patchset is the same as used in SGI's 2.4.X

  1   2   3   4   5   6   >