1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

Forums
Welcome, Guest
Solos Multiport PCI ADSL2+ Modem Card
(1 viewing) 1 Guest
Go to bottomPage: 12
TOPIC: Solos Multiport PCI ADSL2+ Modem Card
#40801
Solos Multiport PCI ADSL2+ Modem Card 1 Year ago  
Hi all,

I'm new to ClearOS and just trying it out to see whether it fits my needs. So far I'm loving it - looks great! However, I have an ADSL2+ PCI modem card I'm hoping (with some help) I can get to work under ClearOS. The card can be seen here.

The card has 4 ADSL ports, each controlled by a Conexant Solos D ADSL2+ chipset which interfaces to the PCI bus through an FPGA (apparently). Also according to the README file the solos driver is included in the Linux kernel version 2.6.29 and later. I’ve had a look with modinfo and solos-pci does not seem to be included in the kernel. This being the case, I hope to be able to compile the driver provided (separately from the kernel).

The manufacturer provides a driver on Sourceforge.net which I think should work. It’s supposed to be compatible with Linux kernel versions 2.6.23 and later. However I think it does require the kernel to include ATM support:

CONFIG_ATM=y
CONFIG_ATM_BR2684=y

As far as software utilities goes – it just needs linux-atm which includes br2684ctl.

Apart from “will my card work?”, I have the following questions and would be grateful for any help.

Q1) Generally, what is ClearOS like in terms of support for ADSL PCI modem cards? And could anyone suggest a better choice that’s supported / recognised out-the-box?

Q2) Does anyone know if the ClearOS kernel support ATM (RFC/2684 bridged protocol)? I hope so – otherwise I would need to recompile the kernel! And unless well documented – I’m not even going to attempt that!

Q3) Does anyone know what the best way to install linux-atm is? From source or is there a way to install it through yum?

Cheers,
Andy
Andrew Pike
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#40807
Re:Solos Multiport PCI ADSL2+ Modem Card 1 Year ago  
I tied installing:

- kernel-devel
- gcc

gcc also pulled in dependencies...

- cloog-ppl
- cpp
- glibc-devel
- glibc-headers
- kernel-headers
- libgomp
- mpfr
- ppl

...all of which I installed and then rebooted before trying 'make clean' on the driver. The below was the outcome.

Code:


[root@wellington solos-pci-1.03]# make clean
make -C /lib/modules/2.6.32-220.13.1.v6.x86_64/build M=/root/solos/solos-pci-1.03 clean
make: *** /lib/modules/2.6.32-220.13.1.v6.x86_64/build: No such file or directory.  Stop.
make: *** [clean] Error 2



Why does the build directory not exist? Do I need the kernel sources? If so, does anyone know how to get them?

Cheers,
Andy
Andrew Pike
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#40814
Re:Solos Multiport PCI ADSL2+ Modem Card 1 Year ago  
If it is anything like 5.2 I would guess there is a mistake in one of the rpm's - possibly the kernel rpm. In 5.2 there is a symlink folder called /lib/modules/2.6.18-308.1.1.v5/build/ which points to /usr/src/kernels/2.6.18-308.1.1.v5. There is also a symlink folder /lib/modules/2.6.18-308.1.1.v5/source/ which points to the same place. In 6.2 these symlinks are not folders. Also the /lib/modules/2.6.32-220.13.1.v6.x86_64/source symlink points to the /lib/modules/2.6.32-220.13.1.v6.x86_64/build (which is pretty much the same as pointing to /usr/src/kernels/2.6.32-220.13.1.v6.x86_64/build.

I would guess at trying to recreate the symlink folders as in 5.2 but as I could be miles wide of the mark, I would not recommend you to do the same. Do you have a VM you could check it in?
Nick Howitt
Platinum Boarder
Posts: 4149
graphgraph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#40822
Re:Solos Multiport PCI ADSL2+ Modem Card 1 Year ago  
Looks like someone else has confirmed the problem and given the solution.

