All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Czakó Krisztián" <slapic@linux.co.hu>
To: xen-devel@lists.xensource.com
Subject: hfc isdn cards & zaphfc in domU
Date: Wed, 04 May 2005 11:17:09 +0200	[thread overview]
Message-ID: <1115198229.2808.27.camel@localhost> (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

                 reply	other threads:[~2005-05-04  9:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1115198229.2808.27.camel@localhost \
    --to=slapic@linux.co.hu \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.