% cd '#ec'; for(i in *){echo $i '=' `{cat $i}} *e820 = 1 0x0000000000000000 0x000000000009ec00 2 0x000000000009ec00 0x00000000000a0000 2 0x00000000000e0000 0x0000000000100000 1 0x0000000000100000 0x00000000bc6c0000 2 0x00000000bc6c0000 0x00000000bcec0000 4 0x00000000bcec0000 0x00000000bcfc0000 3 0x00000000bcfc0000 0x00000000bcfff000 1 0x00000000bcfff000 0x00000000bd000000 2 0x00000000bd000000 0x00000000bd800000 2 0x00000000bd800000 0x00000000bfa00000 2 0x00000000e0000000 0x00000000f0000000 2 0x00000000fec00000 0x00000000fec01000 2 0x00000000fed10000 0x00000000fed14000 2 0x00000000fed18000 0x00000000fed19000 2 0x00000000fed19000 0x00000000fed1a000 2 0x00000000fed1c000 0x00000000fed20000 2 0x00000000fee00000 0x00000000fee01000 2 0x00000000ffd80000 0x0000000100000000 1 0x0000000100000000 0x000000013f800000 bootargs = local!/dev/sdE0/fscache bootfile = 9pcf monitor = vesa mouseport = ps2 nvram = /dev/sdE0/nvram vgasize = 1366x768x32 % cat '#'P/archctl cat: error reading #P/archctl: mtrr index out of range % cat '#'P/irqalloc 3 0 debugpt 7 0 mathemu 8 0 doublefault 9 0 mathover 14 0 fault386 15 0 unexpected 16 0 matherror 32 0 clock 33 1 kbd 37 5 ether0 38 6 floppy 39 7 lpt 42 10 sdE (ahci) 42 10 ehci 42 10 ehci 43 11 hda 44 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 2000 20ff 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 etherwavelan wavelan devi82365 cis pci etheriwl 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 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$CON .out boot /$objtype/bin/paqfs /$objtype/bin/auth/factotum bootfs.paq % cat '#'c/swap 3156795392 memory 4096 pagesize 65536 kernel 181038/706241 user 0/160000 swap 3015392/194456736 kernel malloc 10688768/175011063 kernel draw % cat '#'c/sysstat 0 64694 50449 147600 268852 0 0 29 97 0 % awk /^Plan 9$/{p=1} /^init: starting/{exit} {if(p)print} '#'c/kmesg Plan 9 126 holes free 00018000 0009e000 548864 004b9000 10000000 263483392 264032256 bytes free cpu0: 2494M z Genuine ntel P6 (cpuid: AX 0x206A7 CX 0x17BAE3B DX 0xB EB B ) ELCR: 0C20 mapfree: unallocated unbacked physical memory: losing 0x EE01000, 16248832 mapfree: unallocated unbacked physical memory: losing 0x ED20000, 917504 mapfree: unallocated unbacked physical memory: losing 0x ED1A000, 8192 rtl8169: oui 0x732 phyno 1, macv = 0x2c000000 phyv = 0x0004 #l0: rtl8169: 100Mbps port 0x2000 irq 5: e4115b3ecd4a # /sdE: ahci: sata- with 2 ports #A0: hda mem e0001000 irq 11 #A0: codec #0, vendor 111d76d1, rev 00100205 #A0: codec #3, vendor 80862805, rev 00100000 3015M memory: 256M kernel data, 2758M user, 3383M swap sdE0: LLBA 976,773,168 sectors T9500423A 0003 PM1 6WR0 R 8 [newdrive] sdE1: LBA 0 sectors hp DVD-RAM U 8B1 .03 B4949602 [newdrive] /dev/sdE0: T9500423A /dev/sdE0/9fat dos /dev/sdE0/bsd386 /dev/sdE0/data /dev/sdE0/dos dos /dev/sdE0/fscache cwfs64x /dev/sdE0/fsworm /dev/sdE0/nvram /dev/sdE0/other /dev/sdE0/plan9 /dev/sdE1: hp DVD-RAM U 8B1 .03 bootargs is (tcp, il, local!device)[local!/dev/sdE0/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 ri un 14 22:42:58 2013 last boot Wed ul 10 12:31:09 2013 % pci -v 0.0.0: brg 06.00.00 8086/0104 0 ntel Corporation 0.2.0: vid 03.00.00 8086/0126 10 0:d4000004 4194304 1:00000000 16 2:c000000c 268435456 3:00000000 16 4:00005001 64 ntel Corporation 0.22.0: ser 07.80.00 8086/1c3a 10 0:d4a04004 16 1:00000000 16 ntel Corporation 0.26.0: usb 0c.03.20 8086/1c2d 10 0:d4a09000 1024 ntel Corporation 0.27.0: aud 04.03.00 8086/1c20 11 0:d4a00004 16384 1:00000000 16 ntel Corporation 0.28.0: brg 06.04.00 8086/1c10 5 ntel Corporation 0.28.1: brg 06.04.00 8086/1c12 10 ntel Corporation 0.28.2: brg 06.04.00 8086/1c14 10 ntel Corporation 0.28.3: brg 06.04.00 8086/1c16 10 ntel Corporation 0.28.5: brg 06.04.00 8086/1c1a 10 ntel Corporation 0.28.7: brg 06.04.00 8086/1c1e 10 ntel Corporation 0.29.0: usb 0c.03.20 8086/1c26 10 0:d4a08000 1024 ntel Corporation 0.31.0: brg 06.01.00 8086/1c49 0 ntel Corporation 0.31.2: disk 01.06.01 8086/1c03 10 0:00005069 16 1:00005075 16 2:00005061 16 3:00005071 16 4:00005041 32 5:d4a07000 2048 ntel Corporation 35.0.0: --- 08.80.00 197b/2392 10 0:d4803000 256 Micron Technology Corp. 35.0.2: --- 08.05.01 197b/2391 10 0:d4802000 256 Micron Technology Corp. 35.0.3: --- 08.80.00 197b/2393 10 0:d4801000 256 Micron Technology Corp. 36.0.0: net 02.80.00 168c/002b 10 0:d4700004 65536 1:00000000 16 Atheros Communications nc. AR5B95 Atheros AR5B95 Wireless LAN 802.11 a/b/g/n Controller 37.0.0: net 02.00.00 10ec/8168 5 0:00002001 256 2:d440400c 4096 3:00000000 16 4:d440000c 16384 5:00000000 16 Realtek RTL8167 PC e Gigabit Ethernet amily Controller 38.0.0: usb 0c.03.30 1033/0194 5 0:d4500004 8192 1:00000000 16 NEC Electronics NEC U B 3.0 Driver Renesas Electronics U B 3.0 ost Controller % aux/icanhasmsi 0.2.0 0.22.0 0.27.0 0.28.0 0.28.1 0.28.2 0.28.3 0.28.5 0.28.7 0.31.2 35.0.0 35.0.2 35.0.3 36.0.0 37.0.0 38.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 low maxpkt 8 pollival 0 samplesz 0 hz 0 hub 3 port 1 busy ep5.0 enabled control rw speed high maxpkt 64 pollival 0 samplesz 0 hz 0 hub 3 port 4 idle ep6.0 enabled control rw speed full maxpkt 64 pollival 0 samplesz 0 hz 0 hub 3 port 6 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 6 none ehci ep8.0 enabled control rw speed full maxpkt 8 pollival 0 samplesz 0 hz 0 hub 7 port 1 idle ep4.1 enabled interrupt r speed low maxpkt 8 pollival 10 samplesz 0 hz 0 hub 3 port 1 busy ep4.2 enabled interrupt r speed low maxpkt 8 pollival 10 samplesz 0 hz 0 hub 3 port 1 busy % cat '#' /sdctl sdE ahci ahci port 0xe0000000: 64a ncq ntf ss alp led clo pmb slum pslum ems apts alhd xonly smb elmt iss 3 ncs 31 np 6 ghc 80000002 isr 0 pi 3 0-1 ver 10300 % cat '#' /sdE0/ctl inquiry T9500423A model T9500423A serial 6WR0 R 8 firm 0003 PM1 wwn 5000c5004a4c3253 flag lba llba smart power 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 314560512 part dos 314572923 524288016 part bsd386 524288016 975175677 part 9fat 63 204864 part nvram 204864 204872 part other 204872 45112824 part fscache 45112824 90020776 part fsworm 90020776 314560504 % cat '#' /sdE1/ctl inquiry hp DVD-RAM U 8B1 .03 model hp DVD-RAM U 8B1 serial B4949602 firm .03 flag lba nop atapi ata8 udma 5 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 0 % cat '#'l0/ether0/addr e4115b3ecd4a % cat '#'l0/ether0/stats in: 23 link: 1 out: 19 crc errs: 0 overflows: 0 soft overflows: 0 framing errs: 0 buffer errs: 0 output errs: 0 prom: 0 mbps: 100 addr: e4115b3ecd4a % cat '#'l0/ether0/ifstats TxOk: 18 RxOk: 19 TxEr: 0 RxEr: 0 MissPkt: 0 AE: 0 Tx1Col: 0 TxMCol: 0 RxOkPh: 19 RxOkBrd: 0 RxOkMu: 0 TxAbt: 0 TxUndrn: 0 serr: 0 fovw: 0 txdu: 0 tcpf: 0 udpf: 0 ipf: 0 fovf: 0 rer: 0 rdu: 0 punlc: 1 tcr: 0x2f200700 rcr: 0x0000e70e multicast: 0 phy: 1000 796d 001c c914 01e1 4de1 0005 2001 0000 0300 0000 0000 0000 0000 0000 3000 01ee 6c1c 0000 0000 0040 0006 4100 2100 0000 8c00 0040 0162 0c6c 8fbc 0123 0000 % cat '#'v/vgactl type vesa size 1376x768x32 x8r8g8b8 actualsize 1366x768 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| linear| snarf vesa sig VE A 3.0 vesa oem ntel(R) andybridge Mobile Graphics Chipset Accelerated VGA B O 1.0 vesa vendor ntel Corporation vesa product ntel(R) andybridge Mobile Graphics Controller vesa rev ardware Version 0.0 vesa cap 8-bit-dac vesa mem 33488896 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 (unoffered) vesa mode 0x17e 1366x768x16 r5g6b5 direct (unoffered) vesa mode 0x17f 1366x768x32 x8r8g8b8 direct (unoffered) edid mfr CMO edid serialstr edid name edid product 5537 edid serial 0 edid version 1.3 edid mfrdate 2009.53 edid size (cm) 35x19 edid gamma 2.20 edid vert ( z) 0-0 edid horz ( z) 0-0 edid pclkmax 0 edid flags digital edid 1366x768@60 z clock=69.3 shb=1382 ehb=1416 ht=1466 vrs=770 vre=776 vt=788 hsync=- vsync=- % xd -x1 '#'r/nvram 0000000 57 55 32 47 12 16 04 10 07 13 26 02 50 80 00 00 0000010 40 00 f0 00 0f 80 02 00 3c 01 00 00 00 00 00 00 0000020 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 02 fd 0000030 00 3c 20 00 00 00 00 00 00 00 00 00 00 00 00 00 0000040 00 00 00 00 00 00 00 00 00 0f 00 00 00 00 00 00 0000050 0a 01 2f 0f 0f 00 0f 00 00 04 00 00 00 00 00 00 0000060 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00 8b 0000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0000080 57 55 32 47 12 16 04 10 07 13 26 02 00 80 00 00 0000090 40 00 f0 00 0f 80 02 00 3c 01 00 00 00 00 00 00 00000a0 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 02 fd 00000b0 00 3c 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00000c0 00 00 00 00 00 00 00 00 00 0f 00 00 00 00 00 00 00000d0 0a 01 2f 0f 0f 00 0f 00 00 04 00 00 00 00 00 00 00000e0 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00 8b 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 0 codec 0 pin 11 inpin 17 pin 10 inout nothing ext N/A other ? eapd pin 11 out jack ext front hpout green eapd pin 12 inout jack ext front micin black eapd pin 13 out fix int N/A speaker ? eapd pin 15 inout nothing ext N/A other ? eapd pin 17 in fix int N/A micin ? codec 3 pin 11 inpin 17 pin 5 out nothing int special digiout ? hdmi pin 6 out nothing int special digiout ? hdmi pin 7 out jack int special digiout ? hdmi outpath aout 19 d0c05 0 0 → pin 11 400581 221401f 1001c inpath pin 17 400483 90a60130 24 → asel 23 300d0d 0 0 → ain 21 1d0541 0 0 % 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