linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Device node '/dev/rtc' already exists, link to '/dev/rtc0' ,wil not
@ 2007-09-18 10:08 Harald Hoyer
  2007-09-18 10:56 ` Device node '/dev/rtc' already exists, link to '/dev/rtc0' ,wil Alexander E. Patrakov
  2007-09-18 12:18 ` Device node '/dev/rtc' already exists, link to '/dev/rtc0' , Kay Sievers
  0 siblings, 2 replies; 3+ messages in thread
From: Harald Hoyer @ 2007-09-18 10:08 UTC (permalink / raw)
  To: linux-hotplug


[-- Attachment #1.1: Type: text/plain, Size: 726 bytes --]

Looks like 50-udev-default.rules:

KERNEL=="rtc0",                 SYMLINK+="rtc"

has to be modified...

$ udevinfo -a -n /dev/rtc
   looking at device '/class/misc/rtc':
     KERNEL=="rtc"
     SUBSYSTEM=="misc"
     DRIVER==""
     ATTR{dev}=="10:135"

$ udevinfo -a -n /dev/rtc0

   looking at device '/class/rtc/rtc0':
     KERNEL=="rtc0"
     SUBSYSTEM=="rtc"
     DRIVER==""
     ATTR{wakealarm}==""
     ATTR{since_epoch}=="1190109813"
     ATTR{time}=="10:03:33"
     ATTR{date}=="2007-09-18"
     ATTR{name}=="rtc_cmos"
     ATTR{dev}=="254:0"

   looking at parent device '/devices/pnp0/00:05':
     KERNELS=="00:05"
     SUBSYSTEMS=="pnp"
     DRIVERS=="rtc_cmos"
     ATTRS{id}=="PNP0b00"
     ATTRS{options}==""

[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3623 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #3: Type: text/plain, Size: 226 bytes --]

_______________________________________________
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] 3+ messages in thread

* Re: Device node '/dev/rtc' already exists, link to '/dev/rtc0' ,wil
  2007-09-18 10:08 Device node '/dev/rtc' already exists, link to '/dev/rtc0' ,wil not Harald Hoyer
@ 2007-09-18 10:56 ` Alexander E. Patrakov
  2007-09-18 12:18 ` Device node '/dev/rtc' already exists, link to '/dev/rtc0' , Kay Sievers
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander E. Patrakov @ 2007-09-18 10:56 UTC (permalink / raw)
  To: linux-hotplug

Harald Hoyer wrote:
> Looks like 50-udev-default.rules:
>
> KERNEL="rtc0",                 SYMLINK+="rtc"
>
> has to be modified...
>
> $ udevinfo -a -n /dev/rtc
>   looking at device '/class/misc/rtc':
>     KERNEL="rtc"
>     SUBSYSTEM="misc"
>     DRIVER=""
>     ATTR{dev}="10:135"
>
> $ udevinfo -a -n /dev/rtc0
>
>   looking at device '/class/rtc/rtc0':
>     KERNEL="rtc0"
>     SUBSYSTEM="rtc"
>     DRIVER=""
>     ATTR{wakealarm}=""
>     ATTR{since_epoch}="1190109813"
>     ATTR{time}="10:03:33"
>     ATTR{date}="2007-09-18"
>     ATTR{name}="rtc_cmos"
>     ATTR{dev}="254:0"
>
>   looking at parent device '/devices/pnp0/00:05':
>     KERNELS="00:05"
>     SUBSYSTEMS="pnp"
>     DRIVERS="rtc_cmos"
>     ATTRS{id}="PNP0b00"
>     ATTRS{options}=""

It looks like your kernel configuration is not valid. You have compiled 
both the old-style "rtc" (or "genrtc"?) driver and the new "rtc_cmos" 
driver. Please remove one of them, and the problem will go away.

(please correct me if I am wrong - I have never played with the new RTC 
drivers).

-- 
Alexander E. Patrakov

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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] 3+ messages in thread

* Re: Device node '/dev/rtc' already exists, link to '/dev/rtc0' ,
  2007-09-18 10:08 Device node '/dev/rtc' already exists, link to '/dev/rtc0' ,wil not Harald Hoyer
  2007-09-18 10:56 ` Device node '/dev/rtc' already exists, link to '/dev/rtc0' ,wil Alexander E. Patrakov
@ 2007-09-18 12:18 ` Kay Sievers
  1 sibling, 0 replies; 3+ messages in thread
From: Kay Sievers @ 2007-09-18 12:18 UTC (permalink / raw)
  To: linux-hotplug

On 9/18/07, Alexander E. Patrakov <patrakov@ums.usu.ru> wrote:
> Harald Hoyer wrote:
> > Looks like 50-udev-default.rules:
> >
> > KERNEL="rtc0",                 SYMLINK+="rtc"
> >
> > has to be modified...
> >
> > $ udevinfo -a -n /dev/rtc
> >   looking at device '/class/misc/rtc':
> >     KERNEL="rtc"
> >     SUBSYSTEM="misc"
> >     DRIVER=""
> >     ATTR{dev}="10:135"
> >
> > $ udevinfo -a -n /dev/rtc0
> >
> >   looking at device '/class/rtc/rtc0':
> >     KERNEL="rtc0"
> >     SUBSYSTEM="rtc"
> >     DRIVER=""
> >     ATTR{wakealarm}=""
> >     ATTR{since_epoch}="1190109813"
> >     ATTR{time}="10:03:33"
> >     ATTR{date}="2007-09-18"
> >     ATTR{name}="rtc_cmos"
> >     ATTR{dev}="254:0"
> >
> >   looking at parent device '/devices/pnp0/00:05':
> >     KERNELS="00:05"
> >     SUBSYSTEMS="pnp"
> >     DRIVERS="rtc_cmos"
> >     ATTRS{id}="PNP0b00"
> >     ATTRS{options}=""
>
> It looks like your kernel configuration is not valid. You have compiled
> both the old-style "rtc" (or "genrtc"?) driver and the new "rtc_cmos"
> driver. Please remove one of them, and the problem will go away.
>
> (please correct me if I am wrong - I have never played with the new RTC
> drivers).

Yes, the old "rtc" module should not be provided if the new ones are
enabled. The info message of udev is the expected behavior, as no
symlink should overwrite a device node of a different device.

Kay

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2007-09-18 12:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-18 10:08 Device node '/dev/rtc' already exists, link to '/dev/rtc0' ,wil not Harald Hoyer
2007-09-18 10:56 ` Device node '/dev/rtc' already exists, link to '/dev/rtc0' ,wil Alexander E. Patrakov
2007-09-18 12:18 ` Device node '/dev/rtc' already exists, link to '/dev/rtc0' , Kay Sievers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).