Re: /var/named Changes Ownership to Root on Boot

2008-03-22 Thread Ian Smith
In freebsd-questions Digest, Vol 207, Issue 18, Message: 6
On Fri, 21 Mar 2008 08:54:36 -0500
   Martin McCormick [EMAIL PROTECTED] wrote:

   I think I fixed it but I am not sure I would have
  figured it out quickly without the help from the list.
  
   It seems that FreeBSD defaults to a chroot of bind with
  the tree owned by root. You can run bind in a sandbox as the
  documentation says and have it chroot but if you do, and heres's
  the confusion, you had better disable FreeBSD's attempt to make
  sure the /var/named tree is always owned by root which would be
  fine if named ran as root.

I'm sorry, but you seem a tad confused about how named operates in
sandbox mode.  A thorough study of /etc/rc.d/named might help .. at
least, that's how I figured out how the whole chroot setup works. 

As Chuck Swiger pointed out, quoted below, it's only necessary (and for
security, desirable) for the =subdirectories= of /var/named/var to be
owned bind:wheel, not /var/named, nor /var/named/etc with the exception
of a couple of directories.  All this is setup (on each /etc/rc.d/named
start) by:

  mtree -deU -f /etc/mtree/BIND.chroot.dist -p ${named_chrootdir}

where /etc/mtree/BIND.chroot.dist is, on my 5.5-STABLE(ish) system:

# $FreeBSD: src/etc/mtree/BIND.chroot.dist,v 1.5.2.2 2004/11/11 04:08:16 
gshapiro Exp $
[..]

/set type=dir uname=root gname=wheel mode=0755
.
dev mode=0555
..
etc
namedb
dynamic uname=bind
..
master
..
slave   uname=bind
..
..
..
/set type=dir uname=bind gname=wheel mode=0755
var uname=root
dump
..
log
..
run
named
..
..
stats
..
..
..

   When you run it in a sandbox with a lower-priority UID,
  you must make sure that at least one more little line appears in
  rc.conf.local.
  
  named_chrootdir=   # Chroot directory (or  not to auto-chroot it)

No, that STOPS named running in a chroot sandbox.  Which is fine if you
want to run it the old (considered insecure) way; is that what you want?

  That's the key right there. If you use lines from rc.conf.local
  from an older system such as pre-FreeBSD5, you don't need that
  line and things work fine. If you don't have it on a FreeBSD5 or
  newer system,
  /etc/defaults/rc.conf supplies the default version of that line
  which reads:
  
  named_chrootdir=/var/named # Chroot directory (or  not to auto-chroot it)

That's right, and what you need to run it in the sandbox.

  and one is seriously messed up from there on during the booting
  process.

how 'messed up'?  That's how it's supposed to work.  You're supposed to
do bind configuration (/var/named/etc/namedb/named.conf etc) as root.

Ah, you might still have /etc/namedb as a directory, rather than a
symlink, if you'd done a source upgrade from 4.X to 5 or later?  If so,
(save and) delete it and let /etc/rc.d/named make the symlink for you,
then move your config to /var/named/etc/namedb

   I was confused and thought this would all help me keep
  ownership of /var/named belonging to bind when, in fact, it does
  just the opposite.

The whole point of the sandbox is to keep named, running as user bind,
from messing with anything out of its chroot environment if it were to
be compromised.  The actual chroot is performed in run_rc_command() in
/etc/rc.subr if you want to see the gorier details. 

  Martin McCormick WB5AGZ  Stillwater, OK 
  Systems Engineer
  OSU Information Technology Department Network Operations Group
  
  Chuck Swiger writes:
  /var/named is owned by root on all of my newer (5.x and later)  
  systems; I found an old 4.11 box with it owned by bind, though.  If  
  you're using named chroot'ed (as recommended), it will want /var/named/ 
  var/{dump/log/run/stats} writable by bind.

Yep, which is exactly what the mtree above does for you, every startup,
plus the dynamic and slave directories in (chrooted) /etc/namedb

The only problem I've struck with the chroot setup is a permission error
when trying to get debug (named.run) logging going, as named by default
wants to create the named.run file in the default directory (/etc/namedb
- /var/named/etc/namedb) which is of course owned by root, but I'm sure
I just need to spend a bit more time with the reference manual:

 http://127.0.0.1/bind9ref/Bv9ARM.html

(where /usr/local/www/data/bind9ref - /usr/local/share/doc/bind9/arm/)

to find out how to get this log made in /var/log ie /var/named/var/log
- but I'll wait till I've upgraded to 6.3 before trying that again.

cheers, Ian

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


Anyone have Comcast for an ISP?

2008-03-22 Thread Allen
Does anyone on here have comcast for an ISP? I use them and today I was
messing around on a machine I use for FTP service over my LAN (Not
accessible from the net so I'm not worried about using it for back ups)
and anyway, I wanted to set up one of my comcast accounts on it so I
could do as I've done for years, and use SSH to log into that machine
and use fetchmail to grab my email off comcast, and then use Mutt to
check it since I really like Mutt.

Well, I got sendmail up ad tested that ti was working and it was working
fine. After that I tried sending a test email with Mutt.

For some reason ti failed even though it was the backed up copy of my
Muttrc that I used to use on EVERY machine I used mutt on. I always
backed it up because I had it looking really nice with colors and also
my email address was in there and I built in a mini addy book for my
friends and mailing lists I'm on so I didn't have to worry about an
address book being deleted by accident.

Well, it failed horribly. I can't send an email because it's blocked,
and also, using fetchmail isn't exactly working either and I can't stand
how getmailrc works

So does anyone here use Comcast and Mutt for an email client that could
maybe reply and let me know how they do it? Id' like to use Mutt and
also I do like how simple fetchmail is to use, so fi you use these and
have Comcast for internet please reply with how you did it. I'm googling
right now but everything I find isn't exactly helpful, so if anyone here
uses Mutt and has Comcast please let me know how you did it.

Thanks much,

-Allen

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


greylisting with qmail

2008-03-22 Thread Muhammad Usman
Hello There!
I want to add greylisting support to my qmail server. I
tried to google about it and tried different methods but didn't get
succeeded. I have installed qmail via http://qmailrocks.org help. Hope
anyone can help me out.

Thanks in advance.

-- 
B.RGDS
Muhammad Usman (x2oxen)
+92-321-6640501
TN Technologies.
Blue Net Broadband
http://usman.blue.net.pk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mutex unlock failure when compiling KDE (upgrade from 6.x)

2008-03-22 Thread Leslie Jensen


RCL skrev:

Hi,

I'm having the same troubles as Leslie Jensen when compiling KDE (or
anything that uses uic, e.g. amarok):
compile process stucks with the following message:

Mutex unlock failure: Operation not permitted

I found out that the problem was already being investigated here on
the list, but no solution has yet been proposed :(
If it helps, I performed the steps that Mel asked to perform and
here's the log file of Qt build process:

http://rcl.mine.nu/outbound/freebsd/qt-copy-3.3.8_6.log.tar.gz

The actual command that is used to link uic is:
c++ -fno-exceptions  -Wl,-rpath,/usr/local/lib
-Wl,-rpath,/usr/local/lib -pthread -o ../../../bin/uic
.obj/release-shared-mt/main.
o  .obj/release-shared-mt/uic.o  .obj/release-shared-mt/form.o
.obj/release-shared-mt/object.o  .obj/release-shared-mt/subclassing
.o  .obj/release-shared-mt/embed.o
.obj/release-shared-mt/widgetdatabase.o
.obj/release-shared-mt/domtool.o  .obj/release-shared-
mt/parser.o-L/usr/local/lib
-L/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/lib
-L/usr/local/lib -lqt-mt -lmng -ljpeg -lp
ng -lz -lXi -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype
-lfontconfig -lXext -lX11 -lm -lSM -lICE

There's no file libpthread.* in /usr/local/lib. These are
libpthread.so/a files I have:

# ls -la `locate libpthread.{a,so}`
lrwxrwxrwx  1 root  wheel  19 Feb 29 13:57
/usr/compat/linux/lib/libpthread.so.0 - libpthread-2.3.6.so
lrwxrwxrwx  1 root  wheel  18 Feb 29 13:57
/usr/compat/linux/lib/obsolete/linuxthreads/libpthread.so.0 -
libpthread-0.10.so
lrwxr-xr-x  1 root  wheel   8 Feb 29 12:21 /usr/lib/libpthread.a - libthr.a
-r--r--r--  1 root  wheel  136020 Feb 29 16:16
/usr/local/lib/compat/libpthread.so.1
-r-xr-xr-x  1 root  wheel   43284 Oct 17 00:52
/usr/local/lib/valgrind/libpthread.so
lrwxr-xr-x  1 root  wheel  13 Oct 17 00:52
/usr/local/lib/valgrind/libpthread.so.2 - libpthread.so

I upgraded the system nearly a month ago (On 29th Feb) and since then
I cannot build any KDE application (not even rebuild kde base/lib
ports themselves).
Upgrade procedure I used is described here:
http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html

I hope the information provided will help further investigate the
problem. I don't want to reinstall the system, that feels like a
solution from Windows world :-)

Best regards,
Dmitry RCL Rekman


Dimitry!
Would you mind telling me how you did that. As you might have seen from 
my postings I have a problem when I do the last command in Mel's suggestion.


cat `make -V WRKSRC`/config.log \
/var/log/portbuilds/`make -V PKGNAME`.log

I get the message that the config.log file does not exist!
Thanks
/Leslie


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


RE: Anyone have Comcast for an ISP?

2008-03-22 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Allen
 Sent: Friday, March 21, 2008 10:33 PM
 To: freebsd-questions@freebsd.org
 Subject: Anyone have Comcast for an ISP?
 
 
 Does anyone on here have comcast for an ISP? I use them and today I was
 messing around on a machine I use for FTP service over my LAN (Not
 accessible from the net so I'm not worried about using it for back ups)
 and anyway, I wanted to set up one of my comcast accounts on it so I
 could do as I've done for years, and use SSH to log into that machine
 and use fetchmail to grab my email off comcast, and then use Mutt to
 check it since I really like Mutt.
 
 Well, I got sendmail up ad tested that it was working and it was working
 fine. After that I tried sending a test email with Mutt.
 
 For some reason ti failed even though it was the backed up copy of my
 Muttrc that I used to use on EVERY machine I used mutt on. I always
 backed it up because I had it looking really nice with colors and also
 my email address was in there and I built in a mini addy book for my
 friends and mailing lists I'm on so I didn't have to worry about an
 address book being deleted by accident.
 
 Well, it failed horribly. I can't send an email because it's blocked,
 and also, using fetchmail isn't exactly working either and I can't stand
 how getmailrc works
 
 So does anyone here use Comcast and Mutt for an email client that could
 maybe reply and let me know how they do it? Id' like to use Mutt and
 also I do like how simple fetchmail is to use, so fi you use these and
 have Comcast for internet please reply with how you did it. I'm googling
 right now but everything I find isn't exactly helpful, so if anyone here
 uses Mutt and has Comcast please let me know how you did it.
 

What you have available in the e-mail realm when you are
on the Comcast network:

For e-mail CLIENTS you may retrieve mail via the standard
IMAP or POP3 ports from a remote non-comcast mailserver.

For e-mail CLIENTS you may send mail through a remote
non-comcast mailserver using the submission port 587 and
authenticated SMTP.

For e-mail SERVERS you can use fetchmail to pretend the
server is a mail client, then redistribute the mail
internally.  However you cannot use sendmail to send
out outgoing mail to port 25 on remote mailservers - unless
it's to the comcast mailserver.

  Comcast's residential
TOS prohibits servers and they enforce this by blocking incoming
traffic going to SMTP, IMAP and POP3 ports.

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


Re: Anyone have Comcast for an ISP?

2008-03-22 Thread Predrag Punosevac

Ted Mittelstaedt wrote:
  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Allen
Sent: Friday, March 21, 2008 10:33 PM
To: freebsd-questions@freebsd.org
Subject: Anyone have Comcast for an ISP?


Does anyone on here have comcast for an ISP? I use them and today I was
messing around on a machine I use for FTP service over my LAN (Not
accessible from the net so I'm not worried about using it for back ups)
and anyway, I wanted to set up one of my comcast accounts on it so I
could do as I've done for years, and use SSH to log into that machine
and use fetchmail to grab my email off comcast, and then use Mutt to
check it since I really like Mutt.

Well, I got sendmail up ad tested that it was working and it was working
fine. After that I tried sending a test email with Mutt.

For some reason ti failed even though it was the backed up copy of my
Muttrc that I used to use on EVERY machine I used mutt on. I always
backed it up because I had it looking really nice with colors and also
my email address was in there and I built in a mini addy book for my
friends and mailing lists I'm on so I didn't have to worry about an
address book being deleted by accident.

Well, it failed horribly. I can't send an email because it's blocked,
and also, using fetchmail isn't exactly working either and I can't stand
how getmailrc works

So does anyone here use Comcast and Mutt for an email client that could
maybe reply and let me know how they do it? Id' like to use Mutt and
also I do like how simple fetchmail is to use, so fi you use these and
have Comcast for internet please reply with how you did it. I'm googling
right now but everything I find isn't exactly helpful, so if anyone here
uses Mutt and has Comcast please let me know how you did it.




What you have available in the e-mail realm when you are
on the Comcast network:

For e-mail CLIENTS you may retrieve mail via the standard
IMAP or POP3 ports from a remote non-comcast mailserver.

For e-mail CLIENTS you may send mail through a remote
non-comcast mailserver using the submission port 587 and
authenticated SMTP.

For e-mail SERVERS you can use fetchmail to pretend the
server is a mail client, then redistribute the mail
internally.  However you cannot use sendmail to send
out outgoing mail to port 25 on remote mailservers - unless
it's to the comcast mailserver.

  Comcast's residential
TOS prohibits servers and they enforce this by blocking incoming
traffic going to SMTP, IMAP and POP3 ports.

  
Now, I do know that cable and DSL modems are quite different but I am 
able to log into my Qwest DSL modem and
open the port 25, port 80 or any other port for that matter. I live in 
Arizona so Qwest and Comcast are more or less only two choices for the 
residential ISP.


I had Sandmail server running for about a week but as I do not have 
static IP address, Domain Name, MX
record and Reverse DNS there was no point keeping it as the mail would 
bounce from most mail servers.
Getting static IP address is no big deal as well as Domain Name and 
setting up MX record but I think Qwest
does not provide reverse DNS to residential accounts. They charge $26.95 
+ $6 (7Mps) for static IP for residential accounts. Essentially the 
equivalent  business account is about $90 and they do provide reverse 
DNS as well. I think one has to sign some kind liability agreement for 
business account in the case your mail server becomes spam zombie.
In reality you really have to run ClamAv and SpamAssassin beside 
Sendmail which was really overkill just for

my wife and me (my daughters are too small for email accounts).

I use IMAP and SMTP (Thunderbird client) ro recover mail from my 
University mail box. Qwest people were also nice to me after they 
realized that I do not care much for their Windows live and Hotmail 
account and offer me free of charge

5 email accounts on their mail server.

I think that the Comcast is doing something similar so you could use 
Mutt, Pine, or whatever email client you like to recover mail from your 
mail box on Comcast email server. I would not be surprised that they 
also run FreeBSD.


Cheers,
Predrag Punosevac






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


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


Question on kernel compiling and hyper threading

2008-03-22 Thread Leslie Jensen

I'n on a system with the CPU specs you see below.

I'm planning to update the system to 7.0 and want to ask about the 
enabeling or disablening of hyper threading in BIOS.


What I've seen on my current system is that when I enable hyper 
threading my cpu-graph only shows up to 50% in gkrelm and xfce's cpu graph.


Should I compile the kernel with special parameters or is it just the 
inability of gkrelm and xfce's cpu graph to detect hyper threading I'm 
seeing?


-
WARNING: MPSAFE network stack disabled, expect reduced performance.
acpi_alloc_wakeup_handler: can't alloc wake memory
ACPI APIC Table: A M I  OEMAPIC 
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (3412.10-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf34  Stepping = 4

Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x441dSSE3,RSVD2,MON,DS_CPL,CNTX-ID,b14
  Logical CPUs per core: 2
real memory  = 1073414144 (1023 MB)
avail memory = 1028616192 (980 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 Version 2.0 irqs 0-23 on motherboard


Thanks
/Leslie

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


Undetected SiI 3112 PCI SATA Controller card

2008-03-22 Thread Andrew Fremantle

Hello,

I've got a machine with an SiI 3112 based (Definately Silicon Image, I'm 
97% certain it was 3112) PCI SATA controller board in it. The board was 
just installed, and is not working. I don't get a BIOS screen on startup 
for it, but it is shown in the PCI device listing. The board is an ASUS 
A7V, so it wouldn't at all surprise me if there's a problem with the BIOS.


This is all FreeBSD 6.3 has to say on the subject :
pci0: mass storage, RAID at device 11.0 (no driver attached)

According to the ata(4) manpage, the ata driver is supposed to support 
this chipset? I found pciconf


pciconf gives the following output
[EMAIL PROTECTED]:11:0:class=0x010400 card=0x61121095 chip=0x21121095 
rev=0x02 hdr=0x00

   vendor = 'Silicon Image Inc (Was: CMD Technology Inc)'
   class  = mass storage
   subclass   = RAID

Is there a way to force the ata driver to treat this as an Si3112 and 
see what happens? I can't imagine this makes a difference, but there's 
actually 3 ATA controllers in the machine - The VIA chipset, an 
integrated Promise Ultra/100, and now the SiI board.


- Andrew

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


Re: Undetected SiI 3112 PCI SATA Controller card

2008-03-22 Thread Erik Trulsson
On Sat, Mar 22, 2008 at 02:22:18AM -0700, Andrew Fremantle wrote:
 Hello,
 
 I've got a machine with an SiI 3112 based (Definately Silicon Image, I'm 
 97% certain it was 3112) PCI SATA controller board in it. The board was 
 just installed, and is not working. I don't get a BIOS screen on startup 
 for it, but it is shown in the PCI device listing. The board is an ASUS 
 A7V, so it wouldn't at all surprise me if there's a problem with the BIOS.
 
 This is all FreeBSD 6.3 has to say on the subject :
 pci0: mass storage, RAID at device 11.0 (no driver attached)
 
 According to the ata(4) manpage, the ata driver is supposed to support this 
 chipset?

Yes, it is supposed to be supported.  It is also generally considered to be
one of the crappiest and buggiest SATA controllers in existence.
(It was also one of the first native SATA controllers to the market, which
helps explain why it was used so much anyway.)

 I found pciconf
 
 pciconf gives the following output
 [EMAIL PROTECTED]:11:0:class=0x010400 card=0x61121095 chip=0x21121095 
 ^^^

Something is really wrong here.  For a SiI 3112 is should say
'chip=0x31121095'.  'chip=0x21121095' does not correspond to any known
chip.  If not even the PCI id is detected correctly then it looks like
something is wrong with the hardware - either the controller or the
motherboard.


 rev=0x02 hdr=0x00
vendor = 'Silicon Image Inc (Was: CMD Technology Inc)'
class  = mass storage
subclass   = RAID
 
 Is there a way to force the ata driver to treat this as an Si3112 and see 
 what happens? I can't imagine this makes a difference, but there's actually 
 3 ATA controllers in the machine - The VIA chipset, an integrated Promise 
 Ultra/100, and now the SiI board.

You could go to sys/dev/ata/ata-pci.h and change the constant 0x31121095
into 0x21121095 and then recompile your kernel, and see what happens.
What will happen is most likely that some other problem will turn up with
that card, but you might get lucky (I just wouldn't count on it.)


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone have Comcast for an ISP?

2008-03-22 Thread Gerard Seibert
On Sat, 22 Mar 2008 02:33:13 -0400
Allen [EMAIL PROTECTED] wrote:

 Does anyone on here have comcast for an ISP? I use them and today I
 was messing around on a machine I use for FTP service over my LAN (Not
 accessible from the net so I'm not worried about using it for back
 ups) and anyway, I wanted to set up one of my comcast accounts on it
 so I could do as I've done for years, and use SSH to log into that
 machine and use fetchmail to grab my email off comcast, and then use
 Mutt to check it since I really like Mutt.
 
 Well, I got sendmail up ad tested that ti was working and it was
 working fine. After that I tried sending a test email with Mutt.
 
 For some reason ti failed even though it was the backed up copy of my
 Muttrc that I used to use on EVERY machine I used mutt on. I always
 backed it up because I had it looking really nice with colors and also
 my email address was in there and I built in a mini addy book for my
 friends and mailing lists I'm on so I didn't have to worry about an
 address book being deleted by accident.
 
 Well, it failed horribly. I can't send an email because it's blocked,
 and also, using fetchmail isn't exactly working either and I can't
 stand how getmailrc works
 
 So does anyone here use Comcast and Mutt for an email client that
 could maybe reply and let me know how they do it? Id' like to use
 Mutt and also I do like how simple fetchmail is to use, so fi you use
 these and have Comcast for internet please reply with how you did it.
 I'm googling right now but everything I find isn't exactly helpful,
 so if anyone here uses Mutt and has Comcast please let me know how
 you did it.
 
 Thanks much,
 
 -Allen

I am presently using Comcast in New York. They are actively blocking
outgoing port 25. You need to use port 587 with authentication to get
mail working correctly. I have a web server and FTP server all working
on the standard ports however. Even fetchmail works OK. In any case, on
July 1, I hope to be switching to FIOS and getting rid of this outdated
and slow cable system.

-- 
Gerard
[EMAIL PROTECTED]

Every morning is a Smirnoff morning.


signature.asc
Description: PGP signature


Re: Undetected SiI 3112 PCI SATA Controller card - resolved

2008-03-22 Thread Andrew Fremantle

   Thanks for the pointers.
   I'll pull the machine out again and do some hardware troubleshooting
   on it. If all else fails, I'll try altering ata-pci.h. Due to the
   crappy motherboard design, and existing add-on cards, this card is
   sharing an interrupt with the Promise Ultra/100 controller, which
   FreeBSD is detecting fine (there's nothing plugged into it). Could
   that possibly be related to this? Nevermind, all fixed. Pulled the
   card, aired the slot, put card back, works like a charm. I guess one
   pin wasn't connecting properly?
   Thanks for the response.
   - Andrew
   Erik Trulsson wrote:

On Sat, Mar 22, 2008 at 02:22:18AM -0700, Andrew Fremantle wrote:
  

Hello,

I've got a machine with an SiI 3112 based (Definately Silicon Image, I'm 
97% certain it was 3112) PCI SATA controller board in it. The board was 
just installed, and is not working. I don't get a BIOS screen on startup 
for it, but it is shown in the PCI device listing. The board is an ASUS 
A7V, so it wouldn't at all surprise me if there's a problem with the BIOS.

This is all FreeBSD 6.3 has to say on the subject :
pci0: mass storage, RAID at device 11.0 (no driver attached)

According to the ata(4) manpage, the ata driver is supposed to support this 
chipset?


Yes, it is supposed to be supported.  It is also generally considered to be
one of the crappiest and buggiest SATA controllers in existence.
(It was also one of the first native SATA controllers to the market, which
helps explain why it was used so much anyway.)

  

I found pciconf

pciconf gives the following output
[EMAIL PROTECTED]:11:0:class=0x010400 card=0x61121095 chip=0x21121095 


 ^^^

Something is really wrong here.  For a SiI 3112 is should say
'chip=0x31121095'.  'chip=0x21121095' does not correspond to any known
chip.  If not even the PCI id is detected correctly then it looks like
something is wrong with the hardware - either the controller or the
motherboard.


  

rev=0x02 hdr=0x00
   vendor = 'Silicon Image Inc (Was: CMD Technology Inc)'
   class  = mass storage
   subclass   = RAID

Is there a way to force the ata driver to treat this as an Si3112 and see 
what happens? I can't imagine this makes a difference, but there's actually 
3 ATA controllers in the machine - The VIA chipset, an integrated Promise 
Ultra/100, and now the SiI board.


You could go to sys/dev/ata/ata-pci.h and change the constant 0x31121095
into 0x21121095 and then recompile your kernel, and see what happens.
What will happen is most likely that some other problem will turn up with
that card, but you might get lucky (I just wouldn't count on it.)


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


Re: virtual machine software

2008-03-22 Thread Bruce Cran

Jim Stapleton wrote:

I need to get a VM work for XP. I tried QEmu, but XP wouldn't install.
I wouldn't mind VMWare, but I want to run it under trial first if
possible.

Any documents/suggestions that anyone can point me to?

Thanks,
-Jim Stapleton


There's also VMWare Server, which is free.

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


Re: [Fwd: Re: List replies]

2008-03-22 Thread Bill Moran
Da Rock [EMAIL PROTECTED] wrote:

 Fair enough, but is it necessary on all the lists for freebsd?
 

http://www.unicom.com/pw/reply-to-harmful.html

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


mplayer-problems

2008-03-22 Thread Niels Kobschaetzki

Hi!

I'm trying to get mplayer to work but DVD-playback  just doesn't work.
When I want to open a DVD via the GUI I get:
No stream found to handle url dvd://1

In the terminal
[EMAIL PROTECTED] /usr/home/user]$ mplayer -vo xv dvd://3 -dvd-device /dev/acd0
MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) III Mobile CPU  1000MHz (Family: 6, Model: 
11, Stepping: 1)

CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote 
control.


Playing dvd://3.
Couldn't open DVD device: /dev/acd0
No stream found to handle url dvd://3


Exiting... (End of file)
(the same for /dev/dvd)

Does anyone has an idea?


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


Re: mplayer-problems

2008-03-22 Thread Mehul Ved
On Sat, Mar 22, 2008 at 01:14:06PM +0100, Niels Kobschaetzki wrote:
 In the terminal
 [EMAIL PROTECTED] /usr/home/user]$ mplayer -vo xv dvd://3 -dvd-device 
 /dev/acd0
 MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
 CPU: Intel(R) Pentium(R) III Mobile CPU  1000MHz (Family: 6, Model: 11, 
 Stepping: 1)
 CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
 Compiled with runtime CPU detection.
 mplayer: could not connect to socket
 mplayer: No such file or directory
 Failed to open LIRC support. You will not be able to use your remote 
 control.

 Playing dvd://3.
 Couldn't open DVD device: /dev/acd0
 No stream found to handle url dvd://3

See the error, it says it can't open /dev/acd0. Problems is that your
permissions are set right. Set the right permissions for /dev/acd0 and
things should be fine.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: virtual machine software

2008-03-22 Thread Roland Smith
On Fri, Mar 21, 2008 at 11:37:50PM -0400, Jim Stapleton wrote:
 I need to get a VM work for XP. I tried QEmu, but XP wouldn't install.
 I wouldn't mind VMWare, but I want to run it under trial first if
 possible.

Bochs works, but it is slow. 

I would investigate _why_ it doesn't install under qemu before turning
to another VM. You'll need at least a 3-4G disk image (for XP with SP2
and updates), and 384M memory for the VM.

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)


pgp20Y5qM7ah3.pgp
Description: PGP signature


Re: Mutex unlock failure when compiling KDE (upgrade from 6.x)

2008-03-22 Thread RCL
Hi,

