From owner-freebsd-bugs@FreeBSD.ORG Sun May 24 18:30:07 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6105C581 for ; Sun, 24 May 2015 18:30:07 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4AEE61314 for ; Sun, 24 May 2015 18:30:07 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4OIU7sZ015816 for ; Sun, 24 May 2015 18:30:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 189772] [new driver] apuled(4): add support for LEDs on PC Engines APU boards. Date: Sun, 24 May 2015 18:30:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 9.2-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kwhite@site.uottawa.ca X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 May 2015 18:30:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189772 Keith White changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kwhite@site.uottawa.ca --- Comment #2 from Keith White --- Created attachment 157102 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=157102&action=edit patch modified as diffs from current (11.0) Tested on APU. Happy LEDs... -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Sun May 24 21:00:06 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6FCF363F for ; Sun, 24 May 2015 21:00:06 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 61E13670 for ; Sun, 24 May 2015 21:00:06 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4OL06SC037831 for ; Sun, 24 May 2015 21:00:06 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201505242100.t4OL06SC037831@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-bugs@FreeBSD.org Subject: Problem reports for freebsd-bugs@FreeBSD.org that need special attention X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Date: Sun, 24 May 2015 21:00:06 +0000 Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 May 2015 21:00:06 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 196973 | sh(1) broken UTF-8 input New | 198797 | [PATCH] Added an option to install BSDstats to bs Open | 90114 | [patch] pw(8) takes strings after option -g for G Open | 155028 | init(8): "init q" in single user causes segfault Open | 156481 | [kernel] [patch] kernel incorrectly reports PPS j Open | 165630 | [ndis][panic][patch] IRQL_NOT_GREATER_THAN Open | 167133 | stale files in /usr/share/examples Open | 169471 | [patch] pw(8) deletes group "username" on userdel Open | 171779 | [patch] passwd(1): make option NO_FSCHG incomplet Open | 184681 | A bug of bsdconfig(8) in 10.0 RC1 Open | 191511 | opiepasswd(1) segfaults with a seed length > 12 In Progress | 191348 | [mps] LSI2308 with WD3000FYYZ drives disappears a 12 problems total for which you should take action. From owner-freebsd-bugs@FreeBSD.ORG Mon May 25 08:54:34 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C25EAB85 for ; Mon, 25 May 2015 08:54:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 922DF1B2 for ; Mon, 25 May 2015 08:54:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4P8sYOb074125 for ; Mon, 25 May 2015 08:54:34 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200439] Executing 32 bit binary under 10.1/amd64 Date: Mon, 25 May 2015 08:54:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: freebsd@natsoft.com.au X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2015 08:54:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200439 Bug ID: 200439 Summary: Executing 32 bit binary under 10.1/amd64 Product: Base System Version: 10.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: freebsd@natsoft.com.au The fcntl call in the following code will produce an error#14 if it is compiled static under 32 bit FreeBSD and executed on FreeBSD 10.1 amd64 ie "Could not lock TestLock.TXT Error:14" This code does not produce an error when run under FreeBSD 10.0 amd64 It does not produce an error if run under FreeBSD 10.1 i386 It does not product an error if compiled 64 bit and run under FreeBSD 10.1 amd64 I used FreeBSD 7.0 to compile the code with the following command: cc testlock.c -otestlock -static If I move the "struct flock oLock" out of the function and make it global by placing immediately prior to main after the stdio.h include the code works in all instances. There must be an issue with running i386 code when the struct is defined inside the function. All is ok when the struct is defined globally outside of the function. #include #include #include #include #include #include int main(int iArgv, char** cpArgc) { struct flock oLock; int iFile; iFile = open("TestLock.TXT",O_CREAT|O_RDWR,0666); if (iFile <= 0) { printf("Could not open TestLock.TXT Error:%d\r\n",errno); return 0; } oLock.l_type = F_WRLCK; oLock.l_whence = SEEK_SET; oLock.l_start = 0; oLock.l_len = 1; if (fcntl(iFile,F_SETLK,&oLock) < 0) { printf("Could not lock TestLock.TXT Error:%d\r\n",errno); return 0; } close(iFile); return 0; } -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Mon May 25 18:45:54 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2BFD9CC5 for ; Mon, 25 May 2015 18:45:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 15E6424D for ; Mon, 25 May 2015 18:45:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4PIjrBk073556 for ; Mon, 25 May 2015 18:45:53 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200350] elftoolchain incorrect strip(1) SHT_GROUP handling Date: Mon, 25 May 2015 18:45:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2015 18:45:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200350 --- Comment #2 from Ed Maste --- Upstream tickets 494 and 495 are now closed. Ticket 486 is believed fixed, but I'm waiting on the exp-run results for verification. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Mon May 25 19:08:21 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5A34E288 for ; Mon, 25 May 2015 19:08:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 29E2992A for ; Mon, 25 May 2015 19:08:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4PJ8LLX028453 for ; Mon, 25 May 2015 19:08:21 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200445] login into system on serial line /dev/cuaU0 hangs if login shell is /bin/sh Date: Mon, 25 May 2015 19:08:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: guru@unixarea.de X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2015 19:08:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200445 Bug ID: 200445 Summary: login into system on serial line /dev/cuaU0 hangs if login shell is /bin/sh Product: Base System Version: 11.0-CURRENT Hardware: i386 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: guru@unixarea.de what is not working: - if I login as any other unpriv user (and I created a new one for this) it hangs after presenting the /etc/motd file; it just hangs login: valentin Password: ..... Last login: .... FreeBSD 11.0-CURRENT (GENERIC) #1 r276659M: Tue Apr 28 15:50:23 CEST 2015 Welcome to FreeBSD! (hanging) I figured out what is causing it: the type of the login shell; it works with /bin/csh, it does not work with /bin/sh. When it hangs, if you launch a truss on the hanging process /bin/sh this process resumes normal operation and you can login. I have two more observations on this: - when it hangs in the login shell /bin/sh, a Ctrl-C on the terminal cancels the hang and a new "login:" appears; - regardless of the shell, if one starts the MUA 'mutt' (an alpha-mode MUA) and below this a 'vim' to write the mail, on return from 'vim' to 'mutt' (the vim is already terminated as process) the 'mutt' hangs too and on Ctrl-C it resumes normal operation; -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Mon May 25 19:11:58 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 384E42EA for ; Mon, 25 May 2015 19:11:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 221A1AFC for ; Mon, 25 May 2015 19:11:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4PJBwT9035774 for ; Mon, 25 May 2015 19:11:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200445] login into system on serial line /dev/cuaU0 hangs if login shell is /bin/sh Date: Mon, 25 May 2015 19:11:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2015 19:11:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200445 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emaste@freebsd.org --- Comment #1 from Ed Maste --- Does it also fail if you use csh as your login shell, then exec sh from there? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Mon May 25 22:10:18 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1C98C622 for ; Mon, 25 May 2015 22:10:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0678CAE5 for ; Mon, 25 May 2015 22:10:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4PMAHmY060559 for ; Mon, 25 May 2015 22:10:17 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200420] [igb] igb0: Watchdog timeout -- resetting Date: Mon, 25 May 2015 22:10:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2015 22:10:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200420 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Mon May 25 23:36:48 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7A4D6578 for ; Mon, 25 May 2015 23:36:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 64664B3 for ; Mon, 25 May 2015 23:36:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4PNamgv071456 for ; Mon, 25 May 2015 23:36:48 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200448] GELI Passphrase prompt in boot loader does not work as expected in 10.1-STABLE Date: Mon, 25 May 2015 23:36:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cmangin@arobas.net X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2015 23:36:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200448 Bug ID: 200448 Summary: GELI Passphrase prompt in boot loader does not work as expected in 10.1-STABLE Product: Base System Version: 10.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: cmangin@arobas.net As of r281843 it is possible to activate a bootloader prompt for the GELI passphrase in 10.1-STABLE by setting geom_eli_passphrase_prompt="YES" in /boot/loader.conf However this does not work as expected since the passphrase does not seem to be received by the kernel. (i.e. the kernel prompts again for the GELI passphrase) AFAIK, a function to receive the passphrase in the kernel was committed in -HEAD in r273489. However a look at a recent -STABLE (r283270) sys/geom/eli/g_eli.c suggests that this particular piece of code was never MFC'd. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Tue May 26 00:36:17 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C2E34534 for ; Tue, 26 May 2015 00:36:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AD487FA6 for ; Tue, 26 May 2015 00:36:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4Q0aH3u005834 for ; Tue, 26 May 2015 00:36:17 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 189788] [patch] add kern.geom.disk.%s.activity_led to attach a LED to display disk activity Date: Tue, 26 May 2015 00:36:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kwhite@site.uottawa.ca X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 00:36:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189788 --- Comment #1 from Keith White --- With release later than roughly r283307 the BBB example becomes: kern.geom.disk.mmcsd0.activity_led="beaglebone:green:mmc0" With the APU led patch (see Bug 189772) an APU example might be: kern.geom.disk.ada0.activity_led="!led1" ...keith -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Tue May 26 04:35:56 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4B20428E for ; Tue, 26 May 2015 04:35:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2E32EEB7 for ; Tue, 26 May 2015 04:35:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4Q4Zu4x027494 for ; Tue, 26 May 2015 04:35:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200445] login into system on serial line /dev/cuaU0 hangs if login shell is /bin/sh Date: Tue, 26 May 2015 04:35:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: guru@unixarea.de X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 04:35:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200445 --- Comment #2 from Matthias Apitz --- (In reply to Ed Maste from comment #1) If you start a /bin/sh after correct login with /bin/csh as login-shell, the /bin/sh hangs as well forever; trussing it, it shows that it hangs in an open(2) syscall for /dev/tty: mmap(0x0,32768,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 671612928 (0x28080000) issetugid(0x2807e76c,0xbfbfefc8,0x20,0x0,0x0,0x0) = 0 (0x0) lstat("/etc",{ mode=drwxr-xr-x ,inode=9229440,size=2560,blksize=32768 }) = 0 (0x0) lstat("/etc/libmap.conf",{ mode=-rw-r--r-- ,inode=9229485,size=102,blksize=32768 }) = 0 (0x0) open("/etc/libmap.conf",O_CLOEXEC,00) = 3 (0x3) fstat(3,{ mode=-rw-r--r-- ,inode=9229485,size=102,blksize=32768 }) = 0 (0x0) mmap(0x0,102,PROT_READ,MAP_PRIVATE,3,0x0) = 671645696 (0x28088000) close(3) = 0 (0x0) lstat("/usr",{ mode=drwxr-xr-x ,inode=1364352,size=512,blksize=32768 }) = 0 (0x0) lstat("/usr/local",{ mode=drwxr-xr-x ,inode=1364414,size=512,blksize=32768 }) = 0 (0x0) lstat("/usr/local/etc",{ mode=drwxr-xr-x ,inode=1605894,size=2048,blksize=32768 }) = 0 (0x0) lstat("/usr/local/etc/libmap.d",{ mode=drwxr-xr-x ,inode=2416694,size=512,blksize=32768 }) = 0 (0x0) open("/usr/local/etc/libmap.d",O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,05001762160) = 3 (0x3) __sysctl(0xbfbfd490,0x2,0x2807f170,0xbfbfd48c,0x0,0x0) = 0 (0x0) fstatfs(0x3,0xbfbfd4c8,0x0,0x0,0x0,0x3) = 0 (0x0) munmap(0x28087000,4096) = 0 (0x0) mmap(0x0,40960,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 671649792 (0x28089000) getdirentries(0x3,0x2808a000,0x1000,0x28086014,0x28086014,0x2807e470) = 24 (0x18) getdirentries(0x3,0x2808a000,0x1000,0x28086014,0x28086014,0x2807e470) = 0 (0x0) close(3) = 0 (0x0) munmap(0x28088000,102) = 0 (0x0) open("/var/run/ld-elf.so.hints",O_CLOEXEC,00) = 3 (0x3) read(3,"Ehnt\^A\0\0\0\M^@\0\0\0\M-(\0\0"...,128) = 128 (0x80) lseek(3,0x80,SEEK_SET) = 128 (0x80) read(3,"/lib:/usr/lib:/usr/lib/compat:/u"...,168) = 168 (0xa8) close(3) = 0 (0x0) access("/lib/libedit.so.7",0) = 0 (0x0) open("/lib/libedit.so.7",O_CLOEXEC,00) = 3 (0x3) fstat(3,{ mode=-r--r--r-- ,inode=1203856,size=134368,blksize=32768 }) = 0 (0x0) mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 671641600 (0x28087000) mmap(0x0,147456,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 671690752 (0x28093000) mmap(0x28093000,131072,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 671690752 (0x28093000) mmap(0x280b3000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x1f000) = 671821824 (0x280b3000) mmap(0x280b5000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 671830016 (0x280b5000) munmap(0x28087000,4096) = 0 (0x0) close(3) = 0 (0x0) access("/lib/libc.so.7",0) = 0 (0x0) open("/lib/libc.so.7",O_CLOEXEC,00) = 3 (0x3) fstat(3,{ mode=-r--r--r-- ,inode=1203843,size=1384432,blksize=32768 }) = 0 (0x0) mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 671641600 (0x28087000) mmap(0x0,1409024,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 671838208 (0x280b7000) mmap(0x280b7000,1298432,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 671838208 (0x280b7000) mmap(0x281f4000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x13d000) = 673136640 (0x281f4000) mmap(0x281fb000,81920,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 673165312 (0x281fb000) munmap(0x28087000,4096) = 0 (0x0) close(3) = 0 (0x0) access("/lib/libncursesw.so.8",0) = 0 (0x0) open("/lib/libncursesw.so.8",O_CLOEXEC,00) = 3 (0x3) fstat(3,{ mode=-r--r--r-- ,inode=1203880,size=305200,blksize=32768 }) = 0 (0x0) mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 671641600 (0x28087000) mmap(0x0,307200,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 673247232 (0x2820f000) mmap(0x2820f000,294912,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 673247232 (0x2820f000) mmap(0x28257000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x48000) = 673542144 (0x28257000) munmap(0x28087000,4096) = 0 (0x0) close(3) = 0 (0x0) munmap(0x2808e000,20480) = 0 (0x0) mmap(0x0,69632,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 673554432 (0x2825a000) sysarch(0xa,0xbfbfe3ac,0x280826e0,0x2807e470,0xbfbfe3d0,0x280669c3) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) readlink("/etc/malloc.conf",0xbfbfdb47,1024) ERR#2 'No such file or directory' issetugid(0x0,0xbfbfdb47,0x400,0x0,0x0,0x0) = 0 (0x0) mmap(0x0,4194304,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 673624064 (0x2826b000) munmap(0x2826b000,4194304) = 0 (0x0) mmap(0x0,8384512,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 673624064 (0x2826b000) munmap(0x2826b000,1658880) = 0 (0x0) munmap(0x28800000,2531328) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) getpid() = 1807 (0x70f) geteuid() = 0 (0x0) getppid() = 1806 (0x70e) mmap(0x0,4194304,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 679477248 (0x28800000) getuid() = 0 (0x0) geteuid() = 0 (0x0) getgid() = 0 (0x0) getegid() = 0 (0x0) ioctl(0,TIOCGETA,0xbfbfec90) = 0 (0x0) ioctl(1,TIOCGETA,0xbfbfec90) = 0 (0x0) sigaction(SIGINT,0x0,{ SIG_DFL SA_RESTART ss_t }) = 0 (0x0) sigaction(SIGINT,{ 0x8060590 0x0 ss_t },0x0) = 0 (0x0) sigaction(SIGQUIT,0x0,{ SIG_DFL SA_RESTART ss_t }) = 0 (0x0) sigaction(SIGQUIT,{ 0x8060590 0x0 ss_t },0x0) = 0 (0x0) sigaction(SIGTERM,0x0,{ SIG_DFL SA_RESTART ss_t }) = 0 (0x0) sigaction(SIGTERM,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0) ioctl(0,TIOCGETA,0xbfbfec58) = 0 (0x0) fcntl(0,F_GETFL,) = 2 (0x2) fcntl(1,F_GETFL,) = 2 (0x2) fcntl(2,F_GETFL,) = 2 (0x2) sigprocmask(SIG_BLOCK,SIGWINCH,0x0) = 0 (0x0) ioctl(1,TIOCGETA,0xbfbfdf18) = 0 (0x0) issetugid(0xbfbfdb22,0x2824cc6e,0x3fa,0x1409fc,0x281d89e0,0x2807e470) = 0 (0x0) open("/root/.termcap.db",O_CLOEXEC,00) ERR#2 'No such file or directory' open("/root/.termcap",O_CLOEXEC,00) ERR#2 'No such file or directory' open("/usr/share/misc/termcap.db",O_CLOEXEC,00) = 3 (0x3) fstat(3,{ mode=-r--r--r-- ,inode=1526444,size=1343488,blksize=32768 }) = 0 (0x0) read(3,"\0\^F\^Ua\0\0\0\^B\0\0\^D\M-R\0"...,260) = 260 (0x104) pread(0x3,0x28846000,0x1000,0x4c000,0x0,0x28810060) = 4096 (0x1000) pread(0x3,0x2884f000,0x1000,0x6a000,0x0,0x2807e470) = 4096 (0x1000) pread(0x3,0x28850000,0x1000,0x4000,0x0,0x1) = 4096 (0x1000) close(3) = 0 (0x0) ioctl(1,TIOCGETA,0xbfbfdf18) = 0 (0x0) ioctl(1,TIOCGETA,0xbfbfded8) = 0 (0x0) ioctl(1,TIOCGWINSZ,0xbfbfdf30) = 0 (0x0) ioctl(0,TIOCGWINSZ,0xbfbfe428) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) ioctl(0,TIOCGETA,0x288067a8) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGTERM|SIGTSTP|SIGCONT|SIGWINCH,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) issetugid(0xbfbfe870,0x280c02f4,0x2807e470,0xbfbfe910,0x2806aadf,0xbfbfe898) = 0 (0x0) open("/root/.editrc",O_RDONLY,0666) ERR#2 'No such file or directory' [ hit Ctrl-C here ] open("/dev/tty",O_RDWR|O_CLOEXEC,00) ERR#4 'Interrupted system call' SIGNAL 2 (SIGINT) sigreturn(0xbfbfe8c0,0x2,0x10006,0xbfbfe8c0,0x0,0x8060590) ERR#4 'Interrupted system call' ioctl(0,TIOCGETA,0xbfbfec70) = 0 (0x0) fcntl(0,0x11,0xa) = 10 (0xa) ioctl(10,TIOCGPGRP,0xbfbfeca4) = 0 (0x0) getpgrp() = 1806 (0x70e) sigaction(SIGTSTP,0x0,{ SIG_DFL SA_RESTART ss_t }) = 0 (0x0) sigaction(SIGTSTP,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0) sigaction(SIGTTOU,0x0,{ SIG_DFL SA_RESTART ss_t }) = 0 (0x0) sigaction(SIGTTOU,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0) sigaction(SIGTTIN,0x0,{ SIG_DFL SA_RESTART ss_t }) = 0 (0x0) sigaction(SIGTTIN,{ SIG_DFL 0x0 ss_t },0x0) = 0 (0x0) setpgid(0x0,0x70f,0xa,0x0,0xbfbfed70,0xbfbfece0) = 0 (0x0) ioctl(10,TIOCSPGRP,0xbfbfeca4) = 0 (0x0) stat(".",{ mode=drwxr-xr-x ,inode=11797632,size=512,blksize=32768 }) = 0 (0x0) stat("/root",{ mode=drwxr-xr-x ,inode=11797632,size=512,blksize=32768 }) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) setpgid(0x0,0x70e,0xbfbfec48,0x0,0xbfbfec70,0xbfbfecd8) = 0 (0x0) ioctl(10,TIOCSPGRP,0xbfbfec24) = 0 (0x0) close(10) = 0 (0x0) process exit, rval = 0 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Tue May 26 09:20:39 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DE6D7A7D for ; Tue, 26 May 2015 09:20:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C9046EB6 for ; Tue, 26 May 2015 09:20:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4Q9Kdcu096677 for ; Tue, 26 May 2015 09:20:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200459] [nvme] Ioctl for passthrough can hang if called during nvme reset. Date: Tue, 26 May 2015 09:20:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: oren.berman@pmcs.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 09:20:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200459 Bug ID: 200459 Summary: [nvme] Ioctl for passthrough can hang if called during nvme reset. Product: Base System Version: 10.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: freebsd-bugs@FreeBSD.org Reporter: oren.berman@pmcs.com The ioctl for PASSTHROUGH in the nvme driver should return an ERROR if the controller is in reset state,for example checking the ctrlr->is_resetting bit, Otherwise the ioctl might hang. BR Oren -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Tue May 26 12:36:30 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1F11293A for ; Tue, 26 May 2015 12:36:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 08FFF67C for ; Tue, 26 May 2015 12:36:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4QCaTc0075293 for ; Tue, 26 May 2015 12:36:29 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200445] login into system on serial line /dev/cuaU0 hangs if login shell is /bin/sh Date: Tue, 26 May 2015 12:36:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: guru@unixarea.de X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 12:36:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200445 Matthias Apitz changed: What |Removed |Added ---------------------------------------------------------------------------- Component|bin |kern --- Comment #3 from Matthias Apitz --- I dont know if this does matter, but just for the record: the serial line device /dev/cuaU0 from which the login was done and where the problem occures, was created by the uplcom(4) USB support for Prolific PL-2303/2303X/2303HX serial adapters driver; -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Tue May 26 14:13:04 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E9714A77 for ; Tue, 26 May 2015 14:13:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D34F725D for ; Tue, 26 May 2015 14:13:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4QED4N2085149 for ; Tue, 26 May 2015 14:13:04 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 199109] Regression seen with ncurses on 11-current Date: Tue, 26 May 2015 14:13:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 14:13:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199109 --- Comment #8 from commit-hook@freebsd.org --- A commit references this bug: Author: marino Date: Tue May 26 14:12:40 UTC 2015 New revision: 387478 URL: https://svnweb.freebsd.org/changeset/ports/387478 Log: devel/adacurses: work around FreeBSD 11 ncurses regression The upgrade of ncurses on the -CURRENT version of FreeBSD resulted in an regression (see PR) which results in multiple pkg-fallout mails to me weekly. Since the PR isn't moving despite periodic pinging, I am forcing the ports version of ncurses to be used with FreeBSD 11 rather than the base like FreeBSD 10 and earlier, and DragonFly. While here, tweak a makefile install target that was emitting a non-fatal error. PR: 199109 Changes: head/devel/adacurses/Makefile -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Tue May 26 14:20:29 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1BDF0C76 for ; Tue, 26 May 2015 14:20:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 06343330 for ; Tue, 26 May 2015 14:20:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4QEKSOY090560 for ; Tue, 26 May 2015 14:20:28 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 192168] resolver cannot use link-local IPV6 servers Date: Tue, 26 May 2015 14:20:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 14:20:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192168 Andrey V. Elsukov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ae@FreeBSD.org --- Comment #1 from Andrey V. Elsukov --- The drill(1) command also doesn't support IPv6 LLA for @server. As I see, ldns_str2rdf_aaaa() function uses inet_pton(3) function to convert IPv6 address from string into uint8_t[] representation. It should use getaddrinfo(3) function, which supports scope zone ids. The problem is that libdns doesn't use sockaddr_in6 structure (where sin6_scope_id field used to store zone id) and it looks isn't easy to convert ldns_str2rdf_aaaa() to use it. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Tue May 26 16:17:27 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 27F362A7 for ; Tue, 26 May 2015 16:17:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 124D0833 for ; Tue, 26 May 2015 16:17:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4QGHQbg020508 for ; Tue, 26 May 2015 16:17:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200445] login into system on serial line /dev/cuaU0 hangs on open of /dev/tty Date: Tue, 26 May 2015 16:17:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: guru@unixarea.de X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 16:17:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200445 Matthias Apitz changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|login into system on serial |login into system on serial |line /dev/cuaU0 hangs if |line /dev/cuaU0 hangs on |login shell is /bin/sh |open of /dev/tty --- Comment #4 from Matthias Apitz --- the real problem is, that after login por the serial line /dev/cuaU0 no process is able to open /dev/tty, it just hangs on open(2) syscall; I verified this with a small C-code: fd = open("/dev/tty", O_RDWR|O_CLOEXEC, 0); gives in truss: ... open("/dev/tty",O_RDWR|O_CLOEXEC,00) ERR#4 'Interrupted system call' SIGNAL 2 (SIGINT) (the SIGINT is from Ctrl-C -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Tue May 26 16:54:47 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C236439B for ; Tue, 26 May 2015 16:54:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AC78125E for ; Tue, 26 May 2015 16:54:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4QGslFq063098 for ; Tue, 26 May 2015 16:54:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 156908] dumpfs(8) incorrectly displays ufsid Date: Tue, 26 May 2015 16:54:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: Trond.Endrestol@ximalas.info X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 16:54:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=156908 Trond.Endrestol@ximalas.info changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Trond.Endrestol@ximalas.inf | |o --- Comment #1 from Trond.Endrestol@ximalas.info --- Created attachment 157172 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=157172&action=edit Patch for sbin/dumpfs/dumpfs.c to enable output for UFS2 identical to that for UFS1 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Tue May 26 17:46:38 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C9627B26 for ; Tue, 26 May 2015 17:46:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B43FB180 for ; Tue, 26 May 2015 17:46:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4QHkcWW052098 for ; Tue, 26 May 2015 17:46:38 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 156908] dumpfs(8) incorrectly displays ufsid Date: Tue, 26 May 2015 17:46:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: ae@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 17:46:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=156908 Andrey V. Elsukov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ae@FreeBSD.org Assignee|freebsd-bugs@FreeBSD.org |ae@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Tue May 26 19:40:00 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9004BF25 for ; Tue, 26 May 2015 19:40:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7A854D0 for ; Tue, 26 May 2015 19:40:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4QJe06m068894 for ; Tue, 26 May 2015 19:40:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200472] aesni module corrupt IP packets during encryption with IPSec Date: Tue, 26 May 2015 19:40:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: olivier@cochard.me X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 19:40:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200472 Bug ID: 200472 Summary: aesni module corrupt IP packets during encryption with IPSec Product: Base System Version: 10.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: olivier@cochard.me There are lot's of corrupted IP packet with aesni module loaded. I've set-up a very simple lab across 2 FreeBSD servers in IPSec gateway mod= e. pkt-generator =3D=3D=3D=3D=3D=3D fbsd srv1 =3D=3D=3D=3D=3D=3D fbsd svr 2 = =3D=3D=3D=3D pkt-receiver With aesni module loaded and this very simple static ipsec configuration (setkey.conf): flush; spdflush; spdadd 1.0.0.0/8 3.0.0.0/8 any -P in ipsec esp/tunnel/2.2.2.2-2.2.2.3/requi= re; spdadd 3.0.0.0/8 1.0.0.0/8 any -P out ipsec esp/tunnel/2.2.2.3-2.2.2.2/requ= ire; add 2.2.2.2 2.2.2.3 esp 0x1000 -E rijndael-cbc "1234567890123456"; add 2.2.2.3 2.2.2.2 esp 0x1001 -E rijndael-cbc "1234567890123456"; Then generating exactly 100 000 packets in a low-rate of 1000 paquet-per-se= cond using netmap's pktgen crossing these 2 FreeBSD IPSec gateway. =3D> On the packet-receiver, there is only about 80-95% of these 100 000 pa= quets received. Troubleshooting session show that the "receiving" IPSec gateway correctly receive all 100 000 encrypted packets and correctly decrypt them=E2=80=A6 b= ut once decrypted these packets are no more valid IP packets: IP section of a "nets= tat - s" on fbsd srv2 show lot's of invalid IP packets exactly matching the numbe= r of missing packet. And these bad packet are never forwarded to the pkt-receive= r. Here is an example of stat on the fbsd srv 2: [root@srv2]~# sysctl dev.igb.2.mac_stats.rx_frames_512_1023 dev.igb.2.mac_stats.rx_frames_512_1023: 100000 [root@srv2]~# sysctl dev.igb.3.mac_stats.tx_frames_512_1023 dev.igb.3.mac_stats.tx_frames_512_1023: 99128 =3D> Here, 100K encrypted packets are received, but only 99128 are forwarde= d. 872 packet missing. netstat -s output on srv2: ip: 200131 total packets received 38 with data size < data length 15 with header length < data size 1 with bad options 818 with incorrect version number 99128 packets forwarded =3D> 38+15+1+818=3D872 bad IP packets, we found all our missing packet. For fixing this problem we just had to NOT load aesni module on srv1. Bug reproduced with these release: - FreeBSD 10.1-RELEASE-p10 #0 r282880M (about 1-5 % of corrupted packet) - FreeBSD 11.0-CURRENT #2 r283536M (about 10-20 % of corrupted packet) Bug reproduced with these CPU: - Intel Atom CPU C2558 - Intel Xeon CPU L5630 More information on the IPsec lab here: http://bsdrp.net/documentation/examples/ipsec_performance_lab_of_an_ibm_sys= tem_x3550_m3_with_intel_82580 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-bugs@FreeBSD.ORG Tue May 26 20:02:23 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B3E904CA for ; Tue, 26 May 2015 20:02:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 95B689D7 for ; Tue, 26 May 2015 20:02:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4QK2N50027885 for ; Tue, 26 May 2015 20:02:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200474] Fatal trap 12 in counter_u64_zero_one_cpu Date: Tue, 26 May 2015 20:02:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: olgeni@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 20:02:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200474 Bug ID: 200474 Summary: Fatal trap 12 in counter_u64_zero_one_cpu Product: Base System Version: 10.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: olgeni@FreeBSD.org Created attachment 157177 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=157177&action=edit full dmesg buffer I got this panic on 10.1-STABLE FreeBSD 10.1-STABLE #3 r283361. There's not much context here: lots of starting/stopping a single bhyve VM while testing, and at some point a script tried to create lots of tap interface, which were then removed. Not sure if it could be related. Firefox got a signal 10 while browsing, its window disappeared and immediately after I got the panic. kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 3; apic id = 03 fault virtual address = 0xc00 fault code = supervisor write data, page not present instruction pointer = 0x20:0xffffffff80997b8a stack pointer = 0x28:0xfffffe046a6f4570 frame pointer = 0x28:0xfffffe046a6f4590 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = resume, IOPL = 0 current process = 15284 (firefox) trap number = 12 panic: page fault cpuid = 3 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe046a6f4030 kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe046a6f40e0 panic() at panic+0x1c1/frame 0xfffffe046a6f41a0 trap_fatal() at trap_fatal+0x38f/frame 0xfffffe046a6f4200 trap_pfault() at trap_pfault+0x2ed/frame 0xfffffe046a6f42a0 trap() at trap+0x47a/frame 0xfffffe046a6f44b0 calltrap() at calltrap+0x8/frame 0xfffffe046a6f44b0 --- trap 0xc, rip = 0xffffffff80997b8a, rsp = 0xfffffe046a6f4570, rbp = 0xfffffe046a6f4590 --- counter_u64_zero_one_cpu() at counter_u64_zero_one_cpu+0x1a/frame 0xfffffe046a6f4590 smp_rendezvous_action() at smp_rendezvous_action+0xbc/frame 0xfffffe046a6f45c0 Xrendezvous() at Xrendezvous+0x89/frame 0xfffffe046a6f45c0 --- interrupt, rip = 0xffffffff80d7c965, rsp = 0xfffffe046a6f4680, rbp = 0xfffffe046a6f4760 --- pmap_remove_pages() at pmap_remove_pages+0x285/frame 0xfffffe046a6f4760 vmspace_exit() at vmspace_exit+0x9c/frame 0xfffffe046a6f47a0 exit1() at exit1+0x63f/frame 0xfffffe046a6f4830 sigexit() at sigexit+0x925/frame 0xfffffe046a6f4af0 postsig() at postsig+0x286/frame 0xfffffe046a6f4bb0 ast() at ast+0x427/frame 0xfffffe046a6f4bf0 doreti_ast() at doreti_ast+0x1f/frame 0x801dd1780 Uptime: 1d23h6m2s Checking if I can reproduce it somehow... -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Wed May 27 08:41:55 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6ACA996C for ; Wed, 27 May 2015 08:41:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 54C33132 for ; Wed, 27 May 2015 08:41:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4R8ftAC059552 for ; Wed, 27 May 2015 08:41:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200445] login into system on serial line /dev/cuaU0 hangs on open of /dev/tty Date: Wed, 27 May 2015 08:41:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2015 08:41:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200445 Konstantin Belousov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #5 from Konstantin Belousov --- (In reply to Matthias Apitz from comment #4) What is the wait channel for the hung open ? Did you specified the line to use hw flow control ? Does your cable has necessary wires, does your usb/com adapter supports hw flow control ? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Wed May 27 08:56:41 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ED9E8B15 for ; Wed, 27 May 2015 08:56:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BD50C5E9 for ; Wed, 27 May 2015 08:56:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4R8ufnj071990 for ; Wed, 27 May 2015 08:56:41 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200474] Fatal trap 12 in counter_u64_zero_one_cpu Date: Wed, 27 May 2015 08:56:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: olgeni@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2015 08:56:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200474 --- Comment #1 from Jimmy Olgeni --- Found another traceback, this time I have a core file. (kgdb) bt #0 doadump (textdump=1) at pcpu.h:219 #1 0xffffffff8095e3c7 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:452 #2 0xffffffff8095e810 in panic (fmt=) at /usr/src/sys/kern/kern_shutdown.c:759 #3 0xffffffff80d84b5f in trap_fatal (frame=, eva=) at /usr/src/sys/amd64/amd64/trap.c:857 #4 0xffffffff80d84e5d in trap_pfault (frame=0xfffffe046a6f44c0, usermode=) at /usr/src/sys/amd64/amd64/trap.c:674 #5 0xffffffff80d844da in trap (frame=0xfffffe046a6f44c0) at /usr/src/sys/amd64/amd64/trap.c:440 #6 0xffffffff80d69ce2 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:236 #7 0xffffffff80997b8a in counter_u64_zero_one_cpu (arg=0x0) at counter.h:65 #8 0xffffffff809a86fc in smp_rendezvous_action () at /usr/src/sys/kern/subr_smp.c:439 #9 0xffffffff80d6b0f9 in Xrendezvous () at apic_vector.S:295 #10 0xffffffff80d7c965 in pmap_remove_pages (pmap=0xfffff803866f3cd8) at /usr/src/sys/amd64/amd64/pmap.c:5355 #11 0xffffffff80c0c32c in vmspace_exit (td=0xfffff80159723000) at /usr/src/sys/vm/vm_map.c:408 #12 0xffffffff8092182f in exit1 (td=0xfffff80159723000, rv=) at /usr/src/sys/kern/kern_exit.c:385 #13 0xffffffff80961ca5 in sigexit (td=0xfffff80159723000, sig=10) at /usr/src/sys/kern/kern_sig.c:2969 #14 0xffffffff80962546 in postsig (sig=) at /usr/src/sys/kern/kern_sig.c:2872 #15 0xffffffff809acbf7 in ast (framep=) at /usr/src/sys/kern/subr_trap.c:271 #16 0xffffffff80d6b139 in doreti_ast () at /usr/src/sys/amd64/amd64/exception.S:682 #17 0x000000081c1c1928 in ?? () #18 0x0000000818f0bd60 in ?? () #19 0x000000081e429450 in ?? () #20 0x0000000000000528 in ?? () #21 0xfffffffffd279e98 in ?? () #22 0x0000000821b23110 in ?? () #23 0x5a5a5a5a5a5a5a5a in ?? () #24 0x0000000000000008 in ?? () #25 0x0000000801dd1780 in ?? () #26 0x0000000000000000 in ?? () Current language: auto; currently minimal -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Wed May 27 10:02:53 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A9A35B34 for ; Wed, 27 May 2015 10:02:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 93DB6961 for ; Wed, 27 May 2015 10:02:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4RA2rGj027668 for ; Wed, 27 May 2015 10:02:53 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200445] login into system on serial line /dev/cuaU0 hangs on open of /dev/tty Date: Wed, 27 May 2015 10:02:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: guru@unixarea.de X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2015 10:02:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200445 --- Comment #6 from Matthias Apitz --- (In reply to Konstantin Belousov from comment #5) I have not specified hw flow control and I do not know if the USB-serial supports this. As described in the handbook, I added to /etc/ttys a line: cuaU0 "/usr/libexec/getty std.9600" vt102 on secure and after 'kill -HUP 1' on the terminal, login as root is possible and, for example, an 'ls -lR /' works nicely passing the output fine to the VT102; i.e. I do not think, that we have some flow control issue; the only things I have figured out so far are: 1) one can not use /bin/sh as login shell, it will hang on login; 2) you can not open /dev/tty after login; it will hang 3) if you use MUA mutt, and below this the vim to write the mail, mutt will hang too after the end of vim; and a Ctrl-C makes it continue (perhaps for the same reason of hang on /dev/tty open call) what Do you want me to check or change exactly? Thanks -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Wed May 27 10:32:05 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 735A219E for ; Wed, 27 May 2015 10:32:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5DC4CF0 for ; Wed, 27 May 2015 10:32:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4RAW5KE089317 for ; Wed, 27 May 2015 10:32:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200472] aesni module corrupt IP packets during encryption with IPSec Date: Wed, 27 May 2015 10:32:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2015 10:32:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200472 --- Comment #1 from Andrey V. Elsukov --- Can you kldload hwpmc and look which functions are in use when you are doing the tests? (run pmcstat -TS instructions -w1) You should see aesni_process() or swcr_process() in the top of list. If you will see swcr_process(), this means aesni isn't used. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Wed May 27 10:35:41 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 04141241 for ; Wed, 27 May 2015 10:35:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E2A53129 for ; Wed, 27 May 2015 10:35:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4RAZehc090590 for ; Wed, 27 May 2015 10:35:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200472] aesni module corrupt IP packets during encryption with IPSec Date: Wed, 27 May 2015 10:35:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2015 10:35:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200472 --- Comment #2 from Andrey V. Elsukov --- Also, is there some errors in the IPSec stats? # netstat -sp ipsec # netstat -sp esp -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Wed May 27 13:08:24 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 71F25AE7 for ; Wed, 27 May 2015 13:08:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 53957BF8 for ; Wed, 27 May 2015 13:08:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4RD8O22061377 for ; Wed, 27 May 2015 13:08:24 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200472] aesni module corrupt IP packets during encryption with IPSec Date: Wed, 27 May 2015 13:08:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: olivier@cochard.me X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2015 13:08:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200472 --- Comment #3 from olivier@cochard.me --- Ok, new test under FreeBSD 11.0-CURRENT #3 r283536 (Still generating 100 000 packets in 1000pps.) Here is first line of pwmc output during the load (done on the "encrypter I= PSec gateway side"): PMC: [INSTR_RETIRED_ANY] Samples: 544 (100.0%) , 0 unresolved %SAMP IMAGE FUNCTION CALLERS 7.4 aesni.ko aesni_encrypt_cbc aesni_process 4.2 kernel cpu_search_highest sched_idletd:2.6 cpu_search_highest:1= .7 2.8 kernel spinlock_exit intr_event_schedule_thread:1.1 handleevents:0.6 2.4 kernel uma_zalloc_arg crypto_getreq:1.3 malloc:0.9 2.4 libc.so.7 bsearch 0x63b4 2.4 kernel cpu_search_lowest cpu_search_lowest:1.3 sched_pickcpu:1= .1 2.0 kernel critical_exit spinlock_exit:1.1 sched_idletd:0.6 2.0 kernel __rw_rlock in_lltable_lookup:0.6 ip_input:0.6 1.8 kernel _rw_runlock_cookie rtalloc1_fib 1.8 kernel igb_rxeof igb_msix_que 1.8 kernel ip_output ipsec_process_done 1.7 kernel spinlock_enter thread_lock_flags_ 1.5 kernel sched_switch mi_switch 1.3 kernel key_allocsp ipsec_getpolicybyaddr 1.3 kernel sched_pickcpu sched_add 1.1 kernel rn_match rtalloc1_fib 1.1 kernel bzero 1.1 kernel cpu_switch mi_switch 1.1 kernel bounce_bus_dmamap_lo bus_dmamap_load_mbuf_sg 1.1 pmcstat 0x63d3 bsearch Now on the "decrypter IPSec gateway side" the netstat output: [root@R3]~# netstat -sp ipsec ipsec: 0 inbound packets violated process security policy 0 inbound packets failed due to insufficient memory 0 invalid inbound packets 0 outbound packets violated process security policy 0 outbound packets with no SA available 0 outbound packets failed due to insufficient memory 0 outbound packets with no route available 0 invalid outbound packets 0 outbound packets with bundled SAs 0 mbufs coalesced during clone 0 clusters coalesced during clone 0 clusters copied during clone 0 mbufs inserted during makespace [root@R3]~# netstat -sp esp esp: 0 packets shorter than header shows 0 packets dropped; protocol family not supported 0 packets dropped; no TDB 0 packets dropped; bad KCR 0 packets dropped; queue full 0 packets dropped; no transform 0 packets dropped; bad ilen 0 replay counter wraps 0 packets dropped; bad encryption detected 0 packets dropped; bad authentication detected 0 possible replay packets detected 100000 packets in 0 packets out 0 packets dropped; invalid TDB 54400000 bytes in 0 bytes out 0 packets dropped; larger than IP_MAXPACKET 0 packets blocked due to policy 0 crypto processing failures 0 tunnel sanity check failures ESP output histogram: rijndael-cbc: 100000 =3D> No "Ipsec/esp" problem: IPsec packets are correctly generated. But once decrypted, lot's of errors (too small, bad header, incorrect versi= on number, etc=E2=80=A6): [root@R3]~# netstat -sp ip ip: 200145 total packets received 0 bad header checksums 0 with size smaller than minimum 40 with data size < data length 0 with ip length > max ip packet size 19 with header length < data size 0 with data length < header length 1 with bad options 818 with incorrect version number 0 fragments received 0 fragments dropped (dup or out of space) 0 fragments dropped after timeout 0 packets reassembled ok 100145 packets for this host 0 packets for unknown/unsupported protocol 99122 packets forwarded (0 packets fast forwarded) 0 packets not forwardable 0 packets received for unknown multicast group 0 redirects sent 120 packets sent from this host 0 packets sent with fabricated ip header 0 output packets dropped due to no bufs, etc. 0 output packets discarded due to no route 0 output datagrams fragmented 0 fragments created 0 datagrams that can't be fragmented 0 tunneling packets that can't find gif 0 datagrams with bad address in header =3D> On 100 000 IPSec packets received, ALL of them are correctly decrypted= , but once decrypted their contends are corrupted. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-bugs@FreeBSD.ORG Wed May 27 14:16:15 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 84690CB0 for ; Wed, 27 May 2015 14:16:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6D69AFBA for ; Wed, 27 May 2015 14:16:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4REGFWH064984 for ; Wed, 27 May 2015 14:16:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 197876] [devfs] an error in devfs leads to data loss and to faulty block size being reported - GEOM providers' sector and media sizes are not reflected in the block device entries Date: Wed, 27 May 2015 14:16:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jau@iki.fi X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2015 14:16:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197876 jau@iki.fi changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[devfs] an error in devfs |[devfs] an error in devfs |leads to data loss - GEOM |leads to data loss and to |providers' sector and media |faulty block size being |sizes are not reflected in |reported - GEOM providers' |the block device entries |sector and media sizes are | |not reflected in the block | |device entries -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Wed May 27 14:21:55 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 93E52150 for ; Wed, 27 May 2015 14:21:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7BEEC28C for ; Wed, 27 May 2015 14:21:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4RELt7B074098 for ; Wed, 27 May 2015 14:21:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 197876] [devfs] an error in devfs leads to data loss and to faulty block size being reported - GEOM providers' sector and media sizes are not reflected in the block device entries Date: Wed, 27 May 2015 14:21:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jau@iki.fi X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback+ mfc-stable10? X-Bugzilla-Changed-Fields: flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2015 14:21:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197876 jau@iki.fi changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |maintainer-feedback+, | |mfc-stable10? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Wed May 27 14:28:27 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E211441B for ; Wed, 27 May 2015 14:28:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B2A05359 for ; Wed, 27 May 2015 14:28:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4RESR4W076478 for ; Wed, 27 May 2015 14:28:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200350] elftoolchain incorrect strip(1) SHT_GROUP handling Date: Wed, 27 May 2015 14:28:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2015 14:28:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200350 --- Comment #3 from commit-hook@freebsd.org --- A commit references this bug: Author: emaste Date: Wed May 27 14:28:22 UTC 2015 New revision: 283616 URL: https://svnweb.freebsd.org/changeset/base/283616 Log: Update to ELF Tool Chain r3223 Highlights (upstream revisions): - Fix SHT_GROUP handling in elfcopy/strip (3206 3220 3221) - Misc elfcopy / strip bug fixes (3215 3216 3217) - Many C++ demangler improvements (3199 3200 3201 3202 3203 3204 3205 3208 3210 3211 3212) - Improve GNU binutils compatibility in elfcopy / strip (3213 3214) - Add -g option to readelf(1): dump contents of section groups (3219) - Add EM_IAMCU 32-bit Intel MCU (3198) Also add a compat #define for building with older FreeBSD ELF headers. The GRP_COMDAT flag was added to elf_common.h in r283110, but it's not available during the bootstrap build. It is also convenient to be able to build on older hosts. Thanks to antoine@ for tracking down issues through multiple exp-runs and to kaiw@ for fixing. PR: 198611 (exp-run), 200350 Sponsored by: The FreeBSD Foundation Changes: _U head/contrib/elftoolchain/ head/contrib/elftoolchain/common/_elftc.h head/contrib/elftoolchain/common/elfdefinitions.h head/contrib/elftoolchain/elfcopy/elfcopy.h head/contrib/elftoolchain/elfcopy/main.c head/contrib/elftoolchain/elfcopy/sections.c head/contrib/elftoolchain/elfcopy/symbols.c head/contrib/elftoolchain/libdwarf/libdwarf_reloc.c head/contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c head/contrib/elftoolchain/libelftc/os.Linux.mk head/contrib/elftoolchain/readelf/readelf.1 head/contrib/elftoolchain/readelf/readelf.c head/lib/libelftc/elftc_version.c -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Wed May 27 14:30:05 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B9E6E6EA for ; Wed, 27 May 2015 14:30:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A416D375 for ; Wed, 27 May 2015 14:30:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4REU5tN077123 for ; Wed, 27 May 2015 14:30:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200350] elftoolchain incorrect strip(1) SHT_GROUP handling Date: Wed, 27 May 2015 14:30:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2015 14:30:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200350 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED --- Comment #4 from Ed Maste --- Fixed with ELF Tool Chain update to r3223. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Wed May 27 15:17:05 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 99ED995B for ; Wed, 27 May 2015 15:17:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 840A61A3 for ; Wed, 27 May 2015 15:17:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4RFH5Rx004279 for ; Wed, 27 May 2015 15:17:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 197174] panic: vm_radix_insert: key 473 is already present Date: Wed, 27 May 2015 15:17:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vivek@khera.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2015 15:17:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197174 --- Comment #1 from Vick Khera --- Since the time of this original bug report, I have upgraded both Postgres (to 9.4) and FreeBSD (to 10.1). Since these upgrades, there have been no similar panics reported. However, given that the prior software configuration was running for over a year non-stop, I cannot rule out that there is not going to be another panic like it. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Wed May 27 18:43:37 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5E1D9E50 for ; Wed, 27 May 2015 18:43:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48C77ED0 for ; Wed, 27 May 2015 18:43:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4RIhbJk071235 for ; Wed, 27 May 2015 18:43:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200445] login into system on serial line /dev/cuaU0 hangs on open of /dev/tty Date: Wed, 27 May 2015 18:43:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: guru@unixarea.de X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2015 18:43:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200445 --- Comment #7 from Matthias Apitz --- it works now fine with this line in /etc/ttys: ttyU0 "/usr/libexec/getty 3wire.9600" vt102 on secure and we can close the issue; maybe the cap. 26.3.1 should be changed to use 'ttyUX' and not 'ttyuX' (i.e. capital 'U') and point out the difference between '/dev/cuaUX' and '/dev/ttyUX'; please close the issue; thanks to Ed Schouten for the helping hint; -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Thu May 28 11:21:04 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5847DA8D for ; Thu, 28 May 2015 11:21:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 42F3CD43 for ; Thu, 28 May 2015 11:21:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4SBL49M039505 for ; Thu, 28 May 2015 11:21:04 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200472] aesni module corrupt IP packets during encryption with IPSec Date: Thu, 28 May 2015 11:21:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2015 11:21:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200472 --- Comment #4 from Andrey V. Elsukov --- It is possible that IP packets were currupted before encryption or after decryption (encapsulation/decapsulation). Can you try similar test, but use IPSec transport mode? You need to create gif or gre tunnel between srv1 and srv2. Packets from pkt-generator should be routed through this tunnel. You can test such configuration without encryption, then add SP and SA for this traffic and see how it will work :) -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Thu May 28 12:27:50 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8C1BBE25 for ; Thu, 28 May 2015 12:27:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5CFD2FA0 for ; Thu, 28 May 2015 12:27:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4SCRoeD087506 for ; Thu, 28 May 2015 12:27:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200472] aesni module corrupt IP packets during encryption with IPSec Date: Thu, 28 May 2015 12:27:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: olivier@cochard.me X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2015 12:27:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200472 --- Comment #5 from olivier@cochard.me --- If I unload aesni module on "encrypter" side, the problem disappear: Then how can the packet being corrupted after decryption ? New test without aesni module loaded on the "encrypter side" (srv1), but still loaded on "decrypter side" (srv2): Encrypter: [root@srv1]~# kldstat Id Refs Address Size Name 1 8 0xffffffff80200000 17dc0f0 kernel 2 1 0xffffffff81c11000 2dd6 ichsmb.ko 3 1 0xffffffff81c14000 e7e smbus.ko 4 1 0xffffffff81c15000 2a16 coretemp.ko Decrypter: [root@srv2]~# kldstat Id Refs Address Size Name 1 11 0xffffffff80200000 17dc0f0 kernel 2 1 0xffffffff81c11000 7fe8 aesni.ko 3 1 0xffffffff81c19000 2dd6 ichsmb.ko 4 1 0xffffffff81c1c000 e7e smbus.ko 5 1 0xffffffff81c1d000 2a16 coretemp.ko Then, again, generating exactly 100 000 packets in a low-rate of 1000 paquet-per-second using netmap's pktgen crossing these 2 FreeBSD IPSec gateway. Stat on "decrypter side" (srv2): [root@srv2]~# sysctl dev.igb.2.mac_stats.rx_frames_512_1023 dev.igb.2.mac_stats.rx_frames_512_1023: 100000 [root@srv2]~# sysctl dev.igb.3.mac_stats.tx_frames_512_1023 dev.igb.3.mac_stats.tx_frames_512_1023: 100000 => All packets are correctly decrypted AND forwarded No more "bad ip packet" errors on decrypter side: [root@srv2]~# netstat -ssp ip ip: 200064 total packets received 100064 packets for this host 100000 packets forwarded 69 packets sent from this host Then, should I still do a new test in Transport mode ? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Thu May 28 14:25:07 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8C2C187B for ; Thu, 28 May 2015 14:25:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 764A4230 for ; Thu, 28 May 2015 14:25:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4SEP7xu072081 for ; Thu, 28 May 2015 14:25:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200493] Killing pid 11 (idle) wedges the disk IO Date: Thu, 28 May 2015 14:25:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: trasz@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2015 14:25:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200493 Bug ID: 200493 Summary: Killing pid 11 (idle) wedges the disk IO Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: trasz@FreeBSD.org Killing pid 11, as root, like this: # kill -KILL 11 ... results in wedged io, until reboot - "diskinfo -t /dev/ada0" shows access times from 0.1 msec immediately go to 44 msec. Pid 11 is "idle". -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Thu May 28 15:10:31 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 94865EC for ; Thu, 28 May 2015 15:10:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7E758F52 for ; Thu, 28 May 2015 15:10:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4SFAVFC046483 for ; Thu, 28 May 2015 15:10:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200493] Killing pid 11 (idle) wedges the disk IO Date: Thu, 28 May 2015 15:10:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2015 15:10:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200493 Konstantin Belousov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #1 from Konstantin Belousov --- (In reply to Edward Tomasz Napierala from comment #0) It is very _weird_ bug report from developer. You did not invesigated what is the state of the idle (?) process after the kill, obviously pid value does not matter since kernel starts variable number of the kprocs during the boot (on my kernel idle has pid 10). And last and most important, kernel processes do not process signals: there is no place where cursig()/postsig() pair is called, since there is no return from kernel to user mode, and no ast handler called. E.g. after I do kill -9 10 (pid 10 is my idle process), I see sandy% sudo procstat -i 10 PID COMM SIG FLAGS 10 idle KILL P-- I.e. SIGKILL was put into the queue, but nothing processed it. And I do not observe any weirdness in the system behaviour afterward. If your system consumed the SIGKILL, there should be some code which called postsig() in the context of the idle threads. FYI, the idle loop is sched_idletd(), private for the given scheduler implementation. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Thu May 28 17:49:01 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5DB38A85 for ; Thu, 28 May 2015 17:49:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48B07C9A for ; Thu, 28 May 2015 17:49:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4SHn1d5031971 for ; Thu, 28 May 2015 17:49:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200493] Killing pid 11 (idle) wedges the disk IO Date: Thu, 28 May 2015 17:49:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: trasz@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2015 17:49:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200493 --- Comment #2 from Edward Tomasz Napierala --- The report is weird, because the bug is. I have no idea what could be causing this, and how to approach debugging it. More data points: the slowdown is there also for md(4). You can make things go faster by holding "enter" at the terminal; basically try this: kill -KILL 11 mdconfig -s1g while :; do dd if=/dev/md0 of=/dev/null bs=1m count=256; done and then see what happens when you hold down the enter key, and otherwise. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Thu May 28 18:12:26 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A706A5A2 for ; Thu, 28 May 2015 18:12:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9238D3D5 for ; Thu, 28 May 2015 18:12:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4SICQEP033926 for ; Thu, 28 May 2015 18:12:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200493] Killing pid 11 (idle) wedges the disk IO Date: Thu, 28 May 2015 18:12:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2015 18:12:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200493 --- Comment #3 from Konstantin Belousov --- (In reply to Edward Tomasz Napierala from comment #2) No, bug report is weird because it does not contain even an attempt to get an overview of the system state after it enters the un-understandable condition. ps auxwwH, procstat, looking for the threads eating 100% cpus, stopped clocks, whatever. As I said, I killed my idle process and did not see any change in the system behavior. The 'enter' key ticking some processing might indicate problems with stopped event clocks or clock interrupts. E.g. network interrupts coming in could have similar effect ? Anyway, collect as much as possible of the overview information for the system before and after the killing, and see what changed. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Thu May 28 18:24:38 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 98176524 for ; Thu, 28 May 2015 18:24:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7AD2A8D5 for ; Thu, 28 May 2015 18:24:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4SIOcmW051261 for ; Thu, 28 May 2015 18:24:38 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 191348] [mps] LSI2308 with WD3000FYYZ drives disappears after hotswapping Date: Thu, 28 May 2015 18:24:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: patch-ready X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2015 18:24:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191348 --- Comment #19 from commit-hook@freebsd.org --- A commit references this bug: Author: slm Date: Thu May 28 18:24:28 UTC 2015 New revision: 283661 URL: https://svnweb.freebsd.org/changeset/base/283661 Log: The wrong commit message was given with r283632. This is the correct message. - Updated all files with 2015 Avago copyright, and updated LSI's copyright dates. - Changed all of the PCI device strings from LSI to Avago Technologies (LSI). - Added a sysctl variable to control how StartStopUnit behavior works. User can select to spin down disks based on if disk is SSD or HDD. - Inquiry data is required to tell if a disk will support SSU at shutdown or not. Due to the addition of mpssas_async, which gets Advanced Info but not Inquiry data, the setting of supports_SSU was moved to the mpssas_scsiio_complete function, which snoops for any Inquiry commands. And, since disks are shutdown as a target and not a LUN, this process was simplified by basing it on targets and not LUNs. - Added a sysctl variable that sets the amount of time to retry after sending a failed SATA ID command. This helps with some bad disks and large disks that require a lot of time to spin up. Part of this change was to add a callout to handle timeouts with the SATA ID command. The callout function is called mpssas_ata_id_timeout(). (Fixes PR 191348) - Changed the way resets work by allowing I/O to continue to devices that are not currently under a reset condition. This uses devq's instead of simq's and makes use of the MPSSAS_TARGET_INRESET flag. This change also adds a function called mpssas_prepare_tm(). - Some changes were made to reduce code duplication when getting a SAS address for a SATA disk. - Fixed some formatting and whitespace. - Bump version of mps driver to 9.255.01.00-fbsd PR: 191348 Reviewed by: ken, scottl Approved by: ken, scottl MFC after: 1 week Changes: head/sys/dev/mpr/mpi/mpi2.h head/sys/dev/mpr/mpi/mpi2_cnfg.h head/sys/dev/mpr/mpi/mpi2_hbd.h head/sys/dev/mpr/mpi/mpi2_history.txt head/sys/dev/mpr/mpi/mpi2_init.h head/sys/dev/mpr/mpi/mpi2_ioc.h head/sys/dev/mpr/mpi/mpi2_ra.h head/sys/dev/mpr/mpi/mpi2_raid.h head/sys/dev/mpr/mpi/mpi2_sas.h head/sys/dev/mpr/mpi/mpi2_targ.h head/sys/dev/mpr/mpi/mpi2_tool.h head/sys/dev/mpr/mpi/mpi2_type.h head/sys/dev/mpr/mpr.c head/sys/dev/mpr/mpr_config.c head/sys/dev/mpr/mpr_ioctl.h head/sys/dev/mpr/mpr_mapping.c head/sys/dev/mpr/mpr_mapping.h head/sys/dev/mpr/mpr_pci.c head/sys/dev/mpr/mpr_sas.c head/sys/dev/mpr/mpr_sas.h head/sys/dev/mpr/mpr_sas_lsi.c head/sys/dev/mpr/mpr_user.c head/sys/dev/mpr/mprvar.h -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Thu May 28 19:50:14 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F00F2ABF for ; Thu, 28 May 2015 19:50:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DBC0AE87 for ; Thu, 28 May 2015 19:50:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4SJoEm6071902 for ; Thu, 28 May 2015 19:50:14 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200500] libstand/tftp.c recvtftp() is broken for large files Date: Thu, 28 May 2015 19:50:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tsoome@me.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2015 19:50:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200500 Bug ID: 200500 Summary: libstand/tftp.c recvtftp() is broken for large files Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: tsoome@me.com The tftp th_block is unsigned short, but tftp code in libstand is tracking transaction id's with struct iodesc field xid, which is long. In case of large files, the transaction id will reset to 0 but current code will miss it as it does compare short int with long int. the fix is simple: --- a/libstand/tftp.c +++ b/libstand/tftp.c @@ -200,7 +200,7 @@ recvtftp(struct tftp_handle *h, void *pkt, ssize_t len, time_t tleft, case DATA: { int got; - if (htons(t->th_block) != d->xid) { + if (htons(t->th_block) != (u_short) d->xid) { /* * Expected block? */ -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Fri May 29 01:09:48 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 06D6AC80 for ; Fri, 29 May 2015 01:09:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E547212A4 for ; Fri, 29 May 2015 01:09:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4T19lVY071047 for ; Fri, 29 May 2015 01:09:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 108462] [request] pkg_info(1) shouldn't have a hard width limit Date: Fri, 29 May 2015 01:09:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 6.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bapt@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 01:09:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=108462 Baptiste Daroussin changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Overcome By Events Status|In Progress |Closed -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Fri May 29 04:12:25 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8043347D for ; Fri, 29 May 2015 04:12:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6BAC61D93 for ; Fri, 29 May 2015 04:12:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4T4CPbQ093836 for ; Fri, 29 May 2015 04:12:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200512] _nss_cache_cycle_prevention_function hack between lib/libc and usr.sbin Date: Fri, 29 May 2015 04:12:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ngie@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 04:12:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200512 Bug ID: 200512 Summary: _nss_cache_cycle_prevention_function hack between lib/libc and usr.sbin Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: ngie@FreeBSD.org Spotted the string 'Undefined symbol "_nss_cache_cycle_prevention_function"' in a corefile that uses nsdispatch. The lookup's being done in lib/libc/net/nsdispatch.c, however, "_nss_cache_cycle_prevention_function" is only being provided by nscd. This hack seems horrible and could probably be replaced with a weak symbol... $ grep -r _nss_cache_cycle_prevention usr.sbin/ lib usr.sbin/nscd/nscd.c: * The idea of _nss_cache_cycle_prevention_function is that nsdispatch usr.sbin/nscd/nscd.c:void *_nss_cache_cycle_prevention_function; lib/libc/net/nsdispatch.c: "_nss_cache_cycle_prevention_function"); -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Fri May 29 04:18:16 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 341BD4FB for ; Fri, 29 May 2015 04:18:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1EFBA1DB5 for ; Fri, 29 May 2015 04:18:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4T4IFBc099842 for ; Fri, 29 May 2015 04:18:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200512] _nss_cache_cycle_prevention_function hack between lib/libc and usr.sbin could probably be done away with using a weak symbol Date: Fri, 29 May 2015 04:18:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ngie@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 04:18:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200512 Garrett Cooper,425-314-3911 changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|_nss_cache_cycle_prevention |_nss_cache_cycle_prevention |_function hack between |_function hack between |lib/libc and usr.sbin |lib/libc and usr.sbin could | |probably be done away with | |using a weak symbol -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Fri May 29 05:50:39 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8E8B9555 for ; Fri, 29 May 2015 05:50:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 78E9511AE for ; Fri, 29 May 2015 05:50:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4T5odNv044683 for ; Fri, 29 May 2015 05:50:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200513] Race at shutdown and corrupt fusefs systems Date: Fri, 29 May 2015 05:50:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rkoberman@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 05:50:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200513 Bug ID: 200513 Summary: Race at shutdown and corrupt fusefs systems Product: Base System Version: 10.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: rkoberman@gmail.com Created attachment 157242 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=157242&action=edit init script to umount fusefs file systems prior to the termination of the daemon The fuse daemon is required to work with fusefs files systems. If ntfs or exfat systems are mounted and the system is shutdown, it appears that the daemon exists prior to the completion of the unmounting of the file system. This leads to corrupt file systems. I ave seen this with NTFS and exFAT, but it cam likely occur with other fusefs systems. After repeated file systems corruptions I added an init script to unmount any fusefs files between LOGIN and DAEMON. Since I added this script, I have had no corruptions of NTFS systems. (I am no longer using exFAT.) I would suggest either including such a scrip in the base system or fixing the system so that the daemon exists only after any fusefs systems have been unmounted. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Fri May 29 09:38:05 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 895F1E79 for ; Fri, 29 May 2015 09:38:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 739311605 for ; Fri, 29 May 2015 09:38:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4T9c54Q018640 for ; Fri, 29 May 2015 09:38:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200493] Killing pid 11 (idle) wedges the disk IO Date: Fri, 29 May 2015 09:38:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: trasz@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 09:38:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200493 --- Comment #4 from Edward Tomasz Napierala --- The reason I didn't provide more information is that I believed it to be trivially reproducible - and also because I can't tell much about it. That is, everything looks normal: the system is almost idle, vmstat/iostat/top etc don't show anything weird... It's just that "diskinfo -t" shows values orders of magnitude worse than usual. Actually, I've noticed something: idle threads priority. Before: # procstat -t 11 PID TID COMM TDNAME CPU PRI STATE WCHAN 11 100003 idle idle: cpu0 -1 255 run - 11 100004 idle idle: cpu1 1 255 run - # kill -KILL 11 [root@brick:/home/trasz]# procstat -t 11 PID TID COMM TDNAME CPU PRI STATE WCHAN 11 100003 idle idle: cpu0 0 120 run - 11 100004 idle idle: cpu1 -1 255 run - Bumping the idle thread's priority would explain what's happening. But why does it get bumped? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Fri May 29 09:55:02 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CC75D2F1 for ; Fri, 29 May 2015 09:55:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B687E1A79 for ; Fri, 29 May 2015 09:55:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4T9t2w7037536 for ; Fri, 29 May 2015 09:55:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200493] Killing pid 11 (idle) wedges the disk IO Date: Fri, 29 May 2015 09:55:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 09:55:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200493 --- Comment #5 from Konstantin Belousov --- (In reply to Edward Tomasz Napierala from comment #4) Great, you nailed it down. Look at the tdsigwakeup(), which is called from the main code to send a signal to a thread tdsendsignal(): /* * Bring the priority of a thread up if we want it to get * killed in this lifetime. */ if (action == SIG_DFL && (prop & SA_KILL) && td->td_priority > PUSER) sched_prio(td, PUSER); -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Fri May 29 09:58:08 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 86C92381 for ; Fri, 29 May 2015 09:58:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 70ECE1AA8 for ; Fri, 29 May 2015 09:58:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4T9w8gV038783 for ; Fri, 29 May 2015 09:58:08 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200493] Killing pid 11 (idle) wedges the disk IO Date: Fri, 29 May 2015 09:58:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 09:58:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200493 --- Comment #6 from Konstantin Belousov --- Created attachment 157247 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=157247&action=edit Do not bump idle thread priority -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Fri May 29 09:58:50 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA6A33E0 for ; Fri, 29 May 2015 09:58:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C46BF1ABA for ; Fri, 29 May 2015 09:58:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4T9wo83039072 for ; Fri, 29 May 2015 09:58:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 196973] sh(1) broken UTF-8 input Date: Fri, 29 May 2015 09:58:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bapt@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: mfc-stable10? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 09:58:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196973 Baptiste Daroussin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bapt@FreeBSD.org --- Comment #3 from Baptiste Daroussin --- Unfortunatly MFCing would be complicated, I don't know if I'll end up doing it. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Fri May 29 09:59:55 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 578E444A for ; Fri, 29 May 2015 09:59:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 414731AD4 for ; Fri, 29 May 2015 09:59:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4T9xtbJ039651 for ; Fri, 29 May 2015 09:59:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 197608] timeout(1) does not handle zombie grandchildren Date: Fri, 29 May 2015 09:59:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bapt@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 09:59:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197608 Baptiste Daroussin changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Fri May 29 10:00:52 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5A9154BD for ; Fri, 29 May 2015 10:00:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 44A561C28 for ; Fri, 29 May 2015 10:00:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4TA0qHi054822 for ; Fri, 29 May 2015 10:00:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 197288] MANWIDTH env var has no effect on manpage display Date: Fri, 29 May 2015 10:00:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bapt@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 10:00:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197288 Baptiste Daroussin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED --- Comment #1 from Baptiste Daroussin --- I has been fixed in the meantime -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Fri May 29 10:01:34 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2C620515 for ; Fri, 29 May 2015 10:01:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 162891C9C for ; Fri, 29 May 2015 10:01:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4TA1XDb068906 for ; Fri, 29 May 2015 10:01:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200493] Killing pid 11 (idle) wedges the disk IO Date: Fri, 29 May 2015 10:01:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 10:01:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200493 Konstantin Belousov changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #157247|0 |1 is obsolete| | --- Comment #7 from Konstantin Belousov --- Created attachment 157248 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=157248&action=edit Do not bump idle thread priority Slight improvement, add a safety brake for the unreachable code. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Fri May 29 10:07:36 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3FAC6830 for ; Fri, 29 May 2015 10:07:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 29E3A1D55 for ; Fri, 29 May 2015 10:07:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4TA7aFE080465 for ; Fri, 29 May 2015 10:07:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 195928] pw/pwupd.h has a dead decl Date: Fri, 29 May 2015 10:07:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 10:07:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195928 --- Comment #1 from commit-hook@freebsd.org --- A commit references this bug: Author: bapt Date: Fri May 29 10:07:21 UTC 2015 New revision: 283695 URL: https://svnweb.freebsd.org/changeset/base/283695 Log: Remove dead declaration PR: 195928 MFC after: 2 days Changes: head/usr.sbin/pw/pwupd.h -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Fri May 29 10:08:13 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 45C50880 for ; Fri, 29 May 2015 10:08:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2FFE51D5D for ; Fri, 29 May 2015 10:08:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4TA8Dmd080901 for ; Fri, 29 May 2015 10:08:13 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 195928] pw/pwupd.h has a dead decl Date: Fri, 29 May 2015 10:08:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bapt@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 10:08:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195928 Baptiste Daroussin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Fri May 29 10:10:09 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2BEEA90A for ; Fri, 29 May 2015 10:10:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 161DA1DB8 for ; Fri, 29 May 2015 10:10:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4TAA8UJ082065 for ; Fri, 29 May 2015 10:10:08 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 195086] Overflow in a2p(1) utility Date: Fri, 29 May 2015 10:10:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bapt@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to version product component Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 10:10:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195086 Baptiste Daroussin changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-ports-bugs@FreeBSD. | |org Version|11.0-CURRENT |Latest Product|Base System |Ports & Packages Component|bin |Individual Port(s) -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Fri May 29 10:35:23 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D7C84C89 for ; Fri, 29 May 2015 10:35:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C19F513C9 for ; Fri, 29 May 2015 10:35:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4TAZNXn014065 for ; Fri, 29 May 2015 10:35:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200493] Killing pid 11 (idle) wedges the disk IO Date: Fri, 29 May 2015 10:35:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 10:35:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200493 --- Comment #8 from Konstantin Belousov --- (In reply to Konstantin Belousov from comment #7) And to express my opinion on the whole stuff. The signal delivery to the kernel threads must be opt-in feature. Kernel thread should explicitely declare the ability to handle signals directed to it. E.g., nfsd threads check for signal as an indication of exit request. Most threads do not handle signals at all, and queuing the signal to them causes odd side-effects. Most innocent consequence is the memory leak due to queued ksiginfo, which is never deleted from the sigqueue. Or, the priority bump for the idle thread, as you discovered. Code to prevent even queuing signals to the kernel threads is trivial, but it requires careful examination of each call to kproc/kthread creation to decide should the signalling be allowed. The patch I provided IMO is good stop-gap measure which fixes the immediate ugly case. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Fri May 29 10:37:23 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A8072CF5 for ; Fri, 29 May 2015 10:37:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 92B38140F for ; Fri, 29 May 2015 10:37:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4TAbNfV015503 for ; Fri, 29 May 2015 10:37:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 151187] pkg(8): allow different pkgdep location Date: Fri, 29 May 2015 10:37:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bapt@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 10:37:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=151187 --- Comment #5 from Baptiste Daroussin --- The concept does not really apply to pkg(8) as pkg supports multiple repositories -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Fri May 29 14:32:41 2015 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8343BD71 for ; Fri, 29 May 2015 14:32:41 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail106.syd.optusnet.com.au (mail106.syd.optusnet.com.au [211.29.132.42]) by mx1.freebsd.org (Postfix) with ESMTP id 2E9291F89 for ; Fri, 29 May 2015 14:32:40 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from c211-30-166-197.carlnfd1.nsw.optusnet.com.au (c211-30-166-197.carlnfd1.nsw.optusnet.com.au [211.30.166.197]) by mail106.syd.optusnet.com.au (Postfix) with ESMTPS id 32B6E3C41FC for ; Sat, 30 May 2015 00:32:16 +1000 (AEST) Date: Sat, 30 May 2015 00:32:15 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org cc: freebsd-bugs@freebsd.org Subject: Re: [Bug 200493] Killing pid 11 (idle) wedges the disk IO In-Reply-To: Message-ID: <20150529232657.L2299@besplex.bde.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.1 cv=L/MkHYj8 c=1 sm=1 tr=0 a=KA6XNC2GZCFrdESI5ZmdjQ==:117 a=PO7r1zJSAAAA:8 a=9cW_t1CCXrUA:10 a=kj9zAlcOel0A:10 a=JzwRw_2MAAAA:8 a=6I5d2MoRAAAA:8 a=BhfgTazteIY126q7_P0A:9 a=CjuIK1q_8ugA:10 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 14:32:41 -0000 On Fri, 29 May 2015 bugzilla-noreply@freebsd.org wrote: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200493 > > --- Comment #5 from Konstantin Belousov --- > (In reply to Edward Tomasz Napierala from comment #4) > Great, you nailed it down. > > Look at the tdsigwakeup(), which is called from the main code to send a signal > to a thread tdsendsignal(): > > /* > * Bring the priority of a thread up if we want it to get > * killed in this lifetime. > */ > if (action == SIG_DFL && (prop & SA_KILL) && td->td_priority > PUSER) > sched_prio(td, PUSER); That's a funny bug. But why would the priority even be looked at for CPU idle threads? idprio 31 idle threads have the same priority as CPU idle threads at their unclobbered priorities. The CPU idle threads should never run in preference to others. Bumping the priority to PUSER after a signal seems wrong for all sorts of idle threads. For non-timesharing threads, it is hard to get back to the original priority. I fixed priority initialization for device polling and noticed some vaguely related bugs. The idlepoll thread couldn't even get forward to its correct priority. (I don't believe in device polling, but it once gave be lower network latency and I tried to recover that.) This patch is for FreeBSD-9. X diff -c2 kern_poll.c~ kern_poll.c X *** kern_poll.c~ Wed Aug 6 20:13:13 2014 X --- kern_poll.c Fri May 8 01:45:11 2015 X *************** X *** 30,33 **** X --- 30,34 ---- X X #include "opt_device_polling.h" X + #include "opt_sched.h" X X #include X *************** X *** 38,45 **** X --- 39,48 ---- X #include X #include X + #include X #include /* needed by net/if.h */ X #include X #include X #include X + #include X X #include /* for IFF_* flags */ X *************** X *** 534,555 **** X X static void X ! poll_idle(void) X { X - struct thread *td = curthread; X - struct rtprio rtp; X - X - rtp.prio = RTP_PRIO_MAX; /* lowest priority */ X - rtp.type = RTP_PRIO_IDLE; X - PROC_SLOCK(td->td_proc); X - rtp_to_pri(&rtp, td); X - PROC_SUNLOCK(td->td_proc); This initialization was was not good originally, and has rotted. It depends rtp_to_pri() not only converting the rtp to td_priority, but also on the side effect of setting the new priority. This side effect no longer works here. rtp_to_prio() and its side effects are used for syscalls too. For syscalls, it is fragile but still works (perhaps delayed). The locking here has rotted. rtp_to_pri() is no longer locked by the spinlock that is aquired above. It is locked by a non-spinlock that is not acquired above. X X for (;;) { X if (poll_in_idle_loop && poll_handlers > 0) { X idlepoll_sleeping = 0; X ether_poll(poll_each_burst); X ! thread_lock(td); X mi_switch(SW_VOL, NULL); X ! thread_unlock(td); X } else { X idlepoll_sleeping = 1; X --- 537,559 ---- X X static void X ! poll_idle(void __unused *arg) X { X X + #define td curthread X + printf("poll_idle: pri %d upri %d baseupri %d lendupri %d\n", X + td->td_priority, td->td_user_pri, X + td->td_base_user_pri, td->td_lend_user_pri); X + #undef td Debugging code. td_lend_user_pri seems to be incorrectly initialized. I think it should equal the active priority (255 for idprio 31 threads like this one). But it is initialized to something like 120 (the base user priority) somewhere. This isn't a problem provided it is never used. But IIRC, when the above calls sched_prio() to try to change its priority to 255, the priority sticks at the "lent" priority of 120 although lending has never occurred. X for (;;) { X if (poll_in_idle_loop && poll_handlers > 0) { X idlepoll_sleeping = 0; X ether_poll(poll_each_burst); X ! #ifdef PREEMPTION X ! cpu_spinwait(); X ! #else X ! thread_lock(curthread); X mi_switch(SW_VOL, NULL); X ! thread_unlock(curthread); X ! #endif X } else { X idlepoll_sleeping = 1; Spinloops should sleep a bit if possible to avoid wasting power. With PREEMPTION, there is no need to yield, so we can sleep instead. Without PREEMPTION, I think sleeping a bit wouldn't be useful since most of the time is spent yielding. X *************** X *** 559,568 **** X } X X ! static struct proc *idlepoll; X ! static struct kproc_desc idlepoll_kp = { X ! "idlepoll", X ! poll_idle, X ! &idlepoll X ! }; X ! SYSINIT(idlepoll, SI_SUB_KTHREAD_VM, SI_ORDER_ANY, kproc_start, X ! &idlepoll_kp); X --- 563,602 ---- X } X X ! static void X ! poll_idle_start(void __unused *arg) X ! { X ! struct proc *p; X ! struct thread *td; X ! int error; X ! X ! error = kproc_create(poll_idle, NULL, &p, RFSTOPPED, 0, "idlepoll"); The fix is to copy this and the following code (except the debugging parts) from the vm idlezero thread. That thread is currently useless, but it always did idle priority initialization better. Idle priority thread initialization requires too much duplictation. kproc_start (used in the buggy version) is not useful for this, since sched_prio() at the start of the thread doesn't work and TDF_NOLOAD inside a thread is much further from working. X ! if (error) X ! panic("poll_idle_start: error %d\n", error); X ! td = FIRST_THREAD_IN_PROC(p); X ! thread_lock(td); X ! printf("poll_idle_start 0: pri %d upri %d baseupri %d lendupri %d\n", X ! td->td_priority, td->td_user_pri, X ! td->td_base_user_pri, td->td_lend_user_pri); More debugging code for td->td_lend_user_pri. I had this in rtp_to_pri() and haven't looked at its output here. In rtp_to_pri(), it is called for syscalls. The interaction of the 4 priorities printed is confusing. X ! /* X ! * XXX TDF_NOLOAD should be set automatically for kernel idle X ! * threads, and probably also for user idle threads, and possibly X ! * for many other kernel and user non-timesharing threads, since X ! * the load average is basically a SCHED_4BSD implementation X ! * detail for scheduling only timesharing threads. Having to X ! * set TDF_NOLOAD for ourself is especially inconvenient since X ! * setting it in a running thread just breaks decrementing the X ! * load count when then thread stops running. X ! */ X ! td->td_flags |= TDF_NOLOAD; This thread didn't set TDF_NOLOAD, so the load average was distorted. X ! sched_class(td, PRI_IDLE); X ! sched_prio(td, PRI_MAX_IDLE); X ! printf("poll_idle_start 1: pri %d upri %d baseupri %d lendupri %d\n", X ! td->td_priority, td->td_user_pri, X ! td->td_base_user_pri, td->td_lend_user_pri); X ! sched_add(td, SRQ_BORING); X ! printf("poll_idle_start 2: pri %d upri %d baseupri %d lendupri %d\n", X ! td->td_priority, td->td_user_pri, X ! td->td_base_user_pri, td->td_lend_user_pri); X ! thread_unlock(td); X ! } X ! SYSINIT(poll_idle, SI_SUB_KTHREAD_VM, SI_ORDER_ANY, poll_idle_start, NULL); Bruce From owner-freebsd-bugs@FreeBSD.ORG Fri May 29 15:34:33 2015 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6F923D8E for ; Fri, 29 May 2015 15:34:33 +0000 (UTC) (envelope-from bounce-back.mnidm.1688.2129.388256.518224737._@mn1.acrsender.com) Received: from mx152.204.acrsender.com (mx152.204.acrsender.com [46.29.204.152]) by mx1.freebsd.org (Postfix) with ESMTP id C0A871E8E for ; Fri, 29 May 2015 15:34:31 +0000 (UTC) (envelope-from bounce-back.mnidm.1688.2129.388256.518224737._@mn1.acrsender.com) DKIM-Signature: q=dns/txt; a=rsa-sha256; b=UD+4byJITRbQ6v9X4UO9M9aMf/tr/DHu+u2pA8JjuAlyZx+FIDG4z30iuRaK3Wyg+3pkfQYf/CNFYKCvBAX6Sl+PQ6PGOX8GrndAiP/3jxtpCIi/ai6YZH80fZ53sUfLuJwScWU5RnbkhWjch8T5vECbEFmJjjoGiSKSgS7p/Hg=; c=relaxed/relaxed; s=20140925acr; d=acrsender.com; t=1432912697; v=1; bh=0TLYYclGVZldHFgW/c5Akkjpuzd5bqCNY67uwEGAeMg=; h=from:from:to:to:subject:subject:date:reply-to:message-id:mime-version:content-type:list-unsubscribe; i=@acrsender.com; Date: Fri, 29 May 2015 17:18:17 +0200 (CEST) From: Tomek Reply-To: mail@ofertasuper.pl To: freebsd-bugs@freebsd.org Message-ID: Subject: =?UTF-8?Q?Nikt_nie_jest_w_stanie_nauczy=C4=87_Ci?= =?UTF-8?Q?=C4=99_lepiej,_jak_zarabia=C4=87_pieni=C4=85dze!?= MIME-Version: 1.0 X-Return-Path: bounce-back.mnidm.1688.2129.388256.518224737._@mn1.acrsender.com X-Sender: bounce-back.mnidm.1688.2129.388256.518224737._@mn1.acrsender.com X-MNSubjectCharset: UTF-8 X-MNBodyCharset: UTF-8 X-MNID: mnidm.1688.2129.388256.518224737._ X-Complaints-To: abuse@acrsender.com X-GatewayId: bounce-back.mnidm.1688.2129.388256.518224737._=077084089120077084089051079084077050078065061061.995823044@mn1.acrsender.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 15:34:33 -0000 Add mail@ofertasuper.pl to your address book=20 [View the web version](http://news.acrsender.com/nl/link?c=3Deacbr&d=3D22h&= h=3D1edsivfb2h8d1tg19fcol2k99d&i=3D1ko&n=3D1c2&p=3DT301800627&s=3Dwv&sn=3D1= c2) Witaj, =20 Chcia=C5=82y by zawiadomi=C4=87, =C5=BCe szukamy nowych cz=C5=82onk=C3=B3w = do naszego zespo=C5=82u! =20 =D0=A1hcesz wzi =C4=85=C4=87 udzia=C5=82 w naszej grupie handlowc=C3=B3w? D= la tego nale=C5=BCy komputer w domu z dost=C4=99pem =20 do internetu, mo=C5=BCesz ju=C5=BC teraz si=C4=99 zarejestrowa=C4=87 i zacz= =C4=85=C4=87 zarabia=C4=87. Poni=C5=BCej znajduje si=C4=99 link, kt=C3=B3ry= =20 przeniesie Ci=C4=99 na stron=C4=99 serwisu: =20 [ZAREJESTRUJ SI=C4=98 TERAZ ](http://news.acrsender.com/nl/link?c=3Deacbr&d= =3D22h&h=3Dihbd1b3cdabvqgv42kttnemod&i=3D1ko&p=3DT113145259&s=3Dlp&sn=3D1c2= &z=3D4j7) =20 Czekamy na Ciebie! =20 You receive this communication at freebsd-bugs@freebsd.org because you subs= cribed to our newsletter. You can unsubcribe from our newsletter at any tim= e by clicking on the unsubscribe link. =20 [Update your profile](http://news.acrsender.com/nl/link?c=3Deacbr&d=3D22h&h= =3D2t0te8mbo6kle7lm4dgrjbs1be&i=3D1ko&p=3DT2077561058&s=3Dedp&sn=3D1c2) | [= Unsubscribe](http://news.acrsender.com/nl/link?c=3Deacbr&d=3D22h&h=3D11lvbi= 4nddpccj849j6gc0j63a&i=3D1ko&p=3DT2077557214&s=3Dunsub&sn=3D1c2) Share this newsletter:[Forward](http://news.acrsender.com/nl/link?c=3Deacbr= &d=3D22h&h=3D3anpp7rvq4td6hfkmqnk3p19sa&i=3D1ko&n=3D1c2&p=3DT1830092739&s= =3Dfwdn&sn=3D1c2) [facebook](http://news.acrsender.com/nl/link?c=3Deacbr&d= =3D22h&h=3D3o82l0l6tks3ja9s90n8bt9hso&i=3D1ko&n=3D1c2&p=3DT1830092714&s=3Ds= n&sdsc=3D&shimage=3D&shtype=3D&shurl=3D&sn=3D1c2&soc=3Dfacebook&tit=3D) [tw= itter](http://news.acrsender.com/nl/link?c=3Deacbr&d=3D22h&h=3D3v2kpvqd2du3= qspkgl9ucqb78m&i=3D1ko&n=3D1c2&p=3DT1830092710&s=3Dsn&shrel=3D&shrep=3D&sht= ag=3D&shtxt=3D&shvia=3D&sn=3D1c2&soc=3Dtwitter) [google+](http://news.acrse= nder.com/nl/link?c=3Deacbr&d=3D22h&h=3D2leor9898stnlgaqjhtgaptfef&i=3D1ko&n= =3D1c2&p=3DT1830092685&s=3Dsn&sdsc=3D&shimage=3D&shtype=3D&shurl=3D&sn=3D1c= 2&soc=3Dgoogleplus&tit=3D)[linkedin](http://news.acrsender.com/nl/link?c=3D= eacbr&d=3D22h&h=3D3n3ibq0qm9k8mmfc6lg4lkqfih&i=3D1ko&n=3D1c2&p=3DT183009268= 2&s=3Dsn&shsrc=3D&shsum=3D&sn=3D1c2&soc=3Dlinkedin&tit=3D) From owner-freebsd-bugs@FreeBSD.ORG Fri May 29 15:36:06 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A15E3EF6 for ; Fri, 29 May 2015 15:36:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B03C1EA3 for ; Fri, 29 May 2015 15:36:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4TFa6Pn065221 for ; Fri, 29 May 2015 15:36:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200493] Killing pid 11 (idle) wedges the disk IO Date: Fri, 29 May 2015 15:36:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 15:36:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200493 --- Comment #9 from Ed Maste --- The patch looks good to me as an interim solution to avoid the bizarre behaviour. I think we should put a comment explaining it though (unless there's a plan to implement the opt-in signal delivery in the short term). -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Fri May 29 16:07:05 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D99486F6 for ; Fri, 29 May 2015 16:07:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C345F160E for ; Fri, 29 May 2015 16:07:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4TG75Fw028440 for ; Fri, 29 May 2015 16:07:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200493] Killing pid 11 (idle) wedges the disk IO Date: Fri, 29 May 2015 16:07:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: trasz@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 16:07:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200493 --- Comment #10 from Edward Tomasz Napierala --- The patch fixes the problem, thanks! I agree about the long-term strategy too. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Fri May 29 16:27:05 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EAC79B31 for ; Fri, 29 May 2015 16:27:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BB50F1B21 for ; Fri, 29 May 2015 16:27:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4TGR5sl048651 for ; Fri, 29 May 2015 16:27:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200493] Killing pid 11 (idle) wedges the disk IO Date: Fri, 29 May 2015 16:27:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 16:27:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200493 --- Comment #11 from commit-hook@freebsd.org --- A commit references this bug: Author: kib Date: Fri May 29 16:26:08 UTC 2015 New revision: 283745 URL: https://svnweb.freebsd.org/changeset/base/283745 Log: When delivering a signal with default disposition to the thread, tdsigwakeup() increases the priority of the low-priority threads, to give them a chance to be terminated timely. Also, kernel allows user to signal kernel processes. The combined effect is that signalling idle process bump a priority of the selected delivery thread, which starts eating CPU. Check for the delivery thread be an idle thread and do not raise its priority then. The signal delivery to the kernel threads must be opt-in feature. Kernel thread should explicitely declare the ability to handle signals directed to it. E.g., nfsd threads check for signal as an indication of exit request. Most threads do not handle signals at all, and queuing the signal to them causes odd side-effects. Most innocent consequence is the memory leak due to queued ksiginfo, which is never deleted from the sigqueue. Code to prevent even queuing signals to the kernel threads is trivial, but it requires careful examination of each call to kproc/kthread creation to decide should the signalling be allowed. The commit is a stop-gap measure which fixes the immediate case for now. PR: 200493 Reported and tested by: trasz Discussed with: trasz, emaste Sponsored by: The FreeBSD Foundation MFC after: 1 week Changes: head/sys/kern/kern_sig.c -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Fri May 29 21:15:06 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 50174AE0 for ; Fri, 29 May 2015 21:15:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 206A71537 for ; Fri, 29 May 2015 21:15:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4TLF59k027607 for ; Fri, 29 May 2015 21:15:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200526] [snd_hda] hissing/static noise from headphone jack on Dell Precision M4800 Date: Fri, 29 May 2015 21:15:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: david@catwhisker.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 21:15:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200526 Bug ID: 200526 Summary: [snd_hda] hissing/static noise from headphone jack on Dell Precision M4800 Product: Base System Version: 10.1-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: david@catwhisker.org Several weeks ago, I replaced my Dell Precision M440 laptop with a new M4800. Sound had "just worked" on the M4400; I was, therefore, rather surprised when I found the hissing/static noise cited in the summary (after swapping the drive from the M4400 into the M4800). I posted about this on a Dell forum (as I wanted to have some way of determining whether this might be a hardware issue (e.g., flaky ground connection or something similar); ref. for that thread. As noted there, I found that the objectionable sound in question is not present (and sound appears to work OK) when the machine runs MS Windows. I believe that this implies that the observed problem is not because of a hardware issue. I also posted about the issue in freebsd-multimedia@; ref. for the start of that thread. I have also found that if I boot Fedora 20 or 21, sound works as expected (no hissing); trying Fedora 19, there is no sound at all. has the "hda" and "pcm" parts of a verbose dmesg.boot; I have placed several other possibly-useful (and -relevant) files in the same directory (), including dmesg and output from the "ALSA Information Script" from testing Fedora 21. The effect appears to be the same whether I run i386 or amd64, and whether I run stable/10 or head. (I track each of those four combinations daily, and capture a verbose dmesg.boot for each.) I will be happy to hack & test, but I need some guidance. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-bugs@FreeBSD.ORG Fri May 29 21:47:04 2015 Return-Path: Delivered-To: bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E33C8C53 for ; Fri, 29 May 2015 21:47:04 +0000 (UTC) (envelope-from BibleProphecy@christianmedia77.com) Received: from rs31.abstractdns.com (rs31.abstractdns.com [205.251.133.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B02A91D4F for ; Fri, 29 May 2015 21:47:04 +0000 (UTC) (envelope-from BibleProphecy@christianmedia77.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=christianmedia77.com; s=default; h=Content-Type:Date:Subject:To:From:Mime-Version:Message-Id; bh=GAJsXTyXMj5yyLEizDSRBa9y3uBnKmGgcl8bwsHwb9U=; b=egfEE1+NOiPWGgDE7Vnb9bD0Go5MxIGmNEEV3YdBmHJDbXfs6qnWaiC0uuaFcUQ/4Yr8fXzadtG3gmbGCQpJcwR+PYB73L0bZhfrr7L0Ev9yp4pLxgfR2KJN2P6HYeqPjkJeODbfyLkVngxQ8QpHLloBKJxu0Z2Q8pcNG50p86E=; Received: from [72.173.230.10] (port=54562 helo=[192.168.1.113]) by rs31.abstractdns.com with esmtpa (Exim 4.85) (envelope-from ) id 1YyRUS-002Inh-JA for bugs@freebsd.org; Fri, 29 May 2015 21:06:55 +0000 Message-Id: Mime-Version: 1.0 From: Bible Prophecy To: bugs@freebsd.org Subject: [Prophecy] May 29, 2015 Communique - The Rise And Fall Of The Romerican Empire - Part IV Date: Fri, 29 May 2015 14:07:09 -0700 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - rs31.abstractdns.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - christianmedia77.com X-Get-Message-Sender-Via: rs31.abstractdns.com: authenticated_id: bibleprophecy@christianmedia77.com X-Source: X-Source-Args: X-Source-Dir: Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 21:47:05 -0000 Christian Media Communique THE RISE AND FALL OF THE ROMERICAN EMPIRE - Part IV The present work continues in the dissemination of the revelation that the American Empire fulfills the prophecies of a fourth kingdom, which the prophet Daniel described as "dreadful and terrible" - a power that was destined to tread down the whole earth=2E Unfortunately, as we exist in the sequential timeline during the tenure of that "diverse" beast, the Scriptural pattern seen in previous prophecies in Daniel indicates that those who live in the days which were forecast will largely fail to perceive the truth of their own time=2E Similarly, forecasting great destruction to come upon Jerusalem, the LORD plainly stated that generation was unaware of the prophetic fulfillment which He embodied: "For the days shall come upon thee, that thine enemies shall cast a trench about thee, and compass thee round, and keep thee in on every side, And shall lay thee even with the ground, and thy children within thee; and they shall not leave in thee one stone upon another; because thou knewest not the time of thy visitation" (Luke 19:44)=2E  Obviously, the disciples were aware that Christ had come, and it had occurred during the days of the Roman Empire - to say nothing of the fact that Christ Himself referenced the prophet Daniel (Mark 13:14), so the LORD's disciples would have likely made the connection=2E In fact, there are indicators that some people were aware of their place in the prophetic timeline of all four kingdoms - especially the first three sequential empires which characterize the Old Testament era in Daniel 2=2E But the same cannot be said of the four kingdoms in the New Testament era in Daniel 7, which culminate in America=2E Intriguingly, although there is anecdotal data suggesting people recognized their position in the first three kingdoms of Babylon, Persia, and Greece, there is not a single verse in the Bible conclusively indicating the people recognized their own position in the fourth kingdom symbolized by Nebuchadnezzar's dream of a great statue=2E  For instance, when Daniel interpreted the dream of Nebuchadnezzar, the King of Babylon was clearly informed that he was to be identified with the head of gold: "Thou, O king, sawest, and behold a great image=2E=2E[whose] head was of fine gold, his breast and his arms of silver, his belly and his thighs of brass, his legs of iron=2EThou art this head of gold" (Daniel 2:31-33, 38)=2E When Daniel interpreted the dream by stating the head of gold represented Nebuchadnezzar and the Babylonian kingdom, he clearly specified that Babylon would be succeeded by an inferior power, imaged as silver (as opposed to Babylon's gold)=2E In addition to a mountain of historical documents, the Old Testament itself shows the Persian Union of the Medes and the Persians conquered Babylon - and there are substantial texts in Scripture which speak of the Persian dominion, so it's difficult to conceive of the idea that the Persians were completely unaware of Daniel's prophecy=2E "Thus saith Cyrus king of Persia, The Lord God of heaven hath given me all the kingdoms of the earth; and he hath charged me to build him an house at Jerusalem, which is in Judah" (Ezra 1:2, II Chronicles 36:23)=2E   As the Grecian power of Alexander the Great emerged (the brass kingdom) after the last book of the Old Testament was written (Malachi), there are no Scriptural references showing his Jewish contemporaries recognized Alexander as the kingdom of brass, which was to succeed the Persian "silver=2E" However, the historical accounts, notably Jewish commentaries, plainly show the city of Jerusalem expected Alexander=2E One such account tells the tale: "Soon after their arrival at the gate, Alexander, at the head of his army, made his appearance=2E He was quite astonished at the sight that met his view, and seemed to be overwhelmed on beholding the grand and imposing assembly that came to meet him=2E One of Alexander's confidential and favourite officers, Parmenion by name, ventured at last to ask the King why he, the proud conqueror, showed such marked honour and deference to the Jewish priest=2E "'Listen, then' replied Alexander, 'and I will tell you of a wonderful experience of mine=2E While I was still in Macedonia I often lay awake at night, when all else was at rest, thinking of a plan by which to gain mastery of Asia=2E One evening, when my thoughts were more than usually occupied with this fond scheme of mine, I fell, exhausted by this mental strain, into a deep slumber, and saw in a vision an awe-inspiring man standing before me=2E "'That vision of mine was no myth, no nightmare, not the phantasy of a heated brain; for not only have I, since that vision, never met with anything but victory, but in the hoar-headed and venerable servant of the Jewish God, in his attire and in his bearing, I see no other than the man of my vision=2E Shall I not then revere the man who was the messenger of his God to lead me to victory?' The High Priest directed his attention also to the passage in Daniel 8:5, where it is foretold that a Greek ruler (which term the high Priest applied to Alexander) would overthrow the Persian kingdom, and Alexander was exceedingly pleased with all he saw and heard" (Alexander of Macedon, sacred-texts=2Ecom)=2E Incredibly, although there is even a New Testament book named after the Romans, there is no Scriptural verse specifically indicating the people who lived during the time of the Roman Empire recognized their own era as the fourth kingdom of the Old Testament quartet of kingdoms, forecast in the statue dream of gold, silver, brass, and iron in Daniel chapter 2=2E Unfortunately, in the New Testament sequence of kingdoms which parallel the statue - the lion kingdom of the British Commonwealth, the bear kingdom of the Soviet Union, and the leopard kingdom of Hitler's Third Reich - there are no historical accounts suggesting that anyone in those generations recognized the connection=2E Incredibly, as the era of royalty and the "divine right of kings," symbolized by the lion kingdom of England emerged, we have no historical references that anyone connected the hugely important event associated with the madness of King George III, with the Scripturally documented madness which afflicted Nebuchadnezzar: "They shall drive thee from men, and thy dwelling shall be with the beasts of the field: they shall make thee to eat grass as oxen=2EAll this came upon the king Nebuchadnezzar" (Daniel 4:32, 28)=2E There is even a strange episode during George's lengthy insanity involving a tree in Windsor Park - a tree which the deranged king engaged in conversation=2E This is yet another of many ironic connections, since the prophecy of the madness of his Old Testament parallel King Nebuchadnezzar was centered on the imagery of a great tree, which was symbolically cut down in Daniel's 4th chapter=2E For the benefit of those who failed their history class, King George III was the British monarch who sat on the throne in 1776, when the "eagle's wings were plucked=2E"  The transition to the bear kingdom in the New Testament era, as well as the move to silver from gold in the Old Testament set, also has an eerie parallel in both timelines=2E In the ancient set of four kingdoms, the golden head of Babylon degrades to the silver arms of Persia, whereas the Christian era set of four kingdoms sees the lion kingdom of Britain succeeded by the bear kingdom of the Soviet Union=2E At Babylon's fall, the royal family, headed by Belshazzar and the celebrated queen mother of Babylon, were all murdered at the famous evening party, according to the Greek historian Xenophon=2E The Biblically described scene includes the now famous handwriting which mysteriously appeared on the wall, just before the Persians came in to kill the royals=2E This is paralleled by the time of the Bolsheviks, when the entire royal family of the Romanovs were shot and bayoneted on the night of July 16th, 1918 in Ekaterinburg, under orders from Vladimer Lenin=2E In the ancient set, when the handwriting appeared, the queen mother had come under the influence of a mystic who had extraordinary powers=2E His name was Daniel, and the queen clearly believed he had supernatural abilities: "There is a man in thy kingdom, in whom is the spirit of the holy gods; and in the days of thy father light and understanding and wisdom, like the wisdom of the gods was found in him; whom the king=2Emade master of the magicians, astrologers, Chaldeans, and soothsayers" (Daniel 5:12)= =2E In the parallel account, as the reign of the Russian royals was coming to an end, the queen mother had come under the influence of a mystic who had extraordinary powers=2E His name was Rasputin, and the queen clearly believed he had supernatural abilities=2E When Nebuchadnezzar's dynastic line came to an end at the large dinner party described in Daniel 5, the Scriptures indicate the blasphemous use of sacred artifacts seized by Nebuchadnezzar years earlier from the Jewish temple, was what triggered the writing on the wall, and the Persian onslaught=2E In the modern parallel, history records the Bolsheviks were mostly Jewish, with the murder squad which brutally slaughtered the defenseless Romanov family - including 5 children -- led by a Jewish communist named Yakov Yurovsky=2E Thus, in the parallel, a Gentile king was murdered by a Jewish Communist, in what could be described as a bizarre parallel to the ancient retribution=2E The now thoroughly researched grisly murder scene even featured an echo of the notorious writing on the wall - a single sentence penned by an unknown hand=2E In the Ipatiev House where the Romanovs were killed, lines adapted from the German-Jewish poet Heinrich Heine (1797-1856) were found written on the wall=2E This writing connected the murders of the royal Romanovs with the murders of the Babylonian royal family, and it read as follows: "Belsatzar was, on the same night, killed by his slaves=2E" It's worth reminding the reader the Babylonian royal was Belshazzar, but the mysterious writer in Russia - whose identity is unknown to this very day - changed the name to read Belsatzar, compounding the title of the royals, then known as the Czars, with the proper name of Belshazzar=2E A measured analysis of the sequential kingdoms seen in Britain, Russia, Germany, and America also indicates the lion, bear, and leopard symbolize transitional eras, as the reign of the royals (exemplified by the English kings) concluded with multiple populist movements=2E The English revolution, wherein King Charles I became the first royal executed by his own people in 1649 - was followed by the French revolution in 1793, in which Louis XVI was beheaded=2E The murder of the Russian royal family came in 1918, but the signature event, inaugurating the next phase of history, in the transition to populist movements, occurred in 1776 with the American Revolution=2E This transition, which climaxed in the rise of the Russian bear kingdom, is noted in the Scriptures themselves, where Daniel the prophet sees a change coming from the reign of the British lion, described with vivid, and obvious imagery: "And four great beasts came up from the sea, diverse one from another= =2E The first was like a lion, and had eagle's wings: I beheld till the wings thereof were plucked=2E=2E" (Daniel 7:3, 4)=2E  -- James Lloyd  [To Be Continued]   Dear Christian Friend, This prophecy article was sent to you by one of our volunteers - a person who believes the LORD is doing a very special work at the ministry which produces this writing=2E People need to receive this information, but the resistance is fierce in these end times=2E The Communique is but a part of the Christian Media ministry=2E A lot of people are trying to stop us from what we're doing in Bible Prophecy, so if you'd like to read more along the lines of the present writing, we would love to send you the Communique in the future -- but we need to hear from you, as there are far too many people out there to continually send it on an unsolicited basis=2E To get the next installment of the Communique (it's all free), just hit reply and put the word YES! in the subject line, and the person who forwarded this email to you will arrange for us to send you links on prophecy and predictions of things you can expect to see in the near future=2E We also stream prophecy audio 24/7 and have downloadable video shows as well, so a YES! response will get you all the links you need to access these materials=2E Some are convinced Christians should never send an Email to someone without permission (Did the Disciples of Jesus ask people for permission to tell them the Good News?), while others don't consider prophecy important - and there are other reasons people don't want to receive our material=2E If that's the case, just reply with the word REMOVE in the subject line (that part is important as our software looks for that word), and we will cheerfully delete your name from our database=2E Thanks for reading this far, and we hope you'll respond favorably, reply with a YES! and take a look at what the LORD has shown us here at the Christian Media ministry=2E ________________________________________________________________________ __________________ Welcome To The World Of Christian Media! Christian Media PO Box 1414 Medford OR 97501 541/899/8888