Skip to contentSkip to conversation

qemu/hw ide.c

Qemu-devel Fabrice Bellard 3 participants 3 messages Aug 7, 2006 – Oct 27, 2006

lore
Share & tools
lore
#1 lore raw

In article <[email protected]> you write:

Quoted 9 lines

CVSROOT: /sources/qemu
Module name: qemu
Changes by: Fabrice Bellard <bellard> 06/08/07 21:36:34

Modified files:
hw : ide.c

Log message:
use AIO for DMA transfers - enabled DMA for CDROMs

Hi!

I just tried FreeSBIE LVC (see announcement here:

	http://www.riondabsd.net/2006/10/13/announce-freesbie-lvc-is-out/
) with qemu cvs (using this experimental port update:
	http://docs.freebsd.org/cgi/mid.cgi?20061026201752.GA51540

) and it hung, printing:
atapi_poll called!
repeatedly on the console. Disabling USE_DMA_CDROM in hw/ide.c made it boot. So this seems to be a variation of the old problem of the cdrom dma patch being incompatible with FreeBSD atapicam. (FreeSBIE still has atapicam in the kernel, and back when the first cdrom dma patch was posted it caused the cd being detected as a disk (da) on an older FreeBSD atapicam guest...)

#2 lore raw
Quoted 4 lines · Juergen Lock

I just tried FreeSBIE LVC (see announcement here:

	http://www.riondabsd.net/2006/10/13/announce-freesbie-lvc-is-out/
) with qemu cvs (using this experimental port update:
	http://docs.freebsd.org/cgi/mid.cgi?20061026201752.GA51540
Quoted 8 lines

) and it hung, printing:
atapi_poll called!
repeatedly on the console. Disabling USE_DMA_CDROM in hw/ide.c made it boot. So this seems to be a variation of the old problem of the cdrom dma patch being incompatible with FreeBSD atapicam. (FreeSBIE still has atapicam in the kernel, and back when the first cdrom dma patch was posted it caused the cd being detected as a disk (da) on an older FreeBSD atapicam guest...)

I cannot help with this issue (which seems a qemu-related issue to me). The only thing I can say is that FreeSBIE images won't have atapicam in the kernel as there's no need for it.

While I'm here, I want to thank all the qemu developers for their great work. Qemu is my main FreeSBIE testing platform and I'm really happy with it.

Best Regards

Signature · 4 lines
Matteo Riondato
FreeBSD Committer (http://www.freebsd.org)
G.U.F.I. Staff Member (http://www.gufi.org)
FreeSBIE Developer (http://www.freesbie.org)