9front - general discussion about 9front
 help / color / mirror / Atom feed
* rep
@ 2012-04-30 18:14 sl
  2012-04-30 23:19 ` rep cinap_lenrek
  0 siblings, 1 reply; 8+ messages in thread
From: sl @ 2012-04-30 18:14 UTC (permalink / raw)
  To: 9front

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

This is an updated version of a script to repot hardware
information. Ideally, this script would be run soon after
installation, with the output (along with a brief report
about what does and doesn't work) sent to the mailing list.

Included here is the output when run on a typical VMware
installation:

term% rep

9fs 9fat && cat /n/9fat/plan9.ini
bootfile=9pcf
bootargs=local!/dev/sdC0/fscache
nobootprompt=local!/dev/sdC0/fscache
nvram=/dev/sdC0/nvram
mouseport=ps2intellimouse
monitor=vesa
vgasize=1280x1024x32
*nomp=1
*novesashadow=1
user=sl

cat /dev/kmesg

Plan 9
126 holes free
00018000 0009f000 552960
00481000 0cf2a000 212504576
213057536 bytes free
cpu0: 3388MHz GenuineIntel P6 (cpuid: AX 0x206A7 DX 0xFEBFBFF)
ELCR: 0E20
#l0: AMD79C970: 10Mbps port 0x2000 irq 10: 000c2909aacf
mylex ctlr @ port 0x10c0: 32-bit wide SCSI host adapter
512M memory: 207M kernel data, 304M user, 929M swap
nusb/usbd: /dev/usb: no hubs
bad nvram key
bad authentication id
bad authentication domain
nvrcheck: can't read nvram
current fs is "main"
11 uids read, 8 groups used
63-bit cwfs as of Mon Apr 23 13:25:45 2012
	last boot Mon Apr 30 13:04:03 2012

init: starting /bin/rc
swap: /tmp/swap
term%

/dev/sdC0
inquiry VMware Virtual IDE Hard Drive
config 427A capabilities 2F00 dma 00550004 dmactl 00550004 rwm 16 rwmctl 0
model	VMware Virtual IDE Hard Drive
serial	00000000000000000001
firm	00000001
feat	lba power nop 
geometry 62914560 512
missirq	0
sloop	0
irq	38258 38254
bsy	0 0
nildrive	4
part data 0 62914560
part plan9 63 62910540
part 9fat 63 204863
part nvram 204863 204864
part other 204864 9162817
part fscache 9162817 18120770
part fsworm 18120770 62910540

/dev/sdD0
inquiry VMware Virtual IDE CDROM Drive
config 85C4 capabilities 0F00 dma 00550004 dmactl 00550004
model	VMware Virtual IDE CDROM Drive
serial	10000000000000000001
firm	00000001
feat	lba nop atapi 
missirq	0
sloop	0
irq	455 453
bsy	0 0
nildrive	2

pci -v
0.0.0:	brg  06.00.00 8086/7190   0
	Intel Corporation 82443BX/ZX 440BX/ZX AGPset Host Bridge
0.1.0:	brg  06.04.00 8086/7191   0
	Intel Corporation 82443BX/ZX 440BX/ZX AGPset PCI-to-PCI bridge
0.15.0:	vid  03.00.00 15ad/0405   9 0:000010f1 16 1:d0000000 134217728 2:d8000000 8388608
	VMware Inc. 9500MGS NVIDIA
0.16.0:	disk 01.00.00 104b/1040  11 0:000010c1 32 1:d8800000 32
	Mylex / Buslogic BT958 SCSI Host Adaptor
0.17.0:	brg  06.04.01 15ad/0790 255
	VMware Inc.
0.21.0:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.21.1:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.21.2:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.21.3:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.21.4:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.21.5:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.21.6:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.21.7:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.22.0:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.22.1:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.22.2:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.22.3:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.22.4:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.22.5:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.22.6:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.22.7:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.23.0:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.23.1:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.23.2:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.23.3:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.23.4:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.23.5:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.23.6:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.23.7:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.24.0:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.24.1:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.24.2:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.24.3:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.24.4:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.24.5:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.24.6:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.24.7:	brg  06.04.00 15ad/07a0 255
	VMware Inc.
0.7.0:	brg  06.01.00 8086/7110   0
	Intel Corporation 82371AB/EB/MB PIIX4/4E/4M ISBridgeA 
0.7.1:	disk 01.01.8a 8086/7111 255 4:000010e1 16
	Intel Corporation 82371AB/EB/MB PIIX4/4E/4M IDE Controller
0.7.3:	brg  06.80.00 8086/7113   0
	Intel Corporation 82371AB/EB/MB PIIX4/4E/4M Power Management Controller
0.7.7:	---  08.80.00 15ad/0740   9 0:00001081 64
	VMware Inc. 0X0880 VMWare VMCI Bus Device
2.0.0:	net  02.00.00 1022/2000  10 0:00002001 128
	Advanced Micro Devices Am79C970/1/2/3/5/6 PCnet LANCE PCI Ethernet Controller
2.1.0:	aud  04.01.00 1274/1371   5 0:00002081 64
	Ensoniq ES 1371 AudioPCI

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

cat /dev/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         
     170      177 atacmd      
     1f0      1f7 atacmd      
     2b0      2df vga         
     376      376 atactl      
     378      37a lpt0        
     3c0      3da vga         
     3f0      3f5 floppy      
     3f6      3f6 atactl      
     3f7      3f7 floppy      
     fff      fff dummy       
    10c0     10c2 mylex       
    2000     207f amd79c970   

@{rfork n; aux/realemu; aux/vga -p}
vesa flag            Ulinear|Hlinear|Fsnarf
vesa sig            VESA 2.0
vesa oem            V M ware, Inc. VBE support 2.0 2.0
vesa vendor         VMware, Inc
vesa product        VMware virtual machine
vesa rev            2.0
vesa cap             8-bit-dac not-vga
vesa mem            19005440
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           0x111 640x480x16 r5g6b5 direct
vesa mode           0x114 800x600x16 r5g6b5 direct
vesa mode           0x117 1024x768x16 r5g6b5 direct
vesa mode           0x11a 1280x1024x16 r5g6b5 direct
vesa mode           0x120 320x200x8 m8 packed
vesa mode           0x121 320x400x8 m8 packed
vesa mode           0x122 640x400x8 m8 packed
vesa mode           0x123 640x480x8 m8 packed
vesa mode           0x124 800x600x8 m8 packed
vesa mode           0x125 1024x768x8 m8 packed
vesa mode           0x126 1152x864x8 m8 packed
vesa mode           0x127 1280x960x8 m8 packed
vesa mode           0x128 1280x1024x8 m8 packed
vesa mode           0x129 1400x1050x8 m8 packed
vesa mode           0x12a 1600x1200x8 m8 packed
vesa mode           0x12b 1792x1344x8 m8 packed
vesa mode           0x12c 1856x1392x8 m8 packed
vesa mode           0x12d 1920x1440x8 m8 packed
vesa mode           0x12e 320x200x16 r5g6b5 direct
vesa mode           0x12f 320x400x16 r5g6b5 direct
vesa mode           0x130 640x400x16 r5g6b5 direct
vesa mode           0x131 640x480x16 r5g6b5 direct
vesa mode           0x132 800x600x16 r5g6b5 direct
vesa mode           0x133 1024x768x16 r5g6b5 direct
vesa mode           0x134 1152x864x16 r5g6b5 direct
vesa mode           0x135 1280x960x16 r5g6b5 direct
vesa mode           0x136 1280x1024x16 r5g6b5 direct
vesa mode           0x137 1400x1050x16 r5g6b5 direct
vesa mode           0x138 1600x1200x16 r5g6b5 direct
vesa mode           0x139 1792x1344x16 r5g6b5 direct
vesa mode           0x13a 1856x1392x16 r5g6b5 direct
vesa mode           0x13b 1920x1440x16 r5g6b5 direct
vesa mode           0x13c 320x200x32 x8r8g8b8 direct
vesa mode           0x13d 320x400x32 x8r8g8b8 direct
vesa mode           0x13e 640x400x32 x8r8g8b8 direct
vesa mode           0x13f 640x480x32 x8r8g8b8 direct
vesa mode           0x140 800x600x32 x8r8g8b8 direct
vesa mode           0x141 1024x768x32 x8r8g8b8 direct
vesa mode           0x142 1152x864x32 x8r8g8b8 direct
vesa mode           0x143 1280x960x32 x8r8g8b8 direct
vesa mode           0x144 1280x1024x32 x8r8g8b8 direct
vesa mode           0x145 1400x1050x32 x8r8g8b8 direct
vesa mode           0x146 1600x1200x32 x8r8g8b8 direct
vesa mode           0x147 1792x1344x32 x8r8g8b8 direct
vesa mode           0x148 1856x1392x32 x8r8g8b8 direct
vesa mode           0x149 1920x1440x32 x8r8g8b8 direct
vesa mode           0x14a 1366x768x8 m8 packed
vesa mode           0x14b 1366x768x16 r5g6b5 direct
vesa mode           0x14c 1366x768x32 x8r8g8b8 direct
vesa mode           0x14d 1680x1050x8 m8 packed
vesa mode           0x14e 1680x1050x16 r5g6b5 direct
vesa mode           0x14f 1680x1050x32 x8r8g8b8 direct
vesa mode           0x150 1920x1200x8 m8 packed
vesa mode           0x151 1920x1200x16 r5g6b5 direct
vesa mode           0x152 1920x1200x32 x8r8g8b8 direct
vesa mode           0x153 2048x1536x8 m8 packed
vesa mode           0x154 2048x1536x16 r5g6b5 direct
vesa mode           0x155 2048x1536x32 x8r8g8b8 direct
vesa mode           0x156 320x240x8 m8 packed
vesa mode           0x157 320x240x16 r5g6b5 direct
vesa mode           0x158 320x240x32 x8r8g8b8 direct
vesa mode           0x159 400x300x8 m8 packed
vesa mode           0x15a 400x300x16 r5g6b5 direct
vesa mode           0x15b 400x300x32 x8r8g8b8 direct
vesa mode           0x15c 512x384x8 m8 packed
vesa mode           0x15d 512x384x16 r5g6b5 direct
vesa mode           0x15e 512x384x32 x8r8g8b8 direct
vesa mode           0x15f 854x480x8 m8 packed
vesa mode           0x160 854x480x16 r5g6b5 direct
vesa mode           0x161 854x480x32 x8r8g8b8 direct
vesa mode           0x162 1280x720x8 m8 packed
vesa mode           0x163 1280x720x16 r5g6b5 direct
vesa mode           0x164 1280x720x32 x8r8g8b8 direct
vesa mode           0x165 1920x1080x8 m8 packed
vesa mode           0x166 1920x1080x16 r5g6b5 direct
vesa mode           0x167 1920x1080x32 x8r8g8b8 direct
vesa mode           0x168 1280x800x8 m8 packed
vesa mode           0x169 1280x800x16 r5g6b5 direct
vesa mode           0x16a 1280x800x32 x8r8g8b8 direct
vesa mode           0x16b 1440x900x8 m8 packed
vesa mode           0x16c 1440x900x16 r5g6b5 direct
vesa mode           0x16d 1440x900x32 x8r8g8b8 direct
vesa mode           0x16e 720x480x8 m8 packed
vesa mode           0x16f 720x480x16 r5g6b5 direct
vesa mode           0x170 720x480x32 x8r8g8b8 direct
vesa mode           0x171 720x576x8 m8 packed
vesa mode           0x172 720x576x16 r5g6b5 direct
vesa mode           0x173 720x576x32 x8r8g8b8 direct
vesa mode           0x174 800x480x8 m8 packed
vesa mode           0x175 800x480x16 r5g6b5 direct
vesa mode           0x176 800x480x32 x8r8g8b8 direct
vesa mode           0x177 1280x768x8 m8 packed
vesa mode           0x178 1280x768x16 r5g6b5 direct
vesa mode           0x179 1280x768x32 x8r8g8b8 direct


cat /dev/audiostat
cat: can't open /dev/audiostat: '/dev/audiostat' file does not exist

cat /dev/volume
cat: can't open /dev/volume: '/dev/volume' file does not exist


-sl

[-- Attachment #2: rep --]
[-- Type: text/plain, Size: 553 bytes --]

#!/bin/rc
cmd1='9fs 9fat && cat /n/9fat/plan9.ini'
cmd2='cat /dev/kmesg'
cmd3='for(i in `{ls /dev | grep -e 'sd[A-Z][0-9].*'}){
	echo
	echo $i
	cat $i/ctl
}'
cmd4='pci -v'
cmd5='aux/icanhasmsi'
cmd6='cat /dev/ioalloc'
cmd7='@{rfork n; aux/realemu; aux/vga -p}'
cmd8='cat /dev/audiostat'
cmd9='cat /dev/volume'
echo
echo $"cmd1
eval $"cmd1
echo
echo $"cmd2
eval $"cmd2
eval $"cmd3
echo
echo $"cmd4
eval $"cmd4
echo
echo $"cmd5
eval $"cmd5
echo
echo $"cmd6
eval $"cmd6
echo
echo $"cmd7
eval $"cmd7
echo
echo $"cmd8
eval $"cmd8
echo
echo $"cmd9
eval $"cmd9

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-05-01 15:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-30 18:14 rep sl
2012-04-30 23:19 ` rep cinap_lenrek
2012-05-01 13:34   ` rep sl
2012-05-01 14:07     ` rep cinap_lenrek
2012-05-01 14:19       ` rep sl
2012-05-01 15:33         ` rep cinap_lenrek
2012-05-01 15:49         ` rep Steve Simon
2012-05-01 15:52           ` rep 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).