Re: 5 to 6
On Fri, Oct 20, 2006 at 12:56:58AM +0100, Robert Watson wrote: On Thu, 19 Oct 2006, Randy Bush wrote: do folk actually successfully upgrade to RELENG_6 *safely* on a many-user production system using the instructions in UPDATING? I've done that successfully on two single-user workstations, but it failed when it came to try on the one multi-user production box that I maintain. I've posted to the lists about this a couple of times and received zero responses, so my guess is that my condition was sufficiently obscure that no-one else has experienced the problem[*]. A shame. I'll have to do a re-format and start from scratch upgrade, some time that I can get the system quiet enough for long enough. Do make sure to boot a 6.x kernel with your 5.x userland and test things out a bit - make sure your hardware probes, is reliable, etc. Ditto. This was how I discovered that the ataraid in the 6.x kernel does something sufficiently different to the one in the 5.x kernel that I couldn't get past the fsck of the /usr partition... Luckily enough of / was mounting successfully for me to back out to the (working) 5.x kernel. So: my two cents: it can work, but it's possible for it not to work, and care is required. [*] The production server is using a software RAID mirror on a pair of SATA drives on a low-end Intel P4/ICH6 motherboard, using ar(4), configured by atacontrol. Fsck on 6.x can't find any superblocks on /usr, but 5.5 is fine. Cheers, -- Andrew ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 6.x + SATA NCQ?
Hiya, Is there support for SATA tagged queueing in FreeBSD-6? Any ideas on which chipsets would support it or how to determine whether FreeBSD is using it? Thanks, Adrian -- Adrian Chadd - [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
LOR (intr table and sio) and instability
I'm running today's 6-stable on a amd64 SMP (Pentium-D) machine. When turning on witness, I got a LOR on half way of booting: ata0-slave: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=40 wire ata2-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire ad4: 157066MB HDT722516DLA380 V43OA96A at ata2-master SATA150 ad4: 321672960 sectors [319120C/16H/63S] 16 sectors/interrupt 1 depth queue SMP: AP CPU #1 Launched! cpu1 AP: ID: 0x0100 VER: 0x00050014 LDR: 0x DFR: 0x lint0: 0x00010700 lint1: 0x0400 TPR: 0x SVR: 0x01ff timer: 0x000200ef therm: 0x0001 err: 0x0001 pcm: 0x0001 lock order reversal: 1st 0x805643c0 intr table (intr table) @ /home/admin/usr/src/sys/amd64/amd64/intr_machdep.c:417 2nd 0x8056fb00 sio (sio) @ /home/admin/usr/src/sys/dev/sio/sio.c:2586 KDB: stack backtrace: witness_checkorder() at witness_checkorder+0x4e1 _mtx_lock_spin_flags() at _mtx_lock_spin_flags+0x5d siocnputc() at siocnputc+0xf5 cnputc() at cnputc+0x60 putchar() at putchar+0xcb kvprintf() at kvprintf+0x9b printf() at printf+0xe7 intr_assign_next_cpu() at intr_assign_next_cpu+0x7a intr_shuffle_irqs() at intr_shuffle_irqs+0x6b mi_startup() at mi_startup+0xc0 btext() at btext+0x2c INTR: Assigning IRQ 1 to local APIC 0 ioapic0: Assigning ISA IRQ 1 to local APIC 0 INTR: Assigning IRQ 3 to local APIC 1 ioapic0: Assigning ISA IRQ 3 to local APIC 1 INTR: Assigning IRQ 4 to local APIC 0 ioapic0: Assigning ISA IRQ 4 to local APIC 0 INTR: Assigning IRQ 9 to local APIC 1 ioapic0: Assigning ISA IRQ 9 to local APIC 1 INTR: Assigning IRQ 12 to local APIC 0 ioapic0: Assigning ISA IRQ 12 to local APIC 0 INTR: Assigning IRQ 14 to local APIC 1 ioapic0: Assigning ISA IRQ 14 to local APIC 1 INTR: Assigning IRQ 15 to local APIC 0 ioapic0: Assigning ISA IRQ 15 to local APIC 0 INTR: Assigning IRQ 17 to local APIC 1 ioapic0: Assigning PCI IRQ 17 to local APIC 1 GEOM: new disk ad4 Trying to mount root from ufs:/dev/ad4s1a I checked the LOR page, and there no such report. I'm wondering if this is related to the console hang every few days on this machine. When it hangs, keyboard does not work. The only way is to break into ddb and reset it. I just hooked up the serial console few days ago. No hang yet. But I got a panic this noon: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x18c fault code = supervisor read, page not present instruction pointer= 0x8:0x801f107e stack pointer = 0x10:0xb1839b30 frame pointer = 0x10:0xb1839b60 code segment = base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = resume, IOPL = 0 current process= 9 (thread taskq) [thread pid 9 tid 100011 ] Stopped at _mtx_lock_sleep+0x80: movl0x18824(%r12),%r8d db bt Tracing pid 9 tid 100011 td 0xff007b218980 _mtx_lock_sleep() at _mtx_lock_sleep+0x80 unp_gc() at unp_gc+0x4c4 taskqueue_run() at taskqueue_run+0xd5 taskqueue_thread_loop() at taskqueue_thread_loop+0x88 fork_exit() at fork_exit+0x8b fork_trampoline() at fork_trampoline+0xe --- trap 0, rip = 0, rsp = 0xb1839d00, rbp = 0 --- I searched the mail archive, but it seems there is no similar report. I call 'doadump' in ddb, but after rebooting, savecore says there is no dump there? (i have dump_dev=AUTO If you need more information, please let me know. Thanks, Rong-En Fan ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
How to configure a usb device
Hi, all I want to use a usb network interface on FreeBSD6.1 as well as I use it on linux. When insert the USB into Linux box and run ifconfig command, it will report that a usb0(1, 2) can be used now. But when I insert the same USB device into the FreeBSD box, FreeBSD only report that some USB device has been detected, there is nothing on the screen when I run ifconfig command. I am a newbie to FreeBSD. How can I know whether my FreeBSD can support this devices like Linux? Thanks for your help very much Zongjun ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portaudit
Yoshihiro Ota wrote: [...] Hello. What are other ways? I want to see vulnerable message but still want to install without portupgrade being interrupted. According to /usr/ports/Mk/bsd.port.mk, DISABLE_VULNERABILITIES=yes disables vulnerable check, don't it? Yes, it disable vulnerability check at all and you will not see any vulnerable message. Some vulnerable ports are also marked as FORBIDDEN in Makefile. If you want to install this port, you must comment out this line and use DISABLE_VULNERABILITIES=yes (eg awstats port) I do not know any way to transparently install vulnerable port with vulnerable message withou portupgrade interruption. I do not see any problem in actual behaviour, if some port is vulnerable, portupgrade / portinstall gives me the message, I can search the web for vulnerability details and if I think I can use this port anyway, I can run portupgrade / portinstall again with -m DISABLE_VULNERABILITIES=yes. Miroslav Lachman ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Do anyone has any problem with sem_open() crash?
On Sun, 22 Oct 2006, Kris Kennaway wrote: On Sun, Oct 22, 2006 at 08:48:20PM -0500, Jeremy Messenger wrote: I guess I am safe then as I can ignore these cores.. Thanks! Isn't kernel supposed to be avoid the crash? I don't see any of crash before I upgraded to last night of RELENG_6. It's not a crash, it's a configure script testing whether the syscall exists, and the the test program gets the signal 12 to tell it that it doesn't. This is expected behaviour. We have several levels of But that's not implemented. The level used for system calls that are simply not defined is SIGSYS+ENOSYS. By default, application calling these (undefined) system calls can catch the error if they choose to, but will exit otherwise. The next level is to provide ENOSYS stubs that return ENOSYS without generating SIGSYS; in some situations, this is preferred. For example, we use this when AUDIT isn't compiled into the kernel but login(1) calls an audit system call to see if audit is present. Finally, there are a number of situations where a system call is implemented, but the underlying object doesn't support the operation, in which case we often return EOPNOTSUPP or variations on that them. The SIGSYS+ENOSYS error code isn't a bug, but it seems likely that configure would be a lot happier if we returned ENOSYS without SIGSYS. Right now, that means hand-defining a stub that's conditionally compiled based on the feature not being present. It might be nicer if we had a way to indicate that in the system call table. Robert N M Watson Computer Laboratory University of Cambridge ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to configure a usb device
On Monday 23 October 2006 18:26, Sun Zongjun-E5739C wrote: I want to use a usb network interface on FreeBSD6.1 as well as I use it on linux. When insert the USB into Linux box and run ifconfig command, it will report that a usb0(1, 2) can be used now. But when I insert the same USB device into the FreeBSD box, FreeBSD only report that some USB device has been detected, there is nothing on the screen when I run ifconfig command. You need to paste the dmesg output so we have a chance to see what the actual device in question is.. The output of usbdevs -v would be useful. If you are running a GENERIC kernel (which has all of the USB drivers loaded in it already) then it would seem FreeBSD doesn't support your hardware. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C pgpq8GIx3nL3p.pgp Description: PGP signature
Re: When will the new BCE driver in HEAD be incorporated into RELENG_6?
Scott Long wrote: Bill Moran wrote: In response to Jason Thomson [EMAIL PROTECTED]: Scott Long wrote: Using the driver from HEAD* in the latest RELENG_6 didn't fix our problems. We could still trigger the Watchdog timeout when copying a local file to an NFS mounted filesystem (UDP mount, GigE speeds). Same here, although it seemed to require a lot more effort to produce the problem. I see there have been additional updates to the driver in the past 10 hours. I'll grab those and try again to see if they help any. I'll cautiously say that the latest set of changes to bce might be interesting for you. It now survives all of my ttcp and netblast tests in both UDP and TCP. Please let me know if it makes things better, worse, or no change for you. Scott The driver from HEAD (if_bce.c 1.17) is looking much better - thanks Scott! We couldn't trigger this bug using UDP NFS mounts. Neither could we trigger it with multiple simultaneous TCP connections. (Both tests could crash the unpatched kernel and the driver from HEAD last week - if_bce.c 1.16). We will apply this patch to all of our RELENG6 2950s and keep you posted. Thanks for all the hard work you've put in on this. Kind regards, Jason. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.x + SATA NCQ?
Adrian Chadd wrote: Hiya, Is there support for SATA tagged queueing in FreeBSD-6? Any ideas on which chipsets would support it or how to determine whether FreeBSD is using it? Thanks, Adrian As I know, this is on one hand dependend on the used chipset and on the other haned dependend on the ATA driver. Those chipsets with NCQ AND AHCI (mostly Intel ICH based chipsets) should be managed and addressed by a suitable driver (as far as I know not yet available for FreeBSD 6.X). As someone can read at the nVidia homepage, their nForce4-SLI chipsets also supports NCQ, but it is proprietary thing, not commonly accessible via AHCI. And due to the lack of information, like most of nVidias goodies for computers, there is no access to this feature via the open source way. If I'm wrong someone should correct my statement. Regards, Oliver ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.x + SATA NCQ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 O. Hartmann wrote: Adrian Chadd wrote: Is there support for SATA tagged queueing in FreeBSD-6? Any ideas on which chipsets would support it or how to determine whether FreeBSD is using it? As I know, this is on one hand dependend on the used chipset and on the other haned dependend on the ATA driver. Those chipsets with NCQ AND AHCI (mostly Intel ICH based chipsets) should be managed and addressed by a suitable driver (as far as I know not yet available for FreeBSD 6.X). As someone can read at the nVidia homepage, their nForce4-SLI chipsets also supports NCQ, but it is proprietary thing, not commonly accessible via AHCI. And due to the lack of information, like most of nVidias goodies for computers, there is no access to this feature via the open source way. Sadly, a good proportion of current laptops fitted with SATA-150 drives and based on the the Intel ICH-7 chipset do not fully initialize AHCI mode in the BIOS. Specifically, no resources are allocated to supporting it. This complicates any potential driver implementation somewhat :-( Michael -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFPLSDQv9rrgRC1JIRAlvmAJ4+iYPifYnWLRXdQ+aCfPVlzP5dTQCgxteH mOyOFPSx0tZ+DHGmFKhckrM= =Ymek -END PGP SIGNATURE- ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
gpt bogus map
Hi list: I've a 2.6 To storage device, and for some reasons, I've to do a gpt destroy /dev/aoed0 which gives me: gpt create: error: bogus map gpt create: unable to open device '/dev/aoed0': Unknown error: 0 I missed a detail? ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Possible 40-pin cable misdetection [Re: partioning failed]
Hello! On Mon, 23 Oct 2006, Carl Johan Gustavsson wrote: System information: Athlon XP 1700+ / 786 MB Asus A7V266 (bios v1.11) Maxtor 60 GB Has anyone any suggestions? Thanks, Freek I'd try a different cable for the drive. If that doesn't fix it the controller on the motherboard is probably bad. Hi! If you are using a 40-pin cable and changing to another 40-pin doesn't help, test with a 80-pin cable. FreeBSD can be a bit picky about that. I would say that 40-conductor (not pin!) cable detection feature may not work on the particular chipset. I've no idea what kind of ATA controller does Asus A7V266 use, but on my Asus P5W DH under fresh RELENG_6 40-conductor cable detection works correctly on the ICH7 PATA channel, while doesn't work on the PATA channel which is served by the JMicron JMB363 controller. Here is an example of connecting a UDMA66 drive to JMB363 by 40-conductor cable: atapci0: JMicron JMB363 SATA300 controller port 0xac00-0xac07,0xa880-0xa883, 0xa800-0xa807,0xa480-0xa483,0xa400-0xa40f mem 0xff6fe000-0xff6f irq 17 at device 0.0 on pci2 atapci0: AHCI Version 01.00 controller with 2 ports detected ata2: ATA channel 0 on atapci0 ata3: ATA channel 1 on atapci0 ata4: ATA channel 2 on atapci0 ... ad9: 16536MB FUJITSU MPE3173AE EE-C0-24 at ata4-slave UDMA66 ... ad9: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=696 ad9: TIMEOUT - READ_DMA retrying (1 retry left) LBA=1728 ad9: TIMEOUT - READ_DMA retrying (0 retries left) LBA=1728 ad9: FAILURE - READ_DMA timed out LBA=1728 Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: [EMAIL PROTECTED] nic-hdl: LYNX-RIPE ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.x + SATA NCQ?
On 10/23/06, Michael Butler [EMAIL PROTECTED] wrote: Sadly, a good proportion of current laptops fitted with SATA-150 drives and based on the the Intel ICH-7 chipset do not fully initialize AHCI mode in the BIOS. Specifically, no resources are allocated to supporting it. This complicates any potential driver implementation somewhat :-( I'm not that worried about laptops; they don't come with rack mounting kits :) I was more interested in the various intel server motherboards with onboard SATA. Here's a blog entry from someone who managed to (in the true linux way of patching patching patching) got what he saw as stable NCQ support for his servers: http://blog.kovyrin.net/2006/08/11/turn-on-ncq-on-ich-linux/ It'd be nifty to see something like this pop up in FreeBSD 6.x for the Intel ICH7 boards. Thanks, Adrian -- Adrian Chadd - [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
ath adhoc problem
Hi I have a remote server running if_bridge with two ath cards one 11g as hostap one 11a as adhoc I have a local server with an ath card as 11a adhoc linking the remote server all works fine but when I run ifconfig ath0 list stat on the *local* server all stations connected to the remote hostap card are appearing as if they were connected locally and as with 11a this first entry is the adhoc link and the following macs are remote stations connected to the 11g card 00:13:46:fd:40:480 153 6M 290 1888 7328 IA 00:13:46:9a:bc:e60 153 54M 300 34709 28096 IA 00:4f:62:07:77:3d0 153 54M 300 6934 28112 A 00:08:54:ab:a4:8c0 153 54M 290 53447 28080 A 00:08:54:ab:73:300 153 54M 300 40577 28000 A 00:08:54:ab:a4:8b0 153 54M 290 12658 24864 A 00:08:54:ab:71:680 153 54M 29 15 2396 12720 A 00:08:54:ab:80:f90 153 54M 290 5215 27008 A 00:08:54:ab:70:8d0 153 54M 28 135 1 61648 A 00:08:54:ab:70:870 153 54M 29 45 1 59216 A this is not the correct behaviour isn't it? -- João A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
xchm
How can I tell xchm not to output the following error message: ``Failed to display HTML document in ISO-8859-1 encoding''? I've installed it with ``pkg_add -r xchm''. It works alright except for that error message output for every subject change. By the way, chmview doesn't work at all: the converted html-files do not display. Thanks for any help. Harald Weis -- FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: When will the new BCE driver in HEAD be incorporated into RELENG_6?
In response to Jason Thomson [EMAIL PROTECTED]: Scott Long wrote: I'll cautiously say that the latest set of changes to bce might be interesting for you. It now survives all of my ttcp and netblast tests in both UDP and TCP. Please let me know if it makes things better, worse, or no change for you. The driver from HEAD (if_bce.c 1.17) is looking much better - thanks Scott! We couldn't trigger this bug using UDP NFS mounts. Neither could we trigger it with multiple simultaneous TCP connections. I'm seeing similar improvement. I've been testing the new version since I came in this morning (About 2.5 hours so far), with no failures. This is the first version of the driver that has allowed me to actually complete a buildworld over NFS. I will continue testing and report again at the end of the day. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
ggate fails on 6.2-RC.
Has anyone else been testing ggate on amd64? There is an open pr that highlights a datatype problem between the kernel and userland, but even with that patch, I can't get ggate to stay up. I'll post in a more detailed manner about the problem as soon as I get my test-bed system up, but I'm looking for people who also have been testing this with 6.2-RC. Dave. -- |David Gilbert, Independent Contractor. | Two things can be | |Mail: [EMAIL PROTECTED]| equal if and only if they | |http://daveg.ca | are precisely opposite. | =GLO ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
CARP not balancing automatically
I'm attempting to use CARP with arpbalance to load balance some services. My only problem is that the balancing doesn't happen automatically. The configuration is just from the carp man page: ifconfig_em0=inet XXX.XXX.XXX.55 netmask 255.255.255.192 ifconfig_em1=inet 192.168.100.55 netmask 255.255.255.0 ifconfig_carp0=inet 192.168.100.100 netmask 255.255.255.0 vhid 5 pass dns-prv ifconfig_carp1=inet 192.168.100.100 netmask 255.255.255.0 vhid 6 advskew 100 pass dns-prv cloned_interfaces=carp0 carp1 and on the other box: ifconfig_em0=inet XXX.XXX.XXX.56 netmask 255.255.255.192 ifconfig_em1=inet 192.168.100.56 netmask 255.255.255.0 ifconfig_carp0=inet 192.168.100.100 netmask 255.255.255.0 vhid 5 advskew 100 pass dns-prv ifconfig_carp1=inet 192.168.100.100 netmask 255.255.255.0 vhid 6 pass dns-prv cloned_interfaces=carp0 carp1 and of course net.inet.carp.arpbalance=1 in /etc/sysctl.conf. When I reboot the systems, the first one to boot up becomes the MASTER for both carp0 and carp1 interfaces and remains so even after the other machine comes up. The second machine to boot comes up in BACKUP mode for both interfaces. The only way to make the balance change is to bring down carp0 on the box not designated as the master for it momentarily until such time that the first one (the designated master for carp0) takes over, then bring up carp0 again. Until I perform this manual step, all traffic goes to the single box. After I perform this step, the traffic is balanced nicely as expected amongst the local network hosts. Each box then has one MASTER and one BACKUP carp interface for this IP. What can I do to make the balance automatic as the docs imply? This also happens on another pair of machines I have which are CARP + arpbalance for another IP. The NICs in question are hooked up to a gigabit switch. Thanks! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D.MailerMailer, LLC Rockville, MD http://www.MailerMailer.com/ +1-301-869-4449 x806
Re: 5 to 6
On Oct 19, 2006, at 1:19 PM, Kevin Oberman wrote: I delete rc.d/* isdn/* bluetooth/* defaults/* gnats/* mtree/* periodic/* and security/* as well as most other stuff in /etc that I know I have not modified and won't need for a single-user boot. But be VERY careful about this! I do this too, but I do it *after* the single user boot, prior to running mergemaster. No need to do it before the boot.
Re: kernel ignores kenv comconsole_speed?
On Oct 20, 2006, at 6:59 AM, Stefan Bethke wrote: I have -DS115200 in /boot.config, and boot and loader are happily using this speed. However, the kernel appears to be hardwired to 9600. I've only ever gotten it to work when /boot.config looks like -D - S115200. I don't think you can merge the -S flag with the others, at least according to my read of the man page. Also make sure the boot loader is at least as new as that installed by 6.0-REL. Older ones (ie from 5.x didn't work at all with -S for me.) You will probably want to run fdisk -B to update that.
Re: ggate fails on 6.2-RC.
David Gilbert wrote: Has anyone else been testing ggate on amd64? There is an open pr that highlights a datatype problem between the kernel and userland, but even with that patch, I can't get ggate to stay up. I'll post in a more detailed manner about the problem as soon as I get my test-bed system up, but I'm looking for people who also have been testing this with 6.2-RC. Dave. I've posted in the problem about ggated to [EMAIL PROTECTED] Try to backout sys/kern/uipc_socket2.c rev. 1.147.2.7. This has solved the problem for me. -- Kazuaki ODA ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ggate fails on 6.2-RC.
Kazuaki ODA ha scritto: David Gilbert wrote: Has anyone else been testing ggate on amd64? There is an open pr that highlights a datatype problem between the kernel and userland, but even with that patch, I can't get ggate to stay up. I'll post in a more detailed manner about the problem as soon as I get my test-bed system up, but I'm looking for people who also have been testing this with 6.2-RC. Dave. I've posted in the problem about ggated to [EMAIL PROTECTED] Try to backout sys/kern/uipc_socket2.c rev. 1.147.2.7. This has solved the problem for me. During last days I've tried ggated too, but it did not work for me. I've tried to apply the patch proposed on pr, but it does not solved. I'll try this too. I think that this GEOM_gate need more attention, because it's a critical component when it is used. Gabriele ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
em network or rpc pb ?
Hi all I come again for my network problem. After I make this changement : The patch http://lists.freebsd.org/pipermail/freebsd-stable/2006-October/029224.html a kernel without USB. a kernel in no-SMP mode (the server is SMP). I don't have em* watchdog on the console. But my other problem still here : After someday the client cannot connect on rpcbind on server. If I restart rpcbind there are very strange thing : the daemon running, with sockstat -l or lsof we can see the rpcbind listen on correct ports and correct interface (all) but when a client want to connect to server on rpcbind port we got Connection attempt to TCP server_ip_add:111 from client_ip_add:40396 flags:0x02 at this point we can nothing. Only reboot can solve the problem. Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 ième étage, plateau D, bureau 10 Tel : 01 44 27 86 88 FAX : 01 44 27 69 35 GSM(UFR) : 06 85 05 58 43 Heure local/Local time: Mon Oct 23 18:11:36 CEST 2006 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: When will the new BCE driver in HEAD be incorporated RELE6?
Kevin: Maybe you can get a punter on linux-poweredge@ lists to do scanpci -v or lspci or whatever to get the IDs. ~BAS On Wed, 18 Oct 2006, Scott Long wrote: Kevin Kramer wrote: and will it support the BCM5754 in the Precision 390? No idea, ask the vendor. Scott ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ ...from back in the heady days when helpdesk meant nothing, diskquota meant everything, and lives could be bought and sold for a couple of pages of laser printout - and frequently were. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to configure a usb device
On Mon, Oct 23, 2006 at 04:56:50PM +0800, Sun Zongjun-E5739C wrote: Hi, all I want to use a usb network interface on FreeBSD6.1 as well as I use it snip I am a newbie to FreeBSD. How can I know whether my FreeBSD can support this devices like Linux? You need to know what chipset is in your USB Ethernet device. A cursory search through the ethernet drivers[1] turns up the following drivers; aue(4): ADMtek AN986 Pegasus chipset axe(4): ASIX Electronics AX88172 chipset cue(4): Computer Access Technology Corporation's USB-EL1210A chipset kue(4): Kawasaki LSI KL5KLUSB101B chipset rue(4): RealTek RTL8150 chip udav(4): Davicom DM9601 chipset As others have said, check your 'dmesg' and 'usbdevs' output if you can find any of these devices. Roland [1]: zgrep -l USB Ether /usr/share/man/man4/if_* -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpOlFLNOoFoU.pgp Description: PGP signature
cpu usage
hi, i'm on FreeBSD 6.1, with a problematic cpu - it seems to be overheating and shutting the system down when running intensive jobs, at the moment i can't even finish compiling the mysql-server in ports. i've tried running the make with an increased nice level, but that doesn't seem to change much. and looking through ports there only seems to be cpu monitoring tools, not suppression? ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cpu usage
In response to gareth [EMAIL PROTECTED]: hi, i'm on FreeBSD 6.1, with a problematic cpu - it seems to be overheating and shutting the system down when running intensive jobs, at the moment i can't even finish compiling the mysql-server in ports. i've tried running the make with an increased nice level, but that doesn't seem to change much. and looking through ports there only seems to be cpu monitoring tools, not suppression? It's unlikely that there's anything you can do in software to fix this problem. You need to fix your cooling so the CPU doesn't overheat. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: When will the new BCE driver in HEAD be incorporated into RELENG_6?
So probably MFC/RFP into RELENG_6 after two weeks? Is there an official FreeBSD PR on this to update? ~BAS On Mon, 23 Oct 2006, Bill Moran wrote: In response to Jason Thomson [EMAIL PROTECTED]: Scott Long wrote: I'll cautiously say that the latest set of changes to bce might be interesting for you. It now survives all of my ttcp and netblast tests in both UDP and TCP. Please let me know if it makes things better, ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cpu usage
gareth wrote: hi, i'm on FreeBSD 6.1, with a problematic cpu - it seems to be overheating and shutting the system down when running intensive jobs, at the moment i can't even finish compiling the mysql-server in ports. i've tried running the make with an increased nice level, but that doesn't seem to change much. and looking through ports there only seems to be cpu monitoring tools, not suppression? ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] Is this really a cpu problem? I suspect that your cpu fan or case fan has stopped, so there is nothing to cool the cpu. -- Kazuaki ODA ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: VIA C7 support
Matthieu Michaud wrote: Oliver Fromme wrote: Also take into account that you usually don't read that much data from /dev/random. Quality is much more important than speed. you are right. do you know an easy way to evaluate this quality ? There is no easy way, I'm afraid. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. File names are infinite in length, where infinity is set to 255 characters. -- Peter Collinson, The Unix File System ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cpu usage
gareth [EMAIL PROTECTED] wrote: hi, i'm on FreeBSD 6.1, with a problematic cpu - it seems to be overheating and shutting the system down when running intensive jobs, at the moment i can't even finish compiling the mysql-server in ports. i've tried running the make with an increased nice level, but that doesn't seem to change much. It shouldn't change anything. The nice level will not reduce the amount of work that your CPU is doing, it might only shift that amount between processes. and looking through ports there only seems to be cpu monitoring tools, not suppression? Depending on the type of your CPU (which you didn't tell us), it might be possible to reduce the clock rate using the cpufreq(4) framework. You can control it with sysctl. Reducing the clock rate will reduce the power consumption and thus the heat generated by the CPU. Of course it will also make your computer run much slower. However, since you seem to have a hardware problem, you should first try to fix your hardware. If the CPU is overclocked, stop that. If the timing values in the BIOS setup have been set too tight, correct them. If there's insufficient cooling (e.g. heat sink to small or not correctly attached, or broken fan, or whatever), then fix it. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. cat man du : where Unix geeks go when they die ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cpu usage
On Mon, Oct 23, 2006 at 06:23:52PM +0200, gareth wrote: hi, i'm on FreeBSD 6.1, with a problematic cpu - it seems to be overheating and shutting the system down when running intensive jobs, at the moment i can't even finish compiling the mysql-server in ports. i've tried running the make with an increased nice level, but that doesn't seem to change much. and looking through ports there only seems to be cpu monitoring tools, not suppression? Forgot the thermal paste between the CPU and the fan? Overclocked the CPU? Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpVFdJTBCaUW.pgp Description: PGP signature
Re: 5 to 6
Andrew Reilly wrote: [*] The production server is using a software RAID mirror on a pair of SATA drives on a low-end Intel P4/ICH6 motherboard, using ar(4), configured by atacontrol. Fsck on 6.x can't find any superblocks on /usr, but 5.5 is fine. It's a horrible hack, and you should definitely have good backups before trying this and there's no guarantee it will even work, but... tunefs -A {mumble} /dev/ad0s1a will re-write all of the superblocks on your disk partition. For {mumble} I used '-n enable' (ie. turn on softupdates), which happened to be a no-op on that system, but you could use practically anything tunefs provides. The problem I had was sort of going in the other direction though: I'd booted fixit mode from a 6.1 Install disk in order to transfer the contents of a failing 4.x system disk to a new drive, and while I could slice, partition and create UFS1 filesystems perfectly happily under 6.1 and use 6.1 dump and restore to copy the disk contents, on reboot 4.x couldn't read the superblocks properly, so the system wouldn't fsck properly and get past single user mode. The trick of using 'tunefs -A' fixed that, and the machine is now running 4.11-RELEASE-p25 perfectly happily on the replacement hard drive. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: VIA C7 support
On Mon, Oct 23, 2006 at 06:49:21PM +0200, Oliver Fromme wrote: Matthieu Michaud wrote: Oliver Fromme wrote: Also take into account that you usually don't read that much data from /dev/random. Quality is much more important than speed. you are right. do you know an easy way to evaluate this quality ? There is no easy way, I'm afraid. Start reading here: http://www.random.org/essay.html And follow the links. A test of 1 MB random data with ent [http://www.fourmilab.ch/random/]: dd if=/dev/random of=rand.dat bs=1k count=1k ./ent rand.dat Entropy = 7.999843 bits per byte. Optimum compression would reduce the size of this 1048576 byte file by 0 percent. Chi square distribution for 1048576 samples is 227.43, and randomly would exceed this value 75.00 percent of the times. Arithmetic mean value of data bytes is 127.6223 (127.5 = random). Monte Carlo value for Pi is 3.133839164 (error 0.25 percent). Serial correlation coefficient is -0.000504 (totally uncorrelated = 0.0). According to the same fourmilab page this is quite decent. There is about 1 bit of entropy in approx. ~6000 bytes! The chi square value is of the same order as one generated by timing radioactive decay events. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpdbMLbpzp13.pgp Description: PGP signature
Re: When will the new BCE driver in HEAD be incorporated RELE6?
I have booted it into FC3 using 2.6.18 kernel. here is the dmesg and scanpci -v output tg3.c:v3.65 (August 07, 2006) ACPI: PCI Interrupt :04:00.0[A] - GSI 17 (level, low) - IRQ 177 PCI: Setting latency timer of device :04:00.0 to 64 eth0: Tigon3 [partno(BCM95754) rev b002 PHY(5787)] (PCI Express) 10/100/1000Base T Ethernet 00:13:72:25:67:ec eth0: RXcsums[1] LinkChgREG[1] MIirq[1] ASF[0] Split[0] WireSpeed[1] TSOcap[1] eth0: dma_rwctrl[7618] dma_mask[64-bit] pci bus 0x0004 cardnum 0x00 function 0x00: vendor 0x14e4 device 0x167a Broadcom Corporation Device unknown CardVendor 0x1028 card 0x01de (Card unknown) STATUS0x0010 COMMAND 0x0006 CLASS 0x02 0x00 0x00 REVISION 0x02 BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x10 BASE0 0xeddf0004 addr 0xeddf MEM 64BIT MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x0a -- Kevin Kramer Sr. Systems Administrator 512.418.5725 Centaur Technology, Inc. www.centtech.com Brian A. Seklecki wrote the following on 10/23/06 11:18: Kevin: Maybe you can get a punter on linux-poweredge@ lists to do scanpci -v or lspci or whatever to get the IDs. ~BAS On Wed, 18 Oct 2006, Scott Long wrote: Kevin Kramer wrote: and will it support the BCM5754 in the Precision 390? No idea, ask the vendor. Scott ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ ...from back in the heady days when helpdesk meant nothing, diskquota meant everything, and lives could be bought and sold for a couple of pages of laser printout - and frequently were. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: VIA C7 support
On Mon, Oct 23, 2006 at 07:27:12PM +0200, Roland Smith wrote: On Mon, Oct 23, 2006 at 06:49:21PM +0200, Oliver Fromme wrote: Matthieu Michaud wrote: Oliver Fromme wrote: Also take into account that you usually don't read that much data from /dev/random. Quality is much more important than speed. you are right. do you know an easy way to evaluate this quality ? There is no easy way, I'm afraid. Start reading here: http://www.random.org/essay.html And follow the links. A test of 1 MB random data with ent [http://www.fourmilab.ch/random/]: dd if=/dev/random of=rand.dat bs=1k count=1k ./ent rand.dat Entropy = 7.999843 bits per byte. Optimum compression would reduce the size of this 1048576 byte file by 0 percent. Chi square distribution for 1048576 samples is 227.43, and randomly would exceed this value 75.00 percent of the times. Arithmetic mean value of data bytes is 127.6223 (127.5 = random). Monte Carlo value for Pi is 3.133839164 (error 0.25 percent). Serial correlation coefficient is -0.000504 (totally uncorrelated = 0.0). According to the same fourmilab page this is quite decent. There is about 1 bit of entropy in approx. ~6000 bytes! That should be 1 bit of _non_ entropy. Oops. The chi square value is of the same order as one generated by timing radioactive decay events. Repeating the cycle of dd/ent commands gives varying values for the chi square test. It probably depends on the ratio of random bytes that you need versus the number of really random bytes harvested by the system. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpkupjIJdoiG.pgp Description: PGP signature
Re: em network issues
субота 21 жовтень 2006 13:33, Gleb Smirnoff написав: We aren't currently speaking about performance, we need to know whether kernel with DEVICE_POLLING option makes NIC work stable. Yes, that seems to be the case... After I got to the machine's console (there was no network access) and turning off the polling on em0, it started accepting the dumps (two streams in parallel from two different remote servers), and compressing them (zlib -9) at about 35 Mb/s. The em0's interrupts fire between 3K and 4K times per second, accounting for 3-7% of the total CPU load. I'll test with three parallel dumps tonight (one of them from an overwhelming 8-Sparc db-server), but it looks quite promising already. Yours, -mi 4 usersLoad 2.46 2.34 1.63 23 жов 13:34 Mem:KBREALVIRTUAL VN PAGER SWAP PAGER Tot Share TotShareFree in out in out Act 113456 17640 23307644512 89204 count All 2001588 20244 1426659k51588 pages Interrupts Proc:r p d s wCsw Trp Sys Int Sof Fltcow7738 total 2 60 12703 172391928576 70 254372 wireirq1: atkb 120004 act irq6: fdc0 4.9%Sys 6.3%Intr 88.8%User 0.0%Nice 0.0%Idl 1548080 inact irq15: ata |||||||||| 86240 cache irq17: fwo == 2964 freeirq20: nve daefr irq21: ohc Namei Name-cacheDir-cache prcfr 2 irq22: ehc Calls hits% hits% react 3679 irq25: em0 312 312 100 pdwak67 irq29: amr zfodpdpgs 1995 cpu0: time Disks ad4 ad6 amrd0 ozfod intrn 1995 cpu1: time KB/t128 0.00 75.03 %slo-z 221184 buf tps 1 058 1112 tfree23 dirtybuf MB/s 0.12 0.00 4.2310 desiredvnodes % busy0 061 2757 numvnodes Showing vmstat, refresh every 1 seconds. 1965 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CARP not balancing automatically
On Monday 23 October 2006 17:34, Vivek Khera wrote: I'm attempting to use CARP with arpbalance to load balance some services. My only problem is that the balancing doesn't happen automatically. The configuration is just from the carp man page: ifconfig_em0=inet XXX.XXX.XXX.55 netmask 255.255.255.192 ifconfig_em1=inet 192.168.100.55 netmask 255.255.255.0 ifconfig_carp0=inet 192.168.100.100 netmask 255.255.255.0 vhid 5 pass dns-prv ifconfig_carp1=inet 192.168.100.100 netmask 255.255.255.0 vhid 6 advskew 100 pass dns-prv cloned_interfaces=carp0 carp1 and on the other box: ifconfig_em0=inet XXX.XXX.XXX.56 netmask 255.255.255.192 ifconfig_em1=inet 192.168.100.56 netmask 255.255.255.0 ifconfig_carp0=inet 192.168.100.100 netmask 255.255.255.0 vhid 5 advskew 100 pass dns-prv ifconfig_carp1=inet 192.168.100.100 netmask 255.255.255.0 vhid 6 pass dns-prv cloned_interfaces=carp0 carp1 and of course net.inet.carp.arpbalance=1 in /etc/sysctl.conf. When I reboot the systems, the first one to boot up becomes the MASTER for both carp0 and carp1 interfaces and remains so even after the other machine comes up. The second machine to boot comes up in BACKUP mode for both interfaces. The only way to make the balance change is to bring down carp0 on the box not designated as the master for it momentarily until such time that the first one (the designated master for carp0) takes over, then bring up carp0 again. Until I perform this manual step, all traffic goes to the single box. After I perform this step, the traffic is balanced nicely as expected amongst the local network hosts. Each box then has one MASTER and one BACKUP carp interface for this IP. Sounds like you forgot the net.inet.carp.preempt sysctl. See the begining of the EXAMPLES section of carp(4). What can I do to make the balance automatic as the docs imply? This also happens on another pair of machines I have which are CARP + arpbalance for another IP. The NICs in question are hooked up to a gigabit switch. -- /\ Best regards, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign | Against HTML Mail and News pgpdbncRk7yOI.pgp Description: PGP signature
em, bge, network problems survey.
Hi, We do experience some trouble with em. 1. em0: watchdog timeout resetting Network hangs, server becomes unreachable, and after a few minutes, console doesn't respond anymore. We tried to type something at the console prompt and we got some chinese characters :) We had to reboot badly. twice. Then we switched to an xl network card. The problem occurred under load (heavy for our use) : nightly nfs backup that wasn't completed, samba home directory for 300 users, squid just 5 minutes after users began to work at the office. Really bad. 2. We are using a 6.1 release. We were using an old 5.2.1 before that. And we already had some network hang followed by server hang that's why we upgraded to 6.1. really bad idea. The problem occurs once a week now. 3. em cards are experiencing the problem. We bought a brand new one, and it stills occurs. So we are now using the integrated xl card. It works fine, but at 100Mbps. 4. It is an SMP machine. We are using the default kernel. 5. machine not hyperthreading capable 6.ioapic0 Version 1.1 irqs 0-23 on motherboard 7. no code patch, default configuration, default kernel 8. 4BSD scheduler I can't do a lot of test with this server, as it is a production one. Hope this will help you to fix. See below, vmwtat, dmesg and pciconf Regards Stephane # vmstat -i interrupt total rate irq1: atkbd0 606 0 irq6: fdc0 3 0 irq14: ata0 47 0 irq19: xl0 19094529540 irq20: em0 0 0 irq21: em1 twe0 654923 18 cpu0: timer 70651494 1999 cpu1: timer 70651376 1999 Total 161052978 4558 #dmesg Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) MP 2600+ (2133.42-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x681 Stepping = 1 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE AMD Features=0xc0480800SYSCALL,MP,MMX+,3DNow+,3DNow real memory = 536346624 (511 MB) avail memory = 515244032 (491 MB) ACPI APIC Table: PTLTD APIC FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 1 cpu1 (AP): APIC ID: 0 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 Version 1.1 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: PTLTD RSDT on motherboard acpi0: Power Button (fixed) acpi0: Sleep Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x8008-0x800b on acpi0 cpu0: ACPI CPU on acpi0 cpu1: ACPI CPU on acpi0 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff,0x8000-0x807f,0x8080-0x80ff iomem 0xd8000-0xdbfff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: AMD 762 host to AGP bridge port 0x10a0-0x10a3 mem 0xd200-0xd3ff,0xd0d0-0xd0d00fff at device 0.0 on pci0 pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0 pci1: ACPI PCI bus on pcib1 pci1: display, VGA at device 5.0 (no driver attached) isab0: PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci0: AMD 768 UDMA100 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 7.1 on pci0 ata0: ATA channel 0 on atapci0 ata1: ATA channel 1 on atapci0 pci0: bridge at device 7.3 (no driver attached) em0: Intel(R) PRO/1000 Network Connection Version - 3.2.18 port 0x1000-0x103f mem 0xd088-0xd089,0xd080-0xd083 irq 20 at device 8.0 on pci0 em0: Ethernet address: 00:04:23:d5:40:80 em1: Intel(R) PRO/1000 Network Connection Version - 3.2.18 port 0x1040-0x107f mem 0xd08a-0xd08b,0xd084-0xd087 irq 21 at device 8.1 on pci0 em1: Ethernet address: 00:04:23:d5:40:81 twe0: 3ware Storage Controller. Driver version 1.50.01.002 port 0x1090-0x109f mem 0xd000-0xd07f irq 21 at device 9.0 on pci0 twe0: [GIANT-LOCKED] twe0: 8 ports, Firmware FE7X 1.05.00.056, BIOS BE7X 1.08.00.046 pcib2: ACPI PCI-PCI bridge at device 16.0 on pci0 pci2: ACPI PCI bus on pcib2 xl0: 3Com 3c905C-TX Fast Etherlink XL port 0x3000-0x307f mem 0xd0a01000-0xd0a0107f irq 19 at device 8.0 on pci2 miibus0: MII bus on xl0 ukphy0: Generic IEEE 802.3u media interface on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:e0:81:21:81:33 atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device
em0 update
Hello, I compiled again recent patch from http://lists.freebsd.org/pipermail/freebsd-stable/2006-October/029224.html then em0 works fine until now without any problem. Regards, Balgaa ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cpu usage
On Mon 2006-10-23 (18:56), Oliver Fromme wrote: It shouldn't change anything. The nice level will not reduce the amount of work that your CPU is doing, it might only shift that amount between processes. ah ok. Depending on the type of your CPU (which you didn't tell us), it might be possible to reduce the clock rate using it's an amd athlon-xp 2600+ the cpufreq(4) framework. You can control it with sysctl. Reducing the clock rate will reduce the power consumption and thus the heat generated by the CPU. Of course it will also make your computer run much slower. thanx, will give that a shot. the machine runs fine under normal circumstances, it's just the odd few jobs. hopefully this'll work without a reboot. *reads up* should first try to fix your hardware. If the CPU is overclocked, stop that. nope, not overclocked On Tue 2006-10-24 (01:46), Kazuaki ODA wrote: Is this really a cpu problem? I suspect that your cpu fan or case fan has stopped, so there is nothing to cool the cpu. i've been checking those, and they *seem* to be ok. am gonna buy another fan for the cpu when i get a sec. On Mon 2006-10-23 (18:57), Roland Smith wrote: Forgot the thermal paste between the CPU and the fan? Overclocked the CPU? nope ;) i built this machine 3 years ago i think, whenever the 2600+'s came out. it's only been giving trouble in the past few months. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: em network issues
понеділок 23 жовтень 2006 13:37, Mikhail Teterin написав: We aren't currently speaking about performance, we need to know whether kernel with DEVICE_POLLING option makes NIC work stable. Yes, that seems to be the case... I spoke too soon :-( It took a lot longer this time (without polling), but the network hung again on the box. Everything recovered by itself after I walked over and simply pushed the Shift button on the machine's keyboard... -mi ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cpu usage
gareth wrote: On Mon 2006-10-23 (18:57), Roland Smith wrote: Forgot the thermal paste between the CPU and the fan? Overclocked the CPU? nope ;) i built this machine 3 years ago i think, whenever the 2600+'s came out. it's only been giving trouble in the past few months. I have an XP 2200 in a normal ATX box with no extra fans. I have to change thermal paste about once a year. Even so, I monitor the temperature closely in the summertime and increase fan speed whenever necessary. So there is a chance that your cooler simply needs fresh thermal paste after 3 years. -- Tore ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cpu usage
On Mon, Oct 23, 2006 at 08:39:58PM +0200, gareth wrote: [snip] On Mon 2006-10-23 (18:57), Roland Smith wrote: Forgot the thermal paste between the CPU and the fan? Overclocked the CPU? nope ;) i built this machine 3 years ago i think, whenever the 2600+'s came out. it's only been giving trouble in the past few months. I've had machines that have been in service for several years start to overheat due to dust accumulation in the CPU cooler fins. If you haven't already done so, you might want to check for that. Bob -- Bob Willcox Possessions increase to fill the space [EMAIL PROTECTED]available for their storage. Austin, TX -- Ryan ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CARP not balancing automatically
On Oct 23, 2006, at 1:50 PM, Max Laier wrote: Until I perform this manual step, all traffic goes to the single box. After I perform this step, the traffic is balanced nicely as expected amongst the local network hosts. Each box then has one MASTER and one BACKUP carp interface for this IP. Sounds like you forgot the net.inet.carp.preempt sysctl. See the begining of the EXAMPLES section of carp(4). But I don't have multiple interfaces that all need to go up/down together. I need one carp interface to be master and one backup on box A, and the opposite master/backup on box B. Or am I totally misunderstanding with the preemtp sysctl is for? The second example in the EXAMPLES section is what I followed. It makes no mention of needing preempt, but does say I need arpbalance. Is the documentation incomplete in the second example, then? What I want to end up with (and what I get after my manual manipulation) is this: one host: carp0: flags=49UP,LOOPBACK,RUNNING mtu 1500 inet 192.168.100.100 netmask 0xff00 carp: BACKUP vhid 5 advbase 1 advskew 100 carp1: flags=49UP,LOOPBACK,RUNNING mtu 1500 inet 192.168.100.100 netmask 0xff00 carp: MASTER vhid 6 advbase 1 advskew 0 other host: carp0: flags=49UP,LOOPBACK,RUNNING mtu 1500 inet 192.168.100.100 netmask 0xff00 carp: MASTER vhid 5 advbase 1 advskew 0 carp1: flags=49UP,LOOPBACK,RUNNING mtu 1500 inet 192.168.100.100 netmask 0xff00 carp: BACKUP vhid 6 advbase 1 advskew 100 what happens on boot is one box has both MASTER and the other has both BACKUP resulting in zero load balance.
some issues not listed on TODO
Hello! Looking at the http://www.freebsd.org/releases/6.2R/todo.html today, I was surprised to not see the following problems in addition to the em(4) issue: . devel/nspr's self test fails: the forktest executable complains about a bug in pthread. Using libthr seems to work, but that is not the default configuration. To reproduce: cd /usr/ports/devel/nspr make build test . when the devel/icu port is built with threading support (currently off for this reason), its self-tests crash randomly on ia64. marcel is aware of the problem with threads on ia64 *in general* and is working on it... To reproduce (on ia64): cd /usr/ports/devel/icu make config ;# Enable threads make . building devel/icu on i386 with an optimization flags lower than -O2, reveals a bug in the compiler toolchain -- a bogus symbol is inserted into an object file. The problem strikes sometimes and appears to depend on the number of string literals in the source file. To reproduce, edit the port's Makefile to change the -O flag modification from -O2 to -O0 -g and try to build the port. Yours, -mi ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CARP not balancing automatically
On Oct 23, 2006, at 4:21 PM, Vivek Khera wrote: Sounds like you forgot the net.inet.carp.preempt sysctl. See the begining of the EXAMPLES section of carp(4). But I don't have multiple interfaces that all need to go up/down together. I need one carp interface to be master and one backup on box A, and the opposite master/backup on box B. Or am I totally misunderstanding with the preemtp sysctl is for? Forgot to mention that setting preempt sysctl does instantly make the carp load balanced interfaces work as expected: balancing the load by offering one master on each server. So I'll say that the example needs to be made more clear that preempt needs to be on. It seems to me that preempt off is a mostly useless configuraiton for load balance, but probably not for just simple failover.
Re: kernel ignores kenv comconsole_speed?
Am 23.10.2006 um 17:46 schrieb Vivek Khera: On Oct 20, 2006, at 6:59 AM, Stefan Bethke wrote: I have -DS115200 in /boot.config, and boot and loader are happily using this speed. However, the kernel appears to be hardwired to 9600. I've only ever gotten it to work when /boot.config looks like -D - S115200. I don't think you can merge the -S flag with the others, at least according to my read of the man page. As I said, boot and loader are happily using 115200, but the kernel uses the compiled-in default. I'll file a PR the next few days, hopefully with a patch. Stefan -- Stefan Bethke [EMAIL PROTECTED] Fon +49 170 346 0140 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Running large DB's on FreeBSD
Greetings, I am in the process of implementing a fairly large mysql server for an even larger company, and naturally i want to use FreeBSD. The hardware will be an HP DL385, 2 x dual-core Opterons, 16GB RAM, 7 x 15k rpm disks in a RAID5 setup. I'm not exactly informed as to the specific workload yet, however i know the database will have several million rows and be larger than 10GB. So, first of all, am i crazy for choosing fbsd+mysql for this rather than something like Solaris + Oracle? :) Secondly, i am just looking for some suggestions, opinions, success/failure story's that may help me out. Is anyone out there using FreeBSD for something of this size? I am hoping that everything will work out well, and the client will be happy. This would generate some good PR for FreeBSD, as it is a very large international company and it would be the first FreeBSD server (that i know of) of this type there. Thanks, any input will be appreciated. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running large DB's on FreeBSD
Mike Jakubik [EMAIL PROTECTED] wrote: I am in the process of implementing a fairly large mysql server for an even larger company, and naturally i want to use FreeBSD. The hardware will be an HP DL385, 2 x dual-core Opterons, 16GB RAM, 7 x 15k rpm disks in a RAID5 setup. Generally speaking, RAID 5 is known for lousy performance in database loads. Consider using RAID 10. So, first of all, am i crazy for choosing fbsd+mysql for this rather than something like Solaris + Oracle? :) Well, you should be using FreeBSD+PostgreSQL, but that's just my religion. Secondly, i am just looking for some suggestions, opinions, success/failure story's that may help me out. Is anyone out there using FreeBSD for something of this size? I am hoping that everything will work out well, and the client will be happy. This would generate some good PR for FreeBSD, as it is a very large international company and it would be the first FreeBSD server (that i know of) of this type there. Yes, this is being done. I would suggest surfing the Postgresql performance mailing list archives a bit. There are often discussions of huge databases there: http://archives.postgresql.org/pgsql-performance/ -- Bill Moran The presence of stale files in this directory can cause the dreaded unpredictable results, and therefore it is highly recommended that you delete them. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running large DB's on FreeBSD
On Oct 23, 2006, at 4:01 PM, Mike Jakubik wrote: I am in the process of implementing a fairly large mysql server for an even larger company, and naturally i want to use FreeBSD. The hardware will be an HP DL385, 2 x dual-core Opterons, 16GB RAM, 7 x 15k rpm disks in a RAID5 setup. I'm not exactly informed as to the specific workload yet, however i know the database will have several million rows and be larger than 10GB. So, first of all, am i crazy for choosing fbsd+mysql for this rather than something like Solaris + Oracle? :) Moderately...it kinda depends on the budget available. I regard Solaris + Oracle as one of the most reliable combinations for moderate to extreme load, for a system that might well be in operation for five to ten years. If I was going to do FreeBSD, I might look into Postgres instead of MySQL; well, I might look into something else than MySQL under many circumstances. I've gotten some pretty good use out of OpenBase, for another choice. As for the disk configuration, using RAID-5 is one of the worst possible choices for a database; using multiple RAID-1 mirrors or a RAID-10 config would probably do a lot better in terms of performance and reliability. -- -Chuck ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running large DB's on FreeBSD
On Tue, 24 Oct 2006 01:01:38 +0200, Mike Jakubik [EMAIL PROTECTED] wrote: Greetings, I am in the process of implementing a fairly large mysql server for an even larger company, and naturally i want to use FreeBSD. The hardware will be an HP DL385, 2 x dual-core Opterons, 16GB RAM, 7 x 15k rpm disks in a RAID5 setup. I'm not exactly informed as to the specific workload yet, however i know the database will have several million rows and be larger than 10GB. So, first of all, am i crazy for choosing fbsd+mysql for this rather than something like Solaris + Oracle? :) Secondly, i am just looking for some suggestions, opinions, success/failure story's that may help me out. Is anyone out there using FreeBSD for something of this size? I am hoping that everything will work out well, and the client will be happy. This would generate some good PR for FreeBSD, as it is a very large international company and it would be the first FreeBSD server (that i know of) of this type there. Thanks, any input will be appreciated. I'm running MySQL 5 on Linux at my work (4 disk RAID 10/32G RAM/4xsingle-core). It has a DB of 100 GB and much more than millions of rows and the preformance is very good with quite a lot of users via the webserver. But I do not have any comparisons with Oracle or other systems. Unforunately we don't run FreeBSD at work except for my workstation. The size of the db is not the problem. The load is more important. Are there a lot of sequential queries or simultanious? Do you do a lot of locking/selects/updates/insert? Are there thousands of tables or just 1? I do recommend a 64 bit OS if your hardware supports it, because it makes allocating memory for MySQL a lot easier. Ronald. -- Ronald Klop Amsterdam, The Netherlands ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running large DB's on FreeBSD
Chuck Swiger wrote: On Oct 23, 2006, at 4:01 PM, Mike Jakubik wrote: So, first of all, am i crazy for choosing fbsd+mysql for this rather than something like Solaris + Oracle? :) Moderately...it kinda depends on the budget available. I regard Solaris + Oracle as one of the most reliable combinations for moderate to extreme load, for a system that might well be in operation for five to ten years. If I was going to do FreeBSD, I might look into Postgres instead of MySQL; well, I might look into something else than MySQL under many circumstances. I've gotten some pretty good use out of OpenBase, for another choice. I believe the front-end application is MySQL dependent, but what is so much better about PostgreSQL? I understand that it has some more advanced features, but if they are not used, then what is the advantage? (I really like the InnooDB storage in MySQL) As for the disk configuration, using RAID-5 is one of the worst possible choices for a database; using multiple RAID-1 mirrors or a RAID-10 config would probably do a lot better in terms of performance and reliability. Is RAID5 really that bad when a lot of fast disks are used and the controller has a decent cache with a BBWC? Thanks for the feedback guys. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running large DB's on FreeBSD
Ronald Klop wrote: I'm running MySQL 5 on Linux at my work (4 disk RAID 10/32G RAM/4xsingle-core). It has a DB of 100 GB and much more than millions of rows and the preformance is very good with quite a lot of users via the webserver. But I do not have any comparisons with Oracle or other systems. Unforunately we don't run FreeBSD at work except for my workstation. Well, i guess i can always fall back on Linux if there are any major problems on FreeBSD. The size of the db is not the problem. The load is more important. Are there a lot of sequential queries or simultanious? Do you do a lot of locking/selects/updates/insert? Are there thousands of tables or just 1? I do recommend a 64 bit OS if your hardware supports it, because it makes allocating memory for MySQL a lot easier. Thats the information i do not have yet. My guess is mostly selects and possibly more than one table. I also believe they will make use of stored procedures. I will have to use AMD64 anyways, as it will be using 16GB of ram. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running large DB's on FreeBSD
On Oct 23, 2006, at 4:44 PM, Mike Jakubik wrote: Moderately...it kinda depends on the budget available. I regard Solaris + Oracle as one of the most reliable combinations for moderate to extreme load, for a system that might well be in operation for five to ten years. If I was going to do FreeBSD, I might look into Postgres instead of MySQL; well, I might look into something else than MySQL under many circumstances. I've gotten some pretty good use out of OpenBase, for another choice. I believe the front-end application is MySQL dependent, but what is so much better about PostgreSQL? I understand that it has some more advanced features, but if they are not used, then what is the advantage? (I really like the InnooDB storage in MySQL) I'm not sure whether avoiding deadlocks and using row-level locking by default qualifies as advanced features, but unless you use InnoDB with MySQL, you don't get that from MySQL. Postgres has been around for a lot longer, and isn't as volatile as MySQL seems to be; also, it avoids some of the needless timer overhead that MySQL seems to enjoy, and the less-accurate-but-much-quicker gettimeofday() under Linux helps MySQL on that platform versus FreeBSD. As for the disk configuration, using RAID-5 is one of the worst possible choices for a database; using multiple RAID-1 mirrors or a RAID-10 config would probably do a lot better in terms of performance and reliability. Is RAID5 really that bad when a lot of fast disks are used and the controller has a decent cache with a BBWC? Thanks for the feedback guys. Yes, RAID-5 really can be that bad, unless your database is read-only or read-mostly. Lots of small writes will perform badly under RAID-5, even with a battery-backed write-cache in write-back mode... -- -Chuck ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running large DB's on FreeBSD
On Oct 23, 2006, at 19:10, Chuck Swiger wrote: Moderately...it kinda depends on the budget available. I regard Solaris + Oracle as one of the most reliable combinations for moderate to extreme load, for a system that might well be in operation for five to ten years. If I was going to do FreeBSD, I might look into Postgres instead of MySQL; well, I might look into something else than MySQL under many circumstances. I've gotten some pretty good use out of OpenBase, for another choice. FWIW, Solaris 10 Update 3 (6/06) comes with Postres on the DVDs and you can get official support from Sun if that's important. Solaris/ x86 does run on HP hardware (with support available), but I don't the exact HCL offhand. As for Postgres on FreeBSD, FlighAware seems to be using it some some decent amount of data: . Receiving the data and processing it puts them about 6 minutes behind real time . Generating one map can be done in about 160 milliseconds of CPU time . Capable of generating several million maps a day . About 1 TB of stored data . Approximately 40 million position updates on air craft per day http://joseph.randomnetworks.com/archives/2006/05/12/flightaware- freebsd-and-postgresql/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running large DB's on FreeBSD
On Tue, 24 Oct 2006 02:00:22 +0200, Chuck Swiger [EMAIL PROTECTED] wrote: On Oct 23, 2006, at 4:44 PM, Mike Jakubik wrote: Moderately...it kinda depends on the budget available. I regard Solaris + Oracle as one of the most reliable combinations for moderate to extreme load, for a system that might well be in operation for five to ten years. If I was going to do FreeBSD, I might look into Postgres instead of MySQL; well, I might look into something else than MySQL under many circumstances. I've gotten some pretty good use out of OpenBase, for another choice. I believe the front-end application is MySQL dependent, but what is so much better about PostgreSQL? I understand that it has some more advanced features, but if they are not used, then what is the advantage? (I really like the InnooDB storage in MySQL) I'm not sure whether avoiding deadlocks and using row-level locking by default qualifies as advanced features, but unless you use InnoDB with MySQL, you don't get that from MySQL. Postgres has been around for a lot longer, and isn't as volatile as MySQL seems to be; also, it avoids some of the needless timer overhead that MySQL seems to enjoy, and the less-accurate-but-much-quicker gettimeofday() under Linux helps MySQL on that platform versus FreeBSD. As for the disk configuration, using RAID-5 is one of the worst possible choices for a database; using multiple RAID-1 mirrors or a RAID-10 config would probably do a lot better in terms of performance and reliability. Is RAID5 really that bad when a lot of fast disks are used and the controller has a decent cache with a BBWC? Thanks for the feedback guys. Yes, RAID-5 really can be that bad, unless your database is read-only or read-mostly. Lots of small writes will perform badly under RAID-5, even with a battery-backed write-cache in write-back mode... Example: writing 1 bit on 1 disk needs to read some info from all disks to recalculate the parity. So this doesn't scale very well. -- Ronald Klop Amsterdam, The Netherlands ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running large DB's on FreeBSD
On Mon, 23 Oct 2006, Bill Moran wrote: Mike Jakubik [EMAIL PROTECTED] wrote: I am in the process of implementing a fairly large mysql server for an even larger company, and naturally i want to use FreeBSD. The hardware will be an HP DL385, 2 x dual-core Opterons, 16GB RAM, 7 x 15k rpm disks in a RAID5 setup. Generally speaking, RAID 5 is known for lousy performance in database loads. Consider using RAID 10. So, first of all, am i crazy for choosing fbsd+mysql for this rather than something like Solaris + Oracle? :) Well, you should be using FreeBSD+PostgreSQL, but that's just my religion. This is not another holy war, we also have a dual Xeon 3.6, 2xSCSI RAID0, 8GB of RAM and a database of 40Gb. But after using mysql 5.0 with all performance tricks I found in google and FreeBSD Wiki page, we decided to change to PostgreSQL and now are happy with it. PS. RAID5 is a bad choice for large DB. I'd recommended a RAID0 with standalone backup server. - With best regards, |The Power to Serve Nguyen Tam Chinh| http://www.FreeBSD.org Loc: sp.cs.msu.su | ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
i915 DRM enabled in X.org log but not in glxinfo
Hi, Just to say that this report may well seem a little sparse, but I really don't know what exactly to look for so if anybody needs extra information just shout and I will get it for you ASAP. When I check the X.org log file, it says direct rendering: enabled on my graphics device (it attaches its i810 driver to the kernel's i915 DRM device). This would appear to me to suggest that atleast the X server is running with full DRM capabilities. But when I use glxinfo, it says direct rendering: No. I am just wodnering, is there anything special I need to do for GL to work with the DRM stuff? I haven't installed (atleast knowingly) any other MESA library, so following the advice I have found that should be all I need to check, but apparently something else is wrong and I haven't the faintest idea what to look for. The other other slight oddity is that when i915 probes, it says I have 128 meg video RAM when I really only have 64meg maximum for the intel graphics. Just wondering if anybody had any suggestions, just seems wierd that one says things should be enabled,but the other test program disagrees. Thanks, Alex J Burke. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running large DB's on FreeBSD
From Mike Jakubik [EMAIL PROTECTED], Mon, Oct 23, 2006 at 07:44:45PM -0400: Chuck Swiger wrote: On Oct 23, 2006, at 4:01 PM, Mike Jakubik wrote: So, first of all, am i crazy for choosing fbsd+mysql for this rather than something like Solaris + Oracle? :) Moderately...it kinda depends on the budget available. I regard Solaris + Oracle as one of the most reliable combinations for moderate to extreme load, for a system that might well be in operation for five to ten years. If I was going to do FreeBSD, I might look into Postgres instead of MySQL; well, I might look into something else than MySQL under many circumstances. I've gotten some pretty good use out of OpenBase, for another choice. I believe the front-end application is MySQL dependent, but what is so much better about PostgreSQL? I understand that it has some more advanced features, but if they are not used, then what is the advantage? (I really like the InnooDB storage in MySQL) The argument for pgsql over mysql given freebsd is based on freebsd being fairly competitive for process-based concurrency whereas the more refined 1:1 thread implementation in linux often gives mysql an edge on that platform. pgsql vs. mysql performance comparisons are usually run on Linux and do not necessarily predict performance under freebsd for the testload. ** Find a testload similar in structure to your workload before deciding; make sure that the testload uses hardware with similar bottlenecks to your production setup ** ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: How to configure a usb device
Thanks for your kindly support. I have checked the driver of USB device on Linux Linux uses the zaurus driver for that device. What I want to know whether such driver has been ported to FreeBSD. Thanks Regards Zongjun -Original Message- From: Daniel O'Connor [mailto:[EMAIL PROTECTED] Sent: 2006年10月23日 19:33 To: freebsd-stable@freebsd.org Cc: Sun Zongjun-E5739C Subject: Re: How to configure a usb device On Monday 23 October 2006 18:26, Sun Zongjun-E5739C wrote: I want to use a usb network interface on FreeBSD6.1 as well as I use it on linux. When insert the USB into Linux box and run ifconfig command, it will report that a usb0(1, 2) can be used now. But when I insert the same USB device into the FreeBSD box, FreeBSD only report that some USB device has been detected, there is nothing on the screen when I run ifconfig command. You need to paste the dmesg output so we have a chance to see what the actual device in question is.. The output of usbdevs -v would be useful. If you are running a GENERIC kernel (which has all of the USB drivers loaded in it already) then it would seem FreeBSD doesn't support your hardware. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: How to configure a usb device
As I said in another email, the Linux uses zaurus driver for this USB lan devices. I have checked the freebsd list that it uses cdce driver to support zaurus USB devices. But some zaurus usb devices don't report its class and interfaces correctly. It should works if we can add the product ID and vendor ID into the drivers manually. The zaurus drivers in linux complains about the incompliance of USB devices of zaurus (CDC) so Linux developer developed a specific driver for that. I don't want to make a specific driver for FreeBSD since I am a newbie to freebsd. What I want to do is to add the vendor and product information to the driver manually by myself. Thanks Regards Zongjun -Original Message- From: Jansen Gotis [mailto:[EMAIL PROTECTED] Sent: 2006年10月23日 18:06 To: Sun Zongjun-E5739C Subject: Re: How to configure a usb device On 10/23/06, Sun Zongjun-E5739C [EMAIL PROTECTED] wrote: Hi, all I want to use a usb network interface on FreeBSD6.1 as well as I use it on linux. When insert the USB into Linux box and run ifconfig command, it will report that a usb0(1, 2) can be used now. But when I insert the same USB device into the FreeBSD box, FreeBSD only report that some USB device has been detected, there is nothing on the screen when I run ifconfig command. I am a newbie to FreeBSD. How can I know whether my FreeBSD can support this devices like Linux? Thanks for your help very much Hello, Please check here if your hardware is supported: http://www.freebsd.org/releases/6.1R/hardware-i386.html#ETHERNET Sometimes even if your specific hardware is not listed, it might work if it uses a supported chipset. Hope this helps, Jansen ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to configure a usb device
On Tuesday 24 October 2006 12:46, Sun Zongjun-E5739C wrote: I have checked the driver of USB device on Linux Linux uses the zaurus driver for that device. What I want to know whether such driver has been ported to FreeBSD. You haven't supplied your dmesg or the usbdevs -v output. However I am guessing you probably need to install the palm/uppc-kmod port and then get PPP working. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C pgpQuUeo8bziY.pgp Description: PGP signature
RE: How to configure a usb device
I use usbdevs -v it is like this Port1 addr 2, full speed, power 500mA, config 1, Motorola USB device(0x6424), Motorola Inc.(0x22b8), rev1.00 Thanks Regards zongjun -Original Message- From: Daniel O'Connor [mailto:[EMAIL PROTECTED] Sent: 2006年10月24日 11:52 To: Sun Zongjun-E5739C Cc: freebsd-stable@freebsd.org Subject: Re: How to configure a usb device On Tuesday 24 October 2006 12:46, Sun Zongjun-E5739C wrote: I have checked the driver of USB device on Linux Linux uses the zaurus driver for that device. What I want to know whether such driver has been ported to FreeBSD. You haven't supplied your dmesg or the usbdevs -v output. However I am guessing you probably need to install the palm/uppc-kmod port and then get PPP working. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to configure a usb device
On Tuesday 24 October 2006 13:27, Sun Zongjun-E5739C wrote: I use usbdevs -v it is like this Port1 addr 2, full speed, power 500mA, config 1, Motorola USB device(0x6424), Motorola Inc.(0x22b8), rev1.00 But no dmesg! Do you actually *want* help? Please do me (and everyone on this list) the courtesy of following the instructions I'm supplying so I don't have to send you so many email messages! Doesn't look like uppc-kmod will help though. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C pgpKo5g2fHDxb.pgp Description: PGP signature
Pleading for commit
--- rtld.c.orig Sun Oct 22 20:21:10 2006 +++ rtld.c Sun Oct 22 20:22:37 2006 @@ -131,6 +131,7 @@ static void ref_dag(Obj_Entry *); void r_debug_state(struct r_debug*, struct link_map*); +__weak_reference(dlsym, _dlsym); /* * Data declarations. It seems that so many of us have been successfully using this patch to src/libexec/rtld-elf/rtld.c for a great while now. I have carefully followed the thread on current@ concerning this topic. The patch was turned down but I don't know why. Even though this no longer helps the situation on 7.X having it committed to the tree for 6.X would be a big help! Patching it myself after every cvs update is not such a big deal; It is forgetting to patch it after every update which is a big deal. Even though it is impossible to run Flash on HEAD it seems this patch has been thoroughly, if unofficially, tested on STABLE. This is my plea to a src committer: Please have mercy and commit the above patch. If this is truly impossible, please explain why. Let us all keep our hopes that a true solution may be found before RELENG_7_0_RELEASE. Most Respectfully, Duane Whitty ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5 to 6
Andrew Reilly wrote: So: my two cents: it can work, but it's possible for it not to work, and care is required. That's always true, but worth a reminder nonetheless. :) [*] The production server is using a software RAID mirror on a pair of SATA drives on a low-end Intel P4/ICH6 motherboard, using ar(4), configured by atacontrol. Fsck on 6.x can't find any superblocks on /usr, but 5.5 is fine. By chance did you upgrade this fs in place from a 4.x install? In other words, do you have only UFS1? Doug -- This .signature sanitized for your protection ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CARP not balancing automatically
On Monday 23 October 2006 22:38, Vivek Khera wrote: On Oct 23, 2006, at 4:21 PM, Vivek Khera wrote: Sounds like you forgot the net.inet.carp.preempt sysctl. See the begining of the EXAMPLES section of carp(4). But I don't have multiple interfaces that all need to go up/down together. I need one carp interface to be master and one backup on box A, and the opposite master/backup on box B. Or am I totally misunderstanding with the preemtp sysctl is for? Forgot to mention that setting preempt sysctl does instantly make the carp load balanced interfaces work as expected: balancing the load by offering one master on each server. So I'll say that the example needs to be made more clear that preempt needs to be on. Make a suggestion on how it should be worded and submit as a doc PR. It seems to me that preempt off is a mostly useless configuraiton for load balance, but probably not for just simple failover. -- /\ Best regards, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign | Against HTML Mail and News pgpjBWRcTdveA.pgp Description: PGP signature