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

WSL2 Kali-Linux no internet connection #12452

Closed
1 of 2 tasks
303acido opened this issue Jan 11, 2025 · 4 comments
Closed
1 of 2 tasks

WSL2 Kali-Linux no internet connection #12452

303acido opened this issue Jan 11, 2025 · 4 comments

Comments

@303acido
Copy link

Windows Version

Windows 11 Pro 24h2 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-1

Distro Version

Kali-linux

Other Software

Terminal kali linux on WSL2 on Windows 11 Pro

No internet connection

Repro Steps

open Windows terminal Kali-linux

Enter command sudo apt upgrade

Error: sudo apt update
[sudo] password for acido:
Ign:1 http://http.kali.org/kali kali-last-snapshot InRelease
Ign:1 http://http.kali.org/kali kali-last-snapshot InRelease
Ign:1 http://http.kali.org/kali kali-last-snapshot InRelease
Err:1 http://http.kali.org/kali kali-last-snapshot InRelease
Could not connect to http.kali.org:80 (18.211.24.19), connection timed out
All packages are up to date.
Warning: Failed to fetch http://http.kali.org/kali/dists/kali-last-snapshot/InRelease Could not connect to http.kali.org:80 (18.211.24.19), connection timed out
Warning: Some index files failed to download. They have been ignored, or old ones used instead.

Expected Behavior

That the terminal updated and that there was internet connection.

Actual Behavior

sudo apt update
[sudo] password for acido:
Ign:1 http://http.kali.org/kali kali-last-snapshot InRelease
Ign:1 http://http.kali.org/kali kali-last-snapshot InRelease
Ign:1 http://http.kali.org/kali kali-last-snapshot InRelease
Err:1 http://http.kali.org/kali kali-last-snapshot InRelease
Could not connect to http.kali.org:80 (18.211.24.19), connection timed out
All packages are up to date.
Warning: Failed to fetch http://http.kali.org/kali/dists/kali-last-snapshot/InRelease Could not connect to http.kali.org:80 (18.211.24.19), connection timed out
Warning: Some index files failed to download. They have been ignored, or old ones used instead.

Diagnostic Logs

