Re: ndis driver - freeze on scan

2009-08-24 Thread Gregory T Helton
On Mon, Aug 17, 2009 at 04:48:44PM +, Eitan Adler wrote:
 I created an ndis driver for my wireless card and kldloaded it.
 When I try
 ifconfig ndis0 up scan
 my computer just freezes and it does not find any of the 100
 (exaggeration) APs around.
 
 This is a broadcom wireless card.
 
 -- 
 Eitan Adler
 Security is increased by designing for the way humans actually behave.
 -Jakob Nielsen
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

What version of FreeBSD is this? If it's 8.x, you have to scan with the wlan0 
device.
I've seen lots of weird and nasty things happen when trying to manipulate the 
actual
ndis0 device under 8.

ifconfig wlan0 create wlandev ndis0
ifconfig wlan0 up scan


pgpIYM45ph7vC.pgp
Description: PGP signature


Re: toaster or do-it-myself?

2009-08-11 Thread Gregory T Helton
On Tue, Aug 11, 2009 at 01:37:50AM -0400, Identry wrote:
 Frack... qmail is impossible. I've been hacking at this for 14 hours
 and it's just not working. I must be stupid.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

If you're willing to look away from Qmail, I used the following guide
as a basis when I moved my postfix mail server from Debian to FreeBSD.
Postfix supports Maildir, and that's how the guide sets it up.

I had some prior experience with postfix, having spent about 10-12
hours figuring it out from the official docs the first time I did it on
Debian... but the guide will have you a working setup in 4 hours even
without any prior experience. I think I had my FreeBSD mail server
working in under 2.

http://www.purplehat.org/?page_id=4

If you don't need all the stuff it lists, then only the
mysql+postfix+dovecot will give you a working server. Postfixadmin may
be needed aswell but I used a different SQL schema for my application
so I'm not sure.

--Greg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: making FBSD 7.2 X work on a CQ-60 laptop

2009-08-11 Thread Gregory T Helton
On Tue, 11 Aug 2009 19:44:02 -0400
Henry Olyer henry.ol...@gmail.com wrote:

 I have been having a lot of trouble getting X running on my HP/Compaq
 laptop.  A lot of trouble.
 
 For years I used to use xf86cfg and/or xf86config, but now, with
 FreeBSD 7.2 I can't find them.  (Don't tell me that such useful tools
 were -- ugh -- depreciated.  No, please no.)
 
 And worse, the keyboard has lot's of really nice key's on it, to dim
 the screen and such like that.  Which right now 7.2 ignores.
 
 It's a CQ-60, a Walmart special and I purchased it because it had 3GB
 of RAM with a big screen (about 15.5, I think.)  And I went down to
 my local computer store and purchased a 500GB SATA drive for $100.
 
 So for $400 I think I got a good deal.  (The machine is on sale now
 at WM stores for less than $300.  With tax it was $312.)
 
 Now though I have to make it work with FreeBSD 7.2.  with X.  I need
 help. Does anyone have one running FBSD 7.2 already?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

Going to need some more info. :)

Do you know what kind of graphics chip is in there? Have you tried the
automagic xorg configuration?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

`pciconf -lv` output would help also.

--Greg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: (Maybe)OT: Apache22 mod_rewrite question

2009-07-24 Thread Gregory T Helton
On Thu, 23 Jul 2009 23:33:03 -0500
Jason Garrett kinged...@gmail.com wrote:

 I am starting up a wiki with moinmoin. Currently when I type in
 http://mydomain.com it brings me to the main page and the browser
 shows http://mydomain.com/moin.cgi.
 
 When I click on a link from the front page, the browser displays
 http://mydomain.com/moin.cgi/SearchedText
 
 
 Basically, I want to remove the moin.cgi and just end up with this
 being displayed http://mydomain.com/SearchedText. For a working
 example of what I want, just go to http://wiki.freebsd.org.
 
 
 Can this be done with mod_rewrite and/or with apache in general?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

I do this with mercurial, it's quite simple.

ScriptAliasMatch ^(.*)/full/path/hg/www/hgwebdir.cgi$1

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


Re: Install from a USB Pen

2009-07-13 Thread Gregory T Helton
On Mon, 13 Jul 2009 13:02:54 +0100
Mark Wallbank mrkwll...@googlemail.com wrote:

 OK I know this has probably been done to death by know and I keep
 hitting the same problems with the methods I have tried to find on
 google and I know I could just sacrifice a laptop and do a build to
 create the image or do a net (pxe) install from another NIX serverbut
 it does seem to be a bit over the top. Does any body know of an easy
 way to create a bootable USB install media for 7.2 using either linux
 or vista (or using an option from the install dvd). I have tried some
 of the tricks from openBSD and linux to no avail.
 Any help appreciated...
 Cheers
 Mark
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

I am assuming that you don't have access to a freebsd machine to
build the image?

There's official usb images for 8.0-BETA1.
I have (unofficial) iso-img converted 7.2-RELEASE-bootonly for
i386/amd64. I've used this method before to build a 8.0-CURRENT
snapshot img's, before -BETA1, and it works.

http://www.fallendusk.org/freebsd/img/7.2-RELEASE/

Disclaimer: I've not tested these img's at all, so use at your own
risk. :) 

You can copy to a flashdrive using dd on any *nix platform, and I
believe there's a ported version of dd for Windows aswell.

I can share the source for the iso-img convert script if you, or
anyone else, would like. I don't know the original author as it wasn't
in the script.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: activate apache mod_rewrite

2009-07-12 Thread Gregory T Helton
On Sun, 12 Jul 2009 17:09:24 -0600
Ray r...@stilltech.net wrote:

 Hello,
 I'm running FreeBSD  7.0-RELEASE-p3, amd64
 I have never used mod rewrite before, but I am about to be hosting a
 php website that does use it and I can't figure out how to turn it on.
 The website was working properly under other hosting.
 
 The server has been working properly for over a year with other php
 websites. I installed apache 2.2 along with php 5.2 from ports.
 
 google says that the following lines should appear in  httpd.conf
 
 LoadModule rewrite_module libexec/apache/mod_rewrite.so
 AddModule mod_rewrite.c
 
 first line does appear, slightly modified 
 LoadModule rewrite_module libexec/apache22/mod_rewrite.so
 
 when I try to add the second line, apache won't start. 
 
 mod_rewrite.so is in the location specified.
 
 at the moment I'm guessing I am missing something in
 httpd-vhosts.conf, but I haven't found a guide for this yet.

 Any suggestions, manual sections, links appreciated. 
 Ray
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

Try with just the LoadModule line. This is the only line I have for
mod_rewrite in my httpd.conf, and it is working properly.

iirc, the AddModule linux is apache 1.x specific.

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


Re: Installing MATLAB: /lib/libXp.so.6: ELF file OS ABI invalid

2009-07-12 Thread Gregory T Helton
On Sun, 12 Jul 2009 19:26:59 -0400
Daniel Underwood djuatde...@gmail.com wrote:

 FYI:
 
 I believe initially libXp.so.6 was not located in /compat/linux/lib/,
 so I copied it there from /usr/local/lib/.  I believe I also tried to
 brand the file, but before branding the file and after branding the
 file I get this same error message.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

I believe you need the libXp.so.6 from linux. (fc4 rpm?)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: activate apache mod_rewrite

2009-07-12 Thread Gregory T Helton
On Sun, 12 Jul 2009 19:03:16 -0600
Ray r...@stilltech.net wrote:

 On July 12, 2009 05:58:07 pm Gregory T Helton wrote:
  On Sun, 12 Jul 2009 17:09:24 -0600
 
  Ray r...@stilltech.net wrote:
   Hello,
   I'm running FreeBSD  7.0-RELEASE-p3, amd64
   I have never used mod rewrite before, but I am about to be
   hosting a php website that does use it and I can't figure out how
   to turn it on. The website was working properly under other
   hosting.
  
   The server has been working properly for over a year with other
   php websites. I installed apache 2.2 along with php 5.2 from
   ports.
  
   google says that the following lines should appear in  httpd.conf
  
   LoadModule rewrite_module libexec/apache/mod_rewrite.so
   AddModule mod_rewrite.c
  
   first line does appear, slightly modified
   LoadModule rewrite_module libexec/apache22/mod_rewrite.so
  
   when I try to add the second line, apache won't start.
  
   mod_rewrite.so is in the location specified.
  
   at the moment I'm guessing I am missing something in
   httpd-vhosts.conf, but I haven't found a guide for this yet.
  
   Any suggestions, manual sections, links appreciated.
   Ray
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
   freebsd-questions-unsubscr...@freebsd.org
 
  Try with just the LoadModule line. This is the only line I have for
  mod_rewrite in my httpd.conf, and it is working properly.
 
  iirc, the AddModule linux is apache 1.x specific.
 
 
 That makes sense, because all the websites that I could find were 4
 to 6 years old.
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  freebsd-questions-unsubscr...@freebsd.org
 
 Thanks for the response.
 The loadmodule line is  already there. 
 Is there anything in the httpd-vhosts.conf or anywhere else needed to
 activate rewrites?
 thanks,
 Ray
  
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

I believe it's just enabled, unless it's been disabled in a
htaccess file or the httpd-vhosts.conf. 

Depending on how your script works though, you may need to enable
htaccess in the httpd-vhost,conf, or add the rewrite lines to a
htaccess file. That's application-specfic though and the documentation
for your script should have details on that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Dynamically Building a Jail?

2009-07-11 Thread Gregory T Helton
On Sat, 11 Jul 2009 02:28:10 -0700
Diego Montalvo dmonta...@gmail.com wrote:

 Was wondering if there is a way to dynamically build a predefined jail
 subsystem using shell script?
 
 Thanks in Advance!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

You may want to take a look at sysutils/ezjail.

pkg-descr:
This port contains two scripts to easily create, manipulate
and run FreeBSD jails.

WWW: http://erdgeist.org/arts/software/ezjail/;

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


Re: Re: installworld fails - nb_NO.ISO8859-1/LC_TIME: too many levels of symbolic links

2009-02-20 Thread Gregory W. MacPherson
The problem is that both of the files:

/usr/share/locale/nb_NO.ISO8859-1/LC_TIME

and 

/usr/share/locale/no_NO.ISO8859-1/LC_TIME

... are symbolic links ... to each other.

The solution is to remove one symlink and replace it with a real file as 
shown below:

rm -f /usr/share/locale/no_NO.ISO8859-1/LC_TIME
touch /usr/share/locale/no_NO.ISO8859-1/LC_TIME

Now /usr/share/locale/nb_NO.ISO8859-1/LC_TIME is a symbolic link and
/usr/share/locale/no_NO.ISO8859-1/LC_TIME is a real (albeot zero length)
file.

And, yes, someone ought to fix this in CVS.

-- Greg

 On Saturday 31 January 2009 07:09:39 Anton Shterenlikht wrote:
  I'm upgrading from 7.1-prerelease to 7.1-stable. I followed the
 manual.
  make buildworld, make buildkernel, make installkernel, reboot,
  make installworld fails with
 
  install: /usr/share/locale/nb_NO.ISO8859-1/LC_TIME: Too many levels of
  symbolic links
 
 Can you provide output of:
 ls -l /usr/share/locale/nb_NO.IS8859-1/LC_TIME
 
 -- 
 Mel
 
 Problem with today's modular software: they start with the modules
 and never get to the software part.

-- 
Gregory W. MacPherson
Global Network Exploitation Specialist, CISSP
http://www.datasieve.net/greg/

In the beginning of a change, the patriot is a scarce man and brave,
hated and scorned. When his cause succeeds however, the timid join him,
for then it costs nothing to be a patriot. -- Mark Twain
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Time and Date configuration Gnome 2.22.3 FreeBSD 7.0

2008-07-18 Thread Christopher Gregory
Hello Everyone,

I am not sure if this is the correct mailing list to post this to, so my
appologies in advance if it is not.

I am requesting specific information here, so please respect this by NOT
doing the following:

1) I do not want to read any me too replies in this thread, as they are
pointless and a waste of space, not to meantion a waste of everyones
time.

2) I am not interested in work arounds, just a specific fix to the issue
that I am having.

I have done a search on google, and according to the search on the
mailing list here, using time, and gnome there are no results.


I am having issues specifically with the Time and Date configuration in
gnome 2.22.3 on freebsd 7.0-RELEASE-p2

What is happening, is if you click on SystemAdministrationTime and
date, when it comes up all options are greyed out.  This means that from
within gnome, you are not able to set it up to sync with a time server,
or even manually change the time and date.

This was working, though with some of the updates to the ports
collection I am not exactly sure when it stopped working.

I have used cvsup to update the ports collection and have also used the
standard-supfile to update the src list (leaving it at src-all).

I have removed gnome by:

pkg_deinstall -R x11/gnome2

and also by using:

pkg_deinstall -Rf x11/gnome2

I have used pkgdb -F to fix any inconsistancies.

I have deleted the .gconf .gconfd .gnome2 .gnome2_private directories.

No matter what I have tried the issue still remains.

Is there something else I need to delete in order to purge all of gnome,
and start totally from scratch?  I have followed ALL of the faq for
de-installing gnome.

What I want is to be able to adjust the time and date from within gnome
as you are meant to be able to.

Yes I am fully aware of the command line options.  This is a work around
and NOT a fix.

A listing of uname -a is:

FreeBSD freebsd 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #3: Fri Jul  4
20:43:40 NZST 2008  /usr/obj/usr/src/sys/CUSTOM  amd64

Regards,

Christopher





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


Ask for information

2008-04-29 Thread Gregory
   Sir,

   Some days ago, I wrote you a mail but I get no answer. The mail was the
following :

   Sir,

   Presently, my hard disk is managed by a 3112A chipset (SATA I).
As you probably know it, this chipset isn't compatible with FreeBSD.
Can you advise me an external card that you compatible with FreeBSD
to manage my hard disk ? I've sent a mail to ldlc.be asking for
a card that manage my hard disk but they seem to have no card
compatible with FreeBSD. I'm running FreeBSD since begin of 6.1
but I can'nt access some disks. Wich card containing HDD SATA I
chipset do you suggest ?

   Gregory HOLLAND

P.S. : I've done a talk to the FOSDEM (Free and Open Source Software
Developers European Meeting). The topic of my talk was
End User migration from Linux to FreeBSD
I'm running FreeBSD 6.3 now. In June, I'll update to FreeBSD 7.0.

I need an Internal PCI card

   I have the possibility to buy a SWEEX PU103 with a Sil3512 chipset. Does
FreeBSD 7.0
support this chipset ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Ask for information about FreeBSD and SATA

2008-04-20 Thread Gregory
   Sir,

   Presently, my hard disk is managed by a 3112A chipset (SATA I).
As you probably know it, this chipset isn't compatible with FreeBSD.
Can you advise me an external card that you compatible with FreeBSD
to manage my hard disk ? I've sent a mail to ldlc.be asking for
a card that manage my hard disk but they seem to have no card
compatible with FreeBSD. I'm running FreeBSD since begin of 6.1
but I can'nt access some disks. Wich card containing HDD SATA I
chipset do you suggest ?

   Gregory HOLLAND

P.S. : I've done a talk to the FOSDEM (Free and Open Source Software
Developers European Meeting). The topic of my talk was
End User migration from Linux to FreeBSD
I'm running FreeBSD 6.3 now. In June, I'll update to FreeBSD 7.0.

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


Re: Setting global enviroment variables

2008-04-08 Thread Gregory
If you are using sh, or a derived shell such as bash, then you can 
use /etc/profile to achieve your desired result.

On Tuesday 08 April 2008 10:18, Andrew Cid wrote:
 Hi all,

 What's the best way of setting environment variables on FreeBSD
 so that all users and daemons running from rc can see them?

 I'd like to set PKGROOT to a custom package server, so that all users
 and a couple of daemons that start from rc will use the new packages.

 Cheers,


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


WWW as File and Directory Owner rather than User

2007-04-03 Thread Gregory Houston

Hi.

My site is hosted on a friend's freeBSD server. I do not have root access. I
do however have full access to MySQL. I am the only one on the server that
uses it. I access MySQL via phpMyAdmin.

Over the last several months I have installed several PHP/MySQL applications
and had no problems.

A couple days ago however I went to install dotProject to try it out, and it
wanted to create its database itself. It didn't want to just populate the
database, but actually create it. To allow it to do this via my username I
had to give myself global privileges. I gave myself all the global
privileges including Grant.

DotProject successfully installed itself. I tried it out, didn't find it to
suit my purposes and then tried to delete it, but found that it had created
files owned by WWW rather than owned by me. Obviously I couldn't directly
delete those files, and had to do so with a PHP script.

My first question is did I somehow give WWW the ability create files and
directories. I have since taken away my global privileges, but when I
installed another app, it also created files and directories with WWW as the
owner.

Should WWW be able to be the owner? If not, how do I take its privileges
away? Root is listed as a user in MySQL, as well as myself, but WWW is not.

Now I am afraid to create any new WordPress entries because I don't know if
all my apps are going to start creating files with WWW as the owner rather
than me.

Thanks in advance for any clarification or help on this. I am rather new
with this sort of thing.

Warm regards,

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


D-Link card (ath0) and WPA-PSK

2007-02-17 Thread Gregory W. MacPherson
I wanted to access a WPA-PSK network with my laptop. I booted up FreeBSD
6.2. I already had a D-Link WNA2330 card inserted in the slot at boot up. 
The ath driver recognized the card:

ath0: Atheros 5212 mem 0x8800-0x8800 irq 11 at device 0,0 on cardbus0
ath0: Ethernet address: 00:15:e9:d9:77:13
ath0: mac 7,9 phy 4,5 radio 5,6

I configured /etc/wpa_supplicant and added a line to /etc/rc.conf to 
configure the interface to use DHCP. Then I issued /etc/rc.d/netif start.
What I got was a card that was associated and properly configured but 
that could not negotiate an address or pass traffic.

After several iterations of ifconfig ath0, I finally removed the card and
reinserted the card. Then and only then did the /etc/rc.d/netif start 
result in an associated and DHCP configured NIC.

ath0: ath_chan_set: unable to reset channel 2 (2417 Mhz, flags 0xe0 hal flags 
0xc0)
ath0: Atheros 5212 mem 0x8800-0x8800 irq 11 at device 0,0 on cardbus0
ath0: Ethernet address: 00:15:e9:d9:77:13
ath0: mac 7,9 phy 4,5 radio 5,6

Has anyone seen this before - where the card is recognized by the driver 
and the card can associate with the network but the WPA fails until the 
card is removed and reinserted?

Laptop is a Thinkpad T21.
OS is FreeBSD 6.2-STABLE #0
Kernel has the following compiled in:

device  wlan
device  wlan_wep
device  wlan_ccmp
device  wlan_tkip
device  wi
device  ath
device  ath_hal
device  ath_rate_sample

IPFW is compiled in and was set open.

Thanks,

-- Greg

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Gregory W. MacPherson - Global Network Exploitation Specialist, CISSP
http://www.netpublishing.com/greg/ [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: Problem of segmentation fault with a lot of KDE programs

2007-02-02 Thread Gregory Nou

Hi again !
Replying to myself, as I made some progress, and would like to share them.
I put the line :
libpthread.so.2   libpthread.so.1
(which are /lib/libpthread.so.2 and /usr/local/lib/compat/libpthread.so.1)
in /etc/libmap.conf and now, kdevelop, kdvi and amarok work... but
with this tuning, Terminal and Mozilla are not working, and I suspect
that it's the case for lot of other programs.
Error is :
/libexec/ld-elf.so.1: /usr/local/lib/compat/libpthread.so.1: Undefined
symbol __malloc_lock

So how could I make it work ?
How could I help the system to choose between both ?
I tried to put things like :
[/usr/local/bin/kdevelop-bin]
libpthread.so.2   libpthread.so.1
in libmap.conf, but it does not work for all the programs, and that
force me to add a lot of things manually to the libmap.conf file,
which is not that good...

Thanks !
Grégory


2007/2/1, Gregory Nou [EMAIL PROTECTED]:

Hi,

After trying to figure out how to solve the problem I have on my own,
I'd like to submit it to you, to get some hints.
Here it is: almost all programs related to kde (kdevelop, kghosviewer,
kile, ...) and gaim are segfaulting, because of a problem which seems
to be related to pthread.
Please note that everything else is working fine : xfce-4.4, anjuta,
firefox, etc...

FreeBSD 7.0-CURRENT #6: Fri Feb  2 13:47:26 EST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYSMP  i386

running gdb kile :

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 100060]
0x29d0f1f9 in pthread_join () from /lib/libpthread.so.2
(gdb) bt
#0  0x29d0f1f9 in pthread_join () from /lib/libpthread.so.2
#1  0x29d0374a in pthread_self () from /lib/libpthread.so.2
#2  0x29d03dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2
#3  0x29d0f2b2 in pthread_join () from /lib/libpthread.so.2
#4  0x29d0374a in pthread_self () from /lib/libpthread.so.2
#5  0x29d03dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2
#6  0x29d0f2b2 in pthread_join () from /lib/libpthread.so.2
#7  0x29d0374a in pthread_self () from /lib/libpthread.so.2
#8  0x29d03dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2
...

and it goes far, repeating it ad vitam. (using ktrace and kdump, wc -l
outputs 637047)
By the way, the equivalent in the ktrace part is :
 2913 kile CALL  getpid
 2913 kile RET   getpid 2913/0xb61
 2913 kile CALL  getpid
 2913 kile RET   getpid 2913/0xb61
 2913 kile CALL  getpid
 2913 kile RET   getpid 2913/0xb61

Same for kdevelop-bin and all the kde-related who segfault (because
some rare k(something) work, like konsole oder KDE System Guard)

For gaim, the error message is a bit different, but bt gives the same output :

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 100079]
0x28b38d3e in sysctl () from /lib/libc.so.6
(gdb) bt
#0  0x28b38d3e in sysctl () from /lib/libc.so.6
#1  0x28a852b2 in pthread_join () from /lib/libpthread.so.2
#2  0x28a7974a in pthread_self () from /lib/libpthread.so.2
#3  0x28a79dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2
#4  0x28a852b2 in pthread_join () from /lib/libpthread.so.2
#5  0x28a7974a in pthread_self () from /lib/libpthread.so.2
#6  0x28a79dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2

I experience these problems for more than a week now. Everything is
up-to-date on my system (src + ports) - last cvsup a few hours ago. I
recompiled everything a few time.
As I did not see feedback on forums or on mailing lists, I assume I am
the only one who has this problem. Which makes me feel a bit lonely ;)

Could you please me help me ? Also, I would be glad to provide any
further information like dmesg, bt, ktrace, whatever, ...

Thanks !
Gregory


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


Problem of segmentation fault with a lot of KDE programs

2007-02-01 Thread Gregory Nou

Hi,

After trying to figure out how to solve the problem I have on my own,
I'd like to submit it to you, to get some hints.
Here it is: almost all programs related to kde (kdevelop, kghosviewer,
kile, ...) and gaim are segfaulting, because of a problem which seems
to be related to pthread.
Please note that everything else is working fine : xfce-4.4, anjuta,
firefox, etc...

FreeBSD 7.0-CURRENT #6: Fri Feb  2 13:47:26 EST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYSMP  i386

running gdb kile :

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 100060]
0x29d0f1f9 in pthread_join () from /lib/libpthread.so.2
(gdb) bt
#0  0x29d0f1f9 in pthread_join () from /lib/libpthread.so.2
#1  0x29d0374a in pthread_self () from /lib/libpthread.so.2
#2  0x29d03dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2
#3  0x29d0f2b2 in pthread_join () from /lib/libpthread.so.2
#4  0x29d0374a in pthread_self () from /lib/libpthread.so.2
#5  0x29d03dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2
#6  0x29d0f2b2 in pthread_join () from /lib/libpthread.so.2
#7  0x29d0374a in pthread_self () from /lib/libpthread.so.2
#8  0x29d03dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2
...

and it goes far, repeating it ad vitam. (using ktrace and kdump, wc -l
outputs 637047)
By the way, the equivalent in the ktrace part is :
2913 kile CALL  getpid
2913 kile RET   getpid 2913/0xb61
2913 kile CALL  getpid
2913 kile RET   getpid 2913/0xb61
2913 kile CALL  getpid
2913 kile RET   getpid 2913/0xb61

Same for kdevelop-bin and all the kde-related who segfault (because
some rare k(something) work, like konsole oder KDE System Guard)

For gaim, the error message is a bit different, but bt gives the same output :

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 100079]
0x28b38d3e in sysctl () from /lib/libc.so.6
(gdb) bt
#0  0x28b38d3e in sysctl () from /lib/libc.so.6
#1  0x28a852b2 in pthread_join () from /lib/libpthread.so.2
#2  0x28a7974a in pthread_self () from /lib/libpthread.so.2
#3  0x28a79dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2
#4  0x28a852b2 in pthread_join () from /lib/libpthread.so.2
#5  0x28a7974a in pthread_self () from /lib/libpthread.so.2
#6  0x28a79dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2

