% cd '#ec'; for(i in *){echo $i '=' `{cat $i}} *e820 = 1 0x0000000000000000 0x000000000009e000 2 0x000000000009e000 0x00000000000a0000 2 0x00000000000ce000 0x00000000000d0000 2 0x00000000000e0000 0x0000000000100000 1 0x0000000000100000 0x00000000cff90000 3 0x00000000cff90000 0x00000000cffab000 4 0x00000000cffab000 0x00000000cffcf000 2 0x00000000cffcf000 0x00000000d0000000 2 0x00000000d0000000 0x00000000d7d00000 2 0x00000000d7d00000 0x00000000d7e00000 2 0x00000000d7e00000 0x00000000e0000000 2 0x00000000f8000000 0x00000000fc000000 2 0x00000000fec00000 0x00000000fec10000 2 0x00000000fee00000 0x00000000fee01000 2 0x00000000ff000000 0x0000000100000000 1 0x0000000100000000 0x00000001cf000000 2 0x00000001cf000000 0x00000001d0000000 bootfile = 9pc64 monitor = vesa mouseport = ps2intellimouse nobootprompt = nvram = #S/sdC0/nvram service = cpu tiltscreen = none vgasize = 1024x768x16 % cat '#'P/archctl cpu PentiumIII/Xeon 2593 pge pge on coherence mfence cmpswap cmpswap486 arch ACPI cache 0x0000000000000000 655360 wb cache 0x00000000000a0000 131072 uc cache 0x00000000000c0000 65536 wp cache 0x00000000000d0000 81920 uc cache 0x00000000000e4000 114688 wp cache 0x0000000000100000 3488612352 wb cache 0x00000000d0000000 805306368 uc cache 0x0000000100000000 4294967296 wb cache 0x0000000200000000 60129542144 uc % cat '#'P/irqalloc 1 -1 debugexc 2 -1 nmi 3 -1 debugpt 7 -1 mathemu 8 -1 doublefault 9 -1 mathover 14 -1 faultamd64 15 -1 unexpected 16 -1 matherror 19 -1 simderror 50 18 clock 51 19 lapicerror 63 31 lapicspurious 65 11 ether0 73 1 kbd 81 11 hda 89 11 ehci 89 11 uhci 89 11 uhci 97 10 uhci 97 10 uhci 105 5 ehci 105 5 uhci 105 5 uhci 113 14 sdC (ide) % cat '#'P/ioalloc 20 21 i8259.0 60 60 i8042.data 64 64 i8042.cs 70 71 rtc/nvr a0 a1 i8259.1 1f0 1f7 atacmd 2b0 2df vga 3c0 3da vga 3f6 3f6 atactl 400 407 PCI.0.31.2 408 40b PCI.0.31.2 40c 40f PCI.0.31.2 410 417 PCI.0.31.2 cf8 cfb pcicfg.addr cfc cff pcicfg.data fff fff dummy 1820 183f PCI.0.25.0 1840 185f usbuhci 1860 187f usbuhci 1880 189f usbuhci 18a0 18bf usbuhci 18c0 18df usbuhci 18e0 18ff usbuhci 1c00 1c1f PCI.0.31.3 1c20 1c2f PCI.0.3.2 1c30 1c3f PCI.0.31.2 1c40 1c4f PCI.0.31.2 1c50 1c5f PCI.0.31.5 1c60 1c6f PCI.0.31.5 1c70 1c77 PCI.0.2.0 1c78 1c7b PCI.0.3.2 1c7c 1c7f PCI.0.3.2 1c80 1c87 PCI.0.3.2 1c88 1c8f PCI.0.3.2 1c90 1c97 PCI.0.3.3 1cb0 1cb3 PCI.0.31.5 1cb4 1cb7 PCI.0.31.5 1cb8 1cbf PCI.0.31.5 1cc0 1cc7 PCI.0.31.5 % cat '#'c/config # pc64 - amd64 pc terminal with local disk dev root cons swap arch pnp pci env pipe proc mnt srv shr dup rtc tls cap kprof fs ether netif bridge log ip arp chandial ip ipv6 ipaux iproute netlog nullmedium pktmedium inferno draw screen vga vgax vgasoft mouse mouse kbd vga pci sd # floppy dma aoe # lpt audio dma # pccard # i82365 cis uart usb segment vmx dtracy link # devpccard pci # devi82365 cputemp pci # 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 etherx550 pci # ether83815 pci etherbcm pci # etherdp83820 pci ethermii # 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 etherwpi pci wifi etherrt2860 pci wifi ethervirtio pci ethervirtio10 pci ethermedium loopbackmedium netdevmedium # pcmciamodem usbuhci pci usbohci pci usbehci pci usbehcipc usbxhci pci # audiosb16 dma # audioac97 pci audioac97mix audiohda pci misc pci pcipc archgeneric devkbd i8259 i8253 archacpi mp apic squidboy ec hpet 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 sdvirtio10 pci sdscsi sdmmc pci pmmc sdnvme pci sdloop sdram uarti8250 uartisa uartpci pci vgasoft =cur swcursor # vga3dfx +cur # vgaark2000pv +cur # vgabt485 =cur # vgaclgd542x +cur # vgaclgd546x +cur # vgact65545 +cur # vgacyber938x +cur # vgaet4000 +cur # vgageode +cur # vgahiqvideo +cur # vgai81x +cur vgaigfx +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 dtracysys dtracytimer dtracydev ip tcp udp rudp ipifc icmp icmp6 gre ipmux esp il port int cpuserver = 0; bootdir /$objtype/bin/paqfs /$objtype/bin/auth/factotum bootfs.paq boot % cat '#'c/sysstat 0 3321457 8826541 6804651 654742 0 0 30 97 2 1 4774612 4979889 10485546 1848558 0 0 0 99 0 % cat '#'¶/swap 6956666880 memory 4096 pagesize 509522 kernel 87361/1148546 user 0/320000 swap 19735/1148546 reclaim 8738104/10095008/2069785344 kernel malloc 0/0/1862806810 kernel draw 1632/65568/16777216 kernel secret % awk /^Plan 9/{p=1} /^init: starting/{exit} {if(p)print} '#'c/kmesg awk: can't open file #c/kmesg source line 3 % pci -v 0.0.0: brg 06.00.00 8086/2e10 0 Intel Corporation 4 Series Chipset DRAM Controller 0.2.0: vid 03.00.00 8086/2e12 11 0:fc000004 4194304 2:e000000c 268435456 4:00001c71 8 Intel Corporation 4 Series Chipset Integrated Graphics Controller 0.2.1: vid 03.80.00 8086/2e13 0 0:fc400004 1048576 Intel Corporation 4 Series Chipset Integrated Graphics Controller 0.3.0: ser 07.80.00 8086/2e14 11 0:fc524004 16 Intel Corporation 4 Series Chipset HECI Controller 0.3.2: disk 01.01.85 8086/2e16 5 0:00001c89 8 1:00001c7d 4 2:00001c81 8 3:00001c79 4 4:00001c21 16 Intel Corporation 4 Series Chipset PT IDER Controller 0.3.3: ser 07.00.02 8086/2e17 10 0:00001c91 8 1:fc526000 4096 Intel Corporation 4 Series Chipset Serial KT Controller 0.25.0: net 02.00.00 8086/10de 11 0:fc500000 131072 1:fc527000 4096 2:00001821 32 Intel Corporation 82567LM-3 Gigabit Network Connection 0.26.0: usb 0c.03.00 8086/3a67 11 4:00001841 32 Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #4 0.26.1: usb 0c.03.00 8086/3a68 10 4:00001861 32 Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #5 0.26.2: usb 0c.03.00 8086/3a69 5 4:00001881 32 Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #6 0.26.7: usb 0c.03.20 8086/3a6c 5 0:fc528000 1024 Intel Corporation 82801JD/DO (ICH10 Family) USB2 EHCI Controller #2 0.27.0: aud 04.03.00 8086/3a6e 11 0:fc520004 16384 Intel Corporation 82801JD/DO (ICH10 Family) HD Audio Controller 0.29.0: usb 0c.03.00 8086/3a64 11 4:000018a1 32 Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #1 0.29.1: usb 0c.03.00 8086/3a65 10 4:000018c1 32 Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #2 0.29.2: usb 0c.03.00 8086/3a66 5 4:000018e1 32 Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #3 0.29.7: usb 0c.03.20 8086/3a6a 11 0:fc529000 1024 Intel Corporation 82801JD/DO (ICH10 Family) USB2 EHCI Controller #1 0.30.0: brg 06.04.01 8086/244e 255 Intel Corporation 82801 PCI Bridge 0.31.0: brg 06.01.00 8086/3a14 0 Intel Corporation 82801JDO (ICH10DO) LPC Interface Controller 0.31.2: disk 01.01.8a 8086/3a00 255 0:00000401 8 1:00000409 4 2:00000411 8 3:0000040d 4 4:00001c41 16 5:00001c31 16 Intel Corporation 82801JD/DO (ICH10 Family) 4-port SATA IDE Controller 0.31.3: smb 0c.05.00 8086/3a60 10 0:fc52a004 256 4:00001c01 32 Intel Corporation 82801JD/DO (ICH10 Family) SMBus Controller 0.31.5: disk 01.01.85 8086/3a06 5 0:00001cc1 8 1:00001cb5 4 2:00001cb9 8 3:00001cb1 4 4:00001c61 16 5:00001c51 16 Intel Corporation 82801JD/DO (ICH10 Family) 2-port SATA IDE Controller % aux/cpuid vendor GenuineIntel procmodel 0001067a / 00020800 typefammod 0 06 016 a 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 est tm2 ssse3 cx16 xtpr pdcm xsave extmodel 00000000 / 00000000 extfeatures syscall nx lm extfeatures ahf64 procname Pentium(R) Dual-Core CPU E5300 @ 2.60GHz physbits 36 virtbits 48 % aux/icanhasmsi open /dev/pci: '/dev/pci' './dev/pci' file does not exist % aux/icanhasvmx -v aux/icanhasvmx: open: '#P/msr' permission denied % aux/pcmcia pcmcia: opening #y/pcm0attr: unknown device in # filename % usbtree ep1.0: roothub csp 0x000009 ports 2 uhci ep2.0: roothub csp 0x000009 ports 2 uhci ep3.0: roothub csp 0x000009 ports 2 uhci ep4.0: roothub csp 0x000009 ports 2 uhci ep5.0: roothub csp 0x000009 ports 2 uhci ep6.0: roothub csp 0x000009 ports 2 uhci ep7.0: roothub csp 0x000009 ports 6 ehci ep8.0: roothub csp 0x000009 ports 6 ehci % cat '#'S/sdctl cat: can't open #S/sdctl: '#S/sdctl' permission denied % cat '#'S/sdC0/ctl cat: can't open #S/sdC0/ctl: '#S/sdC0/ctl' permission denied % cat '#'l0/ether0/addr 6cf049289c0e % cat '#'l0/ether0/stats in: 308791 link: 0 out: 297451 crc errs: 0 overflows: 0 soft overflows: 0 framing errs: 0 buffer errs: 0 output errs: 0 prom: 0 mbps: 0 addr: 6cf049289c0e % cat '#'l0/ether0/ifstats Good Packets Received: 308791 0 Broadcast Packets Received: 60 0 Multicast Packets Received: 98 0 Good Packets Transmitted: 297451 0 Good Octets Received: 45948060 0 Good Octets Transmitted: 44449741 0 Total Octets Received: 45948060 0 Total Octets Transmitted: 44449741 0 Total Packets Received: 308791 0 Total Packets Transmitted: 297451 0 Multicast Packets Transmitted: 2 0 Broadcast Packets Transmitted: 45 0 Interrupt Assertion: 300509 0 lintr: 1 2 rintr: 300512 300509 tintr: 0 0 ixcs: 308791 308262 308256 rdtr: 25 radv: 500 ctrl: 00100240 ctrlext: 01581000 status: 00080683 txcw: 00000000 txdctl: 00040004 pba: 000e000a speeds: 10:0 100:0 1000:0 ?:2 type: i82567 eeprom: f06c 2849 0e9c 0800 ffff 0043 ffff ffff ffff ffff 10c3 3048 17aa 10de 8086 0000 0000 0000 0000 a705 3020 0a00 0000 8d07 0684 2b40 4043 0000 10de baad 10de 10df baad baad baad baad 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0100 4000 1318 4013 ffff ffff ffff ffff ffff ffff ffff ffff ffff 0100 ffff 53c2 % cat '#'v/vgactl cat: can't open #v/vgactl: '#v/vgactl' permission denied @{rfork n; aux/realemu; aux/vga -p} aux/realemu: open iob: '#P/iob' permission denied mkvbe: '/dev/realmode' './dev/realmode' file does not exist aux/vga: controller not in /lib/vgadb, not vesa aux/vga: short bios read in dumpbios % xd -x1 '#'r/nvram xd: can't open #r/nvram % cat '#'A/audiostat bufsize 1024 buffered 0 codec 2 pin 18 inpin 26 aout 2 3031d ← 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 f00301 ← aout 2 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