[ 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.000006] tsc: Detected 3193.921 MHz processor
[ 0.002872] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.006933] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.010305] last_pfn = 0x1c3600 max_arch_pfn = 0x400000000
[ 0.013630] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
[ 0.017770] last_pfn = 0xf8000 max_arch_pfn = 0x400000000
[ 0.021036] Using GB pages for direct mapping
[ 0.023776] RAMDISK: [mem 0x03de4000-0x0400bfff]
[ 0.026561] ACPI: Early table checksum verification disabled
[ 0.029958] ACPI: RSDP 0x00000000000E0000 000024 (v02 VRTUAL)
[ 0.033420] ACPI: XSDT 0x0000000000100000 000044 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.038559] ACPI: FACP 0x0000000000101000 000114 (v06 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.043703] ACPI: DSDT 0x00000000001011B8 01E191 (v02 MSFTVM DSDT01 00000001 MSFT 05000000)
[ 0.048874] ACPI: FACS 0x0000000000101114 000040
[ 0.051671] ACPI: OEM0 0x0000000000101154 000064 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.056815] ACPI: SRAT 0x000000000011F349 0003B0 (v02 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.061956] ACPI: APIC 0x000000000011F6F9 0000C8 (v04 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.067112] ACPI: Reserving FACP table memory at [mem 0x101000-0x101113]
[ 0.071141] ACPI: Reserving DSDT table memory at [mem 0x1011b8-0x11f348]
[ 0.075172] ACPI: Reserving FACS table memory at [mem 0x101114-0x101153]
[ 0.079223] ACPI: Reserving OEM0 table memory at [mem 0x101154-0x1011b7]
[ 0.083309] ACPI: Reserving SRAT table memory at [mem 0x11f349-0x11f6f8]
[ 0.087365] ACPI: Reserving APIC table memory at [mem 0x11f6f9-0x11f7c0]
[ 0.091487] Zone ranges:
[ 0.093019] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.096770] DMA32 [mem 0x0000000001000000-0x00000000ffffffff]
[ 0.100499] Normal [mem 0x0000000100000000-0x00000001c35fffff]
[ 0.104240] Device empty
[ 0.105978] Movable zone start for each node
[ 0.108564] Early memory node ranges
[ 0.110709] node 0: [mem 0x0000000000001000-0x000000000009ffff]
[ 0.114490] node 0: [mem 0x0000000000200000-0x00000000f7ffffff]
[ 0.118268] node 0: [mem 0x0000000100000000-0x00000001c35fffff]
[ 0.122053] Initmem setup node 0 [mem 0x0000000000001000-0x00000001c35fffff]
[ 0.126360] On node 0, zone DMA: 1 pages in unavailable ranges
[ 0.126503] On node 0, zone DMA: 352 pages in unavailable ranges
[ 0.176642] On node 0, zone Normal: 18944 pages in unavailable ranges
[ 0.180347] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[ 0.188070] IOAPIC[0]: apic_id 16, version 17, address 0xfec00000, GSI 0-23
[ 0.192287] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.196244] ACPI: Using ACPI (MADT) for SMP configuration information
[ 0.200156] smpboot: Allowing 16 CPUs, 0 hotplug CPUs
[ 0.203195] [mem 0xf8000000-0xffffffff] available for PCI devices
[ 0.206904] Booting paravirtualized kernel on Hyper-V
[ 0.209942] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.220264] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:16 nr_node_ids:1
[ 0.227884] percpu: Embedded 54 pages/cpu s180696 r8192 d32296 u262144
[ 0.231824] pcpu-alloc: s180696 r8192 d32296 u262144 alloc=1*2097152
[ 0.235646] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 [0] 08 09 10 11 12 13 14 15
[ 0.240106] Hyper-V: PV spinlocks enabled
[ 0.242520] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.246982] Built 1 zonelists, mobility grouping on. Total pages: 1786669
[ 0.251135] Kernel command line: initrd=\initrd.img WSL_ROOT_INIT=1 panic=-1 nr_cpus=16 hv_utils.timesync_implicit=1 earlycon=uart8250,io,0x3f8,115200 console=hvc0 debug pty.legacy_count=0 WSL_ENABLE_CRASH_DUMP=1
[ 0.262602] Unknown kernel command line parameters "WSL_ROOT_INIT=1 WSL_ENABLE_CRASH_DUMP=1", will be passed to user space.
[ 0.274579] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.282112] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.286924] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.349312] Memory: 4081192K/7262844K available (18452K kernel code, 2648K rwdata, 9668K rodata, 2016K init, 1776K bss, 242700K reserved, 0K cma-reserved)
[ 0.358034] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=16, Nodes=1
[ 0.362079] ftrace: allocating 52991 entries in 207 pages
[ 0.384349] ftrace: allocated 207 pages with 6 groups
[ 0.387935] rcu: Hierarchical RCU implementation.
[ 0.390764] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=16.
[ 0.394876] Rude variant of Tasks RCU enabled.
[ 0.397585] Tracing variant of Tasks RCU enabled.
[ 0.400451] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.404986] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=16
[ 0.412442] Using NULL legacy PIC
[ 0.414427] NR_IRQS: 16640, nr_irqs: 552, preallocated irqs: 0
[ 0.418326] random: crng init done
[ 0.420407] Console: colour dummy device 80x25
[ 0.423105] ACPI: Core revision 20210730
[ 0.425813] Failed to register legacy timer interrupt
[ 0.428851] APIC: Switch to symmetric I/O mode setup
[ 0.431824] Switched APIC routing to physical flat.
[ 0.434797] Hyper-V: Using IPI hypercalls
[ 0.437217] Hyper-V: Using enlightened APIC (xapic mode)
[ 0.437323] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x2e09db53fd4, max_idle_ns: 440795285370 ns
[ 0.446920] Calibrating delay loop (skipped), value calculated using timer frequency.. 6387.84 BogoMIPS (lpj=31939210)
[ 0.453551] x86/cpu: User Mode Instruction Prevention (UMIP) activated
[ 0.456913] Last level iTLB entries: 4KB 512, 2MB 512, 4MB 256
[ 0.456913] Last level dTLB entries: 4KB 2048, 2MB 2048, 4MB 1024, 1GB 0
[ 0.456913] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[ 0.456913] Spectre V2 : Mitigation: Retpolines
[ 0.456913] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[ 0.456913] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT
[ 0.456913] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 0.456913] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[ 0.456913] Spectre V2 : User space: Mitigation: STIBP always-on protection
[ 0.456913] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[ 0.456913] Speculative Return Stack Overflow: Mitigation: safe RET
[ 0.456913] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.456913] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.456913] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.456913] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.456913] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'compacted' format.
[ 0.456913] Freeing SMP alternatives memory: 60K
[ 0.456913] pid_max: default: 32768 minimum: 301
[ 0.456913] LSM: Security Framework initializing
[ 0.456913] landlock: Up and running.
[ 0.456913] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.456913] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.456913] smpboot: CPU0: AMD Ryzen 7 5800H with Radeon Graphics (family: 0x19, model: 0x50, stepping: 0x0)
[ 0.456913] Performance Events: Fam17h+ core perfctr, AMD PMU driver.
[ 0.456927] ... version: 0
[ 0.459333] ... bit width: 48
[ 0.461817] ... generic registers: 6
[ 0.464217] ... value mask: 0000ffffffffffff
[ 0.466932] ... max period: 00007fffffffffff
[ 0.470177] ... fixed-purpose events: 0
[ 0.472572] ... event mask: 000000000000003f
[ 0.475818] signal: max sigframe size: 1776
[ 0.476996] rcu: Hierarchical SRCU implementation.
[ 0.480676] smp: Bringing up secondary CPUs ...
[ 0.483620] x86: Booting SMP configuration:
[ 0.486122] .... node #0, CPUs: #1
[ 0.486619] Spectre V2 : Update user space SMT mitigation: STIBP always-on
[ 0.491363] #2 #3 #4 #5 #6 #7 #8 #9 #10 #11 #12 #13 #14 #15
[ 0.497736] smp: Brought up 1 node, 16 CPUs
[ 0.509463] smpboot: Max logical packages: 1
[ 0.512017] smpboot: Total of 16 processors activated (102205.47 BogoMIPS)
[ 0.528452] node 0 deferred pages initialised in 10ms
[ 0.530407] devtmpfs: initialized
[ 0.530407] x86/mm: Memory block size: 128MB
[ 0.537614] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.543021] futex hash table entries: 4096 (order: 6, 262144 bytes, linear)
[ 0.547580] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.551407] audit: initializing netlink subsys (disabled)
[ 0.554730] audit: type=2000 audit(1736632264.100:1): state=initialized audit_enabled=0 res=1
[ 0.554730] thermal_sys: Registered thermal governor 'step_wise'
[ 0.556973] cpuidle: using governor menu
[ 0.563169] ACPI: bus type PCI registered
[ 0.563169] PCI: Fatal: No config space access function found
[ 0.565589] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[ 0.577112] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.581183] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.587056] raid6: skip pq benchmark and using algorithm avx2x4
[ 0.590638] raid6: using avx2x2 recovery algorithm
[ 0.596967] ACPI: Added _OSI(Module Device)
[ 0.599475] ACPI: Added _OSI(Processor Device)
[ 0.602161] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.604995] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.606935] ACPI: Added _OSI(Linux-Dell-Video)
[ 0.609602] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 0.612844] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[ 0.625686] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 0.627982] ACPI: Interpreter enabled
[ 0.636924] ACPI: PM: (supports S0 S5)
[ 0.639158] ACPI: Using IOAPIC for interrupt routing
[ 0.642266] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 0.647172] ACPI: Enabled 2 GPEs in block 00 to 0F
[ 0.652326] iommu: Default domain type: Translated
[ 0.655261] iommu: DMA domain TLB invalidation policy: lazy mode
[ 0.657209] SCSI subsystem initialized
[ 0.659492] ACPI: bus type USB registered
[ 0.661955] usbcore: registered new interface driver usbfs
[ 0.665303] usbcore: registered new interface driver hub
[ 0.666937] usbcore: registered new device driver usb
[ 0.670005] pps_core: LinuxPPS API ver. 1 registered
[ 0.672994] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.676928] PTP clock support registered
[ 0.679355] hv_vmbus: Vmbus version:5.3
[ 0.687227] PCI: Using ACPI for IRQ routing
[ 0.690137] PCI: System does not support PCI
[ 0.693495] clocksource: Switched to clocksource tsc-early
[ 0.694394] hv_vmbus: Unknown GUID: c376c1c3-d276-48d2-90a9-c04748072c60
[ 0.695617] hv_vmbus: Unknown GUID: 6e382d18-3336-4f4b-acc4-2b7703d4df4a
[ 0.699882] hv_vmbus: Unknown GUID: dde9cbc0-5060-4436-9448-ea1254a5d177
[ 0.704099] hv_vmbus: Unknown GUID: 6e382d18-3336-4f4b-acc4-2b7703d4df4a
[ 0.715567] VFS: Disk quotas dquot_6.6.0
[ 0.718110] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.722410] FS-Cache: Loaded
[ 0.724256] pnp: PnP ACPI init
[ 0.726447] pnp: PnP ACPI: found 3 devices
[ 0.734892] NET: Registered PF_INET protocol family
[ 0.738705] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.743979] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[ 0.749301] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.754058] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.759280] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[ 0.764416] TCP: Hash tables configured (established 65536 bind 65536)
[ 0.768578] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 0.772896] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 0.777489] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.781549] RPC: Registered named UNIX socket transport module.
[ 0.785388] RPC: Registered udp transport module.
[ 0.788327] RPC: Registered tcp transport module.
[ 0.791263] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.795168] PCI: CLS 0 bytes, default 64
[ 0.797578] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 0.797798] Trying to unpack rootfs image as initramfs...
[ 0.801539] software IO TLB: mapped [mem 0x00000000f4000000-0x00000000f8000000] (64MB)
[ 0.801640] kvm: no hardware support
[ 0.809993] Freeing initrd memory: 2208K
[ 0.814996] kvm: Nested Virtualization enabled
[ 0.817871] SVM: kvm: Nested Paging enabled
[ 0.820470] SVM: kvm: Hyper-V enlightened NPT TLB flush enabled
[ 0.824057] SVM: kvm: Hyper-V Direct TLB Flush enabled
[ 0.827289] SVM: Virtual VMLOAD VMSAVE supported
[ 0.942194] Initialise system trusted keyrings
[ 0.945216] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[ 0.951037] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.955151] NFS: Registering the id_resolver key type
[ 0.958259] Key type id_resolver registered
[ 0.960847] Key type id_legacy registered
[ 0.963272] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.967373] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 0.973579] Key type cifs.idmap registered
[ 0.976293] fuse: init (API version 7.34)
[ 0.979052] SGI XFS with ACLs, security attributes, realtime, scrub, repair, quota, no debug enabled
[ 0.985221] 9p: Installing v9fs 9p2000 file system support
[ 0.988577] FS-Cache: Netfs '9p' registered for caching
[ 0.991874] FS-Cache: Netfs 'ceph' registered for caching
[ 0.995192] ceph: loaded (mds proto 32)
[ 1.000583] NET: Registered PF_ALG protocol family
[ 1.003508] xor: automatically using best checksumming function avx
[ 1.007823] Key type asymmetric registered
[ 1.010382] Asymmetric key parser 'x509' registered
[ 1.013485] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 1.019314] hv_vmbus: registering driver hv_pci
[ 1.022613] hv_pci c4b741f5-5582-4c98-8f8b-2e082933c396: PCI VMBus probing: Using version 0x10004
[ 1.029735] hv_pci c4b741f5-5582-4c98-8f8b-2e082933c396: PCI host bridge to bus 5582:00
[ 1.034661] pci_bus 5582:00: root bus resource [mem 0x9ffe00000-0x9ffe02fff window]
[ 1.039355] pci_bus 5582:00: No busn resource found for root bus, will use [bus 00-ff]
[ 1.045451] pci 5582:00:00.0: [1af4:1043] type 00 class 0x010000
[ 1.051007] pci 5582:00:00.0: reg 0x10: [mem 0x9ffe00000-0x9ffe00fff 64bit]
[ 1.056145] pci 5582:00:00.0: reg 0x18: [mem 0x9ffe01000-0x9ffe01fff 64bit]
[ 1.061315] pci 5582:00:00.0: reg 0x20: [mem 0x9ffe02000-0x9ffe02fff 64bit]
[ 1.070414] pci_bus 5582:00: busn_res: [bus 00-ff] end is updated to 00
[ 1.074432] pci 5582:00:00.0: BAR 0: assigned [mem 0x9ffe00000-0x9ffe00fff 64bit]
[ 1.079595] pci 5582:00:00.0: BAR 2: assigned [mem 0x9ffe01000-0x9ffe01fff 64bit]
[ 1.084777] pci 5582:00:00.0: BAR 4: assigned [mem 0x9ffe02000-0x9ffe02fff 64bit]
[ 1.090510] hv_pci 0608e3bf-e8be-4b12-9c45-064d760767b5: PCI VMBus probing: Using version 0x10004
[ 1.096836] hv_pci 0608e3bf-e8be-4b12-9c45-064d760767b5: PCI host bridge to bus e8be:00
[ 1.101793] pci_bus e8be:00: No busn resource found for root bus, will use [bus 00-ff]
[ 1.107175] pci e8be:00:00.0: [1414:008e] type 00 class 0x030200
[ 1.117321] pci_bus e8be:00: busn_res: [bus 00-ff] end is updated to 00
[ 1.121821] hv_pci 925916da-1d82-4df4-8127-64bd280a4dce: PCI VMBus probing: Using version 0x10004
[ 1.127963] hv_pci 925916da-1d82-4df4-8127-64bd280a4dce: PCI host bridge to bus 1d82:00
[ 1.132832] pci_bus 1d82:00: No busn resource found for root bus, will use [bus 00-ff]
[ 1.138205] pci 1d82:00:00.0: [1414:008e] type 00 class 0x030200
[ 1.148324] pci_bus 1d82:00: busn_res: [bus 00-ff] end is updated to 00
[ 1.152649] ACPI: AC: AC Adapter [AC1] (on-line)
[ 1.156906] ACPI: battery: Slot [BAT1] (battery present)
[ 1.161794] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.166065] 00:00: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 1.171413] 00:01: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[ 1.238655] Non-volatile memory driver v1.3
[ 1.241941] [drm] Initialized vgem 1.0.0 20120112 for vgem on minor 0
[ 1.245872] printk: console [hvc0] enabled
[ 1.248490] printk: bootconsole [uart8250] disabled
[ 1.257109] brd: module loaded
[ 1.259421] loop: module loaded
[ 1.259781] hv_vmbus: registering driver hv_storvsc
[ 1.260351] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[ 1.260928] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld Jason@zx2c4.com. All Rights Reserved.
[ 1.261559] tun: Universal TUN/TAP device driver, 1.6
[ 1.262054] PPP generic driver version 2.4.2
[ 1.262513] scsi host0: storvsc_host_t
[ 1.262518] PPP BSD Compression module registered
[ 1.263149] PPP Deflate Compression module registered
[ 1.263494] PPP MPPE Compression module registered
[ 1.263830] NET: Registered PF_PPPOX protocol family
[ 1.264171] usbcore: registered new interface driver cdc_ether
[ 1.264603] usbcore: registered new interface driver cdc_ncm
[ 1.264910] usbcore: registered new interface driver r8153_ecm
[ 1.265224] hv_vmbus: registering driver hv_netvsc
[ 1.265605] VFIO - User Level meta-driver version: 0.3
[ 1.266225] usbcore: registered new interface driver cdc_acm
[ 1.266568] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1.267165] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller
[ 1.267529] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 1
[ 1.267966] vhci_hcd: created sysfs vhci_hcd.0
[ 1.268474] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 1.268969] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.269406] usb usb1: Product: USB/IP Virtual Host Controller
[ 1.269777] usb usb1: Manufacturer: Linux 5.15.167.4-microsoft-standard-WSL2 vhci_hcd
[ 1.270152] usb usb1: SerialNumber: vhci_hcd.0
[ 1.270566] hub 1-0:1.0: USB hub found
[ 1.270874] hub 1-0:1.0: 8 ports detected
[ 1.271461] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller
[ 1.271865] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 2
[ 1.272622] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 1.273172] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[ 1.273555] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.273986] usb usb2: Product: USB/IP Virtual Host Controller
[ 1.274369] usb usb2: Manufacturer: Linux 5.15.167.4-microsoft-standard-WSL2 vhci_hcd
[ 1.274846] usb usb2: SerialNumber: vhci_hcd.0
[ 1.275467] hub 2-0:1.0: USB hub found
[ 1.275787] hub 2-0:1.0: 8 ports detected
[ 1.276572] hv_vmbus: registering driver hyperv_keyboard
[ 1.276908] rtc_cmos 00:02: RTC can wake from S4
[ 1.280749] rtc_cmos 00:02: registered as rtc0
[ 1.281816] rtc_cmos 00:02: setting system clock to 2025-01-11T21:51:05 UTC (1736632265)
[ 1.282453] rtc_cmos 00:02: alarms up to one month, 114 bytes nvram
[ 1.283138] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[ 1.283993] device-mapper: raid: Loading target version 1.15.1
[ 1.284599] hid: raw HID events driver (C) Jiri Kosina
[ 1.285034] usbcore: registered new interface driver usbhid
[ 1.285368] usbhid: USB HID core driver
[ 1.285741] hv_utils: Registering HyperV Utility Driver
[ 1.286096] hv_vmbus: registering driver hv_utils
[ 1.286495] hv_vmbus: registering driver hv_balloon
[ 1.286992] hv_vmbus: registering driver dxgkrnl
[ 1.287127] hv_utils: TimeSync IC version 4.0
[ 1.287966] hv_balloon: Using Dynamic Memory protocol version 2.0
[ 1.289124] Free page reporting enabled
[ 1.289433] hv_balloon: Cold memory discard hint enabled with order 9
[ 1.293286] drop_monitor: Initializing network drop monitor service
[ 1.293854] Mirror/redirect action on
[ 1.294129] u32 classifier
[ 1.294256] Performance counters on
[ 1.294454] input device check on
[ 1.294650] Actions configured
[ 1.298349] IPVS: Registered protocols (TCP, UDP)
[ 1.298913] IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
[ 1.299599] IPVS: ipvs loaded.
[ 1.299856] IPVS: [rr] scheduler registered.
[ 1.300142] IPVS: [wrr] scheduler registered.
[ 1.300463] IPVS: [sh] scheduler registered.
[ 1.300843] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[ 1.301224] Initializing XFRM netlink socket
[ 1.301746] NET: Registered PF_INET6 protocol family
[ 1.302589] Segment Routing with IPv6
[ 1.302842] In-situ OAM (IOAM) with IPv6
[ 1.303103] NET: Registered PF_PACKET protocol family
[ 1.303442] Bridge firewalling registered
[ 1.303636] 8021q: 802.1Q VLAN Support v1.8
[ 1.303833] sctp: Hash tables configured (bind 256/256)
[ 1.304116] 9pnet: Installing 9P2000 support
[ 1.304408] Key type dns_resolver registered
[ 1.304657] Key type ceph registered
[ 1.304994] libceph: loaded (mon/osd proto 15/24)
[ 1.305437] NET: Registered PF_VSOCK protocol family
[ 1.305735] hv_vmbus: registering driver hv_sock
[ 1.306120] IPI shorthand broadcast: enabled
[ 1.306414] sched_clock: Marking stable (1276804744, 28611200)->(1452750700, -147334756)
[ 1.307945] registered taskstats version 1
[ 1.309136] Loading compiled-in X.509 certificates
[ 1.311788] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[ 1.312444] clk: Disabling unused clocks
[ 1.313903] Freeing unused kernel image (initmem) memory: 2016K
[ 1.314319] Write protecting the kernel read-only data: 30720k
[ 1.315394] Freeing unused kernel image (text/rodata gap) memory: 2024K
[ 1.316070] Freeing unused kernel image (rodata/data gap) memory: 572K
[ 1.316454] Run /init as init process
[ 1.316688] with arguments:
[ 1.316919] /init
[ 1.317116] with environment:
[ 1.317342] HOME=/
[ 1.317512] TERM=linux
[ 1.317683] WSL_ROOT_INIT=1
[ 1.317899] WSL_ENABLE_CRASH_DUMP=1
[ 1.326710] scsi 0:0:0:0: Direct-Access Msft Virtual Disk 1.0 PQ: 0 ANSI: 5
[ 1.333414] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 1.334213] sd 0:0:0:0: [sda] 795504 512-byte logical blocks: (407 MB/388 MiB)
[ 1.334814] sd 0:0:0:0: [sda] Write Protect is on
[ 1.335153] sd 0:0:0:0: [sda] Mode Sense: 0f 00 80 00
[ 1.335636] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 1.339340] sd 0:0:0:0: [sda] Attached SCSI disk
[ 1.418986] scsi 0:0:0:1: Direct-Access Msft Virtual Disk 1.0 PQ: 0 ANSI: 5
[ 1.420283] EXT4-fs (sda): mounted filesystem without journal. Opts: (null). Quota mode: none.
[ 1.425332] sd 0:0:0:1: Attached scsi generic sg1 type 0
[ 1.426070] sd 0:0:0:1: [sdb] 4194312 512-byte logical blocks: (2.15 GB/2.00 DnsTunnelingManager::DnsTunnelingManager - using DNS server IP 10.255.255.254GiB)

[ 1.426911] sd 0:0:0:1: [sdb]DnsServer::StartUdpDnsServer - successfully started UDP server on IP 10.255.255.254 4096-byte physi
cal blocks
DnsServer::StartTcpDnsServer - successfully started TCP server on IP 10.255.255.254
[ 1.427597] sGNS: Processing Next Messaged 0:0:0:1: [sdb]
Write Protect is off
[ 1.428194] sd 0:0:0:1: [sdb] Mode Sense: 0f 00 00 00
[ 1.428740] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1.431750] sd 0:0:0:1: [sdb] Attached SCSI disk
Setting up swapspace version 1, size = 2 GiB (2147483648 bytes)
no label, UUID=ba0819c7-375f-4717-a61a-235975f2c85d
[ 1.464904] Adding 2097152k swap on /dev/sdb. Priority:-2 extents:1 across:2097152k
Processing LX_MESSAGE_TYPE LxGnsMessageInterfaceConfiguration
OpenAdapterImpl: Found an interface matching the GUID 9ED44A8E-A220-4331-8FD4-01BD1684CABF, with name eth0
LxGnsMessageInterfaceConfiguration: no-op - the endpoint ID 9ED44A8E-A220-4331-8FD4-01BD1684CABF PortFriendlyName is blank
SetAdapterConfiguration setting the IPv4 address on endpointID (9ED44A8E-A220-4331-8FD4-01BD1684CABF) to 192.168.114.216/20 on interfaceName eth0
SetInterfaceState: setting interface state to Up on interfaceName eth0
[ 1.596964] IGNS: Processing Next Message Successful (0x0)Pv6: ADDRCONF(NE
TDEV_CHANGE): etReturning LxGnsMessageResult [0 - ]h0: link becomes
ready
GNS: Processing Next Message
Processing LX_MESSAGE_TYPE LxGnsMessageNotification
OpenAdapterImpl: Found an interface matching the GUID 9ED44A8E-A220-4331-8FD4-01BD1684CABF, with name eth0
Processing Notification LxGnsMessageNotification GuestEndpointResourceType::Route for interfaceName eth0
ProcessRouteChange: Add route default via 192.168.112.1/0 dev 2 metric 0 on interfaceName eth0
ModifyDefaultRouteImpl - SendMessage Route (to [empty], via 192.168.112.1), operation (RTM_NEWROUTE ), netLinkflags (NLM_F_CREATE )
ModifyDefaultRouteImpl - InitializeAddressAttribute RTA_DST ([not set]) RTA_GATEWAY ([empty]), RTA_PRIORITY (0)
GNS: Processing Next Message Successful (0x0)
Returning LxGnsMessageResult [0 - ]
GNS: Processing Next Message
Processing LX_MESSAGE_TYPE LxGnsMessageNotification
OpenAdapterImpl: Found an interface matching the GUID 9ED44A8E-A220-4331-8FD4-01BD1684CABF, with name eth0
Processing Notification LxGnsMessageNotification GuestEndpointResourceType::DNS for interfaceName eth0
ProcessDNSChange: setting DNS server domain to : # This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf:

[network]

generateResolvConf = false

nameserver 10.255.255.254
search proximus.be HTTPS telenet.be
on interfaceName eth0
GNS: Processing Next Message Successful (0x0)
Returning LxGnsMessageResult [0 - ]
GNS: Processing Next Message
Processing LX_MESSAGE_TYPE LxGnsMessageNotification
OpenAdapterImpl: Found an interface matching the GUID 9ED44A8E-A220-4331-8FD4-01BD1684CABF, with name eth0
Processing Notification LxGnsMessageNotification GuestEndpointResourceType::Interface for interfaceName eth0
ProcessLinkChange: setting link state to InterfaceState::Up on interfaceName eth0
SetInterfaceState: setting interface state to Up on interfaceName eth0
ProcessLinkChange: Setting MTU to 1500 on interfaceName eth0
GNS: Processing Next Message Successful (0x0)
Returning LxGnsMessageResult [0 - ]
GNS: Processing Next Message
[ 1.795451] hv_pci 58c8b922-355b-48ab-b06c-3e692fa9c9d4: PCI VMBus probing: Using version 0x10004
[ 1.798218] hv_pci 58c8b922-355b-48ab-b06c-3e692fa9c9d4: PCI host bridge to bus 355b:00
[ 1.798761] pci_bus 355b:00: root bus resource [mem 0xc00000000-0xe00001fff window]
[ 1.799280] pci_bus 355b:00: No busn resource found for root bus, will use [bus 00-ff]
[ 1.801513] pci 355b:00:00.0: [1af4:105a] type 00 class 0x088000
[ 1.804486] pci 355b:00:00.0: reg 0x10: [mem 0xe00000000-0xe00000fff 64bit]
[ 1.807649] pci 355b:00:00.0: reg 0x18: [mem 0xe00001000-0xe00001fff 64bit]
[ 1.810438] pci 355b:00:00.0: reg 0x20: [mem 0xc00000000-0xdffffffff 64bit]
[ 1.818091] pci_bus 355b:00: busn_res: [bus 00-ff] end is updated to 00
[ 1.818785] pci 355b:00:00.0: BAR 4: assigned [mem 0xc00000000-0xdffffffff 64bit]
[ 1.821282] pci 355b:00:00.0: BAR 0: assigned [mem 0xe00000000-0xe00000fff 64bit]
[ 1.823623] pci 355b:00:00.0: BAR 2: assigned [mem 0xe00001000-0xe00001fff 64bit]
[ 1.848017] virtiofs virtio1: Cache len: 0x200000000 @ 0xc00000000
[ 1.958710] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2e09db53fd4, max_idle_ns: 440795285370 ns
[ 1.961227] clocksource: Switched to clocksource tsc
[ 1.987247] memmap_init_zone_device initialised 2097152 pages in 80ms
[ 1.995955] FS-Cache: Duplicate cookie detected
[ 1.996522] FS-Cache: O-cookie c=00000005 [p=00000002 fl=222 nc=0 na=1]
[ 1.997091] FS-Cache: O-cookie d=0000000062549ea4{9P.session} n=00000000e36c82a1
[ 1.997829] FS-Cache: O-key=[10] '34323934393337343531'
[ 1.998240] FS-Cache: N-cookie c=00000006 [p=00000002 fl=2 nc=0 na=1]
[ 1.998689] FS-Cache: N-cookie d=0000000062549ea4{9P.session} n=00000000014edd23
[ 1.999226] FS-Cache: N-key=[10] '34323934393337343531'
[ 2.021600] scsi 0:0:0:2: Direct-Access Msft Virtual Disk 1.0 PQ: 0 ANSI: 5
[ 2.027253] sd 0:0:0:2: Attached scsi generic sg2 type 0
[ 2.027939] sd 0:0:0:2: [sdc] 2147483648 512-byte logical blocks: (1.10 TB/1.00 TiB)
[ 2.028440] sd 0:0:0:2: [sdc] 4096-byte physical blocks
[ 2.028904] sd 0:0:0:2: [sdc] Write Protect is off
[ 2.029245] sd 0:0:0:2: [sdc] Mode Sense: 0f 00 00 00
[ 2.029704] sd 0:0:0:2: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2.032055] sd 0:0:0:2: [sdc] Attached SCSI disk
mke2fs 1.46.5 (30-Dec-2021)
Discarding device blocks: done
Creating filesystem with 268435456 4k blocks and 67108864 inodes
Filesystem UUID: 2aa75da7-b2c1-410c-ad64-6d5c5d368ed8
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848

