% cd '#ec'; for(i in *){echo $i '=' `{cat $i}} *acpi = 0x6fffd014 *bootscreen = 1376x768x32 x8r8g8b8 0x90000000 *e820 = 1 0000000000000000 0000000000008000 1 0000000000008000 000000000000c000 1 000000000000c000 0000000000058000 2 0000000000058000 0000000000059000 1 0000000000059000 000000000009e000 2 000000000009e000 00000000000a0000 1 0000000000100000 0000000053b4f000 2 0000000053b4f000 0000000053b8f000 1 0000000053b8f000 0000000056fa4000 2 0000000056fa4000 00000000571de000 4 00000000571de000 00000000571df000 2 00000000571df000 00000000571e0000 2 00000000571e0000 0000000058ace000 2 0000000058ace000 0000000058ae7000 2 0000000058ae7000 0000000058b3e000 2 0000000058b3e000 0000000058b3f000 1 0000000058b3f000 000000005e284000 2 000000005e284000 0000000060d4e000 1 0000000060d4e000 000000006e6eb000 2 000000006e6eb000 000000006ed4e000 2 000000006ed4e000 000000006f09e000 2 000000006f09e000 000000006f39e000 2 000000006f39e000 000000006f88e000 4 000000006f88e000 000000006ff7e000 3 000000006ff7e000 000000006fffe000 2 000000006fffe000 000000006ffff000 1 0000000100000000 0000000284000000 2 00000000000a0000 0000000000100000 2 000000006ffff000 0000000078000000 2 0000000078000000 000000007b000000 2 00000000e0000000 00000000f0000000 2 00000000fd000000 00000000fe800000 2 00000000fec00000 00000000fec01000 2 00000000fed00000 00000000fed01000 2 00000000fed10000 00000000fed1a000 2 00000000fed84000 00000000fed85000 2 00000000fee00000 00000000fee01000 2 00000000ffa00000 0000000100000000 bootargs = local!/dev/sdE1/fsmain bootfile = 9pc64 monitor = cga mouseport = ps2 vgasize = 1366x768x32 % cat '#'P/archctl cpu Celeron 2719 pge pge on coherence mfence cmpswap cmpswap486 arch ACPI cache 0x0000000000000000 655360 wb cache 0x00000000000a0000 131072 uc cache 0x00000000000c0000 262144 wp cache 0x0000000000100000 2020605952 wb cache 0x0000000078800000 2273312768 uc cache 0x0000000100000000 545460846592 wb % cat '#'P/irqalloc 1 -1 debugexc 2 -1 nmi 3 -1 debugpt 7 -1 mathemu 8 -1 doublefault 9 -1 mathover 14 -1 faultamd64 15 -1 unexpected 16 -1 matherror 19 -1 simderror 50 18 clock 51 19 lapicerror 63 31 lapicspurious 65 -1 ether1 73 1 kbd 81 -1 hda 89 -1 xhci 97 -1 ether0 105 -1 sdE (ahci) 113 12 kbdaux % cat '#'P/ioalloc 20 21 i8259.0 60 60 i8042.data 62 62 ec.data 64 64 i8042.cs 66 66 ec.sc 70 71 rtc/nvr a0 a1 i8259.1 2b0 2df vga 3c0 3da vga cf8 cfb pcicfg.addr cfc cff pcicfg.data fff fff dummy 3000 30ff rtl8169 4000 40ff PCI.1.0.0 5000 503f PCI.0.2.0 5040 505f PCI.0.31.4 5060 507f PCI.0.23.0 5080 5087 PCI.0.23.0 5088 508b PCI.0.23.0 % cat '#'c/config # pc64 - amd64 pc terminal with local disk dev root cons swap arch pnp pci env pipe proc mnt srv shr dup rtc tls cap kprof fs ether netif bridge log ip arp chandial ip ipv6 ipaux iproute netlog nullmedium pktmedium inferno draw screen vga vgax vgasoft mouse mouse kbd vga pci sd # floppy dma aoe # lpt audio dma # pccard # i82365 cis uart usb segment vmx dtracy link # devpccard pci # devi82365 cputemp pci # ether2000 ether8390 ether2114x pci # ether589 etherelnk3 ether79c970 pci # ether8003 ether8390 ether8139 pci ether8169 pci ethermii # should be obsoleted by igbe # ether82543gc pci # ether82557 pci ether82563 pci ether82598 pci etherx550 pci # ether83815 pci etherbcm pci # etherdp83820 pci ethermii # etherec2t ether8390 # etherelnk3 pci # etherga620 pci etherigbe pci ethermii # ethervgbe pci ethermii # ethervt6102 pci ethermii # ethervt6105m pci ethermii ethersink # ethersmc devi82365 cis etheryuk pci # etherwavelan wavelan devi82365 cis pci etheriwl pci wifi etherwpi pci wifi etherrt2860 pci wifi ethervirtio pci ethervirtio10 pci ethermedium loopbackmedium netdevmedium # pcmciamodem usbuhci pci usbohci pci usbehci pci usbehcipc usbxhcipci pci usbxhci # audiosb16 dma # audioac97 pci audioac97mix audiohda pci pmmc pci misc pci pcipc archgeneric devkbd i8259 i8253 archacpi mp apic squidboy ec hpet archmp mp apic squidboy mtrr sdaoe sdide pci sdscsi sd53c8xx pci sdscsi # sdmylex pci sdscsi sdiahci pci sdscsi led # sdodin pci sdscsi led sdvirtio pci sdscsi sdvirtio10 pci sdscsi sdmmc pci pmmc sdnvme pci sdloop sdram uarti8250 uartisa uartpci pci vgasoft =cur swcursor # vga3dfx +cur # vgaark2000pv +cur # vgabt485 =cur # vgaclgd542x +cur # vgaclgd546x +cur # vgact65545 +cur # vgacyber938x +cur # vgaet4000 +cur # vgageode +cur # vgahiqvideo +cur # vgai81x +cur vgaigfx +cur # vgamach64xx +cur # vgamga2164w +cur # vgamga4xx +cur # vganeomagic +cur # vganvidia +cur vgaradeon +cur # vgargb524 =cur # vgas3 +cur vgasavage # vgat2r4 +cur # vgatvp3020 =cur # vgatvp3026 =cur vgavesa # vgavmware +cur dtracysys dtracytimer dtracydev ip tcp udp rudp ipifc icmp icmp6 igmp gre ipmux esp il port int cpuserver = 0; bootdir /$objtype/bin/paqfs /$objtype/bin/auth/factotum bootfs.paq boot % cat '#'c/sysstat 0 19917 64166 68257 32526 0 0 15 100 0 1 11854 39181 25216 23500 0 0 0 100 0 2 20247 46773 75376 33941 0 0 0 100 0 3 12516 42069 23528 26968 0 0 0 99 0 % cat '#'¶/swap 8282259456 memory 4096 pagesize 524288 kernel 7336/1536000 user 0/320000 swap 1428/1536000 reclaim 6981392/7338400/2146257280 kernel malloc 8558048/17045408/1931631552 kernel draw 192/65568/16777216 kernel secret % awk /^Plan 9/{p=1} /^init: starting/{exit} {if(p)print} '#'c/kmesg Plan 9 HPET: fed00000 8086a701 24 MHz 121 holes free 0x00024000 0x00058000 212992 0x00059000 0x0009e000 282624 0x00100000 0x00110000 65536 0x0063b000 0x53b4f000 1397833728 0x53b8f000 0x56fa4000 54611968 0x58b3f000 0x5e284000 91508736 0x60d4e000 0x6e6eb000 228184064 1772699648 bytes free cpu0: 2719MHz GenuineIntel Celeron (AX 000806E9 CX 77FAFBBF DX BFEBFBFF) LAPIC: fee00000 0xfffffe80fee00000 ec: cmd 66, data 62 ec: cmd 66, data 62 ioalloc: 66 - 66 ec.sc: clashes with: 66 - 66 ec.sc ec: cant allocate cmd port 66 ELCR: 0000 cpu0: lapic clock at 24MHz cpu2: 2719MHz GenuineIntel Celeron (AX 000806E9 CX 77FAFBBF DX BFEBFBFF) cpu1: 2719MHz GenuineIntel Celeron (AX 000806E9 CX 77FAFBBF DX BFEBFBFF) cpu3: 2719MHz GenuineIntel Celeron (AX 000806E9 CX 77FAFBBF DX BFEBFBFF) #l0: rtl8169: 100Mbps port 0x3000 irq 255 ea 48ba4eb16211 #l1: iwl: 54Mbps port 0xA1000000 irq 255 ea 000000000000 #S/sdE: ahci: sata-II with 3 ports #A0: hda mem a1328000 irq 255 #A0: codec #0, vendor 10ec0282, rev 00100003 #A0: codec #2, vendor 8086280b, rev 00100000 usbxhci: 0x8086 0x9d2f: port a1310000 size 65536 irq 255 7696M memory: 1696M kernel data, 6000M user, 7250M swap bootfs: Tue Oct 3 07:42:36 GMT 2023 fingerprint: bc048103eab7e469bed72150d9b53db5e40d049f #l0: rtl8169: oui 0x732 phyno 1, macv = 0x54000000 phyv = 0x0000 #l1: firmware: iwm-3168-29, rev 1d, build 198743027, size [4] 18000+30000 + [4] 18000+30000 + 0 #l1: init firmware boot failed sdE0: LLBA 468,862,128 sectors APS-SL3N-240 SBFM61.3 TG30CU4695WL [newdrive] sdE1: LLBA 976,773,168 sectors WDC WD5000LPVX-60V0TT0 01.01A01 WD-WX2D-WX21E54XN609 [newdrive] /dev/sdE0: APS-SL3N-240 /dev/sdE0/data /dev/sdE0/dos /dev/sdE0/esp dos /dev/sdE0/linuxdata /dev/sdE0/msr /dev/sdE1: WDC WD5000LPVX-60V0TT0 /dev/sdE1/9fat dos /dev/sdE1/bios /dev/sdE1/data /dev/sdE1/esp dos /dev/sdE1/fsmain cwfs64x /dev/sdE1/linuxdata /dev/sdE1/linuxdata1 /dev/sdE1/linuxswap /dev/sdE1/nvram /dev/sdE1/plan9 /dev/sdE2: /dev/sdU78260: Generic Flash Disk 8.07 /dev/sdU78260/data /dev/sdU78260/linux bootargs is (tcp, tls, il, local!device)[local!/dev/sdE1/fsmain] user[glenda]: current fs is "main" 10 uids read, 3 groups used 63-bit cwfs as of Tue Oct 3 11:11:08 2023 last boot Tue Oct 3 11:44:07 2023 % pci -v 0.0.0: brg 06.00.00 8086/5904 0 Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers 0.2.0: vid 03.00.00 8086/5916 255 0:a0000004 16777216 2:9000000c 268435456 4:00005001 64 Intel Corporation HD Graphics 620 0.4.0: sigl 11.80.00 8086/1903 255 0:a1320004 32768 Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem 0.8.0: base 08.80.00 8086/1911 255 0:a1332004 4096 Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model 0.20.0: usb 0c.03.30 8086/9d2f 255 0:a1310004 65536 Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller 0.20.2: sigl 11.80.00 8086/9d31 255 0:a1333004 4096 Intel Corporation Sunrise Point-LP Thermal subsystem 0.22.0: ser 07.80.00 8086/9d3a 255 0:a1334004 4096 Intel Corporation Sunrise Point-LP CSME HECI #1 0.23.0: disk 01.06.01 8086/9d03 255 0:a1330000 8192 1:a1337000 256 2:00005081 8 3:00005089 4 4:00005061 32 5:a1335000 2048 Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] 0.28.0: brg 06.04.00 8086/9d10 255 Intel Corporation Sunrise Point-LP PCI Express Root Port #1 0.28.4: brg 06.04.00 8086/9d14 255 Intel Corporation Sunrise Point-LP PCI Express Root Port #5 0.28.5: brg 06.04.00 8086/9d15 255 Intel Corporation Sunrise Point-LP PCI Express Root Port #6 0.31.0: brg 06.01.00 8086/9d4e 0 Intel Corporation Sunrise Point LPC Controller/eSPI Controller 0.31.2: mem 05.80.00 8086/9d21 0 Intel Corporation Sunrise Point-LP PMC 0.31.3: aud 04.03.00 8086/9d71 255 0:a1328004 16384 4:a1300004 65536 Intel Corporation Sunrise Point-LP HD Audio 0.31.4: smb 0c.05.00 8086/9d23 255 0:a1336004 256 4:00005041 32 Intel Corporation Sunrise Point-LP SMBus 1.0.0: vid 03.80.00 1002/6660 255 0:8000000c 268435456 2:a1200004 262144 4:00004001 256 Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / Radeon 520 Mobile] 2.0.0: net 02.00.00 10ec/8168 255 0:00003001 256 2:a1104004 4096 4:a1100004 16384 Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller 3.0.0: net 02.80.00 8086/24fb 255 0:a1000004 8192 Intel Corporation Dual Band Wireless-AC 3168NGW [Stone Peak] % aux/cpuid vendor GenuineIntel procmodel 000806e9 / 02100800 typefammod 0 06 086 9 features fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat features pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe features pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 features x2apic movbe popcnt tscdeadline aes xsave osxsave avx f16c rdrnd features fsgsbase sgx bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intelpt features xsaveopt xsavec xgetbv1 xsaves extmodel 00000000 / 00000000 extfeatures syscall nx pg1g tscp lm extfeatures ahf64 lzcnt 3dnow!p procname Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz physbits 39 virtbits 48 % aux/icanhasmsi 0.2.0 0.4.0 0.8.0 0.20.0 0.20.2 0.22.0 0.23.0 0.28.0 0.28.4 0.28.5 0.31.3 1.0.0 2.0.0 3.0.0 % aux/icanhasvmx -v vmcsrev 0x4 vmxonsz 1024 vmcsmem 6 extcontrols 1 pin extirq nmiexit virtnmi preempt proc irqwin tscoffset hltexit invlpgexit mwaitexit rdpmcexit rdtscexit cr3ldexit proc cr3stexit cr8ldexit cr8stexit tprshadow nmiwin movdrexit ioexit iobitmap mtf proc msrbitmap monitorexit pauseexit proc2 virtapic ept gdtexit rdtscp virtx2apic vpid wbinvdexit unrestr pauseloopexit proc2 rdrandexit invpcid vmfunc enclsexit rdseedexit pml #ve conceal xsave eptxmode entry loaddebug guest64 entrysmm dualmonitor loadperfglobal loadpat loadefer loadbndcfgs entry concealentries exit savedebug host64 saveperfglobal ackextirq !savepat !loadpat saveefer loadefer exit savepreempt savebndcfgs concealexits misc preemptdiv:7 cr3targ:4 maxmsr:0 mseg:0x0 misc longmodeswitch hlt shutdown ipi pt rdmsrsmm smmblock vmwriteany zerolenswirq cr0fixed pe ne pg cr4fixed !umip vmxe !smxe !pke vmcsenum 0x2e ept xonly pwl4 ucmem wbmem 2MBpage 1GBpage invept dirtybits violexitinfo invept.single ept invept.all vpid invvpid invvpid.addr invvpid.single invvpid.all invvpid.noglob % aux/pcmcia pcmcia: opening #y/pcm0attr: unknown device in # filename % usbtree ep1.0: roothub csp 0x000009 ports 12 xhci port1: ep3.0: storage csp 0x500608 vid 0x058f did 0x6387 Generic 'Mass Storage' 78260 xhci port3: ep4.0: hid csp 0x020103 vid 0x24ae did 0x2013 RAPOO 'Rapoo 2.4G Wireless Device' e1b4a xhci port4: ep5.0: 224 csp 0x0101e0 vid 0x8087 did 0x0aa7 none 024a6 xhci ep2.0: roothub csp 0x000009 ports 6 xhci % cat '#'S/sdctl sdE ahci ahci port 0xfffffe80a1335000: 64a ncq mps alp led clo am pmb slum pslum apts iss 3 ncs 31 np 3 ghc 80000002 isr 0 pi 7 0-2 ver 10301 sdZ ram 4 units % cat '#'S/sdE0/ctl inquiry APS-SL3N-240 model APS-SL3N-240 serial TG30CU4695WL firm SBFM61.3 flag lba llba smart nop ata8 udma 6 reg task 50 cmd c017 serr 0 ci 0 is 0 sig 101 sstatus 133 cmd cr fr pod sud st mode auto sataiii geometry 468862128 512 alignment 512 0 missirq 0 part data 0 468862128 part msr 2048 34816 part dos 34816 334585856 part linuxdata 335110144 464697344 part esp 464697344 468860928 % cat '#'S/sdE1/ctl inquiry WDC WD5000LPVX-60V0TT0 model WDC WD5000LPVX-60V0TT0 serial WD-WX2D-WX21E54XN609 firm 01.01A01 wwn 50014ee604c9c628 flag lba llba smart power nop ata8 sct udma 6 reg task 50 cmd cc017 serr 0 ci 0 is 0 sig 101 sstatus 133 cmd mpsp hpcp cr fr pod sud st mode auto sataiii geometry 976773168 512 alignment 4096 0 missirq 0 part data 0 976773168 part linuxdata 2048 616448 part bios 616448 632832 part linuxswap 632832 17410048 part linuxdata1 17410048 943218688 part esp 943218688 944345088 part plan9 944345088 976773135 part 9fat 944345088 944549888 part nvram 944549888 944549896 part fsmain 944549896 976773135 % cat '#'S/sdE2/ctl inquiry no disk present [null] reg task 7f cmd 4016 serr 0 ci 0 is 0 sig ffffffff sstatus 004 cmd fr pod sud mode auto sataiii geometry 0 0 alignment 0 0 missirq 0 % cat '#'l0/ether0/addr 48ba4eb16211 % cat '#'l0/ether0/stats in: 29 link: 1 out: 9 crc errs: 0 overflows: 0 soft overflows: 0 framing errs: 0 buffer errs: 0 output errs: 0 prom: 0 mbps: 100 addr: 48ba4eb16211 % cat '#'l0/ether0/ifstats TxOk: 11 RxOk: 31 TxEr: 0 RxEr: 0 MissPkt: 0 FAE: 0 Tx1Col: 0 TxMCol: 0 RxOkPh: 2 RxOkBrd: 1 RxOkMu: 28 TxAbt: 0 TxUndrn: 0 serr: 0 fovw: 0 txdu: 0 tcpf: 0 udpf: 2 ipf: 0 fovf: 0 rer: 0 rdu: 0 punlc: 2 tcr: 0x57100f00 rcr: 0x0000870e multicast: 26 phy: 1040 79ad 001c c800 01e1 c1e1 006d 2801 6001 0200 0000 0000 0000 0000 0000 2000 0000 0000 0000 0000 0000 0000 0000 0000 319e 0040 101c 808c 5b08 0000 0000 0000 % cat '#'v/vgactl type cga size 1376x768x32 x8r8g8b8 tilt none hwgc soft hwaccel off hwblank off addr p 0x90000000 v 0xfffffe8090000000 size 0x4000000 softscreen on @{rfork n; aux/realemu; aux/vga -p} bad opcode 000802 00004f00 00000000 00000000 00008000 00009000 00000000 00000000 00007bfc 0000 0000 0000 0000 csZoPdi 1001 da BAD aux/vga: write /dev/realmode: bad opcode % xd -x1 '#'r/nvram 0000000 33 19 19 48 08 04 03 03 10 23 26 02 50 80 80 00 0000010 00 7f fa f7 0e 80 02 00 fc df ff ff ff fb ff ff 0000020 ff ff ff ff ff fe ff f7 ff ff ff ff ff ff 18 ba 0000030 00 fc 20 00 ff 07 00 17 00 00 00 00 00 00 00 00 0000040 30 07 00 00 07 00 01 01 00 00 00 00 00 00 09 01 0000050 ff ff ff ff ff b7 ff f7 ff ff fd ff ff 07 00 14 0000060 ff ff ff df ff ef ff ff ff ff ff ff 00 00 00 00 0000070 fb fb fb fb 00 00 a6 00 00 00 00 00 00 00 00 00 0000080 33 19 19 48 08 04 03 03 10 23 26 02 40 80 80 00 0000090 00 7f fa f7 0e 80 02 00 fc df ff ff ff fb ff ff 00000a0 ff ff ff ff ff fe ff f7 ff ff ff ff ff ff 18 ba 00000b0 00 fc 20 00 ff 07 00 17 00 00 00 00 00 00 00 00 00000c0 30 07 00 00 07 00 01 01 00 00 00 00 00 00 09 01 00000d0 ff ff ff ff ff b7 ff f7 ff ff fd ff ff 07 00 14 00000e0 ff ff ff df ff ef ff ff ff ff ff ff 00 00 00 00 00000f0 fb fb fb fb 00 00 a6 00 00 00 00 00 00 00 00 00 0000100 0000100 % cat '#'A/audiostat bufsize 1024 buffered 0 codec 0 pin 20 inpin 29 aout 2 41d aout 3 41d beep 4 f00000 beep 5 f00000 aout 6 611 beep 7 f00000 ain 8 10051b ← amix 35 ain 9 10051b ← amix 34 beep 10 f00000 amix 11 20010b ← pin 24, pin 25, pin 26, pin 27, pin 29 amix 12 20010b ← aout 2, amix 11 amix 13 20010b ← aout 3, amix 11 beep 14 f00000 amix 15 20010a ← amix 13 beep 16 f00000 ain 17 10051b ← pin 18 pin 18 in nothing ext rear speaker black beep 19 f00000 pin 20 out fix int N/A speaker ? eapd ← amix 12 beep 21 f00000 beep 22 f00000 pin 23 out nothing ext N/A lineout ? ← amix 15 pin 24 in nothing ext rear speaker black pin 25 in nothing ext rear speaker black pin 26 in nothing ext rear speaker black pin 27 inout nothing ext rear speaker black ← amix 12, amix 13 beep 28 f00000 pin 29 in nothing ext N/A other ? pin 30 out nothing ext rear speaker black ← aout 6 beep 31 f00000 beep 32 f00040 pin 33 out jack ext left hpout black ← amix 12, amix 13 amix 34 20010b ← pin 24, pin 25, pin 26, pin 27, pin 29, amix 11 amix 35 20010b ← pin 24, pin 25, pin 26, pin 27, pin 29, amix 11 codec 2 pin 20 inpin 29 aout 2 6611 pin 3 out jack int special digiout ? hdmi ← aout 2 outpath aout 2 → amix 12 → pin 20 outamp aout 2 inpath pin 29 → amix 35 → ain 8 inamp ain 8 % cat '#'A/volume master 100 100 recgain 0 0 speed 44100 delay 1764 % cat /mnt/apm/ctl cat: can't open /mnt/apm/ctl: file does not exist: '/mnt/apm/ctl'