I experience these problems for more than a week now. Everything is
up-to-date on my system (src + ports) - last cvsup a few hours ago. I
recompiled everything a few time.
As I did not see feedback on forums or on mailing lists, I assume I am
the only one who has this problem. Which makes me feel a bit lonely ;)

Could you please me help me ? Also, I would be glad to provide any
further information like dmesg, bt, ktrace, whatever, ...

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


freebsd doesm't see my script on boot

2006-11-27 Thread Gregory Edigarov

Hello, Everybody

Well, here is what I am doing:
ls -l /usr/local/etc/rc.d
total 30
-r-xr-xr-x  1 root  wheel  4744 Nov 13 11:38 apache22
-r-xr-xr-x  1 root  wheel   673 Nov 13 14:27 clamav-clamd
-r-xr-xr-x  1 root  wheel   722 Nov 13 14:27 clamav-freshclam
-r-xr-xr-x  1 root  wheel  1057 Nov 13 14:27 clamav-milter
-r-xr-xr-x  1 root  wheel  1254 Nov 13 13:01 gnugk
-r-xr-xr-x  1 root  wheel   198 Nov 15 01:17 l2tpd
-r-xr-xr-x  1 root  wheel   196 Nov 14 12:35 popa3d
-r-xr-xr-x  1 root  wheel  1642 Nov 13 11:19 quagga
-r-xr-xr-x  1 root  wheel  4371 Nov 13 14:00 samba
-r-xr-xr-x  1 root  wheel  1324 Nov 14 15:20 squid
-r-xr-xr-x  1 root  wheel   564 Nov 13 11:19 watchquagga

cat /usr/local/etc/rc.d/l2tpd
#!/bin/sh

#PROVIDE l2tpd
#REQUIRE NETWORKING

. /etc/rc.subr

name=l2tpd
rcvar=`set_rcvar`
command=/usr/local/sbin/${name}
flags=
echo l2tp debug

load_rc_config $name
run_rc_command $1

in rc.conf:
l2tpd_enable=YES

Then after  reboot:
ps ax | grep l2tpd
667  v1  RL+0:00.00 grep l2tpd

i.e no l2tpd has been started.
no messages on console, either. My script just got silently skipped, all 
other services are starting up fine.


What's  wrong?

--
With best  regards,
   Gregory Edigarov



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


Re: Password Security

2006-11-23 Thread Gregory Carvalho
You might consider a safe with A/C from Black Box. Expensive, but an option 
for you.

On Tuesday 21 November 2006 19:41, VeeJay wrote:
 Hi

 I need to secure my data and server. Any advice will be highly appreciated.

 I am going to place my FreeBSD server at a shared place?

 I am just afraid that any unauthorized person might boot machine in single
 user mode and steal the data?
 How can I make my Server secure that if if boots in single user mode, it
 still demands the password and without password one cannot do anything?
 or make it possible that booting in Single user mode, doesn't provide any
 shell?

 Thanks in advance

  --

 BR / vj
 ___
 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]


Promotional Info

2006-06-13 Thread Gregory Warner

To whom it may concern,

My name is Greg Warner and I work as a tech specialist for a public  
school district in Arkansas.  I am interested in using FreeBSD as an  
operating system for our servers.  Would it be possible for you to  
send me some promotional stickers featuring the FreeBSD logo which I  
could use to promote the use of FreeBSD in our district?  If you  
could send us a few free stickers we would very much appreciate it.   
Here is our mailing address:


Sheridan Freshman Academy
Attn: Greg Warner
510 West Church
Sheridan, AR 72150

Thank you very much for considering my request and I look forward to  
your response.


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


PCTV 310e support

2006-06-06 Thread Gregory Nou

Hi,

I bought recently a PCTV 310e, which uses USB-2. After reading carefully 
bktr manpage, I saw that The bktr driver provides support for PCI video 
capture, which is bad news.
Does somebody know if it is possible to add some (even dirty) hack to 
make bktr work with USB cards ?


Thx !

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


Re: AC97 sound card on 6.1

2006-06-05 Thread Gregory Nou

Dave wrote:

Hello,
   I'm atempting to get an integrated AC97 sound card working under 6.1. 
I know this card works, loading the snd_driver module finds it, but i do 
not know which actual module works it over. I'd rather not have to load 
26 sound modules just the ones i actually need. I've checked 
/boot/kernel/snd* but didn't find anything AC97 and googling showed that 
others had asked, but no clear answer. If anyone has this going i'd 
appreciate hearing about it, and also any difficulties with quality or 
getting applications going.

Thanks.
Dave.


Hi Dave,

I have this :
pcm0: Avance Logic ALC650 AC97 Codec

and in my kernel :
# sound device
device  sound
device  snd_via8233

Regarding quality, I had a lot of problems (meaning sound distorsion), 
but it disappeared all a sudden one day, and I don't know why. So now, 
it works really well.


Cheers,

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


Re: Setting up Fluxbox (May apply to other GUI's)

2006-04-24 Thread Gregory J. Knight
To help you figure out which file is which

$pkg_info -Lx fluxbox | grep ^/ | xargs file

On Mon, 2006-04-24 at 23:05 -0400, Peter wrote:
 --- Enigma [EMAIL PROTECTED] wrote:
 
  I am using FreeBSD 6, and are new to *nix in itself.
  I have used the 'pkg_add -r fluxbox' command to
  get the fluxbox packages. Although after all my searching on
  different sites and asking someone I still cannot find
  where these packages would have been installed to,
  from using that command.
 
 $ pkg_info -Lx fluxbox
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Re: rpm equivalent to 'pkg_add -r'?

2006-01-16 Thread Gregory Nou

Marc G. Fournier wrote:


As the subject asks, is there an equivalent?  I'm trying to install 
linux apache2 on a FreeBSD box, and would like have rpm do as much as 
possible as far as getting the dependencies and downloading them ...


baring this, is there a better tool to use then rpm?

thanks ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


look at the end of rpm man page, there is a section INSTALL AND UPGRADE 
OPTIONS.
Concerning other tools, the poor experience I have with RH showed me 
that rpm is a great tool. Maybe you may try yum, which, iirc, is a GUI 
for rpm.


Cheers,

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


Re: Java error.

2005-12-02 Thread Gregory Nou

Mehmet Fatih AKBULUT wrote:

hi all.
i tried to install java on my freebsd5.4
but when installing got the error below.
any idea how to overcome this error ?


\
fi
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226:
identifier expected
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location
   ^
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226:
unclosed character literal
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location
   ^
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:227:
')' expected
private static final class Aliases
 ^


The errors you get are really weird.
Maybe you should check if there isn't a quote () missing somewhere before.
I'm currently running jdk15 on current, and never had problems with it.
If you still have the problem, could you send me the file 
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java 
?

Could you also tell us which version of linux-jdk you have ?

Cheers,

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


Re: [Fwd: Suspected problem with /libexec/ld-elf.so.1]

2005-10-25 Thread Gregory Nou

Kris Kennaway wrote:

On Mon, Oct 24, 2005 at 10:27:12AM +0200, Gregory Nou wrote:

As nobody seems concerned in current, I suppose it is not an error due 
to current.



I guess you didn't read my mail?

Kris

I saw your answer after posting there.
But now everything is nice and work well.
Thank you again.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[Fwd: Suspected problem with /libexec/ld-elf.so.1]

2005-10-24 Thread Gregory Nou
As nobody seems concerned in current, I suppose it is not an error due 
to current.

Does someone here have an idea on why this thing is (seems) broken ?

uname :  7.0-CURRENT FreeBSD 7.0-CURRENT #1: Fri Oct 21 17:13:29 CEST 2005

Thanks a lot :)
---BeginMessage---

Hi,

I'm experiencing lots of weird problems since my last cvsup (yesterday)
Everything I have installed using packages or sources after the cvsup 
doesn't work, exiting with weird error messages like for example:

% pdflatex rapport.tex
zsh: exec format error: pdflatex
or
% texi2pdf rapport.tex
pdflatex: 2: Syntax error: ) unexpected
/usr/local/bin/texi2dvi: pdflatex exited with bad status, quitting.

and also :
/libexec/ld-elf.so.1: some_lib_here: unsupported file layout

% xpdf
/libexec/ld-elf.so.1: /usr/local/lib/libt1.so.5: unsupported file layout
% kile
/libexec/ld-elf.so.1: /usr/X11R6/lib/libqt-mt.so.3: unsupported file layout


Is someone experiencing the same problem ?

--
Gregory

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

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

Re: newbie ports question

2005-10-13 Thread Gregory Nou

Andrew P. wrote:

On 10/13/05, makisupa [EMAIL PROTECTED] wrote:


I seem to be getting myself in trouble repeatedly...I'm sure someone can
help...

Fresh install of 6.0 RC1, gnome 2.12 from marcus's tb, freshly cvsupped
ports.  I need to install some little apps like gaim and pan.  when
running 'make install clean' for these ports i'll get a message that the
correct version of port X is not installed.  Problem is make says i need
a newer version but the version numbers indicate i've got a newer
version than what its looking for.  Then a little part about
'FORCE_PACKAGE_REGISTER.'  There is an example of this below this
message.  If i use this it will install the older version of the
dependencies or at least register them.  I say this on the last system
that i hosed...2 copies of the same package would be registered.  Not
good. How should i *properly* install these ports?  As in what's not
going to get me in trouble?


===  Installing for glib-2.6.6
===   glib-2.6.6 depends on file: /usr/local/bin/perl5.8.7 - found
===   glib-2.6.6 depends on executable: pkg-config - found
===   glib-2.6.6 depends on shared library: intl - found
===   Generating temporary packing list
===  Checking if devel/glib20 already installed
===   An older version of devel/glib20 is already installed
(glib-2.8.3)
 You may wish to ``make deinstall'' and install this port again
 by ``make reinstall'' to upgrade it properly.
 If you really wish to overwrite the old port of devel/glib20
 without deleting it first, set the variable FORCE_PKG_REGISTER
 in your environment or the make install command line.
*** Error code 1

Stop in /usr/ports/devel/glib20.
*** Error code 1

Stop in /usr/ports/accessibility/atk.
*** Error code 1

Stop in /usr/ports/textproc/gtkspell2.
*** Error code 1

Stop in /usr/ports/net/gaim.


Thanks for the help.  Loving my BSD laptop so far...just straightening
some things out.

/mak.

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




I'd start with installing portupgrade, and trying to
portupgrade -arR. I'm sure there's another solution,
though.


I would suggest installing every port with :
portinstall -vRP directory_of_the_port/name_of_the_port

e.g. portinstall -vRP net/gaim

That will update all needed ports when necessary, fetching a precompiled 
version, or if not possible, downloading and compiling it from source. 
As I like verbosity, I put the -v.


Hope it helps,

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


Re: Bye-bye beastie ...

2005-09-26 Thread Gregory Nou

Kiffin Gish wrote:

I would like to have a different bootup screen appearing which looks 
more professional (sorry), e.g. removing that awful looking beastie 
thingie on the side.


What's the best way to do this?

(Sorry to all those beastie lovers out there, but really)


from the /boot/default/loader.conf :

beastie_disable=NO   # Turn the beastie boot menu on and off

However, I strongly disagree with your decision :)

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


Re: NEWBIE: how-to for feeding file to gnomealyzer.sh?

2005-09-23 Thread Gregory Nou

Peter Clutton wrote:


On 9/22/05, David Armour [EMAIL PROTECTED] wrote:
 


i was trying to install the plugger-plugins-hubbe port as a way to get
plugins to work with firefox. . .

checking whether gmake sets $(MAKE)... yes
checking for intltool = 0.30... 0.33 found
checking for perl... /usr/bin/perl
checking for XML::Parser... === Script configure failed
unexpectedly.

i have the directed output file (make_failure_file), gnomelogalyzer.sh,
and pages of non-helpful googled info. where would i find out how to
feed a file to a script?

thanks in advance, both for your patience, and for any info.

When you've run it, would you let us know the outcome? I had *exactly* the
   


same error messages multiple times trying to installing gnome, stuff bout
XML Parser script configure failed unexpextedly. I haven't had a chance to
feed it to gnomealyzer, but will post if i get something good from it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

 


Seems that it's not a gnome related problem.
You should install port textproc/p5-XML-Parser, and if already 
installed, verify that the link are well done in your /usr/local/bin (eg 
: not something like using perl5.8 and having perl pointing on perl5.6.2)


Cheers

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


Re: Drives Dieing

