Temat: WRT160NL, instalacja od poczatku

Witajcie,
zaczynam reinstalacje starego gargoyle na routerze na nową "gargoyle-1.5.9.7-ar71xx-wrt160nl-squashfs-sysupgrade.bin".

Czy podłączenie aktywnego HUBa USB można wykonać w dowolnym momencie, tzn. czy HUB USB jest transparentny? Pytam ponieważ chce uniknąć dodatkowej "dużej" konfiguracji w przyszłości.

Sytuacja teraz:
router -> dysk (extroot) bezpośrednio pod USB routera

Sytuacja docelowa:
router -> HUB USB -> 1) dysk (extroot) pod USB huba
                              2) kamera pod USB huba
                              3) np. modem 3G

2

Odp: WRT160NL, instalacja od poczatku

Tak, hub jest przezroczysty z takiego punktu widzenia. Natomiast może powodować różne problemy transmisyjne, ale to już Ci wyjdzie w praniu.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3 (edytowany przez debiecm 2013-04-11 12:51:03)

Odp: WRT160NL, instalacja od poczatku

OK, thx.

Jeszcze jedno pytanie, do ilu znaków (łącznie ze specjalnymi) może mieć hasło dla WiFi?
Próbowałem np. z 50cioma i nie zapisuje konfiguracji przez GUI. Przy długości hasła 30tu znaków jest OK.

4

Odp: WRT160NL, instalacja od poczatku

999 znaków przyjmuje formularz w htmlu. Sprawdzę w domu ile znaków akceptuje bo nie wiem teraz.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: WRT160NL, instalacja od poczatku

ok, thx.
Do hasła używam generatora: http://strongpasswordgenerator.com/

6 (edytowany przez debiecm 2013-09-14 23:01:45)

Odp: WRT160NL, instalacja od poczatku

Witam,
pisze w tym poście bo w końcu usiadłem do instalacji na router'ku od zera.
Zrobiłem extroot'a zgodnie z poradnikiem i po reboot  mam konfiguracje taka sama jak przed. Co więcej po df -h widzę:

Filesystem                Size      Used Available Use% Mounted on
rootfs                    1.1M    292.0K    796.0K  27% /
/dev/root                 5.3M      5.3M         0 100% /rom
tmpfs                    14.2M    136.0K     14.1M   1% /tmp
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock3            1.1M    292.0K    796.0K  27% /overlay
overlayfs:/overlay        1.1M    292.0K    796.0K  27% /
/dev/sda2               186.0G      2.9G    183.1G   2% /tmp/overlay-disabled
/dev/sda2               186.0G      2.9G    183.1G   2% /tmp/usb_mount/0105f58f-54f5-4efa-87bb-65c5a4e446fe

Output z polecenia mount:
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=14580k)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/mtdblock3 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,relatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
/dev/sda2 on /tmp/overlay-disabled type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda2 on /tmp/usb_mount/0105f58f-54f5-4efa-87bb-65c5a4e446fe type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)


Plik fstab (/overlay/etc/config) wygląda następująco:

config global 'automount'
    option from_fstab '1'
    option anon_mount '1'

config global 'autoswap'
    option from_fstab '1'
    option anon_swap '0'

config mount
    option fstype 'ext4'
    option enabled_fsck '0'
    option target '/overlay'
    option device '/dev/sda2'
    option options 'rw,noatime'
    option enabled '1'

config swap
    option device '/dev/sda1'
    option enabled '1'

1) Czy oby wszystko jest OK z extroot'em? Martwi mnie to /tmp/overlay-disabled.
2) Skasowałem pliki extroot.md5sum i nic to samo.
3) W logread widzę masę takich wpisów - co to?
         Sep 14 23:55:20 Linksys kern.warn kernel: [   82.500000] disktype: sending ioctl 5305 to a partition!

7

Odp: WRT160NL, instalacja od poczatku

1. nie, źle jest
3. system wykrywa partycje, nie przejmuj się tym.

