Google
  Web www.spinics.net

Re: Installing ppp/pppd in arm-linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


>> Could you elaborate a little more here on what should be done?  Are
>> you suggesting the creation of a bunch of links with 2.3 naming
>> pointed to glibc 2.2 files?  If that is the case I'm thinking this
>> would involve many symbolic links as opposed to one.

>(sorry for delay in responding...)  As you have glibc 2.2, I would
>suggest you use the older ppp binary thats linked against 2.1 (the one
>from the DM-3.1 distribution, not NW-9).  In /lib directory, make a
>symbolic link for libc-2.x.y.so as to satisfy the version that ppp
>wants.  Should only need one link...

Ok, here's a an update:
I uninstalled ppp-2.4.xx and loaded the earlier version as suggested:
ppp-2.3.10-3.armv4l.rpm, I also made a symbolic link libc-2.2.2 ->
libc-2.2.3 (athough the symbolic link wasn't the mechanism that made
the difference).

pppd now launches (at least it appears to) however immediately reports
another error message:

---code----------------------------------
[root@ARMCore root]$ pppd call ac775
pppd: In file /etc/ppp/peers/ac775: unrecognized option '/dev/modem'
---------------------------------------------

I checked and /dev/modem does not exist, I believe this is due to an
issue initializing a serial port (UART) to the PCMCIA device because
of another error message I get when booting Linux.

---code----------------------------------
Starting pcmcia Starting PCMCIA services: cardmgr.
cardmgr[465]: starting, version is 3.1.22

Starting inet cardmgr[465]: watching 2 sockets
cardmgr[465]: initializing socket 1
cardmgr[465]: socket 1: AC775 Network Adapter R1
Starting INET services:  inetdcardmgr[465]: executing: 'modprobe serial_cs'
cardmgr[465]: + modprobe: /lib/libc.so.6: version `GLIBC_2.2.3' not
found (required )
cardmgr[465]: modprobe exited with status 1
cardmgr[465]: module /lib/modules/2.6.7-armcore/pcmcia/serial_cs.o not available
cardmgr[465]: bind 'serial_cs' to socket 1 failed: Invalid argument
---------------------------------------------

I understand most of the issue here, althought I am at a slight loss
as to how to correct it.  Basically what this is saying is that
serial_cs can't be loaded using modprobe because modprobe needs 2.2.3
of libc.  This is a know issue with Compulab Linux (because it
includes libc-2.2.2 instead of 2.2.3) and is not a major problem since
modules can be manually loaded using insmod.  There is however an
issue with the part of this message that reads "module
/lib/modules/2.6.7-armcore/pcmcia/serial_cs.o not available" (the
directory /lib/modules/2.6.7-armcore/pcmcia/ is completely empty), I
am indeed missing serial_cs.o in my /lib/modules directories.  It
appears that I do have a serial_cs.c in my kernel source from which I
compiled this image from, but for some reason it never made me a
serial_cs.o (perhaps this was a neccissary menuconfig option that was
off by default?).  In any case, I could use some suggestions as to
what the easiest procedure would be to obtain or create a serial_cs.o
compatible with the 2.6.7 kernel?

I've already tried "arm-linux-gcc -Wall serial_cs.c -o serial_cs.o"
with lots of errors

Someone else tried something a bit more elaborate with no success:
http://lists.arm.linux.org.uk/pipermail/linux-arm/2001-July/001786.html

Thanks.

-Nathan

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php


[Site Home]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux ARM Kernel]     [Linux MIPS]     [ECOS]     [Tools]     [DDR & Rambus]     [Monitors]

Powered by Linux