Re: Sync error across tty->count update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Pratyush,

> On Dec 7, 2015, at 3:50 AM, Pratyush Anand <panand@xxxxxxxxxx> wrote:
> 
> Hi tty experts,
> 
> One of of our application (related to kdump) is failing because of a kernel
> change in tty layer. It fails to start "Kdump Vmcore Save Service" because it is
> not able to redirect all standard input/output messages to console (exec &>
> /dev/console).

What device is /dev/console?
What device is stdin/stdout?
When do you observe this failure?

Regards,
Peter Hurley

> git bisect shows that "79c1faa4511e tty: Remove
> tty_wait_until_sent_from_close()" is the first bad commit. However, reverting
> only this patch on top of v4.4-rc3 does not help. Some basic debugging of tty
> driver shows that tty_reopen() fails with -EIO (tty->count was 0), when the
> problem arises. 
> 
> Please, let me know if you see a reason for this failure.
> 
> Thanks
> 
> ~Pratyush
> 
> PS: Please keep me in cc, as I am not subscribed to linux-serial mailing list
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux