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

Cannot Mount USB HDD via WSL Anymore - Disk was Attached but Failed to Mount #12430

Open
1 of 2 tasks
omegadefender opened this issue Jan 4, 2025 · 7 comments
Open
1 of 2 tasks

Comments

@omegadefender
Copy link

omegadefender commented Jan 4, 2025

Windows Version

Microsoft Windows [Version 10.0.26100.2605]

WSL Version

2.3.26.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.167.4

Distro Version

Ubuntu 20.04

Other Software

No response

Repro Steps

Mount a USB HDD formatted as ext4 to windows via WSL.
I use command wsl --mount \\.\PHYSICALDRIVE1 --partition 2 and this has been working fine for the last couple of years

Expected Behavior

I expect the drive to mount and be able to access the files from windows explorer.

Actual Behavior

I get the following error in the command prompt
The disk was attached but failed to mount: Invalid argument. For more details, run 'dmesg' inside WSL2. To detach the disk, run 'wsl.exe --unmount \\.\PHYSICALDRIVE1'.

Diagnostic Logs

WslLogs-2025-01-04_19-33-01.zip

Following is the log when I run dmesg in WSL

[    0.000000] Linux version 5.15.167.4-microsoft-standard-WSL2 (root@f9c826d3017f) (gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37) #1 SMP Tue Nov 5 00:21:55 UTC 2024
[    0.000000] Command line: initrd=\initrd.img WSL_ROOT_INIT=1 panic=-1 nr_cpus=16 hv_utils.timesync_implicit=1 console=hvc0 debug pty.legacy_count=0 WSL_ENABLE_CRASH_DUMP=1
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    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-0x00000001f55fffff] 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: privilege flags low 0xae7f, high 0x3b8030, hints 0x900c2c, misc 0xe0bed7b6
[    0.000000] Hyper-V Host Build:26100-10.0-2-0.2605
[    0.000000] Hyper-V: Nested features: 0x4a0000
[    0.000000] Hyper-V: LAPIC Timer Frequency: 0x1e8480
[    0.000000] Hyper-V: Using hypercall for remote TLB flush
[    0.000000] clocksource: hyperv_clocksource_tsc_page: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[    0.000003] tsc: Detected 2894.600 MHz processor
[    0.000064] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000068] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000071] last_pfn = 0x1f5600 max_arch_pfn = 0x400000000
[    0.000104] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT
[    0.000119] last_pfn = 0xf8000 max_arch_pfn = 0x400000000
[    0.000130] Using GB pages for direct mapping
[    0.000238] RAMDISK: [mem 0x03de4000-0x0400bfff]
[    0.000241] ACPI: Early table checksum verification disabled
[    0.000245] ACPI: RSDP 0x00000000000E0000 000024 (v02 VRTUAL)
[    0.000249] ACPI: XSDT 0x0000000000100000 000044 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000253] ACPI: FACP 0x0000000000101000 000114 (v06 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000257] ACPI: DSDT 0x00000000001011B8 01E191 (v02 MSFTVM DSDT01   00000001 MSFT 05000000)
[    0.000259] ACPI: FACS 0x0000000000101114 000040
[    0.000262] ACPI: OEM0 0x0000000000101154 000064 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000264] ACPI: SRAT 0x000000000011F349 0003B0 (v02 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000266] ACPI: APIC 0x000000000011F6F9 0000C8 (v04 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000268] ACPI: Reserving FACP table memory at [mem 0x101000-0x101113]
[    0.000270] ACPI: Reserving DSDT table memory at [mem 0x1011b8-0x11f348]
[    0.000270] ACPI: Reserving FACS table memory at [mem 0x101114-0x101153]
[    0.000271] ACPI: Reserving OEM0 table memory at [mem 0x101154-0x1011b7]
[    0.000272] ACPI: Reserving SRAT table memory at [mem 0x11f349-0x11f6f8]
[    0.000273] ACPI: Reserving APIC table memory at [mem 0x11f6f9-0x11f7c0]
[    0.000335] Zone ranges:
[    0.000337]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000339]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.000341]   Normal   [mem 0x0000000100000000-0x00000001f55fffff]
[    0.000342]   Device   empty
[    0.000343] Movable zone start for each node
[    0.000344] Early memory node ranges
[    0.000345]   node   0: [mem 0x0000000000001000-0x000000000009ffff]
[    0.000346]   node   0: [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000347]   node   0: [mem 0x0000000100000000-0x00000001f55fffff]
[    0.000349] Initmem setup node 0 [mem 0x0000000000001000-0x00000001f55fffff]
[    0.000381] On node 0, zone DMA: 1 pages in unavailable ranges
[    0.000490] On node 0, zone DMA: 352 pages in unavailable ranges
[    0.033683] On node 0, zone Normal: 10752 pages in unavailable ranges
[    0.033741] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[    0.034149] IOAPIC[0]: apic_id 16, version 17, address 0xfec00000, GSI 0-23
[    0.034154] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.034158] ACPI: Using ACPI (MADT) for SMP configuration information
[    0.034165] smpboot: Allowing 16 CPUs, 0 hotplug CPUs
[    0.034175] [mem 0xf8000000-0xffffffff] available for PCI devices
[    0.034177] Booting paravirtualized kernel on Hyper-V
[    0.034179] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.038883] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:16 nr_node_ids:1
[    0.041345] percpu: Embedded 54 pages/cpu s180696 r8192 d32296 u262144
[    0.041356] pcpu-alloc: s180696 r8192 d32296 u262144 alloc=1*2097152
[    0.041359] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 [0] 08 09 10 11 12 13 14 15
[    0.041377] Hyper-V: PV spinlocks enabled
[    0.041379] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.041383] Built 1 zonelists, mobility grouping on.  Total pages: 1988269
[    0.041385] Kernel command line: initrd=\initrd.img WSL_ROOT_INIT=1 panic=-1 nr_cpus=16 hv_utils.timesync_implicit=1 console=hvc0 debug pty.legacy_count=0 WSL_ENABLE_CRASH_DUMP=1
[    0.041467] Unknown kernel command line parameters "WSL_ROOT_INIT=1 WSL_ENABLE_CRASH_DUMP=1", will be passed to user space.
[    0.045699] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.047819] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.047885] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.104096] Memory: 4081192K/8082044K available (18452K kernel code, 2648K rwdata, 9668K rodata, 2016K init, 1776K bss, 254988K reserved, 0K cma-reserved)
[    0.104149] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=16, Nodes=1
[    0.104194] ftrace: allocating 52991 entries in 207 pages
[    0.122038] ftrace: allocated 207 pages with 6 groups
[    0.122342] rcu: Hierarchical RCU implementation.
[    0.122344] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=16.
[    0.122345]  Rude variant of Tasks RCU enabled.
[    0.122346]  Tracing variant of Tasks RCU enabled.
[    0.122347] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.122348] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=16
[    0.125980] Using NULL legacy PIC
[    0.125983] NR_IRQS: 16640, nr_irqs: 552, preallocated irqs: 0
[    0.126367] random: crng init done
[    0.126404] Console: colour dummy device 80x25
[    0.126414] ACPI: Core revision 20210730
[    0.126516] Failed to register legacy timer interrupt
[    0.126518] APIC: Switch to symmetric I/O mode setup
[    0.126519] Switched APIC routing to physical flat.
[    0.126537] Hyper-V: Using IPI hypercalls
[    0.126538] Hyper-V: Using enlightened APIC (xapic mode)
[    0.126634] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x29b955a5936, max_idle_ns: 440795263712 ns
[    0.126641] Calibrating delay loop (skipped), value calculated using timer frequency.. 5789.20 BogoMIPS (lpj=28946000)
[    0.126695] x86/cpu: User Mode Instruction Prevention (UMIP) activated
[    0.126711] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 512
[    0.126713] Last level dTLB entries: 4KB 2048, 2MB 2048, 4MB 1024, 1GB 0
[    0.126715] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.126717] Spectre V2 : Mitigation: Retpolines
[    0.126718] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.126718] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT
[    0.126719] Spectre V2 : Enabling Speculation Barrier for firmware calls
[    0.126719] RETBleed: Mitigation: untrained return thunk
[    0.126721] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[    0.126722] Spectre V2 : Selecting STIBP always-on mode to complement retbleed mitigation
[    0.126722] Spectre V2 : User space: Mitigation: STIBP always-on protection
[    0.126723] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[    0.126724] Speculative Return Stack Overflow: Mitigation: safe RET
[    0.126737] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.126739] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.126739] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.126741] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.126742] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
[    0.136638] Freeing SMP alternatives memory: 60K
[    0.136638] pid_max: default: 32768 minimum: 301
[    0.136638] LSM: Security Framework initializing
[    0.136638] landlock: Up and running.
[    0.136638] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.136638] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.136638] smpboot: CPU0: AMD Ryzen 7 4800H with Radeon Graphics (family: 0x17, model: 0x60, stepping: 0x1)
[    0.136638] Performance Events: Fam17h+ core perfctr, AMD PMU driver.
[    0.136638] ... version:                0
[    0.136638] ... bit width:              48
[    0.136638] ... generic registers:      6
[    0.136638] ... value mask:             0000ffffffffffff
[    0.136638] ... max period:             00007fffffffffff
[    0.136638] ... fixed-purpose events:   0
[    0.136638] ... event mask:             000000000000003f
[    0.136638] signal: max sigframe size: 1776
[    0.136638] rcu: Hierarchical SRCU implementation.
[    0.136638] smp: Bringing up secondary CPUs ...
[    0.136638] x86: Booting SMP configuration:
[    0.136638] .... node  #0, CPUs:        #1
[    0.136638] Spectre V2 : Update user space SMT mitigation: STIBP always-on
[    0.136638]   #2  #3  #4  #5  #6  #7  #8  #9 #10 #11 #12 #13 #14 #15
[    0.138024] smp: Brought up 1 node, 16 CPUs
[    0.138024] smpboot: Max logical packages: 1
[    0.138024] smpboot: Total of 16 processors activated (92627.20 BogoMIPS)
[    0.151451] node 0 deferred pages initialised in 10ms
[    0.153211] devtmpfs: initialized
[    0.153211] x86/mm: Memory block size: 128MB
[    0.153211] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.153211] futex hash table entries: 4096 (order: 6, 262144 bytes, linear)
[    0.153211] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.153211] audit: initializing netlink subsys (disabled)
[    0.153211] audit: type=2000 audit(1735971433.020:1): state=initialized audit_enabled=0 res=1
[    0.153211] thermal_sys: Registered thermal governor 'step_wise'
[    0.153211] cpuidle: using governor menu
[    0.156736] ACPI: bus type PCI registered
[    0.156753] PCI: Fatal: No config space access function found
[    0.159241] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[    0.159269] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.159269] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.166823] raid6: skip pq benchmark and using algorithm avx2x4
[    0.166823] raid6: using avx2x2 recovery algorithm
[    0.166823] ACPI: Added _OSI(Module Device)
[    0.166823] ACPI: Added _OSI(Processor Device)
[    0.166823] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.166823] ACPI: Added _OSI(Processor Aggregator Device)
[    0.166823] ACPI: Added _OSI(Linux-Dell-Video)
[    0.166823] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.166823] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    0.180424] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.181643] ACPI: Interpreter enabled
[    0.181647] ACPI: PM: (supports S0 S5)
[    0.181650] ACPI: Using IOAPIC for interrupt routing
[    0.181661] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.181883] ACPI: Enabled 2 GPEs in block 00 to 0F
[    0.183994] iommu: Default domain type: Translated
[    0.183997] iommu: DMA domain TLB invalidation policy: lazy mode
[    0.184140] SCSI subsystem initialized
[    0.184156] ACPI: bus type USB registered
[    0.184201] usbcore: registered new interface driver usbfs
[    0.184211] usbcore: registered new interface driver hub
[    0.184220] usbcore: registered new device driver usb
[    0.184234] pps_core: LinuxPPS API ver. 1 registered
[    0.184235] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.184239] PTP clock support registered
[    0.186749] hv_vmbus: Vmbus version:5.3
[    0.186916] PCI: Using ACPI for IRQ routing
[    0.186919] PCI: System does not support PCI
[    0.187287] clocksource: Switched to clocksource tsc-early
[    0.187373] hv_vmbus: Unknown GUID: c376c1c3-d276-48d2-90a9-c04748072c60
[    0.187486] hv_vmbus: Unknown GUID: 6e382d18-3336-4f4b-acc4-2b7703d4df4a
[    0.187509] hv_vmbus: Unknown GUID: dde9cbc0-5060-4436-9448-ea1254a5d177
[    0.187547] hv_vmbus: Unknown GUID: 6e382d18-3336-4f4b-acc4-2b7703d4df4a
[    0.210198] VFS: Disk quotas dquot_6.6.0
[    0.210220] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.210261] FS-Cache: Loaded
[    0.210314] pnp: PnP ACPI init
[    0.210672] pnp: PnP ACPI: found 1 devices
[    0.217274] NET: Registered PF_INET protocol family
[    0.217803] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.218349] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.218386] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.218393] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.218669] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    0.219177] TCP: Hash tables configured (established 65536 bind 65536)
[    0.219296] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.219364] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.219464] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.220623] RPC: Registered named UNIX socket transport module.
[    0.220626] RPC: Registered udp transport module.
[    0.220628] RPC: Registered tcp transport module.
[    0.220629] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.220635] PCI: CLS 0 bytes, default 64
[    0.220667] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.220669] software IO TLB: mapped [mem 0x00000000f4000000-0x00000000f8000000] (64MB)
[    0.220767] kvm: no hardware support
[    0.220806] Trying to unpack rootfs image as initramfs...
[    0.222001] kvm: Nested Virtualization enabled
[    0.222004] SVM: kvm: Nested Paging enabled
[    0.222006] SVM: kvm: Hyper-V enlightened NPT TLB flush enabled
[    0.222007] SVM: kvm: Hyper-V Direct TLB Flush enabled
[    0.222059] SVM: Virtual VMLOAD VMSAVE supported
[    0.224286] Freeing initrd memory: 2208K
[    0.335905] Initialise system trusted keyrings
[    0.336028] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[    0.337904] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.338229] NFS: Registering the id_resolver key type
[    0.338237] Key type id_resolver registered
[    0.338238] Key type id_legacy registered
[    0.338242] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.338245] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.339723] Key type cifs.idmap registered
[    0.339879] fuse: init (API version 7.34)
[    0.340066] SGI XFS with ACLs, security attributes, realtime, scrub, repair, quota, no debug enabled
[    0.340748] 9p: Installing v9fs 9p2000 file system support
[    0.340798] FS-Cache: Netfs '9p' registered for caching
[    0.340914] FS-Cache: Netfs 'ceph' registered for caching
[    0.340918] ceph: loaded (mds proto 32)
[    0.343778] NET: Registered PF_ALG protocol family
[    0.343783] xor: automatically using best checksumming function   avx
[    0.343787] Key type asymmetric registered
[    0.343788] Asymmetric key parser 'x509' registered
[    0.343817] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.346567] hv_vmbus: registering driver hv_pci
[    0.347052] hv_pci c4b741f5-5582-4c98-8f8b-2e082933c396: PCI VMBus probing: Using version 0x10004
[    0.348417] hv_pci c4b741f5-5582-4c98-8f8b-2e082933c396: PCI host bridge to bus 5582:00
[    0.348421] pci_bus 5582:00: root bus resource [mem 0x9ffe00000-0x9ffe02fff window]
[    0.348424] pci_bus 5582:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.349488] pci 5582:00:00.0: [1af4:1043] type 00 class 0x010000
[    0.350638] pci 5582:00:00.0: reg 0x10: [mem 0x9ffe00000-0x9ffe00fff 64bit]
[    0.351404] pci 5582:00:00.0: reg 0x18: [mem 0x9ffe01000-0x9ffe01fff 64bit]
[    0.352165] pci 5582:00:00.0: reg 0x20: [mem 0x9ffe02000-0x9ffe02fff 64bit]
[    0.356124] pci_bus 5582:00: busn_res: [bus 00-ff] end is updated to 00
[    0.356132] pci 5582:00:00.0: BAR 0: assigned [mem 0x9ffe00000-0x9ffe00fff 64bit]
[    0.356640] pci 5582:00:00.0: BAR 2: assigned [mem 0x9ffe01000-0x9ffe01fff 64bit]
[    0.357150] pci 5582:00:00.0: BAR 4: assigned [mem 0x9ffe02000-0x9ffe02fff 64bit]
[    0.358277] hv_pci 02f807f5-ed76-4ba8-9bd6-5b9d0cc4fd57: PCI VMBus probing: Using version 0x10004
[    0.359291] hv_pci 02f807f5-ed76-4ba8-9bd6-5b9d0cc4fd57: PCI host bridge to bus ed76:00
[    0.359295] pci_bus ed76:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.359763] pci ed76:00:00.0: [1414:008e] type 00 class 0x030200
[    0.364953] pci_bus ed76:00: busn_res: [bus 00-ff] end is updated to 00
[    0.365738] hv_pci db7986f6-2cd2-4a19-8a5c-f44319bcf162: PCI VMBus probing: Using version 0x10004
[    0.366837] hv_pci db7986f6-2cd2-4a19-8a5c-f44319bcf162: PCI host bridge to bus 2cd2:00
[    0.366841] pci_bus 2cd2:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.367313] pci 2cd2:00:00.0: [1414:008e] type 00 class 0x030200
[    0.372603] pci_bus 2cd2:00: busn_res: [bus 00-ff] end is updated to 00
[    0.372792] ACPI: AC: AC Adapter [AC1] (on-line)
[    0.374828] ACPI: battery: Slot [BAT1] (battery present)
[    0.378972] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.429422] Non-volatile memory driver v1.3
[    0.429961] [drm] Initialized vgem 1.0.0 20120112 for vgem on minor 0
[    0.431666] printk: console [hvc0] enabled
[    0.436985] brd: module loaded
[    0.439097] loop: module loaded
[    0.439564] hv_vmbus: registering driver hv_storvsc
[    0.440104] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    0.440642] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    0.441418] tun: Universal TUN/TAP device driver, 1.6
[    0.441952] PPP generic driver version 2.4.2
[    0.442395] PPP BSD Compression module registered
[    0.442635] scsi host0: storvsc_host_t
[    0.442881] PPP Deflate Compression module registered
[    0.443458] PPP MPPE Compression module registered
[    0.443842] NET: Registered PF_PPPOX protocol family
[    0.444176] usbcore: registered new interface driver cdc_ether
[    0.444565] usbcore: registered new interface driver cdc_ncm
[    0.444893] usbcore: registered new interface driver r8153_ecm
[    0.445152] hv_vmbus: registering driver hv_netvsc
[    0.445517] VFIO - User Level meta-driver version: 0.3
[    0.445947] usbcore: registered new interface driver cdc_acm
[    0.446186] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    0.446649] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller
[    0.446910] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 1
[    0.447184] vhci_hcd: created sysfs vhci_hcd.0
[    0.447587] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    0.448294] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.449195] usb usb1: Product: USB/IP Virtual Host Controller
[    0.449775] usb usb1: Manufacturer: Linux 5.15.167.4-microsoft-standard-WSL2 vhci_hcd
[    0.450397] usb usb1: SerialNumber: vhci_hcd.0
[    0.450997] hub 1-0:1.0: USB hub found
[    0.451259] hub 1-0:1.0: 8 ports detected
[    0.451919] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller
[    0.452506] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 2
[    0.453291] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.453799] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[    0.454152] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.454463] usb usb2: Product: USB/IP Virtual Host Controller
[    0.454740] usb usb2: Manufacturer: Linux 5.15.167.4-microsoft-standard-WSL2 vhci_hcd
[    0.455069] usb usb2: SerialNumber: vhci_hcd.0
[    0.455482] hub 2-0:1.0: USB hub found
[    0.455747] hub 2-0:1.0: 8 ports detected
[    0.456391] hv_vmbus: registering driver hyperv_keyboard
[    0.456657] rtc_cmos 00:00: RTC can wake from S4
[    0.459095] rtc_cmos 00:00: registered as rtc0
[    0.460324] rtc_cmos 00:00: setting system clock to 2025-01-04T06:17:13 UTC (1735971433)
[    0.461092] rtc_cmos 00:00: alarms up to one month, 114 bytes nvram
[    0.461832] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    0.462528] device-mapper: raid: Loading target version 1.15.1
[    0.462834] hid: raw HID events driver (C) Jiri Kosina
[    0.463308] usbcore: registered new interface driver usbhid
[    0.463585] usbhid: USB HID core driver
[    0.463814] hv_utils: Registering HyperV Utility Driver
[    0.464074] hv_vmbus: registering driver hv_utils
[    0.464358] hv_vmbus: registering driver hv_balloon
[    0.464737] hv_vmbus: registering driver dxgkrnl
[    0.464857] hv_utils: TimeSync IC version 4.0
[    0.466390] hv_balloon: Using Dynamic Memory protocol version 2.0
[    0.467509] Free page reporting enabled
[    0.467846] hv_balloon: Cold memory discard hint enabled with order 9
[    0.469729] drop_monitor: Initializing network drop monitor service
[    0.470200] Mirror/redirect action on
[    0.470423] u32 classifier
[    0.470558]     Performance counters on
[    0.470693]     input device check on
[    0.470818]     Actions configured
[    0.473386] IPVS: Registered protocols (TCP, UDP)
[    0.473849] IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
[    0.474505] IPVS: ipvs loaded.
[    0.474737] IPVS: [rr] scheduler registered.
[    0.475030] IPVS: [wrr] scheduler registered.
[    0.475255] IPVS: [sh] scheduler registered.
[    0.475542] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    0.475795] Initializing XFRM netlink socket
[    0.476119] NET: Registered PF_INET6 protocol family
[    0.476898] Segment Routing with IPv6
[    0.477211] In-situ OAM (IOAM) with IPv6
[    0.477552] NET: Registered PF_PACKET protocol family
[    0.477947] Bridge firewalling registered
[    0.478189] 8021q: 802.1Q VLAN Support v1.8
[    0.478473] sctp: Hash tables configured (bind 256/256)
[    0.478867] 9pnet: Installing 9P2000 support
[    0.479169] Key type dns_resolver registered
[    0.479510] Key type ceph registered
[    0.479874] libceph: loaded (mon/osd proto 15/24)
[    0.480276] NET: Registered PF_VSOCK protocol family
[    0.480545] hv_vmbus: registering driver hv_sock
[    0.480810] IPI shorthand broadcast: enabled
[    0.481018] sched_clock: Marking stable (480227908, 294600)->(501041600, -20519092)
[    0.482131] registered taskstats version 1
[    0.483160] Loading compiled-in X.509 certificates
[    0.485623] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[    0.486369] clk: Disabling unused clocks
[    0.488496] Freeing unused kernel image (initmem) memory: 2016K
[    0.488922] Write protecting the kernel read-only data: 30720k
[    0.490367] Freeing unused kernel image (text/rodata gap) memory: 2024K
[    0.491207] Freeing unused kernel image (rodata/data gap) memory: 572K
[    0.491508] Run /init as init process
[    0.491688]   with arguments:
[    0.491849]     /init
[    0.491964]   with environment:
[    0.492116]     HOME=/
[    0.492223]     TERM=linux
[    0.492329]     WSL_ROOT_INIT=1
[    0.492489]     WSL_ENABLE_CRASH_DUMP=1
[    0.497825] scsi 0:0:0:0: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[    0.506523] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    0.507428] sd 0:0:0:0: [sda] 795504 512-byte logical blocks: (407 MB/388 MiB)
[    0.507973] sd 0:0:0:0: [sda] Write Protect is on
[    0.508242] sd 0:0:0:0: [sda] Mode Sense: 0f 00 80 00
[    0.508639] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    0.511750] sd 0:0:0:0: [sda] Attached SCSI disk
[    0.570871] scsi 0:0:0:1: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[    0.573145] EXT4-fs (sda): mounted filesystem without journal. Opts: (null). Quota mode: none.
[    0.580087] sd 0:0:0:1: Attached scsi generic sg1 type 0
[    0.581578] sd 0:0:0:1: [sdb] 4194312 512-byte logical blocks: (2.15 GB/2.00 GiB)
[    0.582066] sd 0:0:0:1: [sdb] 4096-byte physical blocks
[    0.582567] sd 0:0:0:1: [sdb] Write Protect is off
[    0.582880] sd 0:0:0:1: [sdb] Mode Sense: 0f 00 00 00
[    0.583419] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    0.586029] sd 0:0:0:1: [sdb] Attached SCSI disk
[    0.636809] Adding 2097152k swap on /dev/sdb.  Priority:-2 extents:1 across:2097152k
[    0.794236] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    0.989569] hv_pci 4781bb25-3141-48c9-9947-f07f1c1d5b2f: PCI VMBus probing: Using version 0x10004
[    0.992478] hv_pci 4781bb25-3141-48c9-9947-f07f1c1d5b2f: PCI host bridge to bus 3141:00
[    0.993416] pci_bus 3141:00: root bus resource [mem 0xc00000000-0xe00001fff window]
[    0.994091] pci_bus 3141:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.995844] pci 3141:00:00.0: [1af4:105a] type 00 class 0x088000
[    0.998851] pci 3141:00:00.0: reg 0x10: [mem 0xe00000000-0xe00000fff 64bit]
[    1.001749] pci 3141:00:00.0: reg 0x18: [mem 0xe00001000-0xe00001fff 64bit]
[    1.004563] pci 3141:00:00.0: reg 0x20: [mem 0xc00000000-0xdffffffff 64bit]
[    1.011285] pci_bus 3141:00: busn_res: [bus 00-ff] end is updated to 00
[    1.012020] pci 3141:00:00.0: BAR 4: assigned [mem 0xc00000000-0xdffffffff 64bit]
[    1.015261] pci 3141:00:00.0: BAR 0: assigned [mem 0xe00000000-0xe00000fff 64bit]
[    1.017733] pci 3141:00:00.0: BAR 2: assigned [mem 0xe00001000-0xe00001fff 64bit]
[    1.037415] virtiofs virtio1: Cache len: 0x200000000 @ 0xc00000000
[    1.138914] memmap_init_zone_device initialised 2097152 pages in 60ms
[    1.145962] FS-Cache: Duplicate cookie detected
[    1.146419] FS-Cache: O-cookie c=00000005 [p=00000002 fl=222 nc=0 na=1]
[    1.146897] FS-Cache: O-cookie d=000000006c570f64{9P.session} n=00000000e3c68452
[    1.147430] FS-Cache: O-key=[10] '34323934393337333938'
[    1.147859] FS-Cache: N-cookie c=00000006 [p=00000002 fl=2 nc=0 na=1]
[    1.148423] FS-Cache: N-cookie d=000000006c570f64{9P.session} n=000000008aad05be
[    1.148793] FS-Cache: N-key=[10] '34323934393337333938'
[    1.201431] scsi 0:0:0:2: Direct-Access     G-DRIVE  USBBE0171601525  2602 PQ: 0 ANSI: 6
[    1.217664] sd 0:0:0:2: Attached scsi generic sg2 type 0
[    1.219037] sd 0:0:0:2: [sdc] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB)
[    1.219660] sd 0:0:0:2: [sdc] 4096-byte physical blocks
[    1.221092] sd 0:0:0:2: [sdc] Write Protect is off
[    1.221584] sd 0:0:0:2: [sdc] Mode Sense: 0f 00 00 00
[    1.223873] sd 0:0:0:2: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.224601] sd 0:0:0:2: [sdc] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)
[    1.250179]  sdc: sdc1 sdc2
[    1.253890] WSL (222): Mapped partition 2 from device sdc to /dev/sdc2
[    1.254813] sd 0:0:0:2: [sdc] Attached SCSI disk
[    1.255029] EXT4-fs (sdc2): VFS: Can't find ext4 filesystem
[    1.255645] WSL (222) ERROR: UtilMount:1667: mount(/dev/sdc2, /mnt/wsl/PHYSICALDRIVE1p2, ext4
[    1.255648] , 0x0, ) failed 22
[    1.400535] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x29b955a5936, max_idle_ns: 440795263712 ns
[    1.404544] clocksource: Switched to clocksource tsc
[   20.950689] scsi 0:0:0:3: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[   20.958186] sd 0:0:0:3: Attached scsi generic sg3 type 0
[   20.958780] sd 0:0:0:3: [sdd] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[   20.959422] sd 0:0:0:3: [sdd] 4096-byte physical blocks
[   20.959807] sd 0:0:0:3: [sdd] Write Protect is off
[   20.960178] sd 0:0:0:3: [sdd] Mode Sense: 0f 00 00 00
[   20.960702] sd 0:0:0:3: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   20.963235] sd 0:0:0:3: [sdd] Attached SCSI disk
[   20.974566] EXT4-fs (sdd): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered. Quota mode: none.
[   21.729828] misc dxg: dxgk: dxgkio_is_feature_enabled: Ioctl failed: -22
[   21.736563] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[   21.737078] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[   21.737435] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[   21.737971] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -2
[   21.742927] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[   21.744317] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[   21.745240] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[   21.745880] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -2
Copy link

github-actions bot commented Jan 4, 2025

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs

Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The script will output the path of the log file once done.

If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here

Once completed please upload the output files to this Github issue.

Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to wsl-gh-logs@microsoft.com with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.

View similar issues

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

Copy link

github-actions bot commented Jan 4, 2025

The log file doesn't contain any WSL traces. Please make sure that you reproduced the issue while the log collection was running.

Diagnostic information
Detected appx version: 2.3.26.0
Found no WSL traces in the logs

Copy link

github-actions bot commented Jan 4, 2025

The log file doesn't contain any WSL traces. Please make sure that you reproduced the issue while the log collection was running.

Diagnostic information
Issue was edited and new log file was found: https://github.com/user-attachments/files/18305895/WslLogs-2025-01-04_19-33-01.zip
Detected appx version: 2.3.26.0
Found no WSL traces in the logs

@omegadefender
Copy link
Author

Copy link

github-actions bot commented Jan 4, 2025

Diagnostic information
Detected appx version: 2.3.26.0

@justus-camp-microsoft
Copy link
Collaborator

The log indicates that this isn't an ext4 filesystem. When the disk is attached, what's the output of blkid?

@omegadefender
Copy link
Author

When I run blkid there is no output. This HDD has always been formatted as ext4

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

2 participants