2005-09-20 Thread Gregory Nou

Matt Juszczak wrote:


Hi all,

I recently bought a 160 gig hard drive at the store after my 40 gig 
started failing with similar messages to the ones below.  The 40 gig 
eventually actually died after a few days (as in click click, boom, no 
longer detecting).


Now the 160 GB is giving me fsck errors all of a sudden, as seen 
below.  Is my luck just that bad?  Is the drive in the store also 
bad?  This just seems like it could be a bad controller or something 
too, since its happened to two drives in a row.. and one of them 
was a new drive.


Any ideas would be appreciated if I'm gonna take the drive back to 
the store, I'd like to do it soon.


Regards,

Matt Juszczak



Mounting root from ufs:/dev/ad0s1a
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
WARNING: /hd2 was not properly dismounted
ad1: FAILURE - READ_DMA status=51READY,DSC,ERROR 
error=40UNCORRECTABLE LBA=2 29575903
ad1: FAILURE - READ_DMA status=51READY,DSC,ERROR 
error=40UNCORRECTABLE LBA=2 29575903
ad1: FAILURE - READ_DMA status=51READY,DSC,ERROR 
error=40UNCORRECTABLE LBA=2 29575903
ad1: FAILURE - READ_DMA status=51READY,DSC,ERROR 
error=40UNCORRECTABLE LBA=2 29575903
ad1: FAILURE - READ_DMA status=51READY,DSC,ERROR 
error=40UNCORRECTABLE LBA=2 29575903


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


