Sat Dec 9 04:52:08 EST 2017
% cd '#ec'; for(i in *){echo $i '=' `{cat $i}}
*e820 = 1 0x0000000000000000 0x000000000009d800 2 0x000000000009d800
0x00000000000a0000 2 0x00000000000e0000 0x0000000000100000 1 0x0000000000100000
0x000000005dbbd000 4 0x000000005dbbd000 0x000000005dc03000 2 0x000000005dc03000
0x000000005dc0a000 1 0x000000005dc0a000 0x000000005dc0c000 3 0x000000005dc0c000
0x000000005dc14000 2 0x000000005dc14000 0x000000005e490000 1 0x000000005e490000
0x000000005e491000 2 0x000000005e491000 0x000000005e4a1000 1 0x000000005e4a1000
0x000000005e4a3000 2 0x000000005e4a3000 0x000000005e4a4000 4 0x000000005e4a4000
0x000000005e4a7000 1 0x000000005e4a7000 0x000000005e4a8000 4 0x000000005e4a8000
0x000000005e4af000 2 0x000000005e4af000 0x000000005e515000 4 0x000000005e515000
0x000000005e558000 1 0x000000005e558000 0x000000005e800000 2 0x00000000fec00000
0x00000000fec01000 2 0x00000000fec10000 0x00000000fec11000 2 0x00000000fed00000
0x00000000fed01000 2 0x00000000fed61000 0x00000000fed71000 2 0x00000000fed80000
0x00000000fed90000 2 0x00000000fef00000 0x0000000100000000
bootargs = local!/dev/sdE0/fscache -a tcp!*!564
bootfile = 9pc
monitor = vesa
mouseport = ps2intellimouse
nobootprompt = local!/dev/sdE0/fscache -a tcp!*!564
service = cpu
vgasize = 1280x1024x16
% cat '#'P/archctl
cpu unknown 1198 pge
pge on
coherence mfence
cmpswap cmpswap486
arch _MP_
cache default uc
cache 0x0 2147483648 wb
cache 0x5e800000 8388608 uc
cache 0x5f000000 16777216 uc
cache 0x60000000 536870912 uc
% 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
50 18 clock
51 19 lapicerror
63 31 lapicspurious
65 7 ether0
73 1 kbd
81 7 hda
89 11 ohci
89 11 ohci
89 11 ohci
89 11 ohci
97 11 ehci
97 11 ehci
97 11 ehci
105 10 sdE (ahci)
% 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
2b0 2df vga
3c0 3da vga
3f0 3f5 floppy
3f7 3f7 floppy
fff fff dummy
e000 e0ff rtl8169
% cat '#'c/config
# pc - 386 pc terminal with local disk
dev
root
cons
swap
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
cat: can't open #c/swap: '#c/swap' file does not exist
% cat '#'c/sysstat
0 861929 1109375 2394920 225133 0 0 202 92 0
% 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 1022/1510 0
Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Complex
0.1.0: vid 03.00.00 1002/9805 11 0:e0000008 268435456 1:0000f001 256 2:feb00000
262144
Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD 6250]
0.1.1: aud 04.03.00 1002/1314 10 0:feb44000 16384
Advanced Micro Devices, Inc. [AMD/ATI] Wrestler HDMI Audio
0.4.0: brg 06.04.00 1022/1512 7
Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Port
0.17.0: disk 01.06.01 1002/4391 10 0:0000f141 16 1:0000f131 16 2:0000f121 16
3:0000f111 16 4:0000f101 16 5:feb4f000 1024
Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller
[AHCI mode]
0.18.0: usb 0c.03.10 1002/4397 11 0:feb4e000 4096
Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0
Controller
0.18.2: usb 0c.03.20 1002/4396 11 0:feb4d000 256
Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI
Controller
0.19.0: usb 0c.03.10 1002/4397 11 0:feb4c000 4096
Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0
Controller
0.19.2: usb 0c.03.20 1002/4396 11 0:feb4b000 256
Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI
Controller
0.20.0: smb 0c.05.00 1002/4385 0
Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller
0.20.2: aud 04.03.00 1002/4383 7 0:feb40004 16384
Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
0.20.3: brg 06.01.00 1002/439d 0
Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host
controller
0.20.4: brg 06.04.01 1002/4384 0
Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge
0.20.5: usb 0c.03.10 1002/4399 11 0:feb4a000 4096
Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2
Controller
0.22.0: usb 0c.03.10 1002/4397 11 0:feb49000 4096
Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0
Controller
0.22.2: usb 0c.03.20 1002/4396 11 0:feb48000 256
Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI
Controller
0.24.0: brg 06.00.00 1022/1700 0
Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 0
0.24.1: brg 06.00.00 1022/1701 0
Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 1
0.24.2: brg 06.00.00 1022/1702 0
Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 2
0.24.3: brg 06.00.00 1022/1703 0
Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 3
0.24.4: brg 06.00.00 1022/1704 0
Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 4
0.24.5: brg 06.00.00 1022/1718 0
Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 6
0.24.6: brg 06.00.00 1022/1716 0
Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 5
0.24.7: brg 06.00.00 1022/1719 0
Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 7
1.0.0: net 02.00.00 10ec/8168 7 0:0000e001 256 2:f000400c 4096 4:f000000c 16384
Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit
Ethernet Controller
% aux/cpuid
vendor AuthenticAMD
procmodel 00500f20 / 00010800
typefammod 0 14 00f 0
features fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat
features pse36 clflush mmx fxsr sse sse2
features pni monitor ssse3 cx16 popcnt
extmodel 00500f20 / 000022d9
extfeatures fpu vme de pse tsc msr pae mce cx8 apic syscall mtrr pge mca cmov pat
extfeatures pse36 nx mmx+ mmx fxsr ffxsr pg1g tscp lm
extfeatures ahf64 svm eas cr8d lzcnt sse4a msse 3dnow!p ibs skinit wdt
procname AMD G-T44R Processor
physbits 36
virtbits 48
% aux/icanhasmsi
% aux/icanhasvmx -v
aux/icanhasvmx: open: '#P/msr' permission denied
% 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 5 ohci
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 5 ohci
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 ohci
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 4 ohci
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 5 ehci
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 5 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 4 ehci
% cat '#'S/sdctl
cat: can't open #S/sdctl: '#S/sdctl' permission denied
% cat '#'S/sdE0/ctl
cat: can't open #S/sdE0/ctl: '#S/sdE0/ctl' permission denied
% cat '#'S/sdE1/ctl
cat: can't open #S/sdE1/ctl: '#S/sdE1/ctl' permission denied
% cat '#'S/sdE2/ctl
cat: can't open #S/sdE2/ctl: '#S/sdE2/ctl' permission denied
% cat '#'S/sdE3/ctl
cat: can't open #S/sdE3/ctl: '#S/sdE3/ctl' permission denied
% cat '#'S/sdE4/ctl
cat: can't open #S/sdE4/ctl: '#S/sdE4/ctl' permission denied
% cat '#'S/sdE5/ctl
cat: can't open #S/sdE5/ctl: '#S/sdE5/ctl' permission denied
% cat '#'l0/ether0/addr
901b0e195e03
% cat '#'l0/ether0/stats
in: 86228
link: 0
out: 82490
crc errs: 0
overflows: 0
soft overflows: 0
framing errs: 0
buffer errs: 0
output errs: 0
prom: 0
mbps: 100
addr: 901b0e195e03
% cat '#'l0/ether0/ifstats
TxOk: 78583
RxOk: 82311
TxEr: 0
RxEr: 0
MissPkt: 0
FAE: 0
Tx1Col: 0
TxMCol: 0
RxOkPh: 82280
RxOkBrd: 31
RxOkMu: 0
TxAbt: 0
TxUndrn: 0
serr: 0
fovw: 0
txdu: 0
tcpf: 0
udpf: 0
ipf: 0
fovf: 0
rer: 0
rdu: 0
punlc: 0
tcr: 0x2f200700
rcr: 0x0000e70e
multicast: 0
phy: 1140 796d 001c c914 01e1 cde1 000d 2001
6801 0300 0000 0000 0000 0000 0000 3000
01ee 6c1c 0000 0000 0040 0006 4100 2100
0000 8c00 0040 0122 244c 8fbc 0123 0000
% 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
0xC0000 55 AA 40 EB 4B 37 34 30 30 E9 4C 19 77 CC 56 49 U.@.K7400.L.w.VI
0xC0010 44 45 4F 20 0D 00 00 00 1A 6A 00 00 00 00 49 42 DEO .....j....IB
0xC0020 4D 20 56 47 41 20 43 6F 6D 70 61 74 69 62 6C 65 M VGA Compatible
0xC0030 01 00 00 00 00 00 00 00 30 37 2F 30 33 2F 30 35 ........07/03/05
0xC0040 30 35 31 35 36 32 4C 47 43 00 00 00 00 00 00 00 051562LGC.......
0xC0050 EB 4A 56 47 41 20 42 49 4F 53 20 2D 20 56 65 72 .JVGA BIOS - Ver
0xC0060 73 69 6F 6E 20 36 2E 31 32 61 20 43 6F 70 79 72 sion 6.12a Copyr
0xC0070 69 67 68 74 20 28 43 29 20 32 30 30 33 2D 32 30 ight (C) 2003-20
0xC0080 30 34 20 41 64 76 61 6E 63 65 64 20 4D 69 63 72 04 Advanced Micr
0xC0090 6F 20 44 65 76 69 63 65 73 0D 0A 00 55 2B C0 8E o Devices...U+..
0xC00A0 D8 0E 07 E8 6A 00 5D CB CD 6D CF 60 02 40 13 B8 ....j.]..m.`.@..
0xC00B0 13 F9 13 50 14 0C 14 22 17 0D 1C 32 06 42 0A 33 ...P..."...2.B.3
0xC00C0 0B 14 28 67 14 D4 15 AF 0B 08 06 C8 28 C7 1F 7B ..(g........(..{
0xC00D0 22 10 11 08 01 08 01 08 01 08 01 08 01 08 01 A0 "...............
0xC00E0 23 0A 24 60 25 FB FC 56 1E 50 2B F6 8E DE 8A C4 #.$`%..V.P+.....
0xC00F0 98 8B F0 D1 E6 58 80 FC 4F 74 0A 80 FC 1D 73 08 .....X..Ot....s.
aux/vga: devopen(#P/iob, 2): '#P/iob' permission denied
% xd -x1 '#'r/nvram
xd: can't open #r/nvram
% cat '#'A/audiostat
bufsize 1024 buffered 0
codec 0 pin 20 inpin 29
aout 2 41d
aout 3 41d
aout 4 41d
beep 5 f00000
aout 6 611
beep 7 f00000
ain 8 10051b ← amix 35
ain 9 10051b ← amix 34
beep 10 f00000
amix 11 20010b ← pin 24, pin 25, pin 26, pin 27, pin 29, pin 20, pin 21, pin 22
amix 12 20010b ← aout 2, amix 11
amix 13 20010b ← aout 3, amix 11
amix 14 20010b ← aout 4, amix 11
amix 15 20010a ← aout 2, amix 11
aout 16 611
pin 17 out nothing ext rear speaker black ← aout 16
pin 18 in nothing ext rear speaker black
pin 19 in nothing ext rear speaker black
pin 20 inout jack ext rear lineout green eapd ← amix 12, amix 13
pin 21 inout nothing ext rear speaker black eapd ← amix 12, amix 13
pin 22 inout nothing ext rear speaker black ← amix 14
pin 23 out fix int special speaker ? ← amix 15
pin 24 inout nothing ext rear speaker black ← amix 14
pin 25 inout jack ext front micin black ← amix 12, amix 13, amix 14
pin 26 inout jack ext rear linein blue ← amix 13
pin 27 inout nothing ext rear speaker black ← amix 12, amix 13, amix 14
beep 28 f00000
pin 29 in nothing ext N/A lineout resvd
pin 30 out nothing ext rear speaker black ← aout 6
beep 31 f00000
beep 32 f00040
pin 33 out jack ext front hpout black ← amix 12, amix 13, amix 14
amix 34 20010b ← pin 24, pin 25, pin 26, pin 27, pin 29, pin 20, pin 21, pin 22,
amix 11, pin 18
amix 35 20010b ← pin 24, pin 25, pin 26, pin 27, pin 29, pin 20, pin 21, pin 22,
amix 11, pin 19
outpath aout 2 → amix 12 → pin 20
outamp aout 2
inpath pin 29 → amix 35 → ain 8
inamp ain 8
% 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