Re: FreeBSD and SSD drives
On Sun, 13 Feb 2011 22:10:47 -0800, per...@pluto.rain.com wrote: Chip Camden sterl...@camdensoftware.com wrote: But for users who do not wish to learn anything ... the Microsoft Way fits the bill. ^ Of course. It's his company. But does it fit anyone else? It perfectly fits the round depot G. :-) It's a common misbelief that Windows doesn't involve learning. IT DOES. Furthermore, this misbelief is strenghtened by the typical habit of Windows users to delegate problems they encounter to others (who then solve the problems, or even do the pending work). You would wonder how many problem people have who have never seen a Windows before and are now forced to try to do any serious work with that. Even the relation between the foot pedal and the white triangle, let alone the letter board, is too complicated for many. I could see that in reality... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to add a few hundred ip on one interface?
On 11 February 2011 13:25, Guillermo Fernando Cotone guillermo.cot...@gmail.com wrote: On 02/11/2011 09:55 AM, Vladislav V. Prodan wrote: And this construction work? ipv4_addrs_ed0=192.0.2.129/27 192.0.2.1-2/28 192.0.2.4-5/28 It would work only if all the IPs were on the same subnet. If you want to use different subnets you need to implement vlans on that interface first. Regards, Guillermo there is no reason why a single vlan cant have multiple ip subnets, so unless freebsd has a specific limitation (which i dont think it does) I cant see this as being true ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CPU heating!
On 13 Feb 2011 23:06, Mario Lobo ml...@digiart.art.br wrote: Hi; I am following 8-CURRENT AMD64. I have a Phenom II 955. Up to the 3rd week of January, I had 8-STABLE. Idle CPU temp was 42~44 C (which is already not excellent, i know) and full load would never go above 60 C (compiling VBox from KDE, for instance). After updating to 8.2-PRERELEASE, my temps now are: idle:not less than 48 C full load (same above conditions): it reached 65.5 C with peaks of 66 C!. Was there any big change between these versions that could be causing this? -- You need to replace the thermal grease on your processor? It goes hard and loses effectiveness. I recommend Arctic Silver 5. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
dwm / dmenu advice
Anyone using these two give me some advice? Im trying to launch dmenu with Alt-P and a predefined list of about 6 apps in something like ~/.menu.lst but having a tough time getting this to work. Any tips? http://www.mail-archive.com/dwm@suckless.org/msg00468.html This looked the part but syntax now seems wrong - could be changed in most recent ports version? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 64-bit Windows XP NDIS drivers giving missing symbols
On Mon, Feb 14, 2011 at 5:31 AM, Gautham Ganapathy Would these changes be available in 8.2-release? They should be already in 8.2 RC3 (dunno about loader bug). Anyway you always can track FreeBSD STABLE and stable branch of https://github.com/richardpl/NDISulator . ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CPU heating!
You need to replace the thermal grease on your processor? It goes hard and loses effectiveness. I recommend Arctic Silver 5. It even comes in this little push-tube applicator with a plunger ... but it works great! Arctic Silver is probably the best their is, highly recommended. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CPU heating!
On Monday 14 February 2011 11:32:18 Chris Brennan wrote: You need to replace the thermal grease on your processor? It goes hard and loses effectiveness. I recommend Arctic Silver 5. It even comes in this little push-tube applicator with a plunger ... but it works great! Arctic Silver is probably the best their is, highly recommended. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Thanks to all. I'll give it a shot. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winblows FREE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Upgrading ImageMagick fails 2 of 48 tests
I'm trying to upgrade ImageMagick from 6.6.5.10 to 6.6.6-10 on FreeBSD 8.1-RELEASE but 2 tests fail with segmentation faults - validate-formats-in-memory.sh and validate-formats-on-disk.sh. I'll stick with 6.6.5.10 for now but would welcome suggestions on how to deal with this problem = ImageMagick 6.6.6: ./test-suite.log = 2 of 48 tests failed. .. contents:: :depth: 2egmentation fault FAIL: tests/validate-formats-in-memory.sh (exit: 139) = Version: ImageMagick 6.6.6-10 2011-02-14 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC ImageMagick Validation Suite (FormatsInMemory) validate image formats in memory: test 0: ART/Undefined/TrueColor/8-bits... pass. test 1: ART/Undefined/TrueColorMatte/8-bits... pass. test 2: ART/Undefined/Grayscale/8-bits... pass. [Snip lots of passes] test 291: JPEG/Undefined/PaletteMatte/8-bits... pass. test 292: JPEG/Undefined/PaletteBilevelMatte/8-bits... pass. test 293: JPEG/Undefined/Bilevel/1-bits... pass. teSegmentation fault FAIL: tests/validate-formats-on-disk.sh (exit: 139) === Version: ImageMagick 6.6.6-10 2011-02-14 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC ImageMagick Validation Suite (FormatsOnDisk) validate image formats on disk: test 0: ART/Undefined/TrueColor/8-bits... pass. test 1: ART/Undefined/TrueColorMatte/8-bits... pass. test 2: ART/Undefined/Grayscale/8-bits... pass. [Snip lots more passes] test 291: JPEG/Undefined/PaletteMatte/8-bits... pass. test 292: JPEG/Undefined/PaletteBilevelMatte/8-bits... pass. test 293: JPEG/Undefined/Bilevel/1-bits... pass. test 2Segmentation fault -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CPU heating!
On 14 Feb 2011 15:51, Mario Lobo l...@bsd.com.br wrote: On Monday 14 February 2011 11:32:18 Chris Brennan wrote: You need to replace the thermal grease on your processor? It goes hard and loses effectiveness. I recommend Arctic Silver 5. It even comes in this little push-tube applicator with a plunger ... but it works great! Arctic Silver is probably the best their is, highly recommended. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Thanks to all. I'll give it a shot. -- Mario Lobo Hahaha, shot! Nice. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Please Review, I look forward to your call
Have you turned down security projects because some aspects are outside of your knowledge base? You don't have to walk away from those projects... Patronus Laboratories Corp. is your solution. Patronus Laboratories is the secret weapon of many of the largest integrators worldwide. We specialize in filling in the knowledge, product and service gaps experienced by even the most competent integrators. Patronus Labs provides as much, or as little, assistance as your company needs. In addition to our unmatched services, as an Original Equipment Manufacturer OEM, we provide one of the most comprehensive lines of Commercial Off The Shelf COTS, security products in the industry. Our own in-house staff can custom design and manufacture product for your biggest customers, i.e. Government, Military, Industry. Visit www.PatronusLabs.com to view some of our COTS Products Laboratory Grade Optics / Battle Ready Package Patronus Laboratories supports integrators in all security fields at all technical levels: Access Control Asset Tracking (GPS) Armored Vehicles Military Equipment RADAR (Land Coastal Intrusion/Detection) Situational Awareness Platforms Solar, Wind, Generator Surveillance Systems SONAR (Underwater Intrusion/Detection) Systems Integration Towers (Surveillance/Communication) Video Surveillance (Fixed, Mobile, Analytic) Wireless Communications (Data/Video) Patronus Laboratories supports integrators in all aspects of security implementation: Solution design engineering Provision and/or manufacture of product Pre-shipping configuration build Pre-shipping testing/QC Onsite technical/installation support Onsite training of technicians/operators System commissioning Maintenance and support Life Cycle Management -No solution and no customer is too big or too small- We appreciate every opportunity to speak with current and potential customers. Please Call us at: 1-818-232-7726 Unsubscribe Now___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: CPU heating!
-Original Message- From: Chris Rees [mailto:utis...@gmail.com] Sent: 14 February 2011 10:11 To: Mario Lobo Cc: FreeBSD Subject: Re: CPU heating! On 13 Feb 2011 23:06, Mario Lobo ml...@digiart.art.br wrote: Hi; I am following 8-CURRENT AMD64. I have a Phenom II 955. Up to the 3rd week of January, I had 8-STABLE. Idle CPU temp was 42~44 C (which is already not excellent, i know) and full load would never go above 60 C (compiling VBox from KDE, for instance). After updating to 8.2-PRERELEASE, my temps now are: idle:not less than 48 C full load (same above conditions): it reached 65.5 C with peaks of 66 C!. Was there any big change between these versions that could be causing this? -- You need to replace the thermal grease on your processor? It goes hard and loses effectiveness. I recommend Arctic Silver 5. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Sorry to jump in, yes I would agree about Artic Silver 5, while researching the topic of thermal compounds I discovered that it takes approx 200 hours of being used before AS5 will start to operate at its peak. Regards Graeme ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CPU heating!
Sorry to jump in, yes I would agree about Artic Silver 5, while researching the topic of thermal compounds I discovered that it takes approx 200 hours of being used before AS5 will start to operate at its peak. That's only a little over 8 days... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Invitation
Hello, you have been invited to participate in the tester campaign of the new Dell XPS16 laptop. As a reward for your contribution we are willing to let you keep the testing model. The shipment is at our expense. Follow the link below if you wish to join the tester campaign. http://bit.ly/fNW2o7 Regards, The Gadget Center ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Invitation
On 14/02/11 19:31, Amanda Bilson wrote: Hello, you have been invited to participate in the tester campaign of the new Dell XPS16 laptop. As a reward for your contribution we are willing to let you keep the testing model. The shipment is at our expense. Follow the link below if you wish to join the tester campaign. http://bit.ly/fNW2o7 Regards, The Gadget Center ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Now, see, I can't help thinking that if we all just abandoned money then the motivation for people to do this sort of thing would then disappear - would it not? Don't mind me. I'm a crazy man. Or am I just entertaining the thought of a world without money as a possibility, yet I am refusing to accept it? -- Simon Tibble si...@tibble.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Invitation
On Mon, Feb 14, 2011 at 08:54:59PM +, Simon Tibble wrote: Now, see, I can't help thinking that if we all just abandoned money then the motivation for people to do this sort of thing would then disappear - would it not? Without money, how would we keep score to know who is winning? -- David Kelly N4HHE, dke...@hiwaay.net Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Invitation
On 2/14/11 2:12 PM, David Kelly wrote: On Mon, Feb 14, 2011 at 08:54:59PM +, Simon Tibble wrote: Now, see, I can't help thinking that if we all just abandoned money then the motivation for people to do this sort of thing would then disappear - would it not? Without money, how would we keep score to know who is winning? David, Simon Tibble has thus far shown himself to be a spammer; let's not give him any more space to plug his completely OT site than he's already had on this list. Simon, If you want to plug your site in a legitimate manner why not put a link to it in your signature, learn about FreeBSD, and contribute to on topic discussion? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Invitation
You're back?!? well not for long. Your discussion doesn't pertain to FreeBSD. -- Sent from my Droid On Feb 14, 2011 3:56 PM, Simon Tibble si...@tibble.net wrote: On 14/02/11 19:31, Amanda Bilson wrote: Hello, you have been invited to participate in the tester campaign of the new Dell XPS16 laptop. As a reward for your contribution we are willing to let you keep the testing model. The shipment is at our expense. Follow the link below if you wish to join the tester campaign. http://bit.ly/fNW2o7 Regards, The Gadget Center ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Now, see, I can't help thinking that if we all just abandoned money then the motivation for people to do this sort of thing would then disappear - would it not? Don't mind me. I'm a crazy man. Or am I just entertaining the thought of a world without money as a possibility, yet I am refusing to accept it? -- Simon Tibble si...@tibble.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Invitation
On 14/02/11 21:12, David Kelly wrote: On Mon, Feb 14, 2011 at 08:54:59PM +, Simon Tibble wrote: Now, see, I can't help thinking that if we all just abandoned money then the motivation for people to do this sort of thing would then disappear - would it not? Without money, how would we keep score to know who is winning? By measuring ones contribution. This can be quantified by creating a system whereby one's output is measured. It is not a credit system, rather a combination of reputation (feedback of others) and how much produce or time you effect. Try to think ebay without the money, and instead of leaving feedback after every transaction you only leave the feedback just once (how do you feel about the other person? good/bad). Also, in this contribution based system you can change your mind about the other party at any time, whether you are still in a relationship or not. And, instead of having listings which get replaced they get renewed with updated quantities, so, you see, you could list TIME or PRODUCT and as you make more available you update your contribution system. I am looking to recruit developers for such an idea, and I have a partial prototype of a new discussion-decision-resolution website system partially created at tibble.net (it's not even prototype worthy yet, but it's getting there). Specificially, I suggest you read the IDEA page which explains more about my radical (and not new but only slightly different) way of organising ourselves as a race. Quantifiable without currency through better organisation. Lose the belief in the money system and the Queen of England will no longer control you from the capital of the whole financial institution which is London. (On a side note, Washington is the centre for military control and I think you know where the spiritual center is in the east). But don't mind me. I'm a crazy man with random mumbles. -- Simon Tibble si...@tibble.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Invitation
On 14/02/11 21:18, Jarrod Slick wrote: On 2/14/11 2:12 PM, David Kelly wrote: On Mon, Feb 14, 2011 at 08:54:59PM +, Simon Tibble wrote: Now, see, I can't help thinking that if we all just abandoned money then the motivation for people to do this sort of thing would then disappear - would it not? Without money, how would we keep score to know who is winning? David, Simon Tibble has thus far shown himself to be a spammer; let's not give him any more space to plug his completely OT site than he's already had on this list. Simon, If you want to plug your site in a legitimate manner why not put a link to it in your signature, learn about FreeBSD, and contribute to on topic discussion? I don't just plug a site. I don't care if you take the open source effort I am making (it's initially called Tibble but I am open to better names) and start using it on your own system in order to help organise yourself better. I encourage it. Don't mind me - the crazy man with a radical idea! All I am suggesting is that the 20 million people who are online as part of the Zeitgeist movement are calling for us all to question our belief in the money system, and you can either look in to it or you can play like an ostrich (put your head in the sand and hope the idea goes away)? I'm not saying you have to be involved OK. I am asking all people for help, and I welcome who will join me. Developers frequent these mailing lists, and how else can I ask for help if I don't go the places people hang out? Huh? If my emails bother you so much I encourage you to set up a mail filter on your MUA and send me to /dev/null where you think I belong. It's fine by me, ok :-) The world is starving. Wars are raging. There is a strangle hold over the flow of information in the form of TV. These are all facts. The new world order is coming to fruition and you are picking on my distasteful emailing for help to the smartest mailing lists I know? Sorry I'm taking up your ever so valuable disk space! -- Simon Tibble si...@tibble.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Invitation
On 14 February 2011 16:58, Simon Tibble si...@tibble.net wrote: Sorry I'm taking up your ever so valuable disk space! That's okay, /dev/null is pretty big. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
script help
Hello folks: No doubt this will be easy for those with scritping abilities. I have a gazillion files by the same name and each contains the same line requiring the same change. But the problem is that they are in many different directories on a server with numerous domains. While I could handle the change using a single directory within my abilities, I'm unsure how to do a search and replace throughout the many domains and their directories. Don't want to mess up. Here's what I'm trying to do: # find all of the same filenames (copyright.htm) and then replace the year 2010 with 2011 in each file. Once I have a working script, I should be able to add it as a cron job to run on the first day of each new year. Any help appreciated. Thanks! Jack (^_^) Happy trails, Jack L. Stone System Admin Sage-american ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: script help
On Mon, Feb 14, 2011 at 04:34:37PM -0600, Jack L. Stone wrote: # find all of the same filenames (copyright.htm) and then replace the year 2010 with 2011 in each file. Once I have a working script, I should be able to add it as a cron job to run on the first day of each new year. The following command should do the trick, I think. find / -type f -name copyright.htm -exec sed -i .bak -e 's/Copyright © 20../Copyright © 2011/g' {} \; Basically the find(1) command locates the files you want to change, and than for every file it calls sed(1) with the -i flag to do the in-place editing. The originals are saved as copyright.htm.bak. If all goes well, you can delete those. Depending on the contents of the files, you might want to just replace 2010 by 2011, or use a little more context as I did in the example, to make sure only the right numbers are replaced. 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) pgpW28cbNfx6P.pgp Description: PGP signature
Re: script help
Quoth Jack L. Stone on Monday, 14 February 2011: Hello folks: No doubt this will be easy for those with scritping abilities. I have a gazillion files by the same name and each contains the same line requiring the same change. But the problem is that they are in many different directories on a server with numerous domains. While I could handle the change using a single directory within my abilities, I'm unsure how to do a search and replace throughout the many domains and their directories. Don't want to mess up. Here's what I'm trying to do: # find all of the same filenames (copyright.htm) and then replace the year 2010 with 2011 in each file. Once I have a working script, I should be able to add it as a cron job to run on the first day of each new year. Any help appreciated. Thanks! Jack (^_^) Happy trails, Jack L. Stone System Admin Sage-american ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org find /upper-dir -name copyright.htm -exec sed -i '' -e s/2010/2011/g {} \; -- Sterling (Chip) Camden | sterl...@camdensoftware.com | 2048D/3A978E4F http://chipsquips.com | http://camdensoftware.com | http://chipstips.com pgpNijFWKcFpE.pgp Description: PGP signature
Re: script help
On 2/14/11 3:34 PM, Jack L. Stone wrote: Hello folks: No doubt this will be easy for those with scritping abilities. I have a gazillion files by the same name and each contains the same line requiring the same change. But the problem is that they are in many different directories on a server with numerous domains. While I could handle the change using a single directory within my abilities, I'm unsure how to do a search and replace throughout the many domains and their directories. Don't want to mess up. Here's what I'm trying to do: # find all of the same filenames (copyright.htm) and then replace the year 2010 with 2011 in each file. Once I have a working script, I should be able to add it as a cron job to run on the first day of each new year. Any help appreciated. Thanks! Jack (^_^) Happy trails, Jack L. Stone System Admin Sage-american ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Something like this should work (*UNTESTED*): #!/usr/bin/perl use strict; use warnings; use File::Find; my @directories = qw(/var/www/html /var/www/html2 /etc); #if you don't know all the directories and are okay with the script running for a while you could just specify / my $line = quotemeta(Copyright 2010); # Or whatever your line actually is . . . my $copyright_file = quotemeta(copyright.htm); find(\wanted, @directories); sub wanted { if($_ =~ $copyright_file) { open(my $fh, '', $File::Find::dir.'/'.$copyright_file) or die Couldn't create read handle: $!\n; my $new_file = undef; while($fh) { if($_ =~ /^$line$/) { $_ =~ s/2010/2011/; } $new_file .= $_.\n; } close($fh); open($fh, '', $File::Find::dir.'/'.$copyright_file) or die Couldn't create write handle: $!\n; print $fh $new_file; close($fh); } } ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: script help
On Mon, Feb 14, 2011 at 4:34 PM, Jack L. Stone ja...@sage-american.comwrote: Hello folks: No doubt this will be easy for those with scritping abilities. I have a gazillion files by the same name and each contains the same line requiring the same change. But the problem is that they are in many different directories on a server with numerous domains. While I could handle the change using a single directory within my abilities, I'm unsure how to do a search and replace throughout the many domains and their directories. Don't want to mess up. Here's what I'm trying to do: # find all of the same filenames (copyright.htm) and then replace the year 2010 with 2011 in each file. Once I have a working script, I should be able to add it as a cron job to run on the first day of each new year. Any help appreciated. /usr/ports/misc/rpl -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: script help
On Feb 14, 2011, at 2:34 PM, Jack L. Stone wrote: # find all of the same filenames (copyright.htm) and then replace the year 2010 with 2011 in each file. Once I have a working script, I should be able to add it as a cron job to run on the first day of each new year. find . -name copyright.htm -exec sed -i .BAK s/2010/2011/ {} \; Of course, a purely automated replacement of the year without making any other change is likely considered de minimus from a copyright perspective. You'd need to make a more substantial change involving some original content for this to be genuinely meaningful Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD and SSD drives
On Sun, Feb 13, 2011 at 10:12 AM, Frank Shute fr...@shute.org.uk wrote: Agreed. I posted my short experience of using an SSD as a workstation drive and I'd be interested in hearing the experience of any other users. Problems? Praise? Let's hear it. While not quite a workstation application, in a previous job I helped maintain industrial PCs that booted cut-down Windows 95 installs off of 128 megabyte CompactFlash cards. As SSDs go this was pretty primitive stuff. We had very few problems with this setup. This was just FAT, no special SSD support. I also have a netbook with an SSD I've used heavily for the last three years with no problems. My only complaint about that one is the write performance is rather slow, it being an SSD optimized for power consumption instead of speed. I would be curious to hear stories from people who actually *have* run into SSD failures related to write limitations. I've heard a lot of speculation but no actual anecdotes. I'm sure they're out there; but I also know people are more likely to complain when things go wrong than talk about things going right, so my suspicion is it must be rare. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD and SSD drives
Hi-- On Feb 14, 2011, at 3:17 PM, David Brodbeck wrote: I would be curious to hear stories from people who actually *have* run into SSD failures related to write limitations. I've heard a lot of speculation but no actual anecdotes. I'm sure they're out there; but I also know people are more likely to complain when things go wrong than talk about things going right, so my suspicion is it must be rare. Back around 2005 / 2006, we were using a bunch of Soekris 4511's, IIRC, running NetBSD and a network IDS we'd been working on, which possibly generated 100s of MB to a few GB of logging per day. Whoever did the initial setup didn't realize that the flash cards of that timeframe were limited to 10K writes or so, and after a few months you started getting 16K chunks of old logfile data, or 16K chunks of new and old logfile data corrupted together-- looked to be a binary OR of the 0 bits. Nothing reported that writes were failing-- evidently the flash cards didn't notice an error and thus didn't report it back to the system. Switching /var to tmpfs resolved the issue for us. From what I understand (a quick review of wikipedia helps :), modern flash cards are now typically rated for 100K writes, include ECC bits to actually correct or at least detect errors and try to remap bad blocks to unused blocks, and implement wear-leveling techniques of varying degrees of effectiveness. Regards, -- -Chuck PS: Reposted from a NetBSD thread, was d5af2a8e-fef0-467e-be4a-b01243e21...@mac.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Redux
I need to ask this question again in the hopes that something will come of it. In the process of going through an update (I finally got that sorted out) all of my partitions were renamed. Here they are: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/label/rootfs0507630 326734 140286 70% / devfs 1 1 0 100%/dev /dev/label/var0 1012974 170386 761552 18% /var /dev/label/usr0 33292236 9358560 21270298 31% /usr linprocfs 4 4 0 100%/usr/compat/linux/proc /dev/md0789518 16 726342 0% /tmp As you can see, root, which was once /dev/ad0s1a, is now /dev/label/rootfs0, and /var, which was once /dev/ad0s1d, is now /dev/label/var0. Along with these changes the /etc/fstab was automatically modified to allow the boot process to take place. Can someone give me a heads up as to what is going on here. Rem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Invitation
On Mon, Feb 14, 2011 at 09:47:11PM +, Simon Tibble wrote: On 14/02/11 21:12, David Kelly wrote: On Mon, Feb 14, 2011 at 08:54:59PM +, Simon Tibble wrote: Now, see, I can't help thinking that if we all just abandoned money then the motivation for people to do this sort of thing would then disappear - would it not? Without money, how would we keep score to know who is winning? By measuring ones contribution. This can be quantified by creating a system whereby one's output is measured. It is not a credit system, rather a combination of reputation (feedback of others) and how much produce or time you effect. Try to think ebay without the money, and instead of leaving feedback after every transaction you only leave the feedback just once (how do you feel about the other person? good/bad). Broken. Won't work. It's too bureaucratic for too little (immediate) return to catch on, and its bureaucracy would guarantee long-term corruption. We'll probably evolve semi-naturally to a reputation based economy as advancing technology eliminates a lot of basic-needs scarcity, but that's just speculation. In the meantime, money is really nothing but a scalable way to lubricate the process of trade. The more you centralize the management of money (or its replacement), the less efficiently it works -- and trying to quantify contribution through some uniform system as you suggest would require absurd levels of centralization. If you really want to do away with money, the best way to do it is to advance the state of the art of automation technology. You can do this by contributing expertise, time, and money (in decreasing order of importance) to copyfree [0] and open source [1] software development projects such as FreeBSD. Trying to distract the people contributing to such projects with pie-in-the-sky manifestations of song lyrics from the early '70s [2] is actually counterproductive to that aim. But don't mind me. I'm a crazy man with random mumbles. That's good advice. I should follow it. # NOTES: [0] http://copyfree.org [1] http://www.opensource.org [2] https://secure.wikimedia.org/wikipedia/en/wiki/Imagine_(song) -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpY44ZAM4IBI.pgp Description: PGP signature
Re: FreeBSD and SSD drives
On Mon, Feb 14, 2011 at 03:32:30PM -0800, Chuck Swiger wrote: From what I understand (a quick review of wikipedia helps :), modern flash cards are now typically rated for 100K writes, include ECC bits to actually correct or at least detect errors and try to remap bad blocks to unused blocks, and implement wear-leveling techniques of varying degrees of effectiveness. Regards, -- -Chuck PS: Reposted from a NetBSD thread, was d5af2a8e-fef0-467e-be4a-b01243e21...@mac.com Just make sure you double-check the rating for the specific SSD storage hardware you're actually using. The fact the state of the art is better now than it was does not mean you are using state of the art hardware. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpZEg3483gtE.pgp Description: PGP signature
Re: Redux
On Mon, 14 Feb 2011 15:38:28 -0800, Rem P Roberti r...@remdog.net wrote: I need to ask this question again in the hopes that something will come of it. In the process of going through an update (I finally got that sorted out) all of my partitions were renamed. Here they are: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/label/rootfs0507630 326734 140286 70% / devfs 1 1 0 100%/dev /dev/label/var0 1012974 170386 761552 18% /var /dev/label/usr0 33292236 9358560 21270298 31% /usr linprocfs 4 4 0 100%/usr/compat/linux/proc /dev/md0789518 16 726342 0% /tmp As you can see, root, which was once /dev/ad0s1a, is now /dev/label/rootfs0, and /var, which was once /dev/ad0s1d, is now /dev/label/var0. Along with these changes the /etc/fstab was automatically modified to allow the boot process to take place. Can someone give me a heads up as to what is going on here. Seems that you - or something - did make the switch from device names to labels. Maybe your kernel now includes GEOM functionality for work with labels? But I don't know of a process that changes /etc/fstab automatically... You can still use the device names for the /etc/fstab entries, you just need to make sure that you select the correct names (as you described above). Then there should be no problem as labels are optional. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Redux
On Mon, 14 Feb 2011 15:38:28 -0800, Rem P Robertir...@remdog.net wrote: I need to ask this question again in the hopes that something will come of it. In the process of going through an update (I finally got that sorted out) all of my partitions were renamed. Here they are: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/label/rootfs0507630 326734 140286 70% / devfs 1 1 0 100%/dev /dev/label/var0 1012974 170386 761552 18% /var /dev/label/usr0 33292236 9358560 21270298 31% /usr linprocfs 4 4 0 100%/usr/compat/linux/proc /dev/md0789518 16 726342 0% /tmp As you can see, root, which was once /dev/ad0s1a, is now /dev/label/rootfs0, and /var, which was once /dev/ad0s1d, is now /dev/label/var0. Along with these changes the /etc/fstab was automatically modified to allow the boot process to take place. Can someone give me a heads up as to what is going on here. Seems that you - or something - did make the switch from device names to labels. Maybe your kernel now includes GEOM functionality for work with labels? But I don't know of a process that changes /etc/fstab automatically... You can still use the device names for the /etc/fstab entries, you just need to make sure that you select the correct names (as you described above). Then there should be no problem as labels are optional. Honestly, I certainly didn't make the change from device names to labels. I wouldn't know how to do that, although I gather from what you've said that the kernel config file contains that information. I'm not sure, however, what you mean when you say that I can still use the device names, as the system will not boot unless fstab has in it the entries shown above. Rem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
android
Hi! I bought HTC Inspire 4G phone and I lie to upload some mp3 files. When I connected a phoe to the USB port I got: da4 at umass-sim1 bus 1 scbus3 target 0 lun 0 da4: HTC Android Phone 0100 Removable Direct Access SCSI-2 device da4: 4 MB/s transfers How can I mount it, please? Thanks in advance. Mitja http://jpgmag.com/people/lumiwa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: android
On 14 February 2011 20:00, ajtiM lum...@gmail.com wrote: Hi! I bought HTC Inspire 4G phone and I lie to upload some mp3 files. When I connected a phoe to the USB port I got: da4 at umass-sim1 bus 1 scbus3 target 0 lun 0 da4: HTC Android Phone 0100 Removable Direct Access SCSI-2 device da4: 4 MB/s transfers How can I mount it, please? Probably (though not certainly) mount -t msdosfs /dev/da4s1 /mnt -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: android
On 2/14/2011 8:00 PM, ajtiM wrote: Hi! I bought HTC Inspire 4G phone and I lie to upload some mp3 files. When I connected a phoe to the USB port I got: da4 at umass-sim1 bus 1 scbus3 target 0 lun 0 da4: HTC Android Phone 0100 Removable Direct Access SCSI-2 device da4: 4 MB/s transfers How can I mount it, please? Try, ls -l /dev/da4* You will probably see /dev/da4s1 which is most likely msdos. If so, try mount_msdosfs /dev/da4s1 /mnt ---Mike -- --- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, m...@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Redux
On 14 February 2011 19:24, Rem P Roberti remeg...@comcast.net wrote: On Mon, 14 Feb 2011 15:38:28 -0800, Rem P Robertir...@remdog.net wrote: I need to ask this question again in the hopes that something will come of it. In the process of going through an update (I finally got that sorted out) all of my partitions were renamed. Here they are: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/label/rootfs0 507630 326734 140286 70% / devfs 1 1 0 100% /dev /dev/label/var0 1012974 170386 761552 18% /var /dev/label/usr0 33292236 9358560 21270298 31% /usr linprocfs 4 4 0 100% /usr/compat/linux/proc /dev/md0 789518 16 726342 0% /tmp As you can see, root, which was once /dev/ad0s1a, is now /dev/label/rootfs0, and /var, which was once /dev/ad0s1d, is now /dev/label/var0. Along with these changes the /etc/fstab was automatically modified to allow the boot process to take place. Can someone give me a heads up as to what is going on here. Seems that you - or something - did make the switch from device names to labels. Maybe your kernel now includes GEOM functionality for work with labels? But I don't know of a process that changes /etc/fstab automatically... You can still use the device names for the /etc/fstab entries, you just need to make sure that you select the correct names (as you described above). Then there should be no problem as labels are optional. Honestly, I certainly didn't make the change from device names to labels. I wouldn't know how to do that, although I gather from what you've said that the kernel config file contains that information. I'm not sure, however, what you mean when you say that I can still use the device names, as the system will not boot unless fstab has in it the entries shown above. FreeBSD is wonderful, don't get me wrong, but it is not magical. Partitions don't just accrue labels and /etc/fstab doesn't edit itself. Are you running PCBSD? Anyway, if you want to go back to device names in the /dev/ad0s1[a-g] scheme you can extract the correct names with: geom label list (you might want to pipe it into a pager) then edit your /etc/fstab accordingly and reboot. Although, why bother really? The label names may come in handy if you have to move the hdd to another machine to extract the information, or for various other reasons. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: android
On Mon, 14 Feb 2011, ajtiM wrote: I bought HTC Inspire 4G phone and I lie to upload some mp3 files. When I connected a phoe to the USB port I got: da4 at umass-sim1 bus 1 scbus3 target 0 lun 0 da4: HTC Android Phone 0100 Removable Direct Access SCSI-2 device da4: 4 MB/s transfers How can I mount it, please? Your phone might be similar to my HTC Evo. In the phone, I had to go to Settings - Connect to PC and set 'Default connection type' to 'Disk drive'. Once I did that, I could mount the phone in the same manner as a thumb drive. HTH. -- Chris Hill ch...@monochrome.org ** [ Busy Expunging | ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Invitation (waaaaay off-topic)
On 14/02/11 23:42, Chad Perrin wrote: On Mon, Feb 14, 2011 at 09:47:11PM +, Simon Tibble wrote: On 14/02/11 21:12, David Kelly wrote: On Mon, Feb 14, 2011 at 08:54:59PM +, Simon Tibble wrote: Now, see, I can't help thinking that if we all just abandoned money then the motivation for people to do this sort of thing would then disappear - would it not? Without money, how would we keep score to know who is winning? By measuring ones contribution. This can be quantified by creating a system whereby one's output is measured. It is not a credit system, rather a combination of reputation (feedback of others) and how much produce or time you effect. Try to think ebay without the money, and instead of leaving feedback after every transaction you only leave the feedback just once (how do you feel about the other person? good/bad). Broken. Won't work. It's too bureaucratic for too little (immediate) return to catch on, and its bureaucracy would guarantee long-term corruption. This sort of idea will take years to catch on and will be a gradual process. In fact, it has already started in the (primitive) form of free open-source software. As for the corruption, at least in a organised contribution based system all data will be available for all to see, unlike the corruption we have today. Personal preference: if I can have check-able corruption or hidden corruption - I'd choose check-able every time. In fact, I think you'd find people would come to the forefront by actually boasting they are the most sound people with solid principles as a result of it being open for audit by anyone at anytime. And because it relies on the opinion of others it would be a better framework to build on (see eBay's feedback system as an introduction to a the value of mass-opinion). We'll probably evolve semi-naturally to a reputation based economy as advancing technology eliminates a lot of basic-needs scarcity, but that's just speculation. In the meantime, money is really nothing but a scalable way to lubricate the process of trade. The more you centralize the management of money (or its replacement), the less efficiently it works -- and trying to quantify contribution through some uniform system as you suggest would require absurd levels of centralization. Yes, it would be absurd to introduce it over night, but not more absurb than the proposed Bankor currency headed our way. It's probably just about the same amount of admin, only with a website it would eliminate the need for turning trees into notes/paper. Also, the people who control the current money efforts conduct their affairs behind closed doors and avoid scrutiny. In an open system people will be able to not only see the workings (the maths behind it) and they will also be able to vote on it and change it (mass opinion outweighs the individual). If you really want to do away with money, the best way to do it is to advance the state of the art of automation technology. You can do this by contributing expertise, time, and money (in decreasing order of importance) to copyfree [0] and open source [1] software development projects such as FreeBSD. Trying to distract the people contributing to such projects with pie-in-the-sky manifestations of song lyrics from the early '70s [2] is actually counterproductive to that aim. Whilst I agree with you on most of this, I want to point out that the greatest portion of the available workforce are in front of Facebook drooling over Justin Beiber. The sooner the masses are awoken to the truth and shown that a different way of living is even possible, only then will we move in the most positive direction at the fastest speed possible. Hence, some think I spam simply because I am part of many who are attempting to raise awareness of this issue. There really is nothing more important that this non-utopian alternative life choice. But don't mind me. I'm a crazy man with random mumbles. That's good advice. I should follow it. I believe American's use the word kook. Is that right? (assuming your from the states) # NOTES: [0] http://copyfree.org Sorry dude, this is based on an inherently flawed Law system. Try to always remember that a law is just what one guy says another can or cannot do. [1] http://www.opensource.org Top notch link dude. Awesome. Thanks! I am definitely reading this one. I'm ashamed to say I've read most of the open source docs, but not this one. [2] https://secure.wikimedia.org/wikipedia/en/wiki/Imagine_(song) If we're referencing popular culture, I call on Bill Hicks to do my bidding: The world is like a ride in an amusement park. And when you choose to go on it, you think it's real because that's how powerful our minds are. And the ride goes up and down and round and round. It has thrills and chills and it's very brightly coloured and it's very loud and it's fun, for a while. Some people have been on the ride for a long time and they begin to
delay in boot: ata2: ATA channel 0 on atapci0
I get about a 30 second delay during boot for each hard-drive connected to my PC. I'm running FreeBSD 8.1 AMD64 on an ASUS Sabertooth X58 motherboard. atapci0: [ITHREAD] ata2: ATA channel 0 on atapci0 ata2: [ITHREAD] ata3: ATA channel 1 on atapci0 Is there something I can define or disable to make these timeouts go faster? These lines get the delay: ata2: ATA channel 0 on atapci0 ata3: ATA channel 1 on atapci0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Redux
I need to ask this question again in the hopes that something will come of it. In the process of going through an update (I finally got that sorted out) all of my partitions were renamed. Here they are: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/label/rootfs0507630 326734 140286 70% / devfs 1 1 0 100%/dev /dev/label/var0 1012974 170386 761552 18% /var /dev/label/usr0 33292236 9358560 21270298 31% /usr linprocfs 4 4 0 100%/usr/compat/linux/proc /dev/md0789518 16 726342 0% /tmp As you can see, root, which was once /dev/ad0s1a, is now /dev/label/rootfs0, and /var, which was once /dev/ad0s1d, is now /dev/label/var0. Along with these changes the /etc/fstab was automatically modified to allow the boot process to take place. Can someone give me a heads up as to what is going on here. Seems that you - or something - did make the switch from device names to labels. Maybe your kernel now includes GEOM functionality for work with labels? But I don't know of a process that changes /etc/fstab automatically... You can still use the device names for the /etc/fstab entries, you just need to make sure that you select the correct names (as you described above). Then there should be no problem as labels are optional. Honestly, I certainly didn't make the change from device names to labels. I wouldn't know how to do that, although I gather from what you've said that the kernel config file contains that information. I'm not sure, however, what you mean when you say that I can still use the device names, as the system will not boot unless fstab has in it the entries shown above. FreeBSD is wonderful, don't get me wrong, but it is not magical. Partitions don't just accrue labels and /etc/fstab doesn't edit itself. Are you running PCBSD? LOL! No, I'm running FreeBSD 8.1. I know that this all sounds too odd, but I swear that I never messed with renaming the partitions with labels. If you check back a few days you will see that I was having trouble with an update, and that's where all of this happened. Anyway, if you want to go back to device names in the /dev/ad0s1[a-g] scheme you can extract the correct names with: geom label list (you might want to pipe it into a pager) then edit your /etc/fstab accordingly and reboot. Although, why bother really? The label names may come in handy if you have to move the hdd to another machine to extract the information, or for various other reasons. To tell the truth, I'm content to leave things as they are, but unfortunately one of the side effects of all this is that I can't figure out how create and entry in the fstab which will again allow me to mount my other hard drive. The former fstab entry for that was: /dev/ad1s1 /c ntfsrw 1 0 But now with labels active I really don't know how to proceed. Rem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Redux
On Mon, 14 Feb 2011, Rem P Roberti wrote: To tell the truth, I'm content to leave things as they are, but unfortunately one of the side effects of all this is that I can't figure out how create and entry in the fstab which will again allow me to mount my other hard drive. The former fstab entry for that was: /dev/ad1s1 /c ntfsrw 1 0 But now with labels active I really don't know how to proceed. Labels just provide an alternate way to refer to a slice, or partition, or filesystem. They don't replace the normal device names. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: delay in boot: ata2: ATA channel 0 on atapci0
On Mon Feb 14 11, Xn Nooby wrote: I get about a 30 second delay during boot for each hard-drive connected to my PC. I'm running FreeBSD 8.1 AMD64 on an ASUS Sabertooth X58 motherboard. atapci0: [ITHREAD] ata2: ATA channel 0 on atapci0 ata2: [ITHREAD] ata3: ATA channel 1 on atapci0 Is there something I can define or disable to make these timeouts go faster? These lines get the delay: ata2: ATA channel 0 on atapci0 ata3: ATA channel 1 on atapci0 A) you can rebuild your kernel with optionsATA_REQUEST_TIMEOUT=3 to reduce the timeout to 3 seconds. that should be enough for new hdds/controllers. B) or you could try switching from ATA(4) to CAM(4) via the ATA_CAM kernel option (see ATA(4) for an explanation). since you're running pretty new hardware and a recent fbsd version you would defenately benefit from switching to CAM(4). it has much better ahci support e.g. simply add options ATA_CAM to your kernel conf and your good to go after building installing the new kernel. also the probelm might be in your BIOS. be sure to deactivate all ATA channels which don't have a device connected to them. otherwise fbsd will look for one until the timeout gets hit (both in ATA(4) and CAM(4)). in fact you might want to check the bios before trying any of the steps A) or B), because this very likely seems to be the problem in your case. cheers. alex -- a13x ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Redux
Rem P Roberti remeg...@comcast.net writes: To tell the truth, I'm content to leave things as they are, but unfortunately one of the side effects of all this is that I can't figure out how create and entry in the fstab which will again allow me to mount my other hard drive. The former fstab entry for that was: /dev/ad1s1 /c ntfsrw 1 0 But now with labels active I really don't know how to proceed. You can tell what the current labels are with the command 'glabel status', or 'glabel list' will give a much more detailed listing. -- Carl Johnsonca...@peak.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: delay in boot: ata2: ATA channel 0 on atapci0
Hi Alex, I will double-check my BIOS, I thought I had unused ports disabled, but I might have missed some (it's a complex motherboard!). I probably wont recompile my kernel, because I think that would prohibit me from using the freebsd-update program. I can always just wait, it was a bigger problem when I had 6 drives in it. It almost seems to be pausing when it finds a drive, I have a CDROM and one HD in it now. On Mon, Feb 14, 2011 at 11:01 PM, Alexander Best arun...@freebsd.org wrote: On Mon Feb 14 11, Xn Nooby wrote: I get about a 30 second delay during boot for each hard-drive connected to my PC. I'm running FreeBSD 8.1 AMD64 on an ASUS Sabertooth X58 motherboard. atapci0: [ITHREAD] ata2: ATA channel 0 on atapci0 ata2: [ITHREAD] ata3: ATA channel 1 on atapci0 Is there something I can define or disable to make these timeouts go faster? These lines get the delay: ata2: ATA channel 0 on atapci0 ata3: ATA channel 1 on atapci0 A) you can rebuild your kernel with options ATA_REQUEST_TIMEOUT=3 to reduce the timeout to 3 seconds. that should be enough for new hdds/controllers. B) or you could try switching from ATA(4) to CAM(4) via the ATA_CAM kernel option (see ATA(4) for an explanation). since you're running pretty new hardware and a recent fbsd version you would defenately benefit from switching to CAM(4). it has much better ahci support e.g. simply add options ATA_CAM to your kernel conf and your good to go after building installing the new kernel. also the probelm might be in your BIOS. be sure to deactivate all ATA channels which don't have a device connected to them. otherwise fbsd will look for one until the timeout gets hit (both in ATA(4) and CAM(4)). in fact you might want to check the bios before trying any of the steps A) or B), because this very likely seems to be the problem in your case. cheers. alex -- a13x ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
What is the best way to image copy a FreeBSD system?
On Linux I use clonezilla, which understands the EXT3 filesystem, and it can skip unused space (I'm using about 3GB out of 1TB). On FreeBSD, I have to fill the 1TB drive with zero-filled files, then delete them, on each partiton, since CloneZilla uses DD+gzip on the entire drive. I like to make image copies of new systems, so I can revert back to my starting point in case I break it, but CloneZilla is taking 9 hours to image the drive. I can re-install a lot faster than that. I normally store my image copies on a Samba share on another system, they are stored as files. I am not copying to another raw drive. Is there an image-copy backup program that understands the UFS file-system? Or perhaps there is a better solution on FreeBSD? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
portsnap fetch corrupt
Hello, Whenever I try to do a portsnap, it tels me metadata is corrupt. harley# portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. Fetching snapshot tag from portsnap5.FreeBSD.org... done. Fetching snapshot metadata... done. Updating from Fri Feb 11 01:08:40 CET 2011 to Tue Feb 15 07:25:54 CET 2011. Fetching 3 metadata patches. done. Applying metadata patches... done. Fetching 3 metadata files... /usr/sbin/portsnap: cannot open d0fcac86ce12456d1bf6a63b3628725c24ea32d3e98d7d71280a7a681e17.gz: No such file or directory metadata is corrupt. I've already removed /var/db/portsnap directory, and redo the portsnap fetch, but the problem remains since several days now. What can I do to get this going again? Running FreeBSD 8.1-RELEASE #0 Thanks, Alain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: android
I haven't mounted my Android yet on my FreeBSD servers but I would think the advice below of mounting it like a MSDOS thumb drive would be correct. I would also think you'd need to use the longname switch as well on your command line. Otherwise you'll be stuck with the old 8.3 filename format limits. From: Mike Tancsa m...@sentex.net To: ajtiM lum...@gmail.com Cc: freebsd-questions@freebsd.org Sent: Mon, February 14, 2011 8:32:56 PM Subject: Re: android On 2/14/2011 8:00 PM, ajtiM wrote: Hi! I bought HTC Inspire 4G phone and I lie to upload some mp3 files. When I connected a phoe to the USB port I got: da4 at umass-sim1 bus 1 scbus3 target 0 lun 0 da4: HTC Android Phone 0100 Removable Direct Access SCSI-2 device da4: 4 MB/s transfers How can I mount it, please? Try, ls -l /dev/da4* You will probably see /dev/da4s1 which is most likely msdos. If so, try mount_msdosfs /dev/da4s1 /mnt ---Mike -- --- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, m...@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org