9front - general discussion about 9front
 help / color / mirror / Atom feed
* Fwd: Xeon5000-series 2002
@ 2012-05-02 15:44 sl
  0 siblings, 0 replies; only message in thread
From: sl @ 2012-05-02 15:44 UTC (permalink / raw)
  To: 9front

[-- Attachment #1: Type: text/plain, Size: 1188 bytes --]

Changed to limit kmesg and to use '#' devices wherever possible
instead of whatever happens to be bound over /dev. Sample output
is attached.

-sl

---

#!/bin/rc
fn logprog{
	echo % `{echo $"* | sed 's/#/''#''/g'}
	$*
	echo
}

fn work{
	echo '% cd ''#ec''; for(i in *){echo $i ''='' `{cat $i}}'
	cd '#ec'; for(i in *){echo $i '=' `{cat $i}}
	echo
	logprog cat '#P/archctl'
	logprog cat '#P/irqalloc'
	logprog cat '#P/ioalloc'
	logprog cat '#c/config'
	logprog cat '#c/swap'
	logprog cat '#c/sysstat'
	logprog awk '/^Plan 9$/{p=1}
/^init: starting/{exit}
{if(p)print}' '#c/kmesg'
	logprog pci -v
	logprog aux/icanhasmsi
	logprog aux/pcmcia
	logprog cat '#u/usb/ctl'
	logprog cat '#S/sdctl'
	for(i in '#S'/sd[A-Z][0-9]*/ctl)
		logprog cat $i
	for(i in '#l/ether'*){
		logprog cat $i/addr
		logprog cat $i/stats
		logprog cat $i/ifstats
	}
	logprog cat '#v/vgactl'
	echo '@{rfork n; aux/realemu; aux/vga -p}'
	@{rfork n; aux/realemu; aux/vga -p}
	logprog xd -x1 '#r/nvram'
	logprog cat '#A/audiostat'
	logprog cat '#A/volume'
	logprog cat /mnt/apm/ctl
}

switch($1){
case -m
	{echo Subject: `{cat '#P/cputype'}; work} >[2=1] |
		upas/smtp 9front.org $user hardware@9front.org
case *
	work
}

[-- Attachment #2: Type: message/rfc822, Size: 16558 bytes --]

From: "" <glenda@sp.nv>
To: hardware@9front.org
Subject: Xeon5000-series 2002
Date: Wed, 2 May 2012 15:37:52 +0000
Message-ID: <f027eb78de0f604650672b82a2dc17fb@sp.nv>


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2.1: Type: text/plain, Size: 15523 bytes --]

From: "" <glenda@sp.nv>
To: hardware@9front.org
Subject: Xeon5000-series 2002
Date: Wed, 2 May 2012 15:37:52 +0000
Message-ID: <f027eb78de0f604650672b82a2dc17fb@sp.nv>

