Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't mount Linux drive on 20211 #5901

Closed
ThomasBurgess2000 opened this issue Sep 11, 2020 · 9 comments
Closed

Can't mount Linux drive on 20211 #5901

ThomasBurgess2000 opened this issue Sep 11, 2020 · 9 comments
Assignees

Comments

@ThomasBurgess2000
Copy link

Environment

Windows build number: 10.0.20211.1000
Your Distribution version: Ubuntu 20.04
Whether the issue is on WSL 2 and/or WSL 1: WSL2

Steps to reproduce

Try to mount microsd card with Raspberry OS on it.

WSL logs:

[ 0.000000] Linux version 4.19.104-microsoft-standard (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Wed Feb 19 06:37:35 UTC 2020
[ 0.000000] Command line: initrd=\initrd.img panic=-1 nr_cpus=12 swiotlb=force pty.legacy_count=0
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'compacted' format.
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000e0fff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000001fffff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x0000000000200000-0x00000000f7ffffff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x00000002053fffff] usable
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] DMI not present or invalid.
[ 0.000000] Hypervisor detected: Microsoft Hyper-V
[ 0.000000] Hyper-V: features 0xae7f, hints 0xc2c
[ 0.000000] Hyper-V Host Build:20211-10.0-1-0.1000
[ 0.000000] Hyper-V: LAPIC Timer Frequency: 0x1e8480
[ 0.000000] tsc: Marking TSC unstable due to running on Hyper-V
[ 0.000000] Hyper-V: Using hypercall for remote TLB flush
[ 0.000000] tsc: Detected 3593.275 MHz processor
[ 0.000004] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.000004] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000006] last_pfn = 0x205400 max_arch_pfn = 0x400000000
[ 0.000027] MTRR default type: uncachable
[ 0.000027] MTRR fixed ranges disabled:
[ 0.000028] 00000-FFFFF uncachable
[ 0.000028] MTRR variable ranges disabled:
[ 0.000029] 0 disabled
[ 0.000029] 1 disabled
[ 0.000029] 2 disabled
[ 0.000029] 3 disabled
[ 0.000029] 4 disabled
[ 0.000030] 5 disabled
[ 0.000030] 6 disabled
[ 0.000030] 7 disabled
[ 0.000030] Disabled
[ 0.000031] x86/PAT: MTRRs disabled, skipping PAT initialization too.
[ 0.000037] CPU MTRRs all blank - virtualized system.
[ 0.000038] x86/PAT: Configuration [0-7]: WB WT UC- UC WB WT UC- UC
[ 0.000039] last_pfn = 0xf8000 max_arch_pfn = 0x400000000
[ 0.000050] Using GB pages for direct mapping
[ 0.000051] BRK [0x02e00000, 0x02e00fff] PGTABLE
[ 0.000052] BRK [0x02e01000, 0x02e01fff] PGTABLE
[ 0.000052] BRK [0x02e02000, 0x02e02fff] PGTABLE
[ 0.000072] BRK [0x02e03000, 0x02e03fff] PGTABLE
[ 0.000333] RAMDISK: [mem 0x02e35000-0x02e45fff]
[ 0.000336] ACPI: Early table checksum verification disabled
[ 0.000342] ACPI: RSDP 0x00000000000E0000 000024 (v02 VRTUAL)
[ 0.000344] ACPI: XSDT 0x0000000000100000 000044 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000347] ACPI: FACP 0x0000000000101000 000114 (v06 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000350] ACPI: DSDT 0x00000000001011B8 01E184 (v02 MSFTVM DSDT01 00000001 MSFT 05000000)
[ 0.000352] ACPI: FACS 0x0000000000101114 000040
[ 0.000353] ACPI: OEM0 0x0000000000101154 000064 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000354] ACPI: SRAT 0x000000000011F33C 000370 (v02 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000355] ACPI: APIC 0x000000000011F6AC 0000A8 (v04 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000359] ACPI: Local APIC address 0xfee00000
[ 0.000527] Zone ranges:
[ 0.000528] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.000529] DMA32 [mem 0x0000000001000000-0x00000000ffffffff]
[ 0.000530] Normal [mem 0x0000000100000000-0x00000002053fffff]
[ 0.000530] Movable zone start for each node
[ 0.000531] Early memory node ranges
[ 0.000531] node 0: [mem 0x0000000000001000-0x000000000009ffff]
[ 0.000532] node 0: [mem 0x0000000000200000-0x00000000f7ffffff]
[ 0.000532] node 0: [mem 0x0000000100000000-0x00000002053fffff]
[ 0.000954] Zeroed struct page in unavailable ranges: 11617 pages
[ 0.000955] Initmem setup node 0 [mem 0x0000000000001000-0x00000002053fffff]
[ 0.000957] On node 0 totalpages: 2085535
[ 0.000957] DMA zone: 59 pages used for memmap
[ 0.000958] DMA zone: 22 pages reserved
[ 0.000958] DMA zone: 3743 pages, LIFO batch:0
[ 0.001012] DMA32 zone: 16320 pages used for memmap
[ 0.001012] DMA32 zone: 1011712 pages, LIFO batch:63
[ 0.018853] Normal zone: 16720 pages used for memmap
[ 0.018854] Normal zone: 1070080 pages, LIFO batch:63
[ 0.019465] ACPI: Local APIC address 0xfee00000
[ 0.019471] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[ 0.019769] IOAPIC[0]: apic_id 12, version 17, address 0xfec00000, GSI 0-23
[ 0.019775] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.019776] ACPI: IRQ9 used by override.
[ 0.019777] Using ACPI (MADT) for SMP configuration information
[ 0.019787] smpboot: Allowing 12 CPUs, 0 hotplug CPUs
[ 0.019794] [mem 0xf8000000-0xffffffff] available for PCI devices
[ 0.019795] Booting paravirtualized kernel on bare hardware
[ 0.019796] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.117689] random: get_random_bytes called from start_kernel+0x93/0x4bb with crng_init=0
[ 0.117696] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:12 nr_node_ids:1
[ 0.118302] percpu: Embedded 42 pages/cpu s133400 r8192 d30440 u262144
[ 0.118306] pcpu-alloc: s133400 r8192 d30440 u262144 alloc=1*2097152
[ 0.118306] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 [0] 08 09 10 11 -- -- -- --
[ 0.118317] Built 1 zonelists, mobility grouping on. Total pages: 2052414
[ 0.118319] Kernel command line: initrd=\initrd.img panic=-1 nr_cpus=12 swiotlb=force pty.legacy_count=0
[ 0.119388] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[ 0.119980] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
[ 0.138000] Memory: 4096400K/8342140K available (14360K kernel code, 1575K rwdata, 2836K rodata, 1504K init, 2792K bss, 242332K reserved, 0K cma-reserved)
[ 0.138222] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=12, Nodes=1
[ 0.138227] ftrace: allocating 41537 entries in 163 pages
[ 0.148893] rcu: Hierarchical RCU implementation.
[ 0.148895] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=12.
[ 0.148895] All grace periods are expedited (rcu_expedited).
[ 0.148895] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=12
[ 0.150529] Using NULL legacy PIC
[ 0.150530] NR_IRQS: 16640, nr_irqs: 520, preallocated irqs: 0
[ 0.150802] Console: colour dummy device 80x25
[ 0.150804] console [tty0] enabled
[ 0.150807] ACPI: Core revision 20180810
[ 0.150887] Failed to register legacy timer interrupt
[ 0.150894] APIC: Switch to symmetric I/O mode setup
[ 0.150895] Switched APIC routing to physical flat.
[ 0.150910] Hyper-V: Using IPI hypercalls
[ 0.150910] Hyper-V: Using MSR based APIC access
[ 0.150914] clocksource: hyperv_clocksource_tsc_page: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[ 0.150991] Calibrating delay loop (skipped), value calculated using timer frequency.. 7186.55 BogoMIPS (lpj=35932750)
[ 0.150993] pid_max: default: 32768 minimum: 301
[ 0.151006] Security Framework initialized
[ 0.151020] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.151028] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.151231] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 0.151240] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 512
[ 0.151240] Last level dTLB entries: 4KB 2048, 2MB 2048, 4MB 1024, 1GB 0
[ 0.151241] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[ 0.151242] Spectre V2 : Spectre mitigation: LFENCE not serializing, switching to generic retpoline
[ 0.151242] Spectre V2 : Mitigation: Full generic retpoline
[ 0.151242] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[ 0.151245] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[ 0.151246] Spectre V2 : User space: Mitigation: STIBP via seccomp and prctl
[ 0.151247] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[ 0.151413] Freeing SMP alternatives memory: 44K
[ 0.152111] smpboot: CPU0: AMD Ryzen 5 3600 6-Core Processor (family: 0x17, model: 0x71, stepping: 0x0)
[ 0.152154] Performance Events: PMU not available due to virtualization, using software events only.
[ 0.152261] rcu: Hierarchical SRCU implementation.
[ 0.152541] random: crng done (trusting CPU's manufacturer)
[ 0.152593] smp: Bringing up secondary CPUs ...
[ 0.152627] x86: Booting SMP configuration:
[ 0.152628] .... node #0, CPUs: #1
[ 0.010202] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 0.301728] #2
[ 0.010202] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 0.451053] #3
[ 0.010202] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 0.601054] #4
[ 0.010202] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 0.751059] #5
[ 0.010202] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 0.901064] #6
[ 0.010202] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 1.051076] #7
[ 0.010202] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 1.201068] #8
[ 0.010202] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 1.351081] #9
[ 0.010202] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 1.501220] #10
[ 0.010202] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 1.651098] #11
[ 0.010202] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 1.801084] smp: Brought up 1 node, 12 CPUs
[ 1.801084] smpboot: Max logical packages: 1
[ 1.801084] smpboot: Total of 12 processors activated (86240.48 BogoMIPS)
[ 1.820993] node 0 initialised, 1000852 pages in 20ms
[ 1.821894] devtmpfs: initialized
[ 1.821894] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 1.821894] futex hash table entries: 4096 (order: 6, 262144 bytes)
[ 1.821894] xor: automatically using best checksumming function avx
[ 1.822246] NET: Registered protocol family 16
[ 1.822414] ACPI: bus type PCI registered
[ 1.822414] PCI: Fatal: No config space access function found
[ 1.822414] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 1.822414] raid6: Forced to use recovery algorithm avx2x2
[ 1.822414] raid6: Forced gen() algo avx2x4
[ 1.822414] ACPI: Added _OSI(Module Device)
[ 1.822414] ACPI: Added _OSI(Processor Device)
[ 1.822414] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 1.822414] ACPI: Added _OSI(Processor Aggregator Device)
[ 1.822414] ACPI: Added _OSI(Linux-Dell-Video)
[ 1.822414] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 1.833287] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 1.833845] ACPI: Interpreter enabled
[ 1.833845] ACPI: (supports S0 S5)
[ 1.833845] ACPI: Using IOAPIC for interrupt routing
[ 1.833845] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 1.833845] ACPI: Enabled 1 GPEs in block 00 to 0F
[ 1.833861] SCSI subsystem initialized
[ 1.833861] hv_vmbus: Vmbus version:5.0
[ 1.833861] PCI: Using ACPI for IRQ routing
[ 1.833861] PCI: System does not support PCI
[ 1.833861] clocksource: Switched to clocksource hyperv_clocksource_tsc_page
[ 1.833861] hv_vmbus: Unknown GUID: c376c1c3-d276-48d2-90a9-c04748072c60
[ 1.833861] hv_vmbus: Unknown GUID: 6e382d18-3336-4f4b-acc4-2b7703d4df4a
[ 1.833861] hv_vmbus: Unknown GUID: dde9cbc0-5060-4436-9448-ea1254a5d177
[ 1.841360] VFS: Disk quotas dquot_6.6.0
[ 1.841368] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.841395] FS-Cache: Loaded
[ 1.841415] pnp: PnP ACPI init
[ 1.841448] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[ 1.841482] pnp: PnP ACPI: found 1 devices
[ 1.845588] NET: Registered protocol family 2
[ 1.845680] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes)
[ 1.845688] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
[ 1.845745] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[ 1.845973] TCP: Hash tables configured (established 65536 bind 65536)
[ 1.845997] UDP hash table entries: 4096 (order: 5, 131072 bytes)
[ 1.846009] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes)
[ 1.846042] NET: Registered protocol family 1
[ 1.846331] RPC: Registered named UNIX socket transport module.
[ 1.846331] RPC: Registered udp transport module.
[ 1.846332] RPC: Registered tcp transport module.
[ 1.846332] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.846333] PCI: CLS 0 bytes, default 64
[ 1.846369] Trying to unpack rootfs image as initramfs...
[ 1.846465] Freeing initrd memory: 68K
[ 1.846467] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 1.846468] software IO TLB: mapped [mem 0xf4000000-0xf8000000] (64MB)
[ 1.847395] kvm: no hardware support
[ 1.847971] kvm: Nested Virtualization enabled
[ 1.847972] kvm: Nested Paging enabled
[ 1.847972] SVM: Virtual VMLOAD VMSAVE supported
[ 1.848604] Initialise system trusted keyrings
[ 1.848697] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[ 1.849547] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.849826] NFS: Registering the id_resolver key type
[ 1.849829] Key type id_resolver registered
[ 1.849829] Key type id_legacy registered
[ 1.849830] Installing knfsd (copyright (C) 1996 [email protected]).
[ 1.850628] Key type cifs.idmap registered
[ 1.850675] fuse init (API version 7.27)
[ 1.850786] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[ 1.851625] 9p: Installing v9fs 9p2000 file system support
[ 1.851630] FS-Cache: Netfs '9p' registered for caching
[ 1.851659] FS-Cache: Netfs 'ceph' registered for caching
[ 1.851661] ceph: loaded (mds proto 32)
[ 1.855222] NET: Registered protocol family 38
[ 1.855224] Key type asymmetric registered
[ 1.855225] Asymmetric key parser 'x509' registered
[ 1.855234] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 1.855235] io scheduler noop registered (default)
[ 1.855746] hv_vmbus: registering driver hv_pci
[ 1.855984] hv_pci 08c78126-a2e2-4d88-89a9-1a5152e6e420: PCI VMBus probing: Using version 0x10002
[ 1.856542] hv_pci 08c78126-a2e2-4d88-89a9-1a5152e6e420: PCI host bridge to bus 89a9:00
[ 1.856749] pci 89a9:00:00.0: [1414:008e] type 00 class 0x030200
[ 1.861359] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.861683] Non-volatile memory driver v1.3
[ 1.863829] brd: module loaded
[ 1.864516] loop: module loaded
[ 1.864703] hv_vmbus: registering driver hv_storvsc
[ 1.864740] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[ 1.865068] tun: Universal TUN/TAP device driver, 1.6
[ 1.865141] PPP generic driver version 2.4.2
[ 1.865215] PPP BSD Compression module registered
[ 1.865216] PPP Deflate Compression module registered
[ 1.865221] PPP MPPE Compression module registered
[ 1.865222] NET: Registered protocol family 24
[ 1.865230] hv_vmbus: registering driver hv_netvsc
[ 1.867774] scsi host0: storvsc_host_t
[ 1.874987] VFIO - User Level meta-driver version: 0.3
[ 1.875121] hv_vmbus: registering driver hyperv_keyboard
[ 1.875282] rtc_cmos 00:00: RTC can wake from S4
[ 1.896554] rtc_cmos 00:00: registered as rtc0
[ 1.896565] rtc_cmos 00:00: alarms up to one month, 114 bytes nvram
[ 1.896690] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: [email protected]
[ 1.897040] hv_utils: Registering HyperV Utility Driver
[ 1.897040] hv_vmbus: registering driver hv_util
[ 1.897064] hv_vmbus: registering driver hv_balloon
[ 1.897089] hv_utils: cannot register PTP clock: 0
[ 1.897189] drop_monitor: Initializing network drop monitor service
[ 1.897208] Mirror/redirect action on
[ 1.897387] hv_utils: TimeSync IC version 4.0
[ 1.897540] IPVS: Registered protocols (TCP, UDP)
[ 1.897558] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[ 1.897632] hv_balloon: Using Dynamic Memory protocol version 2.0
[ 1.899020] hv_balloon: cold memory discard enabled
[ 1.899188] IPVS: ipvs loaded.
[ 1.899190] IPVS: [rr] scheduler registered.
[ 1.899190] IPVS: [wrr] scheduler registered.
[ 1.899191] IPVS: [sh] scheduler registered.
[ 1.900962] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[ 1.901283] Initializing XFRM netlink socket
[ 1.901330] NET: Registered protocol family 10
[ 1.901722] Segment Routing with IPv6
[ 1.903840] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.903903] NET: Registered protocol family 17
[ 1.903915] Bridge firewalling registered
[ 1.903919] 8021q: 802.1Q VLAN Support v1.8
[ 1.903933] sctp: Hash tables configured (bind 256/256)
[ 1.903967] 9pnet: Installing 9P2000 support
[ 1.903976] Key type dns_resolver registered
[ 1.903982] Key type ceph registered
[ 1.904271] libceph: loaded (mon/osd proto 15/24)
[ 1.904273] hv_vmbus: registering driver hv_sock
[ 1.904342] NET: Registered protocol family 40
[ 1.904628] registered taskstats version 1
[ 1.904633] Loading compiled-in X.509 certificates
[ 1.904805] Btrfs loaded, crc32c=crc32c-generic
[ 1.905346] rtc_cmos 00:00: setting system clock to 2020-09-11 01:48:30 UTC (1599788910)
[ 1.905357] Unstable clock detected, switching default tracing clock to "global"
If you want to keep using the local clock, then add:
"trace_clock=local"
on the kernel command line
[ 1.907187] Freeing unused kernel image memory: 1504K
[ 1.971030] Write protecting the kernel read-only data: 20480k
[ 1.971633] Freeing unused kernel image memory: 1988K
[ 1.971798] Freeing unused kernel image memory: 1260K
[ 1.971799] Run /init as init process
[ 2.131489] scsi 0:0:0:0: Direct-Access Msft Virtual Disk 1.0 PQ: 0 ANSI: 5
[ 2.131809] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 2.132436] sd 0:0:0:0: [sda] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[ 2.132437] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 2.132530] sd 0:0:0:0: [sda] Write Protect is off
[ 2.132531] sd 0:0:0:0: [sda] Mode Sense: 0f 00 00 00
[ 2.132565] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 2.132719] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2.145937] scsi 0:0:0:1: Direct-Access Msft Virtual Disk 1.0 PQ: 0 ANSI: 5
[ 2.146226] sd 0:0:0:1: Attached scsi generic sg1 type 0
[ 2.146987] sd 0:0:0:1: [sdb] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[ 2.146988] sd 0:0:0:1: [sdb] 4096-byte physical blocks
[ 2.147073] sd 0:0:0:1: [sdb] Write Protect is off
[ 2.147074] sd 0:0:0:1: [sdb] Mode Sense: 0f 00 00 00
[ 2.147263] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2.149174] sd 0:0:0:0: [sda] Attached SCSI disk
[ 2.149658] sd 0:0:0:1: [sdb] Attached SCSI disk
[ 2.156077] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: (null)
[ 2.159358] hv_pci 6cc7bcd5-5ecb-4d73-9489-4d9e4538c27c: PCI VMBus probing: Using version 0x10002
[ 2.160171] hv_pci 6cc7bcd5-5ecb-4d73-9489-4d9e4538c27c: PCI host bridge to bus 9489:00
[ 2.160172] pci_bus 9489:00: root bus resource [mem 0xc00000000-0xc00002fff window]
[ 2.160715] pci 9489:00:00.0: [1af4:1049] type 00 class 0x010000
[ 2.162133] pci 9489:00:00.0: reg 0x10: [mem 0xc00000000-0xc00000fff 64bit]
[ 2.162780] pci 9489:00:00.0: reg 0x18: [mem 0xc00001000-0xc00001fff 64bit]
[ 2.163482] pci 9489:00:00.0: reg 0x20: [mem 0xc00002000-0xc00002fff 64bit]
[ 2.167384] pci 9489:00:00.0: BAR 0: assigned [mem 0xc00000000-0xc00000fff 64bit]
[ 2.167887] pci 9489:00:00.0: BAR 2: assigned [mem 0xc00001000-0xc00001fff 64bit]
[ 2.168329] pci 9489:00:00.0: BAR 4: assigned [mem 0xc00002000-0xc00002fff 64bit]
[ 2.174602] EXT4-fs (sdb): recovery complete
[ 2.175645] EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[ 2.190841] FS-Cache: Duplicate cookie detected
[ 2.190843] FS-Cache: O-cookie c=000000005a4ab3b9 [p=0000000043d4cad2 fl=222 nc=0 na=1]
[ 2.190843] FS-Cache: O-cookie d=0000000088679058 n=000000001a4a82ef
[ 2.190843] FS-Cache: O-key=[10] '34323934393337343939'
[ 2.190845] FS-Cache: N-cookie c=00000000bde3f3de [p=0000000043d4cad2 fl=2 nc=0 na=1]
[ 2.190846] FS-Cache: N-cookie d=0000000088679058 n=00000000fd1183cd
[ 2.190846] FS-Cache: N-key=[10] '34323934393337343939'
[ 2.193178] Adding 2097152k swap on /swap/file. Priority:-2 extents:1 across:2097152k
[ 2.345803] hv_pci 41c206f8-e044-427f-a044-ae2fc8e1bb1f: PCI VMBus probing: Using version 0x10002
[ 2.346533] hv_pci 41c206f8-e044-427f-a044-ae2fc8e1bb1f: PCI host bridge to bus a044:00
[ 2.346534] pci_bus a044:00: root bus resource [mem 0xc00004000-0xc00006fff window]
[ 2.346782] 9pnet_virtio: no channels available for device drvfs
[ 2.346786] WARNING: mount: waiting for virtio device...
[ 2.347086] pci a044:00:00.0: [1af4:1049] type 00 class 0x010000
[ 2.348450] pci a044:00:00.0: reg 0x10: [mem 0xc00004000-0xc00004fff 64bit]
[ 2.349065] pci a044:00:00.0: reg 0x18: [mem 0xc00005000-0xc00005fff 64bit]
[ 2.349670] pci a044:00:00.0: reg 0x20: [mem 0xc00006000-0xc00006fff 64bit]
[ 2.353571] pci a044:00:00.0: BAR 0: assigned [mem 0xc00004000-0xc00004fff 64bit]
[ 2.354033] pci a044:00:00.0: BAR 2: assigned [mem 0xc00005000-0xc00005fff 64bit]
[ 2.354457] pci a044:00:00.0: BAR 4: assigned [mem 0xc00006000-0xc00006fff 64bit]
[ 2.450215] hv_pci ec75381e-367c-4a82-b140-8fa46e2da1d2: PCI VMBus probing: Using version 0x10002
[ 2.450941] hv_pci ec75381e-367c-4a82-b140-8fa46e2da1d2: PCI host bridge to bus b140:00
[ 2.450943] pci_bus b140:00: root bus resource [mem 0xc00008000-0xc0000afff window]
[ 2.451475] pci b140:00:00.0: [1af4:1049] type 00 class 0x010000
[ 2.452852] pci b140:00:00.0: reg 0x10: [mem 0xc00008000-0xc00008fff 64bit]
[ 2.453458] pci b140:00:00.0: reg 0x18: [mem 0xc00009000-0xc00009fff 64bit]
[ 2.454068] pci b140:00:00.0: reg 0x20: [mem 0xc0000a000-0xc0000afff 64bit]
[ 2.457785] pci b140:00:00.0: BAR 0: assigned [mem 0xc00008000-0xc00008fff 64bit]
[ 2.458208] pci b140:00:00.0: BAR 2: assigned [mem 0xc00009000-0xc00009fff 64bit]
[ 2.458634] pci b140:00:00.0: BAR 4: assigned [mem 0xc0000a000-0xc0000afff 64bit]
[ 2.511041] init: (1) ERROR: MountPlan9WithRetry:285: mount drvfs on /mnt/d (cache=mmap,noatime,msize=262144,trans=virtio,aname=drvfs;path=D:;uid=1000;gid=1000;symlinkroot=/mnt/
[ 2.511043] ) failed: 22
[ 2.871053] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

