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

During the building, OpenBSD system frozen without any exception messages,
I must do power off and power on manually.

I'm running OpenBSD current:
OpenBSD 5.7-current (GENERIC.MP) #895: Wed Mar 18 18:55:03 MDT 2015

Which download and install from
http://ftp.openbsd.org/pub/OpenBSD/snapshots/amd64/install57.iso

Regards,
Cauchy



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 weezeld...@gmail.com
wrote:

 On 20 March 2015 at 09:41, Dongsheng Song dongsheng.s...@gmail.com
 wrote:
  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
 
  During the building, OpenBSD system frozen without any exception
 messages,
  I must do power off and power on manually.
 
  I'm running OpenBSD current:
  OpenBSD 5.7-current (GENERIC.MP) #895: Wed Mar 18 18:55:03 MDT 2015
 
  Which download and install from
  http://ftp.openbsd.org/pub/OpenBSD/snapshots/amd64/install57.iso
 
  Regards,
  Cauchy

 Full dmesg?


Here it is:

$ dmesg
OpenBSD 5.7-current (GENERIC.MP) #895: Wed Mar 18 18:55:03 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1056899072 (1007MB)
avail mem = 1020981248 (973MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (364 entries)
bios0: vendor Phoenix Technologies LTD version 6.00 date 04/14/2014
bios0: VMware, Inc. VMware Virtual Platform
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP BOOT APIC MCFG SRAT HPET WAET
acpi0: wakeup devices PCI0(S3) USB_(S1) P2P0(S3) S1F0(S3) S2F0(S3) S3F0(S3)
S4F0(S3) S5F0(S3) S6F0(S3) S7F0(S3) S8F0(S3) S9F0(S3) S10F(S3) S11F(S3)
S12F(S3) S13F(S3) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz, 2600.20 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,MMX,FXSR,SSE,SSE2,SS,HTT,SSE3,PCLMUL,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,HV,NXE,LONG,LAHF,PERF,ITSC
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 65MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz, 2600.27 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,MMX,FXSR,SSE,SSE2,SS,HTT,SSE3,PCLMUL,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,HV,NXE,LONG,LAHF,PERF,ITSC
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz, 2600.28 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,MMX,FXSR,SSE,SSE2,SS,HTT,SSE3,PCLMUL,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,HV,NXE,LONG,LAHF,PERF,ITSC
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz, 2600.44 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,MMX,FXSR,SSE,SSE2,SS,HTT,SSE3,PCLMUL,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,HV,NXE,LONG,LAHF,PERF,ITSC
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 11, 24 pins
acpimcfg0 at acpi0 addr 0xf000, bus 0-127
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpicpu2 at acpi0
acpicpu3 at acpi0
acpibat0 at acpi0: BAT1 not present
acpibat1 at acpi0: BAT2 not present
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: LID_
vmt0 at mainbus0
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x01
ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x01
pci1 at ppb0 bus 1
pcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x08
pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA, channel
0 configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 disabled (no drives)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: NECVMWar, VMware IDE CDR10, 1.00 ATAPI
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x08: SMBus
disabled
VMware VMCI rev 0x10 at pci0 dev 7 function 7 not configured
vga1 at pci0 dev 15 function 0 VMware SVGA II rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
mpi0 at pci0 dev 16 function 0 Symbios Logic 53c1030 rev 0x01: apic 4 int
17
mpi0: 0, firmware 1.3.41.32
scsibus2 at mpi0: 16 targets, initiator 7
sd0 at scsibus2 targ 0 lun 0: VMware, Virtual disk, 1.0 SCSI2 0/direct
fixed
sd0: 32768MB, 512 bytes/sector, 67108864 sectors
mpi0: target 0 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1
ppb1 at pci0 dev 17

Re: kvm with OpenBSD 4.5

2009-04-16 Thread Dongsheng Song
2009/4/16 Brian Jackson i...@theiggy.com:
 it's a module option to the kvm option.

 parm: B  B  B  B  B  oos_shadow:bool


When I set 'oos_shadow=Y' for kvm-84 module, OpenBSD 4.5 stopped
after display 'clock: unknown CMOS layout'.

When I set 'oos_shadow=N' for 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



Re: kvm with OpenBSD 4.5

2009-04-16 Thread Dongsheng Song
No good news, same as kvm-84 vanilla.

2009/4/17 David S. Ahern daah...@cisco.com:
 I believe this is the patch that should fix the problem:

 Index: kvm/arch/x86/kvm/mmu.c
 ===
 --- kvm.orig/arch/x86/kvm/mmu.c
 +++ kvm/arch/x86/kvm/mmu.c
 @@ -1254,7 +1254,7 @@ static struct kvm_mmu_page *kvm_mmu_get_
 B  B  B  B pgprintk(%s: adding gfn %lx role %x\n, __func__, gfn,
role.word);
 B  B  B  B sp-gfn = gfn;
 B  B  B  B sp-role = role;
 - B  B  B  sp-global = role.cr4_pge;
 + B  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 i...@theiggy.com:
 it's a module option to the kvm option.

 parm: B  B  B  B  B  oos_shadow:bool


 When I set 'oos_shadow=Y' for kvm-84 module, OpenBSD 4.5 stopped
 after display 'clock: unknown CMOS layout'.

 When I set 'oos_shadow=N' for 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



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 daah...@cisco.com:
 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.emulators.kvm.devel/30452
 http://article.gmane.org/gmane.comp.emulators.kvm.devel/30453



kvm with OpenBSD 4.5

2009-04-15 Thread Dongsheng Song
Can any one run OpenBSD 4.5[1,2] under kvm ?

I run OpenBSD 4.4 under Debian 5.0 amd64(linux 2.6.26 with kvm-72)
fine, and snapshots older than 2009-04.

The new snapshots can install smoothly, but stopped at
display 'setting tty flags'.

[1] ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/i386/
[2] ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/amd64/

--
Dongsheng Song



Re: Testing in a virtual environment

2009-01-06 Thread Dongsheng Song
I'm  run kvm-72 in debian 5.0(lenny) amd64, dell 2950.
Only OpenBSD-x64 vm has such problem, the Linux-x64 vm running good.

2009/1/7 tico t...@raapid.net:
 Dongsheng,

 I've been able to reproduce (what appears to be) your problem on my i386 kvm
 box.
 In my case, using CPU scaling (apmd) on my OpenBSD client would cause it to
 get screwy and lose the clock source if I alternately let it run idle and
 then ran a bunch of CPU or I/O intensive tasks on it.

 Some googling appears that this is a known problem with some versions of KVM
 not emulating the RTC correctly, though I'm not 100% sure, as I'm not a KVM
 developer. Folks have recommended disabling HPET in the BIOS and/or making
 sure that the host linux kernel has HPET_EMULATE_RTC set in the .config
 though I experienced this problem with my OpenBSD guests even with that
 option set in the hosting linux kernel.

 In my case, I found that not enabling apmd at all (and rebooting the guests
 where I *had* enabled it, even once) made the problem much more bearable.
 Basically if the machine is mostly idle I never get the Alternate system
 clock has died message on 'systat -w1 vmstat', and it doesn't lock up
 anymore like it did when apmd was running.

 Now the only issues I have are that under high load I occasionally get
 em0: watchdog timeout -- resetting
 em0: watchdog timeout -- resetting
 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,
 -Tico

 Dongsheng Song wrote:

 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 nic,vlan=0,macaddr=52:54:00:12:34:01,model=e1000 \
-net tap,vlan=0,ifname=tap01,script=no \
-net nic,vlan=1,macaddr=52:54:00:12:34:11,model=e1000 \
-net tap,vlan=1,ifname=tap11,script=no \
-vnc :11 -daemonize

 [dongsh...@x64:~]% w[09-01-05
 21:53:17]
  9:53PM  up 16 days, 13:30, 1 user, load averages: 0.08, 0.08, 0.08
 USERTTY FROM  LOGIN@  IDLE WHAT
 dongsheng p0 116.23.101.68 9:53PM 0 w

 load averages:  0.06,  0.08,  0.08
 21:53:37
 17 processes:  16 idle, 1 on processor
 CPU states:  1.1% user,  0.3% nice, 11.0% system,  7.9% interrupt, 79.7%
 idle
 Memory: Real: 11M/134M act/tot  Free: 852M  Swap: 0K/2055M used/tot

  PID USERNAME PRI NICE  SIZE   RES STATEWAIT  TIMECPU COMMAND
  8430 root   20 1188K 2032K sleepselect0:00  0.00%
 sendmail
 26190 root   20  696K 1344K idle select0:00  0.00% sshd
 26396 _syslogd   20  452K  824K sleeppoll  0:00  0.00% syslogd
 26716 root   20  472K  884K idle select0:00  0.00% cron
 16624 root   20  400K  868K idle select0:00  0.00% inetd
1 root  100  360K  364K idle wait  0:00  0.00% init
 21396 dongshen   20  340K 1416K idle select0:00  0.00%
 ssh-agent
 13401 dongshen  180  976K 3132K sleeppause 0:00  0.00% zsh
 10013 root   20 3372K 3092K idle netio 0:00  0.00% sshd
  7279 root   20  420K  740K idle netio 0:00  0.00% syslogd
 20347 dongshen  280  448K 1496K onproc   - 0:00  0.00% top
 15854 dongshen   20 3344K 2180K sleepselect0:00  0.00% sshd

 2009/1/4 Michiel van Baak mich...@vanbaak.info:


 On 09:41, Sat 03 Jan 09, Daniel A. Ramaley wrote:

 Running OpenBSD under VirtualBox is not stable at all.
 I have good experience running OpenBSD under xen, kvm and vmware-server.



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 nic,vlan=0,macaddr=52:54:00:12:34:01,model=e1000 \
-net tap,vlan=0,ifname=tap01,script=no \
-net nic,vlan=1,macaddr=52:54:00:12:34:11,model=e1000 \
-net tap,vlan=1,ifname=tap11,script=no \
-vnc :11 -daemonize

[dongsh...@x64:~]% w[09-01-05 21:53:17]
 9:53PM  up 16 days, 13:30, 1 user, load averages: 0.08, 0.08, 0.08
USERTTY FROM  LOGIN@  IDLE WHAT
dongsheng p0 116.23.101.68 9:53PM 0 w

load averages:  0.06,  0.08,  0.08 21:53:37
17 processes:  16 idle, 1 on processor
CPU states:  1.1% user,  0.3% nice, 11.0% system,  7.9% interrupt, 79.7% idle
Memory: Real: 11M/134M act/tot  Free: 852M  Swap: 0K/2055M used/tot

  PID USERNAME PRI NICE  SIZE   RES STATEWAIT  TIMECPU COMMAND
 8430 root   20 1188K 2032K sleepselect0:00  0.00% sendmail
26190 root   20  696K 1344K idle select0:00  0.00% sshd
26396 _syslogd   20  452K  824K sleeppoll  0:00  0.00% syslogd
26716 root   20  472K  884K idle select0:00  0.00% cron
16624 root   20  400K  868K idle select0:00  0.00% inetd
1 root  100  360K  364K idle wait  0:00  0.00% init
21396 dongshen   20  340K 1416K idle select0:00  0.00% ssh-agent
13401 dongshen  180  976K 3132K sleeppause 0:00  0.00% zsh
10013 root   20 3372K 3092K idle netio 0:00  0.00% sshd
 7279 root   20  420K  740K idle netio 0:00  0.00% syslogd
20347 dongshen  280  448K 1496K onproc   - 0:00  0.00% top
15854 dongshen   20 3344K 2180K sleepselect0:00  0.00% sshd

2009/1/4 Michiel van Baak mich...@vanbaak.info:
 On 09:41, Sat 03 Jan 09, Daniel A. Ramaley wrote:

 Running OpenBSD under VirtualBox is not stable at all.
 I have good experience running OpenBSD under xen, kvm and vmware-server.



relayd use very much memory and cpu load

2008-12-05 Thread Dongsheng Song
load averages: 12.02, 10.53,  7.52 16:06:15
406 processes: 402 idle, 4 on processor
CPU0 states:  2.6% user,  0.0% nice,  5.8% system, 90.8% interrupt,  0.8% idle
CPU1 states: 24.9% user,  0.0% nice, 34.1% system,  0.0% interrupt, 41.0% idle
CPU2 states: 41.6% user,  0.0% nice, 29.1% system,  0.0% interrupt, 29.3% idle
CPU3 states: 36.7% user,  0.0% nice, 37.3% system,  0.0% interrupt, 26.1% idle
Memory: Real: 1520M/2203M act/tot  Free: 1025M  Swap: 810M/8525M used/tot

  PID USERNAME PRI NICE  SIZE   RES STATEWAIT  TIMECPU COMMAND
 5604 _relayd20 1625M  489M sleep/0  kqread4:22 40.77% relayd
12930 _relayd   640 1609M  936M onproc/1 - 5:05 44.87% relayd
31442 _openlda   20  287M  468K sleep/3  poll  0:24  0.00% slapd
15675 root  530   53M   18M onproc/3 - 0:36  5.96% ntop
14940 named  20   18M 9016K sleep/1  select2:24  0.63% named
21733 named  20 7476K 1176K sleep/2  select0:04  0.00% named
...

 OpenBSD 4.4-current (GENERIC.MP) #3: Mon Oct 20 17:22:06 CST 2008

 tcp protocol std_tcp {
 tcp { nodelay, socket buffer 65536 }
 }

 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) kvm box for OpenBSD
 Translation
 Status[1] at lease one month, it's fine!

 For me, OpenBSD 4.4 on KVM/HVM in 32-bit mode is painful: I keep
 getting a watchdog message from the OpenBSD kernel related to the NIC
 that causes any ongoing TCP transfer from halt for a few seconds.

 Have you seen this?



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. Rickauer wrote:

 Those of you interested in running OpenBSD as a Xen guest in
 XenEnterprise might want to use this opportunity to raise their voice:

 http://forums.citrix.com/thread.jspa?threadID=151525


 Stephan, thanks for the notice -- I just posted my $0.02 on that board as
 well. If you manage to make any progress in your efforts (or any one else's)
 to run OpenBSD under Xen with any amount of usefulness, I'd be interested to
 hear about it. Feel free to contact me off-list.

 Cheers!
 -Tico

 Don't know if it fits your project, but have you tried KVM? Read at least
 Ubuntu is moving to it since some issues with licenses and code with Xen,
 don't know in depth what was.
 I have some OpenBSD's installed in KVM with no issues using the e1000
 emulated nic (em0 in OpenBSD) for some network test setups.

 HTH,
 DS



How to load balancing between lan and adsl ?

2008-10-21 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 - Connection reset by peer

2008-08-14 Thread Dongsheng Song
I have a adsl used by windows, it's fine. When I used in OpenBSD:

# cat /etc/ppp/ppp.conf
default:
 set log Phase Chat LCP IPCP CCP tun debug command
 set redial 15+5 0
 set reconnect 30 1

pppoe:
 set device !/usr/sbin/pppoe -i bge0
 set mtu max 1492
 set mru max 1492
 set speed sync
 set dial
 set login
 enable dns
 disable acfcomp protocomp
 deny acfcomp
 enable lqr
 enable mssfixup
 set authname [EMAIL PROTECTED]
 set authkey yyy

# ppp -ddial pppoe

# Aug 14 16:44:28 proxy ppp[23798]: Phase: Using interface: tun1
Aug 14 16:44:28 proxy ppp[23798]: Phase: deflink: Created in closed state
Aug 14 16:44:28 proxy ppp[23798]: tun1: Command: default: set redial 15+5 0
Aug 14 16:44:28 proxy ppp[23798]: tun1: Command: default: set reconnect 30 1
Aug 14 16:44:28 proxy ppp[23798]: tun1: Command: pppoe: set device
!/usr/sbin/pppoe -i bge0
Aug 14 16:44:28 proxy ppp[23798]: tun1: Command: pppoe: set mtu max 1492
Aug 14 16:44:28 proxy ppp[23798]: tun1: Command: pppoe: set mru max 1492
Aug 14 16:44:28 proxy ppp[23798]: tun1: Command: pppoe: set speed sync
Aug 14 16:44:28 proxy ppp[23798]: tun1: Command: pppoe: set dial
Aug 14 16:44:28 proxy ppp[23798]: tun1: Command: pppoe: set login
Aug 14 16:44:28 proxy ppp[23798]: tun1: Command: pppoe: enable dns
Aug 14 16:44:28 proxy ppp[23798]: tun1: Command: pppoe: disable
acfcomp protocomp
Aug 14 16:44:28 proxy ppp[23798]: tun1: Command: pppoe: deny acfcomp
Aug 14 16:44:28 proxy ppp[23798]: tun1: Command: pppoe: enable lqr
Aug 14 16:44:28 proxy ppp[23798]: tun1: Command: pppoe: enable mssfixup
Aug 14 16:44:28 proxy ppp[23798]: tun1: Command: pppoe: set authname
[EMAIL PROTECTED]
Aug 14 16:44:28 proxy ppp[23798]: tun1: Command: pppoe: set authkey 
Aug 14 16:44:28 proxy ppp[23119]: tun1: Phase: PPP Started (ddial mode).
Aug 14 16:44:28 proxy ppp[23119]: tun1: Phase: bundle: Establish
Aug 14 16:44:28 proxy ppp[23119]: tun1: Phase: deflink: closed - opening
Aug 14 16:44:28 proxy ppp[23119]: tun1: Phase: deflink: Connected!
Aug 14 16:44:28 proxy ppp[23119]: tun1: Phase: deflink: opening - dial
Aug 14 16:44:28 proxy ppp[23119]: tun1: Phase: deflink: dial - carrier
Aug 14 16:44:28 proxy ppp[23119]: tun1: Phase: deflink: carrier - login
Aug 14 16:44:28 proxy ppp[23119]: tun1: Phase: deflink: login - lcp
Aug 14 16:44:28 proxy ppp[23119]: tun1: LCP: FSM: Using deflink as a transport
Aug 14 16:44:28 proxy ppp[23119]: tun1: LCP: deflink: State change
Initial -- Closed
Aug 14 16:44:28 proxy ppp[23119]: tun1: LCP: deflink: State change
Closed -- Stopped
Aug 14 16:44:28 proxy ppp[23119]: tun1: Phase: deflink: read (0):
Connection reset by peer
Aug 14 16:44:28 proxy ppp[23119]: tun1: LCP: deflink: State change
Stopped -- Closed
Aug 14 16:44:28 proxy ppp[23119]: tun1: LCP: deflink: State change
Closed -- Initial
Aug 14 16:44:28 proxy ppp[23119]: tun1: Phase: deflink: Disconnected!
Aug 14 16:44:28 proxy ppp[23119]: tun1: Phase: deflink: lcp - logout
Aug 14 16:44:28 proxy ppp[23119]: tun1: Phase: deflink: logout - hangup
Aug 14 16:44:28 proxy ppp[23119]: tun1: Phase: deflink: Disconnected!
Aug 14 16:44:28 proxy ppp[23119]: tun1: Phase: deflink: Connect time:
0 secs: 45 octets in, 0 octets out
Aug 14 16:44:28 proxy ppp[23119]: tun1: Phase: deflink: 4 packets in,
0 packets out
Aug 14 16:44:28 proxy ppp[23119]: tun1: Phase:  total 45 bytes/sec,
peak 0 bytes/sec on Thu Aug 14 16:44:28 2008
Aug 14 16:44:28 proxy ppp[23119]: tun1: Phase: deflink: HUPing 28945
Aug 14 16:44:28 proxy ppp[23119]: tun1: Phase: deflink: hangup - 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



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

2008-08-14 Thread Dongsheng Song
When I user pppoe(4):

# cat /etc/hostname.bge0
up

# cat /etc/hostname.pppoe0
inet 0.0.0.0 255.255.255.255 NONE \
pppoedev bge0 authproto pap \
authname '[EMAIL PROTECTED]' authkey 'yyy' up
dest 0.0.0.1
!/sbin/route add -inet 59.37.173.0/24 0.0.0.1

I got error pap failure: 22:

Aug 15 09:48:38 proxy /bsd: pppoe0: disconnecting
Aug 15 09:48:38 proxy /bsd: pppoe0: lcp down(stopped)
Aug 15 09:48:38 proxy /bsd: pppoe0: lcp stopped-starting
Aug 15 09:48:38 proxy /bsd: pppoe0: phase establish
Aug 15 09:48:38 proxy /bsd: pppoe0 (8863) state=1, session=0x0 output
- ff:ff:ff:ff:ff:ff, len=18
Aug 15 09:48:38 proxy /bsd: pppoe0: Down event (carrier loss), taking
interface down.7pppoe0: lcp close(starting)
Aug 15 09:48:38 proxy /bsd: pppoe0: lcp starting-initial
Aug 15 09:48:38 proxy /bsd: pppoe0: phase dead
Aug 15 09:48:38 proxy /bsd: pppoe0 (8863) state=2, session=0x0 output
- 00:90:1a:41:d2:86, len=38
Aug 15 09:48:38 proxy /bsd: pppoe0: session 0x18d connected
Aug 15 09:48:38 proxy /bsd: pppoe0: lcp open(initial)
Aug 15 09:48:38 proxy /bsd: pppoe0: lcp initial-starting
Aug 15 09:48:38 proxy /bsd: pppoe0: phase establish
Aug 15 09:48:38 proxy /bsd: pppoe0: lcp up(starting)
Aug 15 09:48:38 proxy /bsd: pppoe0: lcp starting-req-sent
Aug 15 09:48:38 proxy /bsd: pppoe0: lcp output conf-req id=0x40
len=10 05-06-a9-ff-60-ba
Aug 15 09:48:38 proxy /bsd: pppoe0 (8864) state=3, session=0x18d
output - 00:90:1a:41:d2:86, len=18
Aug 15 09:48:39 proxy /bsd: pppoe0: lcp input(req-sent): conf-req
id=0xc0 len=18 
01-04-05-d4-03-04-c0-23-05-06-0c-ed-39-6b-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
Aug 15 09:48:39 proxy /bsd: pppoe0: lcp parse opts: mru auth-proto magic
Aug 15 09:48:39 proxy /bsd: pppoe0: lcp parse opt values: mru 1492
auth-proto magic 0xced396b send conf-ack
Aug 15 09:48:39 proxy /bsd: pppoe0: lcp output conf-ack id=0xc0
len=18 01-04-05-d4-03-04-c0-23-05-06-0c-ed-39-6b
Aug 15 09:48:39 proxy /bsd: pppoe0 (8864) state=3, session=0x18d
output - 00:90:1a:41:d2:86, len=26
Aug 15 09:48:39 proxy /bsd: pppoe0: lcp req-sent-ack-sent
Aug 15 09:48:39 proxy /bsd: pppoe0: lcp input(ack-sent): conf-ack
id=0x40 len=10 
05-06-a9-ff-60-ba-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
Aug 15 09:48:39 proxy /bsd: pppoe0: lcp ack-sent-opened
Aug 15 09:48:39 proxy /bsd: pppoe0: lcp tlu
Aug 15 09:48:39 proxy /bsd: pppoe0: up
Aug 15 09:48:39 proxy /bsd: pppoe0: phase authenticate
Aug 15 09:48:39 proxy /bsd: pppoe0: pap output req id=0x41 len=34
14-67-7a-44-53-4c-33-37-38-38-33-37-30-38-40-31-36-33-2e-67-64-08-44-56-42-4c-50-42-4d-4e
Aug 15 09:48:39 proxy /bsd: pppoe0 (8864) state=3, session=0x18d
output - 00:90:1a:41:d2:86, len=42
Aug 15 09:48:40 proxy /bsd: pppoe0: pap peer TO
Aug 15 09:48:40 proxy /bsd: pppoe0: pap output req id=0x42 len=34
14-67-7a-44-53-4c-33-37-38-38-33-37-30-38-40-31-36-33-2e-67-64-08-44-56-42-4c-50-42-4d-4e
Aug 15 09:48:40 proxy /bsd: pppoe0 (8864) state=3, session=0x18d
output - 00:90:1a:41:d2:86, len=42
Aug 15 09:48:41 proxy /bsd: pppoe0: pap failure: 22
Aug 15 09:48:41 proxy /bsd: pppoe0: lcp input(opened): term-req
id=0xc1 len=4 
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
Aug 15 09:48:41 proxy /bsd: pppoe0: lcp opened-stopping
Aug 15 09:48:41 proxy /bsd: pppoe0: phase terminate
Aug 15 09:48:41 proxy /bsd: pppoe0: lcp send terminate-ack
Aug 15 09:48:41 proxy /bsd: pppoe0: lcp output term-ack id=0xc1 len=4
Aug 15 09:48:41 proxy /bsd: pppoe0 (8864) state=3, session=0x18d
output - 00:90:1a:41:d2:86, len=12
Aug 15 09:48:51 proxy /bsd: pppoe0: lcp TO(stopping) rst_counter = 0
Aug 15 09:48:51 proxy /bsd: pppoe0: lcp stopping-stopped
Aug 15 09:48:51 proxy /bsd: pppoe0: phase dead
Aug 15 09:48:51 proxy /bsd: pppoe0: timeout
Aug 15 09:48:51 proxy /bsd: pppoe0: disconnecting
Aug 15 09:48:51 proxy /bsd: pppoe0: lcp down(stopped)
Aug 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 recommend
 you take a look at the kernel pppoe driver: pppoe(4). It's
 very simple to configure and works as good as pppoe can
 work.

 --
 Antti Harri



libpcap aligned problem under amd64 box

2008-08-13 Thread Dongsheng Song
When I use pcap_next_ex like this:

   struct pcap_pkthdr *pkthdr;
   ...
   pcap_next_ex(p, pkthdr, pktp);

The returned pkthdr is invalid !  After do some trick like this:

   struct a4_pcap_pkthdr {
  u_int32_t   tv_sec;
  u_int32_t   tv_usec;
  u_int32_t caplen; /* length of portion present */
  u_int32_t len;/* length this packet (off wire) */
   } __attribute__ ((aligned (4)));

   ...
   struct pcap_pkthdr *pkthdr;
   struct a4_pcap_pkthdr *pkthdr2;
   ...
   pcap_next_ex(p, pkthdr, pktp);
   pkthdr2 = (struct a4_pcap_pkthdr *) 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-10 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 proxy /bsd: pf: loose state match: TCP in wire:
 192.168.4.132:3833 58.253.67.248:80 stack: - [lo=3472355129
 high=3472419308 win=65535 modulator=0] [lo=3167937694 high=3168002906
 win=64857 modulator=0] 10:10 R seq=3472355129 (3472354451)
 ack=3167937694 len=0 ackskew=0 pkts=5:3 dir=in,fwd
 Jul 10 08:43:37 proxy /bsd: pf: wire key attach failed on all: TCP out
 wire: 219.149.124.163:80 210.21.12.116:50157 [lo=1492402397
 high=1492402399 win=14600 modulator=0] [lo=0 high=1 win=1 modulator=0]
 2:0
 Jul 10 08:43:37 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

 Appears you turned pf debugging on--try 'pfctl -x none' to shut it off.



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

2008-07-09 Thread Dongsheng Song
I searched /etc/syslog.conf, but can't find how to disable it.

Jul 10 08:40:04 proxy /bsd: pf: loose state match: TCP in wire:
192.168.4.132:3833 58.253.67.248:80 stack: - [lo=3472355129
high=3472419308 win=65535 modulator=0] [lo=3167937694 high=3168002906
win=64857 modulator=0] 10:10 R seq=3472355129 (3472354451)
ack=3167937694 len=0 ackskew=0 pkts=5:3 dir=in,fwd
Jul 10 08:43:37 proxy /bsd: pf: wire key attach failed on all: TCP out
wire: 219.149.124.163:80 210.21.12.116:50157 [lo=1492402397
high=1492402399 win=14600 modulator=0] [lo=0 high=1 win=1 modulator=0]
2:0
Jul 10 08:43:37 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



dhcpd with shared-network in OpenBSD

2008-06-16 Thread Dongsheng Song
I have been configured dhcpd with shared-network, but the client
doesn't get the correct ip.

Here is the dhcpd log:


Jun 16 13:23:22 proxy dhcpd: DHCPINFORM from 192.168.4.146
Jun 16 13:23:25 proxy dhcpd: DHCPINFORM from 192.168.4.146
Jun 16 13:23:30 proxy dhcpd: DHCPDISCOVER from 00:c0:9f:6b:61:f1 via
192.168.9.254
Jun 16 13:23:30 proxy dhcpd: DHCPOFFER on 192.168.1.101 to
00:c0:9f:6b:61:f1 via 192.168.9.254
Jun 16 13:23:34 proxy dhcpd: DHCPDISCOVER from 00:c0:9f:6b:61:f1 via
192.168.9.254
Jun 16 13:23:34 proxy dhcpd: DHCPOFFER on 192.168.1.101 to
00:c0:9f:6b:61:f1 via 192.168.9.254
Jun 16 13:23:42 proxy dhcpd: DHCPDISCOVER from 00:c0:9f:6b:61:f1 via
192.168.9.254
Jun 16 13:23:42 proxy dhcpd: DHCPOFFER on 192.168.1.101 to
00:c0:9f:6b:61:f1 via 192.168.9.254
Jun 16 13:23:58 proxy dhcpd: DHCPDISCOVER from 00:c0:9f:6b:61:f1 via
192.168.9.254
Jun 16 13:23:58 proxy dhcpd: DHCPOFFER on 192.168.1.101 to
00:c0:9f:6b:61:f1 via 192.168.9.254
Jun 16 13:24:36 proxy dhcpd: DHCPDISCOVER from 00:c0:9f:6b:61:f1 via
192.168.9.254
Jun 16 13:24:36 proxy dhcpd: DHCPOFFER on 192.168.1.101 to
00:c0:9f:6b:61:f1 via 192.168.9.254
Jun 16 13:24:36 proxy dhcpd: DHCPREQUEST for 192.168.1.101 from
00:c0:9f:6b:61:f1 via 192.168.9.254
Jun 16 13:24:36 proxy dhcpd: DHCPACK on 192.168.1.101 to
00:c0:9f:6b:61:f1 via 192.168.9.254
Jun 16 13:24:47 proxy dhcpd: DHCPINFORM from 192.168.4.146
Jun 16 13:24:52 proxy dhcpd: DHCPINFORM from 192.168.4.146


Host 00:c0:9f:6b:61:f1 should not get ip 192.168.1.101, should be in
subnet 192.168.4.0/24.

Here is dhcpd.conf:


authoritative;

shared-network dhcp {

default-lease-time 14400;
max-lease-time 43200;

option domain-name example.com;
option www-server 192.168.0.1;
option smtp-server 192.168.0.1;
option pop-server 192.168.0.1;
option ntp-servers 192.168.0.1;
option domain-name-servers 192.168.0.1, 210.21.4.130, 202.96.128.166;

subnet 192.168.0.0 netmask 255.255.255.0 {
option routers 192.168.0.1;
range 192.168.0.50 192.168.0.149;
}

subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
range 192.168.1.50 192.168.1.149;
}

subnet 192.168.2.0 netmask 255.255.255.0 {
option routers 192.168.2.1;
range 192.168.2.50 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



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



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.

 If they are on the same subnet, you'll need to list the machines by MAC 
 address
 or dhcpd can't know which machine you want in which subnet...

 --
 Jussi Peltola



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.201 255.255.255.0 NONE vlan 10 vlandev
${int_if}  /etc/hostname.vlan0
/bin/echo inet 192.168.1.201 255.255.255.0 NONE vlan 11 vlandev
${int_if}  /etc/hostname.vlan1
...

2.  use normal subnet directive in dhcpd.conf, NOT shared-network !

authoritative;

default-lease-time 14400;
max-lease-time 43200;

option domain-name example.com;
option domain-name-servers 192.168.0.1, 210.21.4.130, 202.96.128.166;

subnet 192.168.0.0 netmask 255.255.255.0 {
option routers 192.168.0.1;
range 192.168.0.50 192.168.0.149;
}

subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
range 192.168.1.50 192.168.1.149;
}
...

3.  run dhcpd, no vlan dev required for arguments

dhcpd -df ${int_if}

2008/6/16 Fernando Quintero [EMAIL PROTECTED]:
 You need create vlans interfaces in order to work with dhcp and a switch
 with vlans.

 Create each vlan in the openbsd server and run the dhcp daemon on these,
 using the dhcpd_flags= in rc.conf

 #ifconfig vlan0 create
 #ifconfig vlan0 100 vlandev fxp0

 where 100 is the vlan tag, and fxp0 is the real nic.

 create so vlans as you need.

 remember create /etc/hostname.vlanX files to keep the conf after reboot.

 then you can try:

 #dhcpd fxp0 vlan0 vlan1 vlan2 ...

 and try again.



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 LightPulse Fibre
Channel Host Adapter (rev 02)
10:00.0 Fibre Channel: Emulex Corporation Zephyr LightPulse Fibre
Channel Host Adapter (rev 02)

# multipath -ll -v 1
1HITACHI_730155670007
1HITACHI_730155670006
1HITACHI_730155670005
1HITACHI_730155670004
1HITACHI_730155670003
1HITACHI_730155670002
1HITACHI_730155670001
1HITACHI_73015567

# multipath -ll -v 2
1HITACHI_730155670007dm-15 HITACHI,DF600F
[size=207G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][active]
 \_ 1:0:0:7 sdi 8:128 [active][ready]
\_ round-robin 0 [prio=0][enabled]
 \_ 2:0:0:7 sdq 65:0  [active][ready]
1HITACHI_730155670006dm-14 HITACHI,DF600F
[size=200G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][active]
 \_ 2:0:0:6 sdp 8:240 [active][ready]
\_ round-robin 0 [prio=0][enabled]
 \_ 1:0:0:6 sdh 8:112 [active][ready]
1HITACHI_730155670005dm-13 HITACHI,DF600F
[size=200G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][active]
 \_ 1:0:0:5 sdg 8:96  [active][ready]
\_ round-robin 0 [prio=0][enabled]
 \_ 2:0:0:5 sdo 8:224 [active][ready]
1HITACHI_730155670004dm-12 HITACHI,DF600F
[size=200G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][active]
 \_ 2:0:0:4 sdn 8:208 [active][ready]
\_ round-robin 0 [prio=0][enabled]
 \_ 1:0:0:4 sdf 8:80  [active][ready]
1HITACHI_730155670003dm-11 HITACHI,DF600F
[size=200G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][active]
 \_ 1:0:0:3 sde 8:64  [active][ready]
\_ round-robin 0 [prio=0][enabled]
 \_ 2:0:0:3 sdm 8:192 [active][ready]
1HITACHI_730155670002dm-10 HITACHI,DF600F
[size=200G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][active]
 \_ 2:0:0:2 sdl 8:176 [active][ready]
\_ round-robin 0 [prio=0][enabled]
 \_ 1:0:0:2 sdd 8:48  [active][ready]
1HITACHI_730155670001dm-9 HITACHI,DF600F
[size=200G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][active]
 \_ 1:0:0:1 sdc 8:32  [active][ready]
\_ round-robin 0 [prio=0][enabled]
 \_ 2:0:0:1 sdk 8:160 [active][ready]
1HITACHI_73015567dm-8 HITACHI,DF600F
[size=200G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][active]
 \_ 2:0:0:0 sdj 8:144 [active][ready]
\_ round-robin 0 [prio=0][enabled]
 \_ 1:0:0:0 sdb 8:16  [active][ready]



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-fastdebug/j2sdk-image
mkdir -p 
/var/ports/obj/jdk-1.7.0.00/openjdk7-b24/build/bsd-i586-fastdebug/j2sdk-image
/bin/sh: /NOT-SET/devtools/share/findbugs/latest/bin/findbugs: not found
gmake[1]: Entering directory `/var/ports/obj/jdk-1.7.0.00/openjdk7-b24/jdk/make'
/var/ports/obj/jdk-1.7.0.00/openjdk7-b24/jdk/make/common/shared/Sanity-Settings.gmk:117:
WARNING: FINDBUGS_VER should not be empty [Sanity-Settings.gmk]
gmake[2]: Entering directory
`/var/ports/obj/jdk-1.7.0.00/openjdk7-b24/jdk/make/tools/freetypecheck'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory
`/var/ports/obj/jdk-1.7.0.00/openjdk7-b24/jdk/make/tools/freetypecheck'
gmake[1]: Leaving directory `/var/ports/obj/jdk-1.7.0.00/openjdk7-b24/jdk/make'

Build Machine Information:
   build machine = dev.g11n.org

Build Directory Structure:
   CWD = /var/ports/obj/jdk-1.7.0.00/openjdk7-b24
   TOPDIR = .
   CONTROL_TOPDIR = .
   LANGTOOLS_TOPDIR = ./langtools
   JAXP_TOPDIR = ./jaxp
   JAXWS_TOPDIR = ./jaxws
   CORBA_TOPDIR = ./corba
   HOTSPOT_TOPDIR = ./hotspot
   JDK_TOPDIR = ./jdk

Build Directives:
   BUILD_LANGTOOLS = true
   BUILD_JAXP = true
   BUILD_JAXWS = true
   BUILD_CORBA = true
   BUILD_HOTSPOT = true
   BUILD_JDK= true

Hotspot Settings:
  HOTSPOT_BUILD_JOBS  = 1
  HOTSPOT_OUTPUTDIR   =
/var/ports/obj/jdk-1.7.0.00/openjdk7-b24/build/bsd-i586/hotspot/outputdir
  HOTSPOT_EXPORT_PATH =
/var/ports/obj/jdk-1.7.0.00/openjdk7-b24/build/bsd-i586/hotspot/import




Bootstrap Settings:
  BOOTDIR = /usr/local/jdk-1.6.0
ALT_BOOTDIR = /usr/local/jdk-1.6.0
  BOOT_VER = 1.6 [requires at least 1.5]
  OUTPUTDIR = /var/ports/obj/jdk-1.7.0.00/openjdk7-b24/build/bsd-i586
ALT_OUTPUTDIR = /var/ports/obj/jdk-1.7.0.00/openjdk7-b24/build/bsd-i586
  ABS_OUTPUTDIR = /var/ports/obj/jdk-1.7.0.00/openjdk7-b24/build/bsd-i586

Build Tool Settings:
  SLASH_JAVA = /NOT-SET
ALT_SLASH_JAVA =
  VARIANT = OPT
  JDK_DEVTOOLS_DIR = /NOT-SET/devtools
ALT_JDK_DEVTOOLS_DIR =
  ANT_HOME = /usr/local
  FINDBUGS_HOME = /NOT-SET/devtools/share/findbugs/latest
  UNIXCOMMAND_PATH = /bin/
ALT_UNIXCOMMAND_PATH =
  COMPILER_PATH = /usr/bin/
ALT_COMPILER_PATH =
  DEVTOOLS_PATH = /usr/bin/
ALT_DEVTOOLS_PATH =
  COMPILER_NAME = GCC
  COMPILER_VERSION =
  CC_VER = 3.3 [requires at least 3.2]
  ZIP_VER = 2.32 [requires at least 2.2]
  UNZIP_VER = 5.52 [requires at least 5.12]
  ANT_VER = 1.7 [requires at least 1.6.3]
  TEMPDIR = /var/ports/obj/jdk-1.7.0.00/openjdk7-b24/build/bsd-i586/tmp

Build Directives:
  OPENJDK = true
  USE_HOTSPOT_INTERPRETER_MODE =
  PEDANTIC =
  DEV_ONLY =
  NO_DOCS = true
  NO_IMAGES =
  TOOLS_ONLY =
  INSANE =
  COMPILE_APPROACH = parallel
  PARALLEL_COMPILE_JOBS = 2
ALT_PARALLEL_COMPILE_JOBS =
  FASTDEBUG =
  COMPILER_WARNINGS_FATAL = false
  COMPILER_WARNING_LEVEL =
  INCREMENTAL_BUILD = false
  CC_HIGHEST_OPT = -O3
  CC_HIGHER_OPT = -O3
  CC_LOWER_OPT = -O2
  CXXFLAGS =  -O2  -fPIC -DCC_NOEX -W -Wall  -Wno-unused
-Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN
  CFLAGS =  -O2-fno-strict-aliasing -fPIC -W -Wall  -Wno-unused
-Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN
  BOOT_JAVA_CMD = /usr/local/jdk-1.6.0/bin/java  -client -Xmx-33m
-Xms-41m -XX:PermSize=32m -XX:MaxPermSize=96m
  BOOT_JAVAC_CMD = /usr/local/jdk-1.6.0/bin/javac
-J-XX:ThreadStackSize=768 -J-client -J-Xmx-33m -J-Xms-41m
-J-XX:PermSize=32m -J-XX:MaxPermSize=96m -encoding ascii
  BOOT_JAR_CMD = /usr/local/jdk-1.6.0/bin/jar
  BOOT_JARSIGNER_CMD = /usr/local/jdk-1.6.0/bin/jarsigner
  JAVAC_CMD = /usr/local/jdk-1.6.0/bin/java  -client -Xmx-33m -Xms-41m
-XX:PermSize=32m -XX:MaxPermSize=96m
-Xbootclasspath/p:/var/ports/obj/jdk-1.7.0.00/openjdk7-b24/build/bsd-i586/langtools/dist/bootstrap/lib/javac.jar
-jar 
/var/ports/obj/jdk-1.7.0.00/openjdk7-b24/build/bsd-i586/langtools/dist/bootstrap/lib/javac.jar
 -source 1.5 -target 5 -encoding ascii
-Xbootclasspath:/var/ports/obj/jdk-1.7.0.00/openjdk7-b24/build/bsd-i586/classes
  JAVAH_CMD = /usr/local/jdk-1.6.0/bin/java  -client -Xmx-33m -Xms-41m
-XX:PermSize=32m -XX:MaxPermSize=96m
-Xbootclasspath/p:/var/ports/obj/jdk-1.7.0.00/openjdk7-b24/build/bsd-i586/langtools/dist/bootstrap/lib/javah.jar:/var/ports/obj/jdk-1.7.0.00/openjdk7-b24/build/bsd-i586/langtools/dist/bootstrap/lib/javadoc.jar:/var/ports/obj/jdk-1.7.0.00/openjdk7-b24/build/bsd-i586/langtools/dist/bootstrap/lib/javac.jar
-jar 
/var/ports/obj/jdk-1.7.0.00/openjdk7-b24/build/bsd-i586/langtools/dist/bootstrap/lib/javah.jar
-bootclasspath /var/ports/obj/jdk-1.7.0.00/openjdk7-b24/build/bsd-i586/classes
  JAVADOC_CMD = /usr/local/jdk-1.6.0/bin/java  -client -Xmx-33m
-Xms-41m -XX:PermSize=32m -XX:MaxPermSize=96m

Re: Any other Java developers?

2008-03-11 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 native platform?

  ~Mayuresh
  http://mayuresh.kathe.in/



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-09 Thread Dongsheng Song
For idle:
$ swapctl -s
total: 4200966k bytes allocated = 4776k used, 4196190k available

When I not set HOTSPOT_BUILD_JOBS, it trap to ddb.
Could you restrict the HOTSPOT_BUILD_JOBS not by cores, but also by memory ?

Just for interested:  What's the default vaalue for HOTSPOT_BUILD_JOBS
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 configure on this system (swapctl -s)?


   What's PARALLEL_BUILD_JOBS, and their relationship?


 HOTSPOT_BUILD_JOBS controls how many parallel build jobs occur during
  the hotspot portion of the build (mostly c++ compiles).

  PARALLEL_BUILD_JOBS controls how many parallel build jobs occur during
  the rest of the build which I've left at the default.


  -Kurt



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



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 2.0.1 date 10/27/2007
bios0: Dell Inc. PowerEdge 2950
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC SPCR HPET MCFG WD__ SLIC ERST HEST BERT EINJ TCPA
acpi0: wakeup devices PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU E5310 @ 1.60GHz, 1596.13 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,TM2,CX16,xTPR,NXE,LONG
cpu0: 4MB 64b/line 16-way L2 cache
cpu0: apic clock running at 265MHz
cpu1 at mainbus0: apid 4 (application processor)
cpu1: Intel(R) Xeon(R) CPU E5310 @ 1.60GHz, 1595.93 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,TM2,CX16,xTPR,NXE,LONG
cpu1: 4MB 64b/line 16-way L2 cache
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Xeon(R) CPU E5310 @ 1.60GHz, 1595.93 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,TM2,CX16,xTPR,NXE,LONG
cpu2: 4MB 64b/line 16-way L2 cache
cpu3 at mainbus0: apid 5 (application processor)
cpu3: Intel(R) Xeon(R) CPU E5310 @ 1.60GHz, 1595.93 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,TM2,CX16,xTPR,NXE,LONG
cpu3: 4MB 64b/line 16-way L2 cache
cpu4 at mainbus0: apid 2 (application processor)
cpu4: Intel(R) Xeon(R) CPU E5310 @ 1.60GHz, 1595.93 MHz
cpu4: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,TM2,CX16,xTPR,NXE,LONG
cpu4: 4MB 64b/line 16-way L2 cache
cpu5 at mainbus0: apid 6 (application processor)
cpu5: Intel(R) Xeon(R) CPU E5310 @ 1.60GHz, 1595.93 MHz
cpu5: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,TM2,CX16,xTPR,NXE,LONG
cpu5: 4MB 64b/line 16-way L2 cache
cpu6 at mainbus0: apid 3 (application processor)
cpu6: Intel(R) Xeon(R) CPU E5310 @ 1.60GHz, 1595.93 MHz
cpu6: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,TM2,CX16,xTPR,NXE,LONG
cpu6: 4MB 64b/line 16-way L2 cache
cpu7 at mainbus0: apid 7 (application processor)
cpu7: Intel(R) Xeon(R) CPU E5310 @ 1.60GHz, 1595.93 MHz
cpu7: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,TM2,CX16,xTPR,NXE,LONG
cpu7: 4MB 64b/line 16-way L2 cache
ioapic0 at mainbus0 apid 8 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 8
ioapic1 at mainbus0 apid 9 pa 0xfec81000, version 20, 24 pins
ioapic1: misconfigured as apic 0, remapped to apid 9
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 5 (PEX2)
acpiprt2 at acpi0: bus 6 (UPST)
acpiprt3 at acpi0: bus 7 (DWN1)
acpiprt4 at acpi0: bus 9 (DWN2)
acpiprt5 at acpi0: bus 1 (PEX3)
acpiprt6 at acpi0: bus 2 (PE2P)
acpiprt7 at acpi0: bus 11 (PEX4)
acpiprt8 at acpi0: bus 13 (PEX6)
acpiprt9 at acpi0: bus 3 (SBEX)
acpiprt10 at acpi0: bus 15 (COMP)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpicpu2 at acpi0
acpicpu3 at acpi0
acpicpu4 at acpi0
acpicpu5 at acpi0
acpicpu6 at acpi0
acpicpu7 at acpi0
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 Intel 5000X Host rev 0x12
ppb0 at pci0 dev 2 function 0 Intel 5000 PCIE rev 0x12
pci1 at ppb0 bus 5
ppb1 at pci1 dev 0 function 0 Intel 6321ESB PCIE rev 0x01
pci2 at ppb1 bus 6
ppb2 at pci2 dev 0 function 0 Intel 6321ESB PCIE rev 0x01
pci3 at ppb2 bus 7
ppb3 at pci3 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xc3
pci4 at ppb3 bus 8
bnx0 at pci4 dev 0 function 0 Broadcom BCM5708 rev 0x12: apic 8 int 16 (irq 6)
ppb4 at pci2 dev 1 function 0 Intel 6321ESB PCIE rev 0x01: apic 8 int 16 (irq 
0)
pci5 at ppb4 bus 9
ppb5 at pci1 dev 0 function 3 Intel 6321ESB PCIE-PCIX rev 0x01
pci6 at ppb5 bus 10
ppb6 at pci0 dev 3 function 0 Intel 5000 PCIE rev 0x12
pci7 at ppb6 bus 1
ppb7 at pci7 dev 0 function 0 Intel PCIE-PCIE rev 0x09
pci8 at ppb7 bus 2
mpi0 at pci8 dev 8 function 0 Symbios Logic SAS1068 rev 0x01: apic 9 int 0 
(irq 6)
scsibus0 at mpi0: 173 targets
sd0 at scsibus0 targ 0 lun 0: ATA, ST3160815AS, A SCSI3 0/direct fixed
sd0: 152587MB, 152588 cyl, 16 head, 127 sec, 512 bytes/sec, 31250 sec total
ses0 at scsibus0 targ 8 lun 

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 date 10/27/2007
bios0: Dell Inc. PowerEdge 2950
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC SPCR HPET MCFG WD__ SLIC ERST HEST BERT EINJ TCPA
acpi0: wakeup devices PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 5 (PEX2)
acpiprt2 at acpi0: bus 6 (UPST)
acpiprt3 at acpi0: bus 7 (DWN1)
acpiprt4 at acpi0: bus 9 (DWN2)
acpiprt5 at acpi0: bus 1 (PEX3)
acpiprt6 at acpi0: bus 2 (PE2P)
acpiprt7 at acpi0: bus 11 (PEX4)
acpiprt8 at acpi0: bus 13 (PEX6)
acpiprt9 at acpi0: bus 3 (SBEX)
acpiprt10 at acpi0: bus 15 (COMP)
acpicpu0 at acpi0
ipmi at mainbus0 not configured
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel(R) Xeon(R) CPU E5310 @ 1.60GHz, 1596.17 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,TM2,CX16,xTPR,NXE,LONG
cpu0: 4MB 64b/line 16-way L2 cache
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 Intel 5000X Host rev 0x12
ppb0 at pci0 dev 2 function 0 Intel 5000 PCIE rev 0x12
pci1 at ppb0 bus 5
ppb1 at pci1 dev 0 function 0 Intel 6321ESB PCIE rev 0x01
pci2 at ppb1 bus 6
ppb2 at pci2 dev 0 function 0 Intel 6321ESB PCIE rev 0x01
pci3 at ppb2 bus 7
ppb3 at pci3 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xc3
pci4 at ppb3 bus 8
bnx0 at pci4 dev 0 function 0 Broadcom BCM5708 rev 0x12: irq 6
ppb4 at pci2 dev 1 function 0 Intel 6321ESB PCIE rev 0x01: irq 6
pci5 at ppb4 bus 9
ppb5 at pci1 dev 0 function 3 Intel 6321ESB PCIE-PCIX rev 0x01
pci6 at ppb5 bus 10
ppb6 at pci0 dev 3 function 0 Intel 5000 PCIE rev 0x12
pci7 at ppb6 bus 1
ppb7 at pci7 dev 0 function 0 Intel PCIE-PCIE rev 0x09
pci8 at ppb7 bus 2
mpi0 at pci8 dev 8 function 0 Symbios Logic SAS1068 rev 0x01: irq 6
scsibus0 at mpi0: 173 targets
sd0 at scsibus0 targ 0 lun 0: ATA, ST3160815AS, A SCSI3 0/direct fixed
sd0: 152587MB, 152588 cyl, 16 head, 127 sec, 512 bytes/sec, 31250 sec total
ses0 at scsibus0 targ 8 lun 0: DP, BACKPLANE, 1.05 SCSI3 13/enclosure 
services fixed
ppb8 at pci0 dev 4 function 0 Intel 5000 PCIE x8 rev 0x12
pci9 at ppb8 bus 11
ppb9 at pci0 dev 5 function 0 Intel 5000 PCIE rev 0x12
pci10 at ppb9 bus 12
ppb10 at pci0 dev 6 function 0 Intel 5000 PCIE x8 rev 0x12
pci11 at ppb10 bus 13
ppb11 at pci0 dev 7 function 0 Intel 5000 PCIE rev 0x12
pci12 at ppb11 bus 14
pchb1 at pci0 dev 16 function 0 Intel 5000 Error Reporting rev 0x12
pchb2 at pci0 dev 16 function 1 Intel 5000 Error Reporting rev 0x12
pchb3 at pci0 dev 16 function 2 Intel 5000 Error Reporting rev 0x12
pchb4 at pci0 dev 17 function 0 Intel 5000 Reserved rev 0x12
pchb5 at pci0 dev 19 function 0 Intel 5000 Reserved rev 0x12
pchb6 at pci0 dev 21 function 0 Intel 5000 FBD rev 0x12
pchb7 at pci0 dev 22 function 0 Intel 5000 FBD rev 0x12
ppb12 at pci0 dev 28 function 0 Intel 6321ESB PCIE rev 0x09
pci13 at ppb12 bus 3
ppb13 at pci13 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xc3
pci14 at ppb13 bus 4
bnx1 at pci14 dev 0 function 0 Broadcom BCM5708 rev 0x12: irq 6
uhci0 at pci0 dev 29 function 0 Intel 6321ESB USB rev 0x09: irq 11
uhci1 at pci0 dev 29 function 1 Intel 6321ESB USB rev 0x09: irq 10
uhci2 at pci0 dev 29 function 2 Intel 6321ESB USB rev 0x09: irq 11
ehci0 at pci0 dev 29 function 7 Intel 6321ESB USB rev 0x09: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb14 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xd9
pci15 at ppb14 bus 15
vga1 at pci15 dev 13 function 0 ATI ES1000 rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 31 function 0 Intel 6321ESB LPC rev 0x09
pciide0 at pci0 dev 31 function 1 Intel 6321ESB IDE rev 0x09: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: TEAC, CD-ROM CD-224E-N, 3.AC SCSI0 5/cdrom 
removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
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
pcppi0 at isa0 port 0x61
midi0 at 

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: can't allocate region descriptor
extent_alloc_subregion: can't allocate region descriptor

top report:

load averages: 14.06, 11.01,  7.06  
   11:52:56
79 processes:  1 running, 72 idle, 2 stopped, 1 zombie, 3 on processor
CPU0 states:  6.6% user,  0.0% nice,  6.9% system,  9.6% interrupt, 76.9% idle
CPU1 states:  2.1% user,  0.0% nice,  8.2% system,  0.0% interrupt, 89.7% idle
CPU2 states:  1.0% user,  0.0% nice,  5.8% system,  0.0% interrupt, 93.2% idle
CPU3 states:  1.4% user,  0.0% nice,  6.3% system,  0.0% interrupt, 92.2% idle
CPU4 states:  0.7% user,  0.0% nice,  5.4% system,  0.0% interrupt, 93.9% idle
CPU5 states:  1.4% user,  0.0% nice,  5.3% system,  0.0% interrupt, 93.3% idle
CPU6 states:  0.9% user,  0.0% nice,  5.2% system,  0.0% interrupt, 93.8% idle
CPU7 states:  1.0% user,  0.0% nice,  5.4% system,  0.0% interrupt, 93.6% idle
Memory: Real: 1248M/1742M act/tot  Free: 243M  Swap: 716M/4103M used/tot

  PID USERNAME PRI NICE  SIZE   RES STATEWAIT  TIMECPU COMMAND
 4022 root  640  189M  191M onproc/7 - 0:20 62.89% cc1plus
 4909 root  640  135M  137M onproc/5 - 0:19 61.23% cc1plus
 9915 root  -50  274M  217M sleep/7  biowait   2:41  0.59% cc1plus
 2750 root  -50  274M  170M sleep/1  biowait   2:36  0.54% cc1plus
22384 root  -50  274M  212M sleep/6  biowait   2:44  0.49% cc1plus
27878 root  -50  274M  157M sleep/7  biowait   2:28  0.29% cc1plus
20622 root  -50  274M  161M sleep/6  biowait   2:28  0.15% cc1plus
32565 _syslogd   20  472K  616K sleep/4  poll  0:00  0.00% syslogd
 6005 root   20 3288K  620K idle select0:19  0.00% sshd
 3110 root  -60   16M 8880K sleep/6  piperd0:07  0.00% gmake
 2414 root  -50  428K  612K run/6- 0:00  0.00% g++
19420 root  -50 1232K  684K sleep/5  biowait   0:00  0.00% as
16834 root  280  920K 1612K stop/0   - 0:03  0.00% top
10131 root   20 1184K 1244K sleep/0  select0:03  0.00% sendmail
26246 root   30  632K  276K idle ttyin 0:03  0.00% ksh
24483 root   20 3352K 1304K idle select0:00  0.00% sshd

$ ulimit  -a
time(cpu-seconds)unlimited
file(blocks) unlimited
coredump(blocks) unlimited
data(kbytes) 1048576
stack(kbytes)8192
lockedmem(kbytes)674606
memory(kbytes)   2019284
nofiles(descriptors) 128
processes660

The dmesg after boot is:
http://marc.info/?l=openbsd-miscm=120479733117326w=2

What can I do ?

Dongsheng

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]



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}/Makefile.inc'?

