[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: sh: can't open '/dev/console' msg when exiting from a program with exit(1)
From:       Eial Czerwacki <eial () scalemp ! com>
Date:       2012-04-30 9:26:45
Message-ID: 4F9E5AD5.2080808 () scalemp ! com
[Download RAW message or body]

I'll see what I can do, thanks for the help.

Eial.

On 04/29/2012 05:37 PM, ralda@gmx.de wrote:

> Hi Eial !
> 
>> On 04/25/2012 12:17 PM, ralda@gmx.de wrote:
>>
>>> That doesn't seem to be enough for diagnosing your issue. Give your
>>> script that fails and describe what your application does. Try to
>>> catch an strace output of your trouble, which may show up at which
>>> place the failing open of /dev/console is done. Without that
>>> information your are asking for help without giving others the
>>> possibility to give tips how to manage that trouble. I do neither
>>> have an environment to reproduce your error nor do I know any
>>> detail of your system, and IMO most others here too.
>>
>>
>> let stay with the original problem, how can I debug this issue?
> 
> This is, what I told you above.
> 
> How shall I (or others) be able to help you, when you do not give the
> required information for diagnosing your problem. Or in other words ...
> 
> ... give a reproduceable example of your problem alongside more
> information of your environment. In addition try to catch and post an
> strace output of your problem (the easiest way to catch such kinds of
> problems).
> 
> With those informations I or others may be able to diagnose your problem
> or give tips on how to narrow down your search.
> 
> 
>> why when I use major 5, minor 1 I get the error msg and when I use
>> minor 2, I don't get that error msg?
> 
> One possible explanation for this: If you use major 5, minor 1 you
> connect to the console which give your system the possibility to show
> up a message of a problem. A message which may be wrong or lead to
> wrong assumption but tells at least there is a problem. If you use major
> 5, minor 2 you connect to /dev/ptmx and the error message is send to a
> destination which can't be viewed. So not seeing an error message with
> major 5, minor 2 does not mean there is no error ... that's what I
> guess, purely guess as you did not give enough information for real
> diagnosis !
> 
> --
> Harald
> 


_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic