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

Re: [Xen-devel] [PATCH] xencons missing string allocation



Le Vendredi 09 DÃcembre 2005 19:37, Alex Williamson a Ãcrit :
>    I was trying to boot dom0 w/ "xencons=ttyS1 console=ttyS1".  It gives
> some weird error messages:
>
> Warning: dev (ttyS2) tty->count(2) != #fd's(1) in release_dev
> Warning: dev (ttyS2) tty->count(3) != #fd's(1) in tty_open
>
> And blows up with a page fault.  The page fault is because we don't
> actually allocate a buffer for the tty driver name.  The patch below
> fixes that problem.  Using xencons=ttyS1 still doesn't quite work and
> prints lots of the above error messages, but at least it doesn't crash
> dom0 now.  Patch vs xen-unstable.hg.  Thanks,
Why not using a static buffer ?

Tristan.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.