Re: OpenBSD frozen when building OpenJDK 8u40 b25

2015-03-20 Thread Dongsheng Song
On Fri, Mar 20, 2015 at 4:27 PM, Ville Valkonen wrote: > On 20 March 2015 at 09:41, Dongsheng Song > wrote: > > Hi ports, > > > > I download OpenJDK 8u40 b25 source from: > > > > https://jdk8.java.net/java-se-8-ri/ > > > https://www.java.net/dow

OpenBSD frozen when building OpenJDK 8u40 b25

2015-03-20 Thread Dongsheng Song
Hi ports, I download OpenJDK 8u40 b25 source from: https://jdk8.java.net/java-se-8-ri/ https://www.java.net/download/openjdk/jdk8u40/ri/openjdk-8u40-src-b25-10_feb_2015.zip Then building it with jdk-1.7.0.71v0: http://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/jdk-1.7.0.71v0.tgz Duri

Re: kvm with OpenBSD 4.5

2009-04-16 Thread Dongsheng Song
I don't think it's a cr3 OOS optimisation break, as kvm-72 faild too. 2009/4/17 David S. Ahern : > Have you seen this thread: > > http://article.gmane.org/gmane.comp.emulators.kvm.devel/28649 > > It's the one that resulted in these patches by Marcelo: > http://article.gmane.org/gmane.comp.emulator

Re: kvm with OpenBSD 4.5

2009-04-16 Thread Dongsheng Song
B B sp->global = 0; > B B B B hlist_add_head(&sp->hash_link, bucket); > B B B B if (!direct) { > B B B B B B B B if (rmap_write_protect(vcpu->kvm, gfn)) > > david > > > Dongsheng Song wrote: >> 2009/4/16 Brian Jackson : >>>

Re: kvm with OpenBSD 4.5

2009-04-16 Thread Dongsheng Song
kvm-84 module, OpenBSD 4.5 go farther, stopped after display 'setting ttty flags'. Both dmesg display like this: Apr 17 09:16:58 dl kernel: [47761.218611] __ratelimit: 1216720 messages suppressed Apr 17 09:16:58 dl kernel: [47761.218611] emulation failed (pagetable) rip d0491096 c9 c3 8a 04 -- Dongsheng Song

kvm with OpenBSD 4.5

2009-04-15 Thread Dongsheng Song
s/i386/ [2] ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/amd64/ -- Dongsheng Song

Re: Testing in a virtual environment

2009-01-06 Thread Dongsheng Song
; em0: watchdog timeout -- resetting > messages on the console when using the e1000 NIC emulation, but it doesn't > seem to be too severe right now, and is only occurring when I'm serving a > decent bit of data (55-68mbps SSH/rsync data). > > Best of luck, >

Re: Testing in a virtual environment

2009-01-05 Thread Dongsheng Song
When I running OpenBSD under kvm, process time aways 0 ! [dongsh...@dl:~/kvm]% cat OpenBSD-x64/start.sh [09-01-05 21:53:50] #!/bin/sh cd /home/dongsheng/kvm/OpenBSD-x64 kvm -name OpenBSD-x64 -m 1024M -hda hda.img \ -cdrom ../../var/iso/openbsd-amd64-4_4-20081215.iso \ -net

relayd use very much memory and cpu load

2008-12-05 Thread Dongsheng Song
> } > > relay "guoziyu" { > listen on $ext0 port > protocol "std_tcp" > forward to 192.168.2.173 port > } > Thanks for some help, Dongsheng Song

Re: OpenBSD and XenSource

