From owner-freebsd-bugs Sat Oct 12 12:20: 9 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9138837B406 for ; Sat, 12 Oct 2002 12:20:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DD1143EC2 for ; Sat, 12 Oct 2002 12:20:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9CJK3Co072835 for ; Sat, 12 Oct 2002 12:20:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9CJK30r072834; Sat, 12 Oct 2002 12:20:03 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDC6437B401 for ; Sat, 12 Oct 2002 12:13:27 -0700 (PDT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96B8C43EAC for ; Sat, 12 Oct 2002 12:13:27 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g9CJDR7R037486 for ; Sat, 12 Oct 2002 12:13:27 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.6/8.12.6/Submit) id g9CJDRcN037485; Sat, 12 Oct 2002 12:13:27 -0700 (PDT) Message-Id: <200210121913.g9CJDRcN037485@www.freebsd.org> Date: Sat, 12 Oct 2002 12:13:27 -0700 (PDT) From: Charles Sprickman To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/43984: rp driver does not support multiple PCI cards Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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: port 0xe400-0xe43f irq 10 at device 18.0 on pci0 RocketPort0 = 8 ports rp0: driver is using old-style compatibility shims rp1: 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: port 0xe400-0xe43f irq 10 at device 18.0 on pci0 RocketPort0 (Version 3.02) 8 ports. rp1: 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