current git crashes on bootup with pci_iounmap()

2007-02-13 Thread Kay Sievers
kernel BUG at lib/iomap.c:254! invalid opcode: [#1] ... The screen picture is here: http://vrfy.org/pci_iounmap.jpg It's a Thinkpad T43p. 2.6.20 was working fine. Commenting out: IO_COND(addr, /* nothing */, iounmap(addr)); in: lib/iomap.c:254 makes at least booting up possible. Tha

Re: current git crashes on bootup with pci_iounmap()

2007-02-13 Thread Kay Sievers
On Tue, 2007-02-13 at 17:04 +0100, Marcel Holtmann wrote: > > kernel BUG at lib/iomap.c:254! > > invalid opcode: [#1] > > ... > > > > The screen picture is here: > > http://vrfy.org/pci_iounmap.jpg > > > > It's a Thinkpad T43p. > > > > 2.6.20 was working fine. > > > > Commenting out: > >

Re: current git crashes on bootup with pci_iounmap()

2007-02-14 Thread Kay Sievers
On 2/13/07, Kay Sievers <[EMAIL PROTECTED]> wrote: On Tue, 2007-02-13 at 17:04 +0100, Marcel Holtmann wrote: > > kernel BUG at lib/iomap.c:254! > > invalid opcode: [#1] > > ... > > > > The screen picture is here: > > http://vrfy.org/pc

Re: [patch 2/3] acpi: Add a docked sysfs file to the dock driver.

2006-12-13 Thread Kay Sievers
On Wed, 2006-12-13 at 00:26 +0100, Stefan Schmidt wrote: > On Tue, 2006-12-12 at 15:00, Kristen Carlson Accardi wrote: > > > > I did have different dock/undock events a few months ago - but > > after some discussion we scrapped them because Kay wants to avoid driver > > specific events. The "chan

Re: 2.6.20-rc2-mm1 -- INFO: possible recursive locking detected

2007-01-05 Thread Kay Sievers
On Thu, 2007-01-04 at 15:57 -0800, Greg KH wrote: > On Thu, Jan 04, 2007 at 11:50:02PM +, Hugh Dickins wrote: > > On Thu, 4 Jan 2007, Greg KH wrote: > > > On Sat, Dec 30, 2006 at 02:47:20AM -0800, Miles Lane wrote: > > > > Sorry Andrew, I am not sure which maintainer to contact about this. I >

Re: how to get serial_no from usb HD disk (HDIO_GET_IDENTITY ioctl, hdparm -i)

2007-01-06 Thread Kay Sievers
On 1/6/07, Greg KH <[EMAIL PROTECTED]> wrote: On Fri, Jan 05, 2007 at 12:27:34AM +0200, Yakov Lerner wrote: > How can I get serial_no from usb-attached HD drive ? use the *_id programs that come with udev, they show you how to properly do that. Only "advanced" ATA-USB bridges will offer you th

Re: how to get serial_no from usb HD disk (HDIO_GET_IDENTITY ioctl, hdparm -i)

2007-01-06 Thread Kay Sievers
On Sat, 2007-01-06 at 11:59 -0500, Stephen Clark wrote: > Kay Sievers wrote: > >On 1/6/07, Greg KH <[EMAIL PROTECTED]> wrote: > >>On Fri, Jan 05, 2007 at 12:27:34AM +0200, Yakov Lerner wrote: > >> > >>>How can I get serial_no from usb-attached HD

Re: No more "device" symlinks for classes

2007-01-13 Thread Kay Sievers
On Sun, 2007-01-14 at 00:51 +0100, Pierre Ossman wrote: > I just wanted to know the rationale behind > 99ef3ef8d5f2f5b5312627127ad63df27c0d0d05 (no more "device" symlink in > class devices). I thought that was a rather convenient way of finding > which physical device the class device was coupled t

Re: No more "device" symlinks for classes

2007-01-13 Thread Kay Sievers
On Sun, 2007-01-14 at 01:29 +0100, Pierre Ossman wrote: > Kay Sievers wrote: > > > > The plan is to have a single unified tree at /sys/devices, where all > > device-directories live below their parents, and /sys/class contains > > only symlinks pointing into this sing

Re: No more "device" symlinks for classes

2007-01-14 Thread Kay Sievers
On 1/14/07, Greg KH <[EMAIL PROTECTED]> wrote: On Sun, Jan 14, 2007 at 09:10:59AM +0300, Andrey Borzenkov wrote: > Pierre Ossman wrote: > > > Hi guys, > > > > I just wanted to know the rationale behind > > 99ef3ef8d5f2f5b5312627127ad63df27c0d0d05 (no more "device" symlink in > > class devices). I

Re: [Patch -mm 2/2] driver core: Introduce device_move(): move a device to a new parent.

2006-11-16 Thread Kay Sievers
On Thu, 2006-11-16 at 15:42 +0100, Cornelia Huck wrote: > From: Cornelia Huck <[EMAIL PROTECTED]> > > Provide a function device_move() to move a device to a new parent device. Add > auxilliary functions kobject_move() and sysfs_move_dir(). > kobject_move() generates a new uevent of type KOBJ_MOVE,

Re: 2.6.19-rc6-mm2

2006-11-29 Thread Kay Sievers
On Tue, 2006-11-28 at 14:30 -0800, Greg KH wrote: > On Tue, Nov 28, 2006 at 12:35:43PM +0100, Mariusz Kozlowski wrote: > > Hello, > > > > When CONFIG_MODULE_UNLOAD is not set then this happens: > > > > CC kernel/module.o > > kernel/module.c:852: error: `initstate' undeclared here (not

Re: 2.6.19-rc6-mm2

2006-11-29 Thread Kay Sievers
On Wed, 2006-11-29 at 22:54 +, Andy Whitcroft wrote: > Kay Sievers wrote: > > On Tue, 2006-11-28 at 14:30 -0800, Greg KH wrote: > >> On Tue, Nov 28, 2006 at 12:35:43PM +0100, Mariusz Kozlowski wrote: > >>> Hello, > >>> > >>>

Re: [Linux-usb-users] Stable identification of identical USB hardware

2007-06-19 Thread Kay Sievers
On 6/18/07, Greg KH <[EMAIL PROTECTED]> wrote: On Mon, Jun 18, 2007 at 08:35:35AM -0700, Joerg Pommnitz wrote: > I want to be able to distinguish between two (or more) mostly > identical USB serial devices. The devices in question are UMTS modems. > AFAIK they are identical except for the SIM car

Re: Rules on how to use sysfs in userspace programs

2007-06-23 Thread Kay Sievers
On 6/22/07, Rob Landley <[EMAIL PROTECTED]> wrote: On Friday 08 June 2007 16:36:37 Greg KH wrote: > Over time there have been a number of problems when sysfs has changed in > "unexpected" ways. Here's a document that Kay wrote a while ago that > I'd like to add to the kernel Documentation direct

Re: Rules on how to use sysfs in userspace programs

2007-06-24 Thread Kay Sievers
On 6/24/07, Rob Landley <[EMAIL PROTECTED]> wrote: On Saturday 23 June 2007 08:49:47 Kay Sievers wrote: > On 6/22/07, Rob Landley <[EMAIL PROTECTED]> wrote: > > On Friday 08 June 2007 16:36:37 Greg KH wrote: > > > Over time there have been a number of problems w

Re: Rules on how to use sysfs in userspace programs

2007-06-25 Thread Kay Sievers
On 6/24/07, Rob Landley <[EMAIL PROTECTED]> wrote: On Sunday 24 June 2007 07:03:39 Kay Sievers wrote: > On 6/24/07, Rob Landley <[EMAIL PROTECTED]> wrote: > > On Saturday 23 June 2007 08:49:47 Kay Sievers wrote: > > > On 6/22/07, Rob Landley <[EMAIL PROTECTED]&

Re: Rules on how to use sysfs in userspace programs

2007-06-10 Thread Kay Sievers
On Sun, 2007-06-10 at 09:56 -0700, Randy Dunlap wrote: > On Sun, 10 Jun 2007 10:02:00 -0400 Theodore Tso wrote: > > > On Fri, Jun 08, 2007 at 01:36:37PM -0700, Greg KH wrote: > > > The kernel exported sysfs exports internal kernel implementation-details > > > and depends on internal kernel-structu

Re: [PATCH -mm 4/7] PM: Remove suspend and resume support from struct device_type

2007-06-13 Thread Kay Sievers
Dmitry, you added this recently, is this used in any code you plan to merge soon? Thanks, Kay On 6/13/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: From: Rafael J. Wysocki <[EMAIL PROTECTED]> The suspend and resume support in struct device_type (include/linux/device.h) is not used anywhere.

Re: understanding firmware loader for speedtouch (kernel 2.6.21.5)

2007-07-09 Thread Kay Sievers
On 7/9/07, mikie <[EMAIL PROTECTED]> wrote: 2007/7/9, Indan Zupancic <[EMAIL PROTECTED]>: > On Mon, July 9, 2007 10:49, mikie wrote: > > 2007/7/6, Indan Zupancic <[EMAIL PROTECTED]>: > >> On Fri, July 6, 2007 16:20, Duncan Sands wrote: > >> > On Friday 6 July 2007 14:54:18 mikie wrote: > >> >> Hi

Re: understanding firmware loader for speedtouch (kernel 2.6.21.5)

2007-07-09 Thread Kay Sievers
On Mon, 2007-07-09 at 16:40 +0200, mikie wrote: > 2007/7/9, Kay Sievers <[EMAIL PROTECTED]>: > > On 7/9/07, mikie <[EMAIL PROTECTED]> wrote: > > > 2007/7/9, Indan Zupancic <[EMAIL PROTECTED]>: > > > > On Mon, July 9, 2007 10:49, mikie wrote: >

Re: [PATCH 01/61] Rules on how to use sysfs in userspace programs

2007-07-12 Thread Kay Sievers
On Thu, 2007-07-12 at 10:48 +0200, Pavel Machek wrote: > On Wed 2007-07-11 16:31:20, Greg Kroah-Hartman wrote: > > From: Kay Sievers <[EMAIL PROTECTED]> > > > > Here's a document to help clear things up. > > > > Signed-off-by: Kay Sievers <[EMAIL PR

Re: [2.6.23 PATCH 13/18] dm: netlink

2007-07-13 Thread Kay Sievers
On 7/13/07, Evgeniy Polyakov <[EMAIL PROTECTED]> wrote: On Thu, Jul 12, 2007 at 04:31:15PM -0700, Andrew Morton ([EMAIL PROTECTED]) wrote: > > > Need a dependency on NET there? > > > > It's really sad to make DM dependent on the network layer. > > > > Yes, it would be somewhat sad. However one

Re: 2.6.22-rc2-mm1: NetworkManager fails to find ipw2200 again

2007-05-25 Thread Kay Sievers
On Fri, 2007-05-25 at 16:12 -0700, Greg KH wrote: > On Fri, May 25, 2007 at 06:01:09PM -0500, Matt Mackall wrote: > > Bisect sequence went 56+ 84+ 98+ 105- 102- 100+ 101+. Looks like 102's > > to blame: > > > > driver-core-check-return-code-of-sysfs_create_link.patch > > > > From: Cornelia Huck

Re: udev regression? lsusb silent (no output) since 2.6.22-rc2 at least

2007-05-26 Thread Kay Sievers
On Sat, 2007-05-26 at 22:18 +0200, bert hubert wrote: > Today I booted 2.6.22-rc2 on Ubunty Edgy Eft, and lsusb died on me: > > [EMAIL PROTECTED]:~$ lsusb > [EMAIL PROTECTED]:~$ sudo lsusb > [EMAIL PROTECTED]:~$ > > This behaviour persists in rc4. This might be udev related. I'm running: > ii u

Re: udev regression? lsusb silent (no output) since 2.6.22-rc2 at least

2007-05-27 Thread Kay Sievers
On Sun, 2007-05-27 at 11:25 +0200, bert hubert wrote: > On Sun, May 27, 2007 at 04:42:35AM +0200, Kay Sievers wrote: > > > Any clues? Please let me know how I can help solve this problem! > > > > It works fine for me here. Do you have CONFIG_USB_DEVICE_CLASS=y set? >

Re: udev regression? lsusb silent (no output) since 2.6.22-rc2 at least

2007-05-27 Thread Kay Sievers
On Sun, 2007-05-27 at 16:20 +0200, bert hubert wrote: > > the separate class device. How does that help text sound? > > > > This option provides backward compatibility for systems where > > usbfs is not mounted, and no udev rule like this exists: > > SUBSYSTEM=="usb", ACTION=="add", ENV{DE

USB: set default y for CONFIG_USB_DEVICE_CLASS

2007-05-27 Thread Kay Sievers
From: Kay Sievers <[EMAIL PROTECTED]> Subject: USB: set default y for CONFIG_USB_DEVICE_CLASS Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> --- diff --git a/drivers/usb/core/Kconfig b/drivers/usb/core/Kconfig index f493fb1..346fc03 100644 --- a/drivers/usb/core/Kconfig +++ b/driv

Re: USB: set default y for CONFIG_USB_DEVICE_CLASS

2007-05-27 Thread Kay Sievers
On Sun, 2007-05-27 at 18:10 +0200, Jesper Juhl wrote: > On 27/05/07, Kay Sievers <[EMAIL PROTECTED]> wrote: > > From: Kay Sievers <[EMAIL PROTECTED]> > > Subject: USB: set default y for CONFIG_USB_DEVICE_CLASS > > > > Signed-off-by: Kay Sievers <[EMAI

Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware before hibernation/suspend

2007-05-27 Thread Kay Sievers
On 5/27/07, Matthew Garrett <[EMAIL PROTECTED]> wrote: On Sun, May 27, 2007 at 10:31:53PM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki <[EMAIL PROTECTED]> > > Use a hibernation and suspend notifier to disable the firmware requesting > mechanism before a hibernation/suspend and enable

Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware before hibernation/suspend

2007-05-27 Thread Kay Sievers
On Sun, 2007-05-27 at 23:04 +0100, Matthew Garrett wrote: > On Sun, May 27, 2007 at 11:49:30PM +0200, Kay Sievers wrote: > > > What exactly is the problem we see here? The timeout of the firmware loader? > > What goes wrong with frozen userspace, usually there is only a netlin

Re: 2.6.22-rc2-mm1

2007-05-27 Thread Kay Sievers
On 5/28/07, Tilman Schmidt <[EMAIL PROTECTED]> wrote: Am 26.05.2007 18:01 schrieb Andrew Morton: > On Sat, 26 May 2007 17:59:15 +0200 Tilman Schmidt <[EMAIL PROTECTED]> wrote: >> This breaks network initialization on my SuSE 10.0 box [...] > > Thanks. I think others have seen similar things and

Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware before hibernation/suspend

2007-05-28 Thread Kay Sievers
On Mon, 2007-05-28 at 09:48 +0100, Michael-Luke Jones wrote: > On 28 May 2007, at 08:43, Rafael J. Wysocki wrote: > > >> Seems, that's just the broken synchronous firmware loading interface > >> with the useless timeout handling. The nowait version of the same > >> loader > >> doesn't time out,

Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware before hibernation/suspend

2007-05-28 Thread Kay Sievers
On Mon, 2007-05-28 at 13:15 +0200, Pavel Machek wrote: > Hi! > > > > > > What exactly is the problem we see here? The timeout of the firmware > > > > > loader? > > > > > What goes wrong with frozen userspace, usually there is only a netlink > > > > > message sent from the kernel, which should be

Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware before hibernation/suspend

2007-05-28 Thread Kay Sievers
On Mon, 2007-05-28 at 12:38 +0100, Michael-Luke Jones wrote: > On 28 May 2007, at 12:24, Kay Sievers wrote: > > > A driver for a bootup-critical device like this should just never > > release the firmware after the first load. There is absolutely no > > point >

Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware before hibernation/suspend

2007-05-28 Thread Kay Sievers
On Mon, 2007-05-28 at 11:26 +0100, Michael-Luke Jones wrote: > On 28 May 2007, at 10:06, Kay Sievers wrote: > > > The underlying issue are the driver authors, that's not so easy to > > fix. :) > > Sorry, I know this maybe be unintentional, but comments like this

Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware before hibernation/suspend

2007-05-28 Thread Kay Sievers
On Mon, 2007-05-28 at 13:26 +0100, Michael-Luke Jones wrote: > On 28 May 2007, at 12:51, Kay Sievers wrote: > > > Either the whole idea of userspace firmware-loading should be > > considered > > as a problem impossible to do right because of its unsolvable side

Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable review

2007-05-28 Thread Kay Sievers
On 5/25/07, Linus Torvalds <[EMAIL PROTECTED]> wrote: On Fri, 25 May 2007, Pavel Machek wrote: > > 2) we need to preload firmware during _suspend_. I AM TELLING THAT TO > PEOPLE FOR FIVE YEARS NOW. And people aren't listening. Have you thought about _why_? The thing is, it should just work. Eve

Re: 2.6.22-rc2-mm1

2007-05-29 Thread Kay Sievers
On Mon, 2007-05-28 at 19:22 +0200, Cornelia Huck wrote: > On Mon, 28 May 2007 00:41:19 +0200, > "Kay Sievers" <[EMAIL PROTECTED]> wrote: > > > Cornelia, > > in the patch is: > > + if (dev->kobj.parent == &dev->class->subsys.kobj) > &g

Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable review

2007-05-29 Thread Kay Sievers
On Tue, 2007-05-29 at 13:00 +0100, Michael-Luke Jones wrote: > Rafael J. Wysocki wrote: > > On Tuesday, 29 May 2007 08:55, Kay Sievers wrote: > >> The shiny userspace firmware loading causes problems since it exists, > >> every second box has problems with it, in

Re: udev-095 problem with gregkh-all-2.6.22-rc3

2007-06-01 Thread Kay Sievers
On Fri, 2007-06-01 at 10:51 -0400, Alan Stern wrote: > Greg and Kay: > > When I boot 2.6.22-rc3 plus gregkh-all-2.6.22-rc3.patch, with an FC6 > system (which includes a no-doubt somewhat altered version of udev > 095), I get the follow message: > > [ 32.898870] kernel BUG at block/ll_rw_blk.c:3

Re: udev-095 problem with gregkh-all-2.6.22-rc3

2007-06-01 Thread Kay Sievers
On Fri, 2007-06-01 at 12:52 -0400, Alan Stern wrote: > On Fri, 1 Jun 2007, Kay Sievers wrote: > > > On Fri, 2007-06-01 at 10:51 -0400, Alan Stern wrote: > > > Greg and Kay: > > > > > > When I boot 2.6.22-rc3 plus gregkh-all-2.6.22-rc3.patch, with an FC6

Re: Documentation for sysfs, hotplug, and firmware loading.

2007-07-18 Thread Kay Sievers
ually, you know, > _work_. > > (P.S. I'd cc Kay Sievers on this, but he's still spam-blocking my email. > Thanks to Kay for answer lots of questions about this at OLS, and to Fank > Sorenson who wrote a netlink implementation of mdev back in 2005 that I dug > up to fi

Re: Documentation for sysfs, hotplug, and firmware loading.

2007-07-18 Thread Kay Sievers
On 7/18/07, Rob Landley <[EMAIL PROTECTED]> wrote: > > /sys/block/*/dev > > /sys/block/*/*/dev > > Note that this will change to /sys/class/block/ in the future. At OLS, Kay Sievers said in a future version they were going to move it to "/sys/subsystem/block"

Re: sysfs root link count broken in 2.6.22-git5

2007-07-18 Thread Kay Sievers
On 7/18/07, Jean Delvare <[EMAIL PROTECTED]> wrote: On Tue, 17 Jul 2007 20:38:28 -0700, Greg KH wrote: > On Tue, Jul 17, 2007 at 11:05:30PM +0200, Jean Delvare wrote: > > This breaks libsensors. libsensors uses libsysfs, and libsysfs is not > > very smart in that it will initialize successfully e

Re: [PATCH] driver-core: don't free devt_attr till the device is released

2007-05-10 Thread Kay Sievers
On 5/10/07, Tejun Heo <[EMAIL PROTECTED]> wrote: Currently, devt_attr for the "dev" file is freed immediately on device removal, but if the "dev" sysfs file is open when a device is removed, sysfs will access its attribute structure for further access including close resulting in jumping to garbl

Re: Kernel 2.6.22-rc3 breaks USB: Unable to get HID descriptor (error sending control message: Operation not permitted)

2007-06-03 Thread Kay Sievers
On 6/3/07, Justin Piszcz <[EMAIL PROTECTED]> wrote: On Sun, 3 Jun 2007, Jiri Kosina wrote: > On Sun, 3 Jun 2007, Justin Piszcz wrote: > >>> Thanks. Does by any chance reverting the commit >>> 9f8b17e643fe6aa505629658445849397bda4e4f improve the situation? >> I have not played around with git/etc

Re: Kernel 2.6.22-rc3 breaks USB: Unable to get HID descriptor (error sending control message: Operation not permitted)

2007-06-03 Thread Kay Sievers
On Sun, 2007-06-03 at 08:40 -0400, Justin Piszcz wrote: > On Sun, 3 Jun 2007, Kay Sievers wrote: > > > On 6/3/07, Justin Piszcz <[EMAIL PROTECTED]> wrote: > >> On Sun, 3 Jun 2007, Jiri Kosina wrote: > >> > >> > On Sun, 3 Jun 2007, Justin Piszcz w

Re: 2.6.22-rc4-mm1

2007-06-06 Thread Kay Sievers
On Wed, 2007-06-06 at 20:48 +0200, Michal Piotrowski wrote: > Andrew Morton pisze: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc4/2.6.22-rc4-mm1/ > > > > Kay, your patch gregkh-driver-block-device.patch breaks Fedora 7 initrd > http://www.stardust.webpages.pl/files/t

Re: 2.6.22-rc4-mm1

2007-06-07 Thread Kay Sievers
On Thu, 2007-06-07 at 10:40 +0200, Michal Piotrowski wrote: > Kay Sievers pisze: > > On Wed, 2007-06-06 at 20:48 +0200, Michal Piotrowski wrote: > >> Andrew Morton pisze: > >>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc4/2.6.22-rc4-m

Re: 2.6.22-rc4-mm1

2007-06-07 Thread Kay Sievers
On Thu, 2007-06-07 at 11:41 +0200, Michal Piotrowski wrote: > Kay Sievers pisze: > > On Thu, 2007-06-07 at 10:40 +0200, Michal Piotrowski wrote: > >> Kay Sievers pisze: > >>> On Wed, 2007-06-06 at 20:48 +0200, Michal Piotrowski wrote: > >>>> Andrew M

Re: 2.6.22-rc4-mm1

2007-06-08 Thread Kay Sievers
On Fri, 2007-06-08 at 11:33 -0400, [EMAIL PROTECTED] wrote: > On Thu, 07 Jun 2007 16:09:04 PDT, Greg KH said: > > If CONFIG_SYSFS_DEPRECATED everything should work just fine with all old > > initrd scripts. It's only if you enable that option (which is enabled > > by default) that you need to ensu

Re: 2.6.22-rc4-mm1

2007-06-08 Thread Kay Sievers
On Fri, 2007-06-08 at 08:51 -0700, Greg KH wrote: > On Fri, Jun 08, 2007 at 12:31:18AM -0700, Andrew Morton wrote: > > On Thu, 7 Jun 2007 09:15:25 -0700 Greg KH <[EMAIL PROTECTED]> wrote: > > > > > On Thu, Jun 07, 2007 at 09:06:32AM -0700, Andrew Morton wrote: > > > > On Thu, 7 Jun 2007 08:59:53 -

Re: Rules on how to use sysfs in userspace programs

2007-06-09 Thread Kay Sievers
On 6/9/07, Alexander E. Patrakov <[EMAIL PROTECTED]> wrote: Greg KH wrote: > - Do not use libsysfs > It makes assumptions about sysfs which are not true. Its API does not > offer any abstraction, it exposes all the kernel driver-core > implementation details in its own API. Therefore it is

Re: [patch] Move led attributes out of device name and into sysfs attributes, was Re: LED devices

2007-06-28 Thread Kay Sievers
On Tue, 2007-06-26 at 11:46 +0100, Richard Hughes wrote: > On Tue, 2007-06-26 at 11:02 +0100, Richard Purdie wrote: > > There were some other opinions voiced including one from the person > > who started this discussion. > > > > So no, the people who write the tools that parse sysfs (like HAL.) >

Re: USB card reader and HAL

2007-06-28 Thread Kay Sievers
On 6/28/07, DervishD <[EMAIL PROTECTED]> wrote: I have a new card reader (internal) but I've tested with my old one too: the same happens. I have a do-it-yourself linux box, self compiled kernel 2.6.19.5 (by now). When I insert a card in the reader, it is not detected, no udev event is g

Re: md device files missing at boot time

2007-07-04 Thread Kay Sievers
On 7/4/07, Ingo Freund <[EMAIL PROTECTED]> wrote: one of the systems I'm working with was changed (copied) from single (scsi - sda1) to multiple disk (raid1) (sdb1,sdc1 --> md0). When I try to boot from the new created md-device it stops with: ... loading reiserfs "Waiting for device /dev/md0 to

Re: bug in 2.6.22-rc2: loop mount limited to one single iso image

2007-05-20 Thread Kay Sievers
On 5/20/07, Ray Lee <[EMAIL PROTECTED]> wrote: On 5/19/07, Al Viro <[EMAIL PROTECTED]> wrote: > On Sat, May 19, 2007 at 11:16:59PM -0700, Ray Lee wrote: > > Ken? Ball's in your court. As the patch isn't providing a killer > > feature for 2.6.22, I'd suggest just reverting it for now until the > >

Re: bug in 2.6.22-rc2: loop mount limited to one single iso image

2007-05-20 Thread Kay Sievers
On Sun, 2007-05-20 at 09:10 -0700, Ray Lee wrote: > On 5/20/07, Kay Sievers <[EMAIL PROTECTED]> wrote: > > On 5/20/07, Ray Lee <[EMAIL PROTECTED]> wrote: > > > On 5/19/07, Al Viro <[EMAIL PROTECTED]> wrote: > > > > On Sat, May 19, 2007 at 11:16:59P

Re: bug in 2.6.22-rc2: loop mount limited to one single iso image

2007-05-21 Thread Kay Sievers
On Mon, 2007-05-21 at 18:50 +0200, Uwe Bugla wrote: > Am Montag, 21. Mai 2007 18:37 schrieben Sie: > > On 5/21/07, Ken Chen <[EMAIL PROTECTED]> wrote: > > > yes and no. in that commit, I automatically create n+1 device when > > > loop device n is created, allergically was tested to be fine with > >

Re: Race free attributes in sysfs

2007-05-21 Thread Kay Sievers
On 5/20/07, Pierre Ossman <[EMAIL PROTECTED]> wrote: I'm reworking the sysfs stuff in the MMC layer to be a bit more flexible, but there is one thing that has me baffled; how do you add attributes to an object in a race free manner when you have a dynamic set of attributes. I've looked at other

Re: Race free attributes in sysfs

2007-05-21 Thread Kay Sievers
On Mon, 2007-05-21 at 20:43 +0200, Pierre Ossman wrote: > Kay Sievers wrote: > > > > Do you have a fixed set of attribute names, where you just want to > > create a subset from that matches the individual device, or do you > > need some sort of free naming for the attr

Re: class_device_create() and the mode of the device file in /dev.

2007-05-22 Thread Kay Sievers
On 5/23/07, Y Khan <[EMAIL PROTECTED]> wrote: I am porting a driver from 2.4 to 2.6. I have replaced the call devfs_register() with class_create() and class_device_create(). Now, udev is automatically creating the device file in /dev. Please use device_create(), class_device_* will go away in t

Re: [RFC PATCH] /sys/block -> /sys/class/block (Fedora 3 & 4 testers wanted)

2007-05-24 Thread Kay Sievers
On Thu, 2007-05-24 at 00:35 +0400, Michael Tokarev wrote: > Greg KH wrote: > [] > > From: Kay Sievers <[EMAIL PROTECTED]> > > Subject: Driver core: convert block from raw kobjects to core devices > > > > This moves the block devices to /sys/class/block. It will

Re: 2.6.22-rc2-mm1: NetworkManager fails to find ipw2200 again

2007-05-25 Thread Kay Sievers
On 5/25/07, Greg KH <[EMAIL PROTECTED]> wrote: On Fri, May 25, 2007 at 11:36:22AM -0500, Matt Mackall wrote: > 2.6.22-rc2 works. CONFIG_SYSFS_DEPRECATED = y, though that shouldn't > matter. Bringing up the interface manually still works, so I suspect > this is sysfs or HAL related again. Again, D

Re: [PATCH] Use attribute groups in struct device_type

2007-03-10 Thread Kay Sievers
On 3/10/07, Greg KH <[EMAIL PROTECTED]> wrote: On Sat, Mar 10, 2007 at 02:12:04AM -0500, Dmitry Torokhov wrote: > On Saturday 10 March 2007 01:55, Greg KH wrote: > > On Fri, Mar 09, 2007 at 10:54:43PM -0800, Greg KH wrote: > > > On Sat, Mar 10, 2007 at 01:37:34AM -0500, Dmitry Torokhov wrote: > >

Re: [PATCH] Remove "decl_subsys_name" macro and single usage of it.

2007-03-15 Thread Kay Sievers
On 3/1/07, Robert P. J. Day <[EMAIL PROTECTED]> wrote: Remove the macro "decl_subsys_name" which can be used to declare a sysfs subsystem, along with the single invocation of it in the source tree, since there appears to be little value in creating a subsystem whose subsystem name differs from

Re: [PATCH] Remove "decl_subsys_name" macro and single usage of it.

2007-03-15 Thread Kay Sievers
On Thu, 2007-03-15 at 08:52 -0400, Robert P. J. Day wrote: > On Thu, 15 Mar 2007, Kay Sievers wrote: > > > On 3/1/07, Robert P. J. Day <[EMAIL PROTECTED]> wrote: > > > > > > Remove the macro "decl_subsys_name" which can be used to declare

Re: random bug generator (was: 2.6.21-git4 Scheduler, NOHZ, VFS bugs)

2007-05-05 Thread Kay Sievers
40626] printing eip: > >> > [93450.34] c018e2bc > >> > [93450.345520] *pde = > >> > [93450.348314] Oops: [#1] > >> > >> Nice. What was the last file which it read before crashing? > >> > >> Are you able to

Re: 2.6.21-rc3-mm2

2007-03-19 Thread Kay Sievers
On Mon, 2007-03-19 at 12:55 -0700, Andrew Morton wrote: > On Mon, 19 Mar 2007 12:17:24 -0700 > Randy Dunlap <[EMAIL PROTECTED]> wrote: > > > On Wed, 7 Mar 2007 20:19:15 -0800 Andrew Morton wrote: > > > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-

Re: new sysfs layout and ethernet device names

2007-03-22 Thread Kay Sievers
On 3/20/07, Bill Nottingham <[EMAIL PROTECTED]> wrote: I was fiddling with the 'new' (no CONFIG_SYSFS_DEPRECATED) layout and ethernet device names, and noticed that the new layout effectively restricts the availability of certain device names. By making a directory for the ethernet device name i

Re: 2.6.21-rc4-mm1

2007-03-27 Thread Kay Sievers
On 3/26/07, Eric Rannaud <[EMAIL PROTECTED]> wrote: On Mon, Mar 26, 2007 at 01:22:32AM -0800, Andrew Morton wrote: > On Mon, 26 Mar 2007 11:09:49 +0200 Cornelia Huck <[EMAIL PROTECTED]> wrote: > > > If so, do you think I should labour on with > > > uevent-improve-error-checking-and-handling.patch

Re: [bug] hung bootup in various drivers, was: "2.6.21-rc5: known regressions"

2007-03-30 Thread Kay Sievers
On Fri, 2007-03-30 at 12:32 -0700, Greg KH wrote: > On Fri, Mar 30, 2007 at 07:46:19PM +0200, Ingo Molnar wrote: > > > > * Greg KH <[EMAIL PROTECTED]> wrote: > > > > > > BUG: at drivers/base/driver.c:187 driver_unregister() > > > > [] show_trace_log_lvl+0x19/0x2e > > > > [] show_trace+0x12/0

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-05-02 Thread Kay Sievers
On 5/2/07, Greg KH <[EMAIL PROTECTED]> wrote: On Wed, May 02, 2007 at 12:10:00AM -0700, Andrew Morton wrote: > On Wed, 02 May 2007 09:01:22 +0200 Tilman Schmidt <[EMAIL PROTECTED]> wrote: > > > Am 30.04.2007 21:46 schrieb Andrew Morton: > > > Not really - everything's tangled up. A bisection sea

Re: udev: Inconsistency between %b and %p?

2007-09-06 Thread Kay Sievers
On 9/6/07, Manuel Reimer <[EMAIL PROTECTED]> wrote: > Andreas Schwab wrote: > >> As I would prefer to use the USB device information (idVendor, idProduct) > >> to detect the device, I also tried this one: > >> > >> ATTRS{idVendor}=="0dda", ATTRS{idProduct}=="2005", SUBSYSTEM=="scsi", > >> ACTION=="

Re: sysfs change of input/event devices in 2.6.23rc breaks udev

2007-09-09 Thread Kay Sievers
On 9/8/07, Anssi Hannula <[EMAIL PROTECTED]> wrote: > There seem to be changes in sysfs input structure between 2.6.22 and > 2.6.23-rc5 which cause some breakage. > > With 2.6.22: > > > # LC_ALL=C ls -l /sys/class/input/input4 > > total 0 > > drwxr-xr-x 2 root root0 Sep 8 12:51 capabilities/ >

Re: iso9660 vs udf

2007-09-19 Thread Kay Sievers
On 9/19/07, Andries E. Brouwer <[EMAIL PROTECTED]> wrote: > On Wed, Sep 19, 2007 at 08:05:32AM +0530, Satyam Sharma wrote: > > > I was actually asking for the logs explaining why you thought > > the _kernel_ incorrectly "announced" it as an UDF filesystem. > > No, the CDROM announces itself as an U

Re: 2.6.23-rc6-mm1

2007-09-20 Thread Kay Sievers
On 9/20/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > On Wed, 19 Sep 2007 21:43:14 -0700 David Brownell <[EMAIL PROTECTED]> wrote: > > > On Wednesday 19 September 2007, Andrew Morton wrote: > > > On Wed, 19 Sep 2007 16:44:48 -0700 > > > David Brownell <[EMAIL PROTECTED]> wrote: > > > > > > > > > <

Re: [PATCH] rtc: Make rtc-ds1742 driver hotplug-aware

2007-08-17 Thread Kay Sievers
On Fri, 2007-08-17 at 12:50 -0700, David Brownell wrote: > On Friday 17 August 2007, Kay Sievers wrote: > > On Fri, 2007-08-17 at 09:55 -0700, David Brownell wrote: > > > > > > If so, then whoever tried to change the usage of module aliases > > > in that wa

Re: [PATCH] rtc: Make rtc-ds1742 driver hotplug-aware

2007-08-18 Thread Kay Sievers
On Fri, 2007-08-17 at 21:06 -0700, David Brownell wrote: > On Friday 17 August 2007, Kay Sievers wrote: > > > > > I'm not the one who's advocating a change here. If you want to > > > first change/break and then fix things, all of that is up to you. &g

Re: [PATCH] rtc: Make rtc-ds1742 driver hotplug-aware

2007-08-19 Thread Kay Sievers
On Sun, 2007-08-19 at 21:57 +0900, Atsushi Nemoto wrote: > On Fri, 17 Aug 2007 18:32:19 +0200, "Kay Sievers" <[EMAIL PROTECTED]> wrote: > > > I guess there are some out-of-tree users of this driver, but fixing > > > them is really trivial, so I don't think

Re: legacy platform drivers and hotplugging

2007-08-20 Thread Kay Sievers
c-ds1742, which has > never been a platform device and thus is offtopic to your > specific complaints about platform bus hotplugging. > > > On Saturday 18 August 2007, Kay Sievers wrote: > > On Fri, 2007-08-17 at 21:06 -0700, David Brownell wrote: > > > On Fr

Re: usb & udev

2007-08-20 Thread Kay Sievers
On 8/20/07, Alemao <[EMAIL PROTECTED]> wrote: > When I plug my board with the FT232R chip from FTDI (USB to serial) a > module named usbserial.ko and ftdi_sio.ko is inserted automatically. > > I saw in udev rules that this is the line responsible for doing that: > > # Load drivers that match kernel

Re: [linux-usb-devel] why was MODALIAS removed from usb kernel events? [u]

2007-08-21 Thread Kay Sievers
with the /proc mount path, which doesn't exist when the /proc device node support is not compiled in, so nothing should depend on the existence of DEVICE. Most of the recent distros don't mount or configure usbfs anymore, but use /dev/bus/usb/ device nodes, which can handle access control list

Re: [linux-usb-devel] why was MODALIAS removed from usb kernel events? [u]

2007-08-21 Thread Kay Sievers
On Tue, 2007-08-21 at 14:21 +0200, Andreas Jellinghaus [c] wrote: > Am Dienstag, 21. August 2007 schrieb Kay Sievers: > > The subject says MODALIAS was removed, but I don't think that it ever > > was there for a usb-device event. And sure, it's still there for

Re: [BUG] 2.6.23-rc3-mm1 - kernel BUG at net/core/skbuff.c:95!

2007-08-22 Thread Kay Sievers
On Wed, 2007-08-22 at 08:50 -0700, Andrew Morton wrote: > On Wed, 22 Aug 2007 18:32:36 +0530 Kamalesh Babulal <[EMAIL PROTECTED]> wrote: > > > Hi Andrew, > > > > Following Kernel Bug was raised when i tried compiling and booting ppc64 > > machine > > with 2.6.23-rc3-mm1 kernel. > > > >

Re: [BUG] 2.6.23-rc3-mm1 - kernel BUG at net/core/skbuff.c:95!

2007-08-22 Thread Kay Sievers
On Thu, 2007-08-23 at 00:34 +0530, Balbir Singh wrote: > Kay Sievers wrote: > >> gargh, sorry, that's probably due to my screwed up attempt to fix Kay's > >> screwed up > >> gregkh-driver-driver-core-change-add_uevent_var-to-use-a-struct.patch. > >

Re: [patch 09/14] Convert from class_device to device for SPI

2007-08-23 Thread Kay Sievers
On Thu, 2007-08-23 at 14:03 -0700, David Brownell wrote: > On Tuesday 21 August 2007, Tony Jones wrote: > > I believe this is the necessary documentation changes. > > Thanks. I have an update, plus updates for the mmc_spi > driver (now in MM) which you didn't update. > > By the way, it's worth n

Re: isapnp & module autoload (udev?)

2007-08-24 Thread Kay Sievers
On 8/24/07, Meelis Roos <[EMAIL PROTECTED]> wrote: > I tested 2.6.23-rc3 along with Debian unstable on a older pentium2-era > PC that has a ISA bus sound card that isapnp finds. snd-sb finds it too > using isapnp. However, there seems to be no module autoloading > happening. > > So, the question is

Re: isapnp & module autoload (udev?)

2007-08-24 Thread Kay Sievers
On 8/24/07, Meelis Roos <[EMAIL PROTECTED]> wrote: > > What's in the module? What does: > > /sbin/modinfo | grep alias > > print? > > filename: /lib/modules/2.6.23-rc3/kernel/sound/isa/sb/snd-sb16.ko > description:Sound Blaster 16 ... > alias: pnp:cCTL0070dCTL0001* > alias:

Re: kernel BUG with 2.6.23-rc3-mm1: skb_over_panic

2007-08-24 Thread Kay Sievers
On Fri, 2007-08-24 at 17:46 -0700, Greg KH wrote: > On Fri, Aug 24, 2007 at 05:44:50PM -0700, Andrew Morton wrote: > > On Fri, 24 Aug 2007 20:16:38 -0400 > > Mathieu Desnoyers <[EMAIL PROTECTED]> wrote: > > > * Andrew Morton ([EMAIL PROTECTED]) wrote: > > > > On Fri, 24 Aug 2007 18:47:07 -0400 > >

Re: kernel BUG with 2.6.23-rc3-mm1: skb_over_panic

2007-08-24 Thread Kay Sievers
On Fri, 2007-08-24 at 23:02 -0400, Mathieu Desnoyers wrote: > * Greg KH ([EMAIL PROTECTED]) wrote: > > On Fri, Aug 24, 2007 at 05:44:50PM -0700, Andrew Morton wrote: > > > On Fri, 24 Aug 2007 20:16:38 -0400 > > > Mathieu Desnoyers <[EMAIL PROTECTED]> wrote: > > > > > > > * Andrew Morton ([EMAIL PR

Re: [patch 09/14] Convert from class_device to device for SPI

2007-08-26 Thread Kay Sievers
On Sun, 2007-08-26 at 12:54 -0700, David Brownell wrote: > On Thursday 23 August 2007, Kay Sievers wrote: > > On Thu, 2007-08-23 at 14:03 -0700, David Brownell wrote: > > > On Tuesday 21 August 2007, Tony Jones wrote: > > > > I believe this is the n

Re: Configuring previously loaded module

2007-08-26 Thread Kay Sievers
On 8/27/07, Thiago Ramos dos Santos <[EMAIL PROTECTED]> wrote: > I have 2 devices which use the usbserial module: a CDMA modem and a > Palm PDA (to be more especific, the PDA uses the visor module, which > uses the usbserial). > When I plug the PDA to the computer, the visor module gets > automatic

Re: [PATCH] printk: Export struct log size and member offsets through vmcoreinfo

2012-07-18 Thread Kay Sievers
On Wed, Jul 18, 2012 at 7:18 PM, Vivek Goyal wrote: > Currently I am not exporting log "level" info as that is a bitfield and > offsetof() bitfields can't be calculated. We could make the level the lower 3 bits of the byte, export the byte, and define that only 3 bits of the byte are valid? Woul

Re: [PATCH] printk: Export struct log size and member offsets through vmcoreinfo

2012-07-19 Thread Kay Sievers
On Wed, Jul 18, 2012 at 7:56 PM, Vivek Goyal wrote: > On Wed, Jul 18, 2012 at 07:27:08PM +0200, Kay Sievers wrote: >> On Wed, Jul 18, 2012 at 7:18 PM, Vivek Goyal wrote: >> >> > Currently I am not exporting log "level" info as that is a bitfield and >> &g

Re: [PATCH] printk: Export struct log size and member offsets through vmcoreinfo

2012-07-20 Thread Kay Sievers
On Thu, Jul 19, 2012 at 4:08 PM, Vivek Goyal wrote: > On Thu, Jul 19, 2012 at 09:57:36AM -0400, Vivek Goyal wrote: >> On Thu, Jul 19, 2012 at 11:38:57AM +0200, Kay Sievers wrote: >> > If we would swap the 5 + 3 bit field byte declaration, and add >> > __packed, we can

Re: [PATCH] modules: CONFIG_MODULE_COMPRESS: add hint that userspace support may easily be missing.

2015-06-03 Thread Kay Sievers
On Wed, Jun 3, 2015 at 7:30 PM, Lucas De Marchi wrote: > On Mon, Jun 1, 2015 at 3:26 AM, Rusty Russell wrote: >> Andreas Mohr writes: >>> Hi, >>> >>> I just had a not so nice experience >>> when finally upgrading to a new 4.1-rc5 >>> with CONFIG_MODULE_COMPRESS newly enabled - >>> userspace bina

Re: [PATCH] ksm: Expose configuration via sysctl

2014-02-25 Thread Kay Sievers
On Wed, Feb 26, 2014 at 12:16 AM, Alexander Graf wrote: > > >>> Am 26.02.2014 um 01:19 schrieb Peter Zijlstra : >>> On Tue, Feb 25, 2014 at 12:15:28PM -0500, Johannes Weiner wrote: On Tue, Feb 25, 2014 at 12:28:04AM +0100, Alexander Graf wrote: Configuration of tunables and Linux vi

Re: [PATCH] ksm: Expose configuration via sysctl

2014-02-25 Thread Kay Sievers
On Tue, Feb 25, 2014 at 6:34 PM, Dave Hansen wrote: > On 02/24/2014 03:28 PM, Alexander Graf wrote: >> Configuration of tunables and Linux virtual memory settings has traditionally >> happened via sysctl. Thanks to that there are well established ways to make >> sysctl configuration bits persisten

<    1   2   3   4   5   >