On 8/27/10 4:34 AM, Corey Osgood wrote:
Oh! I'm not the only one seeing qemu segfault! I don't have the patch available, but I've written a patch for my Zotac NM10 board with a Nuvoton NCT5571D super IO. I'm trying to boot the vendor BIOS. I'm sure that I'm using the correct clock in (48MHz) and settings, because I can get a serial boot console in linux with the stock BIOS, and if I look at serialice through minicom, I can see the console. If I start qemu then start the system, I will get the same message you did (target alife!) then something for a message about a communication failure (0/a). It will then hang there. If I reboot it (turn it off and back on) qemu segfaults.
Make sure minicom is ended again before you start qemu. Otherwise qemu might/will not see the answers to its requests.
I also had some problems trying to compile QEMU on 64-bit, oddly I *did* get beyond those initial 2 lines (with the same cable), but it would fail when trying to run the lua script. I couldn't get bitlib-25 to compile against Ubuntu 10.04 with lua from source, so I used bitlib-26 at first, but it would give me an error in bit.so, trying to call an undefined symbol, lua_pushnumber (IIRC). I then removed the lua from source and installed Ubuntu's lua5.1 and liblua5.1 packages, got bitlib-25 to compile (with --with-lua-suffix=5.1), compiled qemu (after making symlinks in /usr/lib from liblua5.1.x to liblua.x), and it would segfault about 6 lines down (during/after trying to reserve a couple memory ranges). After that I got frustrated and installed 32-bit ubuntu.
I added a lua compilation fix for x64 and also an ubuntu specific patch to the Qemu configure script. With those two changes I was able to successfully compile Qemu following the instructions of http://serialice.com/Installation.html
Stefan