Re: 4.11 panic every 23 hours 55 minutes or so
On Sun, May 17, 2009 at 2:06 PM, Doug Lee d...@dlee.org wrote: One of the weirder things I've seen in a while here... OS: FreeBSD 4.11 (yeah I know, old, but generally stable) CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz real memory = 536608768 (524032K bytes) Hds: IDE Problem: Ever since a suspitious power outage (I say suspitious because we think a surge was also involved), this box has been exhibiting kernel panics about every 23 hours 55 minutes, give or take about 4 minutes either way. Is there something in the cron that runs at around that time? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: suitesparse - error when compiling from ports
2009/5/17 Zbigniew Komarnicki cblas...@gmail.com: On Sunday 17 of May 2009 16:17:11 Lowell Gilbert wrote: Looks like there's a missing dependency on math/libgmp4. That's puzzling, though, because the FreeBSD build cluster built it fine just a couple of days ago. Thank you very much for your and all others help and great work! Today I try once again install octave and every things go excellent. Octave is now installed. Thank you once again :-) Best wishes, Zbigniew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
apache not starting on reboot
Hiya I have the following in my /etc/rc.conf mitm# cat /etc/rc.conf | grep apache apache22_enable=YES mitm# The problem I seem to be experiencing is that if I reboot the machine, then apache does not come up. Its only on when I run /usr/local/etc/rc.d/apache22 restart that apache is running and available. If anyone could assist me on where I went wrong or on what route and / or path to look, I would be most grateful. Kind Regards Brent Clark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: apache not starting on reboot
On Mon, May 18, 2009 at 11:03 AM, Brent Clark brentgclarkl...@gmail.comwrote: Hiya I have the following in my /etc/rc.conf mitm# cat /etc/rc.conf | grep apache apache22_enable=YES mitm# The problem I seem to be experiencing is that if I reboot the machine, then apache does not come up. Its only on when I run /usr/local/etc/rc.d/apache22 restart that apache is running and available. If anyone could assist me on where I went wrong or on what route and / or path to look, I would be most grateful. Start by looking at /var/log/messages Apache sometimes refuses to start if it cannot properly resolve the servername. If you have a ServerName directive in httpd.conf, try and see if it matches an entry in /etc/hosts or even a DNS entry - such that apache can resolve it. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
/dev/sa0 no longer recognized after 7.2 update
Hello, I am configuring a backup device with bacula; This device used to be mapped on /dev/sa0 After my system has been updated from 7.0 to 7.2 the device is no longer recognized. I am using freebsd-update and a pre-configured kernel. Any idea ?? Here is the output of my dmesg: Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.2-RELEASE #0: Fri May 1 07:18:07 UTC 2009 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU E5430 @ 2.66GHz (2673.31-MHz K8- class CPU) Origin = GenuineIntel Id = 0x10676 Stepping = 6 Features = 0xbfebfbff FPU ,VME ,DE ,PSE ,TSC ,MSR ,PAE ,MCE ,CX8 ,APIC ,SEP ,MTRR ,PGE ,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2 = 0xce3bd SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,b19 AMD Features=0x20100800SYSCALL,NX,LM AMD Features2=0x1LAHF Cores per package: 4 usable memory = 4275990528 (4077 MB) avail memory = 4079812608 (3890 MB) ACPI APIC Table: INTEL S5000VSA FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 ioapic0 Version 2.0 irqs 0-23 on motherboard ioapic1 Version 2.0 irqs 24-47 on motherboard lapic0: Forcing LINT1 to edge trigger kbd1 at kbdmux0 acpi0: INTEL S5000VSA on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a (3) failed Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0 acpi_hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on acpi0 Timecounter HPET frequency 14318180 Hz quality 900 acpi_button0: Sleep Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xca2,0xca3,0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0 pci1: ACPI PCI bus on pcib1 pcib2: ACPI PCI-PCI bridge irq 16 at device 0.0 on pci1 pci2: ACPI PCI bus on pcib2 pcib3: ACPI PCI-PCI bridge irq 16 at device 0.0 on pci2 pci3: ACPI PCI bus on pcib3 pcib4: PCI-PCI bridge at device 0.0 on pci3 pci4: PCI bus on pcib4 aac0: Adaptec RAID 3405 mem 0xb8a0-0xb8bf irq 18 at device 14.0 on pci4 aac0: Enabling 64-bit address support aac0: Enable Raw I/O aac0: Enable 64-bit array aac0: New comm. interface enabled aac0: [ITHREAD] aac0: Adaptec 3405, aac driver 2.0.0-1 aacp0: SCSI Passthrough Bus on aac0 aacp1: SCSI Passthrough Bus on aac0 aacp2: SCSI Passthrough Bus on aac0 pcib5: PCI-PCI bridge at device 0.2 on pci3 pci5: PCI bus on pcib5 pcib6: ACPI PCI-PCI bridge irq 17 at device 1.0 on pci2 pci6: ACPI PCI bus on pcib6 pcib7: ACPI PCI-PCI bridge irq 18 at device 2.0 on pci2 pci7: ACPI PCI bus on pcib7 em0: Intel(R) PRO/1000 Network Connection 6.9.6 port 0x2020-0x203f mem 0xb882-0xb883,0xb840-0xb87f irq 18 at device 0.0 on pci7 em0: Using MSI interrupt em0: [FILTER] em0: Ethernet address: 00:15:17:53:37:28 em1: Intel(R) PRO/1000 Network Connection 6.9.6 port 0x2000-0x201f mem 0xb880-0xb881,0xb800-0xb83f irq 19 at device 0.1 on pci7 em1: Using MSI interrupt em1: [FILTER] em1: Ethernet address: 00:15:17:53:37:29 pcib8: ACPI PCI-PCI bridge at device 0.3 on pci1 pci8: ACPI PCI bus on pcib8 pcib9: PCI-PCI bridge at device 3.0 on pci0 pci9: PCI bus on pcib9 pci0: base peripheral at device 8.0 (no driver attached) pcib10: ACPI PCI-PCI bridge irq 16 at device 28.0 on pci0 pci10: ACPI PCI bus on pcib10 uhci0: Intel 631XESB/632XESB/3100 USB controller USB-1 port 0x3080-0x309f irq 23 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: Intel 631XESB/632XESB/3100 USB controller USB-1 on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: Intel 631XESB/632XESB/3100 USB controller USB-2 port 0x3060-0x307f irq 22 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: Intel 631XESB/632XESB/3100 USB controller USB-2 on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: Intel 631XESB/632XESB/3100 USB controller USB-3 port 0x3040-0x305f irq 23 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: Intel 631XESB/632XESB/3100 USB controller USB-3 on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: Intel 631XESB/632XESB/3100 USB controller USB-4 port 0x3020-0x303f irq 22 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: Intel 631XESB/632XESB/3100 USB
Weird problem with gmirror - cannot add the Good disk when previously failed SATA disk is online
Hello, in advance sorry for the cross posting, it is just that freebsd-geom didnt seem that populated. I run 7.1-PRERELEASE, its a home server. today morning after a power failure, the rebuild my root gm0 failed on disk ad4. The messages were: May 18 08:02:02 panix kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=268091264 May 18 08:02:08 panix kernel: drm0: Intel i865G GMCH on vgapci0 May 18 08:02:08 panix kernel: info: [drm] AGP at 0xf000 128MB May 18 08:02:08 panix kernel: info: [drm] Initialized i915 1.5.0 20060119 May 18 08:02:08 panix kernel: drm0: [ITHREAD] May 18 08:02:08 panix kernel: ad4: FAILURE - device detached May 18 08:02:08 panix kernel: subdisk4: detached May 18 08:02:08 panix kernel: ad4: detached May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: provider ad4 disconnected. May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: rebuilding provider ad4 stopped. I read http://www.eztiger.org/2008/08/removing-and-re-adding-a-disk-in-gmirror/ hoping that the rebuld failure was temprary and so i tried to just run # gmirror forget gm0 # gmirror insert gm0 ad4 But the system responded (if i remember correctly) Unknown provider ad4. The system no longer could see ad4 being online. So i rebooted the system many times and had these results: -When having put offline ad4 (disconnected by hardware), the system booted ok. -When having both disks online the system responded consistently with: GEOM_MIRROR: Cannot add disk ad6 to gm0 (error=22). Which IMO is not very ok, since gm0 should add ad6 without problem, no matter if ad4 is online or not. -When having only ad4 online, then it simply cannot find gm0 at all. (kind of reasonable) So my only option is to have only ad6 online, with a current gmirror status: panix# gmirror status NameStatus Components mirror/gm0 COMPLETE ad6 Anyone has an idea of how should i proceed (besides buying a UPS unit!) Is it meaningfull to go for a new Disk to replace current ad4? Why is the presence of the supposed bad disk ad4, affecting gm0, when having already told gm0 to forget about ad4? Thanx for any suggestions. -- Achilleas Mantzios ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Weird problem with gmirror - cannot add the Good disk when previously failed SATA disk is online
Hello, in advance sorry for the cross posting, it is just that freebsd-geom didnt seem that populated. I run 7.1-PRERELEASE, its a home server. today morning after a power failure, the rebuild my root gm0 failed on disk ad4. The messages were: May 18 08:02:02 panix kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=268091264 May 18 08:02:08 panix kernel: drm0: Intel i865G GMCH on vgapci0 May 18 08:02:08 panix kernel: info: [drm] AGP at 0xf000 128MB May 18 08:02:08 panix kernel: info: [drm] Initialized i915 1.5.0 20060119 May 18 08:02:08 panix kernel: drm0: [ITHREAD] May 18 08:02:08 panix kernel: ad4: FAILURE - device detached May 18 08:02:08 panix kernel: subdisk4: detached May 18 08:02:08 panix kernel: ad4: detached May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: provider ad4 disconnected. May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: rebuilding provider ad4 stopped. I read http://www.eztiger.org/2008/08/removing-and-re-adding-a-disk-in-gmirror/ hoping that the rebuld failure was temprary and so i tried to just run # gmirror forget gm0 # gmirror insert gm0 ad4 But the system responded (if i remember correctly) Unknown provider ad4. The system no longer could see ad4 being online. So i rebooted the system many times and had these results: -When having put offline ad4 (disconnected by hardware), the system booted ok. -When having both disks online the system responded consistently with: GEOM_MIRROR: Cannot add disk ad6 to gm0 (error=22). Which IMO is not very ok, since gm0 should add ad6 without problem, no matter if ad4 is online or not. -When having only ad4 online, then it simply cannot find gm0 at all. (kind of reasonable) So my only option is to have only ad6 online, with a current gmirror status: panix# gmirror status NameStatus Components mirror/gm0 COMPLETE ad6 Anyone has an idea of how should i proceed (besides buying a UPS unit!) Is it meaningfull to go for a new Disk to replace current ad4? Why is the presence of the supposed bad disk ad4, affecting gm0, when having already told gm0 to forget about ad4? Thanx for any suggestions. -- Achilleas Mantzios ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Weird problem with gmirror - cannot add the Good disk when previously failed SATA disk is online
Hello, in advance sorry for the cross posting, it is just that freebsd-geom didnt seem that populated. I run 7.1-PRERELEASE, its a home server. today morning after a power failure, the rebuild my root gm0 failed on disk ad4. The messages were: May 18 08:02:02 panix kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=268091264 May 18 08:02:08 panix kernel: drm0: Intel i865G GMCH on vgapci0 May 18 08:02:08 panix kernel: info: [drm] AGP at 0xf000 128MB May 18 08:02:08 panix kernel: info: [drm] Initialized i915 1.5.0 20060119 May 18 08:02:08 panix kernel: drm0: [ITHREAD] May 18 08:02:08 panix kernel: ad4: FAILURE - device detached May 18 08:02:08 panix kernel: subdisk4: detached May 18 08:02:08 panix kernel: ad4: detached May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: provider ad4 disconnected. May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: rebuilding provider ad4 stopped. I read http://www.eztiger.org/2008/08/removing-and-re-adding-a-disk-in-gmirror/ hoping that the rebuld failure was temprary and so i tried to just run # gmirror forget gm0 # gmirror insert gm0 ad4 But the system responded (if i remember correctly) Unknown provider ad4. The system no longer could see ad4 being online. So i rebooted the system many times and had these results: -When having put offline ad4 (disconnected by hardware), the system booted ok. -When having both disks online the system responded consistently with: GEOM_MIRROR: Cannot add disk ad6 to gm0 (error=22). Which IMO is not very ok, since gm0 should add ad6 without problem, no matter if ad4 is online or not. -When having only ad4 online, then it simply cannot find gm0 at all. (kind of reasonable) So my only option is to have only ad6 online, with a current gmirror status: panix# gmirror status NameStatus Components mirror/gm0 COMPLETE ad6 Anyone has an idea of how should i proceed (besides buying a UPS unit!) Is it meaningfull to go for a new Disk to replace current ad4? Why is the presence of the supposed bad disk ad4, affecting gm0, when having already told gm0 to forget about ad4? Thanx for any suggestions. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7.1 opencrypto -- kern.cryptodevallowsoft
Hi Brian, Patrick, Thanks for your responses. I agree that it looks like a bug! I'm a bit of a newb to FreeBSD. Where should I go to log this? I ran (as root ;) ) openssl engine (padlock) VIA PadLock (no-RNG, no-ACE) (dynamic) Dynamic engine loading support (cryptodev) BSD cryptodev engine [RSA, DSA, DH] It can be seen only PKE functions are being shown as accelerated. 'kldstat' only shows cryptodev.ko, but that's because I have 'crypto' compiled as part of the kernel. I have found another issue here also - although 'openssl engine -c' shows correct accelerated functionality of the hardware driver, running a speed test (e.g. openssl speed des-ede3 -engine cryptodev) does not result in any messages being sent to the driver apart from the initial check for available algorithms. It seems only accelerated PKE functions are run through the driver. It may be that the symmetric functions are being run through the software device driver (cryptosoft)... Could it be down to cryptodev engine being loaded twice in OpenSSL? Or would cryptodev favour the software driver if CRYPTO_F_HARDWARE is not set? Regards, Brendan 2009/5/15 Brian A. Seklecki sekle...@noc.cfi.pgh.pa.us: On Tue, 2009-05-12 at 19:14 +0100, Brendan Kennedy wrote: Hi All, I'm trying to test a hardware crypto driver, but want to run my tests through the software driver first (and possibly use the software driver to validate results). I have set the following in my GENERIC conf file: What does kldstat(8) / openssl(1) return? % sudo openssl engine (dynamic) Dynamic engine loading support $ openssl engine (cryptodev) BSD cryptodev engine (padlock) VIA PadLock (no-RNG, no-ACE) (dynamic) Dynamic engine loading support $ kldstat |egrep -i 'cry|ub' 3 3 0xc0e06000 25b78 crypto.ko 7 1 0xc64c9000 4000 cryptodev.ko 8 1 0xc6546000 a000 ubsec.ko Return? ~BAS device crypto device enc options IPSEC I have rebuilt the kernel, rebooted and set the kern.cryptodevallowsoft kernel variable to 1: FreeBSD_26# sysctl -a | grep crypto kern.cryptodevallowsoft: 1 However, when I try a test, I get the following: FreeBSD_26# /usr/src/tools/tools/crypto/cryptotest -va 3des cipher 3des keylen 24 CIOCGSESSION: Invalid argument FreeBSD_26# /usr/src/tools/tools/crypto/cryptotest -va des cipher des keylen 8 CIOCGSESSION: Invalid argument It seems the software crypto device is not available. Do I need to do any other steps to enable it? Is there another config option that makes sure it is build as part of Opencrypto framework? Do I need to build some other software driver instead? Best Regards, Brendan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Weird problem with gmirror - cannot add the Good disk when previously failed SATA disk is online
Achilleas Mantzios wrote: Hello, in advance sorry for the cross posting, it is just that freebsd-geom didnt seem that populated. I run 7.1-PRERELEASE, its a home server. today morning after a power failure, the rebuild my root gm0 failed on disk ad4. The messages were: May 18 08:02:02 panix kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=268091264 May 18 08:02:08 panix kernel: drm0: Intel i865G GMCH on vgapci0 May 18 08:02:08 panix kernel: info: [drm] AGP at 0xf000 128MB May 18 08:02:08 panix kernel: info: [drm] Initialized i915 1.5.0 20060119 May 18 08:02:08 panix kernel: drm0: [ITHREAD] May 18 08:02:08 panix kernel: ad4: FAILURE - device detached May 18 08:02:08 panix kernel: subdisk4: detached May 18 08:02:08 panix kernel: ad4: detached May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: provider ad4 disconnected. May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: rebuilding provider ad4 stopped. It looks to me you got a bad disk now. I read http://www.eztiger.org/2008/08/removing-and-re-adding-a-disk-in-gmirror/ hoping that the rebuld failure was temprary and so i tried to just run # gmirror forget gm0 # gmirror insert gm0 ad4 But the system responded (if i remember correctly) Unknown provider ad4. The system no longer could see ad4 being online. So i rebooted the system many times and had these results: -When having put offline ad4 (disconnected by hardware), the system booted ok. -When having both disks online the system responded consistently with: GEOM_MIRROR: Cannot add disk ad6 to gm0 (error=22). Which IMO is not very ok, since gm0 should add ad6 without problem, no matter if ad4 is online or not. -When having only ad4 online, then it simply cannot find gm0 at all. (kind of reasonable) So my only option is to have only ad6 online, with a current gmirror status: panix# gmirror status NameStatus Components mirror/gm0 COMPLETE ad6 Anyone has an idea of how should i proceed (besides buying a UPS unit!) Is it meaningfull to go for a new Disk to replace current ad4? I'd recommend attaching the bad disk on its own to a system and perform tests on it. Is the BIOS recognizing this properly? I would run hardware tests on it - either manufacturer ones, or stuff like sysutils/smartmontools. You could also try installing FreeBSD on it and see if it works. And probably use dd to clean all the contents, esp. the partition table and the last sector where geom information is stored. Why is the presence of the supposed bad disk ad4, affecting gm0, when having already told gm0 to forget about ad4? The bad disk may be sending confusing signals to the bus / IDE interface. I've had this once (although it was due to a bad cable). The entire mirror would disappear suddenly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
USB-to-serial adapter configuration
Hi all: How does one configure settings for USB-to-serial adapter in FreeBSD ? The one i have purchased is http://www.usbgear.com/computer_cable_details.cfm?sku=CHEAP-SERIALcats=199catid=482%2C1303%2C199%2C461%2C106%2C1009%2C601 On the Gentoo box, 'lsusb' displays it as: Bus 002 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port i have to access a headless AMD64X2 box running FreeBSD 7.2-STABLE, from a FreeBSD 8.0 laptop. So far, i've used 'cu' and '/dev/cu0a', but thats because both the systems had a serial port interface. The key info i'm looking for is: . what is the driver to load . what is the device entry to look for . is 'cu' good enough or i need to install some other tool thanks Saifi. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Weird problem with gmirror - cannot add the Good disk when previously failed SATA disk is online
Hey Manoli! glad to see you again, Στις Monday 18 May 2009 13:27:58 ο/η Manolis Kiagias έγραψε: Achilleas Mantzios wrote: Hello, in advance sorry for the cross posting, it is just that freebsd-geom didnt seem that populated. I run 7.1-PRERELEASE, its a home server. today morning after a power failure, the rebuild my root gm0 failed on disk ad4. The messages were: May 18 08:02:02 panix kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=268091264 May 18 08:02:08 panix kernel: drm0: Intel i865G GMCH on vgapci0 May 18 08:02:08 panix kernel: info: [drm] AGP at 0xf000 128MB May 18 08:02:08 panix kernel: info: [drm] Initialized i915 1.5.0 20060119 May 18 08:02:08 panix kernel: drm0: [ITHREAD] May 18 08:02:08 panix kernel: ad4: FAILURE - device detached May 18 08:02:08 panix kernel: subdisk4: detached May 18 08:02:08 panix kernel: ad4: detached May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: provider ad4 disconnected. May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: rebuilding provider ad4 stopped. It looks to me you got a bad disk now. I certainly hope so, since there is nothing else i can do I read http://www.eztiger.org/2008/08/removing-and-re-adding-a-disk-in-gmirror/ hoping that the rebuld failure was temprary and so i tried to just run # gmirror forget gm0 # gmirror insert gm0 ad4 But the system responded (if i remember correctly) Unknown provider ad4. The system no longer could see ad4 being online. So i rebooted the system many times and had these results: -When having put offline ad4 (disconnected by hardware), the system booted ok. -When having both disks online the system responded consistently with: GEOM_MIRROR: Cannot add disk ad6 to gm0 (error=22). Which IMO is not very ok, since gm0 should add ad6 without problem, no matter if ad4 is online or not. -When having only ad4 online, then it simply cannot find gm0 at all. (kind of reasonable) So my only option is to have only ad6 online, with a current gmirror status: panix# gmirror status NameStatus Components mirror/gm0 COMPLETE ad6 Anyone has an idea of how should i proceed (besides buying a UPS unit!) Is it meaningfull to go for a new Disk to replace current ad4? I'd recommend attaching the bad disk on its own to a system and perform tests on it. Is the BIOS recognizing this properly? I would run hardware Yes, the BIOS recognizes it ok i suppose. tests on it - either manufacturer ones, or stuff like sysutils/smartmontools. You could also try installing FreeBSD on it and see if it works. And probably use dd to clean all the contents, esp. the partition table and the last sector where geom information is stored. Thanx, lacking time i think i will try to use a brand new identical disk. Why is the presence of the supposed bad disk ad4, affecting gm0, when having already told gm0 to forget about ad4? The bad disk may be sending confusing signals to the bus / IDE interface. I've had this once (although it was due to a bad cable). The entire mirror would disappear suddenly. -- Achilleas Mantzios ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Scilab
Hello, is there any progress with port math/scilab on FreeBSD 7.2-RELEASE on AMD64 ? I checked that port (math/scilab) about 2 months ago and today and still is the following information: # make install clean === scilab-4.1.2_3 is marked as broken: segfaults during build on FreeBSD amd64/7.x. *** Error code 1 Stop in /usr/ports/math/scilab. I try also under /compat/linux with emulators/linux_base-f8, but with no succes, when I downloaded linux version from: www.scilab.org I got the following information: /compat/linux/bin/bash bash-3.2$ /opt/scilab-5.1.1/bin/scilab ELF binary type 0 not known. /compat/linux/opt/scilab-5.1.1/bin/scilab: line 133: /compat/linux/opt/scilab-5.1.1/bin/scilab-bin: cannot execute binary file Here is the output for linux sysctl compat.linux compat.linux.oss_version: 198144 compat.linux.osrelease: 2.6.16 compat.linux.osname: Linux Is maybe someone who use that version of scilab (5.1.1) under /compat/linux ? If yes, I would like ask you for help, how to install scilab correctly and use it. Thank you for your help and time. Zbigniew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Find boot only dowlod of the FreeBSD release 5.2.1
Dear Madam / Mr FreeBSD.org I am sorry in advance, i trayed to find boot only downlod of the FreeBSD release5.2.1 in http//www.freebsd.org and in others but i not find it yet. My CPU had two OS (F1 as windows F2 as FreeBSD release 5.2.1 ). I have trobel to create initial F1 as window and F2 as FreeBSD againt after i installed windows. In the moment, i still use GNOME facilities for moving from windows to FreeBSD ( or FreeBSD to windows) so it NOT outomaticly to changes. Could you like to help me or whould you like to send information to me) so i can downlod Boot only of the FreeBSD release 5.2.1 in outomaticly. I am sorry inconvenience, Thank you for your help in advance. Best Regard Mutmainnah email adress other : mut_mainn...@telkom.net Untuk melengkapi hidup Anda, kini telah hadirProtector Postpaid untuk Pelanggan Speedy hanya dengan Rp 8000/bulan, layanan keamanan online yang dapat digunakan langsung saat menjelajahi internet, melindungi Anda dari Virus kapan saja dan di mana saja. Info lebih lanjut hubung 147 atau http://protector.telkomspeedy.com Flexi - Gratis bicara sepanjang waktu se-Jawa Barat, Banten dan DKI Jakarta. Speedy - Gratis internetan unlimited dari pkl. 20.00 s/d 08.00 se-Jabodetabek, Banten, Karawang dan Purwakarta. Pengumuman Pemenang Lomba Speedy Blogging Competition 2008 bisa dilihat di http://lomba.blog.telkomspeedy.com/ Layanan Plasa Groups telah aktif kembali. Daftarkan milis anda sekarang juga di http://groups.plasa.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: USB-to-serial adapter configuration
On Mon, May 18, 2009 at 04:07:09PM +, Saifi Khan typed: Hi all: How does one configure settings for USB-to-serial adapter in FreeBSD ? The one i have purchased is http://www.usbgear.com/computer_cable_details.cfm?sku=CHEAP-SERIALcats=199catid=482%2C1303%2C199%2C461%2C106%2C1009%2C601 On the Gentoo box, 'lsusb' displays it as: Bus 002 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port Your adapter should be recognised by the uplcom driver. put uplcom_load=YES in loader.conf or load manually. Check dmesg for the device name. Also, I think cu is good enough ;) Ruben i have to access a headless AMD64X2 box running FreeBSD 7.2-STABLE, from a FreeBSD 8.0 laptop. So far, i've used 'cu' and '/dev/cu0a', but thats because both the systems had a serial port interface. The key info i'm looking for is: . what is the driver to load . what is the device entry to look for . is 'cu' good enough or i need to install some other tool thanks Saifi. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Find boot only dowlod of the FreeBSD release 5.2.1
On Mon, May 18, 2009 at 3:48 AM, mut_mainn...@telkom.net wrote: Dear Madam / Mr FreeBSD.org I am sorry in advance, i trayed to find boot only downlod of the FreeBSD release5.2.1 in http//www.freebsd.org and in others but i not find it yet. My CPU had two OS (F1 as windows F2 as FreeBSD release 5.2.1 ). I have trobel to create initial F1 as window and F2 as FreeBSD againt after i installed windows. In the moment, i still use GNOME facilities for moving from windows to FreeBSD ( or FreeBSD to windows) so it NOT outomaticly to changes. Could you like to help me or whould you like to send information to me) so i can downlod Boot only of the FreeBSD release 5.2.1 in outomaticly. I am sorry inconvenience, Thank you for your help in advance. Best Regard Mutmainnah Please , see ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/ Thank you very much . Mehmet Erol Sanliturk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: proftpd TLS
alexus wrote: i just enable TLS for my proftpd and in tls.log I'm getting following messages mod_tls/2.2.1[45739]: error locking passphrase into memory: Operation not permitted mod_tls/2.2.1[45739]: TLS/TLS-C requested, starting TLS handshake From the error message, I can suspect that proftpd tries to use mlock(2) to lock some page in physical memory. That's typical behavior with programs dealing with sensitive data, as passwords. The mlock system call can only by used by the superuser. Is proftpd running with superuser privileges? Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
no pkg for apache13 in 7.2
In 7.1 and previous pkg_add -r apache fetched apache13. Now in release 7.2 pkg_add -r apache installs apache22. Looks like someone made apache22 the default pkg and did not point this out in the release notes or bother to create a named package for apace13 in the Latest directory. Is apache13 at end-of-life?? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Weird problem with gmirror - cannot add the Good disk when previously failed SATA disk is online
panix panix wrote: Hello, in advance sorry for the cross posting, it is just that freebsd-geom didnt seem that populated. I run 7.1-PRERELEASE, its a home server. today morning after a power failure, the rebuild my root gm0 failed on disk ad4. The messages were: May 18 08:02:02 panix kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=268091264 May 18 08:02:08 panix kernel: drm0: Intel i865G GMCH on vgapci0 May 18 08:02:08 panix kernel: info: [drm] AGP at 0xf000 128MB May 18 08:02:08 panix kernel: info: [drm] Initialized i915 1.5.0 20060119 May 18 08:02:08 panix kernel: drm0: [ITHREAD] May 18 08:02:08 panix kernel: ad4: FAILURE - device detached May 18 08:02:08 panix kernel: subdisk4: detached May 18 08:02:08 panix kernel: ad4: detached May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: provider ad4 disconnected. May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: rebuilding provider ad4 stopped. I read http://www.eztiger.org/2008/08/removing-and-re-adding-a-disk-in-gmirror/ hoping that the rebuld failure was temprary and so i tried to just run # gmirror forget gm0 # gmirror insert gm0 ad4 But the system responded (if i remember correctly) Unknown provider ad4. The system no longer could see ad4 being online. Yes, as you were informed by the device detached message - after that point the ad4 was removed from /dev. So i rebooted the system many times and had these results: -When having put offline ad4 (disconnected by hardware), the system booted ok. -When having both disks online the system responded consistently with: GEOM_MIRROR: Cannot add disk ad6 to gm0 (error=22). Which means that gm0 was somehow created before - maybe from the stale ad4 copy? If so, you are attempting to add a newer generation of data (from ad6) to a gm0 instantiated from an older generation (from ad4). This could explain the error code (22=invalid argument). OTOH if you only have ad6 in the system this means you are trying to insert ad6 into a mirror which is already instantiated by ad6 - which is trivially wrong. Which IMO is not very ok, since gm0 should add ad6 without problem, no matter if ad4 is online or not. You cannot really expect the system to behave correctly with broken hardware. -When having only ad4 online, then it simply cannot find gm0 at all. (kind of reasonable) Relatively. Is the ad4 recognized by the system? You didn't really clear metadata on ad4 so it should be recognized, but as a stale version (hopefully). If it isn't recognized at all, then it's broken. So my only option is to have only ad6 online, with a current gmirror status: panix# gmirror status NameStatus Components mirror/gm0 COMPLETE ad6 This is ok. Anyone has an idea of how should i proceed (besides buying a UPS unit!) Is it meaningfull to go for a new Disk to replace current ad4? Yes. Then proceed with gmirror insert. Why is the presence of the supposed bad disk ad4, affecting gm0, when having already told gm0 to forget about ad4? It's relatively common (it was more common in the days of PATA cables) to have a bad drive interfering with the rest of the system. signature.asc Description: OpenPGP digital signature
Re: USB-to-serial adapter configuration
On Mon, 18 May 2009, Ruben de Groot wrote: On Mon, May 18, 2009 at 04:07:09PM +, Saifi Khan typed: Hi all: How does one configure settings for USB-to-serial adapter in FreeBSD ? The one i have purchased is http://www.usbgear.com/computer_cable_details.cfm?sku=CHEAP-SERIALcats=199catid=482%2C1303%2C199%2C461%2C106%2C1009%2C601 On the Gentoo box, 'lsusb' displays it as: Bus 002 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port Your adapter should be recognised by the uplcom driver. put uplcom_load=YES in loader.conf or load manually. Check dmesg for the device name. Also, I think cu is good enough ;) Ruben This is the error shown in 'dmesg' log ugen0.2: Prolific Technology at usbus0 uplcom0: Prolific Technology PL2303 Serial (ATEN/IOGEAR UC232A), class 0/0, rev 1.10/3.00, addr 2 on usbus0 uplcom0: init failed! device_attach: uplcom0 attach returned 6 uplcom0: Prolific Technology PL2303 Serial (ATEN/IOGEAR UC232A), class 0/0, rev 1.10/3.00, addr 2 on usbus0 uplcom0: init failed! device_attach: uplcom0 attach returned 6 Scenarios: 1. kldstat -v | grep uplcom shows 303 uhub/uplcom 2. uplcom_load=YES in /boot/loader.conf with a reboot In both the scenarios, 'dmesg' shows the same error. On re-attaching the device, the following error is shown. usb2_alloc_device:1574: set address 2 failed (USB_ERR_STALLED, ignored) usb2_alloc_device:1612: getting device descriptor at addr 2 failed, USB_ERR_STALLED! ugen0.2: at usbus0 (disconnected) uhub_reattach_port:417: could not allocate new device! The output from 'usbconfig dump_info' shows ugen3.1: UHCI root HUB Intel at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen4.1: EHCI root HUB Intel at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen0.1: UHCI root HUB Intel at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen1.1: UHCI root HUB Intel at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen2.1: UHCI root HUB Intel at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON The 'dmesg' extract of USB is as follows: usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 uhub0: Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1 on usbus3 ugen4.1: Intel at usbus4 uhub1: Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1 on usbus4 ugen0.1: Intel at usbus0 uhub2: Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1 on usbus0 ugen1.1: Intel at usbus1 uhub3: Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1 on usbus1 ugen2.1: Intel at usbus2 uhub4: Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1 on usbus2 Root mount waiting for: usbus4 usbus3 usbus2 usbus1 usbus0 uhub0: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered Root mount waiting for: usbus4 Root mount waiting for: usbus4 Root mount waiting for: usbus4 uhub1: 8 ports with 8 removable, self powered Here is the system information. FreeBSD bsd 8.0-CURRENT-200905 FreeBSD 8.0-CURRENT-200905 #0: Mon May 4 23:25:09 UTC 2009 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Any suggestions on how i can get uplcom drive to work ? thanks Saifi. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Upgrade KDE from 4.2.2 to 4.2.3 fails
Hello people, I am try to upgrade kde as said, but it fails with the following: /usr/local/bin/cmake -E cmake_progress_report /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/build/CMakeFiles [ 13%] Generating chem.cmi cd /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/build/kalzium/src /usr/local/bin/ocamlc -o /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/build/kalzium/src/chem.cmi -I +facile -c /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/kalzium/src/solver/chem.mli /usr/local/bin/cmake -E cmake_progress_report /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/build/CMakeFiles [ 13%] Generating chem.cmx cd /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/build/kalzium/src /usr/local/bin/ocamlopt -o /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/build/kalzium/src/chem.cmx -I +facile -c /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/kalzium/src/solver/ chem.ml File /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/kalzium/src/solver/chem.ml, line 54, characters 43-54: Warning Y: unused variable nb_elements. File /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/kalzium/src/solver/chem.ml, line 1, characters 0-1: Error: /usr/local/lib/ocaml/facile/facile.cmi is not a compiled interface *** Error code 2 Stop in /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/build. *** Error code 1 Stop in /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/build. *** Error code 1 Stop in /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/build. *** Error code 1 Stop in /usr/ports/misc/kdeedu4. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
MIPS XBurst performance?
I have seen some really low-weight, cheap laptops that use the: MIPS XBurst 400 MHz CPU. Does it perform well ..? An Intel Celeron 900 MHz Will do mpeg4 (divx/h264), is this CPU likely to do that aswell ..? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Backing up FreeBSD and other Unix systems securely
On Sun, May 17, 2009 at 09:12:57AM -0700, Kelly Jones wrote: I tried using Mozy for backups because they offer unlimited space, but 1) they don't support FreeBSD, 2) they encrypt file contents, but NOT file names, and 3) they don't do true versioned backups. Easy workaround for 1): rsync to a Mac/Windows and backup from there, but 2) and 3) are more difficult. Is there any possibility of using your own media locally - such as tape or a large USB attached disk?If security is such a primary concern, I can't see sending the data to that type of offsite thing. Get a couple of large USB SATAs and use dump(8) to back the stuff up on them.Write them encrypted if you need. jerry My plan: % Use dd if=/dev/random of=mykey to create a random blowfish key % Blowfish encrypt mykey with a passphrase only I know. Backup the encrypted blowfish key to a remote host. % Keep track of when I last ran the backup program (touch /some/path/timestamp at start of run) and only backup files that've been modified more recently (find / -newer /some/path/timestamp). % To backup foo.txt, first bzip2 it and encrypt w/ my blowfish key. % Then, take the sha1 hash of the bzip'd/encrypted file, and backup foo.txt to remotehost:/some/path/{sha1 hash}. % To avoid too many files in one dir, I may backup b0d0a7da15d5eb94ac76ac4fd81fe6d4fa8e4593 to remotehost:/some/path/b0/d0/a7/b0d0a7da15d5eb94ac76ac4fd81fe6d4fa8e4593 for example. % In an SQLite3 db, record the filename I'm backing up, its timestamp, and its bzip'd/encrypted hash. Store an encrypted copy of the db on the remote server. I like this plan because it does versioned backups, and doesn't backup identical files twice. I dislike it because I lose Mozy's unlimited disk space. Questions: % Does this plan seem secure and reasonable? % Will backing up the 0-byte file this way make it easy to guess my blowfish key? % Is there software that already does this? % Can this plan be improved? % Does anyone offer unlimited space for Unix backups? (safesnaps.com) % Any general thoughts/comments on this plan? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Backing up FreeBSD and other Unix systems securely
Is there any possibility of using your own media locally - such as tape or a large USB attached disk?If security is such a primary concern, I can't see sending the data to that type of offsite thing. Get a couple of large USB SATAs and use dump(8) to back the stuff up on them.Write them encrypted if you need. I'd have to agree with this... After looking at a lot of options, I ended up building a simple freebsd server and connected it to my main server on a separate ethernet port via a twisted ethernet cable. Thus, the server and backup server had a 'private', high speed connection and I can pump tons of data through that connection without paying my colo provider for that bandwidth. A whole server, rather than a USB drive might be overkill, but its a little more flexible, and I can use the backup server for a DNS server, and a few other things, as well. -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: MIPS XBurst performance?
Peter B wrote: I have seen some really low-weight, cheap laptops that use the: MIPS XBurst 400 MHz CPU. Does it perform well ..? An Intel Celeron 900 MHz Will do mpeg4 (divx/h264), is this CPU likely to do that aswell ..? Probably not without specialized decoding hardware. OTOH it depends on the resolution of the video stream. I don't think you can count on running FreeBSD on such hardware out of the box - they are usually specialized solution and cannot be considered generic consumer products as far as operating systems are concerned. signature.asc Description: OpenPGP digital signature
Re: Re: Unable to read from CCID USB reader
Hi, no I haven't tried it on CURRENT should I do that ? is there something new in the USB stuff there ? thank you regards, mgp On Sunday 17 May 2009, Mario Pavlov wrote: Hi, I just got a CCID USB reader with my digital signature...unfortunately I can't make it work I installed pcsc-lite and libccid from ports... when I plug-in the reader I can see this: ugen0: on uhub4 then I do this: Is the problem the same on -current? --HPS ___ freebsd-curr...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Unable to read from CCID USB reader
On Sunday 17 May 2009, Mario Pavlov wrote: Hi, I just got a CCID USB reader with my digital signature...unfortunately I can't make it work I installed pcsc-lite and libccid from ports... when I plug-in the reader I can see this: ugen0: vendor 0x072f CCID USB Reader, class 0/0, rev 1.10/1.00, addr 2 on uhub4 then I do this: Is the problem the same on -current? --HPS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Unable to read from CCID USB reader
On Monday 18 May 2009, Mario Pavlov wrote: Hi, no I haven't tried it on CURRENT should I do that ? is there something new in the USB stuff there ? There is a new USB stack in 8-current and a new libusb which is installed as a part of the base system. --HPS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
CURRENT evince, firefox, ... dont see CUPS
Hello, I've installed a relatively new CURRENT on a laptop and applications from /usr/ports; I can't make evince, firefox3, Evolution, ... using the installed CUPS system (KDE works fine with CUPS). Sure I'm missing something because in my older RELENG_7 system the evince has linked in a lot of Gnome support: ldd /usr/local/bin/evince | fgrep gnome libgnomeui-2.so.0 = /usr/local/lib/libgnomeui-2.so.0 (0x28105000) libgnome-keyring.so.0 = /usr/local/lib/libgnome-keyring.so.0 (0x2818f000) libgnome-2.so.0 = /usr/local/lib/libgnome-2.so.0 (0x2821b000) libgnomevfs-2.so.0 = /usr/local/lib/libgnomevfs-2.so.0 (0x2822f000) libgnomeprintui-2-2.so.0 = /usr/local/lib/libgnomeprintui-2-2.so.0 (0x287df000) libgnomeprint-2-2.so.0 = /usr/local/lib/libgnomeprint-2-2.so.0 (0x2881e000) libgnomecanvas-2.so.0 = /usr/local/lib/libgnomecanvas-2.so.0 (0x28886000) while on the CURRENT is has only: ldd /usr/local/bin/evince | fgrep gnome libgnome-keyring.so.0 = /usr/local/lib/libgnome-keyring.so.0 (0x284d1000) but I don't see how to activate this; the above mentioned libgnomeprint* libs are also installed in the CURRENT? What I'm missing? Thx matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e g...@unixarea.de - w http://www.unixarea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: USB-to-serial adapter configuration
On Monday 18 May 2009, Saifi Khan wrote: On Mon, 18 May 2009, Ruben de Groot wrote: On Mon, May 18, 2009 at 04:07:09PM +, Saifi Khan typed: Hi all: How does one configure settings for USB-to-serial adapter in FreeBSD ? The one i have purchased is http://www.usbgear.com/computer_cable_details.cfm?sku=CHEAP-SERIALcats =199catid=482%2C1303%2C199%2C461%2C106%2C1009%2C601 On the Gentoo box, 'lsusb' displays it as: Bus 002 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port Your adapter should be recognised by the uplcom driver. put uplcom_load=YES in loader.conf or load manually. Check dmesg for the device name. Also, I think cu is good enough ;) Ruben This is the error shown in 'dmesg' log ugen0.2: Prolific Technology at usbus0 uplcom0: Prolific Technology PL2303 Serial (ATEN/IOGEAR UC232A), class 0/0, rev 1.10/3.00, addr 2 on usbus0 uplcom0: init failed! device_attach: uplcom0 attach returned 6 uplcom0: Prolific Technology PL2303 Serial (ATEN/IOGEAR UC232A), class 0/0, rev 1.10/3.00, addr 2 on usbus0 uplcom0: init failed! device_attach: uplcom0 attach returned 6 Scenarios: 1. kldstat -v | grep uplcom shows 303 uhub/uplcom 2. uplcom_load=YES in /boot/loader.conf with a reboot In both the scenarios, 'dmesg' shows the same error. On re-attaching the device, the following error is shown. Hi, usb2_alloc_device:1574: set address 2 failed (USB_ERR_STALLED, ignored) usb2_alloc_device:1612: getting device descriptor at addr 2 failed, USB_ERR_STALLED! ugen0.2: at usbus0 (disconnected) uhub_reattach_port:417: could not allocate new device! Looks like the firmware crashed if it does not re-enumrate. Any suggestions on how i can get uplcom drive to work ? Try looking up the USB-ID line for your device and modify the uplcom flags (TYPE_XXX) for your device so that it does not require init for example. /* TrendNet TU-S9 */ {USB_UPL(USB_VENDOR_PROLIFIC, USB_PRODUCT_PROLIFIC_PL2303, 0x0400, 0x, TYPE_PL2303X)}, /* ST Lab USB-SERIAL-4 */ {USB_UPL(USB_VENDOR_PROLIFIC, USB_PRODUCT_PROLIFIC_PL2303, 0x0300, 0x03FF, TYPE_PL2303X)}, /* IOGEAR/ATEN UC-232A (also ST Lab USB-SERIAL-1) */ {USB_UPL(USB_VENDOR_PROLIFIC, USB_PRODUCT_PROLIFIC_PL2303, 0, 0x02FF, TYPE_PL2303)}, Use: usbconfig dump_device_desc To get the version number for your chip (See 0, 0x02FF above) Make sure that the TYPE flag is correct. Also see: /sys/dev/usb/serial/uplcom.c Then: make -C /sys/modules/usb/uplcom clean all install kldunload uplcom kldload uplcom --HPS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: no pkg for apache13 in 7.2
On Mon, 18 May 2009 20:22:34 +0800 Fbsd1 fb...@a1poweruser.com wrote: In 7.1 and previous pkg_add -r apache fetched apache13. Now in release 7.2 pkg_add -r apache installs apache22. Looks like someone made apache22 the default pkg and did not point this out in the release notes or bother to create a named package for apace13 in the Latest directory. Is apache13 at end-of-life?? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org using apache13 here on 7.2.. just build it from ports ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: kdb and mouse are disabled on HP Pavilion dv5210us by X.org 7.4.1 (7.2-R)
On Sun, 17 May 2009, Jin Guojun[VFF] wrote: When installed FreeBSD 7.2 release with xorg-7.4.1, the X server does not work on HP Pavilion dv5210us laptop due to the key board and mouse are disabled somehow. Some Hot keys (Ctrl-Altr-F#) are working but mouse is not movable and cannot type in a Xterm. (**) ModulePath set to /usr/local/lib/xorg/modules (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. (WW) Disabling Mouse0 (WW) Disabling Keyboard0 Does anyone hasve an idea how to fix this problem? Both Xorg.0.log and xorg.conf are attached. Thanks, -Jin Hi Jin: You need to add an additional line to your 'ServerLayout' or 'ServerFlags'. Option AllowEmptyInput false Please see the sample xorg.conf file that i'm running on my Compaq laptop. Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceKeyboard0 CoreKeyboard InputDeviceMouse0 CorePointer # InputDeviceMouse1 SendCoreEvents EndSection Section ServerFlags Option DontZap Off Option AllowEmptyInput false Option AllowEmptyInput false # Option AllowMouseOpenFailon EndSection Section Files FontPathunix/:7101 FontPath /usr/local/lib/X11/fonts/100dpi/ FontPath /usr/local/lib/X11/fonts/75dpi/ FontPath /usr/local/lib/X11/fonts/OTF FontPath /usr/local/lib/X11/fonts/TTF/ FontPath /usr/local/lib/X11/fonts/Type1/ FontPath /usr/local/lib/X11/fonts/URW/ FontPath /usr/local/lib/X11/fonts/bistream-vera/ FontPath /usr/local/lib/X11/fonts/cyrillic/ FontPath /usr/local/lib/X11/fonts/dejavu/ FontPath /usr/local/lib/X11/fonts/freefont/ FontPath /usr/local/lib/X11/fonts/local/ FontPath /usr/local/lib/X11/fonts/misc/ FontPath /usr/local/lib/X11/fonts/terminus-font/ FontPath /usr/local/lib/X11/fonts/urwfonts-ttf/ FontPath /usr/local/lib/X11/fonts/util/ FontPath /usr/local/lib/X11/fonts/webfonts/ FontPath /usr/local/share/ghostscript/fonts/ FontPath /usr/local/lib/X11/fonts/sharefont/ FontPath /usr/local/lib/X11/fonts/texcm-ttf/ FontPath /usr/local/lib/X11/fonts/local/sgi/ FontPath /usr/local/lib/X11/fonts/ppantsfonts/ ModulePath /usr/local/lib/xorg/modules EndSection Section Module Load extmod Load record Load dbe Load glx Load dri Load dri2 Loadfreetype EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option Protocol Standard Option XkbLayout us Option XkbModel pc104 EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option ZAxisMapping 4 5 6 7 EndSection Section InputDevice Identifier Mouse1 Driver synaptics Option Device /dev/sysmouse Option Emulate3Buttons on Option SHMConfig on Option ZAxisMapping 4 5 EndSection Section Monitor Identifier Monitor0 VendorName Monitor Vendor ModelNameMonitor Model HorizSync30-62 VertRefresh 50-60 Option DPMS EndSection Section Device Identifier Card0 Driver intel VendorName Intel Corporation BoardName Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller BusID PCI:0:2:0 Option FramebufferCompressionfalse Option AccelMethod XAA EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 DefaultDepth 24 SubSection Display Viewport 0 0 Depth 24 Modes 1280x800 1024x768 800x600 EndSubSection EndSection #Section DRI # Group video # Mode0660 #EndSection Additionally, it is required that you place the following configurations in the /etc/rc.conf file hald_enable=YES dbus_enable=YES thanks Saifi. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Upgrade KDE from 4.2.2 to 4.2.3 fails
Odhiambo wrote: File /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/kalzium/src/solver/chem.ml, line 54, characters 43-54: Warning Y: unused variable nb_elements. File /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/kalzium/src/solver/chem.ml, line 1, characters 0-1: Error: /usr/local/lib/ocaml/facile/facile.cmi is not a compiled interface portupgrade -f math/facile http://mail.kde.org/pipermail/kde-freebsd/2009-April/005190.html I do not understand why that never happened. Cheers, Jan Henrik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
calculate RAM for sysctl kern.maxfiles
I need use more 128 000 kern.maxfilesperproc for the process how can i calculate hardware for this purpose (RAM i think)? will use 7.1, 7.2 AMD64 Thanks for help Regards Valentin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Why would a kill -2 not work?
Under what circumstances might a kill -2 nnn not work. I have a Python app with a signal handler configured to catch INT signals. It seems to work fine, but we've recently noticed that after the app has run for a while the kill -2 no longer works. This seems pretty suspicious, perhaps indicating our app is misbehaving in some way. What might cause the signal handler to stop working? Is there a better list for this question? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 4.11 panic every 23 hours 55 minutes or so
On Sun, May 17, 2009 at 10:38 AM, Mark ad...@asarian-host.net wrote: -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Mark Tinguely Sent: zondag 17 mei 2009 17:30 To: d...@dlee.org Cc: freebsd-questions@freebsd.org Subject: Re: 4.11 panic every 23 hours 55 minutes or so Why does the panic happen 24 hours after the last reboot; who knows and one may never know. Are you finally hitting, the bad RAM? Are you finally getting the computer over-warm to act up? Or running a heavy process around the time of the panic, which may (now) draw too much power for his seemingly damaged (PSU|DDR[12]|MOTHERBARD|WHATEVER)? - Mark MySQL displayed the most processor time in your top output-- have you checked it for daily maint jobs, like index rebuilds? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Disappointed with version 6.0
Hi, I was reading this thread as the problem I'm having seems quite similar, and with version 7.2, although I had the same behavior with 6.3 as well. The only variation on the dialog below is I do not have any CDROM or other device attached. My configuration is: primary IDE: 10GB Seagate seconardy IDE: 80GB Maxtor My dmesg is giving me ad0: 9541MB Seagate ST310212A 3.39 at ata0-master UDMA66 ad2: DMA limited to UDMA33, controller found non-ATA66 cable ad2: 76345MB MAXTOR 6L080L4 A93.0500 at ata1-master UDMA33ad0: 9541MB Seagate ST310212A 3.39 at ata0-master UDMA66 ad2: DMA limited to UDMA33, controller found non-ATA66 cable ad2: 76345MB MAXTOR 6L080L4 A93.0500 at ata1-master UDMA33 Any ideas? On Friday 10 March 2006 22:57, Peter wrote: I'm setting up a new server on 6.0 I've been planning for a long time and I am very disappointed with two critical issues. My motherboard is the ASUS K8V-X SE that I chose because it was listed as compatible at the FreeBSD/amd64 Project: http://www.freebsd.org/platforms/amd64/motherboards.html I wonder if going back to 5.4 might help? Onto the problems... 1. I have 4 IDE drives: primary controller: Maxtor 40 GB hd (master) and LG cdrom (slave) secondary controller: Seagate Barracuda 200 GB hd (master) and Seagate Barracuda 300 GB (slave) Problem: The 300 GB drive is unusable. I set it up ok with sysinstall during the installation but the system will not boot properly if it has an entry in /etc/fstab. I get many errors like: ad3: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63 I also get input/output error if I try to examine its label with disklabel. dmesg output is at the end of this post when I booted without fstab line. The strange thing is that the two drives on the secondary controller are so similar. Same manufacturer, same product line, the speeds are the same. Everything is the same except the size. I ran dos-level diagnostics on it and no problems were found. 2. I can't use my USB ports! I get a line like this for each of my ports: uhci0: port 0xb800-0xb81f irq 21 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] Copyright (c) 1992-2005 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.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 r...@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC ACPI APIC Table: Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3000+ (2002.58-MHz 686-class CPU) Origin = AuthenticAMD Id = 0xf4a Stepping = 10 Features=0x78bfbffGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2 AMD Features=0xe0500800 real memory = 536543232 (511 MB) avail memory = 515702784 (491 MB) snip ad0: DMA limited to UDMA33, device found non-ATA66 cable ad0: 39205MB at ata0-master UDMA33 acd0: CDROM at ata0-slave PIO4 ad2: 190782MB at ata1-master UDMA100 ad3: 286168MB at ata1-slave UDMA100 Trying to mount root from ufs:/dev/ad0s1a __ You've got a problem alright, and you don't even see it. == The ata driver sets the maximum transfer mode supported by the hardware as default. However the ata driver sometimes warns: ``DMA limited to UDMA33, non-ATA66 cable or device''. This means that the ata driver has detected that the required 80 conductor cable is not present or could not be detected properly, or that one of the devices on the channel only accepts up to UDMA2/ATA33. == You've got your 40GB Maxtor (you've installed FreeBSD on it), an ATA100 device, connected with your CDROM, an ATA33 device. The result is: your boot drive is running at UDMA33 instead of UDMA100. This is not going to work real well, as you can see. Do you really need that 40GB Maxtor? If you do, you're going to have to try adding an ATA controller card into one of your PCI slots and use that to connect your hard drives to. Try removing the 40GB Maxtor and reinstalling FreeBSD on the other two drives. I think that will clear up some problems for you. Don ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Weird problem with gmirror - cannot add the Good disk when previously failed SATA disk is online
Hello, I run 7.1-PRERELEASE, its a home server. today morning after a power failure, the rebuild my root gm0 failed on disk ad4. The messages were: May 18 08:02:02 panix kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=268091264 May 18 08:02:08 panix kernel: drm0: Intel i865G GMCH on vgapci0 May 18 08:02:08 panix kernel: info: [drm] AGP at 0xf000 128MB May 18 08:02:08 panix kernel: info: [drm] Initialized i915 1.5.0 20060119 May 18 08:02:08 panix kernel: drm0: [ITHREAD] May 18 08:02:08 panix kernel: ad4: FAILURE - device detached May 18 08:02:08 panix kernel: subdisk4: detached May 18 08:02:08 panix kernel: ad4: detached May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: provider ad4 disconnected. May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: rebuilding provider ad4 stopped. I read http://www.eztiger.org/2008/08/removing-and-re-adding-a-disk-in-gmirror/ hoping that the rebuld failure was temprary and so i tried to just run # gmirror forget gm0 # gmirror insert gm0 ad4 But the system responded (if i remember correctly) Unknown provider ad4. The system no longer could see ad4 being online. So i rebooted the system many times and had these results: -When having put offline ad4 (disconnected by hardware), the system booted ok. -When having both disks online the system responded consistently with: GEOM_MIRROR: Cannot add disk ad6 to gm0 (error=22). Which IMO is not very ok, since gm0 should add ad6 without problem, no matter if ad4 is online or not. -When having only ad4 online, then it simply cannot find gm0 at all. (kind of reasonable) So my only option is to have only ad6 online, with a current gmirror status: panix# gmirror status NameStatus Components mirror/gm0 COMPLETE ad6 Anyone has an idea of how should i proceed (besides buying a UPS unit!) Is it meaningfull to go for a new Disk to replace current ad4? Why is the presence of the supposed bad disk ad4, affecting gm0, when having already told gm0 to forget about ad4? Thanx for any suggestions. -- Achilleas Mantzios ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
umass0: BBB reset failed, TIMEOUT
Hi, I just bought a Lacie 500GB USB2 hard drive, formatted for NTFS and was trying to mount it on my FreeBSD 7.2 system using ntfs-3g. It is plugged into a PCI, 5-port USB2 card (when I plugged in into my onboard USB1 port, everything worked fine). When I try to mount using ntfs-3g /dev/da0s1 /mnt/bigdrive it just sort of hangs there, can't even cntrl-C. My dmesg shows umass0: LaCie LaCie Hard Drive USB, class 0/0, rev 2.00/0.01, addr 2 on uhub2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Hitachi HDP725050GLA360 Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 476940MB (976773168 512 byte sectors: 255H 63S/T 60801C) GEOM_LABEL: Label for provider da0s1 is ntfs/LaCie. GEOM_LABEL: Label ntfs/LaCie removed. umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT I've tried ntfs-3g.probe -r /dev/da0s1 /mnt/bigdrive and it just returned, so I hope it would mount read-only at least. But once it's in this state of trying the -rw, I can't do much with it at all. I've tried upgrading ntfs-3g and the same problem occurs, current version I'm using is ntfs-3g 2009.2.1 external FUSE 27 - Third Generation NTFS Driver Any ideas? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Disappointed with version 6.0
Hi, I was reading this thread as the problem I'm having seems quite similar, and with version 7.2, although I had the same behavior with 6.3 as well. The only variation on the dialog below is I do not have any CDROM or other device attached. My configuration is: primary IDE: 10GB Seagate seconardy IDE: 80GB Maxtor My dmesg is giving me ad0: 9541MB Seagate ST310212A 3.39 at ata0-master UDMA66 ad2: DMA limited to UDMA33, controller found non-ATA66 cable ad2: 76345MB MAXTOR 6L080L4 A93.0500 at ata1-master UDMA33ad0: 9541MB Seagate ST310212A 3.39 at ata0-master UDMA66 ad2: DMA limited to UDMA33, controller found non-ATA66 cable ad2: 76345MB MAXTOR 6L080L4 A93.0500 at ata1-master UDMA33 Any ideas? On Friday 10 March 2006 22:57, Peter wrote: I'm setting up a new server on 6.0 I've been planning for a long time and I am very disappointed with two critical issues. My motherboard is the ASUS K8V-X SE that I chose because it was listed as compatible at the FreeBSD/amd64 Project: http://www.freebsd.org/platforms/amd64/motherboards.html I wonder if going back to 5.4 might help? Onto the problems... 1. I have 4 IDE drives: primary controller: Maxtor 40 GB hd (master) and LG cdrom (slave) secondary controller: Seagate Barracuda 200 GB hd (master) and Seagate Barracuda 300 GB (slave) Problem: The 300 GB drive is unusable. I set it up ok with sysinstall during the installation but the system will not boot properly if it has an entry in /etc/fstab. I get many errors like: ad3: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63 I also get input/output error if I try to examine its label with disklabel. dmesg output is at the end of this post when I booted without fstab line. The strange thing is that the two drives on the secondary controller are so similar. Same manufacturer, same product line, the speeds are the same. Everything is the same except the size. I ran dos-level diagnostics on it and no problems were found. 2. I can't use my USB ports! I get a line like this for each of my ports: uhci0: port 0xb800-0xb81f irq 21 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] Copyright (c) 1992-2005 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.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 r...@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC ACPI APIC Table: Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3000+ (2002.58-MHz 686-class CPU) Origin = AuthenticAMD Id = 0xf4a Stepping = 10 Features=0x78bfbffGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2 AMD Features=0xe0500800 real memory = 536543232 (511 MB) avail memory = 515702784 (491 MB) snip ad0: DMA limited to UDMA33, device found non-ATA66 cable ad0: 39205MB at ata0-master UDMA33 acd0: CDROM at ata0-slave PIO4 ad2: 190782MB at ata1-master UDMA100 ad3: 286168MB at ata1-slave UDMA100 Trying to mount root from ufs:/dev/ad0s1a __ You've got a problem alright, and you don't even see it. == The ata driver sets the maximum transfer mode supported by the hardware as default. However the ata driver sometimes warns: ``DMA limited to UDMA33, non-ATA66 cable or device''. This means that the ata driver has detected that the required 80 conductor cable is not present or could not be detected properly, or that one of the devices on the channel only accepts up to UDMA2/ATA33. == You've got your 40GB Maxtor (you've installed FreeBSD on it), an ATA100 device, connected with your CDROM, an ATA33 device. The result is: your boot drive is running at UDMA33 instead of UDMA100. This is not going to work real well, as you can see. Do you really need that 40GB Maxtor? If you do, you're going to have to try adding an ATA controller card into one of your PCI slots and use that to connect your hard drives to. Try removing the 40GB Maxtor and reinstalling FreeBSD on the other two drives. I think that will clear up some problems for you. Don ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Disappointed with version 6.0
-- Mike Jeays http://www.jeays.ca http://www.rotarycpmm.ca On May 18, 2009 12:56:07 pm David Roberts wrote: Hi, I was reading this thread as the problem I'm having seems quite similar, and with version 7.2, although I had the same behavior with 6.3 as well. The only variation on the dialog below is I do not have any CDROM or other device attached. My configuration is: primary IDE: 10GB Seagate seconardy IDE: 80GB Maxtor My dmesg is giving me ad0: 9541MB Seagate ST310212A 3.39 at ata0-master UDMA66 ad2: DMA limited to UDMA33, controller found non-ATA66 cable ad2: 76345MB MAXTOR 6L080L4 A93.0500 at ata1-master UDMA33ad0: 9541MB Seagate ST310212A 3.39 at ata0-master UDMA66 ad2: DMA limited to UDMA33, controller found non-ATA66 cable ad2: 76345MB MAXTOR 6L080L4 A93.0500 at ata1-master UDMA33 Any ideas? On Friday 10 March 2006 22:57, Peter wrote: I'm setting up a new server on 6.0 I've been planning for a long time and I am very disappointed with two critical issues. My motherboard is the ASUS K8V-X SE that I chose because it was listed as compatible at the FreeBSD/amd64 Project: http://www.freebsd.org/platforms/amd64/motherboards.html I wonder if going back to 5.4 might help? Onto the problems... 1. I have 4 IDE drives: primary controller: Maxtor 40 GB hd (master) and LG cdrom (slave) secondary controller: Seagate Barracuda 200 GB hd (master) and Seagate Barracuda 300 GB (slave) Problem: The 300 GB drive is unusable. I set it up ok with sysinstall during the installation but the system will not boot properly if it has an entry in /etc/fstab. I get many errors like: ad3: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63 I also get input/output error if I try to examine its label with disklabel. dmesg output is at the end of this post when I booted without fstab line. The strange thing is that the two drives on the secondary controller are so similar. Same manufacturer, same product line, the speeds are the same. Everything is the same except the size. I ran dos-level diagnostics on it and no problems were found. 2. I can't use my USB ports! I get a line like this for each of my ports: uhci0: port 0xb800-0xb81f irq 21 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] Copyright (c) 1992-2005 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.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 r...@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC ACPI APIC Table: Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3000+ (2002.58-MHz 686-class CPU) Origin = AuthenticAMD Id = 0xf4a Stepping = 10 Features=0x78bfbffGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2 AMD Features=0xe0500800 real memory = 536543232 (511 MB) avail memory = 515702784 (491 MB) snip ad0: DMA limited to UDMA33, device found non-ATA66 cable ad0: 39205MB at ata0-master UDMA33 acd0: CDROM at ata0-slave PIO4 ad2: 190782MB at ata1-master UDMA100 ad3: 286168MB at ata1-slave UDMA100 Trying to mount root from ufs:/dev/ad0s1a __ You've got a problem alright, and you don't even see it. == The ata driver sets the maximum transfer mode supported by the hardware as default. However the ata driver sometimes warns: ``DMA limited to UDMA33, non-ATA66 cable or device''. This means that the ata driver has detected that the required 80 conductor cable is not present or could not be detected properly, or that one of the devices on the channel only accepts up to UDMA2/ATA33. == You've got your 40GB Maxtor (you've installed FreeBSD on it), an ATA100 device, connected with your CDROM, an ATA33 device. The result is: your boot drive is running at UDMA33 instead of UDMA100. This is not going to work real well, as you can see. Do you really need that 40GB Maxtor? If you do, you're going to have to try adding an ATA controller card into one of your PCI slots and use that to connect your hard drives to. Try removing the 40GB Maxtor and reinstalling FreeBSD on the other two drives. I think that will clear up some problems for you. Don ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Do you have the 80-wire IDE cable? The older 40-wire cables do not permit speeds faster than DMA-33. ___ freebsd-questions@freebsd.org
Re: Disappointed with version 6.0
On Monday 18 May 2009 09:56:07 am David Roberts wrote: Hi, I was reading this thread as the problem I'm having seems quite similar, and with version 7.2, although I had the same behavior with 6.3 as well. ad0: 9541MB Seagate ST310212A 3.39 at ata0-master UDMA66 ad2: DMA limited to UDMA33, controller found non-ATA66 cable ad2: 76345MB MAXTOR 6L080L4 A93.0500 at ata1-master UDMA33ad0: 9541MB Seagate ST310212A 3.39 at ata0-master UDMA66 ad2: DMA limited to UDMA33, controller found non-ATA66 cable ad2: 76345MB MAXTOR 6L080L4 A93.0500 at ata1-master UDMA33 Any ideas? I had a motherboard that would do this. If I killed power to the system for ~15 seconds, it would go back to accepting everything. What I though was wrong was the controller developed a problem and if I cut the power to the system such that the system voltages bled off, it would go back to accepting ata66 cables. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: umass0: BBB reset failed, TIMEOUT
Any ideas? I can't offer any solutions but I can tell you that we've seen this exactly problem, and many times. I have a script that copies a tar image into a USB thumb drive and that operation fails frequently. To better guarantee success, I have to boot the system first, and then the copy command works reliably. If I don't do a reboot, I see this same kind of failure, usually as much as 50% of the time. My impression is that USB drive support is simply not that solid. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why would a kill -2 not work?
Hi-- On May 18, 2009, at 9:23 AM, Peter Steele wrote: Under what circumstances might a kill -2 nnn not work. I have a Python app with a signal handler configured to catch INT signals. It seems to work fine, but we've recently noticed that after the app has run for a while the kill -2 no longer works. This seems pretty suspicious, perhaps indicating our app is misbehaving in some way. What might cause the signal handler to stop working? The main reason might be that your process is already in another signal handler or is otherwise blocked in a system call and won't get the new signal until it completes the current situation. The amount of stuff you're allowed to do safely in a signal handler is pretty minimal-- you're better off setting a flag, returning from the signal handler, and having the next run past the main event loop or whatever check for the flag and handle things in a normal app context. If you try to do anything involving malloc() or s/printf, etc, you're running risks. man sigaction is likely to be informative Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: Disappointed with version 6.0
Hmm, I've unplugged the PC every time I played with the cables (changing positions, etc) but never had it work. It's an older Compaq Deskpro EN. Maybe time for to update my hardware/PC with something more recent. Thanks -Original Message- From: Kent Stewart [mailto:kstew...@owt.com] Sent: Monday, May 18, 2009 10:44 AM To: freebsd-questions@freebsd.org Cc: David Roberts Subject: Re: Disappointed with version 6.0 On Monday 18 May 2009 09:56:07 am David Roberts wrote: Hi, I was reading this thread as the problem I'm having seems quite similar, and with version 7.2, although I had the same behavior with 6.3 as well. ad0: 9541MB Seagate ST310212A 3.39 at ata0-master UDMA66 ad2: DMA limited to UDMA33, controller found non-ATA66 cable ad2: 76345MB MAXTOR 6L080L4 A93.0500 at ata1-master UDMA33ad0: 9541MB Seagate ST310212A 3.39 at ata0-master UDMA66 ad2: DMA limited to UDMA33, controller found non-ATA66 cable ad2: 76345MB MAXTOR 6L080L4 A93.0500 at ata1-master UDMA33 Any ideas? I had a motherboard that would do this. If I killed power to the system for ~15 seconds, it would go back to accepting everything. What I though was wrong was the controller developed a problem and if I cut the power to the system such that the system voltages bled off, it would go back to accepting ata66 cables. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Backing up FreeBSD and other Unix systems securely
On Sun, 17 May 2009 09:12:57 -0700, Kelly Jones kelly.terry.jo...@gmail.com said: K I like this plan because it does versioned backups, and doesn't backup K identical files twice. I dislike it because I lose Mozy's unlimited disk K space. K % Is there software that already does this? I have a 3-Tbyte server running FreeBSD-6.1 that does something very similar. I don't bother with encrypting the filenames or hashes because we control the box, and if I'm not at work, other admins might need to restore something quickly. We have around 3.7 million files from 5 other servers backed up under two 1.5-Tbyte filesystems, /mir01 and /mir02. My setup looks like this: +-mir01 | +-HASH | | +-00 | | | +-00 | | | +-01 ... | | +-01 ... | | +-fe | | +-ff | +-server1 | +-server2 +-mir02 | +-HASH | +-server3 | +-server4 | +-server5 The HASH directories have two levels of subdirectories 00-ff. That's been more than sufficient to keep directories from getting too big; I average around 25 files per directory. I do hourly backups on the other fileservers using something like the find and timestamp method you mentioned, but I ignore 0-length files because they always hash to the same value. The backup directories for the second fileserver look like this for 5 May 2009: +-mir01 | +-server2 | | +-2009 | | | +-0505 | | | | +-070700 | | | | | +-doc (filesystem) | | | | | +-home | | | | +-080700 | | | | | +-doc | | | | | +-home ... | | | | +-190700 | | | | | +-home After the backups are rsynced to the backup server, I find any regular files with only one link, compute the RMD160 hash of the contents, and make a hardlink to the appropriate filename under the HASH directory. People love to make copies of copies of files, so this really cuts down on the disk space used. The hardlinks make it easy to avoid restoring things that aren't what the user had in mind; if a file's been corrupted, I can tell when it happened just by looking at the inode, so I don't restore an earlier version that's also junk. I can also tell if there were duplicates anywhere on the fileserver at the time the user lost the good version; it's a lot faster for them to get a known good copy from somewhere else on the fileserver than it is to restore over the network. The software is just a few scripts to do things like find files with just one link, compute hashes, do hardlinks, etc. I can put up a tarball if anyone's interested. -- Karl Vogel I don't speak for the USAF or my company The best way for the Government to maintain its credit is to pay as it goes-not by resorting to loans, but by keeping out of debt-through an adequate income secured by a system of taxation, external or internal, or both. --Pres. William McKinley's First Inaugural Address, March 4, 1897 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Weird problem with gmirror - cannot add the Good disk when previously failed SATA disk is online
Achilleas Mantzios wrote: Hello, I run 7.1-PRERELEASE, its a home server. today morning after a power failure, the rebuild my root gm0 failed on disk ad4. The messages were: May 18 08:02:02 panix kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=268091264 May 18 08:02:08 panix kernel: drm0: Intel i865G GMCH on vgapci0 May 18 08:02:08 panix kernel: info: [drm] AGP at 0xf000 128MB May 18 08:02:08 panix kernel: info: [drm] Initialized i915 1.5.0 20060119 May 18 08:02:08 panix kernel: drm0: [ITHREAD] May 18 08:02:08 panix kernel: ad4: FAILURE - device detached May 18 08:02:08 panix kernel: subdisk4: detached May 18 08:02:08 panix kernel: ad4: detached May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: provider ad4 disconnected. May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: rebuilding provider ad4 stopped. I read http://www.eztiger.org/2008/08/removing-and-re-adding-a-disk-in-gmirror/ hoping that the rebuld failure was temprary and so i tried to just run # gmirror forget gm0 # gmirror insert gm0 ad4 The correct order of commands is: atacontrol list gmirror list gmirror forget gm0 gmirror clear -v ad4 gmirror insert -v gm0 ad4 Miroslav Lachman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ppc install problem
Hello, I attempt to boot the ppc 7.2 install cd on a G4 Tower (Yikes!, I believe). It gets past open firmware without problem. It enters the normal boot process for FreeBSD. It starts loading drivers, and it fails on loading bmac. It says that it is failing to initialize the hardware. Then, the machine freezes. Do you know what piece of hardware bmac is initing, and can you imagine what the problem might be? Has anyone else encountered this? -Jason ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What is the highest hard drive read/write speed you were able to achieve by entire disk mirroring or striping?
Wojciech Puchar wrote: I am seeing 85MB/s as a speed of a single Hitachi 1TB HD. How high can you go by mirroring or striping 2, 3, 4 harddrives? mirroring - the same, just with 2 processes reading both can get the bandwidth. make sure you use -s high enough (like 1048576) doing gmirror label stripping - the same, or 2,3,4 times, depends how you configure. for highest transfer and lowest concurrency (you mostly read huge files with one process) - use small stripe size. for lowest transfer (=1 disk) and highest concurency - use very huge stripe size like 512MB, so simply different process reading different things can hit different drives, but each I/O isn't spread. So if I will put 6 hard drives with stripping each of them is 85MB/s (in the beginning sectors) I will get 6X85MB/s=4.08Gb/s? Is it reasonable to expect this kind of speed? Something tells me that there will be some other factors like bus speed that would potentially limit the speed in such case. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What is the highest hard drive read/write speed you were able to achieve by entire disk mirroring or striping?
Hi, Yuri On Mon, May 18, 2009 at 4:29 PM, Yuri y...@rawbw.com wrote: So if I will put 6 hard drives with stripping each of them is 85MB/s (in the beginning sectors) I will get 6X85MB/s=4.08Gb/s? Is it reasonable to expect this kind of speed? Something tells me that there will be some other factors like bus speed that would potentially limit the speed in such case. No, that is not reasonable (but in a perfect world, would be correct). You are limited by the bus speed and controller buffer speed (whichever is slower). -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
dell broadcom nic fbsd 7.1 AMD64
Dell PE1950 III frebsd 7.1 AMD64 (to get support of full 4 GB RAM) After fresh 7.1 install, and boot, ifconfig shows bc0 active and 1000 Mb/sec, but cannot ping anything. replaced cables, tried the other bc nic, nothing. Linux in 3 other same machines works fine. suggestions? Len ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: dell broadcom nic fbsd 7.1 AMD64
Hi, Len On Mon, May 18, 2009 at 4:20 PM, Len Conrad lcon...@go2france.com wrote: Dell PE1950 III frebsd 7.1 AMD64 (to get support of full 4 GB RAM) After fresh 7.1 install, and boot, ifconfig shows bc0 active and 1000 Mb/sec, but cannot ping anything. replaced cables, tried the other bc nic, nothing. Linux in 3 other same machines works fine. Could you paste the output of the following: cat /etc/rc.conf | grep bc0 and output from: dhclient bc0 -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Ati and Xorg.conf
Hi, I have an ATI Radeon HD 2400. I fresh installed FreeBSD 7.2 for AMD64. I added the Xorg support and Gnome desktop. With the autoconfig Xserver feature, the whole system freezes. With the xorg.conf file generated by the -configure option, the system freezes too. I've tried several different drivers (ati, radeonhd...) but I can only bring X up with the vesa driver. Which driver is the best one (features vs stability) taking into account that I don't want to run any fancy desktop features? How can I configure it? Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why would a kill -2 not work?
The amount of stuff you're allowed to do safely in a signal handler is pretty minimal-- you're better off setting a flag, returning from the signal handler, and having the next run past the main event loop or whatever check for the flag and handle things in a normal app context. If you try to do anything involving malloc() or s/printf, etc, you're running risks. man sigaction is likely to be informative This is basically what we doing. When the handler is triggered we set a global variable to indicate the system is shutting down. I also signal a condition to wake up a sleeping thread. The lack of log messages indicate that this handler never gets called and the system carries on as if the kill -2 never happened. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why would a kill -2 not work?
Hi-- On May 18, 2009, at 2:45 PM, Peter Steele wrote: This is basically what we doing. When the handler is triggered we set a global variable to indicate the system is shutting down. I also signal a condition to wake up a sleeping thread. The lack of log messages indicate that this handler never gets called and the system carries on as if the kill -2 never happened. You're not trying to send a signal within the signal handler itself, are you? That won't work-- signal delivery is blocked when you're already running in a signal handler. Also, note that trying to mix signals with a multithreaded process is complicated -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: dell broadcom nic fbsd 7.1 AMD64
Dell PE1950 III frebsd 7.1 AMD64 (to get support of full 4 GB RAM) After fresh 7.1 install, and boot, ifconfig shows bc0 active and 1000 Mb/sec, but cannot ping anything. replaced cables, tried the other bc nic, nothing. Linux in 3 other same machines works fine. Could you paste the output of the following: cat /etc/rc.conf | grep bc0 sorry, is bce not bc, ifconfig_bce0=inet 10.2.17.8 netmask 255.255.0.0 and output from: dhclient bc0 I ran that on a local machine and it hung up the interface, requiring a warm reboot. I'll see what happens with my client's machine. Len -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: Why would a kill -2 not work?
What he said. It's better to just stick with -9; it almost always works! ;-) -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Chuck Swiger Sent: Monday, May 18, 2009 4:49 PM To: Peter Steele Cc: #freebsd-questions Subject: Re: Why would a kill -2 not work? Hi-- On May 18, 2009, at 2:45 PM, Peter Steele wrote: This is basically what we doing. When the handler is triggered we set a global variable to indicate the system is shutting down. I also signal a condition to wake up a sleeping thread. The lack of log messages indicate that this handler never gets called and the system carries on as if the kill -2 never happened. You're not trying to send a signal within the signal handler itself, are you? That won't work-- signal delivery is blocked when you're already running in a signal handler. Also, note that trying to mix signals with a multithreaded process is complicated -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org font size=1 div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in' /div This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system. /font ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: dell broadcom nic fbsd 7.1 AMD64
On Mon, May 18, 2009 at 5:37 PM, Len Conrad lcon...@go2france.com wrote: Could you paste the output of the following: cat /etc/rc.conf | grep bc0 sorry, is bce not bc, Was going to be my next suggestion... I couldn't find 'bc' in GENERIC for amd64. ifconfig_bce0=inet 10.2.17.8 netmask 255.255.0.0 and output from: dhclient bc0 I ran that on a local machine and it hung up the interface, requiring a warm reboot. I'll see what happens with my client's machine. I assume you substituted the correct interface name? (bce0 in place of bc0) -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: dell broadcom nic fbsd 7.1 AMD64
-Original Message- From: Glen Barber [mailto:glen.j.bar...@gmail.com] Sent: 18 May 2009 22:58 To: lcon...@go2france.com Cc: freebsd-questions@freebsd.org Subject: Re: dell broadcom nic fbsd 7.1 AMD64 On Mon, May 18, 2009 at 5:37 PM, Len Conrad lcon...@go2france.com wrote: Could you paste the output of the following: cat /etc/rc.conf | grep bc0 sorry, is bce not bc, Was going to be my next suggestion... I couldn't find 'bc' in GENERIC for amd64. ifconfig_bce0=inet 10.2.17.8 netmask 255.255.0.0 and output from: dhclient bc0 I ran that on a local machine and it hung up the interface, requiring a warm reboot. I'll see what happens with my client's machine. I assume you substituted the correct interface name? (bce0 in place of bc0) -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Just took a quick peek at my pfsense machine hp D530 USDT which has a broadcom gigabit NIC, phpsysinfo reports bge0: Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x3003. Might be worth trying that driver. Regards Graeme ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: no pkg for apache13 in 7.2
Ltcddata wrote: On Mon, 18 May 2009 20:22:34 +0800 Fbsd1 fb...@a1poweruser.com wrote: In 7.1 and previous pkg_add -r apache fetched apache13. Now in release 7.2 pkg_add -r apache installs apache22. Looks like someone made apache22 the default pkg and did not point this out in the release notes or bother to create a named package for apace13 in the Latest directory. Is apache13 at end-of-life?? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org using apache13 here on 7.2.. just build it from ports Building from port does not address the posted problem. Can also get pkg from 7.1. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: no pkg for apache13 in 7.2
On Mon, May 18, 2009 at 7:48 PM, Fbsd1 fb...@a1poweruser.com wrote: Building from port does not address the posted problem. Can also get pkg from 7.1. ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/All/apache-1.3.41.tbz -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why would a kill -2 not work?
You're not trying to send a signal within the signal handler itself, are you? That won't work-- signal delivery is blocked when you're already running in a signal handler. Also, note that trying to mix signals with a multithreaded process is complicated No, I'm not sending a signal within a signal. The signal handler is this: pthread_mutex_lock(keep_running_mutex); KEEP_RUNNING = 0; pthread_cond_signal(keep_running_cond); pthread_mutex_unlock(keep_running_mutex); This works fine, but at some point it seems to stop working. The app just continues to run as if it never received the -2 signal. We have to use a kill -9 to kill it, which we want to avoid because this prevents our shutdown code from executing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why would a kill -2 not work?
On May 18, 2009, at 5:32 PM, Peter Steele wrote: No, I'm not sending a signal within a signal. The signal handler is this: pthread_mutex_lock(keep_running_mutex); KEEP_RUNNING = 0; pthread_cond_signal(keep_running_cond); pthread_mutex_unlock(keep_running_mutex); This works fine, but at some point it seems to stop working. The app just continues to run as if it never received the -2 signal. We have to use a kill -9 to kill it, which we want to avoid because this prevents our shutdown code from executing. The pthread_* calls you are making aren't listed as being safe to run within the context of a signal handler, and could cause a thread waiting on that condition to be unblocked and start running. Please see earlier comments about mixing threads and signal handlers. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: My FreeBSD-current/Xen install notes
On Mon, 18 May 2009, Adrian Chadd wrote: I've started documenting (mostly for my own memory for now!) my experiences getting a working FreeBSD-current Xen environment together. http://wiki.freebsd.org/AdrianChadd/XenHackery Notable bits: pygrub works. :) Adrian Hi: What is the extent of Dom0 support for FreeBSD 8.x with Xen 3.3.x ? My interest is to run multiple guest OS hosted on a Xen-ified (aka paravirtualized) FreeBSD 8.x on a multi-core intel or AMD64 box. Any pointers or observations ? thanks Saifi. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What is the highest hard drive read/write speed you were able to achieve by entire disk mirroring or striping?
Glen Barber wrote: No, that is not reasonable (but in a perfect world, would be correct). You are limited by the bus speed and controller buffer speed (whichever is slower). My motherboard has PCI Express v2.0, that is 500MB/s limitation. Also it has HD/RAID controller Intel ICH10R Southbidge that has peak SATA Data Rate 300MB/s. So this brings me to 300MB/s limit. So 3X harddrives at 85MB/s will still scale. And 4X will already show the limitation. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: My FreeBSD-current/Xen install notes
I don't think there's any support for Dom0 stuff in FreeBSD. http://wiki.freebsd.org/FreeBSD/Xen has further information about what is and isn't supported at this time. Adrian 2009/5/19 Saifi Khan saifi.k...@twincling.org: On Mon, 18 May 2009, Adrian Chadd wrote: I've started documenting (mostly for my own memory for now!) my experiences getting a working FreeBSD-current Xen environment together. http://wiki.freebsd.org/AdrianChadd/XenHackery Notable bits: pygrub works. :) Adrian Hi: What is the extent of Dom0 support for FreeBSD 8.x with Xen 3.3.x ? My interest is to run multiple guest OS hosted on a Xen-ified (aka paravirtualized) FreeBSD 8.x on a multi-core intel or AMD64 box. Any pointers or observations ? thanks Saifi. ___ freebsd-curr...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: My FreeBSD-current/Xen install notes
On Tue, 19 May 2009, Adrian Chadd wrote: I don't think there's any support for Dom0 stuff in FreeBSD. http://wiki.freebsd.org/FreeBSD/Xen has further information about what is and isn't supported at this time. Adrian 2009/5/19 Saifi Khan saifi.k...@twincling.org: On Mon, 18 May 2009, Adrian Chadd wrote: I've started documenting (mostly for my own memory for now!) my experiences getting a working FreeBSD-current Xen environment together. http://wiki.freebsd.org/AdrianChadd/XenHackery Notable bits: pygrub works. :) Adrian Hi: What is the extent of Dom0 support for FreeBSD 8.x with Xen 3.3.x ? My interest is to run multiple guest OS hosted on a Xen-ified (aka paravirtualized) FreeBSD 8.x on a multi-core intel or AMD64 box. Any pointers or observations ? Hi Adrian: Thank you for the clarification about no dom0 support in FreeBSD 8.x as of now. Yes, i did visit the wiki link couple of months ago and in fact dropped a mail to Kip as well :) there was no response, guess he was busy. i'd be thankful, if you could share your observations about the following: . is dom0 support something that FreeBSD will target at some point in time or would be happy to be domU ? . there was some mention of vimage/bitvisor in one of the slides (i think on scribd.com). So, is it that jails getting extended to support virtualization+containers and thus a entirely different approach which does not use Xen ? . is it envisaged that a stable NetBSD dom0 implementation would then be ported to FreeBSD (maybe) ? Thank you for your time. thanks Saifi. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7.1 opencrypto -- kern.cryptodevallowsoft
The openssl speed sub-command is a real PITA: Try: $ openssl speed -elapsed -evp aes-128-cbc (or des-ede3) Also goto /usr/src/tools/tools/crypto/ make Run those utils to extract useful statistics out of the driver's kernel data structures. ~BAS On Mon, 2009-05-18 at 11:21 +0100, Brendan Kennedy wrote: Hi Brian, Patrick, Thanks for your responses. I agree that it looks like a bug! I'm a bit of a newb to FreeBSD. Where should I go to log this? I ran (as root ;) ) openssl engine (padlock) VIA PadLock (no-RNG, no-ACE) (dynamic) Dynamic engine loading support (cryptodev) BSD cryptodev engine [RSA, DSA, DH] It can be seen only PKE functions are being shown as accelerated. 'kldstat' only shows cryptodev.ko, but that's because I have 'crypto' compiled as part of the kernel. I have found another issue here also - although 'openssl engine -c' shows correct accelerated functionality of the hardware driver, running a speed test (e.g. openssl speed des-ede3 -engine cryptodev) does not result in any messages being sent to the driver apart from the initial check for available algorithms. It seems only accelerated PKE functions are run through the driver. It may be that the symmetric functions are being run through the software device driver (cryptosoft)... Could it be down to cryptodev engine being loaded twice in OpenSSL? Or would cryptodev favour the software driver if CRYPTO_F_HARDWARE is not set? Regards, Brendan 2009/5/15 Brian A. Seklecki sekle...@noc.cfi.pgh.pa.us: On Tue, 2009-05-12 at 19:14 +0100, Brendan Kennedy wrote: Hi All, I'm trying to test a hardware crypto driver, but want to run my tests through the software driver first (and possibly use the software driver to validate results). I have set the following in my GENERIC conf file: What does kldstat(8) / openssl(1) return? % sudo openssl engine (dynamic) Dynamic engine loading support $ openssl engine (cryptodev) BSD cryptodev engine (padlock) VIA PadLock (no-RNG, no-ACE) (dynamic) Dynamic engine loading support $ kldstat |egrep -i 'cry|ub' 33 0xc0e06000 25b78crypto.ko 71 0xc64c9000 4000 cryptodev.ko 81 0xc6546000 a000 ubsec.ko Return? ~BAS device crypto device enc options IPSEC I have rebuilt the kernel, rebooted and set the kern.cryptodevallowsoft kernel variable to 1: FreeBSD_26# sysctl -a | grep crypto kern.cryptodevallowsoft: 1 However, when I try a test, I get the following: FreeBSD_26# /usr/src/tools/tools/crypto/cryptotest -va 3des cipher 3des keylen 24 CIOCGSESSION: Invalid argument FreeBSD_26# /usr/src/tools/tools/crypto/cryptotest -va des cipher des keylen 8 CIOCGSESSION: Invalid argument It seems the software crypto device is not available. Do I need to do any other steps to enable it? Is there another config option that makes sure it is build as part of Opencrypto framework? Do I need to build some other software driver instead? Best Regards, Brendan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org This mail was sent via Mail-SeCure System. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What is the highest hard drive read/write speed you were able to achieve by entire disk mirroring or striping?
On Mon, May 18, 2009 at 08:07:10PM -0700, Yuri wrote: Glen Barber wrote: No, that is not reasonable (but in a perfect world, would be correct). You are limited by the bus speed and controller buffer speed (whichever is slower). My motherboard has PCI Express v2.0, that is 500MB/s limitation. That's 500MB/s for each PCI-E 2.0 lane. The PCI-E lanes originating at your southbridge (Intel ICH10R) are only PCI-E 1.0 however for a max of 250MB/s per lane (in each direction.) This is irrelevant however since the built-in SATA controller is not attached to any PCI-E lanes. What is relevant is the connection between the northbridge and southbridge. In your case that connection is equivalent to a PCI-E x4 bus, for a max speed of 1GB/s (in each direction.) Also it has HD/RAID controller Intel ICH10R Southbidge that has peak SATA Data Rate 300MB/s. That's 300MB/s for each SATA channel. Unless you use a port-multiplier (which is poorly supported in FreeBSD) you will only have a single disk per SATA channel. So this brings me to 300MB/s limit. So 3X harddrives at 85MB/s will still scale. And 4X will already show the limitation. Actually the buses involved sets the limit at 1GB/s (the Nortbridge-Southbridge connection.) There are likely to be other limits in play however such as the maximum throughput of the SATA controller, or the max load the CPU can sustain, or the transfer speed to RAM. Of these I suspect the controller itself will be the major bottleneck in your case closely followed by the CPU. Exactly how much they can support is not so easily predicted however - it will have to be measured. -- Insert your favourite quote here. Erik Trulsson ertr1...@student.uu.se ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
what is going to happend when installing a port
Hi: I would like to know what other ports are going to be installed when I install a port When I installed krb5 I notice it build and install a lot of ports. maps ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: what is going to happend when installing a port
On Mon, May 18, 2009 at 11:10 PM, Martin Alejandro Paredes Sanchez mapsw...@prodigy.net.mx wrote: Hi: I would like to know what other ports are going to be installed when I install a port When I installed krb5 I notice it build and install a lot of ports. maps make all-depends-list will show you everything that will be installed to either build or support during runtime the ports that will come with the port you're in now. make missing will show you what is lacking on your system to make it compile and run. make build-depends-list Will list the ports required to build said port make run-depends-list will show the ports required to run said port man ports Please read the documentation provided, now that we've given you the document to start reading. Enjoy your week. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: what is going to happend when installing a port
Martin Alejandro Paredes Sanchez wrote: Hi: I would like to know what other ports are going to be installed when I install a port When I installed krb5 I notice it build and install a lot of ports. maps There are a few things you can try from inside the port directory to see what else will get installed: make missing will show you the ports that are needed by the port you are about to build that are not currently installed You may also want to look these up using 'man ports': make all-depends-list make run-depends-list make pretty-print-run-depends-list make pretty-print-build-depends-list ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: kdb and mouse are disabled on HP Pavilion dv5210us by X.org 7.4.1 (7.2-R)
Hi Saifi, Xorg 7.4_1 seems having some issues with dbus and hald. The -- Option AllowEmptyInput false -- is the must, but dbus and hald can cause system useless. On this laptop, I only run dbus and hald once. Then I disabled both of them and X window works well. On a couple of Desktop machines (4-core Phenom and Intel P4+506) with GeForce graphic cards, without dbus and halt, X Window run fine except no F-key works. Enable and run dbus and hald, All F-key work, but output device is almost dead. Top shows system is completely idle, but typing will not show on any xterm till the mouse is moving. For example, run TOP on a xterm, the entire window system has no thing change. The clock of on the upper right corner of the TOP xterm is stopped (actually is running, but no output to display). Once mouse is moving, the clock and top section are updated. Once mouse stops moving, then no thing is change (no output anywhere). Similar to the typing. Typing a command will not show on the Xterm still mouse is moved. About less than 5% of time, I can type and see the output right way. Without dbus and hald running, there is no such problem. Has anyone encountered the same problem? The other main difference between this xorg.conf and previous on is the Module section. This xorg.conf, generated by X -configure, has -- Load dri2 where previous one has -- Load GLcore. I am not sure if this is an issue. -Jin Saifi Khan wrote: On Sun, 17 May 2009, Jin Guojun[VFF] wrote: When installed FreeBSD 7.2 release with xorg-7.4.1, the X server does not work on HP Pavilion dv5210us laptop due to the key board and mouse are disabled somehow. Some Hot keys (Ctrl-Altr-F#) are working but mouse is not movable and cannot type in a Xterm. (**) ModulePath set to /usr/local/lib/xorg/modules (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. (WW) Disabling Mouse0 (WW) Disabling Keyboard0 Does anyone hasve an idea how to fix this problem? Both Xorg.0.log and xorg.conf are attached. Thanks, -Jin Hi Jin: You need to add an additional line to your 'ServerLayout' or 'ServerFlags'. Option AllowEmptyInput false Please see the sample xorg.conf file that i'm running on my Compaq laptop. Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceKeyboard0 CoreKeyboard InputDeviceMouse0 CorePointer # InputDeviceMouse1 SendCoreEvents EndSection Section ServerFlags Option DontZap Off Option AllowEmptyInput false Option AllowEmptyInput false # Option AllowMouseOpenFail on EndSection Section Files FontPathunix/:7101 FontPath /usr/local/lib/X11/fonts/100dpi/ FontPath /usr/local/lib/X11/fonts/75dpi/ FontPath /usr/local/lib/X11/fonts/OTF FontPath /usr/local/lib/X11/fonts/TTF/ FontPath /usr/local/lib/X11/fonts/Type1/ FontPath /usr/local/lib/X11/fonts/URW/ FontPath /usr/local/lib/X11/fonts/bistream-vera/ FontPath /usr/local/lib/X11/fonts/cyrillic/ FontPath /usr/local/lib/X11/fonts/dejavu/ FontPath /usr/local/lib/X11/fonts/freefont/ FontPath /usr/local/lib/X11/fonts/local/ FontPath /usr/local/lib/X11/fonts/misc/ FontPath /usr/local/lib/X11/fonts/terminus-font/ FontPath /usr/local/lib/X11/fonts/urwfonts-ttf/ FontPath /usr/local/lib/X11/fonts/util/ FontPath /usr/local/lib/X11/fonts/webfonts/ FontPath /usr/local/share/ghostscript/fonts/ FontPath /usr/local/lib/X11/fonts/sharefont/ FontPath /usr/local/lib/X11/fonts/texcm-ttf/ FontPath /usr/local/lib/X11/fonts/local/sgi/ FontPath /usr/local/lib/X11/fonts/ppantsfonts/ ModulePath /usr/local/lib/xorg/modules EndSection Section Module Load extmod Load record Load dbe Load glx Load dri Load dri2 Loadfreetype EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option ProtocolStandard Option XkbLayout us Option XkbModelpc104 EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option ZAxisMapping 4 5 6 7 EndSection Section InputDevice Identifier Mouse1 Driver synaptics Option Device /dev/sysmouse Option Emulate3Buttons on Option SHMConfig on Option ZAxisMapping 4 5 EndSection Section Monitor Identifier Monitor0 VendorName Monitor Vendor ModelNameMonitor Model HorizSync30-62 VertRefresh 50-60 Option DPMS EndSection Section