Hi, I've go an AMD32 bit machine (dmesg at the bottom of the mail). I compiled JDK 1.5 from the ports and am able to run complex Java based applications like NetBeans. I wrote a small test prog like the one below: class helloWorld { public static void main(String args[]) { System.out.println("Hello World!"); } }
Compiled it using "javac" and ran it using "java". It runs OK, but when I viewed it using "od -x helloWorld.class | less" the first 8 bytes have been inverted, reminds me of the NUXI problem, see below: 0000000 feca beba 0000 3100 1d00 000a 0006 090f 0000020 1000 1100 0008 0a12 1300 1400 0007 0715 0000040 1600 0001 3c06 6e69 7469 013e 0300 2928 0000060 0156 0400 6f43 6564 0001 4c0f 6e69 4e65 0000100 6d75 6562 5472 6261 656c 0001 6d04 6961 0000120 016e 1600 5b28 6a4c 7661 2f61 616c 676e 0000140 532f 7274 6e69 3b67 5629 0001 530a 756f Any ideas about why this is happening and how I could fix it? dmesg below: OpenBSD 4.2 (GENERIC) #1: Thu Feb 7 20:46:53 IST 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Sempron(tm) Processor 3000+ ("AuthenticAMD" 686-class, 256KB L2 cache) 1.61 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16 real mem = 469069824 (447MB) avail mem = 445792256 (425MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 05/01/07, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.4 @ 0xf06f0 (49 entries) bios0: vendor American Megatrends Inc. version "0201 " date 05/01/2007 bios0: ASUSTeK Computer INC. M2N-MX SE apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 3.0 @ 0xf0000/0x10000 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7a40/256 (14 entries) pcibios0: no compatible PCI ICU found: ICU vendor 0x10de product 0x03e0 pcibios0: PCI bus #4 is the last bus bios0: ROM list: 0xc0000/0xee00 0xcf000/0x800 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) "NVIDIA MCP61 Memory" rev 0xa1 at pci0 dev 0 function 0 not configured pcib0 at pci0 dev 1 function 0 "NVIDIA MCP61 ISA" rev 0xa2 nviic0 at pci0 dev 1 function 1 "NVIDIA MCP61 SMBus" rev 0xa2 iic0 at nviic0 iic1 at nviic0 "NVIDIA MCP61 Memory" rev 0xa2 at pci0 dev 1 function 2 not configured ohci0 at pci0 dev 2 function 0 "NVIDIA MCP61 USB" rev 0xa2: irq 11, version 1.0, legacy support ehci0 at pci0 dev 2 function 1 "NVIDIA MPC61 USB" rev 0xa2: irq 10 usb0 at ehci0: USB revision 2.0 uhub0 at usb0: NVIDIA EHCI root hub, rev 2.00/1.00, addr 1 ppb0 at pci0 dev 4 function 0 "NVIDIA MCP61" rev 0xa1 pci1 at ppb0 bus 1 xl0 at pci1 dev 6 function 0 "3Com 3c905C 100Base-TX" rev 0x74: irq 11, address 00:50:da:0d:c9:90 bmtphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 6 azalia0 at pci0 dev 5 function 0 "NVIDIA MCP61 HD Audio" rev 0xa2: irq 11 azalia0: host: High Definition Audio rev. 1.0 azalia0: codec: Realtek/0x0662 (rev. 1.1), HDA version 1.0 audio0 at azalia0 pciide0 at pci0 dev 6 function 0 "NVIDIA MCP61 IDE" rev 0xa2: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <SONY, CD-RW CRX320EE, RYK4> SCSI0 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) nfe0 at pci0 dev 7 function 0 "NVIDIA MCP61 LAN" rev 0xa2: irq 11, address bb:58:90:fc:1b:00 ukphy0 at nfe0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI 0x001374, model 0x0002 pciide1 at pci0 dev 8 function 0 "NVIDIA MCP61 SATA" rev 0xa2: DMA pciide1: using irq 15 for native-PCI interrupt wd0 at pciide1 channel 0 drive 0: <ST380215AS> wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 ppb1 at pci0 dev 9 function 0 "NVIDIA MCP61 PCIE" rev 0xa2 pci2 at ppb1 bus 2 ppb2 at pci0 dev 11 function 0 "NVIDIA MCP61 PCIE" rev 0xa2 pci3 at ppb2 bus 3 ppb3 at pci0 dev 12 function 0 "NVIDIA MCP61 PCIE" rev 0xa2 pci4 at ppb3 bus 4 vga1 at pci0 dev 13 function 0 "NVIDIA GeForce 6100 nForce 430" rev 0xa2 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pchb0 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00 pchb1 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00 pchb2 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00 pchb3 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 it0 at isa0 port 0x290/8: IT87 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec fd1 at fdc0 drive 1: density unknown usb1 at ohci0: USB revision 1.0 uhub1 at usb1: NVIDIA OHCI root hub, rev 1.00/1.00, addr 1 biomask ef6d netmask ef6d ttymask ffef pctr: user-level cycle counter enabled mtrr: Pentium Pro MTRR support dkcsum: wd0 matches BIOS drive 0x80 root on wd0a swap on wd0b dump on wd0b ~Mayuresh