loading "dpci" module from vancouver fails.
Shyamali Mukherjee
smukher at sandia.gov
Mon Aug 23 21:34:53 CEST 2010
My grub menu entry looks like below:
SARGS="S0_DEFAULT hostserial hostvga:0x40000,0x40000
hostkeyb:0,0x60,1,12 startlate:0xfffffffd"
VMMARGS="PC_PS2 kbmodifier:0x40000"
LABEL novaiommu
MENU LABEL NOVA (IOMMU)
KERNEL mboot.c32
APPEND /nul/hypervisor serial dmar --- \
/nul/sigma0.nul $SARGS --- \
/nul/vancouver.nul $VMMARGS dpci:2,0,0
82576vf:0xf7ce0000,0xf7cc0000 sigma0::dma sigma0::mem:64 --- \
/tools/munich sigma0::attach --- \
/demo/linux/bzImage root=/dev/ram0 clocksource=tsc
sigma0::attach --- \
/demo/linux/initrd sigma0::attach --- \
/nul/tutor.nul
TEXT HELP
This setup has DMA remapping. The first Linux VM has direct access to
your first network card and creates a bridge to the virtual
network. You need Intel VT-d support for this.
ENDTEXT
Observation:
--------------------
1. I can not have "hypervisor serial dmar".. Can ONLY use "hypervisor
dmar" or "serial".
2. I figured that it fails to load "dpci" module.
I have looked at pcidirect.cc available under:
nova-userland-0.2/vancouver/model/pcidirect.cc
It says:
"Example: Use 'dpci:2,,0,0x21' to attach the first network controller to
00:04.1.",
Then from build_cd.sh I see "dcpi:2,0,0"
But boot fails:
Please see screenshot attached.
3. where can I find "sigma0" and "munich" sources. It seems in "NUL
release 0.2" has these prebuilt. Only sources I see are like for
vancouver.nul.
--thanks
More information about the l4-hackers
mailing list