* Re: PCI hotplug/udev problem
2005-01-14 8:48 PCI hotplug/udev problem Jan Zwiegers
@ 2005-01-14 9:00 ` Kay Sievers
2005-01-14 9:17 ` Kay Sievers
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Kay Sievers @ 2005-01-14 9:00 UTC (permalink / raw)
To: linux-hotplug
On Fri, 2005-01-14 at 10:48 +0200, Jan Zwiegers wrote:
> Hi All
>
> I'm running FC3 and is busy updating PCI drivers (with all the latest
> PCI API goodies) to utilize the new udev system.
>
> udevinfo tells me the following:
>
> looking at class device
> '/sys/class/pci_bus/0000:02/bridge/0000:02:02.0':
> SYSFS{class}="0x110000"
> SYSFS{detach_state}="0"
> SYSFS{dev}="254:0"
> SYSFS{device}="0x0041"
> SYSFS{drivername}="pci76xdrv0"
> SYSFS{irq}="9"
> SYSFS{serial}="1000000063"
> SYSFS{subsystem_device}="0x0000"
> SYSFS{subsystem_vendor}="0x0000"
> SYSFS{vendor}="0xea01"
>
> I have the following rule:
>
> SYSFS{drivername}="pci76xdrv0", NAME="pci76xdrv0"
>
> in
>
> /etc/udev/rules.d/50-udev.rules
>
> The problem is udev does not create my new node.
What kind of device do you expect under the pci_bus class, normally
there are no nodes to create for?
Kay
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: PCI hotplug/udev problem
2005-01-14 8:48 PCI hotplug/udev problem Jan Zwiegers
2005-01-14 9:00 ` Kay Sievers
@ 2005-01-14 9:17 ` Kay Sievers
2005-01-17 10:40 ` Kay Sievers
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Kay Sievers @ 2005-01-14 9:17 UTC (permalink / raw)
To: linux-hotplug
On Fri, 2005-01-14 at 11:14 +0200, Jan Zwiegers wrote:
> Hi Kay
>
> We develop data acquisition devices (in this case PCI) and use our own
> driver libraries etc, so it does not relate to standard devices.
> We have many drivers (for each series) and I need to create nodes as
> the devices are attached/installed.
> I have developed the driver as suggested by the PCI.txt file under the
> kernel docs, and added the dev (major:minor) sysfs file, which if I
> understand correct udev needs for the node creation.
Ah ok, what does
tree /sys/class/pci_bus/
print?
We skip this class of devices. You need to recompile udev.
--- 1.20/udev_sysfs.c 2004-12-12 00:34:45 +01:00
+++ edited/udev_sysfs.c 2005-01-14 10:12:35 +01:00
@@ -48,7 +48,7 @@
{ .subsystem = "bluetooth", .file = "address" },
{ .subsystem = "firmware", .file = "data" },
{ .subsystem = "i2c-adapter", .file = NULL },
- { .subsystem = "pci_bus", .file = NULL },
+ //{ .subsystem = "pci_bus", .file = NULL },
{ .subsystem = "ieee1394", .file = NULL },
{ .subsystem = "ieee1394_host", .file = NULL },
{ .subsystem = "ieee1394_node", .file = NULL },
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: PCI hotplug/udev problem
2005-01-14 8:48 PCI hotplug/udev problem Jan Zwiegers
2005-01-14 9:00 ` Kay Sievers
2005-01-14 9:17 ` Kay Sievers
@ 2005-01-17 10:40 ` Kay Sievers
2005-01-17 11:38 ` Jan Zwiegers
2005-01-18 17:12 ` Kay Sievers
4 siblings, 0 replies; 6+ messages in thread
From: Kay Sievers @ 2005-01-17 10:40 UTC (permalink / raw)
To: linux-hotplug
On Mon, 2005-01-17 at 11:31 +0200, Jan Zwiegers wrote:
> Hi Kay
>
> Just a quick question, maybe you know the answer off-hand.
> If I reboot my machine and then load my driver the device nodes are
> not created.
> However the /sys/class/edredaq directory appear correctly.
>
> If I then run udevstart the nodes gets created.
> Do you maybe have any ideas?
Please place the following executable script as:
/etc/hotplug.d/default/00-log.hotplug
========
#!/bin/sh
echo -e "--------$SEQNUM--------\n"\
`date +%s` $ACTION $DEVPATH"\n"\
`env`\
"\n--------$SEQNUM--------\n" >> /dev/.hotplug_d.log
========
remove and load your module and look at/post the logfile.
How does:
tree /sys/class/edredaq
look like?
Kay
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: PCI hotplug/udev problem
2005-01-14 8:48 PCI hotplug/udev problem Jan Zwiegers
` (2 preceding siblings ...)
2005-01-17 10:40 ` Kay Sievers
@ 2005-01-17 11:38 ` Jan Zwiegers
2005-01-18 17:12 ` Kay Sievers
4 siblings, 0 replies; 6+ messages in thread
From: Jan Zwiegers @ 2005-01-17 11:38 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1.1: Type: text/plain, Size: 1239 bytes --]
Hi Kay
I have also added a script /etc/hotplug.d/edredaq.hotplug and I have
attached the log for that as well.
This script does not get executed at boot time, but when I run
/sbin/udevstart again it runs fine.
I have attached two logs for you. The one is just after boot and the
other after I have run /sbin/udevstart (.old file).
In the boot log (.hotplug_d.log.old) you can see it never saw my
directory edredaq.
Thanks
Jan
Kay Sievers wrote:
>On Mon, 2005-01-17 at 11:31 +0200, Jan Zwiegers wrote:
>
>
>>Hi Kay
>>
>>Just a quick question, maybe you know the answer off-hand.
>>If I reboot my machine and then load my driver the device nodes are
>>not created.
>>However the /sys/class/edredaq directory appear correctly.
>>
>>If I then run udevstart the nodes gets created.
>>Do you maybe have any ideas?
>>
>>
>
>Please place the following executable script as:
> /etc/hotplug.d/default/00-log.hotplug
>
>================
>#!/bin/sh
>
>echo -e "--------$SEQNUM--------\n"\
>`date +%s` $ACTION $DEVPATH"\n"\
>`env`\
>"\n--------$SEQNUM--------\n" >> /dev/.hotplug_d.log
>================
>
>remove and load your module and look at/post the logfile.
>
>How does:
> tree /sys/class/edredaq
>
>look like?
>
>Kay
>
>
>
[-- Attachment #1.2: Type: text/html, Size: 1686 bytes --]
[-- Attachment #2: tree.txt --]
[-- Type: text/plain, Size: 347 bytes --]
/sys/class/edredaq
|-- pci76xdrv0
| |-- dev
| |-- device -> ../../../devices/pci0000:00/0000:00:1e.0/0000:02:02.0
| `-- driver -> ../../../bus/pci/drivers/pci76xdrv
`-- pci76xdrv1
|-- dev
|-- device -> ../../../devices/pci0000:00/0000:00:1e.0/0000:02:04.0
`-- driver -> ../../../bus/pci/drivers/pci76xdrv
6 directories, 2 files
[-- Attachment #3: .hotplug_d.log.old --]
[-- Type: text/plain, Size: 832 bytes --]
--------316--------
1105959652 remove /class/edredaq/pci76xdrv0
DEVPATH=/class/edredaq/pci76xdrv0 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=316
--------316--------
--------317--------
1105959652 remove /class/edredaq/pci76xdrv1
DEVPATH=/class/edredaq/pci76xdrv1 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=317
--------317--------
--------318--------
1105959653 add /class/edredaq/pci76xdrv0
DEVPATH=/class/edredaq/pci76xdrv0 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=318
--------318--------
--------319--------
1105959653 add /class/edredaq/pci76xdrv1
DEVPATH=/class/edredaq/pci76xdrv1 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=319
--------319--------
[-- Attachment #4: edredaq.hotplug.log.old --]
[-- Type: text/plain, Size: 1612 bytes --]
Mon Jan 17 12:56:32 SAST 2005 : arguments (edredaq) env(OLDPWD=/
DEVPATH=/class/edredaq/pci76xdrv0
PATH=/bin:/sbin:/usr/sbin:/usr/bin
ACTION=remove
PWD=/etc/hotplug
HOME=/
SHLVL=2
SEQNUM=312
_=/bin/env)
Mon Jan 17 12:56:32 SAST 2005 : arguments (edredaq) env(OLDPWD=/
DEVPATH=/class/edredaq/pci76xdrv1
PATH=/bin:/sbin:/usr/sbin:/usr/bin
ACTION=remove
PWD=/etc/hotplug
HOME=/
SHLVL=2
SEQNUM=313
_=/bin/env)
Mon Jan 17 12:56:34 SAST 2005 : arguments (edredaq) env(OLDPWD=/
DEVPATH=/class/edredaq/pci76xdrv0
PATH=/bin:/sbin:/usr/sbin:/usr/bin
ACTION=add
PWD=/etc/hotplug
HOME=/
SHLVL=2
SEQNUM=314
_=/bin/env)
Mon Jan 17 12:56:34 SAST 2005 : arguments (edredaq) env(OLDPWD=/
DEVPATH=/class/edredaq/pci76xdrv1
PATH=/bin:/sbin:/usr/sbin:/usr/bin
ACTION=add
PWD=/etc/hotplug
HOME=/
SHLVL=2
SEQNUM=315
_=/bin/env)
Mon Jan 17 13:00:52 SAST 2005 : arguments (edredaq) env(OLDPWD=/
DEVPATH=/class/edredaq/pci76xdrv0
PATH=/bin:/sbin:/usr/sbin:/usr/bin
ACTION=remove
PWD=/etc/hotplug
HOME=/
SHLVL=2
SEQNUM=316
_=/bin/env)
Mon Jan 17 13:00:52 SAST 2005 : arguments (edredaq) env(OLDPWD=/
DEVPATH=/class/edredaq/pci76xdrv1
PATH=/bin:/sbin:/usr/sbin:/usr/bin
ACTION=remove
PWD=/etc/hotplug
HOME=/
SHLVL=2
SEQNUM=317
_=/bin/env)
Mon Jan 17 13:00:53 SAST 2005 : arguments (edredaq) env(OLDPWD=/
DEVPATH=/class/edredaq/pci76xdrv0
PATH=/bin:/sbin:/usr/sbin:/usr/bin
ACTION=add
PWD=/etc/hotplug
HOME=/
SHLVL=2
SEQNUM=318
_=/bin/env)
Mon Jan 17 13:00:53 SAST 2005 : arguments (edredaq) env(OLDPWD=/
DEVPATH=/class/edredaq/pci76xdrv1
PATH=/bin:/sbin:/usr/sbin:/usr/bin
ACTION=add
PWD=/etc/hotplug
HOME=/
SHLVL=2
SEQNUM=319
_=/bin/env)
[-- Attachment #5: .hotplug_d.log --]
[-- Type: text/plain, Size: 7871 bytes --]
--------320--------
1105959723 remove /class/vc/vcs2
DEVPATH=/class/vc/vcs2 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=320
--------320--------
--------321--------
1105959723 remove /class/vc/vcsa2
DEVPATH=/class/vc/vcsa2 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=321
--------321--------
--------322--------
1105959723 remove /class/vc/vcs3
DEVPATH=/class/vc/vcs3 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=322
--------322--------
--------323--------
1105959723 remove /class/vc/vcsa3
DEVPATH=/class/vc/vcsa3 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=323
--------323--------
--------324--------
1105959723 remove /class/vc/vcs4
DEVPATH=/class/vc/vcs4 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=324
--------324--------
--------326--------
1105959723 remove /class/vc/vcs5
DEVPATH=/class/vc/vcs5 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=326
--------326--------
--------327--------
1105959723 remove /class/vc/vcsa5
DEVPATH=/class/vc/vcsa5 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=327
--------327--------
--------328--------
1105959723 remove /class/vc/vcs6
DEVPATH=/class/vc/vcs6 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=328
--------328--------
--------329--------
1105959723 remove /class/vc/vcsa6
DEVPATH=/class/vc/vcsa6 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=329
--------329--------
--------325--------
1105959723 remove /class/vc/vcsa4
DEVPATH=/class/vc/vcsa4 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=325
--------325--------
--------248--------
1105959810 add /class/printer/lp0
DEVPATH=/class/printer/lp0 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=248
--------248--------
--------249--------
1105959811 add /class/net/sit0
DEVPATH=/class/net/sit0 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 INTERFACE=sit0 SEQNUM=249
--------249--------
--------250--------
1105959814 add /class/vc/vcs4
DEVPATH=/class/vc/vcs4 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=250
--------250--------
--------251--------
1105959814 add /class/vc/vcsa4
DEVPATH=/class/vc/vcsa4 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=251
--------251--------
--------252--------
1105959814 remove /class/vc/vcs4
DEVPATH=/class/vc/vcs4 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=252
--------252--------
--------253--------
1105959814 remove /class/vc/vcsa4
DEVPATH=/class/vc/vcsa4 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=253
--------253--------
--------254--------
1105959814 add /class/vc/vcs4
DEVPATH=/class/vc/vcs4 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=254
--------254--------
--------255--------
1105959814 add /class/vc/vcsa4
DEVPATH=/class/vc/vcsa4 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=255
--------255--------
--------256--------
1105959814 add /class/vc/vcs2
DEVPATH=/class/vc/vcs2 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=256
--------256--------
--------257--------
1105959814 add /class/vc/vcsa2
DEVPATH=/class/vc/vcsa2 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=257
--------257--------
--------258--------
1105959814 remove /class/vc/vcs2
DEVPATH=/class/vc/vcs2 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=258
--------258--------
--------259--------
1105959814 remove /class/vc/vcsa2
DEVPATH=/class/vc/vcsa2 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=259
--------260--------
1105959814 add /class/vc/vcs2
DEVPATH=/class/vc/vcs2 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=260
--------260--------
--------261--------
1105959814 add /class/vc/vcsa2
DEVPATH=/class/vc/vcsa2 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=261
--------261--------
--------262--------
1105959814 add /class/vc/vcs5
DEVPATH=/class/vc/vcs5 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=262
--------262--------
--------259--------
--------263--------
1105959814 add /class/vc/vcsa5
DEVPATH=/class/vc/vcsa5 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=263
--------263--------
--------264--------
1105959814 remove /class/vc/vcs5
DEVPATH=/class/vc/vcs5 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=264
--------264--------
--------265--------
1105959814 remove /class/vc/vcsa5
DEVPATH=/class/vc/vcsa5 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=265
--------265--------
--------266--------
1105959814 add /class/vc/vcs5
DEVPATH=/class/vc/vcs5 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=266
--------266--------
--------270--------
1105959814 remove /class/vc/vcs6
DEVPATH=/class/vc/vcs6 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=270
--------270--------
--------271--------
1105959814 remove /class/vc/vcsa6
DEVPATH=/class/vc/vcsa6 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=271
--------271--------
--------272--------
1105959814 add /class/vc/vcs6
DEVPATH=/class/vc/vcs6 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=272
--------272--------
--------273--------
1105959814 add /class/vc/vcsa6
DEVPATH=/class/vc/vcsa6 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=273
--------273--------
--------274--------
1105959814 add /class/vc/vcs3
DEVPATH=/class/vc/vcs3 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=274
--------274--------
--------275--------
1105959814 add /class/vc/vcsa3
DEVPATH=/class/vc/vcsa3 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=275
--------275--------
--------276--------
1105959814 remove /class/vc/vcs3
DEVPATH=/class/vc/vcs3 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=276
--------276--------
--------279--------
1105959814 add /class/vc/vcsa3
DEVPATH=/class/vc/vcsa3 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=279
--------279--------
--------268--------
1105959814 add /class/vc/vcs6
DEVPATH=/class/vc/vcs6 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=268
--------268--------
--------269--------
1105959814 add /class/vc/vcsa6
DEVPATH=/class/vc/vcsa6 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=269
--------269--------
--------278--------
1105959814 add /class/vc/vcs3
DEVPATH=/class/vc/vcs3 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=278
--------278--------
--------277--------
1105959814 remove /class/vc/vcsa3
DEVPATH=/class/vc/vcsa3 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=277
--------277--------
--------267--------
1105959814 add /class/vc/vcsa5
DEVPATH=/class/vc/vcsa5 PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add _=/bin/env PWD=/ HOME=/ SHLVL=2 SEQNUM=267
--------267--------
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: PCI hotplug/udev problem
2005-01-14 8:48 PCI hotplug/udev problem Jan Zwiegers
` (3 preceding siblings ...)
2005-01-17 11:38 ` Jan Zwiegers
@ 2005-01-18 17:12 ` Kay Sievers
4 siblings, 0 replies; 6+ messages in thread
From: Kay Sievers @ 2005-01-18 17:12 UTC (permalink / raw)
To: linux-hotplug
On Tue, 2005-01-18 at 07:41 +0200, Jan Zwiegers wrote:
> After a new boot the driver is loaded, but there is no nodes. But
> hotplug got fired.
> rmmod removes the driver. modprobe add the module, hotplug gets fired,
> but no nodes are created. class tree appears as per tree.txt file that
> I have sent you.
Please set
udev_log="yes"
in /etc/udev/udev.conf and look if something is printed to syslog while
inserting/removing the module.
If you don't find anything here, please make sure that other modules are
working this way. modprobe/rmmod loop is nice to check if udev is
working by watching the creation/removal of /dev/loop*.
Kay
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 6+ messages in thread