% cd '#ec'; for(i in *){echo $i '=' `{cat $i}} *acpi = 0xacdfe014 *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 000000009ff22000 1 000000009ff22000 000000009ff42000 1 000000009ff42000 00000000a1925000 1 00000000a1925000 00000000a2f12000 1 00000000a2f12000 00000000a3a57000 1 00000000a3a57000 00000000a4267000 1 00000000a4267000 00000000a4268000 1 00000000a4268000 00000000a46ea000 1 00000000a46ea000 00000000a46eb000 1 00000000a46eb000 00000000a4ffe000 1 00000000a4ffe000 00000000a51f2000 1 00000000a51f2000 00000000a5697000 1 00000000a5697000 00000000a5770000 1 00000000a5770000 00000000a6719000 1 00000000a6719000 00000000a672d000 1 00000000a672d000 00000000a7d98000 1 00000000a7d98000 00000000ab7bc000 1 00000000ab7bc000 00000000abd98000 1 00000000abd98000 00000000abf98000 1 00000000abf98000 00000000ac27b000 2 00000000ac27b000 00000000acbff000 4 00000000acbff000 00000000acd7f000 3 00000000acd7f000 00000000acdff000 1 00000000acdff000 00000000ace00000 1 0000000100000000 000000024e000000 2 00000000f80f8000 00000000f80f9000 2 00000000fed1c000 00000000fed20000 bootargs = local!/dev/sdE1/fs -m 1024 bootfile = 9pc64 monitor = vesa mouseport = ps2 vgasize = 1920x1080x16 % cat '#'P/archctl cpu P6 2295 pge pge on coherence mfence cmpswap cmpswap486 arch ACPI cache default wb cache 0xc0000000 1073741824 uc cache 0xb0000000 268435456 uc cache 0xae000000 33554432 uc cache 0xad000000 16777216 uc cache 0xace00000 2097152 uc cache 0xc0000000 67108864 wc % cat '#'P/irqalloc 1 0 debugexc 3 0 debugpt 7 0 mathemu 8 0 doublefault 9 0 mathover 14 0 faultamd64 15 0 unexpected 16 0 matherror 19 0 simderror 50 18 clock 51 19 lapicerror 63 31 lapicspurious 65 -1 ether0 73 1 kbd 81 -1 hda 89 -1 xhci 97 -1 sdE (ahci) 105 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 fff fff dummy % 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 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 23236 24174 41626 35531 0 0 165 96 0 1 22866 15769 35737 481587 0 0 0 97 0 % cat '#'¶/swap 8485310464 memory 4096 pagesize 524288 kernel 263486/1497212 user 0/160000 swap 1260/1497212 reclaim 9125120/9258976/2139377280 kernel malloc 14324248/15866880/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 0x006cb000 0x7ffff000 2140356608 2140913664 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) 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 usbxhci: 0x8086 0x9cb1: port e1200000 size 65536 irq 255 8098M memory: 2250M kernel data, 5848M user, 6473M 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] nusb/kb: /dev/usb/ep3.0: setproto: no report descriptor /dev/sdE0: Samsung SSD 850 EVO 500GB /dev/sdE0/data /dev/sdE0/esp dos /dev/sdE0/linuxdata /dev/sdE0/linuxdata1 /dev/sdE1: SB2 /dev/sdE1/9fat dos /dev/sdE1/data /dev/sdE1/esp dos /dev/sdE1/fs hjfs /dev/sdE1/nvram /dev/sdE1/plan9 bootargs is (tcp, tls, il, local!device)[local!/dev/sdE1/fs -m 1024] user[glenda]: 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.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 avx f16c rdrnd 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 11 xhci ep2.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 ep3.0 enabled control rw speed full maxpkt 8 ntds 1 pollival 0 samplesz 0 hz 0 uframes 0 hub 0 port 5 rootport 5 addr 1 idle hid csp 0x000003 vid 0x04f3 did 0x0301 ELAN Touchscreen 618f9 xhci ep3.1 enabled interrupt r speed full maxpkt 64 ntds 1 pollival 10 samplesz 0 hz 0 uframes 0 hub 0 port 5 rootport 5 addr 1 idle ep3.2 enabled interrupt w speed full maxpkt 32 ntds 1 pollival 10 samplesz 0 hz 0 uframes 0 hub 0 port 5 rootport 5 addr 1 idle ep4.0 enabled control rw speed high maxpkt 64 ntds 1 pollival 0 samplesz 0 hz 0 uframes 0 hub 0 port 8 rootport 8 addr 2 idle 239 csp 0x0102ef vid 0x04ca did 0x703c J8AG425WY 'Integrated Camera' 0a9a0 xhci ep4.1 enabled iso r speed high maxpkt 1020 ntds 3 pollival 10 samplesz 1 hz 0 uframes 0 hub 0 port 8 rootport 8 addr 2 idle ep4.7 enabled interrupt r speed high maxpkt 16 ntds 1 pollival 128 samplesz 0 hz 0 uframes 0 hub 0 port 8 rootport 8 addr 2 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 1230848 part linuxdata 1230848 3328000 part linuxdata1 3328000 976773120 % 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 f859710d70af % cat '#'l0/ether0/stats in: 36 link: 1 out: 12 crc errs: 0 overflows: 0 soft overflows: 0 framing errs: 0 buffer errs: 0 output errs: 0 prom: 0 mbps: 9 addr: f859710d70af % cat '#'l0/ether0/ifstats essid: transwarp bssid: e8b74840ede0 status: associated channel: 11 rxkey1: ccmp:[16] rxkey4: ccmp:[16] txkey0: ccmp:[16] brsne: 30140100000FAC040100000FAC040100000FAC023C00 node: 0021d849f390 0431 58320 06 transwarp node: e8b74840ede0 0431 40 11 transwarp % 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 000829 00004e00 00000000 00000000 0000fff8 00009000 00000000 0000e404 00007bec 0000 8000 0000 0000 cSzopDi 1046 d5 AAD $b1 aux/vga: write /dev/realmode: bad opcode % xd -x1 '#'r/nvram 0000000 22 17 28 58 00 21 06 18 09 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 00 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 22 17 28 58 00 21 06 18 09 20 26 02 40 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 00 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