New install, rebuilding world
I'm new to FreeBSD, but I've been reading alot in the Handbook about building custom kernels and rebuilding world, and still can't seem to find what I'm looking for. I want to be able to recompile my whole system so that it's optimized for my hardware, but I'd rather not track -Stable and have to rebuild a whole slew of stuff every few days. Can someone give me some advice (or point me to some documentation) on recompiling the -Release6.1 and then doing light maintenance (bug fixes, security updates) afterwards? Thanks, Adam __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
6.0-SNAP005: pptpclient; mpd/ng; pf; tcpdrop; vidcontrol/saver; gbde/md
I've installed FreeBSD 6.0-CURRENT-SNAP005 (i386) on my stand-alone home computer, which connects to the internet via adsl. Being no expert, I don't presume to characterize the following observations as bugs (except, perhaps, with regard to tcpdrop), but I wonder if anyone else has experienced any of the same things. 1. In the past, using FreeBSD 4.9 and 4.10, I connected to my dsl modem/router using pptpclient. With pptpclient on 6.0, however, I noticed that download speed from the internet was very slow -- only about 20 percent of the rate I was accustomed to. A check with top revealed that pptp was utilizing 85 percent of the CPU. I recall seeing a lock-order-reversal message on a couple of occasions. (See the log excerpt below.) 2. I installed mpd to replace pptpclient. Downloading is fast again and CPU usage is back to normal, but I notice a couple of minor quirks. The first time after boot that I run my script to bring up the NIC (I don't bring up the NIC on boot) and to launch mpd, no connection occurs. On the second try it works, but I get the following message on standard error: WARNING: attempt to net_add_domain(netgraph) after domainfinalize(). The warning is not repeated on subsequent connects. I assume it is related to the loading of various ng modules. 3. I'm using pf with 6.0. When I kill (-SIGTERM) mpd to disconnect from the internet, and before I bring down the NIC, the following error message is returned: pf_test6: kif == NULL, if_xname ng0. It appears that pf is bothered by the disappearance of the ng0 interface. 4. After disconnecting from the internet I often have stuck tcp4 connections (perhaps due in part to my severe firewall rules). Thinking to remedy this little annoyance with tcpdrop. I created a perl script to parse the output of netstat -n - f inet and to call tcpdrop for each inet connection except the NIC-to-modem connection. I've tried running the script before and (mostly) after killing mpd. Sometimes it actually works, but most times tcpdrop triggers a kernel panic and auto reboot. I suspect that the differing results might be related to the state of the connection(s), or to the number of them. Maybe it's safe to dub this phenomenon a bug in view of the panic and reboot, even if I'm doing something wrong. 5. I do a lot of work (or at least activity) from the console, and enjoy the new VESA graphics console features. I compiled VESA and SC_PIXEL_MODE into the kernel, and it works fine with my Radeon 7000 card -- except that the screen blanker does not blank the screen. The cursor disappears, but otherwise the display persists. I suppose this may be a necessary consequence of using graphics mode. 6. Having used the vnconfig utility and the vncrypt port in FreeBSD 4.x to create file-backed encrypted devices, I applied an analogous procedure using mdconfig and gbde in 6.0. Although it works, processing of the encrypted file system seems quite sluggish with gbde compared to vncrypt. (I do realize that encryption entails overhead, and that gbde seems designed primarily for use with disks rather than files.) By the way, informationally, the recent zlib patch for FreeBSD 5.x would appear to work on 6.0. I actually did the one-line edit to inftrees.c manually rather than running patch, but it was the same line with the same line number employed by the patch. I also ran find-zlib, which indicates that zlib 1.2.2 is statically linked in a few system files -- eg., libstand.a, pxeboot, and loader (shouldn't do much harm there!). It's also statically linked, I think, in Opera 8.01, which could be dangerous. Log excerpt: one of the LORs with pptpclient -- Jul 3 23:32:55 localhost pptp[709]: anon log[ctrlp_disp:pptp_ctrl.c:880]: Outgoing call established (call ID 0, peer's call ID 0). Jul 3 23:32:58 localhost kernel: lock order reversal Jul 3 23:32:58 localhost kernel: 1st 0xc1b34270 rtentry (rtentry) @ /usr/src/sys/net/rtsock.c:434 Jul 3 23:32:58 localhost kernel: 2nd 0xc19ba77c radix node head (radix node head) @ /usr/src/sys/net/route.c:148 Jul 3 23:32:58 localhost kernel: KDB: stack backtrace: Jul 3 23:32:58 localhost kernel: kdb_backtrace(0,,c09293f0,c0929418,c08b3b64) at kdb_backtrace+0x29 Jul 3 23:32:58 localhost kernel: witness_checkorder(c19ba77c,9,c085a11c,94) at witness_checkorder+0x564 Jul 3 23:32:58 localhost kernel: _mtx_lock_flags(c19ba77c,0,c085a11c,94,7) at _mtx_lock_flags+0x5b Jul 3 23:32:58 localhost kernel: rtalloc1(c1d39c78,0,0,d745ab3c,0) at rtalloc1+0x61 Jul 3 23:32:58 localhost kernel: ifa_ifwithroute(801,c1d39c5c,c1d39c78,c1b34270,c19ba700) at ifa_ifwithroute+0x68 Jul 3 23:32:58 localhost kernel: rt_getifa(d745ab3c,0,c1b34210,c1d39c00,c091f680) at rt_getifa+0xa6 Jul 3 23:32:58 localhost kernel: route_output(c1a39400,c1b316f4,a0,c1a39400,1f60) at route_output+0x5c5 Jul 3 23:32:58 localhost kernel: raw_usend(c1b316f4,0,c1a39400,0,0,c1a47300) at raw_usend+0x60 Jul 3 23:32:58 localhost kernel:
Re: 6.0-SNAP005: pptpclient; mpd/ng; pf; tcpdrop; vidcontrol/saver; gbde/md
I wrote: 1. In the past, using FreeBSD 4.9 and 4.10, I connected to my dsl modem/router using pptpclient. With pptpclient on 6.0, however, I noticed that download speed from the internet was very slow -- only about 20 percent of the rate I was accustomed to. A check with top revealed that pptp was utilizing 85 percent of the CPU. I recall seeing a lock-order-reversal message on a couple of occasions. (See the log excerpt below.) The LOR appears to be related to: http://lists.freebsd.org/pipermail/freebsd-net/2005-July/007834.html 3. I'm using pf with 6.0. When I kill (-SIGTERM) mpd to disconnect from the internet, and before I bring down the NIC, the following error message is returned: pf_test6: kif == NULL, if_xname ng0. It appears that pf is bothered by the disappearance of the ng0 interface. This report was also anticipated: http://lists.freebsd.org/pipermail/freebsd-pf/2005-July/001240.html Sorry for duplicating. While I'm at it, just one more thing... During shutdown of 6.0SNAP5 I always receive the message: unmount of /devfs failed (BUSY) or something quite similar to that. Seems harmless, though. -- A Happy User -- ___ NEW! Lycos Dating Search. The only place to search multiple dating sites at once. http://datingsearch.lycos.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Serious investigations into UNIX and Windows
Hi I have tried searching for this but i only get reports made by students and private programmers, i trust a programmer more than a large corporation any day but to show a person i know and convince him i need some serious investigations made by large corporations into comparing BSD and Windows systems in various areas. I would love to get some links that some of you have in your bookmarks on this. The person i'm trying to convince is a hardcore MS fan so i need real evidence of why BSD is better than MS products in server environments. Some friends of mine have told me that yahoo, msn and microsoft all use FreeBSD but until i can show him that and prove it to him that means nothing. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NewSysLog FBSD 4.9
Hi! ::NEWSYSLOG:: - I want to rotate and pack my logs for Qpopper and ProFTPD This is my lines in '/etc/newsyslog.conf': #--- /var/log/qpopper.logroot:root 640 7 * @T00Z /var/log/proftp.log root:root 640 7 * @T00Z #--- It does not work =( No error messages or anything. What do I need to do? Any suggestions? BEST REGARDS/MVH PELLE ANDERSSON SPD SYSTEMS AB WWW.SPD.NU ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NewSysLog FBSD 4.9
Hi and thanks! It works fine now, find the problem with the newsyslog -v command. It told me, unknown group 'root'. Offcorce, Im so stupid. Root-group is a old habit from Linux =) Changed from: /var/log/qpopper.log root:root 640 7 * @T00Z /var/log/proftp.log root:root 640 7 * @T00Z To: /var/log/qpopper.log root:wheel 640 7 * @T00Z /var/log/proftp.log root:wheel 640 7 * @T00Z BEST REGARDS/MVH PELLE ANDERSSON SYSTEM AND NETWORK ENGINEER SPD SYSTEMS AB WWW.SPD.NU -Ursprungligt meddelande- Från: Matthew Seaman [mailto:[EMAIL PROTECTED] Skickat: den 1 mars 2004 15:16 Till: Pelle Andersson (SPD Systems AB) Kopia: [EMAIL PROTECTED] Ämne: Re: NewSysLog FBSD 4.9 On Mon, Mar 01, 2004 at 02:35:20PM +0100, Pelle Andersson (SPD Systems AB) wrote: Hi! ::NEWSYSLOG:: - I want to rotate and pack my logs for Qpopper and ProFTPD This is my lines in '/etc/newsyslog.conf': #--- /var/log/qpopper.log root:root 640 7 * @T00Z /var/log/proftp.log root:root 640 7 * @T00Z #--- It does not work =( No error messages or anything. What do I need to do? Any suggestions? Hmmm... that looks fine to me. What happens if you run: # newsyslog -v I assume that newsyslog is actually running every hour -- that's the default from the system crontab: % grep newsyslog /etc/crontab 0 * * * * rootnewsyslog and that the other system logs are all being cycled as intended. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Qpopper SSL
Hi! Want to get Qpopper to work with SSL on a FreeBSD 4.9. I have followed the instruction at various sites about how this should be done including eudora.com/qpopper. I have also followed alot of instructions on how to make a cert-file (cert.pem) from a .key and .crt file. That includes openssh.org. I cannot get it to work anyway. -- I must be missing something?!? -- I am reciving the errors below in my log files. Mar 5 13:00:33 frodo qpopper[390]: Error setting private key PEM file /usr/local/etc/qpopper/cert.pem Mar 5 13:00:33 frodo qpopper[390]: ...SSL error: error:0906D06C:PEM routines:PEM_read_bio:no start line Mar 5 13:00:33 frodo qpopper[390]: ...SSL error: error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib Mar 5 13:00:33 frodo qpopper[390]: Failed initializing TLS/SSL I'm starting Qpopper from inetd with the -f command-line option to read the configfile. The qpopper.config-file contains the following: set tls-support = stls set tls-server-cert-file = /usr/local/etc/qpopper/cert.pem I'm using: FreeBSD 4.9 CURRENT-p3 Qpopper 4.05 OpenSSL 0.9.7c Anyone know where I can find some input about this problems? Thanks in advance, best regards Per Anderson ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ProFTPD from ports with TLS
Hi again! I do not know if this is a FreeBSD issue but I need to ask to know. I have installed ProFTPd 1.2.9 from ports with #--- 'make WITH_OPENSSL=yes install clean' #--- Everyting went just fine, no errors or anything. The server is starting up ok and seems to be running fine. The problem? I cannot connect to it using SSL =( Im trying to connect with FlashFXP. Im using FreeBSD 4.9. In my proftpd.conf: #--- IfModule mod_tls.c TLSEngine on TLSLog /var/log/proftpdtls.log TLSProtocol TLSv1 TLSRequired off TLSRSACertificateFile /etc/ftpd/cert.pem TLSVerifyClient off /IfModule #--- Do I need to do something more than this? Where is mod_tls.c located for example? Thanks in advance, Best regards Pelle ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SV: Recommended GUI manager for MYSQL
Yes, I can... =) http://www.mysqlfront.de/ BEST REGARDS/MVH PELLE ANDERSSON SYSTEM AND NETWORK ENGINEER SPD SYSTEMS AB WWW.SPD.NU -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Gareth Bailey Skickat: den 15 mars 2004 10:35 Till: FreeBSD - questions Ämne: Recommended GUI manager for MYSQL Can anyone recommend a good GUI manager for MYSQL? Thanks gareth ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FBSD4.9 MySQL 4.x
Hi List! I have read that MySQL and FreeBSD 4.x is a bad thing due to FreeBSD's bad(?) threading. I have also read that I can enable linux-threads when compiling. Does these LinuxThreads solve all MySQLFreeBSDThreading issues? Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD-SA-04:05.openssl Question
Hi again list! Please have indulgence with this question ;) [QUOTE] Note that any statically linked applications that are not part of the base system (i.e. from the Ports Collection or other 3rd-party sources) must be recompiled. [/QUOTE] Does this mean I need to: 1. Apply the patch 2. Recompile the kernel 3. 'make deinstall' to the following application I have installed from ports? Qpopper (- Using SSL) Apache2 (- Using SSL) Postfix (- Using SSL) ProFTPD (- Using SSL) MySQL (- Using SSL) #OpenSSL (In basesystem, do nothing) And then 'make install clean' again for all these application? Or can I just upgrade all there is with?: *default host=cvsup.ca.FreeBSD.org *default release=cvs *default base=/usr *default prefix=/usr *default delete use-rel-suffix *default tag=RELENG_4_9 src-all And then recompile the kernel? Sorry for not understanding this to 100% Still learning... Thanks! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SV: FreeBSD-SA-04:05.openssl Question (UPDATED!)
It should be 'make buildworld' below, not 'recompile the kernel?' :-/ Hi again list! Please have indulgence with this question ;) [QUOTE] Note that any statically linked applications that are not part of the base system (i.e. from the Ports Collection or other 3rd-party sources) must be recompiled. [/QUOTE] Does this mean I need to: 1. Apply the patch 2. Recompile the kernel 3. 'make deinstall' to the following application I have installed from ports? Qpopper (- Using SSL) Apache2 (- Using SSL) Postfix (- Using SSL) ProFTPD (- Using SSL) MySQL (- Using SSL) #OpenSSL (In basesystem, do nothing) And then 'make install clean' again for all these application? Or can I just upgrade all there is with?: *default host=cvsup.ca.FreeBSD.org *default release=cvs *default base=/usr *default prefix=/usr *default delete use-rel-suffix *default tag=RELENG_4_9 src-all And then 'make buildworld'? Sorry for not understanding this to 100% Still learning... Thanks! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems accessing fd0 on Compaq Proliant 1600 + FBSD 4.7-RELEASE
Hi, When I try to access the floppy on my Compaq Proliant 1600(PII-450) running FreeBSD 4.7 (release) I get the following message(s) on the console: (tar tvf /dev/fd0) fdc0: cmd 13 failed at out byte 1 of 4 fdc0: Re-enable FIFO failed fdc0: ready for input in output fdc0: cmd 8 failed at out byte 1 of 1 fdc0: sense intr err reading stat reg 0 fdc0: ready for input in output fdc0: cmd 8 failed at out byte 1 of 1 ...and so on... Anyone who knows how to resolve this? --- Kernel: . . # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 flags 0x1 device fd0 at fdc0 drive 0 --- The drive itself is working (I installed FBSD from floppies). There is no activity at all on the drive and tar-process hangs. Thanks, /Magnus To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Timezone conversion
Hi I'm trying to convert a date from one timezone into another using the date-command, but I can't seem to get it to work. The problem can be illustrated as below, though in reality I get the date from another source of course, otherwise I wouldn't have to do this. Take a date in some timezone other than your own, in this example I generate the current time in UTC: TZ=UTC date +%d %b %Y %H:%M:%S %z 28 Nov 2004 12:02:18 + Try to use date -j to convert a date of this format into the default display-format: TZ=CET date -j -f %d %b %Y %H:%M:%S %z 28 Nov 2004 12:02:18 + Warning: Ignoring 5 extraneous characters in date string (+) Sun Nov 28 12:02:18 CET 2004 The result is wrong of course because the timezone is ignored even though i specify %z in the format-string. The date in CET should be 13:02:18. Now the question; does anyone know why the %z is ignored? Am I missing something, and if so what? The man-page for the -f parameter states Parsing is done using strptime(3). and since strptime allows %z I was assuming that the example above should work. I would be really thankful for some help in getting around this. Thanks in advance. Best regards, Jimmy Mäkelä ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]