Expected behavior

https://devblogs.microsoft.com/commandline/access-linux-filesystems-in-windows-and-wsl-2/

Actual behavior

I plug in the microsd and the F: drive labeled boot appears in File Explorer. I do "wsl --mount \.\PHYSICALDRIVE4 --partition 2" and the first time it will say "The remote procedure call failed." At the same time the F: drive will disappear from file explorer and my Ubuntu instance will close. If I then try to call it again it will say "The system cannot find the drive specified."

The output above is from running dmesg in the WSL Ubuntu. I think this is just there because I haven't mounted my encrypted drive at the D: drive.

@therealkenc
Copy link
Collaborator

Please move that dmesg dump to a gist. Instructions to collect wsl logs is here.

@wanfuse123

This comment has been minimized.

@xrishox
Copy link

xrishox commented Sep 12, 2020

Windows 20211 dev build. Ubuntu 20.04

[ 6.164013] init: (1) ERROR: MountPlan9WithRetry:285: mount drvfs on /mnt/c (cache=mmap,noatime,msize=262144,trans=virtio,aname=drvfs;path=C:;uid=1000;gid=1000;symlinkroot=/mnt/
[ 6.164015] ) failed: 22
[ 6.164137] 9pnet: Could not find request transport: virtio
[ 6.164143] init: (1) ERROR: MountPlan9WithRetry:285: mount drvfs on /mnt/d (cache=mmap,noatime,msize=262144,trans=virtio,aname=drvfs;path=D:;uid=1000;gid=1000;symlinkroot=/mnt/
[ 6.164145] ) failed: 22
[ 6.185924] init: (9) ERROR: UtilTranslatePathList:2662: Failed to translate C:\Program Files\WindowsApps\CanonicalGroupLimited.UbuntuonWindows_2004.2020.812.0_x64__79rhkp1fndgsc

