Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jul 2001 20:34:24 -0500
From:      "Douglas K. Rand" <rand@meridian-enviro.com>
To:        freebsd-stable@freebsd.org, freebsd-hardware@freebsd.org
Subject:   Multiple RocketPort cards
Message-ID:  <87sng5lg7z.wl@delta.meridian-enviro.com>

next in thread | raw e-mail | index | archive | help
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: <rp> port 0xec00-0xec7f irq 9 at device 18.0 on pci0
RocketPort0 = 16 ports
rp0: driver is using old-style compatibility shims
rp1: <rp> 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-stable" in the body of the message




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