[patch 1/7] Driver core: potentially fix use after free in class_device_attr_show

2005-08-16 Thread Greg Kroah-Hartman
From: Maneesh Soni <[EMAIL PROTECTED]> o moves the code to free devt_attr from class_device_del() to class_dev_release() which is called after the last reference to the corresponding kobject() is gone. This allows to keep the devt_attr alive while the corresponding sysfs file is open. Signe

[patch 0/7] fixes for 2.6.13-rc6

2005-08-16 Thread Greg Kroah-Hartman
Here are a series of patches against 2.6.13-rc6 that fix a few minor bugs in the driver core, USB, and PCI subsystems. thanks, greg k-h - 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.kerne

[patch 6/7] USB: fix usb wacom tablet driver bug

2005-08-16 Thread Greg Kroah-Hartman
From: Ping Cheng <[EMAIL PROTECTED]> This patch fixes bug 4905 and a Cintiq 21UX bug. Signed-off-by: Ping Cheng <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/input/wacom.c | 21 ++--- 1 files changed, 10 insertions(+), 11 deletions(

[patch 2/7] PCI: 6700/6702PXH quirk

2005-08-16 Thread Greg Kroah-Hartman
From: Kristen Accardi <[EMAIL PROTECTED]> On the 6700/6702 PXH part, a MSI may get corrupted if an ACPI hotplug driver and SHPC driver in MSI mode are used together. This patch will prevent MSI from being enabled for the SHPC as part of an early pci quirk, as well as on any pci device which sets

[patch 3/7] PCI: fix quirk-6700-fix.patch

2005-08-16 Thread Greg Kroah-Hartman
From: Andrew Morton <[EMAIL PROTECTED]> drivers/built-in.o(.text+0x32c3): In function `quirk_pcie_pxh': /usr/src/25/drivers/pci/quirks.c:1312: undefined reference to `disable_msi_mode' Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- dri

[patch 7/7] USB: usbmon: Copyrights and a typo

2005-08-16 Thread Greg Kroah-Hartman
From: Pete Zaitcev <[EMAIL PROTECTED]> Add copyright statements and fix a typo. Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/mon/mon_main.c |4 +++- drivers/usb/mon/usb_mon.h |2 ++ 2 files changed, 5 insertions(+

[patch 4/7] PCI Hotplug: new contact info

2005-08-16 Thread Greg Kroah-Hartman
From: Kristen Accardi <[EMAIL PROTECTED]> Signed-off-by: Kristen Carlson Accardi <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- MAINTAINERS| 12 drivers/pci/hotplug/pciehp.h |2 +- drivers/pci/hotplug/pciehp_

Re: udev-067 and 2.6.12?

2005-08-16 Thread Greg KH
On Tue, Aug 16, 2005 at 11:12:26PM +0100, Alistair John Strachan wrote: > On Tuesday 16 August 2005 23:05, Greg KH wrote: > > On Tue, Aug 16, 2005 at 11:02:00PM +0100, Alistair John Strachan wrote: > > > Hi, > > > > > > I just tried upgrading udev 053 to 067 on a 2.6.12 system and although > > > th

Re: udev-067 and 2.6.12?

2005-08-16 Thread Alistair John Strachan
On Tuesday 16 August 2005 23:05, Greg KH wrote: > On Tue, Aug 16, 2005 at 11:02:00PM +0100, Alistair John Strachan wrote: > > Hi, > > > > I just tried upgrading udev 053 to 067 on a 2.6.12 system and although > > the system booted, firmware_class failed to upload the firmware for my > > wireless ca

Re: [PATCH] Fix mmap_kmem (was: [question] What's the difference between /dev/kmem and /dev/mem)

2005-08-16 Thread Greg Edwards
On Sat, Aug 13, 2005 at 08:18:07PM +0200, Arjan van de Ven wrote: | On Sat, 2005-08-13 at 10:37 -0700, Linus Torvalds wrote: | > Actually, the more I looked at that mmap_kmem() function, the less I liked | > it. Let's get that sucker fixed better first. It's still not wonderful, | > but at least

Re: udev-067 and 2.6.12?

2005-08-16 Thread Greg KH
On Tue, Aug 16, 2005 at 11:02:00PM +0100, Alistair John Strachan wrote: > Hi, > > I just tried upgrading udev 053 to 067 on a 2.6.12 system and although the > system booted, firmware_class failed to upload the firmware for my wireless > card, prism54 was no longer auto loaded, etc. Even manually

[PATCH 2.6.12.5 2/2] include/linux: enclose idr.h in #ifndef

2005-08-16 Thread Luben Tuikov
Hi, This patch encloses the idr.h header file in #ifndef __IDR_H__ macro. Signed-off-by: Luben Tuikov <[EMAIL PROTECTED]> --- linux-2.6.12.5/include/linux/idr.h.old 2005-08-16 17:20:15.0 -0400 +++ linux-2.6.12.5/include/linux/idr.h 2005-08-16 17:21:11.0 -0400 @@ -8,6 +8,10

[PATCH 2.6.12.5 1/2] lib: allow idr to be used in irq context

2005-08-16 Thread Luben Tuikov
Hi, This patch allows idr to be used in irq context. idr_pre_get() is necessary to be called before idr_get_new() is called. No locking is necessary when calling idr_pre_get(). But idr_get_new(), idr_find() and idr_remove() must be serialized with respect to each other. All of the aforemention

udev-067 and 2.6.12?

2005-08-16 Thread Alistair John Strachan
Hi, I just tried upgrading udev 053 to 067 on a 2.6.12 system and although the system booted, firmware_class failed to upload the firmware for my wireless card, prism54 was no longer auto loaded, etc. Even manually loading the driver didn't help. Any reason why 067 wouldn't work with 2.6.12? D

[PATCH] ppc32: removed usage of

2005-08-16 Thread Kumar Gala
Made a dummy include like it is in ppc64 and removed any users if it in arch/ppc. Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- commit f63ab7e926d6c5e96de501ec9eac7f28af188a65 tree adcc67a572ec8e4d1520a7a5493ea909028e76f9 parent d88b795bc4c4b59c29a98e2a551c2ad4d65901c5 author Kumar K. Gala <

[PATCH 2.4.12.5 2/2] include/linux: enclose idr.h in #ifndef

2005-08-16 Thread Luben Tuikov
Hi, This patch encloses the idr.h header file in #ifndef __IDR_H__ macro. Signed-off-by: Luben Tuikov <[EMAIL PROTECTED]> --- linux-2.6.12.5/include/linux/idr.h.old 2005-08-16 17:20:15.0 -0400 +++ linux-2.6.12.5/include/linux/idr.h 2005-08-16 17:21:11.0 -0400 @@ -8,6 +8,10

[PATCH 2.4.12.5 1/2] lib: allow idr to be used in irq context

2005-08-16 Thread Luben Tuikov
Hi, This patch allows idr to be used in irq context. idr_pre_get() is necessary to be called before idr_get_new() is called. No locking is necessary when calling idr_pre_get(). But idr_get_new(), idr_find() and idr_remove() must be serialized with respect to each other. All of the aforemention

Schedulers benchmark - Was: [ANNOUNCE][RFC] PlugSched-5.2.4 for 2.6.12 and 2.6.13-rc6

2005-08-16 Thread Michal Piotrowski
Hi, here are schedulers benchmark (part2): II 2.6.12 kernel compilation. (make allyesconfig, time make all -j64) 1 scheduler: ingosched schedstat: version 12 timestamp 4294703525 cpu0 0 0 56 56 169 18916 4327 7006 5153 8279 4999 14589 domain0 3 14286 13960 223 8331 213 41 0 13960 515 361 8 4456 4

RE: 2.6.12.3 boot problem - response to Kevin's questions

2005-08-16 Thread Srinivasan, Usha
Hi Kevin, Thanks for your quick response. Here are my answers posted to the group: > The 2.6.11 tree is a kernel.org tree? Yes. I downloaded it from www.kernel.org/pub/linux/kernel/v2.6 > Are you using LVM or regular partitions? Regular. > Do you see the scsi driver find the disks? Nope, that's

Re: asm/segment.h?

2005-08-16 Thread Zachary Amsden
Kumar Gala wrote: Looking at some architectures it appears that asm/uaccess.h should be used instead of asm/segment.h. Is this generally true that code in segment.h should be moved into uaccess.h or is it still valid for an architecture to have segment.h? At least in i386, segment.h can

Re: 2.6.12.3 clock drifting twice too fast (amd64)

2005-08-16 Thread john stultz
On Tue, 2005-08-16 at 12:10 +0200, jerome lacoste wrote: > Installed stock 2.6.12.3 on a brand new amd64 box with an Asus extreme > AX 300 SE/t mainboard. > > I remember seeing a message in the boot saying something along: > > "cannot connect to hardware clock." > > And now I see that the time

[ANNOUNCE] iproute2 util update

2005-08-16 Thread Stephen Hemminger
http://developer.osdl.org/dev/iproute2/download/iproute2-050816.tar.gz Update to iproute2 to include: * Limit ip neigh flush to 10 rounds * tc ematch support (thomas) * build cleanups (thomas, et al) * Fix for options process with ipt (jamal) * Fix array ove

Re: [RFC][PATCH 2.6.13-rc6] add Dell Systems Management Base Driver (dcdbas) with sysfs support

2005-08-16 Thread Greg KH
On Tue, Aug 16, 2005 at 08:34:24AM -0500, Michael E Brown wrote: > On Tue, 2005-08-16 at 01:16 -0700, Greg KH wrote: > > On Mon, Aug 15, 2005 at 10:10:28PM -0500, Michael E Brown wrote: > > > To take a concrete example, I suggested to Doug to mention fan status. I > > > get the feeling that you pos

Re: Multiple virtual address mapping for the same code on IA-64 linux kernel.

2005-08-16 Thread vamsi krishna
Hello All, Really thankful for your inputs! > Itanium instruction set is not as compact as some other architectures, > so the same program will typically require more bytes of code. I stopped the program on both amd64 machine and ia64 machine and grepped the values from /proc/<>/status and found

asm/segment.h?

2005-08-16 Thread Kumar Gala
Looking at some architectures it appears that asm/uaccess.h should be used instead of asm/segment.h. Is this generally true that code in segment.h should be moved into uaccess.h or is it still valid for an architecture to have segment.h? I'm cleaning up arch/ppc and arch/ppc64 and was wond

Re: [PATCH] Posix file attribute support on VFAT (take #2)

2005-08-16 Thread Christoph Hellwig
On Wed, Aug 17, 2005 at 04:07:03AM +0900, Machida, Hiroyuki wrote: > > This is a take 2 of posix file attribute support on VFAT. Sorry, but this is far too scary. Please just use one of the sane filesystems linux supports. - To unsubscribe from this list: send the line "unsubscribe linux-kernel

Re: [PATCH] IDE: don't offer IDE_GENERIC on ia64

2005-08-16 Thread Alan Cox
On Maw, 2005-08-16 at 22:42 +0200, Bartlomiej Zolnierkiewicz wrote: > IMO this is much better solution as: > * you go from working code into small steps (evolution) If there was working code to go from maybe. The IDE core code is far too broken for that to be the case. The drivers are different ma

Re: 2.6.12.3 clock drifting twice too fast (amd64)

2005-08-16 Thread jerome lacoste
On 8/16/05, Christoph Lameter <[EMAIL PROTECTED]> wrote: > On Tue, 16 Aug 2005, jerome lacoste wrote: > > > Installed stock 2.6.12.3 on a brand new amd64 box with an Asus extreme > > AX 300 SE/t mainboard. Ooops the main board is a Sapphire Axion XP200PA-A58SL. The aforementionned name is the vid

Re: rc6 keeps hanging and blanking displays

2005-08-16 Thread Helge Hafting
On Tue, Aug 16, 2005 at 10:00:50AM -0700, Linus Torvalds wrote: > > > On Tue, 16 Aug 2005, Helge Hafting wrote: > > > > I tried rc6 with DRM turned off. That kernel consistently _died_ when > > trying to start xdm. Xorg logs for both cards ended like this: > > > > (II) LoadModule: "pcidata" >

Re: PROBLEM: blocking read on socket repeatedly returns EAGAIN

2005-08-16 Thread Kern Sibbald
On Tuesday 16 August 2005 20:39, David S. Miller wrote: > From: Kern Sibbald <[EMAIL PROTECTED]> > Date: Tue, 16 Aug 2005 16:38:14 +0200 > > > Someone is setting nonblocking on my socket ! > > Glad that's resolved... Yes, my stupidity. There was one more fcntl() in my source than I thought :-( B

Re: Multiple virtual address mapping for the same code on IA-64 linux kernel.

2005-08-16 Thread linux-os \(Dick Johnson\)
On Tue, 16 Aug 2005, vamsi krishna wrote: > Hello All, > > Sorry to interrupt you. > > I have been investigating a problem in which there has been a dramatic > core size (complete program size) of a program running on a IA-64 > machine running kernel version 2.4.21-4.0.1 (A redhat advanced server

Re: [PATCH 3/6] i386 virtualization - Make ldt a desc struct

2005-08-16 Thread Zachary Amsden
Chris Wright wrote: * Zachary Amsden ([EMAIL PROTECTED]) wrote: Several reviewers noticed that initialization and destruction of the mm->context is unnecessary, since the entire MM struct is zeroed on allocation anyways. well, on fork it should be just shallow copied rather than zeroe

Re: [PATCH 2.6.12.4] ACPI oops during ipmi_si driver init

2005-08-16 Thread Peter Martuccelli
On Mon, 2005-08-15 at 18:13, Bjorn Helgaas wrote: > On Friday 12 August 2005 1:44 pm, Peter Martuccelli wrote: > > Stumbled into this problem working on the ipmi_si driver. When the > > ipmi_si driver initialization fails the acpi_tb_get_table > > call, after rsdt_info has been allocated, acpi_ge

Re: [PATCH] add transport class symlink to device object

2005-08-16 Thread Russell King
On Tue, Aug 16, 2005 at 09:37:18AM -0400, Luben Tuikov wrote: > On 08/15/05 20:52, [EMAIL PROTECTED] wrote: > > My vote is to make the multiplexor instantiate each serial line > > as a separate device. > > Yes, you're absolutely and completely correct. I think the same > way as you do. Just don'

Re: Module bridge not loading in 2.6.13-rc6

2005-08-16 Thread Stephen Hemminger
On Tue, 16 Aug 2005 09:56:45 +0200 Nicholas Fechner <[EMAIL PROTECTED]> wrote: > Please CC to [EMAIL PROTECTED], since I am not subscribed to > linux-kernel. Thanks. > > Hi, > I tried the current -rc6 Release on one of our test machines. It is a > mirror of our gateway, hence the iptable modules.

RE: Multiple virtual address mapping for the same code on IA-64 linux kernel.

2005-08-16 Thread Luck, Tony
>I have been investigating a problem in which there has been a dramatic > core size (complete program size) of a program running on a IA-64 >machine running kernel version 2.4.21-4.0.1 (A redhat advanced server >distribution) compared to other 64-bit architectures like amd64 and >EM64T. There has

Re: Multiple virtual address mapping for the same code on IA-64 linux kernel.

2005-08-16 Thread Andreas Schwab
vamsi krishna <[EMAIL PROTECTED]> writes: > example /lib/libc-2.2.4.so size 6094859got mapped 3 times with > permissions 'r-xp' , '---p' and 'rw-p' from the bottom. Note the file offset. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 904

Re: [PATCH] IDE: don't offer IDE_GENERIC on ia64

2005-08-16 Thread Bartlomiej Zolnierkiewicz
On 8/16/05, Alan Cox <[EMAIL PROTECTED]> wrote: > > > * non-functional HDIO_REGISTER_HWIF ioctl (ain't really working either) > > > > HDIO_SCAN_HWIF - I don't know about this one. How are we supposed to > > follow the "new ports shouldn't define IDE_ARCH_OBSOLETE_INIT" injunction > > if we lose

Re: [PATCH 3/6] i386 virtualization - Make ldt a desc struct

2005-08-16 Thread Chris Wright
* Zachary Amsden ([EMAIL PROTECTED]) wrote: > Several reviewers noticed that initialization and destruction of the > mm->context is unnecessary, since the entire MM struct is zeroed on > allocation anyways. well, on fork it should be just shallow copied rather than zeroed. - To unsubscribe from th

Multiple virtual address mapping for the same code on IA-64 linux kernel.

2005-08-16 Thread vamsi krishna
Hello All, Sorry to interrupt you. I have been investigating a problem in which there has been a dramatic core size (complete program size) of a program running on a IA-64 machine running kernel version 2.4.21-4.0.1 (A redhat advanced server distribution) compared to other 64-bit architectures l

Re: [RFC][PATCH 2.6.13-rc6] add Dell Systems Management Base Driver (dcdbas) with sysfs support

2005-08-16 Thread Pavel Machek
Hi! > > > To take a concrete example, I suggested to Doug to mention fan status. I > > > get the feeling that you possibly think that this would be better > > > integrated into lmsensors, or something like that. > > > > Yes it should. That way you get the benifit of all userspace > > application

Re: [PATCH 0/5] improve i2c probing

2005-08-16 Thread Jean Delvare
Hi Nathan, > OK, so I realized a few hours ago that the i2c_probe_device and > i2c_remove_device interface is probably the wrong way to go about > things, and it's broken anyway because the instantiated devices don't > survive if the client driver module is unloaded and reloaded. There is no way

linux

2005-08-16 Thread gia
Hello from Russia. Can you send me a Linux documentation, i want to learn Unix.I am asking you because, i have only email access to internet.Please help. Thank you. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo

Re: [rfc][patch] API for timer hooks

2005-08-16 Thread Stas Sergeev
Hello. john stultz wrote: Interesting. Could you explain why the soft-timer interface doesn't<> suffice? I'll try to explain why *I think* it doesn't suffice, please correct me if my assumptions are wrong. There are two (bad) things about the PC-Speaker driver: 1. It needs the higher interrupt

Re: [Patch] Support UTF-8 scripts

2005-08-16 Thread Pete Zaitcev
On Mon, 15 Aug 2005 00:55:54 +0100, Alan Cox <[EMAIL PROTECTED]> wrote: > On Sul, 2005-08-14 at 15:59 -0400, Lee Revell wrote: > > I know the alternatives are available. That doesn't make it any less > > idiotic to use non ASCII characters as operators. I think it's a very > > slippery slope. W

Re: [PATCH] IDE: don't offer IDE_GENERIC on ia64

2005-08-16 Thread Bartlomiej Zolnierkiewicz
On 8/16/05, Bjorn Helgaas <[EMAIL PROTECTED]> wrote: > On Tuesday 16 August 2005 3:38 am, Bartlomiej Zolnierkiewicz wrote: > > On 8/15/05, Bjorn Helgaas <[EMAIL PROTECTED]> wrote: > > > On Friday 12 August 2005 2:40 am, Alan Cox wrote: > > Agreed but I have few comments: > > * is this change OK w.r

[RFC] FAT dirent scan with hint

2005-08-16 Thread Machida, Hiroyuki
We realized that "ls -l" has taken so long time, over 1000 entries on directory in FAT/VFAT. Attached patch tries to solve the issue. This uses a simple solution which records position of the last found entry and uses it as start position of next scan. It would work well under following assumptio

Re: HDAPS, Need to park the head for real

2005-08-16 Thread Jens Axboe
On Tue, Aug 16 2005, Alejandro Bonilla Beeche wrote: > Hi, > > We are currently almost there with hdaps. We are thinking how we should > make things and have made most of the decesions. We still need help from > anyone that might know about this. Please, if you can think of anything, > let u

Re: [PATCH] IDE: don't offer IDE_GENERIC on ia64

2005-08-16 Thread Alan Cox
> > * non-functional HDIO_REGISTER_HWIF ioctl (ain't really working either) > > HDIO_SCAN_HWIF - I don't know about this one. How are we supposed to > follow the "new ports shouldn't define IDE_ARCH_OBSOLETE_INIT" injunction > if we lose all this functionality without it? ia64 is about as clos

[2.6-BK-URL] Another urgent NTFS bug fix!

2005-08-16 Thread Anton Altaparmakov
Hi again Linus, please pull from rsync://rsync.kernel.org/pub/scm/linux/kernel/git/aia21/ntfs-2.6.git/HEAD This is another urgent NTFS bug fix which fixes an analogous problem to the previous one. In the rush of getting out the previous patch I completely forgot there are two different code pa

Re: SELinux policies, memory protections

2005-08-16 Thread Stephen Smalley
On Sat, 2005-08-13 at 23:52 -0400, John Richard Moser wrote: > I was writing a section of my paper ("Designing a Secure and Friendly > Operating System") and basically describing and explaining why the > memory protection policy ("mprotect() restrictions") supplied by PaX is > a powerful security t

Re: [PATCH] clean up missing overflow check in get_blkdev_list

2005-08-16 Thread Christoph Hellwig
On Tue, Aug 16, 2005 at 02:48:13PM -0400, Neil Horman wrote: > Patch to clean up missing overflow check in get_blkdev_list. the printf which > adds the "Block Devices" string in /proc/devices can overflow the presented > page > if get_chrdev_list eats up the entire 4k space. Tested by myself, wit

e1000 dual-port nic failures

2005-08-16 Thread Phil Oester
I am seeing some odd behaviour from a dual port Intel e1000 nic. When I have only one port of the dual port nic plugged in, all is well. But when I plug the 2nd port in, the box goes to pieces. The counters for the interfaces on the nic start moving in reverse, and the interfaces start spewing t

Re: rc6 keeps hanging and blanking displays - bisection complete

2005-08-16 Thread Helge Hafting
On Mon, Aug 15, 2005 at 03:59:07PM -0700, Linus Torvalds wrote: > > > On Tue, 16 Aug 2005, Helge Hafting wrote: > > > > This was interesting. At first, lots of kernels just kept working, > > I almost suspected I was doing something wrong. Then the second last kernel > > recompiled a lot of DRM s

Re: [PATCH] i386 / desc_empty macro is incorrect

2005-08-16 Thread Linus Torvalds
On Tue, 16 Aug 2005, Chris Wright wrote: > > Chuck Ebbert noticed that the desc_empty macro is incorrect. Fix it. x86-64 had the same thing. I added that to the fix as obvious. Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mes

[PATCH] i386 / desc_empty macro is incorrect

2005-08-16 Thread Chris Wright
From: Zachary Amsden <[EMAIL PROTECTED]> Chuck Ebbert wrote: > I think that should be "|" instead of "+". I think so too. I merely moved the code here and didn't notice it in all this excitement. 0x00cf9a000xff306600 => Present CPL-0 32-bit code segment, base 0xff30, limit 0xf6601 pa

Re: [PATCH] IDE: don't offer IDE_GENERIC on ia64

2005-08-16 Thread Bjorn Helgaas
On Tuesday 16 August 2005 3:38 am, Bartlomiej Zolnierkiewicz wrote: > On 8/15/05, Bjorn Helgaas <[EMAIL PROTECTED]> wrote: > > On Friday 12 August 2005 2:40 am, Alan Cox wrote: > Agreed but I have few comments: > * is this change OK w.r.t. IA64_HP_SIM? Kernels for the HP simulator (ski) use a SCSI

[PATCH] Posix file attribute support on VFAT (take #2)

2005-08-16 Thread Machida, Hiroyuki
This is a take 2 of posix file attribute support on VFAT. I made a couple of changes from previous revision, according feedbacks on LKML. - clean up - restrict file attribute operations to prevent attribute lose at runtime. - added condition checking to special files like device files an

Re: [PATCH 7/14] i386 / Add some descriptor convenience functions

2005-08-16 Thread Chris Wright
* Zachary Amsden ([EMAIL PROTECTED]) wrote: > I think so too. I merely moved the code here and didn't notice it in > all this excitement. > > 0x00cf9a000xff306600 => > > Present CPL-0 32-bit code segment, base 0xff30, limit 0xf6601 pages, > for which desc_empty(desc) is true. > > Thankfu

Re: Flash erase groups and filesystems

2005-08-16 Thread Jörn Engel
On Tue, 16 August 2005 20:13:36 +0200, Jörn Engel wrote: > On Tue, 16 August 2005 19:09:12 +0200, Pierre Ossman wrote: > > > > I'm not sure we're talking about the same thing. I'm not suggesting new > > features in the VFS layer. I want to know if something breaks if I > > implement this erase fea

Re: 2.6.13-rc6-rt6

2005-08-16 Thread Steven Rostedt
On Tue, 2005-08-16 at 14:07 -0400, Steven Rostedt wrote: > On Tue, 2005-08-16 at 13:50 -0400, Steven Rostedt wrote: > > > I changed it for now to the following, but it still desn't make sense to > > me. With a local_save_flags, which doesn't disable or restore the > > interrupts, why bother with

[PATCH] clean up missing overflow check in get_blkdev_list

2005-08-16 Thread Neil Horman
Patch to clean up missing overflow check in get_blkdev_list. the printf which adds the "Block Devices" string in /proc/devices can overflow the presented page if get_chrdev_list eats up the entire 4k space. Tested by myself, with good results. Signed-off-by: Neil Horman <[EMAIL PROTECTED]> genh

Re: [PATCH 3/6] i386 virtualization - Make ldt a desc struct

2005-08-16 Thread Zachary Amsden
Chuck Ebbert wrote: @@ -97,14 +96,16 @@ void destroy_ldt(struct mm_struct *mm) { + int pages = mm->context.ldt_pages; + if (mm == current->active_mm) clear_LDT(); - ClearPagesLDT(mm->context.ldt, (mm->context.size * LDT_ENTRY_SIZE) / PAGE_SIZE); - if (mm->contex

Re: [PATCH] input-driver-yealink-P1K-usb-phone

2005-08-16 Thread Lee Revell
On Tue, 2005-08-16 at 19:53 +0200, Henk wrote: > Ehm, I did not know there was still an OSS usb driver. Thankfully it's going away real soon. It failed to depend on OSS, didn't have decent help text, and doesn't live under Sound so lots of people got them confused. Most ALSA based distros failed

Re: PROBLEM: blocking read on socket repeatedly returns EAGAIN

2005-08-16 Thread David S. Miller
From: Kern Sibbald <[EMAIL PROTECTED]> Date: Tue, 16 Aug 2005 16:38:14 +0200 > Someone is setting nonblocking on my socket ! Glad that's resolved... - 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

Re: PROBLEM: blocking read on socket repeatedly returns EAGAIN

2005-08-16 Thread David S. Miller
From: Alan Cox <[EMAIL PROTECTED]> Date: Tue, 16 Aug 2005 15:03:11 +0100 > You are describing behaviour as expected with nonblocking set. That > suggests to me that something or someone set or inherited the nonblock > flag on that socket. Is the strange behaviour specific to the latest > kernel ?

Re: PROBLEM: blocking read on socket repeatedly returns EAGAIN

2005-08-16 Thread David S. Miller
From: Kern Sibbald <[EMAIL PROTECTED]> Subject: PROBLEM: blocking read on socket repeatedly returns EAGAIN Date: Tue, 16 Aug 2005 15:19:39 +0200 > A read() on a TCP/IP socket, which should block returns -1 with errno=EAGAIN If a signal is delivered to the process during the read(), then -EAGAIN i

Representatives needed urgently

2005-08-16 Thread kim lee
Dear Sir/Madam, I am Mr.kim Lee ,we are a company that deal on importing and exporting raw materials into Canada,America and England. We are searching for representatives who can help us establish a medium of getting to our costumers in the Canada,America and England as well as making payments

Re: [RFC - 0/9] Generic timekeeping subsystem (v. B5)

2005-08-16 Thread Christoph Lameter
On Mon, 15 Aug 2005, john stultz wrote: > Sorry. It was subtle, but after thinking more about your arguments, I've > stepped back from my earlier goals of replacing the timekeeping code for > all arches and instead I've decided to just focus on allowing > architectures that would duplicate code us

Re: [RFC] [PATCH] cache pollution aware __copy_from_user_ll()

2005-08-16 Thread Chuck Ebbert
On Tue, 16 Aug 2005 at 19:16:17 +0900 (JST), Hiro Yoshioka wrote: > oh, really? Does the linux kernel take care of > SSE save/restore on a task switch? Check out XMMS_SAVE and XMMS_RESTORE in include/asm-i386/xor.h __ Chuck - To unsubscribe from this list: send the line "unsubscribe linux-kern

Re: [PATCH 7/14] i386 / Add some descriptor convenience functions

2005-08-16 Thread Andi Kleen
x86-64 is buggy too. I fixed it in my tree. -Andi - 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 read the FAQ at http://www.tux.org/lkml/

Re: Flash erase groups and filesystems

2005-08-16 Thread Jörn Engel
On Tue, 16 August 2005 19:09:12 +0200, Pierre Ossman wrote: > > I'm not sure we're talking about the same thing. I'm not suggesting new > features in the VFS layer. I want to know if something breaks if I > implement this erase feature in the MMC layer. In essence the file > system has marked the

Re: Bug#321442: kernel-source-2.6.8: fails to compile on powerpc (drivers/ide/ppc/pmac.c)

2005-08-16 Thread Kyle Moffett
On Aug 13, 2005, at 18:54:30, LT-P wrote: Le lun 08 aoû 2005 17:57:04 CEST, Horms <[EMAIL PROTECTED]> a écrit: Can you please enable BLK_DEV_IDEDMA_PCI and see if that resolves your problem. If it does, then the following patch should fix Kconfig so that BLK_DEV_IDEDMA_PCI needs to be enabled

Re: 2.6.13-rc6-rt6

2005-08-16 Thread Steven Rostedt
On Tue, 2005-08-16 at 13:50 -0400, Steven Rostedt wrote: > I changed it for now to the following, but it still desn't make sense to > me. With a local_save_flags, which doesn't disable or restore the > interrupts, why bother with the trace at all? Or should the following patch really be applied?

Re: [PATCH 7/14] i386 / Add some descriptor convenience functions

2005-08-16 Thread Zachary Amsden
Chuck Ebbert wrote: On Wed, 10 Aug 2005 at 21:56:20 -0700, [EMAIL PROTECTED] wrote: Patch-base: 2.6.13-rc5-mm1 Patch-keys: i386 desc cleanup Signed-off-by: Zachary Amsden <[EMAIL PROTECTED]> Index: linux-2.6.13/include/asm-i386/desc.h

Re: 2.6.12.3 clock drifting twice too fast (amd64)

2005-08-16 Thread Christoph Lameter
On Tue, 16 Aug 2005, jerome lacoste wrote: > Installed stock 2.6.12.3 on a brand new amd64 box with an Asus extreme > AX 300 SE/t mainboard. > > I remember seeing a message in the boot saying something along: > > "cannot connect to hardware clock." > > And now I see that the time is changing

Re: [PATCH 2.6.13-rc6 1/2] New Syscall: get rlimits of any process

2005-08-16 Thread Kyle Moffett
On Aug 16, 2005, at 13:34:34, Wieland Gmeiner wrote: On Sat, 2005-08-13 at 15:11 -0700, Greg KH wrote: On Fri, Aug 12, 2005 at 07:48:22PM +0200, Wieland Gmeiner wrote: @@ -294,3 +294,4 @@ ENTRY(sys_call_table) .long sys_inotify_init .long sys_inotify_add_watch .long sys_inotify_

Re: [PATCH] input-driver-yealink-P1K-usb-phone

2005-08-16 Thread Henk
On Tue, Aug 16, 2005 at 11:38:00AM -0400, Lee Revell wrote: > On Tue, 2005-08-16 at 16:21 +0200, Henk wrote: > > - audio playbackvia generic usb audio diver > > - audio record via generic usb audio diver > > There is no such thing. > > Do you mean the obsolete OSS usb-audio driver,

Re: 2.6.13-rc6-rt6

2005-08-16 Thread Steven Rostedt
On Tue, 2005-08-16 at 19:08 +0200, Ingo Molnar wrote: > * Ingo Molnar <[EMAIL PROTECTED]> wrote: > > > it's the raw_local_irq_save() in ___trace() that causes trouble. > > ok, i've uploaded 2.6.13-rc6-rt6, which should fix this. (i've pushed > the IRQ tracing into the raw_local_*() primitives, a

Re: [PATCH 2.6.13-rc6 1/2] New Syscall: get rlimits of any process

2005-08-16 Thread Greg KH
On Tue, Aug 16, 2005 at 07:34:34PM +0200, Wieland Gmeiner wrote: > On Sat, 2005-08-13 at 15:11 -0700, Greg KH wrote: > > On Fri, Aug 12, 2005 at 07:48:22PM +0200, Wieland Gmeiner wrote: > > > @@ -294,3 +294,4 @@ ENTRY(sys_call_table) > > > .long sys_inotify_init > > > .long sys_inotify_add_watc

Re: [RFC] [PATCH] Split host arch headers for UML's benefit

2005-08-16 Thread Zachary Amsden
Jeff Dike wrote: The patch below fixes the recent UML compilation failure in -rc5-mm1 without making the UML build reach further into the i386 headers. It splits the i386 ptrace.h and system.h into UML-usable and UML-unusable pieces. The string "abi" is in there because I did ptrace.h first

Re: [PATCH 2.6.13-rc6 1/2] New Syscall: get rlimits of any process

2005-08-16 Thread Wieland Gmeiner
On Sat, 2005-08-13 at 15:11 -0700, Greg KH wrote: > On Fri, Aug 12, 2005 at 07:48:22PM +0200, Wieland Gmeiner wrote: > > @@ -294,3 +294,4 @@ ENTRY(sys_call_table) > > .long sys_inotify_init > > .long sys_inotify_add_watch > > .long sys_inotify_rm_watch > > +.long sys_getprlimit

Re: [PATCH] Convert sigaction to act like other unices

2005-08-16 Thread Linus Torvalds
On Tue, 16 Aug 2005, Steven Rostedt wrote: > > b) add the patch (in -mm or early 14 or later), see if any applications > break, but we will finally match the man pages and etc. We'll definitely test the patch. I doubt it breaks anything, and it's the right thing to do, but yes, we'll try it ou

Re: [patch] unexport __mntput()

2005-08-16 Thread Mike Waychison
Jan Engelhardt wrote: Nfsd uses it to serve up nfs exports that don't cross mountpoints (or do, if "crossmnt" is specified in /etc/exports. Is not this called nohide? On the command line it's a synonym, but the nfs-utils uses NFSEXP_CROSSMOUNT to tell the kernel. Mike Waychison - To uns

Re: [PATCH 3/6] i386 virtualization - Make ldt a desc struct

2005-08-16 Thread Chuck Ebbert
On Mon, 15 Aug 2005 at 15:59:39 -0700, [EMAIL PROTECTED] wrote: > --- linux-2.6.13.orig/include/asm-i386/mmu_context.h 2005-08-15 > 11:16:59.0 -0700 > +++ linux-2.6.13/include/asm-i386/mmu_context.h 2005-08-15 > 11:19:49.0 -0700 > @@ -19,7 +19,7 @@ > memset(&mm->cont

2.6.13-rc6-rt6

2005-08-16 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > it's the raw_local_irq_save() in ___trace() that causes trouble. ok, i've uploaded 2.6.13-rc6-rt6, which should fix this. (i've pushed the IRQ tracing into the raw_local_*() primitives, and kept the __raw_local_*() primitives clean, and ___trace() is

Re: [RFC,PATCH] Use RCU to protect tasklist for unicast signals

2005-08-16 Thread Paul E. McKenney
On Tue, Aug 16, 2005 at 03:56:05PM +0400, Oleg Nesterov wrote: > Paul E. McKenney wrote: > > > > OK, the attached instead revalidates that the task struct still references > > the sighand_struct after obtaining the lock > > Personally I think this is a way to go. A nitpick suggestion, > could you

Re: [PATCH 7/14] i386 / Add some descriptor convenience functions

2005-08-16 Thread Chuck Ebbert
On Wed, 10 Aug 2005 at 21:56:20 -0700, [EMAIL PROTECTED] wrote: > Patch-base: 2.6.13-rc5-mm1 > Patch-keys: i386 desc cleanup > Signed-off-by: Zachary Amsden <[EMAIL PROTECTED]> > Index: linux-2.6.13/include/asm-i386/desc.h > === > ---

Re: Flash erase groups and filesystems

2005-08-16 Thread Pierre Ossman
Jörn Engel wrote: >Question came up before, albeit with a different phrasing. One >possible approach to benefit from this ability would be to create a >"forget" operation. When a filesystem already knows that some data is >unneeded (after a truncate or erase operation), it will ask the device >t

[PATCH 2.6.13-rc6] improve start/stop code for worker thread in cpqfcTS driver, take 3

2005-08-16 Thread Rolf Eike Beer
Improve start/stop code for HBA worker thread. For the moment the return code of the start/stop functions is ignored, this will change once the init/exit code is changed to use 2.6 driver model. Version 2: remove that lock_kernel() stuff missed in the first version Version 3: use kthread API (po

Re: [PATCH] Convert sigaction to act like other unices

2005-08-16 Thread Steven Rostedt
On Sun, 2005-08-14 at 14:20 +0200, Jesper Juhl wrote: > On 8/13/05, Andi Kleen <[EMAIL PROTECTED]> wrote: > > On Sat, Aug 13, 2005 at 10:00:14AM -0400, Steven Rostedt wrote: > > > On Sat, 2005-08-13 at 14:39 +0200, Andi Kleen wrote: > > > > On Fri, Aug 12, 2005 at 10:40:02PM -0400, Steven Rostedt w

Re: [patch] Real-Time Preemption, -RT-2.6.13-rc6-V0.7.53-11

2005-08-16 Thread Ingo Molnar
* Alan Stern <[EMAIL PROTECTED]> wrote: > In general yes, the patch should be okay. But there are a few things > to check for. Perhaps most of the USB drivers don't care whether > interrupts are enabled or not in their completion routines. However I > know of at least one where it does matt

Re: rc6 keeps hanging and blanking displays

2005-08-16 Thread Linus Torvalds
On Tue, 16 Aug 2005, Helge Hafting wrote: > > I tried rc6 with DRM turned off. That kernel consistently _died_ when > trying to start xdm. Xorg logs for both cards ended like this: > > (II) LoadModule: "pcidata" > (II) Loading /usr/X11R6/lib/modules/libpcidata.a Ok, it does sound like your X

Re: [patch] Real-Time Preemption, -RT-2.6.13-rc6-V0.7.53-11

2005-08-16 Thread Alan Stern
On Tue, 16 Aug 2005, Ingo Molnar wrote: > * Alan Stern <[EMAIL PROTECTED]> wrote: > > > Interrupts are disabled during usb_hcd_giveback_urb because that's how > > it was done originally and nobody has made an effort to remove this > > assumption from the USB device drivers. There's no real rea

Re: [PATCH,RFC] quirks for VIA VT8237 southbridge

2005-08-16 Thread Alan Cox
On Maw, 2005-08-16 at 09:49 -0600, Bjorn Helgaas wrote: > On Tuesday 16 August 2005 9:26 am, Karsten Wiese wrote: > > What about the following version? > > quirk_via_686irq() only works on pci_devs that are part of the 686. > > Sooner or later there'll be more VIA southbridge types, which will > >

Re: 2.6.13-rc6-rt5

2005-08-16 Thread Ingo Molnar
it's the raw_local_irq_save() in ___trace() that causes trouble. Ingo - 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 read the FAQ at http://w

Re: rc6 keeps hanging and blanking displays

2005-08-16 Thread Helge Hafting
On Tue, Aug 16, 2005 at 09:24:25AM +1000, Dave Airlie wrote: > > > I'm a little surprised, as a ppc64 fix theoretically shouldn't matter for > > > x86_64? But perhaps they share something? > > > > My guess is that it is maybe the DRM changes that have done it... the > > 32/64-bit code in 2.6.13-rc

ACPI Standby and nvidia ethernet driver causes network errors and drops

2005-08-16 Thread Avuton Olrich
Hello LKML, With 2.6.12 and 2.6.12-rc5-mm1: After I: # echo standby > /sys/power/state I get lots of errors and drops, and a generally slow network: eth0 Link encap:Ethernet HWaddr 00:E0:4C:B3:50:B5 inet addr:10.0.0.6 Bcast:10.0.255.255 Mask:255.255.0.0 UP BROADCAST N

Re: [PATCH 4/5] add i2c_probe_device and i2c_remove_device

2005-08-16 Thread Jean Delvare
Hi Nathan, > > Do you know of any adapter actually not supporting the SMBus Quick > > command (which we use for probing)? > > I do, in fact, which is the reason I submitted these patches in the > first place. :-) > > The WIS GO7007, which is the MPEG1/2/4 video encoder used in the > Plextor Con

Re: 2.6.13-rc6-rt5

2005-08-16 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > i removed some debug options from your .config, and that booted. > Here's the diff between the good and bad .config's. Trying to narrow > it down further. even narrower diff below. My guess would be on CONFIG_DEBUG_STACKOVERFLOW. Ingo --- .

<    1   2   3   4   >