Re: switching discs during install
I had actually avoided the base system because I was installing FreeBSD on a system with a poor internet connection, but I was able to download the discs on a system with a high speed connection. The DVD would have worked fine, but it was not available from the freebsd home page and so I did not know it was available. But thanks for the information. Next time, I'll give it a try. That said, I still think that as long as the freebsd foundation distributes CD images it would be worthwhile to make them as effective as possible. Actually, even if the install were moved to a DVD, the ordered install I proposed would still improve the situation. When the packages are haphazardly ordered on the disc, the CD/DVD reader is forced to perform a large number of seeks that dramatically reduces data throughput. When they are read in order, read rates should be much better. While I doubt many users choose an operating system based on installation performance, it would save people a little time and make a better first impression. -Jim On Sat, Sep 6, 2008 at 4:24 AM, Manolis Kiagias [EMAIL PROTECTED]wrote: James Strother wrote: I just completed an install of FreeBSD 7.0 and couldn't help but wonder why it was necessary for me to switch discs back and forth so much while installing ported applications. I've used FreeBSD on and off for a number of years and this issue has always irked me a just a little bit. It means that I have to babysit the installation and it really does increase the time required to perform the installation. SNIP Most people install only the base system from CD, then install applications from ports or download newer packages. If you insist on installing packages from the installation media, there is an easy way. Use the DVD: http://www.tuxdistro.com/download.php?id=921name=FreeBSD-7.0-RELEASE-DVD-ISO.torrent Or, create one yourself using your already downloaded discs: http://www.pa.msu.edu/~tigner/bsddvd.htmlhttp://www.pa.msu.edu/%7Etigner/bsddvd.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ssh
On FreeBSD 7.0 how do I tell ssh to allow login from root and also to listen on port 9922 instead of port 22? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh
FBSD1 [EMAIL PROTECTED] wrote: On FreeBSD 7.0 how do I tell ssh to allow login from root Change the PermitRootLogin parameter in /etc/ssh/sshd_config. and also to listen on port 9922 instead of port 22? Edit the the Port parameter in the same config file. And as an aside -- Sahil Tandon [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ThinkPad 3.0GHz: can anybody verify?
On Sat, 6 Sep 2008, Gary Kline wrote: On Fri, Sep 05, 2008 at 04:09:12PM +1000, Ian Smith wrote: I had no trouble dropping a 120GB Fujitsu into my T23 recently (was 30GB), so I expect 160GB would be fine, especially in a much later model. And 2GB is likely plenty for anything but Microsloth Vasta. Something to consider is what type of RAM it uses, eg the older PC133 144-pin SDRAM I need for my T23 is now very expensive, ~U$70 per 512MB stick, or around A$100 shipped, where newer RAM is a fraction of that. As an example (T-41): http://www-307.ibm.com/pc/support/site.wss/MIGR-58183.html I've never heard of a uniprocessor Thinkpad running anywhere near 3GHz, but then there's lots I've never heard of .. but the T41[/p] only goes to 1.7GHz according to the above URL, so it must be a much later model. On a quick check, the fastest T43 seems to be a Pentium M 770 @ 2.13GHz. [[ ... ]] Well I certainly wouldn't buy a Thinkpad I didn't have the EXACT model number of, when that reveals the CPU type/speed, HD and RAM originally fitted, CD/CDRW/DVD[RW], screen size, video card, wireless etc options. [..] okay, the long/short of it is that i spent last night anf this morning asking several .com places that sold used TP's if 1) they would sell me the laptop without Windose and credit me. That's hard enough to wangle on a _new_ laptop! Depending on model, you may need 'doze (or at least some form of DOS) to upgrade its BIOS (sad but true, and you do want to use the latest BIOS, esp. re ACPI). I have ad0s1 as a 4GB FAT32 slice for such purposes. Again, the Lenovo/IBM site/s show which models require that, though most of the later ones can have their BIOS EC upgraded from a bootable CD. 2) they had an uniprocs = 2.2 and = 3.0 3) they would do upgrade or 4) provide me with the upgrade into. I found some dual-core that were like 1.7GHz- 2.2GHz. sound right? Sounds about right for the recent duallies, yes, but which models? Main problem with (any) dual-core laptop is inability to suspend/resume, so if that matters to you, either go for a uniprocessor model or be prepared to run -CURRENT and help with debugging SMP suspend/resume, which (as I recall) was being developed on a T60 or T61 .. several had large ~(120G) drive, 1G RAM. .LT. $800, which is not that bad. A wweek ago I asked a Live Chat person about scrubbing the Windows; it was No; sold as-is. You still haven't got the primary pieces of information you need: a) the Thinkpad model (T-, X-, Z-, A- or R-something ..) and b) the detailed 'type' number; eg my T23 is a '2647-4MA'. Given that, go to the Lenovo site and you'll see where to enter it to get your _exact_ specs. I did plenty of this while hunting for mine, also checking the FreeBSD Laptop Compatibility List. I wanted a T23 or T43 (the latter was over my budget at the time, besides I wanted a serial and parallel port) and I checked out various R-series and A-series models on offer (no thanks!) So just 'Thinkpad' is way too broad, rather like saying it's a Ford :) Of note: when I checked that discountpc place, the 3.0Ghz was gone; the other were from 1.2 to 2.0GHz. More disappointing was the sloppy way some site had listed their TP's. E.G.: 2000GHz and other careless errors. Makes you wonder how far these places have to dim the lights when they are paying their employees... . I got mine privately on ebay, but only after knowing exactly what I was expecting. I was lucky and got a mint condition one for $400 shipped which was a great price for a T23 back then - not now of course. Don't buy from anyone too lazy to turn it over and read you the numbers! good luck, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
incomplete build
I'm having build problems with gnome. Patch for firefox doesn't apply cleanly. Patch for kde3 is the same libungif not found. A solution? _ Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie. http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kernal panic mounting Sony USB IC RECORDER
uname -a FreeBSD shafp09nb102137 7.0-RC1 FreeBSD 7.0-RC1 #0: Mon Dec 24 12:18:24 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Computer is Dell Latitude D830 I have a Sony PCM-D50 digital recorder that will not mount correctly. At the command line, when I plug in the USB cable and turn on the recorder I see umass0:Sony IC RECORDER, class 0/0, rev 2.00/1.00, addr 2 on uhub6 After about a minute four error messages appear: (da0:umass-sim0:0:0:0):Auto Sense Failed (da0:umass-sim0:0:0:0):got CAM status 0x10 (da0:umass-sim0:0:0:0):fatal error, failed to attach to device (da0:umass-sim0:0:0:0):lost device At that point the computer is not responding to the keyboard. When I power off the Sony recorder the computer screen displays a page fault panic. The panic behavior reminds of what happenes when I pull a USB thumb drive without dismounting ... it is probably not specific to this device. To rub salt in my wounds, in mounts perfectly on Windows XP. So I dragged my files onto drive D:, then back in FreeBSD I mount /dev/ad4s2 on /mnt/win_d and copy the files to my home directory tree. Good news: In Gnome I can play and edit the files with Audacity. Very happy about that. Any advice will be greatly appreciated! Gary Dunn Open Slate Project http://openslate.net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: switching discs during install
They might not be as haphazard as you suggest. ISTR once reading that the CDs were arranged with the most popular packages on the first CD so that you would only need to download disk 2 (and 3) if you wanted some of the less common packages. With your suggested layout it's quite likely that a package which most of the others depend on would be right down at the bottom of the list with the result that you'd invariably need to download all 3 CD images. I have to admit that I have no idea how they are organized, there could be very good reasons for doing it the current way. However, I was actually only suggesting that the packages be sorted by popularity, where popularity is the number of packages which depend on the package in question (this would need to include both direct and indirect dependencies). The most-depended-upon packages would go on the first disc and the least-depended-upon packages would go on the last. If you move from first to last, then all dependencies are automatically satisfied. While this should put most of the common packages on the first disc, you could have a frequently installed package that was not highly depended upon that was placed on the last disc. If your aim was to minimize the number of discs that had to be downloaded this ordering would be less that ideal. However, there are a large number of orderings which still satisfy the dependencies; the one I gave is just a good starting point. If you wanted, such packages could be promoted in the ordering by placing them immediately after all of their dependencies had been satisfied. In fact, you could do this recursively for every package that the particular package depended upon so that it occurred as early in the ordering as possible. And if you had a list of such important packages this could clearly be performed for each (if you started with the least important and moved to the most, you could ensure that the most important were placed earlier in the ordering). I think the best way to avoid the need for frequent CD switching would be for sysinstall to sort the list of selected packages into CD order before installing them. I imagine this would require some changes to pkg_add to prevent it from installing dependencies and I expect the possible benefits would not be considered to be sufficient to justify the effort. I agree that fiddling with pkg_add to place the packages neatly on the disc would probably not be worth the effort, but I'm not sure that it is necessary. In order for the method I suggested to work, sysinstall would have to be modified to attempt installation in the selected ordering. If you had a list of the packages in this ordering, you would only have to flip the please install this one bit for the selected packages, and then traverse the list in order installing/ignoring each package. Since all dependencies would be satisfied by virtue of the ordering, pkg_add would find that every dependency had already been satisfied and should not cause any problems. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: switching discs during install
On Sun, 7 Sep 2008 10:22:37 +0100 Mike Clarke [EMAIL PROTECTED] wrote: On Sunday 07 September 2008, James Strother wrote: That said, I still think that as long as the freebsd foundation distributes CD images it would be worthwhile to make them as effective as possible. Actually, even if the install were moved to a DVD, the ordered install I proposed would still improve the situation. When the packages are haphazardly ordered on the disc, the CD/DVD reader is forced to perform a large number of seeks that dramatically reduces data throughput. When they are read in order, read rates should be much better. They might not be as haphazard as you suggest. ISTR once reading that the CDs were arranged with the most popular packages on the first CD so that you would only need to download disk 2 (and 3) if you wanted some of the less common packages. With your suggested layout it's quite likely that a package which most of the others depend on would be right down at the bottom of the list with the result that you'd invariably need to download all 3 CD images. I think the best way to avoid the need for frequent CD switching would be for sysinstall to sort the list of selected packages into CD order before installing them. I imagine this would require some changes to pkg_add to prevent it from installing dependencies and I expect the possible benefits would not be considered to be sufficient to justify the effort. Another way to avoid switching CDs is to select an FTP server for installing packages. This also avoids downloading bits you don't need or want. There is another discussion: http://docs.freebsd.org/cgi/mid.cgi?1220762797.29265.43.camel which would address the disk swapping by removing all the packages from disc1 and providing a DVD of packages that could be used after installation. HTH, Randy -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: which gray is best for print?
On Sun, 7 Sep 2008 01:19:00 +0200, cpghost [EMAIL PROTECTED] wrote: But do also provide a 1-page version with a sensible print medium CSS (or even a nicely formatted PDF), so that users can create a hard copy version with a minimun of fuss and clicks. The last advice is the best one, I think. PDF has the advantage that it (usually) renders 1:1 as the author intends it (just as PostScript does; anyone remembers Display Ghost Script?). While CSS provides means to setup printing characteristics on the client's site, it's not interpreted correctly by the various browsers (or their common substitutes that do not follow standards), or they may interfere with local browser printing settings. -- Polytropon From 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 [EMAIL PROTECTED]
Re: which gray is best for print?
On Sun, 7 Sep 2008 01:33:55 +0200, cpghost [EMAIL PROTECTED] wrote: Personally, I really dislike pure white backgrounds on light-emitting surfaces. When reading from a physical book, white is the best background, but when reading it from a CRT or LCD, it hurts my eyes very fast up to a point where I start to get a headache and have to stop after 10 to 20 minutes. While the book paper just reflects light, the screen (CRT or LED) emits light, this seems to have a higher energy that is sometimes not very pleasant to the eye's sensory array. That's why I usually use a user-specific CSS to override that pure-white background and change it to light grey. That's what I like the switch Author mode / user mode in the Opera browser. It strips any CSS stuff from the document and lets me apply my custom color settings. Sometimes, even badly designed pages become readable after all. -- Polytropon From 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 [EMAIL PROTECTED]
Re: switching discs during install
On Sunday 07 September 2008, James Strother wrote: That said, I still think that as long as the freebsd foundation distributes CD images it would be worthwhile to make them as effective as possible. Actually, even if the install were moved to a DVD, the ordered install I proposed would still improve the situation. When the packages are haphazardly ordered on the disc, the CD/DVD reader is forced to perform a large number of seeks that dramatically reduces data throughput. When they are read in order, read rates should be much better. They might not be as haphazard as you suggest. ISTR once reading that the CDs were arranged with the most popular packages on the first CD so that you would only need to download disk 2 (and 3) if you wanted some of the less common packages. With your suggested layout it's quite likely that a package which most of the others depend on would be right down at the bottom of the list with the result that you'd invariably need to download all 3 CD images. I think the best way to avoid the need for frequent CD switching would be for sysinstall to sort the list of selected packages into CD order before installing them. I imagine this would require some changes to pkg_add to prevent it from installing dependencies and I expect the possible benefits would not be considered to be sufficient to justify the effort. -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Journaling filesystem support in FreeBSD
So, what are the alternatives? Can I run xfs on FreeBSD? Is it zfs on 7 that I need? I have tried tfm and google and not found anything useful. If upgrading to 7.x is acceptable, gjournal on UFS has been working for me a treat. -Reko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Burncd 700MB rw/cd
On Sun, 7 Sep 2008 11:16:46 +0800, FBSD1 [EMAIL PROTECTED] wrote: Does burncd need a programming update to handle these newer larger sized rw/cd's? First, just check a few things: 1. Is the CD-RW media okay, not damaged? 2. Does the writer support this media? 3. Do you use the proper speed to record the media? Most CD-RWs can't be recorded as fast as CD-Rs can. What other (built in with the release) program can be used to burn 700 MB rw/cd's? Since introduction of atapicam (needs to be in your kernel) I switched to the cdrecord utility, and sometimes I use cdrdao, both availabe from ports. -- Polytropon From 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 [EMAIL PROTECTED]
Re: Grid computing under FreeBSD using jails ... ?
On Sat, 6 Sep 2008 20:27:10 -0500 Sam Fourman Jr. [EMAIL PROTECTED] wrote: I am also interested in using FreeBSD as the host in some grid/cloud solution I am open to any Ideas anyone has. Hey Sam, do you have any particular grid/cloud/clustering solution in mind? I think that Sun's grid engine works in FBSD (it is present in ports)... /usr/ports $ make search info=grid\ engine There was a similar,but short discussion in this list around August 11th 2008, Subject 'cluster filesystem', mentioning things like hadoop + gluster on BSD. B _ {Beto|Norberto|Numard} Meijome I don't think they could put him in a mental hospital. On the other hand, if he were already in, I don't think they'd let him out. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail server DNS configuration questions
On Sat, 6 Sep 2008 19:28:28 -0600 Andrew Falanga [EMAIL PROTECTED] wrote: Hi, Well, my clients at church are still having issues and after working with George, a respondant to my original questions, I think that most, if not all, of my problems are related to DNS and how we've got it improperly configured. First, a crude drawing of how our mail server exists in the world: 192.168.2.x/24 72.24.23.252 lot's of networks Private Network -- CableOne -- Internet Now, our mail server's IP is 192.168.2.23. On the router, he (the person at whose house the mail server is) has IP forwarding setup so that mail get's sent to our FreeBSD machine. ... It doesn't take a rocket scientist, or a computer scientist, to figure out we've got DNS issues. I'm thinking that I should setup a domain within the 192.168.2.0/24 network on this box. This has little to do with DNS, and there's nothing obviously wrong. The router has the routable IP address and is forwarding incoming port 25 tcp connections to the real mail server using NAT. As far as the internet side is concerned your entire network has to look like a single server, so the mailserver has to pretend to be running on the router, and announce itself as mail.whitneybaptist.org. You'll probably need to pass your outgoing mail through another mail server to avoid its being rejected though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: switching discs during install
On Sunday 07 September 2008, Randy Pratt wrote: There is another discussion: http://docs.freebsd.org/cgi/mid.cgi?1220762797.29265.43.camel which would address the disk swapping by removing all the packages from disc1 and providing a DVD of packages that could be used after installation. That looks interesting. It would certainly appeal to me, though I don't expect I'm a typical user. My broadband account operates on a PAYG basis, if I go over my monthly usage allowance then I pay per GB for the extra daytime data but all downloads between midnight and 8:00am are still free. With this setup I certainly don't want to be downloading all the packages from a FTP server on demand when I'm doing an install. My approach is to fetch the ISOs overnight so that I can install the packages I need to get myself up and running. Afterwards I use portupgrade to bring things up to date, either as a daytime task if there's not too many ports to upgrade or after an overnight run of portupgrade -aFR if there's a lot to do. -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MD5 errors
[EMAIL PROTECTED] wrote: i was downloading 7.0-RELEASE, and found the following MD5 errors: doc/ ERROR: MD5 (doc.cc) = a83976995e055dbe67030397902c5ab9 MD5SUM MD5 (doc.cc) = 662363b086db1164eb922024428df2df ERROR: MD5 (install.sh) = 0ddd67ac6a0ca00e0131f63bcde9b145 MD5SUM MD5 (install.sh) = a1f597bcc955e069fd6679ea4a543d19 kernels/ ERROR: MD5 (install.sh) = 7f507448f530c624c9b0d9e4881c148f MD5SUM MD5 (install.sh) = 766fb0b8d2332d5cb5f70be4ec00ea7b src/ ERROR: MD5 (install.sh) = 311278afa5305731822fbfa8d1de2805 MD5SUM MD5 (install.sh) = fa16a2a3b7a8b4ec6f4eada5eb5bb326 i am worried about doc.cc, because the file size is very wrong. can anyone please verify that it is safe to install with these broken MD5 sums before i try to install? No it's not, that's why the MD5 sums are important ;) Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
LVM2 under FreeBSD ?
Hello all, I'd like to use something like LVM under FreeBSD, as I have a server running FBSD 7 and I don't know what space to give to what partition, and as I plan on installing postfix+courier-imap soon, I'd like to have some way to share the 235GB left on my drive between /home (legal torrents), and /var (www, mails, etc) I had a look at GEOM and (g)vinum, and none of them seem to accept resize of partition, while LVM (under linux) accept hotresizing of ext2/3 ReiserFS filesystems. Do yoy know of any solution available as port that would provide me with the same features as LVM ? (resize of partitions while running, to adapt /var to my needs without copying, unmouting, resizing, rebooting, etc) Can LVM be used in FreeBSD ? can the default kernel read write ext3 partitions ? I might try to install LVM on a primary partition. Thank you in advance for your input. -- nicodache ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Compiling Issue
j c [EMAIL PROTECTED] writes: I've had an ongoing problem of freezing. It happens randomly, i feel, but sometimes it seems like it happens more under heavy load (but not always). I've ran numerous tests: memtest, hard drive tests, cpu load tests, basically most of the tests on Ultimate Boot CD, and they all finish successfully. Well, i've been able to reproduce the freezing during compilation of gnash, or one of its dependencies agg. Does anyone have any suggestions? When you say it is reproduceable, do you mean that it always fails at the same point? If you have a truly reproduceable case, then you could break to the kernel debugger (the procedure is described in -- if I recall correctly -- the Developers' Handbook) and get information that a developer could use to analyze the situation. If it isn't reliably reproduceable in that sense, it's still likely to be hardware, even if software tests have been passing. Heat-related issues would be a good guess; perhaps you can monitor some motherboard temperature values. Good luck. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrade path from 5.5
Michael P. Soulier [EMAIL PROTECTED] writes: So if some ports aren't supported on 5.5, I'd better get my aging gateway upgraded. This begs the question of the correct path. I'm tempted to do a fresh install of 7.0 and then restore, but mergemaster does a better job of making sure the config files are both updated, and that nothing is lost. Would the correct path be 5.5 - 6.3 - 7.0? That should be fine. RELENG_6 instead of 6.3 would also work, and so on... -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: LVM2 under FreeBSD ?
On Sun, Sep 07, 2008 at 02:09:42PM +, nicodache wrote: Hello all, I'd like to use something like LVM under FreeBSD, as I have a server running FBSD 7 and I don't know what space to give to what partition, and as I plan on installing postfix+courier-imap soon, I'd like to have some way to share the 235GB left on my drive between /home (legal torrents), and /var (www, mails, etc) I had a look at GEOM and (g)vinum, and none of them seem to accept resize of partition, while LVM (under linux) accept hotresizing of ext2/3 ReiserFS filesystems. Do yoy know of any solution available as port that would provide me with the same features as LVM ? (resize of partitions while running, to adapt /var to my needs without copying, unmouting, resizing, rebooting, etc) Can LVM be used in FreeBSD ? can the default kernel read write ext3 partitions ? I might try to install LVM on a primary partition. Although it's still considered experimental, ZFS would give you similar functionality as LVM2 (and more). I recommend you start with: http://wiki.freebsd.org/ZFS and the man pages. If possible, experiment a little before implementing, ZFS is a paradigm shift from normal disk/volume management. -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [SOLVED} bind9 sdb pgsql
On Sun, Aug 10, 2008 at 12:53 AM, R Dicaire [EMAIL PROTECTED] wrote: On Sun, Aug 10, 2008 at 12:32 AM, User Lenzi [EMAIL PROTECTED] wrote: With a bit of work I was able to successfully build/replace bind9.4.2 port and add pgsql sdb support. If anyone's interested, I can post the method I used. I am interested, please if you put the posts it would be nice Sergio, I hope this helps. http://www.freebsddiary.org/phorum/read.php?f=4i=331t=331 does anyone have a sample pgsql table layout and sample zone data, I can't get this to work Sam Fourman Jr. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrade path from 5.5
On Sat, Sep 06, 2008 at 01:26:04PM -0400, Michael P. Soulier wrote: So if some ports aren't supported on 5.5, I'd better get my aging gateway upgraded. This begs the question of the correct path. I'm tempted to do a fresh install of 7.0 and then restore, but mergemaster does a better job of making sure the config files are both updated, and that nothing is lost. Would the correct path be 5.5 - 6.3 - 7.0? I would personally be tempted to do a fresh install of 7.0, and then boot single user, copy over old config files and then run a mergemaster. Cheers. -- Jonathan Chen [EMAIL PROTECTED] -- The things we know best are the things we haven't been taught. - Marquis de Vauvenargues ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
libjvm.so not found on amd64 system running freebsd 7
Hi all,due to this opera errer I get when I want to test the working of my java browser plugin I get a message that libjvm.so is not found on my amd64 box running freebsd 7.The commands I type are:[EMAIL PROTECTED] /usr/ports/math]# ldd /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so: /libexec/ld-elf.so.1: /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so: Unexpected inconsistency: dependency libjvm.so not found /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so: exit status 1 [EMAIL PROTECTED] /usr/ports/math]# ldd /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: /libexec/ld-elf.so.1: /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: Unexpected inconsistency: dependency libjvm.so not found /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: exit status 1 [EMAIL PROTECTED] /usr/ports/math]# whereis libjvm.so libjvm.so: The question is, is there something wrong with my java installation? [EMAIL PROTECTED] /usr/ports/math]# pkg_info | grep Java diablo-jdk-1.6.0.07.02 Java Development Kit 1.6.0_07.02 diablo-jre-1.6.0.07.02 Java Runtime Environment 1.6.0_07.02 javavmwrapper-2.3.2 Wrapper script for various Java Virtual Machines jdk-1.6.0.3p4_3 Java Development Kit 1.6.0 netbeans55-5.5.1_1 A free and open-source IDE for Java weka-3.4.13 Data Mining Software in Java What should I do to let this opera error message go away?opera: Shared object libjvm.so not found, required by opera ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Local freebsd-update and portsnap server
Is there any docs about how to setup a own freebsd-update and portsnap-server/mirror? Or is the only way to setup some kind of proxy? -- chs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail server DNS configuration questions
Andrew Falanga wrote: *Not having* a reverse entry for a mail server is often the cause of issues. This I do know very well. I had similar problems when running a sendmail backup spooler for Syracuse Networks back in 2000. The eventual solution was that our ISP delegated control of our subnet to us. I'm wondering if something similar must be done on the internal network, i.e. 192.168.2.0/24. Perhaps I shouldn't have eluded to the problems that my clients are experiencing. The real question is, should I configure a sub-domain under whitneybaptist.org for this server and if so, how to set it up? I'm interested as to why you got this answer to the host query you did. In my original mail, I provided the result of a reverse lookup on that IP address to which I got this response: [/usr/home/andy] - dig +short -x 72.24.34.252 34-252.72-24-cpe.cableone.net. Using host, on my machine, I get this response: [/usr/home/andy] - host 72.24.34.252 252.34.24.72.in-addr.arpa domain name pointer 34-252.72-24-cpe.cableone.net. Well, interestingly enough: [30] Sun 07.Sep.2008 DING! [EMAIL PROTECTED]/logs] host 72.24.34.252 252.34.24.72.in-addr.arpa domain name pointer 34-252.72-24-cpe.cableone.net. So something's changed in the last 12 hours, although I can't say exactly what. AFAIK, my DNS boxen and I were communicating Just Fine(tm) last night as well as this afternoon. Regardless of the fact that I got a response and you didn't, I'm still not getting the right information. The reverse mapping should be something like: 252.34.24.72.in-addr.arpa PTR mail.whitneybaptist.org. I may have gotten the syntax wrong as it's been a while since I've had to manipulate BIND name tables. And the RFC for ESMTP is #2821. Thanks for the RFC. Andy Well, at this point, I'd take the day off, and tomorrow perhaps have a dig at cableone's support ppl, looky here: [35] Sun 07.Sep.2008 14:03:43 [EMAIL PROTECTED]/logs] dig 72.24.34.1 ; DiG 9.4.2-P1 72.24.34.1 ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NXDOMAIN, id: 56668 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;72.24.34.1.IN A ;; AUTHORITY SECTION: . 3600IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2008090700 1800 900 604800 86400 ;; Query time: 222 msec ;; SERVER: 66.76.92.18#53(66.76.92.18) ;; WHEN: Sun Sep 7 14:03:50 2008 ;; MSG SIZE rcvd: 103 So, it's obvious they're playing with this zone Right Now(tm), (more or less) as the SN seems to indicate today. Possible this is auto-generated or something, but I think you'll get no joy on the PTR records until they do something upstream. As for your internal net, I don't know much about it, unfortunately. KDK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh
Sahil Tandon wrote: FBSD1 [EMAIL PROTECTED] wrote: On FreeBSD 7.0 how do I tell ssh to allow login from root Change the PermitRootLogin parameter in /etc/ssh/sshd_config. and also to listen on port 9922 instead of port 22? Edit the the Port parameter in the same config file. And as an aside ... don't do it. ;-) Just my guess. Kevin Kinsey -- Reactor error - core dumped! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Local freebsd-update and portsnap server
Christer Solskogen [EMAIL PROTECTED] wrote: Is there any docs about how to setup a own freebsd-update and portsnap-server/mirror? Or is the only way to setup some kind of proxy? Proxy is recommended as per the man page; also see this thread for some background: http://freebsd.monkey.org/freebsd-stable/200604/msg00606.html -- Sahil Tandon [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh
Kevin Kinsey [EMAIL PROTECTED] wrote: Sahil Tandon wrote: FBSD1 [EMAIL PROTECTED] wrote: On FreeBSD 7.0 how do I tell ssh to allow login from root Change the PermitRootLogin parameter in /etc/ssh/sshd_config. and also to listen on port 9922 instead of port 22? Edit the the Port parameter in the same config file. And as an aside ... don't do it. ;-) Just my guess. Woops! I guess the rest of the sentence never made it, and yep, that was it. I was just going to caution against false hopes of increasing security through obscurity. :-) -- Sahil Tandon [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Open Source Studio to Transmitter Link (STL) using Darkice, FreeBSD,liveCaster, icecast and vlc
List, I created an (mostly) Open Source Studio to Transmitter Link using Darkice, FreeBSD,liveCaster, icecast and vlc. I posted about this a over in March of 2007. It has been running with no problems for over a year now. I am hosting a PDF that tries to documents what I did. See: OSSTL: Open Source Studio to Transmitter Link A Studio to Transmitter Link (STL) created with Open Source Software (In use by a local FM and two local AM radio stations) http://jasonellison.net/projects.html My original post to this list in March of 2007. http://lists.tyrell.hu/pipermail/darkice-list/2007-March/74.html -Jason Ellison ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: incomplete build
On Sun, 7 Sep 2008 10:31:53 + Desmond Chapman wrote: I'm having build problems with gnome. Patch for firefox doesn't apply cleanly. Patch for kde3 is the same libungif not found. Please, post exact errors and some previous console lines before errors. It is hard to say something without more information. A solution? WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: LVM2 under FreeBSD ?
On Sun, 7 Sep 2008 14:09:42 +, nicodache [EMAIL PROTECTED] wrote: Hello all, I'd like to use something like LVM under FreeBSD, as I have a server running FBSD 7 and I don't know what space to give to what partition, and as I plan on installing postfix+courier-imap soon, I'd like to have some way to share the 235GB left on my drive between /home (legal torrents), and /var (www, mails, etc) Allthough this may not be the answer you've expected, you can put /var and /home onto the same partition (the 235 GB left). Put /dev/ad0s1g in /etc/fstab as /home, create /home/var and put a symlink /var@ - home/var. This does not create the over- head a LVM would need. Do yoy know of any solution available as port that would provide me with the same features as LVM ? (resize of partitions while running, to adapt /var to my needs without copying, unmouting, resizing, rebooting, etc) As it has been mentioned before, ZFS is much more professional of course. You can add storage to /var or /home without needing to move any content to a new disk. ZFS is part of the base system. Can LVM be used in FreeBSD ? Yes, FreeBSD brings vinum LVM with the base system. can the default kernel read write ext3 partitions ? I don't think so, but there are tools in sysutils/e2fsprogs that might help you: Set of utilities and library to manipulate an ext2, ext3 or ext4 filesystem. -- Polytropon From 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 [EMAIL PROTECTED]
Re: LVM2 under FreeBSD ?
I'd like to use something like LVM under FreeBSD, as I have a server running FBSD 7 and I don't know what space to give to what partition, and as I plan on installing postfix+courier-imap soon, I'd like to have some way to share the 235GB left on my drive between /home (legal torrents), and /var (www, mails, etc) while making oneself life harder is very popular, by making lots of partitions, and then solving the problems with sophisticated tools, you may make your life simple by making just single partition+swap. you choose ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
file root partition
Hello all, File named YES appears in root partition. Ive searched but nothing online...any ideas? thanks Nicholas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
safest way to upgrade a production server
I'm a newbie admin, responsible for a half-dozen of freebsd servers, most of them production servers. We switched from Linux to Freebsd at the beginning of this year, so all of these servers were newly installed in Dec or Jan. I know I *should* be upgrading them, but so far I haven't had the nerve. However, I've been working with Freebsd for 8 months or so, and I feel ready to take the plunge, if necessary. So, my first question is, do I really need to do this? If so, what is the minimum amount of upgrading I can do to be safe? And how? I've studied the Upgrading chapter in Absolute FreeBSD, and think what I need to do is patch the systems to the proper errata branch. I also think I need to do this using freebsd-update to do a binary update, to upgrade on an errata branch. Am I on the right track, here? I've never done this, so will try upgrading a test system, first. If all goes well, I will give it a whirl on one of the production servers. Frankly, I find this idea terrifying, but I guess it needs to be done. Here is what we are running... uname -a FreeBSD ***servername*** 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #1: Mon Dec 3 09:46:53 EST 2007 [EMAIL PROTECTED]:/usr/obj/usr/ src/sys/INET_ON amd64 Any hints here, much appreciated! -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: file root partition
On Sun, 7 Sep 2008 17:39:27 -0400, Nicholas Langford [EMAIL PROTECTED] wrote: File named YES appears in root partition. Ive searched but nothing online...any ideas? No, but questions: # file /YES # ls -laFGio /YES Hard to tell more without further diagnostics. :-) -- Polytropon From 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 [EMAIL PROTECTED]
Re: safest way to upgrade a production server
On Sun, 7 Sep 2008 18:08:55 -0400, John Almberg [EMAIL PROTECTED] wrote: So, my first question is, do I really need to do this? In short: Depends. For servers that are accessible to the public (i. e. the Internet), security updates should be installed (RELEASE-p). Furthermore, security updates for the services you're running are always welcome (for example for mail servers, for Apache, for SSH). If so, what is the minimum amount of upgrading I can do to be safe? And how? I'd say it's freebsd-update. % man freebsd-update This lets you follow the RELEASE branch, including security patches. For installed software, see % man portupgrade which requires the port portupgrade to be installed, or the make update / portsnap mechanism to upgrade the ports you've installed and which then need to be re-compiled (make install). But I think that's stuff you're trying to avoid. I've studied the Upgrading chapter in Absolute FreeBSD, and think what I need to do is patch the systems to the proper errata branch. I also think I need to do this using freebsd-update to do a binary update, to upgrade on an errata branch. Am I on the right track, here? Yes, you are. Allthough there's no problem updating the system's source and recompile + reinstall, freebsd-upgrade saves you much work. I've never done this, so will try upgrading a test system, first. If all goes well, I will give it a whirl on one of the production servers. Good approach. Frankly, I find this idea terrifying, but I guess it needs to be done. Hey, I've been running FreeBSD 5.4 until July 2008 and I'd still be using it if not my hard disk had gone mad! :-) Here is what we are running... uname -a FreeBSD ***servername*** 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #1: Mon Dec 3 09:46:53 EST 2007 [EMAIL PROTECTED]:/usr/obj/usr/ src/sys/INET_ON amd64 When you're upgrading to the 7.x branch, it may (!) be neccessary to install a backwards compatibility (COMPAT) mechanism, or certain ports need upgrade + reinstallation, but it heavily depends on what services you're running. -- Polytropon From 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 [EMAIL PROTECTED]
Re: which gray is best for print?
Polytropon skrev: Anyway, the best reading contrast - black on white - No. The best contrast is light yellow background with black letters. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: safest way to upgrade a production server
John Almberg [EMAIL PROTECTED] wrote: So, my first question is, do I really need to do this? Not unless you can identify a good reason (i.e. feature requirements, security, end-of-life). 6.3 end-of-life is estimated around January 31, 2010, so you still have some time. :-) If so, what is the minimum amount of upgrading I can do to be safe? And how? Upgrade ports based on security/feature requirements. We generally do not upgrade production servers from one release to another while they're still expected to be in production. You'll probably get a lot of different suggestions from this list -- good luck! -- Sahil Tandon [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: which gray is best for print?
On Mon, 08 Sep 2008 00:22:55 +0200, Bernt Hansson [EMAIL PROTECTED] wrote: Polytropon skrev: Anyway, the best reading contrast - black on white - No. The best contrast is light yellow background with black letters. The Solaris/CDE X Terminal, I know. :-) -- Polytropon From 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 [EMAIL PROTECTED]
irq19 uhci interrupts taking ~100% of one core?
Hi, I'm running freebsd 7.0-RELEASE-p4 on a 4-core amd64 box. nearly 100% of 1 cpu is constantly being used handling irq19: uhci4 interrupts. This seems to happen both with and without any USB devices plugged in: vmstat -i interrupt total rate irq1: atkbd0 5 0 irq6: fdc0 1 0 irq17: mskc0 dc0 1180547 18 irq18: skc0 uhci2* 163250699 2512 irq19: uhci4++3187989508 49072 irq23: uhci3 ehci131 0 cpu0: timer129208570 1988 cpu1: timer129208457 1988 cpu2: timer125750147 1935 cpu3: timer125750122 1935 Total 3862338087 59452 dmesg uhci4: UHCI (generic) USB controller port 0xa400-0xa41f irq 19 at device 29.1 on pci0 uhci4: [GIANT-LOCKED] uhci4: [ITHREAD] Any idea what's going on here and/or how to fix this? Thx, Scott ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB Drive Reliability
On Aug 19, 2008, at 9:43 AM, Warren Block wrote: On Mon, 18 Aug 2008, Jeffrey Goldberg wrote: I have one system (7.0) which becomes extremely unstable if I have a USB drive connected. I usually get a system crash in 10 to 30 minutes after mounting the USB drive. It has never crashed without the USB drive attached, and it has never gone for more than three days with it attached. [...] Unfortunately, the crashing system is a small form machine and there is no way to put in a different USB controller. The USB drive was for backups, which I now do over the network to the machine that is working just fine. That might indicate a cable problem, even just being too long. A line-powered hub added between a problematic USB card reader and computer fixed an unreliable situation here. Unfortunately that hasn't solved the problem. Cheers, -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: switching discs during install
All this talk about changing the order of the ports on the install cd's is just so much hot air because cd's install media belong to the legacy world. They are fast becoming obsolete just like floppy drives are. Can't even buy a computer these days with a floppy drive and still FreeBSD distributes floppy install images. How absurd is that? FreeBSD needs to come of age in the 21st century and be changed to install using USB memory flash stick technology. Just a little tweaking of the sysinstall program to add USB stick as an option for source of install source would do it. Here is a little script to populate a USB flash stick with the cd1.iso that you may find interesting. This way you can combine the cd1 cd2 install cd's to a 4GB USB stick and install the system and all the ports you want without switching any install media. You could even use a USB flash stick as the target to install FreeBSD on giving you an mobile FreeBSD system you can plug into any computer and boot from. #!/bin/sh #Purpose = Use to transfer the FreeBSD install cd1 to # a bootable 1GB USB flash drive so it can be used to install from. # First fetch the FreeBSD 6.2-RELEASE-i386-disc1.iso to your # hard drive /usr. Then execute this script from the command line # fbsd2usb /usr/6.2-RELEASE-i386-disc1.iso /usr/6.2-RELEASE-i386-disc1.img # Change system bios to boot from USB-dd and away you go. # NOTE: This script has to be run from root and your 1GB USB flash drive # has to be plugged in before running this script. # On the command line enter fbsd2usb iso-path img-path # You can set some variables here. Edit them to fit your needs. # Set serial variable to 0 if you don't want serial console at all, # 1 if you want comconsole and 2 if you want comconsole and vidconsole serial=0 set -u if [ $# -lt 2 ]; then echo Usage: $0 source-iso-path output-img-path exit 1 fi isoimage=$1; shift imgoutfile=$1; shift # Temp directory to be used later #export tmpdir=$(mktemp -d -t fbsdmount) export tmpdir=$(mktemp -d /usr/fbsdmount) export isodev=$(mdconfig -a -t vnode -f ${isoimage}) ISOSIZE=$(du -k ${isoimage} | awk '{print $1}') SECTS=$((($ISOSIZE + ($ISOSIZE/5))*4)) #SECTS=$((($ISOSIZE + ($ISOSIZE/5))*2)) echo echo ### Initializing image File started ### echo ### This will take about 4 minutes ### date dd if=/dev/zero of=${imgoutfile} count=${SECTS} echo ### Initializing image File completed ### date echo ls -l ${imgoutfile} export imgdev=$(mdconfig -a -t vnode -f ${imgoutfile}) bsdlabel -w -B ${imgdev} newfs -O1 /dev/${imgdev}a mkdir -p ${tmpdir}/iso ${tmpdir}/img mount -t cd9660 /dev/${isodev} ${tmpdir}/iso mount /dev/${imgdev}a ${tmpdir}/img echo echo ### Started Copying files to the image now ### echo ### This will take about 10 minutes ### date ( cd ${tmpdir}/iso find . -print -depth | cpio -dump ${tmpdir}/img ) echo ### Completed Copying files to the image ### date if [ ${serial} -eq 2 ]; then echo -D ${tmpdir}/img/boot.config echo 'console=comconsole, vidconsole' ${tmpdir}/img/boot/loader.conf elif [ ${serial} -eq 1 ]; then echo -h ${tmpdir}/img/boot.config echo 'console=comconsole' ${tmpdir}/img/boot/loader.conf fi echo echo ### Started writing image to flash drive now ### echo ### This will take about 20 minutes ### date dd if=${imgoutfile} of=/dev/da0 bs=1m echo ### Completed writing image to flash drive at ### date cleanup() { umount ${tmpdir}/iso mdconfig -d -u ${isodev} umount ${tmpdir}/img mdconfig -d -u ${imgdev} rm -rf ${tmpdir} } cleanup ls -lh ${imgoutfile} echo ### Script finished ### ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ssh
In FreeBSD 6.2 and older the port SSH listened on was controlled by /etc/services. Now in 7.0 SSH no longer looks at /etc/services to find out what port to listen on. Is this by design or error in the move to a newer release of SSH? When it comes to security through obscurity don't be so fast to shoot it down. On my system port 22 was receiving over 700 scans or login attempts a day. Changing the SSH to use xx22 port stopped all the high school and college script kiddies cold. Now I only get maybe 5 hits on my xx22 port every 3 months. In my book I would say 'security through obscurity' is a very simple first step solution that gives great results. But it will not stop the perpetrator who targets your IP addresses on purpose for some unknown reason. Then your SOL. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Burncd 700MB rw/cd
FBSD1 wrote: Been using burncd since Freebsd 4.0 with 650MB rw/cd's just fine. My local computer store had a sale on 700MB rw/cd's and I picked up a few. Burncd gives msg (Failure - read_big illegal request) on these 700MB rw/cd's. The Freebsd 7.0 man burncd has no info on large sized rw/cd's? Does burncd need a programming update to handle these newer larger sized rw/cd's? What other (built in with the release) program can be used to burn 700 MB rw/cd's? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Aloha, HEre is what we did about a month ago when a similar issue came up wit a couple of us and CDR's. Julien Cigar wrote: Same problems for me with atapi CD/DVD drives (READ_BIG timeouts, etc) .. it works a bit better when dma is turned off, but then performances are very poor. On Thu, 2008-08-07 at 14:17 -1000, Al Plant wrote: N.J. Thomas wrote: * Snorre D. ?verb? [EMAIL PROTECTED] [2008-08-07 15:29:11+]: When I boot up with the installation DVD these error messages appear on the screen. ad1: FAILURE - READ_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED LBA=0055347 ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED LBA=0 etc I got the same exact errors trying to install 7.0-RELEASE on two different Dell boxes. One was 4 years old, the other was brand new (3 months ago). Never was able to fix the problem. For the older one, I plugged in an external DVD drive and installed via that. For the other one, I installed via a mini-install disk, and then did a minimal network install. For the record, they both had SATA drives and the disks worked (and still work) fine after the OS was installed. It was just copying the base system off the CD that was causing errors. Thomas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] 888 Aloha, I am getting the same errors as you guys with an intermittient BIG_read one occasionally. I've tried to install FreeeBSD CURRENT 8 and 7 release. This is on a no name box with a bio board and 1100 cpu. I've had this on other boxes too and load IDE drives on a box that works with them and then put them in the box with errors and they work just fine. Every thing gets recognized normally at install time, but the size of the IDE drive a Fujutsu 20 gig. shows twice what it should be every time. Dont know if this has anything to do with it, except if you change the size in installer it wont load anything. Maybe one of the top level gurus on the list can help. Aloha, The suggestion to put the folloeing worked to clear my DMA error. In: /boot/loader Put: hw.ata.ata_dma=0 #disable IDE DMA This allowed an uninterrupted boot. -- ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + email: [EMAIL PROTECTED] All that's really worth doing is what we do for others.- Lewis Carrol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: irq19 uhci interrupts taking ~100% of one core?
Replying to my own question with more data. Previously I had been running my own kernel; I was curious if the problem would reproduce with a GENERIC kernel. It does but the symptoms are slightly different. The same irq is firing too often and consuming nearly all of one core. But the driver that is associated with the interrupt is different -- it's fwohci0: interrupt total rate irq6: fdc0 1 0 irq17: mskc0 dc0 313242 13 irq18: skc0 uhci2* 124475451 5540 irq19: fwohci0+++ 957875379 42638 irq23: uhci3 ehci1 1145 0 cpu0: timer 44458513 1979 cpu1: timer 8875 1978 cpu3: timer 43393901 1931 cpu2: timer 43393921 1931 Total 1258360428 56014 This makes me start to wonder if this is not a problem with irq19 (the PIC?) and not one particular device / driver. I'm not sure how to make dig deeper here, any help greatly appreciated. Thx, Scott On Sun, Sep 7, 2008 at 4:07 PM, Scott Gasch [EMAIL PROTECTED] wrote: Hi, I'm running freebsd 7.0-RELEASE-p4 on a 4-core amd64 box. nearly 100% of 1 cpu is constantly being used handling irq19: uhci4 interrupts. This seems to happen both with and without any USB devices plugged in: vmstat -i interrupt total rate irq1: atkbd0 5 0 irq6: fdc0 1 0 irq17: mskc0 dc0 1180547 18 irq18: skc0 uhci2* 163250699 2512 irq19: uhci4++3187989508 49072 irq23: uhci3 ehci131 0 cpu0: timer129208570 1988 cpu1: timer129208457 1988 cpu2: timer125750147 1935 cpu3: timer125750122 1935 Total 3862338087 59452 dmesg uhci4: UHCI (generic) USB controller port 0xa400-0xa41f irq 19 at device 29.1 on pci0 uhci4: [GIANT-LOCKED] uhci4: [ITHREAD] Any idea what's going on here and/or how to fix this? Thx, Scott ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]