Difference between revisions of "Debugging"

From Linux-VServer

Jump to: navigation, search
(Unfinished start)
 
(add qemu command line)
Line 8: Line 8:
 
  <Bertl> the 32M_public2 img should suffice
 
  <Bertl> the 32M_public2 img should suffice
 
* since that image has outdated tools, get http://vserver.13thfloor.at/Stuff/QEMU/util-vserver-0.30.214_bin.tar.bz2 (to be unpacked under / in the root image)
 
* since that image has outdated tools, get http://vserver.13thfloor.at/Stuff/QEMU/util-vserver-0.30.214_bin.tar.bz2 (to be unpacked under / in the root image)
* to get the above into the running Qemu, get networking to work. How to do that is to be done in another session.
+
* start qemu like this:
 +
qemu -nographic -m 64 -hda TEST_32M_public2.img -kernel bzImage-2.6.22.16-vs2.2.0.6 -append "rw root=/dev/hda1 init=/bin/bash"
 +
* to get the above tar ball into the running Qemu, get networking to work. How to do that is to be done in another session.

Revision as of 22:16, 7 February 2008

In the case that the core developers cannot reproduce a problem you're running into, it's recommended to use Qemu and known filesystem and kernel images and go from there, then providing the necessary changes (probably a tar file or maybe patch of the changed files).

NOTE: I (User:pflanze) couldn't get through all of this yet, this is just a start, this page needs to be completed.

<Bertl> the 32M_public2 img should suffice
qemu -nographic -m 64 -hda TEST_32M_public2.img -kernel bzImage-2.6.22.16-vs2.2.0.6 -append "rw root=/dev/hda1 init=/bin/bash"
  • to get the above tar ball into the running Qemu, get networking to work. How to do that is to be done in another session.
Personal tools