Re: Can FreeBSD 4.11 and 5.4 run on a HP DL-140 G2 server?
On 10/26/05 21:28 Paul Hamilton said the following: Hi, I have FreeBSD 4.11 running nicely on a HP DL-140 (80GB Parallel ATA HD), but is anyone running FreeBSD on a HP DL-140 *G2* (80GB SATA HD)? works with the HP ML110 G2 with the ICH7 SATA RAID controller. i've had to patch sys/dev/ata-pci.c to get it to recognize it but it's a short and simple patch. -- Regards, /\_/\ All dogs go to heaven. [EMAIL PROTECTED](0 0)http://www.alphaque.com/ +==oOO--(_)--OOo==+ | for a in past present future; do| | for b in clients employers associates relatives neighbours pets; do | | echo The opinions here in no way reflect the opinions of my $a $b. | | done; done | +=+ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dell Poweredge 830 with Intel ICH7 Sata controller not finding drives on install
On 10/19/05 06:17 Derrick MacPherson said the following: When I type lsdev in the boot loader, it shows the hdd and the partitions that are on it (3 linux). When sysinstall (i've tried with 5.4 and 6.0RC1) starts it says there's no drives, I've done some i duplicated the entries for the ICH6 controller in sys/dev/ata-pci.c and installed freebsd 4.x on a HP ML110 G2 with the ICH7 SATA controller. you'd probably need to make a release for this though. -- Regards, /\_/\ All dogs go to heaven. [EMAIL PROTECTED](0 0)http://www.alphaque.com/ +==oOO--(_)--OOo==+ | for a in past present future; do| | for b in clients employers associates relatives neighbours pets; do | | echo The opinions here in no way reflect the opinions of my $a $b. | | done; done | +=+ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FBSD 5.4 and old PC
Hi! I have an old Compaq Deskpro 2000 (P166) with 64M RAM and HDD 1.5G. I was thinking to make it as router with FBSD 5.4. Did anyone had any kind of problems with setup on that kind of machine? Regards, Sasa pgpyxZSX8QkjH.pgp Description: PGP signature
Re: Disc space
On 10/27/05, RW [EMAIL PROTECTED] wrote: On Wednesday 26 October 2005 16:08, Igor Robul wrote: 2) you can buy more memory and use memory backed md (4) /tmp And you can create a 100 MB memory-backed /tmp simply by adding the following to rc.conf tmpmfs=YES tmpsize=100m tmpmfs_flags=-SM If you omit the tmpmfs_flags line, it will default to swap-backed /tmp, which may be more useful. As a side-note to this, if you make a swap-backed tmp, you would be able to convert you current /tmp to swap. -- If I write a signature, my emails will appear more personalised. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP 1315
On Thu, Oct 27, 2005 at 05:07:41PM -0600, Slavik wrote: Hi! Help me please.I have HP 1315 All-in-one.How can I set it in FreeBSD(6.0RC). You'll find a driver at http://hpinkjet.sourceforge.net/. It was written for Linux, but might work in FreeBSD, because the printer drivers usually reside in GhostScript or CUPS, and not in the kernel. But I haven't looked closely at it. HTH, Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpm72LKrVk0V.pgp Description: PGP signature
language catalan
Hello, i am called, Pep Guix, I am interested in the Operating System FreeBSD, i have installed and am studying, everything in relation to FreeBSD. I am and live in Catalonia, we have own language Catalan, culture etc. Catalonia is a region of Spain. I propose to them if it interests a page to them of FreeBSD in Catalan, to install the Catalan in FreeBSD, a connection from its main page or a dominion .cat. I dominate cat, that this approved by ICANN, http://www.icann.org/tlds/stld-apps-19mar04/cat.htm. Thanks for its attention, a greeting and until soon. Pep Guix email [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports manager vs. portupgrade
On Friday, October 28, 2005 8:33:50 PM, Elliot Finley [EMAIL PROTECTED] Subject: ports manager vs. portupgrade Wrote these words of wisdom: pros and cons anyone? I've always used portupgrade and it works pretty well, but I'm curious as to how ports manager compares. Elliot * REPLY SEPARATOR * On 10/11/2005 5:29:42 PM, Gerard Replied: This is only my own opinion, but I find it does a better, more complete job, without the hassle of creating Indexes, etc. Portmanager does not use the indexes that portupgrade does, and therefore is not hampered by them if they become corrupt, etc. -- A: Because it reverses the natural flow of a dialog. Q: Why is top posting undesirable when replying? TOPIC: Posting Etiquet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can FreeBSD 4.11 and 5.4 run on a HP DL-140 G2 server?
On 10/28/05, Dinesh Nair [EMAIL PROTECTED] wrote: On 10/26/05 21:28 Paul Hamilton said the following: Hi, I have FreeBSD 4.11 running nicely on a HP DL-140 (80GB Parallel ATA HD), but is anyone running FreeBSD on a HP DL-140 *G2* (80GB SATA HD)? works with the HP ML110 G2 with the ICH7 SATA RAID controller. i've had to patch sys/dev/ata-pci.c to get it to recognize it but it's a short and simple patch. -- Regards, /\_/\ All dogs go to heaven. [EMAIL PROTECTED](0 0)http://www.alphaque.com/ +==oOO--(_)--OOo==+ | for a in past present future; do| | for b in clients employers associates relatives neighbours pets; do | | echo The opinions here in no way reflect the opinions of my $a $b. | | done; done | +=+ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Yes, 6.0 handles ICH7 in a much better way. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports manager vs. portupgrade
On 10/29/05, Gerard Seibert [EMAIL PROTECTED] wrote: On Friday, October 28, 2005 8:33:50 PM, Elliot Finley [EMAIL PROTECTED] Subject: ports manager vs. portupgrade Wrote these words of wisdom: pros and cons anyone? I've always used portupgrade and it works pretty well, but I'm curious as to how ports manager compares. Elliot * REPLY SEPARATOR * On 10/11/2005 5:29:42 PM, Gerard Replied: This is only my own opinion, but I find it does a better, more complete job, without the hassle of creating Indexes, etc. Portmanager does not use the indexes that portupgrade does, and therefore is not hampered by them if they become corrupt, etc. -- A: Because it reverses the natural flow of a dialog. Q: Why is top posting undesirable when replying? TOPIC: Posting Etiquet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Portmanager is based on a very good idea, but it still lacks many features of PU, and at times it is a bit slower. I'm sure, as it matures, it will become a very handy tool, hopefully a lot faster. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade stale dependencies
On 10/29/05, John DeStefano [EMAIL PROTECTED] wrote: Needless to say, this process wasn't much fun. What can I do to keep this from happening again? What can/can't I safely include in cron to automate database and index maintenance? cvsup or portsnap, then portsdb -uUF. Work under any circumstances, leave you with updated ports tree and indexes. You can also try portupgrade -aF (prefetches needed files to speed up manual upgrade at a later time) and portsclean -DP (removes sources and packages which become outdated due to ports tree updates). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Can FreeBSD 4.11 and 5.4 run on a HP DL-140 G2 server?
Hi Dinesh, Ah, the ML-110 G2. I have ordered one of those. I thought I would have a go at installing FreeBSD on it before I have to install Windows 2003 on it for a client. I am thinking about purchasing one next year, along with the new 3ware raid 5 card. Try my hand at building a 1.5TB raid :-) Where did you get the patch from? Cheers, Paul -Original Message- From: Dinesh Nair [mailto:[EMAIL PROTECTED] Sent: Friday, 28 October 2005 10:04 PM To: Paul Hamilton Cc: freebsd-questions@freebsd.org Subject: Re: Can FreeBSD 4.11 and 5.4 run on a HP DL-140 G2 server? On 10/26/05 21:28 Paul Hamilton said the following: Hi, I have FreeBSD 4.11 running nicely on a HP DL-140 (80GB Parallel ATA HD), but is anyone running FreeBSD on a HP DL-140 *G2* (80GB SATA HD)? works with the HP ML110 G2 with the ICH7 SATA RAID controller. i've had to patch sys/dev/ata-pci.c to get it to recognize it but it's a short and simple patch. -- Regards, /\_/\ All dogs go to heaven. [EMAIL PROTECTED](0 0)http://www.alphaque.com/ +==oOO--(_)--OOo== == +==+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo The opinions here in no way reflect the opinions of my $a $b. | | done; done | += == +==+ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Can FreeBSD 4.11 and 5.4 run on a HP DL-140 G2 server?
Hi Andrew, Thanks for that. Yes, I can't wait to have a crack at 6.0. I downloaded the first beta, but it refused to install. I read recently on the list, a thread talking about this. I just haven't had time to test out the fix. Going on holidays shortly, so I hope 6.0 will be released by the time I get back :-) Cheers, Paul -Original Message- From: Andrew P. [mailto:[EMAIL PROTECTED] Sent: Saturday, 29 October 2005 7:08 PM To: Dinesh Nair Cc: Paul Hamilton; freebsd-questions@freebsd.org Subject: Re: Can FreeBSD 4.11 and 5.4 run on a HP DL-140 G2 server? On 10/28/05, Dinesh Nair [EMAIL PROTECTED] wrote: On 10/26/05 21:28 Paul Hamilton said the following: Hi, I have FreeBSD 4.11 running nicely on a HP DL-140 (80GB Parallel ATA HD), but is anyone running FreeBSD on a HP DL-140 *G2* (80GB SATA HD)? works with the HP ML110 G2 with the ICH7 SATA RAID controller. i've had to patch sys/dev/ata-pci.c to get it to recognize it but it's a short and simple patch. -- Regards, /\_/\ All dogs go to heaven. [EMAIL PROTECTED](0 0)http://www.alphaque.com/ +==oOO--(_)--OOo== ++ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo The opinions here in no way reflect the opinions of my $a $b. | | done; done | += ++ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Yes, 6.0 handles ICH7 in a much better way. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenAFS for FreeBSD...
On 10/23/05, Jack T wrote: It's broken only for the reason that it overwrites files from security/heimdal. Otherwise, I believe it works just fine on FreeBSD 5.4. On 10/29/05, Francisco Reyes wrote: Is this something that needs to be fixed in the port? How stable is it? How about performance? I have been looking into AFS and Arla sounds interesting. It's a known Arla issue (the file overwriting thing), but I believe it's too extensive for us to fix it for them. Arla developers would have to work on it. RE:Performance, it seems to perform fine enough for me. YMMV. You can configure a low- and high- watermark for the local cache, so once the files are cached, read is instantaneous, and write+close sometimes would pause if my network is slow. RE:Stability, I haven't encountered bugs. But one issue does come up: often, if I do something like cat * or cp * a large number of files, and I hit Ctrl-C, it emitts a scary sounding message to syslog (something like pipe broken due to lack of data or something). I always fear that may corrupt AFS files somehow, so I don't do that anymore. :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade stale dependencies
On Oct 28, 2005, at 7:31 PM, John DeStefano wrote: cd /usr/ports/www/apache20 make deinstall make clean make reinstall See what happens. Talk about strange: # cd /usr/ports/www/apache20/ # make deinstall === Deinstalling for www/apache20 === apache not installed, skipping # make -V PKGNAME apache-2.0.55 # pkg_info | grep apache apache-2.0.48 Version 2 of the extremely popular Apache http server # apachectl -v Server version: Apache/2.0.48 Server built: Nov 19 2003 22:44:21 OK. the try #make install what happens? - Eric F Crist Secure Computing Networks http://www.secure-computing.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade stale dependencies
I ended up deinstalling that apache installation (which I was not keen on doing), and installing the apache20 port (which was the same version (2.0.55) as the apache2 port ?), and, thankfully, it's working fine. I'm also now able to run both 'pkgdb -F'and 'portsdb -Uu' without ANY errors (except for a few 'Duplicate INDEX entry' warnings). Needless to say, this process wasn't much fun. What can I do to keep this from happening again? What can/can't I safely include in cron to automate database and index maintenance? Thanks to all. What I do for critical system ports is a manual upgrade. I have never trusted any of the port management tools. I suggest you pay attention to bugtracker and some other sites. When you see a compelling reason to upgrade, do it manually. The process I use is what I described in an earlier post: #cd /usr/ports/port-to-upgrade make deinstall #make install #restart whatever port I just upgraded HTH - Eric F Crist Secure Computing Networks http://www.secure-computing.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
reusing existing mysql permissions/dbs/tables after update
mysql was among the many ports I just upgraded, and (of course) I can now no longer connect using mysql or mysqladmin. I've tried just about every method I've found including starting the daemon with the --skip-grant-tables option to reset the password (which has worked in the past), and most every other suggestion listed in section 5.7.8 of the MySQL reference manual. It seems like running the mysql_install_db script might do the trick... but if I understand correctly, running this script will re-initialize the grant tables... correct? Is there another way of regaining access to mysql, without losing the current relationships between dBs/tables and their users? Or, how can I get to the current grant information (in human-readable format), so that I can restore it later? Thank you, ~John # uname -a FreeBSD zurg.thedestefanos.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Mon Oct 24 22:27:33 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL i386 # pkg_info | grep mysql mysql-client-5.0.15 Multithreaded SQL database (client) mysql-server-5.0.15 Multithreaded SQL database (server) php5-mysql-5.0.5_1 The mysql shared extension for php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kernel debug options
does having: options KDB options DDB makeoptions DEBUG=-g in the kernel make it slower? Or does it just make it take more memory? TIA Elliot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing from File System
Dean Weimer [EMAIL PROTECTED] writes: I have setup FreeBSD 5.4, with a minimal installation from the CDRom, I would like to be able to change configuration options, such as adding something from the packages collection on the CDs, or adding more of the distributions at a later point remotely, using /stand/sysinstall. I figured I could copy both cds 1 and 2 into a directory on the machine, and choose file system from the installation media page. All works good up to a point. then I receive a message stating that this is Disc 0 and the packages is on Disc 1. How do I make the install section realize that all of the files are on the file system? Build an appropriate packages/INDEX file. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenAFS for FreeBSD...
Jack T wrote: RE:Performance, it seems to perform fine enough for me. YMMV. How many machines do you have connected using it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual dvi on FreeBSD
On 10/28/05, Kep Woof [EMAIL PROTECTED] wrote: Hi Guys, I've just bought a pair of TFT screens and wanted to connect them to my FreeBSD box via their DVI connectors. I've been searching with google and the list archives, and it seems that the NVidia stuff doesn't dual head and that ATI are rather unhelpful with regard to drivers. I found the project to write drivers for the x800 series cards, but they look very less than ready. I'm currently running on i386, but will be building a big amd64 workstation shortly. These boards seem to use PCI express, and I was wondering how well supported is that? What about SLI? Is anyone running an amd64 system with dual dvi tft's? Are there any dual dvi cards supported ? Anyone running with two dvi cards? Any suggestions would be extremely helpful, Which Nvidia drivers are you checking out? The propritary Nvidia drivers defiantly do Daullink DVI. You will obviously need to set it up properly in xorg.conf. Can't comment on the ati cards, but they should defiantly handle dual DVI out as well. I'd also check out Xorg's Xinimera (spelling?) extensions... -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can FreeBSD 4.11 and 5.4 run on a HP DL-140 G2 server?
On 10/29/05 20:57 Paul Hamilton said the following: Where did you get the patch from? i wrote it. find attached. :) these will add support to the intel ICH7 SATA controller as well as the ITE 8211F and ITE 8212F controllers. i've yet to test the SATA 150 RAID on the intel ICH7, hence the commented out device id in the driver. do let me know if this works when you've tested it. -- Regards, /\_/\ All dogs go to heaven. [EMAIL PROTECTED](0 0)http://www.alphaque.com/ +==oOO--(_)--OOo==+ | for a in past present future; do| | for b in clients employers associates relatives neighbours pets; do | | echo The opinions here in no way reflect the opinions of my $a $b. | | done; done | +=+ --- ata-pci.c.orig Wed Oct 19 11:44:18 2005 +++ ata-pci.c Wed Oct 19 12:48:11 2005 @@ -186,6 +187,30 @@ pci_write_config(dev, 0xa4, pci_read_config(dev, 0xa4, 4), 4); return Intel ICH6 SATA150 controller; + +case 0x27c08086: /* Intel ICH7 SATA */ +#if 0 +case 0x27c38086: /* Intel ICH7 SATA RAID */ +#endif + /* Clear SATA error registers */ + pci_write_config(dev, 0xa0, 0x54, 4); + pci_write_config(dev, 0xa4, pci_read_config(dev, 0xa4, 4), 4); + pci_write_config(dev, 0xa0, 0x64, 4); + pci_write_config(dev, 0xa4, pci_read_config(dev, 0xa4, 4), 4); + + return Intel ICH7 SATA controller; + + case 0x82111283: /* ITE 8211F */ + case 0x82121283: /* ITE 8212F */ + /* set PCI mode and 66Mhz reference clock */ + pci_write_config(dev, 0x50, pci_read_config(dev, 0x50, 1) ~0x83, 1); + + /* set default active recover timings */ + pci_write_config(dev, 0x54, 0x31, 1); + /* set default UDMA timing */ + pci_write_config(dev, 0x56, 0x31, 1); + + return ITE 8211F/8212F PCI Controller ; case 0x522910b9: if (pci_get_revid(dev) = 0xc4) @@ -669,6 +696,10 @@ case 0x25a38086: /* Intel 6300ESB SATA150 */ case 0x25b08086: /* Intel 6300ESB SATA150 RAID */ case 0x26518086: /* Intel ICH6 SATA150 */ +case 0x27c08086: /* Intel ICH7 SATA */ +#if 0 +case 0x27c38086: /* Intel ICH7 SATA RAID */ +#endif dmastat = ATA_INB(ch-r_bmio, ATA_BMSTAT_PORT); if ((dmastat (ATA_BMSTAT_ACTIVE | ATA_BMSTAT_INTERRUPT)) != ATA_BMSTAT_INTERRUPT) --- ata-dma.c.orig Wed Oct 19 02:14:39 2005 +++ ata-dma.c Sun Oct 30 02:56:31 2005 @@ -50,6 +50,7 @@ static void promise_timing(struct ata_device *, int, int); static void hpt_timing(struct ata_device *, int, int); static int hpt_cable80(struct ata_device *); +static int ata_mode2idx(int mode); /* misc defines */ #define ATAPI_DEVICE(atadev) \ @@ -187,6 +188,7 @@ int devno = (channel 1) + device; int error; int32_t mask54 = 0; + int mode = udmamode ; /* set our most pessimistic default mode */ atadev-mode = ATA_PIO; @@ -200,6 +202,7 @@ case 0x25a38086:/* Intel 6300ESB SATA150 */ case 0x25b08086:/* Intel 6300ESB SATA150 RAID */ case 0x26518086: /* Intel ICH6 SATA150 */ +case 0x27c08086: /* Intel ICH7 SATA */ if (!panicstr) udmamode = 5; break; @@ -228,6 +231,60 @@ #endif switch (chiptype) { + case 0x82111283: /* ITE 8211F */ + case 0x82121283: /* ITE 8212F */ + + if(udmamode == 2) + mode = ATA_UDMA2; + else + mode = ATA_UDMA5; + + /* set the mode on the device */ + error = ata_command(atadev, ATA_C_SETFEATURES, 0, + mode, ATA_C_F_SETXFER,ATA_WAIT_READY); + + if(bootverbose) + ata_prtdev(atadev, %s setting %s on ITE8212F chip\n, + (error) ? failed : success, ata_mode2str(mode)); + + /* if the device accepted the mode change, setup HW accordingly */ + if(!error) { + if(mode = ATA_UDMA) { + u_int8_t udmatiming[] = + { 0x44, 0x42, 0x31, 0x21, 0x11, 0xa2, 0x91 }; + + /* enable UDMA mode */ + pci_write_config(parent, 0x50, + pci_read_config(parent, 0x50, 1) + ~(1 (devno + 3)), 1); + /* set UDMA timing */ + pci_write_config(parent, + 0x56 + (channel 2) + ATA_DEV(atadev-unit), + udmatiming[mode ATA_MODE_MASK], 1); + + ata_dmacreate(atadev, apiomode, mode); + return ; + } + else { + u_int8_t chtiming[] = + { 0xaa, 0xa3, 0xa1, 0x33, 0x31, 0x88,
installation failure
Any one help!! Installing on i386 platform, AMD Athlon 2100, 512MB memory, NVIDIA GeForce FX 5500 graphic card I get an error while trying to install FREEBSD 5.0 which is: ata0: reseting devices.. Please help me! I could be reached at [EMAIL PROTECTED] THANXS - Yahoo! FareChase - Search multiple travel sites in one click. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: installation failure
FreeBSD 5.0 is relatively outdated. Try 6.0RC1. On Oct 29, 2005, at 2:28 PM, some one wrote: Any one help!! Installing on i386 platform, AMD Athlon 2100, 512MB memory, NVIDIA GeForce FX 5500 graphic card I get an error while trying to install FREEBSD 5.0 which is: ata0: reseting devices.. Please help me! I could be reached at [EMAIL PROTECTED] THANXS - Yahoo! FareChase - Search multiple travel sites in one click. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] - Eric F Crist Secure Computing Networks http://www.secure-computing.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
UNEXPECTED INCONSISTENCY - fsck
Hi, There was recently a power outage in the area, which lasted longer than the UPS did. By the time I was notified the server had already crashed. When the power was restored, the computer was restarted, but failed to boot correctly. The error was: /dev/rda0s1e: 1920298835 BAD I=3219136 /dev/rda0s1e: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY: /dev/rda0s1e (/usr) Automatic files system check failed... help! Ok, so I ran fsck -y, which resulted in: ... ** /dev/rda0s1e ** Last Mounted on /usr ** Phase 1 - Check Blocks and Sizes 1920298835 BAD I=3219136 ... ( 9 lines cut all ending BAD I=3219136) 1869182049 BAD I=3219136 EXCESSIVE BAD BLKS I=3219136 CONTINUE? [yn] yes 741880625 BAD I=3219137 ... ( 9 lines cut all ending BAD I=3219137) 153103648 BAD I=3219137 EXCESSIVE BAD BLKS I=3219137 CONTINUE? [yn] yes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts BAD/DUP FILE I=3219136 OWNER=13273856 MODE=103210 SIZE=57005967061714584 MTIME=Jun 3 16:08 1970 CLEAR? [yn] yes pid 22 (fsck), uid 0: exited on signal 11 Segmentation fault # It is FreeBSD 3.4, 2 * 17GB HITACHI SCSI Drives and 128MB RAM. I have very little knowledge of the system, and would appreciate any help in solving this problem. Thanks John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 5.3 with openldap
Hi all I've some question about FreeBSD 5.3 using Openldap authentication server. Everthing work fine, but it's very slow to do something like ls -l. For each line there're a connection between the serveur and the Openldap server. On my Linux I can use some cache like nscd. What can I do on my FreeBSD server to accelerate the basic operation by using a cache system ? Best regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 i?me ?tage, plateau D, bureau 10 Heure local/Local time: Sat Oct 29 21:41:46 CEST 2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FBSD 5.4 and old PC
On Sat, Oct 29, 2005 at 08:58:23AM +0200, Sasa Stupar wrote: Hi! I have an old Compaq Deskpro 2000 (P166) with 64M RAM and HDD 1.5G. I was thinking to make it as router with FBSD 5.4. Did anyone had any kind of problems with setup on that kind of machine? Try it and see! Kris pgpuQ4nDmYWtf.pgp Description: PGP signature
Re: kernel debug options
On Sat, Oct 29, 2005 at 11:36:59AM -0600, Elliot Finley wrote: does having: options KDB options DDB makeoptions DEBUG=-g in the kernel make it slower? Or does it just make it take more memory? Neither. Kris pgpe1Sta4Iq4m.pgp Description: PGP signature
Re: MySQL crashes on amd64
Greg 'groggy' Lehey wrote: [Sequence recovered--see http://www.lemis.com/email/email-format.html] On Thursday, 13 October 2005 at 17:56:11 +0200, Stefan Cars wrote: Greg 'groggy' Lehey wrote: On Wednesday, 12 October 2005 at 9:27:17 +0200, Stefan Cars wrote: Hi! We are having troubles with MySQL 4.1 on a amd64 (it's crashing randomly with Seg fault, signal 11. gdb bt says: Cannot access memory at address 0x8000). We have got information saying this is a 64bit related issue and should be fixed by using the i386 version instead of amd64 (this is an Intel Xeon). Where did you get that information from? I'd still like to know an answer to this question. I got information from a guy working on the floor below us, although his thoughts were only that amd64 is a bit unstable so that should be the problem What is the way to go when moving from amd64 to i386 ? If you mean how do I install an i386 kernel on this machine, I can't think of any way except to start from scratch. It would be a good idea to install a separate disk, so you can access the configuration files and the database on the old disk. But before doing this, I'd be very interested in knowing what the problem is. Is the backtrace always the same? Where does it crash? After doing some testing this is what I found out: 1) Exchanging memory on the machine did not work. Same error. 2) Trying it on another 64 bit machine with same FreeBSD (RC1) creates EXACT same problem 3) Installing the i386 version of RC1 instead of amd64 on the same machines and it works terrific. No crash. Hmm. That's interesting. This is obviously not a hardware issue. The bt is always the same and it always crash the same, look here: #784 0x in ?? () #785 0x247c8d48002454ff in ?? () #786 0x01a1c0c748006a10 in ?? () #787 0x66fdebf4050f in ?? () #788 0x90909066 in ?? () #789 0x7fffe778 in ?? () #790 0x0006 in ?? () #791 0x7fffe7b0 in ?? () #792 0x0017 in ?? () Cannot access memory at address 0x8000 Without function names instead of ??, it's impossible to say what's happening here. You'd need to build with debug symbols. Since you've been told that this is an issue, it would be good to know more. As we've mentioned on other threads, there are reasons to believe that there are problems with the threading libraries, but currently we don't have enough information to investigate them. Note that the other recent thread refers to problems running in the configuration you have just installed: see http://bugs.mysql.com/bug.php?id=12251 for more details. If you see anything similar, please let us know. After doing alot of testing and trying this is some more new information: It actually DO crash on i386 FreeBSD 6.0-RC1 aswell, but very seldom (around once every 4-5th hour, this time we get a Signal 10 instead, see below). The errors are reproducable for MySQL 4.1.15 and MySQL 5.0.15 so the problem still exists on 5.0.15. Of course we have tried on different machines aswell to make sure it's not hardware related. On a FreeBSD 5.3 machine Mysql 4.1.15 works fine. mysqld got signal 10; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail. key_buffer_size=1048576 read_buffer_size=131072 max_used_connections=99 max_connections=400 threads_connected=44 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 461820 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can a process be made immune to out-of-swap-space kills?
Sometimes, I accidentally run something that eats up too much memory and causes the pager to run out of swap space and start shooting down processes to rectify the situation. Sometimes, the process chosen for demolition happens to be `screen.' Since this process sorta manages a whole lot of others and, on being zapped out of existence, leaves many of them running but inaccessible, I find this choice decidedly inconvenient. Is there a way for me to force FreeBSD to leave `screen' (or any other process) alone when selecting something to kill to free memory? Please Cc me any answers. Thanks much. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org SSB + BART Group [EMAIL PROTECTED] http://www.bartsite.com Is your cucumber bitter? Throw it away. Are there briars in your path? Turn aside. That is enough. Do not go on to say, `Why were things of this sort ever brought into the world?' --Marcus Aurelius ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mounting an iPod
Hi all, I'm not quite sure how to mount an iPod mini on a x86 machine under 5.4 Stable, to use with gtkpod. I installed gtkpod, then connected the iPod through firewire. But I'm not sure how to adjust my fstab file to make the iPod mount when connected. My fstab currently is : # DeviceMountpoint FStype Options DumpPass# /dev/ad0s3b noneswapsw 0 0 /dev/ad0s3a / ufs rw 1 1 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 The iPod uses an HFS+ file system. It's been loaded from a Mac. I would like to mount it to /mnt/ipod I'm not sure if this is helpful : # ls /sbin/mount_* /sbin/mount_cd9660 /sbin/mount_msdosfs /sbin/mount_std /sbin/mount_devfs /sbin/mount_nfs /sbin/mount_udf /sbin/mount_ext2fs /sbin/mount_nfs4/sbin/mount_umapfs /sbin/mount_fdescfs /sbin/mount_ntfs/sbin/mount_unionfs /sbin/mount_linprocfs /sbin/mount_nullfs /sbin/mount_mfs /sbin/mount_procfs Thanks all, Edward ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.4 CD and floppies enter boot loop
On 10/28/05, Dave [EMAIL PROTECTED] wrote: Hello, I've got an older, as of june/july 5.4-release official disk. Whenever i try to boot a box with it the system enters a boot loop, creating floppies also gives me this behavior. This is on a pair of p3 733 mhz systems. I've tried new floppies and downloading the bootonly iso same behavior. Thanks. Dave. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] It's hard to diagnose a problem if we don't know anythinf except that your machine restarts during boot. Provide additional info about your hardware. Try to watch the screen and spot the moment when the box reboots. Also, you might want to try a 6.0 bootable CD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
compiling chrooted kernel makes drive unbootable
Hello, I've got a box that has died. The data on it is rather important and a reinstall is not feasible. I put the hard drive in a test box, mounted all the partitions of the previous drive under /mnt then did a chroot /mnt and compiled a generic kernel. The processor on this board is different so i felt i had to. The compilation and installation of the chrooted kernel went fine, putting the drive in the new system yields an unbootable drive. I've checked the data and kernel are there. Any ideas why this procedure didn't give me a bootable drive? Thanks. Dave. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: UNEXPECTED INCONSISTENCY - fsck
Le 29/10/2005 20:41:56+0100, John a ?crit Hi, There was recently a power outage in the area, which lasted longer than the UPS did. By the time I was notified the server had already crashed. When the power was restored, the computer was restarted, but failed to boot correctly. The error was: /dev/rda0s1e: 1920298835 BAD I=3219136 /dev/rda0s1e: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY: /dev/rda0s1e (/usr) Automatic files system check failed... help! Ok, so I ran fsck -y, which resulted in: ... ** /dev/rda0s1e ** Last Mounted on /usr ** Phase 1 - Check Blocks and Sizes 1920298835 BAD I=3219136 ... ( 9 lines cut all ending BAD I=3219136) 1869182049 BAD I=3219136 EXCESSIVE BAD BLKS I=3219136 CONTINUE? [yn] yes 741880625 BAD I=3219137 ... ( 9 lines cut all ending BAD I=3219137) 153103648 BAD I=3219137 EXCESSIVE BAD BLKS I=3219137 CONTINUE? [yn] yes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts BAD/DUP FILE I=3219136 OWNER=13273856 MODE=103210 SIZE=57005967061714584 MTIME=Jun 3 16:08 1970 CLEAR? [yn] yes pid 22 (fsck), uid 0: exited on signal 11 Segmentation fault # And what's happend if you reboot and do this again ? It is FreeBSD 3.4, 2 * 17GB HITACHI SCSI Drives and 128MB RAM. Woouuahhthat's old ;-)) Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. Heure local/Local time: Sat Oct 29 23:11:05 CEST 2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting an iPod
On 10/29/05, edward [EMAIL PROTECTED] wrote: The iPod uses an HFS+ file system. It's been loaded from a Mac. I would like to mount it to /mnt/ipod A quick Google suggests you can try http://people.freebsd.org/~yar/hfs/ to add HFS support to FreeBSD, otherwise you're going to have to reformat your iPod for Windows and then mount it as FAT. I then added this line: /dev/da0s2 /ipod msdos rw,noauto 0 0 to my fstab, and wrote myself a little ipod script I can use to mount and umount/eject it. To mount it it just mounts /ipod, and to eject it, i umounts /ipod and then calls camcontrol eject on the right device ID to eject it (so the iPod stops thinking it's connected). I can offer further assistance with the 2nd half but not the 1st half of this :) /JMS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Help with Apsfilter and HP 842c
I'm running FreeBSD 5.4 and my printer used to print perfectly until I did a fresh install because had to change hard drives, now I can't get my printer to print using apsfilter. Everytime I print the printer starts feeding the paper and to print and then it just hangs and sometimes it turns off. I've checked the error logs and all it tells me is this: Oct 29 11:41:58 ecerejo hpijs: unable to write to output, fd=6, count=4096: m Your help would be appreciated. Thank you. ___ Promoção Yahoo! Acesso Grátis: a cada hora navegada você acumula cupons e concorre a mais de 500 prêmios! Participe! http://yahoo.fbiz.com.br/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: compiling chrooted kernel makes drive unbootable
On 10/30/05, Dave [EMAIL PROTECTED] wrote: Hello, I've got a box that has died. The data on it is rather important and a reinstall is not feasible. I put the hard drive in a test box, mounted all the partitions of the previous drive under /mnt then did a chroot /mnt and compiled a generic kernel. The processor on this board is different so i felt i had to. The compilation and installation of the chrooted kernel went fine, putting the drive in the new system yields an unbootable drive. I've checked the data and kernel are there. Any ideas why this procedure didn't give me a bootable drive? Thanks. Dave. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Any more info, please? What exactly has died? Has any data been lost? Why did you have to recompile the kernel? Did you recompile the world, too? How different are the processors on the dead system, the one you've recompiled on and the new one? You can always run a fresh install without formatting your drives and thus losing only some system configuration files. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can a process be made immune to out-of-swap-space kills?
On 10/30/05, Doug Lee [EMAIL PROTECTED] wrote: Sometimes, I accidentally run something that eats up too much memory and causes the pager to run out of swap space and start shooting down processes to rectify the situation. Sometimes, the process chosen for demolition happens to be `screen.' Since this process sorta manages a whole lot of others and, on being zapped out of existence, leaves many of them running but inaccessible, I find this choice decidedly inconvenient. Is there a way for me to force FreeBSD to leave `screen' (or any other process) alone when selecting something to kill to free memory? Please Cc me any answers. Thanks much. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org SSB + BART Group [EMAIL PROTECTED] http://www.bartsite.com Is your cucumber bitter? Throw it away. Are there briars in your path? Turn aside. That is enough. Do not go on to say, `Why were things of this sort ever brought into the world?' --Marcus Aurelius ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I don't know how to do that, but by all means you shouldn't allow that to happen. It's not windoze, where everything is meant to be swapped. Read limits(1) manpage to know how to prevent a user from messing with other processes in such an unfriendly way. Last time I ran into a problem alike was upgrading from fedora core 3 to FC4. Yum requested about 4000GB (4 Terabytes) of RAM. The machine became inaccessible (as in showing no signs of life whatsoever) for 5 hours, but in the end something coredumped and I could login :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can a process be made immune to out-of-swap-space kills?
On 2005-10-29 16:34, Doug Lee [EMAIL PROTECTED] wrote: Sometimes, I accidentally run something that eats up too much memory and causes the pager to run out of swap space and start shooting down processes to rectify the situation. Sometimes, the process chosen for demolition happens to be `screen.' Since this process sorta manages a whole lot of others and, on being zapped out of existence, leaves many of them running but inaccessible, I find this choice decidedly inconvenient. Is there a way for me to force FreeBSD to leave `screen' (or any other process) alone when selecting something to kill to free memory? Hmmm, why are user limits not applied? Wouldn't it be a nicer way to solve the rogue process problems? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
DMA errors
I have a 40GB Maxtor D740X-6L disk, and have been unable to install 5.4 or 6.0 on it. I get errors: ad0: FAILURE WRITE_DMA STATUS=51 READY,DSC,ERROR error=84 (IRC, ABORTED) LBA=.. as soon as I try to commmit the changes in sysinstall. I have checked that the IDE cable is the 80-wire type, and cleaned up the connections and so on. I tried installing Ubuntu on this disk, and everything went perfectly. (Those guys have done a really great job, by the way). Is there some configuration trick I have missed? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Unable to perform clean shutdown.
Hi list, I am experimenting with using FreeBSD as a desktop OS (with Xorg and GNOME), and because I still need to keep Windows around for certain applications, I have decided to create 3 partitions (or slices in the BSD world). One NTFS, for Windows (ad8s1, 40GiB), one for FreeBSD (ad8s2, 20GiB) and one Ext2 partition to share data between the two OSs (ad8s3, taking up the rest of the disk). The disk itself is a S-ATA disk, and identified during boot-up as: ad8: 190782MB WDC WD2000JD-00HBB0/08.02D08 [387621/16/63] at ata4-master UDMA33 I chose Ext2 as it would allow me to still use UNIX permissions under FreeBSD, and could be read from and written to in Windows using a third-party driver. Because neither FreeBSD nor the Ext2 driver in Windows support Ext3 journalling I figured there was no point in using that. My problem is, and I believe it started after I created the Ext2 partition, that my system is not able to perform a clean shutdown anymore. When I do a shutdown -p now or reboot it will sync the disks but then says Giving up on 8 buffers. right before it turns off, is that normal? When FreeBSD boots the next time it will complain and tells me WARNING: / was not properly dismounted., it does this for all the FreeBSD partitions (/var, /tmp, /usr). It also appears that the fsck for Ext2 (which I had to install from ports and then manually copy the e2fsck and fsck_ext2fs binaries from /usr/local/sbin to /sbin) also has some issues, as it outputs the following during boot-up: fsck_ext2fs: unknown option -F Dispite that, the next thing happens is a forced fsck of the Ext2 partition (which takes a while). Then eventually FreeBSD boots and GDM starts and all seems to be in working order. This is what my /etc/fstab looks like: # Device Mountpoint FStype OptionsDump Pass# /dev/ad8s2bnoneswapsw 0 0 /dev/ad8s2a/ ufs rw 1 1 /dev/ad8s2e/tmpufs rw 2 2 /dev/ad8s2f/usrufs rw 2 2 /dev/ad8s2d/varufs rw 2 2 /dev/acd0 /mnt/cdrom cd9660 ro,noauto,noexec 0 0 /dev/ad8s1 /mnt/windowsntfsro,noexec 0 0 /dev/ad8s3 /mnt/shared ext2fs rw 0 2 Does anyone know what causes my system not to be able to perform a clean shutdown anymore? and, does anyone know what the deal with fsck_ext2fs being called with a non-existent -F options is? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: DMA errors
Try a different disk drive. What motherboard is in use here? Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mike Jeays Sent: Saturday, October 29, 2005 4:28 PM To: freebsd-questions@freebsd.org Subject: DMA errors I have a 40GB Maxtor D740X-6L disk, and have been unable to install 5.4 or 6.0 on it. I get errors: ad0: FAILURE WRITE_DMA STATUS=51 READY,DSC,ERROR error=84 (IRC, ABORTED) LBA=.. as soon as I try to commmit the changes in sysinstall. I have checked that the IDE cable is the 80-wire type, and cleaned up the connections and so on. I tried installing Ubuntu on this disk, and everything went perfectly. (Those guys have done a really great job, by the way). Is there some configuration trick I have missed? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.12.6/151 - Release Date: 10/28/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sound on FreeBSD
does anyone have a link where a web page has been created which explains clearly how to install sound drivers _and_ test them I.E. play a sound? I found on BSDForums.org an explanation which describes first using kldload to try to determine what driver you need, and then it speaks a bit about compiling directly into the kernel, but neither example show how to actually play a sound --any sound-- as a test to see if it works. A CLI example would be very handy. Thanks! Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sound on FreeBSD
On Sat, 29 Oct 2005 17:15:32 -0700 Jim Pazarena [EMAIL PROTECTED] wrote: does anyone have a link where a web page has been created which explains clearly how to install sound drivers _and_ test them I.E. play a sound? I found on BSDForums.org an explanation which describes first using kldload to try to determine what driver you need, and then it speaks a bit about compiling directly into the kernel, but neither example show how to actually play a sound --any sound-- as a test to see if it works. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html shows installation/config + testing sound (and after installing mpg123 and ogg123 try playing mp3- and oggfiles) -- grtjs, albi gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sound on FreeBSD
Jim Pazarena wrote: does anyone have a link where a web page has been created which explains clearly how to install sound drivers _and_ test them I.E. play a sound? I found on BSDForums.org an explanation which describes first using kldload to try to determine what driver you need, and then it speaks a bit about compiling directly into the kernel, but neither example show how to actually play a sound --any sound-- as a test to see if it works. A CLI example would be very handy. Thanks! Jim The FreeBSD handbook has a chapter on sound configuration and testing. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html Look at section 7.2.2. You can cat a file into /dev/dsp to test that it is working. If you want to play an actual mp3 file or something, check out mplayer or amp, both are in ports and are CLI apps. -Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sound on FreeBSD
On Sun, 30 Oct 2005 02:15:32 +0200, Jim Pazarena [EMAIL PROTECTED] wrote: does anyone have a link where a web page has been created which explains clearly how to install sound drivers _and_ test them I.E. play a sound? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/multimedia.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: su command PPP
Mohsen Pahlevanzadeh wrote: on 11/04/05 at 15:58 Dears, I have 2 question : 1.for dialing PPP ,Am i do compile kernel? 2.When i run gdm,i can't use su command.When i use this command,i recieve following text : su : sorrry! Please guide me... Yours,Mohsen. Why don't you fix the date and time on your PC - Or is not having accurate time an issue for you? -- Best regards, Chris If you have to ask, you are not entitled to know. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is there a Data Communications Program Native to FreeBSD?
On Sat, 2005-10-22 at 22:28 -0500, Noel Jones wrote: On 10/22/05, Bob Perry [EMAIL PROTECTED] wrote: Hello, I'm running FreeBSD 5.4 and just installed HylaFAX. I'm just curious if there is a data communications program native to FreeBSD that I could easily install and run that would facilitate configuration of my modem? tip and cu are part of the base system and should work for manually setting modem parameters. If you want something more sophisticated, ports/comms has several. I've used ecu and kermit for various projects in the past. -- Chapter 21 Serial Communications of the FreeBSD Handbook touches on both tip and cu and provides enough instruction to get me started. Want to thank you, Bill, Stan, and the rest of the good folks on the mailing list for your continued support. Bob Perry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Enumerating a Windows based PC from a FreeBSD based server
Hi, I am trying to document which managed switch port (HP 4000m), a users PC is plugged into. I had thought to use a login script to dump some info into a MySQL DB, but I am now leaning on scanning the switch, and build up the data backwards from there. The info will all end up on a PHP searchable web page. I should then be able to track admin logins (does anyone know the passwd?), have some users given their username and passwd to someone else to use? Etc. I have found the SNMP OID's of the IP and MAC addresses and the switch port number the computer is plugged into. From a DNS lookup, I can find the PC name, but how do I find out the current logged in user name on the PC, remotely from a FreeBSD server? The GFI LanGuard network scanner is a very informative tool: http://www.gfi.com/lannetscan/ so having something similar to this on a FreeBSD server would be great. The utility must of course be scriptable. Cheers, Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: DMA errors
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Jeays Sent: Saturday, October 29, 2005 4:28 PM To: freebsd-questions@freebsd.org Subject: DMA errors I have a 40GB Maxtor D740X-6L disk, and have been unable to install 5.4 or 6.0 on it. I get errors: ad0: FAILURE WRITE_DMA STATUS=51 READY,DSC,ERROR error=84 (IRC, ABORTED) LBA=.. as soon as I try to commmit the changes in sysinstall. I have checked that the IDE cable is the 80-wire type, and cleaned up the connections and so on. I tried installing Ubuntu on this disk, and everything went perfectly. (Those guys have done a really great job, by the way). Is there some configuration trick I have missed? Well, my first guess would be that you have a cable problem. Try a new cable and/or make sure that the disk is on the master plug (at the end of the 80-wire cable) and that the jumper on the drive is set to master (DS and not cable select CS). If you still have a problem, pls list mboard, controller, and give output of fdisk and bsdlabel. (Do the latter before trying the commit.) -gayn Bristol Systems Inc. 714/532-6776 www.bristolsystems.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Aztech modem
On 10/29/05, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote: On Tuesday, 15 November 2005 at 6:37:40 +0330, Mohsen Pahlevanzadeh wrote: Dears, I can use my modem in GNU/Linux (each distro,without problem) My modem is external its mark is Aztech.I use dos port. But i can't use /dev/cuaa0 or plus in FreeBSD. Please guide .. http://www.lemis.com/questions.html Greg Same question as http://www.bsdforums.org/forums/showthread.php?t=35879 ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: DMA errors
On Sat, 2005-10-29 at 19:48, Ted Mittelstaedt wrote: Try a different disk drive. What motherboard is in use here? Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mike Jeays Sent: Saturday, October 29, 2005 4:28 PM To: freebsd-questions@freebsd.org Subject: DMA errors I have a 40GB Maxtor D740X-6L disk, and have been unable to install 5.4 or 6.0 on it. I get errors: ad0: FAILURE WRITE_DMA STATUS=51 READY,DSC,ERROR error=84 (IRC, ABORTED) LBA=.. as soon as I try to commmit the changes in sysinstall. I have checked that the IDE cable is the 80-wire type, and cleaned up the connections and so on. I tried installing Ubuntu on this disk, and everything went perfectly. (Those guys have done a really great job, by the way). Is there some configuration trick I have missed? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.12.6/151 - Release Date: 10/28/2005 It works on at least one other disk, a Western Digital 80GB. The motherboard is as Asus P4S533. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
wrkdirprefix default?
Hello. Sometime back, I posted a message mentioning that I planned on installing OpenOffice once it reached 2.0 status on my FreeBSD machine using a nonstandard wrkdirprefix path (original email is shown via the below link). http://www.freebsd.org/cgi/getmsg.cgi?fetch=184696+187981+/usr/local/ www/db/text/2005/freebsd-questions/20050918.freebsd-questions One reply was that I can use env WRKDIRPREFIX=/myotherlocation make install This is fine for installing it, but I was wondering was there a good way of modifying WRKDIRPREFIX to always point to this location only for OpenOffice.org, that way I can use portupgrade in the future and not have to worry about it? I am assuming the best way of dealing with this is with the file /usr/local/etc/pkgtools.conf. assume that I could put it inside of the MAKE_ARGS section. What is the most optimal way of modifying this file for what I have mentioned above? I have read the pkgtools.conf and ports manpages (and am still slightly confused) and am running FreeBSD 5.4-STABLE. If the only way to do this is by modifying the variable on the whole so everything is built elsewhere, I suppose that is alright as well. If this is the only way, what is the preferred way of handling this? Thank you all for your assistance. -Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
firewall messages to syslogd
Hello, How can I add firewall log messages to syslogd, I have added the following lines to the syslog.conf: # router +router *.* /var/log/router.log Also, syslogd is running with the flag -a with the ip address of the firewall -- the mask, and service. The computer receive the packets to the 514 port -- I've used tcpdump to log the packets -- but the messages are not logged into the router.log file. Thanks. Regards -- . 0 . | Daniel Molina Wegener . . 0 | dmw at unete dot cl 0 0 0 | FreeBSD Power User ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can a process be made immune to out-of-swap-space kills?
On Sun, Oct 30, 2005 at 01:59:53AM +0300, Giorgos Keramidas wrote: On 2005-10-29 16:34, Doug Lee [EMAIL PROTECTED] wrote: Sometimes, I accidentally run something that eats up too much memory and causes the pager to run out of swap space and start shooting down processes to rectify the situation. Sometimes, the process chosen for demolition happens to be `screen.' Since this process sorta manages a whole lot of others and, on being zapped out of existence, leaves many of them running but inaccessible, I find this choice decidedly inconvenient. Is there a way for me to force FreeBSD to leave `screen' (or any other process) alone when selecting something to kill to free memory? Hmmm, why are user limits not applied? Wouldn't it be a nicer way to solve the rogue process problems? It turns out that the problem is not actually a memory request but a huge temp file in an MFS filesystem... so maybe I need to figure out how to limit the size of a mount_mfs so it can't blast processes out of existence. For the curious, I had tried a sox ... reverse operation, which reverses a wav file (and apparently does it by making a temporary copy rather than reading it backward, which I didn't know!), and the file in question was a wav about 240 megabytes long. This is a small home FreeBSD box and almost never hosts any user but me. My /tmp, a mount_mfs, is about 150 meg in size, according to `df.' The `sox' command ate that up so fast that the sheer volume of swap failure messages prevented me from acting quickly enough, and the pager shot down a whole bunch of processes trying to save the world. The list of shot processes happened to include `screen,' and this created a number of orphans that I had to kill subsequently myself, such as a stranded `ssh' session to another machine. So yes, I could stand for some tuning. On a multi-user system, this would be a most unwise way to leave things. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org SSB + BART Group [EMAIL PROTECTED] http://www.bartsite.com I before E, except after C, or when sounded like A, as in neighbor and weigh, except for when weird foreign concierges seize neither leisure nor science from the height of society. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Enumerating a Windows based PC from a FreeBSD based server - Resolved
Hi, OK, after a lot more searching of the ports system - nothing found so far. Something joggled a neuron to have a look at what samba utils could tell me. By running: nmblookup -A IP Number or PC name it quickly returns a nice list of info. All I need to do then is grep for '03' and exclude the PC name to have a list of users logged into that PC or Server. I have only done hand testing. I will whip up a script, and test it out during a work day to see how it goes ;-) Cool. Cheers, Paul Hamilton -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Hamilton Sent: Sunday, 30 October 2005 9:28 AM To: freebsd-questions@freebsd.org Subject: Enumerating a Windows based PC from a FreeBSD based server Hi, I am trying to document which managed switch port (HP 4000m), a users PC is plugged into. I had thought to use a login script to dump some info into a MySQL DB, but I am now leaning on scanning the switch, and build up the data backwards from there. The info will all end up on a PHP searchable web page. I should then be able to track admin logins (does anyone know the passwd?), have some users given their username and passwd to someone else to use? Etc. I have found the SNMP OID's of the IP and MAC addresses and the switch port number the computer is plugged into. From a DNS lookup, I can find the PC name, but how do I find out the current logged in user name on the PC, remotely from a FreeBSD server? The GFI LanGuard network scanner is a very informative tool: http://www.gfi.com/lannetscan/ so having something similar to this on a FreeBSD server would be great. The utility must of course be scriptable. Cheers, Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sed howto
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Oct 28 Bill Campbell contributed the following: On Fri, Oct 28, 2005, Kövesdán Gábor wrote: Hello, I'm looking for a good sed howto that can be useful for contributing to ports collection. Replacing text is I'm especially interested in. Besides, could somebody explain me, when we use USE_REINPLACE= YES and ${REINPLACE_CMD}, and when we use just ${SED}? It isn't a HOWTO, but the best sed documentation I've ever read is in the book ``Unix Text Processing'' by Dougherty and O'Reilly. I think it's out of print, but you can download it in PDF format from O'Reilly for free. It also has excellent documentation on quite a few other *nix utilities, and is one of those books that I think should be on every *nix hackers bookshelf along with Kernighan and Pike's ``Unix Programming Environment''. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Systems, Inc. UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ Foreign aid might be defined as a transfer from poor people in rich countries to rich people in poor countries -- Douglas Casey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Book's at www.oreilly.com/openbook/utp/UnixTextProcessing.pdf Self-Pity I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough without ever having felt sorry for itself. D. H. Lawrence GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (OpenBSD) iD8DBQFDZFPay0Ty5RZE55oRAo4yAKCDsEOm0wsIxtqAF7sgUZA3ArbobACggFEG 1Hon2H3q/FGMv4RcR//X6bM= =dEUI -END PGP SIGNATURE-___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]