Re: Sync error across tty->count update

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

 



Hi Peter,

Thanks for your reply.

On 07/12/2015:06:54:13 AM, peter@xxxxxxxxxxxxxxxxxx wrote:
> 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?

Its amba-pl011.

> What device is stdin/stdout?

stdin is not being used in this case. stdout is again serial console
(amba-pl011). However, if I replace "exec &> /dev/console" with "echo test >
/dev/console", then also it gets same error. 

> When do you observe this failure?

During a early systemd service called after init.

I observe this during kdump operation on seattle platform. When primary kernel
crashes, kdump loads a secondary kernel and initramfs which copies vmcore(memory
dump of failed kernel) to the disk for further analysis. It initializes some
systemd services before starting vmcore copy. One of the early systemd service,
sets up (mainly) STDOUT to /dev/console, so that copy operation message can be
viewed. And this operation fails.

Regards
Pratyush
--
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