Re: Running Windows inside vmm/vmd VM.
On Fri Nov 22, 2019 at 9:04 PM Dumitru Moldovan wrote: > Supported guest operating systems are currently limited to OpenBSD and > Linux. As there is no VGA support yet, the guest OS must support serial > console. Speaking of this, does anyone here have any experience running Linux VMs on vmm/vmd? I threw Alpine/Debian installs together recently and they seemed to work well. Looking for anyone with longer-term experience as I'm interested in setting up a VPS hosting service on vmm/vmd, and would appreciate any advice or anecdotes.
Re: Can't boot Nov 21 amd64/bsd.rd - finishes at 'entry point'...
I was experimenting the same behaviour in my T410. With recent snapshots (november) or building a new GENERIC.MP kernel after update from CVS, the system freezes just when the boot process starts. I can confirm that the system boots normally after activate NX. In my thinkpad's bios the NX is located at: Security / Memory Protection / Execution Prevent I don't know if this behaviour is intentionally or a bug. In 5.6 stable the system boots though NX is deactivated. I must say too that the system is much more stable doing suspend/resume. With 5.6 stable the system tends to hang on resume. But with current suspend/resume works perfect. BR Jes
5.5 current resume hangs
From at least a couple of month my laptop doesn't resume after suspend. Mine is a thinkpad T410 with intel integrated gpu. The behaviour seems to be the same as reported in: http://openbsd.7691.n7.nabble.com/T410i-resume-broken-with-amd64-bsd-mp-and-revision-1-249-of-acpi-c-td240150.html But, I think in december 2013 my laptop was able to resume with current. With the SP kernel the system suspends and resumes perfectly. I didn't see any other report besides the previous one about this issue. Thanks in advance, Jes
Failed to hibernate in 5.4 current i386
This ocurrs in last two o three snapshots (I cannot be more precise) but it used to work fine in current. Hibernation fails with the following message: insufficient swap space for hibernate acpi0: hibernate_suspend failedugen0 detached My computer has 8Gb for RAM, but it's i386. The swap partition is big enough: #size offset fstype [fsize bsize cpg] a: 2097121 63 4.2BSD 2048 163841 b: 17946495177387840swap c:4883971680 unused d: 1044480 8753280 4.2BSD 2048 163841 e: 8195040 9797760 4.2BSD 2048 163841 f: 41957984 17992800 4.2BSD 2048 163841 g:117437056 59950784 4.2BSD 2048 163841 h:195035085195334335 4.2BSD 2048 163841 'top' marks 8763M of swap: Memory: Real: 398M/904M act/tot Free: 2030M Cache: 337M Swap: 0K/8763M Hibernation it's very useful due to a problem in my laptop (Thinkpad T410 with IvyBridge): no powered usb ports on resume after suspend. Hibernation is a good replacement for suspend when it runs out of battery. Any idea what can be happening? Thanks in advance, Jes
Re: Failed to hibernate in 5.4 current i386
Sorry, I don't understand you. You says the problem is solved since yesterday (the snapshot my computer is running is from 03/11/2013), but at the same time you says the swap size is not bib enough, but it's more than the memory+64Mb (http://undeadly.org/cgi?action=articlesid=20120712101743). And, in fact, my laptop hibernated one week ago (more or less). I have two swap partitions, sd1b and sd1j. The total amount of swap is about 12G. I think with the small one (more than 3Gb) the system hibernated, and with the 8Gb it did too. Could you explain a bit more this? About the USB problem... thanks for solve it :) Thanks Jes On Tue, Nov 5, 2013 at 6:23 PM, Theo de Raadt dera...@cvs.openbsd.orgwrote: This ocurrs in last two o three snapshots (I cannot be more precise) but it used to work fine in current. Hibernation fails with the following message: insufficient swap space for hibernate acpi0: hibernate_suspend failed This problem has been there since the start. Anyways, I fixed it yesterday. It now will let you hibernate. There are some range checks still missing in the code, and those are being improved... b: 17946495177387840swap No, it is not big enough. The old calculation required a lot more overhead. It was ridiculous. Hibernation it's very useful due to a problem in my laptop (Thinkpad T410 with IvyBridge): no powered usb ports on resume after suspend. Hibernation is a good replacement for suspend when it runs out of battery. This USB problem is about to be solved, a diff is coming from mpi@ T
Re: Failed to hibernate in 5.4 current i386
Thanks Mike and Theo. I'll test it with the new way. Jes On Tue, Nov 5, 2013 at 7:55 PM, Mike Larkin mlar...@azathoth.net wrote: On Tue, Nov 05, 2013 at 06:40:03PM +0100, Jes wrote: Sorry, I don't understand you. You says the problem is solved since yesterday (the snapshot my computer is running is from 03/11/2013), but at the same time you says the swap size is not bib enough, but it's more than the memory+64Mb ( http://undeadly.org/cgi?action=articlesid=20120712101743). And, in fact, my laptop hibernated one week ago (more or less). The old way (up until yesterday) entailed the following: 1. Check if the default swap device (the one printed in autoconf) was the size of physical memory or greater. If not, abort hibernate. 2. Next, check if the range consuming the last physical memory size amount of swap was unallocated (eg, on an 8GB machine, check to make sure that the last 8GB was unallocated). If not, abort hibernate. You probably had something swapped out into that end range, so we aborted. But as Theo mentions, this discussion is moot due to the improvements that went in yesterday. I have two swap partitions, sd1b and sd1j. The total amount of swap is about 12G. I think with the small one (more than 3Gb) the system hibernated, and with the 8Gb it did too. We currently only use the default swap device. Any extra swap you've got defined is ignored. Could you explain a bit more this? About the USB problem... thanks for solve it :) Thanks Jes On Tue, Nov 5, 2013 at 6:23 PM, Theo de Raadt dera...@cvs.openbsd.org wrote: This ocurrs in last two o three snapshots (I cannot be more precise) but it used to work fine in current. Hibernation fails with the following message: insufficient swap space for hibernate acpi0: hibernate_suspend failed This problem has been there since the start. Anyways, I fixed it yesterday. It now will let you hibernate. There are some range checks still missing in the code, and those are being improved... b: 17946495177387840swap No, it is not big enough. The old calculation required a lot more overhead. It was ridiculous. Hibernation it's very useful due to a problem in my laptop (Thinkpad T410 with IvyBridge): no powered usb ports on resume after suspend. Hibernation is a good replacement for suspend when it runs out of battery. This USB problem is about to be solved, a diff is coming from mpi@ T
Re: Feedback about Desktop Environments
Regarding samba... there's no need to automount samba folders because you always can browse them via file browser (konqueror, thunar or nautilus), but if you want you can mount them in /etc/fstab. Simply read the documentation about permissions and syntax. It's very easy. For NFS the best way is mount them in /etc/fstab too. For external disks/pen drive, hotplug-diskmount, as Marc said, it's the best option. This pretty tool automount the drives when inserted and unmount when the drive is plugged off. If the drive is FAT you can extract it before unmount it. For other systems different from FAT you must unmount before extract. BR Jes On Tue, Sep 17, 2013 at 9:50 AM, Raimo Niskanen raimo+open...@erix.ericsson.se wrote: On Mon, Sep 16, 2013 at 06:15:50PM +0200, Marc Espie wrote: On Mon, Sep 16, 2013 at 03:18:28PM +, Stuart Henderson wrote: On 2013-09-16, Stefan Sperling s...@openbsd.org wrote: You can use hotplugd(8) to simulate an auto-mounter for known USB disks. hotplug-diskmount (in packages) saves a bit of time writing a script for this. Or there's amd(8) of course... No, don't use amd. Every time somebody uses amd, a kitten die (and we get that much farther away from being able to modernize NFS). Can you recommend an alternative automounter for network mounts? -- / Raimo Niskanen, Erlang/OTP, Ericsson AB
Re: Feedback about Desktop Environments
Hi all: I use during so long time KDE3. Nowdays I prefer xfce4. Gnome3 is a bit ugly for me. I prefer WMs that integrate the file browser and other tools. Because of this I don't use WindowMaker or FVWM or Enlightenment If I'd only had to code I'll use vim and some minimalistic wm. In my experience, KDE3, Gnome3 and XFCE4 are good choices for general use. Not related with the desktop choice but with the performance... In OpenBSD, all versions, I note performance decrease (not smooth mouse movement or web page scrolling) when the machine is doing any heavy reading/writing task or cpu compsuming (for example a rsync or zip/unzip a big file). Has anyone else experienced a similar behaviour? Jes On Mon, Sep 16, 2013 at 2:21 PM, James Griffin j...@kontrol.kode5.netwrote: * Luca Ferrari fluca1...@infinito.it [2013-09-16 14:05:12 +0200]: My favourite desktop is KDE, but I have to admit it has some concepts that can scary a new user, like the management of desktop icons and folders. Therefore KDE 3 is better than 4 for this kind of users, but I would not suggest to use such an old version. I'm not a gnome fan, even if I've seen a lot of friends of mine succesfully using it. Therefore I would suggest gnome or xfce if the user is not a computer sxpert, or KDE 4 for a normal user. Luca Personally, I'm an long time fvwm user. My partner wouldn't know where to start nor care to learn how to use that. Which is why I need to install a DE. Years ago I did use KDE3 and liked it but changed because I did not like KDE4. Does KDE3 work well on OpenBSD? Things like k3b and similar apps that come with it or, is XFCE more likely to have better support for graphical apps to play CD/DVD's, burning media, music, stuff like that. That is what my partner will want to use. I can do the configuration, where necessary, but don't want to be constantly hassled into showing how to use stuff. So it needs to be idiot proof lol ;-) Gnome 3 is not something I'll give too much consideration too. Thanks for sharing your thoughts. cheers, Jamie.
Re: Feedback about Desktop Environments
On 16/09/13 15:25, James Griffin wrote: * Jes jjje...@gmail.com [2013-09-16 14:43:48 +0200]: Hi all: I use during so long time KDE3. Nowdays I prefer xfce4. Gnome3 is a bit ugly for me. I prefer WMs that integrate the file browser and other tools. Because of this I don't use WindowMaker or FVWM or Enlightenment If I'd only had to code I'll use vim and some minimalistic wm. Thanks for your input. I agree, having a file browser would make life simpler for average users. For me, though, the best file browser on UNIX systems is the shell (ksh). In my experience, KDE3, Gnome3 and XFCE4 are good choices for general use. For my partner, i'm inclined towards KDE or xfce. I think xfce is not so bloated (a term I have often seen/read to be associated with KDE). Not related with the desktop choice but with the performance... In OpenBSD, all versions, I note performance decrease (not smooth mouse movement or web page scrolling) when the machine is doing any heavy reading/writing task or cpu compsuming (for example a rsync or zip/unzip a big file). Has anyone else experienced a similar behaviour? Jes This is what you've observed with KDE, then? Cheers, Jamie. I've observed that behaviour in KDE, GNOME3 and XFCE4. Always when a lot of readings/writings are taking place in the disk, or for example, when the CPU load is high though in a only core. My machine is not very old; it's a thinkpad T410 with 4 cores and 8MB RAM (amd64). If only one core is on high CPU I experienced a not so smooth scrolling in firefox, or the mouse pointer jumps from one place to another one when moving. I didn't experience this in linux or freebsd... And it ocurrs in 4.9, 5.0... and 5.4 current. Back to the desktop environments... KDE includes some tools for administration (users, permisions, etc.). Konqueror file browser is a bit old and has some bug (for example moving files, cut/paste) but it works well in general. If you want to more integrated desktop with its file editor, file browser, clipboard tool, display tool (for screen resize), burn cds, etc. KDE is a good candidate. Gnome3 is more modern than KDE, if it fits your needs in terms of functionality and you like its appearance then probably it works in a better way than KDE. If you need something simply, but functional, with a small application tools for thinks like file browser, image viewer, simple edition, clipboard management, folders in desktop, panels for quick launch, etc. XFCE would be a good option. Maybe it's a question of install the three and test them. For coding or administration only, probably wms like ratpoison, xmonad, and so would be the right election, in terms or reduced CPU and memory consumption. BR
Re: Changing Architecture from amd64 to i386
In my experience it's perfectly possible to move from one architecture to another one. I do the following: - backup /etc (only for security) - remove all installed packages (I save a list of installed packages to figure out what to install again after) - sysmerge for etc and xetc - update the system with the new architecture (update, not install) - adjust $PKG_PATH and reinstall packages deinstalled at the beginning, or new ones of your election. No major problems detected. BR Jes On 02/26/13 20:44, Philip Guenther wrote: On Tuesday, February 26, 2013, Stuart Henderson wrote: On 2013-02-25, James Griffin jmz.grif...@kode5.net javascript:; wrote: I have the latest snapshot amd64 arc. I would like to change to the i386 platform. I think if I delete/remove all packages then boot into the i386 bsd.rd and install all the i386 binaries, etc. and then reinstall all my packages this will be ok and will mean I don't have to reinstall from scratch using a cd iso image? Is this ok to do? Will it cause problems? If you need to ask, you probably shouldn't do it. It's certainly possible though. The result of running sysmerge may be hilarious. Philip
Re: Downlink speed limit
Solved. There's no problem with my laptop or nics. It's a problem of the web speedof.me. For some reason, this web does not measure in the same way in linux than in OpenBSD. I reinstall OpenBSD but in i386 flavor. With i386 I can use gnash in Firefox and try other flash speed test (speedof.me is for html5). With flash speed meters, the result are the hopped: about 20Mbps. So sorry for the noise. Jes On 02/22/13 16:58, Jes wrote: Tested with a 54Mbps wireless connection and pf disabled, the problem remains. My wifi card is: iwn0 at pci2 dev 0 function 0 Intel Centrino Advanced-N 6200 rev 0x35: msi, MIMO 2T2R, MoW the problem remains: bandwithd limited to 4Mbps (tested with speedof.me). So, it's not em0 or iwn0 related. The same laptop with fedora 18 gets 20Mbps. My kernel es 5.3 Generic amd64, snapshot from february 17. My laptop is a Thinkpad T410. No special customizations in /etc/sysctl.conf, only: machdep.allowaperture=2 # See xf86(4) #Users can mount kern.usermount=1 kern.bufcachepercent=50 #Laptop lid suspend (not active) machdep.lidsuspend=0 #Ip Forwarding net.inet.ip.forwarding=1 net.inet.ip.ifq.maxlen=512 # Maximum allowed input queue length (256*number of interfaces) #Samba kern.maxfiles=16384 Some clue? Tha On 02/21/13 20:51, sven falempin wrote: On Thu, Feb 21, 2013 at 12:39 PM, Jes jjje...@gmail.com mailto:jjje...@gmail.com wrote: Hi Sven: My laptop is a Thinkpad T410, with two disks. Fedora 18 installed in the first, and OpenBSD in the second. The ethernet card is: em0 at pci0 dev 25 function 0 Intel 82577LM rev 0x06: msi, address f0:de:f1:11:5e:42 # netstat -i NameMtu Network Address Ipkts Ierrs Opkts Oerrs Colls lo0 33152 Link 12 0 12 0 0 lo0 33152 localhost/1 localhost 12 0 12 0 0 lo0 33152 fe80::%lo0/ fe80::1%lo0 12 0 12 0 0 lo0 33152 localhost localhost 12 0 12 0 0 em0 1500 Link f0:de:f1:11:5e:4247578 0 8230 0 0 em0 1500 fe80::%em0/ fe80::f2de:f1ff:f47578 0 8230 0 0 em0 1500 185.14.165. 185.14.165.83.dyn47578 0 8230 0 0 iwn0* 1500 Link 00:27:10:81:bf:1c0 0 0 0 0 enc0* 0 Link 0 0 0 0 0 pflog0 33152 Link 0 0 0 0 0 # vmstat -i interrupt total rate irq0/clock 589062 399 irq0/ipi 1377979 933 irq144/acpi0 2950 irq100/inteldrm0 85435 irq112/em0 50136 33 irq96/ehci0 28840 19 irq176/azalia0 64064 irq101/ehci1 260 irq102/ahci046781 31 irq145/pckbc043872 irq146/pckbc0 287700 194 Total 2400155 1626 # uname -a OpenBSD openfourten.my.domain 5.3 GENERIC.MP#36 http://GENERIC.MP#36 amd64 # ping www.yahoo.com http://www.yahoo.com PING ds-eu-fp3.wa1.b.yahoo.com http://ds-eu-fp3.wa1.b.yahoo.com (87.248.122.122): 56 data bytes 64 bytes from 87.248.122.122 http://87.248.122.122: icmp_seq=0 ttl=51 time=102.293 ms 64 bytes from 87.248.122.122 http://87.248.122.122: icmp_seq=1 ttl=51 time=103.218 ms 64 bytes from 87.248.122.122 http://87.248.122.122: icmp_seq=2 ttl=51 time=108.620 ms 64 bytes from 87.248.122.122 http://87.248.122.122: icmp_seq=3 ttl=51 time=100.815 ms 64 bytes from 87.248.122.122 http://87.248.122.122: icmp_seq=4 ttl=51 time=109.586 ms 64 bytes from 87.248.122.122 http://87.248.122.122: icmp_seq=5 ttl=51 time=107.245 ms 64 bytes from 87.248.122.122 http://87.248.122.122: icmp_seq=6 ttl=51 time=108.278 ms 64 bytes from 87.248.122.122 http://87.248.122.122: icmp_seq=7 ttl=51 time=103.384 ms # cat /etc/hostname.em0 dhcp # ifconfig em0 em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr f0:de:f1:11:5e:42 priority: 0 groups: egress media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause) status: active inet6 fe80::f2de:f1ff:fe11:5e42%em0 prefixlen 64 scopeid 0x1 inet 83.165.14.185 netmask 0xf800 broadcast 83.165.15.255 # netstat -s ip: 9994 total packets received 0 bad header checksums 0 with size smaller than minimum 0 with data size data length 0 with header length data size 0 with data length header length
Re: Downlink speed limit
Tested with a 54Mbps wireless connection and pf disabled, the problem remains. My wifi card is: iwn0 at pci2 dev 0 function 0 Intel Centrino Advanced-N 6200 rev 0x35: msi, MIMO 2T2R, MoW the problem remains: bandwithd limited to 4Mbps (tested with speedof.me). So, it's not an em0 or iwn0 related issue. The same laptop with fedora 18 gets 20Mbps. My kernel es 5.3 Generic amd64, snapshot from february 17. My laptop is a Thinkpad T410. No special customizations in /etc/sysctl.conf, only: machdep.allowaperture=2 # See xf86(4) #Users can mount kern.usermount=1 kern.bufcachepercent=50 #Laptop lid suspend (not active) machdep.lidsuspend=0 #Ip Forwarding net.inet.ip.forwarding=1 net.inet.ip.ifq.maxlen=512 # Maximum allowed input queue length (256*number of interfaces) #Samba kern.maxfiles=16384 Some clue? Thanks, Jes On 02/21/13 20:51, sven falempin wrote: On Thu, Feb 21, 2013 at 12:39 PM, Jes jjje...@gmail.com mailto:jjje...@gmail.com wrote: Hi Sven: My laptop is a Thinkpad T410, with two disks. Fedora 18 installed in the first, and OpenBSD in the second. The ethernet card is: em0 at pci0 dev 25 function 0 Intel 82577LM rev 0x06: msi, address f0:de:f1:11:5e:42 # netstat -i NameMtu Network Address Ipkts Ierrs Opkts Oerrs Colls lo0 33152 Link 12 0 12 0 0 lo0 33152 localhost/1 localhost 12 0 12 0 0 lo0 33152 fe80::%lo0/ fe80::1%lo0 12 0 12 0 0 lo0 33152 localhost localhost 12 0 12 0 0 em0 1500 Link f0:de:f1:11:5e:4247578 0 8230 0 0 em0 1500 fe80::%em0/ fe80::f2de:f1ff:f47578 0 8230 0 0 em0 1500 185.14.165. 185.14.165.83.dyn47578 0 8230 0 0 iwn0* 1500 Link 00:27:10:81:bf:1c0 0 0 0 0 enc0* 0 Link 0 0 0 0 0 pflog0 33152 Link 0 0 0 0 0 # vmstat -i interrupt total rate irq0/clock 589062 399 irq0/ipi 1377979 933 irq144/acpi0 2950 irq100/inteldrm0 85435 irq112/em0 50136 33 irq96/ehci0 28840 19 irq176/azalia0 64064 irq101/ehci1 260 irq102/ahci046781 31 irq145/pckbc043872 irq146/pckbc0 287700 194 Total 2400155 1626 # uname -a OpenBSD openfourten.my.domain 5.3 GENERIC.MP#36 http://GENERIC.MP#36 amd64 # ping www.yahoo.com http://www.yahoo.com PING ds-eu-fp3.wa1.b.yahoo.com http://ds-eu-fp3.wa1.b.yahoo.com (87.248.122.122): 56 data bytes 64 bytes from 87.248.122.122 http://87.248.122.122: icmp_seq=0 ttl=51 time=102.293 ms 64 bytes from 87.248.122.122 http://87.248.122.122: icmp_seq=1 ttl=51 time=103.218 ms 64 bytes from 87.248.122.122 http://87.248.122.122: icmp_seq=2 ttl=51 time=108.620 ms 64 bytes from 87.248.122.122 http://87.248.122.122: icmp_seq=3 ttl=51 time=100.815 ms 64 bytes from 87.248.122.122 http://87.248.122.122: icmp_seq=4 ttl=51 time=109.586 ms 64 bytes from 87.248.122.122 http://87.248.122.122: icmp_seq=5 ttl=51 time=107.245 ms 64 bytes from 87.248.122.122 http://87.248.122.122: icmp_seq=6 ttl=51 time=108.278 ms 64 bytes from 87.248.122.122 http://87.248.122.122: icmp_seq=7 ttl=51 time=103.384 ms # cat /etc/hostname.em0 dhcp # ifconfig em0 em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr f0:de:f1:11:5e:42 priority: 0 groups: egress media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause) status: active inet6 fe80::f2de:f1ff:fe11:5e42%em0 prefixlen 64 scopeid 0x1 inet 83.165.14.185 netmask 0xf800 broadcast 83.165.15.255 # netstat -s ip: 9994 total packets received 0 bad header checksums 0 with size smaller than minimum 0 with data size data length 0 with header length data size 0 with data length header length 0 with bad options 0 with incorrect version number 0 fragments received 0 fragments dropped (duplicates or out of space) 0 malformed fragments dropped 0 fragments dropped after timeout 0 packets reassembled ok 9982 packets for this host 0 packets for unknown/unsupported
Downlink speed limit
Hi all: I'm running current amd64. I've detected a problem with the network speed. My internet connection is cable, with 20Mbps. In Linux, with several speed meters (my provider's and, for example, speedof.me) I always get around 20Mpbs in donwlink, and about 2-2.5 Mbps in uplink. But with OpenBSD current there is a limit around 4Mbps in downlink (uplink is ok). It doesn't matter if the PF is enabled or disable, the speed is always ~4Mbps. Ethernet card is in 100Mbps full-duplex. I've google a lot and tried several sysctl tweaks but without success. Right now I've finished to upgrade to the last snapshot and the problem remains. Any idea? Thanks in advance, Jes
Re: Downlink speed limit
duplicate data (0 bytes duplicated) 121 out-of-order packets (5879 bytes) 0 packets (0 bytes) of data after window 0 window probes 17 window update packets 4 packets received after close 0 discarded for bad checksums 0 discarded for bad header offset fields 0 discarded because packet too short 0 discarded for missing IPsec protection 0 discarded due to memory shortage 9533 packets hardware-checksummed 0 bad/missing md5 checksums 0 good md5 checksums 166 connection requests 0 connection accepts 165 connections established (including accepts) 160 connections closed (including 1 drop) 0 connections drained 1 embryonic connection dropped 864 segments updated rtt (of 860 attempts) 1 retransmit timeout 0 connections dropped by rexmit timeout 0 persist timeouts 0 keepalive timeouts 0 keepalive probes sent 0 connections dropped by keepalive 525 correct ACK header predictions 6988 correct data packet header predictions 29 PCB cache misses 1 ECN connection accepted 0 ECE packets received 0 CWR packets received 0 CE packets received 6 ECT packets sent 0 ECE packets sent 0 CWR packets sent cwr by fastrecovery: 2 cwr by timeout: 1 cwr by ecn: 0 0 bad connection attempts 0 SYN cache entries added 0 hash collisions 0 completed 0 aborted (no space to build PCB) 0 timed out 0 dropped due to overflow 0 dropped due to bucket overflow 0 dropped due to RST 0 dropped due to ICMP unreachable 0 SYN,ACKs retransmitted 0 duplicate SYNs received for entries already in the cache 0 SYNs dropped (no route or no space) 2 SACK recovery episodes 133 segment rexmits in SACK recovery episodes 171608 byte rexmits in SACK recovery episodes 365 SACK options received 6 SACK options sent Thanks Jes On 02/21/13 18:32, sven falempin wrote: give more information, like how you connect the card to the modem, provide vmstat -i , the uname result show some ping , and More important give your network configuration : for v in /etc/hostname.* do print $v :; cat $v done etc or you will just look like a linux troll :-) On Thu, Feb 21, 2013 at 12:25 PM, Jes jjje...@gmail.com mailto:jjje...@gmail.com wrote: Hi all: I'm running current amd64. I've detected a problem with the network speed. My internet connection is cable, with 20Mbps. In Linux, with several speed meters (my provider's and, for example, speedof.me http://speedof.me) I always get around 20Mpbs in donwlink, and about 2-2.5 Mbps in uplink. But with OpenBSD current there is a limit around 4Mbps in downlink (uplink is ok). It doesn't matter if the PF is enabled or disable, the speed is always ~4Mbps. Ethernet card is in 100Mbps full-duplex. I've google a lot and tried several sysctl tweaks but without success. Right now I've finished to upgrade to the last snapshot and the problem remains. Any idea? Thanks in advance, Jes -- - () ascii ribbon campaign - against html e-mail /\
Re: openBSD 5.2 amd64 on lenovo x201s
El Fri, 4 Jan 2013 08:08:24 +0100 Tomas Bodzar tomas.bod...@gmail.com escribió: On Thu, Jan 3, 2013 at 8:15 PM, Andriy Samsonyuk andriy.samson...@ch.tum.de wrote: On Thu, Jan 03, 2013 at 06:40:39PM +0100, Jes wrote: And probably no power on usb ports after resume, like my T410. have not checked yet Do i understand it correctly, that there is no chance of it running properly until the CEO of Intel want to improve his karma? You need to run current with latest HW. Not release/stable. IMHO OpenBSD is pretty usable in a laptop, old or modern. Most of things run in the right way. From my point of view only a few things are missing now: - usb ports after resume, but only in certain thinkpad models (like X201, I guess, and T410) - no disk journaling - no NTFS support - no Linux emulation in amd64 But there are some advantages: - suspend/resume out of the box (except the usb stuff in some computers). - speed booting and shutting down - simplest installation/upgrade way - it works with modern integrated intel video cards (no need of kvm, thought no acceleration) - pf firewall I have OpenBSD current installed in my laptop, with Fedora. My primary system right now is Fedora, but for other reasons. My OpenBSD current works perfectly for most of my tasks: internet navigation, mail, perl/mysql development, music, video, photos, etc.) My advice: it is well worth to try and experiment by yourself. BR Jes
Re: openBSD 5.2 amd64 on lenovo x201s
El Fri, 04 Jan 2013 23:03:48 +1100 Brett Mahar brett.ma...@gmx.com escribió: IMHO OpenBSD is pretty usable in a laptop, old or modern. Most of things run in the right way. From my point of view only a few things are missing now: [...] - no NTFS support http://www.openbsd.org/cgi-bin/man.cgi?query=mount_ntfsapropos=0sektion=0manpath=OpenBSD+Currentarch=i386format=html I wanted to say no NTFS suppor for writing :)
Re: openBSD 5.2 amd64 on lenovo x201s
And probably no power on usb ports after resume, like my T410. BR Jes
Re: ThinkPad W530 Intel HD Graphics 4000 friendly to puffy?
El Sun, 18 Nov 2012 13:14:32 +0200 Rares Aioanei bsdlis...@gmail.com escribió: On Sun, 18 Nov 2012 11:12:36 +0100 Tomas Bodzar tomas.bod...@gmail.com wrote: Not sure if it's still Sandrybridge http://www.lenovo.com/products/us/tech-specs/laptop/thinkpad/w-series/w530/ All thinkpad models ending in 30 are Ivy Bridge, just as all ending in 20 are Sandy. , but OpenBSD doesn't have KMS yet (just partiall parts) which means that most probably it will work, just don't expect much 3D power on Intel. Best option will be to try install latest snapshot if you can and post dmesg, pcidump -v, usbdevs -v, Xorg.0.log outputs. Thanks appreciate the help. [demime 1.01d removed an attachment of type application/pkcs7-signature which had a name of smime.p7s] Mine is a T410 with Sandybridge. Graphics work very well, no problem with that. Good performance in general, everything works as it should except USB after resume. The machine is able to suspend and resume but with no power in USB ports. It's a know problem, affecting other thinkpads like X201, I guess.. Theo was trying to fix it, some time ago, without success, at least in my knowledge. BR Jes
Re: Any T410/T420 with suspend/resume fully working in 5.1 or current?
El Mon, 15 Oct 2012 08:45:01 +0200 Peter Hessler phess...@theapt.org escribió: On 2012 Oct 14 (Sun) at 23:01:11 -0400 (-0400), STeve Andre' wrote: :The situation with the t430s has gotten a little better. : :I installed OpenBSD on one, and found that it was almost usable. : :Once in X (and KDE) there is no escape, other than a reboot. :That was a nice surprise, but I could ssh into it just fine. : :Suspend seemed to work, but it never woke up so who knows. : :Audio worked, and the em0 interface worked. USB worked too :I think, though I did not write that down. : :This is certainly a frustrating time for wanting to get a new :thinkpad. This W500 is still doing well after 3.8 years but a LED :lit screen would be great. : :--STeve Andre' : :(dmesg from the t430s test) : :OpenBSD 5.2-current (GENERIC.MP) #0: Tue Oct 2 21:03:20 EDT 2012 :r...@foo.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP Update to -current. jsg@ committed some patches that make X work better, and allows for suspend/resume to work. Btw, USB does work fine. In my experience T410 runs fine with 5.1 and current (5.2) except there's no usb power after resume. But it resumes, the sandybridge support is quite good, and no major problems. Ah, apmd does not work very well nor 5.1 neither current. There is a patch you can see in my blog: https://nixbsd.wordpress.com/2012/07/03/openbsd-patch-apmd-for-smp-architectu res/ I saw this patch in some forum (I don't remember which one) but the code can be grabbed from http://junkpile.org/apmd.diff. I think this patch should be merged in source in next releases. The current apmd implementation is not good enough on SMP architectures. This patch provides a better cpu speed control. I'm waiting for any improvement that leads to a functional usb behaviour after resume. It's annoying to reboot in order to use an usb ports after suspend/resume. BR
Re: Recommended new laptop under US$800 for OpenBSD
El Thu, 4 Oct 2012 20:32:14 -0700 Tito Mari Francis Escaño titomarifran...@gmail.com escribió: Alright, how about the not so old that I can buy brand new? Buying second hand leaves me at the mercy of the seller, praying it won't break just when the shop or personal warranty expires. Thanks for the advice. On Thu, Oct 4, 2012 at 8:01 PM, Ted Unangst t...@tedunangst.com wrote: On Thu, Oct 04, 2012 at 19:23, Tito Mari Francis Escaño wrote: Good day, I'd like to seek your advise what new laptop brand and model should I buy that is fully functional (video, LAN, Wifi, sound) with OpenBSD 5.x. I searched online and found only older models. My sisters plan to give me a laptop for Christmas so I'd like to make sure I get the laptop that works with my OS of choice. Well, at the moment, the video situation with Sandy Bridge (2nd gen core 2) processors is less than 100% functional (no xv, other quirks), so that pushes you back to older machines right there. Same story for laptops with the AMD A-? APU series. Hola Tito: I agree with Ted Unangst, older machines have better behaviour with OpenBSD than newer ones. Thinkpads are good machines for OpenBSD. I own a R61 and T410. OpenBSD runs fine in the R61 but in my T410 there is a problem with suspend/resume and USB ports (no power on resume). I think T420 runs well too. All my laptops are second hand (from ebay). I prefer to adquire batteries and memory to update instead of pay a lot of money for a product that will be obsolete in a couple of years. BR
Any T410/T420 with suspend/resume fully working in 5.1 or current?
Hi: Can anyone report a successful suspend and resume in a Thinkpad T410 or T420? My T410 with current (5.2) resumes but with usb ports down (no power). Thanks. BR, Jes
USB not working after resume
at pci4 dev 0 function 3 not configured ehci1 at pci0 dev 29 function 0 Intel 3400 USB rev 0x06: apic 1 int 19 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb4 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xa6 pci5 at ppb4 bus 14 pcib0 at pci0 dev 31 function 0 Intel QM57 LPC rev 0x06 ahci0 at pci0 dev 31 function 2 Intel 3400 AHCI rev 0x06: msi, AHCI 1.3 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: ATA, ST9320423AS, 0003 SCSI3 0/direct fixed naa.5000c5002aa2297f sd0: 305245MB, 512 bytes/sector, 625142448 sectors cd0 at scsibus0 targ 1 lun 0: HL-DT-ST, DVDRAM GU10N, MX05 ATAPI 5/cdrom removable ichiic0 at pci0 dev 31 function 3 Intel 3400 SMBus rev 0x06: apic 1 int 23 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600 SO-DIMM spdmem1 at iic0 addr 0x51: 4GB DDR3 SDRAM PC3-10600 SO-DIMM itherm0 at pci0 dev 31 function 6 Intel 3400 Thermal rev 0x06 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 wsmouse1 at pms0 mux 0 pms0: Synaptics touchpad, firmware 7.2 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 aps0 at isa0 port 0x1600/31 mtrr: Pentium Pro MTRR support uhub2 at uhub0 port 1 Intel Rate Matching Hub rev 2.00/0.00 addr 2 uhub3 at uhub1 port 1 Intel Rate Matching Hub rev 2.00/0.00 addr 2 vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets root on sd0a (c0a2b3db261d5cc4.a) swap on sd0b dump on sd0b uhidev0 at uhub2 port 2 configuration 1 interface 0 Avant Com USB Device rev 1.10/0.12 addr 3 uhidev0: iclass 3/1, 2 report ids ums0 at uhidev0 reportid 1: 5 buttons, Z dir wsmouse2 at ums0 mux 0 ums1 at uhidev0 reportid 2 ums1: mouse has no X report usbdevs -v $ usbdevs -v Controller /dev/usb0: addr 1: high speed, self powered, config 1, EHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 addr 2: high speed, self powered, config 1, Rate Matching Hub(0x0020), Intel(0x8087), rev 0.00 port 1 powered port 2 addr 3: low speed, power 100 mA, config 1, USB Device(0x5908), Avant Com(0x0c45), rev 0.12 port 3 powered port 4 powered port 5 powered port 6 powered port 2 powered port 3 powered Controller /dev/usb1: addr 1: high speed, self powered, config 1, EHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 addr 2: high speed, self powered, config 1, Rate Matching Hub(0x0020), Intel(0x8087), rev 0.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered port 7 powered port 8 powered port 2 powered port 3 powered After resume, usbdevs -v shows: $ usbdevs -v Controller /dev/usb0: addr 1: high speed, self powered, config 1, EHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 addr 2: high speed, self powered, config 1, Rate Matching Hub(0x0020), Intel(0x8087), rev 0.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered port 2 powered port 3 powered Controller /dev/usb1: addr 1: high speed, self powered, config 1, EHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 addr 2: high speed, self powered, config 1, Rate Matching Hub(0x0020), Intel(0x8087), rev 0.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered port 7 powered port 8 powered port 2 powered port 3 powered Last lines of dmesg after resume: wsmouse2 detached ums0 detached ums1 detached uhidev0 detached inteldrm0: gpu hung! Thanks in advance. Jes
Re: USB not working after resume
El Fri, 27 Jul 2012 11:51:51 +0200 Martin Pieuchot mpieuc...@nolizard.org escribió: On 27/07/12(Fri) 10:54, Jes wrote: Hi: Yes, I didn't attach dmesg or usbdevs because I thought it was a known issue. Well, my T410 has USB 3.0 ports, but before suspend everything works: mouse, pendrives, SD card reader, usb 3G modem, etc. After resume there's no power in any usb port. Looks like your ehci controller has no pm capability, can you try setting 'pci_dopm = 0 in /sys/dev/acpi/acpi.c, as workaround. And let me know if it works or not. Martin Hi Martin: No success. The behaviour is the same as before: no usb power after resume. Thanks, BR
Re: USB not working after resume
El Fri, 27 Jul 2012 15:25:37 +0200 Peter Laufenberg open...@laufenberg.ch escribió: Yes, I didn't attach dmesg or usbdevs because I thought it was a known issue. Well, my T410 has USB 3.0 ports, but before suspend everything works: mouse, pendrives, SD card reader, usb 3G modem, etc. After resume there's no power in any usb port. USB 3.0 interface are capable of supplying much more power than USB 2.0; some PCIe USB 3.0 cards have an extra power connector the way higher-end video cards do. Unless your attached devices are actually USB 3.0-able the extra features are useless. Maybe your BIOS has an option to switch them to USB 2.0 compat mode. -- p Hi Peter: Yes, I know about USB 3.0. I don't use any 3.0 device. And there's no 2.0 compatibility options in bios, as fas as I know. There are one option to maintain power even in suspend mode to power devices like phones or modems, and other one for compatibility with devices like iphones, ipods, and so... I was playing with this two options but no success. With any combination, the USB port always run fine except after resume. This maybe an issue with new i3/i5/i7 T4xx/T5xx/Wxxx lenovo laptops... I don't know. In linux they work fine before and after resume. Thanks, BR
USB not working after resume
I've read something about this in older posts. I don't know if there is some advance on this issue. My laptop is a lenovo T410 running last Openbsd snapshot (about 24/07/2012) and the behaviour is the same as in 5.1: USB ports ko after resume. Is this something related to USB 3.0? Thanks in advance, Jes
NFS and mounted dirs by hotplug-diskmount
Hi all: I have one computer acting as NFS server for some directories. One of these directories is /vol, where the hotplug-diskmount daemon mounts external disks (usually FAT32). The problem is that whereas NFS is working well (rest of dirs are available through my local network) those mounted by hotplug-diskmount are missing. I can't see any of this dirs. If I export these dirs in /etc/exports for NFS, then I see this dirs but no content is shown inside them. Any idea about this? I suspect it's something related to the hotplug-diskmount internals but maybe there's a solution... Thanks in advance, Jes
Re: Idea for apmd
El Fri, 1 Jun 2012 19:44:26 +0200 Juan Francisco Cantero Hurtado i...@juanfra.info escribió: On Thu, May 31, 2012 at 11:21:20PM +, Stuart Henderson wrote: On 2012-05-31, Ted Unangst t...@tedunangst.com wrote: On Thu, May 31, 2012 at 08:28, Tomas Bodzar wrote: On Thu, May 31, 2012 at 3:45 AM, Juan Francisco Cantero Hurtado i...@juanfra.info wrote: This is important because when I open a web page with a lot of javascript, the browser is very slow. Also when I compile something with make -j1, apmd doesn't raise the speed of my CPU, I need use make -j4 for raising the cpu speed to 2700Mhz. What shows top, vmstat, systat about %sys, %usr, %idle during that time? Because you can have 800MHz of CPU, but %usr and/or %sys can be eg. only 20% so there's no reason to switch to higher frequency. apmd scaling works like crap with more than one cpu. This was fixed, then unfixed, but you can get the code from cvs if you like. conflicts. if anyone wants it they could grab it from junkpile.org/apmd.diff Thanks for the patch! I've been using the version 1.51 of apmd.c since yesterday. I can feel the difference with respect to the last version of apmd. Is it possible to add a new option to apmd for to select between the new and the old code?. I mean, eg: -C for use the new code with better SMP support and -O for compatibility mode with the old code for people with problematic machines. Cheers. Thanks for this patch. My thinkpad had the same problem as the reported one by Juan Francisco , but now it runs smoothly. I'd like to ask for more features like configurable thresholds for increase and reduce the cpu. Maybe with a couple of sysctls or with options for apmd. Is it easy? Thanks. Jes
Re: Idea for apmd
I agree with Juan Francisco, In think it would nice to have a more smoth speed control cpu way, forma example like the proposed oneroso in this thread, similar to netbsd. Andris it would nicer if in a future openbsd implementar the P-states oferta the cpu, to save battery on laptops. Anyway my openbsd laptop (thinkpad R61 2200 Mhz ) has a good performance with apmd -C. BR Jes (from Corunha :) ) El 30/05/2012 20:50, Juan Francisco Cantero Hurtado i...@juanfra.info escribis: Hi. I've been using OpenBSD on my netbook daily for a few months. I was using apmd with the -C setting. My netbook is slow and the battery life is important, so 800Mhz (apmd -C) or 1600Mhz (apm -A) is not a big difference for me. Now I have a desktop computer with support for cpu speed scaling. In this case the options of apmd are very limited. If I use -A my cpu is always at 2700Mhz, wasting energy and heating my room (I live in the very sunny Extremadura :) ). If I use -C, apm rarely raises the speed and the cpu is almost always at 800Mhz. This is important because when I open a web page with a lot of javascript, the browser is very slow. Also when I compile something with make -j1, apmd doesn't raise the speed of my CPU, I need use make -j4 for raising the cpu speed to 2700Mhz. I understand the problem with the limits of apmd. The developers can't generate a limits for each CPU and workflow. I've been playing with the values of PERFINCTHRES and PERFDECTHRES on usr.sbin/apmd/apmd.c and checking the changes of speed with while true; do apm | grep cool; sleep 1; done. I'm using 20 and 60 respectively right now. Probably this values aren't the best values but are better than the defaults (for my CPU and workflow). The performance is very good and I can see the cpu speed raising and lowering. I've tested various values and 20/60 are a good compromise performance vs energy consumption. In short, I have a suggestion for apmd. Add one option for to set PERFINCTHRES and other for to set PERFDECTHRES. Each user could to configure the behavior of apm -C on rc.conf.local. Example: apmd_flags=-C -I 20 -D 60. Obviously, apm -C would use the defaults if both options aren't used. The implementation is simple and it will not break any system. Unfortunately I can't code the idea (despite I've read the code), so I wanted share this with you. Some developer interested? :) Cheers. -- Juan Francisco Cantero Hurtado http://juanfra.info
kqemu in 5.1
Hi all: I can't find kqemu between snapshots packages, ports, or even in 5.1 packages. I think I've read something about kqemu is deprecated in newer versions of qemu (1.0.1) Is this correct? Because performance without kqemu is horrible. Any solution? Thanks in advance, Jes