Re: JDK1.5 build and linux-sun-java1.4 problems

2006-04-24 Thread Michael Conlen


On Apr 23, 2006, at 5:35 PM, Jonathan Chen wrote:


Just the usual stuff:
- make sure linprocfs is mounted.
- don't run the build in a jail.

If all else fails, you can download the diablo-jdk1.5 to build the
ports based jdk1.5.


Check and check. I found it works fine with the GENERIC kernel, but  
not with the kernel where I've commented out a lot of unnecessary  
stuff and added some memory size options and SMP. I also commented  
out makeoptions	 DEBUG=-g. Once ran the build with the GENERIC kernel  
the jdk15 runs fine, but I'd like to understand what's going on with  
the system with the custom kernel.


Diff below

# diff AD GENERIC
21a22,23
 cpu   I486_CPU
 cpu   I586_CPU
23c25
 ident AD
---
 ident GENERIC
28,33c30
 #makeoptions  DEBUG=-g# Build kernel with gdb(1)  
debug symbols


 options MAXDSIZ=(1024*1024*1024)
 options DFLDSIZ=(1024*1024*1024)
 options MAXSSIZ=(2047*1024*1024)
 options   SMP
---
 makeoptions   DEBUG=-g# Build kernel with gdb(1)  
debug symbols

80,81c77,78
 #device   atadisk # ATA disk drives
 #device   ataraid # ATA RAID drives
---
 deviceatadisk # ATA disk drives
 deviceataraid # ATA RAID drives
83,84c80,81
 #device   atapifd # ATAPI floppy drives
 #device   atapist # ATAPI tape drives
---
 deviceatapifd # ATAPI floppy drives
 deviceatapist # ATAPI tape drives
88,107c85,104
 #device   ahb # EISA AHA1742 family
 #device   ahc # AHA2940 and onboard AIC7xxx  
devices
 #device   ahd # AHA39320/29320 and onboard  
AIC79xx devices

 #device   amd # AMD 53C974 (Tekram DC-390(T))
 #device   isp # Qlogic family
 ##device  ispfw   # Firmware for QLogic HBAs- normally  
a module

 #device   mpt # LSI-Logic MPT-Fusion
 ##device  ncr # NCR/Symbios Logic
 #device   sym # NCR/Symbios Logic (newer  
chipsets + those of `ncr')
 #device   trm # Tekram DC395U/UW/F DC315U  
adapters


 #device   adv # Advansys SCSI adapters
 #device   adw # Advansys wide SCSI adapters
 #device   aha # Adaptec 154x SCSI adapters
 #device   aic # Adaptec 15[012]x SCSI  
adapters, AIC-6[23]60.
 #device   bt  # Buslogic/Mylex MultiMaster  
SCSI adapters


 #device   ncv # NCR 53C500
 #device   nsp # Workbit Ninja SCSI-3
 #device   stg # TMC 18C30/18C50
---
 deviceahb # EISA AHA1742 family
 deviceahc # AHA2940 and onboard  
AIC7xxx devices
 deviceahd # AHA39320/29320 and onboard  
AIC79xx devices

 deviceamd # AMD 53C974 (Tekram DC-390(T))
 deviceisp # Qlogic family
 #device   ispfw   # Firmware for QLogic HBAs- normally  
a module

 devicempt # LSI-Logic MPT-Fusion
 #device   ncr # NCR/Symbios Logic
 devicesym # NCR/Symbios Logic (newer  
chipsets + those of `ncr')
 devicetrm # Tekram DC395U/UW/F DC315U  
adapters


 deviceadv # Advansys SCSI adapters
 deviceadw # Advansys wide SCSI adapters
 deviceaha # Adaptec 154x SCSI adapters
 deviceaic # Adaptec 15[012]x SCSI  
adapters, AIC-6[23]60.
 devicebt  # Buslogic/Mylex MultiMaster  
SCSI adapters


 devicencv # NCR 53C500
 devicensp # Workbit Ninja SCSI-3
 devicestg # TMC 18C30/18C50
111c108
 #device   ch  # SCSI media changers
---
 devicech  # SCSI media changers
113,114c110,111
 #device   sa  # Sequential Access (tape etc)
 #device   cd  # CD
---
 devicesa  # Sequential Access (tape etc)
 devicecd  # CD
119,120c116,117
 #device   amr # AMI MegaRAID
 #device   arcmsr  # Areca SATA II RAID
---
 deviceamr # AMI MegaRAID
 devicearcmsr  # Areca SATA II RAID
122,128c119,125
 #device   ciss# Compaq Smart RAID 5*
 #device   dpt # DPT Smartcache III, IV -  
See NOTES for options

 #device   hptmv 

Re: JDK1.5 build and linux-sun-java1.4 problems

2006-04-23 Thread Jonathan Chen
On Sun, Apr 23, 2006 at 04:12:19PM -0400, Michael Conlen wrote:
 I'm having problems building jdk1.5. It segfaults early in the build.  
 I believe I've tracked it down to the linux-sun-java1.4.2 build not  
 working. I get the following
 
 # pwd
 /usr/local/linux-sun-jdk1.4.2/bin
 # ./java -v
 Segmentation fault (core dumped)
 #

[...]
 I got the same result from the linux-sun-java1.5 port as well. This  
 error and the build error are consistent. I've even gone through the  
 step of rebuilding the entire system just to make sure there wasn't  
 some bizarre problem with this particular hardware.
 
 FreeBSD system 6.0-RELEASE-p7 FreeBSD 6.0-RELEASE-p7 #0: Wed Apr 19  
 14:15:18 EDT 2006 root@:/usr/obj/usr/src/sys/AD  i386
 
 It was installed as 6.0-RELEASE, updated and purpose built for  
 running java (and later tomcat) so there's not a bunch of other junk  
 on it.
 
 Any thoughts on how to debug why java is seg faulting?

Just the usual stuff:
- make sure linprocfs is mounted.
- don't run the build in a jail.

If all else fails, you can download the diablo-jdk1.5 to build the
ports based jdk1.5.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
With sufficient thrust, pigs fly just fine. However, this is not necessarily
a good idea. It is hard to be sure where they are going to land, and it
could be dangerous sitting under them as they fly overhead. -- RFC 1925
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]