I had this problem too. (Look in the current archive, in september, for 
a thread called Problem with deleting files

I was told to shutdown dma with atacontrol, and fsck -f
However, I had no chance to test it.
I just copied everything I needed, made a newfs, reinstalled the system 
(that's fast as you have all your config files), and today, it's working 
fine, again. (I previously tried to use the copy of the /usr I had made, 
but I experienced lots of problem with X. However, you may try to do it)

If you are able to backup, I think that it's a good solution.

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


Re: Drives Dieing

2005-09-20 Thread Gregory Nou

Matt Juszczak wrote:





Mounting root from ufs:/dev/ad0s1a
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
WARNING: /hd2 was not properly dismounted
ad1: FAILURE - READ_DMA status=51READY,DSC,ERROR 
error=40UNCORRECTABLE LBA=2 29575903
ad1: FAILURE - READ_DMA status=51READY,DSC,ERROR 
error=40UNCORRECTABLE LBA=2 29575903
ad1: FAILURE - READ_DMA status=51READY,DSC,ERROR 
error=40UNCORRECTABLE LBA=2 29575903
ad1: FAILURE - READ_DMA status=51READY,DSC,ERROR 
error=40UNCORRECTABLE LBA=2 29575903
ad1: FAILURE - READ_DMA status=51READY,DSC,ERROR 
error=40UNCORRECTABLE LBA=2 29575903



I had this problem too. (Look in the current archive, in september, 
for a thread called Problem with deleting files

I was told to shutdown dma with atacontrol, and fsck -f
However, I had no chance to test it.
I just copied everything I needed, made a newfs, reinstalled the 
system (that's fast as you have all your config files), and today, 
it's working fine, again. (I previously tried to use the copy of the 
/usr I had made, but I experienced lots of problem with X. However, 
you may try to do it)

If you are able to backup, I think that it's a good solution.




But smartctl (smart test) shows drive failure in the short test?  
Isn't that internal to the drive?


Also, if this is the case, could this just be bad luck of two drives 
in a row?  Or could something be wrong with my hardware causing these 
drives to die? (controller?)


-Matt


Did you actually tried the dma trick with atacontrol ?

Concerning dmesg : atapci0: VIA 8235 UDMA133 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xdc00-0xdc0f at device 17.1 on pci0

It is also supported by ata(4)

I first thought the error occured due to high temperatures, but I doubt 
it is the right explanation. Although I cannot figure out a better 
explanation.


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


Re: nvidia drivers

2005-09-18 Thread Gregory Nou

Bob Johnson wrote:




In the default version distributed by nVidia, you have to disable
FreeBSD's AGP support or the nvidia driver will refuse to load.  I
don't know if the port builds it with that configuration or not.

 

I do not agree. I now compile the kernel without agp, but I used to 
compile with it until recently and never had such problems. Iirc, 
nvidia-drivers do not care about which version (i mean, freebsd's or 
nvidia's one) you have of agp.ko. It even give you the choice of which 
you want to use. (only if you load the native agp in module, not if it 
is statically compiled). That's in the X configuration file, something 
like NvAgp, and should be set to 0,1 or 2 (it's explained in the 
documentation).

I'd like to add that the port nvidia-driver works just fine.

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


Re: Thanks a lot!!!

2005-09-11 Thread Gregory Nou

Will Maier wrote:


On Sat, Sep 10, 2005 at 11:21:17PM -0700, rolan herreria wrote:
 


We are just worrying about the BSA RAID
(http://www.bsa.org/philippines/events/Anti-Piracy-Team.cfm). We
like to change our OS but not that expensive like Microsoft OS...
The amount of MS WinXP Pro here is Php9400.00 and we have  10 PC's
so we nid Php94,000.00...Those games that we want to run are
Ragnarok, Counterstrike, Warcraft Frozenthrone III. Doom3 and any
Online Games...
   



I'm not entirely sure what you're asking, but it sounds like you run
an internet/gaming cafe. The computers currently run Windows, and
you want a free operating system to replace it.

FreeBSD would be a fine choice, especially if most of your customers
want to surf the web or word process. 3D gaming is also possible,
but it takes a little bit of work.

Personally, I run my games on Linux (Ubuntu, in particular); FreeBSD
runs on my servers and work laptop. There are folks who use at least
some of the games you mentioned above on FreeBSD; hopefully they'll
chime in.

 


I ran Neverwinter Nights, Enemy Territory and UT2004 with great success.
However, playing this game under anything else than windows is to be a 
pain because of patches.
Games producers seem to love making v1.34.01.15 incompatible with 
v1.34.01.16, so as soon as the server administrator decide he will get 
this new 1.34.01.16, because he wants to correct that bug he did not 
even notice, you will have to update. And there... that's awful. You 
don't have the click here button to upgrade. You have to do it manually, 
hoping the port was updated.
The other problem you may have is with Pack, like in UT, with new 
vehicles, new maps and so on. They are often released in .exe, and 
downloading them using the game is very very slow.
Concerning the games you want to run, I just tried CS (CS1.5, not CS:S), 
using wine, like friends of mine. We only had issues with voice. I did 
not try Warcraft 3, but  there, you might want to use linux and wineX.
But if you're ready to accept these small problems, you should just 
wonder if the games you want to install are ported.
If you're considering building gaming servers, freebsd is definitely a 
good choice. Our gaming server used to run on Freebsd, and nobody 
complained about it.

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


doom 3

2005-09-11 Thread Gregory Nou

Hi,
I'm currently trying to play doom3 (the complete version, not the demo 
one), and I get some weird message :


   during DOOM 3 initialization...
   WARNING: idFileSystemLocal::OpenFileRead: fs_caseSensitiveOS 1 could
   not open /home/greg/.doom3/base/gamex86.so
   1 warnings
   terminal support enabled ( use +set in_tty 0 to disabled )
   pid: 78551
   1008 MB System Memory
   guessing video ram ( use +set sys_videoRam to force ) ..
   found XNVCtrl extension 1.6
   128 MB Video Memory
   Async thread started
   WARNING: idFileSystemLocal::OpenFileRead: fs_caseSensitiveOS 1 could
   not open /home/greg/.doom3/base/DoomConfig.cfg
   Couldn't write DoomConfig.cfg.
   WARNING: idFileSystemLocal::OpenFileRead: fs_caseSensitiveOS 1 could
   not open /home/greg/.doom3/base/../base/doomkey
   Couldn't write ../base/doomkey.

however, I made all these files world-readable and writable.
Did some on experience the same problem ?

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


Re: doom 3

2005-09-11 Thread Gregory Nou

Gregory Nou wrote:


Hi,
I'm currently trying to play doom3 (the complete version, not the demo 
one), and I get some weird message :


   during DOOM 3 initialization...
   WARNING: idFileSystemLocal::OpenFileRead: fs_caseSensitiveOS 1 could
   not open /home/greg/.doom3/base/gamex86.so
   1 warnings
   terminal support enabled ( use +set in_tty 0 to disabled )
   pid: 78551
   1008 MB System Memory
   guessing video ram ( use +set sys_videoRam to force ) ..
   found XNVCtrl extension 1.6
   128 MB Video Memory
   Async thread started
   WARNING: idFileSystemLocal::OpenFileRead: fs_caseSensitiveOS 1 could
   not open /home/greg/.doom3/base/DoomConfig.cfg
   Couldn't write DoomConfig.cfg.
   WARNING: idFileSystemLocal::OpenFileRead: fs_caseSensitiveOS 1 could
   not open /home/greg/.doom3/base/../base/doomkey
   Couldn't write ../base/doomkey.

however, I made all these files world-readable and writable.
Did some on experience the same problem ?


EDIT :
I partially solved the issue by ktracing it.
I've got things like that :
  729 doom.x86 NAMI  /compat/linux/home/greg/.doom3/base/gamex86.so
So I linked this one to my home directory, and the strange messages 
disappeared.
However, It still don't accept my cd key. Did someone already have this 
problem ?

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


Problem with locale settings

2005-08-23 Thread Gregory Nou

Hi list,

I'm trying to understand a problem of locale, but I definitely can't 
solve it on my own.

I use zsh. I've set LC_ALL and LANG to fr_FR.

19:39 [EMAIL PROTECTED] /etc% export | grep fr_FR
LANG=fr_FR
LC_ALL=fr_FR

It is set in /etc/zshenv.

However, when I make install some program, I get this :
(null): Failed to set default locale
or
19:53 [EMAIL PROTECTED] ~% openoffice.org
I18N: Operating system doesn't support locale 
or
(gnochm:56487): Gtk-WARNING **: Locale not supported by C library.
   Using the fallback 'C' locale.

(in this case, it makes the program abort)

I can't see what I'm missing/doing wrong.

Thanks for your help !

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


Re: aaaargghh.. sendmail again

2005-07-05 Thread Gregory Neil Shapiro
 I am trying to alter the sendmail config on server.ficticious.net
 so that it rewrites the sender (both envelope and header)
 to be from [EMAIL PROTECTED]
 
 the sendmail m4 config file now has:

Your config plus the addition of FEATURE(allmasquerade) in case some of
the local addresses are Cc'ed on mail going out of your domain should do
the job.

However, since you are sending this question, it looks like that isn't
the case.

What is the output of:

# sendmail -Am -bt
 /tryflags es
 /try relay [EMAIL PROTECTED]

(where that address is replaced with the actual one that isn't working)

Feel free to send the debug output from the above command to me directly
if you are worried about revealing confidential info to the mailing list
at large.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: aaaargghh.. sendmail again

2005-07-05 Thread Gregory Neil Shapiro
 Have you also tried sending email from a non-root account?  The root
 user is exposed by default in Sendmail.  This means that the root user
 will *NOT* be masqueraded or remapped through genericstable.  You can
 see that the root user is exposed by looking at the {E} class:
 
 gothmog:/etc/mail# grep '{E}' sendmail.cf
 C{E}root

That hasn't be the case since 8.10.0, released more than five years ago.
Giorgos, you should update your configuration.

8.10.0/8.10.0   2000/03/01
CONFIG: Removed root from class E; use EXPOSED_USER(`root')
to get the old behavior.  Suggested by Joe Pruett
of Q7 Enterprises.

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


Re: aaaargghh.. sendmail again

2005-07-05 Thread Gregory Neil Shapiro
 That's funny.  I can see root in the E class even in the standard freebsd.cf
 generated from the freebsd.mc file we have in src/etc/sendmail:

Aha, DOMAIN(generic) has the EXPOSED_USER() call.  That is what is
adding it in.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: aaaargghh.. sendmail again

2005-07-05 Thread Gregory Neil Shapiro
 Very true.  Is that correct though, or should we remove it from the
 generic.m4 file of FreeBSD?

No, I don't want to diverge from Sendmail's source any more than we
already have for a variety of reasons.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


make buildworkd fails

2005-06-25 Thread Gregory Nou

Hi !

I'm currently using a 6.0-current  :
FreeBSD myhost 6.0-CURRENT FreeBSD 6.0-CURRENT #1: Thu Jun  9 00:12:03 
CEST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL  i386


When making buildworld, I get this :

(makeinfo), uid0 : exited on signal 11 on the current screen, and the 
attached problem.txt on the console running the make buildworld (lots of 
Too many errors before, so I don't know what exactly went wrong) .


My last cvsup is from today morning, but I have this problem for at 
least 2 weeks, since a update went wrong. (even if I repaired with a 
5.3-release CD-ROM)


What should I do ?

Thanks

--
Grégory


Too many errors!  Gave up.
Too many errors!  Gave up.
*** Signal 11

Stop in /usr/src/gnu/usr.bin/texinfo/doc.
*** Error code 1

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

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

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

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

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

Stop in /usr/src.
zsh: exit 1 make buildworld

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

Re: portupgrade giving an error

2005-05-26 Thread Gregory Nou

[EMAIL PROTECTED] wrote:

Please pardon the intrusion. 


After doing a pkgdb -F, I ran a portupgrade -nP --all
to check my installation. I got a single error:

! multimedia/nautilus-media (nautilus-media-0.8.0_4)
(port directory error).

I am then prompted as to whether I want to delete this
package. If I answer [no] (the default), nothing is
fixed. If I answer [yes], my installation reports that
this package is a dependency to Gnome, and cannot be
removed. 


The output of my uname -a is:
FreeBSD BSD.mydomain.local 5.3-RELEASE FreeBSD
5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


Would someone suggest what I should do about this? 


Your help is greatly appreciated. Thank you in advance.

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

 


Hi,

in fact, nautilus-media has disappeared from the ports tree...
Have a loo at MOVED :
multimedia/nautilus-media||2005-03-12|Deprecated, and no longer builds
By the way, you may also be inerested by the entry 20050312 of UPDATING, 
which says :

  Gnome has been upgraded to 2.10 and gtk/glib to 2.6.
 DO NOT USE portupgrade(1) to update any gnome or gtk
 or any port that depends on them. Using portupgrade
 will cause problems and you will have to manually
 upgrade ports. 

Cheers

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


Re: 5.3-5.4 upgrade method

2005-05-26 Thread Gregory Nou

Louis LeBlanc wrote:


Ok, I've settled on upgrading to 5.4 (from 5.4 RELEASE) but I can't
find an explicit statement that performing such an upgrade with
cvsup/buildworld/buildkernel, etc. would be ok.  No kernel config
gotchas mentioned either.  Of course it seems implied that this would
be a perfectly fine way to do the upgrade.

Has anyone else used this upgrade method going from 5.3 to 5.4?
Any caveats on the kernel config?

Thanks
Lou
 


Hi,

I'm not sure it's actually the question you're asking, but i did a 
cvsup, buildworld, buildkernel, installkernel, installworld yesterday, 
from a 5.3-release to 5.4-release, and I didn't had problems.
However, since I do have something very classical (Athlon-xp 
mono-processor), it wasn't very dangerous ...


Good luck

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


Problems with p5-XML-parser (solved, but not well)

2005-05-25 Thread Gregory Nou

Hi,

I cvsuped yesterday and portupgraded everything, but things went wrong 
with a XML::Parser unfindable (since I know it was installed, because I 
already had to fight with, but that's another story)


So I did it manually and got :

===   p5-XML-Parser-2.34_1 depends on file: /usr/local/bin/perl5.8.6 - 
found
===   p5-XML-Parser-2.34_1 depends on file: /usr/local/bin/perl5.8.6 - 
found

===   p5-XML-Parser-2.34_1 depends on shared library: expat.5 - found
===  Configuring for p5-XML-Parser-2.34_1
Checking if your kit is complete...
Looks good
Unable to find a perl 5 (by these names: /usr/local/bin/perl5.8.6 perl 
perl5 perl5.8.6 miniperl, in these dirs: /usr/local/bin /usr/local/sbin 
/bin /usr/bin /usr/sbin /usr/bin/X11 /usr/X11R6/bin /usr/games /sbin 
/root/bin /usr/local/jdk1.4.2/bin /usr/local/mupad/share/bin/ 
/usr/local/bin)

snip
===  Building for p5-XML-Parser-2.34_1
0: not found
*** Error code 127

Stop in /usr/ports/textproc/p5-XML-Parser/work/XML-Parser-2.34.
*** Error code 1

Stop in /usr/ports/textproc/p5-XML-Parser.


Seems there is a kind of contradiction...

After that, I installed it with pkg_add, and know everything seems ok, 
but still I can't understand.

There is an entry in the UPDATING file, on 20050201. Is it related ?

--
Gregory

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


Re: gnome-vfs does not compile.

2005-05-25 Thread Gregory Nou

Tony Shadwick wrote:


Few really quick questions here:

1. When was the last time you cvsup'd your ports tree?
2. Have you checked to make sure the rest of your ports are current?

If 1. is recently, and 2. is yes, then I'd make clean on it and try to 
use portinstall gnome-vfs and see what happens.  If you answered 
never, or quite a while ago to the first one, I strongly suggest 
cvsup'ing your ports first, then make sure your other ports are 
current before attempting to proceed, then try portinstall gnome-vfs.


Tony

On Tue, 17 May 2005, Gregory Nou wrote:


When I try to compile gnome-vfs-2.10.1, I get this :

libtool15: link: CURRENT `1000' is not a nonnegative integer
libtool15: link: `1000:1:1000' is not valid version information
gmake[3]: *** [libgnomevfs-2.la] Erreur 1

That's quite surprising. Why does it say 1000 is not a nonnegative 
integer ???

Does anyone knows how I could fix this ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]




That's right, I just needed to cvsup and portupgrade everything and now, 
that works just fine :)

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


gnome-vfs does not compile.

2005-05-17 Thread Gregory Nou
When I try to compile gnome-vfs-2.10.1, I get this :
libtool15: link: CURRENT `1000' is not a nonnegative integer
libtool15: link: `1000:1:1000' is not valid version information
gmake[3]: *** [libgnomevfs-2.la] Erreur 1
That's quite surprising. Why does it say 1000 is not a nonnegative 
integer ???
Does anyone knows how I could fix this ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Reading a encrypted pdf with xpdf

2005-05-09 Thread Gregory Nou
Hi !
I have a pdf (a patent) which is protected against printing. I can read 
it with acrobat reader on windows at school, but I can't read it neither 
with xpdf nor gpdf, because both are asking me passwords. And 
ghostscript, which seemed to work under windows, does not work on my 
computer with freebsd.
Do someone know how I could read this document ?
I cannot really understand why they protect patents against printing by 
the way.

Cheers,
Grégory
NB : xpdf -v
xpdf version 3.00
Copyright 1996-2004 Glyph  Cog, LLC
I read there was a patch for version 0.96 but it seems a bit too old ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pb with portupgrade (segfault or cannot allocate memory)

2005-01-26 Thread Gregory Nou
Hi,
Since I don't really know where the relevant place to post this is, I 
thought it would be ok there. If it's not the case, I would be glad 
someone would transfer it to the right location :)

I had a deep use of portupgrade/portinstall this morning. Everything was 
working pretty good (at least, it used to have the behaviour I was 
expecting), but after 2 hours, I got this :

10:45 [EMAIL PROTECTED] /usr/ports# portupgrade -P gnomevfs2-2.8.3_1
[Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 561 
packages found (-1 +0) (...)[Updating the pkgdb format:bdb1_btree in 
/var/db/pkg ... - 561 packages found (-1 +0) 
(...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:467: [BUG] Segmentation 
fault
ruby 1.8.2 (2004-07-29) [i386-freebsd5]

zsh: abort  portupgrade -P gnomevfs2-2.8.3_1
10:46 [EMAIL PROTECTED] /usr/ports# portupgrade -P gnomevfs2
[Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 561 
packages found (-1 +0) (...)[Updating the pkgdb format:bdb1_btree in 
/var/db/pkg ... - 561 packages found (-1 +0) 
(...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:239:in `origin': Cannot 
allocate memory: Cannot update the pkgdb!] (PkgDB::DBError)
   from /usr/local/lib/ruby/site_ruby/1.8/pkginfo.rb:178:in `origin'
   from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:913:in `tsort_build'
   from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `each'
   from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `tsort_build'
   from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:929:in `sort_build'
   from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:933:in `sort_build!'
   from /usr/local/sbin/portupgrade:674:in `main'
   from /usr/local/sbin/portupgrade:207:in `initialize'
   from /usr/local/sbin/portupgrade:207:in `new'
   from /usr/local/sbin/portupgrade:207:in `main'
   from /usr/local/sbin/portupgrade:1845
zsh: exit 1 portupgrade -P gnomevfs2

Any idea ?
I cannot figure why it suddently segfaulted, and why the  errors are not 
at the same line.

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


A stupid thing I've done...

2005-01-22 Thread Gregory Nou
Hi !
I've tried to chroot an user, so i create /home/this_user/usr and the 
other needed directories, but later, I wanted to delete them (as root of 
course) and i typed rm -r /usr instead of rm -r usr ...
It asked me if  i wanted to overwrite su, so i saw my mistake, and 
cancelled, but i don't have adduser, man, ee and ... make anymore !
How can I repair that ? can i do something without reinstalling 
everything ? (I need at least make... and I'm quite reluctant at 
compiling /usr/src/usr.bin/make ... So i hope there is another way)

Thanks a lot ...
--
Grégory Nou
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: iTunes server SUCCESS!! Here are my notes

2005-01-05 Thread Gregory Nou
Timothy Luoma wrote:
On Jan 4, 2005, at 2:10 PM, Alvaro J. Gurdián wrote:
 Are you controlling iTunes (and all it's music library) on your Mac 
from a FreeBSD box somewhere on the net, and playing it on the 
FreeBSD box?

Oh, there's one big caveat: there's apparently no way to tell iTunes 
to look for a iTunes server, it does it automatically... and I presume 
that it would NOT work over the internet, perhaps not even over a 
different subnet.

TjL
Did someone however try to install something like jTunes ? I was 
wondering installing it, and would have appreciate some tips about it. 
Anyway, thanks for the tips.

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


page fault at shutdown

2004-11-14 Thread Gregory Nou
Hi everybody,

Since I use FB 5.3 (beta 4, I know, I should update), I get a weird
problem.
When I do a ps aux | grep vr0, I get :

root22  0,0  0,0 0   12  ??  WL   23:19 0:15,50 [irq11: vr0
uhci0+]

I assumed that two different device shouldn't be on the same irq.
The problem I have occurs ONLY when I shut down the computer using gdm
(I mean Actions/shut down in gnome)
The shut down do everything normal but it fails to power off : it says
me that there is a page fault with this irq11
Since I wasn't really happy at the idea of hand writing the message, I
did not write it, but if it's necessary, I may do it.
What do you think about it ? is it a problem with my hardware (for
example, my bios is too stupid, or I am too stupid :)) or is it a pb
with freebsd ?

Cheers,
-- 
Grégory

PS : I formerly sent a mail reporting a pb with mount_smbfs which tried
to unload smbfs.ko which was statically compiled in the kernel. Nobody
have an idea about it ?

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


smbfs and kldload

2004-11-04 Thread Gregory Nou
Hi,

here is my (kind of) problem.
At school, we are forced to backup our docs (e.g. java code and tex
reports) on a windows server.
So I always did it with smbclient.
But now, I would love to do it with mount_smbfs, since I think it would
be easier (read more pratical)
But I compiled it statically (as I'm not sure it's the proper way to
express it : it's not a module, it's in my kernel)
Then, this happens :

# mount_smbfs //[EMAIL PROTECTED]'s.server.samba/my_account /mnt/disque_u
mount_smbfs: kldload(smbfs): File exists
zsh: exit 71mount_smbfs //[EMAIL PROTECTED]'s.server.samba/my_account

I looked at the man and at google, and did find people experiencing the
same pb with vfsload instead of kldload, but no fix.
So my question is : do I need to recompile a kernel w/o smbfs and then
load it as a module, or is there another solution ?

thx for reading this

-- 
Grégory Nou

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


Sound problem

2004-10-27 Thread Gregory Nou
Hi folks !

Here is my question, related to sound.
My problem is that when I have more than 2 days of uptime, I experience
distorsions in the sound when I hear music, when I play games, or watch
films, and even if the load is at 0.16
More surprising (and maybe related, but it is another question), mplayer
tells me that my computer is actually too slow to watch a film (I have
an Athlon XP2400+, 1GB DDR and my disk has 2 GB free)
 
But today, something more weird appeared (here is the dmesg) :

Interrupt storm detected on irq12: pcm0 uhci2; throttling interrupt
source
pcm0:play:4: play interrupt timeout, channel dead
pcm0:play:4: play interrupt timeout, channel dead
pcm0:play:4: play interrupt timeout, channel dead
pcm0:play:4: play interrupt timeout, channel dead
pcm0:play:4: play interrupt timeout, channel dead

I had formerly launched xmms, but it was on pause, and no music was
playing. I only have a mouse on usb, and I didn't move it when that
crash.

16:29 [EMAIL PROTECTED] ~% uname -a
FreeBSD alfred.rez-metz.supelec.fr 5.3-BETA4 FreeBSD 5.3-BETA4 #3: Wed
Sep 29 03:43:34 CEST 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/KERN_GREG  i386

it's not that new, but I cannot remember having seen a problem like that
on [EMAIL PROTECTED], I suppose it's not related to a too old version...
(or I hope so)

Best regards,

Grégory

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


Re: Gnome very very very slow ...

2004-10-01 Thread Gregory Nou
Ok, thanks a lot, that worked (next I'll RTFM a bit more before asking
(ashamed))
I put net.inet.tcp.blackhole to 0 and as a miracle all the windows I was
waiting appeared.
Since, I can't understand, why it formerly worked.
I made gnome work without lo0 (so 127.0.0.1 was unknown ...) and with
tcp.blackhole at 2 and udp.blackhole at 1 ...



Le Ven 01/10/2004 à 12:52, Simon Barner a écrit :
 Hi,
 
 I guess you have to fix your hostname:
 
 http://www.freebsd.org/gnome/docs/faq2.html#q20
 
 Simon

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


Re: Turning off submission (587) port

2004-07-07 Thread Gregory Neil Shapiro
   I would prefer to shut this port down if I can. I'm unsure if and how it 
 can/do it. Other then that, would there be an effective ipfw rule that would 
 block this?

1. cd /etc/mail/
2. Edit `hostname`.mc (if it doesn't exist, cd /etc/mail; make)
3. Add this next to one of the other FEATURE()
   lines: FEATURE(`no_default_msa')
4. Type: make install  (will overwrite sendmail.cf so if you have
   customized that file by hand, you will lose those customizations)
5. Type: make restart

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


Re: Turning off submission (587) port

2004-07-07 Thread Gregory Neil Shapiro
 AFAIK, it is sufficient to edit /etc/mail/sendmail.cf and
 comment or delete  the follwoing line:
 O DaemonPortOptions=Port=587, Name=MSA, M=E
 and restart sendmail afterwards.

Hand editing the sendmail.cf is a bad idea.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[no subject]

2004-06-30 Thread Gregory Edigarov
[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]
Cc: 
Bcc: 
Subject: PPP Multilink, FreeBSD, Squid
Reply-To: 

Hello,

I have Squid-2.5 running on FreeBSD 5-Current. We have 2 ppp links,
and use them in multilink mode, through userlevel ppp.
If one or both links fail and then come up, say, if I just turn the
modem power off and on all the  web browsing becomes very slow squid.
It takes forever for squid to show a page which, in a normal
conditions, would take only a few seconds. Pings to those sites I am
trying to open are just fine.
Taking squid down and then up have no effect. The only thing help is rebooting 
the whole system. 

Is there anything I can do?
-- 
With best regards,
Gregory Edigarov
--
profi.kharkov.uaSystems Administrator
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Squid, FreeBSD, Multilink PPP

2004-06-30 Thread Gregory Edigarov
Hello,

I have Squid-2.5 running on FreeBSD 5-Current. We have 2 ppp links,
and use them in multilink mode, through userlevel ppp.
If one or both links fail and then come up, say, if I just turn the
modem power off and on all the  web browsing becomes very slow
squid.
It takes forever for squid to show a page which, in a normal
conditions, would take only a few seconds. Pings to those sites I am
trying to open are just fine.
Taking squid down and then up have no effect. The only thing help is
rebooting
the whole system.

Is there anything I can do?


-- 
With best regards,
Gregory Edigarov
--
profi.kharkov.uaSystems Administrator
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ipfw, 2 scripts

2004-05-28 Thread Gregory Edigarov
Hello,


bellow you will find 2 ipfw scripts, first one working, and second
is a very good looking, but not working.
what am I missing in the second script?

 first script starts here ---
#!/bin/sh
ipfw -f flush

ipfw add 1 check-state


ipfw add 100 allow all from any to any via lo0

ipfw add deny all from 10.0.0.0/8 to any in via tun0
ipfw add deny all from 172.16.0.0/12 to any in via tun0
ipfw add deny all from 192.168.0.0/16 to any in via tun0

ipfw add deny all from any to any frag
ipfw add divert natd all from any to 195.5.17.86 in

ipfw add allow icmp from me to any 
ipfw add allow icmp from any to me 


ipfw add allow gre from 192.168.5.0/24 to me
ipfw add allow gre from me to any

ipfw add allow tcp from me to any keep-state
ipfw add allow udp from me to any keep-state
ipfw add allow udp from any to me 53
ipfw add allow tcp from any to any established
ipfw add allow tcp from any to me 25 setup
ipfw add allow tcp from any to me ssh setup
ipfw add allow tcp from any to me http setup via tun0
ipfw add allow tcp from 192.168.7.0/24 to me 3128 setup via ppp\*
ipfw add allow tcp from 192.168.7.0/24 to me 2080 setup via ppp\*
ipfw add allow tcp from 192.168.7.0/24 to me pop3 setup via ppp\*
ipfw add allow tcp from 192.168.5.0/24 to me pptp setup
ipfw add allow tcp from 192.168.5.0/24 to me ftp\\-data-ftp setup via em0
ipfw add allow tcp from any to me 53 setup


ipfw add skipto 1 all from 192.168.7.40 to any in keep-state
ipfw add skipto 1 all from 192.168.7.65 to any in keep-state
ipfw add skipto 1 all from 192.168.7.100 to any in keep-state
ipfw add deny all from any to any

ipfw add 1 divert natd all from 192.168.7.40 to any out keep-state
ipfw add divert natd all from 192.168.7.65 to any out keep-state
ipfw add divert natd all from 192.168.7.100 to any out keep-state
ipfw add allow all from any to any
 first script ends here 

after some more thinking I have decided to structurize the firewall
behavior, i.e. I wanted to have different sets of rules for 2 my
nets, plus one for nat.
Here's how I've tryed to do it:

 second script starts here 

#!/bin/sh
ipfw -f flush

ipfw add 1 check-state

ipfw add deny all from 10.0.0.0/8 to 195.5.17.86
ipfw add deny all from 172.16.0.0/16 to 195.5.17.86
ipfw add deny all from 192.168.0.0/16 to 195.5.17.86

ipfw add deny all from any to any frag

ipfw add allow udp from me to any keep-state
ipfw add allow tcp from me to any keep-state
ipfw add allow icmp from me to any keep-state
ipfw add allow all from me to any


ipfw add allow tcp from any to any established

ipfw add skipto 1000 all from any to 195.5.17.86 in via tun0
ipfw add skipto 2000 all from 192.168.5.0/24 to me in via em0
ipfw add skipto 3000 all from 192.168.7.0/24 to me in via ppp\*
ipfw add skipto 4000 all from 192.168.5.0/24 to not me via em0
ipfw add skipto 5000 all from 10.100.105.0/24 to not me via em0
ipfw add skipto 6000 all from 192.168.7.0/24 to not me out xmit tun0
ipfw add deny log all from any to any  

ipfw add 1000 divert natd all from any to 195.5.17.86

ipfw add allow tcp from any to me smtp setup
ipfw add allow tcp from any to me ssh setup
ipfw add allow tcp from any to me domain setup
ipfw add deny all from any to any

ipfw add 2000 allow tcp from 192.168.5.0/24 to me ftp\\-data-ftp setup
ipfw add allow tcp from 192.168.5.0/24 to me pptp setup
ipfw add allow udp from 192.168.5.0/24 to me 53
ipfw add allow icmp from 192.168.5.0/24 to me 
ipfw add allow gre from 192.168.5.0/24 to me 
ipfw add deny all from any to any

ipfw add 3000 allow tcp from 192.168.7.0/24 to me 3128 setup
ipfw add allow tcp from 192.168.7.0/24 to me 2080 setup
ipfw add allow tcp from 192.168.7.0/24 to me 25 setup
ipfw add allow tcp from 192.168.7.0/24 to me 80 setup
ipfw add allow tcp from 192.168.7.0/24 to me 110 setup
ipfw add allow udp from 192.168.7.0/24 to me 53 

ipfw add deny all from any to any

ipfw add 4000 allow all from any to 10.100.105.0/24 via em0
ipfw add deny all from any to any

ipfw add 5000 deny all from 10.100.105.0/24 to any out via tun0
ipfw add deny all from 10.100.105.0/24 to me via em0
ipfw add allow all from 10.100.105.0/24 to any
ipfw add deny all from any to any

ipfw add 6000 divert natd all from 192.168.7.40 to any via ppp\*
ipfw add divert natd all from 192.168.7.100 to any via ppp\*
ipfw add divert natd all from 192.168.7.65 to any via ppp\*
ipfw add allow all from any to any
 second script ends here ---

some comments:
192.168.5.0/24 - my base network.
192.168.7.0/24 - my vpn network
10.100.105.0/24 - network of our friends. we can use some of the
services there, 192.168.5.77 - is the gateway between 192.168.5.0/24
and 10.100.105.0/24.

with second script (which is logically correct for the situation)
nothing works.

What should I do?
If you need some additional info  - just ask me.


-- 
With best regards,
Gregory Edigarov
--
profi.kharkov.ua

ipfw q

2004-05-07 Thread Gregory Edigarov
Hello, list.

Can anybody help me as I can really understand nothing.
The scenario:  
there is two nets: 192.168.5.0/24 and 192.168.7.0/24.
All users normally sit in 192.168.5.0/24, using 192.168.7.0/24 as
VPN addresses.
All VPN users have access to squid, socks, mail, and pop3.
everithing works fine, but now I need to give a direct access for
2 hosts: 192.168.5.220 and 192.168.7.70.
I wrote the following rc.firewall script (tun0 is my outside
interface):
---
#!/bin/sh
ipfw -f flush

ipfw add check-state
ipfw add allow all from me to any

ipfw add allow all from any to any via lo0

ipfw add deny all from 10.0.0.0/8 to any in via tun0
ipfw add deny all from 172.16.0.0/12 to any in via tun0
ipfw add deny all from 192.168.0.0/16 to any in via tun0
ipfw add allow icmp from me to any keep-state
ipfw add allow icmp from 192.168.5.0/24 to me 
ipfw add deny all from any to any frag

ipfw add divert natd all from 192.168.5.220 to any out xmit tun0
ipfw add divert natd all from 192.168.7.70  to any out recv ppp\* xmit tun0
ipfw add divert natd all from any to 195.5.17.86 in recv tun0
ipfw add allow all from 192.168.5.220 to any in via sk0 
ipfw add allow all from 192.168.7.70 to any in via ppp\*
ipfw add allow all from me to any
ipfw add unreach filter-prohib ip from not me to any out recv any xmit tun0

ipfw add allow gre from 192.168.5.0/24 to me
ipfw add allow gre from me to any


ipfw add allow tcp from me to any keep-state
ipfw add allow udp from me to any keep-state
ipfw add allow udp from any to me 53
ipfw add allow tcp from any to any established
ipfw add allow tcp from any to me 25 setup
ipfw add allow tcp from any to me ssh setup
ipfw add allow tcp from any to me http setup via tun0
ipfw add allow tcp from 192.168.7.0/24 to me 3128 setup via ppp\*
ipfw add allow tcp from 192.168.7.0/24 to me 2080 setup via ppp\*
ipfw add allow tcp from 192.168.7.0/24 to me pop3 setup via ppp\*
ipfw add allow tcp from 192.168.5.0/24 to me pptp setup
ipfw add allow tcp from 192.168.5.0/24 to me ftp\\-data-ftp setup via sk0
ipfw add allow tcp from any to me 53 setup

ipfw add deny log all from any to any


Installed it, then used natd -n tun0.
Then I am trying to go somewhere using something like: 
ping freebsd.org.
it doesn't work. 
What am I missing? How should I rewrite my script to achieve a full
power?
Thanks a lot in advance. 
-- 
With best regards,
Gregory Edigarov
--
profi.kharkov.uaSystems Administrator
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


any way to recover root password on 5.2

2004-05-06 Thread Gregory Edigarov
Hello,

I forgot root pasword on my just installed server.
I've tryed to recover it by going to single user, then doing 
mount -a; passwd root, but no success. It says entropy device
blocking. Dance fandago on keyboard to unlock.
what can I do?
-- 
With best regards,
Gregory Edigarov
--
profi.kharkov.uaSystems Administrator
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


APC BackUPS RS 500 (USB) (it continues)

2004-04-08 Thread Gregory Edigarov
OK folks, with the great help of Mike Tancsa I am half the way
through the writing of my daemon.
Now I need to know how can I kill the inverter after
successful system shutdown.
The sources of apcupsd are very Linux-specific, so I cannot use them
as a reference. 
Anybody?

-- 
With best regards,
Gregory Edigarov
--
profi.kharkov.uaSystems Administrator
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


APC UPS with USB ? Anybody?

2004-04-06 Thread Gregory Edigarov
Hi,

I need to connect my freebsd server to APC BackUPS 500 RS. The
problem is that apcupsd does not support this combination.
Ports was not really helpful. So, if anybody have the patches, or
any idea of how to make it working I would realy appreciate it. 
Thanks a lot in advance.
-- 
With best regards,
Gregory Edigarov
--
profi.kharkov.uaSystems Administrator
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Warning in fstream header file

2004-03-14 Thread Gregory Harris
Ah, I found that upgrading from freebsd 5.1 to 5.2.1 fixes this issue. 
Thanks

Greg


On Sun, 2004-03-14 at 07:53, Lowell Gilbert wrote:
 Gregory Harris [EMAIL PROTECTED] writes:
 
  Hello.  I'm not sure if this is the appropriate spot to ask, but I don't
  seen any alternative places since it is a freebsd-specific programming
  problem.  When I compile the following simple program:
  
  #include fstream
   
  int main()
  {
  }
  
  I get this output:
  
  -bash-2.05b$ g++ -Wall -o fstream-warnings fstream-warnings.cpp
  In file included from fstream-warnings.cpp:1:
  /usr/include/g++/fstream:304: warning: `typename
  std::basic_filebuf_CharT,
 _Traits::int_type' is implicitly a typename
  /usr/include/g++/fstream:304: warning: implicit typename is deprecated,
  please
 see the documentation for details
  /usr/include/g++/fstream:309: warning: `typename
  std::basic_filebuf_CharT,
 _Traits::int_type' is implicitly a typename
  /usr/include/g++/fstream:309: warning: implicit typename is deprecated,
  please
 see the documentation for details
  
  How can I get rid of these warnings in the header file?  Is fstream
  itself deprecated or is it just an error in the header file?  Thanks.
 
 There is no error involved here, just warnings.
 
 You could update your compiler, and the warnings should go away.
 [I think -- you didn't mention anything about your system, so it's
 impossible to be sure.]

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


ipfw keep-state (ASAP anwser need)

2003-12-09 Thread Gregory Edigarov
Hello,

The folowing is a fragment of my rc.firewall which must allow all
traffic in and out of my named.


ipfw add 4100 allow udp from me to any 53 keep-state
ipfw add 4200 allow udp from any to me 53
ipfw add 4300 allow udp from me 53 to any
---
This is a fragment from my kernel configuration:
---
options IPFIREWALL  #firewall
options IPFIREWALL_VERBOSE  #enable logging to
syslogd(8)
options IPFIREWALL_FORWARD  #enable transparent proxy
support
options IPFIREWALL_VERBOSE_LIMIT=100#limit verbosity
options IPDIVERT#divert sockets
options IPSTEALTH
options ICMP_BANDLIM
options DUMMYNET
options BRIDGE
options IPFW2
---
It doesn't work. What am I missing?

-- 
With best regards,
Gregory Edigarov
--
profi.kharkov.uaSystems Administrator
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SCO going after BSD???

2003-11-19 Thread Gregory Sutter
On 2003-11-19 20:11 -0500, SWIT [EMAIL PROTECTED] wrote:
 is this a unix thing or what.
  many times i get messages from the list were the message is an attachment
 and not in the email.
 was curious as to why.

The messages you see as attachments are messages that have been PGP
signed to prove their authenticity.  The problem is with Outlook
Express.  Not only does it fail to support PGP/MIME (many programs
don't support PGP/MIME and still can display PGP signed email
correctly), but it is actually broken.  Outlook Express ignores the
following MIME headers in the message:

  Content-Type: text/plain; charset=iso-8859-1
  Content-Disposition: inline

These headers show that the part is not an attachment but should be
displayed inline, and that it contains pure text that doesn't need a
special handler to be displayed.  Why Outlook Express fails to
recognize this, and why Microsoft fails to issue a patch to fix the
problem, is unknown.

[
Response paraphrased from:
http://lists.gnupg.org/pipermail/gnupg-users/2003-September/020155.html
]

Greg
-- 
Gregory S. Sutter   Fighting ignorance since 1975!
mailto:[EMAIL PROTECTED] (It's taking longer than I thought.)
http://zer0.org/~gsutter/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


invalid argument

2003-11-12 Thread Gregory Stearns
I have used mount -t cd9660 /dev/acd0c /cdrom
and mount_cd9660 /cdrom
It tells me that it is an invalid argument. I have a toshiba satelite laptop and I am 
running ver 4.7. My cdrom is a cdrw. What should I try next?
Thank you
-- 
__
Sign-up for your own personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Search Smarter - get the new eXact Search Bar for free!
http://www.exactsearchbar.com/

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


mounting a usb device

2003-11-12 Thread Gregory Stearns
I am trying to mount a usb device
I have tried mount /dev/usb0 /directory and I get block device required
When I plug it in I get
umass0: LEXAR MEDIA JUMPDRIVE ,  rev 1.10/0.01,   addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: LEXAR JUMPDRIVE 1.10 Removable Direct Access SCSI-CCS device
dao: 650KB/s transfers
da0: 61MB (125952 512 byte sectors: 64H 32S/T 61C)

How do I mount this and use it?
Thank you
-- 
__
Sign-up for your own personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Search Smarter - get the new eXact Search Bar for free!
http://www.exactsearchbar.com/

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


Super block errors

2003-11-11 Thread Gregory Stearns
Every time I try to mount my cdrw on my toshiba satelite lap top it comes back with 
invalid super block.
It also does this when I try to mount my jump drive.
What do I do to correct this in version 4.7 and 5.1

Thank you
-- 
__
Sign-up for your own personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Search Smarter - get the new eXact Search Bar for free!
http://www.exactsearchbar.com/

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


Writing Device Drivers in 5.1-RELEASE

2003-11-10 Thread Gregory Nutt
I'm trying to port the device driver for acx100 chipsets TO WORK ON 
FreeBSD.  However, all the guides I'm finding make reference to files that 
apparently are no longer used such as:

card_if.h
device_if.h
bus_if.h
etc...
and have been renamed to card_if.m, device_if.m, bus_if.m, etc...
even though these are includes in a good number of the device driver files 
included with this distro.  So far I just remmed out the includes of these 
files and am now stuck at the DEVMETHOD macro where it is not accepting 
functions such as device_probe, device_attach, device_detach, etc where I 
get an error saying ei. device_probe_desc undeclared here (not in a 
function).  I can find no headers that define the macro or the 
functions.  Please help!

Greg

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


how do you get a script to run

2003-11-01 Thread Gregory Stearns
I know I am retarded, how ever I can not get the script I wrote to run on Free BSD 4.7.
   Very Thankful for all the support,
  Greg
-- 
__
Sign-up for your own personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers

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


Super block error

2003-10-30 Thread Gregory Stearns

   When I try and mount my cdrom or my floppy I get an invalid super
   block error.

   I use the following command:

   mount  /dev/acd0c /cdrom

   How do I correct this error so that I may use my cdrom?

   Thank you,

   Greg Stearns
   --

   ___
   Sign-up for your own personalized E-mail at [1]Mail.com
   [2]CareerBuilder.com has over 400,000 jobs. Be smarter about your job
   search

References

   1. http://www.mail.com/?sr=signup
   2. http://corp.mail.com/careers
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


http from command line

2003-10-30 Thread Gregory Stearns
I hate to be a pest but is there a utility to do http web browsing from the command 
line, and how would I use it?

Also how do I configure Xwindows?
-- 
__
Sign-up for your own personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers

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


http from command line

2003-10-30 Thread Gregory Stearns
I hate to be a pest but is there a utility to do http web browsing from the command 
line, and how would I use it?

Also how do I configure Xwindows?
-- 
__
Sign-up for your own personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers

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


http from command line

2003-10-30 Thread Gregory Stearns
I hate to be a pest but is there a utility to do http web browsing from the command 
line, and how would I use it?

Also how do I configure Xwindows?
-- 
__
Sign-up for your own personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers

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


Re: make buildworld error

2003-10-22 Thread Gregory Neil Shapiro
 === etc/sendmail
 make: don't know how to make freebsd.cf. Stop
 *** Error code 2

Does /usr/src/etc/sendmail/freebsd.mc exist?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


soft-updates on a file-backed md (vn) device?

2003-09-30 Thread Gregory (Grisha) Trubetskoy

Is there any benefit (reduced IO) to enabling soft-updates on a
file-backed md device (formerly vn), even though the filesystem on which
the backing file lives already has it enabled?

Thanks for any comments!

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


Re: mergemaster fails when building temproot

2003-09-05 Thread Gregory Neil Shapiro
 mergemaster fails saying freebsd.cf does not exist when
 building temproot.
 
 Have I missed something here?

You need to install the new version of mergemaster before
running it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Dell 400SC

2003-08-14 Thread Gregory Norman
Hello all,

I am considering buying a Dell 400SC to install FreeBSD 4.8-Stable useing it as a 
webserver and gateway. I notice that it is sold with a Red Hat configuration options. 
I was wondering if anyone here have installed FreeBSD on this machine. Any other 
thoughts/ideas about this machine as an entry level server would be appreciated.

Thanks

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


complicated routing q

2003-08-14 Thread Gregory Edigaroff
Hello,

I have something like this:

ppp1 --
Router (FreeBSD) - Network
ppp2 --

Where ppp1 and ppp2 are ppp links looking at the same provider.

I would like to implement a load balancing and backup over ppp links.
I thought that in order to achieve this I need to add a second default 
route i.e. something like:

route add -net default $ppp1-ip
route add -net default $ppp2-ip  

this doesn't work.
What can I do?

-- 
With best regards,
Gregory Edigarov

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


ppp question

2003-08-14 Thread Plunkett, Ian Gregory (UMC-Student)
Hello all,
 
I am having a heck of a time getting ppp to work correctly.  I can connect to my isp 
using ppp manually (going into TERM mode, etc.).  But once I am connected this way I 
can't return to packet mode and I can't access the internet outside of that terminal 
window.  
 
I have also tried using kppp.  When I use this, I can access locations if I know the 
IP address but not if I type in the web address.  I included the correct dns when I 
configured the connection, still I get nothing if I type in the web address.
 
thanks for the help,
ian
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Did I do something wrong?

2003-08-09 Thread Gregory Felter
  I received the information for my dedicated FreeBSD box today from the 
hosting company.  It's an unmanaged box which was supposed to be running 4.8 
but is running 5.1 because they said 4.8 would not install (Doubtful to me, 
sounds like an order mix up)
  I did as instructed and changed my login password to the account they set 
for me and the SU password.  Next I found that they did a minimal install so 
through sysinstall I went to post install configurations and loaded in all 
distribution sets including ports.  When this finished I installed my editor 
of choice, pico.  In order to use pico after just installing it you must 
exit out from root and log in as root again.  I typed exit and was back to 
my account prompt.  For some reason I typed uname -a to see what info would 
show up.  After looking at the output I typed su and received back who are 
you? I was surprised at the response so I typed su again, same response.  
Now, not knowing what to think, I said well I'll try logging in again.  I'm 
still trying to log on!  I'm locked out of the box.
 I know this is rather long but I just want to make sure I didn't do 
anything wrong.  I'm not new to FreeBSD but this really has me puzzled.  Did 
I screw up?  Did they make a faulty install?  Any thoughts?

_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

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


Disable Tips

2003-08-03 Thread Gregory Felter
How would I disable the tips that appear when you login.

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

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


Installing PHP4 from ports fail

2003-08-02 Thread Gregory Norman
Hello all,

I am trying to install mysql323, apache13 and php4 on 4.4 Release. So 
far I have  successfully installed mysql and apache, with php it is a 
different story.

I have two issues. I have a question about apache, and I would like some 
help getting php installed on my machine.

I installed apache13-server. Will this installation allow me to use ssl?

When I try to install php the installation fail repeatedly at this point.

-Wl,-rpath -Wl,/usr/local/lib ../lib/libbison.a
Making all in doc
makeinfo --no-split   -I .  `test -f 'bison.texinfo' || echo 
'./'`bison.texinfo -o bison.info
bison.texinfo:37: Unknown command `copying'.
bison.texinfo:58: Unmatched [EMAIL PROTECTED]'.
bison.texinfo:93: Unknown command `insertcopying'.
makeinfo: Removing output file `bison.info' due to errors; use --force 
to preserve.
*** Error code 2

Stop in /usr/ports/devel/bison/work/bison-1.75/doc.
*** Error code 1
Stop in /usr/ports/devel/bison/work/bison-1.75.
*** Error code 1
Stop in /usr/ports/devel/bison/work/bison-1.75.
*** Error code 1
Stop in /usr/ports/devel/bison.

After the installation failed I did the following:
 make clean  /usr/ports/lang/php4
cd /usr/ports/devel/bison
make clean
make
The bison installation fails repeatedly at the same place and with the 
same error messages as the php installation.

If someone could help me, offer any suggestions or pointers I would 
appreciate it.

Gregory Norman

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


Re: [SDBUG] Mirroring tool? web snake? getbot?

2003-07-30 Thread Gregory Sutter
On 2003-07-29 21:54 -0700, Peter Leftwich [EMAIL PROTECTED] wrote:
 Hi all.  I'm searching and searching the (X11 / GUI) ports at
 www.freebsd.org and www.freshmeat.net but I was wondering if some of you
 could help me with a better, targeted keyword that describes this kind of
 tool or application?
 
 All I'd like is a graphical tool that prompts the user for a URL then
 proceeds to mirror that URL to the working directory or to a base
 directory specified in its preferences.  It would also be nice to filter by
 URL's ending in ___ for example, .jpg, .jpeg, .mp3, and so forth.

A command-line tool to do this: /usr/ports/ftp/wget

A graphical tool to do this: c:\winnt\setup.exe

Greg
-- 
Gregory S. Sutter  In view of the stupidity of the majority
mailto:[EMAIL PROTECTED]of the people, a widely held opinion is
http://zer0.org/~gsutter/  more likely to be foolish than sensible.
hkp://wwwkeys.pgp.net/0x845DFEDD   --Bertrand Russell


pgp0.pgp
Description: PGP signature


Help upgrading 4.4 Release - 4.8 Stable

2003-07-12 Thread Gregory Norman
Hello

I'm trying to upgrade from 4.4 Release to 4.8 Stable. Everything goes 
well until I reboot after building and installing my custom kernel. This 
machine is a gateway, nat, ipfw. I will also install MySQL, Apache,  and 
PHP4 after upgrading.  Prior to upgrading everything worked fine.

When I reboot it hangs after:
ppi0: Parallel I/O on ppbus0
I have a copy of my previous kernel and can boot up using it.

Here is a snippet of the probe showing where it fails:
sio at port 0x2f8-0x2ff irq 3 on isa 0
sio1:type 16550a
ppc0:Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
lpt0:Printer on ppbus 0
lpt0:Interrupt-driven por
ppi0:Parallel I/O on ppbus0 #it hangs here and fail.
It seem as though the probe fail while searching for dummynet. After 
ppi0:Parallel I/O on ppbus0 during a successful boot system probe shows
DUMMYNET initialized (xx)
IP packet filtering initialized, divert enabled, rule-based forwarding 
disabled,.

According to UPDATING there were changes made with dummynet, bridging 
and ipfw  between 4.4 Release and 4.8 Stable. I tried commenting 
dummynet and bridging in my custom kernel, rebuilding and installing the 
kernel with those changes. A 4.8 Stable boot still fail at the same 
place.

A kernel with ppi0Parallel I/O on ppbus0 disabled does not work  
either. I have not been able to find a solution by searching google, and 
FreeBSD.org either. I have reinstalled the entire OS, starting from a 
clean install of 4.4 Release, still no success.

Any help, suggestion, pointers, or ideas would be appreciated.

i386

Gregory

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


MOXA C-104H/PCI support?

2003-07-09 Thread Gregory Edigaroff
Hello,

Does it supported in 4.8 Release? Any success stories?
Thanks.
-- 
With best regards,
Gregory Edigarov

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


Re: cvsup tag for 4.8-STABLE?

2003-06-28 Thread Gregory Norman
Hello,

On the same note, will *default release=cvs tag=RELENG_4_8 work to 
update from 4.4 Release to 4.8 Stable?

Gregory Norman

On Saturday, June 28, 2003, at 10:41 AM, Lowell Gilbert wrote:

Christoph Kukulies [EMAIL PROTECTED] writes:

I wanted to cvsup src-all from 4.8-STABLE and tried with
*default release=cvs  tag=RELENG_4
Is this correct?
Either that or RELENG_4_8, where the latter only gets absolutely
critical fixes.
The cvsup went fine but building the src tree resulted in
errors.
First I got some from some multiply defined typedef (first make world).
You mean make buildworld?  If not, please try the recommended
procedure before asking for help.
Then I did a 'make includes' FWIW, and the subsequent make world then 
gave
a different error:

In file included from 
/usr/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/terminal.
c:35:
/usr/include/termcap.h:42: ncurses_dll.h: No such file or directory
mkdep: compile failed
*** Error code 1

I could have a tainted installation with traces from 5.0R but I thought
that a cvsup would wipe them out in /usr/src and /usr/include as well.
In the former, only if you had adopted the source tree first (see
the cvsup faq).  In the latter, no, not necessarily.
Moving from 5.x to 4.x through a source upgrade is going to be a bit
tricky, even for experts.  Cleaning out the stuff that no longer
applies is definitely part of the problem.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Upgrade fail on reboot

2003-06-24 Thread Gregory Norman
I'm trying to upgrade from 4.4 Release to 4.8 Release. Everything goes 
well until I reboot after building and installing my new kernel. This 
machine serve as a gateway, nat, ipfw. I'm using a custom kernel. Prior 
to upgrading everything worked fine.

When I reboot it hangs after:
ppi0: Parallel I/O on ppbus0
I have a copy of my previous kernel and can boot up using it.

Here is a snippet of the probe from a successful boot using the previous 
kernel:
sio at port 0x2f8-0x2ff irq 3 on isa 0
sio1:type 16550a
ppc0:Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
lpt0:Printer on ppbus 0
lpt0:Interrupt-driven por
ppi0:Parallel I/O on ppbus0
Dummynet initialized (010124)

It seem as though the probe fail while searching for dummynet.

i386
133MHz
64
Gregory

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


Re: How can convert user expired days in human readable ?

2003-06-22 Thread Gregory Bond
Or for a way that works on all platforms with perl and not just FreeBSD 
platforms with date -r):

perl -e 'print scalar localtime(1064005200),\n'


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


Re: [SDBUG] TZ

2003-06-18 Thread Gregory Sutter
On 2003-06-18 18:04 -0700, Peter Leftwich [EMAIL PROTECTED] wrote:
 Well I'm sitting here typing date over and over but she doesn't appear. :)
 
 Actually, I was looking for something more in the output, namely, the GMT
 offset such as (-0800 PDT) then I finally noticed that PDT *is* there.
 
 But I can't remember where I specified that!  A grep of PDT in /etc/* and
 /boot/* returns nothing relevant.  I also can't remember if this is
 something that can be played with in userland, that is, as a postprocessor
 (e.g. the tcsh shell using set or setenv).  Ideas, from any timezone?

Peter,

You specified it using sysinstall, which you can do again; alternately,
'man tzsetup' for the direct command.  'man tzset' for the relevant
functions in libc.

I'd also like to help you find things on your system more easily.
I suspect you don't know about the 'apropos' command (aka 'man -k'),
which shows you short descriptions of system commands relevant to
keywords you give it.  In your example, 'apropos timezone' includes
the correct results.  Apropos isn't the greatest search tool ever
but it usually gives you what you need if you search for the base(s)
of your search needs.  'apropos zone' shows a small (usable) list,
and even 'apropos time' works if you want to sort through a bunch
of results.

(You can also use 'locate' to find things on your system, but the
timezone example is really bad (3 levels of indirection through C
functions before you find out about tzsetup) so I won't go into
detail.)

Greg


pgp0.pgp
Description: PGP signature


Re: [SDBUG] TZ

2003-06-18 Thread Gregory Sutter
On 2003-06-18 21:40 -0400, Peter Leftwich [EMAIL PROTECTED] wrote:
 On Wed, 18 Jun 2003, Gregory Sutter wrote:
  On 2003-06-18 18:04 -0700, Peter Leftwich [EMAIL PROTECTED] wrote:
   Well I'm sitting here typing date over and over but she doesn't appear. :)
 
 *lament*  None of my fellow nerds have quite the sense of humour I expected!

find; date; talk; touch; unzip; finger; expand; strip; head; mount;
yes; yes; yes; eject; more; sleep; exit
 
 Yeah yeah yeah . . . I gave up after running `man timezone` and being told
 about C functions that parts of the compiled OS use *smiles*

Well, use the 'See Also' sections of their manpages to track your way
toward what you want.  timezone--ctime--tzset... hmm, there's a missing
'See Also'.  I'll see if I can fix up some of the references there to
make it easier to find this information.

Anyway, man, apropos is apropos here.
 
 locate is evil -- I much prefer `find . -iname *something* -print` :)

Locate is great!  You don't have to wait for the disk!
 
 Does locate offer real-world manpage examples (which are badly-needed)?

locate string will find string in any filename on the system.  How
many examples could you need?

Greg
-- 
Gregory S. Sutter  The whole problem with the world is that
mailto:[EMAIL PROTECTED]fools and fanatics are always so certain
http://zer0.org/~gsutter/  of themselves, and wiser people so full
hkp://wwwkeys.pgp.net/0x845DFEDD   of doubts.  --Bertrand Russell


pgp0.pgp
Description: PGP signature


Re: IPFW question in 2.2.8 release?

2003-01-22 Thread Gregory Bond
IPFW question in 2.2.8 release? 

Ouch!  Dummynet was very new and probably best classed as experimental in
2.2.8, and even in most of the 3.x line it was a bit flakey.  I'm not surprised
you are having trouble with it and I'm also not surprised Luigi is unwilling or
unable to debug obsolete code.  2.2.8 was EOL'd ages ago and you will be
unlikely get any help from anyone without upgrading to a recent 4.x version.

Greg.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Missing file - Help!

2003-01-02 Thread Gregory Carvalho
I know you didn't ask, but you might consider using NUT (Network UPS
Tools) which has extensive architecture and device support (including
USB UPSes).

BTW, I used:

find / -name int*4

on FreeBSD 3.2, FreeBSD 4.6, and FreeBSD 4.7 Release, but the results
did not contain your indicated file.

Steven Lake wrote:
 
 Hi all.  I was trying to build and install apcupsd and during the
 build I get this error:  shared library intl.4 does not exist
 
 Anybody know how to fix this?  I've never seen this error before
 and have no idea what this file is or does.  Thanks for the help.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: debugging wheel mouse

2002-12-01 Thread Gregory Bond
I've solved the problem.

If you configure XFree86 to use Protocol sysmouse then wheel scrolling will 
not work, because this puts the mouse into 5-byte mode which only supports 3 
buttons.  You have to use protocol auto in the XFree86 config to enable 
sysmouse 8-byte protocol with support for buttons 4  5.

This is not mentioned anywhere that I can find.  I'll get the FAQ updated.

Debugging was a pain, basically I ran kdump on the X server and looked at the 
I/O from the mouse device, then had a read of the appropriate machine/mouse.h 
header and discovered that the 5-byte protocol was not good enough.  A lot 
more fiddling and trial-and-error produced the fix.

Greg.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: debugging wheel mouse

2002-12-01 Thread Gregory Bond
 I disagree. The necessity of protocol auto is documented all the heck
 over the place, from the Handbook to the FAQ to the README.mouse file
 that comes with X itself.


Well, I spent a week or so reading the FAQ, searching the mail lists, reading
man pages and never saw  the fact that protocol auto gave different results
to protocol sysmouse mentioned - nor the fact that although protocol auto
reports it is using sysmouse, it is not the same.   That is just plain
confusing and should be prominently mentioned.  I never saw any such mention,
despite plenty of effort to solve this problem, so I reckon it needs better
documenting.

And, README.mouse says,

3.3  FreeBSD

FreeBSD supports the SysMouse protocol which must be specified when the
moused daemon is running in versions 2.2.1 or later.

When running the mouseddaemon, you must always specify the /dev/sysmouse
device and the SysMouse protocol to the X server, regardless of the actual
type of your mouse.

which actually tells you to do the +wrong+ thing.




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message