Re: requesting guidance for updating the RocketPort driver
On Sat, Feb 09, 2002 at 12:29:41AM -0600, John wrote: > > It seems to be a given that Comtrol is not in a position to support > and develop the driver for the RocketPort cards. I happen to be > the owner of a couple of these, and I'm having problems with > newer versions of FreeBSD. In the newest version of FreeBSD (read -CURRENT); I have used an 8-port RocketPort card for the past 6 months as a serial console server. I have had ZERO problems with it. I simply *LOVE* these cards. -- -- David ([EMAIL PROTECTED]) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: requesting guidance for updating the RocketPort driver
John Baldwin writes: > > On 09-Feb-02 Julian Elischer wrote: > > he infrastructure needed for a new driver can be taken from > > the sample driver in /usr/share/examples/drivers/make_device_driver.sh > > IN -CURRENT. (use cvdweb on the website to get it) > > > > that will at least get rid of the 'shims' stuff. > > There is already a newer driver in current. I've backported it but it didn't > help me get my RocketPort working. :-P (I think my rocketport has other issues > though as other people have had success with the cards on the old driver.) The > backport is fairly easy. You need to bascially take the src/sys/dev/rp/ <..> I've done essentially that and have been using it to drive serial consoles off my alpha for a few months now on -stable with no problems. I needed the newer driver from -current because the old driver isn't bus-space-ified and doens't work on alpha rp0: port 0x10180-0x101bf irq 9 at device 10.0 on pci0 RocketPort0 (Version 3.02) 8 ports. Try http://people.freebsd.org/~gallatin/rp.tgz. I never bothered to touch all the files files so that means you must build it as a module: cd /usr/src fetch http://people.freebsd.org/~gallatin/rp.tgz tar zxf rp.tgz cd sys/modules/rp make depend && make && make install kldload rp (this assumes you're not already running a kernel with old driver built in) All the standard disclaimers apply. Don't blame me if it blows up your computer, gives you an ulcer or gives your cat hairballs... Anyway, let me know if it works any better for you than the old driver in -stable. I've been reluctant to commit it since I don't want to be responsible for maintaining it and just running serial consoles at 9600 baud doesn't push things hard enough to find bugs. Drew To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: requesting guidance for updating the RocketPort driver
On 09-Feb-02 Julian Elischer wrote: > he infrastructure needed for a new driver can be taken from > the sample driver in /usr/share/examples/drivers/make_device_driver.sh > IN -CURRENT. (use cvdweb on the website to get it) > > that will at least get rid of the 'shims' stuff. There is already a newer driver in current. I've backported it but it didn't help me get my RocketPort working. :-P (I think my rocketport has other issues though as other people have had success with the cards on the old driver.) The backport is fairly easy. You need to bascially take the src/sys/dev/rp/ directory from current, merge the appropriate lines from sys/conf/files (and remove references to i386/isa/rp.c in files.i386 and files.pc98), change all 'struct thread *td's to 'struct proc *p', and change 'suser_td(td)' to 'suser(p)'. Finally, you need to sys/i386/isa/edit isa_compat.h and remove references to rpdriver. If someone with a workign RP card can test that that works and commit the changes, that would be nice. :) > On Sat, 9 Feb 2002, John wrote: > >> *** Please reply directly, since I am not currently subscribed to this list >> *** >> >> It seems to be a given that Comtrol is not in a position to support >> and develop the driver for the RocketPort cards. I happen to be >> the owner of a couple of these, and I'm having problems with >> newer versions of FreeBSD. >> >> For one, I get >> Feb 8 23:35:27 dexter /kernel: rp0: driver is using old-style compatibility >> shims >> Feb 8 23:35:37 dexter /kernel: WARNING: driver rp should register devices >> with ma >> ke_dev() (dev_t = "#rp/0x10007") >> >> That'd be fine and well, if the silly thing WORKED, which it doesn't, >> quite. tcsetattr returns "Invalid argument" when perfectly reasonable >> things are going on, preventing me from running PPP on these, or >> indeed making other reasonable changes to the terminal line driver >> characteristics. >> >> I just grabbed the latest version from -stable, and it diffs against >> what I'm using with no changes. The version I have with FreeBSD >> 2.1 doesn't have the problem with setting line characteristics, >> but it differs in many details from the driver in -stable. I was >> actually working with a developer at Comtrol in 1997 (they are/were >> local), and I have several versions of the driver from February >> 24, March 11, April 10, and May 22 which may be in a more advanced >> state than the driver in the distribution. At any rate, I've run >> PPP on that version of the driver for a almost 5 years, and it has >> done that quite well. >> >> I'd be very happy to work on this and get a superior driver into >> the distribution, but I could use just a bit of hand-holding, >> particularly with regard to that "old style driver shims" thing. >> >> I suspect, jumping from a 1997 FreeBSD (2.1) to a 2002 FreeBSD, there >> may be a few bumps in the road. >> >> Can someone point me in the right direction, or provide a little >> hand-holding? >> >> Thanks! >> >> *** Please reply directly, since I am not currently subscribed to this list >> *** >> -- >> >> John Lind >> [EMAIL PROTECTED] >> >> To Unsubscribe: send mail to [EMAIL PROTECTED] >> with "unsubscribe freebsd-hackers" in the body of the message >> > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-hackers" in the body of the message -- John Baldwin <[EMAIL PROTECTED]> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: requesting guidance for updating the RocketPort driver
he infrastructure needed for a new driver can be taken from the sample driver in /usr/share/examples/drivers/make_device_driver.sh IN -CURRENT. (use cvdweb on the website to get it) that will at least get rid of the 'shims' stuff. On Sat, 9 Feb 2002, John wrote: > *** Please reply directly, since I am not currently subscribed to this list *** > > It seems to be a given that Comtrol is not in a position to support > and develop the driver for the RocketPort cards. I happen to be > the owner of a couple of these, and I'm having problems with > newer versions of FreeBSD. > > For one, I get > Feb 8 23:35:27 dexter /kernel: rp0: driver is using old-style compatibility shims > Feb 8 23:35:37 dexter /kernel: WARNING: driver rp should register devices with ma > ke_dev() (dev_t = "#rp/0x10007") > > That'd be fine and well, if the silly thing WORKED, which it doesn't, > quite. tcsetattr returns "Invalid argument" when perfectly reasonable > things are going on, preventing me from running PPP on these, or > indeed making other reasonable changes to the terminal line driver > characteristics. > > I just grabbed the latest version from -stable, and it diffs against > what I'm using with no changes. The version I have with FreeBSD > 2.1 doesn't have the problem with setting line characteristics, > but it differs in many details from the driver in -stable. I was > actually working with a developer at Comtrol in 1997 (they are/were > local), and I have several versions of the driver from February > 24, March 11, April 10, and May 22 which may be in a more advanced > state than the driver in the distribution. At any rate, I've run > PPP on that version of the driver for a almost 5 years, and it has > done that quite well. > > I'd be very happy to work on this and get a superior driver into > the distribution, but I could use just a bit of hand-holding, > particularly with regard to that "old style driver shims" thing. > > I suspect, jumping from a 1997 FreeBSD (2.1) to a 2002 FreeBSD, there > may be a few bumps in the road. > > Can someone point me in the right direction, or provide a little > hand-holding? > > Thanks! > > *** Please reply directly, since I am not currently subscribed to this list *** > -- > > John Lind > [EMAIL PROTECTED] > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
requesting guidance for updating the RocketPort driver
*** Please reply directly, since I am not currently subscribed to this list *** It seems to be a given that Comtrol is not in a position to support and develop the driver for the RocketPort cards. I happen to be the owner of a couple of these, and I'm having problems with newer versions of FreeBSD. For one, I get Feb 8 23:35:27 dexter /kernel: rp0: driver is using old-style compatibility shims Feb 8 23:35:37 dexter /kernel: WARNING: driver rp should register devices with ma ke_dev() (dev_t = "#rp/0x10007") That'd be fine and well, if the silly thing WORKED, which it doesn't, quite. tcsetattr returns "Invalid argument" when perfectly reasonable things are going on, preventing me from running PPP on these, or indeed making other reasonable changes to the terminal line driver characteristics. I just grabbed the latest version from -stable, and it diffs against what I'm using with no changes. The version I have with FreeBSD 2.1 doesn't have the problem with setting line characteristics, but it differs in many details from the driver in -stable. I was actually working with a developer at Comtrol in 1997 (they are/were local), and I have several versions of the driver from February 24, March 11, April 10, and May 22 which may be in a more advanced state than the driver in the distribution. At any rate, I've run PPP on that version of the driver for a almost 5 years, and it has done that quite well. I'd be very happy to work on this and get a superior driver into the distribution, but I could use just a bit of hand-holding, particularly with regard to that "old style driver shims" thing. I suspect, jumping from a 1997 FreeBSD (2.1) to a 2002 FreeBSD, there may be a few bumps in the road. Can someone point me in the right direction, or provide a little hand-holding? Thanks! *** Please reply directly, since I am not currently subscribed to this list *** -- John Lind [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message