microsoft / WSL

Issues found on WSL
https://docs.microsoft.com/windows/wsl
MIT License
17.26k stars 812 forks source link

WSL2-Ubuntu [process exited with code 1] after some time under i/o #5494

Closed janbernloehr closed 4 years ago

janbernloehr commented 4 years ago

Environment

Windows build number: 10.0.20152.0
Your Distribution version: Ubuntu-20.04 and Ubuntu-18.04
Whether the issue is on WSL 2 and/or WSL 1: `Linux version 4.19.121-microsoft-standard (oe-user@oe-host) (gcc version 8.2.0 (GCC))`

Steps to reproduce

Expected behavior

Actual behavior

This may be related to #4899 but is different in the sense that the issue shows up after some time only.

Things we tried

$ dmesg -w
[    0.000000] Linux version 4.19.121-microsoft-standard (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Fri Jun 19 21:06:10 UTC 2020
[    0.000000] Command line: initrd=\initrd.img panic=-1 nr_cpus=8 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 'standard' 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-0x00000003341fffff] 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 0x2e7f, hints 0x22c2c, misc 0x60bed7b2
[    0.000000] Hyper-V Host Build:20152-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 3999.997 MHz processor
[    0.000006] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000007] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000008] last_pfn = 0x334200 max_arch_pfn = 0x400000000
[    0.000023] MTRR default type: uncachable
[    0.000023] MTRR fixed ranges disabled:
[    0.000024]   00000-FFFFF uncachable
[    0.000024] MTRR variable ranges disabled:
[    0.000024]   0 disabled
[    0.000025]   1 disabled
[    0.000025]   2 disabled
[    0.000025]   3 disabled
[    0.000025]   4 disabled
[    0.000025]   5 disabled
[    0.000026]   6 disabled
[    0.000026]   7 disabled
[    0.000026] Disabled
[    0.000027] x86/PAT: MTRRs disabled, skipping PAT initialization too.
[    0.000031] CPU MTRRs all blank - virtualized system.
[    0.000032] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC
[    0.000032] last_pfn = 0xf8000 max_arch_pfn = 0x400000000
[    0.000042] Using GB pages for direct mapping
[    0.000044] BRK [0x02e00000, 0x02e00fff] PGTABLE
[    0.000045] BRK [0x02e01000, 0x02e01fff] PGTABLE
[    0.000046] BRK [0x02e02000, 0x02e02fff] PGTABLE
[    0.000065] BRK [0x02e03000, 0x02e03fff] PGTABLE
[    0.000320] RAMDISK: [mem 0x02e35000-0x02e44fff]
[    0.000323] ACPI: Early table checksum verification disabled
[    0.000330] ACPI: RSDP 0x00000000000E0000 000024 (v02 VRTUAL)
[    0.000332] ACPI: XSDT 0x0000000000100000 000044 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000335] ACPI: FACP 0x0000000000101000 000114 (v06 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000338] ACPI: DSDT 0x00000000001011B8 01E184 (v02 MSFTVM DSDT01   00000001 MSFT 05000000)
[    0.000339] ACPI: FACS 0x0000000000101114 000040
[    0.000340] ACPI: OEM0 0x0000000000101154 000064 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000342] ACPI: SRAT 0x000000000011F33C 000330 (v02 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000343] ACPI: APIC 0x000000000011F66C 000088 (v04 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000346] ACPI: Local APIC address 0xfee00000
[    0.000518] Zone ranges:
[    0.000519]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000520]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.000520]   Normal   [mem 0x0000000100000000-0x00000003341fffff]
[    0.000521] Movable zone start for each node
[    0.000521] Early memory node ranges
[    0.000521]   node   0: [mem 0x0000000000001000-0x000000000009ffff]
[    0.000522]   node   0: [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000522]   node   0: [mem 0x0000000100000000-0x00000003341fffff]
[    0.001005] Zeroed struct page in unavailable ranges: 16225 pages
[    0.001006] Initmem setup node 0 [mem 0x0000000000001000-0x00000003341fffff]
[    0.001007] On node 0 totalpages: 3326111
[    0.001007]   DMA zone: 59 pages used for memmap
[    0.001008]   DMA zone: 22 pages reserved
[    0.001008]   DMA zone: 3743 pages, LIFO batch:0
[    0.001052]   DMA32 zone: 16320 pages used for memmap
[    0.001052]   DMA32 zone: 1011712 pages, LIFO batch:63
[    0.018070]   Normal zone: 36104 pages used for memmap
[    0.018072]   Normal zone: 2310656 pages, LIFO batch:63
[    0.018605] ACPI: Local APIC address 0xfee00000
[    0.018609] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[    0.018871] IOAPIC[0]: apic_id 8, version 17, address 0xfec00000, GSI 0-23
[    0.018873] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.018875] ACPI: IRQ9 used by override.
[    0.018876] Using ACPI (MADT) for SMP configuration information
[    0.018880] smpboot: Allowing 8 CPUs, 0 hotplug CPUs
[    0.018888] [mem 0xf8000000-0xffffffff] available for PCI devices
[    0.018888] Booting paravirtualized kernel on bare hardware
[    0.018890] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.102031] random: get_random_bytes called from start_kernel+0x93/0x4bb with crng_init=0
[    0.102036] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:8 nr_node_ids:1
[    0.102316] percpu: Embedded 42 pages/cpu s133400 r8192 d30440 u262144
[    0.102319] pcpu-alloc: s133400 r8192 d30440 u262144 alloc=1*2097152
[    0.102320] pcpu-alloc: [0] 0 1 2 3 4 5 6 7
[    0.102328] Built 1 zonelists, mobility grouping on.  Total pages: 3273606
[    0.102329] Kernel command line: initrd=\initrd.img panic=-1 nr_cpus=8 swiotlb=force  pty.legacy_count=0
[    0.104275] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes)
[    0.105290] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[    0.124520] Memory: 4096404K/13304444K available (14360K kernel code, 1575K rwdata, 2856K rodata, 1512K init, 2756K bss, 331772K reserved, 0K cma-reserved)
[    0.124754] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[    0.124759] Kernel/User page tables isolation: enabled
[    0.124787] ftrace: allocating 41874 entries in 164 pages
[    0.134358] rcu: Hierarchical RCU implementation.
[    0.134359] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=8.
[    0.134360]  All grace periods are expedited (rcu_expedited).
[    0.134360] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
[    0.135896] Using NULL legacy PIC
[    0.135896] NR_IRQS: 16640, nr_irqs: 488, preallocated irqs: 0
[    0.136192] Console: colour dummy device 80x25
[    0.136195] console [tty0] enabled
[    0.136199] ACPI: Core revision 20180810
[    0.136272] Failed to register legacy timer interrupt
[    0.136277] APIC: Switch to symmetric I/O mode setup
[    0.136291] Hyper-V: Using IPI hypercalls
[    0.136291] Hyper-V: Using MSR based APIC access
[    0.136294] clocksource: hyperv_clocksource_tsc_page: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[    0.136367] Calibrating delay loop (skipped), value calculated using timer frequency.. 7999.99 BogoMIPS (lpj=39999970)
[    0.136368] pid_max: default: 32768 minimum: 301
[    0.136382] Security Framework initialized
[    0.136414] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.136438] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.136614] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 1024
[    0.136615] Last level dTLB entries: 4KB 1024, 2MB 1024, 4MB 1024, 1GB 4
[    0.136616] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.136617] Spectre V2 : Mitigation: Full generic retpoline
[    0.136617] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.136617] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.136621] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[    0.136621] Spectre V2 : User space: Mitigation: STIBP via seccomp and prctl
[    0.136622] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[    0.136638] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[    0.136860] Freeing SMP alternatives memory: 44K
[    0.137887] smpboot: CPU0: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (family: 0x6, model: 0x3c, stepping: 0x3)
[    0.137929] Performance Events: unsupported p6 CPU model 60 no PMU driver, software events only.
[    0.137946] rcu: Hierarchical SRCU implementation.
[    0.138039] random: crng done (trusting CPU's manufacturer)
[    0.138073] smp: Bringing up secondary CPUs ...
[    0.138105] x86: Booting SMP configuration:
[    0.138106] .... node  #0, CPUs:      #1
[    0.138527] MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details.
[    0.138527]  #2 #3 #4 #5 #6 #7
[    0.138527] smp: Brought up 1 node, 8 CPUs
[    0.138527] smpboot: Max logical packages: 1
[    0.138527] smpboot: Total of 8 processors activated (63999.95 BogoMIPS)
[    0.186366] node 0 initialised, 2219067 pages in 50ms
[    0.187321] devtmpfs: initialized
[    0.187321] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.187321] futex hash table entries: 2048 (order: 5, 131072 bytes)
[    0.187321] xor: automatically using best checksumming function   avx
[    0.187321] NET: Registered protocol family 16
[    0.187321] ACPI: bus type PCI registered
[    0.187321] PCI: Fatal: No config space access function found
[    0.187321] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.187321] raid6: Forced to use recovery algorithm avx2x2
[    0.187321] raid6: Forced gen() algo avx2x4
[    0.187321] ACPI: Added _OSI(Module Device)
[    0.187321] ACPI: Added _OSI(Processor Device)
[    0.187321] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.187321] ACPI: Added _OSI(Processor Aggregator Device)
[    0.187321] ACPI: Added _OSI(Linux-Dell-Video)
[    0.187321] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.196903] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.197479] ACPI: Interpreter enabled
[    0.197479] ACPI: (supports S0 S5)
[    0.197479] ACPI: Using IOAPIC for interrupt routing
[    0.197479] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.197479] ACPI: Enabled 1 GPEs in block 00 to 0F
[    0.197493] SCSI subsystem initialized
[    0.197493] hv_vmbus: Vmbus version:5.0
[    0.197493] PCI: Using ACPI for IRQ routing
[    0.197493] PCI: System does not support PCI
[    0.197493] clocksource: Switched to clocksource hyperv_clocksource_tsc_page
[    0.197493] hv_vmbus: Unknown GUID: c376c1c3-d276-48d2-90a9-c04748072c60
[    0.197493] hv_vmbus: Unknown GUID: 6e382d18-3336-4f4b-acc4-2b7703d4df4a
[    0.197493] hv_vmbus: Unknown GUID: dde9cbc0-5060-4436-9448-ea1254a5d177
[    0.207743] VFS: Disk quotas dquot_6.6.0
[    0.207752] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.207780] FS-Cache: Loaded
[    0.207801] pnp: PnP ACPI init
[    0.207839] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.207859] pnp: PnP ACPI: found 1 devices
[    0.211906] NET: Registered protocol family 2
[    0.212001] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes)
[    0.212017] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.212292] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.212387] TCP: Hash tables configured (established 131072 bind 65536)
[    0.212409] UDP hash table entries: 8192 (order: 6, 262144 bytes)
[    0.212589] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes)
[    0.212637] NET: Registered protocol family 1
[    0.212893] RPC: Registered named UNIX socket transport module.
[    0.212893] RPC: Registered udp transport module.
[    0.212894] RPC: Registered tcp transport module.
[    0.212894] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.212895] PCI: CLS 0 bytes, default 64
[    0.212915] Trying to unpack rootfs image as initramfs...
[    0.212998] Freeing initrd memory: 64K
[    0.212999] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.213000] software IO TLB: mapped [mem 0xf4000000-0xf8000000] (64MB)
[    0.213050] kvm: no hardware support
[    0.213051] has_svm: not amd
[    0.213051] kvm: no hardware support
[    0.213364] Initialise system trusted keyrings
[    0.213461] workingset: timestamp_bits=46 max_order=22 bucket_order=0
[    0.214120] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.214365] NFS: Registering the id_resolver key type
[    0.214368] Key type id_resolver registered
[    0.214369] Key type id_legacy registered
[    0.214370] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.214990] Key type cifs.idmap registered
[    0.215046] fuse init (API version 7.27)
[    0.215172] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[    0.215975] 9p: Installing v9fs 9p2000 file system support
[    0.215981] FS-Cache: Netfs '9p' registered for caching
[    0.216009] FS-Cache: Netfs 'ceph' registered for caching
[    0.216010] ceph: loaded (mds proto 32)
[    0.218590] NET: Registered protocol family 38
[    0.218592] Key type asymmetric registered
[    0.218592] Asymmetric key parser 'x509' registered
[    0.218597] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.218598] io scheduler noop registered (default)
[    0.218879] hv_vmbus: registering driver hv_pci
[    0.219101] hv_pci 4fbca105-f80e-4e5e-9aa3-b978b24b6b4a: PCI VMBus probing: Using version 0x10002
[    0.219620] hv_pci 4fbca105-f80e-4e5e-9aa3-b978b24b6b4a: PCI host bridge to bus 9aa3:00
[    0.219806] pci 9aa3:00:00.0: [1414:008e] type 00 class 0x030200
[    0.223668] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.224113] Non-volatile memory driver v1.3
[    0.224114] dxgk:err: dxg_drv_init  Version: 1
[    0.224117] hv_vmbus: registering driver dxgkrnl
[    0.226507] brd: module loaded
[    0.227303] loop: module loaded
[    0.227412] hv_vmbus: registering driver hv_storvsc
[    0.227447] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    0.227731] tun: Universal TUN/TAP device driver, 1.6
[    0.227797] PPP generic driver version 2.4.2
[    0.227853] PPP BSD Compression module registered
[    0.227854] PPP Deflate Compression module registered
[    0.227860] PPP MPPE Compression module registered
[    0.227861] NET: Registered protocol family 24
[    0.227866] hv_vmbus: registering driver hv_netvsc
[    0.229973] scsi host0: storvsc_host_t
[    0.234710] VFIO - User Level meta-driver version: 0.3
[    0.234874] hv_vmbus: registering driver hyperv_keyboard
[    0.235050] rtc_cmos 00:00: RTC can wake from S4
[    0.236250] rtc_cmos 00:00: registered as rtc0
[    0.236258] rtc_cmos 00:00: alarms up to one month, 114 bytes nvram
[    0.236360] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: dm-devel@redhat.com
[    0.236636] hv_utils: Registering HyperV Utility Driver
[    0.236637] hv_vmbus: registering driver hv_util
[    0.236655] hv_vmbus: registering driver hv_balloon
[    0.236695] hv_utils: cannot register PTP clock: 0
[    0.236743] drop_monitor: Initializing network drop monitor service
[    0.237055] hv_utils: TimeSync IC version 4.0
[    0.237223] hv_balloon: Using Dynamic Memory protocol version 2.0
[    0.237807] hv_balloon: cold memory discard enabled
[    0.238461] Mirror/redirect action on
[    0.238759] IPVS: Registered protocols (TCP, UDP)
[    0.238771] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[    0.239660] IPVS: ipvs loaded.
[    0.239661] IPVS: [rr] scheduler registered.
[    0.239661] IPVS: [wrr] scheduler registered.
[    0.239662] IPVS: [sh] scheduler registered.
[    0.240782] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    0.241008] Initializing XFRM netlink socket
[    0.241054] NET: Registered protocol family 10
[    0.241349] Segment Routing with IPv6
[    0.242721] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.242782] NET: Registered protocol family 17
[    0.242795] Bridge firewalling registered
[    0.242800] 8021q: 802.1Q VLAN Support v1.8
[    0.242814] sctp: Hash tables configured (bind 256/256)
[    0.242848] 9pnet: Installing 9P2000 support
[    0.242858] Key type dns_resolver registered
[    0.242862] Key type ceph registered
[    0.243031] libceph: loaded (mon/osd proto 15/24)
[    0.243033] hv_vmbus: registering driver hv_sock
[    0.243094] NET: Registered protocol family 40
[    0.243294] registered taskstats version 1
[    0.243299] Loading compiled-in X.509 certificates
[    0.243626] Btrfs loaded, crc32c=crc32c-generic
[    0.244068] rtc_cmos 00:00: setting system clock to 2020-06-26 20:00:16 UTC (1593201616)
[    0.244080] 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
[    0.245237] Freeing unused kernel image memory: 1512K
[    0.316455] Write protecting the kernel read-only data: 20480k
[    0.316943] Freeing unused kernel image memory: 1984K
[    0.317138] Freeing unused kernel image memory: 1240K
[    0.317248] Run /init as init process
[    0.530252] scsi 0:0:0:0: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[    0.530648] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    0.531252] sd 0:0:0:0: [sda] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[    0.531253] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    0.531333] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    0.531365] sd 0:0:0:0: [sda] Write Protect is off
[    0.531367] sd 0:0:0:0: [sda] Mode Sense: 0f 00 00 00
[    0.531855] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    0.535370] sd 0:0:0:0: [sda] Attached SCSI disk
[    0.547004] scsi 0:0:0:1: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[    0.547384] sd 0:0:0:1: Attached scsi generic sg1 type 0
[    0.548110] sd 0:0:0:1: [sdb] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[    0.548111] sd 0:0:0:1: [sdb] 4096-byte physical blocks
[    0.548262] sd 0:0:0:1: [sdb] Write Protect is off
[    0.548264] sd 0:0:0:1: [sdb] Mode Sense: 0f 00 00 00
[    0.548503] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    0.551449] sd 0:0:0:1: [sdb] Attached SCSI disk
[    0.553725] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[    0.559189] hv_pci 40004808-7981-4b30-a370-b19d6bb60909: PCI VMBus probing: Using version 0x10002
[    0.602854] hv_pci 40004808-7981-4b30-a370-b19d6bb60909: PCI host bridge to bus a370:00
[    0.602856] pci_bus a370:00: root bus resource [mem 0xe00000000-0xe00002fff window]
[    0.603310] pci a370:00:00.0: [1af4:1049] type 00 class 0x010000
[    0.604539] pci a370:00:00.0: reg 0x10: [mem 0xe00000000-0xe00000fff 64bit]
[    0.605075] pci a370:00:00.0: reg 0x18: [mem 0xe00001000-0xe00001fff 64bit]
[    0.605638] pci a370:00:00.0: reg 0x20: [mem 0xe00002000-0xe00002fff 64bit]
[    0.608988] pci a370:00:00.0: BAR 0: assigned [mem 0xe00000000-0xe00000fff 64bit]
[    0.609393] pci a370:00:00.0: BAR 2: assigned [mem 0xe00001000-0xe00001fff 64bit]
[    0.609770] pci a370:00:00.0: BAR 4: assigned [mem 0xe00002000-0xe00002fff 64bit]
[    0.662165] Adding 4194304k swap on /swap/file.  Priority:-2 extents:2 across:4202496k
[    1.256407] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    1.702421] EXT4-fs (sdb): recovery complete
[    1.704248] EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[    1.717636] FS-Cache: Duplicate cookie detected
[    1.717637] FS-Cache: O-cookie c=000000009e724991 [p=00000000665d7a9a fl=222 nc=0 na=1]
[    1.717638] FS-Cache: O-cookie d=00000000e0066d8b n=0000000040b0cb5a
[    1.717638] FS-Cache: O-key=[10] '34323934393337343534'
[    1.717640] FS-Cache: N-cookie c=000000005b3d47d3 [p=00000000665d7a9a fl=2 nc=0 na=1]
[    1.717640] FS-Cache: N-cookie d=00000000e0066d8b n=00000000935ffdc9
[    1.717640] FS-Cache: N-key=[10] '34323934393337343534'
[    1.873207] hv_pci 6749254f-a48f-4a81-aca5-a248e68b43b8: PCI VMBus probing: Using version 0x10002
[    1.874077] 9pnet_virtio: no channels available for device drvfs
[    1.874083] init: (1) WARNING: mount: waiting for virtio device...
[    1.912025] hv_pci 6749254f-a48f-4a81-aca5-a248e68b43b8: PCI host bridge to bus aca5:00
[    1.912026] pci_bus aca5:00: root bus resource [mem 0xe00004000-0xe00006fff window]
[    1.912480] pci aca5:00:00.0: [1af4:1049] type 00 class 0x010000
[    1.913678] pci aca5:00:00.0: reg 0x10: [mem 0xe00004000-0xe00004fff 64bit]
[    1.914211] pci aca5:00:00.0: reg 0x18: [mem 0xe00005000-0xe00005fff 64bit]
[    1.914738] pci aca5:00:00.0: reg 0x20: [mem 0xe00006000-0xe00006fff 64bit]
[    1.918053] pci aca5:00:00.0: BAR 0: assigned [mem 0xe00004000-0xe00004fff 64bit]
[    1.918453] pci aca5:00:00.0: BAR 2: assigned [mem 0xe00005000-0xe00005fff 64bit]
[    1.918857] pci aca5:00:00.0: BAR 4: assigned [mem 0xe00006000-0xe00006fff 64bit]
[    1.978169] hv_pci c1307fa5-cd46-4fc7-8e09-3ec700b76442: PCI VMBus probing: Using version 0x10002
[    1.979327] 9pnet_virtio: no channels available for device drvfs
[    1.979332] init: (1) WARNING: mount: waiting for virtio device...
[    2.016265] hv_pci c1307fa5-cd46-4fc7-8e09-3ec700b76442: PCI host bridge to bus 8e09:00
[    2.016267] pci_bus 8e09:00: root bus resource [mem 0xe00008000-0xe0000afff window]
[    2.016819] pci 8e09:00:00.0: [1af4:1049] type 00 class 0x010000
[    2.018069] pci 8e09:00:00.0: reg 0x10: [mem 0xe00008000-0xe00008fff 64bit]
[    2.018607] pci 8e09:00:00.0: reg 0x18: [mem 0xe00009000-0xe00009fff 64bit]
[    2.019147] pci 8e09:00:00.0: reg 0x20: [mem 0xe0000a000-0xe0000afff 64bit]
[    2.022391] pci 8e09:00:00.0: BAR 0: assigned [mem 0xe00008000-0xe00008fff 64bit]
[    2.022768] pci 8e09:00:00.0: BAR 2: assigned [mem 0xe00009000-0xe00009fff 64bit]
[    2.023149] pci 8e09:00:00.0: BAR 4: assigned [mem 0xe0000a000-0xe0000afff 64bit]
[    2.083320] hv_pci b3af1e13-3618-4dd7-b730-84a4e38d6539: PCI VMBus probing: Using version 0x10002
[    2.145727] hv_pci b3af1e13-3618-4dd7-b730-84a4e38d6539: PCI host bridge to bus b730:00
[    2.145730] pci_bus b730:00: root bus resource [mem 0xe0000c000-0xe0000efff window]
[    2.146242] pci b730:00:00.0: [1af4:1049] type 00 class 0x010000
[    2.147622] pci b730:00:00.0: reg 0x10: [mem 0xe0000c000-0xe0000cfff 64bit]
[    2.148230] pci b730:00:00.0: reg 0x18: [mem 0xe0000d000-0xe0000dfff 64bit]
[    2.148832] pci b730:00:00.0: reg 0x20: [mem 0xe0000e000-0xe0000efff 64bit]
[    2.152509] pci b730:00:00.0: BAR 0: assigned [mem 0xe0000c000-0xe0000cfff 64bit]
[    2.152885] pci b730:00:00.0: BAR 2: assigned [mem 0xe0000d000-0xe0000dfff 64bit]
[    2.153260] pci b730:00:00.0: BAR 4: assigned [mem 0xe0000e000-0xe0000efff 64bit]
[   49.070869] hv_balloon: Max. dynamic memory size: 12994 MB
[   61.532609] WSL2: Performing memory compaction.
[  119.497084] init: (123) ERROR: GetTelemetryMessage:74: TELEMETRY: Failure reading cwd: 2
[  247.366535] init: (123) ERROR: LogException:33: TELEMETRY: (null) No such file or directory @d:\os\src\onecore\vm\linux\mountutil\mountutilcpp.h:19 (MountEnum)

