Skip to contentSkip to conversation

KQEMU bus errors

Qemu-devel Kevin F. Quinn 2 participants 3 messages Feb 22, 2005 – Feb 23, 2005 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

I also get the bus error, when trying to install Windows 2000 Professional.
It occurs, as described before, when the install tries to format the drive.
If I build with --disable-kqemu, the bus error does not occur, but when built with kqemu support it occurs whether or not the kernel module is in use. Once installed (after building with --disable-kqemu), if I then try to run it with the kqemu version (again, with or without the module) it generates a bus error at variable points - geenrally it'll boot, get through the login but die shortly afterwards.

I have the shm device in fstab:

none /dev/shm tmpfs defaults 0 0

as mentioned earlier.

Any suggestions would be appreciated.

Also, I've tried to install SP4, but it doesn't like it. Could someone give me some hints/tricks on how to track down what the problem is?

(btw using latest cvs at time of writing)

Thanks,
Kev.

#2 lore raw
Quoted 7 lines

I have the shm device in fstab:

none /dev/shm tmpfs defaults 0 0

as mentioned earlier.

Any suggestions would be appreciated.

Your guest memory size (-m option to qemu) should be a little smaller than free space on /dev/shm (as reported by df command). For example, here /dev/shm is 256MB, but QEMU crashes if I specify more than 244 MB for the guest OS.

-- Ph.

#3 lore raw
Quoted 3 lines · Phil Krylov

Your guest memory size (-m option to qemu) should be a little smaller > than free space on /dev/shm (as reported by df command). For example, > here /dev/shm is 256MB, but QEMU crashes if I specify more than 244 MB for
the guest OS.

Ah; thanks. I had tried -m 126 before (/dev/shm is 128MB) but I guess it needs to be perhaps -m 120. I did manage to get it working yesterday by doing QEMU_TMPDIR=/tmp qemu <...>, so that it didn't use /dev/shm; presumably that's slower however.