Allocating group tables: done
Writing inode tables: done
[ 2.139298] hv_storvsc fd1d2cbd-ce7c-535c-966b-eb5f811c95f0: tag#511 cmd 0x2a status: scsi 0x0 srb 0x4 hv 0xc00000a1
[ 2.146370] hv_storvsc fd1d2cbd-ce7c-535c-966b-eb5f811c95f0: tag#575 cmd 0x2a status: scsi 0x0 srb 0x4 hv 0xc00000a1
[ 2.161408] hv_storvsc fd1d2cbd-ce7c-535c-966b-eb5f811c95f0: tag#703 cmd 0x2a status: scsi 0x0 srb 0x4 hv 0xc00000a1
[ 2.178459] hv_storvsc fd1d2cbd-ce7c-535c-966b-eb5f811c95f0: tag#831 cmd 0x2a status: scsi 0x0 srb 0x4 hv 0xc00000a1
[ 2.186177] hv_storvsc fd1d2cbd-ce7c-535c-966b-eb5f811c95f0: tag#895 cmd 0x2a status: scsi 0x0 srb 0x4 hv 0xc00000a1
[ 2.195822] hv_storvsc fd1d2cbd-ce7c-535c-966b-eb5f811c95f0: tag#959 cmd 0x2a status: scsi 0x0 srb 0x4 hv 0xc00000a1
Creating journal (262144 blocks): done
Writing superblocks and filesystem accounting information: done

