1 |
Philip Webb <purslow@××××××××.net> [13-08-26 04:35]: |
2 |
> 130825 Pavel Volkov suggested: |
3 |
> > On Sunday 25 August 2013 20:26:32 meino.cramer@×××.de asked: |
4 |
> >> So...which ghost in my system dares to set the symlink /dev/rtc |
5 |
> >> to point to /dev/rtc0 instead of /dev/rtc1 ??? |
6 |
> > I bet it's /usr/lib64/udev/rules.d/50-udev-default.rules |
7 |
> |
8 |
> I have /usr/udev/rules.d/50-udev-default.rules (on a 64-bit system), |
9 |
> which contains the lines : |
10 |
> |
11 |
> # select "system RTC" or just use the first one |
12 |
> SUBSYSTEM=="rtc", ATTR{hctosys}=="1", SYMLINK+="rtc" |
13 |
> SUBSYSTEM=="rtc", KERNEL=="rtc0", SYMLINK+="rtc", OPTIONS+="link_priority=-100" |
14 |
> |
15 |
> However, in /dev I have : |
16 |
> |
17 |
> crw------- 1 root root 10, 135 Aug 25 07:39 /dev/rtc |
18 |
> |
19 |
> ie it's not a symlink. I'm using udev-204 . |
20 |
> |
21 |
> HTH |
22 |
> |
23 |
> -- |
24 |
> ========================,,============================================ |
25 |
> SUPPORT ___________//___, Philip Webb |
26 |
> ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto |
27 |
> TRANSIT `-O----------O---' purslowatchassdotutorontodotca |
28 |
> |
29 |
> |
30 |
|
31 |
Hi, |
32 |
|
33 |
I finally found the culprit: |
34 |
|
35 |
There udev-related files under /lib, where I did not search for it. |
36 |
I had expected them under /etc... |
37 |
I fixed one of the rules and now there is the correct link. |
38 |
|
39 |
Nonetheless, ls -l /proc shows: |
40 |
beagleboneblack:/root>ls -l /proc |
41 |
total 0 |
42 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 1 |
43 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 10 |
44 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 11 |
45 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 12 |
46 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 13 |
47 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 14 |
48 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 15 |
49 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 16 |
50 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 17 |
51 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 18 |
52 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 188 |
53 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 19 |
54 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 196 |
55 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 2 |
56 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 20 |
57 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 21 |
58 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 24 |
59 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 27 |
60 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 3 |
61 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 36 |
62 |
dr-xr-xr-x 8 root root 0 2013-08-26 05:12 362 |
63 |
dr-xr-xr-x 8 root root 0 2013-08-26 05:12 363 |
64 |
dr-xr-xr-x 8 root root 0 2013-08-26 05:12 364 |
65 |
dr-xr-xr-x 8 root root 0 2013-08-26 05:12 365 |
66 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 38 |
67 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 39 |
68 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 40 |
69 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 41 |
70 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 42 |
71 |
dr-xr-xr-x 8 messagebus messagebus 0 2013-08-26 05:12 436 |
72 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 45 |
73 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 46 |
74 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 5 |
75 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 53 |
76 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 55 |
77 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 56 |
78 |
dr-xr-xr-x 8 root root 0 2013-08-26 05:12 612 |
79 |
dr-xr-xr-x 8 root root 0 2013-08-26 05:12 632 |
80 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 69 |
81 |
dr-xr-xr-x 8 root root 0 2013-08-26 05:12 698 |
82 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 7 |
83 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 70 |
84 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 71 |
85 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 74 |
86 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 75 |
87 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 76 |
88 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 79 |
89 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 8 |
90 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 80 |
91 |
dr-xr-xr-x 8 root root 0 2013-08-26 05:12 800 |
92 |
dr-xr-xr-x 8 root root 0 2013-08-26 05:12 855 |
93 |
dr-xr-xr-x 8 root root 0 2013-08-26 05:13 882 |
94 |
dr-xr-xr-x 8 root root 0 2013-08-26 05:13 883 |
95 |
dr-xr-xr-x 8 root root 0 2013-08-26 05:13 884 |
96 |
dr-xr-xr-x 8 root root 0 2013-08-26 05:13 885 |
97 |
dr-xr-xr-x 8 root root 0 2013-08-26 05:13 886 |
98 |
dr-xr-xr-x 8 root root 0 2013-08-26 05:13 887 |
99 |
dr-xr-xr-x 8 root root 0 2013-08-26 05:13 896 |
100 |
dr-xr-xr-x 8 root root 0 1970-01-01 01:00 9 |
101 |
dr-xr-xr-x 8 root root 0 2013-08-26 05:13 900 |
102 |
dr-xr-xr-x 8 root root 0 2013-08-26 05:28 917 |
103 |
dr-xr-xr-x 8 root root 0 2013-08-26 05:28 955 |
104 |
dr-xr-xr-x 8 root root 0 2013-08-26 05:28 966 |
105 |
dr-xr-xr-x 4 root root 0 2013-08-26 05:28 asound |
106 |
-r--r--r-- 1 root root 0 2013-08-26 05:28 buddyinfo |
107 |
dr-xr-xr-x 3 root root 0 2013-08-26 05:28 bus |
108 |
-r--r--r-- 1 root root 0 2013-08-26 05:28 cgroups |
109 |
-r--r--r-- 1 root root 0 2013-08-26 05:28 cmdline |
110 |
-r--r--r-- 1 root root 26642 2013-08-26 05:28 config.gz |
111 |
-r--r--r-- 1 root root 0 2013-08-26 05:28 consoles |
112 |
dr-xr-xr-x 2 root root 0 2013-08-26 05:28 cpu |
113 |
-r--r--r-- 1 root root 0 2013-08-26 05:28 cpuinfo |
114 |
-r--r--r-- 1 root root 0 2013-08-26 05:28 crypto |
115 |
dr-xr-xr-x 12 root root 0 2013-08-26 05:28 device-tree |
116 |
|
117 |
There are still files stamped with the UNIX's big bang moment. |
118 |
But the kernel is configured to use rtc1 instead of rtc0. |
119 |
|
120 |
The journey isn't at its end, still. |
121 |
|
122 |
ANy further ideas ? |
123 |
|
124 |
Best regards, |
125 |
mcc |