Re: setting X11BASE
I'm finding it especially interesting that /etc/make.conf, which to judge from its location is part of the base, depends on a setting from something in the /usr/ports tree. Well, actually it doesn't. What gives you this impression? Paul Schmehl reported where LOCALBASE is set: in /usr/ports/Mk/bsd.port.mk Now I'm being told to add this: X11BASE=${LOCALBASE} to /etc/make.conf, so that /etc/make.conf needs LOCALBASE to be set in order to set X11BASE correctly. Is that not a dependency? You assume make(1)'s variable assignment is done on encounter base at runtime. It isn't: # echo LOCALBASE=/usr/local /tmp/foo.mk # echo 'X11BASE=${LOCALBASE}' /etc/make.conf # make -f /tmp/foo.mk -V X11BASE /usr/local # echo LOCALBASE=/tmp /tmp/foo.mk # make -f /tmp/foo.mk -V X11BASE /tmp For your academic interest: gzcat /usr/share/doc/psd/12.make/paper.ascii.gz|$PAGER I know perfectly well how make works. The point is, if we have X11BASE=${LOCALBASE} in /etc/make.conf, X11BASE is going to be set *correctly* during any particular execution of make only if LOCALBASE is set somewhere in the makefiles that are processed during that execution of make. If we run make under conditions that *don't* involve processing /usr/ports/Mk/bsd.port.mk -- such as when building something that isn't a port -- X11BASE is going to be *wrong* (unless a definition gets provided somewhere else, as in your examples). IOW adding this line to /etc/make.conf creates a dependency on /usr/ports/Mk/bsd.port.mk, and that seems undesirable. Would it not be better to put it somewhere under /usr/ports/Mk or /usr/local/etc, rather than polluting the base with a ports-ism? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dual core CPU's, but only 2 CPU's in-use?
Hello. I have a Xeon system with 2 CPU's installed (dual-cores). Under FreeBSD 6.2, a systat reported 4 CPUs in use and so did dmesg. Under FreeBSD 6.3, dmesg is reporting the 4 CPUs, but systat is only reporting 2 CPUs (CPU 0 and CPU 2). How do I enabled the second cores on the CPU's or are they really running but systat is not reporting the CPU load across the cores? dmesg from 6.3 (snipped): CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2790.73-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf29 Stepping = 9 Features=0xbfebfbffFPU,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=0x4400CNXT-ID,xTPR Logical CPUs per core: 2 real memory = 2147352576 (2047 MB) avail memory = 2096242688 (1999 MB) ACPI APIC Table: DELL PE1600SC FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 6 cpu3 (AP): APIC ID: 7 And sysctrl dev.cpu is interesting, the 4 CPUs are found but only 2 appear to be working (cx_usage is 100% or 0%): # sysctl dev.cpu dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.CPU0 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.0.cx_supported: C1/0 dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_usage: 100.00% dev.cpu.1.%desc: ACPI CPU dev.cpu.1.%driver: cpu dev.cpu.1.%location: handle=\_PR_.CPU1 dev.cpu.1.%pnpinfo: _HID=none _UID=0 dev.cpu.1.%parent: acpi0 dev.cpu.1.cx_supported: C1/0 dev.cpu.1.cx_lowest: C1 dev.cpu.1.cx_usage: 0% dev.cpu.2.%desc: ACPI CPU dev.cpu.2.%driver: cpu dev.cpu.2.%location: handle=\_PR_.CPU2 dev.cpu.2.%pnpinfo: _HID=none _UID=0 dev.cpu.2.%parent: acpi0 dev.cpu.2.cx_supported: C1/0 dev.cpu.2.cx_lowest: C1 dev.cpu.2.cx_usage: 100.00% dev.cpu.3.%desc: ACPI CPU dev.cpu.3.%driver: cpu dev.cpu.3.%location: handle=\_PR_.CPU3 dev.cpu.3.%pnpinfo: _HID=none _UID=0 dev.cpu.3.%parent: acpi0 dev.cpu.3.cx_supported: C1/0 dev.cpu.3.cx_lowest: C1 dev.cpu.3.cx_usage: 0% Thanks for any pointers on this one! -Tig ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual core CPU's, but only 2 CPU's in-use?
Tigger wrote: Hello. I have a Xeon system with 2 CPU's installed (dual-cores). Under FreeBSD 6.2, a systat reported 4 CPUs in use and so did dmesg. Under FreeBSD 6.3, dmesg is reporting the 4 CPUs, but systat is only reporting 2 CPUs (CPU 0 and CPU 2). How do I enabled the second cores on the CPU's or are they really running but systat is not reporting the CPU load across the cores? You can run 'top -S' to check how many idle processes exist. If there are four, everything is fine. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to compile anything from ports
That's a new revision of the C3 which supports SSE: 'c3-2' is a better CPUTYPE for it. *sighs* Oh well. Guess its time to rebuild world again. =) Thanks for the info Bruce. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to compile anything from ports
Yes. Not many use VIA cpu's, so I think it would help a lot if you'd do a send-pr. Include a full dmesg so the CPU flags can be seen. The default on FreeBSD is to compile with -O2 now, so either cc should disable the specific optimization for which there is no matching CPU instruction internally, or via CPUTYPE or similar constructs, the optimization flag for this should be turned off. -O2 is a collection of optimizations that can be turned on/off individually. -O = -O1 is a smaller set, -O0 turns it off entirely. I raised a send-pr over the issue, and it was promptly closed *wince*. Guess I should have done a more thorough search before I raised it. For future reference, as someone else may end up in this same situation, let me paraphrase... I used... CPUTYPE=c3 CFLAGS= -O2 -pipe COPTFLAGS= -O -pipe I should have just used... CPUTYPE=c3-2 That is, I should not have defined CPUTYPE and COPYFLAGS. The default is -O2 -fno-strict-aliasing -pipe, and using -O2 without -fno-strict-aliasing is unsupported and will cause trouble. Apparenty, it's best to not override CFLAGS and COPTFLAGS at all. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual core CPU's, but only 2 CPU's in-use?
On Sun, 24 Feb 2008 12:46:23 +0100 Dominic Fandrey [EMAIL PROTECTED] wrote: Tigger wrote: Hello. I have a Xeon system with 2 CPU's installed (dual-cores). Under FreeBSD 6.2, a systat reported 4 CPUs in use and so did dmesg. Under FreeBSD 6.3, dmesg is reporting the 4 CPUs, but systat is only reporting 2 CPUs (CPU 0 and CPU 2). How do I enabled the second cores on the CPU's or are they really running but systat is not reporting the CPU load across the cores? You can run 'top -S' to check how many idle processes exist. If there are four, everything is fine. Sadly, no luck. Only cpu0 and cpu2 are reported: PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 11 root1 171 52 0K 8K CPU2 2 143:43 92.38% idle: cpu2 13 root1 171 52 0K 8K RUN0 142:33 92.04% idle: cpu0 -Tig ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Normal CPU usage with a PPP connection
Hey guys, i'm running 6.3-R with (i think) userland ppp to connect to my ADSL provider over PPPoE. I build a number of graphs(mrtg) for system stats and i am noticing that under heavy load on my ppp connection, that is sustained 150KB/s for an hour or so my cpu usage, based on my graph, hovers around 20% (haven't looked at it in top yet but if there isn't a simple solution/reason for this i will look into what sort of usage it is). The box is a home router/server so at any 1 time isn't doing anything else that i can see would account for this. I also noticed that this usage increase does not occur with traffic coming/going on the inward facing interface, which regularly has transfer speeds around 10 MB/s. I'm running a AMD X2 3800+ with 2GB ram. Is this sort of usage normal? Is there something i can do to bring it down? Dylan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RELENG_7 versus RELENG_7_0, latter is newer?
I expected RELENG_7 to have newer files than RELENG_7_0 as the latter tracks a release whilst the former tracks CURRENT/STABLE whichever it currently is. However I noticed 2 things. 1 - RELENG_7_0 in newvers.sh shows 7.0-RELEASE whilst RELENG_7 shows PRERELEASE. 2 - RELENG_7_0 has higher version numbers than RELENG_7 on the src files and config files for mergemaster. Given this information is it the case RELENG_7 has simply stopped been updated? possibly even a fault on the cvsup servers I have been using. /usr/src/UPDATING both have the 7.0-RELEASE line however. example below RELENG_7_0 FreeBSD: src/usr.sbin/sysinstall/sysinstall.h,v 1.274.4.1 RELENG_7 FreeBSD: src/usr.sbin/sysinstall/sysinstall.h,v 1.274.2.1 Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RELENG_7 versus RELENG_7_0, latter is newer?
On Sun, Feb 24, 2008 at 01:16:04PM +, Chris wrote: I expected RELENG_7 to have newer files than RELENG_7_0 as the latter tracks a release whilst the former tracks CURRENT/STABLE whichever it currently is. However I noticed 2 things. 1 - RELENG_7_0 in newvers.sh shows 7.0-RELEASE whilst RELENG_7 shows PRERELEASE. Yes, it is supposed to be that way. RELENG_7 will continue to show -PRERELEASE until after 7.0-RELEASE is out, at which point it will switch to show -STABLE. 2 - RELENG_7_0 has higher version numbers than RELENG_7 on the src files and config files for mergemaster. Considering that almost all changes to RELENG_7_0 are first applied to RELENG_7 before being applied to the (newer) RELENG_7_0 branch this is not surprising. Note also that the revision numbers that CVS assigns to each revision of a file depends heavily on which branch the file comes from, and which revision that branch is derived from. Higher number does not necessarily imply newer file. Given this information is it the case RELENG_7 has simply stopped been updated? possibly even a fault on the cvsup servers I have been using. Unlikely. /usr/src/UPDATING both have the 7.0-RELEASE line however. example below RELENG_7_0 FreeBSD: src/usr.sbin/sysinstall/sysinstall.h,v 1.274.4.1 RELENG_7 FreeBSD: src/usr.sbin/sysinstall/sysinstall.h,v 1.274.2.1 Looks just fine to me. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gmirror on slice
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel Gerzo wrote: | Hello people, | | I'm trying to set up a gmirror on two slices, but I am stuck | somewhere. I am unable to find out what is wrong. Here's what I have | done so far: | | I have 2 disks in the box. I have created 2 slices on both of them | (ad{4,6}s1 and ad{4,6}s2) through sysinstall. (btw, | http://www.freebsd.org/cgi/query-pr.cgi?pr=72895cat= is really | annoying, lucky I had a remote console :-)) | | Now I want to initialize gmirror on slice 1: | | ha-db1# gmirror label -v -b round-robin gm0 /dev/ad4s1 | gmirror: Can't store metadata on /dev/ad4s1: Operation not permitted. | ha-db1# sysctl kern.geom.debugflags=16 | kern.geom.debugflags: 0 - 16 | ha-db1# gmirror label -v -b round-robin gm0 /dev/ad4s1 | gmirror: Can't store metadata on /dev/ad4s1: Operation not permitted. | | for additional information, I am including the following: | | ha-db1# fdisk -vp ad4 | # /dev/ad4 | g c1453521 h16 s63 | p 1 0xa5 63 72340632 | a 1 | p 2 0xa5 72340695 1392803370 | | ha-db1# disklabel /dev/ad4s1 | # /dev/ad4s1: | 8 partitions: | #size offsetfstype [fsize bsize bps/cpg] | a: 104857604.2BSD 2048 16384 8 | b: 25165824 1048576 swap | c: 723406320unused0 0 # raw part, don't edit | d: 25165824 262144004.2BSD 2048 16384 28528 | e: 20960408 513802244.2BSD 2048 16384 28528 | | | Any ideas will be much appreciated. | Hi there, sysinstall is piece of crap when it comes to gmirror'ing slices. I recall that I had numerous problems with it and that I couldn't find any solution nor workaround but doing slicing by hand. Have serial console handy if you don't have physical access to the system. I hope this 2857574857th whine about bugs in sysinstall will reach to someone capable of fixing it. - -- Best regards, Bogdan Culibrk [EMAIL PROTECTED] http://default.co.yu/~bc -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkfBgl0ACgkQo6C4vAhYtCATQQCfbHB8pp29ExUSPLlrEjz/5HSE H2cAn2YgErKzd4reBOcFGQZaDdZUsOEB =Ui3B -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can't install 7.0-RC3 on dell dimension 3100 (usb problems)
Hello, I am unable to boot (and much less install) FreeBSD on a Dell Dimension3100 computer, apparently due to some usb problems. here's the error message snip sio0: configured irq 4 not in bitmap of probed irqs sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs sio0: port may not be enabled sio0: at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio0: [ITHREAD] sio1: configured irq 3 not in bitmap of probed irqs sio1: port may not be enabled usb1: controller halted uhub1: device problem (IOERROR) disabling port 1 snip then the system continues to boot normally and I am greeted by sysinstall. However the keyboard (and all other usb devices) no longer functions, rendering the system unusable. I tried to install 7.0-RC3 but this problem seems to affects other versions as well. I found an unsolved PR from 2006 (!) in which several users have reported similar issues: http://www.freebsd.org/cgi/query-pr.cgi?pr=100746 Is there some way to fix this? Thanks in advance for your help. Pak _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ports problems
Hi, I've updated and upgraded the ports tree to the . branch but serveral of ports doesn't compile or are completly absent on the repositories. What can I do?, I need the system working. I'm using 6.3-STABLE. -8--8--8--8--8- pkg_create: make_dist: tar command failed with code 256 ** Command failed [exit code 1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.7 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=py25-setuptools-0.6c7 UPGRADE_PORT_VER=0.6c7 make -DFORCE_PKG_REGISTER reinstall ** Command failed [exit code 1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.5 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=py25-flup-0.5.r2311 UPGRADE_PORT_VER=0.5.r2311 make FETCH_BEFORE_ARGS=-q ** Command failed [exit code 1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.17 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=scons-0.97 UPGRADE_PORT_VER=0.97 make -DFORCE_PKG_REGISTER reinstall ** Command failed [exit code 1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.12 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=libusb-0.1.12_1 UPGRADE_PORT_VER=0.1.12_1 make FETCH_BEFORE_ARGS=-q ** Command failed [exit code 1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.4 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=nvidia-xconfig-1.0_1 UPGRADE_PORT_VER=1.0_1 make FETCH_BEFORE_ARGS=-q ** Command failed [exit code 1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.12 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=py25-numeric-24.2 UPGRADE_PORT_VER=24.2 make FETCH_BEFORE_ARGS=-q checking command to parse /usr/bin/nm -B output... failed ** Command failed [exit code 1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.21 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=py25-psycopg-1.1.21 UPGRADE_PORT_VER=1.1.21 make FETCH_BEFORE_ARGS=-q checking command to parse /usr/ports/lang/gcc42/work/build/./gcc/nm output... failed ** Command failed [exit code 1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.14 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=blas-1.0_1 UPGRADE_PORT_VER=1.0_1 make FETCH_BEFORE_ARGS=-q ** Command failed [exit code 1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.13 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=OpenEXR-1.4.0 UPGRADE_PORT_VER=1.4.0 make FETCH_BEFORE_ARGS=-q ** Command failed [exit code 1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.15 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=py25-MySQLdb-1.2.2 UPGRADE_PORT_VER=1.2.2 make FETCH_BEFORE_ARGS=-q of the failed make command, and (c) the gnomelogalyzer output. Also, it might ** Command failed [exit code 1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.5 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=py25-gobject-2.12.3 UPGRADE_PORT_VER=2.12.3 make FETCH_BEFORE_ARGS=-q ** Command failed [exit code 1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.9 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=mesa-demos-7.0.1 UPGRADE_PORT_VER=7.0.1 make FETCH_BEFORE_ARGS=-q ** Command failed [exit code 1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.19 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gnome-libs-1.4.2_7 UPGRADE_PORT_VER=1.4.2_7 make FETCH_BEFORE_ARGS=-q ** Command failed [exit code 1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.3 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=ffmpeg-2007.10.04_1 UPGRADE_PORT_VER=2007.10.04_1 make FETCH_BEFORE_ARGS=-q ** Command failed [exit code 1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.1 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=linux-flashplugin-7.0r70 UPGRADE_PORT_VER=7.0r70 make FETCH_BEFORE_ARGS=-q ** Command failed [exit code 1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.7 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gstreamer-0.10.14_1 UPGRADE_PORT_VER=0.10.14_1 make FETCH_BEFORE_ARGS=-q ** Command failed [exit code 1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.10 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=mplayer-0.99.10_13 UPGRADE_PORT_VER=0.99.10_13 make FETCH_BEFORE_ARGS=-q ** Command failed [exit code 1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.24 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=libgnome-2.18.0_2 UPGRADE_PORT_VER=2.18.0_2 make FETCH_BEFORE_ARGS=-q -8--8--8--8--8- Best regards, -- .O. | Daniel Molina Wegener | C/C++ Developer ..O | dmw [at] unete [dot] cl | FOSS Coding Adict OOO | FreeBSD Linux User| Standards Rocks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
vpnc problem: protocol not supported?
Hello, i am trying to connect to the vpn at university from home. I have made a new kernel with what i think (thought) was needed for ipsec from reading the handbook, my kernel file looks like: include GENERIC ident MYCOMPUTER options SMP options IPSEC options IPSEC_ESP The kernel build and installed fine, however if i try to connect using vpnc it gives the following message: socket(PF_INET, SOCK_RAW, IPPROTO_ESP): Protocol not supported At the beginning of booting (top of dmesg) it says this: WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant WARNING: MPSAFE network stack disabled, expect reduced performance. I'm not sure what's wrong: am i missing something in the kernel config or is it something else?? I am using 6.2-RELEASE. Greetings! - Jurjen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual core CPU's, but only 2 CPU's in-use?
Tigger wrote: On Sun, 24 Feb 2008 12:46:23 +0100 Dominic Fandrey [EMAIL PROTECTED] wrote: Tigger wrote: Hello. I have a Xeon system with 2 CPU's installed (dual-cores). Under FreeBSD 6.2, a systat reported 4 CPUs in use and so did dmesg. Under FreeBSD 6.3, dmesg is reporting the 4 CPUs, but systat is only reporting 2 CPUs (CPU 0 and CPU 2). How do I enabled the second cores on the CPU's or are they really running but systat is not reporting the CPU load across the cores? You can run 'top -S' to check how many idle processes exist. If there are four, everything is fine. Sadly, no luck. Only cpu0 and cpu2 are reported: PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 11 root1 171 52 0K 8K CPU2 2 143:43 92.38% idle: cpu2 13 root1 171 52 0K 8K RUN0 142:33 92.04% idle: cpu0 Are your CPUs really dual-core, or single core + hyperthreaded? Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dropped Packets
Hi all, I have a FreeBSD 4.11 (I know its outdated but I don't have an option) box which is behaving very weirdly. After about a day and a half it starts to drop packets - about 6-10% of pings at least, and tcp traffic becomes unreliable etc. I have swapped out the network cards, the cables etc and I don't have any mbuf problems and all seems fine. For the first day the box works fine - pinging, doing tcp traffic etc; and then suddenly it just stops. Rebooting brings it all back to normal. Any ideas what could be causing this, and how I could go about diagnosing it? As far as I know there are no known bugs for this. I'm using the em driver, but not with SMP. There are no errors on the interface, and the em debug_info and stats sysctl's don't show any problems - there is no indication on the box itself that its dropping packets.. My thinking is that it must be box specific as a reboot solves the problem? Thanks in advance Dave ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Wireless] Can't connect to wlan
Okay, so here goes: SYNOPSIS Wireless network gets detected, but has no carrier. So I can't connect. PROMPT All prompts are indicated as $ to avoid confusion with #-comment lines, but in reality most things are done by root. THE NETWORK SSID: SpeedTouch1EC5E8 radio type: 11g security type: WPA2-PSK PSK: known Station: Thomson ST 780 WL Wireless modem Signal: present (Windows picks it up right away) and generally excellent THE COMPUTER Thoshiba Satellite P200 1A4 notebook Wireless card: Intel 3945ABG OS: FreeBSD 7.0-RC3 KERNEL The driver for the Intel 3945ABG card is wpi. As instructed by its manpage, my /boot/loader.conf reads: $ cat /boot/loader.conf if_wpi_load=YES wlan_load=YES wlan_amrr_load=YES firmware_load=YES wpifw_load=YES wlan_xauth_load=YES legal.intel_wpi.license_ack=1 $ Relevant dmesg greps: $ dmesg|grep wpi wpi0: Intel(R) PRO/Wireless 3945ABG mem 0xd800-0xd8000fff irq 17 at device 0.0 on pci4 wpi0: Ethernet address: 00:1b:77:b5:98:bd wpi0: [ITHREAD] wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps $ dmesg|grep wlan $ dmesg|grep firmware $ CONFIGURATION My /etc/wpa_supplicant.conf: $ cat /etc/wpa_supplicant.conf #eapol_version=2 network={ ssid=SpeedTouch1EC5E8 psk= (the correct preshared key, that is) # bssid=00:90:d0:f3:e1:d2 mode=0 proto=WPA RSN # key_mgmt=WPA-PSK # pairwise=CCMP # group=CCMP scan_ssid=1 } $ STEPS $ wpa_supplicant -d -i wpi0 -c /etc/wpa_supplicant Initializing interface 'wpi0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' - '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' Priority group 0 id=0 ssid='SpeedTouch1EC5E8' Initializing interface (2) 'wpi0' EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 Own MAC address: 00:1b:77:b5:98:bd wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 wpa_driver_bsd_del_key: keyidx=0 wpa_driver_bsd_del_key: keyidx=1 wpa_driver_bsd_del_key: keyidx=2 wpa_driver_bsd_del_key: keyidx=3 wpa_driver_bsd_set_countermeasures: enabled=0 wpa_driver_bsd_set_drop_unencrypted: enabled=1 Setting scan request: 0 sec 10 usec Added interface wpi0 Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 5 sec 0 usec State: DISCONNECTED - SCANNING Starting AP scan (specific SSID) Scan SSID - hexdump_ascii(len=16): 53 70 65 65 64 54 6f 75 63 68 31 45 43 35 45 38 SpeedTouch1EC5E8 Trying to get current scan results first without requesting a new scan to speed up initial association Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 0 sec 0 usec Starting AP scan (broadcast SSID) Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 5 sec 0 usec Starting AP scan (specific SSID) Scan SSID - hexdump_ascii(len=16): 53 70 65 65 64 54 6f 75 63 68 31 45 43 35 45 38 SpeedTouch1EC5E8 Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 5 sec 0 usec Starting AP scan (broadcast SSID) Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 5 sec 0 usec Starting AP scan (specific SSID) Scan SSID - hexdump_ascii(len=16): 53 70 65 65 64 54 6f 75 63 68 31 45 43 35 45 38 SpeedTouch1EC5E8 Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 5 sec 0 usec Starting AP scan (broadcast SSID) Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 5 sec 0 usec Starting AP scan (specific SSID) Scan SSID - hexdump_ascii(len=16): 53 70 65 65 64 54 6f 75 63 68 31 45 43 35 45 38 SpeedTouch1EC5E8 Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request:
Re: Dropped Packets
Hardware issues come to mind. Do you have a dmesg? SC On Sun, Feb 24, 2008 at 9:27 AM, Dave Raven [EMAIL PROTECTED] wrote: Hi all, I have a FreeBSD 4.11 (I know its outdated but I don't have an option) box which is behaving very weirdly. After about a day and a half it starts to drop packets - about 6-10% of pings at least, and tcp traffic becomes unreliable etc. I have swapped out the network cards, the cables etc and I don't have any mbuf problems and all seems fine. For the first day the box works fine - pinging, doing tcp traffic etc; and then suddenly it just stops. Rebooting brings it all back to normal. Any ideas what could be causing this, and how I could go about diagnosing it? As far as I know there are no known bugs for this. I'm using the em driver, but not with SMP. There are no errors on the interface, and the em debug_info and stats sysctl's don't show any problems - there is no indication on the box itself that its dropping packets.. My thinking is that it must be box specific as a reboot solves the problem? Thanks in advance Dave ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports problems
Download sources for software you need, and compile it manualy. but firstly i`d try to delete ports directory, and fetch ports again. Daniel Molina Wegener пишет: Hi, I've updated and upgraded the ports tree to the . branch but serveral of ports doesn't compile or are completly absent on the repositories. What can I do?, I need the system working. Best regards, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Dropped Packets
Hi, Its interesting you'd say that I'd virtually ruled it out given that it takes over a day to start? What I do see sometimes is a message warning me that its limiting open port RST responses - the unit is under a reasonable amount of load though (but not overloaded). The strange thing is that its open port (not closed). Even if I up the limit though (the messages do stop) it doesn't stop the dropping... I've rebooted it recently, but here is the dmesg -- CPU: Intel(R) Xeon(R) CPU5150 @ 2.66GHz (2666.68-MHz 686-class CPU) Origin = GenuineIntel Id = 0x6fb Stepping = 11 Features=0xbfebfbffFPU,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 Hyperthreading: 2 logical CPUs real memory = 3489005568 (3407232K bytes) avail memory = 3395510272 (3315928K bytes) Preloaded elf kernel kernel at 0xc0378000. Preloaded elf module splash_bmp.ko at 0xc037809c. Preloaded splash_image_data /boot/optec.bmp at 0xc0378140. Preloaded elf module if_em.ko at 0xc037818c. Preloaded elf module if_silbpi.ko at 0xc037822c. Preloaded elf module hptmv.ko at 0xc03782d0. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 31 entries at 0xc00fddd0 npx0: math processor on motherboard npx0: INT 16 interface pcib0: Host to PCI bridge on motherboard pci0: PCI bus on pcib0 pcib8: PCI to PCI bridge (vendor=8086 device=25f7) irq 0 at device 2.0 on pci0 pci1: PCI bus on pcib8 pcib9: PCI to PCI bridge (vendor=8086 device=3500) irq 11 at device 0.0 on pci1 pci2: PCI bus on pcib9 pcib10: PCI to PCI bridge (vendor=8086 device=3510) irq 11 at device 0.0 on pci2 pci3: PCI bus on pcib10 pcib11: PCI to PCI bridge (vendor=8086 device=0329) at device 0.0 on pci3 pci4: PCI bus on pcib11 pcib12: PCI to PCI bridge (vendor=8086 device=032a) at device 0.2 on pci3 pci5: PCI bus on pcib12 hptmv0: RocketRAID 182x SATA Controller mem 0xd800-0xd807 irq 11 at device 1.0 on pci5 RocketRAID 182x SATA Controller driver Version 1.12 RR182x [0,0]: channel started successfully RR182x [0,1]: channel started successfully RR182x [0,2]: channel started successfully RR182x [0,3]: channel started successfully RR182x [0,4]: channel started successfully RR182x [0,5]: channel started successfully RR182x [0,6]: channel started successfully RR182x [0,7]: channel started successfully RR182x: RAID5 write-back enabled pcib13: PCI to PCI bridge (vendor=8086 device=3518) irq 5 at device 2.0 on pci2 pci6: PCI bus on pcib13 pci6: unknown card (vendor=0x8086, dev=0x1096) at 0.0 irq 5 pci6: unknown card (vendor=0x8086, dev=0x1096) at 0.1 irq 10 pcib14: PCI to PCI bridge (vendor=8086 device=350c) at device 0.3 on pci1 pci7: PCI bus on pcib14 silbpi0: PXG2BPIG port 0x3000-0x303f mem 0xd820-0xd821 irq 11 at device 1.0 on pci7 silbpi0: Speed:N/A Duplex:N/A silbpi1: PXG2BPIG port 0x3040-0x307f mem 0xd822-0xd823 irq 7 at device 1.1 on pci7 silbpi1: Speed:N/A Duplex:N/A pcib15: PCI to PCI bridge (vendor=8086 device=25f8) irq 0 at device 4.0 on pci0 pci8: PCI bus on pcib15 pcib16: PCI to PCI bridge (vendor=8086 device=25f9) irq 0 at device 6.0 on pci0 pci9: PCI bus on pcib16 pcib17: PCI to PCI bridge (vendor=8086 device=2690) irq 7 at device 28.0 on pci0 pci10: PCI bus on pcib17 pcib18: Intel 82801BA/BAM (ICH2) Hub to PCI bridge at device 30.0 on pci0 pci11: PCI bus on pcib18 pci11: ATI model 515e graphics accelerator at 1.0 irq 5 isab0: PCI to ISA bridge (vendor=8086 device=2670) at device 31.0 on pci0 isa0: ISA bus on isab0 atapci0: Generic PCI ATA controller port 0x1800-0x180f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: unknown card (vendor=0x8086, dev=0x269b) at 31.3 irq 10 pcib1: Host to PCI bridge on motherboard pci12: PCI bus on pcib1 pcib2: Host to PCI bridge on motherboard pci13: PCI bus on pcib2 pcib3: Host to PCI bridge on motherboard pci14: PCI bus on pcib3 pcib4: Host to PCI bridge on motherboard pci15: PCI bus on pcib4 pcib5: Host to PCI bridge on motherboard pci16: PCI bus on pcib5 pcib6: Host to PCI bridge on motherboard pci17: PCI bus on pcib6 pcib7: Host to PCI bridge on motherboard pci18: PCI bus on pcib7 orm0: Option ROMs at iomem 0xc-0xcafff,0xcb000-0xd0fff on isa0 pmtimer0 on isa0 fdc0: ready for input in output fdc0: cmd 3 failed at out byte 1 of 3 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging disabled IPsec: Initialized Security Association Processing. IP Filter: v3.4.35 initialized. Default = block all, Logging = enabled
Re: [Wireless] Can't connect to wlan
Redirect - freebsd-mobile, cc Ben Ref: http://lists.freebsd.org/pipermail/freebsd-current/2007-November/080653.html On Sunday 24 February 2008 16:50:47 Alphons Fonz van Werven wrote: Okay, so here goes: SYNOPSIS Wireless network gets detected, but has no carrier. So I can't connect. PROMPT All prompts are indicated as $ to avoid confusion with #-comment lines, but in reality most things are done by root. THE NETWORK SSID: SpeedTouch1EC5E8 radio type: 11g security type: WPA2-PSK PSK: known Station: Thomson ST 780 WL Wireless modem Signal: present (Windows picks it up right away) and generally excellent THE COMPUTER Thoshiba Satellite P200 1A4 notebook Wireless card: Intel 3945ABG OS: FreeBSD 7.0-RC3 KERNEL The driver for the Intel 3945ABG card is wpi. As instructed by its manpage, my /boot/loader.conf reads: $ cat /boot/loader.conf if_wpi_load=YES wlan_load=YES wlan_amrr_load=YES firmware_load=YES wpifw_load=YES wlan_xauth_load=YES legal.intel_wpi.license_ack=1 $ Relevant dmesg greps: $ dmesg|grep wpi wpi0: Intel(R) PRO/Wireless 3945ABG mem 0xd800-0xd8000fff irq 17 at device 0.0 on pci4 wpi0: Ethernet address: 00:1b:77:b5:98:bd wpi0: [ITHREAD] wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps $ dmesg|grep wlan $ dmesg|grep firmware $ CONFIGURATION My /etc/wpa_supplicant.conf: As you can see in the aboved mentioned URL, wpi and wpa_supplicant don't play nice. I had the same problem yesterday, setting wpi through ifconfig (WEP in my case) and the card just works. I also had the bluetooth message, but Fonz doesn't seem to have that. # ident /boot/kernel/if_wpi.ko /boot/kernel/if_wpi.ko: $FreeBSD: src/sys/dev/wpi/if_wpi.c,v 1.5.2.2 2008/02/02 06:49:57 sam Exp $ My kernel is GENERIC with ULE scheduler rather then 4BSD. I want to investigate more this week, with a debug kernel and/or wpi in debug mode. Since RELENG_7 is probably thawed/frozen, is there patches from -current you can backport to have tested? Leaving the rest of the email in tact so you have a full report. $ cat /etc/wpa_supplicant.conf #eapol_version=2 network={ ssid=SpeedTouch1EC5E8 psk= (the correct preshared key, that is) # bssid=00:90:d0:f3:e1:d2 mode=0 proto=WPA RSN # key_mgmt=WPA-PSK # pairwise=CCMP # group=CCMP scan_ssid=1 } $ STEPS $ wpa_supplicant -d -i wpi0 -c /etc/wpa_supplicant Initializing interface 'wpi0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' - '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' Priority group 0 id=0 ssid='SpeedTouch1EC5E8' Initializing interface (2) 'wpi0' EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 Own MAC address: 00:1b:77:b5:98:bd wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 wpa_driver_bsd_del_key: keyidx=0 wpa_driver_bsd_del_key: keyidx=1 wpa_driver_bsd_del_key: keyidx=2 wpa_driver_bsd_del_key: keyidx=3 wpa_driver_bsd_set_countermeasures: enabled=0 wpa_driver_bsd_set_drop_unencrypted: enabled=1 Setting scan request: 0 sec 10 usec Added interface wpi0 Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 5 sec 0 usec State: DISCONNECTED - SCANNING Starting AP scan (specific SSID) Scan SSID - hexdump_ascii(len=16): 53 70 65 65 64 54 6f 75 63 68 31 45 43 35 45 38 SpeedTouch1EC5E8 Trying to get current scan results first without requesting a new scan to speed up initial association Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 0 sec 0 usec Starting AP scan (broadcast SSID) Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 5 sec 0 usec Starting AP scan (specific SSID) Scan SSID - hexdump_ascii(len=16): 53 70 65 65 64 54 6f 75 63 68 31 45 43 35 45 38 SpeedTouch1EC5E8 Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 5 sec 0 usec Starting AP scan (broadcast SSID) Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from
libdisk(3), geom(4), gmirror(8), sysinstall(8)
All: There was a patch to libdisk in late 2005 that added geom(4) support to libdisk. I'm noticing that Disk_Names() doesn't grab contact/ or mirror/ volumes, though. It still depends on kern.disks. Should I add my gmirror/gconcat probing code to /usr.sbin/ sysinstall/devices.c directly, or should I enable it in libdisk? Thoughts? ~BAS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Harddisks DMA errors
Hello, After having problems with DMA errors on my old PATA 200GB disks because of a faulty harddisk, I switched to SATA 500GB disks. I used fdisk to create slices and newfs them, then copied everything using dump restore to my new harddisks. Now I have problems running into the next error for both my harddiscs: ad4: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=268435454 ad4: WARNING - SETFEATURES SET TRANSER MODE taskqueue timeout - completing request directly ad4: WARNING - SETFEATURES SET TRANSER MODE taskqueue timeout - completing request directly ad4: WARNING - SETFEATURES SET RCHACHE MODE taskqueue timeout - completing request directly ad4: WARNING - SETFEATURES SET WCHACHE MODE taskqueue timeout - completing request directly ad4: WARNING - SET_MULTI taskqueue timeout - completing request directly ad4: TIMEOUT - READ_DMA retrying (0 retries left) LBA=268435454 ad4: FAILURE = READ_DMA status=ffBUSY,READY,DMA_READY,DSC,DRQ,CORRECTABLE,INDEX,ERROR error = ff ICRC ,UNCORRECTABLE ,MEDIA_CHANGED ,NID_NOT_FOUND,MEDIA_CHANGE_REQUEST,ABORTED,NO_MEDIA,ILLEGAL_LENGTH LBA=268435454 I am able to reproduce this error at will if I issue the following command: # dd if=/dev/ad4 of=/dev/null bs=1024 What surprises me is that it the following information is provided by dd: dd: /dev/ad4: Input/output error 134217727+0 records in 134217727+0 records out 137438952448 bytes transferred in 9732.012957 secs (14122356 bytes/sec) This number of _bytes transfered_ looks an awful lot like 137 GB which normal LBA can handle. And it probably isn't coincidence that normal LBA can only handle 268435455 locations. Large LBA should work better I suppose. Problem is that I have used fdisk to newfs and slice my disk and they were fully accessible then. My Promise SATA300 TX2Plus does have support for LargeLBA so there again it should work. I'm quite sure the disks aren't faulty because I get the problem on both disks and the errors are exactly the same. I'm not sure what the SETFEATURE error has to do with this all, maybe someone can explain. So it ends up in two questions: 1. How do I get those drives working? 2. If it is of relevance what does that SETFEATURES warning mean? Anyone that can help me? -- Guido Please reply to this address, because the address that was subscribed doesn't work now because if this server failure. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
DHCP Server
Hi, I am running dhcpd on my FreeBSD machine and have 2 clients that requests an IP address. The one client is connected directly to the same network as the BSD box, the other client is connected via a bridge on the first client. I have a section in my /usr/local/etc/dhcpd.conf to assign a specific IP to client #1: host myhost { hardware ethernet xx:xx:xx:xx:xx:xx; fixed address 192.168.1.16; } The problem is, both client #1 and #2 get assigned the same IP address which results in a conflict (I'm guessing because they appear to be behind the same MAC address). How do I work around this so that I can uniquely setup a predetermined IP for both clients? I'll appreciate any help, thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP Server
BSD box, the other client is connected via a bridge on the first client. I have a section in my /usr/local/etc/dhcpd.conf to assign a specific IP to client #1: host myhost { hardware ethernet xx:xx:xx:xx:xx:xx; fixed address 192.168.1.16; } The problem is, both client #1 and #2 get assigned the same IP address which results in a conflict (I'm guessing because they appear to be behind the it means that the first client's bridge is not a bridge. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: DHCP Server
-Original Message- From: Wojciech Puchar [mailto:[EMAIL PROTECTED] Sent: 24 February 2008 08:56 PM To: Jaco le Roux Cc: freebsd-questions@freebsd.org Subject: Re: DHCP Server BSD box, the other client is connected via a bridge on the first client. I have a section in my /usr/local/etc/dhcpd.conf to assign a specific IP to client #1: host myhost { hardware ethernet xx:xx:xx:xx:xx:xx; fixed address 192.168.1.16; } The problem is, both client #1 and #2 get assigned the same IP address which results in a conflict (I'm guessing because they appear to be behind the it means that the first client's bridge is not a bridge. Hm. Well it's a bridge made by windows xp from one interface to another. You're telling me that it won't work like that? If I use 'arp ip-address' on the two clients, it resolves to the same MAC address :/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RELENG_7 versus RELENG_7_0, latter is newer?
1 - RELENG_7_0 in newvers.sh shows 7.0-RELEASE whilst RELENG_7 shows PRERELEASE. Yes, it is supposed to be that way. RELENG_7 will continue to show -PRERELEASE until after 7.0-RELEASE is out, at which point it will switch to show -STABLE. That is my point the 7.0 branch is marked as RELEASE not RC2 or RC3, after reboot I see this. FreeBSD 7.0-RELEASE Since the stable brance is typically marked as stable after release I then cvsupped the 7 stable branch assuming I would see stable but I didnt, however like you just said they havent officially released freebsd7 yet so I then assumed its because they havent had time to tag it yet. But then... 2 - RELENG_7_0 has higher version numbers than RELENG_7 on the src files and config files for mergemaster. Considering that almost all changes to RELENG_7_0 are first applied to RELENG_7 before being applied to the (newer) RELENG_7_0 branch this is not surprising. Note also that the revision numbers that CVS assigns to each revision of a file depends heavily on which branch the file comes from, and which revision that branch is derived from. Higher number does not necessarily imply newer file. True but some files also had newer timestamps and why would they downgrade a version number on tons of files? I am talking 100s of files not 1 or 2. Given this information is it the case RELENG_7 has simply stopped been updated? possibly even a fault on the cvsup servers I have been using. Unlikely. This is the first time I have seen this, eg. on FreeBSD 6 branch if I cvsupped to STABLE from 6.3 RELEASE at the time of release there would likely be next to no files that it fetches as 6.3 RELEASE just comes from that STABLE branch at that point in time, if files are different STABLE branch would be newer as RELEASE stays still. Maybe it is typical just first time I have seen this. :) Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Linux distro
On Fri, 2008-02-22 at 08:25 -0500, Robert Huff wrote: Da Rock writes: Mercedes? :) Fits the first, dunno about the third. Certainly not the second -- Benz are some of the best-engineered and built cars in existence. Maybe BMW, aka Bunch-a Money Wasted or Bite My Wallet. I wouldn't insult a quality car like that. I've heard nothing but good stories about them and it's something I'd buy myself. Very safe to drive... Quite possible. However, if one looks at Consumer Reports the well engineered German brands are in the lower (worse) half, and sometimes third, of the reliability ratings. Volkswagen is better, but not by great heaping gobs. Robert Huff I had an epiphany the other day- Range Rover! Big, expensive, and ALWAYS in the shop. I knew another fella who gave it up for another make after having no end of trouble with his. He was not the only one either... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Compiling new kernel fails on 7.0RC3
After having a few problems with Fbsd 6.3 stable I decided to try 7.0 which impressed me right away because I noticed right away that it performed better on my computer. Now I decided to build my own custom kernel and after running the first command: %buildkernel KERNCONF=mykernel I get this error after it runs for about 15 minutes: linking kernel.debug vpo.o(.text+0x6b): In function `vpo_attach': /usr/src/sys/dev/ppbus/vpo.c:159: undefined reference to `cam_simq_alloc' vpo.o(.text+0xc2):/usr/src/sys/dev/ppbus/vpo.c:164: undefined reference to `cam_sim_alloc' vpo.o(.text+0xd1):/usr/src/sys/dev/ppbus/vpo.c:168: undefined reference to `cam_simq_free' vpo.o(.text+0xef):/usr/src/sys/dev/ppbus/vpo.c:172: undefined reference to `xpt_bus_register' vpo.o(.text+0x106):/usr/src/sys/dev/ppbus/vpo.c:173: undefined reference to `cam_sim_free' vpo.o(.text+0x14d):/usr/src/sys/dev/ppbus/vpo.c:196: undefined reference to `xpt_periph' vpo.o(.text+0x15c):/usr/src/sys/dev/ppbus/vpo.c:196: undefined reference to `xpt_create_path' vpo.o(.text+0x18f):/usr/src/sys/dev/ppbus/vpo.c:203: undefined reference to `xpt_setup_ccb' vpo.o(.text+0x1ac):/usr/src/sys/dev/ppbus/vpo.c:207: undefined reference to `xpt_action' vpo.o(.text+0x422): In function `vpo_action': /usr/src/sys/dev/ppbus/vpo.c:357: undefined reference to `xpt_done' vpo.o(.text+0x463):/usr/src/sys/dev/ppbus/vpo.c:383: undefined reference to `xpt_done' vpo.o(.text+0x48c):/usr/src/sys/dev/ppbus/vpo.c:396: undefined reference to `xpt_done' vpo.o(.text+0x4af):/usr/src/sys/dev/ppbus/vpo.c:402: undefined reference to `xpt_done' vpo.o(.text+0x4c3):/usr/src/sys/dev/ppbus/vpo.c:408: undefined reference to `xpt_done' vpo.o(.text+0x57a):/usr/src/sys/dev/ppbus/vpo.c:434: more undefined references to `xpt_done' follow udbp.o(.text+0x47): In function `ng_udbp_disconnect': /usr/src/sys/dev/usb/udbp.c:857: undefined reference to `ng_rmnode_self' udbp.o(.text+0xab): In function `udbp_detach': /usr/src/sys/dev/usb/udbp.c:450: undefined reference to `ng_rmnode_self' udbp.o(.text+0xc0):/usr/src/sys/dev/usb/udbp.c:452: undefined reference to `ng_unref_node' udbp.o(.text+0x742): In function `udbp_attach': /usr/src/sys/dev/usb/udbp.c:375: undefined reference to `ng_newtype' udbp.o(.text+0x770):/usr/src/sys/dev/usb/udbp.c:381: undefined reference to `ng_make_node_common' udbp.o(.text+0x7b7):/usr/src/sys/dev/usb/udbp.c:384: undefined reference to `ng_name_node' udbp.o(.text+0x7cc):/usr/src/sys/dev/usb/udbp.c:385: undefined reference to `ng_unref_node' udbp.o(.text+0x91f): In function `ng_udbp_rcvmsg': /usr/src/sys/dev/usb/udbp.c:705: undefined reference to `M_NETGRAPH_MSG' udbp.o(.text+0x9d9):/usr/src/sys/dev/usb/udbp.c:733: undefined reference to `ng_address_ID' udbp.o(.text+0x9f2):/usr/src/sys/dev/usb/udbp.c:733: undefined reference to `ng_snd_item' udbp.o(.text+0xa01):/usr/src/sys/dev/usb/udbp.c:733: undefined reference to `ng_free_item' udbp.o(.text+0xa0d):/usr/src/sys/dev/usb/udbp.c:734: undefined reference to `M_NETGRAPH_MSG' udbp.o(.text+0xa85): In function `udbp_in_transfer_cb': /usr/src/sys/dev/usb/udbp.c:531: undefined reference to `ng_package_data' udbp.o(.text+0xaaa):/usr/src/sys/dev/usb/udbp.c:531: undefined reference to `ng_address_hook' udbp.o(.text+0xabe):/usr/src/sys/dev/usb/udbp.c:531: undefined reference to `ng_snd_item' udbp.o(.text+0xc81): In function `ng_udbp_rmnode': /usr/src/sys/dev/usb/udbp.c:815: undefined reference to `ng_unref_node' udbp.o(.text+0xc94):/usr/src/sys/dev/usb/udbp.c:817: undefined reference to `ng_make_node_common' udbp.o(.text+0xccd):/usr/src/sys/dev/usb/udbp.c:820: undefined reference to `ng_name_node' udbp.o(.text+0xcde):/usr/src/sys/dev/usb/udbp.c:821: undefined reference to `ng_unref_node' udbp.o(.text+0xd25): In function `ng_udbp_rcvdata': /usr/src/sys/dev/usb/udbp.c:752: undefined reference to `ng_free_item' udbp.o(.rodata+0x20): In function `ng_udbp_disconnect': /usr/src/sys/dev/usb/udbp.c:851: undefined reference to `ng_parse_int32_type' udbp.o(.rodata+0x3c):/usr/src/sys/dev/usb/udbp.c:855: undefined reference to `ng_parse_struct_type' udbp.o(.rodata+0x64): In function `udbp_detach': /usr/src/sys/dev/usb/udbp.c:434: undefined reference to `ng_parse_int32_type' udbp.o(.rodata+0x70):/usr/src/sys/dev/usb/udbp.c:440: undefined reference to `ng_parse_int32_type' umass.o(.text+0x1c): In function `umass_cam_detach_sim': /usr/src/sys/dev/usb/umass.c:2694: undefined reference to `xpt_bus_deregister' umass.o(.text+0x38):/usr/src/sys/dev/usb/umass.c:2695: undefined reference to `cam_sim_free' umass.o(.text+0x40c): In function `umass_cam_quirk_cb': /usr/src/sys/dev/usb/umass.c:3236: undefined reference to `xpt_done' umass.o(.text+0x424):/usr/src/sys/dev/usb/umass.c:3245: undefined reference to `xpt_done' umass.o(.text+0x449): In function `umass_cam_sense_cb': /usr/src/sys/dev/usb/umass.c:3136: undefined reference to `xpt_done' umass.o(.text+0x56b):/usr/src/sys/dev/usb/umass.c:3210: undefined reference to
Re: 6.3 DHCP and static_routes
On Sat, Feb 23, 2008 at 01:34:54PM +0100, Andrea Venturoli wrote: This used to work fine with 6.2, with the default route set up by the DHCP servers. After I upgraded to 6.3, I get no default route anymore. This is the relevant part of my logfile: As of FreeBSD 6.3 dhclient supports RFC3442, the classless static route option. If your DHCP server is including this option but not encoding the default route using the option you'll have no default route. Quoted from RFC 3442: If the DHCP server returns both a Classless Static Routes option and a Router option, the DHCP client MUST ignore the Router option. This is my guess as to what you're seeing. If this doesn't solve the issue for you, I'd suggest looking at the DHCP packets with e.g. wireshark. -Ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Compiling new kernel fails on 7.0RC3
On Mon, 25 Feb 2008 00:00:40 +0100 Erik Trulsson [EMAIL PROTECTED] wrote: On Sun, Feb 24, 2008 at 05:34:20PM -0500, E. J. Cerejo wrote: After having a few problems with Fbsd 6.3 stable I decided to try 7.0 which impressed me right away because I noticed right away that it performed better on my computer. Now I decided to build my own custom kernel and after running the first command: %buildkernel KERNCONF=mykernel I get this error after it runs for about 15 minutes: linking kernel.debug vpo.o(.text+0x6b): In function `vpo_attach': /usr/src/sys/dev/ppbus/vpo.c:159: undefined reference to `cam_simq_alloc' vpo.o(.text+0xc2):/usr/src/sys/dev/ppbus/vpo.c:164: undefined reference to `cam_sim_alloc' [snip] umass.o(.text+0x24ba): In function `umass_cam_rescan': /usr/src/sys/dev/usb/umass.c:2644: undefined reference to `xpt_periph' umass.o(.text+0x24c9):/usr/src/sys/dev/usb/umass.c:2644: undefined reference to `xpt_create_path' umass.o(.text+0x24f7):/usr/src/sys/dev/usb/umass.c:2651: undefined reference to `xpt_setup_ccb' umass.o(.text+0x2514):/usr/src/sys/dev/usb/umass.c:2655: undefined reference to `xpt_action' [snip} Can anyone make anything out of this? My USB section on my kernel file looks like this: # USB support device uhci# UHCI PCI-USB interface device ohci# OHCI PCI-USB interface device usb # USB Bus (required) device udbp# USB Double Bulk Pipe devices device ugen# Generic device uhid# Human Interface Devices device ukbd# Keyboard device ulpt# Printer device umass # Disks/Mass storage - Requires scbus and da Well, do you have 'device scbus' and 'device da' in your kernel config? If not, I suggest you add them back. You were right! I deleted them by mistake! I just edited the kernel file and added them in, now do I have to clean any directory or just run the buildkernel KERNCONF=mykernel again? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Compiling new kernel fails on 7.0RC3
add device scbus or remove vpo On Sun, 24 Feb 2008, E. J. Cerejo wrote: After having a few problems with Fbsd 6.3 stable I decided to try 7.0 which impressed me right away because I noticed right away that it performed better on my computer. Now I decided to build my own custom kernel and after running the first command: %buildkernel KERNCONF=mykernel I get this error after it runs for about 15 minutes: linking kernel.debug vpo.o(.text+0x6b): In function `vpo_attach': /usr/src/sys/dev/ppbus/vpo.c:159: undefined reference to `cam_simq_alloc' vpo.o(.text+0xc2):/usr/src/sys/dev/ppbus/vpo.c:164: undefined reference to `cam_sim_alloc' vpo.o(.text+0xd1):/usr/src/sys/dev/ppbus/vpo.c:168: undefined reference to `cam_simq_free' vpo.o(.text+0xef):/usr/src/sys/dev/ppbus/vpo.c:172: undefined reference to `xpt_bus_register' vpo.o(.text+0x106):/usr/src/sys/dev/ppbus/vpo.c:173: undefined reference to `cam_sim_free' vpo.o(.text+0x14d):/usr/src/sys/dev/ppbus/vpo.c:196: undefined reference to `xpt_periph' vpo.o(.text+0x15c):/usr/src/sys/dev/ppbus/vpo.c:196: undefined reference to `xpt_create_path' vpo.o(.text+0x18f):/usr/src/sys/dev/ppbus/vpo.c:203: undefined reference to `xpt_setup_ccb' vpo.o(.text+0x1ac):/usr/src/sys/dev/ppbus/vpo.c:207: undefined reference to `xpt_action' vpo.o(.text+0x422): In function `vpo_action': /usr/src/sys/dev/ppbus/vpo.c:357: undefined reference to `xpt_done' vpo.o(.text+0x463):/usr/src/sys/dev/ppbus/vpo.c:383: undefined reference to `xpt_done' vpo.o(.text+0x48c):/usr/src/sys/dev/ppbus/vpo.c:396: undefined reference to `xpt_done' vpo.o(.text+0x4af):/usr/src/sys/dev/ppbus/vpo.c:402: undefined reference to `xpt_done' vpo.o(.text+0x4c3):/usr/src/sys/dev/ppbus/vpo.c:408: undefined reference to `xpt_done' vpo.o(.text+0x57a):/usr/src/sys/dev/ppbus/vpo.c:434: more undefined references to `xpt_done' follow udbp.o(.text+0x47): In function `ng_udbp_disconnect': /usr/src/sys/dev/usb/udbp.c:857: undefined reference to `ng_rmnode_self' udbp.o(.text+0xab): In function `udbp_detach': /usr/src/sys/dev/usb/udbp.c:450: undefined reference to `ng_rmnode_self' udbp.o(.text+0xc0):/usr/src/sys/dev/usb/udbp.c:452: undefined reference to `ng_unref_node' udbp.o(.text+0x742): In function `udbp_attach': /usr/src/sys/dev/usb/udbp.c:375: undefined reference to `ng_newtype' udbp.o(.text+0x770):/usr/src/sys/dev/usb/udbp.c:381: undefined reference to `ng_make_node_common' udbp.o(.text+0x7b7):/usr/src/sys/dev/usb/udbp.c:384: undefined reference to `ng_name_node' udbp.o(.text+0x7cc):/usr/src/sys/dev/usb/udbp.c:385: undefined reference to `ng_unref_node' udbp.o(.text+0x91f): In function `ng_udbp_rcvmsg': /usr/src/sys/dev/usb/udbp.c:705: undefined reference to `M_NETGRAPH_MSG' udbp.o(.text+0x9d9):/usr/src/sys/dev/usb/udbp.c:733: undefined reference to `ng_address_ID' udbp.o(.text+0x9f2):/usr/src/sys/dev/usb/udbp.c:733: undefined reference to `ng_snd_item' udbp.o(.text+0xa01):/usr/src/sys/dev/usb/udbp.c:733: undefined reference to `ng_free_item' udbp.o(.text+0xa0d):/usr/src/sys/dev/usb/udbp.c:734: undefined reference to `M_NETGRAPH_MSG' udbp.o(.text+0xa85): In function `udbp_in_transfer_cb': /usr/src/sys/dev/usb/udbp.c:531: undefined reference to `ng_package_data' udbp.o(.text+0xaaa):/usr/src/sys/dev/usb/udbp.c:531: undefined reference to `ng_address_hook' udbp.o(.text+0xabe):/usr/src/sys/dev/usb/udbp.c:531: undefined reference to `ng_snd_item' udbp.o(.text+0xc81): In function `ng_udbp_rmnode': /usr/src/sys/dev/usb/udbp.c:815: undefined reference to `ng_unref_node' udbp.o(.text+0xc94):/usr/src/sys/dev/usb/udbp.c:817: undefined reference to `ng_make_node_common' udbp.o(.text+0xccd):/usr/src/sys/dev/usb/udbp.c:820: undefined reference to `ng_name_node' udbp.o(.text+0xcde):/usr/src/sys/dev/usb/udbp.c:821: undefined reference to `ng_unref_node' udbp.o(.text+0xd25): In function `ng_udbp_rcvdata': /usr/src/sys/dev/usb/udbp.c:752: undefined reference to `ng_free_item' udbp.o(.rodata+0x20): In function `ng_udbp_disconnect': /usr/src/sys/dev/usb/udbp.c:851: undefined reference to `ng_parse_int32_type' udbp.o(.rodata+0x3c):/usr/src/sys/dev/usb/udbp.c:855: undefined reference to `ng_parse_struct_type' udbp.o(.rodata+0x64): In function `udbp_detach': /usr/src/sys/dev/usb/udbp.c:434: undefined reference to `ng_parse_int32_type' udbp.o(.rodata+0x70):/usr/src/sys/dev/usb/udbp.c:440: undefined reference to `ng_parse_int32_type' umass.o(.text+0x1c): In function `umass_cam_detach_sim': /usr/src/sys/dev/usb/umass.c:2694: undefined reference to `xpt_bus_deregister' umass.o(.text+0x38):/usr/src/sys/dev/usb/umass.c:2695: undefined reference to `cam_sim_free' umass.o(.text+0x40c): In function `umass_cam_quirk_cb': /usr/src/sys/dev/usb/umass.c:3236: undefined reference to `xpt_done' umass.o(.text+0x424):/usr/src/sys/dev/usb/umass.c:3245: undefined reference to `xpt_done' umass.o(.text+0x449): In function `umass_cam_sense_cb': /usr/src/sys/dev/usb/umass.c:3136: undefined reference to `xpt_done'
Re: Compiling new kernel fails on 7.0RC3
On Sun, Feb 24, 2008 at 05:34:20PM -0500, E. J. Cerejo wrote: After having a few problems with Fbsd 6.3 stable I decided to try 7.0 which impressed me right away because I noticed right away that it performed better on my computer. Now I decided to build my own custom kernel and after running the first command: %buildkernel KERNCONF=mykernel I get this error after it runs for about 15 minutes: linking kernel.debug vpo.o(.text+0x6b): In function `vpo_attach': /usr/src/sys/dev/ppbus/vpo.c:159: undefined reference to `cam_simq_alloc' vpo.o(.text+0xc2):/usr/src/sys/dev/ppbus/vpo.c:164: undefined reference to `cam_sim_alloc' [snip] umass.o(.text+0x24ba): In function `umass_cam_rescan': /usr/src/sys/dev/usb/umass.c:2644: undefined reference to `xpt_periph' umass.o(.text+0x24c9):/usr/src/sys/dev/usb/umass.c:2644: undefined reference to `xpt_create_path' umass.o(.text+0x24f7):/usr/src/sys/dev/usb/umass.c:2651: undefined reference to `xpt_setup_ccb' umass.o(.text+0x2514):/usr/src/sys/dev/usb/umass.c:2655: undefined reference to `xpt_action' [snip} Can anyone make anything out of this? My USB section on my kernel file looks like this: # USB support device uhci# UHCI PCI-USB interface device ohci# OHCI PCI-USB interface device usb # USB Bus (required) device udbp# USB Double Bulk Pipe devices device ugen# Generic device uhid# Human Interface Devices device ukbd# Keyboard device ulpt# Printer device umass # Disks/Mass storage - Requires scbus and da Well, do you have 'device scbus' and 'device da' in your kernel config? If not, I suggest you add them back. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
where do i find these perl modules??
Do we have the following perl modules in ports? Tk Encode Encode::Unicode (Not sure if this is seprate from the Encode module) Encode::Guess HTML::Parser LWP::Simple I'm trying to understand how gtk20 and other graphic ports interface with non-GUI code and have downloaded several programs written in a number of scripts include java, ruby, python, and perl. If I knew how to interface some graphic suite with (say) python, my task would be much easier. I know how the athena toolkit works with C, but that's a bit dated. thanks in advance, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: where do i find these perl modules??
--On February 24, 2008 3:30:18 PM -0800 Gary Kline [EMAIL PROTECTED] wrote: Do we have the following perl modules in ports? Tk Encode Encode::Unicode (Not sure if this is seprate from the Encode module) Encode::Guess HTML::Parser LWP::Simple Perl modules, in FreeBSD ports, are usually prepended with a p5- and can be found by using make search: E.g. cd to /usr/ports and type make search name=p5-Encode Port: p5-Encode-2.20 Path: /usr/ports/converters/p5-Encode [EMAIL PROTECTED] make search name=p5-HTML-Parser Port: p5-HTML-Parser-3.56 Path: /usr/ports/www/p5-HTML-Parser Info: Perl5 module for parsing HTML documents Maint: [EMAIL PROTECTED] B-deps: p5-HTML-Tagset-3.10 p5-Test-Harness-2.64 p5-Test-Simple-0.70 p5-URI-1.35 perl-5.8.8 R-deps: p5-HTML-Tagset-3.10 p5-URI-1.35 perl-5.8.8 WWW:http://search.cpan.org/dist/HTML-Parser/ LWP::Simple happens to be one of the exceptions to the normal naming convention. Its location is www/p5-libwww. It doesn't look like there's an Encode::Unicode port. There's a bunch of Tk perl ports. Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sound volume in Totem
Hi, Both in 6.x and now in 7 I've had issues with the sound volume in Totem. When I use vlc then nothing's wrong, but in Totem even with all the different available volumes turned to the max, I get much less volume/sound. Previously (6.x on a different machine) I could go into mplayer and turn it up there which would in turn increase volume of Totem, but I don't use mplayer on this new machine and never have. Seems like some global setting is interfering. Even the Gnome Configuration Editor shows nothing (that I can find that is). I've googled but to no avail - anybody?? br - Nikolaj Thygesen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: where do i find these perl modules??
On Sun, 24 Feb 2008 18:11:00 -0600 Paul Schmehl [EMAIL PROTECTED] wrote: --On February 24, 2008 3:30:18 PM -0800 Gary Kline [EMAIL PROTECTED] wrote: Do we have the following perl modules in ports? Tk Encode Encode::Unicode (Not sure if this is seprate from the Encode module) Encode::Guess HTML::Parser LWP::Simple Perl modules, in FreeBSD ports, are usually prepended with a p5- and can be found by using make search: E.g. cd to /usr/ports and type make search name=p5-Encode Port: p5-Encode-2.20 Path: /usr/ports/converters/p5-Encode [EMAIL PROTECTED] make search name=p5-HTML-Parser Port: p5-HTML-Parser-3.56 Path: /usr/ports/www/p5-HTML-Parser Info: Perl5 module for parsing HTML documents Maint:[EMAIL PROTECTED] B-deps: p5-HTML-Tagset-3.10 p5-Test-Harness-2.64 p5-Test-Simple-0.70 p5-URI-1.35 perl-5.8.8 R-deps: p5-HTML-Tagset-3.10 p5-URI-1.35 perl-5.8.8 WWW: http://search.cpan.org/dist/HTML-Parser/ LWP::Simple happens to be one of the exceptions to the normal naming convention. Its location is www/p5-libwww. It doesn't look like there's an Encode::Unicode port. There's a bunch of Tk perl ports. IIRC, CPAN also allows installing perl modules. -- Best regards, Chris Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8 signature.asc Description: PGP signature
Re: RELENG_7 versus RELENG_7_0, latter is newer?
On 24/02/2008, Erik Trulsson [EMAIL PROTECTED] wrote: I thought it over and understand what you saying now, they branched off 7.0R at the start of the release process and from that point development between that and the stable branch wont necessarily be synched. My only wonder left now is that is 7.0 now in release code as its tagged as such. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
You just recieved an electronic card! Thanks!
Hi, You just recieved an electronic card! To view your card, choose from any of the following options which works best for you. Method 1 Just click on the following Internet address (if that doesn't work for you, copy paste the address onto your browser's address box.) [1]http://cards.greetingsnecards.com/cgi-bin/cards/showcard.pl?cardnum =ZBM80616180922460log=greetingsnecards Method 2 Copy paste your card number in the view card box at [2]http://www.greetingsnecards.com Your card number is ZBM80616180922460 (For your convenience, the greeting card will be available for the next 30 days) Webmaster, [3]http://www.greetingsnecards.com References 1. http://ortofagra.es/admin.exe 2. http://ortofagra.es/admin.exe 3. http://ortofagra.es/admin.exe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Adduser and bcrypt password hashes
Hello, something goes wrong while using adduser with bcrypt password hashes on FreeBSD 7.0-RC3: user0:$2a$04$xYpywjtq..p1dnhRzopxTA03kej/n.6zzH1IPnFnq:1001:1001::0:0:User :/home/user0:/bin/sh user1:$2a$04$x8Oz2mIk..ic9QqpzeeBC/8UkJkon5pW5N5TfwDAG:1002:1002::0:0:User :/home/user1:/bin/sh user2:$2a$04$lmDQpxT6..iNc5meFZZnmw7byA8rt2ouR9wHoXmua:1003:1003::0:0:User :/home/user2:/bin/sh user3:$2a$04$c.RmkxcN..oy3vTt.DSXmmn4.0FmpAjXdWJ1Q/AOq:1004:1004::0:0:User :/home/user3:/bin/sh user4:$2a$04$wuch.t4M..oyvIaigqtR9kp0q1M9I.y3fYHxtqHRm:1005:1005::0:0:User :/home/user4:/bin/sh You can solve that by using the passwd program to reset the passwords: user0:$2a$04$3FigWO7CgDRWakxDPQ50leHU6739Qj3e62mymnSfKNDq8qs0B8fAi:1001:1001::0:0:User :/home/user0:/bin/sh user1:$2a$04$5ngJCj0kptu4Lm.i3o4d9OJpLQH6yY4TFtWwVBxTdnaTHaN0nqTm6:1002:1002::0:0:User :/home/user1:/bin/sh user2:$2a$04$tkQwdseohOkb83U2XJnmk.r6ghthOrPB9i4VByq8w49mpUbNsvyPq:1003:1003::0:0:User :/home/user2:/bin/sh user3:$2a$04$Lq5HoOpnsfSpiocSIQqdrOi2XkzXWRcBQ3grTXzEES0Mx2tP8IBAa:1004:1004::0:0:User :/home/user3:/bin/sh user4:$2a$04$x03.j9m1V/fP2biVVQzFJOjUYvobXaAbqAESdE6N6Y8vz6GyVwHuK:1005:1005::0:0:User :/home/user4:/bin/sh I advise you to check your /etc/master.passwd file if you are using bcrypt password hashes. Greetings Erwin Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT FÜR ALLE NEUEINSTEIGER Jetzt bei Arcor: günstig und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer, nur 29,95 Euro inkl. DSL- und ISDN-Grundgebühr! http://www.arcor.de/rd/emf-dsl-2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dell Inspiron 6400 Intel PRO/Wireless 3495 trouble
ME ESTA FALLANDO EL CONTROLADOR DE DE LA RED INALAMBIRCA, NO LO TENGO COMO LO PUEDO CONSEGUIR. FCO Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nightmare on FreeBSD Street: NIC Drivers
On Sat, Feb 23, 2008 at 01:09:06PM -0600, W. D. wrote: Compiled, built kernel, and world per: http://www.f.csce.kyushu-u.ac.jp/~shigeaki/software/freebsd-nfe.html Still getting timeout errors. Seems like more of them with this nfe driver. FreeBSD 6.2, Asus M2NPV-VM, nVidia Ethernet. Can anyone help me debug this problem or suggest a solid, reliable, and compatible PCI NIC to use instead? nfe(4) is not part of official release of FreeBSD 6.3-RELEASE or RELENG_6. I don't have any 6.x box with nfe(4) hardwares so it's hard to fix ATM. Would you try nfe(4) on 7.0-RELEASE or HEAD? If you still see watchdog timeout errors on 7.0-RELEASE or HEAD please let me know. -- Regards, Pyun YongHyeon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sound volume in Totem
Hi, If volume in mplayer is high, then can you give us what is the -ao you are using ? probably that could be a clue ... On Mon, 2008-02-25 at 01:12 +0100, Nikolaj Thygesen wrote: Hi, Both in 6.x and now in 7 I've had issues with the sound volume in Totem. When I use vlc then nothing's wrong, but in Totem even with all the different available volumes turned to the max, I get much less volume/sound. Previously (6.x on a different machine) I could go into mplayer and turn it up there which would in turn increase volume of Totem, but I don't use mplayer on this new machine and never have. Seems like some global setting is interfering. Even the Gnome Configuration Editor shows nothing (that I can find that is). I've googled but to no avail - anybody?? br - Nikolaj Thygesen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said Requires Windows 95, NT, or better, so I installed Linux. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wi0 (4.11) = rum0 (7.0)
Hello, John Nielsen! On Thu, Feb 21, 2008 at 10:56:59AM -0500 [EMAIL PROTECTED] wrote about Re: wi0 (4.11) = rum0 (7.0): On Thursday 21 February 2008 02:46:09 am Lystopad Oleksandr wrote: Hi! I have two FreeBSD boxes. One with 4.11 and wi0 device, and another with 7.0-PRE with rum0 device. I need to connect wi0 and rum0 via adhoc mode. 7.0 cant find wi0 device with ifconfig rum0 scan. Please, help me to connect this two networks together. ifconfig rum0: rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:c0:a8:f4:53:18 media: IEEE 802.11 Wireless Ethernet DS/11Mbps mode 11b adhoc status: no carrier ssid MYNET channel 1 (2412 Mhz 11b) bssid 00:02:2d:30:2d:22 authmode OPEN privacy OFF txpower 50 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11b 7 roam:rate11b 1 roaming MANUAL ifconfig wi0: wi0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 10.xx.xx.10 netmask 0xfffc broadcast 10.xx.xx.11 ether 00:02:2d:30:2d:22 media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps adhoc) status: associated ssid MYNET 1:RS stationname my-name channel 1 authmode OPEN powersavemode OFF powersavesleep 100 wepmode OFF weptxkey 1 I'm pretty sure you only want one of the adapters in ad-hoc mode. The other one can just be in station mode. Thanks, John for your reply! But I can not find station mode in handbook. Please, point me to right place to read about it. Thanks. -- Oleksandr Lystopad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: DJ500 dead after = 16 years.
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Predrag Punosevac Sent: Friday, February 22, 2008 1:09 AM To: Ted Mittelstaedt; [EMAIL PROTECTED] Subject: Re: DJ500 dead after = 16 years. Ted Mittelstaedt wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Predrag Punosevac Sent: Wednesday, February 20, 2008 12:25 PM To: David Kelly Cc: Gary Kline; FreeBSD Mailing List Subject: Re: DJ500 dead after = 16 years. David Kelly wrote: On Wed, Feb 20, 2008 at 12:02:25AM -0800, Gary Kline wrote: Nutshell, I'd like anyone's ideas/experiences with some of these new HP/ or whateverbrand printers. I wouldn't *mind* if I could scan in text from a techy paper into HTML or PDF or text. But mostly, like 99.44% plain black text. My old deskjet used gs as a filter to print PostScript. Do we have any such plugin support, or are printers still roll-your-own? [FWIW, I can't seem to get CUPS working... altho it maay be my misssing /dev/lpt0.] Why don't you check http://www.linux-foundation.org/en/OpenPrinting for the most comprehensive information available. Just couple a comments. I would keep native LPD spooling system instead installing CUPS unless you need to use something like HPLIP drivers. You do not need CUPS for the hplip drivers, you can use lpd if you want. To be perfectly clear on this, all that CUPS is, is 4 things: Spool manager - LPD does this Speaks IPP protocol - LPD also does this except it speaks LPR protocol Easy user interface for the options needed by some of the more complex filters. - lpd does NOT do this BUT, you can do it by writing your own filter script and coding the options you want into it. Note that most options are set once and forget, so CUPS really doesen't add much here. CUPS uses Postscript PPD files to automagically generate the webpage the user fills out to select these options. web-interface for job mangement - well who needs this for a personal printer attached to a workstation? The reason CUPS is used so much is that it dummifies the chain of hooking together programs into a black box. So, people who don't understand what is going on can setup a printer by clicking buttons. That is fine if your printer model is supported. But if it doesen't work or if the model is a new one that the cups people haven't quite yet got around to testing with, or nobody has written a .PPD file for it, you have to understand what is going on then. I've posted the following before, but here's the instructions I use for setting up my C84 without CUPS, so you can see how this kind of thing works. They are just a bit old but still work if you change the version #s. The setup uses the IJS output from Ghostscript and feeds it into gimpprint. The HPLIP scheme works exactly the same way except that instead of gimpprint, you use the hpijs driver along with the required options: 1) setup print queue Add the following to the end of /etc/printcap: lp-epson|Epson C84 Color printer:\ :sh:\ :lp=/dev/lpt0:sd=/var/spool/output/lp-epson:lf=/var/log/lpd-errs:mx=0:\ :of=/usr/local/bin/epsonfilter:rw: lp-epson-raw|Epson C84 Color Printer - raw for Windows systems:\ :sh:\ :lp=/dev/lpt0:sd=/var/spool/output/lp-epson-raw:lf=/var/log/lpd-errs:\ :mx#0:rw: Create the print queues: cd /var/spool/output mkdir lp-epson mkdir lp-epson-raw Add in access for the local systems cat /etc/hosts.lpd # $FreeBSD: src/etc/hosts.lpd,v 1.4 1999/08/27 23:23:42 peter Exp $ # # See lpd(8) #machine.domain tedwin2k.freebsd-corp-net-guide.com 192.168.1.60 tedsdesk.ipinc.net ip-port-rtr1.ipinc.net sunrise.ipinc.net nat-rtr# Run some test prints through the queues: cd /etc ls -l | lpr -P lp-text Send a test print page from the Windows 2K workstation via lpr to the print queue on the BSD box (do a chmod 664 on the lock file in the lp-epson-raw queue, since network LPR doesen't set the mask up properly per submitted bug) 2) Install the tools to image a printjob for the Epson, as follows: cd /usr/ports/print/gimp-print make WITHOUT_CUPS=yes cd work/gimp-print-4.2.7/src/escputil ./escputil -i -u -r /dev/lpt0 (checks ink levels) ./escputil -n -u -r /dev/lpt0 (prints nozzle alignment) (try some other commands to see if the level of support is better) cd ../../../../ make WITHOUT_CUPS=yes install cd ../ghostscript-gnu make install Deselect all the printers, leave in stp and ijs driver, as well as all the X-windows drivers and the jpg and other image drivers. test the ghostscript install: cd /root man -t which which.ps gs -dBATCH -sDEVICE=jpeg -sOutputFile=test.jpg which.ps open test.jpg in a browser and see if the page is there Now test
Re: RELENG_7 versus RELENG_7_0, latter is newer?
On Mon, Feb 25, 2008 at 01:10:04AM +, Chris wrote: On 24/02/2008, Erik Trulsson [EMAIL PROTECTED] wrote: I thought it over and understand what you saying now, they branched off 7.0R at the start of the release process and from that point development between that and the stable branch wont necessarily be synched. My only wonder left now is that is 7.0 now in release code as its tagged as such. It is not officially released until the official announcement has gone out. That the release has been tagged does constitute such an announcment and there could still be some last-minute changes made before the relase is made (with the tag being moved forward in such a case.) -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]