[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] pciback.hide with ISDN Cards

Hi all,

did somebody successfuly export ISDN Cards to DomU?

I want to have 2 ISDN Cards in DomU (for Asterisk with mISDN)
lspci -vt
-[0000:00]-+-00.0  nVidia Corporation MCP55 Memory Controller
           +-01.0  nVidia Corporation MCP55 LPC Bridge
           +-05.1  nVidia Corporation MCP55 SATA Controller
           +-06.0-[0000:01]--+-00.0  Cologne Chip Designs GmbH ISDN network controller [HFC-PCI]
           |                 +-01.0  Cologne Chip Designs GmbH ISDN network controller [HFC-PCI]
           |                 \-02.0  S3 Inc. 86c764/765 [Trio32/64/64V+]
           +-06.1  nVidia Corporation MCP55 High Definition Audio

There are 2 ISDN Card under following PCI Adresses: 0000:01:00.0 and 0000:01:01.0
so under /boot/grub/menu.lst:
title XEN -- openSUSE 10.3 - PAE
    root (hd0,4)
    kernel /xen-pae.gz pciback.hide=(0000:01:00.0)(0000:01:01.0)
    module /vmlinuz- root=/dev/mapper/nvidia_deihceca_part7 vga=normal resume=/dev/mapper/nvidia_deihceca_part6 splash=silent showopts
    module /initrd-

and under /etc/modprobe.conf.local:
options pciback hide=(0000:01:00.0)(0000:01:01.0)
install hfcpci /sbin/modprobe pciback ; /sbin/modprobe --first-time --ignore-install hfcpci

even combinations of above config and also when using the address short form 01:00.0 and 01:01.0 does't export the device, in all cases the start of DomU shows:
Using config file "/etc/xen/vm/opensuse".
Error: pci: failed to locate device and parse it's resources - [Errno 2] No such file or directory: '/sys/bus/pci/devices/0000:01:00.0/driver'

DomU config file is:
disk=[ 'file:/srv/xen/opencave/hda,xvda,w', ]
vif=[ 'mac=00:16:3e:00:00:01', ]
pci=[ '01,00,0', '01,01,0' ]

I don't belive it is the openSUSE kernel because on an identical system with an 3Com NIC the export of the PCI device works perfect...
Here it's enough to set in /etc/modprobe.conf.local:
options pciback hide (02:0d.0)
install 3c59x /sbin/modprobe pciback ; /sbin/modprobe --first-time --ignore-install 3c59x

also commenting out the eth1 device in /etc/modprobe.conf and remove network config for eth1.

I'm a little bit confused  because the working mISDN doesn't show an any hfcpci device under /sys/bus/pci/drivers that i could unbind...

So the question is did somebody export ISDN PCI devices to DomU (Vendor doesn't matter)

Mit freundlichen Grüßen / with kind regards
Gerhard Possler
IT Architect
IBM Enterprise Linux Services

ELS Wiki@IBM (only accessible via IBM intranet)
IT-Services and Solutions GmbH
Rathausstr. 7, D-09111 Chemnitz
Geschäftsführung: Rainer Laier, Michael Mai
Sitz der Gesellschaft: Chemnitz
Registergericht: Amtsgericht Chemnitz, HRB 18409

Mobil +49 (0) 160 90578637

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.