On Sat, Mar 22, 2008 at 8:13 AM, Leslie Jensen [EMAIL PROTECTED] wrote:


 RCL skrev:
  Hi,
 
  I'm having the same troubles as Leslie Jensen when compiling KDE (or
  anything that uses uic, e.g. amarok):
  compile process stucks with the following message:
 
  Mutex unlock failure: Operation not permitted
 
  I found out that the problem was already being investigated here on
  the list, but no solution has yet been proposed :(
  If it helps, I performed the steps that Mel asked to perform and
  here's the log file of Qt build process:
 
  http://rcl.mine.nu/outbound/freebsd/qt-copy-3.3.8_6.log.tar.gz
 
  The actual command that is used to link uic is:
  c++ -fno-exceptions  -Wl,-rpath,/usr/local/lib
  -Wl,-rpath,/usr/local/lib -pthread -o ../../../bin/uic
  .obj/release-shared-mt/main.
  o  .obj/release-shared-mt/uic.o  .obj/release-shared-mt/form.o
  .obj/release-shared-mt/object.o  .obj/release-shared-mt/subclassing
  .o  .obj/release-shared-mt/embed.o
  .obj/release-shared-mt/widgetdatabase.o
  .obj/release-shared-mt/domtool.o  .obj/release-shared-
  mt/parser.o-L/usr/local/lib
  -L/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/lib
  -L/usr/local/lib -lqt-mt -lmng -ljpeg -lp
  ng -lz -lXi -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype
  -lfontconfig -lXext -lX11 -lm -lSM -lICE
 
  There's no file libpthread.* in /usr/local/lib. These are
  libpthread.so/a files I have:
 
  # ls -la `locate libpthread.{a,so}`
  lrwxrwxrwx  1 root  wheel  19 Feb 29 13:57
  /usr/compat/linux/lib/libpthread.so.0 - libpthread-2.3.6.so
  lrwxrwxrwx  1 root  wheel  18 Feb 29 13:57
  /usr/compat/linux/lib/obsolete/linuxthreads/libpthread.so.0 -
  libpthread-0.10.so
  lrwxr-xr-x  1 root  wheel   8 Feb 29 12:21 /usr/lib/libpthread.a -
 libthr.a
  -r--r--r--  1 root  wheel  136020 Feb 29 16:16
  /usr/local/lib/compat/libpthread.so.1
  -r-xr-xr-x  1 root  wheel   43284 Oct 17 00:52
  /usr/local/lib/valgrind/libpthread.so
  lrwxr-xr-x  1 root  wheel  13 Oct 17 00:52
  /usr/local/lib/valgrind/libpthread.so.2 - libpthread.so
 
  I upgraded the system nearly a month ago (On 29th Feb) and since then
  I cannot build any KDE application (not even rebuild kde base/lib
  ports themselves).
  Upgrade procedure I used is described here:
 
 http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html
 
  I hope the information provided will help further investigate the
  problem. I don't want to reinstall the system, that feels like a
  solution from Windows world :-)
 
  Best regards,
  Dmitry RCL Rekman
 
 Dimitry!
 Would you mind telling me how you did that. As you might have seen from
 my postings I have a problem when I do the last command in Mel's
 suggestion.

 cat `make -V WRKSRC`/config.log \
/var/log/portbuilds/`make -V PKGNAME`.log

 I get the message that the config.log file does not exist!
 Thanks
 /Leslie


Well, actually I also was unable to do that, because Qt uses Trolltech's
configure and I don't know how to make that create config.log (it does not
by default).

What I did is running that configure script again with parameters got from
`MAKE -V CONFIGURE_ARGS` (be careful to cd into WRKSRC prior to running that
script as it is creating files in current directory and can replace your
Makefile if you run it from port's main dir) and copied the output of that
script.

I don't know how useful is this, but this output is available here:
http://rcl.mine.nu/outbound/freebsd/configure.log

Best regards,
Dmitry RCL Rekman




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

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


uninstall all of Gnome with expections

2008-03-22 Thread Dino Vliet
Hi folks,

lately I've been thinking about removing all of Gnome, which has served as my 
primary desktop for years. The reasons is the broken upgrades I experience 
everytime Gnome updates and the fact that I will move to KDE4.

At the moment I would just like to use Xfce4.

I want to remove all of Gnome, except evolution.

Will this command do the trick?

pkg_deinstall -R x11/gnome2 -x evolution

Hope you can help me out.

Brgds
Dino



   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Undetected SiI 3112 PCI SATA Controller card - resolved

2008-03-22 Thread Erik Trulsson
On Sat, Mar 22, 2008 at 05:09:10AM -0700, Andrew Fremantle wrote:
 I'll pull the machine out again and do some hardware troubleshooting on
 it. If all else fails, I'll try altering ata-pci.h. Due to the crappy
 motherboard design, and existing add-on cards, this card is sharing an
 interrupt with the Promise Ultra/100 controller, which FreeBSD is
 detecting fine (there's nothing plugged into it). Could that possibly
 be related to this? Nevermind, all fixed. Pulled the card, aired the
 slot, put card back, works like a charm. I guess one pin wasn't
 connecting properly?br

Interrupt-sharing should not be a problem. PCI is designed to handle
shared interrupts after all.  (That being said, there do exist cards
and drivers that do not handle shared interrupts very well, but that
is very much the exception rather than the rule.)

If there was some dirt or something that caused one or more of the pins
on the card from making proper contact with the slot, then that
could indeed have caused the problems you saw.



 br
 Thanks for the response.br
 br
 - Andrewbr
 br
 Erik Trulsson wrote:
 blockquote cite=mid:[EMAIL PROTECTED]
   pre wrap=On Sat, Mar 22, 2008 at 02:22:18AM -0700, Andrew Fremantle 
 wrote:
 
 I've got a machine with an SiI 3112 based (Definately Silicon Image, I'm 
 97% certain it was 3112) PCI SATA controller board in it. The board was 
 just installed, and is not working. I don't get a BIOS screen on startup 
 for it, but it is shown in the PCI device listing. The board is an ASUS 
 A7V, so it wouldn't at all surprise me if there's a problem with the BIOS.
 
 This is all FreeBSD 6.3 has to say on the subject :
 pci0: lt;mass storage, RAIDgt; at device 11.0 (no driver attached)
 
 According to the ata(4) manpage, the ata driver is supposed to support this 
 chipset?

 Yes, it is supposed to be supported.  It is also generally considered to be
 one of the crappiest and buggiest SATA controllers in existence.
 (It was also one of the first native SATA controllers to the market, which
 helps explain why it was used so much anyway.)
 
 
 pciconf gives the following output
 [EMAIL PROTECTED]:11:0:class=0x010400 card=0x61121095 
 chip=0x21121095 
 
 Something is really wrong here.  For a SiI 3112 is should say
 'chip=0x31121095'.  'chip=0x21121095' does not correspond to any known
 chip.  If not even the PCI id is detected correctly then it looks like
 something is wrong with the hardware - either the controller or the
 motherboard.
 
 
vendor = 'Silicon Image Inc (Was: CMD Technology Inc)'
class  = mass storage
subclass   = RAID
 
 Is there a way to force the ata driver to treat this as an Si3112 and see 
 what happens? I can't imagine this makes a difference, but there's actually 
 3 ATA controllers in the machine - The VIA chipset, an integrated Promise 
 Ultra/100, and now the SiI board.

 You could go to sys/dev/ata/ata-pci.h and change the constant 0x31121095
 into 0x21121095 and then recompile your kernel, and see what happens.
 What will happen is most likely that some other problem will turn up with
 that card, but you might get lucky (I just wouldn't count on it.)
 

-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: virtual machine software

2008-03-22 Thread Jim Stapleton
Sorry, QEmu crashes when I try to boot the CD. Same happens with Bochs.

-Jim Stapleton

On Sat, Mar 22, 2008 at 9:03 AM, Roland Smith [EMAIL PROTECTED] wrote:
 On Fri, Mar 21, 2008 at 11:37:50PM -0400, Jim Stapleton wrote:
   I need to get a VM work for XP. I tried QEmu, but XP wouldn't install.
   I wouldn't mind VMWare, but I want to run it under trial first if
   possible.

  Bochs works, but it is slow.

  I would investigate _why_ it doesn't install under qemu before turning
  to another VM. You'll need at least a 3-4G disk image (for XP with SP2
  and updates), and 384M memory for the VM.

  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)

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


Re: virtual machine software

2008-03-22 Thread Jim Stapleton
Really? And runs on FreeBSD (or does it use Linux Compat?)

On Sat, Mar 22, 2008 at 8:27 AM, Bruce Cran [EMAIL PROTECTED] wrote:

 Jim Stapleton wrote:
   I need to get a VM work for XP. I tried QEmu, but XP wouldn't install.
   I wouldn't mind VMWare, but I want to run it under trial first if
   possible.
  
   Any documents/suggestions that anyone can point me to?
  
   Thanks,
   -Jim Stapleton

  There's also VMWare Server, which is free.

  --
  Bruce

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


Fork bomb, which can stop the system in spite of limits for user.

2008-03-22 Thread Michal Garbowski

Hello,

I've the question, to the bug report: 
http://www.freebsd.org/cgi/query-pr.cgi?pr=121949 .


Is there any limit, (which I didn't wrote in PR), which can stop gives 
memory for user (not root) in fBSD ?


Regards, Michal Garbowski

--
Rozmiar ma znaczenie... czy nie?
kliknij  http://link.interia.pl/f1d1f

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


Re: mplayer-problems

2008-03-22 Thread Niels Kobschaetzki
On Fri, Mar 21, 2008 at 1:53 PM, Mehul Ved [EMAIL PROTECTED] wrote:
 On Sat, Mar 22, 2008 at 01:14:06PM +0100, Niels Kobschaetzki wrote:
   In the terminal
   [EMAIL PROTECTED] /usr/home/user]$ mplayer -vo xv dvd://3 -dvd-device 
 /dev/acd0
   MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
   CPU: Intel(R) Pentium(R) III Mobile CPU  1000MHz (Family: 6, Model: 11,
   Stepping: 1)
   CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
   Compiled with runtime CPU detection.
   mplayer: could not connect to socket
   mplayer: No such file or directory
   Failed to open LIRC support. You will not be able to use your remote
   control.
  
   Playing dvd://3.
   Couldn't open DVD device: /dev/acd0
   No stream found to handle url dvd://3

  See the error, it says it can't open /dev/acd0. Problems is that your
  permissions are set right. Set the right permissions for /dev/acd0 and
  things should be fine.

That was it - thx :)
Now the video plays but the output looks scrambled and mplayer tells
me that my machine is too slow. But even on a P3 1 GHz DVDs should
run…especially when DivX and co can be decoded w/out any problems.
Any ideas?

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

Re: virtual machine software

2008-03-22 Thread Roland Smith
On Sat, Mar 22, 2008 at 09:50:26AM -0400, Jim Stapleton wrote:
 On Sat, Mar 22, 2008 at 9:03 AM, Roland Smith [EMAIL PROTECTED] wrote:
  On Fri, Mar 21, 2008 at 11:37:50PM -0400, Jim Stapleton wrote:
I need to get a VM work for XP. I tried QEmu, but XP wouldn't install.
I wouldn't mind VMWare, but I want to run it under trial first if
possible.
 
   Bochs works, but it is slow.
 
   I would investigate _why_ it doesn't install under qemu before turning
   to another VM. You'll need at least a 3-4G disk image (for XP with SP2
   and updates), and 384M memory for the VM.
 

(please do not top-post)
 Sorry, QEmu crashes when I try to boot the CD. Same happens with Bochs.

Well, if it happens with two different emulators, I guess you'd have to
look for a cause outside of the emulators themselves.

- is the CD allright? Have you tried booting your machine with it?

- does the user who starts the qemu/bochs process have write
  access to the CD device? If not, you have to fix that.

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)


pgplFp3gJfb4d.pgp
Description: PGP signature


Re: virtual machine software

2008-03-22 Thread Outback Dingo
have you tried VirtualBox ???

On Sat, Mar 22, 2008 at 9:15 PM, Roland Smith [EMAIL PROTECTED] wrote:

 On Sat, Mar 22, 2008 at 09:50:26AM -0400, Jim Stapleton wrote:
  On Sat, Mar 22, 2008 at 9:03 AM, Roland Smith [EMAIL PROTECTED] wrote:
   On Fri, Mar 21, 2008 at 11:37:50PM -0400, Jim Stapleton wrote:
 I need to get a VM work for XP. I tried QEmu, but XP wouldn't
 install.
 I wouldn't mind VMWare, but I want to run it under trial first if
 possible.
  
Bochs works, but it is slow.
  
I would investigate _why_ it doesn't install under qemu before
 turning
to another VM. You'll need at least a 3-4G disk image (for XP with
 SP2
and updates), and 384M memory for the VM.
  

 (please do not top-post)
  Sorry, QEmu crashes when I try to boot the CD. Same happens with Bochs.

 Well, if it happens with two different emulators, I guess you'd have to
 look for a cause outside of the emulators themselves.

 - is the CD allright? Have you tried booting your machine with it?

 - does the user who starts the qemu/bochs process have write
  access to the CD device? If not, you have to fix that.

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

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


Re: List replies

2008-03-22 Thread Jerry McAllister
On Sat, Mar 22, 2008 at 10:35:57AM +1000, Da Rock wrote:

 This may have been suggested or discussed before, but is there a reason
 why the reply-to on this list isn't the list itself instead of the
 person who posted? Ie reply-to: freebsd-questions@freebsd.org

Yes.  It is the usual way of doing lists.  It is the most straightforward
and makes sure that at least the poster gets the reply.   

Just to a reply-all  (group reply)  to include the list.

jerry

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


usb kbd and ums problem

2008-03-22 Thread Lei Chen
hi list,

I have a problem with my newly installed Freebsd6.3. I use keyboard and
mouse, when start it all goes well, but after system boot process initalize
usb2 controllers, both my keyboard and mouse disappear. I have to physically
unplug them and plug them in again to use them.

I have ums_load=YES and ukbd_load=YES in /boot/loader.conf, but not
seems to solve the issue.

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


Re: uninstall all of Gnome with expections

2008-03-22 Thread Eduardo Cerejo

 Hi folks,
 
 lately I've been thinking about removing all of Gnome, which has served as my 
 primary desktop for years. The reasons is the broken upgrades I experience 
 everytime Gnome updates and the fact that I will move to KDE4.
 
 At the moment I would just like to use Xfce4.
 
 I want to remove all of Gnome, except evolution.
 
 Will this command do the trick?
 
 pkg_deinstall -R x11/gnome2 -x evolution
 
 Hope you can help me out.

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


Re: Mutex unlock failure when compiling KDE (upgrade from 6.x)

2008-03-22 Thread Kris Kennaway

RCL wrote:

Hi,

I'm having the same troubles as Leslie Jensen when compiling KDE (or
anything that uses uic, e.g. amarok):
compile process stucks with the following message:

Mutex unlock failure: Operation not permitted

I found out that the problem was already being investigated here on
the list, but no solution has yet been proposed :(
If it helps, I performed the steps that Mel asked to perform and
here's the log file of Qt build process:

http://rcl.mine.nu/outbound/freebsd/qt-copy-3.3.8_6.log.tar.gz

The actual command that is used to link uic is:
c++ -fno-exceptions  -Wl,-rpath,/usr/local/lib
-Wl,-rpath,/usr/local/lib -pthread -o ../../../bin/uic
.obj/release-shared-mt/main.
o  .obj/release-shared-mt/uic.o  .obj/release-shared-mt/form.o
.obj/release-shared-mt/object.o  .obj/release-shared-mt/subclassing
.o  .obj/release-shared-mt/embed.o
.obj/release-shared-mt/widgetdatabase.o
.obj/release-shared-mt/domtool.o  .obj/release-shared-
mt/parser.o-L/usr/local/lib
-L/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/lib
-L/usr/local/lib -lqt-mt -lmng -ljpeg -lp
ng -lz -lXi -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype
-lfontconfig -lXext -lX11 -lm -lSM -lICE

There's no file libpthread.* in /usr/local/lib. These are
libpthread.so/a files I have:

# ls -la `locate libpthread.{a,so}`
lrwxrwxrwx  1 root  wheel  19 Feb 29 13:57
/usr/compat/linux/lib/libpthread.so.0 - libpthread-2.3.6.so
lrwxrwxrwx  1 root  wheel  18 Feb 29 13:57
/usr/compat/linux/lib/obsolete/linuxthreads/libpthread.so.0 -
libpthread-0.10.so
lrwxr-xr-x  1 root  wheel   8 Feb 29 12:21 /usr/lib/libpthread.a - libthr.a
-r--r--r--  1 root  wheel  136020 Feb 29 16:16
/usr/local/lib/compat/libpthread.so.1
-r-xr-xr-x  1 root  wheel   43284 Oct 17 00:52
/usr/local/lib/valgrind/libpthread.so
lrwxr-xr-x  1 root  wheel  13 Oct 17 00:52
/usr/local/lib/valgrind/libpthread.so.2 - libpthread.so

I upgraded the system nearly a month ago (On 29th Feb) and since then
I cannot build any KDE application (not even rebuild kde base/lib
ports themselves).
Upgrade procedure I used is described here:
http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html

I hope the information provided will help further investigate the
problem. I don't want to reinstall the system, that feels like a
solution from Windows world :-)


Are you certain that your portupgrade -af completed successfully after 
you upgraded the base OS?  If this was not completed it will cause 
problems along these lines.


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


Re: virtual machine software

2008-03-22 Thread Bruce Cran

Jim Stapleton wrote:

Really? And runs on FreeBSD (or does it use Linux Compat?)


I don't think any modern versions of VMWare run on FreeBSD - the version 
in ports is 3.x.


--
Bruce



On Sat, Mar 22, 2008 at 8:27 AM, Bruce Cran [EMAIL PROTECTED] wrote:

Jim Stapleton wrote:
  I need to get a VM work for XP. I tried QEmu, but XP wouldn't install.
  I wouldn't mind VMWare, but I want to run it under trial first if
  possible.
 
  Any documents/suggestions that anyone can point me to?
 
  Thanks,
  -Jim Stapleton

 There's also VMWare Server, which is free.

 --
 Bruce





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


Re: virtual machine software

2008-03-22 Thread Bruce Cran

Jim Stapleton wrote:

Sorry, QEmu crashes when I try to boot the CD. Same happens with Bochs.

-Jim Stapleton


If it crashes with 'Bad system call' make sure you have aio support 
loaded.  I missed it when I recently installed it, but the pkg-message 
does mention it:


- qemu now uses aio at least for ide dma, so if you get `Invalid system 
call' crashes that is because aio is not (kld)loaded.


--
Bruce



On Sat, Mar 22, 2008 at 9:03 AM, Roland Smith [EMAIL PROTECTED] wrote:

On Fri, Mar 21, 2008 at 11:37:50PM -0400, Jim Stapleton wrote:
  I need to get a VM work for XP. I tried QEmu, but XP wouldn't install.
  I wouldn't mind VMWare, but I want to run it under trial first if
  possible.

 Bochs works, but it is slow.

 I would investigate _why_ it doesn't install under qemu before turning
 to another VM. You'll need at least a 3-4G disk image (for XP with SP2
 and updates), and 384M memory for the VM.

 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)


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



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


Re: mplayer-problems

2008-03-22 Thread Mehul Ved
On Sat, Mar 22, 2008 at 03:06:22PM +0100, Niels Kobschaetzki wrote:
 Now the video plays but the output looks scrambled and mplayer tells
 me that my machine is too slow. But even on a P3 1 GHz DVDs should
 run???especially when DivX and co can be decoded w/out any problems.
 Any ideas?

Is the media fine? I have had this many times with bad media, improperly
encoded files and I believe low RAM, too.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Fwd: Re: List replies]

2008-03-22 Thread Gerard
On Sat, 22 Mar 2008 08:30:28 -0400
Bill Moran [EMAIL PROTECTED] wrote:

 Da Rock [EMAIL PROTECTED] wrote:
 
  Fair enough, but is it necessary on all the lists for freebsd?
 
 http://www.unicom.com/pw/reply-to-harmful.html
 
That is one man's point of view. There are several others though.

-- 
Gerard
[EMAIL PROTECTED]

O give me a home,
Where the buffalo roam,
Where the deer and the antelope play,
Where seldom is heard
A discouraging word,
'Cause what can an antelope say?


signature.asc
Description: PGP signature


Re: IP packet with options

2008-03-22 Thread Malcolm Clarke

We are trying to configure an IPv6 tunnel for IPSec, ie IPv6 in IPv6.

The command line would be

ifconfig gif0 inet6 tunnel src-addr dst_addr (IPv6 addresses)

There appears to be no equivalent line for rc.conf.

Regards

Malcolm

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


Does ATT laptop connect card work with FreeBSD 7.0?

2008-03-22 Thread Steven Friedrich
I'm considering using an ATT laptop connect card, but I don't know if it's 
supported by FreeBSD.

Is anyone using this?  Does anyone know how it compares speed-wise with cable 
broadband, such as InsightBB?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone have Comcast for an ISP?

2008-03-22 Thread George Fazio

Ted Mittelstaedt wrote:
  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Allen
Sent: Friday, March 21, 2008 10:33 PM
To: freebsd-questions@freebsd.org
Subject: Anyone have Comcast for an ISP?


Does anyone on here have comcast for an ISP? I use them and today I was
messing around on a machine I use for FTP service over my LAN (Not
accessible from the net so I'm not worried about using it for back ups)
and anyway, I wanted to set up one of my comcast accounts on it so I
could do as I've done for years, and use SSH to log into that machine
and use fetchmail to grab my email off comcast, and then use Mutt to
check it since I really like Mutt.

Well, I got sendmail up ad tested that it was working and it was working
fine. After that I tried sending a test email with Mutt.

For some reason ti failed even though it was the backed up copy of my
Muttrc that I used to use on EVERY machine I used mutt on. I always
backed it up because I had it looking really nice with colors and also
my email address was in there and I built in a mini addy book for my
friends and mailing lists I'm on so I didn't have to worry about an
address book being deleted by accident.

Well, it failed horribly. I can't send an email because it's blocked,
and also, using fetchmail isn't exactly working either and I can't stand
how getmailrc works

So does anyone here use Comcast and Mutt for an email client that could
maybe reply and let me know how they do it? Id' like to use Mutt and
also I do like how simple fetchmail is to use, so fi you use these and
have Comcast for internet please reply with how you did it. I'm googling
right now but everything I find isn't exactly helpful, so if anyone here
uses Mutt and has Comcast please let me know how you did it.




What you have available in the e-mail realm when you are
on the Comcast network:

For e-mail CLIENTS you may retrieve mail via the standard
IMAP or POP3 ports from a remote non-comcast mailserver.

For e-mail CLIENTS you may send mail through a remote
non-comcast mailserver using the submission port 587 and
authenticated SMTP.

For e-mail SERVERS you can use fetchmail to pretend the
server is a mail client, then redistribute the mail
internally.  However you cannot use sendmail to send
out outgoing mail to port 25 on remote mailservers - unless
it's to the comcast mailserver.

  Comcast's residential
TOS prohibits servers and they enforce this by blocking incoming
traffic going to SMTP, IMAP and POP3 ports.

  
I'd like to call BS here.  My mail server runs on a Comcast connection.  
I send all my out going mail through them, but incoming mail works 
without issue.  My employer does pay for my Internet connection, so it 
might be on some exception list for business service.  But, it 
definitely works.

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


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


Fork bomb immune to limits for user.

2008-03-22 Thread Michal Garbowski

Hello,

I've the question, to the bug report: 
http://www.freebsd.org/cgi/query-pr.cgi?pr=121949 .


Is there any limit, (which I didn't wrote in PR), which can stop gives 
memory for user (not root) in fBSD ?


Regards, Michal Garbowski

--
Wez udzial w konkursie i wygraj super nagrody! 
Ciesz sie zdrowym usmiechem! Zobacz  http://link.interia.pl/f1d58


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


Re: Mutex unlock failure when compiling KDE (upgrade from 6.x)

2008-03-22 Thread Dmitry RCL Rekman
Hi,

On Sat, Mar 22, 2008 at 3:52 PM, Kris Kennaway [EMAIL PROTECTED] wrote:

 RCL wrote:
  Hi,
 
  I'm having the same troubles as Leslie Jensen when compiling KDE (or
  anything that uses uic, e.g. amarok):
  compile process stucks with the following message:
 
  Mutex unlock failure: Operation not permitted
 
  I found out that the problem was already being investigated here on
  the list, but no solution has yet been proposed :(
  If it helps, I performed the steps that Mel asked to perform and
  here's the log file of Qt build process:
 
  http://rcl.mine.nu/outbound/freebsd/qt-copy-3.3.8_6.log.tar.gz
 
  The actual command that is used to link uic is:
  c++ -fno-exceptions  -Wl,-rpath,/usr/local/lib
  -Wl,-rpath,/usr/local/lib -pthread -o ../../../bin/uic
  .obj/release-shared-mt/main.
  o  .obj/release-shared-mt/uic.o  .obj/release-shared-mt/form.o
  .obj/release-shared-mt/object.o  .obj/release-shared-mt/subclassing
  .o  .obj/release-shared-mt/embed.o
  .obj/release-shared-mt/widgetdatabase.o
  .obj/release-shared-mt/domtool.o  .obj/release-shared-
  mt/parser.o-L/usr/local/lib
  -L/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/lib
  -L/usr/local/lib -lqt-mt -lmng -ljpeg -lp
  ng -lz -lXi -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype
  -lfontconfig -lXext -lX11 -lm -lSM -lICE
 
  There's no file libpthread.* in /usr/local/lib. These are
  libpthread.so/a files I have:
 
  # ls -la `locate libpthread.{a,so}`
  lrwxrwxrwx  1 root  wheel  19 Feb 29 13:57
  /usr/compat/linux/lib/libpthread.so.0 - libpthread-2.3.6.so
  lrwxrwxrwx  1 root  wheel  18 Feb 29 13:57
  /usr/compat/linux/lib/obsolete/linuxthreads/libpthread.so.0 -
  libpthread-0.10.so
  lrwxr-xr-x  1 root  wheel   8 Feb 29 12:21 /usr/lib/libpthread.a -
 libthr.a
  -r--r--r--  1 root  wheel  136020 Feb 29 16:16
  /usr/local/lib/compat/libpthread.so.1
  -r-xr-xr-x  1 root  wheel   43284 Oct 17 00:52
  /usr/local/lib/valgrind/libpthread.so
  lrwxr-xr-x  1 root  wheel  13 Oct 17 00:52
  /usr/local/lib/valgrind/libpthread.so.2 - libpthread.so
 
  I upgraded the system nearly a month ago (On 29th Feb) and since then
  I cannot build any KDE application (not even rebuild kde base/lib
  ports themselves).
  Upgrade procedure I used is described here:
 
 http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html
 
  I hope the information provided will help further investigate the
  problem. I don't want to reinstall the system, that feels like a
  solution from Windows world :-)

 Are you certain that your portupgrade -af completed successfully after
 you upgraded the base OS?  If this was not completed it will cause
 problems along these lines.


Well, it actually did not rebuild the KDE  friends (because of
aforementioned problem with unlocking the mutex), so I had to interrupt
that, leaving some ports alone. I admit that is a deviation from upgrade
procedure, but it is not perhaps the reason of mutex problem, because it
appeared while rebuilding the ports for the first time.


 Kris



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


Re: IP packet with options

2008-03-22 Thread Malcolm Clarke

We are trying to configure an IPv6 tunnel for IPSec, ie IPv6 in IPv6.

The command line would be

ifconfig gif0 inet6 tunnel src-addr dst_addr (IPv6 addresses)

There appears to be no equivalent line for rc.conf.

Regards

Malcolm

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


Re: Mutex unlock failure when compiling KDE (upgrade from 6.x)

2008-03-22 Thread Kris Kennaway

Dmitry RCL Rekman wrote:

Hi,

On Sat, Mar 22, 2008 at 3:52 PM, Kris Kennaway [EMAIL PROTECTED] wrote:


RCL wrote:

Hi,

I'm having the same troubles as Leslie Jensen when compiling KDE (or
anything that uses uic, e.g. amarok):
compile process stucks with the following message:

Mutex unlock failure: Operation not permitted



Well, it actually did not rebuild the KDE  friends (because of
aforementioned problem with unlocking the mutex), so I had to interrupt
that, leaving some ports alone. I admit that is a deviation from upgrade
procedure, but it is not perhaps the reason of mutex problem, because it
appeared while rebuilding the ports for the first time.


There is no reference in your log file to Mutex unlock failure.

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


Re: ifconfig gif0 and rc.conf [was: Re: IP packet with options]

2008-03-22 Thread Bruce Cran

Malcolm Clarke wrote:

We are trying to configure an IPv6 tunnel for IPSec, ie IPv6 in IPv6.

The command line would be

ifconfig gif0 inet6 tunnel src-addr dst_addr (IPv6 addresses)

There appears to be no equivalent line for rc.conf.

Regards

Malcolm


To configure an if_gif interface for IPv6 use:

ipv6_ifconfig_gif0=src-addr dst_addr

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


Re: samba

2008-03-22 Thread Julius Huang

Hi,


On Mar 22, 2008, at 02:02 , MD Keith wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Greetings, I have a FreeBSD box i set up long ago as a file server

has worked great till I had to get a better laptop with gfx card to  
keep

up with my SecondLife Addiction.  and now can't get the installed
Vista Os to connect to it.



Try change LmCompatibilityLevel to '0' or '1' on Vista using regedt32.

It is under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa.

Works for me.

J.


Help would be appreciated,

running 5.4-RELEASE FreeBSD 5.4-RELEASE #0 on the box

Thanks in advance,
 Wolf


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: http://firegpg.tuxfamily.org

iD8DBQFH4/grLYy55nbmwbwRAo4gAJ90NYqAIE9Mgxevh9SIlLdFv93BzACeOGQt
crK8s0gUSNtkI4w6Tbv4dGk=
=0BQG
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]


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


Re: Anyone have Comcast for an ISP?

2008-03-22 Thread alex

Does anyone on here have comcast for an ISP? I use them and today I was
messing around on a machine I use for FTP service over my LAN (Not
accessible from the net so I'm not worried about using it for back ups)
and anyway, I wanted to set up one of my comcast accounts on it so I
could do as I've done for years, and use SSH to log into that machine
and use fetchmail to grab my email off comcast, and then use Mutt to
check it since I really like Mutt.

Well, I got sendmail up ad tested that it was working and it was working
fine. After that I tried sending a test email with Mutt.

For some reason ti failed even though it was the backed up copy of my
Muttrc that I used to use on EVERY machine I used mutt on. I always
backed it up because I had it looking really nice with colors and also
my email address was in there and I built in a mini addy book for my
friends and mailing lists I'm on so I didn't have to worry about an
address book being deleted by accident.

Well, it failed horribly. I can't send an email because it's blocked,
and also, using fetchmail isn't exactly working either and I can't stand
how getmailrc works

So does anyone here use Comcast and Mutt for an email client that could
maybe reply and let me know how they do it? Id' like to use Mutt and
also I do like how simple fetchmail is to use, so fi you use these and
have Comcast for internet please reply with how you did it. I'm googling
right now but everything I find isn't exactly helpful, so if anyone here
uses Mutt and has Comcast please let me know how you did it.




What you have available in the e-mail realm when you are
on the Comcast network:

For e-mail CLIENTS you may retrieve mail via the standard
IMAP or POP3 ports from a remote non-comcast mailserver.

For e-mail CLIENTS you may send mail through a remote
non-comcast mailserver using the submission port 587 and
authenticated SMTP.

For e-mail SERVERS you can use fetchmail to pretend the
server is a mail client, then redistribute the mail
internally.  However you cannot use sendmail to send
out outgoing mail to port 25 on remote mailservers - unless
it's to the comcast mailserver.

  Comcast's residential
TOS prohibits servers and they enforce this by blocking incoming
traffic going to SMTP, IMAP and POP3 ports.



I'd like to call BS here.  My mail server runs on a Comcast connection.
I send all my out going mail through them, but incoming mail works
without issue.  My employer does pay for my Internet connection, so it
might be on some exception list for business service.  But, it
definitely works.


It's very much a location-by-location, and sometimes even a 
connection-by-connection kind of thing. I'm in Northern Virginia (DC 
area), and I've been running a mail server on my Comcast connection for 
over a year. I found that a lot of providers like Yahoo, AOL, etc. 
refused to take mail I sent directly out (though Gmail was awesome, 
shocker, huh?), so I use DynDNS to send outbound mail. For a few months 
starting last November or so, they blocked all mail -- said there'd 
been some sort of spike in traffic on my connection that they refused 
to give me details about, and felt I was infected with something 
(nevermind that it was a fully patched OpenBSD server running the mail) 
-- and I had to switch to port 587 for a while. With no notice at all, 
though, port 25 re-opened at some point later, so I think it was some 
sort of dynamic block that had an auto-timeout.


In any case, you definitely can run mail on Comcast...just not 
legitimately per their TOS, so you're kind of at the mercy of the local 
techs.


Alex Kirk

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


PS/2 mice suddenly stopped working

2008-03-22 Thread Greg Mars
I just turned on today and my ps/2 mouse (actually SB with a ps/2 adapter)
was not working.
Tried reconfiguring in sysinstall to no avail.
Tried another pure ps/2 mouse and it didn't work either.
Took off the usb-ps/2 adapter off the original mouse, plugged it in a usb
port, and now it works.

Everything used to work just the day before.
I guess it's possible something could be wrong with the  port
(which would be sad since the motherboard is probably 2-3 weeks old)

Does anyone have any ideas on how to test this?
I don't have another OS on this box and installing one won't be easy.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mutex unlock failure when compiling KDE (upgrade from 6.x)

2008-03-22 Thread Dmitry RCL Rekman
Hi,

On Sat, Mar 22, 2008 at 5:47 PM, Kris Kennaway [EMAIL PROTECTED] wrote:

 Dmitry RCL Rekman wrote:
  Hi,
 
  On Sat, Mar 22, 2008 at 3:52 PM, Kris Kennaway [EMAIL PROTECTED] wrote:
 
  RCL wrote:
  Hi,
 
  I'm having the same troubles as Leslie Jensen when compiling KDE (or
  anything that uses uic, e.g. amarok):
  compile process stucks with the following message:
 
  Mutex unlock failure: Operation not permitted

  Well, it actually did not rebuild the KDE  friends (because of
  aforementioned problem with unlocking the mutex), so I had to interrupt
  that, leaving some ports alone. I admit that is a deviation from upgrade
  procedure, but it is not perhaps the reason of mutex problem, because it
  appeared while rebuilding the ports for the first time.

 There is no reference in your log file to Mutex unlock failure.


It does not appear when building Qt, but when building e.g. kdebase3 (when
uic is used).

Actually, the problem was tracked down to be inside uic. When built on my
(and Leslie's) 7.0 upgraded from 6.x system, uic does not link to
libthr.so, while in a newly-installed 7.0 it does.

So one of people here (Mel) asked to provide the actual commandline used to
link uic (see this for reference:
 http://docs.freebsd.org/cgi/mid.cgi?200803161912.18248.fbsd.questions ),
which is what I did.

Log of the actual mutex unlock failure error was already posted in this
list, it's here: http://docs.freebsd.org/cgi/mid.cgi?47D8DBC0.3010106




 Kris



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


Re: Mutex unlock failure when compiling KDE (upgrade from 6.x)

2008-03-22 Thread Kris Kennaway

Dmitry RCL Rekman wrote:

Hi,

On Sat, Mar 22, 2008 at 5:47 PM, Kris Kennaway [EMAIL PROTECTED] wrote:


Dmitry RCL Rekman wrote:

Hi,

On Sat, Mar 22, 2008 at 3:52 PM, Kris Kennaway [EMAIL PROTECTED] wrote:


RCL wrote:

Hi,

I'm having the same troubles as Leslie Jensen when compiling KDE (or
anything that uses uic, e.g. amarok):
compile process stucks with the following message:

Mutex unlock failure: Operation not permitted

Well, it actually did not rebuild the KDE  friends (because of
aforementioned problem with unlocking the mutex), so I had to interrupt
that, leaving some ports alone. I admit that is a deviation from upgrade
procedure, but it is not perhaps the reason of mutex problem, because it
appeared while rebuilding the ports for the first time.

There is no reference in your log file to Mutex unlock failure.



It does not appear when building Qt, but when building e.g. kdebase3 (when
uic is used).

Actually, the problem was tracked down to be inside uic. When built on my
(and Leslie's) 7.0 upgraded from 6.x system, uic does not link to
libthr.so, while in a newly-installed 7.0 it does.


It should not be linking (directly) to libthr at all, it should be 
linking to libpthread (which is a symlink to it).



So one of people here (Mel) asked to provide the actual commandline used to
link uic (see this for reference:
 http://docs.freebsd.org/cgi/mid.cgi?200803161912.18248.fbsd.questions ),
which is what I did.


It links to libqt-mt and presumably gets its thread library from there, 
so the question extends there.



Log of the actual mutex unlock failure error was already posted in this
list, it's here: http://docs.freebsd.org/cgi/mid.cgi?47D8DBC0.3010106


OK, I suppose I was confused because you posted this under a new subject 
instead of as a followup to the earlier messages, so context was lost 
from your mails.


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


Re: ifconfig gif0 and rc.conf [was: Re: IP packet with options]

2008-03-22 Thread Malcolm Clarke

Dear Bruce

Thank you for a prompt response.

The command you give will set the two ends of the GIF connection and we 
are using it, but it is not the command that sets the physical ends of 
the tunnel.


We would expect something of the form

gifconfig_gif0=fec0::1 fec0::2

but there appears to be no ipv6 form

Regards

Malcolm


Bruce Cran wrote:


Malcolm Clarke wrote:


We are trying to configure an IPv6 tunnel for IPSec, ie IPv6 in IPv6.

The command line would be

ifconfig gif0 inet6 tunnel src-addr dst_addr (IPv6 addresses)

There appears to be no equivalent line for rc.conf.

Regards

Malcolm



To configure an if_gif interface for IPv6 use:

ipv6_ifconfig_gif0=src-addr dst_addr

--
Bruce



--
---
Dr Malcolm Clarke
Senior Lecturer in Data Communication Systems and Telemedicine
Department of Information Systems and Computing
Brunel University
Uxbridge
Middlesex
UB8 3PH
UK

Tel: +44 1895 265053
Fax: +44 1895 251686
http://www.brunel.ac.uk/about/acad/siscm/research/themes/is/groups/bright/people



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


Re: Mutex unlock failure when compiling KDE (upgrade from 6.x)

2008-03-22 Thread Dmitry RCL Rekman
Hi,

On Sat, Mar 22, 2008 at 6:14 PM, Kris Kennaway [EMAIL PROTECTED] wrote:

  Actually, the problem was tracked down to be inside uic. When built on
 my
  (and Leslie's) 7.0 upgraded from 6.x system, uic does not link to
  libthr.so, while in a newly-installed 7.0 it does.

 It should not be linking (directly) to libthr at all, it should be
 linking to libpthread (which is a symlink to it).


Yes, it does link to -lpthread, but ldd tells different things on newly
installed 7.0 and 7.0 upgraded from 6.2... I don't know if it's the reason,
that was Mel's guess (
http://docs.freebsd.org/cgi/mid.cgi?200803141208.57610.fbsd.questions ).



  So one of people here (Mel) asked to provide the actual commandline used
 to
  link uic (see this for reference:
   http://docs.freebsd.org/cgi/mid.cgi?200803161912.18248.fbsd.questions),
  which is what I did.

 It links to libqt-mt and presumably gets its thread library from there,
 so the question extends there.


Well, the commandline used to build libqt-mt is included in the log and it
also links to -pthread...



  Log of the actual mutex unlock failure error was already posted in
 this
  list, it's here: http://docs.freebsd.org/cgi/mid.cgi?47D8DBC0.3010106

 OK, I suppose I was confused because you posted this under a new subject
 instead of as a followup to the earlier messages, so context was lost
 from your mails.


Ok, my fault - should have taken the same subject :-)

If you are willing to further investigate the issue, I can provide more
details about my system or even give you the shell access.



 Kris



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


Re: samba

2008-03-22 Thread Gerard
On Sun, 23 Mar 2008 00:52:22 +0800
Julius Huang [EMAIL PROTECTED] wrote:

 On Mar 22, 2008, at 02:02 , MD Keith wrote:

  Greetings, I have a FreeBSD box i set up long ago as a file server
 
  has worked great till I had to get a better laptop with gfx card
  to keep up with my SecondLife Addiction.  and now can't get the installed
  Vista Os to connect to it.

 Try change LmCompatibilityLevel to '0' or '1' on Vista using regedt32.
 
 It is under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa.
 
 Works for me.

Check out this URL for further information:

http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/regentry/76052.mspx?mfr=true


-- 
Gerard
[EMAIL PROTECTED]

Croll's Query:  If tin whistles are made of tin, what are foghorns made of?


signature.asc
Description: PGP signature


Re: Mutex unlock failure when compiling KDE (upgrade from 6.x)

2008-03-22 Thread Kris Kennaway

Dmitry RCL Rekman wrote:

Hi,

On Sat, Mar 22, 2008 at 6:14 PM, Kris Kennaway [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


  Actually, the problem was tracked down to be inside uic. When
built on my
  (and Leslie's) 7.0 upgraded from 6.x system, uic does not link to
  libthr.so, while in a newly-installed 7.0 it does.

It should not be linking (directly) to libthr at all, it should be
linking to libpthread (which is a symlink to it).


Yes, it does link to -lpthread, but ldd tells different things on newly 
installed 7.0 and 7.0 upgraded from 6.2... I don't know if it's the 
reason, that was Mel's guess ( 
http://docs.freebsd.org/cgi/mid.cgi?200803141208.57610.fbsd.questions ).
 



  So one of people here (Mel) asked to provide the actual
commandline used to
  link uic (see this for reference:
 
 http://docs.freebsd.org/cgi/mid.cgi?200803161912.18248.fbsd.questions
),
  which is what I did.

It links to libqt-mt and presumably gets its thread library from there,
so the question extends there.


Well, the commandline used to build libqt-mt is included in the log and 
it also links to -pthread...


Yes, also uic (correctly) links directly to -pthread (I missed this on 
first read).  The only way I can see this failing is if your /lib is not 
correctly populated.  What is the output of


ls -l /lib/libthr* /usr/lib/libpthr*

Kris


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


Re: Mutex unlock failure when compiling KDE (upgrade from 6.x)

2008-03-22 Thread Dmitry RCL Rekman
Hi,

On Sat, Mar 22, 2008 at 6:40 PM, Kris Kennaway [EMAIL PROTECTED] wrote:

  Well, the commandline used to build libqt-mt is included in the log and
  it also links to -pthread...

 Yes, also uic (correctly) links directly to -pthread (I missed this on
 first read).  The only way I can see this failing is if your /lib is not
 correctly populated.  What is the output of

 ls -l /lib/libthr* /usr/lib/libpthr*


# ls -l /lib/libthr* /usr/lib/libpthr*
-r--r--r--  1 root  wheel  66928 Feb 29 12:20 /lib/libthr.so.3
lrwxr-xr-x  1 root  wheel  8 Feb 29 12:21 /usr/lib/libpthread.a -
libthr.a
lrwxr-xr-x  1 root  wheel 10 Feb 29 12:21 /usr/lib/libpthread_p.a -
libthr_p.a



 Kris



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


cvsup will not speak to me :Connection refused

2008-03-22 Thread Jim Pazarena

I have a bank of 8 servers, all which do cvsup regularly for ports.

I am recently going thru an upgrade to FreeBSD 7.0, and in a cvsup
with server #5, I get :Connection refused

I cannot figure out why this machine would be refused, when the other
4 upgrades to 7.0 work as expected. I use the same routine to do all my 
cvsuping.

I thought perhaps the IP # of this machine has been blackballed, so I changed
it, and I still get refused.

I run:  cvsup -g -L2 ports-supfile

  I use  cvsup17.us.FreebBSD.org (altho I have tried many incantations cvsup1, 
2, etc).

I receive every time:
Cannot connect to cvsup17.us.FreeSD.org: Connection refused

I would appreciate anyone's suggestion on what to try.
signed: perplexed.

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


Fatal Trap 19 on initial install

2008-03-22 Thread Frank Solensky
I'm attempting to add FreeBSD 7.0 onto a free disk partition on my Sony
Vaio (VGN-FZ340E; Intel Core 2 Duo processor; 3 GB memory) and am
running into a Fatal Trap 19 while running the installation disks.
Here's the last screenful of messages:

  NMI ISA b0, EISA FF
  RAM parity error, likely hardware failure

  fatal trap 19: non-maskable interrupt trap while in kernel mode
  instruction pointer = 0xNMI ISA b0, EISA ff
  RAM parity error, likely hardware failure

  fatal trap 19: non-maskable interrupt trap while in kernel mode
  instruction pointer = 0x8:0x802da7cf
  stack pointer   = 0x10:0x80a738f0
  frame pointer   = 0x10:0
  code segment= base 0x0, limit 0xf, type 0x1b
  = DPL 0, pres 1, def32 0, gran 1
  processor eflags= interrupt enabled, IOPL = 0
  current process = 0 (swapper)
  trap number = 19
  panic: non-maskable interrupt trap
  cpuid = 0
  uptime = 1s

The above is from the attempt with 7.0 amd64; I've been stopped with
similar errors on disks with 7.0 amd64 bootonly, 7.0 i386, 6.3 amd64 and
6.1 amd64.  I believe the RAM parity error is a red herring: I haven't
had any problems running Linux or Vista on this machine and running
Memtest86+ overnight didn't turn up any problems.

http://updraft3.jp.freebsd.org/cgi/query-pr.cgi?pr=i386/107564 appears
to be similar but unresolved.

Trying with ACPI disabled stops at:
  md0: Preloaded image /boot/mfsroot 4194304 bytes at 0x80bc6c08
  Trying to mount root from ufs:/dev/md0

Any suggestions?  Thanks in advance..


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


Re: Mutex unlock failure when compiling KDE (upgrade from 6.x)

2008-03-22 Thread Kris Kennaway

Dmitry RCL Rekman wrote:

Hi,

On Sat, Mar 22, 2008 at 6:40 PM, Kris Kennaway [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


  Well, the commandline used to build libqt-mt is included in the
log and
  it also links to -pthread...

Yes, also uic (correctly) links directly to -pthread (I missed this on
first read).  The only way I can see this failing is if your /lib is not
correctly populated.  What is the output of

ls -l /lib/libthr* /usr/lib/libpthr*


# ls -l /lib/libthr* /usr/lib/libpthr*
-r--r--r--  1 root  wheel  66928 Feb 29 12:20 /lib/libthr.so.3
lrwxr-xr-x  1 root  wheel  8 Feb 29 12:21 /usr/lib/libpthread.a - 
libthr.a
lrwxr-xr-x  1 root  wheel 10 Feb 29 12:21 /usr/lib/libpthread_p.a - 
libthr_p.a


Yep, your world is broken, you are missing a /usr/lib/libpthread.so symlink.

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


Re: Fatal Trap 19 on initial install

2008-03-22 Thread Kris Kennaway

Frank Solensky wrote:

I'm attempting to add FreeBSD 7.0 onto a free disk partition on my Sony
Vaio (VGN-FZ340E; Intel Core 2 Duo processor; 3 GB memory) and am
running into a Fatal Trap 19 while running the installation disks.
Here's the last screenful of messages:

  NMI ISA b0, EISA FF
  RAM parity error, likely hardware failure

  fatal trap 19: non-maskable interrupt trap while in kernel mode
  instruction pointer = 0xNMI ISA b0, EISA ff
  RAM parity error, likely hardware failure

  fatal trap 19: non-maskable interrupt trap while in kernel mode
  instruction pointer = 0x8:0x802da7cf
  stack pointer   = 0x10:0x80a738f0
  frame pointer   = 0x10:0
  code segment= base 0x0, limit 0xf, type 0x1b
  = DPL 0, pres 1, def32 0, gran 1
  processor eflags= interrupt enabled, IOPL = 0
  current process = 0 (swapper)
  trap number = 19
  panic: non-maskable interrupt trap
  cpuid = 0
  uptime = 1s

The above is from the attempt with 7.0 amd64; I've been stopped with
similar errors on disks with 7.0 amd64 bootonly, 7.0 i386, 6.3 amd64 and
6.1 amd64.  I believe the RAM parity error is a red herring: I haven't
had any problems running Linux or Vista on this machine and running
Memtest86+ overnight didn't turn up any problems.

http://updraft3.jp.freebsd.org/cgi/query-pr.cgi?pr=i386/107564 appears
to be similar but unresolved.

Trying with ACPI disabled stops at:
  md0: Preloaded image /boot/mfsroot 4194304 bytes at 0x80bc6c08
  Trying to mount root from ufs:/dev/md0

Any suggestions?  Thanks in advance..


The other OSes may be recovering (with performance penalty) from your 
RAM errors due to additional code not present in FreeBSD.  In my 
experience this error is not a red herring, it indicates a real problem 
with your memory.


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


Re: Mutex unlock failure when compiling KDE (upgrade from 6.x)

2008-03-22 Thread Dmitry RCL Rekman
Hi,

On Sat, Mar 22, 2008 at 6:57 PM, Kris Kennaway [EMAIL PROTECTED] wrote:

 Dmitry RCL Rekman wrote:
  Hi,
 
  On Sat, Mar 22, 2008 at 6:40 PM, Kris Kennaway [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
Well, the commandline used to build libqt-mt is included in the
  log and
it also links to -pthread...
 
  Yes, also uic (correctly) links directly to -pthread (I missed this
 on
  first read).  The only way I can see this failing is if your /lib is
 not
  correctly populated.  What is the output of
 
  ls -l /lib/libthr* /usr/lib/libpthr*
 
 
  # ls -l /lib/libthr* /usr/lib/libpthr*
  -r--r--r--  1 root  wheel  66928 Feb 29 12:20 /lib/libthr.so.3
  lrwxr-xr-x  1 root  wheel  8 Feb 29 12:21 /usr/lib/libpthread.a -
  libthr.a
  lrwxr-xr-x  1 root  wheel 10 Feb 29 12:21 /usr/lib/libpthread_p.a -
  libthr_p.a

 Yep, your world is broken, you are missing a /usr/lib/libpthread.so
 symlink.


Ok, I created a symlink /usr/lib/libpthread.so - /usr/lib/libthr.so and am
trying to build kdebase3 again. Will inform shortly :-)



 Kris


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


Re: Mutex unlock failure when compiling KDE (upgrade from 6.x)

2008-03-22 Thread Kris Kennaway

Dmitry RCL Rekman wrote:

Hi,

On Sat, Mar 22, 2008 at 6:57 PM, Kris Kennaway [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Dmitry RCL Rekman wrote:
  Hi,
 
  On Sat, Mar 22, 2008 at 6:40 PM, Kris Kennaway [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 
Well, the commandline used to build libqt-mt is included
in the
  log and
it also links to -pthread...
 
  Yes, also uic (correctly) links directly to -pthread (I
missed this on
  first read).  The only way I can see this failing is if your
/lib is not
  correctly populated.  What is the output of
 
  ls -l /lib/libthr* /usr/lib/libpthr*
 
 
  # ls -l /lib/libthr* /usr/lib/libpthr*
  -r--r--r--  1 root  wheel  66928 Feb 29 12:20 /lib/libthr.so.3
  lrwxr-xr-x  1 root  wheel  8 Feb 29 12:21
/usr/lib/libpthread.a -
  libthr.a
  lrwxr-xr-x  1 root  wheel 10 Feb 29 12:21
/usr/lib/libpthread_p.a -
  libthr_p.a

Yep, your world is broken, you are missing a /usr/lib/libpthread.so
symlink.


Ok, I created a symlink /usr/lib/libpthread.so - /usr/lib/libthr.so and 
am trying to build kdebase3 again. Will inform shortly :-)


Well you'll likely have to rebuild other things first to recover from 
the damage compiled into an unknown subset of your existing ports. 
Repeating portupgrade -fa might be the best option.


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


Re: PS/2 mice suddenly stopped working

2008-03-22 Thread Derek Ragona

At 12:02 PM 3/22/2008, Greg Mars wrote:

I just turned on today and my ps/2 mouse (actually SB with a ps/2 adapter)
was not working.
Tried reconfiguring in sysinstall to no avail.
Tried another pure ps/2 mouse and it didn't work either.
Took off the usb-ps/2 adapter off the original mouse, plugged it in a usb
port, and now it works.

Everything used to work just the day before.
I guess it's possible something could be wrong with the  port
(which would be sad since the motherboard is probably 2-3 weeks old)

Does anyone have any ideas on how to test this?
I don't have another OS on this box and installing one won't be easy.


I would try a new ps/2 mouse, after inspecting the pins to be sure there 
are no bent ones.  And I would completely power the system off, and pull 
the power cord for a minute too.  This will allow any stuck components to 
hopefully reset.


I occasionally get my mouse frozen through disconnection, mostly from the 
help of a cat.  Usually it comes right back with a complete power cycle.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: instalation problem - unable to find device node

2008-03-22 Thread Lowell Gilbert
javo [EMAIL PROTECTED] writes:

 I'm newbie to FreeBSD, I tried to install it month ago and everything was
 OK, freeBSD was the only system running,

 later, I've installed windows and gentoo, and I've left space for FreBSD,
 now during the instalation I got this error after configuring my disk
 partitions,

 unable to find device node for /dev/x in /dev! and instalation won't
 continue

Is that literally what it says?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PS/2 mice suddenly stopped working

2008-03-22 Thread Dmitry RCL Rekman
Hi,

On Sat, Mar 22, 2008 at 6:02 PM, Greg Mars [EMAIL PROTECTED] wrote:

 I just turned on today and my ps/2 mouse (actually SB with a ps/2 adapter)
 was not working.
 Tried reconfiguring in sysinstall to no avail.
 Tried another pure ps/2 mouse and it didn't work either.
 Took off the usb-ps/2 adapter off the original mouse, plugged it in a usb
 port, and now it works.

 Everything used to work just the day before.
 I guess it's possible something could be wrong with the  port
 (which would be sad since the motherboard is probably 2-3 weeks old)

 Does anyone have any ideas on how to test this?
 I don't have another OS on this box and installing one won't be easy.


I used to have similar problem once - PS/2 (real PS/2, not one with an USB
adapter) mouse got stuck every time it was left inactive for more than 5
minutes or so. I sort of cured it by restarting moused every 5 minutes
with a cron job - so next time you may also try restarting moused before
unplugging the mouse.

By no means it is meant to be correct solution, I am just suggesting you to
check whether the problem is caused by software or hardware.

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


Re: ports / easiest way to install older version when new is marked as ignored?

2008-03-22 Thread Lowell Gilbert
Zbigniew Szalbot [EMAIL PROTECTED] writes:

 The subject says it all - I have a port which is marked as ignored and
 I am wondering how I can proceed with installing an older version of
 it?

There is portdowngrade, but usually it is appropriate to consider
*why* the port is marked IGNORE.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: instalation problem - unable to find device node

2008-03-22 Thread javo
of course, I have writen it down and mailed to the conference :)

2008/3/22, Lowell Gilbert [EMAIL PROTECTED]:

 javo [EMAIL PROTECTED] writes:

  I'm newbie to FreeBSD, I tried to install it month ago and everything
 was
  OK, freeBSD was the only system running,
 
  later, I've installed windows and gentoo, and I've left space for
 FreBSD,
  now during the instalation I got this error after configuring my disk
  partitions,
 
  unable to find device node for /dev/x in /dev! and instalation won't
  continue


 Is that literally what it says?

___
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 uninstall a flash port.

2008-03-22 Thread Al Plant

Eduardo Cerejo wrote:
I installed the Linux flash9 port on a new 7.0 box to work with 
SeaMonkey and it dies when it reaches flash using sites.


How can I de-install this port with out causing problems to other programs?

I cant find it in the  handbook how to's.   Im I missing something?

Thanks...



by the way you can use linux-flash7 instead and if you are using the native 
FreeBSD firefox and not linux-firefox you have to install and use 
nspluginwrapper or else it will not work, your second alternative is gnash 
which works natively with firefox.  To use nspluginwrapper you would have to 
run this after the install.
nspluginwrapper -i /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
remember for the linux plugins to embed on the native firefox they need some 
kind of wrapper.  Flashplugin9 will not work with native firefox or 
linux-firefox and I think it's because the linux emulator uses an old version 
of linux so we have to wait until it changes to a more current version.

  

Aloha Eduardo,

If I am running linux-seamonkey  port is the concept the same to get it 
to work? Which wrapper?


FYI: I have followed the list questions on this issue. So I tried first 
to use flashplugin7 and some websites want 9 or they wont work. The 
sites say you have to use 9.



Thanks for the help.



~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
 + http://hawaiidakine.com + http://freebsdinfo.org + 
 + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +

  email: [EMAIL PROTECTED] 
All that's really worth doing is what we do for others.- Lewis Carrol


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


Re: Fatal Trap 19 on initial install

2008-03-22 Thread Frank Solensky
On Sat, 2008-03-22 at 19:08 +0100, Kris Kennaway wrote:
 Frank Solensky wrote:
  ..  I believe the RAM parity error is a red herring: I haven't
  had any problems running Linux or Vista on this machine and running
  Memtest86+ overnight didn't turn up any problems.
  
  http://updraft3.jp.freebsd.org/cgi/query-pr.cgi?pr=i386/107564 appears
  to be similar but unresolved.
  ...
  Any suggestions?  Thanks in advance..
 
 The other OSes may be recovering (with performance penalty) from your 
 RAM errors due to additional code not present in FreeBSD.  In my 
 experience this error is not a red herring, it indicates a real problem 
 with your memory.

What form of memory testing does the install process use?  Or is there
some way to get more specific info about where the failure is occuring?
It'll be easier for me to work with the manufacturer if I can give them
more info about the failure.


___
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 uninstall a flash port.

2008-03-22 Thread Chris Whitehouse

Al Plant wrote:

Eduardo Cerejo wrote:
I installed the Linux flash9 port on a new 7.0 box to work with 
SeaMonkey and it dies when it reaches flash using sites.


How can I de-install this port with out causing problems to other 
programs?


I cant find it in the  handbook how to's.   Im I missing something?

Thanks...



by the way you can use linux-flash7 instead and if you are using the 
native FreeBSD firefox and not linux-firefox you have to install and 
use nspluginwrapper or else it will not work, your second alternative 
is gnash which works natively with firefox.  To use nspluginwrapper 
you would have to run this after the install.
nspluginwrapper -i 
/usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
remember for the linux plugins to embed on the native firefox they 
need some kind of wrapper.  Flashplugin9 will not work with native 
firefox or linux-firefox and I think it's because the linux emulator 
uses an old version of linux so we have to wait until it changes to a 
more current version.




Sorry not a response to the OP but hopefully useful correction:

%uname -sr
FreeBSD 7.0-STABLE
%pkg_info -Ix firefox
firefox-2.0.0.12_1,1 Web browser based on the browser portion of Mozilla
%pkg_info -Ix plugin
linux-flashplugin-9.0r115 Adobe Flash Player NPAPI Plugin
nspluginwrapper-0.9.91.5 A compatibility plugin for Netscape 4 (NPAPI) 
plugins

...

I don't actually see a lot of flash as I have flashblock installed but I 
can't recall having probs when I have chosen to view it, except it still 
doesn't work with youtube. I've just installed wine and win32 
firefox+flashplugin for youtube and bbc iplayer and that works fine.


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


Re: Mutex unlock failure when compiling KDE (upgrade from 6.x)

2008-03-22 Thread Dmitry RCL Rekman
Hi,

On Sat, Mar 22, 2008 at 7:19 PM, Kris Kennaway [EMAIL PROTECTED] wrote:

 Dmitry RCL Rekman wrote:
  Hi,
 
  On Sat, Mar 22, 2008 at 6:57 PM, Kris Kennaway [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
  Dmitry RCL Rekman wrote:
Hi,
   
On Sat, Mar 22, 2008 at 6:40 PM, Kris Kennaway [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
   
  Well, the commandline used to build libqt-mt is included
  in the
log and
  it also links to -pthread...
   
Yes, also uic (correctly) links directly to -pthread (I
  missed this on
first read).  The only way I can see this failing is if your
  /lib is not
correctly populated.  What is the output of
   
ls -l /lib/libthr* /usr/lib/libpthr*
   
   
# ls -l /lib/libthr* /usr/lib/libpthr*
-r--r--r--  1 root  wheel  66928 Feb 29 12:20 /lib/libthr.so.3
lrwxr-xr-x  1 root  wheel  8 Feb 29 12:21
  /usr/lib/libpthread.a -
libthr.a
lrwxr-xr-x  1 root  wheel 10 Feb 29 12:21
  /usr/lib/libpthread_p.a -
libthr_p.a
 
  Yep, your world is broken, you are missing a /usr/lib/libpthread.so
  symlink.
 
 
  Ok, I created a symlink /usr/lib/libpthread.so - /usr/lib/libthr.so and
  am trying to build kdebase3 again. Will inform shortly :-)

 Well you'll likely have to rebuild other things first to recover from
 the damage compiled into an unknown subset of your existing ports.
 Repeating portupgrade -fa might be the best option.


Ok, after creating that symlink kdebase3 has been successfully built.
However, I'm starting portupgrade -fa according to your advice.

Thank you very much for resolving the problem! I think that freebsd-update
script and/or the appropriate guide should be updated so those symlinks are
created automatically.



 Kris



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


I'd like some help

2008-03-22 Thread Matthew Woodson
I've been learning about a bunch of the BSD OSes, and i want to try Free BSD, 
but i can't figure out how to download it and the instructions don't make 
sense. I am running Windows XP OS- can you tell me how to download Free BSD 
with it?
   

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


Re: I'd like some help

2008-03-22 Thread Peter Schuller
 I've been learning about a bunch of the BSD OSes, and i want to try Free
 BSD, but i can't figure out how to download it and the instructions don't
 make sense. I am running Windows XP OS- can you tell me how to download
 Free BSD with it?

The easiest method is probably to download CD-ROM images as per instructions 
at:

   http://www.freebsd.org/where.html

More specifically for amd64 (if you have one of the newer 64 bit computers) 
you have:

   ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/7.0/

Or for i386 (older 32 bit):

   ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.0/

DIsc 1 
(ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/7.0/7.0-RELEASE-amd64-disc1.iso
 
and 
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.0/7.0-RELEASE-i386-disc1.iso
 
respectively) are enough to install the operating system directly from CD.

For actually burning the images onto a physical CD, you would have to use 
whichever CD burning software you have in Windows XP.

Make sure you consult the FreeBSD handbook in relation to installation and 
aftewards:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

I don't know if this made any more sense than what you have already read. If 
things are unclear, please clarify what part you are having trouble will!

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org



signature.asc
Description: This is a digitally signed message part.


Re: I'd like some help

2008-03-22 Thread Da Rock

On Sat, 2008-03-22 at 14:58 -0700, Matthew Woodson wrote:
 I've been learning about a bunch of the BSD OSes, and i want to try Free BSD, 
 but i can't figure out how to download it and the instructions don't make 
 sense. I am running Windows XP OS- can you tell me how to download Free BSD 
 with it?

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

Go to the download section of the site and download the iso files. Once
you have those, double click on them and burn them to disk.

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


Re: I'd like some help

2008-03-22 Thread Tore Lund
Matthew Woodson wrote:
 I've been learning about a bunch of the BSD OSes, and i want to try 
 Free BSD, but i can't figure out how to download it and the
 instructions don't make sense. I am running Windows XP OS- can you
 tell me how to download Free BSD with it?

First of all: please break your lines so that they are roughly 72 chars
long.  Thank you.

At what point are you stuck?  A few words about that might help.

I believe most of us install the system straight over the Net - simply
because this is the easiest way.  If you want to try it, you can
download the bootonly.iso quickly, since it is very small:

ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/7.0/7.0-RELEASE-i386-bootonly.iso

Burn this to a CD, and boot from it.  Make sure you understand the
implications of giving FreeBSD a partition of its own before you even
start.  Don't hesitate to get back here many times for more questions if
you feel the need.
-- 
Tore


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


Re: Fatal Trap 19 on initial install

2008-03-22 Thread Kris Kennaway

Frank Solensky wrote:

On Sat, 2008-03-22 at 19:08 +0100, Kris Kennaway wrote:

Frank Solensky wrote:

..  I believe the RAM parity error is a red herring: I haven't
had any problems running Linux or Vista on this machine and running
Memtest86+ overnight didn't turn up any problems.

http://updraft3.jp.freebsd.org/cgi/query-pr.cgi?pr=i386/107564 appears
to be similar but unresolved.
...
Any suggestions?  Thanks in advance..
The other OSes may be recovering (with performance penalty) from your 
RAM errors due to additional code not present in FreeBSD.  In my 
experience this error is not a red herring, it indicates a real problem 
with your memory.


What form of memory testing does the install process use?  Or is there
some way to get more specific info about where the failure is occuring?
It'll be easier for me to work with the manufacturer if I can give them
more info about the failure.


No testing is done by the OS, these errors are being reported to it by 
the hardware as they occur.  Your BIOS may keep a log of ECC errors it 
detects.


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


Re: List replies

2008-03-22 Thread Tore Lund
Jonathan McKeown wrote:
 [snip]
 As regards copying the original recipients, this list specifically requests 
 it: check the regular posting titled ``how to get best results from 
 freebsd-questions'', particularly para VII.6.

I think you mean para VI.6.  The gist of that paragraph is a wish to
avoid taking a message which is of general interest off the list,
hence the advice to cc the list.  There is no argument there about why
the sender should receive the mail.  Indeed, such a practice is simply
counter-productive to the intention expressed, since copying the sender
increases the likelihood that a message (or even an ensuing discussion)
of general interest is taken off the list.

I request that this misunderstood piece of etiquette is revised.  If
someone has the brains to find this list as well as the brains to use
FreeBSD at all, they also have the brains to come back here to look for
answers.  Copying the sender makes no sense at all, as far as I can see.
Whether or not headers should be modified is a separate matter.
-- 
Tore


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


Re: List replies

2008-03-22 Thread Erik Trulsson
On Sat, Mar 22, 2008 at 11:54:00PM +0100, Tore Lund wrote:
 Jonathan McKeown wrote:
  [snip]
  As regards copying the original recipients, this list specifically requests 
  it: check the regular posting titled ``how to get best results from 
  freebsd-questions'', particularly para VII.6.
 
 I think you mean para VI.6.  The gist of that paragraph is a wish to
 avoid taking a message which is of general interest off the list,
 hence the advice to cc the list.  There is no argument there about why
 the sender should receive the mail.  Indeed, such a practice is simply
 counter-productive to the intention expressed, since copying the sender
 increases the likelihood that a message (or even an ensuing discussion)
 of general interest is taken off the list.
 
 I request that this misunderstood piece of etiquette is revised.  If
 someone has the brains to find this list as well as the brains to use
 FreeBSD at all, they also have the brains to come back here to look for
 answers.

Wrong.  Not everybody who posts here is even aware that it is a mailing
list, much less how to read mails sent to the list.
There are reasons why this list is explicitly and deliberatly set up so you
do not need to be subscribed to post here.

If you want the full story search the archives.  It has after all been
discussed several times over the years - with pretty much the same arguments
being made each time, and the same result in the end: no change in policy.
I do not expect this iteration to be any different.


 Copying the sender makes no sense at all, as far as I can see.
 Whether or not headers should be modified is a separate matter.
 -- 
 Tore
 

-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Gnome and KDE?

2008-03-22 Thread Gary Kline

People,

What's the magic command to ger hald running while I'm running 
KDE?  The audio/multimedia app, Sound-Juicer can't find my 
/dev/cdrom because the hal daemon isn't running.  Exec'ing hald 
by hand didn't work.

Anybody?

gary



-- 
  Gary Kline  [EMAIL PROTECTED]   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]


Re: List replies

2008-03-22 Thread Dmitry RCL Rekman
Hi,


On Sat, Mar 22, 2008 at 11:54 PM, Tore Lund [EMAIL PROTECTED] wrote:


 I request that this misunderstood piece of etiquette is revised.  If
 someone has the brains to find this list as well as the brains to use
 FreeBSD at all, they also have the brains to come back here to look for
 answers.  Copying the sender makes no sense at all, as far as I can see.
 Whether or not headers should be modified is a separate matter.



Sorry for interrupting your discussion.

Just a sidenote:

I actually did the mistake of subscribing to mailing list, because I did not
know that I would be able to post (and receive answers) without being
subscribed. That resulted in a few tens of messages not related to the
subject I posted about on the very first day, including yours one.

If I *had* to go through this in order to get my problem solved, I would
rather use some forum.



 --
Tore


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


Re: List replies

2008-03-22 Thread Robert Huff
Dmitry RCL Rekman writes:

  I actually did the mistake of subscribing to mailing list,
  because I did not know that I would be able to post (and receive
  answers) without being subscribed. That resulted in a few tens of
  messages not related to the subject I posted about on the very
  first day, including yours one.

The downside of being subscribed is one will have to wade
through many topics which are of no interest.
The upside is sometimes seeing useful information on topics
previously unknown.
The third hand is paying it forward - the opportunity to
contribute back to the community.
Your choice.


Robert Huff

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


Re: Gnome and KDE?

2008-03-22 Thread Thiago Rodrigues Santos
Em Saturday 22 March 2008 20:38:41 Gary Kline escreveu:
   People,

   What's the magic command to ger hald running while I'm running
   KDE?  The audio/multimedia app, Sound-Juicer can't find my
   /dev/cdrom because the hal daemon isn't running.  Exec'ing hald
   by hand didn't work.

   Anybody?

   gary

Hi. You should add the following line to your /etc/rc.conf:
hald_enable=YES

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


Re: How to uninstall a flash port.

2008-03-22 Thread Eduardo Cerejo
On Sat, 22 Mar 2008 09:34:21 -1000
Al Plant [EMAIL PROTECTED] wrote:

 Eduardo Cerejo wrote:
  I installed the Linux flash9 port on a new 7.0 box to work with 
  SeaMonkey and it dies when it reaches flash using sites.
 
  How can I de-install this port with out causing problems to other programs?
 
  I cant find it in the  handbook how to's.   Im I missing something?
 
  Thanks...
  
 
  by the way you can use linux-flash7 instead and if you are using the native 
  FreeBSD firefox and not linux-firefox you have to install and use 
  nspluginwrapper or else it will not work, your second alternative is gnash 
  which works natively with firefox.  To use nspluginwrapper you would have 
  to run this after the install.
  nspluginwrapper -i /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
  remember for the linux plugins to embed on the native firefox they need 
  some kind of wrapper.  Flashplugin9 will not work with native firefox or 
  linux-firefox and I think it's because the linux emulator uses an old 
  version of linux so we have to wait until it changes to a more current 
  version.
 

 Aloha Eduardo,
 
 If I am running linux-seamonkey  port is the concept the same to get it 
 to work? Which wrapper?
 
 FYI: I have followed the list questions on this issue. So I tried first 
 to use flashplugin7 and some websites want 9 or they wont work. The 
 sites say you have to use 9.
 
 
 Thanks for the help.
 
  
  
 ~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
   + http://hawaiidakine.com + http://freebsdinfo.org + 
   + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
email: [EMAIL PROTECTED] 
 All that's really worth doing is what we do for others.- Lewis Carrol
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

If you are using the linux-seamonkey then you don't need any wrapper, you only 
need a wrapper if you use any kind of native browser.  Unfortunately version 9 
doesn't work right now.  Personally I prefer to use the native firefox or 
seamonkey and use the wrapper because I can get mplayer to embed in the browser 
when it encouters real audio and video (from realplayer) and audio and video 
from windows media player.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Gnome and KDE?

2008-03-22 Thread Eduardo Cerejo
On Sat, 22 Mar 2008 16:38:41 -0700
Gary Kline [EMAIL PROTECTED] wrote:

 
   People,
 
   What's the magic command to ger hald running while I'm running 
   KDE?  The audio/multimedia app, Sound-Juicer can't find my 
   /dev/cdrom because the hal daemon isn't running.  Exec'ing hald 
   by hand didn't work.
 
   Anybody?
 
   gary

add this to your /etc/rc.conf file and reboot:

# Enables HALd
dbus_enable=YES
polkitd_enable=YES
hald_enable=YES
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do I add search paths to gcc

2008-03-22 Thread Eduardo Cerejo
On Fri, 21 Mar 2008 18:31:54 -0400
Chuck Robey [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 mdh wrote:
  --- Eduardo Cerejo [EMAIL PROTECTED] wrote:
  
  My gcc is only looking in /usr/lib and /usr/include
  for libraries and hearders and I added the paths
  /usr/local/lib/ and /usr/local/include to my .cshrc
  file:
 
  set path = (/sbin /bin /usr/sbin /usr/bin /usr/games
  /usr/local/sbin /usr/local/bin /usr/local/lib
  /usr/local/include $HOME/bin)
  
  PATH in the environment is where your shell searches
  for programs to run from the command line, system(),
  etc.  This allows you to type, say, `sh` instead of
  having to type out `/bin/sh` or risking having
  `/home/somekiddie/sh` run instead when you type it.  
  
  but I still have to use gcc with -I and -L switch
  for a program to compile or else it will fail.  
 
  I'm using tcsh.
  
  There are two ways to set up alternate places to find
  libraries.  The first is ldconfig, and you can see
  ports run this when you install a port containing
  shared libraries for example.  The other is to use the
  LD_LIBRARY_PATH environment variable to set alternate
  paths at run-time.  
  
 
 Well, that might be taken as confusing, even though your info is technically
 quite correct.  Both those methods WILL get those added dirs searched for
 loading the libraries at run time, BUT it will NOT get your compiler to find 
 the
 new paths, when linking the program during the build.  I'm fairly sure that's
 what the person wanted, don't you think so?
 
 Because, if I'm wrong,  you can delete this email right here and now, read no 
 more.
 
 BUT you were quite correct, there are definitely *at least* two methods to set
 up your *compiler* library search paths.  In fact, I think I can show you 3
 methods right now.
 
 First, you can list the full path of the library on the command line, when you
 use your compiler to link your program.
 ]
 Second, you can (as the person suggested himself) you can use the -l/-L 
 options
 to bring in libraries  paths.  The -L should come first, it adds the path, 
 and
 the -l afterwards adds the specific library.
 
 The 3rd method is the use the variables LDFLAGS and LDADD.  These variables 
 are
 NOT 100% reliable to use, although they are fairly reliable on BSD systems.  
 The
  LDFLAGS is where  you put your -LExtraPath and the LDADD is where you stick
 the -lExtraLibrary, like this (from a Makefile example):
 LDFLAGS+=-L/usr/local
 LDFLAGS+=-lgtk
 
 If you are using the BSD make util, the you use += to add to your variables,
 instead of replacing them, in case they had some values in them to begin with.
 Make automatically adds in the obvious spaces, so your definitions don't 
 have
 a train wreck for you.
 
  The 'ldconfig(1)' man page has more info for you.  
  
  Take care, mdh

Here's what the book I'm reading says:

The search paths for header files and libraries can also be controlled through 
environment variables in the shell. These may be set automatically for each 
session using the appropriate login file, such as \u2018.bash_profile\u2019 in 
the case of GNU Bash.

Additional directories can be added to the include path using the environment 
variable C_INCLUDE_PATH (for C header files) or CPLUS_INCLUDE_PATH (for C++ 
header files). For example, the following commands will add 
\u2018/opt/gdbm-1.8.3/include\u2019 to the include path when compiling C 
programs:

$ C_INCLUDE_PATH=/opt/gdbm-1.8.3/include 
$ export C_INCLUDE_PATH

and similarly for C++ programs:

$ CPLUS_INCLUDE_PATH=/opt/gdbm-1.8.3/include 
$ export CPLUS_INCLUDE_PATH

This directory will be searched after any directories specified on the command 
line with the option -I, and before the standard default directories (such as 
\u2018/usr/local/include\u2019 and \u2018/usr/include\u2019). The shell command 
export is needed to make the environment variable available to programs outside 
the shell itself, such as the compiler--it is only needed once for each 
variable in each shell session, and can also be set in the appropriate login 
file.(8)

Similarly, additional directories can be added to the link path using the 
environment variable LIBRARY_PATH. For example, the following commands will add 
\u2018/opt/gdbm-1.8.3/lib\u2019 to the link path:

$ LIBRARY_PATH=/opt/gdbm-1.8.3/lib
$ export LIBRARY_PATH

This directory will be searched after any directories specified on the command 
line with the option -L, and before the standard default directories (such as 
\u2018/usr/local/lib\u2019 and \u2018/usr/lib\u2019).

With the environment variable settings given above the program 
\u2018dbmain.c\u2019 can be compiled without the -I and -L options,

$ gcc -Wall dbmain.c -lgdbm

--x

Now it looks like I can achieve what I want if I use bash, it looks like the 
export variable does the trick by making these paths available to external 
programs like gcc so basically I was trying to achieve this with the csh.

Re: mplayer-problems

2008-03-22 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Sat, 22 Mar 2008 15:06:22 +0100
Niels Kobschaetzki [EMAIL PROTECTED] wrote:
 
 Now the video plays but the output looks scrambled and mplayer tells
 me that my machine is too slow. But even on a P3 1 GHz DVDs should
 run…especially when DivX and co can be decoded w/out any problems.
 Any ideas?

If the DVD output is scrambled you most likely need
multimedia/libdvdcss. However, don't forget that (from ports/LEGAL):

  multimedia/libdvdcss   CSS code may violate the DMCA

The best way to play DVDs in mplayer is to access them through

  mplayer dvdnav://

This way you will have a full control over DVD menus. Lastly, you can
try multimedia/ogle, which is a DVD-only player and probably handles DVD
menus better than mplayer. Ogle also needs libdvdcss.

Best regards.
- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)

iJwEAQEDAAYFAkfltMkACgkQ/MM/0rYIoZg27gQAtFS3aFuFllR5os3elU3KYndw
W0rF0Ulzf146NpvSGZ1WABTBEbuBbrRomQVZ9dXSPd1OWh7x58TP+b0ovPoeLD84
skp9OjGZjKDoTXxrngyPkyyyrdr6jOoAvfa/R4HXftTmjWQbfXOvz9y0KgHtMppa
6VGnCzhhI57u7sUiiJ4=
=/nqM
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: List replies

2008-03-22 Thread Randy Pratt
On Sat, 22 Mar 2008 20:07:57 -0400
Robert Huff [EMAIL PROTECTED] wrote:

 Dmitry RCL Rekman writes:
 
   I actually did the mistake of subscribing to mailing list,
   because I did not know that I would be able to post (and receive
   answers) without being subscribed. That resulted in a few tens of
   messages not related to the subject I posted about on the very
   first day, including yours one.
 
   The downside of being subscribed is one will have to wade
 through many topics which are of no interest.
   The upside is sometimes seeing useful information on topics
 previously unknown.
   The third hand is paying it forward - the opportunity to
 contribute back to the community.
   Your choice.

Of course, there is yet another way.   Read the lists online:

  http://docs.freebsd.org/mail/current/freebsd-questions.html

Message on the list can be replied to by saving the Raw E-Mail
in the appropriate way for your email client.

I quit subscribing to the lists about 5 years ago and exclusively
read them online.

Randy

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


A few jail questions

2008-03-22 Thread David Allen
I've recently been examining the use of jails in FreeBSD, and I have some
questions I hope someone can shed some light on with respect to running
virtual servers in jails.

1. Upgrading.  This probably a It Depends question, but if a host system
is upgraded (within version numbers), will the new kernel and world on the
host system cause potential problems with existing jails when they are
restarted?  Or do the jails need to be rebuilt before they are started?

2. Localhost.  Jails seem to be implemented using IP address aliasing, so
anything within the jail that wants to, or is configured to, bind to the
localhost address, now gets bound to the jail's IP address.  This means
that what was once local, is now publically available.  Will running a
firewall on the host system work in such cases?

3. Sendmail.  The usual approach of setting sendmail_enable=NO (or using
DAEMON_OPTIONS) won't prevent sendmail running in a jail from starting up
and listening for incoming mail from external hosts.  Short of disabling
sendmail entirely, I'm wondering what approach most people use as a
workaround.

Thanks.

Please copy me, as I'm not currently subscribed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The FreeBSD Diary: 2008-03-02 - 2008-03-22

2008-03-22 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 

These are the articles posted during this period:

20-Mar : ThinkPad x61s
 Unpacking the box, installing PC-BSD 
 http://freebsddiary.org/thinkpad-x61s.php?2

17-Mar : Using two monitors with X.org
 The GeForce 8600 GT with two monitors 
 http://freebsddiary.org/xorg-two-screens.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Re: samba

2008-03-22 Thread MD Keith
Thank you,

 That did it for me also,  so what does that change do? change hash etc uses
for
sending passwords?

Again thanks for the fix

Mark



On Sat, Mar 22, 2008 at 12:52 PM, Julius Huang [EMAIL PROTECTED]
wrote:

 Hi,


 On Mar 22, 2008, at 02:02 , MD Keith wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Greetings, I have a FreeBSD box i set up long ago as a file server
 
  has worked great till I had to get a better laptop with gfx card to
  keep
  up with my SecondLife Addiction.  and now can't get the installed
  Vista Os to connect to it.
 

 Try change LmCompatibilityLevel to '0' or '1' on Vista using regedt32.

 It is under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa.

 Works for me.

 J.

  Help would be appreciated,
 
  running 5.4-RELEASE FreeBSD 5.4-RELEASE #0 on the box
 
  Thanks in advance,
   Wolf
 
 
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.7 (MingW32)
  Comment: http://firegpg.tuxfamily.org
 
  iD8DBQFH4/grLYy55nbmwbwRAo4gAJ90NYqAIE9Mgxevh9SIlLdFv93BzACeOGQt
  crK8s0gUSNtkI4w6Tbv4dGk=
  =0BQG
  -END PGP SIGNATURE-
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-
  [EMAIL PROTECTED]


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


Re: How to uninstall a flash port.

2008-03-22 Thread Eduardo Cerejo
On Sat, 22 Mar 2008 21:03:18 +
Chris Whitehouse [EMAIL PROTECTED] wrote:

 Al Plant wrote:
  Eduardo Cerejo wrote:
  I installed the Linux flash9 port on a new 7.0 box to work with 
  SeaMonkey and it dies when it reaches flash using sites.
 
  How can I de-install this port with out causing problems to other 
  programs?
 
  I cant find it in the  handbook how to's.   Im I missing something?
 
  Thanks...
  
 
  by the way you can use linux-flash7 instead and if you are using the 
  native FreeBSD firefox and not linux-firefox you have to install and 
  use nspluginwrapper or else it will not work, your second alternative 
  is gnash which works natively with firefox.  To use nspluginwrapper 
  you would have to run this after the install.
  nspluginwrapper -i 
  /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
  remember for the linux plugins to embed on the native firefox they 
  need some kind of wrapper.  Flashplugin9 will not work with native 
  firefox or linux-firefox and I think it's because the linux emulator 
  uses an old version of linux so we have to wait until it changes to a 
  more current version.
 
 
 Sorry not a response to the OP but hopefully useful correction:
 
 %uname -sr
 FreeBSD 7.0-STABLE
 %pkg_info -Ix firefox
 firefox-2.0.0.12_1,1 Web browser based on the browser portion of Mozilla
 %pkg_info -Ix plugin
 linux-flashplugin-9.0r115 Adobe Flash Player NPAPI Plugin
 nspluginwrapper-0.9.91.5 A compatibility plugin for Netscape 4 (NPAPI) 
 plugins
 ...
 
 I don't actually see a lot of flash as I have flashblock installed but I 
 can't recall having probs when I have chosen to view it, except it still 
 doesn't work with youtube. I've just installed wine and win32 
 firefox+flashplugin for youtube and bbc iplayer and that works fine.

Are you trying to tell me that you got flash 9 working?  I sure would like to 
know how to get it working without crashing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]