From owner-freebsd-questions@FreeBSD.ORG Wed Jan 21 09:52:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48EFB1065727 for ; Wed, 21 Jan 2009 09:52:32 +0000 (UTC) (envelope-from apache@tracker2.aebc.com) Received: from tracker2.aebc.com (xx6651128045.cipherkey.com [66.51.128.45]) by mx1.freebsd.org (Postfix) with ESMTP id 136008FC20 for ; Wed, 21 Jan 2009 09:52:32 +0000 (UTC) (envelope-from apache@tracker2.aebc.com) Received: from tracker2.aebc.com (localhost.localdomain [127.0.0.1]) by tracker2.aebc.com (Postfix) with ESMTP id 286E76769AA for ; Wed, 21 Jan 2009 01:51:07 -0800 (PST) Received: (from apache@localhost) by tracker2.aebc.com (8.13.8/8.13.8/Submit) id n0L9p6YX027592; Wed, 21 Jan 2009 01:51:06 -0800 From: "AEBC Support via RT" In-Reply-To: <20090121095108.6B36610656E2@hub.freebsd.org> References: <20090121095108.6B36610656E2@hub.freebsd.org> Message-ID: Precedence: bulk X-RT-Loop-Prevention: tracker2.aebc.com RT-Ticket: tracker2.aebc.com #190371 Managed-by: RT 3.8.2 (http://www.bestpractical.com/rt/) RT-Originator: freebsd-questions@freebsd.org Auto-Submitted: auto-replied To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-RT-Original-Encoding: utf-8 Date: Wed, 21 Jan 2009 01:51:06 -0800 Subject: [Trouble Ticket #190371] AutoReply: freebsd-questions Digest, Vol 246, Issue 28 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Reply-To: support@aebc.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2009 09:52:33 -0000 Thank you for contacting us. This message has been automatically generated in response to the creation of a trouble ticket regarding: "freebsd-questions Digest, Vol 246, Issue 28", a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [Trouble Ticket #190371]. Please include the string: [Trouble Ticket #190371] in the subject line of all future correspondence about this issue. To do so, you may reply to this message. Thank you, support@aebc.com ------------------------------------------------------------------------- Send freebsd-questions mailing list submissions to freebsd-questions@freebsd.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freebsd.org/mailman/listinfo/freebsd-questions or, via email, send a message with subject or body 'help' to freebsd-questions-request@freebsd.org You can reach the person managing the list at freebsd-questions-owner@freebsd.org When replying, please edit your Subject line so it is more specific than "Re: Contents of freebsd-questions digest..." Today's Topics: 1. [Trouble Ticket #190370] AutoReply: freebsd-questions Digest, Vol 246, Issue 27 (AEBC Support via RT) 2. [Trouble Ticket #190370] Resolved: freebsd-questions Digest, Vol 246, Issue 27 (Jimmy Led Kayanan via RT) 3. [Trouble Ticket #190268] Resolved: freebsd-questions Digest, Vol 246, Issue 25 (Jimmy Led Kayanan via RT) ---------------------------------------------------------------------- Message: 1 Date: Wed, 21 Jan 2009 01:11:35 -0800 From: "AEBC Support via RT" Subject: [Trouble Ticket #190370] AutoReply: freebsd-questions Digest, Vol 246, Issue 27 To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset="utf-8" Thank you for contacting us. This message has been automatically generated in response to the creation of a trouble ticket regarding: "freebsd-questions Digest, Vol 246, Issue 27", a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [Trouble Ticket #190370]. Please include the string: [Trouble Ticket #190370] in the subject line of all future correspondence about this issue. To do so, you may reply to this message. Thank you, support@aebc.com ------------------------------------------------------------------------- Send freebsd-questions mailing list submissions to freebsd-questions@freebsd.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freebsd.org/mailman/listinfo/freebsd-questions or, via email, send a message with subject or body 'help' to freebsd-questions-request@freebsd.org You can reach the person managing the list at freebsd-questions-owner@freebsd.org When replying, please edit your Subject line so it is more specific than "Re: Contents of freebsd-questions digest..." Today's Topics: 1. [Trouble Ticket #190335] AutoReply: freebsd-questions Digest, Vol 246, Issue 26 (AEBC Support via RT) 2. Re: Problem with libperl (Matthew Seaman) 3. Re: / mounted read-only after error in /etc/rc.conf (Ivailo Tanusheff) 4. Is there any tools can build a mirror of portsnap? (Razor) ---------------------------------------------------------------------- Message: 1 Date: Tue, 20 Jan 2009 22:38:41 -0800 From: "AEBC Support via RT" Subject: [Trouble Ticket #190335] AutoReply: freebsd-questions Digest, Vol 246, Issue 26 To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset="utf-8" Thank you for contacting us. This message has been automatically generated in response to the creation of a trouble ticket regarding: "freebsd-questions Digest, Vol 246, Issue 26", a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [Trouble Ticket #190335]. Please include the string: [Trouble Ticket #190335] in the subject line of all future correspondence about this issue. To do so, you may reply to this message. Thank you, support@aebc.com ------------------------------------------------------------------------- Send freebsd-questions mailing list submissions to freebsd-questions@freebsd.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freebsd.org/mailman/listinfo/freebsd-questions or, via email, send a message with subject or body 'help' to freebsd-questions-request@freebsd.org You can reach the person managing the list at freebsd-questions-owner@freebsd.org When replying, please edit your Subject line so it is more specific than "Re: Contents of freebsd-questions digest..." Today's Topics: 1. [Trouble Ticket #190268] AutoReply: freebsd-questions Digest, Vol 246, Issue 25 (AEBC Support via RT) 2. Re: Way to prune/limit the ZFS zpool history? (Geoff Fritz) 3. Problem with libperl (Warren Liddell) 4. how do you boot freebsd-ia64 from disk? (Kendall Shaw) 5. 8 current mount of glabel root failed (michael) 6. source of uname information (Robert Huff) 7. Re: kvm switch (Chad Perrin) ---------------------------------------------------------------------- Message: 1 Date: Tue, 20 Jan 2009 20:29:51 -0800 From: "AEBC Support via RT" Subject: [Trouble Ticket #190268] AutoReply: freebsd-questions Digest, Vol 246, Issue 25 To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset="utf-8" Thank you for contacting us. This message has been automatically generated in response to the creation of a trouble ticket regarding: "freebsd-questions Digest, Vol 246, Issue 25", a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [Trouble Ticket #190268]. Please include the string: [Trouble Ticket #190268] in the subject line of all future correspondence about this issue. To do so, you may reply to this message. Thank you, support@aebc.com ------------------------------------------------------------------------- Send freebsd-questions mailing list submissions to freebsd-questions@freebsd.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freebsd.org/mailman/listinfo/freebsd-questions or, via email, send a message with subject or body 'help' to freebsd-questions-request@freebsd.org You can reach the person managing the list at freebsd-questions-owner@freebsd.org When replying, please edit your Subject line so it is more specific than "Re: Contents of freebsd-questions digest..." Today's Topics: 1. [Trouble Ticket #190165] AutoReply: freebsd-questions Digest, Vol 246, Issue 24 (AEBC Support via RT) 2. Newbie: offline package use / XFCE. (Thomas W. Holloway) 3. Re: Newbie: offline package use / XFCE. (Manolis Kiagias) 4. Motherboard support (Graeme Dargie) 5. Re: fdisk -B (Robert Marella) 6. Way to prune/limit the ZFS zpool history? (Geoff Fritz) 7. Re: Newbie: offline package use / XFCE. (Polytropon) 8. Re: Newbie: offline package use / XFCE. (Peter Ulrich Kruppa) 9. Re: Way to prune/limit the ZFS zpool history? (Dan Nelson) 10. Re: Edit user groups (Tim Judd) 11. Re: unable to logon after updating ports collection - Freebsd 7.1 stable (Tim Judd) ---------------------------------------------------------------------- Message: 1 Date: Tue, 20 Jan 2009 14:29:26 -0800 From: "AEBC Support via RT" Subject: [Trouble Ticket #190165] AutoReply: freebsd-questions Digest, Vol 246, Issue 24 To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset="utf-8" Thank you for contacting us. This message has been automatically generated in response to the creation of a trouble ticket regarding: "freebsd-questions Digest, Vol 246, Issue 24", a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [Trouble Ticket #190165]. Please include the string: [Trouble Ticket #190165] in the subject line of all future correspondence about this issue. To do so, you may reply to this message. Thank you, support@aebc.com ------------------------------------------------------------------------- Send freebsd-questions mailing list submissions to freebsd-questions@freebsd.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freebsd.org/mailman/listinfo/freebsd-questions or, via email, send a message with subject or body 'help' to freebsd-questions-request@freebsd.org You can reach the person managing the list at freebsd-questions-owner@freebsd.org When replying, please edit your Subject line so it is more specific than "Re: Contents of freebsd-questions digest..." Today's Topics: 1. Permanent Delivery Failure (MDaemon at mail.mcitsh.com) 2. Permanent Delivery Failure (MDaemon at mail.mcitsh.com) 3. Permanent Delivery Failure (MDaemon at mail.mcitsh.com) 4. Re: slices to "dangerously dedicated" (Jerry McAllister) 5. Re: Edit user groups (Jerry McAllister) 6. Re: Edit user groups (Steve Bertrand) 7. fdisk -B (Robert) 8. Re: Edit user groups (Bill Moran) 9. [Trouble Ticket #190137] AutoReply: freebsd-questions Digest, Vol 246, Issue 23 (AEBC Support via RT) 10. Re: Edit user groups (Akenner) 11. Re: slices to "dangerously dedicated" (Wojciech Puchar) 12. Re: fdisk -B (Wojciech Puchar) 13. Re: slices to "dangerously dedicated" (Maxim Khitrov) 14. Re: switching bsdlabel's label (Wojciech Puchar) 15. Re: Edit user groups (Clifton Royston) ---------------------------------------------------------------------- Message: 1 Date: Wed, 21 Jan 2009 02:45:01 +0700 From: "MDaemon at mail.mcitsh.com" Subject: Permanent Delivery Failure To: questions@freebsd.org Message-ID: Content-Type: text/plain; charset="iso-8859-1" The attached message had PERMANENT fatal delivery errors! After one or more unsuccessful delivery attempts the attached message has been removed from the mail queue on this server. The number and frequency of delivery attempts are determined by local configuration parameters. YOUR MESSAGE WAS NOT DELIVERED TO ONE OR MORE RECIPIENTS! Failed address: vodete@lpqa.info --- Session Transcript --- Wed 2009-01-21 02:45:01: Parsing message Wed 2009-01-21 02:45:01: * From: questions@freebsd.org Wed 2009-01-21 02:45:01: * To: vodete@lpqa.info Wed 2009-01-21 02:45:01: * Subject: =?windows-1251?B?z/Do5ews8+Lu6/zt5e3o5Szi++3z5uTl7e375SDv8O7j8+v7?= Wed 2009-01-21 02:45:01: * Message-ID: <005001c97b9c$ff77b363$d3a58f0c@ejhqluzrpz> Wed 2009-01-21 02:45:01: Attempting SMTP connection to [lpqa.info] Wed 2009-01-21 02:45:01: Resolving MX records for [lpqa.info] (DNS Server: 203.146.251.198)... Wed 2009-01-21 02:45:01: * Name server reports domain name unknown Wed 2009-01-21 02:45:01: Attempting SMTP connection to [lpqa.info:25] Wed 2009-01-21 02:45:01: Resolving A record for [lpqa.info] (DNS Server: 203.146.251.198)... Wed 2009-01-21 02:45:01: * Name server reports domain name unknown --- End Transcript --- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/octet-stream Size: 4712 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090120/33402081/attachment-0001.obj ------------------------------ Message: 2 Date: Wed, 21 Jan 2009 02:45:07 +0700 From: "MDaemon at mail.mcitsh.com" Subject: Permanent Delivery Failure To: questions@freebsd.org Message-ID: Content-Type: text/plain; charset="iso-8859-1" The attached message had PERMANENT fatal delivery errors! After one or more unsuccessful delivery attempts the attached message has been removed from the mail queue on this server. The number and frequency of delivery attempts are determined by local configuration parameters. YOUR MESSAGE WAS NOT DELIVERED TO ONE OR MORE RECIPIENTS! Failed address: vodeneev@ua.fm --- Session Transcript --- Wed 2009-01-21 02:45:01: Parsing message Wed 2009-01-21 02:45:01: * From: questions@freebsd.org Wed 2009-01-21 02:45:01: * To: vodeneev@ua.fm Wed 2009-01-21 02:45:01: * Subject: =?windows-1251?B?z/Do5ews8+Lu6/zt5e3o5Szi++3z5uTl7e375SDv8O7j8+v7?= Wed 2009-01-21 02:45:01: * Message-ID: <005001c97b9c$ff77b363$d3a58f0c@ejhqluzrpz> Wed 2009-01-21 02:45:01: Attempting SMTP connection to [ua.fm] Wed 2009-01-21 02:45:01: Resolving MX records for [ua.fm] (DNS Server: 203.146.251.198)... Wed 2009-01-21 02:45:01: * P=005 S=002 D=ua.fm TTL=(198) MX=[mx3.ua.fm] {91.197.130.8} Wed 2009-01-21 02:45:01: * P=010 S=003 D=ua.fm TTL=(198) MX=[mx4.ua.fm] {91.198.36.33} Wed 2009-01-21 02:45:01: * P=020 S=000 D=ua.fm TTL=(198) MX=[mx1.ua.fm] {91.198.36.11} Wed 2009-01-21 02:45:01: * P=020 S=001 D=ua.fm TTL=(198) MX=[mx2.ua.fm] {91.198.36.8} Wed 2009-01-21 02:45:01: Attempting SMTP connection to [91.197.130.8:25] Wed 2009-01-21 02:45:01: Waiting for socket connection... Wed 2009-01-21 02:45:01: * Connection established (127.0.0.1:3016 -> 91.197.130.8:25) Wed 2009-01-21 02:45:01: Waiting for protocol to start... Wed 2009-01-21 02:45:02: <-- 220 out01.mi6.kiev.ua ESMTP Exim 4.69 Tue, 20 Jan 2009 21:44:42 +0200 Wed 2009-01-21 02:45:02: --> HELO mail.mcitsh.com Wed 2009-01-21 02:45:03: <-- 250 out01.mi6.kiev.ua Hello mail.mcitsh.com [202.93.61.138] Wed 2009-01-21 02:45:03: --> MAIL From: Wed 2009-01-21 02:45:03: <-- 250 OK Wed 2009-01-21 02:45:03: --> RCPT To: Wed 2009-01-21 02:45:04: <-- 550 User not found. See http://mail.i.ua/err/2/ Wed 2009-01-21 02:45:04: --> QUIT --- End Transcript --- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/octet-stream Size: 4708 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090120/97504636/attachment-0001.obj ------------------------------ Message: 3 Date: Wed, 21 Jan 2009 02:45:22 +0700 From: "MDaemon at mail.mcitsh.com" Subject: Permanent Delivery Failure To: questions@freebsd.org Message-ID: Content-Type: text/plain; charset="iso-8859-1" The attached message had PERMANENT fatal delivery errors! After one or more unsuccessful delivery attempts the attached message has been removed from the mail queue on this server. The number and frequency of delivery attempts are determined by local configuration parameters. YOUR MESSAGE WAS NOT DELIVERED TO ONE OR MORE RECIPIENTS! Failed address: vodgosp@carrier.kiev.ua --- Session Transcript --- Wed 2009-01-21 02:45:01: Parsing message Wed 2009-01-21 02:45:01: * From: questions@freebsd.org Wed 2009-01-21 02:45:01: * To: vodgosp@carrier.kiev.ua Wed 2009-01-21 02:45:01: * Subject: =?windows-1251?B?z/Do5ews8+Lu6/zt5e3o5Szi++3z5uTl7e375SDv8O7j8+v7?= Wed 2009-01-21 02:45:01: * Message-ID: <005001c97b9c$ff77b363$d3a58f0c@ejhqluzrpz> Wed 2009-01-21 02:45:01: Attempting SMTP connection to [carrier.kiev.ua] Wed 2009-01-21 02:45:01: Resolving MX records for [carrier.kiev.ua] (DNS Server: 203.146.251.198)... Wed 2009-01-21 02:45:01: * P=010 S=000 D=carrier.kiev.ua TTL=(3) MX=[mx.lucky.net] {62.244.55.219} Wed 2009-01-21 02:45:01: * P=010 S=001 D=carrier.kiev.ua TTL=(3) MX=[mx.lucky.net] {193.193.193.137} multi-homed Wed 2009-01-21 02:45:01: * P=010 S=002 D=carrier.kiev.ua TTL=(3) MX=[mx.lucky.net] {62.244.55.218} multi-homed Wed 2009-01-21 02:45:01: Attempting SMTP connection to [62.244.55.219:25] Wed 2009-01-21 02:45:01: Waiting for socket connection... Wed 2009-01-21 02:45:01: * Connection established (127.0.0.1:3013 -> 62.244.55.219:25) Wed 2009-01-21 02:45:01: Waiting for protocol to start... Wed 2009-01-21 02:45:16: <-- 220 c.mx.lucky.net ESMTP (incoming mail server) Tue, 20 Jan 2009 21:45:02 +0200 (EET) Wed 2009-01-21 02:45:16: --> HELO mail.mcitsh.com Wed 2009-01-21 02:45:17: <-- 250 c.mx.lucky.net Hello mail.mcitsh.com [202.93.61.138], pleased to meet you Wed 2009-01-21 02:45:17: --> MAIL From: Wed 2009-01-21 02:45:18: <-- 250 2.1.0 ... Sender ok Wed 2009-01-21 02:45:18: --> RCPT To: Wed 2009-01-21 02:45:18: <-- 550 5.1.1 ... User unknown Wed 2009-01-21 02:45:18: --> QUIT --- End Transcript --- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/octet-stream Size: 4726 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090120/6a2fb352/attachment-0001.obj ------------------------------ Message: 4 Date: Tue, 20 Jan 2009 15:24:08 -0500 From: Jerry McAllister Subject: Re: slices to "dangerously dedicated" To: Robert Huff Cc: questions@freebsd.org Message-ID: <20090120202408.GA57664@gizmo.acns.msu.edu> Content-Type: text/plain; charset=us-ascii On Tue, Jan 20, 2009 at 02:47:24PM -0500, Robert Huff wrote: > > Suppose I have a disk which was - for various reasons - lebeled > using slices. > Is it possible to change it to "dangerously dedicated" without > backup-wipe-relabel-restore cycle? > Not really. And why would you want to? Just leave it. You will gain nothing by the change. ////jerry > > Robert Huff > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" ------------------------------ Message: 5 Date: Tue, 20 Jan 2009 15:28:27 -0500 From: Jerry McAllister Subject: Re: Edit user groups To: Akenner Cc: questions@freebsd.org Message-ID: <20090120202827.GB57664@gizmo.acns.msu.edu> Content-Type: text/plain; charset=us-ascii On Tue, Jan 20, 2009 at 03:09:16PM -0500, Akenner wrote: > Hi, > > I'm using FreeBSD 7.1-RELEASE and I have multiple user accounts set up. > I made about 4 for myself to use and do various testing with, and made > some for my Wife as well because She knows UNIX better than I do anyway heh. > > Anyway, one of the things I forgot about, was that FreeBSD by default > doesn't allow just anyone to use su. > > I come from mainly using Linux, where you can log in and then whenever > you need to open a root xterm or even a root shell, you just type the > password and go. I looked up how to do this but most of my results came > back with setting up user accounts, and other things. I did add another > user that was in the wheel group so I could do it, but I'd really like > to be able to add my main user account to the wheel group so I can su > from this one instead of doing su otheruser and then su again to root. > > I found while searching for this something that MIGHT be what I'm > looking for, but after reading it over, it seems I'd have to read > through the whole man page first and then, it could be bad if I mistype > something, or I could even screw up an account, which I can't risk. > > Is there an exact way to take a user account on my system, and add it to > the wheel group? Just edit the /etc/group file and put that user in that group. That is the normal way of doing it. I would not suggest making wheel be the primary group for any other than root accounts. ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" ------------------------------ Message: 6 Date: Tue, 20 Jan 2009 15:31:09 -0500 From: Steve Bertrand Subject: Re: Edit user groups To: Akenner Cc: questions@freebsd.org Message-ID: <4976348D.4010502@ibctech.ca> Content-Type: text/plain; charset=ISO-8859-1 Akenner wrote: > Hi, > > I'm using FreeBSD 7.1-RELEASE and I have multiple user accounts set up. > I made about 4 for myself to use and do various testing with, and made > some for my Wife as well because She knows UNIX better than I do anyway > heh. > > Anyway, one of the things I forgot about, was that FreeBSD by default > doesn't allow just anyone to use su. > > I come from mainly using Linux, where you can log in and then whenever > you need to open a root xterm or even a root shell, you just type the > password and go. I looked up how to do this but most of my results came > back with setting up user accounts, and other things. I did add another > user that was in the wheel group so I could do it, but I'd really like > to be able to add my main user account to the wheel group so I can su > from this one instead of doing su otheruser and then su again to root. > > I found while searching for this something that MIGHT be what I'm > looking for, but after reading it over, it seems I'd have to read > through the whole man page first and then, it could be bad if I mistype > something, or I could even screw up an account, which I can't risk. > > Is there an exact way to take a user account on my system, and add it to > the wheel group? Yes. # ee /etc/group ...and add your username to the list of users after the wheel group. For instance, by default, the entry will appear as such: wheel:*:0:root ...and if my username is steve, you will append the line like this: wheel:*:0:root,steve ...then hit ESC, then ENTER twice. Steve ------------------------------ Message: 7 Date: Tue, 20 Jan 2009 12:28:30 -0800 From: Robert Subject: fdisk -B To: freebsd-questions@freebsd.org Message-ID: <20090120122830.096ca40e@debian.shasta204.local> Content-Type: text/plain; charset=US-ASCII I have a server that has five drives in it. Two drives ad4 and ad6 are arranged with gmirror as the operating system (7.1 Stable). The FreeBSD boot manager is installed for this mirror and I would like to remove it and use the standard FreeBSD MBR ...without messing anything up. Can I perform the fdisk -B /dev/ad4 followed by fdisk -B /dev/ad6 from a livefs disk? Maybe fdisk -B /dev/mirror/gm0? I have backups but everything is running very nice right now. I don't reboot very often but I _would_ like to get rid of the boot manager Thank you Robert ------------------------------ Message: 8 Date: Tue, 20 Jan 2009 15:28:35 -0500 From: Bill Moran Subject: Re: Edit user groups To: Akenner Cc: questions@freebsd.org Message-ID: <20090120152835.aea0b37d.wmoran@potentialtech.com> Content-Type: text/plain; charset=US-ASCII In response to Akenner : > Hi, > > I'm using FreeBSD 7.1-RELEASE and I have multiple user accounts set up. > I made about 4 for myself to use and do various testing with, and made > some for my Wife as well because She knows UNIX better than I do anyway heh. > > Anyway, one of the things I forgot about, was that FreeBSD by default > doesn't allow just anyone to use su. > > I come from mainly using Linux, where you can log in and then whenever > you need to open a root xterm or even a root shell, you just type the > password and go. I looked up how to do this but most of my results came > back with setting up user accounts, and other things. I did add another > user that was in the wheel group so I could do it, but I'd really like > to be able to add my main user account to the wheel group so I can su > from this one instead of doing su otheruser and then su again to root. > > I found while searching for this something that MIGHT be what I'm > looking for, but after reading it over, it seems I'd have to read > through the whole man page first and then, it could be bad if I mistype > something, or I could even screw up an account, which I can't risk. > > Is there an exact way to take a user account on my system, and add it to > the wheel group? man pw Specifically: pw usermod -n username -G wheel or pw groupmod -n wheel -m username -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ ------------------------------ Message: 9 Date: Tue, 20 Jan 2009 12:24:31 -0800 From: "AEBC Support via RT" Subject: [Trouble Ticket #190137] AutoReply: freebsd-questions Digest, Vol 246, Issue 23 To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset="utf-8" Thank you for contacting us. This message has been automatically generated in response to the creation of a trouble ticket regarding: "freebsd-questions Digest, Vol 246, Issue 23", a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [Trouble Ticket #190137]. Please include the string: [Trouble Ticket #190137] in the subject line of all future correspondence about this issue. To do so, you may reply to this message. Thank you, support@aebc.com ------------------------------------------------------------------------- Send freebsd-questions mailing list submissions to freebsd-questions@freebsd.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freebsd.org/mailman/listinfo/freebsd-questions or, via email, send a message with subject or body 'help' to freebsd-questions-request@freebsd.org You can reach the person managing the list at freebsd-questions-owner@freebsd.org When replying, please edit your Subject line so it is more specific than "Re: Contents of freebsd-questions digest..." Today's Topics: 1. Re: unable to logon after updating ports collection - Freebsd 7.1 stable (Boris Samorodov) 2. Re: unable to logon after updating ports collection - Freebsd 7.1 stable (Bert-Jan) 3. Re: tar fails on FreeBSD 7 and passes on FreeBSD 6 for the same input (David Wolfskill) 4. Re: Large raid arrays (Matias Surdi) 5. Portupgrade thru SSH session (Jos Chrispijn) 6. Re: kvm switch (Mike Clarke) 7. Re: Portupgrade thru SSH session (Josh Carroll) 8. Re: Portupgrade thru SSH session (Ron Wilhoite) 9. stable-supfile --> freebsd-update (Roy Stuivenberg) 10. How to auto-logout after XXX idle? (lhmwzy) 11. telnet to mbmon (DA Forsyth) 12. Re: Large raid arrays (Wojciech Puchar) 13. Re: Large raid arrays (Wojciech Puchar) 14. switching bsdlabel's label (Eduardo Meyer) 15. Re: Large raid arrays (Matias Surdi) 16. NetBSD networking question (Shawn Hoffman) 17. Re: switching bsdlabel's label (Patrick M. Hausen) 18. Strange nvidia GeForce 9800GT--harddrive conflict? (Jakub T) 19. Permanent Delivery Failure (MDaemon at mail.mcitsh.com) 20. Re: switching bsdlabel's label (Eduardo Meyer) 21. ASL 2.0 based software contribution to FreeBSD code base (Saifi Khan) 22. Re: switching bsdlabel's label (David Wolfskill) 23. Re: switching bsdlabel's label (Jerry McAllister) 24. Re: Cannot perform user mounts after upgrade (Lowell Gilbert) 25. Re: DUMP: read error: Bad address (Lowell Gilbert) 26. Re: Port 7070 (Lowell Gilbert) 27. Re: NetBSD networking question (Andrew Gould) 28. Re: Cannot perform user mounts after upgrade (Roland Smith) 29. Re: DUMP: read error: Bad address (Chris Jones) 30. slices to "dangerously dedicated" (Robert Huff) 31. Re: slices to "dangerously dedicated" (Chuck Swiger) 32. Edit user groups (Akenner) 33. Permanent Delivery Failure (MDaemon at mail.mcitsh.com) ---------------------------------------------------------------------- Message: 1 Date: Tue, 20 Jan 2009 15:45:38 +0300 From: Boris Samorodov Subject: Re: unable to logon after updating ports collection - Freebsd 7.1 stable To: "Roy Stuivenberg" Cc: freebsd-questions@freebsd.org Message-ID: <47622685@ipt.ru> Content-Type: text/plain; charset=us-ascii "Roy Stuivenberg" writes: > After I completed my Freebsd 7.1 stable, and updated all the ports, I got > prompted with another logonscreen. > Whatever I try, I can't login with my useraccount and even not logon as > root. > This happened severall times now, the only way was to reinstall everything, > and I was hoping to resolve this by completly finish upgrading the ports. > And .. again the same problem. > I'm really hoping to get some answers that will solve this problem, maybe > someone had to deal with this issue before ?? > I will not give up, because Freebsd stole my heart. The problem has nothing to do with ports. To restore your root/user logins: . boot into single user mode; . set a new root password; . set a new user password; . boot into multiuser mode; . login and have fun. WBR -- bsam ------------------------------ Message: 2 Date: Tue, 20 Jan 2009 14:15:08 +0100 (CET) From: "Bert-Jan" Subject: Re: unable to logon after updating ports collection - Freebsd 7.1 stable To: "Boris Samorodov" Cc: Roy Stuivenberg , freebsd-questions@freebsd.org Message-ID: <06bb5927cefec26ba5797915637b8a95.squirrel@admin.bert-jan.com> Content-Type: text/plain;charset=iso-8859-1 > "Roy Stuivenberg" writes: > >> After I completed my Freebsd 7.1 stable, and updated all the ports, I >> got >> prompted with another logonscreen. >> Whatever I try, I can't login with my useraccount and even not logon as >> root. >> This happened severall times now, the only way was to reinstall >> everything, >> and I was hoping to resolve this by completly finish upgrading the >> ports. >> And .. again the same problem. >> I'm really hoping to get some answers that will solve this problem, >> maybe >> someone had to deal with this issue before ?? >> I will not give up, because Freebsd stole my heart. > > The problem has nothing to do with ports. To restore your root/user > logins: > . boot into single user mode; > . set a new root password; > . set a new user password; > . boot into multiuser mode; > . login and have fun. > > > WBR > -- > bsam > _______________________________________________ I've had the same thing happen to me not 2 weeks ago after upgrading a server from 7.0-RC2 to 7.1-RELEASE with freebsd-update. For me the problem had nothing to do with ports but with the update itself, because it replaced my pwd.db and spwd.db with the default ones (root with no password, no user accounts) and since ssh doesn't accept root logins I ended up going to the datacenter and copying the backups of those db's back. Then everything was fine again. Very strange they got replaced though.. Sounds like you've had something similar happen to you. Hopefully your machine isn't too far away. Bert-Jan ------------------------------ Message: 3 Date: Tue, 20 Jan 2009 04:49:03 -0800 From: David Wolfskill Subject: Re: tar fails on FreeBSD 7 and passes on FreeBSD 6 for the same input To: chandra reddy Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Message-ID: <20090120124903.GH17567@albert.catwhisker.org> Content-Type: text/plain; charset="us-ascii" On Tue, Jan 20, 2009 at 01:24:41PM +0530, chandra reddy wrote: > Hi, > > I am getting the following error when i run tar on a directory. > > [chandra@home]$ tar zcf config-xsl.tar config-xsl/9.6 > > tar: Cannot open directory > config-xsl/9.6/configuration/protocols/mpls/label-switched-path/oam/bfd-liveness-detection/detection-time: > No such file or directory > tar: Cannot open directory > ... > FreeBSD chandra 7.1-RC1 FreeBSD 7.1-RC1 #0: Sun Dec 7 05:57:33 UTC 2008 > root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > I have debugged libc and found that system call "fstafs" is failing and > returning -1. I believe you will find that the system call is "fstatfs". > Can any one help me what is the real problem here and how to fix it? A subsequent message of your verified that the hierarchy being read was on an NFS-mounted file system. Perchance, was that NFS mount managwed by amd(8)? If so, while I do not have a "fix" for you, I am relieved to see someone else finally report these symptoms. Please see for an archived copy of my initial message in a thread reporting this. There is additional detail (including kernel trace information & how-to-repeat instructions) in subsequent messages in the thread. Also mentioned is a circumvention -- basically, crippling amd(8) so it no longer attempts to unmount() a file system. However, I was unable to re-create the symptoms at home -- only at work. A colleague at work was able to re-create the symptoms, and was intending to experiment a bit more, but he's been busy with other things recently. Please contact me (off-list, if you prefer), and we can discuss additional details. Peace, david -- David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090120/2d10270f/attachment-0001.pgp ------------------------------ Message: 4 Date: Tue, 20 Jan 2009 12:32:31 +0100 From: Matias Surdi Subject: Re: Large raid arrays To: Frederique Rijsdijk Cc: freebsd-questions@freebsd.org Message-ID: <4975B64F.20207@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Frederique Rijsdijk escribi���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������: > Matias Surdi wrote: >> Matias Surdi escribi���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������: >>> Hi, >>> >>> I've a host with two large (2Tb and 4 Tb) hardware raid5 arrays. >>> >>> For the backup system we are using, I need to join them to make 1 >>> logical device. >>> >>> What would you recomment? ccd or vinum? >>> >>> >> Some comments that may help in the decision: >> >> - Reliability/resistance to power failures are the most important factor. >> >> - It doesn't require high performance or high speed. >> > > Either gconcat or ZFS, depending which version of FreeBSD you're running. > > gconcat label -v data /dev/raid1 /dev/raid2 > newfs /dev/concat/data > mkdir /mnt/data && mount /dev/concat/data /mnt/data > df -h /mnt/data > > or > > zpool create data /dev/raid1 /dev/raid2 > df -h /data > > > > -- Frederique > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > ZFS was a disaster. That is what we were using until today, when the power went off and the zfs pool ended up corrupted and irrecoverable. Three other times we had power failures, the zpool ended with some errors. But, all the times, the UFS partitions remained intact. I won't use ZFS for a long time. ------------------------------ Message: 5 Date: Tue, 20 Jan 2009 15:10:13 +0100 From: Jos Chrispijn Subject: Portupgrade thru SSH session To: freebsd-questions@freebsd.org Message-ID: <4975DB45.1040407@webrz.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Can someone tell me what I should attend for when I am disconnected in the middle of a portupgrade and the terminal session is aborted? The portupgrade was halted by a [yes/no] prompt, on which I had to react. Unfortunately being not present and I having not set my Putty keepalive session timeperiod I was disconnected due to no activity on this system prompt $-|. What I did after having logged on again was deleting that specific ruby process and some tty processes. Perhaps I should delete some other temp files as well? Thanks, Jos Chrispijn ------------------------------ Message: 6 Date: Tue, 20 Jan 2009 14:10:26 +0000 From: Mike Clarke Subject: Re: kvm switch To: freebsd-questions@freebsd.org Message-ID: <200901201410.26629.jmc-freebsd2@milibyte.co.uk> Content-Type: text/plain; charset="iso-8859-1" On Tuesday 20 January 2009, Olivier Nicole wrote: > I have been using Aten KVM switches for years and been very happy > with them. [snip] > To my knowledge it works with 3 button mouses (all mouses nowdays > have 3 buttons). I have an Aten CS64A PS/2 4 port KVM and it works fine with my 3 button mouse, supporting all 3 buttons and the scroll wheel. I've had FreeBSD, linux, Win98, XP and Vista boxes running through it at various times over the last 2 years and it's always worked just fine. My only minor niggle was that if I booted my FreeBSD box while the monitor was connected to one of the other boxes then KDE started up in 1024x768 mode instead if the monitor's default 1280x1024 mode. But that was easily sorted with a minor tweak to xorg.conf. -- Mike Clarke ------------------------------ Message: 7 Date: Tue, 20 Jan 2009 10:17:19 -0500 From: Josh Carroll Subject: Re: Portupgrade thru SSH session To: Jos Chrispijn Cc: freebsd-questions@freebsd.org Message-ID: <8cb6106e0901200717u717a0734r933f4337658fffd5@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 On Tue, Jan 20, 2009 at 9:10 AM, Jos Chrispijn wrote: > Can someone tell me what I should attend for when I am disconnected in the > middle of a portupgrade and the terminal session is aborted? > The portupgrade was halted by a [yes/no] prompt, on which I had to react. > Unfortunately being not present and I having not set my Putty keepalive > session timeperiod I was disconnected due to no activity on this system > prompt $-|. > What I did after having logged on again was deleting that specific ruby > process and some tty processes. Perhaps I should delete some other temp > files as well? For future runs, you might consider using something like screen (/usr/ports/sysutils/screen) so you can resume the session later, should you get disconnected. Josh ------------------------------ Message: 8 Date: Tue, 20 Jan 2009 09:44:05 -0500 From: Ron Wilhoite Subject: Re: Portupgrade thru SSH session To: Jos Chrispijn Cc: freebsd-questions@freebsd.org Message-ID: <4975E335.5070703@bals.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 01/20/2009 09:10 AM Jos Chrispijn wrote: > Can someone tell me what I should attend for when I am disconnected in > the middle of a portupgrade and the terminal session is aborted? > The portupgrade was halted by a [yes/no] prompt, on which I had to > react. Unfortunately being not present and I having not set my Putty > keepalive session timeperiod I was disconnected due to no activity on > this system prompt $-|. > What I did after having logged on again was deleting that specific ruby > process and some tty processes. Perhaps I should delete some other temp > files as well? Before I learned to run portupgrade in a screen session, I never had a problem just running portupgrade again. If I recall correctly the index needed to be rebuilt at times, but portupgrade gave a helpful message telling me that. Ron Wilhoite ------------------------------ Message: 9 Date: Tue, 20 Jan 2009 15:23:58 +0000 From: "Roy Stuivenberg" Subject: stable-supfile --> freebsd-update To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Hello, I wanted to send a follow up on my message, because I did not provide much info ... ********** Hello, After I completed my Freebsd 7.1 stable, and updated all the ports, I got prompted with another logonscreen. Whatever I try, I can't login with my useraccount and even not logon as root. This happened severall times now, the only way was to reinstall everything, and I was hoping to resolve this by completly finish upgrading the ports. And .. again the same problem. I'm really hoping to get some answers that will solve this problem, maybe someone had to deal with this issue before ?? ************* Follow up ===> My problem has something to do with gnome2 I guess. You see, I can logon, except in graphical user mode. This happend after complete update (gnome2 included) I get a different logon prompt, and then I already know I won't be able to logon. Only this time I was hoping an upgrade of all the ports would help me .. and it didn't. I really hope I will find or get an answer to this problem. Regards, Roy. ------------------------------ Message: 10 Date: Tue, 20 Jan 2009 23:10:25 +0800 From: lhmwzy Subject: How to auto-logout after XXX idle? To: freebsd-questions@freebsd.org Message-ID: <78fb9d960901200710r27911b0cheaddfd3769abe7d3@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 When ssh to a sever,how to auto-logout after XXX idle? in tcsh,I know to set autologout=X How in the default /bin/sh shell to autologut? ------------------------------ Message: 11 Date: Tue, 20 Jan 2009 17:42:02 +0200 From: "DA Forsyth" Subject: telnet to mbmon To: freebsd-questions@freebsd.org Message-ID: <49760CEA.3417.1479BC08@d.forsyth.ru.ac.za> Content-Type: text/plain; charset=US-ASCII Hiya I am using mbmon in telnet mode to monitor some print servers remotely. REvcently I moved the monitoring form one server to another, but now the telnet probe only works from the command line. Any probe originating from a cron job gets no data in the reply (normally via mrtg, but I tried a direct telnet call as a cron job and it also got no data as a reply). Yes, the connection is made. mbmon is running on the targets. This is affecting 3 target print servers. I tried running the probe on the original server and it worked as usual. where to look? -- DA Fo rsyth Network Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ ------------------------------ Message: 12 Date: Tue, 20 Jan 2009 16:47:21 +0100 (CET) From: Wojciech Puchar Subject: Re: Large raid arrays To: Matias Surdi Cc: freebsd-questions@freebsd.org Message-ID: <20090120164719.B18283@wojtek.tensor.gdynia.pl> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed gconcat On Tue, 20 Jan 2009, Matias Surdi wrote: > Hi, > > I've a host with two large (2Tb and 4 Tb) hardware raid5 arrays. > > For the backup system we are using, I need to join them to make 1 logical > device. > > What would you recomment? ccd or vinum? > > > Thanks a lot for your suggestions. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > ------------------------------ Message: 13 Date: Tue, 20 Jan 2009 16:48:45 +0100 (CET) From: Wojciech Puchar Subject: Re: Large raid arrays To: Matias Surdi Cc: freebsd-questions@freebsd.org Message-ID: <20090120164747.J18283@wojtek.tensor.gdynia.pl> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed >> > > > ZFS was a disaster. > > That is what we were using until today, when the power went off and the zfs > pool ended up corrupted and irrecoverable. normal. > > Three other times we had power failures, the zpool ended with some errors. > > But, all the times, the UFS partitions remained intact. indeed. and fsck time can be fast if you correctly set up block size and amount of inodes. i mean not too much inodes and large blocks (32-64K) if you store mostly big files. > I won't use ZFS for a long time. i would recommend never. ------------------------------ Message: 14 Date: Tue, 20 Jan 2009 13:24:27 -0200 From: Eduardo Meyer Subject: switching bsdlabel's label To: questions@freebsd.org, stable@freebsd.org Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Hello, I have a certain disk where da0s1a and da0s1d are inverted. By some reason someone labelled root as 'd' and home as 'a'. Can I just bsdlabel -n da0s1 > savedabel.txt Edit savedlabel.txt, switch and restore? (bsdlabel -R da0s1 savedlabel) -- =========== Eduardo Meyer pessoal: dudu.meyer@gmail.com profissional: ddm.farmaciap@saude.gov.br ------------------------------ Message: 15 Date: Tue, 20 Jan 2009 17:19:31 +0100 From: Matias Surdi Subject: Re: Large raid arrays To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Wojciech Puchar escribi���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������: > gconcat > > On Tue, 20 Jan 2009, Matias Surdi wrote: > >> Hi, >> >> I've a host with two large (2Tb and 4 Tb) hardware raid5 arrays. >> >> For the backup system we are using, I need to join them to make 1 >> logical device. >> >> What would you recomment? ccd or vinum? >> >> >> Thanks a lot for your suggestions. >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > I've finally set it up with gconcat and works great. Many thanks for your help guys. ------------------------------ Message: 16 Date: Tue, 20 Jan 2009 11:26:47 -0500 From: "Shawn Hoffman" Subject: NetBSD networking question To: Message-ID: Content-Type: text/plain; charset="us-ascii" Hello, my name is Shawn Hoffman, and I am the Staffing Manager for Logikos Inc. Logikos is a product software development firm located in Fort Wayne, Indiana. I am contacting you in hopes that you might be able to offer suggestions as to where we might find a contract NetBSD Administrator. We are beginning a project for a client that necessitates this background. Is there someone you know who might have an interest in a contract opportunity of this sort? If so, I would appreciate any assistance your network of contacts may offer. Thank you. Shawn Hoffman - Staffing Manager Logikos Inc, 2914 Independence Drive Fort Wayne, IN 46808 260-483-3638 260-484-5268 fax shoffman@logikos.com ------------------------------ Message: 17 Date: Tue, 20 Jan 2009 17:13:56 +0100 From: "Patrick M. Hausen" Subject: Re: switching bsdlabel's label To: Eduardo Meyer Cc: stable@freebsd.org, questions@freebsd.org Message-ID: <20090120161355.GA28525@hugo10.ka.punkt.de> Content-Type: text/plain; charset=iso-8859-1 Hello, On Tue, Jan 20, 2009 at 01:24:27PM -0200, Eduardo Meyer wrote: > I have a certain disk where da0s1a and da0s1d are inverted. By some > reason someone labelled root as 'd' and home as 'a'. > > Can I just > > bsdlabel -n da0s1 > savedabel.txt > > Edit savedlabel.txt, switch and restore? (bsdlabel -R da0s1 savedlabel) Why not simply use bsdlabel -e da0s1? Kind regards, Patrick -- punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info@punkt.de http://www.punkt.de Gf: J���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������rgen Egeling AG Mannheim 108285 ------------------------------ Message: 18 Date: Tue, 20 Jan 2009 17:23:22 +0100 From: Jakub T Subject: Strange nvidia GeForce 9800GT--harddrive conflict? To: freebsd-questions@freebsd.org Message-ID: <42b840be0901200823je4afa44hd7c68e4e828da815@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Hi, I'm trying to start X on FreeBSD-7.1-RELEASE (i386) with up-to-date ports tree with this graphics card: nvidia0: on vgapci0 vgapci0: child nvidia0 requested pci_enable_busmaster vgapci0: child nvidia0 requested pci_enable_io nvidia0: [GIANT-LOCKED] nvidia0: [ITHREAD] When I try to start X, with or without xorg.conf generated either by Xorg or by nvidia-xconfig, with or without kernel nvidia module loaded, I get a lot of errors like this: (EE) end of block range 0xfb < begin 0xfffffffc Then, my hard drive detaches, like this (not copy-pasted text): ad7: FAILURE - device detached subdisk7: detached ... g_vfs_done(): ad7s1f [WRITE(offset=... length=...)]error = 6 ... vnode_pager_getpages: I/O read error panic: vinvalbuf: dirty bufs ... What is interesting is that I succeeded to start xinit once, without visible problems. The problem is similar to what was reported here: http://www.nvnews.net/vbulletin/archive/index.php/t-81983.html Does anybody know a solution? If more information about my system is needed, I'll post them. Jakub ------------------------------ Message: 19 Date: Tue, 20 Jan 2009 22:52:20 +0700 From: "MDaemon at mail.mcitsh.com" Subject: Permanent Delivery Failure To: questions@freebsd.org Message-ID: Content-Type: text/plain; charset="iso-8859-1" The attached message had PERMANENT fatal delivery errors! After one or more unsuccessful delivery attempts the attached message has been removed from the mail queue on this server. The number and frequency of delivery attempts are determined by local configuration parameters. YOUR MESSAGE WAS NOT DELIVERED TO ONE OR MORE RECIPIENTS! The following addresses did NOT receive a copy of your message: > prat@ua.fm > pratt@ua.fm > prav-vol@ua.fm --- Session Transcript --- Tue 2009-01-20 22:52:02: Parsing message Tue 2009-01-20 22:52:02: * From: questions@freebsd.org Tue 2009-01-20 22:52:02: * To: prat@iptelecom.net.ua Tue 2009-01-20 22:52:02: * Subject: =?windows-1251?B?z/Do5ews8+Lu6/zt5e3o5Szi++3z5uTl7e375SDv8O7j8+v7?= Tue 2009-01-20 22:52:02: * Message-ID: <006001c97b78$a19908ab$7e7025ac@sccvvfv> Tue 2009-01-20 22:52:02: * Route slip host: ua.fm Tue 2009-01-20 22:52:02: * Route slip port: 25 Tue 2009-01-20 22:52:02: Attempting SMTP connection to [ua.fm] Tue 2009-01-20 22:52:02: Resolving MX records for [ua.fm] (DNS Server: 203.146.251.227)... Tue 2009-01-20 22:52:02: * P=005 S=000 D=ua.fm TTL=(753) MX=[mx3.ua.fm] {91.197.130.8} Tue 2009-01-20 22:52:02: * P=010 S=001 D=ua.fm TTL=(753) MX=[mx4.ua.fm] {91.198.36.33} Tue 2009-01-20 22:52:02: * P=020 S=002 D=ua.fm TTL=(753) MX=[mx1.ua.fm] {91.198.36.11} Tue 2009-01-20 22:52:02: * P=020 S=003 D=ua.fm TTL=(753) MX=[mx2.ua.fm] {91.198.36.8} Tue 2009-01-20 22:52:02: Attempting SMTP connection to [91.197.130.8:25] Tue 2009-01-20 22:52:02: Waiting for socket connection... Tue 2009-01-20 22:52:02: * Connection established (127.0.0.1:4382 -> 91.197.130.8:25) Tue 2009-01-20 22:52:02: Waiting for protocol to start... Tue 2009-01-20 22:52:03: <-- 220 out01.mi6.kiev.ua ESMTP Exim 4.69 Tue, 20 Jan 2009 17:51:46 +0200 Tue 2009-01-20 22:52:03: --> HELO mail.mcitsh.com Tue 2009-01-20 22:52:03: <-- 250 out01.mi6.kiev.ua Hello mail.mcitsh.com [202.93.61.138] Tue 2009-01-20 22:52:03: --> MAIL From: Tue 2009-01-20 22:52:04: <-- 250 OK Tue 2009-01-20 22:52:04: --> RCPT To: Tue 2009-01-20 22:52:04: <-- 550 User not found. See http://mail.i.ua/err/2/ Tue 2009-01-20 22:52:04: --> RCPT To: Tue 2009-01-20 22:52:05: <-- 550 User not found. See http://mail.i.ua/err/2/ Tue 2009-01-20 22:52:05: --> RCPT To: Tue 2009-01-20 22:52:05: <-- 550 User not found. See http://mail.i.ua/err/2/ Tue 2009-01-20 22:52:05: --> QUIT Tue 2009-01-20 22:52:05: Attempting SMTP connection to [91.198.36.33:25] Tue 2009-01-20 22:52:05: Waiting for socket connection... Tue 2009-01-20 22:52:05: * Connection established (127.0.0.1:4405 -> 91.198.36.33:25) Tue 2009-01-20 22:52:05: Waiting for protocol to start... Tue 2009-01-20 22:52:06: <-- 220 web08.mi6.kiev.ua ESMTP Exim 4.69 Tue, 20 Jan 2009 17:51:59 +0200 Tue 2009-01-20 22:52:06: --> HELO mail.mcitsh.com Tue 2009-01-20 22:52:06: <-- 250 web08.mi6.kiev.ua Hello mail.mcitsh.com [202.93.61.138] Tue 2009-01-20 22:52:06: --> MAIL From: Tue 2009-01-20 22:52:07: <-- 250 OK Tue 2009-01-20 22:52:07: --> RCPT To: Tue 2009-01-20 22:52:07: <-- 550 User not found. See http://mail.i.ua/err/2/ Tue 2009-01-20 22:52:07: --> RCPT To: Tue 2009-01-20 22:52:08: <-- 550 User not found. See http://mail.i.ua/err/2/ Tue 2009-01-20 22:52:08: --> RCPT To: Tue 2009-01-20 22:52:08: <-- 550 User not found. See http://mail.i.ua/err/2/ Tue 2009-01-20 22:52:08: --> QUIT Tue 2009-01-20 22:52:08: Attempting SMTP connection to [91.198.36.11:25] Tue 2009-01-20 22:52:08: Waiting for socket connection... Tue 2009-01-20 22:52:08: * Connection established (127.0.0.1:4423 -> 91.198.36.11:25) Tue 2009-01-20 22:52:08: Waiting for protocol to start... Tue 2009-01-20 22:52:09: <-- 220 top.mi6.kiev.ua ESMTP Exim 4.69 Tue, 20 Jan 2009 17:52:02 +0200 Tue 2009-01-20 22:52:09: --> HELO mail.mcitsh.com Tue 2009-01-20 22:52:10: <-- 250 top.mi6.kiev.ua Hello mail.mcitsh.com [202.93.61.138] Tue 2009-01-20 22:52:10: --> MAIL From: Tue 2009-01-20 22:52:10: <-- 250 OK Tue 2009-01-20 22:52:10: --> RCPT To: Tue 2009-01-20 22:52:11: <-- 550 User not found. See http://mail.i.ua/err/2/ Tue 2009-01-20 22:52:11: --> RCPT To: Tue 2009-01-20 22:52:11: <-- 550 User not found. See http://mail.i.ua/err/2/ Tue 2009-01-20 22:52:11: --> RCPT To: Tue 2009-01-20 22:52:11: <-- 550 User not found. See http://mail.i.ua/err/2/ Tue 2009-01-20 22:52:11: --> QUIT Tue 2009-01-20 22:52:11: Attempting SMTP connection to [91.198.36.8:25] Tue 2009-01-20 22:52:11: Waiting for socket connection... Tue 2009-01-20 22:52:11: * Connection established (127.0.0.1:4440 -> 91.198.36.8:25) Tue 2009-01-20 22:52:11: Waiting for protocol to start... Tue 2009-01-20 22:52:12: <-- 220 xray2.mi6.kiev.ua ESMTP Exim 4.69 Tue, 20 Jan 2009 17:52:05 +0200 Tue 2009-01-20 22:52:12: --> HELO mail.mcitsh.com Tue 2009-01-20 22:52:15: <-- 250 xray2.mi6.kiev.ua Hello mail.mcitsh.com [202.93.61.138] Tue 2009-01-20 22:52:15: --> MAIL From: Tue 2009-01-20 22:52:16: <-- 250 OK Tue 2009-01-20 22:52:16: --> RCPT To: Tue 2009-01-20 22:52:16: <-- 550 User not found. See http://mail.i.ua/err/2/ Tue 2009-01-20 22:52:16: --> RCPT To: Tue 2009-01-20 22:52:17: <-- 550 User not found. See http://mail.i.ua/err/2/ Tue 2009-01-20 22:52:17: --> RCPT To: Tue 2009-01-20 22:52:17: <-- 550 User not found. See http://mail.i.ua/err/2/ Tue 2009-01-20 22:52:17: --> QUIT --- End Transcript --- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/octet-stream Size: 4628 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090120/8fdcf00f/attachment-0001.obj ------------------------------ Message: 20 Date: Tue, 20 Jan 2009 15:36:34 -0200 From: Eduardo Meyer Subject: Re: switching bsdlabel's label To: "Patrick M. Hausen" Cc: stable@freebsd.org, questions@freebsd.org Message-ID: Content-Type: text/plain; charset=ISO-8859-1 On Tue, Jan 20, 2009 at 2:13 PM, Patrick M. Hausen wrote: > Hello, > > On Tue, Jan 20, 2009 at 01:24:27PM -0200, Eduardo Meyer wrote: >> I have a certain disk where da0s1a and da0s1d are inverted. By some >> reason someone labelled root as 'd' and home as 'a'. >> >> Can I just >> >> bsdlabel -n da0s1 > savedabel.txt >> >> Edit savedlabel.txt, switch and restore? (bsdlabel -R da0s1 savedlabel) > > Why not simply use bsdlabel -e da0s1? Because I didnt know about that? ;-) Thank you for the hint. However I still have the same doubt. Since basically its the same task, Is it safe do relabel this way? > > Kind regards, > Patrick > -- > punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe > Tel. 0721 9109 0 * Fax 0721 9109 100 > info@punkt.de http://www.punkt.de > Gf: J���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������rgen Egeling AG Mannheim 108285 > -- =========== Eduardo Meyer pessoal: dudu.meyer@gmail.com profissional: ddm.farmaciap@saude.gov.br ------------------------------ Message: 21 Date: Tue, 20 Jan 2009 18:15:25 +0000 From: "Saifi Khan" Subject: ASL 2.0 based software contribution to FreeBSD code base To: freebsd-questions@freebsd.org Message-ID: <9a52b1190901201015v68473203w649af60b08fca0d2@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Hi: Is Apache Software License (ASL) 2.0 based software contributions accepted in FreeBSD code base ? Specific case to consider would be: a. device driver code released under ASL 2.0 b. code contributed to kernel (eg. scheduler implementation) under ASL 2.0 c. code contributed to userland (eg. new implementation of ctags) under ASL 2.0 Can some of the experienced members share how things work within the context of FreeBSD project ? -- thanks Saifi. Twincling Technology Foundation freedom of innovation http://www.twincling.org/ ------------------------------ Message: 22 Date: Tue, 20 Jan 2009 09:41:12 -0800 From: David Wolfskill Subject: Re: switching bsdlabel's label To: Eduardo Meyer Cc: stable@freebsd.org, questions@freebsd.org Message-ID: <20090120174112.GS17567@albert.catwhisker.org> Content-Type: text/plain; charset="us-ascii" On Tue, Jan 20, 2009 at 03:36:34PM -0200, Eduardo Meyer wrote: > ... > > Why not simply use bsdlabel -e da0s1? > > Because I didnt know about that? ;-) > > Thank you for the hint. > > However I still have the same doubt. Since basically its the same > task, Is it safe do relabel this way? I have done it several times without any problems. Do, however, ensure that your /etc/fstab entries match the result before you reboot; attempting a "mount" by hand (merely specifying either the mount point or the device, but not both) before your next reboot can serve as a useful reality check. Peace, david -- David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090120/7b5e149e/attachment-0001.pgp ------------------------------ Message: 23 Date: Tue, 20 Jan 2009 13:42:16 -0500 From: Jerry McAllister Subject: Re: switching bsdlabel's label To: Eduardo Meyer Cc: "Patrick M. Hausen" , stable@freebsd.org, questions@freebsd.org Message-ID: <20090120184216.GA57318@gizmo.acns.msu.edu> Content-Type: text/plain; charset=iso-8859-1 On Tue, Jan 20, 2009 at 03:36:34PM -0200, Eduardo Meyer wrote: > On Tue, Jan 20, 2009 at 2:13 PM, Patrick M. Hausen wrote: > > Hello, > > > > On Tue, Jan 20, 2009 at 01:24:27PM -0200, Eduardo Meyer wrote: > >> I have a certain disk where da0s1a and da0s1d are inverted. By some > >> reason someone labelled root as 'd' and home as 'a'. > >> > >> Can I just > >> > >> bsdlabel -n da0s1 > savedabel.txt > >> > >> Edit savedlabel.txt, switch and restore? (bsdlabel -R da0s1 savedlabel) > > > > Why not simply use bsdlabel -e da0s1? > > Because I didnt know about that? ;-) > > Thank you for the hint. > > However I still have the same doubt. Since basically its the same > task, Is it safe do relabel this way? Hmmm. Is there stuff written on the disk. Is root stuff really written on da0s1d and /home stuff really written on da0s1a? Does the system boot from it OK? Or is it just that the mounts are switched. The mount points are not written in to the label. That comes after booting. If it boots, I wonder if it really is switched on the partitions or if it is just that the partitions are mounted backwards (probably due to editing /etc/fstab incorrectly). ////jerry > > > > > Kind regards, > > Patrick > > -- > > punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe > > Tel. 0721 9109 0 * Fax 0721 9109 100 > > info@punkt.de http://www.punkt.de > > Gf: J���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������rgen Egeling AG Mannheim 108285 > > > > > > -- > =========== > Eduardo Meyer > pessoal: dudu.meyer@gmail.com > profissional: ddm.farmaciap@saude.gov.br > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > ------------------------------ Message: 24 Date: Tue, 20 Jan 2009 13:44:48 -0500 From: Lowell Gilbert Subject: Re: Cannot perform user mounts after upgrade To: Ramiro Caso Cc: freebsd-questions@freebsd.org Message-ID: <44priholzz.fsf@be-well.ilk.org> Content-Type: text/plain; charset=us-ascii Ramiro Caso writes: > I can't perform user mounts for my pendrive, and I used to be able to, before > making an upgrade. Moreover, user mounts for both /dev/cd0 and /dev/fd0 are > still operational. Root mounts are possible, but it's doesn't strike me as good > practice, and it is a little bit of an annoyance. I need help, at least a hint > in some direction or other, because at this point I'm clueless. > > I'm running FreeBSD 7.1-RELEASE-p2, GENERIC kernel, i386. I just did a major > ports updating, including perl-5.8.8 ==> perl-5.8.9. I ran the > perl-after-upgrade script, and warned me about possible problems with > /usr/local/sbin/snmpd and /usr/local/sbin/snmptrapd, but nothing else. I also > recently installed /usr/ports/misc/compat5x, among other ports. I have some > security and related ports installed, but they never caused problems before. > > The command I used is the expected one: > > % mount -t msdosfs /dev/da0s1 ~/media/pendrive > > Now it gives the following (quite uninformative) error: > > mount_msdosfs: /dev/da0s1: : Operation not permitted > > Strangely enough, a user mount with a read-only option works just fine: > > % mount -o ro -t msdosfs /dev/da0s1 ~/media/pendrive > > The mount point still has the same ownership (me) and permissions (755) as > before. Both /etc/devfs.rules, /etc/rc.conf and /etc/sysctl.conf have the > relevant lines for allowing user mounts, namely: > > /etc/sysctl.conf ==> vfs.usermount=1 > /etc/devfs.rules ==> [localrules=10] > add path 'da*s*' mode 0660 group usb > /etc/rc.conf ==> devfs_system_ruleset="localrules" > > I don't recall this being necessary, but I also have devd enabled in rc.conf, > although with no special rules for umass in devd.conf. Needless to say, I belong > to group usb. This configuration worked before just fine. Any ideas? You certainly always needed permissions on a device to be able to mount it. For a device already present at boot time, you would need an entry in devfs.rules. For a device plugged in later, you would instead need devd to know how to handle it. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ------------------------------ Message: 25 Date: Tue, 20 Jan 2009 13:46:49 -0500 From: Lowell Gilbert Subject: Re: DUMP: read error: Bad address To: Chris Jones Cc: freebsd-questions@freebsd.org Message-ID: <44ljt5olwm.fsf@be-well.ilk.org> Content-Type: text/plain; charset=us-ascii Chris Jones writes: > I have an amd64 machine with two drives. I've got my system set up on > ad8, and I'm building a RAID0 array using gvinum that will span ad8 > and ad10. So for now, I have partitions on ad8 plus a set of volumes > on ad10 that I want to move all my data to. > > Today I was doing a test move of all the data, using dump | restore > like this: > > # dump -0aL -f - /var | ( cd /mnt/var && restore -rf - ) > > I got about a dozen messages like this: > > DUMP: read error from /dev/ad8s1d: Bad address: [block 10992192]: > count=5120 > > What is causing this message, and is it a cause for alarm? Here's my > bsdlabel for ad8s1: > > # /dev/ad8s1: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 1048576 0 4.2BSD 2048 16384 8 > b: 4123872 1048576 swap > c: 488279547 0 unused 0 0 # "raw" part, > don't edit > d: 104857600 5172448 4.2BSD 2048 16384 28528 > e: 2097152 110030048 4.2BSD 2048 16384 28528 > f: 376152347 112127200 4.2BSD 2048 16384 28528 > > Thanks in advance for any help. It could be a serious problem, but is not necessarily such. Can you use smarttools to query the disk firmware for *its* opinion? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ------------------------------ Message: 26 Date: Tue, 20 Jan 2009 13:50:31 -0500 From: Lowell Gilbert Subject: Re: Port 7070 To: Doug Hardie Cc: freebsd-questions@freebsd.org Message-ID: <44hc3tolqg.fsf@be-well.ilk.org> Content-Type: text/plain; charset=us-ascii Doug Hardie writes: > I just ran a netcat (nc -z) on my production servers and found an > unusual response: > > Connection to xxxx 7070 port [tcp/arcp] succeeded! > > I checked on all my production and test servers (7.0 stable as of > quite some time ago) and got the same response. I can't figure out > why that port is open. It always returns a reset when a connection is > opened. netstat -an does not return any 7070 entries. sockstat does > not show any 7070 entries. There is no 7070 entry in /etc/services. > ktrace of inetd shows nothing. tcpdump on the server shows the SYN > and RST packets only. tcpdump on the client machine shows a complete > TCP negotiation completion followed by a termination. The client is > going across the internet. > > Running the client on a machine on the servers LAN shows that the port > is not open. And tcpdump from both shows only a SYN followed by a > RST. This indicates that some router between the original client and > the servers is accepting the connection and then forwarding it on. > This doesn't happen on other ports (although there may be a couple > others I haven't chased down yet though). The only router we have in > the path is a Cisco 2501 running a 2000 vintage IOS with nothing like > that in its configuration. Its a simple pass everything through > setup. Any ideas what is happening here? Sounds like the router is blocking most incoming connections, but not 7070. 7070 is sometimes used for RSTP, which makes some sense to let through. Nothing is actually listening on that port on the server, though, which is why you don't see anything in sockstat et. al. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ------------------------------ Message: 27 Date: Tue, 20 Jan 2009 12:53:55 -0600 From: Andrew Gould Subject: Re: NetBSD networking question To: Shawn Hoffman Cc: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset=ISO-8859-1 On Tue, Jan 20, 2009 at 10:26 AM, Shawn Hoffman wrote: > Hello, my name is Shawn Hoffman, and I am the Staffing Manager for > Logikos Inc. Logikos is a product software development firm located in > Fort Wayne, Indiana. I am contacting you in hopes that you might be > able to offer suggestions as to where we might find a contract NetBSD > Administrator. We are beginning a project for a client that > necessitates this background. > > Is there someone you know who might have an interest in a contract > opportunity of this sort? If so, I would appreciate any assistance your > network of contacts may offer. Thank you. > > Shawn Hoffman - Staffing Manager > > Logikos Inc, > 2914 Independence Drive > Fort Wayne, IN 46808 > 260-483-3638 > 260-484-5268 fax > shoffman@logikos.com > > Although you may find the person you need on this list, you will probably have better luck contacting the NetBSD community. You can find more information at http://netbsd.org. Best of luck, Andrew Gould ------------------------------ Message: 28 Date: Tue, 20 Jan 2009 19:56:29 +0100 From: Roland Smith Subject: Re: Cannot perform user mounts after upgrade To: Lowell Gilbert Cc: freebsd-questions@freebsd.org, Ramiro Caso Message-ID: <20090120185629.GA84722@slackbox.xs4all.nl> Content-Type: text/plain; charset="us-ascii" On Tue, Jan 20, 2009 at 01:44:48PM -0500, Lowell Gilbert wrote: > > The mount point still has the same ownership (me) and permissions (755) as > > before. Both /etc/devfs.rules, /etc/rc.conf and /etc/sysctl.conf have the > > relevant lines for allowing user mounts, namely: > > > > /etc/sysctl.conf ==> vfs.usermount=1 > > /etc/devfs.rules ==> [localrules=10] > > add path 'da*s*' mode 0660 group usb > > /etc/rc.conf ==> devfs_system_ruleset="localrules" > > > > I don't recall this being necessary, but I also have devd enabled in rc.conf, > > although with no special rules for umass in devd.conf. Needless to say, I belong > > to group usb. This configuration worked before just fine. Any ideas? > > You certainly always needed permissions on a device to be able to mount > it. For a device already present at boot time, you would need an entry > in devfs.rules. For a device plugged in later, you would instead need > devd to know how to handle it. For stuff available at boot you should use devfs.conf. The devfs.rules file is for devices that are plugged in later. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090120/fa3bc942/attachment-0001.pgp ------------------------------ Message: 29 Date: Tue, 20 Jan 2009 12:11:00 -0700 From: Chris Jones Subject: Re: DUMP: read error: Bad address To: freebsd-questions@freebsd.org Message-ID: <497621C4.6070203@cjones.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Lowell Gilbert wrote: > Chris Jones writes: > >> # dump -0aL -f - /var | ( cd /mnt/var && restore -rf - ) >> >> I got about a dozen messages like this: >> >> DUMP: read error from /dev/ad8s1d: Bad address: [block 10992192]: >> count=5120 >> > It could be a serious problem, but is not necessarily such. > Can you use smarttools to query the disk firmware for *its* > opinion? > SMART Error Log Version: 1 No Errors Logged ...so I assume the drive thinks it's doing just fine. Is this likely coming from a signal error, like a bad cable? Is it random driver lossage? Most importantly, is the ATA driver going to retry and correct this error, or does it mean I'm getting corrupted data on my disks? Chris ------------------------------ Message: 30 Date: Tue, 20 Jan 2009 14:47:24 -0500 From: Robert Huff Subject: slices to "dangerously dedicated" To: questions@freebsd.org Message-ID: <18806.10828.412738.659475@jerusalem.litteratus.org> Content-Type: text/plain; charset=us-ascii Suppose I have a disk which was - for various reasons - lebeled using slices. Is it possible to change it to "dangerously dedicated" without backup-wipe-relabel-restore cycle? Robert Huff ------------------------------ Message: 31 Date: Tue, 20 Jan 2009 12:06:31 -0800 From: Chuck Swiger Subject: Re: slices to "dangerously dedicated" To: Robert Huff Cc: questions@freebsd.org Message-ID: <50770AB3-4AF9-4359-9399-B591DE5BA70F@mac.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes On Jan 20, 2009, at 11:47 AM, Robert Huff wrote: > Suppose I have a disk which was - for various reasons - lebeled > using slices. Is it possible to change it to "dangerously > dedicated" without > backup-wipe-relabel-restore cycle? Nope. Since you'd only gain a megabyte of disk space (probably less) from the change, it's not worth bothering with, frankly... Regards, -- -Chuck ------------------------------ Message: 32 Date: Tue, 20 Jan 2009 15:09:16 -0500 From: Akenner Subject: Edit user groups To: questions@freebsd.org Message-ID: <49762F6C.8040404@comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi, I'm using FreeBSD 7.1-RELEASE and I have multiple user accounts set up. I made about 4 for myself to use and do various testing with, and made some for my Wife as well because She knows UNIX better than I do anyway heh. Anyway, one of the things I forgot about, was that FreeBSD by default doesn't allow just anyone to use su. I come from mainly using Linux, where you can log in and then whenever you need to open a root xterm or even a root shell, you just type the password and go. I looked up how to do this but most of my results came back with setting up user accounts, and other things. I did add another user that was in the wheel group so I could do it, but I'd really like to be able to add my main user account to the wheel group so I can su from this one instead of doing su otheruser and then su again to root. I found while searching for this something that MIGHT be what I'm looking for, but after reading it over, it seems I'd have to read through the whole man page first and then, it could be bad if I mistype something, or I could even screw up an account, which I can't risk. Is there an exact way to take a user account on my system, and add it to the wheel group? ------------------------------ Message: 33 Date: Wed, 21 Jan 2009 02:45:01 +0700 From: "MDaemon at mail.mcitsh.com" Subject: Permanent Delivery Failure To: questions@freebsd.org Message-ID: Content-Type: text/plain; charset="iso-8859-1" The attached message had PERMANENT fatal delivery errors! After one or more unsuccessful delivery attempts the attached message has been removed from the mail queue on this server. The number and frequency of delivery attempts are determined by local configuration parameters. YOUR MESSAGE WAS NOT DELIVERED TO ONE OR MORE RECIPIENTS! Failed address: vodgelnub@zadqinuwu.com --- Session Transcript --- Wed 2009-01-21 02:45:01: Parsing message Wed 2009-01-21 02:45:01: * From: questions@freebsd.org Wed 2009-01-21 02:45:01: * To: vodgelnub@zadqinuwu.com Wed 2009-01-21 02:45:01: * Subject: =?windows-1251?B?z/Do5ews8+Lu6/zt5e3o5Szi++3z5uTl7e375SDv8O7j8+v7?= Wed 2009-01-21 02:45:01: * Message-ID: <005001c97b9c$ff77b363$d3a58f0c@ejhqluzrpz> Wed 2009-01-21 02:45:01: Attempting SMTP connection to [zadqinuwu.com] Wed 2009-01-21 02:45:01: Resolving MX records for [zadqinuwu.com] (DNS Server: 203.146.251.198)... Wed 2009-01-21 02:45:01: * Name server reports domain name unknown Wed 2009-01-21 02:45:01: Attempting SMTP connection to [zadqinuwu.com:25] Wed 2009-01-21 02:45:01: Resolving A record for [zadqinuwu.com] (DNS Server: 203.146.251.198)... Wed 2009-01-21 02:45:01: * Name server reports domain name unknown --- End Transcript --- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/octet-stream Size: 4726 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090120/9ee884f4/attachment.obj ------------------------------ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" End of freebsd-questions Digest, Vol 246, Issue 23 ************************************************** ------------------------------ Message: 10 Date: Tue, 20 Jan 2009 15:53:43 -0500 From: Akenner Subject: Re: Edit user groups To: questions@freebsd.org Message-ID: <497639D7.4050903@comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Thanks everyone for the replies, much appreciated. ------------------------------ Message: 11 Date: Tue, 20 Jan 2009 22:48:08 +0100 (CET) From: Wojciech Puchar Subject: Re: slices to "dangerously dedicated" To: Robert Huff Cc: questions@freebsd.org Message-ID: <20090120224538.V19299@wojtek.tensor.gdynia.pl> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed using live CD/DVD make your new disklabel that mirrors existing but is in /dev/disk not /dev/diskslice, check it (try mount -r your partitions from /dev/disk[a-h]), clean MBR with fdisk, install bootrecord with bsdlabel -B /dev/disk then mount your / partition and fix etc/fstab it's not just about having few kB more space, but NOT having MS-partition table. for "religious" reason, for making thing simpler or less risky if you sometimes connect that drive to computer running windoze. ------------------------------ Message: 12 Date: Tue, 20 Jan 2009 22:48:52 +0100 (CET) From: Wojciech Puchar Subject: Re: fdisk -B To: Robert Cc: "freebsd-questions@freebsd.org" Message-ID: <20090120224832.N19299@wojtek.tensor.gdynia.pl> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed > and use the standard FreeBSD MBR ...without messing anything up. > > Can I perform the fdisk -B /dev/ad4 followed by fdisk -B /dev/ad6 from > a livefs disk? Maybe fdisk -B /dev/mirror/gm0? definitely /dev/mirror/gm0 not /dev/ad6 > > I have backups but everything is running very nice right now. I don't > reboot very often but I _would_ like to get rid of the boot manager > > Thank you > > Robert > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > ------------------------------ Message: 13 Date: Tue, 20 Jan 2009 16:22:31 -0500 From: Maxim Khitrov Subject: Re: slices to "dangerously dedicated" To: Robert Huff Cc: questions@freebsd.org Message-ID: <26ddd1750901201322r2aecd50cj5ddde9fbd4966e14@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 On Tue, Jan 20, 2009 at 2:47 PM, Robert Huff wrote: > > Suppose I have a disk which was - for various reasons - lebeled > using slices. > Is it possible to change it to "dangerously dedicated" without > backup-wipe-relabel-restore cycle? > > > Robert Huff It is possible, but is probably a bad idea (it all depends on why you want to do this). I just ran a quick test in a virtual machine with a clean drive. The procedure was: # sysinstall (run the Fdisk tool to create a single s1 slice on /dev/da4) # bsdlabel -w /dev/da4s1 # newfs -U /dev/da4s1a # mount /dev/da4s1a /mnt # echo hello > /mnt/world # umount /mnt # fdisk (to find the starting block of s1) # sysctl kern.geom.debugflags=0x10 (may not be needed) # dd if=/dev/da4 of=/dev/da4 bs=16k skip=1 (might also want to specify 'count=' to limit the amount of data copied) # reboot After the reboot, I could mount /dev/da4a and read the original contents, s1 was no more. The key to getting it right is proper input positioning; you cannot do something like `dd if=/dev/da4s1 of=/dev/da4`. In my case, s1 started at block 32, so I set my dd block size to 16k and skipped the first block, placing me exactly at the start of s1 (512 * 32 = 16384 or 16k). You really don't want to copy one sector at a time (bs=512), and in my case, 16k is the highest that I could go. If you are moving some other slice like s2, you can set bs to 1 or 2 megs and just do proper calculation for what skip should be set to (bs * skip should equal 512 * staring block as reported by fdisk). Realize, however, that this isn't exactly the same as creating a "dangerously dedicated" disk from the start. You're just moving the first (or whatever slice you need) to the start of the drive along with any data that follows. You will not reclaim any disk space this way, though you may be able to use bsdlabel and growfs later to expand your partitions. Good luck! - Max P.S. Once again would like to emphasize that I would never do this on any real data because of the risks involved, but it was a fun exercise to try :) ------------------------------ Message: 14 Date: Tue, 20 Jan 2009 22:59:45 +0100 (CET) From: Wojciech Puchar Subject: Re: switching bsdlabel's label To: Eduardo Meyer Cc: stable@freebsd.org, questions@freebsd.org Message-ID: <20090120225943.T19343@wojtek.tensor.gdynia.pl> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed yes On Tue, 20 Jan 2009, Eduardo Meyer wrote: > Hello, > > I have a certain disk where da0s1a and da0s1d are inverted. By some > reason someone labelled root as 'd' and home as 'a'. > > Can I just > > bsdlabel -n da0s1 > savedabel.txt > > Edit savedlabel.txt, switch and restore? (bsdlabel -R da0s1 savedlabel) > > -- > =========== > Eduardo Meyer > pessoal: dudu.meyer@gmail.com > profissional: ddm.farmaciap@saude.gov.br > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > ------------------------------ Message: 15 Date: Tue, 20 Jan 2009 12:29:43 -1000 From: Clifton Royston Subject: Re: Edit user groups To: Akenner Cc: questions@freebsd.org Message-ID: <20090120222942.GB26526@lava.net> Content-Type: text/plain; charset=us-ascii On Tue, Jan 20, 2009 at 03:09:16PM -0500, Akenner wrote: > Hi, > > I'm using FreeBSD 7.1-RELEASE and I have multiple user accounts set up. > I made about 4 for myself to use and do various testing with, and made > some for my Wife as well because She knows UNIX better than I do anyway heh. > > Anyway, one of the things I forgot about, was that FreeBSD by default > doesn't allow just anyone to use su. Good advice given so far (pw is a good tool, direct editing works) but I'd also suggest you consider installing and using sudo; I always install it on all of my systems and use it probably 10-20 times as often as su. -- Clifton -- Clifton Royston -- cliftonr@iandicomputing.com / cliftonr@lava.net President - I and I Computing * http://www.iandicomputing.com/ Custom programming, network design, systems and network consulting services ------------------------------ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" End of freebsd-questions Digest, Vol 246, Issue 24 ************************************************** ------------------------------ Message: 2 Date: Tue, 20 Jan 2009 17:29:24 -0500 From: "Thomas W. Holloway" Subject: Newbie: offline package use / XFCE. To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 Greetings from newbie land. I have what I hope is a simple question about using packages offline, with particular reference to XFCE if that matters. I am not so much asking "how do I do this?" as I am "Do I understand this correctly?" I have read the appropriate sections of the Handbook, Lehey's _Complete FreeBSD_ (both paragraphs :) ), and Lucas' _Absolute FreeBSD (2nd ed.). I have googled and done some searching of this list's archives, and couldn't tease the answer out of them. As you will see, it would be a LOT of work to "just try it", so I don't feel too bad about asking before diving in. I would like to install XFCE on a FreeBSD 7.1 box that is and will remain (for now) offline. No network connection at all. If I have read correctly, this means downloading the appropriate package(s) and using pkg_add. So far, so good (I haven't done it, but it seems clear enough). The package for XFCE4, as listed here http://www.freebsd.org/ports/xfce.html is a "meta-port" (I believe I understand the idea), which seems to have about one hundred (100) dependencies. Of course, some of those will have dependencies of their own, and so on. My question is this: In order to "download/ftp the package" for XFCE4, I would have to obtain all hundred (or so) of the listed files _and_ any dependencies they may have so as to point pkg_add at them locally. Is this correct? If not correct, what have I missed (a pointer to what I've missed should be sufficient). I've also looked at it from the XFCE side, where there is a nice, detailed doc by Benedikt Meurer, here http://www.os-works.com/documentation/xfce-installers/4.2.1/xfce-installer/ This strongly implies that I can bypass the pkg_add procedure entirely. Might be worth trying, but I'd still like to know if I've understood what the package listing above is saying. Editorial comment and/or general advice on XFCE is not unwelcome. It's just secondary to the question. Thanks in advance, and regards, Tom Holloway. PS: I almost forgot the traditional "PLEASE HELP!!!" ;) But this is not for work and I am not on any deadline whatever. ------------------------------ Message: 3 Date: Wed, 21 Jan 2009 01:16:45 +0200 From: Manolis Kiagias Subject: Re: Newbie: offline package use / XFCE. To: twh359@earthlink.net Cc: freebsd-questions@freebsd.org Message-ID: <49765B5D.5090909@gmail.com> Content-Type: text/plain; charset=ISO-8859-15 Thomas W. Holloway wrote: > Greetings from newbie land. > > I have what I hope is a simple question about using packages offline, > with particular reference to XFCE if that matters. I am not so much > asking "how do I do this?" as I am "Do I understand this correctly?" > > I have read the appropriate sections of the Handbook, Lehey's > _Complete FreeBSD_ (both paragraphs :) ), and Lucas' _Absolute FreeBSD > (2nd ed.). I have googled and done some searching of this list's > archives, and couldn't tease the answer out of them. As you will see, > it would be a LOT of work to "just try it", so I don't feel too bad > about asking before diving in. > > I would like to install XFCE on a FreeBSD 7.1 box that is and will > remain (for now) offline. No network connection at all. If I have read > correctly, this means downloading the appropriate package(s) and using > pkg_add. So far, so good (I haven't done it, but it seems clear enough). > > The package for XFCE4, as listed here > > http://www.freebsd.org/ports/xfce.html > > is a "meta-port" (I believe I understand the idea), which seems to > have about one hundred (100) dependencies. Of course, some of those > will have dependencies of their own, and so on. My question is this: > > In order to "download/ftp the package" for XFCE4, I would have to > obtain all hundred (or so) of the listed files _and_ any dependencies > they may have so as to point pkg_add at them locally. Is this correct? In short, yes. And this will be quite difficult to get right. *Unless* the machine you actually use to get the packages is also running FreeBSD. You could then pkg_add -r xfce4 on it and then recreate all the required packages and transfer them to the target machine. To recreate the packages: # cd /usr/ports # mkdir packages # cd packages # pkg_create -Rb xfce-x.y.z (hint: use pkg_info -Ix xfce to get the exact name of the xfce metaport to use with pkg_create) The same applies also if you decide to build xfce from Ports. You could still create packages in the same way. Simply copy the packages to a CD or USB drive, and pkg_add on the target machine (note you will not use '-r' on it as all the packages are local) > If not correct, what have I missed (a pointer to what I've missed > should be sufficient). > > I've also looked at it from the XFCE side, where there is a nice, > detailed doc by Benedikt Meurer, here > > > http://www.os-works.com/documentation/xfce-installers/4.2.1/xfce-installer/ > > This document refers to an older version of XFCE and may not be applicable to the current one. I've never used this, I definitely prefer to build my own packages from the official port. > This strongly implies that I can bypass the pkg_add procedure > entirely. Might be worth trying, but I'd still like to know if I've > understood what the package listing above is saying. > > Editorial comment and/or general advice on XFCE is not unwelcome. It's > just secondary to the question. > XFCE is nice, I've been using it on almost all my FreeBSD desktops. It is a no frills desktop. The default look is somewhat blunt, but it is easy to customize to taste. I also usually install ristretto (picture viewer) thunar-volman-plugin (for mounting USB drives etc) and a few other xfce utilities. It compiles rather quickly on my humble Pentium IV. As a side note, I have a machine specifically for building packages and it just happens that I finished a complete build run today (for FreeBSD 7.1 32bit). This includes XFCE, Xorg, Gnome + power tools + fifth toe, KDE4 (4.1 actually) and few other things. More than 1.5G of packages. I could possibly upload just the XFCE + dependencies packages somewhere so you can download them and use them. Contact me directly if you wish to go down that route. ------------------------------ Message: 4 Date: Tue, 20 Jan 2009 22:58:05 -0000 From: "Graeme Dargie" Subject: Motherboard support To: Message-ID: <01FB8F39BAD0BD49A6D0DA8F78973929560C@Mercury.galaxy.lan.lcl> Content-Type: text/plain; charset="us-ascii" Hello, I have built a machine with a Gigabyte GA-MA74GM-S2, running Freebsd 7.1. For the most part it is fine but I do have two problems 1) The NIC a realtek 8111C keeps giving watchdog timeout messages and the link state changes from up to down and back to up again. 2) The two hard disks that are attached to the sata raid controller are not seen by Freebsd, the raid card is set to native ide as I want to use ZFS rather than the onboard raid system and all the drives are present at post. I understand this motherboard uses a AMD740 chipset and has 740 northbridge and a SB700 southbridge. Any ideas tips pointers would be most welcome Regards Graeme ------------------------------ Message: 5 Date: Tue, 20 Jan 2009 15:49:49 -0800 From: Robert Marella Subject: Re: fdisk -B To: Wojciech Puchar Cc: "freebsd-questions@freebsd.org" Message-ID: <20090120154949.036f3c52@debian.shasta204.local> Content-Type: text/plain; charset=US-ASCII On Tue, 20 Jan 2009 22:48:52 +0100 (CET) Wojciech Puchar wrote: > > and use the standard FreeBSD MBR ...without messing anything up. > > > > Can I perform the fdisk -B /dev/ad4 followed by fdisk -B /dev/ad6 > > from a livefs disk? Maybe fdisk -B /dev/mirror/gm0? > > definitely /dev/mirror/gm0 not /dev/ad6 > I was figuring that I would have to boot to single user and do this but I wanted some assurance. Thanks Wojciech for providing the "confidence". All is well in the world again. Robert ------------------------------ Message: 6 Date: Tue, 20 Jan 2009 16:52:56 -0700 From: Geoff Fritz Subject: Way to prune/limit the ZFS zpool history? To: freebsd-questions@freebsd.org Message-ID: <20090120235256.GB30866@dev.null> Content-Type: text/plain; charset=us-ascii Hello. I've been experimenting with a series scripts that takes ZFS snapshots every minute, eventually destroying the oldest so that only so many remain available for a given window of time. This may seem a trivial concern with hard drive sizes being what they are these days, but after running a "zpool history" I started thinking that a ZFS create and destroy being performed every minute would add up to a lot over the course of a few years (current estimate is 62MB/year for the naming scheme of my snapshots). >From what I understand, ZFS compresses metadata by default, so this history probbaly won't take up much space in the grand scheme of things. However, I was curious just the same about wether or not there was a way to prune down, or limit the size of, the zpool history. Also, is there any substantial performance penalty to having a huge history? Thanks for any pointers. -- Geoff ------------------------------ Message: 7 Date: Wed, 21 Jan 2009 02:31:55 +0100 From: Polytropon Subject: Re: Newbie: offline package use / XFCE. To: Manolis Kiagias Cc: twh359@earthlink.net, freebsd-questions@freebsd.org Message-ID: <20090121023155.8c8ea863.freebsd@edvax.de> Content-Type: text/plain; charset=US-ASCII On Wed, 21 Jan 2009 01:16:45 +0200, Manolis Kiagias wrote: > In short, yes. And this will be quite difficult to get right. *Unless* > the machine you actually use to get the packages is also running > FreeBSD. You could then pkg_add -r xfce4 on it and then recreate all > the required packages and transfer them to the target machine. To > recreate the packages: > > [...] > > The same applies also if you decide to build xfce from Ports. You could > still create packages in the same way. > Simply copy the packages to a CD or USB drive, and pkg_add on the target > machine (note you will not use '-r' on it as all the packages are local) Just as a friendly sidenote: I need to put emphasize on the fact that you will need to install XFCE 4 on the machine with Internet access in order to follow this procedure. If you don't mind doing this or of you intend to run XFCE on that machine anyway, stop reading now. :-) If you intentionally DON'T want to install XFCE 4 on the machine you want to use to get the packages, how about trying this dirty script? ########################################################################### #!/bin/sh # # pkg_download.sh 2008-08-19 # =============== # # fetch a precompiled package as well as its dependencies # for further installation if [ "$1" = "" ]; then echo "$0 " exit 1 fi echo -n "fetching $1 ... " if [ -f $1.tbz ]; then echo "$1.tbz already there" exit 1 fi pkg_add -fKnrv $1 > $1.txt 2>&1 echo "done" for DEP in `cat $1.txt | grep $1 | grep "depends on" | cut -d "'" -f 6 | cut -d "/" -f 2`; do echo "dependency for $1 is ${DEP}" $0 ${DEP} done rm $1.txt exit 0 ########################################################################### Put this content into a file pkg_download.sh, chmod it +x and then run % ./pkg_download.sh xfce4 And yes, it's a very dirty solution, needlessly complicated, untidy and unfriendly to use, but it will work and bypass the need to install XFCE 4 on the machine to fetch. The script does not compile anything, it relies on the pkg_add -r mechanism and the presence of the proper packages on the default server. But please note that it will download any dependency needed recursively, which may lead you to a huge pile of tbz files. Just think about what Gtk 2 will need... I wrote this script in order to achieve the same goal as it has been requested initially. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ------------------------------ Message: 8 Date: Wed, 21 Jan 2009 04:50:33 +0100 From: Peter Ulrich Kruppa Subject: Re: Newbie: offline package use / XFCE. To: twh359@earthlink.net Cc: freebsd-questions@freebsd.org Message-ID: <49769B89.4040301@pukruppa.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Thomas W. Holloway schrieb: > > I would like to install XFCE on a FreeBSD 7.1 box that is and will > remain (for now) offline. No network connection at all. If I have read > correctly, this means downloading the appropriate package(s) and using > pkg_add. So far, so good (I haven't done it, but it seems clear enough). The simpliest way would be to install from one of the three Release-CD's or from the Release-DVD (via /usr/sbin/sysinstall). But I have no idea if XFCE4 is contained in them. Perhaps someone could look this up for you? Greetings, Uli. > > The package for XFCE4, as listed here > > http://www.freebsd.org/ports/xfce.html > > is a "meta-port" (I believe I understand the idea), which seems to have > about one hundred (100) dependencies. Of course, some of those will have > dependencies of their own, and so on. My question is this: > > In order to "download/ftp the package" for XFCE4, I would have to obtain > all hundred (or so) of the listed files _and_ any dependencies they may > have so as to point pkg_add at them locally. Is this correct? If not > correct, what have I missed (a pointer to what I've missed should be > sufficient). > > I've also looked at it from the XFCE side, where there is a nice, > detailed doc by Benedikt Meurer, here > > > http://www.os-works.com/documentation/xfce-installers/4.2.1/xfce-installer/ > > This strongly implies that I can bypass the pkg_add procedure entirely. > Might be worth trying, but I'd still like to know if I've understood > what the package listing above is saying. > > Editorial comment and/or general advice on XFCE is not unwelcome. It's > just secondary to the question. > > Thanks in advance, and > > regards, > > Tom Holloway. > > PS: I almost forgot the traditional "PLEASE HELP!!!" ;) But this is > not for work and I am not on any deadline whatever. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" ------------------------------ Message: 9 Date: Tue, 20 Jan 2009 22:17:47 -0600 From: Dan Nelson Subject: Re: Way to prune/limit the ZFS zpool history? To: Geoff Fritz Cc: freebsd-questions@freebsd.org Message-ID: <20090121041747.GD45931@dan.emsphone.com> Content-Type: text/plain; charset=us-ascii In the last episode (Jan 20), Geoff Fritz said: > I've been experimenting with a series scripts that takes ZFS > snapshots every minute, eventually destroying the oldest so that only > so many remain available for a given window of time. > > This may seem a trivial concern with hard drive sizes being what they > are these days, but after running a "zpool history" I started > thinking that a ZFS create and destroy being performed every minute > would add up to a lot over the course of a few years (current > estimate is 62MB/year for the naming scheme of my snapshots). According to http://docs.sun.com/app/docs/doc/819-5461/gdswe?l=en&a=view , the zpool history file is between 128K and 32MB, depending on the size of the pool. The FreeBSD import at /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_history.c agrees with the docs :) -- Dan Nelson dnelson@allantgroup.com ------------------------------ Message: 10 Date: Tue, 20 Jan 2009 21:23:32 -0700 From: Tim Judd Subject: Re: Edit user groups To: Clifton Royston Cc: Akenner , questions@freebsd.org Message-ID: <4976A344.3090106@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Clifton Royston wrote: > On Tue, Jan 20, 2009 at 03:09:16PM -0500, Akenner wrote: > >> Hi, >> >> I'm using FreeBSD 7.1-RELEASE and I have multiple user accounts set up. >> I made about 4 for myself to use and do various testing with, and made >> some for my Wife as well because She knows UNIX better than I do anyway heh. >> >> Anyway, one of the things I forgot about, was that FreeBSD by default >> doesn't allow just anyone to use su. >> > > Good advice given so far (pw is a good tool, direct editing works) but > I'd also suggest you consider installing and using sudo; I always > install it on all of my systems and use it probably 10-20 times as > often as su. > > -- Clifton > > and I recommend against sudo because it's very design is a man-in-the-middle type of scenario, and one typo by the sudo devs can possibly make a mess out of things. I think sudo makes a lazy admin -- too easy to just run in and hit something. I think sudo is a false sense of security. If a user trusts another, and give sudo access, why not give the whole OS to them? Sudo's out there -- don't get me wrong, but you won't catch me dead with a box with sudo installed. I think it's a very misleading tool. And not to say they do -- but what if the devs put in a keygen...do you monitor the sudo source code? And if I remember correctly -- the way sudo gets it's work done is a SUID bit to root. Those are the devil's eggs that hatch and just cause havoc. A rogue CGI calling sudo to do something on the website, buffer overflow (with php!) and you've gotten rooted. No, no -- I hate sudo for it's own doing. It's going to eat itself alive. No flames please. ------------------------------ Message: 11 Date: Tue, 20 Jan 2009 21:30:22 -0700 From: Tim Judd Subject: Re: unable to logon after updating ports collection - Freebsd 7.1 stable To: Bert-Jan Cc: Boris Samorodov , Roy Stuivenberg , freebsd-questions@freebsd.org Message-ID: <4976A4DE.2060009@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Bert-Jan wrote: >> "Roy Stuivenberg" writes: >> >> >>> After I completed my Freebsd 7.1 stable, and updated all the ports, I >>> got >>> prompted with another logonscreen. >>> Whatever I try, I can't login with my useraccount and even not logon as >>> root. >>> This happened severall times now, the only way was to reinstall >>> everything, >>> and I was hoping to resolve this by completly finish upgrading the >>> ports. >>> And .. again the same problem. >>> I'm really hoping to get some answers that will solve this problem, >>> maybe >>> someone had to deal with this issue before ?? >>> I will not give up, because Freebsd stole my heart. >>> >> The problem has nothing to do with ports. To restore your root/user >> logins: >> . boot into single user mode; >> . set a new root password; >> . set a new user password; >> . boot into multiuser mode; >> . login and have fun. >> >> >> WBR >> -- >> bsam >> _______________________________________________ >> > > I've had the same thing happen to me not 2 weeks ago after upgrading a > server from 7.0-RC2 to 7.1-RELEASE with freebsd-update. For me the problem > had nothing to do with ports but with the update itself, because it > replaced my pwd.db and spwd.db with the default ones (root with no > password, no user accounts) and since ssh doesn't accept root logins I > ended up going to the datacenter and copying the backups of those db's > back. Then everything was fine again. Very strange they got replaced > though.. > Sounds like you've had something similar happen to you. Hopefully your > machine isn't too far away. > > Bert-Jan > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Might I add the tempting and tendancy to change root's shell to a non-base shell. While you're in single user, use a base shell if you're using non-base (ahem! bash users) --Tim ------------------------------ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" End of freebsd-questions Digest, Vol 246, Issue 25 ************************************************** ------------------------------ Message: 2 Date: Tue, 20 Jan 2009 21:41:18 -0700 From: Geoff Fritz Subject: Re: Way to prune/limit the ZFS zpool history? To: Dan Nelson Cc: Geoff Fritz , freebsd-questions@freebsd.org Message-ID: <20090121044118.GC30866@dev.null> Content-Type: text/plain; charset=us-ascii On Tue, Jan 20, 2009 at 10:17:47PM -0600, Dan Nelson wrote: > In the last episode (Jan 20), Geoff Fritz said: > > I've been experimenting with a series scripts that takes ZFS > > snapshots every minute, eventually destroying the oldest so that only > > so many remain available for a given window of time. > > > > This may seem a trivial concern with hard drive sizes being what they > > are these days, but after running a "zpool history" I started > > thinking that a ZFS create and destroy being performed every minute > > would add up to a lot over the course of a few years (current > > estimate is 62MB/year for the naming scheme of my snapshots). > > According to > http://docs.sun.com/app/docs/doc/819-5461/gdswe?l=en&a=view , the zpool > history file is between 128K and 32MB, depending on the size of the > pool. The FreeBSD import at > /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_history.c agrees > with the docs :) I always forget that ZFS is documented on Sun's site as well as the man pages. Hopefully some day the FreeBSD docs will catch up w/ Sun's. Thanks a bunch for the pointer. Very informative. -- Geoff ------------------------------ Message: 3 Date: Wed, 21 Jan 2009 15:33:13 +1000 From: Warren Liddell Subject: Problem with libperl To: freebsd-questions@freebsd.org Message-ID: <4976B399.5090906@maydias.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed im trying to start a few programs, on eof them being ntop, but it keeps saying the below msg .. how do i register it when i have libperl .. what has happend for it to be unregisterd ? enterprise# ntop /libexec/ld-elf.so.1: Shared object "libperl.so" not found, required by "ntop" ------------------------------ Message: 4 Date: Tue, 20 Jan 2009 21:23:33 -0800 From: Kendall Shaw Subject: how do you boot freebsd-ia64 from disk? To: questions@freebsd.org Message-ID: <1232515413.7651.36.camel@pokey.kendallshaw.com> Content-Type: text/plain I got no answer on the ia64 list after several weeks, so I'm asking here. I seem to have successfully installed freebsd on my itanium hp-i2000 machine, but I don't know how to cause it to boot from disk. In the boot options menu I tried adding loader.efi to the boot menu, but when I select it it says the file does not exist. Do you know what I need to do? Or is it maybe not implemented? Kendall ------------------------------ Message: 5 Date: Wed, 21 Jan 2009 01:11:51 -0500 From: michael Subject: 8 current mount of glabel root failed To: freebsd-questions@freebsd.org Message-ID: <4976BCA7.2000108@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed i have an 8 current machine that i labeled the slices and partitions with glabel, it boots with generic but not with custom. i didn't touch anything in generic other than removing network devices and scsi/raid. this is an ide only system. any ideas? mike ------------------------------ Message: 6 Date: Wed, 21 Jan 2009 01:26:40 -0500 From: Robert Huff Subject: source of uname information To: questions@freebsd.org Message-ID: <18806.49184.698664.897453@jerusalem.litteratus.org> Content-Type: text/plain; charset=us-ascii Am I correct in believing "uname" gets its information from the kern.version sysctl? Robert Huff ------------------------------ Message: 7 Date: Tue, 20 Jan 2009 23:38:12 -0700 From: Chad Perrin Subject: Re: kvm switch To: FreeBSD Questions Message-ID: <20090121063811.GA21360@kokopelli.hydra> Content-Type: text/plain; charset="us-ascii" On Mon, Jan 19, 2009 at 08:16:28PM -0800, Kendall Shaw wrote: > Do you have a kvm switch that does mouse and keyboard emulation and know > that it works with freebsd? > > I have an iogear kvm switch from around the last time I asked this > question here years back, that has usually worked with linux, netbsd, > openbsd, macos and windows. Back then to work with freebsd, each time I > switched away and back I would login remotely and issue a command to get > freebsd to recognize the keyboard again. > > The newer version of my kvm switch says it has mouse and keyboard > emulation, but I can't get a straight answer out of them if that means > the OS can tell that they keyboard has disconnected or not. Do you know? > Or do you know of a KVM switch, that does that and is suitable for an > impoverished person's home computing needs? > > Also, I read someone's comment on newegg that the mouse emulation only > emulates 2 buttons. Do you know if that is true? I have an IOGEAR GCS632U -- a two-port USB KVM switch. It works great for me, but be forewarned that using a wireless mouse-and-keyboard set that both uses the same USB dongle as the receiver for both IO devices it probably won't work very well. Even though I have a mouse and keyboard that are part of a matched set using the same dongle, I have to use a different mouse with that keyboard so I can plug the mouse into the mouse port on the KVM switch and the keyboard's wireless dongle into the keyboard port on the KVM switch. Otherwise, it works great -- I just hit scroll lock twice, and it switches between a FreeBSD desktop tower and an MS Windows desktop tower. -- Chad Perrin [ content licensed OWL: http://owl.apotheon.org ] Quoth Antony Jay: "In corporate religions as in others, the heretic must be cast out not because of the probability that he is wrong but because of the possibility that he is right." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090121/ca280bea/attachment.pgp ------------------------------ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" End of freebsd-questions Digest, Vol 246, Issue 26 ************************************************** ------------------------------ Message: 2 Date: Wed, 21 Jan 2009 07:15:55 +0000 From: Matthew Seaman Subject: Re: Problem with libperl To: Warren Liddell Cc: freebsd-questions@freebsd.org Message-ID: <4976CBAB.4030703@infracaninophile.co.uk> Content-Type: text/plain; charset="iso-8859-1" Warren Liddell wrote: > im trying to start a few programs, on eof them being ntop, but it keeps > saying the below msg .. how do i register it when i have libperl .. what > has happend for it to be unregisterd ? > > > enterprise# ntop > /libexec/ld-elf.so.1: Shared object "libperl.so" not found, required by > "ntop" It was perhaps the recent upgrade from perl-5.8.8 to perl-5.8.9, which means that libperl.so will have moved from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so ^^^^^ to /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so ^^^^^ To fix the problem -- * run 'perl-after-upgrade -f' -- will fix most pure perl scripts / modules * Compiled software that embeds a perl interpreter (ie. that links against libperl.so) will be highlighted by the perl-after-upgrade script. * If the indicated binaries fail to run, showing linker errors as you've seen, then those packages need to be recompiled to embed the new shlib path into the binaries. So the following should sort you out: portupgrade -f net/ntop Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090121/13b24008/signature-0001.pgp ------------------------------ Message: 3 Date: Wed, 21 Jan 2009 09:26:52 +0200 From: Ivailo Tanusheff Subject: Re: / mounted read-only after error in /etc/rc.conf To: Pieter Donche Cc: "mail.list freebsd-questions" , owner-freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset="US-ASCII" Try using: umount -o rw / Regards, Ivailo Tanusheff Deputy Head of IT Department ProCredit Bank (Bulgaria) AD Pieter Donche Sent by: owner-freebsd-questions@freebsd.org 19.01.2009 16:47 Please respond to Pieter Donche To "mail.list freebsd-questions" cc Subject / mounted read-only after error in /etc/rc.conf I made a typing error when chanign /etc/rc.conf (linux_enable=YES") when rebooting the system, the boot stops /etc/rc.conf: 22: Syntax error: Unterminated quote string Enter full pathname of shell or RETURN for /bin/sh: # this leaves me with /dev/ds0s1a on / (ufs, local, read-only) since / is read-only I can not edit /etc/rc.conf to correct the error. How to solve this? _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" ------------------------------ Message: 4 Date: Wed, 21 Jan 2009 16:43:09 +0800 From: Razor Subject: Is there any tools can build a mirror of portsnap? To: freebsd-questions@freebsd.org Message-ID: <910c4cb0901210043o78f76343mea5f1aa67b696510@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Hi, I want to build a mirror server of portsnap in my company. But I couldn't find any tools either in ports-mgmt or in google. So is there a tool can do this? Thanks. ------------------------------ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" End of freebsd-questions Digest, Vol 246, Issue 27 ************************************************** ------------------------------ Message: 2 Date: Wed, 21 Jan 2009 01:37:17 -0800 From: "Jimmy Led Kayanan via RT" Subject: [Trouble Ticket #190370] Resolved: freebsd-questions Digest, Vol 246, Issue 27 To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset="utf-8" According to our records, your request has been resolved. If you have any further questions or concerns, please respond to this message. ------------------------------ Message: 3 Date: Wed, 21 Jan 2009 01:48:20 -0800 From: "Jimmy Led Kayanan via RT" Subject: [Trouble Ticket #190268] Resolved: freebsd-questions Digest, Vol 246, Issue 25 To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset="utf-8" According to our records, your request has been resolved. If you have any further questions or concerns, please respond to this message. ------------------------------ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" End of freebsd-questions Digest, Vol 246, Issue 28 **************************************************