Re: [PATCH 00/04] Load keyspan firmware with hotplug

2005-04-05 Thread Kay Sievers
On Mon, 2005-04-04 at 23:51 -0500, Dmitry Torokhov wrote: > On Monday 04 April 2005 23:23, Jan Harkes wrote: > > On Mon, Apr 04, 2005 at 12:17:46PM -0700, Greg KH wrote: > > > On Mon, Apr 04, 2005 at 08:27:53PM +0200, Sven Luther wrote: > > > > Mmm, probably that 2001 discussion about the keyspan f

Re: [patch 0/5] Hotplug firmware loader for Keyspan usb-serial driver

2005-04-05 Thread Kay Sievers
On Tue, 2005-04-05 at 15:38 -0400, Jan Harkes wrote: > Here is another stab at making the keyspan firmware easily loadable with > hotplug. Differences from the previous version, > > - keep the IHEX parser into a separate module. > - added a fw-y and fw-m install targets to kbuild which will instal

Re: [Fwd: Re: connector is missing in 2.6.12-rc2-mm1]

2005-04-07 Thread Kay Sievers
On Thu, 2005-04-07 at 13:52 +0400, Evgeniy Polyakov wrote: > On Thu, 2005-04-07 at 10:12 +0100, Ian Campbell wrote: > > On Thu, 2005-04-07 at 12:13 +0400, Evgeniy Polyakov wrote: > > > The main idea was to simplify userspace control and notification > > > system - so people did not waste it's time

Re: [Fwd: Re: connector is missing in 2.6.12-rc2-mm1]

2005-04-07 Thread Kay Sievers
On Thu, Apr 07, 2005 at 03:24:34PM +0400, Evgeniy Polyakov wrote: > On Thu, 2005-04-07 at 12:41 +0200, Kay Sievers wrote: > > On Thu, 2005-04-07 at 13:52 +0400, Evgeniy Polyakov wrote: > > > On Thu, 2005-04-07 at 10:12 +0100, Ian Campbell wrote: > > > > On Thu, 2005

Re: [Fwd: Re: connector is missing in 2.6.12-rc2-mm1]

2005-04-10 Thread Kay Sievers
On Sun, 2005-04-10 at 14:32 +0400, Evgeniy Polyakov wrote: > On Sun, 10 Apr 2005 19:52:54 +1000 > Herbert Xu <[EMAIL PROTECTED]> wrote: > > Evgeniy Polyakov <[EMAIL PROTECTED]> wrote: > > > > > > User should not know about low-level transport - > > > it is like socket layer - write only data and

Re: udev-067 and 2.6.12?

2005-08-16 Thread Kay Sievers
On Tue, Aug 16, 2005 at 03:14:50PM -0700, Greg KH wrote: > 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 tri

Re: [PATCH 12/11] sched: rt-group: uid-group interface

2008-01-08 Thread Kay Sievers
On Jan 8, 2008 12:02 PM, Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > On Tue, 2008-01-08 at 16:27 +0530, Dhaval Giani wrote: > > On Mon, Jan 07, 2008 at 05:57:42PM +0100, Peter Zijlstra wrote: > > > > > > Subject: sched: rt-group: add uid-group interface > > > > > > Extend the /sys/kernel/uids// i

Re: [dm-devel] Re: 2.6.24-rc4-mm1

2007-12-06 Thread Kay Sievers
On Dec 6, 2007 8:38 PM, Greg KH <[EMAIL PROTECTED]> wrote: > On Thu, Dec 06, 2007 at 02:18:08PM -0500, [EMAIL PROTECTED] wrote: > > On Thu, 06 Dec 2007 04:04:20 PST, Andrew Morton said: > > > > > > > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc4/2.6.24-rc4-mm

Re: [dm-devel] Re: 2.6.24-rc4-mm1

2007-12-06 Thread Kay Sievers
On Thu, 2007-12-06 at 18:12 -0500, [EMAIL PROTECTED] wrote: > On Thu, 06 Dec 2007 23:04:12 +0100, Kay Sievers said: > > > What's the value of SYSFS_DEPRECATED? Care to set it to yes, if it isn't, > > and try again? > > I *knew* there was a D'Oh! error in

Re: [BUG] 2.6.23-rc3 can't see sd partitions on Alpha

2007-12-07 Thread Kay Sievers
On Fri, 2007-12-07 at 19:06 +0100, Ingo Molnar wrote: > * Bob Tracy <[EMAIL PROTECTED]> wrote: > > > Ingo Molnar wrote: > > > > > > * Bob Tracy <[EMAIL PROTECTED]> wrote: > > > > > > > > Current state of the source tree is the 6f37ac... version, so I'll > > > > > start backing out the above dif

Re: [dm-devel] Re: 2.6.24-rc4-mm1

2007-12-07 Thread Kay Sievers
On Fri, 2007-12-07 at 15:28 -0500, [EMAIL PROTECTED] wrote: > On Fri, 07 Dec 2007 19:44:29 +0100, Kay Sievers said: > > > > Anybody got any brilliant ideas? :) > > > > I guess it's nash again, which version is it? > > Confirmed - nash again. 6.0.9 does no

Re: [dm-devel] Re: 2.6.24-rc4-mm1

2007-12-07 Thread Kay Sievers
On Fri, 2007-12-07 at 13:20 -0500, [EMAIL PROTECTED] wrote: > On Fri, 07 Dec 2007 00:24:04 +0100, Kay Sievers said: > > On Thu, 2007-12-06 at 18:12 -0500, [EMAIL PROTECTED] wrote: > > > On Thu, 06 Dec 2007 23:04:12 +0100, Kay Sievers said: > > > > > > > Wha

Re: [BUG] 2.6.23-rc3 can't see sd partitions on Alpha

2007-12-08 Thread Kay Sievers
On Fri, 2007-12-07 at 23:05 -0600, Bob Tracy wrote: > Kay Sievers wrote: > > Is the udev daemon (still) running while it fails? > > Yes, and there's something else I forgot to mention that may be > significant... For the bad case, in addition to udevd, "ps -ef

Re: [BUG] 2.6.23-rc3 can't see sd partitions on Alpha

2007-12-07 Thread Kay Sievers
On Sat, 2007-12-08 at 09:43 +1300, Michael Cree wrote: > Bob Tracy wrote: > > That was quick :-). Backing out the sysctl_check.c diff gives me a > > working kernel. Beats the [EMAIL PROTECTED] out of me how/why, though. > > > > Michael Cree: could you try backing out the diff below from your > >

Re: [1/4] DST: Distributed storage documentation.

2007-12-10 Thread Kay Sievers
On Dec 10, 2007 12:47 PM, Evgeniy Polyakov <[EMAIL PROTECTED]> wrote: > diff --git a/Documentation/dst/sysfs.txt b/Documentation/dst/sysfs.txt > new file mode 100644 > index 000..79d79dc > --- /dev/null > +++ b/Documentation/dst/sysfs.txt > @@ -0,0 +1,30 @@ > +This file describes sysfs files cr

Re: [1/4] DST: Distributed storage documentation.

2007-12-10 Thread Kay Sievers
On Mon, 2007-12-10 at 15:58 +0300, Evgeniy Polyakov wrote: > On Mon, Dec 10, 2007 at 01:51:43PM +0100, Kay Sievers ([EMAIL PROTECTED]) > wrote: > > On Dec 10, 2007 12:47 PM, Evgeniy Polyakov <[EMAIL PROTECTED]> wrote: > > > diff --git a/Documentation/dst/sysfs.txt b/

Re: [1/4] DST: Distributed storage documentation.

2007-12-10 Thread Kay Sievers
On Mon, 2007-12-10 at 17:50 +0300, Evgeniy Polyakov wrote: > On Mon, Dec 10, 2007 at 03:31:48PM +0100, Kay Sievers ([EMAIL PROTECTED]) > wrote: > > > I meant that for each new device, it will be placed into > > > /sys/devices/its_name, but it can also be accessed via &g

Re: [1/4] DST: Distributed storage documentation.

2007-12-10 Thread Kay Sievers
On Mon, 2007-12-10 at 22:33 +0300, Evgeniy Polyakov wrote: > On Mon, Dec 10, 2007 at 08:02:28PM +0100, Kay Sievers ([EMAIL PROTECTED]) > wrote: > > > uganda:~/codes# ls -l /sys/devices/storage/n-0-81003ebc220/ > > > total 0 > > > drwxr-xr-x 2 root root0 2

Re: [1/4] DST: Distributed storage documentation.

2007-12-10 Thread Kay Sievers
On Mon, 2007-12-10 at 22:51 +0300, Evgeniy Polyakov wrote: > On Mon, Dec 10, 2007 at 08:44:55PM +0100, Kay Sievers ([EMAIL PROTECTED]) > wrote: > > > > > Actually not - I have to set reference counter to something other > > > > > than 1 > > > >

Re: 2.6.22.14 oops msg with commvault galaxy ?

2007-12-13 Thread Kay Sievers
On Thu, 2007-12-13 at 13:55 +0100, Ingo Molnar wrote: > * Dhaval Giani <[EMAIL PROTECTED]> wrote: > > > Could you please see if the following patch removes the oops due to > > CFS sysfs files? (There might still be the other oops due to the > > floppy sysfs files) > > > > Ingo, could you please

Re: 2.6.22.14 oops msg with commvault galaxy ?

2007-12-13 Thread Kay Sievers
On Thu, 2007-12-13 at 15:02 +, Vincent Fortier wrote: > On Thu, 2007-12-13 at 08:59 -0500, Kay Sievers wrote: > > On Thu, 2007-12-13 at 13:55 +0100, Ingo Molnar wrote: > > > * Dhaval Giani <[EMAIL PROTECTED]> wrote: > > > > > > > Could you pleas

Re: 2.6.22.14 oops msg with commvault galaxy ?

2007-12-13 Thread Kay Sievers
On Thu, 2007-12-13 at 17:50 +0100, Ingo Molnar wrote: > * Kay Sievers <[EMAIL PROTECTED]> wrote: > > > > > > > + sa->attr.owner = NULL; > > > > > > sa->attr.name = name; > > > > > > > > > > i'm won

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Kay Sievers
On 10/2/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote: > On Tue, 2007-10-02 at 01:31 -0700, Andrew Morton wrote: > > On Tue, 02 Oct 2007 10:17:05 +0200 Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > > > > On Mon, 2007-10-01 at 14:22 -0700, Andrew Morton wrote: > > > > > > > nfs-remove-congestion_end.

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Kay Sievers
On 10/2/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote: > On Tue, 2007-10-02 at 12:31 +0200, Kay Sievers wrote: > > > What would be the point in another top-level tree for device > > information? All devices you are exporting information for, are > > already in the sy

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Kay Sievers
On 10/2/07, Fengguang Wu <[EMAIL PROTECTED]> wrote: > On Tue, Oct 02, 2007 at 12:44:21PM +0200, Peter Zijlstra wrote: > > On Tue, 2007-10-02 at 12:31 +0200, Kay Sievers wrote: > > > > > What would be the point in another top-level tree for device > > > inf

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Kay Sievers
On 10/2/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote: > On Tue, 2007-10-02 at 13:21 +0200, Kay Sievers wrote: > > On 10/2/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > > On Tue, 2007-10-02 at 12:31 +0200, Kay Sievers wrote: > > > > > > > Wh

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-03 Thread Kay Sievers
On Tue, 2007-10-02 at 22:05 +1000, Nick Piggin wrote: > On Tuesday 02 October 2007 21:40, Peter Zijlstra wrote: > > On Tue, 2007-10-02 at 13:21 +0200, Kay Sievers wrote: > > > > How about adding this information to the tree then, instead of > > > creating a ne

