2022年5月6日金曜日

raspberry pi 4b: w1_master_driver w1_bus_master1: Family 0 for 00.400000000000.46 is not registered.

GW最初に寝かせていたraspberry piをmotionだけ一時的に使いたかったので電源を入れてみたところ、SDカードが不調になったので別のSDカードにインストールして動かしていたのですが、syslogを今まで見かけたことのないエラーが繰り返し表示されていた。

そのログは起動時は問題ないが、起動後にエラーが繰り返している様子。

May  4 13:30:34 rasp4b4g kernel: [    7.687656] w1_master_driver w1_bus_master1: w1_search: max_slave_count 64 reached, will continue next search.

May  4 13:40:25 rasp4b4g kernel: [   58.337671] w1_master_driver w1_bus_master1: Attaching one wire slave 00.800000000000 crc 8c
May  4 13:40:25 rasp4b4g kernel: [   58.346399] w1_master_driver w1_bus_master1: Family 0 for 00.800000000000.8c is not registered.
May  4 13:41:28 rasp4b4g kernel: [  121.919916] w1_master_driver w1_bus_master1: Attaching one wire slave 00.400000000000 crc 46
May  4 13:41:28 rasp4b4g kernel: [  121.928212] w1_master_driver w1_bus_master1: Family 0 for 00.400000000000.46 is not registered.
May  4 13:42:19 rasp4b4g kernel: [  172.702498] w1_master_driver w1_bus_master1: Attaching one wire slave 00.c00000000000 crc ca
May  4 13:42:19 rasp4b4g kernel: [  172.710612] w1_master_driver w1_bus_master1: Family 0 for 00.c00000000000.ca is not registered.
May  4 13:43:35 rasp4b4g kernel: [  249.143787] w1_master_driver w1_bus_master1: Attaching one wire slave 00.200000000000 crc 23
May  4 13:43:35 rasp4b4g kernel: [  249.149572] w1_master_driver w1_bus_master1: Family 0 for 00.200000000000.23 is not registered.
May  4 13:40:25 rasp4b4g kernel: [   58.337671] w1_master_driver w1_bus_master1: Attaching one wire slave 00.800000000000 crc 8c
May  4 13:40:25 rasp4b4g kernel: [   58.346399] w1_master_driver w1_bus_master1: Family 0 for 00.800000000000.8c is not registered.
May  4 13:41:28 rasp4b4g kernel: [  121.919916] w1_master_driver w1_bus_master1: Attaching one wire slave 00.400000000000 crc 46
May  4 13:41:28 rasp4b4g kernel: [  121.928212] w1_master_driver w1_bus_master1: Family 0 for 00.400000000000.46 is not registered.
May  4 13:42:19 rasp4b4g kernel: [  172.702498] w1_master_driver w1_bus_master1: Attaching one wire slave 00.c00000000000 crc ca
May  4 13:42:19 rasp4b4g kernel: [  172.710612] w1_master_driver w1_bus_master1: Family 0 for 00.c00000000000.ca is not registered.
May  4 13:43:35 rasp4b4g kernel: [  249.143787] w1_master_driver w1_bus_master1: Attaching one wire slave 00.200000000000 crc 23
May  4 13:43:35 rasp4b4g kernel: [  249.149572] w1_master_driver w1_bus_master1: Family 0 for 00.200000000000.23 is not registered.
May  4 13:44:39 rasp4b4g kernel: [  312.726603] w1_master_driver w1_bus_master1: Attaching one wire slave 00.a00000000000 crc af
May  4 13:44:39 rasp4b4g kernel: [  312.736281] w1_master_driver w1_bus_master1: Family 0 for 00.a00000000000.af is not registered.
May  4 13:45:17 rasp4b4g kernel: [  350.645643] w1_master_driver w1_bus_master1: Attaching one wire slave 00.600000000000 crc 65
May  4 13:45:17 rasp4b4g kernel: [  350.656778] w1_master_driver w1_bus_master1: Family 0 for 00.600000000000.65 is not registered.
May  4 13:45:57 rasp4b4g kernel: [  391.145835] w1_master_driver w1_bus_master1: Attaching one wire slave 00.e00000000000 crc e9
May  4 13:45:57 rasp4b4g kernel: [  391.154513] w1_master_driver w1_bus_master1: Family 0 for 00.e00000000000.e9 is not registered.
May  4 13:47:00 rasp4b4g kernel: [  454.127072] w1_master_driver w1_bus_master1: Attaching one wire slave 00.100000000000 crc 9d
May  4 13:47:00 rasp4b4g kernel: [  454.135840] w1_master_driver w1_bus_master1: Family 0 for 00.100000000000.9d is not registered.
May  4 13:47:40 rasp4b4g kernel: [  493.277022] w1_master_driver w1_bus_master1: Attaching one wire slave 00.900000000000 crc 11
May  4 13:47:40 rasp4b4g kernel: [  493.284808] w1_master_driver w1_bus_master1: Family 0 for 00.900000000000.11 is not registered.
May  4 13:48:55 rasp4b4g kernel: [  568.486570] w1_master_driver w1_bus_master1: Attaching one wire slave 00.500000000000 crc db
May  4 13:48:55 rasp4b4g kernel: [  568.494303] w1_master_driver w1_bus_master1: Family 0 for 00.500000000000.db is not registered.
May  4 13:49:47 rasp4b4g kernel: [  620.475808] w1_master_driver w1_bus_master1: Attaching one wire slave 00.d00000000000 crc 57
May  4 13:49:47 rasp4b4g kernel: [  620.484518] w1_master_driver w1_bus_master1: Family 0 for 00.d00000000000.57 is not registered.
May  4 13:50:13 rasp4b4g kernel: [  646.925677] w1_master_driver w1_bus_master1: Attaching one wire slave 00.300000000000 crc be
May  4 13:50:13 rasp4b4g kernel: [  646.933426] w1_master_driver w1_bus_master1: Family 0 for 00.300000000000.be is not registered.
May  4 13:51:03 rasp4b4g kernel: [  696.325929] w1_master_driver w1_bus_master1: Attaching one wire slave 00.b00000000000 crc 32
May  4 13:51:03 rasp4b4g kernel: [  696.335037] w1_master_driver w1_bus_master1: Family 0 for 00.b00000000000.32 is not registered.
May  4 13:51:42 rasp4b4g kernel: [  735.565958] w1_master_driver w1_bus_master1: Attaching one wire slave 00.700000000000 crc f8
May  4 13:51:42 rasp4b4g kernel: [  735.574970] w1_master_driver w1_bus_master1: Family 0 for 00.700000000000.f8 is not registered.
May  4 13:52:34 rasp4b4g kernel: [  787.545977] w1_master_driver w1_bus_master1: Attaching one wire slave 00.f00000000000 crc 74
May  4 13:52:34 rasp4b4g kernel: [  787.553953] w1_master_driver w1_bus_master1: Family 0 for 00.f00000000000.74 is not registered.
May  4 13:53:36 rasp4b4g kernel: [  850.006573] w1_master_driver w1_bus_master1: Attaching one wire slave 00.080000000000 crc c2
May  4 13:53:36 rasp4b4g kernel: [  850.014503] w1_master_driver w1_bus_master1: Family 0 for 00.080000000000.c2 is not registered.
May  4 13:54:30 rasp4b4g kernel: [  903.266685] w1_master_driver w1_bus_master1: Attaching one wire slave 00.880000000000 crc 4e
May  4 13:54:30 rasp4b4g kernel: [  903.274555] w1_master_driver w1_bus_master1: Family 0 for 00.880000000000.4e is not registered.
May  4 13:55:07 rasp4b4g kernel: [  941.107598] w1_master_driver w1_bus_master1: Attaching one wire slave 00.480000000000 crc 84
May  4 13:55:07 rasp4b4g kernel: [  941.116282] w1_master_driver w1_bus_master1: Family 0 for 00.480000000000.84 is not registered.
May  4 13:55:58 rasp4b4g kernel: [  991.797850] w1_master_driver w1_bus_master1: Attaching one wire slave 00.c80000000000 crc 08
May  4 13:55:58 rasp4b4g kernel: [  991.805829] w1_master_driver w1_bus_master1: Family 0 for 00.c80000000000.08 is not registered.
May  4 13:57:15 rasp4b4g kernel: [ 1068.479304] w1_master_driver w1_bus_master1: Attaching one wire slave 00.280000000000 crc e1
May  4 13:57:15 rasp4b4g kernel: [ 1068.488104] w1_master_driver w1_bus_master1: Family 0 for 00.280000000000.e1 is not registered.
May  4 13:58:18 rasp4b4g kernel: [ 1131.990488] w1_master_driver w1_bus_master1: Attaching one wire slave 00.a80000000000 crc 6d
May  4 13:58:18 rasp4b4g kernel: [ 1131.999217] w1_master_driver w1_bus_master1: Family 0 for 00.a80000000000.6d is not registered.
May  4 13:59:22 rasp4b4g kernel: [ 1195.491899] w1_master_driver w1_bus_master1: Attaching one wire slave 00.680000000000 crc a7
May  4 13:59:22 rasp4b4g kernel: [ 1195.500845] w1_master_driver w1_bus_master1: Family 0 for 00.680000000000.a7 is not registered.
May  4 14:00:02 rasp4b4g kernel: [ 1235.942504] w1_master_driver w1_bus_master1: Attaching one wire slave 00.e80000000000 crc 2b
May  4 14:00:02 rasp4b4g kernel: [ 1235.951466] w1_master_driver w1_bus_master1: Family 0 for 00.e80000000000.2b is not registered.
May  4 14:01:05 rasp4b4g kernel: [ 1299.103551] w1_master_driver w1_bus_master1: Attaching one wire slave 00.180000000000 crc 5f
May  4 14:01:05 rasp4b4g kernel: [ 1299.112035] w1_master_driver w1_bus_master1: Family 0 for 00.180000000000.5f is not registered.
May  4 14:01:45 rasp4b4g kernel: [ 1338.304235] w1_master_driver w1_bus_master1: Attaching one wire slave 00.980000000000 crc d3
May  4 14:01:45 rasp4b4g kernel: [ 1338.312876] w1_master_driver w1_bus_master1: Family 0 for 00.980000000000.d3 is not registered.
May  4 14:02:34 rasp4b4g kernel: [ 1387.584971] w1_master_driver w1_bus_master1: Attaching one wire slave 00.580000000000 crc 19
May  4 14:02:34 rasp4b4g kernel: [ 1387.594343] w1_master_driver w1_bus_master1: Family 0 for 00.580000000000.19 is not registered.

ある程度抜き出してみたが、w1と言われて心当たりがありそうなのはone wire絡みなのか?と言うところ。初期設定でインタフェースは有効にした記憶があるが、まだプログラムは動かしていない。物理的につながっているのはI2Cと、ただのIOポートにぶら下がっている温度計だけのはず。なんにしても今までこんなエラーの記憶は全くない。なので検索してみるとraspberry pi 公式のアーティクルがヒットした。

w1_master_driver w1_bus_master1: Family 0 for 00.200000000000.23 is not registered. - Raspberry Pi Forums

細かいt頃が全く分からないものの、、最終的にはraspi-configで1wireインターフェースをオフにするということ。フォーラム内ではなぜか直接/boot/configを修正する感じになっていた。

インタフェースをオフにしてデバイスが使えなくても今は問題がないので、早速インタフェースをオフに。そして再起動。

ログを見る限りエラーは出なくなった。4bだとone wireが使えないのか接続すればエラーが無くなるのかはよくわからない、

0 件のコメント:

コメントを投稿