John Kane
2005-Mar-12 23:36 UTC
[Xen-devel] Missing FD0 when using XEN kernel with Linux 2.6.10
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Ian Pratt
2005-Mar-13 10:44 UTC
RE: [Xen-devel] Missing FD0 when using XEN kernel with Linux 2.6.10
> 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 foundWe 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_id396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Keir Fraser
2005-Mar-13 12:06 UTC
Re: [Xen-devel] Missing FD0 when using XEN kernel with Linux 2.6.10
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Keir Fraser
2005-Mar-20 09:45 UTC
[Xen-devel] Re: [FIXED] Missing FD0 when using XEN kernel with Linux 2.6.10
> 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.This is now fixed in 2.0-testing and unstable. Thanks for the tracing you sent me, John. It turns out that when I fixed floppy.h for Xen, I mis-transcribed port 0x3f0 as 0x340 so we were trying to talk to the primary controller at the wrong I/O address and got no response. -- 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel