ramdisk creation
Hello, I would like to speed up amavisd operation by allowing it to use ramdisk, so I thought I would follow the advice given here: http://www.stahl.bau.tu-bs.de/~hildeb/postfix/amavisd_tmpfs.shtml However, I just want to make sure I get the procedure right. In my case, the temp folder is /var/amavisd/tmp So (1) I need to create an entry in /etc/fstab md /var/amavisd/tmp mfs rw,-s512m 2 0 (2) create the ramdisk mdmfs -s 512m md /var/amavids/tmp (3) mount the ramdisk mount /var/amavids/tmp Is the procedure right? I read mdmfs man and hope I am OK here. If it is OK, I guess I need to stop amavisd before creating ramdisk and mounting it, right? Thanks a lot for all feedback you can give me! -- Zbigniew Szalbot www.fairtrade.net.pl ___ 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
python2.5-2.6 and mailman(python2.5)
I followed the /usr/ports/UPGRADING recommendations for upgrading from python 2.5 to python 2.6 # portupgrade -o lang/python26 lang/python25 and then # cd /usr/ports/lang/python make upgrade-site-packages /usr/local/bin/python2.5 is now completely replaced by /usr/local/bin/python2.6 but my mailman software mailman-2.1.12 A mailing list manager (MLM) .. still wants it: The cron entry that runs every 5 minutes, sends an error message to root ... /usr/local/bin/python2.5: not found mailman software has /usr/local/bin/python2.5 hardcoded in many, many scripts, cron etc... How to solve this in the most clean manner? ___ 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
`gpart show` and secondary GPT header
i have a question about gpart. when id do `gpart show ad0` i get the following output: = 34 488394988 ad0 GPT (233G) 34 209714861 freebsd-swap (10G) 20971520 4674235022 freebsd-ufs (223G) which is just what i want. however i'm a bit curious about the GPT header. only the primary header from 0 - 33 is being shown. what about the secondary/backup GPT header. is it present and just now shown by gpart or doesn't it exist at all? because in 7-STABLE e.g. `pt show ad0` also displays the secondary GPT header at the end of the disk. cheers. ...oh...and i'm running HEAD (r193846M). ;) ___ 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: Problem with burncd
the burncd: ioctl(CDRIOCFIXATE); Input/output error. is being caused by a bug in ata-queue.c. the fix is in HEAD. here's the PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=95979 with a patch. cheers. ___ 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: Compiling in sound driver in kernel
On Fri, 12 Jun 2009 04:45:59 +0200, Bernt Hansson be...@bah.homeip.net wrote: Mel Flynn said the following on 2009-06-12 01:23: FreeBSD 7.2-STABLE #0: Thu Jun 11 21:56:24 CEST 2009 r...@fqdn:/usr/obj/usr/src/sys/GENERIC ^^^ Did you edit GENERIC Yes. Added sound and snd_hda Polite note: This is NOT the way to create a custom kernel. The handbook mentions that it's advised to create a copy of GENERIC and work with that. It's even possible to create a config file from scratch, including material from LINT and NOTES, as well as from GENERIC. In order to avoid problems, you should follow this advice given in the handbook. or did you forget to set KERNCONF during build/installkernel? No. cd /usr/src make buildkernel KERNCONF=GENERIC make installkernel KERNCONF=GENERIC reboot is what I did. No snd_hda It looks understandable (allthough not mentioned in the handbook). Just to be sure, try the recommended approach. If you're not using KERNCONF, GENERIC will be selected automatically. # cd /usr/src/sys/i386/conf # cp GENERIC MYKERNEL (or use any other descriptive name instead of MYKERNEL). edit MYKERNEL and add device sound device snd_hda # cd /usr/src # make buildkernel KERNCONF=MYKERNEL # make installkernel KERNCONF=MYKERNEL # reboot Check /etc/make.conf and /etc/src.conf for any strange values that may be a reason for our strange observations. -- Polytropon From 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: FreeBSD as a router
I prefer pfSense. it started as a fork of M0n0wall and has since incorporated a LOT more features. it uses pf as its filter base and is fully expandable using plugins -- From: Derrick Ryalls ryal...@gmail.com Sent: Thursday, June 11, 2009 10:33 AM To: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl Cc: freebsd-questions@freebsd.org; Ivailo Tanusheff i.tanush...@procreditbank.bg; Odhiambo ワシントン odhia...@gmail.com; owner-freebsd-questi...@freebsd.org; Anton an...@sng.by Subject: Re: FreeBSD as a router You might also check out monowall. It is a stripped down version of FreeBSD that can run off a small flash card and has a web interface. On Jun 11, 2009 6:05 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: powerful. Hmm, PF would be better (not IPF) but I hear ipfw ha smore features . basicly - if you think ipfw can't do something - read manual again ;) exaggerated, but not very much... ___ freebsd-questions@freebsd.org mailing list http://l... ___ 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
Re: python2.5-2.6 and mailman(python2.5)
Pieter Donche pieter.don...@ua.ac.be writes: I followed the /usr/ports/UPGRADING recommendations for upgrading from python 2.5 to python 2.6 # portupgrade -o lang/python26 lang/python25 and then # cd /usr/ports/lang/python make upgrade-site-packages /usr/local/bin/python2.5 is now completely replaced by /usr/local/bin/python2.6 but my mailman software mailman-2.1.12 A mailing list manager (MLM) .. still wants it: The cron entry that runs every 5 minutes, sends an error message to root ... /usr/local/bin/python2.5: not found mailman software has /usr/local/bin/python2.5 hardcoded in many, many scripts, cron etc... How to solve this in the most clean manner? I just shut mailman down and did a full rebuild of it (portupgrade -f mailman). -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: python2.5-2.6 and mailman(python2.5)
Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org writes: I just shut mailman down and did a full rebuild of it (portupgrade -f mailman). and submitted a PR to add it to the upgrade-site-packages target. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ramdisk creation
So (1) I need to create an entry in /etc/fstab md /var/amavisd/tmp mfs rw,-s512m 2 0 If you have FreeBSD 7.* use tmpfs filesystem tmpfs /var/amavisd/tmp tmpfs rw,size=536870912 0 0 It's filesystem designed for this. Works well. ___ 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: Compiling in sound driver in kernel
On Friday 12 June 2009 12:54:19 Polytropon wrote: On Fri, 12 Jun 2009 04:45:59 +0200, Bernt Hansson be...@bah.homeip.net wrote: Mel Flynn said the following on 2009-06-12 01:23: FreeBSD 7.2-STABLE #0: Thu Jun 11 21:56:24 CEST 2009 r...@fqdn:/usr/obj/usr/src/sys/GENERIC ^^^ Did you edit GENERIC Yes. Added sound and snd_hda Polite note: This is NOT the way to create a custom kernel. The handbook mentions that it's advised to create a copy of GENERIC and work with that. Just to emphasise this point: look at the other kernel configs supplied with source. They tend to include GENERIC, and then have a small list of changed options. Messing about with GENERIC is not a good idea. Jonathan ___ 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
XFCE4 and screen resolution
I just installed XFCE4 on a fresh FreeBSD-7.2 installation. It works fine except that I cannot get the screen resolution to stay set after I exit the program. The default is: 1792x1144 @ 60 I set it to: 1024x768 @ 85 Everything works fine until I shutdown the program. When I restart it, it reverts to the default setting. I have 'save session' set to on. I tried a trick I found while Googling to place 'xrandr - 1024x768 -r 85' in the '.xinitrc' file; however, that did not work either. Obviously I am doing something wrong here. Should I post this on the XFCE forum or does someone here have a solution. -- Carmel ___ 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: XFCE4 and screen resolution
On Fri, 12 Jun 2009 08:27:54 -0400, Carmel carmel...@hotmail.com wrote: I tried a trick I found while Googling to place 'xrandr - 1024x768 -r 85' in the '.xinitrc' file; however, that did not work either. Maybe your .xinitrc isn't executed? In mine, I have xrandr --fb 1400x1050 xrandr --size 1400x1050 to override non-functioning X autodetect and non-working xorg.conf settings. Obviously I am doing something wrong here. Should I post this on the XFCE forum or does someone here have a solution. Do you have the same problems with other WM / DE? -- Polytropon From 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: Compiling in sound driver in kernel
# cd /usr/src/sys/i386/conf # cp GENERIC MYKERNEL (or use any other descriptive name instead of MYKERNEL). edit MYKERNEL and add device sound device snd_hda # cd /usr/src # make buildkernel KERNCONF=MYKERNEL # make installkernel KERNCONF=MYKERNEL # reboot why not: edit MYKERNEL config MYKERNEL cd ../compile/MYKERNEL make depend make make install ? ___ 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: Compiling in sound driver in kernel
On Fri, 12 Jun 2009 14:43:46 +0200 (CEST), Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: why not: edit MYKERNEL config MYKERNEL cd ../compile/MYKERNEL make depend make make install ? Yes, why not? It still works. -- Polytropon From 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: ramdisk creation
Wojciech Puchar pisze: So (1) I need to create an entry in /etc/fstab md /var/amavisd/tmp mfs rw,-s512m 2 0 If you have FreeBSD 7.* use tmpfs filesystem tmpfs /var/amavisd/tmp tmpfs rw,size=536870912 0 0 It's filesystem designed for this. Works well. Thanks Wojtek - I appreciate it. I do have 7.2 so I can use it but having already added md to the system, I wonder if there is any advantage of replacing it with tmpfs. If there is, what is the best way to change it? Would I just unmount /var/amavisd/tmp and then proceed with the tmpfs thing? Thank you! Zbigniew Szalbot ___ 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 7.2 Installation Manual
In www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html It says: If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. but nowhere in the manual or the installation program is there any information or options on X server configuration or choosing a Default Desktop! Help! Nick ___ 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: XFCE4 and screen resolution
On Fri, 12 Jun 2009 14:40:49 +0200 Polytropon free...@edvax.de wrote: On Fri, 12 Jun 2009 08:27:54 -0400, Carmel carmel...@hotmail.com wrote: I tried a trick I found while Googling to place 'xrandr - 1024x768 -r 85' in the '.xinitrc' file; however, that did not work either. Maybe your .xinitrc isn't executed? In mine, I have xrandr --fb 1400x1050 xrandr --size 1400x1050 to override non-functioning X autodetect and non-working xorg.conf settings. Obviously I am doing something wrong here. Should I post this on the XFCE forum or does someone here have a solution. Do you have the same problems with other WM / DE? Evidently, it is not being executed by startxfce4. If I run the command once XFCE4 is started, it works. -- Carmel ___ 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 7.2 Installation Manual
Hi, Nick On Fri, Jun 12, 2009 at 9:09 AM, n...@pettefar.com wrote: In www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html It says: If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. but nowhere in the manual or the installation program is there any information or options on X server configuration or choosing a Default Desktop! Help! You can set a default desktop by creating $HOME/.xinitrc containing: /usr/local/bin/your_desktop_environment Unless someone beats me to it, I'll take a look at this over the weekend and submit a patch for the handbook. -- Glen Barber ___ 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: Authenticating users via openldap on 7.2
Hi, http://www.opennet.ru/base/net/samba_pdc_freebsd.txt.html 2009/6/11 Dave dave.meh...@gmail.com Hello, I had user authentication going about a year and some months back on a 6.2 box. Unfortunately that box is no longer under my control. I'm trying to duplicate what was done under 6.2. If anyone has this going can you write me offlist? Thanks. Dave. ___ 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 -- -=-=-=-=-=-=-=- Live free or die - UNIX* -=-=-=-=-=-=-= ___ 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 7.2 Installation Manual
On Fri, 12 Jun 2009 15:09:04 +0200, n...@pettefar.com wrote: In www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html It says: If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. but nowhere in the manual or the installation program is there any information or options on X server configuration or choosing a Default Desktop! Help! Today's X configures automatically. Otherwise, refer to the handbook's section about configuring X. For selecting a default desktop, refer to KDE and Gnome on FreeBSD which you'll find in the handbook, too. Of course you can use XFCE, Fluxbox, FVWM, WindowMaker, Metacity, Enlightenment or any other DE / WM you can think of. -- Polytropon From 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: Automagic revision numbers with Perl Modules and SVN
Steve Bertrand wrote: Hey all, I've been migrating all of my projects from CVS to SVN (starting over from the beginning). All of the projects in question are Perl modules. [..snip..] Any guidance to fix the version numbering (especially to fix the FreeBSD package db) to make it automagic again, is very welcome: Well, it took longer than I had hoped/expected, but I've finally got my version automatic again. For the archives: # cd project_dir # svn propset svn:keywords Revision ...and: %svn diff -r56 EagleUser.pm ... -$VERSION = sprintf %d.%03d, q$Revision: 1.9 $ =~ /: (\d+)\.(\d+)/; +$VERSION = sprintf %d, q$Revision$ =~ /(\d+)/; It took me quite a while to get that change right. Many of the examples on the 'net did not have the sprintf(), which resulted in $VERSION == 1 no matter what. Once I did the next commit, the current revision was inserted into 'Revision'. ...now, my desired result: %pkg_version -v | grep Eagle bsdpan-EagleUser-73 Cheers and thanks! Steve smime.p7s Description: S/MIME Cryptographic Signature
zfs error ?
Hi, I have FreeBSD 7.0-RELEASE-p4. I do this: portsnap fetch portsnap update /usr/sbin/freebsd-update fetch /usr/sbin/freebsd-update install After a reboot of my server I have: kmem-suballoc : bad status return of 3 panic: kmeme_suballoc cpuid=0 * On the prompt,i try show vm.kmem_size 1024 show vm.kmem_size_max 1024 I try to change to set vm.kmem_size=1536M set vm.kmem_size_max=1536M show value is ok ,but when i try to do boot -s I have the same message * how can i take back the hand on system ? thanks. ___ 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
New openoffice 3.2 devel package available
Hello,, I post a package (pkg_add ) of the openoffice 3.2 devel m50, for the FreeBSD AMD64. it is distributed in torrent at: http://dist.k1.com.br/pt_BR-openoffice-3.2-m50-FreeBSD.torrent This one have the patch for the dictionaries and extensions that now, works. this is for the language: EN and PT_BR. Sergio ___ 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 7.2 Installation Manual
In response to n...@pettefar.com: In www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html It says: If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. but nowhere in the manual or the installation program is there any information or options on X server configuration or choosing a Default Desktop! Help! You weren't able to find this page?: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html Or this one?: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html Nowhere, indeed. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ ___ 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 7.2 Installation Manual
On Fri, Jun 12, 2009 at 8:09 AM, n...@pettefar.com wrote: In www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html It says: If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. but nowhere in the manual or the installation program is there any information or options on X server configuration or choosing a Default Desktop! Help! http://www.freebsd.org/doc/en/books/handbook/x11.html [+] Nick ___ 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
Re: FreeBSD 7.2 Installation Manual
On Fri, 12 Jun 2009, Glen Barber wrote: On Fri, Jun 12, 2009 at 9:09 AM, n...@pettefar.com wrote: In www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html It says: If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. but nowhere in the manual or the installation program is there any information or options on X server configuration or choosing a Default Desktop! Help! You can set a default desktop by creating $HOME/.xinitrc containing: /usr/local/bin/your_desktop_environment Unless you're starting X with one of the methods that ignores .xinitrc and looks at .xsession instead, like xdm. -Warren Block * Rapid City, South Dakota USA___ 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 7.2 Installation Manual
On Fri, Jun 12, 2009 at 9:35 AM, Bill Moranwmo...@potentialtech.com wrote: In response to n...@pettefar.com: In www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html It says: If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. but nowhere in the manual or the installation program is there any information or options on X server configuration or choosing a Default Desktop! Help! You weren't able to find this page?: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html Or this one?: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html Nowhere, indeed. I missing the .xinitrc in the GNOME setup as well... Now I just feel like an idiot as usual. -- Glen Barber ___ 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: USB flash disc
Bernt Hansson wrote: I've got an usb flash disc kingston datatraveler DT150 64GB. That I put pcbsd on to try, and now I can't seem to get it of the stick. [ deletia ] Errors when trying fdisk: fdisk -BI /dev/da0 *** Working on device /dev/da0 *** fdisk: invalid fdisk partition table found fdisk: Geom not found: da0 fdisk: Failed to write sector zero umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR I'm assuming you have checked any readonly status that may be set on this device (in software or hardware), however the above exactly matches the reports I got from a USB desktop drive right before the device completely packed it in. If there are vendor diagnostics to debug data transfer to the device I would verify that it is actually transferring data as your next step. A. ___ 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 7.2 Installation Manual
n...@pettefar.com wrote: In www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html It says: If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. but nowhere in the manual or the installation program is there any information or options on X server configuration or choosing a Default Desktop! Help! Nick You've found the Handbook, so keep on reading! The information you need is on Chapter 5. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html ___ 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: XFCE4 and screen resolution
On Friday 12 June 2009 05:42:52 Carmel wrote: On Fri, 12 Jun 2009 14:40:49 +0200 Polytropon free...@edvax.de wrote: On Fri, 12 Jun 2009 08:27:54 -0400, Carmel carmel...@hotmail.com wrote: I tried a trick I found while Googling to place 'xrandr - 1024x768 -r 85' in the '.xinitrc' file; however, that did not work either. Maybe your .xinitrc isn't executed? In mine, I have xrandr --fb 1400x1050 xrandr --size 1400x1050 to override non-functioning X autodetect and non-working xorg.conf settings. Obviously I am doing something wrong here. Should I post this on the XFCE forum or does someone here have a solution. Do you have the same problems with other WM / DE? Evidently, it is not being executed by startxfce4. If I run the command once XFCE4 is started, it works. If you're using a display manager to startup the desktop rather then 'startx' after console login, you need .xsession, not .xinitrc. However, you say you execute startxfce4. When/where do you execute it? This program is meant to be the last command in one of the above mentioned files. -- Mel ___ 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: XFCE4 and screen resolution
On Fri, 12 Jun 2009 09:42:52 -0400, Carmel carmel...@hotmail.com wrote: Evidently, it is not being executed by startxfce4. If I run the command once XFCE4 is started, it works. Of course. ..-) What is startxfce4? Do you call it from text mode? Or is it a command in .xinitrc or .xsession? Because my primary dialog shell is csh, I have these: .xsession: #!/bin/csh source ~/.cshrc exec ~/.xinitrc It incorporates the settings from .cshrc and then continues as .xinitrc. #!/bin/sh [ -f ~/.xmodmaprc ] xmodmap ~/.xmodmaprc xrandr --fb 1400x1050 xrandr --size 1400x1050 exec startxfce4 (The last line is assumed; I have start wmaker there.) Make sure both files are +x. -- Polytropon From 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: FreeBSD 7.2 Installation Manual
On Fri, 12 Jun 2009 08:02:38 -0600 (MDT), Warren Block wbl...@wonkity.com wrote: Unless you're starting X with one of the methods that ignores .xinitrc and looks at .xsession instead, like xdm. Exactly this is why I invented the .xinitrc + .xsession double strike. :-) It works perfectly with xdm, and even without xdm, if you run startx from text mode. -- Polytropon From 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: py25-tkinter-2.5.4_3 / 2.6.2_3
On Thursday 11 June 2009 21:33:14 Pieter Donche wrote: On Thu, 11 Jun 2009, Mel Flynn wrote: On Wednesday 10 June 2009 23:21:58 Pieter Donche wrote: portupgrade advertizes since 3 days: ... py25-tkinter-2.5.4_3 needs updating (index has 2.6.2_3) using portupgrade -a upgrades all other ports that need upgrading, but never py25-tkinter what's wrong here? I presume you didn't build the index yourself. Setting PYTHON_DEFAULT_VERSION=python2.6 in /etc/make.conf will likely solve your problem. -- Mel Should I then first install python26-2.6.2 from the ports? Shouldn't the portupgrade have somewhere asked to install a higher version of python (as it does for e.g. perl etc..) ?? I haven't met such an upgrade, my python is pkg_info | grep python python25-2.5.4_1An interpreted object-oriented programming language Sorry, I had to sleep. It is weird py25-tkinter had that version number reported by portupgrade if you had python25 installed. I tested it on my box: $ grep PYTHON_DEFAULT_VERSION /etc/make.conf PYTHON_DEFAULT_VERSION=python2.6 $ make -C /usr/ports/x11-toolkits/py-tkinter/ -V PKGNAME py26-tkinter-2.6.1_3 $ sudo sed -i.bak -e 's/python2.6/python2.5/' /etc/make.conf $ make -C /usr/ports/x11-toolkits/py-tkinter/ -V PKGNAME py25-tkinter-2.5.4_3 You probably could have gotten rid of it, by doing a portsdb -uU (opinionor upgrading to portmaster :P/opinion). Either way, having upgraded to python2.6 is not a bad thing, since it is now the default version in ports. Over time the pain of mailman's cron spam and forced upgrade will fade ;) -- Mel ___ 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: Compiling in sound driver in kernel
Polytropon said the following on 2009-06-12 12:54: On Fri, 12 Jun 2009 04:45:59 +0200, Bernt Hansson be...@bah.homeip.net wrote: Mel Flynn said the following on 2009-06-12 01:23: FreeBSD 7.2-STABLE #0: Thu Jun 11 21:56:24 CEST 2009 r...@fqdn:/usr/obj/usr/src/sys/GENERIC ^^^ Did you edit GENERIC Yes. Added sound and snd_hda Polite note: This is NOT the way to create a custom kernel. The handbook mentions that it's advised to create a copy of GENERIC and work with that. That's what i've done. or did you forget to set KERNCONF during build/installkernel? No. cd /usr/src make buildkernel KERNCONF=GENERIC make installkernel KERNCONF=GENERIC reboot is what I did. No snd_hda It looks understandable (allthough not mentioned in the handbook). Just to be sure, try the recommended approach. If you're not using KERNCONF, GENERIC will be selected automatically. # cd /usr/src/sys/i386/conf # cp GENERIC MYKERNEL (or use any other descriptive name instead of MYKERNEL). edit MYKERNEL and add device sound device snd_hda That's what i added. # cd /usr/src # make buildkernel KERNCONF=MYKERNEL # make installkernel KERNCONF=MYKERNEL # reboot Check /etc/make.conf and /etc/src.conf for any strange values that may be a reason for our strange observations. ___ 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: Compiling in sound driver in kernel
On Friday 12 June 2009 04:43:46 Wojciech Puchar wrote: # cd /usr/src/sys/i386/conf # cp GENERIC MYKERNEL (or use any other descriptive name instead of MYKERNEL). edit MYKERNEL and add device sound device snd_hda # cd /usr/src # make buildkernel KERNCONF=MYKERNEL # make installkernel KERNCONF=MYKERNEL # reboot why not: edit MYKERNEL config MYKERNEL cd ../compile/MYKERNEL make obj make depend make make install ? Because it is more typing? One can actually put KERNCONF in /etc/src.conf. In fact, one can put multiple kernel files in KERNCONF and the first one in the list will be the one installed, all will be built. This is how I share kernels over nfs to multiple machines from one build machine by mounting /usr/src and /usr/obj on the target machines and just running make installkernel. The target machines have their kernelname set in their own /etc/src.conf. -- Mel ___ 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: USB flash disc
Andrew Hamilton-Wright said the following on 2009-06-12 15:43: Bernt Hansson wrote: I've got an usb flash disc kingston datatraveler DT150 64GB. That I put pcbsd on to try, and now I can't seem to get it of the stick. [ deletia ] Errors when trying fdisk: fdisk -BI /dev/da0 *** Working on device /dev/da0 *** fdisk: invalid fdisk partition table found fdisk: Geom not found: da0 fdisk: Failed to write sector zero umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR I'm assuming you have checked any readonly status that may be set on this device (in software or hardware), How do I check that status? In the MBR or elsewere? What to look for? however the above exactly matches the reports I got from a USB desktop drive right before the device completely packed it in. That's my feeling too. So I'll have to wait and see. If there are vendor diagnostics to debug data transfer to the device I would verify that it is actually transferring data as your next step. It does transfer the PCBSD files i.e I can copy them to the HDD. A. ___ 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
`sched_clock' changed from 144 in sched_4bsd.o to 258 in sched_ule.o
I'm taking a crack at the port win4bsd. The port informs me that I need to add options SCHED_4BSD to my kernel. When I do and attempt buildkernel I get errors in the build. Any quick answers? I'm going to re-run it and try to get more details on the errors. Just thought there might be some pat answer out there. -N == Wherever the corpse is, there the vultures will gather. Matthew 24:28 ___ 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: Compiling in sound driver in kernel
Bernt Hansson wrote: Polytropon said the following on 2009-06-12 12:54: On Fri, 12 Jun 2009 04:45:59 +0200, Bernt Hansson be...@bah.homeip.net wrote: Mel Flynn said the following on 2009-06-12 01:23: FreeBSD 7.2-STABLE #0: Thu Jun 11 21:56:24 CEST 2009 r...@fqdn:/usr/obj/usr/src/sys/GENERIC ^^^ Did you edit GENERIC Yes. Added sound and snd_hda Polite note: This is NOT the way to create a custom kernel. The handbook mentions that it's advised to create a copy of GENERIC and work with that. That's what i've done. or did you forget to set KERNCONF during build/installkernel? No. cd /usr/src make buildkernel KERNCONF=GENERIC make installkernel KERNCONF=GENERIC reboot is what I did. No snd_hda If you copied GENERIC to another file and edited that file, then compiled and installed GENERIC, you're obviously not going to get the added drivers. You'll need to replace GENERIC with the name of the file you edited in the KERNCONF variable. It looks understandable (allthough not mentioned in the handbook). Just to be sure, try the recommended approach. If you're not using KERNCONF, GENERIC will be selected automatically. # cd /usr/src/sys/i386/conf # cp GENERIC MYKERNEL (or use any other descriptive name instead of MYKERNEL). edit MYKERNEL and add device sound device snd_hda That's what i added. # cd /usr/src # make buildkernel KERNCONF=MYKERNEL # make installkernel KERNCONF=MYKERNEL # reboot Check /etc/make.conf and /etc/src.conf for any strange values that may be a reason for our strange observations. ___ 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 -- Vänligen / Sincerly, Rolf Nielsen P.S. Om du svarar på detta mail, placera svaret nedanför den tidigare texten, annars kommer ditt svar automatiskt att kasseras, och därför inte bli läst. Svaret kommer också att kasseras automatiskt, och alltså inte bli läst, om det innehåller HTML; skicka alltid e-post som oformaterad text. If you reply to this mail, please put the reply beneath the older text. Otherwise your reply will be automatically discarded, thus it will not be read. Your reply will also be discarded if it contains HTML; always send e-mail as plain text. ___ 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: `sched_clock' changed from 144 in sched_4bsd.o to 258 in sched_ule.o
On Friday 12 June 2009 06:44:50 Neil Short wrote: I'm taking a crack at the port win4bsd. The port informs me that I need to add options SCHED_4BSD to my kernel. It's an either/or thing. Remove SCHED_ULE. -- Mel ___ 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
ld: Warning: size of symbol `sched_clock' changed from 144 in sched_4bsd.o to 258 in sched_ule.o
Here's more detail with context on my attempt to include options SCHED_4BSD in my kernel. Any ideas? MAKE=make sh /usr/src/sys/conf/newvers.sh CARMEN cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror vers.c linking kernel sched_ule.o(.text+0x670): In function `schedinit': : multiple definition of `schedinit' sched_4bsd.o(.text+0x1690): first defined here ld: Warning: size of symbol `schedinit' changed from 84 in sched_4bsd.o to 50 in sched_ule.o sched_ule.o(.text+0x6b0): In function `sched_rr_interval': : multiple definition of `sched_rr_interval' sched_4bsd.o(.text+0xc0): first defined here ld: Warning: size of symbol `sched_rr_interval' changed from 48 in sched_4bsd.o to 37 in sched_ule.o sched_ule.o(.text+0x790): In function `sched_user_prio': : multiple definition of `sched_user_prio' sched_4bsd.o(.text+0x110): first defined here ld: Warning: size of symbol `sched_user_prio' changed from 41 in sched_4bsd.o to 37 in sched_ule.o sched_ule.o(.text+0x910): In function `sched_lend_user_prio': : multiple definition of `sched_lend_user_prio' sched_4bsd.o(.text+0x1e0): first defined here sched_ule.o(.text+0x930): In function `sched_unlend_user_prio': : multiple definition of `sched_unlend_user_prio' sched_4bsd.o(.text+0x200): first defined here sched_ule.o(.text+0x970): In function `sched_sleep': : multiple definition of `sched_sleep' sched_4bsd.o(.text+0x240): first defined here ld: Warning: size of symbol `sched_sleep' changed from 35 in sched_4bsd.o to 22 in sched_ule.o sched_ule.o(.text+0x990): In function `sched_class': : multiple definition of `sched_class' sched_4bsd.o(.text+0xf0): first defined here ld: Warning: size of symbol `sched_class' changed from 19 in sched_4bsd.o to 150 in sched_ule.o sched_ule.o(.text+0xa30): In function `sched_unbind': : multiple definition of `sched_unbind' sched_4bsd.o(.text+0x270): first defined here ld: Warning: size of symbol `sched_unbind' changed from 17 in sched_4bsd.o to 44 in sched_ule.o sched_ule.o(.text+0xa60): In function `sched_is_bound': : multiple definition of `sched_is_bound' sched_4bsd.o(.text+0x290): first defined here ld: Warning: size of symbol `sched_is_bound' changed from 18 in sched_4bsd.o to 23 in sched_ule.o sched_ule.o(.text+0xa80): In function `sched_load': : multiple definition of `sched_load' sched_4bsd.o(.text+0x2b0): first defined here ld: Warning: size of symbol `sched_load' changed from 10 in sched_4bsd.o to 43 in sched_ule.o sched_ule.o(.text+0xab0): In function `sched_sizeof_proc': : multiple definition of `sched_sizeof_proc' sched_4bsd.o(.text+0x2c0): first defined here sched_ule.o(.text+0xac0): In function `sched_sizeof_thread': : multiple definition of `sched_sizeof_thread' sched_4bsd.o(.text+0x2d0): first defined here sched_ule.o(.text+0xad0): In function `sched_fork_exit': : multiple definition of `sched_fork_exit' sched_4bsd.o(.text+0x310): first defined here ld: Warning: size of symbol `sched_fork_exit' changed from 31 in sched_4bsd.o to 47 in sched_ule.o sched_ule.o(.text+0xb00): In function `runq_add': : multiple definition of `runq_add' sched_4bsd.o(.text+0x330): first defined here sched_ule.o(.text+0xb90): In function `runq_add_pri': : multiple definition of `runq_add_pri' sched_4bsd.o(.text+0x3c0): first defined here sched_ule.o(.text+0xdd0): In function `runq_check': : multiple definition of `runq_check' sched_4bsd.o(.text+0x450): first defined here sched_ule.o(.text+0xdf0): In function `runq_choose': : multiple definition of `runq_choose' sched_4bsd.o(.text+0x4b0): first defined here sched_ule.o(.data+0x0): multiple definition of `runq_fuzz' sched_4bsd.o(.data+0x0): first defined here sched_ule.o(.text+0xe90): In function `runq_choose_from': : multiple definition of `runq_choose_from' sched_4bsd.o(.text+0x550): first defined here sched_ule.o(.text+0xf20): In function `sched_newproc': : multiple definition of `sched_newproc' sched_4bsd.o(.text+0x5e0): first defined here sched_ule.o(.text+0x14c0): In function `sched_exit_thread': : multiple definition of `sched_exit_thread' sched_4bsd.o(.text+0x670): first defined here ld: Warning: size of symbol `sched_exit_thread' changed from 310 in sched_4bsd.o to 157 in sched_ule.o sched_ule.o(.text+0x1560): In function `sched_exit': : multiple definition of `sched_exit' sched_4bsd.o(.text+0x7b0): first defined here sched_ule.o(.text+0x1580): In function `sched_newthread': : multiple definition of `sched_newthread' sched_4bsd.o(.text+0x7d0): first defined here
another cross-gcc question (can't compute suffix of object files)
Sorry to be such a pest, I'm trying to go from being a good hardware programmer to a good OS programmer, but there's alot to pick up to be FreeBSD proficient... Can't seem to do a vanilla cross-gcc on my home system, which works fine on my work machine, both of them are recent 7.2 installs... I don't even know what other info would be needed to track this down. My machine is pretty much useless without an arm compiler - that's what I do for work. Best, Steve [st...@terra /usr/ports/devel/cross-gcc]$ sudo make MULTILIB_OPTIONS=mno-thumb-interwork/mthumb-interwork MULTILIB_DIRNAMES=normal interwork TGTARCH=arm TGTABI=elf WITH_FLOAT_TYPE=soft install ... gmake[2]: Leaving directory `/usr/ports/devel/cross-gcc/work/build/gcc' Checking multilib configuration for libgcc... mkdir arm-elf mkdir arm-elf/libgcc Configuring in arm-elf/libgcc checking for --enable-version-specific-runtime-libs... no checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking for gawk... gawk checking build system type... i386-portbld-freebsd7.2 checking host system type... arm-unknown-elf checking for arm-elf-ar... /usr/local/arm-elf/bin/ar checking for arm-elf-lipo... arm-elf-lipo checking for arm-elf-nm... /usr/ports/devel/cross-gcc/work/build/./gcc/nm checking for arm-elf-ranlib... /usr/local/arm-elf/bin/ranlib checking for arm-elf-strip... /usr/local/arm-elf/bin/strip checking whether ln -s works... yes checking for arm-elf-gcc... /usr/ports/devel/cross-gcc/work/build/./gcc/xgcc -B/usr/ports/devel/cross-gcc/work/build/./gcc/ -nostdinc -B/usr/ports/devel/cross-gcc/work/build/arm-elf/newlib/ -isystem /usr/ports/devel/cross-gcc/work/build/arm-elf/newlib/targ-include -isystem /usr/ports/devel/cross-gcc/work/gcc-4.3.2/newlib/libc/include -B/usr/ports/devel/cross-gcc/work/build/arm-elf/libgloss/arm -L/usr/ports/devel/cross-gcc/work/build/arm-elf/libgloss/libnosys -L/usr/ports/devel/cross-gcc/work/gcc-4.3.2/libgloss/arm -B/usr/local/arm-elf/bin/ -B/usr/local/arm-elf/lib/ -isystem /usr/ports/devel/cross-gcc/work/build/./gcc -isystem /usr/local/arm-elf/include -isystem /usr/local/arm-elf/sys-include checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/cross-gcc/work/build' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/devel/cross-gcc. *** Error code 1 Stop in /usr/ports/devel/cross-gcc. [st...@terra /usr/ports/devel/cross-gcc]$ which gcc /usr/bin/gcc [st...@terra /usr/ports/devel/cross-gcc]$ gcc --version gcc (GCC) 4.2.1 20070719 [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [st...@terra /usr/ports/devel/cross-gcc]$ ___ 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: ld: Warning: size of symbol `sched_clock' changed from 144 in sched_4bsd.o to 258 in sched_ule.o
On 6/12/09, Neil Short nesh...@yahoo.com wrote: Here's more detail with context on my attempt to include options SCHED_4BSD in my kernel. Any ideas? You can't have two schedulers at same time in same kernel. -- Paul ___ 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 7.2 Installation Manual
Nowhere up to that point in the Installation chapter and process (I didn't need to have said) did it mention X. What is the point of having a step-by-step installation manual which then concludes with If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. when up to that point it hasn't mentioned X!? Mentioning it three chapters later is not really very helpful to people struggling to get the thing installed step-by-step! Step-by-step guides are difficult to write, especially be people that know a lot about the subject beforehand as details tend to get glossed over. When it doesn't work (as has happened to me) and you have to Ctrl-Alt- Del then you are left feeling lost and confused - a bit like Linux ten years ago. (OpenSuse installed and worked graphically perfect). Shouldn't there be an X configuration stage in the installation process? Nick On 12 Jun 2009, at 15:35, Bill Moran wrote: In response to n...@pettefar.com: In www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html It says: If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. but nowhere in the manual or the installation program is there any information or options on X server configuration or choosing a Default Desktop! Help! You weren't able to find this page?: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html Or this one?: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x- config.html Nowhere, indeed. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ bustard# startx xauth: creating new authority file /root/.serverauth.968 X.Org X Server 1.6.0 Release Date: 2009-2-25 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.2-PRERELEASE i386 Current Operating System: FreeBSD bustard.pettefar.com 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 r...@walker.cse.buffalo.edu :/usr/obj/usr/src/sys/GENERIC i386 Build Date: 22 April 2009 02:40:51PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Fri Jun 12 17:45:02 2009 (==) Using default built-in configuration (30 lines) (EE) Failed to load module fbdev (module does not exist, 0) xclock: not found ___ 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 7.2 Installation Manual
n...@pettefar.com wrote: Nowhere up to that point in the Installation chapter and process (I didn't need to have said) did it mention X. What is the point of having a step-by-step installation manual which then concludes with If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. when up to that point it hasn't mentioned X!? Mentioning it three chapters later is not really very helpful to people struggling to get the thing installed step-by-step! The Handbook is not really intended to be a step by step guide, although some chapters serve this purpose in particular areas. The problem (and sometimes, the strength) of step-by-step how-to guides is that they provide specific instructions for specific setups. For example, if you were to write a Guide to a FreeBSD Desktop then obviously this info would appear immediately after the basic install. But bear in mind X is an optional component in FreeBSD, and there are plenty of installations (servers) that don't need it and don't have it. FreeBSD becomes what you want of it, it does not dictate a particular usage. When you install a popular linux distro (like Ubuntu or OpenSuse) you already have a fixed idea of what you will have after a standard install. This is much less so in FreeBSD but you have the power to customize it to your heart's content. This power comes at a price however: you will not be able to be immediately productive with your new system, until you master more than the basics. You have to be more patient, keep on studying and understanding how it works. This knowledge means your system will never break (because you will know how it works, and you will know how to fix it) and its also useful in other systems. (When you learn how X works you can solve GUI problems in Ubuntu too). Please keep up your effort, and be sure FreeBSD will reward you in the end. And we do take documentation very seriously, so please send comments. You are right it is sometimes easy to overlook things that a beginner may stumble upon. Step-by-step guides are difficult to write, especially be people that know a lot about the subject beforehand as details tend to get glossed over. When it doesn't work (as has happened to me) and you have to Ctrl-Alt-Del then you are left feeling lost and confused - a bit like Linux ten years ago. (OpenSuse installed and worked graphically perfect). Shouldn't there be an X configuration stage in the installation process? It would probably be nice to have at least a link to Chapter 5 here. I would suggest to replace this line: If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. with something like: If a graphical desktop is desired, the Xorg server and a desktop environment / widow manager will have to be installed and configured. Please see section link to chapter 5 I could do it now, but I believe Glen would like to give it a try ;) ___ 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: `sched_clock' changed from 144 in sched_4bsd.o to 258 in sched_ule.o
--- On Fri, 6/12/09, Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net wrote: From: Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net Subject: Re: `sched_clock' changed from 144 in sched_4bsd.o to 258 in sched_ule.o To: freebsd-questions@freebsd.org Cc: Neil Short nesh...@yahoo.com Date: Friday, June 12, 2009, 9:21 AM On Friday 12 June 2009 06:44:50 Neil Short wrote: I'm taking a crack at the port win4bsd. The port informs me that I need to add options SCHED_4BSD to my kernel. It's an either/or thing. Remove SCHED_ULE. -- Mel I was starting to suspect as much after having found the related man pages. Do you know if sched_4bsd is required for the port win4bsd? It's definitely required for the port install; but I wonder if I can change it back afterwards. ___ 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 7.2 Installation Manual
--On Friday, June 12, 2009 09:04:50 -0500 Glen Barber glen.j.bar...@gmail.com wrote: On Fri, Jun 12, 2009 at 9:35 AM, Bill Moranwmo...@potentialtech.com wrote: In response to n...@pettefar.com: In www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html It says: If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. but nowhere in the manual or the installation program is there any information or options on X server configuration or choosing a Default Desktop! Help! You weren't able to find this page?: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html Or this one?: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html Nowhere, indeed. I missing the .xinitrc in the GNOME setup as well... Now I just feel like an idiot as usual. FreeBSD is Unix, right? That means you can do things any way you want. Presently I login as root on a tty and type kdm to start up the GUI. I've done it about five other ways as well. Is there a right way to do things in Unix? -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** Check the headers before clicking on Reply. ___ 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 7.2 Installation Manual
--On Friday, June 12, 2009 12:12:36 -0500 n...@pettefar.com wrote: Nowhere up to that point in the Installation chapter and process (I didn't need to have said) did it mention X. What is the point of having a step-by-step installation manual which then concludes with If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. when up to that point it hasn't mentioned X!? Mentioning it three chapters later is not really very helpful to people struggling to get the thing installed step-by-step! Step-by-step guides are difficult to write, especially be people that know a lot about the subject beforehand as details tend to get glossed over. When it doesn't work (as has happened to me) and you have to Ctrl-Alt- Del then you are left feeling lost and confused - a bit like Linux ten years ago. (OpenSuse installed and worked graphically perfect). Shouldn't there be an X configuration stage in the installation process? That's probably not a bad idea, so long as it's optional. (I don't want X on my servers.) However, another point that I think is worthwhile is that some verbiage should be added to that section to point to Section 5, which explains how to setup Xorg. So perhaps change this: If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. To this: If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. NOTE: If you have not yet installed and configured Xorg (it is not the default), refer to chapter 5 of the Handbook for instructions. Please don't top post. It's confusing as hell. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** Check the headers before clicking on Reply. ___ 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
Scripts to monitor host availability
If you want to keep an eye on some hosts without doing a full Nagios install: http://www.hcst.net/~vogelke/src/ishostup/ -- Karl Vogel I don't speak for the USAF or my company If you can't be kind, at least have the decency to be vague.--unknown ___ 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: Scripts to monitor host availability
Karl, On Fri, Jun 12, 2009 at 3:07 PM, Karl Vogelvogelke+u...@pobox.com wrote: If you want to keep an eye on some hosts without doing a full Nagios install: http://www.hcst.net/~vogelke/src/ishostup/ Very cool. I'll take a look at it later, as I am going to be setting up a Nagios solution for a colleague. Thanks! -- Glen Barber ___ 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
Program update(s)
Can someone tell me why I have to recompile all related programs when I upgrade to a newer version of Perl? How easy it would be that all these 'to be recompiled' programs only were linked to just Perl instead of Perl.x.x.x. Or is that a complete wrong way of approach? 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
Is Zyd driver broken?
Im having problems with a usb wifi card. Once every 1 hour i need to unplug it and replug :-( The card is: port 5 addr 2: high speed, power 500 mA, config 1, USB2.0 WLAN(0x1211), ZyDAS(0x0ace), rev 48.10 Connected to: addr 1: high speed, self powered, config 1, EHCI root hub(0x), nVidia(0x), rev 1.00 The dmesg when connection brokes says: zyd0: ZyDAS USB2.0 WLAN, class 255/255, rev 2.00/48.10, addr 2 on uhub1 zyd0: HMAC ZD1211, FW 46.05, RF AL2230, PA 0, address 00:11:e2:07:1c:a0 zyd0: WARNING: using obsoleted IFF_NEEDSGIANT flag zyd0: Ethernet address: 00:11:e2:07:1c:a0 zyd0: link state changed to UP zyd0: zyd_read sleep timeout zyd0: device timeout zyd0: could not transmit buffer: TIMEOUT Then, i unplug it: zyd0: at uhub1 port 5 (addr 2) disconnected zyd0: link state changed to DOWN zyd0: zyd_read sleep timeout zyd0: could not send command (error=IOERROR) zyd0: could not send command (error=IOERROR) zyd0: could not send command (error=IOERROR) zyd0: zyd_read sleep timeout zyd0: could not send command (error=IOERROR) zyd0: could not send command (error=IOERROR) zyd0: could not send command (error=IOERROR) zyd0: detached Then i plug it and starts working again: zyd0: ZyDAS USB2.0 WLAN, class 255/255, rev 2.00/48.10, addr 2 on uhub1 zyd0: HMAC ZD1211, FW 46.05, RF AL2230, PA 0, address 00:11:e2:07:1c:a0 zyd0: WARNING: using obsoleted IFF_NEEDSGIANT flag zyd0: Ethernet address: 00:11:e2:07:1c:a0 zyd0: link state changed to UP The setup is: FreeBSD 7.2-RELEASE-p1 #0: Tue Jun 9 21:30:43 UTC 2009 r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC And I start the netif form rc.conf: ifconfig_zyd0=WPA DHCP Any help sill be really appreciated. Sdav ___ 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
cups 1.3.10 problem?
installed cups 1.3.9 on a machine a while back and successfully sharing a dozen or so jetdirects via samba. as part of regular updates I updated to 1.3.10 (no visible problems) until I tried to access the web interface. https://servername:631 I [12/Jun/2009:15:35:03 -0400] Listening to 0.0.0.0:631 on fd 1... I [12/Jun/2009:15:35:03 -0400] Listening to /var/run/cups.sock on fd 3... I [12/Jun/2009:15:35:03 -0400] Resuming new connection processing... E [12/Jun/2009:15:35:10 -0400] encrypt_client: Unable to encrypt connection from 192.168.10.200! E [12/Jun/2009:15:35:10 -0400] encrypt_client: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca W [12/Jun/2009:15:35:17 -0400] Request from 192.168.10.200 using invalid Host: field servername:631 W [12/Jun/2009:15:35:17 -0400] Request from 192.168.10.200 using invalid Host: field servername:631 What does this mean? ___ 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: Program update(s)
LOL - If you get a good answer to this that would be great! Talk about a giant PITA, I feel your pain!!! -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Jos Chrispijn Sent: Friday, June 12, 2009 2:48 PM To: FreeBSD Questions Subject: Program update(s) Can someone tell me why I have to recompile all related programs when I upgrade to a newer version of Perl? How easy it would be that all these 'to be recompiled' programs only were linked to just Perl instead of Perl.x.x.x. Or is that a complete wrong way of approach? 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 font size=1 div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in' /div This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system. /font ___ 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
top shows that multithreaded program uses 19623.14% CPU
I ran then program with 1500 threads and in top it looked the this: PID USERNAMETHR PRI NICE SIZERES STATE C TIMECPU COMMAND 20382 yuri 1500 990 641M 462M umtxn 0 0:00 19623.14% quicksort skipped further Where can I read how CPU column is calculated? Some time ago I saw another weird fenomenon when CPU column: 5% CPU load for the pocess that just cycles in CPU. Yuri 7.2-STABLE, i7-920 (4 CPUs) ___ 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: Program update(s)
On Fri, 12 Jun 2009 21:47:39 +0200 Jos Chrispijn j...@webrz.net wrote: Can someone tell me why I have to recompile all related programs when I upgrade to a newer version of Perl? For the most part you don't, you can just run perl-after-upgrade. If you are referring to the switch from lang/perl5.8 to lang/perl5.10, then that's exceptional and optional. ___ 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: reference for beginner on configure/make/compile/linking/etc.
On Thu, 11 Jun 2009 17:09:43 -0500, Gary Gatten ggat...@waddell.com wrote: As you may recall from a recent post I've been trying to get nTop compiled and working on Solaris 10 x86. After 40 - 60 hours (I loose track) I *THINK* it's actually working for the most part. Before certain people get pi$$ed off about this not being a Solaris list - chill for a sec! I'm just looking for some materials that can help me understand the whole configure/make/compile/linking/etc. stuff. Someone that knew this stuff could've probably resolved my issues in a few hours. It seems COMPLETELY overly complex to me - maybe cause the developer tries to make it as portable as possible, but with every *nix like things putting files wherever they want, different cc's / ld's, etc. - I can see where it can get hairy. Anyway, TIA for your input. Hopefully this experience and the references you can point me to will help the next time I try to get something onto FreeBSD! Hi Gary, The whole exercise seems overly complex, because as Mel Flynn has already written is *is*. A nice illustration of all the bits and pieces you have to integrate when using the `GNU build system' is the one at Wikipedia: http://en.wikipedia.org/wiki/GNU_build_system#Tools_included_in_the_GNU_build_system Merely looking at the various parts of the picture makes the mind boggle, but it may help you get a good idea of what the various steps of building software with the GNU build tools entails. Documentation for the various parts of the GNU build system is available online at the web page of each component. Useful starting points are: - The GNU autoconf homepage http://www.gnu.org/software/autoconf/ - The GNU autoconf manual http://www.gnu.org/software/autoconf/manual/index.html - The GNU automake homepage http://www.gnu.org/software/automake/ - The GNU automake manual http://www.gnu.org/software/automake/manual/index.html - The GNU libtool homepage http://www.gnu.org/software/libtool/ - The GNU libtool manual http://www.gnu.org/software/libtool/manual/ Note that the online copies of the manuals refers to particular versions of these tools. Since the various parts of the GNU build system are notorious for introducing new features and for often breaking backwards compatibility, it is a good idea to read the manual version matching the _exact_ version of these tools you have installed. The manuals are installed in Info format as part of the installation process of these tools, so you can commonly read the local version of the manual by typing: % info '(autoconf)' % info '(automake)' % info '(libtool)' One last thing that is useful to know is that the manuals are not always written in the form of educational material for new users. They are a little like a tutorial and a lot like reference guides. So it may take multiple iterations to understand all the concepts described in one of the manuals, and it usually takes multiple attempts at writing a new project ``from scratch'' before you gain enough experience in their use to know where to look in the manual for more help. This is a catch-22 situation, because the manual already contains a LOT of useful information, but you don't know that it is there, or even that it is going to be useful, until you have already read it a few times. After having worked with autotools-based projects for a few years, here are a few suggestions I have: * Read the manuals at least twice, from cover to cover. Don't worry if some things seem to be written in an ancient alien language. They don't make sense the first time through, but they tend to make more sense in the next iterations through the manuals. Make sure that you read the manuals at *least* twice. The first time some things will not make sense. The second time, you will have a general overview in your mind, and more details will fit with the rest of the puzzle. Every time you re-read the manuals you are likely to find more useful details. The manuals contain a HUGE amount of information, but it takes multiple passes to understand and fully appreciate all of it. * Read the code of projects using the GNU build tools... Look at what other projects are doing with the GNU build tools. By reading lots and lots of code, you will be able to see how others have solved their program's portability problems; you will see what they did to customize, extend and adapt the GNU build tools; you will learn new tricks and hacks, see how others write code that runs on multiple operating systems, platforms, machine types, etc. * ... but not all the code out there is `good'. Understand that the complexity of a full-blown build system is big, and as a result many of the projects you looked at misuse or flat out _abuse_ the GNU build tools in horrendous ways. That's ok, as long as you don't blindly copy their (bogus)
Re: reference for beginner on configure/make/compile/linking/etc.
EXCELLENT answer When I have a couple hundred hours of free time I'm gonna REALLY dig into this stuff! - Original Message - From: Giorgos Keramidas keram...@ceid.upatras.gr To: Gary Gatten Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org Sent: Fri Jun 12 20:48:29 2009 Subject: Re: reference for beginner on configure/make/compile/linking/etc. On Thu, 11 Jun 2009 17:09:43 -0500, Gary Gatten ggat...@waddell.com wrote: As you may recall from a recent post I've been trying to get nTop compiled and working on Solaris 10 x86. After 40 - 60 hours (I loose track) I *THINK* it's actually working for the most part. Before certain people get pi$$ed off about this not being a Solaris list - chill for a sec! I'm just looking for some materials that can help me understand the whole configure/make/compile/linking/etc. stuff. Someone that knew this stuff could've probably resolved my issues in a few hours. It seems COMPLETELY overly complex to me - maybe cause the developer tries to make it as portable as possible, but with every *nix like things putting files wherever they want, different cc's / ld's, etc. - I can see where it can get hairy. Anyway, TIA for your input. Hopefully this experience and the references you can point me to will help the next time I try to get something onto FreeBSD! Hi Gary, The whole exercise seems overly complex, because as Mel Flynn has already written is *is*. A nice illustration of all the bits and pieces you have to integrate when using the `GNU build system' is the one at Wikipedia: http://en.wikipedia.org/wiki/GNU_build_system#Tools_included_in_the_GNU_build_system Merely looking at the various parts of the picture makes the mind boggle, but it may help you get a good idea of what the various steps of building software with the GNU build tools entails. Documentation for the various parts of the GNU build system is available online at the web page of each component. Useful starting points are: - The GNU autoconf homepage http://www.gnu.org/software/autoconf/ - The GNU autoconf manual http://www.gnu.org/software/autoconf/manual/index.html - The GNU automake homepage http://www.gnu.org/software/automake/ - The GNU automake manual http://www.gnu.org/software/automake/manual/index.html - The GNU libtool homepage http://www.gnu.org/software/libtool/ - The GNU libtool manual http://www.gnu.org/software/libtool/manual/ Note that the online copies of the manuals refers to particular versions of these tools. Since the various parts of the GNU build system are notorious for introducing new features and for often breaking backwards compatibility, it is a good idea to read the manual version matching the _exact_ version of these tools you have installed. The manuals are installed in Info format as part of the installation process of these tools, so you can commonly read the local version of the manual by typing: % info '(autoconf)' % info '(automake)' % info '(libtool)' One last thing that is useful to know is that the manuals are not always written in the form of educational material for new users. They are a little like a tutorial and a lot like reference guides. So it may take multiple iterations to understand all the concepts described in one of the manuals, and it usually takes multiple attempts at writing a new project ``from scratch'' before you gain enough experience in their use to know where to look in the manual for more help. This is a catch-22 situation, because the manual already contains a LOT of useful information, but you don't know that it is there, or even that it is going to be useful, until you have already read it a few times. After having worked with autotools-based projects for a few years, here are a few suggestions I have: * Read the manuals at least twice, from cover to cover. Don't worry if some things seem to be written in an ancient alien language. They don't make sense the first time through, but they tend to make more sense in the next iterations through the manuals. Make sure that you read the manuals at *least* twice. The first time some things will not make sense. The second time, you will have a general overview in your mind, and more details will fit with the rest of the puzzle. Every time you re-read the manuals you are likely to find more useful details. The manuals contain a HUGE amount of information, but it takes multiple passes to understand and fully appreciate all of it. * Read the code of projects using the GNU build tools... Look at what other projects are doing with the GNU build tools. By reading lots and lots of code, you will be able to see how others have solved their program's portability problems; you will see what they did to customize, extend and adapt the GNU build tools; you will learn new tricks and hacks, see how others write code that runs on
(no subject)
This is a dumb Question which I should know the answer to. I can get gdm to recogize my logins but xdm and wdm wont accept my username/password entrys what am I forgetting? Frederick D. Terp 14985 Rivers Edge Court #135 Fort Myers, Florida 33908-7920 Phone: (239) 822-5439 Email: fdt...@juno.com Free health insurance quotes. Great rates for individuals and families. Click Now. http://thirdpartyoffers.juno.com/TGL2141/fc/BLSrjpTIn7Iad9XDKaGfKAW6jcrGnkqx3IlKfkpWJvLloNKnO52lR8AfTiw/ ___ 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