Odp: Witam - kilka pytań początkującego
A więc tak udało mi się dziś na trochę podłączyć router pod RS'a.
Podłączyłem router, zrobiłem restart, po restarcie ustawiłem hd-idle żeby dysk się wyłączył po 2min.
Po ok 1h okazało się że przestało działać wol, samba, dlna. Po restarcie routera i wyłączeniu opcji hd-idle wszystko działa do tej pory.
Podczas testu jak się wszystko wysypało putty zarejestrował coś takiego
U-Boot 1.1.4 (Apr 28 2013 - 16:01:02)
AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash: 8 MB
Using default environment
In: serial
Out: serial
Err: serial
Net: ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 seconds## Booting image at bf020000 ...
Uncompressing Kernel Image ... OK
Starting kernel ...
OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Looking for OpenWrt image... found at 0xbf022000
Decompressing kernel... done!
Starting kernel at 80060000...
[ 0.000000] Linux version 3.3.8 (cezary@eko.one.pl) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #69 Sat Sep 27 10:15:45 CEST 2014
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR9132 rev 2
[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:5.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00002000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00002000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: board=TL-WR1043ND console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 28936k/32768k available (2256k kernel code, 3832k reserved, 425k data, 220k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[ 0.080000] pid_max: default: 32768 minimum: 301
[ 0.080000] Mount-cache hash table entries: 512
[ 0.090000] NET: Registered protocol family 16
[ 0.090000] gpiochip_add: registered GPIOs 0 to 21 on device: ath79
[ 0.100000] MIPS: machine is TP-LINK TL-WR1043ND
[ 0.360000] bio: create slab <bio-0> at 0
[ 0.370000] Switching to clocksource MIPS
[ 0.380000] NET: Registered protocol family 2
[ 0.380000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.380000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.390000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.390000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.400000] TCP reno registered
[ 0.400000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.410000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.420000] NET: Registered protocol family 1
[ 0.440000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.440000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.450000] msgmni has been set to 56
[ 0.460000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 0.460000] io scheduler noop registered
[ 0.470000] io scheduler deadline registered (default)
[ 0.470000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.510000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[ 0.510000] console [ttyS0] enabled, bootconsole disabled
[ 0.510000] console [ttyS0] enabled, bootconsole disabled
[ 0.530000] m25p80 spi0.0: found s25sl064a, expected m25p80
[ 0.530000] m25p80 spi0.0: s25sl064a (8192 Kbytes)
[ 0.540000] 5 tp-link partitions found on MTD device spi0.0
[ 0.540000] Creating 5 MTD partitions on "spi0.0":
[ 0.550000] 0x000000000000-0x000000020000 : "u-boot"
[ 0.560000] 0x000000020000-0x000000110e00 : "kernel"
[ 0.560000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.570000] 0x000000110e00-0x0000007f0000 : "rootfs"
[ 0.580000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.590000] mtd: partition "rootfs" set to be root filesystem
[ 0.600000] mtd: partition "rootfs_data" created automatically, ofs=680000, len=170000
[ 0.610000] 0x000000680000-0x0000007f0000 : "rootfs_data"
[ 0.620000] 0x0000007f0000-0x000000800000 : "art"
[ 0.620000] 0x000000020000-0x0000007f0000 : "firmware"
[ 0.630000] Realtek RTL8366RB ethernet switch driver version 0.2.3
[ 0.750000] rtl8366rb rtl8366rb: using GPIO pins 18 (SDA) and 19 (SCK)
[ 0.750000] rtl8366rb rtl8366rb: RTL5937 ver. 3 chip found
[ 0.930000] rtl8366rb: probed
[ 0.940000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[ 1.240000] TCP cubic registered
[ 1.250000] NET: Registered protocol family 17
[ 1.250000] Bridge firewalling registered
[ 1.260000] Ebtables v2.0 registered
[ 1.260000] 8021q: 802.1Q VLAN Support v1.8
[ 1.270000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 1.280000] Freeing unused kernel memory: 220k freed
[ 3.550000] eth0: link up (1000Mbps/Full duplex)
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[ 7.310000] JFFS2 notice: (439) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 43 of xref (0 dead, 15 orphan) found.
[ 8.170000] SCSI subsystem initialized
[ 8.410000] usbcore: registered new interface driver usbfs
[ 8.420000] usbcore: registered new interface driver hub
[ 8.430000] usbcore: registered new device driver usb
[ 8.960000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 8.960000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[ 8.970000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 9.010000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 9.030000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 9.030000] hub 1-0:1.0: USB hub found
[ 9.040000] hub 1-0:1.0: 1 port detected
[ 9.100000] Initializing USB Mass Storage driver...
[ 9.110000] usbcore: registered new interface driver usb-storage
[ 9.120000] USB Mass Storage support registered.
[ 9.280000] usbcore: registered new interface driver ums-alauda
[ 9.290000] usbcore: registered new interface driver ums-cypress
[ 9.300000] usbcore: registered new interface driver ums-datafab
[ 9.320000] usbcore: registered new interface driver ums-freecom
[ 9.330000] usbcore: registered new interface driver ums-isd200
[ 9.350000] usbcore: registered new interface driver ums-jumpshot
[ 9.360000] usbcore: registered new interface driver ums-karma
[ 9.370000] usbcore: registered new interface driver ums-sddr09
[ 9.390000] usbcore: registered new interface driver ums-sddr55
[ 9.400000] usbcore: registered new interface driver ums-usbat
[ 9.420000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 9.600000] hub 1-1:1.0: USB hub found
[ 9.610000] hub 1-1:1.0: 4 ports detected
[ 10.020000] usb 1-1.1: new high-speed USB device number 3 using ehci-platform
[ 10.150000] scsi0 : usb-storage 1-1.1:1.0
[ 10.250000] usb 1-1.4: new high-speed USB device number 4 using ehci-platform
[ 10.390000] scsi1 : usb-storage 1-1.4:1.0
[ 11.150000] scsi 0:0:0:0: Direct-Access CBM Flash Disk 5.00 PQ: 0 ANSI: 2
[ 11.160000] sd 0:0:0:0: [sda] 4088832 512-byte logical blocks: (2.09 GB/1.94 GiB)
[ 11.160000] sd 0:0:0:0: [sda] Write Protect is off
[ 11.170000] sd 0:0:0:0: [sda] No Caching mode page present
[ 11.180000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 11.190000] sd 0:0:0:0: [sda] No Caching mode page present
[ 11.190000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 11.200000] sda: sda1 sda2
[ 11.210000] sd 0:0:0:0: [sda] No Caching mode page present
[ 11.210000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 11.220000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 11.390000] scsi 1:0:0:0: Direct-Access ASMT 2105 0 PQ: 0 ANSI: 6
[ 11.400000] sd 1:0:0:0: [sdb] 117210240 512-byte logical blocks: (60.0 GB/55.8 GiB)
[ 11.410000] sd 1:0:0:0: [sdb] Write Protect is off
[ 11.410000] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 11.690000] sdb: sdb1
[ 11.700000] sd 1:0:0:0: [sdb] Attached SCSI disk
[ 32.540000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
switching to external rootfs
- init -
[ 32.680000] eth0: link down
Please press Enter to activate this console. [ 33.320000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[ 33.330000] Backport generated by backports.git backports-20140320-37-g5c33da0
[ 33.510000] cfg80211: Calling CRDA to update world regulatory domain
[ 33.510000] cfg80211: World regulatory domain updated:
[ 33.520000] cfg80211: DFS Master region: unset
[ 33.520000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 33.530000] cfg80211: (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[ 33.540000] cfg80211: (5140000 KHz - 5860000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[ 33.830000] NET: Registered protocol family 10
[ 35.230000] ieee80211 phy0: Atheros AR9100 MAC/BB Rev:7 AR2133 RF Rev:a2 mem=0xb80c0000, irq=2
[ 35.240000] cfg80211: Calling CRDA for country: US
[ 35.250000] cfg80211: Regulatory domain changed to country: US
[ 35.250000] cfg80211: DFS Master region: unset
[ 35.260000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 35.270000] cfg80211: (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[ 35.280000] cfg80211: (5140000 KHz - 5860000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[ 35.660000] RPC: Registered named UNIX socket transport module.
[ 35.670000] RPC: Registered udp transport module.
[ 35.670000] RPC: Registered tcp transport module.
[ 35.670000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 36.250000] PPP generic driver version 2.4.2
[ 36.640000] tun: Universal TUN/TAP device driver, 1.6
[ 36.640000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 36.780000] GRE over IPv4 demultiplexor driver
[ 36.800000] GRE over IPv4 tunneling driver
[ 37.180000] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 37.290000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 37.900000] NET: Registered protocol family 24
[ 38.060000] nf_conntrack version 0.5.0 (455 buckets, 1820 max)
[ 38.560000] PPTP driver version 0.8.5
[ 39.500000] xt_time: kernel timezone is -0000
[ 40.360000] Hooked IMQ after mangle on PREROUTING
[ 40.370000] Hooked IMQ after nat on POSTROUTING
[ 40.370000] IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
[ 40.610000] Netfilter messages via NETLINK v0.30.
[ 40.870000] ip_set: protocol 6
[ 41.610000] usbcore: registered new interface driver cdc_acm
[ 41.620000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 41.780000] usbcore: registered new interface driver usblp
[ 41.820000] usbcore: registered new interface driver usbserial
[ 41.820000] USB Serial support registered for generic
[ 41.830000] usbcore: registered new interface driver usbserial_generic
[ 41.830000] usbserial: USB Serial Driver core
[ 41.940000] USB Serial support registered for Sierra USB modem
[ 41.950000] usbcore: registered new interface driver sierra
[ 41.950000] sierra: v.1.7.40:USB Driver for Sierra Wireless USB modems
[ 41.980000] usbcore: registered new interface driver sierra_net
[ 42.240000] usbcore: registered new interface driver cdc_wdm
[ 42.260000] usbcore: registered new interface driver cdc_ether
[ 42.440000] usbcore: registered new interface driver cdc_ncm
[ 42.530000] usbcore: registered new interface driver qmi_wwan
[ 42.560000] usbcore: registered new interface driver rndis_host
[ 42.670000] USB Serial support registered for GSM modem (1-port)
[ 42.680000] usbcore: registered new interface driver option
[ 42.680000] option: v0.7.2:USB Driver for GSM modems
[ 42.710000] USB Serial support registered for Qualcomm USB modem
[ 42.710000] usbcore: registered new interface driver qcserial
[ 42.880000] fuse init (API version 7.18)
[ 52.030000] eth0: link up (1000Mbps/Full duplex)
[ 52.330000] device eth0.1 entered promiscuous mode
[ 52.340000] device eth0 entered promiscuous mode
[ 52.350000] br-lan: port 1(eth0.1) entered forwarding state
[ 52.350000] br-lan: port 1(eth0.1) entered forwarding state
[ 52.730000] ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 54.350000] br-lan: port 1(eth0.1) entered forwarding state
[ 57.280000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 57.280000] device wlan0 entered promiscuous mode
[ 57.310000] br-lan: port 2(wlan0) entered forwarding state
[ 57.310000] br-lan: port 2(wlan0) entered forwarding state
[ 57.320000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 59.310000] br-lan: port 2(wlan0) entered forwarding state
[ 66.990000] disktype: sending ioctl 5305 to a partition!
[ 67.000000] disktype: sending ioctl 5305 to a partition!
[ 67.260000] Adding 511096k swap on /dev/sda2. Priority:-1 extents:1 across:511096k
[ 67.360000] disktype: sending ioctl 5305 to a partition!
[ 67.360000] disktype: sending ioctl 5305 to a partition!
[ 67.450000] EXT4-fs (sdb1): mounting ext3 file system using the ext4 subsystem
[ 67.630000] EXT4-fs (sdb1): recovery complete
[ 67.630000] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
[ 74.990000] svc: failed to register lockdv1 RPC service (errno 124).
[ 87.800000] disktype: sending ioctl 5305 to a partition!
[ 87.800000] disktype: sending ioctl 5305 to a partition!
[ 88.410000] Adding 511096k swap on /dev/sda2. Priority:-1 extents:1 across:511096k
[ 88.510000] disktype: sending ioctl 5305 to a partition!
[ 88.510000] disktype: sending ioctl 5305 to a partition!
[ 93.930000] disktype: sending ioctl 5305 to a partition!
[ 93.930000] disktype: sending ioctl 5305 to a partition!
[ 94.260000] Adding 511096k swap on /dev/sda2. Priority:-1 extents:1 across:511096k
[ 94.310000] disktype: sending ioctl 5305 to a partition!
[ 94.320000] disktype: sending ioctl 5305 to a partition!
[ 97.030000] disktype: sending ioctl 5305 to a partition!
[ 97.040000] disktype: sending ioctl 5305 to a partition!
[ 97.170000] Adding 511096k swap on /dev/sda2. Priority:-1 extents:1 across:511096k
[ 97.320000] disktype: sending ioctl 5305 to a partition!
[ 97.320000] disktype: sending ioctl 5305 to a partition!
[ 99.940000] disktype: sending ioctl 5305 to a partition!
[ 99.940000] disktype: sending ioctl 5305 to a partition!
[ 100.070000] Adding 511096k swap on /dev/sda2. Priority:-1 extents:1 across:511096k
[ 100.130000] disktype: sending ioctl 5305 to a partition!
[ 100.130000] disktype: sending ioctl 5305 to a partition!
[ 151.100000] ipt_bandwidth: timezone shift of 120 minutes detected, adjusting
[ 151.110000] old minutes west=0, new minutes west=-120
[ 1676.000000] disktype: sending ioctl 5305 to a partition!
[ 1676.010000] disktype: sending ioctl 5305 to a partition!
[ 1676.060000] EXT4-fs error (device sda1): ext4_find_entry:935: inode #284: comm busybox: reading directory lblock 0
[ 3042.340000] Buffer I/O error on device sda1, logical block 38401
[ 3042.340000] EXT4-fs warning (device sda1): ext4_end_bio:250: I/O error writing to inode 27 (offset 0 size 4096 starting block 38658)
[ 3048.020000] JBD2: Detected IO errors while flushing file data on sda1-8
[ 3048.020000] Aborting journal on device sda1-8.
[ 3048.030000] JBD2: I/O error detected when updating journal superblock for sda1-8.
Mam nadzieję że dobrze zrobiłem.