Use X100P on Xen DomainU(1) rebuid the kernel

Posted at 07/05/15 Comment(0)» Trackback(0)»

When you use the analog PCI Card (ex. X100P, TDM400P), you have to set up the "PCIBACK" on your Domain0.

Please do the next step!

1.Before you compile the Xen kernel, please set the kernel config.

# make linux-2.6-xen-config CONFIGMODE=menuconfig

2.Select the [Xen].

Code maturity level options --->

General setup --->

Loadable module support --->

Block layer --->

Processor type and features --->

Power management options (ACPI, APM) --->

Bus options (PCI, PCMCIA, EISA, MCA, ISA) --->

Executable file formats --->

Networking --->

Device Drivers --->

File systems --->

Instrumentation Support --->

Kernel hacking --->

Security options --->

Cryptographic options --->

XEN --->

Library routines --->

---

Load an Alternate Configuration File

Save Configuration to an Alternate File

3.Select the 「PCI-device backend driver」 to module 「M」. And select 「PCI Backend Mode」.

[*] Privileged Guest (domain 0)

<*> Backend driver support

<*> Block-device backend driver

<*> Block-device tap backend driver

<*> Network-device backend driver

[ ] Pipelined transmitter (DANGEROUS)

<*> Network-device loopback driver

[M]PCI-device backend driver

PCI Backend Mode (Passthrough) --->

[ ] PCI Backend Debugging

< > TPM-device backend driver

<*> Block-device frontend driver

<*> Network-device frontend driver

<*> Framebuffer-device frontend driver

<*> Keyboard-device frontend driver

[*] Scrub memory before freeing it to Xen

[*] Disable serial port drivers

<*> Export Xen attributes in sysfs

Xen version compatibility (3.0.2 and later) --->

4.Select 「Passthrough」.

( ) Virtual PCI

(X) Passthrough

( ) Slot

5.Save and rebuild the xen kernnel.

# make linux-2.6-xen-build

# make linux-2.6-xen-install

you add the comment to /etc/sysconfig/kernel.

# vi /etc/sysconfig/kernel

INITRD_MODULES="... pciback"

You meke mkinitrd.

# depmod 2.6.16.33-xen

# mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod /boot/initrd-2.6.16.33-xen.img 2.6.16.33-xen

"Use X100P on Xen DomainU(1) rebuid the kernel"へのトラックバック

トラックバック先URL

"Use X100P on Xen DomainU(1) rebuid the kernel"へコメントを投稿

(運営者が承認するまではコメントは表示されません。しばらくお待ちください。)

上の情報を保存する場合はチェック
Google

お勧めXen構築本

スポンサード リンク

Powered by Movable Type

Template by MTテンプレートDB

Supported by Movable Type入門