Re: Odd behavior with udev and kgdb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 28, 2009 at 14:31, Richard Schmitt <rschmitt@xxxxxxxxxxx> wrote:
>
> I'm analyzing a problem where when KGDB is compiled for the kernel, the device node for one of our drivers does not appear.  If we unconfigure KGDB, the device node appears fine.
>
> It's completely reproducible.  No other changes to the config file.  The config file settings for KGDB are:
>
> CONFIG_KGDB=y
> CONFIG_KGDBOC=y
> CONFIG_KGDBOC_NOMODULE=y
> CONFIG_KGDB_CONSOLE=y
> CONFIG_SERIAL_POLL=y
>
> I'm wondering if it's a udev problem or something else.
>
> I have noticed that when KGDB is not configured and the device node is created, there is an entry at:
> /sys/class/misc/fpga
>
> When KGBD is configured, there is no such entry in sysfs.  Does this entry get created after udev does it's thing, or is udev dependent on the sysfs entry being created?
>
> If udev is dependent on the sysfs entry, does anyone have any idea why this entry would not get created, but only if KGDB is configured?

Udev creates stuff only after it has shown up in /sys. If there is no
/sys device, there is no udev action. The /sys devices are created
when a kernel driver/module requests them, udev can not create
anything in /sys.

What driver/module is/creates "fpga"? Is that in the upstream kernel?

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux