Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Redhat 4.0 - Kernel Modules - PCMCIA
@ 1996-12-14 23:22 Don Munroe
  0 siblings, 0 replies; 4+ messages in thread
From: Don Munroe @ 1996-12-14 23:22 UTC (permalink / raw)


On 14 Dec 96, Andreas Johansson <ajo@wopr.campus.luth.se> wrote:

> On Sat, 14 Dec 1996, Don Munroe wrote:
> 
> > There are a few warnings like...
> >    <warning: cast to pointer from integer of different size>
> > but I think I read on this list that this is not serious (is this
> > true?)
> 
> Most of those are harmless, yes. But if you get any problems with the
> module once it's installed you should look those warnings up and see if
> they make any 32 bit assumptions.

    How do you fix 32-bit assumptions? (I'm new to this...)
    Anywhere you can point me?  Is there an ALPHA porting FAQ?

> > After commanding <insmod pcmcia_core.o> I get:
> >    insmod: module is xxxxx bytes long (expected xxxxx)
> >    insmod: forgot to specify -dc when linking pcmcia_core.o?
> > 
> > Do I have a problem with kernel modules in general, the pcmica
> > package, or both?  
> 
> Modules in general. There are to my knowledge two ways to get around this.
> 1) Do a 
> 	strip -x pcmcia_core.o
>    on your compiled module. This makes insmod accept it.

  ---> Great!! This fixed the problem!!  Modules are now loading!!
 
> 2) Recompile insmod and remove the check which produces this
>    error-message. This seems to work well for me atleast.
>    The source for insmod is available at
>    http://ftp.azstarnet.com/pub/linux/axp/sys/insmod-bfd-0.2.tar.gz
>    Here is a patch for removing the check:
>    (apply with  patch -p0 < patchfile  in the insmod-bfd-0.2 directory)

    I'll try this patch later -- Thanks!!!

Thanks for the help!!!
--Don 

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <199612142321.TAA28842@M3.ips.ca>]
* Redhat 4.0 - Kernel Modules - PCMCIA
@ 1996-12-14 22:06 Don Munroe
  1996-12-14 22:43 ` Andreas Johansson
  0 siblings, 1 reply; 4+ messages in thread
From: Don Munroe @ 1996-12-14 22:06 UTC (permalink / raw)


I've been trying for a couple of weeks to get a PCMCIA Megahertz
modem working with the pcmcia module package on my UDB.

                    I'm stuck... :(

I have been monitoring this list for the subject for about a month,
but haven't seen anything on the topic, so here it goes...

Here's where I am:
               RedHat 4.0 w/ all updates
               Kernel 2.0.27
               pcmcia-cs-2.9.0
               insmod-bfd-0.2

I have the pcmcia package compiling without errors after removing the 
following line 
           #include <sys/types.h>   from files i82365.c and itcic.c

There are a few warnings like...
   <warning: cast to pointer from integer of different size>
but I think I read on this list that this is not serious (is this
true?)

After commanding <insmod pcmcia_core.o> I get:
   insmod: module is xxxxx bytes long (expected xxxxx)
   insmod: forgot to specify -dc when linking pcmcia_core.o?

Then I noticed that the same message occurs when trying to insert
dummy.o, bsd_comp.o, and new_tunnel.o but ipx.o and smbfs.o work
fine!

Do I have a problem with kernel modules in general, the pcmica
package, or both?  

Please, any hints would be helpful!!

Thanks!!
--Don  (Big RedHat/Alpha fan)

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1996-12-16 12:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-12-14 23:22 Redhat 4.0 - Kernel Modules - PCMCIA Don Munroe
     [not found] <199612142321.TAA28842@M3.ips.ca>
1996-12-16 12:36 ` Jim Nance
  -- strict thread matches above, loose matches on Subject: below --
1996-12-14 22:06 Don Munroe
1996-12-14 22:43 ` Andreas Johansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox