USB stick does not show up

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
magnuscj
Posts: 2
Joined: Fri Dec 21, 2018 1:12 pm

USB stick does not show up

Post by magnuscj »

I have attached an USB stick (32GiB)
However I can not see any sign of that the system has identified it. I've scanned the forum and googled a bit without any success.
The dietpi-drive_manager does not detect the stick either.

Some command output:

lsusb
Bus 001 Device 004: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

fdisk -l
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 8192 93802 85611 41,8M c W95 FAT32 (LBA)
/dev/mmcblk0p2 98304 30253055 30154752 14,4G 83 Linux

uname -a
Linux DietPi 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux

dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.79-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1159 SMP Sun Nov 4 17:50:20 GMT 2018
[ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Plus Rev 1.3
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 8 MiB at 0x3dc00000
[ 0.000000] On node 0 totalpages: 255488
[ 0.000000] free_area_init_node: node 0, pgdat 80c85280, node_mem_map bd336000
[ 0.000000] Normal zone: 2246 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 255488 pages, LIFO batch:31
[ 0.000000] percpu: Embedded 17 pages/cpu @be59d000 s38720 r8192 d22720 u69632
[ 0.000000] pcpu-alloc: s38720 r8192 d22720 u69632 alloc=17*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 253242
[ 0.000000] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1280 bcm2708_fb.fbheight=720 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3f000000 vc_mem.mem_size=0x3f600000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=27504eef-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 990964K/1021952K available (7168K kernel code, 576K rwdata, 2076K rodata, 1024K init, 698K bss, 22796K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xbe800000 - 0xff800000 (1040 MB)
lowmem : 0x80000000 - 0xbe600000 ( 998 MB)
modules : 0x7f000000 - 0x80000000 ( 16 MB)
.text : 0x80008000 - 0x80800000 (8160 kB)
.init : 0x80b00000 - 0x80c00000 (1024 kB)
.data : 0x80c00000 - 0x80c9017c ( 577 kB)
.bss : 0x80c97f04 - 0x80d468b0 ( 699 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 25287 entries in 75 pages
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000023] Switching to timer-based delay loop, resolution 52ns
[ 0.000273] Console: colour dummy device 80x30
[ 0.000813] console [tty1] enabled
[ 0.000850] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.000890] pid_max: default: 32768 minimum: 301
[ 0.001224] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001259] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.002213] Disabling memory control group subsystem
[ 0.002310] CPU: Testing write buffer coherency: ok
[ 0.002741] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.003155] Setting up static identity map for 0x100000 - 0x10003c
[ 0.003294] Hierarchical SRCU implementation.
[ 0.003981] smp: Bringing up secondary CPUs ...
[ 0.004777] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.005609] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.006430] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.006535] smp: Brought up 1 node, 4 CPUs
[ 0.006607] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.006629] CPU: All CPU(s) started in HYP mode.
[ 0.006647] CPU: Virtualization extensions available.
[ 0.007593] devtmpfs: initialized
[ 0.017758] random: get_random_u32 called from bucket_table_alloc+0xfc/0x24c with crng_init=0
[ 0.018445] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[ 0.018693] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.018737] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.019310] pinctrl core: initialized pinctrl subsystem
[ 0.020111] NET: Registered protocol family 16
[ 0.022725] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.027517] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.027550] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.027764] Serial: AMBA PL011 UART driver
[ 0.029443] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.029917] uart-pl011 3f201000.serial: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
[ 0.061404] bcm2835-dma 3f007000.dma: DMA legacy API manager at be813000, dmachans=0x1
[ 0.062852] SCSI subsystem initialized
[ 0.063094] usbcore: registered new interface driver usbfs
[ 0.063163] usbcore: registered new interface driver hub
[ 0.063264] usbcore: registered new device driver usb
[ 0.070088] raspberrypi-firmware soc:firmware: Attached to firmware from 2018-11-04 16:32
[ 0.071429] clocksource: Switched to clocksource arch_sys_counter
[ 0.148363] VFS: Disk quotas dquot_6.6.0
[ 0.148477] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.148681] FS-Cache: Loaded
[ 0.148896] CacheFiles: Loaded
[ 0.157793] NET: Registered protocol family 2
[ 0.158530] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.158660] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.158863] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.159009] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.159071] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.159319] NET: Registered protocol family 1
[ 0.159792] RPC: Registered named UNIX socket transport module.
[ 0.159816] RPC: Registered udp transport module.
[ 0.159836] RPC: Registered tcp transport module.
[ 0.159855] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.161361] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[ 0.164124] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 0.172124] FS-Cache: Netfs 'nfs' registered for caching
[ 0.172742] NFS: Registering the id_resolver key type
[ 0.172786] Key type id_resolver registered
[ 0.172806] Key type id_legacy registered
[ 0.172834] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.174773] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.174930] io scheduler noop registered
[ 0.174952] io scheduler deadline registered (default)
[ 0.175137] io scheduler cfq registered
[ 0.175159] io scheduler mq-deadline registered
[ 0.175179] io scheduler kyber registered
[ 0.177485] BCM2708FB: allocated DMA memory fdd00000
[ 0.177528] BCM2708FB: allocated DMA channel 0 @ be813000
[ 0.191612] Console: switching to colour frame buffer device 160x45
[ 0.201257] bcm2835-rng 3f104000.rng: hwrng registered
[ 0.201497] vc-mem: phys_addr:0x00000000 mem_base=0x3f000000 mem_size:0x3f600000(1014 MiB)
[ 0.202092] vc-sm: Videocore shared memory driver
[ 0.202447] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 0.212160] brd: module loaded
[ 0.220805] loop: module loaded
[ 0.220897] Loading iSCSI transport class v2.0-870.
[ 0.221678] libphy: Fixed MDIO Bus: probed
[ 0.221849] usbcore: registered new interface driver lan78xx
[ 0.222000] usbcore: registered new interface driver smsc95xx
[ 0.224766] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.255401] dwc_otg 3f980000.usb: base=0xf0980000
[ 0.458341] Core Release: 2.80a
[ 0.461026] Setting default values for core params
[ 0.463752] Finished setting default values for core params
[ 0.666689] Using Buffer DMA mode
[ 0.669338] Periodic Transfer Interrupt Enhancement - disabled
[ 0.672027] Multiprocessor Interrupt Enhancement - disabled
[ 0.674714] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 0.677397] Dedicated Tx FIFOs mode
[ 0.680436] WARN::dwc_otg_hcd_init:1046: FIQ DMA bounce buffers: virt = 0xbdd14000 dma = 0xfdd14000 len=9024
[ 0.683344] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[ 0.697020] dwc_otg: Microframe scheduler enabled
[ 0.697077] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x805ea470
[ 0.699826] WARN::hcd_init_fiq:460: FIQ ASM at 0x805ea7d8 length 36
[ 0.702583] WARN::hcd_init_fiq:486: MPHI regs_base at 0xf0006000
[ 0.705349] dwc_otg 3f980000.usb: DWC OTG Controller
[ 0.708069] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 0.710786] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[ 0.713522] Init: Port Power? op_state=1
[ 0.716197] Init: Power Port (0)
[ 0.719045] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.721822] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.724609] usb usb1: Product: DWC OTG Controller
[ 0.727376] usb usb1: Manufacturer: Linux 4.14.79-v7+ dwc_otg_hcd
[ 0.730186] usb usb1: SerialNumber: 3f980000.usb
[ 0.733576] hub 1-0:1.0: USB hub found
[ 0.736353] hub 1-0:1.0: 1 port detected
[ 0.739567] dwc_otg: FIQ enabled
[ 0.739573] dwc_otg: NAK holdoff enabled
[ 0.739578] dwc_otg: FIQ split-transaction FSM enabled
[ 0.739588] Module dwc_common_port init
[ 0.739838] usbcore: registered new interface driver usb-storage
[ 0.742716] mousedev: PS/2 mouse device common for all mice
[ 0.745437] IR NEC protocol handler initialized
[ 0.748049] IR RC5(x/sz) protocol handler initialized
[ 0.750685] IR RC6 protocol handler initialized
[ 0.753336] IR JVC protocol handler initialized
[ 0.755930] IR Sony protocol handler initialized
[ 0.758504] IR SANYO protocol handler initialized
[ 0.761106] IR Sharp protocol handler initialized
[ 0.763676] IR MCE Keyboard/mouse protocol handler initialized
[ 0.766252] IR XMP protocol handler initialized
[ 0.769504] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[ 0.772414] bcm2835-cpufreq: min=600000 max=1400000
[ 0.775377] sdhci: Secure Digital Host Controller Interface driver
[ 0.778009] sdhci: Copyright(c) Pierre Ossman
[ 0.780957] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe
[ 0.783949] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[ 0.786709] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.790791] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.793589] hidraw: raw HID events driver (C) Jiri Kosina
[ 0.796312] usbcore: registered new interface driver usbhid
[ 0.798905] usbhid: USB HID core driver
[ 0.802112] vchiq: vchiq_init_state: slot_zero = bdd80000, is_master = 0
[ 0.806134] [vc_sm_connected_init]: start
[ 0.809762] vc_vchi_sm_init: failed to open VCHI service (-1)
[ 0.809769] [vc_sm_connected_init]: failed to initialize shared memory service
[ 0.815185] [vc_sm_connected_init]: end - returning -1
[ 0.818566] Initializing XFRM netlink socket
[ 0.821296] NET: Registered protocol family 17
[ 0.824083] Key type dns_resolver registered
[ 0.827157] Registering SWP/SWPB emulation handler
[ 0.830405] registered taskstats version 1
[ 0.838959] uart-pl011 3f201000.serial: cts_event_workaround enabled
[ 0.841807] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[ 0.846419] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[ 0.849189] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[ 0.912063] sdhost: log_buf @ bdd13000 (fdd13000)
[ 0.954347] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 0.958648] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 0.961530] Indeed it is in host mode hprt0 = 00021501
[ 1.025613] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.031171] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1.045949] random: fast init done
[ 1.051486] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 1.055220] of_cfs_init
[ 1.058072] of_cfs_init: OK
[ 1.061275] Waiting for root device PARTUUID=27504eef-02...
[ 1.123471] mmc1: new high speed SDIO card at address 0001
[ 1.134459] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.140191] mmc0: new high speed SDHC card at address 0007
[ 1.143545] mmcblk0: mmc0:0007 SD16G 14.4 GiB
[ 1.148376] mmcblk0: p1 p2
[ 1.171475] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.174425] Indeed it is in host mode hprt0 = 00001101
[ 1.243396] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.246332] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.258728] devtmpfs: mounted
[ 1.264844] Freeing unused kernel memory: 1024K
[ 1.411798] usb 1-1: New USB device found, idVendor=0424, idProduct=2514
[ 1.414741] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.418339] hub 1-1:1.0: USB hub found
[ 1.421298] hub 1-1:1.0: 4 ports detected
[ 1.701891] systemd[1]: System time before build time, advancing clock.
[ 1.741482] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 1.835463] NET: Registered protocol family 10
[ 1.839356] Segment Routing with IPv6
[ 1.852615] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.874105] random: systemd: uninitialized urandom read (16 bytes read)
[ 1.881761] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2514
[ 1.884695] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.888332] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[ 1.888417] hub 1-1.1:1.0: USB hub found
[ 1.888508] hub 1-1.1:1.0: 3 ports detected
[ 1.901184] systemd[1]: Detected architecture arm.
[ 1.917129] systemd[1]: Set hostname to <DietPi>.
[ 1.964231] random: systemd: uninitialized urandom read (16 bytes read)
[ 1.979103] random: systemd-cryptse: uninitialized urandom read (16 bytes read)
[ 2.241460] dwc_otg_handle_wakeup_detected_intr lxstate = 2
[ 2.318375] systemd[1]: apt-daily.timer: Cannot add dependency job, ignoring: Unit apt-daily.timer is masked.
[ 2.321784] systemd[1]: apt-daily-upgrade.timer: Cannot add dependency job, ignoring: Unit apt-daily-upgrade.timer is masked.
[ 2.325299] systemd[1]: systemd-logind.service: Cannot add dependency job, ignoring: Unit systemd-logind.service is masked.
[ 2.328896] systemd[1]: getty-static.service: Cannot add dependency job, ignoring: Unit getty-static.service is masked.
[ 2.361610] systemd[1]: Listening on udev Control Socket.
[ 2.369540] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 2.377401] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 2.821546] usb 1-1.1.1: new high-speed USB device number 4 using dwc_otg
[ 2.951954] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800
[ 2.951971] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.151086] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 3.234541] libphy: lan78xx-mdiobus: probed
[ 3.399053] systemd-journald[85]: Received request to flush runtime journal from PID 1
[ 3.673327] Adding 1097724k swap on /var/swap. Priority:-2 extents:7 across:1171452k SSFS
[ 4.113146] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 5.208129] random: crng init done
[ 5.208143] random: 7 urandom warning(s) missed due to ratelimiting
[ 6.274358] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Post Reply