Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 2002 12:13:27 -0700 (PDT)
From:      Charles Sprickman <spork@inch.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/43984: rp driver does not support multiple PCI cards
Message-ID:  <200210121913.g9CJDRcN037485@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         43984
>Category:       kern
>Synopsis:       rp driver does not support multiple PCI cards
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 12 12:20:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Charles Sprickman
>Release:        4.7-RELEASE
>Organization:
>Environment:
FreeBSD synapse.fasttrackmonkey.com 4.7-RELEASE FreeBSD 4.7-RELEASE #3: Fri Oct 11 22:26:54 EDT 2002     spork@synapse.fasttrackmonkey.com:/usr/obj/usr/src/sys/SYNAPSE  i386
>Description:
With two Comtrol RocketPort PCI-8J cards installed, both cards are probed and detected:

 rp0: <rp> port 0xe400-0xe43f irq 10 at device 18.0 on pci0
 RocketPort0 = 8 ports
 rp0: driver is using old-style compatibility shims
 rp1: <rp> port 0xe800-0xe83f irq 11 at device 19.0 on pci0
 RocketPort1 = 8 ports
 WARNING: "rp" is usurping "rp"'s cdevsw[]
 rp1: driver is using old-style compatibility shims

All ports on rp0 function, but on rp1 it seems only tx traffic makes it out the port.  Swapping cards makes no difference.  Have tested with numberous methods, using cu, kermit, minicom and simply cat'ing and echo'ing data from port to port.  Searching -hackers, -stable, and -questions reveals a number of people with the same problem.

Additionally, I have downloaded, compiled, and tested a module that was backported from -current.  See:  http://people.freebsd.org/~gallatin/rp.tgz

This driver probes and detects both cards:

rp0: <RocketPort PCI> port 0xe400-0xe43f irq 10 at device 18.0 on pci0
RocketPort0 (Version 3.02) 8 ports.
rp1: <RocketPort PCI> port 0xe800-0xe83f irq 11 at device 19.0 on pci0
RocketPort1 (Version 3.02) 8 ports.

And with this driver, both cards do function.  But there seems to be another problem as text in/out of the card is scrambled.  Same cable/connection with the old driver did not exhibit this problem.
>How-To-Repeat:
Install two PCI RocketPort cards.
>Fix:
It seems the best bet might be to start with the backported -current driver.  The person who ported it ported for the alpha, so perhaps the quirks I'm seeing are due to an oversight in that area.

The url again:
http://people.freebsd.org/~gallatin/rp.tgz
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210121913.g9CJDRcN037485>