Dongsheng

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]



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 sake of new folks it may be wise to put a .cvsignore in
  our /usr/src tree to prevent unintended cosequences of using the (also
  suggested) prune switch on cvs (-P).

  When following anoncvs.html, if a new person goes to update
  their /usr/src tree, they would thwack their /usr/src/xenocara tree.

  Thoughts?


  -JCR



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/complit4.C compilation failed to produce executable
FAIL: g++.dg/opt/complex3.C (internal compiler error)
FAIL: g++.dg/opt/complex3.C (test for excess errors)
FAIL: g++.dg/opt/mmx2.C (test for excess errors)
FAIL: g++.dg/other/i386-1.C (test for excess errors)
WARNING: g++.dg/other/i386-1.C compilation failed to produce executable
FAIL: g++.dg/other/i386-2.C (test for excess errors)
FAIL: g++.dg/other/mmintrin.C (test for excess errors)
FAIL: g++.dg/other/offsetof1.C (test for excess errors)
FAIL: g++.dg/other/offsetof2.C (test for excess errors)
FAIL: g++.dg/other/offsetof2.C execution test
FAIL: g++.dg/parse/offsetof1.C (test for excess errors)
FAIL: g++.dg/parse/offsetof2.C (test for excess errors)
FAIL: g++.dg/template/offsetof1.C (test for excess errors)
XPASS: g++.dg/tree-ssa/ivopts-1.C scan-tree-dump-not offset: -4B
XPASS: g++.dg/tree-ssa/ivopts-1.C scan-tree-dump-not x\\[5\\]
FAIL: g++.dg/pch/empty.C (test for excess errors)
FAIL: g++.dg/pch/local-1.C (test for excess errors)
FAIL: g++.dg/pch/local-1.C (test for excess errors)
FAIL: g++.dg/pch/pch.C (test for excess errors)
FAIL: g++.dg/pch/pch.C (test for excess errors)
FAIL: g++.dg/pch/static-1.C (test for excess errors)
FAIL: g++.dg/pch/static-1.C (test for excess errors)
FAIL: g++.dg/pch/template-1.C (test for excess errors)
FAIL: g++.dg/pch/uninst.C (test for excess errors)
FAIL: g++.dg/pch/uninst.C (test for excess errors)
FAIL: g++.dg/pch/wchar-1.C (test for excess errors)
FAIL: g++.dg/special/conpr-2.C execution test
FAIL: g++.dg/special/conpr-3.C execution test
FAIL: g++.dg/special/conpr-4.C execution test
FAIL: g++.dg/special/initp1.C execution test
FAIL: g++.old-deja/g++.other/init18.C execution test
FAIL: g++.old-deja/g++.other/init19.C execution test
FAIL: g++.old-deja/g++.other/init5.C execution test

