Skip to contentSkip to conversation

QEMU >= 0.5.3 still broken?

Qemu-devel Herbert Poetzl 2 participants 3 messages Apr 7, 2004

lore
Share & tools
lore
#0 lore raw

Hi Fabrice!

did a checkout of qemu a few minutes ago (from CVS) but qemu-fast and qemu (softmmu) is still broken for me ...

any plans to fix this, anything I could do to help?

just for the case you do not remember, ide hard disk emulation doesn't work for 2.6.x anymore (partitions and second hard disk are not recognized)

qemu 0.5.2 work without any issues, 0.5.3 and latest CVS fails ...

TIA,
Herbert

PS: I recompiled 0.5.2 from scratch, just to make sure
that it isn't a compiler or toolchain issue ...

#1 lore raw
Quoted 6 lines · Herbert Poetzl

Hi Fabrice!

did a checkout of qemu a few minutes ago (from CVS) but qemu-fast and qemu (softmmu) is still broken for me ...

Quoted 8 lines

any plans to fix this, anything I could do to help?

just for the case you do not remember, ide hard disk emulation doesn't work for 2.6.x anymore (partitions and second hard disk are not recognized)

qemu 0.5.2 work without any issues, 0.5.3 and latest CVS fails ...

It is not an IDE problem: it is just that my new method to launch the kernel with '-kernel' in 0.5.3 does not preserve the partition table. I will try a fix (I did not see this problem because in my Linux tests I don't use hard disk partitions!).

The TSC problem you have seem to be linked to the 1000 Hz timer of the 2.6 kernel. You must change HZ to 100 in asm/param.h. I'll make a patch for that soon in QEMU, but the emulation will be less efficient for 1000 Hz clock as polling or /dev/rtc will be used on the host.

Fabrice.

#2 lore raw
Quoted 13 lines · Fabrice Bellard
Quoted 12 lines · Herbert Poetzl

Hi Fabrice!

did a checkout of qemu a few minutes ago (from CVS) but qemu-fast and qemu (softmmu) is still broken for me ...

any plans to fix this, anything I could do to help?

just for the case you do not remember, ide hard disk emulation doesn't work for 2.6.x anymore (partitions and second hard disk are not recognized)

Quoted 7 lines
Quoted 2 lines

qemu 0.5.2 work without any issues, 0.5.3 and latest CVS fails ...

It is not an IDE problem: it is just that my new method to launch the kernel with '-kernel' in 0.5.3 does not preserve the partition table. I will try a fix (I did not see this problem because in my Linux tests I don't use hard disk partitions!).

hmm, interesting ... and why isn't hdb recognized at all?

Quoted 4 lines

The TSC problem you have seem to be linked to the 1000 Hz timer of the 2.6 kernel. You must change HZ to 100 in asm/param.h. I'll make a patch for that soon in QEMU, but the emulation will be less efficient for 1000 Hz clock as polling or /dev/rtc will be used on the host.

hmm, I'm using this adapted version of the qemu patch (well I had to update it around 2.6.4 and I removed the ugly and unnecessary fix, for the option parsing)

http://vserver.13thfloor.at/Stuff/QEMU/qemu-enable-2.6.xV.diff

and this should set the HZ value to 100 for QEMU enabled kernels, so I'm not convinced here ...

best,
Herbert

Quoted 1 line

Fabrice.