2008-12-03 Thread Dongsheng Song
Yes, This happend for default rtl8139 nics, you can use e1000 nics instead rtl8139. 2008/12/3 Felipe Alfaro Solana <[EMAIL PROTECTED]>: > On Wed, Dec 3, 2008 at 4:45 AM, Dongsheng Song <[EMAIL PROTECTED]> wrote: >> Yes, I running OpenBSD amd64 in Debian 5.0(lenny

Re: OpenBSD and XenSource

2008-12-02 Thread Dongsheng Song
Yes, I running OpenBSD amd64 in Debian 5.0(lenny) kvm box for OpenBSD Translation Status[1] at lease one month, it's fine! [1] http://repo.e2echina.com/status/ --- Dongsheng Song 2008/12/3 Vinicius Vianna <[EMAIL PROTECTED]>: > tico escreveu: >> >> Stephan A. Rickau

How to load balancing between lan and adsl ?

2008-10-20 Thread Dongsheng Song
Hello forks, My proxy use bnx1 connect to internal network, and bnx0 connect to inet. Can I add adsl for load balancing ? |- ext_if(bnx0) int_if(bnx1) -| |- adsl(tun1, bge0) Thanks for some help, Dongsheng

PPPoE(4) - pap failure: &22 (Re: PPPoE - Connection reset by peer)

2008-08-14 Thread Dongsheng Song
15 09:48:51 proxy /bsd: pppoe0: lcp stopped->starting Aug 15 09:48:51 proxy /bsd: pppoe0: phase establish ... Thanks for some help. -- Dongsheng Song 2008/8/14 Antti Harri <[EMAIL PROTECTED]>: > > Hi, > > I don't know what's solution to your problem but I recommen

Re: PPPoE - Connection reset by peer

2008-08-14 Thread Dongsheng Song
# ppp -ddial pppoe Working in ddial mode Using interface: tun0 Warning: disable lcp: Invalid command Warning: disable lcp: Failed 1 # dmesg OpenBSD 4.4-current (GENERIC.MP) #5: Thu Aug 14 13:26:09 CST 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP ... 2008/8/14 Olaf Schreck

PPPoE - Connection reset by peer

2008-08-14 Thread Dongsheng Song
; opening Aug 14 16:44:28 proxy ppp[23119]: tun1: Phase: deflink: Enter pause (30) for redialing. Aug 14 16:44:28 proxy ppp[23119]: tun1: Chat: deflink: Reconnect try 1 of 1 What's wrong? Thanks for some help. Dongsheng Song

libpcap aligned problem under amd64 box

2008-08-13 Thread Dongsheng Song
*) pkthdr; The returned pkthdr2 is OK. What's the correct usage ? Thanks, Dongsheng Song

Re: why pf log output to /var/log/messages & /dev/console ?

2008-07-09 Thread Dongsheng Song
Thank you, it's OK now ! 2008/7/10 Daniel Melameth <[EMAIL PROTECTED]>: > On Wed, Jul 9, 2008 at 6:48 PM, Dongsheng Song <[EMAIL PROTECTED]> wrote: >> I searched /etc/syslog.conf, but can't find how to disable it. >> >> Jul 10 08:40:04 pro

why pf log output to /var/log/messages & /dev/console ?

2008-07-09 Thread Dongsheng Song
proxy /bsd: pf: OK ICMP 3:1 192.168.1.2 -> 192.168.2.51 state: TCP in wire: 192.168.2.51:2230 219.149.124.163:80 stack: - [lo=1492402397 high=1492402399 win=14600 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0 seq=1492402397 Thanks for some help, Dongsheng Song

How to create more pseudo terminal ?

2008-07-07 Thread Dongsheng Song
OpenBSD create 62 pseudo terminals by default. My server use authpf for 512+ users, How to create more pseudo terminal ? # sysctl kern.tty.maxptys=992 kern.tty.maxptys: 992 -> 992 # sysctl kern.tty.nptys=512 sysctl: kern.tty.nptys: Operation not permitted Thanks, Dongsheng Song

newsyslog default archived directory

2008-07-01 Thread Dongsheng Song
OpenBSD execute /usr/bin/newsyslog every hour, where newsyslog archived logs to ? Thanks, Dongsheng Song

Re: dhcpd with shared-network in OpenBSD

2008-06-16 Thread Dongsheng Song
Thanks, although you have some inaccuracy, my test passed base your advice. 1. create vlan export int_if="bnx1" # ifconfig vlan0 destroy ifconfig vlan0 create ifconfig vlan0 vlan 10 vlandev ${int_if} ifconfig vlan1 create ifconfig vlan1 vlan 11 vlandev ${int_if} ... /bin/echo "inet 192.168.0.20

Re: dhcpd with shared-network in OpenBSD

2008-06-16 Thread Dongsheng Song
My network use a switch, split into 10 vlan. >From some document, they said it's ok, but my test failed. 2008/6/16 Jussi Peltola <[EMAIL PROTECTED]>: > If the different subnets are on different physical interfaces, do not use > shared-network - just list the subnets at the top level config. > > I

use boot.conf boot into GENERIC.MP with the 5 second pause at boot-time

2008-06-16 Thread Dongsheng Song
I use a amd64 MP server, default boot into GENERIC, not GENERIC.MP. I can use boot.conf boot into GENERIC.MP, but this remove the 5 second pause at boot-time. How can I default boot into GENERIC.MP, and not remove the 5 second pause at boot-time? Thanks for some help, Dongsheng Song

dhcpd with shared-network in OpenBSD

2008-06-16 Thread Dongsheng Song
0 192.168.2.149; } subnet 192.168.3.0 netmask 255.255.255.0 { option routers 192.168.3.1; range 192.168.3.50 192.168.3.149; } } Thanks for some help Dongsheng Song

