linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* LinuxPPC2000 on MPC860
@ 2000-02-24 10:01 Ruedi.Hofer
  2000-02-25 12:38 ` Marcus Sundberg
  0 siblings, 1 reply; 6+ messages in thread
From: Ruedi.Hofer @ 2000-02-24 10:01 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: TEXT/PLAIN, Size: 865 bytes --]

Hi

I recently donwloaded the LinuxPPC_2000_lite CD from the LinuxPPC.com page.

Included in this distribution are the libc6 libs, of which I thought, would be nice to have
on my embedded ADS860.
(Having these libs running on my board, I would be able to cross build an application using
shared libs. So far I have libc5 on my PPC target, but cross libc6 on my i386 host)

Unfortunately, right after booting the kernel, it hangs in an infinite loop. I guess that loading
ld.so fails.... (Just a guess, don't know how to debug that.)


Questions:

1. Did someone try LinuxPPC 2000 on MPC860? experience??

2. Should this libc6 work theoretically on MPC860?

3. Does the kernel know something about the dyn. linker ld? Do I have to recompile or
    patch the kernel??

4. Does someone have the cross compiler for the old libc5 ready on the i386 host?

Cheers, Ruedi


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

* Re: LinuxPPC2000 on MPC860
@ 2000-02-24 11:59 Ruedi.Hofer
  2000-02-25  0:59 ` dony
  0 siblings, 1 reply; 6+ messages in thread
From: Ruedi.Hofer @ 2000-02-24 11:59 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: TEXT/PLAIN, Size: 666 bytes --]

Some further info.

I'm right now using the ramdisk.image.gz from the LinuxPPC-2000-lite cdrom
as nfs mounted rootdisk. (I installed the ramdisk on the PC)

Like that I get an error message right after the kernel has booted:

>...
>Looking up port of RPC 100003/2 on 10.1.20.2
>Looking up port of RPC 100005/1 on 10.1.20.2
>VFS: Mounted root (NFS filesystem) readonly.
>Freeing unused kernel memory: 32k init
>tty_io.c: process 1 (swapper) used obsolete /dev/cua0 - update software to use /dev/ttyS0

I found out that the kernel generates this error message in drivers/char/tty_io.c .

Does someone know what this error message means? How to avoid it?

TIA, Ruedi



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

* Re: LinuxPPC2000 on MPC860
  2000-02-24 11:59 LinuxPPC2000 on MPC860 Ruedi.Hofer
@ 2000-02-25  0:59 ` dony
  2000-02-25  4:00   ` Pavel Roskin
  0 siblings, 1 reply; 6+ messages in thread
From: dony @ 2000-02-25  0:59 UTC (permalink / raw)
  To: Ruedi.Hofer; +Cc: linuxppc-embedded




Ruedi.Hofer@ascom.ch wrote:

> Some further info.
>
> I'm right now using the ramdisk.image.gz from the LinuxPPC-2000-lite cdrom
> as nfs mounted rootdisk. (I installed the ramdisk on the PC)
>
> Like that I get an error message right after the kernel has booted:
>
> >...
> >Looking up port of RPC 100003/2 on 10.1.20.2
> >Looking up port of RPC 100005/1 on 10.1.20.2
> >VFS: Mounted root (NFS filesystem) readonly.
> >Freeing unused kernel memory: 32k init
> >tty_io.c: process 1 (swapper) used obsolete /dev/cua0 - update software to use /dev/ttyS0
>
> I found out that the kernel generates this error message in drivers/char/tty_io.c .
>
> Does someone know what this error message means? How to avoid it?

Hi, Ruedi,

       Check you nfs root file, and make sure that the "/dev/console" is a symbol link to
"/dev/ttyS0", instead of "/dev/cua0" .
      Please tell me if this helps.
      dony


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

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

* Re: LinuxPPC2000 on MPC860
  2000-02-25  0:59 ` dony
@ 2000-02-25  4:00   ` Pavel Roskin
  0 siblings, 0 replies; 6+ messages in thread
From: Pavel Roskin @ 2000-02-25  4:00 UTC (permalink / raw)
  To: dony; +Cc: Ruedi.Hofer, linuxppc-embedded


Hello!

> > >tty_io.c: process 1 (swapper) used obsolete /dev/cua0 - update software to use /dev/ttyS0
> >
> > I found out that the kernel generates this error message in drivers/char/tty_io.c .
> >
> > Does someone know what this error message means? How to avoid it?

It's a bug in the kernel. Workaround is to make /dev/console a symlink

>        Check you nfs root file, and make sure that the "/dev/console" is a symbol link to
> "/dev/ttyS0", instead of "/dev/cua0" .

Actually /dev/console should not be a symlink.
It's a character device, major 5, minor 1 on every decent system.

Pavel Roskin


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

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

* Re: LinuxPPC2000 on MPC860
       [not found] <0FQH0010T6SWW5@pmdf-it.hasler.ascom.ch>
@ 2000-02-25 12:35 ` Marcus Sundberg
  0 siblings, 0 replies; 6+ messages in thread
From: Marcus Sundberg @ 2000-02-25 12:35 UTC (permalink / raw)
  To: Ruedi.Hofer; +Cc: linuxppc-embedded


Ruedi.Hofer@ascom.ch writes:

> Changing the following values from
>
> >linux01:/usr/nfs/tftpboot/dev # l cua0 console ttyS0
> >crw-------   1 root     tty        5,   1 Feb 25 08:18 console
> >crw-------   1 root     tty        5,  64 Feb 25 08:05 cua0
> >crw-------   1 root     tty        4,  64 Feb 23 11:44 ttyS0
>
> to
>
> >linux01:/usr/nfs/tftpboot/dev # l cua0 console ttyS0
> >crw-------   1 root     tty        4,  64 Feb 25 08:26 console
> >crw-------   1 root     tty        4,  64 Feb 25 08:26 cua0
> >crw-------   1 root     tty        4,  64 Feb 23 11:44 ttyS0
>
> or to
>
> >linux01:/usr/nfs/tftpboot/dev # l cua0 console ttyS0
> >lrwxrwxrwx   1 root     root            5 Feb 25 08:29 console -> ttyS0
> >lrwxrwxrwx   1 root     root            5 Feb 25 08:29 cua0 -> ttyS0
> >crw-------   1 root     tty        4,  64 Feb 23 11:44 ttyS0
>
> didn't help, unfortunately. Only the first (and original) setting produced
> an output at all!

The first version is the only correct one.
The "tty_io.c: process 1 (swapper) used obsolete /dev/cua0 - update software to use /dev/ttyS0"
is a non-harmful bug in uart.c. Just ignore it or change the first
occurence of TTYAUX_MAJOR to TTY_MAJOR.

> Does someone know where the initial stdin, stdout settings are configured??

They point to /dev/console, which is your boot-console.

> The /dev/stdin points somewhere to /proc/self/fd/0. At this time of boot, /proc
> is not mounted yet !!!

/dev/stdin, /dev/stdout and /dev/stderr doesn't have anything to do
with anything.

//Marcus
--
Signature under construction, please come back later.

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

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

* Re: LinuxPPC2000 on MPC860
  2000-02-24 10:01 Ruedi.Hofer
@ 2000-02-25 12:38 ` Marcus Sundberg
  0 siblings, 0 replies; 6+ messages in thread
From: Marcus Sundberg @ 2000-02-25 12:38 UTC (permalink / raw)
  To: Ruedi.Hofer; +Cc: linuxppc-embedded


Ruedi.Hofer@ascom.ch writes:

> Questions:
>
> 1. Did someone try LinuxPPC 2000 on MPC860? experience??
>
> 2. Should this libc6 work theoretically on MPC860?

No, stock glibc does not work on embedded CPUs. Check the list archive.

> 3. Does the kernel know something about the dyn. linker ld? Do I have to recompile or
>     patch the kernel??

Not because of anything related to dynamic linking.

//Marcus
--
Signature under construction, please come back later.

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

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

end of thread, other threads:[~2000-02-25 12:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-24 11:59 LinuxPPC2000 on MPC860 Ruedi.Hofer
2000-02-25  0:59 ` dony
2000-02-25  4:00   ` Pavel Roskin
     [not found] <0FQH0010T6SWW5@pmdf-it.hasler.ascom.ch>
2000-02-25 12:35 ` Marcus Sundberg
  -- strict thread matches above, loose matches on Subject: below --
2000-02-24 10:01 Ruedi.Hofer
2000-02-25 12:38 ` Marcus Sundberg

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).