[  251.550868] init: (123) ERROR: GetTelemetryMessage:74: TELEMETRY: Failure reading cwd: 2
[  329.718732] WSL2: Performing memory compaction.
[  365.287031] init: (123) ERROR: LogException:33: TELEMETRY: (null) No such file or directory @d:\os\src\onecore\vm\linux\mountutil\mountutilcpp.h:19 (MountEnum)

[  389.907985] init: (123) ERROR: GetTelemetryMessage:74: TELEMETRY: Failure reading cwd: 2
[  410.858378] WSL2: Performing memory compaction.

[process exited with code 1]
sr229 commented 4 years ago

I've compiled Chromium before in WSL, so I cannot replicate this exact issue at the moment. This might be your computer at fault here.

therealkenc commented 4 years ago

Download a large file, pull a large git repo, run a long build

That cannot be turned into an actionable.

janbernloehr commented 4 years ago

I was not able to reproduce this on a second machine. Seems to be the the install is broken.

speter2 commented 4 years ago

I have the same issue. I tried on a second machine and the same issue. On both AMD and Intel systems happens. I tried to pull a big repo and after like 25-35 minutes I get the same error mentioned in OP. Running latest version of Windows 10 Pro...

debone commented 3 years ago

I have the same issue. It happens under heavy load like the OP. I reinstalled distros and it always happens. One big git clone and some long apt-get πŸ’₯

DSAureli commented 3 years ago

I've been experiencing the same issue for a while and I seem to be able to reproduce it every time the host free memory is depleted (last segment in Task manager, standby memory is not reclaimed). Htop on guest seems to see more memory than the amount of free memory actually available, and even greater than the sum of free + standby. May this be the cause? [WSL2, Ubuntu, running many heavy JVM processes]

AwokeKnowing commented 3 years ago

same issue, happened for me when downloading a huggingface 10GB model

therealkenc commented 3 years ago

There has been some evidence of WSL2 misbehaving under memory pressure. It is also probably the underlying cause of #4899. If anyone is experiencing (air quote) "badness under some period while doing big things", like and subscribe #5410, which has the benefit of a repro and being open. I had some luck with artificially decreasing my physical RAM and a ginormous Windows page file. YRMV.