Skynet Skynet: [*] USB Not Found - Sleeping For 10 Seconds ( Attempt 1 Of 10 )

  • ATTENTION! You'll notice a Prefix dropdown when you create a thread. If your post applies to one of the topics listed, please use that Prefix for your post. When browsing the thread list you can use the Prefix to filter the view.
  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

LaMpiR

Occasional Visitor
Hi. I have upgraded to latest beta 3 firmware for my AX88U, but the router doesn't recognise the usb anymore. Running firewall command brings me this:

####################################################################################################
#
# ███████╗██╗ ██╗██╗ ██╗███╗ ██╗███████╗████████╗ ██╗ ██╗███████╗
# ██╔════╝██║ ██╔╝╚██╗ ██╔╝████╗ ██║██╔════╝╚══██╔══╝ ██║ ██║╚════██║
# ███████╗█████╔╝ ╚████╔╝ ██╔██╗ ██║█████╗ ██║ ██║ ██║ ██╔╝
# ╚════██║██╔═██╗ ╚██╔╝ ██║╚██╗██║██╔══╝ ██║ ╚██╗ ██╔╝ ██╔╝
# ███████║██║ ██╗ ██║ ██║ ╚████║███████╗ ██║ ╚████╔╝ ██║
# ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚═══╝ ╚═╝
#
# Router Firewall And Security Enhancements
# By Adamm - https://github.com/Adamm00/IPSet_ASUS
# 01/12/2020 - v7.2.3
####################################################################################################
Skynet: [*] USB Not Found - Sleeping For 10 Seconds ( Attempt 1 Of 10 )


Any help would be appreciated.
 

ColinTaylor

Part of the Furniture
Look in the router's System Log for error messages indicating what the problem is with the USB drive.
 

LaMpiR

Occasional Visitor
USB was somehow corrupt. Format, reinstallad, created a new swap and reboot.
USB was unmounted before in the main panel, not its showing the usage. When I click on it, I see usage and so on, but under Firewall no Skynet.
When running the option firewall from ssh,

####################################################################################################
#
# ███████╗██╗ ██╗██╗ ██╗███╗ ██╗███████╗████████╗ ██╗ ██╗███████╗
# ██╔════╝██║ ██╔╝╚██╗ ██╔╝████╗ ██║██╔════╝╚══██╔══╝ ██║ ██║╚════██║
# ███████╗█████╔╝ ╚████╔╝ ██╔██╗ ██║█████╗ ██║ ██║ ██║ ██╔╝
# ╚════██║██╔═██╗ ╚██╔╝ ██║╚██╗██║██╔══╝ ██║ ╚██╗ ██╔╝ ██╔╝
# ███████║██║ ██╗ ██║ ██║ ╚████║███████╗ ██║ ╚████╔╝ ██║
# ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚═══╝ ╚═╝
#
# Router Firewall And Security Enhancements
# By Adamm - https://github.com/Adamm00/IPSet_ASUS
# 01/12/2020 - v7.2.3
####################################################################################################
Skynet: [*] USB Not Found - Sleeping For 10 Seconds ( Attempt 1 Of 10 )
Skynet: [*] USB Not Found - Sleeping For 10 Seconds ( Attempt 2 Of 10 )
Skynet: [*] USB Not Found - Sleeping For 10 Seconds ( Attempt 3 Of 10 )
Skynet: [*] USB Not Found - Sleeping For 10 Seconds ( Attempt 4 Of 10 )
Skynet: [*] USB Not Found - Sleeping For 10 Seconds ( Attempt 5 Of 10 )
Skynet: [*] USB Not Found - Sleeping For 10 Seconds ( Attempt 6 Of 10 )
Skynet: [*] USB Not Found - Sleeping For 10 Seconds ( Attempt 7 Of 10 )
Skynet: [*] USB Not Found - Sleeping For 10 Seconds ( Attempt 8 Of 10 )
Skynet: [*] USB Not Found - Sleeping For 10 Seconds ( Attempt 9 Of 10 )
Skynet: [*] USB Not Found - Sleeping For 10 Seconds ( Attempt 10 Of 10 )
Skynet: [*] USB Not Found - Sleeping For 10 Seconds ( Attempt 11 Of 10 )
Skynet: [*] Problem With USB Install Location - Please Fix Immediately!
Skynet: [*] To Change Install Location Run - ( sh /jffs/scripts/firewall install )

[email protected]:/tmp/home/root#

But its freshly installed?
 

L&LD

Part of the Furniture
Can you test with another USB drive? This one may be shot.
 

agilani

Very Senior Member
after you reformat the USB drive
uninstall and re-install skynet

firewall uninstall

then re-run the re-installation script
 

LaMpiR

Occasional Visitor
Tried it on windows, everything seems ok. I happened after the update to beta 2. I have order a new one for the router and will test it out tomorrow.

A strange thing happened when installing skynet and creating swap. My CPU usage was high, which was to be expected, but my free ram usage when from 250 to 30MB.
 

LaMpiR

