@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5



Comments:

<0> "qemu: /home/guillem/tmp/build/qemu/qemu-0.8.2/block-vvfat.c:97: array_get: ***ertion `index < array->next' failed."
<1> guestip eth0:1 pub
<2> dignome: arp -Ds $GUEST_IP $HOST_INTERFACE pub <----i did same thing but i skiped host_interface, still got no error
<0> dignome_: is the syntax "-hdb fat:path" ?
<1> undesktop: directory can't have more than ~492MiB data in it
<2> how about tap0 in there?
<2> or eth0
<2> as still the eth0 is the main dev on the host, the rest is virtual
<2> Wax it is not when you don't have physical access to the host :)
<3> dignome_, why is that?
<0> dignome_: I see... I guess such a FAT implementation is quite hairy
<2> try chaging to promisc and still use your ssh session Wax :)
<2> changing*
<1> undesktop: it could be improved
<0> dignome_: how does Windows/Qemu react, if files are moved/deleted by the host?



<0> just to be sure it doesn't crash or so
<1> undesktop: shouldn't do that
<1> undesktop: qemu.org user docs has a small list of what you shouldn't do with vvfat
<0> thanks
<4> I understand it's not a perfect solution.
<3> undesktop, http://fabrice.bellard.free.fr/qemu/qemu-doc.html#SEC7
<3> oops
<3> its actually SEC24
<0> right
<4> If I was going to run qemu on a remote host for any length of time, I would have an additional interface added.
<0> hm, Windows doesn't list it
<3> is there a big difference between linux 2.4 and linux 2.6 in qemu
<0> what do you mean?
<2> dignome: is there a way to wipe the arp cache with single command?
<3> linux running as guest
<0> Windows XP doesn't allow me to ***ign a drive letter to the "-hdb fat:..." drive, because it's not "initialized"
<1> rpc: dunno. i know you can remove single entries.
<2> dignome i added an entry with PERM and can't get rid of it
<0> IMHO Qemu should have some kind of internal Samba driver, which accesses to the local filesystem :-/
<4> amazon10x: One major thing is the HZ value.
<3> HZ value?
<4> timer/tick granularity.
<3> does that affect the overall speed of the system
<4> 2.4 = 100, 2.6 can vary, but it's usually set at 1000
<4> it affects how often interrupts fire.
<4> I've found that HZ=1000 kernels can bog down the host.
<3> can that be changed in 2.6 and recompiled
<4> Yes, it's a setting in the config
<3> ok
<4> f.ex FC6 stock kernel is HZ=1000, and when run as a guest on my system, was making the host and other guests sluggish.
<4> So I recompiled it as HZ=250 and it's noticaly better.
<4> HZ=100 proabably would have been fine too.
<0> *sigh* I'm so dumb
<0> "When using the user mode network stack, activate a built-in SMB server so that Windows OSes can access to the host files in `dir' transparently."
<4> Check your context switch rate with vmstat and see.
<4> (in the host)
<1> undesktop: not really builtin. it launches a seperate smbd process on host.
<0> dignome_: and it conflicts with "-net none" I guess
<5> well yeah
<5> you need a network in order to do network shares :)
<0> well, I just don't want the guest system to access the host network facility
<4> mkisofs? ;0)
<0> Wax: you mean to exchange data from host to guest by making a virtual CDROM?
<0> that'd work, but only in one direction
<5> vvfat also works
<5> iiuc it has read-write support now
<0> what's vvfat?
<5> but M$ has patents on FAT so vvfat is endangered
<5> undesktop: -hdb vvfat:/tmp
<0> what's the difference to "-hdb fat:..."?
<5> oh sorry
<5> it is fat:
<0> yeah I'm trying that right now
<5> used to be vvfat: but it was changed to just fat: i gues
<0> doesn't quite work with XP for me
<0> XP simply won't let me access the stupid "QEMU VVFAT" drive, because it's not "intialized"
<0> whatever...
<0> "Proxy Error" when I try to access http://qemu.org/download.html
<0> I don't use any proxy
<1> http://fabrice.bellard.free.fr/qemu/



<0> thanks, this works
<5> Wax: no you cant
<5> Wax: brctl claims that p***ing lo is an "invalid argument"
<5> however you can have empty bridges (a br0 that doesnt bridge any ethernet device at all) as well as dummy ethernet devices like dummy0
<5> argh
<4> heh
<5> i cant add dummy0 to the bridge
<4> Thanks iamfound
<4> Just curious
<5> cuz 00:00:00:00:00:00 isnt a valid ethernet address
<5> i gotta write an app that does an ioctl() on it to set the mac addr
<6> ifconfig can set the mac address
<5> Supaplex: how? and what version of ifconfig is required?
<5> (how == whats the syntax)
<6> man ifconfig is a good start.
<4> iamfound: ip?
<4> ip link set ....
<5> Supaplex: nope nothing
<5> i already looked at it
<6> then you missed the hardware address part?
<4> hmm
<5> Supaplex: man ifconfig | grep "hardware address" gives me nothing
<4> my dummy0 has a mac
<6> net-tools 1.60
<6> ifconfig 1.42 (2001-04-13)
<6> linux 2.6.x
<4> and it let me add it to a bridge
<6> what are you using iamfound?
<6> iamfound: http://rafb.net/p/6ZZdGT91.html
<5> Supaplex: the man page i have says its from 1997 :(
<7> so i have a 'backup' of a win2000 partition (made with dd of=backup.iso), what are the chances of booting that with qemu?
<5> time to upgrade
<6> yea, debian hamm is pretty old :p
<5> Wax: is it ip link set dummy0 address ... ?
<6> ;)
<0> the oldest manpage I ever have found is from 1993
<4> iamfound: looks right
<1> _llll_: zero.
<4> ip link set dummy0 address FF:FF:FF:FF:FF:FF
<1> _llll_: qemu needs more than just a partition if you want to boot from it.
<7> is there any way i can make it work, or is this just silly?
<4> _llll_: I would say your chances are not good.
<5> _llll_: it can be made to work in theory
<5> but the good news ends there
<6> _llll_: you're free to try. don't expect much, and you'll be less disappointed in the end.
<7> so, what can i try?
<6> yes
<6> you try. YOU boot it. better question, DID you try?
<5> _llll_: first u'll need a way to add an MBR to the partition image
<5> this includes the boot loader (probly NTLDR) as well as a partitoin table
<5> ....this is the easy part
<5> ***uming u can recreate an mbr well enough to avoid any C/H/S issues and get windows 2k bootloader to load the windows kernel
<5> u then have to deal with installing new motherboard and hard disk drivers, as well as drivers for a bunch of other stuff
<5> possibly an entire new HAL
<5> u might also have to fix sysuuids
<6> but microsoft says windows is better, so it must be true</fud>
<5> at this point, you can maybe boot into safe mood
<4> or you could salvage any data you need from the image and just install 2k in qemu. ;0)
<5> Wax: i hat dummy0
<5> Wax: it made my bridge disappear from brctl show. i hate it!
<4> :0(
<8> Ok, at the risk of being excessively stupid, how do I apply the qemu-curses-ui.patch at http://www.numenor.art.pl/balrog/qemu-curses-ui.patch ?
<4> using /patch/?
<5> iirc it doesnt apply cleanly
<5> so u have to do some C code editing
<5> mostly trivial stuff tho
<4> ;0)
<5> HouseOfWax
<4> hmm?
<5> lol
<8> Wax: Er, yes, but how?
<9> i recently saw there are some advanced parameters you could put into windows's boot.ini to select a HAL and kernel


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #qemu
or
Go to some related logs:

#oe
#python
raid*noautodetect debian
#perl
pivot_root 3w sarge
irssi utf-8 decode
python classinstance
mysql select at least one image join
#ubuntu
#perl



Home  |  disclaimer  |  contact  |  submit quotes