I installed FreeBSD 8.0-Release i386. this worked fine in hvm mode, and i was able to get pvm mode installed but the network fails. I can''t connect to the system via ssh from outside and from inside via console i can''t connect to anything else. I get errors like this: Bad packet length 3737169374. Disconnecting: Packet corrupt Received disconnect from 192.168.1.14: 2: Bad packet length. I can''t find any useful information on this....if anyone can shed some light on this i''d be grateful. -- This message posted from opensolaris.org
Well, I''ve tried everything i can think to try. Nothing works. FreeBSD 8.0 pvm on Opensolaris Dom0 doesn''t work. If anyone can help with a work around of hack i''d REALLY appreciate it. -- This message posted from opensolaris.org
Am i the only one with this problem? I''m wondering if i am infact doing something wrong. the main thing i''m currious about is whether or not i need more kernel information to make this work. I''ve extracted the kernel from the guest and am using that to boot with but do i also need to copy out kernel.symbols and linker.hints? If so what do i add? here is what i''m using atm to bring up the guest: wonslung@wonslung-raidz:/rpool/xvm$ cat FreeBSD.py name="FreeBSD-pvm" memory=1024 kernel="/rpool/xvm/kernel" vif=['' ''] disk=[''phy:/dev/zvol/dsk/rpool/xvm/FBSD8,xvda,w''] extra= "boot_verbose=1" extra +=",vfs.root.mountfrom=ufs:/dev/xbd0s1a" extra += ",kern.hz=100" any help would be hugely appreciated. -- This message posted from opensolaris.org
Hm-m-m-m-m-m... It seems to me that FreeBSD paravirtualised network drivers are buggy. First of all, try to convert your virtual machine back to HVM mode, re-build kernel with /sys/amd64/XENHVM kernel configuration file and attach virtual Xen network interface to guest. I''ve done steps I''ve spoken about, and network stops working. Well, not really COMPLETELY stops: packets can pass back and forth between FreeBSD DomU and network, but any TCP connection stalls immediately just after so-called "three-way handshake". Analysing Dom0 log files gives strange errors like "unknown flag 0x04 received". I''m really not a Xen hacker but do know FreeBSD kernel well enough to analyse /sys/dev/xen and figure out that this flag is about LRO. Well, it is more than clear that it is fairly stupid to "off-load" anything to software emulator of network hardware :), but due to some unclear reason I can''t turn off this behaviour even with sysctl and interface reset ("ifconfig xn0 down && ifconfig xn0 up"). Anyway, FreeBSD v8.0/paravirtualised is completely unusable for now -- when you try to create more than one virtual network interface in DomU, kernel will panic. Yes, I''ve filled PR. :) FreeBSD v8.0/HVM is more usable, but network drivers are buggy. -- This message posted from opensolaris.org
Hi andrew, Le 3 mai 2010 à 17:48, Andrew Kolchoogin a écrit :> Hm-m-m-m-m-m... > > It seems to me that FreeBSD paravirtualised network drivers are buggy. > > First of all, try to convert your virtual machine back to HVM mode, re-build kernel with /sys/amd64/XENHVM kernel configuration file and attach virtual Xen network interface to guest. > > I''ve done steps I''ve spoken about, and network stops working. Well, not really COMPLETELY stops: packets can pass back and forth between FreeBSD DomU and network, but any TCP connection stalls immediately just after so-called "three-way handshake". > > Analysing Dom0 log files gives strange errors like "unknown flag 0x04 received". I''m really not a Xen hacker but do know FreeBSD kernel well enough to analyse /sys/dev/xen and figure out that this flag is about LRO. Well, it is more than clear that it is fairly stupid to "off-load" anything to software emulator of network hardware :), but due to some unclear reason I can''t turn off this behaviour even with sysctl and interface reset ("ifconfig xn0 down && ifconfig xn0 up"). > > Anyway, FreeBSD v8.0/paravirtualised is completely unusable for now -- when you try to create more than one virtual network interface in DomU, kernel will panic. Yes, I''ve filled PR. :) > FreeBSD v8.0/HVM is more usable, but network drivers are buggy.Do you use FreeBSD 8.0/Amd64 or freeBSD 8.0/i386 ? /Xavier
> Do you use FreeBSD 8.0/Amd64 or freeBSD 8.0/i386?As far as I could understand, Xen/Solaris doesn''t support paravirtualisation of 64-bit FreeBSD. As such, I''ve tested FreeBSD/amd64 in HVM mode and FreeBSD/i386 in PV mode. -- This message posted from opensolaris.org