Subject: ISDN on alpha (PWS)
To: None <port-alpha@NetBSD.org>
From: Torsten Harenberg <harenberg@physik.uni-wuppertal.de>
List: port-alpha
Date: 08/10/2003 08:33:54
Dear list,
I was wondering if anybody is successfully using PCI-ISDN cards in an
alpha. I try to use a Fritz!PCI v2.0 ISDN card in a Personal Workstation
600au using NetBSD-current (1.6U).
The first problem is, that I didn't managed to get a kernel compiled
with a hardware support enabled.
My related kernel config is:
#AVM Fritz!PCI V2 card
ifritz* at pci?
#---------------------------------------------------------------------
# ISDN user land devices, drivers and pseudo-devices.
#---------------------------------------------------------------------
#
pseudo-device isdn # communication with userland daemon
pseudo-device isdntrc 2 # userland driver to do ISDN tracing
pseudo-device isdnctl # userland driver to control the whole
thing
pseudo-device isdnbchan 4 # userland driver for access to raw B
channel
pseudo-device isdntel 2 # userland driver for telephony
options IRIP_VJ # compile support for VJ compression
pseudo-device irip 2 # network driver for IP over raw HDLC ISDN
pseudo-device ippp 2 # synchronous PPP over ISDN
#---------------------------------------------------------------------
This happens when I try to compile it:
# /usr/src/alphatools/bin/nbmake-alpha depend all
[...]
/usr/src/alphatools/bin/alpha--netbsd-gcc -mno-fp-regs -ffreestanding
-O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
-Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare
-Wno-uninitialized -Dalpha -I. -I/usr/src/sys/arch -I/usr/src/sys
-nostdinc -DDIAGNOSTIC -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c
/usr/src/sys/netisdn/i4b_isppp.c
/usr/src/sys/netisdn/i4b_isppp.c:158: `R_SP' undeclared here (not in a
function)
/usr/src/sys/netisdn/i4b_isppp.c: In function `ipppattach':
/usr/src/sys/netisdn/i4b_isppp.c:257: `R_SP' undeclared (first use in
this function)
/usr/src/sys/netisdn/i4b_isppp.c:257: (Each undeclared identifier is
reported only once
/usr/src/sys/netisdn/i4b_isppp.c:257: for each function it appears in.)
/usr/src/sys/netisdn/i4b_isppp.c: In function `i4bisppp_ioctl':
/usr/src/sys/netisdn/i4b_isppp.c:359: `R_SP' undeclared (first use in
this function)
/usr/src/sys/netisdn/i4b_isppp.c: In function `i4bisppp_start':
/usr/src/sys/netisdn/i4b_isppp.c:406: `R_SP' undeclared (first use in
this function)
/usr/src/sys/netisdn/i4b_isppp.c: In function `i4bisppp_watchdog':
/usr/src/sys/netisdn/i4b_isppp.c:476: `R_SP' undeclared (first use in
this function)
/usr/src/sys/netisdn/i4b_isppp.c: In function `i4bisppp_connect':
/usr/src/sys/netisdn/i4b_isppp.c:555: `R_SP' undeclared (first use in
this function)
/usr/src/sys/netisdn/i4b_isppp.c: In function `i4bisppp_disconnect':
/usr/src/sys/netisdn/i4b_isppp.c:590: `R_SP' undeclared (first use in
this function)
/usr/src/sys/netisdn/i4b_isppp.c: In function `i4bisppp_dialresponse':
/usr/src/sys/netisdn/i4b_isppp.c:633: `R_SP' undeclared (first use in
this function)
/usr/src/sys/netisdn/i4b_isppp.c: In function `i4bisppp_rx_data_rdy':
/usr/src/sys/netisdn/i4b_isppp.c:681: `R_SP' undeclared (first use in
this function)
/usr/src/sys/netisdn/i4b_isppp.c: In function `i4bisppp_tx_queue_empty':
/usr/src/sys/netisdn/i4b_isppp.c:727: `R_SP' undeclared (first use in
this function)
/usr/src/sys/netisdn/i4b_isppp.c: In function `i4bisppp_idletime':
/usr/src/sys/netisdn/i4b_isppp.c:742: `R_SP' undeclared (first use in
this function)
*** Error code 1
When I try to get around this (simply defining R_SP as 30 - ugly!) I can
build the kernel, but get a trap when trying to boot. Astonishing: the
trap appears in route (after "Setting hostname"), the hardware itself
seems to be initialized correctly.
I tried two recently checked-out versions of -current.
Anybody a clue? Or is this problem not alpha-related (but I would be
surpriced if ISDN support is broken on i386) and I should post it to
another list?
Any idea is very much appreciated.
Thanks,
Torsten
--
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<> <>
<> Torsten Harenberg harenberg@physik.uni-wuppertal.de <>
<> Bergische Universitaet <>
<> FB 8 - Physik Tel.: +49 (0)202 439-2740 <>
<> Gaussstr. 20 Fax : +49 (0)202 439-2811 <>
<> 42097 Wuppertal <>
<> <>
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>