All of lore.kernel.org
 help / color / mirror / Atom feed
* sh: tcsetpgrp: Inappropriate ioctl for device
@ 2002-07-11 13:18 Billalabeitia, Jose Carlos (IndSys, GEPM)
  2002-07-11 13:38 ` Wolfgang Denk
  2002-07-12 13:31 ` Marius Groeger
  0 siblings, 2 replies; 3+ messages in thread
From: Billalabeitia, Jose Carlos (IndSys, GEPM) @ 2002-07-11 13:18 UTC (permalink / raw)
  To: linuxppc-embedded


Hi everybody:

	I have a custom board with kernel 2-4-4-2002-02-14 from
denx and busybox 0.51. Every time an script is executed in
the console I get the message:

	"sh: tcsetpgrp: Inappropriate ioctl for device"

It doesn´t happen when the script is executed from a telnet
session. This is not harmful for the script but it´s very annoying.
Can anyone out there tell me how I can eliminate this message.

					Thanks
						Billa

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

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

* Re: sh: tcsetpgrp: Inappropriate ioctl for device
  2002-07-11 13:18 sh: tcsetpgrp: Inappropriate ioctl for device Billalabeitia, Jose Carlos (IndSys, GEPM)
@ 2002-07-11 13:38 ` Wolfgang Denk
  2002-07-12 13:31 ` Marius Groeger
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2002-07-11 13:38 UTC (permalink / raw)
  To: Billalabeitia, Jose Carlos (IndSys,     GEPM); +Cc: linuxppc-embedded


Hello,

in message <A1C99F4731CAD111BA5400A024FC3B0CCD0938@ESBILMA01EDCGE> you wrote:
>
> 	I have a custom board with kernel 2-4-4-2002-02-14 from
> denx and busybox 0.51. Every time an script is executed in
> the console I get the message:
>
> 	"sh: tcsetpgrp: Inappropriate ioctl for device"
>
> It doesn´t happen when the script is executed from a telnet
> session. This is not harmful for the script but it´s very annoying.
> Can anyone out there tell me how I can eliminate this message.

Use a more recent version of busybox.

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Monday is an awful way to spend one seventh of your life.

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

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

* Re: sh: tcsetpgrp: Inappropriate ioctl for device
  2002-07-11 13:18 sh: tcsetpgrp: Inappropriate ioctl for device Billalabeitia, Jose Carlos (IndSys, GEPM)
  2002-07-11 13:38 ` Wolfgang Denk
@ 2002-07-12 13:31 ` Marius Groeger
  1 sibling, 0 replies; 3+ messages in thread
From: Marius Groeger @ 2002-07-12 13:31 UTC (permalink / raw)
  To: Billalabeitia, Jose Carlos (IndSys, GEPM); +Cc: linuxppc-embedded


On Thu, 11 Jul 2002, Billalabeitia, Jose Carlos (IndSys, GEPM) wrote:

> busybox 0.51. Every time an script is executed in
> the console I get the message:
>
> 	"sh: tcsetpgrp: Inappropriate ioctl for device"

Edit the lash source. AFAIK there are 4 locations with that perror().
My memory is a little bit (well, very) fuzzy on this, but I recall
that you can safely ignore this error and comment out those perrors().

BTW, the lash shell in this version is indeed somewhat "lame". You may
want to try a more current version of BusyBox. It comes with a total
of 4 shells to choose from, some also including bourne shell control
statements.

Regards
Marius

-----------------------------------------------------------------------------
Marius Groeger           SYSGO Real-Time Solutions GmbH     mgroeger@sysgo.de
Software Engineering     Embedded and Real-Time Software    www.sysgo.de
Voice: +49-6136-9948-0   Am Pfaffenstein 14                 www.osek.de
FAX:   +49-6136-9948-10  55270 Klein-Winternheim, Germany   www.elinos.com


** 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:[~2002-07-12 13:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-11 13:18 sh: tcsetpgrp: Inappropriate ioctl for device Billalabeitia, Jose Carlos (IndSys, GEPM)
2002-07-11 13:38 ` Wolfgang Denk
2002-07-12 13:31 ` Marius Groeger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.