=== g++ Summary ===

# of expected passes13668
# of unexpected failures32
# of unexpected successes   2
# of expected failures  67
# of untested testcases 11
# of unsupported tests  101
/home/dongsheng/wc/tmp/obj/gcc/testsuite/g++/../../g++  version 4.2.3 20080125 
(prerelease)

=== gcc tests ===


Running target unix
UNRESOLVED: gcc.c-torture/execute/mayalias-2.c execution,  -O3 -g 
FAIL: gcc.dg/cpp/Wmissingdirs.c (internal compiler error)
FAIL: gcc.dg/cpp/Wmissingdirs.c -Wmissing-include-dirs (test for warnings, line 
)
FAIL: gcc.dg/cpp/Wmissingdirs.c (test for excess errors)
FAIL: gcc.dg/cpp/_Pragma6.c (test for excess errors)
FAIL: gcc.dg/20050105-2.c (test for excess errors)
FAIL: gcc.dg/bitfld-12.c  (test for errors, line 10)
FAIL: gcc.dg/bitfld-12.c (test for excess errors)
FAIL: gcc.dg/builtins-20.c (test for excess errors)
FAIL: gcc.dg/c99-float-1.c (test for excess errors)
FAIL: gcc.dg/single-precision-constant.c execution test
FAIL: gcc.dg/va-arg-2.c In file included from (test for errors, line 6)
FAIL: gcc.dg/va-arg-2.c #error 1 (test for errors, line 4)
FAIL: gcc.dg/va-arg-2.c #error 2 (test for errors, line 5)
FAIL: gcc.dg/wint_t-1.c (test for excess errors)
FAIL: gcc.dg/format/array-1.c (test for excess errors)
FAIL: gcc.dg/format/array-1.c (test for excess errors)
FAIL: gcc.dg/format/asm_fprintf-1.c (test for excess errors)
FAIL: gcc.dg/format/asm_fprintf-1.c (test for excess errors)
FAIL: gcc.dg/format/attr-1.c (test for excess errors)
FAIL: gcc.dg/format/attr-1.c (test for excess errors)
FAIL: gcc.dg/format/attr-2.c (test for excess errors)
FAIL: gcc.dg/format/attr-2.c (test for excess errors)
FAIL: gcc.dg/format/attr-3.c (test for excess errors)
FAIL: gcc.dg/format/attr-3.c (test for excess errors)
FAIL: gcc.dg/format/attr-4.c (test for excess errors)
FAIL: gcc.dg/format/attr-4.c (test for excess errors)
FAIL: gcc.dg/format/attr-7.c (test for excess errors)
FAIL: gcc.dg/format/attr-7.c (test for excess errors)
FAIL: gcc.dg/format/bitfld-1.c (test for excess errors)
FAIL: gcc.dg/format/bitfld-1.c (test for excess errors)
FAIL: gcc.dg/format/branch-1.c (test for excess errors)
FAIL: gcc.dg/format/branch-1.c (test for excess errors)
FAIL: gcc.dg/format/builtin-1.c (test for excess errors)
FAIL: gcc.dg/format/builtin-1.c (test for excess errors)
FAIL: gcc.dg/format/c90-printf-1.c (test for excess errors)
FAIL: gcc.dg/format/c90-printf-1.c (test for excess errors)
FAIL: gcc.dg/format/c90-printf-2.c (test for excess errors)
FAIL: gcc.dg/format/c90-printf-2.c (test for excess errors)
FAIL: gcc.dg/format/c90-printf-3.c (test for excess errors)
FAIL: gcc.dg/format/c90-printf-3.c (test for excess errors)
FAIL: gcc.dg/format/c90-scanf-1.c (test for excess errors)
FAIL: gcc.dg/format/c90-scanf-1.c (test for excess errors)
FAIL: gcc.dg/format/c90-scanf-2.c 

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 korean(hangul) on openbsd,
 another method for korean, it's some quick ulgy hack ;-)

 these lines comment in src/lib/libc/locale/setrunelocale.c
 then libc re-compile.

 if (strcmp(rl-rl_encoding, _CITRUS_DEFAULT_CTYPE_NAME) != 0) {
 _NukeRune(rl);
 return EINVAL;
 }

 these lines remove a comment in src/share/locale/ctype/Makefile
 then korean locale install.
 #LOCALES += ko_KR.eucKR
 # LOCALESRC_ko_KR.eucKR = ko_KR.eucKR

 and use a nabi for X
 http://marc.info/?l=openbsd-portsm=115871943726656w=2

 thanks
 - Jung


  I found the only citrus patch is 20071008:
 
 http://sigsegv.s25.xrea.com/distfiles/citrus/OpenBSD/OpenBSD-HEAD-citrus-20071008.tar.bz2

  Can I use the patch for current ? Is there a public cvs ?

  Thanks for some help.

  Dongsheng



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 current
 as well.

 checking whether the C compiler
 (/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/egcc
 -O2 -g ) works... no
 configure: error: installation or configuration
 problem: C compiler cannot create executables.
 *** Error code 1

 Stop in /usr/ports/lang/gcc/4.2 (line 2057 of
 /usr/ports/infrastructure/mk/bsd.port.mk).

 Does anyone have any idea of what could make this port
 work?

 Thanks,
 Pvt Joker



   
 
 Looking for last minute shopping deals?
 Find them fast with Yahoo! Search.
 http://tools.search.yahoo.com/newsearch/category.php?category=shopping



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:
  
   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 time zone?
   
