Tue Nov 4 19:18:11 EST 2014
% cd '#ec'; for(i in *){echo $i '=' `{cat $i}}
*e820 = 1 0x0000000000000000 0x000000000009fc00 2 0x000000000009fc00
0x00000000000a0000 2 0x00000000000f0000 0x0000000000100000 1 0x0000000000100000
0x000000007f6aa000 2 0x000000007f6aa000 0x0000000080000000 2 0x00000000f0000000
0x00000000f4000000
bootargs = local!/dev/sdE0/fscache
bootfile = 9pcf
monitor = vesa
mouseport = ps2intellimouse
vgasize = 1024x768x16
% cat '#'P/archctl
cpu P6 1663 pge
pge on
coherence mfence
cmpswap cmpswap486
i8253set on
cache default uc
cache 0x0 2147483648 wb
cache 0xd0000000 67108864 wc
cache 0xd0000000 268435456 wc
% cat '#'P/irqalloc
3 0 debugpt
7 0 mathemu
8 0 doublefault
9 0 mathover
14 0 fault386
15 0 unexpected
16 0 matherror
19 0 simderror
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 11 mmc
121 11 uhci
129 11 ehci
129 11 uhci
137 -1 sdE (ahci)
145 7 lpt
153 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
5000 501f usbuhci
5020 503f usbuhci
5040 505f usbuhci
5060 507f 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
2133344256 memory
4096 pagesize
65536 kernel
7205/456362 user
0/160000 swap
5506368/234484272 kernel malloc
6291552/211035845 kernel draw
% cat '#'c/sysstat
0 337868 1821352 691447 37887 0 0 20 99 0
1 375264 757856 575570 42271 0 0 0 99 0
% awk /^Plan 9$/{p=1} /^init: starting/{exit} {if(p)print} '#'c/kmesg
Plan 9
126 holes free
0x18000 0x9f000 87000
0x4ad000 0x10000000 fb53000
264085504 bytes free
cpu0: 1663MHz GenuineIntel P6 (cpuid: AX 0x06E8 CX 0xC1A9 DX 0xBFE9FBFF)
LAPIC: fee00000 0xe0000000
ELCR: 0200
cpu0: lapic clock at 166MHz
cpu1: 1663MHz GenuineIntel P6 (cpuid: AX 0x06E8 CX 0xC1A9 DX 0xBFE9FBFF)
#Y0: Ricoh 476 PCI/Cardbus bridge, E2000000 intl 11
cpu1: lapic clock at 166MHz
#l0: i82573: 1000Mbps port 0xE4100000 irq 11: 0016d3
MAC/BBP RT3090 (rev 0x3213), RF RT3020 (MIMO 1T1R)
#l1: rt2860: 10Mbps port 0xE4200000 irq 11: 6c626d
#S/sdE: ich: sata-I with 1 ports
#A0: hda mem e0035000 irq 11
hda: invalid connection 2:aout[0] -> 1
#A0: codec #0, vendor 11d41981, rev 00100200
2039M memory: 256M kernel data, 1782M user, 2407M swap
intrenable: got unassigned irq 0, tbdf 0xC00FA00 for sdE (ahci)
sdE0: LLBA 156,301,488 sectors
FUJITSU MHV2080BH 00840028 [newdrive]
i82573: phy1 oui 0x5043
#l1: '/lib/firmware/ral-rt2860' does not exist
/dev/sdE0: FUJITSU MHV2080BH
/dev/sdE0/9fat dos
/dev/sdE0/bsd386
/dev/sdE0/data
/dev/sdE0/fscache cwfs64x
/dev/sdE0/fsworm
/dev/sdE0/netbsd
/dev/sdE0/nvram
/dev/sdE0/other
/dev/sdE0/plan9
/dev/sdM0: MMC Host Controller
/dev/sdM0/data
/dev/sdM0/dos dos
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 Thu Sep 4 18:04:10 2014
last boot Tue Nov 4 22:04:33 2014
% pci -v
0.0.0: brg 06.00.00 8086/27a0 0
Intel Corporation 874079 i945GM Express Chipset
0.2.0: vid 03.00.00 8086/27a2 11 0:e4300000 524288 1:000050a1 16 2:d0000008
268435456 3:e4400000 262144
Intel Corporation 82940GML Mobile Intel(R) 945 Express Chipset Family
0.2.1: vid 03.80.00 8086/27a6 0 0:e4380000 524288
Intel Corporation 945GM Intel 945GM/950
0.27.0: aud 04.03.00 8086/27d8 11 0:e4440004 16384 1:00000000 16
Intel Corporation BA101897 IDT High Definition Audio Driver
0.28.0: brg 06.04.00 8086/27d0 11
Intel Corporation
0.28.1: brg 06.04.00 8086/27d2 11
Intel Corporation
0.28.2: brg 06.04.00 8086/27d4 11
Intel Corporation
0.28.3: brg 06.04.00 8086/27d6 11
Intel Corporation
0.29.0: usb 0c.03.00 8086/27c8 11 4:00005001 32
Intel Corporation 946 USB UHCI Controller
0.29.1: usb 0c.03.00 8086/27c9 11 4:00005021 32
Intel Corporation USB UHCI Controller USB UHCI Controller
0.29.2: usb 0c.03.00 8086/27ca 11 4:00005041 32
Intel Corporation - USB UHCI Controller
0.29.3: usb 0c.03.00 8086/27cb 11 4:00005061 32
Intel Corporation USB UHCI Controller
0.29.7: usb 0c.03.20 8086/27cc 11 0:e4444000 1024
Intel Corporation
0.30.0: brg 06.04.01 8086/2448 255
Intel Corporation 82801BAM/CAM/DBM Hub Interface to PCI Bridge
0.31.0: brg 06.01.00 8086/27b9 0
Intel Corporation
0.31.1: disk 01.01.8a 8086/27df 255 0:000050a9 16 1:000050c9 16 2:000050b1 16
3:000050cd 16 4:00005081 16
Intel Corporation 82801GB/GBM PATA100
0.31.2: disk 01.06.01 8086/27c5 0 0:000050b9 16 1:000050d1 16 2:000050c1 16
3:000050d5 16 4:00005091 16 5:e4444400 1024
Intel Corporation 82801GBM/GHM AHCI Controller
0.31.3: smb 0c.05.00 8086/27da 11 4:00000401 32
Intel Corporation 82801G Intel[R] 82801G (ICH7 Family) C- 27DA
1.0.0: net 02.00.00 8086/109a 11 0:e4100000 131072 2:00004001 32
Intel Corporation 82573L Intel PRO/1000 PL Network Adaptor
2.0.0: net 02.80.00 1814/3090 11 0:e4200000 65536
Ralink Technology, Corp. Ralink RT3090 Ralink RT3090 Wireless Lan Card
with Bluetooth
5.0.0: brg 06.07.00 1180/0476 11
Ricoh unknown RICOH SmartCard Reader
5.0.1: --- 0c.00.10 1180/0552 11 0:e2001000 2048
Ricoh R5C552 FireWire (IEEE 1394) Controller
5.0.2: --- 08.05.00 1180/0822 11 0:e2001800 256
Ricoh R5C832 SDA Standard Compliant SD Host Controller
5.0.3: --- 08.80.00 1180/0843 11 0:e2001900 256
Ricoh R5C853 Ricoh SD/MMC Host Controller
% aux/cpuid
vendor GenuineIntel
procmodel 000006e8 / 01020800
features fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat
features clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
features pni monitor vmx est tm2 xtpr pdcm
extmodel 00000000 / 00000000
extfeatures nx
procname Genuine Intel(R) CPU 1400 @ 1.66GHz
physbits 32
virtbits 32
% aux/icanhasmsi
0.2.0
0.27.0
0.28.0
0.28.1
0.28.2
0.28.3
0.31.2
1.0.0
2.0.0
% aux/pcmcia
% 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 8 ehci
ep6.0 enabled control rw speed full maxpkt 8 pollival 0 samplesz 0 hz 0 hub 4 port
2 idle
% cat '#'S/sdctl
sdE ahci ich port 0xe0033400: 64a ncq mps ss alp led clo pm pmb slum pslum iss 1
ncs 31 np 4 ghc 80000002 isr 0 pi 1 0 ver 10100
sdM mmc 1 units
% cat '#'S/sdE0/ctl
inquiry FUJITSU MHV2080BH
model FUJITSU MHV2080BH
serial
firm 00840028
flag lba llba smart power sct
udma 5
reg task 50 cmd e017 serr 0 ci 0 is 0 sig 101 sstatus 113
cmd cr fr mpss pod sud st
mode auto satai
geometry 156301488 512
alignment 512 0
missirq 1
part data 0 156301488
part netbsd 63 61447680
part plan9 61447680 100517760
part bsd386 100517760 156295440
part 9fat 61447680 61652480
part nvram 61652480 61652481
part other 61652481 67204663
part fscache 67204663 72756845
part fsworm 72756845 100517760
% cat '#'S/sdM0/ctl
inquiry MMC Host Controller
rca 8dff ocr 80ff8000
cid 0353445344313238585049843e005300 csd 002600321f5983c0fefa4fff92404000
geometry 246016 512
part data 0 246016
part dos 63 246015
% cat '#'l0/ether0/addr
0016d3
% cat '#'l0/ether0/stats
in: 0
link: 0
out: 0
crc errs: 0
overflows: 0
soft overflows: 0
framing errs: 0
buffer errs: 0
output errs: 0
prom: 0
mbps: 0
addr: 0016d3
% cat '#'l0/ether0/ifstats
lintr: 0 1
rintr: 0 1
tintr: 0 0
ixcs: 0 0 0
rdtr: 25
radv: 500
ctrl: 00100248
ctrlext: 00580000
status: 80080780
txcw: 00000000
txdctl: 00040004
pba: 0012000e
speeds: 10:0 100:0 1000:0 ?:1
type: i82573
% cat '#'l1/ether1/addr
6c626d
% cat '#'l1/ether1/stats
in: 3732
link: 1
out: 39
crc errs: 0
overflows: 0
soft overflows: 0
framing errs: 0
buffer errs: 0
output errs: 0
prom: 0
mbps: 11
addr: 6c626d
% cat '#'v/vgactl
type vesa
size 1024x768x16 r5g6b5
blank time 30 idle 0 state on
hwaccel off
hwblank on
panning off
addr p 0xd0000000 v 0xe0400000 size 0x4000000
softscreen on
@{rfork n; aux/realemu; aux/vga -p}
vesa flag Ulinear|Hlinear|Fsnarf
vesa sig VESA 3.0
vesa oem Intel(r) 82945GM Chipset Family Graphics Chip Accelerated VGA BIOS 1.0
vesa vendor Intel Corporation
vesa product Intel(r) 82945GM Chipset Family Graphics Controller
vesa rev Hardware Version 0.0
vesa cap 8-bit-dac
vesa mem 8060928
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 LEN
edid serialstr
edid name
edid product 16384
edid serial 0
edid version 1.3
edid mfrdate 2005.0
edid size (cm) 25x18
edid gamma 2.20
edid vert (Hz) 0-0
edid horz (Hz) 0-0
edid pclkmax 0
edid flags digital standby suspend activeoff
edid 640x480@60Hz
clock=25.175
shb=648 ehb=792 ht=800
vrs=490 vre=492 vt=525
hsync=- vsync=-
edid 800x600@60Hz
clock=40
shb=800 ehb=1056 ht=1056
vrs=601 vre=605 vt=628
hsync=+ vsync=+
edid 1024x768@60Hz
clock=65
shb=1024 ehb=1344 ht=1344
vrs=771 vre=777 vt=806
hsync=- vsync=-
edid 1024x768@50Hz
clock=54.16
shb=1048 ehb=1184 ht=1344
vrs=771 vre=777 vt=806
hsync=- vsync=-
edid 1024x768@40Hz
clock=43.33
shb=1048 ehb=1184 ht=1344
vrs=771 vre=777 vt=806
hsync=- vsync=-
% xd -x1 '#'r/nvram
0000000 18 80 52 49 23 2a 02 04 11 14 26 02 50 80 00 00
0000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000030 00 48 00 01 27 27 00 00 00 00 00 00 00 00 00 00
0000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000070 00 00 00 00 40 03 00 00 00 00 00 00 da 00 00 00
0000080 18 80 52 49 23 2a 02 04 11 14 26 02 00 80 00 00
0000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000b0 00 48 00 01 27 27 00 00 00 00 00 00 00 00 00 00
00000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000f0 00 00 00 00 40 03 00 00 00 00 00 00 da 00 00 00
0000100
0000100
% cat '#'A/audiostat
bufsize 1024 buffered 0
codec 0 pin 5 inpin 25
aout 2 30311 ← , ain 4
aout 3 441
ain 4 100511 ← asel 21
pin 5 inout jack ext rear lineout green eapd ← aout 3, amix 14
pin 6 out jack ext front hpout green ← aout 3, amix 14
pin 7 out fix int N/A lineout ? ← amix 15
pin 8 in jack ext front micin pink
pin 9 inout jack ext rear linein blue ← aout 3, amix 14
pin 10 out jack ext rear spdifout black ← aout 2
asel 11 300101 ← aout 3, amix 12, pin 9, amix 14, pin 5, pin 24
amix 12 200101 ← asel 30, asel 31
asel 13 30010c ← beep 16, pin 22
amix 14 200101 ← asel 13, asel 17, asel 18, asel 19, asel 26, asel 27, asel 28,
asel 29
amix 15 200100 ← asel 11
beep 16 700000
asel 17 30010d ← aout 3
asel 18 30010d ← pin 8
asel 19 30010d ← pin 9
power 20 500500 ← asel 13, amix 14, amix 15, beep 16, asel 19, power 20, asel 21,
pin 22, pin 23, pin 24, pin 25, asel 26, asel 29
asel 21 30010d ← amix 12, pin 9, amix 14, amix 15, pin 25, pin 5, pin 24, pin 23
pin 22 in fix int N/A other ?
pin 23 in fix int N/A aux ?
pin 24 inout jack ext rear micin pink ← aout 3, amix 14
pin 25 in fix int N/A cd ?
asel 26 30010d ← pin 5
asel 27 30010d ← pin 23
asel 28 30010d ← pin 24
asel 29 30010d ← pin 25
asel 30 30010d ← pin 8
asel 31 30010d ← pin 24
outpath aout 3 → pin 5
outamp pin 5
inpath pin 25 → asel 21 → ain 4
% cat '#'A/volume
master 100 100
recgain 0 0
speed 44100
delay 1764
% cat /mnt/apm/ctl