[ 2.246597] EXT4-fs (sdc): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered. Quota mode: none.
Processing LX_MESSAGE_TYPE LxGnsMessageConnectTestRequest
CheckConnection: resolving the name www.msftconnecttest.com [AF_INET]
CheckConnection: connecting to 104.117.77.145
CheckConnection: resolving the name www.msftconnecttest.com [AF_INET6]
Exception: CheckConnection: getaddrinfo() failed: -5
CheckConnection: arming select for 5 seconds
[ 8.156284] EXT4-fs (sdc): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered. Quota mode: none.
[ 8.708204] misc dxg: dxgk: dxgkio_is_feature_enabled: Ioctl failed: -22
[ 8.716694] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[ 8.717457] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[ 8.718187] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[ 8.719121] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -2
[ 8.724451] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[ 8.725374] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[ 8.726025] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[ 8.727140] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -2
CheckConnection: result.Ipv4Status = ConnCheckStatus::FailureSocketConnect (timeout)
CheckConnection: returning v4 (4) v6 (2)
LxGnsMessageConnectTestRequest (destination: www.msftconnecttest.com) returning: 0x20004
GNS: Processing Next Message Successful (0x20004)
Returning LxGnsMessageResult [131076 - ]
GNS: Processing Next Message
[ 26.779789] Exception:
[ 26.779794] Operation canceled @p9io.cpp:258 (AcceptAsync)
[ 26.780404]
[ 26.859301] EXT4-fs (sdc): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered. Quota mode: none.
[ 27.410639] misc dxg: dxgk: dxgkio_is_feature_enabled: Ioctl failed: -22
[ 27.424932] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[ 27.425638] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[ 27.426386] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[ 27.427144] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -2
[ 27.430826] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[ 27.431678] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[ 27.432332] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
[ 27.433069] misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -2
[ 50.160947] hv_balloon: Max. dynamic memory size: 7094 MB

Copy link

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!

Open similar issues:

Closed similar issues:

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

@craigloewen-msft
Copy link
Member

Are you using a VPN or proxy?

Can you try enabling 'Mirrored mode networking' and see if that resolves your issue?

You can do that by opening WSL Settings , navigating to networking and choosing networking mode as mirrored and then restarting WSL with wsl --shutdown in the command line.

More info can be found here: https://learn.microsoft.com/en-us/windows/wsl/networking#mirrored-mode-networking

@CatalinFetoiu
Copy link
Collaborator

hi, in addition to Craig's suggestion, I also saw you are using the "generateResolvConf = false" setting - I recommend setting this to true to let WSL auto-generate the DNS configuration for you. Let us know if you still encounter issues after doing the a

Copy link
Contributor

This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-file it as a new issue.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants