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

[Xen-users] Accessing /dev/ttyI0 in guest domain not possible?



Hi,

After getting some nice feedback in this mailing list about drivers, I
decided to compile xen0 -and xenU kernels so I can access my ISDN card
from within the xenU domain.

After booting my xen0 kernel my ISDN card is recognized perfectly:

ISDN subsystem Rev: 1.1.2.3/1.1.2.3/1.1.2.2/none/1.1.2.2/1.1.2.2
CAPI Subsystem Rev 1.1.2.8
capi20: Rev 1.1.2.7: started up with major 68 (middleware+capifs)
capifs: Rev 1.1.2.3
HiSax: Linux Driver for passive ISDN cards
HiSax: Version 3.5 (kernel)
HiSax: Layer1 Revision 2.46.2.5
HiSax: Layer2 Revision 2.30.2.4
HiSax: TeiMgr Revision 2.20.2.3
HiSax: Layer3 Revision 2.22.2.3
HiSax: LinkLayer Revision 2.59.2.4
HiSax: Total 1 card defined
HiSax: Card 1 Protocol EDSS1 Id=HiSax (0)
HiSax: AVM PCI driver Rev. 1.29.2.4
PCI: Obtained IRQ 22 for device 0000:01:0e.0
AVM PCI: stat 0x2020a
AVM PCI: Class A Rev 2
HiSax: AVM Fritz!PCI config irq:22 base:0x7860
AVM PCI: ISAC version (0): 2086/2186 V1.1
AVM Fritz PnP/PCI: IRQ 22 count 0
AVM PCI/PnP: reset
AVM PCI/PnP: S1 0
AVM Fritz PnP/PCI: IRQ 22 count 3
HiSax: DSS1 Rev. 2.32.2.3
HiSax: 2 channels added
HiSax: MAX_WAITING_CALLS added

Now I started up my xenU domain which does not show anything about found
ISDN cards, but I am not worried as I don't see any message about network
cards either which work perfectly.

But when starting my Asterisk server in the xenU domain I get some errors:
Jul  3 18:10:36 ERROR[865]: Unable to register channel '/dev/ttyI0'
Jul  3 18:10:36 WARNING[865]: chan_modem.so: load_module failed, returning -1
Jul  3 18:10:36 WARNING[865]: Loading module chan_modem.so failed!

So it looks that an unpriviliged domain cannot access my ISDN card?

Digging further, I decided to boot a xen0 domain as guest instead of xenU.
Now my ISDN card is recognized although not installed(?)

ISDN subsystem Rev: 1.1.2.3/1.1.2.3/1.1.2.2/none/1.1.2.2/1.1.2.2
CAPI Subsystem Rev 1.1.2.8
capi20: Rev 1.1.2.7: started up with major 68 (middleware+capifs)
capifs: Rev 1.1.2.3
HiSax: Linux Driver for passive ISDN cards
HiSax: Version 3.5 (kernel)
HiSax: Layer1 Revision 2.46.2.5
HiSax: Layer2 Revision 2.30.2.4
HiSax: TeiMgr Revision 2.20.2.3
HiSax: Layer3 Revision 2.22.2.3
HiSax: LinkLayer Revision 2.59.2.4
HiSax: Card 1 Protocol EDSS1 Id=HiSax (0)
HiSax: AVM PCI driver Rev. 1.29.2.4
FritzPCI: No PCI card found
HiSax: Card AVM Fritz PnP/PCI not installed !

Asterisk doesn't complain anymore although I am not sure if it works...

Does anyone know why xenU is not allowed to access my ISDN /dev/ttyI0?

Thanks,
Rene





_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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