Newbie and linux on virtex-II ppc

Grant Likely grant.likely at secretlab.ca
Mon Sep 3 23:41:35 EST 2007


On 9/3/07, schardt <g.schardt at fz-juelich.de> wrote:
> Hi Grant,
>
> i added the devices, but stil no tty access
> i have no vga-card or something to use, i'm listening on one serial
> port. i think i must forward the tty to ttyUL0 or something like that ????

You should check that /etc/inittab is using the correct device.

BTW, Please remember to CC: the mailing list

Cheers,
g.
>
> Georg
>
>
> Grant Likely wrote:
> > On 8/29/07, schardt <g.schardt at fz-juelich.de> wrote:
> >
> >> me again :)
> >>
> >> i added a /dev/ttyUL0 (mknod ttyUL0 c 204 187) device and and a console
> >> link to it.
> >>
> >
> > Yeah, you don't want a symlink, you want a console device node instead:
> >
> > mknod /dev/tty 5 0
> > mknod /dev/console 5 1
> >
> >
> >> no warning anymore, but i think i'm listen on the "wrong" console ??? i
> >> see bootmessages
> >> and an errormessage from init ("init: can't open /dev/null: no such
> >> device or directory")
> >>
> >
> > I would say you need to add a /dev/null device node, or fix it's
> > permissions.  :-)
> >
> > mknod /dev/null 1 3
> >
> >
> >> but the messages from init.d/rcS did not appear
> >>
> >> this is my inittab (from klingauf mkrootfs):
> >>
> >> ::sysinit:/etc/init.d/rcS
> >> ::askfirst:-/bin/sh
> >> ::ctrlaltdel:/sbin/reboot
> >> ::shutdown:/sbin/swapoff -a
> >> ::shutdown:/bin/umount -a -r
> >> ::restart:/sbin/init
> >> ::respawn:/sbin/getty 9600 tts/0
> >>
> >> Georg
> >>
> >> schardt wrote:
> >>
> >>> Step by step i becomes running :)
> >>>
> >>> kernel is booting, root-fs is mounting on systemace, busybox compiled
> >>> and rootfs installed (i used klingauf's mkrootfs)
> >>>
> >>> but now it says:
> >>> [    2.964978] Freeing unused kernel memory: 92k init
> >>> [    3.081332] Warning: unable to open an initial console.
> >>> [    3.306406] request_module: runaway loop modprobe binfmt-4c46
> >>> [    3.375612] request_module: runaway loop modprobe binfmt-4c46
> >>> [    3.446800] request_module: runaway loop modprobe binfmt-4c46
> >>>
> >>> and i don't know what this is :(
> >>>
> >>> Can give me a hint, where to look ?
> >>>
> >>> thx
> >>> Georg
> >>>
> >>> Grant Likely wrote:
> >>>
> >>>
> >>>> On 8/28/07, Grant Likely <grant.likely at secretlab.ca> wrote:
> >>>>
> >>>>
> >>>>
> >>>>> On 8/28/07, schardt <g.schardt at fz-juelich.de> wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>> Okay, im really blind i think, so i started again :
> >>>>>>
> >>>>>> - 2.6.22 kernel from kernel.org
> >>>>>> - cp /arch/ppc/configs/ml300_defconfig .config
> >>>>>>
> >>>>>>
> >>>>>>
> >>>> BTW, "make ml300_defconfig" does this for you.
> >>>>
> >>>> g.
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>> -----------------------------------------------------------------------------------------
> >>> -----------------------------------------------------------------------------------------
> >>> Forschungszentrum Jülich GmbH
> >>> 52425 Jülich
> >>>
> >>> Sitz der Gesellschaft: Jülich
> >>> Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
> >>> Vorsitzende des Aufsichtsrats: MinDirig'in Bärbel Brumme-Bothe
> >>> Vorstand: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv.
> >>> Vorsitzender)
> >>> -----------------------------------------------------------------------------------------
> >>> -----------------------------------------------------------------------------------------
> >>> _______________________________________________
> >>> Linuxppc-embedded mailing list
> >>> Linuxppc-embedded at ozlabs.org
> >>> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> >>>
> >>>
> >>>
> >>
> >> -----------------------------------------------------------------------------------------
> >> -----------------------------------------------------------------------------------------
> >> Forschungszentrum Jülich GmbH
> >> 52425 Jülich
> >>
> >> Sitz der Gesellschaft: Jülich
> >> Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
> >> Vorsitzende des Aufsichtsrats: MinDirig'in Bärbel Brumme-Bothe
> >> Vorstand: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv.
> >> Vorsitzender)
> >> -----------------------------------------------------------------------------------------
> >> -----------------------------------------------------------------------------------------
> >> _______________________________________________
> >> Linuxppc-embedded mailing list
> >> Linuxppc-embedded at ozlabs.org
> >> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> >>
> >>
> >
> >
> >
>
>
>
> -----------------------------------------------------------------------------------------
> -----------------------------------------------------------------------------------------
> Forschungszentrum Jülich GmbH
> 52425 Jülich
>
> Sitz der Gesellschaft: Jülich
> Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
> Vorsitzende des Aufsichtsrats: MinDirig'in Bärbel Brumme-Bothe
> Vorstand: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv.
> Vorsitzender)
> -----------------------------------------------------------------------------------------
> -----------------------------------------------------------------------------------------
>


-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195


More information about the Linuxppc-embedded mailing list