qemu-maemo: beagle model hangs if kernel tries to access NAND via prefetch/dma
Bug #645311 reported by
Peter Maydell
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu-maemo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If you try to access the NAND devices in qemu-maemo's beagle model:
# dd if=/dev/mtd1 of=/dev/null bs=4096 count=1
this will hang, because the Linux mtd driver will default to trying to use prefetch and DMA to access the NAND, and hw/omap_gpmc.c is full of TODO comments regarding the prefetch control registers.
If you tell the kernel to use neither prefetch nor DMA (which you can do I think with a command line option and which I did by fiddling with the kernel variables in gdb :)) then access to the mtd devices works fine via the slow path.
Changed in qemu-maemo: | |
status: | New → Fix Released |
To post a comment you must log in.
Paul Larson points out in bug 652544 that recent images (eg 20100930) now try to access the NAND on startup, so they hang. That makes this more urgent...