Używasz gargoyle. Zrobiłeś extroota zgodnie z tym: http://eko.one.pl/?p=gargoyle-fstab#int … racjarczna ? Czy czasami nie zrobiłeś tego extroota na karcie pamięci w modemie 3g?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

8

Odp: WRT160NL, instalacja od poczatku

Witaj,
zrobiłem upgrade do "gargoyle-1.5.10.12-ar71xx-wrt160nl-squashfs-sysupgrade.bin" (usuniecie starej konfiguracji). Dysk USB 200GB 2,5" podpięty bezpośrednio pod router. EXTroot'a robiłem zgodnie z http://eko.one.pl/?p=openwrt-externalroot.

9

Odp: WRT160NL, instalacja od poczatku

Zrób zgodnie z linkiem powyżej, bo w grargoyle będzie to to gryzło z pluginiem (albo go odinstaluj).

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

10

Odp: WRT160NL, instalacja od poczatku

OK,
sprawdzę i dam znać. Thx.

11 (edytowany przez debiecm 2013-09-16 15:11:59)

Odp: WRT160NL, instalacja od poczatku

Witaj,
niestety dalej to samo, nawet zrobiłem od początku update żeby wyczyścił cały konfig. Kroki które wykonałem po skonfigurowaniu router'a:


1) Przygotowanie partycji:
/dev/sda1 - SWAP (64M), nie formatowałem
/dev/sda2 - Linux

2) Odmontowanie dysku /dev/sda bo był zamontowany
# umount /dev/sda2

3) Formatowanie partycji pod extroot'a
# mkfs.ext4 -m 0 -L EXTROOT /dev/sda2

4) Przygotowanie do extroot'a
# opkg update
# opkg install block-mount
# uci set fstab.automount.anon_mount=0
# uci commit fstab
# uci set fstab.@mount[0].target=/overlay
# uci set fstab.@mount[0].device=/dev/sda2
# uci set fstab.@mount[0].enabled=1
# uci set fstab.@mount[0].fstype=ext4
# uci commit fstab

5) Sprawdzenie pliku /etc/config/fstab i jego output
# cat /etc/config/fstab

config global 'automount'
        option from_fstab '1'
        option anon_mount '0'

config global 'autoswap'
        option from_fstab '1'
        option anon_swap '0'

config mount
        option fstype 'ext4'
        option options 'rw,sync'
        option enabled_fsck '0'
        option target '/overlay'
        option device '/dev/sda2'
        option enabled '1'

config swap
        option device '/dev/sda1'
        option enabled '0'


6) Uruchomienie extroot'a
# /etc/init.d/fstab enable
# reboot

7) Po restarcie, ten sam problem co ostatnio (/tmp/overlay-disabled):
# df -h

Filesystem                Size      Used Available Use% Mounted on
rootfs                    1.1M    276.0K    812.0K  25% /
/dev/root                 5.3M      5.3M         0 100% /rom
tmpfs                    14.2M    132.0K     14.1M   1% /tmp
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock3            1.1M    276.0K    812.0K  25% /overlay
overlayfs:/overlay        1.1M    276.0K    812.0K  25% /
/dev/sda2               186.0G      2.9G    183.1G   2% /tmp/overlay-disabled
/dev/sda2               186.0G      2.9G    183.1G   2% /tmp/usb_mount/bfa60f1d-fc61-4e1e-9e3b-195a28a816e5



Jakieś pomysły co robię nie tak?

12

Odp: WRT160NL, instalacja od poczatku

