% cd '#ec'; for(i in *){echo $i '=' `{cat $i}} *acpi = 0x9cdfd014 *bootscreen = 1920x1080x32 x8r8g8b8 0xc0000000 *e820 = 1 0000000000000000 0000000000008000 1 0000000000008000 000000000000c000 1 000000000000c000 0000000000058000 2 0000000000058000 0000000000059000 1 0000000000059000 000000000009c000 2 000000000009c000 000000000009d000 1 000000000009d000 000000000009e000 2 000000000009e000 00000000000a0000 1 0000000000100000 0000000010000000 1 0000000010000000 000000001000b000 1 000000001000b000 000000008f953000 1 000000008f953000 000000008f973000 1 000000008f973000 000000009130b000 1 000000009130b000 0000000092943000 1 0000000092943000 000000009352f000 1 000000009352f000 0000000094643000 1 0000000094643000 0000000094644000 1 0000000094644000 0000000094645000 1 0000000094645000 0000000094646000 1 0000000094646000 0000000094f60000 1 0000000094f60000 0000000095154000 1 0000000095154000 00000000955f9000 1 00000000955f9000 000000009560f000 1 000000009560f000 000000009561d000 1 000000009561d000 00000000956c3000 1 00000000956c3000 0000000096729000 1 0000000096729000 000000009673e000 1 000000009673e000 0000000097dd3000 1 0000000097dd3000 000000009b789000 1 000000009b789000 000000009bdd3000 1 000000009bdd3000 000000009bfd3000 1 000000009bfd3000 000000009c27a000 2 000000009c27a000 000000009cbfe000 4 000000009cbfe000 000000009cd7e000 3 000000009cd7e000 000000009cdfe000 1 000000009cdfe000 000000009cdff000 1 0000000100000000 000000035e000000 2 00000000f80f8000 00000000f80f9000 2 00000000fed1c000 00000000fed20000 bootargs = local!/dev/sdE1/fs -m 1024 bootfile = 9pc64 monitor = vesa mouseport = ps2 nobootprompt = local!/dev/sdE1/fs -m 1024 user = glenda vgasize = 1920x1080x16 % cat '#'P/archctl cpu P6 2295 pge pge on coherence mfence cmpswap cmpswap486 arch ACPI cache 0x0000000000000000 655360 wb cache 0x00000000000a0000 131072 uc cache 0x00000000000c0000 262144 wp cache 0x0000000000100000 2630873088 wb cache 0x000000009cdff000 1663045632 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 ether0 73 1 kbd 81 -1 hda 89 -1 ehci 97 -1 xhci 105 -1 sdE (ahci) 113 12 kbdaux % cat '#'P/ioalloc 20 21 i8259.0 40 43 i8253 60 60 i8042.data 61 61 i8253.cntr2c 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 303f PCI.0.2.0 3060 307f PCI.0.31.2 3080 3087 PCI.0.31.2 3088 308f PCI.0.31.2 3090 3093 PCI.0.31.2 3094 3097 PCI.0.31.2 efa0 efbf PCI.0.31.3 % 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 ssl tls cap kprof fs ether netif bridge netif log ip arp chandial ip ipv6 ipaux iproute netlog ethermedium 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 ethermedium # pcmciamodem netdevmedium loopbackmedium usbuhci pci usbohci pci usbehci pci usbehcipc usbxhci pci # audiosb16 dma # audioac97 pci audioac97mix audiohda pci misc pci pcipc archgeneric devkbd i8259 i8253 archacpi mp apic squidboy ec 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 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 ip tcp udp rudp ipifc icmp icmp6 gre ipmux esp il port int cpuserver = 0; bootdir /$objtype/bin/paqfs /$objtype/bin/auth/factotum bootfs.paq boot % cat '#'c/sysstat 0 21370 68152 19629 205031 0 0 23 98 0 1 48620 45549 44847 276417 0 0 0 98 0 2 22387 43185 44230 12034 0 0 0 99 0 3 20494 59855 21457 13542 0 0 0 98 0 % cat '#'¶/swap 12780208128 memory 4096 pagesize 524288 kernel 263521/2510971 user 0/160000 swap 1171/2510971 reclaim 10243880/10438912/2139377280 kernel malloc 16835192/25681152/1925439552 kernel draw 2112/65568/16777216 kernel secret % awk /^Plan 9/{p=1} /^init: starting/{exit} {if(p)print} '#'c/kmesg Plan 9 123 holes free 0x00024000 0x00058000 212992 0x00059000 0x0009c000 274432 0x0009d000 0x0009e000 4096 0x00100000 0x00110000 65536 0x006db000 0x7ffff000 2140291072 2140848128 bytes free cpu0: 2295MHz GenuineIntel P6 (AX 000306D4 CX 77FAFBFF DX BFEBFBFF) LAPIC: fee00000 0xffffff00fee00000 ec: cmd 66, data 62 ELCR: 0000 cpu0: lapic clock at 100MHz cpu1: 2295MHz GenuineIntel P6 (AX 000306D4 CX 77FAFBFF DX BFEBFBFF) cpu2: 2295MHz GenuineIntel P6 (AX 000306D4 CX 77FAFBFF DX BFEBFBFF) cpu3: 2295MHz GenuineIntel P6 (AX 000306D4 CX 77FAFBFF DX BFEBFBFF) pcienable PCI.0.28.1: pcr 3->7 #l0: iwl: 54Mbps port 0xE1000000 irq 255 ea 000000000000 #S/sdE: ahci: sata-II with 2 ports #A0: hda mem e1214000 irq 255 #A0: waitup timeout for reg=4c, mask=2, set=2 #A0: waitup timeout for reg=5c, mask=2, set=2 #A0: codec #0, vendor 10ec0292, rev 00100001 usbehci: 0x8086 0x9ca6: port e121d000 size 1024 irq 255 usbxhci: 0x8086 0x9cb1: port e1200000 size 65536 irq 255 12194M memory: 2386M kernel data, 9808M user, 10433M swap #l0: firmware: iwm-8265-34, rev 22, build 0, size [12] 2b8+18000 + [13] 2c8+18000 + 0 sdE0: LLBA 976,773,168 sectors Samsung SSD 850 EVO 500GB EMT03B6Q S3PTNF0JB01525X [newdrive] sdE1: LLBA 234,441,648 sectors SB2 SBFM61.3 DA500792146A00008718 [newdrive] hjfs: fs is /dev/sdE1/fs % pci -v 0.0.0: brg 06.00.00 8086/1604 0 Intel Corporation Broadwell-U Host Bridge -OPI 0.2.0: vid 03.00.00 8086/1616 255 0:e0000004 16777216 2:c000000c 536870912 4:00003001 64 Intel Corporation HD Graphics 5500 0.3.0: aud 04.03.00 8086/160c 255 0:e1210004 16384 Intel Corporation Broadwell-U Audio Controller 0.20.0: usb 0c.03.30 8086/9cb1 255 0:e1200004 65536 Intel Corporation Wildcat Point-LP USB xHCI Controller 0.22.0: ser 07.80.00 8086/9cba 255 0:e1219004 32 Intel Corporation Wildcat Point-LP MEI Controller #1 0.27.0: aud 04.03.00 8086/9ca0 255 0:e1214004 16384 Intel Corporation Wildcat Point-LP High Definition Audio Controller 0.28.0: brg 06.04.00 8086/9c9a 255 Intel Corporation Wildcat Point-LP PCI Express Root Port #6 0.28.1: brg 06.04.00 8086/9c94 255 Intel Corporation Wildcat Point-LP PCI Express Root Port #3 0.29.0: usb 0c.03.20 8086/9ca6 255 0:e121d000 1024 Intel Corporation Wildcat Point-LP USB EHCI Controller 0.31.0: brg 06.01.00 8086/9cc3 0 Intel Corporation Wildcat Point-LP LPC Controller 0.31.2: disk 01.06.01 8086/9c83 255 0:00003089 8 1:00003095 4 2:00003081 8 3:00003091 4 4:00003061 32 5:e121c000 2048 Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] 0.31.3: smb 0c.05.00 8086/9ca2 255 0:e1218004 256 4:0000efa1 32 Intel Corporation Wildcat Point-LP SMBus Controller 0.31.6: sigl 11.80.00 8086/9ca4 255 0:e121b004 4096 Intel Corporation Wildcat Point-LP Thermal Management Controller 2.0.0: --- ff.00.00 10ec/5227 255 Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader 3.0.0: net 02.80.00 8086/24fd 255 0:e1000004 8192 Intel Corporation Wireless 8265 / 8275 % aux/cpuid vendor GenuineIntel procmodel 000306d4 / 00100800 typefammod 0 06 036 4 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 smx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 features sse4_2 x2apic movbe popcnt tscdeadline aes xsave osxsave avx f16c rdrnd features fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap intelpt features xsaveopt extmodel 00000000 / 00000000 extfeatures syscall nx pg1g tscp lm extfeatures ahf64 lzcnt 3dnow!p procname Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz physbits 39 virtbits 48 % aux/icanhasmsi 0.2.0 0.3.0 0.20.0 0.22.0 0.27.0 0.28.0 0.28.1 0.31.2 0.31.6 2.0.0 3.0.0 % aux/icanhasvmx -v vmcsrev 0x12 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 vmcsshadow rdseedexit #ve entry loaddebug guest64 entrysmm dualmonitor loadperfglobal loadpat loadefer exit savedebug host64 saveperfglobal ackextirq !savepat !loadpat saveefer loadefer exit savepreempt misc preemptdiv:5 cr3targ:4 maxmsr:0 mseg:0x0 misc longmodeswitch hlt shutdown ipi rdmsrsmm smmblock vmwriteany cr0fixed pe ne pg cr4fixed !umip vmxe !pke vmcsenum 0x2a ept xonly pwl4 ucmem wbmem 2MBpage 1GBpage invept dirtybits invept.single invept.all vpid invvpid invvpid.addr invvpid.single invvpid.all invvpid.noglob % aux/pcmcia pcmcia: opening #y/pcm0attr: unknown device in # filename % cat '#'u/usb/ctl ep1.0 enabled control rw speed high maxpkt 64 ntds 1 pollival 0 samplesz 0 hz 0 uframes 0 hub 0 port 0 rootport 0 addr 0 busy roothub csp 0x000009 ports 3 ehci ep2.0 enabled control rw speed high maxpkt 64 ntds 1 pollival 0 samplesz 0 hz 0 uframes 0 hub 0 port 0 rootport 0 addr 0 busy roothub csp 0x000009 ports 11 xhci ep3.0 enabled control rw speed super maxpkt 512 ntds 1 pollival 0 samplesz 0 hz 0 uframes 0 hub 0 port 0 rootport 0 addr 0 busy roothub csp 0x000009 ports 4 xhci ep4.0 enabled control rw speed high maxpkt 64 ntds 1 pollival 0 samplesz 0 hz 0 uframes 0 hub 0 port 1 rootport 1 addr 4 busy hub csp 0x010009 ports 8 none ehci ep5.0 enabled control rw speed full maxpkt 8 ntds 1 pollival 0 samplesz 0 hz 0 uframes 0 hub 4 port 6 rootport 1 addr 5 idle 255 csp 0xff11ff vid 0x138a did 0x0017 none 8d214 ehci ep5.1 enabled bulk rw speed full maxpkt 64 ntds 1 pollival 0 samplesz 0 hz 0 uframes 0 hub 4 port 6 rootport 1 addr 5 idle ep5.2 enabled bulk r speed full maxpkt 64 ntds 1 pollival 0 samplesz 0 hz 0 uframes 0 hub 4 port 6 rootport 1 addr 5 idle ep5.3 enabled interrupt r speed full maxpkt 8 ntds 1 pollival 4 samplesz 0 hz 0 uframes 0 hub 4 port 6 rootport 1 addr 5 idle ep6.0 enabled control rw speed high maxpkt 64 ntds 1 pollival 0 samplesz 0 hz 0 uframes 0 hub 4 port 8 rootport 1 addr 6 idle 239 csp 0x0102ef vid 0x04f2 did 0xb449 'Chicony Electronics Co.,Ltd.' 'Integrated Camera' 8a739 ehci ep6.1 enabled iso r speed high maxpkt 1024 ntds 3 pollival 10 samplesz 1 hz 0 uframes 0 hub 4 port 8 rootport 1 addr 6 idle ep6.3 enabled interrupt r speed high maxpkt 16 ntds 1 pollival 32 samplesz 0 hz 0 uframes 0 hub 4 port 8 rootport 1 addr 6 idle % cat '#'S/sdctl sdE ahci ahci port 0xffffff00e121c000: 64a ncq alp led clo am pmb slum pslum apts iss 3 ncs 31 np 3 ghc 80000002 isr 0 pi 3 0-1 ver 10300 sdZ ram 4 units % cat '#'S/sdE0/ctl inquiry Samsung SSD 850 EVO 500GB model Samsung SSD 850 EVO 500GB serial S3PTNF0JB01525X firm EMT03B6Q wwn 5002538d4267d6d2 flag lba llba smart nop ata8 sct 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 976773168 512 alignment 512 0 missirq 0 part data 0 976773168 part esp 2048 206848 part linuxdata 206848 2304000 part esp1 2304000 3328000 part linuxdata1 3328000 972578816 part linuxswap 972578816 976773135 % cat '#'S/sdE1/ctl inquiry SB2 model SB2 serial DA500792146A00008718 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 234441648 512 alignment 512 0 missirq 0 part data 0 234441648 part esp 34 1126434 part plan9 1126434 234441615 part 9fat 1126434 1331234 part nvram 1331234 1331235 part fs 1331235 234441615 % cat '#'l0/ether0/addr 0028f82e9ac8 % cat '#'l0/ether0/stats in: 62 link: 1 out: 8 crc errs: 0 overflows: 0 soft overflows: 0 framing errs: 0 buffer errs: 0 output errs: 0 prom: 0 mbps: 9 addr: 0028f82e9ac8 % cat '#'l0/ether0/ifstats essid: subspace bssid: 0462736a42b0 status: associated channel: 11 rxkey1: ccmp:[16] rxkey4: ccmp:[16] txkey0: ccmp:[16] brsne: 30140100000FAC040100000FAC040100000FAC023C00 node: 0462736a42b0 0431 0 11 subspace node: 00351a76b470 0431 138770 01 subspace % cat '#'v/vgactl type cga size 1920x1080x32 x8r8g8b8 hwgc soft hwaccel off hwblank off panning off addr p 0xc0000000 v 0xffffff00c0000000 size 0x4000000 softscreen on @{rfork n; aux/realemu; aux/vga -p} bad opcode 000912 00004f00 00000000 00000000 00000000 00009000 00000000 00000000 00007bfa 0000 0000 0000 0000 cszopdi 1289 63 ARPL [BX+SI], SI aux/vga: write /dev/realmode: bad opcode % xd -x1 '#'r/nvram 0000000 50 12 34 36 20 07 05 17 12 20 26 02 50 80 00 00 0000010 00 ff 00 ff 0e 80 02 00 3c 00 00 ff ff ff 00 ff 0000020 ff ff ff ff ff ff ff ff 00 00 00 00 00 00 0e be 0000030 00 3c 20 00 00 ff 00 00 00 00 00 00 00 00 00 00 0000040 81 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0000060 00 00 00 00 00 00 00 00 00 00 00 30 00 00 00 00 0000070 00 00 00 00 00 00 00 00 00 5a 00 00 49 53 b2 00 0000080 50 12 34 36 20 07 05 17 12 20 26 02 00 80 00 00 0000090 00 ff 00 ff 0e 80 02 00 3c 00 00 ff ff ff 00 ff 00000a0 ff ff ff ff ff ff ff ff 00 00 00 00 00 00 0e be 00000b0 00 3c 20 00 00 ff 00 00 00 00 00 00 00 00 00 00 00000c0 81 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00000e0 00 00 00 00 00 00 00 00 00 00 00 30 00 00 00 00 00000f0 00 00 00 00 00 00 00 00 00 5a 00 00 49 53 b2 00 0000100 0000100 % cat '#'A/audiostat bufsize 1024 buffered 0 codec 0 pin 20 inpin 18 aout 2 41d aout 3 41d beep 4 f00000 beep 5 f00000 aout 6 611 beep 7 f00000 ain 8 10051b ← asel 35 ain 9 10051b ← asel 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 ← aout 2, aout 3 beep 16 f00000 beep 17 f00000 pin 18 in fix int N/A micin ? pin 19 in nothing ext N/A lineout ? pin 20 out fix int N/A speaker ? eapd ← amix 12, amix 13 pin 21 out jack ext right hpout black eapd ← amix 12, amix 13 pin 22 out nothing ext rear speaker black eapd ← amix 12, amix 13 beep 23 f00000 pin 24 inout nothing ext rear speaker black ← amix 12, amix 13 pin 25 in nothing ext rear speaker black pin 26 in jack ext right micin black pin 27 inout nothing ext rear speaker black ← amix 12, amix 13 beep 28 f00000 pin 29 in nothing ext N/A modemhandset purple pin 30 out nothing ext rear speaker black ← aout 6 beep 31 f00000 beep 32 f00040 beep 33 f00000 asel 34 300101 ← pin 24, pin 25, pin 26, pin 27, pin 29, amix 11, pin 18, pin 19 asel 35 300101 ← pin 24, pin 25, pin 26, pin 27, pin 29, amix 11 beep 36 f00000 outpath aout 2 → amix 12 → pin 20 outamp aout 2 inpath pin 18 → asel 34 → ain 9 inamp ain 9 % cat '#'A/volume master 100 100 recgain 0 0 speed 44100 delay 1764 % cat /mnt/apm/ctl cat: can't open /mnt/apm/ctl: '/mnt/apm/ctl' does not exist