[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-ia64-devel] RE: [PATCH] fixed serial console support
On Sat, 2005-12-03 at 08:33 -0800, Magenheimer, Dan (HP Labs Fort Collins) wrote: > I actually manually removed the #ifdefs but other than > that I did the same. > > I added some debug output and initialize_keytable is > definitely getting called, as is serial_init_postirq, > however either serial_init_postirq is not returning > or serial output gets disabled... a printk I added > after the call to serial_init_postirq is not printing. > > I added some printks within serial_init_postirq. > It calls driver->init_postirq on com[0] but this > call never returns. > > More debugging: > > ns16550_init_postirq is called with port=0xf0000000040d0500, > uart->irq = 9, then serial_async_trasmit is called and > never returns. Hmm, what kind of box are you using that is setting the irq to 9? I don't have any boxes that use legacy serial interrupts, so there could be a problem there. I believe Tristan had a patch that could make legacy interrupts work. In the mean time, how about explicitly setting irq = 0 before calling ns16550_init()? ... > One possible difference: My test box has a video card > and the EFI serial input/output are set to multiple > inputs/outputs. Perhaps a bogus interrupt is getting > delivered before everything is set up to receive them? > (doubtful... it appears interrupts are off through all > of the above) Or maybe it causes a xenheap allocation > that does not occur on your system and this allocation > has some strange interaction? I have VGA on my system to, but I only have the console output set to a single device (the builtin bulkhead UART). Setting multiple input/output device is strongly not recommended. If using the old version PCDP (aka HCDP - which all currently shipping boxes use), there's no way to pick a primary console out of the table and if there is more than one, the PCDP code will give up. This is the main enhancement of PCDP vs HCDP, there is a defined primary console. I'd be curious to know where you're getting that irq 9 from through... Thanks, Alex _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ia64-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |