Re: /boot like linux!
Anthony Atkielski wrote: Jesse Guardiani writes: How recent are we talking about? In the 5.x timeframe, I believe, but I don't remember exactly when the improvements were made. I recall that soft updates are now encouraged on just about any partition. I've never had any trouble with it, but my system is lightly loaded and has hardly come close to being put through every possible scenario. Seems to be working quite well with just / and swap. I guess I was running into either old softupdate issues or ATAng issues when I ran 5.2.1 on my laptop. Thanks for the advice everyone! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /boot like linux!
Anthony Atkielski wrote: Jesse Guardiani writes: Then why doesn't sysinstall enable soft updates on the root FS by default? Because the root is not often written, and any data loss on the root is likely to have more negative effects than on other directories (often it would be something like a kernel rebuild). So sysinstall turns it off by default for the root. But you can turn it on if you want to. I don't. It hasn't worked well in the past. Soft updates has been improved in recent releases. It is now designed to physically write data back to the disk in a way that keeps the directory coherent (if not necessarily up to date) at all times. How recent are we talking about? I'm about to try softupdates on a giant root partition simply because everyone keeps telling me that it should work fine. My data is currently backed up, so I have nothing to lose. And I can test your theories. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/boot like linux!
Hello, I'm a FreeBSD 5.3 user as well as a Gentoo Linux user. In Gentoo linux, you only have to create 3 partitions: /boot swap / In FreeBSD, you seem to have to create many more: / swap /usr /var /tmp In particular, it seems that /boot MUST be on the same partition as /. This stinks, as now you have to create separate partitions for /usr and /var, which wastes space. I tried to make /boot it's own partition, and I succeeded, to a certain extent. I actually made /boot/boot, because the FreeBSD 5.3 boot manager wants to look under the /boot directory for loader. If /boot is it's own partition, then you need a /boot/boot/loader. Anyway, that worked. The kernel boots now, but it prompts me at the beginning of the rc process for the root device. I give it: ufs:ad1s1d Which is my / partition, and it boots successfully. Is it possible to automate this process so that the loader knows to use ad1s1d as my root device? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /boot like linux!
On Thursday 03 March 2005 5:41 pm, you wrote: Jesse Guardiani wrote: Hello, I'm a FreeBSD 5.3 user as well as a Gentoo Linux user. In Gentoo linux, you only have to create 3 partitions: /boot swap / In FreeBSD, you seem to have to create many more: / swap /usr /var /tmp In particular, it seems that /boot MUST be on the same partition as /. This stinks, as now you have to create separate partitions for /usr and /var, which wastes space. I tried to make /boot it's own partition, and I succeeded, to a certain extent. I actually made /boot/boot, because the FreeBSD 5.3 boot manager wants to look under the /boot directory for loader. If /boot is it's own partition, then you need a /boot/boot/loader. Anyway, that worked. The kernel boots now, but it prompts me at the beginning of the rc process for the root device. I give it: ufs:ad1s1d Which is my / partition, and it boots successfully. Is it possible to automate this process so that the loader knows to use ad1s1d as my root device? Thanks! I'm not sure I understand the problem. If you don't want to create more partitions, then don't. You can make an 80gb (or 300gb, or whatever) drive into two partitions - a swap partition (2gig) and a / partition (78 gig) and install FreeBSD just fine. Doesn't the boot partition have to NOT have soft updates though? I created the setup you described about a year ago with 5.2.1, and I had serious problems if the system ever hard rebooted after a power failure. Single user manual fsck's and all that. It's *best* to make more partitions (esp for /var) so that if something goes out of control logging, or you just neglect your logs, it doesn't go and fill up your only (ie / ) partition. Like most *nix OS's, it can be as simple or as complicated as you want it to be. I want / + /boot. It's that simple. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /boot like linux!
Kevin Kinsey wrote: Jesse Guardiani wrote: snip snip Anyway, that worked. The kernel boots now, but it prompts me at the beginning of the rc process for the root device. I give it: ufs:ad1s1d Which is my / partition, and it boots successfully. Is it possible to automate this process so that the loader knows to use ad1s1d as my root device? Thanks! Please note that I'm a fellow newb, and don't take this as if it were from an authoritative source (other than whoever I'm quoting...) from boot(8): Make note of the fact that /boot.config is read only from the `a' parti- tion. As a result, slices which are missing an `a' parition require user intervention during the boot process. I am under the impression that boot.config is optional. It doesn't exist on either of my 5.3 systems. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /boot like linux!
Bob Johnson wrote: Jesse Guardiani wrote: On Thursday 03 March 2005 5:41 pm, [someone] wrote: I'm not sure I understand the problem. If you don't want to create more partitions, then don't. You can make an 80gb (or 300gb, or whatever) drive into two partitions - a swap partition (2gig) and a / partition (78 gig) and install FreeBSD just fine. Doesn't the boot partition have to NOT have soft updates though? No, I don't think so. Then why doesn't sysinstall enable soft updates on the root FS by default? I created the setup you described about a year ago with 5.2.1, and I had serious problems if the system ever hard rebooted after a power failure. Single user manual fsck's and all that. That configuration should not make serious fs corruption more likely, it just makes it more likely to happen on the / partition (!). :) In general, the FreeBSD filesystem is highly tolerant of things like power failures, and should be even better when softupdates is turned on. But it can fail, and 5.2.1 was NOT considered a production release, so that could have also played a role in your problems. I don't remember if softupdates had problems on 5.2.1 or not. Look, I'm not new to FreeBSD. I know all of this. I just want to know if it's possible to tell my boot loader which device my root partition is on. It's *best* to make more partitions (esp for /var) so that if something goes out of control logging, or you just neglect your logs, it doesn't go and fill up your only (ie / ) partition. Like most *nix OS's, it can be as simple or as complicated as you want it to be. I want / + /boot. It's that simple. What are you really trying to accomplish? Reliability and efficient use of disk space. You want to run softupdates on / ? No, I want to consolidate all of my mount points while simultaneously running softupdates on everything BUT the boot partition. I believe it is perfectly acceptable to use softupdates on the root partition these days. I don't. It hasn't worked well in the past. The Handbook recommends turning on softupdates for all filesystems. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-disk.html I'm pretty sure my test system at home has only / and swap (because it has a small hard drive), and uses softupdates on /. I'll check when I get home. Yes, please let me know how well it responds to a hard power cycle. A normal FreeBSD system without softupdates on the root or boot partition should come right back up without a manual fsck. In my experience, if softupdates are used on the root partition and the root partition doubles as the boot partition then you'll have much more difficulty recovering from a power failure. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mkfifo - disk backed?
Hello, Just curious: Are FIFOs made by mkfifo disk backed? Do they go away between reboots? Do they lose data between reboots? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
freebsd + linux dual boot share filesystem?
Hello, I'm about to setup a dual boot of linux + freebsd (5.2.1-RELEASE) on a 160gb hard disk. I'd really like linux and freebsd to share (be able to read and write) the bulk of the disk so that I can work in either environment freely. FreeBSD's ext2fs kernel module would seem preferable over a msdosfs install (yuck...), but SYS-NOTES labels it as dangerous for even read-only. Is FreeBSD capable of reliable ext2fs read+write? If not, is there a filesystem besides msdosfs that I can share between FreeBSD and Linux? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Wine 20040505 problem
Hmmm, Just compiled Wine 20040505 on FBSD 5.2.1-RELEASE and now I can't use the File-Open command in notepad. Any ideas? -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
tcopy tape to tape WAY too slow
Howdy list, I'm copying 35G/90G AIT-1 tapes on FreeBSD from tape drive to tape drive (nrsa0 and nrsa1) using the tcopy -c command and it's taking WAY too long. Over 12 hours including the verification process. (not sure exactly how long as it finished when I was sleeping) Is there something I can do to speed this up? -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tcopy tape to tape WAY too slow
On Tuesday 30 March 2004 10:39, you wrote: In the last episode (Mar 30), Jesse Guardiani said: I'm copying 35G/90G AIT-1 tapes on FreeBSD from tape drive to tape drive (nrsa0 and nrsa1) using the tcopy -c command and it's taking WAY too long. Over 12 hours including the verification process. (not sure exactly how long as it finished when I was sleeping) Is there something I can do to speed this up? I don't think tcopy is double-buffered; if you only have one file on that tape and know the blocksize, dd if=/dev/nrsa0 bs=##k | dd of=/dev/nrsa0 bs=##k should be much faster. No, I've got between 70 and 90 files per tape. If you have multiple files or unknown blocksizes, the cptp command from the MAG package at http://www.cs.vu.nl/~dick/mag.html will preserve filemark and blocksize info through pipes, so you could do a cptp | cptp pipe. That looks promising. Do you have special build instructions for this package under FreeBSD 4.x? I'm getting the following error on 'gmake' or 'make': - gcc -ansi -DUNIX -O -s -c tperr.c tperr.c:18: initializer element is not constant *** Error code 1 Stop in /usr/local/src/mag. Exit 1 - -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tcopy tape to tape WAY too slow
On Tuesday 30 March 2004 15:27, Dan Nelson wrote: In the last episode (Mar 30), Jesse Guardiani said: On Tuesday 30 March 2004 10:39, you wrote: If you have multiple files or unknown blocksizes, the cptp command from the MAG package at http://www.cs.vu.nl/~dick/mag.html will preserve filemark and blocksize info through pipes, so you could do a cptp | cptp pipe. That looks promising. Do you have special build instructions for this package under FreeBSD 4.x? I'm getting the following error on 'gmake' or 'make': gcc -ansi -DUNIX -O -s -c tperr.c tperr.c:18: initializer element is not constant *** Error code 1 Bug in the program (stderr cannot be used to initialize static variables). Replace line 18 with #define tperr stderr and it'll build. It looks like you may also want to edit tploc.h, line 49, and replace those two 8's with %d's. Then something like cptp -m 0 of=- | cptp -m 1 if=- should copy from rmt0 to rmt1 with a little bit of pipe buffering inbetween. Adding team or buffer (both in ports/misc) inbetween will add even more buffering. Having lotsa trouble getting this working. I'm using this command line: cptp -hm 1 of=- | cptp -hm 0 if=- (tried it without the -h too) And getting this output: After 0 tape marks, after 0 blocks: tape image format error on standard input And this error in /var/log/messages: Mar 30 18:23:24 billmax /kernel: (sa1:ahc0:0:2:0): 64512-byte tape record bigger than supplied buffer Mar 30 18:23:24 billmax /kernel: (sa1:ahc0:0:2:0): tape is now frozen- use an OFFLINE, REWIND or MTEOM command to clear this state. Any ideas? -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
linux binary equivalent to ldd?
How do I run ldd on a linux binary? But when I run ldd on a linux binary it says: ldd: /usr/local/lib/RealPlayer8/rpnp.so: not a FreeBSD ELF shared object How do I get info similar to what ldd gives out of a linux binary? If I run this: /usr/compat/linux/usr/bin/ldd /usr/local/lib/RealPlayer8/rpnp.so I get this: /usr/compat/linux/usr/bin/ldd: /lib/ld-linux.so.2: not found ldd: /lib/ld-linux.so.2 $exited with unknown exit code (127) Exit 1 Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hot Swap hardware on FreeBSD?
Stephen P. Cravey wrote: I'm trying to locate a good resource for creating hot swap capable servers with FreeBSD and Vinum. Specifically, I'm trying to find out several things: Are there resources somewhere that document this type of thing? Please? Do I need controllers for SATA/SCSI that will handle the plugging/unplugging of drives, or do I just need to do a bus rescan (or the like) after the change and notify vinum? I'm not sure that you can do hot-swapping with vinum. Please let me know if you get it to work. Typically you'll need one of the following: 1.) Firewire external drives 2.) SCA SCSI drives. If you go with #2, you'll probably be getting a hardware RAID card with the deal and IT will manage your volume if a drive goes bad. In that case you shouldn't have to do anything under FreeBSD (assuming you're actually running one of the redundant RAID levels, and not just striping). I'm also not sure that you can use SATA for hot swapping. If you CAN, then you'd either need a hardware RAID card as with SCSI above, or you'd need to unmount the drive and issue an `atacontrol detach` command before removing the drive. i.e. do i need something like an adaptec 2200S or will a 39320 work? Is there anything in particular I should look for when buying hot swap chassis? Other than SCA for SCSI? SCA works well on my machines at work. Other than that, you can find multi- drive firewire cases online. [...] Where can I find (recent) performance numbers for raid 0,1,5 comparisons? That's a very broad question. How fast are your drives? What's your interface (i.e. Firewire? SCSI-160? SCSI-320? ATA?) Will you be using vinum or a hardware RAID controller? Which hardware RAID controller (they're DEFINATELY not all created equal!)? In general, you'll probably get optimum speed with vinum. However, it'll chew up your CPU and it might not be as reliable as a hardware solution. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net From [EMAIL PROTECTED] Mon Jan 01 00:00:00 1997 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 4.9-RELEASE 4, 6, or 8 port ATA PCI Controller
Jesse Guardiani wrote: Howdy list, Does anyone know of a 4, 6, or 8 port ATA PCI Controller that works well with FreeBSD? Preferably ATA-133 and large capacity drive capable. Thanks! How about non-RAID? I got one recommendation for 3ware Escalade controllers, but they are all RAID, and I don't really need RAID for this application... Low cost, high port count. (4, 6, or 8) Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why BSD?
Jeff Elkins wrote: This is not a troll. I've installed FreeBSD 5.2 on a spare SCSI drive and am compiling kernels, updating ports, etc,etc. Thus far, other than some minor hassles, it's equivilent to my Debian sid. I have to ask: Why FreeBSD rather than Linux? Honest question. For me, this question has been answered twice in different attempts to give linux a try. I'm a Sys Admin, and we run FreeBSD almost exclusively at work. However, every new employee we hire walks into the building with an attitude that Linux is somehow better than FreeBSD because they're heard so much about it and haven't heard anything about FreeBSD. So, on two separate occasions, I decided to give linux a try. Both ended miserably: Occasion 1.) I bought a new laptop. I was having trouble getting suspend and resume to work under FreeBSD, so I decided to give linux a try. I decided on Debian linux (woody originally, and later unstable and finally the testing branch). Installation went smoothly, but I immediately ran into massive problems with the console driver. 4 or 5 lines of text were hidden below the bottom of my LCD. Very frustrating. I later found out that I couldn't use DRI/DRM with Debian because the version of XFree86 wasn't current enough. I ran into many many other problems, but some of these may have simply been due to the learning curve for a new O/S. gpm behaved badly, difficult to install wireless drivers, etc... Pros: Great packaging system. Upgrades were comparatively as easy as FreeBSD, once you learned a few tricks - like upping the amount of RAM the package tools could use. Binary security updates were a great feature that FreeBSD is only now attempting to implement. Cons: Very difficult to actually figure out how to use new software. Incredible lack of `man` pages, which are replaced by terrible and usually unintelligible `info` pages. Excruciatingly out-of-date packages. It takes *years* for new releases to come out, and even the testing branch (most unstable branch they have) lags months behind other distributions in some areas (like XFree86). Switched back to FreeBSD. Installed 5.1-RELEASE. Toughed it out and got suspend-resume working. Couldn't be happier. This laptop is still in service and happily runs FreeBSD 5.2-RELEASE every day. Occasion 2.) Got sick of Win 98 SE on my wife's computer, so I decided to give Linux a second chance. This time I WANTED to go with Red Hat, since it's arguably the most popular Linux distro. However, one look at their new licensing made me change my mind in favor of Gentoo - The most BSD-like Linux distro. Maybe I was doing something wrong, but I couldn't find an automated install process. I had to read a text file and copy and paste install commands by HAND to get Gentoo installed. This was painful and tedious. It took probably 4 hours to install. Their motto is freedom of choice or something similar. Well where is my freedom to choose a quick install??? Pros: Very nice BSD-like portage system. Top notch. Cons: Terrible install process. Took forever. Just as I got X11 installed and configured, my dog hit the reset button on my case. The computer wasn't even DOING anything. It was just sitting at a command prompt. However, upon rebooting the machine my ReiserFS filesystem was TOTALY hosed. This NEVER happens under FreeBSD. At this point there was NO WAY I was going to wade through another 4 hour install session, so I gave up and installed FreeBSD 5.2-RC1 (now upgraded to -RELEASE). Now, maybe I just got unlucky both times. It happens. I know. Even FreeBSD acts strange on some hardware. And maybe one day I'll give Linux a 3rd chance, but it isn't today, and probably won't be anytime soon. Also, the enormous number of Linux distros makes Linux very unappealing to me. I've heard Linux described as Managed Chaos before, and I agree. It just doesn't compliment my way of doing things very well. But hey, maybe it will for you. YMMV. Hope the above rant helps a little. Also, here's an article I found a few weeks ago that is very in-line with my experiences using *BSD and Linux: http://www.over-yonder.net/~fullermd/rants/bsd4linux/bsd4linux1.php -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net
Re: Why BSD?
Jason M. Leonard wrote: On Sat, 24 Jan 2004, Jesse Guardiani wrote: Jeff Elkins wrote: This is not a troll. I've installed FreeBSD 5.2 on a spare SCSI drive and am compiling kernels, updating ports, etc,etc. Thus far, other than some minor hassles, it's equivilent to my Debian sid. I have to ask: Why FreeBSD rather than Linux? Honest question. For me, this question has been answered twice in different attempts to give linux a try. I'm a Sys Admin, and we run FreeBSD almost exclusively at work. However, every new employee we hire walks into the building with an attitude that Linux is somehow better than FreeBSD because they're heard so much about it and haven't heard anything about FreeBSD. So, on two separate occasions, I decided to give linux a try. Both ended miserably: *snip* Occasion 2.) Got sick of Win 98 SE on my wife's computer, so I decided to give Linux a second chance. This time I WANTED to go with Red Hat, since it's arguably the most popular Linux distro. However, one look at their new licensing made me change my mind in favor of Gentoo - The most BSD-like Linux distro. Maybe I was doing something wrong, but I couldn't find an automated install process. I had to read a text file and copy and paste install commands by HAND to get Gentoo installed. This was painful and tedious. It took probably 4 hours to install. Their motto is freedom of choice or something similar. Well where is my freedom to choose a quick install??? Pros: Very nice BSD-like portage system. Top notch. Cons: Terrible install process. Took forever. A couple of weeks ago I acquired a 4x50 slot Overland Neo tape library for the purpose of backing up several 1T volumes that live on FreeBSD file servers. Unfortunately I could not find backup server software for FreeBSD that would allow me to back up volumes that span multiple tapes. [...] Needless to say, I will be implementing a better--and no doubt Linuxless--backup solution as soon as possible. Well, bacula will allow you to span multiple tapes. Be warned: Bacula+FreeBSD is in it's infancy, and you'll need 4.9-RELEASE or 5.2-RELEASE or higher in order to reliably use the multi-tape backup spanning functionality (a bug in the pthreads implementation of earlier versions of FreeBSD would cause data loss on the last 500k or so of tape). But this is what I'm currently implementing at work. We require nearly 1T of backup space too, and I intend to eek every last gig of space from my tapes. Again, bacula+FreeBSD is in it's infancy. I'm currently working with Kern, bacula's author, to get some issues worked out. And I have a few small patches that would probably make your life easier. But I definately see bacula as being a good backup solution for FreeBSD in the near future. Bacula also allows you to back up to disk. 160G large capacity ATA hard disks have a better cost/MB ratio than many tapes out there currently. Something to think about... http://www.bacula.org -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wep encryption.
T Kellers wrote: On Sunday 25 January 2004 12:46 am, James A. Feister wrote: How would I use ifconfig with a 128bit hex wep key? __ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ifconfig [your interface here] nwkey [your key here] I think wep 128 bit encryption keys are typically 13 characters long Mine is 26 characters long in hex. You'll most likely have to use the hex version if you want to use your key with different operating systems or commercial APs. The text keys are all converted to hex differently by different companies/Operating Systems. I do it like this: ifconfig wi0 ssid FreeBSD wepmode on wepkey 0xAA And I think 128 bit encryption is really just 104 bit encryption: wi0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 [...] wepkey 1:104-bit -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 4.9-RELEASE firewire cards
Howdy list, Has anyone had really good or really bad experiences with Firewire PCI cards that contain a supported firewire chipset? Trying to get a list of sure buys and avoid like the plague's. Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 4.9-RELEASE Firewire ATA Hard Disk Enclosures
Howdy list, Does anyone here have a mult-drive ATA-Firewire enclosure that they really like? Any ideas on things to look for? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 4.9-RELEASE 4, 6, or 8 port ATA PCI Controller
Howdy list, Does anyone know of a 4, 6, or 8 port ATA PCI Controller that works well with FreeBSD? Preferably ATA-133 and large capacity drive capable. Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Level 9 dump size calculation?
Howdy list, I've got a machine (4.6.1-RELEASE-p10) doing level 9 dumps over SSH to a tape drive on a remote machine over a T1. The machine being backed up looks like this: # df -h Filesystem Size Used Avail Capacity Mounted on /dev/aacd0s1a 300M52M 225M19%/ /dev/aacd0s1h 2.5G11M 2.3G 0%/tmp /dev/aacd0s1e12G 5.3G 5.4G49%/usr /dev/aacd0s1f 5.8G 1.1G 4.2G21%/usr/home /dev/aacd0s1g12G 1.1G 9.6G10%/var procfs 4.0K 4.0K 0B 100%/proc And my dump command looks like this: ssh $serverName -nTc blowfish /sbin/dump -0us 100 -f - /dev/aacd0s1a | gzip -c -3 | gunzip -cd -3 $tapeDriveDevice (machine with tape drive connects to machine to be backed up via SSH, starts the dump on the remote machine [with dump output piping through gzip and then to stdout], decompresses output after it has traveled over the T1 and finally writes it to the tape drive device.) I execute one dump command for /,/usr,/usr/home, and /var. And I get emailed output that looks like this: DUMP: Date of this level 0 dump: Tue Jan 13 06:00:01 2004 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/aacd0s1a (/) to standard output DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 54069 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: DUMP: 54091 tape blocks DUMP: finished in 130 seconds, throughput 416 KBytes/sec DUMP: level 0 dump on Tue Jan 13 06:00:01 2004 DUMP: DUMP IS DONE Granted, the above commands and output are from a level 0 dump, but my level 9s are performed in exactly the same manner. Here's my question: How do I determine how large the dump output is? The dump man page states that dump uses a blocksize of 10k by default. 54091 tape block * 10k/block = 540910k 540910k/1024 = 528.23M Surely dump isn't expanding my 52M in / to 528.23M!! However: 54091k/1024 = 52.82M (which is very close to how much used space I actually have in /) Is dump incorrectly labeling 54091 as the number of tape blocks when it should instead be labeling 54091 as the number of kilobytes? -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: combining partitions
Kent Stewart wrote: On Tuesday 30 December 2003 06:50 am, backdoc wrote: I would like to combine the /hd2 and /usr partitions to one /new larger partition. Should I research vinum or should I be reading something else? I am running FreeBSD 4.6-RELEASE. My partition layout is: scsibox# df -h FilesystemSize Used Avail Capacity Mounted on /dev/da0s1a 126M39M77M33%/ /dev/da1s1e 2.0G 185M 1.7G10%/hd2 /dev/da0s1f 252M 4.7M 227M 2%/tmp /dev/da0s1g 3.2G 2.9G58M98%/usr /dev/da0s1e 252M67M 165M29%/var procfs4.0K 4.0K 0B 100%/proc You would probably find it easier to determine what is eating up your disk space and move that to /hd2. For example, my /usr/ports/distfiles runs around 1.5 GB. Just moving distfiles to hd2 and linking it to /usr/ports/distfiles would free up a lot of space. On one machine that I don't use a lot of HD space, I mounted a 10 GB slice as /usr/ports. If you DO want to consolodate those partitions, you'll probably have to back them up using dump, delete both partitions, create the consolodated large partition, and then restore the backup. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ZOT Print Server....
Eric F Crist wrote: Hey all, I've been trying to get some remote pringing working to no avail. I purchased a ZOT print server (http://www.01tech.com/m_p100s.htm) that I have working with Windows perfectly. I also installed apsfilter (Great job on that, btw) and have the remote printer working on this end via parallel just fine. FWIW, it's a Brother HL-1440 laser printer. Anyone have any ideas on what I'm missing? This printer just doesn't respond at all when going over the network. Does the ZOT use SMB protocol? If so, you might want to install CUPS and Samba and print over SMB. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
low level disk partition (NTFS) backup and restore
Howdy list, I've got a slight problem that I'm not sure how to solve, but I'm fairly sure FreeBSD is capable of helping me solve. Here's the situation: I have an IBM Thinkpad A30p with a 40Gb HDD. This drive contains a 10 Gb NTFS partition holding Windows XP and a 30 Gb partition holding FreeBSD 5.2-RC1. Also, I have a desktop machine at home running Windows 98 SE on a 20 Gb hard disk. Now, as many of you know, Win 98 SE isn't a very nice Operating System. I'd _love_ to put FreeBSD on that computer, but unfortunately I can't. My wife is going to school and may need MS Office someday soon. And I own an external Backpack CDRW parallel drive that isn't support by FreeBSD (and Linux is out of the question). So, what I want to do is copy the 10 Gb NTFS partition from my laptop to the Win 98 SE computer's hard disk drive. I don't use Win XP on my laptop much, so I'll delete it once I can verify that it's successfully installed on the Win 98 SE machine. I've scoured the internet, and so far I can't find a way to do this from Windows (wow, big surprise). Win XP's ntbackup utility doesn't provide any way to restore on a non Win XP machine, AFAICT. Is there some way I can do this using tools like 'dd' and gzip? Here are the things I'd like to accomplish: 1.) Low level (including MBR, if possible) compressed copy of my NTFS partition to external USB 30 Gb hard drive. 2.) Boot FreeBSD Fixit media CDROM on Win 98 SE computer. Mount external USB drive containing compressed copy of NTFS partition. 3.) Decompress and write NTFS partition from external USB drive to Win 98 SE computer's hard disk drive. 4.) Run some kind of partitioning tool (BootItNG?) to make sure the (former) Win 98 SE machine's partition tables are correct. Does this sound do-able? What commands would I use to backup and restore the NTFS partition? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dynamic link problem
Howdy list, I've got an old copy of Wordperfect (now deleted from ports) that I use at work. When I run the program, I get this output: % xwp /usr/local/lib/corel/wpbin/xwp: can't load library 'libXt.so.6' Exit 16 Obviously a dynamic link problem, so I run ldd on it: % ldd -a /usr/local/lib/corel/wpbin/xwp libXt.so.6 = not found libX11.so.6 = not found libXpm.so.4 = not found libm.so.5 = not found libc.so.5 = /usr/lib/libc.so.5 (0x28749000) OK. Fair enough. It can't find the first four libraries. But why? libXt.so.6 is listed by ldconfig: % ldconfig -r | grep libXt.so.6 140:-lXt.6 = /usr/X11R6/lib/libXt.so.6 So are the other three: % ldconfig -r | grep libX11.so.6 162:-lX11.6 = /usr/X11R6/lib/libX11.so.6 % ldconfig -r | grep libXpm.so.4 143:-lXpm.4 = /usr/X11R6/lib/libXpm.so.4 % ldconfig -r | grep libm.so.5 712:-lm.5 = /usr/compat/linux/usr/i486-linux-libc5/lib/libm.so.5 So how do I fix this? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: compiling a kernel on a different machine
Sean Ellis wrote: On Tue, Dec 23, 2003 at 06:04:09PM -0800, Sean Ellis wrote: On Tue, Dec 23, 2003 at 02:31:38PM -0800, Drew Tomlinson wrote: OK, hang on. Here it is in an older handbook I have. Appearing as: 19.4.15.5. Can I use one machine as a master to upgrade lots of machines (NFS)?, a question at the bottom of the handbook's makeworld.html.i Oops, I'm sorry. Having fired off that last post I've realized that this is not the page that I thought I was remembering ; ) I can't think of a better way to install a kernel than to copy /boot/kernel to the new machine or set the DESTDIR environment var. If you're installing world then it's a different story, but kernels are fairly self contained. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Arplookup error.
Sorin Chiorean wrote: I doesn't seem to show up on a regular base. This is an example from a log file : Nov 24 12:16:45 nira /kernel: arplookup 100.93.140.1 failed: host is not on local network Nov 24 12:17:40 nira /kernel: arplookup 100.93.140.1 failed: host is not on local network Nov 24 12:21:18 nira /kernel: arplookup 100.93.140.1 failed: host is not on local network Nov 24 12:26:52 nira /kernel: Nov 24 12:21:18 nira last message repeated 3 times The main problem is the I installed this server somewhere in Europe and I'm living in Canada. I can not see what the users are doing when this error come up. Do you think that I can trace this error with a tool (as TCPDUMP) ? If YES what should I search for ? Until I will trace down this error how can I disable this message to show up on console? I'd like to know this too. I have a FreeBSD 4.8-RELEASE box that exhibits the same symptoms. The addresses it complains about belong to a colo box on our network and a cisco router. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: daemon monitoring
Will Prater wrote: List, What are most of you using to monitor the running daemons? I have been loooking into DJB daemontools which seems appropriate, but are there any others that you reccomend? If DJB's daemontools is the one, could I get some more examples? I am primarily trying to keep my mail system online: postfix, cyrus, saslauthd, mysql, and spamassassin. I'm particularly fond of daemontools/supervise, actually. You've got to jump through some hoops to get it working (process must run in foreground, process must start first time, etc..), but it's very reliable and the qmail style qmailctl script can be adapted to any configuration with minimal work to make an excellent control script. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: usb digital camera
Kent Hauser wrote: Hi, Is there some trick to using USB devices? I'm trying to access my Nikon coolpix 5000 (latest firmware PTP mode) from 4.9-STABLE with no luck. usbdevs sees the camera, as does gphoto2 --auto-detect. However, I'm unable to access the camera data with gphoto2 --auto-detect --summary This is really a question for the gphoto2 mailing list, but perhaps you'd get better help if you posted (or looked at) your `gphoto2 --auto-detect --summary --debug` output. I successfully use gphoto2-2.1.2 and libgphoto2-2.1.2_2 from gtkam-0.1.10 with my Kodak DC3400 digital camera. Works great! (or via digikam or via konquerer). I haven't had a whole lot of luck with these personally. Seems like they break every other KDE release. I think I'll stick with gtkam. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pccardd of 5.1R-p10 not recognizing card(s)
Jan Stary wrote: Hello, I am running 5.1-RELEASE-p10 hapilly on an Acer Aspire laptop, except for one thing: the pccardd does not recognized PC cards. I tried ZCom XI-325 and Micronet SP905B. They are both recognized fine under 4.7, but 5.1 only says No card in database for (null)((null)) Trying 'pccardc enabler 0 wi0' makes the machine freeze for a few seconds and respond with drv wi0, mem 0x0, size 0, io 0, irq 0x0, flags 0x0 pccardc: set driver: Device not configured Are you using OLDCARD? I'm pretty sure that pccardc is incompatible with NEWCARD at the moment. I think M. Warner Losh is working on this, but I could be wrong. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: daemon monitoring
Will Prater wrote: On Nov 24, 2003, at 1:10 PM, Jesse Guardiani wrote: Will Prater wrote: List, What are most of you using to monitor the running daemons? I have been loooking into DJB daemontools which seems appropriate, but are there any others that you reccomend? If DJB's daemontools is the one, could I get some more examples? I am primarily trying to keep my mail system online: postfix, cyrus, saslauthd, mysql, and spamassassin. I'm particularly fond of daemontools/supervise, actually. You've got to jump through some hoops to get it working (process must run in foreground, process must start first time, etc..), but it's very reliable and the qmail style qmailctl script can be adapted to any configuration with minimal work to make an excellent control script. Yes, it looks promising. I have it working for a few of my processes. I was looking to something similar to Mac OS X Servers watchdog. This is much better. I get weird errors when I am trying to get saslauthd since I have to use fghack to get it going. Can you send me the qmailctl script or some examples that you have with some daemons on your system? From Life with Qmail: http://www.lifewithqmail.org/qmailctl-script-dt70 And check out this: http://www.lifewithqmail.org/lwq.html#start-qmail Particularly section 2.8.2.2, The supervise scripts. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dmesg.today-dmesg.yesterday
Lowell Gilbert wrote: Jesse Guardiani [EMAIL PROTECTED] writes: How does dmesg.today get rotated to dmesg.yesterday? I suspect my dmesg.today of being corrupted by old info. I have gotten the following message in my security output for the last four days: pid 4062 (clamd), uid 3848: exited on signal 11 It appears in different places, but what are the chances of clamd acquiring pid 4062 four days in a row? That diff is taken as part of the periodic/security checks. I don't think it uses dmesg.today, though; I think it takes output directly from dmesg(8)... From /etc/periodic/security/security.functions: --- # Usage: COMMAND | check_diff [new_only] LABEL - MSG #COMMAND TMPFILE; check_diff [new_only] LABEL TMPFILE MSG # if $1 is new_only, show only the 'new' part of the diff. # LABEL is the base name of the ${LOG}/${label}.{today,yesterday} files. check_diff() { --- It would appear that it does indeed use .today and .yesterday. And I think I just answered my own question. check_diff is the function that creates the dmesg.today and dmesg.yesterday files, and is in charge of rotating them. Thanks. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Modem problems
Shaun Alcaster (ECI Support) wrote: We have a lease line directly connected to out internet survice provider. Both have 56k lease line modems, but can only connect at about 33.3Kbs how do we change this. Most likely the problem is with your phone lines, not FreeBSD or your ISP. I work at an ISP. I can connect at 48,000 bps with my FreeBSD laptop from downtown - at work. If I take my laptop home, I can only connect at 24,600 bps. My house is on the outskirts of town and I think we have more than our fair share of analog to digital conversions between my house and the central office. Same story with my Win98 box. But FreeBSD with my PCMCIA hardware modem actually transfers data faster than my win98 box w/software modem. If you really want to connect at 56k or higher, you generally have three options: 1.) ISDN. Full digital line ensures 64k connection speeds, and dual channels with bonding means that you can get a 128k connection. Usually you won't spend too much more for ISDN than you would for dual 56k connections, but since ISDN actually connects at 64k, it'll be a lot faster. 2.) DSL. If available, it's always on, and generally the same price or cheaper than ISDN. Just make sure you get a DSL router with an ethernet jack instead of a USB DSL modem. AFAIK, DSL dongles aren't supported by FreeBSD. 3.) Partial or Full T1. Absolute fastest connection of the three, but also the most expensive. This is total overkill for most small businesses. Hope that helps. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.1 on a Laptop
D Velez wrote: Hi, I was wondering if FreeBSD 5.1 can be install on a laptop? I've been running 5.1-RELEASE on my IBM Thinkpad A30p for 4 or 5 months now. I like it a lot. It's was a bit trickier to get installed than 4.8-RELEASE, but once it's installed it works well. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Modem
fbsd_user wrote: Read the FBSD handbook. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/userppp.ht Also, you might want to try kppp from the KDE project. It's a graphical front end to Kernal PPP (pppd), and I find that it's much easier to use than the CLI when I need to connect in a hurry on my laptop. I think it's probably a good idea to get user ppp (FreeBSD Handbook) working before switching to kppp though. That way you'll be able to debug easier. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: About setup FreeBSD 5.1 RELEASE to Sony notebook PCG-R505GCK
toor wrote: When I begin setup I see next message: eisa0: EISA bus on motherboard eisa0: unknown card [EMAIL PROTECTED] (0x0808) at slot 1 Fatal trap 9: general protection fault while in kernel mode instruction pointer = 0x58:0x81d1 stack pointer = 0x10:0xeb8 frame pointer = 0x10:0xf0e code segment= base 0xc00f, limit 0x, type 0x1b = DPL 0, pres 1, def32 0, gran 0 processor elfags= interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) trap number = 9 panic: general protectin fault What must I do to setup freeBSD to my notebook. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Try typing this at the loader prompt: set hw.pci.allow_unsupported_io_range=1 And then 'boot'. You can type '?' for help. If that doesn't work, then try posting to either -CURRENT or -MOBILE. Perhaps someone there can be of more help. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: usb v1.1 external 2.0 hard disk problems with FreeBSD 5.1-RELEASE
Jesse Guardiani wrote: Howdy list, I'm running FreeBSD 5.1-RELEASE. I just bought a generic USB 1.1/2.0/firewire external drive enclosure for my 32gb Travelstar 12.5mm hard drive. The device shows up like this: Nov 18 14:06:16 trevarthan kernel: umass0: Acer Labs USB 2.0 Storage Device, rev 2.00/1.03, addr 3 Nov 18 14:06:16 trevarthan kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Nov 18 14:06:17 trevarthan kernel: da0: USB 2.0 Storage Device 0100 Fixed Direct Access SCSI-0 device Nov 18 14:06:17 trevarthan kernel: da0: 1.000MB/s transfers Nov 18 14:06:17 trevarthan kernel: da0: 30520MB (62506080 512 byte sectors: 255H 63S/T 3890C) But `ls -al /dev/da*` reveals no slices: crw-r- 1 root operator4, 22 Nov 18 13:35 /dev/da0 The hard disk inside this enclosure was formatted with a 10gig FAT32 partition. It works fine in a Coolmax Gemini 2.5 USB 2.0/1.1 drive enclosure, and it works fine in this enclosure as long as I'm running Windows XP. But it just doesn't want to work under FreeBSD 5.1-RELEASE for some reason... Does anyone have any clues to help get this drive working? Anyone? -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dmesg.today-dmesg.yesterday
Howdy list, How does dmesg.today get rotated to dmesg.yesterday? I suspect my dmesg.today of being corrupted by old info. I have gotten the following message in my security output for the last four days: pid 4062 (clamd), uid 3848: exited on signal 11 It appears in different places, but what are the chances of clamd acquiring pid 4062 four days in a row? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD beside WinXP
[EMAIL PROTECTED] wrote: Hello, I read somewhere before that there were partition or boot problems after installing 5.1 beside winXP. Has anyone been able to do this successfully? Is there something not obvious that I need to set/tweak while during sysinstall? This partition has seen several versions of Mandrake and Redhat (Fedora is a flap, btw, IMO), and they all do it automatically as if assuming that users DO install their OS beside some Windows. But I have grown tired of the linux fad/hype and just wanna try my favorite server OS on it to see how it does too on the desktop. But at the same time, I need my XP very much. I run WinXP Pro on a 10G partition next to my 38G FreeBSD Partition on my laptop. I use the Windows XP boot loader. Works very very well. Just say no to lilo. :) Email me off list if you're interested in running the same configuration and have any questions. I'd consider myself nearly an expert on this by now, having survived both FreeBSD and Debian Linux on my 32Gb partition. FreeBSD is by far the easiest to deal with because it uses a multi-stage boot loader by default (i.e. NOT lilo). -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
usb v1.1 external 2.0 hard disk problems with FreeBSD 5.1-RELEASE
Howdy list, I'm running FreeBSD 5.1-RELEASE. I just bought a generic USB 1.1/2.0/firewire external drive enclosure for my 32gb Travelstar 12.5mm hard drive. The device shows up like this: Nov 18 14:06:16 trevarthan kernel: umass0: Acer Labs USB 2.0 Storage Device, rev 2.00/1.03, addr 3 Nov 18 14:06:16 trevarthan kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Nov 18 14:06:17 trevarthan kernel: da0: USB 2.0 Storage Device 0100 Fixed Direct Access SCSI-0 device Nov 18 14:06:17 trevarthan kernel: da0: 1.000MB/s transfers Nov 18 14:06:17 trevarthan kernel: da0: 30520MB (62506080 512 byte sectors: 255H 63S/T 3890C) But `ls -al /dev/da*` reveals no slices: crw-r- 1 root operator4, 22 Nov 18 13:35 /dev/da0 The hard disk inside this enclosure was formatted with a 10gig FAT32 partition. It works fine in a Coolmax Gemini 2.5 USB 2.0/1.1 drive enclosure, and it works fine in this enclosure as long as I'm running Windows XP. But it just doesn't want to work under FreeBSD 5.1-RELEASE for some reason... Does anyone have any clues to help get this drive working? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cendyne 56k external serial modem?
Howdy list, I've been looking for a cheap external v.90 56k lately so I can go ahead and convert my home computer to FreeBSD (has a winmodem currently). I found the cendyne 56k modems all over the internet for about $20, sometimes even including shipping. I think Cendyne went out of business or something. Anyway, I'm just wondering if the cendyne 56k is indeed a controller based serial modem, or if it's a nasty serial winmodem, designed to fool the world into thinking it's controller based. Has anyone had experience with the cendyne external 56k serial modem? -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
perc 3/di freebsd managment software
Howdy list, For those of you with a Dell Perc 3/di, I found this software yesterday, and I thought you all might find it interesting: http://www.adaptec.com/worldwide/support/driversbycat.html?sess=nolanguage=English+UScat=%2fOperating+System%2fFreeBSD Download the Command Line Interface (CLI) version 1.0 for FreeBSD 4.4 and FreeBSD 4.5 For the Adaptec SCSI RAID 5400S Works great with the Perc 3/di. I can now monitor and rebuild my array without taking the machine down! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: AC97 sound support
Wout A. wrote: Congratz, Have you tried this? # kldload snd_driver (This tries all sound drivers..one of them might work...) If this works, you might want to add the driver to the /boot/loader.conf, you can find an example in /boot/defaults/loader.conf . To be more specific, this is what I have loaded on my FreeBSD 5.1-RELEASE laptop with AC97 sound: [12:[EMAIL PROTECTED]:[/sys/i386/compile/TREVARTHAN]# kldstat Id Refs AddressSize Name 1 13 0xc010 3b1fd0 kernel 21 0xc04b2000 45e8 snd_ich.ko 32 0xc04b7000 1d320snd_pcm.ko 41 0xc04d5000 5808 apm.ko 51 0xc3479000 a000 ntfs.ko 61 0xc373f000 3000 daemon_saver.ko 71 0xc3999000 18000linux.ko 81 0xc3cb4000 17000radeon.ko Make sure you've got all the ICH (and possibly I2C) stuff in your kernel. Here's the pciconf -lv for my chip, just in case you're curious to see if they're identical: [EMAIL PROTECTED]:31:5: class=0x040100 card=0x02221014 chip=0x24858086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801CA/CAM (ICH3-S/ICH3-M) AC'97 Audio Controller' class= multimedia subclass = audio Good luck! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenOffice build
Chris wrote: On Sunday 02 November 2003 03:58 am, Matthew Seaman wrote: On Sun, Nov 02, 2003 at 10:40:07AM +0100, R.T.G. TAN wrote: Hi, Im trying to install openoffice and am getting the folling: Try /usr/ports/editors/openoffice-devel This builds and installs nicely. Yeah, after 10 straight hours on a P3-1.3ghz and 4-6 Gigs of disk space! :) I've got a package of OO-1.1 for stock FreeBSD 5.1-RELEASE and jdk-1.4.1p4 if anyone wants to post it to the download site somewhere. -rw-r--r-- 1 root wheel 76918941 Oct 19 12:24 openoffice-1.1.0_1.tbz I built it by hand because the package on the OO-1.1 website said it required some kernel changes from -CURRENT. I'm NOT making this available for general download directly from me. Contact me offlist if you're interested in providing my package on a website somewhere. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: usb pendrive problems
Jesse Guardiani wrote: Howdy list, A co-worker of mine has a neat little usb pen drive. I set it up properly in /etc/usbd.conf with this entry: - # The entry below mounts Todd's Pendrive when the Pendrive is plugged in. # It then umount's the Pendrive when the device disappears. # device pendrive devname umass[0-9]+ attach sleep 1 /sbin/mount /home/todd/pendrive detach /sbin/umount -f /dev/da0s1 /home/todd/pendrive - And it's set up in fstab with this entry: - /dev/da0s1 /home/todd/pendrive msdosfs rw,noauto 0 0 - But, the problem with all of the above is that the detach command doesn't work because the device is already removed before it can run umount! Frequently, I've found myself with two pendrives mounted: - /dev/da0s1122M43M79M35%/usr/home/todd/pendrive /dev/da1s1122M43M79M35%/usr/home/todd/pendrive - But the first one is a ghost, and if either are umount'd, my kernel panics and my system reboots! Is there a way to reliably umount an already disconnected umass0 SCSI-2 device? I'm guessing from the silence that this is a negatory. Perhaps this has something to do with the fact that the umass device is created first, and then the da SCSI device is emulated off of that? Still, you'd think the programmer would have built some fool-proofing into the driver, especially once you consider the highly hot-pluggable nature of USB... Drat... Looks like usbd or the umass driver need some work. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
howto dissallow upgrade for specific port?
Howdy list, I have a port that I do NOT want to upgrade: python-2.2.2 If I do upgrade it, some of the software on my system will not work correctly. However, I'd still like to use portupgrade -R on a few ports to upgrade all dependencies EXCEPT python. Is there a way to mark a port as non-upgradable? Thanks. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: howto dissallow upgrade for specific port?
Ruben de Groot wrote: On Fri, Oct 24, 2003 at 11:23:03AM -0400, Jesse Guardiani typed: [...] Is there a way to mark a port as non-upgradable? Yes, see /usr/local/etc/pkgtools.conf HOLD_PKGS = [ 'bsdpan-*', 'x11*/XFree86*', 'portupgrade', 'python-*', ] Thanks! That's exactly what I was looking for! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portupgrade auto deinstall+reinstall?
Howdy list, Sorry if this is an obvious question, but I didn't find anything in the portupgrade manpage. I'm in the process of upgrading the ports on my 5.1-RELEASE laptop, and I just executed the following command: portupgrade -R 'grip*' And it's giving me the following message: -- === Checking if x11/libgnome already installed === An older version of x11/libgnome is already installed (libgnome-2.2.0.1) You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of x11/libgnome without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/x11/libgnome. *** Error code 1 Now, I know how to get around this manually: pkg_delete -f 'libgnome-*' And then rerun `portupgrade -R 'grip*'`. However, is there a way to automate this process? It's happened three times already on this one port, and I'm getting a bit annoyed. I was hoping it would be done the first time I came back from lunch. :) Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade auto deinstall+reinstall?
Kent Stewart wrote: On Friday 24 October 2003 10:41 am, Jesse Guardiani wrote: Howdy list, Sorry if this is an obvious question, but I didn't find anything in the portupgrade manpage. I'm in the process of upgrading the ports on my 5.1-RELEASE laptop, and I just executed the following command: portupgrade -R 'grip*' And it's giving me the following message: -- === Checking if x11/libgnome already installed === An older version of x11/libgnome is already installed (libgnome-2.2.0.1) You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of x11/libgnome without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/x11/libgnome. *** Error code 1 Now, I know how to get around this manually: pkg_delete -f 'libgnome-*' And then rerun `portupgrade -R 'grip*'`. However, is there a way to automate this process? It's happened three times already on this one port, and I'm getting a bit annoyed. I was hoping it would be done the first time I came back from lunch. :) Thanks! You can use -Rf but that will update everything that is a dependancy for grip. What you did is probably much faster than that :). That includes the time you spent eating lunch. I come from the programming world and to update a library and not update the codes that use it really bothers me. I do what you did but I keep thinking about all of the problems that I could be causing. Ah. I see. It's binary compatibility thing. Portupgrade has no way of knowing if the new package is binary compatible with the old package, so it builds the new package, uninstalls the old package, and installs the new one. Grrr... OK. I guess I'll just have to rebuild my entire ports tree if I want it done right. Thanks. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
usb pendrive problems
Howdy list, A co-worker of mine has a neat little usb pen drive. I set it up properly in /etc/usbd.conf with this entry: - # The entry below mounts Todd's Pendrive when the Pendrive is plugged in. # It then umount's the Pendrive when the device disappears. # device pendrive devname umass[0-9]+ attach sleep 1 /sbin/mount /home/todd/pendrive detach /sbin/umount -f /dev/da0s1 /home/todd/pendrive - And it's set up in fstab with this entry: - /dev/da0s1 /home/todd/pendrive msdosfs rw,noauto 0 0 - But, the problem with all of the above is that the detach command doesn't work because the device is already removed before it can run umount! Frequently, I've found myself with two pendrives mounted: - /dev/da0s1122M43M79M35%/usr/home/todd/pendrive /dev/da1s1122M43M79M35%/usr/home/todd/pendrive - But the first one is a ghost, and if either are umount'd, my kernel panics and my system reboots! Is there a way to reliably umount an already disconnected umass0 SCSI-2 device? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade auto deinstall+reinstall?
Kent Stewart wrote: On Friday 24 October 2003 01:38 pm, Jesse Guardiani wrote: Kent Stewart wrote: On Friday 24 October 2003 10:41 am, Jesse Guardiani wrote: [...] I come from the programming world and to update a library and not update the codes that use it really bothers me. I do what you did but I keep thinking about all of the problems that I could be causing. Ah. I see. It's binary compatibility thing. Portupgrade has no way of knowing if the new package is binary compatible with the old package, so it builds the new package, uninstalls the old package, and installs the new one. Grrr... OK. I guess I'll just have to rebuild my entire ports tree if I want it done right. Not all of the time. For example, the only one in recent time was the gettext library problem. The other thing is why are you telling portupgrade to recursively build all of grip's dependancies when you may not need to. I look at what portversion tells me is out of date first. You mean portupgrade won't recursively upgrade my ports that are out of date? It rebuilds ALL of them? Hmmm... I never noticed that before. That stinks! I'm looking for an automated upgrade proceedure here. portupgrade doesn't seem to be giving it to me. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade to 4.8 RELEASE
Jud wrote: On Sat, 18 Oct 2003 20:04:39 -0400, Robert H. Perry [EMAIL PROTECTED] wrote: [...] Unless there is a specific reason not to do so, cvsup and make world would seem to be an easier and altogether better way to go for an upgrade from one minor version number to the next. Many users do this quite routinely (e.g., I do it once every week or two). See URL: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html#CUTTING-EDGE-SYNOPSIS. While this section of the Handbook talks about the cutting edge development branches, -CURRENT and -STABLE, the same process can be used to upgrade to a -RELEASE. Do you find it impossible to install binary packages after such an update? Do you have to use ports after such an update? I could never get packages to install properly after cvsuping my source. I'm wondering if this is somehow by design, or if I did something wrong... ? -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade to 4.8 RELEASE
Jud wrote: On Thu, 23 Oct 2003 09:21:13 -0400, Jesse Guardiani [EMAIL PROTECTED] said: Jud wrote: On Sat, 18 Oct 2003 20:04:39 -0400, Robert H. Perry [EMAIL PROTECTED] wrote: [...] Unless there is a specific reason not to do so, cvsup and make world would seem to be an easier and altogether better way to go for an upgrade from one minor version number to the next. Many users do this quite routinely (e.g., I do it once every week or two). See URL: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html#CUTTING-EDGE-SYNOPSIS. While this section of the Handbook talks about the cutting edge development branches, -CURRENT and -STABLE, the same process can be used to upgrade to a -RELEASE. Do you find it impossible to install binary packages after such an update? Do you have to use ports after such an update? I could never get packages to install properly after cvsuping my source. I'm wondering if this is somehow by design, or if I did something wrong... ? Last question first: IIRC, you were a bit confused regarding ports vs. packages, so the reason for failure of packages (or perhaps it was ports?) to install properly may be as simple as typing commands meant for ports when you really wanted to install a package, or vice versa. No. I wasn't confused about ports vs. packages. I was confused in that I thought the port cvsup had caused my problem. I've since discovered that it was the system source cvsup (to fix a security vulnerability) that caused my problems. I've updated ports on my laptop and I can still download and install package just fine. However, I'm sure that if I updated to -CURRENT I would no longer be able to install packages. [...] If you cvsup the -CURRENT or 5.x base system sources and make world, then packages expecting a 4.x base system won't install properly. However (again, IIRC), Mr. Perry was contemplating an update from 4.7 to 4.8, so packages built for 4.x should install fine. OK. That's what I thought. It's a shame that FreeBSD doesn't provide some sort of system to allow the use of packages with (at the very least) -STABLE. As an administrator, I find myself often torn between updating my system sources from -RELEASE to fix a security vulnerability (and thus give up my ability to install binary packages), and simply recompiling the effected program or library (and any linked programs that depend on it) by hand so I can still install binary packages. Is the ports/packages system actively maintained by anyone? If so, the above might be something to think about. For security updates, each effected package would have to be recompiled with the appropriate fix and somehow become the default choice (overriding the vulnerable package) for systems with a compatible bug fix level. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cups + samba on 5.1-RELEASE or 4.8-RELEASE
Howdy list, Just in case anyone is interested, I have updated my cups+samba install and post-install configuration HOWTO. See attached. Again, this is an update from the configuration I provided here: http://article.gmane.org/gmane.os.freebsd.questions/65979/match=cups+jesse -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Openoffice 1.1 + native java
dick hoogendijk wrote: On Fri, 17 Oct 2003 17:23:44 + Matthew Faircliff [EMAIL PROTECTED] wrote: I never thought I would see the day, but now I can open Excel and Word docs in FreeBSD no problem! And its fast! I'm trashing my Windows partition tonight! Viva BSD! Why didn't you just get the FreeBSD precompiled packages for OO-1.1 ?? ?? Where/How would I get that? I'd love to get 1.1 installed on my FreeBSD 5.1-RELEASE machine, but I don't want to cvsup my ports tree because then I wouldn't be able to install packages. I'd have to build everything from source. Maybe I just don't understand how to use the ports tree 100% yet... -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Openoffice 1.1 + native java
Jud wrote: On Fri, 17 Oct 2003 15:37:55 -0400, Jesse Guardiani [EMAIL PROTECTED] said: Jud wrote: [snip] If you cvsup the ports tree, you can choose to install from either ports or packages. Do you run a cvsuped ports tree? I used to run one last year, and I could never install from a package because the ports tree was in a constant state of flux. I'm probably just being thick, but I'm not sure what cvsup-ing the ports has to do with availability/installability of packages. What have you read in the Handbook or elsewhere that gives you the impression one would interfere with the other? Maybe we're both being thick. :) I install my packages via portupgrade -NP, which tends to rely on the port system, AFAIK. What do you use? /stand/sysinstall? What does your cvsup config file look like? It's just the ports-supfile copied from /usr/share/examples/cvsup. How often do you run it? About once every week or two. I used to run mine every night via cron, and I could never get a package installed because one never existed on ftp.freebsd.org. I'm under the impression that packages are only built/provided for release versions of FreeBSD. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sio3 (COM4) problems on FreeBSD 4.8-RELEASE
Howdy list, I'm having trouble with my sio3 (/dev/cuaa3) port on one of my servers (with an SMP kernel). When I try to `tip com4` to a cisco switch using this port, I get only partial data, and this appears in the logs: messages:Oct 10 17:18:37 billmax /kernel: sio3 at port 0x2e8-0x2ef irq 9 on isa0 messages:Oct 10 17:18:38 billmax /kernel: sio3: type 16550A messages:Oct 10 17:20:16 billmax /kernel: sio3: 1 more silo overflow (total 1) messages:Oct 10 17:20:18 billmax /kernel: sio3: 1 more silo overflow (total 2) messages:Oct 10 17:20:21 billmax /kernel: sio3: 1 more silo overflow (total 3) messages:Oct 10 17:20:22 billmax /kernel: sio3: 1 more silo overflow (total 4) messages:Oct 10 17:20:23 billmax /kernel: sio3: 1 more silo overflow (total 5) messages:Oct 10 17:20:27 billmax /kernel: sio3: 1 more silo overflow (total 6) messages:Oct 10 17:20:36 billmax /kernel: sio3: 1 more silo overflow (total 7) messages:Oct 10 17:20:38 billmax /kernel: sio3: 1 more silo overflow (total 8) messages:Oct 10 17:20:45 billmax /kernel: sio3: 1 more silo overflow (total 9) messages:Oct 10 17:20:48 billmax /kernel: sio3: 1 more silo overflow (total 10) messages:Oct 10 17:21:04 billmax /kernel: sio3: 1 more silo overflow (total 11) messages:Oct 10 17:22:15 billmax /kernel: sio3: 1 more silo overflow (total 12) messages:Oct 10 17:40:07 billmax /kernel: sio3: 1 more silo overflow (total 13) messages:Oct 10 17:46:29 billmax /kernel: sio3: 1 more silo overflow (total 14) If I move the console cable from com4 to com1 on the server and keep the console cable in the same switch, then `tip com1`, it works fine. It's just the sio3 port that I'm having trouble with. Note that this machine only has sio1 and sio3. Here's my sio kernel config: # Serial (COM) ports device sio0at isa? port IO_COM1 flags 0x10 irq 4 device sio1at isa? port IO_COM2 irq 3 device sio2at isa? disable port IO_COM3 irq 5 device sio3at isa? port IO_COM4 flags 0x10 irq 9 Also, I've tried it with AND without the 0x10 flag (which I know just allows the com device to be used as a serial console). AND I've tried it with the do not use FIFO flag (0x2) on COM4, like this: # Serial (COM) ports device sio0at isa? port IO_COM1 flags 0x10 irq 4 device sio1at isa? disable port IO_COM2 irq 3 device sio2at isa? disable port IO_COM3 irq 5 device sio3at isa? port IO_COM4 flags 0x2 irq 9 I get the same error in the log either way. Port speed is set to 9600 in all tests. I get the same problem under conserver, so it's not directly related to the `tip` command, but the device. Is there some magic voodoo flag that I need to pass to this port to get it working? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ripping CDs, encoding into MP3s, and labeling later
Howdy list, I currently use grip ( http://nostatic.org/grip/ ) to quickly and conveniently rip CDs, encode the tracks into MP3s, and label the MP3s - all with the SINGLE click of a button. background: === grip is VERY convenient. However, the following scenario with my laptop is causing problems: 1.) Go home or over to a friend's, where I don't have internet access. 2.) Decide that I want to rip+encode a CD of mine, or a CD for a friend, respectively. Now, I can still rip+encode the CD, but I don't have access to the freedb CD information database, so the MP3s end up being labeled Track1 Track2, etc... So here are my questions: = 1.) Is there any way to automate the mp3 track labeling process after the fact? 2.) AFAIK, grip doesn't allow me to rip a CD to my hard disk, then easily label and encode the CD at a later time (when I have access to the internet and freedb). Is there a program that WILL do this? 3.) How do you usually handle this situation? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: 802.11g and FreeBSD based access point ...
Vledder, Hans wrote: Hi Greg, Based on that, it's not clear why you would want to build an AP from a wireless card. Well, this to avoid having to deal with a 'swiss army knife' type of box, just like the one you're describing. Nowadays these boxes have everything in them, and the single thing that they apparently can't do is bake bread. Probably depends on how many processors you have -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 802.11g and FreeBSD based access point ...
Greg Lehey wrote: On Friday, 5 September 2003 at 17:55:14 +0200, Hans Vledder wrote: All, I am considering building a 802.11g FreeBSD access point. I've read that I will need a network adapter that supports hostap (access point mode). Does anyone known a brand/model (PCI) that's being supported by FreeBSD ? I don't have a direct answer to this question, but a bit of information: Last weekend I bought a couple of 802.11b/g wireless routers (AirLink, I think). These boxes contain an access point, a four-port Ethernet switch and an additional downlink Ethernet port. They're intended as cable or ADSL gateways, accessed by the downlink port. You can configure the downlink port to access the other networks by NAT or directly, and you can run a mini-firewall if you want. It can also function as a DHCP server. These boxes cost me $80 at Fry's, the same price as a basic 802.11b access point. This weekend I went back to Fry's looking for Atheros-based wireless cards. The cheapest I could find cost $100. Based on that, it's not clear why you would want to build an AP from a wireless card. It depends on what you're doing. For example, if your access point is going to be a Soekris box: http://www.soekris.com/ Then it makes sense to use wireless PC Cards because when the next wireless standard comes out, you can just toss the old card and buy a new one, while preserving your investment in the soekris hardware. Why would you pay $250 for a Soekris box with two PC Card slots instead of a $50 DSL/Cable router that does roughly the same thing? Flexibility, reliability, and power, IMO. I bought a Siemens SpeedStream 802.11b wireless DSL/Cable router for $35 a few months ago for personal office use, but I'd never sell it to a customer. It locks up under moderate load. (Yes, the firmware is up-to-date) I would, however, install a custom FreeBSD or OpenBSD Soekris box at a customer location because I _know_ it'll do the job with BSD reliability, and if the customer's needs change in the future, I can probably adapt the box's hardware/ software to meet them. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: 56k pccard modem connect speed?
fbsd_user wrote: Once user ppp makes the connection and the line speed is set, any self adjustment to the line speed made by the modem is not captured by user ppp. Furthermore I have not seen any (modem terminal servers) that captures and report on this ether. Well, like I said, the 3Com Total Control Chassis does, but it's a pretty darn expensive piece of hardware. Some pci modem mfg have added an I-reg to capture the max and mim line speed during an modem session which can be accessed using Hayes 'AT' commands after the online modem session has completed. There is no way to see this speed as it changes to compensate for line noise. That would be nice. You don't happen to have any on-line docs to back up that claim, do you? -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: `top` process memory usage: SIZE vs RES
[EMAIL PROTECTED] wrote: [...] J 1.) Where is my Free memory going? given what you say custom-python-qmail-scanner-clamd-qmail-queue This whole scenario is very memory intensive. First you have each email pythonized and then qmail-scanner is *very* memory intensive, as it has initially a very heavy duty perl script for each email before being passed off to clamd. Clamd is a separate issue, since the only clamav command actually run from the pipeline (and thus under the restrictions of softlimit) is the clamdscan client, which is NOT memory intensive. Yes, clamd contributes to the overall memory footprint, but I'm only concerned with getting softlimit set properly at this point. My machine can always revert to swap, but the second softlimit is exceeded the email will be temporarily defered, which I consider a Bad Thing. Having said that, yes, it is still a very memory intensive pipeline. I took some time to profile the memory usage a few days ago, and it looks like the most memory the pipeline should ever use at any given point in time is ~12780K, with the following processes running: USER PID PPID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND qmaild 24716 24553 0.0 0.2 920 460 ?? I 7:39PM 1:08.07 /var/qmail/bin/qmail-smtpd qmaild 24718 24716 0.0 0.3 884 488 ?? I 7:39PM 0:08.63 /usr/local/bin/qmail-qfilter /var/qmail/queue-filters/block-forged-sender.py -s qmailq 24730 24718 9.2 2.1 5052 3988 ?? S 7:41PM 0:55.87 /usr/bin/suidperl -T /dev/fd/4//var/qmail/bin/qmail-scanner-queue.pl (perl) qmailq 24739 24730 69.7 2.1 5052 3988 ?? R 7:43PM 0:06.55 /usr/bin/suidperl -T /dev/fd/4//var/qmail/bin/qmail-scanner-queue.pl (perl) qmailq 24740 24739 14.4 0.2 872 400 ?? R 7:43PM 0:01.28 /var/qmail/bin/qmail-queue (qmail-scanner is silly. For some reason it spawns a copy of itself, possibly to hand the message off to qmail-queue.) But even with the softlimit set to 15M, my huge test message to a server with only about 80M of free RAM (before sending the message. Free Memory dropped to ~500k while handling the message) somehow managed to exceed the softlimit. The exact same message, sent to a machine with ~600M of free RAM and an identical mail server setup, passed through the pipeline without tripping the softlimit. From what I have seen while watching a huge message pass down the pipeline, none of the processes in the pipeline increase memory usage in proportion to email size. They're all relatively static. So I'm a little confused about why the softlimit would be tripped on a box that had less RAM (128M) but pass through successfully on a box with more RAM (1G). Would the act of using more swap effectively increase a process's: data segment usage? stack segment usage? locked physical pages per process? total of all segments per process? These are the things that softlimit limits (according to `man softlimit`), and I admittedly don't understand how any of the above translates to memory usage as shown by VSZ and RSS under `ps`, or SIZE and RES under `top`. Any ideas? Maybe running vmstat -w 1 would give you a different perspective also. I'll check it out. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: `top` process memory usage: SIZE vs RES
Dan Nelson wrote: In the last episode (Sep 11), Jesse Guardiani said: 1.) Where is my Free memory going? I can't account for it in the SIZE and RES columns of the various processes. These are relatively constant. Disk cache. I thought it might be something like that. My large test messages are being written to disk over and over and over as the message travels down the pipline. Makes a great case for installing a RAM disk. :) 2.) What, exactly, is RES? `man top` describes it as this: RES is the current amount of resident memory, but does that mean RES is included in SIZE? Or does that mean that RES should be counted in addition to SIZE? RES the amount of SIZE that it currently in core OK. To clarify, you mean core kernel memory here? If so, how is that significant? Why should I care? In other words, why would I ever want to know that? Thanks. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: `top` process memory usage: SIZE vs RES
Dan Nelson wrote: In the last episode (Sep 12), Jesse Guardiani said: Dan Nelson wrote: In the last episode (Sep 11), Jesse Guardiani said: 2.) What, exactly, is RES? `man top` describes it as this: RES is the current amount of resident memory, but does that mean RES is included in SIZE? Or does that mean that RES should be counted in addition to SIZE? RES the amount of SIZE that it currently in core OK. To clarify, you mean core kernel memory here? If so, how is that significant? Why should I care? In other words, why would I ever want to know that? core meaning physical memory; user memory in this case. OK. And how does core, or user memory differ from SIZE memory then? If X = SIZE - RES, where is X stored? Processes can lock kernel memory, but there's no easy way of listing that (it's usually a small amount held in pipe or socket buffers and is short-lived). The name core came from when memory bits were ferrite rings magnetized by wires running through them. http://www.columbia.edu/acis/history/core.html Wow. That's a really cool bit of history. I don't quite understand how a core is switched, but I'm sure it must have worked. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
56k pccard modem connect speed?
Howdy list, I use: ppp -auto MyProvider to connect to the internet with my 56k pccard. How do I glean the connection speed? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: 56k pccard modem connect speed?
fbsd_user wrote: Issue this command from console after modem connection is complete Cat /var/log/ppp.log | grep CONNECT Sweet. I must have missed that line in all the noise. Thanks. Another question: I know that WingNET's 3com Total Control Chassis (modem terminal server) will modulate connected modems up or down depending on line static, noise, etc... Are events like this logged in ppp.log? Is there a command I can run, while connected, that will tell me my current connect speed? Or is this something internal to the modem that I can't retreive? Thanks. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
`top` process memory usage: SIZE vs RES
Howdy list, I checked the FAQ and the questions archive before I posted this, so hopefully it isn't a frequently asked question: Background: = I am stress testing a FreeBSD 4.7-RELEASE server (it's a pre- production test server) by sending huge email messages to it via SMTP. I'm running qmail-1.03 built from source, with the QMAILQUEUE patch, qmail-qfilter, a custom Python script that runs under qmail-qfilter, and qmail-scanner with ClamAV. I test the server by sending a 59M or a 99M email from a remote machine (connected via fxp0). Please, spare me the gaggle about 59M emails being too large. I am perfectly aware of the silliness associated with sending a 59M file via SMTP. I'm only interested in stress testing this server right now. Thanks! Now please read on: The Situation: == As I watch the email travel down the qmail-smtpd-qmail-qfilter- custom-python-qmail-scanner-clamd-qmail-queue pipeline, I watch the memory usage with `top`. Memory is critical in this type of application, since I run my qmail-smtpd pipeline under DJB's softlimit program. I MUST know how much memory to allocate for the upper limit of each pipeline, otherwise qmail-smtpd will terminate the transfer with a 451 SMTP error. Anyway, as I watch `top`, I never see more than 15M being used by the various pipeline programs at any given point in time, but my Free Memory constantly declines until it reaches about 526k. The Questions: == 1.) Where is my Free memory going? I can't account for it in the SIZE and RES columns of the various processes. These are relatively constant. 2.) What, exactly, is RES? `man top` describes it as this: RES is the current amount of resident memory, but does that mean RES is included in SIZE? Or does that mean that RES should be counted in addition to SIZE? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
howto calculate free memory from top
Howdy list, I've been wondering about this for a while: How do I calculate the amount of free memory my system has at any given point in time? My top usually looks like this: Mem: 72M Active, 668M Inact, 165M Wired, 29M Cache, 112M Buf, 70M Free Swap: 2048M Total, 5448K Used, 2043M Free I understand the 70M Free part, but should I add 668M Inact to that? Or is it more complicated? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: howto calculate free memory from top
Charles Swiger wrote: On Tuesday, September 9, 2003, at 08:35 AM, Jesse Guardiani wrote: How do I calculate the amount of free memory my system has at any given point in time? What do you mean by free memory? Memory that can be used by other programs before the vm starts using swap. My top usually looks like this: Mem: 72M Active, 668M Inact, 165M Wired, 29M Cache, 112M Buf, 70M Free Swap: 2048M Total, 5448K Used, 2043M Free I understand the 70M Free part, but should I add 668M Inact to that? Or is it more complicated? It's more complicated. The inactive memory refers to pages that have been used (but not recently), and thus are candidates for being replaced by more active pages, if the system has enough activity to want such pages for other tasks. So they _are_ available for use then? And thus are relatively free, correct? -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and Hot Swap rebuild on SCSI disks.
Edy Lie wrote: Greetings, I have setup the following: FreeBSD 4.8 and using Adaptec 2100s for the SCSI RAID 5. Currently there are 5 harddisks which have been setup as RAID 5 and 1 harddisk acts as hot spare. Interestingly, is there any tool on FreeBSD which allows to rebuild the array on the fly or is it a must to reboot and goto Adaptec 2100s SMOR to rebuild? If latter is the only option it defects the purpose of HOT SWAP capabilities. No, I don't think any such tool exists, and yes, it defeats the purpose. If you find such a tool, please let me know so I can use it on my AMR MegaRAID (Dell Perc 2/SC) RAID 5 array. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: howto calculate free memory from top
Dan Nelson wrote: In the last episode (Sep 09), Jesse Guardiani said: Charles Swiger wrote: On Tuesday, September 9, 2003, at 08:35 AM, Jesse Guardiani wrote: How do I calculate the amount of free memory my system has at any given point in time? What do you mean by free memory? Memory that can be used by other programs before the vm starts using swap. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#TOP-MEMORY-STATES does a pretty good job of explaining the states. Yes, all except Buf, but `man top` explains that pretty well. So they _are_ available for use then? And thus are relatively free, correct? All memory except for Wired is free, to varying degrees. OK. Just out of curiosity, what would you say about my example then: -- Mem: 72M Active, 668M Inact, 165M Wired, 29M Cache, 112M Buf, 70M Free Swap: 2048M Total, 5448K Used, 2043M Free -- Based on that FAQ, I would say that I've got about 80M of immediately available memory, and if the system gets pushed really hard, I can probably spare another 600M or so with relatively minimal swap usage. Is that accurate? Thanks! Sincerely, -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 802.11g and FreeBSD based access point ...
Matthias Teege wrote: Vledder, Hans [EMAIL PROTECTED] writes: I am considering building a 802.11g FreeBSD access point. I've read that I will need a network adapter that supports hostap (access point mode). Does anyone known a brand/model (PCI) that's being supported by FreeBSD ? Netgear PCI Cards (401a?) are supported but this may change. Look for something with an Atheros chipset. See the ath man page for details: http://www.freebsd.org/cgi/man.cgi?query=athapropos=0sektion=0manpath=FreeBSD+5.1-currentformat=html You'll have to run -CURRENT to drive it though. ath was added after 5.1-RELEASE. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS, foomatic-rip, 4.8 RELEASE (was: How to get CUPS to work)
Mark Terribile wrote: Todd: ... Has anyone gotten CUPS working using the foomatic-rip/gimp-print method [from] Linuxprinting.org? I have an Epson Stylus C82 at /dev/lpt0. ... Looks like I got it. I installed the printer again using a different driver (one that for some reason did not show up the first time I tried) and it works now. I went through a hassle on the C82, and I don't know that I could reproduce everything I did, I went through this hassle yesterday. I was up from 11:00PM to 5:30AM working on it. I thought it might be a good idea to take notes. Obviously, you've got to download the foomatic-rip script and the foomatic-gswrapper script from the linuxprinting.org site and follow the instructions there to install it, but here are the ADDITIONAL things I had to do to get the cups port/package working properly under FreeBSD 5.1-RELEASE: (This may not all be necessary under 4.8-RELEASE. YMMV.) su mv /usr/local/etc/rc.d/cups.sh.sample /usr/local/etc/rc.d/cups.sh /usr/local/etc/rc.d/cups.sh start mkdir /var/log/cups touch /var/log/cups/access_log mkdir /usr/local/etc/cups/certs mkdir /var/spool/cups mkdir /usr/local/etc/cups/ppd mkdir /var/spool/cups/tmp I then configured my printer by following the instructions on Linuxprinting.org and pointing my browser to: http://localhost:631/ Also, if you want to use cups from the command line, via the lp* commands (this seems to be a requirement for GNOME/gtk* programs, since GNOME doesn't natively support cups yet), you need to do this: su mkdir /usr/bin/old-lp-commands mv /usr/bin/lp* /usr/bin/old-lp-commands ln -s /usr/local/bin/lp* /usr/bin The most important thing to remember is that any cups/web errors you receive will be debuggable in two ways: 1.) Check /var/log/cups/error_log If this doesn't give you enough information, proceed to step #2 below: 2.) In /usr/local/etc/cups/cupsd.conf, uncomment the following: LogLevel debug And restart the cupsd daemon: /usr/local/etc/rc.d/cups.sh stop /usr/local/etc/rc.d/cups.sh start Now, any errors logged to /var/log/cups/error_log will be quite verbose. This is useful for debugging errors thrown by the foomatic-rip perl script. However, I'd like to note that I did NOT have to modify my foomatic-rip script in any way. Conclusion: === The FreeBSD cups package/port doesn't create the necessary directory structure needed to configure and run cupsd properly. I can overlook the fact that the cups port doesn't presume to automatically replace the /usr/bin/lp* commands, but failing to create the necessary directory structure is inexcusable. Someone should fix that. I hope the above information is useful to someone. It MAY NOT be 100% complete. I was very tired when I took the above notes. Please write me and let me know if you had to add anything or do anything different from the above. But Note: I do NOT want to know what you had to do to install foomatic-rip, hpijs, or any other printer-specific software properly. I'm only interested in cups configuration and setup info. My email address is [EMAIL PROTECTED] Have a great day! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fwe in production? fwe bandwidth?
Howdy list, I'm researching GigE and faster-than-10/100- technologies. I run a FreeBSD 5.1-RELEASE laptop, and I noticed the fwe device. I have a few questions regarding the fwe device: 1.) Does anyone use the fwe device? 2.) Is it stable? 3.) What kind of bandwidth is possible with the fwe device? 4.) What hardware has it been tested to work well on? 5.) If this isn't the place to ask, where should I go? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: process memory peak recording
Matthew Seaman wrote: On Wed, Sep 03, 2003 at 06:53:09PM -0400, Jesse Guardiani wrote: Howdy list, I'm a Sys Admin running FreeBSD 4.8-RELEASE servers. During a recent programming/installation project, I found myself wanting to know the peak memory usage of a given command/process. Is there any way to gather this information without recompiling an application with a sleep or wait statement at the (assumed) point of peak memory usage and then looking at the process with 'ps'? That depends on exactly how much time you've got to record the peak memory usage. If it's going to be changing faster than you could catch just by running ps(1) -- like: % ps -p NNN -o rsz where NNN is the pid of your process, then you're probably going to have to interrupt the process somehow. You can do that by attaching to the process using gdb(1), eg: % gdb PROGNAME NNN this will stop the process and leave you in the debugger at the current program counter. You'ld have to create a break point when the program calls malloc(3) or friends, continue running until it hits the break point, step over the malloc call, check the size using ps(1), and then continue running again until the next malloc(3) call. Repeat until the program ends. See the gdb info pages for the gory details. Nb. this whole thing with gdb(1) is going to be a great deal easier if you have the source code to your program available and you can run an unstripped binary. Doing such a trick on a stripped binary is getting into real guru territory. Programs run a lot slower when attached in a debugger, plus if the program makes heavy use of malloc, it's going to get really tedious very quickly. Thanks for the reply, Matthew. Sorry for the misleading subject. I meant to post a different message under that subject. process memory peak recording should have been the subject for this message. I'm not sure if that was a bug in my human CPU or a bug in KNode... :) Anyway, I was really hoping that someone would write me back and tell me that there is already some voodoo kernel debugging switch that I could turn on to let me log/record peak memory usage for a particular process. I guess you're saying that isn't the case though, right? Sincerely, -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: process memory peak recording
Matthew Seaman wrote: On Fri, Sep 05, 2003 at 10:03:31AM -0400, Jesse Guardiani wrote: [...] Another approach that occurred to me might be feasible would be to use the limits(1) facility to set a maximum virtual memory size for the process. Then do a binary search to find the smallest virtualmem limit that would still permit the process to complete. But that really only works if you can run the same process with the same arguments over and over again and always get the same result each time. Actually, that very situation is what makes me wish I had some way to quickly pull the peak mem usage of a process. :) I'm running DJB's softlimit with qmail-smtpd and a bunch of QMAILQUEUE scripts, and softlimit will OOM qmail-smtpd if any of the processes in the QMAILQUEUE pipeline exceed the alloted mem usage. I usually have to send 70M messages down the pipeline in order to properly profile memory usage at different points in time. Real pain in the rear. Very time consuming too. Oh well, I've practically got it down to an art now. Thanks anyway! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: process memory peak recording
Lowell Gilbert wrote: Jesse Guardiani [EMAIL PROTECTED] writes: During a recent programming/installation project, I found myself wanting to know the peak memory usage of a given command/process. Is there any way to gather this information without recompiling an application with a sleep or wait statement at the (assumed) point of peak memory usage and then looking at the process with 'ps'? Running under a debugger is one typical way of doing this. For strictly malloc(3)'d memory, a memory profiler will be an easier option. If I remember correctly, there is a choice of them in the ports system. These are generally things you have to compile into your applications, right? I'm specifically dealing with Perl and Python scripts that I did not write. However, I do some C programming from time to time, and learning how to use a memory profiler/leak detector is extremely appealing to me. Which is your favorite? Which works the best? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Planning a FreeBSD desktop, basic questions.
Michael Vondung wrote: Hello! Howdy, Michael. My apologies for the length of this post. Summary: 4.x or 5.x for a desktop machine, disk partitioning for a workstation, miscellaneous installation questions. Okay, the details! Now that I have my local FreeBSD server (mail/news, router, firewall) successfully running, I'm ready to tackle my workstation. This is currently a system with a P4-2.6Ghz, 512MB RAM, an 80GB EIDE disk, and the usual devices (CDR, CD/DVD player, network adapter and so on). At this time it is running Windows XP, and I plan to keep it where it is. To avoid having two operating systems on the same disk, I've purchased an identical HD (WD800BB) where FreeBSD will live on. Since I don't download movies or obscene amounts of MP3s, this is all a bit spacey. The XP disk only uses 35 of 80GB and I doubt the FreeBSD one will even be this full. How times change. :) Indeed. I'm only 21, and I still remember messing with a diskless Tandy 10 years ago when I was just getting started. Now I have a laptop with a 48G harddisk dual-booting WXP and FreeBSD 5.1-RELEASE, and I still have more space than I know what to do with. It's a wonderful feeling! 4.8 or 5.1? See below. My personal server happily runs 4.8R and will be updated to 4.9 when -stable becomes a bit more stable. It consists of older hardware and I don't plan to upgrade it to 5.x any time soon, if ever. But what do you recommend for the workstation? It doesn't have dual-processors and all of its hardware seems to be supported by 4.x. This machine, though, will eventually get 5.x. I'm wondering if it makes sense to put 4.8 on it now or if it would be a better choice to just go with 5.1R. My primary concern here is ease of upgrading. Will it be difficult to go from 4.9 to 5.2, somewhere down the road? Well, considering that you have the necessary backup media (dvd-r, a bunch of cd-rw, a third hd, or tape), it shouldn't be THAT bad. However, it WILL be more difficult than upgrading from 4.7-RELEASE to 4.8-RELEASE. You generally will want to reformat the drive, or at least wipe out the file system. I personally run 5.1-RELEASE on my IBM Thinkpad A30p. I do so not because I like 5.x better than 4.x, but simply because I couldn't get advanced power management (APM) working under 4.8-RELEASE. I tried to install 4.8 first because I was more familiar with it at the time. 5.x is the future. In that respect, it isn't a bad idea to get used to it now, rather than later, when you suddenly find out that you HAVE to install it for some shiny new piece of hardware or software. Having said the above, I'll say this: 4.8-RELEASE _IS_ more stable than 5.x. I run 4.8-RELEASE on my servers. I run 5.1-RELEASE on my laptop. I can vouch for both version's stability. 5.1-RELEASE is _NOT_ unbearable, but it is also not quite as stable as 4.8-RELEASE. I won't put 5.x on my servers until 5.3 or 5.4, I think, unless KSE support is just super killer stable in 5.2. :) Also, you might have more trouble actually getting FreeBSD 5.1-RELEASE installed on newer machines. You sometimes have to set boot variables to keep the kernel from crashing/panicing. In conclusion, 5.1-RELEASE is good enough for a desktop, IMO, but you'd better be prepared for an installation/learning curve over 4.8-RELEASE. On the flip side, you're probably going to have to face that learning curve at some point in the future anyway, so you might as well dive in on your conditions and your timeframe, rather than wait until it's a requirement. HTH Sincerely, -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS, foomatic-rip, 4.8 RELEASE (was: How to get CUPS to work)
Warren Block wrote: On Fri, 5 Sep 2003, Mark Terribile wrote: ... but here are the ADDITIONAL things I had to do to get the cups port/package working properly under FreeBSD 5.1-RELEASE: (This may not all be necessary under 4.8-RELEASE. YMMV.) Ah, yes. I think I forgot to add that I had to change the lpd_program variable in /etc/rc.conf : /etc/rc.conf:lpd_program=/usr/local/sbin/cupsd # path to lpd, if you want a different one. This is a 4.6 system upgraded to 4.7 . That is not necessary. The steps you documented earlier--about having to manually create a bunch of directories before CUPS would work--looked like just what I found on a 4.8 system earlier this week. I think you're confusing my reply to Mr. Terribile's text with Mr. Terribile's text itself. I wrote the stuff about the directories. (Hey, if I'm gonna take the time to write it, I might as well not let anyone else unknowingly take the credit! :-] Me! Me! Me! ) Anyway, the CUPS startup in /usr/local/etc/rc.d will run the CUPS daemon. It isn't necessary to replace lpd, which will run at the same time. That is my experience also. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS, foomatic-rip, 4.8 RELEASE (was: How to get CUPS to work)
Todd Stephens wrote: On Friday 05 September 2003 09:59 am, Jesse Guardiani wrote: I hope the above information is useful to someone. It MAY NOT be 100% complete. I was very tired when I took the above notes. Please write me and let me know if you had to add anything or do anything different from the above. But Note: I do NOT want to know what you had to do to install foomatic-rip, hpijs, or any other printer-specific software properly. I'm only interested in cups configuration and setup info. Ahem. Sorry, I know you don't want to hear this question, but what did you do to get the foomatic part working? I placed it according to linuxprinting.org, but I am thinking that maybe the FreeBSD port of CUPS is looking for it elsewhere. I will go through the process again using the exact steps you outlined. I think there are a few directories that I did not create. I'll let you know how this goes. I'll be happy to offer whatever help I can, but it'd probably be quicker for you to practice the debugging steps I mentioned in the original post. After all, that's how I mucked my way through it... Let me know if you get it working, and let me know if you had to do anything different (with regard to CUPS, of coarse!). If you get stuck, let me know. I'll try to prod you in the right direction. Sincerely, -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fwe in production? fwe bandwidth?
Howdy list, I'm a Sys Admin running FreeBSD 4.8-RELEASE servers. During a recent programming/installation project, I found myself wanting to know the peak memory usage of a given command/process. Is there any way to gather this information without recompiling an application with a sleep or wait statement at the (assumed) point of peak memory usage and then looking at the process with 'ps'? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
process memory peak recording
Howdy list, I'm a Sys Admin running FreeBSD 4.8-RELEASE servers. During a recent programming/installation project, I found myself wanting to know the peak memory usage of a given command/process. Is there any way to gather this information without recompiling an application with a sleep or wait statement at the (assumed) point of peak memory usage and then looking at the process with 'ps'? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: smb network browsing
Simon Barner wrote: However, the more I use mount_smbfs or fstab, the more I long for a GUI utility that I can use to browse the Network Neighborhood and mount any shares I desire under /smb or similar. I think LinNeighbourhood is what you want. You can browse your windows network with it, and mount shares with a double click. A lot of people sent me private emails with their own suggestions, but all were unusable (like Komba2 under FreeBSD - I couldn't get it to compile) or inappropriate (like one gentleman's suggestions of xsmbrowser, which acts as a wrapper to Samba's smbclient and doesn't use mount_smbfs at all). LinNeighbourhood is perfect! Exactly what I was looking for! I would have never found it without the suggestion either! Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What version? I am beginner....
Denis wrote: Hi all! I am beginner in FreeBSD and in Unix at all. I know just Windows: Do u recommended me FreeBSD 5.1 Release? 5.1-RELEASE is less stable than 4.8-RELEASE. Particularly, you may have to do some tweaking to get the kernel booting on install and thereafter. However, stability is comparable between the two after everything is working, and 5.1-RELEASE has some pretty slick new features. I'd go with 4.8-RELEASE as a beginner though. Or i must start learn FreeBSD from 4.8 stable? Rgrds, Denis. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
smb network browsing
Howdy list, I'm currently running FreeBSD 5.1-RELEASE and I LOVE using mount_smbfs. Accessing SMB shares on my Samba or NT server like a normal filesystem is incredibly convenient. However, the more I use mount_smbfs or fstab, the more I long for a GUI utility that I can use to browse the Network Neighborhood and mount any shares I desire under /smb or similar. I tried gnomba, from the ports collection, but it kept giving me a Segmentation Fault every time I try to Scan the network for SMB shares. Surely someone out there shares my frustration and has made an application that will do the job! Any ideas? Sincerely, -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Changing gnome fonts from KDE
Hi, Does anyone know how to change gnome fonts from KDE/command-line? I tried running gnome-control-center, which worked, but only the fonts for the control center and gthumb have changed. Maybe gnome-control-center only changes fonts for gnome2? In that case, how do I change fonts for gnome1? I want GIMP, Grip, and GnuCash fonts to change too! Thanks, -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
virtual pcm mixing
Howdy list, Does anyone know if it's possible to mix virtual PCM devices? (i.e. /dev/dsp0.1, /dev/dsp0.2, etc...) I'm trying to run XMMS at a different volume level than my KDE SFX volume level. XMMS is using /dev/dsp0.2 and KDE is using /dev/dsp0.3. Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.1-RELEASE Windows XP dual-boot issues
Scott Reese wrote: On Mon, 2003-06-30 at 11:33, Chuck Swiger wrote: Scott Reese wrote: After the install, I was able to boot FreeBSD with no problems at all, but when I went to boot up Windows, I received the dreaded 'NTLDR missing' message. Try marking the Windows partition as active (via fdisk from MS-DOS, or /stand/sysinstall), and see whether that does any better. Just tried it from /stand/sysinstall and no joy. Though I maybe did get a clue why the fresh install mucked things up: When I told fdisk to write the changes I made (marking the first NTFS partition bootable), I received an error message that ad0 couldn't be written. I'm still receiving the 'NTLDR is missing' message. Do you have a setup CD? If so, you might be able to fix things with the recovery console. If not, download the recovery console setup disks from microsoft's site and run them. This worked for 4.x and 5.0-RELEASE on this same machine and I'm somewhat mystified as to why it is now broken with a fresh 5.1 install. Any other suggestions? I'm thinking of perhaps re-installing Windows from scratch (I don't need it for much) and then using the 2k boot loader to boot FreeBSD. There is a way to do that, isn't there? Absolutely. It's pretty easy too. All you have to do is: 1.) Leave the WXP boot sector alone during FreeBSD install so the NT loader still works. 2.) Copy /boot/boot1 from your FreeBSD setup CD, hard disk, or fixit media to an msdos floppy disk: mount -t msdos /floppy cp /boot/boot1 /floppy umount /floppy 3.) Boot into WXP, copy 'boot1' from the floppy to your C:\ drive and call it 'bootsect.bsd', then add an entry in your C:\boot.ini like this: C:\bootsect.bsd=FreeBSD 5.1-RELEASE Reboot and enjoy. It's not really quite that cut-and-dry in practice (sometimes you'll have to manually set the WXP partition as bootable from FreeBSD's fdisk utility, for example. And when doing a fresh install, you'll probably have to get boot1 from the fixit media.), but those are the basic steps, and if you can muddle through them you'll be alright. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SMP: question
Asenchi wrote: Hello, I am trying to configure an dual processor server for the first time. It is a 6 year old HP with PIII Xeon 500's. The question I have is that when I boot into single user mode (as I have had problems in multi-user) it shows only one proc starting up. This: SMP: AP CPU #1 Launched! Should this show the second one? The problem in multi-user mode is that after boot, 5 minutes later when I am doing anything it reboots after 5 mins. Any ideas? Or where I can visit something online. I haven't been able to find any really reliable SMP docs online. And I could be blind but I can't find anything in the handbook. I think your dmesg.boot and your kernel config file would be good to see right about now. Thanks, Curt Micol -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
devfs problem (was: Re: 5.x usb gphoto
Jesse Guardiani wrote: Howdy list, I'm trying to get gphoto2 to connect to my digital camera as a NON root user. (it works fine when root, but that's a security risk) Under 4.x, all I had to do was make the appropriate USB devices group readable and writeable, then add users to the appropriate group (operator, usually). Under 5.x, I'm having more trouble. The /dev/usb* devices have the appropriate group permissions out of the box, but I apparently also need group write permission to the /dev/ugen* devices. Here are the ugen permissions when my camera is attached to the usb port: [11:[EMAIL PROTECTED]:[/etc]# ls -al /dev/ugen* crw-r--r-- 1 root operator 114, 0 Jun 13 09:07 /dev/ugen0 crw-r--r-- 1 root operator 114, 1 Jun 13 09:07 /dev/ugen0.1 crw-r--r-- 1 root operator 114, 2 Jun 13 09:07 /dev/ugen0.2 The problem is that I'm unfamiliar with devfs, and I can't figure out how to get the ugen devices to appear with group writable permissions. Any help appreciated! Thanks. Anyone? Anyone at all? Surely someone here has a wee bit of experience with devfs... -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: devfs problem (was: Re: 5.x usb gphoto
Thomas T. Veldhouse wrote: It should have read something nicer in the comment though: # Allow members of group operator to write to ugen0 perm ugen0 0664 Is that supposed to work for devices that always exist, or for devices that are created on the fly? The ugen device is created when I plug my camera in. The above doesn't effect it (because I think it is only run at boot). I haven't rebooted my machine to test, but I shouldn't have to, right? I should just have to plug my camera in, which I did, and it didn't effect the ugen device. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: devfs problem (was: Re: 5.x usb gphoto
Jesse Guardiani wrote: Thomas T. Veldhouse wrote: It should have read something nicer in the comment though: # Allow members of group operator to write to ugen0 perm ugen0 0664 Is that supposed to work for devices that always exist, or for devices that are created on the fly? The ugen device is created when I plug my camera in. The above doesn't effect it (because I think it is only run at boot). This works: devfs ruleset 10 devfs rule add path 'ugen*' mode 664 I had tried that before I posted to the list, but I think I forgot to quote my globbing. Does anyone know the appropriate place to put this so it will execute at system boot? /etc/rc.conf? Thanks. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.x usb gphoto
Howdy list, I'm trying to get gphoto2 to connect to my digital camera as a NON root user. (it works fine when root, but that's a security risk) Under 4.x, all I had to do was make the appropriate USB devices group readable and writeable, then add users to the appropriate group (operator, usually). Under 5.x, I'm having more trouble. The /dev/usb* devices have the appropriate group permissions out of the box, but I apparently also need group write permission to the /dev/ugen* devices. Here are the ugen permissions when my camera is attached to the usb port: [11:[EMAIL PROTECTED]:[/etc]# ls -al /dev/ugen* crw-r--r-- 1 root operator 114, 0 Jun 13 09:07 /dev/ugen0 crw-r--r-- 1 root operator 114, 1 Jun 13 09:07 /dev/ugen0.1 crw-r--r-- 1 root operator 114, 2 Jun 13 09:07 /dev/ugen0.2 The problem is that I'm unfamiliar with devfs, and I can't figure out how to get the ugen devices to appear with group writable permissions. Any help appreciated! Thanks. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sony Digital Audio System
Christopher Rosado wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm helping a friend set up FreeBSD on his machine, and after adding pcm to his kernel, he's now unable to run KDE. I'm including his dmesg output, which contains the relevant info (artsd/pcm-related). Doesn't look like it has anything to do with artsd or KDE. It looks like your kernel keeps panicing on boot. In addition, while it's possible that adding the pcm device to your kernel is what causes the kernel panics, I'm skeptical. I think it's something else because the kernel doesn't panic right after or before it detects the pcm device. It panics right after it detects cd0. Did you JUST add pcm support to the kernel? Or did you add a bunch of other stuff at the same time? (looks like you need the usb audio stuff) My advice would be to boot into the old kernel (read the handbook), back up the old kernel, then start recompiling the new kernel without some of the options and devices you just added. Something is causing problems. Use the process of elimination to figure out what it is. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sony Digital Audio System
Christopher Rosado wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 13 June 2003 07:31 am, Jesse Guardiani wrote: Doesn't look like it has anything to do with artsd or KDE. It looks like your kernel keeps panicing on boot. No. He reports the panic happens during KDE startup, at the Initializing peripherals stage. Not a boot-up issue. Ah. I see now that the kernel panic was caused by the artsd process. In addition, while it's possible that adding the pcm device to your kernel is what causes the kernel panics, I'm skeptical. I think it's something else because the kernel doesn't panic right after or before it detects the pcm device. It panics right after it detects cd0. We commented-out pcm and rebuilt his kernel; he's now able to start KDE without a kernel panic. No sound though. An issue with pcm||artsd + his hardware. At least you've got it narrowed down to the pcm device. Did you JUST add pcm support to the kernel? Or did you add a bunch of other stuff at the same time? (looks like you need the usb audio stuff) It's a new installation, and a new kernel so he could have a usable desktop. I'll look into the USB audio; the lack of it may be causing it. I saw usb audio (uaudio0) in the dmesg. That's why I mentioned it. See: uaudio_add_selector: NOT IMPLEMENTED uaudio0: ignored input endpoint of type adaptive uaudio0: audio rev 1.00 pcm0: USB Audio on uaudio0 Doesn't look like it's getting installed/setup properly. But unfortunately, I don't know how to fix it. Perhaps search google for usb audio troubleshooting or something. Or identify the audio chipset and search google to see if anyone else has gotten it working. Sorry I couldn't be of more help. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 4.8 to 5.0
Alex de Kruijff wrote: On Sun, Jun 08, 2003 at 11:12:23AM +0200, Doron Shmaryahu wrote: Hi, I have been considering upgrading my machine from 4.8 5.0. Is it a easy buildworld or can anyone give me advice on any problems before upgrading. If i where you i would joing the current maillinglist and then wait for 5.1 to come out and download it. When it does download it (with cvsup) and then wait another two weeks to compile the code. If there are any big bugs they will come up on the mailling list. 5.1-RELEASE ISOs have been available from the FreeBSD website for the past three days now. Alex ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sysinstall debug screen
Howdy list, I've gotten a few errors now at different times from sysinstall during a package install under 5.1-RELEASE. Each time it tells me to view the 'debug screen' for more info. What debug screen? How do I view it? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]