Multipath I/O for Emulex FC HBA card

2008-03-28 Thread Dongsheng Song
Hi all, I known OpenBSD support Emulex FC HBA card, but can i use multipath I/O ? sli - Emulex LightPulse Fibre Channel SCSI interface isp - QLogic based SCSI or Fibre Channel SCSI interface Thanks --- Dongsheng # lspci | grep Fibre 07:00.0 Fibre Channel: Emulex Corporation Zephyr Lig

Build openjdk7-b24 failed: Invalid maximum heap size: -Xmx-33m

2008-03-20 Thread Dongsheng Song
It's a memory compute bug for small memory computers, e.g. 256MB. ===> Building for jdk-1.7.0.00 bsd i586 1.7.0-internal build started: 08-03-20 19:05 mkdir -p ./build/bsd-i586/j2sdk-image mkdir -p /var/ports/obj/jdk-1.7.0.00/openjdk7-b24/build/bsd-i586/j2sdk-image mkdir -p ./build/bsd-i586-fastd

Re: Any other Java developers?

2008-03-10 Thread Dongsheng Song
Before jvm use the mpm model like apache2, or OpenBSD implement kernel level pthreads, I don't think there will have many java developers using OpenBSD as their native platform. 2008/3/11, Mayuresh Kathe <[EMAIL PROTECTED]>: > Hello, > > Are there any other Java developers using OpenBSD as their

Re: Compile jdk 1.5 on amd64 run out of memory

2008-03-09 Thread Dongsheng Song
S and PARALLEL_BUILD_JOBS ? --- Dongsheng 2008/3/9, Kurt Miller <[EMAIL PROTECTED]>: > On Saturday 08 March 2008 6:53:08 am Dongsheng Song wrote: > > Thanks, when I set HOTSPOT_BUILD_JOBS=2, it builds smoothly. > > > Great. > > BTW, how much swap space did you c

OpenLDAP and Berkeley DB 4.6

2008-03-09 Thread Dongsheng Song
Since OpenLDAP 2.3 is incompatible[1] with Berkeley DB 4.6, so I must stick to BDB 4.5 or upgrade to OpenLDAP 2.4 ? [1] http://www.openbsd.org/cgi-bin/cvsweb/ports/databases/openldap/Makefile Thanks for some help. Dongsheng

Re: Compile jdk 1.5 on amd64 run out of memory

2008-03-08 Thread Dongsheng Song
Thanks, when I set HOTSPOT_BUILD_JOBS=2, it builds smoothly. What's PARALLEL_BUILD_JOBS, and their relationship? 2008/3/8, Kurt Miller <[EMAIL PROTECTED]>: > Try editing the port Makefile and set HOTSPOT_BUILD_JOBS=4 or > less. > > > -Kurt

Compile jdk 1.5 on amd64 run out of memory

2008-03-06 Thread Dongsheng Song
When I compile jdk 1.5 on amd64 as root, dmesg report: warning: resource shortage: 1 pages of swap lost extent_alloc_subregion: can't allocate region descriptor extent_alloc_subregion: can't allocate region descriptor extent_alloc_subregion: can't allocate region descriptor extent_alloc_subregion:

GENERIC.MP - DELL PowerEdge 2950 works OK

2008-03-06 Thread Dongsheng Song
OpenBSD 4.3 (GENERIC.MP) #1579: Tue Mar 4 15:00:17 MST 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2142175232 (2042MB) avail mem = 2068545536 (1972MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x7fb9c000 (64 entries) bios0: vendor Dell Inc. version

GENERIC - DELL PowerEdge 2950 works OK

2008-03-06 Thread Dongsheng Song
OpenBSD 4.3 (GENERIC) #1365: Tue Mar 4 14:47:58 MST 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 2142175232 (2042MB) avail mem = 2068672512 (1972MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x7fb9c000 (64 entries) bios0: vendor Dell Inc. version "2.0.1

Why use fixed RELXDIR ?

