From owner-freebsd-hackers@FreeBSD.ORG Sun May 14 06:30:16 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12C1116A401 for ; Sun, 14 May 2006 06:30:15 +0000 (UTC) (envelope-from oxy@field.hu) Received: from green.field.hu (green.field.hu [217.20.130.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D21243D46 for ; Sun, 14 May 2006 06:30:15 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (green.field.hu [217.20.130.28]) by green.field.hu (Postfix) with ESMTP id 6386E119CCF for ; Sun, 14 May 2006 08:29:01 +0200 (CEST) X-Virus-Scanned: by Amavisd-new (Spamassassin+Razor2+Pyzor+DCC+Bayes db, Clamd Antivirus) at field.hu Received: from green.field.hu ([217.20.130.28]) by localhost (green.field.hu [217.20.130.28]) (amavisd-new, port 10024) with ESMTP id lpJJR34n+d9M for ; Sun, 14 May 2006 08:29:01 +0200 (CEST) Received: from oxy (dsl217-197-176-208.pool.tvnet.hu [217.197.176.208]) by green.field.hu (Postfix) with ESMTP id B9CD7119CA2 for ; Sun, 14 May 2006 08:29:00 +0200 (CEST) Message-ID: <000801c6771f$dc108700$0201a8c0@oxy> From: "OxY" To: Date: Sun, 14 May 2006 08:30:14 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: make installworld problem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 06:30:16 -0000 hi! i just wanted to upgrade one of my servers to 6.1-release, used cvsup to fetch 6.1-rel, then=20 make buildworld make buildkernel reboot mergemaster -p make installworld but when i start make installworld i got error... i tried to delete the whole /usr/obj and did a make buildworld again, = didn't helped.. dunno what's the matter, on other machines this problem doesn't appear.. here's the error log: seismic-10 root# make installworld mkdir -p /tmp/install.MXqa872H for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find = grep install-info ln lockf make mkdir mtree mv pwd_mkdb rm sed sh = sysctl test true uname wc zic; do cp `which $prog` = /tmp/install.MXqa872H; done cd /usr/src; MAKEOBJDIRPREFIX=3D/usr/obj MACHINE_ARCH=3Di386 = MACHINE=3Di386 CPUTYPE=3D = GROFF_BIN_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/bin = GROFF_FONT_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/groff_font = GROFF_TMAC_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/tmac = PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/u= sr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbi= n:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/instal= l.MXqa872H make -f Makefile.inc1 reinstall make: Permission denied *** Error code 126 Stop in /usr/src. *** Error code 1 Stop in /usr/src. From owner-freebsd-hackers@FreeBSD.ORG Sun May 14 06:35:54 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84A6816A400 for ; Sun, 14 May 2006 06:35:54 +0000 (UTC) (envelope-from oxy@field.hu) Received: from green.field.hu (green.field.hu [217.20.130.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91BD043D4C for ; Sun, 14 May 2006 06:35:53 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (green.field.hu [217.20.130.28]) by green.field.hu (Postfix) with ESMTP id 373D2119CCF for ; Sun, 14 May 2006 08:34:41 +0200 (CEST) X-Virus-Scanned: by Amavisd-new (Spamassassin+Razor2+Pyzor+DCC+Bayes db, Clamd Antivirus) at field.hu Received: from green.field.hu ([217.20.130.28]) by localhost (green.field.hu [217.20.130.28]) (amavisd-new, port 10024) with ESMTP id 2NmDehPMUNEk for ; Sun, 14 May 2006 08:34:41 +0200 (CEST) Received: from oxy (dsl217-197-176-208.pool.tvnet.hu [217.197.176.208]) by green.field.hu (Postfix) with ESMTP id D75F5119CA2 for ; Sun, 14 May 2006 08:34:40 +0200 (CEST) Message-ID: <000601c67720$a6d2a7c0$0201a8c0@oxy> From: "OxY" To: References: <000801c6771f$dc108700$0201a8c0@oxy> Date: Sun, 14 May 2006 08:35:54 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Subject: Re: make installworld problem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 06:35:54 -0000 sorry, i forgot two things: 1,my version was 6.0-release before 2,after buildkernel i did make installkernel of course and rebooted with the new kernel ----- Original Message ----- From: "OxY" To: Sent: Sunday, May 14, 2006 8:30 AM Subject: make installworld problem hi! i just wanted to upgrade one of my servers to 6.1-release, used cvsup to fetch 6.1-rel, then make buildworld make buildkernel reboot mergemaster -p make installworld but when i start make installworld i got error... i tried to delete the whole /usr/obj and did a make buildworld again, didn't helped.. dunno what's the matter, on other machines this problem doesn't appear.. here's the error log: seismic-10 root# make installworld mkdir -p /tmp/install.MXqa872H for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find grep install-info ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.MXqa872H; done cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.MXqa872H make -f Makefile.inc1 reinstall make: Permission denied *** Error code 126 Stop in /usr/src. *** Error code 1 Stop in /usr/src. _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Sun May 14 06:42:42 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F14516A40A for ; Sun, 14 May 2006 06:42:42 +0000 (UTC) (envelope-from oxy@field.hu) Received: from green.field.hu (green.field.hu [217.20.130.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 025C843D45 for ; Sun, 14 May 2006 06:42:41 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (green.field.hu [217.20.130.28]) by green.field.hu (Postfix) with ESMTP id 64BE0119CDD for ; Sun, 14 May 2006 08:41:29 +0200 (CEST) X-Virus-Scanned: by Amavisd-new (Spamassassin+Razor2+Pyzor+DCC+Bayes db, Clamd Antivirus) at field.hu Received: from green.field.hu ([217.20.130.28]) by localhost (green.field.hu [217.20.130.28]) (amavisd-new, port 10024) with ESMTP id WBZyJs8Zjn4Y for ; Sun, 14 May 2006 08:41:29 +0200 (CEST) Received: from oxy (dsl217-197-176-208.pool.tvnet.hu [217.197.176.208]) by green.field.hu (Postfix) with ESMTP id 207EC119CA2 for ; Sun, 14 May 2006 08:41:29 +0200 (CEST) Message-ID: <000d01c67721$9a2b1a60$0201a8c0@oxy> From: "OxY" To: References: <000801c6771f$dc108700$0201a8c0@oxy> <6aa237460605132340i7cd81af1ofdc83e717a773e9f@mail.gmail.com> Date: Sun, 14 May 2006 08:42:42 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Subject: Re: make installworld problem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 06:42:49 -0000 noexec was the problem, thanks! ----- Original Message ----- From: "whistles" <4whistles@gmail.com> To: "OxY" Sent: Sunday, May 14, 2006 8:40 AM Subject: Re: make installworld problem > On 5/13/06, OxY wrote: >> hi! >> >> i just wanted to upgrade one of my servers to 6.1-release, used cvsup to >> fetch 6.1-rel, then >> make buildworld >> make buildkernel >> reboot >> mergemaster -p >> make installworld >> >> but when i start make installworld i got error... >> i tried to delete the whole /usr/obj and did a make buildworld again, >> didn't helped.. >> dunno what's the matter, on other machines this problem doesn't appear.. >> >> here's the error log: >> >> seismic-10 root# make installworld >> mkdir -p /tmp/install.MXqa872H >> for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find >> grep install-info ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl >> test true uname wc zic; do cp `which $prog` /tmp/install.MXqa872H; done >> cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 >> CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin >> GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font >> GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac >> PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.MXqa872H >> make -f Makefile.inc1 reinstall >> make: Permission denied >> *** Error code 126 >> >> Stop in /usr/src. >> *** Error code 1 >> >> Stop in /usr/src. >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to >> "freebsd-hackers-unsubscribe@freebsd.org" >> > > Your /tmp has noexec set in fstab , ya might want to throw make > installkernel KERNCONF=FOO before the reboot also. > From owner-freebsd-hackers@FreeBSD.ORG Sun May 14 10:05:16 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CD3816A401 for ; Sun, 14 May 2006 10:05:16 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7EFF43D46 for ; Sun, 14 May 2006 10:05:15 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout1.cac.washington.edu (8.13.6+UW06.03/8.13.6+UW06.03) with ESMTP id k4EA5Fti008904 for ; Sun, 14 May 2006 03:05:15 -0700 X-Auth-Received: from [192.168.0.50] (dsl254-013-145.sea1.dsl.speakeasy.net [216.254.13.145]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.6+UW06.03/8.13.6+UW06.03) with ESMTP id k4EA55dd024429 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 14 May 2006 03:05:13 -0700 Message-ID: <446700D5.7020604@u.washington.edu> Date: Sun, 14 May 2006 03:05:09 -0700 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Good kernel developers book/manual available? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 10:05:16 -0000 Hello, I was wondering if there was any particular technical book or manual available that anyone would suggest for describing the FreeBSD kernel, as I have recently picked up a Linux 2.6 kernel book and I want to obtain a more holistic scope of the proper way to code an operating system kernel as well as code for a system kernel, as opposed to just one set of dogmatic approaches for doing it from Linus/the authors. I prefer printed media compared to online media, but either-or would be extremely helpful. Thank you for your help, -Garrett From owner-freebsd-hackers@FreeBSD.ORG Sun May 14 10:08:46 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14FD016A44A for ; Sun, 14 May 2006 10:08:46 +0000 (UTC) (envelope-from joel@FreeBSD.org) Received: from av10-2-sn2.hy.skanova.net (av10-2-sn2.hy.skanova.net [81.228.8.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6A9543D68 for ; Sun, 14 May 2006 10:08:43 +0000 (GMT) (envelope-from joel@FreeBSD.org) Received: by av10-2-sn2.hy.skanova.net (Postfix, from userid 502) id 202533F454; Sun, 14 May 2006 12:08:43 +0200 (CEST) Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av10-2-sn2.hy.skanova.net (Postfix) with ESMTP id 0C34B3F454; Sun, 14 May 2006 12:08:43 +0200 (CEST) Received: from 62-20-235-133-no21.tbcn.telia.com (62-20-235-133-no21.tbcn.telia.com [62.20.235.133]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id DFFC137E4E; Sun, 14 May 2006 12:08:42 +0200 (CEST) From: Joel Dahl To: Garrett Cooper In-Reply-To: <446700D5.7020604@u.washington.edu> References: <446700D5.7020604@u.washington.edu> Content-Type: text/plain Date: Sun, 14 May 2006 12:08:51 +0200 Message-Id: <1147601331.674.9.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Good kernel developers book/manual available? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 10:08:46 -0000 On Sun, 2006-05-14 at 03:05 -0700, Garrett Cooper wrote: > Hello, > I was wondering if there was any particular technical book or manual > available that anyone would suggest for describing the FreeBSD kernel, > as I have recently picked up a Linux 2.6 kernel book and I want to > obtain a more holistic scope of the proper way to code an operating > system kernel as well as code for a system kernel, as opposed to just > one set of dogmatic approaches for doing it from Linus/the authors. > I prefer printed media compared to online media, but either-or would > be extremely helpful. "The Design and Implementation of the FreeBSD Operating System" perhaps? http://www.amazon.com/gp/product/0201702452 -- Joel From owner-freebsd-hackers@FreeBSD.ORG Sun May 14 11:28:12 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA63E16A431; Sun, 14 May 2006 11:28:12 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C08643D4C; Sun, 14 May 2006 11:28:05 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout2.cac.washington.edu (8.13.6+UW06.03/8.13.6+UW06.03) with ESMTP id k4EBS4Qa024766; Sun, 14 May 2006 04:28:04 -0700 X-Auth-Received: from dante72.u.washington.edu (dante72.u.washington.edu [140.142.14.72]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.6+UW06.03/8.13.6+UW06.03) with ESMTP id k4EBRwvu026514 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 14 May 2006 04:28:04 -0700 Date: Sun, 14 May 2006 04:27:58 -0700 (PDT) From: Garrett Cooper To: Joel Dahl In-Reply-To: <1147601331.674.9.camel@localhost> Message-ID: References: <446700D5.7020604@u.washington.edu> <1147601331.674.9.camel@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__C230066_P5 0, __CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Cc: freebsd-hackers@freebsd.org Subject: Re: Good kernel developers book/manual available? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 11:28:14 -0000 On Sun, 14 May 2006, Joel Dahl wrote: > On Sun, 2006-05-14 at 03:05 -0700, Garrett Cooper wrote: >> Hello, >> I was wondering if there was any particular technical book or manual >> available that anyone would suggest for describing the FreeBSD kernel, >> as I have recently picked up a Linux 2.6 kernel book and I want to >> obtain a more holistic scope of the proper way to code an operating >> system kernel as well as code for a system kernel, as opposed to just >> one set of dogmatic approaches for doing it from Linus/the authors. >> I prefer printed media compared to online media, but either-or would >> be extremely helpful. > > "The Design and Implementation of the FreeBSD Operating System" perhaps? > > http://www.amazon.com/gp/product/0201702452 > > -- > Joel > > Thank you. I will keep that resource in mind. -Garrett From owner-freebsd-hackers@FreeBSD.ORG Sun May 14 13:42:15 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B8F316A406 for ; Sun, 14 May 2006 13:42:15 +0000 (UTC) (envelope-from duane@greenmeadow.ca) Received: from smtpout.eastlink.ca (smtpout.eastlink.ca [24.222.0.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id E42D843D46 for ; Sun, 14 May 2006 13:42:14 +0000 (GMT) (envelope-from duane@greenmeadow.ca) Received: from ip02.eastlink.ca ([24.222.10.10]) by mta01.eastlink.ca (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0IZ9008KVCQUFTX0@mta01.eastlink.ca> for freebsd-hackers@freebsd.org; Sun, 14 May 2006 10:42:30 -0300 (ADT) Received: from blk-224-199-230.eastlink.ca (HELO [192.168.0.103]) ([24.224.199.230]) by ip02.eastlink.ca with ESMTP; Sun, 14 May 2006 10:42:14 -0300 Date: Sun, 14 May 2006 10:41:27 -0300 From: Duane Whitty In-reply-to: <446700D5.7020604@u.washington.edu> To: Garrett Cooper Message-id: <44673387.3040003@greenmeadow.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAQAAA+k= References: <446700D5.7020604@u.washington.edu> User-Agent: Thunderbird 1.5.0.2 (X11/20060503) Cc: freebsd-hackers@freebsd.org Subject: Re: Good kernel developers book/manual available? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 13:42:15 -0000 Garrett Cooper wrote: > Hello, > I was wondering if there was any particular technical book or > manual available that anyone would suggest for describing the FreeBSD > kernel, as I have recently picked up a Linux 2.6 kernel book and I > want to obtain a more holistic scope of the proper way to code an > operating system kernel as well as code for a system kernel, as > opposed to just one set of dogmatic approaches for doing it from > Linus/the authors. > I prefer printed media compared to online media, but either-or > would be extremely helpful. > Thank you for your help, > -Garrett > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" > > > Hi, I like Safari Online Books. You can find the book Joel Dahl referred to on that site as well as a lot of other technical books. I prefer printed media sometimes as well, but I really can't afford to fill my library with my wish list of books just yet. Just a thought, YMMV http://safari.oreilly.com/ Another interesting and informative book is Steven Bach, The Design of the Unix Operating System. It is dated but I think it really gives a person insight into kernel code and OS considerations. Kernigan and Ritchie, The C Programming Language, Second Edition While not exactly about the kernel I believe it gives a person a viewpoint about programming that I haven't found in any other programming book I've read. Thin book, but very intense, compact, dense, etc., etc. My fav Absolutely check out the 4.3 BSD material in the FreeBSD documentation as well. There are some real gems in there, in my opinion. Ah, remembering those books makes me want to forget about system admin... Sincerely Duane Whitty -- duane@greenmeadow.ca From owner-freebsd-hackers@FreeBSD.ORG Sun May 14 18:39:41 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3233316A403 for ; Sun, 14 May 2006 18:39:41 +0000 (UTC) (envelope-from jgrosch@mooseriver.com) Received: from mooseriver.com (h-66-166-146-73.snvacaid.covad.net [66.166.146.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6BCB43D49 for ; Sun, 14 May 2006 18:39:40 +0000 (GMT) (envelope-from jgrosch@mooseriver.com) Received: by mooseriver.com (Postfix, from userid 200) id 7EC621701E; Sun, 14 May 2006 11:39:40 -0700 (PDT) Date: Sun, 14 May 2006 11:39:40 -0700 From: Josef Grosch To: hackers@freebsd.org Message-ID: <20060514183940.GA39106@mooseriver.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HlL+5n6rz5pIUxbD" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Organization: Moose River, LLC Cc: Subject: Problem with 6.1 xorg on IBM Thinkpad T22 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jgrosch@MooseRiver.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 18:39:41 -0000 --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I have found a problem with FreeBSD 6.1.=20 I installed 6.1 from an ISO on to my IBM Thinkpad T22. 'X -configure' produces an xorg.conf.new which looks ok. Running 'X -config /root/xorg.conf.new' causes the screen to lock. A does not clear the problem. The system needs to rebooted to clear the problem. I just check again and found that X is not running but it looks like when X exists it leaves the screen in a weird state. I've install FreeBSD 6.0 from an ISO and did not find this problem. Josef --=20 Josef Grosch | Another day closer to a | FreeBSD 5.4 jgrosch@MooseRiver.com | Micro$oft free world | Berkeley, Ca. --HlL+5n6rz5pIUxbD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFEZ3lsy8prLS1GYSERAu5eAKCv0TxsoojJMpAP/v4v6u8+ZChGEgCfc+Qu aliPB3j0nJi99zad+xgTGaM= =36WY -----END PGP SIGNATURE----- --HlL+5n6rz5pIUxbD-- From owner-freebsd-hackers@FreeBSD.ORG Mon May 15 06:52:34 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A14AC16A58A for ; Mon, 15 May 2006 06:52:25 +0000 (UTC) (envelope-from oxy@field.hu) Received: from green.field.hu (green.field.hu [217.20.130.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id D493B43D46 for ; Mon, 15 May 2006 06:52:24 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (green.field.hu [217.20.130.28]) by green.field.hu (Postfix) with ESMTP id 1BD18119CCF for ; Mon, 15 May 2006 08:51:03 +0200 (CEST) X-Virus-Scanned: by Amavisd-new (Spamassassin+Razor2+Pyzor+DCC+Bayes db, Clamd Antivirus) at field.hu Received: from green.field.hu ([217.20.130.28]) by localhost (green.field.hu [217.20.130.28]) (amavisd-new, port 10024) with ESMTP id 9ljf-U-RmrYp for ; Mon, 15 May 2006 08:51:02 +0200 (CEST) Received: from oxy (dsl85-238-67-196.pool.tvnet.hu [85.238.67.196]) by green.field.hu (Postfix) with ESMTP id AE7BE119CA2 for ; Mon, 15 May 2006 08:51:02 +0200 (CEST) Message-ID: <002801c677ec$1f92cf20$0201a8c0@oxy> From: "OxY" To: Date: Mon, 15 May 2006 08:52:24 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: amd64 kernel on intel em64t X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 06:52:34 -0000 hi! in amd64 GENERIC conf i see cpu HAMMER is there any other CPU type for amd64 kernel? i have an intel EM64T, can i have any advantages of that or should use HAMMER? thanks! From owner-freebsd-hackers@FreeBSD.ORG Mon May 15 08:36:02 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F63116A402 for ; Mon, 15 May 2006 08:36:02 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3101843D46 for ; Mon, 15 May 2006 08:36:02 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 626BE2086; Mon, 15 May 2006 10:35:57 +0200 (CEST) X-Spam-Tests: AWL,BAYES_00,FORGED_RCVD_HELO X-Spam-Learn: ham X-Spam-Score: -2.4/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on tim.des.no Received: from xps.des.no (des.no [80.203.243.180]) by tim.des.no (Postfix) with ESMTP id DF9192082; Mon, 15 May 2006 10:35:56 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id BBB6533CAD; Mon, 15 May 2006 10:35:56 +0200 (CEST) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: "OxY" References: <002801c677ec$1f92cf20$0201a8c0@oxy> Date: Mon, 15 May 2006 10:35:56 +0200 In-Reply-To: <002801c677ec$1f92cf20$0201a8c0@oxy> (oxy@field.hu's message of "Mon, 15 May 2006 08:52:24 +0200") Message-ID: <86hd3r65xv.fsf@xps.des.no> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: amd64 kernel on intel em64t X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 08:36:02 -0000 "OxY" writes: > in amd64 GENERIC conf i see > > cpu HAMMER > > is there any other CPU type for amd64 kernel? > i have an intel EM64T, can i have any advantages of that or > should use HAMMER? HAMMER is the only recognized CPU type for amd64. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Mon May 15 09:05:45 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3657416A73A for ; Mon, 15 May 2006 09:05:45 +0000 (UTC) (envelope-from oxy@field.hu) Received: from green.field.hu (green.field.hu [217.20.130.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8CB643D70 for ; Mon, 15 May 2006 09:05:44 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (green.field.hu [217.20.130.28]) by green.field.hu (Postfix) with ESMTP id 26A46119CCF; Mon, 15 May 2006 11:04:22 +0200 (CEST) X-Virus-Scanned: by Amavisd-new (Spamassassin+Razor2+Pyzor+DCC+Bayes db, Clamd Antivirus) at field.hu Received: from green.field.hu ([217.20.130.28]) by localhost (green.field.hu [217.20.130.28]) (amavisd-new, port 10024) with ESMTP id qdUyruwB9SGW; Mon, 15 May 2006 11:04:21 +0200 (CEST) Received: from oxy (dsl85-238-67-196.pool.tvnet.hu [85.238.67.196]) by green.field.hu (Postfix) with ESMTP id B8995119CA2; Mon, 15 May 2006 11:04:21 +0200 (CEST) Message-ID: <000801c677fe$bfdedc50$0201a8c0@oxy> From: "OxY" To: =?iso-8859-1?Q?Dag-Erling_=22Sm=F8rgrav=22?= References: <002801c677ec$1f92cf20$0201a8c0@oxy> <86hd3r65xv.fsf@xps.des.no> Date: Mon, 15 May 2006 11:05:44 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Cc: freebsd-hackers@freebsd.org Subject: Re: amd64 kernel on intel em64t X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 09:05:48 -0000 thanks! ----- Original Message ----- From: "Dag-Erling "Smørgrav"" To: "OxY" Cc: Sent: Monday, May 15, 2006 10:35 AM Subject: Re: amd64 kernel on intel em64t "OxY" writes: > in amd64 GENERIC conf i see > > cpu HAMMER > > is there any other CPU type for amd64 kernel? > i have an intel EM64T, can i have any advantages of that or > should use HAMMER? HAMMER is the only recognized CPU type for amd64. DES -- Dag-Erling Smørgrav - des@des.no _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Mon May 15 17:57:41 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90A8216A71C for ; Mon, 15 May 2006 17:57:41 +0000 (UTC) (envelope-from lists-freebsd@silverwraith.com) Received: from pear.silverwraith.com (pear.silverwraith.com [69.12.167.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1114343D48 for ; Mon, 15 May 2006 17:57:41 +0000 (GMT) (envelope-from lists-freebsd@silverwraith.com) Received: from avleen by pear.silverwraith.com with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FfhKU-0000GE-Sr for freebsd-hackers@freebsd.org; Mon, 15 May 2006 10:58:02 -0700 Date: Mon, 15 May 2006 10:58:02 -0700 From: Avleen Vig To: freebsd-hackers@freebsd.org Message-ID: <20060515175802.GA727@silverwraith.com> References: <20060512220019.GA1911@silverwraith.com> <20060512223919.GA21382@fonon.realnet> <20060513014020.GE1911@silverwraith.com> <20060513074033.GA1236@fonon.realnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060513074033.GA1236@fonon.realnet> User-Agent: Mutt/1.5.11 Subject: Re: no core file handler recognizes format X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 17:57:44 -0000 On Sat, May 13, 2006 at 11:40:33AM +0400, Stanislav Sedov wrote: > Rebuild your kernel with INVARIANTS enabled and debug info. It will > provide more information in case the crash happens again. With INVARIANTS compiled in, it doesn't leave me a core file when it crashes :-( > Kernel config and list of modules posted here may be useful to some > extent too. # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.3.2.1 2005/10/28 19:22:41 jhb Exp $ machine i386 cpu I686_CPU ident GOOSEBERRY # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols makeoptions MODULES_OVERRIDE="linux" #options SCHED_ULE # ULE scheduler options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT # NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_GPT # GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] #options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 #options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. options ADAPTIVE_GIANT # Giant mutex is adaptive. options INVARIANTS options INVARIANT_SUPPORT device apic # I/O APIC # Bus support. #device eisa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering # SCSI Controllers #device ahb # EISA AHA1742 family #device ahc # AHA2940 and onboard AIC7xxx devices #device ahd # AHA39320/29320 and onboard AIC79xx devices #device amd # AMD 53C974 (Tekram DC-390(T)) #device isp # Qlogic family #device ispfw # Firmware for QLogic HBAs- normally a module #device mpt # LSI-Logic MPT-Fusion #device ncr # NCR/Symbios Logic #device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') #device trm # Tekram DC395U/UW/F DC315U adapters #device adv # Advansys SCSI adapters #device adw # Advansys wide SCSI adapters #device aha # Adaptec 154x SCSI adapters #device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60. #device bt # Buslogic/Mylex MultiMaster SCSI adapters #device ncv # NCR 53C500 #device nsp # Workbit Ninja SCSI-3 #device stg # TMC 18C30/18C50 # SCSI peripherals device scbus # SCSI bus (required for SCSI) #device ch # SCSI media changers device da # Direct Access (disks) #device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) #device ses # SCSI Environmental Services (and SAF-TE) # RAID controllers interfaced to the SCSI subsystem #device amr # AMI MegaRAID #device arcmsr # Areca SATA II RAID #device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID #device ciss # Compaq Smart RAID 5* #device dpt # DPT Smartcache III, IV - See NOTES for options #device hptmv # Highpoint RocketRAID 182x #device iir # Intel Integrated RAID #device ips # IBM (Adaptec) ServeRAID #device mly # Mylex AcceleRAID/eXtremeRAID #device twa # 3ware 9000 series PATA/SATA RAID # RAID controllers #device aac # Adaptec FSA RAID #device aacp # SCSI passthrough for aac (requires CAM) #device ida # Compaq Smart RAID #device mlx # Mylex DAC960 family #device pst # Promise Supertrak SX6000 #device twe # 3ware ATA RAID # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc # Enable this for the pcvt (VT220 compatible) console driver #device vt #options XSERVER # support for X server on a vt console #options FAT_CURSOR # start with block cursor #device agp # support several AGP chipsets # Power management support (see NOTES for more options) #device apm # Add suspend/resume support for the i8254. device pmtimer # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support #device cbb # cardbus (yenta) bridge #device pccard # PC Card (16-bit) bus #device cardbus # CardBus (32-bit) bus # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # Parallel port #device ppc device ppbus # Parallel port bus (required) #device lpt # Printer #device plip # TCP/IP over parallel #device ppi # Parallel port interface device #device vpo # Requires scbus and da # If you've got a "dumb" serial or parallel PCI card that is # supported by the puc(4) glue driver, uncomment the following # line to enable it (connects to the sio and/or ppc drivers): #device puc # PCI Ethernet NICs. #device de # DEC/Intel DC21x4x (``Tulip'') #device em # Intel PRO/1000 adapter Gigabit Ethernet Card #device ixgb # Intel PRO/10GbE Ethernet Card #device txp # 3Com 3cR990 (``Typhoon'') #device vx # 3Com 3c590, 3c595 (``Vortex'') # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support #device bfe # Broadcom BCM440x 10/100 Ethernet #device bge # Broadcom BCM570xx Gigabit Ethernet #device dc # DEC/Intel 21143 and various workalikes #device fxp # Intel EtherExpress PRO/100B (82557, 82558) #device lge # Level 1 LXT1001 gigabit Ethernet #device nge # NatSemi DP83820 gigabit Ethernet device nve # nVidia nForce MCP on-board Ethernet Networking #device pcn # AMD Am79C97x PCI 10/100(precedence over 'lnc') #device re # RealTek 8139C+/8169/8169S/8110S device rl # RealTek 8129/8139 #device sf # Adaptec AIC-6915 (``Starfire'') #device sis # Silicon Integrated Systems SiS 900/SiS 7016 #device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet #device ste # Sundance ST201 (D-Link DFE-550TX) #device ti # Alteon Networks Tigon I/II gigabit Ethernet #device tl # Texas Instruments ThunderLAN #device tx # SMC EtherPower II (83c170 ``EPIC'') #device vge # VIA VT612x gigabit Ethernet #device vr # VIA Rhine, Rhine II #device wb # Winbond W89C840F #device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # ISA Ethernet NICs. pccard NICs included. #device cs # Crystal Semiconductor CS89x0 NIC # 'device ed' requires 'device miibus' #device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards #device ex # Intel EtherExpress Pro/10 and Pro/10+ #device ep # Etherlink III based cards #device fe # Fujitsu MB8696x based cards #device ie # EtherExpress 8/16, 3C507, StarLAN 10 etc. #device lnc # NE2100, NE32-VL Lance Ethernet cards #device sn # SMC's 9000 series of Ethernet chips #device xe # Xircom pccard Ethernet # ISA devices that use the old ISA shims #device le # Wireless NIC cards #device wlan # 802.11 support #device an # Aironet 4500/4800 802.11 wireless NICs. #device awi # BayStack 660 and others #device ral # Ralink Technology RT2500 wireless NICs. #device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. #device wl # Older non 802.11 Wavelan wireless NIC. # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device sl # Kernel SLIP device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse #device ural # Ralink Technology RT2500USB wireless NICs #device urio # Diamond Rio 500 MP3 player device uscanner # Scanners # USB Ethernet, requires miibus #device aue # ADMtek USB Ethernet #device axe # ASIX Electronics USB Ethernet #device cdce # Generic USB over Ethernet #device cue # CATC USB Ethernet #device kue # Kawasaki LSI USB Ethernet #device rue # RealTek RTL8150 USB Ethernet # FireWire support #device firewire # FireWire bus code #device sbp # SCSI over FireWire (Requires scbus and da) #device fwe # Ethernet over FireWire (non-standard!) device sound device pf options ALTQ options ALTQ_CBQ options ALTQ_RED options ALTQ_RIO options ALTQ_HFSC options ALTQ_CDNR options ALTQ_PRIQ From owner-freebsd-hackers@FreeBSD.ORG Tue May 16 07:12:50 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1731016A407 for ; Tue, 16 May 2006 07:12:50 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D6C343D58 for ; Tue, 16 May 2006 07:12:47 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.3) with ESMTP id k4G7CfhT006973 for ; Tue, 16 May 2006 11:12:42 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.3/Submit) id k4G7Cf48006972 for freebsd-hackers@freebsd.org; Tue, 16 May 2006 11:12:41 +0400 (MSD) (envelope-from yar) Date: Tue, 16 May 2006 11:12:40 +0400 From: Yar Tikhiy To: freebsd-hackers@freebsd.org Message-ID: <20060516071240.GA6338@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Subject: Stack frame problem in gdb X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 07:12:50 -0000 Hi folks, Has our stock GDB lost the ability to set the current stack frame by its address? In 4.11-STABLE, the old recipe from the Developer's Handbook still works: frame Alas, it no longer works in RELENG_6 or CURRENT (tested on i386 and amd64.) A sample typescript is attached. It boils down to the following: The "frame" command accepts one argument at most in the new GDB, which is taken for the address of a frame if it's sufficiently large. Refusing now to read the instruction pointer value from the command line, GDB sets it to 0 -- a smart guess, damn it. Finally, GDB crashes on the bogus frame it made up. What do you think this is, a GDB bug or my misunderstanding? Thanks! -- Yar ######################################################################## %cat test.c main() { foo(1); } foo(a) int a; { return (a + bar(a)); } bar(x) int x; { return (x * x); } %gcc -g test.c %gdb a.out GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... (gdb) b bar Breakpoint 1 at 0x80484d7: file test.c, line 15. (gdb) r Starting program: /usr/home/yar/a.out Breakpoint 1, bar (x=1) at test.c:15 15 return (x * x); (gdb) bt #0 bar (x=1) at test.c:15 #1 0x080484c9 in foo (a=1) at test.c:9 #2 0x080484b2 in main () at test.c:3 (gdb) info f 1 Stack frame at 0xbfbfec30: eip = 0x80484c9 in foo (test.c:9); saved eip 0x80484b2 called by frame at 0xbfbfec60, caller of frame at 0xbfbfec10 source language c. Arglist at 0xbfbfec28, args: a=1 Locals at 0xbfbfec28, Previous frame's sp is 0xbfbfec30 Saved registers: ebp at 0xbfbfec28, eip at 0xbfbfec2c (gdb) frame 0xbfbfec30 0x80484c9 Too many args in frame specification (gdb) frame 0xbfbfec30 #0 0x00000000 in ?? () (gdb) info f Stack level 0, frame at 0xbfbfec30: eip = 0x0; saved eip /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/dwarf2-frame.c:613: internal-error: dwarf2_frame_cache: Assertion `fde != NULL' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) ######################################################################## From owner-freebsd-hackers@FreeBSD.ORG Tue May 16 09:23:13 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1C4A16A609 for ; Tue, 16 May 2006 09:23:13 +0000 (UTC) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: from comsys.ntu-kpi.kiev.ua (comsys.ntu-kpi.kiev.ua [195.245.194.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAF7A43D55 for ; Tue, 16 May 2006 09:22:53 +0000 (GMT) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: from pm513-1.comsys.ntu-kpi.kiev.ua (pm513-1.comsys.ntu-kpi.kiev.ua [10.18.52.101]) (authenticated bits=0) by comsys.ntu-kpi.kiev.ua (8.13.6/8.13.6) with ESMTP id k4G9bhlL030662 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Tue, 16 May 2006 12:37:43 +0300 (EEST) Received: by pm513-1.comsys.ntu-kpi.kiev.ua (Postfix, from userid 1001) id EE5D65C024; Tue, 16 May 2006 12:23:10 +0300 (EEST) Date: Tue, 16 May 2006 12:23:10 +0300 From: Andrey Simonenko To: freebsd-hackers@freebsd.org Message-ID: <20060516092310.GA1110@pm513-1.comsys.ntu-kpi.kiev.ua> References: <20060421095610.GA1137@pm513-1.comsys.ntu-kpi.kiev.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060421095610.GA1137@pm513-1.comsys.ntu-kpi.kiev.ua> User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED,AWL autolearn=unavailable version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on comsys.ntu-kpi.kiev.ua X-Virus-Scanned: ClamAV 0.82/1456/Thu May 11 08:57:31 2006 on comsys.ntu-kpi.kiev.ua X-Virus-Status: Clean Subject: Re: Atomic updates of NFS export lists X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 09:23:14 -0000 Hello again, I found another one security bug in mountd (from RELENG_6). Details are described in the CHANGES file. Updated version is available here: http://comsys.ntu-kpi.kiev.ua/~simon/mountd/ SHA256 (mountd-20060515.tar.bz2) = 46e824a168886e5c9ef4df32d8db3ab30efd050c89afa1ea5a37a31cbf7565ad From owner-freebsd-hackers@FreeBSD.ORG Tue May 16 13:00:13 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C495F16A459 for ; Tue, 16 May 2006 13:00:13 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 592EF43D6B for ; Tue, 16 May 2006 13:00:08 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k4GD07HO042649; Tue, 16 May 2006 08:00:07 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <4469CCDA.2040600@centtech.com> Date: Tue, 16 May 2006 08:00:10 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.2 (X11/20060506) MIME-Version: 1.0 To: "Rick C. Petty" References: <4460FCE8.9020703@centtech.com> <446322D4.7020708@centtech.com> <4463A275.5030701@centtech.com> <200605111724.07510.jhb@freebsd.org> <4463EDC7.1050004@centtech.com> <20060512174402.GA85005@megan.kiwi-computer.com> In-Reply-To: <20060512174402.GA85005@megan.kiwi-computer.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1464/Tue May 16 04:36:19 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org Subject: Re: Exiting Xorg panics Core Duo laptop X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 13:00:14 -0000 Rick C. Petty wrote: > On Thu, May 11, 2006 at 09:07:03PM -0500, Eric Anderson wrote: >> I'd use the nv driver instead, however I'm not sure how to make it work >> with this screen (1920x1200). > > This is my entry for my Dell 2405FPW: > > Section "Monitor" > Identifier "Monitor1" > DisplaySize 520 330 # yes, I measured it > HorizSync 30.0-81.0 > VertRefresh 56.0-76.0 > Mode "1920x1200" > DotClock 154.0 > HTimings 1920 1968 2000 2080 > VTimings 1200 1203 1209 1235 > EndMode > Option "DPMS" > EndSection > > > I can't remember if I needed the frequencies-- I had some initial problems > using the DVI input and nvidia not detecting things correctly, but then I > added this to the Device section: > > Option "ConnectedMonitor" "DPF-1" > > YMMV, > > -- Rick C. Petty Awesome! That worked like a charm! I only changed the ConnectedMonitor to use LVDS since this is a laptop. Thanks a ton! Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-hackers@FreeBSD.ORG Tue May 16 15:46:23 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2116616A5A2 for ; Tue, 16 May 2006 15:46:23 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E35743D62 for ; Tue, 16 May 2006 15:46:12 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4GFgtSt047796; Tue, 16 May 2006 09:42:57 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 16 May 2006 09:40:34 -0600 (MDT) Message-Id: <20060516.094034.71136916.imp@bsdimp.com> To: hongz@promisechina.com From: Warner Losh In-Reply-To: <1147773499$37747$52718922@hongz@promisechina.com> References: <20060512.203254.62667569.imp@bsdimp.com> <1147773499$37747$52718922@hongz@promisechina.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=gb2312 Content-Transfer-Encoding: base64 Cc: freebsd-hackers@freebsd.org Subject: Re: =?gb2312?b?tPC4tDo=?= help:How to map a physical address into a kernel address? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 15:46:23 -0000 PiBJIGZpbmQgdGhhdCBidXNkbWEgY2FuIG5vdCBoZWxwIG9uIHRoaXMuIFBsZWFzZSBub3RlIHRo YXQgd2UgbmVlZCBhY2Nlc3MgdGhlDQo+IGRhdGEgYnVmZmVyIGluIGtlcm5lbCBzcGFjZSwgc28g d2UgbXVzdCBnZXQgdGhlIGtlcm5lbCB2aXJ0dWFsIGFkZHJlc3Mgb2YNCj4gdGhlIGRhdGEgYnVm ZmVyLiBVc2luZyBidXNkbWEgY2FuIG9ubHkgYWNjZXNzIHRoZSBkYXRhIGJ1ZmZlciBpbiBmaXJt d2FyZSwNCj4gaG93ZXZlciwgSSBuZWVkIHRvIGFjY2VzcyB0aGUgZGF0YSBidWZmZXIgaW4ga2Vy bmVsIHNwYWNlISBQbGVhc2UgaGVscCBtZSENCg0KSSdtIHVuY2xlYXIgd2h5IGJ1c2RtYSBjYW4n dCBoZWxwIHlvdS4gIFlvdSBnZXQgYWNjZXNzIHRvIGJvdGggdGhlIFBBDQphbmQgVkEgdmlhIHRo ZSBidXNkbWEgaW50ZXJmYWNlLiAgT3RoZXJ3aXNlLCBpdCB3b3VsZCBiZSBpbXBvc3NpYmxlIHRv DQp3cml0ZSBhIG5ldHdvcmsgZHJpdmVyLiAgVGhlIFBBIGlzIGdpdmVuIHRvIHlvdSBpbiB0aGUN CmJ1c19kbWFtYXBfbG9hZCdzIGNhbGxiYWNrIGZ1bmN0aW9uJ3Mgc2VncyBhbmQgbnNlZyBhcmd1 bWVudC4gIFRoZSBWQQ0KaXMgcGFzc2VkIGluIHZpYSB0aGUgYnVzX2RtYW1hcF9sb2FkJ3MgJ2J1 ZicgYWRkcmVzcyBhbmQgaXMgYWxsb2NhdGVkDQplbHNld2hlcmUuICBUaGUgdHlwaWNhbCB1c2Fn ZSBpcyB0byBmaWxsIGluIHdoYXQgeW91IGFyZSBjYWxsaW5nIHRoZQ0Kc2dfdGFibGUgaW4gdGhl IGNhbGxiYWNrIGFuZCBzdGFydCB0aGUgZGV2aWNlJ3MgRE1BLg0KDQpZb3UgY2FuIGdldCB0byB0 aGlzIGluZm9ybWF0aW9uIGF0IHJ1bnRpbWUsIGJ1dCBpdCBjYXVzZXMgZHJpdmVyDQpwb3J0YWJp bGl0eSBwcm9ibGVtcyBhbmQgaXRzIHVzZSBpcyBzdHJvbmdseSBkaXNjb3VyYWdlZC4gIFNpbmNl IHRoZQ0KYnVzZG1hIGZ1bmN0aW9ucyBkZWFsIHdpdGggYWxsIHRoZXNlIGRldGFpbHMsIGluY2x1 ZGluZyBib3VuY2UNCmJ1ZmZlcmluZyBvbiBsYXJnZSBtZW1vcnkgY29uZmlndXJhdGlvbnMsIHRo aWVyIHVzZSBpcyBzdHJvbmdseQ0KZW5jb3VyYWdlZC4gIElmIEknbSBub3QgdW5kZXJzdGFuZGlu ZyB5b3VyIG5lZWRzLCB0aGVuIHlvdSBjYW4gZmluZA0KYWxsIHlvdSBuZWVkIGluIHRoZSBpMzg2 L2kzODYvcG1hcC5jIGFuZCBpMzg2L2luY2x1ZGUvcG1hcC5oLiAgVGhlIHZtDQptYXBwaW5nIGZ1 bmN0aW9ucyBjYW4gYmUgZm91bmQgaW4gaW5jbHVkZS92bSouaCBhbmQgdm0vdm0qLmMuICBDYXJl ZnVsDQpzdHVkeSBpcyBuZWVkZWQgdG8gdXNlIHRoZW0gY29ycmVjdGx5LCBhbHRob3VnaCBzb21l IG9mIHRoZW0gYXJlDQpkb2N1bWVudGVkIGluIG1hbiBwYWdlcy4NCg0KV2FybmVyDQoNCg0KPiBC ZXN0IHdpc2hlcywNCj4gDQo+IEhvbmcNCj4gDQo+IC0tLS0t08q8/tStvP4tLS0tLQ0KPiC3orz+ yMs6IE0uIFdhcm5lciBMb3NoIFttYWlsdG86aW1wQGJzZGltcC5jb21dIA0KPiC3osvNyrG85Dog MjAwNsTqNdTCMTPI1SA4OjMzDQo+IMrVvP7IyzogaG9uZ3pAcHJvbWlzZWNoaW5hLmNvbQ0KPiCz rcvNOiBmcmVlYnNkLWhhY2tlcnNAZnJlZWJzZC5vcmcNCj4g1vfM4jogUmU6IGhlbHA6SG93IHRv IG1hcCBhIHBoeXNpY2FsIGFkZHJlc3MgaW50byBhIGtlcm5lbCBhZGRyZXNzPw0KPiANCj4gSW4g bWVzc2FnZTogPDExNDczNDA2OTAkMzYwNzYkNTU4MzM1OTlAaG9uZ3pAcHJvbWlzZWNoaW5hLmNv bT4NCj4gICAgICAgICAgICAgPGhvbmd6QHByb21pc2VjaGluYS5jb20+IHdyaXRlczoNCj4gOiBU byBhY2Nlc3Mgc2dfdGFibGUgaW4ga2VybmVsIGFkZHJlc3MsIEkgbmVlZCB0byBtYXAgdGhlIHN0 YXJ0aW5nIHBoeXNpY2FsDQo+IDogYWRkcmVzcyBvZiBhIHNlZ21lbnQgaW50byBhIGtlcm5lbCBh ZGRyZXNzLiBBcyBJIGtub3cgdGhhdCwgd2UgY2FuIHVzZQ0KPiA6IHBoeXN0b3ZpcnQoKS9idXN0 b3ZpcnQoKSwgb3Iga21hcCgpL2ttYXBfYXRvbWljKCkgdG8gbWFwIGEgYnVzL3BoeXNpY2FsDQo+ IDogYWRkcmVzcyBvciBhIHBoeXNpY2FsIHBhZ2UgaW50byBhIGtlcm5lbCBhZGRyZXNzIGluIExp bnV4LCBidXQgSSBkaWQgbm90DQo+IDogZmluZCBzdWNoIGEgZnVuY3Rpb24gaW4gRnJlZUJTRC4g UGxlYXNlIGhlbHAgbWUgb24gdGhpcywgaXQgaXMgdmVyeQ0KPiB1cmdlbnQhDQo+IA0KPiBVc2Ug YnVzZG1hLg0KPiANCj4gV2FybmVyDQo+IA0KPiANCj4gDQo= From owner-freebsd-hackers@FreeBSD.ORG Tue May 16 18:39:38 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3FAB16B291 for ; Tue, 16 May 2006 18:39:38 +0000 (UTC) (envelope-from daniloegea@yahoo.com.br) Received: from web50703.mail.yahoo.com (web50703.mail.yahoo.com [206.190.38.101]) by mx1.FreeBSD.org (Postfix) with SMTP id 4D19A43D45 for ; Tue, 16 May 2006 18:39:35 +0000 (GMT) (envelope-from daniloegea@yahoo.com.br) Received: (qmail 6062 invoked by uid 60001); 16 May 2006 18:39:34 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=dq3zzAqW+PdrdyZoPEVYlBe5lE9kDAMiTKTZTqielR5C1sloH7r3VhEb/HVR1qxDD1tXzMk1E2TRV5pGiMWYQg2pVOZo0TOG/0WYjWf4Bf7mf0jVL8jZQO9tM2T7F4uXlxEeOzWpecVkO3rZ5fb1ThD3rF0+r2XYmDcPjud+J0g= ; Message-ID: <20060516183934.6060.qmail@web50703.mail.yahoo.com> Received: from [200.146.119.3] by web50703.mail.yahoo.com via HTTP; Tue, 16 May 2006 15:39:34 ART Date: Tue, 16 May 2006 15:39:34 -0300 (ART) From: Danilo Egea To: freebsd-hackers@freebsd.org In-Reply-To: <20060516.094034.71136916.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: wireless hwp54g on Freebsd X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 18:39:45 -0000 Network controller: Texas Instruments ACX 111 54Mbps Wireless Interface Somebody knows as to configure this plate wireless in freebsd 6,1? Thanks!!! Meu Blog - daniloegea.blogspot.com --------------------------------- Navegue com o Yahoo! Acesso Grátis, assista aos jogos do Brasil na Copa e ganhe prêmios de hora em hora. From owner-freebsd-hackers@FreeBSD.ORG Tue May 16 21:51:53 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EAD5816A469 for ; Tue, 16 May 2006 21:51:53 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from koef.zs64.net (koef.zs64.net [213.238.47.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5802243D45 for ; Tue, 16 May 2006 21:51:52 +0000 (GMT) (envelope-from stb@lassitu.de) Received: (from stb@koef.zs64.net) (authenticated) by koef.zs64.net (8.13.6/8.13.6) with ESMTP id k4GLpceK048728 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Tue, 16 May 2006 23:51:50 +0200 (CEST) (envelope-from stb@lassitu.de) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <83FEAC4F-7F0D-430D-B1FB-D02CA721E2AC@lassitu.de> Content-Transfer-Encoding: 7bit From: Stefan Bethke Date: Tue, 16 May 2006 23:51:15 +0200 To: "Ricardo A. Reis" X-Mailer: Apple Mail (2.750) Cc: freebsd-hackers@freebsd.org Subject: Re: kldfind X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 21:51:54 -0000 Am 16.05.2006 um 23:15 schrieb Ricardo A. Reis: > I writed one script for find freebsd kernel modules, ... > [ricardo@myfreebsd:~/kldfind] # ./kldfind -h > Options: > -c -- find all matchs for category > -s -- string match ... > http://ricardo.epm.br/freebsd/script/ It's a nice little script, but I think it can be improved in a few aspects. Just off the top of my head: Exit codes: plase see sysexits(3) for a number of well-defined exit codes and their meanings. If your script is invoked with the -c or -s switch, but no search term was provided, help() will exit with 0; EX_USAGE (64) would be more appropriate. Options handling: FreeBSD (and Posix) provide getopt(1) for options processing; while your script doesn't use options as such (-c, -h, and -s are really sub-commands, not options here), it's probably worthwile to use the standard functionality anyway. Functionality: inside the loop in search(), the sleep is superflous. Also, using exit inside the loop will terminate the script. With the current construction, only the first component of the KLD search path will ever be searched. It is debatable whether not finding any matching modules should be an error. Output format: there's no easy way to post-process the search results with a script. A pretty print version of the output is nice, but for a system utility, the default should be something that can be easily post-processed with another script. Stefan -- Stefan Bethke Fon +49 170 346 0140 From owner-freebsd-hackers@FreeBSD.ORG Tue May 16 23:54:10 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73C0216A426 for ; Tue, 16 May 2006 23:54:10 +0000 (UTC) (envelope-from ricardo_bsd@yahoo.com.br) Received: from smtp105.mail.mud.yahoo.com (smtp105.mail.mud.yahoo.com [209.191.85.215]) by mx1.FreeBSD.org (Postfix) with SMTP id 054CF43D46 for ; Tue, 16 May 2006 23:54:09 +0000 (GMT) (envelope-from ricardo_bsd@yahoo.com.br) Received: (qmail 27393 invoked from network); 16 May 2006 23:54:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Received:Date:To:Subject:From:Organization:Cc:Content-Type:MIME-Version:References:Content-Transfer-Encoding:Message-ID:In-Reply-To:User-Agent; b=wOd1x9c1lUAn75kMkd3xMkCGy9mR63mm1FxSmkk0bfcB0DMZ/TTRmGESAoHSkm7Rl/p0fTdqPdqNCdhw3SVvC/rT6PLWHCqk4/VbkahtdC8ucbue2A4WxwLWZS9L0ckYnM8kzAE4GGlb5v7idHg1gdtFM0URVTLZBzJfeAH9QPY= ; Received: from unknown (HELO localhost) (ricardo?bsd@201.1.118.111 with login) by smtp105.mail.mud.yahoo.com with SMTP; 16 May 2006 23:54:08 -0000 Date: Tue, 16 May 2006 20:53:53 -0300 To: "Stefan Bethke" From: "Ricardo A. Reis" Organization: UNIFESP Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 MIME-Version: 1.0 References: <83FEAC4F-7F0D-430D-B1FB-D02CA721E2AC@lassitu.de> Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <83FEAC4F-7F0D-430D-B1FB-D02CA721E2AC@lassitu.de> User-Agent: Opera Mail/9.00 (FreeBSD) X-Mailman-Approved-At: Wed, 17 May 2006 01:52:15 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: kldfind X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 23:54:10 -0000 On Tue, 16 May 2006 18:51:15 -0300, Stefan Bethke wrote: > Am 16.05.2006 um 23:15 schrieb Ricardo A. Reis: > >> I writed one script for find freebsd kernel modules, > ... >> [ricardo@myfreebsd:~/kldfind] # ./kldfind -h >> Options: >> -c -- find all matchs for category >> -s -- string match > ... >> http://ricardo.epm.br/freebsd/script/ > > It's a nice little script, but I think it can be improved in a few > aspects. Just off the top of my head: Thanks, > > Exit codes: plase see sysexits(3) for a number of well-defined exit > codes and their meanings. If your script is invoked with the -c or -s > switch, but no search term was provided, help() will exit with 0; > EX_USAGE (64) would be more appropriate. I readed sysexits() and replace the return code for help(). > > Options handling: FreeBSD (and Posix) provide getopt(1) for options > processing; while your script doesn't use options as such (-c, -h, and > -s are really sub-commands, not options here), it's probably worthwile > to use the standard functionality anyway. About getopt a resolved not use, this a little script with 3 sub-commands getopts is necessary for include one program in src ? > Functionality: inside the loop in search(), the sleep is superflous. > Also, using exit inside the loop will terminate the script. With the > current construction, only the first component of the KLD search path > will ever be searched. It is debatable whether not finding any matching > modules should be an error. Sorry for this, i add exit codes after writed man, now i change exit per return. > > Output format: there's no easy way to post-process the search results > with a script. A pretty print version of the output is nice, but for a > system utility, the default should be something that can be easily > post-processed with another script. Is possible pre-formate output with output() using printf/awk. I update http://ricardo.epm.br/freebsd/script/kldfind/kldfind-v051 Thanks again, Ricardo A. Reis UNIFESP Unix and Network Admin _______________________________________________________ Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz. http://br.info.mail.yahoo.com/ From owner-freebsd-hackers@FreeBSD.ORG Wed May 17 02:48:23 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F9A916A407 for ; Wed, 17 May 2006 02:48:23 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26BD443D69 for ; Wed, 17 May 2006 02:48:19 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.14] (imini.samsco.home [192.168.254.14]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k4H2mCJt053696; Tue, 16 May 2006 20:48:17 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <446A8EEC.1090508@samsco.org> Date: Tue, 16 May 2006 20:48:12 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050416 X-Accept-Language: en-us, en MIME-Version: 1.0 To: hongz@promisechina.com References: <1147340690$36076$55833599@hongz@promisechina.com> In-Reply-To: <1147340690$36076$55833599@hongz@promisechina.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-hackers@freebsd.org Subject: Re: help:How to map a physical address into a kernel address? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 02:48:23 -0000 hongz@promisechina.com wrote: > Hi guys: > > > > To access sg_table in kernel address, I need to map the starting physical > address of a segment into a kernel address. As I know that, we can use > phystovirt()/bustovirt(), or kmap()/kmap_atomic() to map a bus/physical > address or a physical page into a kernel address in Linux, but I did not > find such a function in FreeBSD. Please help me on this, it is very urgent! > > > > Thanks a lot! > What kind of memory are you trying to access? Are you trying to access memory on the card that is pointed to by PCI base address registers? If so then you need to use the bus_space API. Or are you trying to allocate memory in the kernel and then give the physical address of that memory to your card? If so then you need to use bus_dma. Both Warner and I are happy to help guide you with these APIs. Scott From owner-freebsd-hackers@FreeBSD.ORG Wed May 17 13:43:30 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 798BF16A467 for ; Wed, 17 May 2006 13:43:30 +0000 (UTC) (envelope-from maslanbsd@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B2D643D5D for ; Wed, 17 May 2006 13:43:21 +0000 (GMT) (envelope-from maslanbsd@gmail.com) Received: by wr-out-0506.google.com with SMTP id i7so211639wra for ; Wed, 17 May 2006 06:43:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=KrV7qib+7XW0550eV5GIeSB/a3E0m83sBbavp5zoXmP6DHEFpPAS1Aj/X0SNTroh0N1BIX1hux/ythtgL86hLx3J8R9gaY/dNm56ZPURiHsll/JLkRGUDsXOH+SNaX1UESARgC/LYsUfyz39sFkoYJN7C8fWxnqr3WQLr40rGTk= Received: by 10.54.136.8 with SMTP id j8mr2481869wrd; Wed, 17 May 2006 06:42:38 -0700 (PDT) Received: by 10.54.101.18 with HTTP; Wed, 17 May 2006 06:43:18 -0700 (PDT) Message-ID: <319cceca0605170643u4b407a2fg9c2d60f6c8c1ddb4@mail.gmail.com> Date: Wed, 17 May 2006 16:43:18 +0300 From: Maslan To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Sysinstall sucks X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 13:43:32 -0000 Hi I was updating my system from 5.4 to 6.1, i did a fresh install, but after sysinstall finishes it had damaged the MBR. I have 1 ext3 partitions and 2 ufs partitions, one for dfly and the other for fbsd. The other thing that during the installation i wanted to repartition, but when i click partitioning, sysintall catch a signal and terminate, i didn't really want to repartition since i've already bsd slices. I've fixed this problem with gpart and everything is ok. I just wanted to note that problem here, it may be a bug in sysinstall Thanks --=20 I'm Searching For Perfection, So Even If U Need Portability U've To Use Assembly ;-) http://www.maslanlab.org http://libosdk.berlios.de From owner-freebsd-hackers@FreeBSD.ORG Wed May 17 14:42:55 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86A2316A734; Wed, 17 May 2006 14:42:55 +0000 (UTC) (envelope-from ricardo_bsd@yahoo.com.br) Received: from maritaca.epm.br (mail.dis.epm.br [200.17.25.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id F183D43D7E; Wed, 17 May 2006 14:42:38 +0000 (GMT) (envelope-from ricardo_bsd@yahoo.com.br) Received: from localhost (localhost.localdomain [127.0.0.1]) by maritaca.epm.br (Postfix) with ESMTP id 330823A68; Wed, 17 May 2006 11:42:36 -0300 (BRST) Received: from localhost (ricardo.epm.br [172.22.1.166]) by maritaca.epm.br (Postfix) with ESMTP id 4A6AB3A65; Wed, 17 May 2006 11:42:28 -0300 (BRST) Date: Wed, 17 May 2006 11:42:28 -0300 To: "Tarasov Alexey" , "freebsd-stable@freebsd.org current@freebsd.org." , freebsd-hackers@freebsd.org From: "Ricardo A. Reis" Organization: UNIFESP Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: <446ABF8A.9050206@wincmd.ru> Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <446ABF8A.9050206@wincmd.ru> User-Agent: Opera Mail/9.00 (FreeBSD) UNIFESP-Virus-Scanned: by amavisd-new at dis.epm.br X-Mailman-Approved-At: Wed, 17 May 2006 14:44:18 +0000 Cc: Subject: Re: Fwd: kldfind X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 14:42:56 -0000 > Hello Ricardo! > > I think it will be better if your utility displays short description for > each kld module (from man page for example). Hi Alexey, Thanks for all feedback's, i update kldfind for v53 in http://ricardo.epm.br/freebsd/script/kldfind/kldfind-v053, i short description is very util, i will work in integrated kldfind with section name in respective manual, for next version. changelog, v0.52: Replace exit codes and change case per ( getopts + case) v0.53: Add new option (quiet and verbose) default output is short version. Short output (default) ./kldfind-v053 -c acpi /boot/kernel/acpi_asus.ko /boot/kernel/acpi_fujitsu.ko /boot/kernel/acpi_ibm.ko /boot/kernel/acpi_panasonic.ko /boot/kernel/acpi_sony.ko /boot/kernel/acpi_toshiba.ko /boot/kernel/acpi_video.ko /boot/modules/acpi_asus.ko ./kldfind-v053 -vc acpi (verbose output) >> Search finish, 7 resultes for /boot/kernel acpi_asus acpi_fujitsu acpi_ibm acpi_panasonic acpi_sony acpi_toshiba acpi_video >> Search finish, 1 resultes for /boot/modules acpi_asus >> Search finish, 0 resultes for /usr/local/modules Quiet output, return 1 or 0 if ./kldfind-v053 -qc acpi; then echo YES;else echo NO;fi YES if ./kldfind-v053 -qc aaaaaacpi; then echo YES;else echo NO;fi NO Thanks, any comments is very util. > > Ricardo A. Reis wrote: >> >> ------- Forwarded message ------- >> From: "Ricardo A. Reis" >> To: "freebsd-stable@freebsd.org" >> Cc: >> Subject: kldfind >> Date: Tue, 16 May 2006 15:03:20 -0300 >> >> >> Hi all, >> >> >> I writed one script for find freebsd kernel modules, >> >> >> [ricardo@myfreebsd:~/kldfind] # ./kldfind >> usage: kldfind [-chs] string >> >> [ricardo@myfreebsd:~/kldfind] # ./kldfind -h >> Options: >> -c -- find all matchs for category >> -s -- string match >> >> [ricardo@myfreebsd:~/kldfind] # ./kldfind -c acpi >>>> Searching ... >> >>>> Resultes for /boot/kernel >> >> acpi_asus >> acpi_fujitsu >> acpi_ibm >> acpi_panasonic >> acpi_sony >> acpi_toshiba >> acpi_video >> acpi_dock >> >> [ricardo@myfreebsd:~/kldfind] # ./kldfind -s vlan >>>> Searching ... >> >>>> Resultes for /boot/kernel >> >> if_vlan >> ng_vlan >> >> Any feedback is very util, >> >> >> http://ricardo.epm.br/freebsd/script/ >> >> Ricardo A. Reis >> UNIFESP >> Unix and Network Admin >> >> >> _______________________________________________________ >> Abra sua conta no Yahoo! Mail: 1GB de espac,o, alertas de e-mail no >> celular e anti-spam realmente eficaz. >> http://br.info.mail.yahoo.com/ >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to >> "freebsd-stable-unsubscribe@freebsd.org" >> >> >> >> --Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ >> >> >> _______________________________________________________Novo Yahoo! >> Messenger com voz: Instale agora e fac,a ligac,o~es de >> grac,a.http://br.messenger.yahoo.com/ >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to >> "freebsd-current-unsubscribe@freebsd.org" >> >> >> > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" -- Atenciosamente Ricardo A. Reis UNIFESP Unix and Network Adm From owner-freebsd-hackers@FreeBSD.ORG Wed May 17 15:11:22 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FE7816AA59 for ; Wed, 17 May 2006 15:11:22 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B65143D8D for ; Wed, 17 May 2006 15:11:10 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.14] (imini.samsco.home [192.168.254.14]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k4HFB0LA058204; Wed, 17 May 2006 09:11:05 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <446B3D04.2070602@samsco.org> Date: Wed, 17 May 2006 09:11:00 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050416 X-Accept-Language: en-us, en MIME-Version: 1.0 To: hongz@promisechina.com References: <1147856676$63109$94009980@hongz@promisechina.com> In-Reply-To: <1147856676$63109$94009980@hongz@promisechina.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.1 required=3.8 tests=ALL_TRUSTED, SUBJECT_ENCODED_TWICE autolearn=no version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-hackers@freebsd.org Subject: Re: =?gb2312?b?tPC4tDogtPC4tDogaGVscDpIb3cgdG8gbWFwIGEgcGh5c2lj?= =?gb2312?b?YWwgYWRkcmVzcyBpbnRvIGEga2VybmVsIGFkZHJlc3M/?= X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 15:11:23 -0000 hongz@promisechina.com wrote: > Hi guys: > > The attached file is the sample codes of my HBA driver. I make notes on the > place where the address transfer is needed. Please make comments if > possible. > > Thanks a lot! > > Hong > It looks like the primary question that you are asking in the code is this: How to get the kernel virtual address of csio->data_ptr? Correct? The answer is that csio->data_ptr is a kernel virtual address already if the CAM_DATA_PHYS flag is not set. For prepare_sg_table, you can just ignore the case where it isn't unless you expect to also write software that will use the flag (CAM was originally written for an application that did use this flag, but it's use is no longer common). As for ft_map_sg, the only way that you can be in there is if CAM_DATA_PHYS was not set, so it's safe to say that csio->data_ptr is a kernel virtaul address. One thing to note about your code is that Local_StartIO should be called from within ft_map_sg instead of ft_cam_action. That way the EINPROGRESS status of bus_dmamap_load will be handled correctly. I can' describe this more if you have questions. Scott From owner-freebsd-hackers@FreeBSD.ORG Wed May 17 15:26:05 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2ECF716A50C for ; Wed, 17 May 2006 15:26:05 +0000 (UTC) (envelope-from myst@tut.by) Received: from tut.by (speedy.tutby.com [195.137.160.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8510543D4C for ; Wed, 17 May 2006 15:26:03 +0000 (GMT) (envelope-from myst@tut.by) Received: from [65.200.107.1] (account myst HELO [10.21.48.254]) by tut.by (CommuniGate Pro SMTP 4.3.8) with ESMTPA id 61661127; Wed, 17 May 2006 18:25:57 +0300 Message-ID: <446B4084.5000903@tut.by> Date: Wed, 17 May 2006 18:25:56 +0300 From: Stas Myasnikov User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Maslan References: <319cceca0605170643u4b407a2fg9c2d60f6c8c1ddb4@mail.gmail.com> In-Reply-To: <319cceca0605170643u4b407a2fg9c2d60f6c8c1ddb4@mail.gmail.com> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Sysinstall sucks X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 15:26:06 -0000 Hello, > I was updating my system from 5.4 to 6.1, i did a fresh install, but > after sysinstall finishes it had damaged the MBR. (1) > I have 1 ext3 partitions and 2 ufs partitions, one for dfly and the > other for fbsd. > The other thing that during the installation i wanted to repartition, > but when i click partitioning, sysintall catch a signal and terminate, Strange enough, since sysinstall writes to disk ONLY after you set all options and press YES. BTW at (1) you write that sysinstall had finished before your MBR was wiped out. So did sysinstall finish, or it catch the some signal? Stas From owner-freebsd-hackers@FreeBSD.ORG Wed May 17 17:39:44 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B71716AB60 for ; Wed, 17 May 2006 17:39:44 +0000 (UTC) (envelope-from maslanbsd@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id F21CC43D5F for ; Wed, 17 May 2006 17:39:38 +0000 (GMT) (envelope-from maslanbsd@gmail.com) Received: by wr-out-0506.google.com with SMTP id i28so244492wra for ; Wed, 17 May 2006 10:39:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gCX4f7vd3F+VU4M0k1Hd1VLH9NVwlKB8u5tzScUgBlPfFzZ2M3/PtHtSrgm0E0x4rGQnU3W2pUkcXbQPIZPqCfaJiOWiJ6cZVacp+Yu0rQ4gJrnsfp1dHQPDkUHNUJvJOViym56UAYHlw+HExn/70TkIlWFZ5TRc1TaRmGZOyzg= Received: by 10.54.80.6 with SMTP id d6mr650625wrb; Wed, 17 May 2006 10:39:38 -0700 (PDT) Received: by 10.54.101.18 with HTTP; Wed, 17 May 2006 10:39:38 -0700 (PDT) Message-ID: <319cceca0605171039t2a823313s5553603bab3bd436@mail.gmail.com> Date: Wed, 17 May 2006 20:39:38 +0300 From: Maslan To: "Stas Myasnikov" In-Reply-To: <446B4084.5000903@tut.by> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <319cceca0605170643u4b407a2fg9c2d60f6c8c1ddb4@mail.gmail.com> <446B4084.5000903@tut.by> Cc: freebsd-hackers@freebsd.org Subject: Re: Sysinstall sucks X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 17:39:47 -0000 > Strange enough, since sysinstall writes to disk ONLY after you set all > options and press YES. BTW at (1) you write that sysinstall had > finished before your MBR was wiped out. So did sysinstall finish, or it > catch the some signal? > > Stas > It didn't run at all fdisk, it catch a some signal and crash. I didn't need to repartation since i've already 2 bsd slices each has each own partitions so i just clicked on the labeling step and make some changes to the partitions inside the already bsd slice (ad0s4). Then everything contiued normally, and the system has been installed. but i found grub (installed on MBR with files on linux ext3 partition) gives as i remember error 22, i booted my slack cd and run cfdisk and found that parititions is no longer available and marked as empty space. I used gpart and fixed the problem, and i didn't need to re-install anything. even the newly installed freebsd system was preserved. --=20 I'm Searching For Perfection, So Even If U Need Portability U've To Use Assembly ;-) http://www.maslanlab.org http://libosdk.berlios.de From owner-freebsd-hackers@FreeBSD.ORG Wed May 17 15:48:41 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CA4D16A411; Wed, 17 May 2006 15:48:41 +0000 (UTC) (envelope-from ricardo_bsd@yahoo.com.br) Received: from maritaca.epm.br (mail.dis.epm.br [200.17.25.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9029543D45; Wed, 17 May 2006 15:48:40 +0000 (GMT) (envelope-from ricardo_bsd@yahoo.com.br) Received: from localhost (localhost.localdomain [127.0.0.1]) by maritaca.epm.br (Postfix) with ESMTP id 00C173AB7; Wed, 17 May 2006 12:48:39 -0300 (BRST) Received: from localhost (ricardo.epm.br [172.22.1.166]) by maritaca.epm.br (Postfix) with ESMTP id F03E03AA5; Wed, 17 May 2006 12:48:33 -0300 (BRST) Date: Wed, 17 May 2006 12:48:33 -0300 To: "freebsd-current@freebsd.org" , "freebsd-stable@freebsd.org" , "freebsd-hackers@freebsd.org" From: "Ricardo A. Reis" Organization: UNIFESP Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: <446ABF8A.9050206@wincmd.ru> Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: User-Agent: Opera Mail/9.00 (FreeBSD) UNIFESP-Virus-Scanned: by amavisd-new at dis.epm.br X-Mailman-Approved-At: Thu, 18 May 2006 11:45:08 +0000 Cc: Subject: Re: Fwd: kldfind X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 15:48:42 -0000 >> Hello Ricardo! >> >> I think it will be better if your utility displays short description >> for each kld module (from man page for example). > > > Hi Alexey, > > > Thanks for all feedback's, i update kldfind for v53 in > http://ricardo.epm.br/freebsd/script/kldfind/kldfind-v053, i short > description > is very util, i will work in integrated kldfind with section name > in respective manual, for next version. Hi Alexey, I add short description and update kldfind in http://ricardo.epm.br/freebsd/script/kldfind/kldfind-v054 ./kldfind-v054 -vs ugen >> Search finish, 1 resultes for /boot/kernel ugen, USB generic device support changelog v0.54: Add short description for verbose output, With new verbose output, i have two problems: 1 - Limit short description, 2 - KLD without man, # ./kldfind-v054 -vs acpi >> Search finish, 8 resultes for /boot/kernel acpi, Asus Laptop Extras ACPI hotkey driver for Panasonic laptops Toshiba HCI interface Fujitsu Laptop Extras ACPI extras driver for IBM laptops ACPI notebook controller driver for Sony laptops Advanced Configuration and Power Management support ACPI thermal management subsystem ACPI Video Extensions driver control ACPI power management ACPI DSDT debugger dump ACPI tables and ASL acpi_asus, Asus Laptop Extras acpi_fujitsu, Fujitsu Laptop Extras acpi_ibm, ACPI extras driver for IBM laptops acpi_panasonic, ACPI hotkey driver for Panasonic laptops acpi_sony, ACPI notebook controller driver for Sony laptops acpi_toshiba, Toshiba HCI interface acpi_video, ACPI Video Extensions driver >> Search finish, 1 resultes for /boot/modules acpi_asus, Asus Laptop Extras ./kldfind-v054 -vs snd >> Search finish, 26 resultes for /boot/kernel snd_als4000, Avance Logic ALS4000 PCI bridge device driver snd_ad1816, Analog Devices AD1816 ISA bridge device driver snd_atiixp, ATI IXP bridge device driver snd_cmi, CMedia CMI8338/CMI8738 PCI bridge device driver snd_cs4281, Crystal Semiconductor CS4281 PCI bridge device driver snd_csa, Crystal Semiconductor CS461x/462x/4280 PCI bridge device driver snd_ds1, Yamaha DS-1 PCI bridge device driver snd_ess, Ensoniq ESS ISA PnP/non-PnP bridge device driver snd_emu10k1, SoundBlaster Live! and Audigy PCI bridge device driver snd_es137x, Ensoniq AudioPCI ES137x bridge device driver snd_fm801, Forte Media FM801 bridge device driver snd_ich, Intel ICH PCI and compatible bridge device driver snd_maestro, ESS Maestro bridge device driver ESS Maestro3/Allegro-1 bridge device driver snd_maestro3, ESS Maestro3/Allegro-1 bridge device driver snd_mss, Microsoft Sound System ISA PnP/non-PnP bridge device driver snd_neomagic, NeoMagic 256AV/ZX bridge device driver snd_sb16, snd_sb8, snd_sbc, Creative Sound Blaster ISA and compatible bridge device driver Thanks for all comments, -- Atenciosamente Ricardo A. Reis UNIFESP Unix and Network Adm From owner-freebsd-hackers@FreeBSD.ORG Thu May 18 12:09:56 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9C9716A56D for ; Thu, 18 May 2006 12:09:56 +0000 (UTC) (envelope-from gizmen@blurp.pl) Received: from blurp.t2.ds.pwr.wroc.pl (blurp.t2.ds.pwr.wroc.pl [156.17.224.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3168543D48 for ; Thu, 18 May 2006 12:09:53 +0000 (GMT) (envelope-from gizmen@blurp.pl) Received: from blurp.t2.ds.pwr.wroc.pl (last.blurp.pl [127.0.0.25]) by blurp.t2.ds.pwr.wroc.pl (Postfix) with ESMTP id 2E0F66BB for ; Thu, 18 May 2006 14:09:50 +0200 (CEST) Received: from wfs.blurp.pl (localhost [127.0.0.1]) by blurp.t2.ds.pwr.wroc.pl (Postfix) with ESMTP id D811E6A6 for ; Thu, 18 May 2006 14:09:49 +0200 (CEST) Received: from phpmailer ([156.17.224.6]) by wfs.blurp.pl with HTTP (PHPMailer); Thu, 18 May 2006 14:09:49 +0200 Date: Thu, 18 May 2006 14:09:49 +0200 To: hackers@freebsd.org From: Bartosz Giza Message-ID: X-Priority: 3 X-Mailer: PHPMailer [version 1.71] X-Mailer: FeLaMiMail version 0.9.5 Organization: GiZmen MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Cc: Subject: Problem with jails after upgrading to 6.1-STABLE X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 12:10:02 -0000 Hi, Recently i have upgraded my box to 6.1-STABLE. Before i have had = 6.0-STABLE. I am running couple of jails on this box and right now something is = messed=20 up with startup scripts or somewhere else. Worst thing is that i can't stop them using rc.d/jail script: root@blurp:~# jls JID IP Address Hostname Path 10 127.0.0.107 clamsmtpd.xxxx.xx /usr/jails/clamav 9 127.0.0.106 clamd.xxxx.xx /usr/jails/clamav 8 127.0.0.105 freshclam.xxxx.xx /usr/jails/clamav root@blurp:~# ps axO jid |grep J PID JID TT STAT TIME COMMAND 1443 8 ?? IsJ 0:00,19 /usr/local/bin/freshclam --daemon 1459 9 ?? IsJ 0:49,15 /usr/local/sbin/clamd 1474 10 ?? IsJ 0:05,79 /usr/local/sbin/clamsmtpd root@blurp:~# /etc/rc.d/jail stop clamsmtpd Stopping jails: clamsmtpd.blurp.pl. root@blurp:~# jls JID IP Address Hostname Path 10 127.0.0.107 clamsmtpd.blurp.pl /usr/jails/clamav 9 127.0.0.106 clamd.blurp.pl /usr/jails/clamav 8 127.0.0.105 freshclam.blurp.pl /usr/jails/clamav root@blurp:~# ps axO jid | grep J PID JID TT STAT TIME COMMAND 1443 8 ?? IsJ 0:00,19 /usr/local/bin/freshclam --daemon 1459 9 ?? SsJ 0:49,15 /usr/local/sbin/clamd 1474 10 ?? IsJ 0:05,79 /usr/local/sbin/clamsmtpd I have tried to find what is wrong with this. And i think the problem = is=20 with killall which is used to in rc.d/jail script: root@blurp:~# killall -j 10 No matching processes were found And as i have shown earlier, there is process running with jid 10. To stop this jail i have to kill this proces by pid. root@blurp:~# uname -a=20 FreeBSD blurp.pl 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat May 13 13:09:51 = CEST=20 2006 root@blurp.pl:/crypto/obj/usr/src/sys/BLURP i386 This is really problematic when i have to stop more jails and start = them=20 again. Could anyone tell me what is wrong or this is bug and i should PR = it. I have upgraded every files with mergemaster -p; and then with = mergemaster.=20 So i have starup scrips from STABLE branch. PS: i have listed only 3 jails but i runing more off them and they have = same problem exept of apache which i can kill with script and killall -j xx ? = :( Don't know where is problem .... please help.. thx --=20 [] Bartosz Giza From owner-freebsd-hackers@FreeBSD.ORG Thu May 18 12:11:27 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEF6E16A4CC for ; Thu, 18 May 2006 12:11:27 +0000 (UTC) (envelope-from soralx@cydem.org) Received: from pd4mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEAF243D5F for ; Thu, 18 May 2006 12:11:21 +0000 (GMT) (envelope-from soralx@cydem.org) Received: from pd2mr1so.prod.shaw.ca (pd2mr1so-qfe3.prod.shaw.ca [10.0.141.110]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IZG00ISAN6X09D0@l-daemon> for freebsd-hackers@freebsd.org; Thu, 18 May 2006 06:11:21 -0600 (MDT) Received: from pn2ml3so.prod.shaw.ca ([10.0.121.147]) by pd2mr1so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IZG00LTZN6XY610@pd2mr1so.prod.shaw.ca> for freebsd-hackers@freebsd.org; Thu, 18 May 2006 06:11:21 -0600 (MDT) Received: from soralx.cydem.org ([24.87.27.3]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IZG00679N6WY520@l-daemon> for freebsd-hackers@freebsd.org; Thu, 18 May 2006 06:11:20 -0600 (MDT) Date: Thu, 18 May 2006 05:11:20 -0700 From: soralx@cydem.org To: freebsd-hackers@freebsd.org Message-id: <200605180511.20350.soralx@cydem.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Content-disposition: inline User-Agent: KMail/1.9.1 Subject: [PATCH] Linksys PCM200 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 12:11:51 -0000 [no reply on -hardware] This adds Linksys PCM200 10/100 PCMCIA NIC device IDs. It's probably a good idea to update dc(4) and supported hw list also. Index: if_dc.c =================================================================== RCS file: /home/ncvs/src/sys/pci/if_dc.c,v retrieving revision 1.152 diff -u -p -r1.152 if_dc.c --- if_dc.c 1 Oct 2004 15:23:31 -0000 1.152 +++ if_dc.c 21 Oct 2004 22:32:39 -0000 @@ -218,6 +218,10 @@ static struct dc_type dc_devs[] = { "Microsoft MN-130 10/100" }, { DC_VENDORID_MICROSOFT, DC_DEVICEID_MSMN130_FAKE, "Microsoft MN-130 10/100" }, + { DC_VENDORID_LINKSYS, DC_DEVICEID_PCM200_AB08, + "Linksys PCM200 10/100 CardBus NIC, v.03 [ADMtek Centaur-C]" }, + { DC_VENDORID_LINKSYS, DC_DEVICEID_PCM200_AB09, + "Linksys PCM200 10/100 CardBus NIC, v.03 [ADMtek Centaur-C]" }, { 0, 0, NULL } }; @@ -1917,10 +1921,16 @@ dc_attach(device_t dev) case DC_DEVICEID_FA511: case DC_DEVICEID_FE2500: case DC_DEVICEID_EN2242: - case DC_DEVICEID_HAWKING_PN672TX: + case DC_DEVICEID_HAWKING_PN672TX: +#if 0 /* DC_DEVICEID_HAWKING_PN672TX has the same ID as the following */ + case DC_DEVICEID_FE2500MX: + case DC_DEVICEID_FNW3602T: + case DC_DEVICEID_PCM200_AB08: +#endif case DC_DEVICEID_3CSOHOB: case DC_DEVICEID_MSMN120: case DC_DEVICEID_MSMN130_FAKE: /* XXX avoid collision with PNIC*/ + case DC_DEVICEID_PCM200_AB09: sc->dc_type = DC_TYPE_AN985; sc->dc_flags |= DC_64BIT_HASH; sc->dc_flags |= DC_TX_USE_TX_INTR; Index: if_dcreg.h =================================================================== RCS file: /home/ncvs/src/sys/pci/if_dcreg.h,v retrieving revision 1.42 diff -u -p -r1.42 if_dcreg.h --- if_dcreg.h 29 Jun 2004 20:38:44 -0000 1.42 +++ if_dcreg.h 21 Oct 2004 22:32:40 -0000 @@ -998,6 +998,17 @@ struct dc_softc { #define DC_DEVICEID_MSMN130_FAKE 0xFFF2 /* + * Linksys vendor ID + */ +#define DC_VENDORID_LINKSYS 0x1737 + +/* + * Linksys device IDs + */ +#define DC_DEVICEID_PCM200_AB08 0xab08 +#define DC_DEVICEID_PCM200_AB09 0xab09 + +/* * PCI low memory base and low I/O base register, and * other PCI registers. */ Timestamp: 0x4462D4BE [SorAlx] ridin' VN1500-B2 From owner-freebsd-hackers@FreeBSD.ORG Thu May 18 13:03:20 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2D5116A53A; Thu, 18 May 2006 13:03:20 +0000 (UTC) (envelope-from ricardo_bsd@yahoo.com.br) Received: from maritaca.epm.br (mail.dis.epm.br [200.17.25.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id C84BD43D73; Thu, 18 May 2006 13:03:16 +0000 (GMT) (envelope-from ricardo_bsd@yahoo.com.br) Received: from localhost (localhost.localdomain [127.0.0.1]) by maritaca.epm.br (Postfix) with ESMTP id 409CB394A; Thu, 18 May 2006 10:03:15 -0300 (BRST) Received: from localhost (ricardo.epm.br [172.22.1.166]) by maritaca.epm.br (Postfix) with ESMTP id 47B573AB5; Thu, 18 May 2006 10:03:07 -0300 (BRST) Date: Thu, 18 May 2006 10:03:06 -0300 To: "freebsd-hackers@freebsd.org" From: "Ricardo A. Reis" Organization: UNIFESP Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera Mail/9.00 (FreeBSD) UNIFESP-Virus-Scanned: by amavisd-new at dis.epm.br Cc: "freebsd-current@freebsd.org" Subject: Kldfind updated, version 0.55 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 13:03:22 -0000 Hi all, I attempt to create one script for turn easy find for kernel modules, for this i writed `kldfind` and distributed in http://ricardo.epm.br/freebsd/script/kldfind/kldfind-v055. Changelog v0.55: Replace echo per printf, in short description v0.55: Replace in $SHORT_DESCRIPTION, now -v is very fast. # ./kldfind-v055 -vc snd >> Search finish, 26 resultes for /boot/kernel KLD Description --- ----------- >> snd_als4000, Avance Logic ALS4000 PCI bridge device driver >> snd_ad1816, Analog Devices AD1816 ISA bridge device driver >> snd_atiixp, ATI IXP bridge device driver >> snd_cmi, CMedia CMI8338/CMI8738 PCI bridge device driver >> snd_cs4281, Crystal Semiconductor CS4281 PCI bridge device >> driver >> snd_csa, Crystal Semiconductor CS461x/462x/4280 PCI bridge >> device >> snd_ds1, Yamaha DS-1 PCI bridge device driver >> snd_ess, Ensoniq ESS ISA PnP/non-PnP bridge device driver >> snd_emu10k1, SoundBlaster Live! and Audigy PCI bridge device >> driver >> snd_es137x, Ensoniq AudioPCI ES137x bridge device driver >> snd_fm801, Forte Media FM801 bridge device driver Now, i like the recever any comments about kldfind, in the next step i think in document script and update man. Thanks for all coments, -- Atenciosamente Ricardo A. Reis UNIFESP Unix and Network Adm From owner-freebsd-hackers@FreeBSD.ORG Thu May 18 17:48:31 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16F0716A48B for ; Thu, 18 May 2006 17:48:31 +0000 (UTC) (envelope-from daniloegea@yahoo.com.br) Received: from web50701.mail.yahoo.com (web50701.mail.yahoo.com [206.190.38.99]) by mx1.FreeBSD.org (Postfix) with SMTP id D363643D46 for ; Thu, 18 May 2006 17:48:29 +0000 (GMT) (envelope-from daniloegea@yahoo.com.br) Received: (qmail 43935 invoked by uid 60001); 18 May 2006 17:48:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=gzzk6bfIQPBy4SLdEo2QJyiZKx6bXrpxNq6Pm0gBkfjp9G3AryVVyAkI4YZ6k+n/MrIGBABD10egN0W8DdPeVevqlWxo3T0uKZpuimQxDNdbro37GawX56sklrB8cl6EkzjAUZEB4ZLBgqIYReiCCTRAzaGdMQjCIF5y4/UCt+U= ; Message-ID: <20060518174829.43933.qmail@web50701.mail.yahoo.com> Received: from [200.146.119.3] by web50701.mail.yahoo.com via HTTP; Thu, 18 May 2006 14:48:29 ART Date: Thu, 18 May 2006 14:48:29 -0300 (ART) From: Danilo Egea To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: hawking hwp54g on freebsd (ok) (portuguese) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 17:48:31 -0000 solution -> daniloegea.blogspot.com Meu Blog - daniloegea.blogspot.com --------------------------------- Yahoo! Search Música para ver e ouvir: You're Beautiful, do James Blunt From owner-freebsd-hackers@FreeBSD.ORG Thu May 18 19:27:13 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CC5216A40E for ; Thu, 18 May 2006 19:27:13 +0000 (UTC) (envelope-from drue@therub.org) Received: from cenn.mc.mpls.visi.com (cenn.mc.mpls.visi.com [208.42.156.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6A0643D46 for ; Thu, 18 May 2006 19:27:12 +0000 (GMT) (envelope-from drue@therub.org) Received: from egypt.therub.org (therub.org [209.98.146.43]) by cenn.mc.mpls.visi.com (Postfix) with ESMTP id EC577843F; Thu, 18 May 2006 14:27:11 -0500 (CDT) Received: by egypt.therub.org (Postfix, from userid 1001) id A892245659B; Thu, 18 May 2006 14:27:11 -0500 (CDT) Date: Thu, 18 May 2006 14:27:11 -0500 From: Dan Rue To: Bartosz Giza Message-ID: <20060518192711.GQ42385@therub.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: hackers@freebsd.org Subject: Re: Problem with jails after upgrading to 6.1-STABLE X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 19:27:13 -0000 On Thu, May 18, 2006 at 02:09:49PM +0200, Bartosz Giza wrote: > Hi, > > Recently i have upgraded my box to 6.1-STABLE. Before i have had 6.0-STABLE. > > I am running couple of jails on this box and right now something is messed > up with startup scripts or somewhere else. > Worst thing is that i can't stop them using rc.d/jail script: 6.1 shipped with a buggy /etc/rc.d/jail script.. See this post from freebsd-stable: http://lists.freebsd.org/pipermail/freebsd-stable/2006-May/025445.html Dan From owner-freebsd-hackers@FreeBSD.ORG Fri May 19 00:31:15 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B79E216A421 for ; Fri, 19 May 2006 00:31:15 +0000 (UTC) (envelope-from gs_stoller@juno.com) Received: from outbound-mail.nyc.untd.com (outbound-mail.nyc.untd.com [64.136.20.164]) by mx1.FreeBSD.org (Postfix) with SMTP id 22DDD43D46 for ; Fri, 19 May 2006 00:31:14 +0000 (GMT) (envelope-from gs_stoller@juno.com) Received: from webmail45.nyc.untd.com (webmail45.nyc.untd.com [10.141.27.185]) by smtpout03.nyc.untd.com with SMTP id AABCG4EQEAQUN7XA for (sender ); Thu, 18 May 2006 17:31:00 -0700 (PDT) Received: (from gs_stoller@juno.com) by webmail45.nyc.untd.com (jqueuemail) id LQPPUD73; Thu, 18 May 2006 17:30:02 PDT Received: from [67.84.52.37] by webmail45.nyc.untd.com with HTTP: Fri, 19 May 2006 00:29:46 GMT X-Originating-IP: [67.84.52.37] Mime-Version: 1.0 From: "gs_stoller@juno.com" Date: Fri, 19 May 2006 00:29:46 GMT To: unixforums@yahoo.com X-Mailer: Webmail Version 4.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-Type: text/plain Message-Id: <20060518.173002.12386.846623@webmail45.nyc.untd.com> X-ContentStamp: 1:1:1605911915 X-UNTD-OriginStamp: /s5f1SIGSI3+WdnoYQ8yRERFdwvQe/TmayDHn/BEA1oitnnhvK+Yog== X-UNTD-Peer-Info: 10.141.27.185|webmail45.nyc.untd.com|webmail45.nyc.untd.com|gs_stoller@juno.com Cc: freebsd-hackers@freebsd.org Subject: Re: how to change roots shell X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 00:31:15 -0000 Login as root, type "vipw" hich puts you into vi on thwe password file= , and change the root's shell to whatever you want (provided the path is= legal). From owner-freebsd-hackers@FreeBSD.ORG Fri May 19 00:36:21 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A5F916A452 for ; Fri, 19 May 2006 00:36:21 +0000 (UTC) (envelope-from julian@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75B8043D5C for ; Fri, 19 May 2006 00:36:20 +0000 (GMT) (envelope-from julian@elischer.org) Received: from unknown (HELO [10.251.23.205]) ([10.251.23.205]) by a50.ironport.com with ESMTP; 18 May 2006 17:36:20 -0700 Message-ID: <446D1303.3030905@elischer.org> Date: Thu, 18 May 2006 17:36:19 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: announce@bafug.org, hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: BAFUG talks archives X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 00:36:22 -0000 http://www.freebsd.org/~julian/BAFUG/talks ACPI ...............Nate Lawson on ACPI AMD64...............Peter Wemm Netgraph ...........Julian Elischer SuperPages..........Alan Cox on Superpages WIFI................Sam Leffler badaudio-TCP........Alan Cox on offloading TCP.. Audio very weak Note that the last few minutes of the TCP talk appear at the beginning of the Superpages talk. They were contiguous but we got a better microphone. The ACPI talk and the two by Alan Cox are new. These are raw and unedited. From owner-freebsd-hackers@FreeBSD.ORG Fri May 19 00:38:09 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7A1216A4A0 for ; Fri, 19 May 2006 00:38:09 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF22D43D4C for ; Fri, 19 May 2006 00:37:58 +0000 (GMT) (envelope-from killing@multiplay.co.uk) Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [85.236.96.23]) (MDaemon.PRO.v8.1.3.R) with ESMTP id md50002573829.msg for ; Fri, 19 May 2006 01:37:04 +0100 Message-ID: <008c01c67adc$590a2a30$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: Date: Fri, 19 May 2006 01:36:54 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Spam-Processed: multiplay.co.uk, Fri, 19 May 2006 01:37:04 +0100 (not processed: message from valid local sender) X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-hackers@freebsd.org X-MDAV-Processed: multiplay.co.uk, Fri, 19 May 2006 01:37:05 +0100 Subject: NFS server not responding prevents boot X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 00:38:10 -0000 I was doing some kernel patches the other day and rebooted a FreeBSD 5.4 machine to pick them up, unfortunately I didn't notice someone had put in a bad nfs mount in /etc/fstab i.e. to a machine that no longer existed. This prevented the server coming back onto the network enough to fix the error ( sshd never started ). With the machine being remote I ended up having to send an engineer in to press CTRL + C on the keyboard to enable the machine to boot ( didn't know it would be that simple before he got there ). Anyway the big question is how can I change all our NFS mounts so that failed mounts dont prevent the machines booting to the point where they can be fixed remotely i.e. have started sshd. Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-hackers@FreeBSD.ORG Fri May 19 00:47:44 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6433416A420 for ; Fri, 19 May 2006 00:47:44 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C14643D4C for ; Fri, 19 May 2006 00:47:43 +0000 (GMT) (envelope-from killing@multiplay.co.uk) Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [85.236.96.23]) (MDaemon.PRO.v8.1.3.R) with ESMTP id md50002573832.msg for ; Fri, 19 May 2006 01:47:14 +0100 Message-ID: <009b01c67add$c523d9e0$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: References: <008c01c67adc$590a2a30$b3db87d4@multiplay.co.uk> Date: Fri, 19 May 2006 01:47:05 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Spam-Processed: multiplay.co.uk, Fri, 19 May 2006 01:47:14 +0100 (not processed: message from valid local sender) X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-hackers@freebsd.org X-MDAV-Processed: multiplay.co.uk, Fri, 19 May 2006 01:47:15 +0100 Subject: Re: NFS server not responding prevents boot X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 00:47:44 -0000 Steven Hartland wrote: > Anyway the big question is how can I change all our NFS > mounts so that failed mounts dont prevent the machines > booting to the point where they can be fixed remotely > i.e. have started sshd. Doh!! spent ages googling for the answer then found it in 2mins of looking through the man pages. The option for anyone interested is "bg" for -b from the command line to mount: [quote="man mount_nfs"] -b If an initial attempt to contact the server fails, fork off a child to keep trying the mount in the background. Useful for fstab(5), where the file system mount is not critical to multi- user operation. ... bg Same as -b. [/quote] Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-hackers@FreeBSD.ORG Fri May 19 01:11:35 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12EC516A436 for ; Fri, 19 May 2006 01:11:35 +0000 (UTC) (envelope-from gs_stoller@juno.com) Received: from outbound-mail.nyc.untd.com (outbound-mail.nyc.untd.com [64.136.20.164]) by mx1.FreeBSD.org (Postfix) with SMTP id 6ADAA43D46 for ; Fri, 19 May 2006 01:11:34 +0000 (GMT) (envelope-from gs_stoller@juno.com) Received: from webmail23.nyc.untd.com (webmail23.nyc.untd.com [10.141.27.163]) by smtpout05.nyc.untd.com with SMTP id AABCG4G4EAZBQ5C2 for (sender ); Thu, 18 May 2006 18:11:32 -0700 (PDT) Received: (from gs_stoller@juno.com) by webmail23.nyc.untd.com (jqueuemail) id LQPR62A2; Thu, 18 May 2006 18:10:47 PDT Received: from [67.84.52.37] by webmail23.nyc.untd.com with HTTP: Fri, 19 May 2006 01:09:49 GMT X-Originating-IP: [67.84.52.37] Mime-Version: 1.0 From: "gs_stoller@juno.com" Date: Fri, 19 May 2006 01:09:49 GMT To: unixforums@yahoo.com X-Mailer: Webmail Version 4.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-Type: text/plain Message-Id: <20060518.181047.24282.992961@webmail23.nyc.untd.com> X-ContentStamp: 1:1:1605911915 X-UNTD-OriginStamp: /s5f1SIGSI3+WdnoYQ8yRDHgdxEl0vaJ7inE4d03zRrKrl1bAYX8pw== X-UNTD-Peer-Info: 10.141.27.163|webmail23.nyc.untd.com|webmail23.nyc.untd.com|gs_stoller@juno.com Cc: freebsd-hackers@freebsd.org Subject: Re: how to change roots shell X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 01:11:35 -0000 Login as root, type "vipw" hich puts you into vi on thwe password file= , and change the root's shell to whatever you want (provided the path is= legal). From owner-freebsd-hackers@FreeBSD.ORG Thu May 18 21:20:48 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69D8316A401 for ; Thu, 18 May 2006 21:20:48 +0000 (UTC) (envelope-from john@baldwin.cx) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCD2743D46 for ; Thu, 18 May 2006 21:20:47 +0000 (GMT) (envelope-from john@baldwin.cx) Received: from disgraceful.corp.yahoo.com (disgraceful.corp.yahoo.com [216.145.53.7]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k4ILKim4030850 for ; Thu, 18 May 2006 17:20:45 -0400 (EDT) (envelope-from john@baldwin.cx) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Thu, 18 May 2006 13:22:33 -0700 User-Agent: KMail/1.7.1 References: <200605180511.20350.soralx@cydem.org> In-Reply-To: <200605180511.20350.soralx@cydem.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605181322.33291.john@baldwin.cx> X-Virus-Scanned: ClamAV 0.87.1/1469/Thu May 18 16:27:11 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00, UPPERCASE_25_50 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx X-Mailman-Approved-At: Fri, 19 May 2006 02:33:43 +0000 Subject: Re: [PATCH] Linksys PCM200 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 21:20:48 -0000 On Thursday 18 May 2006 05:11, soralx@cydem.org wrote: > [no reply on -hardware] > > This adds Linksys PCM200 10/100 PCMCIA NIC device IDs. > It's probably a good idea to update dc(4) and supported hw list also. Sorry, I've been meaning to get to this. I need to fix dc to properly switch off on the full vendor/device id instead of just the device id part though to cleanly put this patch in, hence the delay. > Index: if_dc.c > =================================================================== > RCS file: /home/ncvs/src/sys/pci/if_dc.c,v > retrieving revision 1.152 > diff -u -p -r1.152 if_dc.c > --- if_dc.c 1 Oct 2004 15:23:31 -0000 1.152 > +++ if_dc.c 21 Oct 2004 22:32:39 -0000 > @@ -218,6 +218,10 @@ static struct dc_type dc_devs[] = { > "Microsoft MN-130 10/100" }, > { DC_VENDORID_MICROSOFT, DC_DEVICEID_MSMN130_FAKE, > "Microsoft MN-130 10/100" }, > + { DC_VENDORID_LINKSYS, DC_DEVICEID_PCM200_AB08, > + "Linksys PCM200 10/100 CardBus NIC, v.03 [ADMtek > Centaur-C]" }, + { DC_VENDORID_LINKSYS, DC_DEVICEID_PCM200_AB09, > + "Linksys PCM200 10/100 CardBus NIC, v.03 [ADMtek > Centaur-C]" }, { 0, 0, NULL } > }; > > @@ -1917,10 +1921,16 @@ dc_attach(device_t dev) > case DC_DEVICEID_FA511: > case DC_DEVICEID_FE2500: > case DC_DEVICEID_EN2242: > - case DC_DEVICEID_HAWKING_PN672TX: > + case DC_DEVICEID_HAWKING_PN672TX: > +#if 0 /* DC_DEVICEID_HAWKING_PN672TX has the same ID as the following */ > + case DC_DEVICEID_FE2500MX: > + case DC_DEVICEID_FNW3602T: > + case DC_DEVICEID_PCM200_AB08: > +#endif > case DC_DEVICEID_3CSOHOB: > case DC_DEVICEID_MSMN120: > case DC_DEVICEID_MSMN130_FAKE: /* XXX avoid collision with PNIC*/ > + case DC_DEVICEID_PCM200_AB09: > sc->dc_type = DC_TYPE_AN985; > sc->dc_flags |= DC_64BIT_HASH; > sc->dc_flags |= DC_TX_USE_TX_INTR; > Index: if_dcreg.h > =================================================================== > RCS file: /home/ncvs/src/sys/pci/if_dcreg.h,v > retrieving revision 1.42 > diff -u -p -r1.42 if_dcreg.h > --- if_dcreg.h 29 Jun 2004 20:38:44 -0000 1.42 > +++ if_dcreg.h 21 Oct 2004 22:32:40 -0000 > @@ -998,6 +998,17 @@ struct dc_softc { > #define DC_DEVICEID_MSMN130_FAKE 0xFFF2 > > /* > + * Linksys vendor ID > + */ > +#define DC_VENDORID_LINKSYS 0x1737 > + > +/* > + * Linksys device IDs > + */ > +#define DC_DEVICEID_PCM200_AB08 0xab08 > +#define DC_DEVICEID_PCM200_AB09 0xab09 > + > +/* > * PCI low memory base and low I/O base register, and > * other PCI registers. > */ > > Timestamp: 0x4462D4BE > [SorAlx] ridin' VN1500-B2 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Fri May 19 00:48:19 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDD3F16A433 for ; Fri, 19 May 2006 00:48:19 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: from mired.org (vpn.mired.org [66.92.153.74]) by mx1.FreeBSD.org (Postfix) with SMTP id C8F7343D48 for ; Fri, 19 May 2006 00:48:11 +0000 (GMT) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: (qmail 46849 invoked by uid 1001); 19 May 2006 00:48:10 -0000 Received: by bhuda.mired.org (tmda-sendmail, from uid 1001); Thu, 18 May 2006 20:48:10 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17517.5578.499715.568791@bhuda.mired.org> Date: Thu, 18 May 2006 20:48:10 -0400 To: "Steven Hartland" In-Reply-To: <008c01c67adc$590a2a30$b3db87d4@multiplay.co.uk> References: <008c01c67adc$590a2a30$b3db87d4@multiplay.co.uk> X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid X-Primary-Address: mwm@mired.org X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew) From: Mike Meyer X-Mailman-Approved-At: Fri, 19 May 2006 02:34:00 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: NFS server not responding prevents boot X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 00:48:20 -0000 In <008c01c67adc$590a2a30$b3db87d4@multiplay.co.uk>, Steven Hartland typed: > I was doing some kernel patches the other day and rebooted > a FreeBSD 5.4 machine to pick them up, unfortunately I didn't > notice someone had put in a bad nfs mount in /etc/fstab > i.e. to a machine that no longer existed. > > This prevented the server coming back onto the network > enough to fix the error ( sshd never started ). With the > machine being remote I ended up having to send an engineer > in to press CTRL + C on the keyboard to enable the machine > to boot ( didn't know it would be that simple before he got > there ). > > Anyway the big question is how can I change all our NFS > mounts so that failed mounts dont prevent the machines > booting to the point where they can be fixed remotely > i.e. have started sshd. Add -b to the options column for nfs-mounted volumes. That will cause the mount attempt to be done in the background if the first attempt fails. Of course you should beware of nfs volumes that are required for a system to boot properly. You have to decide whether "hung waiting for the remote file system" is better or worse than the state you get if the system boots without that file system mounted. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. From owner-freebsd-hackers@FreeBSD.ORG Fri May 19 11:10:28 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE0EF16A426 for ; Fri, 19 May 2006 11:10:28 +0000 (UTC) (envelope-from babkin@verizon.net) Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83A1F43D45 for ; Fri, 19 May 2006 11:10:28 +0000 (GMT) (envelope-from babkin@verizon.net) Received: from vms168.mailsrvcs.net ([192.168.1.1]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IZI00F93F1EW6I7@vms048.mailsrvcs.net> for freebsd-hackers@freebsd.org; Fri, 19 May 2006 06:10:26 -0500 (CDT) Date: Fri, 19 May 2006 06:10:25 -0500 (CDT) From: Sergey Babkin To: Steven Hartland , freebsd-hackers@freebsd.org Message-id: <18923565.8854391148037026048.JavaMail.root@vms168.mailsrvcs.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Mailman-Approved-At: Fri, 19 May 2006 11:30:44 +0000 Cc: Subject: Re: Re: NFS server not responding prevents boot X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: babkin@users.sf.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 11:10:30 -0000 >From: Steven Hartland >> Anyway the big question is how can I change all our NFS >> mounts so that failed mounts dont prevent the machines >> booting to the point where they can be fixed remotely >> i.e. have started sshd. > >Doh!! spent ages googling for the answer then found it >in 2mins of looking through the man pages. > >The option for anyone interested is "bg" for -b from >the command line to mount: >[quote="man mount_nfs"] >-b >If an initial attempt to contact the server fails, fork off a I usually use "soft,bg". The "soft" option makes the operations on this filesystem fail if the server is not available instead of hanging (unkillable!) forever and waiting for the server to come up. -SB From owner-freebsd-hackers@FreeBSD.ORG Fri May 19 13:13:58 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40F5916A536 for ; Fri, 19 May 2006 13:13:58 +0000 (UTC) (envelope-from betogigi@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD78A43D48 for ; Fri, 19 May 2006 13:13:57 +0000 (GMT) (envelope-from betogigi@gmail.com) Received: by nz-out-0102.google.com with SMTP id 13so715282nzn for ; Fri, 19 May 2006 06:13:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Sbbj16CzNwmvLrLuVHxeVY0wPO0rtymGklxWjRVNMbEK0Jos1NBrz/kF6GE0EclbpCpV8mlTdGN60NLVzIJpVvgl/aOxaoOfDSRdXoUyjyKE/ezn5x+Tyc6aA0jvq9LhRFmInTOQ/d8A2CcmdOFnQ8JyMcfmRl1vC2campbrC7A= Received: by 10.65.97.14 with SMTP id z14mr1375647qbl; Fri, 19 May 2006 06:13:57 -0700 (PDT) Received: by 10.65.141.8 with HTTP; Fri, 19 May 2006 06:13:57 -0700 (PDT) Message-ID: Date: Fri, 19 May 2006 10:13:57 -0300 From: "Roberto Lima" To: "Bartosz Giza" , hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Subject: Re: Problem with jails after upgrading to 6.1-STABLE X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 13:13:58 -0000 Hi, your problem is simple, if jid shows in jls yet, just try: pkill -j JID ps: -j flag works only RELENG_6 thanks and sorry for my bad english. Roberto. From owner-freebsd-hackers@FreeBSD.ORG Fri May 19 13:18:01 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B005C16A484 for ; Fri, 19 May 2006 13:18:01 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20EF843D46 for ; Fri, 19 May 2006 13:18:00 +0000 (GMT) (envelope-from killing@multiplay.co.uk) Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [85.236.96.23]) (MDaemon.PRO.v8.1.3.R) with ESMTP id md50002576280.msg for ; Fri, 19 May 2006 14:17:04 +0100 Message-ID: <01c201c67b46$8395af30$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: , References: <18923565.8854391148037026048.JavaMail.root@vms168.mailsrvcs.net> Date: Fri, 19 May 2006 14:16:52 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Spam-Processed: multiplay.co.uk, Fri, 19 May 2006 14:17:05 +0100 (not processed: message from valid local sender) X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-hackers@freebsd.org X-MDAV-Processed: multiplay.co.uk, Fri, 19 May 2006 14:17:06 +0100 Cc: Subject: Re: Re: NFS server not responding prevents boot X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 13:18:02 -0000 Sergey Babkin wrote: > I usually use "soft,bg". The "soft" option makes the > operations on this filesystem fail if the server > is not available instead of hanging (unkillable!) > forever and waiting for the server to come up. Good tip thanks! Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-hackers@FreeBSD.ORG Fri May 19 14:04:20 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5C5516A422 for ; Fri, 19 May 2006 14:04:20 +0000 (UTC) (envelope-from cel@citi.umich.edu) Received: from citi.umich.edu (citi.umich.edu [141.211.133.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CB7E43D53 for ; Fri, 19 May 2006 14:04:20 +0000 (GMT) (envelope-from cel@citi.umich.edu) Received: from [192.168.0.100] (nat-198-95-226-230.netapp.com [198.95.226.230]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Chuck Lever", Issuer "CITI Production KCA" (verified OK)) by citi.umich.edu (Postfix) with ESMTP id 4C3541BBAB; Fri, 19 May 2006 10:04:19 -0400 (EDT) Message-ID: <446DD05F.6070304@citi.umich.edu> Date: Fri, 19 May 2006 10:04:15 -0400 From: Chuck Lever Organization: Center for Information Technology Integration User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060308) MIME-Version: 1.0 To: babkin@users.sf.net References: <18923565.8854391148037026048.JavaMail.root@vms168.mailsrvcs.net> In-Reply-To: <18923565.8854391148037026048.JavaMail.root@vms168.mailsrvcs.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, Steven Hartland Subject: Re: NFS server not responding prevents boot X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: cel@citi.umich.edu List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 14:04:21 -0000 Sergey Babkin wrote: >> From: Steven Hartland > >>> Anyway the big question is how can I change all our NFS >>> mounts so that failed mounts dont prevent the machines >>> booting to the point where they can be fixed remotely >>> i.e. have started sshd. >> Doh!! spent ages googling for the answer then found it >> in 2mins of looking through the man pages. >> >> The option for anyone interested is "bg" for -b from >> the command line to mount: >> [quote="man mount_nfs"] >> -b >> If an initial attempt to contact the server fails, fork off a > > I usually use "soft,bg". The "soft" option makes the > operations on this filesystem fail if the server > is not available instead of hanging (unkillable!) > forever and waiting for the server to come up. "soft" is usually a bad idea if you care about data integrity. It can cause all kinds of silent data corruption. Even on read-only mounts, a soft timeout can cause clients to corrupt their own caches. If you absolutely must use "soft", then also use NFS over TCP, and use a long retransmit timeout (like 60 seconds) and enable the dumb timer (the "-d") option. That's about the safest way to use "soft". -- corporate: cel at netapp dot com personal: chucklever at bigfoot dot com From owner-freebsd-hackers@FreeBSD.ORG Fri May 19 14:15:36 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18E4916A445 for ; Fri, 19 May 2006 14:15:36 +0000 (UTC) (envelope-from betogigi@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CAD043D53 for ; Fri, 19 May 2006 14:15:35 +0000 (GMT) (envelope-from betogigi@gmail.com) Received: by nz-out-0102.google.com with SMTP id 13so728716nzn for ; Fri, 19 May 2006 07:15:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KtQJiC+Wbf5vHYLRMhXpdCmO+Yhmvb5WonJStOjh7BD1r568ZIpc5qye3qbbMXhE+YgX6oP0Uo9mJRXQg8scAzoIG7tLboiIifSJQyj7UysmdFa058cI82fETU7VziEqoC1WfPMZCqDO7m1EeWfVZUP6VaWUNnGHwUh/kiTLHBQ= Received: by 10.65.23.14 with SMTP id a14mr1433313qbj; Fri, 19 May 2006 07:15:33 -0700 (PDT) Received: by 10.65.141.8 with HTTP; Fri, 19 May 2006 07:15:33 -0700 (PDT) Message-ID: Date: Fri, 19 May 2006 11:15:33 -0300 From: "Roberto Lima" To: "Bartosz Giza" , hackers@freebsd.org In-Reply-To: <000b01c67b49$19c4ba30$06e0119c@t2.ds.pwr.wroc.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <000b01c67b49$19c4ba30$06e0119c@t2.ds.pwr.wroc.pl> Cc: Subject: Re: Problem with jails after upgrading to 6.1-STABLE X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 14:15:39 -0000 I mean that pkill -j only works in freebsd 6.x, man 8 jail says: To show and then kill processes in jail number 3 use the following command= s: pgrep -lfj 3 pkill -j 3 or: killall -j 3 but i don't know why killall -j doesn't work.. Thanks, Roberto. 2006/5/19, Bartosz Giza : > > Hi, > > your problem is simple, if jid shows in jls yet, just try: > > pkill -j JID > > > > ps: -j flag works only RELENG_6 > > > > thanks and sorry for my bad english. > > Thanks for hint. pkill works good but why killall doesn't work ? > And what do you mean that -j flag works only RELENG_6 > I have that RELENG. And RELENG_6 is a tag for STABLE branch. > So i dont understand what do you mean. > > From owner-freebsd-hackers@FreeBSD.ORG Sat May 20 03:15:17 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6D2916A459 for ; Sat, 20 May 2006 03:15:17 +0000 (UTC) (envelope-from fierykylin@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id C507B43D5A for ; Sat, 20 May 2006 03:15:09 +0000 (GMT) (envelope-from fierykylin@gmail.com) Received: by wx-out-0102.google.com with SMTP id i31so630144wxd for ; Fri, 19 May 2006 20:15:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=lv8Z51CdKFAZE9t39n2+PvwqnB/Ybzz8er2CXwVLcsxzgsuSC0+EDsmtrRXfv9/AyJiMKpqEYB7Bd7RXQRL+AQaEJS2nkC1/S1tRDEBBsv34H/2mnc3YcmQDDcEFdA0LSofwwyi3YsERqjiQXABk59X3XDAd2Uf8mb/3bYoGa58= Received: by 10.70.15.2 with SMTP id 2mr2867796wxo; Fri, 19 May 2006 20:15:08 -0700 (PDT) Received: by 10.70.43.11 with HTTP; Fri, 19 May 2006 20:15:08 -0700 (PDT) Message-ID: <87ab37ab0605192015h363ef74aw23dcc2d97721dea9@mail.gmail.com> Date: Sat, 20 May 2006 11:15:08 +0800 From: "william wallace" Sender: fierykylin@gmail.com To: freebsd-hackers@freebsd.org In-Reply-To: <87ab37ab0511032030o134b9316j83295dd303e4e44b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <87ab37ab0511032030o134b9316j83295dd303e4e44b@mail.gmail.com> X-Google-Sender-Auth: 3a89d8a7b056ffee Subject: Re: misc questions about the device&driver arch X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 03:15:17 -0000 about devclass_find_internal devclass_find_internal will be called to create a new devclass in such 2 conditions : one is creating a new device , as : if (name) { dc =3D devclass_find_internal(name, 0, TRUE); another is in the function:devclass_add_driver. but ,if a driver 's name is different from the name of any deviceclass in the system ,it just create a new devclass ,and link it self into the parent busdevice's driver link and do nothing .what is the use of the driver at this situation? On 11/4/05, kylin wrote: > > hello every one :) good day! > i have list the 3 puzzle coming to me in my recent coding reading of free= bsd > 0 > /////////////// > pci bridge dynamic resize > ///////////// > it seems that the device arch of freebsd is similar to what is revealed i= n > window OS. i have read the pcie hotplug tps of windows longhorn ,it is sa= id > that with some hardware mechanisms the pci bridge driver can do global pc= i > resource window reconfiguration.so good to the hotplugin pci device for i= t > avoid prelocating resource for the device . > i wonder ,if the mem /io/irq reconfiguration possible under freebsd .:) > > 1 > ////////////// > is bus_data_generation > ///////// > what idoes bus_data_generation for, is it the generation count for the > device manager tree? > void > bus_data_generation_update(void) > { > bus_data_generation++; > } > > 2 > ////////////// > pci_write_config vs pci_write_config_method > ////////////// > under the source code /dev/pci .there are functions name pci_write_config > (pcivar.h) and pci_write_config_method(pci.c) > they both call the parent method ,though the content is different ,but do= es > that a liitle overlap whit each other? > > > -- > we who r about to die,salute u! --=20 we who r about to die,salute u! From owner-freebsd-hackers@FreeBSD.ORG Sat May 20 05:22:26 2006 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.ORG Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8EEE16A41F for ; Sat, 20 May 2006 05:22:26 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FBED43D45 for ; Sat, 20 May 2006 05:22:26 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4K5K3tm017488; Fri, 19 May 2006 23:20:03 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 19 May 2006 23:20:02 -0600 (MDT) Message-Id: <20060519.232002.71106210.imp@bsdimp.com> To: avalonwallace@gmail.com From: Warner Losh In-Reply-To: <87ab37ab0605192015h363ef74aw23dcc2d97721dea9@mail.gmail.com> References: <87ab37ab0511032030o134b9316j83295dd303e4e44b@mail.gmail.com> <87ab37ab0605192015h363ef74aw23dcc2d97721dea9@mail.gmail.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: misc questions about the device&driver arch X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 05:22:26 -0000 > about devclass_find_internal > devclass_find_internal will be called to create a new devclass in > such 2 conditions : > one is creating a new device , as : if (name) { dc = > devclass_find_internal(name, 0, TRUE); > another is in the function:devclass_add_driver. but ,if a driver 's > name is different from the name of any deviceclass in the system ,it > just create a new devclass ,and link it self into the parent > busdevice's driver link and do nothing .what is the use of the driver > at this situation? Busses create devices to represent hardware in the system. The bus then causes these devices to be probed and attached. This latter usage is for those cases. As drivers are loaded these devices are offered to the new (and old) drivers in the system. FreeBSD inherently dynamic in its device system. The hardest part of adding hotplug support is programming the bridge. Adding new devices to the tree is easy, but knowing when to add them is hard since you have to write a bridge driver... Warner From owner-freebsd-hackers@FreeBSD.ORG Sat May 20 05:39:09 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 760F216A420 for ; Sat, 20 May 2006 05:39:09 +0000 (UTC) (envelope-from fierykylin@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFC6843D45 for ; Sat, 20 May 2006 05:39:08 +0000 (GMT) (envelope-from fierykylin@gmail.com) Received: by wx-out-0102.google.com with SMTP id i31so639317wxd for ; Fri, 19 May 2006 22:39:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=l47DG4FaxnZpxEIbKeitiiz9PhtmHvQa1moEIchwgM3ZL2vylcPdAUCx6tNRfaX/wlTiTwC+DcqK3XnGkiWvGviG1Erd6gZlB5pa/Vjaku+NyXu0G1VsbaacsMjTk4e4zTRbwPy4rvd2gM2AwFl5HwpWUu9jj5vf/T4C1Sob7gk= Received: by 10.70.77.7 with SMTP id z7mr2958311wxa; Fri, 19 May 2006 22:39:08 -0700 (PDT) Received: by 10.70.43.11 with HTTP; Fri, 19 May 2006 22:39:08 -0700 (PDT) Message-ID: <87ab37ab0605192239n73b7fcdbtbdd5dbd3f1099fc3@mail.gmail.com> Date: Sat, 20 May 2006 13:39:08 +0800 From: "william wallace" Sender: fierykylin@gmail.com To: "Warner Losh" In-Reply-To: <20060519.232002.71106210.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <87ab37ab0511032030o134b9316j83295dd303e4e44b@mail.gmail.com> <87ab37ab0605192015h363ef74aw23dcc2d97721dea9@mail.gmail.com> <20060519.232002.71106210.imp@bsdimp.com> X-Google-Sender-Auth: 792a31b4e8ccdaea Cc: "freebsd-hackers@freebsd.org" Subject: Re: misc questions about the device&driver arch X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 05:39:09 -0000 comparing the method array of pci_pci and cardbusbridge: what losts in pci bridge but exist in cardbusbridge: 1 card interface 2 power interface 3 some functions : 3ain bus interface (bus_driver_added, cbb_driver_added), (bus_child_detached, cbb_child_detached), (bus_child_present, cbb_child_present), 3b in device interface (device_detach, cbb_detach), what exists in pci bridge but losts in cardbusbridge: (pcib_route_interrupt, pcib_route_interrupt), not only that ,functions r very different eventhough they realize the same interface function template wooo$B!$(Bso long to go to hotplug pci On 5/20/06, Warner Losh wrote: > Busses create devices to represent hardware in the system. The bus > then causes these devices to be probed and attached. This latter > usage is for those cases. As drivers are loaded these devices are > offered to the new (and old) drivers in the system. > > FreeBSD inherently dynamic in its device system. The hardest part of > adding hotplug support is programming the bridge. Adding new devices > to the tree is easy, but knowing when to add them is hard since you > have to write a bridge driver... > > Warner > -- we who r about to die,salute u! From owner-freebsd-hackers@FreeBSD.ORG Sat May 20 05:45:46 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FF8F16A41F for ; Sat, 20 May 2006 05:45:46 +0000 (UTC) (envelope-from fierykylin@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id C93FF43D45 for ; Sat, 20 May 2006 05:45:45 +0000 (GMT) (envelope-from fierykylin@gmail.com) Received: by wx-out-0102.google.com with SMTP id i30so342474wxd for ; Fri, 19 May 2006 22:45:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=PLWf8qZZc/jvbBqF1vRNKT3R02ZLKTnOye4vBeLhMags04vT0EplwzXIx04fE5J16JwTSbOLx/0qEadwDFvURn19E/2x24jlCShV2hoXou8+VPM1n3O37BkVk086RcLOW9/B1v1N122iJEgeucG683fkMq0i7iof/eXCHP/EVM4= Received: by 10.70.12.16 with SMTP id 16mr2965849wxl; Fri, 19 May 2006 22:45:45 -0700 (PDT) Received: by 10.70.43.11 with HTTP; Fri, 19 May 2006 22:45:45 -0700 (PDT) Message-ID: <87ab37ab0605192245ka4e8582p63f1fc5c32cbb9bf@mail.gmail.com> Date: Sat, 20 May 2006 13:45:45 +0800 From: "william wallace" Sender: fierykylin@gmail.com To: "Warner Losh" In-Reply-To: <20060519.232002.71106210.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <87ab37ab0511032030o134b9316j83295dd303e4e44b@mail.gmail.com> <87ab37ab0605192015h363ef74aw23dcc2d97721dea9@mail.gmail.com> <20060519.232002.71106210.imp@bsdimp.com> X-Google-Sender-Auth: 977ef186454ecd8f Cc: "freebsd-hackers@freebsd.org" Subject: Re: misc questions about the device&driver arch X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 05:45:46 -0000 On 5/20/06, Warner Losh wrote: > > Busses create devices to represent hardware in the system. The bus > then causes these devices to be probed and attached. This latter > usage is for those cases. As drivers are loaded these devices are > offered to the new (and old) drivers in the system. > > > Warner > does that mean that whenever a new device or a new driver is add to the system ,a corresponding deviceclass will equally be created, am i right ,sir? --=20 we who r about to die,salute u! From owner-freebsd-hackers@FreeBSD.ORG Sat May 20 07:37:08 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14A4116A41F for ; Sat, 20 May 2006 07:37:08 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D5CE43D55 for ; Sat, 20 May 2006 07:37:07 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4K7aAOZ018725; Sat, 20 May 2006 01:36:10 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 20 May 2006 01:36:10 -0600 (MDT) Message-Id: <20060520.013610.78723661.imp@bsdimp.com> To: avalonwallace@gmail.com From: Warner Losh In-Reply-To: <87ab37ab0605192245ka4e8582p63f1fc5c32cbb9bf@mail.gmail.com> References: <87ab37ab0605192015h363ef74aw23dcc2d97721dea9@mail.gmail.com> <20060519.232002.71106210.imp@bsdimp.com> <87ab37ab0605192245ka4e8582p63f1fc5c32cbb9bf@mail.gmail.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: misc questions about the device&driver arch X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 07:37:08 -0000 > does that mean that whenever a new device or a new driver is add to > the system ,a corresponding deviceclass will equally be created, > am i right ,sir? Yes. That's right. Warner From owner-freebsd-hackers@FreeBSD.ORG Sat May 20 07:37:09 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDB4116A428 for ; Sat, 20 May 2006 07:37:09 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 600C743D46 for ; Sat, 20 May 2006 07:37:09 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4K7ZkV8018724; Sat, 20 May 2006 01:35:46 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 20 May 2006 01:35:46 -0600 (MDT) Message-Id: <20060520.013546.104050983.imp@bsdimp.com> To: avalonwallace@gmail.com From: Warner Losh In-Reply-To: <87ab37ab0605192239n73b7fcdbtbdd5dbd3f1099fc3@mail.gmail.com> References: <87ab37ab0605192015h363ef74aw23dcc2d97721dea9@mail.gmail.com> <20060519.232002.71106210.imp@bsdimp.com> <87ab37ab0605192239n73b7fcdbtbdd5dbd3f1099fc3@mail.gmail.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: misc questions about the device&driver arch X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 07:37:10 -0000 From: "william wallace" Subject: Re: misc questions about the device&driver arch Date: Sat, 20 May 2006 13:39:08 +0800 > comparing the method array of pci_pci and cardbusbridge: > what losts in pci bridge but exist in cardbusbridge: > 1 card interface > 2 power interface > 3 some functions : > 3ain bus interface > (bus_driver_added, cbb_driver_added), > (bus_child_detached, cbb_child_detached), > (bus_child_present, cbb_child_present), > 3b in device interface > (device_detach, cbb_detach), > what exists in pci bridge but losts in cardbusbridge: > (pcib_route_interrupt, pcib_route_interrupt), > > not only that ,functions r very different eventhough they realize the > same interface function template > wooo$B!$(Bso long to go to hotplug pci Yes. The hardest part would be to create a pci hot swap bridge driver. The interface for them tend to be underdocumented. The bus_child_present is important for detaching. Also, I think that we may need to start implementing a quiess method to tell the drivers they are about to be removed. For hot plug PCI, the model is that you quess the driver, the os tells you somehow it is safe, and then you remove the card. The details vary (some system are all in software, while others have a complicated interlock and LEDs), but they are similar. Cardbus is harder in some ways because cards leave unannounced (in fact, there's not a good way to announce a card leaving, but there should be). Warner > On 5/20/06, Warner Losh wrote: > > > Busses create devices to represent hardware in the system. The bus > > then causes these devices to be probed and attached. This latter > > usage is for those cases. As drivers are loaded these devices are > > offered to the new (and old) drivers in the system. > > > > FreeBSD inherently dynamic in its device system. The hardest part of > > adding hotplug support is programming the bridge. Adding new devices > > to the tree is easy, but knowing when to add them is hard since you > > have to write a bridge driver... > > > > Warner > > > > > -- > we who r about to die,salute u! > > From owner-freebsd-hackers@FreeBSD.ORG Sat May 20 17:25:20 2006 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D44916A459; Sat, 20 May 2006 17:25:20 +0000 (UTC) (envelope-from llwang@infor.ck.tp.edu.tw) Received: from infor.ck.tp.edu.tw (infor.ck.tp.edu.tw [203.64.26.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A49143D46; Sat, 20 May 2006 17:25:20 +0000 (GMT) (envelope-from llwang@infor.ck.tp.edu.tw) Received: by infor.ck.tp.edu.tw (Postfix, from userid 1001) id EDEAC1702F; Sun, 21 May 2006 01:25:16 +0800 (CST) Date: Sun, 21 May 2006 01:25:16 +0800 From: "Li-Lun Wang (Leland Wang)" To: freebsd-i18n@FreeBSD.org, freebsd-hackers@FreeBSD.org, tjr@FreeBSD.org Message-ID: <20060520172516.GA54779@Athena.infor.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline User-Agent: Mutt/1.5.11 X-Mailman-Approved-At: Sat, 20 May 2006 17:30:07 +0000 Cc: Subject: Inconsistency in LC_CTYPE source files X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 17:25:20 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, It came to my attention that some LC_CTYPE source files for UTF-8, UTF-8.src and zh_TW.UTF-8.src, are inconsistent with all other LC_CTYPE source files. The literals in all other LC_CTYPE source files, including am_ET.UTF-8.src, are written in the native byte sequence of that specific locale, whereas UTF-8.src and zh_TW.UTF-8.src are written in Unicode (It must be noted that UTF-8 is NOT the same as Unicode.). This creates headaches for locale-aware applications supporting UTF-8. For example, the usages and behaviors of the is*() and isw*() functions, like iswspace(), are different under all other locales including am_ET.UTF-8 and under other UTF-8 locales. Under all other locales including am_ET.UTF-8, the argument for the isw*() functions is the wide character literal in that locale, whereas under other UTF-8 locales the application must first convert the wide character from UTF-8 to Unicode before feeding into the isw*() functions. Is there any good reason to have such inconsistency? Shall we change UTF-8.src and zh_TW.UTF-8.src so that the behaviors are consistent with other locales? Sincerely, Li-Lun Wang -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEb1D7CQM7t5B2mhARAgMEAJ9FMpNx1IaUGIn0NNBaaHLj3DFQqACbBSJg tWnXCT2N15U+SntjmuTrGjI= =JNXG -----END PGP SIGNATURE----- From owner-freebsd-hackers@FreeBSD.ORG Sat May 20 19:58:00 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EF5316A457 for ; Sat, 20 May 2006 19:58:00 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76AA843D55 for ; Sat, 20 May 2006 19:57:58 +0000 (GMT) (envelope-from kip.macy@gmail.com) Received: by wx-out-0102.google.com with SMTP id i31so700506wxd for ; Sat, 20 May 2006 12:57:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cWKq/PJpm3tFYQdEl8CttY0+jbb9R3KvB7yujMrhF7B57pWPrBI5cB6nHOdx12P5yPl5TNjABKN1z2SHQx7gGJboI5IxCuE0FwPzErSuXtku5Qr2vLBbe1LIcAFKd0wyI7yyMva9pi7OD5sNWjALP+zwndJgWvIalg5VKfviZZc= Received: by 10.70.59.13 with SMTP id h13mr3541187wxa; Sat, 20 May 2006 12:57:57 -0700 (PDT) Received: by 10.70.71.2 with HTTP; Sat, 20 May 2006 12:57:57 -0700 (PDT) Message-ID: Date: Sat, 20 May 2006 12:57:57 -0700 From: "Kip Macy" To: babkin@users.sourceforge.net In-Reply-To: <18923565.8854391148037026048.JavaMail.root@vms168.mailsrvcs.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <18923565.8854391148037026048.JavaMail.root@vms168.mailsrvcs.net> Cc: freebsd-hackers@freebsd.org, Steven Hartland Subject: Re: Re: NFS server not responding prevents boot X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kmacy@fsmware.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 19:58:00 -0000 Uhhhhm that is what intr is for - and it won't cause silent data loss. -Kip On 5/19/06, Sergey Babkin wrote: > >From: Steven Hartland > > >> Anyway the big question is how can I change all our NFS > >> mounts so that failed mounts dont prevent the machines > >> booting to the point where they can be fixed remotely > >> i.e. have started sshd. > > > >Doh!! spent ages googling for the answer then found it > >in 2mins of looking through the man pages. > > > >The option for anyone interested is "bg" for -b from > >the command line to mount: > >[quote=3D"man mount_nfs"] > >-b > >If an initial attempt to contact the server fails, fork off a > > I usually use "soft,bg". The "soft" option makes the > operations on this filesystem fail if the server > is not available instead of hanging (unkillable!) > forever and waiting for the server to come up. > > -SB > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " >