Re: Openssl 0.9.8c woes
I keep using my old certs, btw (the ones I paid good money for). Geez, I really hope I don't need to upgrade those. Still, that's no reason for Apache to core dump, right? Anyway, I appreciate your input. STFA Apache and ssh will go mad if the openssl symbols dont resolve... You don't have to upgrade ur certs or anything. Just do this. #cd /usr/ports/security/openssl #make reinstall Let me know how it goes. Best, Girish ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ports adding users
On Friday 13 October 2006 21:54, Lowell Gilbert wrote: > The convention is, indeed, that users get UIDs from 1000 up. This > doesn't seem to be explicitly described anywhere I can find at the > moment, but it is implemented in adduser(8) -- and the porter's > handbook requires hard-coded UIDs and GIDs to be under 1000 (but > strongly recommends using pw(8) unless there is an important reason > not to do so). Yes. The reality of using pw(8) at port installation time, though, is that the port-created user will get a uid above 1000 - in fact a uid higher than the highest one currently in use, so I can't even just leave a gap in uid numbering for port-created users. This caught me out. > A lot of your problem, though, is that you're trying to combine the > UID (and GID) space of different machines, that have collisions. The > fact that some of those were created by ports isn't really important; > the problem is that the UID maps were created independently and now > need to be combined. No, this isn't the main problem, which is that without some serious forethought (and an awareness of the issue), installing a port can screw up my user management by (quite correctly, as you point out above) using one of ``my'' uids rather than a block set aside for ports which want a uid but don't need to reserve a specific one. More to the point, it can do this at some point in the future, when I decide to install a new port on one server and then have to remember to mark that uid as used throughout my network. > I'm not sure there's a perfect solution, other than planning ahead. Agreed. I think my planning ahead is going to take the form I proposed originally, of adding an /etc/pw.conf (so that ports using pw(8) will use that configuration) forcing allocation within a given uid/gid range, and ensure that I only use numbers outside that range for real users. I mentioned this on the list because I was Astonished (in the POLA sense) to find that my human users and ports-created (effectively system) users were not separated in any way by default, indeed were jumbled together in the sequence of uids/gids. I always like to create a permanent record of things that trip me up! Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
skype/webcam
Hello all, If you have a webcam installed, the Skype in Windows environment allows for a video session. Does the Skype, ported to UNIX environment, have a feature to enable the video session? If not, what port with similar capabilities should I use? Currently, I use Skype for audio session only, and think of buying a webcam. Many thanks in advance for useful info / advices / links. Andriy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Perl's GetOpt::Std -- Where is it?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josh Carroll wrote: > Actually, it looks like you're trying to: > > use GetOpt::Std; > > But it should be: > > use Getopt::Std; > > Note the non-capital o there :) > > Josh > > On 10/13/06, Garrett Cooper <[EMAIL PROTECTED]> wrote: > Garrett Cooper wrote: >> I'm trying to make a Perl script with GetOpt::Std, a Perl module >> that's supposed to exist with the base installation of Perl. Perl >> reports that it doesn't exist in the @INC path for Perl and I haven't >> really installed any additional Perl modules (at least to my > knowledge). >> Plus, if there is a port or option where I can keep GetOpt::Std up to >> date, that would be the best way to maintain things. >> Any help with this pursuit's much appreciated! >> -Garrett > > Probably should have included more info: > > Can't locate GetOpt/Std.pm in @INC (@INC contains: > /usr/local/lib/perl5/5.8.8/BSDPAN > /usr/local/lib/perl5/site_perl/5.8.8/mach > /usr/local/lib/perl5/site_perl/5.8.8 > /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl > /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at > ./ipf_gen.pl line 7. > BEGIN failed--compilation aborted at ./ipf_gen.pl line 7. > [EMAIL PROTECTED] ~]$ > > -Garrett Brilliant, that did the trick! Thanks for the help. - -Garrett -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFMKR26CkrZkzMC68RAg/DAKCLWv8R3He6S9ckSwEB3IeMHe2p1gCaAt5D Hu57yl5MCg1YX1r3UeYhrS4= =SX6T -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]"
Re: skype/webcam
On Sat, 14 Oct 2006 01:15:58 -0700 Andriy Babiy <[EMAIL PROTECTED]> wrote: > If you have a webcam installed, the Skype in Windows environment allows for a > video session. Does the Skype, ported to UNIX environment, have a feature to > enable the video session? If not, what port with similar capabilities should > I use? Currently, I use Skype for audio session only, and think of buying a > webcam. Skype for windows is in ... i dont know... version 2.5 or something. the linux version is 12.0.18 , with 1.3 still on Beta. Video was introduced in the 2.x series at least, so I think you'll be out of luck with native video on Skype. there *may* be a 3rd party app that may speak to the skype api to allow for video, but i haven't heard or seen of any of the unix world. I'd love to be proven wrong though :) B _ {Beto|Norberto|Numard} Meijome If you find God, do you get to keep him/her? I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Removing Giant from a driver
Hi All, i have been tweaking the pvr250 driver to support pvr150s/500s. now i want to remove Giant from the code. problem is, i am not sure what to do. i have created a mutex which replaces the spltty and splx calls. but this crashes my box :-) the original code looks like this: /* * Allocate a DMA tag for the scatter / gather list. */ error = bus_dma_tag_create(sc->parent_dmat, 1, 0, BUS_SPACE_MAXADDR_32BIT, BUS_SPACE_MAXADDR, NULL, NULL, CXM_SG_BUFFERS * sizeof(struct cxm_sg_entry), 1, BUS_SPACE_MAXSIZE_32BIT, 0, #if __FreeBSD_version >= 501102 busdma_lock_mutex, &Giant, #endif &sc->enc_sg.dmat); what should it look like? and how will i prevent the interrupt routine from interfering with userland operations? can i place a "mtx_lock()" call in the interrupt routine? is there a howto somewhere? regards, usleep ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Non English Spam
Beech Rintoul wrote: I'm getting a ton of spam every day that comes from China, Japan and Korea. Spam Assassin completely ignores it because it has all non-english characters and slows kmail to a crawl loading. Is there a way to filter on non-english either using Spam Assassin or procmail? I get none after adding simple filter rules for postfix: # Accepted mime headers: (ASCII, UTF-8 and ISO-8859-X) /^Content-Type:.*?charset\s*=\s*"?(us-ascii|iso-8859-\d+|utf-8)"?/ OK HDR2000 Accepted charset: $1 Strictly you can reject every other characterset, but I chose to make it explicit: # Reject specific character sets # Chinese, Japanese and Korean /^Content-Type:.*?charset\s*=\s*"?(Big5|gb2312|euc-cn)"?/ REJECT HDR2100: Unaccepted character set: "$1" /^Content-Type:.*?charset\s*=\s*"?(euc-kr|iso-2022-kr)"?/ REJECT HDR2110: Unaccepted character set: "$1" /^Content-Type:.*?charset\s*=\s*"?(iso-2022-\w+|euc-jp|shift_jis)"?/ REJECT HDR2120: Unaccepted character set: "$1" # Cyrrilic character sets: Russian/Ukrainian /^Content-Type:.*?charset\s*=\s*"?(koi8-(?:r|u))"?/ REJECT HDR2200: Unaccepted character set: "$1" /^Content-Type:.*?charset\s*=\s*"?(windows-(?:1250|1251))"?/ REJECT HDR2210: Unaccepted character set: "$1" And then you may want a catchup rule to catch unknown character sets. /^Content-Type:.*?charset\s*=\s*"?(\w?)"?/ WARN HDR2299: Unknown character set: "$1" you may change WARN to REJECT. I have noted however, that some subscribers to this list write english encoded in one of the above character sets, I don't know enough about the character set definition, but it seems that English characters are a subset of any character set? What is the recommended policy here? Should subscribers be advised to change character set when posting to the list? 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Non English Spam
On Friday 13 October 2006 19:09, Matthew Seaman wrote: > Beech Rintoul wrote: > > I'm getting a ton of spam every day that comes from China, Japan and > > Korea. Spam Assassin completely ignores it because it has all non-english > > characters and slows kmail to a crawl loading. Is there a way to filter > > on non-english either using Spam Assassin or procmail? > > > > Suggestions would be appreciated. > > Install the IP::Country perl modules (port: net/p5-IP-Country) and > uncomment the lines in /usr/local/etc/mail/spamassassin/init.pre to > enable Mail::SpamAssassin::Plugin::RelayCountry plugin, which causes > the Bayesian filters to learn which countries relay most spam to you. > > Look for the discussion on 'ok_locales' in the Mail::SpamAssassin::Conf > perldoc. Set that to 'en' and messages in character sets other than > anything based on the Latin (and possibly Greek) alphabet will get a > higher spam score. You can put that into > /usr/local/etc/mail/spamassassin/local.cf for a site-wide effect or into > per-user ~/.spamassassin/user_prefs config files. Thank you. Your suggestion appears to be working. I was getting 75 or more of non-english spam daily and It was becoming a real pain in the backside to deal with. Now spamassassin is tagging those with a higher score and procmail is sending them to /dev/null. Looking at the log, all my "normal" mail (like this list) are getting through. Hopefully spam will now be down to a tolerable level. Beech -- --- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /"\ ASCII Ribbon Campaign | Alaska Paradise \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com --- pgpc0562Ea36P.pgp Description: PGP signature
Re: Performance 4.x vs. 6.x
--- Kris Kennaway <[EMAIL PROTECTED]> wrote: > On Fri, Oct 13, 2006 at 01:34:36PM -0700, > Danial Thom wrote: > > Yeah, bury your head in the sand as always. > > > > Its been proven over and over. Robert Watson > has > > admitted many times that 6.x is not as fast > as > > 4.x uniprocessor > > FOR CERTAIN TASKS. Your (misquoted) claim is > demonstrably false in > generality, which is what makes 6.x so useful > to many people. Bicycles are useful to many people, but that doesn't make a case against discontinuing building automobiles. Unfortunately, the "certain tasks" that Freebsd 4.x is better at are squid, apache and networking applications, which are the only viable reasons to use the OS commercially. I've yet to hear 1 (thats *one*) commercial vendor who built a product on 4.x claim to move to 5 or 6 because of its superior performance. The only ones I know that have switched did so because of some device they needed or SATA support. I continue to be baffled by the following after 4 years of complete failure to make MP perform. Its almost like the entire user base is drugged or something. Linux 2.6 is not suitable for uniprocessor, nor is FreeBSD 6. The difference is that Linux scales with MP, and FreeBSD doesn't. So the case to keep 4.x as an option is an easy one to make. DT > > If you can one day get this through your head > and stop posting false > claims, people may eventually stop calling you > a troll. I hope so, > because you might actually have something to > contribute if only you > can learn to properly qualify your statements. > > Kris > __ 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]"
Re: Non English Spam
On Saturday 14 October 2006 05:12, Gerard Seibert wrote: > On Saturday 14 October 2006 09:04, Beech Rintoul wrote: > > Thank you. Your suggestion appears to be working. I was getting 75 or > > more of non-english spam daily and It was becoming a real pain in the > > backside to deal with. Now spamassassin is tagging those with a higher > > score and procmail is sending them to /dev/null. Looking at the log, all > > my "normal" mail (like this list) are getting through. Hopefully spam > > will now be down to a tolerable level. > > It seems to me that those restrictions might be a tad too tight, but that > is just my opinion. They don't seem to be. I'm going to watch the log for a couple of days, but so far everything legitimate is getting through. Beech -- --- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /"\ ASCII Ribbon Campaign | Alaska Paradise \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com --- pgpscUrFwRhgh.pgp Description: PGP signature
Re: Non English Spam
In checking this out, I came across this in "man spamassassin": ok_locales xx [ yy zz ... ](default: all) This option is used to specify which locales are considered OK for incoming mail. Mail using the character sets that are allowed by this option will not be marked as possibly being spam in a foreign language. If you receive lots of spam in foreign languages, and never get any non-spam in these languages, this may help. Note that all ISO-8859-* character sets, and Windows code page character sets, are always permitted by default. Set this to "all" to allow all character sets. This is the default. The rules "CHARSET_FARAWAY", "CHARSET_FARAWAY_BODY", and "CHARSET_FARAWAY_HEADERS" are triggered based on how this is set. Examples: ok_locales all (allow all locales) ok_locales en (only allow English) ok_locales en ja zh(allow English, Japanese, and Chinese) Note: if there are multiple ok_locales lines, only the last one is used. Select the locales to allow from the list below: en - Western character sets in general ja - Japanese character sets ko - Korean character sets ru - Cyrillic character sets th - Thai character sets zh - Chinese (both simplified and traditional) character sets Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: startkde: cannot start kdeinit. Check your installation
On Friday 13 October 2006 21:17, Karl Agee wrote: > --- "Donald J. O'Neill" <[EMAIL PROTECTED]> wrote: > > On Friday 13 October 2006 20:11, Karl Agee wrote: > > > 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #4: Mon Oct > > > > 2 > > > > > 08:40:06 PDT 2006 > > > > > > I cannot start kde. Installed kde 3.5.4 from > > > > pkg_add > > > > > -r kde and everything installed fine. I put in my > > > ~/.xinitrc file: > > > > > > startkde > > > > > > but I keep getting this error: > > > > > > /usr/local/bin/startkde: permission denied > > > startkde: could not start kdeinit. check your > > > installation > > > > > > I have changed the entry in .xinitrc to : > > > exec startkde > > > # and to > > > /usr/local/bin/startkde > > > > > > with the same results. I also cannot start kde as > > > root, I get the same thing. > > > > > > kdeinit is: > > > > > > -r--r--r-- 1 root wheel 39876 Oct 6 01:18 > > > /usr/local/bin/kdeinit > > > > > > > > > > > > > > > > > > I have tried changing permissions on kdeinit but > > > > with > > > > > the same result. I have also removed the kdebase > > > package and reinstalled it, but with the same > > > > results. > > > > > I've searched everywhere and have seen the same > > > problems posted with different OS's and versions > > > > of > > > > > kde but nothing solid as to solutions. > > > > > > anybody got any ideas? > > > > chmod 555 /usr/local/bin/kdeinit > > permisions should also be 555 for startkde > > > > You may have some other files permission problems. > > > > Don > > Don: I did that, same exact error. > > --Karl > Karl, Try this. What do you get, now. #ls -l /usr/local/bin/kdeinit -r-xr-xr-x 1 root wheel 39716 Sep 29 03:22 /usr/local/bin/kdeinit #ls -l /usr/local/bin/startkde -r-xr-xr-x 1 root wheel 11828 Jul 23 09:23 /usr/local/bin/startkde #ls -l .xinitrc -rw-r--r-- 1 username username 48 Sep 23 07:10 .xinitrc #cat .xinitrc exec startkde Do you have xorg installed? xorg.conf is in place and configured? What happens if you: #xdm Does x start up? Have you looked at the handbook for information on x? What about the FAQ? You have a permissions problem somewhere. Don ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
asus mb with freebsd
Hi, I kave asus p5b delux mb. This mb has inbuilt wifi adapter - wifi-ap solo (chip realtek 8187). Has anyone success to bring this wifi up? I tried to use windows drivers but with no luck :(. And also this MB has dual gigabit lan controllers. However i can see only one functioning.. Has anyone luck to make it work fully? Thanks, Tadas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Xorg -configure results a black screen
Hi there, I am new to FreeBSD. I am trying to configure Xorg but when I fire up the command "Xorg -configure" I get back a black screen. When I try to start X it is telling me a failure message: "Can't open display" . Any helping hand out there ? Boern ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Boot2 loading process
hi all, I was reading through the architecture handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/book.html) about the boot process, and something strange caught my attention. According to the docs boot0 loads only the first record of the partition, that is 512bytes. But boot2 in my 4.11 freebsd has > 7K in size -- what makes sense, considering the amount of things it does and that it links btxld. So my question is: where does the rest of the boot2 binary is located and how is it loaded ? thanks in advance for any answers! :) - jan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: startkde: cannot start kdeinit. Check your installation
--- "Donald J. O'Neill" <[EMAIL PROTECTED]> wrote: > On Friday 13 October 2006 21:17, Karl Agee wrote: > > --- "Donald J. O'Neill" <[EMAIL PROTECTED]> > wrote: > > > On Friday 13 October 2006 20:11, Karl Agee > wrote: > > > > 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #4: Mon > Oct > > > > > > 2 > > > > > > > 08:40:06 PDT 2006 > > > > > > > > I cannot start kde. Installed kde 3.5.4 from > > > > > > pkg_add > > > > > > > -r kde and everything installed fine. I put > in my > > > > ~/.xinitrc file: > > > > > > > > startkde > > > > > > > > but I keep getting this error: > > > > > > > > /usr/local/bin/startkde: permission denied > > > > startkde: could not start kdeinit. check your > > > > installation > > > > > > > > I have changed the entry in .xinitrc to : > > > > exec startkde > > > > # and to > > > > /usr/local/bin/startkde > > > > > > > > with the same results. I also cannot start > kde as > > > > root, I get the same thing. > > > > > > > > kdeinit is: > > > > > > > > -r--r--r-- 1 root wheel 39876 Oct 6 01:18 > > > > /usr/local/bin/kdeinit > > > > > > > > > > > > > > > > > > > > > > > > I have tried changing permissions on kdeinit > but > > > > > > with > > > > > > > the same result. I have also removed the > kdebase > > > > package and reinstalled it, but with the same > > > > > > results. > > > > > > > I've searched everywhere and have seen the > same > > > > problems posted with different OS's and > versions > > > > > > of > > > > > > > kde but nothing solid as to solutions. > > > > > > > > anybody got any ideas? > > > > > > chmod 555 /usr/local/bin/kdeinit > > > permisions should also be 555 for startkde > > > > > > You may have some other files permission > problems. > > > > > > Don > > > > Don: I did that, same exact error. > > > > --Karl > > > > Karl, > > Try this. What do you get, now. > > #ls -l /usr/local/bin/kdeinit > -r-xr-xr-x 1 root wheel 39716 Sep 29 03:22 > /usr/local/bin/kdeinit > > #ls -l /usr/local/bin/startkde > -r-xr-xr-x 1 root wheel 11828 Jul 23 09:23 > /usr/local/bin/startkde > > #ls -l .xinitrc > -rw-r--r-- 1 username username 48 Sep 23 07:10 > .xinitrc > > #cat .xinitrc > exec startkde > > Do you have xorg installed? xorg.conf is in place > and configured? What happens > if you: > #xdm > Does x start up? > > Have you looked at the handbook for information on > x? What about the FAQ? You > have a permissions problem somewhere. > > Don > Don: ls -la /usr/local/bin/kdeinit -r-xr-xr-x 1 root wheel 39876 Oct 6 01:18 /usr/local/bin/kdeinit ls -la /usr/local/bin/startkde -r-xr-xr-x 1 root wheel 11828 Oct 13 17:04 /usr/local/bin/startkde ls -la .xinitrc -rw-r--r-- 1 kdagee wheel 37 Oct 13 19:14 .xinitrc I use X all the time. I use windowmaker as my environment. Works fine. Using X.org. cat .xinitrc /usr/X11R6/bin/wmaker #exec startkde when I try starting kde I remove the # from the starkde line and put it in the wmaker line. Nothing abnormal in my .kde directory or owned by others. ls -la .kde total 8 drwx-- 3 kdagee wheel 512 Oct 13 09:30 . drwxr-xr-x 43 kdagee wheel 3584 Oct 14 09:25 .. lrwxr-xr-x 1 kdagee wheel24 Oct 12 21:01 cache-enterprise.myhome.westell.com -> /var/tmp/kdecache-kdagee lrwxr-xr-x 1 kdagee wheel24 Oct 12 21:59 cache-myhome.westell.com -> /var/tmp/kdecache-kdagee drwx-- 8 kdagee wheel 512 Oct 12 21:01 share lrwxr-xr-x 1 kdagee wheel19 Oct 13 09:30 socket-myhome.westell.com -> /tmp/ksocket-kdagee lrwxr-xr-x 1 kdagee wheel15 Oct 13 09:30 tmp-myhome.westell.com -> /tmp/kde-kdagee --Karl __ 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]"
Re: Xorg -configure results a black screen
--On October 14, 2006 6:02:38 PM +0200 Bjoern Thomsen <[EMAIL PROTECTED]> wrote: I am new to FreeBSD. I am trying to configure Xorg but when I fire up the command "Xorg -configure" I get back a black screen. What do you mean by this? Do you mean that you don't see any text on the console telling how to test it? Or do you mean that, when you try to test it, you get a blank screen when X starts up? By blank screen, do you mean black? Or does it have a pattern? When I try to start X it is telling me a failure message: "Can't open display" . How are you tryint to start X? When you run Xorg -configure, an xorg.conf.new file is created in /root/. To run that you need to follow the instructions printed out on the screen to use the conf file you just created. Xorg -config /root/xorg.conf.new If you want X to start using startx or xdm or some other window manager, you first have to copy the newly-created xorg.conf.new file to /etc/xorg.conf. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/
freebsd-update Reboot?
If freebsd-update installs new kernel modules, will the system have to be re-booted? If the system does need to be re-booted, will freebsd-update do it? If I have to manually reboot, when do I know a particular update calls for re-booting? Sorry for the 20 questions. ** -- Chris Maness http://www.chrismaness.com (909) 223-9179 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Panic lanuching dosbox
Hello. I'm running 6.1p10/i386 on an Athlon XP box. Each time I run dosbox or any other apps that goes fullscreen from X11 my system reboots. I tried running dosbox in single user mode and I got the following dump. However I'm not so expert in kernel to make something useful out of it. Can anyone help? The only thing I understand is that it seems to have something to do with USB, but I can't explain why. Maybe because I've got USB keyboard and mouse? bye & Thanks av. #0 doadump () at pcpu.h:165 #1 0xc04f97df in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:402 #2 0xc04f9b06 in panic (fmt=0xc067cd9d "%s") at /usr/src/sys/kern/kern_shutdown.c:558 #3 0xc065b04c in trap_fatal (frame=0xdd6ac894, eva=0) at /usr/src/sys/i386/i386/trap.c:836 #4 0xc065ad52 in trap_pfault (frame=0xdd6ac894, usermode=0, eva=4) at /usr/src/sys/i386/i386/trap.c:744 #5 0xc065a91d in trap (frame= {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = -1018738432, tf_esi = -1018738320, tf_ebp = -580204276, tf_isp = -580204352, tf_ebx = -1020958976, tf_edx = 0, tf_ecx = -1020958976, tf_eax = 0, tf_trapno = 12, tf_err = 2, tf_eip = -1068965666, tf_cs = 32, tf_eflags = 78406, tf_esp = -1020958976, tf_ss = -1023602688}) at /usr/src/sys/i386/i386/trap.c:434 #6 0xc06486da in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc048e0de in uhci_device_intr_start (xfer=0xc3474900) at /usr/src/sys/dev/usb/uhci.c:2129 #8 0xc048e055 in uhci_device_intr_transfer (xfer=0xc3474900) at /usr/src/sys/dev/usb/uhci.c:2091 #9 0xc0499191 in usbd_transfer (xfer=0xc3474900) at /usr/src/sys/dev/usb/usbdi.c:322 #10 0xc0498fec in usbd_open_pipe_intr (iface=0xc3474900, address=129 '\201', flags=4 '\004', pipe=0x0, priv=0x0, buffer=0x0, len=0, cb=0, ival=0) at /usr/src/sys/dev/usb/usbdi.c:244 #11 0xc049110f in uhidopen (dev=0x0, flag=1, mode=8192, p=0xc3105a80) at /usr/src/sys/dev/usb/uhid.c:461 #12 0xc04c6901 in giant_open (dev=0xc3019d00, oflags=0, devtype=0, td=0x0) ---Type to continue, or q to quit--- at /usr/src/sys/kern/kern_conf.c:242 #13 0xc049df72 in devfs_open (ap=0xdd6aca50) at /usr/src/sys/fs/devfs/devfs_vnops.c:680 #14 0xc066f243 in VOP_OPEN_APV (vop=0x0, a=0x0) at vnode_if.c:372 #15 0xc05706dd in vn_open_cred (ndp=0xdd6acbc0, flagp=0xdd6accc0, cmode=0, cred=0xc344, fdidx=6) at vnode_if.h:198 #16 0xc0570233 in vn_open (ndp=0xc3256700, flagp=0x0, cmode=0, fdidx=0) at /usr/src/sys/kern/vfs_vnops.c:91 #17 0xc0567378 in kern_open (td=0xc3105a80, path=0x0, pathseg=UIO_USERSPACE, flags=1, mode=0) at /usr/src/sys/kern/vfs_syscalls.c:1002 #18 0xc0567276 in open (td=0x0, uap=0xdd6acd04) at /usr/src/sys/kern/vfs_syscalls.c:968 #19 0xc065b422 in syscall (frame= {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 161619968, tf_esi = 0, tf_ebp = -1077941368, tf_isp = -580203164, tf_ebx = 674477236, tf_edx = 0, tf_ecx = 161591712, tf_eax = 5, tf_trapno = 22, tf_err = 2, tf_eip = 675187435, tf_cs = 51, tf_eflags = 12870, tf_esp = -1077941412, tf_ss = 59}) at /usr/src/sys/i386/i386/trap.c:981 #20 0xc064872f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:200 #21 0x0033 in ?? () ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
"canary mismatch on efree()"
Hello, I'm running Apache/1.3.37 (Unix) and PHP/4.4.4 with Suhosin-Patch. All of a sudden I get this in my log: [Sat Oct 14 19:54:32 2006] [error] ALERT - canary mismatch on efree() - heap overflow or double efree detected (attacker '192.168.1.4', file '/www/vhosts/asarian-host.net/htdocs/phpMyAdmin/index.php') This is not good. If a simple thing like phpMyAdmin causes it, then I will have to disable the Suhosin-Patch (which propably means recompiling from scratch, right?). Barring such drastic action, does anyone have a clue how to solve this? Or what's causing it even. Thanks, - Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Boot2 loading process
Sat, Oct 14, 2006 at 09:41:01, jan.pfeifer wrote about "Boot2 loading process": > I was reading through the architecture handbook > (http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/book.html) > about the boot process, and something strange caught my attention. > According to the docs boot0 loads only the first record of the partition, > that is 512bytes. But boot2 in my 4.11 freebsd has > 7K in size -- what makes > sense, considering the amount of things it does and that it links btxld. Name it "slice", not "partition". > So my question is: where does the rest of the boot2 binary is located and how > is it loaded ? You skipped boot1 from attention. boot2 is loaded by boot1, not boot0. boot1 resides in first block of FreeBSD slice (or whole disk in dedicated partitioning). It reads MBR, detects first active FreeBSD slice (or first FreeBSD slice if none active), loads first 8K from its (they are boot1 + disklabel + boot2) and passes control to boot2. boot2 is placed in blocks 2-15 of the FreeBSD slice. > thanks in advance for any answers! -netch- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Removing Giant from a driver
Hi All, i have been tweaking the pvr250 driver to support pvr150s/500s. now i want to remove Giant from the code. problem is, i am not sure what to do. i have created a mutex which replaces the spltty and splx calls. but this crashes my box :-) the original code looks like this: /* * Allocate a DMA tag for the scatter / gather list. */ error = bus_dma_tag_create(sc->parent_dmat, 1, 0, BUS_SPACE_MAXADDR_32BIT, BUS_SPACE_MAXADDR, NULL, NULL, CXM_SG_BUFFERS * sizeof(struct cxm_sg_entry), 1, BUS_SPACE_MAXSIZE_32BIT, 0, #if __FreeBSD_version >= 501102 busdma_lock_mutex, &Giant, #endif &sc->enc_sg.dmat); what should it look like? and how will i prevent the interrupt routine from interfering with userland operations? can i place a "mtx_lock()" call in the interrupt routine? is there a howto somewhere? regards, usleep ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
USB Mass Storage stopped working, help requested
It used to work on this machine, the kernel/world has not been recompiled/reinstalled since then. However, A USB drive that used to work (and still works in windows) no longer works in FreeBSD. When I plug in the drive, the /dev/da* devices do not show up. The system is running 6.1. The handbook says I need these: device scbus device da device pass device uhci device ohci device usb device umass kldstat shows this: 1 12 0xc040 51e030 kernel 21 0xc091f000 1adb8linux.ko 31 0xc093a000 4d24 acpi_video.ko 44 0xc093f000 597acacpi.ko 51 0xc0999000 3b58 acpi_toshiba.ko 62 0xc3803000 9000 ibcs2.ko 71 0xc381 3000 ibcs2_coff.ko 81 0xc3df7000 d000 msdosfs.ko Looking for the modules, I find: [EMAIL PROTECTED] 17:29:05 (0) /usr/src > ls /boot/kernel | grep 'scbus\.' [EMAIL PROTECTED] 17:29:10 (0) /usr/src > ls /boot/kernel | grep 'da\.' coda.ko ida.ko snd_hda.ko [EMAIL PROTECTED] 17:29:12 (0) /usr/src > ls /boot/kernel | grep 'pass\.' [EMAIL PROTECTED] 17:29:26 (0) /usr/src > ls /boot/kernel | grep 'uhci\.' [EMAIL PROTECTED] 17:29:30 (0) /usr/src > ls /boot/kernel | grep 'ohci\.' [EMAIL PROTECTED] 17:29:32 (0) /usr/src > ls /boot/kernel | grep 'usb\.' usb.ko [EMAIL PROTECTED] 17:29:43 (0) /usr/src > ls /boot/kernel | grep 'umass\.' umass.ko Scanning dmesg for usb, I get: [EMAIL PROTECTED] 17:32:22 (0) /usr/src > dmesg | grep usb usb0: on uhci0 usb0: USB revision 1.0 usb1: on uhci1 usb1: USB revision 1.0 usb2: on uhci2 usb2: USB revision 1.0 usb3: on uhci3 usb3: USB revision 1.0 usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 The results from usbdevs: [EMAIL PROTECTED] 17:34:11 (0) /usr/src > sudo usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 2: USB-PS/2 Optical Mouse, Logitech addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: iAUDIO X5, Cowon Systems, Inc. What is the best way to fix this without recompiling the kernel? I thought about compiling the drivers in the source tree individually: [EMAIL PROTECTED] 17:37:13 (0) /sys > cd /usr/src; find . -iname '*da\.*' ./cam/scsi/scsi_da.c ./cam/scsi/scsi_da.h ./coda/coda.h ./dev/ida/ida.c but I could not do a make in the scsi or cam directories. "make scsi" gave me a "don't know how to make" class of error, and "make cam" gave me an error saying cam is up to date. Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Removing Giant from a driver
You might do better by subscribing to hackers@ and posting there. This question is a little more technical than this list usually deals with. [EMAIL PROTECTED] wrote: > Hi All, > > i have been tweaking the pvr250 driver to support pvr150s/500s. now i > want to remove Giant from the code. > > problem is, i am not sure what to do. i have created a mutex which > replaces the spltty and splx calls. but this crashes my box :-) > > the original code looks like this: > /* > * Allocate a DMA tag for the scatter / gather list. > */ > error = bus_dma_tag_create(sc->parent_dmat, 1, 0, >BUS_SPACE_MAXADDR_32BIT, >BUS_SPACE_MAXADDR, NULL, NULL, >CXM_SG_BUFFERS >* sizeof(struct cxm_sg_entry), 1, >BUS_SPACE_MAXSIZE_32BIT, 0, > #if __FreeBSD_version >= 501102 >busdma_lock_mutex, &Giant, > #endif >&sc->enc_sg.dmat); > > what should it look like? > > and how will i prevent the interrupt routine from interfering with > userland operations? can i place a "mtx_lock()" call in the interrupt > routine? > > is there a howto somewhere? > > regards, > > usleep > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Bill Moran Many miles away, something crawls through the slime at the bottom of a dark, Scottish lake. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
how to connect a modem to the PS2 port?
I am using a laptop as a server, and need a second serial port on it. I'd love to use the psm0 port (I know it is an RS232C serial port) connected to a modem, but I am guessing the the psm driver is getting in the way. It is hard to ask the right question in Google. Anyone know how to use the PS2 port as a simple serial port? I never use a mouse on this machine. Bill Cheswick [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: how to connect a modem to the PS2 port?
The PS/2 port is not a RS232 serial port. It is a serial port, but it is specifically designed for a "PS/2 mouse" serial protocol, that has nothing to do with RS232. Your going to have to do what the rest of us do and use a USB to serial port adapter. Ted - Original Message - From: "ches" <[EMAIL PROTECTED]> To: Sent: Saturday, October 14, 2006 5:34 PM Subject: how to connect a modem to the PS2 port? > > I am using a laptop as a server, and need a second serial port on it. I'd > love to use the psm0 port (I know it is an RS232C serial port) connected to > a modem, but I am guessing the the psm driver is getting in the way. > It is hard to ask the right question in Google. > > Anyone know how to use the PS2 port as a simple serial port? I never > use a mouse on this machine. > > Bill Cheswick > [EMAIL PROTECTED] > ___ > 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: Non English Spam
- Original Message - From: "Erik Norgaard" <[EMAIL PROTECTED]> To: "Beech Rintoul" <[EMAIL PROTECTED]> Cc: Sent: Saturday, October 14, 2006 5:38 AM Subject: Re: Non English Spam > > I have noted however, that some subscribers to this list write english > encoded in one of the above character sets, I don't know enough about > the character set definition, but it seems that English characters are a > subset of any character set? > > What is the recommended policy here? Should subscribers be advised to > change character set when posting to the list? > No. It's the responsibility of the person doing the filtering - in this case you - to exempt any known good e-mail sender from your filters. You know damn well that legitimate mailing list mail comes from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) it's right in the headers of the messages on the list. You have no right to force other people to conform to what you feel is acceptable formatting of their message as long as they meet the SMTP rfc standards. That's why we have RFC's. If everyone did what your proposing then senders would have hundreds of different rules they would have to follow, over and above the normal RFCs. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Boot2 loading process
On Sat, Oct 14, 2006 at 09:30:53PM +0300, Valentin Nechayev wrote: > Sat, Oct 14, 2006 at 09:41:01, jan.pfeifer wrote about "Boot2 loading > process": > > > I was reading through the architecture handbook > > (http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/book.html) > > about the boot process, and something strange caught my attention. > > > According to the docs boot0 loads only the first record of the partition, > > that is 512bytes. But boot2 in my 4.11 freebsd has > 7K in size -- what > > makes sense, considering the amount of things it does and that it links > > btxld. > Name it "slice", not "partition". > > > So my question is: where does the rest of the boot2 binary is located and > > how is it loaded ? > > You skipped boot1 from attention. boot2 is loaded by boot1, not boot0. Not according to that piece of architecture documentation that was quoted. www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/book.html#BOOT-BOOT0 It says that boot1 is used only with floppy boots. So, either the question remains or that oiece of doc is incorrect. Cheers, jerry > boot1 resides in first block of FreeBSD slice (or whole disk in dedicated > partitioning). It reads MBR, detects first active FreeBSD slice (or first > FreeBSD slice if none active), loads first 8K from its (they are boot1 > + disklabel + boot2) and passes control to boot2. boot2 is placed in > blocks 2-15 of the FreeBSD slice. > > > thanks in advance for any answers! > > > -netch- > ___ > 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: Boot2 loading process
Thanks for the reference Jerry, you are right, from the docs: boot0: saved into MBR, loads boot2 (the boot1 being the floppy version of it) But still, according to the docs, boot0 loads only 512 bytes of it. So thanks for the note Valentin, I understand then that boot0 loads 15 records, that is 7.5kb. many thanks again, - jan ps.: the docs also mentions that slices are the FreeBSD jargon for partitions, sorry. - Original Message From: Jerry McAllister <[EMAIL PROTECTED]> To: Valentin Nechayev <[EMAIL PROTECTED]> Cc: Jan Pfeifer <[EMAIL PROTECTED]>; freebsd-questions@freebsd.org Sent: Saturday, October 14, 2006 6:15:55 PM Subject: Re: Boot2 loading process On Sat, Oct 14, 2006 at 09:30:53PM +0300, Valentin Nechayev wrote: > Sat, Oct 14, 2006 at 09:41:01, jan.pfeifer wrote about "Boot2 loading > process": > > > I was reading through the architecture handbook > > (http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/book.html) > > about the boot process, and something strange caught my attention. > > > According to the docs boot0 loads only the first record of the partition, > > that is 512bytes. But boot2 in my 4.11 freebsd has > 7K in size -- what > > makes sense, considering the amount of things it does and that it links > > btxld. > Name it "slice", not "partition". > > > So my question is: where does the rest of the boot2 binary is located and > > how is it loaded ? > > You skipped boot1 from attention. boot2 is loaded by boot1, not boot0. Not according to that piece of architecture documentation that was quoted. www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/book.html#BOOT-BOOT0 It says that boot1 is used only with floppy boots. So, either the question remains or that oiece of doc is incorrect. Cheers, jerry > boot1 resides in first block of FreeBSD slice (or whole disk in dedicated > partitioning). It reads MBR, detects first active FreeBSD slice (or first > FreeBSD slice if none active), loads first 8K from its (they are boot1 > + disklabel + boot2) and passes control to boot2. boot2 is placed in > blocks 2-15 of the FreeBSD slice. > > > thanks in advance for any answers! > > > -netch- > ___ > 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]"
AAARRRGH: cgi-bin.. "Not Increment Counter"
Folks, I hope there are still a few of you still using cgi-bin. I jujst checked after a week or so of auto rsyncng my www files around. One of my cgi-bin scripts outputs: [TextCounter Fatal Error: Could Not Increment Counter] at every hit. In my howto notes I say that the *_data directory must be 0777; I have done that. I've also chown the perl scripts to www:www. No help. Can anybody clue me in?? thanks in advance, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: startkde: cannot start kdeinit. Check your installation
On Saturday 14 October 2006 11:44, Karl Agee wrote: > Don: > > ls -la /usr/local/bin/kdeinit > -r-xr-xr-x 1 root wheel 39876 Oct 6 01:18 > /usr/local/bin/kdeinit > ls -la /usr/local/bin/startkde > -r-xr-xr-x 1 root wheel 11828 Oct 13 17:04 > /usr/local/bin/startkde > ls -la .xinitrc > -rw-r--r-- 1 kdagee wheel 37 Oct 13 19:14 .xinitrc > > I use X all the time. I use windowmaker as my > environment. Works fine. Using X.org. > > cat .xinitrc > /usr/X11R6/bin/wmaker > #exec startkde > > when I try starting kde I remove the # from the > starkde line and put it in the wmaker line. > > Nothing abnormal in my .kde directory or owned by > others. > > ls -la .kde > total 8 > drwx-- 3 kdagee wheel 512 Oct 13 09:30 . > drwxr-xr-x 43 kdagee wheel 3584 Oct 14 09:25 .. > lrwxr-xr-x 1 kdagee wheel24 Oct 12 21:01 > cache-enterprise.myhome.westell.com -> > /var/tmp/kdecache-kdagee > lrwxr-xr-x 1 kdagee wheel24 Oct 12 21:59 > cache-myhome.westell.com -> /var/tmp/kdecache-kdagee > drwx-- 8 kdagee wheel 512 Oct 12 21:01 share > lrwxr-xr-x 1 kdagee wheel19 Oct 13 09:30 > socket-myhome.westell.com -> /tmp/ksocket-kdagee > lrwxr-xr-x 1 kdagee wheel15 Oct 13 09:30 > tmp-myhome.westell.com -> /tmp/kde-kdagee > > > --Karl > Hi Karl, Sorry I didn't get back to you sooner. I had to weld up a special grill to go over a fire pit, and it took a long time. Then of course, it had to be tested with steaks, and of course, lots of beer. It worked great, looks good, I might have to sell some of these. I think I've exhausted all of the things I can tell you to check. I haven't exhausted all of my knowledge, but I can't think of anything else to say. Somewhere, something doesn't have the correct permissions. Startkde is a script, if you go through it and check the permissions on what it's calling up, it may give you a better idea of where the problem is. When you find the problem, and I'm sure you will, it's probably going to be something so easy that you'll be kicking yourself for not seeing it. The brain is a funny thing, it will most often see what is expected, rather than what is. Don ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"