2008年3月25日火曜日

完全仮想化できずorz

ノートパソコンでXenの完全仮想化を使うかと設定してエイヤッと動かしたら....

Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU and enabled in your BIOS?

なんじゃと調べると仮想化に対応したCPUであってもBIOSが対応していないとダメらしい。

DynabookSS RX1のBIOS設定はどこでするんだろうと確認したが見付からず電話してしまった。回答は非対応です。カタログに書いています。
....確かに ここのCPU欄に書いてあるや。
うーんWineを試してみますか。

2008年3月10日月曜日

書籍購入

書籍購入
雲を掴め―富士通・IBM秘密交渉

日経新聞に出ていたので買った。交渉で会社をつぶすとか海外進出断念と交換条件にするとかあり小説としては面白いのかもしれないが、わたしゃ富士通汎用機とIBM汎用機との当時から今の関係とか出して欲しかった。

それにしてもUnixに身を置いている側からすると閉鎖的で囲い込みの話で、今汎用機が世界を席捲していなくて本当に良かった。

システム屋さんはwindowsやUnixの世界を規格が公開されているからオープン系と呼ぶけど、こっちからみたら汎用機が特殊でクローズ系だよ。
私らは規格が公開されているのは当り前でソースコードを公開しているかどうかという基準でオープンかクローズか話し合っているのに。

xenを導入

ノートPCにXenを導入した。2週間ぐらいかかって、やっとこさ許容できる状態にまで持ってこれた。もう少し簡単に通常使っているカーネルをDom0対応に出来ないかな。

導入対象機
Dynabook RX1..メモリ2GB
Dom0:NetBSD/4.0
有線NIC:wm(使ってない)
無線LAN:CardBusのath

はまった点
1.NetBSD/4.0で提供されているXEN3_DOM0のカーネルだとCardBUSを認識しなかった。
2.CardBusを認識するカーネルを作るのに何度もトライする羽目になった。
3.xenbackenddを立ち上げ忘れて、はまった。
4.bridge0を作り忘れて、はまった。

まだ出来ていない点
1.作成したDom0用のカーネルはathを認識するがaudioが使えない(demesgのazalia0参照)。
2.同カーネルでCPUの動的な周波数変更できないので、estdが使えない(Dom0だとそういうものなのかな)。
3.同カーネルをSMP対応させたいが「options MULTIPROCESSOR」を入れただけではカーネルのコンパイルでこける。
4.DomUからDom0へ通信は出来るがathを越えて通信できない(一番直したい)。

DomUは、NetBSD-currentは成功。SolarisはNまだうまくいかず。
なお今のカーネルはGENERIC_LAPTOPにXEN3_DOMUの内容を加えて使わないデバドラを削除していったもの。

参考にしたページ
・藤原さんのページ
・oshimayaさんのNetBSD/xen環境の構築
・NetBSDのNetBSD/xen Howto