[edit]
..... except it does not work as the x64 headers and devel package do not match the running kernel.
[/edit]
Nick Howitt
Platinum Boarder
Posts: 4149
graphgraph
User Online Now Click here to see the profile of this user
Last Edit: 2012/05/05 05:33 By NickH.
The administrator has disabled public write access.
 
#40864
Re:Solos Multiport PCI ADSL2+ Modem Card 1 Year ago  
This fix should work.
Nick Howitt
Platinum Boarder
Posts: 4149
graphgraph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#40879
Re: Solos Multiport PCI ADSL2+ Modem Card 1 Year ago  
The current kernel would appear to support ATM
Code:

[root@leonardo ~]# grep ATM /boot/config-2.6.32-220.13.1.v6.x86_64
# CONFIG_FLATMEM_MANUAL is not set
CONFIG_ATM=m
CONFIG_ATM_CLIP=m
# CONFIG_ATM_CLIP_NO_ICMP is not set
CONFIG_ATM_LANE=m
# CONFIG_ATM_MPOA is not set
CONFIG_ATM_BR2684=m
# CONFIG_ATM_BR2684_IPFILTER is not set
CONFIG_NET_SCH_ATM=m
CONFIG_ATMEL=m
CONFIG_PCI_ATMEL=m
CONFIG_PCMCIA_ATMEL=m
CONFIG_ATM_DRIVERS=y
# CONFIG_ATM_DUMMY is not set
CONFIG_ATM_TCP=m
# CONFIG_ATM_LANAI is not set
# CONFIG_ATM_ENI is not set
# CONFIG_ATM_FIRESTREAM is not set
# CONFIG_ATM_ZATM is not set
# CONFIG_ATM_IDT77252 is not set
# CONFIG_ATM_AMBASSADOR is not set
# CONFIG_ATM_HORIZON is not set
# CONFIG_ATM_IA is not set
# CONFIG_ATM_FORE200E is not set
# CONFIG_ATM_HE is not set
# CONFIG_ATM_SOLOS is not set
CONFIG_PPPOATM=m
CONFIG_TCG_ATMEL=m
CONFIG_USB_ATM=m
CONFIG_USB_UEAGLEATM=m
CONFIG_USB_XUSBATM=m
# CONFIG_MMC_ATMELMCI is not set


The BR2684 module is also present, so you should just be able to load it with 'modprobe br2684'

Whats the output of 'lspci -nn' with it plugged in?
Tim Burgess
Moderator
Posts: 5802
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#41006
Re: Solos Multiport PCI ADSL2+ Modem Card 1 Year ago  
Nick / Tim,

Thanks to both for your help here. Nick, you were right, I changed the Makefile to read:

Code:

KDIR    ?= /usr/src/kernels/2.6.32-220.13.1.el6.x86_64



…and it compiled. However it didn’t work when I tried to insert it:

Code:

insmod: error inserting 'solos-pci.ko': -1 Unknown symbol in module



This seems like the problem you talked about in your follow-up post. I will try the fix you suggested in your last post and then get back to you.

Tim, thanks for answering my question about ATM and showing me how to check the configuration. Also thanks for clearing up the “br2684” issue. On Ubuntu it is “br2684ctl”. I was unsure whether they were the same program. Below is the lspci output you asked for:

Code:


