% cd '#ec'; for(i in *){echo $i '=' `{cat $i}} *e820 = 1 0x0000000000000000 0x000000000009fc00 2 0x000000000009fc00 0x00000000000a0000 2 0x00000000000e6000 0x0000000000100000 1 0x0000000000100000 0x000000009fe2f800 4 0x000000009fe2f800 0x000000009fe3ea2b 4 0x000000009ff2f800 0x000000009ff30000 3 0x000000009ff30000 0x000000009ff40000 4 0x000000009ff40000 0x000000009fff0000 2 0x000000009fff0000 0x00000000a0000000 2 0x00000000e0000000 0x00000000f0000000 2 0x00000000fed13000 0x00000000fed14000 2 0x00000000fed14000 0x00000000fed18000 2 0x00000000fed18000 0x00000000fed19000 2 0x00000000fed19000 0x00000000fed1a000 2 0x00000000fed1c000 0x00000000fed20000 2 0x00000000fed20000 0x00000000feda0000 bootfile = 9pc64 ether0 = type=rtl8139 monitor = vesa mouseport = ps2 nobootprompt = local!/dev/sdE0/fs -m 384 -A service = cpu user = hachikuji vgasize = 1280x1024x32 % cat '#'P/archctl cpu P4 3202 pge pge on coherence mfence cmpswap cmpswap486 arch _MP_ cache default uc cache 0x0 4294967296 wb cache 0xa0000000 536870912 uc cache 0xc0000000 1073741824 uc % cat '#'P/irqalloc 1 0 debugexc 3 0 debugpt 7 0 mathemu 8 0 doublefault 9 0 mathover 14 0 faultamd64 15 0 unexpected 16 0 matherror 19 0 simderror 50 18 clock 51 19 lapicerror 63 31 lapicspurious 65 3 ether0 73 1 kbd 81 10 hda 89 9 ehci 89 9 uhci 97 11 sdE (ide) 97 11 uhci 105 5 uhci 113 10 uhci 121 14 sdC (ide) % cat '#'P/ioalloc 20 21 i8259.0 40 43 i8253 60 60 i8042.data 61 61 i8253.cntr2c 64 64 i8042.cs 70 71 rtc/nvr a0 a1 i8259.1 1f0 1f7 atacmd 2b0 2df vga 3c0 3da vga 3f6 3f6 atactl fff fff dummy b800 b8ff rtl8139 cc00 cc1f usbuhci d000 d01f usbuhci d400 d41f usbuhci d800 d81f usbuhci e002 e002 atactl e400 e407 atacmd % cat '#'c/config # pc64 - amd64 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 ethermedium nullmedium pktmedium inferno draw screen vga vgax swcursor mouse mouse kbd vga sd # floppy dma aoe # lpt audio dma # pccard # i82365 cis uart usb segment vmx link # devpccard # devi82365 cputemp # 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 etherwpi pci wifi etherrt2860 pci wifi ethervirtio pci ethermedium # pcmciamodem netdevmedium loopbackmedium usbuhci usbohci usbehci usbehcipc usbxhci pci # audiosb16 dma # audioac97 audioac97mix audiohda misc archacpi mp apic squidboy ec 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 sdnvme pci 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 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 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 349946064 1176637603 818444335 14270307 0 0 109 95 0 % cat '#'¶/swap cat: can't open #¶/swap: unknown device in # filename % awk /^Plan 9/{p=1} /^init: starting/{exit} {if(p)print} '#'c/kmesg Plan 9 126 holes free 0x00020000 0x0009f000 520192 0x004d6000 0x3027f000 802852864 803373056 bytes free cpu0: 3201MHz GenuineIntel P4 (AX 00000F43 CX 0000649D DX BFEBFBFF) LAPIC: fee00000 0xffffff00fee00000 ELCR: 0E28 cpu0: lapic clock at 200MHz pcirouting: PCI.0.1.0 at pin 1 link 60 irq 255 -> 10 pcirouting: PCI.0.31.1 at pin 1 link 62 irq 255 -> 5 pcirouting: PCI.0.28.1 at pin 2 link 60 irq 255 -> 10 pcirouting: PCI.0.28.2 at pin 3 link 62 irq 255 -> 5 pcirouting: PCI.0.28.3 at pin 4 link 63 irq 255 -> 11 #l0: rtl8139: 100Mbps port 0xB800 irq 3: 00804853efe5 #A0: hda mem ffffff00fe5fc000 irq 10 #A0: codec #2, vendor 10ec0880, rev 00100800 uhci: 0x8086 0x2658: port 0xcc00 size 0x20 irq 9 uhci: 0x8086 0x2659: port 0xd000 size 0x20 irq 11 uhci: 0x8086 0x265a: port 0xd400 size 0x20 irq 5 uhci: 0x8086 0x265b: port 0xd800 size 0x20 irq 10 usbehci: 0x8086 0x265c: port 0xfe5fbc00 size 0x400 irq 9 2558M memory: 798M kernel data, 1760M user, 2385M swap hjfs: fs is /dev/sdE0/fs 2 keys read in AES format % pci -v 0.0.0: brg 06.00.00 8086/2580 0 Intel Corporation 82915G/P/GV/GL/PL/910GL Memory Controller Hub 0.1.0: brg 06.04.00 8086/2581 10 Intel Corporation 82915G/P/GV/GL/PL/910GL PCI Express Root Port 0.27.0: aud 04.03.00 8086/2668 10 0:fe5fc004 16384 Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller 0.28.0: brg 06.04.00 8086/2660 255 Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 0.28.1: brg 06.04.00 8086/2662 10 Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 0.28.2: brg 06.04.00 8086/2664 5 Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 0.28.3: brg 06.04.00 8086/2666 11 Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 4 0.29.0: usb 0c.03.00 8086/2658 9 4:0000cc01 32 Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 0.29.1: usb 0c.03.00 8086/2659 11 4:0000d001 32 Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 0.29.2: usb 0c.03.00 8086/265a 5 4:0000d401 32 Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 0.29.3: usb 0c.03.00 8086/265b 10 4:0000d801 32 Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 0.29.7: usb 0c.03.20 8086/265c 9 0:fe5fbc00 1024 Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller 0.30.0: brg 06.04.01 8086/244e 255 Intel Corporation 82801 PCI Bridge 0.31.0: brg 06.01.00 8086/2640 0 Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge 0.31.1: disk 01.01.8a 8086/266f 5 0:00000001 16 1:00000001 16 2:00000001 16 3:00000001 16 4:0000ffa1 16 Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller 0.31.2: disk 01.01.8f 8086/2651 11 0:0000ec01 16 1:0000e801 16 2:0000e401 16 3:0000e001 16 4:0000dc01 16 Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA Controller 0.31.3: smb 0c.05.00 8086/266a 11 4:0000c801 32 Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller 6.1.0: net 02.00.00 10ec/8139 3 0:0000b801 256 1:fe611000 256 Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast Ethernet Adapter 6.8.0: net 02.00.00 8086/1064 9 0:fe610000 4096 1:0000bc01 64 Intel Corporation 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller % aux/cpuid vendor GenuineIntel procmodel 00000f43 / 00020800 typefammod 0 0f 00f 3 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 est cid cx16 xtpr extmodel 00000000 / 00000000 extfeatures syscall nx lm procname Intel(R) Pentium(R) 4 CPU 3.20GHz physbits 36 virtbits 48 % aux/icanhasmsi open /dev/pci: '/dev/pci' './dev/pci' file does not exist % aux/icanhasvmx -v aux/icanhasvmx: CPU does not support VMX % aux/pcmcia pcmcia: opening #y/pcm0attr: unknown device in # filename % cat '#'u/usb/ctl ep1.0 enabled control rw speed full maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0 port 0 rootport 0 addr 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 rootport 0 addr 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 rootport 0 addr 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 rootport 0 addr 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 rootport 0 addr 0 busy roothub csp 0x000009 ports 8 ehci % cat '#'S/sdctl sdC ata port 1F0 ctl 3F4 irq 14 sdE ata port E400 ctl E000 irq 11 % cat '#'S/sdC0/ctl inquiry _NEC DVD_RW ND-3550A config 8580 capabilities 0B00 dma 00550004 dmactl 00550004 model _NEC DVD_RW ND-3550A serial firm 1.05 feat lba atapi missirq 0 sloop 0 irq 179 178 bsy 0 0 nildrive 1 % cat '#'S/sdE0/ctl inquiry ST3200826AS config 0C5A capabilities 2F00 dma 00550020 dmactl 00550020 rwm 16 rwmctl 0 lba48always off model ST3200826AS serial 4ND0T7WX firm 3.03 feat lba llba smart geometry 390721968 512 alignment 512 0 missirq 0 sloop 0 irq 19812 19809 bsy 0 0 nildrive 3 part data 0 390721968 part plan9 63 390716865 part 9fat 63 204863 part nvram 204863 204864 part fs 204864 390716865 % cat '#'l0/ether0/addr 00804853efe5 % cat '#'l0/ether0/stats in: 4851212 link: 0 out: 9248948 crc errs: 0 overflows: 0 soft overflows: 0 framing errs: 0 buffer errs: 0 output errs: 0 prom: 0 mbps: 100 addr: 00804853efe5 % cat '#'l0/ether0/ifstats rcr 0x00009f0e multicast 0 ierrs 6 etxth 4 taligned 60248 tunaligned 9188539 dis 3 fcscnt 2159 rec 47 Tcr 0x74400700 Config0 0x14 Config1 0x8d Msr 0x10 Config3 0xe5 Config4 0x88 Bmcr 0x1100 Bmsr 0x782d Anar 0x01e1 Anlpar 0x45e1 Aner 0x0001 Nwaytr 0x0704 Cscr 0x07c8 % cat '#'v/vgactl type cga hwgc off hwaccel off hwblank off panning off addr p 0x0 v 0x0 size 0x0 softscreen off @{rfork n; aux/realemu; aux/vga -p} dbvesa: VBE error 0x4f00 aux/vga: controller not in /lib/vgadb, not vesa vga misc FF vga feature FF vga sequencer FF FF FF FF FF vga crt FF FF FF FF FF FF FF FF - FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF - FF vga graphics FF FF FF FF FF FF FF FF - FF vga attribute FF FF FF FF FF FF FF FF - FF FF FF FF FF FF FF FF FF FF FF FF FF vga virtual 0 0 vga panning off vga apz 0 vga linear 0 % xd -x1 '#'r/nvram 0000000 40 08 52 11 22 18 06 18 01 19 26 02 70 a5 00 00 0000010 00 50 00 00 0e 80 02 ff ff 00 00 ff 3f 10 00 00 0000020 3f ff 3f 10 00 00 3f 2f 00 50 47 47 47 47 07 93 0000030 ff ff 20 85 80 ff 09 50 a4 00 04 00 84 30 19 22 0000040 ff 3f 10 00 00 3f ff 3f 10 00 00 3f 00 00 00 00 0000050 00 00 00 00 00 00 00 00 00 00 00 00 0a 00 80 00 0000060 90 04 30 b0 30 01 ec 30 00 74 05 01 00 00 10 00 0000070 00 00 cf 07 10 80 43 65 87 a9 0b 00 43 65 87 d0 0000080 40 08 52 11 22 18 06 18 01 19 26 02 40 a5 00 00 0000090 00 50 00 00 0e 80 02 ff ff 00 00 ff 3f 10 00 00 00000a0 3f ff 3f 10 00 00 3f 2f 00 50 47 47 47 47 07 93 00000b0 ff ff 20 85 80 ff 09 50 a4 00 04 00 84 30 19 22 00000c0 ff 3f 10 00 00 3f ff 3f 10 00 00 3f 00 00 00 00 00000d0 00 00 00 00 00 00 00 00 00 00 00 00 0a 00 80 00 00000e0 90 04 30 b0 30 01 ec 30 00 74 05 01 00 00 10 00 00000f0 00 00 cf 07 10 80 43 65 87 a9 0b 00 43 65 87 d0 0000100 0000100 % cat '#'A/audiostat bufsize 1024 buffered 0 codec 2 pin 20 inpin 29 aout 2 411 aout 3 411 aout 4 411 aout 5 411 aout 6 211 ain 7 10051b ← pin 24, pin 25, pin 26, pin 27, pin 28, pin 20, pin 21 ain 8 10051b ← pin 24, pin 25, pin 26, pin 27, pin 28, pin 20, pin 21 ain 9 10051b ← pin 24, pin 25, pin 26, pin 27, pin 28, amix 11, pin 20, pin 21, pin 22, pin 23 ain 10 100391 ← pin 31 amix 11 20010b ← pin 24, pin 25, pin 26, pin 27, pin 28, pin 29, pin 20, pin 21 amix 12 20010f ← aout 2, amix 11 amix 13 20010f ← aout 3, amix 11 amix 14 20010f ← aout 4, amix 11 amix 15 20010f ← aout 5, amix 11 asel 16 300101 ← amix 12, amix 13, amix 14, amix 15 asel 17 300101 ← amix 12, amix 13, amix 14, amix 15 asel 18 300101 ← amix 12, amix 13, amix 14, amix 15 asel 19 300101 ← amix 12, amix 13, amix 14, amix 15 pin 20 inout jack ext rear lineout green ← amix 12 pin 21 inout nothing ext rear speaker black ← amix 13 pin 22 inout nothing ext rear speaker black ← amix 14 pin 23 inout nothing ext rear speaker black ← amix 15 pin 24 inout jack ext rear micin pink ← asel 16 pin 25 inout jack ext front hpout green ← asel 17 pin 26 inout jack ext rear linein blue ← asel 18 pin 27 inout jack ext front micin pink ← asel 19 pin 28 in nothing ext rear speaker black pin 29 in fix int special other black pin 30 out nothing ext rear speaker black ← aout 6 pin 31 in nothing ext rear speaker black beep 32 f00040 knob 33 600080 outpath aout 2 → amix 12 → pin 20 outamp amix 12 inpath pin 29 → amix 11 → ain 9 inamp ain 9 % 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