[ 6.186116] init: (9) ERROR: UtilTranslatePathList:2662: Failed to translate C:\Program Files (x86)\Common Files\Oracle\Java\javapath

[ 6.186291] init: (9) ERROR: UtilTranslatePathList:2662: Failed to translate C:\WINDOWS\system32

[ 52.957162] hv_balloon: Max. dynamic memory size: 8192 MB

I can't access my c drives. Does anyone know what might be causing this?

@wanfuse123
Copy link

wanfuse123 commented Sep 13, 2020 via email

@onomatopellan
Copy link

USB flash drives are not supported at this time and will fail to attach to WSL 2. USB disks are supported though.

Dunno if consider the microsd card a flash drive or USB disk.

Did you try the --bare option? If that attaches the sdcard to WSL2 then you can mount the partition later.

@wanfuse123
Copy link

I am not sure what module was left out but it turned out to be my custom compiled kernel was at fault fo r this error. It worked for a few days and then I ended up getting

docker run -it --rm --gpus all ubuntu nvidia-smi
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].

using standard kernel

@wanfuse123
Copy link

8454:00:00.0 SCSI storage controller: Red Hat, Inc. Virtio filesystem (rev 01)
9002:00:00.0 SCSI storage controller: Red Hat, Inc. Virtio filesystem (rev 01)
9160:00:00.0 SCSI storage controller: Red Hat, Inc. Virtio filesystem (rev 01)
93ad:00:00.0 SCSI storage controller: Red Hat, Inc. Virtio filesystem (rev 01)
9697:00:00.0 SCSI storage controller: Red Hat, Inc. Virtio filesystem (rev 01)
a311:00:00.0 SCSI storage controller: Red Hat, Inc. Virtio filesystem (rev 01)
a618:00:00.0 SCSI storage controller: Red Hat, Inc. Virtio filesystem (rev 01)
adf6:00:00.0 SCSI storage controller: Red Hat, Inc. Virtio filesystem (rev 01)
ae54:00:00.0 3D controller: Microsoft Corporation Device 008e
b7e8:00:00.0 SCSI storage controller: Red Hat, Inc. Virtio filesystem (rev 01)
b93a:00:00.0 SCSI storage controller: Red Hat, Inc. Virtio filesystem (rev 01)

@doodlewhale
Copy link

I get the same experience as OP and I am using the --bare option.

wsl --mount \\.\PHYSICALDRIVE1 --bare

'The remote procedure call failed' error followed by crashing of WSL and loss of BOOT drive D: (in my case).

I am trying to mount a usb sd-card though. Is there any formal announcement as to the lack of flash support?

@OneBlue OneBlue self-assigned this Nov 2, 2020
@OneBlue
Copy link
Collaborator

OneBlue commented Nov 2, 2020

Thanks for reporting this OP.

@ThomasBurgess2000 / @doodlewhale : USB flash drives (and so sd cards) are indeed not supported at this time.

This is documented here:
USB flash drives are not supported at this time and will fail to attach to WSL 2. USB disks are supported though.

This is already covered by #6011, so I'll close this.

@OneBlue OneBlue closed this as completed Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants