% cd '#ec'; for(i in *){echo $i '=' `{cat $i}} *e820 = 1 0x0000000000000000 0x000000000009d800 2 0x000000000009d800 0x00000000000a0000 2 0x00000000000e0000 0x0000000000100000 1 0x0000000000100000 0x0000000020000000 2 0x0000000020000000 0x0000000020200000 1 0x0000000020200000 0x0000000040004000 2 0x0000000040004000 0x0000000040005000 1 0x0000000040005000 0x00000000d9874000 2 0x00000000d9874000 0x00000000d9d24000 3 0x00000000d9d24000 0x00000000d9d25000 4 0x00000000d9d25000 0x00000000d9e49000 2 0x00000000d9e49000 0x00000000da604000 1 0x00000000da604000 0x00000000da605000 4 0x00000000da605000 0x00000000da648000 1 0x00000000da648000 0x00000000dadb2000 2 0x00000000dadb2000 0x00000000dafdd000 1 0x00000000dafdd000 0x00000000db000000 1 0x0000000100000000 0x000000021e600000 2 0x00000000db800000 0x00000000dfa00000 2 0x00000000f8000000 0x00000000fc000000 2 0x00000000fec00000 0x00000000fec01000 2 0x00000000fed00000 0x00000000fed04000 2 0x00000000fed1c000 0x00000000fed20000 2 0x00000000fee00000 0x00000000fee01000 2 0x00000000ff000000 0x0000000100000000 bootfile = 9pcf monitor = ask mouseport = ask vgasize = ask % cat '#'P/archctl cpu P6 3293 pge pge on coherence mfence cmpswap cmpswap486 i8253set on cache default uc cache 0x0 8589934592 wb cache 0x200000000 536870912 wb cache 0xe0000000 67108864 wc cache 0xdc000000 67108864 uc cache 0xdb800000 8388608 uc cache 0x21f000000 16777216 uc cache 0x21e800000 8388608 uc cache 0x21e600000 2097152 uc % cat '#'P/irqalloc 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 1 kbd 73 11 ether0 81 5 hda 89 11 ehci 97 3 ehci 105 10 sdE (ahci) 113 12 kbdaux % cat '#'P/ioalloc 0 f dma 20 21 i8259.0 40 43 i8253 60 60 kbd 61 61 i8253.cntr2c 64 64 kbd 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 e000 e0ff rtl8169 % cat '#'c/config # pcf - pc terminal with local disk dev root cons arch pnp pci env pipe proc mnt srv shr dup rtc ssl tls cap kprof fs ether netif 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 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 etherrt2860 pci wifi ethermedium pcmciamodem netdevmedium loopbackmedium usbuhci usbohci usbehci usbehcipc audiosb16 dma audioac97 audioac97mix audiohda misc archacpi mp apic squidboy 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 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 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; boot boot tcp local bootdir boot$CONF.out boot /$objtype/bin/paqfs /$objtype/bin/auth/factotum bootfs.paq % cat '#'c/swap 3643064320 memory 4096 pagesize 65536 kernel 6540/824947 user 0/160000 swap 3015392/212369232 kernel malloc 34908160/191132309 kernel draw % cat '#'c/sysstat 0 1787926 369835 422807 46052 0 0 10 99 0 1 191190 143528 409374 38115 0 0 0 99 0 % awk /^Plan 9$/{p=1} /^init: starting/{exit} {if(p)print} '#'c/kmesg Plan 9 meminit - lost 7921664 bytes 126 holes free 0x18000 0x9d000 85000 0x4ac000 0x10000000 fb54000 264081408 bytes free cpu0: 3292MHz GenuineIntel P6 (cpuid: AX 0x306A9 CX 0x359AE3BF DX 0xBFEBFBFF) LAPIC: fee00000 0xe0000000 ELCR: 0C28 cpu0: lapic clock at 100MHz cpu1: 3293MHz GenuineIntel P6 (cpuid: AX 0x306A9 CX 0x359AE3BF DX 0xBFEBFBFF) pcirouting: ignoring south bridge PCI.0.31.0 8086/1E49 rtl8169: oui 0x732 phyno 1, macv = 0x2c800000 phyv = 0x0005 #l0: rtl8169: 100Mbps port 0xE000 irq 11: 902b349e132a cpu1: lapic clock at 100MHz #S/sdE: ich: sata-II with 1 ports mpintrenable: out of choices eisa -1 isa 4 tbdf FFFFFFFF irq 6 intrenable: couldn't enable irq 6, tbdf 0xFFFFFFFF for floppy #A0: hda mem e0003000 irq 5 #A0: codec #2, vendor 10ec0887, rev 00100302 #A0: codec #3, vendor 80862806, rev 00100000 3478M memory: 256M kernel data, 3222M user, 3847M swap sdE0: LLBA 250,069,680 sectors M4-CT128M4SSD2 000F 000000001227090EC8FF [newdrive] /dev/sdE0: M4-CT128M4SSD2 /dev/sdE0/data bootargs is (tcp, il, local!device)[] /dev/sdE0: M4-CT128M4SSD2 /dev/sdE0/data /dev/sdU4.0: JetFlashTranscend 8GB 8.07 /dev/sdU4.0/data /dev/sdU4.0/dos dos /shr/sdU4.0: /shr/sdU4.0/9front.iso 9660 bootargs is (tcp, il, local!device)[] klocal!/shr/sdU4.0/9front.iso user[glenda]: % pci -v 0.0.0: brg 06.00.00 8086/0150 0 Intel Corporation 0.2.0: vid 03.00.00 8086/0162 11 0:f7800004 4194304 1:00000000 16 2:e000000c 268435456 3:00000000 16 4:0000f001 64 Intel Corporation 0.20.0: usb 0c.03.30 8086/1e31 11 0:f7c00004 65536 1:00000000 16 Intel Corporation 0.22.0: ser 07.80.00 8086/1e3a 11 0:f7c1a004 16 1:00000000 16 Intel Corporation 0.26.0: usb 0c.03.20 8086/1e2d 11 0:f7c18000 1024 Intel Corporation 0.27.0: aud 04.03.00 8086/1e20 5 0:f7c10004 16384 1:00000000 16 Intel Corporation 0.28.0: brg 06.04.00 8086/1e10 11 Intel Corporation 0.28.4: brg 06.04.00 8086/1e18 11 Intel Corporation 0.29.0: usb 0c.03.20 8086/1e26 3 0:f7c17000 1024 Intel Corporation 0.30.0: brg 06.04.01 8086/244e 255 Intel Corporation 82801DB Hub Interface to PCI Bridge 0.31.0: brg 06.01.00 8086/1e49 0 Intel Corporation 0.31.2: disk 01.06.01 8086/1e02 10 0:0000f0b1 16 1:0000f0a1 16 2:0000f091 16 3:0000f081 16 4:0000f061 32 5:f7c16000 2048 Intel Corporation 0.31.3: smb 0c.05.00 8086/1e22 11 0:f7c15004 256 1:00000000 16 4:0000f041 32 Intel Corporation 2.0.0: net 02.00.00 10ec/8168 11 0:0000e001 256 2:f000400c 4096 3:00000000 16 4:f000000c 16384 5:00000000 16 Realtek RTL8167 PCIe Gigabit Ethernet Family Controller % aux/icanhasmsi 0.2.0 0.20.0 0.22.0 0.27.0 0.28.0 0.28.4 0.31.2 2.0.0 % 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 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 busy roothub csp 0x000009 ports 2 ehci ep3.0 enabled control rw speed high maxpkt 64 pollival 0 samplesz 0 hz 0 hub 2 port 1 busy hub csp 0x010009 ports 6 none ehci ep4.0 enabled control rw speed high maxpkt 64 pollival 0 samplesz 0 hz 0 hub 3 port 5 busy ep5.0 enabled control rw speed high maxpkt 64 pollival 0 samplesz 0 hz 0 hub 1 port 1 busy hub csp 0x010009 ports 6 none ehci ep6.0 enabled control rw speed full maxpkt 64 pollival 0 samplesz 0 hz 0 hub 5 port 6 busy ep6.1 enabled interrupt r speed full maxpkt 8 pollival 4 samplesz 0 hz 0 hub 5 port 6 busy ep6.2 enabled interrupt r speed full maxpkt 10 pollival 1 samplesz 0 hz 0 hub 5 port 6 busy ep6.3 enabled interrupt r speed full maxpkt 32 pollival 1 samplesz 0 hz 0 hub 5 port 6 busy ep4.2 enabled bulk r speed high maxpkt 512 pollival 1 samplesz 0 hz 0 hub 3 port 5 busy ep4.1 enabled bulk w speed high maxpkt 512 pollival 1 samplesz 0 hz 0 hub 3 port 5 busy % cat '#'S/sdctl sdE ahci ich port 0xe0002000: 64a ncq led clo pmb slum pslum ems apts alhd xonly smb elmt iss 3 ncs 31 np 6 ghc 80000002 isr 0 pi 1 0 ver 10300 % cat '#'S/sdE0/ctl inquiry M4-CT128M4SSD2 model M4-CT128M4SSD2 serial 000000001227090EC8FF firm 000F wwn 500a0751090ec8ff flag lba llba smart power nop ata8 sct udma 5 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 250069680 512 alignment 512 0 missirq 0 part data 0 250069680 % cat '#'l0/ether0/addr 902b349e132a % cat '#'l0/ether0/stats in: 4031 link: 1 out: 2092 crc errs: 0 overflows: 0 soft overflows: 0 framing errs: 0 buffer errs: 0 output errs: 0 prom: 0 mbps: 1000 addr: 902b349e132a % cat '#'l0/ether0/ifstats TxOk: 2091 RxOk: 4025 TxEr: 0 RxEr: 0 MissPkt: 0 FAE: 0 Tx1Col: 0 TxMCol: 0 RxOkPh: 4017 RxOkBrd: 8 RxOkMu: 0 TxAbt: 0 TxUndrn: 0 serr: 0 fovw: 0 txdu: 0 tcpf: 3995 udpf: 20 ipf: 0 fovf: 0 rer: 0 rdu: 0 punlc: 1 tcr: 0x2f900f00 rcr: 0x0000e70e multicast: 0 phy: 1140 796d 001c c915 01e1 cde1 000d 2801 4793 0300 3800 0000 0000 0000 0000 3000 016e ac5e 0000 0000 8040 1006 410c 2100 0000 8c00 0040 0106 217c 80b8 4324 0000 % cat '#'v/vgactl type vesa size 1920x1080x32 x8r8g8b8 blank time 30 idle 0 state on hwaccel off hwblank on panning off addr p 0xe0000000 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) Sandybridge/Ivybridge Graphics Chipset Accelerated VGA BIOS 1.0 vesa vendor Intel Corporation vesa product Intel(R) Sandybridge/Ivybridge Graphics Controller vesa rev Hardware Version 0.0 vesa cap 8-bit-dac vesa mem 67043328 vesa mode 0x107 1280x1024x8 m8 packed vesa mode 0x11a 1280x1024x16 r5g6b5 direct vesa mode 0x11b 1280x1024x32 x8r8g8b8 direct 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 1920x1080x8 m8 packed vesa mode 0x17e 1920x1080x16 r5g6b5 direct vesa mode 0x17f 1920x1080x32 x8r8g8b8 direct edid mfr SAM edid serialstr edid name T24C350 edid product 2751 edid serial 0 edid version 1.3 edid mfrdate 2012.52 edid size (cm) 53x30 edid gamma 2.20 edid vert (Hz) 24-75 edid horz (Hz) 15000-81000 edid pclkmax 230000000 edid flags digital edid 640x480@60Hz clock=25.175 shb=648 ehb=792 ht=800 vrs=490 vre=492 vt=525 hsync=- vsync=- edid 640x480@73Hz clock=31.5 shb=648 ehb=824 ht=832 vrs=489 vre=492 vt=520 hsync=- vsync=- edid 640x480@75Hz clock=31.5 shb=640 ehb=840 ht=840 vrs=481 vre=484 vt=500 hsync=- vsync=- edid 800x600@60Hz clock=40 shb=800 ehb=1056 ht=1056 vrs=601 vre=605 vt=628 hsync=+ vsync=+ edid 800x600@72Hz clock=50 shb=800 ehb=1040 ht=1040 vrs=637 vre=643 vt=666 hsync=+ vsync=+ edid 800x600@75Hz clock=49.5 shb=800 ehb=1056 ht=1056 vrs=601 vre=604 vt=625 hsync=+ vsync=+ edid 1024x768@60Hz clock=65 shb=1024 ehb=1344 ht=1344 vrs=771 vre=777 vt=806 hsync=- vsync=- edid 1024x768@70Hz clock=75 shb=1024 ehb=1328 ht=1328 vrs=771 vre=777 vt=806 hsync=- vsync=- edid 1024x768@75Hz clock=78.75 shb=1024 ehb=1312 ht=1312 vrs=769 vre=772 vt=800 hsync=+ vsync=+ edid 1280x1024@75Hz clock=135 shb=1280 ehb=1688 ht=1688 vrs=1025 vre=1028 vt=1066 hsync=+ vsync=+ edid 1920x1080@60Hz clock=148.5 shb=2008 ehb=2052 ht=2200 vrs=1084 vre=1089 vt=1125 hsync=+ vsync=+ edid 1366x768@60Hz clock=85.5 shb=1436 ehb=1579 ht=1792 vrs=771 vre=774 vt=798 hsync=+ vsync=+ % xd -x1 '#'r/nvram 0000000 32 14 55 01 20 18 04 10 07 14 29 02 50 80 00 00 0000010 00 9b 4e 92 1b 76 02 ff ff df 9e df 9b bf 32 9a 0000020 d7 77 41 a9 83 f1 4b ef 3f ab 88 1b 53 fa 10 4e 0000030 ff ff 20 da fe ff 01 9e c0 de fa 67 d1 8f 07 fb 0000040 00 00 01 10 01 28 a0 00 a8 00 00 00 00 00 00 00 0000050 00 00 00 00 00 00 00 00 2d 6f 00 00 00 00 00 00 0000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0000080 32 14 55 01 20 18 04 10 07 14 29 02 00 80 00 00 0000090 00 9b 4e 92 1b 76 02 ff ff df 9e df 9b bf 32 9a 00000a0 d7 77 41 a9 83 f1 4b ef 3f ab 88 1b 53 fa 10 4e 00000b0 ff ff 20 da fe ff 01 9e c0 de fa 67 d1 8f 07 fb 00000c0 00 00 01 10 01 28 a0 00 a8 00 00 00 00 00 00 00 00000d0 00 00 00 00 00 00 00 00 2d 6f 00 00 00 00 00 00 00000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00000f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0000100 0000100 % cat '#'A/audiostat bufsize 1024 buffered 8284 codec 2 pin 20 inpin 31 aout 2 41d aout 3 41d aout 4 41d aout 5 41d aout 6 611 beep 7 f00000 ain 8 10051b ← amix 35 ain 9 10051b ← amix 34 ain 10 100711 ← pin 31 amix 11 20010b ← pin 24, pin 25, pin 26, pin 27, pin 28, pin 29, pin 20, pin 21, pin 22, pin 23 amix 12 20010b ← aout 2, amix 11 amix 13 20010b ← aout 3, amix 11 amix 14 20010b ← aout 4, amix 11 amix 15 20010b ← aout 5, amix 11 aout 16 611 pin 17 out fix int special spdifout ? ← aout 16 pin 18 in nothing ext rear speaker black beep 19 f00000 pin 20 inout jack ext rear lineout green eapd ← amix 12 pin 21 inout nothing ext rear speaker black ← amix 13 pin 22 inout nothing ext rear speaker black ← amix 14 pin 23 inout nothing ext rear speaker black ← amix 15 pin 24 inout jack ext rear micin pink ← amix 12, amix 13, amix 14, amix 15, amix 38 pin 25 inout jack ext front micin pink ← amix 12, amix 13, amix 14, amix 15, amix 38 pin 26 inout jack ext rear linein blue ← amix 12, amix 13, amix 14, amix 15, amix 38 pin 27 inout jack ext front hpout green eapd ← amix 12, amix 13, amix 14, amix 15, amix 38 pin 28 in nothing ext rear speaker black pin 29 in nothing ext N/A lineout resvd pin 30 out nothing ext rear speaker black ← aout 6 pin 31 in nothing ext rear speaker black beep 32 f00040 beep 33 f00000 amix 34 20010b ← pin 24, pin 25, pin 26, pin 27, pin 28, pin 29, pin 20, pin 21, pin 22, pin 23, amix 11, pin 18 amix 35 20010b ← pin 24, pin 25, pin 26, pin 27, pin 28, pin 29, pin 20, pin 21, pin 22, pin 23, amix 11 beep 36 f00000 aout 37 41d amix 38 20010b ← aout 37, amix 11 codec 3 pin 20 inpin 31 aout 2 6611 aout 3 6611 aout 4 6611 pin 5 out nothing int special digiout ? hdmi ← aout 2 pin 6 out nothing int special digiout ? hdmi ← aout 3 pin 7 out jack int special digiout ? hdmi ← aout 4 beep 8 f00000 outpath aout 2 → amix 12 → pin 20 outamp aout 2 inpath pin 31 → ain 10 % 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