| |
| |
| |
|
Page: 1 2 3
Comments:
<0> can someone point me to a way to initialize a qemu-img without running a linux install on it? I know it can be done but how? <1> can it? <1> i'd run qemu -cdrom debian-installer.iso -hda hda.img -boot d <1> or somesuch <0> rpath rbuilder does this online. <1> wouldn't really know another way <2> lbrigman: what do you mean by initializing it? <0> I would like the partition table setup for booting and place an ext2 filesystem on the file and then populated that filesystem. <0> If I can get the first two done. Mounting it and populating it are not a problem. <3> kind of like debootstrap? <4> lbrigman: creating the partition table can be done with fdisk <0> Palats:fdisk will work on a file from a script? <0> dignome: I don't know what debootstrap is. <4> I dunno waht you mean in "from a script" but fdisk works fine on a file, yep <4> deboostrap populate the filesystem with a miniam debian system <2> lbrigman: fdisk does not care if you feed it a file
<4> In fact, if this is for a simple linux setup, you don't really have to create a full blown disk with partition table and so on, you can just use a bare filesystem in a file (and use something like root=/dev/hda) <0> Will that work for qemu? Does the booting linux expect a partition table in qemu? <4> nop; the easiest way to do that is to specify your kernel thourgh -kernel option <0> I don't have to have the kernel in the image. Actually I don't want the kernel in the image <4> so, if you don't need multiple partition in your system, bare partition is the easiest way to go <0> And qemu doesn't care what the file looks like? Example: cramfs or squashfs on bare partition? As long as the kernel understands how to read (and possible write it). <4> qemu presents a bare disk to the system, it doesn't care about what's writed on <2> I have strange segfault with ps using guest installed recent opensuse factory <2> guiest opcode starts with 0f 1f ... <0> Palats: thanks, I'll give it a try. <2> what is hinting nops? does qemu support them? <0> Palats: Tried it. It works with what I have. Thanks again. <4> :) <2> heh seems like this is a problem with x86 translate <2> prefetch 1f 08 cases 0...3 are handled normally, 4...7 are illegal ops - that should be nops instead <2> and 0f 1f are multibyte nops; seems like these are now generated with gcc-4.1.1 <2> which explains my problems with ps in opensuse factory/qemu <2> 0f 1f are illegal ops for qemu AFAICS <2> valgrind rulez volumes :) I'm able to execute ps with valgrind :D <2> pbrook: will new translator be able to understand these multibyte nops? <5> The insn decoding is exactly the same. <2> since qemu pretends to support 686, these nops are somewhat required <5> My copy of the ia32 sdm says they're undefined. <5> Err, I mean unspecified. <2> yet they are in gcc <5> I think you mean gas. <2> yes <5> Sounds like a gas bug. <2> I bet there is a small footnote to treat these insns as nops <2> what made me think about footnote: http://softwareforums.intel.com/ISN/Community/en-US/forums/thread/980709.aspx <2> oh well, the last message suggests an NDA <5> The amd64 architecture docs specify them as nops. I've yet to find anything conclusive in teh intel docs. <2> pbrook: do you use NDA material? :) <5> All my x86 documentation is publicly available. <5> I agree qemu should implement them as nops though. <5> I'm just trying to figure out whether Intel screwed up the documentation. They probably did. <2> now a real work for fabrice :) <5> It's fairly trivial to fix. <2> i see one just decode the two-byte insn 0f 1f and ignore it, right? <2> otherwise older processors are screwed (they work in real life) <5> Aha! "All blanks in the opcode map shown in table A-3 are reserved and should not be used. Do not depend on teh operation of these undefined or reserved opcodes". And the entry in Table A-3 for 0f 1f is blank. <6> pbrook: in the current docs it's listed as NOP <2> heh <6> "NOP Ev" to be precise <6> and page 4-4 of volume 2b (description of NOP) lists them too, "0f 1F/0 NOP r/m16 ... " and "0f 1F/0 NOP r/m32 ... " <6> it also has a table of "recommended multi-byte sequence of NOP instruction" on that page <5> My docs are from dated 2004. They were released after the Pentuim4. <6> intel just updated these a few months ago <2> now, anyone to prepare the patch? :) <6> my copy is from March 2006 <5> garrison: Does gas generate these nops with -march=i586? <2> pbrook: can't check now, but opensuse is built for i586 <2> pbrook: and qemu pretend i686, so why? <5> garrison: Technically thet aren't defined for i686. <5> Most likely someone decided that all intel cpus happen to implement them as nops so they're going to use them anyway. <2> :) <2> ok, I'll now let yast to ruin my opensuse factory installation in qemu, for I know how to fix it tomorrow :) <7> anyone heres compiles qemu with GCC4 <7> ?
<2> TLF: me (but op.c with gcc-3.4.6) <7> garrison: why? <2> because it's in a faq <7> mmm, what fAQ? <2> dyngen is easily confused <8> hmm <9> hello all <9> i just bought a LEGAL copy of windows XP and im trying to install it into qemu, no luck, always fails on a CRC error trying to copy SXP.DLL file, any ideas as to whats going on? <3> qemu version? what is the command line used? <9> im not using the kernel module <9> qemu -m 128 -kernel-kqemu -boot d -no-acpi -std-vga -win2k-hack -cdrom /dev/cdrom winxp.img <9> qemu 0.8,2-1 <9> qemu 0.8.2-1 <9> its a brand new spanish copy of windows xp service pack 2 <3> right - so how do you know kqemu is not being used? <3> does it say something like "acceleration layer not activated on console" <3> erm "QEMU acceleration layer not activated" on console <9> QEMU acceleration layer not activated <9> i dont load the module <9> as i understand: to install DONT use kqemu, and when installed use if you want to <3> ok. for one -win2k-hack is only necessary for windows 2000 install. <3> right, -kernel-kqemu can't be used for the install as of yet. user accel. is fine. <9> dignome, ive tried without the -win2k-hack... just wanted to see if it would change any <9> result is the same <8> my win2k3ss installation has been sat at 'Installing Windows' 39mins remain for ages :/ <8> I like how it's still scrolling through its billboards :) <3> samuel: ok. so either it is a qemu bug or a problem with your install media. <9> dignome, ive gone back to the store to change the disk, same result <9> same result also with vmware <9> when i try to access the files it seems to want my cdrom drive seeks forever <9> from linux <3> ok. maybe the physical cdrom drive is to blame <9> is this some sort of fu$%^& up DRM? <9> or the cdrom <3> does microsoft drm their cds? <9> dunno, im asking <9> dont see why with "product activation" <10> maybe try making an image file out of it? will be faster anyway <9> joga, same problem with using gnomebaker, cant seem to seek that point <9> ill try nero <10> hmm filthy cd hopefully.. <9> whats the legality of downloading a copy of windows xp from gnutella? <10> illegal, I guess <9> ive a valid legal copy, can i get an image? <10> though, you *did* pay for it <10> well, I don't know, guess it depends on the legislation of the country you're in :p <9> wouldnt it fall under "fair use"? <10> I'd say it's fair use but microsoft may have a different opinion <10> or your isp, or whoever.. <11> i think that is right for the law to have a copy for personal use but <11> it's not fair for ms license <9> well i dont care, as far as i can tell its fair use, im only using one copy and no more... ill try that and then activating it with the licence i got from the box <10> does gnutella distribute bandwidth so downloading it would help other, non-legitimate users to download it faster? ;) <5> samuel: The answer to your question almost certainly depends where you live, and who you ask. I doubt there's anyone qualified to answer your question on this channel. <10> ask microsoft, heh <9> pbrook, fair enough... <9> im installing again, in a second ill paste the exact error <10> samuel have you simply tried cat /dev/cdrom > winxp.iso ? <10> or dd <9> joga, dd failed <9> didnt try cat <10> does dmesg show anything peculiar? <11> samuel: i had a laptop with a regular ms license <11> when i formatted i used a copy of a cd <11> iand used my serial <9> THATS what pisses me off too... i threw away my CD!!! <11> it didn't work too <11> s/iand/and i <9> is qemu with kqemu comparable to vmware? <10> samuel not as fast but a lot better <9> joga, i like that net and sound works out of the box <9> no problems <9> do i need to use the -win2k-hack to install windows 2000? <3> just for the install
Return to
#qemu or Go to some related
logs:
#oe yup rpm sles oes XOrg * sis741 array.indexOf javascript Object doesn't support this property or method
proview xorg.conf winecfg Command not found #web #php nohup python subprocess ubuntu NR_CPUS
|
|