X11 installation error

2008-05-05 Thread Ruel Luchavez
Hi,

Do you have idea on how to resolve this, i want to install the X11 so i go
to the directory

cd /usr/port/x11/xorg
make install

however the installation was unsuccessful due to this error:

gmake[6]: *** [..common/vblank.o] Error 1
gmake[6]: Leaving directory
'/usr/ports/graphics/dri/works/mesa-7.03/src/mesa/drivers/1810'
gmake[5]: ***[subdirs] Error 1
gmake[5]: Leaving directory
/usr/ports/graphics/dri/work/Mesa-7.0.3/drc/mesa/drivers/dri'
gmake[4]: ***[linux-solo] Error 2
gmake[4]: Leaving directory
'/usr/ports/graphics/dri/work/Mesa-7.0.3/src/mesa'
gmake[3]: ***[default] Error 2
gmake[3]: Leaving directory
'/usr/ports/graphics/dri/work/Mesa-7.0.3/src/mesa'
gmake[2]: ***[subdirs] Error 1
gmake[2]: Leaving directory '/usr/ports/graphics/dri/work/Mesa-7.0.3/src/'
gmake[1]: ***[default] Error 1
gmake[1]: Leaving directory '/usr/ports/graphics/dri/work/Mesa-7.0.3'
gmake: *** [fressbsd-fri-x86] Error 2
*** Error code 2

Stop in /usr/pots/graphics/dri
*** Error code 1Stop in /usr/ports/x11/xorg

I already update my ports before running the make install using this
command cvsup -g -L 2 /root/ports-supfile.
Did i forgot something else?
Help here Please...Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: rsync as root for mail servers?

2008-05-05 Thread Catalin Miclaus
You can use the SSH key then change it for security reasons.
For directories is working fine, I never tried on the e-mail spool thou.









Best Regards
Catalin Miclaus


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Maness
Sent: Monday, May 05, 2008 5:31 AM
To: freebsd-questions@FreeBSD.org
Subject: rsync as root for mail servers?

I plan on cutting over a server to new hardware, and I was wondering if 
I can add cert based login for root (how do I do this)?  This is so that

I can use rsync as root to sync the mail spool and home directories.  
Will this work?  I am using sendmail and wu-imapd.

Thanks,
Chris Maness
___
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: Questions about stats

2008-05-05 Thread Luigi

Thank you very much for the stats.

Luigi

Marc G. Fournier a écrit :

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I've put in a temporary page that generates the country statistics ... it doesn'
t look as good as the rest of the site, but loads significantly faster ...

- --On Monday, April 21, 2008 13:48:19 +0200 Luigi [EMAIL PROTECTED] wrote:

  

Hi,

I'm a user of PC-BSD in Belgium.

So I'd like to know if it's possible to have stats for Belgium and where can
I find it ?

Thank you very much.

Luigi





- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)

Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)

iEYEARECAAYFAkgdy4gACgkQ4QvfyHIvDvPB1ACeJpBQ0WJGDcIy6csng8kEIXwv
yKMAoJV8Ne5/Q5TEsbQpAospaYQyt6u+
=A0F8
-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]


instalation about NET_SNMP

2008-05-05 Thread srinivasa jayappa
hi,


i am srinivasa ... i am getting problem in installation in snmp not
creating usr directory in the installation of net-anmp5.3.1 in
ubuntu...please suggest

thanking you,


regards

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


What is CPP's real default include path?

2008-05-05 Thread Walt Pawley
I've been fiddling with compiling nzbget-0.4.0 on a 6.3 system.
My initial efforts failed the configuration process for not
finding iconv.h. This, despite /usr/local/include/iconv.h being
present and supposedly in the include search path if the info
documentation can be believed.

Just to see if I could learn something, I copied the
/usr/local/include/iconv.h to /usr/include/ and tried again.
After this, the configuration process completed and the
application seemed to make and make install just fine.

Is there some way to ascertain what the set of default include
paths actually is?
-- 

Walter M. Pawley [EMAIL PROTECTED]
Wump Research  Company
676 River Bend Road, Roseburg, OR 97470
 541-672-8975
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X11 installation error

2008-05-05 Thread Ruel Luchavez
I already try it but the server reply me an error:

Error:  FTP Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/
  xorg.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/
  pub/FreeBSD/i386/packages6.2-release/Latest/xorg.tbz' by URL

can anyone Help me to solve it..

Thanks..



2008/5/5 Michał Jędrzejczak [EMAIL PROTECTED]:

 Hi

 Perhaps  pkg_add -r xorg ( faster )


 Michał

 2008/5/5 Ruel Luchavez [EMAIL PROTECTED]:

  Hi,
 
  Do you have idea on how to resolve this, i want to install the X11 so i
  go
  to the directory
 
  cd /usr/port/x11/xorg
  make install
 
  however the installation was unsuccessful due to this error:
 
  gmake[6]: *** [..common/vblank.o] Error 1
  gmake[6]: Leaving directory
  '/usr/ports/graphics/dri/works/mesa-7.03/src/mesa/drivers/1810'
  gmake[5]: ***[subdirs] Error 1
  gmake[5]: Leaving directory
  /usr/ports/graphics/dri/work/Mesa-7.0.3/drc/mesa/drivers/dri'
  gmake[4]: ***[linux-solo] Error 2
  gmake[4]: Leaving directory
  '/usr/ports/graphics/dri/work/Mesa-7.0.3/src/mesa'
  gmake[3]: ***[default] Error 2
  gmake[3]: Leaving directory
  '/usr/ports/graphics/dri/work/Mesa-7.0.3/src/mesa'
  gmake[2]: ***[subdirs] Error 1
  gmake[2]: Leaving directory
  '/usr/ports/graphics/dri/work/Mesa-7.0.3/src/'
  gmake[1]: ***[default] Error 1
  gmake[1]: Leaving directory '/usr/ports/graphics/dri/work/Mesa-7.0.3'
  gmake: *** [fressbsd-fri-x86] Error 2
  *** Error code 2
 
  Stop in /usr/pots/graphics/dri
  *** Error code 1Stop in /usr/ports/x11/xorg
 
  I already update my ports before running the make install using this
  command cvsup -g -L 2 /root/ports-supfile.
  Did i forgot something else?
  Help here Please...Thanks
  ___
  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: Mystery Hardware Error

2008-05-05 Thread David M. Patronis

Pollywog wrote:

On Monday 05 May 2008 03:11:52 Al Plant wrote:


  

Aloha list,

I am getting the same error on FreeBSD 7 RELEASE and 8. Current as David
is. CD's work fine.
Anybody know what this is?



I have been getting the errors too, whenever I reboot the machine, I find them 
in the logs.  I don't burn CD's on the machine so I don't know if I could.  I 
normally do that on another machine that runs Linux.

_
If you have an ATAPI burner you can easily burn CDs from the command 
line using mkisofs to generate a disc image and then the burncd 
utility that comes with even a basic install of FreeBSD. See below for 
the most simple example:


mkisofs -o nameofimage.iso pathtofile
burncd -f /dev/acd0 data pathtofile nameoffile.iso fixate

Of course, that still doesn't answer our question.

David

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


Re: X11 installation error

2008-05-05 Thread Glyn Millington
Ruel Luchavez [EMAIL PROTECTED] writes:

 I already try it but the server reply me an error:

 Error:  FTP Unable to get
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/
   xorg.tbz: File unavailable (e.g., file not found, no access)
 pkg_add: unable to fetch 'ftp://ftp.freebsd.org/
   pub/FreeBSD/i386/packages6.2-release/Latest/xorg.tbz' by URL

 can anyone Help me to solve it..

Is there something odd going on in your package database? Have you tried
a 

#pkgdb -F ?


atb



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


Re: living with freebsd

2008-05-05 Thread Norberto Meijome
On Sun, 04 May 2008 22:12:23 -0700
prad [EMAIL PROTECTED] wrote:

 i'd like to know how people live with freebsd.

great, thanks for asking! :)

 
 do you use only ports or only packages or a mixture?

mostly build my own packages from ports. Sometimes I would use a package when 
either I dont have the time /resources to build ( OOO, but lately i've just 
built it myself). Also using packages for those apps that, 

 do you upgrade from version to version using freebsd tools or do it
 manually?

version to version of what? Of kernel and world, in my workhorse laptop, i do 
source upgrades and roll my own kernel.
For some servers and VM which are fairly generic and don't need much tweaking, 
i just run generic or SMP and use freebsd-update. I've used freebsd-update to 
upgrade VMs from 6.x to 7.x works GREAT (thanks Collin!)

 do you have a different approach regarding the above depending on
 whether it is for a server or a desktop?

it actually depends on how much customisation i need

 
 the handbook tells you what you can do, but i'd like to know what is
 actually done and why.

of course :)

have fun!
B

_
{Beto|Norberto|Numard} Meijome

I've dirtied my hands writing poetry, for the sake of seduction; that is,  for 
the sake of a useful cause.
   Dostoevsky

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: consulta acerca de la version

2008-05-05 Thread Norberto Meijome
On Sat, 3 May 2008 03:34:39 -0300
jmz_hack [EMAIL PROTECTED] wrote:

 hola, disculpen por favor me podrias decir o pasar alguna version
 descargable para poner un servidor con freebsd, un pentium 233 con 24
 mb de ram y un disco de 1,6 gb necesito que haga de servidor web con
 php, y pueda usar el shoutcast y en lo posible que sea compatible con
 placas de red isa gracias

Hola Jmz,
vas a obtener mas respuestas si preguntás en FreeBSD en castellano [EMAIL 
PROTECTED]

Suerte,
beto
_
{Beto|Norberto|Numard} Meijome

There is more to life than increasing its speed.
   Mahatma Mohandis K. Gandhi

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: instalation about NET_SNMP

2008-05-05 Thread Steven Friedrich
On Monday 05 May 2008 03:34:52 am srinivasa jayappa wrote:
 hi,


 i am srinivasa ... i am getting problem in installation in snmp not
 creating usr directory in the installation of net-anmp5.3.1 in
 ubuntu...please suggest

 thanking you,


 regards

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

Let me suggest that you go to a ubuntu mailing list!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What is CPP's real default include path?

2008-05-05 Thread Mel
On Monday 05 May 2008 10:12:05 Walt Pawley wrote:
 I've been fiddling with compiling nzbget-0.4.0 on a 6.3 system.
 My initial efforts failed the configuration process for not
 finding iconv.h. This, despite /usr/local/include/iconv.h being
 present and supposedly in the include search path if the info
 documentation can be believed.

 Just to see if I could learn something, I copied the
 /usr/local/include/iconv.h to /usr/include/ and tried again.
 After this, the configuration process completed and the
 application seemed to make and make install just fine.

 Is there some way to ascertain what the set of default include
 paths actually is?

Even though cc has a million options, there's none that I know that prints the 
system include path (not even in -dumpspecs). However, in practice you can 
assume it's /usr/include.

To make configure scripts believe you have something installed, it's not a 
good idea to copy headers.
Look for a --with-iconv=/usr/local option and failing that, change CFLAGS and 
LDFLAGS in the environment when configuring.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compiling in Debugging Flags

2008-05-05 Thread Norberto Meijome
On Sun, 04 May 2008 19:55:42 -0700
Chris Maness [EMAIL PROTECTED] wrote:

 It is a problem with php extension extension=mhash.so.  If I remove it 
 from extensions.ini it works.  However, there does not seem to be order 
 of arrangement that restores sanity.  I believe I need mhash for 
 squirrelmail.
 
 Any further suggestions would be appreciated.

I am risking stating the obvious here, but you HAVE rebuilt everything related
to mhash (including security/mhash), right? 

I have just installed security/php5-mhash from scratch and it loads without any
issue... of course, i only have php5 and php5-mhash installed here, no other php
extensions...

FreeBSD ayiin. 7.0-STABLE FreeBSD 7.0-STABLE #46: Wed Apr 30 10:55:55 EST
2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/AYIIN  i386

B
_
{Beto|Norberto|Numard} Meijome

The greatest dangers to liberty lurk in insidious encroachment by men of zeal,
well-meaning but without understanding. Justice Louis D. Brandeis

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: living with freebsd

2008-05-05 Thread Michaël Le Barbier

prad wrote:

i'd like to know how people live with freebsd.
  
