howto un-chmod 755 /usr/local?

2010-08-30 Thread Steve Franks
Would you believe me if I said a script I use daily went awry?

Is there a list of the proper permission modes for things in
/usr/local to get a working system back, aside of starting over?  Is
there a better way?  I've already tried and upgrade from the 8.1 cd,
which doesn't seem to have affected /usr/local permissions much (which
sort of makes sense), as well as a portupgrade -akfO, which didn't
seem to have much traction either.  Symptoms: XOrg gives some rather
uninteresting info and hangs while still in text mode.  Sudo compalins
about needing chroot, etc. etc.

Thanks,
Steve
___
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 find .so, but it's right there.

2010-08-17 Thread Steve Franks
What gives?  This is after portupgrade -akfO and an ldconfig just for
good measure.

[st...@fyre /usr/home/steve]$ cd /usr/local/lib
[st...@fyre /usr/local/lib]$ ls -la | grep aa
-rw-r--r--1 root  wheel189146 Jul 13 06:55 libaa.a
-rwxr-xr-x1 root  wheel  1077 Jul 13 06:55 libaa.la
lrwxr-xr-x1 root  wheel10 Jul 13 06:55 libaa.so - libaa.so.1
-rwxr-xr-x1 root  wheel121682 Jul 13 06:55 libaa.so.1
[st...@fyre /usr/local/lib]$ mplayer
mplayer: error while loading shared libraries: libaa.so.1: cannot open
shared object file: No such file or directory
[st...@fyre /usr/local/lib]$


Best,
Steve
___
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 find .so, but it's right there.

2010-08-17 Thread Steve Franks
On Tue, Aug 17, 2010 at 10:28 AM, Greg Larkin glar...@freebsd.org wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Steve Franks wrote:
 What gives?  This is after portupgrade -akfO and an ldconfig just for
 good measure.

 [st...@fyre /usr/home/steve]$ cd /usr/local/lib
 [st...@fyre /usr/local/lib]$ ls -la | grep aa
 -rw-r--r--    1 root  wheel    189146 Jul 13 06:55 libaa.a
 -rwxr-xr-x    1 root  wheel      1077 Jul 13 06:55 libaa.la
 lrwxr-xr-x    1 root  wheel        10 Jul 13 06:55 libaa.so - libaa.so.1
 -rwxr-xr-x    1 root  wheel    121682 Jul 13 06:55 libaa.so.1
 [st...@fyre /usr/local/lib]$ mplayer
 mplayer: error while loading shared libraries: libaa.so.1: cannot open
 shared object file: No such file or directory
 [st...@fyre /usr/local/lib]$


 Best,
 Steve

 Hi Steve,

 What is the output of the following command?

 ldd `which mplayer`


[st...@fyre /usr/home/steve]$ ldd `which mplayer`
/usr/bin/mplayer:
/usr/bin/mplayer: error while loading shared libraries: libaa.so.1:
cannot open shared object file: No such file or directory
/usr/bin/mplayer: exit status 127
[st...@fyre /usr/home/steve]$

I also rebuilt libaa specifically, FYI.  It's there, but mplayer can't
get to it for some reason...

Thanks,
Steve
___
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


fixed: can't find .so, but it's right there.

2010-08-17 Thread Steve Franks
Bugger me!  Something, sometime, pulled a linux mplayer onto my disk,
wonder when I did that?  (It's been awhile that I've had this issue,
and I have a bad habit of dump/restoring disks between work  home
computers willy-nilly).

Anyway, /usr/bin/mplayer looked a bit funny (not in /usr/local), and
brandelf /usr/bin/mplayer caught it red-handed as an SRV4 file!
(should have been FreeBSD for anyone out there reading the archives
not familiar with brandelf).  Deleted it, and the freebsd mplayer
hiding in /usr/local/bin fired right up.

Anyway, thanks, y'all; sorry for the dumb question!

Steve


On Tue, Aug 17, 2010 at 10:31 AM, Steve Franks bahamasfra...@gmail.com wrote:
 On Tue, Aug 17, 2010 at 10:28 AM, Greg Larkin glar...@freebsd.org wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Steve Franks wrote:
 What gives?  This is after portupgrade -akfO and an ldconfig just for
 good measure.

 [st...@fyre /usr/home/steve]$ cd /usr/local/lib
 [st...@fyre /usr/local/lib]$ ls -la | grep aa
 -rw-r--r--    1 root  wheel    189146 Jul 13 06:55 libaa.a
 -rwxr-xr-x    1 root  wheel      1077 Jul 13 06:55 libaa.la
 lrwxr-xr-x    1 root  wheel        10 Jul 13 06:55 libaa.so - libaa.so.1
 -rwxr-xr-x    1 root  wheel    121682 Jul 13 06:55 libaa.so.1
 [st...@fyre /usr/local/lib]$ mplayer
 mplayer: error while loading shared libraries: libaa.so.1: cannot open
 shared object file: No such file or directory
 [st...@fyre /usr/local/lib]$


 Best,
 Steve

 Hi Steve,

 What is the output of the following command?

 ldd `which mplayer`


 [st...@fyre /usr/home/steve]$ ldd `which mplayer`
 /usr/bin/mplayer:
 /usr/bin/mplayer: error while loading shared libraries: libaa.so.1:
 cannot open shared object file: No such file or directory
 /usr/bin/mplayer: exit status 127
 [st...@fyre /usr/home/steve]$

 I also rebuilt libaa specifically, FYI.  It's there, but mplayer can't
 get to it for some reason...

 Thanks,
 Steve

___
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


syncer hemorrhages numbers on shutdown then panics

2010-07-05 Thread Steve Franks
I just did a 'new huge disk' procedure (aka dump 0aLf - | restore -
for each label).  I have a script for automating it, and it usually
seems to work, but not today!  Silent failures/corruptions do not make
me comfortable, especially coming from my backup tools (yes, no errors
seen in log).

System seems to work, but it won't shutdown!  syncher spits out random
numbers for 10 minutes or more then panics.  Should I start over?  Why
didn't dump/restore unambiguously copy my working disk to my new one?
I didn't see any expicit errors...

Also, X won't start, complaining about inability to write something
for the keymap into /tmp; probably part of the same problem.

Stranger still, an rsync -n from one disk to the other seems to agree
that the two match!

Thanks,
Steve
___
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: x11/xfce ssh-agent once per logon for minimal (no gnome/kde) installation

2010-06-28 Thread Steve Franks
#export SSH_ASKPASS=/usr/local/bin/x11-ssh-askpass ;export SSH_ASKPASS
export SSH_ASKPASS=/usr/local/bin/gnome-keyring ;export SSH_ASKPASS
eval $( ssh-agent -s )
ssh-add 
xfce4-session
eval $( ssh-agent -k )
___
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: since when did alt-shift-tab quit working?

2010-06-25 Thread Steve Franks
 Or maybe change settings in your (unspecified) window manager.  It's really
 hard to tell without any detail about the problem or the environment.

Yes, forgot that was an aspect of the wm, not xorg.  It's xfwm4, and
now it only alt-tabs thru windows in one direction, which is alot of
fun when you have 20 windows open.

Steve
___
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


since when did alt-shift-tab quit working?

2010-06-24 Thread Steve Franks
I thought it was the kludged state of my desktop, but the 8-release
server I just brought up fresh yesterday is doing it too: alt-tab
works, alt-shift-tab does not.  For those of us who are not into
gnome/kde/cutesy menus  panels, this is a major PITA.  No doubt it
came in from linux-land with the latest xorg revision, and I'm going
to have to add another esoteric knob to my xorg.conf...

Steve
___
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: x11/xfce ssh-agent once per logon for minimal (no gnome/kde) installation

2010-06-04 Thread Steve Franks
On Thu, Jun 3, 2010 at 11:56 PM, Matthew Seaman
m.sea...@infracaninophile.co.uk wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 04/06/2010 24:39:46, Steve Franks wrote:
 I'm totally lost.  What I desire is to put in my passphrase for my
 public key(s) when I logon to my box.  Since I usually install from
 ports and use xfce, I have no infrastructure for this, and I'm getting
 nowhere fast.  My Fedora box popped up a nice little enter
 passphrase box the very first time I ssh'd to my server, and now it
 'just works'.  My FreeBSD boxes (which are many - everything *but* the
 laptop with Fedora), 'just don't work'.  I've installed everything
 with 'ssh'  and either 'key' or 'agent' in the name from
 ports/security, and gone through the manpages, and tweaked countless
 environment variables, but every time I ssh on a FreeBSD box, it
 stubbornly locates the terminal I started any gui's from (i.e. meld +
 bzr), and asks for the passphrase a great many times daily.  Add that
 I've started my gui with meld (so as to continue using said terminal
 - don't love 'panels', 'choosers', 'menus', etc - guis are for word
 processors and file managers, not desktops), I can't even type in the
 passphrase there.  I  generally like using FreeBSD caveman style, but
 this is starting to drive me nuts.  No meld/bzr==no work from home==no
 happiness ;)

 Anyone have a 'standard' / FreeBSD-friendly best-practices for this?
 I think I'm just cluttering up my system here.

 The problem you have is that you need to start ssh-agent(1) somewhere
 very early in your login process, so that your entire desktop
 environment can inherit all the necessary ssh-agent settings.

 Exactly what to do depends on how you get into X11.  If you run
 startx(1) manually when you want to switch from console to X11 then you
 need to edit your ~/.xinitrc

 Alternatively, if you use a display manager like xdm(1) -- ie. there's
 an X based graphical login -- then you have two choices: edit your
 ~/.xsession or tweak the pam configuration for your login manager.

 If you want to go the 'edit .xinitrc or .xsession' route then you need
 to do basically the same thing for either of those two files.  They're
 pretty much just scripts that start up the initial X applications for
 your login session: practically speaking, that means starting up your
 window manager.  It's possible you don't have either of those files
 explicitly in your account: in either case the system will run a
 standard default script if it can't find a user specific version.

 The .xinitrc or .xsession file should look something like this:

 #!/bin/sh

 # Import user environment settings
 . ${HOME}/.profile

 eval $( ssh-agent -s )

 # Eg. pop up an xterm so you can enter your ssh passphrase
 xterm -geometry 80x24-91+0 -e /usr/bin/ssh-add -c ${HOME}/.ssh/id_rsa 

 # Note: no '' -- this should run in the foreground
 xfce

 eval $( ssh-agent -k )
 #
 # That's All Folks!
 #

 This is just a rough outline, which you should adapt to your own needs
 - -- in particular there are nicer apps you can use for entering a
 passphrase.  Also note that you can probably omit that bit from the
 .xinitrc or .xsession and have your window manager run it.  In any case,
 the important bits are the two 'eval' lines bracketing the
 window-manager startup.

 The other possibility -- which is only available if you are using a
 display manager like xdm(1) -- is tweaking the pam settings.  For xdm,
 edit the file /etc/pam.d/xdm and uncomment the two lines mentioning
 pam_ssh.  Now you will be able to log into your system via xdm using
 your ssh passphrase, and xdm will start up ssh-agent for your session
 and add your key to it.  Different display managers will have their own
 pam.d files (either in /etc/pam.d or in /usr/local/etc/pam.d) but you
 should be able to make equivalent changes there -- either uncomment or
 add pam_ssh lines in the auth or session sections.

        Cheers,

        Matthew

 - --
 Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
 JID: matt...@infracaninophile.co.uk               Kent, CT11 9PW
 -BEGIN PGP SIGNATURE-
 Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAkwIo58ACgkQ8Mjk52CukIxm/ACgjwPTgJjq8YjN/e1uwD9be2xj
 vBcAoIQ8aP+1pyV/050ooHCr9yUFjuXh
 =S7kV
 -END PGP SIGNATURE-



Ah, sometimes you're just a command away!  I'm surprised I couldn't
google this (too many ssh examples, all the x11+agent ones must be
hidden).

So for posterity, this is the relevant portion of .xinitrc file:
...
export SSH_ASKPASS=/usr/local/bin/x11-ssh-askpass ;export SSH_ASKPASS
eval $( ssh-agent -s )
ssh-add 
xfce4-session
eval $( ssh-agent -k )


I was using exec xfce4-session as in most of the examples for
.xinitrc files, which seemed to be mucking things up - ditching

Re: x11/xfce ssh-agent once per logon for minimal (no gnome/kde) installation

2010-06-04 Thread Steve Franks
On Fri, Jun 4, 2010 at 9:07 AM, Steve Franks bahamasfra...@gmail.com wrote:
 On Thu, Jun 3, 2010 at 11:56 PM, Matthew Seaman
 m.sea...@infracaninophile.co.uk wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 04/06/2010 24:39:46, Steve Franks wrote:
 I'm totally lost.  What I desire is to put in my passphrase for my
 public key(s) when I logon to my box.  Since I usually install from
 ports and use xfce, I have no infrastructure for this, and I'm getting
 nowhere fast.  My Fedora box popped up a nice little enter
 passphrase box the very first time I ssh'd to my server, and now it
 'just works'.  My FreeBSD boxes (which are many - everything *but* the
 laptop with Fedora), 'just don't work'.  I've installed everything
 with 'ssh'  and either 'key' or 'agent' in the name from
 ports/security, and gone through the manpages, and tweaked countless
 environment variables, but every time I ssh on a FreeBSD box, it
 stubbornly locates the terminal I started any gui's from (i.e. meld +
 bzr), and asks for the passphrase a great many times daily.  Add that
 I've started my gui with meld (so as to continue using said terminal
 - don't love 'panels', 'choosers', 'menus', etc - guis are for word
 processors and file managers, not desktops), I can't even type in the
 passphrase there.  I  generally like using FreeBSD caveman style, but
 this is starting to drive me nuts.  No meld/bzr==no work from home==no
 happiness ;)

 Anyone have a 'standard' / FreeBSD-friendly best-practices for this?
 I think I'm just cluttering up my system here.

 The problem you have is that you need to start ssh-agent(1) somewhere
 very early in your login process, so that your entire desktop
 environment can inherit all the necessary ssh-agent settings.

 Exactly what to do depends on how you get into X11.  If you run
 startx(1) manually when you want to switch from console to X11 then you
 need to edit your ~/.xinitrc

 Alternatively, if you use a display manager like xdm(1) -- ie. there's
 an X based graphical login -- then you have two choices: edit your
 ~/.xsession or tweak the pam configuration for your login manager.

 If you want to go the 'edit .xinitrc or .xsession' route then you need
 to do basically the same thing for either of those two files.  They're
 pretty much just scripts that start up the initial X applications for
 your login session: practically speaking, that means starting up your
 window manager.  It's possible you don't have either of those files
 explicitly in your account: in either case the system will run a
 standard default script if it can't find a user specific version.

 The .xinitrc or .xsession file should look something like this:

 #!/bin/sh

 # Import user environment settings
 . ${HOME}/.profile

 eval $( ssh-agent -s )

 # Eg. pop up an xterm so you can enter your ssh passphrase
 xterm -geometry 80x24-91+0 -e /usr/bin/ssh-add -c ${HOME}/.ssh/id_rsa 

 # Note: no '' -- this should run in the foreground
 xfce

 eval $( ssh-agent -k )
 #
 # That's All Folks!
 #

 This is just a rough outline, which you should adapt to your own needs
 - -- in particular there are nicer apps you can use for entering a
 passphrase.  Also note that you can probably omit that bit from the
 .xinitrc or .xsession and have your window manager run it.  In any case,
 the important bits are the two 'eval' lines bracketing the
 window-manager startup.

 The other possibility -- which is only available if you are using a
 display manager like xdm(1) -- is tweaking the pam settings.  For xdm,
 edit the file /etc/pam.d/xdm and uncomment the two lines mentioning
 pam_ssh.  Now you will be able to log into your system via xdm using
 your ssh passphrase, and xdm will start up ssh-agent for your session
 and add your key to it.  Different display managers will have their own
 pam.d files (either in /etc/pam.d or in /usr/local/etc/pam.d) but you
 should be able to make equivalent changes there -- either uncomment or
 add pam_ssh lines in the auth or session sections.

        Cheers,

        Matthew

 - --
 Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
 JID: matt...@infracaninophile.co.uk               Kent, CT11 9PW
 -BEGIN PGP SIGNATURE-
 Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAkwIo58ACgkQ8Mjk52CukIxm/ACgjwPTgJjq8YjN/e1uwD9be2xj
 vBcAoIQ8aP+1pyV/050ooHCr9yUFjuXh
 =S7kV
 -END PGP SIGNATURE-



 Ah, sometimes you're just a command away!  I'm surprised I couldn't
 google this (too many ssh examples, all the x11+agent ones must be
 hidden).

 So for posterity, this is the relevant portion of .xinitrc file:
 ...
 export SSH_ASKPASS=/usr/local/bin/x11-ssh-askpass ;export SSH_ASKPASS
 eval $( ssh-agent -s )
 ssh-add 
 xfce4-session
 eval $( ssh-agent -k )
 

 I was using exec xfce4-session

x11/xfce ssh-agent once per logon for minimal (no gnome/kde) installation

2010-06-03 Thread Steve Franks
I'm totally lost.  What I desire is to put in my passphrase for my
public key(s) when I logon to my box.  Since I usually install from
ports and use xfce, I have no infrastructure for this, and I'm getting
nowhere fast.  My Fedora box popped up a nice little enter
passphrase box the very first time I ssh'd to my server, and now it
'just works'.  My FreeBSD boxes (which are many - everything *but* the
laptop with Fedora), 'just don't work'.  I've installed everything
with 'ssh'  and either 'key' or 'agent' in the name from
ports/security, and gone through the manpages, and tweaked countless
environment variables, but every time I ssh on a FreeBSD box, it
stubbornly locates the terminal I started any gui's from (i.e. meld +
bzr), and asks for the passphrase a great many times daily.  Add that
I've started my gui with meld (so as to continue using said terminal
- don't love 'panels', 'choosers', 'menus', etc - guis are for word
processors and file managers, not desktops), I can't even type in the
passphrase there.  I  generally like using FreeBSD caveman style, but
this is starting to drive me nuts.  No meld/bzr==no work from home==no
happiness ;)

Anyone have a 'standard' / FreeBSD-friendly best-practices for this?
I think I'm just cluttering up my system here.

Best,
Steve
___
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: Opera 10.5 - bad looking fonts on printer

2010-05-12 Thread Steve Franks
Same thing happens in firefox.  Sometimes I open a word doc in abiword
and get a similar issue, the solution is to select all and change the
font to Bitstream or something open-source, I suspect the issues may
be similar, but I have no idea how to get micro$oft fonts into bsd, or
how to change opera/firefox's font.  could be totally unrelated too.
it's been around a long time, must be an issue no one else has - did
you build operta from ports or download the package?  Maybe some magic
needs to go in /etc/make.conf - that's the only way half the ports
will work with cups at all; doesn't fix firefox, however.

Good luck with that.  There are certain things FreeBSD is bad at
fixing, and they all relate to the desktop.  Had to put Fedora on my
notebooks so I could sleep them reliably.  Still use BSD when I can
though (desktops, servers).

Steve



On Wed, May 12, 2010 at 5:17 AM, herbert langhans
herbert.raim...@gmx.net wrote:
 Hi Daemons,
 if I print from Opera via CUPS (Samsung ML 1610 on fileserver, CUPS client 
 from workstation) I get very ugly results. The proportions of the letters 
 dont fit, sometimes letters overlapping. No matter what font comes from the 
 website to print - Opera chooses always this bad font, the font spacing is 
 terrible.

 Other programs like Abiword, OpenOffice a.s.o. print well.

 My question: Does anybody have such troubles with BSD-Opera 10.5 too? Is 
 there any font-port I have to install to get decent results? Is this a bug in 
 the Opera BSD-port?

 All ideas welcome - I have no clue whats causing this problems..

 Thanks!
 herb langhans

 --
 *** Herbert Langhans, Warschau
 *** Sprachtraining Langhans
 *** http://www.langhans.com.pl
 *** herbert.raim...@gmx.net
 *** NIP 526-229-61-51
 *** Regon  014911759
 *** Tel. 603 341 441
 ___
 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


hacked?

2010-04-14 Thread Steve Franks
I don't have bsdstats or similar that I'm aware of installed, so this
smells bad:

Firewall is showing repeated attempts from your FreeBSD machine to
connect to port 25 (standard SMTP mail port) on a server in Belgium. This
implies something on your system is trying to send mail out.

[14/Apr/2010 15:11:09] DROP SMTP Deny packet from Local Area
Connection - LAN, proto:TCP, len:48, ip/port:192.168.1.38:17343 -
81.247.120.78:25, flags: SYN , seq:43473770 ack:0, win:65535, tcplen:0

IP-Whois  searches for 81.247.120.78:25 show this IP address belongs to
a Belgian ISP:

http://www.db.ripe.net/whois?form_type=simplefull_query_string=searchtext=81.247.120.78do_search=Search

inetnum: 81.247.96.0 - 81.247.127.255
netname: BE-SKYNET-ADSL1
descr:   ADSL-GO-PLUS
descr:   Belgacom ISP SA/NV
country: BE

Where would I start sniffing around as far as what got put on my box?

Steve
___
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


releng-8 won't build?

2010-03-30 Thread Steve Franks
Never had trouble with buildworld before...I don't see anything in
UPDATING or on the current-list (or a google of the error for that
matter), so I assume I've hosed my system in some fashion, but how??

Thanks,
Steve

#sudo csup /usr/share/examples/cvsup/stable-supfile (which points to releng-8)
Connected to 130.94.149.166
Updating collection src-all/cvs
Finished successfully
#sudo make clean
...
#sudo make buildworld
...
In file included from
/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1/a_mbstr.c:62:
/usr/obj/usr/src/tmp/usr/include/openssl/asn1.h:717:36: error: ` may
not appear in macro parameter list
*** Error code 1

Stop in /usr/src/secure/lib/libcrypto.
*** Error code 1
___
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: Flash sometimes freezes firefox, also many npviewer.bin processes left running around

2010-03-23 Thread Steve Franks
On Tue, Mar 23, 2010 at 1:37 AM, Alexandre L. axel...@ymail.com wrote:
 No, the addon called NoScript is used to block JavaScript, Flash and co. 
 But here the problem is the npviewer and/or the Flash plugin that is/are 
 buggy.
 If you want to see a video on Youtube for example, you must allow JavaScript 
 and Flash for Youtube in NoScript. Otherwise you can't see the video.
 I use this addon in Firefox 3.6 to block unwanted scripts but when I use 
 Flash I got the same problem.

Well, yeah.  But if it's blocked, it doesn't get run, and if it
doesn't run, it doesn't consume 100% of your cpu.  I find it's usually
advertisements anyway.  If you really need to watch a youtube, you
click the noscript icon and unblock it, then when you're done, you
execute killall npviewer.bin.  That's the best solution I've found
yet, and it bites, just like flash bites, and gnash bites, all in
their own extra special way.

Steve
___
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: Flash sometimes freezes firefox, also many npviewer.bin processes left running around

2010-03-22 Thread Steve Franks
/usr/ports/www/xpi-noscript is another option, not without caveats...

Steve


On Thu, Mar 18, 2010 at 6:47 PM, Yuri y...@rawbw.com wrote:
 Sometimes after some flash object is displayed firefox gets frozen for many
 few seconds,maybe ~20sec.
 Do you see the same? Is there anyfix for this?

 In additions I have 54 processes like this one
 50006  ??  I      0:00.00
 /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin --plugin
 /usr/local/lib/linux-mozilla/plugins/libflashplayer.so --connection
 hanging around even after firefox process exits.

 linux-f10-flashplugin-10.0r45
 nspluginwrapper-1.2.2_5
 firefox-3.5.8,1

 Yuri
 ___
 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: tunefs -L issue

2010-03-19 Thread Steve Franks
Wait a second.  What do I have to do, mount single user to find the
darn things?  They have completely disappeared, not even a
'GEOM_LABEL: Label ufsid/482b3a7c20b36d8c removed' in dmesg! (thought
I was previously seeing that on shutdown, not startup, now neither)
Even in single user mode, root is already mounted, so I'm never going
to find the label for it.  I'm afraid man geom is just leaving me
guessing (see below).  geom label doesn't seem to think I have any
disks...

Handbook:

% glabel status
  Name  Status  Components
ufsid/486b6fc38d330916 N/A  ad4s1d
ufsid/486b6fc16926168e N/A  ad4s1f

Local:

[st...@fyre /usr/home/steve]$ glabel status
  Name  Status  Components
iso9660/WALL_E N/A  acd0
[st...@fyre /usr/home/steve]$

???

Steve

[st...@fyre /usr/home/steve]$ glabel status
  Name  Status  Components
iso9660/WALL_E N/A  acd0
[st...@fyre /usr/home/steve]$ geom ufs list
geom: Command 'list' not available.
[st...@fyre /usr/home/steve]$ sudo geom ufs list
geom: Command 'list' not available.
[st...@fyre /usr/home/steve]$ sudo geom ufs help
usage: geom ufs help
   geom ufs list [name ...]
   geom ufs status [-s] [name ...]
   geom ufs load [-v]
   geom ufs unload [-v]
[st...@fyre /usr/home/steve]$ sudo geom ufs list /dev/ad0
geom: Command 'list' not available.
[st...@fyre /usr/home/steve]$ sudo geom ufs list /dev/ad0s1
geom: Command 'list' not available.
[st...@fyre /usr/home/steve]$ sudo geom ufs status
geom: Command 'status' not available.
[st...@fyre /usr/home/steve]$ sudo geom ufs load
geom: Command 'load' not available.
[st...@fyre /usr/home/steve]$ sudo geom disk list
Geom name: ad0
Providers:
1. Name: ad0
   Mediasize: 400087375360 (373G)
   Sectorsize: 512
   Mode: r5w5e14
   fwsectors: 63
   fwheads: 16

Geom name: cd0
Providers:
1. Name: cd0
   Mediasize: 4681957376 (4.4G)
   Sectorsize: 2048
   Mode: r0w0e0
   fwsectors: 0
   fwheads: 0

Geom name: da0
Providers:
1. Name: da0
   Mediasize: 0 (0B)
   Sectorsize: 0
   Mode: r0w0e0
   fwsectors: 0
   fwheads: 0

Geom name: da1
Providers:
1. Name: da1
   Mediasize: 0 (0B)
   Sectorsize: 0
   Mode: r0w0e0
   fwsectors: 0
   fwheads: 0

Geom name: da2
Providers:
1. Name: da2
   Mediasize: 0 (0B)
   Sectorsize: 0
   Mode: r0w0e0
   fwsectors: 0
   fwheads: 0

Geom name: da3
Providers:
1. Name: da3
   Mediasize: 0 (0B)
   Sectorsize: 0
   Mode: r0w0e0
   fwsectors: 0
   fwheads: 0

[st...@fyre /usr/home/steve]$ sudo geom label list
Geom name: acd0
Providers:
1. Name: iso9660/WALL_E
   Mediasize: 4681957376 (4.4G)
   Sectorsize: 2048
   Mode: r0w0e0
   secoffset: 0
   offset: 0
   seclength: 918
   length: 4681957376
   index: 0
Consumers:
1. Name: acd0
   Mediasize: 4681957376 (4.4G)
   Sectorsize: 2048
   Mode: r0w0e0

[st...@fyre /usr/home/steve]$
___
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: tunefs -L issue

2010-03-19 Thread Steve Franks
On Fri, Mar 19, 2010 at 9:57 AM, Roland Smith rsm...@xs4all.nl wrote:
 On Fri, Mar 19, 2010 at 08:02:10AM -0700, Steve Franks wrote:
 Wait a second.  What do I have to do, mount single user to find the
 darn things?  They have completely disappeared, not even a
 'GEOM_LABEL: Label ufsid/482b3a7c20b36d8c removed' in dmesg! (thought
 I was previously seeing that on shutdown, not startup, now neither)

 The following command looks also in the old messages files;

    bzgrep 'Label for.*ufsid' /var/log/messages.* | less

 Even in single user mode, root is already mounted, so I'm never going
 to find the label for it.  I'm afraid man geom is just leaving me
 guessing (see below).  geom label doesn't seem to think I have any
 disks...

 Handbook:

 % glabel status
                   Name  Status  Components
 ufsid/486b6fc38d330916     N/A  ad4s1d
 ufsid/486b6fc16926168e     N/A  ad4s1f

 Local:

 [st...@fyre /usr/home/steve]$ glabel status
           Name  Status  Components
 iso9660/WALL_E     N/A  acd0
 [st...@fyre /usr/home/steve]$


 I don't see anything here either on my system.



 Doesn't tunefs -L work? (sorry, can't recall the beginning of this thread).

Apparently, but only in single-user mode.  I think my problem is more
one of documentation.  The handbook is rather obtuse on the subject.
The inability to even locate or read the labels on a mounted system is
about as un-POLS as I've come across lately

Thanks for the help, though.  I booted single-user, mounted a
usb-stick, and piped the output of geom label to a file on the stick.
Not fun.

Only having run FBSD for 4 years or so now, I wasn't aware of any good
sources for this kind of info except dmesg.  I'll be looking into
/var/log/messages more closely in the future.  You don't see it
mentioned too often in reference to noob questions.

Thanks,
Steve
___
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


tunefs -L issue

2010-03-14 Thread Steve Franks
I'm seeing this in my dmesg:

GEOM: ad0s1: geometry does not match label (255h,63s != 16h,63s).

I'm guessing I screwed up tunefs -L, but it sure looked
straightforward.  Anyway, my /dev/ufs is empty, and I kind of thought
there should be stuff in it.  I called tunefs -L from single-user
mode, so usr, var, and tmp should have been unmounted as per
instructions.

If I start playing with the geomerty, am I going to wipe my system
inadvertently?

Also, I kind of think the ufsid is really what I'm looking for, and
/dev/ufsid is empty too!  Isn't this the class of things that should
just work?  I mean, the disk is pretty fundamental.  I swap disks in
and out alot, and I've got one of those motherboards that likes to
reorder them, making booting reliably under 8-RELEASE a real pain in
the neck...

Best,
Steve
___
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: cvsnt (server) crashes on all operations after portupgrade

2010-02-19 Thread Steve Franks
On Fri, Feb 19, 2010 at 4:20 PM, Greg Larkin glar...@freebsd.org wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Steve Franks wrote:
 It's all greek to me.  I see alot of file doesn't exist errors on .so
 libs, but I don't see any of them in the cvsnt dependancies for the
 port...

 I read something on the list the other day about 8.0-RELEASE-p2 being
 'the security branch'?  If so, no idea how I got that, it's probably
 the problem, although cvsnt was running on top of it last week until I
 upgraded...

 Steve


 Hi Steve,

 What is the output of:

 pkg_info | grep cvsnt

 Was your ports tree up to date when you ran portupgrade on cvsnt?  The
 ldd output says that the cvsnt-related .so files are pointing to
 2.5.03.2382 versions, but the latest cvsnt port is 2.5.04.3236.  If your
 ports tree was up to date, that situation seems strange to me.

I tried to downgrade, hence the mismatch.  FYI, the downgraded version
behaves identically, so I'm suspecting something external to cvsnt as
the culprit.

Steve
___
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: cvsnt (server) crashes on all operations after portupgrade

2010-02-19 Thread Steve Franks
 You wrote that inetd invokes cvsnt.  Can you post the relevant
 inetd.conf line in case that has anything to do with it?

That I haven't messed with:

cvspserver  stream  tcp nowait  root/usr/local/bin/cvsntcvsnt 
authserver

 Also, you mentioned that you csup'd the 8.0-RELEASE source tree, and you
 are now running -p2.  That seems fine to me, since you are tracking a
 release branch + bug fixes.

 Can you verify that this sequence of events occurred?

 1. Installed some version of 8.0-RELEASE and cvsnt 2.5.03.something.
 cvsnt worked fine.

 2. Installed 8.0-RELEASE-p2 (new kernel + userland) sources, rebuilt
 kernel and userland and rebooted. cvsnt 2.5.03.something continued to
 work fine.

 3. Portupgraded cvsnt to 2.5.04.something and now it crashes upon any
 operation.

 Let me know if the steps occurred in a different order than that.

Nope, that's exactly how I remembered it.

I tried running sudo cvsnt authserver from a shell after disabling
inetd, but it never appeared to listen to the port, it took it's input
from stdin, detected an absence of a vlid cvs client when I hit enter,
and exited normally.

All this is hopefully moot.  Largely due to cvsnt's move towards more
commercial interference (default win clients now have a yahoo-like tag
in each commit string, etc.), and a total lack of any response on the
cvsnt mailing list, if I can get cvs2svn to dump a git fast-import
file (like it supposedly can), I'm gonna have my source trees on
bazaar by monday (famous last words).

Thanks,
Steve
___
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-update - Automatic merge

2010-02-16 Thread Steve Franks
Search the list archives for emails pertaining to mergemaster.rc - it
worked wonders for me!

Steve


On Tue, Feb 16, 2010 at 3:55 AM, Peter Kirk pete...@korbitec.com wrote:
 Updating freebsd 7.2 to 8 and fan the following command

 freebsd-update upgrade -r 8.0-RELEASE

 Everything goes through fine but then it gets to a point and its says

 The following file could not be merged automatically: /etc/amd.map
 Press Enter to edit this file in vi and resolve the conflicts
 manually...

 It goes through hundreds of files, and it wants me to do the editing all
 myself, is there not automatic way to do this or just a simple yes no
 like mergemaster would ask?  This would take forever on our production
 servers
 ___
 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


solved: Re: rpm trashed my system with linux so's

2010-02-12 Thread Steve Franks
On Thu, Feb 11, 2010 at 9:29 PM, Chuck Swiger cswi...@mac.com wrote:
 On Feb 11, 2010, at 8:05 PM, Steve Franks wrote:
 Main thing is that portupgrade -f gamin is *not* putting fresh bsd
 copies overtop the bad linux ones I stupidly installed, and anything
 with gtk is now useless (shared object 'libselinux.so.1 not found,
 required by libgio-2.0.so.0), which is pretty much everything.

 Short of reinstalling everything from CD, do I have options?

 Sure.  First, however, please note that it is (presumably past) time to 
 obtain a working backup mechanism for any system that you care about.

 Consider the output of find /usr/local/lib -mtime -2 (or some other # of 
 days).  You can use pkg_which to identify the port which should have provided 
 a native FreeBSD library; use pkg_delete -f _portname_ or similar measures to 
 more forcefully remove these Linux .so's.

 Regards,
 --
 -Chuck



Ok, got lucky: linux sticks everything in /lib, which is in the
default path before /usr/local/lib, hence the madness, and hence why
portupgrade won't fix it (it rebuilds most bsd .so's in
/usr/local/lib).

Just rm every .so file that gets complained about missing dependancies
from /lib, and you're back in the land of the living!

That was fun

Anyone know where the right place for rpm to put real unix libs for
use with compat?  compat/lib?

Anyway, thanks, all

Steve
___
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


cvsnt (server) crashes on all operations after portupgrade

2010-02-12 Thread Steve Franks
Hi all,

Did a routine portupgrade the other day.  Looks like cvsnt's server is
now crashing on all operations (login, update, etc).   I'm getting a
blah blah pid xyx(cvsnt) coredumped in my /var/log/messages file.

Due to the low traffic on the cvsnt list these days, I assume this is
a FreeBSD issue, not a cvsnt issue - no one else seems to be down.

Anyone have any ideas?  I sent a bunch of client-side info to the
cvsnt list, below, but the long  short of it is that cvsnt goes down
hard right after inetd launches it.  Can't find much server side info
other than the coredump notification in /var/log/messages.

I've got 8-release sources csup'd, I'm going to do an installworld in
case something got out of sync.  I'm grabbing at straws here,
obviously.  No cvsnt, I'm out of business until it's fixed.  Maybe
this will finally get me to move to subversion...

Thanks,
Steve

On Thu, Feb 11, 2010 at 5:22 PM, Steve Franks bahamasfra...@gmail.com wrote:
 Upgraded cvsnt to 2.5.04 on my server, at which point it promptly
 stopped working.  I can't seem to google anything remotely close to
 the behavior I'm seeing, and all the files in /usr/local/etc/cvsnt
 look fine to me, so hopefully someone has insight...

 Thanks,
 Steve

 Try pserver locally:

 [st...@aire ~/cvsnt_test]$ cvsnt -z9 -q -t -d:pserver:st...@localhost/fd login
 16:56:10:   - Tracelevel set to 1.  PID is 65774
 16:56:10:   - Session ID is 100ee4b74991aa0a9
 16:56:10:   - Session time is Thu Feb 11 23:56:10 2010
 16:56:10:   - main loop with CVSROOT=:pserver:st...@localhost/fd
 Logging in to :pserver:st...@localhost:2401:/fd
 CVS Password:
 cvsnt [login aborted]: Error reading from server localhost: 0: File exists

 Try sserver remote:

 [st...@dystant /usr/home/steve/projects]$ cvsnt -z9 -q -t update -d
 16:57:55:   - Tracelevel set to 1.  PID is 10889
 16:57:55:   - Session ID is 2a894b7499838e28
 16:57:55:   - Session time is Thu Feb 11 23:57:55 2010
 16:57:55:   - main loop with
 CVSROOT=:sserver:st...@franks-development.dyndns.biz/fd
 Read data failed (5): Server dropped connection.
 cvsnt [update aborted]: Error reading from server
 franks-development.dyndns.biz: -1: Permission denied
 [st...@dystant /usr/home/steve/projects]$

___
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: xorgconfig missing FBD_8

2010-02-11 Thread Steve Franks
 HAL  DBUS are evil bloated hogs.  mount always worked fine for me.

 (Mount?)  Of course dbus and hal aren't required.

Right.  I'm saying mount works fine.  I didn't need a large, buggy
replacement for it with a million dependencies, just to look at the
contents of my usb drives, although the linux people seem to think I
do.  Why they decided to add all this crap as a dependency to X is
completely beyond me.  FBSD annoys me when I can't check my bank
statements because gnash, linux-f10-flashplugin, etc, all crash, but
it doesn't outright fail to build or run like a badly configured linux
box, and when it does, portupgrade -Rf blah usually saves me.

 AllowEmptyInput bad, AutoAddDevices good.

Whatever.  Just trying to be helpful.  AllowEmptyInput still works on
my boxes, so I was passing the secret knowledge.  The handbook does
oft lag reality.

Steve
___
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


rpm trashed my system with linux so's

2010-02-11 Thread Steve Franks
Yeah, I admit it, was really stupid of me to try.  All those linux
ports go willy-nilly running rpm's thru your system, so when
linux-flash-plugin-f10 crashed after install, I just *had* to hunt
down it's dependancies and try installing them.

Main thing is that portupgrade -f gamin is *not* putting fresh bsd
copies overtop the bad linux ones I stupidly installed, and anything
with gtk is now useless (shared object 'libselinux.so.1 not found,
required by libgio-2.0.so.0), which is pretty much everything.

Short of reinstalling everything from CD, do I have options?

Bugger.

Steve
___
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 make an 'a' slice except with auto-defaults

2010-02-09 Thread Steve Franks
 If you're running into the issue that I think you're running into,
 then there is a way to trick sysinstall to do what you want.

 When you ask sysinstall to create that first partition, claim that
 you are creating the partition named '/'.  If you do that, it will
 put the partition in as a.  You couldn't actually partition it as
 '/', of course, because that would conflict with '/' on your
 running system.  But sysinstall will let you say you want to create
 '/', and then use a for that partition.

 Then select that a partition, and tell sysinstall you want to
 change the name for that partition.  Change it to whatever you
 want.  At that point sysinstall can't change the partition from a
 to d, so you'll have the mount-point that you really want as the
 a partition.

I really should have thought of that!  So you create it as /, and
then hit 'M' and change the mount point to, say, /mnt/root...

Thanks,
Steve
___
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: xorgconfig missing FBD_8

2010-02-09 Thread Steve Franks
On Mon, Feb 8, 2010 at 10:34 PM, Tiv gti...@sbcglobal.net wrote:
 Hi there ---

 I'm writing this to tell you how much FreeBSD has gone downhill since
 version 5.3...

 I don't know who's bright idea it was to remove the xorgcfg and the
 xorgconfig programs,
 but they should be beaten sensless with an IBM AT keyboard. Also if you
 REQUIRE that
 dbus and hald be enabled for so called auto-configuration, put it in the dam
 rc.conf file.

 After an hour of dicking around with the X configuration, and it still
 doesn't work
 I install something else  this is 2010 fer cryin' out load... Linux
 doesn't have this problem.

 thanks for making freebsd a pain in the ass,

 Gary
 ___
 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


HAL  DBUS are evil bloated hogs.  mount always worked fine for me.

I think if you locate the section in /usr/ports/UPDATING that mentions
AllowEmptyInput you may find the fix you are looking for.

Steve
___
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


which java on 8-release

2010-02-04 Thread Steve Franks
Hi,

Tried to get any permutation of XYZ-jre or XYZ-jdk installed on 8-rc1
and gave up.  I see still no diablo for 8.  What is the best way
forward (and how am I so dense that no one else has even asked this
question, I must be on the wrong track, no?)  I saw a few posts about
having to install diablo in order to build openjdk, so that's out
too...what is the 'magic' port that people use?  I just want to run
all the apps that need java, I don't plan to write any java on my own.

Thanks,
Steve
___
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 make an 'a' slice except with auto-defaults

2010-02-03 Thread Steve Franks
On Wed, Feb 3, 2010 at 8:18 AM, Jerry McAllister jerr...@msu.edu wrote:
 On Tue, Feb 02, 2010 at 07:59:15PM -0700, Steve Franks wrote:

 On a running system.  I mean, I know I should quit being a %^# and
 read the manpage for bsdlabel, but sysintall really does have a nice
 tui.    'C'reate slice goes straight to 'd', even on a 'fresh' disk.
 I see in the handbook, this is alluded to, but some intermediate level
 between begginer and expert (bsdlabel just strikes me as way too easy
 to trash the disk I'm running off of while trying to make a backup),
 would be nice...512M just won't fit the kernel+symbols.

 fuming, reading man bsdlabel ;) 

 Well, Create slice would be an fdisk(8) thing, not bsdlabel.
 bsdlabel creates partitions within a slice.

 But, generally you cannot run fdisk on a disk that is in use on a
 running system - which generally means that it is the boot device,
 has filesystems mounted or has part of the currently designated swap
 space.  You will need to plug in a boot cd or bring up the fixit system
 for that.   The fixit system runs from memory - creates filesystems
 and mount points in memory rather than on disk, so it can talk to
 any disk.

 New, if you are working on a non-used (extra) disk, eg one that is not
 the boot device nor has any mounted filesystems or swap space
 on it, then you should be able to fdisk and bsdlabel that from
 a running system.

 I have no idea what you mean by 'C'reate slice goes straight to 'd'
 It does not match anything I remember being possible.  I don't happen
 to have any system handy at the moment that I can muck with disks on.

 jerry

Ok, terminology crash.  As someone pointed out, I'm talking about
label, here, not fdisk, and partitions, not slices (had those two
backwards in my head).

Basically, as far as I can tell, on a running system, there is no
combination of keystrokes in sysinstall's label editor that will
create an ad[1-9]s1a, except the 'a' key which produces a 512M s1a.
All other keystrokes (namely 'c') go straight to ad[1-9]s1d when a
second disk is placed in a system booted from ad0s1a.  I'm just trying
to make a fresh disk ready for dump/restore with a 1G /, so I guess
sysinstall is out as an option at this time.

Steve
___
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


adding disk moves ad0 to ad4

2010-02-03 Thread Steve Franks
Just curious, having read the handbook section talking about freebsd
going straight to the hardware and skipping the bios for disk
numbering, why then, if I stick a sata disk in 'sata0' on the
motherboard, does it come up as ad0, but if I add a second disk in
'sata1' or 'pata0', on the next boot, I have no ad0, but ad4 and ad6?
This seems to be the case with every mobo I've owned in the last 2
years from a variety of mfr's.  Is there a way around this?  I don't
care what it comes out as, as long as it stays put...  Since I have
the only fbsd system at work, I tend to format alot of funky drives
for people, and it gets anoying having to swap fstab's every time...

Steve
___
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 make an 'a' slice except with auto-defaults

2010-02-03 Thread Steve Franks
 Why so complicated? The command

        # newfs /dev/ad1

I'm looking to mirror/dup/image the entire system to something I can
stick in another system.I hear there's good reasons for not
running my whole system off of a single partition.  The 'other' system
has 7.2 and has devolved to a 25% chance of a hard freeze every time I
unplug a ucom device (seems to have cropped up between 7.2-release and
7.2-stable#3).  8 likes usb, so I like 8.

Steve
___
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: adding disk moves ad0 to ad4

2010-02-03 Thread Steve Franks
On Wed, Feb 3, 2010 at 10:54 AM, Polytropon free...@edvax.de wrote:
 On Wed, 3 Feb 2010 10:35:48 -0700, Steve Franks bahamasfra...@gmail.com 
 wrote:
 Just curious, having read the handbook section talking about freebsd
 going straight to the hardware and skipping the bios for disk
 numbering, why then, if I stick a sata disk in 'sata0' on the
 motherboard, does it come up as ad0, but if I add a second disk in
 'sata1' or 'pata0', on the next boot, I have no ad0, but ad4 and ad6?
 This seems to be the case with every mobo I've owned in the last 2
 years from a variety of mfr's.  Is there a way around this?

 Maybe this is specific to your motherboard. As far as I
 experienced, using (P)ATA and SATA - or not using it -
 keeps the numbering intact, e. g. ad0 - ad3 is ATA,
 ad4 - ad7 is SATA, no matter where a disk is actually
 connected.

 It's possible that your BIOS does something strange in
 representing one SATA, but no ATA disk as ad0, the first
 disk existing, as well as if an ATA disk would be present,
 but no SATA disk.

 I can understand that this is annoying.



 I don't
 care what it comes out as, as long as it stays put...

 There are labels or UFSIDs you can use to identify partitions
 on a disk regardless of the device name they would come
 out as. See man glabel and man tunefs for details.



 Since I have
 the only fbsd system at work, I tend to format alot of funky drives
 for people, and it gets anoying having to swap fstab's every time...

 Labels can really help here: /etc/fstab will then contain
 labels or UFSIDs instead of device names - and they don't
 change when a disk is added or removed.


 --
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...


I knew there had to be a solution!  Thanks!

Steve
___
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 make an 'a' slice except with auto-defaults

2010-02-02 Thread Steve Franks
On a running system.  I mean, I know I should quit being a %^# and
read the manpage for bsdlabel, but sysintall really does have a nice
tui.'C'reate slice goes straight to 'd', even on a 'fresh' disk.
I see in the handbook, this is alluded to, but some intermediate level
between begginer and expert (bsdlabel just strikes me as way too easy
to trash the disk I'm running off of while trying to make a backup),
would be nice...512M just won't fit the kernel+symbols.

fuming, reading man bsdlabel ;) 

Steve
___
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: 7.2 equiv for usbconfig on 8.0?

2010-01-12 Thread Steve Franks
On Tue, Jan 5, 2010 at 3:06 PM, Mike Tancsa m...@sentex.net wrote:
 At 04:53 PM 1/5/2010, Steve Franks wrote:

 How do I reset my usb on 7.2 when I insert a card in the internal
 flash reader?  usbconfig works great on 8, but I have systems I cannot
 upgrade at the moment...

 I dont think there is a reset equiv, but I usually do something like

 cat /dev/null  /dev/da[#]

 where da# corresponds to the internal reader / device.

 eg.
 cat /dev/null  /dev/da1

        ---Mike

Exactly what is that supposed to accomplish?  My 7.2 box just barfs on it:

cat /dev/null  /dev/da0
bash: /dev/da0: Device not configured

Best,
Steve
___
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


buildkernel w/o symbols?

2010-01-10 Thread Steve Franks
So I'm an idiot, and I couldn't figure out how to label, except
sysinstall autos, and now I have a puny 512MB rootfs, which I can't
make installkernel from 8-rc1 to 8-stable, the only 'big' thing I can
find on the drive is the symbols in /boot/kernel...

Is there a right way out of this mess?

Thanks,
Steve
___
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


7.2 equiv for usbconfig on 8.0?

2010-01-05 Thread Steve Franks
How do I reset my usb on 7.2 when I insert a card in the internal
flash reader?  usbconfig works great on 8, but I have systems I cannot
upgrade at the moment...

Thanks,
Steve
___
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


x input method question

2009-11-10 Thread Steve Franks
I'm trying to type hangul/korean in any X app.  No luck so far.  I'm
on a paired-down desktop on xfwm, and I've installed nabi and
scim-hangul, but neither one seems to do anythingI'm on 8-RC1 if
it makes any difference...I'm actually an english speaker, so the nabi
www pages are a little hard to look at for help ;)

Thanks,
Steve
___
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


dvdauthor can't find fribidi headers?

2009-11-01 Thread Steve Franks
Seems as dvdauthor is broken on 8-rc1...anything I might have done?

Steve

[st...@fyre /usr/ports/multimedia/dvdauthor]$ sudo make install clean
===  Building for dvdauthor-0.6.14_4
Making all in doc
gmake[1]: Entering directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc'
Making all in src
gmake[1]: Entering directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
gmake  all-am
gmake[2]: Entering directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
if cc -DHAVE_CONFIG_H -I. -I. -I.  -DSYSCONFDIR=\/usr/local/etc\
-I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/local/include/ImageMagick -I/usr/local/include/freetype2
-I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include
  -I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP
-MF .deps/subreader.Tpo -c -o subreader.o subreader.c; \
then mv -f .deps/subreader.Tpo .deps/subreader.Po; else rm -f
.deps/subreader.Tpo; exit 1; fi
subreader.c: In function 'sub_read_line_aqt':
subreader.c:661: warning: comparison with string literal results in
unspecified behaviour
subreader.c:661: warning: comparison with string literal results in
unspecified behaviour
subreader.c: In function 'sub_read_line_subrip09':
subreader.c:717: warning: comparison with string literal results in
unspecified behaviour
subreader.c: In function 'sub_fribidi':
subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this function)
subreader.c:1082: error: (Each undeclared identifier is reported only once
subreader.c:1082: error: for each function it appears in.)
subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this function)
subreader.c:1102: warning: passing argument 3 of 'fribidi_log2vis'
from incompatible pointer type
gmake[2]: *** [subreader.o] Error 1
gmake[2]: Leaving directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
gmake: *** [all-recursive] Error 1
*** Error code 1

Stop in /usr/ports/multimedia/dvdauthor.
[st...@fyre /usr/ports/multimedia/dvdauthor]$
___
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


korean english on same box?

2009-11-01 Thread Steve Franks
My Korean mother-in-law is visiting USA for the first time.  I don't
know the first thing about what it will take to make it so she can
email home, so I'm hoping someone on the list is familiar with this?
I can start firefox for her, so my installation could theoretically
stay in english, but I have a spare drive I could install korean fbsd
on if needed, although I don't know if it's been translated well
enough to understand sysinstall or bootup in Korean?

Thanks,
Steve
___
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: korean english on same box?

2009-11-01 Thread Steve Franks
On Sun, Nov 1, 2009 at 7:56 PM, Steve Franks bahamasfra...@gmail.com wrote:
 My Korean mother-in-law is visiting USA for the first time.  I don't
 know the first thing about what it will take to make it so she can
 email home, so I'm hoping someone on the list is familiar with this?
 I can start firefox for her, so my installation could theoretically
 stay in english, but I have a spare drive I could install korean fbsd
 on if needed, although I don't know if it's been translated well
 enough to understand sysinstall or bootup in Korean?

 Thanks,
 Steve


Ok, well, fooling around, it's quite obvious that firefox has things
nicely wrapped up, as long as I can get a korean keyboard to work,
that should be interestinghopefully opeoffice is as robust...

Best,
Steve
___
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


ad0 mountable after sysinstall, but invalid from boot mgr / mbr (7.2-R)

2009-10-22 Thread Steve Franks
Just did an install on a disk.  Never seen this before, but I made my
own partitions instead of 'a' for automatic, and they came up as
ad0s1c-g, instead of ad0s1a-e.

Sysinstall (7.2 release) seemed to progress  complete just fine.

When I try to boot the disk, I get invalid partition, then boot:
0:(ad,0)/boot/kernel/kernel, etc...I've tried every permutation I can
think of on adXs1Y/boot/kernel/kernel at this prompt - it's wedged
tight.

So, I jump back to the liveFS disk, thinking sysinstall zorked the
disk, but I can mount the disk (ad0s1d) just fine, and see the
contents of /mnt/boot/kernel and see /mnt/boot/loader* (never seen a
file with a * in the name, but the one on livefs/boot has a * after
loader too).

Best,
Steve
___
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


bridge wlan and tap

2009-09-28 Thread Steve Franks
I know everyone's busy with the release.  This is not a showstopper,
but it relates to networking, which is pretty central to a working bsd
box...

I read in some obscure post that I can't bridge from a wlan to tap
because the wlan can only handle one MAC?  Kindof thought every card
has only one mac.  No idea if this related to 6.x or something
earlier, or current...of course I can't find the post again, either,
but it was just a mention in some other howto.

Anyway, I can't get an address on bridge0.

rc.conf:

cloned_interfaces=bridge0
autobridge_interfaces=bridge0 # autoconfigure these bridges
autobridge_bridge0=tap* wlan0
ifconfig_bridge0=DHCP

After I boot, no address on bridge0, and dhclient bridge0 just times
out...sortof thought I was following the handbook  man tap, but
again, I have a 7.2 box on a wired network that this basic operation
works on, so I'm suspecting wlan does break bridging...

Best,
Steve
___
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


dvdstyler failure on vanilla 8RC1

2009-09-25 Thread Steve Franks
Thought I'd try this out today, but it won't build.  I'm not the sort
to fool with make.conf, or /usr/include or /usr/local/include, so
everything should be suitably vanilla as far as building ports.

Here's the hiccup:
[st...@fyre /usr/ports/multimedia/dvdstyler]$ sudo make install clean

...

if cc -DHAVE_CONFIG_H -I. -I. -I.  -DSYSCONFDIR=\/usr/local/etc\
-I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/local/include/ImageMagick -I/usr/local/include/freetype2
-I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include
  -I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP
-MF .deps/subreader.Tpo -c -o subreader.o subreader.c; \
then mv -f .deps/subreader.Tpo .deps/subreader.Po; else rm -f
.deps/subreader.Tpo; exit 1; fi
subreader.c: In function 'sub_read_line_aqt':
subreader.c:661: warning: comparison with string literal results in
unspecified behaviour
subreader.c:661: warning: comparison with string literal results in
unspecified behaviour
subreader.c: In function 'sub_read_line_subrip09':
subreader.c:717: warning: comparison with string literal results in
unspecified behaviour
subreader.c: In function 'sub_fribidi':
subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this function)
subreader.c:1082: error: (Each undeclared identifier is reported only once
subreader.c:1082: error: for each function it appears in.)
subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this function)
subreader.c:1102: warning: passing argument 3 of 'fribidi_log2vis'
from incompatible pointer type
gmake[2]: *** [subreader.o] Error 1
gmake[2]: Leaving directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
gmake: *** [all-recursive] Error 1
*** Error code 1

Stop in /usr/ports/multimedia/dvdauthor.
*** Error code 1

Stop in /usr/ports/multimedia/dvdstyler.

I don't see any dependencies to fribidi in the port (looks like there
should be one), but I do happen to have:
[st...@fyre /usr/ports/multimedia]$ pkg_info | grep fri
fribidi-0.19.2_1A Free Implementation of the Unicode Bidirectional Algorith

Is this pr material?  I'm not exactly desperate for the port, but I
like to help out where I can.

Best,
Steve
___
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


bridge wlan and tap

2009-09-25 Thread Steve Franks
I know everyone's busy with the release.  This is not a showstopper,
but it relates to networking, which is pretty central to a working bsd
box...

I read in some obscure post that I can't bridge from a wlan to tap
because the wlan can only handle one MAC?  Kindof thought every card
has only one mac.  No idea if this related to 6.x or something
earlier, or current...of course I can't find the post again, either,
but it was just a mention in some other howto.

Anyway, I can't get an address on bridge0.

rc.conf:

cloned_interfaces=bridge0
autobridge_interfaces=bridge0 # autoconfigure these bridges
autobridge_bridge0=tap* wlan0
ifconfig_bridge0=DHCP

After I boot, no address on bridge0, and dhclient bridge0 just times
out...sortof thought I was following the handbook  man tap, but
again, I have a 7.2 box on a wired network that this basic operation
works on, so I'm suspecting wlan does break bridging...

Best,
Steve
___
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


looking for motherboard with 7.2 proven suspend/resume

2009-09-15 Thread Steve Franks
S3 is a key feature for me for my desktops.  I have gone thru probably
5 mobo's and 5 laptops in my time as a FBSD user, the only one which
ever S3'd was a compaq of all things (well, lots of them will S3 if
you kldunload usb, but they crash/hang/etc on resume generally).

Anyway, it's time for a new system, and as long as I can shove a
somewhat modern dual core in it, my second most critical criteria for
purchase is that S3 works with FreeBSD with a minimum of or at least
well described hacking.

Thanks,
Steve
___
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: looking for motherboard with 7.2 proven suspend/resume

2009-09-15 Thread Steve Franks
 On 9/15/09, Steve Franks bahamasfra...@gmail.com wrote:
 S3 is a key feature for me for my desktops.  I have gone thru probably
 5 mobo's and 5 laptops in my time as a FBSD user, the only one which
 ever S3'd was a compaq of all things (well, lots of them will S3 if
 you kldunload usb, but they crash/hang/etc on resume generally).

 Anyway, it's time for a new system, and as long as I can shove a
 somewhat modern dual core in it, my second most critical criteria for
 purchase is that S3 works with FreeBSD with a minimum of or at least
 well described hacking.

 Resume doesnt work on i386 SMP, on amd64 it should work (at least it worked
 on Intel T5500 last time I tried).

So, no way to nix the second processor in rc.suspend, I take it?

Steve
___
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: netbooks for freebsd?

2009-09-09 Thread Steve Franks
 I like my s10e too - but remember I don't have native wireless, I'm using 
 ndis. There are also some acpi glitches which the currently available patch 
 only partially resolves.

re: acpi patch: Fascinating - now it reboots instead of
hanginggonna try current one of these days...

As far as ditching ndis, I got one of these, and I'm quite happy with it:

OxfordTEC.com
Detailed Invoice:
https://www.oxfordtec.com/us/account_history_info.php?order_id=XYZPDQ
1 x SparkLAN WPEA-165G miniPCI Wireless card - Atheros AR5006EG
AR2423A mini PCI-E, mPCIe adapter (WPEA165G-S0) = $24.95


Best,
Steve
___
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: netbooks for freebsd?

2009-08-19 Thread Steve Franks
 Al Plant wrote:
  Jeff Hamann wrote:
  I would like to try some experimental software on a netbook. Can
  somebody recommend a netbook that can do FreeBSD.

I'm displeased with my Lenovo S10.  On the upside, all the hardware
worked on 7.2 out of the box, after I swapped the internal broadcom
wifi for a highpower atheros.  The ACPI is a real nightmare on it,
however.  dmesg is constantly full of acpi barfs, and it hangs on
shutdown, and won't suspend, which is pretty much a requirement for a
notebook at my house.  Tried all the standard lenovo acpi hacks, but
no luck.

Steve
___
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


Fixed: Re: another cross-gcc question (can't compute suffix of object files)

2009-06-15 Thread Steve Franks
On Fri, Jun 12, 2009 at 9:48 AM, Steve Franksbahamasfra...@gmail.com wrote:
 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]$


Did a fresh csup and make/build/install world, to no avail.

Figured out I had to export
LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/lib before the make command
and then it worked fine.  Don't know if I fubarred my system, or if
that's expected behavior, but the problem was that building libgcc
(soft floating point routines) couldn't find libmpfr ... the
opensolaris people report this issue all over google, with many gcc
versions.  I think they're one of the few dists besides bsd that uses
/usr/local instead of /usr for things.  Linux.  Bah.

Anyway, if someone else can confirm, I'll submit a pr, otherwise, I'll
just assume I did something dumb to my system along the way.  Haven't
had any problems building other ports with use libs in /usr/local/lib,
though (i.e. devel/urjtag uses /usr/local/lib/libftdi, methinks)

Best,
Steve
___
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


another cross-gcc question (can't compute suffix of object files)

2009-06-12 Thread Steve Franks
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


devd or devfs for ucom?

2009-06-10 Thread Steve Franks
I'm having trouble making my ucom devices public, following the
handbook (had it working on 7.0, but had a disk crash).

So, should I be using devd.conf or devfs.rules?  They sure seem built
to do the same thing to me...

Thanks,
Steve
___
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: devd or devfs for ucom?

2009-06-10 Thread Steve Franks
On Wed, Jun 10, 2009 at 11:37 AM, Steve Franksbahamasfra...@gmail.com wrote:
 I'm having trouble making my ucom devices public, following the
 handbook (had it working on 7.0, but had a disk crash).

 So, should I be using devd.conf or devfs.rules?  They sure seem built
 to do the same thing to me...

 Thanks,
 Steve


While I wouldn't mind an answer to that question, it's actually
working; however, my program that uses libftdi  libusb to talk to my
ugen still needs to run as sudo to see the device - but if I run chmod
666 /dev/* (which I'm sure is a bad idea), I don't need sudo; what
device is required for libusb besides ugen?  The hub?

Best,
Steve
___
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: ugen device no permissions for libusb [was: Re: devd or devfs for ucom?]

2009-06-10 Thread Steve Franks
 While I wouldn't mind an answer to that question, it's actually
 working; however, my program that uses libftdi  libusb to talk to my
 ugen still needs to run as sudo to see the device - but if I run chmod
 666 /dev/* (which I'm sure is a bad idea), I don't need sudo; what
 device is required for libusb besides ugen?  The hub?

 It will need access to /dev/usb*

 My solution was to create a group called 'usb', adding my user-id as a
 member, and set that as the group of /dev/usb*, with permissions 0660:

 --- /etc/devfs.rules excerpt ---
 [myrules=10]
 add path 'uscanner*' mode 0660 group usb
 add path 'usb*' mode 0660 group usb
 add path 'ugen*' mode 0660 group usb
 --- /etc/devfs.rules excerpt ---

 --- /etc/rc.conf excerpt ---
 # Set the default devfs ruleset.
 devfs_system_ruleset=myrules
 --- /etc/rc.conf excerpt ---

Ah!  Perfect, that was the ticket - I didn't have permissions for the
usb device, even though I had permissions for ugen.  Should've
occurred to me sooner.  Been running it under sudo for a few weeks
now...

Thanks, Roland,

Steve
___
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


inserting cd locks up 7.2

2009-05-29 Thread Steve Franks
I stick a CD in the drive that used to work fine under 7.0, I get:

acd0: WARNING - READ_TOC read data overrun 284
acd0: WARNING - READ_TOC read data overrun 2812

And then a hard freeze.  With a different disk, the 28 is a 20, I
believe.  Changed motherboard when I upgraded to 7.2 (hard disk died),
can't rule that out either...

Steve
___
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


does ndisgen work with(mini) pci-E cards?

2009-04-13 Thread Steve Franks
My new laptop is the fist I've seen with mini-pci-express.  Major
PITA.  I get ndis0 after ndisgen/kldload/etc, but I can see any AP's,
and I'm wondering if it's due to the new bus?  I suspect I'm barking
up the wrong tree since the driver does get loaded, it's probably
finding the card...other thoughts I'm having is alot of QA I've
googled makes reference to the speficic rev of ndis (4.0, 5.0,
5.1)...maybe that's an issue...

Best,
Steve
___
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


ifconfig ndis0 up scan doesn't find my ap

2009-04-12 Thread Steve Franks
Hi,

I get this behavior on 2 completely different laptops, one on
7.0-release, and the other on 7-stable.  ndio0 [broadcom :( ] comes
right up in dmesg, and ifconfig(), but it won't find any AP's - is
this known? - because I can google people with lots of different ndis0
problems (mostly on 5.x and 6.x), but not this particular one...I seem
some warning about not supporting AP's in the handbook for ndis, but
it seems to be under the 'build your own AP from freebsd and a nic
section', so I'm hoping it doesn't apply, cause my shiny new lenovo
s10e has a really ugly looking broadcom slot, not minipci.  Must be
something new like micro pci, but at any rate, I would prefer not to
have to hack my bios to get it to boot with a non-broadcom nic in it
anyways.  ndisgen has always been an acceptable, if distasteful,
solution in past days.

Thanks,
Steve
___
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


'bwi' module question

2009-04-12 Thread Steve Franks
Anyone have experience building if_bwi (broadcom 43x)?  Found a tgz on
a freesd.org site, so I presume it's legit, but it's a bit short on
instructions, and I get a object directory not changed from origonal
/mnt/flash/bwi.01/ @- /usr/src/sys warning,  and an ln: @:
Operation not supported error, so I assume this goes in src
somewhere, but does dev, or modules?  There's not even a readme file
for it, and all I found was a link, not the origonal site (which just
seems to be an anutomated repository).  I'm a little worried, if I
stick it in modules, it's top-level makefile will overwite the one in
modules, so should I merge it in?  Obviously a bit past my abilities,
but I'm willing to play...

Best,
Steve
___
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


flex from ports kills buildworld?

2009-04-09 Thread Steve Franks
Probably doing something stupid, but on the off chance I'm not:

- Had to install a newer flex from ports for something.
- Had to move the system flex to avoid hacking reams of bad makefiles
- Did a buildworld, and it can't find a flex
- Seems to me, buildworld should be able to use a newer flex, and
should be able to use the one from /usr/local instead of /sbin

Thanks,
Steve

[st...@dynstant /usr/src]$ sudo make buildworld
...
flex -ogengtype-lex.c
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype-lex.l
flex:No such file or directory
*** Error code 1

Stop in /usr/src/gnu/usr.bin/cc/cc_tools.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
[st...@dynstant /usr/src]$ which flex
/usr/local/bin/flex
[st...@dynstant /usr/src]$
___
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


qemu only talks to network on second boot

2009-03-30 Thread Steve Franks
Got win2k on qemu for a couple years now.  Funny thing is, it never
sees the network or the samba shares on my host the second time I
boot qemu on any given day.  First time always times out.  I get no
console output.  My win2k.sh file looks something like this.  All the
tap entries since my system seems to have some issue with naming tap.
Maybe that's the issue, but I'll be darned if I could fix it.  tap0
and nothing else would be just fine with me.  When I just had tap0, it
would make tap1 (then tap2, etc, etc.), but this seems always to wind
up on tap9 and work (the second time I run qemu)

Goofy.

Best,
Steve

[st...@dynstant /usr/ports/emulators/wine]$ cat ~/bin/win2k
#!/bin/sh
sudo kldload kqemu if_tap if_bridge aio

sudo sysctl net.link.tap.user_open=1
sudo sysctl net.link.tap.devfs_cloning=1
sudo sysctl net.link.tap.up_on_open=1

sudo ifconfig bridge0 create
sudo ifconfig bridge0 addm vr0
sudo ifconfig bridge0 addm tap0
sudo ifconfig bridge0 addm tap1
sudo ifconfig bridge0 addm tap2
sudo ifconfig bridge0 addm tap3
sudo ifconfig bridge0 addm tap4
sudo ifconfig bridge0 addm tap5
sudo ifconfig bridge0 addm tap6
sudo ifconfig bridge0 addm tap7
sudo ifconfig bridge0 addm tap8
sudo ifconfig bridge0 addm tap9
sudo ifconfig bridge0 up
sudo ifconfig vr0 up
sudo ifconfig tap0 up
sudo ifconfig tap1 up
sudo ifconfig tap2 up
sudo ifconfig tap3 up
sudo ifconfig tap4 up
sudo ifconfig tap5 up
sudo ifconfig tap6 up
sudo ifconfig tap7 up
sudo ifconfig tap8 up
sudo ifconfig tap9 up
sudo dhclient bridge0

sudo /etc/rc.d/devfs restart
sudo /etc/rc.d/sysctl restart

qemu -m 384 -net nic -net tap -hda ~/bin/drivec.img -usb -usbdevice
tablet -serial /dev/cuaU0 
___
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


libburnia / xfburn won't recognize NEC ND-3500AG

2009-03-16 Thread Steve Franks
I've had this drive forever.  I actually burn CD's with it all the
time, but you know, sometimes, a gui really is more convineient.
Xfburn stubbornly refuses to detect it, however...even when I run as
root...

Thanks,
Steve
___
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


unhappy XOrg upgrade ate the linux version of libuuid.so.1

2009-03-02 Thread Steve Franks
I think.  My linux packages stopped working.  Anyone else
experienced/verified/fixed this behavior?

error while loading shared libraries: /usr/X11R6/lib/libuuid.so.1:
ELF file OS ABI invalid

portupgrade *linux* gives

** Listing the failed packages (-:ignored / *:skipped / !:failed)
- devel/linux-glib2 (port directory error)

No doubt the source of the issue.  Does a fix exist?

Steve
___
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: unhappy XOrg upgrade ate the linux version of libuuid.so.1

2009-03-02 Thread Steve Franks
 read UPDATING next time

Were I about to run buildkernel/buildworld, I would read UPDATING.  I
don't recall there being an UPDATING in /usr/ports.  Perhaps the
documentation regarding this should be updated.  One tries not to rely
on the mailing list, but when all knowledge is tribal, what recourse
does one have?

Steve
___
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: unhappy XOrg upgrade ate the linux version of libuuid.so.1

2009-03-02 Thread Steve Franks
 There has always been a /usr/ports/UPDATING atleast as far back as 6.0 is
 when I noticed itbut that's when I started using FreeBSD

Well, I'll be d###'ed.  So there is.  Makes sense, I guess.  Wonder
how many other UPDATING's are floating around the system...

Steve
___
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 find an internal flash reader that doesn't crash 7.1

2009-02-27 Thread Steve Franks
 i just bought a store-brand one at Best Buy at the local shop, internal 3.5
 USB dongle that plugs into the motherboard header.  I think it's a 7-in-1
 (or is it up to 14-in-1???)

 Works well, but the devfs has a little trick that if you slip in a USB drive
 after bootup, you have to write 0 bytes to the devname to have it recognize
 slices and partitions...  might be easier to restart devfs or something..

Ok, check, I get it - be patient, and we're fixing the usb stack,
already.  I was just looking for a solution for *this* week.  I've
ran current before, but given all the traffic and arguing over usb2
lately, I'm sure not going to install it just to get the card reader
going on my *work* desktop, I might as well take a couple days off.
Again, not being critical, I just don't like the answers that say,
well, obviously, everyone has 10 hours to tweak their system instead
of spending $9 on a new reader that works with the old stack.   Buying
hardware that works has always been a legitimate option - just look at
all the people asking about laptops, motherboards, and even NICs.

I have personally found very few card readers that reliably detect a
card, then allow you to mount and use it on 7.1 without a freeze, or a
crash on mount or *after* or *during* unmount (I'm not a reformed
ubuntu user, I don't just rip the card out and expect it to work).
More typically, however, they just never show a card inserted.  I'm
going to have to try the write 0 bytes trick mentioned, maybe that
looks like it will take me from 75% dead readers to 75% working
readers.  Several of my working readers under 6.3 quit under 7.x.  The
only brand that I've found to be a slam dunk is i-rocks and they
don't make an internal.

The guys working on usb2 should get a donation of about 50 cases of
beer a piece when this is over - anyone want to start a pool?

Steve
___
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 find an internal flash reader that doesn't crash 7.1

2009-02-26 Thread Steve Franks
I've tried several.  I have a need of this - anyone have one that
works with our USB stack?

Thanks,
Steve
___
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: policykit fails to build on 7.1-stable i386

2009-02-04 Thread Steve Franks
 I think portupgrade -f p5-XML-Parser got me over the hurdle. There was

!!!
 a file missing altho the port was installed. Forced it to build and
!!!

 reinstall and things were able to build once again.

Someone (maintainer or upstream) should be paying more attention here.
 All my systems have gone thru this problem this week.  That begins to
cross over from nuisance to something stronger in my bookI don't
like port problems that break *everything* - should have been obvious
to catch before releasing it into the wild if it breaks (at my
estimate) 20+ ports.  Same as the current X.Org 7.4 issues...we losing
our touch or something?  I like gloating to the linux people about
robustness.  Hate to give them fodder ;)

Steve
___
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


dumb how to clear scroll-back buffer in console/xterm?

2009-01-22 Thread Steve Franks
Occasionally, one wants to do this.  Unfortunately this is one of
those topics with too many generic search terms that gives 2.99x10e8
hits.  Clearly, I'm suffering from information overload both in my
console sessions and my google searches ;)

Steve
___
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: dumb how to clear scroll-back buffer in console/xterm?

2009-01-22 Thread Steve Franks
 Ctl-L does it for me in xterm. Might work in the console too.

Just clears the screen, not the scrollback buffer for me.  Must be
some secret setting somewhere...

Steve
___
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: Flash for FreeBSD - GNOME - Firefox

2009-01-21 Thread Steve Franks
On Wed, Jan 14, 2009 at 2:32 PM, herbert langhans
herbert.raim...@gmx.net wrote:
 Hi Grant,
 here is a full description how to do that:
 http://freebsd.langhans.com.pl

The info on swfdec on this page appears to be outdated - the swfdec
homepage quotes a release on 12/21/08, and purportedly works with
youtube; I'm testing it now myself...

Steve
___
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


swfdec-plugin

2009-01-21 Thread Steve Franks
Anyone get swfdec-plugin to work?  Doesn't show up in firefox3's list
of plugins (neither does mplayer-plugin or gnash).  Does port
installation order matter?   Do I have to delete .firefox or some
other slight-of-hand?

Thanks,
Steve
___
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


fixed: firefox3 plugins (flash) don't work [was: Re: swfdec-plugin]

2009-01-21 Thread Steve Franks
On Wed, Jan 21, 2009 at 1:43 PM, Chad Perrin per...@apotheon.com wrote:
 On Wed, Jan 21, 2009 at 01:08:35PM -0700, Steve Franks wrote:
 Anyone get swfdec-plugin to work?  Doesn't show up in firefox3's list
 of plugins (neither does mplayer-plugin or gnash).  Does port
 installation order matter?   Do I have to delete .firefox or some
 other slight-of-hand?

 Oh, one other thing:

 Do you have a symlink to:

  /usr/local/lib/browser_plugins/libswfdecmozilla.so

 . . . in your $HOME/.mozilla/plugins/ directory?

 --
 Chad Perrin [ content licensed OWL: http://owl.apotheon.org ]
 Quoth Steve McConnell: Good code is its own best documentation.  As
 you're about to add a comment, ask yourself, 'How can I improve the code
 so that this comment isn't needed?'


Ok, so here's the correct way to fix this, I'm pretty sure:

1) You install firefox as root.  When you log in as user, there is no
~/.mozilla/plugins; instead of making that folder and symlinking to
swfdec in it, you should symlink:

ln -s /usr/local/lib/browser_plugins ~/.mozilla/plugins

2) You are halfway there.  I submitted a change-request to the
swfdec-plugin port to do this, but until then,

sudo ln -s /usr/local/lib/browser_plugins/swfdec-plugin/libswfdecmozilla.so
/usr/local/lib/browser_plugins/swfdec

No idea how firefox would automatically make the plugin link in your
home folder, so there's no fix for that.  The swfdec source has just
been updated (12/20/2008) and purportedly works with the likes of
youtube, so it seems like a good flash solution for FreeBSD at the
moment.  It worked on the flash site I was trying to visit, and the
adobe flash test page.

Hope this helps some newbie(s) in the future...

Best,
Steve
___
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


best way to debug intermittent system freezes?

2009-01-09 Thread Steve Franks
I've got me a laptop with a very clean, updated 7.1 (stable) install.
Started at 7.0.  Only problem is about every 2-4 hours it locks up
solid - no disk, no keyboard, console frozen (not running X yet,
although it's installed and does boot from startx).

How do I even go about poking into this?  It's my very last M$ win32
system, and in my opinion, win32 needs to go away, so I have a
considerable psychological investment in seeing this thru.

Obviously, no lockups or any other weird behavior when running win32.

I thought it might be thermal, but the system has never overheated
before, and I did crank up powerd without effect.

Best,
Steve
___
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: No sound from snd_hda

2008-12-22 Thread Steve Franks
On Mon, Dec 22, 2008 at 11:49 AM, Alexander Motin m...@freebsd.org wrote:
 Damian Gerow wrote:

 I've got an Intel HDA device that is sort-of detected, but I get no sound
 from it:

 -
 FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64)
 Installed devices:
 pcm0: HDA Conexant (Unknown) PCM #0 Analog at cad 0 nid 1 on hdac0 kld
 snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default)
 pcm1: HDA Conexant (Unknown) PCM #1 Analog at cad 0 nid 1 on hdac0 kld
 snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex)
 -

 The same device looked almost exactly the same on a 7.1-BETA build, but I
 actually had audio output.

 I've checked the mixer device, tried muting and unmuting various channels,
 all to no avail.  The audio devices are created, and every program I've
 tried opens them successfully, but I get no actual sound.

 I've tried searching around, but I haven't been able to turn anything up.
 Is there something I'm missing?  Something I should be doing that I'm not?

 You are missing new snd_hda man page reading. RTFM. :)

 1) Read new man page;
 2) Driver provides you two pcm devices for different purposes, so try to use
 both (as man page recommends);
 3) If your system has several audio connectors - try all of them, they are
 not equal any more.
 4) Boot with verbose logs enabled to get much more information about your
 codec and driver operation (as man page recommends);
 5) Connexant audio codecs are rare, so send your verbose output to me, I
 would like to see it.

 --
 Alexander Motin
 ___
 freebsd-curr...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Should I be asking you about the old snd_hda?  I'm having this same
problem and ignoring it for some time (no sound), but on

FreeBSD aire.franks-development.dyndns.biz 6.4-STABLE FreeBSD
6.4-STABLE #9: Sat Dec 13 18:25:36 MST 2008
r...@aire.franks-development.dyndns.biz:/usr/obj/usr/src/sys/GENERIC
amd64

instead of current.  I read the warning:

 A few Hardware/OEM vendors tend to screw up BIOS settings, thus rendering
 the snd_hda driver useless, which usually results in a state where the
 snd_hda driver seems to attach and work, but without any sound.

In the man page, and I suspect that may be my problem.  Chipset is
Intel.  I played with the bios, but only got it to be worse (snd_hda
not detected at all).

[st...@aire ~]$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: Intel 82801G High Definition Audio Controller at memory
0xfdff8000 irq 16 kld snd_hda [20071129_0050] (1p/1r/1v channels
duplex default)

Is there any further info that would help?  I've been limping along on
a usb dongle and it's a bit sad ;)

Thanks,
Steve
___
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


HD radio tuner for FreeBSD?

2008-12-12 Thread Steve Franks
Anyone know of a HD radio receiver (preferably USB, put PCI/PCIe ok)
that we have drivers for?  I assume it would show up as a usb audio
device and a usb hid device? Ok, no doubt I'm being optimistic that
such a thing actually even exists

Steve
___
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


immediate reboot switching window (alt-tab) to google earth

2008-11-13 Thread Steve Franks
I figured I'd make my pain public, but I doubt we're ever going to
find the cause, because there's no crashdump (and yes, unplugging a
mounted usb stick causes a real panic and dump so it is configured
correctly) - immediate freeze for 60 seconds, then skipped the panic 
went straight to the reboot.  Anyway, if there are other reports,
here's mine.  I'd like to blame X, since I have yet to observe an X
that really felt stable to me, but I suspect the culprit is more
likely linux-base-fc4...shame.  I suppose I shouldn't be surprised
that running linux programs makes BSD as unstable as linux.  I just
wish there was some foolproof way to protect the OS from apps killing
it.  But, who really cares, it's just my desktop, right?  I don't run
this crap on my server.

Steve

google-earth-4.3.7284.3916_2 Explore, Search and Discover
linux_base-fc-4_13  Base set of packages needed in Linux mode (for i386/amd64)
linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
linux-glib2-2.6.6_1 Version 2.X Linux/i386 binary port of GLib
xorg-7.3_2  X.Org complete distribution metaport
xorg-drivers-7.3_3  X.org drivers meta-port
xorg-libraries-7.3_2 X.org libraries meta-port
xorg-server-1.4.2,1 X.Org X server and related programs
FreeBSD 7.1-PRERELEASE #1: Mon Sep 29 21:12:11 MST 2008
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


kqemu runs 2x faster on i386 than amd64!?

2008-10-30 Thread Steve Franks
I'm not comparing apples-to-apples exactly, but both my disks are in
the same system, both are running 7-stable from within the last few
months, so it's pretty close.  Also, the i386 is a direct replacement
of the amd64 to fix this and other problems, so the software 
settings set is pretty identical also...

kqemu crawls when I boot amd64 (and I notice the processor is always
over 50%), and it's reasonalbly usable on i386 (also, the processor is
often in the 30% range, instead of 60%).

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kqemu runs 2x faster on i386 than amd64!?

2008-10-30 Thread Steve Franks
Guess I should've mentioned the target is 32-bit win2k...

On Thu, Oct 30, 2008 at 11:28 AM, Steve Franks [EMAIL PROTECTED] wrote:
 I'm not comparing apples-to-apples exactly, but both my disks are in
 the same system, both are running 7-stable from within the last few
 months, so it's pretty close.  Also, the i386 is a direct replacement
 of the amd64 to fix this and other problems, so the software 
 settings set is pretty identical also...

 kqemu crawls when I boot amd64 (and I notice the processor is always
 over 50%), and it's reasonalbly usable on i386 (also, the processor is
 often in the 30% range, instead of 60%).

 Steve

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kqemu runs 2x faster on i386 than amd64!?

2008-10-30 Thread Steve Franks
 Steve Franks [EMAIL PROTECTED] writes:

 Guess I should've mentioned the target is 32-bit win2k...

 If the target isn't the same as the host, I think it's going to have
 to use (at least partial) emulation instead of direct execution...

Yes, but isn't that the same for win2k regardless of wether the host
is fbsdamd64 or fbsdi386?  Or are you talking 64 vs. 32 bit?


 On Thu, Oct 30, 2008 at 11:28 AM, Steve Franks [EMAIL PROTECTED] wrote:
 I'm not comparing apples-to-apples exactly, but both my disks are in
 the same system, both are running 7-stable from within the last few
 months, so it's pretty close.  Also, the i386 is a direct replacement
 of the amd64 to fix this and other problems, so the software 
 settings set is pretty identical also...

 kqemu crawls when I boot amd64 (and I notice the processor is always
 over 50%), and it's reasonalbly usable on i386 (also, the processor is
 often in the 30% range, instead of 60%).

 Steve

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


 --
 Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to break portsnap

2008-10-20 Thread Steve Franks
On Wed, Oct 8, 2008 at 2:25 AM, Barry Byrne [EMAIL PROTECTED] wrote:
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Steve Franks
 Sent: 07 October 2008 21:57

 I've googled high  low but I cannot find much other that this cannot
 happen replies.  I've got a dual boot to amd64 and i386.  The amd64
 hasn't been able to portsnap fetch or cron since march.  The i386 I
 just installed, and it portsnap's fine, so it's not a firewall or
 related issue.  I've checked my key and it looks ok.  What am I
 missing?

 Best,
 Steve


 dystant# portsnap fetch
 Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found.
 Fetching snapshot tag from portsnap1.FreeBSD.org... done.
 Fetching snapshot metadata... done.
 Updating from Mon Mar  3 07:50:14 MST 2008 to Tue Oct  7
 12:43:25 MST 2008.
 Fetching 0 metadata patches. done.
 Applying metadata patches... done.
 Fetching 0 metadata files... done.
 Fetching 12365 patches.. done.
 Applying patches... done.
 Fetching 13708 new ports or files... /usr/sbin/portsnap: cannot open
 e53d7ea3f6fbc2e6a87a1f194ea623fc6b27c74d9aecfd61e0d765e86d861ad5.gz:
 No such file or directory
 snapshot is corrupt.
 dystant#

 Steve:

 Are you using a proxy server? If so this could be perhaps the proxy server
 not fully supporting HTTP/1.1 persistent
 connections. Can you try this:

  sysctl net.inet.ip.portrange.randomized=0
  portsnap fetch update


Well, I can't say for sure if that works.  I'm definitely behind a
ugly cheap-o windows firewall (iserver), but sometimes it works, and
sometimes not...can't hurt, though, right?

Best,
Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how to break portsnap

2008-10-07 Thread Steve Franks
I've googled high  low but I cannot find much other that this cannot
happen replies.  I've got a dual boot to amd64 and i386.  The amd64
hasn't been able to portsnap fetch or cron since march.  The i386 I
just installed, and it portsnap's fine, so it's not a firewall or
related issue.  I've checked my key and it looks ok.  What am I
missing?

Best,
Steve


dystant# portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found.
Fetching snapshot tag from portsnap1.FreeBSD.org... done.
Fetching snapshot metadata... done.
Updating from Mon Mar  3 07:50:14 MST 2008 to Tue Oct  7 12:43:25 MST 2008.
Fetching 0 metadata patches. done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 12365 patches.. done.
Applying patches... done.
Fetching 13708 new ports or files... /usr/sbin/portsnap: cannot open
e53d7ea3f6fbc2e6a87a1f194ea623fc6b27c74d9aecfd61e0d765e86d861ad5.gz:
No such file or directory
snapshot is corrupt.
dystant#
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to break portsnap

2008-10-07 Thread Steve Franks
Aagh!  I thought the snapshot was the thing being downloaded!
Here I was double-checking my key and the like.  I sort of would've
expected the process to include overwriting everything local with the
new stuff.  My mistake, obviously.  Sometimes one does need the
obvious pointed out to them, thanks.

Steve

On Tue, Oct 7, 2008 at 2:17 PM, RW [EMAIL PROTECTED] wrote:
 On Tue, 7 Oct 2008 13:56:37 -0700
 Steve Franks [EMAIL PROTECTED] wrote:

 I've googled high  low but I cannot find much other that this cannot
 happen replies.  I've got a dual boot to amd64 and i386.  The amd64
 hasn't been able to portsnap fetch or cron since march.  The i386 I
 just installed, and it portsnap's fine, so it's not a firewall or
 related issue.  I've checked my key and it looks ok.  What am I
 missing?

...
 Fetching 13708 new ports or files... /usr/sbin/portsnap: cannot open
 e53d7ea3f6fbc2e6a87a1f194ea623fc6b27c74d9aecfd61e0d765e86d861ad5.gz:
 No such file or directory
 snapshot is corrupt.

 It's pretty self-explanatory, the snapshot is corrupt.

 delete /var/db/portsnap/* and then start-again by do a fetch and
 extract.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


compat/linux program claims no write access to ~

2008-10-06 Thread Steve Franks
Sounds like a bogus error to me.  I just downgraded amd64 to i386,
reinstalled a linux program and it claims it can't write to ~ now.
I'm running it, and I have no reason to think it wouldn't run as me.
~ is 775 anyway.  Also, running the linux program as su or sudo gives
the same error.  Any ideas just where this might be coming from?  I'm
on 7-STABLE, i386, linux-base-fc4.

Best,
Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


'Atheros L2 - 10/100 controller (wired)' shows up in pc-bsd7, but not freebsd 7.1-stable

2008-10-02 Thread Steve Franks
I'm not surprised, just curious if there's actually a tweak, or if the
pcbsd guys haven't moved the patch upstream.  I find kde so annoying
that I put 7-stable back on the machine, and my onboard lan
disappeared again...

Best,
Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can't add interfaces to bridge

2008-09-29 Thread Steve Franks
On Mon, Sep 29, 2008 at 2:17 AM, Nikos Vassiliadis [EMAIL PROTECTED] wrote:
 On Saturday 27 September 2008 20:52:43 Steve Franks wrote:
 I'm getting the following error - ifconfig: BRDGADD ath0: Invalid
 argument

 Given the following commands (which work for my tap interface with
 qemu on 7.1, but apparently not with two regular network cards on
 6.3):

 sudo kldload if_bridge
 sudo ifconfig ath0 down
 sudo ifconfig rl0 down
 sudo ifconfig bridge0 destroy
 sudo ifconfig bridge0 create
 sudo ifconfig bridge0 addm ath0
 sudo ifconfig bridge0 addm rl0
 sudo ifconfig bridge0 up
 sudo ifconfig ath0 up
 sudo ifconfig rl0 up
 sudo dhclient bridge0
 ifconfig

 I get the following output:

 [EMAIL PROTECTED] /usr/home/steve]$ bridge
 kldload: can't load if_bridge: File exists

 net.link.tap.user_open: 1 - 1
 net.link.tap.devfs_cloning: 1 - 1
 net.link.tap.up_on_open: 1 - 1

 I don't see any sysctl related commands in the script above.
 ?

 ifconfig: BRDGADD ath0: Invalid argument
 ifconfig: BRDGADD rl0: Invalid argument
 DHCPDISCOVER on bridge0 to 255.255.255.255 port 67 interval 8
 ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet 192.168.2.69 netmask 0xff00 broadcast 192.168.2.255
 ether 00:13:f7:4a:0f:a8
 media: IEEE 802.11 Wireless Ethernet autoselect (DS/1Mbps)
 status: no carrier
 ssid  channel 3
 authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit txpowmax 39
 bmiss 7 protmode CTS burst bintval 100
 rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 options=8VLAN_MTU
 inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
 ether 00:01:6c:16:44:6f
 media: Ethernet autoselect (none)
 status: no carrier
 plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
 inet6 ::1 prefixlen 128
 inet 127.0.0.1 netmask 0xff00
 bridge0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
 ether ea:57:36:3c:28:0c
 priority 32768 hellotime 2 fwddelay 15 maxage 20
 [EMAIL PROTECTED] /usr/home/steve]$

 (I think that)
 Your wireless card doesn't seem to be in AP mode and if_bridge
 can only bridge 802.11 interfaces in AP mode with ethernet inter-
 faces. Two things though:
 1) I am not sure if it complains about it as it does above
   ifconfig: BRDGADD ath0: Invalid argument
 2) I do not undestand why it complains about rl0.

 What are you trying to achieve? Maybe there is some other way...


Just trying to string some old printers  the like off my rl0 and get
them onto the local wifi net via ath0.  ath0 is connected to an AP.

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


can't add interfaces to bridge

2008-09-27 Thread Steve Franks
I'm getting the following error - ifconfig: BRDGADD ath0: Invalid argument

Given the following commands (which work for my tap interface with
qemu on 7.1, but apparently not with two regular network cards on
6.3):

sudo kldload if_bridge
sudo ifconfig ath0 down
sudo ifconfig rl0 down
sudo ifconfig bridge0 destroy
sudo ifconfig bridge0 create
sudo ifconfig bridge0 addm ath0
sudo ifconfig bridge0 addm rl0
sudo ifconfig bridge0 up
sudo ifconfig ath0 up
sudo ifconfig rl0 up
sudo dhclient bridge0
ifconfig

I get the following output:

[EMAIL PROTECTED] /usr/home/steve]$ bridge
kldload: can't load if_bridge: File exists
net.link.tap.user_open: 1 - 1
net.link.tap.devfs_cloning: 1 - 1
net.link.tap.up_on_open: 1 - 1
ifconfig: BRDGADD ath0: Invalid argument
ifconfig: BRDGADD rl0: Invalid argument
DHCPDISCOVER on bridge0 to 255.255.255.255 port 67 interval 8
ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.2.69 netmask 0xff00 broadcast 192.168.2.255
ether 00:13:f7:4a:0f:a8
media: IEEE 802.11 Wireless Ethernet autoselect (DS/1Mbps)
status: no carrier
ssid  channel 3
authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit txpowmax 39
bmiss 7 protmode CTS burst bintval 100
rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
ether 00:01:6c:16:44:6f
media: Ethernet autoselect (none)
status: no carrier
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff00
bridge0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
ether ea:57:36:3c:28:0c
priority 32768 hellotime 2 fwddelay 15 maxage 20
[EMAIL PROTECTED] /usr/home/steve]$

Thanks,
Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 7.0 installation problems.Please help!

2008-09-26 Thread Steve Franks
 Write failure on transfer!
 (wrote -1 bytes of 1425408 bytes)
 Unable to transfer the GENERIC distribution from acd0

I'm a bit of a n00b too.  There's a whole host of things that have
given me that issue - bad cd drive, scratched disk, etc.

More importantly, I've seen sysinstall never actually format the disk,
so then it can't write to it.  The way I fixed it is by hitting w
(write) before q (quit) in both the fdisk and partition pages of
sysinstall.  I've seen this behavior on both 6.2 and 7.0, and I've
never paid enough attention to repeat it or figure out what I did
wrong - I just use the write command manually and things seem happier.
 Make sure you see a box pop up on the partition/label page when you
hit write that mentions something about doing newfs , otherwise
just start over.  I think that's the magic step.

Hope this helps,
Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


any supported NTSC-output cards?

2008-09-24 Thread Steve Franks
I'm just curious.  My friend set up one of those TIVO clones with
ubuntu.  I'm really not into the fancy/pretty dressing, but hooking up
the 'ol freebsd server to the TV would be kind of nifty in the bling
department.  Also, if a card  drivers exist, experience getting
mplayer to stick the video out the TV out would be appreciated.

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


kill -KILL fails to kill process

2008-09-19 Thread Steve Franks
Which I thought was impossible.  Neophyte question, no doubt, but
googling was less than helpful (which probably means I'm fubar, no
doubt).  Anyway, I have a certain common X app (xmms) that likes to
hang (since my last buildworld, it seems) when when it's right about
to open a file-choosing dialog.  The only way to get rid of it is to
reboot.  Now, given the behavior, I'd have to suspect something
underlying as the true source of the problem, but shouldn't kill kill
it anyway - I mean, isn't there some way to kill a process that's
stuck waiting on a child process?  I haven't figured out how to ps
-ax grep | some neublous file dialog process yet...so I'm sort of
stuck wanting to kill the parent...

Thanks,
Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kill -KILL fails to kill process

2008-09-19 Thread Steve Franks
 If you can't kill a process (even with SIGKILL), it means
 that the process currently can't be put on the run queue,
 because only processes that are able to run can receive
 signals.  Given that, such a situation usually has one of
 these three reasons:

Clearly and I/O block is my specific problem, given the behavior.

That term signal in the man page did seem like kill is not the
brute-force method for making a process go away.  Suprising no one has
cooked up something more 'lethal'...

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 32-bit fbsd binaries on amd64 (we can already run 32bit linux/fc4 stuff, so this should work, right?)

2008-09-02 Thread Steve Franks
On Thu, Aug 28, 2008 at 5:16 PM, Wojciech Puchar
[EMAIL PROTECTED] wrote:
 Now, I'm sure, as usual, I'm being naive, but:

 1) We can run 32-bit linux on amd64, so do we have 32-bit freebsd libs
 already?

 yes.


 2) If we don't have the 32-bit libs, is it possible to steal them

 base system's 32-bit libs are installed by default, for older version
 through compat6x,5x,4x

 directly from the corresponding i386 freebsd (as long as we haven't
 rebuilt our kernel too many times), or should we in all cases be
 building them (is there a wiki?  I'm sure setting the CFLAGS for

 yes you can just copy any binaries.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


As you may have guessed, I'm not terribly expert.  I managed to get
this far (which is to say embarrassingly not far):

ELF interpreter /libexec/ld-elf32.so.1 not found
Abort trap: 6

The only thing I see in libexec is ld-elf.so.1 - is it possible to do
a standard sysinstall without any of the 32-bit stuff, or am I just a
symlink short of a load?  If so, is there a metaport of 32-bit stuff,
or do I have to take the leap and make buildworld?

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


32-bit fbsd binaries on amd64 (we can already run 32bit linux/fc4 stuff, so this should work, right?)

2008-08-28 Thread Steve Franks
I've been reading the wine64 wiki.  I've also seen some of myself 
other's questions in this general direction (not wine specifically,
but anything 64 vs 32) go by.  Near as I can tell, the big hangup is
having 32-bit libs (i.e for X) hanging around on your system.

Now, I'm sure, as usual, I'm being naive, but:

1) We can run 32-bit linux on amd64, so do we have 32-bit freebsd libs already?

2) If we don't have the 32-bit libs, is it possible to steal them
directly from the corresponding i386 freebsd (as long as we haven't
rebuilt our kernel too many times), or should we in all cases be
building them (is there a wiki?  I'm sure setting the CFLAGS for
32-bit (saw that somewhere) and buildworld is not the right way,
unless we manually copy things).

3) Once we have all the libs set up, how does one spoof a port (i.e.
linux/fc4-base or, in my case, wine) into building 64-bit?  I guess
fc4 is easy because it's pretty much a binary download, right, which
is not going to be the case for wine, unless maybe we use the pkg.tgz
(if we can do that, how would one force a 32-bit pkg to install on
amd64?)

It sure seems like there's a path to this coming soon.  It's not just
a matter of wine, I'd like eventually to run matlab64 (which is, of
course, in the opposite direction), and I note people working on
linuxulator64...

In the meantime, I'm going to attempt to get wine going in my fc4 emu,
but since I'm a FBSD snob, I consider that a very ugly hack...having
to run my FPGA compilers and Matlab in fc4 is insulting enough ;)  I
was so bloody impressed by the performance difference between wine 
kqemu on fedora, however, that I am compelled to try (darn CAD
vendors).

Best,
Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


undefined symbol error from .so file after portupgrade

2008-08-18 Thread Steve Franks
I just finished a successful of portupgrade -a, so everything's
supposed to be the latest  greatest, right?  Why would I be
experiencing dll hell then?  These are not obscure ports...

I get the following when I import gtk in python:

   ImportError:
/usr/local/lib/python2.5/site-packages/gtk-2.0/gconf.so: Undefined
symbol g_assertion_message_expr

My versions:

python25-2.5.2_1
py25-gtk-2.12.

Ideas?

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ATi Intel graphics

2008-08-13 Thread Steve Franks
On Wed, Aug 13, 2008 at 12:16 PM, Roland Smith [EMAIL PROTECTED] wrote:
 On Wed, Aug 13, 2008 at 02:20:45PM -0400, Jim wrote:
 On Wed, Aug 13, 2008 at 2:06 PM, John Nielsen [EMAIL PROTECTED] wrote:
  On Wednesday 13 August 2008, Jim wrote:
  At some point fairly soon, I'll be rebuilding my computer, and I want
  three things.
 
  64 Bit for more memory, maybe a bit of performance boost as well -
  it's mostly a multimedia machine
  decent/good 3D acceleration (better than a GeForce 7300GS - a few
  games in WINE in 1920x1080 - yes, believe it or not, the 7300GS
  doesn't do /bad/ on many of the games, but it certainly could be
  better).
  FreeBSD.
 
  You may want to rethink this. The emulators/wine port is i386-only:
 
  %grep -i arch /usr/ports/emulators/wine/Makefile
  ONLY_FOR_ARCHS= i386
 

 I was under the impression you could build it with -m32 set in CFLAGS
 and CXXFLAGS and it worked fine.

 IIRC, all the libraries that WINE depends on also need to be available
 in 32 bits. While not impossible nobody has spent any affort on this
 because it's easier just to install i386.

 Roland
 --
 R.F.Smith   http://www.xs4all.nl/~rsmith/
 [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
 pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


I suppose it's naive to think that some tool like portupgrade could be
bent to build all the depends with -m32 as well?  I guess you'd wind
up with a bunch of things you didn't want as 32-bit (i.e. XOrg?) being
re-installed as 32bit, right?  I don't suppose there's any
infrastructure for simultaneously installing two versions of a port
(one of the reasons BSD doesn't crash as much as win32, no doubt, and
that we don't usually have .dll/.so hell)...still I might settle for a
32-bit X if I could have 64-bit disk  network still...

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


py25_gtk2 misinstalled? (python + gtk)

2008-08-13 Thread Steve Franks
I get the following when I import gtk in python:

ImportError:
/usr/local/lib/python2.5/site-packages/gtk-2.0/gconf.so: Undefined
symbol g_assertion_message_expr

My versions:

python25-2.5.2_1
py25-gtk-2.12.

Ideas?

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: general questions about 7.0 and computer efficiency......

2008-08-13 Thread Steve Franks
On Wed, Aug 13, 2008 at 1:56 PM, Gary Kline [EMAIL PROTECTED] wrote:
 On Tue, Aug 12, 2008 at 11:52:38PM +0100, Chris Whitehouse wrote:
 Gary Kline wrote:
 On Tue, Aug 12, 2008 at 12:46:56AM +0100, Chris Whitehouse wrote:
 Hi Gary
 
  Do you build your hardware from the tower case up?  ---Green is
  in these days; so maybe some of us, or each of us, can
  contribute to a best-of list for those who are going to find a
  local builder or roll their own.  First time I'll be in an in
  group :-)

 Yep, any old crap case found on the street will do. With a little care
 building modern hardware is _really_ easy, it's very hard to mess up as
 there is only a handful of parts and most things that plug into other
 things can only do so one way and things that aren't supposed to plug
 into each other mostly can't. Power supplies provide instant protection,
 ie won't turn on when there is a problem. My computer has one each of
 motherboard, hard drive, power supply, optical drive and cpu, plus 2 ram
 modules and a few cables.


 The time consuming part is researching the parts. If you are building
 servers you might have to dig even deeper, eg
 http://www.worlds-fastest.com/d.pdf/wfw991.pdf


I have one firewall running pfSense.  It stands guard between my
modem and my internal server.  I don't understand why the pfSense
box has two NIC's and the mail/web/DNS has only one, but that's
how my LAN guy reconfigured things.

one thing I'm thinking of is to get One fast and lower-power server,
having two jails.  One jail would be as-is with mail/web/DNS and the
other jail would be tao, my main server for years.  When I buy
a reasonably fast ThinkPad, it could run Ubuntu and I could
reconfigure my older boxen for emergencies.

 
  Not that bad if you've got only one box.  My Ubuntu is a bear to
  reboot, sometimes, because the mouse goes nuts every other
  reboot.

 Do you mean it's not that bad that one computer uses 130 instead of 95.
 I think that is critical to the problem. To think about climate change
 you have to multiply your negligible contribution by the total number of
 negligible contributions. Manufacturers are not interested in 'green' so
 we have to do it for ourselves.


They are finally waking up!  Especially as their own costs
skyrocket, and as the poor consumers {that's us} start yelping as
our power bills hit the ceiling.  It will be at least a few years
though, so for now, yes, it's our responsibility.


 I have to say it was a bit painful
 spending £50 on an energy efficient power supply instead of £15 on a
 standard one, but the other parts aren't any more expensive.

 I'll redo my measurements in the next couple of days.

 
 It's a good idea to turn computers off at the wall when not using them
 not just shut them down. I was surprised to find mine uses about 25
 watts when shut down. Again the Dells at work use even more. The
 corporate environment must waste so many megawatts...


And of course these costs are passed along.  Borne by not only
the consumer but by the planet.  



 
 For servers my workplace is heading towards fewer physical machines and
 running virtual servers to implement their 'green ICT' policy.
 
 It's great to hear that someone else is thinking about the environmental
 effects.
 
 
 
  I've been thinking about my footprint ever since talking to a
  friend up in Ottawa who was looking into building a hay-bail
  home.  This is [tiny] green [/tiny].  Hay-bail insulation is
  [HUGE] Green [/HUGE].  I told him I was going to buy some land
  north of Nome and plant palm trees!

 I've just come back from the climate camp at Kingsnorth in UK :)

 Sorry getting OT again but I do think energy use is an issue that we
 should be addressing and has to be addressed on an individual basis.


The way I see it, since we {us-[BSD]-geeks} are among the most
savvy folk on the planet, it's make sense for us to be in the
lead on this type of issue.  [volumes left unsaid]

gary

PS:  just spent 20 minutes crawling around beneath desk.  my
bare-bones ubuntu draws between 100 -- 107w.  isling.




 Chris

 
  gary
 
 
 Chris
 
 


 --
  Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


Good to see some attention paid to this subject.  I complained about a
year ago about the poor support in freebsd for ataidle, and I got
several replies somewhere between indifference, and outright flames,
and this from Europeans, who are regarded as somewhat more enlightened
on the subject...

My 

error with python gconf.so (gtk-2.0)

2008-08-05 Thread Steve Franks
I just got a clean portupgrade -a, so I hope my problem is not a
version issue, because I don't have any newer versions to install.  I
get the following when I try to run meld:

Thanks,
Steve

[EMAIL PROTECTED] /usr/home/steve]$ meld
Traceback (most recent call last):
  File /usr/local/bin/meld, line 93, in module
import meldapp
  File /usr/local/lib/meld/meldapp.py, line 28, in module
import prefs
  File /usr/local/lib/meld/prefs.py, line 52, in module
import gconf
ImportError: /usr/local/lib/python2.5/site-packages/gtk-2.0/gconf.so:
Undefined symbol g_assertion_message_expr
[EMAIL PROTECTED] /usr/home/steve]$
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


802.11s / mesh / olsr

2008-08-04 Thread Steve Franks
I was just reading up on 802.11 meshes.  Looks like the linux guys are
starting to play with it.  What about us?  I note this cute little
OLPC device I've got seems to support the draft standard.  I thought
it'd be interesting to start sticking it on my bsd boxes when I can
(since I've got quite a few now)...

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


rc.suspend/rc.resume was: resume (hate to even ask)

2008-07-31 Thread Steve Franks
I just realized no one probably replied to my email due to the gross
ambiguity of the english language.  No, I am not looking for a job.
See below ;)

On Wed, Jul 30, 2008 at 3:17 PM, Steve Franks [EMAIL PROTECTED] wrote:
 Ok,

 I have too many systems with varying degrees of working freebsd on
 them, and I can't seem to leave well enough alone.  I hear lots of
 people having sucess with suspend, and I can't get it to work on a
 single system.

 My current strongest desire is to get it running on my hp ze4500
 laptop.  I've played with the stuff in the handbook, but that just
 took me from having a blank screen and no responses from Ctl-Alt-F(x)
 to now the fan comes on for a moment on resume, then the system powers
 offdoesn't seem to matter if X is up or not.

 I've kldunloaded usb, radeon, sound, drm, what else should I try?
 Also, rc.resume has a typo, right?  I'm susposed to change the
 #kldunload usb section to add kldload usb (and friends) right?

 Steve

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


resume (hate to even ask)

2008-07-30 Thread Steve Franks
Ok,

I have too many systems with varying degrees of working freebsd on
them, and I can't seem to leave well enough alone.  I hear lots of
people having sucess with suspend, and I can't get it to work on a
single system.

My current strongest desire is to get it running on my hp ze4500
laptop.  I've played with the stuff in the handbook, but that just
took me from having a blank screen and no responses from Ctl-Alt-F(x)
to now the fan comes on for a moment on resume, then the system powers
offdoesn't seem to matter if X is up or not.

I've kldunloaded usb, radeon, sound, drm, what else should I try?
Also, rc.resume has a typo, right?  I'm susposed to change the
#kldunload usb section to add kldload usb (and friends) right?

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   3   >