All of lore.kernel.org
 help / color / mirror / Atom feed
* Missing FD0 when using XEN kernel with Linux 2.6.10
@ 2005-03-12 23:36 John Kane
  0 siblings, 0 replies; 3+ messages in thread
From: John Kane @ 2005-03-12 23:36 UTC (permalink / raw)
  To: xen-devel

I've been unable to get my floppy controller working with a Xen kernel.  
When I start under a Xen kernel I get:
Floppy drive(s): fs0 is 1.44M, fd1 is 1.2M
floppy0: no floppy controllers found

If I boot to a pure linux 2.6.10 kernel I get:
Floppy drive(s): fs0 is 1.44M, fd1 is 1.2M
FDC 0 is a post-1991 82077

I had this issue with 2.0.4 (that's when I started using Xen) and am now 
using 2.0.5 with the same results.  I'm building from the Xen source with 
cutsom linux 2.6 kernel configs for Dom0 and DomU.  For reference, the 
motherboard is an Intel 440BX and I do have a 1.2M 5.25 inch drive as FD1.  
Any ideas?  Thanks.

John Kane




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Missing FD0 when using XEN kernel with Linux 2.6.10
  2005-03-13 10:44 Ian Pratt
@ 2005-03-13 12:06 ` Keir Fraser
  0 siblings, 0 replies; 3+ messages in thread
From: Keir Fraser @ 2005-03-13 12:06 UTC (permalink / raw)
  To: Ian Pratt; +Cc: John Kane, ian.pratt, xen-devel


On 13 Mar 2005, at 10:44, Ian Pratt wrote:

> We currently don't have support for ISA DMA, which the legacy floppy
> driver (as opposed to USB floppy) requires.

We can access floppy drives using PIO, and I modified floppy.h in 
asm-xen to do this some time ago. So I'm not sure why the OP's 
controller isn't detected --- adding tracing to drivers/block/floppy.c 
may help narrow down the problem.

  -- Keir



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Missing FD0 when using XEN kernel with Linux 2.6.10
@ 2005-03-13 10:44 Ian Pratt
  2005-03-13 12:06 ` Keir Fraser
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Pratt @ 2005-03-13 10:44 UTC (permalink / raw)
  To: John Kane, xen-devel; +Cc: ian.pratt

 
> I've been unable to get my floppy controller working with a 
> Xen kernel.  
> When I start under a Xen kernel I get:
> Floppy drive(s): fs0 is 1.44M, fd1 is 1.2M
> floppy0: no floppy controllers found

We currently don't have support for ISA DMA, which the legacy floppy
driver (as opposed to USB floppy) requires. 

Not sure how best to fix this. We could rejig the memory layout to give
dom0 the bottom 16MB (as opposed to its current bottom 1MB), or
alternatively perhaps it would be sufficient to build an isa dma zone
out of free pages in the bottom 1MB.

Perhaps someone who cares about ISA DMA support could volunteer? I
personally haven't used a floppy in years...

Ian
 
> If I boot to a pure linux 2.6.10 kernel I get:
> Floppy drive(s): fs0 is 1.44M, fd1 is 1.2M
> FDC 0 is a post-1991 82077
> 
> I had this issue with 2.0.4 (that's when I started using Xen) 
> and am now 
> using 2.0.5 with the same results.  I'm building from the Xen 
> source with 
> cutsom linux 2.6 kernel configs for Dom0 and DomU.  For 
> reference, the 
> motherboard is an Intel 440BX and I do have a 1.2M 5.25 inch 
> drive as FD1.  
> Any ideas?  Thanks.
> 
> John Kane
> 
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from 
> real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel
> 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-03-13 12:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-12 23:36 Missing FD0 when using XEN kernel with Linux 2.6.10 John Kane
2005-03-13 10:44 Ian Pratt
2005-03-13 12:06 ` Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.