It will soon be the ninth anniversary of my union with FreeBSD. I have 
been pleased of it, all the time.

do you use only ports or only packages or a mixture?
do you upgrade from version to version using freebsd tools or do it
manually?
do you have a different approach regarding the above depending on
whether it is for a server or a desktop?
I use FreeBSD in the `desktop' setting, I do a lot of TeX, programming, 
and scientific computing.

In my own views, I segregate applications in three groups:
 -- the zombie group, consisting of applications I rarely use, and do 
not care to keep up to date (almost everything);
 -- the living group, consisting of applications I use often but 
moderately care to keep up to date (Emacs and seamonkey);
 -- the hot group, consisting of applications I am very interested in 
(e.g. some libraries I use in my programs).


I do not care to update the zombie group.
I will maybe consider updating ports in the living group, either for 
security reasons or for some new functionnality I heard of and I really 
want to have.
It is not unlikely I update ports in the hot group every time there is a 
new major release is available.


I do the base install from packages, and use portupgrade for updating my 
software, after I have read /usr/ports/UPDATING.


My primary goal is having a working system for a minimal maintenance 
cost, the way I do works pretty well for me; but some others may have 
better ways to deal with this.

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


Re: living with freebsd

2008-05-05 Thread Wojciech Puchar

I use FreeBSD in the `desktop' setting, I do a lot of TeX, programming, and


in my view there is no desktop setting or server setting. the only 
difference is if your display and keyboard are directly connected or not.


you simply install programs you need.


scientific computing.
In my own views, I segregate applications in three groups:
-- the zombie group, consisting of applications I rarely use, and do not 
care to keep up to date (almost everything);
-- the living group, consisting of applications I use often but moderately 
care to keep up to date (Emacs and seamonkey);
-- the hot group, consisting of applications I am very interested in (e.g. 
some libraries I use in my programs).


doing similar way. with old rule - if it works, don't touch.


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


Re: living with freebsd

2008-05-05 Thread Gemma Fletcher
prad wrote:

 do you use only ports or only packages or a mixture?

I use ports 99% of the time.  If only use the packages if I need something up 
and running asap.

 do you upgrade from version to version using freebsd tools or do it
 manually?

manually.
 do you have a different approach regarding the above depending on
 whether it is for a server or a desktop?

I don't bother with a GUI for a server and I still stick with my 99% ports.  
For my home desktop I use KDE which I start from the console. It's dual 
booted with XP atm since I can't make WoW play through FreeBSD. :P

