Skip to contentSkip to conversation

hfc isdn cards & zaphfc in domU

DISCUSSION Czakó Krisztián 1 participant 1 message May 4, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

After searching the archives, I've found only two messages regarding this case, but there were no solution.

I have a similar problem, so I try to ask here.

I have twi HFC chipset ISDN cards in my pc:
0000:00:0d.0 Network controller: Cologne Chip Designs GmbH ISDN network controller [HFC-PCI] (rev 02)
Subsystem: Cologne Chip Designs GmbH ISDN Board
Flags: bus master, medium devsel, latency 16, IRQ 11
I/O ports at b800 [disabled] [size=8]
Memory at de800000 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 1

0000:00:0e.0 Network controller: Cologne Chip Designs GmbH ISDN network controller [HFC-PCI] (rev 02)
Subsystem: Cologne Chip Designs GmbH ISDN Board
Flags: bus master, medium devsel, latency 16, IRQ 3
I/O ports at b400 [disabled] [size=8]
Memory at de000000 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 1

Note that "I/O ports at b400 [disabled]". Why is it disabled?

I've downloaded the bristuff driver, and compiled it with "make ARCH=xen". The driver installs correctly, finds the cards, but when I issue the ztcfg command, the domain crashes immidiatly:

Zapata Telephony Interface Registered on major 196
PCI: Enabling device 0000:00:0d.0 (0006 -> 0007)
PCI: Obtained IRQ 11 for device 0000:00:0d.0
zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem 0xd08b2000 fifo 0xcf048000(0x3b292000) IRQ 11 HZ 100
zaphfc: Card 0 configured for TE mode
PCI: Enabling device 0000:00:0e.0 (0006 -> 0007)
PCI: Obtained IRQ 3 for device 0000:00:0e.0
zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem 0xd08be000 fifo 0xcf068000(0x3b272000) IRQ 3 HZ 100
zaphfc: Card 1 configured for TE mode
zaphfc: 2 hfc-pci card(s) in this box.

testvm:~# lsmod
Module                  Size  Used by
zaphfc                 13076  0
zaptel                227332  1 zaphfc
crc_ccitt               1728  1 zaptel
tulip                  50144  0
testvm:~# free
             total       used       free     shared    buffers     cached
Mem:        256128      27088     229040          0       4252      10720
-/+ buffers/cache:      12116     244012
Swap:      1048568          0    1048568
testvm:~# ztcfg
Registered tone zone 3 (Netherlands)
testvm:~# zaphfc: bchan rx fifo not enough bytes to receive! (z1=0, z2=0, wanted 8 got 0), probably a buffer overrun.
zaphfc: bchan rx fifo not enough bytes to receive! (z1=0, z2=0, wanted 8 got 0), probably a buffer overrun.

************ REMOTE CONSOLE EXITED *****************

The kernel is a 2.6.11.7 with the patches from 2.0-testing xen source. Xen itself is 2.0.5 stable. Can it cause the problem? The kernel is configured as a privileged guest, based on the dom0 config.

Here's the config of this vm:

kernel = "/boot/xen/xen-linux-2.6.11-xenu-priv" memory = 256
name = "testvm"
nics = 1
ip = "192.168.1.10"
gateway = "192.168.1.254"
hostname = "testvm"
disk = [ 'phy:vg00/testvm,sda1,w', 'phy:vg00/testvmpv,sdb1,w' ] root = "/dev/sda1"
restart = "onreboot"
pci = [ '0,0d,0', '0,0e,0', '0,0f,0' ]

Regards,
Krisztian Czako