root@Linksys:~# logread
Jan  1 01:00:40 Linksys kern.info kernel: [   38.630000] usbcore: registered new interface driver ums-sddr09
Jan  1 01:00:40 Linksys kern.info kernel: [   38.660000] usbcore: registered new interface driver ums-sddr55
Jan  1 01:00:40 Linksys kern.info kernel: [   38.680000] usbcore: registered new interface driver ums-usbat
Jan  1 01:00:40 Linksys kern.info kernel: [   38.790000] usbcore: registered new interface driver cdc_wdm
Jan  1 01:00:40 Linksys kern.info kernel: [   38.810000] usbcore: registered new interface driver cdc_ether
Jan  1 01:00:40 Linksys kern.info kernel: [   38.860000] usbcore: registered new interface driver cdc_ncm
Jan  1 01:00:40 Linksys kern.info kernel: [   38.950000] usbcore: registered new interface driver qmi_wwan
Jan  1 01:00:40 Linksys kern.info kernel: [   38.980000] usbcore: registered new interface driver rndis_host
Jan  1 01:00:40 Linksys kern.info kernel: [   39.090000] USB Serial support registered for GSM modem (1-port)
Jan  1 01:00:40 Linksys kern.info kernel: [   39.100000] usbcore: registered new interface driver option
Jan  1 01:00:40 Linksys kern.info kernel: [   39.100000] option: v0.7.2:USB Driver for GSM modems
Jan  1 01:00:40 Linksys kern.info kernel: [   39.130000] USB Serial support registered for Qualcomm USB modem
Jan  1 01:00:40 Linksys kern.info kernel: [   39.130000] usbcore: registered new interface driver qcserial
Jan  1 01:00:40 Linksys kern.info kernel: [   39.300000] fuse init (API version 7.18)
Jan  1 01:00:40 Linksys kern.notice kernel: [   39.410000] scsi 0:0:0:0: Direct-Access     ST920042 0AS                   PQ: 0 ANSI: 0
Jan  1 01:00:40 Linksys kern.notice kernel: [   39.420000] sd 0:0:0:0: [sda] 390721967 512-byte logical blocks: (200 GB/186 GiB)
Jan  1 01:00:40 Linksys kern.notice kernel: [   39.420000] sd 0:0:0:0: [sda] Write Protect is off
Jan  1 01:00:40 Linksys kern.debug kernel: [   39.430000] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
Jan  1 01:00:40 Linksys kern.err kernel: [   39.430000] sd 0:0:0:0: [sda] No Caching mode page present
Jan  1 01:00:40 Linksys kern.err kernel: [   39.440000] sd 0:0:0:0: [sda] Assuming drive cache: write through
Jan  1 01:00:40 Linksys kern.err kernel: [   39.450000] sd 0:0:0:0: [sda] No Caching mode page present
Jan  1 01:00:40 Linksys kern.err kernel: [   39.450000] sd 0:0:0:0: [sda] Assuming drive cache: write through
Jan  1 01:00:40 Linksys kern.info kernel: [   39.590000]  sda: sda1 sda2
Jan  1 01:00:40 Linksys kern.err kernel: [   39.600000] sd 0:0:0:0: [sda] No Caching mode page present
Jan  1 01:00:40 Linksys kern.err kernel: [   39.600000] sd 0:0:0:0: [sda] Assuming drive cache: write through
Jan  1 01:00:40 Linksys kern.notice kernel: [   39.610000] sd 0:0:0:0: [sda] Attached SCSI disk
Jan  1 01:00:45 Linksys kern.info kernel: [   45.030000] EXT4-fs (sda2): recovery complete
Jan  1 01:00:45 Linksys kern.info kernel: [   45.030000] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
Jan  1 01:00:46 Linksys kern.debug kernel: [   46.740000] ar71xx: pll_reg 0xb8050014: 0x13000a44
Jan  1 01:00:46 Linksys kern.info kernel: [   46.740000] eth0: link up (100Mbps/Full duplex)
Jan  1 01:00:47 Linksys kern.info kernel: [   47.080000] eth0: link down
Jan  1 01:00:47 Linksys daemon.notice netifd: Interface 'lan' is now up
Jan  1 01:00:47 Linksys kern.info kernel: [   47.090000] device eth0 entered promiscuous mode
Jan  1 01:00:47 Linksys daemon.notice netifd: Interface 'loopback' is now up
Jan  1 01:00:47 Linksys daemon.notice netifd: wan (982): udhcpc (v1.19.4) started
Jan  1 01:00:47 Linksys user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Jan  1 01:00:47 Linksys daemon.notice netifd: wan (982): Sending discover...
Jan  1 01:00:48 Linksys kern.debug kernel: [   48.740000] ar71xx: pll_reg 0xb8050014: 0x13000a44
Jan  1 01:00:48 Linksys kern.info kernel: [   48.740000] eth0: link up (100Mbps/Full duplex)
Jan  1 01:00:48 Linksys kern.info kernel: [   48.740000] br-lan: port 1(eth0) entered forwarding state
Jan  1 01:00:48 Linksys kern.info kernel: [   48.750000] br-lan: port 1(eth0) entered forwarding state
Jan  1 01:00:48 Linksys user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.3.8_ehci_hcd Product=Generic_Platform_EHCI_Controller Serial=ehci-platform
Jan  1 01:00:49 Linksys kern.debug kernel: [   49.780000] ar71xx: pll_reg 0xb8050018: 0x13000a44
Jan  1 01:00:49 Linksys kern.info kernel: [   49.780000] eth1: link up (100Mbps/Full duplex)
Jan  1 01:00:50 Linksys daemon.notice netifd: wan (982): Sending discover...
Jan  1 01:00:50 Linksys daemon.notice netifd: wan (982): Sending select for XXXXXXXX...
Jan  1 01:00:50 Linksys daemon.notice netifd: wan (982): Lease of XXXXXXXX obtained, lease time 86400
Jan  1 01:00:50 Linksys daemon.notice netifd: Interface 'wan' is now up
Jan  1 01:00:50 Linksys kern.info kernel: [   50.750000] br-lan: port 1(eth0) entered forwarding state
Jan  1 01:00:51 Linksys kern.info kernel: [   51.250000] cfg80211: Calling CRDA for country: PL
Jan  1 01:00:51 Linksys kern.info kernel: [   51.260000] cfg80211: Regulatory domain changed to country: PL
Jan  1 01:00:51 Linksys kern.info kernel: [   51.260000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jan  1 01:00:51 Linksys kern.info kernel: [   51.270000] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jan  1 01:00:51 Linksys kern.info kernel: [   51.280000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jan  1 01:00:51 Linksys kern.info kernel: [   51.280000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jan  1 01:00:51 Linksys kern.info kernel: [   51.290000] cfg80211:   (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
Jan  1 01:00:53 Linksys kern.info kernel: [   53.540000] device wlan0 entered promiscuous mode
Jan  1 01:00:53 Linksys kern.info kernel: [   53.870000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:53 Linksys kern.info kernel: [   53.880000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:55 Linksys kern.info kernel: [   55.880000] br-lan: port 2(wlan0) entered forwarding state
Sep 16 16:00:01 Linksys user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Super_Top Product=USB_2.0_SATA_BRIDGE Serial=M6116A016V20
Sep 16 16:00:03 Linksys authpriv.info dropbear[1451]: Running in background
Sep 16 16:00:03 Linksys daemon.warn httpd_gargoyle[1492]: started as root without requesting chroot(), warning only
Sep 16 16:00:03 Linksys daemon.notice httpd_gargoyle[1492]: httpd_gargoyle/1.0 14mar2008 starting on Linksys, port 443
Sep 16 16:00:06 Linksys kern.warn kernel: [   61.900000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:00:06 Linksys kern.warn kernel: [   61.900000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:00:06 Linksys kern.info kernel: [   62.130000] Adding 65532k swap on /dev/sda1.  Priority:-1 extents:1 across:65532k
Sep 16 16:00:06 Linksys kern.warn kernel: [   62.190000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:00:06 Linksys kern.warn kernel: [   62.190000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:41 Linksys user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Sep 16 16:17:41 Linksys user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Sep 16 16:17:41 Linksys kern.warn kernel: [   65.230000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:41 Linksys kern.warn kernel: [   65.230000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:41 Linksys kern.info kernel: [   65.270000] Adding 65532k swap on /dev/sda1.  Priority:-1 extents:1 across:65532k
Sep 16 16:17:41 Linksys kern.warn kernel: [   65.320000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:41 Linksys kern.warn kernel: [   65.320000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:43 Linksys kern.warn kernel: [   66.850000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:43 Linksys kern.warn kernel: [   66.850000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:43 Linksys kern.info kernel: [   66.890000] Adding 65532k swap on /dev/sda1.  Priority:-1 extents:1 across:65532k
Sep 16 16:17:43 Linksys kern.warn kernel: [   66.940000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:43 Linksys kern.warn kernel: [   66.940000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:45 Linksys daemon.info dnsmasq[1897]: started, version 2.66 cachesize 150
Sep 16 16:17:45 Linksys daemon.info dnsmasq[1897]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth
Sep 16 16:17:45 Linksys daemon.info dnsmasq-dhcp[1897]: DHCP, IP range XXXXXXXX, lease time 12h
Sep 16 16:17:45 Linksys daemon.info dnsmasq[1897]: using local addresses only for domain lan
Sep 16 16:17:45 Linksys daemon.info dnsmasq[1897]: reading /tmp/resolv.conf.auto
Sep 16 16:17:45 Linksys daemon.info dnsmasq[1897]: using nameserver XXXXXXX
Sep 16 16:17:45 Linksys daemon.info dnsmasq[1897]: using nameserver XXXXXXXXX
Sep 16 16:17:45 Linksys daemon.warn dnsmasq[1897]: ignoring nameserver XXXXXXXX - local interface
Sep 16 16:17:45 Linksys daemon.info dnsmasq[1897]: using local addresses only for domain lan
Sep 16 16:17:45 Linksys daemon.info dnsmasq[1897]: read /etc/hosts - 4 addresses
Sep 16 16:17:45 Linksys daemon.info dnsmasq-dhcp[1897]: read /etc/ethers - 1 addresses
Sep 16 16:17:45 Linksys user.err syslog: error starting threads: errno 89 (Function not implemented)
Sep 16 16:17:45 Linksys user.info sysinit: exportfs: could not open /var/lib/nfs/.etab.lock for locking: errno 2 (No such file or directory)
Sep 16 16:17:45 Linksys user.info sysinit: exportfs: can't lock /var/lib/nfs/etab for writing
Sep 16 16:17:45 Linksys user.info sysinit: exportfs: could not open /var/lib/nfs/.xtab.lock for locking: errno 2 (No such file or directory)
Sep 16 16:17:45 Linksys user.info sysinit: exportfs: can't lock /var/lib/nfs/xtab for writing
Sep 16 16:17:46 Linksys kern.warn kernel: [   69.520000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:46 Linksys kern.warn kernel: [   69.520000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:46 Linksys kern.info kernel: [   69.640000] Adding 65532k swap on /dev/sda1.  Priority:-1 extents:1 across:65532k
Sep 16 16:17:46 Linksys kern.warn kernel: [   69.730000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:46 Linksys kern.warn kernel: [   69.730000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:48 Linksys daemon.info ddns_gargoyle[2024]: Forcing update:
Sep 16 16:17:48 Linksys kern.warn kernel: [   72.120000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:48 Linksys kern.warn kernel: [   72.130000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:48 Linksys daemon.info ddns_gargoyle[2024]:                Could not determine local ip from url: http://whatismyip.org
Sep 16 16:17:48 Linksys kern.info kernel: [   72.210000] Adding 65532k swap on /dev/sda1.  Priority:-1 extents:1 across:65532k
Sep 16 16:17:48 Linksys kern.warn kernel: [   72.260000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:48 Linksys kern.warn kernel: [   72.270000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:49 Linksys user.notice root: vsftpd init: mounted = 1
Sep 16 16:17:49 Linksys user.notice root: vsftpd init: got_lock = 1
Sep 16 16:17:49 Linksys daemon.info ddns_gargoyle[2024]:                Could not determine local ip from url: http://checkmyip.com
Sep 16 16:17:49 Linksys user.info sysinit: WARNING: No shares defined, vsftpd will not be started
Sep 16 16:17:49 Linksys daemon.info ddns_gargoyle[2024]:                Successfully retrieved local ip from url: http://www.ipchicken.com
Sep 16 16:17:49 Linksys user.info sysinit: setting up led WLAN
Sep 16 16:17:50 Linksys daemon.info ddns_gargoyle[2024]:        Update successful
Sep 16 16:17:50 Linksys kern.warn kernel: [   74.350000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:50 Linksys kern.warn kernel: [   74.350000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:50 Linksys kern.info kernel: [   74.390000] Adding 65532k swap on /dev/sda1.  Priority:-1 extents:1 across:65532k
Sep 16 16:17:51 Linksys kern.warn kernel: [   74.440000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:51 Linksys kern.warn kernel: [   74.440000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:52 Linksys kern.warn kernel: [   75.880000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:52 Linksys kern.warn kernel: [   75.890000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:52 Linksys kern.info kernel: [   75.930000] Adding 65532k swap on /dev/sda1.  Priority:-1 extents:1 across:65532k
Sep 16 16:17:54 Linksys kern.warn kernel: [   77.430000] scsi_verify_blk_ioctl: 2 callbacks suppressed
Sep 16 16:17:54 Linksys kern.warn kernel: [   77.440000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:54 Linksys kern.warn kernel: [   77.440000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:54 Linksys kern.info kernel: [   77.500000] Adding 65532k swap on /dev/sda1.  Priority:-1 extents:1 across:65532k
Sep 16 16:17:54 Linksys kern.warn kernel: [   77.560000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:54 Linksys kern.warn kernel: [   77.560000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:56 Linksys kern.warn kernel: [   79.460000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:56 Linksys kern.warn kernel: [   79.460000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:56 Linksys kern.info kernel: [   79.510000] Adding 65532k swap on /dev/sda1.  Priority:-1 extents:1 across:65532k
Sep 16 16:17:56 Linksys kern.warn kernel: [   79.600000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:56 Linksys kern.warn kernel: [   79.600000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:17:56 Linksys user.notice firewall: Reloading firewall due to ifup of wan (eth1)
Sep 16 16:17:56 Linksys kern.warn kernel: [   79.930000] head: sending ioctl 540d to a partition!
Sep 16 16:17:56 Linksys kern.warn kernel: [   79.930000] head: sending ioctl 540d to a partition!
Sep 16 16:17:58 Linksys kern.info kernel: [   81.940000] Adding 65532k swap on /dev/sda1.  Priority:-1 extents:1 across:65532k
Sep 16 16:18:00 Linksys kern.warn kernel: [   83.600000] scsi_verify_blk_ioctl: 6 callbacks suppressed
Sep 16 16:18:00 Linksys kern.warn kernel: [   83.610000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:18:00 Linksys kern.warn kernel: [   83.610000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:18:00 Linksys kern.info kernel: [   83.680000] Adding 65532k swap on /dev/sda1.  Priority:-1 extents:1 across:65532k
Sep 16 16:18:00 Linksys kern.warn kernel: [   83.730000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:18:00 Linksys kern.warn kernel: [   83.730000] disktype: sending ioctl 5305 to a partition!
Sep 16 16:18:04 Linksys daemon.info hostapd: wlan0: STA 00:21:00:49:3f:48 IEEE 802.11: authenticated
Sep 16 16:18:04 Linksys daemon.info hostapd: wlan0: STA 00:21:00:49:3f:48 IEEE 802.11: associated (aid 1)
Sep 16 16:18:04 Linksys daemon.info hostapd: wlan0: STA 00:21:00:49:3f:48 WPA: pairwise key handshake completed (RSN)

13

Odp: WRT160NL, instalacja od poczatku

Zastanawiające jest czemu tyle razy swap Ci dodaje.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

14

Odp: WRT160NL, instalacja od poczatku

Próbowałem też zrobić extroot'a przez Gui i nic ten sam efekt - masz pomysł co może być nie tak?
Czy robię coś źle w konfiguracji?

15

Odp: WRT160NL, instalacja od poczatku

dmesg daje:

63.330000] disktype: sending ioctl 5305 to a partition!
[   63.330000] disktype: sending ioctl 5305 to a partition!
[   64.170000] disktype: sending ioctl 5305 to a partition!
[   64.170000] disktype: sending ioctl 5305 to a partition!
[   64.450000] Adding 1953604k swap on /dev/sda2.  Priority:-1 extents:1 across:1953604k
[   67.670000] disktype: sending ioctl 5305 to a partition!
[   67.670000] disktype: sending ioctl 5305 to a partition!
[   67.820000] disktype: sending ioctl 5305 to a partition!
[   67.820000] disktype: sending ioctl 5305 to a partition!
[   67.890000] Adding 1953604k swap on /dev/sda2.  Priority:-1 extents:1 across:1953604k
[   70.760000] disktype: sending ioctl 5305 to a partition!
[   70.760000] disktype: sending ioctl 5305 to a partition!
[   70.980000] disktype: sending ioctl 5305 to a partition!
[   70.980000] disktype: sending ioctl 5305 to a partition!
[   71.080000] Adding 1953604k swap on /dev/sda2.  Priority:-1 extents:1 across:1953604k
[   74.470000] disktype: sending ioctl 5305 to a partition!
[   74.470000] disktype: sending ioctl 5305 to a partition!
[   74.620000] disktype: sending ioctl 5305 to a partition!
[   74.620000] disktype: sending ioctl 5305 to a partition!
[   74.710000] Adding 1953604k swap on /dev/sda2.  Priority:-1 extents:1 across:1953604k
[   76.570000] disktype: sending ioctl 5305 to a partition!
[   76.570000] disktype: sending ioctl 5305 to a partition!
[   76.710000] disktype: sending ioctl 5305 to a partition!
[   76.720000] disktype: sending ioctl 5305 to a partition!
[   76.800000] Adding 1953604k swap on /dev/sda2.  Priority:-1 extents:1 across:1953604k
[   78.730000] disktype: sending ioctl 5305 to a partition!
[   78.730000] disktype: sending ioctl 5305 to a partition!
[   78.870000] disktype: sending ioctl 5305 to a partition!
[   78.870000] disktype: sending ioctl 5305 to a partition!
[   78.920000] Adding 1953604k swap on /dev/sda2.  Priority:-1 extents:1 across:1953604k
[   81.710000] disktype: sending ioctl 5305 to a partition!
[   81.710000] disktype: sending ioctl 5305 to a partition!
[   81.980000] disktype: sending ioctl 5305 to a partition!
[   81.980000] disktype: sending ioctl 5305 to a partition!
[   82.050000] Adding 1953604k swap on /dev/sda2.  Priority:-1 extents:1 across:1953604k
[   84.280000] disktype: sending ioctl 5305 to a partition!
[   84.280000] disktype: sending ioctl 5305 to a partition!
[   84.430000] disktype: sending ioctl 5305 to a partition!
[   84.430000] disktype: sending ioctl 5305 to a partition!
[   84.480000] Adding 1953604k swap on /dev/sda2.  Priority:-1 extents:1 across:1953604k
[   85.650000] disktype: sending ioctl 5305 to a partition!
[   85.650000] disktype: sending ioctl 5305 to a partition!
[   85.910000] Adding 1953604k swap on /dev/sda2.  Priority:-1 extents:1 across:1953604k
[   87.970000] scsi_verify_blk_ioctl: 4 callbacks suppressed
[   87.980000] disktype: sending ioctl 5305 to a partition!
[   87.980000] disktype: sending ioctl 5305 to a partition!
[   88.140000] disktype: sending ioctl 5305 to a partition!
[   88.150000] disktype: sending ioctl 5305 to a partition!
[   88.190000] Adding 1953604k swap on /dev/sda2.  Priority:-1 extents:1 across:1953604k
[   88.290000] head: sending ioctl 540d to a partition!
[   88.290000] head: sending ioctl 540d to a partition!
[   90.050000] disktype: sending ioctl 5305 to a partition!
[   90.050000] disktype: sending ioctl 5305 to a partition!
[   90.210000] disktype: sending ioctl 5305 to a partition!
[   90.210000] disktype: sending ioctl 5305 to a partition!
[   90.260000] Adding 1953604k swap on /dev/sda2.  Priority:-1 extents:1 across:1953604k



Cały czas zastanawia mnie to sending ioctl 5305 to a partition! - może to jest problemem?

16

Odp: WRT160NL, instalacja od poczatku

Czemu masz teraz sda2 jak to miała być partycja dla extroota?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

17

Odp: WRT160NL, instalacja od poczatku

Weź zwykłego pendrive i zrób extroota na nim.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

18

Odp: WRT160NL, instalacja od poczatku

smile mam dysk z poprzedniej kieszeni (wymieniłem na większą) i kasiurki wydawać na pen'a raczej wolę uniknąć.

Czy to jest taki poważny problem?

19

Odp: WRT160NL, instalacja od poczatku

Po prostu sprawdź na dowolnym innym pendrive czy działa. Jakiś tam mały pendrive zawsze znajdziesz.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

20

Odp: WRT160NL, instalacja od poczatku

Sprawdzić to OK. Dam znać.

21

Odp: WRT160NL, instalacja od poczatku

Podlaczylem PENDRIV'a i to samo.

LOGREAD:
Jan  1 01:01:32 Linksys user.notice usb-modeswitch: 1-1:1.0: Manufacturer=A-DATA Product=A-DATA_USB_Flash_Drive Serial=d710ba428d66c3
Sep 16 19:52:15 Linksys kern.warn kernel: [   87.590000] disktype: sending ioctl 5305 to a partition!
Sep 16 19:52:15 Linksys kern.warn kernel: [   87.600000] disktype: sending ioctl 5305 to a partition!
Sep 16 19:52:16 Linksys kern.warn kernel: [   88.730000] head: sending ioctl 540d to a partition!
Sep 16 19:52:16 Linksys kern.warn kernel: [   88.740000] head: sending ioctl 540d to a partition!
Sep 16 19:52:18 Linksys kern.warn kernel: [   90.180000] disktype: sending ioctl 5305 to a partition!
Sep 16 19:52:18 Linksys kern.warn kernel: [   90.180000] disktype: sending ioctl 5305 to a partition!

FDISK:
Disk /dev/sda: 7840 MB, 7840259584 bytes
242 heads, 62 sectors/track, 1020 cylinders, total 15313007 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x04dd5721

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048      133119       65536   82  Linux swap / Solaris
/dev/sda2          133120    15313006     7589943+  83  Linux


Do tego caly czas te komunikaty ioctl 540d to a partition!

22

Odp: WRT160NL, instalacja od poczatku

Zapomnij w końcu o tych komunikatach. Są i będą.

Pokaż na tym pendrive
mount
ls -al /tmp/overlay-disabled/

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

23

Odp: WRT160NL, instalacja od poczatku

Więc tak:
1) zrobiłem raz jeszcze extroot'a na pendrive i jest OK
2) te same polecenia /czynności w tej samej kolejności wykonane na dysku nie działają
    a) wynik poleceń o które prosiłeś (tyle że z dysku):

root@Gargoyle:~# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=14580k)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/mtdblock3 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,relatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
/dev/sda2 on /tmp/overlay-disabled type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda2 on /tmp/usb_mount/00d27e49-afcf-461f-8d96-698d8998b9a9 type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)



root@Gargoyle:~# ls -al /tmp/overlay-disabled/
drwxr-xr-x    3 root     root          4096 Sep 16  2013 .
drwxrwxrwt   16 root     root           520 Jan  1 01:00 ..
drwx------    2 root     root         16384 Sep 16  2013 lost+found

24

Odp: WRT160NL, instalacja od poczatku

Skoro działa z pendrive a nie z dyskiem to problem masz z nim samym, np potrzebuje więcej czasu żeby się obudzić czy coś innego z nim samym związanego.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

25

Odp: WRT160NL, instalacja od poczatku

OK, a czy byłbyś mi w stanie pomóc w rozwiązaniu tego problemu?