Perl updates
Can someone explain why we have to run an update batch in order to have all Perl related programs running with this update? Wouldn't it be better to upgrade Perl and have all programs use it as it hadn't been updated at all? Jos Chrispijn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Perl updates
Jos Chrispijn wrote: Can someone explain why we have to run an update batch in order to have all Perl related programs running with this update? Wouldn't it be better to upgrade Perl and have all programs use it as it hadn't been updated at all? You're talking about the update of lang/perl5.10 from perl-5.10.0 to perl-5.10.1 ? The reason you need to run perl-after-upgrade is because perl library modules are stored in directory trees which encode the perl version number. perl-after-upgrade basically moves installed modules from /usr/local/lib/perl5/site_perl/5.10.0 to /usr/local/lib/perl5/site_perl/5.10.1 plus it fixes up all of the pkg-plists and various other places where the directory path is embedded. Alternatively you could just re-install every single perl module on the system, plus any other ports that depend on perl, but that's going to be the majority of the software on your machine and perl-after-upgrade is a lot quicker. Even so, ports that embed a perl interpreter -- ie. that dynamically link against libperl.so -- will need to be recompiled, to account for libperl.so now being in a different location. There aren't too many of these: net-mgmt/net-snmp and www/mod_perl{,2} are probably the most commonly encountered. One of the functions of perl-after-upgrade is to tell you what packages need to be rebuilt because of this. Why isn't perl-after-upgrade run automatically? Two reasons. Firstly, the ports system cannot itself distinguish what updates would require perl-after-upgrade to be run: when updating, the mechanism is to delete the old package and then install the new one as if de-novo. The newly installed package has no information about what older version of itself it is replacing, if any. Secondly, you can't make perl-after-upgrade clever enough to deal with all conceivable corner cases. Other than by enforcing particular usage rules on how individual admins manage their perl installations -- a policy that is manifestly *not the BSD way* -- this is unfeasible. Given that we hold that it is in the gift of the individual admin to decide how to manage their systems, there have to be stages somewhere that involve the admin making a concious decision about what to do. Running perl-after-upgrade is one of those points. Lastly, just to note that if the upgrade is across a significantly large change in version number: eg from perl-5.8 to perl-5.10, then any dynamically loaded compiled extension modules (see perlxs(1)) will have to be recompiled as the ABI is not guaranteed to be kept the same in that case. Unfortunately, distinguishing modules that use perlxs from pure perl modules is not something the ports system is currently capable of, so the upgrade instructions there are rebuild everything that depends on perl. 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: linux-pango won't install
On Sat, Sep 12, 2009 at 02:19:22PM +0400, Boris Samorodov typed: On Fri, 11 Sep 2009 23:01:23 -0600 Chad Perrin wrote: If you still want to install the port, you could just add this to the /etc/make.conf file: # Pango .if $(.CURDIR:M*/x11-toolkits/linux-pango) DISABLE_VULNERABILITIES=yes .endif How long has this been broken for 7.2? Considering all the stuff that depends on linux-pango, I'm surprised it hasn't been fixed. There is a native pango port. Suckz also... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD RoadMap
- Original Message - From: Wolfgang Zenker wolfg...@lyxys.ka.sub.org To: freebsd-sta...@freebsd.org Sent: Monday, July 13, 2009 10:39 PM Subject: Re: FreeBSD RoadMap * Masoom Shaikh masoom.sha...@gmail.com [090713 20:26]: On Mon, Jul 13, 2009 at 7:55 AM, Andrew Reilly andrew-free...@areilly.bpc-users.org wrote: On Mon, Jul 13, 2009 at 12:55:19AM -0400, grarpamp wrote: Is there a general roadmap of what's planned for future major releases? I don't mean minor stuff like driver or contributed version bumps. But bigger, or just plain cool things, like as SMP, soft updates, ZFS, netgraph, pf, etc, were in the past. I doubt that there's much big in the ambit of Unix-like OS that isn't already in the 8-current series. In a project like FreeBSD, what's in the roadmap equates pretty closely with what are the developers working on, and that is summarised in the quarterly status reports, such as this one: http://www.freebsd.org/news/status/report-2009-01-2009-03.html As for when any of this will hit the tree and find its way into a release, that's very much a how long is a piece of string sort of question; not really the way FreeBSD works. Particularly since it moved to a calendar-based release schedule. IMO, YMMV, i-do-not-speak-for-freebsd, etc. can this help ? http://ivoras.sharanet.org/freebsd/freebsd8.html or you could visit this years eurobsdcon and listen to http://www.ukuug.org/events/eurobsdcon2009/talks/#mckusick or http://wiki.freebsd.org/8.0TODO for changes before 8-RELEASE :-) ___ freebsd-sta...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to setup mDNSResponder on FreeBSD?
On Sat, Sep 12, 2009 at 11:14:33PM +0800, Sagara Wijetunga typed: Hi all I have installed the net/mDNSResponder port on a FreeBSD 7.2 i386 computer. Set to launch the mdnsd on start up (in /etc/rc.conf). Changed hosts line in /etc/nsswitch.conf to hosts: files mdns dns. Rebooted. mDNSIdentify name.local immediately shows the IP address of the other computer but ping name.local shows following message: ping: cannot resolve name.local: Unknown host Its the same for ssh too. Is there anything else to set up in FreeBSD? Yes. It's called bind. :) Ruben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Perl updates
Matthew Seaman wrote: You're talking about the update of lang/perl5.10 from perl-5.10.0 to perl-5.10.1 ? The reason you need to run perl-after-upgrade is because perl library modules are stored in directory trees which encode the perl version number. perl-after-upgrade basically moves installed modules from [-snip-] Thanks, appreciate this detailed information. Jos Chrispijn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: linux-pango won't install
On Saturday 12 September 2009 05:19:22 Boris Samorodov wrote: On Fri, 11 Sep 2009 23:01:23 -0600 Chad Perrin wrote: If you still want to install the port, you could just add this to the /etc/make.conf file: # Pango .if $(.CURDIR:M*/x11-toolkits/linux-pango) DISABLE_VULNERABILITIES=yes .endif How long has this been broken for 7.2? Considering all the stuff that depends on linux-pango, I'm surprised it hasn't been fixed. It will be broken until someone provide an URL to non-vulnerable RPM package. Upgrade to the latest version of Pango (1.24 or later), available from the Pango Web site http://rpm.pbone.net/index.php3/stat...ch/pango/field[]/1/field[]/2 -- Mitja - http://starikarp.redbubble.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Can't install FreeBSD 7.2-RELEASE and 8.0-BETA4
Hello, I can't install FreeBSD 7.2-RELEASE and 8.0-BETA4 on laptop HP Pavilion Entertainment PC dv5 - 1150ew. I got the following message when boot from CD install 8.0-BETA4-amd64-bootonly.iso similarly for 7.2-RELEASE: ... run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 240 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 300 seconds for xpt_config panic: run_interrupt_driven_config_hooks: waited too long cpuid=0 KDB: enter: panic [thread pid 0 tid 10] Stopped at kdb_enter+0x3d: movq $0,0x68d1e0(%rip) db and thats all. Is maybe also someone also have such problem? Zbigniew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
VLC from ports collection
Hello, My install VLC did stop with remark Port marked as IGNORE: multimedia/vlc: In the makefile i found this line .if ${PERL_LEVEL} 500800 BROKEN= Does not compile with perl ${PERL_VERSION} .endif Can I (and if so who) edit this option? [FreeBSD 7.2 stable - gnome2] Regards, Roy Stuivenberg. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Question of keyboard input after lanuch vlc
hello all : yestoday i install the vlc media player use ports , the question is that : After i lanuch vlc (In a X Env , just test Openbox and xfce ), i can not input any word ,look like keyboard is faile , mouse are normal , then i kill (click the X) it , the keyboard is normal. test that , lanuch vlc , when the CAPSLOCK is on , i can input any word (ADKXKOPI and so on ) .. and still can not input word when CAPSLOCK is off. can someone give me help for fix this Question ?? thanks all ! Best Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Can't install FreeBSD 7.2-RELEASE and 8.0-BETA4
Am 13.09.2009 14:11, schrieb Zbigniew Komarnicki: run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 240 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 300 seconds for xpt_config panic: run_interrupt_driven_config_hooks: waited too long cpuid=0 KDB: enter: panic [thread pid 0 tid 10] Stopped at kdb_enter+0x3d: movq $0,0x68d1e0(%rip) db and thats all. Is maybe also someone also have such problem? Yes, several people reported this problem. There is a workaround that might help: disable the firewire device (IEEE 1394) in the BIOS of your machine and try again. cu, Uwe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD-8 Release Type?
Hey guys, we've googled and searched the FreeBSD website... cannot find the answer. Will FreeBSD-8 be a 'normal' or 'extended' support release? If it's normal, we'll probably just stick with 7.1, but if it is extended, we'll go with 8. Thanks! Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Can't install FreeBSD 7.2-RELEASE and 8.0-BETA4
Hi, I am having _exactly_ the same issue with my Fujitsu-Siemens ESPRIMO V6505. And unfortunately for me the workaround listed above is not applicable as there're no option such as firewireIEEE1394 in my BIOS =(. I know it's bad policy to request a feature than to implement it, but anywayz...It would be greatly appreciated if someone fixed this issue. PLEASE!!! 2009/9/13 Uwe Laverenz u...@laverenz.de: Am 13.09.2009 14:11, schrieb Zbigniew Komarnicki: run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 240 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 300 seconds for xpt_config panic: run_interrupt_driven_config_hooks: waited too long cpuid=0 KDB: enter: panic [thread pid 0 tid 10] Stopped at kdb_enter+0x3d: movq $0,0x68d1e0(%rip) db and thats all. Is maybe also someone also have such problem? Yes, several people reported this problem. There is a workaround that might help: disable the firewire device (IEEE 1394) in the BIOS of your machine and try again. cu, Uwe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Character Escape sequences and fortune
I'm wanting to embed escape sequences for colors into my fortune files. It appears that fortune doesn't user the pager specified by PAGER and doesn't support escape sequences. Anyone know how to embed color, bold, or italics into fortune files? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
[OFF?] Mac OX Driver
Sorry to put a lame question here but I need a little feedback as to keep my hopes up or bury them. I have an old sound board (echo gina20) that I need to keep using (for $$$ reasons), but I also must upgrade my OSes to 64 bits. There are XP 32bit drivers but no XP 64bit ones for it. There are no Gina20 drivers for freebsd but there IS a Mac OS X driver for it!. Is it possible to use a Mac driver on FreeBSD? Has this ever been tried or done? should I bury my hopes? Thanks, -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VLC from ports collection
On Sun, Sep 13, 2009 at 03:49:49PM +0200, Roy Stuivenberg wrote: Hello, My install VLC did stop with remark Port marked as IGNORE: multimedia/vlc: In the makefile i found this line .if ${PERL_LEVEL} 500800 BROKEN= Does not compile with perl ${PERL_VERSION} .endif Can I (and if so who) edit this option? [FreeBSD 7.2 stable - gnome2] The obvious solution is for you to upgrade perl. Is there a specific requirement for the perl version you're on? Cheers. -- Jonathan Chen j...@chen.org.nz -- If everything's under control, you're going too slow - Mario Andretti ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
links_don't_work
http://www.freebsd.org/ru/projects/newbies.html On this page some links don't work .Could you update the page? Thanks in advance. Yours sincerely Jalaalov Edem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
add own program to ports + help with port / program
hi list, I am about writing shell script which adds system account by tens (even hundreds). Info about added accounts is stored in external file which has syntax like this account-name:comment:email-addres Briefly, account-name is name of account comment field is comment which appears in /etc/passwd comment field email-address is address where info about just created account is sent (optional) eg. joe:Joe Brown:j...@something.com brown%3a...@something.com mark:Mark Red:m...@nowhere.org red%3am...@nowhere.org tim:Tim Yellow:ti...@example.com yellow%3ati...@example.com Script is checking file syntax and if syntax is bad, it exits. If it is ok, accounts is being created. You can modify a lot of infos, these are stored in config file in /usr/local/etc/pwgroup.conf, eg # output file with passwords of newly # created user accounts PASSWD_FILE=passwords # uid of first created user UID=2000 # root home dir of users HOME_DIR=/home # comment for users, appears in /etc/passwd # in comment field COMMENT= # primary group for users, if empty, # primary group will be a user name GROUP=users # comma separated list of groups # users should be a member of GROUPLIST= # shell for users SHELL=/bin/csh # use quotas QUOTAS=NO # hard quote limit QUOTA_HARD=1536 # soft quote limit QUOTA_SOFT=1024 # disk device upon which users are created DISK_DEV=/home # expiration date of accounts ACCOUNT_EXP=30-Jun-2010 # length of password PASSWORD_LENGTH=8 == as you can see, you can set quotas for users, account expiration of accounts, password length, shell and so on. Variables in config file are default, if you do not overwrite some at command line. some examples: # pwgrp -a -f users -c unix begginer -s /usr/local/bin/bash -q -qh 2048 -l 10 (adding users) # pwgrp -r -f remove_users (list of users for removing) Password are generated by apg program Quotas are set by setquotas. The main reason I write this mail is to make some feedback about program to me and even test it and comment it. I want to write this program but I do not know if I do it correct and I need some feedback about programming style or just some info what do you think about it. At this time, there is absence of manual, but if you track code, I think you understand it. Any ideas are highly appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: add own program to ports + help with port / program
On Sun, 13 Sep 2009 21:38:00 +0200, Stefan Miklosovic miklosovic.free...@gmail.com wrote: I am about writing shell script which adds system account by tens (even hundreds). Interesting and useful tool. I'm sure many sysadmins have created such tools for their own needs, but it wouldn't be bad to have one publically available from the ports collection. Password are generated by apg program In order to employ an alternate password generation program (e. g. pwgen), you could even add an entry to your configuration file. I want to write this program but I do not know if I do it correct and I need some feedback about programming style or just some info what do you think about it. Style is highly debatable and is discussed ocassionally on this list. But finally, YOU are the programmer and YOU are the one who decides about style. Programming tips to mainly rely on which programming language you use. For example, if you're using C, I would suggest you to only use safe functions (e. g. no strcpy() function) and always check return values (e. g. fopen(), fputs() and fclose() functions, if you use them for accessing files). In case you are using threads, check that your program is thread safe. Testing as much as possible is important because you're writing a program that is acting on system level (root) when it does simply create user accounts. At this time, there is absence of manual, but if you track code, I think you understand it. In order to comply to FreeBSD's philosophy of quality, you should, if your program is complete, take the time to write a manpage. As a developer, I always loved FreeBSD for its excellent documentation. Don't do it the Linux way - leave documentation to the Web, a Wiki, or the users. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [OFF?] Mac OX Driver
On Sep 13, 2009, at 2:53 PM, Mario Lobo ml...@digiart.art.br wrote: Sorry to put a lame question here but I need a little feedback as to keep my hopes up or bury them. I have an old sound board (echo gina20) that I need to keep using (for $$$ reasons), but I also must upgrade my OSes to 64 bits. There are XP 32bit drivers but no XP 64bit ones for it. There are no Gina20 drivers for freebsd but there IS a Mac OS X driver for it!. Is it possible to use a Mac driver on FreeBSD? In a word, no. If you have access to the source it should be possible to port the driver, but there's no reason to assume the effort would be trivial. Has this ever been tried or done? should I bury my hopes? See above. Drivers do get ported between OSes all the time but there's no magic involved. FreeBSD and Darwin have very different kernel origins. Snow Leopard may be your friend. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Smartmontools + Highpoint hptrr?
I'm trying to monitor SATA drives connected to a HighPoint RocketRAID 2340 card (hptrr driver) using smartmontools, but it doesn't seem to work. Has anyone managed to get this to work? I'm using RELENG_8 / amd64 if that makes any difference. I've tried both the smartmontools port and a direct checkout from their SVN, and I'm getting very similar error messages. From the changelog and the manpage it looks like some work has been done to make this work. /Daniel Eriksson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [OFF?] Mac OX Driver
Mario Lobo wrote: Is it possible to use a Mac driver on FreeBSD? Has this ever been tried or done? should I bury my hopes? Mac OS X has a unique C++ driver architecture called the I/O Kit. It's quite unlike the driver systems in any other OSes I've seen. If you have the source to the Mac driver, you might be able to glean information from it that would help you write a FreeBSD driver. Even better would be to have the hardware specs to your sound board. Apple has some tech notes on porting drivers from other platforms to Mac OS X. Maybe reading them could give you some insight as to how to port them in reverse. One doesn't generally port device drivers between such different systems; it's more like doing a complete rewrite. Mike -- Michael David Crawford m...@prgmr.com prgmr.com - We Don't Assume You Are Stupid. Xen-Powered Virtual Private Servers: http://prgmr.com/xen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
SVG and dependence on Firefox2.x?
I notice that for both The Gimp and graphviz, and probably for others as well, marking them or their dependencies as able to render SVG invokes installation of FF 2.x. This fails, as the port is marked as forbidden, and then the installation of these graphics programs fails. Not a huge deal, but any way to work around it? Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: SVG and dependence on Firefox2.x?
On Sun, 13 Sep 2009 14:59:51 -0700, Kurt Buff kurt.b...@gmail.com wrote: I notice that for both The Gimp and graphviz, and probably for others as well, marking them or their dependencies as able to render SVG invokes installation of FF 2.x. This fails, as the port is marked as forbidden, and then the installation of these graphics programs fails. Not a huge deal, but any way to work around it? An explaination has recently been discussed on this list. See the archives, and I'm sure you'll find it very fast. (Sadly, I can't remember the thread name, but it involved Firefox, as far as I remember.) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: configuring X on the Presario with the 8200M driver
Thanks, guys! I intend to set aside some time late this week to try this. I bought one but have not been able to configure the X environment yet; I notice that PC-BSD comes up fine; I thought of doing that and copying the file, but that's about a half day or more of effort that way... Not good. Anyway, a couple questions... Is this likely to be compatible with FBSD 8.0? Or no, and I will just use 7.2. --jg On Sat, Sep 12, 2009 at 2:12 AM, Kenneth kennet...@earthlink.net wrote: Moving this discussion to freebsd-x11. I have a Presario CQ60 with the NVIDIA 8200M G, and X is working! Here are the steps to get there. Do everything as root: 1) Update your ports to the most recent. Follow the FreeBSD manual, section 4.5 Using the Ports Collection, nuke the contents of /usr/ports, and install a new base using portsnap or cvsup. 2) Install the nvidia-driver. # cd /usr/ports/x11-driver/nvidia-driver # make install clean (I built with options FREEBSD_AGP checked, ACPI checked, LINUX unchecked). 3) You can install 2 more optional tools for configuring the nvidia card settings. I have not used them, but I installed them. # cd /usr/ports/x11-driver/nvidia-settings # make install clean # cd /usr/ports/x11-driver/nvidia-xconfig # make install clean 4) I also installed the fbdev driver from X.Org. # cd /usr/ports/x11-drivers/xf86-video-fbdev # make install clean 5) Add the nvidia driver as a dynamically loaded kernel module. # cd /boot # vi loader.conf (you better know how to use vi to edit) --- add the line nvidia_load=YES --- it is the only line I have in my loader.conf file 6) Reboot the system # reboot 7) If you want to see the version you just installed (your versions may be newer than mine below)... # pkg_info | grep nvidia nvidia-driver-185.18.29 nvidia-settings-190.32 nvidia-xconfig-190.32 # pkg_info | grep fbdev xf86-video-fbdev-0.4.0_2 8) Generate your xorg.conf.new file. # cd /root # Xorg -configure 9) Edit the xorg.conf.new file. # vi xorg.conf.new --- change the line Driver nv to read Driver nvidia 10) Test the config file. # Xorg -config xorg.conf -retro --- you should get a grey screen and your mouse should work, especially if your mouse worked when installing FreeBSD --- to kill the test, press CTRL-ALT-BKSP 11) If everything worked, move and rename (drop the new extension) the config file to the /etc directory # mv xorg.conf.new /etc/X11/xorg.conf 12) Test again. Log in as another user belonging to the wheel group (or login as root). % startx --- you should get 3 green windows --- you can kill X by clicking on the large window on the left, and typing exit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD-8 Release Type?
In the last episode (Sep 13), Tom Smith said: Hey guys, we've googled and searched the FreeBSD website... cannot find the answer. Will FreeBSD-8 be a 'normal' or 'extended' support release? If it's normal, we'll probably just stick with 7.1, but if it is extended, we'll go with 8. So far, no .0 releases have been marked extended. http://security.freebsd.org/#sup -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [OFF?] Mac OX Driver
On Sunday 13 September 2009 17:39:50 John Nielsen wrote: origins. Snow Leopard may be your friend. JN What do you mean by that, John? What help can I get from Snow Leopard? On Sunday 13 September 2009 18:23:33 Michael David Crawford wrote: One doesn't generally port device drivers between such different systems; it's more like doing a complete rewrite. Mike Since my post, I have found out 2 things: 1) A good while back, a guy called Thomas Skibo was writing a driver for it It's pretty old and he has not touched it for a long time, but he was kind enough to send it to me. And I will try to make it work. 2) Downloaded the latest alsa drivers, which contains a driver specifically for my board (gina20). Maybe I can get clues from it. I would try OSS but only the comercial version has drivers for it. Don't know if I'll be successful but I'll post if I am. Many thanks to you both for replying ! -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: SVG and dependence on Firefox2.x?
On Sun, Sep 13, 2009 at 15:15, Polytropon free...@edvax.de wrote: On Sun, 13 Sep 2009 14:59:51 -0700, Kurt Buff kurt.b...@gmail.com wrote: I notice that for both The Gimp and graphviz, and probably for others as well, marking them or their dependencies as able to render SVG invokes installation of FF 2.x. This fails, as the port is marked as forbidden, and then the installation of these graphics programs fails. Not a huge deal, but any way to work around it? An explaination has recently been discussed on this list. See the archives, and I'm sure you'll find it very fast. (Sadly, I can't remember the thread name, but it involved Firefox, as far as I remember.) Thanks - I took a look around and I see a thread from April - Firefox3 and dependencies on firefox2,libxul,xulrunner - was that what you were referring to? Regardless, I'll try that when I have a few minutes. On to more difficult problems. Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [OFF?] Mac OX Driver
On Sep 13, 2009, at 8:22 PM, Mario Lobo ml...@digiart.art.br wrote: On Sunday 13 September 2009 17:39:50 John Nielsen wrote: origins. Snow Leopard may be your friend. JN What do you mean by that, John? What help can I get from Snow Leopard? Your only stated OS requirement other than your soundcard working was 64-bit support, and Snow Leopard provides that (even more than its predecessors). If the mac driver for your card still works in that version then it might fit the bill. Of course if you have other requirements or preferences then it may not, I was just throwing it out as an idea. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
wpi0 went away, though a reboot cures it.
Today, after leaving my Lenovo T61 on overnight to do some compiles, I lost my wireless. I tried a few other things that what I've listed below, but none of it worked. This is a dual boot machine - I also run Windows XP, and don't have any issues with wireless on that OS. Any clues would be appreciated. # uname -a FreeBSD grimsqueaker.pigfarm.org 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 07:18:07 UTC 2009 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 First, in /var/log/messages, I found the following: Sep 13 15:09:23 grimsqueaker kernel: wpi0: device timeout Sep 13 15:09:23 grimsqueaker kernel: wpi0: link state changed to DOWN Sep 13 15:09:24 grimsqueaker kernel: wpi0: could not set power mode Sep 13 15:09:24 grimsqueaker kernel: wpi0: device config failed So I tried stopping and starting netif: # /etc/rc.d/netif stop Stopping network:wpa_supplicant not running? (check /var/run/wpa_supplicant/wpi0.pid). lo0 em0 wpi0 fwe0 fwip0. # /etc/rc.d/netif start em0: no link .. giving up Starting wpa_supplicant. wpi0: no link .. giving up lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4 ether 00:1c:25:80:db:87 media: Ethernet autoselect status: no carrier wpi0: flags=8803UP,BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:1f:3c:4d:e2:55 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid channel 11 (2462 Mhz 11g) authmode WPA1+WPA2/802.11i privacy ON deftxkey UNDEF txpower 50 bmiss 7 scanvalid 60 protmode CTS roaming MANUAL Then, I let the compile get as far as it could, and rebooted. While rebooting, I noticed this on the console, and found these traces in /var/log/messages: Sep 13 16:05:44 grimsqueaker kernel: interrupt storm detected on irq16:; throttling interrupt source Sep 13 16:05:48 grimsqueaker last message repeated 4 times Sep 13 16:05:49 grimsqueaker syslogd: exiting on signal 15 Sep 13 16:07:38 grimsqueaker syslogd: kernel boot file is /boot/kernel/kernel Sep 13 16:07:38 grimsqueaker kernel: interrupt storm detected on irq16:; throttling interrupt source Sep 13 16:07:38 grimsqueaker kernel: interrupt storm detected on irq16:; throttling interrupt source Sep 13 16:07:38 grimsqueaker kernel: Waiting (max 60 seconds) for system process `vnlru' to stop...done Sep 13 16:07:38 grimsqueaker kernel: Waiting (max 60 seconds) for system process `bufdaemon' to stop...interrupt storm detected on irq16:; throttling interrupt source Sep 13 16:07:38 grimsqueaker kernel: done Sep 13 16:07:38 grimsqueaker kernel: Waiting (max 60 seconds) for system process `syncer' to stop...interrupt storm detected on irq16:; throttling interrupt source Sep 13 16:07:38 grimsqueaker kernel: Sep 13 16:07:38 grimsqueaker kernel: Syncing disks, vnodes remaining...0 interrupt storm detected on irq16:; throttling interrupt source Sep 13 16:07:38 grimsqueaker kernel: 0 done Sep 13 16:07:38 grimsqueaker kernel: All buffers synced. Sep 13 16:07:38 grimsqueaker kernel: Uptime: 6h53m12s Sep 13 16:07:38 grimsqueaker kernel: interrupt storm detected on irq16:; throttling interrupt source Thanks, Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Dump/Restore?
I level 0 dump of my server. I lost a file that I need back. Is it possible to use restore like tar and explode it into a directory instead of a pristine partition/mount? Or even better, is it possible to just extract a single file without exploding the whole tape dump? Sorry if the question seems stupid. Chris KQ6UP ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
8.0-Beta installation problem -- Unable to find /dev/ad0s1b
Tried to install from both 8.0-BETA{3, 4}-i386-dvd1.iso on a Phenom 9600 system and having some disk problems. The system is running 6.x and/or 7.2 FreeBSD (on different drives). Disconnected rest drives and only left 7.2 drive in. ad0: 76319MB Seagate ST3802110A 3.AAJ at ata0-master UDMA100 Boot 8.0-BETA3-i386-dvd1.iso and sees no partition at all on the 7.2 disk. Boot back to 7.2 and everything works fine, so system has no hardware problem. Boot 8.0-BETA3-i386-dvd1.iso again, still sees no partition, so reconfigured partition with autoconfigure - A 512M for / on /dev/ad0s1a about 4G for swap on /dev/ad0s1b about 2.2G on /var 512M for /tmp rest spaces are for /usr After commit, installation says -- Unable to find device node for /dev/ad0s1b in /dev The Creation of file system will abort. OK [Press enter or space] Hit CR and see some other errors, then back to installation menu. Reboot the system, 7.2 is gone. Download 8.0-BETA4-i386-dvd1.iso and burned another DVD, also did verify between DVD and ISO for OK. Run installation from Beta4 DVD, the same problem presents again. If my memory is correct, either 8.0-Beta1 or one version earlier than it was working on this machine. Is anything changed that requires different installation procedure? or is this a bug introduced recently? -Jin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Dump/Restore?
On Sun, Sep 13, 2009 at 6:15 PM, Chris Maness ch...@chrismaness.com wrote: I level 0 dump of my server. I lost a file that I need back. Is it possible to use restore like tar and explode it into a directory instead of a pristine partition/mount? Or even better, is it possible to just extract a single file without exploding the whole tape dump? Sorry if the question seems stupid. Chris KQ6UP Sorry, I was reading the restore man from my mac, and it was not as clear. The restore does not seem to work from my mac (this is where my backup dumps reside as I have two massive HDs). I guess the mac restore would only work with HFS+ and not UFS. I guess the only way would be to move the massive dump file back over to the FreeBSD server. Thanks, Chris KQ6UP ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
8.0-Beta installation problem -- Unable to find /dev/ad0s1b
Jin Guojun writes: Tried to install from both 8.0-BETA{3, 4}-i386-dvd1.iso on a Phenom 9600 system and having some disk problems. After commit, installation says -- Unable to find device node for /dev/ad0s1b in /dev The Creation of file system will abort. OK [Press enter or space] Look at the archives of current@ within the last three weeks. I (and I believe at least one other person) had what seems like the same problem and found a work-around. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ath atheros 5424/2424 on the CQ60 Presario
Anyone been able to use the ath driver on an atheros 5424/2424? I have a Compaq Presario CQ60 and can not get the wireless light to turn blue? -Original Message- From: Jules Gilbert jules.sto...@gmail.com Sent: Sep 13, 2009 7:14 PM To: Kenneth kennet...@earthlink.net Cc: freebsd-questions@freebsd.org, freebsd-...@freebsd.org, ges...@yahoo.com Subject: Re: configuring X on the Presario with the 8200M driver Thanks, guys! I intend to set aside some time late this week to try this. I bought one but have not been able to configure the X environment yet; I notice that PC-BSD comes up fine; I thought of doing that and copying the file, but that's about a half day or more of effort that way... Not good. Anyway, a couple questions... Is this likely to be compatible with FBSD 8.0? Or no, and I will just use 7.2. --jg On Sat, Sep 12, 2009 at 2:12 AM, Kenneth kennet...@earthlink.net wrote: Moving this discussion to freebsd-x11. I have a Presario CQ60 with the NVIDIA 8200M G, and X is working! Here are the steps to get there. Do everything as root: 1) Update your ports to the most recent. Follow the FreeBSD manual, section 4.5 Using the Ports Collection, nuke the contents of /usr/ports, and install a new base using portsnap or cvsup. 2) Install the nvidia-driver. # cd /usr/ports/x11-driver/nvidia-driver # make install clean (I built with options FREEBSD_AGP checked, ACPI checked, LINUX unchecked). 3) You can install 2 more optional tools for configuring the nvidia card settings. I have not used them, but I installed them. # cd /usr/ports/x11-driver/nvidia-settings # make install clean # cd /usr/ports/x11-driver/nvidia-xconfig # make install clean 4) I also installed the fbdev driver from X.Org. # cd /usr/ports/x11-drivers/xf86-video-fbdev # make install clean 5) Add the nvidia driver as a dynamically loaded kernel module. # cd /boot # vi loader.conf (you better know how to use vi to edit) --- add the line nvidia_load=YES --- it is the only line I have in my loader.conf file 6) Reboot the system # reboot 7) If you want to see the version you just installed (your versions may be newer than mine below)... # pkg_info | grep nvidia nvidia-driver-185.18.29 nvidia-settings-190.32 nvidia-xconfig-190.32 # pkg_info | grep fbdev xf86-video-fbdev-0.4.0_2 8) Generate your xorg.conf.new file. # cd /root # Xorg -configure 9) Edit the xorg.conf.new file. # vi xorg.conf.new --- change the line Driver nv to read Driver nvidia 10) Test the config file. # Xorg -config xorg.conf -retro --- you should get a grey screen and your mouse should work, especially if your mouse worked when installing FreeBSD --- to kill the test, press CTRL-ALT-BKSP 11) If everything worked, move and rename (drop the new extension) the config file to the /etc directory # mv xorg.conf.new /etc/X11/xorg.conf 12) Test again. Log in as another user belonging to the wheel group (or login as root). % startx --- you should get 3 green windows --- you can kill X by clicking on the large window on the left, and typing exit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org