getaddrinfo() failed in Apache 2.2
Hi, I'm working on a problem with Apache 2.2 + PHP on FreeBSD 6.1 x86 Recently, we've upgraded from Apache 1.3 to v2.2 , and since then PHP is unable to resolve hostnames unless they're specified in /etc/hosts . The error we'd get would be: php_network_getaddresses: getaddrinfo failed: hostname nor servname provided, or not known in /home/username/public_html/testphp.php on line 2 This is for a simple ? include(http://www.google.com); ? function. We know it is not a DNS problem, because if PHP is setup as a CGI function, it works fine. It is only in DSO mode that PHP malfunction like this. We're also having no issues with our resolver for mail, ping or any other services. Some people were pointing out that this is a fault of FreeBSD reaching a maximum number of file descriptors. Others said this can't be resolved until upgraded to FBSD 6.3 which we are not planning to go through. There are several hundred domains hosted on the server, but all was working fine with Apache 1.3. Our VNODES are a bit high, but haven't seen any errors: server# sysctl kern.maxvnodes kern.maxvnodes: 10 server# sysctl vfs.numvnodes vfs.numvnodes: 84805 server# sysctl kern.maxfiles kern.maxfiles: 65536 kern.maxfilesperproc: 32767 Anyone be able to guide me in the right direction here? Thanks, Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: connecting to a secured Windows 2003 terminal server
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of FreeBSD Sent: July 24, 2008 5:41 PM To: darko gavrilovic Cc: User Questions Subject: Re: connecting to a secured Windows 2003 terminal server Dear Darko Thanks for your mail. To answer your question, no, we are on the same network and from my machine everything is open. Also, I tried it from my home, which has the basic firewall allowing me to connect to whereever I want (I tried it with no firewall as well), nothing worked. Since my office lan can connect to the secured TServer using IE and other client from windows, and both my office lan and home can connect to the non-SSL TServer using rdesktop, I am suspecting I might be needing different client. any other pointers / links welcome Thanks darko gavrilovic wrote: Hello, is 3389 filtered in any way between you and that server? On Tue, Jul 22, 2008 at 8:37 PM, FreeBSD [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Dear folks my sincere apologies if this has been discussed earlier, which I seriously doubt, since even after googling for nearly five days I couldn't find any solution. Recently my company has updated their server to Windows 2003. The earlier 2000 server didn't have SSL enabled, so rdp/rdesktop worked for me without any problem. But now, as I try to connect to the server, it simply gives me ERROR: recv: Connection reset by peer I know for a fact that the server is working fine, since all IE and remote desktop softwares are working (they have to install the certificate at the beginning, once). But how can I connect from my freebsd box? any pointers/links sujjestions are highly welcome. Thanks. ___ freebsd-questions@freebsd.org mailto:freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- regards, dg using fsdb(8) and clri(8) was like climbing Mount Everest in sandals and shorts. Since writing that, I've tried them more than once and discovered that I was wrong. You don't get the shorts. -- M.W. Lucas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] So I take it the encryption level on the TS server is set to High and you're using a certificate, or is it just the security level is set to High ? Which RDP version the server is running? I know there was a recent update by MSFT for RDP connections, but I don't know if this fixes the problem or not. Also, what version of rdpdesktop are you running? Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fixing fatal trap with SW RAID breakage
Hi, When using software based RAID controllers (e.g. ICH9R) in RAID-1 scenario, if any of the drives fail and the server reboot, the system will not come back up. This has been observed on FreeBSD 6.3-RELEASE i386 with following error: Fatal trap 12: page fault while in kernel mode fault virtual address = 0xf4d988d8 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0847e06 stack pointer = 0x28:0xc0c20bfc frame pointer = 0x28:0xc0c20c40 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) trap number = 12 panic: page fault I wasn't able to get the machine up into any mode except to the basic prompt. This problem can also be duplicated if you move the drive from ICH9R RAID to non-RAID controller Any tips on how to get the FBSD system operational again without having to do a reinstall? Thanks, Tamouh Hakmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Adding a new hard drive, and using geom
I bought a second hard drive for my computer since my /usr partition was getting full. I don't want to deal with hardware raid since I don't want to be dependent on a certain hardware vendor or chipset, so I'm wanting to go with geom. I'd prefer to not have to backup all my data(I know I should anyway, but it's a 500gb hard drive, and drives are growing faster than backup solutions). Would it be possible to do a geom stripe to expand /usr and keep all the data or would I just need to backup everything, and then put it all back? If I must deal with backing up and erasing, and considering that the current /usr and the new drive aren't the same size, how would I go about mirroring other paritions and striping /usr? Would that still be easily bootable(no special hacks or workarounds)? Any tips or other recommendations would be appreciated. Check this tutorial, step-by-step, very helpful: http://www.freebsddiary.org/gmirror.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: iSCSI initiator
Please clarify these : (1) Is iSCSI initiator not currently implemented for FreeBSD ? (2) There is no iSCSI target daemon currently ? Check this post, it has step by step instructions for 6.x: http://www.southernledger.com/blogs/ee99ee/?p=33 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Upgrading 5.4 to 7.0 Error on Kernel
Hi, I'm trying to upgrade from 5.4 i386 to 7.0 latest release. But I'm having a bit of problem with the upgrade for some reason. This is what has been done so far: - deleted /usr/src/* - cvsup -g -L 2 to RELENG_7_0 src-all - deleted /usr/obj/* - in /usr/src make clean The error occurs when doing: make kernel-toolchain === usr.bin/gencat (obj,depend,all,install) /usr/obj/usr/src/tmp/usr/src/usr.bin/gencat created for /usr/src/usr.bin/gencat rm -f .depend mkdep -f .depend -a-I/usr/obj/usr/src/tmp/legacy/usr/include /usr/src/usr.bin/gencat/gencat.c echo gencat: /usr/lib/libc.a /usr/obj/usr/src/tmp/legacy/usr/lib/libegacy.a .depend cc -O2 -fno-strict-aliasing -pipe -I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/usr.bin/gencat/gencat.c In file included from /usr/src/usr.bin/gencat/gencat.c:88: /usr/obj/usr/src/tmp/legacy/usr/include/nl_types.h:100: error: syntax error before __format_arg *** Error code 1 Stop in /usr/src/usr.bin/gencat. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Any tips on how to get this update? Or should I move to 6.x then 7.x ? Thanks, Tamouh Hakmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ICH7R RAID1 support?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Oberman Sent: April 16, 2008 6:03 PM To: [EMAIL PROTECTED] Subject: ICH7R RAID1 support? Can anyone confirm whether support for RAID1 on the ICH7R is in FreeBSD? -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: [EMAIL PROTECTED] Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 Kevin, we tried out a Supermicro server which had ICH7R motherboard and RAID was recognized fine. FreeBSD recognized all the drives as stand alone plus the ar0 onboard controller. We're able to monitor it using atacontrol status ar0: atacontrol status ar0 ar0: ATA RAID1 status: READY subdisks: 0 ad4 ONLINE 1 ad6 ONLINE Controller info: atapci0: Intel ICH7 UDMA100 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x30a0-0x30af at device 31.1 on pci0 atapci1: Intel ICH7 SATA300 controller port 0x30e8-0x30ef,0x30dc-0x30df,0x30e0-0x30e7,0x30d8-0x30db,0x30b0-0x30bf mem 0xe400-0xe7ff irq 19 at device 31.2 on pci0 Thx, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Console Random Text
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Christianson Sent: March 21, 2008 7:28 PM To: freebsd-questions@freebsd.org Subject: Console Random Text Hello everyone, I am having a very strange problem. My sever stopped responding in SSH. At the time, a co-worker said he was importing a MySQL database from a USB drive mounted as ext2fs. I went back to check on the console, and it was scrolling *EXTREMELY* quickly with apparently random text (it could have said something, but it was too fast to read). I could not switch to another virtual console. It would not respond to any keyboard input. Oddly enough, the machine was still responding to ICMP. Does anyone have ANY clues as to what this could be? This is a server that an entire Company runs on, so it's really important that I find out what is causing this. -Andy If it looks like it is online, but no services respond then it could be a bad backplane or corrupted RAID. From personal experience. Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: RAID
hi ... i have a simple RAID question(s). this is from the dmesg of a newly installed bsd7: ad4: 238475MB Seagate ST3250310AS 3.AAA at ata2-master SATA150 ad6: 238475MB Seagate ST3250310AS 3.AAA at ata3-master SATA150 ar0: 238472MB Intel MatrixRAID RAID1 status: READY ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad6 at ata3-master from what i understand here is that if at the time of installation i install the system on ar0 that means i'd have RAID1 made out of ad4 and ad6. right? is there any configuration to be done? how do i know what driver is being used? it says: hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27) . hptrr: no controller detected.' that's it. thanks. It is saying ar0: 238472MB Intel MatrixRAID RAID1 status: READY So assume it is onboard Intel RAID. When configuring FBSD setup, just make sure you're selecting the ar0 controller and partition it as you like. That is it! Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Support for Intel RAID
Hello, Anyone know if Intel 5000V chipset with ESB2 SATA 3.0 onboard RAID is supported on FreeBSD 6.2/6.3/7 ? Last time I've checked on 6.1 it didn't work in RAID mode. Thanks, Tamouh Hakmi For anyone interested to know, FreeBSD 6.3 AMD64/i386 appears to support the onboard ESB2 RAID chipset. FreeBSD will recognize all drives in the RAID set and the controller as ar0 I've tested this on SuperMicro 5015M-MT+ server: Chipset Intel 3000 (Mukilteo-2) chipset ICH7R + PXH-V + IntelR 82573V + IntelR 82573L Serial ATA IntelR ICH7R SATA controller built-in I'm not sure if it will work with 5000V chipset though. Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Support for Intel RAID
Hello, Anyone know if Intel 5000V chipset with ESB2 SATA 3.0 onboard RAID is supported on FreeBSD 6.2/6.3/7 ? Last time I've checked on 6.1 it didn't work in RAID mode. Thanks, Tamouh Hakmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FW: Dell 2950 RAID issues!!!
FYI for anyone experiencing issues with Dell RAID. It come to my attention that Dell 2950 have issues with RAID controllers while used with some hard drives under Linux. Basically RAID configured hard drives are failing at rapid speed. Details: -- M8033 HD,146G,SAS,3,10K,3.5,MXT,GEN * Firmware Version BP05 * Fixes and Enhancements == This addresses Maxtor SAS HDD firmware issues, where under certain circumstances a hard disk drive may go offline, hard disk drives (HDD), may report offline due to a timeout condition. If the HDD is unable to complete commands, this may result in the controller reporting the HDD off line. This firmware update has improved SMART Reporting, where drives can report SMART trips due to aggressive SMART Error Rate Measurement counters during read verifies --- Dell has advised to upgrade the RAID controller firmware. Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: System crash while running maek installworld
Hi While running make installworld my computer crashed. (FreeBSD 6.2-p9 kernel) At this moment the system misses some of the elf libs. Running in single user mode and running make installworld again gives all kind of errors Any leads to solve this problem?? Jack Raats PS. Perhaps this message will appear twice in the mailinglist due to the fact that my normal email address doesn't work ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] We need more information. What sorta system crash ? Does the system reboot or does it freeze and lockup , or do you get kernel panic error ? You're more likely looking at a hardware issue like power supply, overheat CPU, memory or motherboard. Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Dell PE4600 RAID5 server failing
Derek Ragona wrote: At 09:00 AM 11/14/2007, Barnaby Scott wrote: I suspect I already know the answer to this, which is that the trouble I am having is nothing to do with the OS at all, but I have to ask, because I am otherwise up against a total brick wall! I bought a second-hand Dell Poweredge 4600 and installed FreeBSD 6.2 earlier this year. I had it set up with RAID5 using its PERC3/DC controller, with 7 x 73GB disks (+ 1 hot spare). So far so good, and it worked faultlessly as a Samba server for several months. At the beginning of October, it went down, reporting a mismatch between the configuration on the NVRAM and the disks. With help from Dell support, I managed to recreate the RAID array and it worked again for a month. In early November it happened again, and has kept happening since. At one point it appeared that the backplane was faulty, so I replaced that, but I cannot keep the server up for more than a day or so without this 'mismatch' poblem. What about diagnostics on the hardware you may ask? I have run all the diagnostic tools that Dell can supply - several times - and the server declares itself to be totally fault-free. My specific questions therefore: Is there any way at all that FreeBSD could be invloved with this problem? (I did notice for example that the Dell PERC3/DC controller was not in the list of supported hardware - but then again, why did it work for several months?) Can I use FreeBSD to tell me anything about the fault that Dell's diagnostic tools haven't found? (I do hope someone might be able to help - Dell are trying to get me to switch to a 'supported' OS!) Thanks Barnaby Scott It doesn't sound like any OS issue as you set up the RAID outside the OS. It may be a bad drive or drive(s). Most RAID drives have RAID information written to the drives, and if this becomes unreadable you will have RAID faults. Another likely culprit is heat. Overheating drives often fail. Are you sure the temperatures in the drive enclosure is OK? If you can, run diagnostics on the drives, this usually requires running these with the drives taken out of the RAID array though. -Derek Thanks for replying - as I said, this is a long shot trying to see if there is any OS involvement. The drives are fine - I have used two different tools to analyse them while the computer is booted from a live CD and the RAID configuration cleared on the controller. Besides, you would expect one drive to fail at a time, and if this happened, the hot spare would surely be pressed into service. Nothing like this has happened though - the controller is reporting several drives (not always the same ones) failed simultaneously, but when the array is re-created from the disks, everything works fine. Problem is, it goes down again a day or so later. As for heat, there is nothing being reported there and the fans that cool that area are working. Any other ideas gratefully received! Barnaby Scott This is very unlikely to be OS related. But here are few pointers: 1) Check the make/model of the drives. Certain types of make/model SCSI drives had a glitch in them a while ago with a certain firmware that they'd disconnect from a RAID. I had a personal experience with these ones (Seagate U320). 2) What did happen in October? Anything hardware, software, power wise has occurred ? 3) NVRAM and Disk mismatch, I'd say check the controller, backup battery present but weak ? 4) Unlikely to be the source, but run a test on your physical RAM using MEMTEST86+ and check the power supply is sufficient and working properly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
recent openssl patch is failing
Hello, I've tried patching the latest openssl on FreeBSD 6.1 as per: http://security.freebsd.org/advisories/FreeBSD-SA-07:08.openssl.asc However, the patching fails mainly due to some problems with the patch on line 1162 , and I can't seem to find out the reason for it. This had failed on multiple FBSD machines, so I'm pretty sure it is the patch. Here is what the patch is producing: openssl.patch 100% of 1051 B 5237 kBps Hmm... Looks like a unified diff to me... The text leading up to this was: -- |Index: crypto/openssl/ssl/ssl_lib.c |=== |RCS file: /home/ncvs/src/crypto/openssl/ssl/ssl_lib.c,v |retrieving revision 1.1.1.12.2.1 |diff -u -d -r1.1.1.12.2.1 ssl_lib.c |--- crypto/openssl/ssl/ssl_lib.c 28 Sep 2006 13:02:36 - 1.1.1.12.2.1 |+++ crypto/openssl/ssl/ssl_lib.c 3 Oct 2007 17:01:24 - -- Patching file crypto/openssl/ssl/ssl_lib.c using Plan A... Hunk #1 succeeded at 1149. Hunk #2 failed at 1161. 1 out of 2 hunks failed--saving rejects to crypto/openssl/ssl/ssl_lib.c.rej done == This is what ssl_lib.c.rej shows: *** *** 1162,1181 sk=s-session-ciphers; for (i=0; isk_SSL_CIPHER_num(sk); i++) { - /* Decrement for either the ':' or a '\0' */ - len--; c=sk_SSL_CIPHER_value(sk,i); - for (cp=c-name; *cp; ) { - if (len-- = 0) - { - *p='\0'; - return(buf); - } - else - *(p++)= *(cp++); } *(p++)=':'; } p[-1]='\0'; return(buf); --- 1161,1181 sk=s-session-ciphers; for (i=0; isk_SSL_CIPHER_num(sk); i++) { + int n; + c=sk_SSL_CIPHER_value(sk,i); + n=strlen(c-name); + if (n+1 len) { + if (p != buf) + --p; + *p='\0'; + return buf; } + strcpy(p,c-name); + p+=n; *(p++)=':'; + len-=n+1; } p[-1]='\0'; return(buf); == This is the error when doing make: /usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/ssl_lib.c: In function `SSL_get_shared_ciphers': /usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/ssl_lib.c:1167: error: `cp' undeclared (first use in this function) /usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/ssl_lib.c:1167: error: (Each undeclared identifier is reported only once /usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/ssl_lib.c:1167: error: for each function it appears in.) *** Error code 1 Anyone have tried the patch and experiencing the same issue ? Thanks, Tamouh Hakmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: recent openssl patch is failing
Anyone have tried the patch and experiencing the same issue ? I applied it to 3 6.2-STABLE machines today worked flawlessly., You are using a /usr/src version that it _is_ supposed to apply against right? Whats the $FreeBSD$ of the file it fails in. it should be 1.1.1.12.6.2 - 1 aka 1.1.1.12.6.1 Philip, thanks for the help. I believe to have found the problem. I didn't apply the older patch: http://security.freebsd.org/advisories/FreeBSD-SA-06:23.openssl.asc which made a tiny change to the line if (len-- == 0) to if (len-- = 0) Hence, when doing the new update, it failed. I've changed the patch file to recognize the older format and that seems to have fixed it. Best, Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: temporary su login
Robin Becker wrote: My collocation supplier is about to move our FreeBSD box and wants some way to shut it down cleanly. Is there a simple way to allow a non-root user to have shutdown rights without just giving them the world. At present I don't even allow login via ssh on that box ie it's purely key based. What I would do is develop a script (owned by root ) and callable by everybody which then checks the user-id of its caller, and if it is an acceptable one, the script will issue a warning (to wall) and then shutdown the system. why not ask them to do CTRL+ALT+DEL which will reboot the server cleanly and once it hit does the intial reset, turn it off. Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: READ_DMA Error
Hi all, During FreeBSD 6.2 installation, the process failed because of errors like the one below: READ_DMA UDMA ICRC error LBA=37505132 I managed to install by setting hw.ata.ata_dma=0 at boot time but the same errors occur after installation and at boot time so I had to put hw.ata.ata_dma=0 in loader.conf and now the system is working. I checked my hard disk which a 80GB Western Digital+ thoroughly and there were no errors reported (using fsck in single user mode). Also I used to install Fedora Linux on this disk without any problems. It looks that disabling DMA caused my disk to work with lower performance. Am I right? If yes, are there any solutions to eliminate those READ_DMA errors while DMA is enabled? Thanks in advance, Bahman PS: Motherboard: ASUS A7V8X-X CPU: Athlon XP 2500 at 1833MHz $ uname -ai FreeBSD attila 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 GENERIC Typically, I've seen the READ_DMA error when a hard drive is going bad or something wrong with the hardware (power supply is failing). But it could be as you've described. Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Install FreeBSD 6.2 with Intel Integrated RAID
Hi, I've seen this question asked couple of times before but couldn't find a resolution for it. I'd appreciate any help on this subject. I'm looking into getting a Supermicro board X7DVL-I which uses Intel chipset 5000V and has integrated RAID through Intel ESB2 SATA 3.0Gbps Controller (Intel 631xESB/632xESB) When the system is configured for RAID, FreeBSD installer does not recognize the RAID setup instead it shows all the drives. Is there a way to work around that ? Thanks, Tamouh Hakmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: server was hacked
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brent Sent: August 11, 2007 7:21 AM To: [EMAIL PROTECTED] Subject: server was hacked Im running FBSD 5.4 as a web server the server is behind a cisco firewall /router and the server has alot of CMS jumila / mambo sites on it. I noticed that when i ran sockstat i was seeing multiple IPs connected to high ports on the server with a process id of psybnc . Did some looking around found that this is a IRC relay program that was installed through a compromised mambo site. after getting rid of the program I changed our router to disallow this type of traffic.. started trying to fix the box. Im pretty sure that root wasnt compromised but im going to re-install anyway. my question has anyone run into this problem with CMS sites, HOw excatly are they getting in ? what are the things I can do to prevent this. On FBSD how do you checksum binaries on the system to ensure someone hasnt replaced one with there own binary. thank you...and all help is greatly appreciated -- Brent Just an advise in the future if you're running Apache, use mod_security to protect you from similar hackings (need to update the rules every now and then to stay on top of things): http://www.modsecurity.org/ you'll also find sample rules at: www.gotroot.com Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Promise RAID / ata problem
I have a Promise Fasttrak TX4200 running a single mirrored array under 5.5. Everything's been great for nearly a year until a recent reboot. It appears that the two disk mirrored array is coming up as two arrays with a single disk attached: Before: kernel: acd0: CDRW SONY CD-RW CRX140E/1.0n at ata1-slave UDMA33 kernel: ad6: 305245MB Seagate ST3320620AS 3.AAC at ata3-master SATA150 kernel: ad10: 305245MB Seagate ST3320620AS 3.AAC at ata5-master SATA150 kernel: ar0: 305175MB Promise Fasttrak RAID1 status: READY kernel: ar0: disk0 READY (master) using ad10 at ata5-master kernel: ar0: disk1 READY (mirror) using ad6 at ata3-master After: kernel: acd0: CDRW SONY CD-RW CRX140E/1.0n at ata1-slave UDMA33 kernel: ad6: 305245MB Seagate ST3320620AS 3.AAC at ata3-master SATA150 kernel: ad10: 305245MB Seagate ST3320620AS 3.AAC at ata5-master SATA150 kernel: ar0: disk0 DOWN no device found for this subdisk kernel: ar0: disk1 READY (mirror) using ad6 at ata3-master kernel: ar1: 305175MB Promise Fasttrak RAID1 status: DEGRADED kernel: ar1: disk0 READY (master) using ad10 at ata5-master kernel: ar1: disk1 DOWN no device found for this subdisk # atacontrol status ar0 ar0: ATA RAID1 subdisks: DOWN ad6 status: DEGRADED # atacontrol status ar1 ar1: ATA RAID1 subdisks: ad10 DOWN status: DEGRADED Nothing's was changed on the machine. I'm looking for any ideas on the best way to re-establish the single mirrored array. Thanks a lot, The error indicate your Array had failed. Replace the bad drive and let Promise rebuild is one way. Promise RAID card does automatic rebuild after an array failure. Usually why you boot up the server, Promise BIOS will say whether the Array is FUNCTIONAL or FAILURE. You can also temporarily go to single mode and mount the drives manually with ar1 instead of ar0 Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: 6.2-RELEASE-p6 panic on boot
Hi! A machine of mine is panicking during cold boot on FreeBSD 6.2-RELEASE-p6. No kernel dump is available, as the panic occurs so early. My machine is an Athlon XP 2000+ on an ECS K7S5A-Pro (SIS735 chipset) with 1GB PC3200 RAM. The root filesystem is a mirror on a 3Ware Escalade 8006-2LP SATA hardware RAID card. The panic only occurs when the machine is cold-booted (not on reboot) when acpi.ko is loaded. http://home.cyberleo.net/cyberleo/workspace/Zip/Bugs/fbsd-2007 0716-panic/boot-dump.log Any ideas what I can do to debug or correct this issue, or of a more appropriate group with which to communicate? Thanks! The first thing I'd try is boot direct to the drive, without the RAID card. It seems from the dump it paniced after loading the 3ware drivers: RocketRAID 232x controller driver v1.02 (Jul 16 2007 17:38:56) panic: pmap_mapdev: Couldn't alloc kernel virtual memory cpuid = 0 KDB: enter: panic [thread pid 0 tid 0 ] Stopped at kdb_enter+0x2b This would especially be true if the RAID Array is degraded or failed. But try it with the drives directly connected to the board. Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
unable to boot due to error in loader.conf
Hello, Since people were talking about modifying kern.hz , I went the extreme and added kern.hz=10 to loader.conf , obviously the system didn't load properly. It panics during boot process. This is 5.4-Stable, I've tried all other boot modes and the only option available is Escape to Loader Prompt. Any tips on a way to recover this machine ? Thanks, Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: just general questions about fbsd
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kevin Kinsey Sent: Sunday, May 20, 2007 3:19 PM To: Anton Galitch Cc: [EMAIL PROTECTED] Subject: Re: just general questions about fbsd Anton Galitch wrote: Hi Im writing an article about FreeBSD and want to ask some few question: - What advanced features it has that for example Windows, or MacOS dont have? Windows, even the server versions of Windows, are fundamentally desktop software operating systems that are at times pressed into being servers. FreeBSD and the other UNIXES are fundamentally server operating systems that are at times pressed into being desktops. Remember, UNIX came out of the multiuser environment, where you had a lot of people connected via dumb ASCII terminals to a single mainframe. From the beginning, concepts like reentrant code, and separation of user authority, have been ingrained in it. Consider for example the extreme difficulty that Microsoft has had with the simple concept of a superuser. A superuser is, as you may know, a userID on the system that has authority to do anything, change anything, and that the normal security mechanisms do not apply to. Under UNIX this is the root user ID. Well, with Windows, in the Win 3.1/win95/win98/winME series, anyone who booted the Windows system was automatically the superuser. This causes a lot of problems as you might imagine with programs, as if a program has a bug or goes out of control somehow, since the user it is running under has no security, the program can destroy anything on the system. With UNIX, normally, programs are not run under the superuser ID, they are run under a normal user ID. Thus programs cannot normally damage the system. Microsoft observed the value of this paradigm and so put it into Windows NT - although, under NT, they called the superuser the administrative user most likely, because they didn't want anyone to realize they were just copying how UNIX does things. But, administrator under Windows, and root under UNIX are essentially the same thing. The problem, though, is that because the concept of the superuser ID was grafted onto Windows, if you setup Windows so that when it boots, a person logs into it as a regular user, they have a lot of problems. They cannot install software, they cannot run a lot of different network software, they cannot make changes in simple things like the screen resolution, and so on. Both Windows NT and Windows 2K were setup by Microsoft out of the box like this - when you installed them, you had to tell them a regular userID and an administrator userID. But, due to the problems, Microsoft went to a model in both Windows XP and Windows Vista, where when you install and set it up, BY DEFAULT, you are put in as a superuser (administrator) This saves Microsoft a lot of support calls from people calling in demanding to know why the Windows OS won't let them do simple things like change screen resolution - but, it completely defeats the security in Windows, and makes even the most modern Windows no better than Windows 3.1 in terms of security. This I think is one of the best illustrations of the different approaches of Windows and UNIX. With a server, since a lot of people are affected if an errant program crashes it, the security is never disabled by default, and the installer must deliberately choose to do it. With a desktop, nobody is really affected if it crashes except for 1 person, so since usability is more important than security, by default this is why security in Windows Vista is subverted this way, out of the box. There are a very great many people out there walking around who have setup Windows systems as servers, and not understood this, and as a result, caused their company to lose hundreds if not thousands of dollars of time and labor due to the Windows server crashing as a result of a virus knocking it down. A virus, I will say, that IF the Windows security had been properly enabled, would NOT have been able to take the Windows server down. Ted Not to change this to Windows vs Unix thread. But I think they are two different ball games. I work with both servers and have seen advantages/disadvantages in both security and non-security related. The SYSTEM user is considered to be the superuser on Windows. This is why many malicious codes that exploit a high risk vulnerability in OS automatically grant their application a service or run it as a system process. On the other hand, Windows has the ability to change the administrator user or completely disable it. Something not available in Unix systems. For example, a cracker or hacker targeting UNIX system will automatically try to compromise the root user. It is 100% guaranteed to be there. On the other hand in Windows, good sys
RE: What to backup for named?
After a recent disk failure, I left myself a note to add the DNS/DHCP info to my backup. I have a small, over-engineered for my education, network of 10 computers in my house. I run BIND with dynamic zones on my FreeBSD server, I also use the DNS service on my Win2k-AD server. They both are designated as slaves for each other. What do I need to backup? Are just the configuration files from /var/namedb/etc/namedb enough to recreate everything if my FBSD server dies? Or are there some database files I should be keeping also? I tried googling, but either this is way to easy of a question or I'm not looking in the right places. Thanks for any insight, Joe. Yup, that is what we backup. The named.conf and all records created along. Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: KVM over IP (Was: Re: adding keyboard after reboot with no keyboard) ...
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc G. Fournier Sent: April 10, 2007 3:12 PM To: Derek Ragona; freebsd-questions@freebsd.org Subject: KVM over IP (Was: Re: adding keyboard after reboot with no keyboard) ... -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Does anyone know of a reasonably priced one? Our newer servers, we've been using HP servers, so that we have this built in, but I have 6 older servers that I'd love to be able to deal with remotely without headaches ... I only need to be able to access one at a time ... I've tried the 'serial console' route, but if the server crashes, logging in to the serial console doesn't show you anything, whereas, with the HP 'remote console' feature, its the same as a KVM, where running it does a screen refresh, so that I can see what is on the screen at the time of the crash ... - --On Tuesday, April 10, 2007 10:09:37 -0500 Derek Ragona [EMAIL PROTECTED] wrote: At 09:55 AM 4/10/2007, Marc G. Fournier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I hate it when a subject doesn't easily present itself ... but ... Is there something that I'm missing, such that if I add a keyboard to a server *after* rebooting it with no keyboard, that will have that keyboard recognized? Basically, I have several remote servers, with no keyboards, but if I need a tech to check something on the console (ie. the ethernet went down for some reason), when they plug a keyboard back in again, there is no signal until they actually power cycle the machine ... which of course, is too late to do any diagnosis :( Thx ... This is a limitation of the hardware in the keyboards and the motherboards. The only solution I have found is to use a KVM switch which keeps the keyboard and mouse ports active during bootups. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] - Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGG+F94QvfyHIvDvMRAkjPAJ4yR6MUTVjCSsPAhuip/EBDXoG2vgCg2HJo uC5J2RdkeqD1D8Lm92QHjpI= =Pn4r -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] We've used StarTech KVM Over IP switches with both windows and BSD with no major issues. They're pretty much the most reasonably priced ones out there. Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Where to start troubleshooting Intel PRO/1000 performanceproblems?
Sally, On 3/22/07, Sally Janghos [EMAIL PROTECTED] wrote: I'm looking for some suggestions on where to start troubleshooting performance issues on a Intel PRO 1000 card. It's installed in a box with the following configuration: FreeBSD 6.1 AMD Athlon(tm) XP 2100+ (1741.42-MHz 686-class CPU) Dell CERC SATA RAID 2 The file transfer(ftp/smb/scp) speeds from/to this machine do not appear to go above 10Mb. The other machine doing the transfers has similar specs(same Ethernet Card) but is a Windows XP box. I've tried replacing the switch with a crossover cable between the machines and the same speed persists. Any suggestions on where to start and what tools should I use to do the benchmarks? please supply the output of ifconfig regards, usleep and systat -ifwhile sending/receiving a file from the other server. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: pwd.db too big for / partition
On Mon, Mar 19, 2007 at 10:39:18AM -0700, Chuck Swiger wrote: On Mar 19, 2007, at 7:54 AM, Marcelo Maraboli wrote: my / partition has only 73.196 Mbytes available and since I have 22.000 users, I now cannot change anyone?s password.. [EMAIL PROTECTED]:~$ passwd marcelo.maraboli Changing local password for marcelo.maraboli New Password: Retype New Password: /: write failed, filesystem is full pwd_mkdb: write old: No space left on device passwd: pam_chauthtok(): error in service module How can I rezise the / partition or move the spwb.db and pwd.db files to another partition ?? (each of them is 44 Mbytes) You certainly don't want to move the password files out of /etc-- you'll render the machine unbootable as it needs to find them on the root partition. The only approach I see which is likely to be workable would be to backup the system, repartition the disks with a larger root partition, and restore from backups. I agree. However, in theory, if you had free disk space, you could use growfs to expand the root partition without repartitioning, but I am dubious about using that command against /. I believe, with growfs, the space that you add must be contiguous with the partition it is joining. So, unless there is a partition that could be shrunk next to root, (maybe swap is there) it wouldn't work. If there is room - maybe by mucking with swap if it is the next partition, then it might be do-able. But, I would also be leary of doing it with /. jerry -- -Chuck Well, I had a VM laying around so thought to fire it up and do some testing. I know this is absurd abit but I wanted to see the effect of doing symlinks with pwd.db files. - I was able to copy /etc/pwd.db /etc/spwd.db to /var/etc/ - Then I deleted /etc/pwd.db and /etc/spwd.db - created ln -s /var/etc/pwd.db /etc/pwd.db and ln -s /var/etc/spwd.db /etc/spwd.db - changed the root password, worked! - Even rebooted the system and was able to successfully able to login - All worked fine except, I noticed after running passwd to reset a user password, the system copied pwd.db and spwd.db over the symlinks so I always was ending up with /etc/pwd.db and /etc/spwd.db files I guess this method will solve your space problem if there is a way to make the system follow the symlink instead of overwriting it everytime a password is changed/created. Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: DST
Hi everyone, I'm still having an issue with the new daylight saving- I ran tzsetup entered the appropriate zone- but when I reboot the machine it still in the old time zone- Is there a patch for freebsd 5.4 Paste the results of: zdump -v /etc/localtime | grep 2007 date somebody posted this code before: fetch ftp://sunrise.ipinc.net/pub/tzdata2007c.tar.gz tar -xzf tzdata2007c.tar.gz zic -d zoneinfo northamerica cp -R zoneinfo/* /usr/share/zoneinfo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Should I Upgrade 5.4 - 6.2?
First off, I want to thank the people who responded to my thread Stability Issues on a 5.4-RELEASE box a couple of weeks ago; after disabling hyperthreading, getting a clean run of Memtest back, and doing some serious fsck'ing of the disks, the box appears to now be completely stable. I'm still not sure which of the above fixed the problem...but I'll take a stable system at this point. :-) That said, in that thread I had asked about the advisability of upgrading to 6.2, and it was intelligently pointed out that doing so in pursuit of stability was a bad idea. Now that the box is stable, though, I'm back to the same question: should I make the upgrade, and if so, how should I do it? My primary driver for doing so would be to keep current enough that I'm still getting security and other patches on a regular basis, and that I can upgrade my applications from ports as necessary. If this is not an issue, then my only remaining concern would be that it's usually easier to get support on lists like this if you're running a modern version of the OS (that's certainly the case with the OpenBSD folks). My primary concern with upgrading is that the box is in Portland, OR, and I'm in Arlington, VA...and while the ISP is friendly, I doubt that I could count on them for major system recovery if I botch something during the upgrade. My other worry is that I don't want to break existing apps if possible (the main one I'm concerned about is Zope/Plone). This is a production box with moderate traffic, and it would be a problem if there was extensive downtime. Is it worth upgrading? If so, what's the best way to do so -- CVSup, or some other way? Are there any major caveats if I do choose to upgrade (or choose to stay with the existing OS)? Thanks, Alex Kirk If it is not broken, don't try to fix it! We had to upgrade from 5.4 to 6.1 because the performance was not good, crashing issues...etc. I advise my clients not to upgrade unless they have a performance or stability issue they are looking to resolve. However, should you decide to upgrade; as everyone had said: backup! backup! backup! Also, find a local service company in the city to call upon should the upgrade goes bad. We've upgraded many FBSD 5.4 to 6.1 with no problems and have always been able to SSH back to the box. Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: 6.2 running 4.x binaries (missing libc.so.3)
I've been trying to run 4.x binaries on FreeBSD 6.2; with the compat4x package (and/or port) installed. However, the 4.x binaries want to find libc.so.3, which doesn't seem to be anywhere around. Anyone know the trick to getting this to work? - Thanks - - Dave Rivers - I usually had lots of trouble with these libraries. The best solution I've found was to do a find ./ -name libc.so* on the /usr/* folder, you might find libc.so.4 or libc.so.2 , cp to libc.so.3 usually fixes it (you may need to do this for multiple files as the errors progress). Not the best way of doing it, but it does job! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Weird system hanging problem with crypted video output
Hi, I have had this server running for 6 months now with no problems. Just today I've noticed the system began to freeze or hang with weird things on the console (attached gif file). The system is running FreeBSD 6.1-STABLE-200609 i386 with 2GB DDR RAM (Kingston) and 2.8GHz CPU There are no errors in any logs. I've checked couple of things: 1) Power supply appears working ok (which I'm suspecting is going bad) 2) Motherboard is Intel D865GVHZ 3) I've noticed the CPU temperature was close to 59 C and M/B to 42 C 4) This is running on Promise RAID controller which says the RAID is functional fine. 5) No previous problems, reboots until now. Any suggestions or experiences with this type of freeze ? Could it be a bad on-board video on the motherboard ? Thanks, Tamouh Hakmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Enquiry on SAS in FreeBSD
NOTE: I'm not subscribe to the FreeBSD.org mailing list, please CC to me as well We're ordering Dell Poweredge 2950 Server which is come with SAS (Serial Attach SCSI). Most newly manufacture branded server comes with SAS nowadays, no more SCSI. According to Dell Technical Support, SAS is a new technology of SCSI but different architecture. They don't have any idea whether it works on FreeBSD or not. I'm worried if it's not work on FreeBSD and we cannot return the hardware. Does anyone here have any idea on these SAS thing ? Thanks. --- EPedas Sdn. Bhd. (http://www.epedas.com.my) (wholly owned subsidiary of Safeguards Corporation Bhd.) Check this post: http://www.mail-archive.com/freebsd-hardware@freebsd.org/msg01660.html According to it suppoused to be supported via mfi driver FBSD 6.x ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: stopping my server from spamming
I have been blacklisted for spamming and I am attempting to ascertain the source. I have a few networked windows boxes which route through a FBSD server. I also have around ten off-site users who send mail via my port 26 - using smtp password authentication. How do I determine which email going through the server is spam, and therefore identify the source? This is more of a question geared towards your mail server application than FreeBSD. You should check your mail logs. If you want better advise, you may want to provide more information on what mail server are you running, and what did you do to prevent SMTP relay. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: additional processor in IBM xSeries
Hi, I have an IBM xSeries 225 with two-processor motherboard, currently with only one Intel Xeon 2.4 GHz. OS is 6.1p10, otherwise is this an apache22-mysql50-php5 web server. I would like to add an additional, second Intel Xeon 2.4 GHz. Do I have to change anything in OS, kernel, etc, before this step or can I just plug in the additional proc and thats it? -- Kind regards, Marko Kobal. ___ Recompile Kernel with SMP option (check /usr/src/sys/i386/conf/SMP) Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Mount and repair HD?
Hello, A Snap Server 1100 just died on me... (Single drive, FreeBSD-based, I think...) I think it's not HD related as I can't even get into to the hardware/bios reset mode. Have you folks ever heard of anyone opening one of these things up and mounting the drive on a regular PC? Since the drive probably has some coruption, due to the MB/OS crash, how would I go about fixing those before I mount the drive and try to copy off the files? Since I am not familiar with *nix, can someone point me to a walk through on this? (Is there a FreeBSD live CD I could use?) Thanks, David - Everyone is raving about the all-new Yahoo! Mail beta. These use regular IDE drives so you can plug them to any PC (Note, you're voiding the warranty if you open the box). If FreeBSD OS is installed on them, the first thing I'd do is try to boot from the HD unless a custom kernel was made. If this is not bootable drive, just UFS file system, then use FreeBSD Boot CD off freebsd.org to boot the thing and mount the drive according to what the drive is named e.g. mount /dev/ad1s1a / Good luck! Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ICH7 SATA RAID (LSI MegaRAID)
Hello! I've bought a small server with Intel SE7230NH1 motherboard, which incorporates the ICH7 SATA RAID controller. Using the LSI BIOS utility, I created a RAID1 array of two disks and installed FreeBSD 6.2-RC1 (amd64) on it. atapci1: Intel ICH7 SATA300 controller port 0x30c8-0x30cf,0x30e4-0x30e7,0x30c0-0x30c7,0x30e0-0x30e3,0x30a0-0x30af mem 0x8820-0x882003ff irq 19 at device 31.2 on pci0 atapci1: AHCI Version 01.10 controller with 4 ports detected ata2: ATA channel 0 on atapci1 ata3: ATA channel 1 on atapci1 ata4: ATA channel 2 on atapci1 ata5: ATA channel 3 on atapci1 ad4: 476940MB Seagate ST3500630AS 3.AAE at ata2-master SATA300 ad6: 476940MB Seagate ST3500630AS 3.AAE at ata3-master SATA300 ar0: 476772MB LSILogic v3 MegaRAID RAID1 status: READY ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad6 at ata3-master This server has a hot-swap drive cage that allows you to power off individual drives. I simulated a drive failure by powering off one of the drives. This resulted in console message: ar0: warning: mirror protection lost. RAID1 array in DEGRADED mode. ar0: writing of LSILogic v3 MegaRAID metadata is NOT supported yet. subdisk6: detached ad6: detached OK, the disk went away. This is witnessed by atacontrol: # atacontrol status ar0 ar0: ATA RAID1 subdisks: ad4 DOWN status DEGRADED Now, I power the disk on again. This brings on the following console message. ad6: 476940MB Seagate ST3500630AS 3.AAE at ata3-master SATA300 The array status is still degraded, as shown by atacontrol: #atacontrol status ar0 ar0: ATA RAID1 subdisks: ad4 ad6 status: DEGRADED OK, so I think I need to rebuild the array, but this doesn't succeed: #atacontrol rebuild ar0 IOCATARAIDREBUILD: Input/Output error. When I reboot the server, it comes back up with the array at READY status immediately. Maybe this is because I have Auto rebuild set to Yes in BIOS. But is there any way to recover from this kind of failure without rebooting? Are my problems caused merely by the fact that writing of LSILogic v3 MegaRAID metadata is NOT supported yet, or am I doing something wrong? Or maybe this is the problem that exists only in amd64 version and not in i386? Thanks in advance, -- Toomas From experience, with these Software RAID, once you remove a disk, you'll have to format it before you put the disk back in. Otherwise, this will cause problems as the SW RAID will read the RAID part from the disk and think it is working properly. Do your test by removing the Disk, then format it completely, insert it back. Or plug a new HDD in its place. Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FreeBSD 6.1 rebooting all the time
I just installed 6.1 on a new laptop (Dell XPS M1210). It has a 2Ghz Intel Core2 Duo processor and two gigs ram. Every time it gets to the part in the bootup where you have to type a bunch of random junk it goes into a reboot. It's not an abrupt reboot. FreeBSD does show it is initiating the reboot. This is the error that is reported right before the reboot happens: panic: driver error: busdma dflt_lock called cpuid = 1 Uptime: 12s Cannot dump. No dump device defined Automatic reboot in 15 seconds -b fe0: link state changed to DOWN Does anyone know what I can do at this point? ___ google it up, plenty of resources, could be lots of things. But first check your hardware: http://www.google.ca/search?hl=enq=busdma+dflt_lockmeta= ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: RAM problems
Dear bsd people, I have this amd64 system running freebsd 6.1 with 1 GB of RAM and everything worked very well. Then I've added some more ram, 2 gb extra, to be precise and aft first it seemd everything worked fine. I could load larger files and my java apps didn't give me out-of -memory problems anymore. But everytime I want to upgrade my ports or compile a new kernel, the machine would freeze and the only way to go was to use the reset button. I don't like the look of that. Has anyone had similar experiences? I've had two 512MB corsair memory banks, and added two 1GB banks (oem). I find it really strange that I can use the bigger RAM but compiling gives problems. Could it also be that the banks could be attached better in my motherboard? What should I do now? Continue using it, without portupgrading or compiling a new kernel or ask a new pair of banks at the store? Thanks Mixing memory brands/specs is a BAD idea. As previous suggested , do MEMTEST86 on the new RAM by itself to spot any issues. But it could also be a conflict if using two different versions of RAM. Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FastTrak100 RAID-Controller
Hi, are there any issues known with the FastTrak100 RAID-Controller? I'd like to run it in HW RAID-1 and setup FreeBSD 6.1 onto that RAID-Volume. Thx in advance, cheers -Martin- Have a server running it for couple of months so far with no issues (knock on the wood) Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Top not showing cpu usage even remotely accurately
In recent 6.X versions, you can use 'S' to show system threads too. For an even more fine-grained view, you can use 'H' to show each thread separately. Then there is also the 'CPU' mode (as opposed to the default 'WCPU' mode of top). I've the same issue with FBSD 5.4 and TOP. In fact, the load averages are so irrelevant now that I barely pay attention to them. The server goes to 4 or 6 load averages without slowing down, and other times the load average would be 0.8 and the server is running slow. Probably because the work it does at the moment is not CPU-bounded? An example of unmatching TOP: last pid: 17889; load averages: 0.60, 0.52, 0.50 up 3+17:22:33 00:41:45 186 processes: 2 running, 183 sleeping, 1 lock CPU states: 30.0% user, 0.0% nice, 1.7% system, 0.1% interrupt, 68.3% idle Mem: 1678M Active, 1110M Inact, 287M Wired, 87M Cache, 112M Buf, 103M Free Swap: 8762M Total, 1584K Used, 8760M Free PID USERNAME PRI NICE SIZERES STATE C TIME WCPUCPU COMMAND 5071 nobody 1010 43124K 35180K CPU2 2 0:07 14.89% 14.89% httpd 14409 nobody 40 43940K 36076K sbwait 0 0:01 1.22% 1.22% httpd 95515 nobody 40 39892K 32188K sbwait 1 0:08 0.29% 0.29% httpd Try hitting 'S'. Perhaps the system spends too much time in system threads (i.e. the syncer) :) I think TOP and load averages are no longer accurate on FBSD 5.x and 6.x with SMP kernel. As far as I've seen. Load averages hit sometimes 8.0 without a noticable degradation in performance. This is one TOP that freaked me out, notice Idle CPU is 70% while the process is showing it is using 99% of CPU. systat draws more accurate picture, however, load average is still useless as far as performance monitoring : last pid: 10174; load averages: 1.63, 1.44, 1.20 up 4+00:25:19 00:39:20 169 processes: 2 running, 166 sleeping, 1 zombie CPU states: 25.8% user, 0.0% nice, 0.7% system, 0.1% interrupt, 73.4% idle Mem: 1316M Active, 1445M Inact, 297M Wired, 127M Cache, 112M Buf, 79M Free Swap: 8762M Total, 2096K Used, 8760M Free PID USERNAME PRI NICE SIZERES STATE C TIME WCPUCPU COMMAND 13362 root 1110 36444K 34196K CPU3 3 50:06 98.88% 98.88% perl5.8.7 90391 root 960 27356K 26236K select 2 0:06 0.54% 0.54% perl5.8.7 79619 nobody 40 209M 84640K sbwait 1 0:09 0.39% 0.39% httpd 10161 root 970 6712K 4752K select 2 0:00 1.40% 0.20% exim-4.62-0 79649 nobody200 210M 84464K lockf 0 0:06 0.15% 0.15% httpd 10158 mailnull 40 6760K 3992K sbwait 2 0:00 0.81% 0.15% exim-4.62-0 79654 nobody 40 208M 68660K sbwait 0 0:08 0.05% 0.05% httpd 79660 nobody 40 208M 58144K sbwait 0 0:06 0.05% 0.05% httpd 10170 sshd 1170 4768K 2052K select 0 0:00 1.00% 0.05% sshd 1123 mysql 960 346M 214M select 2 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 3 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 3 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 2 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 0 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 2 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 1 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 0 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 0 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 3 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 3 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 0 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 1 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 2 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 1 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 1 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 0 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 0 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 2 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 1 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 0 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 2 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 0 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 1 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 0 114:48 0.00% 0.00% mysqld 1123 mysql 200 346M 214M kserel 1 114:48 0.00% 0.00% mysqld
RE: A webhosting script?
Hello! Does anybody run a webhosting business, where they've written a simple Bash script to add new users to the system and set up their domains, Apache virtual hosts, databases etc. all in one go? I am looking for inspiration for my own script. Thank you! I truly wish to keep it real and avoid solutions like cPanel or Webmin. All the best, Kyrre There are many control panels that do these sort of things. Some are free, others are not. Check WebMin, cPanel, DirectAdmin, Plesk, H-Sphere, RAQdevil.and tons more. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: DNS Blacklist Script?
Does anyone know of a script (or application) to automagically add a host to a dns blacklist? It would be very convenient to blacklist all the e-mails sent from a spammer to a honeypot address, or to blacklist all senders that thunderbird moves into the spam sub-folder. You need to be very careful implementing something like this. Most Spam nowadays is bot-generated and uses forged 'From' addresses culled from the address books on infected machines. Unless you're careful, you're going to end up blocking a lot of completely innocent people, or worse, blocking your own legitimate e-mail users. Having said that, consider SpamAssassin's 'Auto white list' feature. It also works as a black list, but it's not a binary on-off. Instead, anyone who sends e-mail to your server gets a spam score depending on the ratings of their previous e-mails to you. That's added to the spam score for the e-mail being processed. So someone who continually sends you spammy e-mails won't get the benefit of the doubt on a marginal e-mail, but someone else who sends a lot of ham will. Also included in SpamAssassin is a client for the Vipul's Razor project. That's a database of checksums of spam e-mails that is updated live. Spammer starts sending a few million spam e-mails, but after the first few, there's a mail signature in the Razor DB so that the rest of the world can reject those spams straight away. (Port: mail/razor-agents, WWW: http://razor.sourceforge.net/) Integrating SpamAssassin into a mailing system can be done in many ways depending on what mail software is in use and so forth. Ask again here with details of your mail setup if you're interested in doing that. Cheers, Matthew The Razor project looks interesting. However, the site is poorly written, and I can't seem to find out how it actually works. I am still interested in setting up a honeypot account on my server, then spreading this account all over the net so that the harvesters that have picked up my e-mail address will pick up the spamtrap address. Then, any e-mail received to this account will get canned. Chris Maness Already many of the leading DNSBL lists like spamhaus.org and njbl.org uses such methods to detect new spammers. We've been using the SBL-XBL + dynablock + SURBL lists with much success reaching up to 95% reduction in spam and so far very very very little false positives. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Top not showing cpu usage even remotely accurately
But since running 5.x (5.5-STABLE since 1st Aug) top can show 0.0% idle but the cpu usages shown don't add up to much of a fraction of 100%. For a typical illustration: 'make index' has been running for hours, and here's a shot of 'nice top', o)rdered by cpu, showing S)ystem procs: last pid: 62397; load averages: 2.06, 2.09, 2.13 up 3+03:57:39 13:11:27 154 processes: 6 running, 125 sleeping, 23 waiting CPU states: 77.3% user, 0.0% nice, 22.7% system, 0.0% interrupt, 0.0% idle Mem: 79M Active, 24M Inact, 37M Wired, 5640K Cache, 25M Buf, 3388K Free Swap: 384M Total, 133M Used, 251M Free, 34% Inuse PID USERNAME PRI NICE SIZERES STATETIME WCPU CPU COMMAND 62380 root 1220 788K 648K RUN 0:01 19.48% 1.86% make 736 smithi970 27000K 3184K select 89:56 1.07% 1.07% kdeinit 762 smithi960 29708K 7428K select 14:01 0.93% 0.93% kdeinit 699 smithi960 52320K 10288K select 105:02 0.88% 0.88% Xorg 62394 root 1250 580K 440K RUN 0:00 7.00% 0.34% make 754 smithi960 30972K 6308K select 57:22 0.15% 0.15% kdeinit 770 smithi 80 2524K 660K nanslp 20:51 0.05% 0.05% ascpu 'ps auxww' cpu percentages reveal little more, except that make index is running 'make -j2 ..' hence the ~2.0 load average. Ignore the high swap use; most of it is numerous quiescent kwrite, httpd and mozilla sessions pushed out to swap on this lil' 160MB laptop; 'systat -vm' shows it's not actually doing any paging during this time. Any ideas why top hasn't much of a clue about what's consuming cpu? Cheers, Ian I've the same issue with FBSD 5.4 and TOP. In fact, the load averages are so irrelevant now that I barely pay attention to them. The server goes to 4 or 6 load averages without slowing down, and other times the load average would be 0.8 and the server is running slow. An example of unmatching TOP: last pid: 17889; load averages: 0.60, 0.52, 0.50 up 3+17:22:33 00:41:45 186 processes: 2 running, 183 sleeping, 1 lock CPU states: 30.0% user, 0.0% nice, 1.7% system, 0.1% interrupt, 68.3% idle Mem: 1678M Active, 1110M Inact, 287M Wired, 87M Cache, 112M Buf, 103M Free Swap: 8762M Total, 1584K Used, 8760M Free PID USERNAME PRI NICE SIZERES STATE C TIME WCPUCPU COMMAND 5071 nobody 1010 43124K 35180K CPU2 2 0:07 14.89% 14.89% httpd 14409 nobody 40 43940K 36076K sbwait 0 0:01 1.22% 1.22% httpd 95515 nobody 40 39892K 32188K sbwait 1 0:08 0.29% 0.29% httpd 17656 prpcon 40 9916K 5680K sbwait 1 0:01 0.26% 0.24% cppop 18006 root 80 3032K 2324K nanslp 0 25:35 0.05% 0.05% perl 783 root 960 9704K 4572K select 3 17:39 0.05% 0.05% cppop 3820 mysql 200 339M 251M kserel 3 43:34 0.00% 0.00% mysqld 744 root 8 20 16776K 15120K nanslp 0 40:53 0.00% 0.00% perl 72899 root 200 21704K 20128K kserel 3 30:25 0.00% 0.00% clamd 913 root 970 11616K 4864K select 3 5:27 0.00% 0.00% cpsrvd 1065 mailnull 960 5880K 2828K select 0 3:22 0.00% 0.00% exim-4.62-0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: BSDstats Project v2.0 ...
For those of us who can't read minds, what's the port to install, and the website where we can view the stats? :) ___ It is http://bsdstats.hub.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Stand up and be counted - BSDStats Project
I've been doing some thinking on it this afternoon, and think I've figured out about the simpliest way of doing it ... it still doesn't deal with fakers and such, but, IMHO, I don't think that that is a *huge* problem that needs to be addressed ... some might do it for a lark, but, overall, it just sounds like something that is more worth then its worth, so over time, it should eventually balance out ... Excellent idea, and will be one of first to register! I don't believe at first it is that important to ensure no fake entries, it is more crucial to get this project started at first then deal with the more troublesome details. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: anyone with a p4 HT machine ever see anything from cpu1?
just a snip of my top window, but as far down as i can stretch my 1280x1024 screen, its all cpu 0 processes, even while compiling. last pid: 16214; load averages: 0.75, 0.35, 0.17up 1+00:37:34 09:43:04 114 processes: 2 running, 112 sleeping CPU states: 34.2% user, 0.0% nice, 15.4% system, 0.4% interrupt, 50.0% idle Mem: 202M Active, 456M Inact, 232M Wired, 860K Cache, 110M Buf, 97M Free Swap: 983M Total, 983M Free PID USERNAMETHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 8805 root 1 80 35880K 35552K wait 0 0:11 15.64% ruby18 15952 root 1 80 1224K 1112K wait 0 0:00 8.00% make 15925 root 1 80 1224K 1112K wait 0 0:00 3.59% make 656 jhorne1 960 303M 53372K select 0 8:25 2.69% Xorg 742 jhorne1 960 12632K 8252K select 0 16:42 1.03% gkrellm 1337 jhorne1 960 29092K 21276K select 0 0:02 0.78% kdeinit 732 jhorne1 960 30700K 22904K select 0 1:21 0.10% kdeinit 293 root 1 960 1260K 684K select 0 0:24 0.05% moused 752 jhorne1 960 25780K 17952K select 0 7:07 0.00% kdeinit 738 jhorne4 20 -76 14012K 8132K kserel 0 1:34 0.00% artsd 758 jhorne1 960 31820K 21544K select 0 1:24 0.00% kdeinit 720 jhorne1 960 30724K 22796K select 0 1:13 0.00% kdeinit 695 jhorne1 960 3532K 2012K select 0 0:41 0.00% gam_server 728 jhorne1 960 25596K 17556K select 0 0:12 0.00% kdeinit dmesg shows that freebsd sees the other cpu... [EMAIL PROTECTED] ~]# dmesg | grep cpu cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu0: ACPI CPU on acpi0 acpi_throttle0: ACPI CPU Throttling on cpu0 cpu1: ACPI CPU on acpi0 acpi_throttle1: ACPI CPU Throttling on cpu1 cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu0: ACPI CPU on acpi0 acpi_throttle0: ACPI CPU Throttling on cpu0 cpu1: ACPI CPU on acpi0 acpi_throttle1: ACPI CPU Throttling on cpu1 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 SMP: AP CPU #1 Launched! so is the SMP portion of the technology as worthless as 'they' say? thanks, jonathan FBSD 6.1 and 5.4 had no problems with HT on P4 and Xeon processors. I also mentioned the machines ran better with HT enabled than being disabled. do a check to make sure HT is enabled: sysctl -a machdep.hyperthreading_allowed last pid: 20206; load averages: 0.10, 0.03, 0.01 up 6+02:30:20 14:34:40 158 processes: 1 running, 157 sleeping CPU states: 3.4% user, 0.0% nice, 1.9% system, 0.2% interrupt, 94.5% idle Mem: 279M Active, 411M Inact, 263M Wired, 32M Cache, 111M Buf, 9560K Free Swap: 3000M Total, 202M Used, 2798M Free, 6% Inuse PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 810 mysql 52 200 69304K 17080K kserel 1 12:07 0.00% mysqld 2205 clamav 4 200 22940K 20256K kserel 1 11:44 0.00% clamd 617 mailman 1 80 7960K 1416K nanslp 0 1:50 0.00% python2.4 615 mailman 1 80 7968K 1436K nanslp 1 1:48 0.00% python2.4 618 mailman 1 80 7976K 1420K nanslp 1 1:47 0.00% python2.4 22110 mailnull 1 960 5668K 656K select 1 1:46 0.00% exim-4.62-0 616 mailman 1 80 7964K 1396K nanslp 1 1:46 0.00% python2.4 614 mailman 1 80 7960K 1400K nanslp 0 1:45 0.00% python2.4 619 mailman 1 80 8020K 1436K nanslp 0 1:45 0.00% python2.4 621 mailman 1 80 7960K 1408K nanslp 0 1:43 0.00% python2.4 55933 root 1 960 2628K 1412K CPU0 0 1:33 0.00% top 50253 root 1 960 22860K 13364K select 0 1:06 0.00% perl 1027 mcsupport1 960 6120K 360K select 1 0:58 0.00% sshd 882 mailnull 1 80 6168K 2008K nanslp 0 0:53 0.00% perl5.8.8 22116 root 1 80 2684K 1508K nanslp 1 0:40 0.00% perl5.8.8 505 nobody 1 200 13136K 7068K lockf 0 0:26 0.00% httpd 2193 nobody 1 200 27340K 7468K lockf 0 0:24 0.00% httpd 474 root 1 960 8664K 1596K select 0 0:23 0.00% httpd 492 nobody 1 200 12416K 6388K lockf 1 0:21 0.00% httpd 647 root 1 80 9552K 1688K nanslp 0 0:21 0.00% perl5.8.8 495 nobody 1 200 20436K 7308K lockf 1 0:17 0.00% httpd 609 root 1 960 9700K 2888K select 1 0:16 0.00% cppop 309 root 1 960 1300K 424K select 0 0:15 0.00% syslogd 578 root 1 8 20 8496K 5480K nanslp 0 0:14 0.00% perl5.8.8 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL
RE: anyone with a p4 HT machine ever see anything from cpu1?
On Sunday 30 July 2006 13:36, Tamouh H. wrote: do a check to make sure HT is enabled: sysctl -a machdep.hyperthreading_allowed oops... we have definatly found my problem. [EMAIL PROTECTED] ~]# sysctl -a machdep.hyperthreading_allowed machdep.hyperthreading_allowed: 0 what do i need to do to get it changed? thanks, jonathan do : sysctl -w machdep.hyperthreading_allowed=1 and make sure the line exist in /etc/sysctl.conf machdep.hyperthreading_allowed=1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: smb issue
After loading ichsmb, smbus and smb, dmesg reports: ichsmb0: Intel 82801DC (ICH4) SMBus controller port 0x1880-0x189f irq 10 at device 31.3 on pci0 ichsmb0: [GIANT-LOCKED] smbus0: System Management Bus on ichsmb0 smb0: SMBus generic I/O on smbus0 Then, mbmon -d -S gives: [EMAIL PROTECTED]:/usr/home/sveinhal]$ mbmon -d -S SMBus[Intel8XX(ICH/ICH2/ICH3/ICH4/ICH5/ICH6)] found, but No HWM available on it!! InitMBInfo: Device not configured smbmsg -p gives: [EMAIL PROTECTED]:/usr/home/sveinhal]$ smbmsg -p Probing for devices on /dev/smb0: Device @0x2c: rw *waiting, and waiting* ^C dmesg then shows hundreds of these: ichsmb0: device timeout, status=0x41 Any clue? I've had that same problem on one machine, still unresolved. Someone else actually got it working by unloading smbus from kernel !! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
tool to track processes read/write
Hi, Is there a tool that shows how many times a process has read / written to disk ? Preferred in a TOP style. Thx, Tamouh Hakmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Are hardware vendors starting to bail on FreeBSD ... ?
On Jul 25, 2006, at 8:16 PM, Nikolas Britton wrote: ICP Vortex is an Adaptec company and Adaptec doesn't support FreeBSD. We've already been over this once. Not to disagree with you, but Adaptec put new drivers for 5.3 and 5.4 for their 2420, 2820, 2320SLP, 2130SLP, and 4800/4805SAS driver back in April 06 up on their website. Their support could be a lot better, but these are new cards and new FreeBSD drivers... There is no storage manager aaccli like there was earlier :-( (maybe a Linux one, assuming there is one, will work like the Linux aaccli program works on FreeBSD?) I've 2130SLP and the drivers Adaptec posted caused server reboots almost immediately, the documentation were lacking (device name has changed which would cause a failed boot) and as you said aaccli is not working, not even the new linux ASM. On that point, do you still have the linux aaccli file ? I've been looking for it with no luck. Just updated the 2130SLP firmware and its no longer accepting the aaccli utility. Advise.stay away from Adaptec on FreeBSD and especially RAID controllers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Adaptec 2410SA Raid and Hot swapping
Hey, I have a couple Adaptec 2410SA Raid cards (aac driver) and I was wondering if anyone has had any luck with being able to hotswap drives in FreeBSD 6? If the Adaptec card is no good for hot swapping under FreeBSD, what's the recommended brand? Thanks Daniel I've 2230SLP which hot-swapped no problem under FBSD 5.4 and I doubt it'll have issues with 6.x . Though performance write speed is very bad! Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Adaptec 2410SA Raid and Hot swapping
Hey, I have a couple Adaptec 2410SA Raid cards (aac driver) and I was wondering if anyone has had any luck with being able to hotswap drives in FreeBSD 6? If the Adaptec card is no good for hot swapping under FreeBSD, what's the recommended brand? Thanks Daniel I've 2230SLP which hot-swapped no problem under FBSD 5.4 and I doubt it'll have issues with 6.x . Though performance write speed is very bad! Tamouh Did you use the aaccli tool to initiate/powerdown the drives and rebuild the array? Nope, didn't need to do. Just removed the hot-swap drive, replaced it. The controller picked-up the new drive and rebuilt the RAID. This was RAID-5. The aaccli tool stopped working with the latest card firmware, so now there is no way to manage the card from within FreeBSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Temperature Monitor
On Sunday 23 July 2006 18:10, Tamouh H. wrote: Beautiful! That did the trick. adding to the kernel: device      ichsmb device      smb device      smbus device      intpm and then installing mbmon from source fixed it! out of curiosity and for the sake of scientific method, did you happen to do the kernel adds and the try the port again to check failure, or did you do both and then check? just wondering, jonathan ___ For the sake of the scientific method, I've removed the above kernel lines, recompiled, rebooted and mbmon is still working! Yet, I suspect mbmon is not reporting the correct temperature, because after all that and a reboot , the temperature is still exactly the same: Temp.= 36.5, 50.5, 0.0; Rot.=0, 1850,0 Vcore = 1.34, 1.51; Volt. = 3.36, 5.21, 12.56, 0.00, 0.00 This machine runs P4 , Intel D865GVHZ motherboard. On another machine running dual Xeon, SuperMicro board, mbmon wouldn't be able to retrieve any data. It just hangs there. Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Temperature Monitor
Hi, nothing special. But for smb support, I mean compile it into the kernel. Try adding device ichsmb device smb device smbus device intpm to your kernel and then see if mbmon picks up the info. ---Mike Thx Mike, no luck there either: sonata# mbmon -d ioctl(smb0:writebyte): Device not configured sonata# mbmon -D Probe Request: none Testing Reg's at SMBus SMBus slave 0x0C(0x06) found... SMBus slave 0x2E(0x17) found... SMBus slave 0x44(0x22) found... SMBus slave 0x52(0x29) found... SMBus slave 0x8C(0x46) found... SMBus slave 0xAE(0x57) found... SMBus slave 0xC4(0x62) found... Set SMBus slave address: 0x52 Probing Winbond/Asus/LM78/79 chip: CR40:0x7F, CR41:0x98, CR42:0x00, CR43:0x00 CR44:0x00, CR45:0x00, CR46:0x00, CR47:0x00 CR48:0x04, CR49:0x4B, CR4A:0x00, CR4B:0x00 CR4C:0x00, CR4D:0x00, CR4E:0x00, CR4F:0x00 CR56:0x00, CR58:0x00, CR59:0x00, CR5D:0x01 CR3E:0x10, CR13:0x01, CR17:0x60, CRA1:0xFF CR20:0x60, CR22:0x40, CR23:0x40, CR24:0x00 CR27:0x00, CR29:0x37, CR2A:0x46, CR2B:0x30 ioctl(smb0:writebyte): Device not configured Thx, Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Temperature Monitor
At 01:20 PM 23/07/2006, Tamouh H. wrote: sonata# mbmon -d ioctl(smb0:writebyte): Device not configured Actually, try building mbmon from source and not from the ports. ---Mike Beautiful! That did the trick. adding to the kernel: device ichsmb device smb device smbus device intpm and then installing mbmon from source fixed it! sonata# mbmon Temp.= 36.5, 50.5, 0.0; Rot.=0, 1582,0 Vcore = 1.34, 1.51; Volt. = 3.36, 5.20, 12.59, 0.00, 0.00 Thanks again Mike, ur a champion! Best, Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
strange reboot on FreeBSD 6.1
Hello, I have a machine that I've been monitoring for strange reboots. The machine is hardly ever used, in fact it sits idle 99.9% of the time. When a hardware failure occurs, does FreeBSD still records 'reboot' in the last command ? All the sudden at no specific intervals, the machine reboots. No user logins, no access, nothing triggers it. Just a reboot. This is what /var/log/all.log says: Jul 20 17:35:00 freebsd /usr/sbin/cron[27682]: (root) CMD (/usr/libexec/atrun) Jul 20 17:35:00 freebsd /usr/sbin/cron[27683]: (root) CMD (/usr/local/cpanel/bin/dcpumon /dev/null 21) Jul 20 17:35:02 freebsd kernel: arplookup 66.249.129.65 failed: host is not on local network Jul 20 17:35:02 freebsd last message repeated 4 times Jul 20 17:40:00 freebsd /usr/sbin/cron[27697]: (root) CMD (/usr/libexec/atrun) Jul 20 17:40:00 freebsd /usr/sbin/cron[27698]: (root) CMD (/usr/local/cpanel/bin/dcpumon /dev/null 21) Jul 20 17:45:19 freebsd syslogd: restart Jul 20 17:45:19 freebsd syslogd: kernel boot file is /boot/kernel/kernel [EMAIL PROTECTED] /usr/local/apache/logs]# last -n 42 mcuserttyp0ip.ip.ip.ipThu Jul 20 19:07 still logged in reboot ~ Thu Jul 20 17:45 mcuserttyp0ip.ip.ip.ip Sat Jul 15 18:27 - 19:22 (00:55) Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Opteron(tm) Processor 146 (1992.34-MHz 686-class CPU) Origin = AuthenticAMD Id = 0xf58 Stepping = 8 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2 AMD Features=0xe0500800SYSCALL,NX,MMX+,LM,3DNow+,3DNow real memory = 1073676288 (1023 MB) avail memory = 1041735680 (993 MB) MADT: Forcing active-low polarity and level trigger for SCI ioapic0 Version 1.1 irqs 0-23 on motherboard ioapic1 Version 1.1 irqs 24-27 on motherboard ioapic2 Version 1.1 irqs 28-31 on motherboard kbd1 at kbdmux0 acpi0: A M I OEMRSDT on motherboard acpi0: Power Button (fixed) Timecounter ACPI-safe frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x5008-0x500b on acpi0 cpu0: ACPI CPU on acpi0 acpi_throttle0: ACPI CPU Throttling on cpu0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: ACPI PCI-PCI bridge at device 6.0 on pci0 pci3: ACPI PCI bus on pcib1 ohci0: OHCI (generic) USB controller mem 0xfeafc000-0xfeafcfff irq 19 at device 0.0 on pci3 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: OHCI (generic) USB controller on ohci0 usb0: USB revision 1.0 uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered Thx, Tamouh Hakmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Temperature Monitor
Hi, I've an Intel board D865GVHZ running on FBSD 5.4 that I'd like to monitor its temperature. I've tried using lmmon , but the data are way off: I have an 865GCH. You might be able to get it via acpi % sysctl -a hw.acpi.thermal.tz0.temperature hw.acpi.thermal.tz0.temperature: 40.0C % also, mbmon, might be able to work if you compile in smb support. ---Mike thx, I've tried that but the thermal sysctl not available. mbmon compiled with smb didn't recognize a h/w monitor! do you have anything special compiled in your kernel for acpi ? sonata# sysctl -a hw.acpi hw.acpi.supported_sleep_state: S1 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.reset_video: 1 hw.acpi.cpu.cx_supported: C1/0 hw.acpi.cpu.cx_lowest: C1 hw.acpi.cpu.cx_usage: 100.00% dev.acpi.0.%desc: INTEL D865GVHZ dev.acpi.0.%driver: acpi dev.acpi.0.%parent: nexus0 Thanks again, Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Temperature Monitor
Tamouh H. wrote: Hi, I've an Intel board D865GVHZ running on FBSD 5.4 that I'd like to monitor its temperature. I've tried using lmmon , but the data are way off: Motherboard Temp Voltages 255C / 491F / 528KVcore1: +3.984V Vcore2: +3.984V Fan Speeds + 3.3V: +3.984V + 5.0V: +6.654V 1:0 rpm+12.0V: +15.938V 2:0 rpm-12.0V: -15.938V 3:0 rpm- 5.0V: -6.654V All the other apps I'm finding are either too old, or only work with laptops / specific boards. Any suggestions ? Thx, I've always had good luck with 'mbmon'. I think you can find it in ports, possibly under 'xmbmon' -- in which case I think you'll need to specify the option to build the console version, not the X version. -- Mark Cullen [EMAIL PROTECTED] Thanks, I've actually tried 'mbmon', however that didn't work either. Someone else pointed to the same error and no solution were found as far as I'm aware: sonata# mbmon -d ioctl(smb0:open): No such file or directory SMBus[Intel8XX(ICH/ICH2/ICH3/ICH4/ICH5/ICH6)] found, but No HWM available on it!! No Hardware Monitor found!! InitMBInfo: Bad file descriptor Thx, Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: coldfusion alternative
OK so a good customer of long standing wants a coldfusion website. Some developer, the husband of one of his staff (so that makes him a trusted advisor, right?), has convinced him it's the only way to do it. My position is maybe that's the only way -he- can do it but there's a whole wide world of alternatives out there. Looking at it, he wants to collect some data on an input form, then hash it over a couple of ways and present the results. Pretty graphics maybe as well. Looks to me like Perl... don't even need a real database, heck DB_File would work just fine for this. OK with me... ...but what's the argument to present other than you don't need coldfusion? I'd even put CF on the system and be done with it if there was a FreeBSD version (anyone have any luck with that?). Tracked down BlueDragon but that's apparently Win only as well. Ammunition wanted. Thanks Glenn. Check Blue Dragon Server, it works like CF, there is a free version as well. http://www.newatlanta.com/products/bluedragon/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Temperature Monitor
Hi, I've an Intel board D865GVHZ running on FBSD 5.4 that I'd like to monitor its temperature. I've tried using lmmon , but the data are way off: Motherboard Temp Voltages 255C / 491F / 528KVcore1: +3.984V Vcore2: +3.984V Fan Speeds + 3.3V: +3.984V + 5.0V: +6.654V 1:0 rpm+12.0V: +15.938V 2:0 rpm-12.0V: -15.938V 3:0 rpm- 5.0V: -6.654V All the other apps I'm finding are either too old, or only work with laptops / specific boards. Any suggestions ? Thx, Tamouh Hakmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: SMP Performance (Was: Re: Are hardware vendors starting to bail ... )
On Jul 13, 2006, at 9:22 AM, Danial Thom wrote: Simply enabling SMP on a single processor system adds 20-25% overhead in freebsd 6.1. Again, readily admitted/accepted by the developers. There is no way to recover that in efficiency, at least not for a long time. So don't enable SMP on a single cpu system. Easy enough to avoid. Chad Why would anyone want to enable SMP on a single CPU system anyway. Actually, I believe all the new boot disks / ISOs are all SMP-enabled, so unless you build a custom kernel (some ppl do just run GENERIC ... I'm not one, mind you), you could be running an SMP-enabled kernel on a UP system without even knowing it ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 I have to put my two cents here: 1) I agree with few posters that FreeBSD performance have been lacking behind. I've reported few issues on performance list and many did. We offered few pre-production servers for performance testing, but the answer we keep getting is: a. It is either your hardware sucks b. your benchmark application sucks 2) Regarding SMP, few posts talked about disabling hyper-thread and SMP because it causes a performance degradation. On production hosting server, the experience was otherwise though. Without HT and SMP, the server would sky rocket in resource consumption. This has been tested on FBSD 5.4 i386 3) I'm also frustrated like many with the rapid advancement in release jumps. We barely started 5.x to conclude it does not live up to expectations, so now 6.x is suppoused to be the good version, yet 7.x is going to come out soon and probably in less than a year 6.x will be considered inadequate. While I understand the development team is working hard to catch-up with technology and hats off to all the developers, why there is in my opinion no long term strategy for the base of the software. Thank you, Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: HD Errors
Tamouh H. wrote: Hi, I'm seeing the following messages in /var/log/messages and am concerned about the integrity of the hard drive: ad0: WRITE command timeout tag=0 serv=0 - resetting cd9660: RockRidge Extension ad0: READ command timeout tag=0 serv=0 - resetting ad0: READ command timeout tag=0 serv=0 - resetting ad0: READ command timeout tag=0 serv=0 - resetting cd9660: RockRidge Extension ad0: READ command timeout tag=0 serv=0 - resetting cd9660: RockRidge Extension ad0: WRITE command timeout tag=0 serv=0 - resetting ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. done ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. done swap_pager: indefinite wait buffer: device: #ad/0x20001, blkno: 5488, size: 4096 ad0: WRITE command timeout tag=0 serv=0 - resetting Are the ad0 messages showing the hard drive is having hardware problems? Many thanks, Robert Very likely, backup your important date, grab a HD manufacturer disk and test out the drive then post results here with the hard drive manufacture name/model. Tamouh OK, It's a Maxtor DiamondMax Plus 9 120GB ATA/133 hard drive (EIDE). It's in a Dell Dimension P133v. I also have a Dell Optiplex GX1 which only supports a hard drive of 80 GB max. This machine is at least as old as the optiplex, so it's likely to support at most 80 GB as well, not 120 GB. I ran Maxtor's HD Diagnostic tools on the drive and the test, with the exception of the long, full test, came back as passed. So, I have reasonable confidence that the problem isn't the drive. FreeBSD says during drive formatting that there may be weird errors for drives misreporting size. Are the errors that I'm seeing likely reflective of this? What should my concern level be? Thanks again, Robert Robert, I've seen bad drives passing the quick test but fail the long test. Do a long test , it could be couple of bad sectors on the drive failing, and this usually causes the short test to Pass. Also, take Gayn suggestions, check the cables...etc. Try another good drive, if that gives the same problem then most likely something incomatible with the ATA controller! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: HD Errors
Hi, I'm seeing the following messages in /var/log/messages and am concerned about the integrity of the hard drive: ad0: WRITE command timeout tag=0 serv=0 - resetting cd9660: RockRidge Extension ad0: READ command timeout tag=0 serv=0 - resetting ad0: READ command timeout tag=0 serv=0 - resetting ad0: READ command timeout tag=0 serv=0 - resetting cd9660: RockRidge Extension ad0: READ command timeout tag=0 serv=0 - resetting cd9660: RockRidge Extension ad0: WRITE command timeout tag=0 serv=0 - resetting ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. done ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. done swap_pager: indefinite wait buffer: device: #ad/0x20001, blkno: 5488, size: 4096 ad0: WRITE command timeout tag=0 serv=0 - resetting Are the ad0 messages showing the hard drive is having hardware problems? Many thanks, Robert Very likely, backup your important date, grab a HD manufacturer disk and test out the drive then post results here with the hard drive manufacture name/model. Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Slow server
Olivier Nicole wrote: 2) as there are many connections comming from search engines siders (90% of all the established connections), I'd like to limit the ressources that spiders are using. One way would be through IPFW, but are there better ways? Is there a way to limit/prioritize in Apache (not that I know any). Lookup mod_security rules for Apache and mod_dosevasive. mod_evasive will help prevent the spiders from opening many pages at one time mod_security has rules to detect some fake spiders and other bots and block them from the get go. Both though will add a little bit of overhead to Apache. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
busy disks - a lot of write activities on / part
I'm diagnosing a slow hard disk issues , trying to determine where the bottleneck in all of this. The system is FreeBSD 5.4 with SCSI U320 drives in RAID-5 on Adaptec 2130SLP Controller. I'm noticing the / boot partition has the most activities for writes/Busy and was wondering if anyone can shed some lights on this and what can possibly be done to speed up the drives. doing 'gstat' shows: dT: 0.510 flag_I 50us sizeof 240 i -1 L(q) ops/sr/s kBps ms/rw/s kBps ms/w %busy Name 0 0 0 00.0 0 00.00.0| acd0 1141 62596.6135 1466 121.0 94.3| aacd0 0 0 0 00.0 0 00.00.0| aacd1 0 0 0 00.0 0 00.00.0| acd0t01 1141 62596.7135 1466 121.0 94.5| aacd0s1 0 0 0 00.0 0 00.00.0| aacd1s1 1 61 0 00.0 61549 16.6 101.2| aacd0s1a 0 0 0 00.0 0 00.00.0| aacd0s1b 0 0 0 00.0 0 00.00.0| aacd0s1c 0 73 0 00.0 73906 205.1 48.6| aacd0s1d 0 4 2 47.9 2 12 242.6 49.1| aacd0s1e 0 4 42556.1 0 00.02.4| aacd0s1f 0 0 0 00.0 0 00.00.0| aacd1s1c 0 0 0 00.0 0 00.00.0| aacd1s1d 0 0 0 00.0 0 00.00.0| aacd1s1e This is df: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/aacd0s1a 80999859430685770 8%/ devfs 11 0 100%/dev /dev/aacd1s1e172288814892 1570166 1%/tmp /dev/aacd0s1f 209955742 62440662 13071862232%/home /dev/aacd0s1d 35921132 6151076 2689636619%/usr /dev/aacd0s1e 22270798 3480300 1700883617%/var devfs 11 0 100%/var/named/dev procfs 44 0 100%/proc /dev/aacd1s1d 137099908 70149522 5598239456%/backup Any info on matter of disks performance is much appreciated. Thx, Tamouh Hakmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Are hardware vendors starting to bail on FreeBSD ... ?
ware vendors starting to bail on FreeBSD ... ? On 6/21/06, Marc G. Fournier [EMAIL PROTECTED] wrote: b. are ppl actually using/promoting SATA drives in a server environment? Or are we just talking about situations where you have a large number of spindles to work with? My one experience with an SATA configuration is that the server doesn't *feel* like its performing as well as my SCSI servers do ... under load ... Yes. All the servers I'm installing this year will have SATA drives (and 3ware RAID controllers). The Western Digital Raptor drives are every bit as good as the SCSI drives I used to get. Although it can be difficult to explain to the finance people why a 74GB drive is better than a 500GB drive at the same price. I know there have been a lot of mentioning of 3Ware and SCSI. But I went on 3WARE website and there is not a single SCSI Adapter RAID or else! In that case, the only real players left for SCSI are Adaptec and LSI (aside from HP controllers). Adaptec is out of question for FreeBSD due to its performance, so really only LSI left! It seems SATA is the way to go on small to medium sized servers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Tracking if disk is busy
In the last episode (Jun 22), Matt Ruzicka said: We've got a couple servers that appear to have particularly busy disks and I was trying to determine if there is a way to more easily poll this data for tracking. I'm not sure if this is one of those can't see the forest for the trees issues or not, but the only means that I am familiar with to see the percentage of time the disk is busy is to run 'systat -vmstat'. I was hoping for something more concise that I could run periodically and maybe even graph (realizing that watching this might well distort the results). It appears that iostat on Solaris gives this information, but I can't seem to mimic this functionality with FreeBSD. iostat on -current and 6-stable has a Solaris-style -x mode with a percent-busy column. -- Use : systat -vm 1 that will give you all the info u need, you can also try: systat -io 1 '%busy' ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ICH5R, ICH7R or Promise PDC20378 RAID?
1) With the Promise controller, after simulating a disk problem (shutdown - disk disconnection - reboot - shutdown - disk reconnection - reboot), I wasn't able to rebuild the array at all, either with atacontrol rebuild ar0 or from the bios. I suspect a spare disk is necessary for a complete rebuild. 2) With the ICH5R controller, installation went fine too. If I disconnect a disk, the system still boots, but when I plug the disk back (computer shut down), no boot is possible anymore. At boot, a kernel panic says: softdep_setup_inomapdep. No array rebuild is possible from the bios, so I'm stuck. I use freebsd 6.1 RELEASE, with the latest BIOS for the motherboard, and 2 SATA 1.0 Western Digital 160GB disks. I'm trying to configure RAID 1. I'm surprised I have so many problems. Am I doing anything wrong? With INTEL hardware controllers for SCSI disks, I never had any problems until now. Does anyone successfully use another ASUS board, and is able to rebuild the array, without rebooting? Few things I noticed about the on-board Promise chipset on ASUS that it is very poorly designed. If you do the unplug/replug test, it most likely won't work, you need to use a spare drive or re-format the drive and then replug it. It also goes out of sync very often, so you want to make sure you're running consistency checks at least once a month. Sometimes when one of the RAID-1 drives develops bad sectors, the whole array won't boot until you unplug one of the drives, and plug a spare one. My conclusion, if you need something stable, don't use the onboard raid, get a RAID card even the cheap ones will do better job!! Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: monitoring raid arrays
On Jun 19, 2006, at 10:12 AM, Elliot Finley wrote: Port: aaccli-1.0 Path: /usr/ports/sysutils/aaccli Info: Adaptec SCSI RAID administration tool Maint: [EMAIL PROTECTED] B-deps: R-deps: WWW:http://support.dell.com/ Never tried it but it looks like your best bet. Yes, I saw this too. Doesn't work on 6.x though because of the MAKEDEV requirement. I am not running the Dell version but the actual generic adaptec Linux version with the Linux compat stuff installed and it works fine with 6.0. You should be able to Google and see what people did to make it work. And the same thing probably? should work with the Dell version? Chad The aaccli works only with certain Adaptec firmware. If the adaptec card has the newest firmwares (I believe the ones in April + ), the aaccli will not work. Official Adaptec stand as it appears that they don't have storage management on FreeBSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Experience with Adaptec AACU driver on FreeBSD 5.4
Hi, I noticed Adaptec now appears to have finally released drivers for FreeBSD 5.x : http://www.adaptec.com/en-US/downloads/unix/freebsd?productId=SAS-4800dn=Adaptec+Serial+Attached+SCSI+RAID+4800SAS Any comments on compatibility, issues or performance with these drivers ? I'm tempted to try them out on a production server especially noting the current BSD drivers make my SCSI drives feel more like IDE drives! Any input is appreciated. Thx, Tamouh Hakmi Mediumcube.com HICOMMUNICATIONS Tel/Fax: (613) 860-1757 Online: http://www.mediumcube.com Toll-Free: 1-866-654-4266 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Im new to FreeBSD
Im very new to this and have some questions,Im looking for an operationg system to replace windows Xp on my computer.My computer has a celeron processor and 512 megabytes of memory.Is this enought to run freeBSD ?.And also,I have many applications,will they be compatible with freeBSD or will BSD come with everything I will need? (word processor,internet browser,ECT)... Also check a popular run-up PCBSD http://www.pcbsd.org/ which probably will serve you best if you're looking for replacement desktop, easy to install and configure. Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Adding as a second hard drive
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam M Sent: June 1, 2006 8:04 PM To: freebsd-questions@freebsd.org Subject: Adding as a second hard drive Yes, I was wondering what the best way was to add a second hard drive to my existing FreeBSD system, I searched the Handbook, but cannot find it. ___ It is in the Handbook, follow it to the teeth and you should be OK: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-adding.html Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Problems with sshd on FreeBSD 4.11-RELEASE
Curiously, I just restarted sshd, and now things are working again. Has anybody ever seen this before? -Andy. We had problems as well with FreeBSD 4.11 and sshd service hanging or breaking because of an OPENSSL lib which are required to run OpenSSH. Since then we moved out of 4.11 to 5.x ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: DMA TIMEOUT
Did you use a 80- or 40-ATA cable? If you've configured your drives to do UATA-66 or faster then FreeBSD (or any other OS for that matter) will crash if you connect a second drive... This is new one to me! I guess my 3 x UATA-100 are super drives of some sort not to crash!! It's an 80 wire. I have two drives on nearly all of my machines and never had an issue with crashing until just recently. Started in 5.4, gone in 6.1-PRE, back in 6.1-RC. It doesn't happen alot though under 6.1-RC. But under 5.4 it was about every 8 hours on average. So in one sense 6.1 is still saving my arsh. -- Wil Hatfield I suspect some kind of hardware problem, and not a software problem... If you can, boot into another OS, preferbly windows, since it will crash on just about anything, you can use your swap partition to install it... I have had this case on one machine running FreeBSD 5.4, it would happen intermittently, but after replacing the power supply it appears to have resolved the issue. Also, once I noticed this problem with MegaRac G2 remote management card installed! However, when you've upgraded to FreeBSD 6.0, did you test the system extensively for long period of time before upgrading to 6.1-RC ? If it worked well in 6.0 and stopped working in 6.1, I've to lean towards SW issue assuming all things remained the same. Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Motherboards
I have a number of servers that are reaching end of life. They are over 7 years old and I can no longer find IDE drives that work with the slower controllers they have. These are all towers and use ASUS motherboards. Those were quite cheap at the time and the boards have worked very well over the years. However, I am now hearing rumers that ASUS motherboards are no longer the best quality and probably should be avoided. Don't need much on the machines, but do have to have 2 NICs and a SCSI controller on each. What are good, rock solid, motherboards with FreeBSD 6.0? I can't speak for FBSD 6 best motherboard, however, regarding ASUS their quality is not as good as it used to be. I deal with number of computer suppliers and we're beginning to see more common ASUS motherboard problems. In the entry level market if you're going to use Intel CPU maybe it is best to stick with Intel boards (they are not flexible, but quality wise pretty good). If in AMD, I see NForce chipsets most popular. Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: AAC_COMPAT_LINUX?
It seems the AAC_COMPAT_LINUX kernel option that I needed to run aaccli for an Adaptec RAID card (2120s) is no longer available in 5.3. Is there a replacement, or another way to run aaccli? Thanks, sdb -- [EMAIL PROTECTED] You don't need the AAC_COMPAT_LINUX option enabled. Do you have linux binaries installed ? run kldstat to check you should see linux.ko If not installed, check this: http://www.freebsd.org/doc/handbook/linuxemu-lbc-install.html Once all done and you can see linux binaries, go to the Port: /usr/ports/sysutil/aaccli make install distclean This will install aaccli, or you can just copy the file aaccli from the files folder and put it in /usr/bin which will also work. Note, If you have upgraded your RAID card to the latest Adaptec firmware (like I did) aaccli will not work. I think Adaptec is working on a new utility for FreeBSD, but so far it is no go. Good luck, Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: favorite ATA/SATA hard disk brand?
If I were going to run RAID-1, I would pick two disks of the same size but different brands (Samsung and Hitachi 250Gb say). If you buy two disks of the same brand at the same time from the same supplier, it always seems to me that you increase the chance that a) they come from the same batch b) therefore if one has some production-line-related fault, the other is more likely to have the same fault. --Alex Actually, this is an excellent advise for the fact mentioned above, and as well some RAID-1 controllers actually malfunction when one of the two identical disks goes bad. So you'll have to physically disconnect the bad disk from the card. This happened to me on a Promise Controller. You'll even see a notice about it in the new Promise controllers User Guide ! Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: favorite ATA/SATA hard disk brand?
What brand / make / model ATA / SATA hard disks do you prefer? I am looking to purchase some SATA disks in the 160 - 300GB size. I got a good deal (I think) on a Samsung OEM 250GB disk for $95 at my local MicroCenter, but read on the web a few days later one gamer / system builder / geeks-on-call type that he had *4* Samsung OEM disks all die on him. So he swore off Samsung. So whom do you like / recommend? I'm currently organizing a list in my mind that looks something like: #1 Seagate Barracuda SATA disks #2 Hitachi Deskstar (formerly IBM) #3 Fujitsu (models not known) #4,5,6 Maxtor, Samsung, Western Digital Intended use is for a server (NFS, maybe SAMBA) in a RAID-1 (mirrored) configuration. I am thinking of using an ASUS A8V, A8V-E SE, or one of the A8N Nvidia Nforce4 motherboards. OSes to include: FreeBSD, Linux, Winbloze (maybe). Your experiences, expertise, recommendations are most welcome. -- Steve Camp [EMAIL PROTECTED] This is a hit and miss situation. Each manufacturer has at least one model line that goes wrong. Too many factors affecting failure rates, and reliability in the desktop market is not really a 1st priority. I used to say Seagate is the best, however, after I said that, 3 SATA drives failed , 1 SCSI and a replacement drive failed on me. I've been using on my local station a Samsung since 3 years ago, it is a bit slow, but has been quite reliable that I'm pondering to go with Samsung drives. I never had WD fail on me, however, seen a lot of customers WD fail! The top in their game in my opinion: SCSI: IBM, Seagate, Fujitsu, Hitachi (maybe?) ATA/SATA: WD , Seagate, Samsung Notebooks: Seagate , Fujitsu (I didn't like Toshiba nor Hitachi) Never buy Maxtor for servers, I know that one for sure from my own experience and in conversations with a large DC tech guy. After all, you and your luck. It seems each person have a lucky start drive manufacturer. Good luck! Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: how does a system come up if you disable background fsck ?
Tamouh H. wrote: Micah, Kris: You guys are hilarious, where can I find ppl like you ? Of course I'm using a backup power, but there are 101 reasons for FreeBSD to reboot by itself and when that happens, 30 minutes downtime is 30 minutes of wasted time. Since you're *so* smart, perhaps you could help us stupid people by listing those 101 reasons? In ten years of FreeBSD I've never had a system reboot except through power failure or operator action. Hardware failure can do it too, of course, and if your system is so critical, where's its backup system? If your system is panicking, then why aren't you doing something to isolate the problem and help fix it? Assuming that there is a problem with the *system*. --Alex PS You can find plenty of people like Kris and Micah right here on freebsd-questions: people giving their own time to actually help people sort out their problems. Haven't seen you doing that. Probably your whole 10 YRS of working on FreeBSD was on a P-II or AMD K6 running a workstation in your basement, or who knows where. I contribute to this group and many other places as much as I can with my experience and if you should check the archives you'll find my name pop-up there many times. I also do other types of contributions to the FreeBSD foundation and other organizations that utilize FreeBSD. I didn't complain about the system reboots (did I?), there is definitely a problem with the system rebooting, but that is my job to resolve it (whether being hardware or FreeBSD itself) and YES FreeBSD does have its issues *BIG TIME* too. My post was regarding the whole concept of doing background fsck or foreground fsck if they both cause the machine not to be usable for the duration of the fsck. I do appreciate a lot of people who take the time to address questions on these mailings and the many more who post to various forums and message boards. However, I don't appreciate sarcasm and useless remarks especially if they were not intended to be humorous anyway. Anyhow thanks for the help and great support ! Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: I386 Installation
I'm a newbie to unix and freebsd. I'm trying to follow your documentation and keep failing the install. I have an HP COmpaq desktop dc5100 MT and it will NOT detect my iso image for the i386. i did not see it in your hardware list.htm. does that mean it's not supported or do i need new drivers? if i put it in an older ibm, the cd works. i also tried using your floppy method and that failed as well. it said no boot/loader. this box has xp loaded it already. any help would be greatly appreciated. ~Eileen __ Eileen, make sure your HP system is set to boot the CDROM as first bootable device in the BIOS (section usually called Boot Device Priority), this is most likely the cause of it. Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: how does a system come up if you disable background fsck ?
Ensel Sharon wrote: I have disabled background fsck in my /etc/rc.conf with: background_fsck=no But I am curious - what does this mean for the system if the system crashes ? Does this mean that the system will wait for all non root partitions to fully fsck before coming up into multi-user mode ? OR Does it mean the system will boot up quickly into multi-user mode, but the non-root partitions will just not be mounted and/or usable until I fsck them by hand ? thanks. The former, as I can say with ample experience this morning. (stupid USB panic) HTH, Micah I find both ways useless. If fsck background starts after a crash it literally slows down the machine to a halt rendering it unusable. If enable fsck to check the system prior to mounting device, it will take at least 15-30 minutes for it to complete (in the event of a hard crash). Which also translates to a downtime. disabling fsck on the long run is a bad choice too as eventually the system files will become corrupt beyond repair. What is the solution here ? Thx, Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: how does a system come up if you disable background fsck ?
Tamouh H. wrote: Ensel Sharon wrote: I have disabled background fsck in my /etc/rc.conf with: background_fsck=no But I am curious - what does this mean for the system if the system crashes ? Does this mean that the system will wait for all non root partitions to fully fsck before coming up into multi-user mode ? OR Does it mean the system will boot up quickly into multi-user mode, but the non-root partitions will just not be mounted and/or usable until I fsck them by hand ? thanks. The former, as I can say with ample experience this morning. (stupid USB panic) HTH, Micah I find both ways useless. If fsck background starts after a crash it literally slows down the machine to a halt rendering it unusable. If enable fsck to check the system prior to mounting device, it will take at least 15-30 minutes for it to complete (in the event of a hard crash). Which also translates to a downtime. disabling fsck on the long run is a bad choice too as eventually the system files will become corrupt beyond repair. What is the solution here ? Thx, Tamouh If you can't acceptably absorb a 30 minute down time, then why are you running without backup power? - Micah Micah, Kris: You guys are hilarious, where can I find ppl like you ? Of course I'm using a backup power, but there are 101 reasons for FreeBSD to reboot by itself and when that happens, 30 minutes downtime is 30 minutes of wasted time. Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: System Freezing -Again
Hi all, I have been pestering everyone who will listen on this, and have yet to find a solution ... so here goes again! I have a FreeBSD system on a Dell PE 1850 that has been randomly freezing up from time to time in the past two weeks. Firewall is enabled, but is very solid as I am using the same rules on several other machines. I spent last Saturday and Sunday at the NOC, running Dell 32 bit diagnostics on it, along with memtest32, no errors found over many hours of testing. NO heat of note from the Power supply CPU or system fan. Nothing ever in log files, no core dumps. I have the DUMDEV=AUTO set in rc.conf, but ran dumpon -v /dev/da0s1b today, the output showed it should be dumping to my swap partition. APIC is disabled now, but has been enabled in the past, with the same results. POwer management is shut off in the bios. No System Events are being recorded in BIOS, and, the logs were harvested last week with no abnormalitied showing. The only item of note, that I found after todays freeze, was in /var/log/maillog, and /var/log/exim/mainlog, about 15 lines of ^@ recorded at about the exact tine of the freeze. Does anyone think this is significant, or is it simply a symptom of the crash? ANY help will be greatly appreciated. -GRant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Grab yourself an Antec ATX12V Power Supply Tester for $20 and test the power supply. Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Problems with SCSI
On Saturday 04 March 2006 12:43 pm, David LeCount wrote: I see no SCSI adaptor messages whatsoever. Upon boot, it goes directly from the BIOS post message to the FreeBSD boot manager. I tried hitting ctrl c that doesn't sound good to me! Either your SCSI adapter is busted or not enabled. I believe you said that you did enable it in your bios. well, Good Luck! What is your motherboard model ? if this is a pre-made server what is the make and model ? Tmaouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Software RAID-1 FreeBSD 5.4
Hi, This is on FreeBSD 5.4 latest stable snapshot on January. I've followed the instructions at: http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html for creating software RAID, which appears to have been successful. the raid created, and synched, couple of reboots all is good. So I wanted to test it out, I've unplugged one of the drives and rebooted, however, I've received the error: ffs_mountroot: can't find rootvp Root mount failed: 6 mountroot It doesn't matter which disk I unplug, it gives the same result. I've attempted to remount: ufs:/dev/mirror/gm0s1a ufs:/dev/ad6s1a ufs:/dev/ad4s1a no luck. so I looked over: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-mirror.html and added the 'options GEOM_MIRROR' to Kernel, then recompiled, installed and restarted, the machine would hang completely just when loading the AD drives. Are the articles missing any steps ? any help is appreciated. Thx, Tamouh Hakmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Mysterious reboot
Alex de Kruijff mailto:[EMAIL PROTECTED] wrote: On Thu, Feb 16, 2006 at 01:46:19AM -0600, Mike Loiterman wrote: Afte being up for more than two months, I just noticed that my ver reliable and stable server mysteriously rebooted. I've had the same hardware and system setup for more than a year and haven't ever experienced anything like this before. I haven't added any new hardware in a very long time. I did upgrade mysql this morning via portupgrade, however. The system appears to have crashed, as dmesg shows that the various filesystems weren't unmounted correctly upon reboot, but aside from that single error, nothing else points to what the problem was. /var/log/messages just shows a user connectig via pop, and then the next line is the machine booting. We are having a pretty good rainstorm, but nothing else seems to have lost power and I have several other machines in this space that did not go down (servers, TVs, XBOX, laptops, etc). The machine seems to have gone down around 11:23 PM, so I checked /etc/cron to see if I had scheduled a job to be run at that time, but there are no jobs scheduled to be run on or near this time. Where can I begin to look for more clues as to why this machine seems to have crashed? Where would a kernel core dump be or a mysql core dump? You can look at /var/log/messages and find core files with 'find / -name \*.core' The only real explanation was some sort of power fluctuation. I'll continue to monitor it carefully, but there doesn't seem to be anyway to definitivly identify the cause, but the machine crashing under load is looking less and less likely. If there is a problem, I suspect it will show up again within the next week or so, otherwise I'll chalk it up to a random event in the unverse. I have had the exact issue with a dual xeon and FreeBSD 5.4 with 4GB RAM. It was working perfectly fine and after a month or two all the sudden the machine rebooted by itself. Well, I shouldn't say all the sudden, one of the circuit breakers blow up taking the server down, but since that time , the server would do sudden reboots. No errors, no dumps, no panics. Just a simple reboot. Then it started becoming more often (it reboots every 15 days, then 10 days, then 5 days). So I began to suspect it is a power issue. We use a remote reboot power switch, so I moved it to another socket, and so far 20 days, no reboots. Not sure if it will go crazy again, but I hope it doesn't. The power supply is 500W so should be more than sufficient for 4 SCSI drives and dual xeons. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Mysterious reboot
Well, the server is an email/web server primarily. Not a huge load, but I want to be hardened against DOS attacks...would these help? If you are looking to harden your server, this might be helpful. Though a bit outdates, it still holds true for most part: http://www.dal.net/admin/vote/seceval.php3 p.s. why the topic named 'mysterious reboots' if we're talking about hardening against DoS!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: CPU Frequency on FreeBSD 5.4 and MSVS 2005 R2
I've been able to run couple of successful tests installing FreeBSD 4.x and 5.x on Microsoft Virtual Server 2005 , however, I've noticed for some reason FreeBSD is not detecting the actual CPU speed: --- FreeBSD 5.4-STABLE #0: Mon Jan 30 22:32:31 EST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/INTERNDC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel Pentium III Xeon (593.19-MHz 686-class CPU) Origin = GenuineIntel Id = 0x6a4 Stepping = 4 Features=0x380a97bFPU,VME,PSE,TSC,MSR,PAE,CX8,SEP,PGE,CMOV,MMX,FXSR,S SE real memory = 824115200 (785 MB) avail memory = 796700672 (759 MB) npx0: math processor on motherboard npx0: INT 16 interface acpi0: A M I OEMRSDT on motherboard acpi0: Power Button (fixed) Timecounter ACPI-safe frequency 3579545 Hz quality 1000 The frequency should be 900MHz. The BIOS does not state CPU frequency, nor the boot sequence. In fact, if I reboot the FreeBSD virtual machine, the frequency would be different (sometimes 460MHz , others 550MHz...etc). I think this is causing a considerable degradation in the FreeBSD speed. Any suggestions in this regard ? MSFT doesn't officially support FreeBSD, but I'm aware they support Linux on their virtual server. It's typical for the cpu speed to very inside a virtual machine, VMware does this all the time, typically it's 0 ~ 100MHz off, but yours is way off... I did know the answer to this question but don't remember, sorry. try a google search for VMware and cpu speed or frequency. I have been able to fix issues with the time counter by adding disabling device apic and adding these lines: options SYSVSHM options SYSVMSG options CPU_DISABLE_CMPXCHG device cpufreq However, the issue with the CPU speed not picked up properly is still there: freebsd# sysctl hw.clockrate hw.clockrate: 486 Any other options I can play with to change the CPU frequency ? Thanks Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CPU Frequency on FreeBSD 5.4 and MSVS 2005 R2
Hi, I've been able to run couple of successful tests installing FreeBSD 4.x and 5.x on Microsoft Virtual Server 2005 , however, I've noticed for some reason FreeBSD is not detecting the actual CPU speed: --- FreeBSD 5.4-STABLE #0: Mon Jan 30 22:32:31 EST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/INTERNDC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel Pentium III Xeon (593.19-MHz 686-class CPU) Origin = GenuineIntel Id = 0x6a4 Stepping = 4 Features=0x380a97bFPU,VME,PSE,TSC,MSR,PAE,CX8,SEP,PGE,CMOV,MMX,FXSR,SSE real memory = 824115200 (785 MB) avail memory = 796700672 (759 MB) npx0: math processor on motherboard npx0: INT 16 interface acpi0: A M I OEMRSDT on motherboard acpi0: Power Button (fixed) Timecounter ACPI-safe frequency 3579545 Hz quality 1000 The frequency should be 900MHz. The BIOS does not state CPU frequency, nor the boot sequence. In fact, if I reboot the FreeBSD virtual machine, the frequency would be different (sometimes 460MHz , others 550MHz...etc). I think this is causing a considerable degradation in the FreeBSD speed. Any suggestions in this regard ? MSFT doesn't officially support FreeBSD, but I'm aware they support Linux on their virtual server. Thanks, Tamouh Hakmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
adding unused disk space
Hi, When trying to add a new partition to an already existing disk slice on FreeBSD 5.4, are these the proper procedures to follow: lets say we have: /dev/ad4s1a507630 56104 41091612%/ devfs 1 10 100%/dev /dev/ad4s1d507630 12 467008 0%/tmp /dev/ad4s1e 10154158 1833920 750790620%/usr /dev/ad4s1f 6090094 40804 5562084 1%/var There is some 20GB unused space on the drive and I want to use that for /backup, so I did: 1) sysctl kern.geom.debugflags=16 2) sysinstall - Confgiure - Disk Label - ad4 3) I've mounted each ad4 to its proper place using 'M' 4) then I created the partition /backup using 'C' from the unused space which wass assigned /dev/ad4sa1g 5) then used 'W' to write the partitions, it gave couple of errors about busy devices..etc 6) reset sysctl: sysctl kern.geom.debugflags=0 7) rebooted the machine and it came back fine 8) edit /etc/fstab and add /dev/ad4s1g /backup ufs rw 2 2 9) reboot the machine and it fails to come back on am I missing something ? Thanks, Tamouh Hakmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: adding unused disk space
Yes. Between steps (8) and (9) you should have created a filesystem on that device: # newfs /dev/ad4s1g Then you can mount it as usual: # mount /backup Thanks Giorgos, however, I think the HandBook failed to mention these two steps which led me to think they're not necessary: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-adding.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: package tools out of date?
Hi Robert, Do CVSUP on all your ports, this will upgrade the package tools. Funny to ask because I just had this problem today. For info on how to use CVSUP and upgrade ports: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html Tamouh Trying to 'portupgrade openldap-sasl-server-2.2.29' and get the following errors. Does this mean my FreeBSD 54. package tools? Which ports or how do I upgrade? pkg_create: read_plist: unknown command '@dirrmtry etc/openldap/schema' (package tools out of date?) pkg_create: read_plist: unknown command '@dirrmtry %D/etc/openldap' (package tools out of date?) pkg_create: write_plist: unknown command type -1 (etc/openldap/schema) *** Error code 2 Stop in /usr/ports/net/openldap22-sasl-server. *** Error code 1 Stop in /usr/ports/net/openldap22-sasl-server. -- Robert ___ 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: panic on 5.4 SMP kernel when jailed apache is used heavily
Hi all, I upgraded a 5.3 system to 5.4 both with SMP kernels, I'm running 6 jails on a dual xeon 1.26 hp rackmount. When apache (both 1.3 and 2.0) is being used heavily the system panics. With a 5.4 GENERIC kernel or a 5.3 SMP kernel this behaviour does not happen and the system is stable. Does anyone have an idea ? Or should I post this to bugs ? Regards, Ruben Most likely you need to update the src and recompile: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/i386/pmap.c.diff?r1=1.494 .2.9r2=1.494.2.10f=h The link above is where the problem occurs once you enable SMP Kernel you'll receive Fatal Trap Error. This has been discussed at: http://groups.google.com/group/list.freebsd.questions/browse_thread/thread/7 57e3350f8847edd/15c076d8db0eba64?lnk=stq=tamouh+freebsd+5.4+kernelrnum=2#1 5c076d8db0eba64 Good luck! Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
slow RAID-5 on FreeBSD 5.4
Hello, I've just ran Bonnie on a FreeBSD 5.4 machine with Adaptec 2230SLP RAID-5 SCSI Card and Seagate 146GB 10K RPM U320 drives. The results were very surprising. The RAID-5 is EXTREMELY slow, and I can't figure out why! The RAID controller has two volumes: RAID-5 and a lone drive. This is Bonnie results from the lone drive on the Adaptec card: impala# ./Bonnie -d /tmp File '/tmp/Bonnie.30883', size: 104857600 Writing with putc()...done Rewriting...done Writing intelligently...done Reading with getc()...done Reading intelligently...done Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done... ---Sequential Output ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU 100 27168 28.2 31668 13.9 36530 10.8 83540 92.1 495217 98.5 26086.8 182.8 Here are the results doing the same test on the RAID-5: impala# ./Bonnie -d /usr File '/usr/Bonnie.30972', size: 104857600 Writing with putc()...done Rewriting...done Writing intelligently...done Reading with getc()...done Reading intelligently...done Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done... ---Sequential Output ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU 100 7478 7.7 10727 4.3 7250 3.2 101910 99.6 1464070 99.2 24067.2 180.6 Notice the 7MB write speed compared to 30MB. The read speeds are still very slow considering these are SCSI drives (I've done another test on S-ATA drive and it had the same Read speed, but much slower write). I believe the drives are working fine, I don't suspect problems with them. However, smartmontools doesn't support Adaptec RAID. Anything suggested to imrpove the RAID-5 performance ? It is surprising both tests were ran against the same card. Thanks, Tamouh Hakmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: slow RAID-5 on FreeBSD 5.4
On another note, I've ran diskinfo test and these are the results, much better but still the RAID-5 slower than a single drive: impala# diskinfo -t aacd1 aacd1 512 # sectorsize 146781044736# mediasize in bytes (137G) 286681728 # mediasize in sectors 17845 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. Seek times: Full stroke: 250 iter in 3.291258 sec = 13.165 msec Half stroke: 250 iter in 2.362839 sec =9.451 msec Quarter stroke: 500 iter in 3.908358 sec =7.817 msec Short forward:400 iter in 2.478195 sec =6.195 msec Short backward: 400 iter in 2.459182 sec =6.148 msec Seq outer: 2048 iter in 0.661217 sec =0.323 msec Seq inner: 2048 iter in 0.637923 sec =0.311 msec Transfer rates: outside: 102400 kbytes in 1.659174 sec =61717 kbytes/sec middle:102400 kbytes in 1.763043 sec =58081 kbytes/sec inside:102400 kbytes in 2.867523 sec =35710 kbytes/sec impala# diskinfo -t aacd0 aacd0 512 # sectorsize 293561434112# mediasize in bytes (273G) 573362176 # mediasize in sectors 35690 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. Seek times: Full stroke: 250 iter in 2.966840 sec = 11.867 msec Half stroke: 250 iter in 2.270758 sec =9.083 msec Quarter stroke: 500 iter in 4.493850 sec =8.988 msec Short forward:400 iter in 2.681128 sec =6.703 msec Short backward: 400 iter in 1.520458 sec =3.801 msec Seq outer: 2048 iter in 0.631963 sec =0.309 msec Seq inner: 2048 iter in 0.625584 sec =0.305 msec Transfer rates: outside: 102400 kbytes in 2.139737 sec =47856 kbytes/sec middle:102400 kbytes in 3.080063 sec =33246 kbytes/sec inside:102400 kbytes in 4.358889 sec =23492 kbytes/sec Hello, I've just ran Bonnie on a FreeBSD 5.4 machine with Adaptec 2230SLP RAID-5 SCSI Card and Seagate 146GB 10K RPM U320 drives. The results were very surprising. The RAID-5 is EXTREMELY slow, and I can't figure out why! The RAID controller has two volumes: RAID-5 and a lone drive. This is Bonnie results from the lone drive on the Adaptec card: impala# ./Bonnie -d /tmp File '/tmp/Bonnie.30883', size: 104857600 Writing with putc()...done Rewriting...done Writing intelligently...done Reading with getc()...done Reading intelligently...done Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done... ---Sequential Output ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU 100 27168 28.2 31668 13.9 36530 10.8 83540 92.1 495217 98.5 26086.8 182.8 Here are the results doing the same test on the RAID-5: impala# ./Bonnie -d /usr File '/usr/Bonnie.30972', size: 104857600 Writing with putc()...done Rewriting...done Writing intelligently...done Reading with getc()...done Reading intelligently...done Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done... ---Sequential Output ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU 100 7478 7.7 10727 4.3 7250 3.2 101910 99.6 1464070 99.2 24067.2 180.6 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FreeBSD vs Linux
Just get a different sound card. There are lotsof inexpensive sounds cards that are probably supported by FreeBSD for just a few (10-30) $ Btw, this problem happens with Windows, Mac OS X, etc as well. I have been trying to put an extra USB/Firewire card in my G5, and they work, but with weird side effects like hanging IO. My dad had some sound card issues on Windows with supported cards. Chad Oh come on, I've been working with all Linux, FreeBSD and Windows. Getting a different card is not the solution. It is actually an absurd suggestion which goes to prove further that Unix has not matured yet to compete with Microsoft. If you are looking for compatibility, Windows is the answer. You are looking for security and stable releases, FreeBSD is the answer If you are seeking *free* OS with largest compatibility, Linux is the answer If you are seeking performance, FreeBSD is the answer. Windows almost runs everything, FreeBSD is stable, good performance but it is behind Linux when it comes to releasing drivers (example, zero-channel RAID cards weren't supported until very recently and still not quite official). The Linux OS has a much larger community than FreeBSD and hence has more development in it. In my opinion, I think the Unix world had missed the boat on trying to take over MSFT. The new Windows coming out are as stable as the Unix servers. With the Vista Windows, and a dramatic reduction of GUI, you can expect much better OS. Unix community simply did not get their act together and try to build an OS for the masses. The main argument for Unix is it is Free, but compatibility and upgrade paths are different issues. These are my two cents! Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FreeBSD vs Linux
That or the user(s). Microsoft doesn't write any sound card drivers, they make manufacturers do it then pay and beg to be included on the master distribution CD/DVD. For a device to work in FreeBSD someone who wants it bad enough to do the work has to have the skills and want it bad enough to do it. Of course wanting is no small part of how such skills are developed. Someone has an unsupported sound card with a Linux example. All the tough details about the hardware are spelled out in the Linux driver. Plenty of FreeBSD drivers have been ported to Linux and vice versa. Still Microsoft has the upper hand! How about this for an idea, sponsored drivers ? Why not allow such service that if an organization or individual wishes to have a driver written they can sponsor a FreeBSD developer to do it? Where did you read that about Vista? I've seen the beta versions of Vista and they all require cadillac machines with spiffy OpenGL cards, etc, in order to function without a lot of lag and hiccups. And when you turn all the bells and whistles off, Vista is nothing more than a graphics enhanced versions of XP with additional security features, such as required administrator logins, etc like Unix has been doing for years and Mac has been doing for a while. Windows Vista will no doubt require lots of RAM in comparison to XP because the developers/business team will add more features than users can shake a stick at. Yet, sadly enough I do not deny the fact that Windows is required given the software development model and noting where the money lies in software and hardware support. Heck, if Windows didn't exist I doubt I would have a job =D. -Garrett Sorry, I wanted to mean LongHorn server, not the desktop version, for info about windows non-gui: http://www.entmag.com/reports/article.asp?EditorialsID=93 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Device needed to manage several FreeBSD servers
I have a bunch of FreeBSD servers to manage, and I'm wanting to find a device that lets you SSH/telnet in, and access the servers connected to it via serial cables. I know such a device exists, but it was a long time ago since I last saw one, and I'm not really sure what one of these would be called. Has anyone had any experience with such a device? It is called Remote Serial Console or Remote SSH Console. Something like: http://www.networktechinc.com/srvsw-term-ssh.html You might also want to look KVM over IP switches ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Insecure Web App Hosting
On 12/15/05, Mike Esquardez [EMAIL PROTECTED] wrote: i have to install a server that will host a test drive of a web app on the internet. from my inital look at the app, it looks like it will be a target to be exploited. i am not involved with the code so fixing it is not an option. what i would like to try and do is host it in a manner where i can minimize the risk and damage. it will only have sample data and it doesnt have to be live. some ideas i have- automate disk imaging or rsync. read only filesystem. integrity tool. live cd version of the app. any other ideas? If this Web App depends on Apache/PHP/mySQL then you'll need a module like mod_security for Apache and use rules from gotroot.com to secure against SQL injections...etc. I'd actually do the following: 1) Secure your Kernel 2) IPFW and close the server down except to services you need 3) run rkhunter as cron to scan against problems 4) run the mod_security for Apache and make sure your PHP/Apache processes are configured properly. 5) Lastly, do backups ;-) Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]