Re: kern/166806: Inability to reboot system
The following reply was made to PR kern/166806; it has been noted by GNATS. From: RX To: Attilio Rao Cc: bug-follo...@freebsd.org Subject: Re: kern/166806: Inability to reboot system Date: Wed, 02 May 2012 11:34:58 + On 05/01/12 15:29, Attilio Rao wrote: > Can you try to update your BIOS to latest available version and see if > handle_reboot changes its value? Thanks, Attilio The system is already running the current bios version, 2.3.0. What relation does handle_reboot have here ? All systems I've checked have this set to '0'. --RX ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
Re: kern/167321: commit references a PR
The following reply was made to PR kern/167321; it has been noted by GNATS. From: dfil...@freebsd.org (dfilter service) To: bug-follo...@freebsd.org Cc: Subject: Re: kern/167321: commit references a PR Date: Wed, 2 May 2012 14:25:53 + (UTC) Author: jhb Date: Wed May 2 14:25:39 2012 New Revision: 234927 URL: http://svn.freebsd.org/changeset/base/234927 Log: - Don't log messages saying that accounting is being disabled and enabled if the accounting log file is atomically replaced with a new file (such as during log rotation). - Simplify accounting log rotation a bit. There is no need to re-run accton(8) after renaming the new log file to it's real name. PR: kern/167321 Tested by: Jeremy Chadwick Modified: head/etc/rc.d/accounting head/sys/kern/kern_acct.c Modified: head/etc/rc.d/accounting == --- head/etc/rc.d/accounting Wed May 2 12:15:34 2012(r234926) +++ head/etc/rc.d/accounting Wed May 2 14:25:39 2012(r234927) @@ -65,9 +65,7 @@ accounting_rotate_log() mv ${accounting_file} ${accounting_file}.0 if checkyesno accounting_enable; then - ln $_file ${accounting_file##*/} - ${accounting_command} ${accounting_file} - unlink $_file + mv $_file ${accounting_file} fi } Modified: head/sys/kern/kern_acct.c == --- head/sys/kern/kern_acct.c Wed May 2 12:15:34 2012(r234926) +++ head/sys/kern/kern_acct.c Wed May 2 14:25:39 2012(r234927) @@ -122,7 +122,7 @@ static uint32_tencode_timeval(struct ti static uint32_t encode_long(long); static void acctwatch(void); static void acct_thread(void *); -static intacct_disable(struct thread *); +static intacct_disable(struct thread *, int); /* * Accounting vnode pointer, saved vnode pointer, and flags for each. @@ -196,7 +196,7 @@ int sys_acct(struct thread *td, struct acct_args *uap) { struct nameidata nd; - int error, flags, vfslocked; + int error, flags, vfslocked, replacing; error = priv_check(td, PRIV_ACCT); if (error) @@ -246,6 +246,13 @@ sys_acct(struct thread *td, struct acct_ sx_xlock(&acct_sx); /* + * Don't log spurious disable/enable messages if we are + * switching from one accounting file to another due to log + * rotation. + */ + replacing = (acct_vp != NULL && uap->path != NULL); + + /* * If accounting was previously enabled, kill the old space-watcher, * close the file, and (if no new file was specified, leave). Reset * the suspended state regardless of whether accounting remains @@ -254,7 +261,7 @@ sys_acct(struct thread *td, struct acct_ acct_suspended = 0; if (acct_vp != NULL) { vfslocked = VFS_LOCK_GIANT(acct_vp->v_mount); - error = acct_disable(td); + error = acct_disable(td, !replacing); VFS_UNLOCK_GIANT(vfslocked); } if (uap->path == NULL) { @@ -299,7 +306,8 @@ sys_acct(struct thread *td, struct acct_ } acct_configured = 1; sx_xunlock(&acct_sx); - log(LOG_NOTICE, "Accounting enabled\n"); + if (!replacing) + log(LOG_NOTICE, "Accounting enabled\n"); return (error); } @@ -308,7 +316,7 @@ sys_acct(struct thread *td, struct acct_ * our reference to the credential, and clearing the vnode's flags. */ static int -acct_disable(struct thread *td) +acct_disable(struct thread *td, int logging) { int error; @@ -319,7 +327,8 @@ acct_disable(struct thread *td) acct_vp = NULL; acct_cred = NULL; acct_flags = 0; - log(LOG_NOTICE, "Accounting disabled\n"); + if (logging) + log(LOG_NOTICE, "Accounting disabled\n"); return (error); } @@ -574,7 +583,7 @@ acctwatch(void) */ vfslocked = VFS_LOCK_GIANT(acct_vp->v_mount); if (acct_vp->v_type == VBAD) { - (void) acct_disable(NULL); + (void) acct_disable(NULL, 1); VFS_UNLOCK_GIANT(vfslocked); acct_state |= ACCT_EXITREQ; return; ___ svn-src-...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org" ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
misc/167527: bsdinstall fails with "Error while extracting base.txz: failed to sec access acl"
>Number: 167527 >Category: misc >Synopsis: bsdinstall fails with "Error while extracting base.txz: failed >to sec access acl" >Confidential: no >Severity: serious >Priority: high >Responsible:freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 02 15:10:09 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Thorsten Schlich >Release:FreeBSD-9.0-RELEASE-p5 >Organization: WetterOnline GmbH >Environment: None (Installation of FreeBSD 9.0) >Description: If i want to install FreeBSD 9.0 RELEASE from a custom release (made with this guide http://engineering.wayfair.com/freebsd-9-0-on-dell-poweredge-12g-servers/) via bsdinstall the installer fails after partitioning. The error message is "Error while extracting base.txz: Failed to set access acl" If i mount the partitioned device later in a LiveCD and then untar /usr/freebsd-dist/base.txz again the error is again there. With ACLs manually enabled via tunefs i can untar /usr/freebsd-dist/base.txz and /usr/freebsd-dist/kernel.txz without any problems. The Release is build with: make release CHROOT=/space/testdir EXTSRC=/usr/src NOPORTS=yes NOSRC=yes NODOC=yes The server is a Dell R720xd machine with a PERC H710. >How-To-Repeat: - make a custom release http://engineering.wayfair.com/freebsd-9-0-on-dell-poweredge-12g-servers/ - boot the cd - install (manually oder guided doesn't matter) >Fix: >Release-Note: >Audit-Trail: >Unformatted: ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
Re: kern/116133: Recursive lock panic when w_mtx falls into DELAY
Synopsis: Recursive lock panic when w_mtx falls into DELAY State-Changed-From-To: feedback->closed State-Changed-By: jh State-Changed-When: Wed May 2 15:49:23 UTC 2012 State-Changed-Why: Feedback timeout. http://www.freebsd.org/cgi/query-pr.cgi?pr=116133 ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
Re: kern/140600: [swi] [panic] current process = 15 (swi1: net)
Synopsis: [swi] [panic] current process = 15 (swi1: net) State-Changed-From-To: feedback->closed State-Changed-By: jh State-Changed-When: Wed May 2 15:52:47 UTC 2012 State-Changed-Why: Feedback timeout. http://www.freebsd.org/cgi/query-pr.cgi?pr=140600 ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
Re: kern/140429: [vfs] [panic] Fatal trap 12: page fault while in kernel mode
Synopsis: [vfs] [panic] Fatal trap 12: page fault while in kernel mode State-Changed-From-To: feedback->closed State-Changed-By: jh State-Changed-When: Wed May 2 15:53:06 UTC 2012 State-Changed-Why: Feedback timeout. http://www.freebsd.org/cgi/query-pr.cgi?pr=140429 ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
Re: kern/139571: [swi] [panic] Fatal trap 12: page fault while in kernel in process swi1: net on 7.1-RELEASE-p6
Synopsis: [swi] [panic] Fatal trap 12: page fault while in kernel in process swi1: net on 7.1-RELEASE-p6 State-Changed-From-To: feedback->closed State-Changed-By: jh State-Changed-When: Wed May 2 15:53:25 UTC 2012 State-Changed-Why: Feedback timeout. http://www.freebsd.org/cgi/query-pr.cgi?pr=139571 ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
Re: kern/138876: [uma] [panic] UMA: page_free used with invalid flags 4 on 7-STABLE around 2009/09/10
Synopsis: [uma] [panic] UMA: page_free used with invalid flags 4 on 7-STABLE around 2009/09/10 State-Changed-From-To: feedback->closed State-Changed-By: jh State-Changed-When: Wed May 2 15:53:50 UTC 2012 State-Changed-Why: Feedback timeout. http://www.freebsd.org/cgi/query-pr.cgi?pr=138876 ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
Re: kern/138631: [panic] FreeBSD 7.2 panics when I try to start X
Synopsis: [panic] FreeBSD 7.2 panics when I try to start X State-Changed-From-To: feedback->closed State-Changed-By: jh State-Changed-When: Wed May 2 15:54:12 UTC 2012 State-Changed-Why: Feedback timeout. http://www.freebsd.org/cgi/query-pr.cgi?pr=138631 ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
Re: kern/138117: [kernel] [panic] spin lock held too long
Synopsis: [kernel] [panic] spin lock held too long State-Changed-From-To: feedback->closed State-Changed-By: jh State-Changed-When: Wed May 2 15:54:30 UTC 2012 State-Changed-Why: Feedback timeout. http://www.freebsd.org/cgi/query-pr.cgi?pr=138117 ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
Re: kern/134519: [panic] Kernel panics (2 page faults in kernel)
Synopsis: [panic] Kernel panics (2 page faults in kernel) State-Changed-From-To: feedback->closed State-Changed-By: jh State-Changed-When: Wed May 2 15:54:53 UTC 2012 State-Changed-Why: Feedback timeout. http://www.freebsd.org/cgi/query-pr.cgi?pr=134519 ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
Re: kern/167321: [sysctl] [patch] Implement sysctl to control kernel accounting log messages (e.g. acct(2))
Synopsis: [sysctl] [patch] Implement sysctl to control kernel accounting log messages (e.g. acct(2)) State-Changed-From-To: open->patched State-Changed-By: jhb State-Changed-When: Wed May 2 16:57:32 UTC 2012 State-Changed-Why: Fix committed to HEAD. Responsible-Changed-From-To: freebsd-bugs->jhb Responsible-Changed-By: jhb Responsible-Changed-When: Wed May 2 16:57:32 UTC 2012 Responsible-Changed-Why: Fix committed to HEAD. http://www.freebsd.org/cgi/query-pr.cgi?pr=167321 ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
Re: bin/167527: bsdinstall(8) fails with "Error while extracting base.txz: failed to sec access acl"
Old Synopsis: bsdinstall fails with "Error while extracting base.txz: failed to sec access acl" New Synopsis: bsdinstall(8) fails with "Error while extracting base.txz: failed to sec access acl" Responsible-Changed-From-To: freebsd-bugs->freebsd-sysinstall Responsible-Changed-By: linimon Responsible-Changed-When: Wed May 2 18:32:59 UTC 2012 Responsible-Changed-Why: reclassify. http://www.freebsd.org/cgi/query-pr.cgi?pr=167527 ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
Re: bin/1375: [patch] Extraneous warning from mv(1)
Synopsis: [patch] Extraneous warning from mv(1) Responsible-Changed-From-To: freebsd-bugs->dteske Responsible-Changed-By: dteske Responsible-Changed-When: Wed May 2 23:54:55 UTC 2012 Responsible-Changed-Why: Take. http://www.freebsd.org/cgi/query-pr.cgi?pr=1375 ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"