Имеется GIANT. В нём вставлена флешка с OPKG. После восстановления электроэнергии флешка не монтируется.
Перезагрузка роутера не помогает. Помогает только если передёрнуть флешку в usb порту (вытащить/вставить).
Долгое время мирился с этой проблемой, но сейчас хочу разобраться. Всё осложнено тем, что на флешке настроенный OPKG с выборочным обходом, тг-ботом, качалкой aria и тд и тп. Поэтому сильно не хочется просто взять и поменять флешку.
Ну то-есть, если будет понимание, что дело конкретно в этой флешке, то конечно деваться уже некуда будет - заменю её. Но пока этого понимания нет, хотелось бы попробовать разобраться.
Сегодня ночью в очередной раз "взбрыкнулся свет" и я получил немонтированную флешку. Полез в логи, там к сожалению нет момента запуска роутера. Постараюсь отловить в следующий раз или просто сам "сымитирую" потерю электричества отключив свет.
Лог начинается с такой записи:
Скрытый текст
[I] Aug 4 12:14:21 kernel: usb 1-2: new high-speed USB device number 19 using xhci-mtk
[W] Aug 4 12:14:21 kernel: usb 1-2: Device not responding to setup address.
[W] Aug 4 12:14:22 kernel: usb 1-2: Device not responding to setup address.
[E] Aug 4 12:14:22 kernel: usb 1-2: device not accepting address 19, error -71
[I] Aug 4 12:14:23 kernel: usb 1-2: new high-speed USB device number 20 using xhci-mtk
[W] Aug 4 12:14:23 kernel: usb 1-2: Device not responding to setup address.
[W] Aug 4 12:14:23 kernel: usb 1-2: Device not responding to setup address.
[E] Aug 4 12:14:23 kernel: usb 1-2: device not accepting address 20, error -71
[E] Aug 4 12:14:23 kernel: usb usb1-port2: unable to enumerate USB device
[I] Aug 4 12:14:24 kernel: usb 1-2: new high-speed USB device number 21 using xhci-mtk
[E] Aug 4 12:14:24 kernel: usb 1-2: device descriptor read/64, error -71
[E] Aug 4 12:14:24 kernel: usb 1-2: device descriptor read/64, error -71
[E] Aug 4 12:14:26 kernel: Core::Syslog: last message repeated 59 times.
[I] Aug 4 12:14:26 kernel: usb usb1-port2: attempt power cycle
и так далее.
Вот лог после того как выдернул/вставил флешку:
Скрытый текст
I] Aug 4 12:42:24 kernel: usb 1-2: new high-speed USB device number 7 using xhci-mtk
[I] Aug 4 12:42:24 kernel: usb 1-2: New USB device found, idVendor=090c, idProduct=1000, bcdDevice=11.00
[I] Aug 4 12:42:24 kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[I] Aug 4 12:42:24 kernel: usb 1-2: Product: Flash Drive FIT
[I] Aug 4 12:42:24 kernel: usb 1-2: Manufacturer: Samsung
[I] Aug 4 12:42:24 kernel: usb 1-2: SerialNumber: 0361121050011051
[I] Aug 4 12:42:24 kernel: usb-storage 1-2:1.0: USB Mass Storage device detected
[I] Aug 4 12:42:24 kernel: scsi host0: usb-storage 1-2:1.0
[I] Aug 4 12:42:25 kernel: scsi 0:0:0:0: Direct-Access Samsung Flash Drive FIT 1100 PQ: 0 ANSI: 6
[I] Aug 4 12:42:25 kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
[I] Aug 4 12:42:25 kernel: sd 0:0:0:0: [sda] 62656641 512-byte logical blocks: (32.1 GB/29.9 GiB)
[I] Aug 4 12:42:25 kernel: sd 0:0:0:0: [sda] Write Protect is off
[I] Aug 4 12:42:25 kernel: sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[I] Aug 4 12:42:25 kernel: sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[I] Aug 4 12:42:26 kernel: sda: sda1
[I] Aug 4 12:42:26 kernel: sd 0:0:0:0: [sda] Attached SCSI removable disk
[I] Aug 4 12:42:26 ndm: Storage::Manager: "Media0": enabled a disk spin down.
[I] Aug 4 12:42:26 ndm: Storage::Manager: created "Media0", port 2.
[I] Aug 4 12:42:26 ndm: Storage::Partition: ext4 "450304a9-0c91-f647-91b8-a82ecc07c15c:": filesystem initialized.
[I] Aug 4 12:42:26 kernel: EXT4-fs (sda1): recovery complete
[I] Aug 4 12:42:26 kernel: EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[I] Aug 4 12:42:26 ndm: Storage::Manager: "Media0": registered partition "450304a9-0c91-f647-91b8-a82ecc07c15c:".
[C] Aug 4 12:42:26 ndm: Thread: "Opkg task queue": lock precedence violation: DNS_ENGINES (1) after OPTWARE (37).
[C] Aug 4 12:42:26 ndm: Thread: "Opkg task queue" (15922) backtrace:
[C] Aug 4 12:42:26 ndm: Thread: Dns::Manager::EnableFilterEngine(CString const&)+0x5c
[C] Aug 4 12:42:26 ndm: Thread: Opkg::(anonymous namespace)::Init_::Run()+0x64
[C] Aug 4 12:42:26 ndm: Thread: Task::Thread::Run_()+0x208
[C] Aug 4 12:42:26 ndm: Thread: Task::Thread::Run()+0x38
[C] Aug 4 12:42:26 ndm: Thread: Thread::StartRoutine_(void*)+0x420
[C] Aug 4 12:42:26 ndm: Thread: start()+0x98
[C] Aug 4 12:42:26 ndm: Thread: __clone()+0x6c
[I] Aug 4 12:42:26 ndm: Dns::Manager: enabled filter engine "opkg".
[I] Aug 4 12:42:26 kernel: EXT4-fs (sda1): re-mounted. Opts: (null)
[I] Aug 4 12:42:26 ndm: Opkg::Manager: /tmp/mnt/450304a9-0c91-f647-91b8-a82ecc07c15c mounted to /tmp/mnt/450304a9-0c91-f647-91b8-a82ecc07c15c.
[I] Aug 4 12:42:26 ndm: Opkg::Manager: /tmp/mnt/450304a9-0c91-f647-91b8-a82ecc07c15c mounted to /opt/.
[I] Aug 4 12:42:26 ndm: Opkg::Manager: /tmp/mnt/450304a9-0c91-f647-91b8-a82ecc07c15c initialized.
[I] Aug 4 12:42:26 ndnproxy: stopped.
[I] Aug 4 12:42:26 ndnproxy: stopped.
[I] Aug 4 12:42:26 ndm: Dns::Manager: RPC-only mode enabled.
[I] Aug 4 12:42:27 dropbear[15939]: Running in background
[I] Aug 4 12:42:27 root: Started AdGuardHome from .
[I] Aug 4 12:42:28 ndnproxy: NDM DNS Proxy, v1.4.9.
[I] Aug 4 12:42:28 ndnproxy: PID file: /var/ndnproxymain.pid.
[I] Aug 4 12:42:28 ndnproxy: stats. file: /var/ndnproxymain.stat.
[I] Aug 4 12:42:28 ndnproxy: NDM DNS Proxy, v1.4.9.
[I] Aug 4 12:42:28 ndnproxy: PID file: /var/ndnproxy_Policy0.pid.
[I] Aug 4 12:42:28 ndnproxy: stats. file: /var/ndnproxy_Policy0.stat.
[I] Aug 4 12:49:12 ndhcps: DHCPREQUEST received (STATE_RENEWING) for 192.168.2.50 from 74:56:3c:6a:58:27.
[I] Aug 4 12:49:13 ndhcps: sending ACK of 192.168.2.50 to 74:56:3c:6a:58:27.
[I] Aug 4 12:49:15 ipsec: 06[IKE] retransmit 1 of request with message ID 112
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
taravasya
Здравствуйте!
Имеется GIANT. В нём вставлена флешка с OPKG. После восстановления электроэнергии флешка не монтируется.
Перезагрузка роутера не помогает. Помогает только если передёрнуть флешку в usb порту (вытащить/вставить).
Долгое время мирился с этой проблемой, но сейчас хочу разобраться. Всё осложнено тем, что на флешке настроенный OPKG с выборочным обходом, тг-ботом, качалкой aria и тд и тп. Поэтому сильно не хочется просто взять и поменять флешку.
Ну то-есть, если будет понимание, что дело конкретно в этой флешке, то конечно деваться уже некуда будет - заменю её. Но пока этого понимания нет, хотелось бы попробовать разобраться.
Сегодня ночью в очередной раз "взбрыкнулся свет" и я получил немонтированную флешку. Полез в логи, там к сожалению нет момента запуска роутера. Постараюсь отловить в следующий раз или просто сам "сымитирую" потерю электричества отключив свет.
Лог начинается с такой записи:
[I] Aug 4 12:14:21 kernel: usb 1-2: new high-speed USB device number 19 using xhci-mtk [W] Aug 4 12:14:21 kernel: usb 1-2: Device not responding to setup address. [W] Aug 4 12:14:22 kernel: usb 1-2: Device not responding to setup address. [E] Aug 4 12:14:22 kernel: usb 1-2: device not accepting address 19, error -71 [I] Aug 4 12:14:23 kernel: usb 1-2: new high-speed USB device number 20 using xhci-mtk [W] Aug 4 12:14:23 kernel: usb 1-2: Device not responding to setup address. [W] Aug 4 12:14:23 kernel: usb 1-2: Device not responding to setup address. [E] Aug 4 12:14:23 kernel: usb 1-2: device not accepting address 20, error -71 [E] Aug 4 12:14:23 kernel: usb usb1-port2: unable to enumerate USB device [I] Aug 4 12:14:24 kernel: usb 1-2: new high-speed USB device number 21 using xhci-mtk [E] Aug 4 12:14:24 kernel: usb 1-2: device descriptor read/64, error -71 [E] Aug 4 12:14:24 kernel: usb 1-2: device descriptor read/64, error -71 [E] Aug 4 12:14:26 kernel: Core::Syslog: last message repeated 59 times. [I] Aug 4 12:14:26 kernel: usb usb1-port2: attempt power cycle
и так далее.
Вот лог после того как выдернул/вставил флешку:
I] Aug 4 12:42:24 kernel: usb 1-2: new high-speed USB device number 7 using xhci-mtk [I] Aug 4 12:42:24 kernel: usb 1-2: New USB device found, idVendor=090c, idProduct=1000, bcdDevice=11.00 [I] Aug 4 12:42:24 kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [I] Aug 4 12:42:24 kernel: usb 1-2: Product: Flash Drive FIT [I] Aug 4 12:42:24 kernel: usb 1-2: Manufacturer: Samsung [I] Aug 4 12:42:24 kernel: usb 1-2: SerialNumber: 0361121050011051 [I] Aug 4 12:42:24 kernel: usb-storage 1-2:1.0: USB Mass Storage device detected [I] Aug 4 12:42:24 kernel: scsi host0: usb-storage 1-2:1.0 [I] Aug 4 12:42:25 kernel: scsi 0:0:0:0: Direct-Access Samsung Flash Drive FIT 1100 PQ: 0 ANSI: 6 [I] Aug 4 12:42:25 kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0 [I] Aug 4 12:42:25 kernel: sd 0:0:0:0: [sda] 62656641 512-byte logical blocks: (32.1 GB/29.9 GiB) [I] Aug 4 12:42:25 kernel: sd 0:0:0:0: [sda] Write Protect is off [I] Aug 4 12:42:25 kernel: sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00 [I] Aug 4 12:42:25 kernel: sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [I] Aug 4 12:42:26 kernel: sda: sda1 [I] Aug 4 12:42:26 kernel: sd 0:0:0:0: [sda] Attached SCSI removable disk [I] Aug 4 12:42:26 ndm: Storage::Manager: "Media0": enabled a disk spin down. [I] Aug 4 12:42:26 ndm: Storage::Manager: created "Media0", port 2. [I] Aug 4 12:42:26 ndm: Storage::Partition: ext4 "450304a9-0c91-f647-91b8-a82ecc07c15c:": filesystem initialized. [I] Aug 4 12:42:26 kernel: EXT4-fs (sda1): recovery complete [I] Aug 4 12:42:26 kernel: EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) [I] Aug 4 12:42:26 ndm: Storage::Manager: "Media0": registered partition "450304a9-0c91-f647-91b8-a82ecc07c15c:". [C] Aug 4 12:42:26 ndm: Thread: "Opkg task queue": lock precedence violation: DNS_ENGINES (1) after OPTWARE (37). [C] Aug 4 12:42:26 ndm: Thread: "Opkg task queue" (15922) backtrace: [C] Aug 4 12:42:26 ndm: Thread: Dns::Manager::EnableFilterEngine(CString const&)+0x5c [C] Aug 4 12:42:26 ndm: Thread: Opkg::(anonymous namespace)::Init_::Run()+0x64 [C] Aug 4 12:42:26 ndm: Thread: Task::Thread::Run_()+0x208 [C] Aug 4 12:42:26 ndm: Thread: Task::Thread::Run()+0x38 [C] Aug 4 12:42:26 ndm: Thread: Thread::StartRoutine_(void*)+0x420 [C] Aug 4 12:42:26 ndm: Thread: start()+0x98 [C] Aug 4 12:42:26 ndm: Thread: __clone()+0x6c [I] Aug 4 12:42:26 ndm: Dns::Manager: enabled filter engine "opkg". [I] Aug 4 12:42:26 kernel: EXT4-fs (sda1): re-mounted. Opts: (null) [I] Aug 4 12:42:26 ndm: Opkg::Manager: /tmp/mnt/450304a9-0c91-f647-91b8-a82ecc07c15c mounted to /tmp/mnt/450304a9-0c91-f647-91b8-a82ecc07c15c. [I] Aug 4 12:42:26 ndm: Opkg::Manager: /tmp/mnt/450304a9-0c91-f647-91b8-a82ecc07c15c mounted to /opt/. [I] Aug 4 12:42:26 ndm: Opkg::Manager: /tmp/mnt/450304a9-0c91-f647-91b8-a82ecc07c15c initialized. [I] Aug 4 12:42:26 ndnproxy: stopped. [I] Aug 4 12:42:26 ndnproxy: stopped. [I] Aug 4 12:42:26 ndm: Dns::Manager: RPC-only mode enabled. [I] Aug 4 12:42:27 dropbear[15939]: Running in background [I] Aug 4 12:42:27 root: Started AdGuardHome from . [I] Aug 4 12:42:28 ndnproxy: NDM DNS Proxy, v1.4.9. [I] Aug 4 12:42:28 ndnproxy: PID file: /var/ndnproxymain.pid. [I] Aug 4 12:42:28 ndnproxy: stats. file: /var/ndnproxymain.stat. [I] Aug 4 12:42:28 ndnproxy: NDM DNS Proxy, v1.4.9. [I] Aug 4 12:42:28 ndnproxy: PID file: /var/ndnproxy_Policy0.pid. [I] Aug 4 12:42:28 ndnproxy: stats. file: /var/ndnproxy_Policy0.stat. [I] Aug 4 12:49:12 ndhcps: DHCPREQUEST received (STATE_RENEWING) for 192.168.2.50 from 74:56:3c:6a:58:27. [I] Aug 4 12:49:13 ndhcps: sending ACK of 192.168.2.50 to 74:56:3c:6a:58:27. [I] Aug 4 12:49:15 ipsec: 06[IKE] retransmit 1 of request with message ID 112
В какую сторону копать?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.