% cd '#ec'; for(i in *){echo $i '=' `{cat $i}}
*msi = 1
bootargs = local!/dev/sdE0/fscache
bootfile = 9pccpuf
e820 = 0000000000000000 000000000009d800 0000000000100000 00000000bf6b0000 0000000100000000 000000013c000000
monitor = vesa
mouseport = ps2intellimouse
nvram = /dev/sdE0/nvram
vgasize = 1280x800x32

% cat '#'P/archctl
cpu Xeon5000-series 1996 pge
pge on
coherence mfence
cmpswap cmpswap486
i8253set on
cache default uc
cache 0xc0000000 1073741824 uc
cache 0x13c000000 67108864 uc
cache 0x0 4294967296 wb
cache 0x100000000 1073741824 wb
cache 0xbf700000 1048576 uc
cache 0xbf800000 8388608 uc

% cat '#'P/irqalloc
          3           0 debugpt
          7           0 mathemu
          8           0 doublefault
          9           0 mathover
         14           0 fault386
         15           0 unexpected
         16           0 matherror
         50          18 clock
         51          19 lapicerror
         63          31 lapicspurious
         72           1 kbd
         80          11 ether0
         88          11 hda
         96           6 floppy
        104          11 usbuhci
        112          10 usbuhci
        120          14 sdC (ide)
        128          10 sdE (ahci)

% 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         
     1f0      1f7 atacmd      
     2b0      2df vga         
     3c0      3da vga         
     3e0      3e1 i82365.0    
     3f0      3f5 floppy      
     3f6      3f6 atactl      
     3f7      3f7 floppy      
     fff      fff dummy       
    1860     187f usbuhci     
    1880     189f usbuhci     
    18a0     18bf usbuhci     
    18c0     18df usbuhci     
    18e0     18ff usbuhci     

% cat '#'c/config
# pccpuf - pc cpu server with local disk
dev
	root
	cons
	arch
	pnp		pci
	env
	pipe
	proc
	mnt
	srv
	shr
	dup
	rtc
	ssl
	tls
	bridge		log
	sdp		thwack unthwack
	cap
	kprof
	fs

	ether		netif
	ip		arp chandial ip ipv6 ipaux iproute netlog nullmedium pktmedium ptclbsum386 inferno

	draw		screen vga vgax
	mouse		mouse
	kbd
	vga

	sd
	audio		dma
	floppy		dma
	aoe

	uart
	usb

link
	segdesc
	devpccard
	devi82365
	apm		apmjump
	ether2000	ether8390
	ether2114x	pci
	ether589	etherelnk3
	ether79c970	pci
	ether8003	ether8390
	ether8139	pci
	ether8169	pci ethermii
	ether82543gc	pci
	ether82563	pci
	ether82557	pci
	ether83815	pci
	etherdp83820	pci
	etherbcm	pci
	etherec2t	ether8390
	etherelnk3	pci
	etherga620	pci
	etherigbe	pci ethermii
	ethervgbe	pci ethermii
	ethervt6102	pci ethermii
	ethervt6105m	pci ethermii
#	etherm10g	pci
	ethersink
	ethersmc	devi82365 cis
	etherwavelan	wavelan devi82365 cis pci
	ethermedium
	netdevmedium
	loopbackmedium
	usbuhci
	usbohci
	usbehci		usbehcipc

	audiosb16	dma
	audioac97	audioac97mix
	audiohda

misc
	archmp		mp apic
	mtrr

	uarti8250
	uartpci		pci

	sdaoe
	sdide		pci sdscsi
	sd53c8xx	pci sdscsi
	sdmylex		pci sdscsi
	sdiahci		pci sdscsi led
	sdodin		pci sdscsi led
	sdloop

	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
	vgargb524	=cur
	vgas3		+cur vgasavage
	vgat2r4		+cur
	vgatvp3020	=cur
	vgatvp3026	=cur
	vgavesa
	vgavmware	+cur

ip
	tcp
	udp
	ipifc
	icmp
	icmp6
	gre
	ipmux
	esp
	rudp

port
	int cpuserver = 1;

boot cpu
	tcp
	local

bootdir
	boot$CONF.out	boot
	/$objtype/bin/paqfs
	/$objtype/bin/auth/factotum
	bootfs.paq

% cat '#'c/swap
3207233536 memory
4096 pagesize
36735 kernel
200067/746281 user
0/160000 swap
25303072/73215200 kernel malloc
0/73215200 kernel draw

% cat '#'c/sysstat
          0   196962812   845279358   591878664  1957712144           0           0         272          87           0 
          1   853654572   489208293   252213559  1936249664           0           0           0          89           0 

% awk /^Plan 9$/{p=1} /^init: starting/{exit} {if(p)print} '#'c/kmesg
Plan 9
126 holes free
00018000 0009d000 544768
0048d000 09387000 149921792
150466560 bytes free
cpu0: 1995MHz GenuineIntel Xeon5000-series (cpuid: AX 0x06FB DX 0xBFEBFBFF)
ELCR: 0C00
LAPIC: fee00000 e0000000
cpu1: 2001MHz GenuineIntel Xeon5000-series (cpuid: AX 0x06FB DX 0xBFEBFBFF)
pcirouting: Cannot find south bridge PCI.255.31.7
#Y0: Ricoh 476 PCI/Cardbus bridge, F8300000 intl 10
msiintrenable: success with tbdf 0c00c800, vector 80, cpu 1
#l0: i82566: 1000Mbps port 0xFE000000 irq 11: 001fe21c1581
#S/sdE: ich: sata-I with 1 ports
#A0: hda mem e0024000 irq 11
hda: invalid connection 2:aout[0] -> 1
#A0: codec #0, vendor 11d41984, rev 00100400
msiintrenable: success with tbdf 0c00d800, vector 88, cpu 0
mpintrenable: multiple botch irq11, tbdf 5000000, lo 00000068, n 00000068
mpintrenable: out of choices eisa -1 isa 22 tbdf 0xc00d100 irq 11
intrenable: couldn't enable irq 11, tbdf 0xC00D100 for usbuhci
mpintrenable: multiple botch irq11, tbdf 5000000, lo 00000068, n 00000068
mpintrenable: out of choices eisa -1 isa 22 tbdf 0xc00e900 irq 11
intrenable: couldn't enable irq 11, tbdf 0xC00E900 for usbuhci
mpintrenable: multiple botch irq11, tbdf 5000000, lo 00000068, n 00000068
mpintrenable: out of choices eisa -1 isa 22 tbdf 0xc00ea00 irq 11
intrenable: couldn't enable irq 11, tbdf 0xC00EA00 for usbuhci
mpintrenable: multiple botch irq11, tbdf 5000000, lo 00000068, n 00000068
mpintrenable: out of choices eisa -1 isa 22 tbdf 0xc00d700 irq 11
intrenable: couldn't enable irq 11, tbdf 0xC00D700 for usbehci
mpintrenable: multiple botch irq11, tbdf 5000000, lo 00000068, n 00000068
mpintrenable: out of choices eisa -1 isa 22 tbdf 0xc00ef00 irq 11
intrenable: couldn't enable irq 11, tbdf 0xC00EF00 for usbehci
3063M memory: 148M kernel data, 2915M user, 3540M swap
msiintrenable: success with tbdf 0c00fa00, vector 128, cpu 1
sdE0: LLBA 156,301,488 sectors
  WDC WD800BEVS-08RST2 08.01G08 WD-WXCD-WXC308481170 [newdrive]

/dev/sdC0: HL-DT-STDVD-ROM GDR-M10N
/dev/sdE0: WDC WD800BEVS-08RST2
/dev/sdE0/9fat	 dos
/dev/sdE0/data	
/dev/sdE0/fscache	 cwfs64x
/dev/sdE0/fsworm	
/dev/sdE0/nvram
/dev/sdE0/other	
/dev/sdE0/plan9
bootargs is (tcp, local!device) [local!/dev/sdE0/fscache] 
current fs is "main"
12 uids read, 8 groups used
63-bit cwfs as of Tue Mar 27 02:24:35 2012
	last boot Tue Mar 27 03:18:14 2012
3 keys read


% pci -v
0.0.0:	brg  06.00.00 8086/2a00   0
	Intel Corporation
0.2.0:	vid  03.00.00 8086/2a02  10 0:f8100004 1048576 1:00000000 16 2:e000000c 268435456 3:00000000 16 4:00001801 16
	Intel Corporation 02091028 Intel GM965, Intel X3100
0.2.1:	vid  03.80.00 8086/2a03   0 0:f8200004 1048576 1:00000000 16
	Intel Corporation 82Q965 Intel GM
0.25.0:	net  02.00.00 8086/1049  11 0:fe000000 131072 1:fe025000 4096 2:00001841 32
	Intel Corporation 82566MM NIC Gigabit Network Connection Interface Controller
0.26.0:	usb  0c.03.00 8086/2834  11 4:00001861 32
	Intel Corporation
0.26.1:	usb  0c.03.00 8086/2835  11 4:00001881 32
	Intel Corporation
0.26.7:	usb  0c.03.20 8086/283a  11 0:fe226c00 1024
	Intel Corporation 81EC1043 (?) ICH8 Enhanced USB2 Enhanced Host Controller
0.27.0:	aud  04.03.00 8086/284b  11 0:fe020004 16384 1:00000000 16
	Intel Corporation 888 Microsoft UAA bus for HD audio
0.28.0:	brg  06.04.00 8086/283f  11
	Intel Corporation
0.28.1:	brg  06.04.00 8086/2841  11
	Intel Corporation
0.28.2:	brg  06.04.00 8086/2843  11
	Intel Corporation
0.28.3:	brg  06.04.00 8086/2845  11
	Intel Corporation
0.28.4:	brg  06.04.00 8086/2847  11
	Intel Corporation
0.29.0:	usb  0c.03.00 8086/2830  10 4:000018a1 32
	Intel Corporation
0.29.1:	usb  0c.03.00 8086/2831  11 4:000018c1 32
	Intel Corporation
0.29.2:	usb  0c.03.00 8086/2832  11 4:000018e1 32
	Intel Corporation
0.29.7:	usb  0c.03.20 8086/2836  11 0:fe227000 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/2811   0
	Intel Corporation
0.31.1:	disk 01.01.8a 8086/2850 255 0:00000001 16 1:00000001 16 2:00000001 16 3:00000001 16 4:00001c01 16
	Intel Corporation 82801HBM/HEM PATA Controller
0.31.2:	disk 01.06.01 8086/2829  10 0:00001c51 16 1:00001c45 16 2:00001c49 16 3:00001c41 16 4:00001c21 32 5:fe226000 2048
	Intel Corporation 82801HBM AHCI Controller
0.31.3:	smb  0c.05.00 8086/283e  11 0:fe227400 256 4:00001c61 32
	Intel Corporation PCI\VEN_8086&DEV_283E&SUBSYS_20A917AA&REV_03\3&B1B SM Bus Controller
21.0.0:	brg  06.07.00 1180/0476  10
	Ricoh unknown RICOH SmartCard Reader
3.0.0:	net  02.80.00 8086/4230  11 0:df3fe004 8192 1:00000000 16
	Intel Corporation Intel 4965AGN Intel® Wireless WiFi Link 4965AGN

% aux/icanhasmsi
0.21.0
0.21.1
0.21.2
0.21.3
0.21.4
0.21.5
0.21.6
0.21.7
0.22.0
0.22.1
0.22.2
0.22.3
0.22.4
0.22.5
0.22.6
0.22.7
0.23.0
0.23.1
0.23.2
0.23.3
0.23.4
0.23.5
0.23.6
0.23.7
0.24.0
0.24.1
0.24.2
0.24.3
0.24.4
0.24.5
0.24.6
0.24.7

% 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 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 full maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0 port 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 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 busy
roothub csp 0x000009 ports 6 ehci

% cat '#'S/sdctl
sdC ata port 1F0 ctl 3F4 irq 14
sdE ahci ich port 0xe0023000: 64a ncq ntf alp led clo pmb slum pslum coal iss 1 ncs 31 np 3 ghc 80000002 isr 0 pi 1 0 ver 10100

% cat '#'S/sdC0/ctl
inquiry HL-DT-STDVD-ROM GDR-M10N
config 85C0 capabilities 0F00 dma 00550004 dmactl 00550004
model	HL-DT-STDVD-ROM GDR-M10N
serial	
firm	1.00
feat	lba atapi 
missirq	0
sloop	0
irq	404 403
bsy	0 0
nildrive	1

% cat '#'S/sdE0/ctl
inquiry WDC WD800BEVS-08RST2
model	WDC WD800BEVS-08RST2
serial	WD-WXCD-WXC308481170
firm	08.01G08
wwn	50014ee2ac0bab56
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 satai
geometry 156301488 512
part data 0 156301488
part plan9 63 156296385
part 9fat 63 204863
part nvram 204863 204864
part other 204864 22503652
part fscache 22503652 44802440
part fsworm 44802440 156296385

% cat '#'l/ether0/addr
001fe21c1581
% cat '#'l/ether0/stats
in: 64566684
link: 0
out: 87864094
crc errs: 0
overflows: 0
soft overflows: 231
framing errs: 0
buffer errs: 0
output errs: 0
prom: 0
mbps: 0
addr: 001fe21c1581

% cat '#'l/ether0/ifstats
Good Packets Received: 63874161 0
Broadcast Packets Received: 203209 0
Good Packets Transmitted: 82134436 0
Good Octets Received: 18190490683 0
Good Octets Transmitted: 58695701044 0
Total Octets Received: 18190503355 0
Total Octets Transmitted: 58695701044 0
Total Packets Received: 63874359 0
Total Packets Transmitted: 82134436 0
Broadcast Packets Transmitted: 4230 0
Interrupt Assertion: 62565793 0
lintr: 1 2
rintr: 62308703 62308703
tintr: 351319 351319
ixcs: 63874042 63845456 63564894
rdtr: 25
radv: 500
ctrl: 00140240
ctrlext: 41580000
status: 00080663
txcw: 00000000
txdctl: 00040004
pba: 00080008
pool: fast 63874416 slow 83184 nstarve 0 nwakey 0 starve 0
speeds: 10:0 100:0 1000:0 ?:2
type: i82566

% cat '#'v/vgactl
type cga
blank time 30 idle 52575 state on
hwaccel on
hwblank off
panning off
addr p 0x0 v 0x0 size 0x0

@{rfork n; aux/realemu; aux/vga -p}
dt
261B007D50201630
8B16007D50201630
0000000F00810A32
000000FE004C5031
vesa flag            Ulinear|Hlinear|Fsnarf
vesa sig            VESA 3.0
vesa oem            Intel(r)GM965/PM965/GL960 Graphics Chip Accelerated VGA BIOS 1.0
vesa vendor         Intel Corporation
vesa product        Intel(r)GM965/PM965/GL960 Graphics Controller
vesa rev            Hardware Version 0.0
vesa cap             8-bit-dac
vesa mem            7798784
vesa mode           0x160 768x480x8 m8 packed
vesa mode           0x161 768x480x16 r5g6b5 direct
vesa mode           0x162 768x480x32 x8r8g8b8 direct
vesa mode           0x163 960x600x8 m8 packed
vesa mode           0x164 960x600x16 r5g6b5 direct
vesa mode           0x165 960x600x32 x8r8g8b8 direct
vesa mode           0x166 1280x800x8 m8 packed
vesa mode           0x167 1280x800x16 r5g6b5 direct
vesa mode           0x168 1280x800x32 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
edid mfr            LEN
edid serialstr      
edid name           
edid product        16433
edid serial         0
edid version        1.3
edid mfrdate        2008.0
edid size (cm)      30x19
edid gamma          2.20
edid vert (Hz)      0-0
edid horz (Hz)      0-0
edid pclkmax        0
edid flags           digital standby suspend activeoff
edid 1280x800@60Hz  
		clock=69.5
		shb=1328 ehb=1360 ht=1405
		vrs=803 vre=809 vt=822
		hsync=- vsync=- 
edid 1280x800@50Hz  
		clock=57.71
		shb=1328 ehb=1360 ht=1405
		vrs=803 vre=809 vt=822
		hsync=- vsync=- 

% xd -x1 '#'r/nvram
0000000  33 00 38 00 15 00 04 02 05 12 26 02 50 80 00 00
0000010  00 00 00 00 03 7a 02 00 fc 01 00 03 00 bf 0e 00
0000020  00 02 00 00 00 00 05 00 00 bb bb 01 00 00 03 ca
0000030  00 fc 20 8c c1 07 70 bb 00 00 00 00 00 00 00 00
0000040  48 44 b0 bb 00 03 bb d4 2f 87 d0 30 80 00 00 00
0000050  00 00 c0 05 52 f8 2f 1d 00 5b 0f 02 03 30 00 04
0000060  04 00 f1 df f5 a0 01 71 14 07 10 d8 af 01 47 03
0000070  c5 fe 00 07 81 00 43 12 fc 63 00 00 49 53 b2 00
0000080  33 00 38 00 15 00 04 02 05 12 26 02 00 80 00 00
0000090  00 00 00 00 03 7a 02 00 fc 01 00 03 00 bf 0e 00
00000a0  00 02 00 00 00 00 05 00 00 bb bb 01 00 00 03 ca
00000b0  00 fc 20 8c c1 07 70 bb 00 00 00 00 00 00 00 00
00000c0  48 44 b0 bb 00 03 bb d4 2f 87 d0 30 80 00 00 00
00000d0  00 00 c0 05 52 f8 2f 1d 00 5b 0f 02 03 30 00 04
00000e0  04 00 f1 df f5 a0 01 71 14 07 10 d8 af 01 47 03
00000f0  c5 fe 00 07 81 00 43 12 fc 63 00 00 49 53 b2 00
0000100 
0000100 

% cat '#'A/audiostat
bufsize   1024 buffered      0
codec  0 pin  18
pin  17 out jack ext front hpout green
pin  18 out fix int N/A speaker ? eapd
pin  19 out nothing int rear speaker ? eapd
pin  20 in jack ext front micin red
pin  21 in fix int N/A micin ?
pin  22 out nothing int special cd ?
pin  23 in nothing int top micin ?
pin  24 in nothing int top micin ?
pin  26 in fix int rear other black
pin  27 out jack sep rear spdifout black
pin  28 out jack sep rear micin red

% cat '#'A/volume
master 100 100
speed 44100
delay 882

% cat /mnt/apm/ctl
cat: can't open /mnt/apm/ctl: '/mnt/apm/ctl' does not exist

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-05-02 15:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-02 15:44 Fwd: Xeon5000-series 2002 sl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).