Re: [mm] Better help needed for UEVENT_HELPER_PATH

2007-10-03 Thread Kay Sievers
On 9/28/07, Frans Pop <[EMAIL PROTECTED]> wrote: > Current help for CONFIG_UEVENT_HELPER_PATH is: >Path to uevent helper program forked by the kernel for >every uevent. > With default value of /sbin/hotplug. > > Help! I don't have /sbin/hotplug (Debian unstable, using udev). > What do I do

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-03 Thread Kay Sievers
On Wed, 2007-10-03 at 12:37 +0200, Peter Zijlstra wrote: > On Wed, 2007-10-03 at 12:15 +0200, Kay Sievers wrote: > > On Tue, 2007-10-02 at 22:05 +1000, Nick Piggin wrote: > > > On Tuesday 02 October 2007 21:40, Peter Zijlstra wrote: > > > > On Tue, 2007-10-02 at

[PATCH] PNP: add all PNP card device id's as individual aliases

2007-12-24 Thread Kay Sievers
From: Kay Sievers <[EMAIL PROTECTED]> Subject: PNP: add all PNP card device id's as individual aliases The current PNP combined card + devices module aliase can never ever match anything, because all these values are never available all at the same time to match a module. Instead of

Re: [PATCH 0/4] PM: Do not destroy/create devices while suspended (rev. 2)

