% cd '#ec'; for(i in *){echo $i '=' `{cat $i}} *e820 = 1 0x0000000000000000 0x000000000009e000 2 0x000000000009e000 0x00000000000a0000 2 0x00000000000ce000 0x00000000000d0000 2 0x00000000000e0000 0x0000000000100000 1 0x0000000000100000 0x00000000bf5b0000 3 0x00000000bf5b0000 0x00000000bf5cc000 4 0x00000000bf5cc000 0x00000000bf5cf000 2 0x00000000bf5cf000 0x00000000bf600000 2 0x00000000bf600000 0x00000000bf700000 2 0x00000000bf700000 0x00000000c0000000 2 0x00000000e0000000 0x00000000f0000000 2 0x00000000fec00000 0x00000000fec10000 2 0x00000000fee00000 0x00000000fee01000 2 0x00000000ff000000 0x0000000100000000 1 0x0000000100000000 0x0000000130000000 2 0x000000012e000000 0x0000000130000000 bootargs = local!/dev/sdC0/fscache bootfile = 9pcf monitor = vesa mouseport = ps2 vgasize = 1280x1024x16 % cat '#'P/archctl cpu Xeon5000-series 2660 pge pge on coherence mfence cmpswap cmpswap486 i8253set on cache default uc cache 0x0 2147483648 wb cache 0x80000000 1073741824 wb cache 0x100000000 536870912 wb cache 0x120000000 268435456 wb cache 0xc0000000 67108864 wc cache 0xbf800000 8388608 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 3 ether0 81 6 floppy 89 3 hda 97 3 ehci 97 3 uhci 97 3 uhci 105 10 uhci 105 10 uhci 113 5 sdE (ide) 113 5 ehci 113 5 uhci 113 5 uhci 121 14 sdC (ide) 129 7 lpt 137 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 1f0 1f7 atacmd 2b0 2df vga 378 37a lpt0 3c0 3da vga 3f0 3f5 floppy 3f6 3f6 atactl 3f7 3f7 floppy fff fff dummy 1840 185f usbuhci 1860 187f usbuhci 1880 189f usbuhci 18a0 18bf usbuhci 18c0 18df usbuhci 18e0 18ff usbuhci 1cb2 1cb2 atactl 1cb8 1cbf atacmd % 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 3206057984 memory 4096 pagesize 65536 kernel 23873/718256 user 0/160000 swap 6292992/218770692 kernel malloc 18691072/196893623 kernel draw % cat '#'c/sysstat 0 567747 514795 1434071 750891 0 0 10 99 0 1 533232 293053 1361928 720313 0 0 0 99 0 % awk /^Plan 9/{p=1} /^init: starting/{exit} {if(p)print} '#'c/kmesg Plan 9 126 holes free 0x18000 0x9e000 86000 0x4ad000 0x10000000 fb53000 264081408 bytes free cpu0: 2660MHz GenuineIntel Xeon5000-series (cpuid: AX 0x06FB CX 0xE3FD DX 0xBFEBFBFF) LAPIC: fee00000 0xe0000000 ELCR: 0C28 cpu0: lapic clock at 333MHz cpu1: 2660MHz GenuineIntel Xeon5000-series (cpuid: AX 0x06FB CX 0xE3FD DX 0xBFEBFBFF) #l0: i82566: 1000Mbps port 0xD0180000 irq 3: 001e3748eb3a cpu1: lapic clock at 332MHz #A0: hda mem e0022000 irq 3 hda: invalid connection 29:amix[0] -> 1 #A0: codec #2, vendor 11d41882, rev 00100100 3062M memory: 256M kernel data, 2805M user, 3430M swap i82566: phy1 oui 0xaa00 /dev/sdC0: SAMSUNG HD501LJ /dev/sdC0/9fat dos /dev/sdC0/data /dev/sdC0/fscache cwfs64x /dev/sdC0/fsworm /dev/sdC0/nvram /dev/sdC0/other /dev/sdC0/plan9 /dev/sdE0: Optiarc DVD+/-RW AD-7200S bootargs is (tcp, il, local!device)[local!/dev/sdC0/fscache] user[glenda]: bad nvram key bad authentication id bad authentication domain nvrcheck: can't read nvram current fs is "main" 10 uids read, 3 groups used 63-bit cwfs as of Fri Oct 31 19:48:36 2014 last boot Mon Nov 24 16:10:21 2014 % pci -v 0.0.0: brg 06.00.00 8086/29b0 0 Intel Corporation 0.2.0: vid 03.00.00 8086/29b2 3 0:d0100000 524288 1:00001c71 16 2:c0000008 268435456 3:d0000000 1048576 Intel Corporation Q35 Intel(R) Q35 Express Chipset Family 0.25.0: net 02.00.00 8086/10bd 3 0:d0180000 131072 1:d01a5000 4096 2:00001821 32 Intel Corporation 82566DM Intel 82566DM Gigabit Ethernet Adapter 0.26.0: usb 0c.03.00 8086/2937 3 4:00001841 32 Intel Corporation 0.26.1: usb 0c.03.00 8086/2938 10 4:00001861 32 Intel Corporation 0.26.2: usb 0c.03.00 8086/2939 5 4:00001881 32 Intel Corporation 0.26.7: usb 0c.03.20 8086/293c 5 0:d03a6800 1024 Intel Corporation 0.27.0: aud 04.03.00 8086/293e 3 0:d01a0004 16384 1:00000000 16 Intel Corporation 486486 82801IB/IR/IH (ICH9 Family) HD Audio Controller 0.29.0: usb 0c.03.00 8086/2934 3 4:000018a1 32 Intel Corporation 0.29.1: usb 0c.03.00 8086/2935 10 4:000018c1 32 Intel Corporation 0.29.2: usb 0c.03.00 8086/2936 5 4:000018e1 32 Intel Corporation 0.29.7: usb 0c.03.20 8086/293a 3 0:d03a6c00 1024 Intel Corporation 0.3.0: ser 07.80.00 8086/29b4 3 0:d03a6004 16 1:00000000 16 Intel Corporation Q35-Chipset Intel(R) Management Engine Interface (HECI) 0.3.2: disk 01.01.85 8086/29b6 5 0:00001c89 16 1:00001c7d 16 2:00001c81 16 3:00001c79 16 4:00001c21 16 Intel Corporation Q35 IDE Controller 0.3.3: ser 07.00.02 8086/29b7 10 0:00001c91 16 1:d01a4000 4096 Intel Corporation Q35-Chipset Serial Over LAN 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/2914 0 Intel Corporation ICH9D0 LPC bridge of ICH9 0.31.2: disk 01.01.8a 8086/2920 255 0:00000001 16 1:00000001 16 2:00000001 16 3:00000001 16 4:00001c41 16 5:00001c31 16 Intel Corporation 82801(IB)/IR/IH/IO SATA IDE Controller:4 port 0.31.3: smb 0c.05.00 8086/2930 10 0:d03a7004 256 1:00000000 16 4:00001c01 32 Intel Corporation Intel ICH9 Family SMBus Controller Intel ICH9 Family SMBus Controller 0.31.5: disk 01.01.85 8086/2926 5 0:00001cc1 16 1:00001cb5 16 2:00001cb9 16 3:00001cb1 16 4:00001c61 16 5:00001c51 16 Intel Corporation 82801IR/IH/IO SATA IDE Controller:2 port2 % aux/cpuid vendor GenuineIntel procmodel 000006fb / 00020800 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 dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm extmodel 00000000 / 00000000 extfeatures nx lm extfeatures ahf64 procname Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz physbits 36 virtbits 48 % aux/icanhasmsi 0.2.0 0.3.0 0.3.2 0.3.3 0.25.0 0.27.0 % aux/pcmcia pcmcia: opening #y/pcm0attr: '#y/pcm0attr' file does not exist % cat '#'u/usb/ctl ep1.0 enabled control rw speed full maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0 port 0 busy roothub csp 0x000009 ports 2 uhci ep2.0 enabled control rw speed full maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0 port 0 busy roothub csp 0x000009 ports 2 uhci ep3.0 enabled control rw speed full maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0 port 0 busy roothub csp 0x000009 ports 2 uhci ep4.0 enabled control rw speed full maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0 port 0 busy roothub csp 0x000009 ports 2 uhci ep5.0 enabled control rw speed full maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0 port 0 busy roothub csp 0x000009 ports 2 uhci ep6.0 enabled control rw speed full maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0 port 0 busy roothub csp 0x000009 ports 2 uhci ep7.0 enabled control rw speed high maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0 port 0 busy roothub csp 0x000009 ports 6 ehci ep8.0 enabled control rw speed high maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0 port 0 busy roothub csp 0x000009 ports 6 ehci ep9.0 enabled control rw speed low maxpkt 8 pollival 0 samplesz 0 hz 0 hub 4 port 2 busy ep9.1 enabled interrupt r speed low maxpkt 8 pollival 24 samplesz 0 hz 0 hub 4 port 2 busy % cat '#'S/sdctl sdC ata port 1F0 ctl 3F4 irq 14 sdE ata port 1CB8 ctl 1CB0 irq 5 % cat '#'S/sdC0/ctl inquiry SAMSUNG HD501LJ config 0040 capabilities 2F00 dma 00550020 dmactl 00550020 rwm 16 rwmctl 0 lba48always off model SAMSUNG HD501LJ serial S0ZFJ1K0ZFJ1KQ527498 firm CR100-13 feat lba llba smart nop ata8 sct geometry 976773168 512 alignment 512 0 missirq 0 sloop 0 irq 7983 7980 bsy 0 0 nildrive 3 part data 0 976773168 part plan9 63 976768065 part 9fat 63 204863 part nvram 204863 204864 part other 204864 139713892 part fscache 139713892 279222920 part fsworm 279222920 976768065 % cat '#'S/sdE0/ctl inquiry Optiarc DVD+/-RW AD-7200S config 85C0 capabilities 0B00 dma 00550020 dmactl 00550020 model Optiarc DVD+/-RW AD-7200S serial firm 101A feat lba nop atapi missirq 0 sloop 0 irq 234 233 bsy 0 0 nildrive 1 % cat '#'l0/ether0/addr 001e3748eb3a % cat '#'l0/ether0/stats in: 7328 link: 1 out: 5518 crc errs: 0 overflows: 0 soft overflows: 0 framing errs: 0 buffer errs: 0 output errs: 0 prom: 0 mbps: 0 addr: 001e3748eb3a % cat '#'l0/ether0/ifstats Good Packets Received: 7323 0 Broadcast Packets Received: 158 0 Good Packets Transmitted: 5517 0 Good Octets Received: 9051500 0 Good Octets Transmitted: 385225 0 Total Octets Received: 9051500 0 Total Octets Transmitted: 385225 0 Total Packets Received: 7323 0 Total Packets Transmitted: 5517 0 Broadcast Packets Transmitted: 4 0 Interrupt Assertion: 7019 0 lintr: 1 2 rintr: 7018 7019 tintr: 0 0 ixcs: 7323 7171 7168 rdtr: 25 radv: 500 ctrl: 00100240 ctrlext: 01580000 status: 00080683 txcw: 00000000 txdctl: 00040004 pba: 000c000c speeds: 10:0 100:0 1000:0 ?:2 type: i82566 % cat '#'v/vgactl type vesa size 1280x1024x16 r5g6b5 blank time 30 idle 0 state on hwaccel off hwblank on panning off addr p 0xc0000000 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)Q33/Q35/G33 Graphics Chip Accelerated VGA BIOS 1.0 vesa vendor Intel Corporation vesa product Intel(r)Q33/Q35/G33 Graphics Controller vesa rev Hardware Version 0.0 vesa cap 8-bit-dac vesa mem 8323072 vesa mode 0x13c 1920x1440x8 m8 packed vesa mode 0x14d 1920x1440x16 r5g6b5 direct vesa mode 0x13a 1600x1200x8 m8 packed vesa mode 0x14b 1600x1200x16 r5g6b5 direct vesa mode 0x15a 1600x1200x32 x8r8g8b8 direct 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 % xd -x1 '#'r/nvram 0000000 19 01 43 49 16 05 01 24 11 14 26 02 50 80 00 00 0000010 00 42 f0 52 02 7b 02 00 fc 01 00 40 e4 70 0f c0 0000020 03 00 ff 3f 10 e0 18 e5 0f fe ff 8f 13 50 0b 8f 0000030 00 fc 20 cc c1 00 00 00 00 00 00 00 00 00 00 00 0000040 00 00 00 00 83 00 04 01 ec 70 40 04 1b 6c 9d fc 0000050 07 00 00 40 02 92 28 0b 8e ee 27 00 00 1e 1e 80 0000060 20 00 00 3c 00 dd 00 00 80 7e 00 08 40 57 02 00 0000070 00 90 12 02 00 00 00 00 00 31 90 40 00 00 00 00 0000080 19 01 43 49 16 05 01 24 11 14 26 02 00 80 00 00 0000090 00 42 f0 52 02 7b 02 00 fc 01 00 40 e4 70 0f c0 00000a0 03 00 ff 3f 10 e0 18 e5 0f fe ff 8f 13 50 0b 8f 00000b0 00 fc 20 cc c1 00 00 00 00 00 00 00 00 00 00 00 00000c0 00 00 00 00 83 00 04 01 ec 70 40 04 1b 6c 9d fc 00000d0 07 00 00 40 02 92 28 0b 8e ee 27 00 00 1e 1e 80 00000e0 20 00 00 3c 00 dd 00 00 80 7e 00 08 40 57 02 00 00000f0 00 90 12 02 00 00 00 00 00 31 90 40 00 00 00 00 0000100 0000100 % cat '#'A/audiostat bufsize 1024 buffered 0 codec 2 pin 18 inpin 26 aout 2 30311 ← amix 29 aout 3 405 aout 4 405 aout 5 405 beep 6 f00000 beep 7 f00000 ain 8 100501 ← asel 12 ain 9 100501 ← asel 13 beep 10 f00000 asel 11 300301 ← ain 8, ain 9 asel 12 30010d ← pin 17, asel 57, asel 58, beep 59, asel 60, pin 24, beep 59, beep 59, pin 18, amix 32 asel 13 30010d ← pin 17, asel 57, asel 58, beep 59, asel 60, pin 24, beep 59, beep 59, pin 18, amix 32 beep 14 f00000 beep 15 f00000 beep 16 70000c pin 17 inout jack ext front hpout green ← amix 34 pin 18 inout jack ext rear lineout green eapd ← amix 41 pin 19 out fix int rear speaker black eapd ← amix 45 pin 20 in jack ext front micin pink pin 21 inout jack ext rear linein blue ← amix 44 pin 22 out nothing ext rear lineout black ← amix 42 pin 23 inout jack ext rear micin pink ← amix 38 pin 24 in fix int special cd black power 25 500500 ← amix 32, asel 33 pin 26 in fix int rear other black pin 27 out nothing ext rear spdifout other ← aout 2 beep 28 f00000 amix 29 200303 ← , asel 11 amix 30 200103 ← aout 4, asel 33 beep 31 f00000 amix 32 20010b ← asel 57, asel 58, pin 17, pin 18, asel 60, beep 59, pin 24, pin 26 asel 33 30010d ← amix 32 amix 34 200103 ← asel 55, asel 33 beep 35 f00100 ← pin 17, pin 18, pin 19, pin 20, pin 21, pin 22, pin 23, pin 24, amix 32, asel 33, amix 34, pin 36, beep 37, amix 38, amix 39, beep 40, amix 41, amix 42, beep 43, amix 44, amix 45, beep 46, beep 48, beep 49, beep 50, beep 51, beep 52, beep 53, beep 54, asel 55, beep 56, asel 57, asel 58, beep 59, asel 60 pin 36 out nothing ext rear lineout orange ← amix 39 beep 37 f00000 amix 38 200103 ← aout 5, asel 33 amix 39 200103 ← aout 5, asel 33 beep 40 f00000 amix 41 200103 ← aout 4, asel 33 amix 42 200103 ← aout 3, asel 33 beep 43 f00000 amix 44 200103 ← aout 3, asel 33 amix 45 200100 ← amix 30 beep 46 f00000 beep 47 f00100 ← pin 20, pin 21, pin 23 beep 48 f00000 beep 49 f00000 beep 50 f00000 beep 51 f00000 beep 52 f00000 beep 53 f00000 beep 54 f00000 asel 55 300101 ← aout 3, aout 4 beep 56 f00000 asel 57 30010d ← pin 20 asel 58 30010d ← pin 21 beep 59 f00000 asel 60 30010d ← pin 23 outpath aout 4 → amix 41 → pin 18 outamp aout 4 inpath pin 26 → amix 32 → asel 12 → ain 8 inamp amix 32 % 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