Schön, dass dir die Idee gefällt.
In meinem Fall weiß ich ja nicht, was nach dem Absturz meines Servers noch alles funktionierte, aber ich vielleicht einen Pin am GPIO alle paar Sekunden auf Hi oder Low setzen, und wenn der Pi hängt, bleibt das Signal aus und dann macht eine kleine externe Schaltung - z.B. ein retrigerbares Monoflop - - einen Reset.
Mein RPI ist heute mal wieder hängen geblieben. Hab nochmal die Logs abgeholt. Und wieder waren Einträge mit sehr altem Datum drin. Aber die sind sicher von der Imageerstellung.
Aber auch nach einem reboot lief er nicht gut; kein Bild auf dem Client.
Neues Netzteil hat er jetzt....
Kannst du mal auf die Logs schauen?
Jan 1 01:00:15 (none) daemon.err udevd[1150]: failed to execute '/lib/udev/net.agent' 'net.agent': No such file or directory
Jan 1 01:00:15 (none) user.warn kernel: [ 15.745344] XFS (mmcblk0p1): unknown mount option [nls].
Jan 1 01:00:19 (none) user.warn kernel: [ 19.299535] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Jan 1 01:00:19 (none) user.notice kernel: [ 19.304247] XFS (sda1): Mounting V4 Filesystem
Jan 1 01:00:19 (none) user.notice kernel: [ 19.575747] XFS (sda1): Starting recovery (logdev: internal)
Jan 1 01:00:19 (none) user.notice kernel: [ 19.705242] XFS (sda1): Ending recovery (logdev: internal)
Jan 1 01:00:22 (none) user.info kernel: [ 22.294293] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
Jan 1 01:00:23 (none) user.info kernel: [ 23.930549] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
Sep 17 18:33:40 (none) daemon.err rpcbind: cannot create socket for udp6
Sep 17 18:33:40 (none) daemon.err rpcbind: cannot create socket for tcp6
Sep 17 18:33:41 (none) user.info kernel: [ 57.002293] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Sep 17 18:33:41 (none) user.warn kernel: [ 57.369306] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Sep 17 18:33:41 (none) user.info kernel: [ 57.369506] NFSD: starting 90-second grace period (net c07bce78)
Sep 17 18:33:42 (none) daemon.notice rpc.mountd[1844]: Version 1.2.6 starting
Sep 17 18:33:43 (none) daemon.err smbd[1843]: [2014/09/17 18:33:43.075919, 0] lib/util_sock.c:605(open_socket_in)
Sep 17 18:33:43 (none) daemon.err smbd[1843]: open_socket_in(): socket() call failed: Address family not supported by protocol
Sep 17 18:33:43 (none) daemon.err smbd[1843]: [2014/09/17 18:33:43.077376, 0] smbd/server.c:578(smbd_open_one_socket)
Sep 17 18:33:43 (none) daemon.err smbd[1843]: smbd_open_once_socket: open_socket_in: Address family not supported by protocol
Sep 17 18:33:43 (none) daemon.err smbd[1843]: [2014/09/17 18:33:43.131707, 0] lib/util_sock.c:605(open_socket_in)
Sep 17 18:33:43 (none) daemon.err smbd[1843]: open_socket_in(): socket() call failed: Address family not supported by protocol
Sep 17 18:33:43 (none) daemon.err smbd[1843]: [2014/09/17 18:33:43.132768, 0] smbd/server.c:578(smbd_open_one_socket)
Sep 17 18:33:43 (none) daemon.err smbd[1843]: smbd_open_once_socket: open_socket_in: Address family not supported by protocol
Sep 17 18:33:53 (none) user.err vdr: [1968] ERROR: invalid primary device number: 3
Sep 17 18:33:53 (none) user.err vdr: [1994] [vdrmanager] SSL key files /etc/vdr/plugins/vdrmanager/vdrmanager.pem and /etc/vdr/plugins/vdrmanager/vdrmanager.pem can't be read. SSL disabled.
Sep 17 18:33:54 (none) user.alert kernel: [ 69.722950] XFS (sda1): Metadata corruption detected at xfs_dir3_data_read_verify+0x48/0xc0, block 0x950b600
Sep 17 18:33:54 (none) user.alert kernel: [ 69.722986] XFS (sda1): Unmount and run xfs_repair
Sep 17 18:33:54 (none) user.alert kernel: [ 69.723000] XFS (sda1): First 64 bytes of corrupted metadata buffer:
Sep 17 18:33:54 (none) user.alert kernel: [ 69.723020] d8ed8000: 58 46 53 42 00 00 10 00 00 00 00 00 04 a8 5b 00 XFSB..........[.
Sep 17 18:33:54 (none) user.alert kernel: [ 69.723034] d8ed8010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Sep 17 18:33:54 (none) user.alert kernel: [ 69.723049] d8ed8020: 71 ff f7 5b d9 9a 46 50 bd 17 77 8c 7e 04 27 2f q..[..FP..w.~.'/
Sep 17 18:33:54 (none) user.alert kernel: [ 69.723063] d8ed8030: 00 00 00 00 04 00 00 04 00 00 00 00 00 00 00 80 ................
Sep 17 18:33:54 (none) user.alert kernel: [ 69.723304] XFS (sda1): metadata I/O error: block 0x950b600 ("xfs_trans_read_buf_map") error 117 numblks 8
Sep 17 18:33:54 (none) user.alert kernel: [ 69.784762] XFS (sda1): Metadata corruption detected at xfs_dir3_data_read_verify+0x48/0xc0, block 0x1bf22200
Sep 17 18:33:54 (none) user.alert kernel: [ 69.784794] XFS (sda1): Unmount and run xfs_repair
Sep 17 18:33:54 (none) user.alert kernel: [ 69.784808] XFS (sda1): First 64 bytes of corrupted metadata buffer:
Sep 17 18:33:54 (none) user.alert kernel: [ 69.784828] d8edf000: 58 46 53 42 00 00 10 00 00 00 00 00 04 a8 5b 00 XFSB..........[.
Sep 17 18:33:54 (none) user.alert kernel: [ 69.784844] d8edf010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Sep 17 18:33:54 (none) user.alert kernel: [ 69.784861] d8edf020: 71 ff f7 5b d9 9a 46 50 bd 17 77 8c 7e 04 27 2f q..[..FP..w.~.'/
Sep 17 18:33:54 (none) user.alert kernel: [ 69.784875] d8edf030: 00 00 00 00 04 00 00 04 00 00 00 00 00 00 00 80 ................
Sep 17 18:33:54 (none) user.alert kernel: [ 69.785000] XFS (sda1): metadata I/O error: block 0x1bf22200 ("xfs_trans_read_buf_map") error 117 numblks 8
Sep 17 18:33:54 (none) auth.info login[2008]: root login on 'tty1'
Sep 17 18:33:54 (none) auth.info login[2012]: root login on 'tty4'
Sep 17 18:33:54 (none) auth.info login[2011]: root login on 'tty3'
Sep 17 18:33:54 (none) auth.info login[2009]: root login on 'tty2'
Sep 17 18:33:55 (none) user.alert kernel: [ 70.845348] XFS (sda1): Metadata corruption detected at xfs_dir3_data_read_verify+0x48/0xc0, block 0x950b600
Sep 17 18:33:55 (none) user.alert kernel: [ 70.845385] XFS (sda1): Unmount and run xfs_repair
Sep 17 18:33:55 (none) user.alert kernel: [ 70.845398] XFS (sda1): First 64 bytes of corrupted metadata buffer:
Sep 17 18:33:55 (none) user.alert kernel: [ 70.845418] d9fe8000: 58 46 53 42 00 00 10 00 00 00 00 00 04 a8 5b 00 XFSB..........[.
Sep 17 18:33:55 (none) user.alert kernel: [ 70.845433] d9fe8010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Sep 17 18:33:55 (none) user.alert kernel: [ 70.845447] d9fe8020: 71 ff f7 5b d9 9a 46 50 bd 17 77 8c 7e 04 27 2f q..[..FP..w.~.'/
Sep 17 18:33:55 (none) user.alert kernel: [ 70.845462] d9fe8030: 00 00 00 00 04 00 00 04 00 00 00 00 00 00 00 80 ................
Sep 17 18:33:55 (none) user.alert kernel: [ 70.845551] XFS (sda1): metadata I/O error: block 0x950b600 ("xfs_trans_read_buf_map") error 117 numblks 8
Sep 17 18:33:55 (none) user.alert kernel: [ 70.907091] XFS (sda1): Metadata corruption detected at xfs_dir3_data_read_verify+0x48/0xc0, block 0x1bf22200
Sep 17 18:33:55 (none) user.alert kernel: [ 70.907122] XFS (sda1): Unmount and run xfs_repair
Sep 17 18:33:55 (none) user.alert kernel: [ 70.907137] XFS (sda1): First 64 bytes of corrupted metadata buffer:
Sep 17 18:33:55 (none) user.alert kernel: [ 70.907157] d9fed000: 58 46 53 42 00 00 10 00 00 00 00 00 04 a8 5b 00 XFSB..........[.
Sep 17 18:33:55 (none) user.alert kernel: [ 70.907171] d9fed010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Sep 17 18:33:55 (none) user.alert kernel: [ 70.907185] d9fed020: 71 ff f7 5b d9 9a 46 50 bd 17 77 8c 7e 04 27 2f q..[..FP..w.~.'/
Sep 17 18:33:55 (none) user.alert kernel: [ 70.907199] d9fed030: 00 00 00 00 04 00 00 04 00 00 00 00 00 00 00 80 ................
Sep 17 18:33:55 (none) user.alert kernel: [ 70.907266] XFS (sda1): metadata I/O error: block 0x1bf22200 ("xfs_trans_read_buf_map") error 117 numblks 8
Sep 17 18:33:58 (none) user.info kernel: [ 74.157515] rtc-test rtc-test.0: test_rtc_set_mmss, secs = 1410971638
Sep 17 18:45:59 (none) user.info kernel: [ 795.209623] rtc-test rtc-test.0: test_rtc_set_mmss, secs = 1410972359
Sep 17 18:59:07 (none) user.info kernel: [ 1583.234983] rtc-test rtc-test.0: test_rtc_set_mmss, secs = 1410973147
Sep 17 19:34:06 (none) user.info kernel: [ 3682.300053] rtc-test rtc-test.0: test_rtc_set_mmss, secs = 1410975246
Sep 17 19:47:12 (none) user.info kernel: [ 4468.325833] rtc-test rtc-test.0: test_rtc_set_mmss, secs = 1410976032
Sep 17 20:40:11 (none) user.info kernel: [ 7647.426180] rtc-test rtc-test.0: test_rtc_set_mmss, secs = 1410979211
Sep 17 20:53:26 (none) user.info kernel: [ 8442.464669] rtc-test rtc-test.0: test_rtc_set_mmss, secs = 1410980007
Sep 17 21:20:03 (none) user.info kernel: [10039.516902] rtc-test rtc-test.0: test_rtc_set_mmss, secs = 1410981604
Sep 17 21:34:47 (none) user.alert kernel: [10923.352605] XFS (sda1): Metadata corruption detected at xfs_dir3_data_read_verify+0x48/0xc0, block 0x950b600
Sep 17 21:34:47 (none) user.alert kernel: [10923.352638] XFS (sda1): Unmount and run xfs_repair
Sep 17 21:34:47 (none) user.alert kernel: [10923.352655] XFS (sda1): First 64 bytes of corrupted metadata buffer:
Sep 17 21:34:47 (none) user.alert kernel: [10923.352676] dc2c4000: 58 46 53 42 00 00 10 00 00 00 00 00 04 a8 5b 00 XFSB..........[.
Sep 17 21:34:47 (none) user.alert kernel: [10923.352692] dc2c4010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Sep 17 21:34:47 (none) user.alert kernel: [10923.352708] dc2c4020: 71 ff f7 5b d9 9a 46 50 bd 17 77 8c 7e 04 27 2f q..[..FP..w.~.'/
Sep 17 21:34:47 (none) user.alert kernel: [10923.352722] dc2c4030: 00 00 00 00 04 00 00 04 00 00 00 00 00 00 00 80 ................
Sep 17 21:34:47 (none) user.alert kernel: [10923.352790] XFS (sda1): metadata I/O error: block 0x950b600 ("xfs_trans_read_buf_map") error 117 numblks 8
Sep 17 21:34:47 (none) user.info kernel: [10923.352842] nfsd: non-standard errno: -117
Sep 17 21:34:47 (none) user.alert kernel: [10923.495201] XFS (sda1): Metadata corruption detected at xfs_dir3_data_read_verify+0x48/0xc0, block 0x1bf22200
Sep 17 21:34:47 (none) user.alert kernel: [10923.495231] XFS (sda1): Unmount and run xfs_repair
Sep 17 21:34:47 (none) user.alert kernel: [10923.495245] XFS (sda1): First 64 bytes of corrupted metadata buffer:
Sep 17 21:34:47 (none) user.alert kernel: [10923.495264] d8f1b000: 58 46 53 42 00 00 10 00 00 00 00 00 04 a8 5b 00 XFSB..........[.
Sep 17 21:34:47 (none) user.alert kernel: [10923.495279] d8f1b010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Sep 17 21:34:47 (none) user.alert kernel: [10923.495297] d8f1b020: 71 ff f7 5b d9 9a 46 50 bd 17 77 8c 7e 04 27 2f q..[..FP..w.~.'/
Sep 17 21:34:47 (none) user.alert kernel: [10923.495342] d8f1b030: 00 00 00 00 04 00 00 04 00 00 00 00 00 00 00 80 ................
Sep 17 21:34:47 (none) user.alert kernel: [10923.495423] XFS (sda1): metadata I/O error: block 0x1bf22200 ("xfs_trans_read_buf_map") error 117 numblks 8
Sep 17 21:34:47 (none) user.info kernel: [10923.495471] nfsd: non-standard errno: -117
Sep 17 21:34:47 (none) user.alert kernel: [10923.500045] XFS (sda1): Metadata corruption detected at xfs_dir3_data_read_verify+0x48/0xc0, block 0x950b600
Sep 17 21:34:47 (none) user.alert kernel: [10923.500078] XFS (sda1): Unmount and run xfs_repair
Sep 17 21:34:47 (none) user.alert kernel: [10923.500091] XFS (sda1): First 64 bytes of corrupted metadata buffer:
Sep 17 21:34:47 (none) user.alert kernel: [10923.500111] d8f1b000: 58 46 53 42 00 00 10 00 00 00 00 00 04 a8 5b 00 XFSB..........[.
Sep 17 21:34:47 (none) user.alert kernel: [10923.500126] d8f1b010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Sep 17 21:34:47 (none) user.alert kernel: [10923.500139] d8f1b020: 71 ff f7 5b d9 9a 46 50 bd 17 77 8c 7e 04 27 2f q..[..FP..w.~.'/
Sep 17 21:34:47 (none) user.alert kernel: [10923.500153] d8f1b030: 00 00 00 00 04 00 00 04 00 00 00 00 00 00 00 80 ................
Sep 17 21:34:47 (none) user.alert kernel: [10923.500668] XFS (sda1): metadata I/O error: block 0x950b600 ("xfs_trans_read_buf_map") error 117 numblks 8
Sep 17 21:34:47 (none) user.info kernel: [10923.500723] nfsd: non-standard errno: -117
Erst nachdem ich ein Paketupdate gemacht hatte, hatte ich wieder ein Bild auf den Client....