lkml.org 
[lkml]   [1998]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjecthisax= kernel command line/netjet driver broken?
Hi...

I'm trying to set up a linux box with six isdn cards, using kernel
version 2.1.123. The cards are three ISA (AVM A1 Fritz) and three
PCI (Traverse Tech. NETjet).

I've had problems with both hisax= kernel command line and with the
netjet driver, I think both things are not working ok. I'd
appreciate any help. Thanks in advance.

First, I tried building the Hisax driver in the kernel, and booted
with command line (I mean in the same line, without spaces, using
append in /etc/lilo.conf)

hisax=5,2,3,0x200,0,5,2,5,0x240,0,5,2,7,0x300, \
0,20,2,0,0,0,20,2,0,0,0,20,2,0,0,0, \
avm1,avm2,avm3,jet1,jet2,jet3

But only two cards are detected at a time!

The format (from Docummentation/isdn/README.Hisax) is supposed to
be:

hisax=typ1,dp1,pa_1,pb_1,pc_1[,typ2,dp2,pa_2 ... \
typn,dpn,pa_n,pb_n,pc_n][,idstring1[,idstring2,...,idstringn]]

so with two cards...
hisax=typ1,dp1,pa_1,pb_1,pc_1,typ2,dp2,pa_2,pb_2,pc_2,idstring1,idstring2

and with for four cards...
hisax=typ1,dp1,pa_1,pb_1,pc_1,typ2,dp2,pa_2,pb_2,pc_2,typ3,dp3,pa_3,pb_3,pc_3,idstring1,idstring2,idstring3

but for my line:
hisax=5,2,3,0x200,0,5,2,5,0x240,0,5,2,...
^ ^
only two cards are seen, and the first card gets id=5 and the
second one id=2, ignoring the rest.


Second, I tried loading the hisax as a module, and I discovered
that insmod can't get more than two cards at a time (too many
parameters for insmod), so I tried loading the hisax module several
times...

# (type 5 is the Fritz, 20 the NETjet card)
insmod -o hisax0 hisax protocol=2,2 type=5,5 io=0x200,0x240 irq=3,5 id=avm1%avm2
insmod -o hisax1 hisax protocol=2,2 type=5,20 io=0x300 irq=7 id=avm3%jet1

for now all works, the four cards are detected, but...

insmod -o hisax2 hisax protocol=2,2 type=20,20 id=jet2%jet3

fails, because it tries to use the same io and irq than the first
NETjet card:

HiSax: Driver for Siemens chip set ISDN cards
HiSax: Version 2.8
HiSax: Revisions 2.18/2.7/2.5/2.13/2.7
HiSax: Total 2 cards defined
HiSax: Card 1 Protocol EDSS1 Id=jet2 (4)
HiSax: Traverse Tech. NETjet driver Rev. 1.3
NETjet: PCI card configured at 0x6000 IRQ 11
HiSax: NETjet config port 6000-6100 already in use
HiSax: Card NETjet not installed !
HiSax: Card 1 Protocol EDSS1 Id=jet3 (4)
HiSax: Traverse Tech. NETjet driver Rev. 1.3
NETjet: PCI card configured at 0x6000 IRQ 11
HiSax: NETjet config port 6000-6100 already in use
HiSax: Card NETjet not installed !

But "lspci -v" reports different io/irq for each one:

00:0d.0 Network controller: Tiger Jet Network Inc. 300
Subsystem: Unknown device 0059:0001
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 6000
Memory at f0000000 (32-bit, non-prefetchable)
00:11.0 Network controller: Tiger Jet Network Inc. 300
Subsystem: Unknown device 0059:0001
Flags: bus master, medium devsel, latency 0, IRQ 15
I/O ports at 6200
Memory at f0001000 (32-bit, non-prefetchable)
00:13.0 Network controller: Tiger Jet Network Inc. 300
Subsystem: Unknown device 0059:0001
Flags: bus master, medium devsel, latency 0, IRQ 10
I/O ports at 6300
Memory at f0002000 (32-bit, non-prefetchable)

Is this a bug in the netjet driver, or it doesn't work with more
than one NETjet card?

Regards,
--
Roberto Lumbreras
rover@lander.es | rover@etsit.upm.es | rover@debian.org & pgp 143BE391
Lander Internet, Madrid-Spain-UE; http://www.lander.es

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.053 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site