http://marc.info/?l=openbsd-miscm=111956694726618w=2
   
 
   Thanks, but I can NOT open the page, could you excerpt for me ?
 
  Really? What's wrong? Are you in China?

 it's PRC so yes.
 My real question, though, is: do you mean that the great firewall of
 china is blocking marc.info? Does it give any message when it does, or
 can you just not talk to it? Can you DNS it (`nslookup marc.info`)?

 -Nick



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: 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 time zone?

 http://marc.info/?l=openbsd-miscm=111956694726618w=2

 DS



Re: Compile jdk-1_5_0_12 on OpenBSD 4.2

2007-12-08 Thread Dongsheng Song
Thanks, I think the build system should require xbase42.tgz 
xshare42.tgz explicit.

$ java -version
java version 1.5.0_12-p6
Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0_12-p6-root_07_dec_2007_22_18)
Java HotSpot(TM) Client VM (build 1.5.0_12-p6-root_07_dec_2007_22_18,
mixed mode)

$ java -server -version
java version 1.5.0_12-p6
Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0_12-p6-root_07_dec_2007_22_18)
Java HotSpot(TM) Server VM (build 1.5.0_12-p6-root_07_dec_2007_22_18,
mixed mode)

$ java -version
java version 1.5.0_13-p7
Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0_13-p7-root_08_dec_2007_20_36)
Java HotSpot(TM) Client VM (build 1.5.0_13-p7-root_08_dec_2007_20_36,
mixed mode)

