From owner-freebsd-hardware Mon Jul 9 18:34:47 2001 Delivered-To: freebsd-hardware@freebsd.org Received: from agena.meridian-enviro.com (thunder.meridian-enviro.com [207.109.234.227]) by hub.freebsd.org (Postfix) with ESMTP id 32A6A37B403; Mon, 9 Jul 2001 18:34:41 -0700 (PDT) (envelope-from rand@meridian-enviro.com) Received: from delta.meridian-enviro.com (delta.meridian-enviro.com [10.10.10.43]) by agena.meridian-enviro.com (8.11.1/8.9.3) with ESMTP id f6A1YPu26048; Mon, 9 Jul 2001 20:34:25 -0500 (CDT) (envelope-from rand@meridian-enviro.com) Date: Mon, 09 Jul 2001 20:34:24 -0500 Message-ID: <87sng5lg7z.wl@delta.meridian-enviro.com> From: "Douglas K. Rand" To: freebsd-stable@freebsd.org, freebsd-hardware@freebsd.org Subject: Multiple RocketPort cards User-Agent: Wanderlust/2.5.8 (Smooth) SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) X-Face: $L%T~#'9fAQ])o]A][d7EH`V;"_;2K;TEPQB=v]rDf_2s% List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I'm having difficulty with a system that has two 16 port PCI RocketPort multi-port serial cards. The first card (rp0) works just fine. The second card (rp1) can send data, but can't recieve. Using kermit to connect to one of the /dev/cuaR16 .. /dev/cuaR15 ports, I can actually login to a remote system, and do commands, but I get *nothing* back. The nice little red light on the external expander for the part I'm using flashes, even for recieve traffic. And yes, when I move a cable from rp1 to rp0, it works just fine. :) One step further, I've had the rp1 card in another system (where it was rp0, the only RocketPort card) and it worked just fine. I'm running 4.3-STABLE. Here are the rp parts of dmesg: rp0: port 0xec00-0xec7f irq 9 at device 18.0 on pci0 RocketPort0 = 16 ports rp0: driver is using old-style compatibility shims rp1: port 0xe080-0xe0ff irq 15 at device 20.0 on pci0 RocketPort1 = 16 ports WARNING: "rp" is usurping "rp"'s cdevsw[] rp1: driver is using old-style compatibility shims WARNING: driver rp should register devices with make_dev() (dev_t = "#rp/0x10088") In looking at the code, it seems that the usurping warning is because both rp0 and rp1 use the same major device number. The devices in /dev seem reasonable: crw-rw---- 1 uucp dialer 81, 0x00010080 Jul 9 19:22 /dev/cuaR0 ... crw-rw---- 1 uucp dialer 81, 0x0001008f Jul 9 19:22 /dev/cuaR15 crw-rw---- 1 uucp dialer 81, 0x00020080 Jul 9 19:22 /dev/cuaR16 ... crw-rw---- 1 uucp dialer 81, 0x0002008f Jul 9 20:19 /dev/cuaR31 crw-rw-rw- 1 root wheel 81, 0x00010000 Jul 9 19:22 /dev/ttyR0 ... crw------- 1 root wheel 81, 0x0001000f Jul 9 20:22 /dev/ttyR15 crw-rw-rw- 1 root wheel 81, 0x00020000 Jul 9 19:22 /dev/ttyR16 ... crw-rw-rw- 1 root wheel 81, 0x0002000f Jul 9 19:22 /dev/ttyR31 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message