% cd '#ec'; for(i in *){echo $i '=' `{cat $i}} *bootscreen = 1024x768x16 r5g6b5 0xb0000000 67108864 *e820 = 1 0x0000000000000000 0x000000000009d400 2 0x000000000009d400 0x00000000000a0000 2 0x00000000000e0000 0x0000000000100000 1 0x0000000000100000 0x00000000a56b0000 2 0x00000000a56b0000 0x00000000a5eb0000 1 0x00000000a5eb0000 0x00000000aaabf000 2 0x00000000aaabf000 0x00000000aaebf000 4 0x00000000aaebf000 0x00000000aafbf000 3 0x00000000aafbf000 0x00000000aafff000 1 0x00000000aafff000 0x00000000ab000000 2 0x00000000ab000000 0x00000000afa00000 2 0x00000000e0000000 0x00000000f0000000 2 0x00000000fe101000 0x00000000fe113000 2 0x00000000feb00000 0x00000000feb10000 2 0x00000000fec00000 0x00000000fec01000 2 0x00000000fed00000 0x00000000fee01000 2 0x00000000ffc00000 0x0000000100000000 1 0x0000000100000000 0x00000001cf600000 bootfile = /386/9pc cdboot = yes monitor = ask mouseport = ask vgasize = ask % cat '#'P/archctl cpu P6 2395 pge pge on coherence mfence cmpswap cmpswap486 arch _MP_ cache default uc cache 0x0 8589934592 wb cache 0xb0000000 67108864 wc cache 0xac000000 67108864 uc cache 0xb0000000 268435456 uc cache 0xc0000000 1073741824 uc % cat '#'P/irqalloc 1 0 debugexc 3 0 debugpt 7 0 mathemu 8 0 doublefault 9 0 mathover 14 0 fault386 15 0 unexpected 16 0 matherror 19 0 simderror 50 18 clock 51 19 lapicerror 63 31 lapicspurious 65 7 ether0 73 1 kbd 81 6 floppy 89 10 hda 97 11 ehci 105 7 xhci 113 10 sdE (ahci) 121 7 lpt 129 12 kbdaux % cat '#'P/ioalloc 0 f dma 20 21 i8259.0 40 43 i8253 60 60 i8042.data 61 61 i8253.cntr2c 64 64 i8042.cs 70 71 rtc/nvr 80 8f dma a0 a1 i8259.1 d0 df dma 2b0 2df vga 378 37a lpt0 3c0 3da vga 3f0 3f5 floppy 3f7 3f7 floppy fff fff dummy 4000 40ff rtl8169 % cat '#'c/config # pc - 386 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 nullmedium pktmedium ptclbsum386 inferno draw screen vga vgax swcursor mouse mouse kbd vga sd floppy dma aoe lpt audio dma pccard i82365 cis uart usb segment vmx link segdesc devpccard devi82365 cputemp apm apmjump 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 ether83815 pci etherbcm pci etherdp83820 pci 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 usbohci usbehci usbehcipc usbxhci pci audiosb16 dma audioac97 audioac97mix audiohda misc 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 uarti8250 uartisa uartpci pci 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 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 2250611 1703164 5268619 825919 0 0 1690 22 0 % cat '#'¶/swap 2850168832 memory 4096 pagesize 65536 kernel 159395/631488 user 0/160000 swap 1412/631488 reclaim 2566736/2622080/242608480 kernel malloc 2659968/4194368/218347632 kernel draw 192/65568/16777216 kernel secret % awk /^Plan 9/{p=1} /^init: starting/{exit} {if(p)print} '#'c/kmesg Plan 9 126 holes free 0x0001a000 0x0009d000 536576 0x00521000 0x0ffff000 263053312 263589888 bytes free cpu0: 2394MHz GenuineIntel P6 (AX 00040651 CX 77DAFBBF DX BFEBFBFF) LAPIC: fee00000 0xe0000000 ELCR: 0C80 cpu0: lapic clock at 100MHz pcirouting: ignoring south bridge PCI.0.31.0 8086/9C43 rtl8169: oui 0x732 phyno 1, macv = 0x50800000 phyv = 0x0000 #l0: rtl8169: 1000Mbps port 0x4000 irq 7: 28d244e14886 #S/sdE: ahci: sata-II with 4 ports #A0: hda mem e0003000 irq 10 #A0: codec #0, vendor 14f1510f, rev 00100100 usbehci: 0x8086 0x9c26: port 0xc061c000 size 0x400 irq 11 usbxhci: 0x8086 0x9c31: port 0xc0600000 size 0x10000 irq 7 2723M memory: 256M kernel data, 2466M user, 3091M swap sdE0: LLBA 976,773,168 sectors ST500LT012-1DG142 0002LVM1 S3PMK6TG [newdrive] sdE1: LBA 0 sectors HL-DT-ST DVDRAM GUA0N AL00 KYCZ8BL0204 [newdrive] /dev/sdE0: ST500LT012-1DG142 /dev/sdE0/data /dev/sdE0/dos /dev/sdE0/dos1 /dev/sdE0/esp dos /dev/sdE0/lenovo dos /dev/sdE0/msr /dev/sdE0/plan9 /dev/sdE0/recovery /dev/sdE0/recovery1 /dev/sdE1: HL-DT-STDVDRAM GUA0N AL00 /dev/sdE2: /dev/sdE3: /dev/sdUa6bf4: SanDisk Cruzer U 1.26 /dev/sdUa6bf4/data 9660 /dev/sdUa6bf4/esp dos bootargs is (tcp, tls, il, local!device)[local!/dev/sdUa6bf4/data] user[glenda]: % pci -v 0.0.0: brg 06.00.00 8086/0a04 0 Intel Corporation Haswell-ULT DRAM Controller 0.2.0: vid 03.00.00 8086/0a16 7 0:c0000004 4194304 2:b000000c 268435456 4:00005001 64 Intel Corporation Haswell-ULT Integrated Graphics Controller 0.3.0: aud 04.03.00 8086/0a0c 7 0:c0610004 16384 Intel Corporation Haswell-ULT HD Audio Controller 0.20.0: usb 0c.03.30 8086/9c31 7 0:c0600004 65536 Intel Corporation 8 Series USB xHCI HC 0.22.0: ser 07.80.00 8086/9c3a 7 0:c0618004 32 Intel Corporation 8 Series HECI #0 0.27.0: aud 04.03.00 8086/9c20 10 0:c0614004 16384 Intel Corporation 8 Series HD Audio Controller 0.28.0: brg 06.04.00 8086/9c14 11 Intel Corporation 8 Series PCI Express Root Port 3 0.28.3: brg 06.04.00 8086/9c16 10 Intel Corporation 8 Series PCI Express Root Port 4 0.29.0: usb 0c.03.20 8086/9c26 11 0:c061c000 1024 Intel Corporation 8 Series USB EHCI #1 0.31.0: brg 06.01.00 8086/9c43 0 Intel Corporation 8 Series LPC Controller 0.31.2: disk 01.06.01 8086/9c03 10 0:00005089 16 1:00005095 16 2:00005081 16 3:00005091 16 4:00005061 32 5:c061b000 2048 Intel Corporation 8 Series SATA Controller 1 [AHCI mode] 0.31.3: smb 0c.05.00 8086/9c22 11 0:c0619004 256 4:00005041 32 Intel Corporation 8 Series SMBus Controller 1.0.0: net 02.00.00 10ec/8168 7 0:00004001 256 2:c0504004 4096 4:c0500004 16384 Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller 2.0.0: net 02.80.00 10ec/b723 10 0:00003001 256 2:c0400004 16384 Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter % aux/cpuid vendor GenuineIntel procmodel 00040651 / 00100800 typefammod 0 06 046 1 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 movbe popcnt tscdeadline aes xsave avx f16c rdrnd features xsaveopt extmodel 00000000 / 00000000 extfeatures nx pg1g tscp lm extfeatures ahf64 lzcnt procname Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz 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.3 0.31.2 1.0.0 2.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 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 !smxe !smap !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: '#y/pcm0attr' file does not exist % cat '#'u/usb/ctl ep1.0 enabled control rw speed high maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0 port 0 rootport 0 addr 0 busy roothub csp 0x000009 ports 2 ehci ep2.0 enabled control rw speed high maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0 port 0 rootport 0 addr 0 busy roothub csp 0x000009 ports 9 xhci ep3.0 enabled control rw speed super maxpkt 512 pollival 0 samplesz 0 hz 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 pollival 0 samplesz 0 hz 0 hub 0 port 2 rootport 2 addr 1 busy storage csp 0x500608 vid 0x0781 did 0x55a5 SanDisk 'Cruzer U' a6bf4 xhci ep4.1 enabled bulk r speed high maxpkt 512 pollival 0 samplesz 0 hz 0 hub 0 port 2 rootport 2 addr 1 busy ep4.2 enabled bulk w speed high maxpkt 512 pollival 0 samplesz 0 hz 0 hub 0 port 2 rootport 2 addr 1 busy ep5.0 enabled control rw speed high maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0 port 4 rootport 4 addr 2 idle 255 csp 0xffffff vid 0x0bda did 0x0129 Generic USB2.0-CRW 383bf xhci ep5.1 enabled bulk w speed high maxpkt 512 pollival 0 samplesz 0 hz 0 hub 0 port 4 rootport 4 addr 2 idle ep5.2 enabled bulk r speed high maxpkt 512 pollival 0 samplesz 0 hz 0 hub 0 port 4 rootport 4 addr 2 idle ep5.3 enabled interrupt r speed high maxpkt 3 pollival 512 samplesz 0 hz 0 hub 0 port 4 rootport 4 addr 2 idle ep6.0 enabled control rw speed high maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0 port 1 rootport 1 addr 6 busy hub csp 0x010009 ports 8 none <nil> ehci ep7.0 enabled control rw speed low maxpkt 8 pollival 0 samplesz 0 hz 0 hub 6 port 3 rootport 1 addr 7 busy hid csp 0x020103 vid 0x046d did 0xc521 Logitech 'USB Receiver' 3cdce ehci ep7.1 enabled interrupt r speed low maxpkt 8 pollival 10 samplesz 0 hz 0 hub 6 port 3 rootport 1 addr 7 busy ep7.2 enabled interrupt r speed low maxpkt 8 pollival 10 samplesz 0 hz 0 hub 6 port 3 rootport 1 addr 7 busy ep8.0 enabled control rw speed high maxpkt 64 pollival 0 samplesz 0 hz 0 hub 6 port 6 rootport 1 addr 8 idle 239 csp 0x0102ef vid 0x5986 did 0x055d 'Bsion Corp.' 'Lenovo EasyCamera' 29705 ehci ep8.1 enabled iso r speed high maxpkt 1024 pollival 10 samplesz 4 hz 44100 hub 6 port 6 rootport 1 addr 8 idle ep8.3 enabled interrupt r speed high maxpkt 16 pollival 32 samplesz 0 hz 0 hub 6 port 6 rootport 1 addr 8 idle ep9.0 enabled control rw speed full maxpkt 64 pollival 0 samplesz 0 hz 0 hub 6 port 7 rootport 1 addr 9 idle 224 csp 0x0101e0 vid 0x0bda did 0xb728 'Realtek ' 'Bluetooth Radio ' a5d67 ehci ep9.1 enabled interrupt r speed full maxpkt 16 pollival 10 samplesz 0 hz 0 hub 6 port 7 rootport 1 addr 9 idle ep9.2 enabled bulk rw speed full maxpkt 64 pollival 0 samplesz 0 hz 0 hub 6 port 7 rootport 1 addr 9 idle ep9.3 enabled iso rw speed full maxpkt 180 pollival 1 samplesz 4 hz 44100 hub 6 port 7 rootport 1 addr 9 idle % cat '#'S/sdctl sdE ahci ahci port 0xe0002000: 64a ncq ss alp led clo am pmb slum pslum xs apts iss 3 ncs 31 np 4 ghc 80000002 isr 0 pi f 0-3 ver 10300 % cat '#'S/sdE0/ctl inquiry ST500LT012-1DG142 model ST500LT012-1DG142 serial S3PMK6TG firm 0002LVM1 wwn 5000c5008050c3d6 flag lba llba smart power ata8 sct udma 6 reg task d0 cmd c017 serr 0 ci 1 is 0 sig 101 sstatus 133 cmd cr fr pod sud st mode auto sataiii geometry 976773168 512 alignment 4096 0 missirq 1 part data 0 976773168 part plan9 63 976773168 part 9fat 63 204864 part nvram 204864 204872 part other 204872 139714632 part fscache 139714632 279224392 part fsworm 279224392 976773160 % cat '#'S/sdE1/ctl inquiry HL-DT-STDVDRAM GUA0N AL00 model HL-DT-ST DVDRAM GUA0N serial KYCZ8BL0204 firm AL00 wwn 5001480000000000 flag lba nop atapi ata8 udma 6 reg task 2051 cmd 300c017 serr 0 ci 0 is 0 sig eb140101 sstatus 113 cmd dlae atapi cr fr pod sud st mode auto sataiii geometry 0 0 alignment 0 0 missirq 1 % cat '#'S/sdE2/ctl inquiry no disk present [missing] reg task 7f cmd 4016 serr 0 ci 0 is 0 sig ffffffff sstatus 000 cmd fr pod sud mode auto sataiii geometry 0 0 alignment 0 0 missirq 1 % cat '#'S/sdE3/ctl inquiry no disk present [missing] reg task 7f cmd 204016 serr 0 ci 0 is 0 sig ffffffff sstatus 000 cmd esp fr pod sud mode auto sataiii geometry 0 0 alignment 0 0 missirq 1 % cat '#'l0/ether0/addr 28d244e14886 % cat '#'l0/ether0/stats in: 806 link: 1 out: 18 crc errs: 0 overflows: 1307272 soft overflows: 0 framing errs: 0 buffer errs: 0 output errs: 0 prom: 0 mbps: 1000 addr: 28d244e14886 % cat '#'l0/ether0/ifstats TxOk: 21 RxOk: 1227 TxEr: 0 RxEr: 0 MissPkt: 0 FAE: 0 Tx1Col: 0 TxMCol: 0 RxOkPh: 40 RxOkBrd: 1130 RxOkMu: 57 TxAbt: 0 TxUndrn: 0 serr: 0 fovw: 1 txdu: 0 tcpf: 0 udpf: 266 ipf: 0 fovf: 0 rer: 0 rdu: 1307272 punlc: 6 tcr: 0x53900f00 rcr: 0x0000e70e multicast: 0 phy: 1040 79ed 001c c800 01e1 c5e1 006f 2801 4006 0200 3800 0000 0000 0000 0000 2000 0000 0000 0000 0000 0000 0000 0000 0000 319a 0043 302c 80d9 7078 0000 0000 0000 % cat '#'v/vgactl type vesa size 1024x768x16 r5g6b5 hwgc soft hwaccel off hwblank on panning off addr p 0xb0000000 v 0xe0400000 size 0x4000000 softscreen on @{rfork n; aux/realemu; aux/vga -p} vesa flag Ulinear|Hlinear|Fsnarf vesa sig VESA 3.0 vesa oem Intel(R) HSW Mobile/Desktop Graphics Chipset Accelerated VGA BIOS 0.0 vesa vendor <nil> vesa product <nil> vesa rev <nil> vesa cap 8-bit-dac vesa mem 67043328 vesa dsp con 4 vesa dsp act 4 vesa mode 0x105 1024x768x8 m8 packed vesa mode 0x117 1024x768x16 r5g6b5 direct vesa mode 0x118 1024x768x32 x8r8g8b8 direct vesa mode 0x112 640x480x32 x8r8g8b8 direct vesa mode 0x114 800x600x16 r5g6b5 direct vesa mode 0x115 800x600x32 x8r8g8b8 direct vesa mode 0x101 640x480x8 m8 packed vesa mode 0x103 800x600x8 m8 packed vesa mode 0x111 640x480x16 r5g6b5 direct vesa mode 0x17d 1366x768x8 m8 packed vesa mode 0x17e 1366x768x16 r5g6b5 direct vesa mode 0x17f 1366x768x32 x8r8g8b8 direct edid mfr SDC edid serialstr edid name edid product 18514 edid serial 0 edid version 1.3 edid mfrdate 2014.0 edid size (cm) 34x19 edid gamma 2.20 edid vert (Hz) 0-0 edid horz (Hz) 0-0 edid pclkmax 0 edid flags digital edid 1366x768@60Hz clock=72.33 shb=1414 ehb=1446 ht=1526 vrs=770 vre=775 vt=790 hsync=- vsync=- % xd -x1 '#'r/nvram 0000000 54 29 30 29 03 03 04 15 02 18 26 02 70 80 80 00 0000010 00 ff ff ff 0e 80 02 00 fc ff ff ff ff ff fe ff 0000020 ff ff ff ff ff ff ff ff ff ff ff ff ff ff 19 73 0000030 00 fc 20 ff ff 07 00 13 00 00 00 00 00 00 00 00 0000040 06 02 00 00 f7 ff 01 01 00 ff ff ff ff ff ff ff 0000050 00 ff ff ff ff ff ff ff ff ff ff ff ff 07 00 14 0000060 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0000070 ff 00 ff ff ff ff ff ff ff ff ff ff ff ff b2 00 0000080 54 29 30 29 03 03 04 15 02 18 26 02 00 80 80 00 0000090 00 ff ff ff 0e 80 02 00 fc ff ff ff ff ff fe ff 00000a0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff 19 73 00000b0 00 fc 20 ff ff 07 00 13 00 00 00 00 00 00 00 00 00000c0 06 02 00 00 f7 ff 01 01 00 ff ff ff ff ff ff ff 00000d0 00 ff ff ff ff ff ff ff ff ff ff ff ff 07 00 14 00000e0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 00000f0 ff 00 ff ff ff ff ff ff ff ff ff ff ff ff b2 00 0000100 0000100 % cat '#'A/audiostat bufsize 1024 buffered 0 codec 0 pin 23 inpin 26 aout 16 c1d aout 17 c1d beep 18 70000c ain 19 100d1b ← pin 24, pin 26, pin 25 ain 20 100d1b ← pin 25, pin 26, amix 21 amix 21 20050b ← aout 16, aout 17 pin 22 out jack ext right hpout black ← aout 16, aout 17 pin 23 out fix int right speaker ? ← aout 16, aout 17 pin 24 in nothing ext N/A other ? pin 25 in jack ext right micin black pin 26 in fix int right micin ? beep 27 f00000 beep 28 f00000 outpath aout 16 → pin 23 outamp aout 16 inpath pin 26 → ain 19 inamp ain 19 % 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