Comtrol Rocket port4

Comtrol Rocket port4

Post by Dale Miracl » Fri, 11 Dec 1998 04:00:00



I am trying to install a comtrol rocketport 4 isa in my freebsd 2.2.7
box.  I got the current drivers off of ftp.comtrol.com ... Their
instructions were pretty vague so it could be something they failed to
mention.
When I installed the driver using their instructions (what they had of
them) I tried to compile the kernel and I get this error.

ioconf.o : undefined symbol '_rpdriver' referenced from data segment
*** error code 1

This kernel config that I have compiled many times already before I
added the comtrol files.
Where they are the most vague is when they say to edit the files.i386
and add the rp.c .  They give no settings, kernel config does not like
just the .c file being there alone.  I used some logic and duplicated
what the other files used using the device name of rp0 .  Another area
was about major #20, fbsd has a MO scsi device listed there.. it says
that there shouldn't be anything at major 20.  I commented it out but I
don't know to put there is anything.
I know the card works fine, I had it in my nt box...then installed
slackware linux on it and used it there but I had lib problems and could
only connect at 19200 ( on a usr 33.6 sportster) which is why I am
trying freebsd.
                                Thanks!

--
Dale Miracle                    "No matter where you go, there you are",

System Administrator         Oliver's Law of Location
The Edge of Insanity          "Real funny Scotty, now beam down my

              "I've gone to look for my self, if I return before I get
                            back keep me here."

 
 
 

Comtrol Rocket port4

Post by J Wuns » Mon, 14 Dec 1998 04:00:00



> ioconf.o : undefined symbol '_rpdriver' referenced from data segment
> *** error code 1

This probably means you have missed to edit the files.i386 file
correctly.  To the file /sys/i386/conf/files.i386, add something like

i386/isa/rp.c                   optional        rp      device-driver

This will instruct config(8) to include this file into the Makefile
iff you reference something like `rp0' in your config file.

If you still get the error, something must be wrong with rp.c.  Watch
out that file, there must be something like

struct isa_driver rpdriver = {
        rpprobe,
        rpattach,
        "rp"

Quote:};

in it.  (The actual names of the internal functions might differ, but
it needs to be named `rpdriver'.)

Quote:>   Another area
> was about major #20, fbsd has a MO scsi device listed there..

You're confusing block device #20 with raw device #20.  The latter has
been `reserved for local use' for ages in FreeBSD, and is what you're
going to use here.

Quote:>   I commented it out but I
> don't know to put there is anything.

I don't know what you mean by `I commented it out...', but in any
case, the driver needs to know its own major # (since it's going to
register itself under this number in the kernel).  There's no addional
file you need to enter this (/sys/i386/conf/majors.i386 is just a
`bookkeeping' file only so you know who's who), except you need the
major number for the mknod command in order to create your /dev
entries later.

--
cheers, J"org


Never trust an operating system you don't have sources for. ;-)

 
 
 

Comtrol Rocket port4

Post by Dale Miracl » Mon, 14 Dec 1998 04:00:00




> > ioconf.o : undefined symbol '_rpdriver' referenced from data segment
> > *** error code 1

> This probably means you have missed to edit the files.i386 file
> correctly.  To the file /sys/i386/conf/files.i386, add something like

> i386/isa/rp.c                   optional        rp      device-driver

> This will instruct config(8) to include this file into the Makefile
> iff you reference something like `rp0' in your config file.

Thanks that fixed it.  I must have been the rp and me messing with the
majors.i386.  I changed the files.i386 to what is shown above and removed the #
in front of the 20 in the majors file.  Comtrols readme file was a little vague
about these two settings.  The only thing comtrol said to do was "add rp.c to
your /sys/i386/conf/files.i386 file".  They left the rest wide open.  I just
copied what the other lines had but I didn't know if they wanted rp or rp0 etc
etc.  I have used used linux long enough to know not to change things with out
knowing what they do..so with fbsd I am asking questions first. :) Now I can
continue setting up the ppp server.
                        Thanks again,

--
Dale Miracle                    "No matter where you go, there you are",
System Administrator         Oliver's Law of Location
The Edge of Insanity          "Real funny Scotty, now beam down my

              "I've gone to look for my self, if I return before I get
                            back keep me here."

 
 
 

1. Problems with Comtrol Rocket Port and RedHat 2.1

I'm having a problem installing the drivers for a Comtrol Rocket Port 8 on a
Machine with Redhat 2.1 Linux.

I get a bunch of "UNDEFINED" errors and the message "Failed to load module!
The symbols from Kernel 1.2.13 don't match 1.2.13" when I run the rc.rocket
script.

This machine previously had Slackware Linux on it and the rocketport board
installed perfectly. When I moved to Redhat the disks were formatted, so there
was nothing from the old install on this system when RedHat was installed. I
installed the card the same as previously on the slackware dist.

Is this because of the change from a.out to ELF??

Any help needed...Please

2. KDevelop and enviroment variables

3. Delete Uitlities

4. problem Comtrol Rocket 550 on Redhat 7.3

5. Sparc 1+ ROM update

6. Gateway 2000 rocket video card help

7. Large Block Device patch part 5 of 9

8. X with the Gateway 2000 (WD) Rocket video card

9. Xconfig for Gateway 4dx2/66v with "Rocket Display Adaptor" and Crystalscan 1572fs

10. Gateway Rocket Video Card

11. small patch to fix compilation error in drivers/char/rocket.c

12. Help - Rocket Port