What's new

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

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

LaMpiR

Regular Contributor
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.
 
Look in the router's System Log for error messages indicating what the problem is with the USB drive.
 
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 )

lampir@router:/tmp/home/root#

But its freshly installed?
 
Can you test with another USB drive? This one may be shot.
 
after you reformat the USB drive
uninstall and re-install skynet

firewall uninstall

then re-run the re-installation script
 
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.
 
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
 
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.
 
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.
 
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...
 
I didn't have any problems with the new one so far. It's a bit too much with 16GB, but it works.
 
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:

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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