From owner-FreeBSD-users-jp@jp.freebsd.org  Fri Aug  4 14:27:52 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id OAA89782;
	Fri, 4 Aug 2000 14:27:52 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from junkun.vblab.tsukuba.ac.jp (junkun.vbl.tsukuba.ac.jp [130.158.94.147])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id OAA89775
	for <FreeBSD-users-jp@jp.freebsd.org>; Fri, 4 Aug 2000 14:27:52 +0900 (JST)
	(envelope-from junkun@esys.tsukuba.ac.jp)
Received: from localhost (sonic [192.168.2.151])
	by junkun.vblab.tsukuba.ac.jp (8.9.3/3.7W) with ESMTP id OAA21248
	for <FreeBSD-users-jp@jp.freebsd.org>; Fri, 4 Aug 2000 14:27:56 +0900 (JST)
To: FreeBSD-users-jp@jp.freebsd.org
From: Jun YAMASHITA / =?iso-2022-jp?B?GyRCOzMyPD1fGyhC?=
 <junkun@esys.tsukuba.ac.jp>
X-Mailer: Mew version 1.94.1 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA)
Mime-Version: 1.0
Content-Type: Multipart/Mixed;
 boundary="--Next_Part(Fri_Aug__4_14:27:35_2000_518)--"
Content-Transfer-Encoding: 7bit
Message-Id: <20000804142750M.junkun@esys.tsukuba.ac.jp>
Date: Fri, 04 Aug 2000 14:27:50 +0900
X-Dispatcher: imput version 20000228(IM140)
Lines: 449
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: FreeBSD-users-jp 53986
Subject: [FreeBSD-users-jp 53986] IO DATA GV-VCP/PCI on FreeBSD 4.1-STABLE
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org
X-Originator: junkun@esys.tsukuba.ac.jp

----Next_Part(Fri_Aug__4_14:27:35_2000_518)--
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit

$B$$$D$NCJ3,$+$i$+ITL@$J$N$G$9$,!"(B4.1-STABLE $B$N%^%7%s$G(B /deb/bktr0 $B7PM3(B
$B$G2hA|$r<h$j9~$a$J$/$J$C$F$7$^$$$^$7$?!#<h$j9~$_$K$D$+$C$F$$$k$N$O(B
IO DATA $B@=$N(B GV-VCP/PCI $B$G$9!#(B

$B0JA0(B 3.5-STABLE $B$GF0$+$7$F$$$?$H$-$K$O2hA|$O<h$j9~$a$k$3$H$,3NG'$7$F$^(B
$B$9$,!"$-$g$&(B fxtv $B$r;H$&$H!"%3%s%]%8%C%H!"(BSVIDEO $B$NN>J}$H$b;H$($J$/$J$C(B
$B$F$^$7$?!#(B

$B%^%7%s$N9=@.$O$3$s$J46$8$G$9!#(B
	o M/B	ABIT BP-6 + Dual Celeron 466
	o Riva128 (PCI$B@\B3$N%S%G%*%+!<%I(B)
	o GV-VCP/PCI ($B%-%c%W%A%c(B)
	o Inter Pro 100+ Ethernet
	o Tekram DC390(T)
	o SoundBlaster Vibra 128

sonic: {3} uname -a
FreeBSD sonic.vblab.tsukuba.ac.jp 4.1-STABLE FreeBSD 4.1-STABLE #13: Fri Aug  4 13:51:04 JST 2000     junkun@sonic.vblab.tsukuba.ac.jp:/usr/src/sys/compile/SONIC_SMP  i386


$B6qBNE*$K$O!"(Bfxtv $B$O5/F0$9$k$s$G$9$,!"2hLL$,??$C0E(B($B%V%k!<%P%C%/$G$O$J$$(B)
$B$N>uBV$G$9!#<+:n$N%-%c%W%A%c!<%D!<%k$r;H$C$F$b!"F1$8$/??$C0E$J2hLL$7$+(B
$B<h$j9~$a$^$;$s!#(B

dmesg $B$r8+$k8B$jG'<1$5$l$F$$$k$h$&$G$9$7!"(Bpciconf -l $B$G$b(B bktr0 $B$NMs$O(B
$B$"$j$^$9!#(B

3.5-STABLE $B$N$H$-$O!"%+!<%M%k%3%s%U%#%.%e%l!<%7%g%s%U%!%$%k$K(B
 
options         OVERRIDE_CARD=9

$B$rDI2C$7$J$/$F$bF0:n$7$F$$$^$7$?!#:#F|<h$j9~$a$J$$$N$G$3$N9T$rDI2C$7$F(B
$BL@<(E*$KG'<1$9$k$h$&$K$7$F$_$?$N$G$9$,!"$@$a$G$7$?!#(B

$B$R$H$DITL@$JE@$,$"$C$F!"5/F0;~$K%+!<%I$rG'<1$7$?$j!"$"$k$$$O%+!<%M%k$G(B
$B%+!<%I$N%?%$%W$rL@<(E*$K;XDj$7$F$$$k$K$b$+$+$o$i$:!"(Bsysctl -a $B$G8+$F$_(B
$B$k$H(B

sonic: {3} sysctl -a|grep bt
hw.bt848.card: -1
hw.bt848.tuner: -1
hw.bt848.reverse_mute: -1
hw.bt848.format: -1
hw.bt848.slow_msp_audio: -1

$B$H$$$&>uBV$K$J$C$F$$$k$3$H$G$9!#(B
$B$^$?!"(B

sonic: {4} cat /dev/bktr0 
cat: /dev/bktr0: Invalid argument

$B$H$J$C$F$7$^$$$^$9!#(B3.5-STABLE$B>e$G(B bktr $B$,@5>o$KF0$$$F$$$k%^%7%s$GF1$8(B
$B$3$H$r$9$k$H!"2hA|%G!<%?$KBP1~$9$k(B($B$H;W$o$l$k(B)$B%G!<%?$,EG$-=P$5$l$^$9!#(B

$BF1$8$h$&$J>I>u$K$J$C$F$$$kJ}!"$"$k$$$OBP=h$NJ}K!$r$4B8CN$NJ}$,$$$^$7$?(B
$B$i$465<(4j$$$?$$$H;W$$$^$9!#(B

# $B$3$3$7$P$i$/$O(B bktr $B4XO"$O$+$o$C$F$$$J$$$_$?$$$@$7!"$=$&$J$k$H%O!<%I(B
# $B%&%'%"$N8N>c$+$J(B?


----Next_Part(Fri_Aug__4_14:27:35_2000_518)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=dmesg

Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.1-STABLE #13: Fri Aug  4 13:51:04 JST 2000
    junkun@sonic.vblab.tsukuba.ac.jp:/usr/src/sys/compile/SONIC_SMP
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (476.08-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
  Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 134152192 (131008K bytes)
avail memory = 127053824 (124076K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 19
Timecounter "PIIX"  frequency 3579545 Hz
intpm0: <Intel 82371AB Power management controller> port 0x5000-0x500f irq 9 at device 7.3 on pci0
intpm0: I/O mapped 5000
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped 4000 
amd0: <Tekram DC390(T)/AMD53c974 SCSI Host Adapter> port 0xc400-0xc47f irq 19 at device 9.0 on pci0
pcm0: <AudioPCI ES1371> port 0xc800-0xc83f irq 18 at device 11.0 on pci0
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xcc00-0xcc3f mem 0xd7000000-0xd70fffff,0xd7100000-0xd7100fff irq 17 at device 13.0 on pci0
fxp0: Ethernet address 00:d0:b7:83:8d:4c
pci0: <NVidia/SGS-Thomson Riva128 graphics accelerator> at 15.0 irq 16
bktr0: <BrookTree 848A> mem 0xd7101000-0xd7101fff irq 19 at device 17.0 on pci0
iicbb0: <I2C generic bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicsmb0: <I2C to SMB bridge> on iicbus0
smbus1: <System Management Bus> on iicsmb0
smb1: <SMBus general purpose I/O> on smbus1
iic0: <I2C general purpose I/O> on iicbus0
smbus2: <System Management Bus> on bti2c0
smb2: <SMBus general purpose I/O> on smbus2
bktr0: Detected a MSP3430 at 0x80
I/O DATA GV-BCTV2/PCI, <no> tuner, dbx stereo, msp3400c stereo.
atapci1: <HighPoint HPT366 ATA66 controller> port 0xd800-0xd8ff,0xd400-0xd403,0xd000-0xd007 irq 18 at device 19.0 on pci0
ata2: at 0xd000 on atapci1
atapci2: <HighPoint HPT366 ATA66 controller> port 0xe400-0xe4ff,0xe000-0xe003,0xdc00-0xdc07 irq 18 at device 19.1 on pci0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppi0: <Parallel I/O> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
plip0: <PLIP network interface> on ppbus0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
IP Filter: v3.4.8 initialized.  Default = pass all, Logging = enabled
SMP: AP CPU #1 Launched!
ata0-slave: ata_command: timeout waiting for intr
ata0-slave: identify failed
ad4: 14649MB <IBM-DTLA-307015> [29765/16/63] at ata2-master using UDMA66
ad5: 12416MB <WDC AC313000R> [25228/16/63] at ata2-slave using UDMA66
acd0: CDROM <CRD-8322B> at ata0-master using PIO4
Waiting 2 seconds for SCSI devices to settle
Mounting root from ufs:ad5s1a
da0 at amd0 bus 0 target 0 lun 0
da0: <FUJITSU M2513A 1500> Removable Optical SCSI-2 device 
da0: 10.000MB/s transfers (10.000MHz, offset 10)
da0: Attempt to query device size failed: NOT READY, Medium not present
module_register: module linuxelf already exists!
linker_file_sysinit "linux.ko" failed to register! 17
module_register: module linuxaout already exists!
linker_file_sysinit "linux.ko" failed to register! 17
/dev/vmmon: Module vmmon: registered with major=200 minor=0 tag=$Name: build-570 $
/dev/vmmon: Module vmmon: initialized

----Next_Part(Fri_Aug__4_14:27:35_2000_518)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="SONIC_SMP"

#
# SONIC_SMP -- Multiprocessor kernel configuration file for FreeBSD/i386
#
#	$Id: SONIC_SMP,v 1.6 2000/08/04 04:26:13 junkun Exp junkun $

machine		i386
cpu		I686_CPU
ident		SONIC_SMP
maxusers	32

#
# The root device and filesystem type can be compiled in;
# this provides a fallback option if the root device cannot
# be correctly guesst by the bootstrap code, or an override if
# the RB_DFLTROOT flag (-r) is specified when booting the kernel.
#
options 	ROOTDEVNAME=\"ufs:ad5s1a\"

options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		FFS_ROOT		#FFS usable as root device [keep this!]
options		MFS			#Memory Filesystem
options 	MD_ROOT			#MD is a potential root device
options 	SOFTUPDATES		#Enable FFS soft updates support
options		NFS			#Network Filesystem
options		NFS_ROOT		#NFS usable as root device, "NFS" req'ed
options		MSDOSFS			#MSDOS Filesystem
options		CD9660			#ISO 9660 Filesystem
options		CD9660_ROOT		#CD-ROM usable as root. "CD9660" req'ed
options		PROCFS			#Process filesystem
options		COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options		SCSI_DELAY=2000		#Be pessimistic about Joe SCSI device
options		UCONSOLE		#Allow users to grab the console
options 	USERCONFIG		#boot -c editor
options 	VISUAL_USERCONFIG	#visual boot -c editor

# To make an SMP kernel, the next two are needed
options		SMP			# Symmetric MultiProcessor Kernel
options		APIC_IO			# Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
# use mptable for identify these arguments.
options		NCPU=2			# number of CPUs
options		NBUS=3			# number of busses
options		NAPIC=1			# number of IO APICs
options		NINTR=24		# number of INTs

device		isa
device		pci

# Floppy drives
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0

# ATA and ATAPI devices
#device		ata0	at isa? port IO_WD1 irq 14
device		ata
device		atadisk		# ATA disk drives
device		atapicd		# ATAPI CDROM drives
options 	ATA_STATIC_ID		#Static device numbering
#options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices

# SCSI Controller
# A single entry for any of these controllers (ncr, ahb, ahc) is
# sufficient for any number of installed devices.
device		amd		# AMD 53C974 (Teckram DC-390(T))

# SCSI peripherals
device		scbus		# SCSI bus (required)
device		pass		# Passthrough device (direct SCSI access)
device		da		# Direct Access (disks)
device 		pt		# SCSI processor type

# atkbdc0 controlls both the keyboard and the PS/2 mouse
# `flags' for atkbd:
#       0x01    Force detection of keyboard, else we always assume a keyboard
#       0x02    Don't reset keyboard, useful for some newer ThinkPads
#       0x04    Old-style (XT) keyboard support, useful for older ThinkPads
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1 flags 0x1
device		psm0	at atkbdc? irq 12

device		vga0	at isa?

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? flags 0x100

# Floating point support - do not disable.
#
# `flags' for npx0:
#	0x01	don't use the npx registers to optimize bcopy.
#	0x02	don't use the npx registers to optimize bzero.
#	0x04	don't use the npx registers to optimize copyin or copyout.
#	0x08	use emulator even if hardware FPU is available.
# The npx registers are normally used to optimize copying and zeroing when
# all of the following conditions are satisfied:
#	I586_CPU is an option
#	the cpu is an i586 (perhaps not a Pentium)
#	the probe for npx0 succeeds
#	INT 16 exception handling works.
# Then copying and zeroing using the npx registers is normally 30-100% faster.
# The flags can be used to control cases where it doesn't work or is slower.
# Setting them at boot time using userconfig works right (the optimizations
# are not used until later in the bootstrap when npx0 is attached).
# Flag 0x08 automatically disables the i586 optimized routines.
#
device		npx0	at nexus? port IO_NPX irq 13

# Serial (COM) ports
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3

# Parallel port
# Parallel port
device		ppc0	at isa? irq 7
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		plip		# TCP/IP over parallel
device		ppi		# Parallel port interface device

# The following Ethernet NICs are all PCI devices.
# MII bus support is required for some PCI 10/100 ethernet NICs,
# namely those which use MII-compliant transceivers or implement
# tranceiver control interfaces that operate like an MII. Adding
# "device miibus0" to the kernel config pulls in support for
# the generic miibus API and all of the PHY drivers, including a
# generic one for PHYs that aren't specifically handled by an
# individual driver.
device		miibus		# MII bus support
# PCI Ethernet NICs that use the common MII bus controller code.
device 		vr		# VIA Rhine, Rhine II
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device	loop
pseudo-device	ether
pseudo-device	pty	32
pseudo-device	vn		#Vnode driver (turns a file into a device)
pseudo-device	md		# Memory "disks"

# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options		KTRACE		#kernel tracing

# This provides support for System V shared memory and message queues.



#
options		SYSVSHM
options		SYSVMSG
options		SYSVSEM

#  The `bpfilter' pseudo-device enables the Berkeley Packet Filter.  Be
#  aware of the legal and administrative consequences of enabling this
#  option.  The number of devices determines the maximum number of
#  simultaneous BPF clients programs runnable.
pseudo-device	bpf	4		#Berkeley packet filter

#
# Audio drivers: `snd', `sb', `pas', `gus', `pca'
#
# sb: SoundBlaster PCM - SoundBlaster, SB Pro, SB16, ProAudioSpectrum
# sbxvi: SoundBlaster 16
# sbmidi: SoundBlaster 16 MIDI interface
# opl: Yamaha OPL-2 and OPL-3 FM - SB, SB Pro, SB 16, ProAudioSpectrum

# Controls all "VOXWARE" driver sound devices.  See Luigi's driver
# below for an alternate which may work better for some cards.
#

# Luigi's snd code (use INSTEAD of snd0 and all VOXWARE drivers!).
# You may also wish to enable the pnp controller with this, for pnp
# sound cards.
#
# For PnP/PCI sound cards
device		pcm

#
# SMB bus
#
# System Management Bus support provided by the 'smbus' device.
#
# Supported devices:
# smb	standard io
#
# Supported interfaces:
# iicsmb I2C to SMB bridge with any iicbus interface
# bktr	brooktree848 I2C hardware interface
# intpm	Intel PIIX4 Power Management Unit
#
device		smbus		# Bus support, required for smb below.
device		intpm
#device		alpm

device		smb

#
# I2C Bus
#
# Philips i2c bus support is provided by the `iicbus' device.
#
# Supported devices:
# ic	i2c network interface
# iic	i2c standard io
# iicsmb i2c to smb bridge. Allow i2c i/o with smb commands.
#
# Supported interfaces:
# pcf	Philips PCF8584 ISA-bus controller
# bktr	brooktree848 I2C software interface
#
# Other:
# iicbb	generic I2C bit-banging code (needed by lpbb, bktr)
#
device		iicbus
device		iicbb
device		ic
device		iic
device		iicsmb		# smb over i2c bridge

# Brooktree driver has been ported to the new I2C framework. Thus,
# you'll need to have the following 3 lines in the kernel config.
#     device smbus
#     device iicbus
#     device iicbb
# The iic and smb devices are only needed if you want to control other
# I2C slaves connected to the external connector of some cards.
#

# The 'bktr' device is a PCI video capture device using the Brooktree
# bt848/bt848a/bt849a/bt878/bt879 chipset. When used with a TV Tuner it forms a
# TV card, eg Miro PC/TV, Hauppauge WinCast/TV WinTV, VideoLogic Captivator,
# Intel Smart Video III, AverMedia, IMS Turbo, FlyVideo.
#
# options 	OVERRIDE_CARD=xxx
# options 	OVERRIDE_TUNER=xxx
# options 	OVERRIDE_MSP=1
# options 	OVERRIDE_DBX=1
# These options can be used to override the auto detection
# The current values for xxx are found in src/sys/dev/bktr/bktr_card.h
# Using sysctl(8) run-time overrides on a per-card basis can be made
device		bktr

options 	OVERRIDE_CARD=9		# unknown
options 	OVERRIDE_TUNER=0	# NO TUNER 
options 	OVERRIDE_MSP=1
options 	OVERRIDE_DBX=1

options 	BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_NTSC

# Video CD Support
# POSIX schedule mechanism
options 	P1003_1B
options 	_KPOSIX_PRIORITY_SCHEDULING
options 	_KPOSIX_VERSION=199309L

# More undocumented options for linting.
options 	COMPAT_LINUX

# More undocumented options for linting.

# for XFree86-4
options	SHMALL=4096
options	SHMMNI=256
options	SHMSEG=256

#
# for VMware vmnet
#
options 	IPFILTER		#ipfilter support
options 	IPFILTER_LOG		#ipfilter logging

----Next_Part(Fri_Aug__4_14:27:35_2000_518)----