$ java -server -version
java version 1.5.0_13-p7
Java(TM) 2 Runtime Environment, Standard Edition (build
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 occured:
 
 [...]
  ../../../src/share/native/sun/awt/image/BufImgSurfaceData.c:17:
  ../../../src/solaris/native/sun/awt/awt.h:20:27: X11/Intrinsic.h: No
  such file or directory
 [...]
  Thanks for some help.

 The Xorg sets need to be installed to build ports.

 -Kurt



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-pointer -D__MEDIALIB_OLD_NAMES
-D__USE_J2D_NAMES -DMLIB_NO_LIBSUNMATH -DMOTIF_VERSION=2  -Di586
-DARCH='i586' -DRELEASE='1.5.0_12-p6'
-DFULL_VERSION='1.5.0_12-p6-root_07_dec_2007_22_18' -D_GNU_SOURCE
-D_REENTRANT -D_THREAD_SAFE -D_ALLBSD_SOURCE  -I.
-I/usr/ports-4.2/devel/jdk/1.5/w-jdk-1.5.0.12/control/build/bsd-i586/tmp/sun/sun.awt/awt/CClassHeaders
-I../../../src/solaris/javavm/export
-I../../../src/share/javavm/export -I../../../src/share/javavm/include
-I../../../src/solaris/javavm/include
-I../../../src/share/native/common
-I../../../src/solaris/native/common
-I../../../src/share/native/sun/awt
-I../../../src/solaris/native/sun/awt   -I/usr/local/include
-I/usr/X11R6/include -I/usr/X11R6/include/X11/extensions
-I../../../src/solaris/native/sun/awt/font
-I../../../src/share/native/sun/awt/debug
-I../../../src/share/native/sun/awt/../font
-I../../../src/solaris/native/sun/awt/../font
-I../../../src/share/native/sun/awt/image
-I../../../src/share/native/sun/awt/image/cvutils
-I../../../src/share/native/sun/awt/shell
-I../../../src/share/native/sun/awt/alphacomposite
-I../../../src/share/native/sun/awt/medialib
-I../../../src/solaris/native/sun/awt/medialib
-I../../../src/share/native/sun/awt/../java2d
-I../../../src/solaris/native/sun/awt/../java2d
-I../../../src/share/native/sun/awt/../java2d/loops
-I../../../src/share/native/sun/awt/../java2d/pipe
-I../../../src/share/native/sun/awt/../java2d/opengl
-I../../../src/solaris/native/sun/awt/../java2d/opengl
-I../../../src/share/native/sun/awt/../dc/doe
-I../../../src/share/native/sun/awt/../dc/path
-I../../../src/solaris/native/sun/awt/../jdga   -c -o
/usr/ports-4.2/devel/jdk/1.5/w-jdk-1.5.0.12/control/build/bsd-i586/tmp/sun/sun.awt/awt/obj/gifdecoder.o
 ../../../src/share/native/sun/awt/image/gif/gifdecoder.c
/usr/bin/gcc -O2 -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused
-Wno-parentheses -pipe -fno-omit-frame-pointer -D__MEDIALIB_OLD_NAMES
-D__USE_J2D_NAMES -DMLIB_NO_LIBSUNMATH -DMOTIF_VERSION=2  -Di586
-DARCH='i586' -DRELEASE='1.5.0_12-p6'
-DFULL_VERSION='1.5.0_12-p6-root_07_dec_2007_22_18' -D_GNU_SOURCE
-D_REENTRANT -D_THREAD_SAFE -D_ALLBSD_SOURCE  -I.
-I/usr/ports-4.2/devel/jdk/1.5/w-jdk-1.5.0.12/control/build/bsd-i586/tmp/sun/sun.awt/awt/CClassHeaders
-I../../../src/solaris/javavm/export
-I../../../src/share/javavm/export -I../../../src/share/javavm/include
-I../../../src/solaris/javavm/include
-I../../../src/share/native/common
-I../../../src/solaris/native/common
-I../../../src/share/native/sun/awt
-I../../../src/solaris/native/sun/awt   -I/usr/local/include
-I/usr/X11R6/include -I/usr/X11R6/include/X11/extensions
-I../../../src/solaris/native/sun/awt/font
-I../../../src/share/native/sun/awt/debug
-I../../../src/share/native/sun/awt/../font
-I../../../src/solaris/native/sun/awt/../font
-I../../../src/share/native/sun/awt/image
-I../../../src/share/native/sun/awt/image/cvutils
-I../../../src/share/native/sun/awt/shell
-I../../../src/share/native/sun/awt/alphacomposite
-I../../../src/share/native/sun/awt/medialib
-I../../../src/solaris/native/sun/awt/medialib
-I../../../src/share/native/sun/awt/../java2d
-I../../../src/solaris/native/sun/awt/../java2d
-I../../../src/share/native/sun/awt/../java2d/loops
-I../../../src/share/native/sun/awt/../java2d/pipe
-I../../../src/share/native/sun/awt/../java2d/opengl
-I../../../src/solaris/native/sun/awt/../java2d/opengl
-I../../../src/share/native/sun/awt/../dc/doe
-I../../../src/share/native/sun/awt/../dc/path
-I../../../src/solaris/native/sun/awt/../jdga   -c -o
/usr/ports-4.2/devel/jdk/1.5/w-jdk-1.5.0.12/control/build/bsd-i586/tmp/sun/sun.awt/awt/obj/imageInitIDs.o
 ../../../src/share/native/sun/awt/image/imageInitIDs.c
/usr/bin/gcc -O2 -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused
-Wno-parentheses -pipe -fno-omit-frame-pointer -D__MEDIALIB_OLD_NAMES
-D__USE_J2D_NAMES -DMLIB_NO_LIBSUNMATH -DMOTIF_VERSION=2  -Di586
-DARCH='i586' -DRELEASE='1.5.0_12-p6'
-DFULL_VERSION='1.5.0_12-p6-root_07_dec_2007_22_18' -D_GNU_SOURCE
-D_REENTRANT -D_THREAD_SAFE -D_ALLBSD_SOURCE  -I.
-I/usr/ports-4.2/devel/jdk/1.5/w-jdk-1.5.0.12/control/build/bsd-i586/tmp/sun/sun.awt/awt/CClassHeaders
-I../../../src/solaris/javavm/export
-I../../../src/share/javavm/export -I../../../src/share/javavm/include
-I../../../src/solaris/javavm/include
-I../../../src/share/native/common
-I../../../src/solaris/native/common
-I../../../src/share/native/sun/awt
-I../../../src/solaris/native/sun/awt   -I/usr/local/include
-I/usr/X11R6/include -I/usr/X11R6/include/X11/extensions
-I../../../src/solaris/native/sun/awt/font
-I../../../src/share/native/sun/awt/debug
-I../../../src/share/native/sun/awt/../font
-I../../../src/solaris/native/sun/awt/../font