Fri Sep 28 06:26:38 EDT 2018
% cd '#ec'; for(i in *){echo $i '=' `{cat $i}}
*bootscreen = 1920x1080x32 x8r8g8b8 0xd0000000 67108864
*e820 = 1 0x0000000000000000 0x000000000009d000 2 0x000000000009d000
0x00000000000a0000 2 0x00000000000e0000 0x0000000000100000 1 0x0000000000100000
0x00000000bb834000 2 0x00000000bb834000 0x00000000c06dd000 4 0x00000000c06dd000
0x00000000c06de000 2 0x00000000c06de000 0x00000000cb56a000 4 0x00000000cb56a000
0x00000000cb59a000 3 0x00000000cb59a000 0x00000000cb5ff000 2 0x00000000cb5ff000
0x00000000cf800000 2 0x00000000f0000000 0x00000000f4000000 2 0x00000000fd000000
0x00000000fe800000 2 0x00000000fec00000 0x00000000fec01000 2 0x00000000fed00000
0x00000000fed01000 2 0x00000000fed10000 0x00000000fed18000 2 0x00000000fed18000
0x00000000fed19000 2 0x00000000fed19000 0x00000000fed1a000 2 0x00000000fed84000
0x00000000fed85000 2 0x00000000fee00000 0x00000000fee01000 2 0x00000000ff800000
0x0000000100000000 1 0x0000000100000000 0x000000042f800000
bootfile = /386/9pc
cdboot = yes
monitor = ask
mouseport = ask
vgasize = ask
% cat '#'P/archctl
cpu Celeron 2712 pge
pge on
coherence mfence
cmpswap cmpswap486
arch _MP_
cache default wb
cache 0xe0000000 536870912 uc
cache 0xd0000000 268435456 uc
cache 0xce000000 33554432 uc
cache 0xcd000000 16777216 uc
cache 0xd0000000 67108864 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
50 18 clock
51 19 lapicerror
63 31 lapicspurious
65 11 ether0
73 1 kbd
81 6 floppy
89 11 hda
97 11 xhci
105 11 sdE (ahci)
113 7 lpt
121 12 kbdaux
% 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
378 37a lpt0
3c0 3da vga
3f0 3f5 floppy
3f7 3f7 floppy
fff fff dummy
% 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
bridge netif log
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 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
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
sdram
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 40348 55868 102901 31370 0 0 78 98 0
1 47301 33531 78613 15069 0 0 0 98 0
% cat '#'¶/swap
3141079040 memory
4096 pagesize
65536 kernel
3205/702516 user
0/160000 swap
1177/702516 reclaim
4839104/4981952/240335744 kernel malloc
15287840/17905536/216302170 kernel draw
192/65568/16777216 kernel secret
% awk /^Plan 9/{p=1} /^init: starting/{exit} {if(p)print} '#'c/kmesg
Plan 9
126 holes free
0x0001a000 0x0009c000 532480
0x00525000 0x0ffff000 263036928
263569408 bytes free
cpu0: 2712MHz GenuineIntel Celeron (AX 000806E9 CX 77FAFBBF DX BFEBFBFF)
LAPIC: fee00000 0xe0001000
ELCR: 0800
cpu0: lapic clock at 24MHz
cpu1: 2712MHz GenuineIntel Celeron (AX 000806E9 CX 77FAFBBF DX BFEBFBFF)
pcirouting: ignoring south bridge PCI.0.31.0 8086/9D58
i219: bad eeprom checksum - 0x13ba; ignored
#l0: i219: 1000Mbps port 0xE1200000 irq 11 ea c85b76e5607a
#S/sdE: ahci: sata-II with 1 ports
#A0: hda mem e0024000 irq 11
#A0: codec #0, vendor 10ec0298, rev 00100103
#A0: codec #2, vendor 8086280b, rev 00100000
usbxhci: 0x8086 0x9d2f: port 0xe1220000 size 0x10000 irq 11
3000M memory: 256M kernel data, 2744M user, 3369M swap
i219: phy2 oui 0x5500
sdE0: LLBA 250,069,680 sectors
SanDisk SD8SB8U128G1001 X4133001 171853420331 [newdrive]
/dev/sdE0: SanDisk SD8SB8U128G1001
/dev/sdE0/data
/dev/sdE0/esp dos
/dev/sdE0/linuxdata
/dev/sdU18fd5: Generic Flash Disk 8.07
/dev/sdU18fd5/data 9660
/dev/sdU18fd5/esp dos
bootargs is (tcp, tls, il, local!device)[local!/dev/sdU18fd5/data]
user[glenda]:
% pci -v
0.0.0: brg 06.00.00 8086/5904 0
Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM
Registers
0.2.0: vid 03.00.00 8086/5916 11 0:e0000004 16777216 2:d000000c 268435456
4:0000e001 64
Intel Corporation HD Graphics 620
0.20.0: usb 0c.03.30 8086/9d2f 11 0:e1220004 65536
Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller
0.20.2: sigl 11.80.00 8086/9d31 11 0:e124a004 4096
Intel Corporation Sunrise Point-LP Thermal subsystem
0.22.0: ser 07.80.00 8086/9d3a 11 0:e124b004 4096
Intel Corporation Sunrise Point-LP CSME HECI #1
0.23.0: disk 01.06.01 8086/9d03 11 0:e1248000 8192 1:e124e000 256 2:0000e081 16
3:0000e089 16 4:0000e061 32 5:e124c000 2048
Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode]
0.28.0: brg 06.04.00 8086/9d10 11
Intel Corporation Sunrise Point-LP PCI Express Root Port #1
0.28.2: brg 06.04.00 8086/9d12 11
Intel Corporation Sunrise Point-LP PCI Express Root Port #3
0.31.0: brg 06.01.00 8086/9d58 0
Intel Corporation Sunrise Point-LP LPC Controller
0.31.2: mem 05.80.00 8086/9d21 0
Intel Corporation Sunrise Point-LP PMC
0.31.3: aud 04.03.00 8086/9d71 11 0:e1240004 16384 4:e1230004 65536
Intel Corporation Sunrise Point-LP HD Audio
0.31.4: smb 0c.05.00 8086/9d23 11 0:e124d004 256 4:0000efa1 32
Intel Corporation Sunrise Point-LP SMBus
0.31.6: net 02.00.00 8086/15d8 11 0:e1200000 131072
Intel Corporation Ethernet Connection (4) I219-V
2.0.0: --- ff.00.00 10ec/522a 11
Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader
3.0.0: net 02.80.00 8086/24fd 11 0:e1000004 8192
Intel Corporation Wireless 8265 / 8275
% aux/cpuid
vendor GenuineIntel
procmodel 000806e9 / 00100800
typefammod 0 06 086 9
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 pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm
pcid sse4_1 sse4_2
features x2apic movbe popcnt tscdeadline aes xsave avx f16c rdrnd
features xsaveopt
extmodel 00000000 / 00000000
extfeatures nx pg1g tscp lm
extfeatures ahf64 lzcnt 3dnow!p
procname Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
physbits 39
virtbits 48
% aux/icanhasmsi
0.2.0
0.20.0
0.20.2
0.22.0
0.23.0
0.28.0
0.28.2
0.31.3
0.31.6
2.0.0
3.0.0
% aux/icanhasvmx -v
vmcsrev 0x4
vmxonsz 1024
vmcsmem 6
extcontrols 1
pin extirq nmiexit virtnmi preempt
proc irqwin tscoffset hltexit invlpgexit mwaitexit rdpmcexit rdtscexit cr3ldexit
proc cr3stexit cr8ldexit cr8stexit tprshadow nmiwin movdrexit ioexit iobitmap mtf
proc msrbitmap monitorexit pauseexit
proc2 virtapic ept gdtexit rdtscp virtx2apic vpid wbinvdexit unrestr pauseloopexit
proc2 rdrandexit invpcid vmfunc enclsexit rdseedexit pml #ve conceal xsave
eptxmode
entry loaddebug guest64 entrysmm dualmonitor loadperfglobal loadpat loadefer
loadbndcfgs
entry concealentries
exit savedebug host64 saveperfglobal ackextirq !savepat !loadpat saveefer loadefer
exit savepreempt savebndcfgs concealexits
misc preemptdiv:7 cr3targ:4 maxmsr:0 mseg:0x0
misc longmodeswitch hlt shutdown ipi pt rdmsrsmm smmblock vmwriteany zerolenswirq
cr0fixed pe ne pg
cr4fixed !umip vmxe !smxe !pke
vmcsenum 0x2e
ept xonly pwl4 ucmem wbmem 2MBpage 1GBpage invept dirtybits violexitinfo
invept.single
ept invept.all
vpid invvpid invvpid.addr invvpid.single invvpid.all invvpid.noglob
% aux/pcmcia
pcmcia: opening #y/pcm0attr: '#y/pcm0attr' file does not exist
% cat '#'u/usb/ctl
ep1.0 enabled control rw speed high maxpkt 64 ntds 1 pollival 0 samplesz 0 hz 0
uframes 0 hub 0 port 0 rootport 0 addr 0 busy
roothub csp 0x000009 ports 12 xhci
ep2.0 enabled control rw speed super maxpkt 512 ntds 1 pollival 0 samplesz 0 hz 0
uframes 0 hub 0 port 0 rootport 0 addr 0 busy
roothub csp 0x000009 ports 6 xhci
ep3.0 enabled control rw speed high maxpkt 64 ntds 1 pollival 0 samplesz 0 hz 0
uframes 0 hub 0 port 6 rootport 6 addr 1 busy
storage csp 0x500608 vid 0x058f did 0x6387 Generic 'Mass Storage' 18fd5 xhci
ep3.1 enabled bulk w speed high maxpkt 512 ntds 1 pollival 0 samplesz 0 hz 0
uframes 0 hub 0 port 6 rootport 6 addr 1 busy
ep3.2 enabled bulk r speed high maxpkt 512 ntds 1 pollival 0 samplesz 0 hz 0
uframes 0 hub 0 port 6 rootport 6 addr 1 busy
ep4.0 enabled control rw speed high maxpkt 64 ntds 1 pollival 0 samplesz 0 hz 0
uframes 0 hub 0 port 8 rootport 8 addr 2 idle
239 csp 0x0102ef vid 0x5986 did 0x111c Bison 'Integrated Camera' cbcfa xhci
ep4.1 enabled iso r speed high maxpkt 1024 ntds 3 pollival 10 samplesz 4 hz 44100
uframes 0 hub 0 port 8 rootport 8 addr 2 idle
ep4.3 enabled interrupt r speed high maxpkt 16 ntds 1 pollival 32 samplesz 0 hz 0
uframes 0 hub 0 port 8 rootport 8 addr 2 idle
% cat '#'S/sdctl
sdE ahci ahci port 0xe0023000: 64a ncq alp led clo am pmb slum pslum apts iss 3
ncs 31 np 1 ghc 80000002 isr 0 pi 2 , 1 ver 10301
sdZ ram 4 units
% cat '#'S/sdE0/ctl
inquiry SanDisk SD8SB8U128G1001
model SanDisk SD8SB8U128G1001
serial 171853420331
firm X4133001
wwn 5001b444a63d8039
flag lba llba smart power ata8
udma 6
reg task 50 cmd c017 serr 0 ci 0 is 0 sig 101 sstatus 133
cmd cr fr pod sud st
mode auto sataiii
geometry 250069680 512
alignment 512 0
missirq 0
part data 0 250069680
part esp 2048 206848
part linuxdata 206848 250069647
% cat '#'l0/ether0/addr
c85b76e5607a
% cat '#'l0/ether0/stats
in: 196
link: 1
out: 12
crc errs: 0
overflows: 0
soft overflows: 0
framing errs: 0
buffer errs: 0
output errs: 0
prom: 0
mbps: 1000
addr: c85b76e5607a
% cat '#'l0/ether0/ifstats
Good Packets Received: 196 0
Broadcast Packets Received: 184 0
Good Packets Transmitted: 12 0
Good Octets Received: 28814 0
Good Octets Transmitted: 1905 0
Total Octets Received: 28814 0
Total Octets Transmitted: 1905 0
Total Packets Received: 196 0
Total Packets Transmitted: 12 0
Broadcast Packets Transmitted: 5 0
Interrupt Assertion: 196 0
lintr: 0 1
rintr: 196 197
tintr: 0 0
ixcs: 196 116 111
rdtr: 25
radv: 500
ctrl: 00100240
ctrlext: 815a1026
status: 40080483
txcw: 00000000
txdctl: 00040004
pba: 000e0012
speeds: 10:0 100:0 1000:1 ?:0
type: i219
eeprom: 5bc8 e576 7a60 0801 ffff 0014 00d1 8000
1000 ffff 10c3 5062 17aa 15d8 0000 0000
0000 0000 8000 0005 302c 1600 0000 0c00
2a64 0a00 0843 0113 15d7 baad 15d7 15d8
baad 15d7 baad 15d7 0000 8080 4e00 0886
0000 0000 0007 2000 0020 0000 0e00 0000
0100 4000 0109 4007 ffff ffff ffff ffff
ffff ffff ffff ffff ffff 0200 ffff fa38
% cat '#'v/vgactl
type vesa
size 1920x1080x32 x8r8g8b8
hwgc soft
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) SKL/KBL Mobile/Desktop Graphics Chipset Accelerated VGA BIOS 0.0
vesa vendor <nil>
vesa product <nil>
vesa rev <nil>
vesa cap 8-bit-dac
vesa mem 33488896
vesa dsp con 4
vesa dsp act 4
vesa mode 0x107 1280x1024x8 m8 packed
vesa mode 0x11a 1280x1024x16 r5g6b5 direct
vesa mode 0x11b 1280x1024x32 x8r8g8b8 direct
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
vesa mode 0x17d 1920x1080x8 m8 packed
vesa mode 0x17e 1920x1080x16 r5g6b5 direct
vesa mode 0x17f 1920x1080x32 x8r8g8b8 direct
edid mfr CMN
edid serialstr
edid name
edid product 4665
edid serial 0
edid version 1.4
edid mfrdate 2015.6
edid size (cm) 28x16
edid gamma 2.20
edid vert (Hz) 0-0
edid horz (Hz) 0-0
edid pclkmax 0
edid flags digital monochrome
edid 1920x1080@60Hz
clock=138.78
shb=1966 ehb=1996 ht=2080
vrs=1082 vre=1086 vt=1112
hsync=+ vsync=-
% xd -x1 '#'r/nvram
0000000 34 51 26 57 10 09 05 28 09 18 26 02 50 80 00 00
0000010 00 00 00 00 0e 74 02 ff ff 00 00 00 00 00 00 00
0000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 82
0000030 ff ff 20 00 00 b7 0b 00 00 00 00 00 00 00 00 00
0000040 00 00 00 00 c2 01 00 07 00 00 00 00 46 00 00 80
0000050 01 00 00 00 7f ff ff ff 00 00 00 00 00 00 a2 00
0000060 01 00 00 00 02 00 03 00 00 00 00 01 00 ff 01 00
0000070 6f 00 30 00 00 00 00 00 00 5a 00 00 49 53 b2 00
0000080 34 51 26 57 10 09 05 28 09 18 26 02 40 80 00 00
0000090 00 00 00 00 0e 74 02 ff ff 00 00 00 00 00 00 00
00000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 82
00000b0 ff ff 20 00 00 b7 0b 00 00 00 00 00 00 00 00 00
00000c0 00 00 00 00 c2 01 00 07 00 00 00 00 46 00 00 80
00000d0 01 00 00 00 7f ff ff ff 00 00 00 00 00 00 a2 00
00000e0 01 00 00 00 02 00 03 00 00 00 00 01 00 ff 01 00
00000f0 6f 00 30 00 00 00 00 00 00 5a 00 00 49 53 b2 00
0000100
0000100
% cat '#'A/audiostat
bufsize 1024 buffered 0
codec 0 pin 20 inpin 18
aout 2 41d
aout 3 41d
beep 4 f00000
beep 5 f00000
aout 6 411
beep 7 f00000
ain 8 10051b ← asel 35
ain 9 10051b ← asel 34
ain 10 100511 ← asel 37
amix 11 20010b ← pin 24, pin 25, pin 26, pin 29
amix 12 20010b ← aout 2, amix 11
amix 13 20010b ← aout 3
beep 14 f00000
beep 15 f00000
beep 16 f00000
ain 17 10051b ← asel 36
pin 18 in fix int N/A micin ?
pin 19 in nothing ext N/A lineout ?
pin 20 out fix int N/A speaker ? eapd ← amix 12, amix 13
beep 21 f00000
beep 22 f00000
pin 23 out nothing ext rear speaker black eapd ← amix 12, amix 13, aout 6
pin 24 in jack ext left micin black
pin 25 in nothing ext rear speaker black
pin 26 inout nothing ext rear speaker black eapd ← amix 12, amix 13
beep 27 f00000
beep 28 f00000
pin 29 in nothing ext N/A modemline purple
pin 30 out nothing ext rear speaker black ← aout 6
pin 31 in nothing ext rear speaker black
beep 32 f00040
pin 33 out jack ext left hpout black ← amix 12, amix 13
asel 34 300101 ← pin 24, pin 25, pin 26, pin 29, amix 11, pin 18
asel 35 300101 ← pin 24, pin 25, pin 26, pin 29, amix 11, pin 19
asel 36 300101 ← pin 18, pin 19
asel 37 300101 ← pin 31
codec 2 pin 20 inpin 18
aout 2 6611
pin 3 out jack int special digiout ? hdmi ← aout 2
outpath aout 2 → amix 12 → pin 20
outamp aout 2
inpath pin 18 → asel 34 → 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