From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 30 07:10:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00281106564A for ; Sun, 30 Aug 2009 07:10: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 D20E58FC1C for ; Sun, 30 Aug 2009 07:10:01 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7U7A1oK063696 for ; Sun, 30 Aug 2009 07:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7U7A1xs063695; Sun, 30 Aug 2009 07:10:01 GMT (envelope-from gnats) Resent-Date: Sun, 30 Aug 2009 07:10:01 GMT Resent-Message-Id: <200908300710.n7U7A1xs063695@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Igor Popov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60DA51065677 for ; Sun, 30 Aug 2009 07:08:45 +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 50E0E8FC1C for ; Sun, 30 Aug 2009 07:08:45 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7U78img014071 for ; Sun, 30 Aug 2009 07:08:44 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7U78itu014070; Sun, 30 Aug 2009 07:08:44 GMT (envelope-from nobody) Message-Id: <200908300708.n7U78itu014070@www.freebsd.org> Date: Sun, 30 Aug 2009 07:08:44 GMT From: Igor Popov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: bin/138331: FreeBSD 8.0-beta3 wpa_supplicant lost auth X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 07:10:02 -0000 >Number: 138331 >Category: bin >Synopsis: FreeBSD 8.0-beta3 wpa_supplicant lost auth >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 30 07:10:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Igor Popov >Release: FreeBSD 8.0-BETA3 >Organization: >Environment: FreeBSD unix.my.net 8.0-BETA3 FreeBSD 8.0-BETA3 #0: Sat Aug 29 09:43:53 EEST 2009 toor@unix.my.net:/usr/obj/usr/src/sys/SUPERKERNEL-8.0 i386 >Description: $ dmesg|grep ath0 ath0: mem 0xd3000000-0xd300ffff irq 16 at device 6.0 on pci5 ath0: [ITHREAD] ath0: AR2413 mac 7.9 RF2413 phy 4.5 in /etc/rc.conf: # ifaces wifi_addr="192.168.12.2" wlans_ath0="wlan0" ifconfig_wlan0="WPA inet ${wifi_addr} netmask 255.255.255.248" /etc/wpa_supplicant.conf #ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel eapol_version=1 ap_scan=1 fast_reauth=1 country=RU network={ ssid="micronet" bssid=00:17:9a:f0:b6:82 scan_ssid=1 key_mgmt=WPA-PSK proto=WPA pairwise=TKIP group=TKIP psk="ndGJQtUM$utbk.I7Dsk76.9f0aYaUe." } Periodically I see that wlan0 lost connection: $ ifconfig wlan0 wlan0: flags=8843 metric 0 mtu 1500 ether 00:15:e9:a4:58:9b inet 192.168.12.2 netmask 0xfffffff8 broadcast 192.168.12.7 media: IEEE 802.11 Wireless Ethernet OFDM/18Mbps mode 11g status: associated ssid micronet channel 11 (2462 Mhz 11g) bssid 00:17:9a:f0:b6:82 regdomain 32976 country DK indoor ecm authmode WPA privacy ON deftxkey UNDEF TKIP 4:128-bit txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL $ ifconfig wlan0 wlan0: flags=8843 metric 0 mtu 1500 ether 00:15:e9:a4:58:9b inet 192.168.12.2 netmask 0xfffffff8 broadcast 192.168.12.7 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid "" channel 6 (2437 Mhz 11g) regdomain 32976 country DK indoor ecm authmode WPA privacy ON deftxkey UNDEF txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL Logs concerned to wpa_supplicant: Aug 30 09:57:19 unix kernel: wlan0: link state changed to DOWN Aug 30 09:57:19 unix wpa_supplicant[11672]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Aug 30 09:57:22 unix wpa_supplicant[11674]: CTRL-EVENT-SCAN-RESULTS Aug 30 09:57:22 unix wpa_supplicant[11672]: CTRL-EVENT-SCAN-RESULTS Aug 30 09:57:22 unix wpa_supplicant[11672]: Trying to associate with 00:17:9a:f0:b6:82 (SSID='micronet' freq=2462 MHz) Aug 30 09:57:22 unix wpa_supplicant[11674]: Trying to associate with 00:17:9a:f0:b6:82 (SSID='micronet' freq=2462 MHz) Aug 30 09:57:22 unix wpa_supplicant[11674]: Associated with 00:17:9a:f0:b6:82 Aug 30 09:57:22 unix kernel: wlan0: link state changed to UP Aug 30 09:57:22 unix wpa_supplicant[11672]: Associated with 00:17:9a:f0:b6:82 Aug 30 09:57:23 unix wpa_supplicant[11672]: WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK Aug 30 09:57:23 unix wpa_supplicant[11672]: WPA: Could not verify EAPOL-Key MIC - dropping packet Aug 30 09:57:24 unix wpa_supplicant[11674]: WPA: Key negotiation completed with 00:17:9a:f0:b6:82 [PTK=TKIP GTK=TKIP] Aug 30 09:57:24 unix wpa_supplicant[11672]: WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK Aug 30 09:57:24 unix wpa_supplicant[11672]: WPA: Could not verify EAPOL-Key MIC - dropping packet Aug 30 09:57:24 unix wpa_supplicant[11674]: CTRL-EVENT-CONNECTED - Connection to 00:17:9a:f0:b6:82 completed (reauth) [id=0 id_str=] Aug 30 09:57:33 unix wpa_supplicant[11672]: Authentication with 00:17:9a:f0:b6:82 timed out. Aug 30 09:57:33 unix wpa_supplicant[11674]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Aug 30 09:57:33 unix kernel: wlan0: link state changed to DOWN Aug 30 09:57:33 unix wpa_supplicant[11672]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Aug 30 09:57:35 unix wpa_supplicant[11674]: CTRL-EVENT-SCAN-RESULTS Aug 30 09:57:35 unix wpa_supplicant[11672]: CTRL-EVENT-SCAN-RESULTS Aug 30 09:57:35 unix wpa_supplicant[11674]: Trying to associate with 00:17:9a:f0:b6:82 (SSID='micronet' freq=2462 MHz) Aug 30 09:57:35 unix wpa_supplicant[11672]: Trying to associate with 00:17:9a:f0:b6:82 (SSID='micronet' freq=2462 MHz) Aug 30 09:57:35 unix wpa_supplicant[11674]: Associated with 00:17:9a:f0:b6:82 Aug 30 09:57:35 unix kernel: wlan0: link state changed to UP Aug 30 09:57:35 unix wpa_supplicant[11672]: Associated with 00:17:9a:f0:b6:82 Aug 30 09:57:36 unix wpa_supplicant[11672]: WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK Aug 30 09:57:36 unix wpa_supplicant[11672]: WPA: Could not verify EAPOL-Key MIC - dropping packet Aug 30 09:57:37 unix wpa_supplicant[11674]: WPA: Key negotiation completed with 00:17:9a:f0:b6:82 [PTK=TKIP GTK=TKIP] Aug 30 09:57:37 unix wpa_supplicant[11672]: WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK Aug 30 09:57:37 unix wpa_supplicant[11672]: WPA: Could not verify EAPOL-Key MIC - dropping packet Aug 30 09:57:37 unix wpa_supplicant[11674]: CTRL-EVENT-CONNECTED - Connection to 00:17:9a:f0:b6:82 completed (reauth) [id=0 id_str=] Aug 30 09:57:46 unix wpa_supplicant[11672]: Authentication with 00:17:9a:f0:b6:82 timed out. Aug 30 09:57:46 unix wpa_supplicant[11674]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Aug 30 09:57:46 unix kernel: wlan0: link state changed to DOWN Aug 30 09:57:46 unix wpa_supplicant[11672]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Aug 30 09:57:49 unix wpa_supplicant[11674]: CTRL-EVENT-SCAN-RESULTS Aug 30 09:57:49 unix wpa_supplicant[11672]: CTRL-EVENT-SCAN-RESULTS Aug 30 09:57:49 unix wpa_supplicant[11672]: Trying to associate with 00:17:9a:f0:b6:82 (SSID='micronet' freq=2462 MHz) Aug 30 09:57:49 unix wpa_supplicant[11674]: Trying to associate with 00:17:9a:f0:b6:82 (SSID='micronet' freq=2462 MHz) Aug 30 09:57:49 unix wpa_supplicant[11674]: Associated with 00:17:9a:f0:b6:82 Aug 30 09:57:49 unix kernel: wlan0: link state changed to UP Aug 30 09:57:49 unix wpa_supplicant[11672]: Associated with 00:17:9a:f0:b6:82 >How-To-Repeat: For me problems occurs every few minutes. There were no problems on FreeBSD 6.x . >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 30 07:33:16 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F8581065674; Sun, 30 Aug 2009 07:33:16 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 387BC8FC34; Sun, 30 Aug 2009 07:33:16 +0000 (UTC) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7U7XFsx014986; Sun, 30 Aug 2009 07:33:15 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7U7XFnK014980; Sun, 30 Aug 2009 07:33:15 GMT (envelope-from linimon) Date: Sun, 30 Aug 2009 07:33:15 GMT Message-Id: <200908300733.n7U7XFnK014980@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: bin/138331: FreeBSD 8.0-beta3 wpa_supplicant(8) lost auth X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 07:33:16 -0000 Old Synopsis: FreeBSD 8.0-beta3 wpa_supplicant lost auth New Synopsis: FreeBSD 8.0-beta3 wpa_supplicant(8) lost auth Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Sun Aug 30 07:32:41 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=138331 From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 30 09:00:09 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16F641065670 for ; Sun, 30 Aug 2009 09:00:09 +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 E0B568FC15 for ; Sun, 30 Aug 2009 09:00:08 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7U908Qk006421 for ; Sun, 30 Aug 2009 09:00:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7U908TS006420; Sun, 30 Aug 2009 09:00:08 GMT (envelope-from gnats) Resent-Date: Sun, 30 Aug 2009 09:00:08 GMT Resent-Message-Id: <200908300900.n7U908TS006420@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Richard Tector Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE5871065675 for ; Sun, 30 Aug 2009 08:54:33 +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 BE2B48FC12 for ; Sun, 30 Aug 2009 08:54:33 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7U8sXx3033218 for ; Sun, 30 Aug 2009 08:54:33 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7U8sXpH033211; Sun, 30 Aug 2009 08:54:33 GMT (envelope-from nobody) Message-Id: <200908300854.n7U8sXpH033211@www.freebsd.org> Date: Sun, 30 Aug 2009 08:54:33 GMT From: Richard Tector To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138332: ifconfig tun0 destroy causes LOR on 8.0-BETA3 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 09:00:09 -0000 >Number: 138332 >Category: kern >Synopsis: ifconfig tun0 destroy causes LOR on 8.0-BETA3 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 30 09:00:08 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Richard Tector >Release: FreeBSD 8.0-BETA3 amd64 >Organization: >Environment: FreeBSD daffy.tector.org.uk 8.0-BETA3 FreeBSD 8.0-BETA3 #17: Sat Aug 29 13:46:30 BST 2009 richard@daffy.tector.org.uk:/usr/obj/usr/src/sys/DAFFY amd64 >Description: Issuing ifconfig tun0 destroy after stopping PPP causes a lock order reversal as follows: tun0: link state changed to DOWN lock order reversal: 1st 0xffffff00037b4bc8 if_afdata (if_afdata) @ /usr/src/sys/net/if.c:912 2nd 0xffffffff80a42200 mld_mtx (mld_mtx) @ /usr/src/sys/netinet6/mld6.c:569 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a _witness_debugger() at _witness_debugger+0x2e witness_checkorder() at witness_checkorder+0x80b _mtx_lock_flags() at _mtx_lock_flags+0x71 mld_domifdetach() at mld_domifdetach+0x24 in6_domifdetach() at in6_domifdetach+0x11 if_detach() at if_detach+0x792 tun_destroy() at tun_destroy+0x70 ifc_simple_destroy() at ifc_simple_destroy+0x2a if_clone_destroyif() at if_clone_destroyif+0xc0 ifioctl() at ifioctl+0x6f4 kern_ioctl() at kern_ioctl+0xc3 ioctl() at ioctl+0xfc syscall() at syscall+0x1b2 Xfast_syscall() at Xfast_syscall+0xe1 --- syscall (54, FreeBSD ELF64, ioctl), rip = 0x800a7bbbc, rsp = 0x7fffffffe238, rbp = 0x51cf28 --- >How-To-Repeat: /etc/rc.d/ppp stop ifconfig tun0 destroy >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 30 09:22:55 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A396F1065672; Sun, 30 Aug 2009 09:22:55 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7B4638FC0C; Sun, 30 Aug 2009 09:22:55 +0000 (UTC) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7U9MtjO035484; Sun, 30 Aug 2009 09:22:55 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7U9Mtsk035480; Sun, 30 Aug 2009 09:22:55 GMT (envelope-from linimon) Date: Sun, 30 Aug 2009 09:22:55 GMT Message-Id: <200908300922.n7U9Mtsk035480@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/138332: [tun] [lor] ifconfig tun0 destroy causes LOR on 8.0-BETA3 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 09:22:55 -0000 Old Synopsis: ifconfig tun0 destroy causes LOR on 8.0-BETA3 New Synopsis: [tun] [lor] ifconfig tun0 destroy causes LOR on 8.0-BETA3 Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Sun Aug 30 09:22:38 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=138332 From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 30 10:00:10 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E337106564A for ; Sun, 30 Aug 2009 10:00:10 +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 DBF218FC1D for ; Sun, 30 Aug 2009 10:00:09 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7UA09M9068513 for ; Sun, 30 Aug 2009 10:00:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7UA09cB068512; Sun, 30 Aug 2009 10:00:09 GMT (envelope-from gnats) Date: Sun, 30 Aug 2009 10:00:09 GMT Message-Id: <200908301000.n7UA09cB068512@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Petr Salinger Cc: Subject: Re: kern/138002: [lor] Three lock order reversals: ufs/devfs, bufwait/dirhash, bufwait/ufs X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Petr Salinger List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 10:00:10 -0000 The following reply was made to PR kern/138002; it has been noted by GNATS. From: Petr Salinger To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/138002: [lor] Three lock order reversals: ufs/devfs, bufwait/dirhash, bufwait/ufs Date: Sun, 30 Aug 2009 12:29:01 +0200 (CEST) Similarly for me, 8.0 snapshot as of 20090829, in QEMU: lock order reversal: 1st 0xc3177250 bufwait (bufwait) @ kern/vfs_bio.c:2559 2nd 0xc35b2c00 dirhash (dirhash) @ ufs/ufs/ufs_dirhash.c:285 lock order reversal: 1st 0xc35f49c4 ufs (ufs) @ kern/vfs_mount.c:1200 2nd 0xc35f4df4 devfs (devfs) @ kern/vfs_subr.c:2083 Whole dmesg of boot and reboot: Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. #0 Sat Aug 29 21:10:23 CEST 2009 WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: QEMU Virtual CPU version 0.10.5 (2672.21-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x623 Stepping = 3 Features=0x78bf3fd Features2=0x9 AMD Features=0xe0100800 AMD Features2=0x4 real memory = 536805376 (511 MB) avail memory = 507310080 (483 MB) ACPI APIC Table: MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xb008-0xb00b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 100000000 Hz quality 900 pcib0: port 0xcf8-0xcff on acpi0 pci_link0: BIOS IRQ 9 does not match initial IRQ 11 pci0: on pcib0 Correcting Natoma config for non-SMP isab0: at device 1.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc000-0xc00f at device 1.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 1.3 (no driver attached) vgapci0: mem 0xc0000000-0xc1ffffff,0xc2000000-0xc2000fff at device 2.0 on pci0 ed0: port 0xc100-0xc1ff irq 11 at device 3.0 on pci0 ed0: ed_stop_hw RST never set ed0: WARNING: using obsoleted if_watchdog interface ed0: Ethernet address: 52:54:00:12:34:56 ed0: [ITHREAD] pci0: at device 4.0 (no driver attached) atrtc0: port 0x70-0x71,0x72-0x77 irq 8 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: flags 0x100 irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse Explorer, device ID 4 ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppc0: [ITHREAD] ppbus0: on ppc0 uart0: port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] cpu0: on acpi0 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 2672214032 Hz quality 800 Timecounters tick every 1.000 msec driver bug: Unable to set devclass (devname: (null)) ad0: 4000MB at ata0-master WDMA2 acd0: CDROM at ata1-master WDMA2 WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from ufs:/dev/ad0s1a Trying to mount root from ufs:/dev/ad0s1a (probe0:ata1:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:ata1:0:0:0): CAM Status: SCSI Status Error (probe0:ata1:0:0:0): SCSI Status: Check Condition (probe0:ata1:0:0:0): NOT READY asc:3a,0 (probe0:ata1:0:0:0): Medium not present (probe0:ata1:0:0:0): Unretryable error cd0 at ata1 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 16.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present lock order reversal: 1st 0xc3177250 bufwait (bufwait) @ kern/vfs_bio.c:2559 2nd 0xc35b2c00 dirhash (dirhash) @ ufs/ufs/ufs_dirhash.c:285 KDB: stack backtrace: db_trace_self_wrapper(d63a1a60,c08dfe38,c0c80821,c0c284c4,d63a1ac8,...) at db_trace_self_wrapper+0x26 _witness_debugger(c0c19b98,c35b2c00,c0c284c4,c342fce0,c0c80821,...) at _witness_debugger+0x25 witness_checkorder(c35b2c00,9,c0c80818,11d,0,...) at witness_checkorder+0x7f6 _sx_xlock(c35b2c00,0,c0c80818,11d,cd637490,...) at _sx_xlock+0x52 ufsdirhash_acquire(d63a1b2c,0,0,c00,490,...) at ufsdirhash_acquire+0x35 ufsdirhash_remove(c36e5bc8,cd637490,490,d63a1b60,d63a1b5c,...) at ufsdirhash_remove+0x1d ufs_dirremove(c35f4324,c370315c,500800c,0,c35f4324,...) at ufs_dirremove+0x180 ufs_remove(d63a1c34,d63a1c44,d63a1c0c,d63a1c0c,c3726860,...) at ufs_remove+0x81 VOP_REMOVE_APV(c0d56ec0,d63a1c34,c3726860,d63a1c0c,bfbfeeec,...) at VOP_REMOVE_APV+0x5d kern_unlinkat(c3719900,ffffff9c,bfbfeeec,0,d63a1c80,...) at kern_unlinkat+0x23d kern_unlink(c3719900,bfbfeeec,0,d63a1d2c,c0b87b67,...) at kern_unlink+0x27 unlink(c3719900,d63a1cf8,4,c0c282d2,c0d36218,...) at unlink+0x22 syscall(d63a1d38) at syscall+0x177 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (10, FreeBSD ELF32, unlink), eip = 0x28135c07, esp = 0xbfbfebbc, ebp = 0xbfbfecb8 --- ed0: ed_stop_hw RST never set ed0: ed_stop_hw RST never set Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...0 done All buffers synced. lock order reversal: 1st 0xc35f49c4 ufs (ufs) @ kern/vfs_mount.c:1200 2nd 0xc35f4df4 devfs (devfs) @ kern/vfs_subr.c:2083 KDB: stack backtrace: db_trace_self_wrapper(d636e9e4,c08dfe38,c0c1e124,c0c11fcc,d636ea4c,...) at db_trace_self_wrapper+0x26 _witness_debugger(c0c19b98,c35f4df4,c0c11fcc,c342fba8,c0c1e124,...) at _witness_debugger+0x25 witness_checkorder(c35f4df4,9,c0c1e11b,823,0,...) at witness_checkorder+0x7f6 __lockmgr_args(c35f4df4,80100,c35f4e10,0,0,...) at __lockmgr_args+0xf00 vop_stdlock(d636eb20,3,c35b0994,80000,c35f4d9c,...) at vop_stdlock+0x54 VOP_LOCK1_APV(c0d32b00,d636eb20,c342ba40,c0d6f720,c35f4d9c,...) at VOP_LOCK1_APV+0x7f _vn_lock(c35f4d9c,80100,c0c1e11b,823,15f,...) at _vn_lock+0x49 vget(c35f4d9c,80100,c36f5b40,15e,9d,...) at vget+0x66 devfs_allocv(c36dd080,c36df000,d636ebb4,9d,c35f496c,...) at devfs_allocv+0x110 devfs_root(c36df000,80000,d636ebf0,4f5,c31b0df0,...) at devfs_root+0x4a dounmount(c36df000,80000,c36f5b40,c36f5b40,c3176230,...) at dounmount+0x53e vfs_unmountall(c31763e0,0,c0c174e4,129,0,...) at vfs_unmountall+0x50 boot(c0da3a30,0,c0c174e4,ac,c0d36100,...) at boot+0x757 reboot(c36f5b40,d636ecf8,4,c0c1add0,c0d36704,...) at reboot+0x77 syscall(d636ed38) at syscall+0x177 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (55, FreeBSD ELF32, reboot), eip = 0x28132687, esp = 0xbfbfed3c, ebp = 0x1 --- Uptime: 25m7s Rebooting... From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 30 11:40:03 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AC151065673 for ; Sun, 30 Aug 2009 11:40:03 +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 2D4BF8FC12 for ; Sun, 30 Aug 2009 11:40:03 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7UBe2tl075126 for ; Sun, 30 Aug 2009 11:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7UBe2SO075125; Sun, 30 Aug 2009 11:40:02 GMT (envelope-from gnats) Resent-Date: Sun, 30 Aug 2009 11:40:02 GMT Resent-Message-Id: <200908301140.n7UBe2SO075125@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eugene Grosbein Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21043106566C; Sun, 30 Aug 2009 11:37:56 +0000 (UTC) (envelope-from eugen@kuzbass.ru) Received: from grosbein.pp.ru (grosbein.pp.ru [89.189.172.146]) by mx1.freebsd.org (Postfix) with ESMTP id 7E2688FC13; Sun, 30 Aug 2009 11:37:54 +0000 (UTC) Received: from grosbein.pp.ru (localhost [127.0.0.1]) by grosbein.pp.ru (8.14.3/8.14.3) with ESMTP id n7UBN7V9001671; Sun, 30 Aug 2009 19:23:07 +0800 (KRAST) (envelope-from eugen@kuzbass.ru) Received: (from eugen@localhost) by grosbein.pp.ru (8.14.3/8.14.3/Submit) id n7UBN6M7001670; Sun, 30 Aug 2009 19:23:06 +0800 (KRAST) (envelope-from eugen) Message-Id: <200908301123.n7UBN6M7001670@kuzbass.ru> Date: Sun, 30 Aug 2009 19:23:06 +0800 (KRAST) From: Eugene Grosbein To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: stable@freebd.org, qa@FreeBSD.org Subject: kern/138341: [patch] 8.0-BETA3: nanobsd build broken due to sysipc kernel module X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eugene Grosbein List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 11:40:03 -0000 >Number: 138341 >Category: kern >Synopsis: [patch] 8.0-BETA3: nanobsd build broken due to sysipc kernel module >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 30 11:40:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Eugene Grosbein >Release: FreeBSD 8.0-BETA3 i386 >Organization: Private person >Environment: System: FreeBSD grosbein.pp.ru 8.0-BETA3 FreeBSD 8.0-BETA3 #6: Fri Aug 28 22:34:15 KRAST 2009 eugen@grosbein.pp.ru:/usr/local/obj/usr/local/src/sys/DADV i386 >Description: NanoBSD does not builds: ===> sys/modules/sysvipc/sysvmsg (depend) machine -> /usr/local/src/sys/i386/include :> opt_sysvipc.h @ -> /usr/local/src/sys rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I. -I@ -I@/contrib/altq /usr/local/src/sys/modules/sysvipc/sysvmsg/../../../kern/sysv_msg.c /usr/local/src/sys/modules/sysvipc/sysvmsg/../../../kern/sysv_msg.c:53:24: error: opt_compat.h: No such file or directory mkdep: compile failed *** Error code 1 >How-To-Repeat: Try to build NanoBSD. >Fix: Apply next patch to /usr/src: --- sys/modules/sysvipc/sysvmsg/Makefile.orig 2009-08-30 19:12:16.000000000 +0800 +++ sys/modules/sysvipc/sysvmsg/Makefile 2009-08-30 19:14:13.000000000 +0800 @@ -5,4 +5,11 @@ KMOD= sysvmsg SRCS= sysv_msg.c opt_sysvipc.h +.if !defined(KERNBUILDDIR) +opt_compat.h: + echo "#define COMPAT_FREEBSD8 1" > ${.TARGET} + +SRCS+= opt_compat.h +.endif + .include >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 30 12:20:03 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 621E71065675 for ; Sun, 30 Aug 2009 12:20:03 +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 3FD038FC24 for ; Sun, 30 Aug 2009 12:20:03 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7UCK3Bo013873 for ; Sun, 30 Aug 2009 12:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7UCK3Rw013872; Sun, 30 Aug 2009 12:20:03 GMT (envelope-from gnats) Resent-Date: Sun, 30 Aug 2009 12:20:03 GMT Resent-Message-Id: <200908301220.n7UCK3Rw013872@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexander Kirpa Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B05D3106566B for ; Sun, 30 Aug 2009 12:13:21 +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 8640C8FC0C for ; Sun, 30 Aug 2009 12:13:21 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7UCDK6T081066 for ; Sun, 30 Aug 2009 12:13:20 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7UCDKAq081065; Sun, 30 Aug 2009 12:13:20 GMT (envelope-from nobody) Message-Id: <200908301213.n7UCDKAq081065@www.freebsd.org> Date: Sun, 30 Aug 2009 12:13:20 GMT From: Alexander Kirpa To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/138344: floppies directory not found X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 12:20:03 -0000 >Number: 138344 >Category: misc >Synopsis: floppies directory not found >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 30 12:20:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Alexander Kirpa >Release: i386/8.0-BETAx >Organization: private >Environment: before install >Description: For install need floppies directory. Some old servers not have CD/DVD/usb and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-start.html still have reference for floppies install. >How-To-Repeat: read ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/8.0-BETA3/ >Fix: add floppies directory >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 30 12:40:03 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38D91106566B for ; Sun, 30 Aug 2009 12:40:03 +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 26FEA8FC1C for ; Sun, 30 Aug 2009 12:40:03 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7UCe31v035334 for ; Sun, 30 Aug 2009 12:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7UCe356035333; Sun, 30 Aug 2009 12:40:03 GMT (envelope-from gnats) Date: Sun, 30 Aug 2009 12:40:03 GMT Message-Id: <200908301240.n7UCe356035333@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Marc Fonvieille Cc: Subject: Re: kern/138341: [patch] 8.0-BETA3: nanobsd build broken due to sysipc kernel module X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marc Fonvieille List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 12:40:03 -0000 The following reply was made to PR kern/138341; it has been noted by GNATS. From: Marc Fonvieille To: Eugene Grosbein Cc: FreeBSD-gnats-submit@FreeBSD.org, stable@freebd.org, qa@FreeBSD.org Subject: Re: kern/138341: [patch] 8.0-BETA3: nanobsd build broken due to sysipc kernel module Date: Sun, 30 Aug 2009 14:34:08 +0200 On Sun, Aug 30, 2009 at 07:23:06PM +0800, Eugene Grosbein wrote: > > >Number: 138341 > >Category: kern > >Synopsis: [patch] 8.0-BETA3: nanobsd build broken due to sysipc kernel module > >Confidential: no > >Severity: serious > >Priority: high > >Responsible: freebsd-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Sun Aug 30 11:40:02 UTC 2009 > >Closed-Date: > >Last-Modified: > >Originator: Eugene Grosbein > >Release: FreeBSD 8.0-BETA3 i386 > >Organization: > Private person > >Environment: > System: FreeBSD grosbein.pp.ru 8.0-BETA3 FreeBSD 8.0-BETA3 #6: Fri Aug 28 22:34:15 KRAST 2009 eugen@grosbein.pp.ru:/usr/local/obj/usr/local/src/sys/DADV i386 > > >Description: > > NanoBSD does not builds: > > ===> sys/modules/sysvipc/sysvmsg (depend) > machine -> /usr/local/src/sys/i386/include > :> opt_sysvipc.h > @ -> /usr/local/src/sys > rm -f .depend > mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I. -I@ -I@/contrib/altq /usr/local/src/sys/modules/sysvipc/sysvmsg/../../../kern/sysv_msg.c > /usr/local/src/sys/modules/sysvipc/sysvmsg/../../../kern/sysv_msg.c:53:24: error: opt_compat.h: No such file or directory > mkdep: compile failed > *** Error code 1 > > >How-To-Repeat: > Try to build NanoBSD. > > >Fix: > > Apply next patch to /usr/src: > > --- sys/modules/sysvipc/sysvmsg/Makefile.orig 2009-08-30 19:12:16.000000000 +0800 > +++ sys/modules/sysvipc/sysvmsg/Makefile 2009-08-30 19:14:13.000000000 +0800 > @@ -5,4 +5,11 @@ > KMOD= sysvmsg > SRCS= sysv_msg.c opt_sysvipc.h > > +.if !defined(KERNBUILDDIR) > +opt_compat.h: > + echo "#define COMPAT_FREEBSD8 1" > ${.TARGET} > + > +SRCS+= opt_compat.h > +.endif > + > .include > > I suspect it's the problem I met when I tried to do a make -DMODULES_WITH_WORLD="YES" buildworld and many modules were concerned. See the following patch: Index: sys/modules/dtrace/lockstat/Makefile =================================================================== --- sys/modules/dtrace/lockstat/Makefile (revision 196013) +++ sys/modules/dtrace/lockstat/Makefile (working copy) @@ -5,7 +5,7 @@ KMOD= lockstat SRCS= lockstat.c -SRCS+= vnode_if.h +SRCS+= vnode_if.h opt_kdtrace.h CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris \ -I${.CURDIR}/../../../cddl/contrib/opensolaris/uts/common \ Index: sys/modules/sysvipc/sysvsem/Makefile =================================================================== --- sys/modules/sysvipc/sysvsem/Makefile (revision 196013) +++ sys/modules/sysvipc/sysvsem/Makefile (working copy) @@ -3,6 +3,6 @@ .PATH: ${.CURDIR}/../../../kern KMOD= sysvsem -SRCS= sysv_sem.c opt_sysvipc.h +SRCS= sysv_sem.c opt_sysvipc.h opt_compat.h .include Index: sys/modules/sysvipc/sysvmsg/Makefile =================================================================== --- sys/modules/sysvipc/sysvmsg/Makefile (revision 196013) +++ sys/modules/sysvipc/sysvmsg/Makefile (working copy) @@ -3,6 +3,6 @@ .PATH: ${.CURDIR}/../../../kern KMOD= sysvmsg -SRCS= sysv_msg.c opt_sysvipc.h +SRCS= sysv_msg.c opt_sysvipc.h opt_compat.h .include -- Marc From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 30 13:00:09 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 009AA106566B for ; Sun, 30 Aug 2009 13:00:08 +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 D10438FC08 for ; Sun, 30 Aug 2009 13:00:08 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7UD08Nl053963 for ; Sun, 30 Aug 2009 13:00:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7UD08tR053962; Sun, 30 Aug 2009 13:00:08 GMT (envelope-from gnats) Date: Sun, 30 Aug 2009 13:00:08 GMT Message-Id: <200908301300.n7UD08tR053962@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Eugene Grosbein Cc: Subject: Re: kern/138341: [patch] 8.0-BETA3: nanobsd build broken due to sysipc kernel module X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eugene Grosbein List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 13:00:09 -0000 The following reply was made to PR kern/138341; it has been noted by GNATS. From: Eugene Grosbein To: Marc Fonvieille Cc: FreeBSD-gnats-submit@FreeBSD.org, stable@freebd.org, qa@FreeBSD.org Subject: Re: kern/138341: [patch] 8.0-BETA3: nanobsd build broken due to sysipc kernel module Date: Sun, 30 Aug 2009 20:40:07 +0800 On Sun, Aug 30, 2009 at 02:34:08PM +0200, Marc Fonvieille wrote: > > ===> sys/modules/sysvipc/sysvmsg (depend) > > machine -> /usr/local/src/sys/i386/include > > :> opt_sysvipc.h > > @ -> /usr/local/src/sys > > rm -f .depend > > mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I. -I@ -I@/contrib/altq /usr/local/src/sys/modules/sysvipc/sysvmsg/../../../kern/sysv_msg.c > > /usr/local/src/sys/modules/sysvipc/sysvmsg/../../../kern/sysv_msg.c:53:24: error: opt_compat.h: No such file or directory > > mkdep: compile failed > > *** Error code 1 > > > > >How-To-Repeat: > > Try to build NanoBSD. > > > > >Fix: > > > > Apply next patch to /usr/src: > > > > --- sys/modules/sysvipc/sysvmsg/Makefile.orig 2009-08-30 19:12:16.000000000 +0800 > > +++ sys/modules/sysvipc/sysvmsg/Makefile 2009-08-30 19:14:13.000000000 +0800 > > @@ -5,4 +5,11 @@ > > KMOD= sysvmsg > > SRCS= sysv_msg.c opt_sysvipc.h > > > > +.if !defined(KERNBUILDDIR) > > +opt_compat.h: > > + echo "#define COMPAT_FREEBSD8 1" > ${.TARGET} > > + > > +SRCS+= opt_compat.h > > +.endif > > + > > .include > > > > > > I suspect it's the problem I met when I tried to do a > > make -DMODULES_WITH_WORLD="YES" buildworld > > and many modules were concerned. See the following patch: > > Index: sys/modules/dtrace/lockstat/Makefile > =================================================================== > --- sys/modules/dtrace/lockstat/Makefile (revision 196013) > +++ sys/modules/dtrace/lockstat/Makefile (working copy) > @@ -5,7 +5,7 @@ > KMOD= lockstat > SRCS= lockstat.c > > -SRCS+= vnode_if.h > +SRCS+= vnode_if.h opt_kdtrace.h > > CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris \ > -I${.CURDIR}/../../../cddl/contrib/opensolaris/uts/common \ > Index: sys/modules/sysvipc/sysvsem/Makefile > =================================================================== > --- sys/modules/sysvipc/sysvsem/Makefile (revision 196013) > +++ sys/modules/sysvipc/sysvsem/Makefile (working copy) > @@ -3,6 +3,6 @@ > .PATH: ${.CURDIR}/../../../kern > > KMOD= sysvsem > -SRCS= sysv_sem.c opt_sysvipc.h > +SRCS= sysv_sem.c opt_sysvipc.h opt_compat.h > > .include > Index: sys/modules/sysvipc/sysvmsg/Makefile > =================================================================== > --- sys/modules/sysvipc/sysvmsg/Makefile (revision 196013) > +++ sys/modules/sysvipc/sysvmsg/Makefile (working copy) > @@ -3,6 +3,6 @@ > .PATH: ${.CURDIR}/../../../kern > > KMOD= sysvmsg > -SRCS= sysv_msg.c opt_sysvipc.h > +SRCS= sysv_msg.c opt_sysvipc.h opt_compat.h > > .include > You are right, other modules are concerned and your patch is more complete and correct. Vote for commit :-) Eugene Grosbein From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 30 13:20:04 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 666AA106566B for ; Sun, 30 Aug 2009 13:20:04 +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 3B27E8FC13 for ; Sun, 30 Aug 2009 13:20:04 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7UDK4Fr073900 for ; Sun, 30 Aug 2009 13:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7UDK4Z7073899; Sun, 30 Aug 2009 13:20:04 GMT (envelope-from gnats) Date: Sun, 30 Aug 2009 13:20:04 GMT Message-Id: <200908301320.n7UDK4Z7073899@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Marc Fonvieille Cc: Subject: Re: kern/138341: [patch] 8.0-BETA3: nanobsd build broken due to sysipc kernel module X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marc Fonvieille List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 13:20:04 -0000 The following reply was made to PR kern/138341; it has been noted by GNATS. From: Marc Fonvieille To: Eugene Grosbein Cc: FreeBSD-gnats-submit@FreeBSD.org, stable@freebd.org, qa@FreeBSD.org Subject: Re: kern/138341: [patch] 8.0-BETA3: nanobsd build broken due to sysipc kernel module Date: Sun, 30 Aug 2009 15:16:25 +0200 On Sun, Aug 30, 2009 at 08:40:07PM +0800, Eugene Grosbein wrote: > > > > I suspect it's the problem I met when I tried to do a > > > > make -DMODULES_WITH_WORLD="YES" buildworld > > > > and many modules were concerned. See the following patch: > > > > Index: sys/modules/dtrace/lockstat/Makefile > > =================================================================== > > --- sys/modules/dtrace/lockstat/Makefile (revision 196013) > > +++ sys/modules/dtrace/lockstat/Makefile (working copy) > > @@ -5,7 +5,7 @@ > > KMOD= lockstat > > SRCS= lockstat.c > > > > -SRCS+= vnode_if.h > > +SRCS+= vnode_if.h opt_kdtrace.h > > > > CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris \ > > -I${.CURDIR}/../../../cddl/contrib/opensolaris/uts/common \ > > Index: sys/modules/sysvipc/sysvsem/Makefile > > =================================================================== > > --- sys/modules/sysvipc/sysvsem/Makefile (revision 196013) > > +++ sys/modules/sysvipc/sysvsem/Makefile (working copy) > > @@ -3,6 +3,6 @@ > > .PATH: ${.CURDIR}/../../../kern > > > > KMOD= sysvsem > > -SRCS= sysv_sem.c opt_sysvipc.h > > +SRCS= sysv_sem.c opt_sysvipc.h opt_compat.h > > > > .include > > Index: sys/modules/sysvipc/sysvmsg/Makefile > > =================================================================== > > --- sys/modules/sysvipc/sysvmsg/Makefile (revision 196013) > > +++ sys/modules/sysvipc/sysvmsg/Makefile (working copy) > > @@ -3,6 +3,6 @@ > > .PATH: ${.CURDIR}/../../../kern > > > > KMOD= sysvmsg > > -SRCS= sysv_msg.c opt_sysvipc.h > > +SRCS= sysv_msg.c opt_sysvipc.h opt_compat.h > > > > .include > > > > You are right, other modules are concerned and your patch is more complete > and correct. Vote for commit :-) > For info this unbreak things for most of archs but mips and arm which need more work in sys/modules/Makefile. However we can already commit this patch. -- Marc From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 30 15:00:09 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A4D5106566C for ; Sun, 30 Aug 2009 15:00:09 +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 091728FC14 for ; Sun, 30 Aug 2009 15:00:09 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7UF08C8085565 for ; Sun, 30 Aug 2009 15:00:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7UF08KH085564; Sun, 30 Aug 2009 15:00:08 GMT (envelope-from gnats) Resent-Date: Sun, 30 Aug 2009 15:00:08 GMT Resent-Message-Id: <200908301500.n7UF08KH085564@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eugene Grosbein Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0BFF1065693 for ; Sun, 30 Aug 2009 14:53:34 +0000 (UTC) (envelope-from eugen@grosbein.pp.ru) Received: from grosbein.pp.ru (grosbein.pp.ru [89.189.172.146]) by mx1.freebsd.org (Postfix) with ESMTP id 1F5128FC1C for ; Sun, 30 Aug 2009 14:53:32 +0000 (UTC) Received: from grosbein.pp.ru (localhost [127.0.0.1]) by grosbein.pp.ru (8.14.3/8.14.3) with ESMTP id n7UErSwc071422 for ; Sun, 30 Aug 2009 22:53:28 +0800 (KRAST) (envelope-from eugen@grosbein.pp.ru) Received: (from eugen@localhost) by grosbein.pp.ru (8.14.3/8.14.3/Submit) id n7UErS76071421; Sun, 30 Aug 2009 22:53:28 +0800 (KRAST) (envelope-from eugen) Message-Id: <200908301453.n7UErS76071421@grosbein.pp.ru> Date: Sun, 30 Aug 2009 22:53:28 +0800 (KRAST) From: Eugene Grosbein To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: misc/138347: [patch] [nanobsd] nanobsd build is broken due to mdconfig(8) change X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eugene Grosbein List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 15:00:09 -0000 >Number: 138347 >Category: misc >Synopsis: [patch] [nanobsd] nanobsd build is broken due to mdconfig(8) change >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 30 15:00:08 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Eugene Grosbein >Release: FreeBSD 8.0-BETA3 i386 >Organization: private person >Environment: System: FreeBSD grosbein.pp.ru 8.0-BETA3 FreeBSD 8.0-BETA3 #6: Fri Aug 28 22:34:15 KRAST 2009 eugen@grosbein.pp.ru:/usr/local/obj/usr/local/src/sys/DADV i386 >Description: After http://www.freebsd.org/cgi/query-pr.cgi?pr=116177, mdconfig returns non-zero exit status if called for non-existing device. This reveals a bug of src/tools/tools/nanobsd/nanobsd.sh sitting here from revision 1.1: inside create_i386_diskimage(), it does "mdconfig -d -u $MD" as last statement then runs the same command again as part of "trap ... EXIT" procedure and fails due to not masked non-zero exit status >How-To-Repeat: Try to build nanobsd. >Fix: Remove extra mdconfig call: --- tools/tools/nanobsd/nanobsd.sh.orig 2009-08-30 22:39:54.000000000 +0800 +++ tools/tools/nanobsd/nanobsd.sh 2009-08-30 22:40:00.000000000 +0800 @@ -490,7 +490,6 @@ echo "Writing out _.disk.image..." dd if=/dev/${MD}s1 of=${NANO_DISKIMGDIR}/_.disk.image bs=64k - mdconfig -d -u $MD ) > ${NANO_OBJ}/_.di 2>&1 ) >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 30 15:40:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2A071065672 for ; Sun, 30 Aug 2009 15:40:02 +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 7FE3C8FC23 for ; Sun, 30 Aug 2009 15:40:02 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7UFe2vM029400 for ; Sun, 30 Aug 2009 15:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7UFe2sL029399; Sun, 30 Aug 2009 15:40:02 GMT (envelope-from gnats) Resent-Date: Sun, 30 Aug 2009 15:40:02 GMT Resent-Message-Id: <200908301540.n7UFe2sL029399@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "System V. Unix" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE5E2106566B for ; Sun, 30 Aug 2009 15:35:17 +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 A3DB38FC14 for ; Sun, 30 Aug 2009 15:35:17 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7UFZH3t093590 for ; Sun, 30 Aug 2009 15:35:17 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7UFZHNQ093589; Sun, 30 Aug 2009 15:35:17 GMT (envelope-from nobody) Message-Id: <200908301535.n7UFZHNQ093589@www.freebsd.org> Date: Sun, 30 Aug 2009 15:35:17 GMT From: "System V. Unix" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138350: UFS_EXTATTR static int prototyping error ufs_extattr_autostart_locked X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 15:40:02 -0000 >Number: 138350 >Category: kern >Synopsis: UFS_EXTATTR static int prototyping error ufs_extattr_autostart_locked >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 30 15:40:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: System V. Unix >Release: 7.2-RELEASE >Organization: >Environment: >Description: Using additional kernel option UFS_EXTATTR in 7.2-RELEASE causes a kernel build failure cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror ../../../ufs/ufs/ufs_extattr.c cc1: warnings being treated as errors ./../../ufs/ufs/ufs_extattr.c:97: warning: 'ufs_extattr_autostart_locked' declared 'static' but never defined *** Error code 1 This is because the routine is getting optionally defined around line 215 with a #ifdef UFS_EXTATTR_AUTOSTART, but the prototype is missing the analoguous #ifdef, and the compiler seems to be picky. >How-To-Repeat: Add option UFS_EXTATTR to the 7.2-RELEASE kernel and do a build. The problem was NOT seen in 7.1-RELEASE. >Fix: Trivial solution. Simply the add the pre-process directives around the prototyping of the subroutine at the head of the file. The routine lower down in ufs_extattr.c already has the #ifdefs around it. #ifdef UFS_EXTATTR_AUTOSTART #endif /* !UFS_EXTATTR_AUTOSTART */ That way BOTH the prototype and the subroutine have that #ifdef. e.g. ------------- diff -u usr/src/sys/ufs/ufs/ufs_extattr.c.orig usr/src/sys/ufs/ufs/ufs_extattr.c --- usr/src/sys/ufs/ufs/ufs_extattr.c.orig 2009-08-30 16:57:35.000000000 -0600 +++ usr/src/sys/ufs/ufs/ufs_extattr.c 2009-08-30 17:26:46.000000000 -0600 @@ -93,8 +93,10 @@ struct thread *td); static int ufs_extattr_rm(struct vnode *vp, int attrnamespace, const char *name, struct ucred *cred, struct thread *td); +#ifdef UFS_EXTATTR_AUTOSTART static int ufs_extattr_autostart_locked(struct mount *mp, struct thread *td); +#endif /* !UFS_EXTATTR_AUTOSTART */ static int ufs_extattr_start_locked(struct ufsmount *ump, struct thread *td); >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 30 15:08:52 2009 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72347106566B for ; Sun, 30 Aug 2009 15:08:52 +0000 (UTC) (envelope-from pi@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) by mx1.freebsd.org (Postfix) with ESMTP id 5FE018FC13 for ; Sun, 30 Aug 2009 15:08:45 +0000 (UTC) Received: from pi by home.opsec.eu with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Mhm1N-000Kfy-At for freebsd-bugs@freebsd.org; Sun, 30 Aug 2009 17:08:45 +0200 Resent-From: Kurt Jaeger Resent-Date: Sun, 30 Aug 2009 17:08:45 +0200 Resent-Message-ID: <20090830150845.GN56042@home.opsec.eu> Resent-To: freebsd-bugs@freebsd.org Received: from localhost ([127.0.0.1] ident=exim) by home.opsec.eu with spam-scanned (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Mhluh-000Kf1-DG for pi@home.opsec.eu; Sun, 30 Aug 2009 17:01:51 +0200 Received: from [2001:14f8:200::13] (helo=f7.opsec.eu) by home.opsec.eu with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Mhlug-000Kex-Vm for fbsd-pr@opsec.eu; Sun, 30 Aug 2009 17:01:51 +0200 Received: from pi by f7.opsec.eu with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Mhluh-000N20-4M; Sun, 30 Aug 2009 17:01:51 +0200 To: FreeBSD-gnats-submit@freebsd.org From: Kurt Jaeger X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: Date: Sun, 30 Aug 2009 17:01:51 +0200 Resent-Date: Sun, 30 Aug 2009 17:08:45 +0200 X-Mailman-Approved-At: Sun, 30 Aug 2009 16:09:33 +0000 Cc: fbsd-pr@opsec.eu, openjdk@getsnappy.com, glewis@FreeBSD.org Subject: patch to java/openjdk6 to sucessful build X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kurt Jaeger List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 15:08:52 -0000 >Submitter-Id: current-users >Originator: Kurt Jaeger >Organization: - >Confidential: no >Synopsis: patch to java/openjdk6 to sucessful build >Severity: non-critical >Priority: low >Category: ports >Class: sw-bug >Release: FreeBSD 7.2-STABLE amd64 >Environment: System: FreeBSD f7.opsec.eu 7.2-STABLE FreeBSD 7.2-STABLE #0: Sun Aug 2 22:36:37 CEST 2009 pi@f7.opsec.eu:/usr/obj/usr/src/sys/REFSRV amd64 >Description: java/openjdk6 fails to build due to small glitches in some .gmk files. >How-To-Repeat: cd /usr/ports/java/openjdk6 make >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # files/patch-Release.gmk # files/patch-corba-Defs # files/patch-jdk-Defs # files/patch-set # echo x - files/patch-Release.gmk sed 's/^X//' >files/patch-Release.gmk << '258244522fe01f4cc6ec036b7230a0f1' X--- jdk/make/common/Release.gmk.orig 2009-04-24 09:33:54.000000000 +0200 X+++ jdk/make/common/Release.gmk 2009-08-30 16:20:22.000000000 +0200 X@@ -147,14 +147,13 @@ X tnameserv.1 \ X unpack200.1 X X-ifeq ($(ARCH_DATA_MODEL),32) X+ifeq ($(BUILD_DEPLOY), true) X JRE_MAN_PAGES += javaws.1 X endif X X JDK_MAN_PAGES = \ X $(JRE_MAN_PAGES) \ X appletviewer.1 \ X- apt.1 \ X extcheck.1 \ X idlj.1 \ X jar.1 \ X@@ -193,6 +192,11 @@ X JA_DIRNAME=ja_JP.$(JA_SOURCE_ENCODING) X endif # linux X X+ifeq ($(PLATFORM), bsd) X+ MANBASEDIRS=$(JDK_TOPDIR)/src/bsd/doc $(IMPORTDOCDIR) X+ MAN1SUBDIR = man X+endif X+ X define copy-man-pages X $(MKDIR) -p $1/man/man1 X for manbase in $(MANBASEDIRS:%=%/$(MAN1SUBDIR)) ; do \ X@@ -325,6 +329,12 @@ X SOURCE_DIRS += $(CLOSED_SRC)/share/classes X endif X X+ifeq ($(OS_VENDOR), OpenBSD) X+ FILES_FROM_ARG=-I X+else X+ FILES_FROM_ARG=-T X+endif X+ X X # X # Specific files and directories that will be filtered out from above areas. X@@ -625,7 +635,7 @@ X ($(CD) $(CLASSBINDIR) && \ X $(BOOT_JAVA_CMD) -jar $(JARREORDER_JARFILE) \ X -o $@.temp $(ABS_LIBDIR)/classlist $(NOT_RT_JAR_LIST) . ) X- $(MV) $@.temp $@ X+ grep -v hotspot.log $@.temp > $@ X @($(CD) $(CLASSBINDIR) && $(java-vm-cleanup)) X X # Create the rt.jar file list & non-class files list X@@ -982,7 +992,7 @@ X @# generated by the more efficient solaris/windows method of copying files. X @# So for Linux, make use of the -T option (like Solaris' -I option) of X @# obtaining the list of files from a file. MKS tar has no such option. X- ifeq ($(PLATFORM), linux) X+ ifneq (,$(findstring $(PLATFORM), linux bsd)) X for d in $(SOURCE_DIRS); do \ X $(RM) $(ABS_TEMPDIR)/src-files.list; \ X ($(CD) $$d && \ X@@ -995,7 +1005,7 @@ X done ; \ X ) ; \ X if [ -f $(ABS_TEMPDIR)/src-files.list ] ; then \ X- ($(CD) $$d && $(TAR) cf - -T $(ABS_TEMPDIR)/src-files.list ) \ X+ ($(CD) $$d && $(TAR) cf - $(FILES_FROM_ARG) $(ABS_TEMPDIR)/src-files.list ) \ X | ($(CD) $(JDK_IMAGE_DIR)/src && $(TAR) xf -); \ X fi; \ X done 258244522fe01f4cc6ec036b7230a0f1 echo x - files/patch-corba-Defs sed 's/^X//' >files/patch-corba-Defs << 'e738a559a32839256cdadf2282b5e9de' X--- corba/make/common/shared/Defs-java.gmk.orig 2009-08-30 16:23:08.000000000 +0200 X+++ corba/make/common/shared/Defs-java.gmk 2009-08-30 16:23:44.000000000 +0200 X@@ -38,7 +38,7 @@ X # Suspect this may not be needed anymore. X JAVA_MEM_FLAGS += -Xms$(MAX_VM_MEMORY)m -XX:-Inline X else X- JAVA_MEM_FLAGS += -Xms$(MIN_VM_MEMORY)m -XX:PermSize=32m -XX:MaxPermSize=160m X+ JAVA_MEM_FLAGS += -Xms$(MIN_VM_MEMORY)m X endif X X # e738a559a32839256cdadf2282b5e9de echo x - files/patch-jdk-Defs sed 's/^X//' >files/patch-jdk-Defs << '41e29aea459489bb4248ebb6fca98988' X--- jdk/make/common/shared/Defs-java.gmk.orig 2009-08-30 16:26:47.000000000 +0200 X+++ jdk/make/common/shared/Defs-java.gmk 2009-08-30 16:25:58.000000000 +0200 X@@ -42,7 +42,7 @@ X # Suspect this may not be needed anymore. X JAVA_MEM_FLAGS += -Xms$(MAX_VM_MEMORY)m -XX:-Inline X else X- JAVA_MEM_FLAGS += -Xms$(MIN_VM_MEMORY)m -XX:PermSize=32m -XX:MaxPermSize=160m X+ JAVA_MEM_FLAGS += -Xms$(MIN_VM_MEMORY)m X endif X X # 41e29aea459489bb4248ebb6fca98988 echo x - files/patch-set sed 's/^X//' >files/patch-set << 'd493197f9e6abf9dfcc966db75771261' X/* X * Copyright 2008-2009 Sun Microsystems, Inc. All Rights Reserved. X * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. X * X * This code is free software; you can redistribute it and/or modify it X * under the terms of the GNU General Public License version 2 only, as X * published by the Free Software Foundation. X * X * This code is distributed in the hope that it will be useful, but WITHOUT X * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or X * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License X * version 2 for more details (a copy is included in the LICENSE file that X * accompanied this code). X * X * You should have received a copy of the GNU General Public License version X * 2 along with this work; if not, write to the Free Software Foundation, X * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. X * X * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, X * CA 95054 USA or visit www.sun.com if you need additional information or X * have any questions. X * X */ Xdiff -uNpr ../orig/corba/make/common/Defs-bsd.gmk ./corba/make/common/Defs-bsd.gmk X--- ../orig/corba/make/common/Defs-bsd.gmk 2009-05-14 23:40:16.000000000 -0400 X+++ ./corba/make/common/Defs-bsd.gmk 2009-05-14 23:41:33.000000000 -0400 X@@ -40,18 +40,12 @@ X # Get shared JDK settings X include $(BUILDDIR)/common/shared/Defs.gmk X X-# Part of INCREMENTAL_BUILD mechanism. X-# Compiler emits things like: path/file.o: file.h X-# We want something like: relative_path/file.o relative_path/file.d: file.h X-CC_DEPEND = -MM X-CC_DEPEND_FILTER = $(SED) -e 's!$*\.$(OBJECT_SUFFIX)!$(dir $@)& $(dir $@)$*.$(DEPEND_SUFFIX)!g' X- X ifndef PLATFORM_SRC X PLATFORM_SRC = $(TOPDIR)/src/solaris X endif # PLATFORM_SRC X X # platform specific include files X-PLATFORM_INCLUDE_NAME = $(PLATFORM) X+PLATFORM_INCLUDE_NAME = $(OS_NAME) X PLATFORM_INCLUDE = $(INCLUDEDIR)/$(PLATFORM_INCLUDE_NAME) X X # suffix used for make dependencies files. X@@ -94,6 +88,10 @@ endif X # as the default. X CFLAGS_REQUIRED_amd64 += -fno-omit-frame-pointer -D_LITTLE_ENDIAN X CFLAGS_REQUIRED_i586 += -fno-omit-frame-pointer -D_LITTLE_ENDIAN X+ifeq ($(OS_VENDOR),Apple) X+ # 16-byte stack re-alignment on 32-bit Darwin X+ CFLAGS_REQUIRED_i586 += -mstackrealign X+endif X CFLAGS_REQUIRED_ia64 += -fno-omit-frame-pointer -D_LITTLE_ENDIAN X CFLAGS_REQUIRED_sparcv9 += -m64 -mcpu=v9 X LDFLAGS_COMMON_sparcv9 += -m64 -mcpu=v9 X@@ -168,7 +166,7 @@ ifeq ($(FASTDEBUG), true) X CXXFLAGS_DBG += $(CC_LOWER_OPT) X endif X X-CPPFLAGS_COMMON = -D$(ARCH) -DARCH='"$(ARCH)"' -DLINUX $(VERSION_DEFINES) \ X+CPPFLAGS_COMMON = -D$(ARCH) -DARCH='"$(ARCH)"' -D_ALLBSD_SOURCE $(VERSION_DEFINES) \ X -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT X X ifeq ($(ARCH_DATA_MODEL), 64) X@@ -178,33 +176,15 @@ endif X CPPFLAGS_OPT = X CPPFLAGS_DBG = -DDEBUG X X-ifdef LIBRARY X- # Libraries need to locate other libraries at runtime, and you can tell X- # a library where to look by way of the dynamic runpaths (RPATH or RUNPATH) X- # buried inside the .so. The $ORIGIN says to look relative to where X- # the library itself is and it can be followed with relative paths from X- # that. By default we always look in $ORIGIN, optionally we add relative X- # paths if the Makefile sets LD_RUNPATH_EXTRAS to those relative paths. X- # On Bsd we add a flag -z origin, not sure if this is necessary, but X- # doesn't seem to hurt. X- # The environment variable LD_LIBRARY_PATH will over-ride these runpaths. X- # Try: 'readelf -d lib*.so' to see these settings in a library. X- # X- LDFLAGS_COMMON += -Xlinker -z -Xlinker origin -Xlinker -rpath -Xlinker \$$ORIGIN X- LDFLAGS_COMMON += $(LD_RUNPATH_EXTRAS:%=-Xlinker -z -Xlinker origin -Xlinker -rpath -Xlinker \$$ORIGIN/%) X-endif X- X-EXTRA_LIBS += -lc X- X-LDFLAGS_DEFS_OPTION = -z defs X-LDFLAGS_COMMON += $(LDFLAGS_DEFS_OPTION) X- X # X # -L paths for finding and -ljava X # X-LDFLAGS_OPT = -Xlinker -O1 X LDFLAGS_COMMON += -L$(LIBDIR)/$(LIBARCH) X+ X+ifneq ($(OS_VENDOR), Apple) X+LDFLAGS_OPT = -Xlinker -O1 X LDFLAGS_COMMON += -Wl,-soname=$(LIB_PREFIX)$(LIBRARY).$(LIBRARY_SUFFIX) X+endif X X # X # -static-libgcc is a gcc-3 flag to statically link libgcc, gcc-2.9x always X@@ -235,13 +215,9 @@ endif X # X LD_MAPFILE_FLAG = -Xlinker --version-script -Xlinker X X-# X-# Support for Quantify. X-# X-ifdef QUANTIFY X-QUANTIFY_CMD = quantify X-QUANTIFY_OPTIONS = -cache-dir=/tmp/quantify -always-use-cache-dir=yes X-LINK_PRE_CMD = $(QUANTIFY_CMD) $(QUANTIFY_OPTIONS) X+# Darwin does not support linker map files. X+ifeq ($(OS_VENDOR), Apple) X+LDNOMAP=true X endif X X # X@@ -270,7 +246,9 @@ override HAVE_ALTZONE = false X override HAVE_FILIOH = false X override HAVE_GETHRTIME = false X override HAVE_GETHRVTIME = false X+ifeq ($(OS_VENDOR),Apple) X override HAVE_SIGIGNORE = true X+endif X override LEX_LIBRARY = -lfl X ifeq ($(STATIC_CXX),true) X override LIBCXX = -Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic X@@ -281,13 +259,9 @@ override LIBPOSIX4 = X override LIBSOCKET = X override LIBTHREAD = X override MOOT_PRIORITIES = true X-override NO_INTERRUPTIBLE_IO = true X-override OPENWIN_HOME = /usr/X11R6 X-ifeq ($(ARCH), amd64) X-override OPENWIN_LIB = $(OPENWIN_HOME)/lib64 X-else X+override NO_INTERRUPTIBLE_IO = false X+override OPENWIN_HOME = $(X11_PATH) X override OPENWIN_LIB = $(OPENWIN_HOME)/lib X-endif X override OTHER_M4FLAGS = -D__GLIBC__ -DGNU_ASSEMBLER X override SUN_CMM_SUBDIR = X override THREADS_FLAG = native Xdiff -uNpr ../orig/corba/make/common/Defs-linux.gmk ./corba/make/common/Defs-linux.gmk X--- ../orig/corba/make/common/Defs-linux.gmk 2009-04-24 03:30:19.000000000 -0400 X+++ ./corba/make/common/Defs-linux.gmk 2009-05-14 23:41:33.000000000 -0400 X@@ -282,7 +282,7 @@ override LIBSOCKET = X override LIBTHREAD = X override MOOT_PRIORITIES = true X override NO_INTERRUPTIBLE_IO = true X-override OPENWIN_HOME = /usr/X11R6 X+override OPENWIN_HOME = $(X11_PATH) X ifeq ($(ARCH), amd64) X override OPENWIN_LIB = $(OPENWIN_HOME)/lib64 X else Xdiff -uNpr ../orig/corba/make/common/Defs.gmk ./corba/make/common/Defs.gmk X--- ../orig/corba/make/common/Defs.gmk 2009-04-24 03:30:19.000000000 -0400 X+++ ./corba/make/common/Defs.gmk 2009-05-14 23:41:33.000000000 -0400 X@@ -53,6 +53,24 @@ endif X X _OUTPUTDIR=$(TOPDIR)/build/$(PLATFORM)-$(ARCH) X X+ifneq ($(PLATFORM), windows) X+ ifdef ALT_X11_PATH X+ X11_PATH = $(ALT_X11_PATH) X+ else X+ X11_PATH = /usr/X11R6 X+ endif X+ X+ ifdef ALT_PACKAGE_PATH X+ PACKAGE_PATH = $(ALT_PACKAGE_PATH) X+ else X+ ifeq ($(PLATFORM), linux) X+ PACKAGE_PATH = /usr X+ else X+ PACKAGE_PATH = /usr/local X+ endif X+ endif X+endif X+ X # X # Get platform definitions X # X@@ -97,6 +115,9 @@ ifdef PROGRAM X LDLIBS_COMMON = -ldl X endif X X+ ifeq ($(PLATFORM), bsd) X+ LDLIBS_COMMON = -pthread X+ endif X endif # PROGRAM X X LDLIBS_COMMON += $(EXTRA_LIBS) Xdiff -uNpr ../orig/corba/make/common/Mapfile-vers.gmk ./corba/make/common/Mapfile-vers.gmk X--- ../orig/corba/make/common/Mapfile-vers.gmk 2009-04-24 03:30:19.000000000 -0400 X+++ ./corba/make/common/Mapfile-vers.gmk 2009-05-14 23:41:33.000000000 -0400 X@@ -77,7 +77,7 @@ endif X endif # PLATFORM X X X-ifeq ($(PLATFORM), linux) X+ifneq (,$(findstring $(PLATFORM), linux bsd)) X X ifeq ($(VARIANT), OPT) X # OPT build MUST have a mapfile? Xdiff -uNpr ../orig/corba/make/common/shared/Compiler-gcc.gmk ./corba/make/common/shared/Compiler-gcc.gmk X--- ../orig/corba/make/common/shared/Compiler-gcc.gmk 2009-04-24 03:30:19.000000000 -0400 X+++ ./corba/make/common/shared/Compiler-gcc.gmk 2009-05-14 23:41:33.000000000 -0400 X@@ -99,6 +99,24 @@ ifeq ($(PLATFORM), linux) X X endif X X+ifeq ($(PLATFORM), bsd) X+ # Settings specific to BSD X+ CC = $(COMPILER_PATH)gcc X+ CPP = $(COMPILER_PATH)gcc -E X+ CXX = $(COMPILER_PATH)g++ X+ REQUIRED_CC_VER = 3.3 X+ REQUIRED_GCC_VER = 3.3.* X+ X+# Option used to create a shared library X+ifeq ($(OS_VENDOR), Apple) X+ SHARED_LIBRARY_FLAG = -dynamiclib X+else X+ SHARED_LIBRARY_FLAG = -shared X+endif X+ X+ SUN_COMP_VER := $(shell $(CC) --verbose 2>&1 ) X+endif X+ X ifeq ($(PLATFORM), solaris) X X # Settings specific to Solaris Xdiff -uNpr ../orig/corba/make/common/shared/Compiler.gmk ./corba/make/common/shared/Compiler.gmk X--- ../orig/corba/make/common/shared/Compiler.gmk 2009-04-24 03:30:19.000000000 -0400 X+++ ./corba/make/common/shared/Compiler.gmk 2009-05-14 23:41:33.000000000 -0400 X@@ -42,6 +42,11 @@ ifeq ($(PLATFORM), linux) X override CC_VERSION = gcc X endif X X+# BSD uses GNU compilers by default X+ifeq ($(PLATFORM), bsd) X+ override CC_VERSION = gcc X+endif X+ X # Get the compiler specific settings X include $(BUILDDIR)/common/shared/Compiler-$(CC_VERSION).gmk X Xdiff -uNpr ../orig/corba/make/common/shared/Defs-bsd.gmk ./corba/make/common/shared/Defs-bsd.gmk X--- ../orig/corba/make/common/shared/Defs-bsd.gmk 2009-05-14 23:40:16.000000000 -0400 X+++ ./corba/make/common/shared/Defs-bsd.gmk 2009-05-14 23:41:33.000000000 -0400 X@@ -54,7 +54,7 @@ $(shell if [ "$1" != "" -a -d "$1" ]; th X endef X X # Location on system where jdk installs might be X-USRJDKINSTANCES_PATH =/opt/java X+USRJDKINSTANCES_PATH =$(PACKAGE_PATH) X X # UNIXCOMMAND_PATH: path to where the most common Unix commands are. X # NOTE: Must end with / so that it could be empty, allowing PATH usage. X@@ -107,7 +107,7 @@ endif X ifneq "$(origin ALT_DEVTOOLS_PATH)" "undefined" X DEVTOOLS_PATH :=$(call PrefixPath,$(ALT_DEVTOOLS_PATH)) X else X- DEVTOOLS_PATH =/usr/bin/ X+ DEVTOOLS_PATH =$(PACKAGE_PATH)/bin/ X endif X X # _BOOTDIR1: First choice for a Bootstrap JDK, previous released JDK. Xdiff -uNpr ../orig/corba/make/common/shared/Defs-utils.gmk ./corba/make/common/shared/Defs-utils.gmk X--- ../orig/corba/make/common/shared/Defs-utils.gmk 2009-04-24 03:30:19.000000000 -0400 X+++ ./corba/make/common/shared/Defs-utils.gmk 2009-05-14 23:41:33.000000000 -0400 X@@ -53,6 +53,13 @@ ifeq ($(PLATFORM),linux) X UTILS_DEVTOOL_PATH=$(USRBIN_PATH) X endif X X+ifeq ($(PLATFORM),bsd) X+ UTILS_COMMAND_PATH=$(UNIXCOMMAND_PATH) X+ UTILS_USR_BIN_PATH=$(USRBIN_PATH) X+ UTILS_CCS_BIN_PATH=$(USRBIN_PATH) X+ UTILS_DEVTOOL_PATH=$(DEVTOOLS_PATH) X+endif X+ X ifeq ($(PLATFORM),solaris) X UTILS_COMMAND_PATH=$(UNIXCOMMAND_PATH) X UTILS_USR_BIN_PATH=$(UNIXCOMMAND_PATH) X@@ -209,3 +216,32 @@ ifeq ($(PLATFORM),solaris) X ECHO = /usr/bin/echo X endif X X+# BSD specific X+ifeq ($(PLATFORM),bsd) X+ BASENAME = $(UTILS_USR_BIN_PATH)basename X+ EGREP = $(UTILS_USR_BIN_PATH)egrep X+ EXPR = $(UTILS_COMMAND_PATH)expr X+ FMT = $(UTILS_USR_BIN_PATH)fmt X+ GREP = $(UTILS_USR_BIN_PATH)grep X+ GUNZIP = $(UTILS_USR_BIN_PATH)gunzip X+ ID = $(UTILS_USR_BIN_PATH)id X+ MSGFMT = $(UTILS_DEVTOOL_PATH)msgfmt X+ SED = $(UTILS_USR_BIN_PATH)sed X+ SORT = $(UTILS_USR_BIN_PATH)sort X+ TEST = $(UTILS_COMMAND_PATH)test X+ TOUCH = $(UTILS_USR_BIN_PATH)touch X+ TRUE = $(UTILS_USR_BIN_PATH)true X+ UNAME = $(UTILS_USR_BIN_PATH)uname X+ # BSD OS_VENDOR specific X+ ifeq ($(OS_VENDOR), Apple) X+ NAWK = $(UTILS_USR_BIN_PATH)awk X+ UNZIPSFX = $(UTILS_USR_BIN_PATH)unzipsfx X+ ZIPEXE = $(UTILS_USR_BIN_PATH)zip X+ else X+ UNZIP = $(UTILS_DEVTOOL_PATH)unzip X+ endif X+ ifneq ($(OS_VENDOR), OpenBSD) X+ CPIO = $(UTILS_USR_BIN_PATH)cpio X+ TAR = $(UTILS_USR_BIN_PATH)tar X+ endif X+endif Xdiff -uNpr ../orig/corba/make/common/shared/Platform.gmk ./corba/make/common/shared/Platform.gmk X--- ../orig/corba/make/common/shared/Platform.gmk 2009-04-24 03:30:19.000000000 -0400 X+++ ./corba/make/common/shared/Platform.gmk 2009-05-14 23:41:33.000000000 -0400 X@@ -262,6 +262,76 @@ ifeq ($(SYSTEM_UNAME), Linux) X MB_OF_MEMORY := $(shell free -m | fgrep Mem: | sed -e 's@\ \ *@ @g' | cut -d' ' -f2) X endif X X+ifeq ($(SYSTEM_UNAME), FreeBSD) X+ PLATFORM = bsd X+ OS_NAME = freebsd X+ OS_VENDOR = FreeBSD X+ REQUIRED_OS_VERSION = 6.0 X+endif X+ X+ifeq ($(SYSTEM_UNAME), Darwin) X+ PLATFORM = bsd X+ OS_NAME = darwin X+ OS_VENDOR = Apple X+ REQUIRED_OS_VERSION = 8.0 X+endif X+ X+ifeq ($(SYSTEM_UNAME), NetBSD) X+ PLATFORM = bsd X+ OS_NAME = netbsd X+ OS_VENDOR = NetBSD X+ REQUIRED_OS_VERSION = 3.0 X+endif X+ X+ifeq ($(SYSTEM_UNAME), OpenBSD) X+ PLATFORM = bsd X+ OS_NAME = openbsd X+ OS_VENDOR = OpenBSD X+ REQUIRED_OS_VERSION = 4.2 X+endif X+ X+# Platform settings specific to BSD X+ifeq ($(PLATFORM), bsd) X+ OS_VERSION := $(shell uname -r) X+ # Arch and OS name/version X+ mach := $(shell uname -m) X+ archExpr = case "$(mach)" in \ X+ i[3-9]86) \ X+ echo i586 \ X+ ;; \ X+ *) \ X+ echo $(mach) \ X+ ;; \ X+ esac X+ ARCH := $(shell $(archExpr) ) X+ ARCH_FAMILY := $(ARCH) X+ X+ # i586 and sparc are 32 bit, amd64 and sparc64 are 64 X+ ifneq (,$(findstring $(ARCH), i586 sparc)) X+ ARCH_DATA_MODEL=32 X+ else X+ ARCH_DATA_MODEL=64 X+ endif X+ X+ # Need to maintain the jre/lib/i386 location for 32-bit Intel X+ ifeq ($(ARCH), i586) X+ LIBARCH = i386 X+ else X+ LIBARCH = $(ARCH) X+ endif X+ X+ # Value of Java os.arch property X+ ARCHPROP = $(LIBARCH) X+ X+ # Suffix for file bundles used in previous release X+ BUNDLE_FILE_SUFFIX=.tar.gz X+ # Minimum disk space needed as determined by running 'du -sk' on X+ # a fully built workspace. X+ REQUIRED_FREE_SPACE=1500000 X+ # How much RAM does this machine have: X+ MB_OF_MEMORY=$(shell sysctl -n hw.physmem | awk '{print int($$NF / 1048576); }' ) X+endif X+ X # Windows with and without CYGWIN will be slightly different X ifeq ($(SYSTEM_UNAME), Windows_NT) X PLATFORM = windows X@@ -373,7 +443,14 @@ endif X # build machines and adjustments will be made to prevent excessing X # system swapping during the build. X # If we don't know, assume 512. Subtract 128 from MB for VM MAX. X-# Don't set VM max over 1024-128=896. X+# Don't set VM max over 1024-128=896, except on OpenBSD where X+# 736 is the max. X+ifeq ($(OS_VENDOR), OpenBSD) X+ ABS_MAX_MEMORY := "736" X+else X+ ABS_MAX_MEMORY := "896" X+endif X+ X ifneq ($(MB_OF_MEMORY),) X LOW_MEMORY_MACHINE := $(shell \ X if [ $(MB_OF_MEMORY) -le 512 ] ; then \ X@@ -385,7 +462,7 @@ ifneq ($(MB_OF_MEMORY),) X if [ $(MB_OF_MEMORY) -le 1024 ] ; then \ X expr $(MB_OF_MEMORY) '-' 128 ; \ X else \ X- echo "896"; \ X+ echo $(ABS_MAX_MEMORY); \ X fi) X MIN_VM_MEMORY := $(shell \ X if [ $(MAX_VM_MEMORY) -le 128 ] ; then \ Xdiff -uNpr ../orig/corba/make/sun/corba/core/Makefile ./corba/make/sun/corba/core/Makefile X--- ../orig/corba/make/sun/corba/core/Makefile 2009-04-24 03:30:19.000000000 -0400 X+++ ./corba/make/sun/corba/core/Makefile 2009-05-14 23:41:33.000000000 -0400 X@@ -53,11 +53,19 @@ include $(CORBA_JMK_DIRECTORY)sun_corba. X ifdef STANDALONE_CORBA_WS X # FIXUP: What is this all about? X OTHER_LDFLAGS=-L$(BOOTDIR)/jre/lib/$(ARCH) -L$(BOOTDIR)/jre/lib/$(LIBARCH)/native_threads -ljvm X+ifeq ($(PLATFORM), bsd) X+OTHER_INCLUDES+=-ICClassHeaders -I$(BOOTDIR)/include -I$(BOOTDIR)/include/$(OS_NAME) X+else X OTHER_INCLUDES+=-ICClassHeaders -I$(BOOTDIR)/include -I$(BOOTDIR)/include/$(PLATFORM) X+endif X else X OTHER_LDLIBS=$(JVMLIB) X+ifeq ($(PLATFORM), bsd) X+OTHER_INCLUDES+=-ICClassHeaders -I$(BOOTDIR)/include -I$(BOOTDIR)/include/$(OS_NAME) X+else X OTHER_INCLUDES+=-ICClassHeaders -I$(BOOTDIR)/include -I$(BOOTDIR)/include/$(PLATFORM) X endif X+endif X X X FILES_c = ioser.c Xdiff -uNpr ../orig/hotspot/agent/make/Makefile ./hotspot/agent/make/Makefile X--- ../orig/hotspot/agent/make/Makefile 2009-04-24 03:30:48.000000000 -0400 X+++ ./hotspot/agent/make/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -52,6 +52,9 @@ sun.jvm.hotspot.code \ X sun.jvm.hotspot.compiler \ X sun.jvm.hotspot.debugger \ X sun.jvm.hotspot.debugger.amd64 \ X+sun.jvm.hotspot.debugger.bsd \ X+sun.jvm.hotspot.debugger.bsd.amd64 \ X+sun.jvm.hotspot.debugger.bsd.x86 \ X sun.jvm.hotspot.debugger.cdbg \ X sun.jvm.hotspot.debugger.cdbg.basic \ X sun.jvm.hotspot.debugger.cdbg.basic.amd64 \ X@@ -94,6 +97,9 @@ sun.jvm.hotspot.memory \ X sun.jvm.hotspot.oops \ X sun.jvm.hotspot.runtime \ X sun.jvm.hotspot.runtime.amd64 \ X+sun.jvm.hotspot.runtime.bsd \ X+sun.jvm.hotspot.runtime.bsd_amd64 \ X+sun.jvm.hotspot.runtime.bsd_x86 \ X sun.jvm.hotspot.runtime.ia64 \ X sun.jvm.hotspot.runtime.linux \ X sun.jvm.hotspot.runtime.linux_amd64 \ X@@ -143,6 +149,9 @@ sun/jvm/hotspot/code/*.java \ X sun/jvm/hotspot/compiler/*.java \ X sun/jvm/hotspot/debugger/*.java \ X sun/jvm/hotspot/debugger/amd64/*.java \ X+sun/jvm/hotspot/debugger/bsd/*.java \ X+sun/jvm/hotspot/debugger/bsd/amd64/*.java \ X+sun/jvm/hotspot/debugger/bsd/x86/*.java \ X sun/jvm/hotspot/debugger/cdbg/*.java \ X sun/jvm/hotspot/debugger/cdbg/basic/*.java \ X sun/jvm/hotspot/debugger/cdbg/basic/amd64/*.java \ X@@ -178,6 +187,9 @@ sun/jvm/hotspot/memory/*.java \ X sun/jvm/hotspot/oops/*.java \ X sun/jvm/hotspot/runtime/*.java \ X sun/jvm/hotspot/runtime/amd64/*.java \ X+sun/jvm/hotspot/runtime/bsd/*.java \ X+sun/jvm/hotspot/runtime/bsd_amd64/*.java \ X+sun/jvm/hotspot/runtime/bsd_x86/*.java \ X sun/jvm/hotspot/runtime/ia64/*.java \ X sun/jvm/hotspot/runtime/linux/*.java \ X sun/jvm/hotspot/runtime/linux_amd64/*.java \ Xdiff -uNpr ../orig/hotspot/agent/src/os/bsd/BsdDebuggerLocal.c ./hotspot/agent/src/os/bsd/BsdDebuggerLocal.c X--- ../orig/hotspot/agent/src/os/bsd/BsdDebuggerLocal.c 2009-05-14 23:40:16.000000000 -0400 X+++ ./hotspot/agent/src/os/bsd/BsdDebuggerLocal.c 2009-05-14 23:41:34.000000000 -0400 X@@ -25,6 +25,7 @@ X * X */ X X+#include X #include X #include "libproc.h" X X@@ -76,7 +77,7 @@ JNIEXPORT void JNICALL Java_sun_jvm_hots X (JNIEnv *env, jclass cls) { X jclass listClass; X X- if (init_libproc(getenv("LIBSAPROC_DEBUG")) != true) { X+ if (init_libproc(getenv("LIBSAPROC_DEBUG") != NULL) != true) { X THROW_NEW_DEBUGGER_EXCEPTION("can't initialize libproc"); X } X X@@ -278,7 +279,7 @@ JNIEXPORT jbyteArray JNICALL Java_sun_jv X bufPtr = (*env)->GetByteArrayElements(env, array, &isCopy); X CHECK_EXCEPTION_(0); X X- err = ps_pdread(get_proc_handle(env, this_obj), (psaddr_t) (uintptr_t)addr, bufPtr, numBytes); X+ err = ps_pread(get_proc_handle(env, this_obj), (psaddr_t) (uintptr_t)addr, bufPtr, numBytes); X (*env)->ReleaseByteArrayElements(env, array, bufPtr, 0); X return (err == PS_OK)? array : 0; X } X@@ -286,11 +287,10 @@ JNIEXPORT jbyteArray JNICALL Java_sun_jv X JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_getThreadIntegerRegisterSet0 X (JNIEnv *env, jobject this_obj, jint lwp_id) { X X- struct user_regs_struct gregs; X+ struct reg gregs; X jboolean isCopy; X jlongArray array; X jlong *regs; X- int i; X X struct ps_prochandle* ph = get_proc_handle(env, this_obj); X if (get_lwp_regs(ph, lwp_id, &gregs) != true) { X@@ -320,26 +320,27 @@ JNIEXPORT jlongArray JNICALL Java_sun_jv X #ifdef i386 X #define REG_INDEX(reg) sun_jvm_hotspot_debugger_x86_X86ThreadContext_##reg X X- regs[REG_INDEX(GS)] = (uintptr_t) gregs.xgs; X- regs[REG_INDEX(FS)] = (uintptr_t) gregs.xfs; X- regs[REG_INDEX(ES)] = (uintptr_t) gregs.xes; X- regs[REG_INDEX(DS)] = (uintptr_t) gregs.xds; X- regs[REG_INDEX(EDI)] = (uintptr_t) gregs.edi; X- regs[REG_INDEX(ESI)] = (uintptr_t) gregs.esi; X- regs[REG_INDEX(FP)] = (uintptr_t) gregs.ebp; X- regs[REG_INDEX(SP)] = (uintptr_t) gregs.esp; X- regs[REG_INDEX(EBX)] = (uintptr_t) gregs.ebx; X- regs[REG_INDEX(EDX)] = (uintptr_t) gregs.edx; X- regs[REG_INDEX(ECX)] = (uintptr_t) gregs.ecx; X- regs[REG_INDEX(EAX)] = (uintptr_t) gregs.eax; X- regs[REG_INDEX(PC)] = (uintptr_t) gregs.eip; X- regs[REG_INDEX(CS)] = (uintptr_t) gregs.xcs; X- regs[REG_INDEX(SS)] = (uintptr_t) gregs.xss; X+ regs[REG_INDEX(GS)] = (uintptr_t) gregs.r_gs; X+ regs[REG_INDEX(FS)] = (uintptr_t) gregs.r_fs; X+ regs[REG_INDEX(ES)] = (uintptr_t) gregs.r_es; X+ regs[REG_INDEX(DS)] = (uintptr_t) gregs.r_ds; X+ regs[REG_INDEX(EDI)] = (uintptr_t) gregs.r_edi; X+ regs[REG_INDEX(ESI)] = (uintptr_t) gregs.r_esi; X+ regs[REG_INDEX(FP)] = (uintptr_t) gregs.r_ebp; X+ regs[REG_INDEX(SP)] = (uintptr_t) gregs.r_isp; X+ regs[REG_INDEX(EBX)] = (uintptr_t) gregs.r_ebx; X+ regs[REG_INDEX(EDX)] = (uintptr_t) gregs.r_edx; X+ regs[REG_INDEX(ECX)] = (uintptr_t) gregs.r_ecx; X+ regs[REG_INDEX(EAX)] = (uintptr_t) gregs.r_eax; X+ regs[REG_INDEX(PC)] = (uintptr_t) gregs.r_eip; X+ regs[REG_INDEX(CS)] = (uintptr_t) gregs.r_cs; X+ regs[REG_INDEX(SS)] = (uintptr_t) gregs.r_ss; X X #endif /* i386 */ X X #if ia64 X regs = (*env)->GetLongArrayElements(env, array, &isCopy); X+ int i; X for (i = 0; i < NPRGREG; i++ ) { X regs[i] = 0xDEADDEAD; X } X@@ -348,31 +349,31 @@ JNIEXPORT jlongArray JNICALL Java_sun_jv X #ifdef amd64 X #define REG_INDEX(reg) sun_jvm_hotspot_debugger_amd64_AMD64ThreadContext_##reg X X- regs[REG_INDEX(R15)] = gregs.r15; X- regs[REG_INDEX(R14)] = gregs.r14; X- regs[REG_INDEX(R13)] = gregs.r13; X- regs[REG_INDEX(R12)] = gregs.r12; X- regs[REG_INDEX(RBP)] = gregs.rbp; X- regs[REG_INDEX(RBX)] = gregs.rbx; X- regs[REG_INDEX(R11)] = gregs.r11; X- regs[REG_INDEX(R10)] = gregs.r10; X- regs[REG_INDEX(R9)] = gregs.r9; X- regs[REG_INDEX(R8)] = gregs.r8; X- regs[REG_INDEX(RAX)] = gregs.rax; X- regs[REG_INDEX(RCX)] = gregs.rcx; X- regs[REG_INDEX(RDX)] = gregs.rdx; X- regs[REG_INDEX(RSI)] = gregs.rsi; X- regs[REG_INDEX(RDI)] = gregs.rdi; X- regs[REG_INDEX(RIP)] = gregs.rip; X- regs[REG_INDEX(CS)] = gregs.cs; X- regs[REG_INDEX(RSP)] = gregs.rsp; X- regs[REG_INDEX(SS)] = gregs.ss; X- regs[REG_INDEX(FSBASE)] = gregs.fs_base; X- regs[REG_INDEX(GSBASE)] = gregs.gs_base; X- regs[REG_INDEX(DS)] = gregs.ds; X- regs[REG_INDEX(ES)] = gregs.es; X- regs[REG_INDEX(FS)] = gregs.fs; X- regs[REG_INDEX(GS)] = gregs.gs; X+ regs[REG_INDEX(R15)] = gregs.r_r15; X+ regs[REG_INDEX(R14)] = gregs.r_r14; X+ regs[REG_INDEX(R13)] = gregs.r_r13; X+ regs[REG_INDEX(R12)] = gregs.r_r12; X+ regs[REG_INDEX(RBP)] = gregs.r_rbp; X+ regs[REG_INDEX(RBX)] = gregs.r_rbx; X+ regs[REG_INDEX(R11)] = gregs.r_r11; X+ regs[REG_INDEX(R10)] = gregs.r_r10; X+ regs[REG_INDEX(R9)] = gregs.r_r9; X+ regs[REG_INDEX(R8)] = gregs.r_r8; X+ regs[REG_INDEX(RAX)] = gregs.r_rax; X+ regs[REG_INDEX(RCX)] = gregs.r_rcx; X+ regs[REG_INDEX(RDX)] = gregs.r_rdx; X+ regs[REG_INDEX(RSI)] = gregs.r_rsi; X+ regs[REG_INDEX(RDI)] = gregs.r_rdi; X+ regs[REG_INDEX(RIP)] = gregs.r_rip; X+ regs[REG_INDEX(CS)] = gregs.r_cs; X+ regs[REG_INDEX(RSP)] = gregs.r_rsp; X+ regs[REG_INDEX(SS)] = gregs.r_ss; X+// regs[REG_INDEX(FSBASE)] = gregs.fs_base; X+// regs[REG_INDEX(GSBASE)] = gregs.gs_base; X+// regs[REG_INDEX(DS)] = gregs.ds; X+// regs[REG_INDEX(ES)] = gregs.es; X+// regs[REG_INDEX(FS)] = gregs.fs; X+// regs[REG_INDEX(GS)] = gregs.gs; X X #endif /* amd64 */ X Xdiff -uNpr ../orig/hotspot/agent/src/os/bsd/Makefile ./hotspot/agent/src/os/bsd/Makefile X--- ../orig/hotspot/agent/src/os/bsd/Makefile 2009-05-14 23:40:16.000000000 -0400 X+++ ./hotspot/agent/src/os/bsd/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -22,7 +22,7 @@ X # X # X X-ARCH := $(shell if ([ `uname -m` = "ia64" ]) ; then echo ia64 ; elif ([ `uname -m` = "x86_64" ]) ; then echo amd64; elif ([ `uname -m` = "sparc64" ]) ; then echo sparc; else echo i386 ; fi ) X+ARCH := $(shell if ([ `uname -m` = "ia64" ]) ; then echo ia64 ; elif ([ `uname -m` = "amd64" ]) ; then echo amd64; elif ([ `uname -m` = "sparc64" ]) ; then echo sparc; else echo i386 ; fi ) X GCC = gcc X X JAVAH = ${JAVA_HOME}/bin/javah X@@ -32,15 +32,16 @@ SOURCES = salibelf.c \ X libproc_impl.c \ X ps_proc.c \ X ps_core.c \ X- BsdDebuggerLocal.c X+ hsearch_r.c \ X+ BsdDebuggerLocal.c X X-INCLUDES = -I${JAVA_HOME}/include -I${JAVA_HOME}/include/bsd X+INCLUDES = -I${JAVA_HOME}/include -I${JAVA_HOME}/include/$(shell uname -s | tr "[:upper:]" "[:lower:]") X X OBJS = $(SOURCES:.c=.o) X X-LIBS = -lthread_db X+LIBS = -lutil -lthread_db X X-CFLAGS = -c -fPIC -g -D_GNU_SOURCE -D$(ARCH) $(INCLUDES) X+CFLAGS = -c -fPIC -g -Wall -D_ALLBSD_SOURCE -D_GNU_SOURCE -D$(ARCH) $(INCLUDES) X X LIBSA = $(ARCH)/libsaproc.so X X@@ -49,8 +50,7 @@ all: $(LIBSA) X BsdDebuggerLocal.o: BsdDebuggerLocal.c X $(JAVAH) -jni -classpath ../../../build/classes \ X sun.jvm.hotspot.debugger.x86.X86ThreadContext \ X- sun.jvm.hotspot.debugger.sparc.SPARCThreadContext \ X- sun.jvm.hotspot.debugger.amd64.AMD64ThreadContext X+ sun.jvm.hotspot.debugger.amd64.AMD64ThreadContext X $(GCC) $(CFLAGS) $< X X .c.obj: X@@ -64,14 +64,15 @@ $(LIBSA): $(OBJS) mapfile X if [ ! -d $(ARCH) ] ; then mkdir $(ARCH) ; fi X $(GCC) -shared $(LFLAGS_LIBSA) -o $(LIBSA) $(OBJS) $(LIBS) X X-test.o: test.c X+test.o: $(LIBSA) test.c X $(GCC) -c -o test.o -g -D_GNU_SOURCE -D$(ARCH) $(INCLUDES) test.c X X test: test.o X $(GCC) -o test test.o -L$(ARCH) -lsaproc $(LIBS) X X clean: X- rm -rf $(LIBSA) X- rm -rf $(OBJS) X- rmdir $(ARCH) X+ rm -f $(LIBSA) X+ rm -f $(OBJS) X+ rm -f test.o X+ -rmdir $(ARCH) X Xdiff -uNpr ../orig/hotspot/agent/src/os/bsd/elfmacros.h ./hotspot/agent/src/os/bsd/elfmacros.h X--- ../orig/hotspot/agent/src/os/bsd/elfmacros.h 2009-05-14 23:40:16.000000000 -0400 X+++ ./hotspot/agent/src/os/bsd/elfmacros.h 2009-05-14 23:41:34.000000000 -0400 X@@ -28,16 +28,19 @@ X #ifndef _ELFMACROS_H_ X #define _ELFMACROS_H_ X X+#define ELF_NHDR Elf_Note X+ X #if defined(_LP64) X #define ELF_EHDR Elf64_Ehdr X #define ELF_SHDR Elf64_Shdr X #define ELF_PHDR Elf64_Phdr X #define ELF_SYM Elf64_Sym X-#define ELF_NHDR Elf64_Nhdr X #define ELF_DYN Elf64_Dyn X #define ELF_ADDR Elf64_Addr X X+#ifndef ELF_ST_TYPE X #define ELF_ST_TYPE ELF64_ST_TYPE X+#endif X X #else X X@@ -45,11 +48,12 @@ X #define ELF_SHDR Elf32_Shdr X #define ELF_PHDR Elf32_Phdr X #define ELF_SYM Elf32_Sym X-#define ELF_NHDR Elf32_Nhdr X #define ELF_DYN Elf32_Dyn X #define ELF_ADDR Elf32_Addr X X+#ifndef ELF_ST_TYPE X #define ELF_ST_TYPE ELF32_ST_TYPE X+#endif X X #endif X Xdiff -uNpr ../orig/hotspot/agent/src/os/bsd/hsearch_r.c ./hotspot/agent/src/os/bsd/hsearch_r.c X--- ../orig/hotspot/agent/src/os/bsd/hsearch_r.c 1969-12-31 19:00:00.000000000 -0500 X+++ ./hotspot/agent/src/os/bsd/hsearch_r.c 2009-05-14 23:41:34.000000000 -0400 X@@ -0,0 +1,217 @@ X+/* Copyright (C) 1993,1995-1997,2002,2005,2007,2008 X+ Free Software Foundation, Inc. X+ This file is part of the GNU C Library. X+ Contributed by Ulrich Drepper , 1993. X+ X+ The GNU C Library is free software; you can redistribute it and/or X+ modify it under the terms of the GNU Lesser General Public X+ License as published by the Free Software Foundation; either X+ version 2.1 of the License, or (at your option) any later version. X+ X+ The GNU C Library is distributed in the hope that it will be useful, X+ but WITHOUT ANY WARRANTY; without even the implied warranty of X+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU X+ Lesser General Public License for more details. X+ X+ You should have received a copy of the GNU Lesser General Public X+ License along with the GNU C Library; if not, write to the Free X+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA X+ 02111-1307 USA. */ X+ X+#include X+#include X+#include X+ X+#include X+ X+#include "hsearch_r.h" X+ X+#define __set_errno(ERRNO) errno = ERRNO X+ X+/* [Aho,Sethi,Ullman] Compilers: Principles, Techniques and Tools, 1986 X+ [Knuth] The Art of Computer Programming, part 3 (6.4) */ X+ X+ X+/* The reentrant version has no static variables to maintain the state. X+ Instead the interface of all functions is extended to take an argument X+ which describes the current status. */ X+typedef struct _ENTRY X+{ X+ unsigned int used; X+ ENTRY entry; X+} X+_ENTRY; X+ X+ X+/* For the used double hash method the table size has to be a prime. To X+ correct the user given table size we need a prime test. This trivial X+ algorithm is adequate because X+ a) the code is (most probably) called a few times per program run and X+ b) the number is small because the table must fit in the core */ X+static int X+isprime (unsigned int number) X+{ X+ /* no even number will be passed */ X+ unsigned int div = 3; X+ X+ while (div * div < number && number % div != 0) X+ div += 2; X+ X+ return number % div != 0; X+} X+ X+ X+/* Before using the hash table we must allocate memory for it. X+ Test for an existing table are done. We allocate one element X+ more as the found prime number says. This is done for more effective X+ indexing as explained in the comment for the hsearch function. X+ The contents of the table is zeroed, especially the field used X+ becomes zero. */ X+int X+hcreate_r (size_t nel, struct hsearch_data *htab) X+{ X+ /* Test for correct arguments. */ X+ if (htab == NULL) X+ { X+ __set_errno (EINVAL); X+ return 0; X+ } X+ X+ /* There is still another table active. Return with error. */ X+ if (htab->table != NULL) X+ return 0; X+ X+ /* Change nel to the first prime number not smaller as nel. */ X+ nel |= 1; /* make odd */ X+ while (!isprime (nel)) X+ nel += 2; X+ X+ htab->size = nel; X+ htab->filled = 0; X+ X+ /* allocate memory and zero out */ X+ htab->table = (_ENTRY *) calloc (htab->size + 1, sizeof (_ENTRY)); X+ if (htab->table == NULL) X+ return 0; X+ X+ /* everything went alright */ X+ return 1; X+} X+ X+ X+/* After using the hash table it has to be destroyed. The used memory can X+ be freed and the local static variable can be marked as not used. */ X+void X+hdestroy_r (struct hsearch_data *htab) X+{ X+ /* Test for correct arguments. */ X+ if (htab == NULL) X+ { X+ __set_errno (EINVAL); X+ return; X+ } X+ X+ /* Free used memory. */ X+ free (htab->table); X+ X+ /* the sign for an existing table is an value != NULL in htable */ X+ htab->table = NULL; X+} X+ X+ X+/* This is the search function. It uses double hashing with open addressing. X+ The argument item.key has to be a pointer to an zero terminated, most X+ probably strings of chars. The function for generating a number of the X+ strings is simple but fast. It can be replaced by a more complex function X+ like ajw (see [Aho,Sethi,Ullman]) if the needs are shown. X+ X+ We use an trick to speed up the lookup. The table is created by hcreate X+ with one more element available. This enables us to use the index zero X+ special. This index will never be used because we store the first hash X+ index in the field used where zero means not used. Every other value X+ means used. The used field can be used as a first fast comparison for X+ equality of the stored and the parameter value. This helps to prevent X+ unnecessary expensive calls of strcmp. */ X+int X+hsearch_r (ENTRY item, ACTION action, ENTRY **retval, struct hsearch_data *htab) X+{ X+ unsigned int hval; X+ unsigned int count; X+ unsigned int len = strlen (item.key); X+ unsigned int idx; X+ X+ /* Compute an value for the given string. Perhaps use a better method. */ X+ hval = len; X+ count = len; X+ while (count-- > 0) X+ { X+ hval <<= 4; X+ hval += item.key[count]; X+ } X+ X+ /* First hash function: simply take the modul but prevent zero. */ X+ idx = hval % htab->size + 1; X+ X+ if (htab->table[idx].used) X+ { X+ /* Further action might be required according to the action value. */ X+ if (htab->table[idx].used == hval X+ && strcmp (item.key, htab->table[idx].entry.key) == 0) X+ { X+ *retval = &htab->table[idx].entry; X+ return 1; X+ } X+ X+ /* Second hash function, as suggested in [Knuth] */ X+ unsigned int hval2 = 1 + hval % (htab->size - 2); X+ unsigned int first_idx = idx; X+ X+ do X+ { X+ /* Because SIZE is prime this guarantees to step through all X+ available indeces. */ X+ if (idx <= hval2) X+ idx = htab->size + idx - hval2; X+ else X+ idx -= hval2; X+ X+ /* If we visited all entries leave the loop unsuccessfully. */ X+ if (idx == first_idx) X+ break; X+ X+ /* If entry is found use it. */ X+ if (htab->table[idx].used == hval X+ && strcmp (item.key, htab->table[idx].entry.key) == 0) X+ { X+ *retval = &htab->table[idx].entry; X+ return 1; X+ } X+ } X+ while (htab->table[idx].used); X+ } X+ X+ /* An empty bucket has been found. */ X+ if (action == ENTER) X+ { X+ /* If table is full and another entry should be entered return X+ with error. */ X+ if (htab->filled == htab->size) X+ { X+ __set_errno (ENOMEM); X+ *retval = NULL; X+ return 0; X+ } X+ X+ htab->table[idx].used = hval; X+ htab->table[idx].entry = item; X+ X+ ++htab->filled; X+ X+ *retval = &htab->table[idx].entry; X+ return 1; X+ } X+ X+ __set_errno (ESRCH); X+ *retval = NULL; X+ return 0; X+} Xdiff -uNpr ../orig/hotspot/agent/src/os/bsd/hsearch_r.h ./hotspot/agent/src/os/bsd/hsearch_r.h X--- ../orig/hotspot/agent/src/os/bsd/hsearch_r.h 1969-12-31 19:00:00.000000000 -0500 X+++ ./hotspot/agent/src/os/bsd/hsearch_r.h 2009-05-14 23:41:34.000000000 -0400 X@@ -0,0 +1,42 @@ X+/* Declarations for System V style searching functions. X+ Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc. X+ This file is part of the GNU C Library. X+ X+ The GNU C Library is free software; you can redistribute it and/or X+ modify it under the terms of the GNU Lesser General Public X+ License as published by the Free Software Foundation; either X+ version 2.1 of the License, or (at your option) any later version. X+ X+ The GNU C Library is distributed in the hope that it will be useful, X+ but WITHOUT ANY WARRANTY; without even the implied warranty of X+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU X+ Lesser General Public License for more details. X+ X+ You should have received a copy of the GNU Lesser General Public X+ License along with the GNU C Library; if not, write to the Free X+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA X+ 02111-1307 USA. */ X+ X+#ifndef _HSEARCH_R_H_ X+#define _HSEARCH_R_H_ X+ X+#include X+ X+struct _ENTRY; X+ X+/* Data type for reentrant functions. */ X+struct hsearch_data X+ { X+ struct _ENTRY *table; X+ unsigned int size; X+ unsigned int filled; X+ }; X+ X+/* Reentrant versions which can handle multiple hashing tables at the X+ same time. */ X+extern int hsearch_r (ENTRY __item, ACTION __action, ENTRY **__retval, X+ struct hsearch_data *__htab); X+extern int hcreate_r (size_t __nel, struct hsearch_data *__htab); X+extern void hdestroy_r (struct hsearch_data *__htab); X+ X+#endif /* _HSEARCH_R_H_ */ Xdiff -uNpr ../orig/hotspot/agent/src/os/bsd/libproc.h ./hotspot/agent/src/os/bsd/libproc.h X--- ../orig/hotspot/agent/src/os/bsd/libproc.h 2009-05-14 23:40:16.000000000 -0400 X+++ ./hotspot/agent/src/os/bsd/libproc.h 2009-05-14 23:41:34.000000000 -0400 X@@ -30,7 +30,8 @@ X X #include X #include X-#include "proc_service.h" X+#include X+#include X X #if defined(sparc) || defined(sparcv9) X /* X@@ -53,14 +54,11 @@ Please note that the bulk of the functio X adds Pgrab__ and some missing stuff. We hide the difference b/w live process and core X file by this interface. X X-1. pthread_id unique in both NPTL & BsdThreads. We store this in X-OSThread::_pthread_id in JVM code. X+1. pthread_id is unique. We store this in OSThread::_pthread_id in JVM code. X X-2. All threads see the same pid when they call getpid() under NPTL. X-Threads receive different pid under BsdThreads. We used to save the result of X-::getpid() call in OSThread::_thread_id. This way uniqueness of OSThread::_thread_id X-was lost under NPTL. Now, we store the result of ::gettid() call in X-OSThread::_thread_id. Because gettid returns actual pid of thread (lwp id), this is X+2. All threads see the same pid when they call getpid(). X+We used to save the result of ::getpid() call in OSThread::_thread_id. X+Because gettid returns actual pid of thread (lwp id), this is X unique again. We therefore use OSThread::_thread_id as unique identifier. X X 3. There is a unique LWP id under both thread libraries. libthread_db maps pthread_id X@@ -77,19 +75,6 @@ combination of ptrace and /proc calls. X X *************************************************************************************/ X X-#ifdef ia64 X-struct user_regs_struct { X-/* copied from user.h which doesn't define this in a struct */ X- X-#define IA64_REG_COUNT (EF_SIZE/8+32) /* integer and fp regs */ X-unsigned long regs[IA64_REG_COUNT]; /* integer and fp regs */ X-}; X-#endif X- X-#if defined(sparc) || defined(sparcv9) X-#define user_regs_struct pt_regs X-#endif X- X // This C bool type must be int for compatibility with Bsd calls and X // it would be a mistake to equivalence it to C++ bool on many platforms X X@@ -121,7 +106,7 @@ int get_num_threads(struct ps_prochandle X lwpid_t get_lwp_id(struct ps_prochandle* ph, int index); X X // get regs for a given lwp X-bool get_lwp_regs(struct ps_prochandle* ph, lwpid_t lid, struct user_regs_struct* regs); X+bool get_lwp_regs(struct ps_prochandle* ph, lwpid_t lid, struct reg* regs); X X // get number of shared objects X int get_num_libs(struct ps_prochandle* ph); Xdiff -uNpr ../orig/hotspot/agent/src/os/bsd/libproc_impl.c ./hotspot/agent/src/os/bsd/libproc_impl.c X--- ../orig/hotspot/agent/src/os/bsd/libproc_impl.c 2009-05-14 23:40:16.000000000 -0400 X+++ ./hotspot/agent/src/os/bsd/libproc_impl.c 2009-05-14 23:41:34.000000000 -0400 X@@ -181,6 +181,9 @@ lib_info* add_lib_info_fd(struct ps_proc X if (newlib->symtab == NULL) { X print_debug("symbol table build failed for %s\n", newlib->name); X } X+ else { X+ print_debug("built symbol table for %s\n", newlib->name); X+ } X X // even if symbol table building fails, we add the lib_info. X // This is because we may need to read from the ELF file for core file X@@ -275,7 +278,7 @@ static int thread_db_callback(const td_t X X print_debug("thread_db : pthread %d (lwp %d)\n", ti.ti_tid, ti.ti_lid); X X- if (ptr->callback(ptr->ph, ti.ti_tid, ti.ti_lid) != true) X+ if (ptr->callback(ptr->ph, (pthread_t)ti.ti_tid, ti.ti_lid) != true) X return TD_ERR; X X return TD_OK; X@@ -327,7 +330,7 @@ lwpid_t get_lwp_id(struct ps_prochandle* X } X X // get regs for a given lwp X-bool get_lwp_regs(struct ps_prochandle* ph, lwpid_t lwp_id, struct user_regs_struct* regs) { X+bool get_lwp_regs(struct ps_prochandle* ph, lwpid_t lwp_id, struct reg* regs) { X return ph->ops->get_lwp_regs(ph, lwp_id, regs); X } X X@@ -378,11 +381,6 @@ bool find_lib(struct ps_prochandle* ph, X //-------------------------------------------------------------------------- X // proc service functions X X-// get process id X-pid_t ps_getpid(struct ps_prochandle *ph) { X- return ph->pid; X-} X- X // ps_pglobal_lookup() looks up the symbol sym_name in the symbol table X // of the load object object_name in the target process identified by ph. X // It returns the symbol's value as an address in the target process in X@@ -395,17 +393,33 @@ ps_err_e ps_pglobal_lookup(struct ps_pro X } X X // read "size" bytes info "buf" from address "addr" X-ps_err_e ps_pdread(struct ps_prochandle *ph, psaddr_t addr, X+ps_err_e ps_pread(struct ps_prochandle *ph, psaddr_t addr, X void *buf, size_t size) { X return ph->ops->p_pread(ph, (uintptr_t) addr, buf, size)? PS_OK: PS_ERR; X } X X // write "size" bytes of data to debuggee at address "addr" X-ps_err_e ps_pdwrite(struct ps_prochandle *ph, psaddr_t addr, X+ps_err_e ps_pwrite(struct ps_prochandle *ph, psaddr_t addr, X const void *buf, size_t size) { X return ph->ops->p_pwrite(ph, (uintptr_t)addr, buf, size)? PS_OK: PS_ERR; X } X X+// fill in ptrace_lwpinfo for lid X+ps_err_e ps_linfo(struct ps_prochandle *ph, lwpid_t lwp_id, void *linfo) { X+ return ph->ops->get_lwp_info(ph, lwp_id, linfo)? PS_OK: PS_ERR; X+} X+ X+// needed for when libthread_db is compiled with TD_DEBUG defined X+void X+ps_plog (const char *format, ...) X+{ X+ va_list alist; X+ X+ va_start(alist, format); X+ vfprintf(stderr, format, alist); X+ va_end(alist); X+} X+ X // ------------------------------------------------------------------------ X // Functions below this point are not yet implemented. They are here only X // to make the linker happy. X@@ -430,9 +444,12 @@ ps_err_e ps_lgetregs(struct ps_prochandl X return PS_OK; X } X X-// new libthread_db of NPTL seem to require this symbol X-ps_err_e ps_get_thread_area() { X- print_debug("ps_get_thread_area not implemented\n"); X+ps_err_e ps_lstop(struct ps_prochandle *ph, lwpid_t lid) { X+ print_debug("ps_lstop not implemented\n"); X return PS_OK; X } X X+ps_err_e ps_pcontinue(struct ps_prochandle *ph) { X+ print_debug("ps_pcontinue not implemented\n"); X+ return PS_OK; X+} Xdiff -uNpr ../orig/hotspot/agent/src/os/bsd/libproc_impl.h ./hotspot/agent/src/os/bsd/libproc_impl.h X--- ../orig/hotspot/agent/src/os/bsd/libproc_impl.h 2009-05-14 23:40:16.000000000 -0400 X+++ ./hotspot/agent/src/os/bsd/libproc_impl.h 2009-05-14 23:41:34.000000000 -0400 X@@ -50,7 +50,7 @@ typedef struct lib_info { X typedef struct thread_info { X lwpid_t lwp_id; X pthread_t pthread_id; // not used cores, always -1 X- struct user_regs_struct regs; // not for process, core uses for caching regset X+ struct reg regs; // not for process, core uses for caching regset X struct thread_info* next; X } thread_info; X X@@ -74,7 +74,9 @@ typedef struct ps_prochandle_ops { X bool (*p_pwrite)(struct ps_prochandle *ph, X uintptr_t addr, const char *buf , size_t size); X // get integer regset of a thread X- bool (*get_lwp_regs)(struct ps_prochandle* ph, lwpid_t lwp_id, struct user_regs_struct* regs); X+ bool (*get_lwp_regs)(struct ps_prochandle* ph, lwpid_t lwp_id, struct reg* regs); X+ // get info on thread X+ bool (*get_lwp_info)(struct ps_prochandle *ph, lwpid_t lwp_id, void *linfo); X } ps_prochandle_ops; X X // the ps_prochandle Xdiff -uNpr ../orig/hotspot/agent/src/os/bsd/mapfile ./hotspot/agent/src/os/bsd/mapfile X--- ../orig/hotspot/agent/src/os/bsd/mapfile 2009-05-14 23:40:16.000000000 -0400 X+++ ./hotspot/agent/src/os/bsd/mapfile 2009-05-14 23:41:34.000000000 -0400 X@@ -43,15 +43,21 @@ SUNWprivate_1.1 { X Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_getThreadIntegerRegisterSet0; X X # proc_service.h functions - to be used by libthread_db X- ps_getpid; X ps_pglobal_lookup; X- ps_pdread; X- ps_pdwrite; X+ ps_pread; X+ ps_pwrite; X+ ps_linfo; X+ ps_plog; X+ X+ # dummy implementations of proc_service.h functions X+ # presumably unused but needed to avoid undefined symbols X+ # export LIBSAPROC_DEBUG=1 to see if actually used X ps_lsetfpregs; X ps_lsetregs; X ps_lgetfpregs; X ps_lgetregs; X- ps_get_thread_area; X+ ps_lstop; X+ ps_lcontinue; X X # used by attach test program X init_libproc; Xdiff -uNpr ../orig/hotspot/agent/src/os/bsd/proc_service.h ./hotspot/agent/src/os/bsd/proc_service.h X--- ../orig/hotspot/agent/src/os/bsd/proc_service.h 2009-05-14 23:40:16.000000000 -0400 X+++ ./hotspot/agent/src/os/bsd/proc_service.h 2009-05-14 23:41:34.000000000 -0400 X@@ -25,6 +25,8 @@ X * X */ X X+#error Should be using system proc_service.h X+ X #ifndef _PROC_SERVICE_H_ X #define _PROC_SERVICE_H_ X X@@ -58,11 +60,11 @@ ps_err_e ps_pglobal_lookup(struct ps_pro X const char *sym_name, psaddr_t *sym_addr); X X // read "size" bytes of data from debuggee at address "addr" X-ps_err_e ps_pdread(struct ps_prochandle *ph, psaddr_t addr, X+ps_err_e ps_pread(struct ps_prochandle *ph, psaddr_t addr, X void *buf, size_t size); X X // write "size" bytes of data to debuggee at address "addr" X-ps_err_e ps_pdwrite(struct ps_prochandle *ph, psaddr_t addr, X+ps_err_e ps_pwrite(struct ps_prochandle *ph, psaddr_t addr, X const void *buf, size_t size); X X ps_err_e ps_lsetfpregs(struct ps_prochandle *ph, lwpid_t lid, const prfpregset_t *fpregs); Xdiff -uNpr ../orig/hotspot/agent/src/os/bsd/ps_core.c ./hotspot/agent/src/os/bsd/ps_core.c X--- ../orig/hotspot/agent/src/os/bsd/ps_core.c 2009-05-14 23:40:16.000000000 -0400 X+++ ./hotspot/agent/src/os/bsd/ps_core.c 2009-05-14 23:41:34.000000000 -0400 X@@ -145,6 +145,7 @@ static map_info* add_class_share_map_inf X X map->next = ph->core->class_share_maps; X ph->core->class_share_maps = map; X+ return map; X } X X // Return the map_info for the given virtual address. We keep a sorted X@@ -243,7 +244,7 @@ struct FileMapHeader { X X static bool read_int(struct ps_prochandle* ph, uintptr_t addr, int* pvalue) { X int i; X- if (ps_pdread(ph, (psaddr_t) addr, &i, sizeof(i)) == PS_OK) { X+ if (ps_pread(ph, (psaddr_t) addr, &i, sizeof(i)) == PS_OK) { X *pvalue = i; X return true; X } else { X@@ -253,7 +254,7 @@ static bool read_int(struct ps_prochandl X X static bool read_pointer(struct ps_prochandle* ph, uintptr_t addr, uintptr_t* pvalue) { X uintptr_t uip; X- if (ps_pdread(ph, (psaddr_t) addr, &uip, sizeof(uip)) == PS_OK) { X+ if (ps_pread(ph, (psaddr_t) addr, &uip, sizeof(uip)) == PS_OK) { X *pvalue = uip; X return true; X } else { X@@ -267,7 +268,7 @@ static bool read_string(struct ps_procha X char c = ' '; X X while (c != '\0') { X- if (ps_pdread(ph, (psaddr_t) addr, &c, sizeof(char)) != PS_OK) X+ if (ps_pread(ph, (psaddr_t) addr, &c, sizeof(char)) != PS_OK) X return false; X if (i < size - 1) X buf[i] = c; X@@ -507,24 +508,30 @@ static bool core_write_data(struct ps_pr X } X X static bool core_get_lwp_regs(struct ps_prochandle* ph, lwpid_t lwp_id, X- struct user_regs_struct* regs) { X+ struct reg* regs) { X // for core we have cached the lwp regs from NOTE section X thread_info* thr = ph->threads; X while (thr) { X if (thr->lwp_id == lwp_id) { X- memcpy(regs, &thr->regs, sizeof(struct user_regs_struct)); X+ memcpy(regs, &thr->regs, sizeof(struct reg)); X return true; X } X thr = thr->next; X } X return false; X } X+ X+static bool core_get_lwp_info(struct ps_prochandle *ph, lwpid_t lwp_id, void *linfo) { X+ print_debug("core_get_lwp_info not implemented\n"); X+ return false; X+} X X static ps_prochandle_ops core_ops = { X- release: core_release, X- p_pread: core_read_data, X- p_pwrite: core_write_data, X- get_lwp_regs: core_get_lwp_regs X+ .release= core_release, X+ .p_pread= core_read_data, X+ .p_pwrite= core_write_data, X+ .get_lwp_regs= core_get_lwp_regs, X+ .get_lwp_info= core_get_lwp_info X }; X X // read regs and create thread from NT_PRSTATUS entries from core file X@@ -539,52 +546,52 @@ static bool core_handle_prstatus(struct X return false; X X // copy regs X- memcpy(&newthr->regs, prstat->pr_reg, sizeof(struct user_regs_struct)); X+ memcpy(&newthr->regs, &prstat->pr_reg, sizeof(struct reg)); X X if (is_debug()) { X print_debug("integer regset\n"); X #ifdef i386 X // print the regset X- print_debug("\teax = 0x%x\n", newthr->regs.eax); X- print_debug("\tebx = 0x%x\n", newthr->regs.ebx); X- print_debug("\tecx = 0x%x\n", newthr->regs.ecx); X- print_debug("\tedx = 0x%x\n", newthr->regs.edx); X- print_debug("\tesp = 0x%x\n", newthr->regs.esp); X- print_debug("\tebp = 0x%x\n", newthr->regs.ebp); X- print_debug("\tesi = 0x%x\n", newthr->regs.esi); X- print_debug("\tedi = 0x%x\n", newthr->regs.edi); X- print_debug("\teip = 0x%x\n", newthr->regs.eip); X+ print_debug("\teax = 0x%x\n", newthr->regs.r_eax); X+ print_debug("\tebx = 0x%x\n", newthr->regs.r_ebx); X+ print_debug("\tecx = 0x%x\n", newthr->regs.r_ecx); X+ print_debug("\tedx = 0x%x\n", newthr->regs.r_edx); X+ print_debug("\tesp = 0x%x\n", newthr->regs.r_esp); X+ print_debug("\tebp = 0x%x\n", newthr->regs.r_ebp); X+ print_debug("\tesi = 0x%x\n", newthr->regs.r_esi); X+ print_debug("\tedi = 0x%x\n", newthr->regs.r_edi); X+ print_debug("\teip = 0x%x\n", newthr->regs.r_eip); X #endif X X #if defined(amd64) || defined(x86_64) X // print the regset X- print_debug("\tr15 = 0x%lx\n", newthr->regs.r15); X- print_debug("\tr14 = 0x%lx\n", newthr->regs.r14); X- print_debug("\tr13 = 0x%lx\n", newthr->regs.r13); X- print_debug("\tr12 = 0x%lx\n", newthr->regs.r12); X- print_debug("\trbp = 0x%lx\n", newthr->regs.rbp); X- print_debug("\trbx = 0x%lx\n", newthr->regs.rbx); X- print_debug("\tr11 = 0x%lx\n", newthr->regs.r11); X- print_debug("\tr10 = 0x%lx\n", newthr->regs.r10); X- print_debug("\tr9 = 0x%lx\n", newthr->regs.r9); X- print_debug("\tr8 = 0x%lx\n", newthr->regs.r8); X- print_debug("\trax = 0x%lx\n", newthr->regs.rax); X- print_debug("\trcx = 0x%lx\n", newthr->regs.rcx); X- print_debug("\trdx = 0x%lx\n", newthr->regs.rdx); X- print_debug("\trsi = 0x%lx\n", newthr->regs.rsi); X- print_debug("\trdi = 0x%lx\n", newthr->regs.rdi); X- print_debug("\torig_rax = 0x%lx\n", newthr->regs.orig_rax); X- print_debug("\trip = 0x%lx\n", newthr->regs.rip); X- print_debug("\tcs = 0x%lx\n", newthr->regs.cs); X- print_debug("\teflags = 0x%lx\n", newthr->regs.eflags); X- print_debug("\trsp = 0x%lx\n", newthr->regs.rsp); X- print_debug("\tss = 0x%lx\n", newthr->regs.ss); X- print_debug("\tfs_base = 0x%lx\n", newthr->regs.fs_base); X- print_debug("\tgs_base = 0x%lx\n", newthr->regs.gs_base); X- print_debug("\tds = 0x%lx\n", newthr->regs.ds); X- print_debug("\tes = 0x%lx\n", newthr->regs.es); X- print_debug("\tfs = 0x%lx\n", newthr->regs.fs); X- print_debug("\tgs = 0x%lx\n", newthr->regs.gs); X+ print_debug("\tr15 = 0x%lx\n", newthr->regs.r_r15); X+ print_debug("\tr14 = 0x%lx\n", newthr->regs.r_r14); X+ print_debug("\tr13 = 0x%lx\n", newthr->regs.r_r13); X+ print_debug("\tr12 = 0x%lx\n", newthr->regs.r_r12); X+ print_debug("\trbp = 0x%lx\n", newthr->regs.r_rbp); X+ print_debug("\trbx = 0x%lx\n", newthr->regs.r_rbx); X+ print_debug("\tr11 = 0x%lx\n", newthr->regs.r_r11); X+ print_debug("\tr10 = 0x%lx\n", newthr->regs.r_r10); X+ print_debug("\tr9 = 0x%lx\n", newthr->regs.r_r9); X+ print_debug("\tr8 = 0x%lx\n", newthr->regs.r_r8); X+ print_debug("\trax = 0x%lx\n", newthr->regs.r_rax); X+ print_debug("\trcx = 0x%lx\n", newthr->regs.r_rcx); X+ print_debug("\trdx = 0x%lx\n", newthr->regs.r_rdx); X+ print_debug("\trsi = 0x%lx\n", newthr->regs.r_rsi); X+ print_debug("\trdi = 0x%lx\n", newthr->regs.r_rdi); X+ //print_debug("\torig_rax = 0x%lx\n", newthr->regs.orig_rax); X+ print_debug("\trip = 0x%lx\n", newthr->regs.r_rip); X+ print_debug("\tcs = 0x%lx\n", newthr->regs.r_cs); X+ //print_debug("\teflags = 0x%lx\n", newthr->regs.eflags); X+ print_debug("\trsp = 0x%lx\n", newthr->regs.r_rsp); X+ print_debug("\tss = 0x%lx\n", newthr->regs.r_ss); X+ //print_debug("\tfs_base = 0x%lx\n", newthr->regs.fs_base); X+ //print_debug("\tgs_base = 0x%lx\n", newthr->regs.gs_base); X+ //print_debug("\tds = 0x%lx\n", newthr->regs.ds); X+ //print_debug("\tes = 0x%lx\n", newthr->regs.es); X+ //print_debug("\tfs = 0x%lx\n", newthr->regs.fs); X+ //print_debug("\tgs = 0x%lx\n", newthr->regs.gs); X #endif X } X X@@ -826,7 +833,7 @@ static bool read_shared_lib_info(struct X X dyn.d_tag = DT_NULL; X while (dyn.d_tag != DT_DEBUG) { X- if (ps_pdread(ph, (psaddr_t) addr, &dyn, sizeof(ELF_DYN)) != PS_OK) { X+ if (ps_pread(ph, (psaddr_t) addr, &dyn, sizeof(ELF_DYN)) != PS_OK) { X print_debug("can't read debug info from _DYNAMIC\n"); X return false; X } X@@ -836,19 +843,23 @@ static bool read_shared_lib_info(struct X // we have got Dyn entry with DT_DEBUG X debug_base = dyn.d_un.d_ptr; X // at debug_base we have struct r_debug. This has first link map in r_map field X- if (ps_pdread(ph, (psaddr_t) debug_base + FIRST_LINK_MAP_OFFSET, X+ if (ps_pread(ph, (psaddr_t) debug_base + FIRST_LINK_MAP_OFFSET, X &first_link_map_addr, sizeof(uintptr_t)) != PS_OK) { X print_debug("can't read first link map address\n"); X return false; X } X X // read ld_base address from struct r_debug X- if (ps_pdread(ph, (psaddr_t) debug_base + LD_BASE_OFFSET, &ld_base_addr, X+ // XXX: There is no r_ldbase member on BSD X+/* X+ if (ps_pread(ph, (psaddr_t) debug_base + LD_BASE_OFFSET, &ld_base_addr, X sizeof(uintptr_t)) != PS_OK) { X print_debug("can't read ld base address\n"); X return false; X } X ph->core->ld_base_addr = ld_base_addr; X+*/ X+ ph->core->ld_base_addr = 0; X X print_debug("interpreter base address is 0x%lx\n", ld_base_addr); X X@@ -870,14 +881,14 @@ static bool read_shared_lib_info(struct X // address mentioned in shared object and the actual virtual base where runtime X // linker loaded it. We use "base diff" in read_lib_segments call below. X X- if (ps_pdread(ph, (psaddr_t) link_map_addr + LINK_MAP_ADDR_OFFSET, X+ if (ps_pread(ph, (psaddr_t) link_map_addr + LINK_MAP_ADDR_OFFSET, X &lib_base_diff, sizeof(uintptr_t)) != PS_OK) { X print_debug("can't read shared object base address diff\n"); X return false; X } X X // read address of the name X- if (ps_pdread(ph, (psaddr_t) link_map_addr + LINK_MAP_NAME_OFFSET, X+ if (ps_pread(ph, (psaddr_t) link_map_addr + LINK_MAP_NAME_OFFSET, X &lib_name_addr, sizeof(uintptr_t)) != PS_OK) { X print_debug("can't read address of shared object name\n"); X return false; X@@ -921,7 +932,7 @@ static bool read_shared_lib_info(struct X } X X // read next link_map address X- if (ps_pdread(ph, (psaddr_t) link_map_addr + LINK_MAP_NEXT_OFFSET, X+ if (ps_pread(ph, (psaddr_t) link_map_addr + LINK_MAP_NEXT_OFFSET, X &link_map_addr, sizeof(uintptr_t)) != PS_OK) { X print_debug("can't read next link in link_map\n"); X return false; X@@ -935,7 +946,6 @@ static bool read_shared_lib_info(struct X struct ps_prochandle* Pgrab_core(const char* exec_file, const char* core_file) { X ELF_EHDR core_ehdr; X ELF_EHDR exec_ehdr; X- ELF_EHDR lib_ehdr; X X struct ps_prochandle* ph = (struct ps_prochandle*) calloc(1, sizeof(struct ps_prochandle)); X if (ph == NULL) { Xdiff -uNpr ../orig/hotspot/agent/src/os/bsd/ps_proc.c ./hotspot/agent/src/os/bsd/ps_proc.c X--- ../orig/hotspot/agent/src/os/bsd/ps_proc.c 2009-05-14 23:40:16.000000000 -0400 X+++ ./hotspot/agent/src/os/bsd/ps_proc.c 2009-05-15 09:49:29.000000000 -0400 X@@ -25,20 +25,22 @@ X * X */ X X+#include X #include X #include X #include X #include X+#include X+#include X #include X+#include X+#include X+#include X+#include X+#include X+#include X #include "libproc_impl.h" X- X-#if defined(x86_64) && !defined(amd64) X-#define amd64 1 X-#endif X- X-#ifndef __WALL X-#define __WALL 0x40000000 // Copied from /usr/include/bsd/wait.h X-#endif X+#include "elfmacros.h" X X // This file has the libproc implementation specific to live process X // For core files, refer to ps_core.c X@@ -57,46 +59,46 @@ static inline uintptr_t align(uintptr_t X // before calling process_read_data. X X static bool process_read_data(struct ps_prochandle* ph, uintptr_t addr, char *buf, size_t size) { X- long rslt; X+ int rslt; X size_t i, words; X uintptr_t end_addr = addr + size; X- uintptr_t aligned_addr = align(addr, sizeof(long)); X+ uintptr_t aligned_addr = align(addr, sizeof(int)); X X if (aligned_addr != addr) { X char *ptr = (char *)&rslt; X errno = 0; X- rslt = ptrace(PTRACE_PEEKDATA, ph->pid, aligned_addr, 0); X+ rslt = ptrace(PT_READ_D, ph->pid, (caddr_t) aligned_addr, 0); X if (errno) { X- print_debug("ptrace(PTRACE_PEEKDATA, ..) failed for %d bytes @ %lx\n", size, addr); X+ print_debug("ptrace(PT_READ_D, ..) failed for %d bytes @ %lx\n", size, addr); X return false; X } X for (; aligned_addr != addr; aligned_addr++, ptr++); X- for (; ((intptr_t)aligned_addr % sizeof(long)) && aligned_addr < end_addr; X+ for (; ((intptr_t)aligned_addr % sizeof(int)) && aligned_addr < end_addr; X aligned_addr++) X *(buf++) = *(ptr++); X } X X- words = (end_addr - aligned_addr) / sizeof(long); X+ words = (end_addr - aligned_addr) / sizeof(int); X X- // assert((intptr_t)aligned_addr % sizeof(long) == 0); X+ // assert((intptr_t)aligned_addr % sizeof(int) == 0); X for (i = 0; i < words; i++) { X errno = 0; X- rslt = ptrace(PTRACE_PEEKDATA, ph->pid, aligned_addr, 0); X- if (errno) { X- print_debug("ptrace(PTRACE_PEEKDATA, ..) failed for %d bytes @ %lx\n", size, addr); X+ rslt = ptrace(PT_READ_D, ph->pid, (caddr_t) aligned_addr, 0); X+ if (errno) { X+ print_debug("ptrace(PT_READ_D, ..) failed for %d bytes @ %lx\n", size, addr); X return false; X } X- *(long *)buf = rslt; X- buf += sizeof(long); X- aligned_addr += sizeof(long); X+ *(int *)buf = rslt; X+ buf += sizeof(int); X+ aligned_addr += sizeof(int); X } X X if (aligned_addr != end_addr) { X char *ptr = (char *)&rslt; X errno = 0; X- rslt = ptrace(PTRACE_PEEKDATA, ph->pid, aligned_addr, 0); X+ rslt = ptrace(PT_READ_D, ph->pid, (caddr_t) aligned_addr, 0); X if (errno) { X- print_debug("ptrace(PTRACE_PEEKDATA, ..) failed for %d bytes @ %lx\n", size, addr); X+ print_debug("ptrace(PT_READ_D, ..) failed for %d bytes @ %lx\n", size, addr); X return false; X } X for (; aligned_addr != end_addr; aligned_addr++) X@@ -111,45 +113,28 @@ static bool process_write_data(struct ps X return false; X } X X-// "user" should be a pointer to a user_regs_struct X-static bool process_get_lwp_regs(struct ps_prochandle* ph, pid_t pid, struct user_regs_struct *user) { X+// "user" should be a pointer to a reg X+static bool process_get_lwp_regs(struct ps_prochandle* ph, pid_t pid, struct reg *user) { X // we have already attached to all thread 'pid's, just use ptrace call X // to get regset now. Note that we don't cache regset upfront for processes. X-// Bsd on x86 and sparc are different. On x86 ptrace(PTRACE_GETREGS, ...) X-// uses pointer from 4th argument and ignores 3rd argument. On sparc it uses X-// pointer from 3rd argument and ignores 4th argument X-#if defined(sparc) || defined(sparcv9) X-#define ptrace_getregs(request, pid, addr, data) ptrace(request, pid, addr, data) X-#else X-#define ptrace_getregs(request, pid, addr, data) ptrace(request, pid, data, addr) X-#endif X- X-#ifdef _LP64 X-#ifdef PTRACE_GETREGS64 X-#define PTRACE_GETREGS_REQ PTRACE_GETREGS64 X-#endif X-#else X-#if defined(PTRACE_GETREGS) || defined(PT_GETREGS) X-#define PTRACE_GETREGS_REQ PTRACE_GETREGS X-#endif X-#endif /* _LP64 */ X- X-#ifdef PTRACE_GETREGS_REQ X- if (ptrace_getregs(PTRACE_GETREGS_REQ, pid, user, NULL) < 0) { X+ if (ptrace(PT_GETREGS, pid, (caddr_t) user, 0) < 0) { X print_debug("ptrace(PTRACE_GETREGS, ...) failed for lwp %d\n", pid); X return false; X } X return true; X-#else X- print_debug("ptrace(PTRACE_GETREGS, ...) not supported\n"); X- return false; X-#endif X+} X+ X+// fill in ptrace_lwpinfo for lid X+static bool process_get_lwp_info(struct ps_prochandle *ph, lwpid_t lwp_id, void *linfo) { X+ errno = 0; X+ ptrace(PT_LWPINFO, lwp_id, linfo, sizeof(struct ptrace_lwpinfo)); X X+ return (errno == 0)? true: false; X } X X // attach to a process/thread specified by "pid" X static bool ptrace_attach(pid_t pid) { X- if (ptrace(PTRACE_ATTACH, pid, NULL, NULL) < 0) { X+ if (ptrace(PT_ATTACH, pid, NULL, 0) < 0) { X print_debug("ptrace(PTRACE_ATTACH, ..) failed for %d\n", pid); X return false; X } else { X@@ -158,10 +143,6 @@ static bool ptrace_attach(pid_t pid) { X do { X // Wait for debuggee to stop. X ret = waitpid(pid, &status, 0); X- if (ret == -1 && errno == ECHILD) { X- // try cloned process. X- ret = waitpid(pid, &status, __WALL); X- } X if (ret >= 0) { X if (WIFSTOPPED(status)) { X // Debuggee stopped. X@@ -194,85 +175,222 @@ static bool ptrace_attach(pid_t pid) { X // functions for obtaining library information X // ------------------------------------------------------- X X-/* X- * splits a string _str_ into substrings with delimiter _delim_ by replacing old * delimiters with _new_delim_ (ideally, '\0'). the address of each substring X- * is stored in array _ptrs_ as the return value. the maximum capacity of _ptrs_ * array is specified by parameter _n_. X- * RETURN VALUE: total number of substrings (always <= _n_) X- * NOTE: string _str_ is modified if _delim_!=_new_delim_ X- */ X-static int split_n_str(char * str, int n, char ** ptrs, char delim, char new_delim) X-{ X- int i; X- for(i = 0; i < n; i++) ptrs[i] = NULL; X- if (str == NULL || n < 1 ) return 0; X- X- i = 0; X- X- // skipping leading blanks X- while(*str&&*str==delim) str++; X- X- while(*str&&i.sh X+ * Not the most robust but good enough. X */ X-static char * fgets_no_cr(char * buf, int n, FILE *fp) X-{ X- char * rslt = fgets(buf, n, fp); X- if (rslt && buf && *buf){ X- char *p = strchr(buf, '\0'); X- if (*--p=='\n') *p='\0'; X- } X- return rslt; X-} X X-// callback for read_thread_info X-static bool add_new_thread(struct ps_prochandle* ph, pthread_t pthread_id, lwpid_t lwp_id) { X- return add_thread_info(ph, pthread_id, lwp_id) != NULL; X+#if defined(amd64) || defined(x86_64) X+#define TEXT_START_ADDR 0x400000 X+#elif defined(i386) X+#define TEXT_START_ADDR 0x8048000 X+#else X+#error TEXT_START_ADDR not defined X+#endif X+ X+#define BUF_SIZE (PATH_MAX + NAME_MAX + 1) X+ X+uintptr_t linkmap_addr(struct ps_prochandle *ph) { X+ uintptr_t ehdr_addr, phdr_addr, dyn_addr, dmap_addr, lmap_addr; X+ ELF_EHDR ehdr; X+ ELF_PHDR *phdrs, *phdr; X+ ELF_DYN *dyns, *dyn; X+ struct r_debug dmap; X+ unsigned long hdrs_size; X+ unsigned int i; X+ X+ /* read ELF_EHDR at TEXT_START_ADDR and validate */ X+ X+ ehdr_addr = (uintptr_t)TEXT_START_ADDR; X+ X+ if (process_read_data(ph, ehdr_addr, (char *)&ehdr, sizeof(ehdr)) != true) { X+ print_debug("process_read_data failed for ehdr_addr %p\n", ehdr_addr); X+ return (0); X+ } X+ X+ if (!IS_ELF(ehdr) || X+ ehdr.e_ident[EI_CLASS] != ELF_TARG_CLASS || X+ ehdr.e_ident[EI_DATA] != ELF_TARG_DATA || X+ ehdr.e_ident[EI_VERSION] != EV_CURRENT || X+ ehdr.e_phentsize != sizeof(ELF_PHDR) || X+ ehdr.e_version != ELF_TARG_VER || X+ ehdr.e_machine != ELF_TARG_MACH) { X+ print_debug("not an ELF_EHDR at %p\n", ehdr_addr); X+ return (0); X+ } X+ X+ /* allocate space for all ELF_PHDR's and read */ X+ X+ phdr_addr = ehdr_addr + ehdr.e_phoff; X+ hdrs_size = ehdr.e_phnum * sizeof(ELF_PHDR); X+ X+ if ((phdrs = malloc(hdrs_size)) == NULL) X+ return (0); X+ X+ if (process_read_data(ph, phdr_addr, (char *)phdrs, hdrs_size) != true) { X+ print_debug("process_read_data failed for phdr_addr %p\n", phdr_addr); X+ return (0); X+ } X+ X+ /* find PT_DYNAMIC section */ X+ X+ for (i = 0, phdr = phdrs; i < ehdr.e_phnum; i++, phdr++) { X+ if (phdr->p_type == PT_DYNAMIC) X+ break; X+ } X+ X+ if (i >= ehdr.e_phnum) { X+ print_debug("PT_DYNAMIC section not found!\n"); X+ free(phdrs); X+ return (0); X+ } X+ X+ /* allocate space and read in ELF_DYN headers */ X+ X+ dyn_addr = phdr->p_vaddr; X+ hdrs_size = phdr->p_memsz; X+ free(phdrs); X+ X+ if ((dyns = malloc(hdrs_size)) == NULL) X+ return (0); X+ X+ if (process_read_data(ph, dyn_addr, (char *)dyns, hdrs_size) != true) { X+ print_debug("process_read_data failed for dyn_addr %p\n", dyn_addr); X+ free(dyns); X+ return (0); X+ } X+ X+ /* find DT_DEBUG */ X+ X+ dyn = dyns; X+ while (dyn->d_tag != DT_DEBUG && dyn->d_tag != DT_NULL) { X+ dyn++; X+ } X+ X+ if (dyn->d_tag != DT_DEBUG) { X+ print_debug("failed to find DT_DEBUG\n"); X+ free(dyns); X+ return (0); X+ } X+ X+ /* read struct r_debug into dmap */ X+ X+ dmap_addr = (uintptr_t)dyn->d_un.d_ptr; X+ free(dyns); X+ X+ if (process_read_data(ph, dmap_addr, (char *)&dmap, sizeof(dmap)) != true) { X+ print_debug("process_read_data failed for dmap_addr %p\n", dmap_addr); X+ return (0); X+ } X+ X+ lmap_addr = (uintptr_t)dmap.r_map; X+ X+ return (lmap_addr); X } X+#endif // __FreeBSD__ && __FreeBSD_version < 701000 X X static bool read_lib_info(struct ps_prochandle* ph) { X- char fname[32]; X- char buf[256]; X- FILE *fp = NULL; X- X- sprintf(fname, "/proc/%d/maps", ph->pid); X- fp = fopen(fname, "r"); X- if (fp == NULL) { X- print_debug("can't open /proc/%d/maps file\n", ph->pid); X- return false; X+#if defined(__FreeBSD__) && __FreeBSD_version >= 701000 X+ struct kinfo_vmentry *freep, *kve; X+ int i, cnt; X+ X+ freep = kinfo_getvmmap(ph->pid, &cnt); X+ if (freep == NULL) { X+ print_debug("can't get vm map for pid\n", ph->pid); X+ return false; X } X X- while(fgets_no_cr(buf, 256, fp)){ X- char * word[6]; X- int nwords = split_n_str(buf, 6, word, ' ', '\0'); X- if (nwords > 5 && find_lib(ph, word[5]) == false) { X- intptr_t base; X- lib_info* lib; X- sscanf(word[0], "%lx", &base); X- if ((lib = add_lib_info(ph, word[5], (uintptr_t)base)) == NULL) X+ for (i = 0; i < cnt; i++) { X+ kve = &freep[i]; X+ if ((kve->kve_flags & KVME_FLAG_COW) && X+ kve->kve_path != NULL && X+ strlen(kve->kve_path) > 0) { X+ X+ if (find_lib(ph, kve->kve_path) == false) { X+ lib_info* lib; X+ if ((lib = add_lib_info(ph, kve->kve_path, X+ (uintptr_t) kve->kve_start)) == NULL) X continue; // ignore, add_lib_info prints error X X- // we don't need to keep the library open, symtab is already X- // built. Only for core dump we need to keep the fd open. X- close(lib->fd); X- lib->fd = -1; X+ // we don't need to keep the library open, symtab is already X+ // built. Only for core dump we need to keep the fd open. X+ close(lib->fd); X+ lib->fd = -1; X+ } X } X } X- fclose(fp); X+ X+ free(freep); X+ X+ return true; X+#else X+ char *l_name; X+ struct link_map *lmap; X+ uintptr_t lmap_addr; X+ X+ if ((l_name = malloc(BUF_SIZE)) == NULL) X+ return false; X+ X+ if ((lmap = malloc(sizeof(*lmap))) == NULL) { X+ free(l_name); X+ return false; X+ } X+ X+ lmap_addr = linkmap_addr(ph); X+ X+ if (lmap_addr == 0) { X+ free(l_name); X+ free(lmap); X+ return false; X+ } X+ X+ do { X+ if (process_read_data(ph, lmap_addr, (char *)lmap, sizeof(*lmap)) != true) { X+ print_debug("process_read_data failed for lmap_addr %p\n", lmap_addr); X+ free (l_name); X+ free (lmap); X+ return false; X+ } X+ X+ if (process_read_data(ph, (uintptr_t)lmap->l_name, l_name, X+ BUF_SIZE) != true) { X+ print_debug("process_read_data failed for lmap->l_name %p\n", X+ lmap->l_name); X+ free (l_name); X+ free (lmap); X+ return false; X+ } X+ X+ if (find_lib(ph, l_name) == false) { X+ lib_info* lib; X+ if ((lib = add_lib_info(ph, l_name, X+ (uintptr_t) lmap->l_addr)) == NULL) X+ continue; // ignore, add_lib_info prints error X+ X+ // we don't need to keep the library open, symtab is already X+ // built. Only for core dump we need to keep the fd open. X+ close(lib->fd); X+ lib->fd = -1; X+ } X+ lmap_addr = (uintptr_t)lmap->l_next; X+ } while (lmap->l_next != NULL); X+ X+ free (l_name); X+ free (lmap); X+ X return true; X+#endif X } X X // detach a given pid X static bool ptrace_detach(pid_t pid) { X- if (pid && ptrace(PTRACE_DETACH, pid, NULL, NULL) < 0) { X+ if (pid && ptrace(PT_DETACH, pid, (caddr_t)1, 0) < 0) { X print_debug("ptrace(PTRACE_DETACH, ..) failed for %d\n", pid); X return false; X } else { X@@ -280,24 +398,16 @@ static bool ptrace_detach(pid_t pid) { X } X } X X-// detach all pids of a ps_prochandle X-static void detach_all_pids(struct ps_prochandle* ph) { X- thread_info* thr = ph->threads; X- while (thr) { X- ptrace_detach(thr->lwp_id); X- thr = thr->next; X- } X-} X- X static void process_cleanup(struct ps_prochandle* ph) { X- detach_all_pids(ph); X+ ptrace_detach(ph->pid); X } X X static ps_prochandle_ops process_ops = { X- release: process_cleanup, X- p_pread: process_read_data, X- p_pwrite: process_write_data, X- get_lwp_regs: process_get_lwp_regs X+ .release= process_cleanup, X+ .p_pread= process_read_data, X+ .p_pwrite= process_write_data, X+ .get_lwp_regs= process_get_lwp_regs, X+ .get_lwp_info= process_get_lwp_info X }; X X // attach to the process. One and only one exposed stuff X@@ -324,21 +434,14 @@ struct ps_prochandle* Pgrab(pid_t pid) { X // read library info and symbol tables, must do this before attaching threads, X // as the symbols in the pthread library will be used to figure out X // the list of threads within the same process. X- read_lib_info(ph); X+ if (read_lib_info(ph) != true) { X+ ptrace_detach(pid); X+ free(ph); X+ return NULL; X+ } X X // read thread info X read_thread_info(ph, add_new_thread); X X- // attach to the threads X- thr = ph->threads; X- while (thr) { X- // don't attach to the main thread again X- if (ph->pid != thr->lwp_id && ptrace_attach(thr->lwp_id) != true) { X- // even if one attach fails, we get return NULL X- Prelease(ph); X- return NULL; X- } X- thr = thr->next; X- } X return ph; X } Xdiff -uNpr ../orig/hotspot/agent/src/os/bsd/salibelf.c ./hotspot/agent/src/os/bsd/salibelf.c X--- ../orig/hotspot/agent/src/os/bsd/salibelf.c 2009-05-14 23:40:16.000000000 -0400 X+++ ./hotspot/agent/src/os/bsd/salibelf.c 2009-05-14 23:41:34.000000000 -0400 X@@ -28,6 +28,7 @@ X #include "salibelf.h" X #include X #include X+#include X X extern void print_debug(const char*,...); X Xdiff -uNpr ../orig/hotspot/agent/src/os/bsd/symtab.c ./hotspot/agent/src/os/bsd/symtab.c X--- ../orig/hotspot/agent/src/os/bsd/symtab.c 2009-05-14 23:40:16.000000000 -0400 X+++ ./hotspot/agent/src/os/bsd/symtab.c 2009-05-14 23:41:34.000000000 -0400 X@@ -26,13 +26,14 @@ X */ X X #include X-#include X #include X #include X #include X+#include "hsearch_r.h" X #include "symtab.h" X #include "salibelf.h" X X+extern void print_debug(const char*,...); X X // ---------------------------------------------------- X // functions for symbol lookups X@@ -59,7 +60,6 @@ typedef struct symtab { X // read symbol table from given fd. X struct symtab* build_symtab(int fd) { X ELF_EHDR ehdr; X- char *names = NULL; X struct symtab* symtab = NULL; X X // Reading of elf header X@@ -68,18 +68,22 @@ struct symtab* build_symtab(int fd) { X ELF_SHDR* shbuf = NULL; X ELF_SHDR* cursct = NULL; X ELF_PHDR* phbuf = NULL; X- ELF_PHDR* phdr = NULL; X+ int symtab_found = 0; X+ int dynsym_found = 0; X+ uint32_t symsection = SHT_SYMTAB; X X uintptr_t baseaddr = (uintptr_t)-1; X X lseek(fd, (off_t)0L, SEEK_SET); X if (! read_elf_header(fd, &ehdr)) { X+ print_debug("not an ELF header\n"); X // not an elf X return NULL; X } X X // read ELF header X if ((shbuf = read_section_header_table(fd, &ehdr)) == NULL) { X+ print_debug("can't read section header\n"); X goto quit; X } X X@@ -88,23 +92,35 @@ struct symtab* build_symtab(int fd) { X scn_cache = (struct elf_section *) X calloc(ehdr.e_shnum * sizeof(struct elf_section), 1); X if (scn_cache == NULL) { X+ print_debug("can't read scn_cache\n"); X goto quit; X } X X for (cursct = shbuf, cnt = 0; cnt < ehdr.e_shnum; cnt++) { X scn_cache[cnt].c_shdr = cursct; X- if (cursct->sh_type == SHT_SYMTAB || cursct->sh_type == SHT_STRTAB) { X+ if (cursct->sh_type == SHT_SYMTAB || X+ cursct->sh_type == SHT_STRTAB || X+ cursct->sh_type == SHT_DYNSYM) { X if ( (scn_cache[cnt].c_data = read_section_data(fd, &ehdr, cursct)) == NULL) { X+ print_debug("can't read section_data\n"); X goto quit; X } X } X+ if (cursct->sh_type == SHT_SYMTAB) X+ symtab_found++; X+ X+ if (cursct->sh_type == SHT_DYNSYM) X+ dynsym_found++; X cursct++; X } X X+ if (!symtab_found && dynsym_found) X+ symsection = SHT_DYNSYM; X+ X for (cnt = 1; cnt < ehdr.e_shnum; cnt++) { X ELF_SHDR *shdr = scn_cache[cnt].c_shdr; X X- if (shdr->sh_type == SHT_SYMTAB) { X+ if (shdr->sh_type == symsection) { X ELF_SYM *syms; X int j, n, rslt; X size_t size; X@@ -116,6 +132,7 @@ struct symtab* build_symtab(int fd) { X // guarantee(symtab == NULL, "multiple symtab"); X symtab = (struct symtab*)calloc(1, sizeof(struct symtab)); X if (symtab == NULL) { X+ print_debug("can't allocate symtab\n"); X goto quit; X } X // the symbol table Xdiff -uNpr ../orig/hotspot/agent/src/os/bsd/test.c ./hotspot/agent/src/os/bsd/test.c X--- ../orig/hotspot/agent/src/os/bsd/test.c 2009-05-14 23:40:16.000000000 -0400 X+++ ./hotspot/agent/src/os/bsd/test.c 2009-05-14 23:41:34.000000000 -0400 X@@ -47,7 +47,7 @@ int main(int argc, char** argv) { X } X X default: { X- printf("usage %s or %s \n"); X+ fprintf(stderr, "usage %s or %s \n"); X return 1; X } X } Xdiff -uNpr ../orig/hotspot/agent/src/share/classes/sun/jvm/hotspot/HotSpotAgent.java ./hotspot/agent/src/share/classes/sun/jvm/hotspot/HotSpotAgent.java X--- ../orig/hotspot/agent/src/share/classes/sun/jvm/hotspot/HotSpotAgent.java 2009-04-24 03:30:48.000000000 -0400 X+++ ./hotspot/agent/src/share/classes/sun/jvm/hotspot/HotSpotAgent.java 2009-05-14 23:41:34.000000000 -0400 X@@ -28,6 +28,7 @@ import java.io.PrintStream; X import java.net.*; X import java.rmi.*; X import sun.jvm.hotspot.debugger.*; X+import sun.jvm.hotspot.debugger.bsd.*; X import sun.jvm.hotspot.debugger.dbx.*; X import sun.jvm.hotspot.debugger.proc.*; X import sun.jvm.hotspot.debugger.remote.*; X@@ -337,6 +338,8 @@ public class HotSpotAgent { X setupDebuggerWin32(); X } else if (os.equals("linux")) { X setupDebuggerLinux(); X+ } else if (os.equals("bsd")) { X+ setupDebuggerBsd(); X } else { X // Add support for more operating systems here X throw new DebuggerException("Operating system " + os + " not yet supported"); X@@ -392,6 +395,10 @@ public class HotSpotAgent { X db = new HotSpotTypeDataBase(machDesc, X new LinuxVtblAccess(debugger, jvmLibNames), X debugger, jvmLibNames); X+ } else if (os.equals("bsd")) { X+ db = new HotSpotTypeDataBase(machDesc, X+ new BsdVtblAccess(debugger, jvmLibNames), X+ debugger, jvmLibNames); X } else { X throw new DebuggerException("OS \"" + os + "\" not yet supported (no VtblAccess yet)"); X } X@@ -557,6 +564,8 @@ public class HotSpotAgent { X setupJVMLibNamesWin32(); X } else if (os.equals("linux")) { X setupJVMLibNamesLinux(); X+ } else if (os.equals("bsd")) { X+ setupJVMLibNamesBsd(); X } else { X throw new RuntimeException("Unknown OS type"); X } X@@ -638,6 +647,31 @@ public class HotSpotAgent { X jvmLibNames = new String[] { "libjvm.so", "libjvm_g.so" }; X } X X+ // X+ // BSD X+ // X+ X+ private void setupDebuggerBsd() { X+ setupJVMLibNamesBsd(); X+ X+ if (cpu.equals("x86")) { X+ machDesc = new MachineDescriptionIntelX86(); X+ } else if (cpu.equals("amd64")) { X+ machDesc = new MachineDescriptionAMD64(); X+ } else { X+ throw new DebuggerException("BSD only supported on x86/amd64"); X+ } X+ X+ BsdDebuggerLocal dbg = new BsdDebuggerLocal(machDesc, !isServer); X+ debugger = dbg; X+ X+ attachDebugger(); X+ } X+ X+ private void setupJVMLibNamesBsd() { X+ jvmLibNames = new String[] { "libjvm.so", "libjvm_g.so" }; X+ } X+ X /** Convenience routine which should be called by per-platform X debugger setup. Should not be called when startupMode is X REMOTE_MODE. */ Xdiff -uNpr ../orig/hotspot/agent/src/share/classes/sun/jvm/hotspot/bugspot/BugSpotAgent.java ./hotspot/agent/src/share/classes/sun/jvm/hotspot/bugspot/BugSpotAgent.java X--- ../orig/hotspot/agent/src/share/classes/sun/jvm/hotspot/bugspot/BugSpotAgent.java 2009-04-24 03:30:49.000000000 -0400 X+++ ./hotspot/agent/src/share/classes/sun/jvm/hotspot/bugspot/BugSpotAgent.java 2009-05-14 23:41:34.000000000 -0400 X@@ -29,6 +29,7 @@ import java.net.*; X import java.rmi.*; X import sun.jvm.hotspot.*; X import sun.jvm.hotspot.debugger.*; X+import sun.jvm.hotspot.debugger.bsd.*; X import sun.jvm.hotspot.debugger.dbx.*; X import sun.jvm.hotspot.debugger.proc.*; X import sun.jvm.hotspot.debugger.cdbg.*; X@@ -516,6 +517,8 @@ public class BugSpotAgent { X setupDebuggerWin32(); X } else if (os.equals("linux")) { X setupDebuggerLinux(); X+ } else if (os.equals("bsd")) { X+ setupDebuggerBsd(); X } else { X // Add support for more operating systems here X throw new DebuggerException("Operating system " + os + " not yet supported"); X@@ -567,6 +570,9 @@ public class BugSpotAgent { X } else if (os.equals("linux")) { X db = new HotSpotTypeDataBase(machDesc, new LinuxVtblAccess(debugger, jvmLibNames), X debugger, jvmLibNames); X+ } else if (os.equals("bsd")) { X+ db = new HotSpotTypeDataBase(machDesc, new BsdVtblAccess(debugger, jvmLibNames), X+ debugger, jvmLibNames); X } else { X throw new DebuggerException("OS \"" + os + "\" not yet supported (no VtblAccess implemented yet)"); X } X@@ -739,6 +745,8 @@ public class BugSpotAgent { X setupJVMLibNamesWin32(); X } else if (os.equals("linux")) { X setupJVMLibNamesLinux(); X+ } else if (os.equals("bsd")) { X+ setupJVMLibNamesBsd(); X } else { X throw new RuntimeException("Unknown OS type"); X } X@@ -822,6 +830,34 @@ public class BugSpotAgent { X setupJVMLibNamesSolaris(); X } X X+ // X+ // BSD X+ // X+ X+ private void setupDebuggerBsd() { X+ setupJVMLibNamesBsd(); X+ X+ if (cpu.equals("x86")) { X+ machDesc = new MachineDescriptionIntelX86(); X+ } else if (cpu.equals("amd64")) { X+ machDesc = new MachineDescriptionAMD64(); X+ } else { X+ throw new DebuggerException("Bsd only supported on x86/amd64"); X+ } X+ X+ // Note we do not use a cache for the local debugger in server X+ // mode; it will be taken care of on the client side (once remote X+ // debugging is implemented). X+ X+ debugger = new BsdDebuggerLocal(machDesc, !isServer); X+ attachDebugger(); X+ } X+ X+ private void setupJVMLibNamesBsd() { X+ // same as solaris X+ setupJVMLibNamesSolaris(); X+ } X+ X /** Convenience routine which should be called by per-platform X debugger setup. Should not be called when startupMode is X REMOTE_MODE. */ Xdiff -uNpr ../orig/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/bsd/BsdCDebugger.java ./hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/bsd/BsdCDebugger.java X--- ../orig/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/bsd/BsdCDebugger.java 2009-05-14 23:40:16.000000000 -0400 X+++ ./hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/bsd/BsdCDebugger.java 2009-05-14 23:41:34.000000000 -0400 X@@ -30,10 +30,8 @@ import sun.jvm.hotspot.debugger.*; X import sun.jvm.hotspot.debugger.cdbg.*; X import sun.jvm.hotspot.debugger.x86.*; X import sun.jvm.hotspot.debugger.amd64.*; X-import sun.jvm.hotspot.debugger.sparc.*; X import sun.jvm.hotspot.debugger.bsd.x86.*; X import sun.jvm.hotspot.debugger.bsd.amd64.*; X-import sun.jvm.hotspot.debugger.bsd.sparc.*; X import sun.jvm.hotspot.utilities.*; X X class BsdCDebugger implements CDebugger { X@@ -99,13 +97,6 @@ class BsdCDebugger implements CDebugger X Address pc = context.getRegisterAsAddress(AMD64ThreadContext.RIP); X if (pc == null) return null; X return new BsdAMD64CFrame(dbg, rbp, pc); X- } else if (cpu.equals("sparc")) { X- SPARCThreadContext context = (SPARCThreadContext) thread.getContext(); X- Address sp = context.getRegisterAsAddress(SPARCThreadContext.R_SP); X- if (sp == null) return null; X- Address pc = context.getRegisterAsAddress(SPARCThreadContext.R_O7); X- if (pc == null) return null; X- return new BsdSPARCCFrame(dbg, sp, pc, BsdDebuggerLocal.getAddressSize()); X } else { X throw new DebuggerException(cpu + " is not yet supported"); X } Xdiff -uNpr ../orig/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/bsd/BsdThreadContextFactory.java ./hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/bsd/BsdThreadContextFactory.java X--- ../orig/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/bsd/BsdThreadContextFactory.java 2009-05-14 23:40:16.000000000 -0400 X+++ ./hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/bsd/BsdThreadContextFactory.java 2009-05-14 23:41:34.000000000 -0400 X@@ -26,9 +26,7 @@ package sun.jvm.hotspot.debugger.bsd; X X import sun.jvm.hotspot.debugger.*; X import sun.jvm.hotspot.debugger.bsd.amd64.*; X-import sun.jvm.hotspot.debugger.bsd.ia64.*; X import sun.jvm.hotspot.debugger.bsd.x86.*; X-import sun.jvm.hotspot.debugger.bsd.sparc.*; X X class BsdThreadContextFactory { X static ThreadContext createThreadContext(BsdDebugger dbg) { X@@ -37,10 +35,6 @@ class BsdThreadContextFactory { X return new BsdX86ThreadContext(dbg); X } else if (cpu.equals("amd64")) { X return new BsdAMD64ThreadContext(dbg); X- } else if (cpu.equals("ia64")) { X- return new BsdIA64ThreadContext(dbg); X- } else if (cpu.equals("sparc")) { X- return new BsdSPARCThreadContext(dbg); X } else { X throw new RuntimeException("cpu " + cpu + " is not yet supported"); X } Xdiff -uNpr ../orig/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/Threads.java ./hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/Threads.java X--- ../orig/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/Threads.java 2009-04-24 03:30:51.000000000 -0400 X+++ ./hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/Threads.java 2009-05-14 23:41:34.000000000 -0400 X@@ -37,6 +37,8 @@ import sun.jvm.hotspot.runtime.linux_x86 X import sun.jvm.hotspot.runtime.linux_ia64.LinuxIA64JavaThreadPDAccess; X import sun.jvm.hotspot.runtime.linux_amd64.LinuxAMD64JavaThreadPDAccess; X import sun.jvm.hotspot.runtime.linux_sparc.LinuxSPARCJavaThreadPDAccess; X+import sun.jvm.hotspot.runtime.bsd_x86.BsdX86JavaThreadPDAccess; X+import sun.jvm.hotspot.runtime.bsd_amd64.BsdAMD64JavaThreadPDAccess; X import sun.jvm.hotspot.utilities.*; X X public class Threads { X@@ -90,7 +92,12 @@ public class Threads { X } else if (cpu.equals("sparc")) { X access = new LinuxSPARCJavaThreadPDAccess(); X } X- X+ } else if (os.equals("bsd")) { X+ if (cpu.equals("x86")) { X+ access = new BsdX86JavaThreadPDAccess(); X+ } else if (cpu.equals("amd64")) { X+ access = new BsdAMD64JavaThreadPDAccess(); X+ } X } X X if (access == null) { Xdiff -uNpr ../orig/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/bsd/BsdSignals.java ./hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/bsd/BsdSignals.java X--- ../orig/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/bsd/BsdSignals.java 2009-05-14 23:40:16.000000000 -0400 X+++ ./hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/bsd/BsdSignals.java 2009-05-15 09:51:39.000000000 -0400 X@@ -28,37 +28,36 @@ public class BsdSignals { X private static String[] signalNames = { X "", /* No signal 0 */ X "SIGHUP", /* hangup */ X- "SIGINT", /* interrupt (rubout) */ X- "SIGQUIT", /* quit (ASCII FS) */ X- "SIGILL", /* illegal instruction (not reset when caught) */ X+ "SIGINT", /* interrupt */ X+ "SIGQUIT", /* quit */ X+ "SIGILL", /* illegal instr. (not reset when caught) */ X "SIGTRAP", /* trace trap (not reset when caught) */ X- "SIGABRT", /* used by abort, replace SIGIOT in the future */ X- "SIGIOT", X- "SIGBUS", X+ "SIGABRT", /* abort() */ X+ "SIGEMT", /* EMT instruction */ X "SIGFPE", /* floating point exception */ X "SIGKILL", /* kill (cannot be caught or ignored) */ X- "SIGUSR1", /* user defined signal 1 */ X+ "SIGBUS", /* bus error */ X "SIGSEGV", /* segmentation violation */ X- "SIGUSR2", /* user defined signal 2 */ X+ "SIGSYS", /* non-existent system call invoked */ X "SIGPIPE", /* write on a pipe with no one to read it */ X "SIGALRM", /* alarm clock */ X "SIGTERM", /* software termination signal from kill */ X- "SIGSTKFLT", X- "SIGCHLD", /* child status change alias */ X- "SIGCONT", /* stopped process has been continued */ X- "SIGSTOP", /* stop (cannot be caught or ignored) */ X- "SIGTSTP", /* user stop requested from tty */ X- "SIGTTIN", /* background tty read attempted */ X- "SIGTTOU", /* background tty write attempted */ X- "SIGURG", /* urgent socket condition */ X- "SIGXCPU", /* exceeded cpu limit */ X+ "SIGURG", /* urgent condition on IO channel */ X+ "SIGSTOP", /* sendable stop signal not from tty */ X+ "SIGTSTP", /* stop signal from tty */ X+ "SIGCONT", /* continue a stopped process */ X+ "SIGCHLD", /* to parent on child stop or exit */ X+ "SIGTTIN", /* to readers pgrp upon background tty read */ X+ "SIGTTOU", /* like TTIN if (tp->t_local<OSTOP) */ X+ "SIGIO", /* input/output possible signal */ X+ "SIGXCPU", /* exceeded CPU time limit */ X "SIGXFSZ", /* exceeded file size limit */ X- "SIGVTALRM", /* virtual timer expired */ X- "SIGPROF", /* profiling timer expired */ X- "SIGWINCH", /* window size change */ X- "SIGPOLL", /* pollable event occured */ X- "SIGPWR", /* power-fail restart */ X- "SIGSYS" X+ "SIGVTALRM", /* virtual time alarm */ X+ "SIGPROF", /* profiling time alarm */ X+ "SIGWINCH", /* window size changes */ X+ "SIGINFO", /* information request */ X+ "SIGUSR1", /* user defined signal 1 */ X+ "SIGUSR2" /* user defined signal 2 */ X }; X X public static String getSignalName(int sigNum) { Xdiff -uNpr ../orig/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/bsd_x86/BsdSignals.java ./hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/bsd_x86/BsdSignals.java X--- ../orig/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/bsd_x86/BsdSignals.java 2009-05-14 23:40:16.000000000 -0400 X+++ ./hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/bsd_x86/BsdSignals.java 2009-05-14 23:41:34.000000000 -0400 X@@ -32,33 +32,32 @@ public class BsdSignals { X "SIGQUIT", /* quit (ASCII FS) */ X "SIGILL", /* illegal instruction (not reset when caught) */ X "SIGTRAP", /* trace trap (not reset when caught) */ X- "SIGABRT", /* used by abort, replace SIGIOT in the future */ X- "SIGIOT", X- "SIGBUS", X+ "SIGABRT", /* abort() */ X+ "SIGEMT", /* EMT instruction */ X "SIGFPE", /* floating point exception */ X "SIGKILL", /* kill (cannot be caught or ignored) */ X- "SIGUSR1", /* user defined signal 1 */ X+ "SIGBUS", /* bus error */ X "SIGSEGV", /* segmentation violation */ X- "SIGUSR2", /* user defined signal 2 */ X+ "SIGSYS", /* non-existent system call invoked */ X "SIGPIPE", /* write on a pipe with no one to read it */ X "SIGALRM", /* alarm clock */ X "SIGTERM", /* software termination signal from kill */ X- "SIGSTKFLT", X- "SIGCHLD", /* child status change alias */ X- "SIGCONT", /* stopped process has been continued */ X- "SIGSTOP", /* stop (cannot be caught or ignored) */ X- "SIGTSTP", /* user stop requested from tty */ X- "SIGTTIN", /* background tty read attempted */ X- "SIGTTOU", /* background tty write attempted */ X- "SIGURG", /* urgent socket condition */ X- "SIGXCPU", /* exceeded cpu limit */ X+ "SIGURG", /* urgent condition on IO channel */ X+ "SIGSTOP", /* sendable stop signal not from tty */ X+ "SIGTSTP", /* stop signal from tty */ X+ "SIGCONT", /* continue a stopped process */ X+ "SIGCHLD", /* to parent on child stop or exit */ X+ "SIGTTIN", /* to readers pgrp upon background tty read */ X+ "SIGTTOU", /* like TTIN if (tp->t_local<OSTOP) */ X+ "SIGIO", /* input/output possible signal */ X+ "SIGXCPU", /* exceeded CPU time limit */ X "SIGXFSZ", /* exceeded file size limit */ X- "SIGVTALRM", /* virtual timer expired */ X- "SIGPROF", /* profiling timer expired */ X- "SIGWINCH", /* window size change */ X- "SIGPOLL", /* pollable event occured */ X- "SIGPWR", /* power-fail restart */ X- "SIGSYS" X+ "SIGVTALRM", /* virtual time alarm */ X+ "SIGPROF", /* profiling time alarm */ X+ "SIGWINCH", /* window size changes */ X+ "SIGINFO", /* information request */ X+ "SIGUSR1", /* user defined signal 1 */ X+ "SIGUSR2" /* user defined signal 2 */ X }; X X public static String getSignalName(int sigNum) { Xdiff -uNpr ../orig/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java ./hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java X--- ../orig/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java 2009-04-24 03:30:51.000000000 -0400 X+++ ./hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java 2009-05-14 23:41:34.000000000 -0400 X@@ -37,6 +37,14 @@ public class PlatformInfo { X return "solaris"; X } else if (os.equals("Linux")) { X return "linux"; X+ } else if (os.equals("FreeBSD")) { X+ return "bsd"; X+ } else if (os.equals("NetBSD")) { X+ return "bsd"; X+ } else if (os.equals("OpenBSD")) { X+ return "bsd"; X+ } else if (os.equals("Darwin")) { X+ return "bsd"; X } else if (os.startsWith("Windows")) { X return "win32"; X } else { Xdiff -uNpr ../orig/hotspot/build/bsd/Makefile ./hotspot/build/bsd/Makefile X--- ../orig/hotspot/build/bsd/Makefile 2009-05-14 23:40:15.000000000 -0400 X+++ ./hotspot/build/bsd/Makefile 2009-05-14 23:41:33.000000000 -0400 X@@ -198,7 +198,8 @@ checks: check_os_version check_j2se_vers X # Solaris 2.5.1, 2.6). X # Disable this check by setting DISABLE_HOTSPOT_OS_VERSION_CHECK=ok. X X-SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 2.7% X+#SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 2.7% X+DISABLE_HOTSPOT_OS_VERSION_CHECK = ok X OS_VERSION := $(shell uname -r) X EMPTY_IF_NOT_SUPPORTED = $(filter $(SUPPORTED_OS_VERSION),$(OS_VERSION)) X Xdiff -uNpr ../orig/hotspot/build/bsd/makefiles/buildtree.make ./hotspot/build/bsd/makefiles/buildtree.make X--- ../orig/hotspot/build/bsd/makefiles/buildtree.make 2009-05-14 23:40:15.000000000 -0400 X+++ ./hotspot/build/bsd/makefiles/buildtree.make 2009-05-14 23:41:33.000000000 -0400 X@@ -273,10 +273,11 @@ env.sh: $(BUILDTREE_MAKE) X [ -n "$$JAVA_HOME" ] && { echo ": \$${JAVA_HOME:=$${JAVA_HOME}}"; }; \ X { \ X echo "LD_LIBRARY_PATH=.:$${LD_LIBRARY_PATH:+$$LD_LIBRARY_PATH:}\$${JAVA_HOME}/jre/lib/${LIBARCH}/native_threads:\$${JAVA_HOME}/jre/lib/${LIBARCH}:${GCC_LIB}"; \ X+ echo "DYLD_LIBRARY_PATH=.:$${DYLD_LIBRARY_PATH:+$$DYLD_LIBRARY_PATH:}\$${JAVA_HOME}/jre/lib/${LIBARCH}/native_threads:\$${JAVA_HOME}/jre/lib/${LIBARCH}:${GCC_LIB}"; \ X echo "CLASSPATH=$${CLASSPATH:+$$CLASSPATH:}.:\$${JAVA_HOME}/jre/lib/rt.jar:\$${JAVA_HOME}/jre/lib/i18n.jar"; \ X } | sed s:$${JAVA_HOME:--------}:\$${JAVA_HOME}:g; \ X echo "HOTSPOT_BUILD_USER=\"$${LOGNAME:-$$USER} in `basename $(GAMMADIR)`\""; \ X- echo "export JAVA_HOME LD_LIBRARY_PATH CLASSPATH HOTSPOT_BUILD_USER"; \ X+ echo "export JAVA_HOME LD_LIBRARY_PATH DYLD_LIBRARY_PATH CLASSPATH HOTSPOT_BUILD_USER"; \ X ) > $@ X X env.csh: env.sh Xdiff -uNpr ../orig/hotspot/build/bsd/makefiles/cscope.make ./hotspot/build/bsd/makefiles/cscope.make X--- ../orig/hotspot/build/bsd/makefiles/cscope.make 2009-05-14 23:40:15.000000000 -0400 X+++ ./hotspot/build/bsd/makefiles/cscope.make 2009-05-14 23:41:33.000000000 -0400 X@@ -72,7 +72,7 @@ endif X # OS-specific files for other systems are excluded by default. Use CS_OS=yes X # to include platform-specific files for other platforms. X ifndef CS_OS X-CS_OS = bsd macos solaris win32 X+CS_OS = linux macos solaris win32 bsd X CS_PRUNE_OS = $(patsubst %,-o -name '*%*',$(filter-out ${OS},${CS_OS})) X endif X Xdiff -uNpr ../orig/hotspot/build/bsd/makefiles/defs.make ./hotspot/build/bsd/makefiles/defs.make X--- ../orig/hotspot/build/bsd/makefiles/defs.make 2009-05-14 23:40:15.000000000 -0400 X+++ ./hotspot/build/bsd/makefiles/defs.make 2009-05-14 23:41:34.000000000 -0400 X@@ -28,6 +28,14 @@ X X SLASH_JAVA ?= /java X X+# Library suffix X+OS_VENDOR:=$(shell uname -s) X+ifeq ($(OS_VENDOR),Darwin) X+ LIBRARY_SUFFIX=dylib X+else X+ LIBRARY_SUFFIX=so X+endif X+ X # Need PLATFORM (os-arch combo names) for jdk and hotspot, plus libarch name X ARCH:=$(shell uname -m) X PATH_SEP = : X@@ -79,6 +87,31 @@ ifeq ($(ARCH), x86_64) X endif X endif X X+# amd64 X+ifeq ($(ARCH), amd64) X+ ARCH_DATA_MODEL = 64 X+ MAKE_ARGS += LP64=1 X+ PLATFORM = bsd-amd64 X+ VM_PLATFORM = bsd_amd64 X+ HS_ARCH = x86 X+endif X+ X+# i386 X+ifeq ($(ARCH), i386) X+ ARCH_DATA_MODEL = 32 X+ PLATFORM = bsd-i586 X+ VM_PLATFORM = bsd_i486 X+ HS_ARCH = x86 X+endif X+ X+# i486 X+ifeq ($(ARCH), i486) X+ ARCH_DATA_MODEL = 32 X+ PLATFORM = bsd-i586 X+ VM_PLATFORM = bsd_i486 X+ HS_ARCH = x86 X+endif X+ X # i686 X ifeq ($(ARCH), i686) X ARCH_DATA_MODEL = 32 X@@ -95,19 +128,13 @@ VM_DEBUG=jvmg X EXPORT_LIST += $(EXPORT_DOCS_DIR)/platform/jvmti/jvmti.html X EXPORT_SERVER_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/server X EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt X-EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjsig.so X-EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.so X+EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjsig.$(LIBRARY_SUFFIX) X+EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.$(LIBRARY_SUFFIX) X ifeq ($(ARCH_DATA_MODEL), 32) X EXPORT_CLIENT_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/client X EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt X- EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjsig.so X- EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.so X- EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.so X- EXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar X-else X- ifeq ($(ARCH),ia64) X- else X- EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.so X- EXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar X- endif X+ EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjsig.$(LIBRARY_SUFFIX) X+ EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.$(LIBRARY_SUFFIX) X endif X+EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.so X+EXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar Xdiff -uNpr ../orig/hotspot/build/bsd/makefiles/gcc.make ./hotspot/build/bsd/makefiles/gcc.make X--- ../orig/hotspot/build/bsd/makefiles/gcc.make 2009-05-14 23:40:15.000000000 -0400 X+++ ./hotspot/build/bsd/makefiles/gcc.make 2009-05-14 23:41:33.000000000 -0400 X@@ -22,12 +22,15 @@ X # X # X X+OS_VENDOR = $(shell uname -s) X+ X #------------------------------------------------------------------------ X # CC, CPP & AS X X-CPP = g++ X-CC = gcc X-AS = $(CC) -c X+CXX ?= g++ X+CPP = $(CXX) X+CC ?= gcc X+AS = $(CC) -c -x assembler-with-cpp X X # -dumpversion in gcc-2.91 shows "egcs-2.91.66". In later version, it only X # prints the numbers (e.g. "2.95", "3.2.1") X@@ -62,7 +65,7 @@ endif X CFLAGS += $(VM_PICFLAG) X CFLAGS += -fno-rtti X CFLAGS += -fno-exceptions X-CFLAGS += -D_REENTRANT X+CFLAGS += -pthread X CFLAGS += -fcheck-new X X ARCHFLAG = $(ARCHFLAG/$(BUILDARCH)) X@@ -72,6 +75,15 @@ ARCHFLAG/ia64 = X ARCHFLAG/sparc = -m32 -mcpu=v9 X ARCHFLAG/sparcv9 = -m64 -mcpu=v9 X X+# Darwin-specific build flags X+ifeq ($(OS_VENDOR), Darwin) X+ # Ineffecient 16-byte stack re-alignment on Darwin/IA32 X+ ARCHFLAG/i486 += -mstackrealign X+ X+ # -arch compiler flag required for x64_64 X+ ARCHFLAGS/amd64 += -arch x86_64 X+endif X+ X CFLAGS += $(ARCHFLAG) X AOUT_FLAGS += $(ARCHFLAG) X LFLAGS += $(ARCHFLAG) X@@ -96,6 +108,11 @@ ACCEPTABLE_WARNINGS = -Wpointer-arith -W X CFLAGS_WARN/DEFAULT = $(WARNINGS_ARE_ERRORS) $(ACCEPTABLE_WARNINGS) X # Special cases X CFLAGS_WARN/BYFILE = $(CFLAGS_WARN/$@)$(CFLAGS_WARN/DEFAULT$(CFLAGS_WARN/$@)) X+# XXXDARWIN: for _dyld_bind_fully_image_containing_address X+ifeq ($(OS_VENDOR), Darwin) X+ CFLAGS_WARN/os_bsd.o = $(CFLAGS_WARN/DEFAULT) -Wno-deprecated-declarations X+endif X+ X X # The flags to use for an Optimized g++ build X OPT_CFLAGS += -O3 X@@ -126,20 +143,40 @@ ifeq ($(BUILDARCH), ia64) X LFLAGS += -Wl,-relax X endif X X-# Enable linker optimization X-LFLAGS += -Xlinker -O1 X- X # Use $(MAPFLAG:FILENAME=real_file_name) to specify a map file. X MAPFLAG = -Xlinker --version-script=FILENAME X X-# Use $(SONAMEFLAG:SONAME=soname) to specify the intrinsic name of a shared obj X-SONAMEFLAG = -Xlinker -soname=SONAME X+# X+# Shared Library X+# X+ifeq ($(OS_VENDOR), Darwin) X+ # Standard linker flags X+ LFLAGS += X+ X+ # Darwin doesn't use ELF and doesn't support version scripts X+ LDNOMAP = true X+ X+ # Use $(SONAMEFLAG:SONAME=soname) to specify the intrinsic name of a shared obj X+ SONAMEFLAG = X+ X+ # Build shared library X+ SHARED_FLAG = -dynamiclib $(VM_PICFLAG) X X-# Build shared library X-SHARED_FLAG = -shared X+ # Keep symbols even they are not used X+ #AOUT_FLAGS += -export-dynamic X+else X+ # Enable linker optimization X+ LFLAGS += -Xlinker -O1 X+ X+ # Use $(SONAMEFLAG:SONAME=soname) to specify the intrinsic name of a shared obj X+ SONAMEFLAG = -Xlinker -soname=SONAME X X-# Keep symbols even they are not used X-AOUT_FLAGS += -export-dynamic X+ # Build shared library X+ SHARED_FLAG = -shared $(VM_PICFLAG) X+ X+ # Keep symbols even they are not used X+ AOUT_FLAGS += -export-dynamic X+endif X X #------------------------------------------------------------------------ X # Debug flags Xdiff -uNpr ../orig/hotspot/build/bsd/makefiles/jsig.make ./hotspot/build/bsd/makefiles/jsig.make X--- ../orig/hotspot/build/bsd/makefiles/jsig.make 2009-05-14 23:40:15.000000000 -0400 X+++ ./hotspot/build/bsd/makefiles/jsig.make 2009-05-14 23:41:33.000000000 -0400 X@@ -26,7 +26,12 @@ X X # libjsig[_g].so: signal interposition library X JSIG = jsig$(G_SUFFIX) X-LIBJSIG = lib$(JSIG).so X+ X+ifeq ($(OS_VENDOR), Darwin) X+ LIBJSIG = lib$(JSIG).dylib X+else X+ LIBJSIG = lib$(JSIG).so X+endif X X JSIGSRCDIR = $(GAMMADIR)/src/os/$(Platform_os_family)/vm X X@@ -39,12 +44,12 @@ LIBJSIG_MAPFILE = $(MAKEFILES_DIR)/mapfi X # cause problems with interposing. See CR: 6466665 X # LFLAGS_JSIG += $(MAPFLAG:FILENAME=$(LIBJSIG_MAPFILE)) X X-LFLAGS_JSIG += -D_GNU_SOURCE -D_REENTRANT X+LFLAGS_JSIG += -D_GNU_SOURCE -pthread X X $(LIBJSIG): $(JSIGSRCDIR)/jsig.c $(LIBJSIG_MAPFILE) X @echo Making signal interposition lib... X $(QUIETLY) $(CC) $(SYMFLAG) $(ARCHFLAG) $(SHARED_FLAG) $(PICFLAG) \ X- $(LFLAGS_JSIG) -o $@ $< -ldl X+ $(LFLAGS_JSIG) -o $@ $< X X install_jsig: $(LIBJSIG) X @echo "Copying $(LIBJSIG) to $(DEST_JSIG)" Xdiff -uNpr ../orig/hotspot/build/bsd/makefiles/launcher.make ./hotspot/build/bsd/makefiles/launcher.make X--- ../orig/hotspot/build/bsd/makefiles/launcher.make 2009-05-14 23:40:15.000000000 -0400 X+++ ./hotspot/build/bsd/makefiles/launcher.make 2009-05-14 23:41:33.000000000 -0400 X@@ -44,7 +44,7 @@ ifeq ($(LINK_INTO),AOUT) X LIBS_LAUNCHER += $(STATIC_STDCXX) $(LIBS) X else X LAUNCHER.o = launcher.o X- LFLAGS_LAUNCHER += -L `pwd` X+ LFLAGS_LAUNCHER += -L`pwd` X LIBS_LAUNCHER += -l$(JVM) $(LIBS) X endif X Xdiff -uNpr ../orig/hotspot/build/bsd/makefiles/sa.make ./hotspot/build/bsd/makefiles/sa.make X--- ../orig/hotspot/build/bsd/makefiles/sa.make 2009-05-14 23:40:15.000000000 -0400 X+++ ./hotspot/build/bsd/makefiles/sa.make 2009-05-14 23:41:33.000000000 -0400 X@@ -42,7 +42,7 @@ SA_CLASSPATH = $(BOOT_JAVA_HOME)/lib/too X X # gnumake 3.78.1 does not accept the *s that X # are in AGENT_ALLFILES, so use the shell to expand them X-AGENT_ALLFILES := $(shell /usr/bin/test -d $(AGENT_DIR) && /bin/ls $(AGENT_ALLFILES)) X+AGENT_ALLFILES := $(shell /bin/test -d $(AGENT_DIR) && /bin/ls $(AGENT_ALLFILES)) X X SA_CLASSDIR = $(GENERATED)/saclasses X Xdiff -uNpr ../orig/hotspot/build/bsd/makefiles/saproc.make ./hotspot/build/bsd/makefiles/saproc.make X--- ../orig/hotspot/build/bsd/makefiles/saproc.make 2009-05-14 23:40:15.000000000 -0400 X+++ ./hotspot/build/bsd/makefiles/saproc.make 2009-05-15 09:53:42.000000000 -0400 X@@ -26,7 +26,12 @@ X X # libsaproc[_g].so: serviceability agent X SAPROC = saproc$(G_SUFFIX) X-LIBSAPROC = lib$(SAPROC).so X+ X+ifeq ($(OS_VENDOR), Darwin) X+ LIBSAPROC = lib$(SAPROC).dylib X+else X+ LIBSAPROC = lib$(SAPROC).so X+endif X X AGENT_DIR = $(GAMMADIR)/agent X X@@ -37,6 +42,7 @@ SASRCFILES = $(SASRCDIR)/salibelf.c X $(SASRCDIR)/libproc_impl.c \ X $(SASRCDIR)/ps_proc.c \ X $(SASRCDIR)/ps_core.c \ X+ $(SASRCDIR)/hsearch_r.c \ X $(SASRCDIR)/BsdDebuggerLocal.c X X SAMAPFILE = $(SASRCDIR)/mapfile X@@ -53,6 +59,25 @@ checkAndBuildSA: X X SA_LFLAGS = $(MAPFLAG:FILENAME=$(SAMAPFILE)) X X+# This is needed to avoid picking up the proc_service.h X+# header in SASRCDIR. We want to use the system provided one. X+ifeq ($(CC_VER_MAJOR), 3) X+INCSASRCDIR=-I$(SASRCDIR) -I- X+else X+INCSASRCDIR=-iquote $(SASRCDIR) X+endif X+ X+LIBUTIL= X+ifeq ($(OS_VENDOR), FreeBSD) X+# 7.0 and 6.x use ptrace X+# 7.1 and up use libutil for kinfo_getvmmap X+PTRACE_OS_VERSIONS = 5.% 6.% 7.0% X+EMPTY_IF_KINFO_GETVMMAP = $(filter $(PTRACE_OS_VERSIONS),$(shell uname -r)) X+ifeq ($(EMPTY_IF_KINFO_GETVMMAP),) X+LIBUTIL=-lutil X+endif X+endif X+ X $(LIBSAPROC): $(SASRCFILES) $(SAMAPFILE) X $(QUIETLY) if [ "$(BOOT_JAVA_HOME)" = "" ]; then \ X echo "ALT_BOOTDIR, BOOTDIR or JAVA_HOME needs to be defined to build SA"; \ X@@ -61,13 +86,14 @@ $(LIBSAPROC): $(SASRCFILES) $(SAMAPFILE) X @echo Making SA debugger back-end... X $(QUIETLY) $(CC) -D$(BUILDARCH) -D_GNU_SOURCE \ X $(SYMFLAG) $(ARCHFLAG) $(SHARED_FLAG) $(PICFLAG) \ X- -I$(SASRCDIR) \ X+ $(INCSASRCDIR) \ X -I$(GENERATED) \ X -I$(BOOT_JAVA_HOME)/include \ X- -I$(BOOT_JAVA_HOME)/include/$(Platform_os_family) \ X+ -I$(BOOT_JAVA_HOME)/include/$(shell uname -s | tr "[:upper:]" "[:lower:]") \ X $(SASRCFILES) \ X $(SA_LFLAGS) \ X -o $@ \ X+ $(LIBUTIL) \ X -lthread_db X X install_saproc: checkAndBuildSA Xdiff -uNpr ../orig/hotspot/build/bsd/makefiles/vm.make ./hotspot/build/bsd/makefiles/vm.make X--- ../orig/hotspot/build/bsd/makefiles/vm.make 2009-05-14 23:40:15.000000000 -0400 X+++ ./hotspot/build/bsd/makefiles/vm.make 2009-05-14 23:41:33.000000000 -0400 X@@ -93,7 +93,7 @@ CFLAGS += $(CFLAGS/NOEX) X # Extra flags from gnumake's invocation or environment X CFLAGS += $(EXTRA_CFLAGS) X X-LIBS += -lm -ldl -lpthread X+LIBS += -lm -pthread X X # By default, link the *.o into the library, not the executable. X LINK_INTO$(LINK_INTO) = LIBJVM X@@ -108,7 +108,11 @@ include $(MAKEFILES_DIR)/dtrace.make X # JVM X X JVM = jvm$(G_SUFFIX) X-LIBJVM = lib$(JVM).so X+ifeq ($(OS_VENDOR), Darwin) X+ LIBJVM = lib$(JVM).dylib X+else X+ LIBJVM = lib$(JVM).so X+endif X X JVM_OBJ_FILES = $(Obj_Files) X X@@ -122,7 +126,7 @@ mapfile_reorder : mapfile $(REORDERFILE) X rm -f $@ X cat $^ > $@ X X-STATIC_CXX = true X+STATIC_CXX = false X X ifeq ($(LINK_INTO),AOUT) X LIBJVM.o = X@@ -140,14 +144,14 @@ else X ifeq ($(STATIC_CXX), true) X LFLAGS_VM += $(STATIC_LIBGCC) X LIBS_VM += $(STATIC_STDCXX) X+ LINK_VM = $(LINK_LIB.c) X else X- LIBS_VM += -lstdc++ X+ LINK_VM = $(LINK_LIB.CC) X endif X X LIBS_VM += $(LIBS) X endif X X-LINK_VM = $(LINK_LIB.c) X X # rule for building precompiled header X $(PRECOMPILED_HEADER): $(Precompiled_Files) X@@ -175,11 +179,6 @@ $(LD_SCRIPT): $(LIBJVM_MAPFILE) X LD_SCRIPT_FLAG = -Wl,-T,$(LD_SCRIPT) X endif X X-# With more recent Redhat releases (or the cutting edge version Fedora), if X-# SEBsd is configured to be enabled, the runtime linker will fail to apply X-# the text relocation to libjvm.so considering that it is built as a non-PIC X-# DSO. To workaround that, we run chcon to libjvm.so after it is built. See X-# details in bug 6538311. X $(LIBJVM): $(LIBJVM.o) $(LIBJVM_MAPFILE) $(LD_SCRIPT) X $(QUIETLY) { \ X echo Linking vm...; \ X@@ -188,15 +187,6 @@ $(LIBJVM): $(LIBJVM.o) $(LIBJVM_MAPFILE) X $(LFLAGS_VM) -o $@ $(LIBJVM.o) $(LIBS_VM); \ X $(LINK_LIB.CC/POST_HOOK) \ X rm -f $@.1; ln -s $@ $@.1; \ X- if [ -x /usr/sbin/sebsdenabled ] ; then \ X- /usr/sbin/sebsdenabled; \ X- if [ $$? = 0 ] ; then \ X- /usr/bin/chcon -t textrel_shlib_t $@; \ X- if [ $$? != 0 ]; then \ X- echo "ERROR: Cannot chcon $@"; exit 1; \ X- fi \ X- fi \ X- fi \ X } X X DEST_JVM = $(JDK_LIBDIR)/$(VM_SUBDIR)/$(LIBJVM) Xdiff -uNpr ../orig/hotspot/build/bsd/platform_amd64 ./hotspot/build/bsd/platform_amd64 X--- ../orig/hotspot/build/bsd/platform_amd64 2009-05-14 23:40:15.000000000 -0400 X+++ ./hotspot/build/bsd/platform_amd64 2009-05-14 23:41:33.000000000 -0400 X@@ -12,6 +12,4 @@ lib_arch = amd64 X X compiler = gcc X X-gnu_dis_arch = amd64 X- X-sysdefs = -DLINUX -D_GNU_SOURCE -DAMD64 X+sysdefs = -D_ALLBSD_SOURCE -D_GNU_SOURCE -DAMD64 Xdiff -uNpr ../orig/hotspot/build/bsd/platform_i486 ./hotspot/build/bsd/platform_i486 X--- ../orig/hotspot/build/bsd/platform_i486 2009-05-14 23:40:15.000000000 -0400 X+++ ./hotspot/build/bsd/platform_i486 2009-05-14 23:41:33.000000000 -0400 X@@ -12,6 +12,4 @@ lib_arch = i386 X X compiler = gcc X X-gnu_dis_arch = i386 X- X-sysdefs = -DLINUX -D_GNU_SOURCE -DIA32 X+sysdefs = -D_ALLBSD_SOURCE -D_GNU_SOURCE -DIA32 Xdiff -uNpr ../orig/hotspot/build/bsd/platform_sparc ./hotspot/build/bsd/platform_sparc X--- ../orig/hotspot/build/bsd/platform_sparc 2009-05-14 23:40:15.000000000 -0400 X+++ ./hotspot/build/bsd/platform_sparc 2009-05-14 23:41:33.000000000 -0400 X@@ -12,6 +12,6 @@ lib_arch = sparc X X compiler = gcc X X-gnu_dis_arch = sparc X+sysdefs = -D_ALLBSD_SOURCE -D_GNU_SOURCE -DSPARC X X sysdefs = -DLINUX -D_GNU_SOURCE -DSPARC Xdiff -uNpr ../orig/hotspot/build/sa.files ./hotspot/build/sa.files X--- ../orig/hotspot/build/sa.files 2009-04-24 03:30:52.000000000 -0400 X+++ ./hotspot/build/sa.files 2009-05-14 23:41:34.000000000 -0400 X@@ -40,6 +40,7 @@ $(AGENT_SRC_DIR)/sun/jvm/hotspot/HotSpot X $(AGENT_SRC_DIR)/sun/jvm/hotspot/HotSpotSolarisVtblAccess.java \ X $(AGENT_SRC_DIR)/sun/jvm/hotspot/HotSpotTypeDataBase.java \ X $(AGENT_SRC_DIR)/sun/jvm/hotspot/LinuxVtblAccess.java \ X+$(AGENT_SRC_DIR)/sun/jvm/hotspot/BsdVtblAccess.java \ X $(AGENT_SRC_DIR)/sun/jvm/hotspot/ObjectHistogram.java \ X $(AGENT_SRC_DIR)/sun/jvm/hotspot/RMIHelper.java \ X $(AGENT_SRC_DIR)/sun/jvm/hotspot/StackTrace.java \ X@@ -76,6 +77,9 @@ $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugge X $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/dbx/x86/*.java \ X $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/dummy/*.java \ X $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/amd64/*.java \ X+$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/bsd/*.java \ X+$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/bsd/amd64/*.java \ X+$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/bsd/x86/*.java \ X $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/ia64/*.java \ X $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/linux/*.java \ X $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/linux/amd64/*.java \ X@@ -110,6 +114,9 @@ $(AGENT_SRC_DIR)/sun/jvm/hotspot/memory/ X $(AGENT_SRC_DIR)/sun/jvm/hotspot/oops/*.java \ X $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/*.java \ X $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/amd64/*.java \ X+$(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/bsd/*.java \ X+$(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/bsd_amd64/*.java \ X+$(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/bsd_x86/*.java \ X $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/ia64/*.java \ X $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/linux/*.java \ X $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/linux_amd64/*.java \ Xdiff -uNpr ../orig/hotspot/make/Makefile ./hotspot/make/Makefile X--- ../orig/hotspot/make/Makefile 2009-04-24 03:30:52.000000000 -0400 X+++ ./hotspot/make/Makefile 2009-05-14 23:41:33.000000000 -0400 X@@ -262,6 +262,19 @@ endif X X # Shared Library X ifneq ($(OSNAME),windows) X+ifeq ($(OSNAME),bsd) X+# BSD-specific LIBRARY_SUFFIX build option X+$(EXPORT_JRE_LIB_ARCH_DIR)/%.$(LIBRARY_SUFFIX): $(C2_DIR)/%.$(LIBRARY_SUFFIX) X+ $(install-file) X+$(EXPORT_CLIENT_DIR)/%.$(LIBRARY_SUFFIX): $(C1_DIR)/%.$(LIBRARY_SUFFIX) X+ $(install-file) X+$(EXPORT_CLIENT_DIR)/64/%.$(LIBRARY_SUFFIX): $(C1_DIR)/%.$(LIBRARY_SUFFIX) X+ $(install-file) X+$(EXPORT_SERVER_DIR)/%.$(LIBRARY_SUFFIX): $(C2_DIR)/%.$(LIBRARY_SUFFIX) X+ $(install-file) X+$(EXPORT_SERVER_DIR)/64/%.$(LIBRARY_SUFFIX): $(C2_DIR)/%.$(LIBRARY_SUFFIX) X+ $(install-file) X+else X $(EXPORT_JRE_LIB_ARCH_DIR)/%.so: $(C2_DIR)/%.so X $(install-file) X $(EXPORT_CLIENT_DIR)/%.so: $(C1_DIR)/%.so X@@ -273,6 +286,7 @@ $(EXPORT_SERVER_DIR)/%.so: $(C2_DI X $(EXPORT_SERVER_DIR)/64/%.so: $(C2_DIR)/%.so X $(install-file) X endif X+endif X X # Jar file (sa-jdi.jar) X $(EXPORT_LIB_DIR)/%.jar: $(GEN_DIR)/%.jar Xdiff -uNpr ../orig/hotspot/make/defs.make ./hotspot/make/defs.make X--- ../orig/hotspot/make/defs.make 2009-04-24 03:30:52.000000000 -0400 X+++ ./hotspot/make/defs.make 2009-05-14 23:41:33.000000000 -0400 X@@ -118,13 +118,23 @@ endif X # Windows should have OS predefined X ifeq ($(OS),) X OS := $(shell uname -s) X+ ifneq ($(findstring BSD,$(OS)),) X+ OS=bsd X+ endif X+ ifeq ($(OS), Darwin) X+ OS=bsd X+ endif X HOST := $(shell uname -n) X endif X X-# If not SunOS and not Linux, assume Windows X+# If not SunOS, not Linux and not BSD, assume Windows X ifneq ($(OS), Linux) X ifneq ($(OS), SunOS) X- OSNAME=windows X+ ifneq ($(OS), bsd) X+ OSNAME=windows X+ else X+ OSNAME=bsd X+ endif X else X OSNAME=solaris X endif Xdiff -uNpr ../orig/hotspot/src/cpu/x86/vm/interpreterRT_x86_32.cpp ./hotspot/src/cpu/x86/vm/interpreterRT_x86_32.cpp X--- ../orig/hotspot/src/cpu/x86/vm/interpreterRT_x86_32.cpp 2009-04-24 03:30:53.000000000 -0400 X+++ ./hotspot/src/cpu/x86/vm/interpreterRT_x86_32.cpp 2009-05-14 23:41:33.000000000 -0400 X@@ -57,7 +57,7 @@ void InterpreterRuntime::SignatureHandle X __ cmpl(Address(from(), Interpreter::local_offset_in_bytes(from_offset)), 0); // do not use temp() to avoid AGI X Label L; X __ jcc(Assembler::notZero, L); X- __ movl(temp(), 0); X+ __ movl(temp(), NULL_WORD); X __ bind(L); X __ movl(Address(to(), to_offset * wordSize), temp()); X } X@@ -113,7 +113,7 @@ class SlowSignatureHandler: public Nativ X virtual void pass_object() { X // pass address of from X intptr_t from_addr = (intptr_t)(_from + Interpreter::local_offset_in_bytes(0)); X- *_to++ = (*(intptr_t*)from_addr == 0) ? NULL : from_addr; X+ *_to++ = (*(intptr_t*)from_addr == 0) ? NULL_WORD : from_addr; X debug_only(verify_tag(frame::TagReference)); X _from -= Interpreter::stackElementSize(); X } Xdiff -uNpr ../orig/hotspot/src/cpu/x86/vm/jni_x86.h ./hotspot/src/cpu/x86/vm/jni_x86.h X--- ../orig/hotspot/src/cpu/x86/vm/jni_x86.h 2009-04-24 03:30:53.000000000 -0400 X+++ ./hotspot/src/cpu/x86/vm/jni_x86.h 2009-05-14 23:41:33.000000000 -0400 X@@ -29,7 +29,7 @@ X #ifndef _JAVASOFT_JNI_MD_H_ X #define _JAVASOFT_JNI_MD_H_ X X-#if defined(SOLARIS) || defined(LINUX) X+#if defined(SOLARIS) || defined(LINUX) || defined(_ALLBSD_SOURCE) X #define JNIEXPORT X #define JNIIMPORT X #define JNICALL Xdiff -uNpr ../orig/hotspot/src/cpu/x86/vm/runtime_x86_32.cpp ./hotspot/src/cpu/x86/vm/runtime_x86_32.cpp X--- ../orig/hotspot/src/cpu/x86/vm/runtime_x86_32.cpp 2009-04-24 03:30:53.000000000 -0400 X+++ ./hotspot/src/cpu/x86/vm/runtime_x86_32.cpp 2009-05-14 23:41:33.000000000 -0400 X@@ -132,11 +132,11 @@ void OptoRuntime::generate_exception_blo X // Get the exception pc in case we are deoptimized X __ movl(rdx, Address(rcx, JavaThread::exception_pc_offset())); X #ifdef ASSERT X- __ movl(Address(rcx, JavaThread::exception_handler_pc_offset()), 0); X- __ movl(Address(rcx, JavaThread::exception_pc_offset()), 0); X+ __ movl(Address(rcx, JavaThread::exception_handler_pc_offset()), NULL_WORD); X+ __ movl(Address(rcx, JavaThread::exception_pc_offset()), NULL_WORD); X #endif X // Clear the exception oop so GC no longer processes it as a root. X- __ movl(Address(rcx, JavaThread::exception_oop_offset()), 0); X+ __ movl(Address(rcx, JavaThread::exception_oop_offset()), NULL_WORD); X X __ popl(rcx); X Xdiff -uNpr ../orig/hotspot/src/cpu/x86/vm/stubGenerator_x86_64.cpp ./hotspot/src/cpu/x86/vm/stubGenerator_x86_64.cpp X--- ../orig/hotspot/src/cpu/x86/vm/stubGenerator_x86_64.cpp 2009-04-24 03:30:53.000000000 -0400 X+++ ./hotspot/src/cpu/x86/vm/stubGenerator_x86_64.cpp 2009-05-14 23:41:33.000000000 -0400 X@@ -472,7 +472,7 @@ class StubGenerator: public StubCodeGene X // setup rax & rdx, remove return address & clear pending exception X __ popq(rdx); X __ movq(rax, Address(r15_thread, Thread::pending_exception_offset())); X- __ movptr(Address(r15_thread, Thread::pending_exception_offset()), (int)NULL_WORD); X+ __ movptr(Address(r15_thread, Thread::pending_exception_offset()), (int32_t)NULL_WORD); X X #ifdef ASSERT X // make sure exception is set X@@ -941,9 +941,9 @@ class StubGenerator: public StubCodeGene X __ jcc(Assembler::zero, exit); // if obj is NULL it is OK X // Check if the oop is in the right area of memory X __ movq(c_rarg2, rax); X- __ movptr(c_rarg3, (int64_t) Universe::verify_oop_mask()); X+ __ movptr(c_rarg3, (intptr_t) Universe::verify_oop_mask()); X __ andq(c_rarg2, c_rarg3); X- __ movptr(c_rarg3, (int64_t) Universe::verify_oop_bits()); X+ __ movptr(c_rarg3, (intptr_t) Universe::verify_oop_bits()); X __ cmpq(c_rarg2, c_rarg3); X __ jcc(Assembler::notZero, error); X X@@ -953,9 +953,9 @@ class StubGenerator: public StubCodeGene X __ jcc(Assembler::zero, error); // if klass is NULL it is broken X // Check if the klass is in the right area of memory X __ movq(c_rarg2, rax); X- __ movptr(c_rarg3, (int64_t) Universe::verify_klass_mask()); X+ __ movptr(c_rarg3, (intptr_t) Universe::verify_klass_mask()); X __ andq(c_rarg2, c_rarg3); X- __ movptr(c_rarg3, (int64_t) Universe::verify_klass_bits()); X+ __ movptr(c_rarg3, (intptr_t) Universe::verify_klass_bits()); X __ cmpq(c_rarg2, c_rarg3); X __ jcc(Assembler::notZero, error); X X@@ -964,9 +964,9 @@ class StubGenerator: public StubCodeGene X __ testq(rax, rax); X __ jcc(Assembler::zero, error); // if klass' klass is NULL it is broken X // Check if the klass' klass is in the right area of memory X- __ movptr(c_rarg3, (int64_t) Universe::verify_klass_mask()); X+ __ movptr(c_rarg3, (intptr_t) Universe::verify_klass_mask()); X __ andq(rax, c_rarg3); X- __ movptr(c_rarg3, (int64_t) Universe::verify_klass_bits()); X+ __ movptr(c_rarg3, (intptr_t) Universe::verify_klass_bits()); X __ cmpq(rax, c_rarg3); X __ jcc(Assembler::notZero, error); X Xdiff -uNpr ../orig/hotspot/src/cpu/x86/vm/x86_32.ad ./hotspot/src/cpu/x86/vm/x86_32.ad X--- ../orig/hotspot/src/cpu/x86/vm/x86_32.ad 2009-04-24 03:30:53.000000000 -0400 X+++ ./hotspot/src/cpu/x86/vm/x86_32.ad 2009-05-14 23:41:33.000000000 -0400 X@@ -3364,7 +3364,7 @@ encode %{ X masm.movl (Address(boxReg, 0), 3) ; // results in ST-before-CAS penalty X masm.get_thread (scrReg) ; X masm.movl (boxReg, tmpReg); // consider: LEA box, [tmp-2] X- masm.movl (tmpReg, 0); // consider: xor vs mov X+ masm.movl (tmpReg, NULL_WORD); // consider: xor vs mov X if (os::is_MP()) { masm.lock(); } X masm.cmpxchg (scrReg, Address(boxReg, ObjectMonitor::owner_offset_in_bytes()-2)) ; X } else X@@ -3383,7 +3383,7 @@ encode %{ X X if ((EmitSync & 64) == 0) { X // Optimistic form: consider XORL tmpReg,tmpReg X- masm.movl (tmpReg, 0 ) ; X+ masm.movl (tmpReg, NULL_WORD ) ; X } else { X // Can suffer RTS->RTO upgrades on shared or cold $ lines X // Test-And-CAS instead of CAS X@@ -3589,7 +3589,7 @@ encode %{ X masm.orl (boxReg, Address (tmpReg, ObjectMonitor::EntryList_offset_in_bytes()-2)) ; X masm.orl (boxReg, Address (tmpReg, ObjectMonitor::cxq_offset_in_bytes()-2)) ; X masm.jccb (Assembler::notZero, DONE_LABEL) ; X- masm.movl (Address (tmpReg, ObjectMonitor::owner_offset_in_bytes()-2), 0) ; X+ masm.movl (Address (tmpReg, ObjectMonitor::owner_offset_in_bytes()-2), NULL_WORD) ; X masm.jmpb (DONE_LABEL) ; X } else { X masm.xorl (boxReg, Address (tmpReg, ObjectMonitor::owner_offset_in_bytes()-2)) ; X@@ -3598,7 +3598,7 @@ encode %{ X masm.movl (boxReg, Address (tmpReg, ObjectMonitor::EntryList_offset_in_bytes()-2)) ; X masm.orl (boxReg, Address (tmpReg, ObjectMonitor::cxq_offset_in_bytes()-2)) ; X masm.jccb (Assembler::notZero, CheckSucc) ; X- masm.movl (Address (tmpReg, ObjectMonitor::owner_offset_in_bytes()-2), 0) ; X+ masm.movl (Address (tmpReg, ObjectMonitor::owner_offset_in_bytes()-2), NULL_WORD) ; X masm.jmpb (DONE_LABEL) ; X } X X@@ -3646,7 +3646,7 @@ encode %{ X // We currently use (3), although it's likely that switching to (2) X // is correct for the future. X X- masm.movl (Address (tmpReg, ObjectMonitor::owner_offset_in_bytes()-2), 0) ; X+ masm.movl (Address (tmpReg, ObjectMonitor::owner_offset_in_bytes()-2), NULL_WORD) ; X if (os::is_MP()) { X if (VM_Version::supports_sse2() && 1 == FenceInstruction) { X masm.emit_raw (0x0F) ; // MFENCE ... Xdiff -uNpr ../orig/hotspot/src/os/bsd/launcher/java_md.c ./hotspot/src/os/bsd/launcher/java_md.c X--- ../orig/hotspot/src/os/bsd/launcher/java_md.c 2009-05-14 23:40:13.000000000 -0400 X+++ ./hotspot/src/os/bsd/launcher/java_md.c 2009-05-14 23:41:33.000000000 -0400 X@@ -45,8 +45,15 @@ X #include "version_comp.h" X #endif X X+#ifdef __APPLE__ X+#define JVM_DLL "libjvm.dylib" X+#define JAVA_DLL "libjava.dylib" X+#define LD_LIBRARY_PATH "DYLD_LIBRARY_PATH" X+#else X #define JVM_DLL "libjvm.so" X #define JAVA_DLL "libjava.so" X+#define LD_LIBRARY_PATH "LD_LIBRARY_PATH" X+#endif X X #ifndef GAMMA /* launcher.make defines ARCH */ X X@@ -112,7 +119,7 @@ extern char **environ; X * A collection of useful strings. One should think of these as #define X * entries, but actual strings can be more efficient (with many compilers). X */ X-#ifdef __bsd__ X+#ifdef _ALLBSD_SOURCE X static const char *system_dir = "/usr/java"; X static const char *user_dir = "/java"; X #else /* Solaris */ X@@ -456,10 +463,10 @@ CreateExecutionEnvironment(int *_argcp, X * If not on Solaris, assume only a single LD_LIBRARY_PATH X * variable. X */ X- runpath = getenv("LD_LIBRARY_PATH"); X+ runpath = getenv(LD_LIBRARY_PATH); X #endif /* __sun */ X X-#ifdef __bsd X+#ifdef _ALLBSD_SOURCE X /* X * On bsd, if a binary is running as sgid or suid, glibc sets X * LD_LIBRARY_PATH to the empty string for security purposes. (In X@@ -836,7 +843,7 @@ GetXUsagePath(char *buf, jint bufsize) X jboolean X GetApplicationHome(char *buf, jint bufsize) X { X-#ifdef __bsd__ X+#ifdef _ALLBSD_SOURCE X char *execname = GetExecname(); X if (execname) { X strncpy(buf, execname, bufsize-1); X@@ -1005,7 +1012,7 @@ SetExecname(char **argv) X } X } X } X-#elif defined(__bsd__) X+#elif defined(__linux__) X { X const char* self = "/proc/self/exe"; X char buf[PATH_MAX+1]; X@@ -1015,7 +1022,7 @@ SetExecname(char **argv) X exec_path = strdup(buf); X } X } X-#else /* !__sun && !__bsd */ X+#else /* !__sun && !__linux */ X { X /* Not implemented */ X } X@@ -1220,7 +1227,7 @@ get_cpuid(uint32_t arg, X X #endif /* __sun && i586 */ X X-#if defined(__bsd__) && defined(i586) X+#if defined(_ALLBSD_SOURCE) && defined(i586) X X /* X * A utility method for asking the CPU about itself. X@@ -1286,7 +1293,7 @@ get_cpuid(uint32_t arg, X #endif X } X X-#endif /* __bsd__ && i586 */ X+#endif /* _ALLBSD_SOURCE && i586 */ X X #ifdef i586 X /* X@@ -1465,7 +1472,7 @@ solaris_i586_ServerClassMachine(void) { X X #endif /* __sun && i586 */ X X-#if defined(__bsd__) && defined(i586) X+#if defined(_ALLBSD_SOURCE) && defined(i586) X X /* The definition of a server-class machine for bsd-i586 */ X jboolean X@@ -1496,7 +1503,7 @@ bsd_i586_ServerClassMachine(void) { X return result; X } X X-#endif /* __bsd__ && i586 */ X+#endif /* _ALLBSD_SOURCE && i586 */ X X /* Dispatch to the platform-specific definition of "server-class" */ X jboolean X@@ -1506,7 +1513,7 @@ ServerClassMachine(void) { X result = solaris_sparc_ServerClassMachine(); X #elif defined(__sun) && defined(i586) X result = solaris_i586_ServerClassMachine(); X-#elif defined(__bsd__) && defined(i586) X+#elif defined(_ALLBSD_SOURCE) && defined(i586) X result = bsd_i586_ServerClassMachine(); X #else X if (_launcher_debug) { Xdiff -uNpr ../orig/hotspot/src/os/bsd/vm/attachListener_bsd.cpp ./hotspot/src/os/bsd/vm/attachListener_bsd.cpp X--- ../orig/hotspot/src/os/bsd/vm/attachListener_bsd.cpp 2009-05-14 23:40:14.000000000 -0400 X+++ ./hotspot/src/os/bsd/vm/attachListener_bsd.cpp 2009-05-14 23:41:34.000000000 -0400 X@@ -182,32 +182,20 @@ int BsdAttachListener::init() { X struct sockaddr_un addr; X addr.sun_family = AF_UNIX; X X- // FIXME: Prior to b39 the tool-side API expected to find the well X- // known file in the working directory. To allow this libjvm.so work with X- // a pre-b39 SDK we create it in the working directory if X- // +StartAttachListener is used is used. All unit tests for this feature X- // currently used this flag. Once b39 SDK has been promoted we can remove X- // this code. X- if (StartAttachListener) { X- sprintf(path, ".java_pid%d", os::current_process_id()); X- strcpy(addr.sun_path, path); X- ::unlink(path); X- res = ::bind(listener, (struct sockaddr*)&addr, sizeof(addr)); X- } X- if (res == -1) { X- sprintf(path, "%s/.java_pid%d", os::get_temp_directory(), os::current_process_id()); X- strcpy(addr.sun_path, path); X- ::unlink(path); X- res = ::bind(listener, (struct sockaddr*)&addr, sizeof(addr)); X- } X+ X+ sprintf(path, "%s/.java_pid%d", os::get_temp_directory(), os::current_process_id()); X+ strcpy(addr.sun_path, path); X+ ::unlink(path); X+ res = ::bind(listener, (struct sockaddr*)&addr, sizeof(addr)); X if (res == -1) { X RESTARTABLE(::close(listener), res); X return -1; X } X set_path(path); X X- // put in listen mode and set permission X- if ((::listen(listener, 5) == -1) || (::chmod(path, S_IREAD|S_IWRITE) == -1)) { X+ // put in listen mode and set permission and ownership X+ if ((::listen(listener, 5) == -1) || (::chmod(path, S_IREAD|S_IWRITE) == -1) || X+ (::chown(path, geteuid(), getegid()) == -1)) { X RESTARTABLE(::close(listener), res); X ::unlink(path); X set_path(NULL); X@@ -333,6 +321,15 @@ BsdAttachOperation* BsdAttachListener::d X X // get the credentials of the peer and check the effective uid/guid X // - check with jeff on this. X+#ifdef _ALLBSD_SOURCE X+ uid_t puid; X+ gid_t pgid; X+ if (::getpeereid(s, &puid, &pgid) != 0) { X+ int res; X+ RESTARTABLE(::close(s), res); X+ continue; X+ } X+#else X struct ucred cred_info; X socklen_t optlen = sizeof(cred_info); X if (::getsockopt(s, SOL_SOCKET, SO_PEERCRED, (void*)&cred_info, &optlen) == -1) { X@@ -340,10 +337,13 @@ BsdAttachOperation* BsdAttachListener::d X RESTARTABLE(::close(s), res); X continue; X } X+ uid_t puid = cred_info.uid; X+ gid_t pgid = cred_info.gid; X+#endif X uid_t euid = geteuid(); X gid_t egid = getegid(); X X- if (cred_info.uid != euid || cred_info.gid != egid) { X+ if (puid != euid || pgid != egid) { X int res; X RESTARTABLE(::close(s), res); X continue; X@@ -463,15 +463,12 @@ bool AttachListener::is_init_trigger() { X if (init_at_startup() || is_initialized()) { X return false; // initialized at startup or already initialized X } X- char fn[32]; X- sprintf(fn, ".attach_pid%d", os::current_process_id()); X+ char path[PATH_MAX + 1]; X int ret; X- struct stat64 st; X- RESTARTABLE(::stat64(fn, &st), ret); X- if (ret == -1) { X- sprintf(fn, "/tmp/.attach_pid%d", os::current_process_id()); X- RESTARTABLE(::stat64(fn, &st), ret); X- } X+ struct stat st; X+ X+ sprintf(path, "%s/.attach_pid%d", os::get_temp_directory(), os::current_process_id()); X+ RESTARTABLE(::stat(path, &st), ret); X if (ret == 0) { X // simple check to avoid starting the attach mechanism when X // a bogus user creates the file Xdiff -uNpr ../orig/hotspot/src/os/bsd/vm/hpi_bsd.cpp ./hotspot/src/os/bsd/vm/hpi_bsd.cpp X--- ../orig/hotspot/src/os/bsd/vm/hpi_bsd.cpp 2009-05-14 23:40:14.000000000 -0400 X+++ ./hotspot/src/os/bsd/vm/hpi_bsd.cpp 2009-05-14 23:41:33.000000000 -0400 X@@ -31,6 +31,14 @@ X # include X # include X X+#ifdef __APPLE__ X+#define HPI_LIB "libhpi.dylib" X+#define HPI_G_LIB "libhpi.dylib" X+#else X+#define HPI_LIB "libhpi.so" X+#define HPI_G_LIB "libhpi.so" X+#endif X+ X typedef jint (JNICALL *init_t)(GetInterfaceFunc *, void *); X X void hpi::initialize_get_interface(vm_calls_t *callbacks) { X@@ -48,11 +56,11 @@ void hpi::initialize_get_interface(vm_ca X os::jvm_path(buf, JVM_MAXPATHLEN); X X #ifdef PRODUCT X- const char * hpi_lib = "/libhpi.so"; X+ const char * hpi_lib = "/" HPI_LIB; X #else X char * ptr = strrchr(buf, '/'); X assert(strstr(ptr, "/libjvm") == ptr, "invalid library name"); X- const char * hpi_lib = strstr(ptr, "_g") ? "/libhpi_g.so" : "/libhpi.so"; X+ const char * hpi_lib = strstr(ptr, "_g") ? "/" HPI_G_LIB : "/" HPI_LIB; X #endif X X *(strrchr(buf, '/')) = '\0'; /* get rid of /libjvm.so */ Xdiff -uNpr ../orig/hotspot/src/os/bsd/vm/hpi_bsd.hpp ./hotspot/src/os/bsd/vm/hpi_bsd.hpp X--- ../orig/hotspot/src/os/bsd/vm/hpi_bsd.hpp 2009-05-14 23:40:14.000000000 -0400 X+++ ./hotspot/src/os/bsd/vm/hpi_bsd.hpp 2009-05-14 23:41:33.000000000 -0400 X@@ -39,26 +39,22 @@ X // HPI_FileInterface X X inline int hpi::close(int fd) { X- return ::close(fd); X+ RESTARTABLE_RETURN_INT(::close(fd)); X } X X inline size_t hpi::read(int fd, void *buf, unsigned int nBytes) { X- size_t res; X- RESTARTABLE( (size_t) ::read(fd, buf, (size_t) nBytes), res); X- return res; X+ INTERRUPTIBLE_RETURN_INT(::read(fd, buf, (size_t) nBytes), os::Bsd::clear_interrupted); X } X X inline size_t hpi::write(int fd, const void *buf, unsigned int nBytes) { X- size_t res; X- RESTARTABLE((size_t) ::write(fd, buf, (size_t) nBytes), res); X- return res; X+ INTERRUPTIBLE_RETURN_INT(::write(fd, buf, (size_t) nBytes), os::Bsd::clear_interrupted); X } X X X // HPI_SocketInterface X X inline int hpi::socket_close(int fd) { X- return ::close(fd); X+ RESTARTABLE_RETURN_INT(::close(fd)); X } X X inline int hpi::socket(int domain, int type, int protocol) { X@@ -66,11 +62,11 @@ inline int hpi::socket(int domain, int t X } X X inline int hpi::recv(int fd, char *buf, int nBytes, int flags) { X- RESTARTABLE_RETURN_INT(::recv(fd, buf, nBytes, (unsigned int) flags)); X+ INTERRUPTIBLE_RETURN_INT(::recv(fd, buf, nBytes, (unsigned int) flags), os::Bsd::clear_interrupted); X } X X inline int hpi::send(int fd, char *buf, int nBytes, int flags) { X- RESTARTABLE_RETURN_INT(::send(fd, buf, nBytes, (unsigned int) flags)); X+ INTERRUPTIBLE_RETURN_INT(::send(fd, buf, nBytes, (unsigned int) flags), os::Bsd::clear_interrupted); X } X X inline int hpi::timeout(int fd, long timeout) { X@@ -81,12 +77,13 @@ inline int hpi::timeout(int fd, long tim X prevtime = ((julong)t.tv_sec * 1000) + t.tv_usec / 1000; X X for(;;) { X+ int res; X struct pollfd pfd; X X pfd.fd = fd; X pfd.events = POLLIN | POLLERR; X X- int res = ::poll(&pfd, 1, timeout); X+ INTERRUPTIBLE_NORESTART(::poll(&pfd, 1, timeout), res, os::Bsd::clear_interrupted); X X if (res == OS_ERR && errno == EINTR) { X X@@ -110,7 +107,26 @@ inline int hpi::listen(int fd, int count X } X X inline int hpi::connect(int fd, struct sockaddr *him, int len) { X- RESTARTABLE_RETURN_INT(::connect(fd, him, len)); X+ do { X+ int _result; X+ INTERRUPTIBLE_NORESTART(::connect(fd, him, len), _result, X+ os::Bsd::clear_interrupted); X+ X+ // Depending on when thread interruption is reset, _result could be X+ // one of two values when errno == EINTR X+ X+ if (((_result == OS_INTRPT) || (_result == OS_ERR)) && (errno == EINTR)) { X+ /* restarting a connect() changes its errno semantics */ X+ INTERRUPTIBLE(::connect(fd, him, len), _result, X+ os::Bsd::clear_interrupted); X+ /* undo these changes */ X+ if (_result == OS_ERR) { X+ if (errno == EALREADY) errno = EINPROGRESS; /* fall through */ X+ else if (errno == EISCONN) { errno = 0; return OS_OK; } X+ } X+ } X+ return _result; X+ } while(false); X } X X inline int hpi::accept(int fd, struct sockaddr *him, int *len) { X@@ -121,26 +137,33 @@ inline int hpi::accept(int fd, struct so X // to 64 bits on some platform that we support. X // Bsd doc says this can't return EINTR, unlike accept() on Solaris X X- return ::accept(fd, him, (socklen_t *)len); X+ if (fd < 0) X+ return OS_ERR; X+ INTERRUPTIBLE_RETURN_INT((int)::accept(fd, him, (socklen_t*) len), os::Bsd::clear_interrupted); X } X X inline int hpi::recvfrom(int fd, char *buf, int nBytes, int flags, X sockaddr *from, int *fromlen) { X- RESTARTABLE_RETURN_INT(::recvfrom(fd, buf, nBytes, (unsigned int) flags, from, (socklen_t *)fromlen)); X+ INTERRUPTIBLE_RETURN_INT((int)::recvfrom(fd, buf, nBytes, (unsigned int) flags, from, (socklen_t *)fromlen), os::Bsd::clear_interrupted); X } X X inline int hpi::sendto(int fd, char *buf, int len, int flags, X struct sockaddr *to, int tolen) { X- RESTARTABLE_RETURN_INT(::sendto(fd, buf, len, (unsigned int) flags, to, tolen)); X+ INTERRUPTIBLE_RETURN_INT((int)::sendto(fd, buf, len, (unsigned int) flags, to, tolen),os::Bsd::clear_interrupted); X } X X inline int hpi::socket_available(int fd, jint *pbytes) { X // Bsd doc says EINTR not returned, unlike Solaris X- int ret = ::ioctl(fd, FIONREAD, pbytes); X+ int ret; X+ X+ if (fd < 0) X+ return OS_OK; X+ X+ RESTARTABLE(::ioctl(fd, FIONREAD, pbytes), ret); X X //%% note ioctl can return 0 when successful, JVM_SocketAvailable X // is expected to return 0 on failure and 1 on success to the jdk. X- return (ret < 0) ? 0 : 1; X+ return (ret == OS_ERR) ? 0 : 1; X } X X X@@ -167,7 +190,7 @@ HPIDECL(bind, "bind", _socket, Bind, X (fd, him, len)); X */ X inline int hpi::bind(int fd, struct sockaddr *him, int len){ X- return ::bind(fd, him, len); X+ INTERRUPTIBLE_RETURN_INT_NORESTART(::bind(fd, him, len),os::Bsd::clear_interrupted); X } X X /* Xdiff -uNpr ../orig/hotspot/src/os/bsd/vm/jsig.c ./hotspot/src/os/bsd/vm/jsig.c X--- ../orig/hotspot/src/os/bsd/vm/jsig.c 2009-05-14 23:40:14.000000000 -0400 X+++ ./hotspot/src/os/bsd/vm/jsig.c 2009-05-14 23:41:33.000000000 -0400 X@@ -146,7 +146,8 @@ sa_handler_t signal(int sig, sa_handler_ X } X X sa_handler_t sigset(int sig, sa_handler_t disp) { X- return set_signal(sig, disp, true); X+ printf("sigset() is not supported by BSD"); X+ exit(0); X } X X static int call_os_sigaction(int sig, const struct sigaction *act, Xdiff -uNpr ../orig/hotspot/src/os/bsd/vm/jvm_bsd.cpp ./hotspot/src/os/bsd/vm/jvm_bsd.cpp X--- ../orig/hotspot/src/os/bsd/vm/jvm_bsd.cpp 2009-05-14 23:40:14.000000000 -0400 X+++ ./hotspot/src/os/bsd/vm/jvm_bsd.cpp 2009-05-14 23:41:33.000000000 -0400 X@@ -141,44 +141,37 @@ struct siglabel { X X struct siglabel siglabels[] = { X /* derived from /usr/include/bits/signum.h on RH7.2 */ X- "HUP", SIGHUP, /* Hangup (POSIX). */ X+ "HUP", SIGHUP, /* Hangup (POSIX). */ X "INT", SIGINT, /* Interrupt (ANSI). */ X "QUIT", SIGQUIT, /* Quit (POSIX). */ X "ILL", SIGILL, /* Illegal instruction (ANSI). */ X "TRAP", SIGTRAP, /* Trace trap (POSIX). */ X "ABRT", SIGABRT, /* Abort (ANSI). */ X- "IOT", SIGIOT, /* IOT trap (4.2 BSD). */ X- "BUS", SIGBUS, /* BUS error (4.2 BSD). */ X+ "EMT", SIGEMT, /* EMT trap */ X "FPE", SIGFPE, /* Floating-point exception (ANSI). */ X "KILL", SIGKILL, /* Kill, unblockable (POSIX). */ X- "USR1", SIGUSR1, /* User-defined signal 1 (POSIX). */ X+ "BUS", SIGBUS, /* BUS error (4.2 BSD). */ X "SEGV", SIGSEGV, /* Segmentation violation (ANSI). */ X- "USR2", SIGUSR2, /* User-defined signal 2 (POSIX). */ X+ "SYS", SIGSYS, /* Bad system call. Only on some Bsden! */ X "PIPE", SIGPIPE, /* Broken pipe (POSIX). */ X "ALRM", SIGALRM, /* Alarm clock (POSIX). */ X "TERM", SIGTERM, /* Termination (ANSI). */ X-#ifdef SIGSTKFLT X- "STKFLT", SIGSTKFLT, /* Stack fault. */ X-#endif X- "CLD", SIGCLD, /* Same as SIGCHLD (System V). */ X- "CHLD", SIGCHLD, /* Child status has changed (POSIX). */ X- "CONT", SIGCONT, /* Continue (POSIX). */ X+ "URG", SIGURG, /* Urgent condition on socket (4.2 BSD). */ X "STOP", SIGSTOP, /* Stop, unblockable (POSIX). */ X "TSTP", SIGTSTP, /* Keyboard stop (POSIX). */ X+ "CONT", SIGCONT, /* Continue (POSIX). */ X+ "CHLD", SIGCHLD, /* Child status has changed (POSIX). */ X "TTIN", SIGTTIN, /* Background read from tty (POSIX). */ X "TTOU", SIGTTOU, /* Background write to tty (POSIX). */ X- "URG", SIGURG, /* Urgent condition on socket (4.2 BSD). */ X+ "IO", SIGIO, /* I/O now possible (4.2 BSD). */ X "XCPU", SIGXCPU, /* CPU limit exceeded (4.2 BSD). */ X "XFSZ", SIGXFSZ, /* File size limit exceeded (4.2 BSD). */ X "VTALRM", SIGVTALRM, /* Virtual alarm clock (4.2 BSD). */ X "PROF", SIGPROF, /* Profiling alarm clock (4.2 BSD). */ X "WINCH", SIGWINCH, /* Window size change (4.3 BSD, Sun). */ X- "POLL", SIGPOLL, /* Pollable event occurred (System V). */ X- "IO", SIGIO, /* I/O now possible (4.2 BSD). */ X- "PWR", SIGPWR, /* Power failure restart (System V). */ X-#ifdef SIGSYS X- "SYS", SIGSYS /* Bad system call. Only on some Bsden! */ X-#endif X+ "INFO", SIGINFO, /* Information request. */ X+ "USR1", SIGUSR1, /* User-defined signal 1 (POSIX). */ X+ "USR2", SIGUSR2 /* User-defined signal 2 (POSIX). */ X }; X X JVM_ENTRY_NO_ENV(jint, JVM_FindSignal(const char *name)) Xdiff -uNpr ../orig/hotspot/src/os/bsd/vm/jvm_bsd.h ./hotspot/src/os/bsd/vm/jvm_bsd.h X--- ../orig/hotspot/src/os/bsd/vm/jvm_bsd.h 2009-05-14 23:40:14.000000000 -0400 X+++ ./hotspot/src/os/bsd/vm/jvm_bsd.h 2009-05-14 23:41:33.000000000 -0400 X@@ -54,7 +54,11 @@ X #define AGENT_ONATTACH_SYMBOLS {"Agent_OnAttach"} X X #define JNI_LIB_PREFIX "lib" X+#ifdef __APPLE__ X+#define JNI_LIB_SUFFIX ".dylib" X+#else X #define JNI_LIB_SUFFIX ".so" X+#endif X X // Hack: MAXPATHLEN is 4095 on some Bsd and 4096 on others. This may X // cause problems if JVM and the rest of JDK are built on different X@@ -93,6 +97,20 @@ X #define SHUTDOWN2_SIGNAL SIGINT X #define SHUTDOWN3_SIGNAL SIGTERM X X+#ifndef SIGRTMIN X+#ifdef __OpenBSD__ X+#define SIGRTMIN 1 X+#else X+#define SIGRTMIN 33 X+#endif X+#endif X+#ifndef SIGRTMAX X+#ifdef __OpenBSD__ X+#define SIGRTMAX 31 X+#else X+#define SIGRTMAX 63 X+#endif X+#endif X #endif /* JVM_MD_H */ X X // Reconciliation History Xdiff -uNpr ../orig/hotspot/src/os/bsd/vm/osThread_bsd.cpp ./hotspot/src/os/bsd/vm/osThread_bsd.cpp X--- ../orig/hotspot/src/os/bsd/vm/osThread_bsd.cpp 2009-05-14 23:40:14.000000000 -0400 X+++ ./hotspot/src/os/bsd/vm/osThread_bsd.cpp 2009-05-14 23:41:33.000000000 -0400 X@@ -31,8 +31,8 @@ X X void OSThread::pd_initialize() { X assert(this != NULL, "check"); X- _thread_id = 0; X- _pthread_id = 0; X+ _thread_id = NULL; X+ _pthread_id = NULL; X _siginfo = NULL; X _ucontext = NULL; X _expanding_stack = 0; Xdiff -uNpr ../orig/hotspot/src/os/bsd/vm/osThread_bsd.hpp ./hotspot/src/os/bsd/vm/osThread_bsd.hpp X--- ../orig/hotspot/src/os/bsd/vm/osThread_bsd.hpp 2009-05-14 23:40:14.000000000 -0400 X+++ ./hotspot/src/os/bsd/vm/osThread_bsd.hpp 2009-05-14 23:41:33.000000000 -0400 X@@ -39,6 +39,12 @@ X X private: X X+#ifdef _ALLBSD_SOURCE X+ // _thread_id and _pthread_id are the same on BSD X+ // keep both to minimize code divergence in os_bsd.cpp X+ pthread_t _thread_id; X+ pthread_t _pthread_id; X+#else X // _thread_id is kernel thread id (similar to LWP id on Solaris). Each X // thread has a unique thread_id (BsdThreads or NPTL). It can be used X // to access /proc. X@@ -47,6 +53,7 @@ X // _pthread_id is the pthread id, which is used by library calls X // (e.g. pthread_kill). X pthread_t _pthread_id; X+#endif X X sigset_t _caller_sigmask; // Caller's signal mask X X@@ -56,12 +63,18 @@ X sigset_t caller_sigmask() const { return _caller_sigmask; } X void set_caller_sigmask(sigset_t sigmask) { _caller_sigmask = sigmask; } X X+#ifdef _ALLBSD_SOURCE X+ pthread_t thread_id() const { X+ return _thread_id; X+ } X+#else X pid_t thread_id() const { X return _thread_id; X } X+#endif X #ifndef PRODUCT X // Used for debugging, return a unique integer for each thread. X- int thread_identifier() const { return _thread_id; } X+ intptr_t thread_identifier() const { return (intptr_t)_pthread_id; } X #endif X #ifdef ASSERT X // We expect no reposition failures so kill vm if we get one. X@@ -70,9 +83,15 @@ X return false; X } X #endif // ASSERT X+#ifdef _ALLBSD_SOURCE X+ void set_thread_id(pthread_t id) { X+ _thread_id = id; X+ } X+#else X void set_thread_id(pid_t id) { X _thread_id = id; X } X+#endif X pthread_t pthread_id() const { X return _pthread_id; X } X@@ -123,6 +142,9 @@ public: X X private: X Monitor* _startThread_lock; // sync parent and child in thread creation X+#ifdef _ALLBSD_SOURCE X+ JavaThreadState _saved_interrupt_thread_state; // the thread state before a system call -- restored afterward X+#endif X X public: X X@@ -130,6 +152,11 @@ public: X return _startThread_lock; X } X X+#ifdef _ALLBSD_SOURCE X+ JavaThreadState saved_interrupt_thread_state() { return _saved_interrupt_thread_state; } X+ void set_saved_interrupt_thread_state(JavaThreadState state) { _saved_interrupt_thread_state = state; } X+#endif X+ X // *************************************************************** X // Platform dependent initialization and cleanup X // *************************************************************** Xdiff -uNpr ../orig/hotspot/src/os/bsd/vm/os_bsd.cpp ./hotspot/src/os/bsd/vm/os_bsd.cpp X--- ../orig/hotspot/src/os/bsd/vm/os_bsd.cpp 2009-05-14 23:40:14.000000000 -0400 X+++ ./hotspot/src/os/bsd/vm/os_bsd.cpp 2009-05-14 23:41:33.000000000 -0400 X@@ -50,12 +50,33 @@ X # include X # include X # include X+#ifdef _ALLBSD_SOURCE X+# include X+# include X+#else X # include X # include X # include X+#endif X # include X # include X+ X+#ifndef __APPLE__ X # include X+#endif X+ X+#if defined(__FreeBSD__) X+# include X+#endif X+ X+#ifdef __APPLE__ X+#include // semaphore_* API X+#include X+#endif X+ X+#ifndef MAP_ANONYMOUS X+#define MAP_ANONYMOUS MAP_ANON X+#endif X X #define MAX_PATH (2 * K) X X@@ -67,19 +88,25 @@ X // global variables X julong os::Bsd::_physical_memory = 0; X X+#ifndef _ALLBSD_SOURCE X address os::Bsd::_initial_thread_stack_bottom = NULL; X uintptr_t os::Bsd::_initial_thread_stack_size = 0; X+#endif X X int (*os::Bsd::_clock_gettime)(clockid_t, struct timespec *) = NULL; X+#ifndef _ALLBSD_SOURCE X int (*os::Bsd::_pthread_getcpuclockid)(pthread_t, clockid_t *) = NULL; X Mutex* os::Bsd::_createThread_lock = NULL; X+#endif X pthread_t os::Bsd::_main_thread; X int os::Bsd::_page_size = -1; X+#ifndef _ALLBSD_SOURCE X bool os::Bsd::_is_floating_stack = false; X bool os::Bsd::_is_NPTL = false; X bool os::Bsd::_supports_fast_thread_cpu_time = false; X const char * os::Bsd::_glibc_version = NULL; X const char * os::Bsd::_libpthread_version = NULL; X+#endif X X static jlong initial_time_count=0; X X@@ -97,6 +124,77 @@ static pid_t _initial_pid = 0; X static int SR_signum = SIGUSR2; X sigset_t SR_sigset; X X+#ifdef _ALLBSD_SOURCE X+// XXXBSD: ported from solaris version X+// interruptible infrastructure X+ X+// setup_interruptible saves the thread state before going into an X+// interruptible system call. X+// The saved state is used to restore the thread to X+// its former state whether or not an interrupt is received. X+// Used by classloader os::read X+// hpi calls skip this layer and stay in _thread_in_native X+ X+void os::Bsd::setup_interruptible(JavaThread* thread) { X+ X+ JavaThreadState thread_state = thread->thread_state(); X+ X+ assert(thread_state != _thread_blocked, "Coming from the wrong thread"); X+ assert(thread_state != _thread_in_native, "Native threads skip setup_interruptible"); X+ OSThread* osthread = thread->osthread(); X+ osthread->set_saved_interrupt_thread_state(thread_state); X+ thread->frame_anchor()->make_walkable(thread); X+ ThreadStateTransition::transition(thread, thread_state, _thread_blocked); X+} X+ X+// Version of setup_interruptible() for threads that are already in X+// _thread_blocked. Used by os_sleep(). X+void os::Bsd::setup_interruptible_already_blocked(JavaThread* thread) { X+ thread->frame_anchor()->make_walkable(thread); X+} X+ X+JavaThread* os::Bsd::setup_interruptible() { X+ JavaThread* thread = (JavaThread*)ThreadLocalStorage::thread(); X+ setup_interruptible(thread); X+ return thread; X+} X+ X+#ifdef ASSERT X+ X+JavaThread* os::Bsd::setup_interruptible_native() { X+ JavaThread* thread = (JavaThread*)ThreadLocalStorage::thread(); X+ JavaThreadState thread_state = thread->thread_state(); X+ assert(thread_state == _thread_in_native, "Assumed thread_in_native"); X+ return thread; X+} X+ X+void os::Bsd::cleanup_interruptible_native(JavaThread* thread) { X+ JavaThreadState thread_state = thread->thread_state(); X+ assert(thread_state == _thread_in_native, "Assumed thread_in_native"); X+} X+#endif X+ X+// cleanup_interruptible reverses the effects of setup_interruptible X+// setup_interruptible_already_blocked() does not need any cleanup. X+ X+void os::Bsd::cleanup_interruptible(JavaThread* thread) { X+ OSThread* osthread = thread->osthread(); X+ X+ ThreadStateTransition::transition(thread, _thread_blocked, osthread->saved_interrupt_thread_state()); X+} X+ X+// I/O interruption related counters called in _INTERRUPTIBLE X+ X+void os::Bsd::bump_interrupted_before_count() { X+ RuntimeService::record_interrupted_before_count(); X+} X+ X+void os::Bsd::bump_interrupted_during_count() { X+ RuntimeService::record_interrupted_during_count(); X+} X+#endif X+ X+ X //////////////////////////////////////////////////////////////////////////////// X // utility functions X X@@ -108,11 +206,17 @@ julong os::available_memory() { X } X X julong os::Bsd::available_memory() { X+#ifdef _ALLBSD_SOURCE X+ // XXXBSD: this is just a stopgap implementation X+ return physical_memory() >> 2; X+#else X+ X // values in struct sysinfo are "unsigned long" X struct sysinfo si; X sysinfo(&si); X X return (julong)si.freeram * si.mem_unit; X+#endif X } X X julong os::physical_memory() { X@@ -160,6 +264,7 @@ bool os::have_special_privileges() { X } X X X+#ifndef _ALLBSD_SOURCE X #ifndef SYS_gettid X // i386: 224, ia64: 1105, amd64: 186, sparc 143 X #ifdef __ia64__ X@@ -174,6 +279,7 @@ bool os::have_special_privileges() { X #error define gettid for the arch X #endif X #endif X+#endif X X // Cpu architecture string X #if defined(IA64) X@@ -193,6 +299,7 @@ static char cpu_arch[] = "sparc"; X #endif X X X+#ifndef _ALLBSD_SOURCE X // pid_t gettid() X // X // Returns the kernel thread id of the currently running thread. Kernel X@@ -219,7 +326,47 @@ static bool unsafe_chroot_detected = fal X static const char *unstable_chroot_error = "/proc file system not found.\n" X "Java may be unstable running multithreaded in a chroot " X "environment on Bsd when /proc filesystem is not mounted."; X+#endif X X+#ifdef _ALLBSD_SOURCE X+void os::Bsd::initialize_system_info() { X+ int mib[2]; X+ size_t len; X+ int cpu_val; X+ u_long mem_val; X+ X+ /* get processors count via hw.ncpus sysctl */ X+ mib[0] = CTL_HW; X+ mib[1] = HW_NCPU; X+ len = sizeof(cpu_val); X+ if (sysctl(mib, 2, &cpu_val, &len, NULL, 0) != -1) X+ _processor_count = cpu_val; X+ X+ if (_processor_count < 1) X+ _processor_count = 1; // fallback X+ X+ /* get physical memory via hw.usermem sysctl (hw.usermem is used X+ * instead of hw.physmem because we need size of allocatable memory X+ */ X+ mib[0] = CTL_HW; X+ mib[1] = HW_USERMEM; X+ len = sizeof(mem_val); X+ if (sysctl(mib, 2, &mem_val, &len, NULL, 0) != -1) X+ _physical_memory = mem_val; X+ else X+ _physical_memory = 256*1024*1024; // fallback (XXXBSD?) X+ X+#ifdef __OpenBSD__ X+ { X+ // limit _physical_memory memory view on OpenBSD since X+ // datasize rlimit restricts us anyway. X+ struct rlimit limits; X+ getrlimit(RLIMIT_DATA, &limits); X+ _physical_memory = MIN2(_physical_memory, (julong)limits.rlim_cur); X+ } X+#endif X+} X+#else X void os::Bsd::initialize_system_info() { X _processor_count = sysconf(_SC_NPROCESSORS_CONF); X if (_processor_count == 1) { X@@ -236,6 +383,7 @@ void os::Bsd::initialize_system_info() { X _physical_memory = (julong)sysconf(_SC_PHYS_PAGES) * (julong)sysconf(_SC_PAGESIZE); X assert(_processor_count > 0, "bsd error"); X } X+#endif X X void os::init_system_properties_values() { X // char arch[12]; X@@ -356,7 +504,12 @@ void os::init_system_properties_values() X * should always exist (until the legacy problem cited above is X * addressed). X */ X+#ifdef __APPLE__ X+ char *v = getenv("DYLD_LIBRARY_PATH"); X+#else X char *v = getenv("LD_LIBRARY_PATH"); X+#endif X+ X if (v != NULL) { X char *t = ld_library_path; X /* That's +1 for the colon and +1 for the trailing '\0' */ X@@ -515,6 +668,7 @@ void os::Bsd::hotspot_sigmask(Thread* th X } X } X X+#ifndef _ALLBSD_SOURCE X ////////////////////////////////////////////////////////////////////////////// X // detecting pthread library X X@@ -679,6 +833,7 @@ bool os::Bsd::manually_expand_stack(Java X } X return false; X } X+#endif X X ////////////////////////////////////////////////////////////////////////////// X // create new thread X@@ -687,6 +842,9 @@ static address highest_vm_reserved_addre X X // check if it's safe to start a new thread X static bool _thread_safety_check(Thread* thread) { X+#ifdef _ALLBSD_SOURCE X+ return true; X+#else X if (os::Bsd::is_BsdThreads() && !os::Bsd::is_floating_stack()) { X // Fixed stack BsdThreads (SuSE Bsd/x86, and some versions of Redhat) X // Heap is mmap'ed at lower end of memory space. Thread stacks are X@@ -720,6 +878,7 @@ static bool _thread_safety_check(Thread* X // here, that means enough space has been reserved for stack. X return true; X } X+#endif X } X X // Thread start routine for all newly created threads X@@ -747,6 +906,10 @@ static void *java_start(Thread *thread) X return NULL; X } X X+#ifdef _ALLBSD_SOURCE X+ // thread_id is pthread_id on BSD X+ osthread->set_thread_id(::pthread_self()); X+#else X // thread_id is kernel thread id (similar to Solaris LWP id) X osthread->set_thread_id(os::Bsd::gettid()); X X@@ -756,6 +919,7 @@ static void *java_start(Thread *thread) X thread->set_lgrp_id(lgrp_id); X } X } X+#endif X // initialize signal mask for this thread X os::Bsd::hotspot_sigmask(thread); X X@@ -836,17 +1000,22 @@ bool os::create_thread(Thread* thread, T X // let pthread_create() pick the default value. X } X X+#ifndef _ALLBSD_SOURCE X // glibc guard page X pthread_attr_setguardsize(&attr, os::Bsd::default_guard_size(thr_type)); X+#endif X X ThreadState state; X X { X+ X+#ifndef _ALLBSD_SOURCE X // Serialize thread creation if we are running with fixed stack BsdThreads X bool lock = os::Bsd::is_BsdThreads() && !os::Bsd::is_floating_stack(); X if (lock) { X os::Bsd::createThread_lock()->lock_without_safepoint_check(); X } X+#endif X X pthread_t tid; X int ret = pthread_create(&tid, &attr, (void* (*)(void*)) java_start, thread); X@@ -860,7 +1029,9 @@ bool os::create_thread(Thread* thread, T X // Need to clean up stuff we've allocated so far X thread->set_osthread(NULL); X delete osthread; X+#ifndef _ALLBSD_SOURCE X if (lock) os::Bsd::createThread_lock()->unlock(); X+#endif X return false; X } X X@@ -876,9 +1047,11 @@ bool os::create_thread(Thread* thread, T X } X } X X+#ifndef _ALLBSD_SOURCE X if (lock) { X os::Bsd::createThread_lock()->unlock(); X } X+#endif X } X X // Aborted due to thread limit being reached X@@ -916,7 +1089,11 @@ bool os::create_attached_thread(JavaThre X } X X // Store pthread info into the OSThread X+#ifdef _ALLBSD_SOURCE X+ osthread->set_thread_id(::pthread_self()); X+#else X osthread->set_thread_id(os::Bsd::gettid()); X+#endif X osthread->set_pthread_id(::pthread_self()); X X // initialize floating point control register X@@ -927,6 +1104,7 @@ bool os::create_attached_thread(JavaThre X X thread->set_osthread(osthread); X X+#ifndef _ALLBSD_SOURCE X if (UseNUMA) { X int lgrp_id = os::numa_get_group_id(); X if (lgrp_id != -1) { X@@ -953,6 +1131,7 @@ bool os::create_attached_thread(JavaThre X os::Bsd::manually_expand_stack(jt, addr); X osthread->clear_expanding_stack(); X } X+#endif X X // initialize signal mask for this thread X // and save the caller's signal mask X@@ -1011,6 +1190,7 @@ extern "C" Thread* get_thread() { X ////////////////////////////////////////////////////////////////////////////// X // initial thread X X+#ifndef _ALLBSD_SOURCE X // Check if current thread is the initial thread, similar to Solaris thr_main. X bool os::Bsd::is_initial_thread(void) { X char dummy; X@@ -1241,6 +1421,7 @@ void os::Bsd::capture_initial_stack(size X _initial_thread_stack_size = align_size_down(_initial_thread_stack_size, page_size()); X _initial_thread_stack_bottom = (address)stack_top - _initial_thread_stack_size; X } X+#endif X X //////////////////////////////////////////////////////////////////////////////// X // time support X@@ -1279,6 +1460,21 @@ jlong os::javaTimeMillis() { X #define CLOCK_MONOTONIC (1) X #endif X X+#ifdef __APPLE__ X+void os::Bsd::clock_init() { X+ // XXXDARWIN: Investigate replacement monotonic clock X+} X+#elif defined(_ALLBSD_SOURCE) X+void os::Bsd::clock_init() { X+ struct timespec res; X+ struct timespec tp; X+ if (::clock_getres(CLOCK_MONOTONIC, &res) == 0 && X+ ::clock_gettime(CLOCK_MONOTONIC, &tp) == 0) { X+ // yes, monotonic clock is supported X+ _clock_gettime = ::clock_gettime; X+ } X+} X+#else X void os::Bsd::clock_init() { X // we do dlopen's in this particular order due to bug in bsd X // dynamical loader (see 6348968) leading to crash on exit X@@ -1314,7 +1510,9 @@ void os::Bsd::clock_init() { X } X } X } X+#endif X X+#ifndef _ALLBSD_SOURCE X #ifndef SYS_clock_getres X X #if defined(IA32) || defined(AMD64) X@@ -1353,6 +1551,7 @@ void os::Bsd::fast_thread_clock_init() { X _pthread_getcpuclockid = pthread_getcpuclockid_func; X } X } X+#endif X X jlong os::javaTimeNanos() { X if (Bsd::supports_monotonic_clock()) { X@@ -1499,7 +1698,14 @@ int os::current_process_id() { X X // DLL functions X X-const char* os::dll_file_extension() { return ".so"; } X+#define JNI_LIB_PREFIX "lib" X+#ifdef __APPLE__ X+#define JNI_LIB_SUFFIX ".dylib" X+#else X+#define JNI_LIB_SUFFIX ".so" X+#endif X+ X+const char* os::dll_file_extension() { return JNI_LIB_SUFFIX; } X X const char* os::get_temp_directory() { return "/tmp/"; } X X@@ -1540,6 +1746,23 @@ bool os::dll_address_to_function_name(ad X } X } X X+#ifdef _ALLBSD_SOURCE X+// ported from solaris version X+bool os::dll_address_to_library_name(address addr, char* buf, X+ int buflen, int* offset) { X+ Dl_info dlinfo; X+ X+ if (dladdr((void*)addr, &dlinfo)){ X+ if (buf) jio_snprintf(buf, buflen, "%s", dlinfo.dli_fname); X+ if (offset) *offset = addr - (address)dlinfo.dli_fbase; X+ return true; X+ } else { X+ if (buf) buf[0] = '\0'; X+ if (offset) *offset = -1; X+ return false; X+ } X+} X+#else X struct _address_to_library_name { X address addr; // input : memory address X size_t buflen; // size of fname X@@ -1614,11 +1837,27 @@ bool os::dll_address_to_library_name(add X return false; X } X } X+#endif X X // Loads .dll/.so and X // in case of error it checks if .dll/.so was built for the X // same architecture as Hotspot is running on X+ X+#ifdef __APPLE__ X+void * os::dll_load(const char *filename, char *ebuf, int ebuflen) { X+ void * result= ::dlopen(filename, RTLD_LAZY); X+ if (result != NULL) { X+ // Successful loading X+ return result; X+ } X X+ // Read system error message into ebuf X+ ::strncpy(ebuf, ::dlerror(), ebuflen-1); X+ ebuf[ebuflen-1]='\0'; X+ X+ return NULL; X+} X+#else X void * os::dll_load(const char *filename, char *ebuf, int ebuflen) X { X void * result= ::dlopen(filename, RTLD_LAZY); X@@ -1671,6 +1910,20 @@ void * os::dll_load(const char *filename X #define EM_486 6 /* Intel 80486 */ X #endif X X+ #ifndef EM_PPC64 X+ #define EM_PPC64 21 /* PowerPC64 */ X+ #endif X+ X+ #ifndef EM_IA_64 X+ #define EM_IA_64 50 /* HP/Intel IA-64 */ X+ #endif X+ X+ #ifndef EM_X86_64 X+ #define EM_X86_64 62 /* AMD x86-64 */ X+ #endif X+ X+ X+ X static const arch_t arch_array[]={ X {EM_386, EM_386, ELFCLASS32, ELFDATA2LSB, (char*)"IA 32"}, X {EM_486, EM_386, ELFCLASS32, ELFDATA2LSB, (char*)"IA 32"}, X@@ -1751,7 +2004,7 @@ void * os::dll_load(const char *filename X X return NULL; X } X- X+#endif /* !__APPLE__ */ X X X X@@ -1774,7 +2027,51 @@ bool _print_ascii_file(const char* filen X X void os::print_dll_info(outputStream *st) { X st->print_cr("Dynamic libraries:"); X- X+#ifdef _ALLBSD_SOURCE X+#ifdef RTLD_DI_LINKMAP X+ Dl_info dli; X+ void *handle; X+ Link_map *map; X+ Link_map *p; X+ X+ if (!dladdr(CAST_FROM_FN_PTR(void *, os::print_dll_info), &dli)) { X+ st->print_cr("Error: Cannot print dynamic libraries."); X+ return; X+ } X+ handle = dlopen(dli.dli_fname, RTLD_LAZY); X+ if (handle == NULL) { X+ st->print_cr("Error: Cannot print dynamic libraries."); X+ return; X+ } X+ dlinfo(handle, RTLD_DI_LINKMAP, &map); X+ if (map == NULL) { X+ st->print_cr("Error: Cannot print dynamic libraries."); X+ return; X+ } X+ X+ while (map->l_prev != NULL) X+ map = map->l_prev; X+ X+ while (map != NULL) { X+ st->print_cr(PTR_FORMAT " \t%s", map->l_addr, map->l_name); X+ map = map->l_next; X+ } X+ X+ dlclose(handle); X+#elif defined(__APPLE__) X+ uint32_t count; X+ uint32_t i; X+ X+ count = _dyld_image_count(); X+ for (i = 1; i < count; i++) { X+ const char *name = _dyld_get_image_name(i); X+ intptr_t slide = _dyld_get_image_vmaddr_slide(i); X+ st->print_cr(PTR_FORMAT " \t%s", slide, name); X+ } X+#else X+ st->print_cr("Error: Cannot print dynamic libraries."); X+#endif X+#else X char fname[32]; X pid_t pid = os::Bsd::gettid(); X X@@ -1783,6 +2080,7 @@ void os::print_dll_info(outputStream *st X if (!_print_ascii_file(fname, st)) { X st->print("Can not get library information for pid = %d\n", pid); X } X+#endif X } X X X@@ -1815,6 +2113,7 @@ void os::print_os_info(outputStream* st) X st->print(name.machine); X st->cr(); X X+#ifndef _ALLBSD_SOURCE X // Print warning if unsafe chroot environment detected X if (unsafe_chroot_detected) { X st->print("WARNING!! "); X@@ -1829,6 +2128,7 @@ void os::print_os_info(outputStream* st) X st->print("(%s stack)", os::Bsd::is_floating_stack() ? "floating" : "fixed"); X } X st->cr(); X+#endif X X // rlimit X st->print("rlimit:"); X@@ -1854,6 +2154,7 @@ void os::print_os_info(outputStream* st) X if (rlim.rlim_cur == RLIM_INFINITY) st->print("infinity"); X else st->print("%d", rlim.rlim_cur); X X+#ifndef _ALLBSD_SOURCE X st->print(", AS "); X getrlimit(RLIMIT_AS, &rlim); X if (rlim.rlim_cur == RLIM_INFINITY) st->print("infinity"); X@@ -1866,6 +2167,7 @@ void os::print_os_info(outputStream* st) X os::loadavg(loadavg, 3); X st->print("%0.02f %0.02f %0.02f", loadavg[0], loadavg[1], loadavg[2]); X st->cr(); X+#endif X } X X void os::print_memory_info(outputStream* st) { X@@ -1873,18 +2175,22 @@ void os::print_memory_info(outputStream* X st->print("Memory:"); X st->print(" %dk page", os::vm_page_size()>>10); X X+#ifndef _ALLBSD_SOURCE X // values in struct sysinfo are "unsigned long" X struct sysinfo si; X sysinfo(&si); X+#endif X X st->print(", physical " UINT64_FORMAT "k", X os::physical_memory() >> 10); X st->print("(" UINT64_FORMAT "k free)", X os::available_memory() >> 10); X+#ifndef _ALLBSD_SOURCE X st->print(", swap " UINT64_FORMAT "k", X ((jlong)si.totalswap * si.mem_unit) >> 10); X st->print("(" UINT64_FORMAT "k free)", X ((jlong)si.freeswap * si.mem_unit) >> 10); X+#endif X st->cr(); X } X X@@ -2108,19 +2414,29 @@ int os::sigexitnum_pd() { X static volatile jint pending_signals[NSIG+1] = { 0 }; X X // Bsd(POSIX) specific hand shaking semaphore. X+#ifdef __APPLE__ X+static semaphore_t sig_sem; X+#define SEM_INIT(sem, value) semaphore_create(mach_task_self(), &sem, SYNC_POLICY_FIFO, value) X+#define SEM_WAIT(sem) semaphore_wait(sem); X+#define SEM_POST(sem) semaphore_signal(sem); X+#else X static sem_t sig_sem; X+#define SEM_INIT(sem, value) sem_init(&sem, 0, value) X+#define SEM_WAIT(sem) sem_wait(&sem); X+#define SEM_POST(sem) sem_post(&sem); X+#endif X X void os::signal_init_pd() { X // Initialize signal structures X ::memset((void*)pending_signals, 0, sizeof(pending_signals)); X X // Initialize signal semaphore X- ::sem_init(&sig_sem, 0, 0); X+ ::SEM_INIT(sig_sem, 0); X } X X void os::signal_notify(int sig) { X Atomic::inc(&pending_signals[sig]); X- ::sem_post(&sig_sem); X+ ::SEM_POST(sig_sem); X } X X static int check_pending_signals(bool wait) { X@@ -2142,7 +2458,7 @@ static int check_pending_signals(bool wa X do { X thread->set_suspend_equivalent(); X // cleared by handle_special_suspend_equivalent_condition() or java_suspend_self() X- ::sem_wait(&sig_sem); X+ ::SEM_WAIT(sig_sem); X X // were we externally suspended while we were waiting? X threadIsSuspended = thread->handle_special_suspend_equivalent_condition(); X@@ -2153,7 +2469,7 @@ static int check_pending_signals(bool wa X // while suspended because that would surprise the thread that X // suspended us. X // X- ::sem_post(&sig_sem); X+ ::SEM_POST(sig_sem); X X thread->java_suspend_self(); X } X@@ -2224,10 +2540,16 @@ void bsd_wrap_code(char* base, size_t si X // left at the time of mmap(). This could be a potential X // problem. X bool os::commit_memory(char* addr, size_t size) { X+#ifdef __OpenBSD__ X+ // XXX: Work-around mmap/MAP_FIXED bug temporarily on OpenBSD X+ return mprotect(addr, size, PROT_READ|PROT_WRITE|PROT_EXEC) == 0; X+#else X+ X uintptr_t res = (uintptr_t) ::mmap(addr, size, X PROT_READ|PROT_WRITE|PROT_EXEC, X MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0); X return res != (uintptr_t) MAP_FAILED; X+#endif X } X X bool os::commit_memory(char* addr, size_t size, size_t alignment_hint) { X@@ -2351,6 +2673,9 @@ bool os::unguard_memory(char* addr, size X static size_t _large_page_size = 0; X X bool os::large_page_init() { X+#ifdef _ALLBSD_SOURCE X+ return false; X+#else X if (!UseLargePages) return false; X X if (LargePageSizeInBytes) { X@@ -2405,6 +2730,7 @@ bool os::large_page_init() { X // We optimistically assume the support is available. If later it turns out X // not true, VM will automatically switch to use regular page size. X return true; X+#endif X } X X #ifndef SHM_HUGETLB X@@ -2575,7 +2901,7 @@ char* os::attempt_reserve_memory_at(size X } X X size_t os::read(int fd, void *buf, unsigned int nBytes) { X- return ::read(fd, buf, nBytes); X+ INTERRUPTIBLE_RETURN_INT_VM(::read(fd, buf, nBytes), os::Bsd::clear_interrupted); X } X X // TODO-FIXME: reconcile Solaris' os::sleep with the bsd variation. X@@ -2711,6 +3037,44 @@ void os::loop_breaker(int attempts) { X // this reason, the code should not be used as default (ThreadPriorityPolicy=0). X // It is only used when ThreadPriorityPolicy=1 and requires root privilege. X X+#if defined(_ALLBSD_SOURCE) && !defined(__APPLE__) X+int os::java_to_os_priority[MaxPriority + 1] = { X+ 19, // 0 Entry should never be used X+ X+ 0, // 1 MinPriority X+ 3, // 2 X+ 6, // 3 X+ X+ 10, // 4 X+ 15, // 5 NormPriority X+ 18, // 6 X+ X+ 21, // 7 X+ 25, // 8 X+ 28, // 9 NearMaxPriority X+ X+ 31 // 10 MaxPriority X+}; X+#elif defined(__APPLE__) X+/* Using Mach high-level priority assignments */ X+int os::java_to_os_priority[MaxPriority + 1] = { X+ 0, // 0 Entry should never be used (MINPRI_USER) X+ X+ 27, // 1 MinPriority X+ 28, // 2 X+ 29, // 3 X+ X+ 30, // 4 X+ 31, // 5 NormPriority (BASEPRI_DEFAULT) X+ 32, // 6 X+ X+ 33, // 7 X+ 34, // 8 X+ 35, // 9 NearMaxPriority X+ X+ 36 // 10 MaxPriority X+}; X+#else X int os::java_to_os_priority[MaxPriority + 1] = { X 19, // 0 Entry should never be used X X@@ -2728,6 +3092,7 @@ int os::java_to_os_priority[MaxPriority X X -5 // 10 MaxPriority X }; X+#endif X X static int prio_init() { X if (ThreadPriorityPolicy == 1) { X@@ -2747,8 +3112,28 @@ static int prio_init() { X OSReturn os::set_native_priority(Thread* thread, int newpri) { X if ( !UseThreadPriorities || ThreadPriorityPolicy == 0 ) return OS_OK; X X+#ifdef __OpenBSD__ X+ // OpenBSD pthread_setprio starves low priority threads X+ return OS_OK; X+#elif defined(__FreeBSD__) X+ int ret = pthread_setprio(thread->osthread()->pthread_id(), newpri); X+#elif defined(__APPLE__) X+ struct sched_param sp; X+ int policy; X+ pthread_t self = pthread_self(); X+ X+ if (pthread_getschedparam(self, &policy, &sp) != 0) X+ return OS_ERR; X+ X+ sp.sched_priority = newpri; X+ if (pthread_setschedparam(self, policy, &sp) != 0) X+ return OS_ERR; X+ X+ return OS_OK; X+#else X int ret = setpriority(PRIO_PROCESS, thread->osthread()->thread_id(), newpri); X return (ret == 0) ? OS_OK : OS_ERR; X+#endif X } X X OSReturn os::get_native_priority(const Thread* const thread, int *priority_ptr) { X@@ -2758,7 +3143,17 @@ OSReturn os::get_native_priority(const T X } X X errno = 0; X+#if defined(__OpenBSD__) || defined(__FreeBSD__) X+ *priority_ptr = pthread_getprio(thread->osthread()->pthread_id()); X+#elif defined(__APPLE__) X+ int policy; X+ struct sched_param sp; X+ X+ pthread_getschedparam(pthread_self(), &policy, &sp); X+ *priority_ptr = sp.sched_priority; X+#else X *priority_ptr = getpriority(PRIO_PROCESS, thread->osthread()->thread_id()); X+#endif X return (*priority_ptr != -1 || errno == 0 ? OS_OK : OS_ERR); X } X X@@ -2868,7 +3263,7 @@ static int SR_initialize() { X /* Get signal number to use for suspend/resume */ X if ((s = ::getenv("_JAVA_SR_SIGNUM")) != 0) { X int sig = ::strtol(s, 0, 10); X- if (sig > 0 || sig < _NSIG) { X+ if (sig > 0 || sig < NSIG) { X SR_signum = sig; X } X } X@@ -3211,6 +3606,28 @@ void os::Bsd::install_signal_handlers() X set_signal_handler(SIGFPE, true); X set_signal_handler(SIGXFSZ, true); X X+#if defined(__APPLE__) X+ // In Mac OS X 10.4, CrashReporter will write a crash log for all 'fatal' signals, including X+ // signals caught and handled by the JVM. To work around this, we reset the mach task X+ // signal handler that's placed on our process by CrashReporter. This disables X+ // CrashReporter-based reporting. X+ // X+ // This work-around is not necessary for 10.5+, as CrashReporter no longer intercedes X+ // on caught fatal signals. X+ // X+ // Additionally, gdb installs both standard BSD signal handlers, and mach exception X+ // handlers. By replacing the existing task exception handler, we disable gdb's mach X+ // exception handling, while leaving the standard BSD signal handlers functional. X+ kern_return_t kr; X+ kr = task_set_exception_ports(mach_task_self(), X+ EXC_MASK_BAD_ACCESS | EXC_MASK_ARITHMETIC, X+ MACH_PORT_NULL, X+ EXCEPTION_STATE_IDENTITY, X+ MACHINE_THREAD_STATE); X+ X+ assert(kr == KERN_SUCCESS, "could not set mach task signal handler"); X+#endif X+ X if (libjsig_is_loaded) { X // Tell libjsig jvm finishes setting signal handlers X (*end_signal_setting)(); X@@ -3231,6 +3648,7 @@ void os::Bsd::install_signal_handlers() X } X } X X+#ifndef _ALLBSD_SOURCE X // This is the fastest way to get thread cpu time on Bsd. X // Returns cpu time (user+sys) for any thread, not only for current. X // POSIX compliant clocks are implemented in the kernels 2.6.16+. X@@ -3245,6 +3663,7 @@ jlong os::Bsd::fast_thread_cpu_time(cloc X X return (tp.tv_sec * SEC_IN_NANOSECS) + tp.tv_nsec; X } X+#endif X X ///// X // glibc on Bsd platform uses non-documented flag X@@ -3466,13 +3885,13 @@ void os::init(void) { X X _initial_pid = (java_launcher_pid > 0) ? java_launcher_pid : getpid(); X X- clock_tics_per_sec = sysconf(_SC_CLK_TCK); X+ clock_tics_per_sec = CLK_TCK; X X init_random(1234567); X X ThreadCritical::initialize(); X X- Bsd::set_page_size(sysconf(_SC_PAGESIZE)); X+ Bsd::set_page_size(getpagesize()); X if (Bsd::page_size() == -1) { X fatal1("os_bsd.cpp: os::init: sysconf failed (%s)", strerror(errno)); X } X@@ -3485,6 +3904,16 @@ void os::init(void) { X X Bsd::clock_init(); X initial_time_count = os::elapsed_counter(); X+ X+#ifdef __APPLE__ X+ // XXXDARWIN X+ // Work around the unaligned VM callbacks in hotspot's X+ // sharedRuntime. The callbacks don't use SSE2 instructions, and work on X+ // Linux, Solaris, and FreeBSD. On Mac OS X, dyld (rightly so) enforces X+ // alignment when doing symbol lookup. To work around this, we force early X+ // binding of all symbols now, thus binding when alignment is known-good. X+ _dyld_bind_fully_image_containing_address((const void *) &os::init); X+#endif X } X X // To install functions for atexit system call X@@ -3497,7 +3926,9 @@ extern "C" { X // this is called _after_ the global arguments have been parsed X jint os::init_2(void) X { X+#ifndef _ALLBSD_SOURCE X Bsd::fast_thread_clock_init(); X+#endif X X // Allocate a single page and mark it as readable for safepoint polling X address polling_page = (address) ::mmap(NULL, Bsd::page_size(), PROT_READ, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); X@@ -3546,6 +3977,7 @@ jint os::init_2(void) X JavaThread::set_stack_size_at_create(round_to(threadStackSizeInBytes, X vm_page_size())); X X+#ifndef _ALLBSD_SOURCE X Bsd::capture_initial_stack(JavaThread::stack_size_at_create()); X X Bsd::libpthread_init(); X@@ -3554,6 +3986,7 @@ jint os::init_2(void) X Bsd::glibc_version(), Bsd::libpthread_version(), X Bsd::is_floating_stack() ? "floating stack" : "fixed stack"); X } X+#endif X X if (MaxFDLimit) { X // set the number of file descriptors to max. print out error X@@ -3565,6 +3998,14 @@ jint os::init_2(void) X perror("os::init_2 getrlimit failed"); X } else { X nbr_files.rlim_cur = nbr_files.rlim_max; X+ X+#ifdef __APPLE__ X+ // Darwin returns RLIM_INFINITY for rlim_max, but fails with EINVAL if X+ // you attempt to use RLIM_INFINITY. As per setrlimit(2), OPEN_MAX must X+ // be used instead X+ nbr_files.rlim_cur = MIN(OPEN_MAX, nbr_files.rlim_cur); X+#endif X+ X status = setrlimit(RLIMIT_NOFILE, &nbr_files); X if (status != 0) { X if (PrintMiscellaneous && (Verbose || WizardMode)) X@@ -3573,8 +4014,10 @@ jint os::init_2(void) X } X } X X+#ifndef _ALLBSD_SOURCE X // Initialize lock used to serialize thread creation (see os::create_thread) X Bsd::set_createThread_lock(new Mutex(Mutex::leaf, "createThread_lock", false)); X+#endif X X // Initialize HPI. X jint hpi_result = hpi::initialize(); X@@ -3621,11 +4064,16 @@ void os::make_polling_page_readable(void X }; X X int os::active_processor_count() { X+#ifdef _ALLBSD_SOURCE X+ return _processor_count; X+#else X+ X // Bsd doesn't yet have a (official) notion of processor sets, X // so just return the number of online processors. X int online_cpus = ::sysconf(_SC_NPROCESSORS_ONLN); X assert(online_cpus > 0 && online_cpus <= processor_count(), "sanity check"); X return online_cpus; X+#endif X } X X bool os::distribute_processes(uint length, uint* distribution) { X@@ -3667,6 +4115,9 @@ ExtendedPC os::get_thread_pc(Thread* thr X X int os::Bsd::safe_cond_timedwait(pthread_cond_t *_cond, pthread_mutex_t *_mutex, const struct timespec *_abstime) X { X+#ifdef _ALLBSD_SOURCE X+ return pthread_cond_timedwait(_cond, _mutex, _abstime); X+#else X if (is_NPTL()) { X return pthread_cond_timedwait(_cond, _mutex, _abstime); X } else { X@@ -3682,6 +4133,7 @@ int os::Bsd::safe_cond_timedwait(pthread X #endif // IA64 X return status; X } X+#endif X } X X //////////////////////////////////////////////////////////////////////////////// X@@ -3817,17 +4269,17 @@ int os::create_binary_file(const char* p X if (!rewrite_existing) { X oflags |= O_EXCL; X } X- return ::open64(path, oflags, S_IREAD | S_IWRITE); X+ return ::open(path, oflags, S_IREAD | S_IWRITE); X } X X // return current position of file pointer X jlong os::current_file_offset(int fd) { X- return (jlong)::lseek64(fd, (off64_t)0, SEEK_CUR); X+ return (jlong)::lseek(fd, (off_t)0, SEEK_CUR); X } X X // move file pointer to the specified offset X jlong os::seek_to_file_offset(int fd, jlong offset) { X- return (jlong)::lseek64(fd, (off64_t)offset, SEEK_SET); X+ return (jlong)::lseek(fd, (off_t)offset, SEEK_SET); X } X X // Map a block of memory. X@@ -3877,6 +4329,7 @@ bool os::unmap_memory(char* addr, size_t X return munmap(addr, bytes) == 0; X } X X+#ifndef _ALLBSD_SOURCE X static jlong slow_thread_cpu_time(Thread *thread, bool user_sys_cpu_time); X X static clockid_t thread_cpu_clockid(Thread* thread) { X@@ -3888,6 +4341,7 @@ static clockid_t thread_cpu_clockid(Thre X assert(rc == 0, "pthread_getcpuclockid is expected to return 0 code"); X return clockid; X } X+#endif X X // current_thread_cpu_time(bool) and thread_cpu_time(Thread*, bool) X // are used by JVM M&M and JVMTI to get user+sys or user CPU time X@@ -3897,39 +4351,71 @@ static clockid_t thread_cpu_clockid(Thre X // the fast estimate available on the platform. X X jlong os::current_thread_cpu_time() { X+#ifdef __APPLE__ X+ return os::thread_cpu_time(Thread::current(), true /* user + sys */); X+#elif !defined(_ALLBSD_SOURCE) X if (os::Bsd::supports_fast_thread_cpu_time()) { X return os::Bsd::fast_thread_cpu_time(CLOCK_THREAD_CPUTIME_ID); X } else { X // return user + sys since the cost is the same X return slow_thread_cpu_time(Thread::current(), true /* user + sys */); X } X+#endif X } X X jlong os::thread_cpu_time(Thread* thread) { X+#ifndef _ALLBSD_SOURCE X // consistent with what current_thread_cpu_time() returns X if (os::Bsd::supports_fast_thread_cpu_time()) { X return os::Bsd::fast_thread_cpu_time(thread_cpu_clockid(thread)); X } else { X return slow_thread_cpu_time(thread, true /* user + sys */); X } X+#endif X } X X jlong os::current_thread_cpu_time(bool user_sys_cpu_time) { X+#ifdef __APPLE__ X+ return os::thread_cpu_time(Thread::current(), user_sys_cpu_time); X+#elif !defined(_ALLBSD_SOURCE) X if (user_sys_cpu_time && os::Bsd::supports_fast_thread_cpu_time()) { X return os::Bsd::fast_thread_cpu_time(CLOCK_THREAD_CPUTIME_ID); X } else { X return slow_thread_cpu_time(Thread::current(), user_sys_cpu_time); X } X+#endif X } X X jlong os::thread_cpu_time(Thread *thread, bool user_sys_cpu_time) { X+#ifdef __APPLE__ X+ struct thread_basic_info tinfo; X+ mach_msg_type_number_t tcount = THREAD_INFO_MAX; X+ kern_return_t kr; X+ mach_port_t mach_thread; X+ X+ mach_thread = pthread_mach_thread_np(thread->osthread()->thread_id()); X+ kr = thread_info(mach_thread, THREAD_BASIC_INFO, (thread_info_t)&tinfo, &tcount); X+ if (kr != KERN_SUCCESS) X+ return -1; X+ X+ if (user_sys_cpu_time) { X+ jlong nanos; X+ nanos = ((jlong) tinfo.system_time.seconds + tinfo.user_time.seconds) * (jlong)1000000000; X+ nanos += ((jlong) tinfo.system_time.microseconds + (jlong) tinfo.user_time.microseconds) * (jlong)1000; X+ return nanos; X+ } else { X+ return ((jlong)tinfo.user_time.seconds * 1000000000) + ((jlong)tinfo.user_time.microseconds * (jlong)1000); X+ } X+#elif !defined(_ALLBSD_SOURCE) X if (user_sys_cpu_time && os::Bsd::supports_fast_thread_cpu_time()) { X return os::Bsd::fast_thread_cpu_time(thread_cpu_clockid(thread)); X } else { X return slow_thread_cpu_time(thread, user_sys_cpu_time); X } X+#endif X } X X+#ifndef _ALLBSD_SOURCE X // X // -1 on error. X // X@@ -4018,6 +4504,7 @@ static jlong slow_thread_cpu_time(Thread X return (jlong)user_time * (1000000000 / clock_tics_per_sec); X } X } X+#endif X X void os::current_thread_cpu_time_info(jvmtiTimerInfo *info_ptr) { X info_ptr->max_value = ALL_64_BITS; // will not wrap in less than 64 bits X@@ -4034,7 +4521,13 @@ void os::thread_cpu_time_info(jvmtiTimer X } X X bool os::is_thread_cpu_time_supported() { X+#ifdef __APPLE__ X+ return true; X+#elif defined(_ALLBSD_SOURCE) X+ return false; X+#else X return true; X+#endif X } X X // System loadavg support. Returns -1 if load average cannot be obtained. X@@ -4167,7 +4660,7 @@ jdk_pthread_sigmask(int how , const sigs X // abstime will be the absolute timeout time X // TODO: replace compute_abstime() with unpackTime() X X-static struct timespec* compute_abstime(timespec* abstime, jlong millis) { X+static struct timespec* compute_abstime(struct timespec* abstime, jlong millis) { X if (millis < 0) millis = 0; X struct timeval now; X int status = gettimeofday(&now, NULL); X@@ -4219,7 +4712,7 @@ void os::PlatformEvent::park() { / X status = pthread_cond_wait(_cond, _mutex); X // for some reason, under 2.7 lwp_cond_wait() may return ETIME ... X // Treat this the same as if the wait was interrupted X- if (status == ETIME) { status = EINTR; } X+ if (status == ETIMEDOUT) { status = EINTR; } X assert_status(status == 0 || status == EINTR, status, "cond_wait"); X } X -- _nParked ; X@@ -4277,10 +4770,10 @@ int os::PlatformEvent::park(jlong millis X pthread_cond_init (_cond, NULL) ; X } X assert_status(status == 0 || status == EINTR || X- status == ETIME || status == ETIMEDOUT, X+ status == ETIMEDOUT, X status, "cond_timedwait"); X if (!FilterSpuriousWakeups) break ; // previous semantics X- if (status == ETIME || status == ETIMEDOUT) break ; X+ if (status == ETIMEDOUT) break ; X // We consume and ignore EINTR and spurious wakeups. X } X --_nParked ; X@@ -4372,7 +4865,7 @@ void os::PlatformEvent::unpark() { X * years from "now". X */ X X-static void unpackTime(timespec* absTime, bool isAbsolute, jlong time) { X+static void unpackTime(struct timespec* absTime, bool isAbsolute, jlong time) { X assert (time > 0, "convertTime"); X X struct timeval now; X@@ -4431,7 +4924,7 @@ void Parker::park(bool isAbsolute, jlong X } X X // Next, demultiplex/decode time arguments X- timespec absTime; X+ struct timespec absTime; X if (time < 0) { // don't wait at all X return; X } X@@ -4484,7 +4977,7 @@ void Parker::park(bool isAbsolute, jlong X } X } X assert_status(status == 0 || status == EINTR || X- status == ETIME || status == ETIMEDOUT, X+ status == ETIMEDOUT, X status, "cond_timedwait"); X X #ifdef ASSERT X@@ -4526,14 +5019,12 @@ void Parker::unpark() { X } X X X+/* Darwin has no "environ" in a dynamic library. */ X+#ifdef __APPLE__ X+#include X+#define environ (*_NSGetEnviron()) X+#else X extern char** environ; X- X-#ifndef __NR_fork X-#define __NR_fork IA32_ONLY(2) IA64_ONLY(not defined) AMD64_ONLY(57) X-#endif X- X-#ifndef __NR_execve X-#define __NR_execve IA32_ONLY(11) IA64_ONLY(1033) AMD64_ONLY(59) X #endif X X // Run the specified command in a separate process. Return its exit value, X@@ -4548,8 +5039,7 @@ int os::fork_and_exec(char* cmd) { X // separate process to execve. Make a direct syscall to fork process. X // On IA64 there's no fork syscall, we have to use fork() and hope for X // the best... X- pid_t pid = NOT_IA64(syscall(__NR_fork);) X- IA64_ONLY(fork();) X+ pid_t pid = fork(); X X if (pid < 0) { X // fork failed X@@ -4565,8 +5055,7 @@ int os::fork_and_exec(char* cmd) { X // in the new process, so make a system call directly. X // IA64 should use normal execve() from glibc to match the glibc fork() X // above. X- NOT_IA64(syscall(__NR_execve, "/bin/sh", argv, environ);) X- IA64_ONLY(execve("/bin/sh", (char* const*)argv, environ);) X+ execve("/bin/sh", (char* const*)argv, environ); X X // execve failed X _exit(-1); Xdiff -uNpr ../orig/hotspot/src/os/bsd/vm/os_bsd.hpp ./hotspot/src/os/bsd/vm/os_bsd.hpp X--- ../orig/hotspot/src/os/bsd/vm/os_bsd.hpp 2009-05-14 23:40:14.000000000 -0400 X+++ ./hotspot/src/os/bsd/vm/os_bsd.hpp 2009-05-14 23:41:33.000000000 -0400 X@@ -30,6 +30,12 @@ X /* pthread_getattr_np comes with BsdThreads-0.9-7 on RedHat 7.1 */ X typedef int (*pthread_getattr_func_type) (pthread_t, pthread_attr_t *); X X+#ifdef __APPLE__ X+// Mac OS X doesn't support clock_gettime. Stub out the type, it is X+// unused X+typedef int clockid_t; X+#endif X+ X class Bsd { X friend class os; X X@@ -50,6 +56,7 @@ class Bsd { X static int sigflags[MAXSIGNUM]; X X static int (*_clock_gettime)(clockid_t, struct timespec *); X+#ifndef _ALLBSD_SOURCE X static int (*_pthread_getcpuclockid)(pthread_t, clockid_t *); X X static address _initial_thread_stack_bottom; X@@ -61,42 +68,79 @@ class Bsd { X static bool _is_floating_stack; X static bool _is_NPTL; X static bool _supports_fast_thread_cpu_time; X+#endif X X protected: X X static julong _physical_memory; X static pthread_t _main_thread; X+#ifndef _ALLBSD_SOURCE X static Mutex* _createThread_lock; X+#endif X static int _page_size; X X static julong available_memory(); X static julong physical_memory() { return _physical_memory; } X static void initialize_system_info(); X X+#ifndef _ALLBSD_SOURCE X static void set_glibc_version(const char *s) { _glibc_version = s; } X static void set_libpthread_version(const char *s) { _libpthread_version = s; } X+#endif X X static bool supports_variable_stack_size(); X X+#ifndef _ALLBSD_SOURCE X static void set_is_NPTL() { _is_NPTL = true; } X static void set_is_BsdThreads() { _is_NPTL = false; } X static void set_is_floating_stack() { _is_floating_stack = true; } X+#endif X X public: X+#ifdef _ALLBSD_SOURCE X+//XXXBSD: ported from solaris version X+ enum { X+ clear_interrupted = true X+ }; X+ static void setup_interruptible(JavaThread* thread); X+ static void setup_interruptible_already_blocked(JavaThread* thread); X+ static JavaThread* setup_interruptible(); X+ static void cleanup_interruptible(JavaThread* thread); X+ X+ // perf counter incrementers used by _INTERRUPTIBLE X+ X+ static void bump_interrupted_before_count(); X+ static void bump_interrupted_during_count(); X+ X+#ifdef ASSERT X+ static JavaThread* setup_interruptible_native(); X+ static void cleanup_interruptible_native(JavaThread* thread); X+#endif X+ X+#endif X+ X X static void init_thread_fpu_state(); X+#ifndef _ALLBSD_SOURCE X static int get_fpu_control_word(); X static void set_fpu_control_word(int fpu_control); X+#endif X static pthread_t main_thread(void) { return _main_thread; } X+ X+#ifndef _ALLBSD_SOURCE X // returns kernel thread id (similar to LWP id on Solaris), which can be X // used to access /proc X static pid_t gettid(); X static void set_createThread_lock(Mutex* lk) { _createThread_lock = lk; } X static Mutex* createThread_lock(void) { return _createThread_lock; } X+#endif X static void hotspot_sigmask(Thread* thread); X X+#ifndef _ALLBSD_SOURCE X static address initial_thread_stack_bottom(void) { return _initial_thread_stack_bottom; } X static uintptr_t initial_thread_stack_size(void) { return _initial_thread_stack_size; } X+#endif X+ X static bool is_initial_thread(void); X X static int page_size(void) { return _page_size; } X@@ -133,6 +177,7 @@ class Bsd { X static struct sigaction *get_chained_signal_action(int sig); X static bool chained_handler(int sig, siginfo_t* siginfo, void* context); X X+#ifndef _ALLBSD_SOURCE X // GNU libc and libpthread version strings X static const char *glibc_version() { return _glibc_version; } X static const char *libpthread_version() { return _libpthread_version; } X@@ -146,6 +191,7 @@ class Bsd { X static bool is_floating_stack() { return _is_floating_stack; } X X static void libpthread_init(); X+#endif X X // Minimum stack size a thread can be created with (allowing X // the VM to completely create the thread and enter user code) X@@ -155,17 +201,21 @@ class Bsd { X static size_t default_stack_size(os::ThreadType thr_type); X static size_t default_guard_size(os::ThreadType thr_type); X X+#ifndef _ALLBSD_SOURCE X static void capture_initial_stack(size_t max_size); X X // Stack overflow handling X static bool manually_expand_stack(JavaThread * t, address addr); X static int max_register_window_saves_before_flushing(); X+#endif X X // Real-time clock functions X static void clock_init(void); X X+#ifndef _ALLBSD_SOURCE X // fast POSIX clocks support X static void fast_thread_clock_init(void); X+#endif X X static bool supports_monotonic_clock() { X return _clock_gettime != NULL; X@@ -175,6 +225,7 @@ class Bsd { X return _clock_gettime ? _clock_gettime(clock_id, tp) : -1; X } X X+#ifndef _ALLBSD_SOURCE X static int pthread_getcpuclockid(pthread_t tid, clockid_t *clock_id) { X return _pthread_getcpuclockid ? _pthread_getcpuclockid(tid, clock_id) : -1; X } X@@ -184,6 +235,7 @@ class Bsd { X } X X static jlong fast_thread_cpu_time(clockid_t clockid); X+#endif X X // Stack repair handling X Xdiff -uNpr ../orig/hotspot/src/os/bsd/vm/os_bsd.inline.hpp ./hotspot/src/os/bsd/vm/os_bsd.inline.hpp X--- ../orig/hotspot/src/os/bsd/vm/os_bsd.inline.hpp 2009-05-14 23:40:14.000000000 -0400 X+++ ./hotspot/src/os/bsd/vm/os_bsd.inline.hpp 2009-05-14 23:41:33.000000000 -0400 X@@ -64,7 +64,15 @@ inline bool os::uses_stack_guard_pages() X X inline bool os::allocate_stack_guard_pages() { X assert(uses_stack_guard_pages(), "sanity check"); X+#if !defined(__FreeBSD__) || __FreeBSD__ < 5 X+ // Since FreeBSD 4 uses malloc() for allocating the thread stack X+ // there is no need to do anything extra to allocate the guard pages X+ return false; X+#else X+ // FreeBSD 5+ uses mmap MAP_STACK for allocating the thread stacks. X+ // Must 'allocate' them or guard pages are ignored. X return true; X+#endif X } X X X@@ -112,6 +120,107 @@ inline int os::closedir(DIR *dirp) X return ::closedir(dirp); X } X X+//XXXBSD: ported from solaris version X+////////////////////////////////////////////////////////////////////////////// X+//////////////////////////////////////////////////////////////////////////////// X+ X+// macros for interruptible io and system calls and system call restarting X+ X+#define _INTERRUPTIBLE(_setup, _cmd, _result, _thread, _clear, _before, _after, _int_enable) \ X+do { \ X+ _setup; \ X+ _before; \ X+ OSThread* _osthread = _thread->osthread(); \ X+ if (_int_enable && _thread->has_last_Java_frame()) { \ X+ /* this is java interruptible io stuff */ \ X+ if (os::is_interrupted(_thread, _clear)) { \ X+ os::Bsd::bump_interrupted_before_count(); \ X+ _result = OS_INTRPT; \ X+ } else { \ X+ /* _cmd always expands to an assignment to _result */ \ X+ if ((_cmd) < 0 && errno == EINTR \ X+ && os::is_interrupted(_thread, _clear)) { \ X+ os::Bsd::bump_interrupted_during_count(); \ X+ _result = OS_INTRPT; \ X+ } \ X+ } \ X+ } else { \ X+ /* this is normal blocking io stuff */ \ X+ _cmd; \ X+ } \ X+ _after; \ X+} while(false) X+ X+// Interruptible io support + restarting of interrupted system calls X+ X+#ifndef ASSERT X+ X+#define INTERRUPTIBLE(_cmd, _result, _clear) do { \ X+ _INTERRUPTIBLE( JavaThread* _thread = (JavaThread*)ThreadLocalStorage::thread(),_result = _cmd, _result, _thread, _clear, , , UseVMInterruptibleIO); \ X+} while((_result == OS_ERR) && (errno == EINTR)) X+ X+#else X+ X+// This adds an assertion that it is only called from thread_in_native X+// The call overhead is skipped for performance in product mode X+#define INTERRUPTIBLE(_cmd, _result, _clear) do { \ X+ _INTERRUPTIBLE(JavaThread* _thread = os::Bsd::setup_interruptible_native(), _result = _cmd, _result, _thread, _clear, , os::Bsd::cleanup_interruptible_native(_thread), UseVMInterruptibleIO ); \ X+} while((_result == OS_ERR) && (errno == EINTR)) X+ X+#endif X+ X+// Used for calls from _thread_in_vm, not from _thread_in_native X+#define INTERRUPTIBLE_VM(_cmd, _result, _clear) do { \ X+ _INTERRUPTIBLE(JavaThread* _thread = os::Bsd::setup_interruptible(), _result = _cmd, _result, _thread, _clear, , os::Bsd::cleanup_interruptible(_thread), UseVMInterruptibleIO ); \ X+} while((_result == OS_ERR) && (errno == EINTR)) X+ X+/* Use NORESTART when the system call cannot return EINTR, when something other X+ than a system call is being invoked, or when the caller must do EINTR X+ handling. */ X+ X+#ifndef ASSERT X+ X+#define INTERRUPTIBLE_NORESTART(_cmd, _result, _clear) \ X+ _INTERRUPTIBLE( JavaThread* _thread = (JavaThread*)ThreadLocalStorage::thread(),_result = _cmd, _result, _thread, _clear, , , UseVMInterruptibleIO) X+ X+#else X+ X+// This adds an assertion that it is only called from thread_in_native X+// The call overhead is skipped for performance in product mode X+#define INTERRUPTIBLE_NORESTART(_cmd, _result, _clear) \ X+ _INTERRUPTIBLE(JavaThread* _thread = os::Bsd::setup_interruptible_native(), _result = _cmd, _result, _thread, _clear, , os::Bsd::cleanup_interruptible_native(_thread), UseVMInterruptibleIO ) X+ X+#endif X+ X+// Don't attend to UseVMInterruptibleIO. Always allow interruption. X+// Also assumes that it is called from the _thread_blocked state. X+// Used by os_sleep(). X+ X+#define INTERRUPTIBLE_NORESTART_VM_ALWAYS(_cmd, _result, _thread, _clear) \ X+ _INTERRUPTIBLE(os::Bsd::setup_interruptible_already_blocked(_thread), _result = _cmd, _result, _thread, _clear, , , true ) X+ X+#define INTERRUPTIBLE_RETURN_INT(_cmd, _clear) do { \ X+ int _result; \ X+ do { \ X+ INTERRUPTIBLE(_cmd, _result, _clear); \ X+ } while((_result == OS_ERR) && (errno == EINTR)); \ X+ return _result; \ X+} while(false) X+ X+#define INTERRUPTIBLE_RETURN_INT_VM(_cmd, _clear) do { \ X+ int _result; \ X+ do { \ X+ INTERRUPTIBLE_VM(_cmd, _result, _clear); \ X+ } while((_result == OS_ERR) && (errno == EINTR)); \ X+ return _result; \ X+} while(false) X+ X+#define INTERRUPTIBLE_RETURN_INT_NORESTART(_cmd, _clear) do { \ X+ int _result; \ X+ INTERRUPTIBLE_NORESTART(_cmd, _result, _clear); \ X+ return _result; \ X+} while(false) X+ X // macros for restartable system calls X X #define RESTARTABLE(_cmd, _result) do { \ Xdiff -uNpr ../orig/hotspot/src/os_cpu/bsd_x86/vm/assembler_bsd_x86_64.cpp ./hotspot/src/os_cpu/bsd_x86/vm/assembler_bsd_x86_64.cpp X--- ../orig/hotspot/src/os_cpu/bsd_x86/vm/assembler_bsd_x86_64.cpp 2009-05-14 23:40:15.000000000 -0400 X+++ ./hotspot/src/os_cpu/bsd_x86/vm/assembler_bsd_x86_64.cpp 2009-05-14 23:41:33.000000000 -0400 X@@ -69,8 +69,9 @@ void MacroAssembler::get_thread(Register X } X } X X-// NOTE: since the bsd kernel resides at the low end of X-// user address space, no null pointer check is needed. X bool MacroAssembler::needs_explicit_null_check(int offset) { X- return offset < 0 || offset >= 0x100000; X+ // Bsd kernel guarantees that the first page is always unmapped. Don't X+ // assume anything more than that. X+ bool offset_in_first_page = 0 <= offset && offset < os::vm_page_size(); X+ return !offset_in_first_page; X } Xdiff -uNpr ../orig/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_32.s ./hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_32.s X--- ../orig/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_32.s 2009-05-14 23:40:15.000000000 -0400 X+++ ./hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_32.s 2009-05-14 23:41:33.000000000 -0400 X@@ -21,49 +21,82 @@ X # have any questions. X # X X+ X+ X .ident "@(#)bsd_x86_32.s 1.10 07/05/17 15:48:59 JVM" X- X+ X+#ifdef __APPLE__ X+# Darwin uses _ prefixed global symbols X+#define SYMBOL(s) _ ## s X+#define ELF_TYPE(name, description) X+#else X+#define SYMBOL(s) s X+#define ELF_TYPE(name, description) .type name,description X+#endif X+ X+ .globl SYMBOL(fixcw) X+ X # NOTE WELL! The _Copy functions are called directly X # from server-compiler-generated code via CallLeafNoFP, X # which means that they *must* either not use floating X # point or use it in the same manner as does the server X # compiler. X X- .globl _Copy_conjoint_bytes X- .globl _Copy_arrayof_conjoint_bytes X- .globl _Copy_conjoint_jshorts_atomic X- .globl _Copy_arrayof_conjoint_jshorts X- .globl _Copy_conjoint_jints_atomic X- .globl _Copy_arrayof_conjoint_jints X- .globl _Copy_conjoint_jlongs_atomic X- .globl _mmx_Copy_arrayof_conjoint_jshorts X+ .globl SYMBOL(_Copy_conjoint_bytes) X+ .globl SYMBOL(_Copy_arrayof_conjoint_bytes) X+ .globl SYMBOL(_Copy_conjoint_jshorts_atomic) X+ .globl SYMBOL(_Copy_arrayof_conjoint_jshorts) X+ .globl SYMBOL(_Copy_conjoint_jints_atomic) X+ .globl SYMBOL(_Copy_arrayof_conjoint_jints) X+ .globl SYMBOL(_Copy_conjoint_jlongs_atomic) X+ .globl SYMBOL(_mmx_Copy_arrayof_conjoint_jshorts) X X- .globl _Atomic_cmpxchg_long X+ .globl SYMBOL(_Atomic_cmpxchg_long) X X .text X X- .globl SafeFetch32, Fetch32PFI, Fetch32Resume X- .globl SafeFetchN X+# Support for void os::Solaris::init_thread_fpu_state() in os_solaris_i486.cpp X+# Set fpu to 53 bit precision. This happens too early to use a stub. X+# ported from solaris_x86_32.s X+#ifdef __APPLE__ X+ .align 4 X+#else X+ .align 16 X+#endif X+SYMBOL(fixcw): X+ pushl $0x27f X+ fldcw 0(%esp) X+ popl %eax X+ ret X+ X+#ifdef __APPLE__ X+ .align 4 X+#else X+ .align 16 X+#endif X+ X+ .globl SYMBOL(SafeFetch32), SYMBOL(Fetch32PFI), SYMBOL(Fetch32Resume) X+ .globl SYMBOL(SafeFetchN) X ## TODO: avoid exposing Fetch32PFI and Fetch32Resume. X ## Instead, the signal handler would call a new SafeFetchTriage(FaultingEIP) X ## routine to vet the address. If the address is the faulting LD then X ## SafeFetchTriage() would return the resume-at EIP, otherwise null. X- .type SafeFetch32,@function X+ ELF_TYPE(SafeFetch32,@function) X .p2align 4,,15 X-SafeFetch32: X-SafeFetchN: X+SYMBOL(SafeFetch32): X+SYMBOL(SafeFetchN): X movl 0x8(%esp), %eax X movl 0x4(%esp), %ecx X-Fetch32PFI: X+SYMBOL(Fetch32PFI): X movl (%ecx), %eax X-Fetch32Resume: X+SYMBOL(Fetch32Resume): X ret X X X- .globl SpinPause X- .type SpinPause,@function X+ .globl SYMBOL(SpinPause) X+ ELF_TYPE(SpinPause,@function) X .p2align 4,,15 X-SpinPause: X+SYMBOL(SpinPause): X rep X nop X movl $1, %eax X@@ -73,8 +106,8 @@ SpinPause: X # void* to, X # size_t count) X .p2align 4,,15 X- .type _Copy_conjoint_bytes,@function X-_Copy_conjoint_bytes: X+ ELF_TYPE(_Copy_conjoint_bytes,@function) X+SYMBOL(_Copy_conjoint_bytes): X pushl %esi X movl 4+12(%esp),%ecx # count X pushl %edi X@@ -181,8 +214,8 @@ cb_CopyLeft: X # X # Same as _Copy_conjoint_bytes, except no source alignment check. X .p2align 4,,15 X- .type _Copy_arrayof_conjoint_bytes,@function X-_Copy_arrayof_conjoint_bytes: X+ ELF_TYPE(_Copy_arrayof_conjoint_bytes,@function) X+SYMBOL(_Copy_arrayof_conjoint_bytes): X pushl %esi X movl 4+12(%esp),%ecx # count X pushl %edi X@@ -269,8 +302,8 @@ acb_CopyLeft: X # void* to, X # size_t count) X .p2align 4,,15 X- .type _Copy_conjoint_jshorts_atomic,@function X-_Copy_conjoint_jshorts_atomic: X+ ELF_TYPE(_Copy_conjoint_jshorts_atomic,@function) X+SYMBOL(_Copy_conjoint_jshorts_atomic): X pushl %esi X movl 4+12(%esp),%ecx # count X pushl %edi X@@ -355,8 +388,8 @@ cs_CopyLeft: X # void* to, X # size_t count) X .p2align 4,,15 X- .type _Copy_arrayof_conjoint_jshorts,@function X-_Copy_arrayof_conjoint_jshorts: X+ ELF_TYPE(_Copy_arrayof_conjoint_jshorts,@function) X+SYMBOL(_Copy_arrayof_conjoint_jshorts): X pushl %esi X movl 4+12(%esp),%ecx # count X pushl %edi X@@ -432,10 +465,10 @@ acs_CopyLeft: X # Equivalent to X # arrayof_conjoint_jints X .p2align 4,,15 X- .type _Copy_conjoint_jints_atomic,@function X- .type _Copy_arrayof_conjoint_jints,@function X-_Copy_conjoint_jints_atomic: X-_Copy_arrayof_conjoint_jints: X+ ELF_TYPE(_Copy_conjoint_jints_atomic,@function) X+ ELF_TYPE(_Copy_arrayof_conjoint_jints,@function) X+SYMBOL(_Copy_conjoint_jints_atomic): X+SYMBOL(_Copy_arrayof_conjoint_jints): X pushl %esi X movl 4+12(%esp),%ecx # count X pushl %edi X@@ -495,7 +528,7 @@ ci_CopyLeft: X # X # count treated as signed X # X- # if (from > to) { X+ # // if (from > to) { X # while (--count >= 0) { X # *to++ = *from++; X # } X@@ -505,8 +538,8 @@ ci_CopyLeft: X # } X # } X .p2align 4,,15 X- .type _Copy_conjoint_jlongs_atomic,@function X-_Copy_conjoint_jlongs_atomic: X+ ELF_TYPE(_Copy_conjoint_jlongs_atomic,@function) X+SYMBOL(_Copy_conjoint_jlongs_atomic): X movl 4+8(%esp),%ecx # count X movl 4+0(%esp),%eax # from X movl 4+4(%esp),%edx # to X@@ -534,8 +567,8 @@ cla_CopyLeft: X # void* to, X # size_t count) X .p2align 4,,15 X- .type _mmx_Copy_arrayof_conjoint_jshorts,@function X-_mmx_Copy_arrayof_conjoint_jshorts: X+ ELF_TYPE(_mmx_Copy_arrayof_conjoint_jshorts,@function) X+SYMBOL(_mmx_Copy_arrayof_conjoint_jshorts): X pushl %esi X movl 4+12(%esp),%ecx X pushl %edi X@@ -633,8 +666,8 @@ mmx_acs_CopyLeft: X # bool is_MP) X # X .p2align 4,,15 X- .type _Atomic_cmpxchg_long,@function X-_Atomic_cmpxchg_long: X+ ELF_TYPE(_Atomic_cmpxchg_long,@function) X+SYMBOL(_Atomic_cmpxchg_long): X # 8(%esp) : return PC X pushl %ebx # 4(%esp) : old %ebx X pushl %edi # 0(%esp) : old %edi Xdiff -uNpr ../orig/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s ./hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s X--- ../orig/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s 2009-05-14 23:40:15.000000000 -0400 X+++ ./hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s 2009-05-14 23:41:33.000000000 -0400 X@@ -23,48 +23,70 @@ X X .ident "@(#)bsd_x86_64.s 1.7 07/05/05 17:04:47 JVM" X X+#ifdef __APPLE__ X+# Darwin uses _ prefixed global symbols X+#define SYMBOL(s) _ ## s X+#define ELF_TYPE(name, description) X+#else X+#define SYMBOL(s) s X+#define ELF_TYPE(name, description) .type name,description X+#endif X+ X+ X # NOTE WELL! The _Copy functions are called directly X # from server-compiler-generated code via CallLeafNoFP, X # which means that they *must* either not use floating X # point or use it in the same manner as does the server X # compiler. X X- .globl _Copy_arrayof_conjoint_bytes X- .globl _Copy_arrayof_conjoint_jshorts X- .globl _Copy_conjoint_jshorts_atomic X- .globl _Copy_arrayof_conjoint_jints X- .globl _Copy_conjoint_jints_atomic X- .globl _Copy_arrayof_conjoint_jlongs X- .globl _Copy_conjoint_jlongs_atomic X+ .globl SYMBOL(_Copy_arrayof_conjoint_bytes) X+ .globl SYMBOL(_Copy_arrayof_conjoint_jshorts) X+ .globl SYMBOL(_Copy_conjoint_jshorts_atomic) X+ .globl SYMBOL(_Copy_arrayof_conjoint_jints) X+ .globl SYMBOL(_Copy_conjoint_jints_atomic) X+ .globl SYMBOL(_Copy_arrayof_conjoint_jlongs) X+ .globl SYMBOL(_Copy_conjoint_jlongs_atomic) X X .text X X- .globl SafeFetch32, Fetch32PFI, Fetch32Resume X+ .globl SYMBOL(SafeFetch32), SYMBOL(Fetch32PFI), SYMBOL(Fetch32Resume) X+#ifdef __APPLE__ X+ .align 4 X+#else X .align 16 X- .type SafeFetch32,@function X+#endif X+ ELF_TYPE(SafeFetch32,@function) X // Prototype: int SafeFetch32 (int * Adr, int ErrValue) X-SafeFetch32: X+SYMBOL(SafeFetch32): X movl %esi, %eax X-Fetch32PFI: X+SYMBOL(Fetch32PFI): X movl (%rdi), %eax X-Fetch32Resume: X+SYMBOL(Fetch32Resume): X ret X X- .globl SafeFetchN, FetchNPFI, FetchNResume X+ .globl SYMBOL(SafeFetchN), SYMBOL(FetchNPFI), SYMBOL(FetchNResume) X+#ifdef __APPLE__ X+ .align 4 X+#else X .align 16 X- .type SafeFetchN,@function X+#endif X+ ELF_TYPE(SafeFetchN,@function) X // Prototype: intptr_t SafeFetchN (intptr_t * Adr, intptr_t ErrValue) X-SafeFetchN: X+SYMBOL(SafeFetchN): X movq %rsi, %rax X-FetchNPFI: X+SYMBOL(FetchNPFI): X movq (%rdi), %rax X-FetchNResume: X+SYMBOL(FetchNResume): X ret X X- .globl SpinPause X- .align 16 X- .type SpinPause,@function X-SpinPause: X+ .globl SYMBOL(SpinPause) X+#ifdef __APPLE__ X+ .align 4 X+#else X+ .align 16 X+#endif X+ ELF_TYPE(SpinPause,@function) X+SYMBOL(SpinPause): X rep X nop X movq $1, %rax X@@ -78,8 +100,8 @@ SpinPause: X # rdx - count, treated as ssize_t X # X .p2align 4,,15 X- .type _Copy_arrayof_conjoint_bytes,@function X-_Copy_arrayof_conjoint_bytes: X+ ELF_TYPE(_Copy_arrayof_conjoint_bytes,@function) X+SYMBOL(_Copy_arrayof_conjoint_bytes): X movq %rdx,%r8 # byte count X shrq $3,%rdx # qword count X cmpq %rdi,%rsi X@@ -180,10 +202,10 @@ acb_CopyLeft: X # rdx - count, treated as ssize_t X # X .p2align 4,,15 X- .type _Copy_arrayof_conjoint_jshorts,@function X- .type _Copy_conjoint_jshorts_atomic,@function X-_Copy_arrayof_conjoint_jshorts: X-_Copy_conjoint_jshorts_atomic: X+ ELF_TYPE(_Copy_arrayof_conjoint_jshorts,@function) X+ ELF_TYPE(_Copy_conjoint_jshorts_atomic,@function) X+SYMBOL(_Copy_arrayof_conjoint_jshorts): X+SYMBOL(_Copy_conjoint_jshorts_atomic): X movq %rdx,%r8 # word count X shrq $2,%rdx # qword count X cmpq %rdi,%rsi X@@ -270,10 +292,10 @@ acs_CopyLeft: X # rdx - count, treated as ssize_t X # X .p2align 4,,15 X- .type _Copy_arrayof_conjoint_jints,@function X- .type _Copy_conjoint_jints_atomic,@function X-_Copy_arrayof_conjoint_jints: X-_Copy_conjoint_jints_atomic: X+ ELF_TYPE(_Copy_arrayof_conjoint_jints,@function) X+ ELF_TYPE(_Copy_conjoint_jints_atomic,@function) X+SYMBOL(_Copy_arrayof_conjoint_jints): X+SYMBOL(_Copy_conjoint_jints_atomic): X movq %rdx,%r8 # dword count X shrq %rdx # qword count X cmpq %rdi,%rsi X@@ -349,10 +371,10 @@ aci_CopyLeft: X # rdx - count, treated as ssize_t X # X .p2align 4,,15 X- .type _Copy_arrayof_conjoint_jlongs,@function X- .type _Copy_conjoint_jlongs_atomic,@function X-_Copy_arrayof_conjoint_jlongs: X-_Copy_conjoint_jlongs_atomic: X+ ELF_TYPE(_Copy_arrayof_conjoint_jlongs,@function) X+ ELF_TYPE(_Copy_conjoint_jlongs_atomic,@function) X+SYMBOL(_Copy_arrayof_conjoint_jlongs): X+SYMBOL(_Copy_conjoint_jlongs_atomic): X cmpq %rdi,%rsi X leaq -8(%rdi,%rdx,8),%rax # from + count*8 - 8 X jbe acl_CopyRight Xdiff -uNpr ../orig/hotspot/src/os_cpu/bsd_x86/vm/bytes_bsd_x86.inline.hpp ./hotspot/src/os_cpu/bsd_x86/vm/bytes_bsd_x86.inline.hpp X--- ../orig/hotspot/src/os_cpu/bsd_x86/vm/bytes_bsd_x86.inline.hpp 2009-05-14 23:40:15.000000000 -0400 X+++ ./hotspot/src/os_cpu/bsd_x86/vm/bytes_bsd_x86.inline.hpp 2009-05-14 23:41:33.000000000 -0400 X@@ -25,7 +25,29 @@ X * X */ X X+#ifndef _ALLBSD_SOURCE X #include X+#endif X+ X+#ifdef __APPLE__ X+#include X+#endif X+ X+#if defined(AMD64) X+# if defined(__APPLE__) X+# define bswap_16(x) OSSwapInt16(x) X+# define bswap_32(x) OSSwapInt32(x) X+# define bswap_64(x) OSSwapInt64(x) X+# elif defined(__OpenBSD__) X+# define bswap_16(x) swap16(x) X+# define bswap_32(x) swap32(x) X+# define bswap_64(x) swap64(x) X+# else X+# define bswap_16(x) __bswap16(x) X+# define bswap_32(x) __bswap32(x) X+# define bswap_64(x) __bswap64(x) X+# endif X+#endif X X // Efficient swapping of data bytes from Java byte X // ordering to native byte ordering and vice versa. Xdiff -uNpr ../orig/hotspot/src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp ./hotspot/src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp X--- ../orig/hotspot/src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp 2009-05-14 23:40:15.000000000 -0400 X+++ ./hotspot/src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp 2009-05-14 23:41:33.000000000 -0400 X@@ -47,23 +47,158 @@ X # include X # include X # include X+#ifndef __OpenBSD__ X # include X-# include X+#endif X+ X+#if defined(_ALLBSD_SOURCE) && !defined(__APPLE__) X+# include X+#endif X X #ifdef AMD64 X-#define REG_SP REG_RSP X-#define REG_PC REG_RIP X-#define REG_FP REG_RBP X #define SPELL_REG_SP "rsp" X #define SPELL_REG_FP "rbp" X #else X-#define REG_SP REG_UESP X-#define REG_PC REG_EIP X-#define REG_FP REG_EBP X #define SPELL_REG_SP "esp" X #define SPELL_REG_FP "ebp" X #endif // AMD64 X X+#ifdef __FreeBSD__ X+# define context_trapno uc_mcontext.mc_trapno X+# ifdef AMD64 X+# define context_pc uc_mcontext.mc_rip X+# define context_sp uc_mcontext.mc_rsp X+# define context_fp uc_mcontext.mc_rbp X+# define context_rip uc_mcontext.mc_rip X+# define context_rsp uc_mcontext.mc_rsp X+# define context_rbp uc_mcontext.mc_rbp X+# define context_rax uc_mcontext.mc_rax X+# define context_rbx uc_mcontext.mc_rbx X+# define context_rcx uc_mcontext.mc_rcx X+# define context_rdx uc_mcontext.mc_rdx X+# define context_rsi uc_mcontext.mc_rsi X+# define context_rdi uc_mcontext.mc_rdi X+# define context_r8 uc_mcontext.mc_r8 X+# define context_r9 uc_mcontext.mc_r9 X+# define context_r10 uc_mcontext.mc_r10 X+# define context_r11 uc_mcontext.mc_r11 X+# define context_r12 uc_mcontext.mc_r12 X+# define context_r13 uc_mcontext.mc_r13 X+# define context_r14 uc_mcontext.mc_r14 X+# define context_r15 uc_mcontext.mc_r15 X+# define context_flags uc_mcontext.mc_flags X+# define context_err uc_mcontext.mc_err X+# else X+# define context_pc uc_mcontext.mc_eip X+# define context_sp uc_mcontext.mc_esp X+# define context_fp uc_mcontext.mc_ebp X+# define context_eip uc_mcontext.mc_eip X+# define context_esp uc_mcontext.mc_esp X+# define context_eax uc_mcontext.mc_eax X+# define context_ebx uc_mcontext.mc_ebx X+# define context_ecx uc_mcontext.mc_ecx X+# define context_edx uc_mcontext.mc_edx X+# define context_ebp uc_mcontext.mc_ebp X+# define context_esi uc_mcontext.mc_esi X+# define context_edi uc_mcontext.mc_edi X+# define context_eflags uc_mcontext.mc_eflags X+# define context_trapno uc_mcontext.mc_trapno X+# endif X+#endif X+ X+#ifdef __APPLE__ X+# if __DARWIN_UNIX03 && (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5) X+ // 10.5 UNIX03 member name prefixes X+ #define DU3_PREFIX(s, m) __ ## s.__ ## m X+# else X+ #define DU3_PREFIX(s, m) s ## . ## m X+# endif X+ X+# ifdef AMD64 X+# define context_pc context_rip X+# define context_sp context_rsp X+# define context_fp context_rbp X+# define context_rip uc_mcontext->DU3_PREFIX(ss,rip) X+# define context_rsp uc_mcontext->DU3_PREFIX(ss,rsp) X+# define context_rax uc_mcontext->DU3_PREFIX(ss,rax) X+# define context_rbx uc_mcontext->DU3_PREFIX(ss,rbx) X+# define context_rcx uc_mcontext->DU3_PREFIX(ss,rcx) X+# define context_rdx uc_mcontext->DU3_PREFIX(ss,rdx) X+# define context_rbp uc_mcontext->DU3_PREFIX(ss,rbp) X+# define context_rsi uc_mcontext->DU3_PREFIX(ss,rsi) X+# define context_rdi uc_mcontext->DU3_PREFIX(ss,rdi) X+# define context_r8 uc_mcontext->DU3_PREFIX(ss,r8) X+# define context_r9 uc_mcontext->DU3_PREFIX(ss,r9) X+# define context_r10 uc_mcontext->DU3_PREFIX(ss,r10) X+# define context_r11 uc_mcontext->DU3_PREFIX(ss,r11) X+# define context_r12 uc_mcontext->DU3_PREFIX(ss,r12) X+# define context_r13 uc_mcontext->DU3_PREFIX(ss,r13) X+# define context_r14 uc_mcontext->DU3_PREFIX(ss,r14) X+# define context_r15 uc_mcontext->DU3_PREFIX(ss,r15) X+# define context_flags uc_mcontext->DU3_PREFIX(ss,rflags) X+# define context_trapno uc_mcontext->DU3_PREFIX(es,trapno) X+# define context_err uc_mcontext->DU3_PREFIX(es,err) X+# else X+# define context_pc context_eip X+# define context_sp context_esp X+# define context_fp context_ebp X+# define context_eip uc_mcontext->DU3_PREFIX(ss,eip) X+# define context_esp uc_mcontext->DU3_PREFIX(ss,esp) X+# define context_eax uc_mcontext->DU3_PREFIX(ss,eax) X+# define context_ebx uc_mcontext->DU3_PREFIX(ss,ebx) X+# define context_ecx uc_mcontext->DU3_PREFIX(ss,ecx) X+# define context_edx uc_mcontext->DU3_PREFIX(ss,edx) X+# define context_ebp uc_mcontext->DU3_PREFIX(ss,ebp) X+# define context_esi uc_mcontext->DU3_PREFIX(ss,esi) X+# define context_edi uc_mcontext->DU3_PREFIX(ss,edi) X+# define context_eflags uc_mcontext->DU3_PREFIX(ss,eflags) X+# define context_trapno uc_mcontext->DU3_PREFIX(es,trapno) X+# endif X+#endif X+ X+#ifdef __OpenBSD__ X+# define context_trapno sc_trapno X+# ifdef AMD64 X+# define context_pc sc_rip X+# define context_sp sc_rsp X+# define context_fp sc_rbp X+# define context_rip sc_rip X+# define context_rsp sc_rsp X+# define context_rbp sc_rbp X+# define context_rax sc_rax X+# define context_rbx sc_rbx X+# define context_rcx sc_rcx X+# define context_rdx sc_rdx X+# define context_rsi sc_rsi X+# define context_rdi sc_rdi X+# define context_r8 sc_r8 X+# define context_r9 sc_r9 X+# define context_r10 sc_r10 X+# define context_r11 sc_r11 X+# define context_r12 sc_r12 X+# define context_r13 sc_r13 X+# define context_r14 sc_r14 X+# define context_r15 sc_r15 X+# define context_flags sc_rflags X+# define context_err sc_err X+# else X+# define context_pc sc_eip X+# define context_sp sc_esp X+# define context_fp sc_ebp X+# define context_eip sc_eip X+# define context_esp sc_esp X+# define context_eax sc_eax X+# define context_ebx sc_ebx X+# define context_ecx sc_ecx X+# define context_edx sc_edx X+# define context_ebp sc_ebp X+# define context_esi sc_esi X+# define context_edi sc_edi X+# define context_eflags sc_eflags X+# define context_trapno sc_trapno X+# endif X+#endif X+ X address os::current_stack_pointer() { X register void *esp __asm__ (SPELL_REG_SP); X return (address) esp; X@@ -82,15 +217,15 @@ void os::initialize_thread() { X } X X address os::Bsd::ucontext_get_pc(ucontext_t * uc) { X- return (address)uc->uc_mcontext.gregs[REG_PC]; X+ return (address)uc->context_pc; X } X X intptr_t* os::Bsd::ucontext_get_sp(ucontext_t * uc) { X- return (intptr_t*)uc->uc_mcontext.gregs[REG_SP]; X+ return (intptr_t*)uc->context_sp; X } X X intptr_t* os::Bsd::ucontext_get_fp(ucontext_t * uc) { X- return (intptr_t*)uc->uc_mcontext.gregs[REG_FP]; X+ return (intptr_t*)uc->context_fp; X } X X // For Forte Analyzer AsyncGetCallTrace profiling support - thread X@@ -237,18 +372,18 @@ JVM_handle_bsd_signal(int sig, X pc = (address) os::Bsd::ucontext_get_pc(uc); X X if (pc == (address) Fetch32PFI) { X- uc->uc_mcontext.gregs[REG_PC] = intptr_t(Fetch32Resume) ; X+ uc->context_pc = intptr_t(Fetch32Resume) ; X return 1 ; X } X #ifdef AMD64 X if (pc == (address) FetchNPFI) { X- uc->uc_mcontext.gregs[REG_PC] = intptr_t (FetchNResume) ; X+ uc->context_pc = intptr_t (FetchNResume) ; X return 1 ; X } X #endif // AMD64 X X // Handle ALL stack overflow variations here X- if (sig == SIGSEGV) { X+ if (sig == SIGSEGV || sig == SIGBUS) { X address addr = (address) info->si_addr; X X // check if fault address is within thread stack X@@ -270,6 +405,7 @@ JVM_handle_bsd_signal(int sig, X // to handle_unexpected_exception way down below. X thread->disable_stack_red_zone(); X tty->print_raw_cr("An irrecoverable stack overflow has occurred."); X+#ifndef _ALLBSD_SOURCE X } else { X // Accessing stack address below sp may cause SEGV if current X // thread has MAP_GROWSDOWN stack. This should only happen when X@@ -285,6 +421,7 @@ JVM_handle_bsd_signal(int sig, X } else { X fatal("recursive segv. expanding stack."); X } X+#endif X } X } X } X@@ -293,9 +430,16 @@ JVM_handle_bsd_signal(int sig, X // Java thread running in Java code => find exception handler if any X // a fault inside compiled code, the interpreter, or a stub X X- if (sig == SIGSEGV && os::is_poll_address((address)info->si_addr)) { X+ if ((sig == SIGSEGV || sig == SIGBUS) && os::is_poll_address((address)info->si_addr)) { X stub = SharedRuntime::get_poll_stub(pc); X+#if defined(__APPLE__) && !defined(AMD64) X+ // 32-bit Darwin reports a SIGBUS for nearly all memory access exceptions. X+ // Catching SIGBUS here prevents the implicit SIGBUS NULL check below from X+ // being called, so only do so if the implicit NULL check is not necessary. X+ } else if (sig == SIGBUS && MacroAssembler::needs_explicit_null_check((int)info->si_addr)) { X+#else X } else if (sig == SIGBUS /* && info->si_code == BUS_OBJERR */) { X+#endif X // BugId 4454115: A read from a MappedByteBuffer can fault X // here if the underlying file has been truncated. X // Do not crash the VM in such a case. X@@ -316,6 +460,28 @@ JVM_handle_bsd_signal(int sig, X pc, X SharedRuntime:: X IMPLICIT_DIVIDE_BY_ZERO); X+#ifdef __APPLE__ X+ } else if (sig == SIGFPE && info->si_code == FPE_NOOP) { X+ int op = pc[0]; X+ X+ // Skip REX X+ if ((pc[0] & 0xf0) == 0x40) { X+ op = pc[1]; X+ } else { X+ op = pc[0]; X+ } X+ X+ // Check for IDIV X+ if (op == 0xF7) { X+ stub = SharedRuntime::continuation_for_implicit_exception(thread, pc, SharedRuntime:: IMPLICIT_DIVIDE_BY_ZERO); X+ } else { X+ // TODO: handle more cases if we are using other x86 instructions X+ // that can generate SIGFPE signal. X+ tty->print_cr("unknown opcode 0x%X with SIGFPE.", op); X+ fatal("please update this code."); X+ } X+#endif /* __APPLE__ */ X+ X #else X if (sig == SIGFPE /* && info->si_code == FPE_INTDIV */) { X // HACK: si_code does not work on bsd 2.2.12-20!!! X@@ -343,7 +509,7 @@ JVM_handle_bsd_signal(int sig, X fatal("please update this code."); X } X #endif // AMD64 X- } else if (sig == SIGSEGV && X+ } else if ((sig == SIGSEGV || sig == SIGBUS) && X !MacroAssembler::needs_explicit_null_check((intptr_t)info->si_addr)) { X // Determination of interpreter/vtable stub/compiled code null exception X stub = SharedRuntime::continuation_for_implicit_exception(thread, pc, SharedRuntime::IMPLICIT_NULL); X@@ -367,7 +533,7 @@ JVM_handle_bsd_signal(int sig, X // process of write protecting the memory serialization page. X // It write enables the page immediately after protecting it X // so we can just return to retry the write. X- if ((sig == SIGSEGV) && X+ if ((sig == SIGSEGV || sig == SIGBUS) && X os::is_memory_serialize_page(thread, (address) info->si_addr)) { X // Block current thread until the memory serialize page permission restored. X os::block_on_serialize_page_trap(); X@@ -388,7 +554,7 @@ JVM_handle_bsd_signal(int sig, X // Furthermore, a false-positive should be harmless. X if (UnguardOnExecutionViolation > 0 && X (sig == SIGSEGV || sig == SIGBUS) && X- uc->uc_mcontext.gregs[REG_TRAPNO] == trap_page_fault) { X+ uc->context_trapno == trap_page_fault) { X int page_size = os::vm_page_size(); X address addr = (address) info->si_addr; X address pc = os::Bsd::ucontext_get_pc(uc); X@@ -457,7 +623,7 @@ JVM_handle_bsd_signal(int sig, X // save all thread context in case we need to restore it X if (thread != NULL) thread->set_saved_exception_pc(pc); X X- uc->uc_mcontext.gregs[REG_PC] = (greg_t)stub; X+ uc->context_pc = (intptr_t)stub; X return true; X } X X@@ -487,13 +653,24 @@ JVM_handle_bsd_signal(int sig, X ShouldNotReachHere(); X } X X+#ifdef _ALLBSD_SOURCE X+// From solaris_i486.s ported to bsd_i486.s X+extern "C" void fixcw(); X+#endif X+ X void os::Bsd::init_thread_fpu_state(void) { X #ifndef AMD64 X+# ifdef _ALLBSD_SOURCE X+ // Set fpu to 53 bit precision. This happens too early to use a stub. X+ fixcw(); X+# else X // set fpu to 53 bit precision X set_fpu_control_word(0x27f); X+# endif X #endif // !AMD64 X } X X+#ifndef _ALLBSD_SOURCE X int os::Bsd::get_fpu_control_word(void) { X #ifdef AMD64 X return 0; X@@ -509,11 +686,12 @@ void os::Bsd::set_fpu_control_word(int f X _FPU_SETCW(fpu_control); X #endif // !AMD64 X } X+#endif X X // Check that the bsd kernel version is 2.4 or higher since earlier X // versions do not support SSE without patches. X bool os::supports_sse() { X-#ifdef AMD64 X+#if defined(AMD64) || defined(_ALLBSD_SOURCE) X return true; X #else X struct utsname uts; X@@ -565,8 +743,11 @@ size_t os::Bsd::min_stack_allowed = (4 X X #define GET_GS() ({int gs; __asm__ volatile("movw %%gs, %w0":"=q"(gs)); gs&0xffff;}) X X+#ifdef _ALLBSD_SOURCE X+bool os::Bsd::supports_variable_stack_size() { return true; } X+#else X // Test if pthread library can support variable thread stack size. BsdThreads X-// in fixed stack mode allocates 2M fixed slot for each thread. BsdThreads X+// in fixed stack mode allocates 2M fixed slot for each thread. BsdThreads X // in floating stack mode and NPTL support variable stack size. X bool os::Bsd::supports_variable_stack_size() { X if (os::Bsd::is_NPTL()) { X@@ -597,6 +778,7 @@ bool os::Bsd::supports_variable_stack_si X return (GET_GS() != 0); X } X } X+#endif X #endif // AMD64 X X // return default stack size for thr_type X@@ -650,6 +832,41 @@ size_t os::Bsd::default_guard_size(os::T X // pthread_attr_getstack() X X static void current_stack_region(address * bottom, size_t * size) { X+#ifdef __APPLE__ X+ pthread_t self = pthread_self(); X+ void *stacktop = pthread_get_stackaddr_np(self); X+ *size = pthread_get_stacksize_np(self); X+ *bottom = (address) stacktop - *size; X+#elif defined(__OpenBSD__) X+ stack_t ss; X+ int rslt = pthread_stackseg_np(pthread_self(), &ss); X+ X+ if (rslt != 0) X+ fatal1("pthread_stackseg_np failed with err = %d", rslt); X+ X+ *bottom = (address)((char *)ss.ss_sp - ss.ss_size); X+ *size = ss.ss_size; X+#elif defined(_ALLBSD_SOURCE) X+ pthread_attr_t attr; X+ X+ int rslt = pthread_attr_init(&attr); X+ X+ // JVM needs to know exact stack location, abort if it fails X+ if (rslt != 0) X+ fatal1("pthread_attr_init failed with err = %d", rslt); X+ X+ rslt = pthread_attr_get_np(pthread_self(), &attr); X+ X+ if (rslt != 0) X+ fatal1("pthread_attr_get_np failed with err = %d", rslt); X+ X+ if (pthread_attr_getstackaddr(&attr, (void **)bottom) != 0 || X+ pthread_attr_getstacksize(&attr, size) != 0) { X+ fatal("Can not locate current stack attributes!"); X+ } X+ X+ pthread_attr_destroy(&attr); X+#else X if (os::Bsd::is_initial_thread()) { X // initial thread needs special handling because pthread_getattr_np() X // may return bogus value. X@@ -676,6 +893,7 @@ static void current_stack_region(address X pthread_attr_destroy(&attr); X X } X+#endif X assert(os::current_stack_pointer() >= *bottom && X os::current_stack_pointer() < *bottom + *size, "just checking"); X } X@@ -704,46 +922,44 @@ void os::print_context(outputStream *st, X ucontext_t *uc = (ucontext_t*)context; X st->print_cr("Registers:"); X #ifdef AMD64 X- st->print( "RAX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RAX]); X- st->print(", RBX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RBX]); X- st->print(", RCX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RCX]); X- st->print(", RDX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RDX]); X+ st->print( "RAX=" INTPTR_FORMAT, uc->context_rax); X+ st->print(", RBX=" INTPTR_FORMAT, uc->context_rbx); X+ st->print(", RCX=" INTPTR_FORMAT, uc->context_rcx); X+ st->print(", RDX=" INTPTR_FORMAT, uc->context_rdx); X st->cr(); X- st->print( "RSP=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RSP]); X- st->print(", RBP=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RBP]); X- st->print(", RSI=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RSI]); X- st->print(", RDI=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RDI]); X+ st->print( "RSP=" INTPTR_FORMAT, uc->context_rsp); X+ st->print(", RBP=" INTPTR_FORMAT, uc->context_rbp); X+ st->print(", RSI=" INTPTR_FORMAT, uc->context_rsi); X+ st->print(", RDI=" INTPTR_FORMAT, uc->context_rdi); X st->cr(); X- st->print( "R8 =" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R8]); X- st->print(", R9 =" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R9]); X- st->print(", R10=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R10]); X- st->print(", R11=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R11]); X+ st->print( "R8 =" INTPTR_FORMAT, uc->context_r8); X+ st->print(", R9 =" INTPTR_FORMAT, uc->context_r9); X+ st->print(", R10=" INTPTR_FORMAT, uc->context_r10); X+ st->print(", R11=" INTPTR_FORMAT, uc->context_r11); X st->cr(); X- st->print( "R12=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R12]); X- st->print(", R13=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R13]); X- st->print(", R14=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R14]); X- st->print(", R15=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_R15]); X+ st->print( "R12=" INTPTR_FORMAT, uc->context_r12); X+ st->print(", R13=" INTPTR_FORMAT, uc->context_r13); X+ st->print(", R14=" INTPTR_FORMAT, uc->context_r14); X+ st->print(", R15=" INTPTR_FORMAT, uc->context_r15); X st->cr(); X- st->print( "RIP=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_RIP]); X- st->print(", EFL=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_EFL]); X- st->print(", CSGSFS=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_CSGSFS]); X- st->print(", ERR=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_ERR]); X+ st->print( "RIP=" INTPTR_FORMAT, uc->context_rip); X+ st->print(", EFL=" INTPTR_FORMAT, uc->context_flags); X+ st->print(", ERR=" INTPTR_FORMAT, uc->context_err); X st->cr(); X- st->print(" TRAPNO=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_TRAPNO]); X+ st->print(" TRAPNO=" INTPTR_FORMAT, uc->context_trapno); X #else X- st->print( "EAX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_EAX]); X- st->print(", EBX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_EBX]); X- st->print(", ECX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_ECX]); X- st->print(", EDX=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_EDX]); X+ st->print( "EAX=" INTPTR_FORMAT, uc->context_eax); X+ st->print(", EBX=" INTPTR_FORMAT, uc->context_ebx); X+ st->print(", ECX=" INTPTR_FORMAT, uc->context_ecx); X+ st->print(", EDX=" INTPTR_FORMAT, uc->context_edx); X st->cr(); X- st->print( "ESP=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_UESP]); X- st->print(", EBP=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_EBP]); X- st->print(", ESI=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_ESI]); X- st->print(", EDI=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_EDI]); X+ st->print( "ESP=" INTPTR_FORMAT, uc->context_esp); X+ st->print(", EBP=" INTPTR_FORMAT, uc->context_ebp); X+ st->print(", ESI=" INTPTR_FORMAT, uc->context_esi); X+ st->print(", EDI=" INTPTR_FORMAT, uc->context_edi); X st->cr(); X- st->print( "EIP=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_EIP]); X- st->print(", CR2=" INTPTR_FORMAT, uc->uc_mcontext.cr2); X- st->print(", EFLAGS=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_EFL]); X+ st->print( "EIP=" INTPTR_FORMAT, uc->context_eip); X+ st->print(", EFLAGS=" INTPTR_FORMAT, uc->context_eflags); X #endif // AMD64 X st->cr(); X st->cr(); Xdiff -uNpr ../orig/hotspot/src/os_cpu/bsd_x86/vm/threadLS_bsd_x86.hpp ./hotspot/src/os_cpu/bsd_x86/vm/threadLS_bsd_x86.hpp X--- ../orig/hotspot/src/os_cpu/bsd_x86/vm/threadLS_bsd_x86.hpp 2009-05-14 23:40:15.000000000 -0400 X+++ ./hotspot/src/os_cpu/bsd_x86/vm/threadLS_bsd_x86.hpp 2009-05-14 23:41:33.000000000 -0400 X@@ -30,8 +30,10 @@ X #ifndef AMD64 X // map stack pointer to thread pointer - see notes in threadLS_bsd_x86.cpp X #define SP_BITLENGTH 32 X+#ifndef PAGE_SHIFT X #define PAGE_SHIFT 12 X #define PAGE_SIZE (1UL << PAGE_SHIFT) X+#endif X static Thread* _sp_map[1UL << (SP_BITLENGTH - PAGE_SHIFT)]; X #endif // !AMD64 X Xdiff -uNpr ../orig/hotspot/src/os_cpu/bsd_x86/vm/vmStructs_bsd_x86.hpp ./hotspot/src/os_cpu/bsd_x86/vm/vmStructs_bsd_x86.hpp X--- ../orig/hotspot/src/os_cpu/bsd_x86/vm/vmStructs_bsd_x86.hpp 2009-05-14 23:40:15.000000000 -0400 X+++ ./hotspot/src/os_cpu/bsd_x86/vm/vmStructs_bsd_x86.hpp 2009-05-14 23:41:33.000000000 -0400 X@@ -34,7 +34,7 @@ X /******************************/ \ X /* Threads (NOTE: incomplete) */ \ X /******************************/ \ X- nonstatic_field(OSThread, _thread_id, pid_t) \ X+ nonstatic_field(OSThread, _thread_id, pthread_t) \ X nonstatic_field(OSThread, _pthread_id, pthread_t) \ X /* This must be the last entry, and must be present */ \ X last_entry() Xdiff -uNpr ../orig/hotspot/src/share/vm/adlc/adlc.hpp ./hotspot/src/share/vm/adlc/adlc.hpp X--- ../orig/hotspot/src/share/vm/adlc/adlc.hpp 2009-04-24 03:30:54.000000000 -0400 X+++ ./hotspot/src/share/vm/adlc/adlc.hpp 2009-05-14 23:41:33.000000000 -0400 X@@ -76,9 +76,9 @@ typedef unsigned int uintptr_t; X #endif X #endif // _WIN32 X X-#ifdef LINUX X+#if defined(LINUX) || defined(_ALLBSD_SOURCE) X #include X-#endif // LINUX X+#endif // LINUX || _ALLBSD_SOURCE X X // Macros X #define uint32 unsigned int Xdiff -uNpr ../orig/hotspot/src/share/vm/ci/ciMethodBlocks.cpp ./hotspot/src/share/vm/ci/ciMethodBlocks.cpp X--- ../orig/hotspot/src/share/vm/ci/ciMethodBlocks.cpp 2009-04-24 03:30:54.000000000 -0400 X+++ ./hotspot/src/share/vm/ci/ciMethodBlocks.cpp 2009-05-14 23:41:34.000000000 -0400 X@@ -321,7 +321,7 @@ void ciBlock::set_exception_range(int st X } X X #ifndef PRODUCT X-static char *flagnames[] = { X+static const char *flagnames[] = { X "Processed", X "Handler", X "MayThrow", Xdiff -uNpr ../orig/hotspot/src/share/vm/gc_implementation/includeDB_gc_concurrentMarkSweep ./hotspot/src/share/vm/gc_implementation/includeDB_gc_concurrentMarkSweep X--- ../orig/hotspot/src/share/vm/gc_implementation/includeDB_gc_concurrentMarkSweep 2009-04-24 03:30:55.000000000 -0400 X+++ ./hotspot/src/share/vm/gc_implementation/includeDB_gc_concurrentMarkSweep 2009-05-14 23:41:33.000000000 -0400 X@@ -28,6 +28,7 @@ binaryTreeDictionary.cpp X binaryTreeDictionary.cpp binaryTreeDictionary.hpp X binaryTreeDictionary.cpp globals.hpp X binaryTreeDictionary.cpp ostream.hpp X+binaryTreeDictionary.cpp space.inline.hpp X X binaryTreeDictionary.hpp freeBlockDictionary.hpp X binaryTreeDictionary.hpp freeList.hpp Xdiff -uNpr ../orig/hotspot/src/share/vm/gc_implementation/includeDB_gc_parNew ./hotspot/src/share/vm/gc_implementation/includeDB_gc_parNew X--- ../orig/hotspot/src/share/vm/gc_implementation/includeDB_gc_parNew 2009-04-24 03:30:55.000000000 -0400 X+++ ./hotspot/src/share/vm/gc_implementation/includeDB_gc_parNew 2009-05-14 23:41:33.000000000 -0400 X@@ -30,6 +30,8 @@ asParNewGeneration.cpp cmsAdaptiveSize X asParNewGeneration.cpp cmsGCAdaptivePolicyCounters.hpp X asParNewGeneration.cpp defNewGeneration.inline.hpp X asParNewGeneration.cpp oop.pcgc.inline.hpp X+asParNewGeneration.cpp markOop.inline.hpp X+asParNewGeneration.cpp markSweep.inline.hpp X asParNewGeneration.cpp parNewGeneration.hpp X asParNewGeneration.cpp referencePolicy.hpp X X@@ -39,7 +41,7 @@ parCardTableModRefBS.cpp X parCardTableModRefBS.cpp java.hpp X parCardTableModRefBS.cpp mutexLocker.hpp X parCardTableModRefBS.cpp sharedHeap.hpp X-parCardTableModRefBS.cpp space.hpp X+parCardTableModRefBS.cpp space.inline.hpp X parCardTableModRefBS.cpp universe.hpp X parCardTableModRefBS.cpp virtualspace.hpp X Xdiff -uNpr ../orig/hotspot/src/share/vm/gc_implementation/includeDB_gc_parallelScavenge ./hotspot/src/share/vm/gc_implementation/includeDB_gc_parallelScavenge X--- ../orig/hotspot/src/share/vm/gc_implementation/includeDB_gc_parallelScavenge 2009-04-24 03:30:55.000000000 -0400 X+++ ./hotspot/src/share/vm/gc_implementation/includeDB_gc_parallelScavenge 2009-05-14 23:41:33.000000000 -0400 X@@ -302,6 +302,8 @@ psPermGen.cpp X psPermGen.cpp psMarkSweepDecorator.hpp X psPermGen.cpp psParallelCompact.hpp X psPermGen.cpp psPermGen.hpp X+psPermGen.cpp markOop.inline.hpp X+psPermGen.cpp markSweep.inline.hpp X X psPermGen.hpp psOldGen.hpp X Xdiff -uNpr ../orig/hotspot/src/share/vm/includeDB_compiler2 ./hotspot/src/share/vm/includeDB_compiler2 X--- ../orig/hotspot/src/share/vm/includeDB_compiler2 2009-04-24 03:30:55.000000000 -0400 X+++ ./hotspot/src/share/vm/includeDB_compiler2 2009-05-14 23:41:33.000000000 -0400 X@@ -140,6 +140,7 @@ c2_globals_.hpp X c2_globals_.hpp macros.hpp X X c2_init_.cpp compile.hpp X+c2_init_.cpp node.hpp X X c2compiler.cpp ad_.hpp X c2compiler.cpp c2compiler.hpp X@@ -833,6 +834,7 @@ parseHelper.cpp X phase.cpp compile.hpp X phase.cpp compileBroker.hpp X phase.cpp nmethod.hpp X+phase.cpp node.hpp X phase.cpp phase.hpp X X phase.hpp port.hpp Xdiff -uNpr ../orig/hotspot/src/share/vm/includeDB_core ./hotspot/src/share/vm/includeDB_core X--- ../orig/hotspot/src/share/vm/includeDB_core 2009-04-24 03:30:55.000000000 -0400 X+++ ./hotspot/src/share/vm/includeDB_core 2009-05-14 23:41:33.000000000 -0400 X@@ -476,7 +476,7 @@ cardTableModRefBS.cpp X cardTableModRefBS.cpp java.hpp X cardTableModRefBS.cpp mutexLocker.hpp X cardTableModRefBS.cpp sharedHeap.hpp X-cardTableModRefBS.cpp space.hpp X+cardTableModRefBS.cpp space.inline.hpp X cardTableModRefBS.cpp universe.hpp X cardTableModRefBS.cpp virtualspace.hpp X X@@ -1978,7 +1978,7 @@ instanceKlass.cpp X instanceKlass.cpp vmSymbols.hpp X X instanceKlass.hpp accessFlags.hpp X-instanceKlass.hpp bitMap.hpp X+instanceKlass.hpp bitMap.inline.hpp X instanceKlass.hpp constMethodOop.hpp X instanceKlass.hpp constantPoolOop.hpp X instanceKlass.hpp handles.hpp Xdiff -uNpr ../orig/hotspot/src/share/vm/includeDB_features ./hotspot/src/share/vm/includeDB_features X--- ../orig/hotspot/src/share/vm/includeDB_features 2009-04-24 03:30:55.000000000 -0400 X+++ ./hotspot/src/share/vm/includeDB_features 2009-05-14 23:41:33.000000000 -0400 X@@ -58,6 +58,8 @@ dump.cpp X X dump_.cpp assembler_.inline.hpp X dump_.cpp compactingPermGenGen.hpp X+dump_.cpp generation.inline.hpp X+dump_.cpp space.inline.hpp X X forte.cpp collectedHeap.inline.hpp X forte.cpp debugInfoRec.hpp Xdiff -uNpr ../orig/hotspot/src/share/vm/interpreter/bytecodeTracer.cpp ./hotspot/src/share/vm/interpreter/bytecodeTracer.cpp X--- ../orig/hotspot/src/share/vm/interpreter/bytecodeTracer.cpp 2009-04-24 03:30:55.000000000 -0400 X+++ ./hotspot/src/share/vm/interpreter/bytecodeTracer.cpp 2009-05-14 23:41:33.000000000 -0400 X@@ -77,7 +77,7 @@ class BytecodePrinter: public BytecodeCl X // the incoming method. We could lose a line of trace output. X // This is acceptable in a debug-only feature. X st->cr(); X- st->print("[%d] ", (int) Thread::current()->osthread()->thread_id()); X+ st->print("[%ld] ", (long) Thread::current()->osthread()->thread_id()); X method->print_name(st); X st->cr(); X _current_method = method(); X@@ -90,7 +90,7 @@ class BytecodePrinter: public BytecodeCl X code = Bytecodes::code_at(bcp); X } X int bci = bcp - method->code_base(); X- st->print("[%d] ", (int) Thread::current()->osthread()->thread_id()); X+ st->print("[%ld] ", (long) Thread::current()->osthread()->thread_id()); X if (Verbose) { X st->print("%8d %4d " INTPTR_FORMAT " " INTPTR_FORMAT " %s", X BytecodeCounter::counter_value(), bci, tos, tos2, Bytecodes::name(code)); Xdiff -uNpr ../orig/hotspot/src/share/vm/opto/escape.cpp ./hotspot/src/share/vm/opto/escape.cpp X--- ../orig/hotspot/src/share/vm/opto/escape.cpp 2009-04-24 03:30:56.000000000 -0400 X+++ ./hotspot/src/share/vm/opto/escape.cpp 2009-05-14 23:41:34.000000000 -0400 X@@ -54,21 +54,21 @@ void PointsToNode::remove_edge(uint targ X } X X #ifndef PRODUCT X-static char *node_type_names[] = { X+static const char *node_type_names[] = { X "UnknownType", X "JavaObject", X "LocalVar", X "Field" X }; X X-static char *esc_names[] = { X+static const char *esc_names[] = { X "UnknownEscape", X "NoEscape ", X "ArgEscape ", X "GlobalEscape " X }; X X-static char *edge_type_suffix[] = { X+static const char *edge_type_suffix[] = { X "?", // UnknownEdge X "P", // PointsToEdge X "D", // DeferredEdge Xdiff -uNpr ../orig/hotspot/src/share/vm/prims/forte.cpp ./hotspot/src/share/vm/prims/forte.cpp X--- ../orig/hotspot/src/share/vm/prims/forte.cpp 2009-04-24 03:30:56.000000000 -0400 X+++ ./hotspot/src/share/vm/prims/forte.cpp 2009-05-14 23:41:33.000000000 -0400 X@@ -872,6 +872,11 @@ void AsyncGetCallTrace(ASGCT_CallTrace * X // Method to let libcollector know about a dynamically loaded function. X // Because it is weakly bound, the calls become NOP's when the library X // isn't present. X+#ifdef __APPLE__ X+// XXXDARWIN: Link errors occur even when __attribute__((weak_import)) X+// is added X+#define collector_func_load(x0,x1,x2,x3,x4,x5,x6) (0) X+#else X void collector_func_load(char* name, X void* null_argument_1, X void* null_argument_2, X@@ -882,6 +887,7 @@ void collector_func_load(char* name, X #pragma weak collector_func_load X #define collector_func_load(x0,x1,x2,x3,x4,x5,x6) \ X ( collector_func_load ? collector_func_load(x0,x1,x2,x3,x4,x5,x6),0 : 0 ) X+#endif // __APPLE__ X #endif // !_WINDOWS X X } // end extern "C" Xdiff -uNpr ../orig/hotspot/src/share/vm/runtime/globals.hpp ./hotspot/src/share/vm/runtime/globals.hpp X--- ../orig/hotspot/src/share/vm/runtime/globals.hpp 2009-04-24 03:30:56.000000000 -0400 X+++ ./hotspot/src/share/vm/runtime/globals.hpp 2009-05-14 23:41:33.000000000 -0400 X@@ -294,7 +294,7 @@ class CommandLineFlags { X /* UseMembar is theoretically a temp flag used for memory barrier \ X * removal testing. It was supposed to be removed before FCS but has \ X * been re-added (see 6401008) */ \ X- product(bool, UseMembar, false, \ X+ product(bool, UseMembar, true, \ X "(Unstable) Issues membars on thread state transitions") \ X \ X product(bool, PrintCommandLineFlags, false, \ Xdiff -uNpr ../orig/hotspot/src/share/vm/runtime/os.cpp ./hotspot/src/share/vm/runtime/os.cpp X--- ../orig/hotspot/src/share/vm/runtime/os.cpp 2009-04-24 03:30:57.000000000 -0400 X+++ ./hotspot/src/share/vm/runtime/os.cpp 2009-05-14 23:41:33.000000000 -0400 X@@ -155,7 +155,11 @@ char* os::iso8601_time(char* buffer, siz X } X // Save the results of localtime X const struct tm time_struct = *time_struct_temp; X+#if defined(_ALLBSD_SOURCE) X+ const time_t zone = (time_t) time_struct_temp->tm_gmtoff; X+#else X const time_t zone = timezone; X+#endif X X // If daylight savings time is in effect, X // we are 1 hour East of our time zone Xdiff -uNpr ../orig/hotspot/src/share/vm/runtime/vm_version.cpp ./hotspot/src/share/vm/runtime/vm_version.cpp X--- ../orig/hotspot/src/share/vm/runtime/vm_version.cpp 2009-04-24 03:30:57.000000000 -0400 X+++ ./hotspot/src/share/vm/runtime/vm_version.cpp 2009-05-14 23:41:33.000000000 -0400 X@@ -141,7 +141,8 @@ const char* Abstract_VM_Version::vm_rele X X #define OS LINUX_ONLY("linux") \ X WINDOWS_ONLY("windows") \ X- SOLARIS_ONLY("solaris") X+ SOLARIS_ONLY("solaris") \ X+ BSD_ONLY("bsd") X X #define CPU IA32_ONLY("x86") \ X IA64_ONLY("ia64") \ Xdiff -uNpr ../orig/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp ./hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp X--- ../orig/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp 2009-04-24 03:30:57.000000000 -0400 X+++ ./hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp 2009-05-14 23:41:33.000000000 -0400 X@@ -74,12 +74,25 @@ X # include X # endif X X-#ifdef LINUX X+#if defined(LINUX) || defined(_ALLBSD_SOURCE) X #include X #include X+#ifndef __OpenBSD__ X #include X+#endif X+#ifdef __APPLE__ X+ #include X+ #if (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4) X+ // Mac OS X 10.4 defines EFL_AC and EFL_ID, X+ // which conflict with hotspot variable names. X+ // X+ // This has been fixed in Mac OS X 10.5. X+ #undef EFL_AC X+ #undef EFL_ID X+ #endif X+#endif X #include X-#endif // LINUX X+#endif // LINUX || _ALLBSD_SOURCE X X // 4810578: varargs unsafe on 32-bit integer/64-bit pointer architectures X // When __cplusplus is defined, NULL is defined as 0 (32-bit constant) in X@@ -115,17 +128,20 @@ X // pointer is stored as integer value. On some platforms, sizeof(intptr_t) > X // sizeof(void*), so here we want something which is integer type, but has the X // same size as a pointer. X-#ifdef LINUX X+#ifdef __GNUC__ X #ifdef _LP64 X #define NULL_WORD 0L X #else X- #define NULL_WORD 0 X+ // Cast 0 to intptr_t rather than int32_t since they are not the same type X+ // on platforms such as Mac OS X. X+ #define NULL_WORD ((intptr_t)0) X #endif X #else X #define NULL_WORD NULL X #endif X X-#ifndef LINUX X+ X+#if !defined(LINUX) && !defined(_ALLBSD_SOURCE) X // Compiler-specific primitive types X typedef unsigned short uint16_t; X #ifndef _UINT32_T X@@ -145,7 +161,7 @@ typedef unsigned int uintptr_t; X // prior definition of intptr_t, and add "&& !defined(XXX)" above. X #endif // _SYS_INT_TYPES_H X X-#endif // !LINUX X+#endif // !LINUX && !_ALLBSD_SOURCE X X // Additional Java basic types X X@@ -229,7 +245,9 @@ inline int g_isnan(float f) { return is X inline int g_isnan(float f) { return isnand(f); } X #endif X inline int g_isnan(double f) { return isnand(f); } X-#elif LINUX X+#elif defined(__APPLE__) X+inline int g_isnan(double f) { return isnan(f); } X+#elif defined(LINUX) || defined(_ALLBSD_SOURCE) X inline int g_isnan(float f) { return isnanf(f); } X inline int g_isnan(double f) { return isnan(f); } X #else Xdiff -uNpr ../orig/hotspot/src/share/vm/utilities/macros.hpp ./hotspot/src/share/vm/utilities/macros.hpp X--- ../orig/hotspot/src/share/vm/utilities/macros.hpp 2009-04-24 03:30:57.000000000 -0400 X+++ ./hotspot/src/share/vm/utilities/macros.hpp 2009-05-14 23:41:33.000000000 -0400 X@@ -147,6 +147,16 @@ X #define NOT_WINDOWS(code) code X #endif X X+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) X+#define BSD_ONLY(code) code X+#define NOT_BSD(code) X+#else X+#define BSD_ONLY(code) X+#define NOT_BSD(code) code X+#endif X+ X+ X+ X #ifdef IA32 X #define IA32_ONLY(code) code X #define NOT_IA32(code) Xdiff -uNpr ../orig/hotspot/src/share/vm/utilities/ostream.cpp ./hotspot/src/share/vm/utilities/ostream.cpp X--- ../orig/hotspot/src/share/vm/utilities/ostream.cpp 2009-04-24 03:30:57.000000000 -0400 X+++ ./hotspot/src/share/vm/utilities/ostream.cpp 2009-05-14 23:41:34.000000000 -0400 X@@ -780,7 +780,7 @@ bufferedStream::~bufferedStream() { X X #ifndef PRODUCT X X-#if defined(SOLARIS) || defined(LINUX) X+#if defined(SOLARIS) || defined(LINUX) || defined(_ALLBSD_SOURCE) X #include X #include X #include X@@ -832,7 +832,7 @@ bool networkStream::connect(const char * X server.sin_port = htons(port); X X server.sin_addr.s_addr = inet_addr(ip); X- if (server.sin_addr.s_addr == (unsigned long)-1) { X+ if (server.sin_addr.s_addr == (uint32_t)-1) { X #ifdef _WINDOWS X struct hostent* host = hpi::get_host_by_name((char*)ip); X #else Xdiff -uNpr ../orig/hotspot/src/share/vm/utilities/vmError.cpp ./hotspot/src/share/vm/utilities/vmError.cpp X--- ../orig/hotspot/src/share/vm/utilities/vmError.cpp 2009-04-24 03:30:57.000000000 -0400 X+++ ./hotspot/src/share/vm/utilities/vmError.cpp 2009-05-14 23:41:33.000000000 -0400 X@@ -34,13 +34,18 @@ const char *env_list[] = { X "JAVA_HOME", "JRE_HOME", "JAVA_TOOL_OPTIONS", "_JAVA_OPTIONS", "CLASSPATH", X "JAVA_COMPILER", "PATH", "USERNAME", X X- // Env variables that are defined on Solaris/Linux X+ // Env variables that are defined on Solaris/Linux/BSD X "LD_LIBRARY_PATH", "LD_PRELOAD", "SHELL", "DISPLAY", X "HOSTTYPE", "OSTYPE", "ARCH", "MACHTYPE", X X // defined on Linux X "LD_ASSUME_KERNEL", "_JAVA_SR_SIGNUM", X X+ // defined on Darwin X+ "DYLD_LIBRARY_PATH", "DYLD_FALLBACK_LIBRARY_PATH", X+ "DYLD_FRAMEWORK_PATH", "DYLD_FALLBACK_FRAMEWORK_PATH", X+ "DYLD_INSERT_LIBRARIES", X+ X // defined on Windows X "OS", "PROCESSOR_IDENTIFIER", "_ALT_JAVA_HOME_DIR", X X@@ -673,6 +678,11 @@ void VMError::report_and_die() { X reset_signal_handlers(); X X } else { X+ // If UseOsErrorReporting we call this for each level of the call stack X+ // while searching for the exception handler. Only the first level needs X+ // to be reported. X+ if (UseOSErrorReporting && log_done) return; X+ X // This is not the first error, see if it happened in a different thread X // or in the same thread during error reporting. X if (first_error_tid != mytid) { X@@ -793,7 +803,7 @@ void VMError::report_and_die() { X const char* ptr = OnError; X while ((cmd = next_OnError_command(buffer, sizeof(buffer), &ptr)) != NULL){ X out.print_raw ("# Executing "); X-#if defined(LINUX) X+#if defined(LINUX) || defined(_ALLBSD_SOURCE) X out.print_raw ("/bin/sh -c "); X #elif defined(SOLARIS) X out.print_raw ("/usr/bin/sh -c "); Xdiff -uNpr ../orig/jdk/make/com/sun/java/pack/Makefile ./jdk/make/com/sun/java/pack/Makefile X--- ../orig/jdk/make/com/sun/java/pack/Makefile 2009-04-24 03:33:54.000000000 -0400 X+++ ./jdk/make/com/sun/java/pack/Makefile 2009-05-14 23:41:33.000000000 -0400 X@@ -61,6 +61,7 @@ vpath %.cpp $(SHARE_SRC)/native/$(PKGDIR X X X ifeq ($(STANDALONE),true) X+ ifneq ($(SYSTEM_ZLIB),true) X ZIPOBJDIR = $(OUTPUTDIR)/tmp/sun/java.util.zip/zip/$(OBJDIRNAME) X X ZIPOBJS = $(ZIPOBJDIR)/zcrc32.$(OBJECT_SUFFIX) \ X@@ -78,6 +79,10 @@ ifeq ($(STANDALONE),true) X ZINCLUDE=-I$(SHARE_SRC)/native/java/util/zip/zlib-1.1.3 X OTHER_CXXFLAGS += $(ZINCLUDE) X LDDFLAGS += $(ZIPOBJS) X+ else X+ LDDFLAGS += -lz X+ OTHER_CXXFLAGS += -DSYSTEM_ZLIB X+ endif X else X OTHER_CXXFLAGS += -DNO_ZLIB -DUNPACK_JNI X OTHER_LDLIBS += $(JVMLIB) X@@ -102,7 +107,11 @@ ifeq ($(PLATFORM), windows) X COMPILER_WARNINGS_FATAL=false X else X LDOUTPUT = -o #Have a space X+ifeq ($(PLATFORM), bsd) X+ LDDFLAGS += -pthread X+else X LDDFLAGS += -lc X+endif X OTHER_LDLIBS += $(LIBCXX) X # setup the list of libraries to link in... X ifeq ($(PLATFORM), linux) Xdiff -uNpr ../orig/jdk/make/com/sun/security/auth/module/Makefile ./jdk/make/com/sun/security/auth/module/Makefile X--- ../orig/jdk/make/com/sun/security/auth/module/Makefile 2009-04-24 03:33:54.000000000 -0400 X+++ ./jdk/make/com/sun/security/auth/module/Makefile 2009-05-14 23:41:33.000000000 -0400 X@@ -70,7 +70,7 @@ ifeq ($(PLATFORM), solaris) X include FILES_c_solaris.gmk X endif # solaris X X-ifeq ($(PLATFORM), linux) X+ifneq (,$(findstring $(PLATFORM), linux bsd)) X LIBRARY = jaas_unix X include FILES_export_unix.gmk X include FILES_c_unix.gmk Xdiff -uNpr ../orig/jdk/make/com/sun/tools/attach/Exportedfiles.gmk ./jdk/make/com/sun/tools/attach/Exportedfiles.gmk X--- ../orig/jdk/make/com/sun/tools/attach/Exportedfiles.gmk 2009-04-24 03:33:54.000000000 -0400 X+++ ./jdk/make/com/sun/tools/attach/Exportedfiles.gmk 2009-05-14 23:41:34.000000000 -0400 X@@ -43,5 +43,7 @@ FILES_export = \ X sun/tools/attach/LinuxVirtualMachine.java X endif X X- X- X+ifeq ($(PLATFORM), bsd) X+FILES_export = \ X+ sun/tools/attach/BsdVirtualMachine.java X+endif Xdiff -uNpr ../orig/jdk/make/com/sun/tools/attach/FILES_c.gmk ./jdk/make/com/sun/tools/attach/FILES_c.gmk X--- ../orig/jdk/make/com/sun/tools/attach/FILES_c.gmk 2009-04-24 03:33:54.000000000 -0400 X+++ ./jdk/make/com/sun/tools/attach/FILES_c.gmk 2009-05-14 23:41:33.000000000 -0400 X@@ -39,4 +39,7 @@ FILES_c = \ X LinuxVirtualMachine.c X endif X X- X+ifeq ($(PLATFORM),bsd) X+FILES_c = \ X+ BsdVirtualMachine.c X+endif Xdiff -uNpr ../orig/jdk/make/com/sun/tools/attach/FILES_java.gmk ./jdk/make/com/sun/tools/attach/FILES_java.gmk X--- ../orig/jdk/make/com/sun/tools/attach/FILES_java.gmk 2009-04-24 03:33:54.000000000 -0400 X+++ ./jdk/make/com/sun/tools/attach/FILES_java.gmk 2009-05-14 23:41:34.000000000 -0400 X@@ -43,6 +43,11 @@ FILES_java += \ X sun/tools/attach/LinuxAttachProvider.java X endif X X+ifeq ($(PLATFORM), bsd) X+FILES_java += \ X+ sun/tools/attach/BsdAttachProvider.java X+endif X+ X # X # Files that need to be copied X # Xdiff -uNpr ../orig/jdk/make/com/sun/tools/attach/Makefile ./jdk/make/com/sun/tools/attach/Makefile X--- ../orig/jdk/make/com/sun/tools/attach/Makefile 2009-04-24 03:33:54.000000000 -0400 X+++ ./jdk/make/com/sun/tools/attach/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -36,6 +36,9 @@ endif X ifeq ($(PLATFORM), linux) X FILES_m = mapfile-linux X endif X+ifeq ($(PLATFORM), bsd) X+FILES_m = mapfile-bsd X+endif X include $(BUILDDIR)/common/Mapfile-vers.gmk X X # Xdiff -uNpr ../orig/jdk/make/com/sun/tools/attach/mapfile-bsd ./jdk/make/com/sun/tools/attach/mapfile-bsd X--- ../orig/jdk/make/com/sun/tools/attach/mapfile-bsd 2009-05-14 23:40:16.000000000 -0400 X+++ ./jdk/make/com/sun/tools/attach/mapfile-bsd 2009-05-14 23:41:34.000000000 -0400 X@@ -30,14 +30,12 @@ SUNWprivate_1.1 { X Java_sun_tools_attach_BsdVirtualMachine_checkPermissions; X Java_sun_tools_attach_BsdVirtualMachine_close; X Java_sun_tools_attach_BsdVirtualMachine_connect; X- Java_sun_tools_attach_BsdVirtualMachine_getBsdThreadsManager; X- Java_sun_tools_attach_BsdVirtualMachine_isBsdThreads; X Java_sun_tools_attach_BsdVirtualMachine_open; X Java_sun_tools_attach_BsdVirtualMachine_sendQuitTo; X- Java_sun_tools_attach_BsdVirtualMachine_sendQuitToChildrenOf; X Java_sun_tools_attach_BsdVirtualMachine_socket; X Java_sun_tools_attach_BsdVirtualMachine_read; X Java_sun_tools_attach_BsdVirtualMachine_write; X+ Java_sun_tools_attach_BsdVirtualMachine_createAttachFile; X local: X *; X }; Xdiff -uNpr ../orig/jdk/make/common/Defs-bsd.gmk ./jdk/make/common/Defs-bsd.gmk X--- ../orig/jdk/make/common/Defs-bsd.gmk 2009-05-14 23:40:16.000000000 -0400 X+++ ./jdk/make/common/Defs-bsd.gmk 2009-05-14 23:41:33.000000000 -0400 X@@ -43,12 +43,6 @@ X # Get shared JDK settings X include $(JDK_MAKE_SHARED_DIR)/Defs.gmk X X-# Part of INCREMENTAL_BUILD mechanism. X-# Compiler emits things like: path/file.o: file.h X-# We want something like: relative_path/file.o relative_path/file.d: file.h X-CC_DEPEND = -MM X-CC_DEPEND_FILTER = $(SED) -e 's!$*\.$(OBJECT_SUFFIX)!$(dir $@)& $(dir $@)$*.$(DEPEND_SUFFIX)!g' X- X ifndef PLATFORM_SRC X PLATFORM_SRC = $(BUILDDIR)/../src/solaris X endif # PLATFORM_SRC X@@ -61,7 +55,7 @@ ifndef OPENJDK X endif X X # platform specific include files X-PLATFORM_INCLUDE_NAME = $(PLATFORM) X+PLATFORM_INCLUDE_NAME = $(OS_NAME) X PLATFORM_INCLUDE = $(INCLUDEDIR)/$(PLATFORM_INCLUDE_NAME) X X # suffix used for make dependencies files. X@@ -104,6 +98,10 @@ endif X # as the default. X CFLAGS_REQUIRED_amd64 += -fno-omit-frame-pointer -D_LITTLE_ENDIAN X CFLAGS_REQUIRED_i586 += -fno-omit-frame-pointer -D_LITTLE_ENDIAN X+ifeq ($(OS_VENDOR),Apple) X+ # 16-byte stack re-alignment on 32-bit Darwin X+ CFLAGS_REQUIRED_i586 += -mstackrealign X+endif X CFLAGS_REQUIRED_ia64 += -fno-omit-frame-pointer -D_LITTLE_ENDIAN X CFLAGS_REQUIRED_sparcv9 += -m64 -mcpu=v9 X LDFLAGS_COMMON_sparcv9 += -m64 -mcpu=v9 X@@ -178,7 +176,7 @@ ifeq ($(FASTDEBUG), true) X CXXFLAGS_DBG += $(CC_LOWER_OPT) X endif X X-CPPFLAGS_COMMON = -D$(ARCH) -DARCH='"$(ARCH)"' -DLINUX $(VERSION_DEFINES) \ X+CPPFLAGS_COMMON = -D$(ARCH) -DARCH='"$(ARCH)"' -D_ALLBSD_SOURCE $(VERSION_DEFINES) \ X -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT X X ifeq ($(ARCH_DATA_MODEL), 64) X@@ -188,33 +186,15 @@ endif X CPPFLAGS_OPT = X CPPFLAGS_DBG = -DDEBUG X X-ifdef LIBRARY X- # Libraries need to locate other libraries at runtime, and you can tell X- # a library where to look by way of the dynamic runpaths (RPATH or RUNPATH) X- # buried inside the .so. The $ORIGIN says to look relative to where X- # the library itself is and it can be followed with relative paths from X- # that. By default we always look in $ORIGIN, optionally we add relative X- # paths if the Makefile sets LD_RUNPATH_EXTRAS to those relative paths. X- # On Bsd we add a flag -z origin, not sure if this is necessary, but X- # doesn't seem to hurt. X- # The environment variable LD_LIBRARY_PATH will over-ride these runpaths. X- # Try: 'readelf -d lib*.so' to see these settings in a library. X- # X- LDFLAGS_COMMON += -Xlinker -z -Xlinker origin -Xlinker -rpath -Xlinker \$$ORIGIN X- LDFLAGS_COMMON += $(LD_RUNPATH_EXTRAS:%=-Xlinker -z -Xlinker origin -Xlinker -rpath -Xlinker \$$ORIGIN/%) X-endif X- X-EXTRA_LIBS += -lc X- X-LDFLAGS_DEFS_OPTION = -z defs X-LDFLAGS_COMMON += $(LDFLAGS_DEFS_OPTION) X- X # X # -L paths for finding and -ljava X # X-LDFLAGS_OPT = -Xlinker -O1 X LDFLAGS_COMMON += -L$(LIBDIR)/$(LIBARCH) X+ X+ifneq ($(OS_VENDOR), Apple) X+LDFLAGS_OPT = -Xlinker -O1 X LDFLAGS_COMMON += -Wl,-soname=$(LIB_PREFIX)$(LIBRARY).$(LIBRARY_SUFFIX) X+endif X X # X # -static-libgcc is a gcc-3 flag to statically link libgcc, gcc-2.9x always X@@ -235,8 +215,8 @@ AUTOMATIC_PCH_OPTION = X # X ifeq ($(VARIANT), OPT) X ifneq ($(NO_STRIP), true) X- # Debug 'strip -g' leaves local function Elf symbols (better stack traces) X- POST_STRIP_PROCESS = $(STRIP) -g X+ # Debug 'strip -S' leaves local function Elf symbols (better stack traces) X+ POST_STRIP_PROCESS = $(STRIP) -S X endif X endif X X@@ -245,13 +225,9 @@ endif X # X LD_MAPFILE_FLAG = -Xlinker --version-script -Xlinker X X-# X-# Support for Quantify. X-# X-ifdef QUANTIFY X-QUANTIFY_CMD = quantify X-QUANTIFY_OPTIONS = -cache-dir=/tmp/quantify -always-use-cache-dir=yes X-LINK_PRE_CMD = $(QUANTIFY_CMD) $(QUANTIFY_OPTIONS) X+# Darwin does not support linker map files. X+ifeq ($(OS_VENDOR), Apple) X+LDNOMAP=true X endif X X # X@@ -280,7 +256,9 @@ override HAVE_ALTZONE = false X override HAVE_FILIOH = false X override HAVE_GETHRTIME = false X override HAVE_GETHRVTIME = false X+ifeq ($(OS_VENDOR),Apple) X override HAVE_SIGIGNORE = true X+endif X override LEX_LIBRARY = -lfl X ifeq ($(STATIC_CXX),true) X override LIBCXX = -Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic X@@ -291,13 +269,9 @@ override LIBPOSIX4 = X override LIBSOCKET = X override LIBTHREAD = X override MOOT_PRIORITIES = true X-override NO_INTERRUPTIBLE_IO = true X-override OPENWIN_HOME = /usr/X11R6 X-ifeq ($(ARCH), amd64) X-override OPENWIN_LIB = $(OPENWIN_HOME)/lib64 X-else X+override NO_INTERRUPTIBLE_IO = false X+override OPENWIN_HOME = $(X11_PATH) X override OPENWIN_LIB = $(OPENWIN_HOME)/lib X-endif X override OTHER_M4FLAGS = -D__GLIBC__ -DGNU_ASSEMBLER X override SUN_CMM_SUBDIR = X override THREADS_FLAG = native X@@ -318,6 +292,14 @@ override USE_EXECNAME = true X # DPS (Displayable PostScript) is available on Solaris machines X HAVE_DPS = no X X+ifeq ($(OS_VENDOR), FreeBSD) X+ SYSTEM_ZLIB = true X+endif X+ X+ifeq ($(OS_VENDOR), OpenBSD) X+ SYSTEM_ZLIB = true X+endif X+ X # X # Japanese manpages X # Xdiff -uNpr ../orig/jdk/make/common/Defs-linux.gmk ./jdk/make/common/Defs-linux.gmk X--- ../orig/jdk/make/common/Defs-linux.gmk 2009-04-24 03:33:54.000000000 -0400 X+++ ./jdk/make/common/Defs-linux.gmk 2009-05-14 23:41:33.000000000 -0400 X@@ -292,7 +292,7 @@ override LIBSOCKET = X override LIBTHREAD = X override MOOT_PRIORITIES = true X override NO_INTERRUPTIBLE_IO = true X-override OPENWIN_HOME = /usr/X11R6 X+override OPENWIN_HOME = $(X11_PATH) X ifeq ($(ARCH), amd64) X override OPENWIN_LIB = $(OPENWIN_HOME)/lib64 X else Xdiff -uNpr ../orig/jdk/make/common/Defs.gmk ./jdk/make/common/Defs.gmk X--- ../orig/jdk/make/common/Defs.gmk 2009-04-24 03:33:54.000000000 -0400 X+++ ./jdk/make/common/Defs.gmk 2009-05-14 23:41:33.000000000 -0400 X@@ -188,6 +188,24 @@ else X _OUTPUTDIR=$(JDK_TOPDIR)/build/$(PLATFORM)-$(ARCH) X endif X X+ifneq ($(PLATFORM), windows) X+ ifdef ALT_X11_PATH X+ X11_PATH = $(ALT_X11_PATH) X+ else X+ X11_PATH = /usr/X11R6 X+ endif X+ X+ ifdef ALT_PACKAGE_PATH X+ PACKAGE_PATH = $(ALT_PACKAGE_PATH) X+ else X+ ifeq ($(PLATFORM), linux) X+ PACKAGE_PATH = /usr X+ else X+ PACKAGE_PATH = /usr/local X+ endif X+ endif X+endif X+ X # X # Get platform definitions X # X@@ -223,6 +241,7 @@ DEVTOOLS_FT_DIR_EXISTS = $(shell \ X X ifdef ALT_FREETYPE_LIB_PATH X FREETYPE_LIB_PATH = $(ALT_FREETYPE_LIB_PATH) X+ USING_SYSTEM_FT_LIB=true X else X ifeq ($(DEVTOOLS_FT_DIR_EXISTS), true) X FREETYPE_LIB_PATH = $(DEVTOOLS_FT_DIR)/lib X@@ -287,6 +306,10 @@ ifdef PROGRAM X LDLIBS_COMMON = -ldl X endif X X+ ifeq ($(PLATFORM), bsd) X+ LDLIBS_COMMON = -pthread X+ endif X+ X endif # PROGRAM X X LDLIBS_COMMON += $(EXTRA_LIBS) Xdiff -uNpr ../orig/jdk/make/common/Program.gmk ./jdk/make/common/Program.gmk X--- ../orig/jdk/make/common/Program.gmk 2009-04-24 03:33:54.000000000 -0400 X+++ ./jdk/make/common/Program.gmk 2009-05-14 23:41:33.000000000 -0400 X@@ -67,11 +67,27 @@ endif X # Create a dependency on libjli (Java Launcher Infrastructure) X # X # On UNIX, this is a relative dependency using $ORIGIN. Unfortunately, to X-# do this reliably on Linux takes a different syntax than Solaris. X+# do this reliably on Linux takes a different syntax than Solaris. BSD's X+# don't support $ORIGIN so build an archive instead. X # X # On Windows, this is done by using the same directory as the executable X # itself, as with all the Windows libraries. X # X+ifeq ($(PLATFORM), bsd) X+ ifeq ($(OS_VENDOR), Apple) X+ LDFLAGS += -Wl,-all_load X+ LDFLAGS += $(OUTPUTDIR)/tmp/java/jli/$(OBJDIRNAME)/static/libjli.a X+ else X+ LDFLAGS += -Wl,--whole-archive X+ LDFLAGS += $(OUTPUTDIR)/tmp/java/jli/$(OBJDIRNAME)/static/libjli.a X+ LDFLAGS += -Wl,--no-whole-archive X+# Work-around an dlsym(RTLD_DEFAULT) bug in at least FreeBSD & OpenBSD X+ LDFLAGS += -Wl,--export-dynamic X+ endif X+ ifeq ($(SYSTEM_ZLIB),true) X+ OTHER_LDLIBS += -lz X+ endif X+endif X ifneq (,$(findstring $(PLATFORM), linux solaris)) # UNIX systems X LDFLAGS += -L $(LIBDIR)/$(LIBARCH)/jli X OTHER_LDLIBS += -ljli X@@ -175,6 +191,10 @@ else # USE_PTHREADS X THREADLIBS = $(LIBTHREAD) X endif # USE_PTHREADS X X+ifeq ($(PLATFORM), bsd) X+THREADLIBS = -pthread X+endif X+ X # X # This rule only applies on unix. It supports quantify and its ilk. X # X@@ -243,15 +263,19 @@ endif X X X ifneq ($(PLATFORM), windows) X+ifneq ($(PLATFORM), bsd) X HAVE_GETHRTIME=true X endif X+endif X X ifeq ($(HAVE_GETHRTIME),true) X OTHER_CPPFLAGS += -DHAVE_GETHRTIME X endif X X OTHER_INCLUDES += -I$(LAUNCHER_SHARE_SRC)/bin -I$(LAUNCHER_PLATFORM_SRC)/bin X+ifneq ($(SYSTEM_ZLIB),true) X OTHER_INCLUDES += -I$(SHARE_SRC)/native/java/util/zip/zlib-1.1.3 X+endif X X # this may not be necessary... X ifeq ($(PLATFORM), windows) Xdiff -uNpr ../orig/jdk/make/common/internal/BinaryPlugs.gmk ./jdk/make/common/internal/BinaryPlugs.gmk X--- ../orig/jdk/make/common/internal/BinaryPlugs.gmk 2009-04-24 03:33:54.000000000 -0400 X+++ ./jdk/make/common/internal/BinaryPlugs.gmk 2009-05-14 23:41:33.000000000 -0400 X@@ -49,8 +49,6 @@ PLUG_JMF_CLASS_NAMES = \ X com/sun/jmx/snmp/SnmpDataTypeEnums.class \ X com/sun/jmx/snmp/SnmpDefinitions.class \ X com/sun/jmx/snmp/SnmpOid.class \ X-com/sun/jmx/snmp/SnmpOidDatabase.class \ X-com/sun/jmx/snmp/SnmpOidDatabaseSupport.class \ X com/sun/jmx/snmp/SnmpOidRecord.class \ X com/sun/jmx/snmp/SnmpOidTable.class \ X com/sun/jmx/snmp/SnmpOidTableSupport.class \ X@@ -60,22 +58,16 @@ com/sun/jmx/snmp/SnmpPeer.class \ X com/sun/jmx/snmp/SnmpTimeticks.class \ X com/sun/jmx/snmp/SnmpVarBind.class \ X com/sun/jmx/snmp/SnmpVarBindList.class \ X-com/sun/jmx/snmp/Timestamp.class \ X com/sun/jmx/snmp/daemon/SendQ.class \ X com/sun/jmx/snmp/daemon/SnmpInformRequest.class \ X-com/sun/jmx/snmp/daemon/SnmpQManager.class \ X-com/sun/jmx/snmp/daemon/SnmpRequestCounter.class \ X-com/sun/jmx/snmp/daemon/SnmpResponseHandler.class \ X-com/sun/jmx/snmp/daemon/SnmpSendServer.class \ X-com/sun/jmx/snmp/daemon/SnmpSession.class \ X-com/sun/jmx/snmp/daemon/SnmpSocket.class \ X-com/sun/jmx/snmp/daemon/SnmpTimerServer.class \ X-com/sun/jmx/snmp/daemon/WaitQ.class X+com/sun/jmx/snmp/daemon/SnmpSession.class X+ X+PLUG_GNU_CLASS_NAMES = gnu X X # Class list temp files (used by both import and export of plugs) X X PLUG_TEMPDIR=$(ABS_TEMPDIR)/plugs X-PLUG_CLASS_AREAS = jmf X+PLUG_CLASS_AREAS = jmf gnu X PLUG_CLISTS = $(PLUG_CLASS_AREAS:%=$(PLUG_TEMPDIR)/%.clist) X X # Create jargs file command X@@ -93,11 +85,18 @@ $(PLUG_TEMPDIR)/jmf.clist: X @for i in $(PLUG_JMF_CLASS_NAMES) ; do \ X $(ECHO) "$$i" >> $@; \ X done X+$(PLUG_TEMPDIR)/gnu.clist: X+ @$(prep-target) X+ @for i in $(PLUG_GNU_CLASS_NAMES) ; do \ X+ $(ECHO) "$$i" >> $@ ; \ X+ done X $(PLUG_TEMPDIR)/all.clist: $(PLUG_CLISTS) X @$(prep-target) X $(CAT) $(PLUG_CLISTS) > $@ X $(PLUG_TEMPDIR)/jmf.jargs: $(PLUG_TEMPDIR)/jmf.clist X $(plug-create-jargs) X+$(PLUG_TEMPDIR)/gnu.jargs: $(PLUG_TEMPDIR)/gnu.clist X+ $(plug-create-jargs) X $(PLUG_TEMPDIR)/all.jargs: $(PLUG_TEMPDIR)/all.clist X $(plug-create-jargs) X X@@ -153,11 +152,16 @@ endif # IMPORT_BINARY_PLUGS X X import-binary-plug-jmf-classes: $(PLUG_IMPORT_JARFILE) $(PLUG_TEMPDIR)/jmf.clist X $(call import-binary-plug-classes,$(PLUG_TEMPDIR)/jmf.clist) X+import-binary-plug-gnu-classes: $(PLUG_IMPORT_JARFILE) $(PLUG_TEMPDIR)/gnu.clist X+ $(call import-binary-plug-classes,$(PLUG_TEMPDIR)/gnu.clist) X+ X+ X X # Import all classes from the jar file X X import-binary-plug-jar: \ X- import-binary-plug-jmf-classes X+ import-binary-plug-jmf-classes \ X+ import-binary-plug-gnu-classes X X # Binary plug start/complete messages X X@@ -169,14 +173,12 @@ import-binary-plugs-completed: X X # Import lib files (only if they don't exist already) X X-import-binary-plugs-libs: \ X- $(PLUG_LIBRARY_NAMES:%=$(LIB_LOCATION)/%) X+import-binary-plugs-libs: X X # Import everything X X import-binary-plugs: \ X import-binary-plugs-started \ X- import-binary-plugs-libs \ X import-binary-plug-jar \ X import-binary-plugs-completed X Xdiff -uNpr ../orig/jdk/make/common/shared/Compiler-gcc.gmk ./jdk/make/common/shared/Compiler-gcc.gmk X--- ../orig/jdk/make/common/shared/Compiler-gcc.gmk 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/common/shared/Compiler-gcc.gmk 2009-05-14 23:41:33.000000000 -0400 X@@ -99,6 +99,24 @@ ifeq ($(PLATFORM), linux) X X endif X X+ifeq ($(PLATFORM), bsd) X+ X+ # Settings specific to BSD X+ CC = $(COMPILER_PATH)gcc X+ CPP = $(COMPILER_PATH)gcc -E X+ CXX = $(COMPILER_PATH)g++ X+ REQUIRED_CC_VER = 3.2 X+ X+ # Option used to create a shared library X+ # Option used to create a shared library X+ ifeq ($(OS_VENDOR), Apple) X+ SHARED_LIBRARY_FLAG = -dynamiclib X+ else X+ SHARED_LIBRARY_FLAG = -shared X+ endif X+ SUN_COMP_VER := $(shell $(CC) --verbose 2>&1 ) X+endif X+ X ifeq ($(PLATFORM), solaris) X X # Settings specific to Solaris Xdiff -uNpr ../orig/jdk/make/common/shared/Compiler.gmk ./jdk/make/common/shared/Compiler.gmk X--- ../orig/jdk/make/common/shared/Compiler.gmk 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/common/shared/Compiler.gmk 2009-05-14 23:41:33.000000000 -0400 X@@ -37,8 +37,8 @@ ifeq ($(PLATFORM), solaris) X override CC_VERSION = sun X endif X X-# Linux uses GNU compilers by default X-ifeq ($(PLATFORM), linux) X+# Linux & BSD uses GNU compilers by default X+ifneq (,$(findstring $(PLATFORM), linux bsd)) X override CC_VERSION = gcc X endif X Xdiff -uNpr ../orig/jdk/make/common/shared/Defs-bsd.gmk ./jdk/make/common/shared/Defs-bsd.gmk X--- ../orig/jdk/make/common/shared/Defs-bsd.gmk 2009-05-14 23:40:17.000000000 -0400 X+++ ./jdk/make/common/shared/Defs-bsd.gmk 2009-05-14 23:41:33.000000000 -0400 X@@ -70,7 +70,7 @@ $(shell if [ "$1" != "" -a -d "$1" ]; th X endef X X # Location on system where jdk installs might be X-USRJDKINSTANCES_PATH =/opt/java X+USRJDKINSTANCES_PATH = $(PACKAGE_PATH) X X # UNIXCOMMAND_PATH: path to where the most common Unix commands are. X # NOTE: Must end with / so that it could be empty, allowing PATH usage. X@@ -123,7 +123,7 @@ endif X ifneq "$(origin ALT_DEVTOOLS_PATH)" "undefined" X DEVTOOLS_PATH :=$(call PrefixPath,$(ALT_DEVTOOLS_PATH)) X else X- DEVTOOLS_PATH =/usr/bin/ X+ DEVTOOLS_PATH =$(PACKAGE_PATH)/bin/ X endif X X # _BOOTDIR1: First choice for a Bootstrap JDK, previous released JDK. X@@ -162,16 +162,12 @@ else X endif X MOTIF_INCLUDE = $(MOTIF_DIR)/include X X-# GCC29_COMPILER_PATH: is the path to where the gcc 2.9 compiler is installed X-# NOTE: Must end with / so that it could be empty, allowing PATH usage. X-ifneq "$(origin ALT_GCC29_COMPILER_PATH)" "undefined" X- GCC29_COMPILER_PATH :=$(call PrefixPath,$(ALT_GCC29_COMPILER_PATH)) X+ifeq ($(OS_VENDOR), Apple) X+ _CUPS_HEADERS_PATH=/usr/include X else X- GCC29_COMPILER_PATH = $(JDK_DEVTOOLS_DIR)/$(PLATFORM)/gcc29/usr/ X+ _CUPS_HEADERS_PATH=$(PACKAGE_PATH)/include X endif X X-_CUPS_HEADERS_PATH=/usr/include X- X # Import JDK images allow for partial builds, components not built are X # imported (or copied from) these import areas when needed. X Xdiff -uNpr ../orig/jdk/make/common/shared/Defs-utils.gmk ./jdk/make/common/shared/Defs-utils.gmk X--- ../orig/jdk/make/common/shared/Defs-utils.gmk 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/common/shared/Defs-utils.gmk 2009-05-14 23:41:33.000000000 -0400 X@@ -77,6 +77,13 @@ ifndef FINDBUGS_HOME X endif X FINDBUGS = $(FINDBUGS_HOME)/bin/findbugs X X+ifeq ($(PLATFORM),bsd) X+ UTILS_COMMAND_PATH=$(UNIXCOMMAND_PATH) X+ UTILS_USR_BIN_PATH=$(USRBIN_PATH) X+ UTILS_CCS_BIN_PATH=$(USRBIN_PATH) X+ UTILS_DEVTOOL_PATH=$(DEVTOOLS_PATH) X+endif X+ X # Utilities X ADB = $(UTILS_COMMAND_PATH)adb X AR = $(UTILS_CCS_BIN_PATH)ar X@@ -198,3 +205,32 @@ ifeq ($(PLATFORM),solaris) X ECHO = /usr/bin/echo X endif X X+# BSD specific X+ifeq ($(PLATFORM),bsd) X+ BASENAME = $(UTILS_USR_BIN_PATH)basename X+ EGREP = $(UTILS_USR_BIN_PATH)egrep X+ EXPR = $(UTILS_COMMAND_PATH)expr X+ FMT = $(UTILS_USR_BIN_PATH)fmt X+ GREP = $(UTILS_USR_BIN_PATH)grep X+ GUNZIP = $(UTILS_USR_BIN_PATH)gunzip X+ ID = $(UTILS_USR_BIN_PATH)id X+ MSGFMT = $(UTILS_DEVTOOL_PATH)msgfmt X+ SED = $(UTILS_USR_BIN_PATH)sed X+ SORT = $(UTILS_USR_BIN_PATH)sort X+ TEST = $(UTILS_COMMAND_PATH)test X+ TOUCH = $(UTILS_USR_BIN_PATH)touch X+ TRUE = $(UTILS_USR_BIN_PATH)true X+ UNAME = $(UTILS_USR_BIN_PATH)uname X+ # BSD OS_VENDOR specific X+ ifeq ($(OS_VENDOR), Apple) X+ NAWK = $(UTILS_USR_BIN_PATH)awk X+ UNZIPSFX = $(UTILS_USR_BIN_PATH)unzipsfx X+ ZIPEXE = $(UTILS_USR_BIN_PATH)zip X+ else X+ UNZIP = $(UTILS_DEVTOOL_PATH)unzip X+ endif X+ ifneq ($(OS_VENDOR), OpenBSD) X+ CPIO = $(UTILS_USR_BIN_PATH)cpio X+ TAR = $(UTILS_USR_BIN_PATH)tar X+ endif X+endif Xdiff -uNpr ../orig/jdk/make/common/shared/Defs.gmk ./jdk/make/common/shared/Defs.gmk X--- ../orig/jdk/make/common/shared/Defs.gmk 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/common/shared/Defs.gmk 2009-05-14 23:41:33.000000000 -0400 X@@ -143,7 +143,7 @@ $(shell \ X echo older; \ X else \ X if [ $(call MajorVersion,$1) -eq $(call MajorVersion,$2) -a \ X- $(call MinorVersion,$1) -lt $(call MinorVersion,$2) ]; then \ X+ `echo $(call MinorVersion,$1) | sed -e 's/\([0-9]*\)\(.*\)/\1/'` -lt $(call MinorVersion,$2) ]; then \ X echo older; \ X else \ X echo newer; \ Xdiff -uNpr ../orig/jdk/make/common/shared/Platform.gmk ./jdk/make/common/shared/Platform.gmk X--- ../orig/jdk/make/common/shared/Platform.gmk 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/common/shared/Platform.gmk 2009-05-14 23:41:33.000000000 -0400 X@@ -276,6 +276,76 @@ ifeq ($(SYSTEM_UNAME), Linux) X MB_OF_MEMORY := $(shell free -m | fgrep Mem: | sed -e 's@\ \ *@ @g' | cut -d' ' -f2) X endif X X+ifeq ($(SYSTEM_UNAME), FreeBSD) X+ PLATFORM = bsd X+ OS_NAME = freebsd X+ OS_VENDOR = FreeBSD X+ REQUIRED_OS_VERSION = 6.0 X+endif X+ X+ifeq ($(SYSTEM_UNAME), Darwin) X+ PLATFORM = bsd X+ OS_NAME = darwin X+ OS_VENDOR = Apple X+ REQUIRED_OS_VERSION = 8.0 X+endif X+ X+ifeq ($(SYSTEM_UNAME), NetBSD) X+ PLATFORM = bsd X+ OS_NAME = netbsd X+ OS_VENDOR = NetBSD X+ REQUIRED_OS_VERSION = 3.0 X+endif X+ X+ifeq ($(SYSTEM_UNAME), OpenBSD) X+ PLATFORM = bsd X+ OS_NAME = openbsd X+ OS_VENDOR = OpenBSD X+ REQUIRED_OS_VERSION = 4.2 X+endif X+ X+# Platform settings specific to BSD X+ifeq ($(PLATFORM), bsd) X+ OS_VERSION := $(shell uname -r) X+ # Arch and OS name/version X+ mach := $(shell uname -m) X+ archExpr = case "$(mach)" in \ X+ i[3-9]86) \ X+ echo i586 \ X+ ;; \ X+ *) \ X+ echo $(mach) \ X+ ;; \ X+ esac X+ ARCH := $(shell $(archExpr) ) X+ ARCH_FAMILY := $(ARCH) X+ X+ # i586 and sparc are 32 bit, amd64 and sparc64 are 64 X+ ifneq (,$(findstring $(ARCH), i586 sparc)) X+ ARCH_DATA_MODEL=32 X+ else X+ ARCH_DATA_MODEL=64 X+ endif X+ X+ # Need to maintain the jre/lib/i386 location for 32-bit Intel X+ ifeq ($(ARCH), i586) X+ LIBARCH = i386 X+ else X+ LIBARCH = $(ARCH) X+ endif X+ X+ # Value of Java os.arch property X+ ARCHPROP = $(LIBARCH) X+ X+ # Suffix for file bundles used in previous release X+ BUNDLE_FILE_SUFFIX=.tar.gz X+ # Minimum disk space needed as determined by running 'du -sk' on X+ # a fully built workspace. X+ REQUIRED_FREE_SPACE=1500000 X+ # How much RAM does this machine have: X+ MB_OF_MEMORY=$(shell sysctl -n hw.physmem | awk '{print int($$NF / 1048576); }' ) X+endif X+ X # Windows with and without CYGWIN will be slightly different X ifeq ($(SYSTEM_UNAME), Windows_NT) X PLATFORM = windows X@@ -392,6 +462,13 @@ endif X # system swapping during the build. X # If we don't know, assume 512. Subtract 128 from MB for VM MAX. X # Don't set VM max over 1024-128=896. X+# 736 is the max for OpenBSD. X+ifeq ($(OS_VENDOR), OpenBSD) X+ ABS_MAX_MEMORY := "736" X+else X+ ABS_MAX_MEMORY := "896" X+endif X+ X ifneq ($(MB_OF_MEMORY),) X LOW_MEMORY_MACHINE := $(shell \ X if [ $(MB_OF_MEMORY) -le 512 ] ; then \ X@@ -403,7 +480,7 @@ ifneq ($(MB_OF_MEMORY),) X if [ $(MB_OF_MEMORY) -le 1024 ] ; then \ X expr $(MB_OF_MEMORY) '-' 128 ; \ X else \ X- echo "896"; \ X+ echo $(ABS_MAX_MEMORY); \ X fi) X MIN_VM_MEMORY := $(shell \ X if [ $(MAX_VM_MEMORY) -le 128 ] ; then \ X@@ -455,6 +532,15 @@ ifneq ($(PLATFORM), windows) X ARCH_VM_SUBDIR=jre/lib/$(LIBARCH) X endif X X+# Darwin-specific Overrides X+ifeq ($(SYSTEM_UNAME),Darwin) X+ # The suffix applied to runtime libraries X+ LIBRARY_SUFFIX = dylib X+ # The suffix applied to link libraries X+ LIB_SUFFIX = dylib X+endif X+ X+ X # If blanks in the username, use the first 4 words and pack them together X _USER1:=$(subst ', ,$(_USER)) X _USER2:=$(subst ", ,$(_USER1)) Xdiff -uNpr ../orig/jdk/make/common/shared/Sanity-Settings.gmk ./jdk/make/common/shared/Sanity-Settings.gmk X--- ../orig/jdk/make/common/shared/Sanity-Settings.gmk 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/common/shared/Sanity-Settings.gmk 2009-05-14 23:41:33.000000000 -0400 X@@ -257,6 +257,7 @@ ifdef OPENJDK X ALL_SETTINGS+=$(call addHeading,OpenJDK-specific settings) X ALL_SETTINGS+=$(call addAltSetting,FREETYPE_HEADERS_PATH) X ALL_SETTINGS+=$(call addAltSetting,FREETYPE_LIB_PATH) X+ ALL_SETTINGS+=$(call addAltSetting,X11_PATH) X ALL_SETTINGS+=$(call addHeading,OPENJDK Import Binary Plug Settings) X ALL_SETTINGS+=$(call addAltSetting,BINARY_PLUGS_JARFILE) X ALL_SETTINGS+=$(call addAltSetting,BINARY_PLUGS_PATH) Xdiff -uNpr ../orig/jdk/make/common/shared/Sanity.gmk ./jdk/make/common/shared/Sanity.gmk X--- ../orig/jdk/make/common/shared/Sanity.gmk 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/common/shared/Sanity.gmk 2009-05-14 23:41:33.000000000 -0400 X@@ -96,6 +96,11 @@ ifeq ($(PLATFORM), windows) X $(EGREP) "\#define" | $(NAWK) '{print $$3}') X endif X X+ifeq ($(PLATFORM), bsd) X+ FREE_SPACE := $(shell BLOCKSIZE=512 $(DF) $(OUTPUTDIR) | $(TAIL) -1 | $(NAWK) '{print $$2;}') X+ TEMP_FREE_SPACE := $(shell BLOCKSIZE=512 $(DF) $(TEMP_DISK) | $(TAIL) -1 | $(NAWK) '{print $$2;}') X+endif X+ X # Get the version numbers of what we are using X _MAKE_VER :=$(shell $(MAKE) --version 2>&1 | $(HEAD) -n 1) X _ZIP_VER :=$(shell $(ZIPEXE) -help 2>&1 | $(HEAD) -n 4 | $(EGREP) '^Zip') Xdiff -uNpr ../orig/jdk/make/docs/Makefile ./jdk/make/docs/Makefile X--- ../orig/jdk/make/docs/Makefile 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/docs/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -232,7 +232,7 @@ JDI_HEADER = "Java Debug Interface" X # you get "No packages or classes specified." due to $(CLASSPATH_SEPARATOR) X # being interpreted as an end of command (newline) X X-JAAS_SOURCEPATH = "$(TOPDIR)/src/share/classes$(CLASSPATH_SEPARATOR)$(TOPDIR)/src/solaris/classes$(CLASSPATH_SEPARATOR)$(TOPDIR)/src/windows/classes$(CLASSPATH_SEPARATOR)$(TOPDIR)/src/linux/classes" X+JAAS_SOURCEPATH = "$(TOPDIR)/src/share/classes$(CLASSPATH_SEPARATOR)$(TOPDIR)/src/solaris/classes$(CLASSPATH_SEPARATOR)$(TOPDIR)/src/windows/classes$(CLASSPATH_SEPARATOR)$(TOPDIR)/src/linux/classes$(CLASSPATH_SEPARATOR)$(TOPDIR)/src/bsd/classes" X JAAS_DOCDIR = $(DOCSDIR)/jre/api/security/jaas/spec X JAAS_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \ X -encoding ascii \ Xdiff -uNpr ../orig/jdk/make/java/Makefile ./jdk/make/java/Makefile X--- ../orig/jdk/make/java/Makefile 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/java/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -49,7 +49,7 @@ ifeq ($(PLATFORM), solaris) X endif X endif # PLATFORM X X-ifeq ($(PLATFORM), linux) X+ifneq (,$(findstring $(PLATFORM), linux bsd)) X SUBDIRS += jexec X endif # PLATFORM X Xdiff -uNpr ../orig/jdk/make/java/hpi/hpi_common.gmk ./jdk/make/java/hpi/hpi_common.gmk X--- ../orig/jdk/make/java/hpi/hpi_common.gmk 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/java/hpi/hpi_common.gmk 2009-05-14 23:41:34.000000000 -0400 X@@ -86,5 +86,9 @@ endif X # Things that must be linked in. X # X ifneq ($(PLATFORM), windows) X+ifeq ($(PLATFORM), bsd) X+OTHER_LDLIBS += $(LIBM) X+else X OTHER_LDLIBS += $(LIBSOCKET) -lnsl $(LIBM) -ldl X endif X+endif Xdiff -uNpr ../orig/jdk/make/java/hpi/native/Makefile ./jdk/make/java/hpi/native/Makefile X--- ../orig/jdk/make/java/hpi/native/Makefile 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/java/hpi/native/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -72,11 +72,18 @@ OTHER_CPPFLAGS += -DUSE_PTHREADS X ifeq ($(MOOT_PRIORITIES),true) X OTHER_CPPFLAGS += -DMOOT_PRIORITIES X endif X+ifeq ($(PLATFORM), bsd) X+LIBPOSIX4 = X+OTHER_LDLIBS += -pthread X+else X LIBPOSIX4 = -lposix4 X OTHER_LDLIBS += -lpthread $(LIBPOSIX4) X endif X+endif X X+ifneq ($(PLATFORM), bsd) X HAVE_GETHRVTIME=true X+endif X ifeq ($(HAVE_GETHRVTIME),true) X OTHER_CPPFLAGS += -DHAVE_GETHRVTIME X endif Xdiff -uNpr ../orig/jdk/make/java/instrument/Makefile ./jdk/make/java/instrument/Makefile X--- ../orig/jdk/make/java/instrument/Makefile 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/java/instrument/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -102,6 +102,21 @@ ifeq ($(PLATFORM), windows) X # equivalent of strcasecmp is stricmp on Windows X CPPFLAGS_COMMON += -Dstrcasecmp=stricmp X else X+ifeq ($(PLATFORM), bsd) X+ ifeq ($(OS_VENDOR), Apple) X+ LDFLAGS += -Wl,-all_load X+ LDFLAGS += $(OUTPUTDIR)/tmp/java/jli/$(OBJDIRNAME)/static/libjli.a X+ else X+ LDFLAGS += -Wl,--whole-archive X+ LDFLAGS += $(OUTPUTDIR)/tmp/java/jli/$(OBJDIRNAME)/static/libjli.a X+ LDFLAGS += -Wl,--no-whole-archive X+ endif X+ X+ ICONV_PATH = $(PACKAGE_PATH) X+# Use CPPFLAGS instead of OTHER_INCLUDES to force this last X+ CPPFLAGS += -I$(ICONV_PATH)/include X+ OTHER_LDLIBS += -L$(ICONV_PATH)/lib -liconv X+else X LDFLAGS += -L $(LIBDIR)/$(LIBARCH)/jli X OTHER_LDLIBS += -ljli X OTHER_LDLIBS += -ldl X@@ -114,6 +129,7 @@ else X LDFLAGS += -Wl,-rpath -Wl,\$$ORIGIN/jli X endif X endif X+endif X X # X # Library to compile. Xdiff -uNpr ../orig/jdk/make/java/java/Makefile ./jdk/make/java/java/Makefile X--- ../orig/jdk/make/java/java/Makefile 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/java/java/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -167,8 +167,10 @@ OTHER_INCLUDES += -I$(PLATFORM_SRC)/nati X # Is the altzone extern documented in ctime(3C) available? X # X ifneq ($(PLATFORM), windows) X+ifneq ($(PLATFORM), bsd) X HAVE_ALTZONE=true X endif X+endif X X ifeq ($(HAVE_ALTZONE),true) X OTHER_CPPFLAGS += -DHAVE_ALTZONE X@@ -205,9 +207,14 @@ ifeq ($(PLATFORM),windows) X OTHER_LDLIBS += $(JVMLIB) -libpath:$(OBJDIR)/../../../fdlibm/$(OBJDIRNAME) fdlibm.lib \ X -libpath:$(OBJDIR)/../../../verify/$(OBJDIRNAME) verify.lib X else X+ifeq ($(PLATFORM), bsd) X+OTHER_LDLIBS += $(JVMLIB) -lverify \ X+ -L$(OBJDIR)/../../../fdlibm/$(OBJDIRNAME) -lfdlibm.$(ARCH) X+else X OTHER_LDLIBS += $(JVMLIB) -lverify $(LIBSOCKET) -lnsl -ldl \ X -L$(OBJDIR)/../../../fdlibm/$(OBJDIRNAME) -lfdlibm.$(ARCH) X endif X+endif X X # X # Rules. Xdiff -uNpr ../orig/jdk/make/java/java/localegen.sh ./jdk/make/java/java/localegen.sh X--- ../orig/jdk/make/java/java/localegen.sh 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/java/java/localegen.sh 2009-05-14 23:41:34.000000000 -0400 X@@ -55,9 +55,9 @@ sed_script="$SED -e \"s@^#warn .*@// -- X for FILE in $RESOURCE_NAMES X do X getlocalelist $FILE $EURO_FILES_LIST X- sed_script=$sed_script"-e \"s/#"$FILE"_EuroLocales#/$localelist/g\" " X+ sed_script=$sed_script"-e \"s@#"$FILE"_EuroLocales#@$localelist@g\" " X getlocalelist $FILE $NONEURO_FILES_LIST X- sed_script=$sed_script"-e \"s/#"$FILE"_NonEuroLocales#/$localelist/g\" " X+ sed_script=$sed_script"-e \"s@#"$FILE"_NonEuroLocales#@$localelist@g\" " X done X X sed_script=$sed_script"$INPUT_FILE > $OUTPUT_FILE" Xdiff -uNpr ../orig/jdk/make/java/java_hprof_demo/Makefile ./jdk/make/java/java_hprof_demo/Makefile X--- ../orig/jdk/make/java/java_hprof_demo/Makefile 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/java/java_hprof_demo/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -83,8 +83,10 @@ OTHER_INCLUDES = -I$(SRCDIR) \ X ifeq ($(PLATFORM), windows) X OTHER_LDLIBS += wsock32.lib winmm.lib X else X+ifneq ($(PLATFORM), bsd) X OTHER_LDLIBS += $(LIBSOCKET) -lnsl -ldl X endif X+endif X X # X # Tell library.gmk to copy the txt file first Xdiff -uNpr ../orig/jdk/make/java/jli/Makefile ./jdk/make/java/jli/Makefile X--- ../orig/jdk/make/java/jli/Makefile 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/java/jli/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -44,8 +44,10 @@ MS_RUNTIME_STATIC = true X X include $(BUILDDIR)/common/Defs.gmk X X+ifneq ($(SYSTEM_ZLIB),true) X ZLIB_VERSION = 1.1.3 X ZIP_SRC = $(SHARE_SRC)/native/java/util/zip/zlib-$(ZLIB_VERSION) X+endif X LAUNCHER_SHARE_SRC = $(SHARE_SRC)/bin X LAUNCHER_PLATFORM_SRC = $(PLATFORM_SRC)/bin X X@@ -56,7 +58,10 @@ FILES_c = \ X parse_manifest.c \ X version_comp.c \ X wildcard.c \ X- jli_util.c \ X+ jli_util.c X+ X+ifneq ($(SYSTEM_ZLIB),true) X+FILES_c += \ X inflate.c \ X infblock.c \ X inftrees.c \ X@@ -65,6 +70,7 @@ FILES_c = \ X infutil.c \ X zadler32.c \ X zutil.c X+endif X X OTHER_CPPFLAGS += -DEXPAND_CLASSPATH_WILDCARDS X X@@ -98,7 +104,11 @@ endif X X OTHER_INCLUDES += -I$(LAUNCHER_SHARE_SRC) X OTHER_INCLUDES += -I$(LAUNCHER_PLATFORM_SRC) X-OTHER_INCLUDES += -I$(ZIP_SRC) X+ifneq ($(SYSTEM_ZLIB),true) X+ OTHER_INCLUDES += -I$(ZIP_SRC) X+else X+ LDLIBS += -lz X+endif X X # X # Library to compile. X@@ -136,8 +146,29 @@ library:: $(STATIC_LIBRARY) X X endif # PLATFORM X X+ifeq ($(PLATFORM), bsd) X+ X+STATIC_LIBRARY_DIR = $(OBJDIR)/static X+STATIC_LIBRARY_NAME = lib$(LIBRARY).a X+STATIC_LIBRARY = $(STATIC_LIBRARY_DIR)/$(STATIC_LIBRARY_NAME) X+ X+$(STATIC_LIBRARY_DIR): $(OBJDIR) X+ @$(MKDIR) $(STATIC_LIBRARY_DIR) X+ X+$(STATIC_LIBRARY): $(STATIC_LIBRARY_DIR) X+ @$(prep-target) X+ $(AR) -r $@ $(FILES_o) X+ X+library:: $(STATIC_LIBRARY) X+ X+endif # PLATFORM X+ X # X # Add to ambient vpath so we pick up the library files X # X-vpath %.c $(LAUNCHER_SHARE_SRC) $(ZIP_SRC) X+vpath %.c $(LAUNCHER_SHARE_SRC) X+ifneq ($(SYSTEM_ZLIB),true) X+ vpath %.c $(ZIP_SRC) X+endif X+ X Xdiff -uNpr ../orig/jdk/make/java/management/Makefile ./jdk/make/java/management/Makefile X--- ../orig/jdk/make/java/management/Makefile 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/java/management/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -85,6 +85,11 @@ vpath %.c $(PLATFORM_SRC)/native/com/sun X OTHER_INCLUDES += \ X -I$(SHARE_SRC)/native/sun/management X X+ifeq ($(PLATFORM),bsd) X+OTHER_INCLUDES += \ X+ -I$(PLATFORM_SRC)/hpi/include X+endif X+ X ifeq ($(PLATFORM),windows) X OTHER_LDLIBS += $(JVMLIB) X endif Xdiff -uNpr ../orig/jdk/make/java/net/FILES_c.gmk ./jdk/make/java/net/FILES_c.gmk X--- ../orig/jdk/make/java/net/FILES_c.gmk 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/java/net/FILES_c.gmk 2009-05-14 23:41:34.000000000 -0400 X@@ -43,6 +43,10 @@ ifeq ($(PLATFORM), linux) X FILES_c += linux_close.c X endif X X+ifeq ($(OS_VENDOR), FreeBSD) X+ FILES_c += bsd_close.c X+endif X+ X ifeq ($(PLATFORM), windows) X FILES_c += TwoStacksPlainSocketImpl.c X FILES_c += DualStackPlainSocketImpl.c Xdiff -uNpr ../orig/jdk/make/java/net/Makefile ./jdk/make/java/net/Makefile X--- ../orig/jdk/make/java/net/Makefile 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/java/net/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -92,6 +92,12 @@ include $(BUILDDIR)/common/Mapfile-vers. X X include $(BUILDDIR)/common/Library.gmk X X+ifeq ($(PLATFORM), bsd) X+ ifdef DONT_ENABLE_IPV6 X+ OTHER_CFLAGS += -DDONT_ENABLE_IPV6 X+ endif X+ OTHER_LDLIBS = $(JVMLIB) -pthread X+else X ifeq ($(PLATFORM), windows) X OTHER_LDLIBS = ws2_32.lib $(JVMLIB) X # Will not compile at warning level 3 if warnings are fatal X@@ -102,6 +108,7 @@ endif X ifeq ($(PLATFORM), linux) X OTHER_LDLIBS += -lpthread X endif X+endif # PLATFORM == bsd X X CLASSES.export += java.lang.Integer java.io.FileDescriptor java.net.InetAddressImplFactory java.net.Inet4AddressImpl java.net.Inet6AddressImpl X Xdiff -uNpr ../orig/jdk/make/java/nio/Makefile ./jdk/make/java/nio/Makefile X--- ../orig/jdk/make/java/nio/Makefile 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/java/nio/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -82,7 +82,7 @@ FILES_export += \ X sun/nio/ch/WindowsSelectorImpl.java X endif # PLATFORM = windows X X-ifeq ($(PLATFORM), linux) X+ifneq (,$(findstring $(PLATFORM), linux bsd)) X FILES_java += \ X sun/nio/ch/AbstractPollSelectorImpl.java \ X sun/nio/ch/EPollArrayWrapper.java \ X@@ -126,6 +126,11 @@ OTHER_INCLUDES += \ X -I$(PLATFORM_SRC)/native/java/net \ X -I$(CLASSHDRDIR)/../../../java.lang/java/CClassHeaders X X+ifeq ($(PLATFORM), bsd) X+OTHER_INCLUDES += \ X+ -I$(PLATFORM_SRC)/hpi/include X+endif X+ X ifeq ($(PLATFORM),windows) X OTHER_LDLIBS += $(JVMLIB) ws2_32.lib \ X -libpath:$(LIBDIR) java.lib \ X@@ -137,6 +142,9 @@ ifeq ($(PLATFORM), linux) X COMPILER_WARNINGS_FATAL=true X OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -ljava -lnet -lpthread -ldl X endif X+ifeq ($(PLATFORM), bsd) X+OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -ljava -lnet -pthread X+endif X ifeq ($(PLATFORM), solaris) X OTHER_LDLIBS += $(JVMLIB) $(LIBSOCKET) -lposix4 -ldl \ X -L$(LIBDIR)/$(LIBARCH) -ljava -lnet X@@ -159,6 +167,9 @@ endif X ifeq ($(PLATFORM), linux) X FILES_m = mapfile-linux X endif X+ifeq ($(PLATFORM), bsd) X+FILES_m = mapfile-bsd X+endif X include $(BUILDDIR)/common/Mapfile-vers.gmk X include $(BUILDDIR)/common/Library.gmk X Xdiff -uNpr ../orig/jdk/make/java/npt/Makefile ./jdk/make/java/npt/Makefile X--- ../orig/jdk/make/java/npt/Makefile 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/java/npt/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -70,6 +70,18 @@ ifeq ($(PLATFORM), windows) X OTHER_LCF += -export:nptInitialize -export:nptTerminate X endif X X+# Add location of iconv headers & libs X+ifeq ($(PLATFORM), bsd) X+ ifeq ($(OS_VENDOR), Apple) X+ OTHER_LDLIBS += -liconv X+ else X+ ifneq ($(OS_NAME), netbsd) X+ CPPFLAGS += -I$(PACKAGE_PATH)/include X+ OTHER_LDLIBS += -L$(PACKAGE_PATH)/lib -liconv X+ endif X+ endif X+endif X+ X # X # Add to ambient vpath so we pick up the library files X # Xdiff -uNpr ../orig/jdk/make/java/redist/FILES.gmk ./jdk/make/java/redist/FILES.gmk X--- ../orig/jdk/make/java/redist/FILES.gmk 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/java/redist/FILES.gmk 2009-05-14 23:41:34.000000000 -0400 X@@ -38,6 +38,14 @@ SHARED_FONTFILES = \ X $(LIBDIR)/fonts/LucidaSansDemiBold.ttf \ X X ifeq ($(PLATFORM), linux) X+NEED_OBLIQUE_FONTS = true X+endif X+ X+ifeq ($(PLATFORM), bsd) X+NEED_OBLIQUE_FONTS = true X+endif X+ X+ifeq ($(NEED_OBLIQUE_FONTS), true) X X # The oblique versions of the font are derived from the base versions X # and since 2D can do this derivation on the fly at run time there is no Xdiff -uNpr ../orig/jdk/make/java/redist/Makefile ./jdk/make/java/redist/Makefile X--- ../orig/jdk/make/java/redist/Makefile 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/java/redist/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -312,7 +312,7 @@ $(LIBDIR)/fonts/%.ttf: $(CLOSED_SRC)/sha X $(FONTSDIRFILE): $(PLATFORM_SRC)/classes/sun/awt/motif/java.fonts.dir X $(install-file) X X-ifeq ($(PLATFORM), linux) X+ifneq (,$(findstring $(PLATFORM), linux bsd)) X X # The oblique fonts are only needed/wanted on Linux. X X@@ -326,7 +326,7 @@ $(LIBDIR)/oblique-fonts/%.ttf: $(CLOSED_ X $(OBLFONTSDIRFILE): $(PLATFORM_SRC)/classes/sun/awt/motif/java.oblique-fonts.dir X $(install-file) X X-endif # linux X+endif # linux || bsd X endif # !OPENJDK X X # Import internal files (ones that are stashed in this source tree) Xdiff -uNpr ../orig/jdk/make/java/security/Makefile ./jdk/make/java/security/Makefile X--- ../orig/jdk/make/java/security/Makefile 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/java/security/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -51,7 +51,15 @@ ifeq ($(PLATFORM), windows) X ifneq ($(ARCH_DATA_MODEL), 64) X PROPS_SRC = $(TOPDIR)/src/share/lib/security/java.security-windows X endif X+ X+else # windows X+ X+ifeq ($(PLATFORM), bsd) X+ ifeq ($(OS_VENDOR), OpenBSD) X+ PROPS_SRC = $(TOPDIR)/src/share/lib/security/java.security-openbsd X+ endif X endif X+endif # windows X endif # PLATFORM X X Xdiff -uNpr ../orig/jdk/make/java/zip/FILES_c.gmk ./jdk/make/java/zip/FILES_c.gmk X--- ../orig/jdk/make/java/zip/FILES_c.gmk 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/java/zip/FILES_c.gmk 2009-05-14 23:41:34.000000000 -0400 X@@ -30,6 +30,10 @@ FILES_c = \ X Inflater.c \ X ZipFile.c \ X ZipEntry.c \ X+ zip_util.c X+ X+ifneq ($(SYSTEM_ZLIB),true) X+FILES_c += \ X zadler32.c \ X zcrc32.c \ X deflate.c \ X@@ -40,5 +44,5 @@ FILES_c = \ X inftrees.c \ X infcodes.c \ X infutil.c \ X- inffast.c \ X- zip_util.c X+ inffast.c X+endif Xdiff -uNpr ../orig/jdk/make/java/zip/Makefile ./jdk/make/java/zip/Makefile X--- ../orig/jdk/make/java/zip/Makefile 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/java/zip/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -72,16 +72,24 @@ else X CPPFLAGS += -UDEBUG X endif X X-CPPFLAGS += -I$(SHARE_SRC)/native/java/util/zip/zlib-$(ZLIB_VERSION) X CPPFLAGS += -I$(SHARE_SRC)/native/java/io X CPPFLAGS += -I$(PLATFORM_SRC)/native/java/io X X+ifneq ($(SYSTEM_ZLIB),true) X+CPPFLAGS += -I$(SHARE_SRC)/native/java/util/zip/zlib-$(ZLIB_VERSION) X+ X # X # Add to ambient vpath so we pick up the library files X # X vpath %.c $(SHARE_SRC)/native/$(PKGDIR)/zlib-$(ZLIB_VERSION) X+endif X X # X # Link to JVM library for JVM_Zip* functions X # X+ifeq ($(SYSTEM_ZLIB),true) X+OTHER_LDLIBS = -lz X+else X OTHER_LDLIBS = $(JVMLIB) X+endif X+ Xdiff -uNpr ../orig/jdk/make/javax/sound/FILES_c.gmk ./jdk/make/javax/sound/FILES_c.gmk X--- ../orig/jdk/make/javax/sound/FILES_c.gmk 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/javax/sound/FILES_c.gmk 2009-05-14 23:41:34.000000000 -0400 X@@ -34,6 +34,8 @@ FILES_solaris = \ X X FILES_linux = X X+FILES_bsd = X+ X FILES_windows = \ X PLATFORM_API_WinOS_MidiIn.c \ X PLATFORM_API_WinOS_MidiOut.c \ Xdiff -uNpr ../orig/jdk/make/javax/sound/Makefile ./jdk/make/javax/sound/Makefile X--- ../orig/jdk/make/javax/sound/Makefile 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/javax/sound/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -107,6 +107,19 @@ ifeq ($(PLATFORM), linux) X #MXSPP_ADD = $(PLATFORM)-$(ARCH)/ X endif # PLATFORM linux X X+# XXXBSD: ??? X+ifeq ($(PLATFORM), bsd) X+ # build with empty MIDI i/o X+ INCLUDE_MIDI = TRUE X+ # build with empty ports X+ INCLUDE_PORTS = TRUE X+ # build with empty direct audio X+ INCLUDE_DAUDIO = TRUE X+ ifeq ($(OS_VENDOR), OpenBSD) X+ LDFLAGS += -lossaudio X+ endif X+endif # PLATFORM bsd X+ X ifeq ($(PLATFORM), solaris) X ifneq ($(ARCH), amd64) X # build with ports and direct audio Xdiff -uNpr ../orig/jdk/make/javax/sound/SoundDefs.gmk ./jdk/make/javax/sound/SoundDefs.gmk X--- ../orig/jdk/make/javax/sound/SoundDefs.gmk 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/javax/sound/SoundDefs.gmk 2009-05-14 23:41:34.000000000 -0400 X@@ -40,6 +40,10 @@ ifeq ($(PLATFORM), linux) X CPPFLAGS += -DX_PLATFORM=X_LINUX X endif # PLATFORM linux X X+ifeq ($(PLATFORM), bsd) X+ CPPFLAGS += -DX_PLATFORM=X_BSD X+endif # PLATFORM bsd X+ X ifeq ($(PLATFORM), solaris) X CPPFLAGS += -DX_PLATFORM=X_SOLARIS X Xdiff -uNpr ../orig/jdk/make/jpda/back/Makefile ./jdk/make/jpda/back/Makefile X--- ../orig/jdk/make/jpda/back/Makefile 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/jpda/back/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -49,8 +49,10 @@ OTHER_INCLUDES = -I$(SHARE_SRC)/transpor X -I$(GENNATIVESRCDIR)/jdwp X X ifneq ($(PLATFORM), windows) X+ifneq ($(PLATFORM), bsd) X OTHER_LDLIBS += -ldl X endif # PLATFORM X+endif # PLATFORM X X # X # This turns off all assert() checking in the optimized library Xdiff -uNpr ../orig/jdk/make/jpda/transport/socket/Makefile ./jdk/make/jpda/transport/socket/Makefile X--- ../orig/jdk/make/jpda/transport/socket/Makefile 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/jpda/transport/socket/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -45,6 +45,11 @@ ifeq ($(PLATFORM), linux) X OTHER_LDLIBS += -lnsl $(LIBSOCKET) -lpthread X endif X X+ifeq ($(PLATFORM), bsd) X+ LIBSOCKET = X+ OTHER_LDLIBS += -pthread X+endif X+ X ifeq ($(PLATFORM), solaris) X OTHER_LDLIBS += -lnsl $(LIBSOCKET) X endif Xdiff -uNpr ../orig/jdk/make/sun/awt/Makefile ./jdk/make/sun/awt/Makefile X--- ../orig/jdk/make/sun/awt/Makefile 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/sun/awt/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -129,6 +129,14 @@ OTHER_CFLAGS += -DMOTIF_VERSION=2 X OTHER_LDLIBS = $(JVMLIB) $(LIBM) -ldl X endif X X+ifeq ($(PLATFORM), bsd) X+FILES_c = $(FILES_2D_c) X+FILES_c += awt_LoadLibrary.c X+OTHER_CFLAGS += -DMLIB_NO_LIBSUNMATH X+OTHER_CFLAGS += -DMOTIF_VERSION=2 X+OTHER_LDLIBS = $(JVMLIB) $(LIBM) X+endif X+ X FILES_c += initIDs.c X X # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SOLARIS/LINUX X@@ -241,7 +249,7 @@ vpath %.c $(SHARE_SRC)/native/$(PKGD X # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ WINDOWS X endif # PLATFORM X X-ifeq ($(PLATFORM), linux) X+ifneq (,$(findstring $(PLATFORM), linux bsd)) X # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv LINUX X vpath %.c $(SHARE_SRC)/native/$(PKGDIR)/../java2d/opengl X vpath %.c $(PLATFORM_SRC)/native/$(PKGDIR)/../java2d/opengl X@@ -421,6 +429,19 @@ FONTCONFIGS_SRC_PREFIX = $(PLATFORM). X # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SOLARIS X endif # PLATFORM X X+ifeq ($(PLATFORM), bsd) X+# vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv BSD X+ X+FONTCONFIGS_SRC = $(PLATFORM_SRC)/classes/sun/awt/fontconfigs X+_FONTCONFIGS = \ X+ fontconfig.properties X+ X+FONTCONFIGS_SRC_PREFIX = $(PLATFORM). X+ X+# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ BSD X+endif # PLATFORM X+ X+ X FONTCONFIGS = $(_FONTCONFIGS:%=$(LIBDIR)/%.src) X BINARYFONTCONFIGS = $(_FONTCONFIGS:%.properties=$(LIBDIR)/%.bfc) X X@@ -514,6 +535,9 @@ CPPFLAGS += -I$(MOTIF_DIR)/include \ X -I$(OPENWIN_HOME)/include/X11/extensions \ X -I$(PLATFORM_SRC)/native/$(PKGDIR)/font X endif X+ifeq ($(PLATFORM), bsd) X+CPPFLAGS += -I$(PLATFORM_SRC)/native/$(PKGDIR)/font X+endif X CPPFLAGS += -I$(SHARE_SRC)/native/$(PKGDIR)/debug \ X -I$(SHARE_SRC)/native/$(PKGDIR)/../font \ X -I$(PLATFORM_SRC)/native/$(PKGDIR)/../font \ X@@ -535,7 +559,13 @@ CPPFLAGS += -I$(SHARE_SRC)/native/$(PKGD X -I$(PLATFORM_SRC)/native/$(PKGDIR) \ X $(EVENT_MODEL) X X-ifeq ($(PLATFORM), linux) X+# include these last so we don't pick up unintentional includes X+ifeq ($(PLATFORM), bsd) X+CPPFLAGS += -I$(OPENWIN_HOME)/include \ X+ -I$(OPENWIN_HOME)/include/X11/extensions X+endif X+ X+ifneq (,$(findstring $(PLATFORM), linux bsd)) X LDFLAGS += -L$(MOTIF_LIB) -L$(OPENWIN_LIB) X endif X Xdiff -uNpr ../orig/jdk/make/sun/awt/mawt.gmk ./jdk/make/sun/awt/mawt.gmk X--- ../orig/jdk/make/sun/awt/mawt.gmk 2009-04-24 03:33:55.000000000 -0400 X+++ ./jdk/make/sun/awt/mawt.gmk 2009-05-14 23:41:34.000000000 -0400 X@@ -172,7 +172,7 @@ ifeq ($(PLATFORM), solaris) X OTHER_LDLIBS = $(LIBXM) -lXt -lXext $(LIBXTST) $(LIBXMU) -lX11 -lXi X endif X X-ifeq ($(PLATFORM), linux) X+ifneq (,$(findstring $(PLATFORM), linux bsd)) X OTHER_CFLAGS += -DMLIB_NO_LIBSUNMATH X OTHER_CFLAGS += -DMOTIF_VERSION=2 X OTHER_CFLAGS += -DXMSTRINGDEFINES=1 X@@ -183,7 +183,11 @@ endif X # !HEADLESS X X OTHER_LDLIBS += $(JVMLIB) $(LIBCXX) \ X- -lawt $(LIBM) -ldl X+ -lawt $(LIBM) X+ X+ifneq ($(PLATFORM), bsd) X+OTHER_LDLIBS += -ldl X+endif X X # X # Sun CC with -Xa misdefines __STDC__ to 0 (zero). X@@ -227,16 +231,33 @@ CPPFLAGS += -I$(SHARE_SRC)/native/$(PKGD X -I$(PLATFORM_SRC)/native/$(PKGDIR) \ X $(EVENT_MODEL) X X+CPPFLAGS += -I$(CUPS_HEADERS_PATH) X+ X+ifndef HEADLESS X+CPPFLAGS += -I$(MOTIF_DIR)/include \ X+ -I$(OPENWIN_HOME)/include X+LDFLAGS += -L$(MOTIF_LIB) -L$(OPENWIN_LIB) X+ X+endif # !HEADLESS X+ X ifeq ($(PLATFORM), linux) X # Checking for the X11/extensions headers at the additional location X CPPFLAGS += -I/X11R6/include/X11/extensions \ X -I/usr/include/X11/extensions X endif X X+ifeq ($(PLATFORM), bsd) X+ CPPFLAGS += -I$(OPENWIN_HOME)/include/X11/extensions \ X+ -I$(OPENWIN_HOME)/include X+endif X+ X ifeq ($(PLATFORM), solaris) X CPPFLAGS += -I$(OPENWIN_HOME)/include/X11/extensions X endif X X+ifneq ($(PLATFORM), windows) X+ CPPFLAGS += -DX11_PATH=\"$(X11_PATH)\" -DPACKAGE_PATH=\"$(PACKAGE_PATH)\" X+endif X X LDFLAGS += -L$(LIBDIR)/$(LIBARCH)/$(TSOBJDIR) \ X $(AWT_RUNPATH) Xdiff -uNpr ../orig/jdk/make/sun/font/Makefile ./jdk/make/sun/font/Makefile X--- ../orig/jdk/make/sun/font/Makefile 2009-04-24 03:33:56.000000000 -0400 X+++ ./jdk/make/sun/font/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -177,6 +177,15 @@ else # PLATFORM X # Libraries to link, and other C flags. X # X X+ifeq ($(PLATFORM), bsd) X+OTHER_INCLUDES += -I$(X11_PATH)/include X+OTHER_LDLIBS += -lawt $(LIBM) $(LIBCXX) X+ ifeq ($(OS_VENDOR),Apple) X+ # XXXDARWIN Match BSD/Linux behavior -- the mawt.dylib symbols will X+ # be available at runtime. X+ OTHER_LDLIBS += -flat_namespace -undefined suppress X+ endif X+else X ifeq ($(PLATFORM), solaris) X # Note that on Solaris, fontmanager is built against the headless library. X LDFLAGS += -L$(LIBDIR)/$(LIBARCH)/headless X@@ -187,6 +196,7 @@ else # PLATFORM is linux X OTHER_LDLIBS += -Wl,-Bstatic -lgcc_eh -Wl,-Bdynamic X endif X endif X+endif X X endif # PLATFORM X Xdiff -uNpr ../orig/jdk/make/sun/image/generic/Makefile ./jdk/make/sun/image/generic/Makefile X--- ../orig/jdk/make/sun/image/generic/Makefile 2009-04-24 03:33:56.000000000 -0400 X+++ ./jdk/make/sun/image/generic/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -69,5 +69,9 @@ CPPFLAGS += \ X -I$(PLATFORM_SRC)/native/$(PKGDIR)/medialib X X OTHER_CFLAGS += -D__USE_J2D_NAMES -D__MEDIALIB_OLD_NAMES X-OTHER_LDLIBS = $(LIBM) -ldl X+OTHER_LDLIBS = $(LIBM) X+ifneq ($(PLATFORM), bsd) X+OTHER_LDLIBS += -ldl X+endif X+ X Xdiff -uNpr ../orig/jdk/make/sun/jawt/Makefile ./jdk/make/sun/jawt/Makefile X--- ../orig/jdk/make/sun/jawt/Makefile 2009-04-24 03:33:56.000000000 -0400 X+++ ./jdk/make/sun/jawt/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -98,9 +98,7 @@ else # PLATFORM X # X # Other extra flags needed for compiling. X # X-CPPFLAGS += -I$(OPENWIN_HOME)/include \ X- -I$(MOTIF_DIR)/include \ X- -I$(SHARE_SRC)/native/$(PKGDIR)/debug \ X+CPPFLAGS += -I$(SHARE_SRC)/native/$(PKGDIR)/debug \ X -I$(SHARE_SRC)/native/$(PKGDIR)/image \ X -I$(SHARE_SRC)/native/$(PKGDIR)/image/cvutils \ X -I$(SHARE_SRC)/native/$(PKGDIR)/alphacomposite \ X@@ -114,6 +112,8 @@ CPPFLAGS += -I$(OPENWIN_HOME)/include \ X -I$(SHARE_SRC)/native/$(PKGDIR)/../dc/doe \ X -I$(SHARE_SRC)/native/$(PKGDIR)/../dc/path \ X -I$(PLATFORM_SRC)/native/$(PKGDIR)/../jdga \ X+ -I$(OPENWIN_HOME)/include \ X+ -I$(MOTIF_DIR)/include \ X $(EVENT_MODEL) X # X # Libraries to link in. X@@ -122,7 +122,7 @@ ifeq ($(PLATFORM), solaris) X OTHER_LDLIBS = -L$(LIBDIR)/$(LIBARCH) -L$(OPENWIN_LIB) -L$(LIBDIR)/$(LIBARCH)/xawt -lmawt X endif # PLATFORM X X-ifeq ($(PLATFORM), linux) X+ifneq (,$(findstring $(PLATFORM), linux bsd)) X OTHER_LDLIBS = -L$(LIBDIR)/$(LIBARCH) -lawt -L$(LIBDIR)/$(LIBARCH)/xawt -lmawt X endif # PLATFORM X Xdiff -uNpr ../orig/jdk/make/sun/security/jgss/wrapper/Makefile ./jdk/make/sun/security/jgss/wrapper/Makefile X--- ../orig/jdk/make/sun/security/jgss/wrapper/Makefile 2009-04-24 03:33:56.000000000 -0400 X+++ ./jdk/make/sun/security/jgss/wrapper/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -71,6 +71,10 @@ include $(BUILDDIR)/common/Library.gmk X # X # Libraries to link X # X-ifneq ($(PLATFORM), windows) X+ifneq (,$(findstring $(PLATFORM), linux solaris)) X OTHER_LDLIBS = -ldl $(JVMLIB) X endif X+ X+ifeq ($(PLATFORM), bsd) X+ OTHER_LDLIBS = $(JVMLIB) X+endif Xdiff -uNpr ../orig/jdk/make/sun/security/pkcs11/Makefile ./jdk/make/sun/security/pkcs11/Makefile X--- ../orig/jdk/make/sun/security/pkcs11/Makefile 2009-04-24 03:33:56.000000000 -0400 X+++ ./jdk/make/sun/security/pkcs11/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -155,7 +155,7 @@ include $(BUILDDIR)/common/Library.gmk X # X # Libraries to link X # X-ifeq ($(PLATFORM), windows) X+ifneq (,$(findstring $(PLATFORM), windows bsd)) X OTHER_LDLIBS = $(JVMLIB) X else X OTHER_LDLIBS = -ldl $(JVMLIB) Xdiff -uNpr ../orig/jdk/make/sun/security/smartcardio/Makefile ./jdk/make/sun/security/smartcardio/Makefile X--- ../orig/jdk/make/sun/security/smartcardio/Makefile 2009-04-24 03:33:56.000000000 -0400 X+++ ./jdk/make/sun/security/smartcardio/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -75,6 +75,10 @@ include $(BUILDDIR)/common/Library.gmk X ifeq ($(PLATFORM), windows) X OTHER_LDLIBS = $(JVMLIB) winscard.lib X else X- OTHER_LDLIBS = -ldl $(JVMLIB) X+ ifeq ($(PLATFORM), bsd) X+ OTHER_LDLIBS = $(JVMLIB) X+ else X+ OTHER_LDLIBS = -ldl $(JVMLIB) X+ endif X OTHER_CFLAGS = -D__sun_jdk X endif Xdiff -uNpr ../orig/jdk/make/sun/splashscreen/FILES_c.gmk ./jdk/make/sun/splashscreen/FILES_c.gmk X--- ../orig/jdk/make/sun/splashscreen/FILES_c.gmk 2009-04-24 03:33:56.000000000 -0400 X+++ ./jdk/make/sun/splashscreen/FILES_c.gmk 2009-05-14 23:41:34.000000000 -0400 X@@ -49,20 +49,6 @@ FILES_c = \ X dgif_lib.c \ X gif_err.c \ X gifalloc.c \ X- compress.c \ X- deflate.c \ X- gzio.c \ X- infblock.c \ X- infcodes.c \ X- inffast.c \ X- inflate.c \ X- inftrees.c \ X- infutil.c \ X- trees.c \ X- uncompr.c \ X- zadler32.c \ X- zcrc32.c \ X- zutil.c \ X jcomapi.c \ X jdapimin.c \ X jdapistd.c \ X@@ -108,3 +94,20 @@ FILES_c = \ X jfdctfst.c \ X jfdctint.c X X+ifneq ($(SYSTEM_ZLIB),true) X+ FILES_c += \ X+ compress.c \ X+ deflate.c \ X+ gzio.c \ X+ infblock.c \ X+ infcodes.c \ X+ inffast.c \ X+ inflate.c \ X+ inftrees.c \ X+ infutil.c \ X+ trees.c \ X+ uncompr.c \ X+ zadler32.c \ X+ zcrc32.c \ X+ zutil.c X+endif Xdiff -uNpr ../orig/jdk/make/sun/splashscreen/Makefile ./jdk/make/sun/splashscreen/Makefile X--- ../orig/jdk/make/sun/splashscreen/Makefile 2009-04-24 03:33:56.000000000 -0400 X+++ ./jdk/make/sun/splashscreen/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -61,10 +61,26 @@ JAVALIB= X X CFLAGS += -DSPLASHSCREEN X X+CPPFLAGS += -I$(PLATFORM_SRC)/native/$(PKGDIR)/splashscreen -I$(SHARE_SRC)/native/$(PKGDIR)/splashscreen X+CPPFLAGS += -I$(SHARE_SRC)/native/$(PKGDIR)/image/jpeg X+ifneq ($(SYSTEM_ZLIB),true) X+ CPPFLAGS += -I$(SHARE_SRC)/native/java/util/zip/zlib-1.1.3 X+endif X+ X+ X ifneq ($(PLATFORM), windows) X CFLAGS += -DWITH_X11 X- CPPFLAGS += -I$(OPENWIN_HOME)/include -I$(OPENWIN_HOME)/include/X11/extensions X- OTHER_LDLIBS += -L$(OPENWIN_LIB) -lX11 -lXext $(LIBM) -lpthread X+ ifeq ($(PLATFORM), bsd) X+ CFLAGS += -DPNG_NO_MMX_CODE X+ ICONV_PATH = $(PACKAGE_PATH) X+ CPPFLAGS += -I$(OPENWIN_HOME)/include \ X+ -I$(OPENWIN_HOME)/include/X11/extensions \ X+ -I$(ICONV_PATH)/include X+ OTHER_LDLIBS += -L$(OPENWIN_LIB) -lX11 -lXext -L$(ICONV_PATH)/lib -liconv $(LIBM) -pthread X+ else X+ CPPFLAGS += -I$(OPENWIN_HOME)/include -I$(OPENWIN_HOME)/include/X11/extensions X+ OTHER_LDLIBS += -L$(OPENWIN_LIB) -lX11 -lXext $(LIBM) -lpthread X+ endif X else # PLATFORM X CFLAGS += -DWITH_WIN32 X OTHER_LDLIBS += kernel32.lib user32.lib gdi32.lib X@@ -77,14 +93,13 @@ endif # PLATFORM X vpath %.c $(SHARE_SRC)/native/$(PKGDIR)/splashscreen X vpath %.c $(SHARE_SRC)/native/$(PKGDIR) X vpath %.c $(SHARE_SRC)/native/$(PKGDIR)/giflib X-vpath %.c $(SHARE_SRC)/native/java/util/zip/zlib-1.1.3 X+ifneq ($(SYSTEM_ZLIB),true) X+ vpath %.c $(SHARE_SRC)/native/java/util/zip/zlib-1.1.3 X+endif X vpath %.c $(SHARE_SRC)/native/$(PKGDIR)/libpng X vpath %.c $(SHARE_SRC)/native/$(PKGDIR)/image/jpeg X vpath %.c $(PLATFORM_SRC)/native/$(PKGDIR)/splashscreen X X-CPPFLAGS += -I$(PLATFORM_SRC)/native/$(PKGDIR)/splashscreen -I$(SHARE_SRC)/native/$(PKGDIR)/splashscreen X-CPPFLAGS += -I$(SHARE_SRC)/native/$(PKGDIR)/image/jpeg -I$(SHARE_SRC)/native/java/util/zip/zlib-1.1.3 X- X ifeq ($(PLATFORM), linux) X ifeq ($(ARCH_DATA_MODEL), 64) X # 64-bit gcc has problems compiling MMX instructions. Xdiff -uNpr ../orig/jdk/make/sun/xawt/Makefile ./jdk/make/sun/xawt/Makefile X--- ../orig/jdk/make/sun/xawt/Makefile 2009-04-24 03:33:56.000000000 -0400 X+++ ./jdk/make/sun/xawt/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -53,6 +53,11 @@ LDFLAGS += -lpthread X dummy := $(shell $(MKDIR) -p $(LIB_LOCATION)) X endif X X+ifeq ($(PLATFORM), bsd) X+LDFLAGS += -pthread X+dummy := $(shell $(MKDIR) -p $(LIB_LOCATION)) X+endif X+ X # Since this library will be living in a subdirectory below the other libraries X # we need to add an extra runpath so that libraries in the upper directory X # are found at runtime. X@@ -86,7 +91,12 @@ vpath %.c $(SHARE_SRC)/native/sun/java X vpath %.c $(PLATFORM_SRC)/native/sun/java2d/opengl X vpath %.c $(PLATFORM_SRC)/native/sun/java2d/x11 X X-OTHER_LDLIBS = $(LIBM) -lawt -lXext -lX11 -ldl \ X+ifeq ($(PLATFORM), bsd) X+LIBDL= X+else X+LIBDL=-ldl X+endif X+OTHER_LDLIBS = $(LIBM) -lawt -lXext -lX11 $(LIBDL) \ X $(LDFLAGS_COMMON) $(AWT_RUNPATH) $(OTHER_LDFLAGS) -lXtst -lXi X X ifeq ($(PLATFORM), solaris) X@@ -94,8 +104,6 @@ CPPFLAGS += -DFUNCPROTO=15 X dummy := $(shell $(MKDIR) -p $(LIB_LOCATION)) X endif X X-CPPFLAGS += -I$(CUPS_HEADERS_PATH) X- X CPPFLAGS += -DXAWT -DXAWT_HACK \ X -I$(TEMPDIR)/../../sun.awt/awt/CClassHeaders \ X -I$(PLATFORM_SRC)/native/sun/awt \ X@@ -122,9 +130,11 @@ CPPFLAGS += -DXAWT -DXAWT_HACK \ X -I$(SHARE_SRC)/native/sun/awt \ X -I$(PLATFORM_SRC)/native/sun/awt X X+CPPFLAGS += -I$(CUPS_HEADERS_PATH) X+ X ifeq ($(PLATFORM), linux) X # Allows for builds on Debian GNU Linux, X11 is in a different place X- CPPFLAGS += -I/usr/X11R6/include/X11/extensions \ X+ CPPFLAGS += -I$(OPENWIN_HOME)/include/X11/extensions \ X -I/usr/include/X11/extensions \ X -I$(MOTIF_DIR)/include \ X -I$(OPENWIN_HOME)/include X@@ -134,6 +144,14 @@ ifeq ($(PLATFORM), solaris) X CPPFLAGS += -I$(OPENWIN_HOME)/include/X11/extensions -I$(MOTIF_DIR)/include X endif X X+ifeq ($(PLATFORM), bsd) X+ CPPFLAGS += -I$(OPENWIN_HOME)/include/X11/extensions -I$(OPENWIN_HOME)/include X+endif X+ X+ifneq ($(PLATFORM), windows) X+ CPPFLAGS += -DX11_PATH=\"$(X11_PATH)\" -DPACKAGE_PATH=\"$(PACKAGE_PATH)\" X+endif X+ X ifeq ($(MILESTONE), internal) X CPPFLAGS += -DINTERNAL_BUILD X endif Xdiff -uNpr ../orig/jdk/make/tools/freetypecheck/Makefile ./jdk/make/tools/freetypecheck/Makefile X--- ../orig/jdk/make/tools/freetypecheck/Makefile 2009-04-24 03:33:56.000000000 -0400 X+++ ./jdk/make/tools/freetypecheck/Makefile 2009-05-14 23:41:34.000000000 -0400 X@@ -60,8 +60,12 @@ else X #add runtime lib search path to ensure test will be runnable X ifeq ($(PLATFORM), solaris) X FT_OPTIONS += -R $(FT_LIB) -lfreetype X- else #linux X- FT_OPTIONS += -Wl,-rpath -Wl,$(FT_LIB) -lfreetype X+ else X+ ifeq ($(PLATFORM), bsd) X+ FT_OPTIONS += -lfreetype -lz X+ else # linux X+ FT_OPTIONS += -Wl,-rpath -Wl,$(FREETYPE_LIB_PATH) -lfreetype X+ endif X endif X endif X Xdiff -uNpr ../orig/jdk/src/share/back/commonRef.c ./jdk/src/share/back/commonRef.c X--- ../orig/jdk/src/share/back/commonRef.c 2009-04-24 03:33:57.000000000 -0400 X+++ ./jdk/src/share/back/commonRef.c 2009-05-14 23:41:34.000000000 -0400 X@@ -23,6 +23,10 @@ X * have any questions. X */ X X+#if defined(_ALLBSD_SOURCE) X+#include /* for uintptr_t */ X+#endif X+ X #include "util.h" X #include "commonRef.h" X Xdiff -uNpr ../orig/jdk/src/share/bin/java.c ./jdk/src/share/bin/java.c X--- ../orig/jdk/src/share/bin/java.c 2009-04-24 03:33:57.000000000 -0400 X+++ ./jdk/src/share/bin/java.c 2009-05-14 23:41:34.000000000 -0400 X@@ -104,6 +104,11 @@ static char *progname; X static char *launchername; X jboolean _launcher_debug = JNI_FALSE; X X+#ifdef __APPLE__ X+static jboolean continueInSameThread = JNI_FALSE; /* start VM in current thread */ X+#endif X+ X+ X /* X * Entries for splash screen environment variables. X * putenv is performed in SelectVersion. We need X@@ -146,6 +151,10 @@ static void PrintUsage(JNIEnv* env, jboo X static void SetPaths(int argc, char **argv); X X X+#ifdef __APPLE__ X+static int ContinueInSameThread(InvocationFunctions* ifn, int argc, char **argv, char *jarfile, char *classname, int ret); X+#endif X+ X /* Maximum supported entries from jvm.cfg. */ X #define INIT_MAX_KNOWN_VMS 10 X /* Values for vmdesc.flag */ X@@ -184,13 +193,13 @@ static jlong threadStackSize = 0; /* st X X int JNICALL JavaMain(void * args); /* entry point */ X X-struct JavaMainArgs { X+typedef struct { X int argc; X char ** argv; X char * jarfile; X char * classname; X InvocationFunctions ifn; X-}; X+} JavaMainArgs; X X /* X * Entry point. X@@ -332,49 +341,24 @@ main(int argc, char ** argv) X /* Show the splash screen if needed */ X ShowSplashScreen(); X X- /* X- * Done with all command line processing and potential re-execs so X- * clean up the environment. X- */ X- (void)UnsetEnv(ENV_ENTRY); X- (void)UnsetEnv(SPLASH_FILE_ENV_ENTRY); X- (void)UnsetEnv(SPLASH_JAR_ENV_ENTRY); X- X- JLI_MemFree(splash_jar_entry); X- JLI_MemFree(splash_file_entry); X X- /* X- * If user doesn't specify stack size, check if VM has a preference. X- * Note that HotSpot no longer supports JNI_VERSION_1_1 but it will X- * return its default stack size through the init args structure. X- */ X- if (threadStackSize == 0) { X- struct JDK1_1InitArgs args1_1; X- memset((void*)&args1_1, 0, sizeof(args1_1)); X- args1_1.version = JNI_VERSION_1_1; X- ifn.GetDefaultJavaVMInitArgs(&args1_1); /* ignore return value */ X- if (args1_1.javaStackSize > 0) { X- threadStackSize = args1_1.javaStackSize; X+#ifdef __APPLE__ X+ if (continueInSameThread == JNI_TRUE) { X+ return ContinueInSameThread(&ifn, argc, argv, jarfile, classname, ret); X+ } else { X+ return ContinueInNewThread(&ifn, argc, argv, jarfile, classname, ret); X } X- } X- X- { /* Create a new thread to create JVM and invoke main method */ X- struct JavaMainArgs args; X+#else X X- args.argc = argc; X- args.argv = argv; X- args.jarfile = jarfile; X- args.classname = classname; X- args.ifn = ifn; X+ return ContinueInNewThread(&ifn, argc, argv, jarfile, classname, ret); X+#endif X X- return ContinueInNewThread(JavaMain, threadStackSize, (void*)&args, ret); X- } X } X X int JNICALL X JavaMain(void * _args) X { X- struct JavaMainArgs *args = (struct JavaMainArgs *)_args; X+ JavaMainArgs *args = (JavaMainArgs *)_args; X int argc = args->argc; X char **argv = args->argv; X char *jarfile = args->jarfile; X@@ -1159,6 +1143,10 @@ ParseArguments(int *pargc, char ***pargv X } else if (strcmp(arg, "-X") == 0) { X printXUsage = JNI_TRUE; X return JNI_TRUE; X+#ifdef __APPLE__ X+ } else if (JLI_StrCmp(arg, "-XstartOnFirstThread") == 0) { X+ continueInSameThread = JNI_TRUE; X+#endif X /* X * The following case provide backward compatibility with old-style X * command line options. X@@ -1979,6 +1967,84 @@ KnownVMIndex(const char* name) X return -1; X } X X+static int X+ContinueInNewThread(InvocationFunctions* ifn, int argc, X+ char **argv, char *jarfile, char *classname, int ret) X+{ X+ X+ /* X+ * If user doesn't specify stack size, check if VM has a preference. X+ * Note that HotSpot no longer supports JNI_VERSION_1_1 but it will X+ * return its default stack size through the init args structure. X+ */ X+ if (threadStackSize == 0) { X+ struct JDK1_1InitArgs args1_1; X+ memset((void*)&args1_1, 0, sizeof(args1_1)); X+ args1_1.version = JNI_VERSION_1_1; X+ ifn->GetDefaultJavaVMInitArgs(&args1_1); /* ignore return value */ X+ if (args1_1.javaStackSize > 0) { X+ threadStackSize = args1_1.javaStackSize; X+ } X+ } X+ X+ { /* Create a new thread to create JVM and invoke main method */ X+ JavaMainArgs args; X+ int rslt; X+ X+ args.argc = argc; X+ args.argv = argv; X+ args.jarfile = jarfile; X+ args.classname = classname; X+ args.ifn = *ifn; X+ X+ rslt = ContinueInNewThread0(JavaMain, threadStackSize, (void*)&args); X+ /* If the caller has deemed there is an error we X+ * simply return that, otherwise we return the value of X+ * the callee X+ */ X+ return (ret != 0) ? ret : rslt; X+ } X+} X+ X+ X+#ifdef __APPLE__ X+static int X+ContinueInSameThread(InvocationFunctions* ifn, int argc, X+ char **argv, char *jarfile, char *classname, int ret) X+{ X+ X+ /* X+ * If user doesn't specify stack size, check if VM has a preference. X+ * Note that HotSpot no longer supports JNI_VERSION_1_1 but it will X+ * return its default stack size through the init args structure. X+ */ X+ if (threadStackSize == 0) { X+ struct JDK1_1InitArgs args1_1; X+ memset((void*)&args1_1, 0, sizeof(args1_1)); X+ args1_1.version = JNI_VERSION_1_1; X+ ifn->GetDefaultJavaVMInitArgs(&args1_1); /* ignore return value */ X+ if (args1_1.javaStackSize > 0) { X+ threadStackSize = args1_1.javaStackSize; X+ } X+ } X+ X+ { /* Create create JVM and invoke main method */ X+ JavaMainArgs args; X+ int rslt; X+ X+ args.argc = argc; X+ args.argv = argv; X+ args.jarfile = jarfile; X+ args.classname = classname; X+ args.ifn = *ifn; X+ X+ rslt = JavaMain((void*)&args); X+ X+ return (ret != 0) ? ret : rslt; X+ } X+} X+#endif X+ X static void X FreeKnownVMs() X { Xdiff -uNpr ../orig/jdk/src/share/bin/java.h ./jdk/src/share/bin/java.h X--- ../orig/jdk/src/share/bin/java.h 2009-04-24 03:33:57.000000000 -0400 X+++ ./jdk/src/share/bin/java.h 2009-05-14 23:41:34.000000000 -0400 X@@ -91,11 +91,17 @@ jboolean RemovableMachineDependentOption X void PrintMachineDependentOptions(); X X const char *jlong_format_specifier(); X+ X /* X * Block current thread and continue execution in new thread X */ X-int ContinueInNewThread(int (JNICALL *continuation)(void *), X- jlong stack_size, void * args, int ret); X+int ContinueInNewThread0(int (JNICALL *continuation)(void *), X+ jlong stack_size, void * args); X+ X+ X+ static int ContinueInNewThread(InvocationFunctions* ifn, int argc, char** argv, X+ char* jarfile, char* classname, int ret); X+ X X /* sun.java.launcher.* platform properties. */ X void SetJavaLauncherPlatformProps(void); Xdiff -uNpr ../orig/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/Metacity.java ./jdk/src/share/classes/com/sun/java/swing/plaf/gtk/Metacity.java X--- ../orig/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/Metacity.java 2009-04-24 03:33:58.000000000 -0400 X+++ ./jdk/src/share/classes/com/sun/java/swing/plaf/gtk/Metacity.java 2009-05-14 23:41:34.000000000 -0400 X@@ -477,6 +477,10 @@ class Metacity implements SynthConstants X String[] dirs = new String[] { X userHome + sep + ".themes", X System.getProperty("swing.metacitythemedir"), X+ "/usr/X11R6/share/themes", X+ "/usr/X11R6/share/gnome/themes", X+ "/usr/local/share/themes", X+ "/usr/local/share/gnome/themes", X "/usr/share/themes", X "/usr/gnome/share/themes", // Debian/Redhat/Solaris X "/opt/gnome2/share/themes" // SuSE Xdiff -uNpr ../orig/jdk/src/share/classes/com/sun/jmx/snmp/SnmpPduTrap.java ./jdk/src/share/classes/com/sun/jmx/snmp/SnmpPduTrap.java X--- ../orig/jdk/src/share/classes/com/sun/jmx/snmp/SnmpPduTrap.java 2009-04-24 03:34:00.000000000 -0400 X+++ ./jdk/src/share/classes/com/sun/jmx/snmp/SnmpPduTrap.java 2009-05-14 23:41:34.000000000 -0400 X@@ -78,6 +78,9 @@ public class SnmpPduTrap extends SnmpPdu X */ X public long timeStamp ; X X+ // TODO: IcedTea: I am a stub. X+ static public int trapAuthenticationFailure = 0; X+ X X X /** Xdiff -uNpr ../orig/jdk/src/share/classes/java/awt/GraphicsEnvironment.java ./jdk/src/share/classes/java/awt/GraphicsEnvironment.java X--- ../orig/jdk/src/share/classes/java/awt/GraphicsEnvironment.java 2009-04-24 03:34:04.000000000 -0400 X+++ ./jdk/src/share/classes/java/awt/GraphicsEnvironment.java 2009-05-14 23:41:34.000000000 -0400 X@@ -148,7 +148,12 @@ public abstract class GraphicsEnvironmen X } else { X String osName = System.getProperty("os.name"); X headless = defaultHeadless = X- Boolean.valueOf(("Linux".equals(osName) || "SunOS".equals(osName)) && X+ Boolean.valueOf(("Linux".equals(osName) || X+ "SunOS".equals(osName) || X+ "FreeBSD".equals(osName) || X+ "NetBSD".equals(osName) || X+ "OpenBSD".equals(osName) || X+ "Darwin".equals(osName)) && X (System.getenv("DISPLAY") == null)); X } X } else if (nm.equals("true")) { Xdiff -uNpr ../orig/jdk/src/share/classes/java/util/TimeZone.java ./jdk/src/share/classes/java/util/TimeZone.java X--- ../orig/jdk/src/share/classes/java/util/TimeZone.java 2009-04-24 03:34:08.000000000 -0400 X+++ ./jdk/src/share/classes/java/util/TimeZone.java 2009-05-14 23:41:34.000000000 -0400 X@@ -779,15 +779,13 @@ abstract public class TimeZone implement X } X int gmtOffset = (hours * 60 + num) * 60 * 1000; X X+ zi = ZoneInfoFile.getCustomTimeZone(id, negative ? -gmtOffset : gmtOffset); X if (gmtOffset == 0) { X- zi = ZoneInfoFile.getZoneInfo(GMT_ID); X if (negative) { X zi.setID("GMT-00:00"); X } else { X zi.setID("GMT+00:00"); X } X- } else { X- zi = ZoneInfoFile.getCustomTimeZone(id, negative ? -gmtOffset : gmtOffset); X } X return zi; X } Xdiff -uNpr ../orig/jdk/src/share/classes/sun/awt/FontConfiguration.java ./jdk/src/share/classes/sun/awt/FontConfiguration.java X--- ../orig/jdk/src/share/classes/sun/awt/FontConfiguration.java 2009-04-24 03:34:16.000000000 -0400 X+++ ./jdk/src/share/classes/sun/awt/FontConfiguration.java 2009-05-14 23:41:34.000000000 -0400 X@@ -1073,7 +1073,7 @@ public abstract class FontConfiguration X */ X HashMap existsMap; X public boolean needToSearchForFile(String fileName) { X- if (!environment.isLinux) { X+ if (!environment.isLinuxOrBSD) { X return false; X } else if (existsMap == null) { X existsMap = new HashMap(); X@@ -1309,7 +1309,7 @@ public abstract class FontConfiguration X + " entry is missing!!!"); X- if (!osName.contains("Linux")) { X+ if (!osName.contains("Linux") && !osName.contains("BSD") && !osName.contains("Darwin")) { X errors++; X } X } Xdiff -uNpr ../orig/jdk/src/share/classes/sun/java2d/SunGraphicsEnvironment.java ./jdk/src/share/classes/sun/java2d/SunGraphicsEnvironment.java X--- ../orig/jdk/src/share/classes/sun/java2d/SunGraphicsEnvironment.java 2009-04-24 03:34:17.000000000 -0400 X+++ ./jdk/src/share/classes/sun/java2d/SunGraphicsEnvironment.java 2009-05-14 23:41:34.000000000 -0400 X@@ -76,7 +76,7 @@ import sun.font.NativeFont; X public abstract class SunGraphicsEnvironment extends GraphicsEnvironment X implements FontSupport, DisplayChangedListener { X X- public static boolean isLinux; X+ public static boolean isLinuxOrBSD; X public static boolean isSolaris; X public static boolean isWindows; X public static boolean noType1Font; X@@ -164,7 +164,15 @@ public abstract class SunGraphicsEnviron X public Object run() { X String osName = System.getProperty("os.name"); X if ("Linux".equals(osName)) { X- isLinux = true; X+ isLinuxOrBSD = true; X+ } else if ("FreeBSD".equals(osName)) { X+ isLinuxOrBSD = true; X+ } else if ("Darwin".equals(osName)) { X+ isLinuxOrBSD = true; X+ } else if ("NetBSD".equals(osName)) { X+ isLinuxOrBSD = true; X+ } else if ("OpenBSD".equals(osName)) { X+ isLinuxOrBSD = true; X } else if ("SunOS".equals(osName)) { X isSolaris = true; X } else if ("Windows".equals(osName)) { X@@ -227,8 +235,8 @@ public abstract class SunGraphicsEnviron X * Pass "true" to registerFonts method as on-screen these X * JRE fonts always go through the T2K rasteriser. X */ X- if (isLinux) { X- /* Linux font configuration uses these fonts */ X+ if (isLinuxOrBSD) { X+ /* Linux/BSD font configuration uses these fonts */ X registerFontDir(jreFontDirName); X } X registerFontsInDir(jreFontDirName, true, Font2D.JRE_RANK, Xdiff -uNpr ../orig/jdk/src/share/classes/sun/print/PSPrinterJob.java ./jdk/src/share/classes/sun/print/PSPrinterJob.java X--- ../orig/jdk/src/share/classes/sun/print/PSPrinterJob.java 2009-04-24 03:34:21.000000000 -0400 X+++ ./jdk/src/share/classes/sun/print/PSPrinterJob.java 2009-05-14 23:41:34.000000000 -0400 X@@ -1531,7 +1531,9 @@ public class PSPrinterJob extends Raster X pFlags |= NOSHEET; X ncomps+=1; X } X- if (System.getProperty("os.name").equals("Linux")) { X+ X+ String osname = System.getProperty("os.name"); X+ if (osname.equals("Linux") || osname.equals("FreeBSD") || osname.equals("NetBSD") || osname.equals("OpenBSD") || osname.equals("Darwin")) { X execCmd = new String[ncomps]; X execCmd[n++] = "/usr/bin/lpr"; X if ((pFlags & PRINTER) != 0) { Xdiff -uNpr ../orig/jdk/src/share/classes/sun/tools/attach/META-INF/services/com.sun.tools.attach.spi.AttachProvider ./jdk/src/share/classes/sun/tools/attach/META-INF/services/com.sun.tools.attach.spi.AttachProvider X--- ../orig/jdk/src/share/classes/sun/tools/attach/META-INF/services/com.sun.tools.attach.spi.AttachProvider 2009-04-24 03:34:25.000000000 -0400 X+++ ./jdk/src/share/classes/sun/tools/attach/META-INF/services/com.sun.tools.attach.spi.AttachProvider 2009-05-14 23:41:34.000000000 -0400 X@@ -30,3 +30,4 @@ X #[solaris]sun.tools.attach.SolarisAttachProvider X #[windows]sun.tools.attach.WindowsAttachProvider X #[linux]sun.tools.attach.LinuxAttachProvider X+#[bsd]sun.tools.attach.BsdAttachProvider Xdiff -uNpr ../orig/jdk/src/share/classes/sun/tools/jar/Main.java ./jdk/src/share/classes/sun/tools/jar/Main.java X--- ../orig/jdk/src/share/classes/sun/tools/jar/Main.java 2009-04-24 03:34:25.000000000 -0400 X+++ ./jdk/src/share/classes/sun/tools/jar/Main.java 2009-05-14 23:41:34.000000000 -0400 X@@ -46,6 +46,7 @@ class Main { X String zname = ""; X String[] files; X String rootjar = null; X+ String cwd; X Hashtable filesTable = new Hashtable(); X Vector paths = new Vector(); X Vector v; X@@ -770,6 +771,19 @@ class Main { X * Extracts specified entries from JAR file. X */ X void extract(InputStream in, String files[]) throws IOException { X+ // Current working directory X+ X+ cwd = System.getProperty("user.dir"); X+ if (cwd == null) { X+ fatalError(getMsg("error.no.cwd")); X+ } X+ cwd = (new File(cwd)).getCanonicalPath(); X+ if (!cwd.endsWith(File.separator)) { X+ cwd += File.separator; X+ } X+ X+ // Extract the files X+ X ZipInputStream zis = new ZipInputStream(in); X ZipEntry e; X // Set of all directory entries specified in archive. Dissallows X@@ -817,6 +831,10 @@ class Main { X ZipEntry rc = null; X String name = e.getName(); X File f = new File(e.getName().replace('/', File.separatorChar)); X+ if (!f.getCanonicalPath().startsWith(cwd)) { X+ output(formatMsg("out.ignore.entry", name)); X+ return null; X+ } X if (e.isDirectory()) { X if (f.exists()) { X if (!f.isDirectory()) { X@@ -838,6 +856,10 @@ class Main { X } else { X if (f.getParent() != null) { X File d = new File(f.getParent()); X+ if (!d.getCanonicalPath().startsWith(cwd)) { X+ output(formatMsg("out.ignore.entry", name)); X+ return null; X+ } X if (!d.exists() && !d.mkdirs() || !d.isDirectory()) { X throw new IOException(formatMsg( X "error.create.dir", d.getPath())); Xdiff -uNpr ../orig/jdk/src/share/classes/sun/tools/jar/resources/jar.properties ./jdk/src/share/classes/sun/tools/jar/resources/jar.properties X--- ../orig/jdk/src/share/classes/sun/tools/jar/resources/jar.properties 2009-04-24 03:34:25.000000000 -0400 X+++ ./jdk/src/share/classes/sun/tools/jar/resources/jar.properties 2009-05-14 23:41:34.000000000 -0400 X@@ -44,6 +44,8 @@ error.create.dir=\ X {0} : could not create directory X error.incorrect.length=\ X incorrect length while processing: {0} X+error.no.cwd=\ X+ {0} : could not determine current working directory X out.added.manifest=\ X added manifest X out.update.manifest=\ Xdiff -uNpr ../orig/jdk/src/share/hpi/include/hpi_impl.h ./jdk/src/share/hpi/include/hpi_impl.h X--- ../orig/jdk/src/share/hpi/include/hpi_impl.h 2009-04-24 03:34:28.000000000 -0400 X+++ ./jdk/src/share/hpi/include/hpi_impl.h 2009-05-14 23:41:34.000000000 -0400 X@@ -138,7 +138,11 @@ int sysConnect(int fd, struct sockaddr * X int sysBind(int fd, struct sockaddr *him, int len); X int sysAccept(int fd, struct sockaddr *him, int *len); X int sysGetSockName(int fd, struct sockaddr *him, int *len); X-#ifdef _LP64 X+#if defined(_LP64) || defined(_ALLBSD_SOURCE) X+// XXXBSD: The implementations all use ssize_t, except on Windows, X+// regardless of _LP64. The resulting mismatch between "int" and "ssize_t" X+// causes gcc on Darwin to report a conflicting types error. X+// Appears to be an upstream issue introduced in 1.7 X ssize_t sysSendTo(int fd, char *buf, int len, int flags, struct sockaddr *to, X int tolen); X ssize_t sysRecvFrom(int fd, char *buf, int nbytes, int flags, Xdiff -uNpr ../orig/jdk/src/share/lib/security/java.security-openbsd ./jdk/src/share/lib/security/java.security-openbsd X--- ../orig/jdk/src/share/lib/security/java.security-openbsd 2009-05-14 23:40:17.000000000 -0400 X+++ ./jdk/src/share/lib/security/java.security-openbsd 2009-05-14 23:41:34.000000000 -0400 X@@ -66,7 +66,14 @@ security.provider.8=sun.security.smartca X # On Windows systems, the URLs file:/dev/random and file:/dev/urandom X # enables use of the Microsoft CryptoAPI seed functionality. X # X-securerandom.source=file:/dev/urandom X+# On OpenBSD use file:///dev/srandom for strong but blocking random X+# generator, file:/dev/random for hardware random generators, X+# file:///dev/arandom for non-blocking high-quality pseudo-random X+# data and file:///dev/urandom for non-blocking random data that X+# does not guarantee the data to be strong. See random(4) for more X+# info. X+# X+securerandom.source=file:///dev/arandom X # X # The entropy gathering device is described as a URL and can also X # be specified with the system property "java.security.egd". For example, Xdiff -uNpr ../orig/jdk/src/share/native/com/sun/java/util/jar/pack/defines.h ./jdk/src/share/native/com/sun/java/util/jar/pack/defines.h X--- ../orig/jdk/src/share/native/com/sun/java/util/jar/pack/defines.h 2009-04-24 03:34:28.000000000 -0400 X+++ ./jdk/src/share/native/com/sun/java/util/jar/pack/defines.h 2009-05-14 23:41:34.000000000 -0400 X@@ -32,6 +32,10 @@ X #include X #endif X X+#ifndef NO_ZLIB X+# include X+#endif X+ X #ifndef FULL X #define FULL 1 /* Adds <500 bytes to the zipped final product. */ X #endif X@@ -89,11 +93,13 @@ extern void assert_failed(const char*); X // bytes and byte arrays X X typedef unsigned int uint; X+#ifdef NO_ZLIB X #ifdef _LP64 X typedef unsigned int uLong; // Historical zlib, should be 32-bit. X #else X typedef unsigned long uLong; X #endif X+#endif X #ifdef _MSC_VER X typedef LONGLONG jlong; X typedef DWORDLONG julong; Xdiff -uNpr ../orig/jdk/src/share/native/com/sun/java/util/jar/pack/main.cpp ./jdk/src/share/native/com/sun/java/util/jar/pack/main.cpp X--- ../orig/jdk/src/share/native/com/sun/java/util/jar/pack/main.cpp 2009-04-24 03:34:28.000000000 -0400 X+++ ./jdk/src/share/native/com/sun/java/util/jar/pack/main.cpp 2009-05-14 23:41:34.000000000 -0400 X@@ -33,9 +33,14 @@ X #include X #include X X+/* !PRODUCT needs intptr_t */ X+#if defined(_ALLBSD_SOURCE) && !defined(PRODUCT) X+#include X+#endif X+ X #if defined(unix) && !defined(PRODUCT) X #include "pthread.h" X-#define THREAD_SELF ((int)pthread_self()) X+#define THREAD_SELF ((intptr_t) pthread_self()) X #endif X X #include "defines.h" X@@ -58,9 +63,9 @@ int main(int argc, char **argv) { X // Single-threaded, implementation, not reentrant. X // Includes a weak error check against MT access. X #ifndef THREAD_SELF X-#define THREAD_SELF (0) X+#define THREAD_SELF ((intptr_t) 0) X #endif X-NOT_PRODUCT(static int uThread = -1;) X+NOT_PRODUCT(static intptr_t uThread = -1;) X X unpacker* unpacker::non_mt_current = null; X unpacker* unpacker::current() { X@@ -69,7 +74,7 @@ unpacker* unpacker::current() { X } X static void set_current_unpacker(unpacker* u) { X unpacker::non_mt_current = u; X- assert(((uThread = (u == null) ? -1 : THREAD_SELF), X+ assert(((uThread = (u == null) ? ((intptr_t) -1) : THREAD_SELF), X true)); X } X Xdiff -uNpr ../orig/jdk/src/share/native/com/sun/media/sound/DirectAudioDevice.c ./jdk/src/share/native/com/sun/media/sound/DirectAudioDevice.c X--- ../orig/jdk/src/share/native/com/sun/media/sound/DirectAudioDevice.c 2009-04-24 03:34:28.000000000 -0400 X+++ ./jdk/src/share/native/com/sun/media/sound/DirectAudioDevice.c 2009-05-14 23:41:34.000000000 -0400 X@@ -33,7 +33,11 @@ X X #include X // for malloc X+#ifdef _ALLBSD_SOURCE X+#include X+#else X #include X+#endif X #include "SoundDefs.h" X #include "DirectAudio.h" X #include "Utilities.h" Xdiff -uNpr ../orig/jdk/src/share/native/com/sun/media/sound/Platform.c ./jdk/src/share/native/com/sun/media/sound/Platform.c X--- ../orig/jdk/src/share/native/com/sun/media/sound/Platform.c 2009-04-24 03:34:28.000000000 -0400 X+++ ./jdk/src/share/native/com/sun/media/sound/Platform.c 2009-05-14 23:41:34.000000000 -0400 X@@ -99,5 +99,17 @@ JNIEXPORT jint JNICALL Java_com_sun_medi X return com_sun_media_sound_Platform_LIB_ALSA; X } X #endif X+#if (X_PLATFORM == X_BSD) X+ switch (feature) { X+ case com_sun_media_sound_Platform_FEATURE_MIDIIO: X+ return com_sun_media_sound_Platform_LIB_MAIN; X+ case com_sun_media_sound_Platform_FEATURE_PORTS: X+ return com_sun_media_sound_Platform_LIB_MAIN; X+ case com_sun_media_sound_Platform_FEATURE_DIRECT_AUDIO: X+ // XXXBSD: When native Direct Audio support is ported change X+ // this back to returning com_sun_media_sound_Platform_LIB_MAIN X+ return 0; X+ } X+#endif X return 0; X } Xdiff -uNpr ../orig/jdk/src/share/native/com/sun/media/sound/SoundDefs.h ./jdk/src/share/native/com/sun/media/sound/SoundDefs.h X--- ../orig/jdk/src/share/native/com/sun/media/sound/SoundDefs.h 2009-04-24 03:34:28.000000000 -0400 X+++ ./jdk/src/share/native/com/sun/media/sound/SoundDefs.h 2009-05-14 23:41:34.000000000 -0400 X@@ -31,6 +31,7 @@ X #define X_WINDOWS 1 X #define X_SOLARIS 2 X #define X_LINUX 3 X+#define X_BSD 4 X X // types for X_ARCH X #define X_I586 1 X@@ -49,7 +50,7 @@ X X X // following is needed for _LP64 X-#if ((X_PLATFORM == X_SOLARIS) || (X_PLATFORM == X_LINUX)) X+#if ((X_PLATFORM == X_SOLARIS) || (X_PLATFORM == X_LINUX) || (X_PLATFORM == X_BSD)) X #include X #endif X X@@ -129,4 +130,9 @@ typedef char SBYTE; X #endif X X X+#if X_PLATFORM == X_BSD X+#define INLINE inline X+#endif X+ X+ X #endif // __SOUNDDEFS_INCLUDED__ Xdiff -uNpr ../orig/jdk/src/share/native/common/check_code.c ./jdk/src/share/native/common/check_code.c X--- ../orig/jdk/src/share/native/common/check_code.c 2009-04-24 03:34:28.000000000 -0400 X+++ ./jdk/src/share/native/common/check_code.c 2009-05-14 23:41:34.000000000 -0400 X@@ -1069,7 +1069,7 @@ verify_method(context_type *context, jcl X * Make sure that branches don't go into the middle of nowhere. X */ X X-static jint ntohl(jint n) X+static jint _ck_ntohl(jint n) X { X unsigned char *p = (unsigned char *)&n; X return (p[0] << 24) | (p[1] << 16) | (p[2] << 8) | p[3]; X@@ -1148,26 +1148,26 @@ verify_opcode_operands(context_type *con X } X } X if (opcode == opc_tableswitch) { X- keys = ntohl(lpc[2]) - ntohl(lpc[1]) + 1; X+ keys = _ck_ntohl(lpc[2]) - _ck_ntohl(lpc[1]) + 1; X delta = 1; X } else { X- keys = ntohl(lpc[1]); /* number of pairs */ X+ keys = _ck_ntohl(lpc[1]); /* number of pairs */ X delta = 2; X /* Make sure that the tableswitch items are sorted */ X for (k = keys - 1, lptr = &lpc[2]; --k >= 0; lptr += 2) { X- int this_key = ntohl(lptr[0]); /* NB: ntohl may be unsigned */ X- int next_key = ntohl(lptr[2]); X+ int this_key = _ck_ntohl(lptr[0]); /* NB: ntohl may be unsigned */ X+ int next_key = _ck_ntohl(lptr[2]); X if (this_key >= next_key) { X CCerror(context, "Unsorted lookup switch"); X } X } X } X saved_operand = NEW(int, keys + 2); X- if (!isLegalTarget(context, offset + ntohl(lpc[0]))) X+ if (!isLegalTarget(context, offset + _ck_ntohl(lpc[0]))) X CCerror(context, "Illegal default target in switch"); X- saved_operand[keys + 1] = code_data[offset + ntohl(lpc[0])]; X+ saved_operand[keys + 1] = code_data[offset + _ck_ntohl(lpc[0])]; X for (k = keys, lptr = &lpc[3]; --k >= 0; lptr += delta) { X- int target = offset + ntohl(lptr[0]); X+ int target = offset + _ck_ntohl(lptr[0]); X if (!isLegalTarget(context, target)) X CCerror(context, "Illegal branch in opc_tableswitch"); X saved_operand[k + 1] = code_data[target]; X@@ -1615,7 +1615,7 @@ static int instruction_length(unsigned c X if (lpc + 2 >= (int *)end) { X return -1; /* do not read pass the end */ X } X- index = ntohl(lpc[2]) - ntohl(lpc[1]); X+ index = _ck_ntohl(lpc[2]) - _ck_ntohl(lpc[1]); X if ((index < 0) || (index > 65535)) { X return -1; /* illegal */ X } else { X@@ -1628,7 +1628,7 @@ static int instruction_length(unsigned c X int npairs; X if (lpc + 1 >= (int *)end) X return -1; /* do not read pass the end */ X- npairs = ntohl(lpc[1]); X+ npairs = _ck_ntohl(lpc[1]); X /* There can't be more than 64K labels because of the limit X * on per-method byte code length. X */ Xdiff -uNpr ../orig/jdk/src/share/native/java/io/io_util.h ./jdk/src/share/native/java/io/io_util.h X--- ../orig/jdk/src/share/native/java/io/io_util.h 2009-04-24 03:34:29.000000000 -0400 X+++ ./jdk/src/share/native/java/io/io_util.h 2009-05-14 23:41:34.000000000 -0400 X@@ -29,7 +29,15 @@ X extern jfieldID IO_fd_fdID; X extern jfieldID IO_handle_fdID; X X-#if !defined(O_DSYNC) || !defined(O_SYNC) X+#ifdef _ALLBSD_SOURCE X+#include X+#ifndef O_SYNC X+#define O_SYNC O_FSYNC X+#endif X+#ifndef O_DSYNC X+#define O_DSYNC O_FSYNC X+#endif X+#elif !defined(O_DSYNC) || !defined(O_SYNC) X #define O_SYNC (0x0800) X #define O_DSYNC (0x2000) X #endif Xdiff -uNpr ../orig/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h ./jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h X--- ../orig/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h 2009-04-24 03:34:29.000000000 -0400 X+++ ./jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h 2009-05-14 23:41:34.000000000 -0400 X@@ -25,6 +25,10 @@ X * have any questions. X */ X X+#ifdef __OpenBSD__ X+#include X+#endif X+#include X #include "jfdlibm.h" X X #ifdef __NEWVALID /* special setup for Sun test regime */ X@@ -47,11 +51,13 @@ X #define __LOp(x) *(1+(int*)x) X #endif X X+#ifndef __P X #ifdef __STDC__ X #define __P(p) p X #else X #define __P(p) () X #endif X+#endif X X /* X * ANSI/POSIX Xdiff -uNpr ../orig/jdk/src/share/native/java/lang/fdlibm/include/jfdlibm.h ./jdk/src/share/native/java/lang/fdlibm/include/jfdlibm.h X--- ../orig/jdk/src/share/native/java/lang/fdlibm/include/jfdlibm.h 2009-04-24 03:34:29.000000000 -0400 X+++ ./jdk/src/share/native/java/lang/fdlibm/include/jfdlibm.h 2009-05-14 23:41:34.000000000 -0400 X@@ -61,7 +61,7 @@ X #define log1p jlog1p X #define expm1 jexpm1 X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X #define __ieee754_sqrt __j__ieee754_sqrt X #define __ieee754_acos __j__ieee754_acos X #define __ieee754_acosh __j__ieee754_acosh Xdiff -uNpr ../orig/jdk/src/share/native/java/util/zip/Inflater.c ./jdk/src/share/native/java/util/zip/Inflater.c X--- ../orig/jdk/src/share/native/java/util/zip/Inflater.c 2009-04-24 03:34:29.000000000 -0400 X+++ ./jdk/src/share/native/java/util/zip/Inflater.c 2009-05-14 23:41:34.000000000 -0400 X@@ -67,6 +67,10 @@ Java_java_util_zip_Inflater_init(JNIEnv X return jlong_zero; X } else { X char *msg; X+// BSDXXX needed for FreeBSD 5.4 and below with system zlib X+#if defined(__FreeBSD__) && __FreeBSD__ < 6 X+ strm->adler = 1; X+#endif X switch (inflateInit2(strm, nowrap ? -MAX_WBITS : MAX_WBITS)) { X case Z_OK: X return ptr_to_jlong(strm); X@@ -202,6 +206,10 @@ Java_java_util_zip_Inflater_reset(JNIEnv X if (inflateReset(jlong_to_ptr(strm)) != Z_OK) { X JNU_ThrowInternalError(env, 0); X } X+// BSDXXX needed for FreeBSD 5.4 and below with system zlib X+#if defined(__FreeBSD__) && __FreeBSD__ < 6 X+ ((z_stream *)jlong_to_ptr(strm))->adler = 1; X+#endif X } X X JNIEXPORT void JNICALL Xdiff -uNpr ../orig/jdk/src/share/native/java/util/zip/zlib-1.1.3/zconf.h ./jdk/src/share/native/java/util/zip/zlib-1.1.3/zconf.h X--- ../orig/jdk/src/share/native/java/util/zip/zlib-1.1.3/zconf.h 2009-04-24 03:34:29.000000000 -0400 X+++ ./jdk/src/share/native/java/util/zip/zlib-1.1.3/zconf.h 2009-05-14 23:41:34.000000000 -0400 X@@ -42,44 +42,49 @@ X /* for _LP64 */ X #include X X+/** X+ * Privatise the symbols to the JDK. X+ */ X+#define Z_PREFIX X+ X /* X * If you *really* need a unique prefix for all types and library functions, X * compile with -DZ_PREFIX. The "standard" zlib should be compiled without it. X */ X #ifdef Z_PREFIX X-# define deflateInit_ z_deflateInit_ X-# define deflate z_deflate X-# define deflateEnd z_deflateEnd X-# define inflateInit_ z_inflateInit_ X-# define inflate z_inflate X-# define inflateEnd z_inflateEnd X-# define deflateInit2_ z_deflateInit2_ X-# define deflateSetDictionary z_deflateSetDictionary X-# define deflateCopy z_deflateCopy X-# define deflateReset z_deflateReset X-# define deflateParams z_deflateParams X-# define inflateInit2_ z_inflateInit2_ X-# define inflateSetDictionary z_inflateSetDictionary X-# define inflateSync z_inflateSync X-# define inflateSyncPoint z_inflateSyncPoint X-# define inflateReset z_inflateReset X-# define compress z_compress X-# define compress2 z_compress2 X-# define uncompress z_uncompress X-# define adler32 z_adler32 X-# define crc32 z_crc32 X-# define get_crc_table z_get_crc_table X- X-# define Byte z_Byte X-# define uInt z_uInt X-# define uLong z_uLong X-# define Bytef z_Bytef X-# define charf z_charf X-# define intf z_intf X-# define uIntf z_uIntf X-# define uLongf z_uLongf X-# define voidpf z_voidpf X-# define voidp z_voidp X+# define deflateInit_ _java_z_deflateInit_ X+# define deflate _java_z_deflate X+# define deflateEnd _java_z_deflateEnd X+# define inflateInit_ _java_z_inflateInit_ X+# define inflate _java_z_inflate X+# define inflateEnd _java_z_inflateEnd X+# define deflateInit2_ _java_z_deflateInit2_ X+# define deflateSetDictionary _java_z_deflateSetDictionary X+# define deflateCopy _java_z_deflateCopy X+# define deflateReset _java_z_deflateReset X+# define deflateParams _java_z_deflateParams X+# define inflateInit2_ _java_z_inflateInit2_ X+# define inflateSetDictionary _java_z_inflateSetDictionary X+# define inflateSync _java_z_inflateSync X+# define inflateSyncPoint _java_z_inflateSyncPoint X+# define inflateReset _java_z_inflateReset X+# define compress _java_z_compress X+# define compress2 _java_z_compress2 X+# define uncompress _java_z_uncompress X+# define adler32 _java_z_adler32 X+# define crc32 _java_z_crc32 X+# define get_crc_table _java_z_get_crc_table X+ X+# define Byte _java_z_Byte X+# define uInt _java_z_uInt X+# define uLong _java_z_uLong X+# define Bytef _java_z_Bytef X+# define charf _java_z_charf X+# define intf _java_z_intf X+# define uIntf _java_z_uIntf X+# define uLongf _java_z_uLongf X+# define voidpf _java_z_voidpf X+# define voidp _java_z_voidp X #endif X X #if (defined(_WIN32) || defined(__WIN32__)) && !defined(WIN32) Xdiff -uNpr ../orig/jdk/src/share/native/sun/awt/debug/debug_util.h ./jdk/src/share/native/sun/awt/debug/debug_util.h X--- ../orig/jdk/src/share/native/sun/awt/debug/debug_util.h 2009-04-24 03:34:29.000000000 -0400 X+++ ./jdk/src/share/native/sun/awt/debug/debug_util.h 2009-05-14 23:41:34.000000000 -0400 X@@ -50,7 +50,9 @@ typedef void * dmutex_t; X #include X #include X #include X+#if !defined(_ALLBSD_SOURCE) X #include X+#endif X #include X X /* keep these after the other headers */ Xdiff -uNpr ../orig/jdk/src/share/native/sun/awt/image/BufImgSurfaceData.c ./jdk/src/share/native/sun/awt/image/BufImgSurfaceData.c X--- ../orig/jdk/src/share/native/sun/awt/image/BufImgSurfaceData.c 2009-04-24 03:34:29.000000000 -0400 X+++ ./jdk/src/share/native/sun/awt/image/BufImgSurfaceData.c 2009-05-14 23:41:34.000000000 -0400 X@@ -24,7 +24,11 @@ X */ X X #include "BufImgSurfaceData.h" X+#ifdef _ALLBSD_SOURCE X+#include X+#else X #include "malloc.h" X+#endif X X #include "sun_awt_image_BufImgSurfaceData.h" X Xdiff -uNpr ../orig/jdk/src/share/native/sun/awt/image/DataBufferNative.c ./jdk/src/share/native/sun/awt/image/DataBufferNative.c X--- ../orig/jdk/src/share/native/sun/awt/image/DataBufferNative.c 2009-04-24 03:34:29.000000000 -0400 X+++ ./jdk/src/share/native/sun/awt/image/DataBufferNative.c 2009-05-14 23:41:34.000000000 -0400 X@@ -23,7 +23,11 @@ X * have any questions. X */ X X+#ifdef _ALLBSD_SOURCE X+#include X+#else X #include "malloc.h" X+#endif X X #include "SurfaceData.h" X #include "sun_awt_image_DataBufferNative.h" Xdiff -uNpr ../orig/jdk/src/share/native/sun/awt/medialib/mlib_ImageConv2x2_f.c ./jdk/src/share/native/sun/awt/medialib/mlib_ImageConv2x2_f.c X--- ../orig/jdk/src/share/native/sun/awt/medialib/mlib_ImageConv2x2_f.c 2009-04-24 03:34:30.000000000 -0400 X+++ ./jdk/src/share/native/sun/awt/medialib/mlib_ImageConv2x2_f.c 2009-05-14 23:41:34.000000000 -0400 X@@ -86,7 +86,7 @@ typedef struct { X #endif /* MLIB_USE_FTOI_CLAMPING */ X X /***************************************************************/ X-#if defined(_LITTLE_ENDIAN) && !defined(_NO_LONGLONG) X+#if (BYTE_ORDER == LITTLE_ENDIAN) && !defined(_NO_LONGLONG) X X /* NB: Explicit cast to DTYPE is necessary to avoid warning from Microsoft VC compiler. X And we need to explicitly define cast behavior if source exceeds destination range. X@@ -103,7 +103,7 @@ typedef struct { X dp[0 ] = (DTYPE) ((res0) & DTYPE_MASK); \ X dp[chan1] = (DTYPE) ((res1) & DTYPE_MASK) X X-#endif /* defined(_LITTLE_ENDIAN) && !defined(_NO_LONGLONG) */ X+#endif /* (BYTE_ORDER == LITTLE_ENDIAN) && !defined(_NO_LONGLONG) */ X X /***************************************************************/ X #ifdef _NO_LONGLONG X@@ -114,17 +114,17 @@ typedef struct { X X #else /* _NO_LONGLONG */ X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X X #define LOAD_BUFF(buff) \ X *(mlib_s64*)(buff + i) = (((mlib_s64)sp[chan1]) << 32) | ((mlib_s64)sp[0] & 0xffffffff) X X-#else /* _LITTLE_ENDIAN */ X+#else X X #define LOAD_BUFF(buff) \ X *(mlib_s64*)(buff + i) = (((mlib_s64)sp[0]) << 32) | ((mlib_s64)sp[chan1] & 0xffffffff) X X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X X #endif /* _NO_LONGLONG */ X Xdiff -uNpr ../orig/jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_16ext.c ./jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_16ext.c X--- ../orig/jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_16ext.c 2009-04-24 03:34:30.000000000 -0400 X+++ ./jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_16ext.c 2009-05-14 23:41:34.000000000 -0400 X@@ -126,7 +126,7 @@ X #define D2I(x) CLAMP_S32((x) SAT_OFF) X X /***************************************************************/ X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X X #define STORE2(res0, res1) \ X dp[0 ] = res1; \ X@@ -138,7 +138,7 @@ X dp[0 ] = res0; \ X dp[chan1] = res1 X X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X X /***************************************************************/ X #ifdef _NO_LONGLONG X@@ -149,17 +149,17 @@ X X #else /* _NO_LONGLONG */ X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X X #define LOAD_BUFF(buff) \ X *(mlib_s64*)(buff + i) = (((mlib_s64)sp[chan1]) << 32) | S64TOS32((mlib_s64)sp[0]) X X-#else /* _LITTLE_ENDIAN */ X+#else X X #define LOAD_BUFF(buff) \ X *(mlib_s64*)(buff + i) = (((mlib_s64)sp[0]) << 32) | S64TOS32((mlib_s64)sp[chan1]) X X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X #endif /* _NO_LONGLONG */ X X /***************************************************************/ Xdiff -uNpr ../orig/jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_16nw.c ./jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_16nw.c X--- ../orig/jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_16nw.c 2009-04-24 03:34:30.000000000 -0400 X+++ ./jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_16nw.c 2009-05-14 23:41:34.000000000 -0400 X@@ -94,7 +94,7 @@ X #define D2I(x) CLAMP_S32((x) SAT_OFF) X X /***************************************************************/ X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X X #define STORE2(res0, res1) \ X dp[0 ] = res1; \ X@@ -106,7 +106,7 @@ X dp[0 ] = res0; \ X dp[chan1] = res1 X X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X X /***************************************************************/ X #ifdef _NO_LONGLONG X@@ -117,17 +117,17 @@ X X #else /* _NO_LONGLONG */ X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X X #define LOAD_BUFF(buff) \ X *(mlib_s64*)(buff + i) = (((mlib_s64)sp[chan1]) << 32) | S64TOS32((mlib_s64)sp[0]) X X-#else /* _LITTLE_ENDIAN */ X+#else X X #define LOAD_BUFF(buff) \ X *(mlib_s64*)(buff + i) = (((mlib_s64)sp[0]) << 32) | S64TOS32((mlib_s64)sp[chan1]) X X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X #endif /* _NO_LONGLONG */ X X /***************************************************************/ Xdiff -uNpr ../orig/jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_8ext.c ./jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_8ext.c X--- ../orig/jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_8ext.c 2009-04-24 03:34:30.000000000 -0400 X+++ ./jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_8ext.c 2009-05-14 23:41:34.000000000 -0400 X@@ -126,7 +126,7 @@ X #define D2I(x) CLAMP_S32((x) SAT_OFF) X X /***************************************************************/ X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X X #define STORE2(res0, res1) \ X dp[0 ] = res1; \ X@@ -138,7 +138,7 @@ X dp[0 ] = res0; \ X dp[chan1] = res1 X X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X X /***************************************************************/ X #ifdef _NO_LONGLONG X@@ -149,17 +149,17 @@ X X #else /* _NO_LONGLONG */ X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X X #define LOAD_BUFF(buff) \ X *(mlib_s64*)(buff + i) = (((mlib_s64)sp[chan1]) << 32) | S64TOS32((mlib_s64)sp[0]) X X-#else /* _LITTLE_ENDIAN */ X+#else X X #define LOAD_BUFF(buff) \ X *(mlib_s64*)(buff + i) = (((mlib_s64)sp[0]) << 32) | S64TOS32((mlib_s64)sp[chan1]) X X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X #endif /* _NO_LONGLONG */ X X /***************************************************************/ Xdiff -uNpr ../orig/jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_8nw.c ./jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_8nw.c X--- ../orig/jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_8nw.c 2009-04-24 03:34:30.000000000 -0400 X+++ ./jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_8nw.c 2009-05-14 23:41:34.000000000 -0400 X@@ -95,7 +95,7 @@ X #define D2I(x) CLAMP_S32((x) SAT_OFF) X X /***************************************************************/ X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X X #define STORE2(res0, res1) \ X dp[0 ] = res1; \ X@@ -107,7 +107,7 @@ X dp[0 ] = res0; \ X dp[chan1] = res1 X X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X X /***************************************************************/ X #ifdef _NO_LONGLONG X@@ -118,17 +118,17 @@ X X #else /* _NO_LONGLONG */ X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X X #define LOAD_BUFF(buff) \ X *(mlib_s64*)(buff + i) = (((mlib_s64)sp[chan1]) << 32) | S64TOS32((mlib_s64)sp[0]) X X-#else /* _LITTLE_ENDIAN */ X+#else X X #define LOAD_BUFF(buff) \ X *(mlib_s64*)(buff + i) = (((mlib_s64)sp[0]) << 32) | S64TOS32((mlib_s64)sp[chan1]) X X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X #endif /* _NO_LONGLONG */ X X /***************************************************************/ Xdiff -uNpr ../orig/jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_u16ext.c ./jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_u16ext.c X--- ../orig/jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_u16ext.c 2009-04-24 03:34:30.000000000 -0400 X+++ ./jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_u16ext.c 2009-05-14 23:41:34.000000000 -0400 X@@ -126,7 +126,7 @@ X #define D2I(x) CLAMP_S32((x) SAT_OFF) X X /***************************************************************/ X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X X #define STORE2(res0, res1) \ X dp[0 ] = res1; \ X@@ -138,7 +138,7 @@ X dp[0 ] = res0; \ X dp[chan1] = res1 X X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X X /***************************************************************/ X #ifdef _NO_LONGLONG X@@ -149,17 +149,17 @@ X X #else /* _NO_LONGLONG */ X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X X #define LOAD_BUFF(buff) \ X *(mlib_s64*)(buff + i) = (((mlib_s64)sp[chan1]) << 32) | S64TOS32((mlib_s64)sp[0]) X X-#else /* _LITTLE_ENDIAN */ X+#else X X #define LOAD_BUFF(buff) \ X *(mlib_s64*)(buff + i) = (((mlib_s64)sp[0]) << 32) | S64TOS32((mlib_s64)sp[chan1]) X X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X #endif /* _NO_LONGLONG */ X X /***************************************************************/ Xdiff -uNpr ../orig/jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_u16nw.c ./jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_u16nw.c X--- ../orig/jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_u16nw.c 2009-04-24 03:34:30.000000000 -0400 X+++ ./jdk/src/share/native/sun/awt/medialib/mlib_ImageConv_u16nw.c 2009-05-14 23:41:34.000000000 -0400 X@@ -94,7 +94,7 @@ X #define D2I(x) CLAMP_S32((x) SAT_OFF) X X /***************************************************************/ X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X X #define STORE2(res0, res1) \ X dp[0 ] = res1; \ X@@ -106,7 +106,7 @@ X dp[0 ] = res0; \ X dp[chan1] = res1 X X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X X /***************************************************************/ X #ifdef _NO_LONGLONG X@@ -117,17 +117,17 @@ X X #else /* _NO_LONGLONG */ X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X X #define LOAD_BUFF(buff) \ X *(mlib_s64*)(buff + i) = (((mlib_s64)sp[chan1]) << 32) | S64TOS32((mlib_s64)sp[0]) X X-#else /* _LITTLE_ENDIAN */ X+#else X X #define LOAD_BUFF(buff) \ X *(mlib_s64*)(buff + i) = (((mlib_s64)sp[0]) << 32) | S64TOS32((mlib_s64)sp[chan1]) X X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X #endif /* _NO_LONGLONG */ X X /***************************************************************/ Xdiff -uNpr ../orig/jdk/src/share/native/sun/awt/medialib/mlib_ImageCopy_Bit.c ./jdk/src/share/native/sun/awt/medialib/mlib_ImageCopy_Bit.c X--- ../orig/jdk/src/share/native/sun/awt/medialib/mlib_ImageCopy_Bit.c 2009-04-24 03:34:30.000000000 -0400 X+++ ./jdk/src/share/native/sun/awt/medialib/mlib_ImageCopy_Bit.c 2009-05-14 23:41:34.000000000 -0400 X@@ -95,7 +95,7 @@ void mlib_ImageCopy_bit_na(const mlib_u8 X dst = dp[0]; X if (ld_offset + size < 32) { X dmask = (mask0 << (32 - size)) >> ld_offset; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X src0 = (src0 << 24) | ((src0 & 0xFF00) << 8) | ((src0 >> 8) & 0xFF00) | (src0 >> 24); X src = (src0 >> (ld_offset - ls_offset)); X dst = (dst << 24) | ((dst & 0xFF00) << 8) | ((dst >> 8) & 0xFF00) | (dst >> 24); X@@ -104,12 +104,12 @@ void mlib_ImageCopy_bit_na(const mlib_u8 X #else X src = (src0 >> (ld_offset - ls_offset)); X dp[0] = (dst & (~dmask)) | (src & dmask); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X return; X } X X dmask = mask0 >> ld_offset; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X src0 = (src0 << 24) | ((src0 & 0xFF00) << 8) | ((src0 >> 8) & 0xFF00) | (src0 >> 24); X src = (src0 >> (ld_offset - ls_offset)); X dst = (dst << 24) | ((dst & 0xFF00) << 8) | ((dst >> 8) & 0xFF00) | (dst >> 24); X@@ -118,7 +118,7 @@ void mlib_ImageCopy_bit_na(const mlib_u8 X #else X src = (src0 >> (ld_offset - ls_offset)); X dp[0] = (dst & ~dmask) | (src & dmask); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X j = 32 - ld_offset; X dp++; X ls_offset += j; X@@ -131,7 +131,7 @@ void mlib_ImageCopy_bit_na(const mlib_u8 X X if (ld_offset + size < 32) { X dmask = (mask0 << (32 - size)) >> ld_offset; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X src0 = (src0 << 24) | ((src0 & 0xFF00) << 8) | ((src0 >> 8) & 0xFF00) | (src0 >> 24); X src1 = (src1 << 24) | ((src1 & 0xFF00) << 8) | ((src1 >> 8) & 0xFF00) | (src1 >> 24); X src = (src0 << shift) | (src1 >> (32 - shift)); X@@ -141,12 +141,12 @@ void mlib_ImageCopy_bit_na(const mlib_u8 X #else X src = (src0 << shift) | (src1 >> (32 - shift)); X dp[0] = (dst & ~dmask) | (src & dmask); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X return; X } X X dmask = mask0 >> ld_offset; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X src0 = (src0 << 24) | ((src0 & 0xFF00) << 8) | ((src0 >> 8) & 0xFF00) | (src0 >> 24); X src1 = (src1 << 24) | ((src1 & 0xFF00) << 8) | ((src1 >> 8) & 0xFF00) | (src1 >> 24); X src = (src0 << shift) | (src1 >> (32 - shift)); X@@ -156,7 +156,7 @@ void mlib_ImageCopy_bit_na(const mlib_u8 X #else X src = (src0 << shift) | (src1 >> (32 - shift)); X dp[0] = (dst & ~dmask) | (src & dmask); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X j = 32 - ld_offset; X dp++; X sp++; X@@ -164,19 +164,19 @@ void mlib_ImageCopy_bit_na(const mlib_u8 X } X X if (j < size) src1 = sp[0]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X src1 = (src1 << 24) | ((src1 & 0xFF00) << 8) | ((src1 >> 8) & 0xFF00) | (src1 >> 24); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X for (; j <= size - 32; j += 32) { X src0 = src1; X src1 = sp[1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X src1 = (src1 << 24) | ((src1 & 0xFF00) << 8) | ((src1 >> 8) & 0xFF00) | (src1 >> 24); X src = (src0 << ls_offset) | (src1 >> (32 - ls_offset)); X dp[0] = (src << 24) | ((src & 0xFF00) << 8) | ((src >> 8) & 0xFF00) | (src >> 24); X #else X dp[0] = (src0 << ls_offset) | (src1 >> (32 - ls_offset)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X sp++; X dp++; X } X@@ -187,7 +187,7 @@ void mlib_ImageCopy_bit_na(const mlib_u8 X if (ls_offset + j > 32) src1 = sp[1]; X dst = dp[0]; X dmask = mask0 << (32 - j); X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X src1 = (src1 << 24) | ((src1 & 0xFF00) << 8) | ((src1 >> 8) & 0xFF00) | (src1 >> 24); X src = (src0 << ls_offset) | (src1 >> (32 - ls_offset)); X dst = (dst << 24) | ((dst & 0xFF00) << 8) | ((dst >> 8) & 0xFF00) | (dst >> 24); X@@ -196,7 +196,7 @@ void mlib_ImageCopy_bit_na(const mlib_u8 X #else X src = (src0 << ls_offset) | (src1 >> (32 - ls_offset)); X dp[0] = (dst & ~dmask) | (src & dmask); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X } X X #else /* _LONGLONG */ X@@ -315,7 +315,7 @@ void mlib_ImageCopy_bit_na_r(const mlib_ X dst = dp[0]; X if (ld_offset >= size) { X dmask = (lmask0 << (32 - size)) >> (ld_offset - size); X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X src0 = (src0 << 24) | ((src0 & 0xFF00) << 8) | ((src0 >> 8) & 0xFF00) | (src0 >> 24); X src = (src0 << (ls_offset - ld_offset)); X dst = (dst << 24) | ((dst & 0xFF00) << 8) | ((dst >> 8) & 0xFF00) | (dst >> 24); X@@ -324,12 +324,12 @@ void mlib_ImageCopy_bit_na_r(const mlib_ X #else X src = (src0 << (ls_offset - ld_offset)); X dp[0] = (dst & (~dmask)) | (src & dmask); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X return; X } X X dmask = lmask0 << (32 - ld_offset); X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X src0 = (src0 << 24) | ((src0 & 0xFF00) << 8) | ((src0 >> 8) & 0xFF00) | (src0 >> 24); X src = (src0 << (ls_offset - ld_offset)); X dst = (dst << 24) | ((dst & 0xFF00) << 8) | ((dst >> 8) & 0xFF00) | (dst >> 24); X@@ -338,7 +338,7 @@ void mlib_ImageCopy_bit_na_r(const mlib_ X #else X src = (src0 << (ls_offset - ld_offset)); X dp[0] = (dst & ~dmask) | (src & dmask); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X j = ld_offset; X dp--; X ls_offset -= j; X@@ -351,7 +351,7 @@ void mlib_ImageCopy_bit_na_r(const mlib_ X X if (ld_offset >= size) { X dmask = (lmask0 << (32 - size)) >> (ld_offset - size); X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X src0 = (src0 << 24) | ((src0 & 0xFF00) << 8) | ((src0 >> 8) & 0xFF00) | (src0 >> 24); X src1 = (src1 << 24) | ((src1 & 0xFF00) << 8) | ((src1 >> 8) & 0xFF00) | (src1 >> 24); X src = (src0 >> shift) | (src1 << (32 - shift)); X@@ -361,12 +361,12 @@ void mlib_ImageCopy_bit_na_r(const mlib_ X #else X src = (src0 >> shift) | (src1 << (32 - shift)); X dp[0] = (dst & ~dmask) | (src & dmask); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X return; X } X X dmask = lmask0 << (32 - ld_offset); X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X src0 = (src0 << 24) | ((src0 & 0xFF00) << 8) | ((src0 >> 8) & 0xFF00) | (src0 >> 24); X src1 = (src1 << 24) | ((src1 & 0xFF00) << 8) | ((src1 >> 8) & 0xFF00) | (src1 >> 24); X src = (src0 >> shift) | (src1 << (32 - shift)); X@@ -376,7 +376,7 @@ void mlib_ImageCopy_bit_na_r(const mlib_ X #else X src = (src0 >> shift) | (src1 << (32 - shift)); X dp[0] = (dst & ~dmask) | (src & dmask); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X j = ld_offset; X dp--; X sp--; X@@ -384,22 +384,22 @@ void mlib_ImageCopy_bit_na_r(const mlib_ X } X X if (j < size) src1 = sp[0]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X src1 = (src1 << 24) | ((src1 & 0xFF00) << 8) | ((src1 >> 8) & 0xFF00) | (src1 >> 24); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X #ifdef __SUNPRO_C X #pragma pipeloop(0) X #endif /* __SUNPRO_C */ X for (; j <= size - 32; j += 32) { X src0 = src1; X src1 = sp[-1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X src1 = (src1 << 24) | ((src1 & 0xFF00) << 8) | ((src1 >> 8) & 0xFF00) | (src1 >> 24); X src = (src0 >> (32 - ls_offset)) | (src1 << ls_offset); X dp[0] = (src << 24) | ((src & 0xFF00) << 8) | ((src >> 8) & 0xFF00) | (src >> 24); X #else X dp[0] = (src0 >> (32 - ls_offset)) | (src1 << ls_offset); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X sp--; X dp--; X } X@@ -410,7 +410,7 @@ void mlib_ImageCopy_bit_na_r(const mlib_ X if (ls_offset < j) src1 = sp[-1]; X dst = dp[0]; X dmask = lmask0 >> (32 - j); X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X src1 = (src1 << 24) | ((src1 & 0xFF00) << 8) | ((src1 >> 8) & 0xFF00) | (src1 >> 24); X src = (src0 >> (32 - ls_offset)) | (src1 << ls_offset); X dst = (dst << 24) | ((dst & 0xFF00) << 8) | ((dst >> 8) & 0xFF00) | (dst >> 24); X@@ -419,7 +419,7 @@ void mlib_ImageCopy_bit_na_r(const mlib_ X #else X src = (src0 >> (32 - ls_offset)) | (src1 << ls_offset); X dp[0] = (dst & ~dmask) | (src & dmask); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X } X X #else /* _LONGLONG */ Xdiff -uNpr ../orig/jdk/src/share/native/sun/awt/medialib/mlib_ImageLookUp_64.c ./jdk/src/share/native/sun/awt/medialib/mlib_ImageLookUp_64.c X--- ../orig/jdk/src/share/native/sun/awt/medialib/mlib_ImageLookUp_64.c 2009-04-24 03:34:30.000000000 -0400 X+++ ./jdk/src/share/native/sun/awt/medialib/mlib_ImageLookUp_64.c 2009-05-14 23:41:34.000000000 -0400 X@@ -168,7 +168,7 @@ X } X X /***************************************************************/ X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X X #define READ_U8_D64(table0, table1, table2, table3) \ X t0 = *(mlib_d64*)((mlib_u8*)table0 + ((s0 << 3) & 0x7F8)); \ X@@ -184,7 +184,7 @@ X t2 = *(mlib_d64*)((mlib_u8*)table2 + ((s0 >> 5) & 0x7F8)); \ X t3 = *(mlib_d64*)((mlib_u8*)table3 + ((s0 << 3) & 0x7F8)) X X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X X /***************************************************************/ X void mlib_ImageLookUp_U8_D64(const mlib_u8 *src, X@@ -612,7 +612,7 @@ void mlib_ImageLookUpSI_U8_D64(const mli X #pragma pipeloop(0) X #endif /* __SUNPRO_C */ X for (i = 0; i < size - 7; i += 4, dp += 8, sa++) { X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 << 3) & 0x7F8)); X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 5) & 0x7F8)); X@@ -622,12 +622,12 @@ void mlib_ImageLookUpSI_U8_D64(const mli X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 21) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 13) & 0x7F8)); X t3 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[0] = t0; X dp[1] = t1; X dp[2] = t2; X dp[3] = t3; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 13) & 0x7F8)); X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 21) & 0x7F8)); X@@ -637,7 +637,7 @@ void mlib_ImageLookUpSI_U8_D64(const mli X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 5) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 << 3) & 0x7F8)); X t3 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = sa[0]; X dp[4] = t0; X dp[5] = t1; X@@ -645,7 +645,7 @@ void mlib_ImageLookUpSI_U8_D64(const mli X dp[7] = t3; X } X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 << 3) & 0x7F8)); X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 5) & 0x7F8)); X@@ -655,12 +655,12 @@ void mlib_ImageLookUpSI_U8_D64(const mli X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 21) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 13) & 0x7F8)); X t3 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[0] = t0; X dp[1] = t1; X dp[2] = t2; X dp[3] = t3; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 13) & 0x7F8)); X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 21) & 0x7F8)); X@@ -670,7 +670,7 @@ void mlib_ImageLookUpSI_U8_D64(const mli X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 5) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 << 3) & 0x7F8)); X t3 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[4] = t0; X dp[5] = t1; X dp[6] = t2; X@@ -718,7 +718,7 @@ void mlib_ImageLookUpSI_U8_D64(const mli X #pragma pipeloop(0) X #endif /* __SUNPRO_C */ X for (i = 0; i < size - 7; i += 4, dp += 12, sa++) { X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 << 3) & 0x7F8)); X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 << 3) & 0x7F8)); X@@ -732,14 +732,14 @@ void mlib_ImageLookUpSI_U8_D64(const mli X t3 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 13) & 0x7F8)); X t4 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); X t5 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 13) & 0x7F8)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[0] = t0; X dp[1] = t1; X dp[2] = t2; X dp[3] = t3; X dp[4] = t4; X dp[5] = t5; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 13) & 0x7F8)); X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 13) & 0x7F8)); X@@ -753,7 +753,7 @@ void mlib_ImageLookUpSI_U8_D64(const mli X t3 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 << 3) & 0x7F8)); X t4 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); X t5 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 << 3) & 0x7F8)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = sa[0]; X dp[6] = t0; X dp[7] = t1; X@@ -763,7 +763,7 @@ void mlib_ImageLookUpSI_U8_D64(const mli X dp[11] = t5; X } X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 << 3) & 0x7F8)); X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 << 3) & 0x7F8)); X@@ -777,14 +777,14 @@ void mlib_ImageLookUpSI_U8_D64(const mli X t3 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 13) & 0x7F8)); X t4 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); X t5 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 13) & 0x7F8)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[0] = t0; X dp[1] = t1; X dp[2] = t2; X dp[3] = t3; X dp[4] = t4; X dp[5] = t5; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 13) & 0x7F8)); X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 13) & 0x7F8)); X@@ -798,7 +798,7 @@ void mlib_ImageLookUpSI_U8_D64(const mli X t3 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 << 3) & 0x7F8)); X t4 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); X t5 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 << 3) & 0x7F8)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[6] = t0; X dp[7] = t1; X dp[8] = t2; X@@ -851,7 +851,7 @@ void mlib_ImageLookUpSI_U8_D64(const mli X #pragma pipeloop(0) X #endif /* __SUNPRO_C */ X for (i = 0; i < size - 7; i += 4, dp += 16, sa++) { X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 << 3) & 0x7F8)); X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 << 3) & 0x7F8)); X@@ -861,12 +861,12 @@ void mlib_ImageLookUpSI_U8_D64(const mli X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 21) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 21) & 0x7F8)); X t3 = *(mlib_d64 *) ((mlib_u8 *) tab3 + ((s0 >> 21) & 0x7F8)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[0] = t0; X dp[1] = t1; X dp[2] = t2; X dp[3] = t3; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 5) & 0x7F8)); X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 5) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 5) & 0x7F8)); X@@ -876,12 +876,12 @@ void mlib_ImageLookUpSI_U8_D64(const mli X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 13) & 0x7F8)); X t3 = *(mlib_d64 *) ((mlib_u8 *) tab3 + ((s0 >> 13) & 0x7F8)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[4] = t0; X dp[5] = t1; X dp[6] = t2; X dp[7] = t3; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 13) & 0x7F8)); X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 13) & 0x7F8)); X@@ -891,12 +891,12 @@ void mlib_ImageLookUpSI_U8_D64(const mli X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 5) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 5) & 0x7F8)); X t3 = *(mlib_d64 *) ((mlib_u8 *) tab3 + ((s0 >> 5) & 0x7F8)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[8] = t0; X dp[9] = t1; X dp[10] = t2; X dp[11] = t3; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 21) & 0x7F8)); X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 21) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 21) & 0x7F8)); X@@ -906,7 +906,7 @@ void mlib_ImageLookUpSI_U8_D64(const mli X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 << 3) & 0x7F8)); X t3 = *(mlib_d64 *) ((mlib_u8 *) tab3 + ((s0 << 3) & 0x7F8)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = sa[0]; X dp[12] = t0; X dp[13] = t1; X@@ -914,7 +914,7 @@ void mlib_ImageLookUpSI_U8_D64(const mli X dp[15] = t3; X } X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 << 3) & 0x7F8)); X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 << 3) & 0x7F8)); X@@ -924,12 +924,12 @@ void mlib_ImageLookUpSI_U8_D64(const mli X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 21) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 21) & 0x7F8)); X t3 = *(mlib_d64 *) ((mlib_u8 *) tab3 + ((s0 >> 21) & 0x7F8)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[0] = t0; X dp[1] = t1; X dp[2] = t2; X dp[3] = t3; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 5) & 0x7F8)); X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 5) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 5) & 0x7F8)); X@@ -939,12 +939,12 @@ void mlib_ImageLookUpSI_U8_D64(const mli X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 13) & 0x7F8)); X t3 = *(mlib_d64 *) ((mlib_u8 *) tab3 + ((s0 >> 13) & 0x7F8)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[4] = t0; X dp[5] = t1; X dp[6] = t2; X dp[7] = t3; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 13) & 0x7F8)); X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 13) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 13) & 0x7F8)); X@@ -954,12 +954,12 @@ void mlib_ImageLookUpSI_U8_D64(const mli X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 5) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 5) & 0x7F8)); X t3 = *(mlib_d64 *) ((mlib_u8 *) tab3 + ((s0 >> 5) & 0x7F8)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[8] = t0; X dp[9] = t1; X dp[10] = t2; X dp[11] = t3; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_d64 *) ((mlib_u8 *) tab0 + ((s0 >> 21) & 0x7F8)); X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 >> 21) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 >> 21) & 0x7F8)); X@@ -969,7 +969,7 @@ void mlib_ImageLookUpSI_U8_D64(const mli X t1 = *(mlib_d64 *) ((mlib_u8 *) tab1 + ((s0 << 3) & 0x7F8)); X t2 = *(mlib_d64 *) ((mlib_u8 *) tab2 + ((s0 << 3) & 0x7F8)); X t3 = *(mlib_d64 *) ((mlib_u8 *) tab3 + ((s0 << 3) & 0x7F8)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[12] = t0; X dp[13] = t1; X dp[14] = t2; Xdiff -uNpr ../orig/jdk/src/share/native/sun/awt/medialib/mlib_ImageLookUp_Bit.c ./jdk/src/share/native/sun/awt/medialib/mlib_ImageLookUp_Bit.c X--- ../orig/jdk/src/share/native/sun/awt/medialib/mlib_ImageLookUp_Bit.c 2009-04-24 03:34:30.000000000 -0400 X+++ ./jdk/src/share/native/sun/awt/medialib/mlib_ImageLookUp_Bit.c 2009-05-14 23:41:34.000000000 -0400 X@@ -88,7 +88,7 @@ typedef union { X } d64_2_f32; X X /***************************************************************/ X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X X static const mlib_u32 mlib_bit_mask[16] = { X 0x00000000u, 0xFF000000u, 0x00FF0000u, 0xFFFF0000u, X@@ -126,7 +126,7 @@ static const mlib_u32 mlib_bit_mask_3[3* X 0x00000000u, 0x00FFFFFFu, 0xFF000000u, 0xFFFFFFFFu X }; X X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X X /***************************************************************/ X mlib_status mlib_ImageLookUp_Bit_U8_1(const mlib_u8 *src, X@@ -228,13 +228,13 @@ mlib_status mlib_ImageLookUp_Bit_U8_1(co X #endif /* __SUNPRO_C */ X for (; i <= (size - 16); i += 16) { X s0 = *(mlib_u16*)sa; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X *da++ = dd_array[s0 & 0xFF]; X *da++ = dd_array[s0 >> 8]; X #else X *da++ = dd_array[s0 >> 8]; X *da++ = dd_array[s0 & 0xFF]; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X sa += 2; X } X X@@ -258,20 +258,20 @@ mlib_status mlib_ImageLookUp_Bit_U8_1(co X val1 = p_dd[2*val0+1]; X } X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X emask = (mlib_u32)((mlib_s32)(-1)) >> ((4 - (size - i)) * 8); X #else X emask = (mlib_s32)(-1) << ((4 - (size - i)) * 8); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X ((mlib_u32*)da)[0] = (val1 & emask) | (((mlib_u32*)da)[0] &~ emask); X X #else /* _NO_LONGLONG */ X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X mlib_u64 emask = (mlib_u64)((mlib_s64)(-1)) >> ((8 - (size - i)) * 8); X #else X mlib_u64 emask = (mlib_s64)(-1) << ((8 - (size - i)) * 8); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X X ((mlib_u64*)da)[0] = (((mlib_u64*)dd_array)[sa[0]] & emask) | (((mlib_u64*)da)[0] &~ emask); X X@@ -323,13 +323,13 @@ mlib_status mlib_ImageLookUp_Bit_U8_2(co X X val0 = table[0][0]; X val1 = table[0][1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X val0 = val0 | (table[1][0] << 8); X val1 = val1 | (table[1][1] << 8); X #else X val0 = (val0 << 8) | table[1][0]; X val1 = (val1 << 8) | table[1][1]; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X val0 |= (val0 << 16); X val1 |= (val1 << 16); X X@@ -394,11 +394,11 @@ mlib_status mlib_ImageLookUp_Bit_U8_2(co X dd1 = dd2; X } X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X emask = (mlib_u32)((mlib_s32)(-1)) >> ((4 - (size - i)) * 8); X #else X emask = (mlib_s32)(-1) << ((4 - (size - i)) * 8); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X ((mlib_u32*)da)[0] = (dd1 & emask) | (((mlib_u32*)da)[0] &~ emask); X X #else /* _NO_LONGLONG */ X@@ -412,11 +412,11 @@ mlib_status mlib_ImageLookUp_Bit_U8_2(co X dd = ((mlib_u64*)dd_array)[s0 & 0xf]; X } X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X emask = (mlib_u64)((mlib_s64)(-1)) >> ((8 - (size - i)) * 8); X #else X emask = (mlib_s64)(-1) << ((8 - (size - i)) * 8); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X ((mlib_u64*)da)[0] = (dd & emask) | (((mlib_u64*)da)[0] &~ emask); X X #endif /* _NO_LONGLONG */ X@@ -462,7 +462,7 @@ mlib_status mlib_ImageLookUp_Bit_U8_3(co X X buffs = buff + size; X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X l0 = (table[0][0] << 24) | (table[2][0] << 16) | (table[1][0] << 8) | (table[0][0]); X h0 = (table[0][1] << 24) | (table[2][1] << 16) | (table[1][1] << 8) | (table[0][1]); X l1 = (l0 >> 8); l1 |= (l1 << 24); X@@ -476,7 +476,7 @@ mlib_status mlib_ImageLookUp_Bit_U8_3(co X h1 = (h0 << 8); h1 |= (h1 >> 24); X l2 = (l1 << 8); l2 |= (l2 >> 24); X h2 = (h1 << 8); h2 |= (h2 >> 24); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X X /* calculate lookup table */ X #ifdef __SUNPRO_C X@@ -564,11 +564,11 @@ mlib_status mlib_ImageLookUp_Bit_U8_3(co X dd = ((mlib_u32*)(d_array12 + (s0 & 0xF)))[1]; X } X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X emask = (mlib_u32)((mlib_s32)(-1)) >> ((4 - (size - i)) * 8); X #else X emask = (mlib_s32)(-1) << ((4 - (size - i)) * 8); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X da[0] = (dd & emask) | (da[0] &~ emask); X } X X@@ -611,13 +611,13 @@ mlib_status mlib_ImageLookUp_Bit_U8_4(co X X buffs = buff + size; X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X l = (table[3][0] << 24) | (table[2][0] << 16) | (table[1][0] << 8) | (table[0][0]); X h = (table[3][1] << 24) | (table[2][1] << 16) | (table[1][1] << 8) | (table[0][1]); X #else X l = (table[0][0] << 24) | (table[1][0] << 16) | (table[2][0] << 8) | (table[3][0]); X h = (table[0][1] << 24) | (table[1][1] << 16) | (table[2][1] << 8) | (table[3][1]); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X X ((mlib_u32*)lh)[0] = l; ((mlib_u32*)lh)[1] = l; X ((mlib_u32*)lh)[2] = l; ((mlib_u32*)lh)[3] = h; Xdiff -uNpr ../orig/jdk/src/share/native/sun/awt/medialib/mlib_ImageUtils.c ./jdk/src/share/native/sun/awt/medialib/mlib_ImageUtils.c X--- ../orig/jdk/src/share/native/sun/awt/medialib/mlib_ImageUtils.c 2009-04-24 03:34:30.000000000 -0400 X+++ ./jdk/src/share/native/sun/awt/medialib/mlib_ImageUtils.c 2009-05-14 23:41:34.000000000 -0400 X@@ -30,7 +30,7 @@ X typedef union { X mlib_d64 db; X struct { X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X mlib_s32 int1, int0; X #else X mlib_s32 int0, int1; Xdiff -uNpr ../orig/jdk/src/share/native/sun/awt/medialib/mlib_c_ImageCopy.c ./jdk/src/share/native/sun/awt/medialib/mlib_c_ImageCopy.c X--- ../orig/jdk/src/share/native/sun/awt/medialib/mlib_c_ImageCopy.c 2009-04-24 03:34:30.000000000 -0400 X+++ ./jdk/src/share/native/sun/awt/medialib/mlib_c_ImageCopy.c 2009-05-14 23:41:34.000000000 -0400 X@@ -275,11 +275,11 @@ void mlib_ImageCopy_bit_al(const mlib_u8 X for (i = 0; j <= (b_size - 4); j += 4, i++) { X src0 = src1; X src1 = pws[i + 1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X pwd[i] = (src0 >> lshift) | (src1 << rshift); X #else X pwd[i] = (src0 << lshift) | (src1 >> rshift); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X } X X sa += i << 2; X@@ -381,11 +381,11 @@ void mlib_c_ImageCopy_u8(const mlib_imag X for (; j <= (src_width - 4); j += 4) { X src0 = src1; X src1 = ps[1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X *((mlib_s32 *) (pdst_row + j)) = (src0 >> shl) | (src1 << shr); X #else X *((mlib_s32 *) (pdst_row + j)) = (src0 << shl) | (src1 >> shr); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X ps++; X } X } X@@ -414,11 +414,11 @@ void mlib_c_ImageCopy_u8(const mlib_imag X for (; j <= (src_width - 8); j += 8) { X src0 = src1; X src1 = ps[1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X *((mlib_s64 *) (pdst_row + j)) = (src0 >> shl) | (src1 << shr); X #else X *((mlib_s64 *) (pdst_row + j)) = (src0 << shl) | (src1 >> shr); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X ps++; X } X } X@@ -484,11 +484,11 @@ void mlib_c_ImageCopy_s16(const mlib_ima X for (; j <= (src_width - 2); j += 2) { X src0 = src1; X src1 = ps[1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X *((mlib_s32 *) (pdst_row + j)) = (src0 >> 16) | (src1 << 16); X #else X *((mlib_s32 *) (pdst_row + j)) = (src0 << 16) | (src1 >> 16); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X ps++; X } X } X@@ -516,11 +516,11 @@ void mlib_c_ImageCopy_s16(const mlib_ima X for (; j <= (src_width - 4); j += 4) { X src0 = src1; X src1 = ps[1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X *((mlib_s64 *) (pdst_row + j)) = (src0 >> shl) | (src1 << shr); X #else X *((mlib_s64 *) (pdst_row + j)) = (src0 << shl) | (src1 >> shr); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X ps++; X } X } X@@ -585,11 +585,11 @@ void mlib_c_ImageCopy_s32(const mlib_ima X for (; j <= (src_width - 2); j += 2) { X src0 = src1; X src1 = ps[1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X *((mlib_s64 *) (pdst_row + j)) = (src0 >> 32) | (src1 << 32); X #else X *((mlib_s64 *) (pdst_row + j)) = (src0 << 32) | (src1 >> 32); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X ps++; X } X } X@@ -687,11 +687,11 @@ void mlib_ImageCopy_na(const mlib_u8 *sp X #endif /* __SUNPRO_C */ X for (; n > SIZE; n -= SIZE) { X s1 = *tmp++; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X *(TYPE *) dp = (s0 >> shl) | (s1 << shr); X #else X *(TYPE *) dp = (s0 << shl) | (s1 >> shr); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = s1; X dp += SIZE; X sp += SIZE; Xdiff -uNpr ../orig/jdk/src/share/native/sun/awt/medialib/mlib_c_ImageLookUp_f.c ./jdk/src/share/native/sun/awt/medialib/mlib_c_ImageLookUp_f.c X--- ../orig/jdk/src/share/native/sun/awt/medialib/mlib_c_ImageLookUp_f.c 2009-04-24 03:34:30.000000000 -0400 X+++ ./jdk/src/share/native/sun/awt/medialib/mlib_c_ImageLookUp_f.c 2009-05-14 23:41:34.000000000 -0400 X@@ -120,7 +120,7 @@ X } \ X } X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X X /***************************************************************/ X #define READ_U8_U8_ALIGN(table0, table1, table2, table3) \ X@@ -163,7 +163,7 @@ X t2 = *(mlib_u32*)((mlib_u8*)table2 + ((s0 >> 14) & 0x3FC)); \ X t3 = *(mlib_u32*)((mlib_u8*)table3 + ((s0 >> 22) & 0x3FC)) X X-#else /* _LITTLE_ENDIAN */ X+#else /* BYTE_ORDER == ... */ X X /***********/ X #define READ_U8_U8_ALIGN(table0, table1, table2, table3) \ X@@ -206,7 +206,7 @@ X t2 = *(mlib_u32*)((mlib_u8*)table2 + ((s0 >> 6) & 0x3FC)); \ X t3 = *(mlib_u32*)((mlib_u8*)table3 + ((s0 << 2) & 0x3FC)) X X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X X /***************************************************************/ X void mlib_c_ImageLookUp_U8_U8(const mlib_u8 *src, X@@ -297,11 +297,11 @@ void mlib_c_ImageLookUp_U8_U8(const mlib X da[0] = t; X da++; X dp = (mlib_u8 *) da; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X *dp++ = tab[s2 >> 8]; X #else X *dp++ = tab[s2 & 0xFF]; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X sp = (mlib_u8 *) sa; X i += 5; X for (; i < size; i++, dp++, sp++) X@@ -403,11 +403,11 @@ void mlib_c_ImageLookUp_U8_U8(const mlib X da[0] = t; X da++; X dp = (mlib_u8 *) da; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X *dp++ = tab0[s2 >> 8]; X #else X *dp++ = tab0[s2 & 0xFF]; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X sp = (mlib_u8 *) sa; X i += 5; X X@@ -544,11 +544,11 @@ void mlib_c_ImageLookUp_U8_U8(const mlib X da[0] = t; X da++; X dp = (mlib_u8 *) da; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X *dp++ = tab1[s2 >> 8]; X #else X *dp++ = tab1[s2 & 0xFF]; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X sp = (mlib_u8 *) sa; X i += 5; X X@@ -694,11 +694,11 @@ void mlib_c_ImageLookUp_U8_U8(const mlib X da[0] = t; X da++; X dp = (mlib_u8 *) da; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X *dp++ = tab0[s2 >> 8]; X #else X *dp++ = tab0[s2 & 0xFF]; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X sp = (mlib_u8 *) sa; X i += 5; X X@@ -1852,21 +1852,21 @@ void mlib_c_ImageLookUpSI_U8_U8(const ml X s0 = tab0[0]; X s1 = tab1[0]; X for (i = 1; i < 256; i++) { X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X s2 = (s1 << 8) + s0; X #else X s2 = (s0 << 8) + s1; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = tab0[i]; X s1 = tab1[i]; X tab[i - 1] = (mlib_u16) s2; X } X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X s2 = (s1 << 8) + s0; X #else X s2 = (s0 << 8) + s1; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X tab[255] = (mlib_u16) s2; X X for (j = 0; j < ysize; j++, dst += dlb, src += slb) { X@@ -1897,11 +1897,11 @@ void mlib_c_ImageLookUpSI_U8_U8(const ml X for (i = 0; i < size - 3; i += 2, da++, sa += 2) { X t0 = tab[s0]; X t1 = tab[s1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t = (t1 << 16) + t0; X #else X t = (t0 << 16) + t1; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = sa[0]; X s1 = sa[1]; X da[0] = t; X@@ -1909,11 +1909,11 @@ void mlib_c_ImageLookUpSI_U8_U8(const ml X X t0 = tab[s0]; X t1 = tab[s1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t = (t1 << 16) + t0; X #else X t = (t0 << 16) + t1; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X da[0] = t; X da++; X X@@ -1927,13 +1927,13 @@ void mlib_c_ImageLookUpSI_U8_U8(const ml X X if (off > 1) { X t0 = tab[sa[0]]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X dp[1] = (t0 >> 8); X dp[0] = t0; X #else X dp[0] = (t0 >> 8); X dp[1] = t0; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X sa++; X size--; X dp += 2; X@@ -1941,11 +1941,11 @@ void mlib_c_ImageLookUpSI_U8_U8(const ml X X t0 = tab[sa[0]]; X sa++; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X *dp++ = t0; X #else X *dp++ = (t0 >> 8); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X X da = (mlib_s32 *) dp; X X@@ -1959,11 +1959,11 @@ void mlib_c_ImageLookUpSI_U8_U8(const ml X for (i = 0; i < size - 4; i += 2, da++, sa += 2) { X t1 = tab[s0]; X t2 = tab[s1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t = (t0 >> 8) + (t1 << 8) + (t2 << 24); X #else X t = (t0 << 24) + (t1 << 8) + (t2 >> 8); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X t0 = t2; X s0 = sa[0]; X s1 = sa[1]; X@@ -1972,29 +1972,29 @@ void mlib_c_ImageLookUpSI_U8_U8(const ml X X t1 = tab[s0]; X t2 = tab[s1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t = (t0 >> 8) + (t1 << 8) + (t2 << 24); X #else X t = (t0 << 24) + (t1 << 8) + (t2 >> 8); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X da[0] = t; X da++; X dp = (mlib_u8 *) da; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X dp[0] = (t2 >> 8); X #else X dp[0] = t2; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X X if ((size & 1) == 0) { X t0 = tab[sa[0]]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X dp[2] = (t0 >> 8); X dp[1] = t0; X #else X dp[1] = (t0 >> 8); X dp[2] = t0; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X } X } X } X@@ -2012,22 +2012,22 @@ void mlib_c_ImageLookUpSI_U8_U8(const ml X s1 = tab1[0]; X s2 = tab2[0]; X for (i = 1; i < 256; i++) { X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X s3 = (s2 << 24) + (s1 << 16) + (s0 << 8); X #else X s3 = (s0 << 16) + (s1 << 8) + s2; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = tab0[i]; X s1 = tab1[i]; X s2 = tab2[i]; X tab[i - 1] = s3; X } X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X s3 = (s2 << 24) + (s1 << 16) + (s0 << 8); X #else X s3 = (s0 << 16) + (s1 << 8) + s2; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X tab[255] = s3; X X for (j = 0; j < ysize; j++, dst += dlb, src += slb) { X@@ -2064,24 +2064,24 @@ void mlib_c_ImageLookUpSI_U8_U8(const ml X for (i = 0; i < size - 7; i += 4, da += 3, sa += 4) { X t0 = tab[s0]; X t1 = tab[s1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X da[0] = (t0 >> 8) + (t1 << 16); X res2 = (t1 >> 16); X #else X da[0] = (t0 << 8) + (t1 >> 16); X res2 = (t1 << 16); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = sa[0]; X s1 = sa[1]; X t0 = tab[s0]; X t1 = tab[s1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res2 += (t0 << 8); X res1 = (t0 >> 24) + t1; X #else X res2 += (t0 >> 8); X res1 = (t0 << 24) + t1; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = sa[2]; X s1 = sa[3]; X da[1] = res2; X@@ -2090,24 +2090,24 @@ void mlib_c_ImageLookUpSI_U8_U8(const ml X X t0 = tab[s0]; X t1 = tab[s1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X da[0] = (t0 >> 8) + (t1 << 16); X res2 = (t1 >> 16); X #else X da[0] = (t0 << 8) + (t1 >> 16); X res2 = (t1 << 16); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = sa[0]; X s1 = sa[1]; X t0 = tab[s0]; X t1 = tab[s1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res2 += (t0 << 8); X res1 = (t0 >> 24) + t1; X #else X res2 += (t0 >> 8); X res1 = (t0 << 24) + t1; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X da[1] = res2; X da[2] = res1; X da += 3; X@@ -2143,11 +2143,11 @@ void mlib_c_ImageLookUpSI_U8_U8(const ml X s2 = tab2[0]; X s3 = tab3[0]; X for (i = 1; i < 256; i++) { X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X s4 = (s3 << 24) + (s2 << 16) + (s1 << 8) + s0; X #else X s4 = (s0 << 24) + (s1 << 16) + (s2 << 8) + s3; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = tab0[i]; X s1 = tab1[i]; X s2 = tab2[i]; X@@ -2155,11 +2155,11 @@ void mlib_c_ImageLookUpSI_U8_U8(const ml X tab[i - 1] = s4; X } X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X s4 = (s3 << 24) + (s2 << 16) + (s1 << 8) + s0; X #else X s4 = (s0 << 24) + (s1 << 16) + (s2 << 8) + s3; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X tab[255] = s4; X X for (j = 0; j < ysize; j++, dst += dlb, src += slb) { X@@ -2225,13 +2225,13 @@ void mlib_c_ImageLookUpSI_U8_U8(const ml X for (i = 0; i < size - 4; i += 2, da += 2, sa += 2) { X t1 = tab[s0]; X t2 = tab[s1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res1 = (t0 >> shift) + (t1 << shift1); X res2 = (t1 >> shift) + (t2 << shift1); X #else X res1 = (t0 << shift) + (t1 >> shift1); X res2 = (t1 << shift) + (t2 >> shift1); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X t0 = t2; X s0 = sa[0]; X s1 = sa[1]; X@@ -2241,28 +2241,28 @@ void mlib_c_ImageLookUpSI_U8_U8(const ml X X t1 = tab[s0]; X t2 = tab[s1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res1 = (t0 >> shift) + (t1 << shift1); X res2 = (t1 >> shift) + (t2 << shift1); X #else X res1 = (t0 << shift) + (t1 >> shift1); X res2 = (t1 << shift) + (t2 >> shift1); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X da[0] = res1; X da[1] = res2; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = (da[2] >> shift1); X da[2] = (t2 >> shift) + (t0 << shift1); X #else X t0 = (da[2] << shift1); X da[2] = (t2 << shift) + (t0 >> shift1); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X da += 2; X dp = (mlib_u8 *) da + (4 - off); X X if ((size & 1) == 0) { X t0 = tab[sa[0]]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X dp[3] = (mlib_u8) (t0 >> 24); X dp[2] = (mlib_u8) (t0 >> 16); X dp[1] = (mlib_u8) (t0 >> 8); X@@ -2272,7 +2272,7 @@ void mlib_c_ImageLookUpSI_U8_U8(const ml X dp[1] = (mlib_u8) (t0 >> 16); X dp[2] = (mlib_u8) (t0 >> 8); X dp[3] = (mlib_u8) t0; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X } X } X } X@@ -2348,13 +2348,13 @@ void mlib_c_ImageLookUpSI_S16_U8(const m X t3 = tab0[s1]; X t4 = tab1[s1]; X t5 = tab2[s1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X da[0] = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; X res2 = (t5 << 8) + t4; X #else X da[0] = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; X res2 = (t4 << 24) + (t5 << 16); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = sa[0]; X s1 = sa[1]; X t0 = tab0[s0]; X@@ -2363,13 +2363,13 @@ void mlib_c_ImageLookUpSI_S16_U8(const m X t3 = tab0[s1]; X t4 = tab1[s1]; X t5 = tab2[s1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res2 += ((t1 << 24) + (t0 << 16)); X res1 = (t5 << 24) + (t4 << 16) + (t3 << 8) + t2; X #else X res2 += ((t0 << 8) + t1); X res1 = (t2 << 24) + (t3 << 16) + (t4 << 8) + t5; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = sa[2]; X s1 = sa[3]; X da[1] = res2; X@@ -2382,13 +2382,13 @@ void mlib_c_ImageLookUpSI_S16_U8(const m X t3 = tab0[s1]; X t4 = tab1[s1]; X t5 = tab2[s1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X da[0] = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; X res2 = (t5 << 8) + t4; X #else X da[0] = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; X res2 = (t4 << 24) + (t5 << 16); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = sa[0]; X s1 = sa[1]; X t0 = tab0[s0]; X@@ -2397,13 +2397,13 @@ void mlib_c_ImageLookUpSI_S16_U8(const m X t3 = tab0[s1]; X t4 = tab1[s1]; X t5 = tab2[s1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res2 += ((t1 << 24) + (t0 << 16)); X res1 = (t5 << 24) + (t4 << 16) + (t3 << 8) + t2; X #else X res2 += ((t0 << 8) + t1); X res1 = (t2 << 24) + (t3 << 16) + (t4 << 8) + t5; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X da[1] = res2; X da[2] = res1; X da += 3; X@@ -2455,11 +2455,11 @@ void mlib_c_ImageLookUpSI_S16_U8(const m X t1 = tab1[s0]; X t2 = tab2[s0]; X t3 = tab3[s0]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; X #else X res = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = sa[0]; X da[0] = res; X } X@@ -2468,11 +2468,11 @@ void mlib_c_ImageLookUpSI_S16_U8(const m X t1 = tab1[s0]; X t2 = tab2[s0]; X t3 = tab3[s0]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; X #else X res = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X da[0] = res; X X } X@@ -2496,11 +2496,11 @@ void mlib_c_ImageLookUpSI_S16_U8(const m X t2 = tab2[s0]; X t3 = tab3[s0]; X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res1 = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; X #else X res1 = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X X s0 = sa[0]; X sa++; X@@ -2513,13 +2513,13 @@ void mlib_c_ImageLookUpSI_S16_U8(const m X t1 = tab1[s0]; X t2 = tab2[s0]; X t3 = tab3[s0]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res2 = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; X res = (res1 >> shift) + (res2 << shift1); X #else X res2 = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; X res = (res1 << shift) + (res2 >> shift1); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X res1 = res2; X s0 = sa[0]; X da[0] = res; X@@ -2529,21 +2529,21 @@ void mlib_c_ImageLookUpSI_S16_U8(const m X t1 = tab1[s0]; X t2 = tab2[s0]; X t3 = tab3[s0]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res2 = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; X res = (res1 >> shift) + (res2 << shift1); X #else X res2 = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; X res = (res1 << shift) + (res2 >> shift1); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X da[0] = res; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res1 = (da[1] >> shift1); X da[1] = (res2 >> shift) + (res1 << shift1); X #else X res1 = (da[1] << shift1); X da[1] = (res2 << shift) + (res1 >> shift1); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X } X } X } X@@ -2617,13 +2617,13 @@ void mlib_c_ImageLookUpSI_U16_U8(const m X t3 = tab0[s1]; X t4 = tab1[s1]; X t5 = tab2[s1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X da[0] = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; X res2 = (t5 << 8) + t4; X #else X da[0] = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; X res2 = (t4 << 24) + (t5 << 16); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = sa[0]; X s1 = sa[1]; X t0 = tab0[s0]; X@@ -2632,13 +2632,13 @@ void mlib_c_ImageLookUpSI_U16_U8(const m X t3 = tab0[s1]; X t4 = tab1[s1]; X t5 = tab2[s1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res2 += ((t1 << 24) + (t0 << 16)); X res1 = (t5 << 24) + (t4 << 16) + (t3 << 8) + t2; X #else X res2 += ((t0 << 8) + t1); X res1 = (t2 << 24) + (t3 << 16) + (t4 << 8) + t5; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = sa[2]; X s1 = sa[3]; X da[1] = res2; X@@ -2651,13 +2651,13 @@ void mlib_c_ImageLookUpSI_U16_U8(const m X t3 = tab0[s1]; X t4 = tab1[s1]; X t5 = tab2[s1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X da[0] = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; X res2 = (t5 << 8) + t4; X #else X da[0] = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; X res2 = (t4 << 24) + (t5 << 16); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = sa[0]; X s1 = sa[1]; X t0 = tab0[s0]; X@@ -2666,13 +2666,13 @@ void mlib_c_ImageLookUpSI_U16_U8(const m X t3 = tab0[s1]; X t4 = tab1[s1]; X t5 = tab2[s1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res2 += ((t1 << 24) + (t0 << 16)); X res1 = (t5 << 24) + (t4 << 16) + (t3 << 8) + t2; X #else X res2 += ((t0 << 8) + t1); X res1 = (t2 << 24) + (t3 << 16) + (t4 << 8) + t5; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X da[1] = res2; X da[2] = res1; X da += 3; X@@ -2724,11 +2724,11 @@ void mlib_c_ImageLookUpSI_U16_U8(const m X t1 = tab1[s0]; X t2 = tab2[s0]; X t3 = tab3[s0]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; X #else X res = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = sa[0]; X da[0] = res; X } X@@ -2737,11 +2737,11 @@ void mlib_c_ImageLookUpSI_U16_U8(const m X t1 = tab1[s0]; X t2 = tab2[s0]; X t3 = tab3[s0]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; X #else X res = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X da[0] = res; X X } X@@ -2765,11 +2765,11 @@ void mlib_c_ImageLookUpSI_U16_U8(const m X t2 = tab2[s0]; X t3 = tab3[s0]; X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res1 = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; X #else X res1 = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X X s0 = sa[0]; X sa++; X@@ -2782,13 +2782,13 @@ void mlib_c_ImageLookUpSI_U16_U8(const m X t1 = tab1[s0]; X t2 = tab2[s0]; X t3 = tab3[s0]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res2 = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; X res = (res1 >> shift) + (res2 << shift1); X #else X res2 = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; X res = (res1 << shift) + (res2 >> shift1); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X res1 = res2; X s0 = sa[0]; X da[0] = res; X@@ -2798,21 +2798,21 @@ void mlib_c_ImageLookUpSI_U16_U8(const m X t1 = tab1[s0]; X t2 = tab2[s0]; X t3 = tab3[s0]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res2 = (t3 << 24) + (t2 << 16) + (t1 << 8) + t0; X res = (res1 >> shift) + (res2 << shift1); X #else X res2 = (t0 << 24) + (t1 << 16) + (t2 << 8) + t3; X res = (res1 << shift) + (res2 >> shift1); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X da[0] = res; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res1 = (da[1] >> shift1); X da[1] = (res2 >> shift) + (res1 << shift1); X #else X res1 = (da[1] << shift1); X da[1] = (res2 << shift) + (res1 >> shift1); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X } X } X } X@@ -2863,21 +2863,21 @@ void mlib_c_ImageLookUpSI_U8_S16(const m X s0 = tab0[0]; X s1 = tab1[0]; X for (i = 1; i < 256; i++) { X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X s2 = (s1 << 16) + s0; X #else X s2 = (s0 << 16) + s1; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = tab0[i]; X s1 = tab1[i]; X tab[i - 1] = s2; X } X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X s2 = (s1 << 16) + s0; X #else X s2 = (s0 << 16) + s1; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X tab[255] = s2; X X for (j = 0; j < ysize; j++, dst += dlb, src += slb) { X@@ -2919,11 +2919,11 @@ void mlib_c_ImageLookUpSI_U8_S16(const m X else { X X t0 = tab[*sa++]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X *dp++ = (mlib_u16) (t0); X #else X *dp++ = (mlib_u16) (t0 >> 16); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X da = (mlib_u32 *) dp; X s0 = sa[0]; X s1 = sa[1]; X@@ -2935,13 +2935,13 @@ void mlib_c_ImageLookUpSI_U8_S16(const m X for (i = 0; i < size - 4; i += 2, da += 2, sa += 2) { X t1 = tab[s0]; X t2 = tab[s1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res1 = (t0 >> 16) + (t1 << 16); X res2 = (t1 >> 16) + (t2 << 16); X #else X res1 = (t0 << 16) + (t1 >> 16); X res2 = (t1 << 16) + (t2 >> 16); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X t0 = t2; X s0 = sa[0]; X s1 = sa[1]; X@@ -2951,32 +2951,32 @@ void mlib_c_ImageLookUpSI_U8_S16(const m X X t1 = tab[s0]; X t2 = tab[s1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res1 = (t0 >> 16) + (t1 << 16); X res2 = (t1 >> 16) + (t2 << 16); X #else X res1 = (t0 << 16) + (t1 >> 16); X res2 = (t1 << 16) + (t2 >> 16); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X da[0] = res1; X da[1] = res2; X da += 2; X dp = (mlib_u16 *) da; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X dp[0] = (mlib_u16) (t2 >> 16); X #else X dp[0] = (mlib_u16) t2; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X X if ((size & 1) == 0) { X t0 = tab[sa[0]]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X dp[2] = (mlib_u16) (t0 >> 16); X dp[1] = (mlib_u16) t0; X #else X dp[1] = (mlib_u16) (t0 >> 16); X dp[2] = (mlib_u16) t0; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X } X } X } X@@ -2994,13 +2994,13 @@ void mlib_c_ImageLookUpSI_U8_S16(const m X s1 = tab1[0]; X s2 = tab2[0]; X for (i = 1; i < 256; i++) { X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X s3 = (s0 << 16); X s4 = (s2 << 16) + s1; X #else X s3 = s0; X s4 = (s1 << 16) + s2; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = tab0[i]; X s1 = tab1[i]; X s2 = tab2[i]; X@@ -3008,13 +3008,13 @@ void mlib_c_ImageLookUpSI_U8_S16(const m X tab[2 * i - 1] = s4; X } X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X s4 = (s2 << 16) + s1; X tab[510] = s0 << 16; X #else X s4 = (s1 << 16) + s2; X tab[510] = s0; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X tab[511] = s4; X X for (j = 0; j < ysize; j++, dst += dlb, src += slb) { X@@ -3050,13 +3050,13 @@ void mlib_c_ImageLookUpSI_U8_S16(const m X t1 = *(mlib_u32 *) ((mlib_u8 *) tab + s0 + 4); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab + s1); X t3 = *(mlib_u32 *) ((mlib_u8 *) tab + s1 + 4); X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res1 = (t0 >> 16) + (t1 << 16); X res2 = (t1 >> 16) + t2; X #else X res1 = (t0 << 16) + (t1 >> 16); X res2 = (t1 << 16) + t2; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = sa[0] << 3; X s1 = sa[1] << 3; X da[0] = res1; X@@ -3068,13 +3068,13 @@ void mlib_c_ImageLookUpSI_U8_S16(const m X t1 = *(mlib_u32 *) ((mlib_u8 *) tab + s0 + 4); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab + s1); X t3 = *(mlib_u32 *) ((mlib_u8 *) tab + s1 + 4); X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res1 = (t0 >> 16) + (t1 << 16); X res2 = (t1 >> 16) + t2; X #else X res1 = (t0 << 16) + (t1 >> 16); X res2 = (t1 << 16) + t2; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X da[0] = res1; X da[1] = res2; X da[2] = t3; X@@ -3105,13 +3105,13 @@ void mlib_c_ImageLookUpSI_U8_S16(const m X s2 = tab2[0]; X s3 = tab3[0]; X for (i = 1; i < 256; i++) { X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X s4 = (s1 << 16) + s0; X s5 = (s3 << 16) + s2; X #else X s4 = (s0 << 16) + s1; X s5 = (s2 << 16) + s3; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = tab0[i]; X s1 = tab1[i]; X s2 = tab2[i]; X@@ -3120,13 +3120,13 @@ void mlib_c_ImageLookUpSI_U8_S16(const m X tab[2 * i - 1] = s5; X } X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X s4 = (s1 << 16) + s0; X s5 = (s3 << 16) + s2; X #else X s4 = (s0 << 16) + s1; X s5 = (s2 << 16) + s3; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X tab[510] = s4; X tab[511] = s5; X X@@ -3181,18 +3181,18 @@ void mlib_c_ImageLookUpSI_U8_S16(const m X X t4 = tab[2 * sa[0]]; X t5 = tab[2 * sa[0] + 1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X *dp++ = (mlib_u16) (t4); X #else X *dp++ = (mlib_u16) (t4 >> 16); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X sa++; X da = (mlib_u32 *) dp; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X *da++ = (t4 >> 16) + (t5 << 16); X #else X *da++ = (t4 << 16) + (t5 >> 16); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = sa[0] << 3; X s1 = sa[1] << 3; X sa += 2; X@@ -3205,7 +3205,7 @@ void mlib_c_ImageLookUpSI_U8_S16(const m X t1 = *(mlib_u32 *) ((mlib_u8 *) tab + s0 + 4); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab + s1); X t3 = *(mlib_u32 *) ((mlib_u8 *) tab + s1 + 4); X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res1 = (t5 >> 16) + (t0 << 16); X res2 = (t0 >> 16) + (t1 << 16); X res3 = (t1 >> 16) + (t2 << 16); X@@ -3215,7 +3215,7 @@ void mlib_c_ImageLookUpSI_U8_S16(const m X res2 = (t0 << 16) + (t1 >> 16); X res3 = (t1 << 16) + (t2 >> 16); X res4 = (t2 << 16) + (t3 >> 16); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = sa[0] << 3; X s1 = sa[1] << 3; X da[0] = res1; X@@ -3229,7 +3229,7 @@ void mlib_c_ImageLookUpSI_U8_S16(const m X t1 = *(mlib_u32 *) ((mlib_u8 *) tab + s0 + 4); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab + s1); X t3 = *(mlib_u32 *) ((mlib_u8 *) tab + s1 + 4); X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X res1 = (t5 >> 16) + (t0 << 16); X res2 = (t0 >> 16) + (t1 << 16); X res3 = (t1 >> 16) + (t2 << 16); X@@ -3239,36 +3239,36 @@ void mlib_c_ImageLookUpSI_U8_S16(const m X res2 = (t0 << 16) + (t1 >> 16); X res3 = (t1 << 16) + (t2 >> 16); X res4 = (t2 << 16) + (t3 >> 16); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X da[0] = res1; X da[1] = res2; X da[2] = res3; X da[3] = res4; X da += 4; X dp = (mlib_u16 *) da; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X dp[0] = (mlib_u16) (t3 >> 16); X #else X dp[0] = (mlib_u16) t3; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X X if ((size & 1) == 0) { X t0 = tab[2 * sa[0]]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X dp[2] = (mlib_u16) (t0 >> 16); X dp[1] = (mlib_u16) t0; X #else X dp[1] = (mlib_u16) (t0 >> 16); X dp[2] = (mlib_u16) t0; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X t0 = tab[2 * sa[0] + 1]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X dp[4] = (mlib_u16) (t0 >> 16); X dp[3] = (mlib_u16) t0; X #else X dp[3] = (mlib_u16) (t0 >> 16); X dp[4] = (mlib_u16) t0; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X } X } X } X@@ -3439,7 +3439,7 @@ void mlib_c_ImageLookUpSI_U8_S32(const m X #pragma pipeloop(0) X #endif /* __SUNPRO_C */ X for (i = 0; i < size - 7; i += 4, dp += 8, sa++) { X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 << 2) & 0x3FC)); X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 6) & 0x3FC)); X@@ -3449,12 +3449,12 @@ void mlib_c_ImageLookUpSI_U8_S32(const m X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 22) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 14) & 0x3FC)); X t3 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[0] = t0; X dp[1] = t1; X dp[2] = t2; X dp[3] = t3; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 14) & 0x3FC)); X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 22) & 0x3FC)); X@@ -3464,7 +3464,7 @@ void mlib_c_ImageLookUpSI_U8_S32(const m X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 6) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 << 2) & 0x3FC)); X t3 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = sa[0]; X dp[4] = t0; X dp[5] = t1; X@@ -3472,7 +3472,7 @@ void mlib_c_ImageLookUpSI_U8_S32(const m X dp[7] = t3; X } X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 << 2) & 0x3FC)); X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 6) & 0x3FC)); X@@ -3482,12 +3482,12 @@ void mlib_c_ImageLookUpSI_U8_S32(const m X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 22) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 14) & 0x3FC)); X t3 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[0] = t0; X dp[1] = t1; X dp[2] = t2; X dp[3] = t3; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 14) & 0x3FC)); X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 22) & 0x3FC)); X@@ -3497,7 +3497,7 @@ void mlib_c_ImageLookUpSI_U8_S32(const m X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 6) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 << 2) & 0x3FC)); X t3 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[4] = t0; X dp[5] = t1; X dp[6] = t2; X@@ -3545,7 +3545,7 @@ void mlib_c_ImageLookUpSI_U8_S32(const m X #pragma pipeloop(0) X #endif /* __SUNPRO_C */ X for (i = 0; i < size - 7; i += 4, dp += 12, sa++) { X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 << 2) & 0x3FC)); X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 << 2) & 0x3FC)); X@@ -3559,14 +3559,14 @@ void mlib_c_ImageLookUpSI_U8_S32(const m X t3 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 14) & 0x3FC)); X t4 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); X t5 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 14) & 0x3FC)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[0] = t0; X dp[1] = t1; X dp[2] = t2; X dp[3] = t3; X dp[4] = t4; X dp[5] = t5; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 14) & 0x3FC)); X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 14) & 0x3FC)); X@@ -3580,7 +3580,7 @@ void mlib_c_ImageLookUpSI_U8_S32(const m X t3 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 << 2) & 0x3FC)); X t4 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); X t5 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 << 2) & 0x3FC)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = sa[0]; X dp[6] = t0; X dp[7] = t1; X@@ -3590,7 +3590,7 @@ void mlib_c_ImageLookUpSI_U8_S32(const m X dp[11] = t5; X } X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 << 2) & 0x3FC)); X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 << 2) & 0x3FC)); X@@ -3604,14 +3604,14 @@ void mlib_c_ImageLookUpSI_U8_S32(const m X t3 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 14) & 0x3FC)); X t4 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); X t5 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 14) & 0x3FC)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[0] = t0; X dp[1] = t1; X dp[2] = t2; X dp[3] = t3; X dp[4] = t4; X dp[5] = t5; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 14) & 0x3FC)); X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 14) & 0x3FC)); X@@ -3625,7 +3625,7 @@ void mlib_c_ImageLookUpSI_U8_S32(const m X t3 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 << 2) & 0x3FC)); X t4 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); X t5 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 << 2) & 0x3FC)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[6] = t0; X dp[7] = t1; X dp[8] = t2; X@@ -3678,7 +3678,7 @@ void mlib_c_ImageLookUpSI_U8_S32(const m X #pragma pipeloop(0) X #endif /* __SUNPRO_C */ X for (i = 0; i < size - 7; i += 4, dp += 16, sa++) { X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 << 2) & 0x3FC)); X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 << 2) & 0x3FC)); X@@ -3688,12 +3688,12 @@ void mlib_c_ImageLookUpSI_U8_S32(const m X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 22) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 22) & 0x3FC)); X t3 = *(mlib_u32 *) ((mlib_u8 *) tab3 + ((s0 >> 22) & 0x3FC)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[0] = t0; X dp[1] = t1; X dp[2] = t2; X dp[3] = t3; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 6) & 0x3FC)); X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 6) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 6) & 0x3FC)); X@@ -3703,12 +3703,12 @@ void mlib_c_ImageLookUpSI_U8_S32(const m X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 14) & 0x3FC)); X t3 = *(mlib_u32 *) ((mlib_u8 *) tab3 + ((s0 >> 14) & 0x3FC)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[4] = t0; X dp[5] = t1; X dp[6] = t2; X dp[7] = t3; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 14) & 0x3FC)); X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 14) & 0x3FC)); X@@ -3718,12 +3718,12 @@ void mlib_c_ImageLookUpSI_U8_S32(const m X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 6) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 6) & 0x3FC)); X t3 = *(mlib_u32 *) ((mlib_u8 *) tab3 + ((s0 >> 6) & 0x3FC)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[8] = t0; X dp[9] = t1; X dp[10] = t2; X dp[11] = t3; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 22) & 0x3FC)); X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 22) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 22) & 0x3FC)); X@@ -3733,7 +3733,7 @@ void mlib_c_ImageLookUpSI_U8_S32(const m X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 << 2) & 0x3FC)); X t3 = *(mlib_u32 *) ((mlib_u8 *) tab3 + ((s0 << 2) & 0x3FC)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X s0 = sa[0]; X dp[12] = t0; X dp[13] = t1; X@@ -3741,7 +3741,7 @@ void mlib_c_ImageLookUpSI_U8_S32(const m X dp[15] = t3; X } X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 << 2) & 0x3FC)); X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 << 2) & 0x3FC)); X@@ -3751,12 +3751,12 @@ void mlib_c_ImageLookUpSI_U8_S32(const m X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 22) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 22) & 0x3FC)); X t3 = *(mlib_u32 *) ((mlib_u8 *) tab3 + ((s0 >> 22) & 0x3FC)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[0] = t0; X dp[1] = t1; X dp[2] = t2; X dp[3] = t3; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 6) & 0x3FC)); X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 6) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 6) & 0x3FC)); X@@ -3766,12 +3766,12 @@ void mlib_c_ImageLookUpSI_U8_S32(const m X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 14) & 0x3FC)); X t3 = *(mlib_u32 *) ((mlib_u8 *) tab3 + ((s0 >> 14) & 0x3FC)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[4] = t0; X dp[5] = t1; X dp[6] = t2; X dp[7] = t3; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 14) & 0x3FC)); X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 14) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 14) & 0x3FC)); X@@ -3781,12 +3781,12 @@ void mlib_c_ImageLookUpSI_U8_S32(const m X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 6) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 6) & 0x3FC)); X t3 = *(mlib_u32 *) ((mlib_u8 *) tab3 + ((s0 >> 6) & 0x3FC)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[8] = t0; X dp[9] = t1; X dp[10] = t2; X dp[11] = t3; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X t0 = *(mlib_u32 *) ((mlib_u8 *) tab0 + ((s0 >> 22) & 0x3FC)); X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 >> 22) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 >> 22) & 0x3FC)); X@@ -3796,7 +3796,7 @@ void mlib_c_ImageLookUpSI_U8_S32(const m X t1 = *(mlib_u32 *) ((mlib_u8 *) tab1 + ((s0 << 2) & 0x3FC)); X t2 = *(mlib_u32 *) ((mlib_u8 *) tab2 + ((s0 << 2) & 0x3FC)); X t3 = *(mlib_u32 *) ((mlib_u8 *) tab3 + ((s0 << 2) & 0x3FC)); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* BYTE_ORDER == LITTLE_ENDIAN */ X dp[12] = t0; X dp[13] = t1; X dp[14] = t2; Xdiff -uNpr ../orig/jdk/src/share/native/sun/awt/medialib/mlib_image.h ./jdk/src/share/native/sun/awt/medialib/mlib_image.h X--- ../orig/jdk/src/share/native/sun/awt/medialib/mlib_image.h 2009-04-24 03:34:30.000000000 -0400 X+++ ./jdk/src/share/native/sun/awt/medialib/mlib_image.h 2009-05-14 23:41:34.000000000 -0400 X@@ -27,6 +27,11 @@ X #ifndef MLIB_IMAGE_H X #define MLIB_IMAGE_H X X+#ifdef __OpenBSD__ X+#include X+#endif X+#include X+ X #include X #include X #include Xdiff -uNpr ../orig/jdk/src/share/native/sun/awt/medialib/mlib_sys.c ./jdk/src/share/native/sun/awt/medialib/mlib_sys.c X--- ../orig/jdk/src/share/native/sun/awt/medialib/mlib_sys.c 2009-04-24 03:34:30.000000000 -0400 X+++ ./jdk/src/share/native/sun/awt/medialib/mlib_sys.c 2009-05-14 23:41:34.000000000 -0400 X@@ -26,9 +26,15 @@ X X #include X #include X+#ifdef _ALLBSD_SOURCE X+#include X+#endif X #include X #include X #include "mlib_SysMath.h" X+#if defined(_ALLBSD_SOURCE) X+#include X+#endif X X /***************************************************************/ X X@@ -86,7 +92,12 @@ void *__mlib_malloc(mlib_u32 size) X * alignment. -- from stdlib.h of MS VC++5.0. X */ X return (void *) malloc(size); X-#else /* _MSC_VER */ X+#elif defined(__FreeBSD__) && (__FreeBSD_version >= 700013) X+ void *ret; X+ return posix_memalign(&ret, 8, size) ? NULL : ret; X+#elif defined(_ALLBSD_SOURCE) X+ return valloc(size); X+#else X return (void *) memalign(8, size); X #endif /* _MSC_VER */ X } Xdiff -uNpr ../orig/jdk/src/share/native/sun/awt/medialib/mlib_types.h ./jdk/src/share/native/sun/awt/medialib/mlib_types.h X--- ../orig/jdk/src/share/native/sun/awt/medialib/mlib_types.h 2009-04-24 03:34:30.000000000 -0400 X+++ ./jdk/src/share/native/sun/awt/medialib/mlib_types.h 2009-05-14 23:41:34.000000000 -0400 X@@ -59,7 +59,10 @@ typedef double mlib_d64; X X #if defined(__SUNPRO_C) || defined(__SUNPRO_CC) || defined(__GNUC__) X X-#if defined(__linux__) X+#if defined(_ALLBSD_SOURCE) X+#include /* for ptrdiff_t */ X+#include /* for uintptr_t */ X+#elif defined(__linux__) X #include /* for uintptr_t */ X #include /* for ptrdiff_t */ X #else Xdiff -uNpr ../orig/jdk/src/share/native/sun/font/AccelGlyphCache.c ./jdk/src/share/native/sun/font/AccelGlyphCache.c X--- ../orig/jdk/src/share/native/sun/font/AccelGlyphCache.c 2009-04-24 03:34:30.000000000 -0400 X+++ ./jdk/src/share/native/sun/font/AccelGlyphCache.c 2009-05-14 23:41:34.000000000 -0400 X@@ -23,7 +23,11 @@ X * have any questions. X */ X X+#ifdef _ALLBSD_SOURCE X+#include X+#else X #include X+#endif X #include "jni.h" X #include "AccelGlyphCache.h" X #include "Trace.h" Xdiff -uNpr ../orig/jdk/src/share/native/sun/font/DrawGlyphList.c ./jdk/src/share/native/sun/font/DrawGlyphList.c X--- ../orig/jdk/src/share/native/sun/font/DrawGlyphList.c 2009-04-24 03:34:30.000000000 -0400 X+++ ./jdk/src/share/native/sun/font/DrawGlyphList.c 2009-05-14 23:41:34.000000000 -0400 X@@ -26,7 +26,11 @@ X #include "jlong.h" X #include "math.h" X #include "string.h" X+#ifdef _ALLBSD_SOURCE X+#include "stdlib.h" X+#else X #include "malloc.h" X+#endif X #include "sunfontids.h" X #include "fontscalerdefs.h" X #include "glyphblitting.h" Xdiff -uNpr ../orig/jdk/src/share/native/sun/font/sunFont.c ./jdk/src/share/native/sun/font/sunFont.c X--- ../orig/jdk/src/share/native/sun/font/sunFont.c 2009-04-24 03:34:31.000000000 -0400 X+++ ./jdk/src/share/native/sun/font/sunFont.c 2009-05-14 23:41:34.000000000 -0400 X@@ -24,7 +24,9 @@ X */ X X #include "stdlib.h" X+#ifndef _ALLBSD_SOURCE X #include "malloc.h" X+#endif X #include "string.h" X #include "gdefs.h" X #include "jlong.h" Xdiff -uNpr ../orig/jdk/src/share/native/sun/java2d/SurfaceData.c ./jdk/src/share/native/sun/java2d/SurfaceData.c X--- ../orig/jdk/src/share/native/sun/java2d/SurfaceData.c 2009-04-24 03:34:31.000000000 -0400 X+++ ./jdk/src/share/native/sun/java2d/SurfaceData.c 2009-05-14 23:41:34.000000000 -0400 X@@ -28,7 +28,11 @@ X #include "jni_util.h" X #include "Disposer.h" X X+#ifdef _ALLBSD_SOURCE X+#include X+#else X #include "malloc.h" X+#endif X #include "string.h" X X /** Xdiff -uNpr ../orig/jdk/src/share/native/sun/java2d/opengl/OGLFuncs.h ./jdk/src/share/native/sun/java2d/opengl/OGLFuncs.h X--- ../orig/jdk/src/share/native/sun/java2d/opengl/OGLFuncs.h 2009-04-24 03:34:31.000000000 -0400 X+++ ./jdk/src/share/native/sun/java2d/opengl/OGLFuncs.h 2009-05-14 23:41:34.000000000 -0400 X@@ -26,6 +26,9 @@ X #ifndef OGLFuncs_h_Included X #define OGLFuncs_h_Included X X+#ifdef _ALLBSD_SOURCE X+#include X+#endif X #include "jni.h" X #include "J2D_GL/gl.h" X #include "J2D_GL/glext.h" Xdiff -uNpr ../orig/jdk/src/share/native/sun/java2d/opengl/OGLRenderQueue.c ./jdk/src/share/native/sun/java2d/opengl/OGLRenderQueue.c X--- ../orig/jdk/src/share/native/sun/java2d/opengl/OGLRenderQueue.c 2009-04-24 03:34:31.000000000 -0400 X+++ ./jdk/src/share/native/sun/java2d/opengl/OGLRenderQueue.c 2009-05-14 23:41:34.000000000 -0400 X@@ -25,7 +25,11 @@ X X #ifndef HEADLESS X X+#ifdef _ALLBSD_SOURCE X+#include X+#else X #include X+#endif X X #include "sun_java2d_pipe_BufferedOpCodes.h" X Xdiff -uNpr ../orig/jdk/src/share/native/sun/java2d/opengl/OGLTextRenderer.c ./jdk/src/share/native/sun/java2d/opengl/OGLTextRenderer.c X--- ../orig/jdk/src/share/native/sun/java2d/opengl/OGLTextRenderer.c 2009-04-24 03:34:31.000000000 -0400 X+++ ./jdk/src/share/native/sun/java2d/opengl/OGLTextRenderer.c 2009-05-14 23:41:34.000000000 -0400 X@@ -25,7 +25,11 @@ X X #ifndef HEADLESS X X+#ifdef _ALLBSD_SOURCE X+#include X+#else X #include X+#endif X #include X #include X Xdiff -uNpr ../orig/jdk/src/share/transport/socket/socketTransport.c ./jdk/src/share/transport/socket/socketTransport.c X--- ../orig/jdk/src/share/transport/socket/socketTransport.c 2009-04-24 03:34:32.000000000 -0400 X+++ ./jdk/src/share/transport/socket/socketTransport.c 2009-05-14 23:41:34.000000000 -0400 X@@ -65,6 +65,9 @@ static jdwpTransportEnv single_env = (jd X #define HEADER_SIZE 11 X #define MAX_DATA_SIZE 1000 X X+static jint recv_fully(int, char *, int); X+static jint send_fully(int, char *, int); X+ X /* X * Record the last error for this thread. X */ X@@ -153,7 +156,7 @@ handshake(int fd, jlong timeout) { X } X buf = b; X buf += received; X- n = dbgsysRecv(fd, buf, strlen(hello)-received, 0); X+ n = recv_fully(fd, buf, strlen(hello)-received); X if (n == 0) { X setLastError(0, "handshake failed - connection prematurally closed"); X return JDWPTRANSPORT_ERROR_IO_ERROR; X@@ -179,7 +182,7 @@ handshake(int fd, jlong timeout) { X } X } X X- if (dbgsysSend(fd, hello, strlen(hello), 0) != (int)strlen(hello)) { X+ if (send_fully(fd, hello, strlen(hello)) != (int)strlen(hello)) { X RETURN_IO_ERROR("send failed during handshake"); X } X return JDWPTRANSPORT_ERROR_NONE; X@@ -554,19 +557,19 @@ socketTransport_writePacket(jdwpTranspor X /* Do one send for short packets, two for longer ones */ X if (data_len <= MAX_DATA_SIZE) { X memcpy(header + HEADER_SIZE, data, data_len); X- if (dbgsysSend(socketFD, (char *)&header, HEADER_SIZE + data_len, 0) != X+ if (send_fully(socketFD, (char *)&header, HEADER_SIZE + data_len) != X HEADER_SIZE + data_len) { X RETURN_IO_ERROR("send failed"); X } X } else { X memcpy(header + HEADER_SIZE, data, MAX_DATA_SIZE); X- if (dbgsysSend(socketFD, (char *)&header, HEADER_SIZE + MAX_DATA_SIZE, 0) != X+ if (send_fully(socketFD, (char *)&header, HEADER_SIZE + MAX_DATA_SIZE) != X HEADER_SIZE + MAX_DATA_SIZE) { X RETURN_IO_ERROR("send failed"); X } X /* Send the remaining data bytes right out of the data area. */ X- if (dbgsysSend(socketFD, (char *)data + MAX_DATA_SIZE, X- data_len - MAX_DATA_SIZE, 0) != data_len - MAX_DATA_SIZE) { X+ if (send_fully(socketFD, (char *)data + MAX_DATA_SIZE, X+ data_len - MAX_DATA_SIZE) != data_len - MAX_DATA_SIZE) { X RETURN_IO_ERROR("send failed"); X } X } X@@ -574,13 +577,33 @@ socketTransport_writePacket(jdwpTranspor X return JDWPTRANSPORT_ERROR_NONE; X } X X-static jint X+jint X recv_fully(int f, char *buf, int len) X { X int nbytes = 0; X while (nbytes < len) { X int res = dbgsysRecv(f, buf + nbytes, len - nbytes, 0); X if (res < 0) { X+ if (errno == EINTR) X+ continue; X+ return res; X+ } else if (res == 0) { X+ break; /* eof, return nbytes which is less than len */ X+ } X+ nbytes += res; X+ } X+ return nbytes; X+} X+ X+jint X+send_fully(int f, char *buf, int len) X+{ X+ int nbytes = 0; X+ while (nbytes < len) { X+ int res = dbgsysSend(f, buf + nbytes, len - nbytes, 0); X+ if (res < 0) { X+ if (errno == EINTR) X+ continue; X return res; X } else if (res == 0) { X break; /* eof, return nbytes which is less than len */ Xdiff -uNpr ../orig/jdk/src/solaris/back/exec_md.c ./jdk/src/solaris/back/exec_md.c X--- ../orig/jdk/src/solaris/back/exec_md.c 2009-04-24 03:34:32.000000000 -0400 X+++ ./jdk/src/solaris/back/exec_md.c 2009-05-14 23:41:34.000000000 -0400 X@@ -30,7 +30,7 @@ X #include "sys.h" X #include "util.h" X X-#ifdef LINUX X+#if defined(LINUX) || defined(_ALLBSD_SOURCE) X /* Linux */ X #define FORK() fork() X #else Xdiff -uNpr ../orig/jdk/src/solaris/back/linker_md.c ./jdk/src/solaris/back/linker_md.c X--- ../orig/jdk/src/solaris/back/linker_md.c 2009-04-24 03:34:32.000000000 -0400 X+++ ./jdk/src/solaris/back/linker_md.c 2009-05-14 23:41:34.000000000 -0400 X@@ -48,6 +48,12 @@ X #include "threads_md.h" X #endif X X+#ifdef __APPLE__ X+#define LIB_SUFFIX "dylib" X+#else X+#define LIB_SUFFIX "so" X+#endif X+ X /* X * create a string for the JNI native function name by adding the X * appropriate decorations. X@@ -77,9 +83,9 @@ dbgsysBuildLibName(char *holder, int hol X } X X if (pnamelen == 0) { X- (void)snprintf(holder, holderlen, "lib%s.so", fname); X+ (void)snprintf(holder, holderlen, "lib%s." LIB_SUFFIX, fname); X } else { X- (void)snprintf(holder, holderlen, "%s/lib%s.so", pname, fname); X+ (void)snprintf(holder, holderlen, "%s/lib%s." LIB_SUFFIX, pname, fname); X } X } X Xdiff -uNpr ../orig/jdk/src/solaris/back/util_md.h ./jdk/src/solaris/back/util_md.h X--- ../orig/jdk/src/solaris/back/util_md.h 2009-04-24 03:34:32.000000000 -0400 X+++ ./jdk/src/solaris/back/util_md.h 2009-05-14 23:41:34.000000000 -0400 X@@ -28,6 +28,7 @@ X X #include X #include X+#include X X #ifdef _LP64 X typedef unsigned long UNSIGNED_JLONG; X@@ -43,7 +44,7 @@ typedef unsigned long UNSIGNED_JINT; X X /* On little endian machines, convert java big endian numbers. */ X X-#if defined(_LITTLE_ENDIAN) X+#if (BYTE_ORDER == LITTLE_ENDIAN) X X #define HOST_TO_JAVA_CHAR(x) (((x & 0xff) << 8) | ((x >> 8) & (0xff))) X #define HOST_TO_JAVA_SHORT(x) (((x & 0xff) << 8) | ((x >> 8) & (0xff))) Xdiff -uNpr ../orig/jdk/src/solaris/bin/java_md.c ./jdk/src/solaris/bin/java_md.c X--- ../orig/jdk/src/solaris/bin/java_md.c 2009-04-24 03:34:32.000000000 -0400 X+++ ./jdk/src/solaris/bin/java_md.c 2009-05-14 23:41:34.000000000 -0400 X@@ -24,6 +24,7 @@ X */ X X #include "java.h" X+#include "jvm_md.h" X #include X #include X #include X@@ -34,17 +35,33 @@ X #include X #include X #include X+#if defined(_ALLBSD_SOURCE) X+#include X+#endif X+#ifndef _SC_PHYS_PAGES X+#include X+#endif X+ X #include "manifest_info.h" X #include "version_comp.h" X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X #include X #else X #include X #endif X X+#ifdef __APPLE__ X+#define JVM_DLL "libjvm.dylib" X+#define JAVA_DLL "libjava.dylib" X+/* FALLBACK avoids naming conflicts with system libraries X+ * (eg, ImageIO's libJPEG.dylib) */ X+#define LD_LIBRARY_PATH "DYLD_FALLBACK_LIBRARY_PATH" X+#else X #define JVM_DLL "libjvm.so" X #define JAVA_DLL "libjava.so" X+#define LD_LIBRARY_PATH "LD_LIBRARY_PATH" X+#endif X X /* X * If a processor / os combination has the ability to run binaries of X@@ -75,14 +92,31 @@ X #endif X X /* pointer to environment */ X+#ifdef __APPLE__ X+#include X+#define environ (*_NSGetEnviron()) X+#else X extern char **environ; X+#endif X X /* X * A collection of useful strings. One should think of these as #define X * entries, but actual strings can be more efficient (with many compilers). X */ X-#ifdef __linux__ X-static const char *system_dir = "/usr/java"; X+#if defined(__FreeBSD__) X+static const char *system_dir = "/usr/local/openjdk6"; X+static const char *user_dir = "/java"; X+#elif defined(__NetBSD__) X+static const char *system_dir = "/usr/local/openjdk6"; X+static const char *user_dir = "/java"; X+#elif defined(__OpenBSD__) X+static const char *system_dir = "/usr/local/openjdk6"; X+static const char *user_dir = "/java"; X+#elif defined(__APPLE__) X+static const char *system_dir = "/usr/local/openjdk6"; X+static const char *user_dir = "/java"; X+#elif defined(__linux__) X+static const char *system_dir = "/usr/local/java"; X static const char *user_dir = "/java"; X #else /* Solaris */ X static const char *system_dir = "/usr/jdk"; X@@ -404,10 +438,10 @@ CreateExecutionEnvironment(int *_argcp, X * If not on Solaris, assume only a single LD_LIBRARY_PATH X * variable. X */ X- runpath = getenv("LD_LIBRARY_PATH"); X+ runpath = getenv(LD_LIBRARY_PATH); X #endif /* __sun */ X X-#ifdef __linux X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X /* X * On linux, if a binary is running as sgid or suid, glibc sets X * LD_LIBRARY_PATH to the empty string for security purposes. (In X@@ -431,7 +465,7 @@ CreateExecutionEnvironment(int *_argcp, X new_runpath = JLI_MemAlloc( ((runpath!=NULL)?strlen(runpath):0) + X 2*strlen(jrepath) + 2*strlen(arch) + X strlen(jvmpath) + 52); X- newpath = new_runpath + strlen("LD_LIBRARY_PATH="); X+ newpath = new_runpath + strlen(LD_LIBRARY_PATH "="); X X X /* X@@ -446,7 +480,7 @@ CreateExecutionEnvironment(int *_argcp, X X /* jvmpath, ((running != wanted)?((wanted==64)?"/"LIBARCH64NAME:"/.."):""), */ X X- sprintf(new_runpath, "LD_LIBRARY_PATH=" X+ sprintf(new_runpath, LD_LIBRARY_PATH "=" X "%s:" X "%s/lib/%s:" X "%s/../lib/%s", X@@ -977,6 +1011,7 @@ jboolean RemovableMachineDependentOption X /* Compute physical memory by asking the OS */ X uint64_t X physical_memory(void) { X+#ifdef _SC_PHYS_PAGES X const uint64_t pages = (uint64_t) sysconf(_SC_PHYS_PAGES); X const uint64_t page_size = (uint64_t) sysconf(_SC_PAGESIZE); X const uint64_t result = pages * page_size; X@@ -988,6 +1023,28 @@ physical_memory(void) { X " physical memory: " UINT64_FORMAT " (%.3fGB)\n", X pages, page_size, result, result / (double) GB); X } X+#else X+#ifdef HW_PHYSMEM64 X+ int64_t physmem; X+ int name[2] = { CTL_HW, HW_PHYSMEM64 }; X+#else X+ unsigned long physmem; X+ int name[2] = { CTL_HW, HW_PHYSMEM }; X+#endif X+ size_t physmem_len = sizeof(physmem); X+ uint64_t result; X+# define UINT64_FORMAT "%" PRIu64 X+ X+ if (sysctl(name, 2, &physmem, &physmem_len, NULL, 0) == -1) X+ physmem = 256 * MB; X+ X+ result = (uint64_t)physmem; X+ X+ if (_launcher_debug) { X+ printf("physical memory: " UINT64_FORMAT " (%.3fGB)\n", X+ result, result / (double) GB); X+ } X+#endif X return result; X } X X@@ -1083,7 +1140,7 @@ get_cpuid(uint32_t arg, X X #endif /* __sun && i586 */ X X-#if defined(__linux__) && defined(i586) X+#if (defined(__linux__) || defined(_ALLBSD_SOURCE)) && defined(i586) X X /* X * A utility method for asking the CPU about itself. X@@ -1692,9 +1749,23 @@ UnsetEnv(char *name) X return(borrowed_unsetenv(name)); X } X X+#if defined(_ALLBSD_SOURCE) X+/* X+ * BSD's implementation of CounterGet() X+ */ X+int64_t X+CounterGet() X+{ X+ struct timeval tv; X+ gettimeofday(&tv, NULL); X+ return (tv.tv_sec * 1000) + tv.tv_usec; X+} X+#endif X+ X+ X /* --- Splash Screen shared library support --- */ X X-static const char* SPLASHSCREEN_SO = "libsplashscreen.so"; X+static const char* SPLASHSCREEN_SO = JNI_LIB_NAME("splashscreen"); X X static void* hSplashLib = NULL; X X@@ -1722,13 +1793,15 @@ jlong_format_specifier() { X return "%lld"; X } X X+ X+ X /* X * Block current thread and continue execution in a new thread X */ X int X-ContinueInNewThread(int (JNICALL *continuation)(void *), jlong stack_size, void * args, int ret) { X+ContinueInNewThread0(int (JNICALL *continuation)(void *), jlong stack_size, void * args) { X int rslt; X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X pthread_t tid; X pthread_attr_t attr; X pthread_attr_init(&attr); X@@ -1765,13 +1838,11 @@ ContinueInNewThread(int (JNICALL *contin X rslt = continuation(args); X } X #endif X- /* If the caller has deemed there is an error we X- * simply return that, otherwise we return the value of X- * the callee X- */ X- return (ret != 0) ? ret : rslt; X+ return rslt; X } X X+ X+ X /* Coarse estimation of number of digits assuming the worst case is a 64-bit pid. */ X #define MAX_PID_STR_SZ 20 X Xdiff -uNpr ../orig/jdk/src/solaris/bin/java_md.h ./jdk/src/solaris/bin/java_md.h X--- ../orig/jdk/src/solaris/bin/java_md.h 2009-04-24 03:34:32.000000000 -0400 X+++ ./jdk/src/solaris/bin/java_md.h 2009-05-14 23:41:34.000000000 -0400 X@@ -58,10 +58,14 @@ X #include X #define CounterGet() (gethrtime()/1000) X #define Counter2Micros(counts) (counts) X+#elif defined(_ALLBSD_SOURCE) X+/* CounterGet() is implemented in java_md.c */ X+int64_t CounterGet(void); X+#define Counter2Micros(counts) (counts) X #else X #define CounterGet() (0) X #define Counter2Micros(counts) (1) X-#endif /* HAVE_GETHRTIME */ X+#endif /* HAVE_GETHRTIME || _ALLBSD_SOURCE */ X X /* X * Function prototypes. Xdiff -uNpr ../orig/jdk/src/solaris/classes/sun/awt/X11GraphicsEnvironment.java ./jdk/src/solaris/classes/sun/awt/X11GraphicsEnvironment.java X--- ../orig/jdk/src/solaris/classes/sun/awt/X11GraphicsEnvironment.java 2009-04-24 03:34:33.000000000 -0400 X+++ ./jdk/src/solaris/classes/sun/awt/X11GraphicsEnvironment.java 2009-05-14 23:41:34.000000000 -0400 X@@ -403,7 +403,7 @@ public class X11GraphicsEnvironment X if (fontID != null) { X fileName = (String)fontNameMap.get(fontID); X /* On Linux check for the Lucida Oblique fonts */ X- if (fileName == null && isLinux && !isOpenJDK()) { X+ if (fileName == null && isLinuxOrBSD && !isOpenJDK()) { X if (oblmap == null) { X initObliqueLucidaFontMap(); X } X@@ -639,7 +639,7 @@ public class X11GraphicsEnvironment X if (fontConfigDirs == null) { X return; X } X- if (isLinux) { X+ if (isLinuxOrBSD) { X fontConfigDirs.add(jreLibDirName+File.separator+"oblique-fonts"); X } X fontdirs = (String[])fontConfigDirs.toArray(new String[0]); Xdiff -uNpr ../orig/jdk/src/solaris/classes/sun/print/UnixPrintServiceLookup.java ./jdk/src/solaris/classes/sun/print/UnixPrintServiceLookup.java X--- ../orig/jdk/src/solaris/classes/sun/print/UnixPrintServiceLookup.java 2009-04-24 03:34:33.000000000 -0400 X+++ ./jdk/src/solaris/classes/sun/print/UnixPrintServiceLookup.java 2009-05-14 23:41:34.000000000 -0400 X@@ -119,7 +119,11 @@ public class UnixPrintServiceLookup exte X } X X static boolean isBSD() { X- return osname.equals("Linux"); X+ return (osname.equals("Linux") || X+ osname.equals("FreeBSD") || X+ osname.equals("Darwin") || X+ osname.equals("NetBSD") || X+ osname.equals("OpenBSD")); X } X X static final int UNINITIALIZED = -1; Xdiff -uNpr ../orig/jdk/src/solaris/classes/sun/tools/attach/BsdVirtualMachine.java ./jdk/src/solaris/classes/sun/tools/attach/BsdVirtualMachine.java X--- ../orig/jdk/src/solaris/classes/sun/tools/attach/BsdVirtualMachine.java 2009-05-14 23:40:17.000000000 -0400 X+++ ./jdk/src/solaris/classes/sun/tools/attach/BsdVirtualMachine.java 2009-05-14 23:41:34.000000000 -0400 X@@ -38,9 +38,6 @@ import java.util.Properties; X */ X public class BsdVirtualMachine extends HotSpotVirtualMachine { X X- // Indicates if this machine uses the old BsdThreads X- static boolean isBsdThreads; X- X // The patch to the socket file created by the target VM X String path; X X@@ -65,25 +62,10 @@ public class BsdVirtualMachine extends H X // Then we attempt to find the socket file again. X path = findSocketFile(pid); X if (path == null) { X- File f = createAttachFile(pid); X+ File f = new File("/tmp/.attach_pid" + pid); X+ createAttachFile(f.getPath()); X try { X- // On BsdThreads each thread is a process and we don't have the X- // pid of the VMThread which has SIGQUIT unblocked. To workaround X- // this we get the pid of the "manager thread" that is created X- // by the first call to pthread_create. This is parent of all X- // threads (except the initial thread). X- if (isBsdThreads) { X- int mpid; X- try { X- mpid = getBsdThreadsManager(pid); X- } catch (IOException x) { X- throw new AttachNotSupportedException(x.getMessage()); X- } X- assert(mpid >= 1); X- sendQuitToChildrenOf(mpid); X- } else { X- sendQuitTo(pid); X- } X+ sendQuitTo(pid); X X // give the target VM time to start the attach mechanism X int i = 0; X@@ -265,37 +247,14 @@ public class BsdVirtualMachine extends H X // First check for a .java_pid file in the working directory X // of the target process X String fn = ".java_pid" + pid; X- String path = "/proc/" + pid + "/cwd/" + fn; X+ String path = "/tmp/" + fn; X File f = new File(path); X if (!f.exists()) { X- // Not found, so try /tmp X- path = "/tmp/" + fn; X- f = new File(path); X- if (!f.exists()) { X- return null; // not found X- } X+ return null; // not found X } X return path; X } X X- // On Solaris/Bsd a simple handshake is used to start the attach mechanism X- // if not already started. The client creates a .attach_pid file in the X- // target VM's working directory (or /tmp), and the SIGQUIT handler checks X- // for the file. X- private File createAttachFile(int pid) throws IOException { X- String fn = ".attach_pid" + pid; X- String path = "/proc/" + pid + "/cwd/" + fn; X- File f = new File(path); X- try { X- f.createNewFile(); X- } catch (IOException x) { X- path = "/tmp/" + fn; X- f = new File(path); X- f.createNewFile(); X- } X- return f; X- } X- X /* X * Write/sends the given to the target VM. String is transmitted in X * UTF-8 encoding. X@@ -318,12 +277,6 @@ public class BsdVirtualMachine extends H X X //-- native methods X X- static native boolean isBsdThreads(); X- X- static native int getBsdThreadsManager(int pid) throws IOException; X- X- static native void sendQuitToChildrenOf(int pid) throws IOException; X- X static native void sendQuitTo(int pid) throws IOException; X X static native void checkPermissions(String path) throws IOException; X@@ -338,8 +291,9 @@ public class BsdVirtualMachine extends H X X static native void write(int fd, byte buf[], int off, int bufLen) throws IOException; X X+ static native void createAttachFile(String path); X+ X static { X System.loadLibrary("attach"); X- isBsdThreads = isBsdThreads(); X } X } Xdiff -uNpr ../orig/jdk/src/solaris/demo/jvmti/hprof/hprof_md.c ./jdk/src/solaris/demo/jvmti/hprof/hprof_md.c X--- ../orig/jdk/src/solaris/demo/jvmti/hprof/hprof_md.c 2009-04-24 03:34:33.000000000 -0400 X+++ ./jdk/src/solaris/demo/jvmti/hprof/hprof_md.c 2009-05-14 23:41:34.000000000 -0400 X@@ -33,7 +33,7 @@ X #include X #include X X-#ifndef LINUX X+#if !defined(LINUX) && !defined(_ALLBSD_SOURCE) X #include X #endif X X@@ -76,7 +76,7 @@ md_sleep(unsigned seconds) X void X md_init(void) X { X-#ifdef LINUX X+#if defined(LINUX) || defined(_ALLBSD_SOURCE) X /* No Hi-Res timer option? */ X #else X if ( gdata->micro_state_accounting ) { X@@ -238,7 +238,7 @@ md_timeofday(void) X jlong X md_get_microsecs(void) X { X-#ifdef LINUX X+#if defined(LINUX) || defined(_ALLBSD_SOURCE) X return (jlong)(md_timeofday() * (jlong)1000); /* Milli to micro */ X #else X return (jlong)(gethrtime()/(hrtime_t)1000); /* Nano seconds to micro seconds */ X@@ -256,7 +256,7 @@ md_get_timemillis(void) X jlong X md_get_thread_cpu_timemillis(void) X { X-#ifdef LINUX X+#if defined(LINUX) || defined(_ALLBSD_SOURCE) X return md_timeofday(); X #else X return (jlong)(gethrvtime()/1000); /* Nano seconds to milli seconds */ X@@ -271,7 +271,7 @@ md_get_prelude_path(char *path, int path X Dl_info dlinfo; X X libdir[0] = 0; X-#ifdef LINUX X+#if defined(LINUX) || defined(_ALLBSD_SOURCE) X addr = (void*)&Agent_OnLoad; X #else X /* Just using &Agent_OnLoad will get the first external symbol with Xdiff -uNpr ../orig/jdk/src/solaris/hpi/include/interrupt.h ./jdk/src/solaris/hpi/include/interrupt.h X--- ../orig/jdk/src/solaris/hpi/include/interrupt.h 2009-04-24 03:34:33.000000000 -0400 X+++ ./jdk/src/solaris/hpi/include/interrupt.h 2009-05-14 23:41:34.000000000 -0400 X@@ -75,7 +75,7 @@ void intrDispatch(int interrupt, void *s X * N_INTERRUPTS - The number of interrupt channels. These X * are numbered from 0 to (N_INTERRUPTS - 1). X */ X-#ifdef __linux__ X+#if defined(__linux__) || defined(__FreeBSD__) X #define N_INTERRUPTS NSIG /* 0 to NSIG - 1*/ X #else X #define N_INTERRUPTS 32 /* 0 to 31 */ X@@ -111,6 +111,10 @@ void intrInitMD(void); X #error signal.h has not been included? X #endif X X+#if defined(__FreeBSD__) && !defined(SA_SIGINFO) X+#error signal.h has not been included? X+#endif X+ X #ifdef SA_SIGINFO X /* Thread implementation dependent interrupt dispatcher. */ X void intrDispatchMD(int sig, siginfo_t *info, void *uc); Xdiff -uNpr ../orig/jdk/src/solaris/hpi/include/largefile.h ./jdk/src/solaris/hpi/include/largefile.h X--- ../orig/jdk/src/solaris/hpi/include/largefile.h 2009-04-24 03:34:33.000000000 -0400 X+++ ./jdk/src/solaris/hpi/include/largefile.h 2009-05-14 23:41:34.000000000 -0400 X@@ -34,6 +34,10 @@ X #include "largefile_linux.h" X #endif X X+#ifdef _ALLBSD_SOURCE X+#include "largefile_bsd.h" X+#endif X+ X /* X * Prototypes for wrappers that we define. These wrapper functions X * are low-level I/O routines that will use 64 bit versions if Xdiff -uNpr ../orig/jdk/src/solaris/hpi/include/largefile_bsd.h ./jdk/src/solaris/hpi/include/largefile_bsd.h X--- ../orig/jdk/src/solaris/hpi/include/largefile_bsd.h 2009-05-14 23:40:17.000000000 -0400 X+++ ./jdk/src/solaris/hpi/include/largefile_bsd.h 2009-05-14 23:41:34.000000000 -0400 X@@ -23,14 +23,28 @@ X * have any questions. X */ X X-#ifndef _JAVASOFT_LINUX_LARGEFILE_SUPPORT_H_ X-#define _JAVASOFT_LINUX_LARGEFILE_SUPPORT_H_ X- X-/* X- * For building on glibc-2.0 we need to define stat64 here. X- */ X+#ifndef _JAVASOFT_BSD_LARGEFILE_SUPPORT_H_ X+#define _JAVASOFT_BSD_LARGEFILE_SUPPORT_H_ X X #include X #include X X-#endif /* _JAVASOFT_LINUX_LARGEFILE_SUPPORT_H_ */ X+/* define compatibility macros */ X+#define off64_t off_t X+#define stat64 stat X+ X+#define F_SETLK64 F_SETLK X+#define F_SETLKW64 F_SETLKW X+ X+#define lseek64 lseek X+#define ftruncate64 ftruncate X+#define open64 open X+#define fstat64 fstat X+#define flock64 flock X+#define mmap64 mmap X+#define fdatasync fsync X+ X+#define pread64 pread X+#define pwrite64 pwrite X+ X+#endif /* _JAVASOFT_BSD_LARGEFILE_SUPPORT_H_ */ Xdiff -uNpr ../orig/jdk/src/solaris/hpi/native_threads/include/threads_md.h ./jdk/src/solaris/hpi/native_threads/include/threads_md.h X--- ../orig/jdk/src/solaris/hpi/native_threads/include/threads_md.h 2009-04-24 03:34:33.000000000 -0400 X+++ ./jdk/src/solaris/hpi/native_threads/include/threads_md.h 2009-05-14 23:41:34.000000000 -0400 X@@ -36,6 +36,8 @@ X #define N_TRACED_REGS 12 X #elif i386 X #define N_TRACED_REGS 7 X+#elif i586 /* BSDNOTE: just in case */ X+#define N_TRACED_REGS 7 X #elif amd64 X #define N_TRACED_REGS 15 X #elif ppc X@@ -51,10 +53,12 @@ X #define N_TRACED_REGS 32 X #endif X X+#if !defined(_ALLBSD_SOURCE) X /* Turn on if we want all java threads to be bound tolwps */ X /* #define BOUND_THREADS */ X /* Use /proc soln to stop lwps in place of siglwp soln */ X #define PROCLWP X+#endif X X /* X * Thread C stack overflow check X@@ -132,7 +136,7 @@ struct sys_thread { X lwpid_t lwpid; X #endif X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X void *sp; X #else X unsigned long sp; /* sp at time of last (native) thread switch */ X@@ -186,12 +190,14 @@ struct sys_thread { X X #define SYS_THREAD_NULL ((sys_thread_t *) 0) X X+#if !defined(_ALLBSD_SOURCE) X /* X * following macro copied from sys/signal.h since inside #ifdef _KERNEL there. X */ X #ifndef sigmask X #define sigmask(n) ((unsigned int)1 << (((n) - 1) & (32 - 1))) X #endif X+#endif X X #ifdef __linux__ X extern thread_key_t intrJmpbufkey; Xdiff -uNpr ../orig/jdk/src/solaris/hpi/native_threads/src/condvar_md.c ./jdk/src/solaris/hpi/native_threads/src/condvar_md.c X--- ../orig/jdk/src/solaris/hpi/native_threads/src/condvar_md.c 2009-04-24 03:34:33.000000000 -0400 X+++ ./jdk/src/solaris/hpi/native_threads/src/condvar_md.c 2009-05-14 23:41:34.000000000 -0400 X@@ -58,7 +58,7 @@ condvarDestroy(condvar_t *condvar) X { X int err; X X-#ifdef __linux__ X+#ifdef USE_PTHREADS X err = pthread_cond_destroy((cond_t *) &condvar->cond); X #else X err = cond_destroy((cond_t *) condvar); Xdiff -uNpr ../orig/jdk/src/solaris/hpi/native_threads/src/monitor_md.c ./jdk/src/solaris/hpi/native_threads/src/monitor_md.c X--- ../orig/jdk/src/solaris/hpi/native_threads/src/monitor_md.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/hpi/native_threads/src/monitor_md.c 2009-05-14 23:41:34.000000000 -0400 X@@ -147,7 +147,7 @@ sysMonitorEnter(sys_thread_t *self, sys_ X mid->monitor_owner = self; X mid->entry_count = 1; X return SYS_OK; X- } else if (err == EBUSY) { /* it's already locked */ X+ } else if (err == EBUSY || err == EDEADLK) { /* it's already locked */ X if (mid->monitor_owner == self) { X mid->entry_count++; X return SYS_OK; Xdiff -uNpr ../orig/jdk/src/solaris/hpi/native_threads/src/sys_api_td.c ./jdk/src/solaris/hpi/native_threads/src/sys_api_td.c X--- ../orig/jdk/src/solaris/hpi/native_threads/src/sys_api_td.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/hpi/native_threads/src/sys_api_td.c 2009-05-14 23:41:34.000000000 -0400 X@@ -39,6 +39,10 @@ X #include X #endif X X+#ifdef __OpenBSD__ X+#include X+#endif X+ X #include X #include X #include X@@ -57,6 +61,10 @@ X #error If there was no policy change, this could be a makefile error. X #endif X X+#if defined(_ALLBSD_SOURCE) && defined(NO_INTERRUPTIBLE_IO) X+#error If there was no policy change, this could be a makefile error. X+#endif X+ X #ifdef NO_INTERRUPTIBLE_IO X #undef CLOSEIO X #else Xdiff -uNpr ../orig/jdk/src/solaris/hpi/native_threads/src/threads_bsd.c ./jdk/src/solaris/hpi/native_threads/src/threads_bsd.c X--- ../orig/jdk/src/solaris/hpi/native_threads/src/threads_bsd.c 2009-05-14 23:40:17.000000000 -0400 X+++ ./jdk/src/solaris/hpi/native_threads/src/threads_bsd.c 2009-05-14 23:41:34.000000000 -0400 X@@ -23,79 +23,44 @@ X * have any questions. X */ X X-/* X- * Implementation of HPI that can not be expressed with POSIX threads. X- * Note that even if you are building with USE_PTHREADS, we have to X- * explicitly undef it here because pthread.h and thread.h can not be X- * included in the same file, and this file needs only thread.h. X- */ X-#undef USE_PTHREADS X+#ifdef __APPLE__ X+ X+/* We need the mach API, which must be be included before any other system includes. X+ * Additionally, java and mach both define thread_state_t, so temporarily redefine it. */ X+#define thread_state_t mach_thread_state_t X+#include X+#undef thread_state_t X+ X+#endif X X #include "hpi_impl.h" X #include "monitor_md.h" X #include "threads_md.h" X #include "np.h" X X-#include X-#include X+#include X+#include X+ X+#include X+#if defined(__FreeBSD__) || defined(__OpenBSD__) X+#include X+#endif X+#ifdef __NetBSD__ X+#include X+#define pthread_attr_get_np(a, b) 0 X+#define pthread_suspend_all_np() 0 X+#define pthread_resume_all_np() 0 X+#endif X+ X+#include X+#include X #include X #include X #include X-#include X #include X #include X-#include X #include X X-#include X-extern int syscall(int, ...); X- X- X-/* X- * Forward declarations. X- */ X-static int procfd; X-static void stop_lwps(); X-static void clear_onproc_flags(); X-static void restart_lwps(); X-static void MakeProcName(register char *procname, register pid_t pid); X-static void GC_msec_sleep(int n); X- X- X-/* X- * Make sure that we link against a verion of libthread that has at least X- * the bug fixes and the interface for getting the stack from threads that X- * aren't on LWPs. Otherwise we should exit with some informative message. X- */ X-extern ulong_t __gettsp(thread_t); X- X-static const char * gettspMessage = X-"You must install a Bsd patch to run the native threads version of the\n" X-"Java runtime. The green threads version will work without this patch.\n" X-"Please check the native threads release notes for more information.\n" X-"\n" X-"If you are embedding the VM in a native application, please make sure that\n" X-"the native application is linked with libthread.so (-lthread).\n" X-"\n" X-"Exiting.\n"; X- X-static void X-checkForCorrectLibthread() X-{ X- if (&__gettsp == 0) { X- fprintf(stderr, gettspMessage); X- exit(1); X- } X-} X-#ifdef __GNUC__ X-static void checkForCorrectLibthread() __attribute__((constructor)); X-#else X-#pragma init(checkForCorrectLibthread) X-#endif X- X-#pragma weak __gettsp X- X- X /* X * Suspend said thread. Used to implement java.lang.Thread.suspend(), X * which is deprecated. X@@ -103,10 +68,16 @@ static void checkForCorrectLibthread() _ X int X np_suspend(sys_thread_t *tid) X { X- return thr_suspend(tid->sys_thread); X+#ifdef __APPLE__ X+ if (thread_suspend(pthread_mach_thread_np(tid->sys_thread)) == KERN_SUCCESS) X+ return SYS_OK; X+ else X+ return SYS_ERR; X+#else X+ return pthread_suspend_np(tid->sys_thread); X+#endif X } X X- X /* X * Resume a suspended thread. Used to implement java.lang.Thread.resume(), X * which is deprecated. X@@ -114,7 +85,14 @@ np_suspend(sys_thread_t *tid) X int X np_continue(sys_thread_t *tid) X { X- return thr_continue(tid->sys_thread); X+#ifdef __APPLE__ X+ if (thread_resume(pthread_mach_thread_np(tid->sys_thread)) == KERN_SUCCESS) X+ return SYS_OK; X+ else X+ return SYS_ERR; X+#else X+ return pthread_resume_np(tid->sys_thread); X+#endif X } X X /* X@@ -127,26 +105,74 @@ void np_initialize_thread(sys_thread_t * X X X /* X+ * Internal helper function to get stack information about specified thread. X+ */ X+#ifdef __APPLE__ X+static int X+get_stackinfo(pthread_t tid, void **addr, long *sizep) X+{ X+ void *stacktop = pthread_get_stackaddr_np(tid); X+ *sizep = pthread_get_stacksize_np(tid); X+ *addr = stacktop - *sizep; X+ X+ return (SYS_OK); X+} X+#elif defined(__OpenBSD__) X+static int X+get_stackinfo(pthread_t tid, void **addr, long *sizep) X+{ X+ stack_t ss; X+ X+ if (pthread_stackseg_np(tid, &ss) == 0) { X+ *addr = (void *)(ss.ss_sp) - ss.ss_size; X+ *sizep = (long)(ss.ss_size); X+ return SYS_OK; X+ } else { X+ return SYS_ERR; /* pthreads_stackseg_np failed. */ X+ } X+} X+#else X+static int X+get_stackinfo(pthread_t tid, pthread_attr_t attr, void **addr, long *sizep) X+{ X+ size_t s; X+ void *p; X+ int ret = SYS_ERR; X+ X+ if (pthread_attr_get_np(tid, &attr) != 0) X+ goto err; X+ if (pthread_attr_getstackaddr(&attr, &p) != 0) X+ goto err; X+ if (pthread_attr_getstacksize(&attr, &s) != 0) X+ goto err; X+ *addr = p; X+ *sizep = s; X+ ret = SYS_OK; X+err: X+ X+ return (ret); X+} X+#endif X+ X+/* X * Get the stack start address, and max stack size for the current thread. X */ X int X np_stackinfo(void **addr, long *size) X { X- stack_t stkseg; X+#if defined(__OpenBSD__) || defined(__APPLE__) X+ return(get_stackinfo(pthread_self(), addr, size)); X+#else X+ pthread_attr_t attr; X+ int ret = SYS_ERR; X X- if (thr_stksegment(&stkseg) == 0) { X- *addr = (void *)(stkseg.ss_sp); X- if (thr_main()) { X- struct rlimit r; X- getrlimit(RLIMIT_STACK, &r); X- *size = (long)r.rlim_cur; X- } else { X- *size = (long)(stkseg.ss_size); X- } X- return SYS_OK; X- } else { X- return SYS_ERR; /* thr_stksegment failed. */ X+ if (pthread_attr_init(&attr) == 0) { X+ ret = get_stackinfo(pthread_self(), attr, addr, size); X+ pthread_attr_destroy(&attr); X } X+ X+ return (ret); X+#endif X } X X /* X@@ -155,309 +181,194 @@ np_stackinfo(void **addr, long *size) X void X np_profiler_init(sys_thread_t *tid) X { X- tid->lwp_id = _lwp_self(); X } X X int X np_profiler_suspend(sys_thread_t *tid) X { X- return _lwp_suspend(tid->lwp_id); X+ return np_suspend(tid); X } X X int X np_profiler_continue(sys_thread_t *tid) X { X- return _lwp_continue(tid->lwp_id); X+ return np_continue(tid); X } X X bool_t X np_profiler_thread_is_running(sys_thread_t *tid) X { X- unsigned long sum = 0; X- int i; X- prstatus_t lwpstatus; X- int lwpfd; X- int res; X- X- lwpfd = syscall(SYS_ioctl, procfd, PIOCOPENLWP, &(tid->lwp_id)); X- sysAssert(lwpfd >= 0); X- X- retry: X- res = syscall(SYS_ioctl, lwpfd, PIOCSTATUS, &lwpstatus); X- sysAssert(res >= 0); X- X- if (!(lwpstatus.pr_flags & PR_STOPPED)) { X- GC_msec_sleep(1); X- goto retry; X- } X- X- close(lwpfd); X- X-#if defined(sparc) X- sum += lwpstatus.pr_reg[R_SP]; X- sum += lwpstatus.pr_reg[R_PC]; X- X- sum += lwpstatus.pr_reg[R_G1]; X- sum += lwpstatus.pr_reg[R_G2]; X- sum += lwpstatus.pr_reg[R_G3]; X- sum += lwpstatus.pr_reg[R_G4]; X- X- sum += lwpstatus.pr_reg[R_O0]; X- sum += lwpstatus.pr_reg[R_O1]; X- sum += lwpstatus.pr_reg[R_O2]; X- sum += lwpstatus.pr_reg[R_O3]; X- sum += lwpstatus.pr_reg[R_O4]; X- sum += lwpstatus.pr_reg[R_O5]; X- X- sum += lwpstatus.pr_reg[R_I0]; X- sum += lwpstatus.pr_reg[R_I1]; X- sum += lwpstatus.pr_reg[R_I2]; X- sum += lwpstatus.pr_reg[R_I3]; X- sum += lwpstatus.pr_reg[R_I4]; X- sum += lwpstatus.pr_reg[R_I5]; X- sum += lwpstatus.pr_reg[R_I6]; X- sum += lwpstatus.pr_reg[R_I7]; X- X- sum += lwpstatus.pr_reg[R_L0]; X- sum += lwpstatus.pr_reg[R_L1]; X- sum += lwpstatus.pr_reg[R_L2]; X- sum += lwpstatus.pr_reg[R_L3]; X- sum += lwpstatus.pr_reg[R_L4]; X- sum += lwpstatus.pr_reg[R_L5]; X- sum += lwpstatus.pr_reg[R_L6]; X- sum += lwpstatus.pr_reg[R_L7]; X-#elif defined(amd64) X- sum += lwpstatus.pr_reg[REG_RIP]; X- sum += lwpstatus.pr_reg[REG_RSP]; X- X- sum += lwpstatus.pr_reg[REG_RAX]; X- sum += lwpstatus.pr_reg[REG_RCX]; X- sum += lwpstatus.pr_reg[REG_RDX]; X- sum += lwpstatus.pr_reg[REG_RBX]; X- sum += lwpstatus.pr_reg[REG_RBP]; X- sum += lwpstatus.pr_reg[REG_RSI]; X- sum += lwpstatus.pr_reg[REG_RDI]; X- X- sum += lwpstatus.pr_reg[REG_R8]; X- sum += lwpstatus.pr_reg[REG_R9]; X- sum += lwpstatus.pr_reg[REG_R10]; X- sum += lwpstatus.pr_reg[REG_R11]; X- sum += lwpstatus.pr_reg[REG_R12]; X- sum += lwpstatus.pr_reg[REG_R13]; X- sum += lwpstatus.pr_reg[REG_R14]; X- sum += lwpstatus.pr_reg[REG_R15]; X-#elif defined(i386) X- sum += lwpstatus.pr_reg[EIP]; X- sum += lwpstatus.pr_reg[UESP]; X- X- sum += lwpstatus.pr_reg[EAX]; X- sum += lwpstatus.pr_reg[ECX]; X- sum += lwpstatus.pr_reg[EDX]; X- sum += lwpstatus.pr_reg[EBX]; X- sum += lwpstatus.pr_reg[EBP]; X- sum += lwpstatus.pr_reg[ESI]; X- sum += lwpstatus.pr_reg[EDI]; X-#endif X- X- if (tid->last_sum == sum) { X- return FALSE; X- } X- tid->last_sum = sum; X- X return TRUE; X } X X X-/* X- * If building for Bsd native threads, open up the /proc file X- * descriptor to be used when doing GC. The open is done at JVM start-up so X- * as to reserve this fd, to prevent GC stall due to exhausted fds. This fd X- * will never be closed, and will alwyas be present. X- */ X int X np_initialize() X { X- char procname[32]; X- MakeProcName(procname, getpid()); X- if ((procfd = open(procname, O_RDONLY, 0)) < 0) { X- VM_CALL(jio_fprintf)(stderr, "Cannot open %s for GC", procname); X- return SYS_ERR; X- } X return SYS_OK; X } X X-static void X-MakeProcName(register char *procname, register pid_t pid) X-{ X- register char * s; X+/* prototypes */ X X- (void) strcpy(procname, "/proc/00000"); X- s = procname + strlen(procname); X- while (pid) { X- *--s = pid%10 + '0'; X- pid /= 10; X- } X-} X+static void record_thread_regs(); X X /* X * Suspend all other threads, and record their contexts (register X * set or stack pointer) into the sys_thread structure, so that a X * garbage collect can be run. X */ X+#ifdef __APPLE__ X int X np_single(void) X-{ X- int ret; X+{ X+ sysAssert(SYS_QUEUE_LOCKED(sysThreadSelf())); X X+ /* Iterate over all the threads in the task, suspending each one. X+ * We have to loop until no new threads appear, and all are suspended */ X+ mach_port_t self = pthread_mach_thread_np(pthread_self()); X+ X+ X+ mach_msg_type_number_t cur_count, prev_count, i, j, k; X+ thread_act_array_t cur_list, prev_list; X+ bool_t changes; X+ X+ changes = TRUE; X+ cur_count = prev_count = 0; X+ cur_list = prev_list = NULL; X+ do { X+ /* Get a list of all threads */ X+ if (task_threads(self, &cur_list, &cur_count) != KERN_SUCCESS) X+ return SYS_ERR; X+ X+ /* For each thread, check if it was previously suspended. If it X+ * was not, suspend it now, and set the changes flag to 'true' */ X+ changes = FALSE; X+ for (i = 0; i < cur_count; i++) { X+ mach_msg_type_number_t j; X+ bool_t found = FALSE; X+ X+ /* Check the previous thread list */ X+ for (j = 0; j < prev_count; j++) { X+ if (prev_list[j] == cur_list[i]) { X+ found = TRUE; X+ break; X+ } X+ } X+ X+ /* If the thread wasn't previously suspended, suspend it now and set the change flag */ X+ if (found) { X+ /* Don't suspend ourselves! */ X+ if (cur_list[i] != self) X+ thread_suspend(cur_list[i]); X+ changes = TRUE; X+ } X+ } X+ X+ /* Deallocate the previous list, if necessary */ X+ for (k = 0; k < prev_count; k++) X+ mach_port_deallocate(self, prev_list[k]); X+ X+ vm_deallocate(self, (vm_address_t)prev_list, sizeof(thread_t) * prev_count); X+ X+ /* Set up the 'new' list for the next loop iteration */ X+ prev_list = cur_list; X+ prev_count = cur_count; X+ } while (changes); X+ X+ /* Deallocate the last-allocated list. */ X+ for (i = 0; i < prev_count; i++) X+ mach_port_deallocate(self, prev_list[i]); X+ X+ vm_deallocate(self, (vm_address_t)prev_list, sizeof(thread_t) * prev_count); X+ X+ /* Record registers and return */ X+ record_thread_regs(); X+ return SYS_OK; X+} X+#else X+int X+np_single(void) X+{ X sysAssert(SYS_QUEUE_LOCKED(sysThreadSelf())); X X- stop_lwps(); X- ret = SYS_OK; X- return ret; X+ pthread_suspend_all_np(); X+ record_thread_regs(); X+ return SYS_OK; X } X+#endif X X /* X- * Continue threads suspended earlier. But clear their context X- * recorded in sys_thread structure first. X+ * Continue threads suspended earlier. X */ X+#ifdef __APPLE__ X void X np_multi(void) X { X sysAssert(SYS_QUEUE_LOCKED(sysThreadSelf())); X- clear_onproc_flags(); X- restart_lwps(); X-} X X-/* /proc solution to stop and restrt lwps */ X-/* make sure gc is run as a bound thread */ X-/* make sure signals are turned off for gc thread */ X-/* what about new lwps getting created in the meantime? */ X- X-#define MAX_LWPS 1024 X- X-static prstatus_t Mystatus; X-static id_t lwpid_list_buf[MAX_LWPS]; X-static id_t oldlwpid_list_buf[MAX_LWPS]; X-static sys_thread_t *onproct_list_buf[MAX_LWPS]; X-static id_t *lwpid_list = lwpid_list_buf; X-static id_t *oldlwpid_list = oldlwpid_list_buf; X-static sys_thread_t **onproct_list = onproct_list_buf; X-static int lwpid_list_len; X-static int oldlwpid_list_len; X-static int onproct_ix = 0; X-static int gcprio; X-static sigset_t gcmask; X+ mach_msg_type_number_t thr_count, i; X+ thread_act_array_t thr_list; X+ mach_port_t self; X X-static void X-clear_onproc_flags() X-{ X- int i; X+ self = pthread_mach_thread_np(pthread_self()); X X- for (i = 0; i < onproct_ix; i++) { X- ((sys_thread_t *)(onproct_list[i]))->onproc = FALSE; X- } X- onproct_ix = 0; X-} X+ /* Get a list of all threads. This has to succeed! */ X+ if (task_threads(self, &thr_list, &thr_count) != KERN_SUCCESS) X+ abort(); X X+ /* Iterate over all the threads in the task, unsuspend, and deallocate */ X+ for (i = 0; i < thr_count; i++) { X+ // XXXDARWIN: Assumes that the current thread was the thread used X+ // to call np_single. Is that true? X X-/* Sleep for n milliseconds, n < 1000 */ X-static void X-GC_msec_sleep(int n) X-{ X- struct timespec ts; X+ if (thr_list[i] != self) X+ thread_resume(thr_list[i]); X X- ts.tv_sec = 0; X- ts.tv_nsec = 1000000*n; X- if (syscall(SYS_nanosleep, &ts, 0) < 0) { X- VM_CALL(jio_fprintf)(stderr, "%d\n", errno); X+ mach_port_deallocate(self, thr_list[i]); X } X+ X+ vm_deallocate(self, (vm_address_t) thr_list, sizeof(thread_t) * thr_count); X+} X+#else X+void X+np_multi(void) X+{ X+ sysAssert(SYS_QUEUE_LOCKED(sysThreadSelf())); X+ pthread_resume_all_np(); X } X+#endif X X /* X+ * BSDNOTE: Looking to linux implementation -- the only important register X+ * to set up is tid->sp (stack pointer) now. But it may change when X+ * FreeBSD and JVM will switch to KSEs. In this case we'll also need to X+ * care about ucontext I think. X+ * X+ * --phantom X+ * X+ * XXXBSD: There's a problem with this implemenation. Currently it sets X+ * the tid->sp to the bottom of the thread stack and not the current stack X+ * pointer of the suspended thread. Both solaris and linux use the current X+ * thread stack pointer. -- kurt X+ * X * Assumes stacks grow down from high to low memory. True on sparc and Intel. X */ X-#define VALID_SP(sp, bottom, top) \ X- (((uintptr_t)(sp)) < ((uintptr_t)(bottom)) && ((uintptr_t)(sp)) > ((uintptr_t)(top))) X- X-static void X-record_lwp_regs(prstatus_t lwpstatus) X-{ X- sys_thread_t *tid; X- int i; X-#if defined(sparc) X- register uintptr_t sp = lwpstatus.pr_reg[R_SP]; X-#elif defined(amd64) X- register uintptr_t sp = lwpstatus.pr_reg[REG_RSP]; X-#elif defined(i386) X- register uintptr_t sp = lwpstatus.pr_reg[UESP]; X-#endif X- X- tid = ThreadQueue; X- for (i = 0; i < ActiveThreadCount && tid != 0; i++) { X- if (VALID_SP(sp, tid->stack_bottom, tid->stack_top)) { X- long *regs = tid->regs; X- tid->sp = sp; X- /* X- * The code below relies on N_TRACED_REGS being set X- * correctly for each platform. If you change the X- * number of registers being watched, you should update X- * the define for N_TRACED_REGS X- */ X-#if defined(sparc) X- regs[0] = lwpstatus.pr_reg[R_G1]; X- regs[1] = lwpstatus.pr_reg[R_G2]; X- regs[2] = lwpstatus.pr_reg[R_G3]; X- regs[3] = lwpstatus.pr_reg[R_G4]; X- X- regs[4] = lwpstatus.pr_reg[R_O0]; X- regs[5] = lwpstatus.pr_reg[R_O1]; X- regs[6] = lwpstatus.pr_reg[R_O2]; X- regs[7] = lwpstatus.pr_reg[R_O3]; X- regs[8] = lwpstatus.pr_reg[R_O4]; X- regs[9] = lwpstatus.pr_reg[R_O5]; X- regs[10] = lwpstatus.pr_reg[R_O6]; X- regs[11] = lwpstatus.pr_reg[R_O7]; X-#elif defined(amd64) X- regs[0] = lwpstatus.pr_reg[REG_RAX]; X- regs[1] = lwpstatus.pr_reg[REG_RCX]; X- regs[2] = lwpstatus.pr_reg[REG_RDX]; X- regs[3] = lwpstatus.pr_reg[REG_RBX]; X- regs[4] = lwpstatus.pr_reg[REG_RBP]; X- regs[5] = lwpstatus.pr_reg[REG_RSI]; X- regs[6] = lwpstatus.pr_reg[REG_RDI]; X- regs[7] = lwpstatus.pr_reg[REG_R8]; X- regs[8] = lwpstatus.pr_reg[REG_R9]; X- regs[9] = lwpstatus.pr_reg[REG_R10]; X- regs[10]= lwpstatus.pr_reg[REG_R11]; X- regs[11]= lwpstatus.pr_reg[REG_R12]; X- regs[12]= lwpstatus.pr_reg[REG_R13]; X- regs[13]= lwpstatus.pr_reg[REG_R14]; X- regs[14]= lwpstatus.pr_reg[REG_R15]; X-#elif defined(i386) X- regs[0] = lwpstatus.pr_reg[EAX]; X- regs[1] = lwpstatus.pr_reg[ECX]; X- regs[2] = lwpstatus.pr_reg[EDX]; X- regs[3] = lwpstatus.pr_reg[EBX]; X- regs[4] = lwpstatus.pr_reg[EBP]; X- regs[5] = lwpstatus.pr_reg[ESI]; X- regs[6] = lwpstatus.pr_reg[EDI]; X-#endif X- X- if (tid->onproc != TRUE) { X- tid->onproc = TRUE; X- onproct_list[onproct_ix++] = tid; X- } X- break; X- } X- tid = tid->next; X- } X-} X X static void X record_thread_regs() X { X+ void *addr; X+ long sz; X+ X sys_thread_t *tid; X int i; X+ int sp; X+ X+#ifndef __OpenBSD__ X+ pthread_attr_t attr; X+ int attr_inited; X+ attr_inited = pthread_attr_init(&attr) == 0; X+#endif X X tid = ThreadQueue; X for (i = 0; i < ActiveThreadCount && tid != 0; i++) { X@@ -466,7 +377,14 @@ record_thread_regs() X X if (tid->sys_thread != 0) { X /* if thread has already been initialized */ X- tid->sp = __gettsp(tid->sys_thread); X+#if defined(__OpenBSD__) || defined(__APPLE__) X+ if (get_stackinfo(tid->sys_thread, &addr, &sz) == SYS_OK) X+#else X+ if (get_stackinfo(tid->sys_thread, attr, &addr, &sz) == SYS_OK) X+#endif X+ tid->sp = addr; X+ else X+ tid->sp = 0; X } else { X /* X * thread is still in the process of being initalized. X@@ -475,192 +393,11 @@ record_thread_regs() X */ X tid->sp = 0; X } X- X- /* X- * Clear out the registers since they are no longer live X- * and we don't want to garbage collector to think they are. X- */ X- X- for (i = 0; i < N_TRACED_REGS; i++) X- tid->regs[i] = 0; X } X tid = tid->next; X } X-} X- X-static void X-wait_stopped_lwps(void) X-{ X- int i, lwpfd; X- prstatus_t lwpstatus; X- X- for (i = 0; i < (int) Mystatus.pr_nlwp; i++) { X- /* if its not me */ X- if (lwpid_list[i] != _lwp_self()) { X- X- /* open the lwp and check the status */ X- if ((lwpfd = syscall(SYS_ioctl, procfd, PIOCOPENLWP, X- &lwpid_list[i])) < 0) { X-#ifdef MY_DEBUG X- VM_CALL(jio_fprintf)(stderr, "lwpid %d was not found in process\n", X- lwpid_list[i]); X+#ifndef __OpenBSD__ X+ if (attr_inited) X+ pthread_attr_destroy(&attr); X #endif X- continue; X- } X- memset(&lwpstatus, 0, sizeof(lwpstatus)); X- while (1) { X- if (syscall(SYS_ioctl,lwpfd, PIOCSTATUS, &lwpstatus)<0) { X- sysAssert(0); X-#ifdef MY_DEBUG X- VM_CALL(jio_fprintf)(stderr, "PIOCSTATUS failed for lwp %d", X- lwpid_list[i]); X-#endif X- break; X- } X- if (lwpstatus.pr_flags & PR_STOPPED) { X- record_lwp_regs(lwpstatus); X- break; X- } X- GC_msec_sleep(1); X- } X- X- close (lwpfd); X- } /* end of if-me */ X- } /* end of for */ X-} X- X-static void X-suspend_lwps() X-{ X- int i; X- /* pioopen all the lwps and stop them - except the one I am running on */ X- for (i = 0; i < (int) Mystatus.pr_nlwp; i++) { X- X- /* open and stop the lwp if its not me */ X- if (lwpid_list[i] != _lwp_self()) { X- X- /* PIOCSTOP doesn't work without a writable */ X- /* descriptor. And that makes the process */ X- /* undebuggable. */ X- if (_lwp_suspend(lwpid_list[i]) < 0) { X- /* Could happen if the lwp exited */ X- lwpid_list[i] = _lwp_self(); X- continue; X- } X- } X- } X-} X- X-static void X-print_lwps() X-{ X-#ifdef MY_DEBUG X- /* print all the lwps in the process */ X- VM_CALL(jio_fprintf)(stdout, "lwpids "); X- for (i = 0; i < (int) Mystatus.pr_nlwp; i++) { X- if (i == 0) { X- VM_CALL(jio_fprintf)(stdout, "%d", lwpid_list[0]); X- } else if (i != Mystatus.pr_nlwp - 1) { X- VM_CALL(jio_fprintf)(stdout, ", %d", lwpid_list[i]); X- } else { X- VM_CALL(jio_fprintf)(stdout, " and %d", lwpid_list[i]); X- } X- } X-#endif X-} X- X-/* routine to iteratively stop all lwps */ X-static void X-stop_lwps() X-{ X- int i; X- sigset_t set; X- boolean_t changed; X- X- /* mask all signals */ X- (void) sigfillset(&set); X- syscall(SYS_sigprocmask, SIG_SETMASK, &set, &gcmask); X- X- /* run at highest prio so I cannot be preempted */ X- thr_getprio(thr_self(), &gcprio); X- thr_setprio(thr_self(), 2147483647); /* #define INT_MAX 2147483647 */ X- X- oldlwpid_list_len = 0; X- X- while(1) { X- changed = B_FALSE; X- X- /* Get the # of lwps in the process */ X- memset(&Mystatus, 0, sizeof(Mystatus)); X- syscall(SYS_ioctl, procfd, PIOCSTATUS, &Mystatus); X- X-#ifdef MY_DEBUG X- VM_CALL(jio_fprintf)(stdout, "Number of lwps in the process is %d\n", X- Mystatus.pr_nlwp); X- VM_CALL(jio_fprintf)(stdout, "My lwp id is %d\n", _lwp_self()); X-#endif X- lwpid_list_len = Mystatus.pr_nlwp; X- if (syscall(SYS_ioctl, procfd, PIOCLWPIDS, lwpid_list) == -1) { X-#ifdef MY_DEBUG X- VM_CALL(jio_fprintf)(stderr, "Can't read proc's lwpid list"); X-#endif X- return; X- } X- X- print_lwps(); X- X- /* suspend all the lwps */ X- suspend_lwps(); X- X- /* make sure all the lwps have actually stopped */ X- wait_stopped_lwps(); X- X- /* make sure the list has not changed while you were not looking X- else start all over again */ X- if (lwpid_list_len != oldlwpid_list_len) changed = B_TRUE; X- else { X- for (i=0; isys_thread, &attr, _start, (void *)tid); X+ pthread_attr_destroy(&attr); X sysAssert(err == 0); X if (err == 0) { X err = sem_wait(&tid->sem_suspended); X@@ -1049,7 +1056,18 @@ sysGetSysInfo() X * we want the number of processors configured not the number online X * since processors may be turned on and off dynamically. X */ X+#if defined(_SC_NPROCESSORS_CONF) X int cpus = (int) sysconf(_SC_NPROCESSORS_CONF); X+#elif defined(CTL_HW) && defined(HW_NCPU) X+ int cpus; X+ int name[2] = { CTL_HW, HW_NCPU }; X+ size_t cpus_len = sizeof(cpus); X+ X+ if (sysctl(name, 2, &cpus, &cpus_len, NULL, 0) == -1) X+ cpus = 1; X+#else X+ int cpus = 1; X+#endif X X info.isMP = (cpus < 0) ? 1 : (cpus > 1); X info.name = "native threads"; Xdiff -uNpr ../orig/jdk/src/solaris/hpi/src/linker_md.c ./jdk/src/solaris/hpi/src/linker_md.c X--- ../orig/jdk/src/solaris/hpi/src/linker_md.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/hpi/src/linker_md.c 2009-05-14 23:41:34.000000000 -0400 X@@ -44,11 +44,19 @@ X #include "threads_md.h" X #endif X X+#ifdef __APPLE__ X+#define LIB_SUFFIX "dylib" X+#else X+#define LIB_SUFFIX "so" X+#endif X+ X+#ifndef _ALLBSD_SOURCE X /* X * This lock protects the dl wrappers, assuring that two threads aren't X * in libdl at the same time. X */ X sys_mon_t _dl_lock; X+#endif X X /* X * glibc-2.0 libdl is not MT safe. If you are building with any glibc, X@@ -66,6 +74,14 @@ sys_mon_t _dl_lock; X #define NEED_DL_LOCK X #endif X X+#ifdef NEED_DL_LOCK X+/* X+ * This lock protects the dl wrappers, assuring that two threads aren't X+ * in libdl at the same time. X+ */ X+sys_mon_t _dl_lock; X+#endif X+ X /* X * create a string for the JNI native function name by adding the X * appropriate decorations. X@@ -95,14 +111,14 @@ sysBuildLibName(char *holder, int holder X } X X if (pnamelen == 0) { X- sprintf(holder, "lib%s.so", fname); X+ sprintf(holder, "lib%s." LIB_SUFFIX, fname); X } else { X- sprintf(holder, "%s/lib%s.so", pname, fname); X+ sprintf(holder, "%s/lib%s." LIB_SUFFIX, pname, fname); X } X } X X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X static int thr_main(void) X { X return -1; X@@ -120,10 +136,10 @@ sysLoadLibrary(const char *name, char *e X X #ifdef NEED_DL_LOCK X sysMonitorEnter(sysThreadSelf(), &_dl_lock); X- result = dlopen(name, RTLD_NOW); X+ result = dlopen(name, RTLD_NOW|RTLD_GLOBAL); X sysMonitorExit(sysThreadSelf(), &_dl_lock); X #else X- result = dlopen(name, RTLD_LAZY); X+ result = dlopen(name, RTLD_LAZY|RTLD_GLOBAL); X #endif X /* X * This is a bit of bulletproofing to catch the commonly occurring Xdiff -uNpr ../orig/jdk/src/solaris/hpi/src/memory_md.c ./jdk/src/solaris/hpi/src/memory_md.c X--- ../orig/jdk/src/solaris/hpi/src/memory_md.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/hpi/src/memory_md.c 2009-05-14 23:41:34.000000000 -0400 X@@ -50,12 +50,24 @@ X #include X #include /* For perror() */ X #include X+#if defined(_ALLBSD_SOURCE) X+#include X+#else X #include X+#endif X X #include "hpi_impl.h" X X+#if defined(USE_MALLOC) && defined(_ALLBSD_SOURCE) X+#error "USE_MALLOC cannot be used for BSD" X+#endif X+ X #ifndef USE_MALLOC X X+#if defined(_ALLBSD_SOURCE) X+#define MAP_ANNONYMOUS MAP_ANON X+#endif X+ X #include X #include X #ifdef __linux__ X@@ -73,6 +85,18 @@ static int devZeroFD; X #define MAP_FAILED ((caddr_t)-1) X #endif X static size_t memGrainSize; /* A page for Linux */ X+#elif defined(_ALLBSD_SOURCE) X+static size_t memGrainSize; /* A page for FreeBSD */ X+#if defined(__FreeBSD__) && (__FreeBSD_version >= 700013) X+static inline void * X+memalign(size_t alignment, size_t size) X+{ X+ void *ret; X+ return posix_memalign(&ret, alignment, size) ? NULL : ret; X+} X+#else /* ! __FreeBSD_version >= 700013 */ X+#define memalign(a, b) valloc(b) X+#endif X #else X static unsigned int memGrainSize; /* A page for Solaris */ X #endif X@@ -154,7 +178,7 @@ mapChunk(long length) X { X char *ret; X X-#if defined(__linux__) && defined(MAP_ANONYMOUS) X+#if (defined(__linux__) || defined(_ALLBSD_SOURCE)) && defined(MAP_ANONYMOUS) X ret = (char *) mmap(0, length, PROT_ALL, X MAP_NORESERVE | MAP_PRIVATE | MAP_ANONYMOUS, X -1, (off_t) 0); X@@ -176,7 +200,7 @@ static char * X mapChunkReserve(char *addr, long length) X { X char *ret; X-#if defined(__linux__) && defined(MAP_ANONYMOUS) X+#if (defined(__linux__) || defined(_ALLBSD_SOURCE)) && defined(MAP_ANONYMOUS) X ret = (char *) mmap(addr, length, PROT_ALL, X MAP_FIXED | MAP_PRIVATE | MAP_ANONYMOUS, X -1, (off_t) 0); X@@ -199,7 +223,7 @@ mapChunkNoreserve(char *addr, long lengt X { X char *ret; X X-#if defined(__linux__) && defined(MAP_ANONYMOUS) X+#if (defined(__linux__) || defined(_ALLBSD_SOURCE)) && defined(MAP_ANONYMOUS) X ret = (char *) mmap(addr, length, PROT_ALL, X MAP_FIXED | MAP_PRIVATE | X MAP_NORESERVE | MAP_ANONYMOUS, X@@ -242,7 +266,7 @@ sysMapMem(size_t requestedSize, size_t * X *mappedSize = roundUpToGrain(requestedSize); X #ifdef USE_MALLOC X mappedAddr = (void *) sysMalloc(*mappedSize); /* Returns 0 on failure */ X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X if (mappedAddr) { X memset(mappedAddr, 0, *mappedSize); X mappedAddr = (void *) roundUpToGrain(mappedAddr); X@@ -331,7 +355,7 @@ sysCommitMem(void *requestedAddr, size_t X *committedSize = roundUpToGrain(requestedSize); X committedAddr = (void *) roundDownToGrain((long) requestedAddr); X #ifdef USE_MALLOC X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X ret = committedAddr; X #else X ret = requestedAddr; Xdiff -uNpr ../orig/jdk/src/solaris/hpi/src/system_md.c ./jdk/src/solaris/hpi/src/system_md.c X--- ../orig/jdk/src/solaris/hpi/src/system_md.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/hpi/src/system_md.c 2009-05-14 23:41:34.000000000 -0400 X@@ -41,6 +41,7 @@ X #include X X #include "jni_md.h" X+#include "jvm_md.h" X #include "mutex_md.h" X X #include "hpi_init.h" X@@ -50,9 +51,6 @@ X #include "monitor_md.h" X #include "largefile.h" X X- X-#define O_DELETE 0x10000 X- X int sysThreadBootstrap(sys_thread_t **tidP, sys_mon_t **lockP, int nb) X { X threadBootstrapMD(tidP, lockP, nb); X@@ -85,7 +83,7 @@ sysGetMilliTicks() X { X struct timeval tv; X X- (void) gettimeofday(&tv, (void *) 0); X+ (void) gettimeofday(&tv, NULL); X return((tv.tv_sec * 1000) + (tv.tv_usec / 1000)); X } X X@@ -93,7 +91,7 @@ jlong X sysTimeMillis() X { X struct timeval t; X- gettimeofday(&t, 0); X+ gettimeofday(&t, NULL); X return ((jlong)t.tv_sec) * 1000 + (jlong)(t.tv_usec/1000); X } X X@@ -122,13 +120,13 @@ sysGetLastErrorString(char *buf, int len X X /* X * Open a file. Unlink the file immediately after open returns X- * if the specified oflag has the O_DELETE flag set. X+ * if the specified oflag has the JVM_O_DELETE flag set. X */ X int sysOpen(const char *path, int oflag, int mode) X { X int fd; X- int delete = (oflag & O_DELETE); X- oflag = oflag & ~O_DELETE; X+ int delete = (oflag & JVM_O_DELETE); X+ oflag = oflag & ~JVM_O_DELETE; X fd = open64_w(path, oflag, mode); X if (delete != 0) { X unlink(path); Xdiff -uNpr ../orig/jdk/src/solaris/instrument/EncodingSupport_md.c ./jdk/src/solaris/instrument/EncodingSupport_md.c X--- ../orig/jdk/src/solaris/instrument/EncodingSupport_md.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/instrument/EncodingSupport_md.c 2009-05-14 23:41:34.000000000 -0400 X@@ -28,7 +28,10 @@ X #include X #include X #include X+#ifndef __OpenBSD__ X+#define HAVE_NL_LANGINFO X #include X+#endif X #include X X /* Routines to convert back and forth between Platform Encoding and UTF-8 */ X@@ -63,6 +66,7 @@ utfInitialize(void) X /* Set the locale from the environment */ X (void)setlocale(LC_ALL, ""); X X+#ifdef HAVE_NL_LANGINFO X /* Get the codeset name */ X codeset = (char*)nl_langinfo(CODESET); X if ( codeset == NULL || codeset[0] == 0 ) { X@@ -77,6 +81,9 @@ utfInitialize(void) X UTF_DEBUG(("NO iconv() being used because it is not needed\n")); X return; X } X+#else X+ codeset = "ISO-8859-1"; X+#endif X X /* Open conversion descriptors */ X iconvToPlatform = iconv_open(codeset, "UTF-8"); Xdiff -uNpr ../orig/jdk/src/solaris/javavm/export/jvm_md.h ./jdk/src/solaris/javavm/export/jvm_md.h X--- ../orig/jdk/src/solaris/javavm/export/jvm_md.h 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/javavm/export/jvm_md.h 2009-05-14 23:41:34.000000000 -0400 X@@ -39,7 +39,14 @@ X #define JNI_ONUNLOAD_SYMBOLS {"JNI_OnUnload"} X X #define JNI_LIB_PREFIX "lib" X+#ifdef __APPLE__ X+#define JNI_LIB_SUFFIX ".dylib" X+#define VERSIONED_JNI_LIB_NAME(NAME, VERSION) JNI_LIB_PREFIX NAME "." VERSION JNI_LIB_SUFFIX X+#else X #define JNI_LIB_SUFFIX ".so" X+#define VERSIONED_JNI_LIB_NAME(NAME, VERSION) JNI_LIB_PREFIX NAME JNI_LIB_SUFFIX "." VERSION X+#endif X+#define JNI_LIB_NAME(NAME) JNI_LIB_PREFIX NAME JNI_LIB_SUFFIX X X #define JVM_MAXPATHLEN MAXPATHLEN X X@@ -66,7 +73,7 @@ X #define JVM_O_O_APPEND O_APPEND X #define JVM_O_EXCL O_EXCL X #define JVM_O_CREAT O_CREAT X-#define JVM_O_DELETE 0x10000 X+#define JVM_O_DELETE 0x10000000 X X /* Signals */ X Xdiff -uNpr ../orig/jdk/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c ./jdk/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c X--- ../orig/jdk/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c 2009-05-14 23:41:34.000000000 -0400 X@@ -32,10 +32,16 @@ X X #include X #include X+#if defined(_ALLBSD_SOURCE) X+#include X+#else X #include X+#endif X #include X #include X+#ifndef _ALLBSD_SOURCE X #include X+#endif X #include X #include X #include X@@ -46,16 +52,22 @@ X X static jlong page_size = 0; X X+#if defined(_ALLBSD_SOURCE) X+#define MB (1024UL * 1024UL) X+#else X+ X /* This gets us the new structured proc interfaces of 5.6 & later */ X /* - see comment in */ X #define _STRUCTURED_PROC 1 X #include X X+#endif /* _ALLBSD_SOURCE */ X+ X static struct dirent* read_dir(DIR* dirp, struct dirent* entry) { X #ifdef __solaris__ X struct dirent* dbuf = readdir(dirp); X return dbuf; X-#else /* __linux__ */ X+#else /* __linux__ || _ALLBSD_SOURCE */ X struct dirent* p; X if (readdir_r(dirp, entry, &p) == 0) { X return p; X@@ -124,7 +136,7 @@ static jlong get_total_or_available_swap X free(strtab); X return available ? ((jlong)avail * page_size) : X ((jlong)total * page_size); X-#else /* __linux__ */ X+#elif defined(__linux__) X int ret; X FILE *fp; X jlong total = 0, avail = 0; X@@ -138,6 +150,13 @@ static jlong get_total_or_available_swap X avail = (jlong)si.freeswap * si.mem_unit; X X return available ? avail : total; X+#else /* _ALLBSD_SOURCE */ X+ /* X+ * XXXBSD: there's no way available to get swap info in X+ * FreeBSD. Usage of libkvm is not an option here X+ */ X+ // throw_internal_error(env, "Unimplemented in FreeBSD"); X+ return (0); X #endif X } X X@@ -179,7 +198,7 @@ Java_com_sun_management_UnixOperatingSys X X JVM_Close(fd); X return (jlong) psinfo.pr_size * 1024; X-#else /* __linux__ */ X+#elif defined(__linux__) X FILE *fp; X unsigned long vsize = 0; X X@@ -197,6 +216,12 @@ Java_com_sun_management_UnixOperatingSys X X fclose(fp); X return (jlong)vsize; X+#else /* _ALLBSD_SOURCE */ X+ /* X+ * XXXBSD: there's no way available to do it in FreeBSD, AFAIK. X+ */ X+ // throw_internal_error(env, "Unimplemented in FreeBSD"); X+ return (64 * MB); X #endif X } X X@@ -222,9 +247,13 @@ Java_com_sun_management_UnixOperatingSys X jlong cpu_time_ns; X struct tms time; X X-#ifdef __solaris__ X+ /* X+ * BSDNOTE: FreeBSD implements _SC_CLK_TCK since FreeBSD 5, so X+ * add a magic to handle it X+ */ X+#if defined(__solaris__) || defined(_SC_CLK_TCK) X clk_tck = (jlong) sysconf(_SC_CLK_TCK); X-#else /* __linux__ */ X+#elif defined(__linux__) || defined(_ALLBSD_SOURCE) X clk_tck = 100; X #endif X if (clk_tck == -1) { X@@ -244,22 +273,51 @@ JNIEXPORT jlong JNICALL X Java_com_sun_management_UnixOperatingSystem_getFreePhysicalMemorySize X (JNIEnv *env, jobject mbean) X { X+#ifdef _ALLBSD_SOURCE X+ /* X+ * XXXBSD: there's no way available to do it in FreeBSD, AFAIK. X+ */ X+ // throw_internal_error(env, "Unimplemented in FreeBSD"); X+ return (128 * MB); X+#else X jlong num_avail_physical_pages = sysconf(_SC_AVPHYS_PAGES); X return (num_avail_physical_pages * page_size); X+#endif X } X X JNIEXPORT jlong JNICALL X Java_com_sun_management_UnixOperatingSystem_getTotalPhysicalMemorySize X (JNIEnv *env, jobject mbean) X { X+#ifdef _ALLBSD_SOURCE X+ jlong result; X+ int mib[2]; X+ int rlen; X+ X+ mib[0] = CTL_HW; X+ mib[1] = HW_PHYSMEM; X+ rlen = sizeof(result); X+ if (sysctl(mib, 2, &result, &rlen, NULL, 0) == -1) X+ result = 256 * MB; X+ X+ return (result); X+#else X jlong num_physical_pages = sysconf(_SC_PHYS_PAGES); X return (num_physical_pages * page_size); X+#endif X } X X JNIEXPORT jlong JNICALL X Java_com_sun_management_UnixOperatingSystem_getOpenFileDescriptorCount X (JNIEnv *env, jobject mbean) X { X+#ifdef _ALLBSD_SOURCE X+ /* X+ * XXXBSD: there's no way available to do it in FreeBSD, AFAIK. X+ */ X+ // throw_internal_error(env, "Unimplemented in FreeBSD"); X+ return (100); X+#else /* solaris/linux */ X DIR *dirp; X struct dirent dbuf; X struct dirent* dentp; X@@ -282,6 +340,7 @@ Java_com_sun_management_UnixOperatingSys X closedir(dirp); X // subtract by 1 which was the fd open for this implementation X return (fds - 1); X+#endif X } X X JNIEXPORT jlong JNICALL Xdiff -uNpr ../orig/jdk/src/solaris/native/java/io/UnixFileSystem_md.c ./jdk/src/solaris/native/java/io/UnixFileSystem_md.c X--- ../orig/jdk/src/solaris/native/java/io/UnixFileSystem_md.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/java/io/UnixFileSystem_md.c 2009-05-14 23:41:34.000000000 -0400 X@@ -41,6 +41,11 @@ X #include "java_io_FileSystem.h" X #include "java_io_UnixFileSystem.h" X X+#if defined(_ALLBSD_SOURCE) X+#define dirent64 dirent X+#define readdir64_r readdir_r X+#define stat64 stat X+#endif X X /* -- Field IDs -- */ X X@@ -58,7 +63,7 @@ Java_java_io_UnixFileSystem_initIDs(JNIE X "path", "Ljava/lang/String;"); X } X X- X+#ifndef _ALLBSD_SOURCE X /* -- Large-file support -- */ X X /* LINUX_FIXME: ifdef __solaris__ here is wrong. We need to move the X@@ -98,6 +103,7 @@ struct stat64 { X }; X X #endif /* !_LFS_LARGEFILE */ X+#endif /* !_ALLBSD_SOURCE */ X X typedef int (*STAT64)(const char *, struct stat64 *); X X@@ -107,6 +113,7 @@ static STAT64 stat64_ptr = &stat64; X static STAT64 stat64_ptr = NULL; X #endif X X+#ifndef _ALLBSD_SOURCE X #ifndef __linux__ X #ifdef __GNUC__ X static void init64IO(void) __attribute__((constructor)); X@@ -120,7 +127,7 @@ static void init64IO(void) { X stat64_ptr = (STAT64) dlsym(handle, "_stat64"); X dlclose(handle); X } X- X+#endif /* !_ALLBSD_SOURCE */ X X /* -- Path operations -- */ X X@@ -483,7 +490,7 @@ Java_java_io_UnixFileSystem_setLastModif X #endif X X /* Preserve access time */ X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X struct stat sb; X X if (stat(path, &sb) == 0) { Xdiff -uNpr ../orig/jdk/src/solaris/native/java/io/canonicalize_md.c ./jdk/src/solaris/native/java/io/canonicalize_md.c X--- ../orig/jdk/src/solaris/native/java/io/canonicalize_md.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/java/io/canonicalize_md.c 2009-05-14 23:41:34.000000000 -0400 X@@ -33,7 +33,9 @@ X #include X #include X #include X+#if !defined(_ALLBSD_SOURCE) X #include X+#endif X X X /* Note: The comments in this file use the terminology Xdiff -uNpr ../orig/jdk/src/solaris/native/java/io/io_util_md.c ./jdk/src/solaris/native/java/io/io_util_md.c X--- ../orig/jdk/src/solaris/native/java/io/io_util_md.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/java/io/io_util_md.c 2009-05-14 23:41:34.000000000 -0400 X@@ -36,7 +36,7 @@ fileOpen(JNIEnv *env, jobject this, jstr X WITH_PLATFORM_STRING(env, path, ps) { X FD fd; X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X /* Remove trailing slashes, since the kernel won't */ X char *p = (char *)ps + strlen(ps) - 1; X while ((p > ps) && (*p == '/')) Xdiff -uNpr ../orig/jdk/src/solaris/native/java/lang/ProcessEnvironment_md.c ./jdk/src/solaris/native/java/lang/ProcessEnvironment_md.c X--- ../orig/jdk/src/solaris/native/java/lang/ProcessEnvironment_md.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/java/lang/ProcessEnvironment_md.c 2009-05-14 23:41:34.000000000 -0400 X@@ -28,6 +28,11 @@ X #include "jni.h" X #include "jni_util.h" X X+#ifdef __APPLE__ X+#include X+#define environ (*_NSGetEnviron()) X+#endif X+ X JNIEXPORT jobjectArray JNICALL X Java_java_lang_ProcessEnvironment_environ(JNIEnv *env, jclass ign) X { X@@ -37,7 +42,9 @@ Java_java_lang_ProcessEnvironment_enviro X * no standard (not even de-facto) header file where the X * declaration is to be found. See: X * http://www.opengroup.org/onlinepubs/007908799/xbd/envvar.html */ X+#ifndef __APPLE__ X extern char ** environ; /* environ[i] looks like: VAR=VALUE\0 */ X+#endif X X jsize count = 0; X jsize i, j; X@@ -46,7 +53,7 @@ Java_java_lang_ProcessEnvironment_enviro X X for (i = 0; environ[i]; i++) { X /* Ignore corrupted environment variables */ X- if (strchr(environ[i], '=') != NULL) X+ if (strchr(environ[i], '=') != NULL && *environ[i] != '=') X count++; X } X X@@ -56,7 +63,7 @@ Java_java_lang_ProcessEnvironment_enviro X for (i = 0, j = 0; environ[i]; i++) { X const char * varEnd = strchr(environ[i], '='); X /* Ignore corrupted environment variables */ X- if (varEnd != NULL) { X+ if (varEnd != NULL && varEnd != environ[i]) { X jbyteArray var, val; X const char * valBeg = varEnd + 1; X jsize varLength = varEnd - environ[i]; Xdiff -uNpr ../orig/jdk/src/solaris/native/java/lang/UNIXProcess_md.c ./jdk/src/solaris/native/java/lang/UNIXProcess_md.c X--- ../orig/jdk/src/solaris/native/java/lang/UNIXProcess_md.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/java/lang/UNIXProcess_md.c 2009-05-14 23:41:34.000000000 -0400 X@@ -40,7 +40,11 @@ X #include X #include X #include X+#ifdef _ALLBSD_SOURCE X+#include X+#else X #include X+#endif X #include X #include X #include X@@ -49,6 +53,17 @@ X #include X #include X X+#ifdef __FreeBSD__ X+#include X+#include X+#include X+#endif X+ X+#ifdef __APPLE__ X+#include X+#define environ (*_NSGetEnviron()) X+#endif X+ X #ifndef STDIN_FILENO X #define STDIN_FILENO 0 X #endif X@@ -259,11 +274,89 @@ Java_java_lang_UNIXProcess_waitForProces X } X } X X+#if defined(__FreeBSD__) X+ X+extern pid_t __sys_fork(void); X+ X+static pid_t X+jdk_fork_wrapper() X+{ X+ pid_t resultPid; X+ typedef void (*void_func)(); X+ static void_func func_defer = NULL; X+ static void_func func_undefer = NULL; X+ static int is_libc_r = -1; X+ X+ if (is_libc_r == -1) { X+ X+ /* X+ * BSDNOTE: Check for loaded symbols. X+ * X+ * If "_thread_kern_sig_defer" symbol is found assume we are X+ * libc_r X+ * X+ * If libc_r is loaded, use fork system call drectly to avoid X+ * problems with using protected pages. X+ * X+ * --phantom X+ */ X+ func_defer = X+ (void_func)dlsym(RTLD_DEFAULT, "_thread_kern_sig_defer"); X+ func_undefer = X+ (void_func)dlsym(RTLD_DEFAULT, "_thread_kern_sig_undefer"); X+ if (func_defer != NULL) X+ is_libc_r = 1; X+ else { X+ is_libc_r = 0; X+ } X+ } X+ X+ if (is_libc_r == 0) { X+ /* Not a libc_r */ X+ resultPid = fork(); X+ } else { X+ (*func_defer)(); /* call _thread_kern_sig_defer() */ X+ resultPid = __sys_fork(); X+ if (resultPid != 0) X+ (*func_undefer)(); /* call _thread_kern_sig_undefer() */ X+ /* leave child with signals disabled, but reenable in parent */ X+ } X+ X+ return resultPid; X+} X+#endif /* __FreeBSD__ */ X+ X+#if defined(__OpenBSD__) X+/* X+ * Directly call _thread_sys_closefrom() so the child process X+ * doesn't reset the parrent's file descriptors to be blocking. X+ * This function is only called from the child process which X+ * is single threaded and about to call execvp() so it is X+ * safe to bypass the threaded closefrom(). X+ */ X+int _thread_sys_closefrom(int); X+ X+static int X+closeDescriptors(void) X+{ X+ return _thread_sys_closefrom(FAIL_FILENO + 1); X+} X+ X+#else X+ X+#ifdef _ALLBSD_SOURCE X+#define FD_DIR "/dev/fd" X+#else X+#define dirent dirent64 X+#define readdir readdir64 X+#define FD_DIR "/proc/self/fd" X+#endif X+ X static int X closeDescriptors(void) X { X DIR *dp; X- struct dirent64 *dirp; X+ struct dirent *dirp; X int from_fd = FAIL_FILENO + 1; X X /* We're trying to close all file descriptors, but opendir() might X@@ -276,13 +369,13 @@ closeDescriptors(void) X close(from_fd); /* for possible use by opendir() */ X close(from_fd + 1); /* another one for good luck */ X X- if ((dp = opendir("/proc/self/fd")) == NULL) X+ if ((dp = opendir(FD_DIR)) == NULL) X return 0; X X /* We use readdir64 instead of readdir to work around Solaris bug X * 6395699: /proc/self/fd fails to report file descriptors >= 1024 on Solaris 9 X */ X- while ((dirp = readdir64(dp)) != NULL) { X+ while ((dirp = readdir(dp)) != NULL) { X int fd; X if (isdigit(dirp->d_name[0]) && X (fd = strtol(dirp->d_name, NULL, 10)) >= from_fd + 2) X@@ -293,6 +386,7 @@ closeDescriptors(void) X X return 1; X } X+#endif /* !__OpenBSD__ */ X X static void X moveDescriptor(int fd_from, int fd_to) X@@ -438,7 +532,9 @@ execvpe(const char *file, const char *co X * "All identifiers in this volume of IEEE Std 1003.1-2001, except X * environ, are defined in at least one of the headers" (!) X */ X+#ifndef __APPLE__ X extern char **environ; X+#endif X X if (envp != NULL) X environ = (char **) envp; X@@ -502,10 +598,15 @@ readFully(int fd, void *buf, size_t nbyt X } X } X X+#if defined(__FreeBSD__) X+#undef fork1 X+#define fork1() jdk_fork_wrapper() X+#else X #ifndef __solaris__ X #undef fork1 X #define fork1() fork() X #endif X+#endif X X JNIEXPORT jint JNICALL X Java_java_lang_UNIXProcess_forkAndExec(JNIEnv *env, X@@ -567,6 +668,30 @@ Java_java_lang_UNIXProcess_forkAndExec(J X if (resultPid == 0) { X /* Child process */ X X+ X+#ifdef __OpenBSD__ X+// XXXBSD: Work-around userland pthread implementation issue. X+// Closing file descriptors will reset them to be blocking. X+// This is problematic for the parent when it attemts to use X+// the blocking fd and deadlocks. Setting them to non-blocking X+// in the child prevents the close/dup2 from resetting them. X+ { X+ int flags; X+ flags = fcntl(STDIN_FILENO, F_GETFL, NULL); X+ if (flags != -1) X+ fcntl(STDIN_FILENO, F_SETFL, flags | O_NONBLOCK); X+ X+ flags = fcntl(STDOUT_FILENO, F_GETFL, NULL); X+ if (flags != -1) X+ fcntl(STDOUT_FILENO, F_SETFL, flags | O_NONBLOCK); X+ X+ flags = fcntl(STDERR_FILENO, F_GETFL, NULL); X+ if (flags != -1) X+ fcntl(STDOUT_FILENO, F_SETFL, flags | O_NONBLOCK); X+ } X+#endif X+ X+ X /* Close the parent sides of the pipe. X Give the child sides of the pipes the right fileno's. X Closing pipe fds here is redundant, since closeDescriptors() Xdiff -uNpr ../orig/jdk/src/solaris/native/java/lang/java_props_md.c ./jdk/src/solaris/native/java/lang/java_props_md.c X--- ../orig/jdk/src/solaris/native/java/lang/java_props_md.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/java/lang/java_props_md.c 2009-05-14 23:41:34.000000000 -0400 X@@ -23,7 +23,7 @@ X * have any questions. X */ X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X #include X #include X #endif X@@ -42,9 +42,17 @@ X #include X #include X X+#if defined(_ALLBSD_SOURCE) X+#if !defined(P_tmpdir) X+#include X+#define P_tmpdir _PATH_VARTMP X+#endif X+#endif X+ X #include "locale_str.h" X #include "java_props.h" X X+#if !defined(_ALLBSD_SOURCE) X #ifdef __linux__ X #define CODESET _NL_CTYPE_CODESET_NAME X #else X@@ -52,6 +60,7 @@ X #define CODESET ALT_CODESET_KEY X #endif X #endif X+#endif /* !_ALLBSD_SOURCE */ X X /* Take an array of string pairs (map of key->value) and a string (key). X * Examine each pair in the map to see if the first string (key) matches the X@@ -188,7 +197,12 @@ GetJavaProperties(JNIEnv *env) X { X char *lc; X lc = setlocale(LC_CTYPE, ""); X-#ifndef __linux__ X+#if defined(_ALLBSD_SOURCE) X+ if (lc == NULL) { X+ lc = "C"; X+ } X+ { X+#elif !defined(__linux__) X if (lc == NULL) { X /* X * 'lc == null' means system doesn't support user's environment X@@ -219,7 +233,7 @@ GetJavaProperties(JNIEnv *env) X char *p, encoding_variant[64]; X int i, found; X X-#ifndef __linux__ X+#if !defined(__linux__) && !defined(_ALLBSD_SOURCE) X /* X * Workaround for Solaris bug 4201684: Xlib doesn't like @euro X * locales. Since we don't depend on the libc @euro behavior, X@@ -236,6 +250,13 @@ GetJavaProperties(JNIEnv *env) X *p = '\0'; X setlocale(LC_ALL, temp); X #endif X+ if (lc == NULL) { X+ strncpy(temp, "C", sizeof(temp)-1); X+ temp[sizeof(temp)-1] = '\0'; X+ } else { X+ strncpy(temp, lc, sizeof(temp)-1); X+ temp[sizeof(temp)-1] = '\0'; X+ } X X strcpy(temp, lc); X X@@ -316,6 +337,9 @@ GetJavaProperties(JNIEnv *env) X else X p = nl_langinfo(CODESET); X X+ if (p == NULL || !strcmp(p, "C") || !strcmp(p, "US-ASCII")) X+ p = ""; // use default X+ X /* Convert the bare "646" used on Solaris to a proper IANA name */ X if (strcmp(p, "646") == 0) X p = "ISO646-US"; X@@ -325,6 +349,7 @@ GetJavaProperties(JNIEnv *env) X std_encoding = (*p != '\0') ? p : "ISO8859-1"; X X X+#if !defined(_ALLBSD_SOURCE) X #ifdef __linux__ X /* X * Remap the encoding string to a different value for japanese X@@ -355,11 +380,19 @@ GetJavaProperties(JNIEnv *env) X std_encoding = "Big5_Solaris"; X } X #endif X+#endif /* !_ALLBSD_SOURCE */ X sprops.encoding = std_encoding; X sprops.sun_jnu_encoding = sprops.encoding; X } X } X X+#ifdef _ALLBSD_SOURCE X+#if BYTE_ORDER == _LITTLE_ENDIAN X+ sprops.unicode_encoding = "UnicodeLittle"; X+ #else X+ sprops.unicode_encoding = "UnicodeBig"; X+ #endif X+#else /* !_ALLBSD_SOURCE */ X #ifdef __linux__ X #if __BYTE_ORDER == __LITTLE_ENDIAN X sprops.unicode_encoding = "UnicodeLittle"; X@@ -369,6 +402,7 @@ GetJavaProperties(JNIEnv *env) X #else X sprops.unicode_encoding = "UnicodeBig"; X #endif X+#endif /* _ALLBSD_SOURCE */ X X /* user properties */ X { X@@ -405,12 +439,14 @@ GetJavaProperties(JNIEnv *env) X sprops.path_separator = ":"; X sprops.line_separator = "\n"; X X+#if !defined(_ALLBSD_SOURCE) X /* Append CDE message and resource search path to NLSPATH and X * XFILESEARCHPATH, in order to pick localized message for X * FileSelectionDialog window (Bug 4173641). X */ X setPathEnvironment("NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat"); X setPathEnvironment("XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt"); X+#endif X X return &sprops; X } Xdiff -uNpr ../orig/jdk/src/solaris/native/java/net/Inet4AddressImpl.c ./jdk/src/solaris/native/java/net/Inet4AddressImpl.c X--- ../orig/jdk/src/solaris/native/java/net/Inet4AddressImpl.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/java/net/Inet4AddressImpl.c 2009-05-14 23:41:34.000000000 -0400 X@@ -35,17 +35,293 @@ X #include X #include X X+#ifdef _ALLBSD_SOURCE X+#include X+#include X+#endif X+ X #include "jvm.h" X #include "jni_util.h" X #include "net_util.h" X X #include "java_net_Inet4AddressImpl.h" X X+#if defined(__GLIBC__) || (defined(__FreeBSD__) && (__FreeBSD_version >= 601104)) X+#define HAS_GLIBC_GETHOSTBY_R 1 X+#endif X+ X+#if defined(_ALLBSD_SOURCE) && !defined(HAS_GLIBC_GETHOSTBY_R) X+/* Use getaddrinfo(3), which is thread safe */ X+/************************************************************************ X+ * Inet4AddressImpl X+ */ X+ X+/* X+ * Class: java_net_Inet4AddressImpl X+ * Method: getLocalHostName X+ * Signature: ()Ljava/lang/String; X+ */ X+JNIEXPORT jstring JNICALL X+Java_java_net_Inet4AddressImpl_getLocalHostName(JNIEnv *env, jobject this) { X+ char hostname[NI_MAXHOST+1]; X+ X+ hostname[0] = '\0'; X+ if (JVM_GetHostName(hostname, NI_MAXHOST)) { X+ /* Something went wrong, maybe networking is not setup? */ X+ strcpy(hostname, "localhost"); X+ } else { X+ struct addrinfo hints, *res; X+ int error; X+ X+ memset(&hints, 0, sizeof(hints)); X+ hints.ai_flags = AI_CANONNAME; X+ hints.ai_family = AF_UNSPEC; X+ X+ error = getaddrinfo(hostname, NULL, &hints, &res); X+ X+ if (error == 0) { X+ /* host is known to name service */ X+ error = getnameinfo(res->ai_addr, X+ res->ai_addrlen, X+ hostname, X+ NI_MAXHOST, X+ NULL, X+ 0, X+ NI_NAMEREQD); X+ X+ /* if getnameinfo fails hostname is still the value X+ from gethostname */ X+ X+ freeaddrinfo(res); X+ } X+ } X+ return (*env)->NewStringUTF(env, hostname); X+} X+ X+static jclass ni_iacls; X+static jclass ni_ia4cls; X+static jmethodID ni_ia4ctrID; X+static jfieldID ni_iaaddressID; X+static jfieldID ni_iahostID; X+static jfieldID ni_iafamilyID; X+static int initialized = 0; X+ X+/* X+ * Find an internet address for a given hostname. Note that this X+ * code only works for addresses of type INET. The translation X+ * of %d.%d.%d.%d to an address (int) occurs in java now, so the X+ * String "host" shouldn't *ever* be a %d.%d.%d.%d string X+ * X+ * Class: java_net_Inet4AddressImpl X+ * Method: lookupAllHostAddr X+ * Signature: (Ljava/lang/String;)[[B X+ */ X+ X+JNIEXPORT jobjectArray JNICALL X+Java_java_net_Inet4AddressImpl_lookupAllHostAddr(JNIEnv *env, jobject this, X+ jstring host) { X+ const char *hostname; X+ jobject name; X+ jobjectArray ret = 0; X+ int retLen = 0; X+ X+ int error=0; X+ struct addrinfo hints, *res, *resNew = NULL; X+ X+ if (!initialized) { X+ ni_iacls = (*env)->FindClass(env, "java/net/InetAddress"); X+ ni_iacls = (*env)->NewGlobalRef(env, ni_iacls); X+ ni_ia4cls = (*env)->FindClass(env, "java/net/Inet4Address"); X+ ni_ia4cls = (*env)->NewGlobalRef(env, ni_ia4cls); X+ ni_ia4ctrID = (*env)->GetMethodID(env, ni_ia4cls, "", "()V"); X+ ni_iaaddressID = (*env)->GetFieldID(env, ni_iacls, "address", "I"); X+ ni_iafamilyID = (*env)->GetFieldID(env, ni_iacls, "family", "I"); X+ ni_iahostID = (*env)->GetFieldID(env, ni_iacls, "hostName", "Ljava/lang/String;"); X+ initialized = 1; X+ } X+ X+ if (IS_NULL(host)) { X+ JNU_ThrowNullPointerException(env, "host is null"); X+ return 0; X+ } X+ hostname = JNU_GetStringPlatformChars(env, host, JNI_FALSE); X+ CHECK_NULL_RETURN(hostname, NULL); X+ X+ memset(&hints, 0, sizeof(hints)); X+ hints.ai_flags = AI_CANONNAME; X+ hints.ai_family = AF_INET; X+ X+ /* X+ * Workaround for Solaris bug 4160367 - if a hostname contains a X+ * white space then 0.0.0.0 is returned X+ */ X+ if (isspace(hostname[0])) { X+ JNU_ThrowByName(env, JNU_JAVANETPKG "UnknownHostException", X+ (char *)hostname); X+ JNU_ReleaseStringPlatformChars(env, host, hostname); X+ return NULL; X+ } X+ X+ error = getaddrinfo(hostname, NULL, &hints, &res); X+ X+ if (error) { X+ /* report error */ X+ JNU_ThrowByName(env, JNU_JAVANETPKG "UnknownHostException", X+ (char *)hostname); X+ JNU_ReleaseStringPlatformChars(env, host, hostname); X+ return NULL; X+ } else { X+ int i = 0; X+ struct addrinfo *itr, *last, *iterator = res; X+ while (iterator != NULL) { X+ int skip = 0; X+ itr = resNew; X+ X+ while (itr != NULL) { X+ struct sockaddr_in *addr1, *addr2; X+ X+ addr1 = (struct sockaddr_in *)iterator->ai_addr; X+ addr2 = (struct sockaddr_in *)itr->ai_addr; X+ if (addr1->sin_addr.s_addr == X+ addr2->sin_addr.s_addr) { X+ skip = 1; X+ break; X+ } X+ X+ itr = itr->ai_next; X+ } X+ X+ if (!skip) { X+ struct addrinfo *next X+ = (struct addrinfo*) malloc(sizeof(struct addrinfo)); X+ if (!next) { X+ JNU_ThrowOutOfMemoryError(env, "heap allocation failed"); X+ ret = NULL; X+ goto cleanupAndReturn; X+ } X+ memcpy(next, iterator, sizeof(struct addrinfo)); X+ next->ai_next = NULL; X+ if (resNew == NULL) { X+ resNew = next; X+ } else { X+ last->ai_next = next; X+ } X+ last = next; X+ i++; X+ } X+ iterator = iterator->ai_next; X+ } X+ X+ retLen = i; X+ iterator = resNew; X+ i = 0; X+ X+ name = (*env)->NewStringUTF(env, hostname); X+ if (IS_NULL(name)) { X+ goto cleanupAndReturn; X+ } X+ X+ ret = (*env)->NewObjectArray(env, retLen, ni_iacls, NULL); X+ if (IS_NULL(ret)) { X+ /* we may have memory to free at the end of this */ X+ goto cleanupAndReturn; X+ } X+ X+ while (iterator != NULL) { X+ /* We need 4 bytes to store ipv4 address; */ X+ int len = 4; X+ X+ jobject iaObj = (*env)->NewObject(env, ni_ia4cls, ni_ia4ctrID); X+ if (IS_NULL(iaObj)) { X+ /* we may have memory to free at the end of this */ X+ ret = NULL; X+ goto cleanupAndReturn; X+ } X+ (*env)->SetIntField(env, iaObj, ni_iaaddressID, X+ ntohl(((struct sockaddr_in*)(iterator->ai_addr))->sin_addr.s_addr)); X+ (*env)->SetObjectField(env, iaObj, ni_iahostID, name); X+ (*env)->SetObjectArrayElement(env, ret, retLen - i -1, iaObj); X+ i++; X+ iterator = iterator->ai_next; X+ } X+ } X+ X+cleanupAndReturn: X+ { X+ struct addrinfo *iterator, *tmp; X+ iterator = resNew; X+ while (iterator != NULL) { X+ tmp = iterator; X+ iterator = iterator->ai_next; X+ free(tmp); X+ } X+ JNU_ReleaseStringPlatformChars(env, host, hostname); X+ } X+ X+ freeaddrinfo(res); X+ X+ return ret; X+ X+} X+ X+/* X+ * Class: java_net_Inet4AddressImpl X+ * Method: getHostByAddr X+ * Signature: (I)Ljava/lang/String; X+ */ X+JNIEXPORT jstring JNICALL X+Java_java_net_Inet4AddressImpl_getHostByAddr(JNIEnv *env, jobject this, X+ jbyteArray addrArray) { X+ jstring ret = NULL; X+ X+ char host[NI_MAXHOST+1]; X+ jfieldID fid; X+ int error = 0; X+ jint family; X+ struct sockaddr *him ; X+ int len = 0; X+ jbyte caddr[4]; X+ jint addr; X+ X+ struct sockaddr_in him4; X+ struct sockaddr *sa; X+ X+ /* X+ * For IPv4 addresses construct a sockaddr_in structure. X+ */ X+ (*env)->GetByteArrayRegion(env, addrArray, 0, 4, caddr); X+ addr = ((caddr[0]<<24) & 0xff000000); X+ addr |= ((caddr[1] <<16) & 0xff0000); X+ addr |= ((caddr[2] <<8) & 0xff00); X+ addr |= (caddr[3] & 0xff); X+ memset((char *) &him4, 0, sizeof(him4)); X+ him4.sin_addr.s_addr = (uint32_t) htonl(addr); X+ him4.sin_family = AF_INET; X+ sa = (struct sockaddr *) &him4; X+ len = sizeof(him4); X+ X+ error = getnameinfo(sa, len, host, NI_MAXHOST, NULL, 0, X+ NI_NAMEREQD); X+ X+ if (!error) { X+ ret = (*env)->NewStringUTF(env, host); X+ } X+ X+ if (ret == NULL) { X+ JNU_ThrowByName(env, JNU_JAVANETPKG "UnknownHostException", NULL); X+ } X+ X+ return ret; X+ X+} X+ X+#else /* defined(_ALLBSD_SOURCE) && !defined(HAS_GLIBC_GETHOSTBY_R) */ X+ X /* the initial size of our hostent buffers */ X #define HENT_BUF_SIZE 1024 X #define BIG_HENT_BUF_SIZE 10240 /* a jumbo-sized one */ X X-#ifndef __GLIBC__ X+#if !defined(__GLIBC__) && !defined(_ALLBSD_SOURCE) X /* gethostname() is in libc.so but I can't find a header file for it */ X extern int gethostname(char *buf, int buf_len); X #endif X@@ -85,13 +361,13 @@ Java_java_net_Inet4AddressImpl_getLocalH X char buf2[HENT_BUF_SIZE]; X int h_error=0; X X-#ifdef __GLIBC__ X+#ifdef HAS_GLIBC_GETHOSTBY_R X gethostbyname_r(hostname, &res, buf, sizeof(buf), &hp, &h_error); X #else X hp = gethostbyname_r(hostname, &res, buf, sizeof(buf), &h_error); X #endif X if (hp) { X-#ifdef __GLIBC__ X+#ifdef HAS_GLIBC_GETHOSTBY_R X gethostbyaddr_r(hp->h_addr, hp->h_length, AF_INET, X &res2, buf2, sizeof(buf2), &hp, &h_error); X #else X@@ -178,7 +454,7 @@ Java_java_net_Inet4AddressImpl_lookupAll X } X X /* Try once, with our static buffer. */ X-#ifdef __GLIBC__ X+#ifdef HAS_GLIBC_GETHOSTBY_R X gethostbyname_r(hostname, &res, buf, sizeof(buf), &hp, &h_error); X #else X hp = gethostbyname_r(hostname, &res, buf, sizeof(buf), &h_error); X@@ -191,7 +467,7 @@ Java_java_net_Inet4AddressImpl_lookupAll X */ X if (hp == NULL && errno == ERANGE) { X if ((tmp = (char*)malloc(BIG_HENT_BUF_SIZE))) { X-#ifdef __GLIBC__ X+#ifdef HAS_GLIBC_GETHOSTBY_R X gethostbyname_r(hostname, &res, tmp, BIG_HENT_BUF_SIZE, X &hp, &h_error); X #else X@@ -281,7 +557,7 @@ Java_java_net_Inet4AddressImpl_getHostBy X addr |= ((caddr[2] <<8) & 0xff00); X addr |= (caddr[3] & 0xff); X addr = htonl(addr); X-#ifdef __GLIBC__ X+#ifdef HAS_GLIBC_GETHOSTBY_R X gethostbyaddr_r((char *)&addr, sizeof(addr), AF_INET, &hent, X buf, sizeof(buf), &hp, &h_error); X #else X@@ -295,7 +571,7 @@ Java_java_net_Inet4AddressImpl_getHostBy X */ X if (hp == NULL && errno == ERANGE) { X if ((tmp = (char*)malloc(BIG_HENT_BUF_SIZE))) { X-#ifdef __GLIBC__ X+#ifdef HAS_GLIBC_GETHOSTBY_R X gethostbyaddr_r((char *)&addr, sizeof(addr), AF_INET, X &hent, tmp, BIG_HENT_BUF_SIZE, &hp, &h_error); X #else X@@ -317,6 +593,8 @@ Java_java_net_Inet4AddressImpl_getHostBy X return ret; X } X X+#endif /* _ALLBSD_SOURCE */ X+ X #define SET_NONBLOCKING(fd) { \ X int flags = fcntl(fd, F_GETFL); \ X flags |= O_NONBLOCK; \ Xdiff -uNpr ../orig/jdk/src/solaris/native/java/net/Inet6AddressImpl.c ./jdk/src/solaris/native/java/net/Inet6AddressImpl.c X--- ../orig/jdk/src/solaris/native/java/net/Inet6AddressImpl.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/java/net/Inet6AddressImpl.c 2009-05-14 23:41:34.000000000 -0400 X@@ -32,6 +32,9 @@ X #include X #include X #include X+#ifdef _ALLBSD_SOURCE X+#include /* gethostname */ X+#endif X X #include "jvm.h" X #include "jni_util.h" X@@ -48,7 +51,7 @@ X #define NI_MAXHOST 1025 X #endif X X-#ifndef __GLIBC__ X+#if !defined(__GLIBC__) && !defined(_ALLBSD_SOURCE) X /* gethostname() is in libc.so but I can't find a header file for it */ X extern int gethostname(char *buf, int buf_len); X #endif X@@ -71,10 +74,18 @@ Java_java_net_Inet6AddressImpl_getLocalH X /* Something went wrong, maybe networking is not setup? */ X strcpy(hostname, "localhost"); X } else { X-#ifdef __linux__ X- /* On Linux gethostname() says "host.domain.sun.com". On X+#if defined(__linux__) && defined(_ALLBSD_SOURCE) X+ /* On Linux/FreeBSD gethostname() says "host.domain.sun.com". On X * Solaris gethostname() says "host", so extra work is needed. X */ X+ /* X+ * XXXBSD: Though on FreeBSD it's possible case then hostname does X+ * not contain '.' (depends on previous sethostname() call). Maybe X+ * we need to proceed with Solaris way, but using getnameinfo() X+ * in conjunction with gethostby*() breaks thread-safeness, so X+ * we need to protect all calls to gethostby*() and getnameinfo() X+ * using same mutex. X+ */ X #else X /* Solaris doesn't want to give us a fully qualified domain name. X * We do a reverse lookup to try and get one. This works X@@ -110,7 +121,7 @@ Java_java_net_Inet6AddressImpl_getLocalH X } X } X #endif /* AF_INET6 */ X-#endif /* __linux__ */ X+#endif /* __linux__ || _ALLBSD_SOURCE */ X } X return (*env)->NewStringUTF(env, hostname); X } Xdiff -uNpr ../orig/jdk/src/solaris/native/java/net/NetworkInterface.c ./jdk/src/solaris/native/java/net/NetworkInterface.c X--- ../orig/jdk/src/solaris/native/java/net/NetworkInterface.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/java/net/NetworkInterface.c 2009-05-14 23:41:34.000000000 -0400 X@@ -23,13 +23,13 @@ X * have any questions. X */ X X+#include X+#include X #include X #include X #include X #include X #include X-#include X-#include X #include X #include X #include X@@ -47,6 +47,19 @@ X #else X #include X #endif X+#if defined(_ALLBSD_SOURCE) X+#include X+#include X+#if defined(__FreeBSD__) || defined(__APPLE__) X+#include X+#include X+#elif defined(__OpenBSD__) X+#include X+#endif X+#include X+#include X+#include X+#endif X X #ifdef __linux__ X #define ifr_index ifr_ifindex X@@ -584,6 +597,7 @@ static netif *enumInterfaces(JNIEnv *env X } X X X+#if !defined(_ALLBSD_SOURCE) X /* X * Enumerates and returns all IPv4 interfaces X */ X@@ -694,6 +708,176 @@ static netif *enumIPv4Interfaces(JNIEnv X return ifs; X } X X+#else /* _ALLBSD_SOURCE */ X+ X+/* X+ * Enumerates and returns all IPv4 interfaces X+ * X+ * WARNING! Make sure that it's correctly synchronized on future JDK X+ * versions imports! X+ */ X+static netif *enumIPv4Interfaces(JNIEnv *env, netif *ifs) X+{ X+ int sock; X+ struct ifaddrs *ifa, *origifa; X+ X+ sock = JVM_Socket(AF_INET, SOCK_DGRAM, 0); X+ if (sock < 0) { X+ /* X+ * If EPROTONOSUPPORT is returned it means we don't have X+ * IPv4 support so don't throw an exception. X+ */ X+ if (errno != EPROTONOSUPPORT) { X+ NET_ThrowByNameWithLastError(env , JNU_JAVANETPKG "SocketException", X+ "Socket creation failed"); X+ } X+ return ifs; X+ } X+ X+ if (getifaddrs(&origifa) != 0) { X+ NET_ThrowByNameWithLastError(env , JNU_JAVANETPKG "SocketException", X+ "getifaddrs() function failed"); X+ close(sock); X+ return ifs; X+ } X+ X+ for (ifa = origifa; ifa != NULL; ifa = ifa->ifa_next) { X+ X+ /* X+ * Skip non-AF_INET entries. X+ */ X+ if (ifa->ifa_addr == NULL || ifa->ifa_addr->sa_family != AF_INET) X+ continue; X+ X+ /* X+ * Add to the list. X+ * X+ * BSDNOTE: in order to optimize code, interface index detection X+ * logic was added directly to addif(). X+ */ X+ ifs = addif(env, ifs, ifa->ifa_name, (-1), AF_INET, X+ ifa->ifa_addr, sizeof(struct sockaddr_in), 0); X+ X+ /* X+ * If an exception occurred then free the list. X+ */ X+ if ((*env)->ExceptionOccurred(env)) { X+ close(sock); X+ freeifaddrs(origifa); X+ freeif(ifs); X+ return NULL; X+ } X+ } X+ X+ /* X+ * Free socket and buffer X+ */ X+ close(sock); X+ freeifaddrs(origifa); X+ return ifs; X+} X+ X+#if defined(AF_INET6) X+/* X+ * Determines the prefix on BSD for IPv6 interfaces. X+ */ X+static X+int prefix(void *val, int size) { X+ u_char *name = (u_char *)val; X+ int byte, bit, plen = 0; X+ X+ for (byte = 0; byte < size; byte++, plen += 8) X+ if (name[byte] != 0xff) X+ break; X+ if (byte == size) X+ return (plen); X+ for (bit = 7; bit != 0; bit--, plen++) X+ if (!(name[byte] & (1 << bit))) X+ break; X+ for (; bit != 0; bit--) X+ if (name[byte] & (1 << bit)) X+ return (0); X+ byte++; X+ for (; byte < size; byte++) X+ if (name[byte]) X+ return (0); X+ return (plen); X+} X+ X+/* X+ * Enumerates and returns all IPv6 interfaces on FreeBSD X+ * X+ * BSDNOTE: it's done in same as IPv4 enumeration and should be carefully X+ * reviewed with each JDK update (according to Solaris/Linux version) X+ */ X+static netif *enumIPv6Interfaces(JNIEnv *env, netif *ifs) { X+ X+ int sock; X+ struct ifaddrs *ifa, *origifa; X+ struct sockaddr_in6 *sin6; X+ struct in6_ifreq ifr6; X+ X+ // Open IPv6 UDP socket. X+ sock = JVM_Socket(AF_INET6, SOCK_DGRAM, 0); X+ if (sock < 0) { X+ NET_ThrowByNameWithLastError(env , JNU_JAVANETPKG "SocketException", X+ "Failed to create IPv6 socket"); X+ return ifs; X+ } X+ X+ if (getifaddrs(&origifa) != 0) { X+ NET_ThrowByNameWithLastError(env , JNU_JAVANETPKG "SocketException", X+ "getifaddrs() function failed"); X+ close(sock); X+ return ifs; X+ } X+ X+ for (ifa = origifa; ifa != NULL; ifa = ifa->ifa_next) { X+ X+ /* X+ * Skip non-AF_INET6 entries. X+ */ X+ if (ifa->ifa_addr == NULL || ifa->ifa_addr->sa_family != AF_INET6) X+ continue; X+ X+ memset(&ifr6, 0, sizeof(ifr6)); X+ strlcpy(ifr6.ifr_name, ifa->ifa_name, sizeof(ifr6.ifr_name)); X+ memcpy(&ifr6.ifr_addr, ifa->ifa_addr, MIN(sizeof(ifr6.ifr_addr), ifa->ifa_addr->sa_len)); X+ X+ if (ioctl(sock, SIOCGIFNETMASK_IN6, (caddr_t)&ifr6) < 0) { X+ NET_ThrowByNameWithLastError(env , JNU_JAVANETPKG "SocketException", X+ "ioctl SIOCGIFNETMASK_IN6 failed"); X+ close(sock); X+ freeifaddrs(origifa); X+ freeif(ifs); X+ return NULL; X+ } X+ X+ /* Add to the list. */ X+ sin6 = (struct sockaddr_in6 *)&ifr6.ifr_addr; X+ ifs = addif(env, ifs, ifa->ifa_name, (-1), AF_INET6, X+ ifa->ifa_addr, sizeof(struct sockaddr_in6), X+ prefix(&sin6->sin6_addr, sizeof(struct in6_addr))); X+ X+ /* If an exception occurred then free the list. */ X+ if ((*env)->ExceptionOccurred(env)) { X+ close(sock); X+ freeifaddrs(origifa); X+ freeif(ifs); X+ return NULL; X+ } X+ } X+ X+ /* X+ * Free socket and ifaddrs buffer X+ */ X+ close(sock); X+ freeifaddrs(origifa); X+ return ifs; X+} X+#endif /* AF_INET6 */ X+ X+#endif /* !_ALLBSD_SOURCE */ X X #if defined(__solaris__) && defined(AF_INET6) X /* X@@ -1014,7 +1198,13 @@ netif *addif(JNIEnv *env, netif *ifs, ch X JNU_ThrowOutOfMemoryError(env, "heap allocation failed"); X return ifs; X } X+#if defined(_ALLBSD_SOURCE) X+ currif->index = if_nametoindex(name); X+ if (currif->index == 0) X+ currif->index = -1; X+#else X currif->index = index; X+#endif X currif->addr = NULL; X currif->childs = NULL; X currif->virtual = isVirtual; X@@ -1302,6 +1492,31 @@ int getMacAddress(JNIEnv *env, const str X * All bytes to 0 means no hardware address. X */ X return -1; X+#elif defined(_ALLBSD_SOURCE) X+ struct ifaddrs *ifa0, *ifa; X+ struct sockaddr *saddr; X+ int i; X+ X+ /* Grab the interface list */ X+ if (!getifaddrs(&ifa0)) { X+ /* Cycle through the interfaces */ X+ for (i = 0, ifa = ifa0; ifa != NULL; ifa = ifa->ifa_next, i++) { X+ saddr = ifa->ifa_addr; X+ /* Link layer contains the MAC address */ X+ if (saddr->sa_family == AF_LINK && !strcmp(ifname, ifa->ifa_name)) { X+ struct sockaddr_dl *sadl = (struct sockaddr_dl *) saddr; X+ /* Check the address is the correct length */ X+ if (sadl->sdl_alen == ETHER_ADDR_LEN) { X+ memcpy(buf, (sadl->sdl_data + sadl->sdl_nlen), ETHER_ADDR_LEN); X+ freeifaddrs(ifa0); X+ return ETHER_ADDR_LEN; X+ } X+ } X+ } X+ freeifaddrs(ifa0); X+ } X+ X+ return -1; X #else X struct arpreq arpreq; X struct sockaddr_in* sin; X@@ -1467,7 +1682,7 @@ JNIEXPORT jint JNICALL Java_java_net_Net X "Socket creation failed"); X } else { X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X memset((char *) &if2, 0, sizeof(if2)); X strcpy(if2.ifr_name, name_utf); X Xdiff -uNpr ../orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c ./jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c X--- ../orig/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c 2009-05-14 23:41:34.000000000 -0400 X@@ -23,12 +23,12 @@ X * have any questions. X */ X X+#include X+#include X #include X #include X #include X #include X-#include X-#include X X #ifdef __solaris__ X #include X@@ -335,7 +335,7 @@ Java_java_net_PlainDatagramSocketImpl_di X /* The fdObj'fd */ X jint fd; X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X SOCKADDR addr; X int len; X #endif X@@ -345,26 +345,39 @@ Java_java_net_PlainDatagramSocketImpl_di X } X fd = (*env)->GetIntField(env, fdObj, IO_fd_fdID); X X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X #ifdef __linux__ X if (isOldKernel) { X int t = 1; X setsockopt(fd, SOL_SOCKET, SO_BSDCOMPAT, (char*) &t, sizeof(int)); X } else { X+#endif /* __linux__ */ X memset(&addr, 0, sizeof(addr)); X #ifdef AF_INET6 X if (ipv6_available()) { X struct sockaddr_in6 *him6 = (struct sockaddr_in6 *)&addr; X+#ifdef __FreeBSD__ X+ him6->sin6_family = AF_INET6; X+#else X him6->sin6_family = AF_UNSPEC; X+#endif X len = sizeof(struct sockaddr_in6); X } else X #endif X { X struct sockaddr_in *him4 = (struct sockaddr_in*)&addr; X+#ifdef __FreeBSD__ X+ him4->sin_family = AF_INET; X+#else X him4->sin_family = AF_UNSPEC; X+#endif X len = sizeof(struct sockaddr_in); X } X JVM_Connect(fd, (struct sockaddr *)&addr, len); X+ /* XXXBSD: here we can get EADDRNOTAVAIL which need to be ignored X+ but since return value is not checked, ignore it */ X X+#ifdef __linux__ X // After disconnecting a UDP socket, Linux kernel will set X // local port to zero if the port number comes from implicit X // bind. Successive send/recv on the same socket will fail. X@@ -387,6 +400,7 @@ Java_java_net_PlainDatagramSocketImpl_di X NET_Bind(fd, (struct sockaddr *)&addr, len); X } X } X+#endif X #else X JVM_Connect(fd, 0, 0); X #endif X@@ -2374,18 +2388,30 @@ static void mcast_join_leave(JNIEnv *env X mname6.ipv6mr_interface = idx; X } X X+#if defined(_ALLBSD_SOURCE) X+#define ADD_MEMBERSHIP IPV6_JOIN_GROUP X+#define DRP_MEMBERSHIP IPV6_LEAVE_GROUP X+#define S_ADD_MEMBERSHIP "IPV6_JOIN_GROUP" X+#define S_DRP_MEMBERSHIP "IPV6_LEAVE_GROUP" X+#else X+#define ADD_MEMBERSHIP IPV6_ADD_MEMBERSHIP X+#define DRP_MEMBERSHIP IPV6_DROP_MEMBERSHIP X+#define S_ADD_MEMBERSHIP "IPV6_ADD_MEMBERSHIP" X+#define S_DRP_MEMBERSHIP "IPV6_DROP_MEMBERSHIP" X+#endif X+ X /* Join the multicast group */ X- if (JVM_SetSockOpt(fd, IPPROTO_IPV6, (join ? IPV6_ADD_MEMBERSHIP : IPV6_DROP_MEMBERSHIP), X+ if (JVM_SetSockOpt(fd, IPPROTO_IPV6, (join ? ADD_MEMBERSHIP : DRP_MEMBERSHIP), X (char *) &mname6, sizeof (mname6)) < 0) { X X if (join) { X- NET_ThrowCurrent(env, "setsockopt IPV6_ADD_MEMBERSHIP failed"); X+ NET_ThrowCurrent(env, "setsockopt " S_ADD_MEMBERSHIP " failed"); X } else { X if (errno == ENOENT) { X JNU_ThrowByName(env, JNU_JAVANETPKG "SocketException", X "Not a member of the multicast group"); X } else { X- NET_ThrowCurrent(env, "setsockopt IPV6_DROP_MEMBERSHIP failed"); X+ NET_ThrowCurrent(env, "setsockopt " S_DRP_MEMBERSHIP " failed"); X } X } X } Xdiff -uNpr ../orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c ./jdk/src/solaris/native/java/net/PlainSocketImpl.c X--- ../orig/jdk/src/solaris/native/java/net/PlainSocketImpl.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/java/net/PlainSocketImpl.c 2009-05-14 23:41:34.000000000 -0400 X@@ -528,9 +528,11 @@ Java_java_net_PlainSocketImpl_socketConn X if (connect_rv == JVM_IO_INTR) { X JNU_ThrowByName(env, JNU_JAVAIOPKG "InterruptedIOException", X "operation interrupted"); X+#if defined(EPROTO) X } else if (errno == EPROTO) { X NET_ThrowByNameWithLastError(env, JNU_JAVANETPKG "ProtocolException", X "Protocol error"); X+#endif X } else if (errno == ECONNREFUSED) { X NET_ThrowByNameWithLastError(env, JNU_JAVANETPKG "ConnectException", X "Connection refused"); Xdiff -uNpr ../orig/jdk/src/solaris/native/java/net/bsd_close.c ./jdk/src/solaris/native/java/net/bsd_close.c X--- ../orig/jdk/src/solaris/native/java/net/bsd_close.c 2009-05-14 23:40:17.000000000 -0400 X+++ ./jdk/src/solaris/native/java/net/bsd_close.c 2009-05-14 23:41:34.000000000 -0400 X@@ -57,7 +57,7 @@ typedef struct { X /* X * Signal to unblock thread X */ X-static int sigWakeup = (__SIGRTMAX - 2); X+static int sigWakeup = SIGIO; X X /* X * The fd table and the number of file descriptors Xdiff -uNpr ../orig/jdk/src/solaris/native/java/net/net_util_md.c ./jdk/src/solaris/native/java/net/net_util_md.c X--- ../orig/jdk/src/solaris/native/java/net/net_util_md.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/java/net/net_util_md.c 2009-05-14 23:41:34.000000000 -0400 X@@ -34,6 +34,15 @@ X #include X #include X X+#ifdef _ALLBSD_SOURCE X+#include X+#include X+#endif X+ X+#ifdef __OpenBSD__ X+#include X+#endif X+ X #ifdef __solaris__ X #include X #include X@@ -219,6 +228,14 @@ NET_GetFileDescriptorID(JNIEnv *env) X return (*env)->GetFieldID(env, cls, "fd", "I"); X } X X+#if defined(DONT_ENABLE_IPV6) X+jint IPv6_supported() X+{ X+ return JNI_FALSE; X+} X+ X+#else /* !DONT_ENABLE_IPV6 */ X+ X jint IPv6_supported() X { X #ifndef AF_INET6 X@@ -355,6 +372,7 @@ jint IPv6_supported() X close(fd); X return JNI_TRUE; X } X+#endif /* DONT_ENABLE_IPV6 */ X X void X NET_AllocSockaddr(struct sockaddr **him, int *len) { X@@ -689,6 +707,10 @@ NET_InetAddressToSockaddr(JNIEnv *env, j X him6->sin6_family = AF_INET6; X *len = sizeof(struct sockaddr_in6) ; X X+#if defined(_ALLBSD_SOURCE) && defined(_AF_INET6) X+// XXXBSD: should we do something with scope id here ? see below linux comment X+#endif X+ X /* X * On Linux if we are connecting to a link-local address X * we need to specify the interface in the scope_id (2.4 kernel only) X@@ -1133,6 +1155,24 @@ NET_SetSockOpt(int fd, int level, int o X #define IPTOS_PREC_MASK 0xe0 X #endif X X+#if defined(_ALLBSD_SOURCE) X+#if defined(KIPC_MAXSOCKBUF) X+ int mib[3]; X+ size_t rlen; X+#endif X+ X+ int *bufsize; X+ X+#ifdef __APPLE__ X+ static int maxsockbuf = -1; X+#else X+ static long maxsockbuf = -1; X+#endif X+ X+ int addopt; X+ struct linger *ling; X+#endif X+ X /* X * IPPROTO/IP_TOS :- X * 1. IPv6 on Solaris: no-op and will be set in flowinfo X@@ -1165,6 +1205,10 @@ NET_SetSockOpt(int fd, int level, int o X *iptos &= (IPTOS_TOS_MASK | IPTOS_PREC_MASK); X } X X+#if defined(AF_INET6) && defined(_ALLBSD_SOURCE) X+// XXXBSD: to be implemented ? X+#endif X+ X /* X * SOL_SOCKET/{SO_SNDBUF,SO_RCVBUF} - On Solaris need to X * ensure that value is <= max_buf as otherwise we get X@@ -1212,6 +1256,83 @@ NET_SetSockOpt(int fd, int level, int o X } X #endif X X+#if defined(_ALLBSD_SOURCE) X+ /* X+ * SOL_SOCKET/{SO_SNDBUF,SO_RCVBUF} - On FreeBSD need to X+ * ensure that value is <= kern.ipc.maxsockbuf as otherwise we get X+ * an ENOBUFS error. X+ */ X+ if (level == SOL_SOCKET) { X+ if (opt == SO_SNDBUF || opt == SO_RCVBUF) { X+#ifdef KIPC_MAXSOCKBUF X+ if (maxsockbuf == -1) { X+ mib[0] = CTL_KERN; X+ mib[1] = KERN_IPC; X+ mib[2] = KIPC_MAXSOCKBUF; X+ rlen = sizeof(maxsockbuf); X+ if (sysctl(mib, 3, &maxsockbuf, &rlen, NULL, 0) == -1) X+ maxsockbuf = 1024; X+ X+#if 1 X+ /* XXXBSD: This is a hack to workaround mb_max/mb_max_adj X+ problem. It should be removed when kern.ipc.maxsockbuf X+ will be real value. */ X+ maxsockbuf = (maxsockbuf/5)*4; X+#endif X+ } X+#elif defined(__OpenBSD__) X+ maxsockbuf = SB_MAX; X+#else X+ maxsockbuf = 64 * 1024; /* XXX: NetBSD */ X+#endif X+ X+ bufsize = (int *)arg; X+ if (*bufsize > maxsockbuf) { X+ *bufsize = maxsockbuf; X+ } X+ X+ if (opt == SO_RCVBUF && *bufsize < 1024) { X+ *bufsize = 1024; X+ } X+ X+ } X+ } X+ X+ /* X+ * On Solaris, SO_REUSEADDR will allow multiple datagram X+ * sockets to bind to the same port. The network jck tests X+ * for this "feature", so we need to emulate it by turning on X+ * SO_REUSEPORT as well for that combination. X+ */ X+ if (level == SOL_SOCKET && opt == SO_REUSEADDR) { X+ int sotype, arglen; X+ X+ arglen = sizeof(sotype); X+ if (getsockopt(fd, SOL_SOCKET, SO_TYPE, (void *)&sotype, &arglen) < 0) { X+ return -1; X+ } X+ X+ if (sotype == SOCK_DGRAM) { X+ addopt = SO_REUSEPORT; X+ setsockopt(fd, level, addopt, arg, len); X+ } X+ } X+ X+ /* X+ * Don't allow SO_LINGER value to be too big. X+ * Current max value (240) is empiric value based on tcp_timer.h's X+ * constant TCP_LINGERTIME, which was doubled. X+ * X+ * XXXBSD: maybe we should step it down to 120 ? X+ */ X+ if (level == SOL_SOCKET && opt == SO_LINGER) { X+ ling = (struct linger *)arg; X+ if (ling->l_linger > 240 || ling->l_linger < 0) { X+ ling->l_linger = 240; X+ } X+ } X+#endif X+ X return setsockopt(fd, level, opt, arg, len); X } X Xdiff -uNpr ../orig/jdk/src/solaris/native/java/net/net_util_md.h ./jdk/src/solaris/native/java/net/net_util_md.h X--- ../orig/jdk/src/solaris/native/java/net/net_util_md.h 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/java/net/net_util_md.h 2009-05-14 23:41:34.000000000 -0400 X@@ -37,7 +37,7 @@ X #endif X X X-#ifdef __linux__ X+#if defined(__linux__) || defined(__FreeBSD__) X extern int NET_Timeout(int s, long timeout); X extern int NET_Read(int s, void* buf, size_t len); X extern int NET_RecvFrom(int s, void *buf, int len, unsigned int flags, Xdiff -uNpr ../orig/jdk/src/solaris/native/java/nio/MappedByteBuffer.c ./jdk/src/solaris/native/java/nio/MappedByteBuffer.c X--- ../orig/jdk/src/solaris/native/java/nio/MappedByteBuffer.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/java/nio/MappedByteBuffer.c 2009-05-14 23:41:34.000000000 -0400 X@@ -38,7 +38,11 @@ Java_java_nio_MappedByteBuffer_isLoaded0 X jlong address, jlong len) X { X jboolean loaded = JNI_TRUE; X+#if defined(_ALLBSD_SOURCE) X+ jint pageSize = getpagesize(); X+#else X jint pageSize = sysconf(_SC_PAGESIZE); X+#endif X jint numPages = (len + pageSize - 1) / pageSize; X int result = 0; X int i = 0; X@@ -92,7 +96,11 @@ JNIEXPORT void JNICALL X Java_java_nio_MappedByteBuffer_force0(JNIEnv *env, jobject obj, jlong address, X jlong len) X { X+#if defined(_ALLBSD_SOURCE) X+ jlong pageSize = getpagesize(); X+#else X jlong pageSize = sysconf(_SC_PAGESIZE); X+#endif X unsigned long lAddress = address; X X jlong offset = lAddress % pageSize; Xdiff -uNpr ../orig/jdk/src/solaris/native/java/util/FileSystemPreferences.c ./jdk/src/solaris/native/java/util/FileSystemPreferences.c X--- ../orig/jdk/src/solaris/native/java/util/FileSystemPreferences.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/java/util/FileSystemPreferences.c 2009-05-14 23:41:34.000000000 -0400 X@@ -47,8 +47,11 @@ Java_java_util_prefs_FileSystemPreferenc X return (jint) result; X } X X- X+#if defined(_ALLBSD_SOURCE) X+typedef struct flock FLOCK; X+#else X typedef struct flock64 FLOCK; X+#endif X X /** X * Try to open a named lock file. X@@ -86,7 +89,11 @@ Java_java_util_prefs_FileSystemPreferenc X if (fd < 0) { X result[0] = 0; X } else { X+#if defined(_ALLBSD_SOURCE) X+ rc = fcntl(fd, F_SETLK, &fl); X+#else X rc = fcntl(fd, F_SETLK64, &fl); X+#endif X result[1] = errno; X if (rc < 0) { X result[0]= 0; X@@ -116,7 +123,11 @@ Java_java_util_prefs_FileSystemPreferenc X fl.l_start = 0; X fl.l_type = F_UNLCK; X X+#if defined(_ALLBSD_SOURCE) X+ rc = fcntl(fd, F_SETLK, &fl); X+#else X rc = fcntl(fd, F_SETLK64, &fl); X+#endif X X if (rc < 0) { X close(fd); Xdiff -uNpr ../orig/jdk/src/solaris/native/java/util/TimeZone_md.c ./jdk/src/solaris/native/java/util/TimeZone_md.c X--- ../orig/jdk/src/solaris/native/java/util/TimeZone_md.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/java/util/TimeZone_md.c 2009-05-14 23:41:34.000000000 -0400 X@@ -31,7 +31,7 @@ X #include X #include X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X #include X #include X #include X@@ -49,11 +49,14 @@ X #define fileclose fclose X #endif X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X X+#ifdef __linux__ X static const char *sysconfig_clock_file = "/etc/sysconfig/clock"; X+#endif X+ X static const char *zoneinfo_dir = "/usr/share/zoneinfo"; X-static const char *defailt_zoneinfo_file = "/etc/localtime"; X+static const char *default_zoneinfo_file = "/etc/localtime"; X X /* X * Returns a point to the zone ID portion of the given zoneinfo file X@@ -199,7 +202,9 @@ getPlatformTimeZoneID() X int fd; X char *buf; X size_t size; X+ char zoneinfo_file[PATH_MAX+1]; X X+#ifdef __linux__ X /* X * First, try the ZONE entry in /etc/sysconfig/clock. However, the X * ZONE entry is not set up after initial Red Hat Linux X@@ -254,14 +259,18 @@ getPlatformTimeZoneID() X return tz; X } X } X+#endif /* __linux__ */ X X /* X * Next, try /etc/localtime to find the zone ID. X */ X- if (lstat(defailt_zoneinfo_file, &statbuf) == -1) { X+ if (lstat(default_zoneinfo_file, &statbuf) == -1) { X return NULL; X } X X+ strlcpy(zoneinfo_file, default_zoneinfo_file, PATH_MAX+1); X+ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X /* X * If it's a symlink, get the link name and its zone ID part. (The X * older versions of timeconfig created a symlink as described in X@@ -270,21 +279,25 @@ getPlatformTimeZoneID() X * from /etc/localtime.) X */ X if (S_ISLNK(statbuf.st_mode)) { X- char linkbuf[PATH_MAX+1]; X int len; X X- if ((len = readlink(defailt_zoneinfo_file, linkbuf, sizeof(linkbuf)-1)) == -1) { X+ if ((len = readlink(default_zoneinfo_file, zoneinfo_file, sizeof(zoneinfo_file)-1)) == -1) { X jio_fprintf(stderr, (const char *) "can't get a symlink of %s\n", X- defailt_zoneinfo_file); X+ default_zoneinfo_file); X return NULL; X } X- linkbuf[len] = '\0'; X- tz = getZoneName(linkbuf); X+ zoneinfo_file[len] = '\0'; X+ tz = getZoneName(zoneinfo_file); X if (tz != NULL) { X tz = strdup(tz); X+ return tz; X+ } else { X+ if (lstat(zoneinfo_file, &statbuf) == -1) { X+ return NULL; X+ } X } X- return tz; X } X+#endif /* __linux__ || _ALLBSD_SOURCE */ X X /* X * If it's a regular file, we need to find out the same zoneinfo file X@@ -295,7 +308,7 @@ getPlatformTimeZoneID() X if (buf == NULL) { X return NULL; X } X- if ((fd = open(defailt_zoneinfo_file, O_RDONLY)) == -1) { X+ if ((fd = open(zoneinfo_file, O_RDONLY)) == -1) { X free((void *) buf); X return NULL; X } X@@ -524,7 +537,7 @@ findJavaTZ_md(const char *java_home_dir, X X tz = getenv("TZ"); X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X if (tz == NULL) { X #else X #ifdef __solaris__ X@@ -563,19 +576,32 @@ getGMTOffsetID() X { X time_t offset; X char sign, buf[16]; X+#if defined(_ALLBSD_SOURCE) X+ struct tm *local_tm; X+ time_t clock; X+ X+ clock = time(NULL); X+ tzset(); X+ local_tm = localtime(&clock); X+ if (local_tm->tm_gmtoff >= 0) { X+ offset = (time_t) local_tm->tm_gmtoff; X+ sign = '+'; X+ } else { X+ offset = (time_t) -local_tm->tm_gmtoff; X+ sign = '-'; X+ } X+#else X X if (timezone == 0) { X return strdup("GMT"); X- } X- X- /* Note that the time offset direction is opposite. */ X- if (timezone > 0) { X+ } else if (timezone > 0) { X offset = timezone; X sign = '-'; X } else { X offset = -timezone; X sign = '+'; X } X+#endif X sprintf(buf, (const char *)"GMT%c%02d:%02d", X sign, (int)(offset/3600), (int)((offset%3600)/60)); X return strdup(buf); Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/awt/CUPSfuncs.c ./jdk/src/solaris/native/sun/awt/CUPSfuncs.c X--- ../orig/jdk/src/solaris/native/sun/awt/CUPSfuncs.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/awt/CUPSfuncs.c 2009-05-14 23:41:34.000000000 -0400 X@@ -25,6 +25,7 @@ X X #include X #include X+#include X #include X #include X #include X@@ -65,10 +66,11 @@ fn_ppdPageSize j2d_ppdPageSize; X JNIEXPORT jboolean JNICALL X Java_sun_print_CUPSPrinter_initIDs(JNIEnv *env, X jobject printObj) { X- void *handle = dlopen("libcups.so.2", RTLD_LAZY | RTLD_GLOBAL); X+ void *handle = dlopen(VERSIONED_JNI_LIB_NAME("cups", "2"), X+ RTLD_LAZY | RTLD_GLOBAL); X X if (handle == NULL) { X- handle = dlopen("libcups.so", RTLD_LAZY | RTLD_GLOBAL); X+ handle = dlopen(JNI_LIB_NAME("cups"), RTLD_LAZY | RTLD_GLOBAL); X if (handle == NULL) { X return JNI_FALSE; X } Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/awt/VDrawingArea.c ./jdk/src/solaris/native/sun/awt/VDrawingArea.c X--- ../orig/jdk/src/solaris/native/sun/awt/VDrawingArea.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/awt/VDrawingArea.c 2009-05-14 23:41:34.000000000 -0400 X@@ -31,7 +31,11 @@ X #endif /* !HEADLESS */ X X #include X+#if defined(_ALLBSD_SOURCE) X+#include X+#else X #include X+#endif X X #ifdef __linux__ X /* XXX: Shouldn't be necessary. */ Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/awt/X11Color.c ./jdk/src/solaris/native/sun/awt/X11Color.c X--- ../orig/jdk/src/solaris/native/sun/awt/X11Color.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/awt/X11Color.c 2009-05-14 23:41:34.000000000 -0400 X@@ -33,7 +33,9 @@ X #include X #include X #include X+#if !defined(_ALLBSD_SOURCE) X #include X+#endif X #ifndef HEADLESS X #include X #include Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/awt/XDrawingArea.c ./jdk/src/solaris/native/sun/awt/XDrawingArea.c X--- ../orig/jdk/src/solaris/native/sun/awt/XDrawingArea.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/awt/XDrawingArea.c 2009-05-14 23:41:34.000000000 -0400 X@@ -30,7 +30,11 @@ X #include X X #include X+#if defined(_ALLBSD_SOURCE) X+#include X+#else X #include X+#endif X X #ifdef DEBUG X #include /* To get jio_fprintf() */ Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/awt/awt_Font.c ./jdk/src/solaris/native/sun/awt/awt_Font.c X--- ../orig/jdk/src/solaris/native/sun/awt/awt_Font.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/awt/awt_Font.c 2009-05-14 23:41:34.000000000 -0400 X@@ -334,7 +334,7 @@ loadFont(Display * display, char *name, X if (strcmp(style, "regular") == 0) { X altstyle = "roman"; X } X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X if (!strcmp(family, "lucidasans")) { X family = "lucida"; X } Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c ./jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c X--- ../orig/jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c 2009-05-14 23:41:34.000000000 -0400 X@@ -40,6 +40,7 @@ X #include X #include X #include X+#include X #include X X #include X@@ -51,6 +52,8 @@ X #include X #include "Trace.h" X X+#include "jvm_md.h" X+ X #ifdef NETSCAPE X #include X extern int awt_init_xt; X@@ -122,7 +125,7 @@ static char *x11GraphicsConfigClassName X */ X X #define MAXFRAMEBUFFERS 16 X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X typedef struct { X int screen_number; X short x_org; X@@ -631,19 +634,22 @@ void checkNewXineramaScreen(JNIEnv* env, X #endif /* HEADLESS */ X X #ifndef HEADLESS X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X static void xinerama_init_linux() X { X- void* libHandle = 0; X- char* XineramaLibName= "libXinerama.so.1"; X+ void* libHandle = NULL; X int32_t locNumScr = 0; X XineramaScreenInfo *xinInfo; X char* XineramaQueryScreensName = "XineramaQueryScreens"; X XineramaQueryScreensFunc* XineramaQueryScreens = NULL; X X /* load library */ X- libHandle = dlopen(XineramaLibName, RTLD_LAZY | RTLD_GLOBAL); X- if (libHandle != 0) { X+ libHandle = dlopen(VERSIONED_JNI_LIB_NAME("Xinerama", "1"), X+ RTLD_LAZY | RTLD_GLOBAL); X+ if (libHandle == NULL) { X+ libHandle = dlopen(JNI_LIB_NAME("Xinerama"), RTLD_LAZY | RTLD_GLOBAL); X+ } X+ if (libHandle != NULL) { X XineramaQueryScreens = (XineramaQueryScreensFunc*) X dlsym(libHandle, XineramaQueryScreensName); X X@@ -679,11 +685,10 @@ static void xinerama_init_linux() X } X } X #endif X-#ifndef __linux__ /* Solaris */ X+#if !defined(__linux__) && !defined(_ALLBSD_SOURCE) /* Solaris */ X static void xinerama_init_solaris() X { X- void* libHandle = 0; X- char* XineramaLibName= "libXext.so"; X+ void* libHandle = NULL; X unsigned char fbhints[MAXFRAMEBUFFERS]; X int32_t locNumScr = 0; X /* load and run XineramaGetInfo */ X@@ -692,8 +697,8 @@ static void xinerama_init_solaris() X XineramaGetInfoFunc* XineramaSolarisFunc = NULL; X X /* load library */ X- libHandle = dlopen(XineramaLibName, RTLD_LAZY | RTLD_GLOBAL); X- if (libHandle != 0) { X+ libHandle = dlopen(JNI_LIB_NAME("Xext"), RTLD_LAZY | RTLD_GLOBAL); X+ if (libHandle != NULL) { X XineramaSolarisFunc = (XineramaGetInfoFunc*)dlsym(libHandle, XineramaGetInfoName); X XineramaSolarisCenterFunc = X (XineramaGetCenterHintFunc*)dlsym(libHandle, XineramaGetCenterHintName); X@@ -740,11 +745,11 @@ static void xineramaInit(void) { X } X X DTRACE_PRINTLN("Xinerama extension is available"); X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X xinerama_init_linux(); X #else /* Solaris */ X xinerama_init_solaris(); X-#endif /* __linux__ */ X+#endif /* __linux__ || _ALLBSD_SOURCE */ X } X #endif /* HEADLESS */ X X@@ -1600,7 +1605,7 @@ Java_sun_awt_X11GraphicsEnvironment_getX X { X jobject point = NULL; X #ifndef HEADLESS /* return NULL in HEADLESS, Linux */ X-#ifndef __linux__ X+#if !defined(__linux__) && !defined(_ALLBSD_SOURCE) X int x,y; X X AWT_LOCK(); X@@ -1613,7 +1618,7 @@ Java_sun_awt_X11GraphicsEnvironment_getX X DTRACE_PRINTLN("unable to call XineramaSolarisCenterFunc: symbol is null"); X } X AWT_FLUSH_UNLOCK(); X-#endif /* __linux __ */ X+#endif /* __linux __ || _ALLBSD_SOURCE */ X #endif /* HEADLESS */ X return point; X } X@@ -1678,7 +1683,11 @@ X11GD_InitXrandrFuncs(JNIEnv *env) X { X int rr_maj_ver = 0, rr_min_ver = 0; X X- void *pLibRandR = dlopen("libXrandr.so.2", RTLD_LAZY | RTLD_LOCAL); X+ void *pLibRandR = dlopen(VERSIONED_JNI_LIB_NAME("Xrandr", "2"), X+ RTLD_LAZY | RTLD_LOCAL); X+ if (pLibRandR == NULL) { X+ pLibRandR = dlopen(JNI_LIB_NAME("Xrandr"), RTLD_LAZY | RTLD_LOCAL); X+ } X if (pLibRandR == NULL) { X J2dRlsTraceLn(J2D_TRACE_ERROR, X "X11GD_InitXrandrFuncs: Could not open libXrandr.so.2"); Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/awt/awt_InputMethod.c ./jdk/src/solaris/native/sun/awt/awt_InputMethod.c X--- ../orig/jdk/src/solaris/native/sun/awt/awt_InputMethod.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/awt/awt_InputMethod.c 2009-05-14 23:41:34.000000000 -0400 X@@ -69,7 +69,7 @@ static void PreeditDrawCallback(XIC, XPo X XIMPreeditDrawCallbackStruct *); X static void PreeditCaretCallback(XIC, XPointer, X XIMPreeditCaretCallbackStruct *); X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X static void StatusStartCallback(XIC, XPointer, XPointer); X static void StatusDoneCallback(XIC, XPointer, XPointer); X static void StatusDrawCallback(XIC, XPointer, X@@ -83,7 +83,7 @@ static void StatusDrawCallback(XIC, XPoi X #define PreeditDoneIndex 1 X #define PreeditDrawIndex 2 X #define PreeditCaretIndex 3 X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X #define StatusStartIndex 4 X #define StatusDoneIndex 5 X #define StatusDrawIndex 6 X@@ -101,14 +101,14 @@ static XIMProc callback_funcs[NCALLBACKS X (XIMProc)PreeditDoneCallback, X (XIMProc)PreeditDrawCallback, X (XIMProc)PreeditCaretCallback, X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X (XIMProc)StatusStartCallback, X (XIMProc)StatusDoneCallback, X (XIMProc)StatusDrawCallback, X #endif X }; X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X #define MAX_STATUS_LEN 100 X typedef struct { X Window w; /*status window id */ X@@ -148,7 +148,7 @@ typedef struct _X11InputMethodData { X #endif /* XAWT */ X jobject x11inputmethod; /* global ref to X11InputMethod instance */ X /* associated with the XIC */ X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X StatusWindow *statusWindow; /* our own status window */ X #else X #ifndef XAWT X@@ -427,7 +427,7 @@ destroyX11InputMethodData(JNIEnv *env, X X static void X freeX11InputMethodData(JNIEnv *env, X11InputMethodData *pX11IMData) X { X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X if (pX11IMData->statusWindow != NULL){ X StatusWindow *sw = pX11IMData->statusWindow; X XFreeGC(awt_display, sw->lightGC); X@@ -533,7 +533,7 @@ awt_x11inputmethod_lookupString(XKeyPres X pX11IMData = getX11InputMethodData(env, currentX11InputMethodInstance); X X if (pX11IMData == NULL) { X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X return False; X #else X return result; X@@ -541,7 +541,7 @@ awt_x11inputmethod_lookupString(XKeyPres X } X X if ((ic = pX11IMData->current_ic) == (XIC)0){ X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X return False; X #else X return result; X@@ -650,7 +650,7 @@ awt_x11inputmethod_lookupString(XKeyPres X return result; X } X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X static StatusWindow *createStatusWindow( X #ifdef XAWT X Window parent) { X@@ -994,7 +994,7 @@ void adjustStatusWindow(Widget shell){ X } X } X } X-#endif /*__linux__*/ X+#endif /* __linux__ || _ALLBSD_SOURCE */ X /* X * Creates two XICs, one for active clients and the other for passive X * clients. All information on those XICs are stored in the X@@ -1051,7 +1051,7 @@ createXIC(Widget w, X11InputMethodData * X return FALSE ; X } X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X on_the_spot_styles |= XIMStatusNothing; X X /*kinput does not support XIMPreeditCallbacks and XIMStatusArea X@@ -1064,7 +1064,7 @@ createXIC(Widget w, X11InputMethodData * X break; X } X } X-#else /*! __linux__ */ X+#else /*! __linux__ && !_ALLBSD_SOURCE */ X #ifdef XAWT X on_the_spot_styles |= XIMStatusNothing; X #else /* !XAWT */ X@@ -1087,7 +1087,7 @@ createXIC(Widget w, X11InputMethodData * X on_the_spot_styles |= XIMStatusNothing; X X #endif /* XAWT */ X-#endif /* __linux__ */ X+#endif /* __linux__ || _ALLBSD_SOURCE */ X X for (i = 0; i < im_styles->count_styles; i++) { X active_styles |= im_styles->supported_styles[i] & on_the_spot_styles; X@@ -1135,7 +1135,7 @@ createXIC(Widget w, X11InputMethodData * X NULL); X if (preedit == (XVaNestedList)NULL) X goto err; X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X /*always try XIMStatusCallbacks for active client...*/ X { X status = (XVaNestedList)XVaCreateNestedList(0, X@@ -1157,7 +1157,7 @@ createXIC(Widget w, X11InputMethodData * X XFree((void *)status); X XFree((void *)preedit); X } X-#else /* !__linux__ */ X+#else /* !__linux__ && !_ALLBSD_SOURCE */ X #ifndef XAWT X if (on_the_spot_styles & XIMStatusArea) { X Widget parent; X@@ -1185,7 +1185,7 @@ createXIC(Widget w, X11InputMethodData * X } X #endif /* XAWT */ X XFree((void *)preedit); X-#endif /* __linux__ */ X+#endif /* __linux__ || _ALLBSD_SOURCE */ X pX11IMData->ic_passive = XCreateIC(X11im, X XNClientWindow, XtWindow(w), X XNFocusWindow, XtWindow(w), X@@ -1344,7 +1344,7 @@ PreeditCaretCallback(XIC ic, XPointer cl X X } X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X static void X StatusStartCallback(XIC ic, XPointer client_data, XPointer call_data) X { X@@ -1412,7 +1412,7 @@ StatusDrawCallback(XIC ic, XPointer clie X finally: X AWT_UNLOCK(); X } X-#endif /*__linux__*/ X+#endif /* __linux__ || _ALLBSD_SOURCE */ X X static void CommitStringCallback(XIC ic, XPointer client_data, XPointer call_data) { X JNIEnv *env = GetJNIEnv(); X@@ -1522,14 +1522,14 @@ Java_sun_awt_motif_MInputMethod_openXIMN X /* Use IMInstantiate call back only on Linux, as there is a bug in Solaris X (4768335) X */ X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X registered = XRegisterIMInstantiateCallback(dpy, NULL, NULL, X NULL, (XIMProc)OpenXIMCallback, NULL); X if (!registered) { X /* directly call openXIM callback */ X #endif X OpenXIMCallback(dpy, NULL, NULL); X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X } X #endif X X@@ -1593,13 +1593,13 @@ Java_sun_awt_motif_MInputMethod_createXI X #endif /* XAWT */ X globalRef = (*env)->NewGlobalRef(env, this); X pX11IMData->x11inputmethod = globalRef; X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X pX11IMData->statusWindow = NULL; X-#else /* __linux__ */ X+#else /* !__linux__ && !_ALLBSD_SOURCE */ X #ifndef XAWT X pX11IMData->statusWidget = (Widget) NULL; X #endif /* XAWT */ X-#endif /* __linux__ */ X+#endif /* __linux__ || _ALLBSD_SOURCE */ X X pX11IMData->lookup_buf = 0; X pX11IMData->lookup_buf_len = 0; X@@ -1746,14 +1746,14 @@ Java_sun_awt_X11_XInputMethod_setXICFocu X setXICFocus(pX11IMData->current_ic, req); X currentX11InputMethodInstance = pX11IMData->x11inputmethod; X currentFocusWindow = XtWindow(w); X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X if (active && pX11IMData->statusWindow && pX11IMData->statusWindow->on) X onoffStatusWindow(pX11IMData, w, True); X #endif X } else { X currentX11InputMethodInstance = NULL; X currentFocusWindow = 0; X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X onoffStatusWindow(pX11IMData, 0, False); X if (pX11IMData->current_ic != NULL) X #endif X@@ -1770,7 +1770,7 @@ JNIEXPORT void JNICALL X Java_sun_awt_X11InputMethod_turnoffStatusWindow(JNIEnv *env, X jobject this) X { X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X X11InputMethodData *pX11IMData; X StatusWindow *statusWindow; X X@@ -1867,7 +1867,7 @@ Java_sun_awt_motif_MInputMethod_configur X X11InputMethodData *pX11IMData; X XVaNestedList status; X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X /*do nothing for linux? */ X #else X AWT_LOCK(); X@@ -1973,7 +1973,7 @@ JNIEXPORT jboolean JNICALL Java_sun_awt_ X JNIEXPORT void JNICALL Java_sun_awt_X11_XInputMethod_adjustStatusWindow X (JNIEnv *env, jobject this, jlong window) X { X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X AWT_LOCK(); X adjustStatusWindow(window); X AWT_UNLOCK(); Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/awt/awt_LoadLibrary.c ./jdk/src/solaris/native/sun/awt/awt_LoadLibrary.c X--- ../orig/jdk/src/solaris/native/sun/awt/awt_LoadLibrary.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/awt/awt_LoadLibrary.c 2009-05-14 23:41:34.000000000 -0400 X@@ -260,7 +260,11 @@ AWT_OnLoad(JavaVM *vm, void *reserved) X } X } X X+#ifdef __APPLE__ X+ strcat(p, ".dylib"); X+#else X strcat(p, ".so"); X+#endif X X JNU_CallStaticMethodByName(env, NULL, "java/lang/System", "load", X "(Ljava/lang/String;)V", Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/awt/awt_MToolkit.c ./jdk/src/solaris/native/sun/awt/awt_MToolkit.c X--- ../orig/jdk/src/solaris/native/sun/awt/awt_MToolkit.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/awt/awt_MToolkit.c 2009-05-14 23:41:34.000000000 -0400 X@@ -63,8 +63,9 @@ X extern JavaVM *jvm; X X #ifndef HEADLESS X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X extern void statusWindowEventHandler(XEvent event); X+Boolean awt_dnd_process_event(XEvent* event); X #endif X #endif /* !HEADLESS */ X X@@ -1642,7 +1643,7 @@ processOneEvent(XtInputMask iMask) { X */ X Widget widget=XtWindowToWidget(awt_display, xev.xany.window); X eventNumber++; X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X statusWindowEventHandler(xev); X #endif X xembed_eventHandler(&xev); Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/awt/awt_Mlib.c ./jdk/src/solaris/native/sun/awt/awt_Mlib.c X--- ../orig/jdk/src/solaris/native/sun/awt/awt_Mlib.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/awt/awt_Mlib.c 2009-05-14 23:41:34.000000000 -0400 X@@ -32,6 +32,7 @@ X #include X #include "jni.h" X #include X+#include "jvm_md.h" X #include "awt_Mlib.h" X #include "java_awt_image_BufferedImage.h" X X@@ -67,11 +68,11 @@ mlib_status awt_getImagingLib(JNIEnv *en X ((strncmp(name.machine, "sun4v" , 5) == 0) && X (getenv("USE_VIS_ON_SUN4V") != NULL))) X { X- handle = dlopen("libmlib_image_v.so", RTLD_LAZY); X+ handle = dlopen(JNI_LIB_NAME("mlib_image_v"), RTLD_LAZY); X } X X if (handle == NULL) { X- handle = dlopen("libmlib_image.so", RTLD_LAZY); X+ handle = dlopen(JNI_LIB_NAME("mlib_image"), RTLD_LAZY); X } X X if (handle == NULL) { Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/awt/awt_Robot.c ./jdk/src/solaris/native/sun/awt/awt_Robot.c X--- ../orig/jdk/src/solaris/native/sun/awt/awt_Robot.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/awt/awt_Robot.c 2009-05-14 23:41:34.000000000 -0400 X@@ -45,7 +45,7 @@ X #include "wsutils.h" X #include "list.h" X #include "multiVis.h" X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X #include X #endif X Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/awt/awt_util.h ./jdk/src/solaris/native/sun/awt/awt_util.h X--- ../orig/jdk/src/solaris/native/sun/awt/awt_util.h 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/awt/awt_util.h 2009-05-14 23:41:34.000000000 -0400 X@@ -187,15 +187,20 @@ JNU_GetCharField(JNIEnv *env, jobject se X #ifdef __solaris__ X extern Widget awt_util_getXICStatusAreaWindow(Widget w); X #else X+#if defined(_ALLBSD_SOURCE) X+int32_t awt_util_getIMStatusHeight(Widget vw); X+Widget awt_util_getXICStatusAreaWindow(Widget w); X+#else X int32_t awt_util_getIMStatusHeight(Widget vw); X XVaNestedList awt_util_getXICStatusAreaList(Widget w); X Widget awt_util_getXICStatusAreaWindow(Widget w); X #endif X+#endif X X X X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X typedef struct _XmImRefRec { X Cardinal num_refs; /* Number of referencing widgets. */ X Cardinal max_refs; /* Maximum length of refs array. */ Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/awt/awt_wm.c ./jdk/src/solaris/native/sun/awt/awt_wm.c X--- ../orig/jdk/src/solaris/native/sun/awt/awt_wm.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/awt/awt_wm.c 2009-05-14 23:41:34.000000000 -0400 X@@ -121,12 +121,19 @@ static Atom XA_KWM_WIN_ICONIFIED; X static Atom XA_KWM_WIN_MAXIMIZED; X X /* OpenLook */ X+static Atom _XA_OL_DECOR_ADD; X static Atom _XA_OL_DECOR_DEL; X static Atom _XA_OL_DECOR_HEADER; X static Atom _XA_OL_DECOR_RESIZE; X static Atom _XA_OL_DECOR_PIN; X static Atom _XA_OL_DECOR_CLOSE; X X+/* AfterStep */ X+static Atom _XA_AS_STYLE; X+ X+/* WindowMaker */ X+static Atom _XA_WINDOWMAKER_STATE; X+ X /* For _NET_WM_STATE ClientMessage requests */ X #define _NET_WM_STATE_REMOVE 0 /* remove/unset property */ X #define _NET_WM_STATE_ADD 1 /* add/set property */ X@@ -193,7 +200,12 @@ awt_wm_initAtoms(void) X { &_XA_OL_DECOR_HEADER, "_OL_DECOR_HEADER" }, X { &_XA_OL_DECOR_RESIZE, "_OL_DECOR_RESIZE" }, X { &_XA_OL_DECOR_PIN, "_OL_DECOR_PIN" }, X- { &_XA_OL_DECOR_CLOSE, "_OL_DECOR_CLOSE" } X+ { &_XA_OL_DECOR_CLOSE, "_OL_DECOR_CLOSE" }, X+ { &_XA_OL_DECOR_ADD, "_OL_DECOR_ADD" }, X+ X+ { &_XA_AS_STYLE, "_XA_AS_STYLE" }, X+ X+ { &_XA_WINDOWMAKER_STATE, "_XA_WINDOWMAKER_STATE" } X }; X #define ATOM_LIST_LENGTH (sizeof(atom_list)/sizeof(atom_list[0])) X X@@ -942,6 +954,39 @@ awt_wm_isMotif(void) X return True; X } X X+/* X+ * Window Maker. X+ */ X+static Boolean X+awt_wm_isWindowmaker() X+{ X+ if (awt_wm_atomInterned(&_XA_WINDOWMAKER_STATE, "_WINDOWMAKER_STATE")) X+ return True; X+ return False; X+} X+ X+/* X+ * Afterstep. X+ */ X+static Boolean X+awt_wm_isAfterstep() X+{ X+ if (awt_wm_atomInterned(&_XA_AS_STYLE, "_AS_STYLE")) X+ return True; X+ return False; X+} X+ X+/* X+ * FVWM 2. X+ */ X+static Boolean X+awt_wm_isFvwm2() X+{ X+ if (awt_wm_atomInterned(&_XA_OL_DECOR_ADD, "_OL_DECOR_ADD") X+ && !awt_wm_atomInterned(&_XA_OL_DECOR_PIN, "_OL_DECOR_PIN")) X+ return True; X+ return False; X+} X X static Boolean X awt_wm_isNetWMName(char *name) X@@ -1280,6 +1325,12 @@ awt_wm_getRunningWM(void) X else if (awt_wm_isKDE2()) { X awt_wmgr = KDE2_WM; X } X+ else if (awt_wm_isWindowmaker()) { X+ awt_wmgr = WINDOWMAKER_WM; X+ } X+ else if (awt_wm_isAfterstep()) { X+ awt_wmgr = AFTERSTEP_WM; X+ } X /* X * We don't check for legacy WM when we already know that WM X * supports WIN or _NET wm spec. X@@ -1302,6 +1353,9 @@ awt_wm_getRunningWM(void) X awt_wmgr = MOTIF_WM; X } X else if (awt_wm_isOpenLook()) { X+ awt_wmgr = OPENLOOK_WM; X+ } X+ else if (awt_wm_isFvwm2()) { X awt_wmgr = OPENLOOK_WM; X } X else { Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/awt/awt_wm.h ./jdk/src/solaris/native/sun/awt/awt_wm.h X--- ../orig/jdk/src/solaris/native/sun/awt/awt_wm.h 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/awt/awt_wm.h 2009-05-14 23:41:34.000000000 -0400 X@@ -45,7 +45,10 @@ enum wmgr_t { X KDE2_WM, X SAWFISH_WM, X ICE_WM, X- METACITY_WM X+ METACITY_WM, X+ AFTERSTEP_WM, X+ WINDOWMAKER_WM, X+ FVWM2_WM X }; X X extern void awt_wm_init(void); Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/awt/extutil.h ./jdk/src/solaris/native/sun/awt/extutil.h X--- ../orig/jdk/src/solaris/native/sun/awt/extutil.h 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/awt/extutil.h 2009-05-14 23:41:34.000000000 -0400 X@@ -58,7 +58,7 @@ in this Software without prior written a X */ X /* $XFree86: xc/include/extensions/extutil.h,v 1.5 2001/01/17 17:53:20 dawes Exp $ */ X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X X #ifndef _EXTUTIL_H_ X #define _EXTUTIL_H_ X@@ -248,4 +248,4 @@ char *proc (Display *dpy, int code, XExt X char *proc(Display *dpy, int code, XExtCodes *codes, char *buf, int n) X #endif X X-#endif /* __linux__ */ X+#endif /* __linux__ || _ALLBSD_SOURCE */ Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/awt/fontpath.c ./jdk/src/solaris/native/sun/awt/fontpath.c X--- ../orig/jdk/src/solaris/native/sun/awt/fontpath.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/awt/fontpath.c 2009-05-14 23:41:34.000000000 -0400 X@@ -23,7 +23,7 @@ X * have any questions. X */ X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X #include X #endif /* __linux__ */ X #include X@@ -40,6 +40,7 @@ X X #include X #include X+#include X #include X #ifndef HEADLESS X #include X@@ -58,10 +59,24 @@ X extern Display *awt_display; X #endif /* !HEADLESS */ X X+#ifdef __APPLE__ X+// XXXDARWIN: Hard-code the path to Apple's freetype, as it is X+// not included in the dyld search path by default, and 10.4 X+// does not support -rpath. X+// X+// This ignores the build time setting of ALT_FREETYPE_LIB_PATH, X+// and should be replaced with -rpath/@rpath support on 10.5 or later, X+// or via support for a the FREETYPE_LIB_PATH define. X+#define FONTCONFIG_DLL_VERSIONED X11_PATH "/lib/" VERSIONED_JNI_LIB_NAME("fontconfig", "1") X+#define FONTCONFIG_DLL X11_PATH "/lib/" JNI_LIB_NAME("fontconfig") X+#else X+#define FONTCONFIG_DLL_VERSIONED VERSIONED_JNI_LIB_NAME("fontconfig", "1") X+#define FONTCONFIG_DLL JNI_LIB_NAME("fontconfig") X+#endif X X #define MAXFDIRS 512 /* Max number of directories that contain fonts */ X X-#ifndef __linux__ X+#if !defined(__linux__) && !defined(_ALLBSD_SOURCE) X /* X * This can be set in the makefile to "/usr/X11" if so desired. X */ X@@ -111,24 +126,40 @@ static char *fullSolarisFontPath[] = { X NULL, /* terminates the list */ X }; X X+#elif _ALLBSD_SOURCE X+static char *fullBSDFontPath[] = { X+ X11_PATH "/lib/X11/fonts/TrueType", X+ X11_PATH "/lib/X11/fonts/truetype", X+ X11_PATH "/lib/X11/fonts/tt", X+ X11_PATH "/lib/X11/fonts/TTF", X+ X11_PATH "/lib/X11/fonts/OTF", X+ PACKAGE_PATH "/share/fonts/TrueType", X+ PACKAGE_PATH "/share/fonts/truetype", X+ PACKAGE_PATH "/share/fonts/tt", X+ PACKAGE_PATH "/share/fonts/TTF", X+ PACKAGE_PATH "/share/fonts/OTF", X+ X11_PATH "/lib/X11/fonts/Type1", X+ PACKAGE_PATH "/share/fonts/Type1", X+ NULL, /* terminates the list */ X+}; X #else /* __linux */ X /* All the known interesting locations we have discovered on X * various flavors of Linux X */ X static char *fullLinuxFontPath[] = { X- "/usr/X11R6/lib/X11/fonts/TrueType", /* RH 7.1+ */ X- "/usr/X11R6/lib/X11/fonts/truetype", /* SuSE */ X- "/usr/X11R6/lib/X11/fonts/tt", X- "/usr/X11R6/lib/X11/fonts/TTF", X- "/usr/X11R6/lib/X11/fonts/OTF", /* RH 9.0 (but empty!) */ X- "/usr/share/fonts/ja/TrueType", /* RH 7.2+ */ X- "/usr/share/fonts/truetype", X- "/usr/share/fonts/ko/TrueType", /* RH 9.0 */ X- "/usr/share/fonts/zh_CN/TrueType", /* RH 9.0 */ X- "/usr/share/fonts/zh_TW/TrueType", /* RH 9.0 */ X+ X11_PATH "/lib/X11/fonts/TrueType", /* RH 7.1+ */ X+ X11_PATH "/lib/X11/fonts/truetype", /* SuSE */ X+ X11_PATH "/lib/X11/fonts/tt", X+ X11_PATH "/lib/X11/fonts/TTF", X+ X11_PATH "/lib/X11/fonts/OTF", /* RH 9.0 (but empty!) */ X+ PACKAGE_PATH "/share/fonts/ja/TrueType", /* RH 7.2+ */ X+ PACKAGE_PATH "/share/fonts/truetype", X+ PACKAGE_PATH "/share/fonts/ko/TrueType", /* RH 9.0 */ X+ PACKAGE_PATH "/share/fonts/zh_CN/TrueType", /* RH 9.0 */ X+ PACKAGE_PATH "/share/fonts/zh_TW/TrueType", /* RH 9.0 */ X "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType", /* Debian */ X- "/usr/X11R6/lib/X11/fonts/Type1", X- "/usr/share/fonts/default/Type1", /* RH 9.0 */ X+ X11_PATH "/lib/X11/fonts/Type1", X+ PACKAGE_PATH "/share/fonts/default/Type1", /* RH 9.0 */ X NULL, /* terminates the list */ X }; X #endif X@@ -351,7 +382,7 @@ static char **getX11FontPath () X X #endif /* !HEADLESS */ X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X /* from awt_LoadLibrary.c */ X JNIEXPORT jboolean JNICALL AWTIsHeadless(); X #endif X@@ -476,8 +507,10 @@ static char *getPlatformFontPathChars(JN X */ X fcdirs = getFontConfigLocations(); X X-#ifdef __linux__ X+#if defined(__linux__) X knowndirs = fullLinuxFontPath; X+#elif defined(_ALLBSD_SOURCE) X+ knowndirs = fullBSDFontPath; X #else /* IF SOLARIS */ X knowndirs = fullSolarisFontPath; X #endif X@@ -488,7 +521,8 @@ static char *getPlatformFontPathChars(JN X * be initialised. X */ X #ifndef HEADLESS X-#ifdef __linux__ /* There's no headless build on linux ... */ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X+ /* There's no headless build on linux ... */ X if (!AWTIsHeadless()) { /* .. so need to call a function to check */ X #endif X AWT_LOCK(); X@@ -496,7 +530,7 @@ static char *getPlatformFontPathChars(JN X x11dirs = getX11FontPath(); X } X AWT_UNLOCK(); X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X } X #endif X #endif /* !HEADLESS */ X@@ -608,7 +642,7 @@ Java_sun_font_FontManager_populateFontFi X } X X #include X-#ifndef __linux__ /* i.e. is solaris */ X+#if !(defined(__linux__) || defined(__APPLE__)) X #include X #endif X X@@ -654,9 +688,9 @@ static void* openFontConfig() { X * certain symbols - and functionality - to be available. X * Also add explicit search for .so.1 in case .so symlink doesn't exist. X */ X- libfontconfig = dlopen("libfontconfig.so.1", RTLD_LOCAL|RTLD_LAZY); X+ libfontconfig = dlopen(FONTCONFIG_DLL_VERSIONED, RTLD_LOCAL|RTLD_LAZY); X if (libfontconfig == NULL) { X- libfontconfig = dlopen("libfontconfig.so", RTLD_LOCAL|RTLD_LAZY); X+ libfontconfig = dlopen(FONTCONFIG_DLL, RTLD_LOCAL|RTLD_LAZY); X if (libfontconfig == NULL) { X return NULL; X } Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/awt/gtk2_interface.c ./jdk/src/solaris/native/sun/awt/gtk2_interface.c X--- ../orig/jdk/src/solaris/native/sun/awt/gtk2_interface.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/awt/gtk2_interface.c 2009-05-14 23:41:34.000000000 -0400 X@@ -30,8 +30,9 @@ X #include X #include "gtk2_interface.h" X #include "java_awt_Transparency.h" X+#include "jvm_md.h" X X-#define GTK2_LIB "libgtk-x11-2.0.so.0" X+#define GTK2_LIB VERSIONED_JNI_LIB_NAME("gtk-x11-2.0", "0") X X #define G_TYPE_INVALID G_TYPE_MAKE_FUNDAMENTAL (0) X #define G_TYPE_NONE G_TYPE_MAKE_FUNDAMENTAL (1) Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/awt/list.c ./jdk/src/solaris/native/sun/awt/list.c X--- ../orig/jdk/src/solaris/native/sun/awt/list.c 2009-04-24 03:34:34.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/awt/list.c 2009-05-14 23:41:34.000000000 -0400 X@@ -66,7 +66,11 @@ from the X Consortium. X ----------------------------------------------------------------------- **/ X X #include X+#ifdef _ALLBSD_SOURCE X+#include X+#else X #include X+#endif X #include "list.h" X X Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/awt/robot_common.c ./jdk/src/solaris/native/sun/awt/robot_common.c X--- ../orig/jdk/src/solaris/native/sun/awt/robot_common.c 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/awt/robot_common.c 2009-05-14 23:41:34.000000000 -0400 X@@ -27,6 +27,9 @@ X #error This file should not be included in headless library X #endif X X+#ifdef _ALLBSD_SOURCE X+#include X+#endif X #include "robot_common.h" X X /* Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/font/X11FontScaler.c ./jdk/src/solaris/native/sun/font/X11FontScaler.c X--- ../orig/jdk/src/solaris/native/sun/font/X11FontScaler.c 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/font/X11FontScaler.c 2009-05-14 23:41:34.000000000 -0400 X@@ -32,7 +32,11 @@ X * into X11FontScaler_md.c, which is compiled into another library. X */ X #include X+#if defined(_ALLBSD_SOURCE) X+#include X+#else X #include X+#endif X #include X #include X Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/font/X11TextRenderer.c ./jdk/src/solaris/native/sun/font/X11TextRenderer.c X--- ../orig/jdk/src/solaris/native/sun/font/X11TextRenderer.c 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/font/X11TextRenderer.c 2009-05-14 23:41:34.000000000 -0400 X@@ -39,7 +39,11 @@ X #include "GraphicsPrimitiveMgr.h" X #include "glyphblitting.h" X #include "sunfontids.h" X+#if defined(_ALLBSD_SOURCE) X+#include X+#else X #include X+#endif X X X JNIEXPORT void JNICALL AWTDrawGlyphList Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/java2d/j2d_md.h ./jdk/src/solaris/native/sun/java2d/j2d_md.h X--- ../orig/jdk/src/solaris/native/sun/java2d/j2d_md.h 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/java2d/j2d_md.h 2009-05-14 23:41:34.000000000 -0400 X@@ -28,11 +28,11 @@ X #include X X /* X- * Linux version of does not define intptr_t X+ * Linux and BSD's version of does not define intptr_t X */ X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X #include X-#endif /* __linux__ */ X+#endif /* __linux__ || _ALLBSD_SOURCE */ X X typedef unsigned char jubyte; X typedef unsigned short jushort; Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/java2d/loops/mlib_ImageZoom_NN.c ./jdk/src/solaris/native/sun/java2d/loops/mlib_ImageZoom_NN.c X--- ../orig/jdk/src/solaris/native/sun/java2d/loops/mlib_ImageZoom_NN.c 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/java2d/loops/mlib_ImageZoom_NN.c 2009-05-14 23:41:34.000000000 -0400 X@@ -66,6 +66,10 @@ X * MLIB_EDGE_SRC_PADDED X */ X X+#ifdef __OpenBSD__ X+#include X+#endif X+#include X #include X #include X X@@ -102,7 +106,7 @@ typedef union { X X /***************************************************************/ X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X X static const mlib_u32 mlib_bit_mask4[16] = { X 0x00000000u, 0xFF000000u, 0x00FF0000u, 0xFFFF0000u, X@@ -111,7 +115,7 @@ static const mlib_u32 mlib_bit_mask4[16] X 0x0000FFFFu, 0xFF00FFFFu, 0x00FFFFFFu, 0xFFFFFFFFu X }; X X-#else /* _LITTLE_ENDIAN */ X+#else /* BIG_ENDIAN */ X X static const mlib_u32 mlib_bit_mask4[16] = { X 0x00000000u, 0x000000FFu, 0x0000FF00u, 0x0000FFFFu, X@@ -120,7 +124,7 @@ static const mlib_u32 mlib_bit_mask4[16] X 0xFFFF0000u, 0xFFFF00FFu, 0xFFFFFF00u, 0xFFFFFFFFu X }; X X-#endif /* _LITTLE_ENDIAN */ X+#endif /* LITTLE_ENDIAN */ X X /***************************************************************/ X X@@ -344,11 +348,11 @@ mlib_status mlib_ImageZoom_BIT_1_Nearest X #ifdef _NO_LONGLONG X X typedef struct { X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X mlib_u32 uint1, uint0; X-#else /* _LITTLE_ENDIAN */ X+#else /* BIG_ENDIAN */ X mlib_u32 uint0, uint1; X-#endif /* _LITTLE_ENDIAN */ X+#endif /* LITTLE_ENDIAN */ X } two_uint; X X /***************************************************************/ X@@ -511,11 +515,11 @@ mlib_status mlib_ImageZoom_BitToGray_1_N X DTYPE mask; X MASK(mask); X off *= 8; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X LSHIFT(dd_old, da[0], 64 - off); X-#else /* _LITTLE_ENDIAN */ X+#else /* BIG_ENDIAN */ X RSHIFT(dd_old, da[0], 64 - off); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* LITTLE_ENDIAN */ X X #ifdef __SUNPRO_C X #pragma pipeloop(0) X@@ -540,30 +544,30 @@ mlib_status mlib_ImageZoom_BitToGray_1_N X X res = (res & 0xff) | (res >> 8); X dd = gray_mask[res]; X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X /* *da++ = (dd_old >> (64 - off)) | (dd << off);*/ X RSHIFT(dd_old, dd_old, 64 - off); X LSHIFT(dtmp, dd, off); X-#else /* _LITTLE_ENDIAN */ X+#else /* BIG_ENDIAN */ X /* *da++ = (dd_old << (64 - off)) | (dd >> off);*/ X LSHIFT(dd_old, dd_old, 64 - off); X RSHIFT(dtmp, dd, off); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* LITTLE_ENDIAN */ X LOGIC(*da++, dd_old, dtmp, |); X dd_old = dd; X } X X-#ifdef _LITTLE_ENDIAN X+#if (BYTE_ORDER == LITTLE_ENDIAN) X /* da[0] = (dd_old >> (64 - off)) | (da[0] & ((mlib_u64)((mlib_s64) -1) << off));*/ X LSHIFT(dtmp, mask, off); X LOGIC(dtmp, da[0], dtmp, &); X RSHIFT(dtmp1, dd_old, 64 - off); X-#else /* _LITTLE_ENDIAN */ X+#else /* BIG_ENDIAN */ X /* da[0] = (dd_old << (64 - off)) | (da[0] & ((mlib_u64)((mlib_s64) -1) >> off));*/ X RSHIFT(dtmp, mask, off); X LOGIC(dtmp, da[0], dtmp, &); X LSHIFT(dtmp1, dd_old, 64 - off); X-#endif /* _LITTLE_ENDIAN */ X+#endif /* LITTLE_ENDIAN */ X LOGIC(da[0], dtmp, dtmp1, |); X } X else { /* aligned */ Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/java2d/loops/vis_FuncArray.c ./jdk/src/solaris/native/sun/java2d/loops/vis_FuncArray.c X--- ../orig/jdk/src/solaris/native/sun/java2d/loops/vis_FuncArray.c 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/java2d/loops/vis_FuncArray.c 2009-05-14 23:41:34.000000000 -0400 X@@ -794,7 +794,7 @@ static AnyFunc* hash_table_vis[HASH_SIZE X static int initialized; X static int usevis = JNI_TRUE; X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X # define ULTRA_CHIP "sparc64" X #else X # define ULTRA_CHIP "sun4u" Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/java2d/opengl/OGLFuncs_md.h ./jdk/src/solaris/native/sun/java2d/opengl/OGLFuncs_md.h X--- ../orig/jdk/src/solaris/native/sun/java2d/opengl/OGLFuncs_md.h 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/java2d/opengl/OGLFuncs_md.h 2009-05-14 23:41:34.000000000 -0400 X@@ -27,7 +27,10 @@ X #define OGLFuncs_md_h_Included X X #include X+#ifndef __APPLE__ X #include X+#endif X+#include "jvm_md.h" X #include "J2D_GL/glx.h" X #include "OGLFuncMacros.h" X X@@ -113,7 +116,7 @@ do { \ X { \ X char *libGLPath = getenv("J2D_ALT_LIBGL_PATH"); \ X if (libGLPath == NULL) { \ X- libGLPath = "libGL.so.1"; \ X+ libGLPath = VERSIONED_JNI_LIB_NAME("GL", "1"); \ X } \ X OGL_LIB_HANDLE = dlopen(libGLPath, RTLD_LAZY | RTLD_LOCAL); \ X } \ Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/java2d/x11/X11SurfaceData.c ./jdk/src/solaris/native/sun/java2d/x11/X11SurfaceData.c X--- ../orig/jdk/src/solaris/native/sun/java2d/x11/X11SurfaceData.c 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/java2d/x11/X11SurfaceData.c 2009-05-14 23:41:34.000000000 -0400 X@@ -32,6 +32,7 @@ X #include "gdefs.h" X X #include "jni_util.h" X+#include "jvm_md.h" X #include "awt_Component.h" X #include "awt_GraphicsEnv.h" X X@@ -128,7 +129,7 @@ Java_sun_java2d_x11_X11SurfaceData_initI X X if (tryDGA && (getenv("NO_J2D_DGA") == NULL)) { X /* we use RTLD_NOW because of bug 4032715 */ X- lib = dlopen("libsunwjdga.so", RTLD_NOW); X+ lib = dlopen(JNI_LIB_NAME("sunwjdga"), RTLD_NOW); X } X dgaAvailable = JNI_FALSE; X if (lib != NULL) { Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/jdga/dgalock.c ./jdk/src/solaris/native/sun/jdga/dgalock.c X--- ../orig/jdk/src/solaris/native/sun/jdga/dgalock.c 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/jdga/dgalock.c 2009-05-14 23:41:34.000000000 -0400 X@@ -44,6 +44,7 @@ X #include X X #include "jni.h" X+#include "jvm_md.h" X #include "jdga.h" X #include "jdgadevice.h" X X@@ -84,10 +85,10 @@ Drawable GetVirtualDrawableStub(Display X static GetVirtualDrawableFunc * GetVirtualDrawable = GetVirtualDrawableStub; X X static void Solaris_DGA_XineramaInit(Display *display) { X- void * handle = 0; X+ void * handle = NULL; X if (IsXineramaOn == NULL) { X- handle = dlopen("libxinerama.so", RTLD_NOW); X- if (handle != 0) { X+ handle = dlopen(JNI_LIB_NAME("xinerama"), RTLD_NOW); X+ if (handle != NULL) { X void *sym = dlsym(handle, "IsXineramaOn"); X IsXineramaOn = (IsXineramaOnFunc *)sym; X if (IsXineramaOn != 0 && (*IsXineramaOn)(display)) { Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/management/FileSystemImpl.c ./jdk/src/solaris/native/sun/management/FileSystemImpl.c X--- ../orig/jdk/src/solaris/native/sun/management/FileSystemImpl.c 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/management/FileSystemImpl.c 2009-05-14 23:41:34.000000000 -0400 X@@ -26,6 +26,10 @@ X #include X #include X X+#if defined(_ALLBSD_SOURCE) X+#include "largefile_bsd.h" X+#endif X+ X #include "jni.h" X #include "jni_util.h" X #include "sun_management_FileSystemImpl.h" Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/net/dns/ResolverConfigurationImpl.c ./jdk/src/solaris/native/sun/net/dns/ResolverConfigurationImpl.c X--- ../orig/jdk/src/solaris/native/sun/net/dns/ResolverConfigurationImpl.c 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/net/dns/ResolverConfigurationImpl.c 2009-05-14 23:41:34.000000000 -0400 X@@ -33,7 +33,7 @@ X #include X #endif X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X #include X #endif X Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/net/spi/DefaultProxySelector.c ./jdk/src/solaris/native/sun/net/spi/DefaultProxySelector.c X--- ../orig/jdk/src/solaris/native/sun/net/spi/DefaultProxySelector.c 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/net/spi/DefaultProxySelector.c 2009-05-14 23:41:34.000000000 -0400 X@@ -26,11 +26,12 @@ X #include "jni.h" X #include "jni_util.h" X #include "jvm.h" X+#include "jvm_md.h" X #include "jlong.h" X #include "sun_net_spi_DefaultProxySelector.h" X #include X #include X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X #include X #else X #include X@@ -109,8 +110,9 @@ Java_sun_net_spi_DefaultProxySelector_in X /** X * Let's try to load le GConf-2 library X */ X- if (dlopen("libgconf-2.so", RTLD_GLOBAL | RTLD_LAZY) != NULL || X- dlopen("libgconf-2.so.4", RTLD_GLOBAL | RTLD_LAZY) != NULL) { X+ if (dlopen(JNI_LIB_NAME("gconf-2"), RTLD_GLOBAL | RTLD_LAZY) != NULL || X+ dlopen(VERSIONED_JNI_LIB_NAME("gconf-2", "4"), X+ RTLD_GLOBAL | RTLD_LAZY) != NULL) { X gconf_ver = 2; X } X if (gconf_ver > 0) { Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/nio/ch/DatagramChannelImpl.c ./jdk/src/solaris/native/sun/nio/ch/DatagramChannelImpl.c X--- ../orig/jdk/src/solaris/native/sun/nio/ch/DatagramChannelImpl.c 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/nio/ch/DatagramChannelImpl.c 2009-05-14 23:41:34.000000000 -0400 X@@ -35,7 +35,7 @@ X #include X #include X X-#if __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X #include X #endif X X@@ -86,7 +86,7 @@ Java_sun_nio_ch_DatagramChannelImpl_disc X rv = connect(fd, 0, 0); X #endif X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X { X int len; X SOCKADDR sa; X@@ -96,17 +96,30 @@ Java_sun_nio_ch_DatagramChannelImpl_disc X #ifdef AF_INET6 X if (ipv6_available()) { X struct sockaddr_in6 *him6 = (struct sockaddr_in6 *)&sa; X+#if defined(_ALLBSD_SOURCE) X+ him6->sin6_family = AF_INET6; X+#else X him6->sin6_family = AF_UNSPEC; X+#endif X len = sizeof(struct sockaddr_in6); X } else X #endif X { X struct sockaddr_in *him4 = (struct sockaddr_in*)&sa; X+#if defined(_ALLBSD_SOURCE) X+ him4->sin_family = AF_INET; X+#else X him4->sin_family = AF_UNSPEC; X+#endif X len = sizeof(struct sockaddr_in); X } X X rv = connect(fd, (struct sockaddr *)&sa, len); X+ X+#if defined(_ALLBSD_SOURCE) X+ if (rv < 0 && errno == EADDRNOTAVAIL) X+ rv = errno = 0; X+#endif X } X #endif X Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/nio/ch/FileChannelImpl.c ./jdk/src/solaris/native/sun/nio/ch/FileChannelImpl.c X--- ../orig/jdk/src/solaris/native/sun/nio/ch/FileChannelImpl.c 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/nio/ch/FileChannelImpl.c 2009-05-14 23:41:34.000000000 -0400 X@@ -26,15 +26,21 @@ X #include "jni.h" X #include "jni_util.h" X #include "jvm.h" X+#include "jvm_md.h" X #include "jlong.h" X #include X #include X+#include X #include "sun_nio_ch_FileChannelImpl.h" X #include "java_lang_Integer.h" X #include "nio.h" X #include "nio_util.h" X #include X X+#if defined(_ALLBSD_SOURCE) X+#include "largefile_bsd.h" X+#endif X+ X static jfieldID chan_fd; /* jobject 'fd' in sun.io.FileChannelImpl */ X X #ifdef __solaris__ X@@ -59,6 +65,10 @@ sendfile_func* my_sendfile_func = NULL; X typedef ssize_t sendfile64_func(int out_fd, int in_fd, off64_t *offset, size_t count); X X sendfile64_func* my_sendfile64_func = NULL; X+#elif defined(_ALLBSD_SOURCE) X+#include X+#include X+#include X #endif X X JNIEXPORT jlong JNICALL X@@ -68,7 +78,8 @@ Java_sun_nio_ch_FileChannelImpl_initIDs( X chan_fd = (*env)->GetFieldID(env, clazz, "fd", "Ljava/io/FileDescriptor;"); X X #ifdef __solaris__ X- if (dlopen("/usr/lib/libsendfile.so.1", RTLD_GLOBAL | RTLD_LAZY) != NULL) { X+ if (dlopen("/usr/lib/" VERSIONED_JNI_LIB_NAME("sendfile", "1"), X+ RTLD_GLOBAL | RTLD_LAZY) != NULL) { X my_sendfile_func = (sendfile_func*) dlsym(RTLD_DEFAULT, "sendfilev64"); X } X #endif X@@ -278,6 +289,58 @@ Java_sun_nio_ch_FileChannelImpl_transfer X return result; X } X #endif X+ X+#ifdef _ALLBSD_SOURCE X+ /* X+ * XXXBSD: make sure that we're returning what java class may understand X+ * X+ * XXXBSD: I'd prefer to have it implemented with sendfile(), but since X+ * FreeBSD's sendfile() is only supposed to be used in file->socket X+ * schema we need to provide some kind of fall-back operation, if X+ * sendfile() failed with ENOTSOCK error only. X+ */ X+ void *buf; X+ off_t offset = (off_t)position; X+ int r, w = 0; X+ X+ buf = malloc(4096); X+ if (buf == NULL) { X+ JNU_ThrowOutOfMemoryError(env, "heap allocation failed"); X+ return IOS_THROWN; X+ } X+ X+ while ((r = pread(srcFD, buf, 4096, offset)) > 0) { X+ w = write(dstFD, buf, r); X+ if (w == -1) X+ break; X+ offset += w; X+ } X+ free(buf); X+ X+ /* X+ * Similar to solaris if we've transferred any data return X+ * the number of bytes and ignore any error X+ */ X+ if (offset - (off_t)position > 0) X+ return (offset - (off_t)position); X+ X+ /* X+ * Deal with NBIO EAGAIN & EINTR the same as solaris. X+ */ X+ if (r == -1 || w == -1) { X+ switch (errno) { X+ case EAGAIN: X+ return IOS_UNAVAILABLE; X+ case EINTR: X+ return IOS_INTERRUPTED; X+ default: X+ JNU_ThrowIOExceptionWithLastError(env, "Transfer failed"); X+ return IOS_THROWN; X+ } X+ } X+ X+ return (0); X+#endif X } X X JNIEXPORT jint JNICALL X@@ -329,6 +392,23 @@ Java_sun_nio_ch_FileChannelImpl_release0 X fl.l_start = (off64_t)pos; X fl.l_type = F_UNLCK; X lockResult = fcntl(fd, cmd, &fl); X+#if defined(__FreeBSD__) || defined(__OpenBSD__) X+ /* XXXFREEBSD: While doing of preClose0() we're closing actual fd which X+ was locked, so here we'll get an error which need to be ignored to X+ satisfy TCK FileLock test */ X+ /* XXXFREEBSD: backport to 1.4.2 */ X+ if (lockResult < 0 && errno == EBADF) X+ lockResult = errno = 0; X+#endif X+#if defined(__NetBSD__) X+ /* XXXNETBSD: The dup2 in preClose0 is being done onto 1 end of a X+ socketpair which isn't a valid target for F_UNLCK. No good way to see X+ this vs. a bad lock setup so just return errno = 0 there X+ to pass JCK (lock will get removed once all fd's close anyways) */ X+ /* XXXNETBSD: backport to 1.4.2 */ X+ if (lockResult < 0 && errno == EINVAL) X+ lockResult = errno = 0; X+#endif X if (lockResult < 0) { X JNU_ThrowIOExceptionWithLastError(env, "Release failed"); X } Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/nio/ch/FileDispatcher.c ./jdk/src/solaris/native/sun/nio/ch/FileDispatcher.c X--- ../orig/jdk/src/solaris/native/sun/nio/ch/FileDispatcher.c 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/nio/ch/FileDispatcher.c 2009-05-14 23:41:34.000000000 -0400 X@@ -32,8 +32,12 @@ X #include X #include X #include X+#include X #include "nio_util.h" X X+#if defined(_ALLBSD_SOURCE) X+#include "largefile_bsd.h" X+#endif X X static int preCloseFD = -1; /* File descriptor to which we dup other fd's X before closing them for real */ Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/nio/ch/FileKey.c ./jdk/src/solaris/native/sun/nio/ch/FileKey.c X--- ../orig/jdk/src/solaris/native/sun/nio/ch/FileKey.c 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/nio/ch/FileKey.c 2009-05-14 23:41:34.000000000 -0400 X@@ -30,6 +30,10 @@ X #include "nio_util.h" X #include "sun_nio_ch_FileKey.h" X X+#if defined(_ALLBSD_SOURCE) X+#include "largefile_bsd.h" X+#endif X+ X static jfieldID key_st_dev; /* id for FileKey.st_dev */ X static jfieldID key_st_ino; /* id for FileKey.st_ino */ X Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/nio/ch/Net.c ./jdk/src/solaris/native/sun/nio/ch/Net.c X--- ../orig/jdk/src/solaris/native/sun/nio/ch/Net.c 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/nio/ch/Net.c 2009-05-14 23:41:34.000000000 -0400 X@@ -140,8 +140,31 @@ Java_sun_nio_ch_Net_localPort(JNIEnv *en X SOCKADDR sa; X int sa_len = SOCKADDR_LEN; X if (getsockname(fdval(env, fdo), (struct sockaddr *)&sa, &sa_len) < 0) { X+#ifdef _ALLBSD_SOURCE X+ /* X+ * XXXBSD: X+ * ECONNRESET is specific to the BSDs. We can not return an error, X+ * as the calling Java code with raise a java.lang.Error given the expectation X+ * that getsockname() will never fail. According to the Single UNIX Specification, X+ * it shouldn't fail. As such, we just fill in generic Linux-compatible values. X+ */ X+ if (errno == ECONNRESET) { X+ struct sockaddr_in *sin; X+ sin = (struct sockaddr_in *) &sa; X+ bzero(sin, sizeof(*sin)); X+ sin->sin_len = sizeof(struct sockaddr_in); X+ sin->sin_family = AF_INET; X+ sin->sin_port = htonl(0); X+ sin->sin_addr.s_addr = INADDR_ANY; X+ } else { X+ handleSocketError(env, errno); X+ return -1; X+ } X+#else /* _ALLBSD_SOURCE */ X handleSocketError(env, errno); X return -1; X+#endif /* _ALLBSD_SOURCE */ X+ X } X return NET_GetPortFromSockaddr((struct sockaddr *)&sa); X } X@@ -153,12 +176,76 @@ Java_sun_nio_ch_Net_localInetAddress(JNI X int sa_len = SOCKADDR_LEN; X int port; X if (getsockname(fdval(env, fdo), (struct sockaddr *)&sa, &sa_len) < 0) { X- handleSocketError(env, errno); X- return NULL; X+#ifdef _ALLBSD_SOURCE X+ /* X+ * XXXBSD: X+ * ECONNRESET is specific to the BSDs. We can not return an error, X+ * as the calling Java code with raise a java.lang.Error with the expectation X+ * that getsockname() will never fail. According to the Single UNIX Specification, X+ * it shouldn't fail. As such, we just fill in generic Linux-compatible values. X+ */ X+ if (errno == ECONNRESET) { X+ struct sockaddr_in *sin; X+ sin = (struct sockaddr_in *) &sa; X+ bzero(sin, sizeof(*sin)); X+ sin->sin_len = sizeof(struct sockaddr_in); X+ sin->sin_family = AF_INET; X+ sin->sin_port = htonl(0); X+ sin->sin_addr.s_addr = INADDR_ANY; X+ } else { X+ handleSocketError(env, errno); X+ return NULL; X+ } X+#else /* _ALLBSD_SOURCE */ X+ handleSocketError(env, errno); X+ return NULL; X+#endif /* _ALLBSD_SOURCE */ X+ X } X return NET_SockaddrToInetAddress(env, (struct sockaddr *)&sa, &port); X } X X+#ifdef _ALLBSD_SOURCE X+ X+#ifndef IP_BLOCK_SOURCE X+ X+#define IP_ADD_SOURCE_MEMBERSHIP 70 /* join a source-specific group */ X+#define IP_DROP_SOURCE_MEMBERSHIP 71 /* drop a single source */ X+#define IP_BLOCK_SOURCE 72 /* block a source */ X+#define IP_UNBLOCK_SOURCE 73 /* unblock a source */ X+ X+#endif /* IP_BLOCK_SOURCE */ X+ X+#ifndef MCAST_BLOCK_SOURCE X+ X+#define MCAST_JOIN_SOURCE_GROUP 82 /* join a source-specific group */ X+#define MCAST_LEAVE_SOURCE_GROUP 83 /* leave a single source */ X+#define MCAST_BLOCK_SOURCE 84 /* block a source */ X+#define MCAST_UNBLOCK_SOURCE 85 /* unblock a source */ X+ X+#endif /* MCAST_BLOCK_SOURCE */ X+ X+#ifndef IPV6_ADD_MEMBERSHIP X+ X+#define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP X+#define IPV6_DROP_MEMBERSHIP IPV6_LEAVE_GROUP X+ X+#endif /* IPV6_ADD_MEMBERSHIP */ X+ X+struct my_ip_mreq_source { X+ struct in_addr imr_multiaddr; X+ struct in_addr imr_interface; X+ struct in_addr imr_sourceaddr; X+}; X+ X+struct my_group_source_req { X+ uint32_t gsr_interface; /* interface index */ X+ struct sockaddr_storage gsr_group; /* group address */ X+ struct sockaddr_storage gsr_source; /* source address */ X+}; X+ X+#endif /* _ALLBSD_SOURCE */ X+ X X #ifdef NEEDED X X@@ -224,7 +311,7 @@ Java_sun_nio_ch_Net_getIntOption0(JNIEnv X int result; X struct linger linger; X void *arg; X- int arglen; X+ socklen_t arglen; X X if (NET_MapSocketOption(opt, &klevel, &kopt) < 0) { X JNU_ThrowByNameWithLastError(env, X@@ -262,7 +349,7 @@ Java_sun_nio_ch_Net_setIntOption0(JNIEnv X int result; X struct linger linger; X void *parg; X- int arglen; X+ socklen_t arglen; X X if (NET_MapSocketOption(opt, &klevel, &kopt) < 0) { X JNU_ThrowByNameWithLastError(env, X@@ -304,9 +391,11 @@ handleSocketError(JNIEnv *env, jint erro X switch (errorValue) { X case EINPROGRESS: /* Non-blocking connect */ X return 0; X+#ifdef EPROTO X case EPROTO: X xn = JNU_JAVANETPKG "ProtocolException"; X break; X+#endif X case ECONNREFUSED: X xn = JNU_JAVANETPKG "ConnectException"; X break; Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/security/jgss/wrapper/NativeFunc.c ./jdk/src/solaris/native/sun/security/jgss/wrapper/NativeFunc.c X--- ../orig/jdk/src/solaris/native/sun/security/jgss/wrapper/NativeFunc.c 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/security/jgss/wrapper/NativeFunc.c 2009-05-14 23:41:34.000000000 -0400 X@@ -26,7 +26,9 @@ X #include X #include X #include X+#ifndef __APPLE__ X #include X+#endif X #include "NativeFunc.h" X X /* standard GSS method names (ordering is from mapfile) */ Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.c ./jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.c X--- ../orig/jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.c 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.c 2009-05-14 23:41:34.000000000 -0400 X@@ -28,12 +28,19 @@ X #include X X #include X+#ifndef __APPLE__ X #include X+#endif X X #include X X #include "j2secmod.h" X X+#ifndef RTLD_NOLOAD X+/* A gross hack that will work if the NSS library is only opened once */ X+static void *nssLibHandle = NULL; X+#endif X+ X void *findFunction(JNIEnv *env, jlong jHandle, const char *functionName) { X void *hModule = (void*)jHandle; X void *fAddress = dlsym(hModule, functionName); X@@ -51,7 +58,11 @@ JNIEXPORT jlong JNICALL Java_sun_securit X { X const char *libName = (*env)->GetStringUTFChars(env, jLibName, NULL); X // look up existing handle only, do not load X+#ifdef RTLD_NOLOAD X void *hModule = dlopen(libName, RTLD_NOLOAD); X+#else X+ void *hModule = nssLibHandle; X+#endif X dprintf2("-handle for %s: %u\n", libName, hModule); X (*env)->ReleaseStringUTFChars(env, jLibName, libName); X return (jlong)hModule; X@@ -65,6 +76,9 @@ JNIEXPORT jlong JNICALL Java_sun_securit X X dprintf1("-lib %s\n", libName); X hModule = dlopen(libName, RTLD_LAZY); X+#ifndef RTLD_NOLOAD X+ nssLibHandle = hModule; X+#endif X (*env)->ReleaseStringUTFChars(env, jLibName, libName); X dprintf2("-handle: %u (0X%X)\n", hModule, hModule); X Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/security/pkcs11/wrapper/p11_md.c ./jdk/src/solaris/native/sun/security/pkcs11/wrapper/p11_md.c X--- ../orig/jdk/src/solaris/native/sun/security/pkcs11/wrapper/p11_md.c 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/security/pkcs11/wrapper/p11_md.c 2009-05-14 23:41:34.000000000 -0400 X@@ -64,7 +64,9 @@ X #include X X #include X+#ifndef __APPLE__ X #include X+#endif X X #include X Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/security/smartcardio/pcsc_md.c ./jdk/src/solaris/native/sun/security/smartcardio/pcsc_md.c X--- ../orig/jdk/src/solaris/native/sun/security/smartcardio/pcsc_md.c 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/security/smartcardio/pcsc_md.c 2009-05-14 23:41:34.000000000 -0400 X@@ -29,7 +29,9 @@ X #include X X #include X+#ifndef __APPLE__ X #include X+#endif X X #include X Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/tools/attach/BsdVirtualMachine.c ./jdk/src/solaris/native/sun/tools/attach/BsdVirtualMachine.c X--- ../orig/jdk/src/solaris/native/sun/tools/attach/BsdVirtualMachine.c 2009-05-14 23:40:17.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/tools/attach/BsdVirtualMachine.c 2009-05-14 23:41:34.000000000 -0400 X@@ -35,10 +35,10 @@ X #include X #include X #include X-#include X #include X #include X #include X+#include X X #include "sun_tools_attach_BsdVirtualMachine.h" X X@@ -49,85 +49,6 @@ X } while(0) X X /* X- * Defines a callback that is invoked for each process X- */ X-typedef void (*ProcessCallback)(const pid_t pid, void* user_data); X- X-/* X- * Invokes the callback function for each process X- */ X-static void forEachProcess(ProcessCallback f, void* user_data) { X- DIR* dir; X- struct dirent* ptr; X- X- /* X- * To locate the children we scan /proc looking for files that have a X- * position integer as a filename. X- */ X- if ((dir = opendir("/proc")) == NULL) { X- return; X- } X- while ((ptr = readdir(dir)) != NULL) { X- pid_t pid; X- X- /* skip current/parent directories */ X- if (strcmp(ptr->d_name, ".") == 0 || strcmp(ptr->d_name, "..") == 0) { X- continue; X- } X- X- /* skip files that aren't numbers */ X- pid = (pid_t)atoi(ptr->d_name); X- if ((int)pid <= 0) { X- continue; X- } X- X- /* invoke the callback */ X- (*f)(pid, user_data); X- } X- closedir(dir); X-} X- X- X-/* X- * Returns the parent pid of a given pid, or -1 if not found X- */ X-static pid_t getParent(pid_t pid) { X- char state; X- FILE* fp; X- char stat[2048]; X- int statlen; X- char fn[32]; X- int i, p; X- char* s; X- X- /* X- * try to open /proc/%d/stat X- */ X- sprintf(fn, "/proc/%d/stat", pid); X- fp = fopen(fn, "r"); X- if (fp == NULL) { X- return -1; X- } X- X- /* X- * The format is: pid (command) state ppid ... X- * As the command could be anything we must find the right most X- * ")" and then skip the white spaces that follow it. X- */ X- statlen = fread(stat, 1, 2047, fp); X- stat[statlen] = '\0'; X- fclose(fp); X- s = strrchr(stat, ')'); X- if (s == NULL) { X- return -1; X- } X- do s++; while (isspace(*s)); X- i = sscanf(s, "%c %d", &state, &p); X- return (pid_t)p; X-} X- X- X-/* X * Class: sun_tools_attach_BsdVirtualMachine X * Method: socket X * Signature: ()I X@@ -188,146 +109,6 @@ JNIEXPORT void JNICALL Java_sun_tools_at X X /* X * Class: sun_tools_attach_BsdVirtualMachine X- * Method: isBsdThreads X- * Signature: ()V X- */ X-JNIEXPORT jboolean JNICALL Java_sun_tools_attach_BsdVirtualMachine_isBsdThreads X- (JNIEnv *env, jclass cls) X-{ X-# ifndef _CS_GNU_LIBPTHREAD_VERSION X-# define _CS_GNU_LIBPTHREAD_VERSION 3 X-# endif X- size_t n; X- char* s; X- jboolean res; X- X- n = confstr(_CS_GNU_LIBPTHREAD_VERSION, NULL, 0); X- if (n <= 0) { X- /* glibc before 2.3.2 only has BsdThreads */ X- return JNI_TRUE; X- } X- X- s = (char *)malloc(n); X- if (s == NULL) { X- JNU_ThrowOutOfMemoryError(env, "malloc failed"); X- return JNI_TRUE; X- } X- confstr(_CS_GNU_LIBPTHREAD_VERSION, s, n); X- X- /* X- * If the LIBPTHREAD version include "NPTL" then we know we X- * have the new threads library and not BsdThreads X- */ X- res = (jboolean)(strstr(s, "NPTL") == NULL); X- free(s); X- return res; X-} X- X-/* X- * Structure and callback function used to count the children of X- * a given process, and record the pid of the "manager thread". X- */ X-typedef struct { X- pid_t ppid; X- int count; X- pid_t mpid; X-} ChildCountContext; X- X-static void ChildCountCallback(const pid_t pid, void* user_data) { X- ChildCountContext* context = (ChildCountContext*)user_data; X- if (getParent(pid) == context->ppid) { X- context->count++; X- /* X- * Remember the pid of the first child. If the final count is X- * one then this is the pid of the BsdThreads manager. X- */ X- if (context->count == 1) { X- context->mpid = pid; X- } X- } X-} X- X-/* X- * Class: sun_tools_attach_BsdVirtualMachine X- * Method: getBsdThreadsManager X- * Signature: (I)I X- */ X-JNIEXPORT jint JNICALL Java_sun_tools_attach_BsdVirtualMachine_getBsdThreadsManager X- (JNIEnv *env, jclass cls, jint pid) X-{ X- ChildCountContext context; X- X- /* X- * Iterate over all processes to find how many children 'pid' has X- */ X- context.ppid = pid; X- context.count = 0; X- context.mpid = (pid_t)0; X- forEachProcess(ChildCountCallback, (void*)&context); X- X- /* X- * If there's no children then this is likely the pid of the primordial X- * created by the launcher - in that case the BsdThreads manager is the X- * parent of this process. X- */ X- if (context.count == 0) { X- pid_t parent = getParent(pid); X- if ((int)parent > 0) { X- return (jint)parent; X- } X- } X- X- /* X- * There's one child so this is likely the embedded VM case where the X- * the primordial thread == BsdThreads initial thread. The BsdThreads X- * manager in that case is the child. X- */ X- if (context.count == 1) { X- return (jint)context.mpid; X- } X- X- /* X- * If we get here it's most likely we were given the wrong pid X- */ X- JNU_ThrowIOException(env, "Unable to get pid of BsdThreads manager thread"); X- return -1; X-} X- X-/* X- * Structure and callback function used to send a QUIT signal to all X- * children of a given process X- */ X-typedef struct { X- pid_t ppid; X-} SendQuitContext; X- X-static void SendQuitCallback(const pid_t pid, void* user_data) { X- SendQuitContext* context = (SendQuitContext*)user_data; X- pid_t parent = getParent(pid); X- if (parent == context->ppid) { X- kill(pid, SIGQUIT); X- } X-} X- X-/* X- * Class: sun_tools_attach_BsdVirtualMachine X- * Method: sendQuitToChildrenOf X- * Signature: (I)V X- */ X-JNIEXPORT void JNICALL Java_sun_tools_attach_BsdVirtualMachine_sendQuitToChildrenOf X- (JNIEnv *env, jclass cls, jint pid) X-{ X- SendQuitContext context; X- context.ppid = (pid_t)pid; X- X- /* X- * Iterate over all children of 'pid' and send a QUIT signal to each. X- */ X- forEachProcess(SendQuitCallback, (void*)&context); X-} X- X-/* X- * Class: sun_tools_attach_BsdVirtualMachine X * Method: sendQuitTo X * Signature: (I)V X */ X@@ -350,7 +131,7 @@ JNIEXPORT void JNICALL Java_sun_tools_at X jboolean isCopy; X const char* p = GetStringPlatformChars(env, path, &isCopy); X if (p != NULL) { X- struct stat64 sb; X+ struct stat sb; X uid_t uid, gid; X int res; X X@@ -361,7 +142,7 @@ JNIEXPORT void JNICALL Java_sun_tools_at X uid = geteuid(); X gid = getegid(); X X- res = stat64(p, &sb); X+ res = stat(p, &sb); X if (res != 0) { X /* save errno */ X res = errno; X@@ -459,3 +240,40 @@ JNIEXPORT void JNICALL Java_sun_tools_at X X } while (remaining > 0); X } X+ X+/* X+ * Class: sun_tools_attach_BSDVirtualMachine X+ * Method: createAttachFile X+ * Signature: (Ljava.lang.String;)V X+ */ X+JNIEXPORT void JNICALL Java_sun_tools_attach_BsdVirtualMachine_createAttachFile(JNIEnv *env, jclass cls, jstring path) X+{ X+ const char* _path; X+ jboolean isCopy; X+ int fd, rc; X+ X+ _path = GetStringPlatformChars(env, path, &isCopy); X+ if (_path == NULL) { X+ JNU_ThrowIOException(env, "Must specify a path"); X+ return; X+ } X+ X+ RESTARTABLE(open(_path, O_CREAT | O_EXCL, S_IWUSR | S_IRUSR), fd); X+ if (fd == -1) { X+ /* release p here before we throw an I/O exception */ X+ if (isCopy) { X+ JNU_ReleaseStringPlatformChars(env, path, _path); X+ } X+ JNU_ThrowIOExceptionWithLastError(env, "open"); X+ return; X+ } X+ X+ RESTARTABLE(chown(_path, geteuid(), getegid()), rc); X+ X+ RESTARTABLE(close(fd), rc); X+ X+ /* release p here */ X+ if (isCopy) { X+ JNU_ReleaseStringPlatformChars(env, path, _path); X+ } X+} Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/xawt/XWindow.c ./jdk/src/solaris/native/sun/xawt/XWindow.c X--- ../orig/jdk/src/solaris/native/sun/xawt/XWindow.c 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/xawt/XWindow.c 2009-05-14 23:41:34.000000000 -0400 X@@ -228,10 +228,10 @@ KeymapEntry keymapTable[] = X {java_awt_event_KeyEvent_VK_DOWN, XK_Down, FALSE, java_awt_event_KeyEvent_KEY_LOCATION_STANDARD}, X X /* Keypad equivalents of Triangular Navigation Block */ X- {java_awt_event_KeyEvent_VK_KP_LEFT, XK_KP_Left, FALSE, java_awt_event_KeyEvent_KEY_LOCATION_NUMPAD}, X- {java_awt_event_KeyEvent_VK_KP_UP, XK_KP_Up, FALSE, java_awt_event_KeyEvent_KEY_LOCATION_NUMPAD}, X- {java_awt_event_KeyEvent_VK_KP_RIGHT, XK_KP_Right, FALSE, java_awt_event_KeyEvent_KEY_LOCATION_NUMPAD}, X- {java_awt_event_KeyEvent_VK_KP_DOWN, XK_KP_Down, FALSE, java_awt_event_KeyEvent_KEY_LOCATION_NUMPAD}, X+ {java_awt_event_KeyEvent_VK_LEFT, XK_KP_Left, FALSE, java_awt_event_KeyEvent_KEY_LOCATION_NUMPAD}, X+ {java_awt_event_KeyEvent_VK_UP, XK_KP_Up, FALSE, java_awt_event_KeyEvent_KEY_LOCATION_NUMPAD}, X+ {java_awt_event_KeyEvent_VK_RIGHT, XK_KP_Right, FALSE, java_awt_event_KeyEvent_KEY_LOCATION_NUMPAD}, X+ {java_awt_event_KeyEvent_VK_DOWN, XK_KP_Down, FALSE, java_awt_event_KeyEvent_KEY_LOCATION_NUMPAD}, X X /* Other vendor-specific Triangular Navigation Block */ X {java_awt_event_KeyEvent_VK_LEFT, osfXK_Left, FALSE, java_awt_event_KeyEvent_KEY_LOCATION_STANDARD}, X@@ -865,7 +865,7 @@ handleKeyEventWithNumLockMask(XEvent *ev X { X KeySym originalKeysym = *keysym; X X-#ifndef __linux__ X+#if !defined(__linux__) && !defined(_ALLBSD_SOURCE) X /* The following code on Linux will cause the keypad keys X * not to echo on JTextField when the NumLock is on. The X * keysyms will be 0, because the last parameter 2 is not defined. Xdiff -uNpr ../orig/jdk/src/solaris/native/sun/xawt/awt_Desktop.c ./jdk/src/solaris/native/sun/xawt/awt_Desktop.c X--- ../orig/jdk/src/solaris/native/sun/xawt/awt_Desktop.c 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/native/sun/xawt/awt_Desktop.c 2009-05-14 23:41:34.000000000 -0400 X@@ -24,6 +24,7 @@ X */ X X #include X+#include X #include X X typedef int gboolean; X@@ -36,7 +37,7 @@ int init(){ X gboolean (*gnome_vfs_init) (void); X const char *errmsg; X X- vfs_handle = dlopen("libgnomevfs-2.so.0", RTLD_LAZY); X+ vfs_handle = dlopen(VERSIONED_JNI_LIB_NAME("gnomevfs-2", "0"), RTLD_LAZY); X if (vfs_handle == NULL) { X #ifdef INTERNAL_BUILD X fprintf(stderr, "can not load libgnomevfs-2.so\n"); X@@ -54,7 +55,7 @@ int init(){ X // call gonme_vfs_init() X (*gnome_vfs_init)(); X X- gnome_handle = dlopen("libgnome-2.so.0", RTLD_LAZY); X+ gnome_handle = dlopen(VERSIONED_JNI_LIB_NAME("gnome-2", "0"), RTLD_LAZY); X if (gnome_handle == NULL) { X #ifdef INTERNAL_BUILD X fprintf(stderr, "can not load libgnome-2.so\n"); Xdiff -uNpr ../orig/jdk/src/solaris/npt/npt_md.h ./jdk/src/solaris/npt/npt_md.h X--- ../orig/jdk/src/solaris/npt/npt_md.h 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/npt/npt_md.h 2009-05-14 23:41:34.000000000 -0400 X@@ -32,9 +32,10 @@ X #include X #include X #include X+#ifndef __APPLE__ X #include X- X-#define NPT_LIBNAME "libnpt.so" X+#endif X+#include X X #define NPT_INITIALIZE(pnpt,version,options) \ X { \ X@@ -43,7 +44,7 @@ X \ X if ( (pnpt) == NULL ) NPT_ERROR("NptEnv* is NULL"); \ X *(pnpt) = NULL; \ X- _handle = dlopen(NPT_LIBNAME, RTLD_LAZY); \ X+ _handle = dlopen(JNI_LIB_NAME("npt"), RTLD_LAZY); \ X if ( _handle == NULL ) NPT_ERROR("Cannot open library"); \ X _sym = dlsym(_handle, "nptInitialize"); \ X if ( _sym == NULL ) NPT_ERROR("Cannot find nptInitialize"); \ Xdiff -uNpr ../orig/jdk/src/solaris/transport/socket/socket_md.c ./jdk/src/solaris/transport/socket/socket_md.c X--- ../orig/jdk/src/solaris/transport/socket/socket_md.c 2009-04-24 03:34:35.000000000 -0400 X+++ ./jdk/src/solaris/transport/socket/socket_md.c 2009-05-14 23:41:34.000000000 -0400 X@@ -36,7 +36,7 @@ X #ifdef __solaris__ X #include X #endif X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X #include X #include X #endif X@@ -283,7 +283,7 @@ dbgsysTlsGet(int index) { X X #endif X X-#ifdef __linux__ X+#if defined(__linux__) || defined(_ALLBSD_SOURCE) X int X dbgsysTlsAlloc() { X pthread_key_t key; Xdiff -uNpr ../orig/langtools/src/share/classes/com/sun/tools/javah/Util.java ./langtools/src/share/classes/com/sun/tools/javah/Util.java X--- ../orig/langtools/src/share/classes/com/sun/tools/javah/Util.java 2009-04-24 03:35:10.000000000 -0400 X+++ ./langtools/src/share/classes/com/sun/tools/javah/Util.java 2009-05-14 23:41:34.000000000 -0400 X@@ -180,6 +180,14 @@ public class Util { X os = "win32"; X } else if (os.indexOf("Linux") >= 0) { X os = "Linux"; X+ } else if (os.indexOf("FreeBSD") >= 0) { X+ os = "FreeBSD"; X+ } else if (os.indexOf("Darwin") >= 0) { X+ os = "Darwin"; X+ } else if (os.indexOf("NetBSD") >= 0) { X+ os = "NetBSD"; X+ } else if (os.indexOf("OpenBSD") >= 0) { X+ os = "OpenBSD"; X } X String arch = System.getProperty("os.arch"); X String resname = "com.sun.tools.javah.resources." + os + "_" + arch; d493197f9e6abf9dfcc966db75771261 exit From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 30 16:47:01 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 162951065697; Sun, 30 Aug 2009 16:47:01 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E2C2C8FC20; Sun, 30 Aug 2009 16:47:00 +0000 (UTC) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7UGl0Fk001201; Sun, 30 Aug 2009 16:47:00 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7UGl0ag001196; Sun, 30 Aug 2009 16:47:00 GMT (envelope-from linimon) Date: Sun, 30 Aug 2009 16:47:00 GMT Message-Id: <200908301647.n7UGl0ag001196@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-fs@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/138350: [ufs] [patch] UFS_EXTATTR static int prototyping error ufs_extattr_autostart_locked X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 16:47:01 -0000 Old Synopsis: UFS_EXTATTR static int prototyping error ufs_extattr_autostart_locked New Synopsis: [ufs] [patch] UFS_EXTATTR static int prototyping error ufs_extattr_autostart_locked Responsible-Changed-From-To: freebsd-bugs->freebsd-fs Responsible-Changed-By: linimon Responsible-Changed-When: Sun Aug 30 16:44:02 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=138350 From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 30 18:39:32 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 424DD1065676; Sun, 30 Aug 2009 18:39:32 +0000 (UTC) (envelope-from jon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 190618FC13; Sun, 30 Aug 2009 18:39:32 +0000 (UTC) Received: from freefall.freebsd.org (jon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7UIdVJ1011330; Sun, 30 Aug 2009 18:39:31 GMT (envelope-from jon@freefall.freebsd.org) Received: (from jon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7UIdVZj011326; Sun, 30 Aug 2009 18:39:31 GMT (envelope-from jon) Date: Sun, 30 Aug 2009 18:39:31 GMT Message-Id: <200908301839.n7UIdVZj011326@freefall.freebsd.org> To: ccowart@rescomp.berkeley.edu, jon@FreeBSD.org, freebsd-bugs@FreeBSD.org, jon@FreeBSD.org From: jon@FreeBSD.org Cc: Subject: Re: bin/112694: [patch] segfault in pam_lastlog(8) on sshd exit when no pty allocated X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 18:39:32 -0000 Synopsis: [patch] segfault in pam_lastlog(8) on sshd exit when no pty allocated State-Changed-From-To: analyzed->patched State-Changed-By: jon State-Changed-When: Sun Aug 30 18:36:19 UTC 2009 State-Changed-Why: Patched, will MFC after 8.0. Responsible-Changed-From-To: freebsd-bugs->jon Responsible-Changed-By: jon Responsible-Changed-When: Sun Aug 30 18:36:19 UTC 2009 Responsible-Changed-Why: Patched, will MFC after 8.0. http://www.freebsd.org/cgi/query-pr.cgi?pr=112694 From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 30 20:20:05 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90EC21065697 for ; Sun, 30 Aug 2009 20:20:05 +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 6681B8FC1D for ; Sun, 30 Aug 2009 20:20:05 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7UKK5tN010181 for ; Sun, 30 Aug 2009 20:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7UKK5rI010180; Sun, 30 Aug 2009 20:20:05 GMT (envelope-from gnats) Date: Sun, 30 Aug 2009 20:20:05 GMT Message-Id: <200908302020.n7UKK5rI010180@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Dan Lukes Cc: Subject: Re: bin/71659: [patch] cleanup of the usr.sbin/mount_portalfs code X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dan Lukes List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 20:20:05 -0000 The following reply was made to PR bin/71659; it has been noted by GNATS. From: Dan Lukes To: bug-followup@FreeBSD.org, dan@obluda.cz Cc: Subject: Re: bin/71659: [patch] cleanup of the usr.sbin/mount_portalfs code Date: Sun, 30 Aug 2009 22:15:33 +0200 I assume it's already MFCed. It seems such PR should be closed ... Dan From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 01:20:05 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C977106568F for ; Mon, 31 Aug 2009 01:20:05 +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 365128FC22 for ; Mon, 31 Aug 2009 01:20:05 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7V1K5DT029708 for ; Mon, 31 Aug 2009 01:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7V1K5I9029707; Mon, 31 Aug 2009 01:20:05 GMT (envelope-from gnats) Resent-Date: Mon, 31 Aug 2009 01:20:05 GMT Resent-Message-Id: <200908310120.n7V1K5I9029707@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bruce Cran Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D362106566B for ; Mon, 31 Aug 2009 01:19:42 +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 3C1488FC12 for ; Mon, 31 Aug 2009 01:19:42 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7V1JgA6057240 for ; Mon, 31 Aug 2009 01:19:42 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7V1Jfr0057239; Mon, 31 Aug 2009 01:19:41 GMT (envelope-from nobody) Message-Id: <200908310119.n7V1Jfr0057239@www.freebsd.org> Date: Mon, 31 Aug 2009 01:19:41 GMT From: Bruce Cran To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138367: [tmpfs] 'panic: Assertion pages > 0 failed' when running regression/tmpfs X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 01:20:05 -0000 >Number: 138367 >Category: kern >Synopsis: [tmpfs] 'panic: Assertion pages > 0 failed' when running regression/tmpfs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 31 01:20:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Bruce Cran >Release: 8.0-BETA3 >Organization: >Environment: FreeBSD gluon.draftnet 8.0-BETA3 FreeBSD 8.0-BETA3 #0: Sat Aug 22 01:01:34 BST 2009 brucec@gluon.draftnet:/usr/obj/usr/src/sys/GENERIC i386 >Description: When running 'make regress' in tools/regression/tmpfs the following panic occurs: panic: Assertion pages > 0 failed at /usr/src/sys/modules/tmpfs/../../fs/tmpfs/tmpfs_vfsops.c:246 (kgdb) bt #0 doadump () at pcpu.h:246 #1 0xc08801de in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:416 #2 0xc08804b2 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:579 #3 0xc4de9385 in tmpfs_mount (mp=0xc4966000) at /usr/src/sys/modules/tmpfs/../../fs/tmpfs/tmpfs_vfsops.c:246 #4 0xc09097c2 in vfs_donmount (td=0xc497b000, fsflags=0, fsoptions=0xc4c4f100) at /usr/src/sys/kern/vfs_mount.c:984 #5 0xc090aec5 in nmount (td=0xc497b000, uap=0xe6b60cf8) at /usr/src/sys/kern/vfs_mount.c:420 #6 0xc0bb0143 in syscall (frame=0xe6b60d38) at /usr/src/sys/i386/i386/trap.c:1071 #7 0xc0b929b0 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:261 #8 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) >How-To-Repeat: run 'make regress' in /usr/src/tools/regression/tmpfs >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 03:59:35 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11D84106566B; Mon, 31 Aug 2009 03:59:35 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DCD038FC0C; Mon, 31 Aug 2009 03:59:34 +0000 (UTC) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7V3xYMS095668; Mon, 31 Aug 2009 03:59:34 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7V3xYXv095664; Mon, 31 Aug 2009 03:59:34 GMT (envelope-from linimon) Date: Mon, 31 Aug 2009 03:59:34 GMT Message-Id: <200908310359.n7V3xYXv095664@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-fs@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/138367: [tmpfs] [panic] 'panic: Assertion pages > 0 failed' when running regression/tmpfs X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 03:59:35 -0000 Old Synopsis: [tmpfs] 'panic: Assertion pages > 0 failed' when running regression/tmpfs New Synopsis: [tmpfs] [panic] 'panic: Assertion pages > 0 failed' when running regression/tmpfs Responsible-Changed-From-To: freebsd-bugs->freebsd-fs Responsible-Changed-By: linimon Responsible-Changed-When: Mon Aug 31 03:59:14 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=138367 From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 09:20:03 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A16D51065679 for ; Mon, 31 Aug 2009 09:20:03 +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 65AE58FC1B for ; Mon, 31 Aug 2009 09:20:03 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7V9K3ef058873 for ; Mon, 31 Aug 2009 09:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7V9K3EK058872; Mon, 31 Aug 2009 09:20:03 GMT (envelope-from gnats) Resent-Date: Mon, 31 Aug 2009 09:20:03 GMT Resent-Message-Id: <200908310920.n7V9K3EK058872@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Patroklos Argyroudis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C7881065679 for ; Mon, 31 Aug 2009 09:15:14 +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 3B4588FC08 for ; Mon, 31 Aug 2009 09:15:14 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7V9FDrY002622 for ; Mon, 31 Aug 2009 09:15:13 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7V9FDm8002621; Mon, 31 Aug 2009 09:15:13 GMT (envelope-from nobody) Message-Id: <200908310915.n7V9FDm8002621@www.freebsd.org> Date: Mon, 31 Aug 2009 09:15:13 GMT From: Patroklos Argyroudis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138374: Resource leak in command_help() in file sys/boot/common/commands.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 09:20:03 -0000 >Number: 138374 >Category: kern >Synopsis: Resource leak in command_help() in file sys/boot/common/commands.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 31 09:20:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Patroklos Argyroudis >Release: 8.0-CURRENT >Organization: census, inc >Environment: N/A >Description: In function command_help() in file sys/boot/common/commands.c there is a resource leak of file descriptor hfd. Although the file descriptor is initialized in line 135, it is not closed. >How-To-Repeat: N/A >Fix: Patch attached. Patch attached with submission follows: --- ./sys/boot/common/commands.c.orig 2009-08-27 16:11:44.000000000 +0300 +++ ./sys/boot/common/commands.c 2009-08-27 16:22:06.000000000 +0300 @@ -150,6 +150,7 @@ break; default: command_errmsg = "usage is 'help []"; + close(hfd); return(CMD_ERROR); } >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 09:30:06 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD9BB1065670 for ; Mon, 31 Aug 2009 09:30:06 +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 BAC5F8FC16 for ; Mon, 31 Aug 2009 09:30:06 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7V9U6q8068450 for ; Mon, 31 Aug 2009 09:30:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7V9U6pU068443; Mon, 31 Aug 2009 09:30:06 GMT (envelope-from gnats) Date: Mon, 31 Aug 2009 09:30:06 GMT Message-Id: <200908310930.n7V9U6pU068443@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: kern/137310: commit references a PR X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 09:30:06 -0000 The following reply was made to PR kern/137310; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/137310: commit references a PR Date: Mon, 31 Aug 2009 09:26:20 +0000 (UTC) Author: kib Date: Mon Aug 31 09:26:04 2009 New Revision: 196689 URL: http://svn.freebsd.org/changeset/base/196689 Log: Remove spurious pfs_unlock(). PR: kern/137310 Reviewed by: des MFC after: 3 days Modified: head/sys/fs/pseudofs/pseudofs_vnops.c Modified: head/sys/fs/pseudofs/pseudofs_vnops.c ============================================================================== --- head/sys/fs/pseudofs/pseudofs_vnops.c Mon Aug 31 09:20:37 2009 (r196688) +++ head/sys/fs/pseudofs/pseudofs_vnops.c Mon Aug 31 09:26:04 2009 (r196689) @@ -339,7 +339,6 @@ pfs_getextattr(struct vop_getextattr_arg if (proc != NULL) PROC_UNLOCK(proc); - pfs_unlock(pn); PFS_RETURN (error); } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 09:40:06 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 867A2106566B for ; Mon, 31 Aug 2009 09:40:06 +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 4A9988FC25 for ; Mon, 31 Aug 2009 09:40:06 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7V9e6GH079750 for ; Mon, 31 Aug 2009 09:40:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7V9e6MU079749; Mon, 31 Aug 2009 09:40:06 GMT (envelope-from gnats) Resent-Date: Mon, 31 Aug 2009 09:40:06 GMT Resent-Message-Id: <200908310940.n7V9e6MU079749@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Patroklos Argyroudis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3253A1065694 for ; Mon, 31 Aug 2009 09:39:28 +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 2154B8FC1C for ; Mon, 31 Aug 2009 09:39:28 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7V9dRJp032601 for ; Mon, 31 Aug 2009 09:39:27 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7V9dRhc032598; Mon, 31 Aug 2009 09:39:27 GMT (envelope-from nobody) Message-Id: <200908310939.n7V9dRhc032598@www.freebsd.org> Date: Mon, 31 Aug 2009 09:39:27 GMT From: Patroklos Argyroudis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138375: Memory leak in ficlIncludeFile() in file sys/boot/ficl/fileaccess.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 09:40:06 -0000 >Number: 138375 >Category: kern >Synopsis: Memory leak in ficlIncludeFile() in file sys/boot/ficl/fileaccess.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 31 09:40:05 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Patroklos Argyroudis >Release: 8.0-CURRENT >Organization: census, inc >Environment: N/A >Description: In function ficlIncludeFile() in file sys/boot/ficl/fileaccess.c there is a memory leak of buffer which is allocated in line 219 and never freed. >How-To-Repeat: N/A >Fix: Patch attached. Patch attached with submission follows: --- ./sys/boot/ficl/fileaccess.c.orig 2009-08-27 16:46:00.000000000 +0300 +++ ./sys/boot/ficl/fileaccess.c 2009-08-27 16:54:02.000000000 +0300 @@ -268,6 +268,7 @@ pVM->sourceID = id; closeFiclFILE(ff); + free(buffer); } >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 10:00:17 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A056110656B5 for ; Mon, 31 Aug 2009 10:00:17 +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 9641B8FC1E for ; Mon, 31 Aug 2009 10:00:15 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VA0FkS098444 for ; Mon, 31 Aug 2009 10:00:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VA0FGb098443; Mon, 31 Aug 2009 10:00:15 GMT (envelope-from gnats) Resent-Date: Mon, 31 Aug 2009 10:00:15 GMT Resent-Message-Id: <200908311000.n7VA0FGb098443@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Patroklos Argyroudis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2213106566B for ; Mon, 31 Aug 2009 09:50:08 +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 A11678FC0C for ; Mon, 31 Aug 2009 09:50:08 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7V9o88C040165 for ; Mon, 31 Aug 2009 09:50:08 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7V9o8RO040164; Mon, 31 Aug 2009 09:50:08 GMT (envelope-from nobody) Message-Id: <200908310950.n7V9o8RO040164@www.freebsd.org> Date: Mon, 31 Aug 2009 09:50:08 GMT From: Patroklos Argyroudis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138376: Memory leak in scsi_low_attach_xs() in file sys/cam/scsi/scsi_low.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 10:00:17 -0000 >Number: 138376 >Category: kern >Synopsis: Memory leak in scsi_low_attach_xs() in file sys/cam/scsi/scsi_low.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 31 10:00:15 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Patroklos Argyroudis >Release: 8.0-CURRENT >Organization: census, inc >Environment: N/A >Description: Memory leak of pointer sap if the allocation in line 639 fails. >How-To-Repeat: N/A >Fix: Patch attached. Patch attached with submission follows: --- ./sys/cam/scsi/scsi_low.c.orig 2009-08-27 16:57:59.000000000 +0300 +++ ./sys/cam/scsi/scsi_low.c 2009-08-27 17:02:12.000000000 +0300 @@ -638,7 +638,10 @@ return ENOMEM; splp = SCSI_LOW_MALLOC(sizeof(*splp)); if (splp == NULL) + { + SCSI_LOW_FREE(sap); return ENOMEM; + } SCSI_LOW_BZERO(sap, sizeof(*sap)); SCSI_LOW_BZERO(splp, sizeof(*splp)); >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 10:00:17 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2D7510656B7 for ; Mon, 31 Aug 2009 10:00:17 +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 61EB38FC31 for ; Mon, 31 Aug 2009 10:00:16 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VA0Gqr098498 for ; Mon, 31 Aug 2009 10:00:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VA0GTl098492; Mon, 31 Aug 2009 10:00:16 GMT (envelope-from gnats) Resent-Date: Mon, 31 Aug 2009 10:00:16 GMT Resent-Message-Id: <200908311000.n7VA0GTl098492@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Patroklos Argyroudis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3EC41065676 for ; Mon, 31 Aug 2009 09:58:25 +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 C2DA18FC1A for ; Mon, 31 Aug 2009 09:58:25 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7V9wPA2051605 for ; Mon, 31 Aug 2009 09:58:25 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7V9wPfc051604; Mon, 31 Aug 2009 09:58:25 GMT (envelope-from nobody) Message-Id: <200908310958.n7V9wPfc051604@www.freebsd.org> Date: Mon, 31 Aug 2009 09:58:25 GMT From: Patroklos Argyroudis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138378: Memory leak in hfsc_class_modify() in file sys/contrib/altq/altq/altq_hfsc.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 10:00:17 -0000 >Number: 138378 >Category: kern >Synopsis: Memory leak in hfsc_class_modify() in file sys/contrib/altq/altq/altq_hfsc.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 31 10:00:16 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Patroklos Argyroudis >Release: 8.0-CURRENT >Organization: census, inc >Environment: N/A >Description: There is a memory leak of pointers rsc_tmp and fsc_tmp if the allocations in lines 1810 and 1817 fail. >How-To-Repeat: N/A >Fix: Patch attached. Patch attached with submission follows: --- ./sys/contrib/altq/altq/altq_hfsc.c.orig 2009-08-27 17:24:01.000000000 +0300 +++ ./sys/contrib/altq/altq/altq_hfsc.c 2009-08-27 17:26:39.000000000 +0300 @@ -1809,15 +1809,20 @@ cl->cl_fsc == NULL) { fsc_tmp = malloc(sizeof(struct internal_sc), M_DEVBUF, M_WAITOK); - if (fsc_tmp == NULL) + if (fsc_tmp == NULL) { + free(rsc_tmp); return (ENOMEM); + } } if (usc != NULL && (usc->m1 != 0 || usc->m2 != 0) && cl->cl_usc == NULL) { usc_tmp = malloc(sizeof(struct internal_sc), M_DEVBUF, M_WAITOK); - if (usc_tmp == NULL) + if (usc_tmp == NULL) { + free(rsc_tmp); + free(fsc_tmp); return (ENOMEM); + } } cur_time = read_machclk(); >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 10:10:03 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02BCA1065692 for ; Mon, 31 Aug 2009 10:10:03 +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 BA8388FC16 for ; Mon, 31 Aug 2009 10:10:02 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VAA2R0008003 for ; Mon, 31 Aug 2009 10:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VAA2dH008002; Mon, 31 Aug 2009 10:10:02 GMT (envelope-from gnats) Resent-Date: Mon, 31 Aug 2009 10:10:02 GMT Resent-Message-Id: <200908311010.n7VAA2dH008002@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Patroklos Argyroudis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59F881065672 for ; Mon, 31 Aug 2009 10:06:01 +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 48B188FC21 for ; Mon, 31 Aug 2009 10:06:01 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VA61Et052388 for ; Mon, 31 Aug 2009 10:06:01 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7VA61Ep052387; Mon, 31 Aug 2009 10:06:01 GMT (envelope-from nobody) Message-Id: <200908311006.n7VA61Ep052387@www.freebsd.org> Date: Mon, 31 Aug 2009 10:06:01 GMT From: Patroklos Argyroudis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138379: Memory leak in output_listing() in file sys/dev/aic7xxx/aicasm/aicasm.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 10:10:03 -0000 >Number: 138379 >Category: kern >Synopsis: Memory leak in output_listing() in file sys/dev/aic7xxx/aicasm/aicasm.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 31 10:10:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Patroklos Argyroudis >Release: 8.0-CURRENT >Organization: census, inc >Environment: N/A >Description: There is a memory leak of pointer func_values which is allocated in line 554 but not freed. >How-To-Repeat: N/A >Fix: Patch attached. Patch attached with submission follows: --- ./sys/dev/aic7xxx/aicasm/aicasm.c.orig 2009-08-27 22:00:05.000000000 +0300 +++ ./sys/dev/aic7xxx/aicasm/aicasm.c 2009-08-27 22:48:58.000000000 +0300 @@ -643,6 +643,7 @@ while(fgets(buf, sizeof(buf), ifile) != NULL) fprintf(listfile, " %s", buf); + free(func_values); fclose(ifile); } >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 10:30:04 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A3C41065679 for ; Mon, 31 Aug 2009 10:30:04 +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 7718E8FC17 for ; Mon, 31 Aug 2009 10:30:04 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VAU4cZ029198 for ; Mon, 31 Aug 2009 10:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VAU4D7029194; Mon, 31 Aug 2009 10:30:04 GMT (envelope-from gnats) Resent-Date: Mon, 31 Aug 2009 10:30:04 GMT Resent-Message-Id: <200908311030.n7VAU4D7029194@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Patroklos Argyroudis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 370031065692 for ; Mon, 31 Aug 2009 10:22:08 +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 25CFB8FC32 for ; Mon, 31 Aug 2009 10:22:08 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VAM7nx064743 for ; Mon, 31 Aug 2009 10:22:07 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7VAM7ab064742; Mon, 31 Aug 2009 10:22:07 GMT (envelope-from nobody) Message-Id: <200908311022.n7VAM7ab064742@www.freebsd.org> Date: Mon, 31 Aug 2009 10:22:07 GMT From: Patroklos Argyroudis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138381: NULL pointer dereference in t3_set_tcb_field() in file sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 10:30:04 -0000 >Number: 138381 >Category: kern >Synopsis: NULL pointer dereference in t3_set_tcb_field() in file sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 31 10:30:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Patroklos Argyroudis >Release: 8.0-CURRENT >Organization: census, inc >Environment: N/A >Description: There is a possible NULL pointer dereference in t3_set_tcb_field() line 895 in file sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c. The dereference should be after the check against NULL in line 897. >How-To-Repeat: N/A >Fix: Patch attached. Patch attached with submission follows: --- ./sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c.orig 2009-08-28 15:12:33.000000000 +0300 +++ ./sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c 2009-08-28 15:27:38.000000000 +0300 @@ -892,10 +892,12 @@ t3_set_tcb_field(struct toepcb *toep, uint16_t word, uint64_t mask, uint64_t val) { struct mbuf *m; - struct tcpcb *tp = toep->tp_tp; + struct tcpcb *tp; if (toep == NULL) return; + + tp = toep->tp_tp; if (tp->t_state == TCPS_CLOSED || (toep->tp_flags & TP_ABORT_SHUTDOWN)) { printf("not seting field\n"); >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 10:31:53 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DA381065672; Mon, 31 Aug 2009 10:31:53 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 547358FC0C; Mon, 31 Aug 2009 10:31:53 +0000 (UTC) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VAVrqb039859; Mon, 31 Aug 2009 10:31:53 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VAVrq9039855; Mon, 31 Aug 2009 10:31:53 GMT (envelope-from linimon) Date: Mon, 31 Aug 2009 10:31:53 GMT Message-Id: <200908311031.n7VAVrq9039855@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-scsi@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/138376: [cam] [patch] Memory leak in scsi_low_attach_xs() in file sys/cam/scsi/scsi_low.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 10:31:53 -0000 Old Synopsis: Memory leak in scsi_low_attach_xs() in file sys/cam/scsi/scsi_low.c New Synopsis: [cam] [patch] Memory leak in scsi_low_attach_xs() in file sys/cam/scsi/scsi_low.c Responsible-Changed-From-To: freebsd-bugs->freebsd-scsi Responsible-Changed-By: linimon Responsible-Changed-When: Mon Aug 31 10:31:12 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=138376 From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 10:32:41 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15405106566B; Mon, 31 Aug 2009 10:32:41 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DFB988FC0C; Mon, 31 Aug 2009 10:32:40 +0000 (UTC) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VAWe7m039966; Mon, 31 Aug 2009 10:32:40 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VAWeDg039961; Mon, 31 Aug 2009 10:32:40 GMT (envelope-from linimon) Date: Mon, 31 Aug 2009 10:32:40 GMT Message-Id: <200908311032.n7VAWeDg039961@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/138378: [altq] [patch] Memory leak in hfsc_class_modify() in file sys/contrib/altq/altq/altq_hfsc.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 10:32:41 -0000 Old Synopsis: Memory leak in hfsc_class_modify() in file sys/contrib/altq/altq/altq_hfsc.c New Synopsis: [altq] [patch] Memory leak in hfsc_class_modify() in file sys/contrib/altq/altq/altq_hfsc.c Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Mon Aug 31 10:32:03 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=138378 From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 10:33:13 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BB1710656BF; Mon, 31 Aug 2009 10:33:13 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6293F8FC27; Mon, 31 Aug 2009 10:33:13 +0000 (UTC) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VAXDnm040383; Mon, 31 Aug 2009 10:33:13 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VAXD0M040379; Mon, 31 Aug 2009 10:33:13 GMT (envelope-from linimon) Date: Mon, 31 Aug 2009 10:33:13 GMT Message-Id: <200908311033.n7VAXD0M040379@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-scsi@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/138379: [aic7xxx] [patch] Memory leak in output_listing() in file sys/dev/aic7xxx/aicasm/aicasm.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 10:33:13 -0000 Old Synopsis: Memory leak in output_listing() in file sys/dev/aic7xxx/aicasm/aicasm.c New Synopsis: [aic7xxx] [patch] Memory leak in output_listing() in file sys/dev/aic7xxx/aicasm/aicasm.c Responsible-Changed-From-To: freebsd-bugs->freebsd-scsi Responsible-Changed-By: linimon Responsible-Changed-When: Mon Aug 31 10:32:53 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=138379 From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 10:35:16 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7BD21065694; Mon, 31 Aug 2009 10:35:16 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8E1838FC13; Mon, 31 Aug 2009 10:35:16 +0000 (UTC) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VAZGJA040853; Mon, 31 Aug 2009 10:35:16 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VAZGXT040849; Mon, 31 Aug 2009 10:35:16 GMT (envelope-from linimon) Date: Mon, 31 Aug 2009 10:35:16 GMT Message-Id: <200908311035.n7VAZGXT040849@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, kmacy@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/138381: [cxgb] [patch] NULL pointer dereference in t3_set_tcb_field() in file sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 10:35:16 -0000 Old Synopsis: NULL pointer dereference in t3_set_tcb_field() in file sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c New Synopsis: [cxgb] [patch] NULL pointer dereference in t3_set_tcb_field() in file sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c Responsible-Changed-From-To: freebsd-bugs->kmacy Responsible-Changed-By: linimon Responsible-Changed-When: Mon Aug 31 10:34:36 UTC 2009 Responsible-Changed-Why: Over to author. http://www.freebsd.org/cgi/query-pr.cgi?pr=138381 From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 10:40:04 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 777C91065672 for ; Mon, 31 Aug 2009 10:40:04 +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 53F788FC17 for ; Mon, 31 Aug 2009 10:40:04 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VAe4BI041027 for ; Mon, 31 Aug 2009 10:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VAe4hU041026; Mon, 31 Aug 2009 10:40:04 GMT (envelope-from gnats) Resent-Date: Mon, 31 Aug 2009 10:40:04 GMT Resent-Message-Id: <200908311040.n7VAe4hU041026@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Patroklos Argyroudis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C93EB106566B for ; Mon, 31 Aug 2009 10:31:36 +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 B82308FC08 for ; Mon, 31 Aug 2009 10:31:36 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VAVaFR076048 for ; Mon, 31 Aug 2009 10:31:36 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7VAVaHj076047; Mon, 31 Aug 2009 10:31:36 GMT (envelope-from nobody) Message-Id: <200908311031.n7VAVaHj076047@www.freebsd.org> Date: Mon, 31 Aug 2009 10:31:36 GMT From: Patroklos Argyroudis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138383: NULL pointer dereference in mach64_dma_vertex() in file sys/dev/drm/mach64_state.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 10:40:04 -0000 >Number: 138383 >Category: kern >Synopsis: NULL pointer dereference in mach64_dma_vertex() in file sys/dev/drm/mach64_state.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 31 10:40:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Patroklos Argyroudis >Release: 8.0-CURRENT >Organization: census, inc >Environment: N/A >Description: There is a NULL pointer dereference in mach64_dma_vertex() line 829 in file sys/dev/drm/mach64_state.c. The check against NULL in line 834 should happen before the dereference of dev_priv. >How-To-Repeat: N/A >Fix: Patch attached. Patch attached with submission follows: --- ./sys/dev/drm/mach64_state.c.orig 2009-08-28 15:42:13.000000000 +0300 +++ ./sys/dev/drm/mach64_state.c 2009-08-28 15:55:17.000000000 +0300 @@ -826,7 +826,7 @@ struct drm_file *file_priv) { drm_mach64_private_t *dev_priv = dev->dev_private; - drm_mach64_sarea_t *sarea_priv = dev_priv->sarea_priv; + drm_mach64_sarea_t *sarea_priv; drm_mach64_vertex_t *vertex = data; LOCK_TEST_WITH_RETURN(dev, file_priv); @@ -836,6 +836,8 @@ return -EINVAL; } + sarea_priv = dev_priv->sarea_priv; + DRM_DEBUG("pid=%d buf=%p used=%lu discard=%d\n", DRM_CURRENTPID, vertex->buf, vertex->used, vertex->discard); >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 10:50:10 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDF5B1065679 for ; Mon, 31 Aug 2009 10:50:10 +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 7CF538FC1A for ; Mon, 31 Aug 2009 10:50:10 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VAoAZO050505 for ; Mon, 31 Aug 2009 10:50:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VAoAjn050504; Mon, 31 Aug 2009 10:50:10 GMT (envelope-from gnats) Resent-Date: Mon, 31 Aug 2009 10:50:10 GMT Resent-Message-Id: <200908311050.n7VAoAjn050504@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Patroklos Argyroudis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF7141065670 for ; Mon, 31 Aug 2009 10:44:01 +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 9E5EE8FC1C for ; Mon, 31 Aug 2009 10:44:01 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VAi1qk088242 for ; Mon, 31 Aug 2009 10:44:01 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7VAi1Ll088241; Mon, 31 Aug 2009 10:44:01 GMT (envelope-from nobody) Message-Id: <200908311044.n7VAi1Ll088241@www.freebsd.org> Date: Mon, 31 Aug 2009 10:44:01 GMT From: Patroklos Argyroudis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138384: NULL pointer dereference in ipsd_dump() in file sys/dev/ips/ips_disk.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 10:50:10 -0000 >Number: 138384 >Category: kern >Synopsis: NULL pointer dereference in ipsd_dump() in file sys/dev/ips/ips_disk.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 31 10:50:10 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Patroklos Argyroudis >Release: 8.0-CURRENT >Organization: census, inc >Environment: N/A >Description: There is a NULL pointer dereference in ipsd_dump() in file sys/dev/ips/ips_disk.c line 195. The check against NULL in line 197 should be before the dereference of dsc. >How-To-Repeat: N/A >Fix: Patch attached. Patch attached with submission follows: --- ./sys/dev/ips/ips_disk.c.orig 2009-08-28 16:01:13.000000000 +0300 +++ ./sys/dev/ips/ips_disk.c 2009-08-28 16:03:38.000000000 +0300 @@ -192,11 +192,12 @@ dp = arg; dsc = dp->d_drv1; - sc = dsc->sc; if (dsc == NULL) return (EINVAL); + sc = dsc->sc; + if (ips_get_free_cmd(sc, &command, 0) != 0) { printf("ipsd: failed to get cmd for dump\n"); return (ENOMEM); >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 11:09:32 2009 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5E181065694 for ; Mon, 31 Aug 2009 11:09:32 +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 D1F668FC28 for ; Mon, 31 Aug 2009 11:09:32 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VB9Whn072637 for ; Mon, 31 Aug 2009 11:09:32 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VB9Vho072633 for freebsd-bugs@FreeBSD.org; Mon, 31 Aug 2009 11:09:31 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 31 Aug 2009 11:09:31 GMT Message-Id: <200908311109.n7VB9Vho072633@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: FreeBSD bugs list Cc: Subject: Current problem reports containing patches X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 11:09:33 -0000 (Note: an HTML version of this report is available at http://people.freebsd.org/~linimon/studies/prs/prs_for_tag_patch.html .) S Tracker Resp. Description -------------------------------------------------------------------------------- f ports/138382 az [PATCH] www/p5-Catalyst-Controller-HTML-FormFu: [SUMMA o kern/138381 kmacy [cxgb] [patch] NULL pointer dereference in t3_set_tcb_ o kern/138379 scsi [aic7xxx] [patch] Memory leak in output_listing() in f o kern/138378 net [altq] [patch] Memory leak in hfsc_class_modify() in f o kern/138376 scsi [cam] [patch] Memory leak in scsi_low_attach_xs() in f o kern/138375 [boot] [patch] Memory leak in ficlIncludeFile() in fil o kern/138374 [boot] [patch] Resource leak in command_help() in file f ports/138369 araujo [PATCH] devel/autodist: update to 1.5 f ports/138366 araujo [PATCH] benchmarks/thrulay: update to 0.9 f ports/138365 araujo [PATCH] games/tornado: update to 1.4 o ports/138364 imp [PATCH] emulators/gxemul: update to 0.4.7.2 f ports/138362 amdmi3 [PATCH] games/d2x-xl: chase rerolled distfile f ports/138357 araujo [PATCH] net/latd: update to 1.28 f ports/138354 araujo [PATCH] math/ltl: update to 1.9.1 f ports/138353 araujo [PATCH] www/typo: update to 5.3 o ports/138352 [PATCH] databases/xapian-core update to 1.0.15 o kern/138350 fs [ufs] [patch] UFS_EXTATTR static int prototyping error o ports/138349 perl [PATCH] Fixing a bug in www/p5-HTTP-Recorder o misc/138347 [patch] [nanobsd] nanobsd build is broken due to mdcon o ports/138345 [patch] graphics/wildmagic: update to latest version o kern/138341 [nanobsd] [patch] 8.0-BETA3: nanobsd build broken due o ports/138337 lev [patch] www/neon28 update to 28.6 o ports/138333 miwi [patch] games/robocode: update to latest version; take o ports/138329 araujo [PATCH] mail/tpop3d: update to 1.5.5 f ports/138328 araujo [PATCH] mail/proxsmtp: update to 1.8 o ports/138325 araujo [PATCH] audio/mp3info: Changed Makefile. Take maintain o ports/138324 araujo [PATCH] devel/ocaml-ounit: update to 1.0.3 f ports/138323 araujo [PATCH] audio/mp3c: update to 0.31 f ports/138321 araujo [PATCH] ports-mgmt/pver: update to 0.15 o amd64/138318 amd64 [libc] [patch] select(2) in i386 emulation can overwri f ports/138317 araujo [PATCH] net/haproxy-devel: update to 1.3.20 f ports/138315 araujo [PATCH] net-mgmt/fetchconfig: update to 0.17 f ports/138314 araujo [PATCH] misc/sloccount: update to 2.26 o ports/138312 gnome [PATCH]textproc/link-grammar: update to 4.5.10 f ports/138311 araujo [PATCH] misc/gnuls: update to 7.5 o ports/138308 [maintainer-update][patch] devel/diffuse: Correct wron o ports/138302 miwi [PATCH]textproc/wv: update to 1.2.6 and take maintaine o ports/138301 [patch] port mail/postfix update to version 2.6.5 f ports/138300 wxs [PATCH] mail/dovecot 1.2.4 breaks GSSAPI Authenticatio f ports/138298 [PATCH]sysutils/file: update to 5.03 o ports/138296 araujo [PATCH] net/ldapdiff: Changed Makefile, added pkg-mess o ports/138287 python [patch] converters/py-pisa fix dependency to py-report o docs/138283 doc [patch] Porter's Handbook: add entry for KDE 4 o docs/138269 blackend [patch] [Handbook] add a section about installing a ra o ports/138268 brix [PATCH] irc/bitlbee: Use -u ${user} option instead of f ports/138261 araujo [PATCH] finance/opentaxsolver: update to 6.04 f ports/138253 araujo [PATCH] net/cnupm: update to 3.12 o bin/138245 [patch] find(1): find -newerXB doesn't work f ports/138242 trasz [PATCH] audio/qsynth: update to 0.3.4, fix default MID o ports/138239 [PATCH] audio/fluidsynth: update to 1.0.9 f ports/138223 araujo [PATCH] irc/ircservices: update to 5.0.64 o amd64/138220 amd64 [patch] FreeBSD/amd64 can't see all system memory f ports/138219 araujo [PATCH] www/rejik: update to 3.2.2 f ports/138216 araujo [PATCH] www/havp: update to 0.91 f ports/138215 araujo [PATCH] sysutils/conky: update to 1.7.2 o conf/138208 rc [rc] [patch] Making rc.firewall (workstation) IPv6 awa o docs/138206 doc [patch] ntp(1): not enabled function, and false manual o ports/138190 pgollucci [PATCH] mail/milter-greylist-devel: Update to 4.3.3 o ports/138186 yzlin [patch] - update sysutils/phplogcon to version 2.7.2 f ports/138184 garga [PATCH] x11-wm/awesome: update to 3.3.3 f ports/138183 garga [PATCH] x11/xcb-util: update to 0.3.6 o ports/138159 [PATCH] sysutils/rsyslog mark as deprecated f ports/138155 araujo [PATCH] irc/inspircd: update to 1.1.20 f ports/138154 araujo [PATCH] devel/libmonetra: update to 7.0.4 o ports/138152 lippe [patch] - update sysutils/rsyslog4 to version 4.4.0 o bin/138150 [mtree] [patch] fix for src/etc/Makefile mtree o bin/138146 [patch] w(1) and pkill(1) don't work on core files wit o ports/138140 mm [PATCH] net-im/jabber-pyicq-transport: update to 0.8.1 o ports/138139 portmgr [patch] teach Mk/bsd.autotools.mk about libtoolize o kern/138136 [new driver] [x86emu] [patch] sys/contrib: add x86emu o bin/138131 [patch] pstat(8): pstat -t coredumps when reading from o kern/138130 net [netinet] [patch] Resource leak in LibAliasRefreshModu o ports/138127 skv [patch]: lang/parrot update to 1.5.0; add targets for f ports/138113 araujo [PATCH] net/abills: update to 0.41 o kern/138109 fs [extfs] [patch] Minor cleanups to the sys/gnu/fs/ext2f o ports/138105 philip [patch] games/wesnoth: fix fribidi2 detection and use o ports/138099 pgollucci [patch] port devel/cvs2svn update to version 2.3.0 f ports/138093 miwi [PATCH] print/pear-File_PDF: update to 0.3.2 p conf/138087 dougb [patch] fix typo in etc/rc.d/ipsec f ports/138084 araujo [PATCH] net-p2p/giFToxic: update to 0.0.10 f ports/138083 araujo [PATCH] sysutils/coreutils: update to 7.5 o ports/138082 araujo [PATCH] devel/adacurses: Fixed problem with libtool. o ports/138074 pgollucci [patch] port devel/viewvc update to version 1.1.2 o ports/138070 lev [PATCH] devel/mingw32-bin-msvcrt: update to r3.16.a.13 o ports/138063 vbox [patch] emulators/virtualbox: does NOT respect CC and f ports/138059 miwi [PATCH] net/pear-Net_SMTP: update to 1.3.3 f ports/138054 araujo [PATCH] devel/sfslite: update to 1.2.7 o ports/138052 araujo [PATCH] science/hdf5: update to 1.8.3 o ports/138051 araujo [PATCH] science/hdf5: update to 1.6.9 a ports/138050 cy [PATCH] security/fwbuilder: update to 3.0.6 a ports/138049 cy [PATCH] security/libfwbuilder: update to 3.0.6 o bin/138043 [patch] fsck_ffs(8) broken, partial patch f ports/138019 [PATCH] mail/dkimproxy: update to 1.2 f ports/138010 makc [PATCH] graphics/kipi-plugins-kde4: Update to version o ports/138003 danfe [PATCH] audio/ardour: update to 2.8.2 o ports/137999 gerald [PATCH] emulators/wine: fix winebuild o ports/137998 mich [patch] sysutils/libcdio - add missing manpage to plis f ports/137992 [PATCH] The startup script of mail/spamd has several b f ports/137985 jon security/openssh-portable: [PATCH] sftp crashes on dir o ports/137964 pav [PATCH] Unbreak finance/gnucash build o ports/137959 [PATCH] irc/bitlbee-otr is not doing SRV lookups for X o ports/137953 apache [patch] update www/apache22 mpm-itk patch to 20090414- f ports/137944 araujo [PATCH] security/srm: update to 1.2.10 o ports/137897 jmelo [PATCH] sysutils/stress: update to 1.0.1 a kern/137890 [libkvm] [patch] ps segfaults with -ax when inspecting o ports/137888 araujo [PATCH] lang/pnetbase: Problem fix with build in FreeB f ports/137887 araujo [PATCH] games/powwow: update to 1.2.14 f ports/137880 [patch] sysutils/memtest86: don't depend on archivers/ f ports/137879 [patch] sysutils/memtest86: allow to install port on a o bin/137864 [patch] sysinstall(8): add possibility to shutdown/pow o ports/137858 [PATCH] chinese/ve: fix terminal initial problem f ports/137857 araujo [PATCH] x11-toolkits/ruby-fox16: update to 1.6.19 o bin/137841 net [patch] wpa_supplicant(8) cannot verify SHA256 signed f ports/137838 araujo [PATCH] www/wacko: update to 4.2 f ports/137835 [PATCH] audio/musicpd o ports/137828 [PATCH] palm/barry: update to 0.14 o kern/137819 [libc] [patch] fpurge(3) violates stdio invariant f ports/137804 bsam [patch] mail/sympa5: update to version 5.4.7 o ports/137783 demon [PATCH]math/glpk: update to 4.39 o kern/137775 net [netgraph] [patch] Add XMIT_FAILOVER to ng_one2many f ports/137766 amdmi3 [PATCH] ports-mgmt/pver: update to 0.15 o kern/137758 [amr] [patch] Delete one ")" in amr.c f ports/137755 araujo [PATCH] www/dokeos: update to 1.8.6 f ports/137753 araujo [PATCH] comms/o2sms: update to 3.33 o ports/137747 [patch] Upgrade mail/mailscanner to 4.78.9 o ports/137731 x11 [patch] x11-drivers/xf86-input-vmmouse f ports/137725 araujo [PATCH] sysutils/aimage: update to 3.2.1 f ports/137724 araujo [PATCH] sysutils/afflib: update to 3.3.7 o docs/137723 remko [patch] share/man/man5/make.conf.5 : document WWWSUPFI o ports/137711 krion [PATCH] devel/nasm: update to 2.07 o ports/137695 amdmi3 [patch] Mk/bsd.sites.mk : add logilab mirrors o ports/137691 [PATCH] New port for semantik (kdissert II) o docs/137689 doc [patch] acpi_panasonic(4) sysctl variable name wrong o misc/137688 re [build] [patch] Release build fails, if build-system u o ports/137685 araujo [PATCH] audio/mhwaveedit: update to 1.4.16 o ports/137684 araujo [PATCH] x11-fm/gnome-commander2: BUMP PORTREVISION. o ports/137683 itetcu [PATCH] net/openh323: fix build with custom PREFIX/LOC o misc/137678 [bootp] [patch] libstands bootp/dhcp code always uses p kern/137672 yongari [re] [patch] add bits to support the 8168DP version o conf/137671 [patch][request] enhance beastie.4th: possibility to d o gnu/137665 [patch] dialog(1) goes into tight loop on encountering o ports/137664 mnag [PATCH] www/lighttpd adds mod_geoip (shar) o ports/137642 [PATCH] graphics/ipe: update to 6.0.p32.P1 o bin/137640 [PATCH] sh(1) crash when redefining current function o ports/137634 doceng [PATCH] print/ghostscript8: Register cairo libdepends o ports/137622 [PATCH] textproc/unrtf crashes on tests on amd64 o ports/137619 kde [PATCH] x11/kdelibs4: Fix FindKdcraw.cmake FindKexiv2. o usb/137616 usb [usbdevs] [patch]: usbdevs update: Please add JMicron' o ports/137587 kde [PATCH] audio/arts: Add more OPTIONS and proper CONFIG o ports/137584 pav [PATCH] sysutils/cdrkit: update to 1.1.9 f ports/137581 [patch] archivers/lzmautils-devel (xz): correct detect f ports/137565 [PATCH]www/lynx: fix handling of lynx.cfg[.sample] dur f ports/137560 [PATCH] Unbreak and refine net-mgmt/flowd s ports/137550 avl [PATCH] net/grdc: BUMP PORTREVISON o ports/137542 acm [PATCH] devel/commoncpp: update to 1.7.3 f ports/137496 [PATCH] net/haproxy-devel: update to 1.3.19 o conf/137487 [patch] [build] unbreak world WITHOUT_NETGRAPH o bin/137484 net [patch] Integer overflow in wpa_supplicant(8) base64 e o conf/137483 [patch] [build] unbreak world for WITHOUT_OPENSSH, WIT o conf/137470 rc [PATCH] /etc/rc.d/mdconfig2 : prioritize cli parameter o kern/137436 [puc] [patch] Fix puc driver to support newer Timedia o ports/137416 [PATCH] net/xmlrpc-c-devel: add missing header files f ports/137414 leeym [PATCH] www/p5-WWW-Plurk: patch to make it work o ports/137384 philip [patch] games/wesnoth-devel: update to 1.7.2 o bin/137379 [patch] ppp(8) new command iface name to rename tun in o bin/137365 [patch] let last(1) read from stdin via "-f -" o ports/137333 gabor [patch] port security/amavisd-new (Amavis should not s o kern/137307 [libc] [patch] Enhance strptime(3) to support %U and % o ports/137297 [PATCH] emulators/dynamips-devel: -m can't parse Cisco o ports/137296 mnag [PATCH] databases/sqlite3: update to 3.6.16, load exte o ports/137294 obrien [PATCH]shells/bash: update to 4.0.28 f ports/137282 [patch] www/aswedit: Master sites fixed o usb/137226 usb [patch] quirk for Philips extern USB disk o kern/137213 [kernel] [patch] eliminate wrong usages of (S)LIST_HEA o usb/137191 usb [usb][patch] export ums(4) output report parser data t o usb/137190 usb [usb][patch] inhibit spurious button releases for some o usb/137189 usb [usb][patch] create and use sysctl nodes for HID repor p usb/137188 usb [usb][patch] correctly handle USB report descriptors w o bin/137180 [build] [patch] building world for 8.0-BETA2 fails on o docs/137171 doc [patch] replacement of k8temp(4) by amdtemp(4) isn't r o bin/137156 [patch] fix dump(8) cryptic output on reporting progre o ports/137148 anders [patch] audio/xmp: update to 2.7.1 o kern/137145 [mbuf] [patch] Reference count computing isn't correct o usb/137138 usb [umass] [patch] QUIRK: ASUS PDA Flash disk emulation o ports/137109 pgj [patch]: update of devel/darcs to ghc-6.10.4 o ports/137108 pgj [patch]: update of devel/lhs2TeX to ghc-6.10.4 f ports/137107 pgj [patch]: update of ports-mgmt/porte to ghc-6.10.4 o ports/137104 pgj [patch]: update of archivers/hs-zip-archive-ghc to ghc f ports/137103 pgj [patch]: update of archivers/hs-zlib from the 0.5.0.0 f ports/137102 pgj [patch]: update of textproc/hs-stringsearch to ghc-6.1 o ports/137099 pgj [patch]: update of textproc/hs-polyparse-ghc from the o ports/137098 pgj [patch]: update of devel/hs-pcre-light-ghc to ghc-6.10 o ports/137097 pgj [patch]: update of devel/hs-lazysmallcheck-ghc to ghc- o ports/137096 pgj [patch]: update of devel/hs-language-c-ghc to ghc-6.10 o ports/137095 pgj [patch]: update of devel/hs-idoc to ghc-6.10.4 o ports/137094 pgj [patch]: update of devel/hs-hmake to ghc-6.10.4 o ports/137093 pgj [patch]: update of textproc/hs-highlighting-kate-ghc f o ports/137092 pgj [patch]: update of devel/hs-hdoc to ghc-6.10.4 o ports/137091 pgj [patch]: update of devel/hs-happy from the 1.82 versio o ports/137090 pgj [patch]: update of textproc/hs-haxml from the 1.19.6 v o ports/137085 pgj [patch]: update of x11-toolkits/hs-opengl-ghc from the f ports/137084 pgj [patch]: update of x11/xmobar from the 0.9 version to f ports/137083 pgj [patch]: update of x11-wm/xmonad-contrib to ghc-6.10.4 f ports/137082 pgj [patch]: update of x11-wm/xmonad to ghc-6.10.4 f ports/137081 pgj [patch]: update of devel/hs-utf8-string-ghc from the 0 f ports/137080 pgj [patch]: update of x11/hs-x11-xft-ghc to ghc-6.10.4 o ports/137079 pgj [patch]: update of x11/hs-x11-ghc to ghc-6.10.4 o ports/137078 pgj [patch]: update of x11-toolkits/hs-gtk2hs to ghc-6.10. o ports/137077 pgj [patch]: update of x11-toolkits/hs-glut-ghc from the 2 o ports/137076 pgj [patch]: update of devel/hs-drift to ghc-6.10.4 o ports/137075 pgj [patch]: update of devel/hs-hat to ghc-6.10.4 f ports/137074 pgj [patch]: update of devel/hs-dlist from the 0.4.1 versi o ports/137072 pgj [patch]: update of security/hs-digest-ghc from the 0.0 o ports/137071 pgj [patch]: update of devel/hs-cpphs from the 1.6 version o ports/137070 pgj [patch]: update of devel/hs-c2hs to ghc-6.10.4 f ports/137069 pgj [patch]: update of textproc/hs-bytestring-csv to ghc-6 o ports/137068 pgj [patch]: update of devel/hs-binary-ghc to ghc-6.10.4 o ports/137067 pgj [patch]: update of devel/hs-alex to ghc-6.10.4 f ports/137065 pgj [patch]: update of devel/hs-Stream from the 0.2.6 vers o ports/137061 pgj [patch]: update of devel/hs-haddock-docs from the 2.1. o ports/137060 pgj [patch]: update of devel/hs-haddock from the 2.1.0 ver o ports/137055 pgj [patch]: update of lang/ghc from the 6.8.3 version to f ports/137043 [patch] multimedia/mplayer: add SSSE3 support o bin/136994 net [patch] ifconfig(8) print carp mac address o ports/136928 apache [PATCH] www/apache20 - suexec resource limits patch o docs/136918 doc [patch] grammar fixes to locking.9 o ports/136917 python [patch] lang/python26: gettext detection f ports/136878 pgollucci [patch] [mail/mutt-devel] Add new parent/child match k o kern/136865 fs [nfs] [patch] NFS exports atomic and on-the-fly atomic o bin/136857 [patch] du(1): permit per directory only sum (no herit f ports/136855 pgollucci [PATCH] www/zope: USE_RC_SUBR != yes f ports/136853 dinoex [PATCH] www/apache13-mod_ssl: USE_RC_SUBR != yes o ports/136851 roam [PATCH] sysutils/daemontools: USE_RC_SUBR != yes f ports/136848 pgollucci [PATCH] net-p2p/giFT: USE_RC_SUBR != yes o ports/136843 hrs [PATCH] net/cvsync: USE_RC_SUBR != yes f ports/136841 pgollucci [PATCH] mail/quickml: USE_RC_SUBR != yes f ports/136840 pgollucci [PATCH] japanese/ja-multiskkserv: USE_RC_SUBR != yes f ports/136819 pgollucci [PATCH] www/vtiger-customerportal: update to 5.0.4 f ports/136818 lme [PATCH] games/hattrickorganizer: update to 1.424 o ports/136807 anray [PATCH] news/newsstar: update to 1.5.3 f ports/136791 pgollucci [PATCH] sysutils/phplogcon: update to 2.7.1 o ports/136779 pgollucci [PATCH] [MAINTAINER] www/plone3 update to 3.2.3 o ports/136772 itetcu [PATCH] devel/cl-asdf: Respect PORTEXAMPLES + QAT-insp f ports/136764 skreuzer [PATCH] net-mgmt/nagios-plugins: Dont truncate proc a p usb/136761 usb [usbdevs] [patch] Teach usbdevs / u3g(4) about Huawei f ports/136747 pgollucci [PATCH] www/rubygem-passenger: update to 2.2.3 o docs/136712 doc [handbook] [patch] draft new section on gmirror per pa o gnu/136705 [patch] gdb(1): remove a semicolon from i386-tdep.c . o kern/136695 ipfw [ipfw] [patch] fwd reached after skipto in dynamic rul o ports/136678 itetcu [PATCH] net/rtg: fix custom LOCALBASE build + other Ma o kern/136669 [libc] [patch] setmode(3) should always set errno on e o bin/136661 [patch] ndp(8) ignores -f option o conf/136620 [patch] add watchdogd_flags to defaults/rc.conf f ports/136607 gerald [PATCH] lang/gcc43 lang/gcc44: add OPTION for devel/bi o ports/136598 apache [PATCH] www/mod_fastcgi: Fix non-threadsafe function o kern/136361 thompsa [patch] fix regression (kernel panic) in uaudio.c o bin/136354 [patch] powerd(8): Support for maxspeed in adaptive mo o conf/136336 [termcap] [patch] missing entry for "center of keypad" o ports/136302 itetcu [patch] ports-mgmt/tinderbox-devel incorrect WEBUI opt o ports/136291 openoffice [patch] editors/openoffice.org-3: gpatch failure o ports/136259 mich [PATCH] sysutils/libcdio: incorrect japanese manpage i o kern/136251 xen [xen] [patch] xn0 doesn't DHCP o docs/136219 doc [patch] gnop(8) manual page bug f ports/136191 krion [PATCH]devel/nasm: update to 2.06 o kern/136159 [kthread] [patch] tsleep with PDROP in kthread_suspend o ports/136151 gabor [patch] port security/amavisd-new add snmp subagent f ports/136137 araujo [PATCH] comms/spandsp: Update to 0.0.5 o ports/136091 pgollucci [PATCH] www/apache22 - suexec resource limits patch o kern/135989 [NOTES] [patch] device vr support D-Link DFE-520TX, bu o ports/135971 gecko [PATCH] www/linux-firefox-devel: Removed mark forbidde o bin/135918 [boot0] [patch] Make BootEasy compatible with NT Drive o bin/135893 [patch] vmstat(8): 'vmstat -s -M core' is broken o bin/135718 [patch] enhance qsort(3) to properly handle 32-bit ali o bin/135700 [patch] Add an ability to run inetd(8) with P_PROTECTE o ports/135674 portmgr [PATCH] some PHP-related knobs should be placed before o ports/135670 ale [PATCH] databases/mysql50-server: in mysql-client mysq o ports/135664 delphij [PATCH]: bsd.ldap.mk: Detect flavour of installed open o ports/135649 portmgr Mk/bsd.port.mk: [patch], fix documentation relating to p kern/135628 remko [umass] [patch] add a device quirk for Myson Heden 881 o kern/135608 [patch] sysctl(8) should be able to handle byte values o usb/135575 usb [usbdevs] [patch] Add HTC Wizard phone vid/pid informa o bin/135565 randi [patch] a patch for sysinstall(8) to look at UFS parti f ports/135541 [PATCH] math/p5-NetCDF cannot load module with netcdf- o docs/135520 doc [patch] typos in fail(9) o ports/135500 obrien net/rdesktop sound does not work [PATCH] o kern/135485 [modules] [patch] During a shutdown, kernel modules sh o docs/135475 doc [patch] jot(1) manpage and behaviour differ o ports/135474 ale [PATCH] Mk/bsd.php.mk: add possibility to redefine PHP o ports/135471 secteam [patch] ports-mgmt/portaudit-db packaudit.conf sourced o threa/135462 threads [PATCH] _thread_cleanupspecific() doesn't handle delet o bin/135349 acpi [patch] teach acpidump(8) to disassemble arbitrary mem o ports/135337 emulation [PATCH] emulators/linux_base-f10: incorrect bash usage o ports/135330 lippe [PATCH] devel/st: return back missed file into library p misc/135301 remko [tinybsd] [patch] Patch for fix architecture support f o docs/135165 doc [patch] make(1) fixes: punctuation, typos, tweaks o bin/135159 [patch] pkg_delete(1) segfaults on empty @pkgdep lines o kern/135070 acpi [acpi] [patch] BIOS resource allocation and FreeBSD AC o kern/135067 net [patch] [fib] Incorrect KASSERTs in sys/net/route.c o kern/135057 [ata] [patch] New VIA SATA controller are not getting p usb/135009 weongyo [uath] [patch] Accton ar5523 products not in "uath" dr o bin/134975 ipfw [patch] ipfw(8) can't work with set in rule file. o misc/134920 [includes] [patch] Large upgrades from source cause co o bin/134919 [patch] add information to truss(1) when tracing linux o conf/134918 rc [patch] rc.subr fails to detect perl daemons o kern/134878 [puc] [patch] Add support for Oxford OXPCIe954 and OXP f ports/134773 openoffice [patch] editors/openoffice.org-3 reduce depenedencies o conf/134660 rc [patch] rc-script for initializing ng_netflow+ng_ipfw o ports/134643 x11 [patch] x11-servers/xorg-server - Unbreak Xorg 7.4 ser o usb/134631 usb [usbdevs] [patch] WiSPY DBx support requires usb tweak o gnu/134604 [gcclibs] [patch] Memory leak in gcclibs/libgomp f ports/134594 lwhsu [PATCH] security/pwman3: use cElementTree and sqlite c o kern/134590 [libi386] [gpt] [patch] Bootloader support for hybrid o i386/134586 jhb [i386] [patch] Incorrect machine check exception handl f ports/134536 gnome [patch] graphics/gimp: Gimp 2.6.6 fails to open URI's o ports/134534 [PATCH] net/skype12, remove IGNORE s kern/134517 yongari [rl] [patch] Realtek 8111C Driver Backport for FreeBSD o kern/134513 [libc] [patch] fts(3) FTS_NOCHDIR misbehavior with emp o ports/134397 lme [patch] games/scummvm update o arm/134368 arm [patch] nslu2_led driver for the LEDs on the NSLU2 o arm/134338 arm [patch] Lock GPIO accesses on ixp425 o kern/134249 [libiconv] [patch] ignore case for character set names o i386/134242 i386 [boot0] [patch] improvement i386 boot0 error diagnose o kern/134225 [libexec] [patch] Reduce disk write load from save-ent o usb/134117 usb [Patch] Add support for 'Option GlobeTrotter HSDPA Mod o arm/134092 arm [patch] NSLU.hints contains wrong hints for on board n o docs/134074 doc [patch] locking.9 man page slight enhancements o bin/134069 [patch] mount_nfs(8) option parsing bug p docs/134053 danger [patch] arp(8) manpage should mention ndp(8) in See Al o bin/134038 dougb [patch] mergemaster(8): preserve mode/ownership for ex o kern/134010 [gssapi][patch] Buffer overflow and use-after-free in o conf/134006 rc [patch] Unload console screensaver kernel modules if s o ports/133946 x11 x11-servers/xorg-server [patch] X crashes in xinerama o bin/133907 [patch] cp(1) wrongly reports errors in vacuous copy o conf/133890 rc [patch] sshd(8): add multiple profiles to the rc.d scr o bin/133860 [patch] lorder(1) misses symbols defined in read only o bin/133834 [patch] chat(1): terminate()/fatal() infinity mutual r o ports/133815 portmgr [PATCH] bsd.port.mk: implements fakeroot for the ports o kern/133786 [netinet] [patch] ip_input might cause kernel panic o kern/133776 [libc] [patch] snprintf(3) and vsnprintf(3) do not pro o kern/133775 [patch] gdb(1) debugscripts: fix proc address print in s kern/133733 [pci] [patch] Incorrect record in pci_vendors for Broa o conf/133715 [terminfo] [patch] no terminfo for rxvt-unicode termin o usb/133712 usb [ural] [patch] RE: Fixed an issue with ural(4) that wa o ports/133641 doceng [PATCH] print/ghostscript7 crash bug o docs/133567 doc [patch] doc/Makefile switch to csup f ports/133533 pgollucci [PATCH] Add a static user/group for audio/musicpd port o kern/133491 [libfetch] [patch] Digest HTTP authentication support o ports/133457 eclipse [PATCH] java/eclipse-webtools: update to 3.0.3 f ports/133423 eclipse [PATCH] java/eclipse-emf: Update to 2.4.1 o ports/133417 eclipse [PATCH] java/eclipse-gef: update to 3.4.1 o ports/133413 mich [patch] sysutils/libcdio 0.78.2 is broken for CDROMs t o ports/133291 nork [PATCH] graphics/ilmbase: produces library not linked p bin/133255 stefanf [PATCH] sh(1): empty line in eval resets $? o ports/133250 cy [PATCH] sysutils/screen: remove NO_PACKAGE. o kern/133239 [ae] [jme] [patch] if_jme can assign duplicate MAC add o kern/133235 net [netinet] [patch] Process SIOCDLIFADDR command incorre o bin/133227 [patch] whois(1): add support for SLD whois server loo o docs/133186 doc [patch] powerd(8) man page errors o ports/133175 x11 [patch] x11/pixman: enable SSE2 support autodetection o kern/133174 fs [msdosfs] [patch] msdosfs must support utf-encoded int o kern/133162 [NOTES] [patch] document modular ata driver devices o ports/133146 ahze [patch] x11-fonts/dejavu: install fontconfig configura o docs/133118 doc [patch] Error in getopt (1) manual EXAMPLES section o ports/133098 mbr [patch] mail/up-imapproxy hardcoded to use /etc/imappr o ports/133078 kde [PATCH] kmix (multimedia/kdemultimedia4) incorrectly b o bin/132993 [patch] bsnmpd(1) - bad IfPoll timer interval o docs/132959 doc [patch] description mismatches on xterm/termcap, fortu o ports/132952 obrien [patch] lang/pcc update o ports/132881 girgen [PATCH] www/jakarta-jmeter: update to 2.3.2 o conf/132851 net [fib] [patch] allow to setup fib for service running f o bin/132847 syrinx [patch] bsnmpd(8): snmp_pf: add support for retrieving o bin/132845 geom [geom] [patch] ggated(8) does not close files opened a o docs/132839 doc [patch] Fix example script in ldap-auth article p docs/132834 trhodes [patch] Punctuation inconsistency in chgrp.1 and cut.1 o kern/132832 net [netinet] [patch] tcp_output() might generate invalid p usb/132799 usb [usb][patch]GENESYS USB2IDE requires NO_SYNCHRONIZE_CA o bin/132798 net [patch] ggatec(8): ggated/ggatec connection slowdown p o usb/132785 usb [usb] [patch] Gemtech remote powersocket is classed as o kern/132705 net [libwrap] [patch] libwrap - infinite loop if hosts.all o ports/132693 sobomax [PATCH] misc/libpri: update to 1.4.9 o bin/132692 [patch] getent(1): no support for netgroup o ports/132688 sobomax [PATCH] net/asterisk: update to 1.4.23.2 o kern/132622 philip [glxsb] [patch] glxsb(4) performs badly with ipsec o bin/132591 [patch] dump(8): "dump W" uses %c instead of %d for re o ports/132588 ahze [PATCH] www/midori: update to 0.1.4 f ports/132579 cy [patch] sysutils/screen: fix build with externel compi o ports/132573 ume [patch] security/cyrus-sasl2: fix compilation with gcc p docs/132546 trhodes [patch] sync vm_map_lock(9) with recent locking change o docs/132525 doc [PATCH] Fix documentation for atapicam(4) and umass(4) o kern/132497 rwatson [boot] [patch] Stale pre-5.x mbuf references in new Bo o conf/132483 rc rc.subr(8) [patch] setfib(1) support for rc.subr o conf/132476 rc [rc.d] [patch] add support setfib(1) in rc.d/routing o ports/132435 anders [patch] audio/xmp: add option to use tar(1) instead of p docs/132392 trhodes [PATCH] remove leftovers of libkse from pthread.3 o bin/132367 [patch] less(1)/more(1) fchmod(2) `/dev/null' to 0600 o www/132344 bugmeister [patch] www/en/cgi/query-pr.cgi broken base64 attachme s ports/132319 lwhsu [PATCH] chinese/scim-chewing: update to 0.3.3 s ports/132318 lwhsu [PATCH] chinese/libchewing: update to 0.3.2 o docs/132311 doc [patch] man5/nsmb.conf.5 o bin/132302 [patch] smbutil(1): contrib/smbfs subr.c: saved passwo o ports/132294 stas [PATCH] lang/ruby18: Add option to build with Profile- o ports/132293 stas [PATCH] lang/ruby19: Add option to build with Profile- o kern/132273 geom glabel(8): [patch] failing on journaled partition o kern/132271 [puc] [patch] puc support for a generic card f ports/132231 gecko [PATCH] www/firefox3: Add option to build with Profile o ports/132213 anders [patch] mail/imap-uw: Add support for ~/mail as defaul o docs/132193 doc [patch] description in the malo(4) manpage incorrect o conf/132179 net [patch] /etc/network.subr: ipv6 rtsol on incorrect wla o kern/132172 [patch] [panic] Page fault panic in scioctl and consol o bin/132114 randi [patch] add new 'docs' virtual category to sysinstall o bin/132112 [patch] devd(8) unnecessarily reconfigures carp(4) int o kern/132104 [kernel] [patch] kenv(1) buffer overflow o usb/132080 usb [patch] [usb] Kernel panic after NOMEM caused by rum c o ports/132074 tdb [patch] - update security/f-prot to version 6.0.1 o conf/132008 [PATCH] to allow using section/nosection in KERNCONF o kern/132001 [patch] [ixgb] driver update o kern/131933 [uart] [patch] Cannot detect Sony Ericsson GC89 EDGE/W o ports/131930 x11 [PATCH] x11-servers/xorg-server coredumps on exit o docs/131918 doc [patch] Fixes for the BPF(4) man page o usb/131912 usb [uslcom] [patch] New devices using Silicon Labs chips o usb/131900 usb [usbdevs] [patch] Additional product identification co o docs/131684 doc [patch] articles/linux-comparison: replace Addenda by o docs/131626 pgj [patch] dump(8) "recommended" cache option confusing o docs/131625 pgj [patch] Typos in ed(1) man page o docs/131590 doc [patch] whitespace-only change of developers-handbook/ o bin/131567 net [socket] [patch] Update for regression/sockets/unix_cm s ports/131537 jpaetzel [PATCH] devel/py-yaml: update to 3.08 o kern/131536 net [netinet] [patch] kernel does allow manipulation of su o bin/131427 [patch] Add to fetch(1) an ability to limit a number o p bin/131250 bz [patch] ppp(8) proxyarp does not work o bin/131143 [patch] amd(8) causes annoying "embedded slash in map o usb/131123 usb [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk o kern/131086 fs [ext2fs] [patch] mkfs.ext2 creates rotten partition o misc/131059 [tinybsd] [patch] tinybsd MFSROOT option suggests YES/ o docs/130895 doc [patch] No man page installed for padlock(4) on amd64 o bin/130874 [patch] fix typo in nvi(1) (subsitution -> substitutio o misc/130856 [build] [patch] make installworld work when WITHOUT_GA o bin/130855 [PATCH] add a chown(8)/chgrp(8) -x option to avoid cro o ports/130811 doceng [PATCH] Floating point exceptions Ghostscript 8.63 (pr o kern/130749 [libc] [patch] nscache.c/nscachedcli.c - return error o docs/130742 doc [patch] articles/geom-class: russian translation is mi o kern/130735 scsi [cam] [patch] pass M_NOWAIT to the malloc() call insid o kern/130724 emulation [linprocfs] [patch] cpuinfo in linprocfs is dated, cau o kern/130657 bz [ip6] [patch] ipv6 class option o conf/130555 net [rc.d] [patch] No good way to set ipfilter variables a p docs/130548 geom [patch] gjournal(8) man page is missing sysctls o kern/130512 [ipmi] [patch] Various mistakes in IPMI watchdog handl o kern/130476 [build] [patch] Error in compiling kernel with device o conf/130414 rc [patch] rc services started with onestart are not stop o docs/130394 jb [patch] Minor typo in dtrace(1M) man page o ports/130387 portmgr [PATCH] Mk/bsd.port.mk - Add macros for COPYTREE_WWW a a kern/130386 rwatson [patch] add locking for generic interface address mani o bin/130366 randi [patch] sysinstall(8): Minor correction to sysinstall o usb/130325 usb [usb] [patch] fix tools/tools/usb/print-usb-if-vids.sh o kern/130286 [patch] hifn(4) changes s ports/130199 [PATCH] audio/mp3info: take maintainership s ports/130198 [PATCH] audio/libshout2: take maintainership o ports/130183 hoek [PATCH] converters/xdeview switch to USE_TCL p bin/130159 bz [patch] ppp(8) fails to correctly set routes o bin/130132 ipfw [patch] ipfw(8): no way to get mask from ipfw pipe sho a kern/130107 dfr [devctl] [patch] in devctl_queue_data(): possible use o bin/130056 [patch] have nfsstat(1) use strtonum instead of atoi o bin/129965 [patch] ps(1): ps -lH doesn't show the proper CPU# o usb/129945 usb [usbdevs] [patch] add u3g support for Longcheer WM66 U o kern/129861 pf [pf] [patch] Argument names reversed in pf_table.c:_co p usb/129858 remko [usb] [patch] Need to add quirk to da_scsi.c to suppor o bin/129814 [patch] support of per script nice(1) value in periodi o ports/129813 delphij [PATCH] net/openldap24-server: RC script assumes too m o ports/129790 lioux [PATCH] net-p2p/mldonkey: Fix rc start script o kern/129784 [ata] [patch] SATA port multiplier disk detect bugs in o ports/129782 tmclaugh [PATCH] security/sudo: update to 1.7.0 o bin/129764 [patch] unbreak sbin/newfs build for the 8-CURRENT o usb/129758 usb [uftdi] [patch] add Pyramid LCD usb support o ports/129741 portmgr [patch] bsd.port.mk: support systems that have been bu o conf/129697 [patch] fix misbehavior of periodic/daily/100.clean-di o ports/129687 obrien [patch] unbreak net/tcpshow for gcc-4.2.1 p bin/129630 [patch] bsnmpd(1): teach hostres module about ZFS o bin/129620 [patch] Incorrect bzip2(1) behavior o ports/129577 des [PATCH] sysutils/munin-main: does not honor BATCH/PACK o ports/129576 des [PATCH] sysutils/munin-node: does not honor BATCH/PACK o ports/129553 hrs [patch] print/acroread8 can't launch some programs due o usb/129522 usb [ubsa] [patch] add support for ZTE AC8700 modem o ports/129422 ume [patch] mail/cyrus-imapd23: add patch for autocreate I o bin/129405 [patch] tcsh(1) vfork bugs p docs/129398 trhodes [patch] ddb(8): various tweaks to ddb-related man page o kern/129352 net [xl] [patch] xl0 watchdog timeout o usb/129251 usb [usbdevs] [patch] Liebert UPS being assigned uhid and o kern/129231 fs [ufs] [patch] New UFS mount (norandom) option - mostly o ports/129210 portmgr [patch] Instrument bsd.port.mk to detect unstripped bi o usb/129173 usb [uplcom] [patch] Add support for Corega CG-USBRS232R a o kern/129169 emulation [linux] [patch] Linux Emulation ENOTCONN error using n o kern/129059 fs [zfs] [patch] ZFS bootloader whitelistable via WITHOUT o docs/129024 keramida [patch] ipfw(8) improvements p arm/128987 stas [patch] Fix at91_mci and use 1-bit mode. o usb/128977 usb [usb] [patch] uaudio is not full duplex o ports/128838 des [PATCH] www/varnish 2.0.1 enhancements o usb/128803 usb [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X2 o ports/128782 ume [PATCH] mail/cyrus-imapd23 2.3.13 p usb/128760 cperciva [ums] [patch] patch for Microsoft Comfort Optical Mous o bin/128725 [patch] whois(1) does not correctly send queries regar o gnu/128645 [patch] grep(1): teach grep -r to how to ignore direct f kern/128639 acpi [patch] [acpi_asus] acpi for ASUS A6F,A3E,A3F,A3N not f kern/128634 acpi [patch] fix acpi_asus(4) in asus a6f laptop p bin/128616 kientzle [patch] bsdtar(1) error message typo p misc/128610 kensmith [patch] /usr/src: the iso.1 target of make release do o kern/128608 [pccbb] [patch] add support for powering down and up C o bin/128605 secteam [patch] dhclient(8) - security issue o bin/128587 kensmith [patch] sysinstall(8) uses first mirror in Turkey even o bin/128582 [patch] wpa_cli(8): activate readline(3) support o kern/128577 [ixgbe] [patch] Send queue stall in ixgbe driver when o bin/128561 kientzle [patch] compile warning fixes for bsdtar test harness o bin/128493 [patch] find(1) exits if -fstype test fails with EACCE o usb/128485 usb [umodem] [patch] Nokia N80 modem support o ports/128467 ale [patch] databases/php4-dba: change Berkeley DB detecti o misc/128444 [build] [patch] create USB stick install image o conf/128433 [patch] Add option to allow a full login when doing 's o bin/128427 [patch] mdfs(8): mount_mfs warns "chmod: Read-only fil o kern/128335 [patch] [cpufreq] Missing call to sbuf_delete() in two o usb/128324 usb [uplcom] [patch] remove baud rate restriction for PL23 o conf/128299 rc [patch] /etc/rc.d/geli does not mount partitions using o bin/128295 net [patch] ifconfig(8) does not print TOE4 or TOE6 capabi o bin/128277 [patch] improvements for fwcontrol(8) utility o gnu/128262 [libgcc] [patch] contrib/gcclibs/libcpp/errors.c: -Wmi o kern/128260 ipfw [ipfw] [patch] ipfw_divert damages IPv6 packets p docs/128222 trhodes [patch] man page truss(1) claims that init(8) can be t o kern/128165 [aac] [patch] sync aac(4) with the latest vendor versi o kern/128103 vwe [feature request] [patch] new SiS 190 NIC driver o bin/128096 bushman [patch] nscd(1): Failure in memset . o bin/128094 [patch] lint(1): Sizeof(pointer) bug in usr.bin/xlint/ p docs/128089 kientzle [patch] Incorrect type in archive_write(3) manpage o kern/128040 [pccbb] [patch] System hangs when PCMCIA-CF adapter pl o kern/128037 [pccbb] [patch] System hang on shutdown with PCMCIA-CF o kern/128036 [sio] [patch] serial console mostly ignores typein to o ports/128025 [patch] security/heimdal ldap support broken under 7 o i386/128014 i386 [geode] [patch] AMD Geode CS5536 watchdog(9) not disab p bin/127986 [patch] ee(1): fix compiler warnings caused by use of o usb/127980 usb [umass] [patch] Fix Samsung YP U2 MP3 player on 7.x an o bin/127932 [patch] mkdir(1): mkdir -p PATH fails if a directory i o kern/127928 net [tcp] [patch] TCP bandwidth gets squeezed every time t o bin/127918 [patch] ATA Security support for atacontrol(8) o conf/127917 rc [patch] dumpon rejects on start with physmem>swap even o docs/127908 doc [patch] readdir(3) error documentation o www/127898 bugmeister [patch] query-pr.cgi: properly treat quoted-printable o bin/127872 [libc] [patch] Rewinding on unionfs and Subversion p docs/127840 murray [patch] fix entity references in release/doc/en_US.ISO o kern/127834 net [ixgbe] [patch] wrong error counting s ports/127822 tmclaugh [PATCH] security/sudo: add tuneable variable SUDO_LDAP o kern/127815 net [gif] [patch] if_gif does not set vlan attributes from o bin/127764 [boot0cfg] [patch] preserve NT disk UID data for boot0 o ports/127718 brooks [patch] devel/llvm: use PIC on amd64 and add optional o kern/127717 [ata] [patch] - support write cache toggling per devic o bin/127633 edwin [patch] Update top(1) to 3.8b1 s ports/127608 marius [patch] sysutils/cdrtools - cdrecord: fix device enume p docs/127602 trhodes [patch] Incomplete information in nsswitch.conf(5) o kern/127581 acpi [patch] [acpi_sony] Add support for more Sony features s usb/127549 usb [umass] [patch] Meizu MiniPlayer M6 (SL) requires some o usb/127543 n_hibma [patch] [ubsa] Support Option Globetrotter HSDPA modem o bin/127532 [patch] install(1): install -S Not Safe in Jail with s f ports/127499 mi [PATCH] Update devel/icu to 4.0 o bin/127475 [patch] sockstat(1) output columns run into each other o misc/127471 [build] [patch] installworld fails if install-info is p kern/127446 emax [kbdmux] [patch] fix race in sys/dev/kbdmux/kbdmux.c p docs/127432 remko [patch] update fsck_ffs(8) man-page with regarding to p docs/127406 n_hibma [patch] update umodem man page: Sony Ericsson W810i o kern/127391 [ata] [patch] Intel 6300ESB SATA150 cannot find disk a o i386/127387 kib [i386] [patch] Inline assembler in x86 _start() in crt a bin/127331 edwin [patch] top(1) only shows cputime used by one process f ports/127319 dougb [PATCH] ports-mgmt/portmaster - add completion for zsh o ports/127303 kuriyama [patch] misc/amanda-server Add pkg-install to create m p kern/127289 [ata] [patch] new pci ids for SiI3132 present on adapt o bin/127280 des [libfetch] [patch] fetch/libfetch RFC 1738 %2F escaped o bin/127265 [patch] ddb(4): Adding the ddb command set from module o kern/127230 ipfw [ipfw] [patch] Feature request to add UID and/or GID l s ports/127229 lwhsu [PATCH] sysutils/dtc: unbreak, fix some typos, remove o ports/127214 secteam [PATCH] ports-mgmt/portaudit: Please change to U o kern/127121 pf [pf] [patch] pf incorrect log priority o kern/127042 pf [pf] [patch] pf recursion panic if interface group is p kern/127040 davidxu [patch] mqueuefs(5) witness panic o bin/127034 [patch] Add option to count apparent size to du(1) p kern/126984 glebius [carp] [patch] add carp userland notifications via dev o conf/126946 [patch] Add OpenVPN ports to services(5) o kern/126926 [build] [patch] Add MACHINE to dmesg o kern/126924 net [an] [patch] printf -> device_printf and simplify prob o kern/126895 net [patch] [ral] Add antenna selection (marked as TBD) o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c p conf/126841 philip [syscons] [patch] Add eee900 keyboard layout to /usr/s o kern/126688 net [ixgbe] [patch] 1.4.7 ixgbe driver panic with 4GB and p bin/126682 delphij [patch] sed(1) segfaults on error rather than error me p bin/126657 [patch] w(1) breaks multibyte date format o docs/126590 doc [patch] Write routine called forever in Sample Echo Ps p misc/126435 ed [patch] /usr/share/examples/drivers/make_pseudo_driver o bin/126433 [patch] some missing checks in rm(1) o conf/126392 rc [patch] rc.conf ifconfig_xx keywords cannot be escaped o bin/126324 rc [patch] rc.d/tmp: Prevent mounting /tmp in second tim o kern/126300 [build] [patch] Add missing -mno-sse3 flag for AMD64 t p docs/126227 trhodes [patch] kthread(9) refers to non-existent manpage, des f ports/126079 portmgr [patch] bsd.port.mk: make openssl.mk usable after pre. o kern/126075 net [inet] [patch] internet control accesses beyond end of f ports/125996 danfe [patch] x11/nvidia-driver - remove pkg_info statements o bin/125922 net [patch] Deadlock in arp(8) p bin/125878 kmacy [patch] [request] Add zfs/zpool to rescue programs. o kern/125859 [ata] [patch] sata access failure [regression] o kern/125845 net [netinet] [patch] tcp_lro_rx() should make use of hard o ports/125823 ruby [PATCH] ports-mgmt/portupgrade does not use custom ECH o kern/125808 rnoland [drm] [patch] Radeon X800 GTO - *ERROR* Offset failed s kern/125756 multimedia [sound] [patch] cannot detect soft-modem on HDA bus o bin/125707 [patch] powerd(8): force a method of battery state que o bin/125678 [patch] ls(1) -h option doesn't work if the listing co o kern/125675 [keyboard] [patch] Add hw.syscons.kbd_suspend new sysc p docs/125639 trhodes [patch] kldunloadf(2) does not mention about possible a kern/125613 trasz [ufs] [patch] ACL problems with special files o conf/125551 [patch] building WLAN userland should be optional o kern/125496 [ar] [patch] free memory on ataraid module unload o kern/125454 [digi] [patch] device digi (PC/Xe 64K 16 ports) not wo o bin/125449 [patch] awk(1): /usr/bin/awk fails mawk's FPE test o bin/125370 ipfw [ipfw] [patch] increase a line buffer limit o bin/125365 matteo [patch] mdconfig(8) -l overflow for size field o bin/125350 des [libfetch] [patch] src/lib/libfetch add support for de p usb/125264 usb [patch] sysctl for set usb mouse rate (very useful for p docs/125253 trhodes [patch] jail(2) does not mention about possible error p kern/125181 thompsa [ndis] [patch] with wep enters kdb.enter.unknown, pani p bin/125154 matteo [patch] mount(8) ignores values returned by exec_mount a kern/125139 philip [patch] [ata] bugs in ATAPI CD tray control p bin/125098 [patch] ee(1) consume 100% cpu usage o ports/125045 ume [patch] mail/cyrus-imapd: add patch for autocreate INB o conf/125041 [patch] New file: /etc/periodic/security/810.loginok o kern/125034 [devfs] [patch] devfs does not apply rules to newly cr o kern/125030 [devfs] [patch] Command 'devfs ruleset 0' causes panic o kern/125009 [patch] access(2) grants root execute perms for non-ex o kern/124996 [patch] "filesystem goof: vop_panic[vop_revoke]" panic o kern/124973 geom [gjournal] [patch] boot order affects geom_journal con o kern/124963 alc [vm] [patch] old pagezero fixes for alc p i386/124902 delphij [i386] [patch] patch to fix VESA modes and allow 8bit o kern/124881 [devfs] [patch] [request] Add possibility to check whi p kern/124853 gonzo [devfs.rules] [patch] devfs_ruleset_use may use freed o bin/124822 [editline] [patch] Editline's ed-search-{prev,next}-hi o ports/124798 brix [patch] irc/bitlbee is not doing SRV lookups for XMPP o bin/124748 [patch] sh(1): sh -c 'exit -1' fails with "Illegal num o conf/124747 rc [patch] savecore can't create dump from encrypted swap o kern/124744 acpi [acpi] [patch] incorrect _BST result validation for To a docs/124716 trhodes [patch] GEOM RAID1 handbook example only covers boot p o conf/124641 [patch] new periodic script for checking for ports wit f kern/124621 fs [ext3] [patch] Cannot mount ext2fs partition o kern/124564 [kernel] [patch] add CPUID bits to ident phenom proces o bin/124517 [patch] cdcontrol(1) doesn't print all error messages o kern/124487 [procfs] [patch] Extending the PROCFS (/proc) filesyst o misc/124431 [build] [patch] minor revision of BDECFLAGS o bin/124392 rink [patch] bootparamd(8) does not work on arm p misc/124385 mtm [build] [patch] usr.sbin/ngctl/main.c fails to compile o bin/124349 [patch]: stat(1) should interpret st_flags as it does p bin/124342 mtm ggated(8): [patch] sbin/ggate/ggated/ggated.c fails to p kern/124334 mtm [libc] [patch] lib/libc/glob.c fails to compile under p bin/124251 mtm [patch] add BUGS section to rcorder.8 with REQUIRE exp o conf/124248 rc [jail] [patch] add support for nice value for rc.d/jai o kern/124225 cokane [ndis] [patch] ndis network driver sometimes loses net o kern/124202 [aic] [patch] Add Adaptec 39320LPE to list of known de o kern/124164 [patch] Add SHA-256/512 hash algorithm to crypt(3) o kern/124064 [ar] [patch] cannot handle >16 serial number with Inte o bin/124052 [patch] adduser(8) throws errors when -f input file in o kern/123980 [ata] [patch] Implement ATA UDMA speed limit (hw.ata.a p kern/123961 net [vr] [patch] Allow vr interface to handle vlans o gnu/123921 [patch] cpio(1): cpio -oc bug with write_out_header() o kern/123892 net [tap] [patch] No buffer space available o kern/123858 net [stf] [patch] stf not usable behind a NAT p bin/123807 imp [patch] timed(8) does not run on arm (incorrect getopt o kern/123793 bz [ipsec] [patch] KAME IPSEC does not pass processed pac o bin/123774 [patch] kdump(1): time_t printing issues o conf/123734 rc [patch] Chipset VIA CX700 requires extra initializatio o bin/123703 [patch] timed(8): qualify bad diagnostic in src/usr.sb o bin/123693 [patch] burncd(8): workaround for busy cd-writer while o bin/123644 [patch] [sysctl] Allow sysctl(8) to ignore unknown OID o kern/123630 geom [patch] [gmirror] gmirror doesnt allow the original dr o bin/123553 [patch] Prevent indent(1) from splitting unrecognized o conf/123551 [patch] [periodic] /etc/periodic/daily/440.status-mail p kern/123518 [patch] src/sys/kern.mk fails to disable -msse3 for am o docs/123484 edwin [patch] teach pxeboot.8 about ISC DHCP v3 o bin/123418 [patch] du(1): add -g (Gbyte) option to du(1) + manpag o usb/123352 usb [usbdevs] [patch] Add Option GTMAX3.6/7.2 and Quallcom o usb/123351 usb [usbdevs] [patch] Add Reiner SCT cyberJack, Omnikey [2 p bin/123329 phk [patch] usage strings for fifolog_create(1) and fifolo o misc/123240 [nanobsd] [patch] rerunning nanobsd.inc.sh fails becau o bin/123237 randi sysinstall(8): [patch]: sysinstall(8) -- remove dummy o conf/123222 rc [patch] Add rtprio(1)/idprio(1) support to rc.subr(8). o ports/123185 portmgr [patch] Mk/bsd.port.mk - Add extended description to O o kern/123177 secteam [random] [patch] arc4rand(9) produces the same sequenc o misc/123156 [build] [patch] make.conf update to "make update" sect o misc/123155 [build] [patch] src/Makefile.inc1 bug: remove obsolete p kern/123147 remko [ti] [patch] ti(4) doesn't use mii, but kernel configs o conf/123119 ipfw [patch] rc script for ipfw does not handle IPv6 p bin/123069 [patch] ps(1): invalid value of 'elapsed' field in ps o ports/123042 portmgr [patch] bsd.port.mk - Fix USE_LDCONFIG when used with f docs/123038 trhodes [patch] update to projects/c99/index.sgml p docs/123035 trhodes [patch] bugs in refuse.README a bin/123021 [patch] mount(8): mount -p shows incorrect mount optio o bin/123015 brooks [patch] rc.conf(8): implement automated creation of /e o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122956 usb [ubsa] [patch] add support for Novatel Wireless XU870 o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o conf/122883 [patch] login class for ukrainian users accounts o ports/122877 portmgr [patch] Mk/bsd.port.mk - Show all pkg-message files o usb/122819 usb [usb] [patch] Patch to provide dynamic additions to th o kern/122670 [ata] [patch] broken acd_get_progress = ioctl CDRIOCGE p bin/122659 stefanf [patch] sh(1) long arithmetics broken on certain archi o bin/122652 [patch] du(1) support for inode count o i386/122623 i386 [build] [patch] bsd.cpu.mk doesn't handle opteron/athl o usb/122621 usb [new driver] [patch] New driver for Sierra Wireless 3G o bin/122519 [patch] ppp(8): ppp provides deficient DNS info o conf/122477 rc [patch] /etc/rc.d/mdconfig and mdconfig2 are ignoring f misc/122300 kensmith [build] [patch] SEPARATE_LIVEFS arch dependent set but o kern/122288 [md] [patch] mdconfig(8) returning negative unit numbe o bin/122271 [patch] usr.bin/xinstall - Add support for -D option ( o conf/122170 rc [patch] [request] New feature: notify admin via page o p bin/122137 matteo [patch] Have crontab(1) use snprintf instead of sprint p bin/122070 matteo [patch] crontab(1): Zero out pw_passwd in crontab o kern/122047 fs [ext2fs] [patch] incorrect handling of UF_IMMUTABLE / o bin/122043 [patch] du(1) does not support byte-count-based report o conf/122037 [patch] add rsync example for inetd.conf o usb/122025 usb [uscanner] [patch] uscanner does not attach to Epson R o stand/121921 standards [patch] Add leap second support to at(1), atrun(8) o kern/121917 [boot] [patch] Broken boot on Asus P4P800-VM after upg s ports/121902 gabor [PATCH] textproc/ispell add OPTIONS o kern/121899 [ar] [patch] Drive detached from Intel Matrix RAID and o kern/121897 [patch] realpath(3) segmentation fault o bin/121895 net [patch] rtsol(8)/rtsold(8) doesn't handle managed netw p conf/121783 cperciva [patch] freebsd-update(8) upgrade overwrites device.hi o usb/121755 usb [ohci] [patch] Fix panic after ohci/uhub cardbus devic o kern/121706 net [netinet] [patch] "rtfree: 0xc4383870 has 1 refs" emit o ports/121688 kde [patch] editors/koffice-kde3: several depencancy fixes o ports/121672 wes [Patch] mail/mimedefang: opt out of clamav use o bin/121671 bushman [patch] nscd(8) prints needless banner f kern/121660 jkoshy [hwpmc] [patch] hwpmc(4) incorrectly handles PMC sampl o kern/121656 [libc] [patch] telldir(3) issues o stand/121568 standards [patch] ln(1): wrong "ln -s" behaviour o kern/121566 rc [nfs] [request] [patch] ethernet iface should be broug o kern/121559 geom [patch] [geom] geom label class allows to create inacc o bin/121542 portmgr [patch] teach pkg_add(1) to accept PACKAGEROOT and PAC o kern/121521 [ata] [patch] add VIA CX700M2 chipset to ata driver p bin/121512 mtm [sysctl] [patch] sysctl(8) should return 1 if the user o kern/121504 acpi [patch] Correctly set hw.acpi.osname on certain machin o bin/121502 [patch] option -P appears to be broken in restore(8) s p docs/121490 brueffer [patch] Multiple typos ("in in") in /usr/src files o usb/121474 usb [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard o usb/121426 usb [patch] [uscanner] add HP ScanJet 3570C o bin/121424 doc [patch] [ipfw] Rectify ambiguous English in manual o ports/121413 portmgr [patch] bsd.port.mk: introduce USE_LZMA for lzma-compr o bin/121366 fs [zfs] [patch] Automatic disk scrubbing from periodic(8 o bin/121359 net [patch] ppp(8): fix local stack overflow in ppp o bin/121243 des [patch] passwd(1) patch for usage with PAM/LDAP o arm/121242 ticso [ate] [patch] Promiscuous mode of if_ate (arm) doesn't p usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a p bin/121182 [patch] newfs_msdos(8) should supports devices without o docs/121173 doc [patch] mq_getattr(2): mq_flags mistakenly described a p kern/121156 multimedia [sound] [patch] Turn on inverted external amplifier se o ports/121143 markus [PATCH] audio/cdparanoia: rip multisession CDs correct o kern/121122 ipfw [ipfw] [patch] add support to ToS IP PRECEDENCE fields o kern/121102 acpi [acpi_fujitsu] [patch] update acpi_fujitsu for the P80 o kern/121074 des [patch] Add RFC2617 digest authentication to fetch(3) o kern/121073 [kernel] [patch] run chroot as an unprivileged user o conf/121064 [patch] Use ASCII characters for box/line characters i o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS o bin/120994 [patch] alignment violation in chap module of ppp(8) c o conf/120993 [patch] 340.noid -- Add "find -x" capability (don't cr o bin/120990 [patch] support "BIOS Boot" partition type in gpt(8) o kern/120989 scottl [udf] [patch] UDF (with DVD RAM) isn't mountable/reada p docs/120945 net [patch] ip6(4) man page lacks documentation for TCLASS p bin/120891 dwmalone [patch] enhancement to syslogd(8) - always printing lo o kern/120884 [bktr] [patch] bktr driver always stores the contigmal o kern/120872 [libkvm] [patch] fstat exit on signal 11 o bin/120870 [patch] truss(1) shows 'pipe' system call as having 6 o kern/120858 scottl [patch] [cam] panic: ufs_dirbad with CLARiiON CX3-40 o bin/120813 [patch] grdc(6) off by 500 ms (on average) o ports/120756 des [PATCH] sysutils/munin-node: Use fixed GID o ports/120755 des [PATCH] sysutils/munin-main: Use fixed UID/GID p kern/120714 gonzo [viapm] [patch] viapm driver doesn't work on VIA VT823 o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a o ports/120532 portmgr [PATCH] bsd.port.mk - add more recursive-foo targets o kern/120515 acpi [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc o kern/120483 fs [ntfs] [patch] NTFS filesystem locking changes o kern/120482 fs [ntfs] [patch] Sync style changes between NetBSD and F o conf/120431 rc [patch] devfs.rules are not initialized under certain o conf/120406 rc [devd] [patch] Handle newly attached pcm devices (eg. o kern/120304 net [netgraph] [patch] netgraph source assumes 32-bit time o kern/120270 simon [crypto] [patch] AES-192 and AES-256 support for HW-ac o conf/120263 [patch] 800.loginfail misses relevant security informa o bin/120256 [patch] ftp(1): ftp -u URL/ returns a -1 o kern/120232 net [nfe] [patch] Bring in nfe(4) to RELENG_6 o conf/120228 rc [zfs] [patch] Split ZFS volume startup / ease ZFS swap o amd64/120202 amd64 [amd64] [patch] [panic] kernel panic at start_all_aps, p conf/120194 pjd [patch] UFS volumes on ZVOLs cannot be fsck'd at boot p kern/120138 jeff [sched_ule] [patch] steal_thresh may be set a wrong va o kern/120128 attilio [libc] [patch] __getcwd erroneously returning ENOENT o docs/120125 doc [patch] Installing FreeBSD 7.0 via serial console and o bin/120114 [patch] reboot(8) - add features available in Solaris. o kern/120073 [new driver] [patch] add support for Meinberg PCI-base o kern/120057 pf [pf] [patch] Allow proper settings of ALTQ_HFSC. The c o usb/119981 usb [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigab o ports/119923 demon [patch] sysutils/ascpu does not work FreeBSD 8.0-CURRE p threa/119920 deischen [patch] fork broken in libpthread o conf/119874 rc [patch] "/etc/rc.d/pf reload" fails if there are macro o kern/119767 jfv [em] [patch] if_em fix for systems without msix suppor o ports/119710 sumikawa [patch] net/netcat - nc command runs BSD nc instead of o kern/119668 scsi [cam] [patch] certain errors are too verbose comparing o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o bin/119610 [patch] config(8): config -x appends unwanted trailing o kern/119606 [sio] [patch] PCMCIA card not attached to driver o amd64/119591 amd64 [amd64] [patch] time_t on 64-bit architecture o kern/119575 simokawa [firewire] [patch] sbp_targ cannot handle multiple CTI o bin/119483 [patch] vidcontrol(1) misses latest VESA mode (off-by- o conf/119464 [patch] [request] Add 'sorted' option to etc/periodic/ o kern/119358 [kernel] [patch] SYSINIT_VERBOSE can be more verbose p docs/119329 trhodes [patch] Fix misleading man 1 split o kern/119307 emaste [queue] [patch] TRASHIT macro blasts list header if RE o kern/119298 kan [xfs] [patch] 7-Stable/sys/modules/xfs fails to make f o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o kern/119205 [dc] [patch] Collect various stats regarding dc(4) int o kern/119202 [kernel] [patch] Add generic support for disabling dev o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and o i386/119175 i386 [busdma] [patch] Typo in bus_dmamem_alloc() o usb/119150 remko [usbdevs] [patch] new usbdevs for CDMA 1xEVDO devices o bin/119077 [patch] sysinstall(8) - reading packages from index is o conf/119076 rc [patch] [rc.d] /etc/rc.d/netif tries to remove alias a o bin/119014 [patch] IPv6 addresses cause sockstat(1) to run column o docs/118902 doc [patch] wrong signatures in d2i_RSAPublicKey man pages a kern/118879 net [bge] [patch] bge has checksum problems on the 5703 ch o bin/118874 [patch] tftpd(8): add TFTP Option Extension (rfc 2347) p conf/118770 mtm [patch] rc.d scripts: print information instead of sil o kern/118739 [cpufreq] [patch] Allow the cpufreq/p4tcc driver to de o kern/118727 net [netgraph] [patch] [request] add new ng_pf module o bin/118723 gcooper [patch] od(1)/hexdump(1) truncates last partial repeat o kern/118713 fs [minidump] [patch] Display media size required for a k o bin/118636 sysinstall(8): [patch] [request] remove requirement fo p kern/118540 kaiw [elf] [patch] update sys/sys/elf_common.h with new ema o kern/118493 weongyo [ndis] [patch] a trivial fix when ndis sets `ndis_reso o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround o kern/118447 [ata] [patch] Troublesome DMA modes with VIA Apollo VP p kern/118439 thompsa [ndis] [patch] if_ndis - fix a panic when ndis_attach( p usb/118374 attilio [ubsa] [patch] support Option GlobeTrotter Max 3.6 wir p kern/118370 thompsa [ndis] [patch] if_ndis - fix a scanning problem of Mar o bin/118355 pf [pf] [patch] pfctl(8) help message options order false o bin/118325 rc [patch] [request] new periodic script to test statuses o kern/118320 fs [zfs] [patch] NFS SETATTR sometimes fails to set file o kern/118317 [zlib] [patch] Incorrect gzeof() return value in zlib o bin/118297 weongyo [patch] ndiscvt(8): sort a output format. o bin/118296 weongyo [patch] ndiscvt(8) can't parse a STRING WORD pattern w o bin/118295 weongyo [patch] ndiscvt(8) makes a syntax error when it proces o bin/118294 weongyo [patch] ndiscvt(8) can't parse WORD which includes '(' a kern/118238 net [bce] [patch] bce driver shows "no carrier" on Intel S o kern/118222 [pxeboot] [patch] FreeBSD 7.0 PXE + NFS / "Can't work o bin/118205 [patch] [request] new options -r to pkill(1) a pid aft o bin/118144 des [patch] pam_lastlog doesn't check return values in pam o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o bin/118132 [patch] pax(1): broken -s handling of \1, \2 ... o bin/118123 [patch] chat(8) has infinite recursion bug o bin/118114 [patch] update manctl(8) o conf/118111 [patch] [request] Add MAC address based interface rena o bin/118069 thomas [patch] camcontrol(8) should be able to leave device s o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o conf/117935 rc [patch] ppp fails to start at boot because of missing s bin/117830 [patch] who(1) no longer displays entries for folk log f bin/117751 [patch] [request] Make pw(8) support "-d" argument o bin/117733 [patch] [request] allow to tee(1) to sockets, descript o kern/117709 simon [libcrypto] [patch] Base openssl does not define OPENS o bin/117687 [patch] fstab(5) format cannot handle spaces f bin/117603 linimon [patch] dump(8) hangs on SMP - 4way and higher. o usb/117598 usb [uaudio] [patch] Not possible to record with Plantroni o usb/117546 remko [uftdi] [patch] Add MaxStream ZigBee product ID to uft o bin/117520 mux [patch] csup(1) not-really-equivalent to cvsup p kern/117512 des [libpam] [patch] document .opieaccess for pam_opieacce o kern/117510 [headers] [patch] sys/cdefs.h lacks support for PCC o bin/117452 [patch] tftp(1): the fix for PR 103206 was incorrect o bin/117339 net [patch] route(8): loading routing management commands o docs/117308 gavin [patch] Clarification of /etc/defaults/devfs.rules sta o bin/117277 des [patch] fetch(1): fetch's resume mode doesn't verify t o kern/117234 ipfw [ipfw] [patch] ipfw send_pkt() and ipfw_tick() don't s o usb/117205 remko [uscanner] [patch] uscanner support for HP ScanJet 447 o bin/117191 [patch] OptionalObsoleteFiles.inc - Add files to remov p usb/117185 thompsa [umodem] [patch] Add support for UNION interface descr o bin/117093 kensmith [patch] [request] Teach sysinstall(8) to load config f p ports/116984 apache [patch] www/apache13-modssl missing perl5.8 as RUN_DEP o bin/116980 fs [msdosfs] [patch] mount_msdosfs(8) resets some flags f o usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th o bin/116908 [patch] pkg_create(1): pkg_create -b makes invalid pac o kern/116837 net [tun] [panic] [patch] ifconfig tunX destroy: panic o stand/116826 standards [patch] sh support for POSIX character classes a kern/116697 kmacy [net] [patch] ifconfig's name argument has no effect o o bin/116643 net [patch] [request] fstat(1): add INET/INET6 socket deta p kern/116608 fs [msdosfs] [patch] msdosfs fails to check mount options f ports/116601 portmgr [patch] bsd.port.mk - fail if dependency failed o bin/116425 [patch] [request] ls(1) options for pre-sort of direct o conf/116416 mtm [patch] [request] per-jail rc.conf(5) style configurat o conf/116237 [patch] ugly output of the 405.status-ata-raid if fdes o ports/116219 edwin [patch] Add @rmtry to bsd.port.mk o bin/116209 [patch] [request] decimal suffix in split(1) o conf/116071 [patch] loader.conf update some variables o kern/116009 ipfw [ipfw] [patch] Ignore errors when loading ruleset from o bin/115960 des sshd's X11 forwarding broken on IPv6 only machine [pat o bin/115946 des [libpam] [patch] not thread-safe o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter p kern/115755 ipfw [ipfw] [patch] unify message and add a rule number whe o kern/115631 [libc] [patch] [request] make dlclose(3) atexit-aware a kern/115623 imp [cardbus] [patch] Xircom CardBus Ethernet II 10/100 Ad o amd64/115581 amd64 [Makefile] [patch] -mfancy-math-387 has no effect o kern/115547 geom [geom] [patch] [request] let GEOM Eli get password fro o bin/115486 [patch] [request] newsyslog(8) -- provide ability to c o ports/115461 pgollucci [patch] bsd.apache.mk - Create packages for apache mod o bin/115447 harti [patch] [request] teach make(1) to respect TMPDIR envi o bin/115431 [patch] [request] improvement to split(1): add -B swit p bin/115406 [patch] gpt(8) GPT MBR hangs award BIOS on boot o kern/115371 imp [cardbus] [patch] Device removal leaves resource datab o kern/115196 bushman [libc] [patch] [request] Implement getgroupmembership( o bin/115174 [patch] growfs(8) needs zero-writing for safe filesyst o bin/115172 ipfw [patch] ipfw(8) list show some rules with a wrong form o kern/115164 des [libpam] [patch] [request] Add support for the account o kern/115162 des [libpam] [patch] [request] Add check for target user's o kern/115133 scottl [mpt] [mfi] [patch] Patches to make mfi support LSI SA o docs/115065 doc [patch] sync ps.1 with p_flag and keywords o kern/114955 fs [cd9660] [patch] [request] support for mask,dirmask,ui o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o kern/114915 net [patch] [pcn] pcn (sys/pci/if_pcn.c) ethernet driver f o kern/114847 fs [ntfs] [patch] [request] dirmask support for NTFS ala o kern/114714 thompsa [gre] [patch] gre(4) is not MPSAFE and does not suppor p kern/114646 firewire [firewire] [patch] firewire fails after suspend/resume o kern/114492 [kernel] [patch] device_attach() doesn't unset devclas o bin/114468 fs [patch] [request] add -d option to umount(8) to detach o bin/114465 [patch] [request] script(1): add really cool -d, -p & o kern/114451 [nfs] [patch] prevent NFS server possible crash o docs/114371 doc [patch] [ip6] rtadvd.con(5) should show how to adverti f kern/114331 vanhu [crypto] [patch] VIA padlock freesession bug o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o kern/114291 kmacy [RFE] [modules] [patch] add dynamic module references o ports/114231 edwin [patch] multimedia/audacious-plugins - audacious/plugi f ports/114229 nork [patch] [www/linuxpluginwrapper] libmap.conf-FreeBSD6 o docs/114184 doc [patch] [ndis]: add info to man 4 ndis o ports/114167 portmgr [patch] bsd.port.mk - ignoring major numbers in LIB_DE o bin/114129 mux [patch] csup(1) doesn't support authentication p conf/114101 se [patch] Add ZFS to periodic locate run o bin/114081 bz [patch] [ppp] ppp(8) should be able to set ethernet ad o usb/114068 usb [umass] [patch] Problems with connection of the umass o bin/114059 [patch] shutdown(8) should fall back to exec reboot/ha o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o bin/113979 matteo [patch] sysinstall(8) does not support UFS1 filesystem s kern/113950 multimedia [sound] [patch] [request] add per-vchan mixer support o conf/113915 rc [patch] ndis wireless driver fails to associate when i o conf/113913 [patch] [requst] new file /etc/periodic/daily/490.stat o kern/113885 geom [gmirror] [patch] improved gmirror balance algorithm o bin/113881 [patch] sysctl(8): Wrong memory usage o kern/113856 [patch] [plip] PLIP (parallel port IP) dead on 6.2, de o kern/113849 [libdisk] [patch] Correction of Sanitize_Bios_Geom for o bin/113838 fs [patch] [request] mount(8): add support for relative p o bin/113825 [patch] [libc] [ggated] Fix -STABLE build with -fno-st o docs/113803 ipfw [patch] ipfw(8) - don't get bitten by the fwd rule o bin/113702 portmgr [patch] bad output from "pkginfo -g" o bin/113682 [patch] sysinstall(8) warns for invalid geometry which o bin/113518 [patch] make(1): Prevent execution when command is a c o bin/113398 [libc] [patch] initgroups fails rather than truncates p kern/113388 ipfw [ipfw] [patch] Addition actions with rules within spec o gnu/113343 [patch] grep(1) outputs NOT-matched lines (with multi- p kern/113266 harti [libgssapi] [patch] Missing handling of mech_type in g o conf/113265 [patch] Add registered epmd port number to etc/service o bin/113239 [patch] atrun(8) loses jobs due to race condition o bin/113230 des [pam] [patch] const-ify PAM-headers o docs/113194 doc [patch] [request] crontab.5: handling of day-in-month o i386/113110 i386 [mk] [patch] i686 is not an alias of pentiumpro on GCC f ports/113099 tmclaugh [PATCH] sysutils/libchk may skip $X11BASE now o ports/113096 edwin [patch] x11/xorg - X.org manpages broken o bin/113074 [patch] ppp(8): include for strcasecmp(3) a usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o bin/113049 fs [patch] [request] make quot(8) use getopt(3) and show o conf/112997 [patch] Add note about the 'native' mtune option to sh p bin/112955 des [patch] login(1): add netgroup support back to pam_log o usb/112944 usb [ulpt] [patch] Bi-directional access to HP LaserJet 10 o kern/112938 [headers] [patch] utmp.h is too limiting for modern sy p docs/112935 remko [patch] newfs_msdos(8): document 4.3g limit on files w o bin/112794 [patch] [request] pam_exec(8): allow pam_exec to expor o kern/112775 [libmd] [patch] libmd(3) bug for some zero-length file p bin/112694 jon [patch] segfault in pam_lastlog(8) on sshd exit when n o bin/112673 [patch] pkg_add(1): pkg_add -S leaks the temp dir o kern/112658 fs [smbfs] [patch] smbfs and caching problems (resolves b o conf/112558 [patch] /etc/periodic/daily/200.backup-passwd poor han o bin/112557 net [patch] ppp(8) lock file should not use symlink name o bin/112556 [patch]: sysctl(8) needs to fix multi-lineal descripti p kern/112554 silby [kernel] [patch] unp_gc is overly agressive and remove s kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f o kern/112477 marius [ofw] [patch] Add support to set the node and type on o bin/112379 [patch] [request] lockf(1): on closing stdin, stdout, p ports/112347 obrien [PATCH] editors/vim re-enable WITH_TCL o bin/112336 [patch] install(1): install -S (safe copy) with -C or s gnu/112215 obrien [patch] gcc(1): "gcc -m32" attempts to link against 64 o bin/112213 [patch] touch(1)ing a directory and failing yields ret o bin/111978 [patch] [request] make syspath list for mount(8) confi o kern/111537 kmacy [inet6] [patch] ip6_input() treats mbuf cluster wrong o bin/111493 [patch] routed(8) doesn't use multicasts for RIPv2 via o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o bin/111226 [patch] Incorrect usage of chflags() in various FreeBS o bin/111024 [request] [patch] atacontrol(8): support for stand-by p kern/111023 mav [ata] [request] [patch] please expand ata timeouts o kern/110995 kmacy [loader] [patch] loader wastes space worth symtab size o conf/110993 [patch] /etc/netstart should start rpcbind o bin/110887 [patch] truss(1) missing linux_access syscall descript o usb/110856 usb [usb67] [ugen] [patch] interrupt in msgs are truncated f kern/110720 kmacy [net] [patch] [request] support for interface descript o ports/110533 olgeni [patch] WITHOUT_NLS support for www/neon and www/sitec o kern/110392 scottl [hptmv] [patch] hptmv very old and missing important f o docs/110376 doc [patch] add some more explanations for the iwi/ipw fir o kern/110284 kmacy [if_ethersubr] [patch] Invalid Assumption in SIOCSIFAD o docs/110253 doc [patch] rtprio(1): remove processing starvation commen o kern/110249 kmacy [kernel] [regression] [patch] setsockopt() error regre o kern/110199 jmg [kqueue] [patch] kqueue_register doesn't update the kn o bin/110146 [patch] [request] Allow arbitrary gdb(1) options to by o bin/110068 [patch] rewrite of mdmfs(8) in shell o docs/110062 doc [patch] mount_nfs(8) fails to mention a failure condit o docs/110061 doc [patch] tuning(7) missing reference to vfs.read_max o kern/110017 [libexec] [patch] serial port console output garbled p amd64/109584 edwin [patch] zdump(8) doesn't work a ports/109580 glewis [patch] math/gnuplot does not include bsd.emacs.mk whe o conf/109562 rc [rc.d] [patch] [request] Make rc.d/devfs usable from c o bin/109521 [patch] chio(1): 'chio return' breaks on non-voltag ch o ports/109501 krion [PATCH] add some configurable vars to mail/exim o bin/109478 [libc] [patch] adopt reentrant syslog functions from O a kern/109477 yongari [vr] [patch] onboard via vt6103 ethernet does not work o kern/109416 des [libpam] [patch] pam_group doesn't check login_group m o bin/109413 jhb [patch] top(1) shows at least 50% idle when hyperthrea o kern/109277 [pppd] [patch] : kernel ppp(4) botches clist reservati o kern/109251 net [re] [patch] if_re cardbus card won't attach o kern/109232 imp [sio] [patch] ibufsize calculation wrong causing data o docs/109008 csjp [patch] add summary of kern/48198 to jexec(8) s bin/108743 vwe [patch] who(1): IPv6 addresses truncated to maximum IP p bin/108523 trhodes [patch] daemon(8): support for dropping privileges p bin/108368 [patch] tip(1) coredumped when 'du' capability is used o kern/108133 jmg [bktr] [patch] bktr driver doesn't recognize Hauppauge o kern/107944 net [wi] [patch] Forget to unlock mutex-locks o ports/107816 roam [patch] The IPv6 patch breaks the location feature of o kern/107707 geom [geom] [patch] [request] add new class geom_xbox360 to p stand/107561 standards [libc] [patch] [request] Missing SUS function tcgetsid o bin/107515 [patch] ls(1) bug o usb/107388 usb [usb67] [usb8] [new driver] [patch] add utoppy device f usb/107248 gavin [usb67] [cam] [quirk] [patch] quirk for Cowon iAUDIO X o usb/107243 usb [usb67] [cam] [quirk] [patch] Apacer USB Flash Drive q o bin/107171 [patch] [ncurses] systat(1) doesn't die when it's xter o conf/107035 net [patch] bridge(8): bridge interface given in rc.conf n o bin/106872 [patch] [request] extattr support for find(1) f usb/106861 gavin [usb67] [usb8] [usbdevs] [patch] Add ACER Zeevo BT-500 s ports/106848 portmgr [PATCH] Mk/bsd.port.mk -- Add support to remove locale o bin/106734 [patch] [request] bzip2(1): SSE2 optimization for bzip o kern/106722 glebius [net] [patch] ifconfig may not connect an interface to o kern/106646 [nfs] [patch] Pointer incorrectly cast to ulong o kern/106645 [uart] [patch] uart device description in 7-CURRENT is f usb/106621 gavin [usb67] [axe] [patch] DLINK DUB-E100 support broken o i386/106493 emaste [patch] pxeboot(8) uses /pxeroot instead of / o ports/106483 portmgr [patch] embed distfile information in +CONTENTS o bin/106431 [patch] atacontrol(8): Inform user of ata RAID5 acting o kern/106255 trhodes [msdosfs] [patch]: correct setting of archive flag p bin/106049 [patch] tftpd(8) - improve -w option to support unique o conf/106009 rc [ppp] [patch] [request] Fix pppoed startup script to p o bin/105614 [patch] setkey(8): Creating NULL encryption ESP SAs wi o kern/105604 [bktr] [patch] add support for Pixelview PlayTV Pro 2 o conf/105568 rc [patch] [request] Add more flexibility to rc.conf, to o docs/105456 keramida [patch] overhaul of the security chapter (14) o bin/105341 [libpam] [patch] [request] pam_krb5: Add minimum_uid/m o www/105333 www [patch] Base selection in events in libcommon.xsl does o kern/105330 ipfw [ipfw] [patch] ipfw (dummynet) does not allow to set q o conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp f conf/105100 ache [patch] [locale] no support for lv (latvian) locale o kern/105093 fs [ext2fs] [patch] ext2fs on read-only media cannot be m o bin/104921 ipfw [patch] ipfw(8) sometimes treats ipv6 input as ipv4 (a o kern/104882 [iicbb] [patch] pvr250 and pvrxxx drivers need iicbb p o kern/104851 net [inet6] [patch] On link routes not configured when usi o bin/104746 [patch] traceroute(8): 'traceroute -e -P TCP' cannot w o stand/104743 standards [headers] [patch] Wrong values for _POSIX_ minimal lim o kern/104738 mlaier [inet] [patch] Reentrant problem with inet_ntoa in the s bin/104689 matteo [patch] [request] powerd(8): add support for limiting o kern/104682 ipfw [ipfw] [patch] Some minor language consistency fixes a o bin/104553 [patch] [request] Add login group support to login.acc o conf/104549 rc [patch] rc.d/nfsd needs special _find_processes functi o gnu/104533 bugmeister [patch] [request] make send-pr(1) read configuration f o docs/104493 roberto [patch] Wrong description in ntp.conf(5) (CURRENT and o kern/104389 geom [geom] [patch] sys/geom/geom_dump.c doesn't encode XML f usb/104352 gavin [usb67] [ural] [rum] [patch] ural driver doesnt work f usb/104290 gavin [usb67] [umass] [patch] [quirk] TOSHIBA DVD-RAM drive p kern/104212 [puc] [patch] support for Kuroutoshikou SERIAL4P-LPPCI o bin/104092 [patch] iostat(8): missing blanks in iostat output o kern/104079 [fdc] [patch] kldunload fdc.ko leads to panic: mutex G o kern/103862 [fdc] [patch] Error with fdformat on -CURRENT o kern/103764 [libradius] [patch] libradius aborts server processing o bin/103682 [patch] [request] nfsstat(1) should use %u instead of o kern/103615 emaste [aac] [patch] aac(4) update to the last version availa p conf/103489 bz [rc.d] [named] [jail] [patch] named_chroot_autoupdate o kern/103454 ipfw [ipfw] [patch] [request] add a facility to modify DF b o usb/103418 usb [usb67] [usb8] [patch] [request] usbhidctl(8) add abil o usb/103046 usb [usb67] [ulpt] [patch] ulpt event driven I/O with sele p kern/102956 dchagin [linux] [patch] Add partial support for SO_PEERCRED in o ports/102946 secteam [patch] ports-mgmt/portaudit a bin/102834 [patch] mail(1) hangs on the sigsuspend system call in o bin/102793 edwin [patch] [request] top(1): display feature of current C o docs/102719 doc [patch] ng_bpf(4) example leads to unneeded promiscuos o conf/102700 rc [geli] [patch] Add encrypted /tmp support to GELI/GBDE o bin/102638 matteo [patch] sysinstall(8): custom dist set always install o bin/102609 [patch] Add filtering capability to date(1) o kern/102549 [bktr] [patch] fix Pixelview PlayTV Pro 2 on bktr o kern/102540 [netgraph] [patch] supporting vlan(4) by ng_fec(4) o conf/102502 net [netgraph] [patch] ifconfig name does't rename netgrap o kern/102471 ipfw [ipfw] [patch] add tos and dscp support o bin/102394 [patch] ls(1) do not shows inode number symbolic link o kern/102390 [pppd] [patch] kernel pppd don't using pam o bin/102357 [patch] tcsh(1)/csh(1) jobs control: sometimes 'fg' co o bin/102299 [patch] grep(1) malloc abuse? o kern/102211 [ar] [patch] detach raid member and reboot will cause o bin/102162 [patch] tftpd(8): Limit port range for tftpd o kern/101819 [ar] [patch] ata driver wrongly determines type RAID o o usb/101775 usb [usb67] [usb8] [libusbhid] [patch] possible error in r o usb/101761 usb [usb67] [patch] [request] usb.h: increase maximal size o threa/101323 threads [patch] fork(2) in threaded programs broken. o kern/101274 yongari [sk] [patch] SysKonnect Yukon initialization bug on K8 o bin/100956 remko [patch] support setting carp device state with ifconfi o bin/100921 [patch] tftpd(8): libexec/tftpd: `-w' non-traditional o bin/100914 [patch] tftpd(8): libexec/tftpd: write access control o docs/100803 jhb [patch] the man page about ithread is expired. o conf/100782 [keyboard] [patch] Default keymap to support ALT+Left, o conf/100616 [patch] syslog.conf: lines after exclamation point ign o bin/100535 [patch] cal(1) and ncal(1) do not take into account mu o ports/100504 skv [PATCH] databases/p5-Class-DBI: Reduce dependencies a bin/100496 [patch] Fix to get rid of the telnet(1) to cisco probl o bin/100424 [patch] ssh(1): SSH option BindAddress is ignored by o o misc/100322 [tools] [patch] kerninclude.sh doesn't dump object nam o i386/100142 i386 [pci] [patch] /dev/smb0 device not available on system a bin/100089 [patch] ftp(1): default ftp application of FreeBSD giv o bin/100018 [patch] newsyslog(8) does not check size if time_at is o stand/100017 standards [Patch] Add fuser(1) functionality to fstat(1) o kern/99979 [patch] Get Ready for Kernel Module in C++ o bin/99896 gad [patch] lpr(1): lpr -r flag has no effect o bin/99800 [libc] [patch] Add support for profiling multiple exec o kern/99758 [pty] [patch] chown/chmod pty slave side in kernel o conf/99721 rc [patch] /etc/rc.initdiskless problem copy dotfile in s o misc/99627 [build] [patch] make update & CVSROOT o bin/99566 jail [jail] [patch] fstat(1) according to specified jid o conf/99444 rc [patch] Enhancement: rc.subr could easily support star o conf/99328 linimon [patch] updates for src/share/examples/cvsup o bin/99307 [patch] mount_nfs(8) incompatible with zVM VMNFS 3A0 o bin/99217 [patch] pam_ssh(8) waits for a wrong ssh-agent PID at o kern/99188 andre [tcp] [patch] FIN in same packet as duplicate ACK is l o gnu/99173 [patch] replace gnu patch with a bsd-licensed one. f kern/99068 [linux] [patch] Linux emulator crashed by java, when c o kern/99017 [ata] [patch] FreeBSD versions above 5.3 panic if atap o kern/98978 net [ipf] [patch] ipfilter drops OOW packets under 6.1-Rel o kern/98962 remko [ata] [burncd]: [patch] writing >1 session on ATAPI CD o i386/98932 i386 [i386] [patch] Kernel compilation failed on specific P o kern/98788 [syscons] [patch] Add sysctl to disallow VT_LOCKSWITCH o docs/98759 doc [patch] sbp_targ(4) man page missing reference to devi o bin/98577 [patch] dhclient(8): the link check by dhclient slows o kern/98460 [kernel] [patch] fpu_clean_state() cannot be disabled f docs/98344 linimon [patch] An update of the article "Choosing the FreeBSD o kern/98167 multimedia [sound] [es137x] [patch] ES1370 mixer volumes incorrec o kern/98091 scottl [mfi] [patch] Makefile style of mfi kernel module brok p kern/98015 remko [bfe] [patch] bfe(4): double free in error handling pa o kern/97951 ipfw [ipfw] [patch] ipfw does not tie interface details to p conf/97697 matteo [patch] rc.conf - jail__exec_afterstart[0..n] o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 o kern/97381 [fdc] [patch] Patch to add zero-sector and spanned-sid o kern/97377 fs [ntfs] [patch] syntax cleanup for ntfs_ihash.c o kern/97329 [nfs] [patch] code simplification o kern/97153 [patch] When -NO_KERBEROS is set, libcom_err still get o bin/97083 [patch] passwd(1) does not support _PWF_HESIOD o bin/97002 [patch] cron(8) fails quietly if /usr/sbin/sendmail is o kern/97000 [kernel] [patch] bogus "All threads purged from ugen0. o kern/96999 [procfs] [patch] procfs reports incorrect information o kern/96974 obrien [patch] to build FreeBSD kernel with binutils 2.16.92 o bin/96854 imp [patch] devd(8) parses events incorrectly in some case a bin/96840 [libc] [patch] getgrent() does not return large groups o conf/96746 [nanobsd] [patch] Configuration changes and README for f kern/96743 yongari [sk] [patch] broken 32-bit register operations o bin/96540 [patch] catman(1) does not deal correctly with hard-li o kern/96429 [kernel] [patch] kern_linker.c hardcodes "/boot/kernel f kern/96393 [libz] [patch] assembler implementations for libz on i o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram o kern/96346 [modules] [patch] disable build of modules that are al o conf/96343 rc [patch] rc.d order change to start inet6 before pf o conf/96247 matteo [patch] 550.ipfwlimit reports logs even if log size is o stand/96236 standards [patch] [posix] sed(1) incorrectly describes a functio o kern/96030 net [bfe] [patch] Install hangs with Broadcomm 440x NIC in f bin/95979 obrien [patch] burncd(8) fails to fixate CDs p bin/95715 [patch] random(6) busy loop under some conditions o bin/95698 philip [patch] moused(8): Software control of sysmouse o kern/95661 [pci] [patch] pci_pci still not correct for initializi o bin/95339 [libexec] [patch] rtld is thread-unsafe. fixes for dlo o kern/95277 net [netinet] [patch] IP Encapsulation mask_match() return o kern/95239 [libc] [patch] nftw(3) returns EINVAL for large values s ports/95085 portmgr [PATCH]: bsd.port.mk: Add knob to allow for mutually e o kern/95084 ipfw [ipfw] [regression] [patch] IPFW2 ignores "recv/xmit/v o bin/95082 [patch] ping(8) won't handle large preload patterns o bin/95079 [patch] apply(1) dies when there are two %1 in command s kern/94863 net [bge] [patch] hack to get bge(4) working on IBM e326m o kern/94830 [nfs] [patch] mount_nfs causes a fatal trap 18 if the o kern/94772 [fifo] [patch] FIFOs (named pipes) + select() == broke o ports/94690 ume [patch] Daemons in /usr/local/etc/rc.d/ must do "setss o kern/94669 pjd [vfs] [patch] Panic from Failed Removable Media Mount o docs/94625 doc [patch] growfs man page -- document "panic: not enough o bin/94546 [patch] Make telnet(1) accept 'host:port' on command l o kern/94519 [libc] [patch] Add UF_HIDDEN file flag; map it to Wind o www/94423 danger [patch] XML'ified release todo list o kern/94369 itetcu [bktr] [patch] Patch to support Leadtek WinFast Tv2000 o kern/94273 gnn [ipsec] [patch] IPIP decapsulation problem in FAST_IPS o bin/94052 [patch] Adds option to script(1) to suppress carriage- o bin/94032 portmgr [patch] Enhancement to pkg_add(1) to add -4 flag to fo o kern/93998 [libstand] [patch] panic in libstand when closing raw o kern/93942 fs [vfs] [patch] panic: ufs_dirbad: bad dir (patch from D o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB o bin/93857 [patch] new utility: kiconv_cs_preload(8): Utility for o conf/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d o bin/93776 [crypto] [patch] SHA256_Update / SHA512_Update fail to o kern/93705 standards [headers] [patch] ENODATA and EGREGIOUS (for glibc com o docs/93683 chinsan [patch] some typos in klist(1) o misc/93661 [patch] loader(8): prevent *.4th files and friends fro o gnu/93566 [patch] sort(1): numeric sort is broken on multi-byte a ports/93560 roam [patch] dns/djbdns-ipv6: Update IPv6 patches o bin/93473 des [patch] Let pam_unix(8) use "passwordtime" from login. o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o misc/93341 phk [nanobsd] [patch] make more flexibitily for NanoBSD cu o kern/93331 [kernel] [patch] broken asm in kernel o bin/93310 des [libpam] [patch] pam_unix ignores 'passwordtime' from o bin/93309 [rpc.quotad] [patch] rpc.rquotad: group quota support o gnu/93127 [patch] add __FreeBSD_kernel__ to pre-defines o kern/92880 net [libc] [patch] almost rewritten inet_network(3) functi o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o kern/92786 [ata] [patch] ATA fixes, write support for LSI v3 RAID o kern/92675 yongari [fxp] [patch] fxp(4) unable to recover from occasional o conf/92523 rc [patch] allow rc scripts to kill process after a timeo s ports/92434 portmgr [patch] Mk/bsd.port.mk automatic show pkg-message o kern/92412 [libexec] [patch] rpc.rstatd reports bogus packets/per o stand/92362 standards [headers] [patch] Missing SIGPOLL in kernel headers o kern/92238 [ata] [patch] Spurious "atapci1: failed to enable memo o kern/92092 [iicbus] [patch] Panic if device with iicbus child is o kern/91954 [libpam] [patch] Proposed enhancement for pam_krb5: "o o i386/91871 i386 [boot1] [patch] boot1: jump to 0xf000:0xfff0 instead o s kern/91777 net [ipf] [patch] wrong behaviour with skip rule inside an o conf/91732 [patch] 800.loginfail: fix log message grep expression o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 f kern/91476 gavin [fdc] [patch] floppy drive doesn't work in MS Virtual o kern/91414 emaste [kernel] [patch] Polling for devices other than NICs o kern/91347 rodrigc [pci] [patch] Add another PCI-e chipset for extended c o bin/91299 yar [patch] add ftpd(8) SITE SHA256 command p kern/91293 delphij [svr4] [patch] *Experimental* Update to the SVR4 emula o kern/91134 fs [smbfs] [patch] Preserve access and modification time o bin/91101 edwin [patch] whereis(1): make more readable o bin/91034 [patch] minor fix to iostat(8) so that columns line up o kern/90973 thompsa [net] [patch] if_bridge does not handle arp for own ad a kern/90815 fs [smbfs] [patch] SMBFS with character conversions somet o bin/90690 [patch] ps(1) errorneously respects terminal column se o bin/90687 avg [patch] side effect of -delete option of find(1) o bin/90680 [patch] make(1) thinks "^.for.o:" is a directive (".fo o ports/90436 portmgr [patch] Add a way to handle configuration files to bsd o bin/90384 [patch] chroot patch for sftp-server(8) o bin/90311 [patch] add "eject" to mt(1) a conf/90163 dougb [patch] Easily launch non-forking daemons like logsurf o bin/90130 [patch] sysctl(8): print temperature in celsius only w o bin/90114 [patch] pw(8) takes strings after option -g for GID 0 s bin/90082 matteo [syscons] [patch] curses ACS line graphics support for f kern/89989 bz [jail] [patch] Add option -I (ASCII 73) PID to specif o bin/89988 [patch] bootparamd(8) null host support and whoami fix o conf/89870 rc [patch] [request] make netif verbose rc.conf toggle o bin/89799 [patch] Making natd(8) not require a newline at the en o bin/89770 des [patch] pam_krb5 'authentication token failure' in pas o bin/89762 edwin [patch] top(1) startup is very slow on system with man f kern/89752 dwmalone [bpf] [patch] bpf_validate() needs to do more checks a kern/89660 geom [vinum] [patch] [panic] due to g_malloc returning null o kern/89553 [bktr] [patch] going from 5.3 -> 6.0 winTV card not pr o bin/89410 [patch] sh(1) missing \u interpolation and bug/fix in o bin/89326 [patch] Add pattern matching to login.access(5) p docs/89325 trhodes [patch] Clarification of kbdmap(5), atkbd(4) and kbdco s kern/89305 vwe [vr] [patch] D-Link NIC with VIA Rhine II, lost of Net o conf/89061 rc [patch] IPv6 6to4 auto-configuration enhancement o conf/88913 rc [patch] wrapper support for rc.subr o bin/88821 pjd [patch] IPv6 support for ggated(8) o bin/88780 [patch] Baseline ipmon(8) uses LOG_LOCAL0 syslog, not o bin/88655 [patch] tcsh(1): /bin/tcsh ls-F : Floating exception ( a bin/88538 [patch] tcsh(1) ls-F spacing incorrect. o docs/88512 doc [patch] mount_ext2fs(8) man page has no details on lar o kern/88336 vanhu [ipsec] [patch] setkey(8) -D fails to report all SAs o bin/88215 [patch] syslogd(8) does not pass cleanly parameters to o bin/88056 [patch] [request] cp(1) could really use Linux's -x op o kern/88045 jhb [nve] [patch] 6.0rc1: nve0: device timeout (51) o kern/87990 [kernel] [patch] SMP Race Condition in kdb_enter/kdb_e o bin/87966 [patch] newfs(8): introduce -A flag for newfs to enabl o conf/87925 [patch] [request] modify output of 405.status_ata_raid o bin/87792 [patch] very bad performance of cp(1) via NFS, possibl o kern/87729 phk [libc] [patch] most calls to malloc(3) generate warnin o bin/87651 [patch] fsck(8) (on superblock error) tells wrong man o kern/87506 net [vr] [patch] Fix alias support on vr interfaces s ports/87420 portmgr [patch] bsd.port.mk: implementing WITH_OPENLDAP_VER to o www/87119 hrs [patch] encode copyright and such symbolically o kern/87032 ipfw [ipfw] [patch] ipfw ioctl interface implementation o kern/86957 ipfw [ipfw] [patch] ipfw mac logging o kern/86944 [nfs] [patch] When I use FreeBSD with NFS client, clos o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o bin/86635 pf [patch] pfctl(8): allow new page character (^L) in pf. o bin/86485 [patch] hexdump(1): hexdump -s speedup on /dev a stand/86484 standards [patch] mkfifo(1) uses wrong permissions o bin/86388 [patch] periodic(8) daily should backup bsdlabel(8) / o kern/86290 jeff [kernel] [patch] minor optimizations + cleanup to vrel o kern/85971 jeff [uma] [patch] minor optimization to uma o gnu/85895 [patch] cc -print-search-dirs returns (null) o kern/85886 [an] [patch] an0: timeouts with Cisco 350 minipci o conf/85819 rc [patch] script allowing multiuser mode in spite of fsc s kern/85658 jeff [sched_ule] [patch] add DDB command, show runq, to sch o kern/85657 [kernel] [patch] capture and expose per-CPU time accou o i386/85656 i386 [i386] [patch] expose more i386 specific CPU informati o i386/85655 i386 [i386] [patch] expose cpu info for i386 systems o i386/85653 i386 [i386] [patch] relieve hangs in tight loops in process o i386/85652 i386 [loader] [patch] deal with out-of-memory errors during o kern/85651 [kernel] [patch] debugging code to show entries in eve o kern/85650 [libstand] [patch] modifications to tftp-based PXE boo o kern/85493 imp [ed] [patch] OLDCARD can't probe ed driver o i386/85417 i386 [i386] [npx] [patch] Possible bug in ia32 floating-poi p kern/85320 gonzo [gre] [patch] possible depletion of kernel stack in ip o kern/85266 net [xe] [patch] xe(4) driver does not recognise Xircom XE o kern/85137 des [pseudofs] [patch] panic due to sleep with held mutex o docs/85128 doc [patch] loader.conf(5) autoboot_delay incompletly desc o kern/85086 wkoszek [ef] [patch] Locking fixes for ef(4) (+removes mem. le o kern/84981 [headers] [patch] header protection for with aroun p kern/78179 alc [vm] [patch] bus_dmamem_alloc() with BUS_DMA_NOWAIT ca o bin/78170 [patch] Fix signal handler in bootpd(8) o kern/78114 phk [geom] [patch] Solaris/x86 label structures for GEOM ( p kern/77913 net [wi] [patch] Add the APDL-325 WLAN pccard to wi(4) o kern/77355 [i386] [patch] Detect i*86 subarches for uname s kern/77195 net [ipf] [patch] ipfilter ioctl SIOCGNATL does not match o kern/77181 mckusick [newfs] [patch] newfs -g largevalue, mkdir, panic o bin/77031 [patch] comm(1) unable to handle lines greater than LI o i386/76944 i386 [busdma] [patch] i386 bus_dmamap_create() bug o kern/76893 [cam] [patch] Fatal divide in booting processes with B o bin/76711 [patch] rm(1): parse error in rm.c:check() while parsi o kern/76678 dfr [libpam] [patch] Allow pam_krb5 to authenticate no loc o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o conf/76626 [patch] 460.status-mail-rejects shows destination doma o kern/76539 [dummynet] [patch] ipnat + dummynet on output on same s kern/76520 [libiconv] [patch] Add new kernel-side libiconv conver o bin/76362 [patch] sys directory link points to wrong location p docs/76333 trhodes [patch] ferror(3): EOF indicator can be cleared by not o gnu/76169 [patch] Add PAM support to cvs pserver o kern/76126 [nfs] [patch] 4.11 client will send a NFS request to r o kern/75934 [libcrypt] [patch] missing blowfish functionality in p o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o docs/75711 keramida [patch] opendir(3) missing ERRORS section o bin/75258 [patch] dd(1) has not async signal safe interrupt hand o kern/75132 jhb [puc] [patch] add support for the Davicom 56PDV PCI Mo o kern/75122 silby [netinet] [patch] Incorrect inflight bandwidth calcula s kern/74986 jfv [patch] sysctlize a parameter of if_em's interrupt mod o kern/74786 [irq] [patch] Smartlink Modem causes interrupt storm o s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o kern/74450 [libalias] [patch] enable libalias/natd to create skip o bin/74360 [patch] ndiscvt(8) generates a driver which doesn't ma o conf/74213 darrenr [patch] Connect src/etc/periodic/security/610.ipf6deni o bin/74178 [patch] grdc(6) - scrolling does not work and "AM"/"PM o bin/74127 [patch] patch(1) may misapply hunks with too little co o conf/74004 [patch] add fam support to inetd.conf o i386/73921 i386 [sysctl] [patch] sysctlbyname for machdep.tsc_freq doe o conf/73786 [patch] added WARNING in spanish to stable-supfile o kern/73777 emulation [linux] [patch] linux emulation: root dir special hand o conf/73677 rc [patch] add support for powernow states to power_profi o conf/73337 [nsswitch.conf] [patch] potential invalid free o kern/73328 edwin [patch] top(1) shows NICE as -111 on processes started o kern/73004 [loader] [patch] PXE loader malfunction in multiple PX o conf/72901 [patch]: dot.profile: prevent printing when doing an s o bin/72793 [patch] wicontrol(8) prints out non-printable chars in o bin/72588 [patch] iostat(8) tty stats field concatenation o kern/72585 [syscons] [patch] iso05-8x16.fnt lacks letter q o conf/72465 [patch] United States International keyboard layout fo o kern/72433 [amr] [patch] AMR raid, amrreg.h struct amr_enquery3 a o conf/72277 [patch] update for /usr/share/skel o conf/71994 [patch] dot.login: login shell may unnecessarily print s bin/71855 [patch] making kdump(1) WARNS=6 clean o bin/71749 [patch] truss -f causes circular wait when traced proc o bin/71671 [patch] cleanup of the usr.sbin/apmd code o bin/71667 [patch] cleanup of the usr.sbin/bootparamd code o bin/71665 [patch] cleanup of the usr.sbin/dconschat code o bin/71664 [patch] cleanup of the usr.sbin/fwcontrol code o bin/71661 [patch] cleanup of the usr.sbin/keyserv code o bin/71660 [patch] cleanup of the usr.sbin/kgmon code p bin/71659 [patch] cleanup of the usr.sbin/mount_portalfs code o bin/71632 [patch] cleanup of the usr.sbin/ndp code o bin/71631 [patch] cleanup of the usr.sbin/pppctl code o bin/71630 [patch] cleanup of the usr.sbin/pppd code o bin/71629 [patch] cleanup of the usr.sbin/pppstats code o bin/71628 [patch] cleanup of the usr.sbin/rpcbind code o bin/71625 [patch] [nis] cleanup of the usr.sbin/rpc.ypupdated co o bin/71622 [patch] sicontrol(8): cleanup of the usr.sbin/sicontro o bin/71621 [patch] sliplogin(8): cleanup of the usr.sbin/sliplogi o bin/71618 [patch] timed(8): cleanup of the usr.sbin/timed code o bin/71617 [patch] [nis] ypserv(8): cleanup of the usr.sbin/ypser o bin/71616 [patch] [nis] yp_mkdb(8): cleanup of the usr.sbin/yp_m o bin/71613 [patch] traceroute(8): cleanup of the usr.sbin/tracero o bin/71602 [patch] uninitialized "len" used instead of "slen" wit s bin/71290 des [patch] passwd(1) cannot change passwords other than N o kern/71258 alc [vm] [patch] anonymous mmappings not always page align o stand/70813 standards [patch] ls(1) not Posix compliant o kern/70810 [pci] [patch] Enable SMBus device on Asus P4B series m o i386/70531 i386 [boot0] [patch] boot0 hides Lilo in extended slice o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o bin/70245 ru [patch] [build] Change to src/release/Makefile to aid p kern/70096 trhodes [msdosfs] [patch] full msdos file system causes corrup o bin/69986 sysinstall(8): [patch] no job control in fixit shell o o bin/69875 [patch] mlxcontrol(8): `mlxcontrol status ' p docs/69861 trhodes [patch] usr.bin/csplit/csplit.1 does not document POSI o kern/69650 [patch] make getserv* functions work with nsdispatch o bin/69398 [patch] login(1) cleartext display of password in logi o bin/69268 [patch] Fix ndiscvt(8) to warn you if it's going to ge o bin/69083 [patch] vi(1) basic modelines for contrib/nvi o bin/69010 [patch] [build] Portability fixes for FreeBSD build ut o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports a kern/68905 secteam [patch] core dumps are assigned wrong ownership o bin/68797 [patch] cut(1): fflush after each write if an option i o bin/68586 dwmalone [patch] allow syslogd(8) to forward to non-default por o bin/68437 [patch] conscontrol(8) DEVDIR -> _PATH_DEV fix and mor o bin/68328 [patch] syslogd(8) enable configuration of extra liste s kern/68317 [kernel] [patch] on soft (clean) reboots clean dmesg o o kern/68311 [patch] it is impossible to override defaults with ker o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction p kern/68189 bz [arp] [jail] [patch] arp -a discloses non-jail interfa o conf/68108 [patch] Adding mac-address /conf selector to diskless o kern/67830 [smp] [patch] CPU affinity problem with forked child p o bin/67550 [patch] tftpd(8) Add BLK_SIZE option to tftpd server f ports/67436 portmgr [patch] bsd.port.mk: GNU_CONFIGURE_PREFIX_SUBDIR s i386/67383 [i386] [patch] do a better job disassembling code in 1 o bin/67231 [patch] pam_krb5 doesn't honor default flags from /etc o bin/66988 [patch] apm(8) check validation of the returned values o kern/66960 [fdc] [patch] filesystems not unmounted during reboot o bin/66893 [patch] [nis] rpc.yppasswdd(8): Linux NIS clients conn s ports/66566 portmgr [PATCH] bsd.port.mk: fix build when /usr/obj/usr/ports s ports/66342 portmgr [PATCH] fix ECHO_MSG breakage in java ports p docs/66289 brueffer [patch] lib/libc/gen/ualarm.3 refers to non-existent a o kern/66268 glebius [socket] [patch] Socket buffer resource limit (RLIMIT_ o kern/66225 [netgraph] [patch] extend ng_eiface(4) control message o kern/66029 [crypto] [patch] MD5 alignment problem on a TriMedia p o kern/65901 fs [smbfs] [patch] smbfs fails fsx write/truncate-down/tr s ports/65804 portmgr [PATCH] bsd.port.mk is gratuitously slow o bin/65803 gad [patch] ps(1) enhancements (posix syntax, and more) o kern/65355 [pci] [patch] TC1000 serial ports need enabling o bin/65306 obrien [patch] [build] Portability fixes for FreeBSD build ut o bin/65228 [Patch] Allow rup(1) to parse hostnames from a defined s kern/64875 standards [libc] [patch] [request] add a system call: fdatasync( a kern/64816 [nfs] [patch] mmap and/or ftruncate does not work corr o bin/64327 [patch] make(1): document surprising behaviour of assi o kern/64196 [kernel] [patch] remove the arbitrary MAXSHELLCMDLEN o kern/64178 jmg [kqueue] [patch] kqueue does not work with bpf when us o kern/64114 [vga] [patch] bad vertical refresh for console using R o kern/63863 glebius [netgraph] [patch] [request] implement NGM_ELECTROCUTE f usb/63837 linimon [uhid] [patch] USB: hid_is_collection() only looks for o docs/63570 doc [patch] Language cleanup for the Handbook's DNS sectio a bin/63197 [patch] tftp(1) Bus error, core dumped a kern/62278 [nfs] [patch] NFS server may not set eof flag when rea o bin/62077 [sound] [patch] Make it possible to abbreviate mixer(8 o i386/62003 remko [loader] [patch] make /boot/loader "reboot" code same o bin/61978 delphij [patch] sync setkey(8) token.l with KAME f kern/61960 linimon [ata] [patch] BigDrive support for PC-98 architecture a kern/61744 andre [netinet] [patch] TCP hangs onto mbufs with no tcp dat s kern/61497 ups [kernel] [patch] __elfN(map_insert) bug s i386/61481 [patch] a mechanism to wire io-channel-check to userla s misc/61322 [build] [patch] bsd.dep.mk disallows shell generated f o docs/61301 doc [patch] Manpage patch for aue(4) to enable HomePNA fun o kern/61300 [aue] [patch] Enabling HomePNA PHY on aue(4) for HomeP o bin/61239 [patch] bootp enhancement, places the dhcp tags into t o kern/60963 [pecoff] [patch] Win32 Applications abort on PECOFF o bin/60892 [patch] added -p option to kldxref(8) to allow creatio o bin/60834 [patch] ftpd(8) send_data()+oldway: anonymous transfer o kern/60697 [pty] [patch] pseudo-tty hack versus telnet race cause o kern/60677 multimedia [sound] [patch] No reaction of volume controy key on I s ports/60558 portmgr [PATCH] bsd.port.mk: automatically verify GnuPG signat o kern/60550 silby [kernel] [patch] hitting process limits produces sub-o p kern/60307 [pccard] [patch] wrong product id in pccarddevs for Sp s kern/60293 net [patch] FreeBSD arp poison patch o kern/59903 [pci] [patch] "pci_find_device" returns [only/at] the o bin/59777 [patch] ftpd(8)/FreeBSD 5: potential username enumerat o bin/59775 [patch] ftpd(8)/FreeBSD 5: incorrect reply for "unimpl o bin/59774 [patch] ftpd(8)/FreeBSD 5: syslog facility may be chan o bin/59772 [patch] ftpd(8)/FreeBSD 5: support for tcp_wrappers in o docs/59735 kensmith [patch] Adding a reference to Icelandic Rsync to mirro o bin/59708 sysinstall(8): [patch] add sSMTP support for Mail sele o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans o conf/59600 [patch] Improved us.emacs.kbd mapping o bin/59564 [patch] from(1) add option (-S) to also display subjec o www/59307 remko [patch] xml/xsl'ify & update publications page o kern/59289 [bktr] [patch] ioctl METEORGBRIG in bktr_core.c forget o docs/59240 blackend [patch] handbook update: linux MATLAB o bin/59220 obrien [patch] systat(1) device select (:only) broken o docs/59044 doc [patch] doc.docbook.mk does not properly handle a sour o conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} o kern/58803 [kernel] [patch] kern.argmax isn't changeable even at p kern/58687 deischen [libc] [patch] gethostbyname(3) leaks kqueue file desc o bin/58483 [patch] mount(8): allow type special or node relative o bin/58012 [patch] tftpd(8) Multihomed tftpd enhancement o bin/57715 [patch] tcopy(1) enhancement o kern/57631 jhb [agp] [patch] boot failing for ALi chipsets o kern/57522 [patch] New PID allocater algorithm from NetBSD o conf/57517 [patch] add parameter for /etc/periodic/daily/210.back s bin/57407 [patch] Better NTP support for dhclient(8) and friends o docs/57298 blackend [patch] add using compact flash cards info to handbook s bin/57255 usb [patch] usbd(8) and multi-function devices s amd64/57250 kmacy [amd64] [patch] Broken PTRACE_GETFPREGS and PTRACE_SET s bin/57088 [cam] [patch] for a possible fd leak in libcam.c s bin/57018 [patch] convert growfs(8) to use libufs(3) o conf/56934 rc [patch] rc.firewall rules for natd expect an interface o bin/56648 [patch] enable rcorder(8) to use a directory for locat o bin/56447 [patch] extend mt(1) command for AIT-2 tape drives o kern/56250 [ums] [patch] ums(4) doesn't work with MCT based PS/2 o kern/55984 ipfw [ipfw] [patch] time based firewalling support for ipfw o docs/55883 kensmith [patch] handbook advanced-networking/chapter.sgml s ports/55841 portmgr [patch] Mk/bsd.port.mk: add routines to use ${PORTSDIR a kern/55542 andre [de] [patch] discard oversize frame (ether type 800 fl o bin/55539 [patch] Parse fstab(5) with spaces in path names o misc/55387 [build] [patch] users LD_LIBRARY_PATH can interfere wi p kern/55018 andre [digi] [patch] Digiboard PC/Xem fails to initialize wh o conf/55015 [patch] 700.kernelmsg: Security check output enhacemen o kern/54891 [libalias] [patch] libalias(3)/natd(8) and exporting c o kern/54604 pjd [kernel] [patch] make 'ps -e' procfs-independent o bin/54594 [patch] make(1) apply regexps to the entire variable - o docs/54461 kensmith [patch] Possible additions to Handbook (Basics and Use s bin/54446 portmgr [patch] pkg_delete(1) doesn't honour symlinks, portupg o kern/54439 [sysctl] [patch] Protecting sysctls variables by given o bin/54401 [patch] pppstats(8) prints 0 for absolute values in ra o kern/54383 net [nfs] [patch] NFS root configurations without dynamic o bin/54365 [patch] add -u option to install(1) for SysV compatibi o conf/54170 [patch] error from weekly periodic script 330.catman s stand/53682 [feature request] [patch] add fuser(1) utility o bin/53341 sysinstall(8): [patch] dump frequency in sysinstall is f kern/52980 mbr [dc] [patch] dc driver fails to init Intel 21143 Cardb s ports/52765 portmgr [patch] Uncompressing manual pages may fail due too "a o kern/52725 [patch] installincludes for kmods s ports/52706 portmgr [patch] bsd.port.mk issues warning if a site is explic o kern/52623 [ex] [patch] IRQ error in driver for the Intel EtherEx s docs/52071 delphij [patch] Add more information about soft updates into a s usb/51958 usb [urio] [patch] update for urio driver o kern/51583 fs [nullfs] [patch] allow to work with devices and socket s kern/51341 remko [ipfw] [patch] ipfw rule 'deny icmp from any to any ic o kern/51274 ipfw [ipfw] [patch] ipfw2 create dynamic rules with parent o ports/51152 portmgr [patch] bsd.port.mk: generic SHEBANG_FILES o bin/51148 [patch] Control the cache size for pwd_mkdb(8) to spee s bin/51137 [patch] config(8) should check if a scheduler is selec o bin/51070 [patch] add -p option to pom(6) o kern/51009 [aue] [patch] buggy aue driver fixed. s kern/50827 [kernel] [patch] [request] add sane record locking o docs/50773 jmg [patch] NFS problems by jumbo frames to mention in bge o kern/50526 [kernel] [patch] update to #! line termination o kern/50310 [libalias] [patch] natd / libalias fix to allow dcc re o bin/50300 [patch] make the loader(8) use of terminal-control seq o docs/50211 doc [patch] doc.docbook.mk: fix textfile creation o misc/50106 [build] [patch] make 'make release' more flexible behi o kern/49039 [sio] [patch] add support for RS485 hardware where dir a bin/49023 gad [patch] to lpd(8) (printjob.c) to pass source filename s bin/48962 des [patch] modify fetch(1) to allow bandwidth limiting p bin/48730 obrien [patch] burncd(8) does not handle signals and causes d o gnu/48638 [libdialog] [patch] some bug fixes in libdialog o bin/48603 [patch] getopt(1) is broken o kern/48599 [syscons] [patch] syscons cut-n-paste logic is broken o kern/48471 pjd [jail] [patch] [request] private IPC for every jail o conf/48444 [patch] security.functions: count connection attempts o bin/48443 mtm [patch] periodic(8) executes too many files o conf/48325 [patch] /etc/periodic/security/100.chksetuid doesn't w o bin/48183 marcel [patch] gdb(1) on a core(5)-file from a threaded proce o kern/48172 ipfw [ipfw] [patch] ipfw does not log size and flags o conf/48133 [patch] /etc/rc: improved vi recovery notification o docs/48101 doc [patch] add documentation on the fixit disk to the FAQ p docs/47818 trhodes [patch] ln(1) manpage is confusing o bin/47815 [patch] stty(1) -all should work. o docs/47594 remko [patch] passwd(5) incorrectly states allowed username o bin/47576 edwin [patch] factor(6)ing of negative numbers o conf/47566 [vinum] [patch] add vinum status verification to perio o bin/47540 [patch] Make natd(8) configurable in running state wit o kern/46973 [syscons] [patch] [request] syscons virtual terminals o bin/46888 gad [patch] Add script run hook to newsyslog(8) o bin/46758 [patch] moused(8) enhancements o bin/46676 ru [patch] [build] bsd.dep.mk restricts domain of tags co o bin/46352 [patch] login(1) open file descriptors and signal hand o bin/46328 gad [patch] patch for lpd(8) o kern/46159 ipfw [ipfw] [patch] [request] ipfw dynamic rules lifetime f o kern/45729 [libexec] [patch] make rbootd transfer the default fil o conf/45704 [patch] request to change cp866b font to cp866 s bin/45547 [patch] make burncd(8) handle .wav files. o bin/45529 gcooper [patch] hexdump(1) core-dumps with certain args o bin/45333 [patch] New option -r for chown(8) and chgrp(1) o conf/45226 rc [patch] Fix for rc.network, ppp-user annoyance o conf/45222 [patch] daily rejected mail hosts report too long p bin/45193 [patch] truss(1) can't truss itself o docs/45011 trhodes [patch] style(9): '->' and '.' don't require spaces o gnu/44984 bugmeister [patch] send-pr(1) can use environmental variable $FRO o conf/44717 [patch] update login.conf and unify login capabilities o gnu/44564 peter [patch] Aborted cvs session causes an endless loop in o kern/44365 [headers] [patch] introduce ulong and unchar types o kern/44267 [sio] [patch] One more modem PNP id for /usr/src/sys/i o kern/44202 [rp] [patch] -stable rp driver does not work with mult o conf/44170 rc [patch] Add ability to run multiple pppoed(8) on start o kern/43905 jmg [kqueue] [patch] kqueues: EV_SET(kevp++, ...) is non-i o docs/43823 doc [patch] update to environ(7) manpage o bin/43819 [patch] changed truss(1) output for utrace calls o kern/43716 [puc] [patch] puc driver does not recognize Lava Dual- o kern/43616 [zlib] [patch] static-ize some functions in sys/net/zl o kern/43611 [crypto] [patch] static-ize some symbols in sys/crypto o bin/43582 [patch] passwd(1) fails on nonexistent users o kern/43577 [kernel] [patch] [request] new kernel option SHUTDOWN_ o conf/43500 [patch] rc.syscons "allscreens" improvements o bin/43434 [patch] new option to dmesg(8) which allows to display o bin/42974 [patch] syslogd(8): add ISO 8601 date format option o kern/42429 [libc] [patch] hash_action called with HASH_DELETE doe o kern/42422 [libc] [patch] dbm_delete returns -1 instead of 1 when o kern/42387 [librpcsvc] [patch] cleaning code of librpcsvc from wa o kern/42386 [libkvm] [patch] cleaning code from warnings in libkvm o bin/42336 [patch] ISO-fication of /usr/src/contrib/tcp_wrappers: o kern/42274 [kernel] [patch] Convert defined variable into tuneabl o misc/42115 luigi [picobsd] [patch] fix build script for 4.6-STABLE s bin/41947 gcooper [patch] hexdump(1) unprintable ASCII enhancement o docs/41879 hrs [patch] cleanup to DOCROOT/share/sgml/freebsd.dsl o docs/41824 murray [patch] LANG is not documented in setlocale(3) o bin/41817 [patch] pw(8): pw groupshow doesn't include the login o conf/41777 [patch] /etc/periodic/daily/100.clean-disks removes li o bin/41674 [patch] iostat(8) column formatting overlaps a bin/41583 [patch] mtree(8) assorted mtree bugs o bin/41556 obrien [patch] wtmp patch for ftpd(8) o kern/41543 emulation [patch] [request] easier wine/w23 support o kern/41307 [libalias] [patch] logging of links lifecycle (add/del o bin/41271 matteo [patch] non-suid crontab(1) o bin/41190 [patch] sed(1) report the { linenum instead of EOF lin o bin/41159 [patch] new sed(1) -c option to allow ; as a separator o conf/40777 [patch] disktab does not support 2.88MB floppies o bin/40597 [patch] add fdisk(8) ability of showing extended parti o kern/40369 [kernel] [patch] rman_reserve_resource - when "count > a bin/40282 [patch] kill(1) has bad error checking for command lin s kern/40021 [build] [patch] use ld(1) to build kernel with linked- o kern/40017 [patch] allows config(8) to specify config metadata di s threa/39922 threads [threads] [patch] Threaded applications executed with o kern/39681 [sysctl] [patch] add hidden kernel boot tunables to sy o ports/39660 portmgr [patch] add ${PKGNAMEPREFIX} to (DOCS|EXAMPLES)DIR o conf/39505 [patch] automate BUILDNAME variable for releases o bin/39463 mtm [patch] Add several options to fingerd(8) o kern/39252 [syscons] [patch] syscons doesn't support 8-bit contro o kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLINUXTHPN) confu o docs/38982 doc [patch] developers-handbook/Jail fix o bin/38727 [patch] mptable(1) should complain about garbage argum a kern/38554 net [patch] changing interface ipaddress doesn't seem to w s kern/38347 [libutil] [patch] [request] new library function abs2r o bin/38256 [patch] linking pax(1) to pax_{cpio|tar} o bin/38168 [patch] [request] installing curses-based versions of o docs/38061 ume [patch] typos in man pages for faith(4) & faithd(8) o gnu/37910 bugmeister [patch] make send-pr(1) respect &'s in /etc/{master.}p o bin/37844 [patch] [build] make knob to not install progs with su o conf/37569 matteo [patch] Extend fstab(5) format to allow for spaces in o kern/37555 [kernel] [patch] vnode flags appear to be changed in n o kern/37554 jmg [vm] [patch] make ELF shared libraries immutable once o i386/37523 davidxu [i386] [patch] lock for bios16 call and vm86call o bin/37442 [patch] sleep(1) to support time multipliers s kern/37441 davidxu [isa] [patch] ISA PNP parse problem o bin/37437 [patch] [request] Add HTTP-style support to vis(1)/unv o bin/37083 [patch] [request] small improvement to talk(1): add cl o bin/37013 [patch] ls(1) directory name output trailing slash dup o gnu/36926 bugmeister [patch] send-pr destroys PR if emacs interrupt charact o kern/36916 randi [libdisk] [patch] DOS active partition flag lost in li o kern/36902 [libc] [patch] proposed new format code %N for strftim o bin/36556 [patch] regular expressions for tcpwrappers o bin/36553 gad [patch] [request] Two new features in newsyslog(8) a kern/36451 [bktr] [patch] Japan IF frequency is incorrect o kern/36415 [bktr] [patch] driver incorrectly handles the setting o bin/36374 [patch] apmd(8): fix core dumps, other improvements o bin/36262 [patch] Fixed rusers(1) idle-time reporting to use min o kern/36170 [an] [patch] an(4) does an_init() even if interface is o bin/36143 [patch] moused(8): add dynamic (non linear) mouse acce o bin/35886 [patch] pax(1) enhancement: custom time format for lis o conf/35545 [patch] enhanced periodic scripts: 100.clean-disks, 10 o misc/35542 bde [build] [patch] BDECFLAGS needs -U__STRICT_ANSI__ o kern/35442 net [sis] [patch] Problem transmitting runts in if_sis dri o kern/35289 [bktr] [patch] Brooktree device doesnt properly signal o kern/35262 [boot2] [patch] generation of boot block for headless o bin/35113 [patch] grdc(6) enhancement: countdown timer mode o bin/35109 edwin [patch] morse(6) add ability to decode morse code o kern/34842 [nis] [patch] VmWare port + NIS causes "broadcast stor o bin/34628 portmgr [patch] pkg_add(1) pkg-routines ignore the recorded md o bin/34412 [patch] tftp(1) will still try and receive traffic eve o kern/33965 [keyboard] [patch] programmable keys of the keyboard ( o bin/33809 mux [patch] mount_nfs(8) has trouble with embedded ':' in o bin/33774 [patch] for killall(1) s docs/33589 doc [patch] to doc.docbook.mk to post process .tex files. o bin/32808 dwmalone [patch] tcpd.h lacks prototype for hosts_ctl s threa/32295 threads [libc_r] [patch] pthread(3) dont dequeue signals o bin/31987 [patch] allow dump(1) to notify operators by mail(1) o kern/31981 [libc] [patch] (mis)feature in getnetent parsing -- co o kern/31890 [syscons] [patch] new syscons font s bin/31304 [patch] fix crunchgen(1) to work with more contrib-kin o kern/31201 [libdisk] [patch] add free_space(chunk) to libdisk o conf/30938 [patch] Improving behavior of /etc/periodic/daily/110. o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem o conf/30812 [patch] giant termcap database update o bin/30654 gad [patch] Added ability for newsyslog(8) to archive logs o bin/30542 [patch] add -q option to shut up killall(1) o conf/30399 brueffer [bsd.cpu.mk] [patch] Have Fortran use the CPUTYPE vari o kern/30321 [patch] strftime(3) '%s' format does not work properly o kern/30052 mbr [dc] [patch] dc driver queues outgoing pkts indefinite a docs/30008 doc [patch] French softupdates document should be translat o bin/29897 des [patch] pam_unix(8) loginclass passwd_prompt o kern/29698 emulation [linux] [patch] linux ipcs doesn'work s kern/29423 [request] [patch] new feature: kernel security hooks i o bin/29363 gad [patch] newsyslog(8) can support time as extension o kern/29355 mux [kernel] [patch] add lchflags support s bin/29292 [patch] addition to burncd(8) for specific handling of o bin/28789 [patch] last(1) does not filter for uucp connects o bin/28364 [patch] flex(1) generated files fail to compile cleanl o conf/28236 [patch] iso-8859-1_to_cp437.scm doesn't contain some u o docs/27605 doc [patch] Cross-document references () o bin/27306 marcel [patch] hw watchpoints work unreliable under gdb(1) o kern/26787 [patch] sysctl change request o kern/26562 [lpt] [patch] /dev/lpt0 returns EBUSY when attempting o bin/26486 remko [libc] [patch] setnetgrent hangs when netgroup contain s bin/25477 [pam] [patch] pam_radius(8) fix to allow null password f kern/24959 kmacy [patch] proper TCP_NOPUSH/TCP_CORK compatibility o bin/24485 [patch] to make cron(8) handle clock jumps o kern/24435 [libdisk] [patch] changing slice type causes Auto-part o bin/23562 markm [patch] telnetd(8) doesn't show message in file specif o kern/23546 multimedia [sound] [snd_csa] [patch] csa DMA-interrupt problem a bin/23254 [patch] yacc(1) accepts bad grammer o bin/23098 sysinstall(8): [patch] if installing on a serial conso o conf/23063 net [arp] [patch] for static ARP tables in rc.network s i386/22944 alc [vm] [patch] isa_dmainit fails on machines with 512MB s kern/22417 gibbs [adw] [patch] advansys wide scsi driver does not suppo o kern/21998 kmacy [socket] [patch] ident only for outgoing connections a kern/21807 trhodes [msdosfs] [patch] Make System attribute correspond to o conf/21675 [patch] Better and more disktab entries for MO drives a bin/21089 [patch] vi(1) silently corrupts open file on SIGINT wh o bin/20501 [patch] dump(8) extra flag to dump to offline autoload o bin/19837 ambrisko sysinstall(8): [patch] run Fix It floppy from serial p s bin/19773 markm [patch] telnet(1) infinite loop depending on how fds a s kern/19535 [procfs] [patch] procfs_rlimit tidyup o kern/18293 [psm] [patch] lack of versapad mouse wheel emulation o kern/18271 [patch] simplelock: klds not portable across UP and SM o bin/18100 [patch] update to src/usr.bin/from/from.c for multiple o kern/17504 [cam] [patch] Another Micropolis Synchronize Cache Pro o kern/17425 [ppbus] [patch] fix two small printing errors in ppbus o bin/17289 gad [patch] wrong permissions on /var/run/printer o kern/16644 dwmalone [bpf] [patch] Bad comparison expression in bpf_filter. o kern/15838 trhodes [msdosfs] [patch] Conversion tables in msdosfs_conv.c o bin/15619 peter [patch] standard pppd(8) doesn't authenticate users wi o bin/15205 [patch] Addition to random(6) o bin/15168 [patch] Adding tracklist support to fdformat(1) p conf/15010 keramida [patch] rc.firewall: "client" firewall configuration k s kern/13997 rwatson [jail] [patch] RLIMIT_NPROC works unadequately for jai f kern/13326 kmacy [headers] [patch] additional timeval interfaces for Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 878D610656CE for ; Mon, 31 Aug 2009 11:10:03 +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 64FB78FC1E for ; Mon, 31 Aug 2009 11:10:03 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VBA3oF072896 for ; Mon, 31 Aug 2009 11:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VBA3mQ072887; Mon, 31 Aug 2009 11:10:03 GMT (envelope-from gnats) Resent-Date: Mon, 31 Aug 2009 11:10:03 GMT Resent-Message-Id: <200908311110.n7VBA3mQ072887@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Patroklos Argyroudis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11A2D106568D for ; Mon, 31 Aug 2009 11:01:47 +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 008C18FC0A for ; Mon, 31 Aug 2009 11:01:47 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VB1ko1001097 for ; Mon, 31 Aug 2009 11:01:46 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7VB1k2Y001096; Mon, 31 Aug 2009 11:01:46 GMT (envelope-from nobody) Message-Id: <200908311101.n7VB1k2Y001096@www.freebsd.org> Date: Mon, 31 Aug 2009 11:01:46 GMT From: Patroklos Argyroudis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138387: NULL pointer dereference in lptopen() in file sys/dev/ppbus/lpt.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 11:10:03 -0000 >Number: 138387 >Category: kern >Synopsis: NULL pointer dereference in lptopen() in file sys/dev/ppbus/lpt.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 31 11:10:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Patroklos Argyroudis >Release: 8.0-CURRENT >Organization: census, inc >Environment: N/A >Description: There is a NULL pointer dereference in lptopen() in file sys/dev/ppbus/lpt.c at line 489. The NULL check at line 492 should be before the dereference of sc at line 489. >How-To-Repeat: N/A >Fix: Patch attached. Patch attached with submission follows: --- ./sys/dev/ppbus/lpt.c.orig 2009-08-28 16:14:00.000000000 +0300 +++ ./sys/dev/ppbus/lpt.c 2009-08-28 16:21:41.000000000 +0300 @@ -486,12 +486,15 @@ { int trys, err; struct lpt_data *sc = dev->si_drv1; - device_t lptdev = sc->sc_dev; - device_t ppbus = device_get_parent(lptdev); + device_t lptdev; + device_t ppbus; if (!sc) return (ENXIO); + lptdev = sc->sc_dev; + ppbus = device_get_parent(lptdev); + ppb_lock(ppbus); if (sc->sc_state) { lprintf(("%s: still open %x\n", device_get_nameunit(lptdev), >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 11:15:45 2009 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D7C0106566B for ; Mon, 31 Aug 2009 11:15:45 +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 596798FC2F for ; Mon, 31 Aug 2009 11:15:45 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VBFj4r084586 for ; Mon, 31 Aug 2009 11:15:45 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VB9Wou072642 for freebsd-bugs@FreeBSD.org; Mon, 31 Aug 2009 11:09:32 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 31 Aug 2009 11:09:32 GMT Message-Id: <200908311109.n7VB9Wou072642@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: FreeBSD bugs list Cc: Subject: Current problem reports sorted by tag X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 11:15:45 -0000 (Note: a better version of this report is available at http://people.freebsd.org/~linimon/studies/prs/pr_tag_index.html .) Problem reports for tag '2tb': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/135992 [ar] [2tb] ar(4) driver can NOT drive over 2TB HDD o kern/118912 fs [2tb] disk sizing/geometry problem with large array s bin/111146 fs [2tb] fsck(8) fails on 6T filesystem o bin/107829 fs [2TB] fdisk(8): invalid boundary checking in fdisk / w o kern/84589 fs [2TB] 5.4-STABLE unresponsive during background fsck 2 o kern/79251 geom [2TB] newfs fails on 2.6TB gbde device o kern/18874 fs [2TB] 32bit NFS servers export wrong negative values t 7 problems total. Problem reports for tag 'aac': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/135408 [aac] Adaptec 5405 RAID controller hanging under high o kern/128165 [aac] [patch] sync aac(4) with the latest vendor versi o kern/126697 emaste [aac] aac driver bug. aaccli still doesn't work o kern/123666 scsi [aac] attach fails with Adaptec SAS RAID 3805 controll o kern/103615 emaste [aac] [patch] aac(4) update to the last version availa o kern/91910 scottl [aac] [regression] aac driver hangs on Dell PE800 with 6 problems total. Problem reports for tag 'acd': S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/133253 i386 [acd] Error mounting install image 1 problem total. Problem reports for tag 'acl': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/110915 rwatson [acl] ACL's don't work with SUIDDIR o kern/58941 rwatson [acl] acl under ufs2 doesn't handle disk corruption, p 2 problems total. Problem reports for tag 'acpi': S Tracker Resp. Description -------------------------------------------------------------------------------- o amd64/138210 acpi [acpi] acer aspire 5536 ACPI problems (S3, brightness, o kern/137042 acpi [acpi] hp laptop's lcd not wakes up after suspend to r o kern/136808 acpi [acpi] panic when switching to s3 o i386/136008 acpi [acpi] Dell Vostro 1310 will not shutdown (Requires us o kern/135070 acpi [acpi] [patch] BIOS resource allocation and FreeBSD AC o kern/132602 acpi [acpi] ACPI Problem with Intel SS4200: System does not f i386/132535 gavin [acpi] if ACPI enabled, i can't change brightness leve o kern/130683 acpi [ACPI] shutdown hangs after syncing disks - ACPI race? o i386/129953 acpi [acpi] ACPI timeout (CDROM) with Shuttle X27D o kern/129618 acpi [acpi] Problem with ACPI on HP Pavilion DV2899 laptop o kern/129563 acpi [acpi] sleep broken on IBM/Lenovo T61 in amd64 mode o i386/126162 i386 [acpi] ACPI autoload failed : loading required module o kern/124744 acpi [acpi] [patch] incorrect _BST result validation for To o kern/124412 acpi [acpi] power off error on Toshiba M40 laptop f kern/123742 [acpi] [panic] kernel panic when boot with acpi disabl o kern/123039 acpi [acpi] ACPI AML_BUFFER_LIMIT errors during boot o kern/120515 acpi [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc o kern/119356 acpi [acpi]: i386 ACPI wakeup not work due resource exhaust o kern/119200 acpi [acpi] Lid close switch suspends CPU for 1 second on H o kern/118973 acpi [acpi]: Kernel panic with acpi boot o kern/117605 acpi [acpi] [request] add debug.cpufreq.highest o amd64/117316 amd64 [acpi] ACPI lockups on SuperMicro motherboard o kern/116939 acpi [acpi] PCI-to-PCI misconfigured for bus three and can o i386/114562 acpi [acpi] cardbus is dead after s3 on Thinkpad T43 with a o kern/114165 acpi [acpi] Dell C810 - ACPI problem s kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f o kern/108954 acpi [acpi] 'sleep(1)' sleeps >1 seconds when speedstep (Cx o kern/108695 acpi [acpi]: Fatal trap 9: general protection fault when in o kern/108488 acpi [acpi] ACPI-1304: *** Error: Method execution failed o kern/108017 acpi [acpi]: Acer Aspire 5600 o kern/106924 acpi [acpi] ACPI resume returns g_vfs_done() errors and ker o kern/105537 acpi [acpi] problems in acpi on HP Compaq nc6320 o kern/102783 [acpi] hw.acpi has thermal controls backwards when ext s kern/91038 acpi [panic] [ata] [acpi] 6.0-RELEASE on Fujitsu Siemens Am 34 problems total. Problem reports for tag 'acpi_fujitsu': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/121102 acpi [acpi_fujitsu] [patch] update acpi_fujitsu for the P80 1 problem total. Problem reports for tag 'acpica': S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/135891 vwe [acpica] bug in acpica/psparse.c 1 problem total. Problem reports for tag 'adw': S Tracker Resp. Description -------------------------------------------------------------------------------- s kern/22417 gibbs [adw] [patch] advansys wide scsi driver does not suppo 1 problem total. Problem reports for tag 'ae': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/133239 [ae] [jme] [patch] if_jme can assign duplicate MAC add 1 problem total. Problem reports for tag 'age': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/136482 net [age] Attansic L1 Gigabit Ethernet recieves multicasts 1 problem total. Problem reports for tag 'agp': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/126784 [agp] agp.ko doesn't detect Acer Aspire One onboard gr o kern/118962 [agp] Intel GMA 3000 Video Controller Not Recognized U o kern/103733 [agp] i915 driver on hp dc7100: device not recognized s kern/89271 [radeon] [agp] [hang] X.org hangs when heavily using R o kern/72224 [agp] umass devices broken by DRM (AGP issue?) o kern/57631 jhb [agp] [patch] boot failing for ALi chipsets 6 problems total. Problem reports for tag 'aha': S Tracker Resp. Description -------------------------------------------------------------------------------- s kern/83765 [aha] Adaptec 1542-CP requires plug-and-play switch se 1 problem total. Problem reports for tag 'ahc': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/123674 scsi [ahc] ahc driver dumping o kern/99954 scsi [ahc] reading from DVD failes on 6.x [regression] o kern/92798 scsi [ahc] SCSI problem with timeouts o kern/74627 scsi [ahc] [hang] Adaptec 2940U2W Can't boot 5.3 s kern/45568 gibbs [ahc] ahc(A19160) pci parity error s kern/9927 gibbs [ahc] the ahc driver doesn't correctly grok switched S 6 problems total. Problem reports for tag 'ahd': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/129602 scsi [ahd] ahd(4) gets confused and wedges SCSI bus o amd64/123520 amd64 [ahd] unable to boot from net while using ahd o kern/110847 scsi [ahd] Tyan U320 onboard problem with more than 3 disks s kern/105533 [ahd] adaptec 29320 causes panic with over 4GB o kern/85768 gibbs [ahd] aic79xx driver timeouts with U160 target (free l o kern/76178 scsi [ahd] Problem with ahd and large SCSI Raid system 6 problems total. Problem reports for tag 'aic': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/124202 [aic] [patch] Add Adaptec 39320LPE to list of known de o kern/114489 scottl [aic] [panic] _mtx_lock_sleep: in aic7xxx_osm.h (with o kern/114459 [aic] [panic] FreeBSD-CURRENT crash during boot with A 3 problems total. Problem reports for tag 'aic7xxx': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/138379 scsi [aic7xxx] [patch] Memory leak in output_listing() in f 1 problem total. Problem reports for tag 'altq': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/138378 net [altq] [patch] Memory leak in hfsc_class_modify() in f o kern/131753 net [altq] [panic] kernel panic in hfsc_dequeue s kern/94182 [altq] [request] altq support for vlan driver 3 problems total. Problem reports for tag 'amd': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/124667 scsi [amd] [panic] FreeBSD-7 kernel page faults at amd-scsi 1 problem total. Problem reports for tag 'amd64': S Tracker Resp. Description -------------------------------------------------------------------------------- o amd64/127397 amd64 [amd64] 32bit application on FreeBSD-6.3 amd64 gets SI o amd64/120202 amd64 [amd64] [patch] [panic] kernel panic at start_all_aps, o amd64/119591 amd64 [amd64] [patch] time_t on 64-bit architecture o kern/117607 [amd64] dev.cpu.0.freq not showing up any longer on am s amd64/57250 kmacy [amd64] [patch] Broken PTRACE_GETFPREGS and PTRACE_SET 5 problems total. Problem reports for tag 'amdtemp': S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/125383 i386 [amdtemp] [request] please enable amdtemp on i386 1 problem total. Problem reports for tag 'amr': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137758 [amr] [patch] Delete one ")" in amr.c o kern/114438 [amr] Anomalous performance with multiple arrays and a o kern/113098 [amr] Cannot read from amrd while under heavy load o kern/99529 [amr] DELL PowerEdge 2600 with streamer PowerVault 100 o kern/94139 scottl [amr] [regression] amr broken with LSILogic MegaRAID S o kern/86411 scottl [amr] Very low performance of amr(4) under FreeBSD-6.0 o kern/76848 [amr] amr hangs o kern/72433 [amr] [patch] AMR raid, amrreg.h struct amr_enquery3 a o kern/71771 [amr] Hang during heavy load with amr raid controller 9 problems total. Problem reports for tag 'an': S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/128602 net [an] wpa_supplicant(8) crashes with an(4) o kern/126924 net [an] [patch] printf -> device_printf and simplify prob o kern/85886 [an] [patch] an0: timeouts with Cisco 350 minipci s kern/75407 net [an] an(4): no carrier after short time o kern/36170 [an] [patch] an(4) does an_init() even if interface is 5 problems total. Problem reports for tag 'apic': S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/131571 gavin [apic] [panic] Running with APIC enabled crashes a Sup f kern/81000 acpi [apic] Via 8235 sound card worked great with FreeBSD 5 2 problems total. Problem reports for tag 'ar': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/135992 [ar] [2tb] ar(4) driver can NOT drive over 2TB HDD o kern/126419 [ar] Fails to boot from RAID10 volume under the Intel o kern/125759 [ar] Fatal Trap 12 when ICH9R RAID becomes degraded o kern/125496 [ar] [patch] free memory on ataraid module unload o kern/124064 [ar] [patch] cannot handle >16 serial number with Inte o kern/121899 [ar] [patch] Drive detached from Intel Matrix RAID and o kern/108924 [ar] Panics when Intel MatrixRAID RAID1 is degraded o kern/102211 [ar] [patch] detach raid member and reboot will cause o kern/101926 [ar] 6.1-STABLE crashes under heavy disk I/O and acces o kern/101819 [ar] [patch] ata driver wrongly determines type RAID o o kern/99850 [ar] ataraid hangs in g_waitidle when attaching to nVi o kern/98804 [ar] VIA V-RAID metadata mis-read (MSI K8MMV with the o kern/94393 [ar] PseudoRAID loses track of the master disk o kern/93771 [ar] [panic] atacontrol status ar1 causes panic 14 problems total. Problem reports for tag 'arcmsr': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/107206 [arcmsr] Background fsck causes kernel panic with arcm 1 problem total. Problem reports for tag 'arp': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/129730 qingli [arp]: respond with wrong ARP. f bin/127719 net [arp] arp: Segmentation fault (core dumped) o kern/125920 net [arp] Kernel Routing Table loses Ethernet Link status o kern/119432 net [arp] route add -host -iface causes arp e p kern/68189 bz [arp] [jail] [patch] arp -a discloses non-jail interfa o conf/23063 net [arp] [patch] for static ARP tables in rc.network 6 problems total. Problem reports for tag 'asr': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/102612 [asr] da0 not detected when sharing bus with ch0 devic o amd64/91405 amd64 [asr] [panic] Kernel panic caused by asr on 6.0-amd64 o kern/88047 [asr] [panic] 6.0-RC1 reboots with SMP and asr o kern/25950 obrien [asr] Bad drives on asr look zero-length and panic on 4 problems total. Problem reports for tag 'ata': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/138235 [ata] Hotswap with SATA drives and AHCI enabled does n o kern/137181 [ata] Promise SATA controller SX4-M PDC20621 does not o kern/136356 [ata] SATA / ICH7 problems o kern/136182 [ata] Heavy disk writes (e.g. ZFS resilver to a drive) o kern/136098 [ata] ata only getting 33 instead of 133 o kern/135690 [panic] [ata] ufs_dirbad: /backuphd: bad dir ino 22259 o kern/135497 [ata] JMicron JMB363 controller does not recognize PAT o kern/135057 [ata] [patch] New VIA SATA controller are not getting o amd64/135040 amd64 [ata] FreeBSD/amd64 does not (always) detect disk on S o kern/134980 [ata] no effect of ATA_STATIC_ID on CURRENT with AHCI o kern/134520 [ata] SAS HD not detected on LSI SAS1078 (Acer Altos R f kern/134398 gavin [ata] problems with udma modes on atapi ixp600 o kern/133872 [ata] SATA300 controlled as SATA150 on ICH7R mobo o kern/133593 [ata] `atacontrol spindown` won't affect disk until so o kern/133122 [ata] TIMEOUT - READ_BIG with pata dvd-drive o amd64/132372 amd64 [ata] No disks found (nVidia nForce MCP55 sata control o kern/132252 [ata] No CD/DVD devices found! o amd64/131906 amd64 [ata] SATA data corruption with Promise PDC20378 (amd6 f kern/131796 [ata] Introducing new USB or eSATA disks results in at o kern/130794 [ata] hw.ata.ata_dma_limit without any effect o kern/130726 [ata] DMA errors accessing multiple SATA channels f amd64/130365 gavin [ata] Elitegroup A780GM-A Chipset:AMD 780G&SB700 IDE c o kern/130171 [ata] UDMA CF cards do not work with FreeBSD a kern/130018 [ata] Marvell 6145 ata controller gets detected as PAT o kern/129784 [ata] [patch] SATA port multiplier disk detect bugs in o amd64/129667 amd64 [ata] Elitegroup A780GM-A IDE controller not recognize o kern/129373 [ata] [panic] Panic in ata-queue, VIA CLE266, 7.1-BETA o amd64/128686 amd64 [ata] can't detect SATA Disk on 8.0-Current with NF550 o kern/128035 [ata] unexpexted detach of external SATA drive f kern/127813 linimon [ata] ata diver dma mode work incorrectly on chip vt82 o kern/127717 [ata] [patch] - support write cache toggling per devic f kern/127517 [ata] sata does not detect SATA-300 disk but instead d p kern/127411 [ata] [panic] ata panics on bad block o kern/127391 [ata] [patch] Intel 6300ESB SATA150 cannot find disk a o kern/127316 [ata] non aligned DMA transfer errors when using growi p kern/127289 [ata] [patch] new pci ids for SiI3132 present on adapt p kern/127250 [ata] Kerneltrap 12 with atacontrol f kern/127119 [ata] incorrect ata device probing o kern/126807 [ata] PATA DVD drive attached to AMD IXP700 chipset no o kern/126242 [ata] Read error from SATA CD/DVD-drives [regression] o kern/126142 [ata] M5281: READ DMA faults, device detaching o kern/125859 [ata] [patch] sata access failure [regression] a kern/125139 philip [patch] [ata] bugs in ATAPI CD tray control o kern/124670 [ata] large file operation on RAID cause many GEOM err o kern/123980 [ata] [patch] Implement ATA UDMA speed limit (hw.ata.a o kern/123887 [ata] PDC20262 does not support 48 bit DMA access p kern/123754 mav [ata] [panic] atacontrol(8): atacontrol reinit causing o kern/122670 [ata] [patch] broken acd_get_progress = ioctl CDRIOCGE f kern/122368 [ata]: Failure to support SATA/PATA drives on 6.3 and o kern/122291 [ata] acd0: timeout waiting to issue command / acd0: e p kern/122045 [ata] [panic] reiniting detached ata channel kills the f kern/121703 [ata] Cannot fdisk/gpt with 1TB SATA disk and 965QM Mo o kern/121686 [ata] bogus CHS to LBA mapping in (at least) ata o i386/121675 i386 [ata] incorrect fallback to udma33 with CF memory inst o sparc/121539 [ata] Interrupt storm booting 7.0-R/sparc64 on ultra5 o kern/121521 [ata] [patch] add VIA CX700M2 chipset to ata driver o kern/121461 [ata] SATA Hard disks are not detected on SiS 180/181 o kern/121396 [ata] 7.0 fails on mcp55 sata controller [regression] o kern/121350 [ata] [panic] initiate_write_inodeblock_ufs2: already o kern/120717 [ata] boot problem when recognizing ata1 o kern/120534 [ata] Troubles in work with SAS controller Adaptec 941 o kern/120507 [ata] Errors while burning CDs using burncd(8) f kern/120296 linimon [ata] Unstable SATA on MB with Nvidia MCP 570 SLI chip o kern/120177 [ata] ATA DMA modes don't work on CF cards o kern/120009 [ata] Burning on FreeBSD is destroying SONY CD-Rs o kern/119894 [ata] Initialization of disc controller fails [regress o kern/119877 [ata] OS Fails to detect hard disks on HP Proliant ML1 o kern/119838 [ata] udma100 enabled althrough improper cable on nVid o kern/119374 thomas [ata] [regression] ATAPI or ATAPICAM bug (regression i f kern/119303 linimon [ata] SATA HDD missing in 7.0-RC1, ok in 7.0-BETA4; at o kern/119140 [ata] [panic] Kernel panic with sata drive and dma pro o kern/118573 [ata] FreeBSD doesnt support my optical drive o kern/118447 [ata] [patch] Troublesome DMA modes with VIA Apollo VP o kern/118342 [ata] Unable to mount root on ata drive w/ Cyrix 5530 s kern/118158 [ata] SONY SDX-570V (ATAPI) hangs frequently o kern/117972 [ata] SATA DLT V4 not recognized properly o kern/117443 [ata] [hang] system hang with ataidle o kern/117421 [ata] [hang] System hang with failing SATA disk (SiI31 o amd64/117296 amd64 [ata] I don`t see second SATA IDE on VIA VT8237A o kern/117215 [ata] Kernel errors accessing audio CDs w/ Samsung SAT o kern/116935 [ata] Intermittent error with Promise PDC40718 o kern/116415 [ata] 6.2-STABLE does not work on Gigabyte GA-P35-S3 ( o kern/116270 [ata] READ_DMA48 UDMA ICRC error s amd64/115815 amd64 [ata] [request] Gigabyte GA-M61P-S3 Motherboard unsupp f kern/115614 thomas [ata] Recent ATA driver changes have broken cdrecord [ o kern/115479 [ata] [request] ASUS P5K SE need more support o kern/115232 [ata] Audio CD tracks not displayed properly by atapi o kern/115152 [ata] Sil 3512 SATA controller panics on 6.2 o kern/114213 [ata] optical drive not detected in the 6.x series of o kern/112282 [ata] atacontrol(8): changing DMA modes when disk is r o i386/112036 i386 [ata] TIMEOUT - WRITE_DMA retrying, TIMEOUT - READ_DMA o kern/111196 [ata] [hang] SATA drives cause errors and cause system p kern/111023 mav [ata] [request] [patch] please expand ata timeouts o kern/110407 [ata] ATA drivers not recognizing Seagate CF Microdriv o kern/109736 [ata] FreeBSD sysinstall from CD can't find & mount NE s i386/109200 i386 [ata] READ_UDMA UDMA ICRC error cause not detecting ca o kern/108379 [ata] Secondary SATA drive not detected by FreeBSD 6.2 o amd64/107639 [ata] Kernel Panic/Crash on dd if=/dev/ad4 of=/dev/ad6 o kern/107622 [ata] can't boot on HP Pavilion dv6000 / problem with f kern/107292 [ata] cannot install - Unable to find device /dev/ad0s f kern/107287 [ata] page fault during install on Intel SATA on Intel o kern/106432 [ata] Record of disks (DVD-R) through the k3b program s kern/106340 [ata] [request] Need to control disk write cache on pe f amd64/105531 amd64 [ata] gigabyte GA-M51GM-S2G / nVidia nForce 430 - does s kern/104950 [ata] [request] no support for SATA controller Initio p kern/104818 [ata] Missing driver Silicon Image SiI 3132 SATA II PC o kern/104799 [ata] Several ata observations ICH8 BIOS o i386/104719 i386 [ata] Seagate ST3802110A errors/delays when using PIO4 f i386/104572 i386 [ata] issues with detecting HDD on Intel Q965 Express o kern/103883 [ata] DMA is not defaulted on WDMA device (SIS integra s i386/103624 i386 [ata] [install] Problem installing on Dell Powervault p kern/103075 [ata] SATA disk attach/unplug from a MV88SX5041 freeze o kern/101734 [ata] -CURRENT cannot see SATA drive on ASUS A8N-SLI ( o kern/99652 [ata] nVidia nForce MCP51 controller hangs w/ 2 drives o kern/99567 [ata] Powerup of sleeping IDE drives causes system reb o kern/99088 [ata] Critical Problems with VIA 8251 SATA2/RAID Contr o kern/99017 [ata] [patch] FreeBSD versions above 5.3 panic if atap o kern/98962 remko [ata] [burncd]: [patch] writing >1 session on ATAPI CD o i386/98765 i386 [ata] timeouts on sata drive (Asus a7n8x-e) o kern/98388 [ata] FreeBSD 6.1 - WDC WD1200JS SATA II disks are see o kern/97996 [ata] DMA is broken for VIA 82C596B UDMA66controller o i386/97263 i386 [ata] FreeBSD only detects first drive on PDC20378 378 f i386/96302 gavin [ata] nVidia nForce CK804 SATA300 controller not recog o kern/96171 [ata] burncd (ATA driver) fails to write in vcd mode o amd64/95888 amd64 [ata] kernel: ad2: TIMEOUT - WRITE_DMA retrying on HP f i386/94911 gavin [ata] [regression] ata regression with DOM-IDE o kern/94155 [ata] 6.1 CF reader problem: "ad1: FAILURE - SETFEATUR f i386/93923 i386 [ata] FreeBSD Install, Sil3112: Cannot dump. No dump d o kern/93885 [ata] ata(4) failure: SETFEATURES SET TRANSFER MODE se o kern/92786 [ata] [patch] ATA fixes, write support for LSI v3 RAID o kern/92238 [ata] [patch] Spurious "atapci1: failed to enable memo s kern/91290 [ata] ata(4) error on 7.0-CURRENT-20051229-SNAP-PC98 s kern/91038 acpi [panic] [ata] [acpi] 6.0-RELEASE on Fujitsu Siemens Am o kern/90206 [ata] [reboot] Server reboot after "FAILURE - out of m f i386/88929 i386 [ata] FreeBSD 6.0 install CD fails to find disks on So o kern/85450 [ata] [panic] subdisk6 detached (appears to be a sata o kern/79783 [ata] hw.ata.atapi_dma=1 reduces HDD writing transfer o kern/78758 [ata] [patch] Add support for re-sizing ATA disks f kern/73740 [ata] [panic] 5-3-R#3 panic when accessing nfs exporte f kern/61960 linimon [ata] [patch] BigDrive support for PC-98 architecture o kern/36911 [ata] ATA cannot be disabled with hints or through BIO 141 problems total. Problem reports for tag 'atapicam': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/120787 [atapicam] hardware troubles with atapicam and dvd f kern/118161 thomas [atapicam] failure message from ATAPI CDROM in the boo o kern/117028 [atapicam] [panic] brelse: free buffer onto another qu o kern/116701 [atapicam] atapicam hangs initializing SATA DVDRs on s o kern/108202 [atapicam] atapicam error after upgrade to 6.2 [regres o kern/106490 [atapicam] atapicam fails with ATAPI-CD/DVD drives att o kern/100516 [atapicam] atapicam with ITE IT8212F crashes the syste o i386/99608 i386 [atapicam] ATAPI or CAM crash on FreeBSD 6.1-stable wi o kern/95407 [atapicam] atapicam, cd and /etc/rc.d/devfs problem o kern/91572 [atapicam] [panic] writing to UFS/softupdates DVD medi o kern/80714 [atapicam] drop/boot to single user hangs on 5.4-RELEA a kern/78929 [atapicam] atapicam prevents boot, system hangs o kern/63629 thomas [atapicam] mounting atapicam volume through cd0c cause o kern/60699 [atapicam] DVD Multidrive udma mode autosensed wrong 14 problems total. Problem reports for tag 'ataraid': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/134887 [ataraid] source consistency problem o kern/134054 [ataraid] [panic] traps kernel on boot if Intel Matrix o i386/89249 [ataraid] HighPoint RocketRAID 1520 (HPT372N) can't wr 3 problems total. Problem reports for tag 'ate': S Tracker Resp. Description -------------------------------------------------------------------------------- o arm/121242 ticso [ate] [patch] Promiscuous mode of if_ate (arm) doesn't 1 problem total. Problem reports for tag 'ath': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137592 net [ath] panic - 7-STABLE (Aug 7, 2009 UTC) crashes on ne o kern/137170 net [ath] atheros AR9285 not recognised o kern/136836 net [ath] atheros card stops functioning after about 12 ho f kern/135427 vwe [ath] [hang] System freezes when loading Atheros drive o kern/132722 net [ath] Wifi ath0 associates fine with AP, but DHCP or I o kern/131162 net [ath] Atheros driver bugginess and kernel crashes o kern/129750 net [ath] Atheros AR5006 exits on "cannot map register spa o kern/126475 net [ath] [panic] ath pcmcia card inevitably panics under o kern/126214 net [ath] txpower problem with Atheros wifi card o kern/125721 [ath] Terrible throughput/high ping latency with Ubiqu o kern/125617 [ath] ath(4) related panic o kern/125501 [ath] atheros cardbus driver hangs o kern/125332 [ath] [hang] crash under any non-tiny networking under o kern/122697 net [ath] Atheros card is not well supported f kern/121394 sam [ath] FreeBSD access point (ath0) fails 100% of the ti o kern/121061 sam [ath] [panic] panic while ejecting ath(4)-adapter duri o kern/120376 imp [ath] High interrupt load when booting with ath (PCMCI o kern/120282 imp [ath] [panic] resource_list_release: resource entry is f kern/119345 vwe [ath] Unsuported Atheros 5424/2424 and CPU speedstep n s kern/117513 vwe [panic] [ath] Fatal trap 12: page fault while in kerne s kern/116444 vwe [ath] Atheros 5005G (AR5212) miniPCI: unable to attach f kern/115226 vwe [ath] ath0: unable to attach hardware; HAL status 13 o kern/107279 [ath] panic: ath_start: attempted use of a free mbuf! o kern/105348 net [ath] ath device stopps TX f sparc/94483 sam [ath] ath_hal does not work on 6-release/sparc64 o kern/93886 net [ath] Atheros/D-Link DWL-G650 long delay to associate f kern/88082 net [ath] [panic] cts protection for ath0 causes panic 27 problems total. Problem reports for tag 'aue': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/135938 usb [aue] aue driver only passes traffic in promisc mode o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data o kern/91311 net [aue] aue interface hanging o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o kern/61300 [aue] [patch] Enabling HomePNA PHY on aue(4) for HomeP o kern/51009 [aue] [patch] buggy aue driver fixed. 6 problems total. Problem reports for tag 'axe': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/119981 usb [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigab f usb/106621 gavin [usb67] [axe] [patch] DLINK DUB-E100 support broken o usb/88408 usb [axe] axe0 read PHY failed 3 problems total. Problem reports for tag 'bce': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/136417 [bce] bce BCM5709 "No PHY found on child MII bus" on I o kern/135836 net [bce] bce BCM5709 Watchdog after warm boot - ok after o kern/134788 delphij [bce] failure to set ip address in amd64 if_bce.c, i38 o kern/134658 net [bce] bce driver fails on PowerEdge m610 blade. o amd64/131209 amd64 [panic] [bce] 7.1-STABLE amd64 crash - m0 NULL o kern/125389 [ipmi] [bce] IPMI problem with bce f kern/123172 net [bce] Watchdog timeout problems with if_bce a kern/118238 net [bce] [patch] bce driver shows "no carrier" on Intel S o kern/108542 net [bce] Huge network latencies with 6.2-RELEASE / STABLE o kern/107850 net [bce] bce driver link negotiation is faulty o kern/100858 davidch [bce] Broadcom bce driver and SMP hangup 11 problems total. Problem reports for tag 'bfe': S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/104349 i386 [bfe] Panic while uploading data via bfe network inter p kern/98015 remko [bfe] [patch] bfe(4): double free in error handling pa o kern/96030 net [bfe] [patch] Install hangs with Broadcomm 440x NIC in 3 problems total. Problem reports for tag 'bge': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137279 net [bge] [panic] Page fault (fatal trap 12) NFS server w/ o kern/136876 net [bge] bge will not resume properly after suspend o kern/133328 net [bge] [panic] Kernel panics with Windows7 client o kern/132991 net [bge] if_bge low performance problem s kern/127587 net [bge] [request] if_bge(4) doesn't support BCM576X fami o kern/123347 net [bge] bge1: watchdog timeout -- linkstate changed to D o kern/122551 net [bge] Broadcom 5715S no carrier on HP BL460c blade usi f kern/122252 net [ipmi] [bge] IPMI problem with BCM5704 (does not work o kern/121080 net [bge] IPv6 NUD problem on multi address config on bge0 o kern/120791 [bge] The Broadcom BCM5703 A2 NIC is running a lot of a kern/118879 net [bge] [patch] bge has checksum problems on the 5703 ch o kern/116328 net [bge]: Solid hang with bge interface o kern/112570 net [bge] packet loss with bge driver on BCM5704 chipset o kern/109733 net [bge] bge link state issues [regression] o kern/104862 [bge] BCM5704 only works at 10Mbit o kern/104826 andre [bge] FreeBSD 6.1 not RFC 768 (UDP) compliant on Compa o kern/104485 net [bge] Broadcom BCM5704C: Intermittent on newer chip ve o kern/103715 [bge] [request] Broadcom BCM5708SKFB not recognised by o kern/100410 [bge] bge driver disables access to shared iLo on HP D o i386/96382 i386 [bge] In 6.1-RC1 the bge driver does not reliably work s kern/94863 net [bge] [patch] hack to get bge(4) working on IBM e326m o kern/94424 [bge] BGE5721 or BGE5750? o kern/94162 net [bge] 6.x kenel stale with bge(4) o kern/92090 net [bge] bge0: watchdog timeout -- resetting f kern/73538 net [bge] problem with the Broadcom BCM5788 Gigabit Ethern f i386/45773 net [bge] Softboot causes autoconf failure on Broadcom 570 26 problems total. Problem reports for tag 'bktr': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/127131 multimedia [bktr] /usr/src/sys/dev/bktr/bktr_os.c, line 469: wron o kern/120884 [bktr] [patch] bktr driver always stores the contigmal o kern/108133 jmg [bktr] [patch] bktr driver doesn't recognize Hauppauge o kern/105604 [bktr] [patch] add support for Pixelview PlayTV Pro 2 o kern/104675 [bktr] METEORSINPUT seemingly not setting input o kern/102549 [bktr] [patch] fix Pixelview PlayTV Pro 2 on bktr o kern/94369 itetcu [bktr] [patch] Patch to support Leadtek WinFast Tv2000 o kern/89553 [bktr] [patch] going from 5.3 -> 6.0 winTV card not pr o kern/81180 [bktr] bktr(4) driver cannot capture both audio and vi o kern/79066 [bktr] bktr(4) eating about 10% CPU load once it was u s kern/60599 multimedia [bktr] [partial patch] No sound for ATI TV Wonder (ste o kern/59289 [bktr] [patch] ioctl METEORGBRIG in bktr_core.c forget o kern/57603 [bktr] bktr driver: freeze on SMP machine o kern/56245 [bktr] Distorted and choppy video with bktr-driver on s kern/48279 [bktr] Brooktre878 may cause freeze o kern/37326 [bktr] smbus/bktr crash when omitting "device iicsmb" a kern/36451 [bktr] [patch] Japan IF frequency is incorrect o kern/36415 [bktr] [patch] driver incorrectly handles the setting o kern/35289 [bktr] [patch] Brooktree device doesnt properly signal o kern/32812 [bktr] bktr driver missing tuner for eeprom detection. 20 problems total. Problem reports for tag 'bluetooth': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/128598 net [bluetooth] WARNING: attempt to net_add_domain(bluetoo o kern/99200 usb [bluetooth] SMP-Kernel crashes reliably when Bluetooth 2 problems total. Problem reports for tag 'boot0': S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/135918 [boot0] [patch] Make BootEasy compatible with NT Drive o i386/134242 i386 [boot0] [patch] improvement i386 boot0 error diagnose o i386/70531 i386 [boot0] [patch] boot0 hides Lilo in extended slice 3 problems total. Problem reports for tag 'boot0cfg': S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/127764 [boot0cfg] [patch] preserve NT disk UID data for boot0 1 problem total. Problem reports for tag 'boot1': S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/91871 i386 [boot1] [patch] boot1: jump to 0xf000:0xfff0 instead o 1 problem total. Problem reports for tag 'boot2': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/35262 [boot2] [patch] generation of boot block for headless 1 problem total. Problem reports for tag 'bootinst': S Tracker Resp. Description -------------------------------------------------------------------------------- o misc/22914 [bootinst] bootinst messages are not updated 1 problem total. Problem reports for tag 'bootp': S Tracker Resp. Description -------------------------------------------------------------------------------- o misc/137678 [bootp] [patch] libstands bootp/dhcp code always uses 1 problem total. Problem reports for tag 'bpf': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/133490 net [bpf] [panic] 'kmem_map too small' panic on Dell r900 f kern/89752 dwmalone [bpf] [patch] bpf_validate() needs to do more checks o kern/16644 dwmalone [bpf] [patch] Bad comparison expression in bpf_filter. 3 problems total. Problem reports for tag 'bsd.apache.mk': S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/133197 pgollucci [bsd.apache.mk] Rephrase IGNORE statement, kill EOL sp 1 problem total. Problem reports for tag 'bsd.cpu.mk': S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/30399 brueffer [bsd.cpu.mk] [patch] Have Fortran use the CPUTYPE vari 1 problem total. Problem reports for tag 'bsd.octave.mk': S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/138111 [bsd.octave.mk] Issues with octave-forge and octave po 1 problem total. Problem reports for tag 'bsd.port.mk': S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/138228 portmgr [bsd.port.mk] New opt-in knob to compile ports with SS o ports/135221 portmgr [bsd.port.mk] unified support for LINUX_OSRELEASE depe 2 problems total. Problem reports for tag 'bsd.python.mk': S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/133081 python [bsd.python.mk] PYEASYINSTALL_ARCHDEP=yes makes broken 1 problem total. Problem reports for tag 'busdma': S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/119175 i386 [busdma] [patch] Typo in bus_dmamem_alloc() o amd64/93961 amd64 [busdma] Problem in bounce buffer handling in sys/amd6 o i386/76944 i386 [busdma] [patch] i386 bus_dmamap_create() bug 3 problems total. Problem reports for tag 'cam': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/138376 scsi [cam] [patch] Memory leak in scsi_low_attach_xs() in f o kern/130735 scsi [cam] [patch] pass M_NOWAIT to the malloc() call insid o usb/121474 usb [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard o kern/120858 scottl [patch] [cam] panic: ufs_dirbad with CLARiiON CX3-40 o kern/119668 scsi [cam] [patch] certain errors are too verbose comparing o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and f usb/107248 gavin [usb67] [cam] [quirk] [patch] quirk for Cowon iAUDIO X o usb/107243 usb [usb67] [cam] [quirk] [patch] Apacer USB Flash Drive q o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB s kern/85975 [cam] devfs does not create entries when removable med o kern/76893 [cam] [patch] Fatal divide in booting processes with B s kern/72041 [cam] [hang] Deadlock when disk is destroyed while use s bin/57088 [cam] [patch] for a possible fd leak in libcam.c s kern/28840 gibbs [cam] Possible interrupt masking trouble in sys/cam/ca s i386/17662 gibbs [cam] cam_xpt.c incorrectly disables tagged queuing fo o kern/17504 [cam] [patch] Another Micropolis Synchronize Cache Pro 19 problems total. Problem reports for tag 'cardbus': S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/125880 i386 [cardbus] Cardbus cards Don't function on TI PCIxx12 C o kern/122749 [cardbus] cardbus problem on IBM Thinkpad T60P o kern/121761 [cardbus] [dc] a cardbus dc0 causes a system freeze wh o kern/121760 [pccard] [cardbus] an ed1 network pccard's CIS wasn't o kern/121759 [cardbus] [dc] cardbus dc0 initialization failure at o a kern/115623 imp [cardbus] [patch] Xircom CardBus Ethernet II 10/100 Ad o kern/115371 imp [cardbus] [patch] Device removal leaves resource datab o kern/84954 imp [CARDBUS] cbb alloc res fail (with hw.cardbus.debug=1 8 problems total. Problem reports for tag 'carp': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/133218 net [carp] [hang] use of carp(4) causes system to freeze o kern/132285 net [carp] alias gives incorrect hash in dmesg o kern/132107 net [carp] carp(4) advskew setting ignored when carp IP us o kern/129508 net [carp] [panic] Kernel panic with EtherIP (may be relat o kern/127050 net [carp] ipv6 does not work on carp interfaces [regressi p kern/126984 glebius [carp] [patch] add carp userland notifications via dev o kern/126945 net [carp] CARP interface destruction with ifconfig destro o kern/126714 net [carp] CARP interface renaming makes system no longer o kern/125816 net [carp] [if_bridge] carp stuck in init when using bridg f kern/125442 gonzo [carp] [lagg] CARP combined with LAGG causes system pa o kern/120130 net [carp] [panic] carp causes kernel panics in any conste o kern/117448 net [carp] 6.2 kernel crash [regression] o kern/117000 glebius [carp] CARP using address-less host NIC (carpdev) o kern/114095 pf [carp] carp+pf delay with high state limit 14 problems total. Problem reports for tag 'cbb': S Tracker Resp. Description -------------------------------------------------------------------------------- f amd64/123275 amd64 [cbb] [pcmcia] cbb/pcmcia drivers on amd64 failure [re o kern/114550 [cbb] Cardbus WiFi card activation problem f kern/96286 [cbb] [panic] TI1131 PCI CardBus Bridge: driver cbb le 3 problems total. Problem reports for tag 'cd9660': S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/130941 gavin [panic] [cd9660] [geom] unexpected crash due to page f o kern/114955 fs [cd9660] [patch] [request] support for mask,dirmask,ui 2 problems total. Problem reports for tag 'ciss': S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/136718 gavin [ciss] ciss driver issue on HP DL585 o kern/132250 scsi [ciss] ciss driver does not support more then 15 drive o kern/125723 [ciss] System randomly crashes or can not boot - ciss o kern/125647 [ciss] [panic] System randomly crashes - ciss driver o kern/115997 scottl [ciss] [panic] [patch?] kernel panics on heavy disk I/ o kern/109813 [ciss] ciss(4) driver API header is not installed 6 problems total. Problem reports for tag 'cpufreq': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/128335 [patch] [cpufreq] Missing call to sbuf_delete() in two o amd64/122695 amd64 [cpufreq] Lack of cpufreq control using amd64 eith cor o kern/121768 [cpufreq] cpufreq module RELENG_6 -> 7 regressions on o kern/118739 [cpufreq] [patch] Allow the cpufreq/p4tcc driver to de o amd64/114270 amd64 [cpufreq] cpufreq doesnt work when compiled in to kern 5 problems total. Problem reports for tag 'crypto': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/136123 [crypto] device crypto breaks sparc64 kernel o kern/132277 net [crypto] [ipsec] poor performance using cryptodevice f o kern/132129 [crypto] Device crypto makes the kernel unbootable o kern/120270 simon [crypto] [patch] AES-192 and AES-256 support for HW-ac o kern/115695 [crypto] When "device padlock" defined first ssh to ma f kern/114331 vanhu [crypto] [patch] VIA padlock freesession bug o bin/93776 [crypto] [patch] SHA256_Update / SHA512_Update fail to o kern/91407 [crypto] [panic] Kernel panic when heavily loading cry o kern/66029 [crypto] [patch] MD5 alignment problem on a TriMedia p o kern/43611 [crypto] [patch] static-ize some symbols in sys/crypto 10 problems total. Problem reports for tag 'cue': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/75710 [cue] cue0 device configuration causes kernel panic 1 problem total. Problem reports for tag 'cx': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/66348 rik [cx] FR mode of cx (Cronyx Sigma) does not work for 4. 1 problem total. Problem reports for tag 'cxgb': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/138381 kmacy [cxgb] [patch] NULL pointer dereference in t3_set_tcb_ o kern/125806 kmacy [cxgb] cxgb packet counters do not work 2 problems total. Problem reports for tag 'cy': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/126098 [cy] 6.3 only sees 16 ports on 32 port Cyclades Cyclom 1 problem total. Problem reports for tag 'dc': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/121761 [cardbus] [dc] a cardbus dc0 causes a system freeze wh o kern/121759 [cardbus] [dc] cardbus dc0 initialization failure at o o kern/119205 [dc] [patch] Collect various stats regarding dc(4) int s kern/92279 net [dc] Core faults everytime I reboot, possible NIC issu o kern/82070 [dc] Not all dc(4) devices can be used: MII without an f kern/79262 net [dc] Adaptec ANA-6922 not fully supported o kern/55793 [dc] Flaky behavior of if_dc when initializing a LNE10 f kern/52980 mbr [dc] [patch] dc driver fails to init Intel 21143 Cardb o kern/50574 mbr [dc] dc driver incorrectly detects ADMtek chip model o kern/30052 mbr [dc] [patch] dc driver queues outgoing pkts indefinite 10 problems total. Problem reports for tag 'de': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/133495 [de] interface not properly initialized on boot o kern/71450 [de] de(4): MAC address change on 21040 "Tulip" Ethern a kern/55542 andre [de] [patch] discard oversize frame (ether type 800 fl 3 problems total. Problem reports for tag 'devctl': S Tracker Resp. Description -------------------------------------------------------------------------------- a kern/130107 dfr [devctl] [patch] in devctl_queue_data(): possible use 1 problem total. Problem reports for tag 'devd': S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/120406 rc [devd] [patch] Handle newly attached pcm devices (eg. 1 problem total. Problem reports for tag 'devfs': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/125034 [devfs] [patch] devfs does not apply rules to newly cr o kern/125030 [devfs] [patch] Command 'devfs ruleset 0' causes panic o kern/124881 [devfs] [patch] [request] Add possibility to check whi o kern/123287 [devfs] structure used after freed in destroy_devl() i o kern/122838 [devfs] devfs doesn't handle complex paths (like zvol/ o kern/122615 [devfs] [panic] occasional crash/boot while running Xo o kern/114057 [devfs] devfs symlink over device doesn't work o conf/91342 [devfs] Errors in devfs.rules files don't get logged o kern/87836 [devfs] If using ATAPICAM with cd(dvd)rw without media o kern/85751 [devfs] [panic] panic in devfs_setattr() when running 10 problems total. Problem reports for tag 'devfs.rules': S Tracker Resp. Description -------------------------------------------------------------------------------- p kern/124853 gonzo [devfs.rules] [patch] devfs_ruleset_use may use freed 1 problem total. Problem reports for tag 'digi': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/125454 [digi] [patch] device digi (PC/Xe 64K 16 ports) not wo o kern/83254 [digi] driver can't init Digiboard PC/4e o kern/82227 [digi] Xem: chained concentrators not recognised o kern/74281 [digi] digi(4): Digiboard PCI Xem (64-ports) detection p kern/55018 andre [digi] [patch] Digiboard PC/Xem fails to initialize wh 5 problems total. Problem reports for tag 'diskless': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/87586 [diskless] [vm] [panic] Unable to use networked swap i 1 problem total. Problem reports for tag 'dns': S Tracker Resp. Description -------------------------------------------------------------------------------- p kern/103464 bz [dns] [jail] jail networking failures to 127.0.0.1 onl 1 problem total. Problem reports for tag 'dpt': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/38828 scsi [dpt] [request] DPT PM2012B/90 doesn't work 1 problem total. Problem reports for tag 'dri': S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/123775 [dri] DRI Broken under freebsd7-stable/i386 o kern/119507 [dri] mach64.o kernel module version is 1.0.0, but ver o kern/107342 [dri] Radeon dri breaks system o amd64/97337 amd64 [dri] xorg reboots system if dri module is enabled 4 problems total. Problem reports for tag 'drm': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/134800 [drm] radeon driver freezes Xorg server with drmwtq p kern/132042 rnoland [drm] [panic] drm module crash the system when closing o kern/128648 [drm] [hang] crash when using 3D-acceleration with Int o kern/126937 rnoland [drm] System hang when start X o kern/126113 rnoland [drm] Issues with DRM with Intel GM965 chipset o kern/125808 rnoland [drm] [patch] Radeon X800 GTO - *ERROR* Offset failed f kern/121550 [drm] Can't config graphics for ATI Radeon Xpress 200M o kern/120970 rnoland [drm] Radeon Problems related to DRM and/or DRI o kern/120262 rnoland [drm] "0MB"; no dri with i915G [regression] o kern/116435 [drm] drm/i915 reports memory leak o kern/114995 [drm] acpi_video prevents savage drm from loading succ o kern/114677 [drm] Xorg will not run with dri glx and drm on ATI Ra o kern/114546 [drm] [panic] Sleeping thread owns a non-sleepable loc o kern/114406 [drm] ATI Radeon Mobility X600 not supported by agp de o kern/94823 [drm] DRM doesnt't work with i915.ko o kern/93770 [drm] ati 9600 PRO radeon not recognized by the system o kern/90237 [drm] [panic] panic in sis DRM s kern/87653 [drm] ATI Radeon Mobile X600SE not detected by kernel o kern/82064 [drm] DRM not working with SMP 19 problems total. Problem reports for tag 'dtrace': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/134408 [dtrace] [panic] "opensnoop" DTrace script panics ever o kern/130998 [dtrace] DTrace stops tracing because of struct thread o kern/127441 jb [dtrace] Dtrace timestamp variable is wrapping as if d o kern/127440 jb [dtrace] Dtrace arg0/arg1 variables don't contain retu 4 problems total. Problem reports for tag 'dummynet': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/134157 net [dummynet] dummynet loads cpu for 100% and make a syst o kern/133969 net [dummynet] [panic] Fatal trap 12: page fault while in o kern/133968 net [dummynet] [panic] dummynet kernel panic o kern/121382 ipfw [dummynet]: 6.3-RELEASE-p1 page fault in dummynet (cor f kern/118128 oleg [dummynet] Dummynet cause kernel trap or system freeze o kern/106316 net [dummynet] dummynet with multipass ipfw drops packets o kern/76539 [dummynet] [patch] ipnat + dummynet on output on same 7 problems total. Problem reports for tag 'ecmp': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/123992 qingli [ecmp] ECMP does not remove/disable next-hop for downe p kern/123991 qingli [ecmp] ECMP balancing issues 2 problems total. Problem reports for tag 'ed': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/122195 net [ed] Alignment problems in if_ed o kern/85493 imp [ed] [patch] OLDCARD can't probe ed driver o kern/84202 net [ed] [patch] Holtek HT80232 PCI NIC recognition on Fre o kern/80853 net [ed] [patch] add support for Compex RL2000/ISA in PnP p i386/12088 imp [ed] [patch] ed(4) has minor problem with memory alloc o kern/9570 dfr [ed] [patch] ed(4) irq config enhancement 6 problems total. Problem reports for tag 'editline': S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/124822 [editline] [patch] Editline's ed-search-{prev,next}-hi 1 problem total. Problem reports for tag 'ef': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/85086 wkoszek [ef] [patch] Locking fixes for ef(4) (+removes mem. le 1 problem total. Problem reports for tag 'ehci': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/113672 usb [ehci] [panic] Kernel panic with AEWIN CB6971 f usb/112461 gavin [usb67] [ehci] ehci USB 2.0 doesn't work on nforce4 f usb/110197 gavin [usb67] [umass] [ehci] Sony PSP umass device does not f usb/107496 gavin [usb67] [uhub] [ehci] USB device problem on RELENG_6_2 o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg o usb/82660 usb [ehci] [panic] EHCI: I/O stuck in state 'physrd'/panic o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/79722 usb [ehci] wrong alignments in ehci.h a usb/79656 usb [ehci] RHSC interrupts lost 11 problems total. Problem reports for tag 'elf': S Tracker Resp. Description -------------------------------------------------------------------------------- p kern/118540 kaiw [elf] [patch] update sys/sys/elf_common.h with new ema 1 problem total. Problem reports for tag 'em': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/136168 net [em] em driver initialization fails on Intel 5000PSL m o kern/134956 net [em] FreeBSD 7.1 & 7.2, Intel PRO/1000 PT Quad Port Se o kern/134079 net [em] "em0: Invalid MAC address" in FreeBSD-Current ( 8 o kern/122928 net [em] interface watchdog timeouts and stops receiving p o kern/122772 net [em] em0 taskq panic, tcp reassembly bug causes radix o kern/122373 jfv [em]: unable to recieve on em 82542 w/o promisc o kern/122058 net [em] [panic] Panic on em1: taskq o kern/121624 net [em] [regression] Intel em WOL fails after upgrade to o kern/121298 net [em] [panic] Fatal trap 12: page fault while in kernel o kern/119767 jfv [em] [patch] if_em fix for systems without msix suppor o kern/119754 jfv [em] em hung after "watchdog timeout -- resetting" on f kern/119487 [em] page fault in em taskq with polling enabled o kern/118927 jfv [em] em(4) broken: link state changed to DOWN (/UP), l o kern/118695 jfv [em] device polling + vlan causes panic on "em" interf o kern/117926 jfv [em] Intel S5000-based mobo, em driver does not attach o kern/117043 net [em] Intel PWLA8492MT Dual-Port Network adapter EEPROM o kern/115930 jfv [em]: Dell nic enumeration problem o kern/112937 jfv [em] Panic in em(4) when issuing a SIOCGIFADDR ioctl o kern/112702 jfv [em] em driver doesn't use MSI on MSI capable device o kern/104978 jfv [em] jumbo frames has been broken in RELENG_6 by last o kern/103256 jfv [em] em0: watchdog timeout -- resetting (6.1-STABLE) o i386/102562 i386 [em] no traffic pass through a em card after approx. a o kern/101226 jfv [em] Access to IPMI module is lost when the em driver o i386/98366 i386 [em] Intel PRO/1000 MT Dual PCI-X: simulatenious 1000 o amd64/92337 amd64 [em] FreeBSD 6.0 Release Intel Pro 1000 MT em1 no buff o kern/91594 net [em] FreeBSD > 5.4 w/ACPI fails to detect Intel Pro/10 o kern/80932 jfv [em] [patch] Degraded performance of em driver 27 problems total. Problem reports for tag 'est': S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/133388 i386 [est] est causes wrong dev.cpu.0.freq_levels values o amd64/121590 amd64 [est] [p4tcc] [acpi_perf] setting dev.cpu.0.freq somet o i386/119946 i386 [est] sysctl dev.cpu.0.freq on 75 Hz, cannot be change o kern/119895 [est] Core2Duo CPUs not recognized by EST 4 problems total. Problem reports for tag 'ex': S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/85423 i386 [ex] ex(4) does not correctly recognize NIC in PnP mod o kern/52623 [ex] [patch] IRQ error in driver for the Intel EtherEx 2 problems total. Problem reports for tag 'ext2fs': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/131086 fs [ext2fs] [patch] mkfs.ext2 creates rotten partition f kern/128173 fs [ext2fs] ls gives "Input/output error" on mounted ext3 f kern/125536 fs [ext2fs] ext 2 mounts cleanly but fails on commands li o kern/122047 fs [ext2fs] [patch] incorrect handling of UF_IMMUTABLE / o kern/105093 fs [ext2fs] [patch] ext2fs on read-only media cannot be m o kern/104133 fs [ext2fs] EXT2FS module corrupts EXT2/3 filesystems o kern/77826 fs [ext2fs] ext2fs usb filesystem will not mount RW 7 problems total. Problem reports for tag 'ext3': S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/124621 fs [ext3] [patch] Cannot mount ext2fs partition 1 problem total. Problem reports for tag 'extfs': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/138109 fs [extfs] [patch] Minor cleanups to the sys/gnu/fs/ext2f 1 problem total. Problem reports for tag 'fdc': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/119618 [fdc] Double Density Disks do not work correctly o kern/104079 [fdc] [patch] kldunload fdc.ko leads to panic: mutex G o kern/103862 [fdc] [patch] Error with fdformat on -CURRENT o kern/97517 [fdc] Floppy device lost permissions when active flopp o kern/97381 [fdc] [patch] Patch to add zero-sector and spanned-sid s kern/97266 [fdc] System hangs at kernel time after boot: /dev/fd0 f kern/91476 gavin [fdc] [patch] floppy drive doesn't work in MS Virtual o kern/84799 [fdc] [patch] can't read beyond track 0 on fdc (IBM th o kern/79944 [fdc] virtual floppy controller of Virtual PC does not s kern/75233 [fdc] breaking fdformat /dev/fd0 resets device permiss o kern/74827 [fdc] Problem writing data to floppies o kern/73961 [fdc] floppy disk drive performance problem [new in 5. o kern/66960 [fdc] [patch] filesystems not unmounted during reboot 13 problems total. Problem reports for tag 'ffs': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/136944 fs [ffs] [lor] bufwait/snaplk (fsync) o kern/133980 fs [panic] [ffs] panic: ffs_valloc: dup alloc o amd64/133977 amd64 [panic] [ffs] "panic: ffs_blkfree: freeing free block" o kern/123778 vwe [panic] [ffs] [msgs] server reboots when running 130.c o kern/122380 fs [ffs] ffs_valloc:dup alloc (Soekris 4801/7.0/USB Flash o kern/116913 fs [ffs] [panic] ffs_blkfree: freeing free block o kern/116583 fs [ffs] [hang] System freezes for short time when using o kern/92272 fs [ffs] [hang] Filling a filesystem while creating a sna 8 problems total. Problem reports for tag 'fib': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/135067 net [patch] [fib] Incorrect KASSERTs in sys/net/route.c o kern/134931 net [route] [fib] Route messages sent to all socket listen o conf/132851 net [fib] [patch] allow to setup fib for service running f 3 problems total. Problem reports for tag 'fifo': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/94772 [fifo] [patch] FIFOs (named pipes) + select() == broke o kern/76525 [fifo] select() hangs on EOF from named pipe (FIFO) o kern/76144 [fifo] poll doesn't set POLLHUP when FIFO is closed 3 problems total. Problem reports for tag 'firewire': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/136652 firewire [firewire] Firewire-attached "WD My Book 1028" does no o kern/129261 simokawa [firewire] Kernel crash on boot with disconnected fire p kern/125673 firewire [firewire] [panic] FreeBSD7 panics when kldunloading f o kern/122951 firewire [firewire] video-transfer via fwcontrol triggers a pan o kern/119575 simokawa [firewire] [patch] sbp_targ cannot handle multiple CTI o kern/118093 firewire [firewire] firewire bus reset hogs CPU, causing data t p kern/114646 firewire [firewire] [patch] firewire fails after suspend/resume o kern/113785 firewire [firewire] dropouts when playing DV on firewire o kern/97208 firewire [firewire] System hangs / locks up when a firewire dis o kern/74238 firewire [firewire] fw_rcv: unknown response; firewire ad-hoc w o kern/73313 simokawa [firewire] Maxtor Onetouch drivers hang or corrupt dat 11 problems total. Problem reports for tag 'fpa': S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/101061 vwe [fpa] fea/fpa (DEC FDDI NIC) driver causes kernel pani 1 problem total. Problem reports for tag 'fs': S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/122172 fs [fs]: amd(8) automount daemon dies on 6.3-STABLE i386, f kern/120991 fs [panic] [fs] [snapshot] System crashes when manipulati 2 problems total. Problem reports for tag 'fwohci': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/136946 firewire [fwohci] fwohci throws an"unrecoverable error" upon re 1 problem total. Problem reports for tag 'fxp': S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/138135 yongari [fxp] truncated-ip - 2 bytes missing! on fxp(4) [regre p kern/135451 yongari [fxp] no wol capability in fxp-driver for 82801-based f kern/128181 yongari [fxp] panic in fxp_add_rfabuf f kern/126469 yongari [fxp] [panic] fxp(4) related kernel panic f kern/125195 yongari [fxp] fxp(4) driver failed to initialize device Intel o kern/124904 yongari [fxp] EEPROM corruption with Compaq NC3163 NIC f kern/121983 yongari [fxp] fxp0 MBUF and PAE f kern/114839 yongari [fxp] fxp looses ability to speak with traffic f kern/113427 yongari [fxp] fxp0: device timeout when writing to USB and pla o kern/103332 yongari [fxp] fxp driver does not work correctly on Intel 8255 o kern/92675 yongari [fxp] [patch] fxp(4) unable to recover from occasional o kern/85258 mux [fxp] changing promisc mode on nic can lead to kernel f kern/80784 yongari [fxp] fxp gives device timeouts o kern/12543 [fxp] [patch] cumulative error counters for fxp(4) 14 problems total. Problem reports for tag 'gbde': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/119293 [gbde] gbde swap encryption forces gmirror to rebuild o kern/87544 geom [gbde] mmaping large files on a gbde filesystem deadlo o kern/66162 phk [gbde] gbde destroy error 3 problems total. Problem reports for tag 'gcclibs': S Tracker Resp. Description -------------------------------------------------------------------------------- o gnu/134604 [gcclibs] [patch] Memory leak in gcclibs/libgomp 1 problem total. Problem reports for tag 'geli': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/134113 geom [geli] Problem setting secondary GELI key o kern/133931 geom [geli] [request] intentionally wrong password to destr o kern/120091 geom [geom] [geli] [gjournal] geli does not prompt for pass o kern/120090 [geli] geli boot password input fails when using usb k o kern/120066 [geli] geli boot password input fail when using serial o kern/117188 [geli] System crashes/reboots on access to file on GEL o bin/116782 [geli] geli not updated on migrate from 6.1 to 6.2 rel o kern/115856 geom [geli] ZFS thought it was degraded when it should have o kern/111967 [geli] glabel - label is seemingly not written to disk o amd64/110599 amd64 [geli] geli attach to gmirror device hangs and cannot o kern/105368 [geli] geli passphrase prompt malfunctioning when moun o conf/102700 rc [geli] [patch] Add encrypted /tmp support to GELI/GBDE o kern/88601 geom [geli] geli cause kernel panic under heavy disk usage 13 problems total. Problem reports for tag 'geode': S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/128014 i386 [geode] [patch] AMD Geode CS5536 watchdog(9) not disab o i386/98215 i386 [geode] [regression] FreeBSD can no longer boot Geode 2 problems total. Problem reports for tag 'geom': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/135898 geom [geom] Severe filesystem corruption - large files or l o kern/134044 geom [geom] gmirror(8) overwrites fs with stale data from r o bin/132845 geom [geom] [patch] ggated(8) does not close files opened a o kern/131353 geom [geom] gjournal(8) kernel lock f kern/130941 gavin [panic] [cd9660] [geom] unexpected crash due to page f o kern/129674 geom [geom] gjournal root did not mount on boot o kern/129245 geom [geom] gcache is more suitable for suffix based provid f kern/126902 geom [geom] geom_label: kernel panic during install boot f kern/124294 geom [geom] gmirror(8) have inappropriate logic when workin o kern/123122 geom [geom] GEOM / gjournal kernel lock o kern/122738 geom [geom] gmirror list "losts consumers" after gmirror de f kern/122415 geom [geom] UFS labels are being constantly created and rem o kern/122067 geom [geom] [panic] Geom crashed during boot o kern/121559 geom [patch] [geom] geom label class allows to create inacc o kern/120091 geom [geom] [geli] [gjournal] geli does not prompt for pass o kern/120021 geom [geom] [panic] net-p2p/qbittorrent crashes system when o kern/119743 geom [geom] geom label for cds is keeped after dismount and o kern/115547 geom [geom] [patch] [request] let GEOM Eli get password fro o kern/114532 geom [geom] GEOM_MIRROR shows up in kldstat even if compile o kern/113837 geom [geom] unable to access 1024 sector size storage o kern/113419 geom [geom] geom fox multipathing not failing back o kern/107707 geom [geom] [patch] [request] add new class geom_xbox360 to o kern/104389 geom [geom] [patch] sys/geom/geom_dump.c doesn't encode XML o kern/98034 geom [geom] dereference of NULL pointer in acd_geom_detach o kern/94632 geom [geom] Kernel output resets input while GELI asks for o kern/90582 geom [geom] [panic] Restore cause panic string (ffs_blkfree o kern/89546 geom [geom] GEOM error o kern/84556 geom [geom] [panic] GBDE-encrypted swap causes panic at shu o kern/78114 phk [geom] [patch] Solaris/x86 label structures for GEOM ( 29 problems total. Problem reports for tag 'gif': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/127815 net [gif] [patch] if_gif does not set vlan attributes from p kern/125003 hrs [gif] incorrect EtherIP header format. o kern/121642 bz [ipsec] [gif]: When using IPSec, tcpdump shows non-dec o kern/121443 net [gif] [lor] icmp6_input/nd6_lookup f kern/108197 jinmei [panic] [gif] [ip6] if_delmulti reference counting pan o conf/97014 [gif] gifconfig_gif? in rc.conf does not recognize IPv o conf/96094 [gif] startup scripts do not configure gif interfaces o kern/95532 [gif] if_gif has artificial limitations 8 problems total. Problem reports for tag 'gjournal': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/127420 fs [gjournal] [panic] Journal overflow on gmirrored gjour o kern/124973 geom [gjournal] [patch] boot order affects geom_journal con o kern/123962 geom [panic] [gjournal] gjournal (455Gb data, 8Gb journal), o kern/120091 geom [geom] [geli] [gjournal] geli does not prompt for pass 4 problems total. Problem reports for tag 'glxsb': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/132622 philip [glxsb] [patch] glxsb(4) performs badly with ipsec 1 problem total. Problem reports for tag 'gmirror': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/134922 geom [gmirror] [panic] kernel panic when use fdisk on disk f kern/132242 geom [gmirror] gmirror.ko fails to fully initialize f kern/128276 geom [gmirror] machine lock up when gmirror module is used o kern/123630 geom [patch] [gmirror] gmirror doesnt allow the original dr o kern/121364 geom [gmirror] Removing all providers create a "zombie" mir o kern/113957 geom [gmirror] gmirror is intermittently reporting a degrad o kern/113885 geom [gmirror] [patch] improved gmirror balance algorithm 7 problems total. Problem reports for tag 'gre': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/135948 pf [pf] [gre] pf not natting gre protocol o kern/125239 net [gre] kernel crash when using gre f kern/122065 bz [ipsec] [gre] gre over ipsec not working o kern/114714 thompsa [gre] [patch] gre(4) is not MPSAFE and does not suppor o conf/111557 [gre] link1 flag doesn't work as intended when specifi p kern/85320 gonzo [gre] [patch] possible depletion of kernel stack in ip s kern/47813 [gre] pseudo-device gre(4) doesn't appear to work with 7 problems total. Problem reports for tag 'gssapi': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/134010 [gssapi][patch] Buffer overflow and use-after-free in 1 problem total. Problem reports for tag 'handbook': S Tracker Resp. Description -------------------------------------------------------------------------------- o docs/138269 blackend [patch] [Handbook] add a section about installing a ra o docs/137762 doc [handbook] proposed: mention "make delete-old" in sec o docs/136712 doc [handbook] [patch] draft new section on gmirror per pa o docs/136666 doc [handbook] Configure serial port for remote kernel deb o docs/132718 doc [handbook] Information about adding a new mirror is ou o docs/132113 doc [handbook] Update handbook jails creation o docs/121585 doc [handbook] Wrong multicast specification 7 problems total. Problem reports for tag 'headers': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137443 [headers] Including /usr/include/rpc/xdr.h fails with o kern/136386 [headers] [request] Can the following bluez macros be o kern/136216 [headers] Missing prototype declaration for setfib() o o kern/127623 [headers] header definition for cftime is missing. o kern/126076 [headers] POLL_ERR and POLL_HUP are defined identicall o kern/117510 [headers] [patch] sys/cdefs.h lacks support for PCC o kern/113256 [headers] _limits.h for some CPU has wrong definitions o kern/112938 [headers] [patch] utmp.h is too limiting for modern sy o bin/106355 [headers] macros in stdio.h non-portable (e.g., C++ :: o stand/104743 standards [headers] [patch] Wrong values for _POSIX_ minimal lim o kern/103022 cperciva [headers] /usr/include/crypto/rijndael.h is wrong o stand/96016 standards [headers] clock_getres et al should be in o kern/93705 standards [headers] [patch] ENODATA and EGREGIOUS (for glibc com o stand/92362 standards [headers] [patch] Missing SIGPOLL in kernel headers o kern/84981 [headers] [patch] header protection for -interfac a kern/122565 bz [ipsec] [ip6] Possible memory overwrite for IPv6 IPsec s conf/121812 [ip6] [request] ipv6_gateway_enable incorrectly disabl f kern/119516 net [ip6] [panic] _mtx_lock_sleep: recursed on non-recursi o kern/118880 bz [ip6] IP_RECVDSTADDR & IP_SENDSRCADDR not implemented o docs/114371 doc [patch] [ip6] rtadvd.con(5) should show how to adverti a kern/113842 bz [ip6] PF_INET6 proto domain state can't be cleared wit f kern/108197 jinmei [panic] [gif] [ip6] if_delmulti reference counting pan o kern/100219 bz [ip6] IPV6_PKTOPTIONS and possible mbuf exhaustion. o kern/83778 [ip6] [patch] JPv6 cannot use Jumbo Frames o kern/77341 net [ip6] problems with IPV6 implementation 19 problems total. Problem reports for tag 'ipf': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/123796 net [ipf] FreeBSD 6.1+VPN+ipnat+ipf: port mapping does not o kern/106438 net [ipf] ipfilter: keep state does not seem to allow repl o kern/101948 net [ipf] [panic] Kernel Panic Trap No 12 Page Fault - cau o kern/98978 net [ipf] [patch] ipfilter drops OOW packets under 6.1-Rel s kern/91777 net [ipf] [patch] wrong behaviour with skip rule inside an o kern/87521 net [ipf] [panic] using ipfilter "auth" keyword leads to k o kern/86103 net [ipf] Illegal NAT Traversal in IPFilter o kern/79895 net [ipf] 5.4-RC2 breaks ipfilter NAT when using netgraph o kern/78090 net [ipf] ipf filtering on bridged packets doesn't work if o kern/77273 net [ipf] ipfilter breaks ipv6 statefull filtering on 5.3 s kern/77195 net [ipf] [patch] ipfilter ioctl SIOCGNATL does not match o kern/70904 net [ipf] ipfilter ipnat problem with h323 proxy support o kern/34665 net [ipf] [hang] ipfilter rcmd proxy "hangs". o kern/27474 net [ipf] [ppp] Interactive use of user PPP and ipfilter c 14 problems total. Problem reports for tag 'ipfilter': S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/138177 gavin [ipfilter] FreeBSD crashing repeatedly in ip_nat.c:257 1 problem total. Problem reports for tag 'ipfw': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137346 ipfw [ipfw] ipfw nat redirect_proto is broken o kern/137232 ipfw [ipfw] parser troubles o kern/136695 ipfw [ipfw] [patch] fwd reached after skipto in dynamic rul o kern/135476 ipfw [ipfw] IPFW table breaks after adding a large number o o kern/132774 rwatson [ipfw] IPFW with uid/gid/jail rules may lead to lockup o kern/132553 ipfw [ipfw] ipfw doesn't understand ftp-data port o kern/131817 ipfw [ipfw] blocks layer2 packets that should not be blocke o kern/131601 ipfw [ipfw] [panic] 7-STABLE panic in nat_finalise (tcp=0) o kern/131558 ipfw [ipfw] Inconsistent "via" ipfw behavior o kern/130109 net [ipfw] Can not set fib for packets originated from loc o kern/129103 ipfw [ipfw] IPFW check state does not work =( o kern/129093 ipfw [ipfw] ipfw nat must not drop packets o kern/129036 ipfw [ipfw] 'ipfw fwd' does not change outgoing interface n o kern/128260 ipfw [ipfw] [patch] ipfw_divert damages IPv6 packets o kern/127230 ipfw [ipfw] [patch] Feature request to add UID and/or GID l o kern/127209 ipfw [ipfw] IPFW table become corrupted after many changes o bin/125370 ipfw [ipfw] [patch] increase a line buffer limit a kern/123358 [ipfw] ipfw add 1000 allow IP from any to any doesn't o kern/122963 ipfw [ipfw] tcpdump does not show packets redirected by 'ip o kern/122109 piso [ipfw] ipfw nat traceroute problem o bin/121424 doc [patch] [ipfw] Rectify ambiguous English in manual o kern/121122 ipfw [ipfw] [patch] add support to ToS IP PRECEDENCE fields o kern/118993 ipfw [ipfw] page fault - probably it's a locking problem o kern/117234 ipfw [ipfw] [patch] ipfw send_pkt() and ipfw_tick() don't s o kern/116009 ipfw [ipfw] [patch] Ignore errors when loading ruleset from p kern/115755 ipfw [ipfw] [patch] unify message and add a rule number whe p kern/113388 ipfw [ipfw] [patch] Addition actions with rules within spec o kern/112708 ipfw [ipfw] ipfw is seems to be broken to limit number of c o kern/112561 ipfw [ipfw] ipfw fwd does not work with some TCP packets o kern/107305 ipfw [ipfw] ipfw fwd doesn't seem to work o kern/105330 ipfw [ipfw] [patch] ipfw (dummynet) does not allow to set q o kern/104682 ipfw [ipfw] [patch] Some minor language consistency fixes a o kern/103454 ipfw [ipfw] [patch] [request] add a facility to modify DF b o kern/103328 ipfw [ipfw] [request] sugestions about ipfw table o kern/102471 ipfw [ipfw] [patch] add tos and dscp support o kern/98831 ipfw [ipfw] ipfw has UDP hickups o kern/97951 ipfw [ipfw] [patch] ipfw does not tie interface details to o kern/97504 ipfw [ipfw] IPFW Rules bug o kern/95084 ipfw [ipfw] [regression] [patch] IPFW2 ignores "recv/xmit/v o kern/93300 ipfw [ipfw] ipfw pipe lost packets o kern/91847 ipfw [ipfw] ipfw with vlanX as the device o kern/87032 ipfw [ipfw] [patch] ipfw ioctl interface implementation o kern/86957 ipfw [ipfw] [patch] ipfw mac logging o kern/82724 ipfw [ipfw] [patch] [request] Add setnexthop and defaultrou s kern/80642 ipfw [ipfw] [patch] ipfw small patch - new RULE OPTION o kern/74104 ipfw [ipfw] ipfw2/1 conflict not detected or reported, manp o kern/73910 ipfw [ipfw] serious bug on forwarding of packets after NAT o kern/72987 ipfw [ipfw] ipfw/dummynet pipe/queue 'queue [BYTES]KBytes ( o kern/71366 ipfw [ipfw] "ipfw fwd" sometimes rewrites destination mac a o kern/69963 ipfw [ipfw] install_state warning about already existing en o kern/62042 luigi [ipfw] ipfw can't no more reject icmp (icmptypes 8) o kern/60719 ipfw [ipfw] Headerless fragments generate cryptic error mes o kern/56031 luigi [ipfw] ipfw hangs on every invocation o kern/55984 ipfw [ipfw] [patch] time based firewalling support for ipfw s kern/51341 remko [ipfw] [patch] ipfw rule 'deny icmp from any to any ic o kern/51274 ipfw [ipfw] [patch] ipfw2 create dynamic rules with parent o kern/48172 ipfw [ipfw] [patch] ipfw does not log size and flags o kern/46159 ipfw [ipfw] [patch] [request] ipfw dynamic rules lifetime f a kern/26534 ipfw [ipfw] Add an option to ipfw to log gid/uid of who cau 59 problems total. Problem reports for tag 'ipl': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/132554 net [ipl] There is no ippool start script/ipfilter magic t o kern/121534 darrenr [ipl] [nat] FreeBSD Release 6.3 Kernel Trap 12: 2 problems total. Problem reports for tag 'ipmi': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/130512 [ipmi] [patch] Various mistakes in IPMI watchdog handl o kern/125389 [ipmi] [bce] IPMI problem with bce o kern/123904 [ipmi] ipmi(4) reports negative temperature values on f kern/122252 net [ipmi] [bge] IPMI problem with BCM5704 (does not work o i386/105175 i386 [ipmi] ipmi acpi trouble on supermicro server a kern/103041 linimon [ipmi] unloading ipmi panics Dell PE 2850, ipmi doesn' o kern/79143 [ipmi] Broadcom NIC driver do not work for IPMI 7 problems total. Problem reports for tag 'ipnat': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/127233 darrenr [ipnat]: ipnat + ipfilter source routing not handling o kern/115239 net [ipnat] panic with 'kmem_map too small' using ipnat o kern/91908 darrenr [ipnat] loading ipl.ko to the kernel compiled with opt 3 problems total. Problem reports for tag 'ips': S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/121903 i386 [ips] [boot] can't boot on IBM x235 ServeRaid 6M [regr o kern/93750 [ips] Boot hangs on ips0: resetting adapter, this may o kern/92164 scottl [ips] [lor] SCSI target mode LOR o kern/57832 scottl [ips] softdep_deallocate_dependencies: dangling deps 4 problems total. Problem reports for tag 'ipsec': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137309 bz [ipsec] sequence number in a SADB_X_SPDGET response is o kern/133060 net [ipsec] [pfsync] [panic] Kernel panic with ipsec + pfs o kern/132277 net [crypto] [ipsec] poor performance using cryptodevice f o kern/129517 net [ipsec] [panic] double fault / stack overflow s conf/128030 bz [ipsec] [request] Isn't it time to enable IPsec in GEN p bin/126468 bz [ipsec] some ipsec configurations make FreeBSD panic o kern/123793 bz [ipsec] [patch] KAME IPSEC does not pass processed pac o kern/123587 bz [ipsec] IPCOMP broken in IPSEC (FAST_IPSEC for RELENG_ o kern/123463 net [ipsec] [panic] repeatable crash related to ipsec-tool f kern/123066 vanhu [ipsec] [panic] kernel trap with ipsec a kern/122565 bz [ipsec] [ip6] Possible memory overwrite for IPv6 IPsec o kern/122563 bz [ipsec] KEY_FREESAV() in FreeBSD-Release7.0 o kern/122562 bz [ipsec] IPsec AH tunneled packet mis handling? f kern/122065 bz [ipsec] [gre] gre over ipsec not working o kern/121642 bz [ipsec] [gif]: When using IPSec, tcpdump shows non-dec o kern/121373 bz [ipsec] New IPSEC & IPV6 & AH+ESP Broken o kern/112722 net [ipsec] [udp] IP v4 udp fragmented packet reject f kern/110959 bz [ipsec] Filtering incoming packets with enc0 does not o kern/103135 net [ipsec] ipsec with ipfw divert (not NAT) encodes a pac a kern/95307 vanhu [ipsec] Panic (race condition?) in ipsec_process_done o kern/94273 gnn [ipsec] [patch] IPIP decapsulation problem in FAST_IPS o kern/88336 vanhu [ipsec] [patch] setkey(8) -D fails to report all SAs f kern/39233 bz [ipsec]: NonConforming IPsec implementation from FreeB 23 problems total. Problem reports for tag 'ipw': S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/131087 net [ipw] [panic] ipw / iwi - no sent/received packets; iw o kern/126339 net [ipw] ipw driver drops the connection o kern/118534 [ipw] bitrate and power wifi can't change/set ipw Inte o kern/110140 net [ipw] ipw fails under load o kern/84861 thompsa [ipw] [patch] still can't get working ipw(4) with adho a kern/82926 thompsa [ipw] ipw(4) doesn't seem to do WPA, also leaves entri 6 problems total. Problem reports for tag 'ipx': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/83368 [ipx] [patch] incorrect handling of malloc failures wi 1 problem total. Problem reports for tag 'irq': S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/122148 i386 [irq] interrupt storm on 7.0 [regression] o kern/119696 [irq] [ral] ral device causes massive interrupt storm o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o kern/113138 [irq] interrupt storm on 6.x kernels on an MS-1029 (AM o kern/103532 [irq] Interrupt storm in 6.2-PRERELEASE [regression] o kern/74786 [irq] [patch] Smartlink Modem causes interrupt storm o 7 problems total. Problem reports for tag 'isa': S Tracker Resp. Description -------------------------------------------------------------------------------- s kern/37441 davidxu [isa] [patch] ISA PNP parse problem 1 problem total. Problem reports for tag 'iscsi': S Tracker Resp. Description -------------------------------------------------------------------------------- o sparc/121676 scsi [iscsi] iscontrol do not connect iscsi-target on sparc 1 problem total. Problem reports for tag 'iso9660': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/95222 fs [iso9660] File sections on ISO9660 level 3 CDs ignored 1 problem total. Problem reports for tag 'isp': S Tracker Resp. Description -------------------------------------------------------------------------------- o amd64/132394 scsi [isp] - bad underruns with QLogic qla2300 and amd64 o kern/127927 scsi [isp] isp(4) target driver crashes kernel when set up o kern/126866 scsi [isp] [panic] kernel panic on card initialization 3 problems total. Problem reports for tag 'iwi': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/131153 net [iwi] iwi doesn't see a wireless network o kern/127826 net [iwi] iwi0 driver has reduced performance and connecti o kern/124767 net [iwi] Wireless connection using iwi0 driver (Intel 220 o kern/123559 net [iwi] iwi periodically disassociates/associates [regre a kern/122597 thompsa [iwi] Intel iwi fails after 3 - 4 hours of use"firmwar o kern/116185 net [iwi] if_iwi driver leads system to reboot o conf/113117 linimon [iwi] if_iwi isn't present in today's CURRENT/AMD64 7 problems total. Problem reports for tag 'iwn': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/132625 net [iwn] iwn drivers don't support setting country 1 problem total. Problem reports for tag 'ixgbe': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/128577 [ixgbe] [patch] Send queue stall in ixgbe driver when o kern/127834 net [ixgbe] [patch] wrong error counting o kern/126688 net [ixgbe] [patch] 1.4.7 ixgbe driver panic with 4GB and 3 problems total. Problem reports for tag 'jail': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/133265 jail [jail] is there a solution how to run nfs client in ja f kern/132092 bz [jail] jail can listen on *:port when jail_socket_unix p kern/126368 bz [jail] Running ktrace/kdump in jail leads to stale jai o conf/124248 rc [jail] [patch] add support for nice value for rc.d/jai o kern/119842 jail [smbfs] [jail] "Bad address" with smbfs inside a jail p kern/114325 bz [jail] SIOCGIFADDR ioctl behaves incorrectly inside ja p conf/103489 bz [rc.d] [named] [jail] [patch] named_chroot_autoupdate p kern/103464 bz [dns] [jail] jail networking failures to 127.0.0.1 onl o bin/99566 jail [jail] [patch] fstat(1) according to specified jid f kern/89989 bz [jail] [patch] Add option -I (ASCII 73) PID to specif o bin/78763 pjd [patch] [jail] Added jail support to ps(1) f kern/74314 bz [resolver] [jail] DNS resolver broken under certain ja p kern/68189 bz [arp] [jail] [patch] arp -a discloses non-jail interfa o kern/48471 pjd [jail] [patch] [request] private IPC for every jail o bin/32828 jail [jail] w(1) incorrectly handles stale utmp slots with s kern/13997 rwatson [jail] [patch] RLIMIT_NPROC works unadequately for jai 16 problems total. Problem reports for tag 'joy': S Tracker Resp. Description -------------------------------------------------------------------------------- s kern/64588 [joy] [request] Extend joystick driver architecture to 1 problem total. Problem reports for tag 'kbdmux': S Tracker Resp. Description -------------------------------------------------------------------------------- p kern/127446 emax [kbdmux] [patch] fix race in sys/dev/kbdmux/kbdmux.c 1 problem total. Problem reports for tag 'kerberos': S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/45830 [kerberos] KDC has problems when listening to IPv6 and 1 problem total. Problem reports for tag 'kernel': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/138125 [kernel] [diff] bad style in kern_clock.c (confusing a o kern/138117 [kernel] [panic] spin lock held too long o kern/137310 [kernel] [panic] reproducable kernel panic: page fault o kern/137213 [kernel] [patch] eliminate wrong usages of (S)LIST_HEA o kern/133985 [kernel] kern.cp_time returns all zeros and stops incr o kern/132104 [kernel] [patch] kenv(1) buffer overflow o kern/131597 [kernel] c++ exceptions very slow on FreeBSD 7.1/amd64 o kern/130261 [kernel] [panic] kernel panic in/below sys_pipe.c:knli o kern/129164 [kernel] Wrong priority value for normal processes o kern/124564 [kernel] [patch] add CPUID bits to ident phenom proces o amd64/124134 amd64 [kernel] The kernel doesn't follow the calling convent o kern/121073 [kernel] [patch] run chroot as an unprivileged user o kern/119358 [kernel] [patch] SYSINIT_VERBOSE can be more verbose o kern/119202 [kernel] [patch] Add generic support for disabling dev o kern/114492 [kernel] [patch] device_attach() doesn't unset devclas p kern/112554 silby [kernel] [patch] unp_gc is overly agressive and remove o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o kern/110249 kmacy [kernel] [regression] [patch] setsockopt() error regre o kern/98460 [kernel] [patch] fpu_clean_state() cannot be disabled o kern/97000 [kernel] [patch] bogus "All threads purged from ugen0. o kern/96429 [kernel] [patch] kern_linker.c hardcodes "/boot/kernel o kern/93887 [kernel] cpu_spinwait calls missing in subr_smp.c o kern/93331 [kernel] [patch] broken asm in kernel o kern/92023 [kernel] 'options DEVICE_POLLING' makes loadavg wrong o kern/91414 emaste [kernel] [patch] Polling for devices other than NICs o kern/87990 [kernel] [patch] SMP Race Condition in kdb_enter/kdb_e o kern/86290 jeff [kernel] [patch] minor optimizations + cleanup to vrel o kern/85657 [kernel] [patch] capture and expose per-CPU time accou o kern/85651 [kernel] [patch] debugging code to show entries in eve o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o kern/81588 phk [kernel] [patch] Devices with SI_CHEAPCLONE flag don't s kern/79339 [kernel] [patch] Kernel time code sync with improvemen s kern/68317 [kernel] [patch] on soft (clean) reboots clean dmesg o o kern/64196 [kernel] [patch] remove the arbitrary MAXSHELLCMDLEN s kern/61497 ups [kernel] [patch] __elfN(map_insert) bug o kern/60550 silby [kernel] [patch] hitting process limits produces sub-o o kern/58803 [kernel] [patch] kern.argmax isn't changeable even at o kern/54604 pjd [kernel] [patch] make 'ps -e' procfs-independent o kern/53447 alfred [kernel] poll(2) semantics differ from susV3/POSIX s kern/50827 [kernel] [patch] [request] add sane record locking o kern/50526 [kernel] [patch] update to #! line termination o kern/43577 [kernel] [patch] [request] new kernel option SHUTDOWN_ o kern/42274 [kernel] [patch] Convert defined variable into tuneabl o kern/40369 [kernel] [patch] rman_reserve_resource - when "count > o kern/37555 [kernel] [patch] vnode flags appear to be changed in n o kern/29355 mux [kernel] [patch] add lchflags support 46 problems total. Problem reports for tag 'keyboard': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa o kern/135164 [keyboard] UK currency key inactive o kern/128172 gavin [keyboard] Remote Console (Keyboard) of AOC-SIM1U+ not o kern/125675 [keyboard] [patch] Add hw.syscons.kbd_suspend new sysc o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o kern/118021 randi [keyboard] 7.0 Beta 2 sysinstall keyboard emits contro o kern/115253 [keyboard] Wireless keyboard not working at boot o kern/103498 [keyboard] momentary system "pauses" when switching VT o kern/102784 [keyboard] system crashes when using hardware function o conf/100782 [keyboard] [patch] Default keymap to support ALT+Left, o usb/99538 usb [keyboard] while using USB keyboard default params of o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar s usb/95348 usb [keyboard] USB keyboard unplug causes noise on screen o i386/93793 i386 [keyboard] Keyboard stops working after a shutdown -p o kern/80694 [keyboard] [patch] atkbd looped on Acer TravelMate 270 o kern/77091 [keyboard] Keyboard quits working under X with MAXCONS o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans o kern/41215 [keyboard] console revert back to kbd0 (AT) after KVM o kern/33965 [keyboard] [patch] programmable keys of the keyboard ( 20 problems total. Problem reports for tag 'kqueue': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137246 [kqueue] kevents not generated for file writes through o i386/129550 i386 [pae] [kqueue] crash with PAE kernel o kern/125356 [kqueue] [panic] Repeated panic in kqueue_close from k o kern/116770 [kqueue] Unfortunate fifo/O_NONBLOCK/kevent interactio o kern/110199 jmg [kqueue] [patch] kqueue_register doesn't update the kn o kern/89775 [kqueue] [hang] kevent hangs on second wait for /dev/d o kern/64178 jmg [kqueue] [patch] kqueue does not work with bpf when us o kern/43905 jmg [kqueue] [patch] kqueues: EV_SET(kevp++, ...) is non-i 8 problems total. Problem reports for tag 'kthread': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/136159 [kthread] [patch] tsleep with PDROP in kthread_suspend 1 problem total. Problem reports for tag 'ktr': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/108100 [ktr] sysctl debug.ktr.alq_enable=1 results in reboot 1 problem total. Problem reports for tag 'lagg': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137089 net [lagg] lagg falsely triggers IPv6 duplicate address de o kern/132715 jfv [lagg] [panic] Panic when creating vlan's on lagg inte f kern/125442 gonzo [carp] [lagg] CARP combined with LAGG causes system pa o kern/123279 thompsa [lagg] order of operations dependancy in bringing up l o kern/122954 net [lagg] IPv6 EUI64 incorrectly chosen for lagg devices o kern/122780 net [lagg] tcpdump on lagg interface during high pps wedge 6 problems total. Problem reports for tag 'libalias': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/115526 piso [libalias] libalias doesn't free memory o kern/105579 piso [libalias] dcc resume over natd in 6.x o kern/74450 [libalias] [patch] enable libalias/natd to create skip o kern/54891 [libalias] [patch] libalias(3)/natd(8) and exporting c o kern/50310 [libalias] [patch] natd / libalias fix to allow dcc re o kern/41307 [libalias] [patch] logging of links lifecycle (add/del 6 problems total. Problem reports for tag 'libarchive': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/121556 kientzle [libarchive] ISO9660 decompression extension unsupport 1 problem total. Problem reports for tag 'libc': S Tracker Resp. Description -------------------------------------------------------------------------------- o amd64/138318 amd64 [libc] [patch] select(2) in i386 emulation can overwri o kern/137819 [libc] [patch] fpurge(3) violates stdio invariant o kern/137307 [libc] [patch] Enhance strptime(3) to support %U and % o kern/136669 [libc] [patch] setmode(3) should always set errno on e o bin/135017 [libc] bind exiting (due to assertion failure). resolv o kern/134513 [libc] [patch] fts(3) FTS_NOCHDIR misbehavior with emp o kern/134391 [libc] dladdr(3) does effectively not work on main pro o kern/133776 [libc] [patch] snprintf(3) and vsnprintf(3) do not pro o kern/133246 [libc] dlclose(3) gives segfault when called in the fi o kern/131623 [libc] gethostbyname(2): output of gethostbyname_r doe f kern/131602 gavin [libc] sendfile(2) sends corrupted data o kern/130749 [libc] [patch] nscache.c/nscachedcli.c - return error o kern/130504 [libc] Serious bug in regular expression library (rege o kern/129172 [libc] signals are not delivered always o kern/128933 [libc] realpath(3) does not follow SUS specification f o bin/127872 [libc] [patch] Rewinding on unionfs and Subversion o kern/126289 [libc] select(2) apparently consumes cpu when it shoul o kern/125382 [libc] open(2): ENOSPC may be misleading, consider EIO p kern/124334 mtm [libc] [patch] lib/libc/glob.c fails to compile under o kern/124160 net [libc] connect(2) function loops indefinitely o kern/123095 [libc] sendfile(2): Suspected sendfile data corruption f kern/122061 [libc] dlsym(3) is very slow when a symbol cannot be f o kern/121656 [libc] [patch] telldir(3) issues o kern/120128 attilio [libc] [patch] __getcwd erroneously returning ENOENT o bin/116074 [libc] fnmatch() does not handle FNM_PERIOD correctly o kern/115631 [libc] [patch] [request] make dlclose(3) atexit-aware o kern/115196 bushman [libc] [patch] [request] Implement getgroupmembership( s kern/114578 [libc] wide character printing using swprintf(dst, n, o bin/113825 [patch] [libc] [ggated] Fix -STABLE build with -fno-st o bin/113398 [libc] [patch] initgroups fails rather than truncates o amd64/112222 amd64 [libc] 32-bit libc incorrectly converts some FP number o bin/109478 [libc] [patch] adopt reentrant syslog functions from O o bin/108118 [libc] files should not cache their EOF status p stand/107561 standards [libc] [patch] [request] Missing SUS function tcgetsid o kern/103312 [libc] dlsym(NULL,) doesn't work properly o bin/102515 [libc] fsck_ufs crashes if no console at all o kern/100709 net [libc] getaddrinfo(3) should return TTL info o bin/99800 [libc] [patch] Add support for profiling multiple exec a bin/96840 [libc] [patch] getgrent() does not return large groups o kern/95239 [libc] [patch] nftw(3) returns EINVAL for large values o bin/95002 [libc] hash db source code has a bug which prevents us a kern/94827 [libc] mmap with given (void *addr) may lock memory-ma o stand/94729 standards [libc] fcntl() throws undocumented ENOTTY o kern/94519 [libc] [patch] Add UF_HIDDEN file flag; map it to Wind o kern/93197 [libc] strptime(3) succeeds on formats it should fail o kern/93093 [libc] xdr_string might call strlen(3) on NULL o kern/92880 net [libc] [patch] almost rewritten inet_network(3) functi o kern/90580 [libc] wordexp(3) fails to check for EINTR o kern/87729 phk [libc] [patch] most calls to malloc(3) generate warnin o threa/83914 threads [libc] popen() doesn't work in static threaded program o kern/82980 [libc] realpath(3) treats regular files as directories p kern/81987 matteo [libc] [patch] memory leaks in libc/rpc s kern/79048 [libc] realloc() copies data even when the size of all o kern/76485 [libc] sched_getparam(2) returns weird priority number o kern/76398 [libc] stdio can lose data in the presence of signals o kern/75855 adrian [libc] getpwent(3) functions on 5.3 with large passwor s bin/75767 [libc] [request] "fdclose" function in libc o kern/69826 [libc] 16th group has no effect when accesing file on o kern/69825 [libc] 1st group supplied to setgroups() does not take o kern/68690 [libc] write(2) returns wrong value when EFAULT s kern/64875 standards [libc] [patch] [request] add a system call: fdatasync( s kern/59739 [libc] rmdir(2) and mkdir(2) both return EISDIR for ar p kern/58687 deischen [libc] [patch] gethostbyname(3) leaks kqueue file desc s kern/56720 [libc] [request] UNICODE support in Resolver o kern/46866 [libc] NIS-based getpwent(3) falsely returns NULL o kern/45293 [libc] kevent denies to observe /dev/tty o kern/42956 [libc] dlclose gives "invalid shared object handle" wh o kern/42429 [libc] [patch] hash_action called with HASH_DELETE doe o kern/42422 [libc] [patch] dbm_delete returns -1 instead of 1 when o kern/36902 [libc] [patch] proposed new format code %N for strftim o kern/31981 [libc] [patch] (mis)feature in getnetent parsing -- co o kern/31906 [libc] No method available to unwind atexit(3) stack w o kern/31647 net [libc] socket calls can return undocumented EINVAL o kern/30186 net [libc] getaddrinfo(3) does not handle incorrect servna o kern/27835 standards [libc] execve() doesn't conform to execve(2) spec in s o bin/26486 remko [libc] [patch] setnetgrent hangs when netgroup contain o kern/25886 [libc] cgetset(3) doesn't get cleared when switching d 77 problems total. Problem reports for tag 'libc_r': S Tracker Resp. Description -------------------------------------------------------------------------------- s threa/32295 threads [libc_r] [patch] pthread(3) dont dequeue signals 1 problem total. Problem reports for tag 'libcrypt': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/120075 [libcrypt] Incompatible EOS of key in crypt(3) o kern/75934 [libcrypt] [patch] missing blowfish functionality in p 2 problems total. Problem reports for tag 'libcrypto': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/117709 simon [libcrypto] [patch] Base openssl does not define OPENS 1 problem total. Problem reports for tag 'libdialog': S Tracker Resp. Description -------------------------------------------------------------------------------- o gnu/48638 [libdialog] [patch] some bug fixes in libdialog 1 problem total. Problem reports for tag 'libdisk': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/113849 [libdisk] [patch] Correction of Sanitize_Bios_Geom for o kern/97164 [libdisk] libdisk's Open_Disk() crashes o kern/42217 [libdisk] libdisk segfaults with 1024 bytes/sector dis o kern/36916 randi [libdisk] [patch] DOS active partition flag lost in li o kern/31201 [libdisk] [patch] add free_space(chunk) to libdisk o kern/24435 [libdisk] [patch] changing slice type causes Auto-part 6 problems total. Problem reports for tag 'libedit': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/117348 [libedit] Loading history file sometimes fails in libe 1 problem total. Problem reports for tag 'libelf': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/134502 [libelf] why 32 bit app not use /libexec/ld-elf32.so.1 1 problem total. Problem reports for tag 'libexec': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/134225 [libexec] [patch] Reduce disk write load from save-ent o kern/110017 [libexec] [patch] serial port console output garbled o bin/95339 [libexec] [patch] rtld is thread-unsafe. fixes for dlo o kern/92412 [libexec] [patch] rpc.rstatd reports bogus packets/per o kern/45729 [libexec] [patch] make rbootd transfer the default fil 5 problems total. Problem reports for tag 'libfetch': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/133491 [libfetch] [patch] Digest HTTP authentication support o bin/127280 des [libfetch] [patch] fetch/libfetch RFC 1738 %2F escaped o bin/125350 des [libfetch] [patch] src/lib/libfetch add support for de o kern/116005 des [libfetch] libfetch accepts invalid URLs o kern/98873 des [libfetch] allow fetch(3) to force using of ipv4 or ip 5 problems total. Problem reports for tag 'libgcc': S Tracker Resp. Description -------------------------------------------------------------------------------- o gnu/128262 [libgcc] [patch] contrib/gcclibs/libcpp/errors.c: -Wmi 1 problem total. Problem reports for tag 'libgssapi': S Tracker Resp. Description -------------------------------------------------------------------------------- p kern/113266 harti [libgssapi] [patch] Missing handling of mech_type in g 1 problem total. Problem reports for tag 'libi386': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/134590 [libi386] [gpt] [patch] Bootloader support for hybrid 1 problem total. Problem reports for tag 'libiconv': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/134249 [libiconv] [patch] ignore case for character set names s kern/76520 [libiconv] [patch] Add new kernel-side libiconv conver 2 problems total. Problem reports for tag 'libkrb': S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/29062 markm [libkrb] krb4 and krb5 multiply defined version symbol 1 problem total. Problem reports for tag 'libkvm': S Tracker Resp. Description -------------------------------------------------------------------------------- a kern/137890 [libkvm] [patch] ps segfaults with -ax when inspecting o kern/120872 [libkvm] [patch] fstat exit on signal 11 o kern/95405 [libkvm] libkvm does not support /dev/fwmem0.0 in Free o kern/42386 [libkvm] [patch] cleaning code from warnings in libkvm 4 problems total. Problem reports for tag 'libm': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/133583 [libm] fma(3) does not respect rounding mode using ext o stand/83845 standards [libm] [patch] add log2() and log2f() support for libm 2 problems total. Problem reports for tag 'libmap': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/78646 [libmap] [patch] libmap should canonicalize pathnames 1 problem total. Problem reports for tag 'libmd': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/112775 [libmd] [patch] libmd(3) bug for some zero-length file 1 problem total. Problem reports for tag 'libpam': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137586 des [libpam] Need to build pam_ssh module even it openssh p kern/117512 des [libpam] [patch] document .opieaccess for pam_opieacce o bin/115946 des [libpam] [patch] not thread-safe o kern/115164 des [libpam] [patch] [request] Add support for the account o kern/115162 des [libpam] [patch] [request] Add check for target user's o kern/109416 des [libpam] [patch] pam_group doesn't check login_group m o bin/105341 [libpam] [patch] [request] pam_krb5: Add minimum_uid/m o bin/93310 des [libpam] [patch] pam_unix ignores 'passwordtime' from o kern/91954 [libpam] [patch] Proposed enhancement for pam_krb5: "o o kern/76678 dfr [libpam] [patch] Allow pam_krb5 to authenticate no loc s kern/20333 des [libpam] ftp login fails on unix password when s/key a 11 problems total. Problem reports for tag 'libradius': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/103764 [libradius] [patch] libradius aborts server processing 1 problem total. Problem reports for tag 'librpcsvc': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/42387 [librpcsvc] [patch] cleaning code of librpcsvc from wa 1 problem total. Problem reports for tag 'libstand': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/93998 [libstand] [patch] panic in libstand when closing raw o kern/85650 [libstand] [patch] modifications to tftp-based PXE boo o kern/83424 [libstand] [patch] improper handling of malloc failure 3 problems total. Problem reports for tag 'libtacplus': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/80269 [libtacplus] [patch] libtacplus tac_get_av_value will 1 problem total. Problem reports for tag 'libusb': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker 1 problem total. Problem reports for tag 'libusbhid': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/101775 usb [usb67] [usb8] [libusbhid] [patch] possible error in r o kern/83451 [libusbhid] [patch] improper handling of malloc failur 2 problems total. Problem reports for tag 'libutil': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/84797 [libutil] [patch] State engine in the libutils propert s kern/38347 [libutil] [patch] [request] new library function abs2r o kern/35774 [libutil] logwtmp: Suboptimal auditing possibilities f 3 problems total. Problem reports for tag 'libvgl': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/83426 [libvgl] [patch] improper handling of malloc failures 1 problem total. Problem reports for tag 'libwrap': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/132705 net [libwrap] [patch] libwrap - infinite loop if hosts.all 1 problem total. Problem reports for tag 'libz': S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/96393 [libz] [patch] assembler implementations for libz on i 1 problem total. Problem reports for tag 'linprocfs': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/130724 emulation [linprocfs] [patch] cpuinfo in linprocfs is dated, cau o kern/99094 [linprocfs] panic: sleeping thread (Sleeping thread .. o kern/94528 [linprocfs] linprocfs /proc/memory reports wrong size o kern/56451 emulation [linprocfs] /compat/linux/proc/cpuinfo gives wrong CPU o kern/31048 des [linprocfs] /proc/meminfo cannot handle multiple swap 5 problems total. Problem reports for tag 'linux': S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/136229 emulation [linux] certain linux apps look for libraries using a p kern/134251 dchagin [linux] skype-2.0.0.72 broke with recent kernel change o kern/133144 [linux] linuxulator 2.6 crashes with nvidias libGL.so. o kern/129169 emulation [linux] [patch] Linux Emulation ENOTCONN error using n o kern/126232 emulation [linux] Linux ioctl TCGETS (0x5401) always fails o bin/120055 dchagin [linux] kdump(1) segfaults on freebsd6_mmap syscall p kern/102956 dchagin [linux] [patch] Add partial support for SO_PEERCRED in f kern/99068 [linux] [patch] Linux emulator crashed by java, when c o kern/97326 emulation [linux] file descriptor leakage in linux emulation o kern/86619 [linux] linux emulator interacts oddly with cp o kern/73777 emulation [linux] [patch] linux emulation: root dir special hand a kern/72920 emulation [linux]: path "prefixing" is not done on unix domain s o kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLINUXTHPN) confu o kern/29698 emulation [linux] [patch] linux ipcs doesn'work o kern/21463 emulation [linux] Linux compatability mode should not allow setu 15 problems total. Problem reports for tag 'lo': S Tracker Resp. Description -------------------------------------------------------------------------------- p kern/123568 gnn [lo] loopback interface error (don`t ask) o kern/112612 andre [lo] Traffic via additional lo(4) interface shows up o 2 problems total. Problem reports for tag 'loader': S Tracker Resp. Description -------------------------------------------------------------------------------- f i386/138211 gavin [loader] Boot fails on Intel X5550 o i386/127981 i386 [loader] Stack underflow preventing boot [regression] o kern/120127 [loader] Loading of gzip'd mfsroot from pxeboot(8) cau o i386/112635 i386 [hang] [loader] Hang during boot installation o kern/110995 kmacy [loader] [patch] loader wastes space worth symtab size o kern/96927 [loader] Loader(8) cause kernel death on "boot -a" [re f i386/93762 gavin [hang] [loader] Machine lockup at boot loader countdow o i386/85652 i386 [loader] [patch] deal with out-of-memory errors during o kern/73004 [loader] [patch] PXE loader malfunction in multiple PX o i386/62003 remko [loader] [patch] make /boot/loader "reboot" code same 10 problems total. Problem reports for tag 'locale': S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/137870 i18n [locale] en_DK needed f conf/109367 i18n [locale] UTF8 encoded locales and problem collating ac f conf/105100 ache [patch] [locale] no support for lv (latvian) locale f conf/91106 i18n [locale] date definitions in pl_PL locale are wrong 4 problems total. Problem reports for tag 'lpt': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/117973 [panic] [lpt] 7.0-BETA2: repeatable panic while printi o kern/108361 [lpt] lpt0: device busy with HP 710c parallel printer o kern/73744 [lpt] printing via cups causes "Interrupt storm" warni o kern/27403 [lpt] lpt driver doesn't handle flags anymore o kern/26562 [lpt] [patch] /dev/lpt0 returns EBUSY when attempting 5 problems total. Problem reports for tag 'mac': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137677 [mac] security.mac.bsdextended.firstmatch_enabled defa 1 problem total. Problem reports for tag 'make.conf': S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/114082 [make.conf] default CFLAGS have a blank at the end 1 problem total. Problem reports for tag 'makefile': S Tracker Resp. Description -------------------------------------------------------------------------------- o amd64/115581 amd64 [Makefile] [patch] -mfancy-math-387 has no effect 1 problem total. Problem reports for tag 'mbuf': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137145 [mbuf] [patch] Reference count computing isn't correct a kern/134355 [mbuf] comments for m_getm2 inconsistent with behaviou o kern/122743 net [mbuf] [panic] vm_page_unwire: invalid wire count: 0 3 problems total. Problem reports for tag 'mca': S Tracker Resp. Description -------------------------------------------------------------------------------- o ia64/113102 ia64 [MCA] Multiple records can have the same sequence numb 1 problem total. Problem reports for tag 'md': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/133170 [md] [panic] panic when detaching swap-backed md(4) di o conf/122968 [md] md swapfile multiplication after init 1 o kern/122288 [md] [patch] mdconfig(8) returning negative unit numbe o conf/118113 [md] mdconfig init script requires image to be on root o kern/81161 [md] Images mounted through mdconfig on a read-only fs p kern/80136 trasz [md] [reboot] mdconfig can reboot the system 6 problems total. Problem reports for tag 'mfi': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/124989 [mfi] mfi driver error - unexpected sense o kern/115133 scottl [mpt] [mfi] [patch] Patches to make mfi support LSI SA o kern/98091 scottl [mfi] [patch] Makefile style of mfi kernel module brok 3 problems total. Problem reports for tag 'mfs': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/52445 [mfs] panic when mounting floppy on MFS filesystem 1 problem total. Problem reports for tag 'minidump': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/118713 fs [minidump] [patch] Display media size required for a k 1 problem total. Problem reports for tag 'mk': S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/113110 i386 [mk] [patch] i686 is not an alias of pentiumpro on GCC 1 problem total. Problem reports for tag 'mly': S Tracker Resp. Description -------------------------------------------------------------------------------- s kern/57398 scsi [mly] Current fails to install on mly(4) based RAID di o i386/55603 [mly] unable to reboot when system runs from Mylex A35 2 problems total. Problem reports for tag 'mmcsd': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/134745 [mmcsd] [panic] mmcsd.ko produce kernel panic 1 problem total. Problem reports for tag 'modules': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/135485 [modules] [patch] During a shutdown, kernel modules sh o amd64/131314 amd64 [modules] [panic] large modules fail to load on amd64 o kern/122782 amd64 [modules] accf_http.ko kernel module is not loadable a amd64/117186 amd64 [modules] kldload Unsupported file type on STABLE amd6 o kern/114291 kmacy [RFE] [modules] [patch] add dynamic module references o kern/96346 [modules] [patch] disable build of modules that are al o kern/88659 ipfw [modules] ipfw and ip6fw do not work properly as modul s kern/83738 jkoshy [modules] kldload hwpmc.ko fails with 'link_elf: symbo o usb/80829 usb [modules] [panic] possible panic when loading USB-modu a kern/74809 [modules] [panic] smbfs panic if multiply mounted o kern/70401 darrenr [modules] Could not load ipl.ko when no INET6 in the k o kern/68076 [modules] Page fault when the sequence "kldunload ucom o misc/60503 [modules] small error in modules installation f kern/48976 gavin [modules] nwfs.ko oddity 14 problems total. Problem reports for tag 'mount': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/39329 [mount] '..' at mountpoint is subject to the permissio 1 problem total. Problem reports for tag 'mouse': S Tracker Resp. Description -------------------------------------------------------------------------------- s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o kern/89258 [mouse] synaptic touchpad support "worse" with hw.psm. o kern/89166 [mouse] jumpy mouse movement o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/86298 usb [mouse] Known good USB mouse won't work with correct s 5 problems total. Problem reports for tag 'mpt': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/134488 scsi [mpt] MPT SCSI driver probes max. 8 LUNs per device o kern/133919 [mpt] [panic] 7.1 panics after completing rebuild of m o kern/132206 scsi [mpt] system panics on boot when mirroring and 2nd dri o kern/130621 scsi [mpt] tranfer rate is inscrutable slow when use lsi213 o kern/130330 scottl [mpt] [panic] Panic and reboot machine MPT driver when o kern/128514 fs [zfs] [mpt] problems with ZFS and LSILogic SAS/SATA Ad f kern/128282 gavin [mpt] system failure on removing two drives o kern/127109 [mpt]: FreeBSD fails to boot except in safe mode o kern/122321 [mpt] Hitachi SCSI drive can't be written to o kern/120247 scsi [mpt] FreeBSD 6.3 and LSI Logic 1030 = only 3.300MB/s o kern/117688 [mpt] mpt disk timeout and hang o kern/115606 [mpt] [panic] Panic while using mpt controller o kern/115133 scottl [mpt] [mfi] [patch] Patches to make mfi support LSI SA o kern/96040 [mpt] LSI1030 mpt0: bullet missed in timeout 14 problems total. Problem reports for tag 'msdosfs': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/133174 fs [msdosfs] [patch] msdosfs must support utf-encoded int o kern/132237 fs [msdosfs] msdosfs has problems to read MSDOS Floppy o kern/130920 fs [msdosfs] cp(1) takes 100% CPU time while copying file o kern/123939 fs [msdosfs] corrupts new files f usb/123508 vwe [umass] [msdosfs] damaged files (mp3,txt , etc) on fla o bin/116980 fs [msdosfs] [patch] mount_msdosfs(8) resets some flags f p kern/116608 fs [msdosfs] [patch] msdosfs fails to check mount options o kern/111843 fs [msdosfs] Long Names of files are incorrectly created o kern/109024 fs [msdosfs] mount_msdosfs: msdosfs_iconv: Operation not o kern/109010 fs [msdosfs] can't mv directory within fat32 file system o kern/106632 trhodes [msdosfs] gimp destroys files on fat32 upon opening o kern/106255 trhodes [msdosfs] [patch]: correct setting of archive flag o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync o kern/93634 vwe [msdosfs] False access to renamed files/directories (c f kern/87368 bde [msdosfs] fat32 is very slow o kern/86587 fs [msdosfs] rm -r /PATH fails with lots of small files o kern/79441 trhodes [msdosfs] problem writing on mounted msdos-fs at /mnt p kern/70096 trhodes [msdosfs] [patch] full msdos file system causes corrup o kern/67326 rodrigc [msdosfs] crash after attempt to mount write protected o kern/62762 bde [msdosfs] Fsync for msdos fs does not sync entries o kern/45558 trhodes [msdosfs] mdconfig and msdosfs make fs writes hang a kern/21807 trhodes [msdosfs] [patch] Make System attribute correspond to o kern/15838 trhodes [msdosfs] [patch] Conversion tables in msdosfs_conv.c 23 problems total. Problem reports for tag 'msk': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/134401 net [msk] [panic] Kernel Fatal trap 12: page fault while i o kern/133204 net [msk] msk driver timeouts o kern/128884 net [msk] if_msk page fault while in kernel mode o kern/124127 net [msk] watchdog timeout (missed Tx interrupts) -- recov f kern/119613 yongari [msk] mskc0: Uncorrectable PCI Express error o kern/116853 yongari [msk] msk watchdog timeout f kern/114631 yongari [msk] "Tx descriptor error" with Marvell Yukon 7 problems total. Problem reports for tag 'mtree': S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/138150 [mtree] [patch] fix for src/etc/Makefile mtree 1 problem total. Problem reports for tag 'mtx': S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/135692 [mtx] [witness] blockable sleep lock - kernel panic on 1 problem total. Problem reports for tag 'multicast': S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/122839 net [multicast] FreeBSD 7 multicast routing problem 1 problem total. Problem reports for tag 'mutex': S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/131573 [mutex] lock_init() assumes zero-filled struct 1 problem total. Problem reports for tag 'mxge': S Tracker Resp. Description -------------------------------------------------------------------------------- o amd64/136814 amd64 [mxge] mxge driver error o amd64/130483 amd64 [mxge] MSI must be disabled when Myricom 10Gbps Card i 2 problems total. Problem reports for tag 'myk': S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/130329 gavin [myk] panic 1 problem total. Problem reports for tag 'nanobsd': S Tracker Resp. Description -------------------------------------------------------------------------------- o misc/138347 [patch] [nanobsd] nanobsd build is broken due to mdcon o kern/138341 [nanobsd] [patch] 8.0-BETA3: nanobsd build broken due o misc/136889 embedded [nanobsd] [path] nanobsd error reporting and other ref o misc/135588 embedded [nanobsd] simple patch for adding amd64 support o misc/123240 [nanobsd] [patch] rerunning nanobsd.inc.sh fails becau o conf/96746 [nanobsd] [patch] Configuration changes and README for o misc/93341 phk [nanobsd] [patch] make more flexibitily for NanoBSD cu 7 problems total. Problem reports for tag 'nat': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/132354 net [nat] Getting some packages to ipnat(8) causes crash o kern/121534 darrenr [ipl] [nat] FreeBSD Release 6.3 Kernel Trap 12: 2 problems total. Problem reports for tag 'ncurses': S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/119903 [ncurses] Fast increase in loading of the processor. A o bin/107171 [patch] [ncurses] systat(1) doesn't die when it's xter o conf/71254 [ncurses] xterm vs. cons* termtypes or sc(4) 3 problems total. Problem reports for tag 'ndis': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/136895 cokane [ndis] ndis regression [regression] o kern/132889 net [ndis] [panic] NDIS kernel crash on load BCM4321 AGN d o kern/132672 net [ndis] [panic] ndis with rt2860.sys causes kernel pani o kern/131781 net [ndis] ndis keeps dropping the link f kern/130820 net [ndis] wpa_supplicant(8) returns 'no space on device' o kern/130525 net [ndis] [panic] 64 bit ar5008 ndisgen-erated driver cau o kern/129580 net [ndis] Netgear WG311v3 (ndis) causes kenel trap at boo p kern/127644 weongyo [ndis] [panic] NDIS panic p kern/125181 thompsa [ndis] [patch] with wep enters kdb.enter.unknown, pani o kern/124225 cokane [ndis] [patch] ndis network driver sometimes loses net o kern/118493 weongyo [ndis] [patch] a trivial fix when ndis sets `ndis_reso p kern/118439 thompsa [ndis] [patch] if_ndis - fix a panic when ndis_attach( p kern/118370 thompsa [ndis] [patch] if_ndis - fix a scanning problem of Mar o kern/116747 net [ndis] FreeBSD 7.0-CURRENT crash with Dell TrueMobile o docs/114184 doc [patch] [ndis]: add info to man 4 ndis o kern/109406 thompsa [ndis] Broadcom WLAN driver 4.100.15.5 doesn't work wi o kern/91859 net [ndis] if_ndis does not work with Asus WL-138 f kern/89738 [ndis] [hang] Can't make WL8000PCM wifi card work with s kern/86920 net [ndis] ifconfig: SIOCS80211: Invalid argument [regress 19 problems total. Problem reports for tag 'net': S Tracker Resp. Description -------------------------------------------------------------------------------- a kern/116697 kmacy [net] [patch] ifconfig's name argument has no effect o f kern/110720 kmacy [net] [patch] [request] support for interface descript o kern/106722 glebius [net] [patch] ifconfig may not connect an interface to o kern/90973 thompsa [net] [patch] if_bridge does not handle arp for own ad o kern/83622 brooks [net] [patch] add network interfaces labeling support s kern/81147 net [net] [patch] em0 reinitialization while adding aliase s kern/12071 fanf [net] [patch] new function: large scale IP aliasing 7 problems total. Problem reports for tag 'netatalk': S Tracker Resp. Description -------------------------------------------------------------------------------- s kern/4184 rwatson [netatalk] [patch] minor nits in sys/netatalk 1 problem total. Problem reports for tag 'netgraph': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137881 net [netgraph] [panic] ng_pppoe fatal trap 12 o kern/137775 net [netgraph] [patch] Add XMIT_FAILOVER to ng_one2many o kern/136911 net [netgraph] [panic] system panic on kldload ng_bpf.ko t o kern/122290 net [netgraph] [panic] Netgraph related "kmem_map too smal o kern/120304 net [netgraph] [patch] netgraph source assumes 32-bit time o kern/118727 net [netgraph] [patch] [request] add new ng_pf module o kern/115019 net [netgraph] ng_ether upper hook packet flow stops on ad o kern/106444 [netgraph] Kernel Panic on Binding to an ip to a virtu o kern/104751 net [netgraph] kernel panic, when getting info about my tr o kern/102540 [netgraph] [patch] supporting vlan(4) by ng_fec(4) o conf/102502 net [netgraph] [patch] ifconfig name does't rename netgrap o kern/97306 net [netgraph] NG_L2TP locks after connection with failed o kern/87421 [netgraph] [panic]: ng_ether + ng_eiface + if_bridge o kern/82881 [netgraph] [panic] ng_fec(4) causes kernel panic after o sparc/80410 sparc64 [netgraph] netgraph is causing crash with mpd on sparc o kern/66225 [netgraph] [patch] extend ng_eiface(4) control message o kern/63863 glebius [netgraph] [patch] [request] implement NGM_ELECTROCUTE 17 problems total. Problem reports for tag 'netinet': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/138130 net [netinet] [patch] Resource leak in LibAliasRefreshModu o kern/133786 [netinet] [patch] ip_input might cause kernel panic o kern/133235 net [netinet] [patch] Process SIOCDLIFADDR command incorre o kern/132832 net [netinet] [patch] tcp_output() might generate invalid o kern/131536 net [netinet] [patch] kernel does allow manipulation of su o kern/125845 net [netinet] [patch] tcp_lro_rx() should make use of hard o kern/121706 net [netinet] [patch] "rtfree: 0xc4383870 has 1 refs" emit o kern/95277 net [netinet] [patch] IP Encapsulation mask_match() return o kern/75122 silby [netinet] [patch] Incorrect inflight bandwidth calcula a kern/61744 andre [netinet] [patch] TCP hangs onto mbufs with no tcp dat 10 problems total. Problem reports for tag 'netisr': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/100519 net [netisr] suggestion to fix suboptimal network polling 1 problem total. Problem reports for tag 'newfs': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/77181 mckusick [newfs] [patch] newfs -g largevalue, mkdir, panic 1 problem total. Problem reports for tag 'newusb': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/133989 usb [newusb] [ukbd] USB keyboard dead at mountroot> prompt o usb/130122 usb [newusb] DVD drive detects as 'da' device 2 problems total. Problem reports for tag 'nfe': S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/127910 vwe [nfe] FBSD-7.0 amd64 nfe ethernet not completely worki o kern/123429 net [nfe] [hang] "ifconfig nfe up" causes a hard system lo o i386/121549 i386 [nfe]: nfe interface locks up during rc.conf initializ o kern/120232 net [nfe] [patch] Bring in nfe(4) to RELENG_6 o amd64/115126 yongari [nfe] nfe0: watchdog timeout (missed Tx interrupts) -- o i386/106789 i386 [nfe] or [nve]: Internal NIC of GA-K8N51GMF-RH does no 6 problems total. Problem reports for tag 'nfs': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137327 dfr [nfs] nfs nlm memery leak o kern/136865 fs [nfs] [patch] NFS exports atomic and on-the-fly atomic o kern/136470 fs [nfs] Cannot mount / in read-only, over NFS o kern/135237 [nfs] sendfile(2) and SF_NODISKIO blocks on NFS files o kern/132934 [nfs] Cancel of a NFS-lock fails repeatedly o kern/131995 fs [nfs] Failure to mount NFSv4 server o kern/131360 fs [nfs] poor scaling behavior of the NFS server under lo o kern/131342 fs [nfs] mounting/unmounting of disks causes NFS to fail o kern/130628 net [nfs] NFS / rpc.lockd deadlock on 7.1-R o kern/129760 fs [nfs] after 'umount -f' of a stale NFS share FreeBSD l f kern/129719 net [nfs] [panic] Panic during shutdown, tcp_ctloutput: in o kern/129132 [nfs] 7.1-Beta2 nfsd cannot lock o kern/128448 net [nfs] 6.4-RC1 Boot Fails if NFS Hostname cannot be res o kern/125149 fs [nfs] [panic] changing into .zfs dir from nfs client c o kern/124280 [nfs] [panic] FreeBSD 7/amd64 STABLE crash o kern/123755 dfr [nfs] fstat(1) fails to return ESTALE with rename()d f o kern/121566 rc [nfs] [request] [patch] ethernet iface should be broug o kern/119791 net [nfs] UDP NFS mount of aliased IP addresses from a Sol o kern/119617 net [nfs] nfs error on wpa network when reseting/shutdown o bin/118318 mohans [nfs] NFS server hangs under special circumstances o kern/118126 kmacy [nfs] Poor NFS server write performance o kern/114506 [nfs] nfs_readdirrpc doesn't use copyout to write out o kern/114451 [nfs] [patch] prevent NFS server possible crash o kern/114111 [nfs] System crashes while writing on NFS-mounted shar o kern/112528 net [nfs] NFS over TCP under load hangs with "impossible p o kern/111848 [nfs] removing a file from a diskless nfs mounted root o kern/111162 [nfs] nfs_getpages does not restart interrupted system o kern/106646 [nfs] [patch] Pointer incorrectly cast to ulong o kern/105241 [nfs] problem with Linux NFS server up/down combined w o kern/97329 [nfs] [patch] code simplification o kern/94830 [nfs] [patch] mount_nfs causes a fatal trap 18 if the o kern/94256 dfr [nfs] nfs locking/rpc.lockd doesn't understand file de o kern/86944 [nfs] [patch] When I use FreeBSD with NFS client, clos s kern/86319 [nfs] [request] support a "noac" NFS mount flag to tur o kern/85894 [nfs] [panic] nfs_timer / nfs_socket.c:1146 panic o kern/84968 [nfs] programs on nfs4 mounts won't execute o kern/84965 [nfs] nfs4 mount generates NFS4ERR_BAD_SEQID o kern/84964 [nfs] nfs4 mount doesn't handle NFS4ERR_GRACE o kern/84953 kuriyama [nfs] NFS locking issue in RELENG_6/i386/SMP o kern/82805 [nfs] [panic] sched_switch ched_4bsd.c:865 / nfs_inact o kern/81770 [nfs] Always "NFS append race" at every NFS mount with o kern/79336 [nfs] NFS client doesn't detect file updates on Novell s kern/78884 [nfs] [patch] nfs client cache negative lookups o kern/78673 [nfs] [patch] nfs client open resets attrstamp ever if o kern/77902 [nfs] NFS client should use VA_UTIMES_NULL to determin o kern/76126 [nfs] [patch] 4.11 client will send a NFS request to r o kern/71391 [nfs] [panic] md via NFS file + mount -t ntfs: panic: o kern/70708 [nfs] gcore/procfs not finding /proc/pid/file on repea s kern/67545 [nfs] NFS Diskless Mount Option Suggestion a kern/64816 [nfs] [patch] mmap and/or ftruncate does not work corr a kern/62278 [nfs] [patch] NFS server may not set eof flag when rea a kern/57696 [nfs] NFS client readdir terminates prematurely if ren o kern/54383 net [nfs] [patch] NFS root configurations without dynamic o kern/48894 [nfs] Suggested improvements to the NFS read-ahead heu o kern/44580 [nfs] NFS updates file access time when file is modifi o kern/41216 [nfs] Get "NFS append race" error o kern/35669 [nfs] NFSROOT breaks without a gateway o kern/33203 [nfs] "got bad cookie" errors on NFS client o kern/31380 [nfs] NFS rootfs mount failure message too cryptic o kern/27232 [nfs] On NFSv3 mounted filesystems, stat returns st_bl f kern/26142 vwe [nfs] Unlink fails on NFS mounted filesystem o conf/22308 [nfs] mounting NFS during boot blocks if host map come o kern/22291 [nfs] getcwd(3) fails on recently-modified NFS-mounted s conf/17540 [nfs] NIS host lookups cause NFS mounts to wedge at bo s kern/17108 [nfs] SecureRPC not supported in mount_nfs command 65 problems total. Problem reports for tag 'ng_mppc': S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/123045 gonzo [ng_mppc] ng_mppc_decompress - disabling node 1 problem total. Problem reports for tag 'ng_nat': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/125704 [ng_nat] kernel libalias: repeatable panic 1 problem total. Problem reports for tag 'nis': S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/129541 [nis] passwd(1) cannot be forced to "yp" mode in some o kern/88320 [nis] ypxfr(8) talks IPv6 to IPv4-only portmap -> ypin o conf/72592 [nis] NIS Domain Master fails as client of itself o bin/71625 [patch] [nis] cleanup of the usr.sbin/rpc.ypupdated co o bin/71617 [patch] [nis] ypserv(8): cleanup of the usr.sbin/ypser o bin/71616 [patch] [nis] yp_mkdb(8): cleanup of the usr.sbin/yp_m o bin/67142 [nis] rpc.yppasswdd incorrectly throws errors about in o bin/66893 [patch] [nis] rpc.yppasswdd(8): Linux NIS clients conn o bin/66830 [nis] chsh(1) ypchsh(1) do not change user information o bin/54097 [nis] Non-local yppasswd(1) -d broken in 5.1-CURRENT o bin/52343 [nis] login(1) problem on the server o bin/51628 [nis] ypmatch doesn't match keys in legacy NIS servers o kern/44578 [nis] getnetgrent fails to read NIS netgroup map o bin/42093 [nis] ypbind(8) hangs on NIC with the lowest scopeid o bin/40215 [nis] NIS host search not terminate o kern/34842 [nis] [patch] VmWare port + NIS causes "broadcast stor o bin/29903 [nis] ypbind(8) loses connection to NIS master and nev o bin/29808 [nis] ypserv(8) dumps core in yp_find_db o bin/24461 [nis] Being able to increase the YP timeout without re s bin/2090 [patch] [nis] clients may bind to FreeBSD ypserv refus 20 problems total. Problem reports for tag 'notes': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/135989 [NOTES] [patch] device vr support D-Link DFE-520TX, bu o kern/133162 [NOTES] [patch] document modular ata driver devices 2 problems total. Problem reports for tag 'nsswitch.conf': S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/123330 net [nsswitch.conf] Enabling samba wins in nsswitch.conf c o conf/73337 [nsswitch.conf] [patch] potential invalid free o conf/64788 [nsswitch.conf] nsswitch with ldap and starting ppp on 3 problems total. Problem reports for tag 'ntfs': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/136873 fs [ntfs] Missing directories/files on NTFS volume o kern/120483 fs [ntfs] [patch] NTFS filesystem locking changes o kern/120482 fs [ntfs] [patch] Sync style changes between NetBSD and F o kern/118107 fs [ntfs] [panic] Kernel panic when accessing a file at N o kern/117314 fs [ntfs] Long-filename only NTFS fs'es cause kernel pani o kern/116515 remko [ntfs] NTFS mount does not check that user has permiss o kern/114847 fs [ntfs] [patch] [request] dirmask support for NTFS ala o kern/103035 fs [ntfs] Directories in NTFS mounted disc images appear o kern/99290 fs [ntfs] mount_ntfs ignorant of cluster sizes o kern/97377 fs [ntfs] [patch] syntax cleanup for ntfs_ihash.c p kern/89966 rodrigc [ntfs] [panic] mounting ntfs causes kernel panic in so o kern/73484 fs [ntfs] Kernel panic when doing `ls` from the client si o kern/71774 fs [ntfs] NTFS cannot "see" files on a WinXP filesystem 13 problems total. Problem reports for tag 'nullfs': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/131441 fs [unionfs] [nullfs] unionfs and/or nullfs not combineab o kern/130210 fs [nullfs] Error by check nullfs o bin/121898 fs [nullfs] pwd(1)/getcwd(2) fails with Permission denied o sparc/104428 sparc64 [nullfs] nullfs panics on E4500 (but not E420) o kern/51583 fs [nullfs] [patch] allow to work with devices and socket 5 problems total. Problem reports for tag 'nve': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/118990 [nve] nve + PAE bus_addr_t/void * inconsistencies s amd64/108861 amd64 [nve] nve(4) driver on FreeBSD 6.2 AMD64 does not work o i386/106789 i386 [nfe] or [nve]: Internal NIC of GA-K8N51GMF-RH does no o kern/106243 net [nve] double fault panic in if_nve.c on high loads o kern/88045 jhb [nve] [patch] 6.0rc1: nve0: device timeout (51) o amd64/84027 obrien [nve] if_nve gets stuck 6 problems total. Problem reports for tag 'nwfs': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/65920 fs [nwfs] Mounted Netware filesystem behaves strange 1 problem total. Problem reports for tag 'ofw': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/112477 marius [ofw] [patch] Add support to set the node and type on 1 problem total. Problem reports for tag 'ohci': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/127222 usb [ohci]: Regression in 7.0 usb storage generic driver o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/121755 usb [ohci] [patch] Fix panic after ohci/uhub cardbus devic f usb/108056 gavin [usb67] [ohci] Mouse gets powered off during probe whe o usb/107827 usb [usb67] [ohci] [panic] ohci_add_done addr not found f usb/101448 gavin [usb67] [ohci] FBSD 6.1-STABLE/AMD64 crashes under hea o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/79269 usb [ohci] USB ohci da0 plug/unplug causes crashes and loc 8 problems total. Problem reports for tag 'padlock': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/135014 [padlock] Using padlock(4) in 8-current triggers "fpud 1 problem total. Problem reports for tag 'pae': S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/129550 i386 [pae] [kqueue] crash with PAE kernel 1 problem total. Problem reports for tag 'pam': S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/113230 des [pam] [patch] const-ify PAM-headers o kern/107154 [pam] pam.d/sshd pam_ssh.so doesn't start ssh-agent o kern/94978 [pam] pam_opie module option without "no_fake_prompts" o kern/88150 des [pam] PAM does not search /usr/local/lib for modules o kern/83099 des [pam] pam_login_access change causes cyrus-sasl-saslau s bin/25477 [pam] [patch] pam_radius(8) fix to allow null password 6 problems total. Problem reports for tag 'patm': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/112686 net [patm] patm driver freezes System (FreeBSD 6.2-p4) i38 1 problem total. Problem reports for tag 'pccard': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/121760 [pccard] [cardbus] an ed1 network pccard's CIS wasn't p kern/60307 [pccard] [patch] wrong product id in pccarddevs for Sp o i386/41364 imp [pccard] NewMedia "Bus Toaster" SCSI card w/ Advansys 3 problems total. Problem reports for tag 'pccbb': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/128870 [pccbb] Interrupt Storm when plugging in PCMCIA Card ( o kern/128608 [pccbb] [patch] add support for powering down and up C o kern/128040 [pccbb] [patch] System hangs when PCMCIA-CF adapter pl o kern/128037 [pccbb] [patch] System hang on shutdown with PCMCIA-CF 4 problems total. Problem reports for tag 'pci': S Tracker Resp. Description -------------------------------------------------------------------------------- s kern/133733 [pci] [patch] Incorrect record in pci_vendors for Broa o kern/130957 jhb [pci] /sys/dev/pci/pci.c revision 181771 breaks networ o kern/129713 [pci] pci-pci bridge quirk with ich7 chipset not handl o i386/100142 i386 [pci] [patch] /dev/smb0 device not available on system o kern/95661 [pci] [patch] pci_pci still not correct for initializi o kern/91347 rodrigc [pci] [patch] Add another PCI-e chipset for extended c o kern/89837 [pci] PCI code outputs superfluous "failed to enable/d p kern/79139 rodrigc [pci] [patch] Support for more PCIe chipsets o kern/70810 [pci] [patch] Enable SMBus device on Asus P4B series m o kern/65355 [pci] [patch] TC1000 serial ports need enabling o kern/59903 [pci] [patch] "pci_find_device" returns [only/at] the 11 problems total. Problem reports for tag 'pcmcia': S Tracker Resp. Description -------------------------------------------------------------------------------- f amd64/123275 amd64 [cbb] [pcmcia] cbb/pcmcia drivers on amd64 failure [re o kern/117026 imp [pcmcia]: Panic while removing PCMCIA wireless card o kern/94898 [pcmcia] GPRS PCMCIA card cause interrupt storm and co 3 problems total. Problem reports for tag 'pcvt': S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/75887 i386 [pcvt] with vt0.disabled=0 and PCVT in kernel video/ke o stand/54839 standards [pcvt] pcvt deficits o stand/54833 standards [pcvt] more pcvt deficits a kern/26348 [pcvt] scon -s, page fault in HP mode 4 problems total. Problem reports for tag 'pecoff': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/80742 wkoszek [pecoff] [patch] Local DoS in sys/compat/pecoff (+ oth o kern/60963 [pecoff] [patch] Win32 Applications abort on PECOFF 2 problems total. Problem reports for tag 'periodic': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/135502 net [periodic] Warning message raised by rtfree function i o conf/123551 [patch] [periodic] /etc/periodic/daily/440.status-mail o conf/123516 [periodic] Daily Security Logs Not Reporting Failed Lo o conf/70715 [periodic] Lack of year in dates in auth.log can cause o conf/47596 [periodic] daily security run complains if timezone ch 5 problems total. Problem reports for tag 'pf': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137982 pf [pf] when pf can hit state limits, random IP failures o kern/136781 pf [pf] Packets appear to drop with pf scrub and if_bridg o kern/136618 net [pf][stf] panic on cloning interface without unit numb o kern/135948 pf [pf] [gre] pf not natting gre protocol o kern/134996 pf [pf] Anchor tables not included when pfctl(8) is run w o kern/133732 pf [pf] max-src-conn issue o kern/132769 pf [pf] [lor] 2 LOR's with pf task mtx / ifnet and rtent f kern/132176 pf [pf] pf stalls connection when using route-to [regress o conf/130381 pf [rc.d] [pf] [ip6] ipv6 not fully configured when pf st o kern/129861 pf [pf] [patch] Argument names reversed in pf_table.c:_co o kern/127920 pf [pf] ipv6 and synproxy don't play well together o conf/127814 pf [pf] The flush in pf_reload in /etc/rc.d/pf does not w o kern/127439 pf [pf] deadlock in pf f kern/127345 pf [pf] Problem with PF on FreeBSD7.0 [regression] o kern/127121 pf [pf] [patch] pf incorrect log priority o kern/127042 pf [pf] [patch] pf recursion panic if interface group is o kern/125467 pf [pf] pf keep state bug while handling sessions between s kern/124933 pf [pf] [ip6] pf does not support (drops) IPv6 fragmented o kern/124364 pf [pf] [panic] Kernel panic with pf + bridge o kern/122773 pf [pf] pf doesn't log uid or pid when configured to o kern/122014 pf [pf] [panic] FreeBSD 6.2 panic in pf o kern/121704 pf [pf] PF mangles loopback packets o kern/120281 pf [pf] [request] lost returning packets to PF for a rdr o kern/120057 pf [pf] [patch] Allow proper settings of ALTQ_HFSC. The c o bin/118355 pf [pf] [patch] pfctl(8) help message options order false o kern/114567 pf [pf] [lor] pf_ioctl.c + if.c o kern/111220 pf [pf] repeatable hangs while manipulating pf tables s conf/110838 pf [pf] tagged parameter on nat not working on FreeBSD 5. o kern/93825 pf [pf] pf reply-to doesn't work o sparc/93530 pf [pf] Incorrect checksums when using pf's route-to on s o kern/92949 pf [pf] PF + ALTQ problems with latency o kern/82271 pf [pf] cbq scheduler cause bad latency 32 problems total. Problem reports for tag 'pfsync': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/135162 pf [pfsync] pfsync(4) not usable with GENERIC kernel o kern/133060 net [ipsec] [pfsync] [panic] Kernel panic with ipsec + pfs o kern/101794 [pfsync] Setting plip as syncdev for pfsync causes ker 3 problems total. Problem reports for tag 'picobsd': S Tracker Resp. Description -------------------------------------------------------------------------------- o misc/116453 [picobsd] picobsd build script fails for not exist log o misc/52256 embedded [picobsd] picobsd build script does not read in user/s o kern/42728 embedded [picobsd] many problems in src/usr.sbin/ppp/* after c o misc/42115 luigi [picobsd] [patch] fix build script for 4.6-STABLE o bin/42084 luigi [picobsd] PicoBSD's 'netstat -i' reports negative Ipkt p misc/15876 edwin [picobsd] PicoBSD message of the day problems 6 problems total. Problem reports for tag 'pipe': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/93685 [pipe] select on pipe write fails from '0' end o kern/77493 [pipe] freebsd 5.3 + bash process substitution fails d 2 problems total. Problem reports for tag 'plip': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/113856 [patch] [plip] PLIP (parallel port IP) dead on 6.2, de o kern/102035 net [plip] plip networking disables parallel port printing 2 problems total. Problem reports for tag 'portalfs': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/9679 [portalfs] [patch] fix for uninterruptible open in por 1 problem total. Problem reports for tag 'powerd': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/117242 [powerd] [hang] console hangs when powerd is adaptive o i386/106850 i386 [powerd] powernow0 attach returned 6 o amd64/87689 amd64 [powerd] [hang] powerd hangs SMP Opteron 244 5-STABLE 3 problems total. Problem reports for tag 'ppbus': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/17425 [ppbus] [patch] fix two small printing errors in ppbus 1 problem total. Problem reports for tag 'ppp': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/133572 net [ppp] [hang] incoming PPTP connection hangs the system o kern/129219 net [ppp] Kernel panic when using kernel mode ppp o kern/123890 net [ppp] [panic] crash & reboot on work with PPP low-spee o conf/119550 [ppp] ppp not starting during bootup. o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o bin/114081 bz [patch] [ppp] ppp(8) should be able to set ethernet ad o conf/106009 rc [ppp] [patch] [request] Fix pppoed startup script to p o conf/105689 rc [ppp] [request] syslogd starts too late at boot o conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp o kern/99408 [ppp] problems with ppp and arp o kern/93019 net [ppp] ppp and tunX problems: no traffic after restarti o kern/92270 glebius [ppp]: ppp does not work on renamed network interfaces s kern/84386 [ppp] [request] PPPoA Authentication built into FreeBS o conf/67328 [ppp] Usermode PPP hangs on boot when NIS configured o kern/27474 net [ipf] [ppp] Interactive use of user PPP and ipfilter c 15 problems total. Problem reports for tag 'pppd': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/112160 [pppd] uplink DSL w/pppoe+NAT 'out of buffer space' ki o kern/109308 net [pppd] [panic] Multiple panics kernel ppp suspected [r o kern/109277 [pppd] [patch] : kernel ppp(4) botches clist reservati o kern/102390 [pppd] [patch] kernel pppd don't using pam o kern/99607 [pppd] pppd hangs kernel due to interrupt flood from s o bin/98542 [pppd] pppd(8) daemon unexpectently died , Exit 1 o kern/95288 net [pppd] [tty] [panic] if_ppp panic in sys/kern/tty_subr 7 problems total. Problem reports for tag 'procfs': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/124487 [procfs] [patch] Extending the PROCFS (/proc) filesyst o kern/97505 [procfs] file entry of procfs points to "unknown" o kern/96999 [procfs] [patch] procfs reports incorrect information s kern/19535 [procfs] [patch] procfs_rlimit tidyup 4 problems total. Problem reports for tag 'pseudofs': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/85137 des [pseudofs] [patch] panic due to sleep with held mutex 1 problem total. Problem reports for tag 'psm': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137228 [psm] synaptics support delays 'mouse up' events when o kern/129125 [psm] psm0: failed to reset the aux device. f kern/128308 gavin [psm] psm0 cause page fault o kern/128083 [psm] [panic] early SMP panic on GA-G31M-S2L motherboa o kern/127887 [psm] PSM0 not detected by the KERNEL in Compaq Prolia o bin/122235 [psm] freebsd-7.0 moused(8) problems with ALPS GlidePo o kern/122046 [psm] Synaptics touchpad freezes (psm0: lost interrupt o kern/119197 [psm]: PS/2 mouse doesn't work under FreeBSD i386 7.0 o kern/109161 philip [psm] synaptic touchpad doesn't work o kern/108659 [psm] Mouse (Synaptics touchpad) cursor freezes for so o kern/100687 [psm] psm problem (?): touchpad hangs, then move supe o kern/91339 [psm] mousedriver do not recognize aditional buttons o s i386/85072 i386 [psm] ps/2 Mouse detection failure on compaq chipset o kern/84411 philip [psm] [patch] psm drivers adds bad buttons for Synapti s kern/80844 vwe [psm] [patch] Increase compatibility of psm driver wit o kern/18293 [psm] [patch] lack of versapad mouse wheel emulation 16 problems total. Problem reports for tag 'pst': S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/121454 acpi [pst] Promise SuperTrak SX6000 does not load during bo o i386/74153 i386 [pst] FreeBSD 5.3 cannot boot ftom pst 2 problems total. Problem reports for tag 'ptrace': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/114155 [ptrace] sigsuspend gets interrupted by ptrace 1 problem total. Problem reports for tag 'pty': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/99758 [pty] [patch] chown/chmod pty slave side in kernel o kern/60697 [pty] [patch] pseudo-tty hack versus telnet race cause 2 problems total. Problem reports for tag 'puc': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137436 [puc] [patch] Fix puc driver to support newer Timedia o kern/134878 [puc] [patch] Add support for Oxford OXPCIe954 and OXP o kern/132271 [puc] [patch] puc support for a generic card o kern/124128 [puc] puc driver doesn't support VScom PCIex-800H 8-po p kern/104212 [puc] [patch] support for Kuroutoshikou SERIAL4P-LPPCI o kern/103250 [puc] puc failed to attach sio ports when loaded as mo o kern/82901 [puc] ECP mode fails on NetMos ppc card - "PWord not s o kern/75132 jhb [puc] [patch] add support for the Davicom 56PDV PCI Mo o kern/43716 [puc] [patch] puc driver does not recognize Lava Dual- 9 problems total. Problem reports for tag 'pxeboot': S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/123981 i386 [pxeboot] You can't usefully PXEBOOT the 7.0-RELEASE-i o kern/118222 [pxeboot] [patch] FreeBSD 7.0 PXE + NFS / "Can't work o kern/106028 [pxeboot] tftp inside pxeboot isn't initialised proper o kern/91719 [pxeboot] BZ2_bzDecompress returned -3 error on loadin o kern/90368 [pxeboot] pxeboot misses ${class} parameter when booti 5 problems total. Problem reports for tag 'queue': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/119307 emaste [queue] [patch] TRASHIT macro blasts list header if RE 1 problem total. Problem reports for tag 'quotas': S Tracker Resp. Description -------------------------------------------------------------------------------- s bin/42004 mpp [quotas] quota is still IPv4 only, and not INET indepe 1 problem total. Problem reports for tag 'radeon': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/138288 [radeon] RADEON(0): No valid MMIO address [regression] o kern/121337 [radeon] [panic] Kernel panic on 7.0-RELEASE using ati o kern/119850 [radeon] radeon module doesnt work right, when loaded o kern/108829 [radeon] radeon module fails with thinkpad T43 s kern/89271 [radeon] [agp] [hang] X.org hangs when heavily using R 5 problems total. Problem reports for tag 'ral': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137372 net [ral] FreeBSD doesn't support wireless interface from o kern/134591 [ral] ral(4) driver frequently loses carrier (on RT256 o kern/134168 net [ral] ral driver problem on RT2525 2.4GHz transceiver o kern/132238 [ral] ral driver does not support RT2860 o kern/126895 net [patch] [ral] Add antenna selection (marked as TBD) f kern/125502 net [ral] ifconfig ral0 scan produces no output unless in o kern/124341 net [ral] promiscuous mode for wireless device ral0 looses o kern/122033 net [ral] [lor] Lock order reversal in ral0 at bootup [reg o kern/121174 [ral] if_ral loses performance in FreeBSD 7 (RELENG_7) o kern/119696 [irq] [ral] ral device causes massive interrupt storm f kern/117655 sam [ral] ral%d: device timeout when running as an access o kern/111457 net [ral] ral(4) freeze o kern/109227 [ral] ral(4) driver doesn't handle correctly RT2561C P o kern/103200 [ral] ral driver for RELENG_6 is out-of-date with resp o kern/95519 net [ral] ral0 could not map mbuf o kern/91364 net [ral] [wep] WF-511 RT2500 Card PCI and WEP o kern/82456 [ral] WITNESS warning/backtrace in if_ral 17 problems total. Problem reports for tag 'random': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/123177 secteam [random] [patch] arc4rand(9) produces the same sequenc 1 problem total. Problem reports for tag 'rc': S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/138208 rc [rc] [patch] Making rc.firewall (workstation) IPv6 awa o conf/137629 rc [rc] background_dhclient rc.conf option causing double 2 problems total. Problem reports for tag 'rc.d': S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/136624 rc [rc.d] sysctl variables for ipnat are not applied on b o bin/134250 [rc.d] mountlate: bogus error message when using neste o conf/133987 rc [rc.d] defaultroute broken with DHCP in some cases o conf/132476 rc [rc.d] [patch] add support setfib(1) in rc.d/routing o conf/130555 net [rc.d] [patch] No good way to set ipfilter variables a o conf/130381 pf [rc.d] [pf] [ip6] ipv6 not fully configured when pf st o conf/119076 rc [patch] [rc.d] /etc/rc.d/netif tries to remove alias a o conf/109562 rc [rc.d] [patch] [request] Make rc.d/devfs usable from c p conf/103489 bz [rc.d] [named] [jail] [patch] named_chroot_autoupdate 9 problems total. Problem reports for tag 're': S Tracker Resp. Description -------------------------------------------------------------------------------- p kern/137672 yongari [re] [patch] add bits to support the 8168DP version f kern/123563 yongari [re] watchdog timeout o kern/123166 yongari [re] CARP messages filtered by Realtek driver on > 6.2 f amd64/122970 yongari [re] [hang] RealTek 8168/8111B couses system crash f kern/119047 yongari [re] Not correct working RealTek 8168/8111B PCIe Gigab o kern/109251 net [re] [patch] if_re cardbus card won't attach o kern/108485 [re] stress2-udp with realtek 8169S gigabit interface f amd64/106918 yongari [re] Asus P5B with internal RealTek PCIe Ethernet gets o kern/84584 yongari [re] re(4) spends too much time in interrupt handler ( o i386/70832 yongari [re] re0: watchdog timeout on Evo N1015v 10 problems total. Problem reports for tag 'resolver': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/136013 [resolver] Resolver wrong diagnostics f kern/74314 bz [resolver] [jail] DNS resolver broken under certain ja 2 problems total. Problem reports for tag 'rl': S Tracker Resp. Description -------------------------------------------------------------------------------- s kern/134517 yongari [rl] [patch] Realtek 8111C Driver Backport for FreeBSD o kern/100290 yongari [rl] rl0: watchdog timeout [regression] o kern/71045 [rl] [vr] DHCP-Request is sets other device's ip to nu 3 problems total. Problem reports for tag 'route': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/134931 net [route] [fib] Route messages sent to all socket listen o kern/134531 net [route] [panic] kernel crash related to routes/zebra o kern/134369 net [route] [ip6] IPV6 in Head broken for routing table up 3 problems total. Problem reports for tag 'rp': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/44202 [rp] [patch] -stable rp driver does not work with mult s i386/28975 [rp] RocketPort problems 2 problems total. Problem reports for tag 'rpc': S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/117711 matteo [rpc] rpcbind binds to all interfaces on random ports f conf/96412 linimon [rpc] 2 rpc.lockds launched at boot ? blocking problem s bin/94892 [rpc] rpc.lockd does not interoperate with Solaris 10 o bin/94258 [rpc] O_NONBLOCK may block with rpc.lockd o bin/94252 [rpc] rpc.lockd cannot cancel lock requests s kern/56461 [rpc] FreeBSD client rpc.lockd incompatible with Linux 6 problems total. Problem reports for tag 'rpc.quotad': S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/93309 [rpc.quotad] [patch] rpc.rquotad: group quota support 1 problem total. Problem reports for tag 'rtalloc': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/127724 net [rtalloc] rtfree: 0xc5a8f870 has 1 refs 1 problem total. Problem reports for tag 'rtc': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/70649 [rtc] system clock slows down when heavily loaded o kern/63431 [rtc] motherboard going to suspend mode stops system c 2 problems total. Problem reports for tag 'rum': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137776 net [rum] panic in rum(4) driver on 8.0-BETA2 o usb/133296 usb [rum] driver not working properly in hostap mode o usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/124758 usb [rum] [panic] rum panics SMP kernel o kern/123968 net [rum] [panic] rum driver causes kernel panic with WPA. o kern/120966 net [rum] kernel panic with if_rum and WPA encryption o kern/119945 net [rum] [panic] rum device in hostap mode, cause kernel f usb/104352 gavin [usb67] [ural] [rum] [patch] ural driver doesnt work 8 problems total. Problem reports for tag 'sa': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/128452 scsi [sa] [panic] Accessing SCSI tape drive randomly crashe 1 problem total. Problem reports for tag 'safe': S Tracker Resp. Description -------------------------------------------------------------------------------- p kern/110662 sam [safe] safenet driver causes kernel panic 1 problem total. Problem reports for tag 'sbp': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/119572 [sbp] PowerBook not accessable when in target mode 1 problem total. Problem reports for tag 'sched_ule': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/128177 jeff [sched_ule] wrong CPU usage reported by top/ps with SC p kern/120138 jeff [sched_ule] [patch] steal_thresh may be set a wrong va o kern/117420 jeff [sched_ule] round off in sched_balance_pair() s kern/85658 jeff [sched_ule] [patch] add DDB command, show runq, to sch o kern/78444 jeff [sched_ule] doesn't keep track of the sleep time of a 5 problems total. Problem reports for tag 'scheduler': S Tracker Resp. Description -------------------------------------------------------------------------------- o amd64/127451 amd64 [scheduler] incorrect load on quad core 1 problem total. Problem reports for tag 'scsi': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/128245 scsi [scsi] "inquiry data fails comparison at DV1 step" [re o kern/78868 gibbs [scsi] Adaptec 29160 fails with IBM LTO-2 drive if dis o kern/13141 se [scsi] Multiple LUN support in NCR driver is broken. s kern/7264 gibbs [scsi] Buslogic BT 950 scsi card not detected 4 problems total. Problem reports for tag 'sctp': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137795 net [sctp] [panic] mtx_lock() of destroyed mutex 1 problem total. Problem reports for tag 'ses': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/125769 [ses] [panic] getencstat(8) panics system with "Sleepi 1 problem total. Problem reports for tag 'sg': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/120487 scsi [sg] scsi_sg incompatible with scanners o kern/118282 [sg] device sg + hald + umass plugging crashes 7.0 2 problems total. Problem reports for tag 'sio': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/129316 [sio] [panic] kernel panic (pcpu.h:195; support.s:499) o kern/128036 [sio] [patch] serial console mostly ignores typein to a kern/122683 [sio] [freeze] access to non-existent sio port /dev/cu o kern/119606 [sio] [patch] PCMCIA card not attached to driver o i386/112487 i386 [sio] kernel panic on swi0:sio o kern/109743 [sio] The sio(4) driver appears to be getting the seri o kern/109232 imp [sio] [patch] ibufsize calculation wrong causing data o i386/105063 i386 [sio] US Robotics (3Com) 3CP5609 PCI 16550 Modem works o i386/100831 i386 [sio] sio ignores BIOS information about serial ports o kern/97665 [sio] hang in sio driver o kern/51982 remko [sio] sio1: interrupt-level buffer overflows o kern/49039 [sio] [patch] add support for RS485 hardware where dir o kern/44267 [sio] [patch] One more modem PNP id for /usr/src/sys/i o kern/26261 [sio] silo overflow problem in sio driver s kern/2298 [sio] [patch] [request] support for DSR/DCD swapping o 15 problems total. Problem reports for tag 'sis': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/83807 kmacy [sis] [patch] if_sis: Wake On Lan support for FreeBSD o kern/64556 net [sis] if_sis short cable fix problems with NetGear FA3 o kern/35442 net [sis] [patch] Problem transmitting runts in if_sis dri 3 problems total. Problem reports for tag 'sk': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/105375 yongari [sk] 2 x Marvell GBit LAN: device sk0 is attached, but o kern/101274 yongari [sk] [patch] SysKonnect Yukon initialization bug on K8 f kern/96743 yongari [sk] [patch] broken 32-bit register operations 3 problems total. Problem reports for tag 'smb': S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/74044 gavin [smb] ServerWorks OSB4 SMBus interface does not detect 1 problem total. Problem reports for tag 'smbd': S Tracker Resp. Description -------------------------------------------------------------------------------- o amd64/125873 amd64 [smbd] [panic] Repeated kernel panics, trap 12 page fa 1 problem total. Problem reports for tag 'smbfs': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/133676 fs [smbfs] [panic] umount -f'ing a vnode-based memory dis o kern/133614 fs [smbfs] [panic] panic: ffs_truncate: read-only filesys o kern/130979 fs [smbfs] [panic] boot/kernel/smbfs.ko o kern/129488 fs [smbfs] Kernel "bug" when using smbfs in smbfs_smb.c: o bin/121072 fs [smbfs] mount_smbfs(8) cannot normally convert the cha o kern/119842 jail [smbfs] [jail] "Bad address" with smbfs inside a jail o bin/117315 fs [smbfs] mount_smbfs(8) and related options can't mount o kern/113852 fs [smbfs] smbfs does not properly implement DFS referral o kern/112658 fs [smbfs] [patch] smbfs and caching problems (resolves b o i386/102617 vwe [smbfs] [editors/ooo] 7 x "smb_maperror: Unmapped erro o kern/101324 fs [smbfs] smbfs sometimes not case sensitive when it's s o kern/94733 fs [smbfs] smbfs may cause double unlock o kern/91134 fs [smbfs] [patch] Preserve access and modification time a kern/90815 fs [smbfs] [patch] SMBFS with character conversions somet o kern/88657 fs [smbfs] windows client hang when browsing a samba shar o kern/88266 fs [smbfs] smbfs does not implement UIO_NOCOPY and sendfi o kern/87859 fs [smbfs] System reboot while umount smbfs. o kern/85326 fs [smbfs] [panic] saving a file via samba to an overquot o kern/80088 fs [smbfs] Incorrect file time setting on NTFS mounted vi o kern/65901 fs [smbfs] [patch] smbfs fails fsx write/truncate-down/tr o kern/61503 fs [smbfs] mount_smbfs does not work as non-root o kern/55617 fs [smbfs] Accessing an nsmb-mounted drive via a smb expo o kern/36566 fs [smbfs] System reboot with dead smb mount and umount 23 problems total. Problem reports for tag 'smbus': S Tracker Resp. Description -------------------------------------------------------------------------------- p kern/100513 jhb [smbus] Inconsistent definition of SMBus addresses in 1 problem total. Problem reports for tag 'smp': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/127486 [smp] [panic] early SMP panic ("AP #1 (PHY #1) failed! o kern/123140 [smp] SMP boot causes slow KB, ATA drives not detected f kern/122915 [smp] Incorrect system cpu load o kern/109936 [smp] SMP kernel performance problem on FSC TX600 o kern/93461 [smp] [regression] Intel 440LX SMP freeze (regression o i386/91745 i386 [smp] Second processor not detected on Proliant ML530 o amd64/87305 amd64 [smp] Dual Opteron / FreeBSD 5 & 6 / powerd results in o kern/67830 [smp] [patch] CPU affinity problem with forked child p 8 problems total. Problem reports for tag 'snapshots': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/115645 fs [snapshots] [panic] lockmgr: thread 0xc4c00d80, not ex 1 problem total. Problem reports for tag 'snd_uaudio': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137589 multimedia [snd_uaudio] snd_uaudio.ko (USB audio driver) doesn't 1 problem total. Problem reports for tag 'socket': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137164 [socket] [panic] assert panic imo_match_source() o kern/131876 rwatson [socket] FD leak by receiving SCM_RIGHTS by recvmsg wi o bin/131567 net [socket] [patch] Update for regression/sockets/unix_cm o kern/127360 kmacy [socket] TOE socket options missing from sosetopt() o kern/125258 net [socket] socket's SO_REUSEADDR option does not work o kern/124908 rwatson [socket] kernel performs inadequate check for incorrec a kern/97921 rwatson [socket] close() socket deadlocks blocked threads f kern/96268 net [socket] TCP socket performance drops by 3000% if pack o kern/66268 glebius [socket] [patch] Socket buffer resource limit (RLIMIT_ o kern/21998 kmacy [socket] [patch] ident only for outgoing connections 10 problems total. Problem reports for tag 'sound': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/134767 multimedia [sound] [snd_hda] [regression] Sigmatel STAC9205X no s o power/133503 ppc [sound] Sound stutter after switching ttys o kern/132848 multimedia [sound] [snd_emu10kx] driver problem with card init, s o kern/132511 multimedia [sound] [snd_hda] Probing ALC888 codec on ASRock K10N7 f kern/132336 multimedia [sound] [snd_hda] Realtek ALC888 audio chipset does no o kern/129604 multimedia [sound] Sound stops with error: pcm0:virtual:dsp0.vp0: s kern/125756 multimedia [sound] [patch] cannot detect soft-modem on HDA bus o kern/124319 multimedia [sound] [snd_emu10k1] [regression] Cannot record from o kern/122086 multimedia [sound] maestro sound driver is working, but mixer ini f kern/121962 [sound] [snd_emu10k1] [panic] Kernel panics with devic p kern/121156 multimedia [sound] [patch] Turn on inverted external amplifier se o kern/120857 multimedia [sound] [snd_emu10k1] snd_emu10k1 driver issues a warn o kern/120780 multimedia [sound] [snd_hda] snd_hda doesn't work on Dell Latitut o kern/119973 multimedia [sound] [snd_maestro] [regression] snd_maestro only wo o kern/119931 multimedia [sound] No sound card detected on ASUS "K8V-X SE R2.00 o kern/119759 multimedia [sound] [snd_emu10k1] [regression] Can not record anyt f kern/115666 multimedia [sound] Microphone does not work o kern/115300 multimedia [sound] [snd_hda] [regression] snd_hda(4) fails to att o kern/114760 multimedia [sound] [snd_cmi] snd_cmi driver causing sporadic syst s kern/113950 multimedia [sound] [patch] [request] add per-vchan mixer support o kern/111767 multimedia [sound] ATI SB450 High Definition Audio Controller sou o kern/107516 multimedia [sound] [snd_emu10k1] - skips, clicks and lag after a o kern/107051 multimedia [sound] only 2 channels output works for the ALC850 (o o kern/104874 multimedia [sound] [snd_emu10k1] kldload snd_emu10k1 hangs system o kern/104626 multimedia [sound] FreeBSD 6.2 does not support SoundBlaster Audi o kern/101417 multimedia [sound] 4-speakers output not possible on Asus A8V-Del o kern/100859 multimedia [sound] [snd_ich] snd_ich broken on GIGABYTE 915 syste o kern/98752 multimedia [sound] Intel ich6 82801 FB - on Packard Bell A8810 la o kern/98504 multimedia [sound] Sound is distorted with SB Live 5.1 o kern/98496 multimedia [sound] [snd_ich] some functions don't work in my soun o kern/98167 multimedia [sound] [es137x] [patch] ES1370 mixer volumes incorrec o kern/97609 multimedia [sound] Load Sound Module - VIA8233 - fails o kern/97535 multimedia [sound] [snd_mss] doesn't work in 6.0-RELEASE and abov o kern/96538 multimedia [sound] emu10k1-driver inverts channels o kern/95086 multimedia [sound] uaudio line in problem with sbdm lx o kern/94279 multimedia [sound] [snd_neomagic] snd_neomagic crashes on FreeBSD o kern/93986 multimedia [sound] Acer TravelMate 4652LMi pcm0 channel dead o kern/92512 multimedia [sound] distorted mono output with emu10k1 o kern/90837 [sound] PCM - ICH6 - device is busy, but old process d o kern/87782 multimedia [sound] snd_t4dwave and pcm0:record:0: record interrup s kern/83697 multimedia [sound] [snd_mss] [patch] support, docs added for full o kern/82043 multimedia [sound] snd_emu10k1 - mixer does not work. o kern/81146 multimedia [sound] Sound isn't working AT ALL for Sis7012 onboard o kern/80632 multimedia [sound] pcm driver missing support for CMI8738 auxilla o usb/80040 usb [sound] [hang] Use of sound mixer causes system freeze o kern/79912 multimedia [sound] sound broken for 2 VIA chipsets: interrupt sto o kern/79905 multimedia [sound] sis7018 sound module problem o kern/79678 multimedia [sound] sound works except recording from any source o usb/75797 usb [sound] [regression] 5.3-STABLE(2005 1/4) detect USB h o conf/75137 jhb [sound] add snd_* modules support to /etc/rc.d/mixer f kern/72995 multimedia [sound] Intel ICH2 (82801BA) - sound nearly inaudible o kern/63204 multimedia [sound] /dev/mixer broken with ESS Maestro-2E (still o o bin/62077 [sound] [patch] Make it possible to abbreviate mixer(8 o kern/60677 multimedia [sound] [patch] No reaction of volume controy key on I o kern/37600 multimedia [sound] [partial patch] t4dwave drive doesn't record. o kern/23546 multimedia [sound] [snd_csa] [patch] csa DMA-interrupt problem 56 problems total. Problem reports for tag 'ste': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137292 net [ste] DFE-580TX not working properly 1 problem total. Problem reports for tag 'stf': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/136618 net [pf][stf] panic on cloning interface without unit numb o kern/123858 net [stf] [patch] stf not usable behind a NAT s kern/85444 vwe [stf] IPv6 crash, possibly related to destroying stf i 3 problems total. Problem reports for tag 'svr4': S Tracker Resp. Description -------------------------------------------------------------------------------- p kern/91293 delphij [svr4] [patch] *Experimental* Update to the SVR4 emula 1 problem total. Problem reports for tag 'swi': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/122989 net [swi] [panic] 6.3 kernel panic in swi1: net s kern/121774 net [swi] [panic] 6.3 kernel panic in swi1: net 2 problems total. Problem reports for tag 'sym': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/114597 scsi [sym] System hangs at SCSI bus reset with dual HBAs o kern/93128 scottl [sym] FreeBSD 6.1 BETA 1 has problems with Symbios/LSI o kern/90282 scsi [sym] SCSI bus resets cause loss of ch device o kern/73289 [sym] Interrupt storm on sym0 o kern/60641 scsi [sym] Sporadic SCSI bus resets with 53C810 under load 5 problems total. Problem reports for tag 'syscons': S Tracker Resp. Description -------------------------------------------------------------------------------- p conf/126841 philip [syscons] [patch] Add eee900 keyboard layout to /usr/s o kern/98788 [syscons] [patch] Add sysctl to disallow VT_LOCKSWITCH s bin/90082 matteo [syscons] [patch] curses ACS line graphics support for o kern/72585 [syscons] [patch] iso05-8x16.fnt lacks letter q o kern/48599 [syscons] [patch] syscons cut-n-paste logic is broken o kern/46973 [syscons] [patch] [request] syscons virtual terminals o kern/39252 [syscons] [patch] syscons doesn't support 8-bit contro o kern/31890 [syscons] [patch] new syscons font s kern/15436 [syscons] syscons extension: "propellers" 9 problems total. Problem reports for tag 'sysctl': S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/137900 [sysctl] sysctl default values for kern.ipc.shmmax and s kern/135550 [sysctl] [request] Feature Request: Manufacturer Infor o kern/134540 [sysctl] [panic] kernel panic after sysctl -a (in strl o kern/134231 [sysctl] sysctl() 80% slower in 7.2 than 6.2 [regressi o bin/123644 [patch] [sysctl] Allow sysctl(8) to ignore unknown OID p bin/121512 mtm [sysctl] [patch] sysctl(8) should return 1 if the user o kern/91023 [sysctl] cpufreq/p4tcc: sysctl: dev.cpu.0.freq: Device o i386/73921 i386 [sysctl] [patch] sysctlbyname for machdep.tsc_freq doe o kern/54439 [sysctl] [patch] Protecting sysctls variables by given o kern/39681 [sysctl] [patch] add hidden kernel boot tunables to sy 10 problems total. Problem reports for tag 'sysvipc': S Tracker Resp. Description -------------------------------------------------------------------------------- o threa/70975 threads [sysvipc] unexpected and unreliable behaviour when usi 1 problem total. Problem reports for tag 'sysvshm': S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/115619 [sysvshm] Unfinished (uncompliant?) support for POSIX 1 problem total. Problem reports for tag 'tap': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/123892 net [tap] [patch] No buffer space available o kern/118399 secteam [tap] local/remote kernel DoS through TAP device o kern/117271 net [tap] OpenVPN TAP uses 99% CPU on releng_6 when if_tap 3 problems total. Problem reports for tag 'tcp': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/138046 net [tcp] tcp sockets stay in SYN_SENT even after receivin o kern/137317 net [tcp] logs full of syncache problems o kern/127928 net [tcp] [patch] TCP bandwidth gets squeezed every time t f kern/123617 net [tcp] breaking connection when client downloading file o kern/123603 net [tcp] tcp_do_segment and Received duplicate SYN f kern/122082 rwatson [tcp] NULL pointer dereference in in_pcbdrop o kern/121257 net [tcp] TSO + natd -> slow outgoing tcp traffic o kern/116335 andre [tcp] Excessive TCP window updates o kern/108670 silby [tcp] TCP connection ETIMEDOUT f kern/102741 andre [tcp] Multiple outbound connect() calls produce 'Netwo p kern/102653 andre [tcp] TCP stack sends infinite retries for connection o kern/99188 andre [tcp] [patch] FIN in same packet as duplicate ACK is l f kern/93378 net [tcp] Slow data transfer in Postfix and Cyrus IMAP (wo o kern/92690 silby [tcp] slowstart_flightsize ignored in 6-STABLE 14 problems total. Problem reports for tag 'termcap': S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/136336 [termcap] [patch] missing entry for "center of keypad" f conf/128874 [termcap] termcap entry for rxvt missing :AX: capabili 2 problems total. Problem reports for tag 'terminfo': S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/133715 [terminfo] [patch] no terminfo for rxvt-unicode termin 1 problem total. Problem reports for tag 'threads': S Tracker Resp. Description -------------------------------------------------------------------------------- s threa/39922 threads [threads] [patch] Threaded applications executed with 1 problem total. Problem reports for tag 'ti': S Tracker Resp. Description -------------------------------------------------------------------------------- p kern/123147 remko [ti] [patch] ti(4) doesn't use mii, but kernel configs o kern/20529 [ti] gigabit cards fail to link 2 problems total. Problem reports for tag 'timecounters': S Tracker Resp. Description -------------------------------------------------------------------------------- o amd64/127484 amd64 [timecounters] Drift problem with FreeBSD 7.0 and 7.1 1 problem total. Problem reports for tag 'tinybsd': S Tracker Resp. Description -------------------------------------------------------------------------------- p misc/135301 remko [tinybsd] [patch] Patch for fix architecture support f o misc/131059 [tinybsd] [patch] tinybsd MFSROOT option suggests YES/ 2 problems total. Problem reports for tag 'tmpfs': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/138367 fs [tmpfs] [panic] 'panic: Assertion pages > 0 failed' wh o kern/132597 fs [tmpfs] [panic] tmpfs-related panic while interrupting o kern/127659 fs [tmpfs] tmpfs memory leak o kern/127213 fs [tmpfs] sendfile on tmpfs data corruption o kern/122038 fs [tmpfs] [panic] tmpfs: panic: tmpfs_alloc_vp: type 0xc 5 problems total. Problem reports for tag 'tools': S Tracker Resp. Description -------------------------------------------------------------------------------- o misc/100322 [tools] [patch] kerninclude.sh doesn't dump object nam 1 problem total. Problem reports for tag 'trm': S Tracker Resp. Description -------------------------------------------------------------------------------- o sparc/105048 sparc64 [trm] trm(4) panics on sparc64 1 problem total. Problem reports for tag 'tun': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/138332 net [tun] [lor] ifconfig tun0 destroy causes LOR on 8.0-BE o kern/133902 net [tun] Killing tun0 iface ssh tunnel causes Panic Strin o kern/116837 net [tun] [panic] [patch] ifconfig tunX destroy: panic o kern/116172 bz [tun] [nd6] [panic] Network / ipv6 recursive mutex pan o bin/115951 [tun] pppoed(8): tun not closed after client abruptly 5 problems total. Problem reports for tag 'twa': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/119043 [twa] twa hang after heavy disk IO o kern/107608 [twa] [hang] Raid Problem beim Zugriff auf Raid 2 problems total. Problem reports for tag 'twe': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/72906 [twe] twe0 idefinite wait buffer a kern/66185 [twe] twe driver generates gratuitous warning on shutd 2 problems total. Problem reports for tag 'txp': S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/100839 yongari [txp] txp driver inconsistently stops working when the 1 problem total. Problem reports for tag 'uart': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/132165 [uart] [lor] LOR slock and uart_hwmtx o kern/131933 [uart] [patch] Cannot detect Sony Ericsson GC89 EDGE/W p kern/129665 rik [uart] Oxford OX16PCI958 8-serial multiport card is no o kern/129663 rik [uart] Timedia-based 8-serial multiport card: only two o kern/106645 [uart] [patch] uart device description in 7-CURRENT is 5 problems total. Problem reports for tag 'uath': S Tracker Resp. Description -------------------------------------------------------------------------------- p usb/136950 weongyo [uath] D-Link DWA-120 USB wireless adapter not in "uat p usb/135009 weongyo [uath] [patch] Accton ar5523 products not in "uath" dr 2 problems total. Problem reports for tag 'uaudio': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/117598 usb [uaudio] [patch] Not possible to record with Plantroni 1 problem total. Problem reports for tag 'ubsa': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/129522 usb [ubsa] [patch] add support for ZTE AC8700 modem o usb/127543 n_hibma [patch] [ubsa] Support Option Globetrotter HSDPA modem o usb/122956 usb [ubsa] [patch] add support for Novatel Wireless XU870 o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun p usb/118374 attilio [ubsa] [patch] support Option GlobeTrotter Max 3.6 wir 7 problems total. Problem reports for tag 'ubsec': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/133143 [ubsec] [panic] Kernel panic with ubsec and cryptodev; 1 problem total. Problem reports for tag 'ucom': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/127248 usb [ucom] panic while uplcom devices attaach and detach o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/113432 usb [ucom] WARNING: attempt to net_add_domain(netgraph) af o kern/86763 [ucom] kernel: ucom0: ucomwritecb: IOERROR o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/77294 usb [ucom] [panic] ucom + ulpcom panic o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct 13 problems total. Problem reports for tag 'udav': S Tracker Resp. Description -------------------------------------------------------------------------------- s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ 1 problem total. Problem reports for tag 'udbp': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected 2 problems total. Problem reports for tag 'udf': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/120989 scottl [udf] [patch] UDF (with DVD RAM) isn't mountable/reada o kern/60089 scottl [udf] UDF filesystem appends garbage to files 2 problems total. Problem reports for tag 'udp': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/133736 net [udp] ip_id not protected ... o kern/127057 net [udp] Unable to send UDP packet via IPv6 socket to IPv o kern/120266 net [udp] [panic] gnugk causes kernel panic when closing U o kern/112722 net [ipsec] [udp] IP v4 udp fragmented packet reject 4 problems total. Problem reports for tag 'ufs': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/138350 fs [ufs] [patch] UFS_EXTATTR static int prototyping error o kern/136968 fs [ufs] [lor] ufs/bufwait/ufs (open) o kern/136945 fs [ufs] [lor] filedesc structure/ufs (poll) o kern/135469 fs [ufs] [panic] kernel crash on md operation in ufs_dirb o kern/132960 fs [ufs] [panic] panic:ffs_blkfree: freeing free frag o kern/132331 fs [ufs] [lor] LOR ufs and syncer o kern/129231 fs [ufs] [patch] New UFS mount (norandom) option - mostly o kern/126287 fs [ufs] [panic] Kernel panics while mounting an UFS file a kern/125613 trasz [ufs] [patch] ACL problems with special files o bin/121779 fs [ufs] snapinfo(8) (and related tools?) only work for t o kern/117954 [ufs] dirhash on very large directories blocks the mac o kern/114676 fs [ufs] snapshot creation panics: snapacct_ufs2: bad blo o kern/111782 fs [ufs] dump(8) fails horribly for large filesystems o kern/106030 fs [ufs] [panic] panic in ufs from geom when a dead disk o kern/104406 fs [ufs] Processes get stuck in "ufs" state under persist o kern/94849 fs [ufs] rename on UFS filesystem is not atomic o kern/94769 fs [ufs] Multiple file deletions on multi-snapshotted fil f kern/91568 fs [ufs] [panic] writing to UFS/softupdates DVD media in o kern/89991 fs [ufs] softupdates with mount -ur causes fs UNREFS o bin/73019 fs [ufs] fsck_ufs(8) cannot alloc 607016868 bytes for ino o kern/68978 fs [panic] [ufs] crashes with failing hard disk, loose po o kern/58373 mckusick [ufs] ufs inconsistency between 4.9-RC and 5.1 o kern/48393 mckusick [ufs] ufs2 snapshot code bugs 23 problems total. Problem reports for tag 'uftdi': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/129758 usb [uftdi] [patch] add Pyramid LCD usb support o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS o usb/117546 remko [uftdi] [patch] Add MaxStream ZigBee product ID to uft o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter f usb/106615 gavin [usb67] [uftdi] uftdi module does not automatically lo o usb/67301 usb [uftdi] [panic] RTS and system panic 6 problems total. Problem reports for tag 'ugen': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/110856 usb [usb67] [ugen] [patch] interrupt in msgs are truncated o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/81308 imp [ugen] [patch] [2] polling a ugen(4) control endpoint o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction 9 problems total. Problem reports for tag 'uhci': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/129673 usb [uhci] uhci (uhub) confused on replugging USB 1.1 scan o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/79287 usb [uhci] [hang] UHCI hang after interrupt transfer o usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0 4 problems total. Problem reports for tag 'uhid': S Tracker Resp. Description -------------------------------------------------------------------------------- f usb/111753 gavin [usb67] [uhid] [panic] Replicable system panic involvi f usb/63837 linimon [uhid] [patch] USB: hid_is_collection() only looks for 2 problems total. Problem reports for tag 'uhub': S Tracker Resp. Description -------------------------------------------------------------------------------- f usb/107496 gavin [usb67] [uhub] [ehci] USB device problem on RELENG_6_2 s usb/103917 usb [usb67] [uhub] USB driver reports "Addr 0 should never o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb 3 problems total. Problem reports for tag 'uipaq': S Tracker Resp. Description -------------------------------------------------------------------------------- p usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a 1 problem total. Problem reports for tag 'ukbd': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/137806 usb [ukbd] USB keyboard doesn't work until it's unplugged o usb/133989 usb [newusb] [ukbd] USB keyboard dead at mountroot> prompt o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760 f kern/131798 gavin [ukbd] usb keyboard doesn't work with motherboard inte o usb/125736 usb [ukbd] [hang] system hangs after AT keyboard detect if o usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th s usb/113629 usb [ukbd] Dropped USB keyboard events on Dell Latitude D6 f usb/102678 gavin [usb67] [ukbd] Dell PowerEdge DRAC5 USB Keyboard does f usb/102066 gavin [usb67] [ukbd] usb keyboard and multimedia keys don't o usb/100746 usb [usb67] [ukbd] system does not boot due to USB keyboar 10 problems total. Problem reports for tag 'ulpt': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/112944 usb [ulpt] [patch] Bi-directional access to HP LaserJet 10 o usb/103046 usb [usb67] [ulpt] [patch] ulpt event driven I/O with sele o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/79524 usb [ulpt] printing to Minolta PagePro 1[23]xxW via USB fa o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes 12 problems total. Problem reports for tag 'uma': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/85971 jeff [uma] [patch] minor optimization to uma 1 problem total. Problem reports for tag 'umapfs': S Tracker Resp. Description -------------------------------------------------------------------------------- s kern/74708 [umapfs] [panic] UMAPFS kernel panic 1 problem total. Problem reports for tag 'umass': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/137138 usb [umass] [patch] QUIRK: ASUS PDA Flash disk emulation p kern/135628 remko [umass] [patch] add a device quirk for Myson Heden 881 o usb/135348 usb [umass] USB Drive Hangs with ZFS (JMicron USB2/eSata) o usb/134085 usb [umass] Adding usb quirk for Sony USB flash drive o usb/131583 usb [umass] Failure when detaching umass Device o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive o usb/127980 usb [umass] [patch] Fix Samsung YP U2 MP3 player on 7.x an s usb/127549 usb [umass] [patch] Meizu MiniPlayer M6 (SL) requires some f kern/125985 [umass] [panic] no da-device, panic upon unplugging o usb/123509 usb [umass] continuous reset Samsung SGH-G600 phone f usb/123508 vwe [umass] [msdosfs] damaged files (mp3,txt , etc) on fla o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/121169 usb [umass] Issues with usb mp3 player o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o usb/114682 usb [umass] generic USB media-card reader unusable o kern/114667 [umass] UMASS device error log problem o usb/114068 usb [umass] [patch] Problems with connection of the umass f usb/112568 gavin [umass] [usb67] USB mode may wrong when mounting Plays f usb/112463 gavin [umass] problem with Samsung USB DVD writer, libscg an f usb/110197 gavin [usb67] [umass] [ehci] Sony PSP umass device does not f usb/109397 gavin [usb67] [umass] [panic] FS corruption on booting from f usb/108513 gavin [usb67] [umass] Creative MuVo TX FM fails in 6.2-RELEA f usb/107848 gavin [usb67] [umass] cannot access Samsung flash disk f usb/106648 gavin [usb67] [umass] [hang] USB Floppy on D1950 10 min Hang f usb/105065 gavin [usb67] [umass] transfer speed of external drive enclo f usb/104645 gavin [usb67] [umass] [request] Rave C-201 MP3 player does n f usb/104292 gavin [usb67] [umass] [hang] system lockup on forced umount f usb/104290 gavin [usb67] [umass] [patch] [quirk] TOSHIBA DVD-RAM drive f usb/101752 gavin [usb67] [umass] [panic] 6.1-RELEASE kernel panic on Ca o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/96457 usb [umass] [panic] fatback on umass = reboot s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/83563 usb [umass] [panic] Page Fault while detaching Mpman Usb d s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect, o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) o usb/74771 usb [umass] [hang] mounting write-protected umass device a s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/71455 usb [umass] Slow USB umass performance of 5.3 o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/40948 usb [umass] [request] USB HP CDW8200 does not work 67 problems total. Problem reports for tag 'umct': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters 1 problem total. Problem reports for tag 'umodem': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/128485 usb [umodem] [patch] Nokia N80 modem support p usb/117185 thompsa [umodem] [patch] Add support for UNION interface descr o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work 4 problems total. Problem reports for tag 'ums': S Tracker Resp. Description -------------------------------------------------------------------------------- p usb/128760 cperciva [ums] [patch] patch for Microsoft Comfort Optical Mous o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125238 usb [ums] Habu Mouse turns off in X o usb/124604 usb [ums] Microsoft combo wireless mouse doesn't work o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o kern/103578 [ums] ums does not recognize mouse buttons s usb/96120 usb [ums] [request] USB mouse not always detected o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/76732 usb [ums] Mouse problems with USB KVM Switch o kern/56250 [ums] [patch] ums(4) doesn't work with MCT based PS/2 13 problems total. Problem reports for tag 'unionfs': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137588 daichi [unionfs] [lor] LOR unionfs o kern/132987 daichi [unionfs] unionfs_readdir has math problem o kern/131441 fs [unionfs] [nullfs] unionfs and/or nullfs not combineab o kern/126973 daichi [unionfs] [hang] System hang with unionfs and init chr o kern/126553 daichi [unionfs] unionfs move directory problem 2 (files appe o bin/123574 daichi [unionfs] df(1) -t option destroys info for unionfs (a o kern/121385 daichi [unionfs] unionfs cross mount -> kernel panic o kern/109377 daichi [unionfs] unionfs crashes if underlying file system fo 8 problems total. Problem reports for tag 'uplcom': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/129173 usb [uplcom] [patch] Add support for Corega CG-USBRS232R a o usb/128324 usb [uplcom] [patch] remove baud rate restriction for PL23 f usb/115737 linimon [uplcom] uplcom doesn't identify my Prolific 2303 any o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/107935 usb [usb67] [uplcom] [panic] panic while accessing /dev/cu o kern/95512 [uplcom] uplcom(4) causes system hangups 6 problems total. Problem reports for tag 'ural': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/133712 usb [ural] [patch] RE: Fixed an issue with ural(4) that wa f usb/104352 gavin [usb67] [ural] [rum] [patch] ural driver doesnt work f usb/101096 gavin [usb67] [ural] [panic] USB WLAN occasionally causes ke o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o kern/88182 [ural] [wep] wep is broken in ural(4) hostap mode 5 problems total. Problem reports for tag 'urio': S Tracker Resp. Description -------------------------------------------------------------------------------- s usb/51958 usb [urio] [patch] update for urio driver 1 problem total. Problem reports for tag 'usb': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/137191 usb [usb][patch] export ums(4) output report parser data t o usb/137190 usb [usb][patch] inhibit spurious button releases for some o usb/137189 usb [usb][patch] create and use sysctl nodes for HID repor p usb/137188 usb [usb][patch] correctly handle USB report descriptors w p usb/132799 usb [usb][patch]GENESYS USB2IDE requires NO_SYNCHRONIZE_CA o usb/132785 usb [usb] [patch] Gemtech remote powersocket is classed as o usb/132080 usb [patch] [usb] Kernel panic after NOMEM caused by rum c o usb/130325 usb [usb] [patch] fix tools/tools/usb/print-usb-if-vids.sh p usb/129858 remko [usb] [patch] Need to add quirk to da_scsi.c to suppor o usb/129766 usb [usb] plugging in usb modem HUAWEI E226 panics system o usb/129311 usb [usb] [panic] Instant crash with an USB card reader s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb [usb] [patch] uaudio is not full duplex o usb/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/124130 usb [usb] gmirror fails to start usb devices that were pre o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/122819 usb [usb] [patch] Patch to provide dynamic additions to th o usb/121232 usb [usb] [panic] USB CardBus card removal causes reboot s o usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an f usb/109274 gavin [usb67] [usb] MCP55 USB Controller fails to attach in f usb/106832 gavin [usb67] [usb] USB HP printer is not detected by kernel o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync o usb/91629 usb [usb] usbd_abort_pipe() may result in infinite loop o usb/87224 usb [usb] Cannot mount USB Zip750 s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/79723 usb [usb] [request] prepare for high speed isochronous tra s usb/79622 imp [usb] USB devices can be freed twice s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 35 problems total. Problem reports for tag 'usb67': S Tracker Resp. Description -------------------------------------------------------------------------------- f usb/112568 gavin [umass] [usb67] USB mode may wrong when mounting Plays f usb/112461 gavin [usb67] [ehci] ehci USB 2.0 doesn't work on nforce4 f usb/111753 gavin [usb67] [uhid] [panic] Replicable system panic involvi o usb/110856 usb [usb67] [ugen] [patch] interrupt in msgs are truncated f usb/110197 gavin [usb67] [umass] [ehci] Sony PSP umass device does not f usb/109397 gavin [usb67] [umass] [panic] FS corruption on booting from f usb/109274 gavin [usb67] [usb] MCP55 USB Controller fails to attach in f usb/108513 gavin [usb67] [umass] Creative MuVo TX FM fails in 6.2-RELEA s usb/108344 usb [usb67] [atausb] [panic] kernel with atausb panics whe f usb/108056 gavin [usb67] [ohci] Mouse gets powered off during probe whe o usb/107935 usb [usb67] [uplcom] [panic] panic while accessing /dev/cu o usb/107924 usb [usb67] usbd(8) does not call detach f usb/107848 gavin [usb67] [umass] cannot access Samsung flash disk o usb/107827 usb [usb67] [ohci] [panic] ohci_add_done addr not found f usb/107496 gavin [usb67] [uhub] [ehci] USB device problem on RELENG_6_2 o usb/107388 usb [usb67] [usb8] [new driver] [patch] add utoppy device f usb/107248 gavin [usb67] [cam] [quirk] [patch] quirk for Cowon iAUDIO X o usb/107243 usb [usb67] [cam] [quirk] [patch] Apacer USB Flash Drive q f usb/106861 gavin [usb67] [usb8] [usbdevs] [patch] Add ACER Zeevo BT-500 f usb/106832 gavin [usb67] [usb] USB HP printer is not detected by kernel f usb/106648 gavin [usb67] [umass] [hang] USB Floppy on D1950 10 min Hang f usb/106621 gavin [usb67] [axe] [patch] DLINK DUB-E100 support broken f usb/106615 gavin [usb67] [uftdi] uftdi module does not automatically lo o usb/106041 usb [usb67] [usb8] [request] FreeBSD does not recognise Mu o usb/105361 usb [usb67] [panic] Kernel panic during unmounting mass st f usb/105065 gavin [usb67] [umass] transfer speed of external drive enclo f usb/104645 gavin [usb67] [umass] [request] Rave C-201 MP3 player does n f usb/104352 gavin [usb67] [ural] [rum] [patch] ural driver doesnt work f usb/104292 gavin [usb67] [umass] [hang] system lockup on forced umount f usb/104290 gavin [usb67] [umass] [patch] [quirk] TOSHIBA DVD-RAM drive s usb/103917 usb [usb67] [uhub] USB driver reports "Addr 0 should never o usb/103418 usb [usb67] [usb8] [patch] [request] usbhidctl(8) add abil o usb/103046 usb [usb67] [ulpt] [patch] ulpt event driven I/O with sele f usb/102678 gavin [usb67] [ukbd] Dell PowerEdge DRAC5 USB Keyboard does f usb/102066 gavin [usb67] [ukbd] usb keyboard and multimedia keys don't o usb/101775 usb [usb67] [usb8] [libusbhid] [patch] possible error in r o usb/101761 usb [usb67] [patch] [request] usb.h: increase maximal size f usb/101752 gavin [usb67] [umass] [panic] 6.1-RELEASE kernel panic on Ca f usb/101448 gavin [usb67] [ohci] FBSD 6.1-STABLE/AMD64 crashes under hea f usb/101096 gavin [usb67] [ural] [panic] USB WLAN occasionally causes ke o usb/100746 usb [usb67] [ukbd] system does not boot due to USB keyboar 41 problems total. Problem reports for tag 'usb8': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/138292 net [zyd] [usb8] "zyd0: device timeout" with ZyXEL G-202 o usb/138124 usb [usb8] Axed uaudio functionality in the usbng (alterna o usb/107388 usb [usb67] [usb8] [new driver] [patch] add utoppy device f usb/106861 gavin [usb67] [usb8] [usbdevs] [patch] Add ACER Zeevo BT-500 o usb/106041 usb [usb67] [usb8] [request] FreeBSD does not recognise Mu o usb/103418 usb [usb67] [usb8] [patch] [request] usbhidctl(8) add abil o usb/101775 usb [usb67] [usb8] [libusbhid] [patch] possible error in r 7 problems total. Problem reports for tag 'usbdevs': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/137616 usb [usbdevs] [patch]: usbdevs update: Please add JMicron' p usb/136761 usb [usbdevs] [patch] Teach usbdevs / u3g(4) about Huawei o usb/135575 usb [usbdevs] [patch] Add HTC Wizard phone vid/pid informa o usb/134631 usb [usbdevs] [patch] WiSPY DBx support requires usb tweak o usb/131900 usb [usbdevs] [patch] Additional product identification co o usb/129945 usb [usbdevs] [patch] add u3g support for Longcheer WM66 U o usb/129251 usb [usbdevs] [patch] Liebert UPS being assigned uhid and o usb/128803 usb [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X2 o usb/123352 usb [usbdevs] [patch] Add Option GTMAX3.6/7.2 and Quallcom o usb/123351 usb [usbdevs] [patch] Add Reiner SCT cyberJack, Omnikey [2 o usb/119150 remko [usbdevs] [patch] new usbdevs for CDMA 1xEVDO devices o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches a usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir f usb/106861 gavin [usb67] [usb8] [usbdevs] [patch] Add ACER Zeevo BT-500 o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports 16 problems total. Problem reports for tag 'usbhid': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/116699 usb [usbhid] USB HID devices do not initialize at system b 1 problem total. Problem reports for tag 'uscanner': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/122025 usb [uscanner] [patch] uscanner does not attach to Epson R o usb/121426 usb [patch] [uscanner] add HP ScanJet 3570C o usb/117205 remko [uscanner] [patch] uscanner support for HP ScanJet 447 s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device 4 problems total. Problem reports for tag 'uslcom': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/131912 usb [uslcom] [patch] New devices using Silicon Labs chips 1 problem total. Problem reports for tag 'uvisor': S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. 1 problem total. Problem reports for tag 'vesa': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/137822 [vesa] [hang] System crashes leaving X when running ve o kern/134504 [vesa] thinkpad t60 with ati x1400 in vesa console mod 2 problems total. Problem reports for tag 'vfs': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/134883 [vfs] [panic] kernel panic, superpages, vfs.lookup_sha p kern/133439 kan [vfs] [panic] Kernel Panic in kern_vfs o kern/123392 [vfs] [lor] lock order reversal in vfs o kern/94669 pjd [vfs] [patch] Panic from Failed Removable Media Mount o kern/93942 fs [vfs] [patch] panic: ufs_dirbad: bad dir (patch from D 5 problems total. Problem reports for tag 'vga': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/125710 [vga] Dragon_Saver Error 19 Freebsd 7.0 AMD64 o kern/64114 [vga] [patch] bad vertical refresh for console using R 2 problems total. Problem reports for tag 'vge': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/129135 net [vge] vge driver on a VIA mini-ITX not working o kern/106851 [vge] vge0: MII read timed out [regression] o amd64/87316 amd64 [vge] "vge0 attach returned 6" on FreeBSD 6.0-RC1 amd6 o kern/82497 net [vge] vge(4) on AMD64 only works when loaded late, not f kern/81644 net [vge] vge(4) does not work properly when loaded as a K 5 problems total. Problem reports for tag 'viapm': S Tracker Resp. Description -------------------------------------------------------------------------------- p kern/120714 gonzo [viapm] [patch] viapm driver doesn't work on VIA VT823 1 problem total. Problem reports for tag 'vinum': S Tracker Resp. Description -------------------------------------------------------------------------------- a kern/89660 geom [vinum] [patch] [panic] due to g_malloc returning null o kern/79035 geom [vinum] gvinum unable to create a striped set of mirro o conf/47566 [vinum] [patch] add vinum status verification to perio 3 problems total. Problem reports for tag 'virtualbox': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/117681 [virtualbox] pcn fails to send packets under VirtualBo 1 problem total. Problem reports for tag 'virtualpc': S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/119809 gavin [virtualpc] MS Virtual PC 2007 - Install hung - Trying 1 problem total. Problem reports for tag 'vlan': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/126874 net [vlan]: Zebra problem if ifconfig vlanX destroy o kern/121437 net [vlan] Routing to layer-2 address does not work on VLA o kern/117423 net [vlan] Duplicate IP on different interfaces 3 problems total. Problem reports for tag 'vm': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/133289 [vm] [panic] DEBUG_MEMGUARD with vm.memguard.desc="dev o kern/124963 alc [vm] [patch] old pagezero fixes for alc o kern/123634 [vm] [panic] kernel panic with FreeBSD 7-STABLE o kern/123013 [vm] panic "Bad tailq NEXT(%p->tqh_last) != NULL" s kern/121485 vwe [vm] panic with 7.0-RELEASE [regression] o kern/121234 [vm] vm_fault: fault on nofault o kern/87586 [diskless] [vm] [panic] Unable to use networked swap i p kern/78179 alc [vm] [patch] bus_dmamem_alloc() with BUS_DMA_NOWAIT ca o kern/71258 alc [vm] [patch] anonymous mmappings not always page align o kern/37554 jmg [vm] [patch] make ELF shared libraries immutable once s i386/22944 alc [vm] [patch] isa_dmainit fails on machines with 512MB 11 problems total. Problem reports for tag 'vmware': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/118819 [vmware] FreeBSD 6.2 in VMware is unstable and there i o kern/109809 [vmware] CPU hits 100% when issuing the halt command ( o i386/97025 i386 [vmware] fbsd (2 cd) dont install in vmware 5.5.0 - re 3 problems total. Problem reports for tag 'vr': S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/126665 yongari [vr] Integrated VIA Rhine II receive errors p kern/123961 net [vr] [patch] Allow vr interface to handle vlans a kern/109477 yongari [vr] [patch] onboard via vt6103 ethernet does not work s kern/103495 vwe [vr] if_vr locks after carrier event o kern/100499 yongari [vr] vr interface stops transmitting s kern/94390 vwe [vr] poor network performance after promiscuous mode i o kern/90890 net [vr] Problems with network: vr0: tx shutdown timeout s kern/89305 vwe [vr] [patch] D-Link NIC with VIA Rhine II, lost of Net o kern/87506 net [vr] [patch] Fix alias support on vr interfaces s kern/80265 vwe [vr] D-Link NIC with VIA Rhine II has no carrier sign o kern/71045 [rl] [vr] DHCP-Request is sets other device's ip to nu 11 problems total. Problem reports for tag 'vuxml': S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/129300 obrien [vuxml] editors/vim: document CVE-2008-3432 1 problem total. Problem reports for tag 'wi': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/131776 net [wi] driver fails to init f kern/127145 net [wi]: prism (wi) driver crash at bigger traffic o kern/122319 net [wi] imposible to enable ad-hoc demo mode with Orinoco o kern/119225 net [wi] 7.0-RC1 no carrier with Prism 2.5 wifi card [regr o kern/115275 [wi] [panic] wi configure at boot time led to panic "i o kern/115002 net [wi] if_wi timeout. failed allocation (busy bit). ifco o kern/110065 [wi]: wi device cannot attach to D-Link DWL-520 rev. E o kern/109470 net [wi] Orinoco Classic Gold PC Card Can't Channel Hop o kern/107944 net [wi] [patch] Forget to unlock mutex-locks s kern/79323 [wi] authmod setup with ifconfig on dlink wlan card fa p kern/77913 net [wi] [patch] Add the APDL-325 WLAN pccard to wi(4) o kern/59183 imp [wi] wi problems with wi_cmd o kern/43625 imp [wi] wi(4) driver hangs after long data transfers o kern/39928 imp [wi] wi0 timeouts and hangs the system while sending d 14 problems total. Problem reports for tag 'wlan': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/132885 net [wlan] 802.1x broken after SVN rev 189592 1 problem total. Problem reports for tag 'wlan_xauth': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/130311 net [wlan_xauth] [panic] hostapd restart causing kernel pa 1 problem total. Problem reports for tag 'wpa': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/122331 [wpa] [panic] 7.0-RELEASE && panic in Wifi area with W 1 problem total. Problem reports for tag 'wpi': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/136943 net [wpi] [lor] wpi0_com_lock / wpi0 o kern/133613 net [wpi] [panic] kernel panic in wpi(4) o kern/128917 net [wpi] [panic] if_wpi and wpa+tkip causing kernel panic o kern/127102 net [wpi] Intel 3945ABG low throughput o kern/123256 net [wpi] panic: blockable sleep lock with wpi(4) o kern/121872 net [wpi] driver fails to attach on a fujitsu-siemens s711 f kern/121720 thompsa [wpi] wpi doesnt work if kernel has options SCHED_ULE o kern/120493 benjsc [wpi] if_wpi.ko fails to load on a Toshiba Satellite P 8 problems total. Problem reports for tag 'xe': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/97401 [xe] Xircom CreditCard Ethernet 10/100, attach returne o kern/85266 net [xe] [patch] xe(4) driver does not recognise Xircom XE 2 problems total. Problem reports for tag 'xen': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/136271 kmacy [xen] XEN kernel fails to build on 8-CURRENT i386 o kern/136251 xen [xen] [patch] xn0 doesn't DHCP o kern/135421 xen [xen] FreeBSD Xen PVM DomU network failure - netfronc. o kern/135179 xen [xen] Xen domU does not properly reboot o kern/135178 xen [xen] Xen domU outgoing data transfer stall when TSO i o kern/135069 xen [xen] FreeBSD-current/Xen SMP doesn't function at all o kern/135008 xen [xen] FreeBSD-current/Xen timecounter jumps o kern/134926 xen [xen] [panic] FreeBSD-current Xen DomU networking pani o i386/124516 kmacy [xen] FreeBSD-CURRENT Xen Kernel Segfaults when config o kern/118734 [xen] FreeBSD 6.3-RC1 and FreeBSD 7.0-BETA 4 fail to b 10 problems total. Problem reports for tag 'xfs': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/119298 kan [xfs] [patch] 7-Stable/sys/modules/xfs fails to make f o kern/102943 kan [xfs] kernel crash when unloading the xfs kernel modul 2 problems total. Problem reports for tag 'xl': S Tracker Resp. Description -------------------------------------------------------------------------------- p kern/136409 yongari [xl] doesn't compile with TX checksumming enabled o kern/132669 net [xl] 3c905-TX send DUP! in reply on ping (sometime) o kern/129352 net [xl] [patch] xl0 watchdog timeout o kern/113895 net [xl] xl0 fails on 6.2-RELEASE but worked fine on 5.5-R o kern/83354 [xl] When two 3c905's are in a Vectra Vl dhcp fails to s kern/18558 silby [xl] 3COM 905B realy realy slow when using multiple ad 6 problems total. Problem reports for tag 'zfs': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/138244 fs [zfs] dd(1) attempts bitwise transfer onto ZFS pool f kern/137037 fs [zfs] [hang] zfs rollback on root causes FreeBSD to fr o kern/136942 fs [zfs] zvol resize not reflected until reboot o kern/136218 fs [zfs] Exported ZFS pools can't be imported into (Open) o kern/135594 fs [zfs] Single dataset unresponsive with Samba o kern/135546 fs [zfs] zfs.ko module doesn't ignore zpool.cache filenam o kern/135480 fs [zfs] panic: lock &arg.lock already initialized o bin/135314 fs [zfs] assertion failed for zdb(8) usage o kern/135050 fs [zfs] ZFS clears/hides disk errors on reboot f kern/134496 fs [zfs] [panic] ZFS pool export occasionally causes a ke o kern/134491 fs [zfs] Hot spares are rather cold... o kern/133373 fs [zfs] umass attachment causes ZFS checksum errors, dat f kern/133150 fs [zfs] Page fault with ZFS on 7.1-RELEASE/amd64 while w o kern/133134 fs [zfs] Missing ZFS zpool labels o kern/132551 fs [zfs] ZFS locks up on extattr_list_link syscall p kern/132337 pjd [zfs] [panic] kernel panic in zfs_fuid_create_cred f kern/132068 fs [zfs] page fault when using ZFS over NFS on 7.1-RELEAS f kern/130133 kmacy [panic] [zfs] 'kmem_map too small' caused by make clea o kern/129148 fs [zfs] [panic] panic on concurrent writing & rollback o kern/129059 fs [zfs] [patch] ZFS bootloader whitelistable via WITHOUT o kern/128633 fs [zfs] [lor] lock order reversal in zfs o kern/128514 fs [zfs] [mpt] problems with ZFS and LSILogic SAS/SATA Ad o kern/127492 fs [zfs] System hang on ZFS input-output f kern/127375 kmacy [zfs] If vm.kmem_size_max>"1073741823" then write spee f kern/126703 kmacy [panic] [zfs] _mtx_lock_sleep: recursed on non-recursi s kern/125738 fs [zfs] [request] SHA256 acceleration in ZFS o kern/125644 fs [zfs] [panic] zfs unfixable fs errors caused panic whe f kern/125413 kmacy [zfs] [panic] Panic when doing zfs raidz with gmirror f kern/125358 linimon [zfs] missing .. link in zfs snapshot f bin/124424 fs [zfs] zfs(8): zfs list -r shows strange snapshots' siz f sparc/123566 kmacy [zfs] zpool import issue: EOVERFLOW o kern/122888 fs [zfs] zfs hang w/ prefetch on, zil off while running t o kern/122173 fs [zfs] [panic] Kernel Panic if attempting to replace a o kern/121770 fs [zfs] ZFS on i386, large file or heavy I/O leads to ke o bin/121366 fs [zfs] [patch] Automatic disk scrubbing from periodic(8 o conf/120228 rc [zfs] [patch] Split ZFS volume startup / ease ZFS swap f kern/120210 kmacy [zfs] [panic] reboot after panic: solaris assert: arc_ f kern/119735 fs [zfs] geli + ZFS + samba starting on boot panics 7.0-B o misc/118855 fs [zfs] ZFS-related commands are nonfunctional in fixit o kern/118320 fs [zfs] [patch] NFS SETATTR sometimes fails to set file o kern/117943 kmacy [zfs] zfs snapshot directory could not access from NFS o kern/117158 fs [zfs] zpool scrub causes panic if geli vdevs detach on o bin/115361 fs [zfs] mount(8) gets into a state where it won't set/un o kern/113180 fs [zfs] Setting ZFS nfsshare property does not cause inh 44 problems total. Problem reports for tag 'zlib': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/118317 [zlib] [patch] Incorrect gzeof() return value in zlib o kern/43616 [zlib] [patch] static-ize some functions in sys/net/zl 2 problems total. Problem reports for tag 'zyd': S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/138292 net [zyd] [usb8] "zyd0: device timeout" with ZyXEL G-202 f usb/117150 weongyo [zyd] usb zyd device under moderate load panics system 2 problems total. From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 11:16:02 2009 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BE1210656E4; Mon, 31 Aug 2009 11:16:02 +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 19A228FC20; Mon, 31 Aug 2009 11:16:02 +0000 (UTC) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VBG1JS084688; Mon, 31 Aug 2009 11:16:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VBF2mK084336; Mon, 31 Aug 2009 11:15:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 31 Aug 2009 11:15:02 GMT Message-Id: <200908311115.n7VBF2mK084336@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-bugbusters@FreeBSD.org, freebsd-bugs@FreeBSD.org Cc: Subject: PRs recommended for committer evaluation by the bugbusting team X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-bugbusters@FreeBSD.org, freebsd-bugs@FreeBSD.org List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 11:16:02 -0000 This is an experimental report from the bugbusting team containing PRs that we think are ready for evaluation by any interested committer. The idea is to try to match up people who are interested in going through the PRs with committers that are interested in helping. It is generated from the file /home/linimon/public_html/recommended.prs on freefall. This is intended to be a highly-filtered list to see if we can get more people interested in bugbusting without being overwhelmed by the large number of PRs. An HTML version of this report is available at http://people.freebsd.org/~linimon/studies/prs/recommended_prs.html. Please give feedback on this report to linimon@FreeBSD.org. Thanks. 137436 freebsd- kern open non-criti low current-us [puc] [patch] Fix puc driver to support newer Timedia serial card (4027) 133786 freebsd- kern open serious high current-us [netinet] [patch] ip_input might cause kernel panic 133733 freebsd- kern suspended non-criti low current-us [pci] [patch] Incorrect record in pci_vendors for Broadcom MiniPCI-E card 133239 freebsd- kern open non-criti low current-us [ae] [jme] [patch] if_jme can assign duplicate MAC address 132785 freebsd- usb open non-criti low current-us [usb] [patch] Gemtech remote powersocket is classed as a HID device rather than ugen 132193 freebsd- docs open non-criti low current-us [patch] description in the malo(4) manpage incorrect 131995 freebsd- kern open serious medium current-us [nfs] Failure to mount NFSv4 server 131314 freebsd- amd64 open serious low current-us [modules] [panic] large modules fail to load on amd64 129173 freebsd- usb open non-criti low current-us [uplcom] [patch] Add support for Corega CG-USBRS232R as a serial port 128608 freebsd- kern open non-criti low current-us [pccbb] [patch] add support for powering down and up Cardbus cards 127581 freebsd- kern open non-criti low current-us [patch] [acpi_sony] Add support for more Sony features 127549 freebsd- usb suspended non-criti low current-us [umass] [patch] Meizu MiniPlayer M6 (SL) requires some quirks 127331 edwin bin analyzed non-criti medium current-us [patch] top(1) only shows cputime used by one process thread 125139 philip kern analyzed non-criti low current-us [patch] [ata] bugs in ATAPI CD tray control 124621 freebsd- kern feedback non-criti low current-us [ext3] [patch] Cannot mount ext2fs partition 124064 freebsd- kern open serious high current-us [ar] [patch] cannot handle >16 serial number with Intel MatrixRAID 123021 freebsd- bin analyzed non-criti low current-us [patch] mount(8): mount -p shows incorrect mount options [regression] 121899 freebsd- kern open serious medium current-us [ar] [patch] Drive detached from Intel Matrix RAID and returned comes up as entirely new ataraid 121755 freebsd- usb open serious high current-us [ohci] [patch] Fix panic after ohci/uhub cardbus device eject 120515 freebsd- kern open non-criti low current-us [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc wake memory 120073 freebsd- kern open non-criti low current-us [new driver] [patch] add support for Meinberg PCI-based GPS reference clock 118238 freebsd- kern analyzed serious medium current-us [bce] [patch] bce driver shows "no carrier" on Intel SBXD132 blade (based on IBM HS21) 118222 freebsd- kern open serious high current-us [pxeboot] [patch] FreeBSD 7.0 PXE + NFS / "Can't work out which disk we are booting from" on AMD CPU 116697 kmacy kern analyzed non-criti low current-us [net] [patch] ifconfig's name argument has no effect on /dev/net/ 116643 freebsd- bin open non-criti low current-us [patch] [request] fstat(1): add INET/INET6 socket details as in NetBSD and OpenBSD 115623 imp kern analyzed non-criti low current-us [cardbus] [patch] Xircom CardBus Ethernet II 10/100 Adapter (CBE2-100) doesn't work [regression] 115196 bushman kern open non-criti medium current-us [libc] [patch] [request] Implement getgroupmembership(3) for massive performance gain when using LDAP or Winbind 113060 freebsd- usb analyzed non-criti low current-us [usbdevs] [patch] Samsung printer not working in bidirectional mode 102834 freebsd- bin analyzed serious low current-us [patch] mail(1) hangs on the sigsuspend system call in popen.c 102211 freebsd- kern open serious high current-us [ar] [patch] detach raid member and reboot will cause panic (ICH7) 100018 freebsd- bin open non-criti low current-us [patch] newsyslog(8) does not check size if time_at is used 99800 freebsd- bin open non-criti low current-us [libc] [patch] Add support for profiling multiple executions 96840 freebsd- bin analyzed serious low current-us [libc] [patch] getgrent() does not return large groups via NIS 95459 freebsd- kern open serious high current-us Rebooting the system while rebuilding RAID (Intel MatrixRAID) results in data loss 90815 freebsd- kern analyzed serious medium current-us [smbfs] [patch] SMBFS with character conversions sometimes hangs 90687 avg bin open non-criti low current-us [patch] side effect of -delete option of find(1) 74453 freebsd- usb suspended non-criti low current-us [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL11R chipset) does not work 73337 freebsd- conf open non-criti low current-us [nsswitch.conf] [patch] potential invalid free From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 11:20:07 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B1A61065697 for ; Mon, 31 Aug 2009 11:20:07 +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 5281F8FC0C for ; Mon, 31 Aug 2009 11:20:03 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VBK3o8084812 for ; Mon, 31 Aug 2009 11:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VBK3g5084811; Mon, 31 Aug 2009 11:20:03 GMT (envelope-from gnats) Resent-Date: Mon, 31 Aug 2009 11:20:03 GMT Resent-Message-Id: <200908311120.n7VBK3g5084811@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Patroklos Argyroudis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 916E410656A6 for ; Mon, 31 Aug 2009 11:10:01 +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 7FB498FC2D for ; Mon, 31 Aug 2009 11:10:01 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VBA1pn012200 for ; Mon, 31 Aug 2009 11:10:01 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7VBA1Op012199; Mon, 31 Aug 2009 11:10:01 GMT (envelope-from nobody) Message-Id: <200908311110.n7VBA1Op012199@www.freebsd.org> Date: Mon, 31 Aug 2009 11:10:01 GMT From: Patroklos Argyroudis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138388: NULL pointer dereference in pcfclock_open() in file sys/dev/ppbus/pcfclock.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 11:20:07 -0000 >Number: 138388 >Category: kern >Synopsis: NULL pointer dereference in pcfclock_open() in file sys/dev/ppbus/pcfclock.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 31 11:20:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Patroklos Argyroudis >Release: 8.0-CURRENT >Organization: census, inc >Environment: N/A >Description: There is a NULL pointer dereference in pcfclock_open() in file sys/dev/ppbus/pcfclock.c at line 153. The NULL check at line 157 should be before the dereference of sc at line 153. >How-To-Repeat: N/A >Fix: Patch attached. Patch attached with submission follows: --- ./sys/dev/ppbus/pcfclock.c.orig 2009-08-28 16:24:15.000000000 +0300 +++ ./sys/dev/ppbus/pcfclock.c 2009-08-28 16:25:34.000000000 +0300 @@ -150,13 +150,16 @@ pcfclock_open(struct cdev *dev, int flag, int fms, struct thread *td) { struct pcfclock_data *sc = dev->si_drv1; - device_t pcfclockdev = sc->dev; - device_t ppbus = device_get_parent(pcfclockdev); + device_t pcfclockdev; + device_t ppbus; int res; if (!sc) return (ENXIO); + pcfclockdev = sc->dev; + ppbus = device_get_parent(pcfclockdev); + ppb_lock(ppbus); res = ppb_request_bus(ppbus, pcfclockdev, (flag & O_NONBLOCK) ? PPB_DONTWAIT : PPB_WAIT); >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 11:20:07 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CF701065698 for ; Mon, 31 Aug 2009 11:20:07 +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 AC4038FC27 for ; Mon, 31 Aug 2009 11:20:03 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VBK3AG084825 for ; Mon, 31 Aug 2009 11:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VBK395084824; Mon, 31 Aug 2009 11:20:03 GMT (envelope-from gnats) Resent-Date: Mon, 31 Aug 2009 11:20:03 GMT Resent-Message-Id: <200908311120.n7VBK395084824@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Patroklos Argyroudis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F536106568F for ; Mon, 31 Aug 2009 11:16:00 +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 7DA758FC14 for ; Mon, 31 Aug 2009 11:16:00 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VBG0gk012623 for ; Mon, 31 Aug 2009 11:16:00 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7VBG0ml012620; Mon, 31 Aug 2009 11:16:00 GMT (envelope-from nobody) Message-Id: <200908311116.n7VBG0ml012620@www.freebsd.org> Date: Mon, 31 Aug 2009 11:16:00 GMT From: Patroklos Argyroudis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138389: NULL pointer dereference in usb_endpoint_foreach() in file sys/dev/usb/usb_device.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 11:20:07 -0000 >Number: 138389 >Category: kern >Synopsis: NULL pointer dereference in usb_endpoint_foreach() in file sys/dev/usb/usb_device.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 31 11:20:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Patroklos Argyroudis >Release: 8.0-CURRENT >Organization: census, inc >Environment: N/A >Description: There is a NULL pointer dereference in usb_endpoint_foreach() in file sys/dev/usb/usb_device.c at line 370. The check against NULL at line 373 should be before the dereference of udev at line 370. >How-To-Repeat: N/A >Fix: Patch attached. Patch attached with submission follows: --- ./sys/dev/usb/usb_device.c.orig 2009-08-28 16:27:54.000000000 +0300 +++ ./sys/dev/usb/usb_device.c 2009-08-28 16:29:01.000000000 +0300 @@ -367,12 +367,14 @@ struct usb_endpoint * usb_endpoint_foreach(struct usb_device *udev, struct usb_endpoint *ep) { - struct usb_endpoint *ep_end = udev->endpoints + udev->endpoints_max; + struct usb_endpoint *ep_end; /* be NULL safe */ if (udev == NULL) return (NULL); + ep_end = udev->endpoints + udev->endpoints_max; + /* get next endpoint */ if (ep == NULL) ep = udev->endpoints; >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 11:06:08 2009 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66E061065696 for ; Mon, 31 Aug 2009 11:06:08 +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 4C0368FC18 for ; Mon, 31 Aug 2009 11:06:08 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VB68V0069634 for ; Mon, 31 Aug 2009 11:06:08 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VB65fH069630 for freebsd-bugs@FreeBSD.org; Mon, 31 Aug 2009 11:06:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 31 Aug 2009 11:06:05 GMT Message-Id: <200908311106.n7VB65fH069630@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: FreeBSD bugs list X-Mailman-Approved-At: Mon, 31 Aug 2009 11:27:49 +0000 Cc: Subject: Current problem reports X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 11:06:08 -0000 (Note: an HTML version of this report is available at http://www.freebsd.org/cgi/query-pr-summary.cgi .) 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 -------------------------------------------------------------------------------- o ports/138386 multimedia [multimedia/mkvtoolnix] Port lacks the Qt-Gui and conf f ports/138385 Ports update o kern/138384 NULL pointer dereference in ipsd_dump() in file sys/de o kern/138383 NULL pointer dereference in mach64_dma_vertex() in fil f ports/138382 az [PATCH] www/p5-Catalyst-Controller-HTML-FormFu: [SUMMA o kern/138381 kmacy [cxgb] [patch] NULL pointer dereference in t3_set_tcb_ o kern/138379 scsi [aic7xxx] [patch] Memory leak in output_listing() in f o kern/138378 net [altq] [patch] Memory leak in hfsc_class_modify() in f o ports/138377 fjoe misc/mc fails to build due to autconf problem o kern/138376 scsi [cam] [patch] Memory leak in scsi_low_attach_xs() in f o kern/138375 [boot] [patch] Memory leak in ficlIncludeFile() in fil o kern/138374 [boot] [patch] Resource leak in command_help() in file o ports/138373 apache www/apache22 accf_data required at apache startup o ports/138372 [UPDATE] security/prelude-lml to 0.9.15 o ports/138371 [UPDATE] security/libprelude to 0.9.24.1 o ports/138370 girgen www/mod_jk-apache2: Makefile error of mod_jk-ap2-1.2.2 f ports/138369 araujo [PATCH] devel/autodist: update to 1.5 o ports/138368 security/barnyard2, new port submission, correct a typ o kern/138367 fs [tmpfs] [panic] 'panic: Assertion pages > 0 failed' wh f ports/138366 araujo [PATCH] benchmarks/thrulay: update to 0.9 f ports/138365 araujo [PATCH] games/tornado: update to 1.4 o ports/138364 imp [PATCH] emulators/gxemul: update to 0.4.7.2 o ports/138363 roam mail/vpopmail doesn't build with WITH_MAILDROP enabled f ports/138362 amdmi3 [PATCH] games/d2x-xl: chase rerolled distfile f ports/138361 x11/libxcb: alleviate dependency on python r ports/138360 portmgr repocopy request: from editors/kile to editors/kile-kd o ports/138359 miwi New Port: devel/p5-Devel-REPL A modern perl interactiv o ports/138358 miwi New Port: devel/p5-MooseX-Object-Pluggable Make your c f ports/138357 araujo [PATCH] net/latd: update to 1.28 o ports/138356 ruby ports-mgmt/portupgrade: pkgdb -F + ALT_PKGDEP => broke f ports/138355 net/freeradius2 can't install from package when /usr/p f ports/138354 araujo [PATCH] math/ltl: update to 1.9.1 f ports/138353 araujo [PATCH] www/typo: update to 5.3 o ports/138352 [PATCH] databases/xapian-core update to 1.0.15 o ports/138351 [maintainer update] Update devel/p5-Date-Calc to 5.7 o kern/138350 fs [ufs] [patch] UFS_EXTATTR static int prototyping error o ports/138349 perl [PATCH] Fixing a bug in www/p5-HTTP-Recorder f ports/138348 patch to java/openjdk6 so that build works again o misc/138347 [patch] [nanobsd] nanobsd build is broken due to mdcon o ports/138346 miwi Update Port: www/xpi-foxyproxy to 2.14 o ports/138345 [patch] graphics/wildmagic: update to latest version o misc/138344 [install] floppies directory not found o ports/138343 miwi Update: devel/svnkit o ports/138342 miwi Update: devel/subclipse o kern/138341 [nanobsd] [patch] 8.0-BETA3: nanobsd build broken due o ports/138340 miwi Update: java/eclipse-EPIC o ports/138339 miwi Update: www/mod_auth_ldap o ports/138338 python [maintainer-update] UNBREAK graphics/py-poppler o ports/138337 lev [patch] www/neon28 update to 28.6 o ports/138335 miwi [Maintainer Update]graphics/mapnik:update to 0.6.1 o ports/138334 [maintainer update] net-mgmt/noc: Fix script for rc.d o ports/138333 miwi [patch] games/robocode: update to latest version; take o kern/138332 net [tun] [lor] ifconfig tun0 destroy causes LOR on 8.0-BE o bin/138331 sam FreeBSD 8.0-beta3 wpa_supplicant(8) lost auth f ports/138330 gnome x11/gnome2: in freebsd 8.0 beta3, hald segfaults withi o ports/138329 araujo [PATCH] mail/tpop3d: update to 1.5.5 f ports/138328 araujo [PATCH] mail/proxsmtp: update to 1.8 o ports/138327 miwi [Maintainer Update]www/ilias:update to 3.10.9 o ports/138326 [New port] security/barnyard2: output system for Snort o ports/138325 araujo [PATCH] audio/mp3info: Changed Makefile. Take maintain o ports/138324 araujo [PATCH] devel/ocaml-ounit: update to 1.0.3 f ports/138323 araujo [PATCH] audio/mp3c: update to 0.31 f ports/138321 araujo [PATCH] ports-mgmt/pver: update to 0.15 o amd64/138318 amd64 [libc] [patch] select(2) in i386 emulation can overwri f ports/138317 araujo [PATCH] net/haproxy-devel: update to 1.3.20 f ports/138315 araujo [PATCH] net-mgmt/fetchconfig: update to 0.17 f ports/138314 araujo [PATCH] misc/sloccount: update to 2.26 o ports/138313 miwi [MAINTAINER] net/tintin++-devel: update to 1.99.7 o ports/138312 gnome [PATCH]textproc/link-grammar: update to 4.5.10 f ports/138311 araujo [PATCH] misc/gnuls: update to 7.5 o ports/138309 [maintainer update] devel/ptlib26 update o ports/138308 [maintainer-update][patch] devel/diffuse: Correct wron o stand/138307 standards posix_memalign has incorrect behaviour if size == 0 f ports/138306 databases/mysqlard - fix mysqlard.conf install with pk o ports/138302 miwi [PATCH]textproc/wv: update to 1.2.6 and take maintaine o ports/138301 [patch] port mail/postfix update to version 2.6.5 f ports/138300 wxs [PATCH] mail/dovecot 1.2.4 breaks GSSAPI Authenticatio o ports/138299 New port: www/mod_flickr, Apache module for accessing f ports/138298 [PATCH]sysutils/file: update to 5.03 o ports/138296 araujo [PATCH] net/ldapdiff: Changed Makefile, added pkg-mess o kern/138292 net [zyd] [usb8] "zyd0: device timeout" with ZyXEL G-202 o kern/138288 [radeon] RADEON(0): No valid MMIO address [regression] o ports/138287 python [patch] converters/py-pisa fix dependency to py-report f ports/138284 security/openssh-portable: OpenSSH GSSAPI Key Exchange o docs/138283 doc [patch] Porter's Handbook: add entry for KDE 4 o ports/138272 multimedia graphics/exiv2: add patch from upstream o docs/138269 blackend [patch] [Handbook] add a section about installing a ra o ports/138268 brix [PATCH] irc/bitlbee: Use -u ${user} option instead of o ports/138267 port update: www/videocache o kern/138266 net [panic] kernel panic when udp benchmark test used as r f ports/138261 araujo [PATCH] finance/opentaxsolver: update to 6.04 o ports/138259 Update ports: emulators/sdlmame-devel Update to 0.133u o ports/138258 update print/hplip3 to 3.9.8 f ports/138253 araujo [PATCH] net/cnupm: update to 3.12 o ports/138252 Compile Issue: databases/firebird20-client f ports/138250 miwi [MAINTAINER] net-im/centerim-devel: Update to 4.22.8-3 f ports/138248 audio/sox bump to 14.2.0 o bin/138245 [patch] find(1): find -newerXB doesn't work o kern/138244 fs [zfs] dd(1) attempts bitwise transfer onto ZFS pool f ports/138242 trasz [PATCH] audio/qsynth: update to 0.3.4, fix default MID o ports/138239 [PATCH] audio/fluidsynth: update to 1.0.9 o kern/138235 [ata] Hotswap with SATA drives and AHCI enabled does n o ports/138234 [new port] mail/milter-manager 1.2.0 o ports/138233 python [Update]mail/py-turbomail:update to 3.0 o ports/138232 [new port] mail/opendkim 1.0.0 o ports/138229 hrs print/acroread[89]: error while loading shared librar o ports/138228 portmgr [bsd.port.mk] New opt-in knob to compile ports with SS f ports/138223 araujo [PATCH] irc/ircservices: update to 5.0.64 o amd64/138220 amd64 [patch] FreeBSD/amd64 can't see all system memory f ports/138219 araujo [PATCH] www/rejik: update to 3.2.2 f ports/138216 araujo [PATCH] www/havp: update to 0.91 f ports/138215 araujo [PATCH] sysutils/conky: update to 1.7.2 o ports/138213 multimedia Apply SqueezeCenter patches to audio/faad that enable f i386/138211 gavin [loader] Boot fails on Intel X5550 o amd64/138210 acpi [acpi] acer aspire 5536 ACPI problems (S3, brightness, o ports/138209 clsung ports/converters/p5-JSON-XS 2.25 requires common::sens o conf/138208 rc [rc] [patch] Making rc.firewall (workstation) IPv6 awa o www/138207 www ASUS P6T Deluxe V2 - tested motherboard for AMD64 o docs/138206 doc [patch] ntp(1): not enabled function, and false manual o ports/138205 wes mail/mimedefang port is stale o docs/138204 doc invalid reference in manual less(1) o kern/138202 fs mount_msdosfs(1) see only 2Gb o ports/138200 [Maintainer Update]net/torsocks:update to 1.0,1 f ports/138195 www/wwwcount IPv6 and NFS lock enable o ports/138193 mm net-im/jabberd: Chase resolver component removal. o ports/138190 pgollucci [PATCH] mail/milter-greylist-devel: Update to 4.3.3 o ports/138189 [MAINTAINER] devel/geany: update to 0.18 o ports/138186 yzlin [patch] - update sysutils/phplogcon to version 2.7.2 f ports/138184 garga [PATCH] x11-wm/awesome: update to 3.3.3 f ports/138183 garga [PATCH] x11/xcb-util: update to 0.3.6 o ports/138181 [MAINTAINER] devel/doxygen: update to 1.6.1 o ports/138179 ahze Fix sysutils/serpentine to not require muine o ports/138178 novel New gnutls (2.8.3) breaks databases/freetds and databa f kern/138177 gavin [ipfilter] FreeBSD crashing repeatedly in ip_nat.c:257 o usb/138175 usb System cannot boot, when USB reader without any card o usb/138172 usb Additional dev id for u3g (Option mini PCIe) o kern/138171 [hang] FreeBSD hangs on boot on HP DL580 G5 system (16 o ports/138170 Update: x11/xlockmore to 5.28 o kern/138169 bsam emulators/linux_base-f8: Linux emulation do not list a f ports/138167 New upstream for converters/enca o ports/138166 lippe [MAINTAINER] www/p5-Catalyst-Plugin-RunAfterRequest: U o ports/138164 [NEW PORT] security/p5-Net-Radius-Server: Framework fo f ports/138162 multimedia/vlc: Relax libtar dependency. o ports/138160 yzlin New Port: sysutils/py-filelike o ports/138159 [PATCH] sysutils/rsyslog mark as deprecated o ports/138158 [NEW PORT] editors/p5-Vimana: Vim script manager f ports/138155 araujo [PATCH] irc/inspircd: update to 1.1.20 f ports/138154 araujo [PATCH] devel/libmonetra: update to 7.0.4 o ports/138152 lippe [patch] - update sysutils/rsyslog4 to version 4.4.0 o bin/138150 [mtree] [patch] fix for src/etc/Makefile mtree o bin/138146 [patch] w(1) and pkill(1) don't work on core files wit o ports/138144 openoffice editors/openoffice.org-3: 3.1.0 crashes on closing o ports/138140 mm [PATCH] net-im/jabber-pyicq-transport: update to 0.8.1 o ports/138139 portmgr [patch] teach Mk/bsd.autotools.mk about libtoolize o usb/138138 usb Novatel U760 for u3g (Verizon and Bell Canada) o ports/138137 lippe [NEW PORT] www/p5-Catalyst-Plugin-RunAfterRequest: Run o kern/138136 [new driver] [x86emu] [patch] sys/contrib: add x86emu f kern/138135 yongari [fxp] truncated-ip - 2 bytes missing! on fxp(4) [regre o bin/138131 [patch] pstat(8): pstat -t coredumps when reading from o kern/138130 net [netinet] [patch] Resource leak in LibAliasRefreshModu o ports/138128 sobomax net/asterisk stays longer in "wait" when app_meetme is o ports/138127 skv [patch]: lang/parrot update to 1.5.0; add targets for o i386/138126 i386 Kernel panic trap 12 on bigger load o kern/138125 [kernel] [diff] bad style in kern_clock.c (confusing a o usb/138124 usb [usb8] Axed uaudio functionality in the usbng (alterna o ports/138121 mail/fetchmail: fetchmail-6.3.11/SSL_set_fd() bad free o ports/138120 python New Port: x11-toolkits/py-traitsbackendwx o usb/138119 usb MultiBay CDROM (propably on USB bus) is not recognized o kern/138117 [kernel] [panic] spin lock held too long o ports/138116 lippe [Maintainer] devel/m17n-lib: Update to 1.5.5 f ports/138113 araujo [PATCH] net/abills: update to 0.41 o ports/138111 [bsd.octave.mk] Issues with octave-forge and octave po o kern/138109 fs [extfs] [patch] Minor cleanups to the sys/gnu/fs/ext2f o ports/138108 amdmi3 [NEW PORT] sysutils/smartmontools-snapshot: S.M.A.R.T. o www/138107 www support o ports/138105 philip [patch] games/wesnoth: fix fribidi2 detection and use o ports/138099 pgollucci [patch] port devel/cvs2svn update to version 2.3.0 f ports/138093 miwi [PATCH] print/pear-File_PDF: update to 0.3.2 o ports/138090 lippe [MAINTAINER] audio/waheela: Update to 0.2.2 o ports/138088 miwi [Update]www/jetty:update 6.1.19 p conf/138087 dougb [patch] fix typo in etc/rc.d/ipsec f ports/138084 araujo [PATCH] net-p2p/giFToxic: update to 0.0.10 f ports/138083 araujo [PATCH] sysutils/coreutils: update to 7.5 o ports/138082 araujo [PATCH] devel/adacurses: Fixed problem with libtool. o ports/138080 vs devel/gccxml fails to compile on powerpc o ports/138074 pgollucci [patch] port devel/viewvc update to version 1.1.2 o ports/138070 lev [PATCH] devel/mingw32-bin-msvcrt: update to r3.16.a.13 o ports/138068 sobomax misc/libpri update o ports/138063 vbox [patch] emulators/virtualbox: does NOT respect CC and o bin/138061 Core dump in host(1) o bin/138060 [hang] powerd(8) hangs the system solid f ports/138059 miwi [PATCH] net/pear-Net_SMTP: update to 1.3.3 o ports/138056 multimedia multimedia/ogle: buggy pre-configure o ports/138055 pgollucci net/luasocket namespace clash with www/lighttpd mod_ma f ports/138054 araujo [PATCH] devel/sfslite: update to 1.2.7 o ports/138052 araujo [PATCH] science/hdf5: update to 1.8.3 o ports/138051 araujo [PATCH] science/hdf5: update to 1.6.9 a ports/138050 cy [PATCH] security/fwbuilder: update to 3.0.6 a ports/138049 cy [PATCH] security/libfwbuilder: update to 3.0.6 o ports/138047 araujo [NEW PORT] shells/jailkit: Jailkit is a set of utiliti o kern/138046 net [tcp] tcp sockets stay in SYN_SENT even after receivin o bin/138043 [patch] fsck_ffs(8) broken, partial patch f ports/138038 miwi [Update]biology/py-biopython:update to 1.5.1 o ports/138032 miwi Port update: games/cosmosmash - Update to v1.4.3 f ports/138031 edwin Port update: devel/flatzebra - Update to v.0.1.3 o amd64/138029 amd64 [panic] periodically kernel panic and reboot o bin/138026 sysinstall(8) and and fdisk(8) sets slice flag to acti o bin/138025 sysinstall(8) fails to create big partition o ports/138023 jmelo [maintainer] net/trafshow - update MASTER_SITES o ports/138022 Update Port: www/conkeror to the latest snapshot. f ports/138019 [PATCH] mail/dkimproxy: update to 1.2 o kern/138018 yongari Realtek RTL8168 not initialized in 8-BETA2 o bin/138017 pkg_delete(1) starts segfaulting during upgrading of p o ports/138011 novel configure in security/gnutls 2.8.3 sets SED=/opt/local f ports/138010 makc [PATCH] graphics/kipi-plugins-kde4: Update to version o kern/138004 [lor] allprison/ufs (kern_jail.c:2449 / vfs_subr.c:218 o ports/138003 danfe [PATCH] audio/ardour: update to 2.8.2 o kern/138002 [lor] Three lock order reversals: ufs/devfs, bufwait/d o ports/137999 gerald [PATCH] emulators/wine: fix winebuild o ports/137998 mich [patch] sysutils/libcdio - add missing manpage to plis f ports/137992 [PATCH] The startup script of mail/spamd has several b f ports/137990 Update of net/Scapy 2.0.1_3 f ports/137985 jon security/openssh-portable: [PATCH] sftp crashes on dir o kern/137982 pf [pf] when pf can hit state limits, random IP failures o ports/137976 graphics/sane-backends: Add option to disable IPv6 sup f ports/137974 [update] converters/pdf2djvu: update + fix configure f f ports/137972 mail/fetchmail 6.3.11 crashes with segmentation fault o ports/137967 update to net-mgmt/chillispot rc script o ports/137964 pav [PATCH] Unbreak finance/gnucash build s ports/137963 bsam new port: editors/emacs23 (based on emacs-devel) o ports/137960 miwi [Maintainer Update]x11-toolkits/py-pyqwt:update to 5.2 o ports/137959 [PATCH] irc/bitlbee-otr is not doing SRV lookups for X o ports/137958 ruby ports-mgmt/portupgrade fails with recursive dependency f ports/137957 sysutils/bacula-bat doesn not install some libs f ports/137956 bsam Update Port: editors/emacs to 23.1 o ports/137953 apache [patch] update www/apache22 mpm-itk patch to 20090414- f ports/137945 devel/openocd 0.2.0 fails to find ATMEL SAM-ICE as Seg f ports/137944 araujo [PATCH] security/srm: update to 1.2.10 o amd64/137942 amd64 8.0-BETA2 having problems with Asus M2N-SLI-deluxe mot o ports/137940 glewis java/jdk15, java/jdk16: bsd java does not start from n o ports/137939 acm [update] x11-toolkits/irrlicht to v1.5.1 o ports/137934 timur net/samba33: Samba 3.2 & 3.3.7 panics & DNSSD option o i386/137925 i386 [boot] BTX loader hangs when raid volume present [regr o ports/137924 danfe www/thttpd does not require a config file, yet it is r o www/137922 www Inclusion in Commercial Supporters list o ports/137917 mono [new port] devel/monodevelop-vala: Vala language suppo o ports/137916 mono [new port] devel/monodevelop-java: MonoDevelop Java/IK o ports/137915 mono [new port] devel/monodevelop-database: MonoDevelop dat o ports/137914 mono [new port] devel/monodevelop-boo: MonoDevelop Boo lang o conf/137900 [sysctl] sysctl default values for kern.ipc.shmmax and o ports/137897 jmelo [PATCH] sysutils/stress: update to 1.0.1 a kern/137890 [libkvm] [patch] ps segfaults with -ax when inspecting o ports/137888 araujo [PATCH] lang/pnetbase: Problem fix with build in FreeB f ports/137887 araujo [PATCH] games/powwow: update to 1.2.14 f ports/137886 irc/scrollz fails to compile with any SSL (gnutls conf o kern/137881 net [netgraph] [panic] ng_pppoe fatal trap 12 f ports/137880 [patch] sysutils/memtest86: don't depend on archivers/ f ports/137879 [patch] sysutils/memtest86: allow to install port on a f ports/137877 az update devel/p5-IO-Lambda to 0.12 f ports/137876 miwi [new port] benchmarks/nuttcp: TCP/UDP network testing o usb/137872 usb slow booting on usb flash drive o conf/137870 i18n [locale] en_DK needed f ports/137867 Cannot compile ports/databases/freetds (FreeBSD 8.0 BE o bin/137864 [patch] sysinstall(8): add possibility to shutdown/pow o ports/137858 [PATCH] chinese/ve: fix terminal initial problem f ports/137857 araujo [PATCH] x11-toolkits/ruby-fox16: update to 1.6.19 o ports/137855 portmgr bsd.port.mk - early identify port conflicts o kern/137852 [lor] LOR bufwait/dirhash f usb/137848 usb Page fault when using an USB bluetooth adapter o ports/137843 pgollucci Cannot compile devel/apr (version 1.3.8.1.3.9) on AMD6 o bin/137841 net [patch] wpa_supplicant(8) cannot verify SHA256 signed f ports/137838 araujo [PATCH] www/wacko: update to 4.2 f ports/137835 [PATCH] audio/musicpd o ports/137828 [PATCH] palm/barry: update to 0.14 o ports/137824 Update port: print/latex-etoolbox update to 1.8 o kern/137822 [vesa] [hang] System crashes leaving X when running ve o kern/137819 [libc] [patch] fpurge(3) violates stdio invariant o usb/137806 usb [ukbd] USB keyboard doesn't work until it's unplugged f ports/137804 bsam [patch] mail/sympa5: update to version 5.4.7 o kern/137800 attilio [panic] -CURRENT on sparc64/ia64 immediate "panic: mtx o kern/137795 net [sctp] [panic] mtx_lock() of destroyed mutex o ports/137793 [NEW PORT] sysutils/uhidd: Userland USB HID device dri o ports/137792 nobutaka multimedia/libxine: unbroke with FFMpeg-0.5 o usb/137789 usb Add quirks for EeePC 901 SD card reader f misc/137785 gavin Free BSD on DVD Rom o ports/137783 demon [PATCH]math/glpk: update to 4.39 o ports/137782 python databases/py-postgresql (new port) postgresql driver f o ports/137781 danfe sysutils/sleuthkit: Autopsy-2.20 is required for >=sle o ports/137779 anray [MAINTAINER] textproc/rst.el: update to 5954 o kern/137776 net [rum] panic in rum(4) driver on 8.0-BETA2 o kern/137775 net [netgraph] [patch] Add XMIT_FAILOVER to ng_one2many o www/137772 www Posting on Commercial Vendors list f ports/137766 amdmi3 [PATCH] ports-mgmt/pver: update to 0.15 f ports/137764 python devel/py-setuptools cannot be installed o usb/137763 usb Logitech wireless keyboard media keys not working o docs/137762 doc [handbook] proposed: mention "make delete-old" in sec o ports/137759 dinoex Error compile ports/security/openssl (dtls-bugs-2009- o kern/137758 [amr] [patch] Delete one ")" in amr.c f ports/137755 araujo [PATCH] www/dokeos: update to 1.8.6 f ports/137753 araujo [PATCH] comms/o2sms: update to 3.33 f ports/137751 [new port] audio/jokosher: Multi-track non-linear audi o ports/137748 x11 x11/xorg: "unprocessed" mouse click results in effecti o ports/137747 [patch] Upgrade mail/mailscanner to 4.78.9 f www/137744 www The Open Source Experts o ports/137733 [NEW PORT] sysutils/scribeserver: Aggregating log data o ports/137731 x11 [patch] x11-drivers/xf86-input-vmmouse f ports/137730 [NEW PORT] devel/fb303: The Facebook Bassline o ports/137729 apache www/mod_auth_kerb2 port broken on 8.0-BETA2 f ports/137728 New port: / f ports/137044 girgen databases/postgresql84-server: Crashing the system f ports/137043 [patch] multimedia/mplayer: add SSSE3 support o kern/137042 acpi [acpi] hp laptop's lcd not wakes up after suspend to r o kern/137041 [hang] powerd(8) hangs my systems within aprox 15 min f kern/137037 fs [zfs] [hang] zfs rollback on root causes FreeBSD to fr o usb/137035 usb Sony cyber-shot DSC-P72 not accessible - cam quirks f www/137032 www Addition to Consulting Services page o ports/137020 New port: comms/dfu-programmer Programmer for USB Atme o kern/137014 [panic] vm_page_free_toq: freeing mapped page 0xc34f99 o bin/136994 net [patch] ifconfig(8) print carp mac address f ports/136984 textproc/xerces-2 port no longer needs gcc_pic patch i o kern/136968 fs [ufs] [lor] ufs/bufwait/ufs (open) s ports/136967 gnome security/seahorse-plugins 2.26.2_1 + GPG = fail o ports/136962 girgen package target for databases/postgresql-contrib with 8 f amd64/136957 gavin [boot] [panic] Kernel panic during boot with ProLiant f ports/136955 kde Unable to build /x11/kdelibs3 after updating graphics/ p usb/136950 weongyo [uath] D-Link DWA-120 USB wireless adapter not in "uat o kern/136946 firewire [fwohci] fwohci throws an"unrecoverable error" upon re o kern/136945 fs [ufs] [lor] filedesc structure/ufs (poll) o kern/136944 fs [ffs] [lor] bufwait/snaplk (fsync) o kern/136943 net [wpi] [lor] wpi0_com_lock / wpi0 o kern/136942 fs [zfs] zvol resize not reflected until reboot o misc/136939 cperciva Update serves not serving signatures for releases 6.x f ports/136934 devel/root is marked as BROKEN but OK with GCC 3.4 o ports/136928 apache [PATCH] www/apache20 - suexec resource limits patch o docs/136918 doc [patch] grammar fixes to locking.9 o ports/136917 python [patch] lang/python26: gettext detection o kern/136911 net [netgraph] [panic] system panic on kldload ng_bpf.ko t o ports/136907 araujo [update] net/yate-devel - BUMP PORTREVISION o ports/136906 sobomax [update] net/asterisk12 - BUMP PORTREVISION o ports/136905 araujo [update] net/astfax - BUMP PORTREVISION o kern/136895 cokane [ndis] ndis regression [regression] o ports/136892 mail/prayer: fixup username in prayer-cyclog o misc/136889 embedded [nanobsd] [path] nanobsd error reporting and other ref o kern/136888 [boot] boot0sio timeout much longer when DSR/CTS low o ports/136886 multimedia/mplayer does not play CSS enrypted DVDs f amd64/136884 gavin [install] Try to install FreeBSD 7.2 amd64 on a prolia o ports/136882 kdenlive (multimedia/kdenlive port) project rendering f ports/136878 pgollucci [patch] [mail/mutt-devel] Add new parent/child match k o kern/136876 net [bge] bge will not resume properly after suspend o conf/136875 rc [request] _flags appending o kern/136873 fs [ntfs] Missing directories/files on NTFS volume o ports/136869 anray [update] mail/vm to 8.0.12 o ports/136867 ade devel/libtool port is out of date o kern/136865 fs [nfs] [patch] NFS exports atomic and on-the-fly atomic o bin/136857 [patch] du(1): permit per directory only sum (no herit f ports/136855 pgollucci [PATCH] www/zope: USE_RC_SUBR != yes f ports/136853 dinoex [PATCH] www/apache13-mod_ssl: USE_RC_SUBR != yes o ports/136851 roam [PATCH] sysutils/daemontools: USE_RC_SUBR != yes f ports/136848 pgollucci [PATCH] net-p2p/giFT: USE_RC_SUBR != yes o ports/136843 hrs [PATCH] net/cvsync: USE_RC_SUBR != yes f ports/136841 pgollucci [PATCH] mail/quickml: USE_RC_SUBR != yes f ports/136840 pgollucci [PATCH] japanese/ja-multiskkserv: USE_RC_SUBR != yes o kern/136836 net [ath] atheros card stops functioning after about 12 ho f ports/136825 amdmi3 [update] graphics/gdal: update to 1.6.1 f ports/136819 pgollucci [PATCH] www/vtiger-customerportal: update to 5.0.4 f ports/136818 lme [PATCH] games/hattrickorganizer: update to 1.424 o amd64/136814 amd64 [mxge] mxge driver error o ports/136811 pgollucci New port: www/py-scrapy, a high level scraping and web o kern/136808 acpi [acpi] panic when switching to s3 o ports/136807 anray [PATCH] news/newsstar: update to 1.5.3 o ports/136805 vbox [emulators/virtualbox] panic when unloading kernel mod o ports/136804 stas lang/Ruby19 - 1.9 core-dumps when 'CTRL-C' is entered f ports/136791 pgollucci [PATCH] sysutils/phplogcon: update to 2.7.1 o ports/136783 maho math/octave does not build on 8-CURRENT o kern/136781 pf [pf] Packets appear to drop with pf scrub and if_bridg o ports/136779 pgollucci [PATCH] [MAINTAINER] www/plone3 update to 3.2.3 o kern/136777 [build] Building new Kernel with PF and PAE support fa o ports/136772 itetcu [PATCH] devel/cl-asdf: Respect PORTEXAMPLES + QAT-insp f ports/136764 skreuzer [PATCH] net-mgmt/nagios-plugins: Dont truncate proc a o kern/136762 [ichsmb] ichsmb can't map resources of compatible IXP p usb/136761 usb [usbdevs] [patch] Teach usbdevs / u3g(4) about Huawei o bin/136759 iostat(8) displays wrong I/O statistics with -c 1 o ports/136753 openoffice editors/openoffice.org-3 fails to create proper profil f ports/136751 knu Update port: databases/ruby-bdb fix "make install" pro f kern/136750 gavin [hptrr] driver breaks detection of SuperMicro AOC-SAT2 f ports/136747 pgollucci [PATCH] www/rubygem-passenger: update to 2.2.3 f bin/136733 gavin disklabel(8) handle incorrently f ports/136729 amdmi3 [Maintainer Update] cad/brlcad 7.12.6 -> 7.14.8 o ports/136722 ruby ports-mgmt/portupgrade - portversion issues Stale lock f kern/136718 gavin [ciss] ciss driver issue on HP DL585 o kern/136714 [panic] panic after mdconfig and double mount and sing o docs/136712 doc [handbook] [patch] draft new section on gmirror per pa o gnu/136705 [patch] gdb(1): remove a semicolon from i386-tdep.c . o ports/136701 joerg devel/libbfd not properly marked as conflicting with d o kern/136695 ipfw [ipfw] [patch] fwd reached after skipto in dynamic rul o ports/136686 krion x11/xterm: endless loop when using xterm -hold o ports/136678 itetcu [PATCH] net/rtg: fix custom LOCALBASE build + other Ma p ports/136676 gnome x11/gnome2: hald/GNOME (I guess) (re) mounted /usr and o kern/136669 [libc] [patch] setmode(3) should always set errno on e o docs/136666 doc [handbook] Configure serial port for remote kernel deb o bin/136661 [patch] ndp(8) ignores -f option o ports/136656 dhn [maintainer] www/p5-RT-Authen-ExternalAuth.diff www/p5 f ports/136654 girgen databases/postgresql-contrib fails on make package o kern/136652 firewire [firewire] Firewire-attached "WD My Book 1028" does no o ports/136625 girgen databases/postgresql84-server defaults to 32bit date/t o conf/136624 rc [rc.d] sysctl variables for ipnat are not applied on b o conf/136620 [patch] add watchdogd_flags to defaults/rc.conf o kern/136618 net [pf][stf] panic on cloning interface without unit numb f ports/136611 security/swatch: leaves zombies behind f ports/136607 gerald [PATCH] lang/gcc43 lang/gcc44: add OPTION for devel/bi f ports/136602 wxs Update of ports/irc/ircservices to current o ports/136598 apache [PATCH] www/mod_fastcgi: Fix non-threadsafe function o kern/136482 net [age] Attansic L1 Gigabit Ethernet recieves multicasts o kern/136470 fs [nfs] Cannot mount / in read-only, over NFS o www/136463 www Submission related with Commercial Vendors page f ports/136443 miwi [MAINTAINER] multimedia/flvtool++: update to 1.2.1 o ports/136439 leeym [misc/cmatrix] install console font f ports/136435 gnome security/gnome-keyring + hald prevents umount of usb d o ports/136432 apache www/mod_auth_kerb does not build with MIT Kerberos (se o ports/136427 can't make devel/gwenhywfar o kern/136426 [panic] spawning several dhclients in parallel panics o bin/136419 [regression] pkg_add(1) segfault on adding package whe o kern/136417 [bce] bce BCM5709 "No PHY found on child MII bus" on I o ports/136416 timur net/samba-libsmbclient can not install with SAMBA_PORT p kern/136409 yongari [xl] doesn't compile with TX checksumming enabled o ports/136407 stas lang/ruby18: ruby, -lpthread option need for some libr o bin/136393 vi(1): ^C causes breakage in /usr/bin/vi o kern/136386 [headers] [request] Can the following bluez macros be o ports/136377 [MAINTAINER] science/netcdf: update to 4.0.1 o ports/136375 perky misc/xosd update to 2.2.14 o ports/136371 mm port/graphics/ImageMagick: Stop in /usr/ports/graphics o ports/136366 brooks devel/llvm and devel/llvm-devel don't conflict o kern/136363 [panic] panic: vm_fault: fault on nofault entry, addr: o kern/136361 thompsa [patch] fix regression (kernel panic) in uaudio.c o ports/136359 New port - lang/gnat-gcc44 f ports/136357 itetcu net-p2p/verlihub - small patch for custom prefix worki o kern/136356 [ata] SATA / ICH7 problems o bin/136354 [patch] powerd(8): Support for maxspeed in adaptive mo o threa/136345 threads Recursive read rwlocks in thread A cause deadlock with o conf/136336 [termcap] [patch] missing entry for "center of keypad" f ports/136333 mi devel/gdb6 broken on 8.0-current-amd64 o ports/136331 mnag [update] make databases/sqlite3 compile with tcl85 o kern/136327 [boot] Asus M3N78-EM motherboard cannot boot with gene o bin/136325 cperciva portsnap(8): "portsnap fetch" not useable by other pro f ports/136321 emulation x11-toolkits/linux-pango: please update linux based po o ports/136302 itetcu [patch] ports-mgmt/tinderbox-devel incorrect WEBUI opt o ports/136291 openoffice [patch] editors/openoffice.org-3: gpatch failure o kern/136271 kmacy [xen] XEN kernel fails to build on 8-CURRENT i386 o ports/136270 clsung [maintainer] science/ruby-gphys: update to 0.7.0 o ports/136268 ale databases/php5-pdo_dblib 5.2.10 doesn't work with MSSQ o ports/136259 mich [PATCH] sysutils/libcdio: incorrect japanese manpage i o kern/136251 xen [xen] [patch] xn0 doesn't DHCP o ports/136229 emulation [linux] certain linux apps look for libraries using a f ports/136227 science/Gramps Crashes When Opening a Family File o bin/136223 ee(1) doesn't handle SIGWINCH o docs/136219 doc [patch] gnop(8) manual page bug o kern/136218 fs [zfs] Exported ZFS pools can't be imported into (Open) o kern/136216 [headers] Missing prototype declaration for setfib() o o ports/136203 girgen [Update]databases/py-PyGreSQL:update to 4.0 o bin/136192 [request] import "-3", "-A N", "-B N" options for cal( f ports/136191 krion [PATCH]devel/nasm: update to 2.06 o ports/136188 ftp/proftpd: Upgrade proftpd-mod_sql_tds to version 4. o kern/136182 [ata] Heavy disk writes (e.g. ZFS resilver to a drive) o kern/136168 net [em] em driver initialization fails on Intel 5000PSL m f ports/136163 gabor sysutils/megacli won't work on 7.1, amd64 o bin/136161 sysinstall(8) installs wrong architecture on amd64 o kern/136159 [kthread] [patch] tsleep with PDROP in kthread_suspend f ports/136157 marcus audio/rhythmbox "skips" when caps lock pressed o ports/136151 gabor [patch] port security/amavisd-new add snmp subagent f ports/136137 araujo [PATCH] comms/spandsp: Update to 0.0.5 o ports/136133 New port: net/callweaver Open source IP PBX based on A f ports/136132 Update port: devel/srecord to 1.49 f kern/136130 buildworld of FBSD 6.4 fails f ports/136129 multimedia/kbtv won't build & install on 7.2 o ports/136124 sysutils/bsdstats needs timeout settings o kern/136123 [crypto] device crypto breaks sparc64 kernel o kern/136120 [panic] free: address has not been allocated. f ports/136108 glarkin new port: www/webistrano, web frontend to capistrano o docs/136100 doc change FreeBSD Ports distfiles survey's url to portsco o kern/136098 [ata] ata only getting 33 instead of 133 o ports/136091 pgollucci [PATCH] www/apache22 - suexec resource limits patch o ports/136085 itetcu [Maintainer update] graphics/optar: Patch to compile o ports/136083 nivit New port: devel/py-gitosis Software for hosting git re o bin/136073 des recent nscd(8) changes cause client processes to die w o ports/136072 portmgr Propose new ports category, internationalization s ports/136065 portmgr bsd.port.mk: NO_MANCOMPRESS=yes works for FreeBSD base o ports/136056 ruby ports-mgmt/portupgrade 2009-06-25 breaks textproc/meld o docs/136035 doc ftpchroot(5) omits an important option o ports/136034 pgollucci new port: security/shibboleth2-sp: C++ Shibboleth Serv o docs/136029 doc MALLOC_PRODUCTION knob should be mentioned somewhere, o ports/136028 clsung databases/mysql-proxy - allow multiple backend address o kern/136013 [resolver] Resolver wrong diagnostics o ports/136010 dhn [REPOCOPY] www/conkeror -> www/xpi-conkeror o i386/136008 acpi [acpi] Dell Vostro 1310 will not shutdown (Requires us o docs/135999 doc Netgear GS105v3 should be added to list of switches th o kern/135992 [ar] [2tb] ar(4) driver can NOT drive over 2TB HDD o kern/135989 [NOTES] [patch] device vr support D-Link DFE-520TX, bu o kern/135986 [panic] FreeBSD crashes after VLC close o ports/135972 doceng print/ghostscript8: Fix problem with color prints o ports/135971 gecko [PATCH] www/linux-firefox-devel: Removed mark forbidde f i386/135961 gavin [boot] booting WRAP and Soekris fails from PXE, boot0 o ports/135952 kuriyama security/gnupg 2.0.12 breaks gnome2/seahorse-agent o kern/135948 pf [pf] [gre] pf not natting gre protocol o usb/135938 usb [aue] aue driver only passes traffic in promisc mode o ports/135931 doceng print/ghostscript8 - v8.64 produces empty output for - o kern/135922 fbsd 'ata' driver kernel panic DoS (ioctl) o bin/135918 [boot0] [patch] Make BootEasy compatible with NT Drive o kern/135898 geom [geom] Severe filesystem corruption - large files or l o bin/135893 [patch] vmstat(8): 'vmstat -s -M core' is broken f kern/135891 vwe [acpica] bug in acpica/psparse.c f ports/135867 net-im/gajim 0.12.3: wrong $path in bin file o ports/135859 girgen Update to latest version of databases/py-PyGreSQL f usb/135857 usb RTL8187 Wireless Adapter o kern/135836 net [bce] bce BCM5709 Watchdog after warm boot - ok after f kern/135824 [panic] Fatal trap 12: page fault while in kernel mode o kern/135823 top(1) shows wrong CPU usage for multithreaded applica o bin/135718 [patch] enhance qsort(3) to properly handle 32-bit ali o bin/135700 [patch] Add an ability to run inetd(8) with P_PROTECTE f kern/135692 [mtx] [witness] blockable sleep lock - kernel panic on o ports/135691 ruby ports-mgmt/portupgrade Wrong example in man page of pk o kern/135690 [panic] [ata] ufs_dirbad: /backuphd: bad dir ino 22259 o ports/135689 obrien editors/vim broken (tries to download patch "7.2.041%" o docs/135676 doc FAQ About The FreeBSD Mailing Lists doesn't mention ma o ports/135674 portmgr [PATCH] some PHP-related knobs should be placed before o threa/135673 threads databases/mysql50-server - MySQL query lock-ups on 7.2 o ports/135670 ale [PATCH] databases/mysql50-server: in mysql-client mysq o kern/135667 [lor] LORs causing ufs filesystem corruption on XEN Do o ports/135664 delphij [PATCH]: bsd.ldap.mk: Detect flavour of installed open s ports/135660 wxs Update net/jicmp to 1.0.10 o ports/135659 ade Update devel/automake110 to 1.10.2 o ports/135649 portmgr Mk/bsd.port.mk: [patch], fix documentation relating to o bin/135647 cperciva freebsd-update(8): forces manual merge of every file i p kern/135628 remko [umass] [patch] add a device quirk for Myson Heden 881 o ports/135625 ahze devel/distcc ports has wrong PATCH_SITES locations o ports/135623 netchild mail/claws-mail does not install "enchant" when instal o ports/135622 delphij net/openldap2[34]-client: PKGNAME does not accurately f i386/135609 vwe FreeBSD reboot during high cpu load. o kern/135608 [patch] sysctl(8) should be able to handle byte values o kern/135594 fs [zfs] Single dataset unresponsive with Samba o misc/135588 embedded [nanobsd] simple patch for adding amd64 support o kern/135585 bz [ip6] net.inet6.ip6.accept_rtadv=1 removes a cloning r o power/135576 ppc gdb cannot debug threaded programs on ppc o usb/135575 usb [usbdevs] [patch] Add HTC Wizard phone vid/pid informa o ports/135569 portmgr `check-sanity` not documented in bsd.port.mk o bin/135565 randi [patch] a patch for sysinstall(8) to look at UFS parti o bin/135562 randi sysinstall(8): Filesystem operations should only be pe o bin/135559 randi route table shouldn't automatically be deleted with pr s kern/135550 [sysctl] [request] Feature Request: Manufacturer Infor o kern/135546 fs [zfs] zfs.ko module doesn't ignore zpool.cache filenam o ports/135543 az upgrade games/lincity-ng to 2.0 o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa f ports/135541 [PATCH] math/p5-NetCDF cannot load module with netcdf- o docs/135520 doc [patch] typos in fail(9) o docs/135516 doc pax(1) manual not mentioning chflags unawareness o ports/135508 pgollucci New port: databases/py-postgresql, Python3.x adapter f a ports/135503 wxs lang/python26 upgrade should get mailman too o kern/135502 net [periodic] Warning message raised by rtfree function i o ports/135500 obrien net/rdesktop sound does not work [PATCH] o kern/135497 [ata] JMicron JMB363 controller does not recognize PAT o ports/135486 hrs print/acroread9 crashes after maybe 10 seconds of oper o kern/135485 [modules] [patch] During a shutdown, kernel modules sh o kern/135480 fs [zfs] panic: lock &arg.lock already initialized o kern/135476 ipfw [ipfw] IPFW table breaks after adding a large number o o docs/135475 doc [patch] jot(1) manpage and behaviour differ o ports/135474 ale [PATCH] Mk/bsd.php.mk: add possibility to redefine PHP o ports/135471 secteam [patch] ports-mgmt/portaudit-db packaudit.conf sourced o kern/135469 fs [ufs] [panic] kernel crash on md operation in ufs_dirb o ports/135467 sepotvin can not build java/eclipse with WITHOUT_MOZILLA=yes WI o ports/135466 ruby ports-mgmt/portupgrade leaves orphaned lock files sinc o www/135465 www FreeBSD cvsweb reporting inaccurate logs? o threa/135462 threads [PATCH] _thread_cleanupspecific() doesn't handle delet o kern/135458 dchagin Missing errno translation in Linux getsockopt(,,SO_ERR p kern/135451 yongari [fxp] no wol capability in fxp-driver for 82801-based s i386/135447 amd64 [i386] [request] Intel Core i7 and Nehalem-EP new feat o bin/135444 cperciva freebsd-update(8) failing should be more verbose o ports/135437 skv lang/perl5.8: [regression] /usr/local/lib/perl5/site_p f ports/135433 amdmi3 print/scribus 1.3.3.11_1: Story editor truncates and c f kern/135427 vwe [ath] [hang] System freezes when loading Atheros drive o ports/135426 ale databases/mysql51-server: making package fails with BU o kern/135421 xen [xen] FreeBSD Xen PVM DomU network failure - netfronc. o misc/135420 bugmeister gnats generates broken In-Reply-To headers o kern/135408 [aac] Adaptec 5405 RAID controller hanging under high o ports/135388 mm lang/tcl84 spins on closed tty OR the return of ports/ o usb/135372 usb Quirk report for Teclast TL-C300 usb media player o www/135365 www Broken link in man.cgi o bin/135349 acpi [patch] teach acpidump(8) to disassemble arbitrary mem o usb/135348 usb [umass] USB Drive Hangs with ZFS (JMicron USB2/eSata) o conf/135338 pf startup order seems broken o ports/135337 emulation [PATCH] emulators/linux_base-f10: incorrect bash usage o bin/135333 Non-integer decimal numbers not allowed in sysinstall( o ports/135332 sobomax net/asterisk16 doesn't work with Makefile.local o ports/135330 lippe [PATCH] devel/st: return back missed file into library o ports/135322 emulation Port graphics/linux_dri has incorrect packaging list c o bin/135317 randi install.cfg feature request o bin/135314 fs [zfs] assertion failed for zdb(8) usage o ports/135313 multimedia (patch) Update multimedia/podcatcher to 3.1.4 (Sep 200 o stand/135307 standards Boot Loader problem on Acer Aspire 5735 p misc/135301 remko [tinybsd] [patch] Patch for fix architecture support f o www/135294 www new user group for Belgium o ports/135276 x11 x11/xorg: GUI running first time only while using Free o amd64/135265 amd64 [install] Boot from install cd hangs on HP DL160 G5 wi o kern/135237 [nfs] sendfile(2) and SF_NODISKIO blocks on NFS files o kern/135222 net [igb] low speed routing between two igb interfaces o ports/135221 portmgr [bsd.port.mk] unified support for LINUX_OSRELEASE depe o usb/135206 usb machine reboots when inserted USB device o ports/135201 ruby ports-mgmt/portupgrade: doesn't upgrade lang/tcc o usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu o usb/135182 usb UMASS quirk - Olympus FE20 camera o kern/135179 xen [xen] Xen domU does not properly reboot o kern/135178 xen [xen] Xen domU outgoing data transfer stall when TSO i o docs/135165 doc [patch] make(1) fixes: punctuation, typos, tweaks o kern/135164 [keyboard] UK currency key inactive o ports/135163 wes Update port: devel/poco unbreak and update to 1.3.5 o kern/135162 pf [pfsync] pfsync(4) not usable with GENERIC kernel o bin/135159 [patch] pkg_delete(1) segfaults on empty @pkgdep lines f misc/135156 [build] 8-current installworld - gencat:No such file o f ports/135089 portmgr bsd.port.mk: Honor LOCALBASE for CFLAGS f ports/135072 clsung textproc/refdb -> bib2ris: Assertion failed: ((run->re o kern/135070 acpi [acpi] [patch] BIOS resource allocation and FreeBSD AC o kern/135069 xen [xen] FreeBSD-current/Xen SMP doesn't function at all o kern/135067 net [patch] [fib] Incorrect KASSERTs in sys/net/route.c o kern/135057 [ata] [patch] New VIA SATA controller are not getting o kern/135050 fs [zfs] ZFS clears/hides disk errors on reboot o amd64/135040 amd64 [ata] FreeBSD/amd64 does not (always) detect disk on S o ports/135019 sysutils/bubblemon-dockapp 1.46_6 memory usage meter i f ports/135018 pgollucci Port multimedia/vlc fails to compile when WITHOUT_X11= o bin/135017 [libc] bind exiting (due to assertion failure). resolv o bin/135016 randi [request] sysinstall(8) needs support for USB devices o kern/135014 [padlock] Using padlock(4) in 8-current triggers "fpud p usb/135009 weongyo [uath] [patch] Accton ar5523 products not in "uath" dr o kern/135008 xen [xen] FreeBSD-current/Xen timecounter jumps f ports/135000 olgeni don't make in /usr/ports/lang/erlang o kern/134996 pf [pf] Anchor tables not included when pfctl(8) is run w o i386/134984 i386 [boot] [hang] boot from i386 DVD on Lenovo R500 fails o kern/134980 [ata] no effect of ATA_STATIC_ID on CURRENT with AHCI o amd64/134978 amd64 [panic] g_up pmap amd64 panic o bin/134975 ipfw [patch] ipfw(8) can't work with set in rule file. o kern/134956 net [em] FreeBSD 7.1 & 7.2, Intel PRO/1000 PT Quad Port Se o usb/134950 usb Lowering DTR for USB-modem via ubsa is not possible o misc/134947 [build] compiling world (libcrypto) o kern/134931 net [route] [fib] Route messages sent to all socket listen o kern/134926 xen [xen] [panic] FreeBSD-current Xen DomU networking pani o kern/134922 geom [gmirror] [panic] kernel panic when use fdisk on disk o misc/134920 [includes] [patch] Large upgrades from source cause co o bin/134919 [patch] add information to truss(1) when tracing linux o conf/134918 rc [patch] rc.subr fails to detect perl daemons f bin/134907 vwe boot0cfg(8): choose / adjust the booting slice doesn't o kern/134887 [ataraid] source consistency problem o kern/134883 [vfs] [panic] kernel panic, superpages, vfs.lookup_sha p bin/134881 stefanf sh(1) with 'set -e' exits immediately in tested eval c o ports/134880 ale lang/php5 - PHP CLI interactive mode misbehaviour with o kern/134878 [puc] [patch] Add support for Oxford OXPCIe954 and OXP o kern/134800 [drm] radeon driver freezes Xorg server with drmwtq o i386/134792 [boot] [panic] problems installing and booting on MSI o kern/134788 delphij [bce] failure to set ip address in amd64 if_bce.c, i38 f ports/134774 mono lang/mono won't build on 6.4-STABLE f ports/134773 openoffice [patch] editors/openoffice.org-3 reduce depenedencies o kern/134767 multimedia [sound] [snd_hda] [regression] Sigmatel STAC9205X no s o amd64/134757 amd64 32 bit processes on 64 bit platforms occasionally drop o kern/134745 [mmcsd] [panic] mmcsd.ko produce kernel panic f ports/134743 devel/Monotone and pthreaded dependencies o ports/134738 ahze Update ports: www/midori to 0.1.6 p ports/134737 gnome Update www/webkit-gtk2 to 1.1.7 o ports/134734 delphij net/py-ldap2 - Package py25-ldap2 in 7.2-RELEASE fails s ports/134714 ruby ports-mgmt/portupgrade deletes user data without quest o ports/134711 mail/postfix - repocopy of (old) postfix to postfix25 o ports/134689 gecko www/Firefox ports and packages in chroot or jails cras o conf/134660 rc [patch] rc-script for initializing ng_netflow+ng_ipfw o kern/134658 net [bce] bce driver fails on PowerEdge m610 blade. o ports/134656 mnag Create www/pecl-APC-dev o ports/134643 x11 [patch] x11-servers/xorg-server - Unbreak Xorg 7.4 ser o usb/134633 usb Add support for WILLCOM03(SHARP smart phone) o usb/134631 usb [usbdevs] [patch] WiSPY DBx support requires usb tweak o bin/134616 named(8): the working directory is not writable o gnu/134604 [gcclibs] [patch] Memory leak in gcclibs/libgomp f ports/134594 lwhsu [PATCH] security/pwman3: use cElementTree and sqlite c o ports/134593 pgollucci [repocopy]: net-mgmt/net-snmp -> net-mgmt/net-snmp55 o kern/134591 [ral] ral(4) driver frequently loses carrier (on RT256 o kern/134590 [libi386] [gpt] [patch] Bootloader support for hybrid o i386/134586 jhb [i386] [patch] Incorrect machine check exception handl o kern/134584 [panic] spin lock held too long o kern/134583 net [hang] Machine with jail freezes after random amount o p i386/134582 phk merge geode.c from head to releng_7_2 a ports/134577 apache www/apache22: build faild with mod_auth_digest o bin/134569 [heimdal] krb5-config(1) does not return all libs nece o kern/134540 [sysctl] [panic] kernel panic after sysctl -a (in strl f ports/134536 gnome [patch] graphics/gimp: Gimp 2.6.6 fails to open URI's o ports/134534 [PATCH] net/skype12, remove IGNORE o kern/134531 net [route] [panic] kernel crash related to routes/zebra o ports/134530 skv UPDATE: databases/skytools o kern/134520 [ata] SAS HD not detected on LSI SAS1078 (Acer Altos R o kern/134519 [panic] Kernel panics (2 page faults in kernel) s kern/134517 yongari [rl] [patch] Realtek 8111C Driver Backport for FreeBSD o kern/134513 [libc] [patch] fts(3) FTS_NOCHDIR misbehavior with emp o ports/134509 gnome graphics/inkscape: after loading any type of data file o kern/134504 [vesa] thinkpad t60 with ati x1400 in vesa console mod o kern/134502 [libelf] why 32 bit app not use /libexec/ld-elf32.so.1 f kern/134496 fs [zfs] [panic] ZFS pool export occasionally causes a ke o kern/134491 fs [zfs] Hot spares are rather cold... o kern/134488 scsi [mpt] MPT SCSI driver probes max. 8 LUNs per device s ports/134485 net-mgmt/trafd 3.0.2.1 doesn't collect traffic o ports/134475 multimedia/xmms gdk error (terminates) o conf/134468 /etc/ntp created by default - but not used by /etc/def o ports/134458 openoffice editors/openoffice.org* fails to build (multiple versi o ports/134456 pgollucci www/apache22: file permissions are wrong o ports/134443 wxs [NEW PORT] multimedia/2ManDVD: Create your own video d o bin/134425 sysinstall(8) custom distributions select all and dese o ports/134414 araujo graphics/mesa-demos does not build on FreeBSD-7.2 i386 o kern/134408 [dtrace] [panic] "opensnoop" DTrace script panics ever f kern/134407 gavin [hang] freebsd 7.x freezes with the livefs or install o kern/134401 net [msk] [panic] Kernel Fatal trap 12: page fault while i f kern/134398 gavin [ata] problems with udma modes on atapi ixp600 o ports/134397 lme [patch] games/scummvm update o kern/134391 [libc] dladdr(3) does effectively not work on main pro o bin/134389 cperciva portsnap(1): phttpget opens a new connections for ever o ports/134383 skv devel/bugzilla failes to find DBD::mysql o ports/134379 perl net/p5-perl-ldap makes no mention of Net::LDAP o docs/134376 doc pthread(3): pthread manpages don't mention that PTHREA o kern/134369 net [route] [ip6] IPV6 in Head broken for routing table up o arm/134368 arm [patch] nslu2_led driver for the LEDs on the NSLU2 a ports/134361 gnome devel/gvfs ports with smbclient support doesn't pass a f ports/134358 gnome x11/gnome2: trackerd uses up all of the cpu o ports/134357 itetcu Fix multimedia/libdvdnav with libdvdcss shared lib bum a kern/134355 [mbuf] comments for m_getm2 inconsistent with behaviou p ports/134352 dinoex fix all the ports depending print/cups-base o kern/134344 top(1) shows user CPU value that's not equal to the to o arm/134338 arm [patch] Lock GPIO accesses on ixp425 o conf/134333 rc PPP configuration problem in the rc.d scripts in combi o kern/134328 [build] FreeBSD 7.2-RELEASE (STABLE) not compiled with o usb/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g f ports/134264 audio/cmus - segmentation fault with ogg files o ports/134263 des sysutils/munin-node failure in some o conf/134258 /boot/default/loader.conf contains untrue default p kern/134251 dchagin [linux] skype-2.0.0.72 broke with recent kernel change o bin/134250 [rc.d] mountlate: bogus error message when using neste o kern/134249 [libiconv] [patch] ignore case for character set names o ports/134244 x11 x11/xorg: "intel" driver for Xorg is very broken o ports/134243 skv port mail/libdomainkeys doesn't build dktest o i386/134242 i386 [boot0] [patch] improvement i386 boot0 error diagnose o kern/134231 [sysctl] sysctl() 80% slower in 7.2 than 6.2 [regressi o docs/134226 doc /usr/share/examples/ftpd/ftpd.conf does not exist. o kern/134225 [libexec] [patch] Reduce disk write load from save-ent o docs/134222 doc installation failure of japanese docs o kern/134200 [panic] Fatal trap 12: page fault while in kernel mode o usb/134193 usb System freeze on usb MP3 player insertion o ports/134182 ruby ports-mgmt/portupgrade incorrectly handles manual reje f ports/134181 [MAINTAINER] www/httrack: update to 3.43.4 o conf/134169 El servidor X no detecta pantallas o kern/134168 net [ral] ral driver problem on RT2525 2.4GHz transceiver o bin/134167 cperciva [request] freebsd-update(8) should be able to be run i o kern/134157 net [dummynet] dummynet loads cpu for 100% and make a syst o ports/134155 danfe x11/nvidia-driver does not work with KVA_PAGES=512 and o ports/134132 x11 x11-servers/xorg-server: Intel i845 - xorg.conf with U o docs/134123 doc The RUNQUEUE(9) man page is out of date o ports/134121 gecko www/firefox3-devel packaging errors o usb/134117 usb [Patch] Add support for 'Option GlobeTrotter HSDPA Mod o kern/134113 geom [geli] Problem setting secondary GELI key s ports/134112 [MAINTAINER] net/asterisk16-addons: update to 1.6.1.0 f i386/134106 i386 [boot] Dell Dimension XPS R400 fail to boot on CF IDE f kern/134105 gavin rl(4) Realtek 8110SC with device ID 0x814910ec not det f java/134098 glewis java/diablo-jdk15: random core drops o arm/134092 arm [patch] NSLU.hints contains wrong hints for on board n o usb/134085 usb [umass] Adding usb quirk for Sony USB flash drive o ports/134082 x11 x11/xdriinfo: xdriinfo-1.0.2 build fail o kern/134079 net [em] "em0: Invalid MAC address" in FreeBSD-Current ( 8 o docs/134074 doc [patch] locking.9 man page slight enhancements p docs/134070 danger old path for a file given in kbdmap(1) o bin/134069 [patch] mount_nfs(8) option parsing bug o kern/134054 [ataraid] [panic] traps kernel on boot if Intel Matrix p docs/134053 danger [patch] arp(8) manpage should mention ndp(8) in See Al o ports/134052 skreuzer Update port: games/mangband to latest version o kern/134044 geom [geom] gmirror(8) overwrites fs with stale data from r o bin/134038 dougb [patch] mergemaster(8): preserve mode/ownership for ex o bin/134022 host(1), dig(1) and nslookup(1) hang in _umtx_op sysca o kern/134011 [hang] swap_pager_getswapspace(4): failed o kern/134010 [gssapi][patch] Buffer overflow and use-after-free in o conf/134006 rc [patch] Unload console screensaver kernel modules if s o ports/134005 hrs x11/xorg: Cannot type underscore and other key on JP10 o usb/133989 usb [newusb] [ukbd] USB keyboard dead at mountroot> prompt f ports/133988 hrs Neither print/acroread8 nor print/acroread9 work on a o conf/133987 rc [rc.d] defaultroute broken with DHCP in some cases o kern/133985 [kernel] kern.cp_time returns all zeros and stops incr o kern/133980 fs [panic] [ffs] panic: ffs_valloc: dup alloc o bin/133979 pkg_create(1): pkg_create -n gives an error o amd64/133977 amd64 [panic] [ffs] "panic: ffs_blkfree: freeing free block" o kern/133969 net [dummynet] [panic] Fatal trap 12: page fault while in o kern/133968 net [dummynet] [panic] dummynet kernel panic o ports/133946 x11 x11-servers/xorg-server [patch] X crashes in xinerama o kern/133931 geom [geli] [request] intentionally wrong password to destr o kern/133926 [request] MAXLOGNAME, the username length limit, is to o kern/133919 [mpt] [panic] 7.1 panics after completing rebuild of m f ports/133918 clsung textproc/refdb: adduser -R does not work with PostgreS o bin/133907 [patch] cp(1) wrongly reports errors in vacuous copy o kern/133902 net [tun] Killing tun0 iface ssh tunnel causes Panic Strin o ports/133899 cjh korean/ami doesn't work on amd64 o kern/133892 sam /usr/src/sys/dev/ath/if_ath.c:3414: error: 'const stru o conf/133890 rc [patch] sshd(8): add multiple profiles to the rc.d scr o kern/133872 [ata] SATA300 controlled as SATA150 on ICH7R mobo o kern/133867 initgroups(3) Invalid argument o bin/133860 [patch] lorder(1) misses symbols defined in read only o ports/133850 perl devel/p5-Log-Dispatch install dependencies o ports/133848 markus net-p2p/ktorrent-devel: request for removal f ports/133844 python New port: databases/py-postgresql python3 pgsql drive o ports/133843 sobomax Update port net/asterisk16 - add spandsp option/depenc o bin/133834 [patch] chat(1): terminate()/fatal() infinity mutual r o ports/133829 Wrong plist generated if nonstandard MANPREFIX and PRE o ports/133815 portmgr [PATCH] bsd.port.mk: implements fakeroot for the ports o kern/133786 [netinet] [patch] ip_input might cause kernel panic o kern/133776 [libc] [patch] snprintf(3) and vsnprintf(3) do not pro o kern/133775 [patch] gdb(1) debugscripts: fix proc address print in a ports/133773 apache net/keepalived port update request o ports/133771 doceng print/ghostscript8: Ghostscript8-8.64 port not install f kern/133768 gavin [panic] MONITOR PANIC: vcpu-0:VMM64 DoubleFault src=MO o docs/133765 doc setfib(2) man page section f ports/133758 pgollucci new net-mgmt/net-snmp does not count inactive memory a o ports/133747 amdmi3 fkiss and gondola not working on amd64 - seg fault f ports/133740 glarkin [new Port] www/archiva o kern/133736 net [udp] ip_id not protected ... p threa/133735 attilio Multi-threaded 32 bit cores can't be used on 64 bit sy o threa/133734 threads 32 bit libthr failing pthread_create() s kern/133733 [pci] [patch] Incorrect record in pci_vendors for Broa o kern/133732 pf [pf] max-src-conn issue o www/133730 www amd64 motherboard success report: Asrock A770DE AMD7 o i386/133727 i386 chars [[[[[[[[[[[[[ occur during install process (sett o ports/133723 sobomax asterisk-1.6.0.9 crash when load chan_h323 o conf/133715 [terminfo] [patch] no terminfo for rxvt-unicode termin o usb/133712 usb [ural] [patch] RE: Fixed an issue with ural(4) that wa o kern/133710 [includes] net/bpf.h and netgraph/ng_message.h should o ports/133704 pgollucci www/apache22 apxs does not work as expected o amd64/133701 amd64 Recompiling the kernel with k8temp or smbios break GEO o kern/133676 fs [smbfs] [panic] umount -f'ing a vnode-based memory dis o ports/133641 doceng [PATCH] print/ghostscript7 crash bug o kern/133614 fs [smbfs] [panic] panic: ffs_truncate: read-only filesys o kern/133613 net [wpi] [panic] kernel panic in wpi(4) o ports/133609 x11 x11/xorg crashes with vlc, intel video driver o kern/133595 net [panic] Kernel Panic at pcpu.h:195 o kern/133593 [ata] `atacontrol spindown` won't affect disk until so o kern/133583 [libm] fma(3) does not respect rounding mode using ext o kern/133572 net [ppp] [hang] incoming PPTP connection hangs the system o docs/133567 doc [patch] doc/Makefile switch to csup o ports/133563 security/cfs rc script needs "mntudp" option on 8-CURR f misc/133540 gavin Cannot connect to ftp mirrors for 7.2 beta boot-only f ports/133533 pgollucci [PATCH] Add a static user/group for audio/musicpd port o power/133503 ppc [sound] Sound stutter after switching ttys o ports/133500 glewis java/diablo-jre16: fetch error: does not tell what fil o kern/133495 [de] interface not properly initialized on boot o bin/133493 gtp(8): 'gpt boot' should mark the slice in the protec o kern/133491 [libfetch] [patch] Digest HTTP authentication support o kern/133490 net [bpf] [panic] 'kmem_map too small' panic on Dell r900 o ports/133482 x11 x11/libXext "Generic Event Extension not available" er o ports/133465 x11 x11/xorg: X crashes with mplayer -vo xv with xf86-vide o ports/133464 clsung security/snort fails first try o ports/133462 multimedia multimedia/x264 build fails on powerpc o ports/133457 eclipse [PATCH] java/eclipse-webtools: update to 3.0.3 o bin/133455 pkg_delete(1): problem with delete packages. f ports/133451 python www/plone3 build fails. Plone3 needs python-2.4 but li p kern/133439 kan [vfs] [panic] Kernel Panic in kern_vfs f ports/133423 eclipse [PATCH] java/eclipse-emf: Update to 2.4.1 o ports/133419 x11 Unable to build x11-drivers/xf86-video-nsc o ports/133417 eclipse [PATCH] java/eclipse-gef: update to 3.4.1 o ports/133416 girgen postgresql-8.3 repo copy request o ports/133413 mich [patch] sysutils/libcdio 0.78.2 is broken for CDROMs t o ports/133411 edwin www/mod_encoding does not work on amd64 with apache22 o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache o i386/133388 i386 [est] est causes wrong dev.cpu.0.freq_levels values o power/133383 ppc firefox thr_kill crash with heavy vm load o power/133382 ppc [install] Installer gets signal 11 o kern/133373 fs [zfs] umass attachment causes ZFS checksum errors, dat o kern/133328 net [bge] [panic] Kernel panics with Windows7 client o usb/133296 usb [rum] driver not working properly in hostap mode o ports/133291 nork [PATCH] graphics/ilmbase: produces library not linked o kern/133289 [vm] [panic] DEBUG_MEMGUARD with vm.memguard.desc="dev o misc/133286 dd can fill system memory o kern/133265 jail [jail] is there a solution how to run nfs client in ja o www/133262 www FreeBSD on ASUS M2N-MX SE + p bin/133255 stefanf [PATCH] sh(1): empty line in eval resets $? o i386/133253 i386 [acd] Error mounting install image o ports/133250 cy [PATCH] sysutils/screen: remove NO_PACKAGE. o kern/133246 [libc] dlclose(3) gives segfault when called in the fi o docs/133245 doc french handbook 27.3.5 amd.map amd.conf p kern/133240 [boot] off-by-one error in gets.c causes panic when in o kern/133239 [ae] [jme] [patch] if_jme can assign duplicate MAC add o kern/133235 net [netinet] [patch] Process SIOCDLIFADDR command incorre o docs/133228 doc handbook 23.3.5 screenmap section is confusing o bin/133227 [patch] whois(1): add support for SLD whois server loo o kern/133218 net [carp] [hang] use of carp(4) causes system to freeze f www/133215 jkois FreeBSD Consultant f misc/133213 arp and sshd errors o kern/133204 net [msk] msk driver timeouts o ports/133197 pgollucci [bsd.apache.mk] Rephrase IGNORE statement, kill EOL sp o ports/133196 net/xmlrpc-c: rtorrent-devel rtorrent std::bad_alloc o docs/133186 doc [patch] powerd(8) man page errors o ports/133175 x11 [patch] x11/pixman: enable SSE2 support autodetection o kern/133174 fs [msdosfs] [patch] msdosfs must support utf-encoded int o kern/133170 [md] [panic] panic when detaching swap-backed md(4) di o kern/133162 [NOTES] [patch] document modular ata driver devices f misc/133158 Download not available f kern/133150 fs [zfs] Page fault with ZFS on 7.1-RELEASE/amd64 while w o ports/133146 ahze [patch] x11-fonts/dejavu: install fontconfig configura o kern/133144 [linux] linuxulator 2.6 crashes with nvidias libGL.so. o kern/133143 [ubsec] [panic] Kernel panic with ubsec and cryptodev; o kern/133134 fs [zfs] Missing ZFS zpool labels o kern/133122 [ata] TIMEOUT - READ_BIG with pata dvd-drive o docs/133118 doc [patch] Error in getopt (1) manual EXAMPLES section o ports/133098 mbr [patch] mail/up-imapproxy hardcoded to use /etc/imappr o ports/133081 python [bsd.python.mk] PYEASYINSTALL_ARCHDEP=yes makes broken o ports/133078 kde [PATCH] kmix (multimedia/kdemultimedia4) incorrectly b o kern/133060 net [ipsec] [pfsync] [panic] Kernel panic with ipsec + pfs f ports/133047 glarkin [maintainer-update] Update graphics/linux-ac3d to 6.4. f ports/133031 ports/net/igmpproxy "must be at least 2 Vif's where on o ports/133026 clsung security/botan: missing digit in .so means ldconfig mi o bin/132993 [patch] bsnmpd(1) - bad IfPoll timer interval o kern/132991 net [bge] if_bge low performance problem o kern/132987 daichi [unionfs] unionfs_readdir has math problem o kern/132960 fs [ufs] [panic] panic:ffs_blkfree: freeing free frag o docs/132959 doc [patch] description mismatches on xterm/termcap, fortu o ports/132952 obrien [patch] lang/pcc update o kern/132934 [nfs] Cancel of a NFS-lock fails repeatedly f bin/132911 net ip6fw(8): argument type of fill_icmptypes is wrong and o kern/132889 net [ndis] [panic] NDIS kernel crash on load BCM4321 AGN d o ports/132888 openoffice editors/openoffice.org-3: openoffice 3.0.1 fails to bu o kern/132885 net [wlan] 802.1x broken after SVN rev 189592 o docs/132884 doc [request] No manpage for SYSINIT and SYSUNINIT o ports/132881 girgen [PATCH] www/jakarta-jmeter: update to 2.3.2 o kern/132852 [lor] LOR between sysctl and acpi_ibm o conf/132851 net [fib] [patch] allow to setup fib for service running f o kern/132848 multimedia [sound] [snd_emu10kx] driver problem with card init, s o bin/132847 syrinx [patch] bsnmpd(8): snmp_pf: add support for retrieving o bin/132845 geom [geom] [patch] ggated(8) does not close files opened a o docs/132839 doc [patch] Fix example script in ldap-auth article p docs/132834 trhodes [patch] Punctuation inconsistency in chgrp.1 and cut.1 o kern/132832 net [netinet] [patch] tcp_output() might generate invalid p ports/132828 vd devel/pth broken due to introduction of pthread_kill p o ports/132820 skreuzer www/rt38: charts in RT-3.8.2 do not render p usb/132799 usb [usb][patch]GENESYS USB2IDE requires NO_SYNCHRONIZE_CA o bin/132798 net [patch] ggatec(8): ggated/ggatec connection slowdown p f ports/132792 pgollucci [new port] re-activating print/ifhp f ports/132790 stas lang/ruby19 fails it's own 'make test' suite o ports/132786 New port: sysutils/sispmctl Utility for controlling a o usb/132785 usb [usb] [patch] Gemtech remote powersocket is classed as o ports/132783 portmgr ports/Mk/bsd.port.mk: ${ARCH} misuse for "--build" opt o bin/132779 calendar(1) utility processes SunLast (and likely simi o kern/132774 rwatson [ipfw] IPFW with uid/gid/jail rules may lead to lockup o ports/132772 skv [new port] lang/rakudo-devel The Rakudo Perl 6 Compil o kern/132769 pf [pf] [lor] 2 LOR's with pf task mtx / ifnet and rtent o conf/132766 rc wait_for_pids() in /etc/rc.subr is dull. o bin/132735 Berkeley db: corrupted file has record with absurd siz o kern/132734 net [ifmib] [panic] panic in net/if_mib.c o kern/132722 net [ath] Wifi ath0 associates fine with AP, but DHCP or I o docs/132718 doc [handbook] Information about adding a new mirror is ou o kern/132715 jfv [lagg] [panic] Panic when creating vlan's on lagg inte f ports/132707 amdmi3 New port: games/GHost++, a Warcraft 3 game hosting bot o kern/132705 net [libwrap] [patch] libwrap - infinite loop if hosts.all o ports/132693 sobomax [PATCH] misc/libpri: update to 1.4.9 o bin/132692 [patch] getent(1): no support for netgroup o ports/132688 sobomax [PATCH] net/asterisk: update to 1.4.23.2 o ports/132680 openoffice editors/openoffice.org-3: OpenOffice symlinks in /usr/ f misc/132674 gavin new MotherBoards with WiFi cards o kern/132672 net [ndis] [panic] ndis with rt2860.sys causes kernel pani o kern/132669 net [xl] 3c905-TX send DUP! in reply on ping (sometime) o kern/132664 [lor] vfs_mount.c / msdosfs_vfsops.c o kern/132625 net [iwn] iwn drivers don't support setting country o kern/132622 philip [glxsb] [patch] glxsb(4) performs badly with ipsec o ports/132621 x11 x11/xorg tries to install event when deselected o ports/132607 security/denyhosts: command_interpreter warnings in /v o kern/132602 acpi [acpi] ACPI Problem with Intel SS4200: System does not o kern/132597 fs [tmpfs] [panic] tmpfs-related panic while interrupting o conf/132596 mux examples/cvsup/ports-supfile still oriented on cvsup p o usb/132594 usb USB subsystem causes page fault and crashes o bin/132591 [patch] dump(8): "dump W" uses %c instead of %d for re o ports/132588 ahze [PATCH] www/midori: update to 0.1.4 f ports/132579 cy [patch] sysutils/screen: fix build with externel compi o ports/132577 fjoe databases/oracle8-client: Appearence of connection (ph o ports/132576 delphij net/openldap24-server: multipying LDAP trees on the si o amd64/132574 amd64 [boot] [hang] Freeze on bootstrap loader (CD) using AT o ports/132573 ume [patch] security/cyrus-sasl2: fix compilation with gcc o kern/132554 net [ipl] There is no ippool start script/ipfilter magic t o kern/132553 ipfw [ipfw] ipfw doesn't understand ftp-data port o kern/132551 fs [zfs] ZFS locks up on extattr_list_link syscall p docs/132546 trhodes [patch] sync vm_map_lock(9) with recent locking change f i386/132535 gavin [acpi] if ACPI enabled, i can't change brightness leve o docs/132525 doc [PATCH] Fix documentation for atapicam(4) and umass(4) o conf/132515 stas ntpd_sync_on_start option in /etc/rc.conf misbehaves o kern/132511 multimedia [sound] [snd_hda] Probing ALC888 codec on ASRock K10N7 o kern/132497 rwatson [boot] [patch] Stale pre-5.x mbuf references in new Bo o conf/132483 rc rc.subr(8) [patch] setfib(1) support for rc.subr o conf/132476 rc [rc.d] [patch] add support setfib(1) in rc.d/routing o ports/132435 anders [patch] audio/xmp: add option to use tar(1) instead of o ports/132431 multimedia multimedia/ogmtools dvdxchap are not installed. o i386/132416 i386 Popup motherboard bios setup window when rebooting sys o ports/132403 x11 x11/xorg with Radeon X600 (R370): cannot re-initialize o ports/132402 girgen databases/postgresql83-server incorrect handling of co o kern/132397 fs reboot causes filesystem corruption (failure to sync b o amd64/132394 scsi [isp] - bad underruns with QLogic qla2300 and amd64 p docs/132392 trhodes [PATCH] remove leftovers of libkse from pthread.3 o amd64/132372 amd64 [ata] No disks found (nVidia nForce MCP55 sata control o bin/132367 [patch] less(1)/more(1) fchmod(2) `/dev/null' to 0600 o kern/132354 net [nat] Getting some packages to ipnat(8) causes crash o www/132344 bugmeister [patch] www/en/cgi/query-pr.cgi broken base64 attachme p kern/132337 pjd [zfs] [panic] kernel panic in zfs_fuid_create_cred f kern/132336 multimedia [sound] [snd_hda] Realtek ALC888 audio chipset does no o kern/132331 fs [ufs] [lor] LOR ufs and syncer s ports/132319 lwhsu [PATCH] chinese/scim-chewing: update to 0.3.3 s ports/132318 lwhsu [PATCH] chinese/libchewing: update to 0.3.2 o misc/132317 Snapshots are not properly mirrored between ftp.freebs o usb/132312 usb Xorg 7.4 halts USB controller o docs/132311 doc [patch] man5/nsmb.conf.5 o ports/132304 gnome ports/devel/dbus misses /var/db/dbus/machine-id in dis o bin/132302 [patch] smbutil(1): contrib/smbfs subr.c: saved passwo o ports/132294 stas [PATCH] lang/ruby18: Add option to build with Profile- o ports/132293 stas [PATCH] lang/ruby19: Add option to build with Profile- o kern/132285 net [carp] alias gives incorrect hash in dmesg o kern/132277 net [crypto] [ipsec] poor performance using cryptodevice f o kern/132273 geom glabel(8): [patch] failing on journaled partition o kern/132271 [puc] [patch] puc support for a generic card o docs/132260 doc dhcpd(8) pid not stored in documented location o kern/132252 [ata] No CD/DVD devices found! o kern/132250 scsi [ciss] ciss driver does not support more then 15 drive f kern/132242 geom [gmirror] gmirror.ko fails to fully initialize o bin/132239 dhcpd(8) -d flag not working o kern/132238 [ral] ral driver does not support RT2860 o kern/132237 fs [msdosfs] msdosfs has problems to read MSDOS Floppy f ports/132231 gecko [PATCH] www/firefox3: Add option to build with Profile o i386/132230 i386 [boot] [reboot] 7.1-RELEASE /boot/loader non-functiona o ports/132213 anders [patch] mail/imap-uw: Add support for ~/mail as defaul o kern/132206 scsi [mpt] system panics on boot when mirroring and 2nd dri o docs/132193 doc [patch] description in the malo(4) manpage incorrect o docs/132190 doc EPERM explanation for send(2), sendto(2), and sendmsg( o bin/132182 uname(1) uses UNAME_ variables even if those are o conf/132179 net [patch] /etc/network.subr: ipv6 rtsol on incorrect wla f www/132178 www Soekris not listed amoung hardware vendors f kern/132176 pf [pf] pf stalls connection when using route-to [regress o kern/132172 [patch] [panic] Page fault panic in scioctl and consol o kern/132165 [uart] [lor] LOR slock and uart_hwmtx f ports/132157 lwhsu [repocopy] rename net-p2p/museekplus to net-p2p/museek o www/132149 www Problem with submitting emails to freebsd-questions@fr o ports/132146 stas lang/ruby19: Problem with fork in Ruby 1.9.1 o kern/132145 fs [panic] File System Hard Crashes o kern/132129 [crypto] Device crypto makes the kernel unbootable o bin/132114 randi [patch] add new 'docs' virtual category to sysinstall o docs/132113 doc [handbook] Update handbook jails creation o bin/132112 [patch] devd(8) unnecessarily reconfigures carp(4) int o i386/132110 i386 [build] /libexec/ld-elf.so.1: /lib/libc.so.7: version o kern/132107 net [carp] carp(4) advskew setting ignored when carp IP us o kern/132104 [kernel] [patch] kenv(1) buffer overflow o ports/132100 x11 x11/xorg: Xorg server forgets pointer map after xlock o ports/132096 ahze devel/distcc: fixing valid shell for user distcc in pk f kern/132092 bz [jail] jail can listen on *:port when jail_socket_unix o www/132091 www russian freebsd copyright - wrong translation o usb/132080 usb [patch] [usb] Kernel panic after NOMEM caused by rum c o ports/132074 tdb [patch] - update security/f-prot to version 6.0.1 f kern/132068 fs [zfs] page fault when using ZFS over NFS on 7.1-RELEAS o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760 o ports/132053 ahze devel/distcc: unfetchable Avahi patch support (distcc- p kern/132042 rnoland [drm] [panic] drm module crash the system when closing o ports/132041 x11 x11/xorg: Broken Intel video driver o usb/132036 usb [panic] page fault when connecting Olympus C740 camera o amd64/132019 amd64 [install] kernel trap 12 while installation o ports/132010 girgen databases/postgresql83-server: PostgreSQL Cluster Init o conf/132008 [PATCH] to allow using section/nosection in KERNCONF o kern/132001 [patch] [ixgb] driver update p bin/131999 chflags(1): unable to unset flags on symlinks when lin o kern/131995 fs [nfs] Failure to mount NFSv4 server f ports/131991 itetcu audio/musicpd 0.14.1_1 doesn't recognize URI scheme fo o ports/131969 nobutaka Port update: multimedia/libdvdnav - Proposal to switch o docs/131968 danger ipnat man page points to wrong directory o ports/131938 girgen vuxml submission for net/tptest o kern/131933 [uart] [patch] Cannot detect Sony Ericsson GC89 EDGE/W o ports/131930 x11 [PATCH] x11-servers/xorg-server coredumps on exit o docs/131918 doc [patch] Fixes for the BPF(4) man page o usb/131912 usb [uslcom] [patch] New devices using Silicon Labs chips o amd64/131906 amd64 [ata] SATA data corruption with Promise PDC20378 (amd6 o usb/131900 usb [usbdevs] [patch] Additional product identification co o ports/131877 New Port: devel/parasite GTK+ UI debugging tool o kern/131876 rwatson [socket] FD leak by receiving SCM_RIGHTS by recvmsg wi f www/131863 www Please add to Commercial Vendors listing o bin/131861 mail(1) misses addresses when replying to all o bin/131853 cron(8): please add support for CRON_TZ and CRON_WITHI o kern/131817 ipfw [ipfw] blocks layer2 packets that should not be blocke o bin/131800 rpcbind(8) fails to start in jail f kern/131798 gavin [ukbd] usb keyboard doesn't work with motherboard inte f kern/131796 [ata] Introducing new USB or eSATA disks results in at o kern/131784 [lor] triple LOR after hard reboot o kern/131781 net [ndis] ndis keeps dropping the link o kern/131776 net [wi] driver fails to init o bin/131774 cvs(1) commits files then aborts f ports/131758 itetcu net/tightvnc in a jail stopped working after multiple o kern/131753 net [altq] [panic] kernel panic in hfsc_dequeue o ports/131726 x11 x11-servers/xorg-server: xorg server messes with my eh o kern/131718 [lor] kern_sysctl.c / acpi_video.c o ports/131696 x11 x11-servers/xorg-server: hald core dumps make X11 unus o docs/131684 doc [patch] articles/linux-comparison: replace Addenda by o ports/131664 skv lang/perl5.8: perl5.8.9 segfaults with devel/p5-ReadLi o docs/131626 pgj [patch] dump(8) "recommended" cache option confusing o docs/131625 pgj [patch] Typos in ed(1) man page o kern/131623 [libc] gethostbyname(2): output of gethostbyname_r doe f kern/131602 gavin [libc] sendfile(2) sends corrupted data o kern/131601 ipfw [ipfw] [panic] 7-STABLE panic in nat_finalise (tcp=0) o bin/131598 cperciva freebsd-update(8) doesn't interact well with custom ke o kern/131597 [kernel] c++ exceptions very slow on FreeBSD 7.1/amd64 o docs/131590 doc [patch] whitespace-only change of developers-handbook/ o docs/131584 pgj Update/correct Handbook section 30.5.7 IPMON Logging o usb/131583 usb [umass] Failure when detaching umass Device o ports/131579 kuriyama security/gnupg reads security/gnupg1 data incorrectly o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data f kern/131573 [mutex] lock_init() assumes zero-filled struct f kern/131571 gavin [apic] [panic] Running with APIC enabled crashes a Sup o bin/131567 net [socket] [patch] Update for regression/sockets/unix_cm o kern/131558 ipfw [ipfw] Inconsistent "via" ipfw behavior o ports/131554 stas net-mgmt/flow-tools: flow-capture consuming all availa o kern/131549 net ifconfig(8) can't clear 'monitor' mode on the wireless o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer s ports/131537 jpaetzel [PATCH] devel/py-yaml: update to 3.08 o kern/131536 net [netinet] [patch] kernel does allow manipulation of su o ports/131524 hrs japanese/kinput2 with wnn failed by SEGV in amd64 o usb/131521 usb Registering Belkin UPS to usb_quirks.c o www/131493 www sshd(8) and sshd_config(8) on-line man pages outdated o amd64/131456 amd64 ACPI & ATA problems o kern/131448 Bad display while booting o kern/131441 fs [unionfs] [nullfs] unionfs and/or nullfs not combineab o bin/131427 [patch] Add to fetch(1) an ability to limit a number o o i386/131426 i386 hald makes cdrom fail o bin/131415 keystrokes are unregulary sent to Geli when typing pas f ports/131413 danfe x11/nvidia-driver does'nt work after ABI libxcb change o docs/131370 keramida glabel(8): geom_label needs clarification in docs a bin/131369 delphij truss(1): truss -f fails to attach to child processes o i386/131367 rnoland Intel i845 video -> X makes system unusable requiring o bin/131365 net route(8): route add changes interpretation of network o kern/131360 fs [nfs] poor scaling behavior of the NFS server under lo o bin/131359 cperciva freebsd-update(8): freebsd-update tag file not updated o bin/131358 cperciva freebsd-update(8): Update servers for freebsd-update a s bin/131354 des ssh: SSH session hangs o kern/131353 geom [geom] gjournal(8) kernel lock o kern/131342 fs [nfs] mounting/unmounting of disks causes NFS to fail o bin/131341 fs makefs: error "Bad file descriptor" on the mount poin o amd64/131314 amd64 [modules] [panic] large modules fail to load on amd64 o kern/131302 powerd(8): powernow0: set freq failed, err 6 o kern/131290 [hang]: How to completely freeze FreeBSD 7.1 under a n o ports/131274 roam mail/vpopmail: vpopmail + openldap core dump p bin/131250 bz [patch] ppp(8) proxyarp does not work o ports/131242 krion security/gsasl does not link if krb5-1.6.3_5 is instal o ports/131234 mi print/lyx: Propose making Lyx 1.5.x the default port o ports/131225 perl math/PDL: PDL-2.4.3_5: Unable to find PDL/pdldoc.db s ports/131218 www/privoxy+ipv6: /etc/rc: WARNING: run_rc_command: ca o amd64/131209 amd64 [panic] [bce] 7.1-STABLE amd64 crash - m0 NULL o kern/131162 net [ath] Atheros driver bugginess and kernel crashes o kern/131153 net [iwi] iwi doesn't see a wireless network o bin/131143 [patch] amd(8) causes annoying "embedded slash in map o usb/131123 usb [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk o bin/131113 mount(8) hangs on attempt to remount as rw o ports/131112 ale [ PATCH ] databases/mysql51-server - Incompatible WITH o ports/131111 ruby ports-mgmt/portupgrade-devel: completely removes packa o bin/131094 dhclient(8) sets wrong IP address f ports/131093 jpaetzel chrooting net/isc-dhcp30-server to aliased /home can c f kern/131087 net [ipw] [panic] ipw / iwi - no sent/received packets; iw o kern/131086 fs [ext2fs] [patch] mkfs.ext2 creates rotten partition o usb/131074 usb no run-time detection of usb devices plugged into exte o misc/131059 [tinybsd] [patch] tinybsd MFSROOT option suggests YES/ s ports/131055 danfe audio/ardour VST SDK distinfo o bin/131042 mount_ntfs(8) does not like fstab entry p kern/131038 bz [ip6] [panic] kernel panic in ip6_forward o kern/131032 scsi [panic] hald causing panic in scsi_sg o ports/131016 x11 x11/xorg - xorg-7.4 renders system unusable! o bin/131013 pw(8) does not update NIS group file o kern/130998 [dtrace] DTrace stops tracing because of struct thread o ports/130995 ale Add php-fpm to lang/php5 o bin/130993 pkg_add(1): pkg_add -n falsely reports present local p f kern/130982 gavin [install] The installation hangs o kern/130979 fs [smbfs] [panic] boot/kernel/smbfs.ko o kern/130957 jhb [pci] /sys/dev/pci/pci.c revision 181771 breaks networ o bin/130954 ps(1): can not obtain which process take all CPU time f kern/130941 gavin [panic] [cd9660] [geom] unexpected crash due to page f o kern/130920 fs [msdosfs] cp(1) takes 100% CPU time while copying file o ports/130899 lev devel/subversion doesn't install with PREFIX != /usr/l o docs/130895 doc [patch] No man page installed for padlock(4) on amd64 f amd64/130885 amd64 sockstat(1) on amd64 does not work o bin/130874 [patch] fix typo in nvi(1) (subsitution -> substitutio o amd64/130864 amd64 [hang] Problem with copying files to a large partition o misc/130856 [build] [patch] make installworld work when WITHOUT_GA o bin/130855 [PATCH] add a chown(8)/chgrp(8) -x option to avoid cro o bin/130831 csh(1) core dumps after building libiconv-1.1x from s f kern/130820 net [ndis] wpa_supplicant(8) returns 'no space on device' o amd64/130817 amd64 FreeBSD does not support HP DL160G5 [regression] o ports/130811 doceng [PATCH] Floating point exceptions Ghostscript 8.63 (pr o kern/130794 [ata] hw.ata.ata_dma_limit without any effect f conf/130776 ip addresses like 10.1.1.1 with subnet mask 255.0.0.0 o kern/130749 [libc] [patch] nscache.c/nscachedcli.c - return error o docs/130742 doc [patch] articles/geom-class: russian translation is mi o usb/130736 usb Page fault unplugging USB stick o kern/130735 scsi [cam] [patch] pass M_NOWAIT to the malloc() call insid o misc/130728 There are 4-clause BSDL files in src/ o kern/130726 [ata] DMA errors accessing multiple SATA channels o kern/130724 emulation [linprocfs] [patch] cpuinfo in linprocfs is dated, cau o docs/130699 netchild MFILEs in /usr/src/tools/kerneldoc/subsys/Makefile are o kern/130698 [boot] FreeBSD 8-CURRENT does not start any more since o kern/130683 acpi [ACPI] shutdown hangs after syncing disks - ACPI race? o ports/130677 portmgr bsd.port.mk: Centralize handling of CPPFLAGS o kern/130657 bz [ip6] [patch] ipv6 class option o bin/130655 randi sysinstall(8): no IPV4 if answer "no" when "Do you wan o ports/130629 skv [new port] lang/rakudo The Rakudo Perl 6 Compiler o kern/130628 net [nfs] NFS / rpc.lockd deadlock on 7.1-R o www/130627 www Submission for www/en/platforms/amd64/motherboards.sgm o kern/130621 scsi [mpt] tranfer rate is inscrutable slow when use lsi213 o conf/130555 net [rc.d] [patch] No good way to set ipfilter variables a p docs/130548 geom [patch] gjournal(8) man page is missing sysctls o ports/130547 mnag libspf2 listed in VuXML but no activity o ports/130541 jpaetzel new port: net/isc-dhcp41-server o kern/130525 net [ndis] [panic] 64 bit ar5008 ndisgen-erated driver cau o kern/130512 [ipmi] [patch] Various mistakes in IPMI watchdog handl o kern/130504 [libc] Serious bug in regular expression library (rege o amd64/130494 amd64 [boot] netbooting BTX fails on amd64 o amd64/130483 amd64 [mxge] MSI must be disabled when Myricom 10Gbps Card i o ports/130481 krion x11/xterm should be built with Unicode support by defa o ports/130479 apache www/apache20 and www/apache22 configure_args busted s kern/130478 x11 [request] Port Linux kernel stub of nouveau to FreeBSD o kern/130476 [build] [patch] Error in compiling kernel with device o conf/130414 rc [patch] rc services started with onestart are not stop o docs/130394 jb [patch] Minor typo in dtrace(1M) man page o ports/130387 portmgr [PATCH] Mk/bsd.port.mk - Add macros for COPYTREE_WWW a a kern/130386 rwatson [patch] add locking for generic interface address mani o conf/130381 pf [rc.d] [pf] [ip6] ipv6 not fully configured when pf st o ports/130379 cy sysutils/screen : can't use it after a jail_attach() c o amd64/130368 amd64 [hang] Switching from xorg to console locks up compute o bin/130366 randi [patch] sysinstall(8): Minor correction to sysinstall f amd64/130365 gavin [ata] Elitegroup A780GM-A Chipset:AMD 780G&SB700 IDE c o docs/130364 doc Man page for top needs explanation of CPU states o misc/130361 FREEBSD 7.X does not install properly from FTP server o bin/130343 top(1): kvm_open: cannot open /proc/42997/mem corrupts f www/130340 www Submission for ISP page f ports/130335 brooks Port lang/llvm-gcc4: .././../gcc/libgcc2.c: In functio o ports/130331 danfe games/battletanks is broken on FreeBSD 7.x o kern/130330 scottl [mpt] [panic] Panic and reboot machine MPT driver when f kern/130329 gavin [myk] panic o usb/130325 usb [usb] [patch] fix tools/tools/usb/print-usb-if-vids.sh o kern/130311 net [wlan_xauth] [panic] hostapd restart causing kernel pa p bin/130298 stefanf sh(1) does not handle negation correctly in complex co o kern/130286 [patch] hifn(4) changes o kern/130261 [kernel] [panic] kernel panic in/below sys_pipe.c:knli o bin/130251 nm(1): 'nm -C' doesn't demangle any 't' symbol names p docs/130239 cperciva md5(1); md5 is reported to be compromised, but manpage o docs/130238 doc nfs.lockd man page doesn't mention NFSLOCKD option or f ports/130236 stefan libpbl-1.03 (databases/libpbl) is broken, spamprobe-1. o usb/130230 usb Samsung Electronics YP-U3 does not attach in 7.1-RELEA o kern/130229 fs [iconv] usermount fails on fs that need iconv o ports/130228 perky [UPDATE] korean/nabi to 0.99.3 o kern/130222 harti bsnmpd snmp_hostres.so always returns 100% CPU o kern/130210 fs [nullfs] Error by check nullfs f ports/130209 miwi www/typo3 upgrade removes configuration o usb/130208 usb Boot process severely hampered by umass0 error s ports/130199 [PATCH] audio/mp3info: take maintainership s ports/130198 [PATCH] audio/libshout2: take maintainership o ports/130183 hoek [PATCH] converters/xdeview switch to USE_TCL o kern/130171 [ata] UDMA CF cards do not work with FreeBSD p bin/130159 bz [patch] ppp(8) fails to correctly set routes f kern/130133 kmacy [panic] [zfs] 'kmem_map too small' caused by make clea o bin/130132 ipfw [patch] ipfw(8): no way to get mask from ipfw pipe sho o usb/130122 usb [newusb] DVD drive detects as 'da' device o i386/130110 i386 [boot] BTX-Halted - booting with SAS/SATA Controller o kern/130109 net [ipfw] Can not set fib for packets originated from loc a kern/130107 dfr [devctl] [patch] in devctl_queue_data(): possible use f amd64/130103 vwe [hang] 7.1-RC X -> systemcrash o misc/130089 remko I can't find Myanmar BSD user group f usb/130076 vwe Panic when connecting USB camera o stand/130067 standards Wrong numeric limits in system headers? s ports/130065 pav devel/stlport update to 5.2.1 and problems f kern/130059 net [panic] Leaking 50k mbufs/hour o bin/130056 [patch] have nfsstat(1) use strtonum instead of atoi o kern/130021 [hang] Switching CAPS/NUM LOCK or virtual terminal fre a kern/130018 [ata] Marvell 6145 ata controller gets detected as PAT o bin/129989 cperciva portsnap(8) quietly forgets to fetch some ports a ports/129971 dinoex x11/gskrab: GSkrab does not compile on -current o www/129969 www Need 301 moved permanently errors returned for www.fre o bin/129967 des unzip(1): /usr/bin/unzip missing -v option. o bin/129965 [patch] ps(1): ps -lH doesn't show the proper CPU# o i386/129953 acpi [acpi] ACPI timeout (CDROM) with Shuttle X27D o usb/129945 usb [usbdevs] [patch] add u3g support for Longcheer WM66 U o ports/129930 ruby ports-mgmt/portupgrade - portinstall tries to install o www/129923 www Need stylesheet for FreeBSD Subversion DAV tree o ports/129891 ruby ports-mgmt/portupgrade fails to recognize variations o o amd64/129889 amd64 [boot] [hang] The booting process stops at the line mo o kern/129861 pf [pf] [patch] Argument names reversed in pf_table.c:_co o ports/129859 kuriyama net/relayd - ssl random number generation p usb/129858 remko [usb] [patch] Need to add quirk to da_scsi.c to suppor o ports/129852 cjh [UPDATE] www/qdecoder o ports/129824 hrs print/acroread8 - help viewer does not work o bin/129814 [patch] support of per script nice(1) value in periodi o ports/129813 delphij [PATCH] net/openldap24-server: RC script assumes too m o ports/129802 mnag net-mgmt/Ettercap 7.3 wont build o ports/129790 lioux [PATCH] net-p2p/mldonkey: Fix rc start script o kern/129784 [ata] [patch] SATA port multiplier disk detect bugs in o ports/129782 tmclaugh [PATCH] security/sudo: update to 1.7.0 o bin/129771 randi sysinstall(8): 7.1 RC1 sysinstalls installs boot0 even o usb/129766 usb [usb] plugging in usb modem HUAWEI E226 panics system o bin/129764 [patch] unbreak sbin/newfs build for the 8-CURRENT o bin/129762 sysinstall(8) doesn't seem to support GPT for EFI boar o kern/129760 fs [nfs] after 'umount -f' of a stale NFS share FreeBSD l o usb/129758 usb [uftdi] [patch] add Pyramid LCD usb support o kern/129750 net [ath] Atheros AR5006 exits on "cannot map register spa o ports/129741 portmgr [patch] bsd.port.mk: support systems that have been bu o kern/129730 qingli [arp]: respond with wrong ARP. o amd64/129721 amd64 [hang] Motherboard K9N2G Neo-FD hangs on boot of 7.0-R f kern/129719 net [nfs] [panic] Panic during shutdown, tcp_ctloutput: in o kern/129713 [pci] pci-pci bridge quirk with ich7 chipset not handl o bin/129706 top(1) corrupts SIZE field when a process allocates 20 o conf/129697 [patch] fix misbehavior of periodic/daily/100.clean-di o ports/129687 obrien [patch] unbreak net/tcpshow for gcc-4.2.1 a docs/129684 trhodes gcache.8 man page missing o ports/129682 sobomax net/asterisk app_meetme issue o kern/129674 geom [geom] gjournal root did not mount on boot o usb/129673 usb [uhci] uhci (uhub) confused on replugging USB 1.1 scan o docs/129671 doc New TCP chapter for Developer's Handbook (from rwatson o amd64/129667 amd64 [ata] Elitegroup A780GM-A IDE controller not recognize p kern/129665 rik [uart] Oxford OX16PCI958 8-serial multiport card is no o kern/129663 rik [uart] Timedia-based 8-serial multiport card: only two o kern/129645 geom gjournal(8): GEOM_JOURNAL causes system to fail to boo p bin/129630 [patch] bsnmpd(1): teach hostres module about ZFS o ports/129626 perl lang/p5-Tcl segfaults on i386 and amd64 on FreeBSD 7 o www/129622 www amd64 motherboard - new board to add to the supported o bin/129620 [patch] Incorrect bzip2(1) behavior o kern/129618 acpi [acpi] Problem with ACPI on HP Pavilion DV2899 laptop o kern/129604 multimedia [sound] Sound stops with error: pcm0:virtual:dsp0.vp0: o kern/129602 scsi [ahd] ahd(4) gets confused and wedges SCSI bus o kern/129580 net [ndis] Netgear WG311v3 (ndis) causes kenel trap at boo o ports/129579 cjh Consider upgrading korean/baekmukfonts-{bdf,ttf} to 2. o ports/129577 des [PATCH] sysutils/munin-main: does not honor BATCH/PACK o ports/129576 des [PATCH] sysutils/munin-node: does not honor BATCH/PACK f misc/129573 FreeBSD-7.1-RC1 fails to install man pages and doc dis o kern/129563 acpi [acpi] sleep broken on IBM/Lenovo T61 in amd64 mode o ports/129553 hrs [patch] print/acroread8 can't launch some programs due o i386/129550 i386 [pae] [kqueue] crash with PAE kernel o bin/129541 [nis] passwd(1) cannot be forced to "yp" mode in some o stand/129524 standards FreeBSD 7.0 isnt detecting my hardrives with raid5 o usb/129522 usb [ubsa] [patch] add support for ZTE AC8700 modem o ports/129518 gerald lang/gcc42 - g++42 uses wrong libstdc++.so and libgcc_ o kern/129517 net [ipsec] [panic] double fault / stack overflow o kern/129508 net [carp] [panic] Kernel panic with EtherIP (may be relat o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o kern/129488 fs [smbfs] Kernel "bug" when using smbfs in smbfs_smb.c: p kern/129477 delphij [request] resolver(5): knob to force standards complia o docs/129464 tabthorpe using packages system o ports/129435 java/jakarta-commons-dbcp not BROKEN on jdk15 o bin/129431 cperciva freebsd-update(8) fetch fails because phttpget fails p o amd64/129426 amd64 [panic] FreeBSD 7.0 crash after subdiskXX: detached o ports/129422 ume [patch] mail/cyrus-imapd23: add patch for autocreate I o bin/129405 [patch] tcsh(1) vfork bugs o www/129401 www FreeBSD Multimedia page should automatically pick up Y p docs/129398 trhodes [patch] ddb(8): various tweaks to ddb-related man page o bin/129378 csh(1) / tcsh(1) loses foreground process group [regre o kern/129373 [ata] [panic] Panic in ata-queue, VIA CLE266, 7.1-BETA o kern/129352 net [xl] [patch] xl0 watchdog timeout o www/129331 www Supported motherboard Gigabyte GA-MA78GPM-DS2H o kern/129316 [sio] [panic] kernel panic (pcpu.h:195; support.s:499) o amd64/129315 amd64 [boot] [reboot] amd64 motherboard: Intel DG965WH mothe o usb/129311 usb [usb] [panic] Instant crash with an USB card reader o ports/129300 obrien [vuxml] editors/vim: document CVE-2008-3432 o bin/129287 [request] powerd(8) should grow signals to switch betw o docs/129281 blackend Audio CD ripping/duplication shouldn't recommend the u o misc/129267 [build] make buildworld errors on RELENG_7 with gcc 4. o kern/129261 simokawa [firewire] Kernel crash on boot with disconnected fire o usb/129251 usb [usbdevs] [patch] Liebert UPS being assigned uhid and s bin/129248 [request] FreeBSD's syslog(8) can't support log encodi o kern/129245 geom [geom] gcache is more suitable for suffix based provid o kern/129231 fs [ufs] [patch] New UFS mount (norandom) option - mostly f ports/129224 brooks ports/lang/llvm-gcc4 compilation error: .././../gcc/l o kern/129219 net [ppp] Kernel panic when using kernel mode ppp o ports/129210 portmgr [patch] Instrument bsd.port.mk to detect unstripped bi o ports/129198 clsung databases/p5-DBD-SQLite fails when SQLite is compil o kern/129197 net [panic] 7.0 IP stack related panic o stand/129196 standards Inconsistent errno in strtol() o usb/129173 usb [uplcom] [patch] Add support for Corega CG-USBRS232R a o kern/129172 [libc] signals are not delivered always o kern/129169 emulation [linux] [patch] Linux Emulation ENOTCONN error using n o ports/129165 perky [Update]databases/zodb3:update to 3.8.1 o kern/129164 [kernel] Wrong priority value for normal processes o kern/129152 fs [panic] non-userfriendly panic when trying to mount(8) f i386/129149 vwe [panic] 6.4-RC2 page faults during kernel-mode boot pr o kern/129148 fs [zfs] [panic] panic on concurrent writing & rollback o kern/129135 net [vge] vge driver on a VIA mini-ITX not working o kern/129132 [nfs] 7.1-Beta2 nfsd cannot lock o kern/129125 [psm] psm0: failed to reset the aux device. o ports/129122 openoffice editors/openoffice.org-3: building OpenOffice.org-3.0. o kern/129103 ipfw [ipfw] IPFW check state does not work =( o kern/129098 [panic] vinvalbuf: dirty bufs on 6-STABLE o docs/129095 doc ipfw(8): Can not check that packet originating/destine o kern/129093 ipfw [ipfw] ipfw nat must not drop packets o kern/129059 fs [zfs] [patch] ZFS bootloader whitelistable via WITHOUT o kern/129053 [lor] lock order reversal with printf(9) o bin/129052 ps(1) %cpu column reports misleading data for threaded f kern/129040 gavin [install] Lockup during boot - Cannot install the OS o kern/129036 ipfw [ipfw] 'ipfw fwd' does not change outgoing interface n o docs/129024 keramida [patch] ipfw(8) improvements o bin/129014 [regression] ftp(1) cannot bind to specific source IP o conf/128994 UPDATING falsly states DTrace bindings are built by de s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa p arm/128987 stas [patch] Fix at91_mci and use 1-bit mode. o amd64/128978 amd64 [install] FreeBSD 6.3 64-bit panics at boot time duri o usb/128977 usb [usb] [patch] uaudio is not full duplex o ports/128972 cy Port security/krb5 has a linking problem when compiled o bin/128954 net ifconfig(8) deletes valid routes o ports/128952 apache [NEW PORT] java/javadb: Sun's supported distribution o o java/128948 java java/jdk16 built from source can't bind a socket, but o www/128943 www dmesg output for ASUS M3A79-T running FreeBSD-7.1-PRER o kern/128933 [libc] realpath(3) does not follow SUS specification f o threa/128922 threads threads hang with xorg running o kern/128917 net [wpi] [panic] if_wpi and wpa+tkip causing kernel panic o bin/128886 ntpd(8): ntpd -L flag doesn't work o kern/128884 net [msk] if_msk page fault while in kernel mode o ports/128881 ruby ports-mgmt/portupgrade backtrace f conf/128874 [termcap] termcap entry for rxvt missing :AX: capabili o kern/128870 [pccbb] Interrupt Storm when plugging in PCMCIA Card ( p bin/128842 attilio ps(1) command output includes thread name only when it p bin/128841 attilio ps(1) PADDR (and others?) field width insufficient for o kern/128840 net [igb] page fault under load with igb/LRO o ports/128838 des [PATCH] www/varnish 2.0.1 enhancements f kern/128829 fs smbd(8) causes periodic panic on 7-RELEASE o amd64/128810 amd64 AMD 64 port installation o java/128809 java JVM aborted when GNU RXTX write to serial port. o usb/128803 usb [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X2 o ports/128787 doceng print/ghostscript8 8.63 fails with -sDEVICE=ijs -sIjsS o ports/128783 stas net-mgmt/flow-tools: flow-send Does not work on freebs o ports/128782 ume [PATCH] mail/cyrus-imapd23 2.3.13 o docs/128768 delphij Missing documentation about tmpfs mount options o amd64/128765 amd64 [install] Install CD loads to Install choices but stop p usb/128760 cperciva [ums] [patch] patch for Microsoft Comfort Optical Mous o ports/128754 portmgr bsd.port.mk: implement master sites randomization f usb/128745 weongyo zyd teoretically supported usb device makes kernel pan o bin/128727 host(1) does not work properly with the -6 option o ports/128726 mi [NEW PORT] print/lyx16: Document processor interfaced o bin/128725 [patch] whois(1) does not correctly send queries regar o kern/128714 gmtime(3) infine loop o ports/128696 nobutaka Update textproc/uim and new package request textproc/u f ports/128694 gecko www/firefox3 - Firefox 3 corrupts PostScript printer f o kern/128689 [panic] www/apache22: Fatal trap 12: page fault while o amd64/128686 amd64 [ata] can't detect SATA Disk on 8.0-Current with NF550 o bin/128668 [request] Kerberos in the base system is too old o bin/128654 atacontrol(8) does not preserve rebuild status through o kern/128648 [drm] [hang] crash when using 3D-acceleration with Int o gnu/128645 [patch] grep(1): teach grep -r to how to ignore direct f kern/128639 acpi [patch] [acpi_asus] acpi for ASUS A6F,A3E,A3F,A3N not f kern/128634 acpi [patch] fix acpi_asus(4) in asus a6f laptop o kern/128633 fs [zfs] [lor] lock order reversal in zfs o conf/128632 security periodic 700.kernelmsg repeats messages p bin/128616 kientzle [patch] bsdtar(1) error message typo p misc/128610 kensmith [patch] /usr/src: the iso.1 target of make release do o kern/128608 [pccbb] [patch] add support for powering down and up C o bin/128605 secteam [patch] dhclient(8) - security issue o bin/128602 net [an] wpa_supplicant(8) crashes with an(4) o kern/128598 net [bluetooth] WARNING: attempt to net_add_domain(bluetoo o bin/128587 kensmith [patch] sysinstall(8) uses first mirror in Turkey even o bin/128582 [patch] wpa_cli(8): activate readline(3) support o kern/128577 [ixgbe] [patch] Send queue stall in ixgbe driver when o bin/128561 kientzle [patch] compile warning fixes for bsdtar test harness o ports/128556 mnag net/py-zsi installs with insufficient rights o stand/128546 standards ls -p does not follow symlinks o docs/128524 doc No geom documentation for loading gjournal(8) f ports/128522 stas Patch for graphics/lcms to add python binding f misc/128516 [build] /usr/src: "make doxygen" stops with error: mak o kern/128514 fs [zfs] [mpt] problems with ZFS and LSILogic SAS/SATA Ad o bin/128501 cperciva freebsd-update(8) does not work on netbooted machines o bin/128493 [patch] find(1) exits if -fstype test fails with EACCE o usb/128485 usb [umodem] [patch] Nokia N80 modem support o ports/128467 ale [patch] databases/php4-dba: change Berkeley DB detecti o bin/128465 [request] mount_smbfs(8) does not support IPv6 o kern/128452 scsi [sa] [panic] Accessing SCSI tape drive randomly crashe o kern/128448 net [nfs] 6.4-RC1 Boot Fails if NFS Hostname cannot be res o misc/128444 [build] [patch] create USB stick install image o conf/128433 [patch] Add option to allow a full login when doing 's o bin/128427 [patch] mdfs(8): mount_mfs warns "chmod: Read-only fil o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive o usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o java/128411 glewis jdk1.5 Querying JMX mbean OperatingSystem->TotalPhysic o docs/128356 doc [request] add Firefox plugin for FreeBSD manual pages o kern/128335 [patch] [cpufreq] Missing call to sbuf_delete() in two o conf/128334 net [request] use wpa_cli in the "WPA DHCP" situation o docs/128325 mckusick README.snapshots still refers to snaphots as "alpha-te o usb/128324 usb [uplcom] [patch] remove baud rate restriction for PL23 f bin/128312 vwe netstat(1): output field "Netif" too small f kern/128308 gavin [psm] psm0 cause page fault o kern/128304 vn_pollrecord(3) derefs NULL if v_addpollinfo() fails o conf/128299 rc [patch] /etc/rc.d/geli does not mount partitions using o bin/128295 net [patch] ifconfig(8) does not print TOE4 or TOE6 capabi o kern/128287 remko re(4) regression in 7.1 BETA2 o gnu/128284 gdb(1) segfaults f kern/128282 gavin [mpt] system failure on removing two drives o bin/128277 [patch] improvements for fwcontrol(8) utility f kern/128276 geom [gmirror] machine lock up when gmirror module is used o amd64/128263 amd64 [panic] 2 amd64 dl380 g5 with dual quadcore xeons, 8 a o gnu/128262 [libgcc] [patch] contrib/gcclibs/libcpp/errors.c: -Wmi o kern/128260 ipfw [ipfw] [patch] ipfw_divert damages IPv6 packets o amd64/128259 amd64 csh(1): "`" crashes csh o ports/128256 ale www/tomcat-native rewrites APR library distributed wit o ports/128250 pgollucci net-mgmt/net-snmp: pf (packet filter) support p kern/128247 bz [ip6] [panic] Fatal Trap 12 in ip6_forward = o kern/128245 scsi [scsi] "inquiry data fails comparison at DV1 step" [re p docs/128222 trhodes [patch] man page truss(1) claims that init(8) can be t f kern/128181 yongari [fxp] panic in fxp_add_rfabuf o threa/128180 attilio pthread_cond_broadcast(3) lost wakeup o kern/128177 jeff [sched_ule] wrong CPU usage reported by top/ps with SC f kern/128173 fs [ext2fs] ls gives "Input/output error" on mounted ext3 o kern/128172 gavin [keyboard] Remote Console (Keyboard) of AOC-SIM1U+ not o kern/128165 [aac] [patch] sync aac(4) with the latest vendor versi o ports/128142 mi update net/ekiga to 3.0.0 to fit GNOME 2.24 o ports/128141 mi update net/opal to 3.4.1 to fit GNOME 2.24 o www/128113 www outdated port count graph in www.freebsd.org/ports o kern/128103 vwe [feature request] [patch] new SiS 190 NIC driver o bin/128096 bushman [patch] nscd(1): Failure in memset . o bin/128094 [patch] lint(1): Sizeof(pointer) bug in usr.bin/xlint/ o ports/128091 sobomax misc/zaptel drivers can't be used when asterisk runs a p docs/128089 kientzle [patch] Incorrect type in archive_write(3) manpage f bin/128088 vwe who(1) not listing all logged in users. o kern/128083 [psm] [panic] early SMP panic on GA-G31M-S2L motherboa o ports/128078 apache www/apache20 -- LDAP support is broken o kern/128076 [panic] Fatal trap 12: page fault while in kernel mode o kern/128040 [pccbb] [patch] System hangs when PCMCIA-CF adapter pl o kern/128037 [pccbb] [patch] System hang on shutdown with PCMCIA-CF o kern/128036 [sio] [patch] serial console mostly ignores typein to o kern/128035 [ata] unexpexted detach of external SATA drive o docs/128032 jeff pthread(3) mentions libkse which has been removed in 8 s conf/128030 bz [ipsec] [request] Isn't it time to enable IPsec in GEN o ports/128028 portmgr bsd.port.mk - Ports-Script do not recognize dialog-ret o ports/128025 [patch] security/heimdal ldap support broken under 7 o i386/128014 i386 [geode] [patch] AMD Geode CS5536 watchdog(9) not disab f kern/128009 vwe setkey(8) coredumps freebsd7 on sha1_result line 263 p o bin/128001 net wpa_supplicant(8), wlan(4), and wi(4) issues p ports/127995 jpaetzel net/isc-dhcp30-server creates a user/group with dynami p bin/127986 [patch] ee(1): fix compiler warnings caused by use of o ports/127982 amdmi3 games/tnl: crashes when clicking on `single mission' i o i386/127981 i386 [loader] Stack underflow preventing boot [regression] o usb/127980 usb [umass] [patch] Fix Samsung YP U2 MP3 player on 7.x an o kern/127971 [panic] 7.0 RELEASE PANIC o bin/127932 [patch] mkdir(1): mkdir -p PATH fails if a directory i o kern/127930 ed auto-logout does not work o kern/127928 net [tcp] [patch] TCP bandwidth gets squeezed every time t o kern/127927 scsi [isp] isp(4) target driver crashes kernel when set up o usb/127926 usb [boot] USB Timeout during bootup o docs/127923 loader Please mention qemu in the FreeBSD Handbook o kern/127920 pf [pf] ipv6 and synproxy don't play well together o bin/127918 [patch] ATA Security support for atacontrol(8) o conf/127917 rc [patch] dumpon rejects on start with physmem>swap even o bin/127912 In theory, uncompress(1) may crash and SEGV f kern/127910 vwe [nfe] FBSD-7.0 amd64 nfe ethernet not completely worki o docs/127908 doc [patch] readdir(3) error documentation o www/127898 bugmeister [patch] query-pr.cgi: properly treat quoted-printable p docs/127890 trhodes socket(2) man page should explain that protocol can be o ports/127889 ruby ports-mgmt/portupgrade detects spurious failures and s o kern/127887 [psm] PSM0 not detected by the KERNEL in Compaq Prolia o bin/127872 [libc] [patch] Rewinding on unionfs and Subversion o kern/127870 [panic] HP DL320 lockup with kernel panic s docs/127844 doc Example code skeleton_capture_n.c in meteor(4) manpage o docs/127842 murray list of hardware devices missing from the relnotes p docs/127840 murray [patch] fix entity references in release/doc/en_US.ISO o kern/127834 net [ixgbe] [patch] wrong error counting o bin/127832 mux csup(1) is reporting RCS errors in ports. o kern/127826 net [iwi] iwi0 driver has reduced performance and connecti s ports/127822 tmclaugh [PATCH] security/sudo: add tuneable variable SUDO_LDAP o kern/127815 net [gif] [patch] if_gif does not set vlan attributes from o conf/127814 pf [pf] The flush in pf_reload in /etc/rc.d/pf does not w f kern/127813 linimon [ata] ata diver dma mode work incorrectly on chip vt82 o kern/127787 [lor] 3 lock LOR in recent CURRENT f ports/127778 brooks lang/llvm-gcc4: llvm can't create shared lib o bin/127764 [boot0cfg] [patch] preserve NT disk UID data for boot0 o ports/127728 ports/games/freebsd-games doesn't build, and larn(6) s o kern/127724 net [rtalloc] rtfree: 0xc5a8f870 has 1 refs f bin/127719 net [arp] arp: Segmentation fault (core dumped) o ports/127718 brooks [patch] devel/llvm: use PIC on amd64 and add optional o kern/127717 [ata] [patch] - support write cache toggling per devic o bin/127711 sysinstall(8): cant excape from failed distribution ft o kern/127659 fs [tmpfs] tmpfs memory leak p kern/127644 weongyo [ndis] [panic] NDIS panic o amd64/127640 amd64 gcc(1) will not build shared libraries with -fprofile- o bin/127633 edwin [patch] Update top(1) to 3.8b1 o kern/127623 [headers] header definition for cftime is missing. s ports/127608 marius [patch] sysutils/cdrtools - cdrecord: fix device enume p docs/127602 trhodes [patch] Incomplete information in nsswitch.conf(5) s kern/127587 net [bge] [request] if_bge(4) doesn't support BCM576X fami o kern/127581 acpi [patch] [acpi_sony] Add support for more Sony features o kern/127553 [build] (errata) in kernel generic et al, device ural s usb/127549 usb [umass] [patch] Meizu MiniPlayer M6 (SL) requires some o usb/127543 n_hibma [patch] [ubsa] Support Option Globetrotter HSDPA modem o bin/127532 [patch] install(1): install -S Not Safe in Jail with s f kern/127528 net [icmp]: icmp socket receives icmp replies not owned by f kern/127517 [ata] sata does not detect SATA-300 disk but instead d f ports/127499 mi [PATCH] Update devel/icu to 4.0 o www/127497 www new entry to FreeBSD/amd64 Project -- motherboards a ports/127496 mi devel/icu 3.8.1_1 does not build when Danish locale is o kern/127492 fs [zfs] System hang on ZFS input-output o kern/127486 [smp] [panic] early SMP panic ("AP #1 (PHY #1) failed! o amd64/127484 amd64 [timecounters] Drift problem with FreeBSD 7.0 and 7.1 o bin/127475 [patch] sockstat(1) output columns run into each other o misc/127471 [build] [patch] installworld fails if install-info is s ports/127469 portmgr bsd.port.mk - ports system does not honour NO_MANCOMPR o ports/127467 portmgr bsd.port.mk: fix checking DISTDIR for writeability s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should o amd64/127451 amd64 [scheduler] incorrect load on quad core p kern/127446 emax [kbdmux] [patch] fix race in sys/dev/kbdmux/kbdmux.c o kern/127441 jb [dtrace] Dtrace timestamp variable is wrapping as if d o kern/127440 jb [dtrace] Dtrace arg0/arg1 variables don't contain retu o kern/127439 pf [pf] deadlock in pf p docs/127432 remko [patch] update fsck_ffs(8) man-page with regarding to o usb/127423 usb [boot] BTX halted on Gigabyte GA-MA69VM-S2 / AMD Sempr o kern/127420 fs [gjournal] [panic] Journal overflow on gmirrored gjour p kern/127411 [ata] [panic] ata panics on bad block p docs/127406 n_hibma [patch] update umodem man page: Sony Ericsson W810i o amd64/127397 amd64 [amd64] 32bit application on FreeBSD-6.3 amd64 gets SI o kern/127391 [ata] [patch] Intel 6300ESB SATA150 cannot find disk a o i386/127387 kib [i386] [patch] Inline assembler in x86 _start() in crt f kern/127375 kmacy [zfs] If vm.kmem_size_max>"1073741823" then write spee o i386/127374 i386 Suspend/Resume with Keystroke only once on Thinkpad T4 o kern/127360 kmacy [socket] TOE socket options missing from sosetopt() o docs/127359 keramida Undocumented firewall_xxx options for rc.conf in stabl f kern/127345 pf [pf] Problem with PF on FreeBSD7.0 [regression] o i386/127343 i386 [hang] System locks -- simular to PR 123729 o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o i386/127337 i386 [boot] FreeBSD 7.1/i386 BTX boot problem on Pavilion d a bin/127331 edwin [patch] top(1) only shows cputime used by one process o ports/127321 japanese/kon2-16dot: buffer overflow and mouse bugs f ports/127319 dougb [PATCH] ports-mgmt/portmaster - add completion for zsh o kern/127316 [ata] non aligned DMA transfer errors when using growi o ports/127303 kuriyama [patch] misc/amanda-server Add pkg-install to create m o ports/127292 timur net/samba3: not work cancel inheritance on share p kern/127289 [ata] [patch] new pci ids for SiI3132 present on adapt o ports/127286 linimon update to makeduds script to annotate why packages wer o bin/127280 des [libfetch] [patch] fetch/libfetch RFC 1738 %2F escaped s amd64/127276 amd64 ldd(1) invokes linux yes o bin/127270 fsck_msdosfs(8) may crash if BytesPerSec is zero o bin/127265 [patch] ddb(4): Adding the ddb command set from module o ports/127262 skv lang/php5: fbclient crashes php engine [regression] o docs/127253 gavin Error in Handbook: http://www.freebsd.org/doc/en/books p kern/127250 [ata] Kerneltrap 12 with atacontrol o usb/127248 usb [ucom] panic while uplcom devices attaach and detach o kern/127233 darrenr [ipnat]: ipnat + ipfilter source routing not handling o kern/127230 ipfw [ipfw] [patch] Feature request to add UID and/or GID l s ports/127229 lwhsu [PATCH] sysutils/dtc: unbreak, fix some typos, remove o threa/127225 threads bug in lib/libthr/thread/thr_init.c o kern/127222 usb [ohci]: Regression in 7.0 usb storage generic driver o ports/127214 secteam [PATCH] ports-mgmt/portaudit: Please change to U o kern/127213 fs [tmpfs] sendfile on tmpfs data corruption o ports/127210 portmgr bsd.destdir.mk - chrooted install of a port does not f o kern/127209 ipfw [ipfw] IPFW table become corrupted after many changes o bin/127192 net routed(8) removes the secondary alias IP of interface o ports/127181 audio/musicpd logs warning f kern/127145 net [wi]: prism (wi) driver crash at bigger traffic o gnu/127136 Typo in tree-nested.c o ports/127132 anray mail/vm needs updated to version 8.0.* o kern/127131 multimedia [bktr] /usr/src/sys/dev/bktr/bktr_os.c, line 469: wron o amd64/127129 amd64 mdconfig(8) is core dumping with Segmentation Fault 11 o kern/127121 pf [pf] [patch] pf incorrect log priority f kern/127119 [ata] incorrect ata device probing o kern/127109 [mpt]: FreeBSD fails to boot except in safe mode o ports/127104 skv devel/otrs - OTRS/PostgreSQL 8.3.3 error: Syntax error o kern/127102 net [wpi] Intel 3945ABG low throughput o bin/127095 mux csup(1): Csup truncates files using RELENG_6 s ports/127087 mail/bincimap port does not include an rc.d file o ports/127084 multimedia multimedia/linux-realplayer is vulnerable o kern/127057 net [udp] Unable to send UDP packet via IPv6 socket to IPv s bin/127056 lp(1) doesn't use -o options f sparc/127051 sparc64 [hme] hme interfaces "pause" with the message "device o kern/127050 net [carp] ipv6 does not work on carp interfaces [regressi o kern/127048 systat(1) information leak when security.bsd.see_other o kern/127042 pf [pf] [patch] pf recursion panic if interface group is p kern/127040 davidxu [patch] mqueuefs(5) witness panic o bin/127034 [patch] Add option to count apparent size to du(1) o kern/127029 fs [panic] mount(8): trying to mount a write protected zi o ports/127019 ruby ports-mgmt/portupgrade does not recognize fail conditi f ports/127018 emulation Linuxulator incapable of using FreeBSD's LDAP environm o ports/127017 sysutils/ntfsprogs - ntfsclone not working version 2.0 p kern/126984 glebius [carp] [patch] add carp userland notifications via dev o kern/126973 daichi [unionfs] [hang] System hang with unionfs and init chr o kern/126971 [boot] loader/kernel does not obey comconsole_speed o conf/126946 [patch] Add OpenVPN ports to services(5) o kern/126945 net [carp] CARP interface destruction with ifconfig destro o kern/126937 rnoland [drm] System hang when start X o bin/126936 locate.updatedb(8): updatedb fails silently when attem p docs/126934 trhodes missing 'crit' in usr.sbin/syslogd/syslog.conf.5 s ports/126932 itetcu gapcmon option in sysutils/apcupsd conflicts with sysu o kern/126926 [build] [patch] Add MACHINE to dmesg o kern/126924 net [an] [patch] printf -> device_printf and simplify prob f kern/126902 geom [geom] geom_label: kernel panic during install boot o kern/126895 net [patch] [ral] Add antenna selection (marked as TBD) o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c o kern/126874 net [vlan]: Zebra problem if ifconfig vlanX destroy o kern/126866 scsi [isp] [panic] kernel panic on card initialization o kern/126861 [panic] 6.2 (SMP) crashes when polling disabled o ports/126853 secteam ports-mgmt/portaudit: speed up audit of installed pack o usb/126848 usb [usb]: USB Keyboard hangs during Installation p conf/126841 philip [syscons] [patch] Add eee900 keyboard layout to /usr/s p conf/126829 matteo gjournal not in /boot/defaults/loader.conf o ports/126826 thierry sysutils/xvidcap failes to build o bin/126822 net wpa_supplicant(8): WPA PSK does not work in adhoc mode o kern/126821 [panic] Fatal trap 12 (kdeinit) o bin/126819 randi sysinstall(8) During install if initial name look-up f f ports/126812 x11 x11-drivers/xf86-video-ati - System freeze when exitin o kern/126807 [ata] PATA DVD drive attached to AMD IXP700 chipset no o kern/126788 [boot] Can not boot FreeBSDv7.0.iso from USB formated o kern/126784 [agp] agp.ko doesn't detect Acer Aspire One onboard gr o misc/126747 [build] bsd.dep.mk does not remove .depend on cleandep o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o bin/126721 gcc(1) g++(1) Compiling, assembling and linking code w o kern/126714 net [carp] CARP interface renaming makes system no longer f kern/126703 kmacy [panic] [zfs] _mtx_lock_sleep: recursed on non-recursi o kern/126697 emaste [aac] aac driver bug. aaccli still doesn't work o kern/126695 net rtfree messages and network disruption upon use of if_ o kern/126688 net [ixgbe] [patch] 1.4.7 ixgbe driver panic with 4GB and p bin/126682 delphij [patch] sed(1) segfaults on error rather than error me o i386/126666 i386 [boot] [hang] boot failure for nForce 630i / GeForce 7 f kern/126665 yongari [vr] Integrated VIA Rhine II receive errors o ports/126664 roam mail/vpopmail - Failure to upgrade to courier-0.54.0_1 p bin/126657 [patch] w(1) breaks multibyte date format s kern/126620 [request] RTL8187B Driver for freebsd o bin/126619 randi sysinstall(8) deletion of routes when reinitializing m f www/126617 jkois Commercial vendory entry addition request o docs/126590 doc [patch] Write routine called forever in Sample Echo Ps o bin/126562 rc rcorder(8) fails to run unrelated startup scripts when o kern/126553 daichi [unionfs] unionfs move directory problem 2 (files appe o bin/126546 des pam_nologin(8) in auth causes log spam o ports/126534 perky [Update]databases/py-rrdtool_lgpl:update to 1.0b1 o usb/126519 usb [usb] [panic] panic when plugging in an iphone o ports/126513 doceng print/ghostscript8 (was ghostscript-gpl): compile bug p docs/126487 keramida fix language on atol(3) manpage o docs/126484 doc libc function res-zonscut2 is not documented o kern/126475 net [ath] [panic] ath pcmcia card inevitably panics under f kern/126469 yongari [fxp] [panic] fxp(4) related kernel panic p bin/126468 bz [ipsec] some ipsec configurations make FreeBSD panic a bin/126446 secteam Vulnerability about OpenSSL p misc/126435 ed [patch] /usr/share/examples/drivers/make_pseudo_driver o bin/126433 [patch] some missing checks in rm(1) o kern/126419 [ar] Fails to boot from RAID10 volume under the Intel o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o conf/126392 rc [patch] rc.conf ifconfig_xx keywords cannot be escaped o bin/126384 [request] find(1) doesn't support whiteout entries yet p kern/126368 bz [jail] Running ktrace/kdump in jail leads to stale jai o kern/126364 [panic] Fatal trap 12: page fault while in kernel mode o kern/126339 net [ipw] ipw driver drops the connection o bin/126324 rc [patch] rc.d/tmp: Prevent mounting /tmp in second tim o misc/126312 [build] debug message going to stderr while doing "mak o ports/126309 sobomax /usr/ports/misc/zaptel driver dont support the TE122 o bin/126307 syrinx bsnmpd(1): UNIX socket leak on 6.3 when using Hostres- o conf/126305 nsmb.conf(5): Hostnames in nsmb.conf seem to be ignore o bin/126301 pkg_version(1) can induce unexpected parsing of INDEX o kern/126300 [build] [patch] Add missing -mno-sse3 flag for AMD64 t o kern/126289 [libc] select(2) apparently consumes cpu when it shoul o kern/126287 fs [ufs] [panic] Kernel panics while mounting an UFS file o kern/126242 [ata] Read error from SATA CD/DVD-drives [regression] o kern/126232 emulation [linux] Linux ioctl TCGETS (0x5401) always fails o misc/126230 weird process cpu usage stats and weird load average p docs/126227 trhodes [patch] kthread(9) refers to non-existent manpage, des o kern/126214 net [ath] txpower problem with Atheros wifi card o i386/126162 i386 [acpi] ACPI autoload failed : loading required module o kern/126142 [ata] M5281: READ DMA faults, device detaching o ports/126140 ruby ports-mgmt/portupgrade runtime error o misc/126131 cperciva portsnap(8) fetch error with HTTP_PROXY or HTTP_PROXY_ o kern/126113 rnoland [drm] Issues with DRM with Intel GM965 chipset o kern/126098 [cy] 6.3 only sees 16 ports on 32 port Cyclades Cyclom f kern/126089 [panic] Fatal trap 12: page fault while in kernel mode o ports/126083 thierry textproc/aspell core dumps f ports/126079 portmgr [patch] bsd.port.mk: make openssl.mk usable after pre. o kern/126076 [headers] POLL_ERR and POLL_HUP are defined identicall o kern/126075 net [inet] [patch] internet control accesses beyond end of f ports/126042 mi audio/festival: add OGI option o ports/126012 portmgr [NEW PORT]: wxHaskell ports f ports/125996 danfe [patch] x11/nvidia-driver - remove pkg_info statements f kern/125985 [umass] [panic] no da-device, panic upon unplugging o ports/125936 ruby ports-mgmt/portupgrade -R fails if BUILD_DEP's are not o bin/125932 pkg_add(1) doesn't prompt for root credentials and the o bin/125922 net [patch] Deadlock in arp(8) o docs/125921 doc lpd(8) talks about blocks in minfree while it is KB in o kern/125920 net [arp] Kernel Routing Table loses Ethernet Link status o kern/125895 [panic] kernel: panic: ffs_blkfree: freeing free block o ports/125883 x11 x11-fonts/xorg-fonts-cyrillic is installed, but fonts o i386/125880 i386 [cardbus] Cardbus cards Don't function on TI PCIxx12 C p bin/125878 kmacy [patch] [request] Add zfs/zpool to rescue programs. o amd64/125873 amd64 [smbd] [panic] Repeated kernel panics, trap 12 page fa o kern/125859 [ata] [patch] sata access failure [regression] o bin/125855 standards sh(1) allows for multiline, non-escaped control struct o kern/125845 net [netinet] [patch] tcp_lro_rx() should make use of hard o ports/125823 ruby [PATCH] ports-mgmt/portupgrade does not use custom ECH o kern/125816 net [carp] [if_bridge] carp stuck in init when using bridg o kern/125808 rnoland [drm] [patch] Radeon X800 GTO - *ERROR* Offset failed o kern/125806 kmacy [cxgb] cxgb packet counters do not work o kern/125769 [ses] [panic] getencstat(8) panics system with "Sleepi o kern/125759 [ar] Fatal Trap 12 when ICH9R RAID becomes degraded s kern/125756 multimedia [sound] [patch] cannot detect soft-modem on HDA bus f bin/125753 cron(8) not mailing output o docs/125751 doc man 3 pthread_getschedparam section ERRORS incomplete s kern/125738 fs [zfs] [request] SHA256 acceleration in ZFS o usb/125736 usb [ukbd] [hang] system hangs after AT keyboard detect if o kern/125723 [ciss] System randomly crashes or can not boot - ciss o kern/125722 [boot] [install] error "BTX halted" at installation Fr o kern/125721 [ath] Terrible throughput/high ping latency with Ubiqu o ports/125719 skreuzer shells/pdksh, zombie process's occouring on SMP Machin o docs/125717 keramida minor wpa_supplicant.conf(5) buglet o kern/125710 [vga] Dragon_Saver Error 19 Freebsd 7.0 AMD64 o bin/125707 [patch] powerd(8): force a method of battery state que o kern/125704 [ng_nat] kernel libalias: repeatable panic o bin/125678 [patch] ls(1) -h option doesn't work if the listing co o kern/125675 [keyboard] [patch] Add hw.syscons.kbd_suspend new sysc p kern/125673 firewire [firewire] [panic] FreeBSD7 panics when kldunloading f o ports/125655 mbr Incorrect startup variable in mail/up-imapproxy rc.d/i o kern/125647 [ciss] [panic] System randomly crashes - ciss driver o kern/125644 fs [zfs] [panic] zfs unfixable fs errors caused panic whe p docs/125639 trhodes [patch] kldunloadf(2) does not mention about possible o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o kern/125617 [ath] ath(4) related panic a kern/125613 trasz [ufs] [patch] ACL problems with special files o i386/125592 i386 [hang] FreeBSD 7 server in hang o java/125583 java Java gui programs stop without error message o conf/125551 [patch] building WLAN userland should be optional f kern/125536 fs [ext2fs] ext 2 mounts cleanly but fails on commands li o i386/125516 gavin [install] 7.0-RELEASE install dies o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d f kern/125502 net [ral] ifconfig ral0 scan produces no output unless in o kern/125501 [ath] atheros cardbus driver hangs o kern/125496 [ar] [patch] free memory on ataraid module unload o kern/125467 pf [pf] pf keep state bug while handling sessions between o kern/125454 [digi] [patch] device digi (PC/Xe 64K 16 ports) not wo f ports/125453 cy net/ntp should no longer use mlockall() o usb/125450 usb [panic] Removing USB flash card while being accessed c o bin/125449 [patch] awk(1): /usr/bin/awk fails mawk's FPE test f kern/125442 gonzo [carp] [lagg] CARP combined with LAGG causes system pa f kern/125413 kmacy [zfs] [panic] Panic when doing zfs raidz with gmirror o kern/125389 [ipmi] [bce] IPMI problem with bce o i386/125383 i386 [amdtemp] [request] please enable amdtemp on i386 o kern/125382 [libc] open(2): ENOSPC may be misleading, consider EIO o bin/125370 ipfw [ipfw] [patch] increase a line buffer limit o bin/125365 matteo [patch] mdconfig(8) -l overflow for size field f kern/125358 linimon [zfs] missing .. link in zfs snapshot o kern/125356 [kqueue] [panic] Repeated panic in kqueue_close from k o bin/125350 des [libfetch] [patch] src/lib/libfetch add support for de o kern/125332 [ath] [hang] crash under any non-tiny networking under a ports/125330 dinoex print/cups-base update fails when nscd running o docs/125329 keramida PACKAGEROOT should be documented in the Handbook o bin/125325 Annoying grep(1) bug with --color s ports/125324 editors/the (3.2) looses cursor when compiled with PDC p usb/125264 usb [patch] sysctl for set usb mouse rate (very useful for o kern/125258 net [socket] socket's SO_REUSEADDR option does not work p docs/125253 trhodes [patch] jail(2) does not mention about possible error o kern/125251 [panic] kernel panic o kern/125239 net [gre] kernel crash when using gre o usb/125238 usb [ums] Habu Mouse turns off in X f kern/125195 yongari [fxp] fxp(4) driver failed to initialize device Intel o bin/125185 csh(1) exit on signal 11 o bin/125184 des sshd(8) does not always log IP address for login failu o ports/125183 apache www/apache22 wrong SUEXEC_DOCROOT p kern/125181 thompsa [ndis] [patch] with wep enters kdb.enter.unknown, pani p bin/125154 matteo [patch] mount(8) ignores values returned by exec_mount o kern/125149 fs [nfs] [panic] changing into .zfs dir from nfs client c a kern/125139 philip [patch] [ata] bugs in ATAPI CD tray control o ports/125113 des [Update]astro/openmap:update to 4.6.4 p bin/125098 [patch] ee(1) consume 100% cpu usage o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o ports/125045 ume [patch] mail/cyrus-imapd: add patch for autocreate INB o conf/125041 [patch] New file: /etc/periodic/security/810.loginok o misc/125039 cperciva Updating 7.0-RELEASE with freebsd-update failes o kern/125034 [devfs] [patch] devfs does not apply rules to newly cr o kern/125030 [devfs] [patch] Command 'devfs ruleset 0' causes panic o ports/125012 ahze problems in math/ldouble for 128bit long double on i38 o i386/125011 i386 precision of constants for long double o kern/125009 [patch] access(2) grants root execute perms for non-ex p kern/125003 hrs [gif] incorrect EtherIP header format. o amd64/125002 amd64 [install] amd64, SATA hard disks not detected o kern/124996 [patch] "filesystem goof: vop_panic[vop_revoke]" panic o kern/124989 [mfi] mfi driver error - unexpected sense o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o kern/124973 geom [gjournal] [patch] boot order affects geom_journal con o gnu/124970 gdb(1): gdb crashes after setting hardware watchpoint o kern/124969 geom gvinum(8): gvinum raid5 plex does not detect missing s o kern/124963 alc [vm] [patch] old pagezero fixes for alc s kern/124933 pf [pf] [ip6] pf does not support (drops) IPv6 fragmented o kern/124908 rwatson [socket] kernel performs inadequate check for incorrec o kern/124904 yongari [fxp] EEPROM corruption with Compaq NC3163 NIC p i386/124902 delphij [i386] [patch] patch to fix VESA modes and allow 8bit o kern/124881 [devfs] [patch] [request] Add possibility to check whi o stand/124860 standards flockfile(3) doesn't work when the memory has been exh p kern/124853 gonzo [devfs.rules] [patch] devfs_ruleset_use may use freed o bin/124825 mlaier tcpdump(8) does not support pfsync(4) data o bin/124822 [editline] [patch] Editline's ed-search-{prev,next}-hi o ports/124798 brix [patch] irc/bitlbee is not doing SRV lookups for XMPP o www/124787 remko Internet Service Provider o www/124784 remko Please add to the commercial vendors list o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o kern/124767 net [iwi] Wireless connection using iwi0 driver (Intel 220 o ports/124765 ume sysutils/gkrellm2 shows wrong number of users in proc o usb/124758 usb [rum] [panic] rum panics SMP kernel o kern/124754 [i915] i915 kernel module does not works with G965 o kern/124753 net [ieee80211] net80211 discards power-save queue packets o bin/124748 [patch] sh(1): sh -c 'exit -1' fails with "Illegal num o conf/124747 rc [patch] savecore can't create dump from encrypted swap o kern/124744 acpi [acpi] [patch] incorrect _BST result validation for To o bin/124739 edwin b64decode(1): "b64decode -r" fails to decode legal bas a docs/124716 trhodes [patch] GEOM RAID1 handbook example only covers boot p o usb/124708 usb [panic] Kernel panic on USB KVM reattach o kern/124670 [ata] large file operation on RAID cause many GEOM err o bin/124669 growfs(8) does not work with RAID volume o kern/124667 scsi [amd] [panic] FreeBSD-7 kernel page faults at amd-scsi o conf/124641 [patch] new periodic script for checking for ports wit o ports/124639 kde kde audio/arts sound skipping on playback; non-artsd s o i386/124633 i386 [boot] [panic] 7.0 does not boot from CD f kern/124621 fs [ext3] [patch] Cannot mount ext2fs partition o usb/124604 usb [ums] Microsoft combo wireless mouse doesn't work o kern/124564 [kernel] [patch] add CPUID bits to ident phenom proces s misc/124541 cperciva portsnap: portsnap3.FreeBSD.org mirror on error for ov o bin/124517 [patch] cdcontrol(1) doesn't print all error messages o i386/124516 kmacy [xen] FreeBSD-CURRENT Xen Kernel Segfaults when config o kern/124487 [procfs] [patch] Extending the PROCFS (/proc) filesyst f kern/124471 [lor] lock order reversal on kldload/kldunload dtracea o docs/124470 remko incomplete (and out of sync) glabel(8) manpage o docs/124469 remko incomplete nice(1) manpage o docs/124468 remko sticky(8) should be sticky(7) o kern/124464 [panic] Panic after showing login o misc/124452 [install] 7.0-RELEASE amd64 bootonly media fails to us o amd64/124432 amd64 [panic] 7.0-STABLE panic: invalbuf: dirty bufs o misc/124431 [build] [patch] minor revision of BDECFLAGS f bin/124424 fs [zfs] zfs(8): zfs list -r shows strange snapshots' siz s ports/124423 multimedia/mplayer detection of OSS Audio is faulty o kern/124412 acpi [acpi] power off error on Toshiba M40 laptop o bin/124409 fsck(8) requires exact entry for mountpoints when exec s ports/124404 vs net/pathchar coredumps o bin/124392 rink [patch] bootparamd(8) does not work on arm o kern/124389 [build] make installkernel fails with KMODDIR iff $(KM p misc/124385 mtm [build] [patch] usr.sbin/ngctl/main.c fails to compile o ports/124375 apache www/mod_auth_kerb doesn't compile against heimdal o kern/124364 pf [pf] [panic] Kernel panic with pf + bridge o bin/124353 cvsup(1): CVSup coredumps with Bus Error since install o bin/124349 [patch]: stat(1) should interpret st_flags as it does p bin/124342 mtm ggated(8): [patch] sbin/ggate/ggated/ggated.c fails to o kern/124341 net [ral] promiscuous mode for wireless device ral0 looses p kern/124334 mtm [libc] [patch] lib/libc/glob.c fails to compile under o ports/124321 kde x11/kdebase3 - KDE logins do not work with nsswitch LD o bin/124320 pam_radius(8): Login with ssh using pam_radius and a t o kern/124319 multimedia [sound] [snd_emu10k1] [regression] Cannot record from f kern/124294 geom [geom] gmirror(8) have inappropriate logic when workin o kern/124280 [nfs] [panic] FreeBSD 7/amd64 STABLE crash o ports/124258 des sysutils/munin-node creates $PREFIX/var/munin dir for o docs/124253 sam Broken command in the handbook for configuring a wirel p bin/124251 mtm [patch] add BUGS section to rcorder.8 with REQUIRE exp o conf/124248 rc [jail] [patch] add support for nice value for rc.d/jai o kern/124225 cokane [ndis] [patch] ndis network driver sometimes loses net o kern/124202 [aic] [patch] Add Adaptec 39320LPE to list of known de s kern/124174 [panic] Panic after installing audio/oss on an Asus A8 o kern/124164 [patch] Add SHA-256/512 hash algorithm to crypt(3) o kern/124160 net [libc] connect(2) function loops indefinitely o kern/124153 [panic] Fatal trap 12: page fault while in kernel mode o conf/124151 winbind is ignored in compat mode in nsswitch.conf(5) o amd64/124134 amd64 [kernel] The kernel doesn't follow the calling convent o kern/124130 usb [usb] gmirror fails to start usb devices that were pre o kern/124128 [puc] puc driver doesn't support VScom PCIex-800H 8-po o kern/124127 net [msk] watchdog timeout (missed Tx interrupts) -- recov o i386/124124 i386 [boot] [panic] Page fault while booting livefs iso of o bin/124119 edwin locate(1) doesn't check /etc/locate.rc for the default o kern/124111 i386_set_ldt(2): kernel says see i386_set_ldt; man pag o bin/124084 find(1): find -execdir does not prepend ./ to filename o kern/124064 [ar] [patch] cannot handle >16 serial number with Inte o bin/124057 sh(1) standard error redirection problem o bin/124052 [patch] adduser(8) throws errors when -f input file in o bin/124049 ntpd(8): ntpd is crashing at startup o kern/124021 net [ip6] [panic] page fault in nd6_output() o kern/123992 qingli [ecmp] ECMP does not remove/disable next-hop for downe p kern/123991 qingli [ecmp] ECMP balancing issues o i386/123990 i386 [boot] BTX halted on Thinkpad x60s o i386/123981 i386 [pxeboot] You can't usefully PXEBOOT the 7.0-RELEASE-i o kern/123980 [ata] [patch] Implement ATA UDMA speed limit (hw.ata.a p bin/123977 Segmentation fault in dialog(1) with ghostscript-gpl-n o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o kern/123968 net [rum] [panic] rum driver causes kernel panic with WPA. o kern/123962 geom [panic] [gjournal] gjournal (455Gb data, 8Gb journal), p kern/123961 net [vr] [patch] Allow vr interface to handle vlans o www/123946 bugmeister query-pr.cgi fails on shar-5.sh on ports/118906 o kern/123939 fs [msdosfs] corrupts new files o bin/123932 amd(8) core dumps while load high o gnu/123921 [patch] cpio(1): cpio -oc bug with write_out_header() o kern/123904 [ipmi] ipmi(4) reports negative temperature values on o kern/123892 net [tap] [patch] No buffer space available o kern/123890 net [ppp] [panic] crash & reboot on work with PPP low-spee o kern/123887 [ata] PDC20262 does not support 48 bit DMA access o kern/123858 net [stf] [patch] stf not usable behind a NAT o kern/123855 philip moused(8): spontaneous mouse events f kern/123813 [panic] 7.0-STABLE i386 reboots weekly with panic: kme p bin/123807 imp [patch] timed(8) does not run on arm (incorrect getopt o kern/123796 net [ipf] FreeBSD 6.1+VPN+ipnat+ipf: port mapping does not o kern/123793 bz [ipsec] [patch] KAME IPSEC does not pass processed pac o kern/123778 vwe [panic] [ffs] [msgs] server reboots when running 130.c o i386/123775 [dri] DRI Broken under freebsd7-stable/i386 o bin/123774 [patch] kdump(1): time_t printing issues o ports/123769 luigi Modules compiled using devel/linux-kmod-compat can't b o kern/123758 gnn [panic] panic while restarting net/freenet6 o kern/123755 dfr [nfs] fstat(1) fails to return ESTALE with rename()d f p kern/123754 mav [ata] [panic] atacontrol(8): atacontrol reinit causing f kern/123742 [acpi] [panic] kernel panic when boot with acpi disabl o kern/123735 [panic] 7.0-STABLE kernel panic "AP #1 (PHY# 1) failed o conf/123734 rc [patch] Chipset VIA CX700 requires extra initializatio o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o bin/123703 [patch] timed(8): qualify bad diagnostic in src/usr.sb o bin/123693 [patch] burncd(8): workaround for busy cd-writer while o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o stand/123688 standards POSIX standard changes in unistd.h and grp.h o kern/123674 scsi [ahc] ahc driver dumping o kern/123666 scsi [aac] attach fails with Adaptec SAS RAID 3805 controll o bin/123644 [patch] [sysctl] Allow sysctl(8) to ignore unknown OID o bin/123635 brian jot(1) handles 'stuttering sequences' and reversed ran o kern/123634 [vm] [panic] kernel panic with FreeBSD 7-STABLE o bin/123633 net ifconfig(8) doesn't set inet and ether address in one o kern/123630 geom [patch] [gmirror] gmirror doesnt allow the original dr o kern/123629 [panic] Fatal trap 12: page fault while in kernel mode f kern/123617 net [tcp] breaking connection when client downloading file o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o ports/123608 glewis java/jdk16 port fails to build o kern/123603 net [tcp] tcp_do_segment and Received duplicate SYN o kern/123587 bz [ipsec] IPCOMP broken in IPSEC (FAST_IPSEC for RELENG_ o bin/123574 daichi [unionfs] df(1) -t option destroys info for unionfs (a o ports/123570 itetcu audio/cpige version 1.5 coredumps if new .conf entries p kern/123568 gnn [lo] loopback interface error (don`t ask) f sparc/123566 kmacy [zfs] zpool import issue: EOVERFLOW f kern/123563 yongari [re] watchdog timeout o amd64/123562 amd64 [install] FreeBSD amd64 not installs o kern/123559 net [iwi] iwi periodically disassociates/associates [regre o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump o misc/123554 [build] buildworld with TARGET_ARCH=i386 fails on amd6 o bin/123553 [patch] Prevent indent(1) from splitting unrecognized o conf/123551 [patch] [periodic] /etc/periodic/daily/440.status-mail s ports/123526 gerald emulators/wine crashes with many ZFS configurations o amd64/123520 amd64 [ahd] unable to boot from net while using ahd p kern/123518 [patch] src/sys/kern.mk fails to disable -msse3 for am o conf/123516 [periodic] Daily Security Logs Not Reporting Failed Lo o usb/123509 usb [umass] continuous reset Samsung SGH-G600 phone f usb/123508 vwe [umass] [msdosfs] damaged files (mp3,txt , etc) on fla o docs/123484 edwin [patch] teach pxeboot.8 about ISC DHCP v3 a ports/123468 itetcu mail/postgrey: information leak, privacy issue o bin/123465 net [ip6] route(8): route add -inet6 -interfac o kern/123463 net [ipsec] [panic] repeatable crash related to ipsec-tool o i386/123462 i386 clock is too fast o amd64/123456 amd64 fstat(1): /usr/bin/fstat shows error messages and hang o misc/123452 mailman trustedbsd-audit email list not archiving o kern/123429 net [nfe] [hang] "ifconfig nfe up" causes a hard system lo o bin/123418 [patch] du(1): add -g (Gbyte) option to du(1) + manpag a ports/123410 dinoex graphics/pornview segmentation fault p kern/123399 [build] RELENG_7 kernel does not compile if IPV6 suppo o kern/123392 [vfs] [lor] lock order reversal in vfs o kern/123359 [hang] Install hangs before sysinstall a kern/123358 [ipfw] ipfw add 1000 allow IP from any to any doesn't o usb/123352 usb [usbdevs] [patch] Add Option GTMAX3.6/7.2 and Quallcom o usb/123351 usb [usbdevs] [patch] Add Reiner SCT cyberJack, Omnikey [2 o kern/123347 net [bge] bge1: watchdog timeout -- linkstate changed to D o conf/123330 net [nsswitch.conf] Enabling samba wins in nsswitch.conf c p bin/123329 phk [patch] usage strings for fifolog_create(1) and fifolo s bin/123304 sysinstall(8): missing sensible and user friendly prog o kern/123287 [devfs] structure used after freed in destroy_devl() i o kern/123279 thompsa [lagg] order of operations dependancy in bringing up l f amd64/123275 amd64 [cbb] [pcmcia] cbb/pcmcia drivers on amd64 failure [re o kern/123256 net [wpi] panic: blockable sleep lock with wpi(4) o misc/123240 [nanobsd] [patch] rerunning nanobsd.inc.sh fails becau o bin/123237 randi sysinstall(8): [patch]: sysinstall(8) -- remove dummy o conf/123222 rc [patch] Add rtprio(1)/idprio(1) support to rc.subr(8). o ports/123185 portmgr [patch] Mk/bsd.port.mk - Add extended description to O o kern/123177 secteam [random] [patch] arc4rand(9) produces the same sequenc f kern/123172 net [bce] Watchdog timeout problems with if_bce o kern/123166 yongari [re] CARP messages filtered by Realtek driver on > 6.2 o kern/123160 net [ip] Panic and reboot at sysctl kern.polling.enable=0 o misc/123156 [build] [patch] make.conf update to "make update" sect o misc/123155 [build] [patch] src/Makefile.inc1 bug: remove obsolete f ports/123154 python New port: devel/py-yapps2 (an easy-to-use parser gener p kern/123147 remko [ti] [patch] ti(4) doesn't use mii, but kernel configs o kern/123140 [smp] SMP boot causes slow KB, ATA drives not detected f ports/123137 x11 x11/libX11: missing ru_RU.UTF-8 locale o kern/123122 geom [geom] GEOM / gjournal kernel lock o conf/123119 ipfw [patch] rc script for ipfw does not handle IPv6 o kern/123095 [libc] sendfile(2): Suspected sendfile data corruption p bin/123069 [patch] ps(1): invalid value of 'elapsed' field in ps o ports/123068 sysutils/bubblemon2 bubblemon-dockapp: error extractin f kern/123066 vanhu [ipsec] [panic] kernel trap with ipsec f kern/123045 gonzo [ng_mppc] ng_mppc_decompress - disabling node o ports/123042 portmgr [patch] bsd.port.mk - Fix USE_LDCONFIG when used with o kern/123039 acpi [acpi] ACPI AML_BUFFER_LIMIT errors during boot f docs/123038 trhodes [patch] update to projects/c99/index.sgml p docs/123035 trhodes [patch] bugs in refuse.README a bin/123021 [patch] mount(8): mount -p shows incorrect mount optio o bin/123015 brooks [patch] rc.conf(8): implement automated creation of /e o kern/123013 [vm] panic "Bad tailq NEXT(%p->tqh_last) != NULL" o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o ports/122991 glewis java/jdk16 does not compile from ports o kern/122989 net [swi] [panic] 6.3 kernel panic in swi1: net f amd64/122970 yongari [re] [hang] RealTek 8168/8111B couses system crash o conf/122968 [md] md swapfile multiplication after init 1 o kern/122963 ipfw [ipfw] tcpdump does not show packets redirected by 'ip o usb/122956 usb [ubsa] [patch] add support for Novatel Wireless XU870 o kern/122954 net [lagg] IPv6 EUI64 incorrectly chosen for lagg devices o kern/122951 firewire [firewire] video-transfer via fwcontrol triggers a pan o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o kern/122928 net [em] interface watchdog timeouts and stops receiving p o threa/122923 threads 'nice' does not prevent background process from steali f kern/122915 [smp] Incorrect system cpu load o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa f ports/122890 stas Update port: www/ocaml-net (revision, added options) o kern/122888 fs [zfs] zfs hang w/ prefetch on, zil off while running t a i386/122887 i386 [panic] [atkbdc] 7.0-RELEASE on IBM HS20 panics immed o conf/122883 [patch] login class for ukrainian users accounts f kern/122880 vwe [hang] Kernel lock-up during 7.0 installation disc boo o ports/122877 portmgr [patch] Mk/bsd.port.mk - Show all pkg-message files f kern/122839 net [multicast] FreeBSD 7 multicast routing problem o kern/122838 [devfs] devfs doesn't handle complex paths (like zvol/ o ports/122830 x11 x11/xorg: Error in I830WaitLpRing() o usb/122819 usb [usb] [patch] Patch to provide dynamic additions to th o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o ports/122801 skv databases/virtuoso, databases/firebird20-client, datab o kern/122782 amd64 [modules] accf_http.ko kernel module is not loadable o kern/122780 net [lagg] tcpdump on lagg interface during high pps wedge o kern/122773 pf [pf] pf doesn't log uid or pid when configured to o kern/122772 net [em] em0 taskq panic, tcp reassembly bug causes radix o kern/122749 [cardbus] cardbus problem on IBM Thinkpad T60P o kern/122743 net [mbuf] [panic] vm_page_unwire: invalid wire count: 0 o kern/122738 geom [geom] gmirror list "losts consumers" after gmirror de o kern/122697 net [ath] Atheros card is not well supported o amd64/122695 amd64 [cpufreq] Lack of cpufreq control using amd64 eith cor o kern/122685 net It is not visible passing packets in tcpdump(1) a kern/122683 [sio] [freeze] access to non-existent sio port /dev/cu o kern/122670 [ata] [patch] broken acd_get_progress = ioctl CDRIOCGE p bin/122659 stefanf [patch] sh(1) long arithmetics broken on certain archi o bin/122652 [patch] du(1) support for inode count f i386/122644 i386 [panic] on-boot mount /tmp kernel dump o ports/122639 danfe audio/gtkpod - Confilicting include files break builds o amd64/122624 amd64 unusable minimal installation of FreeBSD-7.0 o i386/122623 i386 [build] [patch] bsd.cpu.mk doesn't handle opteron/athl o usb/122621 usb [new driver] [patch] New driver for Sierra Wireless 3G o ports/122616 python databases/py-pyPgSQL - apply bytea escape bug patch in o kern/122615 [devfs] [panic] occasional crash/boot while running Xo o i386/122602 i386 [build] i386/conf/PAE does not compile on RELENG_7 a kern/122597 thompsa [iwi] Intel iwi fails after 3 - 4 hours of use"firmwar o kern/122588 [lor] 4 Lock Order Reversal a kern/122565 bz [ipsec] [ip6] Possible memory overwrite for IPv6 IPsec o kern/122563 bz [ipsec] KEY_FREESAV() in FreeBSD-Release7.0 o kern/122562 bz [ipsec] IPsec AH tunneled packet mis handling? o kern/122551 net [bge] Broadcom 5715S no carrier on HP BL460c blade usi o amd64/122549 amd64 7.0-RELEASE-amd64-bootonly.iso doesn't work w/ serial o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o ports/122524 demon www/links1 uses 7-bit us-ascii codepage only when usin o bin/122522 kensmith sysinstall(8) doesn't unmount CD for multi-CD package o bin/122519 [patch] ppp(8): ppp provides deficient DNS info o java/122513 java native JDKs unbuildable with Linux ones f kern/122493 gavin [boot] BTX Halted - Cause is Promise Fastrack SATA PCI o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o bin/122479 openssl(1): openssl SEGV with DTLS o conf/122477 rc [patch] /etc/rc.d/mdconfig and mdconfig2 are ignoring o amd64/122468 amd64 Compile problems after upgrading to 7.0 f kern/122462 [boot] Fails to boot from an usb harddrive o conf/122445 Unable to override EDITOR in /etc/profile due to defau o ports/122422 mbr Update port: mail/up-imapproxy fix rc.d script to actu f kern/122415 geom [geom] UFS labels are being constantly created and rem o kern/122380 fs [ffs] ffs_valloc:dup alloc (Soekris 4801/7.0/USB Flash o kern/122373 jfv [em]: unable to recieve on em 82542 w/o promisc f kern/122368 [ata]: Failure to support SATA/PATA drives on 6.3 and f ports/122341 portmgr Mk/bsd.port.mk: deprecate X11BASE use o ports/122333 gavin net/arping - patch to lookup for interface and src ip, o kern/122331 [wpa] [panic] 7.0-RELEASE && panic in Wifi area with W o kern/122321 [mpt] Hitachi SCSI drive can't be written to o kern/122319 net [wi] imposible to enable ad-hoc demo mode with Orinoco o kern/122301 [build] kernel compile with "options DEBUG_LOCKS" fail f misc/122300 kensmith [build] [patch] SEPARATE_LIVEFS arch dependent set but o ports/122299 luigi multimedia/linux-ov511-kmod fails to build on FreeBSD o kern/122291 [ata] acd0: timeout waiting to issue command / acd0: e o kern/122290 net [netgraph] [panic] Netgraph related "kmem_map too smal o kern/122288 [md] [patch] mdconfig(8) returning negative unit numbe o bin/122271 [patch] usr.bin/xinstall - Add support for -D option ( f kern/122252 net [ipmi] [bge] IPMI problem with BCM5704 (does not work o bin/122235 [psm] freebsd-7.0 moused(8) problems with ALPS GlidePo o kern/122195 net [ed] Alignment problems in if_ed o amd64/122174 amd64 [panic] 7.0 no longer includes "device atpic" so fails o kern/122173 fs [zfs] [panic] Kernel Panic if attempting to replace a o bin/122172 fs [fs]: amd(8) automount daemon dies on 6.3-STABLE i386, o conf/122170 rc [patch] [request] New feature: notify admin via page o o i386/122148 i386 [irq] interrupt storm on 7.0 [regression] s kern/122145 sam [build] error while compiling with device ath_rate_amr p bin/122137 matteo [patch] Have crontab(1) use snprintf instead of sprint o ports/122122 mi print/lyx crashes if devel/boost is compiled with thre o usb/122119 usb [umass] umass device causes creation of daX but not da o kern/122109 piso [ipfw] ipfw nat traceroute problem o kern/122086 multimedia [sound] maestro sound driver is working, but mixer ini f kern/122082 rwatson [tcp] NULL pointer dereference in in_pcbdrop p bin/122070 matteo [patch] crontab(1): Zero out pw_passwd in crontab o kern/122067 geom [geom] [panic] Geom crashed during boot f kern/122065 bz [ipsec] [gre] gre over ipsec not working f kern/122061 [libc] dlsym(3) is very slow when a symbol cannot be f o kern/122058 net [em] [panic] Panic on em1: taskq f docs/122052 doc minor update on handbook section 20.7.1 p stand/122051 davidxu Add posix_spawn(3) o kern/122047 fs [ext2fs] [patch] incorrect handling of UF_IMMUTABLE / o kern/122046 [psm] Synaptics touchpad freezes (psm0: lost interrupt p kern/122045 [ata] [panic] reiniting detached ata channel kills the o bin/122043 [patch] du(1) does not support byte-count-based report o kern/122038 fs [tmpfs] [panic] tmpfs: panic: tmpfs_alloc_vp: type 0xc o conf/122037 [patch] add rsync example for inetd.conf o kern/122033 net [ral] [lor] Lock order reversal in ral0 at bootup [reg o usb/122025 usb [uscanner] [patch] uscanner does not attach to Epson R o kern/122014 pf [pf] [panic] FreeBSD 6.2 panic in pf f kern/121983 yongari [fxp] fxp0 MBUF and PAE f kern/121962 [sound] [snd_emu10k1] [panic] Kernel panics with devic o ports/121958 portmgr add sysutils/cdrkit to USE_CDRTOOLS logic o docs/121952 doc Handbook chapter on Network Address Translation wrong o stand/121921 standards [patch] Add leap second support to at(1), atrun(8) o kern/121917 [boot] [patch] Broken boot on Asus P4P800-VM after upg o kern/121907 [request] output to console can obscure other messages o kern/121904 wrong CPU description in dmesg output for AMD Athlon X o i386/121903 i386 [ips] [boot] can't boot on IBM x235 ServeRaid 6M [regr s ports/121902 gabor [PATCH] textproc/ispell add OPTIONS o kern/121899 [ar] [patch] Drive detached from Intel Matrix RAID and o bin/121898 fs [nullfs] pwd(1)/getcwd(2) fails with Permission denied o kern/121897 [patch] realpath(3) segmentation fault o bin/121895 net [patch] rtsol(8)/rtsold(8) doesn't handle managed netw o kern/121872 net [wpi] driver fails to attach on a fujitsu-siemens s711 o docs/121871 doc ftpd does not interpret configuration files as documen s conf/121812 [ip6] [request] ipv6_gateway_enable incorrectly disabl p kern/121809 kris unable to umount s kern/121807 ipfw [request] TCP and UDP port_table in ipfw p conf/121783 cperciva [patch] freebsd-update(8) upgrade overwrites device.hi o bin/121779 fs [ufs] snapinfo(8) (and related tools?) only work for t s kern/121774 net [swi] [panic] 6.3 kernel panic in swi1: net o kern/121770 fs [zfs] ZFS on i386, large file or heavy I/O leads to ke o kern/121768 [cpufreq] cpufreq module RELENG_6 -> 7 regressions on o kern/121761 [cardbus] [dc] a cardbus dc0 causes a system freeze wh o kern/121760 [pccard] [cardbus] an ed1 network pccard's CIS wasn't o kern/121759 [cardbus] [dc] cardbus dc0 initialization failure at o o usb/121755 usb [ohci] [patch] Fix panic after ohci/uhub cardbus devic f ports/121745 vd misc/ossp-uuid - PostgreSQL contrib ossp-uuid crashes o usb/121734 usb [ugen] ugen HP1022 printer device not working since up p docs/121721 trhodes telnetd(8) not describing -X authentication types f kern/121720 thompsa [wpi] wpi doesnt work if kernel has options SCHED_ULE o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o kern/121706 net [netinet] [patch] "rtfree: 0xc4383870 has 1 refs" emit o kern/121704 pf [pf] PF mangles loopback packets f kern/121703 [ata] Cannot fdisk/gpt with 1TB SATA disk and 965QM Mo f i386/121699 linimon [boot] can't boot on MSI K9N Ultra o java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con o ports/121688 kde [patch] editors/koffice-kde3: several depencancy fixes o kern/121686 [ata] bogus CHS to LBA mapping in (at least) ata o sparc/121676 scsi [iscsi] iscontrol do not connect iscsi-target on sparc o i386/121675 i386 [ata] incorrect fallback to udma33 with CF memory inst o ports/121672 wes [Patch] mail/mimedefang: opt out of clamav use o bin/121671 bushman [patch] nscd(8) prints needless banner f kern/121660 jkoshy [hwpmc] [patch] hwpmc(4) incorrectly handles PMC sampl o kern/121656 [libc] [patch] telldir(3) issues o kern/121642 bz [ipsec] [gif]: When using IPSec, tcpdump shows non-dec o kern/121624 net [em] [regression] Intel em WOL fails after upgrade to o amd64/121590 amd64 [est] [p4tcc] [acpi_perf] setting dev.cpu.0.freq somet o docs/121585 doc [handbook] Wrong multicast specification o ports/121573 cy security/krb5 (MIT Kerberos) generates non-working ksu f kern/121572 [panic] when downloading from ftp system crash/rebooti o stand/121568 standards [patch] ln(1): wrong "ln -s" behaviour o kern/121566 rc [nfs] [request] [patch] ethernet iface should be broug o docs/121565 doc dhcp-options(5) manpage incorrectly formatted omitting o kern/121559 geom [patch] [geom] geom label class allows to create inacc o kern/121556 kientzle [libarchive] ISO9660 decompression extension unsupport o kern/121555 net [panic] Fatal trap 12: current process = 12 (swi1: net f kern/121550 [drm] Can't config graphics for ATI Radeon Xpress 200M o i386/121549 i386 [nfe]: nfe interface locks up during rc.conf initializ o docs/121545 brd Update Handbook Section 29.3 to include wlan_scan_sta o bin/121542 portmgr [patch] teach pkg_add(1) to accept PACKAGEROOT and PAC s docs/121541 doc [request] no man pages for wlan_scan_ap o sparc/121539 [ata] Interrupt storm booting 7.0-R/sparc64 on ultra5 o kern/121534 darrenr [ipl] [nat] FreeBSD Release 6.3 Kernel Trap 12: o kern/121521 [ata] [patch] add VIA CX700M2 chipset to ata driver p bin/121512 mtm [sysctl] [patch] sysctl(8) should return 1 if the user o kern/121504 acpi [patch] Correctly set hw.acpi.osname on certain machin o bin/121503 sysinstall(8): 7.0 upgrade doesn't let me mount all of o bin/121502 [patch] option -P appears to be broken in restore(8) s p docs/121490 brueffer [patch] Multiple typos ("in in") in /usr/src files s kern/121485 vwe [vm] panic with 7.0-RELEASE [regression] o usb/121474 usb [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard o ports/121472 perl Loading perl scripts causes irc/xchat segmentation fau o kern/121461 [ata] SATA Hard disks are not detected on SiS 180/181 f kern/121454 acpi [pst] Promise SuperTrak SX6000 does not load during bo o kern/121443 net [gif] [lor] icmp6_input/nd6_lookup o docs/121440 keramida rc(8) and rcorder(8) unclear about PROVIDE keyword bei o amd64/121439 acpi [boot] Installation of FreeBSD 7.0 fails: ACPI problem o kern/121437 net [vlan] Routing to layer-2 address does not work on VLA o usb/121426 usb [patch] [uscanner] add HP ScanJet 3570C o bin/121424 doc [patch] [ipfw] Rectify ambiguous English in manual o ports/121420 java java/jdk16: Java applet fails to find class under fire o ports/121416 java java/jdk15 can't build if BIN environment variable is o ports/121413 portmgr [patch] bsd.port.mk: introduce USE_LZMA for lzma-compr a power/121407 ppc [panic] Won't boot up; strange error message. o kern/121396 [ata] 7.0 fails on mcp55 sata controller [regression] f kern/121394 sam [ath] FreeBSD access point (ath0) fails 100% of the ti f www/121391 www Please add us on the ISP pages... o kern/121385 daichi [unionfs] unionfs cross mount -> kernel panic o kern/121382 ipfw [dummynet]: 6.3-RELEASE-p1 page fault in dummynet (cor o kern/121373 bz [ipsec] New IPSEC & IPV6 & AH+ESP Broken o kern/121371 secteam execv undesired use to change a processes credentials o bin/121366 fs [zfs] [patch] Automatic disk scrubbing from periodic(8 o kern/121364 geom [gmirror] Removing all providers create a "zombie" mir o bin/121359 net [patch] ppp(8): fix local stack overflow in ppp o kern/121350 [ata] [panic] initiate_write_inodeblock_ufs2: already o ports/121347 hrs print/teTeX-base and print/texinfo install files in th o ports/121338 ahze print/gutenprint-foomatic - Unable to create the Fooma o kern/121337 [radeon] [panic] Kernel panic on 7.0-RELEASE using ati o threa/121336 threads lang/neko threading ok on UP, broken on SMP (FreeBSD 7 o kern/121322 [panic] 'panic: spin lock held too long' on reboot o docs/121312 doc RELNOTES_LANG breaks release if not en_US.ISO8859-1 o kern/121298 net [em] [panic] Fatal trap 12: page fault while in kernel f kern/121294 [panic] kernel panic pcpu.h or 0x00000000 in ?? () o bin/121287 dd(1) ignores any conversions if 'bs' was specified o usb/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s o kern/121274 darrenr [panic] Panic in ether_input() with different NIC's. o ports/121270 joerg Upgrade devel/avr-gdb to a more recent version f ports/121259 itetcu New port: net/openamq OpenAMQ is a complete AMQP messa o i386/121258 i386 [boot] FreeBSD 6.3 / 7.0 boot problem [regression] o kern/121257 net [tcp] TSO + natd -> slow outgoing tcp traffic o bin/121243 des [patch] passwd(1) patch for usage with PAM/LDAP o arm/121242 ticso [ate] [patch] Promiscuous mode of if_ate (arm) doesn't o ports/121235 wosch ports/sysutils/socket registers signal handler for SIG o kern/121234 [vm] vm_fault: fault on nofault o usb/121232 usb [usb] [panic] USB CardBus card removal causes reboot s p usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a p bin/121182 [patch] newfs_msdos(8) should supports devices without o kern/121181 net [panic] Fatal trap 3: breakpoint instruction fault whi o kern/121174 [ral] if_ral loses performance in FreeBSD 7 (RELENG_7) o docs/121173 doc [patch] mq_getattr(2): mq_flags mistakenly described a o usb/121169 usb [umass] Issues with usb mp3 player o bin/121165 pkg_add(1) prints a weird message: PKG_TMPDIR environm p kern/121156 multimedia [sound] [patch] Turn on inverted external amplifier se o i386/121148 gavin [panic] Repeatable sysctl crash (Fatal Trap 12) with A o ports/121143 markus [PATCH] audio/cdparanoia: rip multisession CDs correct o ports/121134 apache www/mod_log_sql2-dtc scoreboard problem a bin/121124 sysinstall(8): FreeBSD 6.3 installation deletes MBR pa o kern/121122 ipfw [ipfw] [patch] add support to ToS IP PRECEDENCE fields o kern/121102 acpi [acpi_fujitsu] [patch] update acpi_fujitsu for the P80 o kern/121080 net [bge] IPv6 NUD problem on multi address config on bge0 o kern/121074 des [patch] Add RFC2617 digest authentication to fetch(3) o kern/121073 [kernel] [patch] run chroot as an unprivileged user o bin/121072 fs [smbfs] mount_smbfs(8) cannot normally convert the cha o conf/121064 [patch] Use ASCII characters for box/line characters i o kern/121061 sam [ath] [panic] panic while ejecting ath(4)-adapter duri o bin/121059 ntpd(8) doesn't sync with servers after dhclient chang o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS o bin/120994 [patch] alignment violation in chap module of ppp(8) c o conf/120993 [patch] 340.noid -- Add "find -x" capability (don't cr f kern/120991 fs [panic] [fs] [snapshot] System crashes when manipulati o bin/120990 [patch] support "BIOS Boot" partition type in gpt(8) o kern/120989 scottl [udf] [patch] UDF (with DVD RAM) isn't mountable/reada o kern/120970 rnoland [drm] Radeon Problems related to DRM and/or DRI o kern/120966 net [rum] kernel panic with if_rum and WPA encryption o stand/120947 standards xsm ignores system.xsm and .xsmstartup p docs/120945 net [patch] ip6(4) man page lacks documentation for TCLASS o i386/120933 i386 [boot] 6.x and 7.x do not boot from CD on IBM HS20 883 s docs/120917 doc [request]: Man pages mising for thr_xxx syscalls p bin/120891 dwmalone [patch] enhancement to syslogd(8) - always printing lo o kern/120884 [bktr] [patch] bktr driver always stores the contigmal o kern/120872 [libkvm] [patch] fstat exit on signal 11 o bin/120870 [patch] truss(1) shows 'pipe' system call as having 6 o kern/120858 scottl [patch] [cam] panic: ufs_dirbad with CLARiiON CX3-40 o kern/120857 multimedia [sound] [snd_emu10k1] snd_emu10k1 driver issues a warn o kern/120842 scottl [hptrr] hptrr driver causes detection of Marvell 88SX6 o bin/120813 [patch] grdc(6) off by 500 ms (on average) o kern/120791 [bge] The Broadcom BCM5703 A2 NIC is running a lot of o kern/120787 [atapicam] hardware troubles with atapicam and dvd o usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det o kern/120780 multimedia [sound] [snd_hda] snd_hda doesn't work on Dell Latitut o ports/120756 des [PATCH] sysutils/munin-node: Use fixed GID o ports/120755 des [PATCH] sysutils/munin-main: Use fixed UID/GID o kern/120749 arch [request] Suggest upping the default kern.ps_arg_cache o kern/120733 cperciva libbsm.so.1 missing after upgrading to 6.3-RELEASE o usb/120729 usb [panic] fault while in kernel mode with connecting USB o kern/120717 [ata] boot problem when recognizing ata1 p kern/120714 gonzo [viapm] [patch] viapm driver doesn't work on VIA VT823 o www/120621 bugmeister web interface query-pr-summary.cgi matches no PRs for o kern/120615 scottl [hptrr] hptrr on 6.3-RELEASE/i386 causes filesystem da a misc/120608 linimon gmirror(8) command set on livecd is minimal [regressio o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a o kern/120566 net [request]: ifconfig(8) make order of arguments more fr o bin/120552 cperciva freebsd-update(8): freebsd-update - -r should check ex o docs/120539 doc Inconsistent ipfw's man page o kern/120534 [ata] Troubles in work with SAS controller Adaptec 941 o ports/120532 portmgr [PATCH] bsd.port.mk - add more recursive-foo targets o kern/120515 acpi [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc o kern/120507 [ata] Errors while burning CDs using burncd(8) o kern/120493 benjsc [wpi] if_wpi.ko fails to load on a Toshiba Satellite P o kern/120487 scsi [sg] scsi_sg incompatible with scanners o kern/120483 fs [ntfs] [patch] NTFS filesystem locking changes o kern/120482 fs [ntfs] [patch] Sync style changes between NetBSD and F o docs/120456 doc ath(4) needs to specify requirement on wlan_scan_sta o conf/120431 rc [patch] devfs.rules are not initialized under certain o conf/120406 rc [devd] [patch] Handle newly attached pcm devices (eg. o kern/120376 imp [ath] High interrupt load when booting with ath (PCMCI o ports/120372 java java/linux-sun-jdk16: linux-sun-jre1.6.0 plugin doesn' f ports/120359 dinoex print/cups port pkg_info improvement -- FreeBSD lp* no o kern/120344 rwatson [panic] FreeBSD 6.3-STABLE panics on high loaded web s p kern/120343 ups [panic] Reproducible Crash - network interface related o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o ia64/120315 ia64 Backing store switch in exception_save_restart leaves o kern/120304 net [netgraph] [patch] netgraph source assumes 32-bit time f kern/120296 linimon [ata] Unstable SATA on MB with Nvidia MCP 570 SLI chip o bin/120288 fs zfs(8): "zfs share -a" does not send SIGHUP to mountd o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o kern/120282 imp [ath] [panic] resource_list_release: resource entry is o kern/120281 pf [pf] [request] lost returning packets to PF for a rdr o kern/120270 simon [crypto] [patch] AES-192 and AES-256 support for HW-ac o kern/120266 net [udp] [panic] gnugk causes kernel panic when closing U o conf/120263 [patch] 800.loginfail misses relevant security informa o kern/120262 rnoland [drm] "0MB"; no dri with i915G [regression] o bin/120256 [patch] ftp(1): ftp -u URL/ returns a -1 f kern/120253 kernel crashes after hard disk geometry while probing o kern/120247 scsi [mpt] FreeBSD 6.3 and LSI Logic 1030 = only 3.300MB/s o kern/120232 net [nfe] [patch] Bring in nfe(4) to RELENG_6 o ports/120229 apache www/apache20 does not pick up usernames from NIS [regr o conf/120228 rc [zfs] [patch] Split ZFS volume startup / ease ZFS swap f kern/120210 kmacy [zfs] [panic] reboot after panic: solaris assert: arc_ o amd64/120202 amd64 [amd64] [patch] [panic] kernel panic at start_all_aps, p conf/120194 pjd [patch] UFS volumes on ZVOLs cannot be fsck'd at boot o kern/120177 [ata] ATA DMA modes don't work on CF cards o ports/120173 jmelo Prevent ports mail/mailman zombieing remote servers/ o java/120146 java java/jdk15: netbeans 6.0 causes java core dump on amd6 o bin/120143 [panic] sysinstall(8): FreeBSD6.3 page faulted after a p kern/120138 jeff [sched_ule] [patch] steal_thresh may be set a wrong va o kern/120130 net [carp] [panic] carp causes kernel panics in any conste o kern/120128 attilio [libc] [patch] __getcwd erroneously returning ENOENT o kern/120127 [loader] Loading of gzip'd mfsroot from pxeboot(8) cau o docs/120125 doc [patch] Installing FreeBSD 7.0 via serial console and o bin/120114 [patch] reboot(8) - add features available in Solaris. o ports/120101 cy security/krb5 utilities link against wrong libcom_err o bin/120095 gdb(1) fails to catch signals when threading is involv o kern/120091 geom [geom] [geli] [gjournal] geli does not prompt for pass o kern/120090 [geli] geli boot password input fails when using usb k o kern/120075 [libcrypt] Incompatible EOS of key in crypt(3) o kern/120073 [new driver] [patch] add support for Meinberg PCI-base o kern/120072 Interpreter fails to invoke on 6.3-RELEASE, reproducab o kern/120066 [geli] geli boot password input fail when using serial o bin/120064 routed(8) marks 802.11 interfaces broken o bin/120060 net routed(8) deletes link-level routes in the presence of o kern/120057 pf [pf] [patch] Allow proper settings of ALTQ_HFSC. The c o bin/120055 dchagin [linux] kdump(1) segfaults on freebsd6_mmap syscall o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o docs/120024 doc resolver(5) and hosts(5) need updated for IPv6 o kern/120021 geom [geom] [panic] net-p2p/qbittorrent crashes system when o kern/120009 [ata] Burning on FreeBSD is destroying SONY CD-Rs o usb/119981 usb [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigab o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o kern/119973 multimedia [sound] [snd_maestro] [regression] snd_maestro only wo a ports/119966 roam mail/vpopmail patch o i386/119946 i386 [est] sysctl dev.cpu.0.freq on 75 Hz, cannot be change o kern/119945 net [rum] [panic] rum device in hostap mode, cause kernel o kern/119931 multimedia [sound] No sound card detected on ASUS "K8V-X SE R2.00 o ports/119923 demon [patch] sysutils/ascpu does not work FreeBSD 8.0-CURRE p threa/119920 deischen [patch] fork broken in libpthread o bin/119903 [ncurses] Fast increase in loading of the processor. A o kern/119895 [est] Core2Duo CPUs not recognized by EST o kern/119894 [ata] Initialization of disc controller fails [regress o kern/119891 slow halt, reboot when remote network shares which doe o kern/119877 [ata] OS Fails to detect hard disks on HP Proliant ML1 o conf/119874 rc [patch] "/etc/rc.d/pf reload" fails if there are macro o kern/119850 [radeon] radeon module doesnt work right, when loaded o kern/119842 jail [smbfs] [jail] "Bad address" with smbfs inside a jail o kern/119838 [ata] udma100 enabled althrough improper cable on nVid o i386/119809 gavin [virtualpc] MS Virtual PC 2007 - Install hung - Trying o bin/119801 dhclient(8): dhclient changes alias to address o kern/119791 net [nfs] UDP NFS mount of aliased IP addresses from a Sol f bin/119776 vwe can't start sshd(8) o kern/119767 jfv [em] [patch] if_em fix for systems without msix suppor o kern/119759 multimedia [sound] [snd_emu10k1] [regression] Can not record anyt o kern/119754 jfv [em] em hung after "watchdog timeout -- resetting" on o kern/119743 geom [geom] geom label for cds is keeped after dismount and f kern/119735 fs [zfs] geli + ZFS + samba starting on boot panics 7.0-B o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o ports/119710 sumikawa [patch] net/netcat - nc command runs BSD nc instead of o kern/119696 [irq] [ral] ral device causes massive interrupt storm o bin/119695 pw(8) does not interact with nscd(8) o kern/119668 scsi [cam] [patch] certain errors are too verbose comparing o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch s bin/119645 [request] mount_ntfs(8) -- files permissions mask is i o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o kern/119618 [fdc] Double Density Disks do not work correctly o kern/119617 net [nfs] nfs error on wpa network when reseting/shutdown f kern/119613 yongari [msk] mskc0: Uncorrectable PCI Express error o bin/119610 [patch] config(8): config -x appends unwanted trailing o kern/119606 [sio] [patch] PCMCIA card not attached to driver o amd64/119591 amd64 [amd64] [patch] time_t on 64-bit architecture o kern/119575 simokawa [firewire] [patch] sbp_targ cannot handle multiple CTI o i386/119574 i386 [i386] 7.0-RC1 times out in calibrate_clocks() [regres o kern/119572 [sbp] PowerBook not accessable when in target mode o conf/119550 [ppp] ppp not starting during bootup. o docs/119545 doc books/arch-handbook/usb/chapter.sgml formatting a docs/119536 doc a few typos in French handbook (basics) o bin/119524 cron(8) suddenly stops working, not crash f kern/119516 net [ip6] [panic] _mtx_lock_sleep: recursed on non-recursi o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o kern/119507 [dri] mach64.o kernel module version is 1.0.0, but ver p bin/119490 top(1) hangs for long periods with NIS -- even using - f kern/119487 [em] page fault in em taskq with polling enabled o bin/119483 [patch] vidcontrol(1) misses latest VESA mode (off-by- o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas o conf/119464 [patch] [request] Add 'sorted' option to etc/periodic/ o kern/119432 net [arp] route add -host -iface causes arp e o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o docs/119386 blackend bsdlabel and newfs on DVD-RAM (handbook ch. 18.7.9) o kern/119374 thomas [ata] [regression] ATAPI or ATAPICAM bug (regression i o kern/119358 [kernel] [patch] SYSINIT_VERBOSE can be more verbose o ports/119357 maho lang/gcc42 WITH_JAVA_AWT=yes fails to install o kern/119356 acpi [acpi]: i386 ACPI wakeup not work due resource exhaust o bin/119354 mux csup(1) in free(): error: chunk is already free o ports/119352 nork graphics/ilmbase configure tests for shared semaphores f kern/119345 vwe [ath] Unsuported Atheros 5424/2424 and CPU speedstep n p docs/119338 trhodes gprof(1) refers to unmentioned option "-c" p docs/119329 trhodes [patch] Fix misleading man 1 split o kern/119307 emaste [queue] [patch] TRASHIT macro blasts list header if RE f kern/119303 linimon [ata] SATA HDD missing in 7.0-RC1, ok in 7.0-BETA4; at o kern/119298 kan [xfs] [patch] 7-Stable/sys/modules/xfs fails to make f o kern/119293 [gbde] gbde swap encryption forces gmirror to rebuild o kern/119259 [panic] kernel panic on asus c90s laptop after first ( o sparc/119244 sparc64 X11Forwarding to X11 server on sparc crashes Xorg o sparc/119240 sparc64 top has WCPU over 100% on UP system s sparc/119239 sparc64 gdb coredumps on sparc64 o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o kern/119225 net [wi] 7.0-RC1 no carrier with Prism 2.5 wifi card [regr o kern/119205 [dc] [patch] Collect various stats regarding dc(4) int o kern/119202 [kernel] [patch] Add generic support for disabling dev o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and o kern/119200 acpi [acpi] Lid close switch suspends CPU for 1 second on H o kern/119197 [psm]: PS/2 mouse doesn't work under FreeBSD i386 7.0 s bin/119196 des fetch(1): [request] parallel download from multiple se o i386/119175 i386 [busdma] [patch] Typo in bus_dmamem_alloc() o usb/119150 remko [usbdevs] [patch] new usbdevs for CDMA 1xEVDO devices o kern/119140 [ata] [panic] Kernel panic with sata drive and dma pro o ports/119119 timur net/samba3 - 3.0.28 stops working with ZFS whereas 3.0 o bin/119077 [patch] sysinstall(8) - reading packages from index is o conf/119076 rc [patch] [rc.d] /etc/rc.d/netif tries to remove alias a o bin/119068 dd(1) yields a bogus error when input file is to small o java/119063 java An unexpected error has been detected by Java Runtime f ports/119048 portmgr bsd.port.mk - per-port make.port.conf support [fix inc f kern/119047 yongari [re] Not correct working RealTek 8168/8111B PCIe Gigab o kern/119043 [twa] twa hang after heavy disk IO o bin/119014 [patch] IPv6 addresses cause sockstat(1) to run column o kern/118993 ipfw [ipfw] page fault - probably it's a locking problem o kern/118990 [nve] nve + PAE bus_addr_t/void * inconsistencies a bin/118987 net ifconfig(8): ifconfig -l (address_family) does not wor o kern/118973 acpi [acpi]: Kernel panic with acpi boot o kern/118962 [agp] Intel GMA 3000 Video Controller Not Recognized U o ports/118958 portmgr Mk/bsd.autotools.mk: find configure if CONFIGURE_WRKSR o java/118956 java eclipse and netbeans break on diablo-jdk15 o sparc/118932 net [panic] 7.0-BETA4/sparc-64 kernel panic in rip_output o kern/118927 jfv [em] em(4) broken: link state changed to DOWN (/UP), l o kern/118912 fs [2tb] disk sizing/geometry problem with large array o docs/118902 doc [patch] wrong signatures in d2i_RSAPublicKey man pages o kern/118880 bz [ip6] IP_RECVDSTADDR & IP_SENDSRCADDR not implemented a kern/118879 net [bge] [patch] bge has checksum problems on the 5703 ch o bin/118874 [patch] tftpd(8): add TFTP Option Extension (rfc 2347) o misc/118855 fs [zfs] ZFS-related commands are nonfunctional in fixit o kern/118819 [vmware] FreeBSD 6.2 in VMware is unstable and there i p conf/118770 mtm [patch] rc.d scripts: print information instead of sil o bin/118759 cvs(1): cvs -R doesn't handle non-existent tags o kern/118739 [cpufreq] [patch] Allow the cpufreq/p4tcc driver to de o kern/118734 [xen] FreeBSD 6.3-RC1 and FreeBSD 7.0-BETA 4 fail to b o kern/118727 net [netgraph] [patch] [request] add new ng_pf module o bin/118723 gcooper [patch] od(1)/hexdump(1) truncates last partial repeat o ports/118716 security/heimhal - shared library conflict with heimda o threa/118715 threads kse problem o kern/118713 fs [minidump] [patch] Display media size required for a k o ports/118697 portmgr bsd.port.mk - error-inducing absolute path in X11R6 sy o kern/118695 jfv [em] device polling + vlan causes panic on "em" interf o docs/118693 jfv Update for "em" man page for RELENG_7 o ports/118677 timur [net/samba3] Unix password synchronization with PAM do o i386/118656 i386 [panic] Init dies in single user mode and box get kern o bin/118636 sysinstall(8): [patch] [request] remove requirement fo o kern/118573 [ata] FreeBSD doesnt support my optical drive s kern/118571 [boot] [request] fix BTX issues when booting FreeBSD 7 p kern/118540 kaiw [elf] [patch] update sys/sys/elf_common.h with new ema o kern/118534 [ipw] bitrate and power wifi can't change/set ipw Inte o bin/118503 sysinstall(8): sysinstall(8) and /etc/rc.conf o bin/118501 Sending SIGINT to cvs(1) gives segmentation fault o java/118496 java Eclipse packages do not work with 6.3-RC1/amd64 o kern/118493 weongyo [ndis] [patch] a trivial fix when ndis sets `ndis_reso o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o kern/118459 [hang] Freeze under high-load with SMP until keypresse o bin/118449 randi sysinstall(8): Installer failing dns lookups o kern/118447 [ata] [patch] Troublesome DMA modes with VIA Apollo VP p kern/118439 thompsa [ndis] [patch] if_ndis - fix a panic when ndis_attach( f ports/118419 danfe x11/nvidia-driver: link_elf: symbol _sleep undefined o gnu/118415 nm -D fails if a file has no symbols a ports/118406 danfe x11/nvidia-driver-*xx: nvidia driver port name conflic o kern/118399 secteam [tap] local/remote kernel DoS through TAP device p usb/118374 attilio [ubsa] [patch] support Option GlobeTrotter Max 3.6 wir p kern/118370 thompsa [ndis] [patch] if_ndis - fix a scanning problem of Mar o bin/118355 pf [pf] [patch] pfctl(8) help message options order false o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o i386/118350 i386 [boot] [hang] BTX loader hangs on PC Engines WRAP o kern/118342 [ata] Unable to mount root on ata drive w/ Cyrix 5530 o docs/118332 doc man page for top does not describe STATE column wait e o bin/118325 rc [patch] [request] new periodic script to test statuses o kern/118320 fs [zfs] [patch] NFS SETATTR sometimes fails to set file o bin/118318 mohans [nfs] NFS server hangs under special circumstances o kern/118317 [zlib] [patch] Incorrect gzeof() return value in zlib p kern/118304 kib freebsd 7 delivers unanticipated signal for page fault o ports/118301 python devel/py-setuptools easy-install.pth contents lost on o bin/118297 weongyo [patch] ndiscvt(8): sort a output format. o bin/118296 weongyo [patch] ndiscvt(8) can't parse a STRING WORD pattern w o bin/118295 weongyo [patch] ndiscvt(8) makes a syntax error when it proces o bin/118294 weongyo [patch] ndiscvt(8) can't parse WORD which includes '(' o i386/118285 i386 [i386] Segmentation fault in reloc_non_plt. o kern/118282 [sg] device sg + hald + umass plugging crashes 7.0 p bin/118260 bin: more informative error message for install(1) o conf/118255 rc savecore never finding kernel core dumps (rcorder prob o bin/118249 fs mv(1): moving a directory changes its mtime o bin/118248 gavin newsyslog(8) does not obey -s (nosignal) flag a kern/118238 net [bce] [patch] bce driver shows "no carrier" on Intel S o ports/118230 acm games/linux-quake4 fails to start o kern/118222 [pxeboot] [patch] FreeBSD 7.0 PXE + NFS / "Can't work o ports/118218 krion x11/xterm should be configured with --enable-setuid fo o docs/118214 doc close(2) error returns incomplete o bin/118207 burncd(8) gives I/O error writing CD on Pioneer DVDR-1 o bin/118205 [patch] [request] new options -r to pkill(1) a pid aft o ports/118196 krion x11/xterm v229 mishandles combining characters o gnu/118188 obrien GCC bug with abs() f kern/118161 thomas [atapicam] failure message from ATAPI CDROM in the boo s kern/118158 [ata] SONY SDX-570V (ATAPI) hangs frequently o bin/118144 des [patch] pam_lastlog doesn't check return values in pam o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o kern/118137 process stuck in pipewr (similar to kern/55908?) o bin/118132 [patch] pax(1): broken -s handling of \1, \2 ... f kern/118128 oleg [dummynet] Dummynet cause kernel trap or system freeze o kern/118126 kmacy [nfs] Poor NFS server write performance s kern/118124 [request] HZ value on slow computers should by dynamic o bin/118123 [patch] chat(8) has infinite recursion bug o misc/118121 [build] RELENG_7 kernel compile fails with -Os o bin/118114 [patch] update manctl(8) o conf/118113 [md] mdconfig init script requires image to be on root o conf/118111 [patch] [request] Add MAC address based interface rena o kern/118107 fs [ntfs] [panic] Kernel panic when accessing a file at N o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o kern/118093 firewire [firewire] firewire bus reset hogs CPU, causing data t a bin/118071 darrenr ipnat(8): ipnat -s expired counter does not update [re o bin/118069 thomas [patch] camcontrol(8) should be able to leave device s o conf/118047 Move /etc/printcap to /usr/share/examples/ o kern/118044 [panic] [lor] spin lock held too long o kern/118021 randi [keyboard] 7.0 Beta 2 sysinstall keyboard emits contro o docs/118020 doc ipfilter(4): man pages query for man 4 ipfilter return p bin/118005 andre Can No Longer SSH into 7.0 host o ports/118003 apache www/apache22: with PgSQL option require only libpq.so. a kern/117987 rwatson read(2) on directories might leak filenames of deleted o kern/117973 [panic] [lpt] 7.0-BETA2: repeatable panic while printi o kern/117972 [ata] SATA DLT V4 not recognized properly p bin/117966 fdread(1) aborts with EPERM o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o kern/117954 [ufs] dirhash on very large directories blocks the mac o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o kern/117943 kmacy [zfs] zfs snapshot directory could not access from NFS o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o conf/117935 rc [patch] ppp fails to start at boot because of missing o kern/117926 jfv [em] Intel S5000-based mobo, em driver does not attach f ports/117923 maho USE_FORTRAN=yes: shared libraries for blas, lapack, an o bin/117922 ftpd(8): remote ftp user possible leave chrooted envir o ports/117921 vanilla New port: multimedia/feng Feng is a multimedia streami o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work s ports/117907 x11 x11-servers/mga_hal broken on 7.0-BETA (GLIBC error) o usb/117893 usb [umass] Lacie USB DVD writing failing o kern/117867 kmacy [heimdal] kinit generates bad tickets on multihomed IP s bin/117830 [patch] who(1) no longer displays entries for folk log o bin/117812 passwd(1): incapable of changing LDAP passowrds using o misc/117811 [build] Building multiple kernels with KERNCONF="ONE T p docs/117798 trhodes formatting oddity in sysmouse(4) o gnu/117756 dialog_checklist() does not honour DisplayX/DisplayY o conf/117753 Pediodic script 100.clean-disks cleans out some useful f bin/117751 [patch] [request] Make pw(8) support "-d" argument o bin/117748 sh(1): Backslash quote fails in pattern for substring o docs/117747 doc 'break' system call needs a man page o bin/117733 [patch] [request] allow to tee(1) to sockets, descript s kern/117717 net [panic] Kernel panic with Bittorrent client. o usb/117712 [reboot] unexpected reboot after mount USB flash drive f kern/117711 matteo [rpc] rpcbind binds to all interfaces on random ports o kern/117709 simon [libcrypto] [patch] Base openssl does not define OPENS o kern/117688 [mpt] mpt disk timeout and hang o bin/117687 [patch] fstab(5) format cannot handle spaces o kern/117681 [virtualbox] pcn fails to send packets under VirtualBo f kern/117655 sam [ral] ral%d: device timeout when running as an access o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o kern/117607 [amd64] dev.cpu.0.freq not showing up any longer on am o kern/117605 acpi [acpi] [request] add debug.cpufreq.highest f bin/117603 linimon [patch] dump(8) hangs on SMP - 4way and higher. o usb/117598 usb [uaudio] [patch] Not possible to record with Plantroni o ports/117551 mono [New Port] lang/boo, the boo programming language. o usb/117546 remko [uftdi] [patch] Add MaxStream ZigBee product ID to uft o ports/117545 mono [New Port] devel/monodevelop o bin/117520 mux [patch] csup(1) not-really-equivalent to cvsup s kern/117513 vwe [panic] [ath] Fatal trap 12: page fault while in kerne p kern/117512 des [libpam] [patch] document .opieaccess for pam_opieacce o kern/117510 [headers] [patch] sys/cdefs.h lacks support for PCC o bin/117492 reset(1) doesn't restore erase token o gnu/117481 sort(1) incorrect numeric sort in very specific cases o kern/117474 [hang] HP Proliant 5500 hangs on reboot with 6.2 o bin/117452 [patch] tftp(1): the fix for PR 103206 was incorrect o kern/117448 net [carp] 6.2 kernel crash [regression] o kern/117443 [ata] [hang] system hang with ataidle o ports/117440 kde misc/kdeedu3 - Request to package README.ephemerides f o ports/117431 itetcu Update port: graphics/ipe Version 6.0pre28 of Ipe that o kern/117423 net [vlan] Duplicate IP on different interfaces o kern/117421 [ata] [hang] System hang with failing SATA disk (SiI31 o kern/117420 jeff [sched_ule] round off in sched_balance_pair() o amd64/117418 amd64 [hang] FreeBSD 6.2 crash on amd64 4400+ with ssh o kern/117374 vidcontrol(1) videomode: Operation not supported by de o kern/117348 [libedit] Loading history file sometimes fails in libe o bin/117339 net [patch] route(8): loading routing management commands o amd64/117316 amd64 [acpi] ACPI lockups on SuperMicro motherboard o bin/117315 fs [smbfs] mount_smbfs(8) and related options can't mount o kern/117314 fs [ntfs] Long-filename only NTFS fs'es cause kernel pani o usb/117313 usb [umass] [panic] panic on usb camera insertion o docs/117308 gavin [patch] Clarification of /etc/defaults/devfs.rules sta s ports/117299 edwin [NEW PORTS] www/webobjects(+) Apple WebObjects ports b o i386/117297 i386 [hang] System hangs up every day o amd64/117296 amd64 [ata] I don`t see second SATA IDE on VIA VT8237A o bin/117277 des [patch] fetch(1): fetch's resume mode doesn't verify t o kern/117271 net [tap] OpenVPN TAP uses 99% CPU on releng_6 when if_tap o bin/117256 kgdb(1) cannot read PTD o kern/117242 [powerd] [hang] console hangs when powerd is adaptive o kern/117234 ipfw [ipfw] [patch] ipfw send_pkt() and ipfw_tick() don't s o kern/117215 [ata] Kernel errors accessing audio CDs w/ Samsung SAT o bin/117214 ipfw ipfw(8) fwd with IPv6 treats input as IPv4 o usb/117205 remko [uscanner] [patch] uscanner support for HP ScanJet 447 o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o bin/117191 [patch] OptionalObsoleteFiles.inc - Add files to remov o kern/117188 [geli] System crashes/reboots on access to file on GEL a amd64/117186 amd64 [modules] kldload Unsupported file type on STABLE amd6 p usb/117185 thompsa [umodem] [patch] Add support for UNION interface descr o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o kern/117158 fs [zfs] zpool scrub causes panic if geli vdevs detach on f usb/117150 weongyo [zyd] usb zyd device under moderate load panics system o bin/117093 kensmith [patch] [request] Teach sysinstall(8) to load config f o kern/117043 net [em] Intel PWLA8492MT Dual-Port Network adapter EEPROM o kern/117028 [atapicam] [panic] brelse: free buffer onto another qu a conf/117027 yar rc.subr doesnt deal with perl daemons o kern/117026 imp [pcmcia]: Panic while removing PCMCIA wireless card p docs/117013 trhodes mount_smbfs(8) doesn't document -U (username) argument o kern/117000 glebius [carp] CARP using address-less host NIC (carpdev) p ports/116984 apache [patch] www/apache13-modssl missing perl5.8 as RUN_DEP o bin/116980 fs [msdosfs] [patch] mount_msdosfs(8) resets some flags f o usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th o misc/116946 holographic shell breaks live CD shell o kern/116939 acpi [acpi] PCI-to-PCI misconfigured for bus three and can o kern/116935 [ata] Intermittent error with Promise PDC40718 o conf/116931 lack of fsck_cd9660 prevents mounting iso images with o kern/116913 fs [ffs] [panic] ffs_blkfree: freeing free block o bin/116908 [patch] pkg_create(1): pkg_create -b makes invalid pac o kern/116853 yongari [msk] msk watchdog timeout o i386/116844 i386 [boot] [hang] cannot boot from cd when using Dell Vost o ports/116841 java cannot build java/jdk16 by using java/linux-sun-jdk16 o kern/116837 net [tun] [panic] [patch] ifconfig tunX destroy: panic o stand/116826 standards [patch] sh support for POSIX character classes o bin/116784 mount_msdosfs(8): mount_msdosfs -L ru_RU.KOI8-R -W koi o bin/116782 [geli] geli not updated on migrate from 6.1 to 6.2 rel o kern/116770 [kqueue] Unfortunate fifo/O_NONBLOCK/kevent interactio o kern/116747 net [ndis] FreeBSD 7.0-CURRENT crash with Dell TrueMobile o bin/116722 ntpd(8): ntpd core dumps if hostnames are not specifed o kern/116719 [panic] kill all watch causes page fault on kernel ser o kern/116701 [atapicam] atapicam hangs initializing SATA DVDRs on s o usb/116699 usb [usbhid] USB HID devices do not initialize at system b a kern/116697 kmacy [net] [patch] ifconfig's name argument has no effect o s amd64/116689 amd64 [request] support for MSI K9MM-V o bin/116688 cpio(1): cpio with -c option does not work. o threa/116668 threads can no longer use jdk15 with libthr on -stable SMP o java/116667 java linux-sun-javac1.4 hangs on SMP o www/116660 www docs.freebsd.org returns bad chunked encoding o bin/116643 net [patch] [request] fstat(1): add INET/INET6 socket deta o amd64/116620 amd64 [hang] ifconfig spins when creating carp(4) device on p kern/116608 fs [msdosfs] [patch] msdosfs fails to check mount options f ports/116601 portmgr [patch] bsd.port.mk - fail if dependency failed o www/116594 bugmeister query-pr.cgi on ports/116460 o docs/116588 remko No IPFW tables or dummynet in Handbook o kern/116583 fs [ffs] [hang] System freezes for short time when using o ports/116571 skv databases/firebird20-client fails to compile in a jail o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o kern/116515 remko [ntfs] NTFS mount does not check that user has permiss o docs/116480 doc sysctl(3) description of kern.file no longer applies s o www/116479 www cvsweb+enscript formatting bugfix o stand/116477 standards rm(1): rm behaves unexpectedly when using -r and relat o misc/116453 [picobsd] picobsd build script fails for not exist log s kern/116444 vwe [ath] Atheros 5005G (AR5212) miniPCI: unable to attach o ports/116443 x11 x11-drivers/xf86-input-keyboard patch for USB jp106 ke s ports/116441 pav net/boinc-client patch for daemon mode o kern/116435 [drm] drm/i915 reports memory leak o bin/116425 [patch] [request] ls(1) options for pre-sort of direct o conf/116416 mtm [patch] [request] per-jail rc.conf(5) style configurat o kern/116415 [ata] 6.2-STABLE does not work on Gigabyte GA-P35-S3 ( o bin/116413 standards incorrect getconf(1) handling of unsigned constants gi o kern/116335 andre [tcp] Excessive TCP window updates o kern/116328 net [bge]: Solid hang with bge interface o amd64/116322 amd64 [panic] At start fsck on current, the system panics o bin/116302 atacontrol(8) reports wrong stripe for intel raid0 o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o kern/116270 [ata] READ_DMA48 UDMA ICRC error o www/116257 bugmeister query-pr.cgi is broken on ports/114999 o conf/116237 [patch] ugly output of the 405.status-ata-raid if fdes s ports/116222 portmgr files installed with the wrong UID/GID via make instal o ports/116219 edwin [patch] Add @rmtry to bsd.port.mk o bin/116209 [patch] [request] decimal suffix in split(1) o kern/116185 net [iwi] if_iwi driver leads system to reboot o threa/116181 threads /dev/io-related io access permissions are not propagat o kern/116172 bz [tun] [nd6] [panic] Network / ipv6 recursive mutex pan o kern/116170 fs [panic] Kernel panic when mounting /tmp o amd64/116159 amd64 [panic] Panic while debugging on CURRENT o kern/116133 kmacy Recursive lock panic when w_mtx falls into DELAY o docs/116116 doc mktemp (3) re/move note o i386/116100 i386 [panic] Fatal trap 12 right after reboot (da0s1error = o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o stand/116081 standards make does not work with the directive sinclude o docs/116080 tabthorpe PREFIX is documented, but not the more important LOCAL o bin/116074 [libc] fnmatch() does not handle FNM_PERIOD correctly o conf/116071 [patch] loader.conf update some variables o kern/116009 ipfw [ipfw] [patch] Ignore errors when loading ruleset from o kern/116005 des [libfetch] libfetch accepts invalid URLs o kern/115997 scottl [ciss] [panic] [patch?] kernel panics on heavy disk I/ o bin/115960 des sshd's X11 forwarding broken on IPv6 only machine [pat o ports/115957 itetcu Questionable ownership and security on dspam port o bin/115951 [tun] pppoed(8): tun not closed after client abruptly o i386/115947 i386 [hang] Dell poweredge 860 hangs when stressed and ACPI o bin/115946 des [libpam] [patch] not thread-safe o ports/115940 python Missed one file in lang/python25 if NO_NIS defined o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter o kern/115930 jfv [em]: Dell nic enumeration problem s conf/115923 [request] rc.subr - logger should be using priorities o kern/115856 geom [geli] ZFS thought it was degraded when it should have o i386/115854 i386 [boot] [install] Install FreeBSD with USB CDROM causes s amd64/115815 amd64 [ata] [request] Gigabyte GA-M61P-S3 Motherboard unsupp o java/115773 java [request] java.nio channel selectors should use kqueue p kern/115755 ipfw [ipfw] [patch] unify message and add a rule number whe o ports/115746 portmgr new ports category - meta f usb/115737 linimon [uplcom] uplcom doesn't identify my Prolific 2303 any s docs/115716 jhb remove cue from supported hardware list o kern/115695 [crypto] When "device padlock" defined first ssh to ma f kern/115666 multimedia [sound] Microphone does not work o kern/115651 vanhu Racoon(ipsec-tools) enters sbwait state or 100% CPU ut o kern/115645 fs [snapshots] [panic] lockmgr: thread 0xc4c00d80, not ex o kern/115631 [libc] [patch] [request] make dlclose(3) atexit-aware a kern/115623 imp [cardbus] [patch] Xircom CardBus Ethernet II 10/100 Ad f kern/115619 [sysvshm] Unfinished (uncompliant?) support for POSIX f kern/115614 thomas [ata] Recent ATA driver changes have broken cdrecord [ o kern/115606 [mpt] [panic] Panic while using mpt controller o amd64/115581 amd64 [Makefile] [patch] -mfancy-math-387 has no effect o kern/115547 geom [geom] [patch] [request] let GEOM Eli get password fro o kern/115526 piso [libalias] libalias doesn't free memory o bin/115486 [patch] [request] newsyslog(8) -- provide ability to c o www/115481 remko ASUS P5K SE motherboard status for amd64 o kern/115479 [ata] [request] ASUS P5K SE need more support o ports/115461 pgollucci [patch] bsd.apache.mk - Create packages for apache mod o bin/115447 harti [patch] [request] teach make(1) to respect TMPDIR envi o ports/115437 nobutaka multimedia/libxine: does not compile with certain env o bin/115431 [patch] [request] improvement to split(1): add -B swit p bin/115406 [patch] gpt(8) GPT MBR hangs award BIOS on boot o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o kern/115374 [panic] vm_fault: fault on nofault entry, addr: e120d0 o kern/115371 imp [cardbus] [patch] Device removal leaves resource datab o bin/115361 fs [zfs] mount(8) gets into a state where it won't set/un o kern/115300 multimedia [sound] [snd_hda] [regression] snd_hda(4) fails to att o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o i386/115285 i386 [panic] fatal trap 1 on freebsd 6.2 install boot up on o kern/115275 [wi] [panic] wi configure at boot time led to panic "i o kern/115253 [keyboard] Wireless keyboard not working at boot o bin/115242 ntpd(8): Incorrectly working ntpd on 7.0 [regression] o kern/115239 net [ipnat] panic with 'kmem_map too small' using ipnat o kern/115232 [ata] Audio CD tracks not displayed properly by atapi f kern/115226 vwe [ath] ath0: unable to attach hardware; HAL status 13 o threa/115211 threads pthread_atfork misbehaves in initial thread s kern/115202 [request] memory error diagnostic o bin/115197 kensmith sysinstall(8): can not install from USB stick drive o kern/115196 bushman [libc] [patch] [request] Implement getgroupmembership( o amd64/115194 amd64 LCD screen remains blank after Dell XPS M1210 lid is c o bin/115174 [patch] growfs(8) needs zero-writing for safe filesyst o bin/115172 ipfw [patch] ipfw(8) list show some rules with a wrong form o kern/115164 des [libpam] [patch] [request] Add support for the account o kern/115162 des [libpam] [patch] [request] Add check for target user's o kern/115152 [ata] Sil 3512 SATA controller panics on 6.2 o kern/115133 scottl [mpt] [mfi] [patch] Patches to make mfi support LSI SA o amd64/115126 yongari [nfe] nfe0: watchdog timeout (missed Tx interrupts) -- o docs/115065 doc [patch] sync ps.1 with p_flag and keywords o bin/115054 ntpd(8): NTP errors out on startup but restart of NTP o kern/115019 net [netgraph] ng_ether upper hook packet flow stops on ad o kern/115002 net [wi] if_wi timeout. failed allocation (busy bit). ifco o kern/114995 [drm] acpi_video prevents savage drm from loading succ o kern/114970 Wrong system time (last) when machine is crashed due t o kern/114955 fs [cd9660] [patch] [request] support for mask,dirmask,ui o kern/114928 green_saver does not switch DVI monitor power off o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o kern/114915 net [patch] [pcn] pcn (sys/pci/if_pcn.c) ethernet driver f o kern/114847 fs [ntfs] [patch] [request] dirmask support for NTFS ala f kern/114839 yongari [fxp] fxp looses ability to speak with traffic o ports/114813 lioux [new port] finance/qtstalker-devel o kern/114808 [panic] Kernel panic when use USB SpeedTouch ADSL mode o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o kern/114760 multimedia [sound] [snd_cmi] snd_cmi driver causing sporadic syst s ports/114725 portmgr bsd.port.mk - No dependencies in the package if there o kern/114714 thompsa [gre] [patch] gre(4) is not MPSAFE and does not suppor o usb/114682 usb [umass] generic USB media-card reader unusable o kern/114677 [drm] Xorg will not run with dri glx and drm on ATI Ra o kern/114676 fs [ufs] snapshot creation panics: snapacct_ufs2: bad blo o kern/114667 [umass] UMASS device error log problem p kern/114655 bushman Implement getgroupmembership in net/nss_ldap p kern/114646 firewire [firewire] [patch] firewire fails after suspend/resume o java/114644 java tomcat goes out of PermSpace, jvm crashes o stand/114633 linimon /etc/rc.subr: line 511: omits a quotation mark: "force f kern/114631 yongari [msk] "Tx descriptor error" with Marvell Yukon o ports/114611 edwin [NEW PORT] net-p2p/freenet05: An anonymous censorship- o kern/114597 scsi [sym] System hangs at SCSI bus reset with dual HBAs s kern/114578 [libc] wide character printing using swprintf(dst, n, o kern/114567 pf [pf] [lor] pf_ioctl.c + if.c o i386/114562 acpi [acpi] cardbus is dead after s3 on Thinkpad T43 with a o kern/114550 [cbb] Cardbus WiFi card activation problem o kern/114546 [drm] [panic] Sleeping thread owns a non-sleepable loc o kern/114532 geom [geom] GEOM_MIRROR shows up in kldstat even if compile f ports/114509 girgen [UPDATE]: java/eclipse-cdt to 4.0 o kern/114506 [nfs] nfs_readdirrpc doesn't use copyout to write out o kern/114492 [kernel] [patch] device_attach() doesn't unset devclas o kern/114489 scottl [aic] [panic] _mtx_lock_sleep: in aic7xxx_osm.h (with o bin/114468 fs [patch] [request] add -d option to umount(8) to detach o bin/114465 [patch] [request] script(1): add really cool -d, -p & o kern/114459 [aic] [panic] FreeBSD-CURRENT crash during boot with A o kern/114451 [nfs] [patch] prevent NFS server possible crash o kern/114438 [amr] Anomalous performance with multiple arrays and a o kern/114406 [drm] ATI Radeon Mobility X600 not supported by agp de s bin/114392 [request] add default ssl definitions for openssl(1) o docs/114371 doc [patch] [ip6] rtadvd.con(5) should show how to adverti o ports/114365 edwin New port: net-mgmt/nagiosgrapher o sparc/114349 pgollucci When executing snmpd it immediately stops with a segme f kern/114331 vanhu [crypto] [patch] VIA padlock freesession bug p kern/114325 bz [jail] SIOCGIFADDR ioctl behaves incorrectly inside ja o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o kern/114291 kmacy [RFE] [modules] [patch] add dynamic module references o amd64/114270 amd64 [cpufreq] cpufreq doesnt work when compiled in to kern p kern/114237 csjp [lor] kernel lock o ports/114231 edwin [patch] multimedia/audacious-plugins - audacious/plugi f ports/114229 nork [patch] [www/linuxpluginwrapper] libmap.conf-FreeBSD6 o kern/114213 [ata] optical drive not detected in the 6.x series of o i386/114208 i386 [boot] Problem booting the FreeBSD CD ISO image o i386/114192 i386 Fail to boot with "error issuing ATA_IDENTIFY command" o docs/114184 doc [patch] [ndis]: add info to man 4 ndis o ports/114167 portmgr [patch] bsd.port.mk - ignoring major numbers in LIB_DE o kern/114165 acpi [acpi] Dell C810 - ACPI problem o kern/114155 [ptrace] sigsuspend gets interrupted by ptrace o docs/114139 doc mbuf(9) has misleading comments on M_DONTWAIT and M_TR o bin/114129 mux [patch] csup(1) doesn't support authentication o ports/114122 timur New port: russian/stardict2-dict-eng_RU, Russian dicti o kern/114111 [nfs] System crashes while writing on NFS-mounted shar p conf/114101 se [patch] Add ZFS to periodic locate run o ports/114096 steve Upgrade x11-toolkits/open-motif to OM 2.3 o kern/114095 pf [carp] carp+pf delay with high state limit o bin/114082 [make.conf] default CFLAGS have a blank at the end o bin/114081 bz [patch] [ppp] ppp(8) should be able to set ethernet ad o usb/114068 usb [umass] [patch] Problems with connection of the umass o bin/114059 [patch] shutdown(8) should fall back to exec reboot/ha o kern/114057 [devfs] devfs symlink over device doesn't work o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o bin/113979 matteo [patch] sysinstall(8) does not support UFS1 filesystem s usb/113977 usb [request] Need a way to set mode of USB disk's write c o kern/113957 geom [gmirror] gmirror is intermittently reporting a degrad s kern/113950 multimedia [sound] [patch] [request] add per-vchan mixer support o conf/113915 rc [patch] ndis wireless driver fails to associate when i o conf/113913 [patch] [requst] new file /etc/periodic/daily/490.stat o bin/113912 tunefs(8): silent failure setting glabel on boot parti o kern/113895 net [xl] xl0 fails on 6.2-RELEASE but worked fine on 5.5-R o kern/113885 geom [gmirror] [patch] improved gmirror balance algorithm o bin/113881 [patch] sysctl(8): Wrong memory usage o kern/113856 [patch] [plip] PLIP (parallel port IP) dead on 6.2, de o i386/113853 FreeBSD 6.2-RELEASE Crashes and Reboots on i386 o kern/113852 fs [smbfs] smbfs does not properly implement DFS referral o kern/113851 [boot] Unable to boot install cd from USB-CDROM o bin/113850 sshd(8): unable to debug sshd with strace/truss/gdb o kern/113849 [libdisk] [patch] Correction of Sanitize_Bios_Geom for a kern/113842 bz [ip6] PF_INET6 proto domain state can't be cleared wit o bin/113838 fs [patch] [request] mount(8): add support for relative p o kern/113837 geom [geom] unable to access 1024 sector size storage o bin/113825 [patch] [libc] [ggated] Fix -STABLE build with -fno-st o docs/113803 ipfw [patch] ipfw(8) - don't get bitten by the fwd rule o kern/113785 firewire [firewire] dropouts when playing DV on firewire o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java o ports/113707 girgen databases/postgresql81-server - PostgreSQL RC start sc o bin/113702 portmgr [patch] bad output from "pkginfo -g" o bin/113682 [patch] sysinstall(8) warns for invalid geometry which o usb/113672 usb [ehci] [panic] Kernel panic with AEWIN CB6971 o bin/113669 ftpchroot(5) / ftpusers(5) doesn't do globbing s usb/113629 usb [ukbd] Dropped USB keyboard events on Dell Latitude D6 o sparc/113556 sparc64 [panic] trap: memory address not aligned; Rebooting... o conf/113552 [request] ntpd(8) driftfile default location inconsist o bin/113518 [patch] make(1): Prevent execution when command is a c o kern/113478 [boot] [request] FreeBSD could not start on Core2Duo n o ports/113467 java Multiple "missing return value" errors building JDK on s bin/113456 [request] gpt(8) does not allow changing partition tab o kern/113439 [panic] 6.2 Kernel Panic o usb/113432 usb [ucom] WARNING: attempt to net_add_domain(netgraph) af f kern/113427 yongari [fxp] fxp0: device timeout when writing to USB and pla o kern/113419 geom [geom] geom fox multipathing not failing back o bin/113398 [libc] [patch] initgroups fails rather than truncates p kern/113388 ipfw [ipfw] [patch] Addition actions with rules within spec o bin/113345 mux csup(1) broken: Updater failed: Bad diff from server o gnu/113343 [patch] grep(1) outputs NOT-matched lines (with multi- o gnu/113338 gcc(1): GNU gcc __thread as class member o ports/113295 kde net-im/kopete: pleawse add 'make config' to choose kop p kern/113266 harti [libgssapi] [patch] Missing handling of mech_type in g o conf/113265 [patch] Add registered epmd port number to etc/service o ports/113264 ale databases/mysql51-server compilation doesn't allow for o kern/113256 [headers] _limits.h for some CPU has wrong definitions o bin/113239 [patch] atrun(8) loses jobs due to race condition o bin/113230 des [pam] [patch] const-ify PAM-headers o docs/113194 doc [patch] [request] crontab.5: handling of day-in-month o kern/113180 fs [zfs] Setting ZFS nfsshare property does not cause inh o kern/113138 [irq] interrupt storm on 6.x kernels on an MS-1029 (AM o conf/113117 linimon [iwi] if_iwi isn't present in today's CURRENT/AMD64 o i386/113110 i386 [mk] [patch] i686 is not an alias of pentiumpro on GCC o ia64/113102 ia64 [MCA] Multiple records can have the same sequence numb f ports/113099 tmclaugh [PATCH] sysutils/libchk may skip $X11BASE now o kern/113098 [amr] Cannot read from amrd while under heavy load o ports/113096 edwin [patch] x11/xorg - X.org manpages broken o bin/113074 [patch] ppp(8): include for strcasecmp(3) a usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o bin/113049 fs [patch] [request] make quot(8) use getopt(3) and show o conf/112997 [patch] Add note about the 'native' mtune option to sh p bin/112955 des [patch] login(1): add netgroup support back to pam_log o usb/112944 usb [ulpt] [patch] Bi-directional access to HP LaserJet 10 o kern/112938 [headers] [patch] utmp.h is too limiting for modern sy o kern/112937 jfv [em] Panic in em(4) when issuing a SIOCGIFADDR ioctl p docs/112935 remko [patch] newfs_msdos(8): document 4.3g limit on files w o ports/112818 ruby ports-mgmt/portupgrade -a fails with database error o docs/112804 doc groff(1) command should be called to explicitly use "p o bin/112794 [patch] [request] pam_exec(8): allow pam_exec to expor o kern/112775 [libmd] [patch] libmd(3) bug for some zero-length file o bin/112757 sysinstall(8): sysinstall(8): in the FDISK tool we can o ports/112745 portmgr bsd.port.mk: Add a package-smart target o kern/112722 net [ipsec] [udp] IP v4 udp fragmented packet reject o kern/112708 ipfw [ipfw] ipfw is seems to be broken to limit number of c o kern/112707 [panic] 6.2-STABLE panic: spoiling cp->ace = 3 o kern/112702 jfv [em] em driver doesn't use MSI on MSI capable device f i386/112700 gavin SMP Kernel with FreeBSD 6.2 release on compaq dl360 g1 p bin/112694 jon [patch] segfault in pam_lastlog(8) on sshd exit when n o kern/112686 net [patm] patm driver freezes System (FreeBSD 6.2-p4) i38 o docs/112682 doc Handbook GEOM_GPT explanation does not provide accurat o bin/112674 calendar(1): There appears to be a bug in /usr/bin/cal o bin/112673 [patch] pkg_add(1): pkg_add -S leaks the temp dir o kern/112658 fs [smbfs] [patch] smbfs and caching problems (resolves b o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an o i386/112635 i386 [hang] [loader] Hang during boot installation o usb/112631 usb [panic] Problem with SONY DSC-S80 camera on umount a bin/112613 vwe ls(1): 'ls -l' is very slow or doesn't work at all o kern/112612 andre [lo] Traffic via additional lo(4) interface shows up o o ports/112607 lwhsu New port: devel/openldev A graphical front-end g++/gcc o java/112595 java Java appletviewer frequently hangs (kse_release loop) f kern/112591 linimon Non-monitored locks are dummy-implemented o i386/112580 i386 [boot] BTX Halted on HP DV6255 Notebook o docs/112579 mlaier [request] No ipv6 related pf examples in /usr/share/ex o kern/112570 net [bge] packet loss with bge driver on BCM5704 chipset s usb/112568 usb [umass] [request] USB mode may wrong when mounting Pla o kern/112561 ipfw [ipfw] ipfw fwd does not work with some TCP packets o conf/112558 [patch] /etc/periodic/daily/200.backup-passwd poor han o bin/112557 net [patch] ppp(8) lock file should not use symlink name o bin/112556 [patch]: sysctl(8) needs to fix multi-lineal descripti p kern/112554 silby [kernel] [patch] unp_gc is overly agressive and remove s kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f o kern/112528 net [nfs] NFS over TCP under load hangs with "impossible p o ports/112497 portmgr Mk/bsd.port.mk: make ldconfig permanent for non-defaul o i386/112487 i386 [sio] kernel panic on swi0:sio o kern/112477 marius [ofw] [patch] Add support to set the node and type on o usb/112463 usb [umass] problem with Samsung USB DVD writer, libscg an f usb/112461 gavin [usb67] [ehci] ehci USB 2.0 doesn't work on nforce4 o conf/112441 deprecated lines in /etc/hosts.allow o bin/112408 mp [regression] tcsh(1): tcsh causes gdb to hang (regress o bin/112379 [patch] [request] lockf(1): on closing stdin, stdout, o bin/112370 getfacl(1): incorrect display group name by ``getfacl' p ports/112347 obrien [PATCH] editors/vim re-enable WITH_TCL o bin/112336 [patch] install(1): install -S (safe copy) with -C or o bin/112288 ftp(1): /usr/src/usr.bin/ftp/config.h is redundant and o kern/112282 [ata] atacontrol(8): changing DMA modes when disk is r o kern/112256 [hang] SC_PIXEL_MODE hangs system o amd64/112222 amd64 [libc] 32-bit libc incorrectly converts some FP number s gnu/112215 obrien [patch] gcc(1): "gcc -m32" attempts to link against 64 o bin/112213 [patch] touch(1)ing a directory and failing yields ret o kern/112181 [panic] Kernel Panic on HP DL320-G5 Running 6.2-STABLE o kern/112160 [pppd] uplink DSL w/pppoe+NAT 'out of buffer space' ki o kern/112053 [hang] deadlock with almost full filesystem and rtorre o i386/112036 i386 [ata] TIMEOUT - WRITE_DMA retrying, TIMEOUT - READ_DMA f amd64/111994 jkoshy [hwpmc] [request] hwpmc(3) doesn't know about Intel 51 o bin/111978 [patch] [request] make syspath list for mount(8) confi o kern/111967 [geli] glabel - label is seemingly not written to disk o kern/111848 [nfs] removing a file from a diskless nfs mounted root o kern/111843 fs [msdosfs] Long Names of files are incorrectly created f bin/111835 fstat(1) fails to report certain files s www/111791 www FreeBSD website messes up while using "links" browser o kern/111782 fs [ufs] dump(8) fails horribly for large filesystems o kern/111767 multimedia [sound] ATI SB450 High Definition Audio Controller sou o kern/111766 [panic] "panic: ffs_blkfree: freeing free block" durin f usb/111753 gavin [usb67] [uhid] [panic] Replicable system panic involvi o conf/111557 [gre] link1 flag doesn't work as intended when specifi o kern/111537 kmacy [inet6] [patch] ip6_input() treats mbuf cluster wrong o ports/111501 [NEW PORT] databases/ruby-oci8 o bin/111493 [patch] routed(8) doesn't use multicasts for RIPv2 via o kern/111457 net [ral] ral(4) freeze o docs/111425 doc Missing chunks of text in historical manpages o ports/111399 doceng print/ghostscript8 (was ghostscript-gpl): WITH_FT_BRID a ports/111356 csjp net/bpfstat: man bpfstat has no descption for the flag o bin/111343 sh(1) and bash(1) with -e sometimes fail to test error o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o docs/111265 doc [request] Clarify how to set common shell variables p kern/111260 csjp [hang] FreeBSD kernel dead lock and a solution o www/111228 bugmeister [request] Usability improvements for bug search query o bin/111226 [patch] Incorrect usage of chflags() in various FreeBS o kern/111220 pf [pf] repeatable hangs while manipulating pf tables o kern/111196 [ata] [hang] SATA drives cause errors and cause system o kern/111185 console color depth set to 0 at boot causes flat scree o kern/111162 [nfs] nfs_getpages does not restart interrupted system o docs/111147 doc hostapd.conf is not documented s bin/111146 fs [2tb] fsck(8) fails on 6T filesystem o bin/111077 date(1): /bin/date -j -f "%b %Y" "Feb 2007" +%m return o ports/111066 secteam ports-mgmt/portaudit does not skip ports fixed listed o bin/111024 [request] [patch] atacontrol(8): support for stand-by p kern/111023 mav [ata] [request] [patch] please expand ata timeouts s kern/111001 [hang] can't install 6.2-RELEASE-amd64 (SuperMicro PDS o docs/110999 doc carp(4) should document unsupported interface types o kern/110995 kmacy [loader] [patch] loader wastes space worth symtab size o conf/110993 [patch] /etc/netstart should start rpcbind o gnu/110971 gdb(1) crashes f kern/110959 bz [ipsec] Filtering incoming packets with enc0 does not o kern/110915 rwatson [acl] ACL's don't work with SUIDDIR o java/110912 java Java krb5 client leaks UDP connections o bin/110887 [patch] truss(1) missing linux_access syscall descript o usb/110856 usb [usb67] [ugen] [patch] interrupt in msgs are truncated o kern/110847 scsi [ahd] Tyan U320 onboard problem with more than 3 disks s conf/110838 pf [pf] tagged parameter on nat not working on FreeBSD 5. s ports/110826 dinoex port graphics/tiff: tiff2pdf tints images with wrong c f kern/110720 kmacy [net] [patch] [request] support for interface descript p bin/110705 geom gmirror(8) control utility does not exit with correct o docs/110692 doc wi(4) man page doesn't say WPA is not supported p kern/110662 sam [safe] safenet driver causes kernel panic o threa/110636 threads [request] gdb(1): using gdb with multi thread applicat o amd64/110599 amd64 [geli] geli attach to gmirror device hangs and cannot o ports/110533 olgeni [patch] WITHOUT_NLS support for www/neon and www/sitec o kern/110407 [ata] ATA drivers not recognizing Seagate CF Microdriv o kern/110392 scottl [hptmv] [patch] hptmv very old and missing important f o docs/110376 doc [patch] add some more explanations for the iwi/ipw fir o docs/110359 brueffer mpt man page omission o threa/110306 threads apache 2.0 segmentation violation when calling gethost o kern/110284 kmacy [if_ethersubr] [patch] Invalid Assumption in SIOCSIFAD o docs/110253 doc [patch] rtprio(1): remove processing starvation commen o kern/110249 kmacy [kernel] [regression] [patch] setsockopt() error regre o i386/110218 i386 kmem_malloc(4096): kmem_map too small: 335544320 total o i386/110214 i386 [hang] FreeBSD 6.2 freezes on SSH activitiy caused by o kern/110199 jmg [kqueue] [patch] kqueue_register doesn't update the kn f usb/110197 gavin [usb67] [umass] [ehci] Sony PSP umass device does not o bin/110151 sysinstall(8): sysinstall(8) don't respects install ro o bin/110146 [patch] [request] Allow arbitrary gdb(1) options to by o kern/110140 net [ipw] ipw fails under load o kern/110110 [hang] sysctl causing a lockup o bin/110068 [patch] rewrite of mdmfs(8) in shell o kern/110065 [wi]: wi device cannot attach to D-Link DWL-520 rev. E o docs/110062 doc [patch] mount_nfs(8) fails to mention a failure condit o docs/110061 doc [patch] tuning(7) missing reference to vfs.read_max o kern/110017 [libexec] [patch] serial port console output garbled o docs/109981 doc No manual entry for post-grohtml o conf/109980 rc /etc/rc.d/netif restart doesn't destroy cloned_interfa o docs/109977 doc No manual entry for ksu p docs/109975 trhodes No manual entry for elf2aout o docs/109973 doc No manual entry for c++filt o docs/109972 doc No manual entry for zless/bzless o kern/109968 [boot] [panic] Panic while booting with PCscsi II AM53 o kern/109936 [smp] SMP kernel performance problem on FSC TX600 o bin/109911 mountd(8) does not accept identical host sets on diffe o kern/109889 [panic] 6-STABLE panic kern_timeout.c o bin/109827 mount_smbfs(8) didn't handle password authentication c o kern/109813 [ciss] ciss(4) driver API header is not installed o kern/109809 [vmware] CPU hits 100% when issuing the halt command ( o kern/109762 [hang] deadlock in g_down -> ahd_action -> contigmallo o ports/109745 kris NO_PACKAGE handling by ports build system o kern/109743 [sio] The sio(4) driver appears to be getting the seri o kern/109736 [ata] FreeBSD sysinstall from CD can't find & mount NE o kern/109733 net [bge] bge link state issues [regression] o docs/109612 remko Manuals that live in ARCH specific subdirectories are o i386/109610 i386 [panic] Fatal trap 12: page fault while in kernel mode p amd64/109584 edwin [patch] zdump(8) doesn't work a ports/109580 glewis [patch] math/gnuplot does not include bsd.emacs.mk whe o bin/109569 mail(1) command not parsing sendmail parameters o i386/109568 i386 [panic] Reboot server with "Fatal trap 12" o conf/109562 rc [rc.d] [patch] [request] Make rc.d/devfs usable from c o bin/109521 [patch] chio(1): 'chio return' breaks on non-voltag ch o ports/109501 krion [PATCH] add some configurable vars to mail/exim o bin/109478 [libc] [patch] adopt reentrant syslog functions from O a kern/109477 yongari [vr] [patch] onboard via vt6103 ethernet does not work o kern/109470 net [wi] Orinoco Classic Gold PC Card Can't Channel Hop o i386/109423 i386 [ichsmb] ICH5 smb interface problems o kern/109416 des [libpam] [patch] pam_group doesn't check login_group m o bin/109413 jhb [patch] top(1) shows at least 50% idle when hyperthrea o kern/109406 thompsa [ndis] Broadcom WLAN driver 4.100.15.5 doesn't work wi f usb/109397 gavin [usb67] [umass] [panic] FS corruption on booting from o kern/109377 daichi [unionfs] unionfs crashes if underlying file system fo f conf/109367 i18n [locale] UTF8 encoded locales and problem collating ac o conf/109354 [request] /etc/periodic/daily/110.clean-tmps does not o bin/109334 pkg_add(1) using chroot exits with error if wrong dire o kern/109308 net [pppd] [panic] Multiple panics kernel ppp suspected [r o kern/109277 [pppd] [patch] : kernel ppp(4) botches clist reservati f usb/109274 gavin [usb67] [usb] MCP55 USB Controller fails to attach in o conf/109272 [request] increase default rc shutdown timeout o kern/109251 net [re] [patch] if_re cardbus card won't attach o kern/109232 imp [sio] [patch] ibufsize calculation wrong causing data o kern/109227 [ral] ral(4) driver doesn't handle correctly RT2561C P f docs/109226 doc [request] No manual entry for sntp o docs/109201 doc [request]: manual for callbootd s i386/109200 i386 [ata] READ_UDMA UDMA ICRC error cause not detecting ca o kern/109161 philip [psm] synaptic touchpad doesn't work o docs/109105 trhodes security.mac.bsdextended.firstmatch_enabled is not ena o docs/109104 trhodes man mac_bsdextended is not consistent with systl outpu o bin/109102 csjp sysctl security.mac.bsdextended is not consistent with o kern/109024 fs [msdosfs] mount_msdosfs: msdosfs_iconv: Operation not o kern/109010 fs [msdosfs] can't mv directory within fat32 file system o docs/109008 csjp [patch] add summary of kern/48198 to jexec(8) a docs/108980 doc list of missing man pages o kern/108968 [panic] Double mount then umount and ls resuits in pan s bin/108961 vwe ls(1) High CPU use on directories containing files wit o kern/108954 acpi [acpi] 'sleep(1)' sleeps >1 seconds when speedstep (Cx o kern/108924 [ar] Panics when Intel MatrixRAID RAID1 is degraded o bin/108895 net pppd(8): PPPoE dead connections on 6.2 [regression] s amd64/108861 amd64 [nve] nve(4) driver on FreeBSD 6.2 AMD64 does not work o kern/108829 [radeon] radeon module fails with thinkpad T43 o ports/108795 ports/icc: Proposed update to icc port for intel compi s bin/108743 vwe [patch] who(1): IPv6 addresses truncated to maximum IP f sparc/108732 sparc64 ping(8) reports 14 digit time on sparc64 o kern/108695 acpi [acpi]: Fatal trap 9: general protection fault when in o kern/108670 silby [tcp] TCP connection ETIMEDOUT o kern/108659 [psm] Mouse (Synaptics touchpad) cursor freezes for so o kern/108655 messages from kernel are mixed (/dev/klog? syslog?) o kern/108651 [hang] option PREEMPTION causes machine hangs on TYAN o conf/108589 rc rtsol(8) fails due to default ipfw rules o ports/108570 girgen databases/postgresql82-server fails when PREFIX is set o kern/108542 net [bce] Huge network latencies with 6.2-RELEASE / STABLE p bin/108523 trhodes [patch] daemon(8): support for dropping privileges s ports/108514 portmgr [feature request] Automatic registering of UID and GID f usb/108513 gavin [usb67] [umass] Creative MuVo TX FM fails in 6.2-RELEA o kern/108488 acpi [acpi] ACPI-1304: *** Error: Method execution failed o kern/108485 [re] stress2-udp with realtek 8169S gigabit interface o bin/108462 [request] pkg_info(1) shouldn't have a hard width limi s kern/108442 [request] UTF-8 support for console o kern/108418 [panic] Kernel panic after killing kdm. o kern/108379 [ata] Secondary SATA drive not detected by FreeBSD 6.2 p bin/108368 [patch] tip(1) coredumped when 'du' capability is used o kern/108361 [lpt] lpt0: device busy with HP 710c parallel printer s usb/108344 usb [usb67] [atausb] [panic] kernel with atausb panics whe f ports/108313 openoffice editors/openoffice.org port build fails o kern/108202 [atapicam] atapicam error after upgrade to 6.2 [regres f kern/108197 jinmei [panic] [gif] [ip6] if_delmulti reference counting pan o bin/108191 matteo sysinstall(8): Disklabel editor help text (by F1 key) o i386/108185 i386 [panic] freebsd 6.2 fatal kernel trap o ports/108169 apache www/apache20 wrong AP_SAFE_PATH for suEXEC s ports/108153 portmgr ports extraction with package uid/gid and quota proble o kern/108133 jmg [bktr] [patch] bktr driver doesn't recognize Hauppauge o bin/108118 [libc] files should not cache their EOF status o docs/108101 doc /boot/default/loader.conf contains an incorrect commen o kern/108100 [ktr] sysctl debug.ktr.alq_enable=1 results in reboot f usb/108056 gavin [usb67] [ohci] Mouse gets powered off during probe whe o bin/108033 ls(1) coredumps when nss/ldap is misconfigured o bin/108020 comsat(8) does not verify return values of getpwnam an o kern/108017 acpi [acpi]: Acer Aspire 5600 o kern/107944 net [wi] [patch] Forget to unlock mutex-locks o usb/107935 usb [usb67] [uplcom] [panic] panic while accessing /dev/cu o usb/107924 usb [usb67] usbd(8) does not call detach o kern/107850 net [bce] bce driver link negotiation is faulty f usb/107848 gavin [usb67] [umass] cannot access Samsung flash disk o bin/107830 fdisk(8): Change Units (Z) in fdisk doesn't work when o bin/107829 fs [2TB] fdisk(8): invalid boundary checking in fdisk / w o usb/107827 usb [usb67] [ohci] [panic] ohci_add_done addr not found o ports/107816 roam [patch] The IPv6 patch breaks the location feature of s ports/107814 joerg mail/postfix uses wrong order of -I options s kern/107759 Unable to load a kernel after clean install o kern/107707 geom [geom] [patch] [request] add new class geom_xbox360 to o bin/107692 newfs(8): newfs -O 1 doesn't create consistent filesys o amd64/107639 [ata] Kernel Panic/Crash on dd if=/dev/ad4 of=/dev/ad6 o kern/107622 [ata] can't boot on HP Pavilion dv6000 / problem with o kern/107608 [twa] [hang] Raid Problem beim Zugriff auf Raid o i386/107564 i386 [install] fatal trap 19 during installation on a Dell p stand/107561 standards [libc] [patch] [request] Missing SUS function tcgetsid o kern/107516 multimedia [sound] [snd_emu10k1] - skips, clicks and lag after a o bin/107515 [patch] ls(1) bug f usb/107496 gavin [usb67] [uhub] [ehci] USB device problem on RELENG_6_2 f kern/107446 gavin problems with usb and fw disks o usb/107388 usb [usb67] [usb8] [new driver] [patch] add utoppy device o i386/107382 i386 [install] "Fatal trap 12" when installing FreeBSD 6.1 o ports/107354 edwin net/icmpinfo: icmpinfo -vvv does not recocnize any ICM o kern/107342 [dri] Radeon dri breaks system o kern/107305 ipfw [ipfw] ipfw fwd doesn't seem to work f kern/107292 [ata] cannot install - Unable to find device /dev/ad0s f www/107291 murray Keyboard accessibility sabotaged by www/share/sgml/hea f kern/107287 [ata] page fault during install on Intel SATA on Intel o kern/107285 [panic] freeze and reboot by mounting CDROM volume twi o kern/107279 [ath] panic: ath_start: attempted use of a free mbuf! o kern/107277 [panic] bus_dmamap_load_mbuf_sg f usb/107248 gavin [usb67] [cam] [quirk] [patch] quirk for Cowon iAUDIO X o usb/107243 usb [usb67] [cam] [quirk] [patch] Apacer USB Flash Drive q f ports/107229 openoffice sysutils/coreutils: gcp fails to set default ACL which o kern/107206 [arcmsr] Background fsck causes kernel panic with arcm o bin/107171 [patch] [ncurses] systat(1) doesn't die when it's xter o kern/107154 [pam] pam.d/sshd pam_ssh.so doesn't start ssh-agent s sparc/107087 sparc64 [hang] system is hung during boot from CD o kern/107051 multimedia [sound] only 2 channels output works for the ALC850 (o o conf/107035 net [patch] bridge(8): bridge interface given in rc.conf n o kern/106924 acpi [acpi] ACPI resume returns g_vfs_done() errors and ker f amd64/106918 yongari [re] Asus P5B with internal RealTek PCIe Ethernet gets o docs/106916 chinsan Wrong tar command at topic 17.6.8 in Handbook o bin/106872 [patch] [request] extattr support for find(1) f usb/106861 gavin [usb67] [usb8] [usbdevs] [patch] Add ACER Zeevo BT-500 o kern/106851 [vge] vge0: MII read timed out [regression] o i386/106850 i386 [powerd] powernow0 attach returned 6 s ports/106848 portmgr [PATCH] Mk/bsd.port.mk -- Add support to remove locale f usb/106832 gavin [usb67] [usb] USB HP printer is not detected by kernel o i386/106789 i386 [nfe] or [nve]: Internal NIC of GA-K8N51GMF-RH does no o kern/106786 No reboot with FreeBSD and Mylex Acceleraid 352 o bin/106734 [patch] [request] bzip2(1): SSE2 optimization for bzip o bin/106726 ntpd(8): ntp functions return wrong values o kern/106722 glebius [net] [patch] ifconfig may not connect an interface to p bin/106674 mav atacontrol(8): "atacontrol attach" doesn't work with S f usb/106648 gavin [usb67] [umass] [hang] USB Floppy on D1950 10 min Hang o kern/106646 [nfs] [patch] Pointer incorrectly cast to ulong o kern/106645 [uart] [patch] uart device description in 7-CURRENT is o kern/106632 trhodes [msdosfs] gimp destroys files on fat32 upon opening f usb/106621 gavin [usb67] [axe] [patch] DLINK DUB-E100 support broken s ports/106616 portmgr bsd.port.mk: Default file modes set incorrect for non- f usb/106615 gavin [usb67] [uftdi] uftdi module does not automatically lo p kern/106496 kris [softupdates] Can't remount filesystem as read only af o i386/106493 emaste [patch] pxeboot(8) uses /pxeroot instead of / o kern/106490 [atapicam] atapicam fails with ATAPI-CD/DVD drives att o ports/106483 portmgr [patch] embed distfile information in +CONTENTS o kern/106444 [netgraph] Kernel Panic on Binding to an ip to a virtu o kern/106438 net [ipf] ipfilter: keep state does not seem to allow repl o kern/106432 [ata] Record of disks (DVD-R) through the k3b program o bin/106431 [patch] atacontrol(8): Inform user of ata RAID5 acting o bin/106355 [headers] macros in stdio.h non-portable (e.g., C++ :: s kern/106340 [ata] [request] Need to control disk write cache on pe o kern/106316 net [dummynet] dummynet with multipass ipfw drops packets o kern/106275 [hifn] Hifn 7955 on Soekris Engineering vpn1401 return o kern/106255 trhodes [msdosfs] [patch]: correct setting of archive flag o kern/106243 net [nve] double fault panic in if_nve.c on high loads o amd64/106186 amd64 [panic] panic in swap_pager_swap_init (amd64/smp/6.2-p o docs/106135 doc [request] articles/vinum needs to be updated o misc/106107 left-over fsck_snapshot after unfinished background fs p bin/106049 [patch] tftpd(8) - improve -w option to support unique o usb/106041 usb [usb67] [usb8] [request] FreeBSD does not recognise Mu o kern/106030 fs [ufs] [panic] panic in ufs from geom when a dead disk o kern/106028 [pxeboot] tftp inside pxeboot isn't initialised proper o conf/106009 rc [ppp] [patch] [request] Fix pppoed startup script to p p docs/105997 trhodes sys/kern/sys_pipe.c refer to tuning(7), but there is n o kern/105945 net Address can disappear from network interface s kern/105943 net Network stack may modify read-only mbuf chain copies o bin/105925 net problems with ifconfig(8) and vlan(4) [regression] o bin/105860 top(1) user ID misalignment in mixer username/uid mode o conf/105689 rc [ppp] [request] syslogd starts too late at boot o bin/105614 [patch] setkey(8): Creating NULL encryption ESP SAs wi o docs/105608 doc fdc(4) debugging description staled o kern/105604 [bktr] [patch] add support for Pixelview PlayTV Pro 2 o kern/105579 piso [libalias] dcc resume over natd in 6.x o conf/105568 rc [patch] [request] Add more flexibility to rc.conf, to o kern/105539 newly added disk devices don't have slice-devices crea o kern/105537 acpi [acpi] problems in acpi on HP Compaq nc6320 s kern/105533 [ahd] adaptec 29320 causes panic with over 4GB 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 o kern/105500 SCSI install on Microsoft Virtual Server 2005 doesn't f java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o docs/105456 keramida [patch] overhaul of the security chapter (14) o kern/105375 yongari [sk] 2 x Marvell GBit LAN: device sk0 is attached, but o kern/105368 [geli] geli passphrase prompt malfunctioning when moun o usb/105361 usb [usb67] [panic] Kernel panic during unmounting mass st o kern/105348 net [ath] ath device stopps TX o bin/105341 [libpam] [patch] [request] pam_krb5: Add minimum_uid/m o www/105333 www [patch] Base selection in events in libcommon.xsl does o kern/105330 ipfw [ipfw] [patch] ipfw (dummynet) does not allow to set q o kern/105241 [nfs] problem with Linux NFS server up/down combined w o gnu/105221 grep(1): `grep -w -F ""` issue o i386/105175 i386 [ipmi] ipmi acpi trouble on supermicro server o kern/105169 [panic] cp hangs on copy to a compact flash card o conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp o alpha/105134 alpha 'panic: lockmgr: thread ... not exclusive lock owner' f conf/105100 ache [patch] [locale] no support for lv (latvian) locale o kern/105093 fs [ext2fs] [patch] ext2fs on read-only media cannot be m o kern/105067 K8D Master-F and other 8111/8131 boards will not run S f usb/105065 gavin [usb67] [umass] transfer speed of external drive enclo o i386/105063 i386 [sio] US Robotics (3Com) 3CP5609 PCI 16550 Modem works o sparc/105048 sparc64 [trm] trm(4) panics on sparc64 o kern/104978 jfv [em] jumbo frames has been broken in RELENG_6 by last s kern/104950 [ata] [request] no support for SATA controller Initio o bin/104921 ipfw [patch] ipfw(8) sometimes treats ipv6 input as ipv4 (a o ports/104910 nobutaka portsdb -Uu fails on building lsdb when EMACS_NAME is o kern/104882 [iicbb] [patch] pvr250 and pvrxxx drivers need iicbb p o docs/104879 doc Howto: Listen to IMA ADPCM .wav files on FreeBSD box o kern/104874 multimedia [sound] [snd_emu10k1] kldload snd_emu10k1 hangs system o kern/104862 [bge] BCM5704 only works at 10Mbit o kern/104851 net [inet6] [patch] On link routes not configured when usi o bin/104850 ppp(8): ppp problem on TCP link o kern/104826 andre [bge] FreeBSD 6.1 not RFC 768 (UDP) compliant on Compa o kern/104822 [hang] RELENG_6 hangs with VIA VT8237A chipset [regres p kern/104818 [ata] Missing driver Silicon Image SiI 3132 SATA II PC o bin/104809 cron(8): incorrect cron behavior with mday field = "*/ o kern/104799 [ata] Several ata observations ICH8 BIOS o kern/104755 Making ISO image with k3b hangs 6.2-PRERELEASE o kern/104751 net [netgraph] kernel panic, when getting info about my tr o bin/104746 [patch] traceroute(8): 'traceroute -e -P TCP' cannot w o java/104744 glewis java/berkeley-db installation error o stand/104743 standards [headers] [patch] Wrong values for _POSIX_ minimal lim o kern/104738 mlaier [inet] [patch] Reentrant problem with inet_ntoa in the o i386/104719 i386 [ata] Seagate ST3802110A errors/delays when using PIO4 s bin/104689 matteo [patch] [request] powerd(8): add support for limiting o kern/104682 ipfw [ipfw] [patch] Some minor language consistency fixes a o kern/104675 [bktr] METEORSINPUT seemingly not setting input f usb/104645 gavin [usb67] [umass] [request] Rave C-201 MP3 player does n o kern/104626 multimedia [sound] FreeBSD 6.2 does not support SoundBlaster Audi o kern/104625 acpi ACPI on ASUS A8N-32 SLI/ASUS P4P800 does not show ther o kern/104624 Sound, mouse and keyboard badly interrupted while I/O f i386/104572 i386 [ata] issues with detecting HDD on Intel Q965 Express o kern/104569 glebius panic w/zebra o bin/104553 [patch] [request] Add login group support to login.acc o conf/104549 rc [patch] rc.d/nfsd needs special _find_processes functi o gnu/104533 bugmeister [patch] [request] make send-pr(1) read configuration f o docs/104493 roberto [patch] Wrong description in ntp.conf(5) (CURRENT and o kern/104486 TI1131 Cardbus Bridge cannot detect card insertion on o kern/104485 net [bge] Broadcom BCM5704C: Intermittent on newer chip ve o i386/104473 i386 [boot] boot loader reboots before loading kernel on Al o bin/104456 stefanf sh(1): /bin/sh unable to enter deep directories o docs/104432 trhodes No mention of "let" shell builtin in manual pages. o sparc/104428 sparc64 [nullfs] nullfs panics on E4500 (but not E420) o kern/104406 fs [ufs] Processes get stuck in "ufs" state under persist o kern/104389 geom [geom] [patch] sys/geom/geom_dump.c doesn't encode XML f usb/104352 gavin [usb67] [ural] [rum] [patch] ural driver doesnt work o i386/104349 i386 [bfe] Panic while uploading data via bfe network inter o amd64/104311 ports/wine should be installable on amd64 f usb/104292 gavin [usb67] [umass] [hang] system lockup on forced umount f usb/104290 gavin [usb67] [umass] [patch] [quirk] TOSHIBA DVD-RAM drive p kern/104212 [puc] [patch] support for Kuroutoshikou SERIAL4P-LPPCI o kern/104133 fs [ext2fs] EXT2FS module corrupts EXT2/3 filesystems o bin/104092 [patch] iostat(8): missing blanks in iostat output o kern/104079 [fdc] [patch] kldunload fdc.ko leads to panic: mutex G o threa/103975 threads Implicit loading/unloading of libpthread.so may crash o www/103938 brd cvs-src archive does not rebuild since 12 Mar 2006 s usb/103917 usb [usb67] [uhub] USB driver reports "Addr 0 should never o bin/103890 w(1) doesn't see sessreg'd entries in utmp o kern/103883 [ata] DMA is not defaulted on WDMA device (SIS integra a bin/103873 csjp login(1) SEGFAULT on unsuccessful login o kern/103862 [fdc] [patch] Error with fdformat on -CURRENT o bin/103845 sha256(1): sha256 /dev/acd0 returns immediately o docs/103807 danger wicontrol(8) manpage contains a broken URL o conf/103794 adding other login class to login.conf in case one is o kern/103792 Multiple Logins: ; a 't' appears at prompt o kern/103764 [libradius] [patch] libradius aborts server processing o bin/103762 ppp(8): some tun interfaces with a mtu of 1500 while i o ports/103751 nork databases/linux-oracle-instantclient-sqlplus: ldconfig o kern/103733 [agp] i915 driver on hp dc7100: device not recognized o kern/103715 [bge] [request] Broadcom BCM5708SKFB not recognised by o bin/103712 amd(8): Automounter is apparently not passing flags to o bin/103682 [patch] [request] nfsstat(1) should use %u instead of o ports/103669 ale mysql-server rc script can not use mysql_flags variab s i386/103624 i386 [ata] [install] Problem installing on Dell Powervault o kern/103615 emaste [aac] [patch] aac(4) update to the last version availa s kern/103603 6.1 install-boot from floppies fails o kern/103578 [ums] ums does not recognize mouse buttons o kern/103532 [irq] Interrupt storm in 6.2-PRERELEASE [regression] o ports/103529 gecko www/seamonkey: enable SVG and Pango font rendering sup o www/103522 www Search interface oddity o kern/103498 [keyboard] momentary system "pauses" when switching VT s kern/103495 vwe [vr] if_vr locks after carrier event p conf/103489 bz [rc.d] [named] [jail] [patch] named_chroot_autoupdate p kern/103464 bz [dns] [jail] jail networking failures to 127.0.0.1 onl o kern/103455 "swap_pager: indefinite wait buffer" with page file en o kern/103454 ipfw [ipfw] [patch] [request] add a facility to modify DF b o usb/103418 usb [usb67] [usb8] [patch] [request] usbhidctl(8) add abil o kern/103332 yongari [fxp] fxp driver does not work correctly on Intel 8255 o kern/103328 ipfw [ipfw] [request] sugestions about ipfw table o kern/103312 [libc] dlsym(NULL,) doesn't work properly o kern/103283 pf pfsync fails to sucessfully transfer some sessions o kern/103281 pf pfsync reports bulk update failures o kern/103256 jfv [em] em0: watchdog timeout -- resetting (6.1-STABLE) o kern/103253 thompsa inconsistent behaviour in arp reply of a bridge o kern/103250 [puc] puc failed to attach sio ports when loaded as mo o kern/103200 [ral] ral driver for RELENG_6 is out-of-date with resp o kern/103191 net Unpredictable reboot o kern/103135 net [ipsec] ipsec with ipfw divert (not NAT) encodes a pac p kern/103075 [ata] SATA disk attach/unplug from a MV88SX5041 freeze o i386/103063 i386 [install] Can not install on Dell XPS 700 o usb/103046 usb [usb67] [ulpt] [patch] ulpt event driven I/O with sele a kern/103041 linimon [ipmi] unloading ipmi panics Dell PE 2850, ipmi doesn' o kern/103035 fs [ntfs] Directories in NTFS mounted disc images appear o kern/103022 cperciva [headers] /usr/include/crypto/rijndael.h is wrong p kern/102956 dchagin [linux] [patch] Add partial support for SO_PEERCRED in o ports/102954 obrien textproc/urlview: switch from netscape to one gecko. o ports/102946 secteam [patch] ports-mgmt/portaudit o kern/102943 kan [xfs] kernel crash when unloading the xfs kernel modul o java/102888 glewis Diablo 1.5.0 throws FileNotFoundException when opening a bin/102834 [patch] mail(1) hangs on the sigsuspend system call in o bin/102793 edwin [patch] [request] top(1): display feature of current C o kern/102784 [keyboard] system crashes when using hardware function o kern/102783 [acpi] hw.acpi has thermal controls backwards when ext f kern/102741 andre [tcp] Multiple outbound connect() calls produce 'Netwo o docs/102719 doc [patch] ng_bpf(4) example leads to unneeded promiscuos o amd64/102716 amd64 ex with no argument in an xterm gets SIGSEGV o conf/102700 rc [geli] [patch] Add encrypted /tmp support to GELI/GBDE f usb/102678 gavin [usb67] [ukbd] Dell PowerEdge DRAC5 USB Keyboard does p kern/102653 andre [tcp] TCP stack sends infinite retries for connection o bin/102638 matteo [patch] sysinstall(8): custom dist set always install o i386/102617 vwe [smbfs] [editors/ooo] 7 x "smb_maperror: Unmapped erro o kern/102612 [asr] da0 not detected when sharing bus with ch0 devic o bin/102609 [patch] Add filtering capability to date(1) o i386/102562 i386 [em] no traffic pass through a em card after approx. a o kern/102549 [bktr] [patch] fix Pixelview PlayTV Pro 2 on bktr o kern/102540 [netgraph] [patch] supporting vlan(4) by ng_fec(4) o bin/102515 [libc] fsck_ufs crashes if no console at all o conf/102502 net [netgraph] [patch] ifconfig name does't rename netgrap s ports/102499 rik lftp asc file checksum mismatch o bin/102498 sysinstall(8): Cursor doesn't track sysinstall hilight o kern/102471 ipfw [ipfw] [patch] add tos and dscp support o i386/102410 i386 [install] FreeBSD 6.1-RELEASE installation boot freeze o bin/102394 [patch] ls(1) do not shows inode number symbolic link o kern/102390 [pppd] [patch] kernel pppd don't using pam o kern/102363 "Resource temporarily unavailable" message from dvd+rw o bin/102357 [patch] tcsh(1)/csh(1) jobs control: sometimes 'fg' co o bin/102299 [patch] grep(1) malloc abuse? o kern/102252 acpi acpi thermal does not work on Abit AW8D (intel 975) o bin/102232 gad Defects in -O option to ps(1) o kern/102211 [ar] [patch] detach raid member and reboot will cause o bin/102205 kdc(8): login failure: ssh + gssapi + dual stacks + pa o bin/102162 [patch] tftpd(8): Limit port range for tftpd f usb/102066 gavin [usb67] [ukbd] usb keyboard and multimedia keys don't o kern/102035 net [plip] plip networking disables parallel port printing o kern/101948 net [ipf] [panic] Kernel Panic Trap No 12 Page Fault - cau o kern/101926 [ar] 6.1-STABLE crashes under heavy disk I/O and acces o bin/101921 [request] security.bsd.see_other_uids for further prog o kern/101819 [ar] [patch] ata driver wrongly determines type RAID o o kern/101794 [pfsync] Setting plip as syncdev for pfsync causes ker o usb/101775 usb [usb67] [usb8] [libusbhid] [patch] possible error in r a bin/101762 sysinstall(8) does not obey /usr/ports symlink while i o usb/101761 usb [usb67] [patch] [request] usb.h: increase maximal size f usb/101752 gavin [usb67] [umass] [panic] 6.1-RELEASE kernel panic on Ca o kern/101734 [ata] -CURRENT cannot see SATA drive on ASUS A8N-SLI ( o kern/101618 kernel panic on multiple Dell PE2850s o i386/101616 i386 [hang] FreeBSD freeze on bootup, Compaq Proliant (lega a ports/101566 apache www/apache20 All .svn subdirectories in $(htdocsdir) g o docs/101464 doc sync ru_RU.KOI8-R/articles/portbuild/article.html with s ports/101450 stas multimedia/transcode: tcprobe broken for devfs f usb/101448 gavin [usb67] [ohci] FBSD 6.1-STABLE/AMD64 crashes under hea o kern/101417 multimedia [sound] 4-speakers output not possible on Asus A8V-Del f ports/101340 danfe x11/nvidia-driver: Vidcontrol Causes Video Corruption o kern/101324 fs [smbfs] smbfs sometimes not case sensitive when it's s o threa/101323 threads [patch] fork(2) in threaded programs broken. o kern/101274 yongari [sk] [patch] SysKonnect Yukon initialization bug on K8 o docs/101271 remko serial console documentation implies kernel rebuild re o kern/101226 jfv [em] Access to IPMI module is lost when the em driver o ports/101166 bittorrent-curses only works under English locales. f usb/101096 gavin [usb67] [ural] [panic] USB WLAN occasionally causes ke o i386/101062 i386 [hang] Freeze on detect Intel 900 VGA on boot with ACP f kern/101061 vwe [fpa] fea/fpa (DEC FDDI NIC) driver causes kernel pani o kern/100974 rwatson [panic] sorele. FreeBSD 6.1 RELEASE i386 o bin/100956 remko [patch] support setting carp device state with ifconfi o bin/100921 [patch] tftpd(8): libexec/tftpd: `-w' non-traditional o bin/100914 [patch] tftpd(8): libexec/tftpd: write access control o kern/100859 multimedia [sound] [snd_ich] snd_ich broken on GIGABYTE 915 syste o kern/100858 davidch [bce] Broadcom bce driver and SMP hangup f kern/100839 yongari [txp] txp driver inconsistently stops working when the o i386/100831 i386 [sio] sio ignores BIOS information about serial ports s threa/100815 threads FBSD 5.5 broke nanosleep in libc_r s bin/100805 yar WITHOUT_INET6 is ignored by many src/ components o docs/100803 jhb [patch] the man page about ithread is expired. o conf/100782 [keyboard] [patch] Default keymap to support ALT+Left, o ports/100776 ruby ports-mgmt/portupgrade: Failure to update devel/mico b o usb/100746 usb [usb67] [ukbd] system does not boot due to USB keyboar o kern/100709 net [libc] getaddrinfo(3) should return TTL info o kern/100687 [psm] psm problem (?): touchpad hangs, then move supe o conf/100616 [patch] syslog.conf: lines after exclamation point ign o bin/100535 [patch] cal(1) and ncal(1) do not take into account mu o kern/100519 net [netisr] suggestion to fix suboptimal network polling o kern/100516 [atapicam] atapicam with ITE IT8212F crashes the syste p kern/100513 jhb [smbus] Inconsistent definition of SMBus addresses in o ports/100504 skv [PATCH] databases/p5-Class-DBI: Reduce dependencies o kern/100499 yongari [vr] vr interface stops transmitting a bin/100496 [patch] Fix to get rid of the telnet(1) to cisco probl o bin/100442 obrien ftpd(8): lukemftpd core dumps on anonymous login o bin/100436 kensmith sysinstall(8): live CD fixit mount does not find mount f ports/100431 dougb port print/hpijs default config interferes with print/ o bin/100424 [patch] ssh(1): SSH option BindAddress is ignored by o o i386/100420 i386 [boot] boot1/boot2 lba error o kern/100410 [bge] bge driver disables access to shared iLo on HP D o misc/100322 [tools] [patch] kerninclude.sh doesn't dump object nam o bin/100320 edwin [request] Update top(1) to 3.6 o kern/100290 yongari [rl] rl0: watchdog timeout [regression] p docs/100242 trhodes sysctl(3) description of KERN_PROC is not correct anym o kern/100219 bz [ip6] IPV6_PKTOPTIONS and possible mbuf exhaustion. o i386/100204 i386 FreeBSD reports raid as broken - but it is not o docs/100196 doc man login.conf does explain not "unlimited" s kern/100170 [request] Support login class in ldap directory o i386/100142 i386 [pci] [patch] /dev/smb0 device not available on system o misc/100133 [boot] keyhit function in boot2.c that falls into an i a bin/100089 [patch] ftp(1): default ftp application of FreeBSD giv o bin/100018 [patch] newsyslog(8) does not check size if time_at is o stand/100017 standards [Patch] Add fuser(1) functionality to fstat(1) o kern/99989 panic when detaching disks o kern/99979 [patch] Get Ready for Kernel Module in C++ s bin/99973 yar systat(1): systat -ifstat traffic counter overflow o kern/99954 scsi [ahc] reading from DVD failes on 6.x [regression] o bin/99896 gad [patch] lpr(1): lpr -r flag has no effect o kern/99850 [ar] ataraid hangs in g_waitidle when attaching to nVi o bin/99800 [libc] [patch] Add support for profiling multiple exec o kern/99765 drifting time, SuperMicro PDSMi Motherboard, "calcru n o kern/99758 [pty] [patch] chown/chmod pty slave side in kernel o conf/99721 rc [patch] /etc/rc.initdiskless problem copy dotfile in s o kern/99664 mountd and/or nfsd have to sometimes have to be restar o bin/99662 rpc.rquotad(8): quota information leak while rpc.rquot o kern/99652 [ata] nVidia nForce MCP51 controller hangs w/ 2 drives o misc/99643 linimon request to remove src/tools/tools/portsinfo because it o misc/99627 [build] [patch] make update & CVSROOT o i386/99608 i386 [atapicam] ATAPI or CAM crash on FreeBSD 6.1-stable wi o kern/99607 [pppd] pppd hangs kernel due to interrupt flood from s o kern/99567 [ata] Powerup of sleeping IDE drives causes system reb o bin/99566 jail [jail] [patch] fstat(1) according to specified jid o usb/99538 usb [keyboard] while using USB keyboard default params of o kern/99529 [amr] DELL PowerEdge 2600 with streamer PowerVault 100 o docs/99506 doc FreeBSD Handbook addition: IPv6 Server Settings o kern/99485 Disk IO Causes multimedia/mplayer To Drop Frames o conf/99444 rc [patch] Enhancement: rc.subr could easily support star o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar s kern/99421 [request] Option Globetrotter Fusion card not recogniz o kern/99408 [ppp] problems with ppp and arp a docs/99356 ru man page of sendmsg(2) does not include EINVAL o conf/99328 linimon [patch] updates for src/share/examples/cvsup o bin/99307 [patch] mount_nfs(8) incompatible with zVM VMNFS 3A0 o www/99305 bugmeister send-pr.html is frustrating/broken o kern/99290 fs [ntfs] mount_ntfs ignorant of cluster sizes o bin/99217 [patch] pam_ssh(8) waits for a wrong ssh-agent PID at o kern/99200 usb [bluetooth] SMP-Kernel crashes reliably when Bluetooth o kern/99188 andre [tcp] [patch] FIN in same packet as duplicate ACK is l o www/99184 wosch Viewing HP-UX manpages with http://www.freebsd.org/cgi o gnu/99173 [patch] replace gnu patch with a bsd-licensed one. o kern/99094 [linprocfs] panic: sleeping thread (Sleeping thread .. o kern/99088 [ata] Critical Problems with VIA 8251 SATA2/RAID Contr f kern/99068 [linux] [patch] Linux emulator crashed by java, when c o kern/99017 [ata] [patch] FreeBSD versions above 5.3 panic if atap o kern/98978 net [ipf] [patch] ipfilter drops OOW packets under 6.1-Rel o docs/98974 doc Missing tunables in loader(8) manpage o kern/98962 remko [ata] [burncd]: [patch] writing >1 session on ATAPI CD o i386/98932 i386 [i386] [patch] Kernel compilation failed on specific P o kern/98873 des [libfetch] allow fetch(3) to force using of ipv4 or ip o kern/98831 ipfw [ipfw] ipfw has UDP hickups o kern/98804 [ar] VIA V-RAID metadata mis-read (MSI K8MMV with the o www/98798 www Our statistics page is out of date o kern/98788 [syscons] [patch] Add sysctl to disallow VT_LOCKSWITCH o i386/98765 i386 [ata] timeouts on sata drive (Asus a7n8x-e) o docs/98759 doc [patch] sbp_targ(4) man page missing reference to devi o kern/98752 multimedia [sound] Intel ich6 82801 FB - on Packard Bell A8810 la o kern/98597 net [inet6] Bug in FreeBSD 6.1 IPv6 link-local DAD procedu o bin/98577 [patch] dhclient(8): the link check by dhclient slows o bin/98542 [pppd] pppd(8) daemon unexpectently died , Exit 1 o kern/98504 multimedia [sound] Sound is distorted with SB Live 5.1 o kern/98496 multimedia [sound] [snd_ich] some functions don't work in my soun o bin/98468 newsyslog(8): Value over 99 in newsyslog.conf count fi o kern/98460 [kernel] [patch] fpu_clean_state() cannot be disabled o kern/98388 [ata] FreeBSD 6.1 - WDC WD1200JS SATA II disks are see p misc/98383 yar [request] include the mt command in the rescue CD o i386/98366 i386 [em] Intel PRO/1000 MT Dual PCI-X: simulatenious 1000 f docs/98344 linimon [patch] An update of the article "Choosing the FreeBSD o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o bin/98220 wpa_supplicant(8) operation does not match documentati o bin/98218 net wpa_supplicant(8) blacklist not working o i386/98215 i386 [geode] [regression] FreeBSD can no longer boot Geode o kern/98167 multimedia [sound] [es137x] [patch] ES1370 mixer volumes incorrec s kern/98162 [request] AcerHK driver port needed for enabling WiFi o i386/98154 i386 6-STABLE crashes when being online via modem (Fujitsu o docs/98115 doc Missing parts after rendering handbook to RTF format o kern/98091 scottl [mfi] [patch] Makefile style of mfi kernel module brok o kern/98034 geom [geom] dereference of NULL pointer in acd_geom_detach p kern/98015 remko [bfe] [patch] bfe(4): double free in error handling pa o kern/97996 [ata] DMA is broken for VIA 82C596B UDMA66controller o kern/97951 ipfw [ipfw] [patch] ipfw does not tie interface details to a kern/97921 rwatson [socket] close() socket deadlocks blocked threads p conf/97697 matteo [patch] rc.conf - jail__exec_afterstart[0..n] o kern/97665 [sio] hang in sio driver o kern/97609 multimedia [sound] Load Sound Module - VIA8233 - fails o ports/97544 sumikawa patch for net/zebra's ospfd snmp o kern/97535 multimedia [sound] [snd_mss] doesn't work in 6.0-RELEASE and abov o kern/97517 [fdc] Floppy device lost permissions when active flopp o kern/97505 [procfs] file entry of procfs points to "unknown" o kern/97504 ipfw [ipfw] IPFW Rules bug s bin/97498 [request] newfs(8) has no option to clear the first 12 o bin/97478 umount(8): umount -f /card -> hardware-reset is needed o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 o java/97461 java Diablo JDK does not report Update level in a format su o kern/97401 [xe] Xircom CreditCard Ethernet 10/100, attach returne f bin/97392 net ppp(8) hangs instead terminating o kern/97383 acpi Volume buttons on IBM Thinkpad crash system with ACPI o kern/97381 [fdc] [patch] Patch to add zero-sector and spanned-sid o kern/97377 fs [ntfs] [patch] syntax cleanup for ntfs_ihash.c o amd64/97337 amd64 [dri] xorg reboots system if dri module is enabled o kern/97329 [nfs] [patch] code simplification o kern/97326 emulation [linux] file descriptor leakage in linux emulation o kern/97306 net [netgraph] NG_L2TP locks after connection with failed o i386/97287 i386 Screen Corruption In FreeBSD 6.X When Apps Started In s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. s kern/97266 [fdc] System hangs at kernel time after boot: /dev/fd0 o kern/97265 System hangs at the end of shutdown -h now o i386/97263 i386 [ata] FreeBSD only detects first drive on PDC20378 378 o kern/97208 firewire [firewire] System hangs / locks up when a firewire dis o usb/97175 usb [umass] [hang] USB cardreader hangs system o kern/97164 [libdisk] libdisk's Open_Disk() crashes o kern/97153 [patch] When -NO_KERBEROS is set, libcom_err still get o bin/97108 sysinstall(8): write failure on transfer (wrote -1 byt o bin/97083 [patch] passwd(1) does not support _PWF_HESIOD o i386/97025 i386 [vmware] fbsd (2 cd) dont install in vmware 5.5.0 - re o conf/97014 [gif] gifconfig_gif? in rc.conf does not recognize IPv o bin/97002 [patch] cron(8) fails quietly if /usr/sbin/sendmail is o kern/97000 [kernel] [patch] bogus "All threads purged from ugen0. o kern/96999 [procfs] [patch] procfs reports incorrect information o kern/96974 obrien [patch] to build FreeBSD kernel with binutils 2.16.92 a ports/96953 apache www/apache22 port uses its own directories o kern/96927 [loader] Loader(8) cause kernel death on "boot -a" [re o bin/96854 imp [patch] devd(8) parses events incorrectly in some case a bin/96840 [libc] [patch] getgrent() does not return large groups o conf/96746 [nanobsd] [patch] Configuration changes and README for f kern/96743 yongari [sk] [patch] broken 32-bit register operations o kern/96644 [panic] umount(8) crash after mount/umount disturbance o conf/96589 Periodic monthly invalid times with 32 character usern o bin/96540 [patch] catman(1) does not deal correctly with hard-li o kern/96538 multimedia [sound] emu10k1-driver inverts channels o usb/96457 usb [umass] [panic] fatback on umass = reboot o kern/96429 [kernel] [patch] kern_linker.c hardcodes "/boot/kernel f conf/96412 linimon [rpc] 2 rpc.lockds launched at boot ? blocking problem o i386/96406 i386 System freezes on IBM xSeries 335 with FreeBSD-6.0-REL f kern/96393 [libz] [patch] assembler implementations for libz on i o i386/96382 i386 [bge] In 6.1-RC1 the bge driver does not reliably work o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram o i386/96357 i386 FreeBSD cannot recognize all the logical partitions o kern/96346 [modules] [patch] disable build of modules that are al o conf/96343 rc [patch] rc.d order change to start inet6 before pf f i386/96302 gavin [ata] nVidia nForce CK804 SATA300 controller not recog f kern/96286 [cbb] [panic] TI1131 PCI CardBus Bridge: driver cbb le f kern/96268 net [socket] TCP socket performance drops by 3000% if pack o conf/96247 matteo [patch] 550.ipfwlimit reports logs even if log size is o stand/96236 standards [patch] [posix] sed(1) incorrectly describes a functio f i386/96225 gavin [boot] Toshiba M70-CL3 Hangs Up During Booting o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync o docs/96207 doc Comments of a sockaddr_un structure could confuse one o kern/96171 [ata] burncd (ATA driver) fails to write in vcd mode o kern/96157 Subtle incompatability of FreeBSD and LITE-ON SOHW-167 s usb/96120 usb [ums] [request] USB mouse not always detected o conf/96094 [gif] startup scripts do not configure gif interfaces o kern/96040 [mpt] LSI1030 mpt0: bullet missed in timeout o kern/96030 net [bfe] [patch] Install hangs with Broadcomm 440x NIC in o stand/96016 standards [headers] clock_getres et al should be in o conf/96015 uncommenting the msgs invocation in /etc/profile can f f bin/95979 obrien [patch] burncd(8) fails to fixate CDs o gnu/95936 egrep(1) misparses multiline parenthetical grouping o amd64/95888 amd64 [ata] kernel: ad2: TIMEOUT - WRITE_DMA retrying on HP p bin/95715 [patch] random(6) busy loop under some conditions o bin/95698 philip [patch] moused(8): Software control of sysmouse o bin/95692 gdb(1): GDB in base of both FreeBSD 6 and 5 is ancient o gnu/95691 GDB segfaults on my programme in both FreeBSD 6 and 5 o kern/95661 [pci] [patch] pci_pci still not correct for initializi s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb o kern/95559 RELENG_6: write(2) fails with EPERM on TCP socket unde o ports/95541 roam dns/djbdns WITH_IPV6 queries ip6.int o kern/95532 [gif] if_gif has artificial limitations o kern/95519 net [ral] ral0 could not map mbuf o kern/95512 [uplcom] uplcom(4) causes system hangups o kern/95459 Rebooting the system while rebuilding RAID (Intel Matr o docs/95408 remko install over serial console does not work as documente o kern/95407 [atapicam] atapicam, cd and /etc/rc.d/devfs problem o kern/95405 [libkvm] libkvm does not support /dev/fwmem0.0 in Free s usb/95348 usb [keyboard] USB keyboard unplug causes noise on screen o bin/95339 [libexec] [patch] rtld is thread-unsafe. fixes for dlo a kern/95307 vanhu [ipsec] Panic (race condition?) in ipsec_process_done o kern/95288 net [pppd] [tty] [panic] if_ppp panic in sys/kern/tty_subr o kern/95277 net [netinet] [patch] IP Encapsulation mask_match() return o kern/95267 net packet drops periodically appear o kern/95239 [libc] [patch] nftw(3) returns EINVAL for large values o kern/95222 fs [iso9660] File sections on ISO9660 level 3 CDs ignored f i386/95106 gavin [install] cannot install freebsd, Nvidia nForce 2 base o kern/95086 multimedia [sound] uaudio line in problem with sbdm lx s ports/95085 portmgr [PATCH]: bsd.port.mk: Add knob to allow for mutually e o kern/95084 ipfw [ipfw] [regression] [patch] IPFW2 ignores "recv/xmit/v o bin/95082 [patch] ping(8) won't handle large preload patterns o bin/95079 [patch] apply(1) dies when there are two %1 in command o usb/95037 usb [umass] USB disk not recognized on hot-plug. o bin/95002 [libc] hash db source code has a bug which prevents us o kern/94978 [pam] pam_opie module option without "no_fake_prompts" o ports/94935 cy security/aide: propose an AIDE_CONF knob for make.conf f i386/94911 gavin [ata] [regression] ata regression with DOM-IDE o kern/94898 [pcmcia] GPRS PCMCIA card cause interrupt storm and co o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk s bin/94892 [rpc] rpc.lockd does not interoperate with Solaris 10 s kern/94863 net [bge] [patch] hack to get bge(4) working on IBM e326m o kern/94849 fs [ufs] rename on UFS filesystem is not atomic o kern/94838 scsi Kernel panic while mounting SD card with lock switch o o kern/94830 [nfs] [patch] mount_nfs causes a fatal trap 18 if the a kern/94827 [libc] mmap with given (void *addr) may lock memory-ma o kern/94823 [drm] DRM doesnt't work with i915.ko o bin/94810 fsck(8) incorrectly reports 'file system marked clean' o kern/94772 [fifo] [patch] FIFOs (named pipes) + select() == broke o kern/94769 fs [ufs] Multiple file deletions on multi-snapshotted fil o bin/94750 watch(8) utility faults when tty disconnects o kern/94733 fs [smbfs] smbfs may cause double unlock o stand/94729 standards [libc] fcntl() throws undocumented ENOTTY o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o gnu/94695 bugmeister send-pr.el is missing from send-pr distribution o ports/94690 ume [patch] Daemons in /usr/local/etc/rc.d/ must do "setss o amd64/94677 amd64 [panic] panic in amd64 install at non-root user creati o kern/94669 pjd [vfs] [patch] Panic from Failed Removable Media Mount o bin/94635 snapinfo(8)/libufs only works for disk-backed filesyst o kern/94632 geom [geom] Kernel output resets input while GELI asks for o docs/94625 doc [patch] growfs man page -- document "panic: not enough o kern/94578 [panic] Panic by using rtorrent sometimes o bin/94546 [patch] Make telnet(1) accept 'host:port' on command l o kern/94528 [linprocfs] linprocfs /proc/memory reports wrong size o kern/94519 [libc] [patch] Add UF_HIDDEN file flag; map it to Wind f sparc/94483 sam [ath] ath_hal does not work on 6-release/sparc64 s threa/94467 threads send(), sendto() and sendmsg() are not correct in libc o kern/94424 [bge] BGE5721 or BGE5750? o www/94423 danger [patch] XML'ified release todo list f i386/94420 gavin FreeBSD does NOT support the pcChips M925 motherboard. o kern/94393 [ar] PseudoRAID loses track of the master disk s kern/94390 vwe [vr] poor network performance after promiscuous mode i o usb/94384 usb [panic] kernel panic with usb2 hardware o kern/94369 itetcu [bktr] [patch] Patch to support Leadtek WinFast Tv2000 o kern/94279 multimedia [sound] [snd_neomagic] snd_neomagic crashes on FreeBSD o kern/94273 gnn [ipsec] [patch] IPIP decapsulation problem in FAST_IPS o bin/94258 [rpc] O_NONBLOCK may block with rpc.lockd o kern/94256 dfr [nfs] nfs locking/rpc.lockd doesn't understand file de o bin/94252 [rpc] rpc.lockd cannot cancel lock requests o kern/94227 'no dump device defined' on random occasions s kern/94182 [altq] [request] altq support for vlan driver p bin/94181 ume portsnap(8) should remove the trailing dot from the se p bin/94180 ume portsnap(8) does not handle HTTP_PROXY_AUTH correctly o kern/94166 [boot] btx halted with a flashcard plugged o kern/94162 net [bge] 6.x kenel stale with bge(4) s bin/94159 [request] ipsecctl ported from openbsd o kern/94155 [ata] 6.1 CF reader problem: "ad1: FAILURE - SETFEATUR o kern/94139 scottl [amr] [regression] amr broken with LSILogic MegaRAID S o bin/94052 [patch] Adds option to script(1) to suppress carriage- o bin/94051 login(1): IP network in login.access ignored unless DN o bin/94032 portmgr [patch] Enhancement to pkg_add(1) to add -4 flag to fo o kern/93998 [libstand] [patch] panic in libstand when closing raw o kern/93986 multimedia [sound] Acer TravelMate 4652LMi pcm0 channel dead o amd64/93961 amd64 [busdma] Problem in bounce buffer handling in sys/amd6 o kern/93942 fs [vfs] [patch] panic: ufs_dirbad: bad dir (patch from D f i386/93923 i386 [ata] FreeBSD Install, Sil3112: Cannot dump. No dump d o conf/93899 mount_smbfs can't load libiconv.so during boot up o kern/93887 [kernel] cpu_spinwait calls missing in subr_smp.c o kern/93886 net [ath] Atheros/D-Link DWL-G650 long delay to associate o kern/93885 [ata] ata(4) failure: SETFEATURES SET TRANSFER MODE se o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB o bin/93857 [patch] new utility: kiconv_cs_preload(8): Utility for o www/93854 postmaster Cannot proceed to page after the first in mailing list o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o kern/93825 pf [pf] pf reply-to doesn't work o conf/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d o i386/93809 i386 panic: could not copy LDT on RELENG_5_3 through RELENG o i386/93793 i386 [keyboard] Keyboard stops working after a shutdown -p a kern/93790 cperciva cpufreq missing frequencies f i386/93787 gavin [hang] freebsd 6.0 hangs on atkbd0 on Proliant 1850r s o docs/93785 obrien The man page for ftpchroot(5)/ftpusers(5) contradicts o bin/93776 [crypto] [patch] SHA256_Update / SHA512_Update fail to o kern/93771 [ar] [panic] atacontrol status ar1 causes panic o kern/93770 [drm] ati 9600 PRO radeon not recognized by the system f i386/93762 gavin [hang] [loader] Machine lockup at boot loader countdow o i386/93752 i386 Cannot activate the serial ports on boot probe. BIOS o o kern/93750 [ips] Boot hangs on ips0: resetting adapter, this may o kern/93705 standards [headers] [patch] ENODATA and EGREGIOUS (for glibc com o kern/93685 [pipe] select on pipe write fails from '0' end o docs/93683 chinsan [patch] some typos in klist(1) o misc/93661 [patch] loader(8): prevent *.4th files and friends fro o kern/93634 vwe [msdosfs] False access to renamed files/directories (c o gnu/93629 GNU sort(1) tool dumps core within non-regular locale f i386/93615 gavin [install] Operating system wont install. Problem with o gnu/93566 [patch] sort(1): numeric sort is broken on multi-byte a ports/93560 roam [patch] dns/djbdns-ipv6: Update IPv6 patches o sparc/93530 pf [pf] Incorrect checksums when using pf's route-to on s o bin/93473 des [patch] Let pam_unix(8) use "passwordtime" from login. o kern/93461 [smp] [regression] Intel 440LX SMP freeze (regression o kern/93396 dlopen crash with locked page o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o kern/93381 reboot(8) works but 'reboot -n' hangs f kern/93378 net [tcp] Slow data transfer in Postfix and Cyrus IMAP (wo o misc/93341 phk [nanobsd] [patch] make more flexibitily for NanoBSD cu o kern/93331 [kernel] [patch] broken asm in kernel o bin/93317 ld-elf.so doesn't translate unresolved weak symbol int o bin/93310 des [libpam] [patch] pam_unix ignores 'passwordtime' from o bin/93309 [rpc.quotad] [patch] rpc.rquotad: group quota support o kern/93305 Machine freezes solid running dhcpclient after suspend o kern/93300 ipfw [ipfw] ipfw pipe lost packets o ports/93279 skv devel/cvsmonitor: not useable (/dev/mem: Permission de o bin/93275 sysinstall(8): Failure to install after restarting ins o power/93203 ppc FreeBSD PPC Can't Write to Partitions. o kern/93197 [libc] strptime(3) succeeds on formats it should fail o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w o kern/93128 scottl [sym] FreeBSD 6.1 BETA 1 has problems with Symbios/LSI o gnu/93127 [patch] add __FreeBSD_kernel__ to pre-defines o kern/93093 [libc] xdr_string might call strlen(3) on NULL o kern/93019 net [ppp] ppp and tunX problems: no traffic after restarti o kern/92949 pf [pf] PF + ALTQ problems with latency o kern/92880 net [libc] [patch] almost rewritten inet_network(3) functi o bin/92866 portmgr pkg_add(1) should return a different result code if pa o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o kern/92798 scsi [ahc] SCSI problem with timeouts o kern/92795 [panic] lockmgr panic during sys_exit file cleanup o kern/92786 [ata] [patch] ATA fixes, write support for LSI v3 RAID o kern/92751 [reboot] camcontrol(8): 5.4 crashes after camcontrol d o kern/92716 [hifn] [hang] hifn driver hangs after a short while wh o kern/92690 silby [tcp] slowstart_flightsize ignored in 6-STABLE o kern/92675 yongari [fxp] [patch] fxp(4) unable to recover from occasional o ports/92651 stas graphics/gmt - WITH_EVERYTHING doesn't fetch o docs/92626 doc jail manpage should mention disabling some periodic sc f kern/92552 net A serious bug in most network drivers from 5.X to 6.X o conf/92523 rc [patch] allow rc scripts to kill process after a timeo o kern/92518 [hptmv] Intense disk activity (large FS newfs and/or m o kern/92512 multimedia [sound] distorted mono output with emu10k1 o kern/92440 mbr Kernel fault in knote when getty opens a serial port s ports/92434 portmgr [patch] Mk/bsd.port.mk automatic show pkg-message o kern/92412 [libexec] [patch] rpc.rstatd reports bogus packets/per o stand/92362 standards [headers] [patch] Missing SIGPOLL in kernel headers o amd64/92337 amd64 [em] FreeBSD 6.0 Release Intel Pro 1000 MT em1 no buff s kern/92279 net [dc] Core faults everytime I reboot, possible NIC issu o kern/92272 fs [ffs] [hang] Filling a filesystem while creating a sna o kern/92270 glebius [ppp]: ppp does not work on renamed network interfaces o kern/92238 [ata] [patch] Spurious "atapci1: failed to enable memo o i386/92193 i386 [boot] Can't boot from 6.0 Installation CD: BTX halted o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o kern/92164 scottl [ips] [lor] SCSI target mode LOR o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o kern/92104 des [panic] kernel panic near readlink syscall o kern/92092 [iicbus] [patch] Panic if device with iicbus child is o kern/92090 net [bge] bge0: watchdog timeout -- resetting o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o bin/92062 phk mdconfig(8): mdconfig -l shows 95 entries max. o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o kern/92023 [kernel] 'options DEVICE_POLLING' makes loadavg wrong o bin/91993 sam dhclient(8) option missing, script incompability o kern/91954 [libpam] [patch] Proposed enhancement for pam_krb5: "o o kern/91910 scottl [aac] [regression] aac driver hangs on Dell PE800 with o kern/91908 darrenr [ipnat] loading ipl.ko to the kernel compiled with opt o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg o usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o i386/91871 i386 [boot1] [patch] boot1: jump to 0xf000:0xfff0 instead o o kern/91859 net [ndis] if_ndis does not work with Asus WL-138 o kern/91847 ipfw [ipfw] ipfw with vlanX as the device o ports/91838 danfe graphics/svgalib: tty switching is broken o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " s kern/91777 net [ipf] [patch] wrong behaviour with skip rule inside an s i386/91748 acpi acpi problem on Acer TravelMare 4652LMi (nvidia panic, o i386/91745 i386 [smp] Second processor not detected on Proliant ML530 o conf/91732 [patch] 800.loginfail: fix log message grep expression o kern/91719 [pxeboot] BZ2_bzDecompress returned -3 error on loadin o usb/91629 usb [usb] usbd_abort_pipe() may result in infinite loop o bin/91606 sha1(1): sha1 /dev is suspended o kern/91594 net [em] FreeBSD > 5.4 w/ACPI fails to detect Intel Pro/10 o kern/91572 [atapicam] [panic] writing to UFS/softupdates DVD medi f kern/91568 fs [ufs] [panic] writing to UFS/softupdates DVD media in o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o www/91539 www FreeBSD web site renders very badly o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o bin/91536 burncd(8): burncd -t feature strangeness o docs/91506 doc ndis(4) man page should be more specific about support f kern/91476 gavin [fdc] [patch] floppy drive doesn't work in MS Virtual o kern/91414 emaste [kernel] [patch] Polling for devices other than NICs o kern/91407 [crypto] [panic] Kernel panic when heavily loading cry o amd64/91405 amd64 [asr] [panic] Kernel panic caused by asr on 6.0-amd64 o bin/91393 window(1) changes console cursor shape to blink o kern/91364 net [ral] [wep] WF-511 RT2500 Card PCI and WEP o kern/91347 rodrigc [pci] [patch] Add another PCI-e chipset for extended c o conf/91342 [devfs] Errors in devfs.rules files don't get logged o kern/91339 [psm] mousedriver do not recognize aditional buttons o o kern/91311 net [aue] aue interface hanging o bin/91299 yar [patch] add ftpd(8) SITE SHA256 command p kern/91293 delphij [svr4] [patch] *Experimental* Update to the SVR4 emula s kern/91290 [ata] ata(4) error on 7.0-CURRENT-20051229-SNAP-PC98 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o docs/91174 doc [REQUEST] Handbook: Addition of Oracle 9i installation o docs/91149 doc read(2) can return EINVAL for unaligned access to bloc o kern/91134 fs [smbfs] [patch] Preserve access and modification time f conf/91106 i18n [locale] date definitions in pl_PL locale are wrong o bin/91101 edwin [patch] whereis(1): make more readable s kern/91038 acpi [panic] [ata] [acpi] 6.0-RELEASE on Fujitsu Siemens Am o bin/91034 [patch] minor fix to iostat(8) so that columns line up o kern/91023 [sysctl] cpufreq/p4tcc: sysctl: dev.cpu.0.freq: Device o kern/90973 thompsa [net] [patch] if_bridge does not handle arp for own ad o kern/90890 net [vr] Problems with network: vr0: tx shutdown timeout o kern/90837 [sound] PCM - ICH6 - device is busy, but old process d a kern/90815 fs [smbfs] [patch] SMBFS with character conversions somet o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o bin/90690 [patch] ps(1) errorneously respects terminal column se o bin/90687 avg [patch] side effect of -delete option of find(1) o bin/90680 [patch] make(1) thinks "^.for.o:" is a directive (".fo o bin/90656 sysinstall(8): 6.0-RELEASE (i386) cannot be installed o kern/90582 geom [geom] [panic] Restore cause panic string (ffs_blkfree o kern/90580 [libc] wordexp(3) fails to check for EINTR o bin/90524 reset(1) doesn't fully restore terminal state o kern/90442 [panic] kmem_alloc fails kmem_map: too small, on a RAI o ports/90436 portmgr [patch] Add a way to handle configuration files to bsd o bin/90384 [patch] chroot patch for sftp-server(8) o kern/90368 [pxeboot] pxeboot misses ${class} parameter when booti s bin/90367 [request] libmap.conf needs exclusivity support o bin/90311 [patch] add "eject" to mt(1) o kern/90282 scsi [sym] SCSI bus resets cause loss of ch device o bin/90266 philip bsnmpd(1) returns bad data during a snmpwalk of the en s kern/90243 acpi Laptop fan doesn't turn off (ACPI enabled) (Packard Be o kern/90237 [drm] [panic] panic in sis DRM o kern/90206 [ata] [reboot] Server reboot after "FAILURE - out of m a conf/90163 dougb [patch] Easily launch non-forking daemons like logsurf o bin/90130 [patch] sysctl(8): print temperature in celsius only w o bin/90114 [patch] pw(8) takes strings after option -g for GID 0 o bin/90093 geom fdisk(8) incapable of altering in-core geometry s kern/90086 net [hang] 5.4p8 on supermicro P8SCT hangs during boot if s bin/90082 matteo [syscons] [patch] curses ACS line graphics support for o kern/89991 fs [ufs] softupdates with mount -ur causes fs UNREFS f kern/89989 bz [jail] [patch] Add option -I (ASCII 73) PID to specif o bin/89988 [patch] bootparamd(8) null host support and whoami fix p kern/89966 rodrigc [ntfs] [panic] mounting ntfs causes kernel panic in so o bin/89959 brooks dhclient(8): dhcp: ip length 314 disagrees with bytes o usb/89954 usb [umass] [panic] USB Disk driver race condition? o conf/89870 rc [patch] [request] make netif verbose rc.conf toggle o kern/89837 [pci] PCI code outputs superfluous "failed to enable/d o bin/89799 [patch] Making natd(8) not require a newline at the en o kern/89775 [kqueue] [hang] kevent hangs on second wait for /dev/d o bin/89770 des [patch] pam_krb5 'authentication token failure' in pas o bin/89762 edwin [patch] top(1) startup is very slow on system with man f kern/89752 dwmalone [bpf] [patch] bpf_validate() needs to do more checks f kern/89738 [ndis] [hang] Can't make WL8000PCM wifi card work with a kern/89660 geom [vinum] [patch] [panic] due to g_malloc returning null a conf/89589 secteam virecover follows hardlinks, possibly exposing sensiti o kern/89553 [bktr] [patch] going from 5.3 -> 6.0 winTV card not pr o kern/89546 geom [geom] GEOM error o kern/89522 6.0-RELEASE will not boot on some Compaqs with mouse c o amd64/89501 amd64 [install] System crashes on install using ftp on local o docs/89492 attilio vfs doc: some VOP_*(9) manual pages are outdated with o ports/89441 hrs TeX support in FreeBSD is problematic. o bin/89410 [patch] sh(1) missing \u interpolation and bug/fix in o bin/89403 fetch(1) doesn't honour authentication credentials whe o kern/89396 [reboot] remounting cdrom causes reboot o bin/89326 [patch] Add pattern matching to login.access(5) p docs/89325 trhodes [patch] Clarification of kbdmap(5), atkbd(4) and kbdco s kern/89305 vwe [vr] [patch] D-Link NIC with VIA Rhine II, lost of Net s kern/89271 [radeon] [agp] [hang] X.org hangs when heavily using R o kern/89258 [mouse] synaptic touchpad support "worse" with hw.psm. o i386/89249 [ataraid] HighPoint RocketRAID 1520 (HPT372N) can't wr o kern/89179 Random reboots on Dell PowerEdge 6300 o kern/89166 [mouse] jumpy mouse movement o kern/89070 [panic] NULL m passed to m_copym() in ip_fragment() o conf/89061 rc [patch] IPv6 6to4 auto-configuration enhancement s usb/89003 usb [request] LaCie Firewire drive not properly supported o kern/88962 [panic] Kernel panic with ACPI is enabled f i386/88929 i386 [ata] FreeBSD 6.0 install CD fails to find disks on So o kern/88914 [hang] system freeze during file transfer o conf/88913 rc [patch] wrapper support for rc.subr o bin/88826 randi sysinstall(8): sysinstall infinity wait for da0 o bin/88821 pjd [patch] IPv6 support for ggated(8) o amd64/88790 amd64 [panic] kernel panic on first boot (after the FreeBSD o bin/88780 [patch] Baseline ipmon(8) uses LOG_LOCAL0 syslog, not s i386/88755 i386 [install] FreeBSD R6.0 on ThinkPad R40 installation re o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg o misc/88680 [build] !compiling freebsd components o kern/88659 ipfw [modules] ipfw and ip6fw do not work properly as modul o kern/88657 fs [smbfs] windows client hang when browsing a samba shar o bin/88655 [patch] tcsh(1): /bin/tcsh ls-F : Floating exception ( o kern/88601 geom [geli] geli cause kernel panic under heavy disk usage o bin/88599 ifconfig(8): change in default behavior with ifconfig o amd64/88568 amd64 [panic] 6.0-RELEASE install cd does not boot with usb o kern/88555 [panic] ffs_blkfree: freeing free frag on AMD 64 a bin/88538 [patch] tcsh(1) ls-F spacing incorrect. o bin/88524 openssl(1) can not work with smtp.gmail.com o kern/88518 rodrigc cannot mount root rw at boot o docs/88512 doc [patch] mount_ext2fs(8) man page has no details on lar s i386/88491 i386 [install] Panic when boot installation CD1 (Acer Trave o kern/88487 [panic] softdep_setup_inomapdep: found inode o kern/88450 andre SYN+ACK reports strange size of window o usb/88408 usb [axe] axe0 read PHY failed o kern/88336 vanhu [ipsec] [patch] setkey(8) -D fails to report all SAs o kern/88320 [nis] ypxfr(8) talks IPv6 to IPv4-only portmap -> ypin o kern/88266 fs [smbfs] smbfs does not implement UIO_NOCOPY and sendfi o bin/88215 [patch] syslogd(8) does not pass cleanly parameters to o kern/88182 [ural] [wep] wep is broken in ural(4) hostap mode o kern/88150 des [pam] PAM does not search /usr/local/lib for modules s i386/88139 i386 [i386] [request] 53C875 Chipset HP 5064-6016 doesn't w o gnu/88087 c++filt(1) dumps core on a trivial string "STYLEPROP_" f kern/88082 net [ath] [panic] cts protection for ath0 causes panic o bin/88056 [patch] [request] cp(1) could really use Linux's -x op o kern/88047 [asr] [panic] 6.0-RC1 reboots with SMP and asr o kern/88045 jhb [nve] [patch] 6.0rc1: nve0: device timeout (51) o kern/88020 cannot boot unless: hint.apic.0.disabled="1" is set on o kern/87990 [kernel] [patch] SMP Race Condition in kdb_enter/kdb_e o bin/87966 [patch] newfs(8): introduce -A flag for newfs to enabl o docs/87936 doc Handbook chapter on NIS/YP lacks good information on a o conf/87925 [patch] [request] modify output of 405.status_ata_raid o kern/87859 fs [smbfs] System reboot while umount smbfs. o docs/87857 doc ifconfig(8) wireless options order matters p bin/87841 murray fetch(1) should have options to set http "if-modified- o kern/87836 [devfs] If using ATAPICAM with cd(dvd)rw without media o bin/87792 [patch] very bad performance of cp(1) via NFS, possibl o kern/87782 multimedia [sound] snd_t4dwave and pcm0:record:0: record interrup o kern/87729 phk [libc] [patch] most calls to malloc(3) generate warnin o bin/87726 dfr gssapi.h is not c++ aware o amd64/87689 amd64 [powerd] [hang] powerd hangs SMP Opteron 244 5-STABLE s kern/87653 [drm] ATI Radeon Mobile X600SE not detected by kernel o bin/87651 [patch] fsck(8) (on superblock error) tells wrong man o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o kern/87586 [diskless] [vm] [panic] Unable to use networked swap i o kern/87544 geom [gbde] mmaping large files on a gbde filesystem deadlo s bin/87529 [request] pw(8): "pw lock", "pw unlock" should support o kern/87521 net [ipf] [panic] using ipfilter "auth" keyword leads to k o kern/87515 Splash screen fails to load on boot o kern/87506 net [vr] [patch] Fix alias support on vr interfaces o kern/87421 [netgraph] [panic]: ng_ether + ng_eiface + if_bridge s ports/87420 portmgr [patch] bsd.port.mk: implementing WITH_OPENLDAP_VER to o ports/87397 edwin incorrect use of PAPERSIZE make variable in some ports f kern/87368 bde [msdosfs] fat32 is very slow 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 o usb/87224 usb [usb] Cannot mount USB Zip750 p conf/87196 matteo human readable disk free in daily output run o www/87119 hrs [patch] encode copyright and such symbolically s kern/87094 5.4 system with SMP and IPFW crashes under load (mbuf o kern/87074 mlaier pf does not log dropped packets when max-* stateful tr o kern/87032 ipfw [ipfw] [patch] ipfw ioctl interface implementation o bin/87022 telnet(1) hang in ptcout o kern/87010 pjd Reading kernel memory & pagefault under non-root o kern/86957 ipfw [ipfw] [patch] ipfw mac logging o kern/86944 [nfs] [patch] When I use FreeBSD with NFS client, clos s kern/86920 net [ndis] ifconfig: SIOCS80211: Invalid argument [regress o i386/86880 i386 [hang] 6.0 hangs or reboots whilst 5.4 is stable (ASUS o kern/86871 allocation logic for PCBs in TIME_WAIT state causes pa o bin/86859 kensmith sysinstall(8): Installer should ask about Linux earlie o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o bin/86765 bsdlabel(8) assigning wrong fs type. o kern/86763 [ucom] kernel: ucom0: ucomwritecb: IOERROR a kern/86752 mlaier pf does not use default timeouts when reloading config o bin/86665 randi sysinstall(8): sysinstall binary upgrade clobbers name o bin/86635 pf [patch] pfctl(8): allow new page character (^L) in pf. o kern/86619 [linux] linux emulator interacts oddly with cp o bin/86600 matteo sysinstall(8): Sysinstall boot manager screen is misle o kern/86587 fs [msdosfs] rm -r /PATH fails with lots of small files o bin/86485 [patch] hexdump(1): hexdump -s speedup on /dev a stand/86484 standards [patch] mkfifo(1) uses wrong permissions o bin/86454 sysinstall(8): sysinstall terminates with signal 10 if p kern/86437 andre tcp_input.c and tcp_sack.c refer to obsolete ICPM_BAND o kern/86427 gnn [lor] Deadlock with FASTIPSEC and nat o kern/86411 scottl [amr] Very low performance of amr(4) under FreeBSD-6.0 o bin/86405 more(1) segmentation fault s ports/86401 stas new ports multimedia/zapping o bin/86388 [patch] periodic(8) daily should backup bsdlabel(8) / o docs/86342 doc bikeshed entry of Handbook is wrong s kern/86319 [nfs] [request] support a "noac" NFS mount flag to tur o usb/86298 usb [mouse] Known good USB mouse won't work with correct s o kern/86290 jeff [kernel] [patch] minor optimizations + cleanup to vrel o ia64/86218 ia64 Mozilla / Firefox: regxpcom or regchrome broken on ia6 o kern/86103 net [ipf] Illegal NAT Traversal in IPFilter o kern/86055 FreeBSD 6.0 beta4 install panic:bio already on queue o bin/86012 kpasswd(1) fails if one of the KDC are unreachable. o kern/86003 Startup reports "failed to attach P_CNT" s kern/85975 [cam] devfs does not create entries when removable med o kern/85971 jeff [uma] [patch] minor optimization to uma o kern/85931 panic: "vm_fault: fault on nofault entry" when using m o gnu/85895 [patch] cc -print-search-dirs returns (null) o kern/85894 [nfs] [panic] nfs_timer / nfs_socket.c:1146 panic o kern/85886 [an] [patch] an0: timeouts with Cisco 350 minipci o gnu/85824 obrien gas crashes when assembling this file o conf/85819 rc [patch] script allowing multiuser mode in spite of fsc o kern/85816 maxproc=1 in login.conf causes kernel panic when loggi o kern/85813 timeout waiting for read DRQTrying to mount root from o kern/85809 darrenr panic: mutex "ipf state entry" already initialized o kern/85780 net 'panic: bogus refcnt 0' in routing/ipv6 o kern/85768 gibbs [ahd] aic79xx driver timeouts with U160 target (free l o kern/85751 [devfs] [panic] panic in devfs_setattr() when running o bin/85712 uncompress(1) program emits bogus "overwrite?" prompt o ports/85707 nork port www/linuxpluginwrapper makes mozilla coredump s kern/85658 jeff [sched_ule] [patch] add DDB command, show runq, to sch o kern/85657 [kernel] [patch] capture and expose per-CPU time accou o i386/85656 i386 [i386] [patch] expose more i386 specific CPU informati o i386/85655 i386 [i386] [patch] expose cpu info for i386 systems o i386/85653 i386 [i386] [patch] relieve hangs in tight loops in process o i386/85652 i386 [loader] [patch] deal with out-of-memory errors during o kern/85651 [kernel] [patch] debugging code to show entries in eve o kern/85650 [libstand] [patch] modifications to tftp-based PXE boo o bin/85494 fsck_ffs: unchecked use of cg_inosused macro etc. o kern/85493 imp [ed] [patch] OLDCARD can't probe ed driver o kern/85464 Cannot unmount file-backed disk imported from NFS or S o kern/85450 [ata] [panic] subdisk6 detached (appears to be a sata o bin/85445 net ifconfig(8): deprecated keyword to ifconfig inoperativ s kern/85444 vwe [stf] IPv6 crash, possibly related to destroying stf i o i386/85423 i386 [ex] ex(4) does not correctly recognize NIC in PnP mod o i386/85417 i386 [i386] [npx] [patch] Possible bug in ia32 floating-poi o alpha/85346 alpha PREEMPTION causes unstability in Alpha4000 SMP kernel o kern/85326 fs [smbfs] [panic] saving a file via samba to an overquot p kern/85320 gonzo [gre] [patch] possible depletion of kernel stack in ip s amd64/85273 amd64 [install] FreeBSD (NetBSD or OpenBSD) not install on l o kern/85266 net [xe] [patch] xe(4) driver does not recognise Xircom XE o kern/85258 mux [fxp] changing promisc mode on nic can lead to kernel o kern/85257 [boot] BTX boot loader fails on USB CDROM (HP DL145 Op o kern/85137 des [pseudofs] [patch] panic due to sleep with held mutex o docs/85128 doc [patch] loader.conf(5) autoboot_delay incompletly desc o kern/85123 [iir] Improper serialization in iir_ioctl() allows iir o bin/85115 byacc generates uncompileable file p stand/85099 remko POSIX violation in split(1) o kern/85086 wkoszek [ef] [patch] Locking fixes for ef(4) (+removes mem. le s i386/85072 i386 [psm] ps/2 Mouse detection failure on compaq chipset s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device o bin/85011 restore(8) on 5.4 will not read Solaris-sparc dumps, w o kern/84981 [headers] [patch] header protection for with aroun p kern/78179 alc [vm] [patch] bus_dmamem_alloc() with BUS_DMA_NOWAIT ca o bin/78170 [patch] Fix signal handler in bootpd(8) o bin/78131 geom gbde(8) "destroy" not working. o kern/78114 phk [geom] [patch] Solaris/x86 label structures for GEOM ( o kern/78090 net [ipf] ipf filtering on bridged packets doesn't work if o bin/78087 groups(1) program inconsistency o kern/78021 sem_open(3) doesn't mention fnctl.h include requiremen p kern/77913 net [wi] [patch] Add the APDL-325 WLAN pccard to wi(4) o kern/77902 [nfs] NFS client should use VA_UTIMES_NULL to determin o kern/77826 fs [ext2fs] ext2fs usb filesystem will not mount RW o conf/77663 rc Suggestion: add /etc/rc.d/addnetswap after addcritremo o kern/77662 diskless hostname set via DHCP only if ACPI off o bin/77651 init(8) can loose shutdown related signals o kern/77493 [pipe] freebsd 5.3 + bash process substitution fails d o bin/77445 ntpd(8): too many recvbufs(40) when ntpd started with o kern/77355 [i386] [patch] Detect i*86 subarches for uname o kern/77341 net [ip6] problems with IPV6 implementation o usb/77294 usb [ucom] [panic] ucom + ulpcom panic o kern/77273 net [ipf] ipfilter breaks ipv6 statefull filtering on 5.3 o bin/77261 login(1) doesn't chdir into a group-protected home dir s kern/77195 net [ipf] [patch] ipfilter ioctl SIOCGNATL does not match o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect, o kern/77181 mckusick [newfs] [patch] newfs -g largevalue, mkdir, panic o kern/77156 FreeBSD does not redirect packets on proper interface. o kern/77091 [keyboard] Keyboard quits working under X with MAXCONS o bin/77089 natd(8) ignores -u with passive FTP s bin/77082 portmgr pkg_install(1) - Add 3 new macros to clean pkg-plist o bin/77031 [patch] comm(1) unable to handle lines greater than LI o bin/77001 randi sysinstall(8): sysinstall binary upgrade clobbers /etc o kern/76972 64-bit integer overflow computing user cpu time in cal o kern/76950 acpi ACPI wrongly blacklisted on Micron ClientPro 766Xi sys o i386/76944 i386 [busdma] [patch] i386 bus_dmamap_create() bug o kern/76893 [cam] [patch] Fatal divide in booting processes with B o kern/76848 [amr] amr hangs o bin/76756 des function pw_equal in pw_util.c does not test pw_passwd o bin/76736 dwmalone syslogd(8) pipelines losing messages o usb/76732 usb [ums] Mouse problems with USB KVM Switch o bin/76711 [patch] rm(1): parse error in rm.c:check() while parsi o bin/76697 edwin newsyslog(8) keeps one more archive files than documen s threa/76694 threads fork cause hang in dup()/close() function in child (-l s threa/76690 threads fork hang in child for -lc_r o kern/76678 dfr [libpam] [patch] Allow pam_krb5 to authenticate no loc f kern/76663 gnn panic with FAST_IPSEC and IPv6 o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o conf/76626 [patch] 460.status-mail-rejects shows destination doma o bin/76590 adding -mapall in nfs exports requires reboot o bin/76588 openssl(1) fails on loading keyfiles from BIO resource o kern/76539 [dummynet] [patch] ipnat + dummynet on output on same o kern/76525 [fifo] select() hangs on EOF from named pipe (FIFO) s kern/76520 [libiconv] [patch] Add new kernel-side libiconv conver o kern/76504 silby Keep-alives doesn't work on half-closed sockets. s conf/76491 Addition into /etc/security few new functions o kern/76485 [libc] sched_getparam(2) returns weird priority number o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o kern/76398 [libc] stdio can lose data in the presence of signals o usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0 o bin/76362 [patch] sys directory link points to wrong location p docs/76333 trhodes [patch] ferror(3): EOF indicator can be cleared by not o conf/76226 Default local.9600 gettytab initially uses parity o kern/76178 scsi [ahd] Problem with ahd and large SCSI Raid system o gnu/76169 [patch] Add PAM support to cvs pserver o kern/76144 [fifo] poll doesn't set POLLHUP when FIFO is closed o amd64/76136 amd64 [hang] system halts before reboot o bin/76134 fetch(1) doesn't like 401 errors with -A o kern/76126 [nfs] [patch] 4.11 client will send a NFS request to r o kern/75934 [libcrypt] [patch] missing blowfish functionality in p s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o i386/75887 i386 [pcvt] with vt0.disabled=0 and PCVT in kernel video/ke o kern/75873 net Usability problem with non-RFC-compliant IP spoof prot o kern/75855 adrian [libc] getpwent(3) functions on 5.3 with large passwor o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75797 usb [sound] [regression] 5.3-STABLE(2005 1/4) detect USB h s bin/75767 [libc] [request] "fdclose" function in libc o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o docs/75711 keramida [patch] opendir(3) missing ERRORS section o kern/75710 [cue] cue0 device configuration causes kernel panic o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) s kern/75407 net [an] an(4): no carrier after short time o bin/75378 login(1): login/wtmp/utmp not updating properly o threa/75374 threads pthread_kill() ignores SA_SIGINFO flag o bin/75362 mount_smbfs(8) No buffer space available o threa/75273 threads FBSD 5.3 libpthread (KSE) bug o bin/75258 [patch] dd(1) has not async signal safe interrupt hand o kern/75249 [boot] 5.x install CD hangs on VirtualPC Version 7 (Ma s kern/75233 [fdc] breaking fdformat /dev/fd0 resets device permiss o bin/75177 philip Bug selecting psm operation level in moused(8) o kern/75157 Cannot print to /dev/lpt0 with HP Laserjet 1005 : Devi o conf/75137 jhb [sound] add snd_* modules support to /etc/rc.d/mixer o kern/75132 jhb [puc] [patch] add support for the Davicom 56PDV PCI Mo o kern/75122 silby [netinet] [patch] Incorrect inflight bandwidth calcula o kern/75121 Wrong behaviour of IFF_LINK2 bit in 6in6 gifs? s kern/74986 jfv [patch] sysctlize a parameter of if_em's interrupt mod o kern/74827 [fdc] Problem writing data to floppies a kern/74809 [modules] [panic] smbfs panic if multiply mounted o bin/74801 cpio(1) -p --sparse creates truncated files o kern/74786 [irq] [patch] Smartlink Modem causes interrupt storm o o bin/74779 Background-fsck checks one filesystem twice and omits o usb/74771 usb [umass] [hang] mounting write-protected umass device a o amd64/74747 amd64 [panic] System panic on shutdown when process will not s kern/74708 [umapfs] [panic] UMAPFS kernel panic o gnu/74654 libsupc++.a lacks necessary functions o kern/74627 scsi [ahc] [hang] Adaptec 2940U2W Can't boot 5.3 o conf/74610 Hostname resolution failure causes firewall rules to s o gnu/74531 gcc doesn't link correctly if -pg specified s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o kern/74450 [libalias] [patch] enable libalias/natd to create skip a bin/74387 mount(8) linprocfs can be mounted on top of itself man o bin/74360 [patch] ndiscvt(8) generates a driver which doesn't ma s kern/74352 NFSCLIENT and booting to an mfsroot via TFTP are mutua f kern/74314 bz [resolver] [jail] DNS resolver broken under certain ja o kern/74281 [digi] digi(4): Digiboard PCI Xem (64-ports) detection s kern/74242 rwatson Write to fifo with no reader fails in 6.0 current o kern/74238 firewire [firewire] fw_rcv: unknown response; firewire ad-hoc w o conf/74213 darrenr [patch] Connect src/etc/periodic/security/610.ipf6deni o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o bin/74178 [patch] grdc(6) - scrolling does not work and "AM"/"PM o i386/74153 i386 [pst] FreeBSD 5.3 cannot boot ftom pst o bin/74127 [patch] patch(1) may misapply hunks with too little co o kern/74104 ipfw [ipfw] ipfw2/1 conflict not detected or reported, manp o i386/74044 gavin [smb] ServerWorks OSB4 SMBus interface does not detect o i386/74008 i386 [boot] IBM eServer x225 cannot boot any v5.x - endless o conf/74004 [patch] add fam support to inetd.conf o kern/73961 [fdc] floppy disk drive performance problem [new in 5. o i386/73921 i386 [sysctl] [patch] sysctlbyname for machdep.tsc_freq doe o kern/73910 ipfw [ipfw] serious bug on forwarding of packets after NAT o bin/73884 Add NetBSD's rawrite32 to install tools s kern/73823 acpi [request] acpi / power-on by timer support o conf/73786 [patch] added WARNING in spanish to stable-supfile o kern/73777 emulation [linux] [patch] linux emulation: root dir special hand o kern/73744 [lpt] printing via cups causes "Interrupt storm" warni f kern/73740 [ata] [panic] 5-3-R#3 panic when accessing nfs exporte o conf/73677 rc [patch] add support for powernow states to power_profi o bin/73617 sysinstall(8): fdisk editor unmarks active partition f bin/73559 linimon burncd(8) failure closing/fixating DVD-+R/CD-R/CD-RW N s www/73551 www [request] fix list archive 'quoted-printable' corrupti o www/73549 brd [request] fix mail list archive navigation difficulty f kern/73538 net [bge] problem with the Broadcom BCM5788 Gigabit Ethern o gnu/73512 marcel gdb -> Abort trap (core dumped) o bin/73511 sysinstall(8): SCSI drive install failure - RC2 s kern/73496 [request] A more flexible version of mkstemp() s kern/73492 [request] Reliable Temporary Files o kern/73484 fs [ntfs] Kernel panic when doing `ls` from the client si o bin/73422 portmap forks ad infinitum when the NIS domain name is s bin/73411 [request] ftpd(8) could set attributes to 0600 while u o bin/73410 sysinstall(8): Sysinstall could not allocate disklabel o conf/73337 [nsswitch.conf] [patch] potential invalid free o kern/73328 edwin [patch] top(1) shows NICE as -111 on processes started o kern/73313 simokawa [firewire] Maxtor Onetouch drivers hang or corrupt dat o usb/73307 usb [panic] Kernel panics on USB disconnect o kern/73289 [sym] Interrupt storm on sym0 o bin/73261 Suspending su(1) sometimes hangs s kern/73177 geom kldload geom_* causes panic due to memory exhaustion o kern/73171 imp fwohci driver stating cardbus firewire card has incorr o bin/73019 fs [ufs] fsck_ufs(8) cannot alloc 607016868 bytes for ino o kern/73004 [loader] [patch] PXE loader malfunction in multiple PX f kern/72995 multimedia [sound] Intel ICH2 (82801BA) - sound nearly inaudible o kern/72987 ipfw [ipfw] ipfw/dummynet pipe/queue 'queue [BYTES]KBytes ( o i386/72960 i386 [boot] BTX halted with Promise Tx2000 Raid o threa/72953 threads fork() unblocks blocked signals w/o PTHREAD_SCOPE_SYST a kern/72920 emulation [linux]: path "prefixing" is not done on unix domain s o kern/72906 [twe] twe0 idefinite wait buffer o conf/72901 [patch]: dot.profile: prevent printing when doing an s o bin/72895 rink sysinstall(8): Sysinstall generates invalid partition o bin/72875 des Some utilities used in debugging do not function prope o kern/72850 apm suspend handling partial broken with 5.3-STABLE o kern/72838 system freezes when trying to umount my digital camera o bin/72793 [patch] wicontrol(8) prints out non-printable chars in s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o kern/72660 machine locks up shortly after abnornal shutdown & sub o conf/72592 [nis] NIS Domain Master fails as client of itself o bin/72588 [patch] iostat(8) tty stats field concatenation o kern/72585 [syscons] [patch] iso05-8x16.fnt lacks letter q o i386/72566 acpi ACPI, FreeBSD disables fan on Compaq Armada 1750 o bin/72501 cperciva script(1) loops after EOF is read o conf/72465 [patch] United States International keyboard layout fo o kern/72433 [amr] [patch] AMR raid, amrreg.h struct amr_enquery3 a o bin/72398 whatis(8): emulators/mtools man pages are too funky fo o bin/72355 Can't run strings(1) on a (disk) device, even if you w o conf/72277 [patch] update for /usr/share/skel o kern/72224 [agp] umass devices broken by DRM (AGP issue?) o kern/72210 darrenr ipnat problem with IP Fastforward enabled o kern/72208 panic: bio_completed can't be greater than bio_length s ports/72202 simon portaudit warns about the CVS server vulnerability whi f kern/72194 stack backtrace after wakeup from sleeping state o bin/72173 csplit(1) ver 1.9 wrong behaviour with negative offset s kern/72041 [cam] [hang] Deadlock when disk is destroyed while use o conf/71994 [patch] dot.login: login shell may unnecessarily print s kern/71965 andre TCP MSS issue in combination with ipfw fwd o conf/71952 missing past participles in /usr/share/dict/words o bin/71928 Disk quota doesn't work with numeric login s bin/71855 [patch] making kdump(1) WARNS=6 clean o kern/71833 multiple process disc access / injustice o kern/71774 fs [ntfs] NTFS cannot "see" files on a WinXP filesystem o kern/71771 [amr] Hang during heavy load with amr raid controller o bin/71749 [patch] truss -f causes circular wait when traced proc o sparc/71729 sparc64 printf in kernel thread causes panic on SPARC o bin/71671 [patch] cleanup of the usr.sbin/apmd code o bin/71667 [patch] cleanup of the usr.sbin/bootparamd code o bin/71665 [patch] cleanup of the usr.sbin/dconschat code o bin/71664 [patch] cleanup of the usr.sbin/fwcontrol code o bin/71661 [patch] cleanup of the usr.sbin/keyserv code o bin/71660 [patch] cleanup of the usr.sbin/kgmon code p bin/71659 [patch] cleanup of the usr.sbin/mount_portalfs code o bin/71632 [patch] cleanup of the usr.sbin/ndp code o bin/71631 [patch] cleanup of the usr.sbin/pppctl code o bin/71630 [patch] cleanup of the usr.sbin/pppd code o bin/71629 [patch] cleanup of the usr.sbin/pppstats code o bin/71628 [patch] cleanup of the usr.sbin/rpcbind code o bin/71625 [patch] [nis] cleanup of the usr.sbin/rpc.ypupdated co o bin/71622 [patch] sicontrol(8): cleanup of the usr.sbin/sicontro o bin/71621 [patch] sliplogin(8): cleanup of the usr.sbin/sliplogi o bin/71618 [patch] timed(8): cleanup of the usr.sbin/timed code o bin/71617 [patch] [nis] ypserv(8): cleanup of the usr.sbin/ypser o bin/71616 [patch] [nis] yp_mkdb(8): cleanup of the usr.sbin/yp_m o bin/71613 [patch] traceroute(8): cleanup of the usr.sbin/tracero o bin/71602 [patch] uninitialized "len" used instead of "slen" wit o kern/71532 Multiple SCSI-Busses are seen differently by BIOS, loa a kern/71474 bms route lookup does not skip interfaces marked down o kern/71469 net default route to internet magically disappears with mu o usb/71455 usb [umass] Slow USB umass performance of 5.3 o kern/71450 [de] de(4): MAC address change on 21040 "Tulip" Ethern o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o kern/71391 [nfs] [panic] md via NFS file + mount -t ntfs: panic: o conf/71386 loader.conf: hint.apic.0.disabled="YES" doesn't work. o kern/71366 ipfw [ipfw] "ipfw fwd" sometimes rewrites destination mac a s bin/71290 des [patch] passwd(1) cannot change passwords other than N o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o kern/71258 alc [vm] [patch] anonymous mmappings not always page align o conf/71254 [ncurses] xterm vs. cons* termtypes or sc(4) o kern/71219 /proc/*/map dont tell file offset o gnu/71210 Update to GNU sdiff: add user-preference for merge key o kern/71198 Lack of PUC device in GENERIC kernel causes interupt l o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o kern/71045 [rl] [vr] DHCP-Request is sets other device's ip to nu o i386/71000 i386 [boot] BTX halted when booting from CD on a machine wi o threa/70975 threads [sysvipc] unexpected and unreliable behaviour when usi o kern/70904 net [ipf] ipfilter ipnat problem with h323 proxy support o i386/70832 yongari [re] re0: watchdog timeout on Evo N1015v o stand/70813 standards [patch] ls(1) not Posix compliant o kern/70810 [pci] [patch] Enable SMBus device on Asus P4B series m o bin/70756 indent(1) mishandles code that is protected for c++ co f kern/70753 gavin [boot] Device for firewire hard disk not created in ti o conf/70715 [periodic] Lack of year in dates in auth.log can cause o kern/70708 [nfs] gcore/procfs not finding /proc/pid/file on repea o kern/70649 [rtc] system clock slows down when heavily loaded o bin/70600 fsck(8) throws files away when it can't grow lost+foun o bin/70536 reboot(8) -dp tries to dump when powering off o i386/70531 i386 [boot0] [patch] boot0 hides Lilo in extended slice o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o kern/70511 When fread(3)ing with buffering turned off, many sysca o bin/70476 reboot(8) change, -p behavior default for halt o kern/70401 darrenr [modules] Could not load ipl.ko when no INET6 in the k o bin/70336 telnetd(8) always exits with value 1 o bin/70335 inetd(8) inconsistent syslog behavior when max childre o i386/70330 marcel Re-Open 33262? - gdb does not handle pending signals p o bin/70297 amd(8) request to make amd timeouts per-mount local o bin/70245 ru [patch] [build] Change to src/release/Makefile to aid p kern/70096 trhodes [msdosfs] [patch] full msdos file system causes corrup o bin/70002 sysinstall(8): fails to locate FTP dirs if the OS has o kern/69989 killing process that uses snp + unloading module + lis o bin/69986 sysinstall(8): [patch] no job control in fixit shell o o kern/69963 ipfw [ipfw] install_state warning about already existing en o bin/69942 sysinstall(8): sysinstall changes /etc/rc.conf after i o bin/69875 [patch] mlxcontrol(8): `mlxcontrol status ' p docs/69861 trhodes [patch] usr.bin/csplit/csplit.1 does not document POSI o kern/69826 [libc] 16th group has no effect when accesing file on o kern/69825 [libc] 1st group supplied to setgroups() does not take o i386/69750 acpi Boot without ACPI failed on ASUS L5 o bin/69723 sysinstall(8): [request] allow to continue from packag o kern/69650 [patch] make getserv* functions work with nsdispatch o bin/69398 [patch] login(1) cleartext display of password in logi o bin/69362 mbr amd(8) does not properly detect the local network sett o ports/69309 ale mysql database backup script for periodic/daily o bin/69268 [patch] Fix ndiscvt(8) to warn you if it's going to ge s i386/69218 simokawa [boot] failure: 4.10-BETA and later do not boot on Asu o bin/69164 marcel gdb(1) amd64: coredump while debugging a core file. o bin/69083 [patch] vi(1) basic modelines for contrib/nvi o kern/69066 panic: nmdm page fault when slattach on a null modem d s threa/69020 threads pthreads library leaks _gc_mutex o bin/69010 [patch] [build] Portability fixes for FreeBSD build ut o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o kern/68978 fs [panic] [ufs] crashes with failing hard disk, loose po a kern/68905 secteam [patch] core dumps are assigned wrong ownership a bin/68904 portmgr pkg_install(1) fixes (_PATH_*, sprintf -> snprintf, st o kern/68889 kmacy [panic] m_copym, length > size of mbuf chain o bin/68797 [patch] cut(1): fflush after each write if an option i o bin/68727 marcel gdb(1) coredumps after recent CURRENT upgrade o kern/68690 [libc] write(2) returns wrong value when EFAULT o bin/68586 dwmalone [patch] allow syslogd(8) to forward to non-default por p conf/68525 matteo Loader's verbose boot mode has rc.d/localdaemon not na o kern/68458 Burning DVD causes lots of FAILURE - READ_SUBCHANNEL I o bin/68437 [patch] conscontrol(8) DEVDIR -> _PATH_DEV fix and mor o bin/68328 [patch] syslogd(8) enable configuration of extra liste s kern/68317 [kernel] [patch] on soft (clean) reboots clean dmesg o o kern/68311 [patch] it is impossible to override defaults with ker o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction p kern/68189 bz [arp] [jail] [patch] arp -a discloses non-jail interfa o conf/68108 [patch] Adding mac-address /conf selector to diskless o kern/68076 [modules] Page fault when the sequence "kldunload ucom o bin/68062 standalone repeat(1) command o bin/67943 find(1) fails when current directory is not readable b o kern/67919 imagemagicks convert image to movie conversion kills 5 o alpha/67903 alpha hw.chipset.memory: 1099511627776 - thats way to much : o kern/67830 [smp] [patch] CPU affinity problem with forked child p o bin/67723 restore(8) FreeBSD 5.x restore cannot handle other pla s alpha/67626 alpha X crashes an alpha machine, resulting reboot s kern/67580 [request] add hints for boot failures o bin/67550 [patch] tftpd(8) Add BLK_SIZE option to tftpd server s kern/67545 [nfs] NFS Diskless Mount Option Suggestion o misc/67502 cvsadm cvs-all commit message did not include all files touch f ports/67436 portmgr [patch] bsd.port.mk: GNU_CONFIGURE_PREFIX_SUBDIR s i386/67383 [i386] [patch] do a better job disassembling code in 1 p bin/67365 sysinstall(8) doesn't find latinamerican keymap o conf/67328 [ppp] Usermode PPP hangs on boot when NIS configured o kern/67326 rodrigc [msdosfs] crash after attempt to mount write protected o usb/67301 usb [uftdi] [panic] RTS and system panic o bin/67231 [patch] pam_krb5 doesn't honor default flags from /etc o bin/67172 w(1) finger(1) display the remote host incorrectly o bin/67142 [nis] rpc.yppasswdd incorrectly throws errors about in o i386/67050 imp CardBus (PCI ?) resource allocation problem (still on o bin/66988 [patch] apm(8) check validation of the returned values o kern/66960 [fdc] [patch] filesystems not unmounted during reboot o bin/66893 [patch] [nis] rpc.yppasswdd(8): Linux NIS clients conn o bin/66830 [nis] chsh(1) ypchsh(1) do not change user information o bin/66677 mv(1) incorrectly copies somedir/.. to ./.. when it cr s ports/66566 portmgr [PATCH] bsd.port.mk: fix build when /usr/obj/usr/ports o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o docs/66505 trhodes escaping '~' and '$' characters in login.conf setenv o o stand/66357 standards make POSIX conformance problem ('sh -e' & '+' command- o bin/66350 matteo sysinstall(8): sysinstall creates a partition of subty o kern/66348 rik [cx] FR mode of cx (Cronyx Sigma) does not work for 4. s ports/66342 portmgr [PATCH] fix ECHO_MSG breakage in java ports p docs/66289 brueffer [patch] lib/libc/gen/ualarm.3 refers to non-existent a o kern/66270 [hang] dump(8) causes machine freeze o kern/66268 glebius [socket] [patch] Socket buffer resource limit (RLIMIT_ o kern/66225 [netgraph] [patch] extend ng_eiface(4) control message a kern/66185 [twe] twe driver generates gratuitous warning on shutd o kern/66162 phk [gbde] gbde destroy error o bin/66103 ppp(8) macro HISADDR is not sticky in filters o kern/66029 [crypto] [patch] MD5 alignment problem on a TriMedia p o kern/65920 fs [nwfs] Mounted Netware filesystem behaves strange o kern/65901 fs [smbfs] [patch] smbfs fails fsx write/truncate-down/tr s ports/65804 portmgr [PATCH] bsd.port.mk is gratuitously slow o bin/65803 gad [patch] ps(1) enhancements (posix syntax, and more) o bin/65774 randi sysinstall(8): cannot run repair disk when booted from o i386/65648 imp cardbus("TI1131") won't work on Dell Latitude CP 233XT o kern/65616 gnn IPSEC can't detunnel GRE packets after real ESP encryp o bin/65483 vi(1) -r crashes o kern/65448 jhb _mtx_unlock_sleep() race condition if ADAPTIVE_MUTEXES o kern/65355 [pci] [patch] TC1000 serial ports need enabling o bin/65306 obrien [patch] [build] Portability fixes for FreeBSD build ut o bin/65299 vi(1) temp path contains double / o bin/65228 [Patch] Allow rup(1) to parse hostnames from a defined o java/65054 glewis Diablo 1.3.1 JVM runs out of file descriptors at 1021 s kern/64875 standards [libc] [patch] [request] add a system call: fdatasync( a kern/64816 [nfs] [patch] mmap and/or ftruncate does not work corr o conf/64788 [nsswitch.conf] nsswitch with ldap and starting ppp on s kern/64588 [joy] [request] Extend joystick driver architecture to o kern/64556 net [sis] if_sis short cable fix problems with NetGear FA3 o bin/64327 [patch] make(1): document surprising behaviour of assi o kern/64196 [kernel] [patch] remove the arbitrary MAXSHELLCMDLEN o kern/64178 jmg [kqueue] [patch] kqueue does not work with bpf when us o kern/64114 [vga] [patch] bad vertical refresh for console using R o kern/63863 glebius [netgraph] [patch] [request] implement NGM_ELECTROCUTE f usb/63837 linimon [uhid] [patch] USB: hid_is_collection() only looks for o kern/63629 thomas [atapicam] mounting atapicam volume through cd0c cause o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes o bin/63608 Add a -c option to time(1) to display csh output o docs/63570 doc [patch] Language cleanup for the Handbook's DNS sectio o www/63552 gabor Validation errors due to CAPs in attribute values o bin/63489 top(1) finger(1) segfault when using NIS groups to res o kern/63431 [rtc] motherboard going to suspend mode stops system c o docs/63215 jeff Wrong prototypes in mi_switch(9) (ref docs/24311) o kern/63204 multimedia [sound] /dev/mixer broken with ESS Maestro-2E (still o a bin/63197 [patch] tftp(1) Bus error, core dumped o docs/63084 des Several Man-pages reference non-existant pam.conf(5) a s bin/62965 portmgr pkg_add(1) -r fails if fetching multiple packages at a o kern/62890 ups proc pointer set by fork1 can be stale in fork,rfork,v f bin/62885 des pam_radius(8) doesn't maintain multiple state fields s stand/62858 standards malloc(0) not C99 compliant s java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in o bin/62833 sysinstall(8): can't install: integer divide fault o bin/62766 systat(1) -vm does not work on diskless machines o kern/62762 bde [msdosfs] Fsync for msdos fs does not sync entries o bin/62711 kensmith sysinstall(8): installation: "Insert Next CD" Prompt i o bin/62702 sysinstall(8): backup of /etc and /root during sysinst o kern/62468 panic: system crashes when serial getty enabled and se o conf/62417 luigi diskless op script failed o docs/62412 trhodes one of the diskless boot methods described in the Hand o bin/62367 sysinstall(8): 5.2.1-RC installation problems a kern/62278 [nfs] [patch] NFS server may not set eof flag when rea s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o kern/62102 alc obreak update o bin/62077 [sound] [patch] Make it possible to abbreviate mixer(8 o kern/62042 luigi [ipfw] ipfw can't no more reject icmp (icmptypes 8) o i386/62003 remko [loader] [patch] make /boot/loader "reboot" code same o bin/61978 delphij [patch] sync setkey(8) token.l with KAME o alpha/61973 alpha Machine Check on boot-up of AlphaServer 2100A RM o bin/61971 kinit(1) --renewable fails f kern/61960 linimon [ata] [patch] BigDrive support for PC-98 architecture o alpha/61940 alpha sysinstall(8): Can't disklabel new disk from FreeBSD/a o kern/61909 5.2-Current fails to notice change of CD in drive o bin/61890 sysinstall(8): fdisk(8) uses incorrect calculations fo s kern/61810 mounts done within a chroot show up wrong and can't be a kern/61744 andre [netinet] [patch] TCP hangs onto mbufs with no tcp dat o kern/61733 imp panic: resource_list_release: resource entry is not bu o bin/61716 mckusick newfs(8) code and manpage are out of sync s kern/61677 Unable to open CDROM tray if boot_cdrom is in loader.c s kern/61622 Intel Pro/100 Intelligent Server Adapter unsupported N o docs/61605 doc [request] Improve documentation for i386 disk geometry s bin/61603 randi sysinstall(8): wrong geometry guessed o kern/61503 fs [smbfs] mount_smbfs does not work as non-root s kern/61497 ups [kernel] [patch] __elfN(map_insert) bug s i386/61481 [patch] a mechanism to wire io-channel-check to userla o bin/61438 randi sysinstall(8): 5.2 nfs tasks running by default after o kern/61404 silby RFC1323 timestamps with HZ > 1000 o bin/61355 login(1) does not restore terminal ownership on exit s misc/61322 [build] [patch] bsd.dep.mk disallows shell generated f o docs/61301 doc [patch] Manpage patch for aue(4) to enable HomePNA fun o kern/61300 [aue] [patch] Enabling HomePNA PHY on aue(4) for HomeP o conf/61289 /etc/pccard_ether: please use ifn value on pccard scri o bin/61264 sysinstall(8): unable To Use VT100 Terminal Emulator ( o bin/61239 [patch] bootp enhancement, places the dhcp tags into t s kern/61165 scsi [panic] kernel page fault after calling cam_send_ccb o bin/61152 randi sysinstall(8): installer refuses to mount USB-floppy o o kern/60963 [pecoff] [patch] Win32 Applications abort on PECOFF o bin/60892 [patch] added -p option to kldxref(8) to allow creatio s kern/60874 [request] auto-assign devfs ruleset numbers o bin/60834 [patch] ftpd(8) send_data()+oldway: anonymous transfer o kern/60719 ipfw [ipfw] Headerless fragments generate cryptic error mes o kern/60699 [atapicam] DVD Multidrive udma mode autosensed wrong o kern/60697 [pty] [patch] pseudo-tty hack versus telnet race cause o kern/60677 multimedia [sound] [patch] No reaction of volume controy key on I o kern/60641 scsi [sym] Sporadic SCSI bus resets with 53C810 under load o bin/60632 sysinstall(8): UI bug in partition label screen in sys s kern/60599 multimedia [bktr] [partial patch] No sound for ATI TV Wonder (ste o kern/60598 scsi wire down of scsi devices conflicts with config s ports/60558 portmgr [PATCH] bsd.port.mk: automatically verify GnuPG signat o kern/60550 silby [kernel] [patch] hitting process limits produces sub-o o docs/60529 ume resolver(5) man page is badly out of date o misc/60503 [modules] small error in modules installation f bin/60350 kensmith sysinstall(8): in Choose Distributions screen, "All" d o bin/60349 scottl sysinstall(8): 5.2-RC1 cannot do NFS installation p kern/60307 [pccard] [patch] wrong product id in pccarddevs for Sp s kern/60293 net [patch] FreeBSD arp poison patch o kern/60235 phk some /dev-entries missing for newly auto-added disks o kern/60174 marcel debugging a kernel module in load/attach routines o kern/60089 scottl [udf] UDF filesystem appends garbage to files o gnu/59971 peter assertion "strncmp (repository, current_parsed_root->d o kern/59912 alc mremap() implementation lacking o kern/59903 [pci] [patch] "pci_find_device" returns [only/at] the o docs/59835 doc ipfw(8) man page does not warn about accepted but mean o bin/59777 [patch] ftpd(8)/FreeBSD 5: potential username enumerat o bin/59775 [patch] ftpd(8)/FreeBSD 5: incorrect reply for "unimpl o bin/59774 [patch] ftpd(8)/FreeBSD 5: syslog facility may be chan o bin/59772 [patch] ftpd(8)/FreeBSD 5: support for tcp_wrappers in s kern/59739 [libc] rmdir(2) and mkdir(2) both return EISDIR for ar o docs/59735 kensmith [patch] Adding a reference to Icelandic Rsync to mirro o bin/59708 sysinstall(8): [patch] add sSMTP support for Mail sele o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans s bin/59638 des passwd(1) does not use PAM to change the password o conf/59600 [patch] Improved us.emacs.kbd mapping o bin/59564 [patch] from(1) add option (-S) to also display subjec o docs/59477 doc Outdated Info Documents at http://docs.freebsd.org/inf o kern/59456 fdescfs stat / compress creates only empty files o www/59307 remko [patch] xml/xsl'ify & update publications page o kern/59289 [bktr] [patch] ioctl METEORGBRIG in bktr_core.c forget s ports/59254 linimon ports that write something after bsd.port.mk o docs/59240 blackend [patch] handbook update: linux MATLAB o bin/59220 obrien [patch] systat(1) device select (:only) broken o kern/59183 imp [wi] wi problems with wi_cmd o docs/59044 doc [patch] doc.docbook.mk does not properly handle a sour p bin/58970 truss(1) coredumps for the no significant reason o kern/58967 Kernel kills processes in spite of cputime parameter i o bin/58951 sysinstall(8): some problems with 4.9-RELEASE installa o kern/58941 rwatson [acl] acl under ufs2 doesn't handle disk corruption, p o conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} o kern/58803 [kernel] [patch] kern.argmax isn't changeable even at p kern/58687 deischen [libc] [patch] gethostbyname(3) leaks kqueue file desc o conf/58557 Summer/Winter-time change causes daily cron to be run o bin/58483 [patch] mount(8): allow type special or node relative o bin/58390 bsdlabel(8) fails to display an error message if the l o kern/58373 mckusick [ufs] ufs inconsistency between 4.9-RC and 5.1 o bin/58293 vi(1) replace with CR (ASCII 13) doesn't work o kern/58154 mckusick Snapshots prevent disk sync on shutdown o bin/58012 [patch] tftpd(8) Multihomed tftpd enhancement a stand/57911 fnmatch ("[[:alpha:]]","x", FNM_PATHNAME) returns FNM_ o kern/57832 scottl [ips] softdep_deallocate_dependencies: dangling deps o bin/57715 [patch] tcopy(1) enhancement a kern/57696 [nfs] NFS client readdir terminates prematurely if ren o kern/57631 jhb [agp] [patch] boot failing for ALi chipsets p bin/57630 lptcontrol(8) gives "device busy" if device turned off o kern/57603 [bktr] bktr driver: freeze on SMP machine o bin/57554 sh(1) incorrect handling of quoted parameter expansion o kern/57522 [patch] New PID allocater algorithm from NetBSD o conf/57517 [patch] add parameter for /etc/periodic/daily/210.back s ports/57498 portmgr HEIMDAL_HOME should be defined in src or ports Makefil o misc/57464 [boot] loader(8) seems to confuse files [4.7] s bin/57407 [patch] Better NTP support for dhclient(8) and friends s kern/57398 scsi [mly] Current fails to install on mly(4) based RAID di o kern/57350 [panic] using old monocrome printer port (IO_LPT3 / 0x o docs/57298 blackend [patch] add using compact flash cards info to handbook o stand/57295 harti make's handling of MAKEFLAGS is not POSIX conform s bin/57255 usb [patch] usbd(8) and multi-function devices s amd64/57250 kmacy [amd64] [patch] Broken PTRACE_GETFPREGS and PTRACE_SET o kern/57206 [panic] softdep_lock locks against itself, causing ker o bin/57089 w(1) does not honor the -n option s bin/57088 [cam] [patch] for a possible fd leak in libcam.c o bin/57054 let test(1) compare the mtime of a file to a string o bin/57045 trpt(8) option -t was disabled on -current s bin/57018 [patch] convert growfs(8) to use libufs(3) o conf/56934 rc [patch] rc.firewall rules for natd expect an interface s ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext s kern/56720 [libc] [request] UNICODE support in Resolver o kern/56664 bad file# in MTIO status buffer after MTEOD until MTRE o bin/56648 [patch] enable rcorder(8) to use a directory for locat o stand/56476 standards cd9660 unicode support simple hack s kern/56461 [rpc] FreeBSD client rpc.lockd incompatible with Linux o kern/56451 emulation [linprocfs] /compat/linux/proc/cpuinfo gives wrong CPU o bin/56447 [patch] extend mt(1) command for AIT-2 tape drives o kern/56339 select() call (poll() too) hangs, yet call works perfe o kern/56250 [ums] [patch] ums(4) doesn't work with MCT based PS/2 o bin/56249 obrien ftpd(8) has two bugs (motd, munged utmp) o kern/56245 [bktr] Distorted and choppy video with bktr-driver on a kern/56233 gnn IPsec tunnel (ESP) over IPv6: MTU computation is wrong o kern/56031 luigi [ipfw] ipfw hangs on every invocation o kern/56024 acpi ACPI suspend drains battery while in S3 o kern/55984 ipfw [ipfw] [patch] time based firewalling support for ipfw s bin/55965 sshd(8) problems with HostBasedAuthentication and NSS o gnu/55936 bugmeister send-pr(1) does not set mail envelope from o docs/55883 kensmith [patch] handbook advanced-networking/chapter.sgml s ports/55841 portmgr [patch] Mk/bsd.port.mk: add routines to use ${PORTSDIR s kern/55802 [request] Make kernel.GENERIC suitable for diskless us o kern/55793 [dc] Flaky behavior of if_dc when initializing a LNE10 o i386/55661 acpi ACPI suspend/resume problem on ARMADA M700 o kern/55617 fs [smbfs] Accessing an nsmb-mounted drive via a smb expo o i386/55603 [mly] unable to reboot when system runs from Mylex A35 o bin/55546 cdcontrol(1) play tr m:s.f interface is partially brok a kern/55542 andre [de] [patch] discard oversize frame (ether type 800 fl o bin/55539 [patch] Parse fstab(5) with spaces in path names o bin/55457 marcel GDB gets confused debugging libc_r threaded processes. o kern/55448 dbm(3): dbm_nextkey() misbehaves after dbm_store() in o misc/55387 [build] [patch] users LD_LIBRARY_PATH can interfere wi o bin/55349 mbr amd(8) mixes up symlinks in its virtual filesystem. o bin/55346 stefanf sh(1) eats memory and CPU infinitely p kern/55018 andre [digi] [patch] Digiboard PC/Xem fails to initialize wh o conf/55015 [patch] 700.kernelmsg: Security check output enhacemen o kern/54891 [libalias] [patch] libalias(3)/natd(8) and exporting c o kern/54884 mckusick FreeBSD -stable and -current free space handling for U o stand/54839 standards [pcvt] pcvt deficits o stand/54833 standards [pcvt] more pcvt deficits o bin/54784 find(1) -ls wastes space o i386/54756 acpi ACPI suspend/resume problem on CF-W2 laptop s docs/54752 doc bus_dma explained in ISA section in Handbook: should b o bin/54683 sh(1) redundant history o kern/54604 pjd [kernel] [patch] make 'ps -e' procfs-independent o bin/54594 [patch] make(1) apply regexps to the entire variable - o java/54463 glewis Apparent bug in jdk13 o docs/54461 kensmith [patch] Possible additions to Handbook (Basics and Use s bin/54446 portmgr [patch] pkg_delete(1) doesn't honour symlinks, portupg o kern/54439 [sysctl] [patch] Protecting sysctls variables by given o stand/54410 standards one-true-awk not POSIX compliant (no extended REs) o bin/54401 [patch] pppstats(8) prints 0 for absolute values in ra o kern/54383 net [nfs] [patch] NFS root configurations without dynamic o bin/54365 [patch] add -u option to install(1) for SysV compatibi o kern/54309 silby TCP Packet of 64K-1 crashes FreeBSD4.8 o conf/54170 [patch] error from weekly periodic script 330.catman o bin/54141 wrong behavour of cu(1) o bin/54097 [nis] Non-local yppasswd(1) -d broken in 5.1-CURRENT o bin/53839 sysinstall(8): disklabel editor fails on post-install o docs/53751 doc bus_dma(9) incorrectly documents BUS_DMA_ALLOCNOW s stand/53682 [feature request] [patch] add fuser(1) utility o docs/53596 doc Updates to mt(1) manual page o bin/53560 logging domain names in wtmp is retarded o bin/53520 su(1) to another user does not update utmp o kern/53506 [partial patch] support gzipped modules o bin/53475 cp(1) copies files in reverse order to destination o kern/53447 alfred [kernel] poll(2) semantics differ from susV3/POSIX o bin/53341 sysinstall(8): [patch] dump frequency in sysinstall is o bin/53288 edwin tail(1) will sometimes display more lines than it is t o docs/53271 doc bus_dma(9) fails to document alignment restrictions o kern/53137 [panic] background fscking causing ffs_valloc panic. o bin/53131 randi sysinstall(8): "ALL" could not turn check BOXes ON at f kern/52980 mbr [dc] [patch] dc driver fails to init Intel 21143 Cardb s bin/52826 portmgr [request] Adding Timestamps to pkg info upon pkg_add(1 s ports/52765 portmgr [patch] Uncompressing manual pages may fail due too "a f bin/52746 tcsh(1) fails to handle large arguements o bin/52743 ppp(8) /etc/ppp/ppp.linkup instability issues o kern/52725 [patch] installincludes for kmods s ports/52706 portmgr [patch] bsd.port.mk issues warning if a site is explic o kern/52638 scsi [panic] SCSI U320 on SMP server won't run faster than o kern/52623 [ex] [patch] IRQ error in driver for the Intel EtherEx o bin/52517 murray New functionality for mail(1) o bin/52469 ppp(8) Multiple devices using UDP don't work. o kern/52445 [mfs] panic when mounting floppy on MFS filesystem o bin/52343 [nis] login(1) problem on the server o misc/52256 embedded [picobsd] picobsd build script does not read in user/s s docs/52071 delphij [patch] Add more information about soft updates into a s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 o kern/51982 remko [sio] sio1: interrupt-level buffer overflows s usb/51958 usb [urio] [patch] update for urio driver o kern/51685 fs [hang] Unbounded inode allocation causes kernel to loc o bin/51628 [nis] ypmatch doesn't match keys in legacy NIS servers o kern/51583 fs [nullfs] [patch] allow to work with devices and socket o docs/51480 dds Multiple undefined references in the FreeBSD manual pa s kern/51341 remko [ipfw] [patch] ipfw rule 'deny icmp from any to any ic o bin/51296 calendar(1) wrong for dates based on day+-num o kern/51274 ipfw [ipfw] [patch] ipfw2 create dynamic rules with parent o ports/51152 portmgr [patch] bsd.port.mk: generic SHEBANG_FILES o bin/51148 [patch] Control the cache size for pwd_mkdb(8) to spee s bin/51137 [patch] config(8) should check if a scheduler is selec o www/51135 www Problems with the mailing-lists search interface p docs/51133 murray RSH environmental variable not described in rcmd(3) o kern/51120 MSGBUF_SIZE doesn't work in makefiles o bin/51070 [patch] add -p option to pom(6) o kern/51009 [aue] [patch] buggy aue driver fixed. p conf/50956 matteo daily_status_disks_df_flags in /etc/defaults/periodic. o bin/50949 mtree(8) doesn't honor the -P when checking/changing o s kern/50827 [kernel] [patch] [request] add sane record locking o docs/50773 jmg [patch] NFS problems by jumbo frames to mention in bge o kern/50687 ioctl(.., CDIOCCAPABILITY, ...) always reports "Inappr p bin/50656 cp(1) - wrong error on copying of multiple files o kern/50574 mbr [dc] dc driver incorrectly detects ADMtek chip model o bin/50569 sh(1) doesn't handles ${HOME}/.profile correctly o kern/50526 [kernel] [patch] update to #! line termination o kern/50310 [libalias] [patch] natd / libalias fix to allow dcc re o bin/50300 [patch] make the loader(8) use of terminal-control seq o docs/50211 doc [patch] doc.docbook.mk: fix textfile creation o bin/50118 calendar(1) dumps core if there is ./calendar/ o misc/50106 [build] [patch] make 'make release' more flexible behi s threa/49087 threads Signals lost in programs linked with libc_r o kern/49039 [sio] [patch] add support for RS485 hardware where dir a bin/49023 gad [patch] to lpd(8) (printjob.c) to pass source filename o bin/48989 sysinstall(8): Sysinstall's partition editor gets con f kern/48976 gavin [modules] nwfs.ko oddity s bin/48962 des [patch] modify fetch(1) to allow bandwidth limiting o kern/48894 [nfs] Suggested improvements to the NFS read-ahead heu s threa/48856 threads Setting SIGCHLD to SIG_IGN still leaves zombies under o kern/48741 darrenr ipnat corrupts packets on gre interface with rul p bin/48730 obrien [patch] burncd(8) does not handle signals and causes d o alpha/48676 alpha Changing the baud rate of serial consoles for Alpha sy o gnu/48638 [libdialog] [patch] some bug fixes in libdialog o bin/48603 [patch] getopt(1) is broken o kern/48599 [syscons] [patch] syscons cut-n-paste logic is broken o kern/48471 pjd [jail] [patch] [request] private IPC for every jail o conf/48444 [patch] security.functions: count connection attempts o bin/48443 mtm [patch] periodic(8) executes too many files o kern/48425 Tape drive EOT handling problems in 4.7 o kern/48393 mckusick [ufs] ufs2 snapshot code bugs o bin/48341 sysinstall(8): changes the active slice flag when it p o conf/48325 [patch] /etc/periodic/security/100.chksetuid doesn't w p bin/48318 stefanf Segmentation fault in sh with attached script o bin/48309 ppp(8) pppoe connections fail to establish if throughp s kern/48279 [bktr] Brooktre878 may cause freeze o conf/48195 /var/db/mounttab error on diskless boot o bin/48183 marcel [patch] gdb(1) on a core(5)-file from a threaded proce o kern/48172 ipfw [ipfw] [patch] ipfw does not log size and flags o conf/48133 [patch] /etc/rc: improved vi recovery notification o docs/48101 doc [patch] add documentation on the fixit disk to the FAQ o kern/48062 mckusick mount -o snapshot doesn't work on +100GB disks p docs/47818 trhodes [patch] ln(1) manpage is confusing o bin/47815 [patch] stty(1) -all should work. s kern/47813 [gre] pseudo-device gre(4) doesn't appear to work with o conf/47596 [periodic] daily security run complains if timezone ch o docs/47594 remko [patch] passwd(5) incorrectly states allowed username o bin/47576 edwin [patch] factor(6)ing of negative numbers o conf/47566 [vinum] [patch] add vinum status verification to perio o bin/47540 [patch] Make natd(8) configurable in running state wit o bin/47384 sysinstall(8): sysinstall ignores intended destination o kern/47286 [request] make device probing verbose when using boot o kern/46973 [syscons] [patch] [request] syscons virtual terminals s conf/46913 darrenr ipf denied packets of security run output contains non o bin/46905 sysinstall(8): FreeBSD 5.x cannot be installed from mu o bin/46888 gad [patch] Add script run hook to newsyslog(8) o kern/46866 [libc] NIS-based getpwent(3) falsely returns NULL o bin/46758 [patch] moused(8) enhancements s conf/46746 No way to set link addresses through rc.conf o kern/46694 imp Getting DUP packets when in Promiscous mode on wi0 o bin/46676 ru [patch] [build] bsd.dep.mk restricts domain of tags co a kern/46647 silby Failure to initialize MII on 3Com NIC results in panic o conf/46453 [internationalization] cons25l2, ISO8859-2 and console o stand/46441 stefanf /bin/sh does not do parameter expansion in PS1, PS2, P o conf/46409 Certain periodic scripts check broken NFS mounts. o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o bin/46352 [patch] login(1) open file descriptors and signal hand o bin/46328 gad [patch] patch for lpd(8) o bin/46235 matteo sysinstall(8): NTP servers for Finland require updatin o bin/46163 gad lpc(8) problem. Only root can modify despite man page o kern/46159 ipfw [ipfw] [patch] [request] ipfw dynamic rules lifetime f o stand/46119 standards Priority problems for SCHED_OTHER using pthreads o conf/46062 remko Remove skel from BSD.root.dist. s kern/46036 [RFE] select is unsuitable for implementing a periodic o bin/45995 markm telnet(1) fails to properly handle SIGPIPE on its term o bin/45990 dwmalone top(1) dumps core if specific errors in password file o kern/45896 dwmalone setnetgrent(3) should return error code o bin/45830 [kerberos] KDC has problems when listening to IPv6 and f i386/45773 net [bge] Softboot causes autoconf failure on Broadcom 570 o kern/45729 [libexec] [patch] make rbootd transfer the default fil o conf/45704 [patch] request to change cp866b font to cp866 o bin/45608 randi sysinstall(8): install should config all ether devices s kern/45568 gibbs [ahc] ahc(A19160) pci parity error o kern/45558 trhodes [msdosfs] mdconfig and msdosfs make fs writes hang s bin/45547 [patch] make burncd(8) handle .wav files. o bin/45529 gcooper [patch] hexdump(1) core-dumps with certain args o i386/45525 imp Dell Inspiron 7000 does not recognize PC-CARDs after r o kern/45373 mckusick softupdate / fs damaged after loss of power / CG 8: Ba o bin/45333 [patch] New option -r for chown(8) and chgrp(1) o docs/45303 remko Bug in PDF DocBook rendering o kern/45293 [libc] kevent denies to observe /dev/tty o bin/45272 dump(8) / restore(8) problem o conf/45226 rc [patch] Fix for rc.network, ppp-user annoyance o conf/45222 [patch] daily rejected mail hosts report too long p bin/45193 [patch] truss(1) can't truss itself p gnu/45168 Buffer overflow in /usr/bin/dialog o docs/45011 trhodes [patch] style(9): '->' and '.' don't require spaces o gnu/44984 bugmeister [patch] send-pr(1) can use environmental variable $FRO o bin/44915 randi sysinstall(8): 'choose installation media' choose CD-R o bin/44894 markm telnet(1): as a local non-root user and remote it's po o conf/44717 [patch] update login.conf and unify login capabilities o kern/44587 scsi dev/dpt/dpt.h is missing defines required for DPT_HAND o kern/44580 [nfs] NFS updates file access time when file is modifi o kern/44578 [nis] getnetgrent fails to read NIS netgroup map o gnu/44564 peter [patch] Aborted cvs session causes an endless loop in o docs/44519 obrien ftpd.conf(5) contains references to ftpd(8) when it is s bin/44518 yar ftpd(8) does not show OPIE OTP challenge o stand/44425 standards getcwd() succeeds even if current dir has perm 000. o kern/44372 roberto some kernel options prevent NTP clock synchronization o kern/44365 [headers] [patch] introduce ulong and unchar types o conf/44286 roberto /etc/defaults/rc.conf uses the obsolete ntpdate o kern/44267 [sio] [patch] One more modem PNP id for /usr/src/sys/i o bin/44212 [request] Unify 'recursive' options -r and -R o kern/44202 [rp] [patch] -stable rp driver does not work with mult o www/44181 www www "Release Information" organization o conf/44170 rc [patch] Add ability to run multiple pppoed(8) on start s bin/44122 ppp(8) tun0 gets a second ip adress after a disconnect o docs/44034 trhodes Multiple sysctl variables are not documented o java/43924 glewis writing from JAVA to a pipe sometimes hangs o kern/43905 jmg [kqueue] [patch] kqueues: EV_SET(kevp++, ...) is non-i o docs/43823 doc [patch] update to environ(7) manpage o bin/43819 [patch] changed truss(1) output for utrace calls o kern/43716 [puc] [patch] puc driver does not recognize Lava Dual- o kern/43625 imp [wi] wi(4) driver hangs after long data transfers o kern/43616 [zlib] [patch] static-ize some functions in sys/net/zl o kern/43611 [crypto] [patch] static-ize some symbols in sys/crypto a kern/43605 luigi enabling polling in the kernel causes page fault/crash o kern/43592 mktime(3) rejects dates at the start of daylight savin o bin/43582 [patch] passwd(1) fails on nonexistent users o kern/43577 [kernel] [patch] [request] new kernel option SHUTDOWN_ o kern/43576 imp Problem with wi driver and Lucent Orinoco Silver wirel o kern/43501 getpwnam(3), getpwuid fail when linking against Berkle o conf/43500 [patch] rc.syscons "allscreens" improvements s bin/43497 mount(8): mount -t nfs -> crunchgen incompatible o docs/43470 blackend solid-state article out of date (x109). o bin/43434 [patch] new option to dmesg(8) which allows to display o bin/43368 portmgr pkg_create(1) fails if target directory does not exist o bin/43367 incorrect report from who(1) after 'shutdown now' from a i386/43366 cy Cannot format media in USB floppy devices o kern/43355 idad driver will work if logical drives dont start at o bin/43337 des fetch(1) -s fails if -4 or possibly other options give o kern/42983 imp wi0 sporadically freezes the system for 1-2 seconds o bin/42974 [patch] syslogd(8): add ISO 8601 date format option o kern/42956 [libc] dlclose gives "invalid shared object handle" wh o kern/42801 [hang] FreeBSD freezes when opening cuaa0 with a motor o kern/42728 embedded [picobsd] many problems in src/usr.sbin/ppp/* after c o gnu/42726 cvsadm cvs -R pserver & val-tags: story continues o bin/42658 markm recompile telnetd(8) and log NULL ip in /var/wtmp o kern/42621 imp Dell Inspiron 5000e hangs when using Orinoco or Cisco o kern/42461 mdodd if_wi_pci.c,if_wi_pccard.c lack device_resume/device_s o kern/42442 problem in idlequeue/debugging mode ? o kern/42429 [libc] [patch] hash_action called with HASH_DELETE doe o kern/42422 [libc] [patch] dbm_delete returns -1 instead of 1 when o bin/42407 ppp(8) IPV6CP fails o kern/42387 [librpcsvc] [patch] cleaning code of librpcsvc from wa o kern/42386 [libkvm] [patch] cleaning code from warnings in libkvm o bin/42336 [patch] ISO-fication of /usr/src/contrib/tcp_wrappers: o kern/42274 [kernel] [patch] Convert defined variable into tuneabl o kern/42217 [libdisk] libdisk segfaults with 1024 bytes/sector dis o bin/42162 randi sysinstall(8): after restart, installation crashes, md o misc/42115 luigi [picobsd] [patch] fix build script for 4.6-STABLE o bin/42093 [nis] ypbind(8) hangs on NIC with the lowest scopeid o kern/42089 phk ntp_gettime returns time in wrong scale o bin/42084 luigi [picobsd] PicoBSD's 'netstat -i' reports negative Ipkt o bin/42022 randi sysinstall(8): non-interactive mode prompts when only o bin/42018 portmgr pkg_info(1) with PKG_PATH searches through tarred pkgs s bin/42004 mpp [quotas] quota is still IPv4 only, and not INET indepe o bin/41949 sysinstall(8): sysinstall sorts /etc/rc.conf during ne s bin/41947 gcooper [patch] hexdump(1) unprintable ASCII enhancement o docs/41919 blackend MINI kernel for bootfloppy (Handbook p.342) contains e o docs/41879 hrs [patch] cleanup to DOCROOT/share/sgml/freebsd.dsl o bin/41850 sysinstall(8): sysinstall fails to create root filesys o docs/41824 murray [patch] LANG is not documented in setlocale(3) o bin/41817 [patch] pw(8): pw groupshow doesn't include the login o conf/41777 [patch] /etc/periodic/daily/100.clean-disks removes li o bin/41674 [patch] iostat(8) column formatting overlaps s bin/41647 net ifconfig(8) doesn't accept lladdr along with inet addr o kern/41632 luigi bridging when one interface has no carrier a bin/41583 [patch] mtree(8) assorted mtree bugs p stand/41576 standards POSIX compliance of ln(1) o bin/41556 obrien [patch] wtmp patch for ftpd(8) o kern/41543 emulation [patch] [request] easier wine/w23 support o bin/41526 mount(8) symlinked mount points get mounted more than o bin/41410 stefanf sh(1) bug on expanding $? in here-documents o i386/41364 imp [pccard] NewMedia "Bus Toaster" SCSI card w/ Advansys o kern/41307 [libalias] [patch] logging of links lifecycle (add/del o bin/41297 mp tcsh(1)/csh(1) backquote/braces expansion bug o bin/41271 matteo [patch] non-suid crontab(1) o conf/41242 periodic scripts make unwarranted assumptions about PA o kern/41216 [nfs] Get "NFS append race" error o kern/41215 [keyboard] console revert back to kbd0 (AT) after KVM o bin/41213 top(1) blocks if NIS-related entries in passwd(5) are o bin/41190 [patch] sed(1) report the { linenum instead of EOF lin s misc/41179 [request] LD_LIBRARY_PATH security checks o bin/41159 [patch] new sed(1) -c option to allow ; as a separator o docs/41089 doc pax(1) -B option does not mention interaction with -z o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o kern/40895 scsi wierd kernel / device driver bug o conf/40777 [patch] disktab does not support 2.88MB floppies s threa/40671 threads pthread_cancel doesn't remove thread from condition qu o bin/40597 [patch] add fdisk(8) ability of showing extended parti o bin/40572 vipw(8) prints silly message if $EDITOR fails o docs/40423 doc Keyboard(4)'s definition of parameters to GETFKEY/SETF o kern/40369 [kernel] [patch] rman_reserve_resource - when "count > a bin/40282 [patch] kill(1) has bad error checking for command lin o bin/40260 sysinstall(8): hang when detecting devices (No CD/DVD o bin/40215 [nis] NIS host search not terminate o kern/40206 Can not assign alias to any POINTOPOINT interface o gnu/40057 bugmeister send-pr -a flag does not work with -f s kern/40021 [build] [patch] use ld(1) to build kernel with linked- o kern/40017 [patch] allows config(8) to specify config metadata di o conf/39976 vi recovery halting boot process s kern/39937 net ipstealth issue o kern/39928 imp [wi] wi0 timeouts and hangs the system while sending d s threa/39922 threads [threads] [patch] Threaded applications executed with o bin/39849 restore(8) fails to overwrite files with schg flag set o kern/39681 [sysctl] [patch] add hidden kernel boot tunables to sy o ports/39660 portmgr [patch] add ${PKGNAMEPREFIX} to (DOCS|EXAMPLES)DIR s conf/39580 insecure default settings o kern/39527 dwmalone getcwd() and unreadable parent directory o conf/39505 [patch] automate BUILDNAME variable for releases o bin/39463 mtm [patch] Add several options to fingerd(8) o bin/39439 tcopy(1) will not duplicate tapes with block size larg o kern/39388 scsi ncr/sym drivers fail with 53c810 and more than 256MB m o kern/39329 [mount] '..' at mountpoint is subject to the permissio o stand/39256 standards snprintf/vsnprintf aren't POSIX-conformant for strings o kern/39252 [syscons] [patch] syscons doesn't support 8-bit contro f kern/39233 bz [ipsec]: NonConforming IPsec implementation from FreeB o kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLINUXTHPN) confu o docs/38982 doc [patch] developers-handbook/Jail fix o bin/38940 [request] an option to *stat to allow supressing of he o misc/38937 delay between tracks in digital audio dumps from CD wi o bin/38854 sysinstall(8): resetting during setup causes the targe o kern/38828 scsi [dpt] [request] DPT PM2012B/90 doesn't work o kern/38749 kientzle Diskless booting fails with some DHCP servers (no root s kern/38730 philip Memorex scrollpro mouse is not fully functional o bin/38727 [patch] mptable(1) should complain about garbage argum o kern/38626 luigi dummynet/traffic shaper: RED: max_th and min_th are li o bin/38610 randi sysinstall(8): should be able to mount ISO images on D s bin/38609 sysinstall(8): [request] sysinstall should know the si s ports/38593 portmgr [request] Third level ports o docs/38556 doc EPS file of beastie, as addition to existing examples a kern/38554 net [patch] changing interface ipaddress doesn't seem to w o bin/38478 sysinstall(8): In Choose Distributions screen, it's di s kern/38347 [libutil] [patch] [request] new library function abs2r o bin/38256 [patch] linking pax(1) to pax_{cpio|tar} o bin/38168 [patch] [request] installing curses-based versions of o docs/38061 ume [patch] typos in man pages for faith(4) & faithd(8) o bin/38057 sysinstall(8): "install" document doesn't display corr o bin/38056 sysinstall(8): User (creation)'s "Member groups" item o bin/38055 sysinstall(8): Groups (creation) item should be before o alpha/38031 alpha osf1.ko not loaded during boot-time of linux-emu enabl o gnu/37910 bugmeister [patch] make send-pr(1) respect &'s in /etc/{master.}p o bin/37844 [patch] [build] make knob to not install progs with su o docs/37719 kensmith [request] Detail VOP_ naming in a relevant man-page o bin/37710 sysinstall(8): LAN interface in wrong state after atte s threa/37676 threads libc_r: msgsnd(), msgrcv(), pread(), pwrite() need wra o bin/37672 pw(8) prints warnings after successful NIS map updates o kern/37600 multimedia [sound] [partial patch] t4dwave drive doesn't record. o kern/37589 imp Kernel panics upon resume from zzz on my IBM ThinkPad o conf/37569 matteo [patch] Extend fstab(5) format to allow for spaces in o kern/37555 [kernel] [patch] vnode flags appear to be changed in n o kern/37554 jmg [vm] [patch] make ELF shared libraries immutable once o i386/37523 davidxu [i386] [patch] lock for bios16 call and vm86call o bin/37442 [patch] sleep(1) to support time multipliers s kern/37441 davidxu [isa] [patch] ISA PNP parse problem o bin/37437 [patch] [request] Add HTTP-style support to vis(1)/unv o kern/37326 [bktr] smbus/bktr crash when omitting "device iicsmb" o bin/37160 sysinstall(8): coredumps when trying to load package d o bin/37083 [patch] [request] small improvement to talk(1): add cl o bin/37013 [patch] ls(1) directory name output trailing slash dup o bin/36960 calendar(1) doesn't effect -t option. o kern/36952 ldd comand of linux does not work o gnu/36926 bugmeister [patch] send-pr destroys PR if emacs interrupt charact o kern/36916 randi [libdisk] [patch] DOS active partition flag lost in li o kern/36911 [ata] ATA cannot be disabled with hints or through BIO o kern/36902 [libc] [patch] proposed new format code %N for strftim s ports/36901 glewis WITHOUT_X11 Knob for port java/jdk13 s bin/36786 make ps(1) use 24-hour time by default o kern/36784 Can't fcntl(fd, F_SETFL, ...) on a pseudo-tty s bin/36740 make ps(1) obey locale (particularly for times) o docs/36724 darrenr ipnat(5) manpage grammar is incomplete and inconsisten o kern/36626 login_cap(3) incorrectly claims that all resources fre o kern/36566 fs [smbfs] System reboot with dead smb mount and umount o bin/36556 [patch] regular expressions for tcpwrappers o bin/36553 gad [patch] [request] Two new features in newsyslog(8) o bin/36501 calendar(1) can't handle recurring items in the next m s gnu/36460 cu(1) program does not work very well. a kern/36451 [bktr] [patch] Japan IF frequency is incorrect f docs/36432 gabor Proposal for doc/share/mk: make folded books using psu o kern/36415 [bktr] [patch] driver incorrectly handles the setting o bin/36385 luigi crunchgen(1) does not handle Makefiles with includes p o bin/36374 [patch] apmd(8): fix core dumps, other improvements o bin/36262 [patch] Fixed rusers(1) idle-time reporting to use min o kern/36170 [an] [patch] an(4) does an_init() even if interface is o bin/36143 [patch] moused(8): add dynamic (non linear) mouse acce o bin/36118 sysinstall(8): 4.5 Upgrade says it won't touch /usr/sr a bin/36110 dmesg(8) output corrupt if /dev/console is busy s stand/36076 standards Implementation of POSIX fuser command a bin/35985 sysinstall(8): swap double mount o bin/35886 [patch] pax(1) enhancement: custom time format for lis o gnu/35878 /usr/bin/strip resets ABI type to FreeBSD o kern/35774 [libutil] logwtmp: Suboptimal auditing possibilities f o bin/35769 w(1) does not correctly interpret X sessions o bin/35717 which(1) returns wrong exit status for multiple argum s docs/35678 doc docproj Makefiles for web are broken for paths with sp o kern/35669 [nfs] NFSROOT breaks without a gateway o docs/35652 trhodes bsd.README seriously obsolete o bin/35568 make(1) declares target out of date, but $? is empty o conf/35545 [patch] enhanced periodic scripts: 100.clean-disks, 10 o misc/35542 bde [build] [patch] BDECFLAGS needs -U__STRICT_ANSI__ o kern/35442 net [sis] [patch] Problem transmitting runts in if_sis dri o kern/35429 select(2)/poll(2)/kevent(2) can't/don't notice lost co o bin/35400 randi sysinstall(8): sysinstall could improve manipulation o o kern/35399 poll(2) botches revents on dropped socket connections o kern/35396 poll(2) doesn't set POLLERR for failed connect(2) atte o kern/35377 process gets unkillable (-9) in "ttywai" state o kern/35289 [bktr] [patch] Brooktree device doesnt properly signal o kern/35262 [boot2] [patch] generation of boot block for headless o kern/35234 scsi World access to /dev/pass? (for scanner) requires acce o bin/35214 obrien dump(8) program hangs while exiting o bin/35113 [patch] grdc(6) enhancement: countdown timer mode o bin/35109 edwin [patch] morse(6) add ability to decode morse code o kern/34880 luigi Impossibility of grouping IP into a pipe for traffic s o kern/34842 [nis] [patch] VmWare port + NIS causes "broadcast stor o bin/34811 sh(1) "jobs" is not pipeable o bin/34788 dwmalone dmesg(8) issues with console output o bin/34728 DHCP hostname set as Hexadecimal string o kern/34665 net [ipf] [hang] ipfilter rcmd proxy "hangs". o bin/34628 portmgr [patch] pkg_add(1) pkg-routines ignore the recorded md s threa/34536 threads accept() blocks other threads o bin/34497 calendar(1) does not understand calendars o kern/34470 bde Modem gets sio1 interrupt-level buffer overflows' o bin/34412 [patch] tftp(1) will still try and receive traffic eve o bin/34309 gad lpd(8) does not garantie that controlfiles begin with o bin/34270 man(1) -k could be used to execute any command. o docs/34239 trhodes tunefs(8) man page doesn't describe arguments. s bin/34171 yar ftpd(8) indiscrete about unprivileged user accounts o bin/34146 newfs(8) defaults and vfs.usermount=1 tug at one anoth o gnu/34128 sdiff "e" doesn't work with some editors o kern/33965 [keyboard] [patch] programmable keys of the keyboard ( a kern/33963 bde Messages at the serial IO port device probe are mislea o kern/33834 strptime(3) is misleading o bin/33809 mux [patch] mount_nfs(8) has trouble with embedded ':' in o bin/33774 [patch] for killall(1) a bin/33661 PAP AuthAck/AuthNak parsing problem in pppd(8) s docs/33589 doc [patch] to doc.docbook.mk to post process .tex files. o kern/33464 soft update inconsistencies after system crash o kern/33203 [nfs] "got bad cookie" errors on NFS client o bin/33182 marcel gdb(1) seg faults when given handle SIGALRM nopass for o bin/33066 kensmith sysinstall(8): does not write to new disks as expected o bin/32828 jail [jail] w(1) incorrectly handles stale utmp slots with o kern/32812 [bktr] bktr driver missing tuner for eeprom detection. o bin/32808 dwmalone [patch] tcpd.h lacks prototype for hosts_ctl o bin/32667 systat(1) waste too much time reading input o bin/32619 des libfetch does not use RFC 1738's definiton of ftp: URL o bin/32501 maxim quot(8) is stupid regarding the filesystem option a bin/32411 shutdown(8) absolute-time handling could be more usefu a bin/32375 sysinstall(8): sysinstall doesn't respect User generat o bin/32374 vi(1) -r doesn't work, file contained unexpected binar s threa/32295 threads [libc_r] [patch] pthread(3) dont dequeue signals s conf/32108 Proposed Firewall (IPv4) configuration script o bin/31987 [patch] allow dump(1) to notify operators by mail(1) o bin/31985 New /etc/remote flag for tip(1) to append LF to CR o kern/31981 [libc] [patch] (mis)feature in getnetent parsing -- co o kern/31940 kmacy ip queue length too short o bin/31933 pw(8) can interpret numeric name as userid during user o kern/31906 [libc] No method available to unwind atexit(3) stack w o kern/31890 [syscons] [patch] new syscons font o gnu/31772 New option in dialog(1) o kern/31708 VM system / fsync / flushing delayed indefinitely? s kern/31686 andre Problem with the timestamp option when flag equals zer o kern/31647 net [libc] socket calls can return undocumented EINVAL o bin/31588 change request to allow mount(8) to set the MNT_IGNORE o bin/31387 mailwrapper(8): When getuid(2)=0, mailwrapper should d o kern/31380 [nfs] NFS rootfs mount failure message too cryptic o bin/31363 sysinstall(8): "partition editor" silently corrects pa s bin/31304 [patch] fix crunchgen(1) to work with more contrib-kin o kern/31201 [libdisk] [patch] add free_space(chunk) to libdisk o kern/31048 des [linprocfs] /proc/meminfo cannot handle multiple swap o bin/31034 dwmalone regularly add original address logging for tcpwrappers o conf/30938 [patch] Improving behavior of /etc/periodic/daily/110. o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem o bin/30863 bootpd(8) dovend.c Win95 compatibility improvement and o bin/30854 bootpd(8) bootpgw change - skip ARP modifications by o o conf/30812 [patch] giant termcap database update a bin/30737 sysinstall(8): sysinstall leaks file descriptors on re o bin/30654 gad [patch] Added ability for newsyslog(8) to archive logs o conf/30590 /etc/hosts.equiv and ~/.rhosts interaction violates PO o bin/30542 [patch] add -q option to shut up killall(1) o bin/30517 randi sysinstall(8): using sysinstall with install.cfg has n s threa/30464 threads pthread mutex attributes -- pshared o bin/30424 Generalization of vipw(8) to lock pwdb while being edi o conf/30399 brueffer [bsd.cpu.mk] [patch] Have Fortran use the CPUTYPE vari o bin/30360 vmstat(8) returns impossible data o kern/30321 [patch] strftime(3) '%s' format does not work properly s i386/30206 mdodd [boot] PS/2 server 85 can't boot kern.flp o kern/30186 net [libc] getaddrinfo(3) does not handle incorrect servna o kern/30052 mbr [dc] [patch] dc driver queues outgoing pkts indefinite a docs/30008 doc [patch] French softupdates document should be translat o bin/29903 [nis] ypbind(8) loses connection to NIS master and nev o bin/29897 des [patch] pam_unix(8) loginclass passwd_prompt p bin/29893 kensmith sysinstall(8): suggestions for 4.4 sysinstall o bin/29808 [nis] ypserv(8) dumps core in yp_find_db o kern/29698 emulation [linux] [patch] linux ipcs doesn'work o bin/29516 markm telnet(1) from an non FreeBSD host still uses /etc/tty s kern/29423 [request] [patch] new feature: kernel security hooks i f kern/29421 alc Update a file with mmap will cause mtime/ctime changin o bin/29375 sysinstall(8): disk editor gets confused by slices tha o bin/29363 gad [patch] newsyslog(8) can support time as extension o kern/29355 mux [kernel] [patch] add lchflags support s bin/29292 [patch] addition to burncd(8) for specific handling of a bin/29253 natd(8) forgets about udp connections o bin/29062 markm [libkrb] krb4 and krb5 multiply defined version symbol s i386/28975 [rp] RocketPort problems s kern/28840 gibbs [cam] Possible interrupt masking trouble in sys/cam/ca o bin/28798 mail(1) with a pager (more) requires fg/Ctrl-Z/fg to r o bin/28789 [patch] last(1) does not filter for uucp connects o bin/28620 ru xinstall(1) has no way to pass options to strip o bin/28424 remko mtree(8) fails to report directory hierarchy mismatch o bin/28364 [patch] flex(1) generated files fail to compile cleanl o conf/28236 [patch] iso-8859-1_to_cp437.scm doesn't contain some u a bin/28223 remko su(1) doesn't look at login.conf all the time o bin/27972 losing information with talk(1) a conf/27896 Error in /etc/exports invalidates entire line, not jus o kern/27835 standards [libc] execve() doesn't conform to execve(2) spec in s o bin/27829 pax(1) uid/gid cache is read-only o bin/27687 fsck(8) wrapper is not properly passing options to fsc o kern/27660 Kernel does not return error if adding duplicate addre o docs/27605 doc [patch] Cross-document references () o kern/27474 net [ipf] [ppp] Interactive use of user PPP and ipfilter c o kern/27403 [lpt] lpt driver doesn't handle flags anymore o bin/27319 obrien df(1) displays amd pid processes o bin/27306 marcel [patch] hw watchpoints work unreliable under gdb(1) o bin/27281 vidcontrol(1) does not have error codes o bin/27258 getty(8) didn't check if if= isn't empty o kern/27232 [nfs] On NFSv3 mounted filesystems, stat returns st_bl o bin/27216 randi sysinstall(8): can not get to shell prompt from serial o kern/27008 kernel function sysbeep(xxx, 0) does produce sound s bin/26803 des ftp(1) Fix fetch to allow FTP puts in '-o' & allow '@' o kern/26787 [patch] sysctl change request o bin/26695 change request: kill(1)/killall(1) -l output o kern/26562 [lpt] [patch] /dev/lpt0 returns EBUSY when attempting a kern/26534 ipfw [ipfw] Add an option to ipfw to log gid/uid of who cau o bin/26486 remko [libc] [patch] setnetgrent hangs when netgroup contain a gnu/26362 "cvs server" doesn't honour the global --allow-root a kern/26348 [pcvt] scon -s, page fault in HP mode o docs/26286 doc *printf(3) etc should gain format string warnings o kern/26261 [sio] silo overflow problem in sio driver f kern/26142 vwe [nfs] Unlink fails on NFS mounted filesystem o bin/26005 vis(1)/unvis(1) MIME quoted-printable encoding added t a docs/26003 standards getgroups(2) lists NGROUPS_MAX but not syslimits.h f kern/25986 silby Socket would hang at LAST_ACK forever. o kern/25950 obrien [asr] Bad drives on asr look zero-length and panic on o kern/25886 [libc] cgetset(3) doesn't get cleared when switching d o bin/25736 ac(8) -d option probrem with overdays logon o kern/25733 [intpm] mismatch between error reporting in smbus fram s bin/25598 yar patch to let ftpd(8) output message when changing dire o bin/25542 standards sh(1) null char in quoted string s bin/25477 [pam] [patch] pam_radius(8) fix to allow null password o kern/25445 kernel statistics are displayed in wrong types and wra o alpha/25284 alpha PC164 won't reboot with graphics console o bin/25218 mailwrapper(8) invokes sendmail when resources are tig o bin/25015 cp(1) options -i and -f do not work as documented o bin/25013 mv(1) cannot move unresolvable symlinks across devices f kern/24959 kmacy [patch] proper TCP_NOPUSH/TCP_CORK compatibility o docs/24786 doc missing FILES descriptions in sa(4) o bin/24757 yar ftpd(8) not RFC compliant s threa/24632 threads libc_r delicate deviation from libc in handling SIGCHL f kern/24629 harti ng_socket failes to declare connected data sockets as s stand/24590 standards timezone function not compatible witn Single Unix Spec o kern/24528 Bad tracking of Modem status o bin/24513 peter new options for pppd(8) o bin/24485 [patch] to make cron(8) handle clock jumps s threa/24472 threads libc_r does not honor SO_SNDTIMEO/SO_RCVTIMEO socket o o bin/24461 [nis] Being able to increase the YP timeout without re o kern/24435 [libdisk] [patch] changing slice type causes Auto-part o bin/24390 standards ln(1) Replacing old dir-symlinks when using /bin/ln o bin/24066 marcel gdb(1) can't detach from programs linked with libc_r a bin/23912 vi(1) underflow of cnt in vs_paint() by O_NUMBER_LENGT o bin/23562 markm [patch] telnetd(8) doesn't show message in file specif o kern/23546 multimedia [sound] [snd_csa] [patch] csa DMA-interrupt problem a bin/23402 sysinstall(8): upgrade ought to check partition sizes a bin/23254 [patch] yacc(1) accepts bad grammer o bin/23098 sysinstall(8): [patch] if installing on a serial conso o conf/23063 net [arp] [patch] for static ARP tables in rc.network s i386/22944 alc [vm] [patch] isa_dmainit fails on machines with 512MB o misc/22914 [bootinst] bootinst messages are not updated s kern/22417 gibbs [adw] [patch] advansys wide scsi driver does not suppo o conf/22308 [nfs] mounting NFS during boot blocks if host map come o kern/22291 [nfs] getcwd(3) fails on recently-modified NFS-mounted o bin/22182 vi(1) options noprint/print/octal broken s bin/22034 [request] nfsstat(1) lacks useful features found in So o kern/21998 kmacy [socket] [patch] ident only for outgoing connections a kern/21807 trhodes [msdosfs] [patch] Make System attribute correspond to o conf/21675 [patch] Better and more disktab entries for MO drives o i386/21672 obrien [i386] AMD Duron Rev. A0 reports incorrect L2 cache si o stand/21519 standards sys/dir.h should be deprecated some more o kern/21463 emulation [linux] Linux compatability mode should not allow setu o bin/21315 Shells often behave oddly when executing shell scripts a bin/21089 [patch] vi(1) silently corrupts open file on SIGINT wh o bin/21008 gad lpr(1) Fix for lpr's handling of lots of jobs in a que o bin/20944 natd(8) enhancements, default config file and manpage o bin/20633 fdisk(8) doesn't handle LBA correctly o kern/20529 [ti] gigabit cards fail to link s bin/20521 rmt(8) /etc/rmt several problems o bin/20501 [patch] dump(8) extra flag to dump to offline autoload o bin/20391 jhb sysinstall(8): sysinstall should check debug.boothowto s kern/20333 des [libpam] ftp login fails on unix password when s/key a o bin/20282 randi sysinstall(8): sysinstall does not recover some /etc f o bin/20172 yacc(1) byacc 1.9 fails to generate $default transitio o bin/20054 yar ftpd(8) rotating _PATH_FTPDSTATFILE losts xferlog s docs/20028 doc ASCII docs should reflect tags in the sourc f kern/19913 silby add SYN+FIN counter o gnu/19882 obrien ld does not detect all undefined symbols! o bin/19837 ambrisko sysinstall(8): [patch] run Fix It floppy from serial p a kern/19782 mkisofs 1.12.1 (i386-unknown-freebsd4.0) doesn't prese s bin/19773 markm [patch] telnet(1) infinite loop depending on how fds a o bin/19772 df(1) output wrong for union-mounts o kern/19756 Inability to use linux extended partition (type 0x85) o bin/19683 mount(8) displays incorrect mount point on failed moun s conf/19573 des Dot Files for Optional Shells s kern/19535 [procfs] [patch] procfs_rlimit tidyup s kern/19402 Signals 127 and 128 cannot be detected in wait4() inte o kern/18909 dwmalone select(2) timeout limited to 100000000 seconds o kern/18874 fs [2TB] 32bit NFS servers export wrong negative values t o gnu/18857 peter Enable GSSAPI in CVS if available s kern/18704 GLOB_ERR not handled correctly by glob() s kern/18558 silby [xl] 3COM 905B realy realy slow when using multiple ad o bin/18498 jhb allowing ELF_VERBOSE in /etc/make.conf o bin/18326 dwmalone no /usr/libdata/lint/llib-lc.ln o bin/18319 dump(8) fails with "cannot reopen disk: interrupted sy o kern/18293 [psm] [patch] lack of versapad mouse wheel emulation o kern/18271 [patch] simplelock: klds not portable across UP and SM o kern/18200 mdodd 3com 3c509b recognized twice during boot s bin/18114 iostat(8): msps from iostat is wrong o bin/18100 [patch] update to src/usr.bin/from/from.c for multiple o conf/17993 obrien improving on the default /etc/amd.map s i386/17662 gibbs [cam] cam_xpt.c incorrectly disables tagged queuing fo o bin/17623 date(1) -v doesn't handle time changes (DST) correctly s conf/17540 [nfs] NIS host lookups cause NFS mounts to wedge at bo o kern/17504 [cam] [patch] Another Micropolis Synchronize Cache Pro o kern/17425 [ppbus] [patch] fix two small printing errors in ppbus p bin/17363 matteo crontab(1) leaves files in /var/cron/tabs when interru o bin/17289 gad [patch] wrong permissions on /var/run/printer s kern/17109 darrenr fastroute crashes for lo0 udp s kern/17108 [nfs] SecureRPC not supported in mount_nfs command o bin/16948 sysinstall(8): sysinstall/disklabel: bad partition tab o kern/16765 bde Add support for mark/space parity o kern/16644 dwmalone [bpf] [patch] Bad comparison expression in bpf_filter. p misc/15876 edwin [picobsd] PicoBSD message of the day problems o kern/15838 trhodes [msdosfs] [patch] Conversion tables in msdosfs_conv.c o bin/15619 peter [patch] standard pppd(8) doesn't authenticate users wi s kern/15478 incorrect utmp/wtmp records update upon connection bei s kern/15436 [syscons] syscons extension: "propellers" o bin/15205 [patch] Addition to random(6) o bin/15168 [patch] Adding tracklist support to fdformat(1) a kern/15095 silby TCP's advertised window is not scaled immediately upon o bin/15038 sysinstall(8): easy to not notice that selection lists p conf/15010 keramida [patch] rc.firewall: "client" firewall configuration k s bin/14925 standards getsubopt isn't poisonous enough a bin/14682 gad lprm(1) unaware of lp(1) Environment Variables (LPDEST o kern/14646 kern.boottime affected by APM suspend/resume s kern/14562 ioctl() codes should be provided for ejecting all remo o bin/14318 randi sysinstall(8): sysinstall upon install has some counte s kern/13997 rwatson [jail] [patch] RLIMIT_NPROC works unadequately for jai o bin/13882 mount(8) mount -p is missing the quota options s bin/13869 man(1) program saves multiple cached copies of the sam s conf/13775 multi-user boot may hang in NIS environment o bin/13397 vi(1) nvi mishandles tags files under certain conditio f kern/13326 kmacy [headers] [patch] additional timeval interfaces for .root fails to become root s bin/3170 vi(1): vi freaks and dump core if user doesn't exist s kern/2298 [sio] [patch] [request] support for DSR/DCD swapping o s bin/2137 vm statistics are bad s bin/2090 [patch] [nis] clients may bind to FreeBSD ypserv refus a bin/1375 linimon [patch] Extraneous warning from mv(1) 5963 problems total. From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 11:30:06 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7191810656B9 for ; Mon, 31 Aug 2009 11:30:06 +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 3460B8FC18 for ; Mon, 31 Aug 2009 11:30:06 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VBU6Oo094196 for ; Mon, 31 Aug 2009 11:30:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VBU6KD094195; Mon, 31 Aug 2009 11:30:06 GMT (envelope-from gnats) Resent-Date: Mon, 31 Aug 2009 11:30:06 GMT Resent-Message-Id: <200908311130.n7VBU6KD094195@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Patroklos Argyroudis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF1F51065672 for ; Mon, 31 Aug 2009 11:23:19 +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 9E0B68FC1D for ; Mon, 31 Aug 2009 11:23:19 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VBNJRM013610 for ; Mon, 31 Aug 2009 11:23:19 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7VBNJu1013609; Mon, 31 Aug 2009 11:23:19 GMT (envelope-from nobody) Message-Id: <200908311123.n7VBNJu1013609@www.freebsd.org> Date: Mon, 31 Aug 2009 11:23:19 GMT From: Patroklos Argyroudis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138390: NULL pointer dereference in gif_input() in file sys/net/if_gif.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 11:30:06 -0000 >Number: 138390 >Category: kern >Synopsis: NULL pointer dereference in gif_input() in file sys/net/if_gif.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 31 11:30:05 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Patroklos Argyroudis >Release: 8.0-CURRENT >Organization: census, inc >Environment: N/A >Description: There is a possible NULL pointer dereference in gif_input() in file sys/net/if_gif.c at line 510. The check against NULL at line 515 should be before the dereference of ifp at line 510. >How-To-Repeat: N/A >Fix: Patch attached. Patch attached with submission follows: --- ./sys/net/if_gif.c.orig 2009-08-28 16:49:31.000000000 +0300 +++ ./sys/net/if_gif.c 2009-08-28 16:50:59.000000000 +0300 @@ -507,7 +507,7 @@ struct ifnet *ifp; { int isr, n; - struct gif_softc *sc = ifp->if_softc; + struct gif_softc *sc; struct etherip_header *eip; struct ether_header *eh; struct ifnet *oldifp; @@ -518,6 +518,7 @@ return; } + sc = ifp->if_softc; m->m_pkthdr.rcvif = ifp; #ifdef MAC >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 13:58:47 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 079AD1065672; Mon, 31 Aug 2009 13:58:47 +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 D2B088FC08; Mon, 31 Aug 2009 13:58:46 +0000 (UTC) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VDwkrU047320; Mon, 31 Aug 2009 13:58:46 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VDwkT9047316; Mon, 31 Aug 2009 13:58:46 GMT (envelope-from gavin) Date: Mon, 31 Aug 2009 13:58:46 GMT Message-Id: <200908311358.n7VDwkT9047316@freefall.freebsd.org> To: gavin@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: usb/138389: [usb8] NULL pointer dereference in usb_endpoint_foreach() in file sys/dev/usb/usb_device.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 13:58:47 -0000 Old Synopsis: NULL pointer dereference in usb_endpoint_foreach() in file sys/dev/usb/usb_device.c New Synopsis: [usb8] NULL pointer dereference in usb_endpoint_foreach() in file sys/dev/usb/usb_device.c Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: gavin Responsible-Changed-When: Mon Aug 31 13:57:19 UTC 2009 Responsible-Changed-Why: Bug in new USB stack, with patch. Over to maintainer(s) http://www.freebsd.org/cgi/query-pr.cgi?pr=138389 From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 14:20:07 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03021106568D for ; Mon, 31 Aug 2009 14:20:07 +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 E5F558FC14 for ; Mon, 31 Aug 2009 14:20:06 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VEK6Xq067458 for ; Mon, 31 Aug 2009 14:20:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VEK6no067451; Mon, 31 Aug 2009 14:20:06 GMT (envelope-from gnats) Date: Mon, 31 Aug 2009 14:20:06 GMT Message-Id: <200908311420.n7VEK6no067451@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: kern/138004: commit references a PR X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 14:20:07 -0000 The following reply was made to PR kern/138004; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/138004: commit references a PR Date: Mon, 31 Aug 2009 14:14:00 +0000 (UTC) Author: jamie Date: Mon Aug 31 14:13:45 2009 New Revision: 196699 URL: http://svn.freebsd.org/changeset/base/196699 Log: MFC r196592: Fix a LOR between allprison_lock and vnode locks by releasing allprison_lock before releasing a prison's root vnode. PR: kern/138004 Reviewed by: kib Approved by: re (rwatson), bz (mentor) Modified: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) stable/8/sys/kern/kern_jail.c Modified: stable/8/sys/kern/kern_jail.c ============================================================================== --- stable/8/sys/kern/kern_jail.c Mon Aug 31 14:06:59 2009 (r196698) +++ stable/8/sys/kern/kern_jail.c Mon Aug 31 14:13:45 2009 (r196699) @@ -2453,7 +2453,7 @@ prison_deref(struct prison *pr, int flag ppr = pr->pr_parent; for (tpr = ppr; tpr != NULL; tpr = tpr->pr_parent) tpr->pr_childcount--; - sx_downgrade(&allprison_lock); + sx_xunlock(&allprison_lock); #ifdef VIMAGE if (pr->pr_vnet != ppr->pr_vnet) @@ -2479,7 +2479,7 @@ prison_deref(struct prison *pr, int flag /* Removing a prison frees a reference on its parent. */ pr = ppr; mtx_lock(&pr->pr_mtx); - flags = PD_DEREF | PD_LIST_SLOCKED; + flags = PD_DEREF; } } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 14:22:27 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C7531065670; Mon, 31 Aug 2009 14:22:27 +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 4325F8FC19; Mon, 31 Aug 2009 14:22:27 +0000 (UTC) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VEMRHt076691; Mon, 31 Aug 2009 14:22:27 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VEMREW076687; Mon, 31 Aug 2009 14:22:27 GMT (envelope-from gavin) Date: Mon, 31 Aug 2009 14:22:27 GMT Message-Id: <200908311422.n7VEMREW076687@freefall.freebsd.org> To: gavin@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: kern/138390: [gif] [patch] NULL pointer dereference in gif_input() in file sys/net/if_gif.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 14:22:27 -0000 Old Synopsis: NULL pointer dereference in gif_input() in file sys/net/if_gif.c New Synopsis: [gif] [patch] NULL pointer dereference in gif_input() in file sys/net/if_gif.c Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: gavin Responsible-Changed-When: Mon Aug 31 14:20:26 UTC 2009 Responsible-Changed-Why: Over to maintainer(s) http://www.freebsd.org/cgi/query-pr.cgi?pr=138390 From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 17:08:00 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7FA91065679; Mon, 31 Aug 2009 17:08:00 +0000 (UTC) (envelope-from jamie@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9EAEF8FC0C; Mon, 31 Aug 2009 17:08:00 +0000 (UTC) Received: from freefall.freebsd.org (jamie@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VH80Ux036423; Mon, 31 Aug 2009 17:08:00 GMT (envelope-from jamie@freefall.freebsd.org) Received: (from jamie@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VH807U036419; Mon, 31 Aug 2009 17:08:00 GMT (envelope-from jamie) Date: Mon, 31 Aug 2009 17:08:00 GMT Message-Id: <200908311708.n7VH807U036419@freefall.freebsd.org> To: pcc@gmx.net, jamie@FreeBSD.org, freebsd-bugs@FreeBSD.org From: jamie@FreeBSD.org Cc: Subject: Re: kern/138004: [lor] allprison/ufs (kern_jail.c:2449 / vfs_subr.c:2188) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 17:08:00 -0000 Synopsis: [lor] allprison/ufs (kern_jail.c:2449 / vfs_subr.c:2188) State-Changed-From-To: open->closed State-Changed-By: jamie State-Changed-When: Mon Aug 31 17:04:39 UTC 2009 State-Changed-Why: Fixed in r196592/r196699. http://www.freebsd.org/cgi/query-pr.cgi?pr=138004 From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 17:30:07 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A57E110656A3 for ; Mon, 31 Aug 2009 17:30:07 +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 68B7D8FC2A for ; Mon, 31 Aug 2009 17:30:07 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VHU7bs056595 for ; Mon, 31 Aug 2009 17:30:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VHU7EV056592; Mon, 31 Aug 2009 17:30:07 GMT (envelope-from gnats) Resent-Date: Mon, 31 Aug 2009 17:30:07 GMT Resent-Message-Id: <200908311730.n7VHU7EV056592@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nick Kritsky Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 739871065679 for ; Mon, 31 Aug 2009 17:28:04 +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 629DC8FC1C for ; Mon, 31 Aug 2009 17:28:04 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VHS3F7046949 for ; Mon, 31 Aug 2009 17:28:03 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7VHS3WD046948; Mon, 31 Aug 2009 17:28:03 GMT (envelope-from nobody) Message-Id: <200908311728.n7VHS3WD046948@www.freebsd.org> Date: Mon, 31 Aug 2009 17:28:03 GMT From: Nick Kritsky To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: conf/138407: gre(4) interface does not come up after reboot X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 17:30:07 -0000 >Number: 138407 >Category: conf >Synopsis: gre(4) interface does not come up after reboot >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 31 17:30:06 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Nick Kritsky >Release: 7.2-RELEASE >Organization: >Environment: FreeBSD suzmisgw01.internal.corp 7.2-RELEASE FreeBSD 7.2-RELEASE #1: Thu Jul 2 23:20:47 CST 2009 root@ESSUZNMS01.TAIHOOTECH.COM:/usr/obj/usr/src/sys/VPN i386 >Description: GRE interface will not work after reboot. Following line were added to rc.conf: cloned_interfaces="gre3168" ifconfig_gre3168="inet 192.168.249.170 192.168.249.169 netmask 255.255.255.254 tunnel 10.166.2.40 195.62.48.25 mtu 1400" When running "ifconfig gre3168" I noticed that interface is missing "RUNNING" flag. If I issue "ifconfig gre3168 up" the interface becomes operational, and "RUNNING" flag is added to "ifconfig gre3168" output. >How-To-Repeat: 1. Create records about GRE interface in rc.conf. 2. Reboot the server 3. try ping rhe remote side of GRE tunnel. You should get "network is down" error. >Fix: Possible reason for this lies in /usr/src/sys/net/if_gre.c, line 633: if (gre_compute_route(sc) == 0) ifp->if_drv_flags |= IFF_DRV_RUNNING; else ifp->if_drv_flags &= ~IFF_DRV_RUNNING; If the system did not install default route before the gre interface initialization, setting up tunnel properties will not trigger RUNNING flag on interface. My knowledge of 7.x kernel is not enough to decide if this check is safe to comment out. My quick fix was just adding "ifconfig gre3168 up" in rc.local. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 17:31:52 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87DF41065676; Mon, 31 Aug 2009 17:31:52 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5E8088FC1E; Mon, 31 Aug 2009 17:31:52 +0000 (UTC) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VHVqfI067177; Mon, 31 Aug 2009 17:31:52 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VHVq75067173; Mon, 31 Aug 2009 17:31:52 GMT (envelope-from linimon) Date: Mon, 31 Aug 2009 17:31:52 GMT Message-Id: <200908311731.n7VHVq75067173@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-scsi@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/138384: [ips] [patch] NULL pointer dereference in ipsd_dump() in file sys/dev/ips/ips_disk.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 17:31:52 -0000 Synopsis: [ips] [patch] NULL pointer dereference in ipsd_dump() in file sys/dev/ips/ips_disk.c Responsible-Changed-From-To: freebsd-bugs->freebsd-scsi Responsible-Changed-By: linimon Responsible-Changed-When: Mon Aug 31 17:31:44 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=138384 From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 17:37:04 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C73A7106566B; Mon, 31 Aug 2009 17:37:04 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9DEBF8FC0C; Mon, 31 Aug 2009 17:37:04 +0000 (UTC) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VHb4Qn068147; Mon, 31 Aug 2009 17:37:04 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VHb4NC068143; Mon, 31 Aug 2009 17:37:04 GMT (envelope-from linimon) Date: Mon, 31 Aug 2009 17:37:04 GMT Message-Id: <200908311737.n7VHb4NC068143@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/138407: [gre] gre(4) interface does not come up after reboot X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 17:37:04 -0000 Old Synopsis: gre(4) interface does not come up after reboot New Synopsis: [gre] gre(4) interface does not come up after reboot Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Mon Aug 31 17:36:28 UTC 2009 Responsible-Changed-Why: Most likely a problem in the driver. http://www.freebsd.org/cgi/query-pr.cgi?pr=138407 From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 19:29:58 2009 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14774106566C; Mon, 31 Aug 2009 19:29:58 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.swipnet.se [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id 721478FC16; Mon, 31 Aug 2009 19:29:56 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=HUF8va4OtzMA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=Pl4l35Wf3-gsS9hQHEAA:9 a=0JT4jC6gcSsMH2EfRcsA:7 a=Le1YyWeI4xfqPGgjei_EbAeQxgwA:4 a=SV7veod9ZcQA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 561721371; Mon, 31 Aug 2009 20:29:53 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Mon, 31 Aug 2009 20:30:11 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <200908311358.n7VDwkT9047316@freefall.freebsd.org> In-Reply-To: <200908311358.n7VDwkT9047316@freefall.freebsd.org> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908312030.13115.hselasky@c2i.net> Cc: freebsd-bugs@freebsd.org, gavin@freebsd.org Subject: Re: usb/138389: [usb8] NULL pointer dereference in usb_endpoint_foreach() in file sys/dev/usb/usb_device.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 19:29:58 -0000 On Monday 31 August 2009 15:58:46 gavin@freebsd.org wrote: > Old Synopsis: NULL pointer dereference in usb_endpoint_foreach() in file > sys/dev/usb/usb_device.c New Synopsis: [usb8] NULL pointer dereference in > usb_endpoint_foreach() in file sys/dev/usb/usb_device.c Your patch has been committed: http://perforce.freebsd.org/chv.cgi?CH=168019 Thanks for your bugreport! --HPS From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 19:40:06 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEDA61065670 for ; Mon, 31 Aug 2009 19:40:06 +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 CC09A8FC12 for ; Mon, 31 Aug 2009 19:40:06 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VJe6UB093604 for ; Mon, 31 Aug 2009 19:40:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VJe6Ox093603; Mon, 31 Aug 2009 19:40:06 GMT (envelope-from gnats) Resent-Date: Mon, 31 Aug 2009 19:40:06 GMT Resent-Message-Id: <200908311940.n7VJe6Ox093603@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Rick C. Petty" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B478C106568F for ; Mon, 31 Aug 2009 19:39:20 +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 A38DC8FC19 for ; Mon, 31 Aug 2009 19:39:20 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VJdKAS045572 for ; Mon, 31 Aug 2009 19:39:20 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7VJdKti045565; Mon, 31 Aug 2009 19:39:20 GMT (envelope-from nobody) Message-Id: <200908311939.n7VJdKti045565@www.freebsd.org> Date: Mon, 31 Aug 2009 19:39:20 GMT From: "Rick C. Petty" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/138421: UFS label limitations X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 19:40:07 -0000 >Number: 138421 >Category: misc >Synopsis: UFS label limitations >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Aug 31 19:40:06 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Rick C. Petty >Release: 8-STABLE >Organization: >Environment: FreeBSD myhost 8.0-BETA3 FreeBSD 8.0-BETA3 #2 r196660M: Sun Aug 30 19:54:44 CDT 2009 root@myhost:/usr/obj/usr/src/sys/GENERIC amd64 >Description: UFS filesystems allow label/volume names containing alphanumeric characters only. There is a need for at least one separator character. This request and patches were submitted to freebsd-fs@ and freebsd-current@ but no one on those lists seems to be willing to commit this innocuous patch. I've been using a patched system for well over a year on a number of systems. >How-To-Repeat: /sbin/newfs -L volume-name ... -or- /sbin/tunefs -L volume-name ... >Fix: One of the following patches, to allow acceptable POSIX filename characters as part of UFS labels. The first manually tests against the acceptable characters, which should be faster. This second patch is using strspn(3) as suggested by des@ in case the first patch is not acceptable. It is slower but we are likely going to do I/O anyway. I don't care which patch you chose, just please someone commit the damn thing! =) Patch attached with submission follows: --- src/sbin/newfs/newfs.c.orig 2007-03-02 14:07:59.000000000 -0600 +++ src/sbin/newfs/newfs.c 2008-12-15 17:29:26.000000000 -0600 @@ -168,11 +168,15 @@ case 'L': volumelabel = optarg; i = -1; - while (isalnum(volumelabel[++i])); - if (volumelabel[i] != '\0') { - errx(1, "bad volume label. Valid characters are alphanumerics."); - } - if (strlen(volumelabel) >= MAXVOLLEN) { + while ((ch = volumelabel[++i]) != '\0') + if (ch != '-' && ch != '.' && ch != '_' && + (ch < '0' || ch > '9') && + (ch < 'A' || ch > 'Z') && + (ch < 'a' || ch > 'z')) + errx(1, + "bad volume label. Valid characters are " + "[0-9A-Za-z._-]."); + if (i >= MAXVOLLEN) { errx(1, "bad volume label. Length is longer than %d.", MAXVOLLEN); } --- src/sbin/tunefs/tunefs.c.orig 2008-02-26 14:25:35.000000000 -0600 +++ src/sbin/tunefs/tunefs.c 2008-12-15 17:27:58.000000000 -0600 @@ -153,13 +153,16 @@ name = "volume label"; Lvalue = optarg; i = -1; - while (isalnum(Lvalue[++i])); - if (Lvalue[i] != '\0') { + while ((ch = Lvalue[++i]) != '\0') + if (ch != '-' && ch != '.' && ch != '_' && + (ch < '0' || ch > '9') && + (ch < 'A' || ch > 'Z') && + (ch < 'a' || ch > 'z')) errx(10, - "bad %s. Valid characters are alphanumerics.", + "bad %s. Valid characters are " + "[0-9A-Za-z._-].", name); - } - if (strlen(Lvalue) >= MAXVOLLEN) { + if (i >= MAXVOLLEN) { errx(10, "bad %s. Length is longer than %d.", name, MAXVOLLEN - 1); } --- src/sbin/newfs/newfs.c.orig 2008-05-03 23:51:38.000000000 -0500 +++ src/sbin/newfs/newfs.c 2009-07-22 16:58:48.000000000 -0500 @@ -167,10 +167,10 @@ break; case 'L': volumelabel = optarg; - i = -1; - while (isalnum(volumelabel[++i])); + i = strspn(volumelabel, + "-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz"); if (volumelabel[i] != '\0') { - errx(1, "bad volume label. Valid characters are alphanumerics."); + errx(1, "bad volume label. Valid characters are [0-9A-Za-z._-]."); } if (strlen(volumelabel) >= MAXVOLLEN) { errx(1, "bad volume label. Length is longer than %d.", --- src/sbin/tunefs/tunefs.c.orig 2008-05-03 23:51:52.000000000 -0500 +++ src/sbin/tunefs/tunefs.c 2009-07-22 17:01:23.000000000 -0500 @@ -152,11 +152,11 @@ found_arg = 1; name = "volume label"; Lvalue = optarg; - i = -1; - while (isalnum(Lvalue[++i])); + i = strspn(Lvalue, + "-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz"); if (Lvalue[i] != '\0') { errx(10, - "bad %s. Valid characters are alphanumerics.", + "bad %s. Valid characters are [0-9A-Za-z._-].", name); } if (strlen(Lvalue) >= MAXVOLLEN) { >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 20:20:01 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5ABF81065679 for ; Mon, 31 Aug 2009 20: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 3440D8FC1B for ; Mon, 31 Aug 2009 20:20:01 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VKK1rW032624 for ; Mon, 31 Aug 2009 20: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 n7VKK1g0032623; Mon, 31 Aug 2009 20:20:01 GMT (envelope-from gnats) Resent-Date: Mon, 31 Aug 2009 20:20:01 GMT Resent-Message-Id: <200908312020.n7VKK1g0032623@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pete French Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B3D21065676 for ; Mon, 31 Aug 2009 20:12:02 +0000 (UTC) (envelope-from pete@twisted.org.uk) Received: from relay.ptn-ipout02.plus.net (relay.ptn-ipout02.plus.net [212.159.7.36]) by mx1.freebsd.org (Postfix) with ESMTP id EFE7F8FC13 for ; Mon, 31 Aug 2009 20:12:01 +0000 (UTC) Received: from ptb-relay02.plus.net ([212.159.14.146]) by relay.ptn-ipout02.plus.net with ESMTP; 31 Aug 2009 20:42:57 +0100 Received: from [212.159.117.4] (helo=frenic.twisted.org.uk) by ptb-relay02.plus.net with esmtp (Exim) id 1MiCmG-0004Ho-Ni for FreeBSD-gnats-submit@freebsd.org; Mon, 31 Aug 2009 20:42:56 +0100 Received: from pete by frenic.twisted.org.uk with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MiCmE-0000L7-D7 for FreeBSD-gnats-submit@freebsd.org; Mon, 31 Aug 2009 20:42:54 +0100 Message-Id: Date: Mon, 31 Aug 2009 20:42:54 +0100 From: Pete French To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: bin/138423: Installer (and sade) get wrong number of sectors per trac X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pete French List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 20:20:01 -0000 >Number: 138423 >Category: bin >Synopsis: Installer (and sade) get wrong number of sectors per trac >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 31 20:20:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Pete French >Release: FreeBSD 8.0-BETA3 amd64 >Organization: >Environment: System: FreeBSD frenic.twisted.org.uk 8.0-BETA3 FreeBSD 8.0-BETA3 #1: Mon Aug 31 19:02:03 BST 2009 root@frenic.twisted.org.uk:/usr/obj/usr/src/sys/GENERIC amd64 >Description: When installing 8.0 or running sade after install, the tools appear to think that the disc has 63 sectors per track, and this is written into the disc label. If the disc actually has a different number of sectors then on boot then warnings are generated like this: GEOM: da0: partition 1 does not start on a track boundary. GEOM: da0: partition 1 does not end on a track boundary. GEOM: da0s1: geometry does not match label (255h,63s != 255h,32s). In my specific case I am installing onto an HP RAID controller, which provides logical volumes with 32 sectors per track. This is correctly detected on boot, and reported by diskinfo. The dmesg looks like this: ciss0: port 0xb800-0xb8ff mem 0xf7d00000-0xf7dfffff,0xf7cff000-0xf7cfffff irq 18 at device 0.0 on pci1 ciss0: PERFORMANT Transport ciss0: Using MSIX interrupt ciss0: [ITHREAD] >How-To-Repeat: Perform a vanilla install onto a system with a ciss controller installed. This shuould show up the problem. Other RAID controller may also exhibit this. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 31 21:40:06 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEF901065670 for ; Mon, 31 Aug 2009 21:40:06 +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 8C4E78FC12 for ; Mon, 31 Aug 2009 21:40:06 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VLe6os013692 for ; Mon, 31 Aug 2009 21:40:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VLe6aB013691; Mon, 31 Aug 2009 21:40:06 GMT (envelope-from gnats) Resent-Date: Mon, 31 Aug 2009 21:40:06 GMT Resent-Message-Id: <200908312140.n7VLe6aB013691@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Marcin Nowak Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 802C91065679 for ; Mon, 31 Aug 2009 21:38:55 +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 557FC8FC12 for ; Mon, 31 Aug 2009 21:38:55 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VLcsqp035788 for ; Mon, 31 Aug 2009 21:38:54 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7VLcsGe035781; Mon, 31 Aug 2009 21:38:54 GMT (envelope-from nobody) Message-Id: <200908312138.n7VLcsGe035781@www.freebsd.org> Date: Mon, 31 Aug 2009 21:38:54 GMT From: Marcin Nowak To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138427: Kernel panic after trying set monitor wlanmode on Intel 3945 ABG (wpi driver) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 21:40:06 -0000 >Number: 138427 >Category: kern >Synopsis: Kernel panic after trying set monitor wlanmode on Intel 3945 ABG (wpi driver) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 31 21:40:06 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Marcin Nowak >Release: Current >Organization: >Environment: >Description: Kernel panic after trying set monitor wlanmode on Intel 3945 ABG (wpi driver) I did this in that way: # ifconfig wlan0 create wlandev wpi0 wlanmode monitor >How-To-Repeat: Just try to set that ;-) >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 1 05:11:50 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 291131067E26; Tue, 1 Sep 2009 05:11:42 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2A72A8FC2A; Tue, 1 Sep 2009 05:11:42 +0000 (UTC) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n815BgM9079907; Tue, 1 Sep 2009 05:11:42 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n815Bgcv079903; Tue, 1 Sep 2009 05:11:42 GMT (envelope-from linimon) Date: Tue, 1 Sep 2009 05:11:42 GMT Message-Id: <200909010511.n815Bgcv079903@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-fs@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/138421: [ufs] [patch] remove UFS label limitations X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 05:11:50 -0000 Old Synopsis: UFS label limitations New Synopsis: [ufs] [patch] remove UFS label limitations Responsible-Changed-From-To: freebsd-bugs->freebsd-fs Responsible-Changed-By: linimon Responsible-Changed-When: Tue Sep 1 05:02:51 UTC 2009 Responsible-Changed-Why: reclassify. http://www.freebsd.org/cgi/query-pr.cgi?pr=138421 From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 1 05:32:50 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56BAA106566C; Tue, 1 Sep 2009 05:32:50 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2DC2C8FC17; Tue, 1 Sep 2009 05:32:50 +0000 (UTC) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n815WoMY001718; Tue, 1 Sep 2009 05:32:50 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n815WoJL001714; Tue, 1 Sep 2009 05:32:50 GMT (envelope-from linimon) Date: Tue, 1 Sep 2009 05:32:50 GMT Message-Id: <200909010532.n815WoJL001714@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/138427: [wpi] [panic] Kernel panic after trying set monitor wlanmode on Intel 3945 ABG (wpi driver) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 05:32:50 -0000 Old Synopsis: Kernel panic after trying set monitor wlanmode on Intel 3945 ABG (wpi driver) New Synopsis: [wpi] [panic] Kernel panic after trying set monitor wlanmode on Intel 3945 ABG (wpi driver) Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Tue Sep 1 05:32:27 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=138427 From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 1 09:30:07 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA015106566B for ; Tue, 1 Sep 2009 09:30:07 +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 9C8BA8FC22 for ; Tue, 1 Sep 2009 09:30:07 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n819U7oI064477 for ; Tue, 1 Sep 2009 09:30:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n819U7FV064476; Tue, 1 Sep 2009 09:30:07 GMT (envelope-from gnats) Resent-Date: Tue, 1 Sep 2009 09:30:07 GMT Resent-Message-Id: <200909010930.n819U7FV064476@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Aurélien Ansel Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F390F1065672 for ; Tue, 1 Sep 2009 09:23:50 +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 E29368FC0C for ; Tue, 1 Sep 2009 09:23:50 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n819NoHX016448 for ; Tue, 1 Sep 2009 09:23:50 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n819Noq0016429; Tue, 1 Sep 2009 09:23:50 GMT (envelope-from nobody) Message-Id: <200909010923.n819Noq0016429@www.freebsd.org> Date: Tue, 1 Sep 2009 09:23:50 GMT From: Aurélien Ansel To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138439: [IPSec] Tunnel with IPv4 and IPv6 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 09:30:07 -0000 >Number: 138439 >Category: kern >Synopsis: [IPSec] Tunnel with IPv4 and IPv6 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 01 09:30:06 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Aurélien Ansel >Release: 7.2-STABLE >Organization: NETASQ >Environment: FreeBSD aureliena2.netasq.com 7.2-STABLE FreeBSD 7.2-STABLE #3: Tue Sep 1 10:49:57 CEST 2009 root@aureliena2.netasq.com:/usr/src/sys/i386/compile/NOYAU i386 >Description: The component Setkey of the port 'ipsec-tools' refuse the SP for a tunnel with IPv4 in IPv6. Setkey respond 'Invalid Argument'. That comes from the kernelland, from netipsec/key.c. An extract of my setkey.sh : spdadd 222.222.222.0/24 111.111.111.0/24 any -P out ipsec esp/tunnel/2001::2-2001::1/require; spdadd 111.111.111.0/24 222.222.222.0/24 any -P in ipsec esp/tunnel/2001::1-2001::2/require; /!\ The patch attached is NOT a fix, it's a help to show where the problem comes from !!!!!! >How-To-Repeat: With the component setkey try : spdadd 222.222.222.0/24 111.111.111.0/24 any -P out ipsec esp/tunnel/2001::2-2001::1/require; without the patch attached and after with it. The first time Setkey will respond 'invalid argument', the second time it will be OK. >Fix: Patch attached with submission follows: --- key.c.backup 2009-08-31 18:02:20.000000000 +0200 +++ key.c 2009-09-01 11:10:32.000000000 +0200 @@ -1891,7 +1891,7 @@ _key_delsp(newsp); return key_senderror(so, m, EINVAL); } -#if 1 +#if 0 if (newsp->req && newsp->req->saidx.src.sa.sa_family) { struct sockaddr *sa; sa = (struct sockaddr *)(src0 + 1); >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 1 09:31:55 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C4741065670; Tue, 1 Sep 2009 09:31:55 +0000 (UTC) (envelope-from vanhu@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 43F868FC1B; Tue, 1 Sep 2009 09:31:55 +0000 (UTC) Received: from freefall.freebsd.org (vanhu@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n819VtTF075016; Tue, 1 Sep 2009 09:31:55 GMT (envelope-from vanhu@freefall.freebsd.org) Received: (from vanhu@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n819Vt8E075012; Tue, 1 Sep 2009 09:31:55 GMT (envelope-from vanhu) Date: Tue, 1 Sep 2009 09:31:55 GMT Message-Id: <200909010931.n819Vt8E075012@freefall.freebsd.org> To: vanhu@FreeBSD.org, freebsd-bugs@FreeBSD.org, vanhu@FreeBSD.org From: vanhu@FreeBSD.org Cc: Subject: Re: kern/138439: [IPSec] Tunnel with IPv4 and IPv6 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 09:31:55 -0000 Synopsis: [IPSec] Tunnel with IPv4 and IPv6 Responsible-Changed-From-To: freebsd-bugs->vanhu Responsible-Changed-By: vanhu Responsible-Changed-When: Tue Sep 1 09:31:18 UTC 2009 Responsible-Changed-Why: Already started to work on it with Aurelien. http://www.freebsd.org/cgi/query-pr.cgi?pr=138439 From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 1 14:00:16 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53CEA10656B0 for ; Tue, 1 Sep 2009 14:00:16 +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 111F08FC20 for ; Tue, 1 Sep 2009 14:00:16 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n81E0FVR036697 for ; Tue, 1 Sep 2009 14:00:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n81E0Fng036696; Tue, 1 Sep 2009 14:00:15 GMT (envelope-from gnats) Resent-Date: Tue, 1 Sep 2009 14:00:15 GMT Resent-Message-Id: <200909011400.n81E0Fng036696@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Igmar Palsenberg Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 654BE1065670 for ; Tue, 1 Sep 2009 13:52:38 +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 54DA78FC15 for ; Tue, 1 Sep 2009 13:52:38 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n81Dqbtu003413 for ; Tue, 1 Sep 2009 13:52:37 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n81DqbS6003412; Tue, 1 Sep 2009 13:52:37 GMT (envelope-from nobody) Message-Id: <200909011352.n81DqbS6003412@www.freebsd.org> Date: Tue, 1 Sep 2009 13:52:37 GMT From: Igmar Palsenberg To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138444: open-vm-tools-nox11-167859_1 hgfs cause a kernel panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 14:00:16 -0000 >Number: 138444 >Category: kern >Synopsis: open-vm-tools-nox11-167859_1 hgfs cause a kernel panic >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 01 14:00:15 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Igmar Palsenberg >Release: 8.0 Beta3 >Organization: JDI Internet Professionals >Environment: FreeBSD fbsd-devel.vmware.jdi-ict.local 8.0-BETA3 FreeBSD 8.0-BETA3 #0: Sat Aug 22 02:36:50 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Access to a hgfs mounted FS result in a kernel panic. I can reproduce this when running a make clean on a project. panic: Lock (lockmgr) vmhgfs not locked @ /usr/src/sys/kern/vfs_lookup.c:875. cpuid = 0 KBD: enter: panic [thread pid 930 tid 10070 ] Stopped at kbd_enter+0x4a: movl $0,kbd_why >How-To-Repeat: Mount a vmware shared folder make clean on a project >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 1 16:54:55 2009 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DF42106568D; Tue, 1 Sep 2009 16:54:55 +0000 (UTC) (envelope-from jamie@bishopston.net) Received: from pacha.mail.bishopston.net (pacha.mail.bishopston.net [IPv6:2001:5c0:1100:200::3]) by mx1.freebsd.org (Postfix) with ESMTP id 519FF8FC16; Tue, 1 Sep 2009 16:54:55 +0000 (UTC) X-Catflap-Envelope-From: Received: from catflap.bishopston.net (jamie@localhost [127.0.0.1]) by catflap.bishopston.net (8.14.3/8.14.3) with ESMTP id n81GssYt031677; Tue, 1 Sep 2009 17:54:54 +0100 (BST) (envelope-from jamie@catflap.bishopston.net) Received: (from jamie@localhost) by catflap.bishopston.net (8.14.3/8.12.9/Submit) id n81GssMj031669; Tue, 1 Sep 2009 17:54:54 +0100 (BST) From: Jamie Landeg Jones Message-Id: <200909011654.n81GssMj031669@catflap.bishopston.net> Date: Tue, 01 Sep 2009 17:54:54 +0100 Organization: http://www.bishopston.com/jamie/ To: jamie@bishopston.net, FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org References: <200907311720.n6VHK4lj090578@freefall.freebsd.org> <200908021902.n72J2FK0013429@catflap.bishopston.net> In-Reply-To: <200908021902.n72J2FK0013429@catflap.bishopston.net> User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.2 (catflap.bishopston.net [127.0.0.1]); Tue, 01 Sep 2009 17:54:54 +0100 (BST) X-Virus-Scanned: clamav-milter 0.95.2 at catflap.bishopston.net X-Virus-Status: Clean Cc: kostikbel@gmail.com Subject: Re: kern/137310: reproducable kernel panic: page fault FreeBSD 7.2-STABLE X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 16:54:55 -0000 I tried that patch and it does indeed fix the problem. Please feel free to close this PR when you want. Thanks, Jamie From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 1 17:00:16 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7832106566B for ; Tue, 1 Sep 2009 17:00:16 +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 8F9A38FC22 for ; Tue, 1 Sep 2009 17:00:16 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n81H0GH2017867 for ; Tue, 1 Sep 2009 17:00:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n81H0GYV017866; Tue, 1 Sep 2009 17:00:16 GMT (envelope-from gnats) Date: Tue, 1 Sep 2009 17:00:16 GMT Message-Id: <200909011700.n81H0GYV017866@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Igmar Palsenberg Cc: Subject: Re: kern/138444: open-vm-tools-nox11-167859_1 hgfs cause a kernel panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Igmar Palsenberg List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 17:00:16 -0000 The following reply was made to PR kern/138444; it has been noted by GNATS. From: Igmar Palsenberg To: bug-followup@freebsd.org Cc: i.palsenberg@jdi.nl Subject: Re: kern/138444: open-vm-tools-nox11-167859_1 hgfs cause a kernel panic Date: Tue, 1 Sep 2009 18:31:28 +0200 (CEST) I've reconfigured to use a serial console, and not dump me in a debugger prompt on a panic. I've uploaded the serial console output and /var/crash/core.txt.0 file to a public server. Serial output : http://www.palsenberg.com/fbsd-devel/fbsd-devel-serial.txt /var/crash file : http://www.palsenberg.com/fbsd-devel/core.0.txt If anyone needs more info, of if I need to test something : let me know. Regards, Igmar From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 1 17:00:18 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BDDB1065676 for ; Tue, 1 Sep 2009 17:00:18 +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 614B98FC08 for ; Tue, 1 Sep 2009 17:00:18 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n81H0I6P017899 for ; Tue, 1 Sep 2009 17:00:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n81H0IKf017898; Tue, 1 Sep 2009 17:00:18 GMT (envelope-from gnats) Date: Tue, 1 Sep 2009 17:00:18 GMT Message-Id: <200909011700.n81H0IKf017898@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Jamie Landeg Jones Cc: Subject: Re: kern/137310: reproducable kernel panic: page fault FreeBSD 7.2-STABLE X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jamie Landeg Jones List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 17:00:18 -0000 The following reply was made to PR kern/137310; it has been noted by GNATS. From: Jamie Landeg Jones To: jamie@bishopston.net, FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org Cc: kostikbel@gmail.com Subject: Re: kern/137310: reproducable kernel panic: page fault FreeBSD 7.2-STABLE Date: Tue, 01 Sep 2009 17:54:54 +0100 I tried that patch and it does indeed fix the problem. Please feel free to close this PR when you want. Thanks, Jamie From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 1 18:43:29 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29F091065670; Tue, 1 Sep 2009 18:43:29 +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 1A3BE8FC08; Tue, 1 Sep 2009 18:43:29 +0000 (UTC) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n81IhSxp028458; Tue, 1 Sep 2009 18:43:28 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n81IhSFA028454; Tue, 1 Sep 2009 18:43:28 GMT (envelope-from gavin) Date: Tue, 1 Sep 2009 18:43:28 GMT Message-Id: <200909011843.n81IhSFA028454@freefall.freebsd.org> To: i.palsenberg@jdi.nl, gavin@FreeBSD.org, freebsd-bugs@FreeBSD.org, gavin@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: kern/138444: open-vm-tools-nox11-167859_1 hgfs cause a kernel panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 18:43:29 -0000 Synopsis: open-vm-tools-nox11-167859_1 hgfs cause a kernel panic State-Changed-From-To: open->feedback State-Changed-By: gavin State-Changed-When: Tue Sep 1 18:29:13 UTC 2009 State-Changed-Why: To submitter: Firstly, thank you for the very good debugging information! Can you go into a little detail about how this server was initially installed? (e.g. clean install from CD, updated via freebsd-update or similar). Can you please try to remove and recompile the open-vm-tools port and all the fuse* ports you have installed and see if that makes a difference? At the moment I'm not sure if this is caused by a bug in the kernel module shipped as part of open-vm-tools, or if it is related to a kernel change that occured between when the package was built, and when your kernel was built. Thanks! Responsible-Changed-From-To: freebsd-bugs->gavin Responsible-Changed-By: gavin Responsible-Changed-When: Tue Sep 1 18:29:13 UTC 2009 Responsible-Changed-Why: Track http://www.freebsd.org/cgi/query-pr.cgi?pr=138444 From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 1 19:35:06 2009 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B09BC106568D; Tue, 1 Sep 2009 19:35:06 +0000 (UTC) (envelope-from i.palsenberg@jdi.nl) Received: from mail.jdi-ict.nl (mail.jdi.nl [82.94.239.7]) by mx1.freebsd.org (Postfix) with ESMTP id 486088FC1B; Tue, 1 Sep 2009 19:35:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id n81JEnYE025203; Tue, 1 Sep 2009 21:14:49 +0200 X-Virus-Scanned: by amavisd-new at jdi-ict.nl Received: from jdi.jdi-ict.nl (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id n81JEk3t025182; Tue, 1 Sep 2009 21:14:47 +0200 Received: from localhost (igmar@localhost) by jdi.jdi-ict.nl (8.13.7/8.12.11/Submit) with ESMTP id n81JEkaq025176; Tue, 1 Sep 2009 21:14:46 +0200 Date: Tue, 1 Sep 2009 21:14:46 +0200 (CEST) From: Igmar Palsenberg X-X-Sender: igmar@jdi.jdi-ict.nl To: gavin@FreeBSD.org In-Reply-To: <200909011843.n81IhSFA028454@freefall.freebsd.org> Message-ID: References: <200909011843.n81IhSFA028454@freefall.freebsd.org> User-Agent: Alpine 2.00 (LRH 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2 (jdi.jdi-ict.nl [127.0.0.1]); Tue, 01 Sep 2009 21:14:47 +0200 (CEST) Cc: freebsd-bugs@FreeBSD.org Subject: Re: kern/138444: open-vm-tools-nox11-167859_1 hgfs cause a kernel panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 19:35:06 -0000 Hi, > To submitter: Firstly, thank you for the very good debugging information! > Can you go into a little detail about how this server was initially installed? > (e.g. clean install from CD, updated via freebsd-update or similar). A clean install with the FreeBSD 8.0 Beta3 CD. The open-vm-tools and fuse* packages have been downloaded from the FreeBSD server (ftp.nl.freebsd.org), and installed manually (since pkg_install -r gave me errors). > Can you please try to remove and recompile the open-vm-tools port and all > the fuse* ports you have installed and see if that makes a difference? > At the moment I'm not sure if this is caused by a bug in the kernel module > shipped as part of open-vm-tools, or if it is related to a kernel change > that occured between when the package was built, and when your kernel was > built. Thanks! I'll do so. I'll let you know what the result is. I assume that I can use the version from ports ? Regards, Igmar From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 1 20:10:05 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36ED1106566C for ; Tue, 1 Sep 2009 20:10:05 +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 1481A8FC19 for ; Tue, 1 Sep 2009 20:10:05 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n81KA4Ub006841 for ; Tue, 1 Sep 2009 20:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n81KA4Hk006840; Tue, 1 Sep 2009 20:10:04 GMT (envelope-from gnats) Resent-Date: Tue, 1 Sep 2009 20:10:04 GMT Resent-Message-Id: <200909012010.n81KA4Hk006840@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, alberto villa Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36DE41065676 for ; Tue, 1 Sep 2009 20:09:58 +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 0CDA58FC0C for ; Tue, 1 Sep 2009 20:09:58 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n81K9veY028673 for ; Tue, 1 Sep 2009 20:09:57 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n81K9vG0028672; Tue, 1 Sep 2009 20:09:57 GMT (envelope-from nobody) Message-Id: <200909012009.n81K9vG0028672@www.freebsd.org> Date: Tue, 1 Sep 2009 20:09:57 GMT From: alberto villa To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: conf/138460: [patch] start local rc scripts in background X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 20:10:05 -0000 >Number: 138460 >Category: conf >Synopsis: [patch] start local rc scripts in background >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Sep 01 20:10:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: alberto villa >Release: FreeBSD 8-STABLE >Organization: >Environment: FreeBSD echo.hoth 8.0-BETA2 FreeBSD 8.0-BETA2 #11: Sat Aug 15 17:55:03 CEST 2009 root@echo.hoth:/usr/obj/usr/src/sys/TPR60 i386 >Description: starting every rc script in sequence makes long boot times. the only option to control this is background_dhclient, which can save up to 20 seconds, but local services take more than half the boot time >How-To-Repeat: >Fix: the attached patch (/etc/rc) checks for local scripts which don't have to start BEFORE other scripts: it should be safe to start them in background, unless they depend on other local scripts (this shouldn't happen, but it should be handled anyway) being able to control the behaviour with a rcvar (something like background_daemons=YES|NO) would be nice, but i wasn't able to get its value (for some reason, it resulted empty if read with load_rc_config 'background_daemons') a /sbin/rcorder modification would be also needed to handle local scripts which depend on other local scripts... with rcorder listing background able scripts at the end, it would be easy Patch attached with submission follows: --- /etc/rc.orig 2009-09-01 15:20:23.231449039 +0200 +++ /etc/rc 2009-09-01 19:01:23.412933856 +0200 @@ -92,7 +92,7 @@ esac done -unset files local_rc +unset files late_files local_rc # Now that disks are mounted, for each dir in $local_startup # search for init scripts that use the new rc.d semantics. @@ -113,7 +113,20 @@ ;; esac - run_rc_script ${_rc_elem} ${_boot} + case "$_rc_elem" in + /etc/rc.d/*) _skip_late=0 ;; + *) _skip_late=`grep --quiet '# BEFORE:' ${_rc_elem} 2>/dev/null; echo $?` ;; + esac + + if [ ${_skip_late} -eq 1 ]; then + late_files="$late_files $_rc_elem" + else + run_rc_script ${_rc_elem} ${_boot} + fi +done + +for _rc_elem in `echo ${late_files}`; do + run_rc_script ${_rc_elem} ${_boot} & done echo '' >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 1 20:30:10 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC608106566B for ; Tue, 1 Sep 2009 20:30:10 +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 A26068FC2D for ; Tue, 1 Sep 2009 20:30:10 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n81KUAZ2026869 for ; Tue, 1 Sep 2009 20:30:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n81KUAbQ026866; Tue, 1 Sep 2009 20:30:10 GMT (envelope-from gnats) Date: Tue, 1 Sep 2009 20:30:10 GMT Message-Id: <200909012030.n81KUAbQ026866@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Alberto Villa Cc: Subject: Re: conf/138460: [patch] start local rc scripts in background X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alberto Villa List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 20:30:10 -0000 The following reply was made to PR conf/138460; it has been noted by GNATS. From: Alberto Villa To: bug-followup@freebsd.org, villa.alberto@gmail.com Cc: Subject: Re: conf/138460: [patch] start local rc scripts in background Date: Tue, 1 Sep 2009 22:23:12 +0200 forgot a note: if implemented in /sbin/rcorder, it would be possible to start in background even some system (non local) rc scripts -- Alberto Villa When you dig another out of trouble, you've got a place to bury your own. From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 1 20:58:47 2009 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E5911065672; Tue, 1 Sep 2009 20:58:47 +0000 (UTC) (envelope-from i.palsenberg@jdi.nl) Received: from mail.jdi-ict.nl (mail.jdi.nl [82.94.239.7]) by mx1.freebsd.org (Postfix) with ESMTP id A13D28FC0A; Tue, 1 Sep 2009 20:58:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id n81KwjEg012998; Tue, 1 Sep 2009 22:58:45 +0200 X-Virus-Scanned: by amavisd-new at jdi-ict.nl Received: from jdi.jdi-ict.nl (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id n81Kw29V012889; Tue, 1 Sep 2009 22:58:43 +0200 Received: from localhost (igmar@localhost) by jdi.jdi-ict.nl (8.13.7/8.12.11/Submit) with ESMTP id n81Kw2Xi012883; Tue, 1 Sep 2009 22:58:02 +0200 Date: Tue, 1 Sep 2009 22:58:02 +0200 (CEST) From: Igmar Palsenberg X-X-Sender: igmar@jdi.jdi-ict.nl To: gavin@FreeBSD.org In-Reply-To: <200909011843.n81IhSFA028454@freefall.freebsd.org> Message-ID: References: <200909011843.n81IhSFA028454@freefall.freebsd.org> User-Agent: Alpine 2.00 (LRH 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2 (jdi.jdi-ict.nl [127.0.0.1]); Tue, 01 Sep 2009 22:58:43 +0200 (CEST) Cc: freebsd-bugs@FreeBSD.org Subject: Re: kern/138444: open-vm-tools-nox11-167859_1 hgfs cause a kernel panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 20:58:47 -0000 Hi, > Can you please try to remove and recompile the open-vm-tools port and all > the fuse* ports you have installed and see if that makes a difference? > At the moment I'm not sure if this is caused by a bug in the kernel module > shipped as part of open-vm-tools, or if it is related to a kernel change > that occured between when the package was built, and when your kernel was > built. Thanks! Done. No change however, the issue is identical to the one I reported. I'm however convinced that the panic I reported is not the root cause, but the witness message I get before the panic that reboots the box. I've included the console stacktrace for that at the bottom. The trigger after that is all that uses a VFS operation (make clean triggers, but so does a simple pwd). Hope this helps. Regards, Igmar lock order reversal: (sleepable after non-sleepable)^M 1st 0xc3c93488 vmhgfs (vmhgfs) @ /usr/src/sys/kern/vfs_lookup.c:497^M 2nd 0xc3b615c0 HgfsHashChain (HgfsHashChain) @ os.c:350^M 3rd 0xc3c78594 vmhgfs (vmhgfs) @ /usr/src/sys/kern/vfs_subr.c:2083^M KDB: stack backtrace:^M db_trace_self_wrapper(c0c740b0,d648a814,c08c11c5,c08b1f4b,c0c76f9c,...) at db_trace_self_wrapper+0x26^M kdb_backtrace(c08b1f4b,c0c76f9c,c3515708,c3515770,d648a870,...) at kdb_backtrace+0x29^M _witness_debugger(c0c76f9c,c3c78594,c3a291b2,c3515770,c0c7e215,...) at _witness_debugger+0x25^M witness_checkorder(c3c78594,9,c0c7e215,823,0,...) at witness_checkorder+0x839^M __lockmgr_args(c3c78594,200100,c3c785b0,0,0,...) at __lockmgr_args+0x7a7^M vop_stdlock(d648a978,c0c7e215,d648a97c,200100,c3c7853c,...) at vop_stdlock+0x62^M VOP_LOCK1_APV(c3a2a720,d648a978,200000,c0d90240,c3c7853c,...) at VOP_LOCK1_APV+0xb5^M _vn_lock(c3c7853c,200100,c0c7e215,823,c3a28396,...) at _vn_lock+0x5e^M vget(c3c7853c,200000,c3c866c0,c3a22822,c38fea80,...) at vget+0xb9^M HgfsVnodeGetInt(c38f4a10,c376a000,1,c3a1581c,0,...) at HgfsVnodeGetInt+0x84^M HgfsLookupInt(c3c93430,d648ac0c,d648ac20,d648aaf4,c0bbdca5,...) at HgfsLookupInt+0x188^M HgfsVopLookup(d648ab44,d648ab44,d648abf4,200000,d648abf4,...) at HgfsVopLookup+0x22^M VOP_LOOKUP_APV(c3a2a720,d648ab44,d648ac20,1f1,d648ac0c,...) at VOP_LOOKUP_APV+0xa5^M lookup(d648abf4,c0c7d824,ea,c5,ffffff9c,...) at lookup+0x62b^M namei(d648abf4,c390c1f8,c3c866c0,d648ac1c,c08c38c5,...) at namei+0x55f^M kern_pathconf(c3c866c0,bfbfdd03,0,3b,40,...) at kern_pathconf+0x56^M pathconf(c3c866c0,d648acf8,8,c0c5970e,c0d57444,...) at pathconf+0x31^M syscall(d648ad38) at syscall+0x2a3^M Xint0x80_syscall() at Xint0x80_syscall+0x20^M --- syscall (191, FreeBSD ELF32, pathconf), eip = 0x28166d4f, esp = ebp = 0xbfbfe128 ---^M From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 1 22:00:12 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81C4C106568B for ; Tue, 1 Sep 2009 22:00:12 +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 536698FC26 for ; Tue, 1 Sep 2009 22:00:12 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n81M0CXe016235 for ; Tue, 1 Sep 2009 22:00:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n81M0CM5016234; Tue, 1 Sep 2009 22:00:12 GMT (envelope-from gnats) Resent-Date: Tue, 1 Sep 2009 22:00:12 GMT Resent-Message-Id: <200909012200.n81M0CM5016234@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bruce Cran Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AFF1106568B for ; Tue, 1 Sep 2009 21:56:46 +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 59E248FC1A for ; Tue, 1 Sep 2009 21:56:46 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n81LukJI009791 for ; Tue, 1 Sep 2009 21:56:46 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n81Luk5Z009790; Tue, 1 Sep 2009 21:56:46 GMT (envelope-from nobody) Message-Id: <200909012156.n81Luk5Z009790@www.freebsd.org> Date: Tue, 1 Sep 2009 21:56:46 GMT From: Bruce Cran To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138465: [patch] add data verification to tools/regression/sockets/sendfile X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 22:00:12 -0000 >Number: 138465 >Category: kern >Synopsis: [patch] add data verification to tools/regression/sockets/sendfile >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Sep 01 22:00:11 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Bruce Cran >Release: 8.0-BETA3 >Organization: >Environment: FreeBSD gluon.draftnet 8.0-BETA3 FreeBSD 8.0-BETA3 #1: Mon Aug 31 08:45:18 BST 2009 brucec@gluon.draftnet:/usr/obj/usr/src/sys/GENERIC i386 >Description: Data corruption is known to occur when a file stored in a tmpfs filesystem is transferred using sendfile(2). The attached patch adds a step to verify that the data hasn't been corrupted by adding an MD5 checksum field to the header in tools/regression/sockets/sendfile. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -r -U3 sendfile.orig/Makefile sendfile/Makefile --- sendfile.orig/Makefile 2009-08-03 09:13:06.000000000 +0100 +++ sendfile/Makefile 2009-09-01 20:37:37.000000000 +0100 @@ -5,5 +5,6 @@ PROG= sendfile NO_MAN= WARNS?= 6 +LDADD = -lmd .include diff -r -U3 sendfile.orig/sendfile.c sendfile/sendfile.c --- sendfile.orig/sendfile.c 2009-08-03 09:13:06.000000000 +0100 +++ sendfile/sendfile.c 2009-09-01 22:50:05.000000000 +0100 @@ -34,6 +34,7 @@ #include #include +#include #include #include #include @@ -57,11 +58,15 @@ u_int32_t th_header_length; u_int32_t th_offset; u_int32_t th_length; + char th_md5[33]; }; pid_t child_pid, parent_pid; int listen_socket; int file_fd; +char path[PATH_MAX]; + +void cleanup(void); static int test_th(struct test_header *th, u_int32_t *header_length, u_int32_t *offset, @@ -105,7 +110,9 @@ u_int32_t header_length, offset, length, counter; struct test_header th; ssize_t len; - char ch; + char buf[10240]; + MD5_CTX md5ctx; + char *rxmd5; len = read(accept_socket, &th, sizeof(th)); if (len < 0) @@ -116,19 +123,30 @@ if (test_th(&th, &header_length, &offset, &length) == 0) errx(1, "test_th: bad"); + MD5Init(&md5ctx); + counter = 0; while (1) { - len = read(accept_socket, &ch, sizeof(ch)); + len = read(accept_socket, buf, sizeof(buf)); if (len < 0) err(1, "read"); if (len == 0) break; - counter++; - /* XXXRW: Validate byte here. */ + counter += len; + MD5Update(&md5ctx, buf, len); } + if (counter != header_length + length) errx(1, "receive_test: expected (%d, %d) received %d", header_length, length, counter); + + rxmd5 = MD5End(&md5ctx, NULL); + + if (memcmp(th.th_md5, rxmd5, 33) != 0) + err(1, "receive_test: expected %s, received %s", + th.th_md5, rxmd5); + + free(rxmd5); } static void @@ -171,12 +189,13 @@ init_th(struct test_header *th, u_int32_t header_length, u_int32_t offset, u_int32_t length) { - bzero(th, sizeof(*th)); th->th_magic = htonl(TEST_MAGIC); th->th_header_length = htonl(header_length); th->th_offset = htonl(offset); th->th_length = htonl(length); + + MD5FileChunk(path, th->th_md5, offset, length); } static void @@ -196,6 +215,14 @@ if (len != 0) errx(1, "lseek: %zd", len); + if (length == 0) + { + struct stat st; + if (fstat(file_fd, &st) < 0) + err(1, "fstat"); + length = st.st_size - offset; + } + init_th(&th, header_length, offset, length); len = write(connect_socket, &th, sizeof(th)); @@ -311,14 +338,23 @@ (void)kill(child_pid, SIGKILL); } +void +cleanup(void) +{ + if (*path != '\0') + unlink(path); +} + int main(void) { - char path[PATH_MAX], *page_buffer; + char *page_buffer; struct sockaddr_in sin; int pagesize; ssize_t len; + *path = '\0'; + pagesize = getpagesize(); page_buffer = malloc(TEST_PAGES * pagesize); if (page_buffer == NULL) @@ -337,7 +373,7 @@ snprintf(path, PATH_MAX, "/tmp/sendfile.XXXXXXXXXXXX"); file_fd = mkstemp(path); - (void)unlink(path); + atexit(cleanup); len = write(file_fd, page_buffer, TEST_PAGES * pagesize); if (len < 0) >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 2 09:31:43 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BFC81065670; Wed, 2 Sep 2009 09:31:43 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 00D968FC1B; Wed, 2 Sep 2009 09:31:43 +0000 (UTC) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n829Vgm0056427; Wed, 2 Sep 2009 09:31:42 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n829VgP1056423; Wed, 2 Sep 2009 09:31:42 GMT (envelope-from linimon) Date: Wed, 2 Sep 2009 09:31:42 GMT Message-Id: <200909020931.n829VgP1056423@freefall.freebsd.org> To: jamie@bishopston.net, linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, kib@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/137310: [kernel] [panic] reproducable kernel panic: page fault FreeBSD 7.2-STABLE [regression] X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 09:31:43 -0000 Synopsis: [kernel] [panic] reproducable kernel panic: page fault FreeBSD 7.2-STABLE [regression] State-Changed-From-To: open->patched State-Changed-By: linimon State-Changed-When: Wed Sep 2 09:29:49 UTC 2009 State-Changed-Why: set as MFC reminder. Responsible-Changed-From-To: freebsd-bugs->kib Responsible-Changed-By: linimon Responsible-Changed-When: Wed Sep 2 09:29:49 UTC 2009 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=137310 From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 2 09:33:25 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B36531065672; Wed, 2 Sep 2009 09:33:25 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8B6B78FC15; Wed, 2 Sep 2009 09:33:25 +0000 (UTC) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n829XPOD057307; Wed, 2 Sep 2009 09:33:25 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n829XPkW057303; Wed, 2 Sep 2009 09:33:25 GMT (envelope-from linimon) Date: Wed, 2 Sep 2009 09:33:25 GMT Message-Id: <200909020933.n829XPkW057303@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: conf/138460: [patch] start local rc scripts in background X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 09:33:25 -0000 Synopsis: [patch] start local rc scripts in background Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: linimon Responsible-Changed-When: Wed Sep 2 09:32:51 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=138460 From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 2 10:10:05 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCAD81065672 for ; Wed, 2 Sep 2009 10:10:05 +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 97E0E8FC23 for ; Wed, 2 Sep 2009 10:10:05 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n82AA57t090152 for ; Wed, 2 Sep 2009 10:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n82AA5Nc090151; Wed, 2 Sep 2009 10:10:05 GMT (envelope-from gnats) Resent-Date: Wed, 2 Sep 2009 10:10:05 GMT Resent-Message-Id: <200909021010.n82AA5Nc090151@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Stephane Rochoy Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4DA1106566C for ; Wed, 2 Sep 2009 10:01:32 +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 B1F298FC08 for ; Wed, 2 Sep 2009 10:01:32 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n82A1WAD060155 for ; Wed, 2 Sep 2009 10:01:32 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n82A1Wxu060154; Wed, 2 Sep 2009 10:01:32 GMT (envelope-from nobody) Message-Id: <200909021001.n82A1Wxu060154@www.freebsd.org> Date: Wed, 2 Sep 2009 10:01:32 GMT From: Stephane Rochoy To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138476: [panic] [sshfs] [fuse] Almost regular panic during VFS operations; maybe related to sshfs X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 10:10:05 -0000 >Number: 138476 >Category: kern >Synopsis: [panic] [sshfs] [fuse] Almost regular panic during VFS operations; maybe related to sshfs >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 02 10:10:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Stephane Rochoy >Release: 7.2-RELEASE-p3 >Organization: >Environment: FreeBSD cthulhu.netasq.com 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #0: Wed Sep 2 09:06:11 CEST 2009 root@cthulhu.tac.netasq.com:/usr/obj/usr/src/sys/DEBUG-GENERIC i386 >Description: The system panic almost every two days at 03:02am CEST. The panics started to occure when I started to keep permanent sshfs mounts. Here is the backtrace: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x0 fault code = supervisor write, page not present instruction pointer = 0x20:0xc08617e6 stack pointer = 0x28:0xe71d3808 frame pointer = 0x28:0xe71d3844 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 13458 (find) trap number = 12 panic: page fault cpuid = 0 Uptime: 23h58m34s Physical memory: 1010 MB Dumping 134 MB: 119 103 87 71 55 39 23 7 Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done. done. Loaded symbols for /boot/kernel/acpi.ko Reading symbols from /usr/local/modules/fuse.ko...done. Loaded symbols for /usr/local/modules/fuse.ko Reading symbols from /boot/kernel/radeon.ko...Reading symbols from /boot/kernel/radeon.ko.symbols...done. done. Loaded symbols for /boot/kernel/radeon.ko Reading symbols from /boot/kernel/drm.ko...Reading symbols from /boot/kernel/drm.ko.symbols...done. done. Loaded symbols for /boot/kernel/drm.ko Reading symbols from /boot/kernel/smbfs.ko...Reading symbols from /boot/kernel/smbfs.ko.symbols...done. done. Loaded symbols for /boot/kernel/smbfs.ko Reading symbols from /boot/kernel/libiconv.ko...Reading symbols from /boot/kernel/libiconv.ko.symbols...d done. Loaded symbols for /boot/kernel/libiconv.ko Reading symbols from /boot/kernel/libmchain.ko...Reading symbols from /boot/kernel/libmchain.ko.symbols.. done. Loaded symbols for /boot/kernel/libmchain.ko #0 doadump () at pcpu.h:196 196 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:196 #1 0xc07e25c7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc07e2899 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc0ae3efc in trap_fatal (frame=0xe71d37c8, eva=0) at /usr/src/sys/i386/i386/trap.c:939 #4 0xc0ae4180 in trap_pfault (frame=0xe71d37c8, usermode=0, eva=0) at /usr/src/sys/i386/i386/trap.c:852 #5 0xc0ae4b2c in trap (frame=0xe71d37c8) at /usr/src/sys/i386/i386/trap.c:530 #6 0xc0ac923b in calltrap () at /usr/src/sys/i386/i386/exception.s:159 #7 0xc08617e6 in vgonel (vp=0xc52aabdc) at /usr/src/sys/kern/vfs_subr.c:979 #8 0xc086521d in vnlru_free (count=1) at /usr/src/sys/kern/vfs_subr.c:860 #9 0xc0865367 in getnewvnode (tag=0xc0b83ce1 "ufs", mp=0xc449a870, vops=0xc0c6c160, vpp=0xe71d3904) at /usr/src/sys/kern/vfs_subr.c:882 #10 0xc09f86a2 in ffs_vgetf (mp=0xc449a870, ino=641075, flags=2, vpp=0xe71d39b8, ffs_flags=0) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1436 #11 0xc09f8aee in ffs_vget (mp=0xc449a870, ino=641075, flags=2, vpp=0xe71d39b8) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1379 #12 0xc0a0503b in ufs_lookup (ap=0xe71d3a00) at /usr/src/sys/ufs/ufs/ufs_lookup.c:600 #13 0xc0af87f2 in VOP_CACHEDLOOKUP_APV (vop=0xc0c6c160, a=0xe71d3a00) at vnode_if.c:153 #14 0xc0851e4c in vfs_cache_lookup (ap=0xe71d3a84) at vnode_if.h:83 #15 0xc0afa4c6 in VOP_LOOKUP_APV (vop=0xc0c6c680, a=0xe71d3a84) at vnode_if.c:99 #16 0xc08587f1 in lookup (ndp=0xe71d3b48) at vnode_if.h:57 #17 0xc0859539 in namei (ndp=0xe71d3b48) at /usr/src/sys/kern/vfs_lookup.c:215 #18 0xc086702f in kern_lstat (td=0xc4f18460, path=0x282450f8
, pathseg=UIO_USERSPACE, sbp=0xe71d3c18) at /usr/src/sys/kern/vfs_syscalls.c:2184 #19 0xc08671ef in lstat (td=0xc4f18460, uap=0xe71d3cfc) at /usr/src/sys/kern/vfs_syscalls.c:2167 #20 0xc0ae44d5 in syscall (frame=0xe71d3d38) at /usr/src/sys/i386/i386/trap.c:1090 #21 0xc0ac92a0 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:255 #22 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) Here is a dmesg (not the one before the crash): Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.2-RELEASE-p3 #0: Wed Sep 2 09:06:11 CEST 2009 root@cthulhu.tac.netasq.com:/usr/obj/usr/src/sys/DEBUG-GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3200+ (2000.09-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x20ff2 Stepping = 2 Features=0x78bfbff Features2=0x1 AMD Features=0xe2500800 AMD Features2=0x1 real memory = 1072562176 (1022 MB) avail memory = 1035886592 (987 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 3fde0000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib2: irq 27 at device 2.0 on pci0 pci2: on pcib2 vgapci0: port 0x9000-0x90ff mem 0xc8000000-0xcfffffff,0xd1000000-0xd100ffff irq 24 at device 0.0 on pci2 vgapci1: mem 0xd1010000-0xd101ffff at device 0.1 on pci2 pcib3: irq 31 at device 3.0 on pci0 pci3: on pcib3 pcib4: irq 35 at device 3.1 on pci0 pci4: on pcib4 pcib5: irq 39 at device 3.2 on pci0 pci5: on pcib5 mskc0: port 0xa000-0xa0ff mem 0xd3000000-0xd3003fff irq 36 at device 0.0 on pci5 msk0: on mskc0 msk0: Ethernet address: 00:15:f2:89:3a:5a miibus0: on msk0 e1000phy0: PHY 0 on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto mskc0: [FILTER] pcib6: irq 43 at device 3.3 on pci0 pci6: on pcib6 pcib7: at device 11.0 on pci0 pci7: on pcib7 fxp0: port 0xb000-0xb01f mem 0xd4200000-0xd4200fff,0xd4000000-0xd40fffff irq 16 at device 4.0 on pci7 miibus1: on fxp0 inphy0: PHY 1 on miibus1 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:03:47:08:6d:09 fxp0: [ITHREAD] fxp1: port 0xb400-0xb41f mem 0xd4201000-0xd4201fff,0xd4100000-0xd41fffff irq 17 at device 5.0 on pci7 miibus2: on fxp1 inphy1: PHY 1 on miibus2 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: Ethernet address: 00:03:47:08:6d:0a fxp1: [ITHREAD] atapci0: port 0xc000-0xc007,0xc400-0xc403,0xc800-0xc807,0xcc00-0xcc03,0xd000-0xd00f,0xd400-0xd4ff irq 20 at device 15.0 on pci0 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd800-0xd80f at device 15.1 on pci0 ata0: on atapci1 ata0: [ITHREAD] ata1: on atapci1 ata1: [ITHREAD] uhci0: port 0xdc00-0xdc1f irq 21 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xe000-0xe01f irq 21 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xe400-0xe41f irq 21 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xe800-0xe81f irq 21 at device 16.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xd4300000-0xd43000ff irq 21 at device 16.4 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered uhub5: on uhub4 uhub5: multiple transaction translators uhub5: 4 ports with 4 removable, self powered isab0: at device 17.0 on pci0 isa0: on isab0 pci0: at device 17.5 (no driver attached) acpi_tz0: on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] cpu0: on acpi0 powernow0: on cpu0 device_attach: powernow0 attach returned 6 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcffff pnpid ORM0000 on isa0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 ppbus0: [ITHREAD] plip0: on ppbus0 plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ums0: on uhub0 ums0: 3 buttons and Z dir. Timecounter "TSC" frequency 2000092814 Hz quality 800 Timecounters tick every 1.000 msec ad6: 78167MB at ata3-master SATA150 GEOM_LABEL: Label for provider ad6s1 is ntfs/SYSTEM. GEOM_LABEL: Label for provider ad6s5 is ntfs/USERS. GEOM_LABEL: Label for provider ad6s3a is ufsid/498b17d3d30402da. GEOM_LABEL: Label for provider ad6s3d is ufsid/498b17d4aed77cce. GEOM_LABEL: Label for provider ad6s3e is ufsid/498b17d337b74b9b. GEOM_LABEL: Label for provider ad6s3f is ufsid/498b17d3e7acca4e. GEOM_LABEL: Label for provider ad6s3g is ufsid/498b17d33dac1cba. Trying to mount root from ufs:/dev/ad6s3a GEOM_LABEL: Label ufsid/498b17d3d30402da removed. GEOM_LABEL: Label for provider ad6s3a is ufsid/498b17d3d30402da. GEOM_LABEL: Label ufsid/498b17d3e7acca4e removed. GEOM_LABEL: Label for provider ad6s3f is ufsid/498b17d3e7acca4e. GEOM_LABEL: Label ufsid/498b17d337b74b9b removed. GEOM_LABEL: Label for provider ad6s3e is ufsid/498b17d337b74b9b. GEOM_LABEL: Label ufsid/498b17d33dac1cba removed. GEOM_LABEL: Label for provider ad6s3g is ufsid/498b17d33dac1cba. GEOM_LABEL: Label ufsid/498b17d4aed77cce removed. GEOM_LABEL: Label for provider ad6s3d is ufsid/498b17d4aed77cce. GEOM_LABEL: Label ufsid/498b17d3d30402da removed. GEOM_LABEL: Label ufsid/498b17d3e7acca4e removed. GEOM_LABEL: Label ufsid/498b17d337b74b9b removed. GEOM_LABEL: Label ufsid/498b17d33dac1cba removed. GEOM_LABEL: Label ufsid/498b17d4aed77cce removed. fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 drm0: on vgapci0 vgapci0: child drm0 requested pci_enable_busmaster info: [drm] Initialized radeon 1.29.0 20080528 info: [drm] Setting GART location based on new memory map info: [drm] Loading R300 Microcode info: [drm] Num pipes: 1 info: [drm] writeback test succeeded in 1 usecs drm0: [ITHREAD] info: [drm] Num pipes: 1 info: [drm] Loading R300 Microcode info: [drm] Num pipes: 1 info: [drm] Num pipes: 1 info: [drm] Loading R300 Microcode info: [drm] Num pipes: 1 info: [drm] Num pipes: 1 info: [drm] Setting GART location based on new memory map info: [drm] Loading R300 Microcode info: [drm] Num pipes: 1 info: [drm] writeback test succeeded in 1 usecs drm0: [ITHREAD] info: [drm] Num pipes: 1 info: [drm] Loading R300 Microcode info: [drm] Num pipes: 1 netsmb_dev: loaded Here is my kernel config, which is just GENERIC with debug enabled: include GENERIC ident DEBUG-GENERIC makeoptions DEBUG=-g >How-To-Repeat: Keep my station running and wait 2-3 days. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 2 10:17:16 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBB2C1065672; Wed, 2 Sep 2009 10:17:16 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B2BC68FC0A; Wed, 2 Sep 2009 10:17:16 +0000 (UTC) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n82AHGwo000741; Wed, 2 Sep 2009 10:17:16 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n82AHGW5000737; Wed, 2 Sep 2009 10:17:16 GMT (envelope-from linimon) Date: Wed, 2 Sep 2009 10:17:16 GMT Message-Id: <200909021017.n82AHGW5000737@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-fs@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/138476: [panic] [sshfs] [fuse] Almost regular panic during VFS operations; maybe related to sshfs X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 10:17:16 -0000 Synopsis: [panic] [sshfs] [fuse] Almost regular panic during VFS operations; maybe related to sshfs Responsible-Changed-From-To: freebsd-bugs->freebsd-fs Responsible-Changed-By: linimon Responsible-Changed-When: Wed Sep 2 10:17:02 UTC 2009 Responsible-Changed-Why: Possibly filesystem-related. http://www.freebsd.org/cgi/query-pr.cgi?pr=138476 From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 2 12:09:05 2009 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE181106568D; Wed, 2 Sep 2009 12:09:05 +0000 (UTC) (envelope-from i.palsenberg@jdi.nl) Received: from mail.jdi-ict.nl (mail.jdi.nl [82.94.239.7]) by mx1.freebsd.org (Postfix) with ESMTP id 54C888FC1B; Wed, 2 Sep 2009 12:09:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id n82C93Hw017268; Wed, 2 Sep 2009 14:09:03 +0200 X-Virus-Scanned: by amavisd-new at jdi-ict.nl Received: from jdi.jdi-ict.nl (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id n82C8xQ0017245; Wed, 2 Sep 2009 14:09:00 +0200 Received: from localhost (igmar@localhost) by jdi.jdi-ict.nl (8.13.7/8.12.11/Submit) with ESMTP id n82C8x1Y017237; Wed, 2 Sep 2009 14:08:59 +0200 Date: Wed, 2 Sep 2009 14:08:59 +0200 (CEST) From: Igmar Palsenberg X-X-Sender: igmar@jdi.jdi-ict.nl To: gavin@FreeBSD.org In-Reply-To: Message-ID: References: <200909011843.n81IhSFA028454@freefall.freebsd.org> User-Agent: Alpine 2.00 (LRH 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2 (jdi.jdi-ict.nl [127.0.0.1]); Wed, 02 Sep 2009 14:09:00 +0200 (CEST) Cc: freebsd-bugs@FreeBSD.org Subject: Re: kern/138444: open-vm-tools-nox11-167859_1 hgfs cause a kernel panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 12:09:05 -0000 > Done. No change however, the issue is identical to the one I reported. > I'm however convinced that the panic I reported is not the root cause, > but the witness message I get before the panic that reboots the box. > > I've included the console stacktrace for that at the bottom. The trigger > after that is all that uses a VFS operation (make clean triggers, but so > does a simple pwd). I've ported open-vm-tools 2009.08.24-187411 to ports, and the bug is also present in that version. I'll mail the maintainer of that port to see if a patch to a new version makes him happy. I'll see if I can start debugging this issue. Regards, Igmar From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 2 20:30:09 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 165371065693 for ; Wed, 2 Sep 2009 20:30:09 +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 CCCDB8FC1E for ; Wed, 2 Sep 2009 20:30:08 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n82KU81O018103 for ; Wed, 2 Sep 2009 20:30:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n82KU8Bc018100; Wed, 2 Sep 2009 20:30:08 GMT (envelope-from gnats) Resent-Date: Wed, 2 Sep 2009 20:30:08 GMT Resent-Message-Id: <200909022030.n82KU8Bc018100@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Chris Smowton Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93F0E1065679 for ; Wed, 2 Sep 2009 20:23:30 +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 831958FC1B for ; Wed, 2 Sep 2009 20:23:30 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n82KNUHI046151 for ; Wed, 2 Sep 2009 20:23:30 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n82KNTOX046150; Wed, 2 Sep 2009 20:23:29 GMT (envelope-from nobody) Message-Id: <200909022023.n82KNTOX046150@www.freebsd.org> Date: Wed, 2 Sep 2009 20:23:29 GMT From: Chris Smowton To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138485: BPF and raw-IP man pages missing important corner cases X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 20:30:09 -0000 >Number: 138485 >Category: kern >Synopsis: BPF and raw-IP man pages missing important corner cases >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 02 20:30:08 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Chris Smowton >Release: Any >Organization: N/A >Environment: N/A >Description: Both the man pages concerning raw-IP and Berkeley Packet Filter are missing details of the following important corner cases: how should the kernel behave when faced with a packet which could be handled by more than one handler? In the raw-IP case, what if there exists a raw-IP socket live on some interface, as well as a TCP socket relevant to an incoming packet? Does the IP or the TCP socket receive that packet, or both? In the BPF case, it's mentioned that the filter program may request to "ignore" a packet, but it isn't specified whether "ignored" packets, non-"ignored" packets or both will then go on to be handled by the kernel's ordinary TCP packet handler. Both of these things can be discovered by experimentation, but it's tedious that every person facing these questions needs to do that when a couple of lines in the docs could save them the trouble. >How-To-Repeat: Read the man pages :) >Fix: Amend the man pages :) >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 2 20:55:24 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D7FC106566B; Wed, 2 Sep 2009 20:55:24 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E8EB78FC1E; Wed, 2 Sep 2009 20:55:23 +0000 (UTC) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n82KtN2N048637; Wed, 2 Sep 2009 20:55:23 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n82KtNYg048633; Wed, 2 Sep 2009 20:55:23 GMT (envelope-from linimon) Date: Wed, 2 Sep 2009 20:55:23 GMT Message-Id: <200909022055.n82KtNYg048633@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-doc@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: docs/138485: bpf(4) and ip(4) man pages missing important corner cases X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 20:55:24 -0000 Old Synopsis: BPF and raw-IP man pages missing important corner cases New Synopsis: bpf(4) and ip(4) man pages missing important corner cases Responsible-Changed-From-To: freebsd-bugs->freebsd-doc Responsible-Changed-By: linimon Responsible-Changed-When: Wed Sep 2 20:53:27 UTC 2009 Responsible-Changed-Why: reclassify. http://www.freebsd.org/cgi/query-pr.cgi?pr=138485 From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 3 05:50:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02B9B106568B for ; Thu, 3 Sep 2009 05:50: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 CF3758FC15 for ; Thu, 3 Sep 2009 05:50:01 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n835o1P7080163 for ; Thu, 3 Sep 2009 05:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n835o1xl080162; Thu, 3 Sep 2009 05:50:01 GMT (envelope-from gnats) Resent-Date: Thu, 3 Sep 2009 05:50:01 GMT Resent-Message-Id: <200909030550.n835o1xl080162@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alex Keda Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB895106566B for ; Thu, 3 Sep 2009 05:44:32 +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 AAFA98FC30 for ; Thu, 3 Sep 2009 05:44:32 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n835iWJi008025 for ; Thu, 3 Sep 2009 05:44:32 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n835iWNO008024; Thu, 3 Sep 2009 05:44:32 GMT (envelope-from nobody) Message-Id: <200909030544.n835iWNO008024@www.freebsd.org> Date: Thu, 3 Sep 2009 05:44:32 GMT From: Alex Keda To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/138497: "unknown, malformed, or incomplete option -Ac" X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 05:50:02 -0000 >Number: 138497 >Category: misc >Synopsis: "unknown, malformed, or incomplete option -Ac" >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 03 05:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Alex Keda >Release: 7.2 >Organization: USSR >Environment: p3-800.lissyara.su 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: I use exim, as an MTA: p3-800# cat /etc/mail/mailer.conf # sendmail /usr/local/sbin/exim send-mail /usr/local/sbin/exim mailq /usr/local/sbin/exim -bp newaliases /usr/local/sbin/exim -bi hoststat /usr/local/sbin/exim purgestat /usr/local/sbin/exim But, some system periodic hardly need sendmail. in system reports (mail to root, every night) I see: =========== Mail in submit queue: exim abandoned: unknown, malformed, or incomplete option -Ac =========== I found it file:/etc/periodic/daily/440.status-mailq it hard use some sendmail options: p3-800# grep -R "\-Ac" /etc/periodic/daily/440.status-mailq mailq -Ac | mailq -Ac;; p3-800# may be make it as an variables? >How-To-Repeat: use variable? >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 3 06:20:04 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3154E106566C for ; Thu, 3 Sep 2009 06:20:04 +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 1C2918FC21 for ; Thu, 3 Sep 2009 06:20:04 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n836K3bp009539 for ; Thu, 3 Sep 2009 06:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n836K3Ss009538; Thu, 3 Sep 2009 06:20:03 GMT (envelope-from gnats) Date: Thu, 3 Sep 2009 06:20:03 GMT Message-Id: <200909030620.n836K3Ss009538@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Andrey V. Elsukov" Cc: Subject: Re: misc/138497: "unknown, malformed, or incomplete option -Ac" X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Andrey V. Elsukov" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 06:20:04 -0000 The following reply was made to PR conf/138497; it has been noted by GNATS. From: "Andrey V. Elsukov" To: Alex Keda Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/138497: "unknown, malformed, or incomplete option -Ac" Date: Thu, 03 Sep 2009 10:19:00 +0400 Alex Keda wrote: > in system reports (mail to root, every night) I see: > =========== > Mail in submit queue: > exim abandoned: unknown, malformed, or incomplete option -Ac > =========== > > I found it file:/etc/periodic/daily/440.status-mailq > it hard use some sendmail options: > p3-800# grep -R "\-Ac" /etc/periodic/daily/440.status-mailq > mailq -Ac | > mailq -Ac;; > p3-800# Did you try to change some of daily_* variables in your /etc/periodic.conf ? Try to run `pkg_info -Dx exim` :) -- WBR, Andrey V. Elsukov From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 3 07:00:18 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB19D106568D for ; Thu, 3 Sep 2009 07:00:18 +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 90CF18FC0C for ; Thu, 3 Sep 2009 07:00:18 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8370Ino053110 for ; Thu, 3 Sep 2009 07:00:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8370IbF053108; Thu, 3 Sep 2009 07:00:18 GMT (envelope-from gnats) Date: Thu, 3 Sep 2009 07:00:18 GMT Message-Id: <200909030700.n8370IbF053108@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Alex Keda Cc: Subject: Re: conf/138497: [periodic] "unknown, malformed, or incomplete option -Ac" X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alex Keda List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 07:00:18 -0000 The following reply was made to PR conf/138497; it has been noted by GNATS. From: Alex Keda To: bug-followup@FreeBSD.org, admin@lissyara.su Cc: Subject: Re: conf/138497: [periodic] "unknown, malformed, or incomplete option -Ac" Date: Thu, 03 Sep 2009 10:25:48 +0400 me bang head on wall. Please, close pr. more /usr/local/share/doc/exim/POST-INSTALL-NOTES From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 3 07:23:20 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0590710656BB; Thu, 3 Sep 2009 07:23:20 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D188A8FC14; Thu, 3 Sep 2009 07:23:19 +0000 (UTC) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n837NJvO083528; Thu, 3 Sep 2009 07:23:19 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n837NJOA083524; Thu, 3 Sep 2009 07:23:19 GMT (envelope-from remko) Date: Thu, 3 Sep 2009 07:23:19 GMT Message-Id: <200909030723.n837NJOA083524@freefall.freebsd.org> To: admin@lissyara.su, remko@FreeBSD.org, freebsd-bugs@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: conf/138497: [periodic] "unknown, malformed, or incomplete option -Ac" X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 07:23:20 -0000 Synopsis: [periodic] "unknown, malformed, or incomplete option -Ac" State-Changed-From-To: open->closed State-Changed-By: remko State-Changed-When: Thu Sep 3 07:23:19 UTC 2009 State-Changed-Why: Closed on submitters request. http://www.freebsd.org/cgi/query-pr.cgi?pr=138497 From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 3 21:20:09 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CBEF1065679 for ; Thu, 3 Sep 2009 21:20:09 +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 326008FC14 for ; Thu, 3 Sep 2009 21:20:09 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n83LK8nw050175 for ; Thu, 3 Sep 2009 21:20:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n83LK8tr050174; Thu, 3 Sep 2009 21:20:08 GMT (envelope-from gnats) Date: Thu, 3 Sep 2009 21:20:08 GMT Message-Id: <200909032120.n83LK8tr050174@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Bruce Cran Cc: Subject: Re: bin/130343: top(1): kvm_open: cannot open /proc/42997/mem corrupts screen output X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bruce Cran List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 21:20:09 -0000 The following reply was made to PR bin/130343; it has been noted by GNATS. From: Bruce Cran To: bug-followup@FreeBSD.org, v.haisman@sh.cvut.cz Cc: Subject: Re: bin/130343: top(1): kvm_open: cannot open /proc/42997/mem corrupts screen output Date: Thu, 3 Sep 2009 22:16:05 +0100 I'm also seeing something similar on 8.0-BETA3 to do with libkvm trying to open /proc/%d/mem (/proc isn't mounted and kern.ps_arg_cache_limit is 256): console-kit-daemon[1286]: WARNING: kvm_getenvv failed: cannot open /proc/17935/mem -- Bruce From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 3 23:50:05 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C8951065698 for ; Thu, 3 Sep 2009 23:50:05 +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 D99F38FC22 for ; Thu, 3 Sep 2009 23:50:04 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n83No4sc099623 for ; Thu, 3 Sep 2009 23:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n83No47a099622; Thu, 3 Sep 2009 23:50:04 GMT (envelope-from gnats) Resent-Date: Thu, 3 Sep 2009 23:50:04 GMT Resent-Message-Id: <200909032350.n83No47a099622@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kazuaki ODA Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B82681065670 for ; Thu, 3 Sep 2009 23:48:41 +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 A77808FC08 for ; Thu, 3 Sep 2009 23:48:41 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n83Nme72080036 for ; Thu, 3 Sep 2009 23:48:40 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n83NmeoQ080025; Thu, 3 Sep 2009 23:48:40 GMT (envelope-from nobody) Message-Id: <200909032348.n83NmeoQ080025@www.freebsd.org> Date: Thu, 3 Sep 2009 23:48:40 GMT From: Kazuaki ODA To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138516: [patch] em(4): 4k (page size) mbuf clusters leak X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 23:50:05 -0000 >Number: 138516 >Category: kern >Synopsis: [patch] em(4): 4k (page size) mbuf clusters leak >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 03 23:50:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Kazuaki ODA >Release: FreeBSD 8.0-BETA3 amd64 >Organization: >Environment: FreeBSD router.aliceblue.jp 8.0-BETA3 FreeBSD 8.0-BETA3 #47: Fri Sep 4 07:05:11 JST 2009 kazuaki@router.aliceblue.jp:/usr/obj/usr/src/sys/ROUTER amd64 >Description: I think current em(4) driver has the problem that the driver leaks 4k (page size) mbuf clusters, which are used to transmit packets, when em_xmit() fails with ENOBUFS. em_mq_start_locked() calls em_xmit() repeatedly to transmit queued packets. But, when em_xmit() fails, the dequeued packet is left alone and not requeued, so the mbuf cluster which is used for the packet leaks. >How-To-Repeat: 1) Install Apache2 and PHP5. 2) Modify httpd.conf to enable PHP5. 3) Put large size (more than 100KB) .php file under DocumentRoot. 4) Start up Apache2. 5) Make many concurrent requests to the .php file, which you put at #3, from a remote machine. For example, run ab (Apache Bench) as the following: $ ab -n 100000 -c 100 -k http://host_name_of_the_server/test.php 6) Check the number of allocated 4K mbuf clusters with "netstat -m". >Fix: Apply the attached patch. Patch attached with submission follows: --- sys/dev/e1000/if_em.c.orig 2009-08-20 03:08:50.000000000 +0900 +++ sys/dev/e1000/if_em.c 2009-09-04 06:58:56.427358096 +0900 @@ -1063,8 +1063,11 @@ next = drbr_dequeue(ifp, adapter->br); if (next == NULL) break; - if (em_xmit(adapter, &next)) + if (em_xmit(adapter, &next)) { + if ((error = drbr_enqueue(ifp, adapter->br, next)) != 0) + return (error); break; + } ETHER_BPF_MTAP(ifp, next); /* Set the watchdog */ adapter->watchdog_timer = EM_TX_TIMEOUT; >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 4 06:33:47 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 251761065698; Fri, 4 Sep 2009 06:33:47 +0000 (UTC) (envelope-from ache@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EF5018FC28; Fri, 4 Sep 2009 06:33:46 +0000 (UTC) Received: from freefall.freebsd.org (ache@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n846XkQS014917; Fri, 4 Sep 2009 06:33:46 GMT (envelope-from ache@freefall.freebsd.org) Received: (from ache@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n846XkNu014903; Fri, 4 Sep 2009 06:33:46 GMT (envelope-from ache) Date: Fri, 4 Sep 2009 06:33:46 GMT Message-Id: <200909040633.n846XkNu014903@freefall.freebsd.org> To: eriks00@moon.lv, ache@FreeBSD.org, ache@FreeBSD.org, freebsd-bugs@FreeBSD.org From: ache@FreeBSD.org Cc: Subject: Re: conf/105100: [patch] [locale] no support for lv (latvian) locale X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 06:33:47 -0000 Synopsis: [patch] [locale] no support for lv (latvian) locale State-Changed-From-To: feedback->patched State-Changed-By: ache State-Changed-When: Fri Sep 4 06:30:55 UTC 2009 State-Changed-Why: Committed into -current (restructured to avoid files duplication) Responsible-Changed-From-To: ache->freebsd-bugs Responsible-Changed-By: ache Responsible-Changed-When: Fri Sep 4 06:30:55 UTC 2009 Responsible-Changed-Why: Committed into -current (restructured to avoid files duplication) http://www.freebsd.org/cgi/query-pr.cgi?pr=105100 From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 4 09:00:14 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B185D10656A3 for ; Fri, 4 Sep 2009 09:00:14 +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 752928FC22 for ; Fri, 4 Sep 2009 09:00:14 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8490E4B072721 for ; Fri, 4 Sep 2009 09:00:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8490Etu072720; Fri, 4 Sep 2009 09:00:14 GMT (envelope-from gnats) Resent-Date: Fri, 4 Sep 2009 09:00:14 GMT Resent-Message-Id: <200909040900.n8490Etu072720@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexander Yerenkow Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D7201065676 for ; Fri, 4 Sep 2009 09:00:03 +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 2C4888FC0A for ; Fri, 4 Sep 2009 09:00:03 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n84902Yj029675 for ; Fri, 4 Sep 2009 09:00:02 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n849022O029674; Fri, 4 Sep 2009 09:00:02 GMT (envelope-from nobody) Message-Id: <200909040900.n849022O029674@www.freebsd.org> Date: Fri, 4 Sep 2009 09:00:02 GMT From: Alexander Yerenkow To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/138524: disks and usb flashes/cards with Russian labels produces hangups X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 09:00:14 -0000 >Number: 138524 >Category: misc >Synopsis: disks and usb flashes/cards with Russian labels produces hangups >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 04 09:00:14 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Alexander Yerenkow >Release: 7.2 >Organization: >Environment: FreeBSD pcbsd 7.2-STABLE FreeBSD 7.2-STABLE #6: Mon Jun 15 19:18:56 EDT 2009 root@build7x32.pcbsd.org:/usr/obj/pcbsd-build72/cvs/7.2-src/sys/PCBSD i386 >Description: If you have a disk (usb, card, probably any other media) formatted in fat with assigned label with cyrillic letters, simply plug it in pc. 1. Created device in /dev/fat/* contains incorrect label (possibly encoding issue) 2. KDE hangs fully (not tested gnome) - possibly due to same incorrect named label >How-To-Repeat: If you have a disk (usb, card, probably any other media) formatted in fat with assigned label with cyrillic letters, simply plug it in pc. 1. Created device in /dev/fat/* contains incorrect label (possibly encoding issue) 2. KDE hangs fully (not tested gnome) - possibly due to same incorrect named label >Fix: Not work with russian-labeled disks, but this isn't a good way >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 4 10:00:18 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE98210656A4 for ; Fri, 4 Sep 2009 10:00:18 +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 8F21A8FC1C for ; Fri, 4 Sep 2009 10:00:18 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n84A0IO4032239 for ; Fri, 4 Sep 2009 10:00:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n84A0IJf032238; Fri, 4 Sep 2009 10:00:18 GMT (envelope-from gnats) Resent-Date: Fri, 4 Sep 2009 10:00:18 GMT Resent-Message-Id: <200909041000.n84A0IJf032238@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mel Flynn Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67FC31065790; Fri, 4 Sep 2009 09:57:16 +0000 (UTC) (envelope-from root@mailhub.rachie.is-a-geek.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 0DBEB8FC19; Fri, 4 Sep 2009 09:57:15 +0000 (UTC) Received: by mailhub.rachie.is-a-geek.net (Postfix, from userid 0) id B61227E854; Fri, 4 Sep 2009 01:39:07 -0800 (AKDT) Message-Id: <20090904093907.B61227E854@mailhub.rachie.is-a-geek.net> Date: Fri, 4 Sep 2009 01:39:07 -0800 (AKDT) From: Mel Flynn To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: freebsd-net@FreeBSD.org Subject: kern/138525: [panic] Kernel corruption of pppoe lists X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 10:00:18 -0000 >Number: 138525 >Category: kern >Synopsis: [panic] Kernel corruption of pppoe lists >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 04 10:00:17 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Mel Flynn >Release: FreeBSD 7.2-STABLE i386 >Organization: >Environment: System: FreeBSD gate.rachie.is-a-geek.net 7.2-STABLE FreeBSD 7.2-STABLE #0: Sun Jun 28 00:01:59 AKDT 2009 mdev@squish.rachie.is-a-geek.net:/data/obj/data/RELENG_7/src/sys/GATE i386 >Description: I realize the kernel is a bit old, but it also very hard to reproduce. Kernel was up 56 days and this crash happened shortly after a very long connect time, hangup by ISP and some renegotiation issues. I can provide the ppp.log of the incident if needed. What bothers me is the contents of the session list element, preceding the element cannot be accessed. Clearly, there is random kernel memory present there, judging from ether_dhost and ether_shost. # kgdb /boot/kernel/kernel /var/crash/vmcore.0 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x2d465459 fault code = supervisor read, page not present instruction pointer = 0x20:0xc06cd0a0 stack pointer = 0x28:0xc3b86a98 frame pointer = 0x28:0xc3b86ac0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 35 (irq22: xl0) trap number = 12 panic: page fault Uptime: 56d6h29m38s Physical memory: 1007 MB Dumping 174 MB: 159 143 127 111 95 79 63 47 31 15 Reading symbols from /boot/kernel/geom_journal.ko...Reading symbols from /boot/kernel/geom_journal.ko.symbols...done. done. Loaded symbols for /boot/kernel/geom_journal.ko Reading symbols from /boot/kernel/wlan_xauth.ko...Reading symbols from /boot/kernel/wlan_xauth.ko.symbols...done. done. Loaded symbols for /boot/kernel/wlan_xauth.ko Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done. done. Loaded symbols for /boot/kernel/acpi.ko Reading symbols from /boot/kernel/if_bridge.ko...Reading symbols from /boot/kernel/if_bridge.ko.symbols...done. done. Loaded symbols for /boot/kernel/if_bridge.ko Reading symbols from /boot/kernel/bridgestp.ko...Reading symbols from /boot/kernel/bridgestp.ko.symbols...done. done. Loaded symbols for /boot/kernel/bridgestp.ko Reading symbols from /boot/kernel/ng_ether.ko...Reading symbols from /boot/kernel/ng_ether.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_ether.ko Reading symbols from /boot/kernel/ng_socket.ko...Reading symbols from /boot/kernel/ng_socket.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_socket.ko Reading symbols from /boot/kernel/daemon_saver.ko...Reading symbols from /boot/kernel/daemon_saver.ko.symbols...done. done. Loaded symbols for /boot/kernel/daemon_saver.ko #0 doadump () at pcpu.h:196 196 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:196 #1 0xc05ef5d3 in boot (howto=260) at /data/RELENG_7/src/sys/kern/kern_shutdown.c:418 #2 0xc05ef7de in panic (fmt=Variable "fmt" is not available. ) at /data/RELENG_7/src/sys/kern/kern_shutdown.c:574 #3 0xc085c72c in trap_fatal (frame=0xc3b86a58, eva=759583833) at /data/RELENG_7/src/sys/i386/i386/trap.c:938 #4 0xc085c9b0 in trap_pfault (frame=0xc3b86a58, usermode=0, eva=759583833) at /data/RELENG_7/src/sys/i386/i386/trap.c:851 #5 0xc085d339 in trap (frame=0xc3b86a58) at /data/RELENG_7/src/sys/i386/i386/trap.c:529 #6 0xc0844a4b in calltrap () at /data/RELENG_7/src/sys/i386/i386/exception.s:166 #7 0xc06cd0a0 in pppoe_findsession (privp=0xc4258000, wh=Variable "wh" is not available. ) at /data/RELENG_7/src/sys/netgraph/ng_pppoe.c:567 #8 0xc06ce1a0 in ng_pppoe_rcvdata_ether (hook=0xc41b6380, item=0xc4256120) at /data/RELENG_7/src/sys/netgraph/ng_pppoe.c:1612 #9 0xc06c566f in ng_apply_item (node=0xc4111e80, item=0xc4256120, rw=0) at /data/RELENG_7/src/sys/netgraph/ng_base.c:2336 #10 0xc06c47e0 in ng_snd_item (item=0xc4256120, flags=Variable "flags" is not available. ) at /data/RELENG_7/src/sys/netgraph/ng_base.c:2254 #11 0xc068de5f in ether_demux (ifp=0xc3dbb400, m=0xc8024d00) at /data/RELENG_7/src/sys/net/if_ethersubr.c:851 #12 0xc068e1b3 in ether_input (ifp=0xc3dbb400, m=0xc8024d00) at /data/RELENG_7/src/sys/net/if_ethersubr.c:692 #13 0xc07b5348 in xl_rxeof (sc=0xc3dbc000) at /data/RELENG_7/src/sys/pci/if_xl.c:2022 #14 0xc07b7834 in xl_intr (arg=0xc3dbc000) at /data/RELENG_7/src/sys/pci/if_xl.c:2257 #15 0xc05cd10b in ithread_loop (arg=0xc3dc10c0) at /data/RELENG_7/src/sys/kern/kern_intr.c:1127 #16 0xc05c9ae6 in fork_exit (callout=0xc05ccf60 , arg=0xc3dc10c0, frame=0xc3b86d38) at /data/RELENG_7/src/sys/kern/kern_fork.c:811 #17 0xc0844ac0 in fork_trampoline () at /data/RELENG_7/src/sys/i386/i386/exception.s:271 (kgdb) frame 7 #7 0xc06cd0a0 in pppoe_findsession (privp=0xc4258000, wh=Variable "wh" is not available. ) at /data/RELENG_7/src/sys/netgraph/ng_pppoe.c:567 567 if (sp->Session_ID == session && (kgdb) print sp $1 = 0x2d465455 (kgdb) print *sp Cannot access memory at address 0x2d465455 (kgdb) print *privp $2 = {node = 0xc4111e80, ethernet_hook = 0xc41b6380, debug_hook = 0x0, packets_in = 126728356, packets_out = 69301432, flags = 0, eh = {ether_dhost = "ÿÿÿÿÿÿ", ether_shost = "\000\001\002Çù6", ether_type = 25480}, listeners = {lh_first = 0x0}, sesshash = {{mtx = {lock_object = {lo_name = 0xc08b8dc2 "PPPoE hash mutex", lo_type = 0xc08b8dc2 "PPPoE hash mutex", lo_flags = 16973824, lo_witness_data = { lod_list = {stqe_next = 0x0}, lod_witness = 0x0}}, mtx_lock = 3285460096, mtx_recurse = 0}, head = {lh_first = 0xc5093780}}, {mtx = {lock_object = { lo_name = 0xc08b8dc2 "PPPoE hash mutex", lo_type = 0xc08b8dc2 "PPPoE hash mutex", lo_flags = 16973824, lo_witness_data = { lod_list = {stqe_next = 0x0}, lod_witness = 0x0}}, mtx_lock = 4, mtx_recurse = 0}, head = {lh_first = 0x0}} , {mtx = { lock_object = {lo_name = 0xc08b8dc2 "PPPoE hash mutex", lo_type = 0xc08b8dc2 "PPPoE hash mutex", lo_flags = 16973824, lo_witness_data = { lod_list = {stqe_next = 0x0}, lod_witness = 0x0}}, mtx_lock = 4, mtx_recurse = 0}, head = {lh_first = 0xc4dc5bc0}}, {mtx = {lock_object = { lo_name = 0xc08b8dc2 "PPPoE hash mutex", lo_type = 0xc08b8dc2 "PPPoE hash mutex", lo_flags = 16973824, lo_witness_data = { lod_list = {stqe_next = 0x0}, lod_witness = 0x0}}, mtx_lock = 4, mtx_recurse = 0}, head = {lh_first = 0x0}} }} (kgdb) print *privp->sesshash.head.lh_first->sessions.le_next->sessions.le_next $4 = {hook = 0x1, Session_ID = 52, state = 1920169263, creator = 1852400175, pkt_hdr = { eh = {ether_dhost = "/zcat", ether_shost = "/usr/s", ether_type = 24936}, ph = { ver = 2 '\002', type = 7 '\a', code = 101 'e', sid = 27951, length = 28257, tag = 0xc4e68524}}, neg = 0x2e6e652f, sessions = {le_next = 0x2d465455, le_prev = 0x61632f38}} >How-To-Repeat: Unknown at this time. >Fix: I don't expect this to be fixed, without a reproduction scenario, so I'm mainly reporting this to see if others have experienced a similar crash. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 4 10:10:06 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 233261065694 for ; Fri, 4 Sep 2009 10:10:06 +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 DB1978FC20 for ; Fri, 4 Sep 2009 10:10:05 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n84AA56F043856 for ; Fri, 4 Sep 2009 10:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n84AA5Bu043855; Fri, 4 Sep 2009 10:10:05 GMT (envelope-from gnats) Resent-Date: Fri, 4 Sep 2009 10:10:05 GMT Resent-Message-Id: <200909041010.n84AA5Bu043855@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Petr Salinger Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4605B106566C for ; Fri, 4 Sep 2009 10:01:27 +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 34BF28FC14 for ; Fri, 4 Sep 2009 10:01:27 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n84A1QlB089796 for ; Fri, 4 Sep 2009 10:01:26 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n84A1QA1089795; Fri, 4 Sep 2009 10:01:26 GMT (envelope-from nobody) Message-Id: <200909041001.n84A1QA1089795@www.freebsd.org> Date: Fri, 4 Sep 2009 10:01:26 GMT From: Petr Salinger To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/138526: /dev/null does not support nonblocking operation, fcntl(0, F_SETFL, O_NONBLOCK) fails X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 10:10:06 -0000 >Number: 138526 >Category: misc >Synopsis: /dev/null does not support nonblocking operation, fcntl(0,F_SETFL,O_NONBLOCK) fails >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 04 10:10:05 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Petr Salinger >Release: 7.2 >Organization: >Environment: >Description: /dev/null does not support nonblocking operation, fcntl(0,F_SETFL,O_NONBLOCK) fails The testsuite of coreutils 7.5 fails due to this. It is related also to http://www.freebsd.org/cgi/query-pr.cgi?pr=standards/94729 I see no reason, why /dev/null and /dev/zero should operate differently in blocking and non-blocking mode, it should be sufficient to just ignore corresponding ioctl/fcntl in kernel. >How-To-Repeat: >Fix: In src/sys/dev/null/null.c add #include and into begining of null_ioctl() function + if (cmd == FIONBIO) + return 0; + if ((cmd == FIOASYNC) && ((*(int *)data) == 0)) + return 0; May be even + if (cmd == FIONBIO) + return 0; + if (cmd == FIOASYNC) + return 0; >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 4 14:47:57 2009 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36313106568D for ; Fri, 4 Sep 2009 14:47:57 +0000 (UTC) (envelope-from spawk@acm.poly.edu) Received: from acm.poly.edu (acm.poly.edu [128.238.9.200]) by mx1.freebsd.org (Postfix) with ESMTP id 01E338FC0A for ; Fri, 4 Sep 2009 14:47:56 +0000 (UTC) Received: (qmail 19925 invoked from network); 4 Sep 2009 14:47:56 -0000 Received: from unknown (HELO ?192.168.0.126?) (spawk@128.238.9.199) by acm.poly.edu with AES256-SHA encrypted SMTP; 4 Sep 2009 14:47:56 -0000 Message-ID: <4AA1286A.9030302@acm.poly.edu> Date: Fri, 04 Sep 2009 10:47:06 -0400 From: Boris Kochergin User-Agent: Thunderbird 2.0.0.19 (X11/20090108) MIME-Version: 1.0 To: freebsd-bugs@freebsd.org References: <200908311737.n7VHb4NC068143@freefall.freebsd.org> In-Reply-To: <200908311737.n7VHb4NC068143@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: kern/138407: [gre] gre(4) interface does not come up after reboot X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 14:47:57 -0000 Also happens with current RELENG_8 sources. From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 4 16:00:20 2009 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D299C10656C5 for ; Fri, 4 Sep 2009 16:00:20 +0000 (UTC) (envelope-from remko@elvandar.org) Received: from websrv01.jr-hosting.nl (websrv01.jr-hosting.nl [78.47.69.233]) by mx1.freebsd.org (Postfix) with ESMTP id 950C68FC17 for ; Fri, 4 Sep 2009 16:00:20 +0000 (UTC) Received: from a83-163-38-147.adsl.xs4all.nl ([83.163.38.147] helo=[10.0.2.66]) by websrv01.jr-hosting.nl with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Mjags-000IQe-IC; Fri, 04 Sep 2009 17:27:08 +0200 Message-Id: <0E54C96F-296A-453C-A5B2-99B51D810379@elvandar.org> From: Remko Lodder To: Boris Kochergin In-Reply-To: <4AA1286A.9030302@acm.poly.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Fri, 4 Sep 2009 17:27:05 +0200 References: <200908311737.n7VHb4NC068143@freefall.freebsd.org> <4AA1286A.9030302@acm.poly.edu> X-Mailer: Apple Mail (2.936) Cc: freebsd-bugs@freebsd.org Subject: Re: kern/138407: [gre] gre(4) interface does not come up after reboot X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 16:00:20 -0000 You should add 'up' as last argument of the ifconfig statement. On Sep 4, 2009, at 4:47 PM, Boris Kochergin wrote: > Also happens with current RELENG_8 sources. -- /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | remko@EFnet X http://www.evilcoder.org/ | / \ ASCII Ribbon Campaign | Against HTML Mail and News From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 4 16:52:17 2009 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D960C106568D for ; Fri, 4 Sep 2009 16:52:17 +0000 (UTC) (envelope-from spawk@acm.poly.edu) Received: from acm.poly.edu (acm.poly.edu [128.238.9.200]) by mx1.freebsd.org (Postfix) with ESMTP id 775678FC18 for ; Fri, 4 Sep 2009 16:52:17 +0000 (UTC) Received: (qmail 22293 invoked from network); 4 Sep 2009 16:52:16 -0000 Received: from unknown (HELO ?192.168.0.126?) (spawk@128.238.9.199) by acm.poly.edu with AES256-SHA encrypted SMTP; 4 Sep 2009 16:52:16 -0000 Message-ID: <4AA1458F.7030106@acm.poly.edu> Date: Fri, 04 Sep 2009 12:51:27 -0400 From: Boris Kochergin User-Agent: Thunderbird 2.0.0.19 (X11/20090108) MIME-Version: 1.0 To: Remko Lodder , freebsd-bugs@freebsd.org References: <200908311737.n7VHb4NC068143@freefall.freebsd.org> <4AA1286A.9030302@acm.poly.edu> <0E54C96F-296A-453C-A5B2-99B51D810379@elvandar.org> In-Reply-To: <0E54C96F-296A-453C-A5B2-99B51D810379@elvandar.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: kern/138407: [gre] gre(4) interface does not come up after reboot X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 16:52:17 -0000 ifconfig_gre0="inet 10.0.0.1 10.0.0.2 netmask 255.255.255.0 tunnel 128.238.9.201 69.12.180.23 up" ...in rc.conf still leaves gre0 unusable after the system comes up. There are workarounds, but this seems like something that should be fixed. From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 4 17:50:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A50621065670 for ; Fri, 4 Sep 2009 17:50:02 +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 7843C8FC14 for ; Fri, 4 Sep 2009 17:50:02 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n84Ho2i7027825 for ; Fri, 4 Sep 2009 17:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n84Ho2tc027824; Fri, 4 Sep 2009 17:50:02 GMT (envelope-from gnats) Resent-Date: Fri, 4 Sep 2009 17:50:02 GMT Resent-Message-Id: <200909041750.n84Ho2tc027824@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jonathan Hanna Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38BBF1065676 for ; Fri, 4 Sep 2009 17:40:03 +0000 (UTC) (envelope-from jhanna@pangolin-systems.com) Received: from mx8-3.i-mecca.net (mx8-3.i-mecca.net [65.39.179.81]) by mx1.freebsd.org (Postfix) with ESMTP id 12E2B8FC13 for ; Fri, 4 Sep 2009 17:40:02 +0000 (UTC) Received: from ns8.i-mecca.net (localhost [127.0.0.1]) by ns8.i-mecca.net (Postfix) with ESMTP id 9336A728BB1 for ; Fri, 4 Sep 2009 13:40:02 -0400 (EDT) Received: from pangolin-gbh.mine.nu (S010600044b058cb5.vc.shawcable.net [24.85.82.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ns8.i-mecca.net (Postfix) with ESMTPSA id 4E107728BB1 for ; Fri, 4 Sep 2009 13:40:02 -0400 (EDT) Received: from pangolin-gbh.mine.nu (localhost [127.0.0.1]) by pangolin-gbh.mine.nu (8.14.3/8.14.3) with ESMTP id n84HduLP095494 for ; Fri, 4 Sep 2009 10:39:56 -0700 (PDT) (envelope-from jhanna@pangolin-systems.com) Received: (from jhanna@localhost) by pangolin-gbh.mine.nu (8.14.3/8.14.3/Submit) id n84Hdus3095493; Fri, 4 Sep 2009 10:39:56 -0700 (PDT) (envelope-from jhanna) Message-Id: <200909041739.n84Hdus3095493@pangolin-gbh.mine.nu> Date: Fri, 4 Sep 2009 10:39:56 -0700 (PDT) From: Jonathan Hanna To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/138537: [panic] Memory modified after free X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jonathan Hanna List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 17:50:02 -0000 >Number: 138537 >Category: kern >Synopsis: [panic] Memory modified after free >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 04 17:50:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Jonathan Hanna >Release: FreeBSD 9.0-CURRENT i386 >Organization: >Environment: 9.0-CURRENT r196798 >Description: Panic, while reading one DVD and writing another, in case it matters. #0 doadump () at pcpu.h:246 246 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump () at pcpu.h:246 #1 0xc08a538f in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:416 #2 0xc08a5672 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:579 #3 0xc0b23347 in mtrash_ctor (mem=0xcb546920, size=16, arg=0x0, flags=258) at /usr/src/sys/vm/uma_dbg.c:137 #4 0xc0b22899 in uma_zalloc_arg (zone=0xc188c700, udata=0x0, flags=258) at /usr/src/sys/vm/uma_core.c:1997 #5 0xc0891854 in malloc (size=4, mtp=0xc6c97118, flags=258) at uma.h:305 #6 0xc6ba4e10 in zfs_kmem_alloc () from /boot/kernel/zfs.ko #7 0xc6bc07d8 in dmu_buf_hold_array_by_dnode () from /boot/kernel/zfs.ko #8 0xc6bc0f85 in dmu_buf_hold_array () from /boot/kernel/zfs.ko #9 0xc6bc11b3 in dmu_read_uio () from /boot/kernel/zfs.ko #10 0xc6c390e8 in zfs_freebsd_read () from /boot/kernel/zfs.ko #11 0xc0c0e03a in VOP_READ_APV (vop=0x0, a=0xc34d5048) at vnode_if.c:887 #12 0xc0b3ea4b in vnode_pager_generic_getpages (vp=0xd17bd218, m=0xf5f02bbc, bytecount=4096, reqpage=0) at vnode_if.h:384 #13 0xc09220e9 in vop_stdgetpages (ap=0xf5f02ac4) at /usr/src/sys/kern/vfs_default.c:658 #14 0xc0c0c97b in VOP_GETPAGES_APV (vop=0xc0dc8060, a=0xf5f02ac4) at vnode_if.c:2603 #15 0xc0b3dac4 in vnode_pager_getpages (object=0xd078bc38, m=0xf5f02bbc, count=1, reqpage=0) at vnode_if.h:1134 #16 0xc0b2531f in vm_fault (map=0xcc84b910, vaddr=879652864, fault_type=1 '\001', fault_flags=Variable "fault_flags" is not available. ) at vm_pager.h:131 #17 0xc0c007d9 in trap_pfault (frame=0xf5f02d38, usermode=1, eva=879652864) at /usr/src/sys/i386/i386/trap.c:823 #18 0xc0c0112e in trap (frame=0xf5f02d38) at /usr/src/sys/i386/i386/trap.c:396 #19 0xc0be3aab in calltrap () at /usr/src/sys/i386/i386/exception.s:165 #20 0x080496d3 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) Demsg from core: ... acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 (cd0:ata0:0:0:0): READ TOC/PMA/ATIP. CDB: 43 0 0 0 0 0 0 0 4 0 (cd0:ata0:0:0:0): CAM Status: SCSI Status Error (cd0:ata0:0:0:0): SCSI Status: Check Condition (cd0:ata0:0:0:0): ILLEGAL REQUEST asc:24,0 (cd0:ata0:0:0:0): Invalid field in CDB (cd0:ata0:0:0:0): Unretryable error acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 acd1: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 acd1: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 acd1: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 (cd1:ata1:0:0:0): READ TOC/PMA/ATIP. CDB: 43 0 0 0 0 0 0 0 4 0 (cd1:ata1:0:0:0): CAM Status: SCSI Status Error (cd1:ata1:0:0:0): SCSI Status: Check Condition (cd1:ata1:0:0:0): ILLEGAL REQUEST asc:24,0 (cd1:ata1:0:0:0): Invalid field in CDB (cd1:ata1:0:0:0): Unretryable error acd1: WARNING - TEST_UNIT_READY taskqueue timeout - completing request directly acd1: WARNING - TEST_UNIT_READY freeing taskqueue zombie request acd1: WARNING - TEST_UNIT_READY taskqueue timeout - completing request directly acd1: WARNING - TEST_UNIT_READY freeing taskqueue zombie request acd1: WARNING - unknown CMD (0x4a) taskqueue timeout - completing request directly acd1: WARNING - unknown CMD (0x4a) freeing taskqueue zombie request Memory modified after free 0xcb546920(12) val=5e040600 @ 0xcb546920 panic: Most recently used by ata_generic >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 4 18:10:42 2009 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA30A106566B for ; Fri, 4 Sep 2009 18:10:42 +0000 (UTC) (envelope-from remko@elvandar.org) Received: from websrv01.jr-hosting.nl (websrv01.jr-hosting.nl [78.47.69.233]) by mx1.freebsd.org (Postfix) with ESMTP id 9B03B8FC15 for ; Fri, 4 Sep 2009 18:10:42 +0000 (UTC) Received: from a83-163-38-147.adsl.xs4all.nl ([83.163.38.147] helo=[10.0.2.66]) by websrv01.jr-hosting.nl with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MjdFB-000NBj-BJ; Fri, 04 Sep 2009 20:10:41 +0200 Message-Id: From: Remko Lodder To: Boris Kochergin In-Reply-To: <4AA1458F.7030106@acm.poly.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Fri, 4 Sep 2009 20:10:40 +0200 References: <200908311737.n7VHb4NC068143@freefall.freebsd.org> <4AA1286A.9030302@acm.poly.edu> <0E54C96F-296A-453C-A5B2-99B51D810379@elvandar.org> <4AA1458F.7030106@acm.poly.edu> X-Mailer: Apple Mail (2.936) Cc: freebsd-bugs@freebsd.org Subject: Re: kern/138407: [gre] gre(4) interface does not come up after reboot X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 18:10:42 -0000 I have multiple tunnels that work correctly that way. (6). Do you need to issue 'ifconfig gre0 up' on the other side before it starts working? or do you need to force it on the 128.x machine? (please try both). On Sep 4, 2009, at 6:51 PM, Boris Kochergin wrote: > ifconfig_gre0="inet 10.0.0.1 10.0.0.2 netmask 255.255.255.0 tunnel > 128.238.9.201 69.12.180.23 up" > > ...in rc.conf still leaves gre0 unusable after the system comes up. > There are workarounds, but this seems like something that should be > fixed. -- /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | remko@EFnet X http://www.evilcoder.org/ | / \ ASCII Ribbon Campaign | Against HTML Mail and News From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 4 18:20:03 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C95DC106566B for ; Fri, 4 Sep 2009 18:20:03 +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 9EFED8FC17 for ; Fri, 4 Sep 2009 18:20:03 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n84IK3x6058819 for ; Fri, 4 Sep 2009 18:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n84IK3Kn058818; Fri, 4 Sep 2009 18:20:03 GMT (envelope-from gnats) Date: Fri, 4 Sep 2009 18:20:03 GMT Message-Id: <200909041820.n84IK3Kn058818@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Stef Walter Cc: Subject: Re: kern/137164: [socket] [panic] assert panic imo_match_source() X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stef Walter List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 18:20:03 -0000 The following reply was made to PR kern/137164; it has been noted by GNATS. From: Stef Walter To: bug-followup@FreeBSD.org, jhanna@pangolin-systems.com Cc: Subject: Re: kern/137164: [socket] [panic] assert panic imo_match_source() Date: Fri, 04 Sep 09 18:20:01 UTC I see this too when bringing up a tapX interface, while ospf is running on the machine. It doesn't happen every time, but I can duplicate it readily. 8.0-BETA3 i386 From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 4 19:35:27 2009 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4587F106566B for ; Fri, 4 Sep 2009 19:35:27 +0000 (UTC) (envelope-from spawk@acm.poly.edu) Received: from acm.poly.edu (acm.poly.edu [128.238.9.200]) by mx1.freebsd.org (Postfix) with ESMTP id 9D8F78FC14 for ; Fri, 4 Sep 2009 19:35:26 +0000 (UTC) Received: (qmail 25500 invoked from network); 4 Sep 2009 19:35:24 -0000 Received: from unknown (HELO ?10.0.0.135?) (spawk@128.238.64.31) by acm.poly.edu with AES256-SHA encrypted SMTP; 4 Sep 2009 19:35:24 -0000 Message-ID: <4AA16BCB.9000801@acm.poly.edu> Date: Fri, 04 Sep 2009 15:34:35 -0400 From: Boris Kochergin User-Agent: Thunderbird 2.0.0.19 (X11/20090108) MIME-Version: 1.0 To: Remko Lodder References: <200908311737.n7VHb4NC068143@freefall.freebsd.org> <4AA1286A.9030302@acm.poly.edu> <0E54C96F-296A-453C-A5B2-99B51D810379@elvandar.org> <4AA1458F.7030106@acm.poly.edu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bugs@freebsd.org Subject: Re: kern/138407: [gre] gre(4) interface does not come up after reboot X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 19:35:27 -0000 The other end is a machine that can't be rebooted for testing as frequently so I can't check how it behaves. Its tunnel is up and running. It's 7.1, though, so I don't even think it was a problem back then. Anyway, the state of the remote GRE tunnel does not appear to have any bearing on the problem. I have sniffed traffic from the 128.x machine on an intermediate router and it does not send anything out to the remote machine when I get the "ping: sendto: Network is down" message. Interestingly (or not?), running tcpdump on the GRE interface that doesn't have the RUNNING flag adds the RUNNING flag to it, and then it works. -Boris Remko Lodder wrote: > > I have multiple tunnels that work correctly that way. (6). Do you need > to issue 'ifconfig gre0 up' on the other side before it starts > working? or do you need to force > it on the 128.x machine? (please try both). > > On Sep 4, 2009, at 6:51 PM, Boris Kochergin wrote: > >> ifconfig_gre0="inet 10.0.0.1 10.0.0.2 netmask 255.255.255.0 tunnel >> 128.238.9.201 69.12.180.23 up" >> >> ...in rc.conf still leaves gre0 unusable after the system comes up. >> There are workarounds, but this seems like something that should be >> fixed. > From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 4 20:10:03 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F089C1065670 for ; Fri, 4 Sep 2009 20:10:03 +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 CCCD28FC18 for ; Fri, 4 Sep 2009 20:10:03 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n84KA3gu083191 for ; Fri, 4 Sep 2009 20:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n84KA3hq083184; Fri, 4 Sep 2009 20:10:03 GMT (envelope-from gnats) Resent-Date: Fri, 4 Sep 2009 20:10:03 GMT Resent-Message-Id: <200909042010.n84KA3hq083184@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, chris hickey Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78C821065670 for ; Fri, 4 Sep 2009 20:06:51 +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 673D18FC0C for ; Fri, 4 Sep 2009 20:06:51 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n84K6osQ077064 for ; Fri, 4 Sep 2009 20:06:50 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n84K6oW7077063; Fri, 4 Sep 2009 20:06:50 GMT (envelope-from nobody) Message-Id: <200909042006.n84K6oW7077063@www.freebsd.org> Date: Fri, 4 Sep 2009 20:06:50 GMT From: chris hickey To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/138538: unexpected soft update inconsistency: run fsck manually. Enter full pathname of shell or return for /bin/sh X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 20:10:04 -0000 >Number: 138538 >Category: misc >Synopsis: unexpected soft update inconsistency: run fsck manually. Enter full pathname of shell or return for /bin/sh >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 04 20:10:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: chris hickey >Release: 6.2 >Organization: >Environment: >Description: A friend installed this program and I don't know how to use it. Everything was fine until the power went out and when it booted back up it said "/dev/amrd0s1d: unexpected soft update inconsistency: run fsck manually . the following file system had an inconsistency: ufs: /dev/amrd0s1d (/var) Enter full pathname of shell or RETURN for /bin/sh >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 4 20:15:19 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47512106568D; Fri, 4 Sep 2009 20:15:19 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1DAB88FC1C; Fri, 4 Sep 2009 20:15:19 +0000 (UTC) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n84KFI6Q093962; Fri, 4 Sep 2009 20:15:18 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n84KFIh1093956; Fri, 4 Sep 2009 20:15:18 GMT (envelope-from remko) Date: Fri, 4 Sep 2009 20:15:18 GMT Message-Id: <200909042015.n84KFIh1093956@freefall.freebsd.org> To: kickeyhickey@gmail.com, remko@FreeBSD.org, freebsd-bugs@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: misc/138538: unexpected soft update inconsistency: run fsck manually. Enter full pathname of shell or return for /bin/sh X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 20:15:19 -0000 Synopsis: unexpected soft update inconsistency: run fsck manually. Enter full pathname of shell or return for /bin/sh State-Changed-From-To: open->closed State-Changed-By: remko State-Changed-When: Fri Sep 4 20:15:18 UTC 2009 State-Changed-Why: Hello, the PR system intended for system bugs. You have a problem which can be perfectly resolved if you email this to questions@FreeBSD.org or refer to the Handbook http://www.freebsd.org/doc/en/books/handbook for more information. You should do exactly wha the system says though: fsck /dev/amrd0s1d and wait till it reports you what is wrong. Thanks for using FreeBSD!! http://www.freebsd.org/cgi/query-pr.cgi?pr=138538 From owner-freebsd-bugs@FreeBSD.ORG Sat Sep 5 12:53:12 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2B501065672; Sat, 5 Sep 2009 12:53:12 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C95D58FC17; Sat, 5 Sep 2009 12:53:12 +0000 (UTC) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n85CrC3g053667; Sat, 5 Sep 2009 12:53:12 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n85CrC8t053663; Sat, 5 Sep 2009 12:53:12 GMT (envelope-from remko) Date: Sat, 5 Sep 2009 12:53:12 GMT Message-Id: <200909051253.n85CrC8t053663@freefall.freebsd.org> To: freebsd-bug@kirpa.com, remko@FreeBSD.org, freebsd-bugs@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: misc/138344: [install] floppies directory not found X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2009 12:53:13 -0000 Synopsis: [install] floppies directory not found State-Changed-From-To: open->closed State-Changed-By: remko State-Changed-When: Sat Sep 5 12:53:11 UTC 2009 State-Changed-Why: Indeed, beta's do not have floppies. You can find them in the 7.2-RELEASE directory though, if you upgrade after that, you'll be fine. I am not very sure whether the 8.0 release will still have floppy support, so make sure to upgrade from 7 to 8. Thanks for using FreeBSD! http://www.freebsd.org/cgi/query-pr.cgi?pr=138344 From owner-freebsd-bugs@FreeBSD.ORG Sat Sep 5 13:30:06 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCDB41065676 for ; Sat, 5 Sep 2009 13:30:06 +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 905B18FC08 for ; Sat, 5 Sep 2009 13:30:06 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n85DU6Ms082947 for ; Sat, 5 Sep 2009 13:30:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n85DU6J5082944; Sat, 5 Sep 2009 13:30:06 GMT (envelope-from gnats) Resent-Date: Sat, 5 Sep 2009 13:30:06 GMT Resent-Message-Id: <200909051330.n85DU6J5082944@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexander Yerenkow Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67CD1106566C for ; Sat, 5 Sep 2009 13:21:22 +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 56E508FC17 for ; Sat, 5 Sep 2009 13:21:22 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n85DLMaf057547 for ; Sat, 5 Sep 2009 13:21:22 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n85DLMHS057546; Sat, 5 Sep 2009 13:21:22 GMT (envelope-from nobody) Message-Id: <200909051321.n85DLMHS057546@www.freebsd.org> Date: Sat, 5 Sep 2009 13:21:22 GMT From: Alexander Yerenkow To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/138547: dhcp wrong behaviour with multiple networks X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2009 13:30:06 -0000 >Number: 138547 >Category: misc >Synopsis: dhcp wrong behaviour with multiple networks >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 05 13:30:06 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Alexander Yerenkow >Release: 7.2 >Organization: >Environment: FreeBSD pcbsd 7.2-STABLE FreeBSD 7.2-STABLE #6: Mon Jun 15 19:18:56 EDT 2009 root@build7x32.pcbsd.org:/usr/obj/pcbsd-build72/cvs/7.2-src/sys/PCBSD i386 >Description: I have network, for example wlan0. It takes all info by DHCP, gateway and DNS too. 1. If I want to use my own DNS,there is no way to do it, any changes to /etc/resolv.conf are overwrited, even if the auto-discovered dns address leaved untouched there. 2. If I have other network which I need to use (for example, gprs via bluetooth), it connect OK. But DNS probably can be overridden by any other interface with DHCP - not good. 3. If I disconnect my gprs/ppp, I get "no route to host", for any ip. I had a gateway for wlan0, I connected with gprs (tun0), it simply overriden my gateway, not stored any info about which default gate was earlier, and after disconnect I got broken route table. I'd propose a little smartr DHCP, which will respect other DNSes, specified manually or get from other DHCP interfaces. I'd propose additional checks during connect/disconnect interfaces, to have always working route table, no matter of user actions. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sat Sep 5 21:00:14 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AD861065679 for ; Sat, 5 Sep 2009 21:00:14 +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 E78408FC17 for ; Sat, 5 Sep 2009 21:00:13 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n85L0DpO030454 for ; Sat, 5 Sep 2009 21:00:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n85L0Dbl030453; Sat, 5 Sep 2009 21:00:13 GMT (envelope-from gnats) Resent-Date: Sat, 5 Sep 2009 21:00:13 GMT Resent-Message-Id: <200909052100.n85L0Dbl030453@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bruce Cran Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB427106566B for ; Sat, 5 Sep 2009 20:50:25 +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 DA9748FC08 for ; Sat, 5 Sep 2009 20:50:25 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n85KoPfa080126 for ; Sat, 5 Sep 2009 20:50:25 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n85KoP4X080125; Sat, 5 Sep 2009 20:50:25 GMT (envelope-from nobody) Message-Id: <200909052050.n85KoP4X080125@www.freebsd.org> Date: Sat, 5 Sep 2009 20:50:25 GMT From: Bruce Cran To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138557: [patch] fix truncated witness sysctl string due to incorrect use of sizeof X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2009 21:00:14 -0000 >Number: 138557 >Category: kern >Synopsis: [patch] fix truncated witness sysctl string due to incorrect use of sizeof >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 05 21:00:13 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Bruce Cran >Release: 8.0-BETA3 >Organization: >Environment: FreeBSD gluon.draftnet 8.0-BETA3 FreeBSD 8.0-BETA3 #1: Fri Sep 4 09:20:32 BST 2009 brucec@gluon.draftnet:/usr/obj/usr/src/sys/GENERIC i386 >Description: In sys/kern/subr_witness.c the strings "Witness not running" and "Witness is still cold" get truncated to "Witn" in the sysctl tree because sizeof is used instead of strlen. >How-To-Repeat: sysctl debug.witness.watch=0 sysctl debug.witness.badstacks >Fix: Patch attached with submission follows: --- subr_witness.c.orig 2009-09-05 21:24:40.000000000 +0100 +++ subr_witness.c 2009-09-05 21:25:42.000000000 +0100 @@ -2378,11 +2378,11 @@ tmp_w1 = NULL; tmp_w2 = NULL; if (witness_watch < 1) { - error = SYSCTL_OUT(req, w_notrunning, sizeof(w_notrunning)); + error = SYSCTL_OUT(req, w_notrunning, strlen(w_notrunning) + 1); return (error); } if (witness_cold) { - error = SYSCTL_OUT(req, w_stillcold, sizeof(w_stillcold)); + error = SYSCTL_OUT(req, w_stillcold, strlen(w_stillcold) + 1); return (error); } error = 0; @@ -2530,11 +2530,11 @@ int error; if (witness_watch < 1) { - error = SYSCTL_OUT(req, w_notrunning, sizeof(w_notrunning)); + error = SYSCTL_OUT(req, w_notrunning, strlen(w_notrunning) + 1); return (error); } if (witness_cold) { - error = SYSCTL_OUT(req, w_stillcold, sizeof(w_stillcold)); + error = SYSCTL_OUT(req, w_stillcold, strlen(w_stillcold) + 1); return (error); } error = 0; >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sat Sep 5 23:00:16 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C42A010656B8 for ; Sat, 5 Sep 2009 23:00:16 +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 42D038FC1F for ; Sat, 5 Sep 2009 23:00:13 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n85N0Du1049471 for ; Sat, 5 Sep 2009 23:00:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n85N0DTO049470; Sat, 5 Sep 2009 23:00:13 GMT (envelope-from gnats) Resent-Date: Sat, 5 Sep 2009 23:00:13 GMT Resent-Message-Id: <200909052300.n85N0DTO049470@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmytro Gorbunov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EABC1065679 for ; Sat, 5 Sep 2009 22:50:06 +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 F17F98FC14 for ; Sat, 5 Sep 2009 22:50:05 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n85Mo55J070254 for ; Sat, 5 Sep 2009 22:50:05 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n85Mo5tI070253; Sat, 5 Sep 2009 22:50:05 GMT (envelope-from nobody) Message-Id: <200909052250.n85Mo5tI070253@www.freebsd.org> Date: Sat, 5 Sep 2009 22:50:05 GMT From: Dmytro Gorbunov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: bin/138560: Incorrect usage of strncpy function X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2009 23:00:16 -0000 >Number: 138560 >Category: bin >Synopsis: Incorrect usage of strncpy function >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 05 23:00:12 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Dmytro Gorbunov >Release: 7.2 >Organization: Savesources.com >Environment: >Description: Dear sir/madam, I've found a few issues in FreeBSD's sources related to incorrect usages of strncpy function. For example ./sbin/ifconfig/ifieee80211.c: 2414 static void 2415 list_capabilities(int s) 2416 { 2417 struct ieee80211req ireq; 2418 u_int32_t caps; 2419 2420 (void) memset(&ireq, 0, sizeof(ireq)); 2421 (void) strncpy(ireq.i_name, name, sizeof(ireq.i_name)); So, ireq.i_name can become non-zero-terminated. Correct line in this case is 2421 (void) strncpy(ireq.i_name, name, sizeof(ireq.i_name)-1); There are a lot of such problems in code, next example is the following ./contrib/wpa_supplicant/preauth_test.c 278 os_strncpy(wpa_s->ifname, ifname, sizeof(wpa_s->ifname)); 279 wpa_sm_set_ifname(wpa_s->wpa, wpa_s->ifname, NULL); 280 281 l2 = l2_packet_init(wpa_s->ifname, NULL, ETH_P_RSN_PREAUTH, NULL, Correct variant is 278 os_strncpy(wpa_s->ifname, ifname, sizeof(wpa_s->ifname) - 1); 279 wpa_s->ifname[sizeof(wpa_s->ifname) - 1] = '\0'; These issues were found in scope of my project for preventing issue in software written in C/C++ http://savesources.com Please contact me if you have any ideas/suggestions/questions. Best regards, Dmytro Gorbunov Leader of savesources.com >How-To-Repeat: Please look at the description >Fix: it also mentioned in the description >Release-Note: >Audit-Trail: >Unformatted: