diff --git a/BasicTest/kernel/trinity/README.md b/BasicTest/kernel/trinity/README.md index f0ab592045e9a222cc306af8f800d52010aaffdd..cb5319947afcd14bdb9eb86135047719a24d7e0d 100644 --- a/BasicTest/kernel/trinity/README.md +++ b/BasicTest/kernel/trinity/README.md @@ -18,9 +18,9 @@ trinity ## 测试环境 -- 发行版版本:openEuler 23.03 RISC-V base-qemu-testing +- 发行版版本:openEuler 23.09 RISC-V base-qemu-testing - 内核版本:6.4.0-1.0.0.4.oe2309.riscv64 -- 虚拟机版本:QEMU 8.0.3 +- 虚拟机版本:QEMU 8.0.4 ## 测试方法 @@ -28,11 +28,4 @@ trinity ## 测试结果 -测试未通过,问题与 23.03 版本测试结果类似。测试进行一段时间后内核挂起,`trinity` 侦测到内核被标记为 `tainted` 后自动终止。[23.03 测试报告](https://gitee.com/yunxiangluo/oerv-2303-test/tree/master/BasicTest/kernel/trinity) - -以下为部分报错信息,具体参见 [Trinity 日志](./log/trinity.log.7z) 和 [内核日志](./log/dmesg.log)。 - -- Trinity - - [main] kernel became tainted! (16384/0) Last seed was 4273656633 -- 内核 - - watchdog: BUG: soft lockup - CPU#6 stuck for 21s! [trinity-c10:8575] \ No newline at end of file +未见异常。 \ No newline at end of file diff --git a/BasicTest/kernel/trinity/log/dmesg.log b/BasicTest/kernel/trinity/log/dmesg.log deleted file mode 100644 index 63e06987e74348746e9ed79fafbf89926eba26c4..0000000000000000000000000000000000000000 --- a/BasicTest/kernel/trinity/log/dmesg.log +++ /dev/null @@ -1,482 +0,0 @@ -[ 0.000000] Linux version 6.4.0-1.0.0.4.oe2309.riscv64 (abuild@sg2042-evb) (gcc_old (GCC) 12.3.1 20230508 (openEuler 12.3.1-4.oe2309), GNU ld (GNU Binutils) 2.37) #1 SMP Wed Jul 26 01:59:42 UTC 2023 -[ 0.000000] random: crng init done -[ 0.000000] Machine model: riscv-virtio,qemu -[ 0.000000] earlycon: ns16550a0 at MMIO 0x0000000010000000 (options '') -[ 0.000000] printk: bootconsole [ns16550a0] enabled -[ 0.000000] efi: UEFI not found. -[ 0.000000] OF: reserved mem: 0x0000000080000000..0x000000008007ffff (512 KiB) map non-reusable mmode_resv0@80000000 -[ 0.000000] cma: Reserved 64 MiB at 0x00000000fb600000 -[ 0.000000] NUMA: No NUMA configuration found -[ 0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x000000027fffffff] -[ 0.000000] NUMA: NODE_DATA [mem 0x27ffeb340-0x27ffeffff] -[ 0.000000] Zone ranges: -[ 0.000000] DMA32 [mem 0x0000000080000000-0x00000000ffffffff] -[ 0.000000] Normal [mem 0x0000000100000000-0x000000027fffffff] -[ 0.000000] Movable zone start for each node -[ 0.000000] Early memory node ranges -[ 0.000000] node 0: [mem 0x0000000080000000-0x000000027fffffff] -[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000027fffffff] -[ 0.000000] SBI specification v1.0 detected -[ 0.000000] SBI implementation ID=0x1 Version=0x10002 -[ 0.000000] SBI TIME extension detected -[ 0.000000] SBI IPI extension detected -[ 0.000000] SBI RFENCE extension detected -[ 0.000000] SBI SRST extension detected -[ 0.000000] SBI HSM extension detected -[ 0.000000] riscv: base ISA extensions acdfhim -[ 0.000000] riscv: ELF capabilities acdfim -[ 0.000000] percpu: cpu 0 has no node -1 or node-local memory -[ 0.000000] percpu: Embedded 29 pages/cpu s81640 r8192 d28952 u118784 -[ 0.000000] pcpu-alloc: s81640 r8192 d28952 u118784 alloc=29*4096 -[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7 -[ 0.000000] Kernel command line: root=/dev/vda2 rw console=ttyS0 systemd.default_timeout_start_sec=600 selinux=0 highres=off earlycon -[ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear) -[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) -[ 0.000000] Fallback order for Node 0: 0 -[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 2064384 -[ 0.000000] Policy zone: Normal -[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off -[ 0.000000] stackdepot: allocating hash table via alloc_large_system_hash -[ 0.000000] stackdepot hash table entries: 524288 (order: 10, 4194304 bytes, linear) -[ 0.000000] software IO TLB: area num 8. -[ 0.000000] software IO TLB: mapped [mem 0x00000000f7600000-0x00000000fb600000] (64MB) -[ 0.000000] Virtual kernel memory layout: -[ 0.000000] fixmap : 0xffffffc6fea00000 - 0xffffffc6ff000000 (6144 kB) -[ 0.000000] pci io : 0xffffffc6ff000000 - 0xffffffc700000000 ( 16 MB) -[ 0.000000] vmemmap : 0xffffffc700000000 - 0xffffffc800000000 (4096 MB) -[ 0.000000] vmalloc : 0xffffffc800000000 - 0xffffffd800000000 ( 64 GB) -[ 0.000000] modules : 0xffffffff0259b000 - 0xffffffff80000000 (2010 MB) -[ 0.000000] lowmem : 0xffffffd800000000 - 0xffffffda00000000 (8192 MB) -[ 0.000000] kernel : 0xffffffff80000000 - 0xffffffffffffffff (2047 MB) -[ 0.000000] Memory: 8052204K/8388608K available (11916K kernel code, 8858K rwdata, 10240K rodata, 2662K init, 4455K bss, 270868K reserved, 65536K cma-reserved) -[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1 -[ 0.000000] ftrace: allocating 43696 entries in 171 pages -[ 0.000000] ftrace: allocated 171 pages with 5 groups -[ 0.000000] trace event string verifier disabled -[ 0.000000] rcu: Hierarchical RCU implementation. -[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=8. -[ 0.000000] Rude variant of Tasks RCU enabled. -[ 0.000000] Tracing variant of Tasks RCU enabled. -[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. -[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8 -[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 -[ 0.000000] riscv-intc: 64 local interrupts mapped -[ 0.000000] plic: plic@c000000: mapped 95 interrupts with 8 handlers for 16 contexts. -[ 0.000000] riscv: providing IPIs using SBI IPI extension -[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. -[ 0.000000] riscv-timer: riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [1] -[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns -[ 0.000155] sched_clock: 64 bits at 10MHz, resolution 100ns, wraps every 4398046511100ns -[ 0.077533] riscv-timer: Timer interrupt in S-mode is available via sstc extension -[ 0.248237] Console: colour dummy device 80x25 -[ 0.337518] Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000) -[ 0.375183] pid_max: default: 32768 minimum: 301 -[ 0.404734] LSM: initializing lsm=lockdown,capability,yama,apparmor,integrity -[ 0.500874] Yama: becoming mindful. -[ 0.560698] AppArmor: AppArmor initialized -[ 0.652133] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) -[ 0.695603] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) -[ 1.386042] cblist_init_generic: Setting adjustable number of callback queues. -[ 1.496301] cblist_init_generic: Setting shift to 3 and lim to 1. -[ 1.575162] cblist_init_generic: Setting shift to 3 and lim to 1. -[ 1.628676] riscv: ELF compat mode supported -[ 1.637418] ASID allocator using 16 bits (65536 entries) -[ 1.764636] rcu: Hierarchical SRCU implementation. -[ 1.828026] rcu: Max phase no-delay instances is 1000. -[ 1.908498] EFI services will not be available. -[ 1.992727] smp: Bringing up secondary CPUs ... -[ 2.453213] smp: Brought up 1 node, 8 CPUs -[ 2.523964] devtmpfs: initialized -[ 2.636689] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns -[ 2.651394] futex hash table entries: 2048 (order: 5, 131072 bytes, linear) -[ 2.712196] pinctrl core: initialized pinctrl subsystem -[ 2.838759] NET: Registered PF_NETLINK/PF_ROUTE protocol family -[ 2.916809] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations -[ 2.940410] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations -[ 2.965904] audit: initializing netlink subsys (disabled) -[ 3.008827] audit: type=2000 audit(0.548:1): state=initialized audit_enabled=0 res=1 -[ 3.017684] thermal_sys: Registered thermal governor 'fair_share' -[ 3.041270] thermal_sys: Registered thermal governor 'step_wise' -[ 3.061026] thermal_sys: Registered thermal governor 'user_space' -[ 3.084289] cpuidle: using governor menu -[ 3.281807] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages -[ 3.313407] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page -[ 3.348416] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages -[ 3.368730] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page -[ 3.516817] iommu: Default domain type: Translated -[ 3.532690] iommu: DMA domain TLB invalidation policy: strict mode -[ 3.564425] SCSI subsystem initialized -[ 3.584611] libata version 3.00 loaded. -[ 3.589310] usbcore: registered new interface driver usbfs -[ 3.636024] usbcore: registered new interface driver hub -[ 3.652724] usbcore: registered new device driver usb -[ 3.660497] pps_core: LinuxPPS API ver. 1 registered -[ 3.670251] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti -[ 3.701000] PTP clock support registered -[ 3.715181] EDAC MC: Ver: 3.0.0 -[ 3.819520] NetLabel: Initializing -[ 3.822944] NetLabel: domain hash size = 128 -[ 3.836832] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO -[ 3.841817] NetLabel: unlabeled traffic allowed by default -[ 3.874433] vgaarb: loaded -[ 6.061009] clocksource: Switched to clocksource riscv_clocksource -[ 6.160475] VFS: Disk quotas dquot_6.6.0 -[ 6.164275] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) -[ 6.219048] AppArmor: AppArmor Filesystem Enabled -[ 6.472386] NET: Registered PF_INET protocol family -[ 6.572061] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear) -[ 6.756842] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear) -[ 6.787830] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) -[ 6.808867] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear) -[ 6.864191] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear) -[ 6.936961] TCP: Hash tables configured (established 65536 bind 65536) -[ 6.972764] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear) -[ 6.995202] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear) -[ 7.045122] NET: Registered PF_UNIX/PF_LOCAL protocol family -[ 7.125949] RPC: Registered named UNIX socket transport module. -[ 7.143189] RPC: Registered udp transport module. -[ 7.187861] RPC: Registered tcp transport module. -[ 7.206232] RPC: Registered tcp NFSv4.1 backchannel transport module. -[ 7.229264] PCI: CLS 0 bytes, default 64 -[ 7.628171] Initialise system trusted keyrings -[ 7.643670] Key type blacklist registered -[ 7.695401] workingset: timestamp_bits=39 max_order=21 bucket_order=0 -[ 7.709167] zbud: loaded -[ 7.748319] NFS: Registering the id_resolver key type -[ 7.759861] Key type id_resolver registered -[ 7.769308] Key type id_legacy registered -[ 7.797581] nfs4filelayout_init: NFSv4 File Layout Driver Registering... -[ 7.818492] 9p: Installing v9fs 9p2000 file system support -[ 7.910827] integrity: Platform Keyring initialized -[ 8.080586] NET: Registered PF_ALG protocol family -[ 8.086415] Key type asymmetric registered -[ 8.093501] Asymmetric key parser 'x509' registered -[ 8.120336] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) -[ 8.150951] io scheduler mq-deadline registered -[ 8.161899] io scheduler kyber registered -[ 8.172093] io scheduler bfq registered -[ 9.809042] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 -[ 9.835938] pci-host-generic 30000000.pci: host bridge /soc/pci@30000000 ranges: -[ 9.862801] pci-host-generic 30000000.pci: IO 0x0003000000..0x000300ffff -> 0x0000000000 -[ 9.931215] pci-host-generic 30000000.pci: MEM 0x0040000000..0x007fffffff -> 0x0040000000 -[ 9.981366] pci-host-generic 30000000.pci: MEM 0x0400000000..0x07ffffffff -> 0x0400000000 -[ 10.034825] pci-host-generic 30000000.pci: Memory resource size exceeds max for 32 bits -[ 10.076912] pci-host-generic 30000000.pci: ECAM at [mem 0x30000000-0x3fffffff] for [bus 00-ff] -[ 10.108252] pci-host-generic 30000000.pci: PCI host bridge to bus 0000:00 -[ 10.143326] pci_bus 0000:00: root bus resource [bus 00-ff] -[ 10.192177] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] -[ 10.223868] pci_bus 0000:00: root bus resource [mem 0x40000000-0x7fffffff] -[ 10.259981] pci_bus 0000:00: root bus resource [mem 0x400000000-0x7ffffffff] -[ 10.302128] pci 0000:00:00.0: [1b36:0008] type 00 class 0x060000 -[ 10.336252] pci 0000:00:01.0: [1af4:1050] type 00 class 0x030000 -[ 10.362940] pci 0000:00:01.0: reg 0x10: [mem 0x40000000-0x407fffff pref] -[ 10.500277] pci 0000:00:01.0: reg 0x18: [mem 0x40800000-0x40803fff 64bit pref] -[ 10.541736] pci 0000:00:01.0: reg 0x20: [mem 0x40804000-0x40804fff] -[ 10.598257] pci 0000:00:01.0: reg 0x30: [mem 0x40810000-0x4081ffff pref] -[ 10.640494] pci 0000:00:01.0: vgaarb: setting as boot VGA device -[ 10.661052] pci 0000:00:01.0: vgaarb: bridge control possible -[ 10.676779] pci 0000:00:01.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none -[ 10.718844] pci 0000:00:02.0: [1b36:000d] type 00 class 0x0c0330 -[ 10.734905] pci 0000:00:02.0: reg 0x10: [mem 0x40820000-0x40823fff 64bit] -[ 10.806672] pci 0000:00:01.0: BAR 0: assigned [mem 0x40000000-0x407fffff pref] -[ 10.839975] pci 0000:00:01.0: BAR 6: assigned [mem 0x40800000-0x4080ffff pref] -[ 10.859991] pci 0000:00:01.0: BAR 2: assigned [mem 0x400000000-0x400003fff 64bit pref] -[ 10.893727] pci 0000:00:02.0: BAR 0: assigned [mem 0x400004000-0x400007fff 64bit] -[ 11.265145] pci 0000:00:01.0: BAR 4: assigned [mem 0x40810000-0x40810fff] -[ 11.366643] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled -[ 11.465817] printk: console [ttyS0] disabled -[ 11.513983] 10000000.serial: ttyS0 at MMIO 0x10000000 (irq = 13, base_baud = 230400) is a 16550A -[ 11.562578] printk: console [ttyS0] enabled -[ 11.595920] printk: bootconsole [ns16550a0] disabled -[ 11.763695] loop: module loaded -[ 11.776703] virtio_blk virtio1: 1/0/0 default/read/poll queues -[ 11.831249] virtio_blk virtio1: [vda] 41943040 512-byte logical blocks (21.5 GB/20.0 GiB) -[ 11.960913] vda: vda1 vda2 -[ 11.978369] rdac: device handler registered -[ 11.996324] hp_sw: device handler registered -[ 12.000486] emc: device handler registered -[ 12.011873] alua: device handler registered -[ 12.058821] e1000e: Intel(R) PRO/1000 Network Driver -[ 12.062875] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. -[ 12.095640] xhci_hcd 0000:00:02.0: xHCI Host Controller -[ 12.104502] xhci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1 -[ 12.126080] xhci_hcd 0000:00:02.0: hcc params 0x00087001 hci version 0x100 quirks 0x0000000000000010 -[ 12.158565] xhci_hcd 0000:00:02.0: xHCI Host Controller -[ 12.168447] xhci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2 -[ 12.174433] xhci_hcd 0000:00:02.0: Host supports USB 3.0 SuperSpeed -[ 12.192747] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.04 -[ 12.198567] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 -[ 12.206510] usb usb1: Product: xHCI Host Controller -[ 12.210252] usb usb1: Manufacturer: Linux 6.4.0-1.0.0.4.oe2309.riscv64 xhci-hcd -[ 12.215166] usb usb1: SerialNumber: 0000:00:02.0 -[ 12.236913] hub 1-0:1.0: USB hub found -[ 12.240068] hub 1-0:1.0: 4 ports detected -[ 12.260360] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. -[ 12.273236] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.04 -[ 12.315760] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 -[ 12.322079] usb usb2: Product: xHCI Host Controller -[ 12.336121] usb usb2: Manufacturer: Linux 6.4.0-1.0.0.4.oe2309.riscv64 xhci-hcd -[ 12.352856] usb usb2: SerialNumber: 0000:00:02.0 -[ 12.391609] hub 2-0:1.0: USB hub found -[ 12.397712] hub 2-0:1.0: 4 ports detected -[ 12.422639] usbcore: registered new interface driver uas -[ 12.458031] usbcore: registered new interface driver usb-storage -[ 12.495428] mousedev: PS/2 mouse device common for all mice -[ 12.564447] goldfish_rtc 101000.rtc: registered as rtc0 -[ 12.604311] goldfish_rtc 101000.rtc: setting system clock to 2023-08-04T11:53:07 UTC (1691149987) -[ 12.647207] syscon-poweroff poweroff: pm_power_off already claimed for sbi_srst_power_off -[ 12.675350] usb 1-1: new high-speed USB device number 2 using xhci_hcd -[ 12.723694] syscon-poweroff: probe of poweroff failed with error -16 -[ 12.767801] sdhci: Secure Digital Host Controller Interface driver -[ 12.772731] sdhci: Copyright(c) Pierre Ossman -[ 12.806866] sdhci-pltfm: SDHCI platform and OF driver helper -[ 12.849920] hid: raw HID events driver (C) Jiri Kosina -[ 12.883738] usb 1-1: New USB device found, idVendor=0627, idProduct=0001, bcdDevice= 0.00 -[ 12.891103] usb 1-1: New USB device strings: Mfr=1, Product=4, SerialNumber=11 -[ 12.919448] usb 1-1: Product: QEMU USB Keyboard -[ 12.931322] usbcore: registered new interface driver usbhid -[ 12.941112] usb 1-1: Manufacturer: QEMU -[ 12.941165] usb 1-1: SerialNumber: 68284-0000:00:02.0-1 -[ 13.064180] usbhid: USB HID core driver -[ 13.088542] riscv-pmu-sbi: SBI PMU extension is available -[ 13.110655] riscv-pmu-sbi: 16 firmware and 18 hardware counters -[ 13.151599] riscv-pmu-sbi: Perf sampling/filtering is not supported as sscof extension is not available -[ 13.153315] input: QEMU QEMU USB Keyboard as /devices/platform/soc/30000000.pci/pci0000:00/0000:00:02.0/usb1/1-1/1-1:1.0/0003:0627:0001.0001/input/input0 -[ 13.315993] hid-generic 0003:0627:0001.0001: input,hidraw0: USB HID v1.11 Keyboard [QEMU QEMU USB Keyboard] on usb-0000:00:02.0-1/input0 -[ 13.484299] NET: Registered PF_INET6 protocol family -[ 13.504255] usb 1-2: new high-speed USB device number 3 using xhci_hcd -[ 13.626268] Segment Routing with IPv6 -[ 13.647236] In-situ OAM (IOAM) with IPv6 -[ 13.679113] NET: Registered PF_PACKET protocol family -[ 13.725942] 9pnet: Installing 9P2000 support -[ 13.730392] Key type dns_resolver registered -[ 13.772054] usb 1-2: New USB device found, idVendor=0627, idProduct=0001, bcdDevice= 0.00 -[ 13.803799] usb 1-2: New USB device strings: Mfr=1, Product=3, SerialNumber=10 -[ 13.827234] usb 1-2: Product: QEMU USB Tablet -[ 13.848731] usb 1-2: Manufacturer: QEMU -[ 13.862828] usb 1-2: SerialNumber: 28754-0000:00:02.0-2 -[ 13.964376] input: QEMU QEMU USB Tablet as /devices/platform/soc/30000000.pci/pci0000:00/0000:00:02.0/usb1/1-2/1-2:1.0/0003:0627:0001.0002/input/input1 -[ 14.000981] registered taskstats version 1 -[ 14.028532] hid-generic 0003:0627:0001.0002: input,hidraw1: USB HID v0.01 Mouse [QEMU QEMU USB Tablet] on usb-0000:00:02.0-2/input0 -[ 14.127552] Loading compiled-in X.509 certificates -[ 14.211755] usb 1-3: new full-speed USB device number 4 using xhci_hcd -[ 14.354875] Loaded X.509 cert 'Build time autogenerated kernel key: 904ddd42c2a36bffaac812dc3702e2761edee507' -[ 14.404218] usb 1-3: New USB device found, idVendor=46f4, idProduct=0002, bcdDevice= 0.00 -[ 14.409302] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 -[ 14.416226] usb 1-3: Product: QEMU USB Audio -[ 14.425561] usb 1-3: Manufacturer: QEMU -[ 14.434567] usb 1-3: SerialNumber: 1-0000:00:02.0-3 -[ 14.592401] kmemleak: Kernel memory leak detector initialized (mem pool available: 15566) -[ 14.597646] kmemleak: Automatic memory scanning thread started -[ 14.751463] Key type encrypted registered -[ 14.767960] AppArmor: AppArmor sha1 policy hashing enabled -[ 14.775544] ima: No TPM chip found, activating TPM-bypass! -[ 14.784812] ima: Allocated hash algorithm: sha256 -[ 14.808403] ima: No architecture policies found -[ 14.825254] evm: Initialising EVM extended attributes: -[ 14.842353] evm: security.selinux -[ 14.844599] evm: security.SMACK64 (disabled) -[ 14.846799] evm: security.SMACK64EXEC (disabled) -[ 14.849886] evm: security.SMACK64TRANSMUTE (disabled) -[ 14.859589] evm: security.SMACK64MMAP (disabled) -[ 14.864756] evm: security.apparmor -[ 14.866811] evm: security.ima -[ 14.868330] evm: security.capability -[ 14.871341] evm: HMAC attrs: 0x1 -[ 16.846127] clk: Disabling unused clocks -[ 16.907488] md: Waiting for all devices to be available before autodetect -[ 16.935714] md: If you don't use raid, use raid=noautodetect -[ 16.959468] md: Autodetecting RAID arrays. -[ 16.967401] md: autorun ... -[ 16.972178] md: ... autorun DONE. -[ 17.303870] EXT4-fs (vda2): mounted filesystem a1886db6-0994-4172-8eb1-c744ac5bbbc9 r/w with ordered data mode. Quota mode: none. -[ 17.348281] VFS: Mounted root (ext4 filesystem) on device 253:2. -[ 17.383981] devtmpfs: mounted -[ 17.411837] integrity: Unable to open file: /etc/keys/x509_ima.der (-2) -[ 17.412081] integrity: Unable to open file: /etc/keys/x509_evm.der (-2) -[ 17.552933] Freeing unused kernel image (initmem) memory: 2660K -[ 17.631160] Run /sbin/init as init process -[ 17.650986] with arguments: -[ 17.651088] /sbin/init -[ 17.651149] with environment: -[ 17.651205] HOME=/ -[ 17.651256] TERM=linux -[ 33.987302] systemd[1]: systemd v249-52.oe2309 running in system mode (+PAM +AUDIT +SELINUX -APPARMOR +IMA -SMACK +SECCOMP +GCRYPT +GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 +IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB -ZSTD +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=legacy) -[ 34.078844] systemd[1]: Detected architecture riscv64. -[ 34.899414] systemd[1]: Hostname set to . -[ 143.867064] systemd[1]: /usr/lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket \xe2\x86\x92 /run/dbus/system_bus_socket; please update the unit file accordingly. -[ 145.462540] systemd[1]: Queued start job for default target Graphical Interface. -[ 146.842718] systemd[1]: Created slice Slice /system/getty. -[ 146.962654] systemd[1]: Created slice Slice /system/modprobe. -[ 147.064121] systemd[1]: Created slice Slice /system/serial-getty. -[ 147.145017] systemd[1]: Created slice Slice /system/sshd-keygen. -[ 147.216623] systemd[1]: Created slice User and Session Slice. -[ 147.296843] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. -[ 147.345372] systemd[1]: Started Forward Password Requests to Wall Directory Watch. -[ 147.581297] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. -[ 147.635270] systemd[1]: Reached target Path Units. -[ 147.664255] systemd[1]: Reached target Remote File Systems. -[ 147.692825] systemd[1]: Reached target Slice Units. -[ 147.717692] systemd[1]: Reached target Swaps. -[ 147.799937] systemd[1]: Listening on Device-mapper event daemon FIFOs. -[ 147.903905] systemd[1]: Listening on LVM2 poll daemon socket. -[ 148.062985] systemd[1]: Listening on Process Core Dump Socket. -[ 148.145386] systemd[1]: Listening on initctl Compatibility Named Pipe. -[ 148.204729] systemd[1]: Listening on Journal Socket (/dev/log). -[ 148.235265] systemd[1]: Listening on Journal Socket. -[ 148.279866] systemd[1]: Listening on udev Control Socket. -[ 148.332334] systemd[1]: Listening on udev Kernel Socket. -[ 148.713891] systemd[1]: Mounting Huge Pages File System... -[ 160.357429] systemd[1]: Mounting POSIX Message Queue File System... -[ 162.183511] systemd[1]: Mounting Kernel Debug File System... -[ 163.368141] systemd[1]: Mounting Kernel Trace File System... -[ 167.903574] systemd[1]: Mounting Temporary Directory /tmp... -[ 180.351876] systemd[1]: Starting Create List of Static Device Nodes... -[ 187.294508] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling... -[ 188.840345] systemd[1]: Starting Load Kernel Module configfs... -[ 195.255950] systemd[1]: Starting Load Kernel Module drm... -[ 201.383437] systemd[1]: Starting Load Kernel Module fuse... -[ 201.904299] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped. -[ 202.215997] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped. -[ 202.331969] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling. -[ 202.363475] systemd[1]: (This warning is only shown for the first unit using IP firewalling.) -[ 210.327389] systemd[1]: Starting Journal Service... -[ 215.415111] systemd[1]: Condition check resulted in Load Kernel Modules being skipped. -[ 220.062669] systemd[1]: Starting Load/Save Random Seed... -[ 222.166769] systemd[1]: Starting Apply Kernel Variables... -[ 222.215468] systemd[1]: Condition check resulted in Create System Users being skipped. -[ 229.601996] systemd[1]: Starting Coldplug All udev Devices... -[ 235.526761] systemd[1]: Mounted Huge Pages File System. -[ 235.617902] systemd[1]: Mounted POSIX Message Queue File System. -[ 236.942510] systemd[1]: Mounted Kernel Debug File System. -[ 236.980275] systemd[1]: Mounted Kernel Trace File System. -[ 237.242301] systemd[1]: Mounted Temporary Directory /tmp. -[ 238.230806] systemd[1]: Finished Create List of Static Device Nodes. -[ 239.312483] systemd[1]: modprobe@configfs.service: Deactivated successfully. -[ 240.232564] systemd[1]: Finished Load Kernel Module configfs. -[ 242.187719] systemd[1]: Finished Load/Save Random Seed. -[ 242.425869] systemd[1]: Condition check resulted in First Boot Complete being skipped. -[ 242.550763] systemd[1]: Reached target Local File Systems. -[ 247.318999] systemd[1]: Mounting Kernel Configuration File System... -[ 247.749064] systemd[1]: Condition check resulted in Rebuild Dynamic Linker Cache being skipped. -[ 247.854278] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped. -[ 249.707637] systemd[1]: Starting Create Static Device Nodes in /dev... -[ 250.051164] systemd[1]: Started Journal Service. -[ 289.457807] systemd-journald[206]: Received client request to flush runtime journal. -[ 370.111599] INFO: task modprobe:211 blocked for more than 121 seconds. -[ 370.169629] Not tainted 6.4.0-1.0.0.4.oe2309.riscv64 #1 -[ 370.193841] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. -[ 370.223681] task:modprobe state:D stack:0 pid:211 ppid:55 flags:0x00000002 -[ 370.289503] Call Trace: -[ 370.295365] [] __schedule+0x322/0x8e4 -[ 370.358089] [] schedule+0x56/0xe0 -[ 370.361962] [] schedule_preempt_disabled+0x22/0x34 -[ 370.397785] [] __mutex_lock.constprop.0+0x3fc/0x8c6 -[ 370.450049] [] __mutex_lock_slowpath+0x1a/0x22 -[ 370.471026] [] mutex_lock+0x56/0x60 -[ 370.485291] [] ftrace_process_locs+0x7e/0x1e6 -[ 370.544399] [] ftrace_module_init+0x3c/0x56 -[ 370.548659] [] load_module+0x3b0/0x7e6 -[ 370.592313] [] __do_sys_init_module+0x16c/0x182 -[ 370.629106] [] sys_init_module+0x18/0x20 -[ 370.701997] [] do_trap_ecall_u+0xf0/0x104 -[ 370.751100] [] ret_from_exception+0x0/0x64 -[ 417.053346] fuse: init (API version 7.38) -[ 840.053139] physmap-flash 20000000.flash: physmap platform flash device: [mem 0x20000000-0x21ffffff] -[ 868.947790] 20000000.flash: Found 2 x16 devices at 0x0 in 32-bit bank. Manufacturer ID 0x000000 Chip ID 0x000000 -[ 873.811496] Support for command set 0001 not present -[ 873.885327] gen_probe: No supported Vendor Command Set found -[ 873.991006] physmap-flash 20000000.flash: map_probe failed -[ 1354.642808] mc: Linux media interface: v0.10 -[ 1699.425102] INFO: task systemd-udevd:252 blocked for more than 120 seconds. -[ 1699.491123] Not tainted 6.4.0-1.0.0.4.oe2309.riscv64 #1 -[ 1699.543655] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. -[ 1699.543705] task:systemd-udevd state:D stack:0 pid:252 ppid:233 flags:0x00000006 -[ 1699.543799] Call Trace: -[ 1699.543835] [] __schedule+0x322/0x8e4 -[ 1699.543898] [] schedule+0x56/0xe0 -[ 1699.543941] [] schedule_preempt_disabled+0x22/0x34 -[ 1699.543985] [] __mutex_lock.constprop.0+0x3fc/0x8c6 -[ 1699.544026] [] __mutex_lock_slowpath+0x1a/0x22 -[ 1699.544066] [] mutex_lock+0x56/0x60 -[ 1699.544107] [] ftrace_process_locs+0x7e/0x1e6 -[ 1699.544149] [] ftrace_module_init+0x3c/0x56 -[ 1699.544190] [] load_module+0x3b0/0x7e6 -[ 1699.544233] [] __do_sys_init_module+0x16c/0x182 -[ 1699.544274] [] sys_init_module+0x18/0x20 -[ 1699.544314] [] do_trap_ecall_u+0xf0/0x104 -[ 1699.544357] [] ret_from_exception+0x0/0x64 -[ 1836.308060] [drm] pci: virtio-vga detected at 0000:00:01.0 -[ 1837.115587] virtio-pci 0000:00:01.0: vgaarb: deactivate vga console -[ 1837.130279] [drm] features: -virgl +edid -resource_blob -host_visible -[ 1837.130357] [drm] features: -context_init -[ 1837.194098] [drm] number of scanouts: 1 -[ 1837.261205] [drm] number of cap sets: 0 -[ 1837.925647] [drm] Initialized virtio_gpu 0.1.0 0 for 0000:00:01.0 on minor 0 -[ 1838.623372] Console: switching to colour frame buffer device 160x50 -[ 1839.481697] virtio-pci 0000:00:01.0: [drm] fb0: virtio_gpudrmfb frame buffer device -[ 1997.580249] usb 1-3: unknown interface protocol 0x4, assuming v1 -[ 1998.049038] usbcore: registered new interface driver snd-usb-audio -[62948.453061] hugetlbfs: trinity (8415): Using mlock ulimits for SHM_HUGETLB is obsolete -[63201.027443] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=8415 'trinity-main' -[63229.528187] sctp: Hash tables configured (bind 256/256) -[63229.811846] UDPLite: UDP-Lite is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list -[63234.948372] NET: Registered PF_ATMPVC protocol family -[63234.967023] NET: Registered PF_ATMSVC protocol family -[63240.334388] UDPLite6: UDP-Lite is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list -[63245.024402] Initializing XFRM netlink socket -[63248.042305] Loading iSCSI transport class v2.0-870. -[63267.936255] PPP generic driver version 2.4.2 -[63268.709059] NET: Registered PF_PPPOX protocol family -[63271.002668] l2tp_core: L2TP core driver, V2.0 -[63271.584718] l2tp_netlink: L2TP netlink interface -[63272.245766] l2tp_ppp: PPPoL2TP kernel driver, V2.0 -[63274.052756] gre: GRE over IPv4 demultiplexor driver -[63274.834829] PPTP driver version 0.8.5 -[63277.140603] can: controller area network core -[63277.171868] NET: Registered PF_CAN protocol family -[63277.820648] can: raw protocol -[63278.691707] can: broadcast manager protocol -[63348.244078] mmap: trinity-c26 (8552) uses deprecated remap_file_pages() syscall. See Documentation/mm/remap_file_pages.rst. -[63374.454638] Zero length message leads to an empty skb -[63447.164737] trinity-c13(8539): Attempt to set a LOCK_MAND lock via flock(2). This support has been removed and the request ignored. -[63550.784052] NET: Registered PF_IEEE802154 protocol family -[64353.907413] NET: Registered PF_VSOCK protocol family -[65135.646002] ======================================================= - WARNING: The mand mount option has been deprecated and - and is ignored by this kernel. Remove the mand - option from the mount to silence this warning. - ======================================================= -[66076.903544] watchdog: BUG: soft lockup - CPU#6 stuck for 21s! [trinity-c10:8575] -[66076.903947] Modules linked in: vsock_loopback vmw_vsock_virtio_transport_common vsock ieee802154_socket ieee802154 can_bcm can_raw can pptp gre l2tp_ppp l2tp_netlink l2tp_core pppoe pppox ppp_generic slhc crypto_user ib_core nfnetlink scsi_transport_iscsi xfrm_user xfrm_algo atm sctp ip6_udp_tunnel udp_tunnel libcrc32c snd_usb_audio snd_hwdep snd_usbmidi_lib snd_rawmidi rfkill snd_pcm snd_timer snd virtio_gpu virtio_dma_buf drm_shmem_helper soundcore drm_kms_helper mc syscopyarea sysfillrect sysimgblt cfi_cmdset_0001 cfi_probe cfi_util gen_probe physmap chipreg uio_pdrv_genirq mtd uio sch_fq_codel drm fuse -[66076.907413] CPU: 6 PID: 8575 Comm: trinity-c10 Not tainted 6.4.0-1.0.0.4.oe2309.riscv64 #1 -[66076.907557] Hardware name: riscv-virtio,qemu (DT) -[66076.907690] epc : __sbi_rfence_v02_call.constprop.0+0x7c/0x132 -[66076.908265] ra : __sbi_rfence_v02+0x142/0x144 -[66076.908333] epc : ffffffff80009c02 ra : ffffffff80009dfa sp : ffffffc800d83900 -[66076.908385] gp : ffffffff8213d218 tp : ffffffd88b8d6200 t0 : 0000000000000001 -[66076.908443] t1 : 0000000000000000 t2 : ffffffff810002b0 s0 : ffffffc800d83920 -[66076.908496] s1 : 0000000000000080 a0 : 0000000000000000 a1 : 0000000000000000 -[66076.908546] a2 : 0000000000000000 a3 : 0000000000000000 a4 : 0000000000000000 -[66076.908597] a5 : 0000000000000000 a6 : 0000000000000000 a7 : 0000000052464e43 -[66076.908651] s2 : 0000000000000000 s3 : ffffffff8213d164 s4 : ffffffff8214f958 -[66076.908703] s5 : ffffffff8146c218 s6 : 0000000000000001 s7 : 00000000000000ff -[66076.908774] s8 : 0000000000000007 s9 : 0000000000000000 s10: 0000000000000000 -[66076.908824] s11: 0000000000000008 t3 : 00000000000000ff t4 : ffffffffffffffff -[66076.908874] t5 : 0000004700000000 t6 : 000000000000000a -[66076.908923] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005 -[66076.909018] [] __sbi_rfence_v02_call.constprop.0+0x7c/0x132 -[66076.909155] [] __sbi_rfence_v02+0x142/0x144 -[66076.909199] [] sbi_remote_fence_i+0x1e/0x26 -[66076.909245] [] flush_icache_all+0x1c/0x4a -[66076.909290] [] flush_icache_pte+0x98/0xdc -[66076.909334] [] change_pte_range+0x374/0x582 -[66076.909383] [] change_pmd_range.isra.0+0x128/0x316 -[66076.909429] [] change_p4d_range+0x188/0x358 -[66076.909477] [] change_protection_range+0x126/0x2ce -[66076.909523] [] change_protection+0x4c/0x6a -[66076.909575] [] mprotect_fixup+0xc8/0x20c -[66076.909621] [] do_mprotect_pkey.constprop.0+0x196/0x2de -[66076.909667] [] sys_mprotect+0x18/0x2c -[66076.909729] [] do_trap_ecall_u+0xf0/0x104 -[66076.910799] [] ret_from_exception+0x0/0x64 diff --git a/BasicTest/kernel/trinity/log/trinity.7z b/BasicTest/kernel/trinity/log/trinity.7z new file mode 100644 index 0000000000000000000000000000000000000000..45d5fec91fba98009f0a1cfd7ba4272335f764cb Binary files /dev/null and b/BasicTest/kernel/trinity/log/trinity.7z differ diff --git a/BasicTest/kernel/trinity/log/trinity.log.7z b/BasicTest/kernel/trinity/log/trinity.log.7z deleted file mode 100644 index 533c613f26297b741794edeaf5274eda91c5939d..0000000000000000000000000000000000000000 Binary files a/BasicTest/kernel/trinity/log/trinity.log.7z and /dev/null differ diff --git a/BasicTest/kernel/trinity/method.md b/BasicTest/kernel/trinity/method.md index e67eea19875b595dbe325643203a9c3cb74a7b84..590088db55af9aa2af7c7a001ff2b5118b023af4 100644 --- a/BasicTest/kernel/trinity/method.md +++ b/BasicTest/kernel/trinity/method.md @@ -19,7 +19,7 @@ cd trinity ./configure && make -j4 ``` -3. 使用 `./trinity` 运行测试。如需减少日志输出,节省硬盘空间,可添加 -q 或 -qq 参数:`./trinity -qq`。 +3. 使用 `./trinity --dangerous` 运行测试。如需减少日志输出,节省硬盘空间,可添加 -q 或 -qq 参数:`./trinity -qq`。使用 `--dangerous` 以抑制 root 用户警告。 > `-q`:不输出寄存器值 > `-qq`:同时抑制系统调用的计数。