Temat: Nie wykryto żadnego zamontowanego nośnika USB

Po restarcie w zakładce Nośniki USB mam komunikat jak w temacie.

Urządzenie:

Wersja Gargoyle:1.5.9.6 (r35839), by obsy
Model:NETGEAR NDR3700v2
Konfiguracja urządzenia:Brama sieciowa
Zajętość pamięci RAM:18.3MB / 60.2MB (30.4%)

Wchodząc po ftp na nośnik niby wszystko działa ale dokonanie jakichkolwiek zmian poprzez interfejs www jest niemożliwe bo zakładka informuje że niema nośnika.

root@Gargulec:~# 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)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/mtdblock4 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,noatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda1 on /tmp/share_home/marek/ftp type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
/dev/sda1 on /tmp/usb_mount/ed0661e6-0d84-4e75-8cc2-b734970bae44 type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)

W usługach restartowałem bwmon_gargoyle -nic to nie zmieniło.
Orłem nie jestem w tych tematach, może coś źle robię????

2

Odp: Nie wykryto żadnego zamontowanego nośnika USB

Odłącz i podłącz nośnik jeszcze raz.

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

3

Odp: Nie wykryto żadnego zamontowanego nośnika USB

Przed odłączeniem nośnika zrobiłem:

root@Gargulec:~# umount /dev/sda1

po podłączeniu:

root@Gargulec:~# 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)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/mtdblock4 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,noatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)

Nie zamontował się z automatu a w zakładce Nośniki USB pokazała się teraz możliwość formatowania.
Wcześniej miałem inny ruter w którym musiałem robić exroota i modyfikować plik fstab ...... hmm tu nie widzę takiego pliku .... tak ma być?

4

Odp: Nie wykryto żadnego zamontowanego nośnika USB

gargoyle nie ma domyślnie pakietu block-mount, więc nie ma i fstaba, Doinstalować musisz. Zobacz w logach co się dzieje, może masz błędy na nim i nie chce się montować.

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

5

Odp: Nie wykryto żadnego zamontowanego nośnika USB

Coś takiego mam:


[   26.780000] device wlan0 entered promiscuous mode
[   27.020000] br-lan: port 2(wlan0) entered forwarding state
[   27.020000] br-lan: port 2(wlan0) entered forwarding state
[   29.020000] br-lan: port 2(wlan0) entered forwarding state
[   39.080000] disktype: sending ioctl 5305 to a partition!
[   39.090000] disktype: sending ioctl 5305 to a partition!
[   39.150000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   39.240000] disktype: sending ioctl 5305 to a partition!
[   39.240000] disktype: sending ioctl 5305 to a partition!
[   39.330000] Adding 152776k swap on /dev/sda2.  Priority:-1 extents:1 across:152776k
[   45.960000] ipt_bandwidth: timezone shift of 60 minutes detected, adjusting
[   45.960000]                old minutes west=0, new minutes west=-60
[   65.530000] disktype: sending ioctl 5305 to a partition!
[   65.530000] disktype: sending ioctl 5305 to a partition!
[   66.380000] head: sending ioctl 540d to a partition!
[   66.380000] head: sending ioctl 540d to a partition!
[   66.480000] head: sending ioctl 540d to a partition!
[   66.480000] head: sending ioctl 540d to a partition!
[   74.640000] IMQ driver unloaded successfully.
[   74.660000]  Hooked IMQ after mangle on INPUT
[   74.670000]  Hooked IMQ after mangle on FORWARD
[   74.670000] IMQ driver loaded successfully. (numdevs = 1, numqueues = 1)
[48189.280000] usb 1-1: USB disconnect, device number 2
[48189.280000] option: option_instat_callback: error -143
[48189.290000] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[48189.300000] option 1-1:1.0: device disconnected
[48189.300000] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[48189.310000] option 1-1:1.1: device disconnected
[48189.310000] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[48189.320000] option 1-1:1.2: device disconnected
[48189.330000] sd 3:0:0:0: [sda] Synchronizing SCSI cache
[48189.340000] sd 3:0:0:0: [sda]  Result: hostbyte=0x01 driverbyte=0x00
[48196.190000] usb 1-1: new high-speed USB device number 3 using ehci-platform
[48196.340000] option 1-1:1.0: GSM modem (1-port) converter detected
[48196.350000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[48196.360000] option 1-1:1.1: GSM modem (1-port) converter detected
[48196.360000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[48196.370000] option 1-1:1.2: GSM modem (1-port) converter detected
[48196.380000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[48196.390000] scsi7 : usb-storage 1-1:1.3
[48197.390000] scsi 7:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
[48197.400000] sd 7:0:0:0: [sda] Attached SCSI removable disk
[48226.210000] sd 7:0:0:0: [sda] 15278080 512-byte logical blocks: (7.82 GB/7.28 GiB)
[48226.220000] sd 7:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[48226.230000]  sda: sda1 sda2
[48226.510000] head: sending ioctl 540d to a partition!
[48226.520000] head: sending ioctl 540d to a partition!
[48226.610000] head: sending ioctl 540d to a partition!
[48226.620000] head: sending ioctl 540d to a partition!

6

Odp: Nie wykryto żadnego zamontowanego nośnika USB

Więc jest wykrywany. Zrób
/etc/init.d/usb_storage start
mount

I pokaż co wyszło.

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

7

Odp: Nie wykryto żadnego zamontowanego nośnika USB

root@Gargulec:~# /etc/init.d/usb_storage start
root@Gargulec:~# 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)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/mtdblock4 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,noatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
root@Gargulec:~#

8

Odp: Nie wykryto żadnego zamontowanego nośnika USB

Więc Ci nie montuje automat. Zamontuj z palca (mkdir -p /tmp/dysk; mount -t ext4 /dev/sda1 /tmp/dysk) i zobacz czy się uda.

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

9

Odp: Nie wykryto żadnego zamontowanego nośnika USB

W pierwszym poście wkleiłem:

root@Gargulec:~# 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)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/mtdblock4 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,noatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda1 on /tmp/share_home/marek/ftp type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
/dev/sda1 on /tmp/usb_mount/ed0661e6-0d84-4e75-8cc2-b734970bae44 type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
root@Gargulec:~#

i tak jest po każdym restarcie..... hmm.... sda1 jest zamontowana.
Na sda1 jest ftp i to normalnie działa problem jest w tym że interfejs www w zakładce Nośniki USB mówi że nie widzi zamontowanych nośników USB.
Po odmontowaniu, fizycznym odłączeniu i ponownym podłączeniu nie montuje i wtedy zakładce Nośniki USB pojawia się tylko możliwość formatowania.

10

Odp: Nie wykryto żadnego zamontowanego nośnika USB

a i jeszcze takie info:

root@Gargulec:~# blkid
/dev/mtdblock3: TYPE="squashfs"
/dev/sda1: UUID="ed0661e6-0d84-4e75-8cc2-b734970bae44" TYPE="ext4"
/dev/sda2: UUID="d7f02deb-74c8-4067-9ad1-b58ca5fd5bf9" TYPE="swap"
root@Gargulec:~#