Re: Optimal File System config for 2.5TB RAID5
What you're asking for is too much -- and this conversation is starting to delve into freebsd-hardware, not freebsd-questions. the simple answer is that software RAID on todays computers vastly outperforms ANY hardware raid solution, maybe except the ones for 1$ or more. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting up gmirror
Hi, I've just finished setting up a new web server, and if I get my DNS stuff correct hopefully an e-mail server too, for my church. Originally, the intention was to use RAID1 on the MOBO. However, the do not ever use hardware RAID0/1/10 on motherboard. first it's not hardware, it's purely software, second there is nothing to be accelerated by hardware on RAID0/1/10. use gmirror/gstripe/gconcat everywhere. make any mention of gmirror(8). It seems like gmirror is rather easy gmirror is easy to set up and works excellent. Identical drive models so their sizes are the same. Is this the command, from gmirror(8), the one I'll want to use? Create a mirror on disk with valid data (note that the last sector of the disk will be overwritten). Add another disk to this mirror, so it will be synchronized with existing disk: gmirror label -v -b round-robin data da0 add -s very large value like -s 1048576 to prevent splitting one request on 2 disks. except this - all right. gmirror insert data da1 Though in my case, da0 and da1 will be ad4 and ad5. This seems to be the one I'm looking for, I'm just scared of wiping out more than I bargain for. assuming you already have system on say ad4, make gmirror on ad5, copy everything, make sure it's bootable (bsdlabel -B ...), boot from it, if all works, add ad4 to the mirror effectively overwriting things. add in loader.conf vfs.root.mountfrom=ufs:mirror/dataa - assuming your system is on partition a of your mirror. HINT - you DO NOT have to mirror whole drive. you may mirror a partition(s), living some of them unmirrored. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Optimal File System config for 2.5TB RAID5
Ok, I have to pickup gVinum where I left it 4 years ago. Hopefully, the software is stable now. AFAIK it's not at least when i tried it in 6.* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to select/choose new NIC under FreeBSD?
thanks Guys really good help! Cheers! VJ On Fri, Sep 26, 2008 at 1:49 PM, VeeJay [EMAIL PROTECTED] wrote: Hello there, At my work, I have a Dell PowerEdge2950 running FreeBSD 7.0, Webserver. This server has onboard Broadcom NetXtreme II BCM5708 1000Base-T with 2 ports. But we have faced watchdog timeouts and after googling and getting help on this great forum, we were able to figure out that this is Broadcom incompatibilty. So, we have bought Intel Pro 1000PT Single Port Gigabit PCIe Cu now. Which I am going to install in the server but before; I need some information, where I seek you guys help??? 1. How to tell FreeBSD to which NIC to use? 2. Where else I should make changes under /etc folder? I will aprecaite your help! -- Thanks! BR / vj -- Thanks! BR / vj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting up gmirror
On Tue, Sep 30, 2008 at 10:34:53PM -0600, Andrew Falanga wrote: I've just finished setting up a new web server, and if I get my DNS stuff correct hopefully an e-mail server too, for my church. Originally, the intention was to use RAID1 on the MOBO. However, the RAID controller on the MOBO consistently tried to make the SATA DVD drive part of the RAID array and wouldn't boot the FreeBSD boot disk. So, at the suggestion of another respondent here, I've decided to use gmirror. Stay away from BIOS-level RAID. If you want evidence of why, especially with regards to Intel MatrixRAID, here you go: http://wiki.freebsd.org/JeremyChadwick/ATA_issues_and_troubleshooting And yes, these are FreeBSD problems, but the severity is so high that there is a very good chance you will lose your data in the case of a failure. Simply put, don't risk it. Stick with gmirror or ZFS, unless you have reason to use ccd (it's old, but it does still work). -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting up gmirror
with regards to Intel MatrixRAID, here you go: http://wiki.freebsd.org/JeremyChadwick/ATA_issues_and_troubleshooting And yes, these are FreeBSD problems, but the severity is so high that there is a very good chance you will lose your data in the case of a failure. Simply put, don't risk it. BIOS RAIDs are software RAIDs. FreeBSD driver for this is software RAID too, just like gmirror but worse and less portable. simply doesn't make sense. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error compiling kernel
--- On Mon, 9/29/08, Frank Shute [EMAIL PROTECTED] wrote: From: Frank Shute [EMAIL PROTECTED] Subject: Re: error compiling kernel To: Dino Vliet [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Date: Monday, September 29, 2008, 2:31 PM On Sun, Sep 28, 2008 at 11:09:01PM -0700, Dino Vliet wrote: Hi all, In an effort to compile a new kernel on my amd64 system running freebsd 6.3 I get the following error message after the make buildkernel KERNCONF=MYKERNEL step. The error I get is: /usr/src/sys/dev/usb/udbp.c: 426: undefined reference to 'ng_parse_int32_type' udbp.o (.rodata + 0xc0):/usr/src/sys/dev/usb/udbp.c: 438: undefined reference to 'ng_parse_int32_type' *** Error code 1 Stop in /usr/obj/usr/src/sys/MYKERNEL *** Error code 1 Stop in /usr/src *** Error code 1 Stop in /usr/src My kernel configuration called MYKERNEL looks like this: # # GENERIC -- Generic kernel configuration file for FreeBSD/amd64 # snip options SCHED_ULE # ULE scheduler #options SCHED_4BSD # 4BSD scheduler snip What is causing this error? Brgds Dino devicefwe # Ethernet over FireWire (non-standard!) Dino, I don't know if it's possibly related but IIRC the SCHED_ULE scheduler is deprecated for use in 6.* (I stand to be corrected!:) although I believe it works with 7.* So I suggest trying SCHED_4BSD and see if that works better. As to the specific error, it looks like you might need: options NETGRAPH in your kernel conf. See: netgraph(4) You might also want to use the tag: RELENG_6_4 for your source supfile. I'm pretty sure there is a 6.4 branch now the BETA has come out. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html Hi Frank, It worked! Thanks for the tips. I've reenabled sched_bsd and added options NETGRAPH. The latter is strange though, because I managed to compile the p1 kernel in the past without it, so why would that fail now? Anyway, it worked so I can look at my other problems now. This machine was disconnected from the internet a few months so I had a very long package list that needed to be updated. Thanks for your reply! Dino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD command to make image of the active partition and a command to restore it?
FreeBSD command to make image of the active partition and a command to restore it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mysql rc script failure - correction: most installed rc scripts not running manually
On Wed, 2008-10-01 at 15:40 +1000, Da Rock wrote: Has anyone else had trouble with starting mysql server with the rc script? I've only just installed from ports (as a dependency, mind) and technically it should just start when you run the rc script - it sets up the db dirs and stuff so it can just run. But I can't get it to do the setup stuff automatically, and so the script fails. I've done the setup manually before so its no real biggy, but I imagine others would be more than a little frustrated. Anyone else have this trouble? I just realised I had to do this last time too... For reference: I'm starting the script manually for testing at this point (if that makes a difference- which I believe it shouldn't). Manually running port installed rc scripts is not working manually. I'm trying mysql, courier-imap, and I've tried isc-dhcp in the past. None of these will work when run manually- even on different machines and bsd versions (all 6.x). Is it just me? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PXE real life use
Hello all, I'd like to point a subject on PXE server usage on a daily basis such as a service department. Im thinking of developing such system to load OS's(not strictly *NIX) installations through LAN than using a CD each time. What would be the cons,pros to such system and what are the limits? Looking forward for your replies. Best regards, Chris Papageorgiou -- View this message in context: http://www.nabble.com/PXE-real-life-use-tp19756184p19756184.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD command to make image of the active partition and a command to restore it?
dump, restore On Wed, 1 Oct 2008, Mike Price wrote: FreeBSD command to make image of the active partition and a command to restore it? ___ 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: mysql rc script failure - correction: most installed rc scripts not running manually
Da Rock [EMAIL PROTECTED] writes: On Wed, 2008-10-01 at 15:40 +1000, Da Rock wrote: Has anyone else had trouble with starting mysql server with the rc script? I've only just installed from ports (as a dependency, mind) and technically it should just start when you run the rc script - it sets up the db dirs and stuff so it can just run. But I can't get it to do the setup stuff automatically, and so the script fails. I've done the setup manually before so its no real biggy, but I imagine others would be more than a little frustrated. Anyone else have this trouble? I just realised I had to do this last time too... For reference: I'm starting the script manually for testing at this point (if that makes a difference- which I believe it shouldn't). Manually running port installed rc scripts is not working manually. I'm trying mysql, courier-imap, and I've tried isc-dhcp in the past. None of these will work when run manually- even on different machines and bsd versions (all 6.x). Is it just me? Sorry for may be a dumb question: did you define an daemon_enable=YES at /etc/rc.conf[.local]? For more info you may look at the script you are trying to start. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Optimal File System config for 2.5TB RAID5
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Wojciech Puchar wrote: | | What you're asking for is too much -- and this conversation is | starting to delve into freebsd-hardware, not freebsd-questions. | | the simple answer is that software RAID on todays computers vastly | outperforms ANY hardware raid solution, maybe except the ones for 1$ | or more. You're basically correct, but I think you're overestimating the price of a good RAID controller. The big win with hardware RAID controllers comes when they are fitted with a BBU. Typically this turns a £400 item into a £600 item, so most sales weasels will artfully forget to include it[+]. When you've got a BBU, then it lets you do the good stuff like disable write cache on the drives but *enable* it on the controller -- the presence of the battery means that data cached in RAM is safe and in the event of an unscheduled reboot, it can be flushed to disk as the system comes up again -- so the RAID can justifiably report to the OS that the IO transaction is complete without having to wait for the bits to actually hit the disk platter[*]. I've occasionally wondered why there isn't a simple device commonly available which consists of a few hundred MB of battery backed (or otherwise persistent in the face of power loss) RAM that can plug into a PCI slot and fulfil that function generically for any disks in a machine. Solid state hard drives are getting there, but they're still too expensive and not really fast enough yet. Cheers, Matthew [+] And I don't know how the manufacturers justify that price tag, as the battery tech used is based on the same off-the-shelf components that go into any mobile phone [*] Unlike the normal hw.ata.wc enable, which reports this unjustifiably... - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 ~ 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate ~ Kent, CT11 9PW, UK -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkjjPMYACgkQ3jDkPpsZ+VYBGwCgmIndkiis5+OfA8ahXCbTasxO pbkAn2y69JagZweBpD62TnctqtQdt+mF =yHzW -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]
Re: Setting up gmirror
On Wed, Oct 01, 2008 at 09:22:20AM +0200, Wojciech Puchar wrote: with regards to Intel MatrixRAID, here you go: http://wiki.freebsd.org/JeremyChadwick/ATA_issues_and_troubleshooting And yes, these are FreeBSD problems, but the severity is so high that there is a very good chance you will lose your data in the case of a failure. Simply put, don't risk it. BIOS RAIDs are software RAIDs. FreeBSD driver for this is software RAID too, just like gmirror but worse and less portable. simply doesn't make sense. And what exactly do you classify controllers such as the Promise TX4310 and the Promise S150 SX4 as? The TX4310 could be classified as software RAID, but a few of the features are offloaded onto the controller. The SX4 is the same way, but has actual on-board cache. You like to declare everything as software RAIDs, while I like to discern the difference between them using (what I believe to be) more accurate terminology: BIOS-level RAID (Adaptec HostRAID, Intel MatrixRAID; chipset RAID) OS-based RAID (gvinum, ccd, etc.) Hardware RAID (LSI Logic, 3Ware, Areca controllers) There is always a certain degree of software (specifically, processing/work done on the main system's CPU) in all of those, since there is always a driver involved for interfacing with the cards -- even ones with dedicated CPUs like the Intel IOP/XScale. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Optimal File System config for 2.5TB RAID5
On Wed, Oct 01, 2008 at 10:03:02AM +0100, Matthew Seaman wrote: I've occasionally wondered why there isn't a simple device commonly available which consists of a few hundred MB of battery backed (or otherwise persistent in the face of power loss) RAM that can plug into a PCI slot and fulfil that function generically for any disks in a machine. Solid state hard drives are getting there, but they're still too expensive and not really fast enough yet. You mean this? http://en.wikipedia.org/wiki/I-RAM -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting up gmirror
And what exactly do you classify controllers such as the Promise TX4310 and the Promise S150 SX4 as? The TX4310 could be classified as software RAID, but a few of the features are offloaded onto the controller. The SX4 is the same way, but has actual on-board cache. si it do something by hardware. anyway - i don't think it will actually make it faster under FreeBSD (contrary to windoze). it's simply not worth money. You like to declare everything as software RAIDs, while I like to discern the difference between them using (what I believe to be) more accurate terminology: BIOS-level RAID (Adaptec HostRAID, Intel MatrixRAID; chipset RAID) OS-based RAID (gvinum, ccd, etc.) what are the difference between 1 and 2? there are none. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Optimal File System config for 2.5TB RAID5
| | the simple answer is that software RAID on todays computers vastly | outperforms ANY hardware raid solution, maybe except the ones for 1$ | or more. You're basically correct, but I think you're overestimating the price of a good RAID controller. no. please give me example of any RAID hardware below 1$ that WILL be faster than properly configure software RAID solution under FreeBSD with same amount of same disks. i mean faster under normal unix-like load, which is lots of parallel accesses to same or different things, not simple tests. there are NONE. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best way to back up mysql database
Hi, 2008/10/1 John Almberg [EMAIL PROTECTED]: First, I wanted to say how great this list is. I'm a newbie FreeBSD admin and, besides the Handbook and Absolute FreeBSD (which never seems to leave my desk), this list is the best resource I have. I just had a huge scare today... One of the websites on my server uses a large Mysql database. Somehow, one of the tables got corrupted today. I have been blithely backing up mysql with a simple cron script that ran mysqldump every night. Simple, reliable, and I've never needed it. Today, when I realized the database was corrupted, I scrambled for my backup, and realized that if I hadn't caught the problem today, tomorrow my backup would have been overwritten, and I would have been... well, not a happy camper. Again, I have run into a problem which is stupidly obvious to experienced admins, I'm sure. I want to slap myself, but don't have time. I'll do that after I have a better backup system in place. I am just about to dive into Google in search of a solution, but thought I would fire off a quick request, in case there is an obvious solution that everyone uses. If there is, a name or URL will do. I'll figure out the rest. Any hints much appreciated. Not going home until this is fixed... I'd recommend http://sourceforge.net/projects/automysqlbackup/ very easy to set up. -- Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: built-in samba mount
On Tue, Sep 30, 2008 at 8:38 PM, Roland Smith [EMAIL PROTECTED] wrote: On Tue, Sep 30, 2008 at 07:18:32PM +0300, EforeZZ wrote: Hello all, Is it possible to mount the samba share //pc/share/folder? It should be. I have troubles in FreeBSD: I'm able to mount only //pc/share (not //pc/share/folder) and I do not have read access to read contents of //pc/share and FreeBSD does not let me to change the directory to //pc/share/folder. Windows allows to mount //pc/share/folder and I have no access problems in Windows. Is there any solution for FreeBSD? Read the mount_smbfs manual page (with the command 'man mount_smbfs'). A quick look tells us that you'll need to use //[EMAIL PROTECTED]/share/folder instead of //pc/share/folder. Other options allow you to configure access rights and owner/group attributes. I do use //[EMAIL PROTECTED]/share/folder for mounting but I get //[EMAIL PROTECTED]/share mounted instead of //[EMAIL PROTECTED]/share/folder. It seems that the /folder part is ignored. EforeZZ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error compiling kernel
On Wed, Oct 01, 2008 at 12:24:48AM -0700, Dino Vliet wrote: --- On Mon, 9/29/08, Frank Shute [EMAIL PROTECTED] wrote: On Sun, Sep 28, 2008 at 11:09:01PM -0700, Dino Vliet wrote: Hi all, In an effort to compile a new kernel on my amd64 system running freebsd 6.3 I get the following error message after the make buildkernel KERNCONF=MYKERNEL step. The error I get is: /usr/src/sys/dev/usb/udbp.c: 426: undefined reference to 'ng_parse_int32_type' udbp.o (.rodata + 0xc0):/usr/src/sys/dev/usb/udbp.c: 438: undefined reference to 'ng_parse_int32_type' *** Error code 1 Stop in /usr/obj/usr/src/sys/MYKERNEL *** Error code 1 Stop in /usr/src *** Error code 1 Stop in /usr/src My kernel configuration called MYKERNEL looks like this: # # GENERIC -- Generic kernel configuration file for FreeBSD/amd64 # snip options SCHED_ULE # ULE scheduler #optionsSCHED_4BSD # 4BSD scheduler snip What is causing this error? Brgds Dino device fwe # Ethernet over FireWire (non-standard!) Dino, I don't know if it's possibly related but IIRC the SCHED_ULE scheduler is deprecated for use in 6.* (I stand to be corrected!:) although I believe it works with 7.* So I suggest trying SCHED_4BSD and see if that works better. As to the specific error, it looks like you might need: options NETGRAPH in your kernel conf. See: netgraph(4) You might also want to use the tag: RELENG_6_4 for your source supfile. I'm pretty sure there is a 6.4 branch now the BETA has come out. Regards, -- Frank Hi Frank, It worked! Excellent! Thanks for the tips. I've reenabled sched_bsd and added options NETGRAPH. The latter is strange though, because I managed to compile the p1 kernel in the past without it, so why would that fail now? Not too sure but there must be something in your kernel conf that requires netgraph (I don't use it). To be on the safe side, it's always best to compile GENERIC unless you're trying to screw the last drop of performance from your machine. Anyway, it worked so I can look at my other problems now. This machine was disconnected from the internet a few months so I had a very long package list that needed to be updated. Take a good look at /usr/ports/UPDATING and work on updating the ports/packages mentioned in there. Then hit the ports with lots of dependencies with portupgrade. E.g: # portupgrade -vrR firefox (Assuming you're using it as a workstation like Firefox). Then I'd use the -a flag for portupgrade to hit the rest of the ports/packages. Use the -P flag if you want packages. Thanks for your reply! No worries :) Glad to be of help. Dino Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD command to make image of the active partition and a command to restore it?
On Wed, Oct 1, 2008 at 10:41 AM, Mike Price [EMAIL PROTECTED] wrote: FreeBSD command to make image of the active partition and a command to restore it? At what point in time? :-) I always make a backup of a partition to another disk like this: For exampe, if it is the root partition ... (/) dump -L0af - / | (cd /where/the/other/partition/is/mounted; restore -rf -) PS: Next time don't ask your questions like quizes. Explain the problem and we'll tell you the possible solutions. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Oh My God! They killed init! You Bastards! --from a /. post ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
intel pro/wireless 2200 card?
hi everybody; i am a freshman on freebsd ; i want to ask a question about intel pro wireless 2200 BG; i couldnt make the card on my system whatever i did my outputs are like this...i read lots of documents but i couldnt find anyhting and unfortunately my system is not updated because i cant use the internet connection on wireless...can you please tell me what i have to do step by stepthanks or your helps dmesg output; Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1.86GHz (1866.74-MHz 686-class CPU) Origin = GenuineIntel Id = 0x6d8 Stepping = 8 Features=0xafe9fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE Features2=0x180EST,TM2 real memory = 536674304 (511 MB) avail memory = 511258624 (487 MB) ACPI APIC Table: A M I OEMAPIC ioapic0 Version 2.0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27) acpi0: A M I OEMRSDT on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a (3) failed acpi0: reservation of 10, 1ff0 (3) failed Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0 acpi_ec0: Embedded Controller: GPE 0x18 port 0x62,0x66 on acpi0 cpu0: ACPI CPU on acpi0 est0: Enhanced SpeedStep Frequency Control on cpu0 p4tcc0: CPU Frequency Thermal Control on cpu0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: ACPI PCI-PCI bridge irq 16 at device 1.0 on pci0 pci3: ACPI PCI bus on pcib1 vgapci0: VGA-compatible display port 0xd800-0xd8ff mem 0xd000-0xd7ff,0xffdf-0xffdf irq 16 at device 0.0 on pci3 pci0: multimedia at device 27.0 (no driver attached) pcib2: ACPI PCI-PCI bridge irq 16 at device 28.0 on pci0 pci2: ACPI PCI bus on pcib2 uhci0: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A port 0xe480-0xe49f irq 23 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B port 0xe800-0xe81f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C port 0xe880-0xe89f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-D port 0xec00-0xec1f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-D on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: Intel 82801FB (ICH6) USB 2.0 controller mem 0xffeffc00-0xffef irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: Intel 82801FB (ICH6) USB 2.0 controller on ehci0 usb4: USB revision 2.0 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb4 uhub4: 8 ports with 8 removable, self powered pcib3: ACPI PCI-PCI bridge at device 30.0 on pci0 pci1: ACPI PCI bus on pcib3 pci1: network at device 3.0 (no driver attached) fwohci0: Texas Instruments TSB43AB22/A mem 0xffcff000-0xffcff7ff,0xffcf8000-0xffcfbfff irq 18 at device 10.0 on pci1 fwohci0: [FILTER] fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:03:0d:49:50:e3:a8:0a fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: IEEE1394(FireWire) bus on fwohci0 dcons_crom0: dcons configuration ROM on firewire0 dcons_crom0: bus_addr 0x128 fwe0: Ethernet over FireWire on firewire0 if_fwe0: Fake Ethernet address: 02:03:0d:e3:a8:0a fwe0: Ethernet address: 02:03:0d:e3:a8:0a fwip0: IP over FireWire on firewire0 fwip0: Firewire address:
Re: Setting up gmirror
On Wed, Oct 01, 2008 at 11:19:01AM +0200, Wojciech Puchar wrote: And what exactly do you classify controllers such as the Promise TX4310 and the Promise S150 SX4 as? The TX4310 could be classified as software RAID, but a few of the features are offloaded onto the controller. The SX4 is the same way, but has actual on-board cache. si it do something by hardware. anyway - i don't think it will actually make it faster under FreeBSD (contrary to windoze). it's simply not worth money. You like to declare everything as software RAIDs, while I like to discern the difference between them using (what I believe to be) more accurate terminology: BIOS-level RAID (Adaptec HostRAID, Intel MatrixRAID; chipset RAID) OS-based RAID (gvinum, ccd, etc.) what are the difference between 1 and 2? there are none. With regards to Intel MatrixRAID, you're correct -- all the feature does is provide disk pairing features via the southbridge, and provide an option ROM which configures and manages metadata on the disks for the OS to read and make use of. All the I/O operations still have to go through the CPU, and nothing is off-loaded. The reason I discern the difference is because if you tell a user yes, your Intel MatrixRAID is software RAID, they become confused, since the feature is provided on a dedicated chip (ICHx). But software RAID is done in the operating system, like gvinum! There is also one difference which you're forgetting: booting. FreeBSD has a long-standing history of not being able to boot off of most anything other than UFS and gmirror; I believe gvinum might work, but I've only been able to find confirmation that gmirror does. I'm under the impression gstripe doesn't, and ZFS definitely does not. By using an additional (lower) layer that the OS has no control over (e.g. MatrixRAID), you can get around this limitation, because the OS considers the disks a single device (e.g. /dev/ar0). Of course, you run into other problems using MatrixRAID on FreeBSD, specifically when a disk fails (see my Wiki page), and the negatives there easily outweigh the positives. If you have a RAID-0 configuration you want to boot from, I've no idea what will work. If you have a RAID-1 configuration you want to boot from, gmirror is a good choice. If you have a RAID-5 or other configuration you want to boot from, a software or hardware RAID controller would be sufficient (see above). -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Optimal File System config for 2.5TB RAID5
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Jeremy Chadwick wrote: | On Wed, Oct 01, 2008 at 10:03:02AM +0100, Matthew Seaman wrote: | I've occasionally wondered why there isn't a simple device commonly available | which consists of a few hundred MB of battery backed (or otherwise persistent | in the face of power loss) RAM that can plug into a PCI slot and fulfil that | function generically for any disks in a machine. Solid state hard drives are | getting there, but they're still too expensive and not really fast enough yet. | | You mean this? | | http://en.wikipedia.org/wiki/I-RAM | Yeah -- pretty much that. Although I'd prefer something that doesn't try and pretend to be a hard drive -- after all, there's no reason to limit the thing to the performance envelope of a SATA bus. If you want solid state drives, nowadays there are devices based on compact flash that fit in a normal 3.5 drive bay, speak SATA and don't need standby power. Latency is much better than a normal HDD, but probably not so good as the I-RAM you pointed out. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 ~ 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate ~ Kent, CT11 9PW, UK -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkjjS0oACgkQ3jDkPpsZ+VaS5ACePK+3KUc+Kiu612I0JTqWJz9h WgoAmgNqC3/tNCmcfwogmFJZqs6gP4zF =nj5y -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]
ipfw count unexpected results
Please take a look at this ipfw show result: 00050 4439 1302601 tee 20001 ip from any to any via tun0 00100 2695 805238 count ip from any to any via tun0 in 00101 1713 489367 count ip from any to any via tun0 out 00103 00 deny ip from 127.0.0.0/8 to any 00105 00 deny ip from 192.168.1.0/24,192.168.0.0/24 to any via tun0 in 00106 00 deny ip from 192.168.1.0/24,192.168.0.0/24 to any via tun2 in 00107 00 deny ip from 192.168.1.0/24,192.168.0.0/24 to any via tun1 in 00108 2714 812754 count ip from any to any via tun0 in 00109 1725 489847 count ip from any to any via tun0 out 00116 00 allow tcp from any to xx.xx.xx.xx dst-port yy.yy.yy.yy 00117 00 fwd xx.xx.xx.xx tcp from yy.yy.yy.yy zz.zz.zz.zz to any 00118 00 fwd xx.xx.xx.xx1 tcp from yy.yy.yy.yy1 zz.zz.zz.zz1 to any 00118 00 fwd xx.xx.xx.xx2 tcp from yy.yy.yy.yy2 zz.zz.zz.zz2 to any 00119 00 fwd xx.xx.xx.xx3 tcp from yy.yy.yy.yy3 to any dst-port zz.zz.zz.zz3 00120 00 deny log logamount 65534 tcp from not xx.xx.xx.xx to yy.yy.yy.yy dst-port zz.zz.zz.zz via tun2 00121 00 deny log logamount 65534 tcp from not xx.xx.xx.xx to yy.yy.yy.yy1 dst-port zz.zz.zz.zz1 via tun0 00122 00 deny log logamount 65534 tcp from not xx.xx.xx.xx to yy.yy.yy.yy1 dst-port zz.zz.zz.zz2 via tun0 00123 00 deny log logamount 65534 tcp from not xx.xx.xx.xx to yy.yy.yy.yy2 dst-port zz.zz.zz.zz3 via tun0,tun2,tun1 00124 00 deny log logamount 65534 tcp from not xx.xx.xx.xx to yy.yy.yy.yy2 dst-port zz.zz.zz.zz1 via tun1 00125 00 deny log logamount 65534 tcp from not xx.xx.xx.xx to yy.yy.yy.yy3 dst-port zz.zz.zz.zz1 via tun1 00130 00 allow tcp from xx.xx.xx.xx to yy.yy.yy.yy dst-port zz.zz.zz.zz5 keep-state 00140 2360 777364 count ip from any to any via tun0 in 00141 1416 113119 count ip from any to any via tun0 out The question is: why rules 100 and 101 are not equal to 108 and 109 and rules 140 and 141 ? It seems only rules 108 and 109 shows correct information, because 108+109 = 50. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mysql rc script failure - correction: most installed rc scripts not running manually
On Wed, 2008-10-01 at 12:57 +0400, Boris Samorodov wrote: Da Rock [EMAIL PROTECTED] writes: On Wed, 2008-10-01 at 15:40 +1000, Da Rock wrote: Has anyone else had trouble with starting mysql server with the rc script? I've only just installed from ports (as a dependency, mind) and technically it should just start when you run the rc script - it sets up the db dirs and stuff so it can just run. But I can't get it to do the setup stuff automatically, and so the script fails. I've done the setup manually before so its no real biggy, but I imagine others would be more than a little frustrated. Anyone else have this trouble? I just realised I had to do this last time too... For reference: I'm starting the script manually for testing at this point (if that makes a difference- which I believe it shouldn't). Manually running port installed rc scripts is not working manually. I'm trying mysql, courier-imap, and I've tried isc-dhcp in the past. None of these will work when run manually- even on different machines and bsd versions (all 6.x). Is it just me? Sorry for may be a dumb question: did you define an daemon_enable=YES at /etc/rc.conf[.local]? For more info you may look at the script you are trying to start. So are you saying I can't start a script manually without enabling it in rc.conf? I was not under that impression... I thought it could be started manually for testing before setting it for automatic startup- based on my reading in the handbook and man pages. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mysql rc script failure - correction: most installed rc scripts not running manually
On Wed, Oct 01, 2008 at 08:39:47PM +1000, Da Rock wrote: On Wed, 2008-10-01 at 12:57 +0400, Boris Samorodov wrote: Da Rock [EMAIL PROTECTED] writes: On Wed, 2008-10-01 at 15:40 +1000, Da Rock wrote: Has anyone else had trouble with starting mysql server with the rc script? I've only just installed from ports (as a dependency, mind) and technically it should just start when you run the rc script - it sets up the db dirs and stuff so it can just run. But I can't get it to do the setup stuff automatically, and so the script fails. I've done the setup manually before so its no real biggy, but I imagine others would be more than a little frustrated. Anyone else have this trouble? I just realised I had to do this last time too... For reference: I'm starting the script manually for testing at this point (if that makes a difference- which I believe it shouldn't). Manually running port installed rc scripts is not working manually. I'm trying mysql, courier-imap, and I've tried isc-dhcp in the past. None of these will work when run manually- even on different machines and bsd versions (all 6.x). Is it just me? Sorry for may be a dumb question: did you define an daemon_enable=YES at /etc/rc.conf[.local]? For more info you may look at the script you are trying to start. So are you saying I can't start a script manually without enabling it in rc.conf? I was not under that impression... I thought it could be started manually for testing before setting it for automatic startup- based on my reading in the handbook and man pages. Yes, you can. Use forcestart/forcestop instead of start/stop when running the rc script if you do not have it enabled in rc.conf. This is documented in rc(8) (and is very easily overlooked if you don't know what you are looking for.) -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Securing system with kern.securelevel
HI to all FreeBSD 6.3 i386 I would like to use securelevel to secure a backup schedluded box made with FreeBSD. This box mount and unmount external USB disk where the backup is made once a week. Which would be the correct secure level ? 1, 2, or 3? I don't want nobody modify scripts and root things, like adding a user to make the thing by itself, ... or modify my crontab scripts, etc... Also, where i must put the kern.securelevel? I didnt understood very well in the manual and handbook in which part of the bootin process (rc) i must put the line in rc.conf? Thanks in advance Juan Coruña Desarrollo de Software Atlantico ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Patching php port
Hello all I am trying to install the php 5.2.6 port with thttpd. I have a patch file to make it compile with version 2.25b, because the standard version only works with 2.21. The patch works but the files always get overwritten when I run the build again. How do I do this? These are the commands I used cd /usr/ports/lang/php5 make extract make patch cd work patch -p0 ~/ports/thttpd.diff vi php-5.2.6/configure # and other checks to see if the patch worked cd .. make install This results in an error in the configure file, which has reverted to the original. What am I doing wrong? Thanks for help Tamar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Patching php port
On Wed, Oct 01, 2008 at 11:37:29AM +0100, Tamar Lea wrote: Hello all I am trying to install the php 5.2.6 port with thttpd. I have a patch file to make it compile with version 2.25b, because the standard version only works with 2.21. The patch works but the files always get overwritten when I run the build again. How do I do this? These are the commands I used cd /usr/ports/lang/php5 make extract make patch cd work patch -p0 ~/ports/thttpd.diff vi php-5.2.6/configure # and other checks to see if the patch worked cd .. make install This results in an error in the configure file, which has reverted to the original. What am I doing wrong? Never modify configure scripts. You need to modify the autoconf template the configure script is built off of. In the case of lang/php5, autoconf is run to build the configure script during the make configure stage (which is being executed during part of make install). Note the USE_AUTOTOOLS line in the Makefile. Make your changes to configure.in. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mysql rc script failure - correction: most installed rc scripts not running manually
On Wed, Oct 1, 2008 at 12:39 PM, Da Rock [EMAIL PROTECTED]wrote: On Wed, 2008-10-01 at 12:57 +0400, Boris Samorodov wrote: Da Rock [EMAIL PROTECTED] writes: On Wed, 2008-10-01 at 15:40 +1000, Da Rock wrote: Has anyone else had trouble with starting mysql server with the rc script? I've only just installed from ports (as a dependency, mind) and technically it should just start when you run the rc script - it sets up the db dirs and stuff so it can just run. But I can't get it to do the setup stuff automatically, and so the script fails. I've done the setup manually before so its no real biggy, but I imagine others would be more than a little frustrated. Anyone else have this trouble? I just realised I had to do this last time too... For reference: I'm starting the script manually for testing at this point (if that makes a difference- which I believe it shouldn't). Manually running port installed rc scripts is not working manually. I'm trying mysql, courier-imap, and I've tried isc-dhcp in the past. None of these will work when run manually- even on different machines and bsd versions (all 6.x). Is it just me? Sorry for may be a dumb question: did you define an daemon_enable=YES at /etc/rc.conf[.local]? For more info you may look at the script you are trying to start. So are you saying I can't start a script manually without enabling it in rc.conf? I was not under that impression... I thought it could be started manually for testing before setting it for automatic startup- based on my reading in the handbook and man pages. Yes you can without put it in /etc/rc.conf. Use the force word. # /usr/local/etc/rc.d/mysql-server forcestart all the best, v ___ 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]
Cannot create custom FreeBSD 7.0 install CD for serial console
I've been trying to create a modified FreeBSD 7.0 install CD that will allow me to do installations entirely via the serial console on a headless system. Lots of digging on the Internet, reading the handbook, and I've gotten nowhere fast. The following process was my best hope, but it still isn't making a serial console install possible... In a shell on another older FreeBSD system, after downloading the Disc 1 install ISO: # cd /data # mdconfig -a -t vnode -f /data/7.0-RELEASE-i386-disc1.iso -u 1 # mount -t cd9660 /dev/md1 /mnt # mkdir headlessISO # tar -C /mnt -pcf - . | tar -C /data/headlessISO -pxvf - # umount /mnt # mdconfig -d -u 1 Next I verified that the following line appears in /data/headlessISO/boot/device.hints, ensuring that COM1 (sio0) may be used for console purposes: hint.sio.0.flags=0x10 Then I created a boot.config file for the root of what will be the new CD ISO: # echo -Dh -S115200 /data/headlessISO/boot.config I would have preferred to use -P in place of the above -Dh, but I'm using an Intel S3210SHLC motherboard and either it or some bug in FreeBSD 7.0 always causes a keyboard to be detected, even when there isn't one (solutions/explanations for that would be appreciated too). Next step was to build the new ISO as follows: # mkisofs -R -J -ldots -no-emul-boot -b boot/cdboot -o /data/7.0-RELEASE-i386-disc1-headless.iso /data/headlessISO Since the old FreeBSD system has no CD writer, I transfer the new ISO to a Windoze box and burn a CD with Nero. End result is a bootable install CD that acts as if I never customized it at all. I've configured the motherboard BIOS to enable console redirection to COM1 and that works fine... until the FreeBSD boot process, whereupon everything reverts to internal console only. As a variation on the above procedure, I replaced the step in which I create boot.config with one in which I create /data/headlessISO/boot/loader.conf.local containing the following lines: boot_multicons=YES boot_serial=YES comconsole_speed=115200 console=comconsole,vidconsole That, unfortunately, gets the same result. So, what am I doing wrong? Note that the creation of boot.config and some mods to the ttyd0 line in /etc/ttys appears to work fine for enabling serial console operation on this same motherboard *after* FreeBSD 7.0 has been installed to the hard drive using the internal console - it just won't work for creating an install CD. I assume I don't need any variation of the /etc/ttys mod for the custom install CD, true? FWIW, I've also taken the resultant ISOs I've created and fed them to UNetbootin (http://unetbootin.sourceforge.net/) in order to create a bootable USB flash thumb drive installer instead of a CD. This is even less successful because once control appears to go from BIOS to the installer, the screen goes blank and I'm left with nothing but an eternal blinking cursor. Am I up against another Intel S3210SHLC motherboard problem or does UNetbootin not actually live up to it's claims for FreeBSD 7.0? Anyone know? Is there anyone out there who might have experience with FreeBSD 7.0 on the Intel S3210SHLC motherboard? Is this a problematic motherboard with known problems? Carl / K0802647 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cannot create custom FreeBSD 7.0 install CD for serial console
On Wed, Oct 01, 2008 at 02:41:03AM -0700, Carl wrote: I've been trying to create a modified FreeBSD 7.0 install CD that will allow me to do installations entirely via the serial console on a headless system. Lots of digging on the Internet, reading the handbook, and I've gotten nowhere fast. Try this: http://jdc.parodius.com/freebsd/pxeboot_serial_install.html -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting up gmirror
There is also one difference which you're forgetting: booting. for me there is no problem. simply put /boot at the beginning of mirror or small partition it's that simple ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Patching php port
Thanks for your reply, Jeremy. I now understand why it didn't work, but I have absolutely no idea how to edit configure.in. I have only just figured out what my patch is doing today. I think it would be easier to tell the makefile to modify configure after the autoconf, but I don't know how to do that either. This is the patch I wish to apply: diff -pruN php-5.2.6/configure php-5.2.6-thttpd225b/configure --- php-5.2.6/configure 2007-11-08 23:36:28.0 +0800 +++ php-5.2.6-thttpd225b/configure 2007-12-06 13:10:13.0 +0800 @@ -11525,10 +11525,14 @@ if test $PHP_THTTPD != no; then patch=test -f $THTTPD/php_patched || \ (cd $THTTPD patch -p1 $abs_srcdir/sapi/thttpd/thttpd_patch touch php_patched) + elif grep thttpd.2.25b $PHP_THTTPD/version.h /dev/null; then + patch=test -f $THTTPD/php_patched || \ + (cd $THTTPD patch -p1 $abs_srcdir/sapi/thttpd/thttpd-2.25b_patch touch php_patched) + elif grep Premium $PHP_THTTPD/version.h /dev/null; then patch= else - { echo configure: error: This version only supports thttpd-2.21b and Premium thttpd 12; exit 1; } + { echo configure: error: This version only supports thttpd-2.21b, thttpd-2.25b and Premium thttpd 12; exit 1; } fi Ideally I would like to do this myself but I think the learning curve is too steep right now. Any suggestions appreciated. Tamar On Wed, Oct 1, 2008 at 12:06 PM, Jeremy Chadwick [EMAIL PROTECTED] wrote: On Wed, Oct 01, 2008 at 11:37:29AM +0100, Tamar Lea wrote: Hello all I am trying to install the php 5.2.6 port with thttpd. I have a patch file to make it compile with version 2.25b, because the standard version only works with 2.21. The patch works but the files always get overwritten when I run the build again. How do I do this? These are the commands I used cd /usr/ports/lang/php5 make extract make patch cd work patch -p0 ~/ports/thttpd.diff vi php-5.2.6/configure # and other checks to see if the patch worked cd .. make install This results in an error in the configure file, which has reverted to the original. What am I doing wrong? Never modify configure scripts. You need to modify the autoconf template the configure script is built off of. In the case of lang/php5, autoconf is run to build the configure script during the make configure stage (which is being executed during part of make install). Note the USE_AUTOTOOLS line in the Makefile. Make your changes to configure.in. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Load trends over time
I currently maintaining some systems that run Nagios clients and the server spews out socket timeout after 10s msgs on occasion even when nothing is wrong. Does anyone know of any kind of tool that saves system data over time and allows for people to trend for patterns? If not, what options should I use with ps and what columns should I be capturing so I can save the resulting data via script? tia, - Joe _ See how Windows connects the people, information, and fun that are part of your life. http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Patching php port
On Wed, Oct 01, 2008 at 01:14:03PM +0100, Tamar Lea wrote: Thanks for your reply, Jeremy. I now understand why it didn't work, but I have absolutely no idea how to edit configure.in. I have only just figured out what my patch is doing today. I think it would be easier to tell the makefile to modify configure after the autoconf, but I don't know how to do that either. This is the patch I wish to apply: Welcome to the pains of the GNU autotools! Here's what you'll need: http://www.gnu.org/software/autoconf/manual/html_node/index.html You should be able to examine the configure.in file and reverse engineer how to accomplish what you need. Remember: it's just a mix of sh, m4, and macros. Don't let it diminish your morale. :-) -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Kernel panic! 7.0-RELEASE-p4
Our box, without readily obvious provocation, started doing this today: Panic: softdep_setup_inomapdep: dependency for new inode already exists. cpuid: 0 physical memory: 1971 MB dumping 78MB: 63 47 31 15 The system then immediately reboots, and hits the panic, reboots, etc. What can I do?? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting up gmirror
Wednesday, October 1, 2008 6:34 AM From: Andrew Falanga [EMAIL PROTECTED] To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org Hi, I've just finished setting up a new web server, and if I get my DNS stuff correct hopefully an e-mail server too, for my church. Originally, the intention was to use RAID1 on the MOBO. However, the RAID controller on the MOBO consistently tried to make the SATA DVD drive part of the RAID array and wouldn't boot the FreeBSD boot disk. So, at the suggestion of another respondent here, I've decided to use gmirror. Now, it seems that gmirror is, perhaps, newer to FreeBSD than the software RAID stuff in the Handbook. That mentions ccd(4) and doesn't make any mention of gmirror(8). It seems like gmirror is rather easy to work with, and more important, easy to recover from is hardware fails. In any event, I want to make sure I'm understanding the manual page correctly because I don't have anything else to test this on except the churches computer. We have two Seagate 250gb SATA drives. Identical drive models so their sizes are the same. Is this the command, from gmirror(8), the one I'll want to use? Create a mirror on disk with valid data (note that the last sector of the disk will be overwritten). Add another disk to this mirror, so it will be synchronized with existing disk: gmirror label -v -b round-robin data da0 gmirror insert data da1 Though in my case, da0 and da1 will be ad4 and ad5. This seems to be the one I'm looking for, I'm just scared of wiping out more than I bargain for. Andy -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? ** Hi Andy, Although I assume you can't start from scratch, I think the article on this topic by the famous Dru Lavigne is very good: http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html This is what I've used to do it. Now I did a google search and found: http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html?page=2 And gmirror is in the handbook, if found it in: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-mirror.html So these sources will give you a lot of knowledge. I swear by gmirror, I had very good experience with it and will use it in the future again. I just need to find some time to attach the two identical HDD's to my via c7 system. Brgds Dino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best way to back up mysql database
So, I thought I would post my ruby script for doing this backup... It's a little verbose for some tastes, but I like to be able to see what's happening in a script, blow by blow. This script rotates the backups according to the day of the month, so you get roughly 30 days backup. It also moves the backup to a remote backup server, keeping the latest backup on the local machine for one day. It also sends emails in case of error, and one email for success, to give you that warm and fuzzy feeling that comes from having a good backup. -- John #!/usr/local/bin/ruby debug = true day_of_month = Time.now.day backup_file = all.mysql.+day_of_month.to_s+.txt remote_backup_location = [EMAIL PROTECTED]:backup_dir # user must be able to login to backup_host.com without password db_user = username db_pass = password db_host = dbhost notify_email = [EMAIL PROTECTED] # - no configuration below this line # remove yesterday's local backup puts removing previous backups if debug `rm all.mysql.*.gz` puts remove status: #{$?.exitstatus} if debug # create backup file backup_command = /usr/local/bin/mysqldump -Q -u#{db_user} -p# {db_pass} -h#{db_host} --all-databases #{backup_file} puts backup_command if debug `#{backup_command}` puts backup status: #{$?.exitstatus} if debug unless $?.exitstatus == 0 `echo Mysql backup failed with status: #{$?.exitstatus} | mail - s Mysql_backup Error #{notify_email}` exit end # zip it zip_command = /usr/bin/gzip #{backup_file} puts zip_command if debug `#{zip_command}` puts zip status: #{$?.exitstatus} if debug unless $?.exitstatus == 0 `echo Gzip failed with status: #{$?.exitstatus} | mail -s Mysql_backup Error #{notify_email}` exit end # move to backup directory move_command = scp #{backup_file}.gz #{remote_backup_location}/# {backup_file}.gz puts move_command if debug `#{move_command}` puts move status: #{$?.exitstatus} if debug unless $?.exitstatus == 0 `echo SCP failed with status: #{$?.exitstatus} | mail -s Mysql_backup Error #{notify_email}` exit end `echo Successfully backed up mysql to #{backup_file} | mail -s Mysql_backup Success #{notify_email}` ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting up gmirror
Hello, I swear by gmirror, I had very good experience with it and will use it in the future again. I just need to find some time to attach the two identical HDD's to my via c7 system. Actually, you don't need two identical HDD to make a gmirror. It's just important, that the one, you add to the already created array, is not smaller. Some would also argue that having two identical drives makes the array more prone, since they may fail identically. This also happened to me once, and I lost data. Bye, Nejc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel panic! 7.0-RELEASE-p4
Walter Venable wrote: Our box, without readily obvious provocation, started doing this today: Panic: softdep_setup_inomapdep: dependency for new inode already exists. cpuid: 0 physical memory: 1971 MB dumping 78MB: 63 47 31 15 The system then immediately reboots, and hits the panic, reboots, etc. What can I do?? Maybe boot into single user mode and run fsck? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Using global environment variables inside a subshell
Hi everyone, I've fudged together a quick disk space monitor that I will run from cron. Running the script works fine from the command line, but when I run it from cron, the environment variable is empty. Can someone point out the err of my ways?: #!/bin/sh /bin/df | \ /usr/bin/awk '{if($5 ~ % $6 !~ proc) {used=$5} else {used=}; \ sub(/%/, , used); \ if(used 95) print $6 is at used% on ENVIRON[HOSTNAME]!}' | \ mail -s Disk usage action required [EMAIL PROTECTED] Cheers! Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Canon Pixma iP4500 - problem with colours
I've just installed a Canon Pixma iP4500 on a 6.3 system using CUPS and gutenprint. Black printing is fine but I've got problems with colours. The colour wheel on the CUPS test page comes out as a psychedelic collection of brightly coloured rings. If I print from gimp then the correct colours appear but they are very dark and muddy. The colours start to look a bit more reasonable from the gimp if I push the gamma value up to 2. This isn't a physical problem with the printer, I get good results when printing from Windows. Should I be able to get correct colour rendering out of the box or do I have to fiddle about with the multitude of output control adjustments available on the CUPS admin panel? Or should I be using something other than CUPS, that's what I've always used so far but I'm happy to try alternatives if necessary. -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Process memory inspection
Hi, The top utility has SIZE and RES, but doesn't have what part of SIZE is sysv shared memory. Is there something that can print out in detail how a process uses / allocates its memory (I'm specifically interested in sysvshm but there's also the stack mmap)? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cant boot instalation media.
I tryed to install FreeBSD on my laptop (compaq nx6105), but it crashes and returns: HPTTR :no controller found. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Process memory inspection
In the last episode (Oct 01), Ivan Voras said: Hi, The top utility has SIZE and RES, but doesn't have what part of SIZE is sysv shared memory. Is there something that can print out in detail how a process uses / allocates its memory (I'm specifically interested in sysvshm but there's also the stack mmap)? You can get detailed process memory info from /proc/pid/map , or in 7.1 and later, procstat -v. I don't know how easy it is to identify which block is shared memory, though. -- Dan Nelson [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: PXE real life use
At 03:03 AM 10/1/2008, Chris Papageorgiou wrote: Hello all, I'd like to point a subject on PXE server usage on a daily basis such as a service department. Im thinking of developing such system to load OS's(not strictly *NIX) installations through LAN than using a CD each time. What would be the cons,pros to such system and what are the limits? Looking forward for your replies. Best regards, Chris Papageorgiou Chris, Have you read the handbook on diskless clients? That will give you some good background on the subject. The reason to use diskless clients is simplified support, where you only need to update the diskless client boot to update all the clients that use that boot. As for issues, bandwidth can be problematic, depending on the number of clients, and if they all boot at the same time. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best way to back up mysql database
Hello, You can store whole db files too. It's faster to run database from scratch than use mysqldump and mysql source. Best regards, Shamrock ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Scanner
I wonder if this is the right place to ask a question regarding FreeBsd7 and the Handbook. I have installed FreeBsd7 both i386 and amd64 architectures in two macines, one celeron dual core with 1GB, the other amd64x2 3800+ ,and I have problem with my scanner. I repeat here my thread to DaemonForums-BSD forum, which is self expanatory. Please bear in mind that I am new to computing and know a little bit only about Linux. I have not used any other operating system. Here it is: hello everybody, I am a computer newby, learning Linux and started with FreeBSD lately. The only OSs I know about. I am struggling with FreeBSD7 both as an i386 and amd64 architecture. The problem is my scanner a Canon Lide 60. Running #scanimage -L I get device `genesys:libusb:/dev/usb1:/dev/ugen0' is a Canon Lide 60 flatbed scanner which is right and it shows up with xsane as root (when I am lucky to use xsane as root in gnome) Now trying to: 7.6.4 Giving Other Users Access to the Scanner All previous operations have been done with root privileges. You may however, need other users to have access to the scanner. The user will need read and write permissions to the device node used by the scanner. As an example, our USB scanner uses the device node /dev/uscanner0 which is owned by the operator group. Adding the user joe to the operator group will allow him to use the scanner: # pw groupmod operator -m joe For more details read the pw(8) manual page. You also have to set the correct write permissions (0660 or 0664) on the /dev/uscanner0 device node, by default the operator group can only read the device node. This is done by adding the following lines to the /etc/devfs.rules file: [system=5] add path uscanner0 mode 660 Then add the following to /etc/rc.conf and reboot the machine: devfs_system_ruleset=system More information regarding these lines can be found in the devfs(8) manual page. Note: Of course, for security reasons, you should think twice before adding a user to any group, especially the operator group. I cannot find /etc/devfs.rules file, it does not exist. I tried to make one adding what I was instructed, to no avail. I tried to put [system=5] etc in the /etc/defaults/devfs.rules file, which exists, but it did not work either. I suppose I must be doing something wrong. Please bear in mind that this is my first time that I am using the command line. I have been able to thanks to the very easy and instructive FreeBSD's handbook. If you know why /etc/devfs.rules file is missing from both i386 and amd64 installations and what I can do if anything, please inform me. Thank you very much for your efort, borgibo Edit/Delete Message http://daemonforums.org/editpost.php?do=editpostp=15181 If this is the wrong place to ask please correct me. Thank you, John Vliouras ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Realtek 8111C?
On Tue, Sep 30, 2008 at 10:26:14PM -0600, Andrew Falanga wrote: On Mon, Sep 22, 2008 at 8:58 PM, Sebastian [EMAIL PROTECTED] wrote: Andrew Falanga wrote: On Saturday 20 September 2008 12:14:57 Sebastian wrote: Da Rock wrote: I have used the compiled driver on 6.3 with success- but then I've used the driver linked in a post to drivers list. 7.0 is a no go. I tried to compile the current OEM Realtek driver under (v176) on fbsd 6.3, but couldn't get it to build. My foo is a little thin here. :) Where did you get this OEM driver? The oem driver can be found here: http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1PNid=13PFid=5Level=5Conn=4DownTypeID=3GetDown=false It builds just fine on 6.3, once I read the file manual on how to build a kernel module. So far no problems running it with a fair amount of traffic. Awesome! Thanks. If I've been understanding another thread on here, it sounds like there's a FreeBSD driver coming in 7.1. Just for the record: the re(4) driver on my FreeBSD 7.1-PRERELEASE #0: Fri Sep 26 14:43:33 CEST 2008 (both i386 and amd64) now runs like a charm on a RealTek 8111C on-board NIC (at least with 100baseTX, I didn't test with Gigabit): re0: RealTek 8168/8168B/8168C/8168CP/8111B/8111C/8111CP PCIe Gigabit Ethernet port 0xe800-0xe8ff mem 0xfdfff000-0xfdff, 0xfdfe-0xfdfe irq 17 at device 0.0 on pci2 re0: Chip rev. 0x3c00 re0: MAC rev. 0x0020 miibus0: MII bus on re0 rgephy0: RTL8169S/8110S/8211B media interface PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto $ ifconfig re0 re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1460 options=389bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM, WOL_UCAST,WOL_MCAST,WOL_MAGIC ether 00:21:85:XX:YY:ZZ inet6 fe80::221:85ff:feXX:YYYZZ%re0 prefixlen 64 scopeid 0x1 inet 192.168.254.60 netmask 0xff00 broadcast 192.168.254.255 media: Ethernet autoselect (100baseTX full-duplex) status: active $ lspci -v (...) 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) Subsystem: Micro-Star International Co., Ltd. Unknown device 501c Flags: bus master, fast devsel, latency 0, IRQ 17 I/O ports at e800 Memory at fdfff000 (64-bit, prefetchable) Memory at fdfe (64-bit, prefetchable) Expansion ROM at feaf [disabled] Capabilities: [40] Power Management version 3 Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/1 Enable- Capabilities: [70] Express Endpoint, MSI 01 Capabilities: [b0] MSI-X: Enable- Mask- TabSize=2 Capabilities: [d0] Vital Product Data ? Andy -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Questions drivers for VGA and NIC
Hi BSD folks! I installed FreeBSD 7 Release - amd64. I have ATI Radeon HD2600 pro VGA card but ATI is sucks for supporting driver for Linux or FreeBSD! So, I'm considering to replace the dam ATI card with NVIDIA Geforce. I don't wanna play 3D games on FreeBSD, so just cheap Geforce card would be enough, but it should support 1920x1200 resolution. I wonder if what Geforce model is supported by the FreeBSD 7R - amd64. Anybody can recommend? Second, I want to use zero-copy facility of FreeBSD. As far as I know, the hardware (NIC) support (Scatter-Gather DMA) is needed for that as well as using sendfile() api. Among the NIC products which has SGDMA function in the market, which one is the most well supported by FreeBSD 7R - amd64? I got a technical support from Intel, and they said there is no Intel NIC which supports SGDMA. That is so surprising.. isn't it? The driver issue is killing me on FreeBSD. Thanks. -- ** Mungyung Ryu Ph.D. Student. College of Computing Georgia Institute of Technology, Atlanta ** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Questions drivers for VGA and NIC
Date: Wed, 1 Oct 2008 14:18:10 -0400 From: [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Subject: Questions drivers for VGA and NIC Hi BSD folks! I installed FreeBSD 7 Release - amd64. I have ATI Radeon HD2600 pro VGA card but ATI is sucks for supporting driver for Linux or FreeBSD! So, I'm considering to replace the dam ATI card with NVIDIA Geforce. I don't wanna play 3D games on FreeBSD, so just cheap Geforce card would be enough, but it should support 1920x1200 resolution. I wonder if what Geforce model is supported by the FreeBSD 7R - amd64. Anybody can recommend? You trying to use the ATI driver or the RadeonHD driver? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions drivers for VGA and NIC
On Wednesday 01 October 2008, Mungyung Ryu [EMAIL PROTECTED] sent a missive stating: Hi BSD folks! I installed FreeBSD 7 Release - amd64. I have ATI Radeon HD2600 pro VGA card but ATI is sucks for supporting driver for Linux or FreeBSD! So, I'm considering to replace the dam ATI card with NVIDIA Geforce. I don't wanna play 3D games on FreeBSD, so just cheap Geforce card would be enough, but it should support 1920x1200 resolution. I wonder if what Geforce model is supported by the FreeBSD 7R - amd64. Anybody can recommend? The nVidia binary drivery doesn't support amd64 if you were thinking of using that. Personally, if it's in the cards I would look for a intel board with the onboard video. The driver issue is killing me on FreeBSD. Call the vendors and tell them you want drivers. Henrik -- Henrik Hudson [EMAIL PROTECTED] -- God, root, what is difference? Pitr; UF (http://www.userfriendly.org/) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PXE real life use
Dear Derek, First Id like to thank you for your reply. Yes I've read the handbook and lots of other technical articles on this particular subject, what concerns me is the overall 'worth' of this technique just to install OS's on customer's computers through PXE and not by the traditional way. Best Regards, Chris Derek Ragona wrote: At 03:03 AM 10/1/2008, Chris Papageorgiou wrote: Hello all, I'd like to point a subject on PXE server usage on a daily basis such as a service department. Im thinking of developing such system to load OS's(not strictly *NIX) installations through LAN than using a CD each time. What would be the cons,pros to such system and what are the limits? Looking forward for your replies. Best regards, Chris Papageorgiou Chris, Have you read the handbook on diskless clients? That will give you some good background on the subject. The reason to use diskless clients is simplified support, where you only need to update the diskless client boot to update all the clients that use that boot. As for issues, bandwidth can be problematic, depending on the number of clients, and if they all boot at the same time. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/PXE-real-life-use-tp19756184p19767056.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions drivers for VGA and NIC
Henrik Hudson writes: The driver issue is killing me on FreeBSD. Call the vendors and tell them you want drivers. nVidia, at least, is aware of the issue and has offered to write and maintain drivers ... provided certain capabilities are added to the kernel. (See previous discussion in this mailing list.) This has - obviously - not happened, and I do not know of work in progress. I do agree that the first vendor to provide working drivers will make quite a few sales. (Me among them.) Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: built-in samba mount
On Wed, Oct 01, 2008 at 12:43:01PM +0300, EforeZZ wrote: I'm able to mount only //pc/share (not //pc/share/folder) and I do not have read access to read contents of //pc/share and FreeBSD does not let me to change the directory to //pc/share/folder. Windows allows to mount //pc/share/folder and I have no access problems in Windows. Is there any solution for FreeBSD? Read the mount_smbfs manual page (with the command 'man mount_smbfs'). A quick look tells us that you'll need to use //[EMAIL PROTECTED]/share/folder instead of //pc/share/folder. Other options allow you to configure access rights and owner/group attributes. I do use //[EMAIL PROTECTED]/share/folder for mounting but I get //[EMAIL PROTECTED]/share mounted instead of //[EMAIL PROTECTED]/share/folder. It seems that the /folder part is ignored. Generally, you can mount a filesystem, but not just a subdirectory. You might be able to mount the share somewhere and then use mount_nullfs to mount the subdirectory you want somewhere else. See mount_nullfs(8). Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpx7MAqraxpJ.pgp Description: PGP signature
Updating and Ports
Hi all, I have heard people chattering occasionally about /etc/make.conf. In a few days, I will be updating from 6.2, and 6.3, to RELENGE_6_3 and am curious how I can use / modufy /etc/make.conf so that I dont need to install all my ports again. Which leads to the question: I just installed /usr/ports/archivers/unzip onto all the servers, when I update to RELENG_6_3, will I need to reinstall them all over again? Which leads back to the original question, can I modify /etc/make.conf so that all ports currenly install are re installed? -Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Scanner
John Vliouras wrote: I wonder if this is the right place to ask a question regarding FreeBsd7 and the Handbook. It is, unless you have a specific fix (patch) for the handbook, in which case you send a PR and/or discuss it on the doc@ list (generally send a PR is correct; doc@ is a list for use by the doc writers, so it should be pretty important before we bother them). I have installed FreeBsd7 both i386 and amd64 architectures in two macines, one celeron dual core with 1GB, the other amd64x2 3800+ ,and I have problem with my scanner. snip The problem is my scanner a Canon Lide 60. Running #scanimage -L I get device `genesys:libusb:/dev/usb1:/dev/ugen0' is a Canon Lide 60 flatbed scanner which is right and it shows up with xsane as root (when I am lucky to use xsane as root in gnome) Now trying to: 7.6.4 Giving Other Users Access to the Scanner All previous operations have been done with root privileges. You may however, need other users to have access to the scanner. The user will need read and write permissions to the device node used by the scanner. As an example, our USB scanner uses the device node /dev/uscanner0 which is owned by the operator group. Adding the user joe to the operator group will allow him to use the scanner: # pw groupmod operator -m joe For more details read the pw(8) manual page. You also have to set the correct write permissions (0660 or 0664) on the /dev/uscanner0 device node, by default the operator group can only read the device node. This is done by adding the following lines to the /etc/devfs.rules file: [system=5] add path uscanner0 mode 660 Since your device is ugen0 instead of uscanner0, you might try adjusting the line to fit that. Then add the following to /etc/rc.conf and reboot the machine: devfs_system_ruleset=system More information regarding these lines can be found in the devfs(8) manual page. Note: Of course, for security reasons, you should think twice before adding a user to any group, especially the operator group. I cannot find /etc/devfs.rules file, it does not exist. I tried to make one adding what I was instructed, to no avail. I tried to put [system=5] etc in the /etc/defaults/devfs.rules file, which exists, but it did not work either. Well, you didn't find /etc/devfs.rules because it's not created by default, but only is used if additional local configuration is needed (for example, to change permissions on a scanners /dev/ node). :-) Creating the file in /etc/ is the way to go. Perhaps if you note what I said above it will work for you this time. However, IANAE, some it may not, (YMMV, #include disclaimer.h and all that). I suppose I must be doing something wrong. Please bear in mind that this is my first time that I am using the command line. I have been able to thanks to the very easy and instructive FreeBSD's handbook. It is nice, isn't it? :-) Thank you, John Vliouras Kevin Kinsey -- Don't despise your poor relations, they may become suddenly rich one day. -- Josh Billings ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cannot create custom FreeBSD 7.0 install CD for serial console
Jeremy Chadwick wrote: On Wed, Oct 01, 2008 at 02:41:03AM -0700, Carl wrote: I've been trying to create a modified FreeBSD 7.0 install CD that will allow me to do installations entirely via the serial console on a headless system. Lots of digging on the Internet, reading the handbook, and I've gotten nowhere fast. Try this: http://jdc.parodius.com/freebsd/pxeboot_serial_install.html I was already aware of that solution, but it's not for me. There are times when I need to do the install and setting up a DHCP server et al is not viable. Installing FreeBSD via the network has no benefits for me and I will not be trying to install remotely. All I need is to be able to do a simple install using the local serial console because a keyboard and monitor is not practical in the situation. Can anyone tell me where the mistake is in my process? Carl / K0802647 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Scanner
On Wed, Oct 01, 2008 at 07:28:29PM +0300, John Vliouras wrote: I wonder if this is the right place to ask a question regarding FreeBsd7 and the Handbook. snip The problem is my scanner a Canon Lide 60. Running #scanimage -L I get device `genesys:libusb:/dev/usb1:/dev/ugen0' is a Canon Lide 60 flatbed scanner which is right and it shows up with xsane as root (when I am lucky to use xsane as root in gnome) snip I cannot find /etc/devfs.rules file, it does not exist. I tried to make one adding what I was instructed, to no avail. I tried to put [system=5] etc in the /etc/defaults/devfs.rules file, which exists, but it did not work either. A new install doesn't have a devfs.rules file. You must create it. What I did to get my scanner and other devices working is the following; - Use pw(8) to create a group named usb, adding my user-id to the group: pw groupadd -n usb -m my_user_id - Write /etc/devfs.rules to give the usb group access: [customruleset=10] add path 'da*' mode 0660 group usb add path 'msdosfs/*' mode 0660 group usb add path 'uscanner*' mode 0660 group usb add path 'usb*' mode 0660 group usb add path 'ugen*' mode 0660 group usb (The third 'add' line is for the scanner.) - Activate the ruleset in /etc/rc.conf: devfs_system_ruleset=customruleset - Now either reboot the machine, or restart devfs using '/etc/rc.d/devfs restart' - Then plug in the scanner and switch it on. You should see /dev/uscanner appear with the right permissions. For the scanner to work in sane, you might need to edit its configuration files. You should edit /usr/local/etc/sane.d/dll.conf to make it load the genesys backend. (just add a line 'genesys' if not present.) The LiDE 60 is listed in /usr/local/etc/sane.d/genesys.conf, but if it doesn't work, add a line 'usb /dev/uscanner0' to genesys.conf. On my FreeBSD page[1] I documented the system configuration that I did on my machine. You might find it usefull. Roland [1] http://www.xs4all.nl/~rsmith/freebsd/index.html -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpRWQaMjgnmV.pgp Description: PGP signature
Re: Updating and Ports
On Wed, Oct 01, 2008 at 04:15:20PM -0400, Grant Peel wrote: Hi all, I have heard people chattering occasionally about /etc/make.conf. In a few days, I will be updating from 6.2, and 6.3, to RELENGE_6_3 and am curious how I can use / modufy /etc/make.conf so that I dont need to install all my ports again. You only have to reinstall your ports if you change to another major version, e.g. from 6.x to 7.x. For a change from 6.2 to RELENG_6_3 that isn't necessary. Editing make.conf will not in any way reinstall ports for you. What it make.conf does is pass options to the 'make' program. Nothing more. Options in make.conf can be global or only apply when make is called from a specific directory: - make.conf example - # Global flag; documentation languages DOC_LANG=en_US.ISO8859-1 # Flag specific to the cups port. .if ${.CURDIR:M*/print/cups*} CUPS_OVERWRITE_BASE=true .endif - make.conf example - Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpL50ftcdQ6s.pgp Description: PGP signature
Re: Questions drivers for VGA and NIC
I don't wanna play 3D games on FreeBSD, so just cheap Geforce card would be enough, but it should support 1920x1200 resolution. I wonder if what Geforce model is supported by the FreeBSD 7R - amd64. Anybody can recommend? none of them are supported on any arch. unless giving somewhat-working binary only, and x86-32 bit-only files you call a support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using global environment variables inside a subshell
Steve Bertrand [EMAIL PROTECTED] writes: I've fudged together a quick disk space monitor that I will run from cron. Running the script works fine from the command line, but when I run it from cron, the environment variable is empty. Can someone point out the err of my ways?: #!/bin/sh /bin/df | \ /usr/bin/awk '{if($5 ~ % $6 !~ proc) {used=$5} else {used=}; \ sub(/%/, , used); \ if(used 95) print $6 is at used% on ENVIRON[HOSTNAME]!}' | \ mail -s Disk usage action required [EMAIL PROTECTED] The environment under which cron jobs are run is very spare. It's more or less limited to the variables that are listed in the crontab(5) manual. You need to get the value into your script another way. In this case, I would use hostname(1). -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Canon Pixma iP4500 - problem with colours
On Wed, Oct 01, 2008 at 03:46:29PM +0100, Mike Clarke wrote: I've just installed a Canon Pixma iP4500 on a 6.3 system using CUPS and gutenprint. Black printing is fine but I've got problems with colours. The colour wheel on the CUPS test page comes out as a psychedelic collection of brightly coloured rings. If I print from gimp then the correct colours appear but they are very dark and muddy. The colours start to look a bit more reasonable from the gimp if I push the gamma value up to 2. Have you installed a .ppd file for this printer? This is a file that tells cups about the capabilities of this printer. See http://www.linuxprinting.org/show_printer.cgi?recnum=Canon-PIXMA_IP4300_OR_PIXMA_IP4500 I'm not sure if just installing the ppd file works. It does for my PostScript printer. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp2x6sqxjiha.pgp Description: PGP signature
Lenovo X200s
The Thinkpad series has always had strong FreeBSD support with the two digit models (Xnn) but I am a bit iffy on Lenovo's attempts to morph the Thinkpads into something else via the three digit series (Xnnn). Anybody own a X200s and successfully running FreeBSD 7.x? Cheers, -Peter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions drivers for VGA and NIC
On Wed, 1 Oct 2008 15:24:33 -0400 Robert Huff [EMAIL PROTECTED] wrote: [snip] nVidia, at least, is aware of the issue and has offered to write and maintain drivers ... provided certain capabilities are added to the kernel. (See previous discussion in this mailing list.) This has - obviously - not happened, and I do not know of work in progress. I do agree that the first vendor to provide working drivers will make quite a few sales. (Me among them.) In all likelihood, the probability of any vendor creating FBSD specific drivers is directly proportionate to the expenditure of funds to create and maintain the driver versus the expected revenue from such an expenditure. Unfortunately, doing a quick search, I was not able to locate the article(s) you referenced above. I would like to see exactly what NVIDIA is requesting. -- Jerry [EMAIL PROTECTED] Many people would rather die than think; in fact, most do. Bertrand Russell signature.asc Description: PGP signature
Re: Questions drivers for VGA and NIC
In all likelihood, the probability of any vendor creating FBSD specific drivers is directly proportionate to the expenditure of funds to create and maintain the driver versus the expected revenue from such an expenditure. giving out a specs will be the simplest way. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions drivers for VGA and NIC
Jerry [EMAIL PROTECTED]: nVidia, at least, is aware of the issue and has offered to write and maintain drivers ... provided certain capabilities are added to the kernel. (See previous discussion in this mailing list.) This has - obviously - not happened, and I do not know of work in progress. I do agree that the first vendor to provide working drivers will make quite a few sales. (Me among them.) Unfortunately, doing a quick search, I was not able to locate the article(s) you referenced above. I would like to see exactly what NVIDIA is requesting. Sorry - wrong list. Try: http://lists.freebsd.org/pipermail/freebsd-hackers/2006-June/016995.html Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions drivers for VGA and NIC
On Wednesday 01 October 2008, Jerry [EMAIL PROTECTED] sent a missive stating: On Wed, 1 Oct 2008 15:24:33 -0400 Robert Huff [EMAIL PROTECTED] wrote: [snip] nVidia, at least, is aware of the issue and has offered to write and maintain drivers ... provided certain capabilities are added to the kernel. (See previous discussion in this mailing list.) This has - obviously - not happened, and I do not know of work in progress. I do agree that the first vendor to provide working drivers will make quite a few sales. (Me among them.) In all likelihood, the probability of any vendor creating FBSD specific drivers is directly proportionate to the expenditure of funds to create and maintain the driver versus the expected revenue from such an expenditure. Unfortunately, doing a quick search, I was not able to locate the article(s) you referenced above. I would like to see exactly what NVIDIA is requesting. Digg through the nVidia forum. They've posted the specs / story there with a few links off to FreeBSD forum / lists as well. Henrik -- Henrik Hudson [EMAIL PROTECTED] -- God, root, what is difference? Pitr; UF (http://www.userfriendly.org/) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions drivers for VGA and NIC
On Wed, 1 Oct 2008 23:25:19 +0200 (CEST) Wojciech Puchar [EMAIL PROTECTED] wrote: In all likelihood, the probability of any vendor creating FBSD specific drivers is directly proportionate to the expenditure of funds to create and maintain the driver versus the expected revenue from such an expenditure. giving out a specs will be the simplest way. Any entity, or corporation, has a right to expect a return on their investment. To expect a corporation to simply give away something, thereby depriving their shareholders, partners or whatever, of their rightfully expected monetary reward is foolish. It certainly is not a well thought out business model. -- Jerry [EMAIL PROTECTED] If man is only a little lower than the angels, the angels should reform. Mary Wilson Little signature.asc Description: PGP signature
Re: Questions drivers for VGA and NIC
On Wed, 1 Oct 2008 17:52:08 -0400 Robert Huff [EMAIL PROTECTED] wrote: Sorry - wrong list. Try: http://lists.freebsd.org/pipermail/freebsd-hackers/2006-June/016995.html Thanks! Considering the age of the article, Thu Jun 29 11:12:35 UTC 2006, I am surprised that more has not transpired since then. It would appear that they are genuinely interested in at least attempting to get a fully functional driver in place for the FBSD architecture. -- Jerry [EMAIL PROTECTED] I am very fond of the company of ladies. I like their beauty, I like their delicacy, I like their vivacity, and I like their silence. Samuel Johnson signature.asc Description: PGP signature
Re: Questions drivers for VGA and NIC
On Wednesday 01 October 2008, Jerry [EMAIL PROTECTED] sent a missive stating: On Wed, 1 Oct 2008 23:25:19 +0200 (CEST) Wojciech Puchar [EMAIL PROTECTED] wrote: In all likelihood, the probability of any vendor creating FBSD specific drivers is directly proportionate to the expenditure of funds to create and maintain the driver versus the expected revenue from such an expenditure. giving out a specs will be the simplest way. Any entity, or corporation, has a right to expect a return on their investment. To expect a corporation to simply give away something, thereby depriving their shareholders, partners or whatever, of their rightfully expected monetary reward is foolish. It certainly is not a well thought out business model. There is a difference between open sourcing the binary blob and possibly giving away optimizations, trade secrets, etc... and allowing easier access to either hardware register specs or specs to write a wrapper around a universal blob. Personally, I think they see it as a quality control issue, though the quality of their own code is sometimes circumspect. The card companies sell hardware and this is where their money is made and/or a better experience with the software drivers. Open the hardware spec, add a support clause that any open source drivers aren't officially supported and you're good to go. Opening the hardware spec will do nothing except sell more hardware. a) the average joe will continue to buy systems with the supported hardware / drivers, most likely Windows, OS X or a major Linux distro. Probably wouldn't even know the open source ones exist. b) the geeks of the world will start running the open source driver if it's better or not if it's worse for their applications. Either way, it will only sell more hardware. c) The FOSS only crowd will start using the hardware since it has a fully open source drivers. The open source driver doesn't need to be able to run Doom5 at incredible speeds, it just needs high quality 2d and the ability to handle some 3d compositing, etc... for desktop effects. My .02$ Henrik -- Henrik Hudson [EMAIL PROTECTED] -- God, root, what is difference? Pitr; UF (http://www.userfriendly.org/) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions drivers for VGA and NIC
giving out a specs will be the simplest way. Any entity, or corporation, has a right to expect a return on their investment. To expect a corporation to simply give away something, quite a difference. for example - documentation about say pentium 4 assembly language and opcodes are widely available. does it help say AMD making faster processor? no. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Logrotate
Hi all, I have recently started using logrotate to rotate all the logs in the users home directories. These are all apache logs files. /home/domain.com/logsaccess_log /home/domain.com/logsaccess_log.0.gz /home/domain.com/logsaccess_log.1.gz /home/domain.com/logsaccess_log.2.gz I have a problem though. Some of my domains have softlinks pointing to them, this causes the logs to be rotated 2 or more times (i.e. 1 time for the 'real' directory, and 1 time each for each softlink pointing to them). Example /home/domain.com/logs/ domain2.com - domain.com domain3.com - domain.com will result in the 'access_log' being rotated 3 times in one run, causing my log dirs to look like this: -rw-r--r-- 1 root holt 160 Oct 1 05:44 access_log -rw-r--r-- 1 root holt 446 Oct 1 05:44 error_log -rw-r--r-- 1 root holt20 Oct 1 03:46 access_log.1.gz -rw-r--r-- 1 root holt20 Oct 1 03:46 access_log.2.gz -rw-r--r-- 1 root holt20 Oct 1 03:46 access_log.3.gz -rw-r--r-- 1 root holt20 Oct 1 03:46 access_log.4.gz -rw-r--r-- 1 root holt20 Oct 1 03:46 access_log.5.gz -rw-r--r-- 1 root holt20 Oct 1 03:46 access_log.6.gz -rw-r--r-- 1 root holt 224 Oct 1 03:46 access_log.7.gz -rw-r--r-- 1 root holt20 Sep 30 03:46 access_log.8.gz -rw-r--r-- 1 root holt20 Sep 30 03:46 access_log.9.gz Here is this appropriate part of my logrotate.conf # logrotate.conf compress ... /home/*/logs/access_log { missingok rotate 14 daily create 644 root sharedscripts postrotate /usr/local/sbin/apachectl restart endscript } # End of logrotate.conf Question, is there a way to stop this from happening? -Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mysql rc script failure - correction: most installed rc scripts not running manually
On Wed, 2008-10-01 at 12:53 +0200, Erik Trulsson wrote: On Wed, Oct 01, 2008 at 08:39:47PM +1000, Da Rock wrote: On Wed, 2008-10-01 at 12:57 +0400, Boris Samorodov wrote: Da Rock [EMAIL PROTECTED] writes: On Wed, 2008-10-01 at 15:40 +1000, Da Rock wrote: Has anyone else had trouble with starting mysql server with the rc script? I've only just installed from ports (as a dependency, mind) and technically it should just start when you run the rc script - it sets up the db dirs and stuff so it can just run. But I can't get it to do the setup stuff automatically, and so the script fails. I've done the setup manually before so its no real biggy, but I imagine others would be more than a little frustrated. Anyone else have this trouble? I just realised I had to do this last time too... For reference: I'm starting the script manually for testing at this point (if that makes a difference- which I believe it shouldn't). Manually running port installed rc scripts is not working manually. I'm trying mysql, courier-imap, and I've tried isc-dhcp in the past. None of these will work when run manually- even on different machines and bsd versions (all 6.x). Is it just me? Sorry for may be a dumb question: did you define an daemon_enable=YES at /etc/rc.conf[.local]? For more info you may look at the script you are trying to start. So are you saying I can't start a script manually without enabling it in rc.conf? I was not under that impression... I thought it could be started manually for testing before setting it for automatic startup- based on my reading in the handbook and man pages. Yes, you can. Use forcestart/forcestop instead of start/stop when running the rc script if you do not have it enabled in rc.conf. This is documented in rc(8) (and is very easily overlooked if you don't know what you are looking for.) Well thank you both for that piece of information, I had overlooked that. I did end up using it that way, but I was still unaware that it was mandatory. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Bruteblocker
Hi all, I have been tinkering with bruteblock all night, and was wondering if anyone else on this list has used it. I can't seem to get proftpd.conf, syslog.conf setup correclty to log the ips to table one (in ipfw). Any assistance would be appreciated. -grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PXE real life use
At 02:04 PM 10/1/2008, Chris Papageorgiou wrote: Dear Derek, First Id like to thank you for your reply. Yes I've read the handbook and lots of other technical articles on this particular subject, what concerns me is the overall 'worth' of this technique just to install OS's on customer's computers through PXE and not by the traditional way. Best Regards, Chris Chris, This is best used as a way to boot a client into an OS. You can then control the OS used for these clients, AND have just one place to worry about updates. It also gives you control on what applications you make available to the users. While you can use PXE,, bootp, or tftp to provide a boot and then load an OS to a local drive, that is usually more trouble than it is worth. -Derek Derek Ragona wrote: At 03:03 AM 10/1/2008, Chris Papageorgiou wrote: Hello all, I'd like to point a subject on PXE server usage on a daily basis such as a service department. Im thinking of developing such system to load OS's(not strictly *NIX) installations through LAN than using a CD each time. What would be the cons,pros to such system and what are the limits? Looking forward for your replies. Best regards, Chris Papageorgiou Chris, Have you read the handbook on diskless clients? That will give you some good background on the subject. The reason to use diskless clients is simplified support, where you only need to update the diskless client boot to update all the clients that use that boot. As for issues, bandwidth can be problematic, depending on the number of clients, and if they all boot at the same time. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/PXE-real-life-use-tp19756184p19767056.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Securing system with kern.securelevel
Hi, Which would be the correct secure level ? 1, 2, or 3? Not sure, I usually use level 1 across the servers. Also, where i must put the kern.securelevel? $ grep secure /etc/rc.conf kern_securelevel=1 kern_securelevel_enable=YES Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Software Compliance audits (BSA) - no problem!
assets monitoring community inventory security patch helpdesk Web remote [http://gw.vtrenz.net/?SJIAXWWTT2:VYHOK5KD2D=ssID:141250888,email:[EMAIL PROTECTED] Software That Pays For Itself? The Gartner Group states that companies are overbuying software licenses on 60% of their software title and out of compliance on 30%. This means that they are only spot on for 10% of the software in their environment! When it comes to EA renewals, this equates to big dollars. According to a multi-billion dollar reseller, for a company of 300 systems, typical savings from a properly balanced EA true-up is $28,000 for a 3-year agreement. For 2400 users, the savings is $208,000. Highlights: - Identify and remove unused software licenses from your environment - Wake-On-LAN, checkpoint/restart, auto-retry for software delivery - Save money by determining the right level of usage for each application - Reduce software license costs by at least 10-15% (procurement and renewals) - Leverage our 300k+ SW title catalog to identify all the SW in your environment - Customized Web dashboard and reports for your asset manager and CFO - Track usage on all systems whether on the LAN, remote, or traveling [http://gw.vtrenz.net/?SJIAXWWTT2:SS78RG78F3=ssID:141250888,email:[EMAIL PROTECTED] With accurate software installation data available from TriActive, we analyzed our software license compliance. We found some instances where we had too many licenses, and in others we did not have enough. Using TriActives solution, we saved $300,000! This message was sent by: Annette Locchi, One Raffles Quay Level 25, North Tower, Singapore, none 449297, Singapore Powered by iContact: http://freetrial.icontact.com Manage your subscription: http://app.icontact.com/icp/mmail-mprofile.pl?r=15296656l=15356s=O4YXm=213774c=203543 Forward this message: http://app.icontact.com/icp/sub/forward?m=213774s=15296656c=O4YXcid=203543 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Optimal File System config for 2.5TB RAID5
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wojciech Puchar wrote: | | the simple answer is that software RAID on todays computers vastly | outperforms ANY hardware raid solution, maybe except the ones for 1$ | or more. You're basically correct, but I think you're overestimating the price of a good RAID controller. no. please give me example of any RAID hardware below 1$ that WILL be faster than properly configure software RAID solution under FreeBSD with same amount of same disks. i mean faster under normal unix-like load, which is lots of parallel accesses to same or different things, not simple tests. there are NONE. I have a number of systems running postgresql + a python web application that see fairly heavy concurrent access. The 3ware 9690SA outperforms gmirror and can be had in 4 port with the battery for $600 or so. 8 port with a battery is closer to $1000 Hardware RAID gets you boot support from stripes, email alerts for RAID events in many cases, and with a battery the option to turn write caching on on the controller. Unfortunately there are a number of bad and/or poorly supported RAID controllers out there, especially on FreeBSD. I'd never suggest to anyone that my highpoint 2300 or LSI 3041R-E are high performance, but on the other hand, at real world tasks like a database that backs up a webserver doing millions of hits a day, the LSI 320-2E does RAID 10 faster than gvinum, and my 3ware 9690SA's are faster than gmirror at RAID 1, plus offer the option for a warm spare. Software RAID has advantages, namely hardware independance. And it can be faster than low end hardware RAID. But you don't have to spend much to get a hardware solution that will smoke software RAID at real world applications. - -- Thanks, Josh Paetzel PGP: 8A48 EF36 5E9F 4EDA 5ABC 11B4 26F9 01F1 27AF AECB -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) iD8DBQFI5EbNJvkB8SevrssRAvdLAJ96CLUVK3M2YLKNmAxmIPlxoqp+fgCgnLp6 H1OgEHevOKqDJ/FRg5+fHpU= =MQFo -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]
Re: nat and firewall
On Thu, Sep 25, 2008 at 12:10 AM, Kevin Kinsey [EMAIL PROTECTED] wrote: FBSD1 wrote: natd_enable=YES This statement in rc.conf enables ipfw nated function. firewall_nat_enable=YES This is an invalid statement. No such thing as you have here. This is no longer true; he did indeed find firewall_nat_enable in /etc/defaults/rc.conf. The knob seems to have first appeared in February in HEAD and I'm guessing it cues the system to use a new kernel-based nat rather than natd(8), but I've not read anything further about this, as my system isn't as up to date as the OP's. I don't know when this change was MFC'ed, but apparently fairly recently? I suppose we need someone a tad more in the know to straighten that out for us. up to this moment, i do not know if natd and firewall_nat function in the same or different. and is there firewall_nat_flags thing too ? thanks in advanced for any helps and hints. regards, psr Kevin Kinsey -- A wise man can see more from a mountain top than a fool can from the bottom of a well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
B-Boy Champs Warm Up On The Real
[hea=] The only official B-Boy Championships Warm Up Party [hea=] Friday 10th October 2008 @ Plan B, 418 Brixton Road, London SW9 (Brixton Tube) £3 B4 11pm / £5 B4 Midnight / £8 After With DJs James Pants (Stones Throw) Spin Doctor (The Doctor's Orders) Skeme Richards (Rock Steady Crew) DJ Timber (Zulu Kingz) = To mark the start of the busiest and most exciting week ends in British Hip-Hop London's premier party providers are heading south to host the only official B-Boy Champs' warm up party! With an incredible line up of US and UK talent, including two of the Champ's DJs, playing everything from the finest in party Hip-Hop, B-Boy breaks through to Disco and classic Soul there will no hiding place on the dance-floor as the UK's finest B-Boys and the dedicated Doctor's Orders crowd get down to the sounds of JAMES PANTS is the freshest thing to come out of the legendary Stones Throw label and with a roster that includes Madlib, Quasimoto Guilty Simpson to name a few that is really saying something. With his production sound incorporating everything from 80's Boogie Electro to New Wave Punk Disco it is his Soul Hip-Hop side that will be coming to the fore tonight as he blesses us with an exclusive London DJ set! SPIN DOCTOR is a favourite down at Plan B and pretty much everywhere he plays as there is no way you can not be having a good time when he is on the set. His party rocking sets of Hip-Hop in its broadest sense are not for the feint hearted and with this being a B-Boy special there are sure be to more than a few surprises in this set. SKEME RICHARDS has literally learnt from the best. Running a night alongside turntable legend DJ Cash Money and hailing from Philly the home of Jazzy Jeff, The Roots Gill Scott to name a few has been as fine an education as any DJ could ask for. As a member of the legendary Rock Steady Crew he has played a variety of events all over the world from B-Boy battles to fashion shows and has rocked every last one! DJ TIMBER having grown in Belfast he has established himself as one of the world finest B-Boy DJs playing events in all corners of the globe. He will be treating us to a rare party set that will be as high energy as Red Bull on speed! [1]facebook Event _ On The Real Baby J Album Launch Party = [3D] Bringing you true school Hip-Hop Soul from Prince Premier to Motown Mos Def 9pm-3am Friday 17th October 2008 @ Bar Rumba, 36 Shaftesbury Avenue, London W1 (Picadilly Tube) £5 in advance through ticketweb.co.uk / 0844-477-100 £10 on the door Baby J Baby Food Album Launch Party With special guests Baby J with live PA's from Million Dan, Tawiah, Alex Blood Malik With Resident DJs Shortee Blitz (Kiss FM / Extended Players) Spin Doctor (The Doctor's Orders) After 3 months of headline guests from the US in the shape of DJ Neil Armstrong, Sadat X and Bobbito matched by storming sets from our residents we are bringing back to the UK for this extremely special album launch party for the UK's most prolific and respected Hip-Hop producer who is pulling out all the stops and calling in an all star line up of MCs singers to join him. Baby J is the UK's very own Kanye West. Both hailing away from their respective nations' perceived centers of Hip-Hop they have both become experts in their field and man-magnets for the finest in Hip-Hop RB talent. Having struck gold with his ska remix of Mark Ronson's Valerie featuring girl of the moment Amy Winehouse which reached number 2 in the national charts and stayed there for eleven weeks as well as spending 5 weeks at the top of MTV's airplay chart Baby J's star is shining brighter than ever. With production credits for American Hip-Hop giants including Wu-Tang Clan, Brand Nubian and Dead Prez for his new Baby Food album he has selected a stella line up of UK vocal talent many of whom will be performing on the night. Once again he has shown his credentials as a studio giant and will be showing how those talents are matched by his skills on the decks as he rocks the house for the dedicated party people. Joining Baby J to perform tracks from his new album is titan of the UK Hip-Hop scene Million Dan that has one of the most definitive styles of any MC in the land. Stepping up to display the stunning soulful vocals that have seen her selected to travel the world as the primary vocalist for Marc Ronson's live show is Tawiah. Derby native Alex Blood will display the his lyrical dexterity that is as equally influenced by Marc Bolan as it is Toots and the Maytals. Malik will also be stepping up to raise the roof with the help of another packed dance-floor. [2]Check the interview wth Bobbito