Great, thanks!

It's great to know that lrp is simply a tgz. I never knew that!  That
certainly helps.

Ricardo

----- Original Message ----- 
From: "Eric Spakman" <[EMAIL PROTECTED]>
To: "Ricardo Kleemann" <[EMAIL PROTECTED]>
Cc: "Charles Steinkuehler" <[EMAIL PROTECTED]>;
<[email protected]>
Sent: Tuesday, February 28, 2006 7:13 AM
Subject: Re: [leaf-user] Re: Bering uClibc on a serial console


> Hello Ricardo,
>
> You can use the following "trick" if you have a linux PC:
> rename etc.lrp to etc.tar.gz
> unpack etc.tar.gz to a temp directory
> edit etc/inittab
> repack by doing "tar -c * | gzip -9 >etc.lrp" from within the temp
directory.
>
> Eric
>
>
> > Thanks Eric,
> >
> >
> > So I guess my next question is... how do I edit inittab, if it is in an
> > lrp? I have a chicken-and-egg situation
> >
> >
> > What I mean is, if I can't even login to the box (since the getty is not
> > enabled) how do I alter inittab.
> >
> > Is there an lrp available that already has the ttyS0 getty enabled? Is
it
> >  the etc.lrp that needs to be modified?
> >
> > Ricardo
> >
> >
> > ----- Original Message -----
> > From: "Eric Spakman" <[EMAIL PROTECTED]>
> > To: "Charles Steinkuehler" <[EMAIL PROTECTED]>
> > Cc: "Ricardo Kleemann" <[EMAIL PROTECTED]>;
> > <[EMAIL PROTECTED]>; <[email protected]>
> > Sent: Tuesday, February 28, 2006 6:41 AM
> > Subject: Re: [leaf-user] Re: Bering uClibc on a serial console
> >
> >
> >
> >> Hello Ricardo,
> >>
> >>
> >> Every Bering-uClibc kernel have serial support compiled in, but you
> >> have to make sure you enable a getty on /dev/ttyS0 in /etc/inittab.
> >>
> >> In other words uncomment:
> >> T0:23:respawn:/sbin/getty -L ttyS0 19200 vt100
> >>
> >>
> >> You can comment the following lines:
> >> #1:2345:respawn:/sbin/getty 38400 tty1
> >> #2:23:respawn:/sbin/getty 38400 tty2
> >>
> >>
> >> Eric
> >>
> >>
> >>>
> >>> Ricardo Kleemann wrote:
> >>>
> >>>
> >>>> Hi,
> >>>>
> >>>>
> >>>>
> >>>> I'm trying to install Bering uClibc on a net4501. It boots up but
> >>>> the problem I'm having is that it is not opening up a serial console
> >>>>  connection. It attempts to open up /dev/tty1 and /dev/tty2, which
> >>>> fail (as expected),
> >>>> but it won't open up /dev/ttyS0
> >>>>
> >>>> I have another net4501 working with an older version of Bering, but
> >>>>  this one isn't working for some reason.
> >>>>
> >>>> I have added this in my syslinux.cfg:
> >>>>
> >>>>
> >>>>
> >>>> append console=ttyS0,19200 nodma=hda ide=nodma
> >>>>
> >>>> (which is what I have in my other net4501 system)
> >>>>
> >>>>
> >>>>
> >>>> But still, it doesn't open up ttyS0.
> >>>>
> >>>>
> >>>>
> >>>> Do you know what could be wrong, or can you point me to someone
> >>>> that might be able to help me out?
> >>>
> >>> Please direct requests for support to the leaf-user mailing list.
> >>>
> >>>
> >>>
> >>> For the comsole=ttyS0 kernel command line to work properly, you have
> >>> to have serial support compiled into the kernel.  Make sure the kernel
> >>> you
> > are
> >>> using has serial support compiled in, not compiled as a module.
> >>>
> >>> I'm not familiar enough with the Bering kernels to know which (if
> >>> any) have serial support compiled in.
> >>>
> >>> - --
> >>> Charles Steinkuehler
> >>> [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG
> >>> v1.4.0 (MingW32) Comment: Using GnuPG with Mozilla -
> >>> http://enigmail.mozdev.org
> >>>
> >>>
> >>>
> >>> iD8DBQFEBEQpLywbqEHdNFwRAvF8AJ9Lfatkna2Yw5elinNywui2af71vACgv3xJ
> >>> 32xQEHMMfQJVc1yY3o/WOAc=
> >>> =hjOC
> >>> -----END PGP SIGNATURE-----
> >>>
> >>>
> >>>
> >>>
> >>> -------------------------------------------------------
> >>> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> >>> language that extends applications into web and mobile media. Attend
> >>> the live webcast and join the prime developer group breaking into this
> >>> new coding territory!
> >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121
> >>> 642
> >>> ----------------------------------------------------------------------
> >>> --
> >>> leaf-user mailing list: [email protected]
> >>> https://lists.sourceforge.net/lists/listinfo/leaf-user
> >>> Support Request -- http://leaf-project.org/
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >
> >
>
>
>



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to