We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

USB not mounting [Beta Firmware 22.03.3]



  • @Lazar-Demin I do not. Which is weird because I do see those logs on my Onion that has OpenWRT 18. I got around this by simply using ftp but I would like to be able to use the usb on my expansion dock so where should I start debugging?


  • administrators

    @cosmonaut2919 I tried plugging in a USB drive into an Omega2 running the latest 22.03.3-20230628 firmware and saw some strange behaviour:

    • When I plugged in the USB drive, the serial console didn't output anything and I realized it was stuck
    • I killed the serial session and started a new one, running dmesg I saw the kernel messages did in fact happen
    • I tried unplugging the drive and it totally froze up that serial tty on my computer

    Can you try doing the same thing and seeing if you get the same results?



  • @Lazar-Demin I was able to get around the need of a USB by using ftp through wireguard that I have set up. I can still send you the logs if you want if it will help with development and production of 22.03


  • administrators

    @cosmonaut2919 ya, please post the logs when you get a chance



  • @cosmonaut2919 Also post the output of lsmod



  • @Lazar-Demin Sorry about the late reply I have been away for a bit and missed your response. Here is my dmesg output. Removing the USB did not freeze my onion and I can still access it

    [  510.066127] rt3050-esw 10110000.esw: port 0 link down
    [ 1861.049340] usb 1-1.1: new high-speed USB device number 4 using ehci-platform
    [ 1861.204647] usb-storage 1-1.1:1.0: USB Mass Storage device detected
    [ 1861.228862] scsi host0: usb-storage 1-1.1:1.0
    [ 1862.260485] scsi 0:0:0:0: Direct-Access     General  UDisk            5.00 PQ: 0 ANSI: 2
    [ 1862.307718] sd 0:0:0:0: [sda] 7864320 512-byte logical blocks: (4.03 GB/3.75 GiB)
    [ 1862.341522] sd 0:0:0:0: [sda] Write Protect is off
    [ 1862.346414] sd 0:0:0:0: [sda] Mode Sense: 0b 00 00 08
    [ 1862.356579] sd 0:0:0:0: [sda] No Caching mode page found
    [ 1862.362078] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [ 1862.414973]  sda:
    [ 1862.424476] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [ 2022.294838] usb 1-1.1: USB disconnect, device number 4
    


  • @crispyoz This is my lsmod output.

    autofs4                19936  1
    cdc_acm                15696  0
    cdc_wdm                 8480  2 qmi_wwan
    cfg80211              285840  3 mt7603e,mt76,mac80211
    chacha_mips             5344  1 libchacha20poly1305
    cmac                    2464  0
    compat                  1024  2 mac80211,cfg80211
    cp210x                 14272  0
    crc_ccitt               1664  1 ppp_async
    crc16                   1024  1 ext4
    crc32c_generic          1376  3
    drbg                   17536  0
    ehci_fsl                3456  0
    ehci_hcd               38064  2 ehci_platform,ehci_fsl
    ehci_platform           4608  0
    ext4                  440000  1
    fat                    58192  1 vfat
    fsl_mph_dr_of           3632  0
    gpio_button_hotplug     6592  0
    hmac                    2496  0
    i2c_core               26480  2 i2c_mt7621,i2c_dev
    i2c_dev                 5200  0
    i2c_mt7621              2912  0
    ip6_udp_tunnel          1696  1 wireguard
    jbd2                   56336  1 ext4
    jitterentropy_rng       7136  0
    kpp                      896  0
    leds_gpio               3168  0
    libchacha20poly1305     4320  1 wireguard,[permanent]
    libcrc32c                592  1 nf_tables
    libcurve25519_generic   10464  1 wireguard
    libsha256               8576  1 sha256_generic
    mac80211              521824  2 mt7603e,mt76
    mbcache                 3216  1 ext4
    mii                     5152  1 usbnet
    mmc_block              27152  2
    mmc_core               88480  3 mmc_block,sdhci,mtk_sd
    mt76                   44448  1 mt7603e
    mt7603e                38432  0
    mtk_sd                 15408  0
    nf_conntrack           69200  7 nft_redir,nft_nat,nft_masq,nft_flow_offload,nft_ct,nf_nat,nf_flow_table
    nf_defrag_ipv4          1216  1 nf_conntrack
    nf_defrag_ipv6          5584  1 nf_conntrack
    nf_flow_table          22128  4 nf_flow_table_ipv6,nf_flow_table_ipv4,nf_flow_table_inet,nft_flow_offload
    nf_flow_table_inet       576  0
    nf_flow_table_ipv4       448  0
    nf_flow_table_ipv6       448  0
    nf_log_common           2976  2 nf_log_ipv6,nf_log_ipv4
    nf_log_ipv4             3680  0
    nf_log_ipv6             3968  0
    nf_nat                 22384  4 nft_redir,nft_nat,nft_masq,nft_chain_nat
    nf_reject_ipv4          2528  2 nft_reject_ipv4,nft_reject_inet
    nf_reject_ipv6          2944  2 nft_reject_ipv6,nft_reject_inet
    nf_tables             150992190 nft_fib_inet,nf_flow_table_ipv6,nf_flow_table_ipv4,nf_flow_table_inet,nft_reject_ipv6,nft_reject_ipv4,nft_reject_inet,nft_reject,nft_redir,nft_quota,nft_objref,nft_numgen,nft_nat,nft_masq,nft_log,nft_limit,nft_hash,nft_flow_offload,nft_fib_ipv6,nft_fib_ipv4,nft_fib,nft_ct,nft_counter,nft_chain_nat
    nfnetlink               5184  1 nf_tables
    nft_chain_nat            864  2
    nft_counter             1792 15
    nft_ct                  7680  3
    nft_fib                 1408  3 nft_fib_inet,nft_fib_ipv6,nft_fib_ipv4
    nft_fib_inet             672  0
    nft_fib_ipv4            2080  1 nft_fib_inet
    nft_fib_ipv6            2784  1 nft_fib_inet
    nft_flow_offload        3488  0
    nft_hash                2432  0
    nft_limit               3584  5
    nft_log                 1728  0
    nft_masq                1824  1
    nft_nat                 2592  0
    nft_numgen              1504  0
    nft_objref              1664  0
    nft_quota               2016  0
    nft_redir               1792  0
    nft_reject              1152  3 nft_reject_ipv6,nft_reject_ipv4,nft_reject_inet
    nft_reject_inet         1152  2
    nft_reject_ipv4          672  0
    nft_reject_ipv6          672  0
    nls_base                4928  6 vfat,fat,nls_utf8,nls_iso8859_1,nls_cp437,usbcore
    nls_cp437               4416  0
    nls_iso8859_1           2880  0
    nls_utf8                 864  0
    ohci_hcd               25744  1 ohci_platform
    ohci_platform           3424  0
    option                 33760  0
    poly1305_mips           3424  1 libchacha20poly1305
    ppp_async               7136  0
    ppp_generic            24880  3 pppoe,ppp_async,pppox
    pppoe                   9600  0
    pppox                   1296  1 pppoe
    qmi_wwan               16704  0
    scsi_mod               88272  2 usb_storage,sd_mod
    sd_mod                 30160  0
    sdhci                  34448  1 sdhci_pltfm
    sdhci_pltfm             2368  0
    seqiv                   1600  0
    sha256_generic          2400  0
    slhc                    5312  1 ppp_generic
    spidev                  6960  0
    udp_tunnel             10640  1 wireguard
    usb_common              3184  3 ohci_hcd,ehci_platform,usbcore
    usb_storage            43280  0
    usb_wwan                4480  1 option
    usbcore               145760 15 option,usb_wwan,qmi_wwan,cp210x,usbserial,usbnet,cdc_wdm,cdc_acm,usb_storage,ohci_platform,ohci_hcd,ehci_platform,ehci_fsl,ehci_hcd
    usbnet                 17296  1 qmi_wwan
    usbserial              17872  3 option,usb_wwan,cp210x
    vfat                    9696  0
    wireguard              52336  0
    


  • @cosmonaut2919 What does lsusb command report?



  • @crispyoz

    Bus 001 Device 003: ID 2c7c:0125 Quectel EC25-AF
    Bus 002 Device 001: ID 1d6b:0001 Linux 5.10.161 ohci_hcd Generic Platform OHCI controller
    Bus 001 Device 005: ID abcd:1234 General  UDisk
    Bus 001 Device 002: ID 05e3:0608  USB2.0 Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux 5.10.161 ehci_hcd EHCI Host Controller
    


  • I was able to fix it. I didn't even think about my /etc/config/fstab. I had anon_mount off. With it on I can now use my USB



Looks like your connection to Community was lost, please wait while we try to reconnect.