-- 
Gemma Fletcher
Burlesque Chic
[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: living with freebsd

2008-05-05 Thread Zbigniew Szalbot

Hello,

 doing similar way. with old rule - if it works, don't touch.

This got me interested. So basically for a server, you don't do any 
upgrades unless there are security issues to solve or new features that 
you need?


It seems to me that sometimes if you have waited with an upgrade for too 
long, it is more difficult to upgrade than it would have been if you had 
followed all small updates which appeared along the way...


Thanks!

--
Zbigniew Szalbot
www.lc-words.com


smime.p7s
Description: S/MIME Cryptographic Signature


Re: living with freebsd

2008-05-05 Thread Peter Boosten

Quoting Zbigniew Szalbot [EMAIL PROTECTED]:


This got me interested. So basically for a server, you don't do any
upgrades unless there are security issues to solve or new features that
you need?

It seems to me that sometimes if you have waited with an upgrade for
too long, it is more difficult to upgrade than it would have been if
you had followed all small updates which appeared along the way...



I think you have to differentiate between updates and upgrades. I  
consider an upgrade moving from one release to another (say from 6.2  
to 6.3), while security patches are updates.


I always run updates, but I don't always follow upgrades. Recently I  
upgraded one older machine from 5.5 to 6.2 (en even more recent to 6.3).


Peter

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


Re: rsync as root for mail servers?

2008-05-05 Thread Bill Moran
In response to Chris Maness [EMAIL PROTECTED]:

 I plan on cutting over a server to new hardware, and I was wondering if 
 I can add cert based login for root (how do I do this)?  This is so that 
 I can use rsync as root to sync the mail spool and home directories.  
 Will this work?  I am using sendmail and wu-imapd.

Follow the instructions for setting up ssh keys (there are dozens of
howtos all over the 'net) then tweak /etc/ssh/sshd_config to allow
root login (the config paramter is pretty obvious).  Ensure that you
either have a very strong root password, or that password auth for
root is disabled first.

Then, rsync you stuff using ssh as the connection mechanism (there's
a command line switch for this in rsync, don't remember the details)

Once you've got things rsynced the first time (while running) shut
down all the services on the active machine and rsync again.  This
second rsync should be very fast so you'll have little downtime.

-- 
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]


Re: MRTG registers zero throughput

2008-05-05 Thread Justin Jereza
 Have you figured out how to make it do so, or ar you giving up
  on the plan?


 Robert Huff

Giving up on it for the moment I guess. I don't really need the ifHC*
counters right now and I don't think I understand how MIBs work fully
yet and it's gonna take a lot of reading. I checked though and the
ifHC* counters are in the IF-MIB.txt file so I don't quite get why
it's not showing up on a snmpwalk.

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


Re: wine: notepad OK, others not

2008-05-05 Thread Tijl Coosemans
On Monday 05 May 2008 02:10:34 [EMAIL PROTECTED] wrote:
 ... very shortly after starting the actual install I got an error
 box:
 
 
  VISIO Setup
 
! Tried to create an invalid path using 'A:\' and 'clipart.vs_'
 
 
 and it locked up the display so that CtrlAltF1 would not switch
 to a text screen (although it did allow AltTab to bring up FVWM's
 window list).  After clicking OK:
 
 
  Visio Setup
 
i Setup failed.
 
 
 and it quit.

 What version of Visio is this?
 
 3.0.  Long before M$ took it over, so it should be just a generic
 Win32 app with no secret M$ tricks.

Visio 3.0 was still 16bit apparently. What you could try is to set
the Windows version in winecfg (bottom of applications tab) to
Windows 95 or even Windows 3.1.

 Also, you should really take this to the [EMAIL PROTECTED]
 mailing list. The people there should know more about this than
 here on a FreeBSD mailing list.
 
 I suppose I can try it, but I wonder how much interest there will
 be on a wine list in supporting FreeBSD.  At a minimum I suppose
 they'll want to know if it still breaks on the latest wine version,
 and I'll have no way to find out since the FreeBSD port doesn't
 support the latest wine version.

It's just that they know more about debugging such problems and
figuring out if it's Wine or a FreeBSD problem.

The latest version is in ports by the way, wine 0.9.61.

 In any case, it seems FreeBSD should not be allowing a port -- any
 port -- to lock out CtrlAltF1.

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


Logitech G9 mouse and FreeBSD 7

2008-05-05 Thread Nickolay D. Hodyunya
Hi everyone.
I'm using Logitech G9 mouse with my freebsd 7.0 box. The problem is that
my mouse don't response after I click on additional buttons. The cursor stop
moving in both system console and xorg session. 
The another one problem i have with logitech media keyboard 600. I don't know 
which model should i pick in xorg.conf for this one(i keep XkbModel pc105 
currently). When i run xev it shows keycodes for standard keys, and keep 
silence when i push any of the additional keyboard keys.
-- 

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


wine, amd64, and fc-7

2008-05-05 Thread Steve Franks
Anyone try to get an rpm of wine working under linux compat?  Did you
have to install fc-7 instead of fc-4?  Is fc7 ready for primetime?
Someone said it had issues awhile back.

Looks like all the 64-bit linux guys run wine, why don't we?  Of
course, I'd prefer a native FreeBSD port over an rpm if I could get
it...

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


Re: wine, amd64, and fc-7

2008-05-05 Thread Boris Samorodov
Hello Steve,


On Mon, 5 May 2008 10:42:52 -0700 Steve Franks wrote:

 Anyone try to get an rpm of wine working under linux compat?  Did you
 have to install fc-7 instead of fc-4?  Is fc7 ready for primetime?
 Someone said it had issues awhile back.

It's not and fc (port) issue, it's rather kernel's one
(linux.osrelease 2.4.2 vs 2.6.16 emulation). The default is 2.4.2 even
for CURRENT (but mat change soon). And when the default
linux.osrelease is changed at CURRENT some time will pass before
something like f8 (or even f9) may become a default linux emulation
port.

 Looks like all the 64-bit linux guys run wine, why don't we?  Of

FreeBSD doesn't have 64-bit linux emulation, it's 32-bit for now.
And afaik no one is working on it.

 course, I'd prefer a native FreeBSD port over an rpm if I could get
 it...


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


Re: wine, amd64, and fc-7

2008-05-05 Thread Wojciech Puchar

Looks like all the 64-bit linux guys run wine, why don't we?  Of


run windows if you need windoze apps
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: wine, amd64, and fc-7

2008-05-05 Thread Dominic Fandrey

Boris Samorodov wrote:

Hello Steve,


On Mon, 5 May 2008 10:42:52 -0700 Steve Franks wrote:


Anyone try to get an rpm of wine working under linux compat?  Did you
have to install fc-7 instead of fc-4?  Is fc7 ready for primetime?
Someone said it had issues awhile back.


It's not and fc (port) issue, it's rather kernel's one
(linux.osrelease 2.4.2 vs 2.6.16 emulation). The default is 2.4.2 even
for CURRENT (but mat change soon). And when the default
linux.osrelease is changed at CURRENT some time will pass before
something like f8 (or even f9) may become a default linux emulation
port.


Looks like all the 64-bit linux guys run wine, why don't we?  Of


FreeBSD doesn't have 64-bit linux emulation, it's 32-bit for now.
And afaik no one is working on it.


course, I'd prefer a native FreeBSD port over an rpm if I could get
it...


I'm trying to get it to work in a 32-Bit Jail. I ain't there yet, though. It 
seems parts of the code for dynamicilly loading 32bit libraries is broken. 
Should I succeed I will create a Wiki article, containing patches and a howto 
to set things up. And of course the ports@ list would get informed.




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


Re: wine, amd64, and fc-7

2008-05-05 Thread Steve Franks
  run windows if you need windoze apps
Noo!  I'll never turn!  I've been
quite happily, actually, moving my installed base of systems in the
other direction.  (I thought I'd get a more serious response from the
fbsd higher-ups, Wojciech).

Seriously, though, I thought someone might have installed wine on
32-bit linux emualtion on amd64.  All the other linux apps run so
well, I thought it was worth a try, didn't know I'd be the guinea pig,
but hey, makes me feel special.

The speed of my kqemu installation leaves something to be desired.  I
thought I'd give wine a shot.

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


Re: What is CPP's real default include path?

2008-05-05 Thread Walt Pawley
At 12:06 PM +0200 5/5/08, Mel wrote:
On Monday 05 May 2008 10:12:05 Walt Pawley wrote:
 I've been fiddling with compiling nzbget-0.4.0 on a 6.3 system.
 My initial efforts failed the configuration process for not
 finding iconv.h. This, despite /usr/local/include/iconv.h being
 present and supposedly in the include search path if the info
 documentation can be believed.

 Just to see if I could learn something, I copied the
 /usr/local/include/iconv.h to /usr/include/ and tried again.
 After this, the configuration process completed and the
 application seemed to make and make install just fine.

 Is there some way to ascertain what the set of default include
 paths actually is?

Even though cc has a million options, there's none that I know that prints the
system include path (not even in -dumpspecs). However, in practice you can
assume it's /usr/include.

To make configure scripts believe you have something installed, it's not a
good idea to copy headers.
Look for a --with-iconv=/usr/local option and failing that, change CFLAGS and
LDFLAGS in the environment when configuring.

Admonition understood - I was just experimenting and wanted the
file to be in a specific place without any uncertainty about
just what various look over there options actually do. The
reason for such a mind set is that actual behavior of cpp seems
to differ from its documentation, to wit:

  info cpp :: Header Files::Search Path reads:

  GCC looks in several different places for headers.  On a normal Unix
  system, if you do not instruct it otherwise, it will look for headers
  requested with `#include FILE' in:

 /usr/local/include
 LIBDIR/gcc/TARGET/VERSION/include
 /usr/TARGET/include
 /usr/include

I'm either missing something very fundamental (which I doubt
not at all) or this should be a somewhat serious problem. There
are 4944 header files in /usr/local/include/ branch on this
system that should be accessible by default but, if my
experience with nzbget is any guide, do not seem to be.
-- 

Walter M. Pawley [EMAIL PROTECTED]
Wump Research  Company
676 River Bend Road, Roseburg, OR 97470
 541-672-8975
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Logitech G9 mouse and FreeBSD 7

2008-05-05 Thread Rolf G Nielsen

Nickolay D. Hodyunya wrote:

Hi everyone.
I'm using Logitech G9 mouse with my freebsd 7.0 box. The problem is that
my mouse don't response after I click on additional buttons. The cursor stop
moving in both system console and xorg session.


I've had the same problem with my G5. When I disabled moused it went away.
Edit /etc/devd.conf and search for ums, then comment out (or delete) the 
entire section. Then edit xorg.conf, go to the mouse section and change 
the Device to /dev/ums0 and Protocol to auto. Moreover, you may need to 
put a line that modifies the button numbers of the mouse (xmodmap -e 
does that) in your .xsession or .xinitrc.


(...)


--

Sincerly,

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


Re: What is CPP's real default include path?

2008-05-05 Thread Mel
On Monday 05 May 2008 20:42:23 Walt Pawley wrote:
 At 12:06 PM +0200 5/5/08, Mel wrote:
 On Monday 05 May 2008 10:12:05 Walt Pawley wrote:
  I've been fiddling with compiling nzbget-0.4.0 on a 6.3 system.
  My initial efforts failed the configuration process for not
  finding iconv.h. This, despite /usr/local/include/iconv.h being
  present and supposedly in the include search path if the info
  documentation can be believed.
 
  Just to see if I could learn something, I copied the
  /usr/local/include/iconv.h to /usr/include/ and tried again.
  After this, the configuration process completed and the
  application seemed to make and make install just fine.
 
  Is there some way to ascertain what the set of default include
  paths actually is?
 
 Even though cc has a million options, there's none that I know that prints
  the system include path (not even in -dumpspecs). However, in practice
  you can assume it's /usr/include.
 
 To make configure scripts believe you have something installed, it's not a
 good idea to copy headers.
 Look for a --with-iconv=/usr/local option and failing that, change CFLAGS
  and LDFLAGS in the environment when configuring.

 Admonition understood - I was just experimenting and wanted the
 file to be in a specific place without any uncertainty about
 just what various look over there options actually do. The
 reason for such a mind set is that actual behavior of cpp seems
 to differ from its documentation, to wit:

   info cpp :: Header Files::Search Path reads:

FreeBSD uses a modified version of GCC. Info files haven't been updated to 
reflect that.

   GCC looks in several different places for headers.  On a normal Unix
   system, if you do not instruct it otherwise, it will look for headers
   requested with `#include FILE' in:

  /usr/local/include

Nope.

  LIBDIR/gcc/TARGET/VERSION/include
  /usr/TARGET/include

No idea really.

  /usr/include
Yep.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ATA and APIC IRQ conflict

2008-05-05 Thread David Naylor
On Sunday 04 May 2008 01:17:16 you wrote:
 David:

 On Sat, May 3, 2008 at 9:25 AM, David Naylor [EMAIL PROTECTED] 
wrote:
   I am trying to install FreeBSD on a gigabyte board (based on nForce 650i
   chipset (with MCP51 controller)) however no SATA hard drives are
  detected. However, if APIC is disabled then I have access to the hard
  drives (and only one CPU).  It has been suggested that it is an IRQ
  conflict (or something else related to APIC).

 I'll bet its interrupt routing more than IRQ conflicts (which these
 days on a modern system really doesn't make sense).  More than likely
 there is some funkiness going on with the BIOS's ACPI tables (I would
 start with the MADT and verify its entries look kosher).
Considering that the system works with APIC disabled I think you are right.  I 
am learning on the fly here, sorry.

There does not appear to be any BIOS options except for the suspend state, 
currently set to S1? (And a few power-on options, all disabled)

 Though it could be a power management problem and have nothing to do
 with interrupts (though with the SATA hard drives not being detected I
 would guess its interrupts).
Both linux and windows vista run on this system without a problem... Except 
when I reboot from FreeBSD then windows BSOD's and linux keeps resetting ata 
(without ever actually booting).  After having run FreeBSD I need to do a 
system power down (not just a reboot) then the problem disappears.  

Also even with APIC disabled FreeBSD fails to detect my second CD ROM drive 
(both are IDE) and it fails to read the first one.  

   Could someone please point me in the right direction so that I could try
  fix this problem (i.e. how to change the IRQ of the ATA drivers or where
  to fiddle with APIC to try get it to work?)

 I would read this:

 http://www.freebsd.org/doc/en/books/handbook/acpi-debug.html
Done quickly... Thanks for the pointer.  

 I would definitely set ACPI_DEBUG=1 and go from there.  Perhaps if you
 can start dumping the AML on your system (acpidump) and any messages
 you get on the console (dmesg etc.) you can post them here.  Also let
 us know what kind of BIOS options you have revolving ACPI, power
 management, and any legacy settings (e.g. MPS Table options if any).
Please see attached for the information (if anyone can't access them please 
e-mail me and I'll send you a copy)

If you really need the dmesg with APIC enabled please let me know (it is not 
easy since neither hard drives or cd drives are working but I think I have a 
plan... :-)

In loader.conf:
hint.apic.0.disabled=1

debug.acpi.layer=ACPI_ALL_COMPONENTS ACPI_ALL_DRIVERS
debug.acpi.level=ACPI_LV_ERROR ACPI_LV_WARN

And sysctl hw.acpi:
hw.acpi.supported_sleep_state: S1 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: NONE
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 1
hw.acpi.s4bios: 0
hw.acpi.verbose: 1
hw.acpi.disable_on_reboot: 0
hw.acpi.handle_reboot: 0
hw.acpi.reset_video: 0
hw.acpi.cpu.cx_lowest: C1

 Without more information its hard to say what exactly is your problem
 other than disabling ACPI kinda fixes it.

 Also, PLEASE CHECK GIGABYTE's motherboard web page for any BIOS
 updates that have been released.  Typically BIOS updates fix these
 kinds of problems.
I doubt it is a BIOS specific problem since this is the second board (first 
one was from Asus) that has this problem.  Just to be safe I flashed the BIOS 
to the latest one, no luck :-(

Thank you for your help.   

David

P.S. I think this is better suited for [EMAIL PROTECTED]  So I have CC'ed that 
mailing 
list.  


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


Re: What is CPP's real default include path?

2008-05-05 Thread Walt Pawley
At 12:06 PM +0200 5/5/08, Mel wrote:
On Monday 05 May 2008 10:12:05 Walt Pawley wrote:
 I've been fiddling with compiling nzbget-0.4.0 on a 6.3 system.
 My initial efforts failed the configuration process for not
 finding iconv.h. This, despite /usr/local/include/iconv.h being
 present and supposedly in the include search path if the info
 documentation can be believed.

 Just to see if I could learn something, I copied the
 /usr/local/include/iconv.h to /usr/include/ and tried again.
 After this, the configuration process completed and the
 application seemed to make and make install just fine.

 Is there some way to ascertain what the set of default include
 paths actually is?

Even though cc has a million options, there's none that I know that prints the
system include path (not even in -dumpspecs). However, in practice you can
assume it's /usr/include.

I bumped into the description of the -v flag whilst perusing
the cpp info docs and did this ... after removing the ersatz
/usr/include/iconv.h mentioned above. Apparently these paths are
compiled in (???).

%cat  x
#include iconv.h
%cpp -v x
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.6 [FreeBSD] 20060305
 /usr/libexec/cc1 -E -quiet -v -D_LONGLONG x
ignoring duplicate directory /usr/include
#include ... search starts here:
#include ... search starts here:
 /usr/include
End of search list.
# 1 x
# 1 built-in
# 1 command line
# 1 x
x:1:19: iconv.h: No such file or directory

-- 

Walter M. Pawley [EMAIL PROTECTED]
Wump Research  Company
676 River Bend Road, Roseburg, OR 97470
 541-672-8975
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X11 installation error

2008-05-05 Thread doug

On Mon, 5 May 2008, Glyn Millington wrote:


Ruel Luchavez [EMAIL PROTECTED] writes:


I already try it but the server reply me an error:

Error:  FTP Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/
  xorg.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/
  pub/FreeBSD/i386/packages6.2-release/Latest/xorg.tbz' by URL


This is most likely a naming issue. Use ftp and manually cd to the above 
directory to find out the name.



can anyone Help me to solve it..


Is there something odd going on in your package database? Have you tried
a

#pkgdb -F ?

Also because of the libraries involved you may not be able to do 'make install' 
while xorg is running. Personally I subscribe to using the package because of 
the length of time to build.

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


Re: qemu coredumps on any network activity

2008-05-05 Thread Steve Franks
On Mon, May 5, 2008 at 11:38 AM, Atanu Ghosh [EMAIL PROTECTED] wrote:
 Hi,

  http://monkey.org/freebsd/archive/freebsd-questions/200802/msg01649.html

  I am seeing the same problem, did you ever get to the bottom of this?

   Atanu.


I switched to using a tap bridge instead.  I have not had any
problems with it.  FYI I am on FreeBSD 7.0-stable, amd64.

Steve

~/bin/qemu.sh:

sudo kldload kqemu if_tap if_bridge aio

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

# sudo ifconfig bridge0 destroy
# sudo ifconfig bridge1 destroy
# sudo ifconfig tap0 destroy
# sudo ifconfig tap1 destroy
# sudo ifconfig tap2 destroy
# sudo ifconfig tap3 destroy
# sudo ifconfig tap4 destroy
# sudo ifconfig tap5 destroy
# sudo ifconfig tap6 destroy
# sudo ifconfig tap7 destroy
# sudo ifconfig tap8 destroy
# sudo ifconfig tap9 destroy

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

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

ifconfig

qemu -m 512 -net nic -net tap -hda /usr/local/share/qemu/drivec.img
-usb -usbdevice tablet 
# -usbdevice disk:/dev/da0 -hdb fat:/mnt/flash -std-vga 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: wine, amd64, and fc-7

2008-05-05 Thread Wojciech Puchar

 run windows if you need windoze apps

Noo!  I'll never turn!  I've been
quite happily, actually, moving my installed base of systems in the
other direction.  (I thought I'd get a more serious response from the
fbsd higher-ups, Wojciech).


yes this is serious. there are very few things that doesn't exist for unix 
- only windows. but if you really need install windows. it is at least 
(roughly) windows compatible :)



or use qemu. it's slow but works. i do this - just to be able to check how 
my webpages display in Internet Exploder.



Seriously, though, I thought someone might have installed wine on
32-bit linux emualtion on amd64.  All the other linux apps run so
actually i never had any success with wine, only simple apps work. on the 
other hand i don't needed it much.

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


Re: wine, amd64, and fc-7

2008-05-05 Thread Wojciech Puchar

I'm trying to get it to work in a 32-Bit Jail. I ain't there yet, though. It


there is no 32-bit jails it's just jail with all programs 32-bit. but 
you don't enhance any kernel capabilities this way

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


Re: wine, amd64, and fc-7

2008-05-05 Thread Dominic Fandrey

Wojciech Puchar wrote:
I'm trying to get it to work in a 32-Bit Jail. I ain't there yet, 
though. It


there is no 32-bit jails it's just jail with all programs 32-bit. but 
you don't enhance any kernel capabilities this way


Everything apart from the Kernel is 32-Bit. This is what I'd call a 32-Bit Jail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: wine, amd64, and fc-7

2008-05-05 Thread Tijl Coosemans
On Monday 05 May 2008 19:42:52 Steve Franks wrote:
 Anyone try to get an rpm of wine working under linux compat?  Did
 you have to install fc-7 instead of fc-4?  Is fc7 ready for
 primetime? Someone said it had issues awhile back.
 
 Looks like all the 64-bit linux guys run wine, why don't we?  Of
 course, I'd prefer a native FreeBSD port over an rpm if I could
 get it...

I looked into this when doing some work on Wine about a year ago:

* Wine doesn't work under the Linux compat layer because of
  differences between Linux and FreeBSD mmap(2) and because the
  implementation of the set_thread_area syscall is too simplistic.

* Wine doesn't work on FreeBSD/amd64 because the kernel doesn't
  preserve the segment registers on context switches.

Also, Wine and all its dependencies (xorg libs etc.) should be
built as 32 bit. Ideally the ports system would provide the
infrastructure for that.

None of this is really difficult to fix but I didn't (and still
don't) have an amd64 system so I moved on to fix other problems.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ATA and APIC IRQ conflict

2008-05-05 Thread Alexander Sack
On Mon, May 5, 2008 at 2:52 PM, David Naylor [EMAIL PROTECTED] wrote:
 On Sunday 04 May 2008 01:17:16 you wrote:
   On Sat, May 3, 2008 at 9:25 AM, David Naylor [EMAIL PROTECTED]
  wrote:
 I am trying to install FreeBSD on a gigabyte board (based on nForce 650i
 chipset (with MCP51 controller)) however no SATA hard drives are
detected. However, if APIC is disabled then I have access to the hard
drives (and only one CPU).  It has been suggested that it is an IRQ
conflict (or something else related to APIC).
  
   I'll bet its interrupt routing more than IRQ conflicts (which these
   days on a modern system really doesn't make sense).  More than likely
   there is some funkiness going on with the BIOS's ACPI tables (I would
   start with the MADT and verify its entries look kosher).
  Considering that the system works with APIC disabled I think you are right.  
 I
  am learning on the fly here, sorry.

You said the system works but later on you say you can't see second
IDE controller?

My guess is the system still doesn't work right!  :D!

  There does not appear to be any BIOS options except for the suspend state,
  currently set to S1? (And a few power-on options, all disabled)

Typically when you disable APIC your in classical 8259 mode which
should work.  I've seen power management screw up a box royally on a
soft reset too but again, not sure that is your problem just yet.

   Though it could be a power management problem and have nothing to do
   with interrupts (though with the SATA hard drives not being detected I
   would guess its interrupts).
  Both linux and windows vista run on this system without a problem... Except
  when I reboot from FreeBSD then windows BSOD's and linux keeps resetting ata
  (without ever actually booting).  After having run FreeBSD I need to do a
  system power down (not just a reboot) then the problem disappears.

Seems like after a soft reset, ACPI firmware is left in an
inconsistent state (that might be because whatever version of BSD you
are running to bring it up completely properly).

  Also even with APIC disabled FreeBSD fails to detect my second CD ROM drive
  (both are IDE) and it fails to read the first one.

Still not good, sounds like an interrupt routing issue again.  I'm
assuming the drivers load but nothing is detected (that would rule out
any PCI bus hierarchy nastiness).

  I doubt it is a BIOS specific problem since this is the second board (first
  one was from Asus) that has this problem.  Just to be safe I flashed the BIOS
  to the latest one, no luck :-(

I'm kinda losing it.  What version of FreeBSD are you using 7.0
RELEASE or top of tree (built from -CURRENT)?  I should have asked
this to begin with (and you should post it in future postings).  My
guess is you are trying a STABLE release (6.3 or 7.0) etc.

If you can dump the AML code (even from Linux) that would be very very
helpful.  Here is a utility that works from DOS:

http://www.programmersheaven.com/download/25319/2/ZipView.aspx

dmesg during an ACPI boot also is needed (again turn on debugging).

Most of the time ACPI problems (from my limited experience) is really
due to interesting ACPI table code that can throw off the OS.
Interrupt routing issues tend to be MADT related but I have no idea
what is your specific problem so far.

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


lang/php5 fails in apxs

2008-05-05 Thread Christopher Cowart
Hello,

I stumbled across this behavior roughly a year ago. The php5 port has
the following lines in the pkg-plist:

[EMAIL PROTECTED] %D/sbin/apxs -e -a -n %%AP_NAME%% %f
[EMAIL PROTECTED] %D/sbin/apxs -e -A -n %%AP_NAME%% %f

This command reads /usr/local/etc/apache22/httpd.conf, looks for
LoadModule lines, appends a LoadModule for php5, and exits. I don't have
any LoadModule lines in my httpd.conf; they've all been separated out
into include files.

The result is the port fails to install:

| apxs:Error: Activation failed for custom
| /usr/local/etc/apache22/httpd.conf file..
| apxs:Error: At least one `LoadModule' directive already has to exist..
| pkg_add: command '/usr/local/sbin/apxs -e -a -n php5 libphp5.so' failed
| ---  Removing old package'
| ** Fix the installation problem and try again.

Needless to say, this is annoying. I have to remember to add a
LoadModule foo foo.so line to the httpd.conf whenever I upgrade php5,
and remove both it and the PHP LoadModule directive when I'm done.

Why does the port think it's kosher to touch live configuration files? A
lot of people keep their configurations under revision control (and most
probably should). On the next commit on my system, this change is gone
anyways. Does anyone have any decent work arounds? Better yet, is there
any interest in fixing the php5 port so that it doesn't touch
configuration files? At the very least, I'd love a knob to disable the
feature.

-- 
Chris Cowart
Network Technical Lead
Network  Infrastructure Services, RSSP-IT
UC Berkeley


pgpKoAwIlilXW.pgp
Description: PGP signature


Question about a recent installation

2008-05-05 Thread Mario Vazquez

I have been using different Linux distributions for some years, and decided to 
give FreeBSD a try.  The install was successful, but have a question about how 
the root account is made.  Found that the root folder was created with the 
user/group privileges root:wheel.  Is not that a kind of security risk?  I know 
that usually only the account used by the administrator is the one, in addition 
to root, that belongs to the wheel group.  But also I know that sometimes 
admins get lazy and give for limited time extra privileges just to allow 
someone to do something, and that's where the danger can come.  Btw, that's 
just my opinion.
_
Stay in touch when you're away with Windows Live Messenger.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_messenger_052008___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question about a recent installation

2008-05-05 Thread doug

On Mon, 5 May 2008, Mario Vazquez wrote:



I have been using different Linux distributions for some years, and decided to 
give FreeBSD a try.  The install was successful, but have a question about how 
the root account is made.  Found that the root folder was created with the 
user/group privileges root:wheel.  Is not that a kind of security risk?  I 
know that usually only the account used by the administrator is the one, in 
addition to root, that belongs to the wheel group.  But also I know that 
sometimes admins get lazy and give for limited time extra privileges just to 
allow someone to do something, and that's where the danger can come.  Btw, 
that's just my opinion.

_


To give limited priviledges I think sudo (as in linux??) would be used. 
If that does not provide enough security then kerberos could be used.


In general I don't see how you main concern is unique to FreeBSD.

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


Re: [6.3] Keeping host up to date

2008-05-05 Thread Gilles
On Sat, 03 May 2008 18:07:08 +0300, Manolis Kiagias [EMAIL PROTECTED]
wrote:
You just need the ports-supfile. The standard supfile is for the 
base system.

Thanks. I updated the packages I actually need.

Looks like I need to run make clean before make config ; make; make
deinstall ; make reinstall, otherwise make doesn't do anything:

# pkg_version -l
[...]
php5-5.2.5_1   needs updating (port has
5.2.6)
php5-bz2-5.2.5_1   needs updating (port has
5.2.6)
php5-ctype-5.2.5_1 needs updating (port has
5.2.6)
etc.

# cd /usr/ports/lang/php5
# make
# 

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


Re: qemu coredumps on any network activity

2008-05-05 Thread Atanu Ghosh
Hi,

Thanks for the info, I am also using I am on FreeBSD 7.0-stable, amd64.

   Atanu.

 Steve == Steve Franks [EMAIL PROTECTED] writes:

Steve On Mon, May 5, 2008 at 11:38 AM, Atanu Ghosh
Steve [EMAIL PROTECTED] wrote:
 Hi,
 
 
http://monkey.org/freebsd/archive/freebsd-questions/200802/msg01649.html
 
 I am seeing the same problem, did you ever get to the bottom of
 this?
 
 Atanu.
 

Steve I switched to using a tap bridge instead.  I have not had
Steve any problems with it.  FYI I am on FreeBSD 7.0-stable, amd64.

Steve Steve

Steve ~/bin/qemu.sh:

Steve sudo kldload kqemu if_tap if_bridge aio

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

Steve # sudo ifconfig bridge0 destroy # sudo ifconfig bridge1
Steve destroy # sudo ifconfig tap0 destroy # sudo ifconfig tap1
Steve destroy # sudo ifconfig tap2 destroy # sudo ifconfig tap3
Steve destroy # sudo ifconfig tap4 destroy # sudo ifconfig tap5
Steve destroy # sudo ifconfig tap6 destroy # sudo ifconfig tap7
Steve destroy # sudo ifconfig tap8 destroy # sudo ifconfig tap9
Steve destroy

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

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

Steve ifconfig

Steve qemu -m 512 -net nic -net tap -hda
Steve /usr/local/share/qemu/drivec.img -usb -usbdevice tablet  #
Steve -usbdevice disk:/dev/da0 -hdb fat:/mnt/flash -std-vga 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: living with freebsd

2008-05-05 Thread Jeffrey Goldberg

On May 5, 2008, at 12:12 AM, prad wrote:


i'd like to know how people live with freebsd.


My FreeBSD systems are light weight servers only, so what I do is  
specific to my circumstances and tastes.



do you use only ports or only packages or a mixture?


I only use ports, but I suppose that if I had some really large things  
to install like OOo, I would consider using packages.



do you upgrade from version to version using freebsd tools or do it
manually?


I use csup and will rebuild world and the kernel as needed.  I've got  
a fairly stripped down kernel to improve boot times.  But again, I  
kind of find it cool to compile the whole OS.  It may be irrational  
and non-optimal.  That's why I said some of this is a matter of taste  
as well as circumstances.


My choice of when to upgrade the OS really depends on what I need.  I  
don't like to be too far behind.  I recently moved one system for 7.0  
RELEASE to 7 STABLE because of a specific fix that affected one of my  
systems.



do you have a different approach regarding the above depending on
whether it is for a server or a desktop?


I suspect that for a desktop, I would be more tempted to keep closer  
to GENERIC and use packages.  But I only have FreeBSD servers on which  
I don't even run an X11 server.


Cheers,

-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


Re: Question about a recent installation

2008-05-05 Thread Jeffrey Goldberg

On May 5, 2008, at 6:17 PM, doug wrote:

To give limited priviledges I think sudo (as in linux??) would be  
used.


I concur that sudo is really a very good way of managing privileges.   
I don't even know the root passwords on the systems that I administer  
(OK, I do have them stored in a nice secured place if I ever do need  
them).


Cheers,

-j


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


Updating PHP5?

2008-05-05 Thread Gilles
Hello

I succesfully updated the Ports collection, and recompiled PHP5, but
nothing happens when I run make to recompile the PHP extensions:

1. cd /usr/ports/lang/php5 ; make clean ; make config ; make ; make
deinstall ; make reinstall

2. pkg_version -v | grep php

php5-5.2.6  =   up-to-date with port
php5-bz2-5.2.5_1   needs updating (port has
5.2.6)
php5-ctype-5.2.5_1 needs updating (port has
5.2.6)
etc.

3. cd /usr/ports/lang/php5-extensions ; make clean ; make config

[/usr/ports/lang/php5-extensions]# make
[/usr/ports/lang/php5-extensions]# 

Nothing happens :-/ Are the above, outdated packages located
elsewhere?

Thank you.

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


Re: Updating PHP5?

2008-05-05 Thread Gilles
On Tue, 06 May 2008 04:00:15 +0200, Gilles [EMAIL PROTECTED]
wrote:
Nothing happens :-/ Are the above, outdated packages located
elsewhere?

FWIW, apparently, the solution is to run this:

portupgrade php5-*

and let it upgrade every package.

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


Re: living with freebsd

2008-05-05 Thread Sahil Tandon
* prad [EMAIL PROTECTED] [2008-05-04 22:12:23 -0700]:

 do you use only ports or only packages or a mixture?

Primarily ports.

 do you upgrade from version to version using freebsd tools or do it
 manually?

I use portmanager.

 do you have a different approach regarding the above depending on
 whether it is for a server or a desktop?

Only my servers run FreeBSD.

 the handbook tells you what you can do, but i'd like to know what is
 actually done and why.

Well, that's just a bit too open-ended isn't it? ;-)

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