% cd '#ec'; for(i in *){echo $i '=' `{cat $i}} *acpi = 1 auth = 192.168.0.59 bootargs = local!/dev/sd 0/fs -m 438 bootfile = 9pcf e820 = 0000000000000000 000000000009d800 0000000000100000 000000007d6b0000 monitor = vesa mouseport = ps2 vgasize = 1024x768x16 % cat '#'P/archctl cpu Xeon5000-series 1995 pge pge on coherence mfence cmpswap cmpswap486 i8253set on cache default uc cache 0xe0000000 67108864 wc cache 0x0 2147483648 wb cache 0x7d700000 1048576 uc cache 0x7d800000 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 50 18 clock 51 19 lapicerror 63 31 lapicspurious 65 1 kbd 73 11 ether0 81 11 ether1 89 6 floppy 97 11 hda 105 11 uhci 113 11 uhci 121 10 uhci 129 11 uhci 137 11 ehci 145 11 ehci 153 10 sd (ahci) 161 7 lpt 169 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 3e0 3e1 i82365.0 3f0 3f5 floppy 3f7 3f7 floppy fff fff dummy 1860 187f usbuhci 1880 189f usbuhci 18a0 18bf usbuhci 18c0 18df usbuhci % 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 2098208768 memory 4096 pagesize 65536 kernel 1658/448176 user 0/160000 swap 3015392/219269760 kernel malloc 4194368/197342784 kernel draw % cat '#'c/sysstat 0 92772 9503 23719 18436 0 0 69 95 0 1 109356 11792 34369 16627 0 0 0 97 0 % awk /^Plan 9$/{p=1} /^init: starting/{exit} {if(p)print} '#'c/kmesg Plan 9 126 holes free 0x18000 0x9d000 85000 0x633000 0x10000000 f9cd000 262479872 bytes free cpu0: 1995M z Genuine ntel Xeon5000-series (cpuid: AX 0x06FB CX 0x 3B X 0xBF BFBFF) LAP C: fee00000 0xe0023000 LC : 0C00 cpu0: lapic clock at 199M z cpu1: 1995M z Genuine ntel Xeon5000-series (cpuid: AX 0x06FB CX 0x 3B X 0xBF BFBFF) #Y0: icoh 476 PC /Cardbus bridge, 7 FF000 intl 10 cpu1: lapic clock at 200M z #l0: i82566: 1000Mbps port 0xF8200000 irq 11: 001d728269f1 #l1: iwl: 54Mbps port 0xF7F00000 irq 11: 001de09ae897 #S/sd : ich: sata- with 1 ports #A0: hda mem e0048000 irq 11 hda: invalid connection 2:aout[0] -> 1 #A0: codec #0, vendor 11d41984, rev 00100400 ehci 0xe004cc00: bios timed out ehci 0xe004d000: bios timed out 2007M memory: 256M kernel data, 1750M user, 2375M swap #l1: wifi disabled by switch sd 0: LLBA 156,301,488 sectors TAC TS542580K9SA00 BBBZC3 P 080104BB0B02WFGL5WWA [newdrive] /dev/sd 0: TAC TS542580K9SA00 /dev/sd 0/9fat dos /dev/sd 0/data /dev/sd 0/dos dos /dev/sd 0/fs hjfs /dev/sd 0/linux /dev/sd 0/linuxswap /dev/sd 0/nvram /dev/sd 0/plan9 bootargs is (tcp, il, local!device)[local!/dev/sd 0/fs -m 438] tcp user[glenda]: ethan secstore: can't dial tcp!192.168.0.59!5356 auth/secstore: secstore authentication failed post... !Adding key: dom=ethan.home proto=p9sk1 user[ethan]: password: ! % pci -v 0.0.0: brg 06.00.00 8086/2a00 0 ntel Corporation 0.2.0: vid 03.00.00 8086/2a02 10 0:f8000004 1048576 1:00000000 16 2:e000000c 268435456 3:00000000 16 4:00001801 16 ntel Corporation 02091028 ntel GM965, ntel X3100 0.2.1: vid 03.80.00 8086/2a03 0 0:f8100004 1048576 1:00000000 16 ntel Corporation 82Q965 ntel GM 0.25.0: net 02.00.00 8086/1049 11 0:f8200000 131072 1:f8225000 4096 2:00001841 32 ntel Corporation 82566MM N C Gigabit Network Connection nterface Controller 0.26.0: usb 0c.03.00 8086/2834 11 4:00001861 32 ntel Corporation 0.26.1: usb 0c.03.00 8086/2835 11 4:00001881 32 ntel Corporation 0.26.7: usb 0c.03.20 8086/283a 11 0:f8426c00 1024 ntel Corporation 81 C1043 (?) C 8 nhanced USB2 nhanced ost Controller 0.27.0: aud 04.03.00 8086/284b 11 0:f8220004 16384 1:00000000 16 ntel Corporation 888 Microsoft UAA bus for audio 0.28.0: brg 06.04.00 8086/283f 11 ntel Corporation 0.28.1: brg 06.04.00 8086/2841 11 ntel Corporation 0.29.0: usb 0c.03.00 8086/2830 10 4:000018a1 32 ntel Corporation 0.29.1: usb 0c.03.00 8086/2831 11 4:000018c1 32 ntel Corporation 0.29.7: usb 0c.03.20 8086/2836 11 0:f8427000 1024 ntel Corporation 0.30.0: brg 06.04.01 8086/2448 255 ntel Corporation 82801BAM/CAM/ BM ub nterface to PC Bridge 0.31.0: brg 06.01.00 8086/2811 0 ntel Corporation 0.31.2: disk 01.06.01 8086/2829 10 0:00001c09 16 1:0000183d 16 2:00001c01 16 3:00001839 16 4:000018e1 32 5:f8426000 2048 ntel Corporation 82801 BM A C Controller 0.31.3: smb 0c.05.00 8086/283e 11 0:f8427400 256 4:00001c21 32 ntel Corporation PC \ N_8086& _283 &SUBSYS_20A917AA& _03\3&B1B SM Bus Controller 3.0.0: net 02.80.00 8086/4230 11 0:f7f00004 8192 1:00000000 16 ntel Corporation ntel 4965AGN ntel® Wireless WiFi Link 4965AGN 5.0.0: brg 06.07.00 1180/0476 10 icoh unknown CO SmartCard eader 5.0.1: --- 0c.00.10 1180/0832 11 0:d7efe800 2048 icoh 30CF103C 1394 (4 pin firewire) chip) 5.0.2: --- 08.05.00 1180/0822 11 0:d7efe400 256 icoh 5C832 S A Standard Compliant S ost Controller % aux/icanhasmsi 0.2.0 0.25.0 0.27.0 0.28.0 0.28.1 0.31.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 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 high maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0 port 0 busy roothub csp 0x000009 ports 4 ehci ep6.0 enabled control rw speed high maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0 port 0 busy roothub csp 0x000009 ports 4 ehci ep7.0 enabled control rw speed high maxpkt 64 pollival 0 samplesz 0 hz 0 hub 5 port 4 busy hub csp 0x020009 ports 4 none ehci % cat '#'S/sdctl sd ahci ich port 0xe0047000: 64a ncq ntf alp led clo pmb slum pslum coal iss 1 ncs 31 np 3 ghc 80000002 isr 0 pi 1 0 ver 10100 % cat '#'S/sd 0/ctl inquiry TAC TS542580K9SA00 model TAC TS542580K9SA00 serial 080104BB0B02WFGL5WWA firm BBBZC3 P wwn 5000cca52fc844d3 flag lba llba smart power nop ata8 sct udma 6 reg task 50 cmd c017 serr 0 ci 0 is 0 sig 101 sstatus 113 cmd cr fr pod sud st mode auto satai geometry 156301488 512 alignment 512 0 missirq 0 part data 0 156301488 part plan9 15120 20971440 part dos 20971440 83885760 part linuxswap 83885760 88074000 part linux 88074000 156295440 part 9fat 15120 219920 part nvram 219920 219921 part fs 219921 20971440 % cat '#'l0/ether0/addr 001d728269f1 % cat '#'l0/ether0/stats in: 4762 link: 0 out: 3893 crc errs: 0 overflows: 0 soft overflows: 0 framing errs: 0 buffer errs: 0 output errs: 0 prom: 0 mbps: 0 addr: 001d728269f1 % cat '#'l0/ether0/ifstats Good Packets eceived: 4785 27 Broadcast Packets eceived: 1 0 Good Packets Transmitted: 3920 27 Good Octets eceived: 3690029 2193 Good Octets Transmitted: 334732 2094 Total Octets eceived: 3690029 2193 Total Octets Transmitted: 334732 2094 Total Packets eceived: 4785 27 Total Packets Transmitted: 3920 27 Broadcast Packets Transmitted: 4 0 nterrupt Assertion: 4646 27 lintr: 1 2 rintr: 4645 4646 tintr: 0 0 ixcs: 4785 4783 4780 rdtr: 25 radv: 500 ctrl: 00140240 ctrlext: 41580000 status: 00080663 txcw: 00000000 txdctl: 00040004 pba: 00080008 speeds: 10:0 100:0 1000:0 ?:2 type: i82566 % cat '#'v/vgactl type vesa size 1024x768x16 r5g6b5 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| linear|Fsnarf vesa sig SA 3.0 vesa oem ntel(r)Crestline Graphics Chip Accelerated GA B OS 1.0 vesa vendor ntel Corporation vesa product ntel(r)Crestline Graphics Controller vesa rev ardware ersion 0.0 vesa cap 8-bit-dac vesa mem 7798784 vesa mode 0x160 768x480x8 m8 packed vesa mode 0x161 768x480x16 r5g6b5 direct vesa mode 0x162 768x480x32 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 edid mfr L N edid serialstr edid name edid product 16384 edid serial 0 edid version 1.3 edid mfrdate 2006.48 edid size (cm) 25x18 edid gamma 2.20 edid vert ( z) 0-0 edid horz ( z) 0-0 edid pclkmax 0 edid flags digital standby suspend activeoff edid 640x480@60 z clock=25.175 shb=648 ehb=792 ht=800 vrs=490 vre=492 vt=525 hsync=- vsync=- edid 800x600@60 z clock=40 shb=800 ehb=1056 ht=1056 vrs=601 vre=605 vt=628 hsync=+ vsync=+ edid 1024x768@60 z clock=65 shb=1024 ehb=1344 ht=1344 vrs=771 vre=777 vt=806 hsync=- vsync=- edid 1024x768@50 z clock=54.16 shb=1048 ehb=1184 ht=1344 vrs=771 vre=777 vt=806 hsync=- vsync=- edid 1024x768@40 z clock=43.33 shb=1048 ehb=1184 ht=1344 vrs=771 vre=777 vt=806 hsync=- vsync=- % xd -x1 '#'r/nvram 0000000 51 48 49 11 18 08 06 30 05 14 26 02 50 80 00 00 0000010 00 00 00 00 03 7a 02 00 fc 01 00 03 00 9f 05 00 0000020 00 02 00 00 00 00 05 00 00 bb bb 01 00 00 03 a1 0000030 00 fc 20 8c c1 07 70 79 00 00 00 00 00 00 00 00 0000040 08 44 b0 bb 00 03 bb d4 2b 87 d0 30 80 00 00 00 0000050 00 00 c0 05 52 fc 2f 1f 00 5b 0f 02 00 00 00 04 0000060 04 00 ff ef f3 a0 01 71 20 07 00 f2 a1 01 47 04 0000070 c0 fe 00 07 92 00 c3 ff ff 63 00 00 49 53 b2 00 0000080 51 48 49 11 18 08 06 30 05 14 26 02 40 80 00 00 0000090 00 00 00 00 03 7a 02 00 fc 01 00 03 00 9f 05 00 00000a0 00 02 00 00 00 00 05 00 00 bb bb 01 00 00 03 a1 00000b0 00 fc 20 8c c1 07 70 79 00 00 00 00 00 00 00 00 00000c0 08 44 b0 bb 00 03 bb d4 2b 87 d0 30 80 00 00 00 00000d0 00 00 c0 05 52 fc 2f 1f 00 5b 0f 02 00 00 00 04 00000e0 04 00 ff ef f3 a0 01 71 20 07 00 f2 a1 01 47 04 00000f0 c0 fe 00 07 92 00 c3 ff ff 63 00 00 49 53 b2 00 0000100 0000100 % cat '#'A/audiostat bufsize 1024 buffered 0 codec 0 pin 17 inpin 26 aout 2 30311 ← , ain 8, ain 9 aout 3 405 aout 4 405 ain 5 10050b ← pin 23 ain 6 10050b ← pin 24 amix 7 200103 ← asel 34, asel 33 ain 8 100501 ← asel 12 ain 9 100501 ← asel 13 amix 10 200103 ← aout 4, asel 33 amix 11 200103 ← asel 15, asel 33 asel 12 30010d ← pin 20, pin 21, pin 22, amix 32, asel 37 asel 13 30010d ← pin 20, pin 21, pin 22, amix 32, asel 37 asel 14 300101 ← aout 3, aout 4 asel 15 300101 ← aout 3, aout 4 beep 16 70000c pin 17 out jack ext right hpout green ← amix 7 pin 18 out fix int N/A speaker ? eapd ← amix 10 pin 19 out nothing int rear speaker ? eapd ← amix 31 pin 20 in jack ext right micin red pin 21 in fix int N/A micin ? pin 22 inout nothing int special cd ? ← amix 11 pin 23 in nothing int top micin ? pin 24 in nothing int top micin ? power 25 500500 ← amix 32, asel 33 pin 26 in fix int rear other black pin 27 out nothing sep rear spdifout black ← aout 2 pin 28 inout jack sep rear micin red ← amix 36 beep 29 f00100 ← amix 7, power 25, amix 10, amix 11, asel 12, asel 13, asel 14, asel 15, pin 26, pin 28, pin 17, pin 18, pin 19, pin 20, pin 21, pin 22, amix 30, amix 31, amix 32, asel 33, asel 34, asel 35, amix 36, asel 37, beep 38 amix 30 200103 ← asel 14, asel 33 amix 31 200100 ← amix 30 amix 32 20010b ← pin 20, pin 21, pin 22, pin 26, asel 37 asel 33 30010d ← amix 32 asel 34 300101 ← aout 3, aout 4 asel 35 300101 ← aout 3, aout 4 amix 36 200103 ← asel 35, asel 33 asel 37 30010d ← pin 28 beep 38 f00100 ← pin 20, pin 21, pin 28 outpath aout 3 → asel 34 → amix 7 → pin 17 outamp aout 3 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