[root@wellington solos-pci-1.03]# lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 3200/3210 Chipset DRAM Controller [8086:29f0] (rev 01)
00:01.0 PCI bridge [0604]: Intel Corporation 3200/3210 Chipset Host-Primary PCI Express Bridge [8086:29f1] (rev 01)
00:1a.0 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 [8086:2937] (rev 02)
00:1a.1 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 [8086:2938] (rev 02)
00:1a.2 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939] (rev 02)
00:1a.7 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 [8086:293c] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 [8086:2940] (rev 02)
00:1c.4 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 [8086:2948] (rev 02)
00:1c.5 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 [8086:294a] (rev 02)
00:1d.0 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934] (rev 02)
00:1d.1 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935] (rev 02)
00:1d.2 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936] (rev 02)
00:1d.7 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev 92)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801IR (ICH9R) LPC Interface Controller [8086:2916] (rev 02)
00:1f.2 IDE interface [0101]: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA Controller [IDE mode] [8086:2920] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930] (rev 02)
00:1f.5 IDE interface [0101]: Intel Corporation 82801I (ICH9 Family) 2 port SATA Controller [IDE mode] [8086:2926] (rev 02)
01:00.0 PCI bridge [0604]: Broadcom EPB PCI-Express to PCI-X Bridge [1166:0103] (rev b4)
02:04.0 PCI bridge [0604]: Broadcom BCM5785 [HT1000] PCI/PCI-X Bridge [1166:0104] (rev b2)
02:08.0 RAID bus controller [0104]: Hewlett-Packard Company Smart Array E200i (SAS Controller) [103c:3238]
05:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5761 Gigabit Ethernet PCIe [14e4:1681] (rev 10)
0d:00.0 VGA compatible controller [0300]: Matrox Graphics, Inc. MGA G200e [Pilot] ServerEngines (SEP1) [102b:0522] (rev 02)
0e:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5722 Gigabit Ethernet PCI Express [14e4:165a]
11:00.0 ATM network controller [0203]: Xilinx Corporation Device [10ee:0300]



Cheers,
Andy
Andrew Pike
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#41020
Re: Solos Multiport PCI ADSL2+ Modem Card 1 Year ago  
Andy,
Can you remove the el6 kernel-devel package which is the wrong one ("rpm -e kernel-devel"). I had a hunt round last night and found the correct ones in another part of the repo. They can be installed with:
Code:

yum --enablerepo=clearos-dev install kernel-devel kernel-headers

Leave off the headers if you do not need them. Then try to recompile.
Nick
Nick Howitt
Platinum Boarder
Posts: 4149
graphgraph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#41046
Re: Solos Multiport PCI ADSL2+ Modem Card 1 Year ago  
Hi Nick,

Thanks for your reply. I ran the command “rpm –e kern-devel” but that did not work as I had both versions installed. I did manage to remove both via yum, rebooted and then re-ran:

Code:

yum --enablerepo=clearos-dev install kernel-devel kernel-headers



I also removed and re-created the “build” soft-link to point to the 64-bit version, 2.6.32-220.13.1.v6.x86_64 (as shown in the link you provided).

I then recompiled the driver without any problems. After running “modprobe br2684” I could then run “insmod solos-pci.ko” without error. The output of “dmesg” shows the device being registered:

Code:


Solos PCI Driver Version 1.03 svn-35
solos 0000:11:00.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
solos 0000:11:00.0: Solos FPGA Version 0.03 svn-38
solos 0000:11:00.0: Registered ATM device 0
solos 0000:11:00.0: Registered ATM device 1
solos 0000:11:00.0: Registered ATM device 2
solos 0000:11:00.0: Registered ATM device 3



However after a reboot I needed to re-run “modprobe br2684”, cd to the driver directory and run “insmod solos-pci.ko”. How do I insert it permanently?

My second question is, how do I install “br2684ctl”? To setup my card (for UK and on port 0), I would expect to run:

Code:


/usr/sbin/br2684ctl -b -s 2040 -c 0 -a 0.0.38
ifconfig nas0 203.123.69.1 up



Is it included in a package that can be installed via yum?

Cheers,
Andy
Andrew Pike
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#41060
Re: Solos Multiport PCI ADSL2+ Modem Card 1 Year ago  
OK. I'm getting a bit lost with the new RHEL6/ClearOS6.2 set up and I'm going to have to dig further to understand how it links modules to ethernet adaptors. It appears to have changed significantly since ClearOS5.2.

As an ugly hack any commands you run post boot up can be added to /etc/rc.d/rc.local. It is not the right way as you really want the modem to start much earlier in the boot sequence.

Again with the br2864ctl command, I don't know where you get it from. It almost seems it should be available from yum but it is not.
Nick Howitt
Platinum Boarder
Posts: 4149
graphgraph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
  get the latest posts directly to your desktop