From owner-freebsd-bugs@FreeBSD.ORG Sun Dec 28 03:29:47 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7D4A16A4CE; Sun, 28 Dec 2003 03:29:47 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FDD143D49; Sun, 28 Dec 2003 03:29:47 -0800 (PST) (envelope-from ru@FreeBSD.org) Received: from freefall.freebsd.org (ru@localhost [127.0.0.1]) hBSBTkFR059180; Sun, 28 Dec 2003 03:29:46 -0800 (PST) (envelope-from ru@freefall.freebsd.org) Received: (from ru@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBSBTkUo059176; Sun, 28 Dec 2003 03:29:46 -0800 (PST) (envelope-from ru) Date: Sun, 28 Dec 2003 03:29:46 -0800 (PST) From: Ruslan Ermilov Message-Id: <200312281129.hBSBTkUo059176@freefall.freebsd.org> To: yaemon@kikansha.jp, ru@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: conf/60596: When $LANG is not "C", ls/sed core dump X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2003 11:29:47 -0000 Synopsis: When $LANG is not "C", ls/sed core dump State-Changed-From-To: feedback->closed State-Changed-By: ru State-Changed-When: Sun Dec 28 03:28:15 PST 2003 State-Changed-Why: This has been fixed in RELENG_4 in the following files/revisions from src/lib/libc/locale: lmessages.c,v 1.9.2.4 lmonetary.c,v 1.12.2.3 lnumeric.c,v 1.10.2.3 http://www.freebsd.org/cgi/query-pr.cgi?pr=60596 From owner-freebsd-bugs@FreeBSD.ORG Sun Dec 28 11:40:12 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D520616A4CE for ; Sun, 28 Dec 2003 11:40:12 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFF2743D49 for ; Sun, 28 Dec 2003 11:40:08 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBSJe8FR063515 for ; Sun, 28 Dec 2003 11:40:08 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBSJe8b6063514; Sun, 28 Dec 2003 11:40:08 -0800 (PST) (envelope-from gnats) Resent-Date: Sun, 28 Dec 2003 11:40:08 -0800 (PST) Resent-Message-Id: <200312281940.hBSJe8b6063514@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Doug Lee Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FF1016A4EA for ; Sun, 28 Dec 2003 11:35:09 -0800 (PST) Received: from out003.verizon.net (out003pub.verizon.net [206.46.170.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6153E43D31 for ; Sun, 28 Dec 2003 11:35:07 -0800 (PST) (envelope-from dgl@kirk.dlee.org) Received: from kirk.dlee.org ([141.156.37.12]) by out003.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20031228193506.BEJI20713.out003.verizon.net@kirk.dlee.org> for ; Sun, 28 Dec 2003 13:35:06 -0600 Received: from kirk.dlee.org (dgl@localhost.dlee.org [127.0.0.1]) by kirk.dlee.org (8.12.9p2/8.12.9) with ESMTP id hBSJZ5G9074715 for ; Sun, 28 Dec 2003 14:35:05 -0500 (EST) (envelope-from dgl@kirk.dlee.org) Received: (from dgl@localhost) by kirk.dlee.org (8.12.9p2/8.12.9/Submit) id hBSJZ58t074714; Sun, 28 Dec 2003 14:35:05 -0500 (EST) (envelope-from dgl) Message-Id: <200312281935.hBSJZ58t074714@kirk.dlee.org> Date: Sun, 28 Dec 2003 14:35:05 -0500 (EST) From: Doug Lee To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/60663: Inconsistent diff output! X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Doug Lee List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2003 19:40:13 -0000 >Number: 60663 >Category: bin >Synopsis: Inconsistent diff output! >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Dec 28 11:40:08 PST 2003 >Closed-Date: >Last-Modified: >Originator: Doug Lee >Release: FreeBSD 4.9-RC i386 >Organization: >Environment: System: FreeBSD kirk.dlee.org 4.9-RC FreeBSD 4.9-RC #0: Sat Oct 4 05:16:52 EDT 2003 dgl@kirk.dlee.org:/usr2/obj/usr/src/sys/CUSTOM i386 >Description: I have two subdirectories (CVSROOT copies, actually) for which I get inconsistent results as follows: If I diff the "modules" files alone, I get correct output; but if I diff the whole directories (with or without -r), the output for "modules" is wrong: It leaves out one line and acts as if it misses one line of one of the input files. NOTE: This is /usr/bin/diff, NOT "cvs diff." I haven't tried CVS's built-in diff here. >How-To-Repeat: Given directories cv1 and cv2 (I'll provide a tar file to whichever tester requests it), the first of the following commands produces correct output, while the second omits a line as shown: % diff cv1/modules cv2/modules 28,33c28,29 < # These modules are Bart projects now being managed by CVS. < bx bart/bx < delta bart/delta < dt -a delta < lib bart/lib < qex bart/qex --- > dbin -d bin dgl/develop/bin > cc shepherd/chatclient % diff cv1 cv2 diff cv1/.#cvsignore cv2/.#cvsignore 2d1 < ex.rc EX.RC diff cv1/.#cvswrappers cv2/.#cvswrappers 19a20 > 24,31c25,28 < *.mpg -k 'b' < *.MPG -k 'b' < *.jpeg -k 'b' < *.JPEG -k 'b' < *.mpeg -k 'b' < *.MPEG -k 'b' < *.jsb -k 'b' < *.JSB -k 'b' --- > *.mp3 -k 'b' > *.MP3 -k 'b' > *.wav -k 'b' > *.WAV -k 'b' diff cv1/.#modules cv2/.#modules 28,32c28 [*** WRONG *** should be 28,33c28,29] < # These modules are Bart projects now being managed by CVS. < bx bart/bx < delta bart/delta < dt -a delta < qex bart/qex [*** WRONG *** skipped the "lib bart/lib" line] --- > dbin -d bin dgl/develop/bin [*** WRONG *** there should be one more line] Common subdirectories: cv1/Emptydir and cv2/Emptydir [...further lines of output omitted] >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sun Dec 28 11:50:22 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B98F416A57B for ; Sun, 28 Dec 2003 11:50:22 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2914B43D45 for ; Sun, 28 Dec 2003 11:50:21 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBSJoLFR063733 for ; Sun, 28 Dec 2003 11:50:21 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBSJoKvt063729; Sun, 28 Dec 2003 11:50:20 -0800 (PST) (envelope-from gnats) Date: Sun, 28 Dec 2003 11:50:20 -0800 (PST) Message-Id: <200312281950.hBSJoKvt063729@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: dgl@dlee.org Subject: CANCEL (Re: bin/60663: Inconsistent diff output!) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dgl@dlee.org List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2003 19:50:23 -0000 The following reply was made to PR bin/60663; it has been noted by GNATS. From: dgl@dlee.org To: freebsd-gnats-submit@FreeBSD.org, dgl@dlee.org Cc: dgl@dlee.org Subject: CANCEL (Re: bin/60663: Inconsistent diff output!) Date: Sun, 28 Dec 2003 14:47:45 -0500 (EST) Please cancel this; I missed the .# on the .#modules file names in my haste and failed to notice the real comparisons about 600 lines below that. My most sincere and embarrassed apologies! The rest of my ill-aimed PR follows, in Lynx format... > Navigation Bar > > Problem Report bin/60663 > > Inconsistent diff output! > > Confidential > no > > Severity > serious > > Priority > high > > Responsible > freebsd-bugs@FreeBSD.org > > State > open > > Class > sw-bug > > Submitter-Id > current-users > > Arrival-Date > Sun Dec 28 11:40:08 PST 2003 > > Last-Modified > never > > Originator > Doug Lee > > Release > FreeBSD 4.9-RC i386 > > Environment > >System: FreeBSD kirk.dlee.org 4.9-RC FreeBSD 4.9-RC #0: Sat Oct 4 05:16:52 EDT >2003 dgl@kirk.dlee.org:/usr2/obj/usr/src/sys/CUSTOM i386 > > > > Description > >I have two subdirectories (CVSROOT copies, actually) for which I get >inconsistent results as follows: > >If I diff the "modules" files alone, I get correct output; but if I >diff the whole directories (with or without -r), the output for >"modules" is wrong: It leaves out one line and acts as if it misses >one line of one of the input files. NOTE: This is /usr/bin/diff, NOT >"cvs diff." I haven't tried CVS's built-in diff here. > > How-To-Repeat > >Given directories cv1 and cv2 (I'll provide a tar file to whichever >tester requests it), the first of the following commands produces >correct output, while the second omits a line as shown: > >% diff cv1/modules cv2/modules >28,33c28,29 >< # These modules are Bart projects now being managed by CVS. >< bx bart/bx >< delta bart/delta >< dt -a delta >< lib bart/lib >< qex bart/qex >--- >> dbin -d bin dgl/develop/bin >> cc shepherd/chatclient > >% diff cv1 cv2 >diff cv1/.#cvsignore cv2/.#cvsignore >2d1 >< ex.rc EX.RC >diff cv1/.#cvswrappers cv2/.#cvswrappers >19a20 >> >24,31c25,28 >< *.mpg -k 'b' >< *.MPG -k 'b' >< *.jpeg -k 'b' >< *.JPEG -k 'b' >< *.mpeg -k 'b' >< *.MPEG -k 'b' >< *.jsb -k 'b' >< *.JSB -k 'b' >--- >> *.mp3 -k 'b' >> *.MP3 -k 'b' >> *.wav -k 'b' >> *.WAV -k 'b' >diff cv1/.#modules cv2/.#modules >28,32c28 >[*** WRONG *** should be 28,33c28,29] >< # These modules are Bart projects now being managed by CVS. >< bx bart/bx >< delta bart/delta >< dt -a delta >< qex bart/qex >[*** WRONG *** skipped the "lib bart/lib" line] >--- >> dbin -d bin dgl/develop/bin >[*** WRONG *** there should be one more line] >Common subdirectories: cv1/Emptydir and cv2/Emptydir >[...further lines of output omitted] > > Submit Followup | Raw PR > _________________________________________________________________ > > > www@FreeBSD.org From owner-freebsd-bugs@FreeBSD.ORG Sun Dec 28 12:30:20 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B7FE16A4CE; Sun, 28 Dec 2003 12:30:20 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BAED43D2F; Sun, 28 Dec 2003 12:30:19 -0800 (PST) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) hBSKUJFR067792; Sun, 28 Dec 2003 12:30:19 -0800 (PST) (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBSKUJ91067788; Sun, 28 Dec 2003 12:30:19 -0800 (PST) (envelope-from linimon) Date: Sun, 28 Dec 2003 12:30:19 -0800 (PST) From: Mark Linimon Message-Id: <200312282030.hBSKUJ91067788@freefall.freebsd.org> To: dgl@dlee.org, linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/60663: Inconsistent diff output! X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2003 20:30:20 -0000 Synopsis: Inconsistent diff output! State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Sun Dec 28 12:30:02 PST 2003 State-Changed-Why: Closed at submitter's request. http://www.freebsd.org/cgi/query-pr.cgi?pr=60663 From owner-freebsd-bugs@FreeBSD.ORG Sun Dec 28 13:50:20 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DF8616A4CE for ; Sun, 28 Dec 2003 13:50:20 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EB4A43D49 for ; Sun, 28 Dec 2003 13:50:18 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBSLoIFR072800 for ; Sun, 28 Dec 2003 13:50:18 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBSLoIJQ072798; Sun, 28 Dec 2003 13:50:18 -0800 (PST) (envelope-from gnats) Resent-Date: Sun, 28 Dec 2003 13:50:18 -0800 (PST) Resent-Message-Id: <200312282150.hBSLoIJQ072798@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kevin Ross Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C58C516A4CE for ; Sun, 28 Dec 2003 13:44:35 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0602B43D3F for ; Sun, 28 Dec 2003 13:44:35 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id hBSLiYdL000339 for ; Sun, 28 Dec 2003 13:44:34 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id hBSLiYDN000338; Sun, 28 Dec 2003 13:44:34 -0800 (PST) (envelope-from nobody) Message-Id: <200312282144.hBSLiYDN000338@www.freebsd.org> Date: Sun, 28 Dec 2003 13:44:34 -0800 (PST) From: Kevin Ross To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.0 Subject: misc/60668: FreeBSD problem report submission X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2003 21:50:20 -0000 >Number: 60668 >Category: misc >Synopsis: FreeBSD problem report submission >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Dec 28 13:50:17 PST 2003 >Closed-Date: >Last-Modified: >Originator: Kevin Ross >Release: n/a >Organization: >Environment: Using Mozilla Firebird 0.7 >Description: FreeBSD PR submission form intermittently rejects properly manually typed in anti-bot code. >How-To-Repeat: It only happened once. Isn't that enough? After spending 30 minutes typing in a bug report about how FreeBSD 5.1/5.2RC2 CD's don't boot enough to start /stand/sysinstall, I won't do it again. (Toshiba Satellite Laptop model# 2435-S255) >Fix: Implement a more reliable bug report mechanism. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sun Dec 28 13:57:44 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A2C416A4CE; Sun, 28 Dec 2003 13:57:44 -0800 (PST) Received: from sally.dts-online.net (sally.dts-online.net [212.62.68.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBEB443D1F; Sun, 28 Dec 2003 13:57:42 -0800 (PST) (envelope-from lkoeller@koellers.net) Received: from door.koellers.net (213-182-113-235.teleos-web.de [213.182.113.235]) by sally.dts-online.net (Postfix) with ESMTP id 58D2A42C115; Sun, 28 Dec 2003 22:57:41 +0100 (CET) Received: from odie.koellers.net (root@odie.koellers.net [192.168.4.2]) by door.koellers.net (8.12.9p2/8.12.8) with ESMTP id hBSLkpYR046173; Sun, 28 Dec 2003 22:46:52 +0100 (CET) (envelope-from lkoeller@koellers.net) Received: from odie.koellers.net (lkoeller@localhost [127.0.0.1]) by odie.koellers.net (8.12.9p2/8.12.6) with ESMTP id hBSLkpaB004946; Sun, 28 Dec 2003 22:46:51 +0100 (CET) (envelope-from lkoeller@odie.koellers.net) Message-Id: <200312282146.hBSLkpaB004946@odie.koellers.net> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 From: "Lars =?iso-8859-1?Q?K=F6ller?=" To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org In-Reply-To: Message from FreeBSD-gnats-submit@FreeBSD.org <200309041650.h84GoBkq020902@freefall.freebsd.org> X-Face: eCcoCV}FjV*O{6>[1$XP/e%]TJhEw2MF33dFh)^HM7Gfd=[/(4+0a$~ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2003 21:57:44 -0000 Hi all, I hope you all have a nice christmas time ..... Is it possible that someone spend 5 minutes to apply the simple changes from my pr to the mt command in 4.X and 5.X? It would be very nice .... Alas I have no commit bits for the src and I'm really to unrefined to have them but for the ports tree, which is really enough. However it would be very nice if one src expert can have a look at it and commit the simple changes! Thanks and regards Lars In reply to FreeBSD-gnats-submit@FreeBSD.org who wrote: >Thank you very much for your problem report. >It has the internal identification `bin/56447'. >The individual assigned to look at your >report is: freebsd-bugs. > >You can access the state of your problem report at any time >via this link: > >http://www.freebsd.org/cgi/query-pr.cgi?pr=56447 > >>Category: bin >>Responsible: freebsd-bugs >>Synopsis: Extend mt command for AIT-2 tape drives >>Arrival-Date: Thu Sep 04 09:50:11 PDT 2003 From owner-freebsd-bugs@FreeBSD.ORG Sun Dec 28 14:00:36 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0B7A16A4CF for ; Sun, 28 Dec 2003 14:00:36 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 805B743D49 for ; Sun, 28 Dec 2003 14:00:34 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBSM0YFR073029 for ; Sun, 28 Dec 2003 14:00:34 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBSM0Y45073028; Sun, 28 Dec 2003 14:00:34 -0800 (PST) (envelope-from gnats) Date: Sun, 28 Dec 2003 14:00:34 -0800 (PST) Message-Id: <200312282200.hBSM0Y45073028@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Lars =?iso-8859-1?Q?K=F6ller?=" Subject: Re: bin/56447: Extend mt command for AIT-2 tape drives X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Lars =?iso-8859-1?Q?K=F6ller?= List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2003 22:00:36 -0000 The following reply was made to PR bin/56447; it has been noted by GNATS. From: "Lars =?iso-8859-1?Q?K=F6ller?=" To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org Cc: lars@koellers.net Subject: Re: bin/56447: Extend mt command for AIT-2 tape drives Date: Sun, 28 Dec 2003 22:46:51 +0100 Hi all, I hope you all have a nice christmas time ..... Is it possible that someone spend 5 minutes to apply the simple changes from my pr to the mt command in 4.X and 5.X? It would be very nice .... Alas I have no commit bits for the src and I'm really to unrefined to have them but for the ports tree, which is really enough. However it would be very nice if one src expert can have a look at it and commit the simple changes! Thanks and regards Lars In reply to FreeBSD-gnats-submit@FreeBSD.org who wrote: >Thank you very much for your problem report. >It has the internal identification `bin/56447'. >The individual assigned to look at your >report is: freebsd-bugs. > >You can access the state of your problem report at any time >via this link: > >http://www.freebsd.org/cgi/query-pr.cgi?pr=56447 > >>Category: bin >>Responsible: freebsd-bugs >>Synopsis: Extend mt command for AIT-2 tape drives >>Arrival-Date: Thu Sep 04 09:50:11 PDT 2003 From owner-freebsd-bugs@FreeBSD.ORG Sun Dec 28 14:10:23 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8265616A4CE for ; Sun, 28 Dec 2003 14:10:23 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C87DD43D45 for ; Sun, 28 Dec 2003 14:10:18 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBSMAIFR076514 for ; Sun, 28 Dec 2003 14:10:18 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBSMAIOg076513; Sun, 28 Dec 2003 14:10:18 -0800 (PST) (envelope-from gnats) Resent-Date: Sun, 28 Dec 2003 14:10:18 -0800 (PST) Resent-Message-Id: <200312282210.hBSMAIOg076513@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Mark Dixon" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCBF616A4CE for ; Sun, 28 Dec 2003 14:06:33 -0800 (PST) Received: from anchor-post-35.mail.demon.net (anchor-post-35.mail.demon.net [194.217.242.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DF8F43D2F for ; Sun, 28 Dec 2003 14:06:30 -0800 (PST) (envelope-from "") Received: from lizacnet.demon.co.uk ([80.177.208.105]) by anchor-post-35.mail.demon.net with esmtp (Exim 3.35 #1) id 1Aaj3N-0006C3-0Z for FreeBSD-gnats-submit@freebsd.org; Sun, 28 Dec 2003 22:06:29 +0000 Message-Id: <1072649236@lizacnet.demon.co.uk> Date: Sun, 28 Dec 2003 22:07:16 -0000 From: "Mark Dixon" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: gtk-send-pr 0.2 Subject: bin/60670: Aacontrol doesn't know about WDMA1 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2003 22:10:23 -0000 >Number: 60670 >Category: bin >Synopsis: Aacontrol doesn't know about WDMA1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Dec 28 14:10:18 PST 2003 >Closed-Date: >Last-Modified: >Originator: Mark Dixon >Release: FreeBSD 5.2-RC i386 >Organization: >Environment: System: FreeBSD lizacnet.demon.co.uk 5.2-RC FreeBSD 5.2-RC #20: Mon Dec 22 23:47:06 GMT 2003 mark@lizacnet.demon.co.uk:/usr/obj/usr/src/sys/MARKS i386 Relevent bit of dmesg: GEOM: create disk afd0 dp=0xc3b0626c afd0: REMOVABLE at ata1-slave WDMA1 >Description: The atacontrol program returns the mode of WDMA1 devices as ?????. I think it should be WDMA1. e.g. abox# atacontrol mode 1 Master = BIOSPIO Slave = ??? should be: abox# atacontrol mode 1 Master = BIOSPIO Slave = WDMA1 >How-To-Repeat: Run atacontrol with a WDMA1 device. >Fix: Apply this diff to src/sbin/atacontrol/atacontrol.c --- atacontrol.bak Sun Dec 28 22:01:33 2003 +++ atacontrol.c Sun Dec 28 22:02:49 2003 @@ -59,6 +59,7 @@ case ATA_PIO2: return "PIO2"; case ATA_PIO3: return "PIO3"; case ATA_PIO4: return "PIO4"; + case ATA_WDMA1: return "WDMA1"; case ATA_WDMA2: return "WDMA2"; case ATA_UDMA2: return "UDMA33"; case ATA_UDMA4: return "UDMA66"; >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sun Dec 28 15:47:17 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32F0316A4CE; Sun, 28 Dec 2003 15:47:17 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AA0243D49; Sun, 28 Dec 2003 15:47:16 -0800 (PST) (envelope-from simon@FreeBSD.org) Received: from freefall.freebsd.org (simon@localhost [127.0.0.1]) hBSNlFFR082688; Sun, 28 Dec 2003 15:47:15 -0800 (PST) (envelope-from simon@freefall.freebsd.org) Received: (from simon@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBSNlFlx082684; Sun, 28 Dec 2003 15:47:15 -0800 (PST) (envelope-from simon) Date: Sun, 28 Dec 2003 15:47:15 -0800 (PST) From: "Simon L. Nielsen" Message-Id: <200312282347.hBSNlFlx082684@freefall.freebsd.org> To: simon@FreeBSD.org, freebsd-bugs@FreeBSD.org, sos@FreeBSD.org Subject: Re: bin/60670: Aacontrol doesn't know about WDMA1 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2003 23:47:17 -0000 Synopsis: Aacontrol doesn't know about WDMA1 Responsible-Changed-From-To: freebsd-bugs->sos Responsible-Changed-By: simon Responsible-Changed-When: Sun Dec 28 15:46:46 PST 2003 Responsible-Changed-Why: Over to ata maintainer. http://www.freebsd.org/cgi/query-pr.cgi?pr=60670 From owner-freebsd-bugs@FreeBSD.ORG Sun Dec 28 16:10:15 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B25416A4CE for ; Sun, 28 Dec 2003 16:10:15 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D35F843D3F for ; Sun, 28 Dec 2003 16:10:14 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBT0AEFR086615 for ; Sun, 28 Dec 2003 16:10:14 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBT0AEC3086614; Sun, 28 Dec 2003 16:10:14 -0800 (PST) (envelope-from gnats) Date: Sun, 28 Dec 2003 16:10:14 -0800 (PST) Message-Id: <200312290010.hBT0AEC3086614@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Kevin Ross Subject: Re: misc/60668: FreeBSD problem report submission X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Kevin Ross List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2003 00:10:15 -0000 The following reply was made to PR misc/60668; it has been noted by GNATS. From: Kevin Ross To: freebsd-gnats-submit@FreeBSD.org, austusross@yahoo.com Cc: Subject: Re: misc/60668: FreeBSD problem report submission Date: Mon, 29 Dec 2003 00:01:37 +0000 It appears that the problem is that your anti-bot code is changed very frequently. Unfortunately, the value displayed on the form isn't updated when the code changes. Hitting refresh on the browser updates the code on the form without destroying the inputted fields (for Mozilla Firebird anyway) thankfully. It's still a bug that the value displayed on the web page and the actual value for the code are often out of sync. From owner-freebsd-bugs@FreeBSD.ORG Sun Dec 28 18:14:35 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6EE016A4CE; Sun, 28 Dec 2003 18:14:35 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1783B43D3F; Sun, 28 Dec 2003 18:14:35 -0800 (PST) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) hBT2EYFR096903; Sun, 28 Dec 2003 18:14:34 -0800 (PST) (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBT2EYWE096899; Sun, 28 Dec 2003 18:14:34 -0800 (PST) (envelope-from linimon) Date: Sun, 28 Dec 2003 18:14:34 -0800 (PST) From: Mark Linimon Message-Id: <200312290214.hBT2EYWE096899@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-www@FreeBSD.org Subject: Re: www/60668: bug in web-based FreeBSD problem report submission form X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2003 02:14:35 -0000 Old Synopsis: FreeBSD problem report submission New Synopsis: bug in web-based FreeBSD problem report submission form Responsible-Changed-From-To: freebsd-bugs->freebsd-www Responsible-Changed-By: linimon Responsible-Changed-When: Sun Dec 28 18:12:02 PST 2003 Responsible-Changed-Why: Give this one a less generic-sounding synopsis and assign it to the www folks. http://www.freebsd.org/cgi/query-pr.cgi?pr=60668 From owner-freebsd-bugs@FreeBSD.ORG Sun Dec 28 21:10:36 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 385C816A4CE for ; Sun, 28 Dec 2003 21:10:36 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77A2143D54 for ; Sun, 28 Dec 2003 21:10:22 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBT5ALFR012834 for ; Sun, 28 Dec 2003 21:10:21 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBT5ALc3012833; Sun, 28 Dec 2003 21:10:21 -0800 (PST) (envelope-from gnats) Resent-Date: Sun, 28 Dec 2003 21:10:21 -0800 (PST) Resent-Message-Id: <200312290510.hBT5ALc3012833@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Colin Percival Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A231216A4CE for ; Sun, 28 Dec 2003 21:02:46 -0800 (PST) Received: from fafnir.daemonology.net (h24-87-233-42.vc.shawcable.net [24.87.233.42]) by mx1.FreeBSD.org (Postfix) with SMTP id 2893B43D41 for ; Sun, 28 Dec 2003 21:02:45 -0800 (PST) (envelope-from cperciva@fafnir.daemonology.net) Received: (qmail 3443 invoked by uid 0); 29 Dec 2003 05:02:49 -0000 Message-Id: <20031229050249.3442.qmail@fafnir.daemonology.net> Date: 29 Dec 2003 05:02:49 -0000 From: Colin Percival To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: conf/60676: 150.clean-hoststat doesn't obey mailwrapper X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Colin Percival List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2003 05:10:36 -0000 >Number: 60676 >Category: conf >Synopsis: 150.clean-hoststat doesn't obey mailwrapper >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Dec 28 21:10:21 PST 2003 >Closed-Date: >Last-Modified: >Originator: Colin Percival >Release: FreeBSD 5.2-RC2 i386 >Organization: >Environment: System: FreeBSD fafnir.daemonology.net 5.2-RC2 FreeBSD 5.2-RC2 #0: Mon Dec 22 07:23:48 GMT 2003 root@wv1u.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 >Description: etc/periodic/daily/150.clean-hoststat calls `sendmail -bh` and `sendmail -bH`. This is confusing to non-sendmail MTAs. It should call `hoststat -bh` and `purgestat -bH` instead. >How-To-Repeat: >Fix: --- hoststat.diff begins here --- --- etc/periodic/daily/150.clean-hoststat.orig Mon Dec 29 04:51:38 2003 +++ etc/periodic/daily/150.clean-hoststat Mon Dec 29 04:52:08 2003 @@ -14,13 +14,13 @@ case "$daily_clean_hoststat_enable" in [Yy][Ee][Ss]) - if [ -z "$(sendmail -bh 2>&1)" ]; then + if [ -z "$(hoststat -bh 2>&1)" ]; then rc=2 else echo "" echo "Removing stale entries from sendmail host status cache:" rc=0 - sendmail -bH || rc=1 + purgestat -bH || rc=1 fi;; *) rc=0;; --- hoststat.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sun Dec 28 21:20:19 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A5EA16A4CF for ; Sun, 28 Dec 2003 21:20:19 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE38343D45 for ; Sun, 28 Dec 2003 21:20:15 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBT5KFFR013049 for ; Sun, 28 Dec 2003 21:20:15 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBT5KFAj013048; Sun, 28 Dec 2003 21:20:15 -0800 (PST) (envelope-from gnats) Resent-Date: Sun, 28 Dec 2003 21:20:15 -0800 (PST) Resent-Message-Id: <200312290520.hBT5KFAj013048@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, SHINOHARA Takahiro Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B7B316A4CE for ; Sun, 28 Dec 2003 21:11:43 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F6AD43D3F for ; Sun, 28 Dec 2003 21:11:35 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id hBT5BZdL058466 for ; Sun, 28 Dec 2003 21:11:35 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id hBT5BZsB058465; Sun, 28 Dec 2003 21:11:35 -0800 (PST) (envelope-from nobody) Message-Id: <200312290511.hBT5BZsB058465@www.freebsd.org> Date: Sun, 28 Dec 2003 21:11:35 -0800 (PST) From: SHINOHARA Takahiro To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.0 Subject: misc/60677: No reaction of volume controy key on IBM Thinkpad i1124 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2003 05:20:19 -0000 >Number: 60677 >Category: misc >Synopsis: No reaction of volume controy key on IBM Thinkpad i1124 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Dec 28 21:20:15 PST 2003 >Closed-Date: >Last-Modified: >Originator: SHINOHARA Takahiro >Release: 5.2-CURRENT >Organization: private >Environment: FreeBSD kunkun.de.la.grant 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Sun Dec 28 21:33:42 JST 2003 shino@kunkun.de.la.grant:/usr/src/sys/i386/compile/KUNKUN i386 >Description: ThinkPad i1124 has volume control keys. I push them, but volume is not changed. Because chip(CS4281) register is not set as do so. >How-To-Repeat: boot, play some mp3 or any audio file, and push volume control key. >Fix: diff -ur sys.orig/conf/options.i386 sys/conf/options.i386 --- sys.orig/conf/options.i386 Sat Apr 12 18:40:37 2003 +++ sys/conf/options.i386 Wed Jul 16 20:46:37 2003 @@ -141,6 +141,9 @@ PCVT_VT220KEYB opt_pcvt.h PCVT_GREENSAVER opt_pcvt.h +# Enable hardware volume control for PCM Audio on note PC +PCM_NOTE_HWVOL opt_sound.h + # Video spigot SPIGOT_UNSECURE opt_spigot.h diff -ur sys.orig/dev/sound/pci/cs4281.c sys/dev/sound/pci/cs4281.c --- sys.orig/dev/sound/pci/cs4281.c Fri Feb 21 02:31:11 2003 +++ sys/dev/sound/pci/cs4281.c Wed Jul 16 20:46:50 2003 @@ -29,6 +29,8 @@ * contributed towards power management. */ +#include "opt_sound.h" + #include #include @@ -639,6 +641,13 @@ cs4281_wr(sc, CS4281PCI_ACOSV, CS4281PCI_ACOSV_SLV(3) | CS4281PCI_ACOSV_SLV(4)); + +#ifdef PCM_NOTE_HWVOL + /* Set hardware volume control */ + cs4281_wr(sc, + CS4281PCI_SSCR, + CS4281PCI_SSCR_HVC); +#endif /* PCM_NOTE_HWVOL */ /* Set Master and headphone to max */ cs4281_wrcd(0, sc, AC97_MIX_AUXOUT, 0); diff -ur sys.orig/dev/sound/pci/cs4281.h sys/dev/sound/pci/cs4281.h --- sys.orig/dev/sound/pci/cs4281.h Thu Apr 19 22:23:50 2001 +++ sys/dev/sound/pci/cs4281.h Wed Jul 16 20:46:51 2003 @@ -146,6 +146,8 @@ # define CS4281PCI_SERMC_PTC_MASK 0x0000000e # define CS4281PCI_SERMC_ODSEN1 0x01000000 # define CS4281PCI_SERMC_ODSEN2 0x02000000 +# define CS4281PCI_SERMC_PLB 0x00000010 +# define CS4281PCI_SERMC_PXLB 0x00000020 #define CS4281PCI_SERC1 0x428 #define CS4281PCI_SERC2 0x42c @@ -183,6 +185,15 @@ #define CS4281PCI_DACSR 0x744 #define CS4281PCI_ADCSR 0x748 #define CS4281PCI_SSCR 0x74c +# define CS4281PCI_SSCR_HVS1 0x00800000 +# define CS4281PCI_SSCR_MVCS 0x00080000 +# define CS4281PCI_SSCR_MVLD 0x00040000 +# define CS4281PCI_SSCR_MVAD 0x00020000 +# define CS4281PCI_SSCR_MVMD 0x00010000 +# define CS4281PCI_SSCR_XLPSRC 0x00000100 +# define CS4281PCI_SSCR_LPSRC 0x00000080 +# define CS4281PCI_SSCR_CDTX 0x00000020 +# define CS4281PCI_SSCR_HVC 0x00000008 #define CS4281PCI_SRCSA 0x75c # define CS4281PCI_SRCSA_PLSS(x) (x) diff -ur sys.orig/modules/sound/driver/cs4281/Makefile sys/modules/sound/driver/cs4281/Makefile --- sys.orig/modules/sound/driver/cs4281/Makefile Wed Jul 16 21:00:11 2003 +++ sys/modules/sound/driver/cs4281/Makefile Wed Jul 16 21:08:16 2003 @@ -3,7 +3,7 @@ .PATH: ${.CURDIR}/../../../../dev/sound/pci KMOD= snd_cs4281 -SRCS= device_if.h bus_if.h pci_if.h +SRCS= device_if.h bus_if.h pci_if.h opt_sound.h SRCS+= cs4281.c .include >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Mon Dec 29 01:10:19 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1262F16A4CE for ; Mon, 29 Dec 2003 01:10:19 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41CF943D2F for ; Mon, 29 Dec 2003 01:10:18 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBT9AIFR034356 for ; Mon, 29 Dec 2003 01:10:18 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBT9AHBr034355; Mon, 29 Dec 2003 01:10:17 -0800 (PST) (envelope-from gnats) Date: Mon, 29 Dec 2003 01:10:17 -0800 (PST) Message-Id: <200312290910.hBT9AHBr034355@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Andrew Belashov Subject: Re: kern/51309: rl driver problem on large file transfers X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrew Belashov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2003 09:10:19 -0000 The following reply was made to PR kern/51309; it has been noted by GNATS. From: Andrew Belashov To: freebsd-gnats-submit@FreeBSD.org, robbsdfreaks.nl@bsdfreaks.zone1.muntinternet.net Cc: Subject: Re: kern/51309: rl driver problem on large file transfers Date: Mon, 29 Dec 2003 12:02:22 +0300 Check "Ierrs" field in `netstat -i` statistics for corresponding interface. If it is non zero value, try the following patch: From owner-freebsd-bugs@FreeBSD.ORG Mon Dec 29 01:20:09 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDFA216A4CE for ; Mon, 29 Dec 2003 01:20:09 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A516143D54 for ; Mon, 29 Dec 2003 01:20:05 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBT9K5FR034595 for ; Mon, 29 Dec 2003 01:20:05 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBT9K5NV034594; Mon, 29 Dec 2003 01:20:05 -0800 (PST) (envelope-from gnats) Resent-Date: Mon, 29 Dec 2003 01:20:05 -0800 (PST) Resent-Message-Id: <200312290920.hBT9K5NV034594@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alex Teldekov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E145816A4CE for ; Mon, 29 Dec 2003 01:18:07 -0800 (PST) Received: from shoggoth.interdacom.ru (shoggoth.interdacom.ru [217.23.70.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CAFA43D2D for ; Mon, 29 Dec 2003 01:18:04 -0800 (PST) (envelope-from alext@interdacom.ru) Received: by shoggoth.interdacom.ru (Postfix, from userid 426) id DE281348F14; Mon, 29 Dec 2003 12:18:01 +0300 (MSK) Received: from vcek.interdacom.ru (dagon.interdacom.ru [217.23.70.7]) by shoggoth.interdacom.ru (Postfix) with ESMTP id 86A05343DD7 for ; Mon, 29 Dec 2003 12:18:01 +0300 (MSK) Received: from dagon.interdacom.ru (localhost [127.0.0.1]) by vcek.interdacom.ru (8.12.9p2/8.12.9) with ESMTP id hBT9HvWh003085 for ; Mon, 29 Dec 2003 12:17:58 +0300 (MSK) (envelope-from alext1@dagon.interdacom.ru) Received: (from alext1@localhost) by dagon.interdacom.ru (8.12.9p2/8.12.9/Submit) id hBT9Hu2d003084; Mon, 29 Dec 2003 12:17:56 +0300 (MSK) (envelope-from alext1) Message-Id: <200312290917.hBT9Hu2d003084@dagon.interdacom.ru> Date: Mon, 29 Dec 2003 12:17:56 +0300 (MSK) From: Alex Teldekov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/60685: Intel 82559 NICs don't work X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alex Teldekov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2003 09:20:10 -0000 >Number: 60685 >Category: kern >Synopsis: Intel 82559 NICs don't work >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 29 01:20:05 PST 2003 >Closed-Date: >Last-Modified: >Originator: Alex Teldekov >Release: FreeBSD 4.9-RELEASE-p1 i386 >Organization: InterDa ISP >Environment: System: FreeBSD dagon.interdacom.ru 4.9-RELEASE-p1 FreeBSD 4.9-RELEASE-p1 #0: Sat Dec 27 10:23:53 MSK 2003 root@vcek.interdacom.ru:/usr/obj/usr/src/sys/VCEK i386 My kernel is based on GENERIC plus some options added: device atapicam options INCLUDE_CONFIG_FILE options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=100 options IPDIVERT Here is my dmesg (after removing Intel 82559 NICs): Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.9-RELEASE-p1 #0: Sat Dec 27 10:23:53 MSK 2003 root@vcek.interdacom.ru:/usr/obj/usr/src/sys/VCEK Timecounter "i8254" frequency 1193182 Hz CPU: Pentium/P54C (165.79-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x1bf real memory = 16777216 (16384K bytes) config> di pcic0 config> di bt0 config> di aic0 config> di aha0 config> di adv0 config> q avail memory = 11161600 (10900K bytes) Preloaded elf kernel "kernel" at 0xc0540000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc054009c. Intel Pentium detected, installing workaround for F00F bug md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 isab0: at device 2.0 on pci0 isa0: on isab0 atapci0: port 0xfff0-0xffff irq 0 at device 2.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 rl0: port 0xde00-0xdeff mem 0xffef7e00-0xffef7eff irq 9 at device 4.0 on pci0 rl0: Ethernet address: 00:c0:df:07:fe:76 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: <82c169 PNIC 10/100BaseTX> port 0xdf00-0xdfff mem 0xffef7f00-0xffef7fff irq 10 at device 5.0 on pci0 dc0: Ethernet address: 00:a0:cc:20:c4:61 miibus1: on dc0 ukphy0: on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: at 6.0 irq 11 orm0:
To whom it may = concern
 
 
I do get the same error = described on=20 the http://www.fr= eebsd.org/cgi/query-pr.cgi?pr=3D34144.=20 I am trying to install it on my Acer travel mate 230 notebook = Specs:Mobile Intel=20 Celeron 2.2 GHz, 20Gb HDD,256Mb RAM,Intel 82845G Graphics Controller,QSI = CDRW/DVD SBW-242,Intel 82801DBUltra ATA Storage Controller,Agere Systems = AC'97=20 Modem(56k),Realtek RL8139 Family PCI Fast Ethernet NIC,PCMCIA O2Micro = OZ6912=20 Card Bus Controller, Printer Port,2 USB,Crystal WDM Ac'97 (Sound=20 Card),floppy,CIF USB Camera,USB Mouse. Yeah so, I been trying to install = freeBSD=20 4.9 i386 and it would halt on mounting ufs:/dev/md0c. Any chances I can = get=20 freeBSD 4.9 installed on my notebook?
 
Sincerely
         = Yours
 
          &nbs= p;           =20 Michael Margulev
P.S.: Happy New = Year
 

---
Outgoing = mail is certified=20 Virus Free.Crut and K
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: = 6.0.555 /=20 Virus Database: 347 - Release Date: = 23/12/2003
------=_NextPart_000_0003_01C3CF31.122FDE60-- From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 30 06:12:55 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5310F16A4CE for ; Tue, 30 Dec 2003 06:12:55 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-234.dsl.lsan03.pacbell.net [63.207.60.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 588C043D2F for ; Tue, 30 Dec 2003 06:12:54 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 10E3B66BAA; Tue, 30 Dec 2003 06:12:54 -0800 (PST) Date: Tue, 30 Dec 2003 06:12:53 -0800 From: Kris Kennaway To: Chris McKenzie Message-ID: <20031230141253.GA40702@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: freebsd-bugs@freebsd.org Subject: Re: How to hard lock FreeBSD-5.1 generic with sl X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 14:12:55 -0000 --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 29, 2003 at 06:02:45PM -0800, Chris McKenzie wrote: > On three machines (PII 450, P3 450, Pentium laptop 200) with FreeBSD-5.1 > generic (and specific builds) I am able to completely hard lock the system > by doing the following >=20 > # ifconfig ppp0 create > # ifconfig sl0 create >=20 > Heh . . . that shouldn't happen. Does the problem persist with 5.2? Kris --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/8YflWry0BWjoQKURAsD+AJ9Mlatrse7Bk5Cx0E7L14GRfC5XQACg5Ajs 0fVhEfSFhbTcTMPuritL+JA= =fjoS -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd-- From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 30 06:27:12 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B8B316A4CE for ; Tue, 30 Dec 2003 06:27:12 -0800 (PST) Received: from gandalf.online.bg (gandalf.online.bg [217.75.128.9]) by mx1.FreeBSD.org (Postfix) with SMTP id D3F5243D2F for ; Tue, 30 Dec 2003 06:27:06 -0800 (PST) (envelope-from roam@ringlet.net) Received: (qmail 20821 invoked from network); 30 Dec 2003 14:25:04 -0000 Received: from office.casyst.com (HELO straylight.m.ringlet.net) (212.91.166.145) by gandalf.online.bg with SMTP; 30 Dec 2003 14:25:04 -0000 Received: (qmail 791 invoked by uid 1000); 30 Dec 2003 14:28:00 -0000 Date: Tue, 30 Dec 2003 16:28:00 +0200 From: Peter Pentchev To: Kris Kennaway Message-ID: <20031230142800.GA707@straylight.m.ringlet.net> Mail-Followup-To: Kris Kennaway , Chris McKenzie , freebsd-bugs@freebsd.org References: <20031230141253.GA40702@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline In-Reply-To: <20031230141253.GA40702@xor.obsecurity.org> User-Agent: Mutt/1.5.5.1i cc: freebsd-bugs@freebsd.org cc: Chris McKenzie Subject: Re: How to hard lock FreeBSD-5.1 generic with sl X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 14:27:12 -0000 --UugvWAfsgieZRqgk Content-Type: text/plain; charset=windows-1251 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 30, 2003 at 06:12:53AM -0800, Kris Kennaway wrote: > On Mon, Dec 29, 2003 at 06:02:45PM -0800, Chris McKenzie wrote: > > On three machines (PII 450, P3 450, Pentium laptop 200) with FreeBSD-5.1 > > generic (and specific builds) I am able to completely hard lock the sys= tem > > by doing the following > >=20 > > # ifconfig ppp0 create > > # ifconfig sl0 create > >=20 > > Heh . . . that shouldn't happen. >=20 > Does the problem persist with 5.2? I just tested in on a 5.2-CURRENT as of today, and yes, the system locked up solid - no ddb, no anything. I'll try to do some more testing as time permits. G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@sbnd.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 I am the meaning of this sentence. --UugvWAfsgieZRqgk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQE/8Ytw7Ri2jRYZRVMRAk5vAJ4uCc7/7UMhDDM24c6t8MJNOqS1OACgi8LM txCixv5f+A2zJQ+1Vcy1RbI= =TFZR -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk-- From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 30 07:30:33 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCDEF16A4CE for ; Tue, 30 Dec 2003 07:30:33 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAAD443D68 for ; Tue, 30 Dec 2003 07:30:21 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBUFULFR059735 for ; Tue, 30 Dec 2003 07:30:21 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBUFULOG059734; Tue, 30 Dec 2003 07:30:21 -0800 (PST) (envelope-from gnats) Resent-Date: Tue, 30 Dec 2003 07:30:21 -0800 (PST) Resent-Message-Id: <200312301530.hBUFULOG059734@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eugene Grosbein Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9607416A4CE for ; Tue, 30 Dec 2003 07:25:49 -0800 (PST) Received: from grosbein.pp.ru (dadv.svzserv.kemerovo.su [213.184.64.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6459D43D2D for ; Tue, 30 Dec 2003 07:25:47 -0800 (PST) (envelope-from eugen@grosbein.pp.ru) Received: from grosbein.pp.ru (eugen@localhost [127.0.0.1]) by grosbein.pp.ru (8.12.10/8.12.10) with ESMTP id hBUFPi28001197 for ; Tue, 30 Dec 2003 22:25:44 +0700 (KRAT) (envelope-from eugen@grosbein.pp.ru) Received: (from eugen@localhost) by grosbein.pp.ru (8.12.10/8.12.10/Submit) id hBUFPi6C001196; Tue, 30 Dec 2003 22:25:44 +0700 (KRAT) (envelope-from eugen) Message-Id: <200312301525.hBUFPi6C001196@grosbein.pp.ru> Date: Tue, 30 Dec 2003 22:25:44 +0700 (KRAT) From: Eugene Grosbein To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: misc/60730: [PATCH] minor spelling error in a comment in src/bin/sh/eval.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Eugene Grosbein List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 15:30:33 -0000 >Number: 60730 >Category: misc >Synopsis: [PATCH] minor spelling error in a comment in src/bin/sh/eval.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Dec 30 07:30:21 PST 2003 >Closed-Date: >Last-Modified: >Originator: Eugene Grosbein >Release: FreeBSD 4.9-STABLE i386 >Organization: Svyaz Service JSC >Environment: System: FreeBSD grosbein.pp.ru 4.9-STABLE FreeBSD 4.9-STABLE #8: Sun Dec 14 20:25:57 KRAT 2003 eu@grosbein.pp.ru:/usr/local/obj/usr/local/src/sys/DADV i386 >Description: 'directories' is spelled as 'diretories' in src/bin/sh/eval.c >How-To-Repeat: N/A >Fix: --- eval.c.orig Tue Dec 30 22:18:30 2003 +++ eval.c Tue Dec 30 22:18:43 2003 @@ -710,7 +710,7 @@ * the command runs. Partly deleting like * changepatch() does doesn't seem worth the * bookinging effort, since most such runs add - * diretories in front of the new PATH. + * directories in front of the new PATH. */ clearcmdentry(0); do_clearcmdentry = 1; >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 30 07:40:08 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF6A616A4CE; Tue, 30 Dec 2003 07:40:08 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14C0743D1F; Tue, 30 Dec 2003 07:40:07 -0800 (PST) (envelope-from maxim@FreeBSD.org) Received: from freefall.freebsd.org (maxim@localhost [127.0.0.1]) hBUFe6FR060060; Tue, 30 Dec 2003 07:40:06 -0800 (PST) (envelope-from maxim@freefall.freebsd.org) Received: (from maxim@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBUFe6UO060056; Tue, 30 Dec 2003 07:40:06 -0800 (PST) (envelope-from maxim) Date: Tue, 30 Dec 2003 07:40:06 -0800 (PST) From: Maxim Konovalov Message-Id: <200312301540.hBUFe6UO060056@freefall.freebsd.org> To: eugen@grosbein.pp.ru, maxim@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: misc/60730: [PATCH] minor spelling error in a comment in src/bin/sh/eval.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 15:40:08 -0000 Synopsis: [PATCH] minor spelling error in a comment in src/bin/sh/eval.c State-Changed-From-To: open->patched State-Changed-By: maxim State-Changed-When: Tue Dec 30 07:39:46 PST 2003 State-Changed-Why: Fixed in -CURRENT, thanks. http://www.freebsd.org/cgi/query-pr.cgi?pr=60730 From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 30 07:40:35 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14EEE16A4CE; Tue, 30 Dec 2003 07:40:35 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3155F43D1F; Tue, 30 Dec 2003 07:40:34 -0800 (PST) (envelope-from maxim@FreeBSD.org) Received: from freefall.freebsd.org (maxim@localhost [127.0.0.1]) hBUFeYFR060159; Tue, 30 Dec 2003 07:40:34 -0800 (PST) (envelope-from maxim@freefall.freebsd.org) Received: (from maxim@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBUFeYb9060155; Tue, 30 Dec 2003 07:40:34 -0800 (PST) (envelope-from maxim) Date: Tue, 30 Dec 2003 07:40:34 -0800 (PST) From: Maxim Konovalov Message-Id: <200312301540.hBUFeYb9060155@freefall.freebsd.org> To: maxim@FreeBSD.org, freebsd-bugs@FreeBSD.org, maxim@FreeBSD.org Subject: Re: misc/60730: [PATCH] minor spelling error in a comment in src/bin/sh/eval.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 15:40:35 -0000 Synopsis: [PATCH] minor spelling error in a comment in src/bin/sh/eval.c Responsible-Changed-From-To: freebsd-bugs->maxim Responsible-Changed-By: maxim Responsible-Changed-When: Tue Dec 30 07:40:17 PST 2003 Responsible-Changed-Why: MFC reminder. http://www.freebsd.org/cgi/query-pr.cgi?pr=60730 From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 30 09:00:59 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5703B16A4CE for ; Tue, 30 Dec 2003 09:00:59 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84C3843D49 for ; Tue, 30 Dec 2003 09:00:38 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBUH0cFR065610 for ; Tue, 30 Dec 2003 09:00:38 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBUH0cSN065609; Tue, 30 Dec 2003 09:00:38 -0800 (PST) (envelope-from gnats) Resent-Date: Tue, 30 Dec 2003 09:00:38 -0800 (PST) Resent-Message-Id: <200312301700.hBUH0cSN065609@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Peter Edwards Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 936AF16A4CE for ; Tue, 30 Dec 2003 08:55:56 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEF4843D48 for ; Tue, 30 Dec 2003 08:55:54 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id hBUGtsdL096760 for ; Tue, 30 Dec 2003 08:55:54 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id hBUGtsmg096759; Tue, 30 Dec 2003 08:55:54 -0800 (PST) (envelope-from nobody) Message-Id: <200312301655.hBUGtsmg096759@www.freebsd.org> Date: Tue, 30 Dec 2003 08:55:54 -0800 (PST) From: Peter Edwards To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.0 Subject: gnu/60732: [PATCH] unbreak kgdb backtraces through traps X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 17:00:59 -0000 >Number: 60732 >Category: gnu >Synopsis: [PATCH] unbreak kgdb backtraces through traps >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 30 09:00:38 PST 2003 >Closed-Date: >Last-Modified: >Originator: Peter Edwards >Release: 5.2-CURRENT >Organization: >Environment: FreeBSD hippo 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Mon Dec 29 21:20:38 GMT 2003 petere@hippo:/scratch/obj/scratch/src/sys/HIPPO i386 >Description: This has been bugging the hell out of me for ages: I finally cleaned up my local patch enough to consider submitting it. The usr/src/gnu/usr.bin/binutils/gdb directory contains some freebsd-specific code to enable kernel debugging, uthread manipulation etc. There's a set of files, fbsd-kgdb-${GDB_CPU}.h, that are supposed to provide hooks to the gdb base code. However, these are never included. For i386, the main loss is the definition of "FRAME_SAVED_PC", which is designed to aid gdb unwind through a stack frame. Without this definition, the topmost frame of a core from kernel panic under the actual trap() frame is lost: This is normally the most interesting frame >How-To-Repeat: Find a way to kill your machine with a page fault (some available on request :-)) As an example, here's a backtrace for a panic I can reproduce at will: (note "calltrap" appears in frame 5) #0 doadump () at /scratch/src/sys/kern/kern_shutdown.c:240 #1 0xc04c0489 in boot (howto=260) at /scratch/src/sys/kern/kern_shutdown.c:372 #2 0xc04c0868 in panic () at /scratch/src/sys/kern/kern_shutdown.c:550 #3 0xc05dc326 in trap_fatal (frame=0xd72e7c40, eva=0) at /scratch/src/sys/i386/i386/trap.c:821 #4 0xc05db903 in trap (frame= {tf_fs = 24, tf_es = -684851184, tf_ds = -1067712496, tf_edi = 0, tf_esi = -1067086800, tf_ebp = -684819296, tf_isp = -684819348, tf_ebx = -1000238144, tf_edx = -1050979712, tf_ecx = -1050979712, tf_eax = 20, tf_trapno = 12, tf_err = 0, tf_eip = -1068595426, tf_cs = 8, tf_eflags = 65683, tf_esp = -1050982468, tf_ss = 131}) at /scratch/src/sys/i386/i386/trap.c:250 #5 0xc05c9898 in calltrap () at {standard input}:94 #6 0xc04e8fa4 in turnstile_wait (ts=0x0, lock=0xc06560e0, owner=0x0) at /scratch/src/sys/kern/subr_turnstile.c:510 #7 0xc04b5af5 in _mtx_lock_sleep (m=0xc06560e0, opts=0, file=0x0, line=0) at /scratch/src/sys/kern/kern_mutex.c:476 #8 0xc04aa4a4 in ithread_loop (arg=0xc15aa600) at /scratch/src/sys/kern/kern_intr.c:543 #9 0xc04a9130 in fork_exit (callout=0xc04aa2e0 , arg=0x0, frame=0x0) at /scratch/src/sys/kern/kern_fork.c:793 With the fix in place, I get this stack trace: #0 doadump () at /scratch/src/sys/kern/kern_shutdown.c:240 #1 0xc04c0489 in boot (howto=260) at /scratch/src/sys/kern/kern_shutdown.c:372 #2 0xc04c0868 in panic () at /scratch/src/sys/kern/kern_shutdown.c:550 #3 0xc05dc326 in trap_fatal (frame=0xd72e7c40, eva=0) at /scratch/src/sys/i386/i386/trap.c:821 #4 0xc05db903 in trap (frame= {tf_fs = 24, tf_es = -684851184, tf_ds = -1067712496, tf_edi = 0, tf_esi = -1067086800, tf_ebp = -684819296, tf_isp = -684819348, tf_ebx = -1000238144, tf_edx = -1050979712, tf_ecx = -1050979712, tf_eax = 20, tf_trapno = 12, tf_err = 0, tf_eip = -1068595426, tf_cs = 8, tf_eflags = 65683, tf_esp = -1050982468, tf_ss = 131}) at /scratch/src/sys/i386/i386/trap.c:250 #5 0xc04e871e in propagate_priority (td=0xc46193c0) at /scratch/src/sys/kern/subr_turnstile.c:230 #6 0xc04e8fa4 in turnstile_wait (ts=0xc438a640, lock=0xc06560e0, owner=0x0) at /scratch/src/sys/kern/subr_turnstile.c:510 #7 0xc04b5af5 in _mtx_lock_sleep (m=0xc06560e0, opts=0, file=0x0, line=0) at /scratch/src/sys/kern/kern_mutex.c:476 #8 0xc04aa4a4 in ithread_loop (arg=0xc15aa600) at /scratch/src/sys/kern/kern_intr.c:543 #9 0xc04a9130 in fork_exit (callout=0xc04aa2e0 , arg=0x0, frame=0x0) at /scratch/src/sys/kern/kern_fork.c:793 (This time frame 5 actually shows me the faulting code.) >Fix: I rejigged the makefile to create a tm.h that included the stock gdb version, and the freebsd kgdb-specific code (the target for nm.h sets a precident for this). For i386, this just envolved ripping out the bits that were not used anyway, and leaving in a working definition of FRAME_SAVED_PC. For alpha, the existing version should work fine. The other platforms don't seem to have any support for FRAME_SAVED_PC yet anyway, so they shouldn't be affected. Here's the patch: begin 644 gdb-frame-patch.txt M26YD97@Z($UA:V5F:6QE"CT]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T] M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T*4D-3(&9I M;&4Z("]URY405)' M151]"B`*+2YF;W(@2"!I;B!T;2UF8G-D('AM+21[1T1"7T-057T*+21[2#I# M+RTN*B0O+WTN:#H**PHK=&TN:#H**PEE8VAO("RY405)'151]"BLN:68@97AIRY405)'151] M"BLN96YD:68**PHK"BLN9F]R($@@:6X@>&TM)'M'1$)?0U!5?0HK>&TN:#H* M(`EL;B`MRY#55)$25)]+RXN+RXN+RXN+RXN+V-O;G1R M:6(O9V1B+V=D8B]C;VYF:6TA]+F@@7`HK"2`@("`D M>T=$0D1)4GTO9V1B+V-O;F9I9R\D>T=$0E]#4%5]+WAM+21[1T1"7T-057TN M:"!<"B`)("`@("1[+E1!4D=%5'T*("YE;F1F;W(*(`I);F1E>#H@9F)S9"UK M9V1B+6DS.#8N:`H]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T] M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]"E)#4R!F:6QE.B`O M=7-R+V-VF4@ M,'@Q."!A;F0@:7,@:6UM961I871E;'D@8F5L;W<@=&AE"BT@("!P#$P(&%N9"!I'1E5]I;G1E9V5R("@H M1E)!344I+3YFRelease-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 30 11:10:04 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5ECD616A4CE for ; Tue, 30 Dec 2003 11:10:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 711BC43D41 for ; Tue, 30 Dec 2003 11:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBUJA1FR079201 for ; Tue, 30 Dec 2003 11:10:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBUJA1RF079200; Tue, 30 Dec 2003 11:10:01 -0800 (PST) (envelope-from gnats) Resent-Date: Tue, 30 Dec 2003 11:10:01 -0800 (PST) Resent-Message-Id: <200312301910.hBUJA1RF079200@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Stéphane Witzmann Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97DBD16A4CE for ; Tue, 30 Dec 2003 11:07:19 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB2A743D55 for ; Tue, 30 Dec 2003 11:07:11 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id hBUJ7BdL062721 for ; Tue, 30 Dec 2003 11:07:11 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id hBUJ7B3j062720; Tue, 30 Dec 2003 11:07:11 -0800 (PST) (envelope-from nobody) Message-Id: <200312301907.hBUJ7B3j062720@www.freebsd.org> Date: Tue, 30 Dec 2003 11:07:11 -0800 (PST) From: Stéphane Witzmann To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.0 Subject: kern/60737: Sound card Turtle Beach Santa Cruz not working X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 19:10:04 -0000 >Number: 60737 >Category: kern >Synopsis: Sound card Turtle Beach Santa Cruz not working >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 30 11:10:00 PST 2003 >Closed-Date: >Last-Modified: >Originator: Stéphane Witzmann >Release: 5.1-RELEASE >Organization: (computer engineering student) >Environment: FreeBSD Wolfenstein.glandeurs.org 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Tue Dec 23 17:42:21 CET 2003 root@Wolfenstein.glandeurs.org:/usr/obj/usr/src/sys/MYKERNEL i386 >Description: My mainboard has a CMI sound chip, and I installed a Turtle Beach Santa Cruz as an additional sound card. It is well recognized by the csa driver : csa0: mem 0xe5000000-0xe50fffff,0xe5800000- 0xe5800fff at device 9.0 on pci0 csa: card is Turtle Beach Santa Cruz pcib0: slot 9 INTA is routed to irq 10 pcm1: on csa0 pcm1: midi0: on csa0 (pcm0 is the CMI chip) But I cannot get a sound out of it, syslog says : pcm1:play:0: play interrupt timeout, channel dead when trying to play a MP3 (for example) I also get an error when trying "cat /dev/dsp1" : pcm1:record:0: record interrupt timeout, channel dead Here is /dev/sndstat in case it helps : FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xb000 irq 10 (1p/1r/0v channels duplex default) [pcm0:play:0]: spd 0, fmt 0x00000000/0x00000008, flags 00000000 interrupts 0, underruns 0, ready 0 {userland} -> feeder_root(0x00000000) -> {hardware} [pcm0:record:0]: spd 0, fmt 0x00000000/0x00000008, flags 00000000 interrupts 0, overruns 0, hfree 16384, sfree 0 {hardware} -> feeder_root(0x00000000) -> {userland} pcm1: at irq 10 (1p/1r/0v channels duplex) [pcm1:record:0]: spd 0, fmt 0x00000000/0x00000008, flags 00000000 interrupts 0, overruns 0, hfree 4096, sfree 0 {hardware} -> feeder_root(0x00000000) -> {userland} [pcm1:play:0]: spd 0, fmt 0x00000000/0x00000008, flags 00000000 interrupts 0, underruns 0, ready 0 {userland} -> feeder_root(0x00000000) -> {hardware} Here are the kernel variables : hw.snd.targetirqrate: 32 hw.snd.report_soft_formats: 1 hw.snd.verbose: 3 hw.snd.unit: 0 hw.snd.maxautovchans: 0 hw.snd.pcm0.buffersize: 16384 hw.snd.pcm0.vchans: 0 hw.snd.pcm0.spdif_enabled: 0 hw.snd.pcm1.buffersize: 0 hw.snd.pcm1.vchans: 0 >How-To-Repeat: If the sound card happens to work, reboot, it won't work anymore. See "Fix the problem if known". >Fix: I just have to use the CMI sound card, reading a MP3 or typing "cat /dev/dsp0". After that, the Santa Cruz works fine. There is no change in the kernel variables between before and after it's working. Here is /dev/sndstat when the Santa Cruz works : pcm0: at io 0xb000 irq 10 (1p/1r/0v channels duplex default) [pcm0:play:0]: spd 0, fmt 0x00000000/0x00000008, flags 00000000 interrupts 0, underruns 0, ready 0 {userland} -> feeder_root(0x00000000) -> {hardware} [pcm0:record:0]: spd 8000, fmt 0x00000008, flags 00000000 interrupts 0, overruns 0, hfree 256, sfree 131072 {hardware} -> feeder_root(0x00000008) -> {userland} pcm1: at irq 10 (1p/1r/0v channels duplex) [pcm1:record:0]: spd 0, fmt 0x00000000/0x00000008, flags 00000000 interrupts 0, overruns 0, hfree 4096, sfree 0 {hardware} -> feeder_root(0x00000000) -> {userland} [pcm1:play:0]: spd 0, fmt 0x00000000/0x00000008, flags 00000000 interrupts 0, underruns 0, ready 0 {userland} -> feeder_root(0x00000000) -> {hardware} I desactivated the CMI chip (mainboard jumper), now the Santa Cruz is pcm0, but it doen't change anything, except that I have no way of making it work. I tried playing something on a USB sound card (M-Audio Audiophile USB), that didn't 'unlock' the Santa Cruz. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 30 12:10:25 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B19616A4CE for ; Tue, 30 Dec 2003 12:10:25 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9890643D31 for ; Tue, 30 Dec 2003 12:10:20 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBUKAKFR091161 for ; Tue, 30 Dec 2003 12:10:20 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBUKAK2W091157; Tue, 30 Dec 2003 12:10:20 -0800 (PST) (envelope-from gnats) Resent-Date: Tue, 30 Dec 2003 12:10:20 -0800 (PST) Resent-Message-Id: <200312302010.hBUKAK2W091157@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Stéphane Witzmann Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0B1C16A4CE for ; Tue, 30 Dec 2003 12:05:57 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id A716A43D39 for ; Tue, 30 Dec 2003 12:05:54 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id hBUK5sdL086373 for ; Tue, 30 Dec 2003 12:05:54 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id hBUK5sc8086372; Tue, 30 Dec 2003 12:05:54 -0800 (PST) (envelope-from nobody) Message-Id: <200312302005.hBUK5sc8086372@www.freebsd.org> Date: Tue, 30 Dec 2003 12:05:54 -0800 (PST) From: Stéphane Witzmann To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.0 Subject: kern/60738: System crash with USB sound card and X X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 20:10:25 -0000 >Number: 60738 >Category: kern >Synopsis: System crash with USB sound card and X >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 30 12:10:20 PST 2003 >Closed-Date: >Last-Modified: >Originator: Stéphane Witzmann >Release: 5.1-RELEASE >Organization: (computer engineering student) >Environment: FreeBSD Wolfenstein.glandeurs.org 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Tue Dec 23 17:42:21 CET 2003 root@Wolfenstein.glandeurs.org:/usr/obj/usr/src/sys/MYKERNEL i386 /dev/sndstat : FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at irq 10 (1p/1r/0v channels duplex default) [pcm0:record:0]: spd 11025, fmt 0x00000008/0x00000010, flags 00000000 interrupts 0, overruns 0, hfree 4096, sfree 131072 {hardware} -> feeder_root(0x00000010) -> feeder_sign16le(0x00000010 -> 0x00000080) -> feeder_16leto8(0x00000080 -> 0x00000008) -> {userland} [pcm0:play:0]: spd 44100, fmt 0x10000010, flags 00000000 interrupts 0, underruns 0, ready 0 {userland} -> feeder_root(0x10000010) -> {hardware} pcm1: at addr ? (1p/0r/0v channels) [pcm1:play:0]: spd 44100, fmt 0x10000010, flags 00000000 interrupts 0, underruns 0, ready 0 {userland} -> feeder_root(0x10000010) -> {hardware} File Versions: $FreeBSD: src/sys/dev/sound/pci/ich.c,v 1.28 2003/04/16 03:16:55 mdodd Exp $ $FreeBSD: src/sys/dev/sound/pci/fm801.c,v 1.17 2003/02/20 17:31:11 cognet Exp $ $FreeBSD: src/sys/dev/sound/pci/es137x.c,v 1.43 2003/02/20 17:31:11 cognet Exp $ $FreeBSD: src/sys/dev/sound/pci/emu10k1.c,v 1.37 2003/04/20 09:07:14 obrien Exp $ $FreeBSD: src/sys/dev/sound/pci/ds1.c,v 1.32 2003/04/16 05:03:35 simokawa Exp $ $FreeBSD: src/sys/dev/sound/pci/csapcm.c,v 1.24 2003/02/20 17:31:11 cognet Exp $ $FreeBSD: src/sys/dev/sound/pci/csa.c,v 1.24 2002/07/24 21:27:22 ambrisko Exp $ $FreeBSD: src/sys/dev/sound/pci/cs4281.c,v 1.14 2003/02/20 17:31:11 cognet Exp $ $FreeBSD: src/sys/dev/sound/pci/cmi.c,v 1.20 2003/02/20 17:31:11 cognet Exp $ $FreeBSD: src/sys/dev/sound/pci/als4000.c,v 1.10 2003/02/20 17:31:11 cognet Exp $ $FreeBSD: src/sys/dev/sound/isa/sndbuf_dma.c,v 1.1 2003/02/07 14:05:33 nyan Exp $ $FreeBSD: src/sys/dev/sound/isa/sbc.c,v 1.38 2003/02/07 14:05:33 nyan Exp $ $FreeBSD: src/sys/dev/sound/isa/sb8.c,v 1.71 2003/02/07 14:05:33 nyan Exp $ $FreeBSD: src/sys/dev/sound/isa/sb16.c,v 1.78 2003/02/07 14:05:33 nyan Exp $ $FreeBSD: src/sys/dev/sound/isa/mss.c,v 1.84 2003/02/07 14:05:33 nyan Exp $ $FreeBSD: src/sys/dev/sound/isa/gusc.c,v 1.12 2001/08/23 11:30:50 cg Exp $ $FreeBSD: src/sys/dev/sound/isa/ess.c,v 1.25 2003/02/07 14:05:33 nyan Exp $ $FreeBSD: src/sys/dev/sound/isa/es1888.c,v 1.10 2003/02/08 07:05:07 nyan Exp $ $FreeBSD: src/sys/dev/sound/isa/ad1816.c,v 1.27 2003/02/07 14:05:33 nyan Exp $ $FreeBSD: src/sys/dev/sound/pcm/vchan.c,v 1.12 2003/02/19 05:47:12 imp Exp $ $FreeBSD: src/sys/dev/sound/pcm/sound.c,v 1.83 2003/02/19 05:47:12 imp Exp $ $FreeBSD: src/sys/dev/sound/pcm/sndstat.c,v 1.13 2003/03/03 12:15:46 phk Exp $ $FreeBSD: src/sys/dev/sound/pcm/mixer.c,v 1.31 2003/03/03 12:15:46 phk Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder_rate.c,v 1.10 2003/04/20 17:08:56 orion Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder_fmt.c,v 1.11 2003/04/20 17:08:56 orion Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder.c,v 1.29 2003/03/05 14:48:28 orion Exp $ $FreeBSD: src/sys/dev/sound/pcm/fake.c,v 1.12 2003/02/19 05:47:12 imp Exp $ $FreeBSD: src/sys/dev/sound/pcm/dsp.c,v 1.63 2003/05/01 16:31:21 orion Exp $ $FreeBSD: src/sys/dev/sound/pcm/channel.c,v 1.88 2003/02/26 14:38:19 orion Exp $ $FreeBSD: src/sys/dev/sound/pcm/buffer.c,v 1.19 2003/04/20 17:08:56 orion Exp $ $FreeBSD: src/sys/dev/sound/pcm/ac97_patch.c,v 1.1 2003/01/25 16:54:05 orion Exp $ $FreeBSD: src/sys/dev/sound/pcm/ac97.c,v 1.42 2003/04/23 16:49:53 jhb Exp $ $FreeBSD: src/sys/dev/sound/pci/vibes.c,v 1.12 2003/02/20 17:31:11 cognet Exp $ $FreeBSD: src/sys/dev/sound/pci/via82c686.c,v 1.24 2003/03/28 16:33:15 orion Exp $ $FreeBSD: src/sys/dev/sound/pci/via8233.c,v 1.10 2003/04/17 15:04:11 orion Exp $ $FreeBSD: src/sys/dev/sound/pci/t4dwave.c,v 1.36 2003/02/20 17:31:11 cognet Exp $ $FreeBSD: src/sys/dev/sound/pci/solo.c,v 1.25 2003/02/20 17:31:11 cognet Exp $ $FreeBSD: src/sys/dev/sound/pci/neomagic.c,v 1.27 2002/03/04 00:36:04 orion Exp $ $FreeBSD: src/sys/dev/sound/pci/maestro.c,v 1.17 2002/11/26 18:16:26 cg Exp $ hw.snd kernel variables : hw.snd.targetirqrate: 32 hw.snd.report_soft_formats: 1 hw.snd.verbose: 3 hw.snd.unit: 0 hw.snd.maxautovchans: 0 hw.snd.pcm0.buffersize: 0 hw.snd.pcm0.vchans: 0 hw.snd.pcm1.buffersize: 16384 hw.snd.pcm1.vchans: 0 >Description: When playing a MP3 (I'm using XMMS under KDE) with a M-Audio Audiophile USB [USB sound card], switching to the console then to X again, the system crashes. The system does not crash when using another (non-USB) sound card instead (a CMI chip on the mainboard which does not appear on the logs because it has been disabled since that). >How-To-Repeat: cf description >Fix: No idea. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 30 12:40:30 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE2EE16A4CE for ; Tue, 30 Dec 2003 12:40:30 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF37F43D81 for ; Tue, 30 Dec 2003 12:40:13 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBUKeDFR098391 for ; Tue, 30 Dec 2003 12:40:13 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBUKeDI4098390; Tue, 30 Dec 2003 12:40:13 -0800 (PST) (envelope-from gnats) Date: Tue, 30 Dec 2003 12:40:13 -0800 (PST) Message-Id: <200312302040.hBUKeDI4098390@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Stephen D. Bechard" Subject: Re: bin/23501: pw destroy /etc/master.passwd when pw executing at the same time X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Stephen D. Bechard" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 20:40:30 -0000 The following reply was made to PR bin/23501; it has been noted by GNATS. From: "Stephen D. Bechard" To: , Cc: Subject: Re: bin/23501: pw destroy /etc/master.passwd when pw executing at the same time Date: Tue, 30 Dec 2003 15:39:13 -0500 I was wondering if someone could please confirm that this patch was added to FreeBSD 4.9-RELEASE, as I am still seeing the same issues. Thanks, Steve From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 30 13:36:26 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 593AB16A4CE; Tue, 30 Dec 2003 13:36:26 -0800 (PST) Received: from franky.speednet.com.au (franky.speednet.com.au [203.57.65.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E4A343D3F; Tue, 30 Dec 2003 13:36:24 -0800 (PST) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (udsl-3-062.QLD.dft.com.au [202.168.108.62])hBULa8hZ036410; Wed, 31 Dec 2003 08:36:09 +1100 (EST) (envelope-from andyf@speednet.com.au) Received: from [172.22.2.33] ([172.22.2.33])hBULa48H061130; Wed, 31 Dec 2003 07:36:08 +1000 (EST) (envelope-from andyf@speednet.com.au) Date: Wed, 31 Dec 2003 07:36:03 +1000 (EST) From: Andy Farkas X-X-Sender: andyf@hewey.af.speednet.com.au To: "Stephen D. Bechard" In-Reply-To: <200312302040.hBUKeDI4098390@freefall.freebsd.org> Message-ID: <20031231072154.K60481@hewey.af.speednet.com.au> References: <200312302040.hBUKeDI4098390@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-bugs@freebsd.org cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/23501: pw destroy /etc/master.passwd when pw executing at the same time X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 21:36:26 -0000 This PR was closed for no reason. The patch was not applied. From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 30 13:40:18 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A97A916A4CE for ; Tue, 30 Dec 2003 13:40:18 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D804943D55 for ; Tue, 30 Dec 2003 13:40:17 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBULeHFR008884 for ; Tue, 30 Dec 2003 13:40:17 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBULeHve008883; Tue, 30 Dec 2003 13:40:17 -0800 (PST) (envelope-from gnats) Date: Tue, 30 Dec 2003 13:40:17 -0800 (PST) Message-Id: <200312302140.hBULeHve008883@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Andy Farkas Subject: Re: bin/23501: pw destroy /etc/master.passwd when pw executing at the same time X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andy Farkas List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 21:40:18 -0000 The following reply was made to PR bin/23501; it has been noted by GNATS. From: Andy Farkas To: "Stephen D. Bechard" Cc: freebsd-bugs@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: bin/23501: pw destroy /etc/master.passwd when pw executing at the same time Date: Wed, 31 Dec 2003 07:36:03 +1000 (EST) This PR was closed for no reason. The patch was not applied. From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 30 14:22:17 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16CAE16A4CE; Tue, 30 Dec 2003 14:22:17 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5837E43D2F; Tue, 30 Dec 2003 14:22:16 -0800 (PST) (envelope-from simon@FreeBSD.org) Received: from freefall.freebsd.org (simon@localhost [127.0.0.1]) hBUMMGFR013473; Tue, 30 Dec 2003 14:22:16 -0800 (PST) (envelope-from simon@freefall.freebsd.org) Received: (from simon@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBUMMFdx013469; Tue, 30 Dec 2003 14:22:15 -0800 (PST) (envelope-from simon) Date: Tue, 30 Dec 2003 14:22:15 -0800 (PST) From: "Simon L. Nielsen" Message-Id: <200312302222.hBUMMFdx013469@freefall.freebsd.org> To: akimoto@xephion.ne.jp, simon@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/23501: pw destroy /etc/master.passwd when pw executing at the same time X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 22:22:17 -0000 Synopsis: pw destroy /etc/master.passwd when pw executing at the same time State-Changed-From-To: closed->open State-Changed-By: simon State-Changed-When: Tue Dec 30 14:20:46 PST 2003 State-Changed-Why: Reopen PR, since users report that the problem still exists, and from looking in the cvs logs the patch in the PR has not been applied. http://www.freebsd.org/cgi/query-pr.cgi?pr=23501 From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 30 14:50:18 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E3D616A4CE for ; Tue, 30 Dec 2003 14:50:18 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3A3443D46 for ; Tue, 30 Dec 2003 14:50:17 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBUMoHFR014237 for ; Tue, 30 Dec 2003 14:50:17 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBUMoHbt014236; Tue, 30 Dec 2003 14:50:17 -0800 (PST) (envelope-from gnats) Date: Tue, 30 Dec 2003 14:50:17 -0800 (PST) Message-Id: <200312302250.hBUMoHbt014236@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: =?iso-8859-1?q?St=E9phane=20Witzmann?= Subject: Re: kern/60738: System crash with USB sound card and X X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: =?iso-8859-1?q?St=E9phane=20Witzmann?= List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 22:50:18 -0000 The following reply was made to PR kern/60738; it has been noted by GNATS. From: =?iso-8859-1?q?St=E9phane=20Witzmann?= To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: kern/60738: System crash with USB sound card and X Date: Tue, 30 Dec 2003 23:39:22 +0100 Hello I have found what causes the problem after trying 5-CURRENT. This bug doesn't happen when X does not run with nVidia drivers. So they are at fault, this isn't a bug in FreeBSD. Sorry for this one. S.W. From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 30 23:00:39 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E5A116A4CE for ; Tue, 30 Dec 2003 23:00:39 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4508443D48 for ; Tue, 30 Dec 2003 23:00:36 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBV70aFR061679 for ; Tue, 30 Dec 2003 23:00:36 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBV70aqG061678; Tue, 30 Dec 2003 23:00:36 -0800 (PST) (envelope-from gnats) Resent-Date: Tue, 30 Dec 2003 23:00:36 -0800 (PST) Resent-Message-Id: <200312310700.hBV70aqG061678@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Colin Percival Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D17816A4CE for ; Tue, 30 Dec 2003 22:52:12 -0800 (PST) Received: from fafnir.daemonology.net (h24-87-233-42.vc.shawcable.net [24.87.233.42]) by mx1.FreeBSD.org (Postfix) with SMTP id C33A743D31 for ; Tue, 30 Dec 2003 22:52:10 -0800 (PST) (envelope-from cperciva@fafnir.daemonology.net) Received: (qmail 3760 invoked by uid 0); 31 Dec 2003 06:52:19 -0000 Message-Id: <20031231065219.3759.qmail@fafnir.daemonology.net> Date: 31 Dec 2003 06:52:19 -0000 From: Colin Percival To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/60758: cycle-eating endless loop in lock(1) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Colin Percival List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 07:00:39 -0000 >Number: 60758 >Category: bin >Synopsis: cycle-eating endless loop in lock(1) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 30 23:00:35 PST 2003 >Closed-Date: >Last-Modified: >Originator: Colin Percival >Release: FreeBSD 5.2-RC2 i386 >Organization: >Environment: System: FreeBSD fafnir.daemonology.net 5.2-RC2 FreeBSD 5.2-RC2 #0: Mon Dec 22 07:23:48 GMT 2003 root@wv1u.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 >Description: If fgets(3) fails, lock(1) will enter an endless loop: write(1,0x804e000,5) ERR#5 'Input/output error' read(0x0,0x804f000,0x1000) = 0 (0x0) gettimeofday(0xbfbfe2b0,0x0) = 0 (0x0) write(1,0x804e000,31) ERR#5 'Input/output error' [repeat] >How-To-Repeat: 1. ssh into a machine 2. su 3. lock 4. (with a different terminal) kill the ssh session. su and lock will continue running, and lock will eat 100% of available cpu time. >Fix: Insert a sleep(1) call into the endless loop. This still leaves an orphan lying around, but since lock is important for security purposes, this is probably safer than exiting. --- lock.diff begins here --- Index: lock.c =================================================================== RCS file: /usr/cvs/src/usr.bin/lock/lock.c,v retrieving revision 1.17 diff -u -r1.17 lock.c --- lock.c 1 Sep 2003 04:12:18 -0000 1.17 +++ lock.c 31 Dec 2003 06:23:57 -0000 @@ -211,6 +211,7 @@ (void)printf("Key: "); if (!fgets(s, sizeof(s), stdin)) { clearerr(stdin); + sleep(1); hi(0); continue; } --- lock.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 31 04:00:35 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8767016A4CE for ; Wed, 31 Dec 2003 04:00:35 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74BFB43D4C for ; Wed, 31 Dec 2003 04:00:33 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBVC0XFR090090 for ; Wed, 31 Dec 2003 04:00:33 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBVC0Xt6090085; Wed, 31 Dec 2003 04:00:33 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 31 Dec 2003 04:00:33 -0800 (PST) Resent-Message-Id: <200312311200.hBVC0Xt6090085@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Marcin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8B4A16A4CE for ; Wed, 31 Dec 2003 03:58:35 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25B8E43D48 for ; Wed, 31 Dec 2003 03:58:35 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id hBVBwYdL058238 for ; Wed, 31 Dec 2003 03:58:34 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id hBVBwYeB058236; Wed, 31 Dec 2003 03:58:34 -0800 (PST) (envelope-from nobody) Message-Id: <200312311158.hBVBwYeB058236@www.freebsd.org> Date: Wed, 31 Dec 2003 03:58:34 -0800 (PST) From: Marcin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.0 Subject: kern/60761: sound pcm performance on emu10k1 driver X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 12:00:35 -0000 >Number: 60761 >Category: kern >Synopsis: sound pcm performance on emu10k1 driver >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 31 04:00:33 PST 2003 >Closed-Date: >Last-Modified: >Originator: Marcin >Release: 5.2-RC >Organization: >Environment: FreeBSD requiem.marilion 5.2-RC FreeBSD 5.2-RC #0: Sun Dec 21 19:20:16 CET 2003 root@requiem.marilion:/usr/obj/usr/src/sys/REQUIEM i386 >Description: It is very known problem, as I read about it in TODO. I noticed a lot of changes in dev/sound area, but the problem still exists on my machine. When I run programs that use pcm0 I see delay in reaction. >How-To-Repeat: Fix it :) It is too great system to have such errors :) >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 31 07:29:37 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DE9A16A4CE for ; Wed, 31 Dec 2003 07:29:37 -0800 (PST) Received: from gandalf.online.bg (gandalf.online.bg [217.75.128.9]) by mx1.FreeBSD.org (Postfix) with SMTP id EE4F043D5A for ; Wed, 31 Dec 2003 07:29:28 -0800 (PST) (envelope-from roam@ringlet.net) Received: (qmail 28153 invoked from network); 31 Dec 2003 15:27:27 -0000 Received: from office.casyst.com (HELO straylight.m.ringlet.net) (212.91.166.145) by gandalf.online.bg with SMTP; 31 Dec 2003 15:27:27 -0000 Received: (qmail 1175 invoked by uid 1000); 31 Dec 2003 15:30:28 -0000 Date: Wed, 31 Dec 2003 17:30:28 +0200 From: Peter Pentchev To: Chris McKenzie Message-ID: <20031231153028.GA901@straylight.m.ringlet.net> Mail-Followup-To: Chris McKenzie , Kris Kennaway , freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org References: <20031230141253.GA40702@xor.obsecurity.org> <20031230142800.GA707@straylight.m.ringlet.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2B/JsCI69OhZNC5r" Content-Disposition: inline In-Reply-To: <20031230142800.GA707@straylight.m.ringlet.net> User-Agent: Mutt/1.5.5.1i cc: freebsd-net@FreeBSD.org cc: freebsd-bugs@FreeBSD.org cc: Kris Kennaway Subject: Re: How to hard lock FreeBSD-5.1 generic with sl X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 15:29:37 -0000 --2B/JsCI69OhZNC5r Content-Type: multipart/mixed; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline --AhhlLboLdkugWU4S Content-Type: text/plain; charset=windows-1251 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 30, 2003 at 04:28:00PM +0200, Peter Pentchev wrote: > On Tue, Dec 30, 2003 at 06:12:53AM -0800, Kris Kennaway wrote: > > On Mon, Dec 29, 2003 at 06:02:45PM -0800, Chris McKenzie wrote: > > > On three machines (PII 450, P3 450, Pentium laptop 200) with FreeBSD-= 5.1 > > > generic (and specific builds) I am able to completely hard lock the s= ystem > > > by doing the following > > >=20 > > > # ifconfig ppp0 create > > > # ifconfig sl0 create > > >=20 > > > Heh . . . that shouldn't happen. > >=20 > > Does the problem persist with 5.2? >=20 > I just tested in on a 5.2-CURRENT as of today, and yes, the system > locked up solid - no ddb, no anything. I'll try to do some more testing > as time permits. [cc'd to -net for a pre-commit review / discussion] OK, I think I've found the problem. The if_clone_attach() routine in src/sys/net/if.c blindly adds the new cloned interface to the if_cloners list without checking if it is already on the list. This, understandably, leads to problems when trying to attach an interface that already exists - such as a ppp interface. The if_ppp code adds itself to the if_cloners list at the module loading stage. Thus, the very first invocation of ifconfig ppp0 create adds the ppp_cloner structure to the list *again* - and creates a loop on the list. Any attempts to traverse the list later lead to lock-ups. Attached is a patch that does two things: first, only adds the interface to the list if it is not already there (the second and third chunks, at lines 812 and 827 of if.c), and second, adds a if_check_cloners_loop() routine to traverse the if_cloners list and panic if a loop is found. The if_check_cloners_loop() invocations could be protected by INVARIANTS, KASSERT, or WITNESS, but it sure helps find such problems :) Chris, could you try this patch and see if it helps in your situation? And.. happy New Year, everyone! (albeit a little early :) G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@sbnd.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 I am not the subject of this sentence. --AhhlLboLdkugWU4S Content-Type: text/plain; charset=windows-1251 Content-Disposition: attachment; filename="cloners-loop.patch" Content-Transfer-Encoding: quoted-printable Index: src/sys/net/if.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/sys/net/if.c,v retrieving revision 1.174 diff -u -r1.174 if.c --- src/sys/net/if.c 26 Dec 2003 18:09:35 -0000 1.174 +++ src/sys/net/if.c 31 Dec 2003 15:15:25 -0000 @@ -762,6 +762,32 @@ } =20 /* + * Check the if_cloners list for loops. + */ +static void +if_check_cloners_loop(void) +{ + struct if_clone *ifc, *ifcn, *ifct; + + for (ifc =3D LIST_FIRST(&if_cloners); ifc !=3D NULL; ) { + ifcn =3D LIST_NEXT(ifc, ifc_list); + if (ifcn =3D=3D NULL) + return; + if (ifcn =3D=3D ifc) + panic( + "cloners loop to self for %p / %s", + ifc, ifc->ifc_name); + for (ifct =3D LIST_FIRST(&if_cloners); ifct !=3D ifc; + ifct =3D LIST_NEXT(ifct, ifc_list)) + if (ifct =3D=3D ifcn) + panic( + "cloners loop from %p / %s to %p / %s", + ifc, ifc->ifc_name, ifct, ifct->ifc_name); + ifc =3D ifcn; + } +} + +/* * Look up a network interface cloner. */ static struct if_clone * @@ -771,6 +797,7 @@ const char *cp; int i; =20 + if_check_cloners_loop(); for (ifc =3D LIST_FIRST(&if_cloners); ifc !=3D NULL;) { for (cp =3D name, i =3D 0; i < ifc->ifc_namelen; i++, cp++) { if (ifc->ifc_name[i] !=3D *cp) @@ -812,6 +839,8 @@ int err; int len, maxclone; int unit; + int found; + struct if_clone *ift; =20 KASSERT(ifc->ifc_minifs - 1 <=3D ifc->ifc_maxunit, ("%s: %s requested more units then allowed (%d > %d)", @@ -827,8 +856,19 @@ ifc->ifc_units =3D malloc(len, M_CLONE, M_WAITOK | M_ZERO); ifc->ifc_bmlen =3D len; =20 - LIST_INSERT_HEAD(&if_cloners, ifc, ifc_list); - if_cloners_count++; + if_check_cloners_loop(); + found =3D 0; + LIST_FOREACH(ift, &if_cloners, ifc_list) { + if (ift =3D=3D ifc) { + found =3D 1; + break; + } + } + if (!found) { + LIST_INSERT_HEAD(&if_cloners, ifc, ifc_list); + if_cloners_count++; + if_check_cloners_loop(); + } =20 for (unit =3D 0; unit < ifc->ifc_minifs; unit++) { err =3D (*ifc->ifc_create)(ifc, unit); @@ -840,7 +880,9 @@ bytoff =3D unit >> 3; bitoff =3D unit - (bytoff << 3); ifc->ifc_units[bytoff] |=3D (1 << bitoff); + if_check_cloners_loop(); } + if_check_cloners_loop(); } =20 /* @@ -853,6 +895,7 @@ LIST_REMOVE(ifc, ifc_list); free(ifc->ifc_units, M_CLONE); if_cloners_count--; + if_check_cloners_loop(); } =20 /* @@ -877,6 +920,7 @@ count =3D (if_cloners_count < ifcr->ifcr_count) ? if_cloners_count : ifcr->ifcr_count; =20 + if_check_cloners_loop(); for (ifc =3D LIST_FIRST(&if_cloners); ifc !=3D NULL && count !=3D 0; ifc =3D LIST_NEXT(ifc, ifc_list), count--, dst +=3D IFNAMSIZ) { strlcpy(outbuf, ifc->ifc_name, IFNAMSIZ); --AhhlLboLdkugWU4S-- --2B/JsCI69OhZNC5r Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQE/8uuU7Ri2jRYZRVMRAjmnAKCBRoQ0ppxBgaLLtRqhQAPiXROOBgCgjBus DMWqmZtFMV+xJ6ysUMut2cs= =j7V8 -----END PGP SIGNATURE----- --2B/JsCI69OhZNC5r-- From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 31 08:08:01 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90AA116A4CE; Wed, 31 Dec 2003 08:08:01 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBB6B43D46; Wed, 31 Dec 2003 08:08:00 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from freefall.freebsd.org (jhb@localhost [127.0.0.1]) hBVG80FR086122; Wed, 31 Dec 2003 08:08:00 -0800 (PST) (envelope-from jhb@freefall.freebsd.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBVG80rn086118; Wed, 31 Dec 2003 08:08:00 -0800 (PST) (envelope-from jhb) Date: Wed, 31 Dec 2003 08:08:00 -0800 (PST) From: John Baldwin Message-Id: <200312311608.hBVG80rn086118@freefall.freebsd.org> To: glennpj@charter.net, jhb@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: misc/55945: Typo in share/misc/pci_vendors file X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 16:08:01 -0000 Synopsis: Typo in share/misc/pci_vendors file State-Changed-From-To: open->closed State-Changed-By: jhb State-Changed-When: Wed Dec 31 08:06:28 PST 2003 State-Changed-Why: The pci_vendors file is machine generated from a data file from a couple of websites. The latest version does not have the typo's listed in this PR. http://www.freebsd.org/cgi/query-pr.cgi?pr=55945 From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 31 08:10:14 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF78A16A4CE for ; Wed, 31 Dec 2003 08:10:14 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE6B443D49 for ; Wed, 31 Dec 2003 08:10:13 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBVGADFR086342 for ; Wed, 31 Dec 2003 08:10:13 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBVGADAA086341; Wed, 31 Dec 2003 08:10:13 -0800 (PST) (envelope-from gnats) Date: Wed, 31 Dec 2003 08:10:13 -0800 (PST) Message-Id: <200312311610.hBVGADAA086341@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: John Baldwin Subject: Re: kern/38894: Dell PowerEdge 4600 PCI Bus scan problems X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John Baldwin List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 16:10:14 -0000 The following reply was made to PR kern/38894; it has been noted by GNATS. From: John Baldwin To: freebsd-gnats-submit@FreeBSD.org, dap@damon.com Cc: Subject: Re: kern/38894: Dell PowerEdge 4600 PCI Bus scan problems Date: Wed, 31 Dec 2003 11:03:11 -0500 Does current work on this box? Current does treat 0x00111166 device id as a serverworks host-pci bridge. It looks like -stable might still need to add that device id however. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 31 09:29:25 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75EA516A4CE; Wed, 31 Dec 2003 09:29:25 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C7D843D2F; Wed, 31 Dec 2003 09:29:24 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from freefall.freebsd.org (jhb@localhost [127.0.0.1]) hBVHTOFR095132; Wed, 31 Dec 2003 09:29:24 -0800 (PST) (envelope-from jhb@freefall.freebsd.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBVHTOtR095128; Wed, 31 Dec 2003 09:29:24 -0800 (PST) (envelope-from jhb) Date: Wed, 31 Dec 2003 09:29:24 -0800 (PST) From: John Baldwin Message-Id: <200312311729.hBVHTOtR095128@freefall.freebsd.org> To: fr.laissus@laissus.fr, jhb@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/41555: Add support of VScom titan PCI-800L X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 17:29:25 -0000 Synopsis: Add support of VScom titan PCI-800L State-Changed-From-To: open->closed State-Changed-By: jhb State-Changed-When: Wed Dec 31 09:28:59 PST 2003 State-Changed-Why: Support was already present in current and was just MFC'd to stable. http://www.freebsd.org/cgi/query-pr.cgi?pr=41555 From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 31 09:40:19 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B4B716A4CE for ; Wed, 31 Dec 2003 09:40:19 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8164943D1D for ; Wed, 31 Dec 2003 09:40:18 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBVHeIFR095587 for ; Wed, 31 Dec 2003 09:40:18 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBVHeIYV095586; Wed, 31 Dec 2003 09:40:18 -0800 (PST) (envelope-from gnats) Date: Wed, 31 Dec 2003 09:40:18 -0800 (PST) Message-Id: <200312311740.hBVHeIYV095586@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: John Baldwin Subject: Re: kern/44215: PUC driver support for Moxa C320 Intellio/PCI X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John Baldwin List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 17:40:19 -0000 The following reply was made to PR kern/44215; it has been noted by GNATS. From: John Baldwin To: freebsd-gnats-submit@FreeBSD.org, dl@leo.org Cc: Subject: Re: kern/44215: PUC driver support for Moxa C320 Intellio/PCI Date: Wed, 31 Dec 2003 12:34:20 -0500 Can you provide the verbose boot dmesg output? It may be that the 0x18 number needs to be 0x14 or 0x10 instead and the dmesg output can help determine that. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 31 09:40:21 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D752E16A4CE for ; Wed, 31 Dec 2003 09:40:21 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E80243D2D for ; Wed, 31 Dec 2003 09:40:21 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBVHeKFR095596 for ; Wed, 31 Dec 2003 09:40:20 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBVHeKpm095595; Wed, 31 Dec 2003 09:40:20 -0800 (PST) (envelope-from gnats) Date: Wed, 31 Dec 2003 09:40:20 -0800 (PST) Message-Id: <200312311740.hBVHeKpm095595@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: John Baldwin Subject: Re: kern/44439: puc doesn't find all 4 ports on SIIG Cyber 4S PCI 16C650 (20x family) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John Baldwin List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 17:40:22 -0000 The following reply was made to PR kern/44439; it has been noted by GNATS. From: John Baldwin To: freebsd-gnats-submit@FreeBSD.org, greg@codeconcepts.com Cc: Subject: Re: kern/44439: puc doesn't find all 4 ports on SIIG Cyber 4S PCI 16C650 (20x family) Date: Wed, 31 Dec 2003 12:36:52 -0500 Can you provide a verbose dmesg from boot -v? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 31 09:44:23 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A873D16A4CE; Wed, 31 Dec 2003 09:44:23 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA36443D31; Wed, 31 Dec 2003 09:44:22 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from freefall.freebsd.org (jhb@localhost [127.0.0.1]) hBVHiMFR095889; Wed, 31 Dec 2003 09:44:22 -0800 (PST) (envelope-from jhb@freefall.freebsd.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBVHiMF2095885; Wed, 31 Dec 2003 09:44:22 -0800 (PST) (envelope-from jhb) Date: Wed, 31 Dec 2003 09:44:22 -0800 (PST) From: John Baldwin Message-Id: <200312311744.hBVHiMF2095885@freefall.freebsd.org> To: avz@elserv.msk.su, jhb@FreeBSD.org, freebsd-bugs@FreeBSD.org, jhb@FreeBSD.org Subject: Re: kern/45285: Support for yet another PCI multiport card X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 17:44:23 -0000 Synopsis: Support for yet another PCI multiport card State-Changed-From-To: open->feedback State-Changed-By: jhb State-Changed-When: Wed Dec 31 09:43:46 PST 2003 State-Changed-Why: I'll take this one. Smaller patch sent to originator for testing. Responsible-Changed-From-To: freebsd-bugs->jhb Responsible-Changed-By: jhb Responsible-Changed-When: Wed Dec 31 09:43:46 PST 2003 Responsible-Changed-Why: I'll take this one. Smaller patch sent to originator for testing. http://www.freebsd.org/cgi/query-pr.cgi?pr=45285 From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 31 09:44:59 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36B1816A4CE; Wed, 31 Dec 2003 09:44:59 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DAC543D4C; Wed, 31 Dec 2003 09:44:58 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from freefall.freebsd.org (jhb@localhost [127.0.0.1]) hBVHiwFR095937; Wed, 31 Dec 2003 09:44:58 -0800 (PST) (envelope-from jhb@freefall.freebsd.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBVHitIK095933; Wed, 31 Dec 2003 09:44:55 -0800 (PST) (envelope-from jhb) Date: Wed, 31 Dec 2003 09:44:55 -0800 (PST) From: John Baldwin Message-Id: <200312311744.hBVHitIK095933@freefall.freebsd.org> To: dl@leo.org, jhb@FreeBSD.org, freebsd-bugs@FreeBSD.org, jhb@FreeBSD.org Subject: Re: kern/44215: PUC driver support for Moxa C320 Intellio/PCI X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 17:44:59 -0000 Synopsis: PUC driver support for Moxa C320 Intellio/PCI State-Changed-From-To: open->feedback State-Changed-By: jhb State-Changed-When: Wed Dec 31 09:44:35 PST 2003 State-Changed-Why: I'll take this one. Responsible-Changed-From-To: freebsd-bugs->jhb Responsible-Changed-By: jhb Responsible-Changed-When: Wed Dec 31 09:44:35 PST 2003 Responsible-Changed-Why: I'll take this one. http://www.freebsd.org/cgi/query-pr.cgi?pr=44215 From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 31 09:45:30 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45B4516A4CF; Wed, 31 Dec 2003 09:45:30 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE65743D54; Wed, 31 Dec 2003 09:45:25 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from freefall.freebsd.org (jhb@localhost [127.0.0.1]) hBVHjPFR095999; Wed, 31 Dec 2003 09:45:25 -0800 (PST) (envelope-from jhb@freefall.freebsd.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBVHjNUn095992; Wed, 31 Dec 2003 09:45:23 -0800 (PST) (envelope-from jhb) Date: Wed, 31 Dec 2003 09:45:23 -0800 (PST) From: John Baldwin Message-Id: <200312311745.hBVHjNUn095992@freefall.freebsd.org> To: greg@codeconcepts.com, jhb@FreeBSD.org, freebsd-bugs@FreeBSD.org, jhb@FreeBSD.org Subject: Re: kern/44439: puc doesn't find all 4 ports on SIIG Cyber 4S PCI 16C650 (20x family) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 17:45:30 -0000 Synopsis: puc doesn't find all 4 ports on SIIG Cyber 4S PCI 16C650 (20x family) State-Changed-From-To: open->feedback State-Changed-By: jhb State-Changed-When: Wed Dec 31 09:45:07 PST 2003 State-Changed-Why: I'll take this one. Responsible-Changed-From-To: freebsd-bugs->jhb Responsible-Changed-By: jhb Responsible-Changed-When: Wed Dec 31 09:45:07 PST 2003 Responsible-Changed-Why: I'll take this one. http://www.freebsd.org/cgi/query-pr.cgi?pr=44439 From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 31 09:51:52 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBA5316A4CF; Wed, 31 Dec 2003 09:51:52 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A44943D1D; Wed, 31 Dec 2003 09:51:52 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from freefall.freebsd.org (jhb@localhost [127.0.0.1]) hBVHpqFR096222; Wed, 31 Dec 2003 09:51:52 -0800 (PST) (envelope-from jhb@freefall.freebsd.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBVHppb5096218; Wed, 31 Dec 2003 09:51:51 -0800 (PST) (envelope-from jhb) Date: Wed, 31 Dec 2003 09:51:51 -0800 (PST) From: John Baldwin Message-Id: <200312311751.hBVHppb5096218@freefall.freebsd.org> To: yeasah@apocalypse.org, jhb@FreeBSD.org, freebsd-bugs@FreeBSD.org, jhb@FreeBSD.org Subject: Re: kern/55159: [patch] puc support for SUN1889 PCI serial card X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 17:51:53 -0000 Synopsis: [patch] puc support for SUN1889 PCI serial card State-Changed-From-To: open->patched State-Changed-By: jhb State-Changed-When: Wed Dec 31 09:51:30 PST 2003 State-Changed-Why: Committed to current, will MFC in a week or so. Thanks! Responsible-Changed-From-To: freebsd-bugs->jhb Responsible-Changed-By: jhb Responsible-Changed-When: Wed Dec 31 09:51:30 PST 2003 Responsible-Changed-Why: Committed to current, will MFC in a week or so. Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=55159 From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 31 10:27:42 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C020016A4CE; Wed, 31 Dec 2003 10:27:42 -0800 (PST) Received: from veni.ucdavis.edu (veni.ucdavis.edu [169.237.105.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AD4E43D1D; Wed, 31 Dec 2003 10:27:38 -0800 (PST) (envelope-from cjmckenzie@ucdavis.edu) Received: from localhost (localhost [127.0.0.1])hBVIRaY4001177; Wed, 31 Dec 2003 10:27:37 -0800 (PST) Date: Wed, 31 Dec 2003 10:27:36 -0800 (PST) From: Chris McKenzie X-X-Sender: cjm@veni.ucdavis.edu To: Peter Pentchev In-Reply-To: <20031231153028.GA901@straylight.m.ringlet.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@FreeBSD.org cc: freebsd-bugs@FreeBSD.org cc: Chris McKenzie cc: Kris Kennaway Subject: Re: How to hard lock FreeBSD-5.1 generic with sl X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 18:27:42 -0000 I will gladly do so. HOWEVER, it also appears that sl itself is not working. I get a ifconfig: SIOCIFCREATE: Invalid argument if I just try #ifconfig sl0 create. If I do a #slattach -s 115200 -l /dev/cuaa1 Then a ifconfig sl0 create . . . I get the same problem. It is _also_ worth noting that SL(4) is out of date and does not pertain to the 5.x series. This problem persists independent of how I have configured my kernel (since I have tried a few different configurations) and the system it is running on. However, I will definitely do the patch and see what happens from there. On Wed, 31 Dec 2003, Peter Pentchev wrote: > On Tue, Dec 30, 2003 at 04:28:00PM +0200, Peter Pentchev wrote: > > On Tue, Dec 30, 2003 at 06:12:53AM -0800, Kris Kennaway wrote: > > > On Mon, Dec 29, 2003 at 06:02:45PM -0800, Chris McKenzie wrote: > > > > On three machines (PII 450, P3 450, Pentium laptop 200) with FreeBSD-5.1 > > > > generic (and specific builds) I am able to completely hard lock the system > > > > by doing the following > > > > > > > > # ifconfig ppp0 create > > > > # ifconfig sl0 create > > > > > > > > Heh . . . that shouldn't happen. > > > > > > Does the problem persist with 5.2? > > > > I just tested in on a 5.2-CURRENT as of today, and yes, the system > > locked up solid - no ddb, no anything. I'll try to do some more testing > > as time permits. > > [cc'd to -net for a pre-commit review / discussion] > > OK, I think I've found the problem. The if_clone_attach() routine in > src/sys/net/if.c blindly adds the new cloned interface to the if_cloners > list without checking if it is already on the list. This, > understandably, leads to problems when trying to attach an interface > that already exists - such as a ppp interface. > > The if_ppp code adds itself to the if_cloners list at the module > loading stage. Thus, the very first invocation of ifconfig ppp0 create > adds the ppp_cloner structure to the list *again* - and creates a loop > on the list. Any attempts to traverse the list later lead to lock-ups. > > Attached is a patch that does two things: first, only adds the interface > to the list if it is not already there (the second and third chunks, at > lines 812 and 827 of if.c), and second, adds a if_check_cloners_loop() > routine to traverse the if_cloners list and panic if a loop is found. > The if_check_cloners_loop() invocations could be protected by > INVARIANTS, KASSERT, or WITNESS, but it sure helps find such problems :) > > Chris, could you try this patch and see if it helps in your situation? > > And.. happy New Year, everyone! (albeit a little early :) > > G'luck, > Peter > > -- > Peter Pentchev roam@ringlet.net roam@sbnd.net roam@FreeBSD.org > PGP key: http://people.FreeBSD.org/~roam/roam.key.asc > Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 > I am not the subject of this sentence. > Sincerely, Christopher J. McKenzie cjm@ucdavis.edu From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 31 17:20:15 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9722F16A4CE for ; Wed, 31 Dec 2003 17:20:15 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98BF243D31 for ; Wed, 31 Dec 2003 17:20:11 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i011KBFR032624 for ; Wed, 31 Dec 2003 17:20:11 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i011KBIM032623; Wed, 31 Dec 2003 17:20:11 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 31 Dec 2003 17:20:11 -0800 (PST) Resent-Message-Id: <200401010120.i011KBIM032623@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Lucas Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF35816A4CE for ; Wed, 31 Dec 2003 17:18:07 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1DF343D31 for ; Wed, 31 Dec 2003 17:18:06 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i011I6dL000352 for ; Wed, 31 Dec 2003 17:18:06 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id i011I6vA000351; Wed, 31 Dec 2003 17:18:06 -0800 (PST) (envelope-from nobody) Message-Id: <200401010118.i011I6vA000351@www.freebsd.org> Date: Wed, 31 Dec 2003 17:18:06 -0800 (PST) From: Lucas To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.0 Subject: misc/60773: anoncvs.FreeBSD.org keeps returning End-Of-File X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 01:20:15 -0000 >Number: 60773 >Category: misc >Synopsis: anoncvs.FreeBSD.org keeps returning End-Of-File >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 Dec 31 17:20:10 PST 2003 >Closed-Date: >Last-Modified: >Originator: Lucas >Release: N/A >Organization: N/A >Environment: N/A >Description: anoncvs.FreeBSD.org keeps returning EOF when I try to checkout or release modules. This problem is intermittent. Exact error messages: --snip-- Lucas@your-xu5v9frokn ~ $ cvs -z3 co -r HEAD kld_ipfilter cvs [checkout aborted]: end of file from server (consult above messages if any) Lucas@your-xu5v9frokn ~ $ cvs -z3 co -r HEAD kld_ipfilter cvs [checkout aborted]: end of file from server (consult above messages if any) Lucas@your-xu5v9frokn ~ $ cvs -z3 co -r HEAD kld_ipfilter cvs [checkout aborted]: end of file from server (consult above messages if any) Lucas@your-xu5v9frokn ~ $ cvs -z3 co -r HEAD kld_ipfilter cvs [checkout aborted]: end of file from server (consult above messages if any) Lucas@your-xu5v9frokn ~ $ cvs release -d kld_ispfw cvs [release aborted]: end of file from server (consult above messages if any) Lucas@your-xu5v9frokn ~ $ cvs release -d kld_ispfw cvs [release aborted]: end of file from server (consult above messages if any) --snip-- --snip-- Lucas@your-xu5v9frokn ~ $ cvs release -d kld_ipfw cvs [release aborted]: end of file from server (consult above messages if any) Lucas@your-xu5v9frokn ~ $ cvs release -d kld_ipfw cvs [release aborted]: end of file from server (consult above messages if any) Lucas@your-xu5v9frokn ~ $ cvs release -d kld_ipfw cvs [release aborted]: end of file from server (consult above messages if any) Lucas@your-xu5v9frokn ~ $ cvs release -d kld_ipfw cvs [release aborted]: end of file from server (consult above messages if any) Lucas@your-xu5v9frokn ~ $ cvs release -d kld_ipfw cvs [release aborted]: end of file from server (consult above messages if any) Lucas@your-xu5v9frokn ~ $ cvs release -d kld_ipfw cvs [release aborted]: end of file from server (consult above messages if any) Lucas@your-xu5v9frokn ~ $ cvs release -d kld_ipfw cvs [release aborted]: end of file from server (consult above messages if any) Lucas@your-xu5v9frokn ~ $ cvs release -d kld_ipfw cvs [release aborted]: end of file from server (consult above messages if any) Lucas@your-xu5v9frokn ~ $ cvs release -d kld_ipfw cvs [release aborted]: end of file from server (consult above messages if any) Lucas@your-xu5v9frokn ~ $ cvs release -d kld_ipfw cvs [release aborted]: end of file from server (consult above messages if any) --snip-- What in the world is going on with AnonCVS? >How-To-Repeat: Checkout or release modules "kld_ipfw", "kld_ispfw", or "kld_ipfirewall" from anoncvs.FreeBSD.org. >Fix: I have no idea. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 31 20:50:21 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B9F116A4CE for ; Wed, 31 Dec 2003 20:50:21 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9BA243D53 for ; Wed, 31 Dec 2003 20:50:18 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i014oIFR046962 for ; Wed, 31 Dec 2003 20:50:18 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i014oIkp046961; Wed, 31 Dec 2003 20:50:18 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 31 Dec 2003 20:50:18 -0800 (PST) Resent-Message-Id: <200401010450.i014oIkp046961@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Lucas Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F5C416A4CE for ; Wed, 31 Dec 2003 20:49:53 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id A76EE43D3F for ; Wed, 31 Dec 2003 20:49:52 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i014nqdL051969 for ; Wed, 31 Dec 2003 20:49:52 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id i014nq4K051968; Wed, 31 Dec 2003 20:49:52 -0800 (PST) (envelope-from nobody) Message-Id: <200401010449.i014nq4K051968@www.freebsd.org> Date: Wed, 31 Dec 2003 20:49:52 -0800 (PST) From: Lucas To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.0 Subject: misc/60780: chastise: security hole? X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 04:50:21 -0000 >Number: 60780 >Category: misc >Synopsis: chastise: security hole? >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 31 20:50:18 PST 2003 >Closed-Date: >Last-Modified: >Originator: Lucas >Release: N/A >Organization: N/A >Environment: N/A >Description: Chastise, if called from within an infinite loop, could cause a user's home to be destroyed. This could possibly be exploited by a malicious user. >How-To-Repeat: Will be posted in a follow-up (hopefully). >Fix: Fix is not known at this time >Release-Note: >Audit-Trail: >Unformatted: