* RE: RAMDISK IMAGES(2): ash has no job control ??? ... can't acces s tt y; job control turned off
@ 2003-01-12 19:34 James Don
2003-01-12 20:19 ` Wolfgang Denk
0 siblings, 1 reply; 6+ messages in thread
From: James Don @ 2003-01-12 19:34 UTC (permalink / raw)
To: 'Der Herr Hofrat'; +Cc: 'linuxppc-embedded@lists.linuxppc.org'
Thanks,
But that's not it ... I just checked that BB_FEATURE_ASH_JOB_CONTROL is
compiled in ... I think problem may be:
When it says " can't access tty" ... maybe it should say ttyS00 because "
ttyS00 at 0x0280 is a SMC" on my mpc860 ... I will have to keep digging ;-)
Jim
-----Original Message-----
From: Der Herr Hofrat [mailto:der.herr@mail.hofr.at]
Sent: Sunday, January 12, 2003 2:25 PM
To: James Don
Cc: 'linuxppc-embedded@lists.linuxppc.org'
Subject: Re: RAMDISK IMAGES(2): ash has no job control ??? ... can't access
tt y; job control turned off
>
> Hi,
>
> I am looking at a ramdisk image ... I am curious if anyone could give me a
> tip as to why when my bash starts I have no "job contol" (ctrl-z etc) ...
se
> below ...
>
> BusyBox v0.60.5 (2003.01.09-00:51+0000) Built-in shell (ash)
busybox builtin shell has no job control by default - for ash you have to
enable it at compile time.
hofrat
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RAMDISK IMAGES(2): ash has no job control ??? ... can't acces s tt y; job control turned off
2003-01-12 19:34 James Don
@ 2003-01-12 20:19 ` Wolfgang Denk
0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2003-01-12 20:19 UTC (permalink / raw)
To: James Don; +Cc: 'linuxppc-embedded@lists.linuxppc.org'
In message <DB0585C9F6F9D411BE8F00D0B7896A4CC06038@SNCMAIL> you wrote:
>
> When it says " can't access tty" ... maybe it should say ttyS00 because "
> ttyS00 at 0x0280 is a SMC" on my mpc860 ... I will have to keep digging ;-)
There is no /dev/ttyS00. The correct name is /dev/ttyS0.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
My challenge to the goto-less programmer is to recode tcp_input()
without any gotos ... without any loss of efficiency (there has to be
a catch). - W. R. Stevens
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RAMDISK IMAGES(2): ash has no job control ??? ... can't acces s tt y; job control turned off
[not found] <DB0585C9F6F9D411BE8F00D0B7896A4CC0603B@SNCMAIL>
@ 2003-01-12 22:39 ` Wolfgang Denk
0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2003-01-12 22:39 UTC (permalink / raw)
To: James Don; +Cc: linuxppc-embedded
In message <DB0585C9F6F9D411BE8F00D0B7896A4CC0603B@SNCMAIL> you wrote:
>
> 2.) I added line "ttyS1::askfirst:-/bin/sh" to inittab ... and I get
> "Bummer, can't open /dev/ttyS1" ... which was funny enough to make me blow
> coffee out my nose ... whats this tty normally used for?
It is you who defines the use of the serial ports on your board - we
cannot answer this question.
> 3.) I added line "ttyS0::askfirst:-/bin/sh" to inittab ... and that seems to
> work ...
>
> Three leads to a question ... here it is ...
>
> Should I change 'libbb.h' to open /dev/ttyS0 instead of ttyS ... see line
You probably don't want to make your ramdisk image dependend on a
specific board / tty use.
If you look closer at our ELDK you will find that it contains a small
modification to "login" (calling of TIOCSCTTY ioctl) which was
necessary to allow for using /dev/console as the default serial
console device specified in inittab. See the
build/target_rpms/util-linux/SOURCES/login-eldk.patch
file in the ELDK build environment.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
Nothing in progression can rest on its original plan. We may as well
think of rocking a grown man in the cradle of an infant.
- Edmund Burke
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: RAMDISK IMAGES(2): ash has no job control ??? ... can't acces s tt y; job control turned off
@ 2003-01-13 14:57 James Don
2003-01-13 15:19 ` Wolfgang Denk
0 siblings, 1 reply; 6+ messages in thread
From: James Don @ 2003-01-13 14:57 UTC (permalink / raw)
To: 'Wolfgang Denk'; +Cc: linuxppc-embedded
Cool I will look into that tonight...
As always thank you!!!
Jim
Ps I have SELF and ELDK downloaded ... but never installed ELDK ... should
the patch be in SELF (it seems not to be)?
-----Original Message-----
From: Wolfgang Denk [mailto:wd@denx.de]
Sent: Sunday, January 12, 2003 5:40 PM
To: James Don
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: RAMDISK IMAGES(2): ash has no job control ??? ... can't acces s
tt y; job control turned off
In message <DB0585C9F6F9D411BE8F00D0B7896A4CC0603B@SNCMAIL> you wrote:
>
> 2.) I added line "ttyS1::askfirst:-/bin/sh" to inittab ... and I get
> "Bummer, can't open /dev/ttyS1" ... which was funny enough to make me blow
> coffee out my nose ... whats this tty normally used for?
It is you who defines the use of the serial ports on your board - we
cannot answer this question.
> 3.) I added line "ttyS0::askfirst:-/bin/sh" to inittab ... and that seems
to
> work ...
>
> Three leads to a question ... here it is ...
>
> Should I change 'libbb.h' to open /dev/ttyS0 instead of ttyS ... see line
You probably don't want to make your ramdisk image dependend on a
specific board / tty use.
If you look closer at our ELDK you will find that it contains a small
modification to "login" (calling of TIOCSCTTY ioctl) which was
necessary to allow for using /dev/console as the default serial
console device specified in inittab. See the
build/target_rpms/util-linux/SOURCES/login-eldk.patch
file in the ELDK build environment.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
Nothing in progression can rest on its original plan. We may as well
think of rocking a grown man in the cradle of an infant.
- Edmund Burke
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RAMDISK IMAGES(2): ash has no job control ??? ... can't acces s tt y; job control turned off
2003-01-13 14:57 James Don
@ 2003-01-13 15:19 ` Wolfgang Denk
0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2003-01-13 15:19 UTC (permalink / raw)
To: James Don; +Cc: linuxppc-embedded
In message <DB0585C9F6F9D411BE8F00D0B7896A4CC0603E@SNCMAIL> you wrote:
>
> Ps I have SELF and ELDK downloaded ... but never installed ELDK ... should
> the patch be in SELF (it seems not to be)?
As mentioned before, the ELDK includes a modified (newer) version of
SELF, which is based on binaries already available in the ELDK. So it
uses the standard login binary, which includes the patch.
The SELF image can be found in /opt/eldk/<cpu_type>/images/ ; it
installs from the SELF RPM.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
It is not best to swap horses while crossing the river.
- Abraham Lincoln
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: RAMDISK IMAGES(2): ash has no job control ??? ... can't acces s tt y; job control turned off
@ 2003-01-14 1:00 James Don
0 siblings, 0 replies; 6+ messages in thread
From: James Don @ 2003-01-14 1:00 UTC (permalink / raw)
To: 'Wolfgang Denk', James Don; +Cc: linuxppc-embedded
Hi,
Just went to look at your ELDK ... seems the rpms don't have patch in them
... which package as the source code for the build?
I tried these ... but looks like there is only binaries in them ...
util-linux-ppc_8xx-2.11f-17.ppc.rpm
SELF-ppc_8xx-1.0-1.ppc.rpm
Jim
-----Original Message-----
From: Wolfgang Denk [mailto:wd@denx.de]
Sent: Sunday, January 12, 2003 5:40 PM
To: James Don
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: RAMDISK IMAGES(2): ash has no job control ??? ... can't acces s
tt y; job control turned off
In message <DB0585C9F6F9D411BE8F00D0B7896A4CC0603B@SNCMAIL> you wrote:
>
> 2.) I added line "ttyS1::askfirst:-/bin/sh" to inittab ... and I get
> "Bummer, can't open /dev/ttyS1" ... which was funny enough to make me blow
> coffee out my nose ... whats this tty normally used for?
It is you who defines the use of the serial ports on your board - we
cannot answer this question.
> 3.) I added line "ttyS0::askfirst:-/bin/sh" to inittab ... and that seems
to
> work ...
>
> Three leads to a question ... here it is ...
>
> Should I change 'libbb.h' to open /dev/ttyS0 instead of ttyS ... see line
You probably don't want to make your ramdisk image dependend on a
specific board / tty use.
If you look closer at our ELDK you will find that it contains a small
modification to "login" (calling of TIOCSCTTY ioctl) which was
necessary to allow for using /dev/console as the default serial
console device specified in inittab. See the
build/target_rpms/util-linux/SOURCES/login-eldk.patch
file in the ELDK build environment.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
Nothing in progression can rest on its original plan. We may as well
think of rocking a grown man in the cradle of an infant.
- Edmund Burke
** 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:[~2003-01-14 1:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <DB0585C9F6F9D411BE8F00D0B7896A4CC0603B@SNCMAIL>
2003-01-12 22:39 ` RAMDISK IMAGES(2): ash has no job control ??? ... can't acces s tt y; job control turned off Wolfgang Denk
2003-01-14 1:00 James Don
-- strict thread matches above, loose matches on Subject: below --
2003-01-13 14:57 James Don
2003-01-13 15:19 ` Wolfgang Denk
2003-01-12 19:34 James Don
2003-01-12 20:19 ` Wolfgang Denk
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).