% cd '#ec'; for(i in *){echo $i '=' `{cat $i}}
*bootscreen = 1024x768x16 r5g6b5 0xf3000000 16777216
*e820 = 1 0x0000000000000000 0x000000000009f000 2 0x000000000009f000
0x00000000000a0000 1 0x0000000000100000 0x00000000dfe83c00 2 0x00000000dfe83c00
0x00000000dff00000 2 0x00000000feda0000 0x00000000feda6000 2 0x00000000f8000000
0x00000000fc000000 2 0x00000000fed18000 0x00000000fed1c000 2 0x00000000fed20000
0x00000000fed90000 2 0x00000000dff00000 0x00000000e0000000 2 0x00000000ffe00000
0x0000000100000000 2 0x00000000fec00000 0x00000000fec10000 2 0x00000000fee00000
0x00000000fee10000 1 0x0000000100000000 0x0000000120000000
bootfile = /386/9pcf
cdboot = yes
monitor = ask
mouseport = ask
vgasize = ask
% cat '#'P/archctl
cpu Xeon5000-series 2195 pge
pge on
coherence mfence
cmpswap cmpswap486
arch generic
cache default uc
cache 0x0 2147483648 wb
cache 0x80000000 1073741824 wb
cache 0xc0000000 536870912 wb
cache 0x100000000 536870912 wb
cache 0xf3000000 16777216 wc
% cat '#'P/irqalloc
1 0 debugexc
3 0 debugpt
7 0 mathemu
8 0 doublefault
9 0 mathover
14 0 fault386
15 0 unexpected
16 0 matherror
19 0 simderror
32 0 clock
33 1 kbd
35 3 ether0
38 6 floppy
39 7 lpt
41 9 ehci
41 9 uhci
42 10 mmc
42 10 sdE (ahci)
42 10 uhci
42 10 uhci
42 10 hda
43 11 ehci
43 11 uhci
43 11 uhci
44 12 kbdaux
46 14 sdC (ide)
% cat '#'P/ioalloc
0 f dma
20 21 i8259.0
40 43 i8253
60 60 i8042.data
61 61 i8253.cntr2c
64 64 i8042.cs
70 71 rtc/nvr
80 8f dma
a0 a1 i8259.1
d0 df dma
1f0 1f7 atacmd
2b0 2df vga
378 37a lpt0
3c0 3da vga
3f0 3f5 floppy
3f6 3f6 atactl
3f7 3f7 floppy
fff fff dummy
6f00 6f1f usbuhci
6f20 6f3f usbuhci
6f40 6f5f usbuhci
6f60 6f7f usbuhci
6f80 6f9f 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
segment
vmx
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
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/swap
3751837696 memory
4096 pagesize
65536 kernel
4517/851587 user
0/160000 swap
2068592/2097664/234500192 kernel malloc
2162496/4194368/211050173 kernel draw
192/65568/16777216 kernel secret
% cat '#'c/sysstat
0 40424 18721 555126 72960 0 0 49 98 0
% awk /^Plan 9/{p=1} /^init: starting/{exit} {if(p)print} '#'c/kmesg
Plan 9
126 holes free
0x0001a000 0x0009e000 540672
0x004ff000 0x0ffff000 263192576
263733248 bytes free
cpu0: 2194MHz GenuineIntel Xeon5000-series (AX 000006FB CX 0000E3BD DX BFEBFBFF)
ELCR: 0E28
pcirouting: ignoring south bridge PCI.0.31.0 8086/2811
bcm: reset
bcm: 1000 Mbps link, full duplex
#l0: bcm: 1000Mbps port 0xF1BF0000 irq 3: 001c233031db
#S/sdE: ich: sata-II with 2 ports
#A0: hda mem e0012000 irq 10
#A0: codec #0, vendor 838476a0, rev 00100204
uhci: 0x8086 0x2834: port 0x6f20 size 0x20 irq 11
uhci: 0x8086 0x2835: port 0x6f00 size 0x20 irq 10
uhci: 0x8086 0x2830: port 0x6f80 size 0x20 irq 11
uhci: 0x8086 0x2831: port 0x6f60 size 0x20 irq 10
uhci: 0x8086 0x2832: port 0x6f40 size 0x20 irq 9
usbehci: 0x8086 0x283a: port 0xfed1c400 size 0x400 irq 9
usbehci: 0x8086 0x2836: port 0xfed1c000 size 0x400 irq 11
ehci 0xe0017000: bios timed out
3583M memory: 256M kernel data, 3326M user, 3951M swap
sdE0: LLBA 312,581,808 sectors
ST9160821AS 3.CDD 5MA1R149 [newdrive]
nusb/usbd: usbcmd: /dev/usb/ep10.0: required 4 attempts (no data from device)
nusb/usbd: usbcmd: /dev/usb/ep10.0: required 4 attempts (no data from device)
nusb/usbd: usbcmd: /dev/usb/ep10.0: required 4 attempts (no data from device)
/dev/sdC0: HL-DT-ST DVD+/-RW GSA-T21N
/dev/sdE0: ST9160821AS
/dev/sdE0/data
/dev/sdE0/linux
/dev/sdE0/linuxswap
/dev/sdE1:
/dev/sdM0: MMC Host Controller
/dev/sdUa6bf4: SanDisk Cruzer U 1.26
/dev/sdUa6bf4/data 9660
/dev/sdUa6bf4/dos dos
/dev/sdUa6bf4/esp dos
/shr/sdUa6bf4:
bootargs is (tcp, tls, il, local!device)[local!/dev/sdUa6bf4/data]
user[glenda]:
% pci -v
0.0.0: brg 06.00.00 8086/2a00 0
Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub
0.1.0: brg 06.04.00 8086/2a01 0
Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port
0.26.0: usb 0c.03.00 8086/2834 11 4:00006f21 32
Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4
0.26.1: usb 0c.03.00 8086/2835 10 4:00006f01 32
Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5
0.26.7: usb 0c.03.20 8086/283a 9 0:fed1c400 1024
Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2
0.27.0: aud 04.03.00 8086/284b 10 0:f6ffc004 16384
Intel Corporation 82801H (ICH8 Family) HD Audio Controller
0.28.0: brg 06.04.00 8086/283f 0
Intel Corporation 82801H (ICH8 Family) PCI Express Port 1
0.28.1: brg 06.04.00 8086/2841 0
Intel Corporation 82801H (ICH8 Family) PCI Express Port 2
0.28.3: brg 06.04.00 8086/2845 0
Intel Corporation 82801H (ICH8 Family) PCI Express Port 4
0.28.5: brg 06.04.00 8086/2849 0
Intel Corporation 82801H (ICH8 Family) PCI Express Port 6
0.29.0: usb 0c.03.00 8086/2830 11 4:00006f81 32
Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1
0.29.1: usb 0c.03.00 8086/2831 10 4:00006f61 32
Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2
0.29.2: usb 0c.03.00 8086/2832 9 4:00006f41 32
Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3
0.29.7: usb 0c.03.20 8086/2836 11 0:fed1c000 1024
Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1
0.30.0: brg 06.04.01 8086/2448 255
Intel Corporation 82801 Mobile PCI Bridge
0.31.0: brg 06.01.00 8086/2811 0
Intel Corporation 82801HEM (ICH8M-E) LPC Interface Controller
0.31.1: disk 01.01.8a 8086/2850 5 0:000001f1 16 1:000003f5 16 2:00000171 16
3:00000375 16 4:00006fa1 16
Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller
0.31.2: disk 01.06.01 8086/2829 10 0:00006eb1 16 1:00006eb9 16 2:00006ec1 16
3:00006ec9 16 4:00006ee1 32 5:f6ffb800 2048
Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode]
0.31.3: smb 0c.05.00 8086/283e 3 0:f6ffb700 256 4:000010c1 32
Intel Corporation 82801H (ICH8 Family) SMBus Controller
1.0.0: vid 03.00.00 10de/040d 5 0:f5000000 16777216 1:e000000c 268435456
3:f2000004 33554432 5:0000ef01 128
NVIDIA Corporation G84GLM [Quadro FX 1600M]
12.0.0: net 02.80.00 14e4/4311 3 0:f1ffc000 16384
Broadcom Corporation BCM4311 802.11b/g WLAN
9.0.0: net 02.00.00 14e4/1674 3 0:f1bf0004 65536
Broadcom Corporation NetXtreme BCM5756ME Gigabit Ethernet PCI Express
3.1.0: --- 0c.00.10 1180/0832 9 0:f1aff800 2048
Ricoh Co Ltd R5C832 IEEE 1394 Controller
3.1.1: base 08.05.01 1180/0822 10 0:f1aff400 256
Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter
3.1.2: base 08.80.00 1180/0843 10 0:f1aff500 256
Ricoh Co Ltd R5C843 MMC Host Controller
3.1.3: base 08.80.00 1180/0592 10 0:f1aff600 256
Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter
3.1.4: base 08.80.00 1180/0852 10 0:f1aff700 256
Ricoh Co Ltd xD-Picture Card Controller
% aux/cpuid
vendor GenuineIntel
procmodel 000006fb / 00020800
typefammod 0 06 006 b
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
extmodel 00000000 / 00000000
extfeatures nx lm
extfeatures ahf64
procname Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
physbits 36
virtbits 48
% aux/icanhasmsi
0.1.0
0.27.0
0.28.0
0.28.1
0.28.3
0.28.5
0.31.2
1.0.0
12.0.0
9.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 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 full maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0
port 0 rootport 0 addr 0 busy
roothub csp 0x000009 ports 2 uhci
ep6.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 4 ehci
ep7.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 6 ehci
ep8.0 enabled control rw speed high maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0
port 4 rootport 4 addr 8 busy
storage csp 0x500608 vid 0x0781 did 0x55a5 SanDisk 'Cruzer U' a6bf4 ehci
ep8.1 enabled bulk r speed high maxpkt 512 pollival 1 samplesz 0 hz 0 hub 0 port 4
rootport 4 addr 8 busy
ep8.2 enabled bulk w speed high maxpkt 512 pollival 1 samplesz 0 hz 0 hub 0 port 4
rootport 4 addr 8 busy
ep9.0 enabled control rw speed full maxpkt 8 pollival 0 samplesz 0 hz 0 hub 0 port
1 rootport 1 addr 9 busy
hub csp 0x000009 ports 4 none <nil> uhci
% cat '#'S/sdctl
sdC ata port 1F0 ctl 3F4 irq 14
sdE ahci ich port 0xe0010800: 64a ncq ntf alp led clo pmb slum pslum coal ems alhd
xonly smb elmt iss 2 ncs 31 np 3 ghc 80000002 isr 0 pi 5 0, 2 ver 10100
sdM mmc 1 units
% cat '#'S/sdC0/ctl
inquiry HL-DT-ST DVD+/-RW GSA-T21N
config 85C0 capabilities 0F00 dma 00550004 dmactl 00550004
model HL-DT-ST DVD+/-RW GSA-T21N
serial KZ17C234657
firm A1R1
feat lba atapi
missirq 0
sloop 0
irq 269 268
bsy 0 0
nildrive 1
% cat '#'S/sdE0/ctl
inquiry ST9160821AS
model ST9160821AS
serial 5MA1R149
firm 3.CDD
flag lba llba smart power 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 sataii
geometry 312581808 512
alignment 512 0
missirq 0
part data 0 312581808
part linux 2048 299839488
part linuxswap 299841536 312580096
% cat '#'S/sdE1/ctl
inquiry
no disk present [missing]
reg task 7f cmd 4016 serr 0 ci 0 is 0 sig ffffffff sstatus 000
cmd fr pod sud
mode auto sataii
geometry 0 0
alignment 0 0
missirq 0
% cat '#'S/sdM0/ctl
inquiry MMC Host Controller
% cat '#'l0/ether0/addr
001c233031db
% cat '#'l0/ether0/stats
in: 291
link: 1
out: 4
crc errs: 0
overflows: 0
soft overflows: 0
framing errs: 0
buffer errs: 0
output errs: 0
prom: 0
mbps: 1000
addr: 001c233031db
% cat '#'l0/ether0/ifstats
% cat '#'v/vgactl
type vesa
size 1024x768x16 r5g6b5
hwgc soft
hwaccel off
hwblank on
panning off
addr p 0xf3000000 v 0xe0400000 size 0x1000000
softscreen on
@{rfork n; aux/realemu; aux/vga -p}
vesa flag Ulinear|Hlinear|Fsnarf
vesa sig VESA 3.0
vesa oem NVIDIA 96.132
vesa vendor NVIDIA Corporation
vesa product G84 Board - converse
vesa rev Chip Rev
vesa cap 8-bit-dac
vesa mem 14680064
vesa mode 0x100 640x400x8 m8 packed
vesa mode 0x101 640x480x8 m8 packed
vesa mode 0x103 800x600x8 m8 packed
vesa mode 0x105 1024x768x8 m8 packed
vesa mode 0x107 1280x1024x8 m8 packed
vesa mode 0x10e 320x200x16 r5g6b5 direct
vesa mode 0x10f 320x200x32 x8r8g8b8 direct
vesa mode 0x111 640x480x16 r5g6b5 direct
vesa mode 0x112 640x480x32 x8r8g8b8 direct
vesa mode 0x114 800x600x16 r5g6b5 direct
vesa mode 0x115 800x600x32 x8r8g8b8 direct
vesa mode 0x117 1024x768x16 r5g6b5 direct
vesa mode 0x118 1024x768x32 x8r8g8b8 direct
vesa mode 0x11a 1280x1024x16 r5g6b5 direct
vesa mode 0x11b 1280x1024x32 x8r8g8b8 direct
vesa mode 0x130 320x200x8 m8 packed
vesa mode 0x131 320x400x8 m8 packed
vesa mode 0x132 320x400x16 r5g6b5 direct
vesa mode 0x133 320x400x32 x8r8g8b8 direct
vesa mode 0x134 320x240x8 m8 packed
vesa mode 0x135 320x240x16 r5g6b5 direct
vesa mode 0x136 320x240x32 x8r8g8b8 direct
vesa mode 0x13d 640x400x16 r5g6b5 direct
vesa mode 0x13e 640x400x32 x8r8g8b8 direct
vesa mode 0x145 1600x1200x8 m8 packed
vesa mode 0x146 1600x1200x16 r5g6b5 direct
vesa mode 0x14a 1600x1200x32 x8r8g8b8 direct
vesa mode 0x160 1280x800x8 m8 packed
vesa mode 0x161 1280x800x32 x8r8g8b8 direct
vesa mode 0x162 768x480x8 m8 packed
vesa mode 0x17c 1920x1200x8 m8 packed
vesa mode 0x17d 1920x1200x32 x8r8g8b8 direct
% xd -x1 '#'r/nvram
0000000 04 26 01 00 00 04 06 05 06 13 26 03 50 80 00 01
0000010 40 00 f0 00 42 80 02 00 f8 37 00 00 00 02 28 00
0000020 02 ea 40 31 02 a3 01 00 00 00 77 01 00 00 05 c8
0000030 00 f8 20 80 00 00 9f 00 00 00 00 00 00 00 00 00
0000040 37 37 00 00 00 00 01 02 38 00 ff 57 12 00 00 00
0000050 00 00 00 01 0e 00 00 08 08 00 00 00 10 01 00 00
0000060 00 00 00 00 98 08 07 02 00 00 00 00 00 00 00 00
0000070 03 03 00 00 00 00 00 00 00 80 00 00 00 00 00 3d
0000080 04 26 01 00 00 04 06 05 06 13 26 03 00 80 00 01
0000090 40 00 f0 00 42 80 02 00 f8 37 00 00 00 02 28 00
00000a0 02 ea 40 31 02 a3 01 00 00 00 77 01 00 00 05 c8
00000b0 00 f8 20 80 00 00 9f 00 00 00 00 00 00 00 00 00
00000c0 37 37 00 00 00 00 01 02 38 00 ff 57 12 00 00 00
00000d0 00 00 00 01 0e 00 00 08 08 00 00 00 10 01 00 00
00000e0 00 00 00 00 98 08 07 02 00 00 00 00 00 00 00 00
00000f0 03 03 00 00 00 00 00 00 00 80 00 00 00 00 00 3d
0000100
0000100
% cat '#'A/audiostat
bufsize 1024 buffered 0
codec 0 pin 13 inpin 34
pin 10 inout jack ext left hpout black ← aout 16, aout 17
pin 11 inout jack ext left micin black ← aout 16, aout 17
pin 12 inout nothing ext N/A other ? ← aout 17
pin 13 inout fix int N/A speaker ? ← aout 16
pin 14 inout nothing ext N/A other ? ← aout 16
pin 15 inout nothing ext N/A other ? ← aout 17
aout 16 d0c05
aout 17 d0c05
ain 18 1d0541 ← asel 29
ain 19 1d0541 ← asel 30
pin 20 out nothing ext N/A other ? ← amix 21
amix 21 200100 ← aout 16
pin 22 in nothing ext N/A other ?
pin 23 in nothing ext N/A other ?
pin 24 in nothing ext N/A other ?
asel 25 30010d ← pin 14, pin 22, pin 15, pin 11, pin 12, pin 13, pin 10
asel 26 30010d ← pin 14, pin 22, pin 15, pin 11, pin 12, pin 13, pin 10
asel 27 300103 ← asel 25
asel 28 300103 ← asel 26
asel 29 30090d ← asel 27, pin 23, pin 24
asel 30 30090d ← asel 28, pin 23, pin 24
aout 31 40211
ain 32 140311 ← pin 34
pin 33 out nothing ext N/A other ? ← aout 31, asel 29, asel 30
pin 34 in nothing ext N/A other ? eapd
beep 35 70000c
knob 36 600000
beep 37 f00001
outpath aout 16 → pin 13
outamp aout 16
inpath pin 34 → ain 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