% cd '#ec'; for(i in *){echo $i '=' `{cat $i}} *acpi = *e820 = 1 0x0000000000000000 0x000000000009d000 2 0x000000000009d000 0x00000000000a0000 2 0x00000000000e0000 0x0000000000100000 1 0x0000000000100000 0x0000000020000000 2 0x0000000020000000 0x0000000020200000 1 0x0000000020200000 0x0000000040004000 2 0x0000000040004000 0x0000000040005000 1 0x0000000040005000 0x00000000c321f000 2 0x00000000c321f000 0x00000000c3421000 1 0x00000000c3421000 0x00000000d41ff000 2 0x00000000d41ff000 0x00000000d6eef000 4 0x00000000d6eef000 0x00000000d6f9f000 3 0x00000000d6f9f000 0x00000000d6fff000 1 0x00000000d6fff000 0x00000000d7000000 2 0x00000000d7000000 0x00000000dfa00000 2 0x00000000f8000000 0x00000000fc000000 2 0x00000000fec00000 0x00000000fec01000 2 0x00000000fed08000 0x00000000fed09000 2 0x00000000fed10000 0x00000000fed18000 2 0x00000000fed18000 0x00000000fed19000 2 0x00000000fed19000 0x00000000fed1a000 2 0x00000000fed1c000 0x00000000fed20000 2 0x00000000fee00000 0x00000000fee01000 2 0x00000000ff980000 0x0000000100000000 1 0x0000000100000000 0x000000021f600000 bootargs = local!/dev/sdE0/fs -m 717 bootfile = 9pcf monitor = vesa mouseport = ps2 vgasize = 1366x768x8 % cat '#'P/archctl cpu P6 1597 pge pge on coherence mfence cmpswap cmpswap486 i8253set on cache default uc cache 0xff800000 8388608 wp cache 0x0 2147483648 wb cache 0x80000000 1073741824 wb cache 0xc0000000 268435456 wb cache 0xd0000000 134217728 wb cache 0xd7000000 16777216 uc cache 0xe0000000 67108864 wc cache 0x200000000 536870912 wb % cat '#'P/irqalloc 3 0 debugpt 7 0 mathemu 8 0 doublefault 9 0 mathover 14 0 fault386 15 0 unexpected 16 0 matherror 50 18 clock 51 19 lapicerror 63 31 lapicspurious 65 1 kbd 73 6 floppy 81 10 hda 89 11 ehci 97 10 ehci 105 11 sdE (ahci) 113 7 lpt 121 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 % 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 archmp mp apic 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 3267444736 memory 4096 pagesize 65536 kernel 205618/733214 user 0/160000 swap 6161760/191863392 kernel malloc 46138048/172677053 kernel draw % cat '#'c/sysstat 0 28259301 6465856 5594308 2784791 0 0 29 97 0 1 31669981 2938567 4763205 3464557 0 0 0 97 0 % awk /^Plan 9$/{p=1} /^init: starting/{exit} {if(p)print} '#'c/kmesg Plan 9 meminit - lost 282980352 bytes 126 holes free 00018000 0009d000 544768 0048f000 10000000 263655424 264200192 bytes free cpu0: 1596MHz GenuineIntel P6 (cpuid: AX 0x306A9 CX 0x5BAE3BF DX 0xBFEBFBFF) pcirouting: ignoring south bridge PCI.0.31.0 8086/1E5E LAPIC: fee00000 e0021000 ELCR: 0C80 cpu0: lapic clock at 100MHz cpu1: 1597MHz GenuineIntel P6 (cpuid: AX 0x306A9 CX 0x5BAE3BF DX 0xBFEBFBFF) rtl8169: unknown mac 8168 48800000 cpu1: lapic clock at 100MHz #S/sdE: ahci: sata-II with 2 ports #A0: hda mem e0023000 irq 10 #A0: codec #0, vendor 10ec0269, rev 00100100 #A0: codec #3, vendor 80862806, rev 00100000 3120M memory: 256M kernel data, 2864M user, 3489M swap sdE0: LLBA 976,773,168 sectors ST500LT012-9WS142 0001SDM1 S0V6GMBD [newdrive] sdE1: LBA 0 sectors MATSHITADVD-RAM UJ8D2Q 1.10 HQ55 145814 [newdrive] /dev/sdE0: ST500LT012-9WS142 /dev/sdE0/9fat dos /dev/sdE0/data /dev/sdE0/fs hjfs /dev/sdE0/nvram /dev/sdE0/plan9 /dev/sdE1: MATSHITADVD-RAM UJ8D2Q 1.10 bootargs is (tcp, il, local!device)[local!/dev/sdE0/fs -m 717] user[glenda]: hjfs: fs is /dev/sdE0/fs % pci -v 0.0.0: brg 06.00.00 8086/0154 0 Intel Corporation 0.2.0: vid 03.00.00 8086/0156 11 0:f0000004 4194304 1:00000000 16 2:e000000c 268435456 3:00000000 16 4:00003001 64 Intel Corporation 0.20.0: usb 0c.03.30 8086/1e31 11 0:f0700004 65536 1:00000000 16 Intel Corporation 0.22.0: ser 07.80.00 8086/1e3a 11 0:f0715004 16 1:00000000 16 Intel Corporation 0.26.0: usb 0c.03.20 8086/1e2d 11 0:f071a000 1024 Intel Corporation 0.27.0: aud 04.03.00 8086/1e20 10 0:f0710004 16384 1:00000000 16 Intel Corporation 0.28.0: brg 06.04.00 8086/1e10 11 Intel Corporation 0.28.2: brg 06.04.00 8086/1e14 7 Intel Corporation 0.28.3: brg 06.04.00 8086/1e16 11 Intel Corporation 0.29.0: usb 0c.03.20 8086/1e26 10 0:f0719000 1024 Intel Corporation 0.31.0: brg 06.01.00 8086/1e5e 0 Intel Corporation 0.31.2: disk 01.06.01 8086/1e03 11 0:00003089 16 1:00003095 16 2:00003081 16 3:00003091 16 4:00003061 32 5:f0718000 2048 Intel Corporation 0.31.3: smb 0c.05.00 8086/1e22 7 0:f0714004 256 1:00000000 16 4:0000efa1 32 Intel Corporation 2.0.0: --- ff.00.00 10ec/5289 11 Realtek 2.0.2: net 02.00.00 10ec/8168 7 0:00002001 256 2:f040400c 4096 3:00000000 16 4:f040000c 16384 5:00000000 16 Realtek RTL8167 PCIe Gigabit Ethernet Family Controller 3.0.0: net 02.80.00 14e4/4359 11 0:f0500004 16384 1:00000000 16 Broadcom Corporation % aux/icanhasmsi 0.2.0 0.20.0 0.22.0 0.27.0 0.28.0 0.28.2 0.28.3 0.31.2 2.0.0 2.0.2 3.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 4 none ehci ep4.0 enabled control rw speed high maxpkt 64 pollival 0 samplesz 0 hz 0 hub 3 port 1 idle ep9.0 enabled control rw speed full maxpkt 8 pollival 0 samplesz 0 hz 0 hub 7 port 2 busy ep6.0 enabled control rw speed high maxpkt 64 pollival 0 samplesz 0 hz 0 hub 3 port 4 idle ep7.0 enabled control rw speed high maxpkt 64 pollival 0 samplesz 0 hz 0 hub 1 port 1 busy hub csp 0x010009 ports 4 none ehci ep8.0 enabled control rw speed full maxpkt 64 pollival 0 samplesz 0 hz 0 hub 7 port 4 idle ep9.1 enabled interrupt r speed full maxpkt 8 pollival 8 samplesz 0 hz 0 hub 7 port 2 busy ep4.2 enabled bulk r speed high maxpkt 512 pollival 1 samplesz 0 hz 0 hub 3 port 1 busy ep4.3 enabled bulk w speed high maxpkt 512 pollival 1 samplesz 0 hz 0 hub 3 port 1 busy ep9.2 enabled interrupt r speed full maxpkt 8 pollival 2 samplesz 0 hz 0 hub 7 port 2 busy % cat '#'S/sdctl sdE ahci ahci port 0xe0020000: 64a ncq alp led clo pmb slum pslum ems apts alhd xonly smb elmt iss 3 ncs 31 np 4 ghc 80000002 isr 0 pi 11 0, 4 ver 10300 % cat '#'S/sdE0/ctl inquiry ST500LT012-9WS142 model ST500LT012-9WS142 serial S0V6GMBD firm 0001SDM1 wwn 5000c5006140c4a4 flag lba llba smart power nop ata8 sct udma 6 reg task 50 cmd c017 serr 0 ci 0 is 0 sig 101 sstatus 123 cmd cr fr pod sud st mode auto sataiii geometry 976773168 512 alignment 4096 0 missirq 0 part data 0 976773168 part plan9 63 976768065 part 9fat 63 204864 part nvram 204864 204872 part fs 204872 976768058 % cat '#'S/sdE1/ctl inquiry MATSHITADVD-RAM UJ8D2Q 1.10 model MATSHITADVD-RAM UJ8D2Q serial HQ55 145814 firm 1.10 flag lba nop atapi ata8 udma 6 reg task 2051 cmd c017 serr 0 ci 0 is 0 sig eb140101 sstatus 113 cmd cr fr pod sud st mode auto sataiii geometry 0 0 alignment 0 0 missirq 0 % cat '#'v/vgactl type vesa size 1408x768x8 m8 actualsize 1366x768 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 134152192 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 AUO edid serialstr edid name edid product 17900 edid serial 1 edid version 1.3 edid mfrdate 2011.1 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=69.3 shb=1374 ehb=1384 ht=1462 vrs=771 vre=772 vt=790 hsync=- vsync=- % xd -x1 '#'r/nvram 0000000 54 08 03 05 21 13 04 17 10 13 26 02 50 80 00 00 0000010 00 6e 11 5b 0e 74 02 ff ff af 98 73 13 ff f2 1b 0000020 b9 2f 71 4f 2a c6 17 3f 21 eb b2 7b 67 3b 0c fe 0000030 ff ff 20 bb d2 ff 01 b3 00 00 00 00 00 00 00 00 0000040 d8 a4 b3 ff a8 89 75 fc 9f 5a 52 a7 db 3f c6 44 0000050 93 df 89 73 7c 2d 3e 73 2a 98 30 91 1b ff 3c 5e 0000060 f5 7b 78 fe 41 2e d4 7a 1e 7b 16 4e c6 2a 9d cb 0000070 82 07 82 07 82 07 82 07 b6 ed fe 1e 73 67 56 ff 0000080 54 08 03 05 21 13 04 17 10 13 26 02 00 80 00 00 0000090 00 6e 11 5b 0e 74 02 ff ff af 98 73 13 ff f2 1b 00000a0 b9 2f 71 4f 2a c6 17 3f 21 eb b2 7b 67 3b 0c fe 00000b0 ff ff 20 bb d2 ff 01 b3 00 00 00 00 00 00 00 00 00000c0 d8 a4 b3 ff a8 89 75 fc 9f 5a 52 a7 db 3f c6 44 00000d0 93 df 89 73 7c 2d 3e 73 2a 98 30 91 1b ff 3c 5e 00000e0 f5 7b 78 fe 41 2e d4 7a 1e 7b 16 4e c6 2a 9d cb 00000f0 82 07 82 07 82 07 82 07 b6 ed fe 1e 73 67 56 ff 0000100 0000100 % cat '#'A/audiostat bufsize 1024 buffered 7144 codec 0 pin 20 inpin 29 aout 2 1d aout 3 1d beep 4 f00000 beep 5 f00000 aout 6 211 beep 7 f00000 ain 8 10011b ← amix 35 ain 9 10011b ← 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, amix 11 beep 16 f00000 beep 17 f00000 pin 18 in nothing ext rear speaker black beep 19 f00000 pin 20 out fix int N/A speaker ? eapd ← amix 12, amix 13 beep 21 f00000 beep 22 f00000 pin 23 out nothing ext rear speaker black ← amix 15 pin 24 inout nothing ext rear speaker black ← amix 13 pin 25 in nothing ext rear speaker black pin 26 inout nothing ext rear speaker black ← amix 12, amix 13 pin 27 inout fix int N/A micin ? ← amix 12, amix 13 beep 28 f00000 pin 29 in nothing ext N/A speaker pink pin 30 out nothing ext rear speaker black ← aout 6 beep 31 f00000 beep 32 f00040 pin 33 out jack ext left hpout black ← amix 12, amix 13 asel 34 30010b ← pin 24, pin 25, pin 26, pin 27, pin 29, amix 11, pin 18 amix 35 20010b ← pin 24, pin 25, pin 26, pin 27, pin 29, amix 11 codec 3 pin 20 inpin 29 aout 2 6611 aout 3 6611 aout 4 6611 pin 5 out jack int special digiout ? hdmi ← aout 2 pin 6 out nothing int special digiout ? hdmi ← aout 3 pin 7 out nothing int special digiout ? hdmi ← aout 4 beep 8 f00000 outpath aout 2 → amix 12 → pin 20 outamp aout 2 inpath pin 29 → amix 35 → ain 8 inamp ain 8 % cat '#'A/volume master 74 74 recgain 0 0 speed 44100 delay 1764 % cat /mnt/apm/ctl cat: can't open /mnt/apm/ctl: '/mnt/apm/ctl' does not exist