Advertisement
Guest User

nolibc-rv32-run.out

a guest
May 24th, 2023
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.30 KB | None | 0 0
  1.  
  2. OpenSBI v0.9-152-g754d511
  3. ____ _____ ____ _____
  4. / __ \ / ____| _ \_ _|
  5. | | | |_ __ ___ _ __ | (___ | |_) || |
  6. | | | | '_ \ / _ \ '_ \ \___ \| _ < | |
  7. | |__| | |_) | __/ | | |____) | |_) || |_
  8. \____/| .__/ \___|_| |_|_____/|____/_____|
  9. | |
  10. |_|
  11.  
  12. Platform Name : riscv-virtio,qemu
  13. Platform Features : medeleg
  14. Platform HART Count : 1
  15. Platform IPI Device : aclint-mswi
  16. Platform Timer Device : aclint-mtimer @ 10000000Hz
  17. Platform Console Device : uart8250
  18. Platform HSM Device : ---
  19. Platform SysReset Device : sifive_test
  20. Firmware Base : 0x80000000
  21. Firmware Size : 212 KB
  22. Runtime SBI Version : 0.3
  23.  
  24. Domain0 Name : root
  25. Domain0 Boot HART : 0
  26. Domain0 HARTs : 0*
  27. Domain0 Region00 : 0x02000000-0x0200ffff (I)
  28. Domain0 Region01 : 0x80000000-0x8003ffff ()
  29. Domain0 Region02 : 0x00000000-0xffffffff (R,W,X)
  30. Domain0 Next Address : 0x80400000
  31. Domain0 Next Arg1 : 0x82200000
  32. Domain0 Next Mode : S-mode
  33. Domain0 SysReset : yes
  34.  
  35. Boot HART ID : 0
  36. Boot HART Domain : root
  37. Boot HART ISA : rv32imafdcsu
  38. Boot HART Features : scounteren,mcounteren
  39. Boot HART PMP Count : 16
  40. Boot HART PMP Granularity : 4
  41. Boot HART PMP Address Bits: 32
  42. Boot HART MHPM Count : 0
  43. Boot HART MIDELEG : 0x00000222
  44. Boot HART MEDELEG : 0x0000b109
  45. [ 0.000000] Linux version 6.4.0-rc1-00130-gda046879e526 (ubuntu@linux-lab) (riscv64-linux-gnu-gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #2 SMP Thu May 25 00:52:46 CST 2023
  46. [ 0.000000] OF: fdt: Ignoring memory range 0x80000000 - 0x80400000
  47. [ 0.000000] Machine model: riscv-virtio,qemu
  48. [ 0.000000] efi: UEFI not found.
  49. [ 0.000000] OF: reserved mem: 0x80000000..0x8003ffff (256 KiB) map non-reusable mmode_resv0@80000000
  50. [ 0.000000] Zone ranges:
  51. [ 0.000000] Normal [mem 0x0000000080400000-0x0000000087ffffff]
  52. [ 0.000000] Movable zone start for each node
  53. [ 0.000000] Early memory node ranges
  54. [ 0.000000] node 0: [mem 0x0000000080400000-0x0000000087ffffff]
  55. [ 0.000000] Initmem setup node 0 [mem 0x0000000080400000-0x0000000087ffffff]
  56. [ 0.000000] On node 0, zone Normal: 1024 pages in unavailable ranges
  57. [ 0.000000] SBI specification v0.3 detected
  58. [ 0.000000] SBI implementation ID=0x1 Version=0x9
  59. [ 0.000000] SBI TIME extension detected
  60. [ 0.000000] SBI IPI extension detected
  61. [ 0.000000] SBI RFENCE extension detected
  62. [ 0.000000] SBI SRST extension detected
  63. [ 0.000000] SBI HSM extension detected
  64. [ 0.000000] riscv: base ISA extensions acdfim
  65. [ 0.000000] riscv: ELF capabilities acdfim
  66. [ 0.000000] percpu: Embedded 13 pages/cpu s24480 r8192 d20576 u53248
  67. [ 0.000000] Kernel command line: console=ttyS0 panic=-1
  68. [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
  69. [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
  70. [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 31465
  71. [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
  72. [ 0.000000] Virtual kernel memory layout:
  73. [ 0.000000] fixmap : 0x9c800000 - 0x9d000000 (8192 kB)
  74. [ 0.000000] pci io : 0x9d000000 - 0x9e000000 ( 16 MB)
  75. [ 0.000000] vmemmap : 0x9e000000 - 0xa0000000 ( 32 MB)
  76. [ 0.000000] vmalloc : 0xa0000000 - 0xc0000000 ( 512 MB)
  77. [ 0.000000] lowmem : 0xc0000000 - 0xc7c00000 ( 124 MB)
  78. [ 0.000000] Memory: 99972K/126976K available (8014K kernel code, 8849K rwdata, 4096K rodata, 4204K init, 334K bss, 27004K reserved, 0K cma-reserved)
  79. [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  80. [ 0.000000] rcu: Hierarchical RCU implementation.
  81. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1.
  82. [ 0.000000] rcu: RCU debug extended QS entry/exit.
  83. [ 0.000000] Tracing variant of Tasks RCU enabled.
  84. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
  85. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
  86. [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
  87. [ 0.000000] riscv-intc: 32 local interrupts mapped
  88. [ 0.000000] plic: interrupt-controller@c000000: mapped 53 interrupts with 1 handlers for 2 contexts.
  89. [ 0.000000] riscv: providing IPIs using SBI IPI extension
  90. [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
  91. [ 0.000000] riscv-timer: riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
  92. [ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
  93. [ 0.000143] sched_clock: 64 bits at 10MHz, resolution 100ns, wraps every 4398046511100ns
  94. [ 0.005602] Console: colour dummy device 80x25
  95. [ 0.010198] Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000)
  96. [ 0.010441] pid_max: default: 32768 minimum: 301
  97. [ 0.011444] LSM: initializing lsm=capability,integrity
  98. [ 0.014531] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
  99. [ 0.014617] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
  100. [ 0.063095] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
  101. [ 0.065383] ASID allocator using 9 bits (512 entries)
  102. [ 0.067639] rcu: Hierarchical SRCU implementation.
  103. [ 0.067715] rcu: Max phase no-delay instances is 1000.
  104. [ 0.075073] EFI services will not be available.
  105. [ 0.078729] smp: Bringing up secondary CPUs ...
  106. [ 0.079412] smp: Brought up 1 node, 1 CPU
  107. [ 0.094615] devtmpfs: initialized
  108. [ 0.104993] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
  109. [ 0.105298] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
  110. [ 0.108024] pinctrl core: initialized pinctrl subsystem
  111. [ 0.122261] NET: Registered PF_NETLINK/PF_ROUTE protocol family
  112. [ 0.134465] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
  113. [ 0.134936] audit: initializing netlink subsys (disabled)
  114. [ 0.143189] audit: type=2000 audit(0.120:1): state=initialized audit_enabled=0 res=1
  115. [ 0.143744] cpuidle: using governor menu
  116. [ 0.169199] HugeTLB: registered 4.00 MiB page size, pre-allocated 0 pages
  117. [ 0.169268] HugeTLB: 0 KiB vmemmap can be freed for a 4.00 MiB page
  118. [ 0.177382] iommu: Default domain type: Translated
  119. [ 0.177465] iommu: DMA domain TLB invalidation policy: strict mode
  120. [ 0.179488] SCSI subsystem initialized
  121. [ 0.183314] usbcore: registered new interface driver usbfs
  122. [ 0.183666] usbcore: registered new interface driver hub
  123. [ 0.184001] usbcore: registered new device driver usb
  124. [ 0.201890] vgaarb: loaded
  125. [ 0.209040] clocksource: Switched to clocksource riscv_clocksource
  126. [ 0.282109] NET: Registered PF_INET protocol family
  127. [ 0.286798] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
  128. [ 0.294800] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 5120 bytes, linear)
  129. [ 0.294971] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
  130. [ 0.295084] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
  131. [ 0.295777] TCP bind hash table entries: 1024 (order: 3, 40960 bytes, linear)
  132. [ 0.296002] TCP: Hash tables configured (established 1024 bind 1024)
  133. [ 0.297769] UDP hash table entries: 256 (order: 1, 12288 bytes, linear)
  134. [ 0.298106] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes, linear)
  135. [ 0.300003] NET: Registered PF_UNIX/PF_LOCAL protocol family
  136. [ 0.310185] RPC: Registered named UNIX socket transport module.
  137. [ 0.310311] RPC: Registered udp transport module.
  138. [ 0.310374] RPC: Registered tcp transport module.
  139. [ 0.310430] RPC: Registered tcp NFSv4.1 backchannel transport module.
  140. [ 0.310656] PCI: CLS 0 bytes, default 64
  141. [ 0.330186] workingset: timestamp_bits=14 max_order=15 bucket_order=1
  142. [ 0.338726] NFS: Registering the id_resolver key type
  143. [ 0.340278] Key type id_resolver registered
  144. [ 0.340395] Key type id_legacy registered
  145. [ 0.341235] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
  146. [ 0.341414] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
  147. [ 0.342715] 9p: Installing v9fs 9p2000 file system support
  148. [ 0.346194] NET: Registered PF_ALG protocol family
  149. [ 0.346725] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
  150. [ 0.346933] io scheduler mq-deadline registered
  151. [ 0.347076] io scheduler kyber registered
  152. [ 0.347332] io scheduler bfq registered
  153. [ 0.353477] pci-host-generic 30000000.pci: host bridge /soc/pci@30000000 ranges:
  154. [ 0.354413] pci-host-generic 30000000.pci: IO 0x0003000000..0x000300ffff -> 0x0000000000
  155. [ 0.354981] pci-host-generic 30000000.pci: MEM 0x0040000000..0x007fffffff -> 0x0040000000
  156. [ 0.358058] pci-host-generic 30000000.pci: ECAM at [mem 0x30000000-0x3fffffff] for [bus 00-ff]
  157. [ 0.361157] pci-host-generic 30000000.pci: PCI host bridge to bus 0000:00
  158. [ 0.361473] pci_bus 0000:00: root bus resource [bus 00-ff]
  159. [ 0.361627] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
  160. [ 0.361721] pci_bus 0000:00: root bus resource [mem 0x40000000-0x7fffffff]
  161. [ 0.363235] pci 0000:00:00.0: [1b36:0008] type 00 class 0x060000
  162. [ 0.815982] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
  163. [ 0.829980] printk: console [ttyS0] disabled
  164. [ 0.832167] 10000000.uart: ttyS0 at MMIO 0x10000000 (irq = 12, base_baud = 230400) is a 16550A
  165. [ 0.834288] printk: console [ttyS0] enabled
  166. [ 0.883239] SuperH (H)SCI(F) driver initialized
  167. [ 0.935275] loop: module loaded
  168. [ 0.945997] e1000e: Intel(R) PRO/1000 Network Driver
  169. [ 0.946395] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
  170. [ 0.954301] usbcore: registered new interface driver uas
  171. [ 0.954906] usbcore: registered new interface driver usb-storage
  172. [ 0.958124] mousedev: PS/2 mouse device common for all mice
  173. [ 0.963303] sdhci: Secure Digital Host Controller Interface driver
  174. [ 0.963836] sdhci: Copyright(c) Pierre Ossman
  175. [ 0.965927] sdhci-pltfm: SDHCI platform and OF driver helper
  176. [ 0.967680] usbcore: registered new interface driver usbhid
  177. [ 0.969599] usbhid: USB HID core driver
  178. [ 0.973768] NET: Registered PF_INET6 protocol family
  179. [ 0.993579] Segment Routing with IPv6
  180. [ 0.994609] In-situ OAM (IOAM) with IPv6
  181. [ 0.995367] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
  182. [ 1.002200] NET: Registered PF_PACKET protocol family
  183. [ 1.005897] 9pnet: Installing 9P2000 support
  184. [ 1.008155] Key type dns_resolver registered
  185. [ 1.073562] debug_vm_pgtable: [debug_vm_pgtable ]: Validating architecture page table helpers
  186. [ 1.086844] Legacy PMU implementation is available
  187. [ 1.090170] clk: Disabling unused clocks
  188. [ 1.091906] Warning: unable to open an initial console.
  189. [ 1.177482] Freeing unused kernel image (initmem) memory: 4204K
  190. [ 1.185346] Run /init as init process
  191.  
  192. Successfully reopened /dev/console.
  193. Running test 'syscall'
  194. 0 getpid = 1 [OK]
  195. 1 getppid = 0 [OK]
  196. 3 gettid = 1 [OK]
  197. 5 getpgid_self = 0 [OK]
  198. 6 getpgid_bad = -1 ESRCH [OK]
  199. 7 kill_0 = 0 [OK]
  200. 8 kill_CONT = 0 [OK]
  201. 9 kill_BADPID = -1 ESRCH [OK]
  202. 10 sbrk = 0 [OK]
  203. 11 brk = 0 [OK]
  204. 12 chdir_root = 0 [OK]
  205. 13 chdir_dot = 0 [OK]
  206. 14 chdir_blah = -1 ENOENT [OK]
  207. 15 chmod_net = 0 [OK]
  208. 16 chmod_self = -1 EPERM [OK]
  209. 17 chown_self = -1 EPERM [OK]
  210. 18 chroot_root = 0 [OK]
  211. 19 chroot_blah = -1 ENOENT [OK]
  212. 20 chroot_exe = -1 ENOTDIR [OK]
  213. 21 close_m1 = -1 EBADF [OK]
  214. 22 close_dup = 0 [OK]
  215. 23 dup_0 = 3 [OK]
  216. 24 dup_m1 = -1 EBADF [OK]
  217. 25 dup2_0 = 100 [OK]
  218. 26 dup2_m1 = -1 EBADF [OK]
  219. 27 dup3_0 = 100 [OK]
  220. 28 dup3_m1 = -1 EBADF [OK]
  221. 29 execve_root = -1 EACCES [OK]
  222. 30 fork = 0 [OK]
  223. 31 getdents64_root = 120 [OK]
  224. 32 getdents64_null = -1 ENOTDIR [OK]
  225. 33 gettimeofday_null = 0 [OK]
  226. 35 gettimeofday_bad1 = -1 EFAULT [OK]
  227. 36 gettimeofday_bad2 = -1 EFAULT [OK]
  228. 38 getpagesize = 0 [OK]
  229. 39 ioctl_tiocinq = 0 [OK]
  230. 40 ioctl_tiocinq = 0 [OK]
  231. 41 link_root1 = -1 EEXIST [OK]
  232. 42 link_blah = -1 ENOENT [OK]
  233. 43 link_dir = -1 EPERM [OK]
  234. 44 link_cross = -1 EXDEV [OK]
  235. 45 lseek_m1 = -1 EBADF [OK]
  236. 46 lseek_0 = -1 ESPIPE [OK]
  237. 47 mkdir_root = -1 EEXIST [OK]
  238. 48 open_tty = 3 [OK]
  239. 49 open_blah = -1 ENOENT [OK]
  240. 50 poll_null = 0 [OK]
  241. 51 poll_stdout = 1 [OK]
  242. 52 poll_fault = -1 EFAULT [OK]
  243. 53 read_badf = -1 EBADF [OK]
  244. 54 sched_yield = 0 [OK]
  245. 55 select_null = 0 [OK]
  246. 56 select_stdout = 1 [OK]
  247. 57 select_fault = -1 EFAULT [OK]
  248. 58 stat_blah = -1 ENOENT [OK]
  249. 59 stat_fault = -1 EFAULT [OK]
  250. 60 symlink_root = -1 EEXIST [OK]
  251. 61 unlink_root = -1 EISDIR [OK]
  252. 62 unlink_blah = -1 ENOENT [OK]
  253. 63 wait_child = -1 ECHILD [OK]
  254. 64 waitpid_min = -1 ESRCH [OK]
  255. 65 waitpid_child = -1 ECHILD [OK]
  256. 66 write_badf = -1 EBADF [OK]
  257. 67 write_zero = 0 [OK]
  258. 68 syscall_noargs = 1 [OK]
  259. 69 syscall_args = -1 EFAULT [OK]
  260. Errors during this test: 0
  261.  
  262. Running test 'stdlib'
  263. 0 getenv_TERM = <linux> [OK]
  264. 1 getenv_blah = <(null)> [OK]
  265. 2 setcmp_blah_blah = 0 [OK]
  266. 3 setcmp_blah_blah2 = -50 [OK]
  267. 4 setncmp_blah_blah = 0 [OK]
  268. 5 setncmp_blah_blah4 = 0 [OK]
  269. 6 setncmp_blah_blah5 = -53 [OK]
  270. 7 setncmp_blah_blah6 = -54 [OK]
  271. 8 strchr_foobar_o = <oobar> [OK]
  272. 9 strchr_foobar_z = <(null)> [OK]
  273. 10 strrchr_foobar_o = <obar> [OK]
  274. 11 strrchr_foobar_z = <(null)> [OK]
  275. 12 memcmp_20_20 = 0 [OK]
  276. 13 memcmp_20_60 = -64 [OK]
  277. 14 memcmp_60_20 = 64 [OK]
  278. 15 memcmp_20_e0 = -192 [OK]
  279. 16 memcmp_e0_20 = 192 [OK]
  280. 17 memcmp_80_e0 = -96 [OK]
  281. 18 memcmp_e0_80 = 96 [OK]
  282. 19 limit_int8_max = 127 [OK]
  283. 20 limit_int8_min = -128 [OK]
  284. 21 limit_uint8_max = 255 [OK]
  285. 22 limit_int16_max = 32767 [OK]
  286. 23 limit_int16_min = -32768 [OK]
  287. 24 limit_uint16_max = 65535 [OK]
  288. 25 limit_int32_max = 2147483647 [OK]
  289. 26 limit_int32_min = -2147483648 [OK]
  290. 27 limit_uint32_max = 4294967295 [OK]
  291. 28 limit_int64_max = 9223372036854775807 [OK]
  292. 29 limit_int64_min = -9223372036854775808 [OK]
  293. 30 limit_uint64_max = -1 [OK]
  294. 31 limit_int_least8_max = 127 [OK]
  295. 32 limit_int_least8_min = -128 [OK]
  296. 33 limit_uint_least8_max = 255 [OK]
  297. 34 limit_int_least16_max = 32767 [OK]
  298. 35 limit_int_least16_min = -32768 [OK]
  299. 36 limit_uint_least16_max = 65535 [OK]
  300. 37 limit_int_least32_max = 2147483647 [OK]
  301. 38 limit_int_least32_min = -2147483648 [OK]
  302. 39 limit_uint_least32_max = 4294967295 [OK]
  303. 40 limit_int_least64_min = -9223372036854775808 [OK]
  304. 41 limit_int_least64_max = 9223372036854775807 [OK]
  305. 42 limit_uint_least64_max = -1 [OK]
  306. 43 limit_int_fast8_max = 127 [OK]
  307. 44 limit_int_fast8_min = -128 [OK]
  308. 45 limit_uint_fast8_max = 255 [OK]
  309. 46 limit_int_fast16_min = -2147483648 [OK]
  310. 47 limit_int_fast16_max = 2147483647 [OK]
  311. 48 limit_uint_fast16_max = 4294967295 [OK]
  312. 49 limit_int_fast32_min = -2147483648 [OK]
  313. 50 limit_int_fast32_max = 2147483647 [OK]
  314. 51 limit_uint_fast32_max = 4294967295 [OK]
  315. 52 limit_int_fast64_min = -2147483648 [OK]
  316. 53 limit_int_fast64_max = 2147483647 [OK]
  317. 54 limit_uint_fast64_max = 4294967295 [OK]
  318. 63 limit_intptr_min = -2147483648 [OK]
  319. 64 limit_intptr_max = 2147483647 [OK]
  320. 65 limit_uintptr_max = 4294967295 [OK]
  321. 66 limit_ptrdiff_min = -2147483648 [OK]
  322. 67 limit_ptrdiff_max = 2147483647 [OK]
  323. 68 limit_size_max = 4294967295 [OK]
  324. Errors during this test: 0
  325.  
  326. Running test 'vfprintf'
  327. 0 empty[ 1.535372] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=1 'init'
  328. "" = "" [OK]
  329. 1 simple "foo" = "foo" [OK]
  330. 2 string "foo" = "foo" [OK]
  331. 3 number "1234" = "1234" [OK]
  332. 4 negnumber "-1234" = "-1234" [OK]
  333. 5 unsigned "12345" = "12345" [OK]
  334. 6 char "c" = "c" [OK]
  335. 7 hex "f" = "f" [OK]
  336. 8 pointer "0x1" = "0x1" [OK]
  337. Errors during this test: 0
  338.  
  339. Running test 'protection'
  340. 0 -fstackprotector not supported [SKIPPED]
  341. Errors during this test: 0
  342.  
  343. Total number of errors: 0
  344. Leaving init with final status: 0
  345. [ 1.570901] reboot: Power down
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement