Dobry den,
v Turrisu mam SD kartu, kam si ukladam statiky vnstat, databaze Majordoma a pripadne dalsi zalohy, abych neopotreboval flash pamet routeru. Tento tyden v pondeli jsem vsak zjistil, ze Turris SD kartu vubec nevidi a v adresari /dev chybel soubor mmcblk0p1. Nepomahal restart, tak jsem musel uvest Turriska do tovarniho nastaveni a pak uz bylo vse OK.
Nejsem linuxak a trochu se v tom neorietuju. Zajimalo by me, jestli behem te doby, kdy SD karta nebyla namountovana, se statistiky, ktere ukladam do adresare /data, ktery je namapovany prave na SD kartu, ukladaly do adresare /data na flash pameti nebo do adresare /data na SD karte, co tam "nebyla".
Taky jsem si vsiml v systemovem logu nejake error hlasky, ktere jsem tam predtim nevidel:
2015-01-22T11:29:16+01:00 err kernel[]: [ 0.000000] mpc85xx_rdb_setup_arch: Could not find Quicc Engine node
2015-01-22T11:29:16+01:00 info kernel[]: [ 0.000000] MPC85xx RDB board from Freescale Semiconductor
2015-01-22T11:29:16+01:00 warning kernel[]: [ 0.000000] Zone ranges:
2015-01-22T11:29:16+01:00 warning kernel[]: [ 0.000000] DMA [mem 0x00000000-0x1fffffff]
2015-01-22T11:29:16+01:00 warning kernel[]: [ 0.000000] Normal empty
2015-01-22T11:29:16+01:00 warning kernel[]: [ 0.000000] HighMem [mem 0x20000000-0x7fffffff]
2015-01-22T11:29:16+01:00 warning kernel[]: [ 0.000000] Movable zone start for each node
2015-01-22T11:29:16+01:00 warning kernel[]: [ 0.000000] Early memory node ranges
2015-01-22T11:29:16+01:00 warning kernel[]: [ 0.000000] node 0: [mem 0x00000000-0x7fffffff]
2015-01-22T11:29:16+01:00 warning kernel[]: [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 523264
2015-01-22T11:29:16+01:00 notice kernel[]: [ 0.000000] Kernel command line: root=/dev/mtdblock8 rw rootfstype=jffs2 console=ttyS0,115200
015-01-22T11:29:16+01:00 err kernel[]: [ 0.000000] mpc85xx_rdb_pic_init: Could not find qe-ic node
2015-01-22T11:29:16+01:00 err kernel[]: [ 0.138361] pci 0000:00:00.0: ignoring class 0x0b2000 (doesn't match header type 01)
2015-01-22T11:29:16+01:00 err kernel[]: [ 0.186745] pci 0001:02:00.0: ignoring class 0x0b2000 (doesn't match header type 01)
2015-01-22T11:29:16+01:00 warning kernel[]: [ 0.335852] bounce pool size: 64 pages
2015-01-22T11:29:16+01:00 err kernel[]: [ 0.625758] ar8216: Module init.
2015-01-22T11:29:16+01:00 err kernel[]: [ 0.639440] ar8216: probe addr 0.
2015-01-22T11:29:16+01:00 crit kernel[]: [ 0.642884] phy_id: 4dd036, ar8xxx_phy_ids
: 4dd033
2015-01-22T11:29:16+01:00 crit kernel[]: [ 0.647937] phy_id: 4dd036, ar8xxx_phy_ids: 4dd034
2015-01-22T11:29:16+01:00 crit kernel[]: [ 0.652989] phy_id: 4dd036, ar8xxx_phy_ids: 4dd036
2015-01-22T11:29:16+01:00 crit kernel[]: [ 0.658143] phy_id: 4dd036, ar8xxx_phy_ids: 4dd033
2015-01-22T11:29:16+01:00 crit kernel[]: [ 0.663194] phy_id: 4dd036, ar8xxx_phy_ids: 4dd034
2015-01-22T11:29:16+01:00 crit kernel[]: [ 0.668245] phy_id: 4dd036, ar8xxx_phy_ids: 4dd036
2015-01-22T11:29:16+01:00 crit kernel[]: [ 0.673400] phy_id: 4dd036, ar8xxx_phy_ids: 4dd033
2015-01-22T11:29:16+01:00 crit kernel[]: [ 0.678452] phy_id: 4dd036, ar8xxx_phy_ids: 4dd034
2015-01-22T11:29:16+01:00 crit kernel[]: [ 0.683503] phy_id: 4dd036, ar8xxx_phy_ids: 4dd036
2015-01-22T11:29:16+01:00 crit kernel[]: [ 0.688658] phy_id: 4dd036, ar8xxx_phy_ids: 4dd033
2015-01-22T11:29:16+01:00 crit kernel[]: [ 0.693709] phy_id: 4dd036, ar8xxx_phy_ids: 4dd034
2015-01-22T11:29:16+01:00 crit kernel[]: [ 0.698760] phy_id: 4dd036, ar8xxx_phy_ids: 4dd036
2015-01-22T11:29:16+01:00 err kernel[]: [ 0.703811] ar8216: gonna list.
2015-01-22T11:29:16+01:00 err kernel[]: [ 0.706950] ar8216: after list.
2015-01-22T11:29:16+01:00 err kernel[]: [ 0.710089] ar8216: Identifying chip.
2015-01-22T11:29:16+01:00 err kernel[]: [ 0.744221] ar8216: FOUND!!!.
2015-01-22T11:29:16+01:00 warning kernel[]: [ 8.061328] raid6: int32x1 157 MB/s
2015-01-22T11:29:16+01:00 warning kernel[]: [ 8.133194] raid6: int32x2 250 MB/s
2015-01-22T11:29:16+01:00 warning kernel[]: [ 8.201082] raid6: int32x4 379 MB/s
2015-01-22T11:29:16+01:00 warning kernel[]: [ 8.269006] raid6: int32x8 362 MB/s
2015-01-22T11:29:16+01:00 warning kernel[]: [ 8.272758] raid6: using algorithm int32x4 (379 MB/s)
2015-01-22T11:29:16+01:00 warning kernel[]: [ 8.277815] raid6: using intx1 recovery algorithm
2015-01-22T11:29:16+01:00 warning kernel[]: [ 10.734042] Failed to load ipt action
2015-01-22T11:29:16+01:00 err kernel[]: [ 20.683226] ar8216: Module config init.
2015-01-22T11:29:16+01:00 info kernel[]: [ 20.705082] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
2015-01-22T11:29:16+01:00 info kernel[]: [ 20.725091] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
2015-01-22T11:29:16+01:00 info kernel[]: [ 20.757084] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
2015-01-22T11:29:16+01:00 err kernel[]: [ 21.684989] ar8216: config aneg.
2015-01-22T11:29:16+01:00 err kernel[]: [ 21.767400] ar8216: Module config init.
2015-01-22T11:29:16+01:00 info kernel[]: [ 21.771496] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
2015-01-22T11:29:16+01:00 info kernel[]: [ 21.782322] device eth0 entered promiscuous mode
2015-01-22T11:29:16+01:00 info kernel[]: [ 21.787436] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
2015-01-22T11:29:16+01:00 info kernel[]: [ 21.797352] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
2015-01-22T11:29:16+01:00 info kernel[]: [ 21.808292] device eth1 entered promiscuous mode
2015-01-22T11:29:16+01:00 info kernel[]: [ 21.814359] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
2015-01-22T11:29:16+01:00 err kernel[]: [ 22.768973] ar8216: config aneg.
2015-01-22T11:29:20+01:00 emerg syslog[]: configfile: stat (/etc/collectd/conf.d) failed: No such file or directory
2015-01-22T11:29:20+01:00 emerg syslog[]: rrdtool plugin: RRASingle = true: creating only AVERAGE RRAs
2015-01-22T11:29:20+01:00 emerg syslog[]: + BASE_PLAN_FILE=/usr/share/updater/plan
2015-01-22T11:29:20+01:00 emerg syslog[]: + EXIT_CODE=1
2015-01-22T11:29:20+01:00 emerg syslog[]: + [ ! -f /usr/share/updater/plan ]
2015-01-22T11:29:20+01:00 emerg syslog[]: + exit 0
Nemuze byt problem s SD kartou? Existuje nejaky chkdsk command v linuxu, abych zjistil, jestli je SD karta v poradku? Nemohlo se stat, ze kdyz se mi co 5 minut zapisuji statistiky na SD kartu, ktera tam nebyla videt, tak se data zapisovala do adresare /data, ktery byl v tu dobu ve flash pameti a ta se treba mohla tim zapisovanim opotrebit (nejsem schopny zjistit, jak dlouho trval tento nekonzistentni stav)?