Occasional Visitor
Changed usb, formated to fat32. Installed skynet, but it didn't ask for swap creating. Still not working, the same error, USB not found.

an 7 13:03:32 kernel: usb 2-2: new SuperSpeed USB device number 2 using xhci-hcd
Jan 7 13:03:32 kernel: usb-storage 2-2:1.0: USB Mass Storage device detected
Jan 7 13:03:32 kernel: scsi host1: usb-storage 2-2:1.0
Jan 7 13:03:33 kernel: scsi 1:0:0:0: Direct-Access SanDisk Ultra Fit 1.00 PQ: 0 ANSI: 6
Jan 7 13:03:33 kernel: sd 1:0:0:0: Attached scsi generic sg0 type 0
Jan 7 13:03:33 kernel: sd 1:0:0:0: [sda] 60088320 512-byte logical blocks: (30.8 GB/28.7 GiB)
Jan 7 13:03:33 kernel: sd 1:0:0:0: [sda] Write Protect is off
Jan 7 13:03:33 kernel: sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Jan 7 13:03:33 kernel: sda: sda1
Jan 7 13:03:33 kernel: sd 1:0:0:0: [sda] Attached SCSI removable disk
Jan 7 13:03:34 kernel: tfat info: FAT32 volume name 'ESD-USB', version 0.0.
Jan 7 13:03:34 hotplug[4171]: USB vfat fs at /dev/sda1 mounted on /tmp/mnt/ESD-USB
Jan 7 13:03:34 usb: USB vfat fs at /dev/sda1 mounted on /tmp/mnt/ESD-USB.
Jan 7 13:03:34 kernel: tfat info: Exiting online fsck with status 4: completed successfully
Jan 7 13:03:34 custom_script: Running /jffs/scripts/post-mount (args: /tmp/mnt/ESD-USB)
Jan 7 13:08:29 Skynet: [*] USB Not Found - Sleeping For 10 Seconds ( Attempt 1 Of 10 )
Jan 7 13:08:39 Skynet: [*] USB Not Found - Sleeping For 10 Seconds ( Attempt 2 Of 10 )
Jan 7 13:09:41 kernel: usbcore: deregistering interface driver cdc_mbim
Jan 7 13:09:41 kernel: usbcore: deregistering interface driver cdc_ncm
Jan 7 13:09:41 kernel: usbcore: deregistering interface driver qmi_wwan
Jan 7 13:09:41 kernel: usbcore: deregistering interface driver cdc_wdm
Jan 7 13:09:41 kernel: usbcore: deregistering interface driver rndis_host
Jan 7 13:09:41 kernel: usbcore: deregistering interface driver cdc_ether
Jan 7 13:09:41 kernel: usbcore: deregistering interface driver ax88179_178a
Jan 7 13:09:41 kernel: usbcore: deregistering interface driver asix
Jan 7 13:09:41 kernel: usbcore: deregistering interface driver cdc_acm
Jan 7 13:09:41 kernel: cdrom: Uniform CD-ROM driver unloaded
Jan 7 13:09:41 kernel: usbcore: deregistering interface driver usblp
Jan 7 13:09:41 custom_script: Running /jffs/scripts/services-stop
 

dave14305

Part of the Furniture
Does the skynetloc parameter in /jffs/scripts/firewall-start match your USB path? Might be easiest to rm /jffs/scripts/firewall-start and then reinstall.
 

LaMpiR

Occasional Visitor
Does the skynetloc parameter in /jffs/scripts/firewall-start match your USB path? Might be easiest to rm /jffs/scripts/firewall-start and then reinstall.
Thank you :)

I have added another usb 16gb and formatted it properly with amtm (ext4) and installed it. Working now.
 

xtv

Occasional Visitor
Something like this happened to me a few times.
Now I've noticed that the USB key is mapped sometimes as /dev/sda and some other times as /dev/sdb

At least in the last event this was the reason for Skynet to fail startup,
As Skynet was installed with the USB mounted in /dev/sda, the configuration was explicitly pointing to locations in /dev/sda, however a restart of the router remapped for unknown reasons the USB to /dev/sdb, thus Skynet was not able to find anymore the install dir and the swap.

I could restore Skynet without reinstalling, just changing the configuration.

Hint for maintainers:
While I don't know the reason* why the USB seems to roam from sda to sdb and back at restarts, I think that there could be some margins for improvements in detecting the correct install directory, maybe it could be achieved leveraging a symbolic link created at USB mount time like the one in /tmp/opt (which always points to the correct installation directory of entware) and change the default configuration to use the symbolic link.

* roaming could be due to a number of reasons, including slow USB mounting, an fsck, etc...
 

LaMpiR

Occasional Visitor
I didn't have any problems with the new one so far. It's a bit too much with 16GB, but it works.
 

ColinTaylor

Part of the Furniture
The drive mapping changing is a well know issue (and applies to Linux boxes generally not just this router). That is why it is recommended that people put a volume label on their devices rather then leave them unlabelled. That way the router always mounts the device with the same path, e.g. /tmp/mnt/VERBATIM.
 
Last edited:

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top