2008-03-05 Thread Dongsheng Song
Why use fixed RELXDIR ? snippet from /usr/src/distrib/*/iso/Makefile: .include "${TOP}/Makefile.inc" CDROM= install${REV}.iso RELXDIR=/home/relx-${MACHINE} RELDIR?=/home/rel-${MACHINE} Is it a typo, or advisement? Can we move CDROM, RELXDIR, and RELDIR to '${TOP}/Makefi

Re: xenocara source

2008-02-29 Thread Dongsheng Song
Yes, I'd like use /usr/xenocara, not /usr/src/xenocara. 2008/3/1, J.C. Roberts <[EMAIL PROTECTED]>: > According to FAQ-5, the suggested place to put your xenocara source tree > is under /usr/src/xenocara > > I know it really doesn't matter where you put your xenocara tree but... > > For the sak

[PATCH] g++ 4.3 broken on OpenBSD

2008-02-14 Thread Dongsheng Song
Danny, this can't work on OpenBSD. please apply this patch. Index: libstdc++-v3/config/os/generic/error_constants.h === --- libstdc++-v3/config/os/generic/error_constants.h(revision 132311) +++ libstdc++-v3/config/os/generic/error

Results for 4.2.3 20080125 (prerelease) testsuite on i386-unknown-openbsd4.2

2008-01-31 Thread Dongsheng Song
LAST_UPDATED: Obtained from SVN: tags/gcc-4_2_3-rc1 revision 131847 Native configuration is i386-unknown-openbsd4.2 === g++ tests === Running target unix FAIL: g++.dg/cpp/_Pragma1.C (test for excess errors) FAIL: g++.dg/ext/complit4.C (test for excess errors) WARNING: g++.dg/ext

Re: Can I use citrus for current ?

2008-01-23 Thread Dongsheng Song
Perfect ! Thank you very much ! Now I can throw away citrus patch of 20071008. Dongsheng 2008/1/21, Jung <[EMAIL PROTECTED]>: > > if you want to use that patch, you need some modification that you can > use the patch for current. > > i knew, no public cvs > > i think, if you want to use a korea

Re: gcc 4.2

2008-01-11 Thread Dongsheng Song
I encounter same error for some other packages, when I set: CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" It works fine. 2008/1/12, Private Joker <[EMAIL PROTECTED]>: > > Folks, > > I am trying to compile GCC 4.2 from ports, and I keep > getting the same error... with OpenBSD 4.2 and

Re: Can I specify the bios time offset utc?

2007-12-11 Thread Dongsheng Song
Yesterday, after a long time, it give me a empty page. Today, It's OK. 2007/12/12, Nick Guenther <[EMAIL PROTECTED]>: > On Dec 11, 2007 11:26 AM, Nick Guenther <[EMAIL PROTECTED]> wrote: > > On Dec 11, 2007 12:58 AM, Dongsheng Song <[EMAIL PROTECTED]> wrote: > &

Re: Can I specify the bios time offset utc?

2007-12-10 Thread Dongsheng Song
Thanks, but I can NOT open the page, could you excerpt for me ? 2007/12/11, Darren Spruell <[EMAIL PROTECTED]>: > On Dec 10, 2007 9:58 PM, Dongsheng Song <[EMAIL PROTECTED]> wrote: > > OpenBSD assume bios time is utc, but it's PRC, can I tell OpenBSD the > > bios

Can I specify the bios time offset utc?

2007-12-10 Thread Dongsheng Song
OpenBSD assume bios time is utc, but it's PRC, can I tell OpenBSD the bios time zone? Dongsheng

Re: Compile jdk-1_5_0_12 on OpenBSD 4.2

2007-12-08 Thread Dongsheng Song
ild 1.5.0_13-p7-root_08_dec_2007_20_36) Java HotSpot(TM) Server VM (build 1.5.0_13-p7-root_08_dec_2007_20_36, mixed mode) 2007/12/7, Kurt Miller <[EMAIL PROTECTED]>: > On Friday 07 December 2007 5:15:13 am Dongsheng Song wrote: > > When I compile jdk from port, after few hours, errors

Compile jdk-1_5_0_12 on OpenBSD 4.2

2007-12-07 Thread Dongsheng Song
When I compile jdk from port, after few hours, errors occured: ... /usr/bin/touch /usr/ports-4.2/devel/jdk/1.5/w-jdk-1.5.0.12/control/build/bsd-i586/tmp/sun/sun.awt/awt/obj/.class.headers.i586 /usr/bin/gcc -O2 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -pipe -fno-omit-frame