The FreeBSD Diary: 2006-06-25 - 2006-07-15
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. These are the articles posted during this period: 14-Jul : Feedcreator - make your newsfeeds the easy way! A simple and easy to use PHP class for creating news feeds in various formats. http://freebsddiary.org/feedcreator.php?2 9-Jul : More dual opteron images More close ups, easier to find what you need http://freebsddiary.org/dual-opteron-pictures.php?2 4-Jul : Sponsors wanted I'm looking for sponsors with 8 SATA II drives and AMD dual core chips http://freebsddiary.org/sponsors-wanted.php?2 26-Jun : IBM ThinkPad T41 - a second battery This isn't about a spare battery, it's about two batteries in the one laptop. http://freebsddiary.org/ibm-thinkpad-t41-second-battery.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem compiling devel/newt
Hi, I tried to compile devel/newt today, but I got the following errormessage: ---cut--- cc -O1 -pipe -march=pentiumpro -I/usr/local/include -I/usr/local/include -c scale.c cc -O1 -pipe -march=pentiumpro -I/usr/local/include -I/usr/local/include -c grid.c cc -O1 -pipe -march=pentiumpro -I/usr/local/include -I/usr/local/include -c windows.c cc -O1 -pipe -march=pentiumpro -I/usr/local/include -I/usr/local/include -c buttonbar.c cc -O1 -pipe -march=pentiumpro -I/usr/local/include -I/usr/local/include -c checkboxtree.c ar q libnewt.a newt.o button.o form.o checkbox.o entry.o label.o listbox.o scrollbar.o textbox.o scale.o grid.o windows.o buttonbar.o checkboxtree.o ar: creating libnewt.a ranlib libnewt.a cc -O1 -pipe -march=pentiumpro -I/usr/local/include -I/usr/local/include -c test.c cc -g -L/usr/local/lib -L/usr/local/lib -o test test.o libnewt.a -lslang -lm -lpopt -lncurses -static /usr/local/lib/libslang.a(sldisply.o)(.text+0x2bdc): In function `SLtt_tgetstr': : undefined reference to `tgetstr' /usr/local/lib/libslang.a(sldisply.o)(.text+0x2c3b): In function `SLtt_tgetnum': : undefined reference to `tgetnum' /usr/local/lib/libslang.a(sldisply.o)(.text+0x2c6b): In function `SLtt_tgetflag': : undefined reference to `tgetflag' /usr/local/lib/libslang.a(sldisply.o)(.text+0x2e83): In function `SLtt_initialize': : undefined reference to `tgetent' *** Error code 1 Stop in /usr/ports/devel/newt/work/newt-0.51.0. *** Error code 1 Stop in /usr/ports/devel/newt. ---cut--- I have FreeBSD 6.1 running. Is the port broken? I have checked bugs.freebsd.org but could not found any bug reported for this port with this errormessage. Thx for help, Matthias ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Port for Perl modules
Nikolas Britton wrote: On 7/14/06, Gerard Seibert [EMAIL PROTECTED] wrote: Sorry if I asked this before, but does anyone know if there is a port for the following Perl modules: 1) Net-SMTP-SSL 2) Bundle Libnet http://www.freebsd.org/cgi/ports.cgi?query=p5stype=all That was probably the first thing I did. Unfortunately, the ports tree does not list Perl modules as they are listen on CPAN. Consequently, finding the exact module can sometimes be a challenge. In this particular case, I have not been able to isolate either of the two modules list above. I find it hard to believe that neither of them has been ported however, especially since so many obscure modules do reside in the ports tree. I donno... try: http://www.freebsd.org/cgi/url.cgi?ports/mail/p5-Net-SMTP-TLS/pkg-descr http://www.freebsd.org/cgi/url.cgi?ports/net/libnet10/pkg-descr The /net/libnet10 port might be the same as the CPAN Bundle-Libnet module(s). I will have to investigate that one. However, the /mail/p5-Net_SMTP-TLS port is not the same as the CPAN Net-SMTP-SSL module, which is the one I am looking for. CPAN lists both the Net::SMTP::SSL and Net::SMTP::TLS modules. They are not identical. I need the Net::SMTP::SSL module for a Perl program that I am using. It is required by the program. Thanks anyway. I will probably just use CPAN to install the modules. -- Gerard Seibert [EMAIL PROTECTED] Why does the bride always wear white? Because it is good for the dishwasher to match the stove and refrigerator. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB and 6.1-RELEASE
I've searched through and browsed the archives, and can't find anything that helps me with this. I've recently gotten my Compaq SR1910NX up and running on FreeBSD 6.1, but am having trouble getting it to recognize my SwingDrive umass device (USB 2.0, 512MB). The only thing that's different from this machine's from-the-factory configuration is the addition of a Linksys WMP55AG wireless card, which is working just fine thanks to the ath driver. I know the USB controller is working because both my USB keyboard and my USB mouse function (though the keyboard (a Happy Hacking Lite 2) is a little quirky ... when I hold down the shift key to type a word in all caps, it doubles up the letters LIKEKE THTHIISS sometimes, and I still haven't gotten Xorg to recognize the scroll wheel on the mouse). scbus, da, pass, ohci, uhci, ehci, usb, udbp, ugen, uhid, ukbd, ulpt, umass, ums, ural, urio and uscanner are all enabled in the running kernel's /usr/src/sys/i386/conf config file. usbd is not running. When I try to start usbd I get the following: No USB host controllers found. There are no usb* devices listed in /dev. in dmesg I get the following with regard to ohci0 and ehci0: ohci0: OHCI (generic) USB controller mem 0xfe02f000-0xfe02 at device 11.0 on pci0 pcib0: unable to route slot 11 INTA ohci0: Could not allocate irq device_attach: ohci0 attach returned 6 ehci0: EHCI (generic) USB 2.0 controller mem 0xfe02e000-0xfe02e0ff at device 1 1.1 on pci0 pcib0: unable to route slot 11 INTB ehci0: Could not allocate irq device_attach: ehci0 attach returned 6 When I plug the drive into any of the USB ports on the system, nothing happens in dmesg or /var/log/messages. camcontrol devlist lists no devices. I'm a bit confused as to why my USB keyboard and mouse function, but my thumb drive will not. Any ideas? Did I miss something in the kernel config? Do I need to enable something in rc.conf? According to what's in the FreeBSD handbook, this should be working ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ADSL Internet Sharing
Hi, I have some problems sharing my adsl internet connection between my FreeBSD 6.0 Box (server) and my Ubuntu 6.0.6 box (client). I use a crossover cable to connect the two PCs and on the FreeBSD PC I have an onboard network card (fxp0) and an wireless card (ural0) and on my Ubuntu box I have one NIC (eth0). My goal is to have my internet connection shared. The router I use to have internet access from my BSD box is downstairs so I connect to the internet via my wireless card. The ip address of the router is 192.168.1.1 and of my fxp0 interface 192.168.0.1. Of my eth0 is 192.168.0.2. I have set on Ubuntu as gateway 192.168.0.1 (my BSD box's address). Also i can ping the two pc from each other, but from ubuntu i cannot ping the router or any internet address. I have the following to my /etc/rc.conf gateway_enable=YES firewall_enable=YES firewall_type=OPEN natd_enable=YES natd_interface=fxp0 natd_flags= and the option described on the Handbook compiled in the Kernel. What i missing? thanks in advance andreas Sotirakopoulos ___ All New Yahoo! Mail Tired of [EMAIL PROTECTED]@! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Apache 2 in 6.0 jails: Connection refused: connect to listener on 0.0.0.0:80
I wrote: Hi, Every now and then, Apache 2.2.2 starts filling my httpd-error.log with thousands of lines like: [Sat Jul 08 20:57:32 2006] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80 [Sat Jul 08 20:57:33 2006] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80 [Sat Jul 08 20:57:34 2006] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80 [Sat Jul 08 20:57:35 2006] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80 [Sat Jul 08 20:57:36 2006] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80 [Sat Jul 08 20:57:37 2006] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80 [Sat Jul 08 20:57:38 2006] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80 [Sat Jul 08 20:57:39 2006] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80 [Sat Jul 08 20:57:40 2006] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80 I'm running Apache in FreeBSD 6.0 RELEASE-p2 jails. Restarting Apache cures the problem for some time, until the problem appears again. It is not that frequent, but the servers are not much loaded either. I think I saw this problem appear with Apache 2.0, 2.1, and 2.2, so it's apparently here for a while. And others had this problem too: http://groups.google.ch/group/lucky.freebsd.apache/browse_thre ad/thread/7a5735ae7a3a4c2d/e2d0d9ba4ad7266e?lnk=stq=Connectio n+refused%3A+connect+to+listener+on+0.0.0.0%3A80rnum=1 hl=de#e2d0d9ba4ad7266e I'm pretty sure this problem must be BSD or Jails specific. Does anyone have the same problem, or maybe a workaround? Note that Lighttpd NEVER had this problem on this server. One more precision: of course, when apache starts filling the log with Connection refused: connect to listener on 0.0.0.0:80, the web server does not respond anymore, until I restart it. Hi again, I did some further tests with Apache under FreeBSD 6.0 - Jail, and unfortunately, there is still the same annoying problem: suddenly the log starts being filled with hundreds of lines Connection refused: connect to listener on 0.0.0.0:80, and Apache does not respond anymore. I have a log example, that shows the Apache freeze: -- [Sat Jul 15 14:25:36 2006] [error] [client 66.147.238.238] File does not exist: /home/verticaldrape/www/data/adserver [Sat Jul 15 14:25:37 2006] [error] [client 66.147.238.238] File does not exist: /home/verticaldrape/www/data/phpAdsNew [Sat Jul 15 14:25:37 2006] [error] [client 66.147.238.238] File does not exist: /home/verticaldrape/www/data/phpadsnew [Sat Jul 15 14:25:37 2006] [error] [client 66.147.238.238] File does not exist: /home/verticaldrape/www/data/phpads [Sat Jul 15 14:25:37 2006] [error] [client 66.147.238.238] File does not exist: /home/verticaldrape/www/data/Ads [Sat Jul 15 14:25:38 2006] [error] [client 66.147.238.238] File does not exist: /home/verticaldrape/www/data/ads [Sat Jul 15 14:25:38 2006] [error] [client 66.147.238.238] script '/home/verticaldrape/www/data/xmlrpc.php' not found or unabl e to stat [Sat Jul 15 14:25:39 2006] [error] [client 66.147.238.238] File does not exist: /home/verticaldrape/www/data/xmlrpc [Sat Jul 15 14:25:39 2006] [error] [client 66.147.238.238] File does not exist: /home/verticaldrape/www/data/xmlsrv [Sat Jul 15 14:25:39 2006] [error] [client 66.147.238.238] File does not exist: /home/verticaldrape/www/data/blog [Sat Jul 15 14:25:39 2006] [error] [client 66.147.238.238] File does not exist: /home/verticaldrape/www/data/drupal [Sat Jul 15 14:25:40 2006] [error] [client 66.147.238.238] File does not exist: /home/verticaldrape/www/data/community [Sat Jul 15 14:25:40 2006] [error] [client 66.147.238.238] File does not exist: /home/verticaldrape/www/data/blogs [Sat Jul 15 14:25:40 2006] [error] [client 66.147.238.238] File does not exist: /home/verticaldrape/www/data/blogs [Sat Jul 15 14:25:40 2006] [error] [client 66.147.238.238] File does not exist: /home/verticaldrape/www/data/blog [Sat Jul 15 14:25:41 2006] [error] [client 66.147.238.238] File does not exist: /home/verticaldrape/www/data/blogtest [Sat Jul 15 14:25:41 2006] [error] [client 66.147.238.238] File does not exist: /home/verticaldrape/www/data/b2 [Sat Jul 15 14:25:42 2006] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80 [Sat Jul 15 14:25:43 2006] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80 [Sat Jul 15 14:25:44 2006] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80 [Sat Jul 15 14:25:45 2006] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80 [Sat Jul 15 14:25:46 2006] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80 [Sat Jul 15 14:25:47 2006] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80 [Sat Jul 15 14:25:48 2006] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80 [Sat Jul 15 14:25:49 2006] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80
gmirror usage on 6.1 RELEASE?
I'm trying to set up a new machine (Sun Ultra 40) with a mirrored system disk. But I'm having a bit of a problem with the inital gmirror command. Acording to the Handbook, I should be able to do something like: gmirror lable -vnb round-robin load rootfs /dev/ad4 ( /dev/ad4 is the boot disk) But when I do this, I get an error message with the syntax of gmirror. I'm doing this while booted from the 6.1 RELEASE CD (1) and after having kldloadeded geom_mirror Anyone got any ideas here? -- U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong Terror - New York Times 9/3/1967 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gmirror usage on 6.1 RELEASE?
stan wrote: gmirror lable -vnb round-robin load rootfs /dev/ad4 Anyone got any ideas here? Yes. It's 'label' not lable. And you can't have both 'round-robin' and 'load' as the load-balance type: choose one or the other. Follow this guide for best results: http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: DL360 G4 shared network iLo and FreeBSD
On Sat, 15 Jul 2006 14:13:57 -0700 Eric Lakin [EMAIL PROTECTED] wrote: I'm trying to setup a DL360 G4 for use in a colo environment with FreeBSD. I've run into one problem: I've setup the iLo to use the shared network option, which allows the iLo to share the same network interface as the host computer. But the iLo hangs whenever the FreeBSD kernel loads. FWIW, we have a bunch of 360s but running the iLo independently from the main card. They work just great, but never tried them on the other setting. Beto When booting the system, it gets this far before the ilo is hangs: ? Select option, [Enter] for default ? ? or [Space] to pause timer 2 ? ??? Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-RELEASE-p2 #0: Sat Jul 15 01:36:17 PDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP ACPI APIC Table: HP 0083 The system continues to boot OK, so I can provide further information as needed. When the ilo is hung, it no longer responds to pings/ssh. As soon as FreeBSD is rebooted, the iLo becomes responsive again without any intervention. I've also tried loading a test linux installation, to see if the same thing happens. The iLo continues to function normally (doesn't hang) when running linux. Anybody have an idea what FreeBSD is doing to hang the iLo in this situation, and how to keep it from doing so? ___ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gmirror usage on 6.1 RELEASE?
On Sun, Jul 16, 2006 at 02:53:24PM +0100, Matthew Seaman wrote: stan wrote: gmirror lable -vnb round-robin load rootfs /dev/ad4 Anyone got any ideas here? Yes. It's 'label' not lable. And you can't have both 'round-robin' and 'load' as the load-balance type: choose one or the other. OSorry for the typo in the message. So here is what I tried next: gmirror label -vnb load rootfs /dev/ad4 And, now I get Unkown Command: label What am I doing wrong? -- U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong Terror - New York Times 9/3/1967 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ADSL Internet Sharing
andreas Sotirakopoulos wrote: Hi, I have some problems sharing my adsl internet connection between my FreeBSD 6.0 Box (server) and my Ubuntu 6.0.6 box (client). I use a crossover cable to connect the two PCs and on the FreeBSD PC I have an onboard network card (fxp0) and an wireless card (ural0) and on my Ubuntu box I have one NIC (eth0). My goal is to have my internet connection shared. The router I use to have internet access from my BSD box is downstairs so I connect to the internet via my wireless card. The ip address of the router is 192.168.1.1 and of my fxp0 interface 192.168.0.1. Of my eth0 is 192.168.0.2. I have set on Ubuntu as gateway 192.168.0.1 (my BSD box's address). Netmask? Always indicate your ip-address as IP-address/CIDR. Also i can ping the two pc from each other, but from ubuntu i cannot ping the router or any internet address. I have the following to my /etc/rc.conf gateway_enable=YES firewall_enable=YES firewall_type=OPEN natd_enable=YES natd_interface=fxp0 natd_flags= and the option described on the Handbook compiled in the Kernel. What i missing? I don't know anything about ipfw, or natd, I assume you checked that? Two things to do: * Check your firewall log, if no logging is done, add log rules to see where packets are caught. * Try sniffing on the interfaces on the BSD box with tcpdump or snort. Is the DSL smart enough to figure out to return the icmp? Maybe it doesn't guess that a reply should go out on the same interface as the request was received: The dsl does likely not know about your network between your two machines, so instead of returning the ping on the wireless interface that received the ping it is sent off to the default gateway which goes to the internet. If that is the case you must add routing to your 192.168.0.0/24 network on the DSL. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 smime.p7s Description: S/MIME Cryptographic Signature
RE: SMP Performance (Was: Re: Are hardware vendors starting to bail ... )
On Thu, 13 Jul 2006, Tamouh H. wrote: I have to put my two cents here: 1) I agree with few posters that FreeBSD performance have been lacking behind. I've reported few issues on performance list and many did. We offered few pre-production servers for performance testing, but the answer we keep getting is: a. It is either your hardware sucks b. your benchmark application sucks 'k, here's to all the performance folks ... how should someone test performance? a. actually doesn't apply, as long as your performance testing is being done apples to apples as far as hardware is concerned ... if I create a dual-boot system, with FreeBSD 4.x and FreeBSD 6.x on a machine, and run *accepted performance / benchmark applications*, and compare those results, one would hope that 6.x performance fater/better then 4.x ... 2) Regarding SMP, few posts talked about disabling hyper-thread and SMP because it causes a performance degradation. On production hosting server, the experience was otherwise though. Without HT and SMP, the server would sky rocket in resource consumption. This has been tested on FBSD 5.4 i386 Personally, I've never found HT to be a performance boost, and I run 9 'production hosting servers' ... I can actually feel the difference between turning it on/off ... not sure what you mean by 'sky rocket in resource consumption', but all my Dual Xeon servers have HTT disabled, and I'm not noticing anything odd ... if you could elaborate on how you are seeing this, I can check on my machine to see if I see similar ... 3) I'm also frustrated like many with the rapid advancement in release jumps. We barely started 5.x to conclude it does not live up to expectations, so now 6.x is suppoused to be the good version, yet 7.x is going to come out soon and probably in less than a year 6.x will be considered inadequate. As to this one ... 5.x built up a very very bad reputation for itself, so basically 'skipping' that one makes sense ... I know I wouldn't trust a new version of 5.x coming out ... 6.x, other then the file system deadlocks which I'm trying to provide suitable DDB traces for, I've not noticed anything wrong with 6.x ... The jump from 6.x to 7.x does seem a bit ... quick ... but, then again, 7.x hasn't been released yet, and I think its safe to say that we all know that in software development, 'release estimates' are almost never accurate ... The problem, as I see it, is that until the OS gets used in real life production environments, some of the more obscure bugs don't get found ... on a simple production server, not doing much, I doubt anyone would ever see the file system deadlocks ... but, there are several of us that are running it in production with heavy loads that do ... but it takes a good load on the machine to trigger it, and I doubt any of the developers have that to work with, and/or can easily simulate the 'randomness' of a production environment ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Bluetooth adapter on the FreeBSD.
I have the 100m USB bluetooth adapter. It's adapter is supported by ng_ubt module and not really work. It's the log: --8---cut here---start-8--- ubt0: vendor 0x1131 ISSCBTA, class 224/1, rev 1.10/3.73, addr 3 on uhub0 ubt0: vendor 0x1131 ISSCBTA, rev 1.10/3.73, addr 3 ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPack etSize=49; nframes=6, buffer size=294 WARNING: attempt to net_add_domain(bluetooth) after domainfinalize() WARNING: attempt to net_add_domain(netgraph) after domainfinalize() ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x3 , OCF=0x3. Timeout --8---cut here---end---8--- ~#hccontrol -n ubt0hci initialize hccontrol: Could not find HCI nodes ~#ngctl types There are 7 total types: Type name Number of living nodes - -- socket 1 btsock_l2c 1 btsock_l2c_raw 1 btsock_hci_raw 1 l2cap 0 hci 0 ubt 1 ~#ngctl status ubt0 ngctl: send msg: No such file or directory Why it's is not work? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SMP Performance (Was: Re: Are hardware vendors starting to bail ... )
On 2006-07-16 11:45, User Freebsd [EMAIL PROTECTED] wrote: The problem, as I see it, is that until the OS gets used in real life production environments, some of the more obscure bugs don't get found ... on a simple production server, not doing much, I doubt anyone would ever see the file system deadlocks ... but, there are several of us that are running it in production with heavy loads that do ... but it takes a good load on the machine to trigger it, and I doubt any of the developers have that to work with, and/or can easily simulate the 'randomness' of a production environment ... Well said! Very much to the point, with reasonable, realistic arguments, as always, Marc :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB and 6.1-RELEASE
Rich Demanowski wrote: I've searched through and browsed the archives, and can't find anything that helps me with this. I've recently gotten my Compaq SR1910NX up and running on FreeBSD 6.1, but am having trouble getting it to recognize my SwingDrive umass device (USB 2.0, 512MB). The only thing that's different from this machine's from-the-factory configuration is the addition of a Linksys WMP55AG wireless card, which is working just fine thanks to the ath driver. I know the USB controller is working because both my USB keyboard and my USB mouse function (though the keyboard (a Happy Hacking Lite 2) is a little quirky ... when I hold down the shift key to type a word in all caps, it doubles up the letters LIKEKE THTHIISS sometimes, and I still haven't gotten Xorg to recognize the scroll wheel on the mouse). scbus, da, pass, ohci, uhci, ehci, usb, udbp, ugen, uhid, ukbd, ulpt, umass, ums, ural, urio and uscanner are all enabled in the running kernel's /usr/src/sys/i386/conf config file. usbd is not running. When I try to start usbd I get the following: No USB host controllers found. There are no usb* devices listed in /dev. in dmesg I get the following with regard to ohci0 and ehci0: ohci0: OHCI (generic) USB controller mem 0xfe02f000-0xfe02 at device 11.0 on pci0 pcib0: unable to route slot 11 INTA ohci0: Could not allocate irq device_attach: ohci0 attach returned 6 ehci0: EHCI (generic) USB 2.0 controller mem 0xfe02e000-0xfe02e0ff at device 1 1.1 on pci0 pcib0: unable to route slot 11 INTB ehci0: Could not allocate irq device_attach: ehci0 attach returned 6 When I plug the drive into any of the USB ports on the system, nothing happens in dmesg or /var/log/messages. camcontrol devlist lists no devices. I'm a bit confused as to why my USB keyboard and mouse function, but my thumb drive will not. Any ideas? Did I miss something in the kernel config? Do I need to enable something in rc.conf? According to what's in the FreeBSD handbook, this should be working ... It's likely that your BIOS has legacy support enabled in which case, as far as FreeBSD is concerned, you actually have a regular keyboard and mouse. That would explain why the mouse and keyboard work while other USB items do not. From the messages you gave, it's clear that FreeBSB is unable to connect to the USB controller. Disabling legacy support in the BIOS may help. Otherwise check your BIOS for other USB related settings and try changing those. HTH, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CDROM
On Fri, Jul 14, 2006 06:40 AM, Ivan Levchenko wrote: Hello, Could you show the results of: dmesg | grep acd and ls -l /dev/ | grep acd Here they are: 0-$ dmesg | grep acd acd0: CD-RW 10X8X32 at ata1-master using PIO4 acd1: CDROM ATAPI CD-ROM DRIVE 40X MAXIMUM at ata1-slave using PIO4 0-$ ls -l /dev/ | grep acd crw-r- 2 root operator 117, 0 Jun 12 2001 acd0a crw-r- 2 root operator 117, 2 Jun 12 2001 acd0c crw-r- 2 root operator 117, 8 Jun 12 2001 acd1a crw-r- 2 root operator 117, 10 Jun 12 2001 acd1c crw-r- 2 root operator 117, 0 Jun 12 2001 racd0a crw-r- 2 root operator 117, 2 Jun 12 2001 racd0c crw-r- 2 root operator 117, 8 Jun 12 2001 racd1a crw-r- 2 root operator 117, 10 Jun 12 2001 racd1c 0-$ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
hpijs/hplip, foomatic-rip, and CUPS 1.2.0
Using either hpijs or hplip (which displays the printer driver as hpijs since hpijs is part of the hplip codebase), /usr/local/libxec/ cups/filter/foomatic-rip still has issues with network printing (foomatic-rip fails). Does anyone have any ideas for me to try? Does anyone out there have network printing working with hpijs/hplip and CUPS 1.2.0? I am running FreeBSD 6.1-STABLE. Thank you for your assistance. Am I reporting my problems appropriately, or do I need to file a bug report, and if so, where do I file one (I could not find the location)? On a sidenote, I was having difficulties installing hpijs when hplip was already installed (they are not listed, AFAICT, as ports that conflict with each other). I think if I were to remove hplip, hpijs would install fine. -Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd 6.1 locale problems
Boris Samorodov wrote: On Mon, 10 Jul 2006 19:51:37 +0500 Tofik Suleymanov wrote: after upgrading to 6.1-RELEASE from 5.3-RELEASE i get errors related You may consider rebuilding all your ports (I'd recommend that) or install misc/compat5x. What about the error messages that come out every time I run 'man' ? As far as I know 'man' has nothing to do with ports.And yes, I've already installed misc/compat5x to my locale setup.For example, while doing 'man ls' i get: ctype locale: Invalid argument (actual man-page goes here) Also, i can not see russian KOI8-R texts in any of my X consoles, while all needed fonts are installed properly. my .login_conf contains following configuration: me:Russian localization:\ :charset=KOI8-R:\ :lang=ru_RU.KOI8-R: xorg.conf snippet with needed fonts: FontPath /usr/X11R6/lib/X11/fonts/cyrillic/ Any advice ? WBR Tofik Suleymanov ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hpijs/hplip, foomatic-rip, and CUPS 1.2.0
On Sunday 16 July 2006 14:16, Anthony Agelastos wrote: Using either hpijs or hplip (which displays the printer driver as hpijs since hpijs is part of the hplip codebase), /usr/local/libxec/ cups/filter/foomatic-rip still has issues with network printing (foomatic-rip fails). Does anyone have any ideas for me to try? Does anyone out there have network printing working with hpijs/hplip and CUPS 1.2.0? I have one report of successful network printing: From: George Hartzel I couldn't figure out how to get it to use the ethernet port, but stumbled on the little hp-makeuri program and it generated one that works hp:/net/HP_Color_LaswerJet_2840?ip=192.168.1.3 I am running FreeBSD 6.1-STABLE. Thank you for your assistance. Am I reporting my problems appropriately, or do I need to file a bug report, and if so, where do I file one (I could not find the location)? On a sidenote, I was having difficulties installing hpijs when hplip was already installed (they are not listed, AFAICT, as ports that conflict with each other). I think if I were to remove hplip, hpijs would install fine. hpijs needs to be marked as conflicting with hplip. hplip is already marked as conflicting with hpijs. -- Anish Mistry [EMAIL PROTECTED] AM Productions http://am-productions.biz/ pgp2nGqI2GEAK.pgp Description: PGP signature
Re: hpijs/hplip, foomatic-rip, and CUPS 1.2.0
For future reference, please don't post to both -ports and -questions. Anthony Agelastos wrote: Does anyone out there have network printing working with hpijs/hplip and CUPS 1.2.0? Yes. You need to follow the instructions at file:///usr/local/share/doc/hplip-0.9.11/install/step4/cups/net.html On a sidenote, I was having difficulties installing hpijs when hplip was already installed I'm working on that. Doug -- This .signature sanitized for your protection ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
did i miss something here?
did buildworld on a new install last night, and when i woke up this morning, the kernel says this: # uname -a FreeBSD fbsd60-2.dev.dfwlp.com 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Sat Jul 15 21:36:03 CDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FBSD60-2 i386 i cannot find info on when 6.1-p3 came out, or what it pertained to? the most recent i see is the sendmail one, that brings it to p2. does cvs update before the announcement goes out, or do i need a memory jog? thanks, jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: did i miss something here?
On Sunday 16 July 2006 14:42, Jonathan Horne wrote: did buildworld on a new install last night, and when i woke up this morning, the kernel says this: # uname -a FreeBSD fbsd60-2.dev.dfwlp.com 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Sat Jul 15 21:36:03 CDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FBSD60-2 i386 i cannot find info on when 6.1-p3 came out, or what it pertained to? the most recent i see is the sendmail one, that brings it to p2. does cvs update before the announcement goes out, or do i need a memory jog? thanks, jonathan and... nevermind! i read /usr/src/UPDATING. :) thanks jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DL360 G4 shared network iLo and FreeBSD
On Sun, Jul 16, 2006 at 11:56:47PM +1000, Norberto Meijome wrote: On Sat, 15 Jul 2006 14:13:57 -0700 Eric Lakin [EMAIL PROTECTED] wrote: I'm trying to setup a DL360 G4 for use in a colo environment with FreeBSD. I've run into one problem: I've setup the iLo to use the shared network option, which allows the iLo to share the same network interface as the host computer. But the iLo hangs whenever the FreeBSD kernel loads. FWIW, we have a bunch of 360s but running the iLo independently from the main card. They work just great, but never tried them on the other setting. Beto I have not had issues when using the dedicated iLo network interface either. But, when I ship the machine off to the colo, it'll only have one network drop - so either I get the iLo working in shared mode, or I don't get to use the iLo at all. After further testing, i've found that it's the bge driver that's hanging the iLo in shared network mode. Which makes sense. It looks like that driver is reading at a low enough level from the hardware that it's intercepting packets destined for the iLo. So the iLo isn't hanging - it's just not receiving any traffic after the bge driver gets loaded. No clue if/how to fix this however. -- You are in a maze of twisty little email threads, all alike [[EMAIL PROTECTED] | [EMAIL PROTECTED] ] ## set vi:nowrap tw=72 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: LinkLib Issues In freebsd Lazarus
This is really more appropriate for -questions, so I've redirected it there. In [EMAIL PROTECTED], Bob Richards [EMAIL PROTECTED] typed: Hi Folks: I believe this is a hacker issue, at least any possible solution is. I recently moved from Linux to FreeBSD as my primary work environment. My development system of choice is FreePascal. I installed FPC-2.0.2 from the official FreePascal distribution tar ball I'd say this is a mistake. You should probably install the fpc port in /usr/ports/lang/fpc. There may be reasons to install your own version instead of a port, but you haven't presented any. My next step was to install Lazarus, the FPC IDE, and here is where I have run into troubles. Again, you should probably have used the ports version, in editors/fpc-ide. A tar-ball install ran well until Lazarus was being Linked. The errors were: the following libraries were not found by ld: glib12, gdk12, and gtk12. Where did you get these from? And what versions are they? a grep -r in the FPC-2.0.2 source tree revealed the problems, in every case of: packages/extra/ glib, gtk, and gdk the linklib statements were wrong thus: {$ifdef FreeBSD} gtkdll='gtk12'; {$linklib gtk12} So, I created a patch to fix the above constructs to: {$ifdef FreeBSD} gtkdll='gtk-12'; {$linklib gtk-12} For all three libraries; since freebsd names these libraries with a - I recompiled and reinstalled FPC-2.0.2 with the patches applied, re-tested the compiler; all OK! I went back to the Lazarus source tree gmake clean; gmake and received the following error: Free Pascal Compiler version 2.0.2 [2006/07/14] for i386 Copyright (c) 1993-2005 by Florian Klaempfl Target OS: FreeBSD/ELF for i386 Compiling lazarus.pp Linking ../lazarus /usr/bin/ld: cannot find -lgdk_pixbuf lazarus.pp(113,1) Error: Error while linking a locate gdk_pixbuf finds: /usr/X11R6/lib/libgdk_pixbuf-2.0 So, at this point I just sym-linked my libgdk_pixbuf-2.0 to libgdk_pixbuf: ln -s libgdk_pixbuf-2.0.a libgdk_pixbuf.a This is almost certainly a mistake, as a major version number change indicates that the interface changed. and ran gmake again, only to produce: Linking ../lazarus /usr/home/bob/lazarus/lcl/units/i386-freebsd/gtk/gtkint.o(.text+0x6f65): In function `DATASOURCEINITIALIZE': gtkobject.inc:2309: undefined reference to `gdk_pixbuf_get_from_drawable' Many many more undefined reference to something missing in gdk_pixbuf. Well, yeah - you're linking against *the wrong library*. My system has a /usr/X11R6/lib/libgdk_pixbuf.a, installed from the graphics/gdk-pixbuf port. That does have the function you're looking for. so: freebsd's stock-installed gdk_pixbuf does not contain the functions needed! No, FreeBSD's stock-installed gdk_pixbuf-2.0 does not contain the functions you need from gdk_pixbuf. This should not be surprising. So, I went to ports and found ruby18-gdk_pixbuf2-0.14.1 a make install provided gdk_pixbuf2.so but no gdk_pixbuf2.a !! I find it odd that no provision is provided to link to this lib! Again, you *don't want* gdk_pixbuf2. And that port doesn't provide gdk_pixbuf2, but almost certainly requires it, so it'll install the port to provide that library if it isn't there. But that doesn't help you at all. Funny! I moved away from Linux mainly because of Library-Hell issues :-) Shared library versioning hell is platform-independent. In general, FreeBSD's port/package system is older than Linux package managers. This means they got to learn from it, and are in some ways better. On the other hand, it also means that the freebsd ports system has features that those systems may not have yet. In particular, you can use the sysutils/portupdate port to update ports, and it will move old versions of shared librarys out of the way so they don't confuse new builds, but will still be found by older packages that depend on them. You can also use the sysutils/portsearch port to find files that the ports will install for you. Any thoughts on this would be greatly appreciated. I seem to have run out of things to try here. Surely someone has successfully compiled Lazarus on freebsd I'd install the fpc and fpc-ide ports. If you want to continue the way you started, delete your bogus symlink, and install the graphics/gdk-pixbuf port to get the library you need. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DL360 G4 shared network iLo and FreeBSD
You might want to try posting to the [EMAIL PROTECTED] mailing list ... I'm another one that uses the dedicated iLO port in the colo, but we have our own switch there also, so ports aren't an issue ... On Sun, 16 Jul 2006, Eric Lakin wrote: On Sun, Jul 16, 2006 at 11:56:47PM +1000, Norberto Meijome wrote: On Sat, 15 Jul 2006 14:13:57 -0700 Eric Lakin [EMAIL PROTECTED] wrote: I'm trying to setup a DL360 G4 for use in a colo environment with FreeBSD. I've run into one problem: I've setup the iLo to use the shared network option, which allows the iLo to share the same network interface as the host computer. But the iLo hangs whenever the FreeBSD kernel loads. FWIW, we have a bunch of 360s but running the iLo independently from the main card. They work just great, but never tried them on the other setting. Beto I have not had issues when using the dedicated iLo network interface either. But, when I ship the machine off to the colo, it'll only have one network drop - so either I get the iLo working in shared mode, or I don't get to use the iLo at all. After further testing, i've found that it's the bge driver that's hanging the iLo in shared network mode. Which makes sense. It looks like that driver is reading at a low enough level from the hardware that it's intercepting packets destined for the iLo. So the iLo isn't hanging - it's just not receiving any traffic after the bge driver gets loaded. No clue if/how to fix this however. -- You are in a maze of twisty little email threads, all alike [[EMAIL PROTECTED] | [EMAIL PROTECTED] ] ## set vi:nowrap tw=72 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Start dhcpd on boot
I installed net/isc-dhcp3-server from ports, butI can't seem to persuade it to start when the machine boots. After boot I can do a # /usr/local/etc/rc.d/isc-dhcpd.sh start ...and the daemon runs and works, but I would like for it to start automatically on boot, with no manual intervention. Any thoughts on how to do this? Google didn't find anything useful, nor did a search of the -questions archive. On a hunch, I renamed /usr/local/etc/rc.d/isc-dhcpd.sh to /usr/local/etc/rc.d/dhcpd.sh, but still no love, so I put it back. In /etc/rc.conf I have dhcpd_enable=YES # Run the DHCP daemon... dhcpd_ifaces=rl1 # ...on this interface... dhcpd_flags=-q# ...in quiet mode. # grep dhc /var/log/messages shows only the usual rash of intrusion attempts from 0wn3d Windows machines, e.g. May 19 22:28:00 mail sshd[22367]: error: PAM: authentication error for root from 24-231-195-180.dhcp.bycy.mi.charter.com Other pertinent info: # uname -a FreeBSD mail.monochrome.org 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Sat Jul 15 20:50:20 EDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 # pkg_info | grep isc-dhcp3-server isc-dhcp3-server-3.0.3 The ISC Dynamic Host Configuration Protocol server ...a little out of date, I know, but that has no bearing on the issue at hand. Thanks in advance. -- Chris Hill [EMAIL PROTECTED] ** [ Busy Expunging | ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Start dhcpd on boot
Chris Hill wrote: I installed net/isc-dhcp3-server from ports, butI can't seem to persuade it to start when the machine boots. After boot I can do a # /usr/local/etc/rc.d/isc-dhcpd.sh start ..and the daemon runs and works, but I would like for it to start automatically on boot, with no manual intervention. Any thoughts on how to do this? Google didn't find anything useful, nor did a search of the -questions archive. On a hunch, I renamed /usr/local/etc/rc.d/isc-dhcpd.sh to /usr/local/etc/rc.d/dhcpd.sh, but still no love, so I put it back. In /etc/rc.conf I have dhcpd_enable=YES # Run the DHCP daemon... dhcpd_ifaces=rl1 # ...on this interface... dhcpd_flags=-q# ...in quiet mode. # grep dhc /var/log/messages shows only the usual rash of intrusion attempts from 0wn3d Windows machines, e.g. May 19 22:28:00 mail sshd[22367]: error: PAM: authentication error for root from 24-231-195-180.dhcp.bycy.mi.charter.com Other pertinent info: # uname -a FreeBSD mail.monochrome.org 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Sat Jul 15 20:50:20 EDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 # pkg_info | grep isc-dhcp3-server isc-dhcp3-server-3.0.3 The ISC Dynamic Host Configuration Protocol server ..a little out of date, I know, but that has no bearing on the issue at hand. Is this what you are looking for: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pxe/server-config.html //excerpt// 2 Server Configuration 1. Install DHCP: Install net/isc-dhcp3-server you can use this config file dhcpd.conf, stick it in /usr/local/etc/. 2. Enable tftp: 1. Make a directory /usr/tftpboot 2. Add this line to your /etc/inetd.conf: tftpdgram udp waitnobody /usr/libexec/tftpdtftpd /usr/tftpboot 3. Enable NFS: 1. Add this to /etc/rc.conf: nfs_server_enable=YES 2. Add this to /etc/exports: /usr -alldirs -ro 4. Reboot to enable the new services or start them manually. -- Gerard Seibert [EMAIL PROTECTED] Murphy's First Law: Nothing is as easy as it looks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Start dhcpd on boot
On Sun, 16 Jul 2006, Gerard Seibert wrote: Chris Hill wrote: I installed net/isc-dhcp3-server from ports, [...] I would like for it to start automatically on boot, with no manual intervention. Any thoughts on how to do this? [snip] Is this what you are looking for: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pxe/server-config.html Don't think so. I'm not looking to have anything netboot, just to allow transient Windows laptops (and other gizmos) to get Internet access. Thanks for the pointer, though. I should have mentioned that I read the Friendly Manual pretty thoroughly before posting, and everything I could find indicated that what I've done is sufficient. Specifically, http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dhcp.html ...section 25.5.7 -- Chris Hill [EMAIL PROTECTED] ** [ Busy Expunging | ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: LinkLib Issues In freebsd Lazarus
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Meyer wrote: I'd say this is a mistake. You should probably install the fpc port in /usr/ports/lang/fpc. There may be reasons to install your own version instead of a port, but you haven't presented any. Mike thanks! You gave me the missing piece of this puzzle! It all now works a charm! As per the Lazarus docs/INSTALL, compiling Lazarus requires the FPC source tree, A binary install of FPC won't do. Again, you should probably have used the ports version, in editors/fpc-ide. That's the text-mode IDE, not the GUI one, called Lazarus. the following libraries were not found by ld: glib12, gdk12, and gtk12. Where did you get these from? And what versions are they? From the FPC Source tree fpc-2.0.2/ packages/extra/gtk/gdk/gdk.pp - wants gdk 1.2 packages/extra/gtk/gdk/gdk.pp - wants gtk 1.2 and packages/extra/gtk/glib/glib.pp - wants glib 1.2 each of the above .pp source files calls for the proper lib by the wrong name for freebsd. They all are missing the - in the version number. Well, yeah - you're linking against *the wrong library*. My system has a /usr/X11R6/lib/libgdk_pixbuf.a, installed from the graphics/gdk-pixbuf port. That does have the function you're looking for. And here is the Million Dollar answer! PORTS graphics/gdk-pixbuf When I went looking for the proper lib, I did not see it. Possibly because I was looking for gdk_pixbuf :-( If you want to continue the way you started, delete your bogus symlink, and install the graphics/gdk-pixbuf port to get the library you need. Since I need the sources, I didn't have any other option but to continue. I deleted the symlink, and installed the graphics/gdk-pixbuf port, and Lazarus compiled, and linked! So, all that is needed is to apply the patches I mentioned in my OP, get the proper gdk-pixbuf installed from ports, and it is as good as gold. Now, how can I create a port for Lazarus, now that I have it compiled and running? Bob -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEus5iAexE5bK/mHkRAjCCAKCAl3A2PPbQhSabqSFseYLiv6m86QCeMzdE dzHlNEGOEGyHI1GqDlcFehg= =B/PS -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]
Streaming video real time
I have a need to stream video from my server room to wherever I am via the web. Basically, I need to be able to see the temperature sensor in the room when an alarm is indicated, and I need to be able to see what mode the A/C is in. I have found some articles regarding streaming video, but nothing which seemed to relate to streaming video realtime. I have a USB web cam, and Apache installed. And, I am running FBSD 5.3 on the server. Any suggestions as to what I should look at would be greatly appreciated. Thanks, Jay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Start dhcpd on boot
Try the 8.0 dhcp server section of the install guide at www.a1poweruser.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chris Hill Sent: Sunday, July 16, 2006 5:56 PM To: FreeBSD Questions List Subject: Start dhcpd on boot I installed net/isc-dhcp3-server from ports, butI can't seem to persuade it to start when the machine boots. After boot I can do a # /usr/local/etc/rc.d/isc-dhcpd.sh start ...and the daemon runs and works, but I would like for it to start automatically on boot, with no manual intervention. Any thoughts on how to do this? Google didn't find anything useful, nor did a search of the -questions archive. On a hunch, I renamed /usr/local/etc/rc.d/isc-dhcpd.sh to /usr/local/etc/rc.d/dhcpd.sh, but still no love, so I put it back. In /etc/rc.conf I have dhcpd_enable=YES # Run the DHCP daemon... dhcpd_ifaces=rl1 # ...on this interface... dhcpd_flags=-q# ...in quiet mode. # grep dhc /var/log/messages shows only the usual rash of intrusion attempts from 0wn3d Windows machines, e.g. May 19 22:28:00 mail sshd[22367]: error: PAM: authentication error for root from 24-231-195-180.dhcp.bycy.mi.charter.com Other pertinent info: # uname -a FreeBSD mail.monochrome.org 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Sat Jul 15 20:50:20 EDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 # pkg_info | grep isc-dhcp3-server isc-dhcp3-server-3.0.3 The ISC Dynamic Host Configuration Protocol server ...a little out of date, I know, but that has no bearing on the issue at hand. Thanks in advance. -- Chris Hill [EMAIL PROTECTED] ** [ Busy Expunging | ] ___ 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: LinkLib Issues In freebsd Lazarus
Bob wrote: So, all that is needed is to apply the patches I mentioned in my OP, get the proper gdk-pixbuf installed from ports, and it is as good as gold. Now, how can I create a port for Lazarus, now that I have it compiled and running? Bob The porter's handbook should get you started: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ HTH, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [bugs] SMP, KDE3 and OpenOffice
On Sun, Jul 16, 2006 at 03:12:49PM +1000, Rob Hurle wrote: I'm trying to set up FreeBSD on my box, which has an Intel D945GNT motherboard, two 3.2GHz processors, 1GB memory. The system installs OK and I've been able to use cvsup to upgrade everything, remake the kernel (for SMP), build OpenOffice.org 2.0.2 KDE 3.5. Just to clarify, are those processors amd64/em64, or ia32? Are you running a 32-bit or 64-bit system on them? Aah. I see from your uname, below, that you're running i386 code. That should remove a few potential pitfalls. However, three problems remain unsolved in spite of all of these things: 1. Only one processor seems to be used. The output from top -S is: PID USERNAMETHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 11 root 1 171 52 0K 8K CPU1 0 0:00 99.02% idle: cpu1 12 root 1 171 52 0K 8K RUN0 139:40 98.34% idle: cpu0 It seems to me that the FreeBSD scheduler is pretty keen on processor affinity, which is a good thing. My AMD-X2 dual core system has been up a good deal longer than yours, but the idle times are still fairly different: root 12 99.0 0.0 016 ?? RL8Jul06 9797:24.05 [idle: cpu0] root 11 98.5 0.0 016 ?? RL8Jul06 11206:02.27 [idle: cpu1] Do you get any activity on the other CPU if you do a buildworld with make -j4 or so? 2. KDE 3.5 does not like to run any screensaver. They all run OK on test, and if I run the actual programs themselves, there is no problem. However, KDE will not start them up automatically. I'm afraid I run a GNOME system, so I can't help with that problem. The screen saver doesn't seem to have any trouble starting under GNOME, but I haven't been able to get it to do the DPMS monitor power-down yet. Still investigating that. 3. OpenOffice.org does not like any of the files produced from anywhere else. I have stuff written in StarOffice 5.2 and in MS Word, but none of these will open. Even stuff written using OpenOffice.org 2 on a MS system is not acceptable. The error is always General I/O Error. OpenOffice will read files that it has written quite OK and permissions, ownership, etc all seem to be OK. I believe that most of the OOo file import functionality is provided by Java modules, and it will successfully build without this functionality if you don't have or don't want to run Java. Do you have a working native Java implementation? You might need to get Java going before building (or re-building) OOo. Neither the KDE nor the OpenOffice problem has altered by upgrading these two systems and the SMP problem is also the same as with the GENERIC kernel. uname -a gives: FreeBSD grandpa.connect-a.com.au 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Sat Jul 15 16:46:44 EST 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/SMP i386 -- Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Start dhcpd on boot
On Sun, 16 Jul 2006, fbsd wrote: Try the 8.0 dhcp server section of the install guide at www.a1poweruser.com Thanks, Joe. Unfortunately there is nothing here that isn't in the Handbook. Again, the issue is *not* that dhcpd doesn't work - IT WORKS PERFECTLY. The issue is that the daemon doesn't start when the machine boots. -- Chris Hill [EMAIL PROTECTED] ** [ Busy Expunging | ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Start dhcpd on boot
Chris Hill [EMAIL PROTECTED] writes: Hi, guy. On Sun, 16 Jul 2006, fbsd wrote: Try the 8.0 dhcp server section of the install guide at www.a1poweruser.com Thanks, Joe. Unfortunately there is nothing here that isn't in the Handbook. Again, the issue is *not* that dhcpd doesn't work - IT WORKS PERFECTLY. The issue is that the daemon doesn't start when the machine boots. Can you use the startup script to start it by hand? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Start dhcpd on boot
On Sun, 16 Jul 2006, Lowell Gilbert wrote: Chris Hill [EMAIL PROTECTED] writes: Hi, guy. Hi Lowell, haven't seen you in a long time. [snip] Again, the issue is *not* that dhcpd doesn't work - IT WORKS PERFECTLY. The issue is that the daemon doesn't start when the machine boots. Can you use the startup script to start it by hand? Yes. As I said in the original post, After boot I can do a # /usr/local/etc/rc.d/isc-dhcpd.sh start ...and the daemon runs and works Thanks, and nice to hear from you. -- Chris Hill [EMAIL PROTECTED] ** [ Busy Expunging | ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[KDE] starting application on specific desktop ...
Hi ... I'm not finding anything that sounds relevant in the X man page, so either it isn't possible (which would be weird) or I'm missing something ... I have 8 desktops running under KDE ... I'd like, for instance, when azureus starts up, it goes to the 8th desktop, not current one ... or, when someone messages me, it goes to the 7th desktop, etc ... Is it possible to tell the starting window which desktop under KDE? thx ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
defining dependencies for ports
Hello. I'm brand new to FreeBSD. I'm mostly enjoying it so far. I'm playing with installing the Eclipse IDE port right now. I say playing with because I started to install it and saw the list of dependencies and shuddered. I like to keep my system relatively clean and tend to start a new install of Linux (and now BSD) as bare bones and add only what I need. So I'm building Eclipse, and one of the things it wants to include is python . Seems odd for my java ide to need python, so I look it up on the web tool that shows all the dependencies for a port (which is a fantastic tool, by the way). And python is included because glade is included, and glade seems to be a top-level dependency. However, nowhere can I find in the Makefile any reference to Glade, nor to the many other top-level dependencies. How do I find out these things and once I find them, how do I change them so I don't include? (Mozilla is another example, but this one I actually see in the Makefile for the Eclipse port. However, make config and make configure don't ask me if I want mozilla -- I use firefox). This applies generally. I installed other ports too that had odd dependencies (like including perl because of some helper scripts that aren't even required to be run). Is there a command I'm missing that let's me configure these things? On a side note, is the name pretty-print-build-depends-list designed to keep me from running the command? ;-) And after typing all that, the output wasn't really even pretty. thanks for any tips. Sorry if this is a dumb question, I've been using FreeBSD only two days now. Currently I run slackware. mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Streaming video real time
At 19:53 2006-07-16, you wrote: I have a need to stream video from my server room to wherever I am via the web. Basically, I need to be able to see the temperature sensor in the room when an alarm is indicated, and I need to be able to see what mode the A/C is in. I have found some articles regarding streaming video, but nothing which seemed to relate to streaming video realtime. I have a USB web cam, and Apache installed. And, I am running FBSD 5.3 on the server. Any suggestions as to what I should look at would be greatly appreciated. I don't think streaming is really mandatory for this kind a setup... Just do a cron job every 1 minute (ajust if necessary) that will take a picture, and save it as jpg in the root of your website... Then just use a simple meta refresh in your web page so that it reloads itself every 1 minute... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: defining dependencies for ports
On 7/17/06, mike [EMAIL PROTECTED] wrote: Hello. I'm brand new to FreeBSD. I'm mostly enjoying it so far. I'm playing with installing the Eclipse IDE port right now. I say playing with because I started to install it and saw the list of dependencies and shuddered. I like to keep my system relatively clean and tend to start a new install of Linux (and now BSD) as bare bones and add only what I need. We're usually focused on making sure things work instead of keeping dependencies to a minimum. FreeBSD is not Windows (or some flavors of Linux) where you're afraid of installing any software because it will never really uninstall. Here we've got most things very clean and automated. So just go ahead and take it easy about all the dependencies. You're not installing Eclipse on an embedded system with 4Mb flash memory, are you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]