----Dom0----
# $NetBSD: XEN3_DOM0,v 1.6 2006/10/17 19:57:24 bouyer Exp $
#
# XEN3_0: Xen 3.0 domain0 kernel
include "arch/xen/conf/std.xen"
options XEN3 #Xen 3.x support
options XEN
options DOM0OPS
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
#options MULTIPROCESSOR
#options APM_NO_IDLE
# boot messages with MPBIOS, acpi and ioapic can be quite large
options MSGBUFSIZE=24576
vcpu* at hypervisor? # Xen virtual CPUs
xenbus* at hypervisor? # Xen virtual bus
ppb* at pci? dev ? function ? # PCI-PCI bridges
pci* at ppb? bus ?
acpi0 at hypervisor?
options MPBIOS
options MPDEBUG
options MPVERBOSE
options ACPIVERBOSE
options PCI_ADDR_FIXUP # fixup PCI I/O addresses
options PCI_BUS_FIXUP # fixup PCI bus numbering
options PCI_INTR_FIXUP # fixup PCI interrupt routing
ioapic* at mainbus? apid ?
# ACPI devices
acpiacad* at acpi? # ACPI AC Adapter
acpibat* at acpi? # ACPI Battery
acpibut* at acpi? # ACPI Button
acpiec* at acpi? # ACPI Embedded Controller
acpilid* at acpi? # ACPI Lid Switch
pseudo-device xvif
pseudo-device xbdback
#options UVMHIST
#options UVMHIST_PRINT
#options SYSCALL_DEBUG
maxusers 32 # estimated number of users
# making MCLBYTES = PAGE_SIZE avoids a copy when a mbuf cluster is sent
# to a domU, at the expense of a higher memory usage by the network stack.
#options MCLSHIFT=12
options I686_CPU
makeoptions CPUFLAGS="-march=i686"
#options VM86 # virtual 8086 emulation
#options USER_LDT # user-settable LDT; used by WINE
#options MTRR # memory-type range register syscall support
#options CONSDEVNAME="\"xencons\""
#options CONS_OVERRIDE
options INSECURE # disable kernel security levels - X needs this
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
options NTP # NTP phase/frequency locked loop
options KTRACE # system call tracing via ktrace(1)
#options SYSTRACE # system call vetting via systrace(1)
options SYSVMSG # System V-like message queues
options SYSVSEM # System V-like semaphores
#options SEMMNI=10 # number of semaphore identifiers
#options SEMMNS=60 # number of semaphores in system
#options SEMUME=10 # max number of undo entries per process
#options SEMMNU=30 # number of undo structures in system
options SYSVSHM # System V-like memory sharing
#options SHMMAXPGS=2048 # 2048 pages is the default
options P1003_1B_SEMAPHORE # p1003.1b semaphore support
options LKM # loadable kernel modules
options USERCONF # userconf(4) support
options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
# Diagnostic/debugging support options
options DIAGNOSTIC # expensive kernel consistency checks
options DEBUG # expensive debugging checks/support
options KMEMSTATS # kernel memory statistics (vmstat -m)
options DDB # in-kernel debugger
options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
options DDB_HISTORY_SIZE=512 # enable history editing in DDB
#options KGDB # remote debugger
#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
makeoptions DEBUG="-g" # compile full symbol table
# Compatibility options
options COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI
options COMPAT_09 # NetBSD 0.9
options COMPAT_10 # NetBSD 1.0
options COMPAT_11 # NetBSD 1.1
options COMPAT_12 # NetBSD 1.2, 386BSD, and BSDI
options COMPAT_13 # NetBSD 1.3, 386BSD, and BSDI
options COMPAT_14 # NetBSD 1.4
options COMPAT_15 # NetBSD 1.5
options COMPAT_16 # NetBSD 1.6
options COMPAT_20 # NetBSD 2.0
options COMPAT_30 # NetBSD 3.0 compatibility.
options COMPAT_43 # 4.3BSD, 386BSD, and BSDI
options COMPAT_386BSD_MBRPART # recognize old partition ID
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
options COMPAT_SVR4 # binary compatibility with SVR4
options COMPAT_IBCS2 # binary compatibility with SCO and ISC
options COMPAT_LINUX # binary compatibility with Linux
options COMPAT_FREEBSD # binary compatibility with FreeBSD
#options COMPAT_MACH # binary compatibility with Mach binaries
#options COMPAT_DARWIN # binary compatibility with Darwin binaries
#options EXEC_MACHO # exec MACH-O binaries
#options COMPAT_PECOFF # kernel support to run Win32 apps
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
# File systems
file-system FFS # UFS
file-system EXT2FS # second extended file system (linux)
file-system LFS # log-structured file system
file-system MFS # memory file system
file-system NFS # Network File System client
file-system NTFS # Windows/NT file system (experimental)
file-system CD9660 # ISO 9660 + Rock Ridge file system
file-system MSDOSFS # MS-DOS file system
file-system FDESC # /dev/fd
file-system KERNFS # /kern
file-system NULLFS # loopback file system
file-system OVERLAY # overlay file system
file-system PORTAL # portal filesystem (still experimental)
file-system PROCFS # /proc
file-system UMAPFS # NULLFS + uid and gid remapping
file-system UNION # union file system
file-system CODA # Coda File System; also needs vcoda (below)
file-system SMBFS # experimental - CIFS; also needs nsmb (below)
file-system PTYFS # /dev/pts/N support
file-system TMPFS # Efficient memory file-system
# File system options
options QUOTA # UFS quotas
#options FFS_EI # FFS Endian Independent support
options SOFTDEP # FFS soft updates support.
#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
options NFSSERVER # Network File System server
#options FFS_NO_SNAPSHOT # No FFS snapshot support
#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
# immutable) behave as system flags.
# Networking options
#options GATEWAY # packet forwarding
options INET # IP + ICMP + TCP + UDP
options INET6 # IPV6
#options IPSEC # IP security
#options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
options ISO,TPIP # OSI
#options EON # OSI tunneling over IP
options NETATALK # AppleTalk networking protocols
options PPP_BSDCOMP # BSD-Compress compression support for PPP
options PPP_DEFLATE # Deflate compression support for PPP
options PPP_FILTER # Active filter support for PPP (requires bpf)
options PFIL_HOOKS # pfil(9) packet filter hooks
options IPFILTER_LOG # ipmon(8) log support
options IPFILTER_LOOKUP # ippool(8) support
#options IPFILTER_DEFAULT_BLOCK # block all packets by default
#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
#options ALTQ # Manipulate network interfaces' output queues
#options ALTQ_BLUE # Stochastic Fair Blue
#options ALTQ_CBQ # Class-Based Queueing
#options ALTQ_CDNR # Diffserv Traffic Conditioner
#options ALTQ_FIFOQ # First-In First-Out Queue
#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
#options ALTQ_HFSC # Hierarchical Fair Service Curve
#options ALTQ_LOCALQ # Local queueing discipline
#options ALTQ_PRIQ # Priority Queueing
#options ALTQ_RED # Random Early Detection
#options ALTQ_RIO # RED with IN/OUT
#options ALTQ_WFQ # Weighted Fair Queueing
# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options MIIVERBOSE # verbose PHY autoconfig messages
options PCIVERBOSE # verbose PCI device autoconfig messages
#options PCI_CONFIG_DUMP # verbosely dump PCI config space
options SCSIVERBOSE # human readable SCSI error messages
options USBVERBOSE # verbose USB device autoconfig messages
options I2OVERBOSE # verbose I2O driver messages
options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTSTATIC
#options NFS_BOOTSTATIC_MYIP="\"169.254.1.2\""
#options NFS_BOOTSTATIC_GWIP="\"169.254.1.1\""
#options NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
#options NFS_BOOTSTATIC_SERVADDR="\"169.254.1.1\""
#options NFS_BOOTSTATIC_SERVER="\"server:/path/to/root\""
options WSEMUL_VT100 # VT100 / VT220 emulation
options WS_KERNEL_FG=WSCOL_GREEN
options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
options WSDISPLAY_COMPAT_USL # VT handling
options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
options WSDISPLAY_DEFAULTSCREENS=4
options WSDISPLAY_SCROLLSUPPORT
options PCDISPLAY_SOFTCURSOR
config netbsd root on ? type ?
#config netbsd root on wd0a type ffs
#config netbsd root on xennet0 type nfs
mainbus0 at root
cpu* at mainbus?
# IPMI support
#ipmi0 at mainbus?
hypervisor* at mainbus? # Xen hypervisor
npx0 at hypervisor? # x86 math coprocessor
xencons* at hypervisor? # Xen virtual console
#xennet* at hypervisor? # Xen virtual network interface
#xbd* at hypervisor? # Xen virtual block device
#wd* at hypervisor? # Xen vbd (wd identity)
#sd* at hypervisor? # Xen vbd (sd identity)
#cd* at hypervisor? # Xen vbd (cd identity)
pci* at hypervisor? bus ?
pci* at pchb? bus ?
pcib* at pci? dev ? function ? # PCI-ISA bridges
pchb* at pci? dev ? function ? # PCI-Host bridges
ppb* at pci? dev ? function ? # PCI-PCI bridges
agp* at pchb?
# XXX 'puc's aren't really bridges, but there's no better place for them here
puc* at pci? dev ? function ? # PCI "universal" comm. cards
# Serial Devices
# PCI serial interfaces
com* at puc? port ? # 16x50s on "universal" comm boards
cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
cz* at pci? dev ? function ? # Cyclades-Z multi-port serial boards
# AMD 768 and 8111 power/ACPI controllers
amdpm* at pci? dev ? function ? # RNG and SMBus 1.0 interface
#iic* at amdpm? # sensors below are on this bus
#adt7463c* at iic? addr 0x2C # Unknown other motherboard(s)
#adt7463c* at iic? addr 0x2D # Tyan S2881
#adt7463c* at iic? addr 0x2E # Tyan S2882-D
# PCI network interfaces
wm* at pci? dev ? function ? # Intel 8254x gigabit
# MII/PHY support
makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
# I2O devices
iop* at pci? dev ? function ? # I/O processor
iopsp* at iop? tid ? # SCSI/FC-AL ports
ld* at iop? tid ? # block devices
dpti* at iop? tid 0 # DPT/Adaptec control interface
# IDE and related devices
# PCI IDE controllers - see pciide(4) for supported hardware.
# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
# how to set up DMA modes for this chip. This may work, or may cause
# a machine hang with some controllers.
ahcisata* at pci? dev ? function ? # AHCI SATA controllers
# ATA (IDE) bus support
atabus* at ata?
# IDE drives
# Flags are used only with controllers that support DMA operations
# and mode settings (e.g. some pciide controllers)
# The lowest order four bits (rightmost digit) of the flags define the PIO
# mode to use, the next set of four bits the DMA mode and the third set the
# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
# to use, and the last bit must be 1 for this setting to be used.
# For DMA and UDMA, 0xf (1111) means 'disable'.
# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
# (0xc=1100, 0xa=1010, 0xf=1111)
# 0x0000 means "use whatever the drive claims to support".
wd* at atabus? drive ? flags 0x0000
# ATA RAID configuration support, as found on some Promise controllers.
pseudo-device ataraid
ld* at ataraid? vendtype ? unit ?
# ATAPI bus support
atapibus* at atapi?
# ATAPI devices
# flags have the same meaning as for IDE drives.
cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
# SCSI Controllers and Devices
# PCI SCSI controllers
adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI
adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
ahd* at pci? dev ? function ? # Adaptec 29320, 39320 (aic790x) SCSI
bha* at pci? dev ? function ? # BusLogic 9xx SCSI
dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID
iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel
mfi* at pci? dev ? function ? # LSI MegaRAID SAS
mly* at pci? dev ? function ? # Mylex AcceleRAID and eXtremeRAID
mpt* at pci? dev ? function ? # LSI Fusion SCSI/FC
njs* at pci? dev ? function ? # Workbit NinjaSCSI-32
pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
siop* at pci? dev ? function ? # Symbios 53c8xx SCSI
esiop* at pci? dev ? function ? # Symbios 53c875 SCSI and newer
#options SIOP_SYMLED # drive the act. LED in software
trm* at pci? dev ? function ? # Tekram DC-395U/UW/F, DC-315/U SCSI
# SCSI bus support
scsibus* at scsi?
# SCSI devices
sd* at scsibus? target ? lun ? # SCSI disk drives
st* at scsibus? target ? lun ? # SCSI tape drives
cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
ch* at scsibus? target ? lun ? # SCSI autochangers
ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices
ss* at scsibus? target ? lun ? # SCSI scanners
uk* at scsibus? target ? lun ? # SCSI unknown
# ISA bus support
isa0 at pcib?
isa0 at hypervisor?
# wscons
pckbc0 at isa? # pc keyboard controller
pckbd* at pckbc? # PC keyboard
pms* at pckbc? # PS/2 mouse for wsmouse
#options PMS_DISABLE_POWERHOOK # Disable PS/2 reset on resume
#vga0 at isa?
vga* at pci? dev ? function ?
#pcdisplay0 at isa? # CGA, MDA, EGA, HGA
#machfb* at pci? dev ? function ? # ATI Mach64 framebuffer driver
wsdisplay* at vga? console ?
#wsdisplay* at pcdisplay? console ?
#wsdisplay* at machfb? console ?
wskbd* at pckbd? console ?
wsmouse* at pms? mux 0
# USB Controller and Devices
# PCI USB controllers
ehci* at pci? dev ? function ? # Enhanced Host Controller
ohci* at pci? dev ? function ? # Open Host Controller
uhci* at pci? dev ? function ? # Universal Host Controller (Intel)
# USB bus support
usb* at ehci?
usb* at ohci?
usb* at uhci?
# USB Hubs
uhub* at usb?
uhub* at uhub? port ? configuration ? interface ?
# USB HID device
uhidev* at uhub? port ? configuration ? interface ?
# USB Mice
ums* at uhidev? reportid ?
wsmouse* at ums? mux 0
# USB eGalax touch-panel
uep* at uhub? port ?
wsmouse* at uep? mux 0
# USB Keyboards
ukbd* at uhidev? reportid ?
wskbd* at ukbd? console ? mux 1
# USB serial adapter
ucycom* at uhidev? reportid ?
# USB Generic HID devices
uhid* at uhidev? reportid ?
# USB Printer
ulpt* at uhub? port ? configuration ? interface ?
# USB Modem
umodem* at uhub? port ? configuration ?
ucom* at umodem?
# USB Mass Storage
umass* at uhub? port ? configuration ? interface ?
wd* at umass?
# USB audio
uaudio* at uhub? port ? configuration ?
# USB MIDI
umidi* at uhub? port ? configuration ?
# USB IrDA
# USB-IrDA bridge spec
uirda* at uhub? port ? configuration ? interface ?
irframe* at uirda?
# SigmaTel STIr4200 USB/IrDA Bridge
ustir* at uhub? port ?
irframe* at ustir?
# USB Ethernet adapters
aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
axe* at uhub? port ? # ASIX AX88172 based adapters
cdce* at uhub? port ? # CDC, Ethernet Networking Control Model
cue* at uhub? port ? # CATC USB-EL1201A based adapters
kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
udav* at uhub? port ? # Davicom DM9601 based adapters
url* at uhub? port ? # Realtek RTL8150L based adapters
# USB 802.11 adapters
atu* at uhub? port ? # Atmel AT76C50XX based adapters
ral* at uhub? port ? # Ralink Technology RT25x0 802.11a/b/g
rum* at uhub? port ? # Ralink Technology RT2501/RT2601 802.11a/b/g
# Prolific PL2301/PL2302 host-to-host adapter
upl* at uhub? port ?
# Serial adapters
ubsa* at uhub? port ? # Belkin serial adapter
ucom* at ubsa? portno ?
uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter
ucom* at uftdi? portno ?
umct* at uhub? port ? # MCT USB-RS232 serial adapter
ucom* at umct? portno ?
uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
ucom* at uplcom? portno ?
uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter
ucom* at uvscom? portno ?
# Diamond Multimedia Rio 500
urio* at uhub? port ?
# USB Handspring Visor
uvisor* at uhub? port ?
ucom* at uvisor?
# Kyocera AIR-EDGE PHONE
ukyopon* at uhub? port ?
ucom* at ukyopon? portno ?
# USB scanners
uscanner* at uhub? port ?
# USB scanners that use SCSI emulation, e.g., HP5300
usscanner* at uhub? port ?
# Y@P firmware loader
uyap* at uhub? port ?
# D-Link DSB-R100 USB radio
udsbr* at uhub? port ?
radio* at udsbr?
# USB Generic driver
ugen* at uhub? port ?
# PCI audio devices
azalia* at pci? dev ? function ? # High Definition Audio
# Audio support
audio* at audiobus?
# Cryptographic Devices
# PCI cryptographic devices
hifn* at pci? dev ? function ? # Hifn 7755/7811/795x
ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x
include "arch/i386/conf/GENERIC.local"
# Pseudo-Devices
pseudo-device crypto # /dev/crypto device
pseudo-device swcrypto # software crypto implementation
# disk/mass storage pseudo-devices
pseudo-device bio # RAID control device driver
pseudo-device ccd 4 # concatenated/striped disk devices
#pseudo-device cgd 4 # cryptographic disk devices
pseudo-device raid 8 # RAIDframe disk driver
options RAID_AUTOCONFIG # auto-configuration of RAID components
# Options to enable various other RAIDframe RAID types.
#options RF_INCLUDE_EVENODD=1
#options RF_INCLUDE_RAID5_RS=1
#options RF_INCLUDE_PARITYLOGGING=1
#options RF_INCLUDE_CHAINDECLUSTER=1
#options RF_INCLUDE_INTERDECLUSTER=1
#options RF_INCLUDE_PARITY_DECLUSTERING=1
#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
pseudo-device fss 4 # file system snapshot device
pseudo-device md 1 # memory disk device (ramdisk)
pseudo-device vnd # disk-like interface to files
# network pseudo-devices
pseudo-device bpfilter # Berkeley packet filter
pseudo-device ipfilter # IP filter (firewall) and NAT
pseudo-device loop # network loopback
pseudo-device ppp # Point-to-Point Protocol
pseudo-device pppoe # PPP over Ethernet (RFC 2516)
pseudo-device sl # Serial Line IP
pseudo-device strip # Starmode Radio IP (Metricom)
pseudo-device irframetty # IrDA frame line discipline
pseudo-device tap # virtual Ethernet
pseudo-device tun # network tunneling over tty
pseudo-device gre # generic L3 over IP tunnel
pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device faith # IPv[46] tcp relay translation i/f
pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
pseudo-device vlan # IEEE 802.1q encapsulation
pseudo-device bridge # simple inter-network bridging
#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
#pseudo-device pf # PF packet filter
#pseudo-device pflog # PF log if
# miscellaneous pseudo-devices
pseudo-device pty # pseudo-terminals
pseudo-device sequencer 1 # MIDI sequencer
# rnd works; RND_COM does not on port i386 yet.
pseudo-device rnd # /dev/random and in-kernel generator
#options RND_COM # use "com" randomness as well (BROKEN)
pseudo-device clockctl # user control of clock subsystem
pseudo-device ksyms # /dev/ksyms
# a pseudo device needed for Coda # also needs CODA (above)
pseudo-device vcoda 4 # coda minicache <-> venus comm.
# a pseudo device needed for SMBFS
pseudo-device nsmb # experimental - SMB requester
# wscons pseudo-devices
pseudo-device wsmux # mouse & keyboard multiplexor
pseudo-device wsfont
# xen pseudo-devices
pseudo-device xenevt
# CardBus bridge support
#piixpcib* at pci? dev ? function ? # Intel PIIX4 PCI-ISA w/ SpeedStep
pcib* at pci? dev ? function ? # PCI-ISA bridges
#gpio* at gscpcib?
cbb* at pci? dev ? function ?
cardslot* at cbb?
#options RBUS_MIN_START=0xc0000000 # > 3GB
#options RBUS_MIN_START=0x80000000 # > 2GB
# CardBus bus support
cardbus* at cardslot?
pcmcia* at cardslot?
ath* at cardbus? function ? # Atheros 5210/5211/5212 802.11
----dmesg----
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 4.0 (DYNA2_DOM0) #3: Thu Mar 6 00:42:40 JST 2008
takuro@dyna.home.ichijiku.org:/usr/src/sys/arch/i386/compile/DYNA2_DOM0
total memory = 512 MB
avail memory = 494 MB
timecounter: Timecounters tick every 10.000 msec
BIOS32 rev. 0 found at 0xfcb25
mainbus0 (root)
mainbus0: scanning 0x9fc00 to 0x9fff0 for MP signature
mainbus0: scanning 0x9f800 to 0x9fbf0 for MP signature
mainbus0: scanning 0xf0000 to 0xffff0 for MP signature
cpu0 at mainbus0: apid 0 (boot processor)
cpu1 at mainbus0: apid 1 (application processor)
ioapic0 at mainbus0 apid 1 (I/O APIC)
ioapic0: pa 0xfec00000, virtual wire mode, version 20, 24 pins
ioapic0: misconfigured as apic 0
ioapic0: can't remap to apid 1
ioapic0: enabling
hypervisor0 at mainbus0
vcpu0 at hypervisor0: (uniprocessor)
vcpu0: Intel Pentium Pro, II or III (686-class), 1197.00 MHz, id 0x6f2
vcpu0: features bfebfbff
vcpu0: features bfebfbff
vcpu0: features bfebfbff
debug virtual interrupt using event channel 1
xenbus0 at hypervisor0: Xen Virtual Bus Interface
xencons0 at hypervisor0: Xen Virtual Console Driver
npx0 at hypervisor0: using exception 16
acpi0 at hypervisor0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20060217
acpi0: X/RSDT: OemId , AslId
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
ACPI-Safe 24-bit timer
mpacpi: could not get bus number, assuming bus 0
mpacpi: found root PCI bus 0 at level 1
mpacpi: found subordinate bus 3 at level 2
mpacpi: found subordinate bus 1 at level 2
mpacpi: found subordinate bus 2 at level 2
mpacpi: 4 PCI busses
mpacpi: ISA interrupt override 0 -> 2
mpacpi: ISA interrupt override 9 -> 9
mpacpi: configuring PCI bus 0 int routing
mpacpi: configuring PCI bus 3 int routing
mpacpi: configuring PCI bus 1 int routing
mpacpi: configuring PCI bus 2 int routing
ioapic0: pin 2 attached to isa0 irq 0 (type 0 flags 0)
ioapic0: pin 1 attached to isa0 irq 1 (type 0 flags 0)
ioapic0: pin 3 attached to isa0 irq 3 (type 0 flags 0)
ioapic0: pin 4 attached to isa0 irq 4 (type 0 flags 0)
ioapic0: pin 5 attached to isa0 irq 5 (type 0 flags 0)
ioapic0: pin 6 attached to isa0 irq 6 (type 0 flags 0)
ioapic0: pin 7 attached to isa0 irq 7 (type 0 flags 0)
ioapic0: pin 8 attached to isa0 irq 8 (type 0 flags 0)
ioapic0: pin 9 attached to isa0 irq 9 (type 0 flags d)
ioapic0: pin 10 attached to isa0 irq 10 (type 0 flags 0)
ioapic0: pin 11 attached to isa0 irq 11 (type 0 flags 0)
ioapic0: pin 12 attached to isa0 irq 12 (type 0 flags 0)
ioapic0: pin 13 attached to isa0 irq 13 (type 0 flags 0)
ioapic0: pin 14 attached to isa0 irq 14 (type 0 flags 0)
ioapic0: pin 15 attached to isa0 irq 15 (type 0 flags 0)
local apic: pin 1 attached to NMI (type 1 flags 0)
local apic: pin 1 attached to NMI (type 1 flags 0)
ioapic0: pin 16 attached to pci0 device 2 INT_A (type 0 flags f)
ioapic0: pin 22 attached to pci0 device 27 INT_A (type 0 flags f)
ioapic0: pin 17 attached to pci0 device 28 INT_A (type 0 flags f)
ioapic0: pin 18 attached to pci0 device 28 INT_C (type 0 flags f)
ioapic0: pin 23 attached to pci0 device 29 INT_A (type 0 flags f)
ioapic0: pin 19 attached to pci0 device 29 INT_B (type 0 flags f)
ioapic0: pin 18 attached to pci0 device 29 INT_C (type 0 flags f)
ioapic0: pin 16 attached to pci0 device 29 INT_D (type 0 flags f)
ioapic0: pin 18 attached to pci0 device 31 INT_A (type 0 flags f)
ioapic0: pin 19 attached to pci0 device 31 INT_B (type 0 flags f)
ioapic0: pin 21 attached to pci3 device 11 INT_A (type 0 flags f)
ioapic0: pin 20 attached to pci3 device 11 INT_B (type 0 flags f)
ioapic0: pin 23 attached to pci3 device 11 INT_D (type 0 flags f)
ioapic0: pin 16 attached to pci1 device 0 INT_A (type 0 flags f)
ioapic0: pin 17 attached to pci1 device 0 INT_B (type 0 flags f)
ioapic0: pin 18 attached to pci1 device 0 INT_C (type 0 flags f)
ioapic0: pin 19 attached to pci1 device 0 INT_D (type 0 flags f)
ioapic0: pin 18 attached to pci2 device 0 INT_A (type 0 flags f)
ioapic0: pin 19 attached to pci2 device 0 INT_B (type 0 flags f)
ioapic0: pin 16 attached to pci2 device 0 INT_C (type 0 flags f)
ioapic0: pin 17 attached to pci2 device 0 INT_D (type 0 flags f)
ioapic0: int9 189a0 3000000
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C01 [System Board] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0A08 [PCI Express/PCI-X Mode-2 Host Bridge] at acpi0 not configured
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0100 [AT Timer] at acpi0 not configured
PNP0800 [AT-style speaker sound] at acpi0 not configured
PNP0C04 [Math Coprocessor] at acpi0 not configured
PNP0303 [IBM Enhanced (101/102-key, PS/2 mouse support)] at acpi0 not configured
PNP0F13 [PS/2 Port for PS/2-style Mice] at acpi0 not configured
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
IFX0102 at acpi0 not configured
PNP0103 [HPET Timer] at acpi0 not configured
acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
acpibat0 at acpi0 (PNP0C0A-1): ACPI Battery (Control Method)
acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
TOS6208 at acpi0 not configured
TOS620A at acpi0 not configured
ACPI Object Type 'Thermal' (0x0d) at acpi0 not configured
pci0 at hypervisor0 bus 0: configuration mode 1hypervisor0: added to list as bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82945GM/PM/GMS Host Bridge (rev. 0x03)
agp0 at pchb0: detected 7932k stolen memory
agp0: aperture at 0xe0000000, size 0x10000000
vga0 at pci0 dev 2 function 0: Intel 82945GM/PM/GMS Integrated Graphics Device (rev. 0x03)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 1-3 added (80x25, vt100 emulation)
Intel 82945GM/PM/GMS Integrated Graphics Device (miscellaneous display, revision 0x03) at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
azalia0: can't map device i/o space
ppb0 at pci0 dev 28 function 0: Intel 82801GB/GR PCI Express Port #1 (rev. 0x02)
pci1 at ppb0 bus 1ppb0: added to list as bus 1
pci1: i/o space, memory space enabled
wm0 at pci1 dev 0 function 0: Intel i82573L Gigabit Ethernet, rev. 0
ioapic0: int16 1a9a8 3000000
wm0: interrupting at ioapic0 pin 16, event channel 3
wm0: PCI-Express bus
wm0: 256 word (8 address bits) SPI EEPROM
wm0: Ethernet address 00:15:b7:c5:a8:f2
makphy0 at wm0 phy 1: Marvell 88E1111 Gigabit PHY, rev. 2
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ppb1 at pci0 dev 28 function 2: Intel 82801GB/GR PCI Express Port #3 (rev. 0x02)
pci2 at ppb1 bus 2ppb1: added to list as bus 2
pci2: i/o space, memory space enabled
Intel product 0x4229 (miscellaneous network, revision 0x61) at pci2 dev 0 function 0 not configured
uhci0 at pci0 dev 29 function 0: Intel 82801GB/GR USB UHCI Controller (rev. 0x02)
ioapic0: int23 1a9b0 3000000
uhci0: interrupting at ioapic0 pin 23, event channel 4
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: Intel 82801GB/GR USB UHCI Controller (rev. 0x02)
ioapic0: int19 1a9b8 3000000
uhci1: interrupting at ioapic0 pin 19, event channel 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: Intel 82801GB/GR USB UHCI Controller (rev. 0x02)
ioapic0: int18 1a9c0 3000000
uhci2: interrupting at ioapic0 pin 18, event channel 6
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3: Intel 82801GB/GR USB UHCI Controller (rev. 0x02)
uhci3: interrupting at ioapic0 pin 16, event channel 3
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7: Intel 82801GB/GR USB EHCI Controller (rev. 0x02)
ehci0: interrupting at ioapic0 pin 23, event channel 4
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb2 at pci0 dev 30 function 0: Intel 82801BAM Hub-PCI Bridge (rev. 0xe2)
pci3 at ppb2 bus 3ppb2: added to list as bus 3
pci3: i/o space, memory space enabled
cbb0 at pci3 dev 11 function 0: Texas Instruments product 0x8039 (rev. 0x00)
Texas Instruments product 0x803a (Firewire serial bus, interface 0x10) at pci3 dev 11 function 1 not configured
Texas Instruments product 0x803c (SD Host Controller system, interface 0x01) at pci3 dev 11 function 3 not configured
ioapic0: int21 1a9c8 3000000
cbb0: interrupting at ioapic0 pin 21, event channel 7
cbb0: cacheline 0x8 lattimer 0x20
cbb0: bhlc 0x824008 lscp 0x20040403
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 4 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801GBM LPC Interface Bridge (rev. 0x02)
ahcisata0 at pci0 dev 31 function 2: Intel 82801GBM AHCI SATA Controller
ahcisata0: interrupting at ioapic0 pin 19, event channel 5
ahcisata0: AHCI revision 1.1, 4 ports, 32 command slots, features 0xc710e000
atabus0 at ahcisata0 channel 0
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
WARNING: Callback scheduled before sysmon task queue thread present.
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
Xen clock: using event channel 10
timecounter: Timecounter "xen_system_time" frequency 1000000000 Hz quality 10000
crypto: assign driver 0, flags 2
crypto: driver 0 registers alg 1 flags 0 maxoplen 0
crypto: driver 0 registers alg 2 flags 0 maxoplen 0
crypto: driver 0 registers alg 3 flags 0 maxoplen 0
crypto: driver 0 registers alg 4 flags 0 maxoplen 0
crypto: driver 0 registers alg 5 flags 0 maxoplen 0
crypto: driver 0 registers alg 17 flags 0 maxoplen 0
crypto: driver 0 registers alg 6 flags 0 maxoplen 0
crypto: driver 0 registers alg 7 flags 0 maxoplen 0
crypto: driver 0 registers alg 15 flags 0 maxoplen 0
crypto: driver 0 registers alg 8 flags 0 maxoplen 0
crypto: driver 0 registers alg 16 flags 0 maxoplen 0
crypto: driver 0 registers alg 9 flags 0 maxoplen 0
crypto: driver 0 registers alg 10 flags 0 maxoplen 0
crypto: driver 0 registers alg 13 flags 0 maxoplen 0
crypto: driver 0 registers alg 14 flags 0 maxoplen 0
crypto: driver 0 registers alg 11 flags 0 maxoplen 0
crypto: driver 0 registers alg 18 flags 0 maxoplen 0
raidattach: Asked for 8 units
Kernelized RAIDframe activated
acpibat0: battery info: (null), Li-ION , G71C00086510, 0000000369
xenbus0: using event channel 11
ahcisata0 port 0: device present, speed: 1.5Gb/s
wd0 at atabus0 drive 0:
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)
cardbus_mapreg_map called: cardbus0 0
cardbus_mapreg_map: physaddr c0010000
cardbus0: unmap mem space
ath0 at cardbus0 function 0
cardbus_mapreg_map called: cardbus0 0
cardbus_mapreg_map: physaddr c0010000
ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: mac 5.6 phy 4.1 5 GHz radio 1.7 2 GHz radio 2.3
ath0: Use hw queue 1 for WME_AC_BE traffic
ath0: Use hw queue 0 for WME_AC_BK traffic
ath0: Use hw queue 2 for WME_AC_VI traffic
ath0: Use hw queue 3 for WME_AC_VO traffic
ath0: Use hw queue 8 for CAB traffic
ath0: Use hw queue 9 for beacons
ehci0: handing over full speed device on port 3 to uhci1
uhub4: port 3, device disappeared after reset
umass0 at uhub4 port 4 configuration 1 interface 0
umass0: TOSHIBA Optical Drive Controller, rev 2.00/0.00, addr 2
umass0: using ATAPI over Bulk-Only
atapibus0 at umass0: 2 targets
ugen0 at uhub1 port 1
ugen0: AuthenTec Fingerprint Sensor, rev 1.10/c.10, addr 2
cd0 at atapibus0 drive 0: cdrom removable
Searching for RAID components...
boot device: wd0
root on wd0a dumps on wd0b
mountroot: trying lfs...
mountroot: trying ffs...
root file system type: ffs
init: copying out path `/sbin/init' 11
ath0: interrupting at 255
wsdisplay0: screen 4 added (80x25, vt100 emulation)
xvif1.0: Ethernet address 00:16:3e:5a:07:ab
xbd backend: attach device vnd0d (size 1839104) for domain 1
xbd backend 0x3 for domain 1 using event channel 16