From owner-freebsd-amd64@FreeBSD.ORG Sun Nov 23 01:20:52 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B17BF1065670 for ; Sun, 23 Nov 2008 01:20:52 +0000 (UTC) (envelope-from freebsd@alive.net.ua) Received: from mail.canaltelecom.net (mail.canaltelecom.net [195.93.172.86]) by mx1.freebsd.org (Postfix) with ESMTP id 69E9C8FC08 for ; Sun, 23 Nov 2008 01:20:52 +0000 (UTC) (envelope-from freebsd@alive.net.ua) Received: from c.112.166.a418.sta.adsl.cyfra.net ([62.80.166.112] helo=[127.0.0.1]) by mail.canaltelecom.net with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1L43Ai-0000pW-18 for freebsd-amd64@freebsd.org; Sun, 23 Nov 2008 02:49:56 +0200 Message-ID: <4928A8AB.3090306@alive.net.ua> Date: Sun, 23 Nov 2008 02:49:47 +0200 From: andrey artemyev User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: freebsd-amd64@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: problem with IPCS on (FreeBSD 7.0-RELEASE-p5) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2008 01:20:52 -0000 FreeBSD 7.0-RELEASE-p5 amd64 Programming C/C++. The down Queues (msgid = msgget ....) after message reception (msgrcv) # ipcs Message Queues: T ID KEY MODE OWNER GROUP q 327680 1174 --rw-rw-rw- root wheel ..... Example: msgserv.c ------------------- #include #include #include #include #include #include #include #include "msgtypes.h" int main(int argc, char * argv[]) { struct msg_t message; int msgid; char * response = "Ok!"; msgid = msgget(KEY, 0666 | IPC_CREAT); msgrcv(msgid, &message, sizeof(message), 2, 0); /* ATTENTION!!! After "msgrcv(msgid, &message, sizeof(message), 2, 0);" - Queues(msgid) DOWN Helps only to create anew "msgid = msgget(KEY, 0666 | IPC_CREAT);" */ printf("Client (pid = %i) sent: %s", message.snd_pid, message.body); message.mtype = 1; message.snd_pid = getpid(); strcpy(message.body, response); msgsnd(msgid, &message, sizeof(message), 0); // errno = 22 (bad msgid) msgrcv(msgid, &message, sizeof(message), 2, 0); msgctl(msgid, IPC_RMID, 0); return EXIT_SUCCESS; } ------------------- msgtypes.h ------------------- #ifndef MSG_TYPES #define MSG_TYPES #define KEY 1174 #define MAXLEN 512 struct msg_t { long mtype; int snd_pid; char body[MAXLEN]; }; #endif ------------------- msgcli.c ------------------- #include #include #include #include #include #include #include "msgtypes.h" int main(int argc, char * argv[]) { int msgid; int i; struct msg_t message; char buf[MAXLEN]; msgid = msgget(KEY, 0666); if (msgid == -1) { printf("Server is not running!\n", msgid); return EXIT_FAILURE; } i = 0; while ( (i < (MAXLEN - 1)) && ((message.body[i++] = getchar()) != '\n') ); message.body[i] = '\0'; message.mtype = 2; message.snd_pid = getpid (); msgsnd(msgid, &message, sizeof(message), 0); msgrcv(msgid, &message, sizeof(message), 1, 0); printf("Server (pid= %i) responded: %s\n", message.snd_pid, message.body); message.mtype = 2; msgsnd(msgid, &message, sizeof(message), 0); return EXIT_SUCCESS; } ------------------- Tested on FreeBSD 6.2 i386 - All has passed remarkably, errors were not From owner-freebsd-amd64@FreeBSD.ORG Mon Nov 24 11:07:07 2008 Return-Path: Delivered-To: freebsd-amd64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B663C1065674 for ; Mon, 24 Nov 2008 11:07:07 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A59368FC18 for ; Mon, 24 Nov 2008 11:07:07 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mAOB77DA019824 for ; Mon, 24 Nov 2008 11:07:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mAOB76C9019820 for freebsd-amd64@FreeBSD.org; Mon, 24 Nov 2008 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 24 Nov 2008 11:07:06 GMT Message-Id: <200811241107.mAOB76C9019820@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-amd64@FreeBSD.org X-Mailman-Approved-At: Mon, 24 Nov 2008 12:26:32 +0000 Cc: Subject: Current problem reports assigned to freebsd-amd64@FreeBSD.org X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2008 11:07:07 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- f amd64/128978 amd64 [install] FreeBSD 6.3 64-bit panics at boot time duri o amd64/128810 amd64 AMD 64 port installation o amd64/128765 amd64 [install] Install CD loads to Install choices but stop o amd64/128686 amd64 [ata] can't detect SATA Disk on 8.0-Current with NF550 o amd64/128524 amd64 No geom documentation for loading gjournal o amd64/128263 amd64 [panic] 2 amd64 dl380 g5 with dual quadcore xeons, 8 a o amd64/128259 amd64 csh(1): "`" crashes csh o amd64/128236 amd64 portsdb -Uu Indexing error f kern/128102 amd64 AsusRock 939N68PV-GLAN not recognized o amd64/127787 amd64 [lor] 3 lock LOR in recent CURRENT o amd64/127640 amd64 GCC will not build shared libraries with -fprofile-gen o amd64/127492 amd64 [zfs] System hang on ZFS input-output o amd64/127484 amd64 [timecounters] Drift problem with FreeBSD 7.0 and 7.1 o amd64/127451 amd64 [scheduler] incorrect load on quad core o amd64/127397 amd64 [amd64] 32bit application on FreeBSD-6.3 amd64 gets SI s amd64/127276 amd64 ldd(1) invokes linux yes o amd64/127129 amd64 mdconfig(8) is core dumping with Segmentation Fault 11 f amd64/125943 amd64 Serial Consoles do not work on amd64 freebsd o amd64/125873 amd64 [smbd] [panic] Repeated kernel panics, trap 12 page fa o amd64/125002 amd64 [install] amd64, SATA hard disks not detected o amd64/124432 amd64 [panic] 7.0-STABLE panic: invalbuf: dirty bufs o amd64/124134 amd64 [kernel] The kernel doesn't follow the calling convent o amd64/123562 amd64 [install] FreeBSD amd64 not installs o amd64/123520 amd64 [ahd] unable to boot from net while using ahd o amd64/123456 amd64 fstat(1): /usr/bin/fstat shows error messages and hang f amd64/123275 amd64 [cbb] [pcmcia] cbb/pcmcia drivers on amd64 failure [re o kern/122782 amd64 [modules] accf_http.ko kernel module is not loadable o amd64/122695 amd64 [cpufreq] Lack of cpufreq control using amd64 eith cor o amd64/122624 amd64 unusable minimal installation of FreeBSD-7.0 o amd64/122549 amd64 7.0-RELEASE-amd64-bootonly.iso doesn't work w/ serial o amd64/122468 amd64 Compile problems after upgrading to 7.0 o amd64/122174 amd64 [panic] 7.0 no longer includes "device atpic" so fails o amd64/121590 amd64 [est] [p4tcc] [acpi_perf] setting dev.cpu.0.freq somet o amd64/121439 amd64 [boot] Installation of FreeBSD 7.0 fails: ACPI problem o amd64/120202 amd64 [amd64] [patch] [panic] kernel panic at start_all_aps, o amd64/119936 amd64 [install] FreeBSD 7.0-RC1 amd64 and i386 installer dis o amd64/119591 amd64 [amd64] [patch] time_t on 64-bit architecture o amd64/117418 amd64 [hang] FreeBSD 6.2 crash on amd64 4400+ with ssh o amd64/117316 amd64 [acpi] ACPI lockups on SuperMicro motherboard o amd64/117296 amd64 [ata] I don`t see second SATA IDE on VIA VT8237A a amd64/117186 amd64 [modules] kldload Unsupported file type on STABLE amd6 s amd64/116689 amd64 [request] support for MSI K9MM-V f amd64/116670 amd64 [ata] onboard SATA RAID1 controllers not supported for o amd64/116620 amd64 [hang] ifconfig spins when creating carp(4) device on f amd64/116457 amd64 [install] can't install freebsd on dv9420us o amd64/116322 amd64 [panic] At start fsck on current, the system panics o amd64/116159 amd64 [panic] Panic while debugging on CURRENT s amd64/115815 amd64 [ata] [request] Gigabyte GA-M61P-S3 Motherboard unsupp o amd64/115581 amd64 [Makefile] [patch] -mfancy-math-387 has no effect o amd64/115194 amd64 LCD screen remains blank after Dell XPS M1210 lid is c o amd64/114270 amd64 [cpufreq] cpufreq doesnt work when compiled in to kern o amd64/114111 amd64 [nfs] System crashes while writing on NFS-mounted shar f amd64/113021 amd64 [re] ASUS M2A-VM onboard NIC does not work o amd64/112222 amd64 [libc] 32-bit libc incorrectly converts some FP number f amd64/111992 amd64 [boot] BTX failed - HP Laptop dv2315nr o amd64/110655 amd64 [threads] 32 bit threaded applications crash on amd64 o amd64/110599 amd64 [geli] geli attach to gmirror device hangs and cannot s amd64/108861 amd64 [nve] nve(4) driver on FreeBSD 6.2 AMD64 does not work o amd64/106186 amd64 [panic] panic in swap_pager_swap_init (amd64/smp/6.2-p f amd64/105629 amd64 [re] TrendNet TEG-BUSR 10/100/1000 disables itself on f amd64/105531 amd64 [ata] gigabyte GA-M51GM-S2G / nVidia nForce 430 - does f amd64/105514 amd64 [boot] FreeBSD/amd64 - Fails to boot on HP Pavilion dv f amd64/103259 amd64 [ar] Cannot use ataraid on nvidia nForce4+amd64 o amd64/102716 amd64 ex with no argument in an xterm gets SIGSEGV o amd64/97337 amd64 [dri] xorg reboots system if dri module is enabled o amd64/95888 amd64 [ata] kernel: ad2: TIMEOUT - WRITE_DMA retrying on HP f amd64/94989 amd64 [boot] BTX Halts on Sun Fire X2100 w/6.1-BETA4 (amd64) o amd64/94677 amd64 [panic] panic in amd64 install at non-root user creati o amd64/93961 amd64 [busdma] Problem in bounce buffer handling in sys/amd6 o amd64/92337 amd64 [em] FreeBSD 6.0 Release Intel Pro 1000 MT em1 no buff f amd64/91492 amd64 [boot] BTX halted o amd64/91405 amd64 [asr] [panic] Kernel panic caused by asr on 6.0-amd64 o amd64/89501 amd64 [install] System crashes on install using ftp on local o amd64/88790 amd64 [panic] kernel panic on first boot (after the FreeBSD o amd64/88568 amd64 [panic] 6.0-RELEASE install cd does not boot with usb o amd64/87689 amd64 [powerd] [hang] powerd hangs SMP Opteron 244 5-STABLE o amd64/87316 amd64 [vge] "vge0 attach returned 6" on FreeBSD 6.0-RC1 amd6 o amd64/87305 amd64 [smp] Dual Opteron / FreeBSD 5 & 6 / powerd results in f amd64/87258 amd64 [smp] [boot] cannot boot with SMP and Areca ARC-1160 r f amd64/86080 amd64 [radeon] [hang] radeon DRI causes system hang on amd64 s amd64/85273 amd64 [install] FreeBSD (NetBSD or OpenBSD) not install on l o amd64/78406 amd64 [panic]AMD64 w/ SCSI: issue 'rm -r /usr/ports' and sys o amd64/76136 amd64 [hang] system halts before reboot o amd64/74747 amd64 [panic] System panic on shutdown when process will not o amd64/73322 amd64 [msdosfs] [hang] unarchiving /etc to msdosfs locks up 85 problems total. From owner-freebsd-amd64@FreeBSD.ORG Tue Nov 25 14:58:52 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABBE11065670 for ; Tue, 25 Nov 2008 14:58:52 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 8ED268FC19 for ; Tue, 25 Nov 2008 14:58:51 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA29410; Tue, 25 Nov 2008 16:44:53 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <492C0F64.9060800@icyb.net.ua> Date: Tue, 25 Nov 2008 16:44:52 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.17 (X11/20081106) MIME-Version: 1.0 To: freebsd-java@freebsd.org, FreeBSD Ports , freebsd-amd64@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 25 Nov 2008 15:19:10 +0000 Cc: Subject: building java in i386 jail on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2008 14:58:52 -0000 OS: FreeBSD 7.1-PRERELEASE amd64 Jail system: FreeBSD 7.1-PRERELEASE i386 Java boot strap: diablo-jdk-1.5.0.07.01_12 Trying to compile: java/jdk15 Build proceeds for some time and then fails with: >>>Recursively making pack all @ Tue 25 Nov 2008 14:05:25 UTC ... gmake[2]: Entering directory `/usr/obj/ports/usr/ports/java/jdk15/work/install/make/pack' i586 Installer Build started: 1.5.0_14-p8-avg_25_nov_2008_14_05 gmake PACK_OUTPUTDIR=/usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/pack/pack-jre-jars \ VAR_IMAGE_DIR=/usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/j2re-image \ JARS_TO_PACK="lib/rt.jar lib/jsse.jar lib/charsets.jar lib/ext/localedata.jar lib/plugin.jar lib/javaws.jar lib/deploy.jar" \ EXTRA_PACKOPTS="--strip-debug" \ pack-jars gmake[3]: Entering directory `/usr/obj/ports/usr/ports/java/jdk15/work/install/make/pack' /bin/mkdir -p /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/pack/pack-jre-jars for i in lib/rt.jar lib/jsse.jar lib/charsets.jar lib/ext/localedata.jar lib/plugin.jar lib/javaws.jar lib/deploy.jar ; do \ /bin/ls -l /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/j2re-image/$i | /usr/bin/awk '{printf("Packing %s %s bytes\n",$9, $5)}' ; \ /bin/mkdir -p /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/pack/pack-jre-jars/`/usr/bin/dirname $i` ; \ /bin/mkdir -p /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/j2re-image/`/usr/bin/dirname $i` ; \ /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/bin/pack200 -J-Xmx256m -J-esa -J-ea "--no-gzip" "--config-file=pack.all.properties" --strip-debug /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/pack/pack-jre-jars/`/usr/bin/dirname $i`/`/usr/bin/basename $i .jar`.pack /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/j2re-image/$i || exit 1 ; \ rm -f /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/j2re-image/$i ; \ /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/bin/unpack200 /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/pack/pack-jre-jars/`/usr/bin/dirname $i`/`/usr/bin/basename $i .jar`.pack /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/j2re-image/$i || exit 1 ; \ done Packing /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/j2re-image/lib/rt.jar 40297358 bytes # # An unexpected error has been detected by HotSpot Virtual Machine: # # Internal Error (4E4D4554484F440E4350500529), pid=34669, tid=0x28201100 # # Java VM: Java HotSpot(TM) Server VM (1.5.0_14-p8-avg_24_nov_2008_20_36 mixed mode) # An error report file with more information is saved as hs_err_pid34669.log # # If you would like to submit a bug report, please write # a letter to freebsd-java@FreeBSD.org mailing list # Abort trap (core dumped) gmake[3]: *** [pack-jars] Error 1 gmake[3]: Leaving directory `/usr/obj/ports/usr/ports/java/jdk15/work/install/make/pack' Here's hs_err*.log file: # # An unexpected error has been detected by HotSpot Virtual Machine: # # Internal Error (4E4D4554484F440E4350500529), pid=34669, tid=0x28201100 # # Java VM: Java HotSpot(TM) Server VM (1.5.0_14-p8-avg_24_nov_2008_20_36 mixed mode) --------------- T H R E A D --------------- Current thread (0x28242180): JavaThread "main" [_thread_in_Java, id=673190144] Stack: [0xffdff000,0xfffff000), sp=0xffffacd0, free space=2031k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x525c2c] V [libjvm.so+0x1de7eb] V [libjvm.so+0x429edf] V [libjvm.so+0x4b32fa] V [libjvm.so+0x443d30] V [libjvm.so+0x43ec76] C 0xffffefd4 j java.util.Arrays.mergeSort([Ljava/lang/Object;[Ljava/lang/Object;III)V+194 j java.util.Arrays.mergeSort([Ljava/lang/Object;[Ljava/lang/Object;III)V+106 j java.util.Arrays.sort([Ljava/lang/Object;)V+17 j com.sun.java.util.jar.pack.ConstantPool.sort(Lcom/sun/java/util/jar/pack/ConstantPool$Index;)V+8 j com.sun.java.util.jar.pack.Package.buildGlobalConstantPool(Ljava/util/Set;)V+103 j com.sun.java.util.jar.pack.PackageWriter.setup()V+31 j com.sun.java.util.jar.pack.PackageWriter.write()V+18 j com.sun.java.util.jar.pack.PackerImpl$DoPack.flushPackage(Ljava/io/OutputStream;I)V+312 j com.sun.java.util.jar.pack.PackerImpl$DoPack.flushAll(Ljava/io/OutputStream;)V+18 j com.sun.java.util.jar.pack.PackerImpl$DoPack.run(Ljava/util/jar/JarFile;Ljava/io/OutputStream;)V+353 j com.sun.java.util.jar.pack.PackerImpl.pack(Ljava/util/jar/JarFile;Ljava/io/OutputStream;)V+98 j com.sun.java.util.jar.pack.Driver.main([Ljava/lang/String;)V+1623 v ~StubRoutines::call_stub V [libjvm.so+0x28b864] V [libjvm.so+0x43df79] V [libjvm.so+0x28a91f] V [libjvm.so+0x294755] V [libjvm.so+0x2acaac] C [pack200+0x422d] _init+0x3301 C [pack200+0x13cc] _init+0x4a0 --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x28242780 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=673193984] 0x2823c560 JavaThread "CompilerThread1" daemon [_thread_blocked, id=673193728] 0x2823c3d0 JavaThread "CompilerThread0" daemon [_thread_in_native, id=673193472] 0x2823c240 JavaThread "AdapterThread" daemon [_thread_blocked, id=673193216] 0x28242600 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=673192960] 0x28242480 JavaThread "Finalizer" daemon [_thread_blocked, id=673192704] 0x28242300 JavaThread "Reference Handler" daemon [_thread_blocked, id=673192448] =>0x28242180 JavaThread "main" [_thread_in_Java, id=673190144] Other Threads: 0x2820fe80 VMThread [id=673191936] 0x28210380 WatcherThread [id=673194240] VM state:synchronizing (normal execution) VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) [0x282052b0/0x2823aa00] Safepoint_lock - owner thread: 0x2820fe80 [0x282052e0/0x2823aac0] Threads_lock - owner thread: 0x2820fe80 Heap PSYoungGen total 17920K, used 844K [0x3e230000, 0x3fea0000, 0x3fea0000) eden space 9792K, 8% used [0x3e230000,0x3e303118,0x3ebc0000) from space 8128K, 0% used [0x3f6b0000,0x3f6b0000,0x3fea0000) to space 9664K, 0% used [0x3ebc0000,0x3ebc0000,0x3f530000) PSOldGen total 233024K, used 135730K [0x2fea0000, 0x3e230000, 0x3e230000) object space 233024K, 58% used [0x2fea0000,0x3832cac8,0x3e230000) PSPermGen total 30976K, used 19557K [0x2bea0000, 0x2dce0000, 0x2fea0000) object space 30976K, 63% used [0x2bea0000,0x2d1b9760,0x2dce0000) Dynamic libraries: 0x08048000 /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/bin/pack200 0x28085000 /lib/libz.so.4 0x28097000 /lib/libthr.so.3 0x280aa000 /lib/libc.so.7 0x28300000 /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/server/libjvm.so 0x281b3000 /lib/libm.so.5 0x281c9000 /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/native_threads/libhpi.so 0x281db000 /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/libverify.so 0x288ee000 /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/libjava.so 0x281e8000 /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/libzip.so 0x28051000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -Denv.class.path= -Dapplication.home=/usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586 -Xms64m -Xmx256m -esa -ea java_command: com.sun.java.util.jar.pack.Driver --pack --no-gzip --config-file=pack.all.properties --strip-debug /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/pack/pack-jre-jars/lib/rt.pack /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/j2re-image/lib/rt.jar Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME= CLASSPATH= PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/avg/bin LD_LIBRARY_PATH=/usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/server:/usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386:/usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/../lib/i386: SHELL=/bin/sh DISPLAY=:0 HOSTTYPE=FreeBSD OSTYPE=FreeBSD ARCH=i586 MACHTYPE=unknown Signal Handlers: SIGSEGV: [libjvm.so+0x526540], sa_mask[0]=0xfffefeff, sa_flags=0x00000002 SIGBUS: [libjvm.so+0x526540], sa_mask[0]=0xfffefeff, sa_flags=0x00000002 SIGFPE: [libjvm.so+0x43ec50], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGPIPE: [libjvm.so+0x43ec50], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGILL: [libjvm.so+0x43ec50], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGUSR1: SIG_DFL, sa_mask[0]=0x20000000, sa_flags=0x00000002 SIGUSR2: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGHUP: [libjvm.so+0x440dc0], sa_mask[0]=0xfffefeff, sa_flags=0x00000002 SIGINT: [libjvm.so+0x440dc0], sa_mask[0]=0xfffefeff, sa_flags=0x00000002 SIGQUIT: [libjvm.so+0x440dc0], sa_mask[0]=0xfffefeff, sa_flags=0x00000002 SIGTERM: [libjvm.so+0x440dc0], sa_mask[0]=0xfffefeff, sa_flags=0x00000002 --------------- S Y S T E M --------------- OS:FreeBSD uname:FreeBSD 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #5 : Fri Nov 7 20:50:06 EET 2008 root@:/usr/obj/usr/src/sys/ODYSSEYgpart i386 rlimit: STACK 65536k, CORE infinity, NOFILE 11095 CPU:total 2 (cores per cpu 2, threads per core 1) family 6 model 7 stepping 6, cmov, cx8, fxsr, mmx Memory: 4k page, physical 2337904k vm_info: Java HotSpot(TM) Server VM (1.5.0_14-p8-avg_24_nov_2008_20_36) for freebsd-x86, built on Nov 24 2008 20:48:57 by root with gcc 4.2.1 20070719 [FreeBSD] GDB gives this information: #0 0x280eef07 in thr_kill () from /lib/libc.so.7 #1 0x280a24e6 in pthread_kill () from /lib/libthr.so.3 #2 0x280a00b3 in raise () from /lib/libthr.so.3 #3 0x2817f249 in abort () from /lib/libc.so.7 #4 0x2873f9d4 in os::abort () from /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/server/libjvm.so #5 0x28825cde in VMError::report_and_die () from /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/server/libjvm.so #6 0x284de7eb in report_fatal () from /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/server/libjvm.so #7 0x28729edf in nmethod::continuation_for_implicit_exception () from /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/server/libjvm.so #8 0x287b32fa in SharedRuntime::continuation_for_implicit_exception () from /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/server/libjvm.so #9 0x28743d30 in JVM_handle_bsd_signal () from /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/server/libjvm.so #10 0x2873ec76 in signalHandler () from /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/server/libjvm.so #11 #12 0x28efd9c1 in ?? () ... Here's a snippet from ktrace that I was able to obtain: 34746 100439 pack200 CALL nanosleep(0xff8f3e94,0xff8f3e8c) 34746 100377 pack200 RET _umtx_op -1 errno 60 Operation timed out 34746 100377 pack200 CALL clock_gettime(0,0xffcfbe80) 34746 100377 pack200 RET clock_gettime 0 34746 100377 pack200 CALL clock_gettime(0,0xffcfbe80) 34746 100377 pack200 RET clock_gettime 0 34746 100377 pack200 CALL mprotect(0x281c8000,0x1000,PROT_NONE) 34746 100377 pack200 RET mprotect 0 34746 100400 pack200 PSIG SIGSEGV caught handler=0x2873ec50 mask=0x4 code=0x2 34746 100377 pack200 CALL nanosleep(0xffcfbe24,0xffcfbe1c) 34746 100400 pack200 CALL sigaction(SIGSEGV,0xffffb9d8,0xffffb9c0) 34746 100400 pack200 RET sigaction 0 34746 100400 pack200 CALL sigaction(SIGBUS,0xffffb9d8,0xffffb9c0) 34746 100400 pack200 RET sigaction 0 34746 100400 pack200 CALL write(0x1,0xffffb0c8,0x2) 34746 100400 pack200 GIO fd 1 wrote 2 bytes "# " 34746 100400 pack200 RET write 2 34746 100400 pack200 CALL write(0x1,0xffffb0c8,0x44) 34746 100400 pack200 GIO fd 1 wrote 68 bytes "# An unexpected error has been detected by HotSpot Virtual Machine: Also, I ran the command several times from command line and it looks like a chance of the crash is 50%. BTW, the command was: /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/bin/pack200 -J-Xmx256m -J-esa -J-ea "--no-gzip" "--config-file=pack.all.properties" --strip-debug /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/pack/pack-jre-jars/lib/rt.pack /usr/obj/ports/usr/ports/java/jdk15/work/control/build/bsd-i586/j2re-image/lib/rt.jar Working directory was: /usr/obj/ports/usr/ports/java/jdk15/work/install/make/pack Just in case: the machine has 4GB of RAM. -- Andriy Gapon From owner-freebsd-amd64@FreeBSD.ORG Thu Nov 27 17:20:01 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB0E01065673 for ; Thu, 27 Nov 2008 17:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AD25E8FC21 for ; Thu, 27 Nov 2008 17:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mARHK1t8071749 for ; Thu, 27 Nov 2008 17:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mARHK1Dk071748; Thu, 27 Nov 2008 17:20:01 GMT (envelope-from gnats) Resent-Date: Thu, 27 Nov 2008 17:20:01 GMT Resent-Message-Id: <200811271720.mARHK1Dk071748@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jurriaan Nijkamp Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C97641065672 for ; Thu, 27 Nov 2008 17:19:09 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id BD8B68FC1B for ; Thu, 27 Nov 2008 17:19:09 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id mARHJ9fx069662 for ; Thu, 27 Nov 2008 17:19:09 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id mARHJ9Fb069661; Thu, 27 Nov 2008 17:19:09 GMT (envelope-from nobody) Message-Id: <200811271719.mARHJ9Fb069661@www.freebsd.org> Date: Thu, 27 Nov 2008 17:19:09 GMT From: Jurriaan Nijkamp To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Thu, 27 Nov 2008 19:55:27 +0000 Cc: Subject: amd64/129238: System randomly panics X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Nov 2008 17:20:01 -0000 >Number: 129238 >Category: amd64 >Synopsis: System randomly panics >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 27 17:20:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Jurriaan Nijkamp >Release: 7.0-RELEASE-p5 >Organization: >Environment: FreeBSD merry.grandline 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Wed Nov 26 19:51:27 CET 2008 jurrie@merry.grandline:/usr/obj/usr/src/sys/GENERIC amd64 >Description: My home server seems to undergo random kernel panics. The panic string always says "Page fault". I have started a thread on the FreeBSD forums in hope of getting any answers, but did not. Even a seemlingly very knowledgeable forum member was unable to determine the cause, let alone a solution. The forum thread can be read here: http://forums.freebsd.org/showthread.php?p=3201 It contains a dmesg of my system, backtraces of the vmcore.* files and all the things we tried in our quest to solve this mystery. In the end, it was suggested I should submit a problem report in the hopes of finding a solution to this. If any further information is needed, I would be happy to oblige. >How-To-Repeat: Just leaving the server running and it will panic at some time. Panics seem to be random. At first they occurred frequently when loading a torrent into my torrent daemon, but this ceased after I reformatted my ext3 disks to UFS. The most recent occurrence was when I was streaming a video to my playstation, using mediatomb. Besides the broad concept of disk and network IO, there is nothing I can pinpoint. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Sat Nov 29 17:45:57 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B58351065675; Sat, 29 Nov 2008 17:45:57 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A2FC48FC08; Sat, 29 Nov 2008 17:45:57 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mATHjvBN037818; Sat, 29 Nov 2008 17:45:57 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mATHjvIv037814; Sat, 29 Nov 2008 17:45:57 GMT (envelope-from gavin) Date: Sat, 29 Nov 2008 17:45:57 GMT Message-Id: <200811291745.mATHjvIv037814@freefall.freebsd.org> To: cvarda@gmail.com, gavin@FreeBSD.org, freebsd-amd64@FreeBSD.org, gavin@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: amd64/103259: [ar] Cannot use ataraid on nvidia nForce4+amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Nov 2008 17:45:57 -0000 Synopsis: [ar] Cannot use ataraid on nvidia nForce4+amd64 State-Changed-From-To: feedback->closed State-Changed-By: gavin State-Changed-When: Sat Nov 29 17:43:11 UTC 2008 State-Changed-Why: Feedback timeout (6 months). To submitter: if you are able to retest this with a newer version of FreeBSD (ideally 7.0 or 7.1 when it is releases) and find it still doesn't work, we can reopen this report. Note that we will need at least a copy of your dmesg and the output of "pciconf -lv" before there's any hope of diagnsing this problem. Responsible-Changed-From-To: freebsd-amd64->gavin Responsible-Changed-By: gavin Responsible-Changed-When: Sat Nov 29 17:43:11 UTC 2008 Responsible-Changed-Why: Track http://www.freebsd.org/cgi/query-pr.cgi?pr=103259