2008-01-02 Thread Kay Sievers
On Jan 2, 2008 2:15 PM, Ingo Molnar <[EMAIL PROTECTED]> wrote: > A stupid question. The old RTC driver is in > drivers/char/rtc.c, and maps to: > > crw-r--r-- 1 root root 10, 135 Oct 25 18:02 /dev/rtc > > the new driver is in drivers/rtc/*, and maps to: > > crw-r--r-- 1 root root 254, 0 Dec

Re: [RFC] New kobject/kset/ktype documentation and example code

2007-11-28 Thread Kay Sievers
On Wed, 2007-11-28 at 16:48 +0100, Cornelia Huck wrote: > On Wed, 28 Nov 2007 13:23:02 +0100, > Kay Sievers <[EMAIL PROTECTED]> wrote: > > On Wed, 2007-11-28 at 12:45 +0100, Cornelia Huck wrote: > > > On Tue, 27 Nov 2007 15:02:52 -0800, Greg KH <[EMAIL PROTECTE

Re: [RFC] New kobject/kset/ktype documentation and example code

2007-11-28 Thread Kay Sievers
On Wed, 2007-11-28 at 16:52 +0100, Cornelia Huck wrote: > On Wed, 28 Nov 2007 13:35:54 +0100, > Kay Sievers <[EMAIL PROTECTED]> wrote: > > > On Wed, 2007-11-28 at 10:01 +0100, Cornelia Huck wrote: > > > On Tue, 27 Nov 2007 15:02:52 -0800, Greg KH <[EMAIL PROT

Re: [RFC] New kobject/kset/ktype documentation and example code

2007-11-28 Thread Kay Sievers
On Wed, 2007-11-28 at 17:12 +0100, Cornelia Huck wrote: > On Wed, 28 Nov 2007 16:57:48 +0100, > Kay Sievers <[EMAIL PROTECTED]> wrote: > > > On Wed, 2007-11-28 at 16:48 +0100, Cornelia Huck wrote: > > > On Wed, 28 Nov 2007 13:23:02 +0100, > > > Kay Siever

Re: [RFC] New kobject/kset/ktype documentation and example code

2007-11-28 Thread Kay Sievers
On Wed, 2007-11-28 at 17:51 +0100, Cornelia Huck wrote: > On Wed, 28 Nov 2007 17:36:29 +0100, > Kay Sievers <[EMAIL PROTECTED]> wrote: > > > > > On Wed, 2007-11-28 at 17:12 +0100, Cornelia Huck wrote: > > > On Wed, 28 Nov 2007 16:57:48 +0100, > &g

Re: [RFC] New kobject/kset/ktype documentation and example code

2007-11-28 Thread Kay Sievers
On Wed, 2007-11-28 at 14:03 -0500, Alan Stern wrote: > On Tue, 27 Nov 2007, Greg KH wrote: > > > Part of the difficulty in understanding the driver model - and the kobject > > abstraction upon which it is built - is that there is no obvious starting > > place. Dealing with kobjects requires unders

Re: [RFC] New kobject/kset/ktype documentation and example code

2007-11-28 Thread Kay Sievers
On Wed, 2007-11-28 at 14:36 -0500, Alan Stern wrote: > On Wed, 28 Nov 2007, Kay Sievers wrote: > > > > Actually the current code doesn't seem to check whether kobj->ktype is > > > NULL or to use the value of kobj->kset->kobj.ktype. Is this an oversig

Re: [PATCH] kobject: make sure kobj->ktype is set before kobject_init

2007-11-28 Thread Kay Sievers
On Wed, 2007-11-28 at 15:42 -0500, Alan Stern wrote: > This patch (as1020) adds a check to kobject_init() to insure that the > ktype field is not NULL. That's good. > This is just for safety's sake; as far as I > know there are no remaining places where the field is left unset. But > ironically,

Re: [RFC] New kobject/kset/ktype documentation and example code

2007-11-28 Thread Kay Sievers
On Wed, 2007-11-28 at 22:08 -0800, Greg KH wrote: > On Wed, Nov 28, 2007 at 06:00:27PM +0100, Kay Sievers wrote: > > On Wed, 2007-11-28 at 17:51 +0100, Cornelia Huck wrote: > > > On Wed, 28 Nov 2007 17:36:29 +0100, Kay Sievers <[EMAIL PROTECTED]> wrote: > > > &g

Re: [RFC] New kobject/kset/ktype documentation and example code

2007-11-29 Thread Kay Sievers
On Thu, 2007-11-29 at 10:35 +0100, Cornelia Huck wrote: > On Thu, 29 Nov 2007 08:50:31 +0100, > Kay Sievers <[EMAIL PROTECTED]> wrote: > > > We have ~20 callers of kobject_(un)register(), convert them to > > kobject_init() + kobject_add() + kobject_uevent(), and

Re: [PATCH] kobject: make sure kobj->ktype is set before kobject_init

2007-11-29 Thread Kay Sievers
On Thu, 2007-11-29 at 11:05 +0100, Cornelia Huck wrote: > On Wed, 28 Nov 2007 17:00:57 -0500 (EST), > Alan Stern <[EMAIL PROTECTED]> wrote: > > On Wed, 28 Nov 2007, Greg KH wrote: > > > On Wed, Nov 28, 2007 at 03:42:00PM -0500, Alan Stern wrote: > > > > This patch (as1020) adds a check to kobject_i

Re: [PATCH] kobject: make sure kobj->ktype is set before kobject_init

2007-11-29 Thread Kay Sievers
On Thu, 2007-11-29 at 10:54 -0500, Alan Stern wrote: > On Thu, 29 Nov 2007, Kay Sievers wrote: > > > > And if someone calls kobject_put() after kobject_init() to clean up, > > > their release function will not be called if they didn't set the ktype. > >

Re: does /proc/sys/kernel/modprobe actually do anything?

2007-11-29 Thread Kay Sievers
On Nov 29, 2007 1:58 PM, Robert P. J. Day <[EMAIL PROTECTED]> wrote: > On Thu, 29 Nov 2007, Alexey Dobriyan wrote: > > > On 11/29/07, Robert P. J. Day <[EMAIL PROTECTED]> wrote: > > > echo '#! /bin/sh' > /tmp/modprobe > > > echo 'echo "$@" >> /tmp/modprobe.log' >> /tmp/modprobe > > > echo 'exec /sb

Re: [PATCH] kobject: make sure kobj->ktype is set before kobject_init

2007-11-29 Thread Kay Sievers
On Thu, 2007-11-29 at 12:06 -0500, Alan Stern wrote: > On Thu, 29 Nov 2007, Kay Sievers wrote: > > > > In fact, if we were designing the kobject API from scratch, I'd suggest > > > making the ktype value an argument to kobject_init() so that it > > > _coul

Re: Relax permissions for reading hard drive serial number?

2007-11-29 Thread Kay Sievers
On Nov 29, 2007 4:46 PM, Dan Kegel <[EMAIL PROTECTED]> wrote: > On Nov 29, 2007 7:37 AM, Xavier Bestel <[EMAIL PROTECTED]> wrote: > > > One sticking point is that apps like Photoshop and probably > > > Punkbuster want to retrieve the hard drive's serial number > > > > So they can't be installed on

Re: [PATCH] kobject: make sure kobj->ktype is set before kobject_init

2007-11-29 Thread Kay Sievers
On Thu, 2007-11-29 at 13:04 -0500, Alan Stern wrote: > On Thu, 29 Nov 2007, Kay Sievers wrote: > > > > > Sounds fine, maybe we should also pass the name along, so it will be > > > > obvious what happens here: > > > > int kobject_init(struct ko

Re: [PATCH] kobject: make sure kobj->ktype is set before kobject_init

2007-11-29 Thread Kay Sievers
On Thu, 2007-11-29 at 14:05 -0500, Alan Stern wrote: > On Thu, 29 Nov 2007, Kay Sievers wrote: > > > Your error scenario confirmed my initial concern about suggesting > > kobject_put() to clean up an initialized kobject. > > > > We should probably make kobject_cle

Re: [PATCH] kobject: make sure kobj->ktype is set before kobject_init

2007-11-29 Thread Kay Sievers
On Thu, 2007-11-29 at 15:09 -0500, Alan Stern wrote: > On Thu, 29 Nov 2007, Kay Sievers wrote: > > > > My conclusion is different. We should make kobject_init() not consume > > > any resources at all; just initialize various fields. That way it > > > would

Re: [PATCH] kobject: make sure kobj->ktype is set before kobject_init

2007-11-29 Thread Kay Sievers
On Thu, 2007-11-29 at 21:20 +0100, Kay Sievers wrote: > On Thu, 2007-11-29 at 15:09 -0500, Alan Stern wrote: > > On Thu, 29 Nov 2007, Kay Sievers wrote: > > > > There's another good reason for not assigning the name in > > > > kobject_init(): Code that uses k

Re: [patch 1/3] bdi patches

2007-11-30 Thread Kay Sievers
On Nov 30, 2007 9:06 AM, Miklos Szeredi <[EMAIL PROTECTED]> wrote: > > > Provide a place in sysfs for the backing_dev_info object. > > > This allows us to see and set the various BDI specific variables. > > > > You don't say what the place is, and I'm not quite familiar enough > > with sysfs intern

Re: Since sysfs_mount is static and used only in sysfs_init function, it could be just an automatic variable.

2007-12-02 Thread Kay Sievers
On Dec 2, 2007 11:53 PM, Greg KH <[EMAIL PROTECTED]> wrote: > > On Sun, Dec 02, 2007 at 03:22:46PM -0700, Eric W. Biederman wrote: > > Greg KH <[EMAIL PROTECTED]> writes: > > > > > On Sun, Dec 02, 2007 at 02:52:17PM +0800, rae l wrote: > > >> On Dec 2, 2007 12:48 PM, Greg KH <[EMAIL PROTECTED]> wro

Re: [EMAIL PROTECTED] created...

2007-11-19 Thread Kay Sievers
On Nov 20, 2007 1:17 AM, David Miller <[EMAIL PROTECTED]> wrote: > From: Greg KH <[EMAIL PROTECTED]> > Date: Mon, 19 Nov 2007 14:54:55 -0800 > > > Woah, the [EMAIL PROTECTED] list is NOT a subscriber-only list at > > all. It's wide open with a bunch of mailman rule filter to try to > > handle the

Re: gitweb: kernel versions in the history (feature request, probably)

2007-11-21 Thread Kay Sievers
On Nov 21, 2007 8:52 AM, Jarek Poplawski <[EMAIL PROTECTED]> wrote: > On Tue, Nov 20, 2007 at 10:20:09PM -0500, J. Bruce Fields wrote: > > On Wed, Nov 21, 2007 at 12:30:23AM +0100, Jarek Poplawski wrote: > > > I don't know git, but it seems, at least if done for web only, this > > > shouldn't be so

Re: PCMCIA serial_cs driver binding problems.

2007-11-23 Thread Kay Sievers
On Nov 20, 2007 3:08 PM, <[EMAIL PROTECTED]> wrote: > I'm working to sort out what appear to be issues with binding of the > serial_cs driver to a PCMCIA wireless card (Zoom). > > Card works perfectly in recent 2.6.2[23] kernels if cardmgr is running > and PCMCIA_IOCTL support is in the kernel. T

Re: [RFC] New kobject/kset/ktype documentation and example code

2007-11-28 Thread Kay Sievers
On Wed, 2007-11-28 at 12:45 +0100, Cornelia Huck wrote: > On Tue, 27 Nov 2007 15:02:52 -0800, Greg KH <[EMAIL PROTECTED]> wrote: > > A kset serves these functions: > > > > - It serves as a bag containing a group of objects. A kset can be used by > >the kernel to track "all block devices" or

Re: [RFC] New kobject/kset/ktype documentation and example code

2007-11-28 Thread Kay Sievers
On Wed, 2007-11-28 at 10:01 +0100, Cornelia Huck wrote: > On Tue, 27 Nov 2007 15:02:52 -0800, Greg KH <[EMAIL PROTECTED]> wrote: > > Among other things, kobject_init() sets the kobject's reference count to > > one. Calling kobject_init() is not sufficient, however. Kobject users > > must, at a mi

Re: [i2c] [PATCH] update module-init-tools to support the i2c subsystem

2008-01-14 Thread Kay Sievers
On Jan 14, 2008 6:50 PM, Jean Delvare <[EMAIL PROTECTED]> wrote: > On Mon, 14 Jan 2008 18:08:16 +0100 (CET), Geert Uytterhoeven wrote: > > On Mon, 14 Jan 2008, Jean Delvare wrote: > > > I thought that the module aliases were generated by > > > scripts/mod/modpost? As a matter of fact, I did not app

Re: [PATCH 7/7] driver-core : convert semaphore to mutex in struct class

2008-01-17 Thread Kay Sievers
On Jan 18, 2008 2:42 AM, Dave Young <[EMAIL PROTECTED]> wrote: > > On Jan 18, 2008 7:26 AM, Jarek Poplawski <[EMAIL PROTECTED]> wrote: > > > > On Thu, Jan 17, 2008 at 09:31:55PM +0100, Jarek Poplawski wrote: > > > On Thu, Jan 17, 2008 at 02:57:36PM -0500, Alan Stern wrote: > > > > On Thu, 17 Jan 20

Re: [PATCH 7/7] driver-core : convert semaphore to mutex in struct class

2008-01-17 Thread Kay Sievers
On Fri, 2008-01-18 at 10:28 +0800, Dave Young wrote: > On Jan 18, 2008 9:55 AM, Kay Sievers <[EMAIL PROTECTED]> wrote: > > > > On Jan 18, 2008 2:42 AM, Dave Young <[EMAIL PROTECTED]> wrote: > > > > > > On Jan 18, 2008 7:26 AM, Jarek Poplawski <[EMAI

Re: [PATCH 7/7] driver-core : convert semaphore to mutex in struct class

2008-01-18 Thread Kay Sievers
On Fri, 2008-01-18 at 08:38 +0100, Jarek Poplawski wrote: > On Fri, Jan 18, 2008 at 01:31:17PM +0800, Dave Young wrote: > > On Jan 18, 2008 11:18 AM, Kay Sievers <[EMAIL PROTECTED]> wrote: > ... > > > Yeah, might be better to wait until class_device is gone, otherwis

Re: kobject ->k_name memory leak

2007-12-15 Thread Kay Sievers
On Sat, 2007-12-15 at 16:34 +0300, Alexey Dobriyan wrote: > On Fri, Dec 14, 2007 at 01:48:23PM -0800, Greg KH wrote: > > On Mon, Dec 03, 2007 at 01:25:51PM -0800, Greg KH wrote: > > > On Tue, Dec 04, 2007 at 12:09:59AM +0300, Alexey Dobriyan wrote: > > > > On Mon, Dec 03, 2007 at 12:47:16PM -0800,

Re: [PATCH 007 of 7] md: Get name for block device in sysfs

2007-12-15 Thread Kay Sievers
On Dec 14, 2007 7:26 AM, NeilBrown <[EMAIL PROTECTED]> wrote: > > Given an fd on a block device, returns a string like > > /block/sda/sda1 > > which can be used to find related information in /sys. > > Ideally we should have an ioctl that works on char devices as well, > but that seems far

Re: [PATCH 007 of 7] md: Get name for block device in sysfs

2007-12-16 Thread Kay Sievers
On Mon, 2007-12-17 at 09:43 +1100, Neil Brown wrote: > On Saturday December 15, [EMAIL PROTECTED] wrote: > > On Dec 14, 2007 7:26 AM, NeilBrown <[EMAIL PROTECTED]> wrote: > > > > > > Given an fd on a block device, returns a string like > > > > > > /block/sda/sda1 > > > > > > which can be us

Re: /sys/block [was: [PATCH 007 of 7] md: Get name for block device in sysfs]

2007-12-17 Thread Kay Sievers
On Mon, 2007-12-17 at 08:29 +0300, Michael Tokarev wrote: > Kay Sievers wrote: > > On Mon, 2007-12-17 at 09:43 +1100, Neil Brown wrote: > >> On Saturday December 15, [EMAIL PROTECTED] wrote: > >>> On Dec 14, 2007 7:26 AM, NeilBrown <[EMAIL PROTECTED]> wrote:

Re: [1/4] DST: Distributed storage documentation.

2007-12-17 Thread Kay Sievers
On Dec 17, 2007 4:03 PM, Evgeniy Polyakov <[EMAIL PROTECTED]> wrote: > +++ b/Documentation/dst/sysfs.txt > @@ -0,0 +1,33 @@ > +This file describes sysfs files created for each storage. > + > +1. Per-storage files. > +Each storage has its own dir /sysfs/devices/$storage_name, > +2. Per-node files.

Re: [RFC] kobject/kset/ktype documentation and example code updated

2007-12-19 Thread Kay Sievers
On Wed, 2007-12-19 at 23:26 -0500, Alan Stern wrote: > On Wed, 19 Dec 2007, Greg KH wrote: > > associated with a kobject, then the parent for the kobject can be set to > > NULL in the call to kobject_add() and then the kobject will be placed under > > the kset itself. > > "and then the kobject's

[PATCH] add TIMEOUT to firmware_class hotplug event

2005-03-16 Thread Kay Sievers
ue to the hotplug environment of the firmware requesting event. I will adapt udevd not to wait for anything else, if it finds a TIMEOUT key. Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> = drivers/base/firmware_class.c 1.25 vs edited = --- 1.25/drivers/base/firmware_class.c 2004-11-26

Re: [PATCH] add TIMEOUT to firmware_class hotplug event

2005-03-17 Thread Kay Sievers
On Wed, 2005-03-16 at 21:46 -0800, Greg KH wrote: > On Thu, Mar 17, 2005 at 03:34:31AM +0100, Kay Sievers wrote: > > On Tue, 2005-03-15 at 09:25 +0100, Hannes Reinecke wrote: > > > The current implementation of the firmware class breaks a fundamental > > > assumption

[PATCH 1/6] kobject/hotplug split - kobject add/remove

2005-03-17 Thread Kay Sievers
kobject_add() and kobject_del() don't emit hotplug events anymore. The user should do it itself if it has finished populating the device directory. Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> = lib/kobject.c 1.58 vs edited = --- 1.58/lib/kobject.c 2005-03-09 18:0

[PATCH 0/6] kobject/hotplug split

2005-03-17 Thread Kay Sievers
This splits the implicit generation of hotplug events from kobject_add() and kobject_del(), to give the driver core control over the time the event is created. The kobject_register() and unregister functions still have the same behavior and emit the events by themselves. The class, block and devi

[PATCH 6/6] kobject/hotplug split - net bridge

2005-03-17 Thread Kay Sievers
kobject_add() and kobject_del() don't emit hotplug events anymore. We need to do it ourselves now. Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> = net/bridge/br_sysfs_if.c 1.2 vs edited = --- 1.2/net/bridge/br_sysfs_if.c2004-06-18 22:15:34 +02:00 +++ edited

[PATCH 2/6] kobject/hotplug split - class core

2005-03-17 Thread Kay Sievers
kobject_add() and kobject_del() don't emit hotplug events anymore. Do it ourselves if we are finished populating the device directory. Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> = drivers/base/class.c 1.61 vs edited = --- 1.61/drivers/base/class.c 2005-03-15 17:5

[PATCH 5/6] kobject/hotplug split - usb cris

2005-03-17 Thread Kay Sievers
kobject_add() and kobject_del() don't emit hotplug events anymore. We need to do it ourselves now. Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> = drivers/usb/host/hc_crisv10.c 1.7 vs edited = --- 1.7/drivers/usb/host/hc_crisv10.c 2004-12-21 02:15:10 +01:00 +++ edited/drive

[PATCH 3/6] kobject/hotplug split - block core

2005-03-17 Thread Kay Sievers
kobject_add() and kobject_del() don't emit hotplug events anymore. Do it ourselves if we are finished populating the device directory. Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> = fs/partitions/check.c 1.129 vs edited = --- 1.129/fs/partitions/check.c 2005-01-31 07:3

[PATCH 4/6] kobject/hotplug split - devices core

2005-03-17 Thread Kay Sievers
kobject_add() and kobject_del() don't emit hotplug events anymore. Do it ourselves if we are finished populating the device directory. Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> --- 1.91/drivers/base/core.c2004-11-12 13:16:42 +01:00 +++ edited/drivers/base/core.c 2005-03-18 0

[PATCH ] add "bus" symlink to class/block devices

2005-02-15 Thread Kay Sievers
ontrolC0 | | | |-- bus -> ../../../bus/pci | | | |-- dev | | | |-- device -> ../../../devices/pci:00/:00:1f.5 | | | `-- driver -> ../../../bus/pci/drivers/Intel ICH Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> = drivers/base/class.c 1.58 vs edited =

Re: [PATCH] add "bus" symlink to class/block devices

2005-02-15 Thread Kay Sievers
On Tue, Feb 15, 2005 at 09:53:44PM +0100, Kay Sievers wrote: > Add a "bus" symlink to the class and block devices, just like the "driver" > and "device" links. This may be a huge speed gain for e.g. udev to determine > the bus value of a device, as we cur

[PATCH] add I/O error uevent for block devices

2005-02-18 Thread Kay Sievers
For HAL we want to get notified about I/O errors of block devices. This is especially useful for devices we are unable to poll and therefore can't know if something goes wrong here. Signed-off-by: David Zeuthen <[EMAIL PROTECTED]> Signed-off-by: Kay Sievers <[EMAIL PROTECTED]>

Re: [PATCH] add I/O error uevent for block devices

2005-02-18 Thread Kay Sievers
On Fri, Feb 18, 2005 at 01:46:21AM -0800, Andrew Morton wrote: > Kay Sievers <[EMAIL PROTECTED]> wrote: > > > > For HAL we want to get notified about I/O errors of block devices. > > This is especially useful for devices we are unable to poll and > > therefore c

Re: [PATCH] add I/O error uevent for block devices

2005-02-18 Thread Kay Sievers
On Fri, Feb 18, 2005 at 11:02:32AM -0800, Andrew Morton wrote: > Kay Sievers <[EMAIL PROTECTED]> wrote: > > > > > - there are numerous other places where an I/O error can be detected: > > > grep the tree for b_end_io and bio_end_io. > > > > You m

[PATCH] sysfs: export the vfs release call of binary attribute

2005-01-27 Thread Kay Sievers
Currently there is no way to know what time userspace has finished writing to a binary sysfs attribute bigger than one page. The firmware_class code uses its own special file in the class directory to notify about this. This can be simplified by using this release callback. Signed-off-by: Kay

Re: [PATCH] sysfs: export the vfs release call of binary attribute

2005-01-27 Thread Kay Sievers
Initialize the allocated bin_attribute structure, otherwise unused fields are pointing to random places. Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> = drivers/pci/pci-sysfs.c 1.16 vs edited = --- 1.16/drivers/pci/pci-sysfs.c2005-01-06 21:30:29 +01:00 +++ edited/drivers/p

Re: [PATCH] sysfs: export the vfs release call of binary attribute

2005-01-27 Thread Kay Sievers
On Thu, Jan 27, 2005 at 09:19:23PM +0100, Kay Sievers wrote: > Initialize the allocated bin_attribute structure, otherwise unused fields > are pointing to random places. Sorry, wrong place for the inititalization. Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> = drivers/pci/pci-

Re: [PATCH 0/7] driver core: export MAJOR/MINOR to the hotplug env

2005-02-01 Thread Kay Sievers
On Tue, Feb 01, 2005 at 02:56:25PM -0800, Greg KH wrote: > On Sun, Jan 23, 2005 at 05:19:11AM +0100, Kay Sievers wrote: > > This patch sequence moves the creation of the sysfs "dev" file of the class > > devices into the driver core. The struct class_device contains a de

Re: [PATCH 0/7] driver core: export MAJOR/MINOR to the hotplug env

2005-02-05 Thread Kay Sievers
On Fri, Feb 04, 2005 at 10:16:36PM -0800, Greg KH wrote: > On Wed, Feb 02, 2005 at 01:48:12AM +0100, Kay Sievers wrote: > > On Tue, Feb 01, 2005 at 02:56:25PM -0800, Greg KH wrote: > > > Hm, that class_simple interface is looking like the way we should move > > > towa

Re: [PATCH] Symlink /sys/class/block to /sys/block

2005-02-24 Thread Kay Sievers
Greg KH suse.de> writes: > > On Wed, Feb 23, 2005 at 09:43:35AM +, Malcolm Rowe wrote: > > Greg KH writes: > > > > >>Following the discussion in [1], the attached patch creates > > >>/sys/class/block > > >>as a symlink to /sys/block. The patch applies to 2.6.11-rc4-bk7. > > >> > > >>Ple

Re: [PATCH] Symlink /sys/class/block to /sys/block

2005-02-25 Thread Kay Sievers
On Fri, Feb 25, 2005 at 02:39:27PM -0800, Greg KH wrote: > On Fri, Feb 25, 2005 at 01:35:13AM +0000, Kay Sievers wrote: > > Greg KH suse.de> writes: > > > > > > > > On Wed, Feb 23, 2005 at 09:43:35AM +, Malcolm Rowe wrote: > > > > Greg KH writ

split kobject creation and hotplug event generation

2005-02-25 Thread Kay Sievers
of concurrent events. Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> = drivers/base/class.c 1.62 vs edited = --- 1.62/drivers/base/class.c 2005-02-18 19:44:34 +01:00 +++ edited/drivers/base/class.c 2005-02-26 04:49:37 +01:00 @@ -430,6 +430,7 @@ int class_devi

Re: split kobject creation and hotplug event generation

2005-02-25 Thread Kay Sievers
Sorry, the first patch has a typo. On Sat, Feb 26, 2005 at 06:53:16AM +0100, Kay Sievers wrote: > This splits the implicit generation of a hotplug events from > kobject_add() and kobject_del(), to give the user of of these > functions control over the time the event is created.

Re: split kobject creation and hotplug event generation

2005-02-28 Thread Kay Sievers
On Mon, Feb 28, 2005 at 11:46:42AM -0800, Greg KH wrote: > On Sat, Feb 26, 2005 at 06:53:16AM +0100, Kay Sievers wrote: > > This splits the implicit generation of a hotplug events from > > kobject_add() and kobject_del(), to give the user of of these > > functions control ov

[PATCH] floppy.c: pass physical device to device registration

2005-01-16 Thread Kay Sievers
With this patch the floppy driver creates the usual symlink in sysfs to the physical device backing the block device: $tree /sys/block/ /sys/block/ |-- fd0 | |-- dev | |-- device -> ../../devices/platform/floppy0 ... Signed-off-by: Kay Sievers <[EMAIL PROTECTED]>

[PATCH 0/7] driver core: export MAJOR/MINOR to the hotplug env

2005-01-22 Thread Kay Sievers
This patch sequence moves the creation of the sysfs "dev" file of the class devices into the driver core. The struct class_device contains a dev_t value now. If set, the driver core will create the "dev" file containing the major/minor numbers automatically. The MAJOR/MINOR values are also exporte

[PATCH 1/7] class core: export MAJOR/MINOR to the hotplug env

2005-01-22 Thread Kay Sievers
Move the creation of the sysfs "dev" file of a class device into the driver core. The struct class_device contains a dev_t value now. If set, the driver core will create the "dev" file containing the major/minor numbers automatically. Signed-off-by: Kay Sievers <[EMAIL PRO

[PATCH 2/7] block core: export MAJOR/MINOR to the hotplug env

2005-01-22 Thread Kay Sievers
Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> = drivers/block/genhd.c 1.109 vs edited = --- 1.109/drivers/block/genhd.c 2005-01-14 20:21:23 +01:00 +++ edited/drivers/block/genhd.c2005-01-23 02:59:27 +01:00 @@ -430,42 +430,57 @@ static int block_hotplug_filter(struct k stat

[PATCH 3/7] class_simple: pass dev_t to the class core

2005-01-22 Thread Kay Sievers
Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> = drivers/base/class_simple.c 1.8 vs edited = --- 1.8/drivers/base/class_simple.c 2005-01-21 06:02:15 +01:00 +++ edited/drivers/base/class_simple.c 2005-01-22 16:20:16 +01:00 @@ -10,18 +10,15 @@ #include #include -#i

[PATCH 5/7] i2c: class driver pass dev_t to the class core

2005-01-22 Thread Kay Sievers
Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> = drivers/i2c/i2c-dev.c 1.50 vs edited = --- 1.50/drivers/i2c/i2c-dev.c 2005-01-21 06:02:15 +01:00 +++ edited/drivers/i2c/i2c-dev.c2005-01-22 15:17:50 +01:00 @@ -108,13 +108,6 @@ static void return_i2c_dev(struct

[PATCH 6/7] videodev: pass dev_t to the class core

2005-01-22 Thread Kay Sievers
Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> = drivers/media/video/videodev.c 1.35 vs edited = --- 1.35/drivers/media/video/videodev.c 2004-08-23 10:14:55 +02:00 +++ edited/drivers/media/video/videodev.c 2005-01-22 15:22:49 +01:00 @@ -46,15 +46,7 @@ static ssize_t show_name(

[PATCH 4/7] usb: class driver pass dev_t to the class core

2005-01-22 Thread Kay Sievers
Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> = drivers/usb/core/file.c 1.17 vs edited = --- 1.17/drivers/usb/core/file.c2005-01-15 01:01:44 +01:00 +++ edited/drivers/usb/core/file.c 2005-01-22 15:15:05 +01:00 @@ -107,13 +107,6 @@ void usb_major_cleanu

[PATCH 7/7] inifiniband: pass dev_t to class core

2005-01-22 Thread Kay Sievers
Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> = drivers/infiniband/core/user_mad.c 1.2 vs edited = --- 1.2/drivers/infiniband/core/user_mad.c 2005-01-21 06:01:17 +01:00 +++ edited/drivers/infiniband/core/user_mad.c 2005-01-22 15:34:10 +01:00 @@ -518,15 +518,6 @@ static

Re: 2.6.24-rc2-mm1

2007-11-14 Thread Kay Sievers
On Wed, 2007-11-14 at 08:59 -0800, Greg KH wrote: > On Wed, Nov 14, 2007 at 05:36:48PM +0800, Dave Young wrote: > > On Nov 14, 2007 4:41 PM, Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > > > On Wed, 14 Nov 2007 14:47:38 +0800 "Dave Young" <[EMAIL PROTECTED]> wrote: > > > > > > > On Nov 14, 2007

<    1   2   3   4   5   >