PPP-2.4.1 Solaris8 Driver Failed to Attach/ppp question

PPP-2.4.1 Solaris8 Driver Failed to Attach/ppp question

Post by Leig » Sat, 06 Apr 2002 22:31:11



Hi All

2 Questions

PPP -1
I'm trying to get ppp-2.4.1 to install but get the Driver Failed to
Attach on install.
I've seen a simmilar question that gcc had a problem with memset and
tried Anton Rang code in ppp.c but still get the error.

Anyone else got it to work ? if so how.
(Please note that I'm a system administrator NOT a programmer)

Running Solaris 8 4/01 with MU6
Gcc 2-95-2

If I can't get the above to work then question 2
PPP -2
I've got the old asppp to work (a bit) but after MU6 it said use ppp.
I removed ALL (4) the asppp packages and then wondered which ones I
should install from disk 2. All the documents I found on BigAdmin
point to Solaris V9 which you need to have a beta login account to
view them (Silly).
Any How-To's out there for PPPV4 like kempston / Celeste's wonderful
creations?

Thanks in Advance

Leigh

 
 
 

PPP-2.4.1 Solaris8 Driver Failed to Attach/ppp question

Post by James Carlso » Sun, 07 Apr 2002 01:16:47



> Anyone else got it to work ? if so how.
> (Please note that I'm a system administrator NOT a programmer)

Compile using Sun's compiler or use the bundled implementation
instead.

Quote:> If I can't get the above to work then question 2
> PPP -2
> I've got the old asppp to work (a bit) but after MU6 it said use ppp.

Yes; ANU PPP (the one you're trying to compile and install) now comes
with Solaris.  No need to compile it yourself.

Quote:> I removed ALL (4) the asppp packages and then wondered which ones I

That's not necessary, but it won't hurt.  The two can coexist
peacefully.

Quote:> should install from disk 2. All the documents I found on BigAdmin
> point to Solaris V9 which you need to have a beta login account to
> view them (Silly).

Yeah, I know.  The main packages are:

        SUNWpppd
        SUNWpppdu
        SUNWpppdr

If you're on a 64 bit system, then you also need SUNWpppdx.  If you
have MU6 or later, you can add PPPoE support by installing SUNWpppdt.
There are also two packages that hold the GNU-tainted bits from the
original ANU PPP distribution:

        SUNWpppg
        SUNWpppgS

You don't actually need these two, though.  They have just the
minconn/passprompt plugins and the 'pppdump' user level utility, all
of which is rarely used.

Quote:> Any How-To's out there for PPPV4 like kempston / Celeste's wonderful
> creations?

This site is helpful:

        http://home.earthlink.net/~jaymzh666/solaris/

Just about any site that discusses PPP on Linux will help with the
underlying PPP implementation now available on Solaris.

--

SUN Microsystems / 1 Network Drive         71.234W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.497N   Fax +1 781 442 1677

 
 
 

1. "driver failed to attach" error in Solaris 8, ppp-2.4.1

Hi,

I'm trying to build ppp-2.4.1 on a Sun Sparc5 running Solaris8
(aka SunOS 5.8) using gcc 3.0.3, and I'm getting the following error
messages:

- After "make install":

  /usr/sbin/add_drv ppp
  devfsadm: driver failed to attach: ppp
  Warning: Driver (ppp) successfully added to system but failed to
attach

- In /var/adm/messages:

  krtld: [ID 995402 kern.notice] /kernel/drv/ppp: undefined symbol
'memset'
  krtld: [ID 472681 kern.notice] WARNING: mod_load: cannot load module
'ppp'

To make the build I changed solaris/Makedefs (not svr4/Makedefs like
README.sol2 says) and also commented out COPTS in solaris/Makefile and
pppd/Makefile, it has options that only work with Sun's compiler and
make no sense to gcc.

Perhaps what was being done with "COPTS += -xO2 -xspace -W0,-Lt" is
necessary, but to my knowledge, the first two are optimization options
and the last one doesn't make any sense since I think it means to pass
the -Lt parameter to the compiler phase, -L is only used by the linker
and t is not a directory anywere.

The missing function is in the standard library, /usr/lib/libc.a, but
doing a "nm /kernel/drv/ppp" does result in a list of several
undefined symbols, including memset, I don't know what's special about
memset.   I also tried the "-nostdlib" parameter to gcc (only in the
solaris directory, where the driver is built), trying to eliminate
dependecies to other libraries, but the result was the same.

Anybody knows if something else is needed?  More Makefile fixing?

[BTW, I need to compile it myself to get the MMPE and MSCHAP
extensions.]

Thanks.
--
R. Berber

2. :2.4.19: do_revalidate in chown

3. PPP problem with RH 7.1 updated with ppp-2.4.1-3

4. Howto available: Linux on SunPCi-IIpro

5. FreePPP devfsadm: driver failed to attach: ppp

6. gateway doesn't work

7. PPP and PPP and PPP and PPP and PPP and HEADACHE

8. RH6 TT Fonts

9. DIALD fails ppp-on fails ppp-go works HELP!!!

10. PPP- How to create/connect/attach ppp interface and channel

11. FreeBSD source for ppp-2.4.1 ???

12. can′t compile ppp-2.4.1 on Solaris 8 with gcc

13. Problem with ppp-2.4.1 on RH 7.3 with 2.4.19