Re: hvc_console change results in corrupt oops output

2011-07-05 Thread Tabi Timur-B04825
Benjamin Herrenschmidt wrote: > That is a fun conclusion considering that hvc has been written for the > pseries hypervisor which ... can return BUSY on writes :-) Go read the original thread. The problem is that tty writes and console writes are treated the same by the hvc client driver. If a

Re: hvc_console change results in corrupt oops output

2011-07-04 Thread Benjamin Herrenschmidt
On Tue, 2011-07-05 at 04:17 +, Tabi Timur-B04825 wrote: > On Mon, Jul 4, 2011 at 9:24 AM, Hendrik Brueckner > wrote: > > > I will check this again for my hvc_iucv back-end. Meanwhile a found > > an old thread discussing the same issue. It covers some differences > > between console and ttys

Re: hvc_console change results in corrupt oops output

2011-07-04 Thread Tabi Timur-B04825
On Mon, Jul 4, 2011 at 9:24 AM, Hendrik Brueckner wrote: > I will check this again for my hvc_iucv back-end.  Meanwhile a found > an old thread discussing the same issue.  It covers some differences > between console and ttys which actually does not matter for hvc-backend > because of the shared

Re: hvc_console change results in corrupt oops output

2011-07-04 Thread Hendrik Brueckner
On Mon, Jul 04, 2011 at 11:56:27PM +1000, Benjamin Herrenschmidt wrote: > On Mon, 2011-07-04 at 20:57 +1000, Anton Blanchard wrote: > > .../... > > > The hypervisor gives us a busy return, so we could retry a number of > > times instead of dropping it on the floor. We'd need to do it in the > >

Re: hvc_console change results in corrupt oops output

2011-07-04 Thread Benjamin Herrenschmidt
On Mon, 2011-07-04 at 20:57 +1000, Anton Blanchard wrote: .../... > The hypervisor gives us a busy return, so we could retry a number of > times instead of dropping it on the floor. We'd need to do it in the > hvc_console driver - the tty drivers share the same backend > functions so we can't hi

hvc_console change results in corrupt oops output

2011-07-04 Thread Anton Blanchard
Hi, We've been struggling to debug a hang on a large ppc64 box. Every time we collect oops output there are pieces of the oops output missing and in some cases entire CPUs are missing. Eventually I realised the hvc_console driver is dropping characters. The commit that caused this is: commit 3