linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* RE: HDLC/PPP Driver
@ 2000-10-23 20:30 Julia Elbert
  2000-10-24 16:27 ` pointers to ld.so.1 Ralph Blach
  0 siblings, 1 reply; 3+ messages in thread
From: Julia Elbert @ 2000-10-23 20:30 UTC (permalink / raw)
  To: 'Daris A Nevil',
	'linuxppc-embedded@lists.linuxppc.org'


Thank you, Darvis!

I was able to get your driver to load, configured, and pinging on the 860T.
Now, let me see if I can explain what happened.

I only wanted 1 SCC chanel, SCC2. I know you said that would not matter
until I actually configured hdlcppp2, but I think it did in the init in the
for {} where you go through all the PPP_HDLC_CHANNELS, because I am already
using SCC1, SCC3 and SCC4 at this point in other drivers.

It appears the line
dev->base_addr = (unsigned long)&cp->scc[i];
was the culprit.

I just forced i to 1 and used one PPP_HDLC_CHANNEL and my problems went
away. I was confused with this line a little because other drivers
initialize there drivers differently. Feel free to expand if you like

dev->base_addr = (unsigned long)&cp->scc[1];

The other indices with i were fine in the loop because i uses your
SCC_Params array which is fine.

Thought you would be interested.
Thank you, again. This kind of stuff makes my day and I enjoy learning from
the group.
--Julia


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* pointers to ld.so.1
  2000-10-23 20:30 HDLC/PPP Driver Julia Elbert
@ 2000-10-24 16:27 ` Ralph Blach
  2000-10-24 16:43   ` Matthew Locke
  0 siblings, 1 reply; 3+ messages in thread
From: Ralph Blach @ 2000-10-24 16:27 UTC (permalink / raw)
  Cc: 'linuxppc-embedded@lists.linuxppc.org'

[-- Attachment #1: Type: text/plain, Size: 448 bytes --]

I am working the Monta Vista port of linux to the IBM405gp
and I am trying to put in a ramdisk.  What links do i need in a ramdisk
so that
the libraries can be found.  Right now, I get the message

initKernel panic: Attempted to kill init!
: error in loading shared libraries: libdl.so.2:Rebooting in 180
seconds.. cannot open shared object file: No such file or directory

Yet libdl.so.2 and all the links are the the /lib directory.

Thanks

Chip

[-- Attachment #2: Card for Ralph Blach --]
[-- Type: text/x-vcard, Size: 247 bytes --]

begin:vcard
n:Blach;Ralph
tel;work:919-543-1207
x-mozilla-html:TRUE
url:www.ibm.com
org:IBM MicroElectronics
adr:;;3039 Cornwallis		;RTP;NC;27709;USA
version:2.1
email;internet:rcblach@raleigh.ibm.com
x-mozilla-cpt:;15936
fn:Ralph Blach
end:vcard

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

* Re: pointers to ld.so.1
  2000-10-24 16:27 ` pointers to ld.so.1 Ralph Blach
@ 2000-10-24 16:43   ` Matthew Locke
  0 siblings, 0 replies; 3+ messages in thread
From: Matthew Locke @ 2000-10-24 16:43 UTC (permalink / raw)
  To: Ralph Blach; +Cc: 'linuxppc-embedded@lists.linuxppc.org'


Ralph Blach wrote:
>
> I am working the Monta Vista port of linux to the IBM405gp
> and I am trying to put in a ramdisk.  What links do i need in a ramdisk
> so that
> the libraries can be found.  Right now, I get the message
>
> initKernel panic: Attempted to kill init!
> : error in loading shared libraries: libdl.so.2:Rebooting in 180
> seconds.. cannot open shared object file: No such file or directory
>
> Yet libdl.so.2 and all the links are the the /lib directory.
>

you are probably missing the link on the target

/opt/hardhat/devkit/ppc/4xx/powerpc-hardhat-linux -> /

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2000-10-24 16:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-23 20:30 HDLC/PPP Driver Julia Elbert
2000-10-24 16:27 ` pointers to ld.so.1 Ralph Blach
2000-10-24 16:43   ` Matthew Locke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).