Re: wireless 3945 status?

2006-12-18 Thread Parv
in message <[EMAIL PROTECTED]>,
wrote Vince thusly...
>
> Marwan Sultan wrote:
> >
> > What about 3945ABG
> >
> > any news or updates for Intel PRO/Wireless 3945ABG ?
...
> > I my self, tried many drivers and many packegs, but nothing
> > works in fact.
> > including
> > http://ipw3945.sourceforge.net/
...
> Last I heard the only driver for the 3945ABG is the unsupported
> one by Damien Bergamini. however this post
> http://lists.freebsd.org/pipermail/freebsd-drivers/2006-December.txt
> gives me hope :) Look for the link for wpi-freebsd.tgz, that
> should be a driver that works to some extent.

I had partial success with the wpi driver on Toshiba Satellite
A105-40??.  I need to systematically write the steps & the output &
post about the problems to the -mobile@ list.

In short, before I recompiled the kernel (6.2-PRERELEASE) with kdb,
& more importantly with WITNESS & INVARIANTS support, after loading
the driver, system used to go in panic on shutdown or reboot.  There
definitely was a working connection during my unstructured testing.

Will post again w/ more details.


  - Parv

-- 

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


Re: .bst files installation

2006-12-18 Thread Saifi
>  From: Lowell Gilbert <[EMAIL PROTECTED]>
>  Subject: Re: .bst files installation
>  Sent: 19 Dec '06 00:20
>  
>  "Saifi" <[EMAIL PROTECTED]> writes:
>  
>  > Which package in ports need to be installed in order to have .bst files 
> installed ?
>  >
>  > The .bst files are required when specifiying the \bibliographystyle{} in 
> .tex files.
>  
>  Note that you are using LaTeX, not TeX.  
>  Any version of LaTeX should do (if I remember correctly; I don't have
>  it installed on my booted machines, and I haven't used BibTeX since
>  the days of LaTeX 2.09).  These days, the print/teTeX port is
>  the most common way to install TeX and its common utilities.
>  

Hi Lowell:

Thanks for your mail.

On the FreeBSD 6.2-RC1 system, latex is already installed.

Now, when I try to install teTex, it conflicts with the existing installation.


bsd# make install
===>  Installing for teTeX-3.0_1

===>  teTeX-3.0_1 conflicts with installed package(s):
  dvips-5.76
  latex2e-2003.12_1
  tex-3.14159_3

  They install files into the same place.
  Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/print/teTeX.


Bibliographic style files are required by Bibtex and so I thought
that there would be a single independent package (like mplayer codecs) 
that would need to be installed.

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


Re: Server Problem

2006-12-18 Thread Beech Rintoul
On Monday 18 December 2006 13:51, ossama abdel-haleem wrote:
> Dear Sir,
>   I have HP Proliant ML 370 G4 server with dual Processors 3.6 intel xeon
> and HP Smart RAID controller (Config=>RAID5) (146GB * 6) + (4 GB Of RAM.)
> The server working as application server (Tailored Software) based on
> POSTGRESQL server. I installed the FreeBSD 6.1 to serve 100 users with the
> application so - after period of time I found an error message appeared on
> the server : Kern. Maxfiles Limit Exceeded By UID 1001, Please See Tuning
> (7).
>
>   What is the problem? Can You Help Me because after this message appears
> the server activities down.
>
>   Thanks
>   Ossama Abdel Haleem

The problem is too many files open.

Add this to /etc/sysctl.conf

kern.maxfiles=16144

Then in a terminal type: 

sysctl kern.maxfiles=16144

If you still get the error try increasing it some more. 

Also you should read man tuning as the  error message suggests, especially the 
section about kern.maxfiles.

Beech

-- 
---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpveu7Srf7ZV.pgp
Description: PGP signature


Re: Server Problem

2006-12-18 Thread Jonathan Horne
On Monday 18 December 2006 16:51, ossama abdel-haleem wrote:
> Dear Sir,
>   I have HP Proliant ML 370 G4 server with dual Processors 3.6 intel xeon
> and HP Smart RAID controller (Config=>RAID5) (146GB * 6) + (4 GB Of RAM.)
> The server working as application server (Tailored Software) based on
> POSTGRESQL server. I installed the FreeBSD 6.1 to serve 100 users with the
> application so - after period of time I found an error message appeared on
> the server : Kern. Maxfiles Limit Exceeded By UID 1001, Please See Tuning
> (7).
>
>   What is the problem? Can You Help Me because after this message appears
> the server activities down.
>
>   Thanks
>   Ossama Abdel Haleem

i think you must be referring to.  on my system, the default setting can be 
seen, like this:

[EMAIL PROTECTED] ~]$ sysctl -a|grep kern.maxfiles
kern.maxfiles: 12328

in order to raise this, a line would be added to /boot/loader.conf, like this:
kern.maxfiles=24576

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


Re: openssh security issues

2006-12-18 Thread Eric

Michael P. Soulier wrote:

On 17/12/06 Eric said:

  

why not install the portable version? its much newer than the one you have.



I don't know what you mean by the portable version. 


Can I assume that the answer to my original question then, is no?

Mike
  

i dont recall the original question! =)

openssh-portable is what i am speaking of.

the port is at /usr/ports/security/openssh-portable

current version is at 4.5 whereas yours was 1-2 major versions behind that.

check it out. once its installed, add this to /etc/rc.conf

sshd_enable="NO"
openssh_enable="YES"

that way the built in ssh doesnt run but openssh does. works wunderbar!

http://cvsweb.freebsd.org/ports/security/openssh-portable

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


Re: mailman upgrade problem

2006-12-18 Thread Paul Schmehl
--On December 18, 2006 8:46:28 PM -0500 "Michael P. Soulier" 
<[EMAIL PROTECTED]> wrote:



On 17/12/06 Paul Schmehl said:


Apparently you're running Postfix.


Is this problem unique to postfix?

No.  If you read the docs for mailman, you'll find that almost every mail 
server uses a different group, so you have to account for that when you 
install.


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: openssh security issues

2006-12-18 Thread Jay Chandler

Michael P. Soulier wrote:

On 17/12/06 Eric said:

  

why not install the portable version? its much newer than the one you have.



I don't know what you mean by the portable version. 


Can I assume that the answer to my original question then, is no?

Mike
  

It lives in /usr/ports/security/openssh-portable/

Much newer, more secure, and fun for the whole family.

--
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / [EMAIL PROTECTED]
Today's Excuse: Forced to support NT servers; sysadmins quit. 


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


Server Problem

2006-12-18 Thread ossama abdel-haleem
Dear Sir,
  I have HP Proliant ML 370 G4 server with dual Processors 3.6 intel xeon and 
HP Smart RAID controller (Config=>RAID5) (146GB * 6) + (4 GB Of RAM.) 
  The server working as application server (Tailored Software) based on 
POSTGRESQL server.
  I installed the FreeBSD 6.1 to serve 100 users with the application so - 
after period of time I found an error message appeared on the server :
  Kern. Maxfiles Limit Exceeded By UID 1001, Please See Tuning (7).
   
  What is the problem? Can You Help Me because after this message appears the 
server activities down.
   
  Thanks
  Ossama Abdel Haleem
   

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


Re: FreeBSD as VM host OS?

2006-12-18 Thread Jonathan Horne
On Monday 18 December 2006 19:47, Garrett Cooper wrote:
> This is assuming that you have APM setup though on the client OS? I
> agree though, vmware is a good product in Windows / Linux. Too bad they
> don't directly support FreeBSD though.
> -Garrett

well, the freebsd guests install just as normally as any real machine.  it 
even recognized the ACPI without any trouble.  the vmware-tools install a 
daemon that listens to commands from the host, and will reboot (kinda like 
ctrl-alt-del on the console) or poweroff the guest via buttons on the remote 
console, or by rebooting/shutting down the host.

i will note, that the freebsd tools need a quick patch (whipped up by someone 
who appears to be a vmware employee, from the vmware forums) to completly 
acpi-poweroff the guests.  this patch:

--- vmware-tools.sh.bak Mon Sep 11 11:36:27 2006
+++ vmware-tools.sh Wed Nov  1 13:09:47 2006
@@ -609,6 +609,7 @@
 # Start the guest OS daemon
 vmware_start_guestd() {
   cd "$vmdb_answer_SBINDIR" && "$vmdb_answer_SBINDIR"/vmware-guestd \
+--halt-command "/sbin/shutdown -p now" \
 --background "$GUESTD_PID_FILE"
 }

does the trick.  (changes the command that the daemon issues from 'shutdown 
now' to shutdown -p now').

my email, web, and 2 dns servers, are all virtual machines running on a single 
linux host.  they run fantastic, and i couldnt be more pleased with their 
performance.

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


Re: openssh security issues

2006-12-18 Thread Michael P. Soulier
On 17/12/06 Eric said:

> why not install the portable version? its much newer than the one you have.

I don't know what you mean by the portable version. 

Can I assume that the answer to my original question then, is no?

Mike
-- 
Michael P. Soulier <[EMAIL PROTECTED]>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein


pgphoqhNV6IiV.pgp
Description: PGP signature


Re: mailman upgrade problem

2006-12-18 Thread Michael P. Soulier
On 17/12/06 Paul Schmehl said:

> Apparently you're running Postfix.

Is this problem unique to postfix?

> Put this in /usr/local/etc/pkgtools.conf, and you will never have this 
> problem again:
> MAKE_ARGS = {
># Preset mailman so it will compile with the right group
>'mail/mailman' => 'MAIL_GID=mailman'
>  }

Thanks,
Mike
-- 
Michael P. Soulier <[EMAIL PROTECTED]>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein


pgpTRzjyUf8bH.pgp
Description: PGP signature


Re: FreeBSD as VM host OS?

2006-12-18 Thread Garrett Cooper

Jonathan Horne wrote:

On Monday 18 December 2006 09:03, David Newman wrote:
  

This page compares various virtual machines:

http://en.wikipedia.org/wiki/Comparison_of_virtual_machines

Unfortunately it appears very few support FreeBSD as a host OS.

I would greatly appreciate advice, anecdotes, or cautionary tales of any
VMs that:

- run on FreeBSD (amd64 or x86) as a host OS

- run *nix guest OSs at or near native speed

"You really need  as the host OS" is a perfectly valid
response too.

many thanks

dn




partially afraid of being flamed, but im sure most will understand, but when i 
recently downsized my operation into virtual machines on a single host, i 
chose linux with the free vmware-server.  vmware offers any type of 
networking set up i need, as well as consoles over the web or applications 
(in linux or windows), and on top of that, vmware server has full sets of 
vmware-tools that will control freebsd guests perfectly (ie, when i call 
shutdown on the host, each guests shuts down properly as the host waits for 
each one).  i have 5 (production) separate servers running as guests, and 
they run well enough that i cant really even tell they are virtual.


i really think bang for the buck, linux/vmware is the way to go for a 
production level VM setup.


cheers,
jonathan
This is assuming that you have APM setup though on the client OS? I 
agree though, vmware is a good product in Windows / Linux. Too bad they 
don't directly support FreeBSD though.

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


Re: FreeBSD as VM host OS?

2006-12-18 Thread Jonathan Horne
On Monday 18 December 2006 09:03, David Newman wrote:
> This page compares various virtual machines:
>
> http://en.wikipedia.org/wiki/Comparison_of_virtual_machines
>
> Unfortunately it appears very few support FreeBSD as a host OS.
>
> I would greatly appreciate advice, anecdotes, or cautionary tales of any
> VMs that:
>
> - run on FreeBSD (amd64 or x86) as a host OS
>
> - run *nix guest OSs at or near native speed
>
> "You really need  as the host OS" is a perfectly valid
> response too.
>
> many thanks
>
> dn


partially afraid of being flamed, but im sure most will understand, but when i 
recently downsized my operation into virtual machines on a single host, i 
chose linux with the free vmware-server.  vmware offers any type of 
networking set up i need, as well as consoles over the web or applications 
(in linux or windows), and on top of that, vmware server has full sets of 
vmware-tools that will control freebsd guests perfectly (ie, when i call 
shutdown on the host, each guests shuts down properly as the host waits for 
each one).  i have 5 (production) separate servers running as guests, and 
they run well enough that i cant really even tell they are virtual.

i really think bang for the buck, linux/vmware is the way to go for a 
production level VM setup.

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


Re: Jail & nullfs how many

2006-12-18 Thread Jahilliya

On 12/18/06, Albert Shih <[EMAIL PROTECTED]> wrote:


Hi all

I'm starting using jail and I'm using now nullfs (I don't really want use
something like ezjail or other plug&play script, I want understand what
I'm
doing before using this tools).






  How many nullfs I can mount ? Because there are 6 by jail, if

   i'm going to use this many I have 10-20 jail. Can I mounting ~120
   nullfs without problems ?

Regards




Hey,

What i recommend is having a look at ezjail. In doing so, see how it uses
nullfs for multiple jails and use that as a base to create your own, or just
use ezjail itself. ports/sysutils/ezjail

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


Re: Need explaination for `date` command !

2006-12-18 Thread Jerry McAllister
Hi,

> Hi lists,
> 
>   I am currently using FreeBSD-6.1 for a while. I am in Thailand so
> my time zone is GMT+7. Let say the time is 3:00 PM in Thailand.
> What I would like to know is
> 
> 1. What is the output of `date` command I should get ?
> 2. What is the output of `date -u` command I should get ?

If I understand your question correctly;

If your system is configured correctly and the date/time is
set correctly, the output of  'date'  should be the correct
time and date for your time zone.   

If you add the -u flag, it should display the current GMT time and date.

For example, if the current time in Thailand is 15:00 (3:00 pm), 
then plain 'date' should print:
  Mon Dec 18 15:00:00 TST 2006
 
For date -u you should see:
  Mon Dec 18 08:00:00 TST 2006

Note, I don't know the correct bymbol for the time in Thailand
so I just stuck in 'TST'.

jerry

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


Re: install kernel failure

2006-12-18 Thread Garrett Cooper

Garrett Cooper wrote:

Sam Jones wrote:

I'm trying to build a custom kernel under FreeBSD 6.1. I first tried
to follow section 8.3 of the Handbook and did

make buildkernel KERNCONF=MYKERNEL

That didn't work, so I tried updating all of the source and did

make buildworld

and then repeated the previous step. That still didn't work. It keeps
giving me the following errors:

[...]

The Handbook is no real help on this. I had this working correctly
under FreeBSD 6.0, but I know I used different commands. The Handbook
has changed since then, and it removed those commands. I've included
my kernel configuration file in case it's something wrong with that.

Thanks,
Sam

Sam,
   You're missing some reference to a wireless card / wireless 
protocol in your kernel config somewhere. Could you please provide 
your config at a URL or include relevant sections of your config 
(wireless card, etc).

-Garrett
   ural(4) needs wlan as well as a few other directives added in a 
kernel config (see 
).
   If you don't need that wireless driver, you should comment out that 
line (it's down in the USB section).

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


Re: install kernel failure

2006-12-18 Thread Garrett Cooper

Garrett Cooper wrote:

Sam Jones wrote:

I'm trying to build a custom kernel under FreeBSD 6.1. I first tried
to follow section 8.3 of the Handbook and did

make buildkernel KERNCONF=MYKERNEL

That didn't work, so I tried updating all of the source and did

make buildworld

and then repeated the previous step. That still didn't work. It keeps
giving me the following errors:

[...]

The Handbook is no real help on this. I had this working correctly
under FreeBSD 6.0, but I know I used different commands. The Handbook
has changed since then, and it removed those commands. I've included
my kernel configuration file in case it's something wrong with that.

Thanks,
Sam

Sam,
   You're missing some reference to a wireless card / wireless 
protocol in your kernel config somewhere. Could you please provide 
your config at a URL or include relevant sections of your config 
(wireless card, etc).

-Garrett
Man, I feel like a real twat. Didn't realize that you attached your 
kernel config ><.

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


Re: install kernel failure

2006-12-18 Thread Garrett Cooper

Sam Jones wrote:

I'm trying to build a custom kernel under FreeBSD 6.1. I first tried
to follow section 8.3 of the Handbook and did

make buildkernel KERNCONF=MYKERNEL

That didn't work, so I tried updating all of the source and did

make buildworld

and then repeated the previous step. That still didn't work. It keeps
giving me the following errors:

[...]

The Handbook is no real help on this. I had this working correctly
under FreeBSD 6.0, but I know I used different commands. The Handbook
has changed since then, and it removed those commands. I've included
my kernel configuration file in case it's something wrong with that.

Thanks,
Sam

Sam,
   You're missing some reference to a wireless card / wireless protocol 
in your kernel config somewhere. Could you please provide your config at 
a URL or include relevant sections of your config (wireless card, etc).

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


Re: Process States Explanation

2006-12-18 Thread Ivan Voras
Fr0zen wrote:
> Where can I get a good list of what each process state means? 

It's not standardised - every kernel developer and device driver writer
can introduce whatever states he needs.



signature.asc
Description: OpenPGP digital signature


install kernel failure

2006-12-18 Thread Sam Jones

I'm trying to build a custom kernel under FreeBSD 6.1. I first tried
to follow section 8.3 of the Handbook and did

make buildkernel KERNCONF=MYKERNEL

That didn't work, so I tried updating all of the source and did

make buildworld

and then repeated the previous step. That still didn't work. It keeps
giving me the following errors:

linking kernel
if_ural.o(.text+0x66): In function `ural_free_tx_list':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0x2d3): In function `ural_rxeof':
: undefined reference to `ieee80211_find_rxnode'
if_ural.o(.text+0x2eb): In function `ural_rxeof':
: undefined reference to `ieee80211_input'
if_ural.o(.text+0x2f1): In function `ural_rxeof':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0x893): In function `ural_start':
: undefined reference to `ieee80211_find_txnode'
if_ural.o(.text+0x8b9): In function `ural_start':
: undefined reference to `ieee80211_encap'
if_ural.o(.text+0xa0a): In function `ural_start':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0xa3f): In function `ural_start':
: undefined reference to `ieee80211_encap'
if_ural.o(.text+0xa53): In function `ural_start':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0xa65): In function `ural_start':
: undefined reference to `ieee80211_crypto_encap'
if_ural.o(.text+0xe47): In function `ural_txeof':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0xeee): In function `ural_watchdog':
: undefined reference to `ieee80211_watchdog'
if_ural.o(.text+0x1188): In function `ural_detach':
: undefined reference to `ieee80211_ifdetach'
if_ural.o(.text+0x16f3): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x1719): In function `ural_attach':
: undefined reference to `ieee80211_ifattach'
if_ural.o(.text+0x1754): In function `ural_attach':
: undefined reference to `ieee80211_media_status'
if_ural.o(.text+0x175f): In function `ural_attach':
: undefined reference to `ieee80211_media_init'
if_ural.o(.text+0x182b): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x185f): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x1894): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x18e6): In function `ural_attach':
: undefined reference to `ieee80211_announce'
if_ural.o(.text+0x1b8e): In function `ural_set_chan':
: undefined reference to `ieee80211_chan2ieee'
if_ural.o(.text+0x21cf): In function `ural_task':
: undefined reference to `ieee80211_beacon_alloc'
if_ural.o(.text+0x2bec): In function `ural_media_change':
: undefined reference to `ieee80211_media_change'
if_ural.o(.text+0x2c4a): In function `ural_media_change':
: undefined reference to `ieee80211_media_change'
if_ural.o(.text+0x2d03): In function `ural_ioctl':
: undefined reference to `ieee80211_ioctl'
if_ural.o(.text+0xe5): In function `ural_next_scan':
: undefined reference to `ieee80211_next_scan'
*** Error code 1

Stop in /usr/obj/usr/src/sys/MYKERNEL.
*** Error code 1

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

Stop in /usr/src.

The Handbook is no real help on this. I had this working correctly
under FreeBSD 6.0, but I know I used different commands. The Handbook
has changed since then, and it removed those commands. I've included
my kernel configuration file in case it's something wrong with that.

Thanks,
Sam


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

RE: acrobatviewer

2006-12-18 Thread Wood, Russell
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Stevan Tiefert
> Sent: Tuesday, 19 December 2006 2:44 AM
> To: freebsd-questions@freebsd.org
> Subject: acrobatviewer
> 
> Hello,
> 
> I have installed acrobatviewer-1.1 and diablo-jre-1.5.0.07.01_1.
> Each time I want to use acrobatviewer, this message appears:
> 
> $ AcrobatViewer
> expr: illegal option -- r
> usage: expr [-e] expression
> $ AcrobatViewer redbook.pdf
> expr: illegal option -- r
> usage: expr [-e] expression
> $
> 
> An idea what is happening here?
> 
> With regards
> Stevan Tiefert

Have you tried xpdf?

Regards,
Russell Wood


DISCLAIMER:
Disclaimer.  This e-mail is private and confidential. If you are not the 
intended recipient, please advise us by return e-mail immediately, and delete 
the e-mail and any attachments without using or disclosing the contents in any 
way. The views expressed in this e-mail are those of the author, and do not 
represent those of this company unless this is clearly indicated. You should 
scan this e-mail and any attachments for viruses. This company accepts no 
liability for any direct or indirect damage or loss resulting from the use of 
any attachments to this e-mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dealing with bad blocks on a hard disc

2006-12-18 Thread Marc van Woerkom



This issue has been covered numerous times in this list - usually about
every 4 to 6 weeks it comes up.  It is also covered in some FAQs somewhere,
maybe in some of the online magazines.   I haven't checked the handbook,
but it wouldn't hurt to have a mention there.
  

I am sorry for that. I did a quick search on freebsd.org and went through
several articles and the handbook. I should have searched the lists as well.


I think there may be some utilities out there that will allow you to
access the disk controller for such things, but I don't know them.
You might check with the disk manufacturer.   Some of them have disk
diagnostics, maintenance and recovery tools available.  But, you need
to assume that is only going to at best let you rescue some remaining
data after you have already moved to a new drive.

  

I do a backup tonight and buy a new hd after christmas.
Thanks for all your replies!

Regards,
Marc

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


Re: Process States Explanation

2006-12-18 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Single line paragraph

On Monday, 18 December 2006 at  1:06:13 -0600, Fr0zen wrote:
>
> Where can I get a good list of what each process state means?

That depends on what you mean by process state.  The real definition
is in /usr/include/sys/proc.h, but there are now only three states:

enum {
PRS_NEW = 0,/* In creation */
PRS_NORMAL, /* threads can be run. */
PRS_ZOMBIE
} p_state;  /* (j/c) S* process status. */

Maybe you mean the thread state, also described in the same file, but
I doubt it.

There are two other possibilities:

- The information reported by ps(1) in the STAT column.  This is
  described, not surprisingly, in the man page ps(1).

- The information reported by ps(1) in the MWCHAN column.  This is a
  name passed by a part of the kernel when it sleeps, so any process
  with a value in MWCHAN is sleeping.  The names are frequently
  associated with the name of the function doing the sleeping.  In
  general, you need to understand the kernel code to make a lot of
  sense of them.  Still, if you do a 'ps al' you'll see a number of
  names again and again:

  ttyin   Waiting for character input
  select  Waiting for a select() to complete
  waitWaiting for something to happen, possibly time
  limited (>= 1 second)
  nanslp  Waiting for < 1 second.

Maybe we should write up some of these.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp7RI8dVjj20.pgp
Description: PGP signature


acrobatviewer

2006-12-18 Thread Stevan Tiefert
Hello,

I have installed acrobatviewer-1.1 and diablo-jre-1.5.0.07.01_1.
Each time I want to use acrobatviewer, this message appears:

$ AcrobatViewer
expr: illegal option -- r
usage: expr [-e] expression
$ AcrobatViewer redbook.pdf
expr: illegal option -- r
usage: expr [-e] expression
$

An idea what is happening here?

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


Re: FreeBSD as VM host OS?

2006-12-18 Thread Garrett Cooper

Mario Lobo wrote:

On Monday 18 December 2006 18:19, Garrett Cooper wrote:
  

Bill Moran wrote:


In response to David Newman <[EMAIL PROTECTED]>:
  

My question is whether FreeBSD is a suitable _host_ OS for any virtual
machine environment, preferably with support for SMP, amd64, and guest
OS speed at or close to native hardware speeds.


*) jails provide virtual hosting at native speed, but _only_ for FreeBSD
   guests.  i.e., you can't run Linux in a FreeBSD jail
*) qemu works well on FreeBSD in my experience, but there is a
considerable performance hit.
*) Xen should give you what you want, but I've no information on the
   status of Xen on FreeBSD at this time.

HTH
  

Try qemu. Some people on this list (or maybe other FreeBSD lists--can't
remember :P), have reported success in using qemu as the host VM.

Xen is a royal pain, even though it is fast. I tried setting it up once
under Gentoo and it was trying to load a lot of services at boottime,
pulled in custom (Xen) kernel patched sources, etc. Needless to say, the
Xen patched kernel sources was the show stopper, because one never knows
what in the world the patches may do if installed with other patches.
Moreover, the Xen patches may wreak havoc with userland programs (like
Linux does on occasion), etc.

Just my .02.. qemu has a kernel module, but if you don't feel like
tainting the kernel with an alpha feature, their userland(-only) program
is fairly stable from what I have read.

-Garrett
I use qemu here. I run a windows XP pro VM and a FEDORA CORE 5 VM, inside a 
FreeBSD host, with kqemu mod loaded. This make a huge diff in performance.


The install for both OSes were slow but it's perfectly OK if you take into 
account the disk emulation and all.


Besides that, no complains whatsoever !. Native speed ? on a VM ? only in jail 
( I think) or dual boot, but qemu comes pretty close. I have them hooked on a 
bridged network, with sound. and a big plus: no linux emulation required 
(like vmware, which I tried to try but serial numbers and linux stuff made me 
give up)


I hope this helps
  
Your success with kqemu probably depends on what architecture you are 
running though, because some things may run solid on i386, but x64, ppc, 
sparc(n), etc may not agree with kqemu as much..

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


Re: rm -f doesn't delete symlink: Sollution

2006-12-18 Thread Garrett Cooper

Jeppe Bundsgaard wrote:

At 09:37 18-12-2006, you wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jeppe Bundsgaard wrote:
> At 00:06 18-12-2006, you wrote:
>> Jeppe Bundsgaard wrote:
>>> At 22:01 17-12-2006, you wrote:
 Jeppe Bundsgaard wrote:
>
> Hi,
> I am trying to upgrade to FreeBSD 6.1. But when I run installworld
> it halts when trying to create a symlink: /sys. Just before the
> error the script tries to delete the old symlink with: rm -f /sys.
> But this doesn't delete the symlink.
> No flags are set on /sys.
> Anybody got any idea what is wrong?
> Thanks.
> Jeppe

Thanks again for your help.

I finally found the - of course very simple - sollution my self. It 
was rm that was corrupt. Luckily I has another server with FreeBSD, so 
I used lftp to copy rm to /bin - and now it works again. Only I wonder 
what other important files are corrupted - and how this happened...


Jeppe
No softupdates on /? I noticed that that particular item wasn't turned 
on by default when I recently redid my machine.


I wonder why unlink didn't work though, because I thought rm depended on 
unlink. Hmm..


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


Re: How to create torrent files?

2006-12-18 Thread Andreas Rudisch
On Mon, 18 Dec 2006 20:25:51 +0100
Erik Norgaard <[EMAIL PROTECTED]> wrote:

> Hi:
>
> Which tools are available for creating torrent files? I am looking for a
> commandline tool or a perl module that would permit creating a torrent
> file like this
>
> $ maketorrent -t  -o .torrent path
>
> But it seems only py-torrent provides a tool and it's GUI based.
>
> Thanks, Erik

Hi Erik,

one tool you could use is ctorrent.

/usr/ports/net-p2p/ctorrent/
ctorrent -t -u tracker_url -s torrent_name source

Andreas

--
GnuPG key  : 0x2A573565  |  http://cyb.websimplex.de/pubkey.asc
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgpK8DL7ZZ844.pgp
Description: PGP signature


Re: How to create torrent files?

2006-12-18 Thread Andy Greenwood

I haven't used that port in a while, but I'm pretty sure it includes a
maketorrent-console.py script. I'm not anywhere I can check to ensure
that though.

On 12/18/06, Erik Norgaard <[EMAIL PROTECTED]> wrote:

Hi:

Which tools are available for creating torrent files? I am looking for a
commandline tool or a perl module that would permit creating a torrent
file like this

$ maketorrent -t  -o .torrent path

But it seems only py-torrent provides a tool and it's GUI based.

Thanks, Erik
--
Ph: +34.666334818  web: http://www.locolomo.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




--
I'm nerdy in the extreme and whiter than sour cream
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD as VM host OS?

2006-12-18 Thread Mario Lobo
On Monday 18 December 2006 18:19, Garrett Cooper wrote:
> Bill Moran wrote:
> > In response to David Newman <[EMAIL PROTECTED]>:
> >> My question is whether FreeBSD is a suitable _host_ OS for any virtual
> >> machine environment, preferably with support for SMP, amd64, and guest
> >> OS speed at or close to native hardware speeds.
> >
> > *) jails provide virtual hosting at native speed, but _only_ for FreeBSD
> >guests.  i.e., you can't run Linux in a FreeBSD jail
> > *) qemu works well on FreeBSD in my experience, but there is a
> > considerable performance hit.
> > *) Xen should give you what you want, but I've no information on the
> >status of Xen on FreeBSD at this time.
> >
> > HTH
>
> Try qemu. Some people on this list (or maybe other FreeBSD lists--can't
> remember :P), have reported success in using qemu as the host VM.
>
> Xen is a royal pain, even though it is fast. I tried setting it up once
> under Gentoo and it was trying to load a lot of services at boottime,
> pulled in custom (Xen) kernel patched sources, etc. Needless to say, the
> Xen patched kernel sources was the show stopper, because one never knows
> what in the world the patches may do if installed with other patches.
> Moreover, the Xen patches may wreak havoc with userland programs (like
> Linux does on occasion), etc.
>
> Just my .02.. qemu has a kernel module, but if you don't feel like
> tainting the kernel with an alpha feature, their userland(-only) program
> is fairly stable from what I have read.
>
> -Garrett
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

I use qemu here. I run a windows XP pro VM and a FEDORA CORE 5 VM, inside a 
FreeBSD host, with kqemu mod loaded. This make a huge diff in performance.

The install for both OSes were slow but it's perfectly OK if you take into 
account the disk emulation and all.

Besides that, no complains whatsoever !. Native speed ? on a VM ? only in jail 
( I think) or dual boot, but qemu comes pretty close. I have them hooked on a 
bridged network, with sound. and a big plus: no linux emulation required 
(like vmware, which I tried to try but serial numbers and linux stuff made me 
give up)

I hope this helps
-- 
   //| //|
  // |// |
 //  //  |
//  //   
--
[EMAIL PROTECTED]
http://www.ipad.com.br
(FreeBSD since 2.2.8 - 100% Rwindows-free)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dealing with bad blocks on a hard disc

2006-12-18 Thread Erik Trulsson
On Mon, Dec 18, 2006 at 01:43:30PM -0500, Lowell Gilbert wrote:
> Marc van Woerkom <[EMAIL PROTECTED]> writes:
> 
> > Hi,
> >
> > my notebook's hard drive seems to be damaged:
> >
> > Dec 18 15:49:13 hokage kernel: ad0: FAILURE - READ_DMA
> > status=51 error=40 LBA=9919567
> > Dec 18 15:49:13 hokage kernel:
> > g_vfs_done():ad0s1f[READ(offset=1360723968, length=32768)]error = 5
> > Dec 18 15:49:13 hokage kernel: vnode_pager_getpages: I/O read error
> > Dec 18 15:49:13 hokage kernel: vm_fault: pager read error, pid 1048 (cvsup)
> > Dec 18 15:49:17 hokage kernel: ad0: FAILURE - READ_DMA
> > status=51 error=40 LBA=9919567
> > Dec 18 15:49:17 hokage kernel:
> > g_vfs_done():ad0s1f[READ(offset=1360723968, length=32768)]error = 5
> > Dec 18 15:49:17 hokage kernel: vnode_pager_getpages: I/O read error
> > Dec 18 15:49:17 hokage kernel: vm_fault: pager read error, pid 1048 (cvsup)
> > Dec 18 15:49:17 hokage kernel: pid 1048 (cvsup), uid 0: exited on signal 6
> >
> > Is it possible to check the disc for bad blocks and to mark them as
> > unusable, thus allowing me continue using the hard drive?
> 
> That happens automatically on a disk like this one.

Automatic remapping of bad blocks can only happen for *writes*. not reads.

When you are writing, the disk knows what data is supposed to reside in the
block - the data you trying to write - and can transparently write it to
another block instead.
When you encounter a bad block during a read the disk has no way of knowing
what data was supposed to be there and therefore can't transparently remap
the block since that would cause data loss.

(Some RAID controllers are supposed to be able to handle this by
reconstructing the data that was supposed to be in the bad block from the
other disks in the RAID array, and then writing this to the bad block, thus
triggering the disks transparent remapping of bad blocks.)

(If the disk does succeed in reading a block, but only after several tries,
it can of course also remap the block, but unrecoverable reads (which this
seems to be a case of) cannot be handled thus.)


> 
> > Or what would you recommend?
> 
> Try a manufacturer's utility, if you can find one, but generally when
> you reach the point where the OS is aware of disk block errors, it is
> continuing to lose them at a high (and accelerating) rate.

Usually, but not always.

> 
> Also consider the "SMART" utilities, but be prepared to buy a new
> disk.   

Also check the cables.  It might just be something so simple as a bad cable.

And if you haven't already done so, this is a very good time to start making
backups of everything on that disk. (A bit late most likely, but hopefully
not *too* late.)

> 
> > Funny, I use FreeBSD about 10 years, this is the first time I have
> > that problem and it seems not to be addressed in the handbook.
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html#INSTALL-BAD-BLOCKS


-- 

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


Re: Dealing with bad blocks on a hard disc

2006-12-18 Thread Lowell Gilbert
Marc van Woerkom <[EMAIL PROTECTED]> writes:

> Hi,
>
> my notebook's hard drive seems to be damaged:
>
> Dec 18 15:49:13 hokage kernel: ad0: FAILURE - READ_DMA
> status=51 error=40 LBA=9919567
> Dec 18 15:49:13 hokage kernel:
> g_vfs_done():ad0s1f[READ(offset=1360723968, length=32768)]error = 5
> Dec 18 15:49:13 hokage kernel: vnode_pager_getpages: I/O read error
> Dec 18 15:49:13 hokage kernel: vm_fault: pager read error, pid 1048 (cvsup)
> Dec 18 15:49:17 hokage kernel: ad0: FAILURE - READ_DMA
> status=51 error=40 LBA=9919567
> Dec 18 15:49:17 hokage kernel:
> g_vfs_done():ad0s1f[READ(offset=1360723968, length=32768)]error = 5
> Dec 18 15:49:17 hokage kernel: vnode_pager_getpages: I/O read error
> Dec 18 15:49:17 hokage kernel: vm_fault: pager read error, pid 1048 (cvsup)
> Dec 18 15:49:17 hokage kernel: pid 1048 (cvsup), uid 0: exited on signal 6
>
> Is it possible to check the disc for bad blocks and to mark them as
> unusable, thus allowing me continue using the hard drive?

That happens automatically on a disk like this one.

> Or what would you recommend?

Try a manufacturer's utility, if you can find one, but generally when
you reach the point where the OS is aware of disk block errors, it is
continuing to lose them at a high (and accelerating) rate.

Also consider the "SMART" utilities, but be prepared to buy a new
disk.   

> Funny, I use FreeBSD about 10 years, this is the first time I have
> that problem and it seems not to be addressed in the handbook.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html#INSTALL-BAD-BLOCKS
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How to create torrent files?

2006-12-18 Thread Erik Norgaard

Hi:

Which tools are available for creating torrent files? I am looking for a
commandline tool or a perl module that would permit creating a torrent
file like this

   $ maketorrent -t  -o .torrent path

But it seems only py-torrent provides a tool and it's GUI based.

Thanks, Erik
--
Ph: +34.666334818  web: http://www.locolomo.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD as VM host OS?

2006-12-18 Thread Lonnie Cumberland

Hello,

Not sure if this is what you are looking for, but you could also try 
BOCHS.  It's a little slower, but runs on many platforms.


Cheers,
Lonnie


Garrett Cooper wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bill Moran wrote:
 


In response to David Newman <[EMAIL PROTECTED]>:
   


My question is whether FreeBSD is a suitable _host_ OS for any virtual
machine environment, preferably with support for SMP, amd64, and guest
OS speed at or close to native hardware speeds.
 


*) jails provide virtual hosting at native speed, but _only_ for FreeBSD
  guests.  i.e., you can't run Linux in a FreeBSD jail
*) qemu works well on FreeBSD in my experience, but there is a considerable
  performance hit.
*) Xen should give you what you want, but I've no information on the
  status of Xen on FreeBSD at this time.

HTH
   



Try qemu. Some people on this list (or maybe other FreeBSD lists--can't
remember :P), have reported success in using qemu as the host VM.

Xen is a royal pain, even though it is fast. I tried setting it up once
under Gentoo and it was trying to load a lot of services at boottime,
pulled in custom (Xen) kernel patched sources, etc. Needless to say, the
Xen patched kernel sources was the show stopper, because one never knows
what in the world the patches may do if installed with other patches.
Moreover, the Xen patches may wreak havoc with userland programs (like
Linux does on occasion), etc.

Just my .02.. qemu has a kernel module, but if you don't feel like
tainting the kernel with an alpha feature, their userland(-only) program
is fairly stable from what I have read.

- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFhtuWEnKyINQw/HARAiU+AJ90UsopFNrxLn4/tEPObrgC8X/FRACfaJO1
D7jmswA5nlJ+zks2WTLJMR0=
=U6GQ
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
 



--
Thanks and have a good day,

Lonnie T. Cumberland
OutStep Technologies Incorporated

Email: [EMAIL PROTECTED]
  [EMAIL PROTECTED] 


"Open Source.. opening the doors for the future in the world of today"

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


Re: radeon hardware acceleration on 6.2-PRERELEASE - does not work at all

2006-12-18 Thread José G . Juanino
El lunes 18 de diciembre a las 00:16:43 CET, Raymond Pasco escribió:
> Nothing I do seems to persuade my system to use the hardware
> acceleration on either of my graphics cards. If someone could point out
> something I've missed, I would very much appreciate it.

Do you have enabled the kernel driver?

device  radeondrm   # ATI Radeon


Look at /sys/i386/conf/NOTES


Regargs


pgpa9JjSmN6b1.pgp
Description: PGP signature


Re: Legato Client for freeBSD.

2006-12-18 Thread hackmiester (Hunter Fuller)


On 18 December 2006, at 02:40, n j wrote:

One is to enable FreeBSD's Linux Compatibility and use Letgato's  
Linux

client (I suppose they have one?)


I actually tried this. And the client actually works. However, I
haven't found a way to escape Linux compatibility chroot - i.e.
backing up /usr actually backs up /compat/linux/usr. Of course, that
doesn't mean it's impossible, it just means that setting up
FreeBSD-native client proved simpler.


ln -s / /compat/linux/bsdroot



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




--
hackmiester (Hunter Fuller)

 who can help me ? i'm french and i don't know irc
 can't help you with the being french part, you are screwed  
their mate





Phone
Voice: +1 251 589 6348
Fax: Call the voice number and ask.

Email
General chat: [EMAIL PROTECTED]
Large attachments: [EMAIL PROTECTED]
SPS-related stuff: [EMAIL PROTECTED]

IM
AIM: hackmiester1337
Skype: hackmiester31337
YIM: hackm1ester
Gtalk: hackmiester
MSN: [EMAIL PROTECTED]
Xfire: hackmiester






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


Re: Dealing with bad blocks on a hard disc

2006-12-18 Thread Jerry McAllister
Hi,

> Hi,
> 
> my notebook's hard drive seems to be damaged:
> 
> Dec 18 15:49:13 hokage kernel: ad0: FAILURE - READ_DMA 
> status=51 error=40 LBA=9919567
> Dec 18 15:49:13 hokage kernel: 
> g_vfs_done():ad0s1f[READ(offset=1360723968, length=32768)]error = 5
> Dec 18 15:49:13 hokage kernel: vnode_pager_getpages: I/O read error
> Dec 18 15:49:13 hokage kernel: vm_fault: pager read error, pid 1048 (cvsup)
> Dec 18 15:49:17 hokage kernel: ad0: FAILURE - READ_DMA 
> status=51 error=40 LBA=9919567
> Dec 18 15:49:17 hokage kernel: 
> g_vfs_done():ad0s1f[READ(offset=1360723968, length=32768)]error = 5
> Dec 18 15:49:17 hokage kernel: vnode_pager_getpages: I/O read error
> Dec 18 15:49:17 hokage kernel: vm_fault: pager read error, pid 1048 (cvsup)
> Dec 18 15:49:17 hokage kernel: pid 1048 (cvsup), uid 0: exited on signal 6
> 
> Is it possible to check the disc for bad blocks and to mark them as 
> unusable,
> thus allowing me continue using the hard drive?
> 
> Or what would you recommend?

My main recommendation is to get what you can off the disk and
replace it as soon as possible.   Disk failures are progressive.
When one shows up, more are quite sure to follow.

> Funny, I use FreeBSD about 10 years, this is the first time I have
> that problem and it seems not to be addressed in the handbook.

That is probably because it is not really an OS issue.  In modern disks
it happens at the hardware controller level.   Almost all disks nowdays
have spare sectors that the controller maps to automatically when it
detects a bad one.  You do not even see it happening.  Then when you 
finally see bad disk reads/writes reported, it is typically after the
controller has used up all of its spare sectors and can no longer do
any remapping.   It is an indication that there have been some failures
already and more are happening.

This issue has been covered numerous times in this list - usually about
every 4 to 6 weeks it comes up.  It is also covered in some FAQs somewhere,
maybe in some of the online magazines.   I haven't checked the handbook,
but it wouldn't hurt to have a mention there.

I think there may be some utilities out there that will allow you to
access the disk controller for such things, but I don't know them.
You might check with the disk manufacturer.   Some of them have disk
diagnostics, maintenance and recovery tools available.  But, you need
to assume that is only going to at best let you rescue some remaining
data after you have already moved to a new drive.

jerry

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


Re: .bst files installation

2006-12-18 Thread Lowell Gilbert
"Saifi" <[EMAIL PROTECTED]> writes:

> Which package in ports need to be installed in order to have .bst files 
> installed ?
>
> The .bst files are required when specifiying the \bibliographystyle{} in .tex 
> files.

Note that you are using LaTeX, not TeX.  
Any version of LaTeX should do (if I remember correctly; I don't have
it installed on my booted machines, and I haven't used BibTeX since
the days of LaTeX 2.09).  These days, the print/teTeX port is
the most common way to install TeX and its common utilities.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: wireless 3945 status?

2006-12-18 Thread Abdullah Al-Marrie

On 12/18/06, gb <[EMAIL PROTECTED]> wrote:

Hi all,

This would really interest me as well. I was forced to put linux on the
laptop for the time being so that I could use the wireless. Even with
that I had a small struggle. Is this Microsoft doing a old boys network
with the hardware vendors, or is it just that the hardware vendors are
too lazy to support open source? On another machine I had to fight with
the bloody ATI video card. Does not seem fair, I am sure that there are
more and more Freebsd and linux desktop users out there, why can't the
vendors just give us a choice.

cheers

G


This would be really big improvement for the FreeBSD mobile users,
since most laptops with Intel Centrino Duo, and Duo 2 as well.

I didn't see any new Centrino laptop comes with Intel 2200BG anymore,
most of them come with Intel Wlan 3945.

Atheros isn't widely deployed in laptops come with Duo and Duo 2.

Now I see laptops with AMD cpus come with broadcom chips, not Atheros too.

If you look to USB Wlan too, few ones use Atheros too.

So FreeBSD guys, are you coming to laptops world since it takes over
in home instead of desktop pcs?

I wish you do so before it's too late.

PS: Where are you Scott Long?
http://news.com.com/2100-1011_3-6071598.html

Best Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal Network
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD as VM host OS?

2006-12-18 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bill Moran wrote:
> In response to David Newman <[EMAIL PROTECTED]>:
>> My question is whether FreeBSD is a suitable _host_ OS for any virtual
>> machine environment, preferably with support for SMP, amd64, and guest
>> OS speed at or close to native hardware speeds.
> 
> *) jails provide virtual hosting at native speed, but _only_ for FreeBSD
>guests.  i.e., you can't run Linux in a FreeBSD jail
> *) qemu works well on FreeBSD in my experience, but there is a considerable
>performance hit.
> *) Xen should give you what you want, but I've no information on the
>status of Xen on FreeBSD at this time.
> 
> HTH

Try qemu. Some people on this list (or maybe other FreeBSD lists--can't
remember :P), have reported success in using qemu as the host VM.

Xen is a royal pain, even though it is fast. I tried setting it up once
under Gentoo and it was trying to load a lot of services at boottime,
pulled in custom (Xen) kernel patched sources, etc. Needless to say, the
Xen patched kernel sources was the show stopper, because one never knows
what in the world the patches may do if installed with other patches.
Moreover, the Xen patches may wreak havoc with userland programs (like
Linux does on occasion), etc.

Just my .02.. qemu has a kernel module, but if you don't feel like
tainting the kernel with an alpha feature, their userland(-only) program
is fairly stable from what I have read.

- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFhtuWEnKyINQw/HARAiU+AJ90UsopFNrxLn4/tEPObrgC8X/FRACfaJO1
D7jmswA5nlJ+zks2WTLJMR0=
=U6GQ
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD as VM host OS?

2006-12-18 Thread Alexandre Biancalana

Anybody knows what's Xen status ??
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


NEC 7170A-0B

2006-12-18 Thread FreeBSD WickerBill

I was wondering if anyone has used one of the later NEC
*7170A
*DVD burners sucessfully with 6.0 or later?

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


Re: FreeBSD as VM host OS?

2006-12-18 Thread Bill Moran
In response to David Newman <[EMAIL PROTECTED]>:
> 
> My question is whether FreeBSD is a suitable _host_ OS for any virtual
> machine environment, preferably with support for SMP, amd64, and guest
> OS speed at or close to native hardware speeds.

*) jails provide virtual hosting at native speed, but _only_ for FreeBSD
   guests.  i.e., you can't run Linux in a FreeBSD jail
*) qemu works well on FreeBSD in my experience, but there is a considerable
   performance hit.
*) Xen should give you what you want, but I've no information on the
   status of Xen on FreeBSD at this time.

HTH

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


Re: FreeBSD as VM host OS?

2006-12-18 Thread David Newman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/18/06 8:32 AM, James Seward wrote:
> On 12/18/06, David Newman <[EMAIL PROTECTED]> wrote:
>> "You really need  as the host OS" is a perfectly valid
>> response too.
> 
> I run VMware Server on Ubuntu (one of the supported Linux host
> flavours, and the only one I'm prepared to put up with), hosting
> currently two Windows Server 2003 and two FreeBSD 6.x VMs on a Dell
> 1855 blade. While I haven't performed any benchmarks (benchmarks
> inside a VM are tricky to get right) I can report no noticable
> performance problems with the workload the machines have to handle.
> 
> The Windows machines are a small fileserver and a WSUS server; the
> FreeBSD machines are performing spam-assassination and NFS serving.
> 
> vmware1$ uptime
> 16:27:45 up 66 days,  5:17,  1 user,  load average: 0.27, 0.56, 0.54
> 
> I have a FreeBSD-based PXE server running in Workstation 5.5 on my
> desktop, and
> have had success running FreeBSD 4.x under ESX Server 2.5.x in a
> previous life.
> 

Thanks very much. I too have run FreeBSD as a guest OS under various
VMware flavors for years.

My question is whether FreeBSD is a suitable _host_ OS for any virtual
machine environment, preferably with support for SMP, amd64, and guest
OS speed at or close to native hardware speeds.

Thanks again!

dn

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFFhs3zyPxGVjntI4IRAnPAAKDxgpRIKN+s0anO6Ct8MOdf86Kh6ACeN0N+
6qknCmjZWaC0KSeRW0W2SsI=
=HIuy
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: var out of space

2006-12-18 Thread Jerry McAllister
Howdy,

> Hello,
> 
> 
> I inherited a freebsd installation with a var slice/mount that is to  
> small and filling up all the time.
> 
> What type of info should I provide to allow someone to help me with a  
> solution?
> 
> I would very much prefer to not install another drive just for /var.
> 
> /usr has plenty of space. Can I mount var off of /usr?
> 
> Here is the output of df for starters:
> 
> /dev/ad0s1a128990  119970-1298   101%/
> /dev/ad0s1f257998  1852465211478%/tmp
> /dev/ad0s1g 112755734 4533434 99201842 4%/usr
> /dev/ad0s1e257998  2069563040487%/var
> procfs  4   40   100%/proc


You are right, whoever built that machine put all the spare space 
in to /usr (wouldn't be my choice, but...) so you can make use of
that space.

The first thing to do is to figure out what is using the space.
use du(1) for that.
probably something like:  (NOTE: do this as root or single user)
  cd /var
  du -sk *

The most like culprits are /var/mail,  var/spool,  /var/log,  and /var/db
Rather than moving all of /var in to /usr, just move the worst of
those and make symlinks.

Of course you might also want to clean up some of the stuff, for example
if /var/log is taking up all the space, use newsyslog(8) to manage
rotation of logs and clearing of old logs.

But, really your /var is too small so even after you clean up you will
have to move some things.

For example, you can move /var/spool to /usr by:

  cd /var/spool
  tar cpf /usr/spool.tar *
  cd /usr
  mkdir var.spool
  cd var.spool
  tar xpf ../spool.tar
  cd /var
  mv spool old-spool
  ln -s /usr/var.spool spool
Now check things out by doing looking around:   cd /var/spool  should
get you to /usr/var.spool and find all the files in place.  When you
are convinced it is good, then:
  cd /var
  rm -rf old-spool
You might just find some files it refused to rm because flags are
set on them, particularly 'schg'  so you will have to unset those
flags to nuke the files.  
  chflags noschg file_namefor example
Then remove those files by hand.
See chflags(1)

At this point you would have /var/spool actually living in /usr
with no problem.

NOTE that doing the tar to a file and then untarring and also moving 
/var/spool to a different file and checking things first is being a
little more careful(chicken) than absolutely necessary, but I prefer
being safe.   Also, my naming convention (making the directory be
var.spool) helps me keep track of things sort of like using mnemonic
variable names.

This doesn't muck with your partition layout like moving all of /var
in to /usr would.

But, if you really want to move all of /var to /usr and change the
mounts, then use dump/restore as follows:

  cd /usr
  mkdir newvar
  cd newvar
  dump 0af - /var | restore -rf -
  umount /var
  cd /etc
Edit /etc/fstab to remove or comment out the /var line 
  cd /
  rmdir var
  ln -s /usr/newvar var
Check it out - it should work just fine.

Of course, you don't have to use the name 'newvar' for the
directory name in /usr, but it makes it clearer what happened.
  
Now the 260MB in the ad0s1e partition will be essentially unused
for anything unless you mount it as something else.
  
I really think the former solution is a little better, but either 
will work.

NOTE also that a possibly better overall solution that either is to 
completely reinstall FreeBSD from scratch and completely reorganize 
your disk at the same time especially if it is below version 6.1.
Of course, you would want to make complete backups before doing that
so you can put what parts of your data you want to keep back on after
the installation.

But, if you are new to FreeBSD, just moving a couple of things to free
up space in /var will easily give you time to play around and become 
familiar and then you can do the complete re-install later when you 
have a better picture of what you want and after 6.2 RELEASE comes out.
  
jerry

> 
> 
> and ls -la at / looks like this:
> 
> -rw-r--r--   2 root  wheel  802 May 25  2004 .cshrc
> -rw-r--r--   2 root  wheel  251 May 25  2004 .profile
> -r--r--r--   1 root  wheel 6355 May 25  2004 COPYRIGHT
> drwxr-xr-x   2 root  wheel 1024 Nov 29 17:39 bin
> drwxr-xr-x   3 root  wheel  512 Nov  5 15:27 boot
> drwxr-xr-x   2 root  wheel  512 Jan 16  2005 cdrom
> lrwxr-xr-x   1 root  wheel   10 Jan 16  2005 compat -> usr/compat
> drwxr-xr-x   3 root  wheel20480 Jan 16  2005 dev
> drwxr-xr-x  16 root  wheel 2560 Dec  1 16:11 etc
> lrwxrwxrwx   1 root  wheel9 Jan 16  2005 home -> /usr/home
> -r-xr-xr-x   1 root  wheel  4344469 Nov  5 13:22 kernel
> -r-xr-xr-x   1 root  wheel  4344469 Nov  5 13:22 kernel.GENERIC
> drwxr-xr-x   2 root  wheel  512 May 25  2004 mnt
> drwxr-xr-x   2 root  wheel 4608 Nov  5 13:22 modules
> dr-xr-xr-x   1 root  wheel  512 Dec 17 01:10 proc
> drwxr-xr-x   3 root  wheel  512 Nov  5 13:36 root
> drwxr-xr-x   2 root  wheel 

Re: i finally got wireless working

2006-12-18 Thread Sergio Lenzi
Hello Jonathan...

I configure the wireless in the /etc/dhclient.conf



interface "ndis0" {
send host-name "lMy computer";
prepend domain-name " cwb.casa  ";
media "media autoselect authmode open wepkey -",
"ssid bsdnet",
"ssid vex",
"ssid default",
"ssid lenzinet",
"ssid Zaitter",
"ssid 'Crystal Wireless'",
"ssid TelleWireless authmode shared wepkey 0XE235485511 deftxkey
1",
"ssid OndaRPC wepkey ondaondaondao deftxkey 1",
"ssid VoyzeBrazil wepkey 1:0x7440169407 deftxkey 1",
"ssid lenzinet wepkey 1:13825 deftxkey 1",
"ssid ENGNOTE wepkey 1:0x0011AABBFF deftxkey 1",
"ssid lenzicasa wepkey 1:13825 deftxkey 1";
}

for example   

when I turn on the computer  (a notebook hp pavilion v6600)...
it searches for the wifi points... when it finds some that fits,
it stops and configure the interface acording

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


Re: FreeBSD as VM host OS?

2006-12-18 Thread James Seward

On 12/18/06, David Newman <[EMAIL PROTECTED]> wrote:

"You really need  as the host OS" is a perfectly valid
response too.


I run VMware Server on Ubuntu (one of the supported Linux host
flavours, and the only one I'm prepared to put up with), hosting
currently two Windows Server 2003 and two FreeBSD 6.x VMs on a Dell
1855 blade. While I haven't performed any benchmarks (benchmarks
inside a VM are tricky to get right) I can report no noticable
performance problems with the workload the machines have to handle.

The Windows machines are a small fileserver and a WSUS server; the
FreeBSD machines are performing spam-assassination and NFS serving.

vmware1$ uptime
16:27:45 up 66 days,  5:17,  1 user,  load average: 0.27, 0.56, 0.54

I have a FreeBSD-based PXE server running in Workstation 5.5 on my desktop, and
have had success running FreeBSD 4.x under ESX Server 2.5.x in a previous life.

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


Re: FreeBSD 6.2-RC1 issues Acer Aspire 5102 WLMi

2006-12-18 Thread Scot Hetzel

On 12/18/06, Abdullah Al-Marrie <[EMAIL PROTECTED]> wrote:

Hello guys,

First thanks for the hard work to make FreeBSD good for desktop environment.

Here is my case with Acer Aspire 5102 WLMi with the latest bios 2.40




2. I can't use my WLAN which is broadcom, I was forced to use an older
drivers, since ndis has problem with reading the latest driver from
broadcom.
Here are the files
http://bb.wearab.net/attachment.php?attachmentid=472&d=1166427326
http://bb.wearab.net/attachment.php?attachmentid=473&d=1166427326

And here is the 78 MB full package for the driver in zip file
ftp://ftp.support.acer-euro.com/notebook/aspire_3100_5100_5110/driver/802bg_broadcom_v4.10.40.0.zip

Could someone convert the 2 files to a kernel module? please let me know.


You need to apply the patch in PR 106131 to use the newer versions of
the broadcom driver.  I have tested it with version 4.10.40.19 from
HPs web site (SP33008.exe).

http://www.freebsd.org/cgi/query-pr.cgi?pr=106131

Scot
--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PHP 5 with Apache 1.3

2006-12-18 Thread Ian Smith
On Mon, 18 Dec 2006, Thomas Wahyudi wrote:

 > Ian Smith wrote:
 > > Hi all,
 > >
 > > bit of a long saga, and a (by now) humble question ..
 > >
 > > I reinstalled php5-5.2.0 from its package, after having to deinstall
 > > php 4 and reinstall 5 after the only major glitch on a portupgrade -aPP
 > > on a 5.5-STABLE system upgrading old ports, mostly from 5.4-R days.
 > >   
 > ... cut
 > 
 > > What do I need to do to get Apache to execute mod_php5 on .php files?
 > >
 > > Cheers, Ian
 > >   
 > have you check output from /var/log/httpd-error.log ? it should type 
 > some php version if the php is working correctly or
 > could you paste here the log from /var/log/httpd-error.log after you 
 > restart the apache ( assuming you install apache from port too )

Thanks Thomas,

 [Tue Dec 19 01:25:42 2006] [notice] Apache/1.3.37 (Unix) PHP/5.2.0 with
   Suhosin-Patch configured -- resuming normal operations
 [Tue Dec 19 01:25:42 2006] [notice] Accept mutex: flock (Default: flock)

No, I'd installed apache-1.3.37_1 from the package, but that's not the
problem.  No errors at all appear in httpd-error.log since the build.

I've just now tried what should have been step #1, a /phpinfo.php page:
  
which works just fine, so now I can concentrate on finding out what's
wrong with my phpMyAdmin config .. maybe some cruft from earlier.

The weird thing is that fetching /localhost/phpmyadmin/ Mozilla offers,
as mentioned, to save the file "" of type application/x-httpd-php, but
whether I cancel or go ahead and save the file under the chosen random
name - which works fine and is identical to /phpmyadmin/index.php -
absolutely NOTHING gets logged to httpd-access.log, either way .. ?

Anyway, more news (or questions) when I do (or don't) figure it out.

Cheers, Ian

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


FreeBSD as VM host OS?

2006-12-18 Thread David Newman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

This page compares various virtual machines:

http://en.wikipedia.org/wiki/Comparison_of_virtual_machines

Unfortunately it appears very few support FreeBSD as a host OS.

I would greatly appreciate advice, anecdotes, or cautionary tales of any
VMs that:

- - run on FreeBSD (amd64 or x86) as a host OS

- - run *nix guest OSs at or near native speed

"You really need  as the host OS" is a perfectly valid
response too.

many thanks

dn

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFFhq3ByPxGVjntI4IRAvENAJ93JI5Zns7A8oNc1mycw+fBxKwjcQCgsrVr
/AONY77fYle3qJcFr3/WAaA=
=4ZLr
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


/usr/ports/sysutils/lmon

2006-12-18 Thread Per olof Ljungmark
Anyone out there managed to get this port working ok (on -CURRENT 
perhaps I should say)?


I want to survey /var/log/messages for disk ciss(4) problems.

* control.cfg:

[general]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
mode=include
buffer=500
mailservers=station.inter-sonic.com
pid=/var/run/lmon

[ciss-messages]
log=/var/log/messages
rules=/usr/local/lmon/ciss-messages.rules

* ciss-messages.rules:

# A rule to catch ciss log messages, might be a broken disk in a HP DL 380
# server (ciss is the FreeBSD driver for HP/Compaq Smart Array RAID
# controllers):
^.{15} (\w+) /kernel: ciss


* running " /usr/local/etc/rc.d/lmon.sh start"
says
[slipknot] /usr/local/lmon# /usr/local/etc/rc.d/lmon.sh start
Start lmon.pl instance ciss-messages: FAIL, startup problems:

(nothing here)

*  uname -a:
FreeBSD slipknot.inter-sonic.com 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Mon 
Dec 11 08:59:47 CET 2006


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


Dealing with bad blocks on a hard disc

2006-12-18 Thread Marc van Woerkom

Hi,

my notebook's hard drive seems to be damaged:

Dec 18 15:49:13 hokage kernel: ad0: FAILURE - READ_DMA 
status=51 error=40 LBA=9919567
Dec 18 15:49:13 hokage kernel: 
g_vfs_done():ad0s1f[READ(offset=1360723968, length=32768)]error = 5

Dec 18 15:49:13 hokage kernel: vnode_pager_getpages: I/O read error
Dec 18 15:49:13 hokage kernel: vm_fault: pager read error, pid 1048 (cvsup)
Dec 18 15:49:17 hokage kernel: ad0: FAILURE - READ_DMA 
status=51 error=40 LBA=9919567
Dec 18 15:49:17 hokage kernel: 
g_vfs_done():ad0s1f[READ(offset=1360723968, length=32768)]error = 5

Dec 18 15:49:17 hokage kernel: vnode_pager_getpages: I/O read error
Dec 18 15:49:17 hokage kernel: vm_fault: pager read error, pid 1048 (cvsup)
Dec 18 15:49:17 hokage kernel: pid 1048 (cvsup), uid 0: exited on signal 6

Is it possible to check the disc for bad blocks and to mark them as 
unusable,

thus allowing me continue using the hard drive?

Or what would you recommend?

Funny, I use FreeBSD about 10 years, this is the first time I have
that problem and it seems not to be addressed in the handbook.

Regards,
Marc

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


Re: nvidia-driver troubles

2006-12-18 Thread Michael Johnson

On 12/18/06, Dan Sikorsky <[EMAIL PROTECTED]> wrote:

bsd 6.1

evgA geforce 7300 gt

xorg 6.9

sure the nvidia driver install works, but everytime i reboot xorg will
crash out (startx) unless i reinstall the nvidia driver


It sounds like the nvidia kernel module isn't being loaded during boot.

is nvidia_load="YES" in /boot/loader.conf ?



any suggestions?
--

Dan Sikorsky
*Systems Admin/GoldMine Admin*
RegionalHelpWanted.com,Inc. & Cupid.com, Inc.
845-471-5200 x220
One Civic Center Plaza,
Suite 506
Poughkeepsie, NY 12601
/http://RegionalHelpWanted.com
http://Cupid.com/

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


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


Re: wireless 3945 status?

2006-12-18 Thread gb

Hi all,

This would really interest me as well. I was forced to put linux on the 
laptop for the time being so that I could use the wireless. Even with 
that I had a small struggle. Is this Microsoft doing a old boys network 
with the hardware vendors, or is it just that the hardware vendors are 
too lazy to support open source? On another machine I had to fight with 
the bloody ATI video card. Does not seem fair, I am sure that there are 
more and more Freebsd and linux desktop users out there, why can't the 
vendors just give us a choice.


cheers

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


nvidia-driver troubles

2006-12-18 Thread Dan Sikorsky

bsd 6.1

evgA geforce 7300 gt

xorg 6.9

sure the nvidia driver install works, but everytime i reboot xorg will 
crash out (startx) unless i reinstall the nvidia driver


any suggestions?
--

Dan Sikorsky
*Systems Admin/GoldMine Admin*
RegionalHelpWanted.com,Inc. & Cupid.com, Inc.
845-471-5200 x220
One Civic Center Plaza,
Suite 506
Poughkeepsie, NY 12601
/http://RegionalHelpWanted.com
http://Cupid.com/

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


LSI MegaRAID 1068 mfi(4) 6.1-RELEASE

2006-12-18 Thread nocturnal

Hi

I'm trying to boot up a Dell PE 860 with what dell claims to be a LSI 
MegaRAID 1068 controller using FreeBSD 6.1-RELEASE. I've found listposts 
claiming that this worked as soon as FreeBSD 4.11 using the mpt driver. 
It seems as if the mfi driver is the one to use these days.


I can't get it working though, it constantly says no disks were found. 
This driver should be compiled into GENERIC right? Has anyone else on 
the list tried using this driver for the LSI card?

--



Med vänliga hälsningar

Stefan Midjich aka nocturnal
[Swehack] http://swehack.se
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Process States Explanation

2006-12-18 Thread Bill Moran
In response to "Fr0zen" <[EMAIL PROTECTED]>:

> Where can I get a good list of what each process state means? I have
> searched the manual pages and handbook and have not been able to find
> answers or explanations for what states such as pfault mean. I know they
> are linked to the systemcalls, but how can I get more info about this?

Please wrap you lines around 72 chars or so.

> Any information, pointers, or feedback would be greatly appreciated.

Unfortunately, I don't think there's any such comprehensive resource.

However,  I would expect that 80% of the time, a google on " freebsd"
will produce enough information to satisfy you.

The other 20% of the time, you'll either need to read the source code or
find a helpful developer to explain.  Don't hesitate to ask on this list
if you come across a state you can't find information on.

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


Re: wireless 3945 status?

2006-12-18 Thread Vince
Marwan Sultan wrote:
> Hello List,
> 
> What about 3945ABG
> 
> any news or updates for Intel PRO/Wireless 3945ABG ?
> As many knows,, this card shipped in many new/modern laptops.
> 
> I my self, tried many drivers and many packegs, but nothing works in fact.
> including
> http://ipw3945.sourceforge.net/
> and
> http://damien.bergamini.free.fr/ipw/ipw-freebsd.html
> and /usr/ports/net/iwi-firmware/
> 
> I wonder if anything new on screen,
> 
Last I heard the only driver for the 3945ABG is the unsupported one by
Damien Bergamini. however this post
http://lists.freebsd.org/pipermail/freebsd-drivers/2006-December.txt
gives me hope :)
Look for the link for wpi-freebsd.tgz, that should be a driver that
works to some extent.


Vince

> Thank you
> 
> Marwan Sultan.
> 
> _
> Express yourself instantly with MSN Messenger! Download today it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> 
> ___
> 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]"


Jail & nullfs how many

2006-12-18 Thread Albert Shih
Hi all

I'm starting using jail and I'm using now nullfs (I don't really want use
something like ezjail or other plug&play script, I want understand what I'm
doing before using this tools).

I'm making a /jail/REFERENCE using classic make world etc...
and mounting using nullfs 

/jail/REFERENCE/bin --> /jail/my_jail_ip/bin
/jail/REFERENCE/lib --> /jail/my_jail_ip/lib
/jail/REFERENCE/libexec --> /jail/my_jail_ip/libexec
/jail/REFERENCE/sbin --> /jail/my_jail_ip/sbin
/jail/REFERENCE/usr --> /jail/my_jail_ip/usr
/jail/REFERENCE/var --> /jail/my_jail_ip/var

by using this I'm hopping have just one /jail/REFERENCE to update when I
need to rebuild world.

Well two questions : 

it's the right thing to do ?

How many nullfs I can mount ? Because there are 6 by jail, if 
i'm going to use this many I have 10-20 jail. Can I mounting ~120
nullfs without problems ?

Regards

--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 ième étage, plateau D, bureau 10
Heure local/Local time:
Mon Dec 18 14:00:42 CET 2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Process States Explanation

2006-12-18 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Fr0zen wrote:
> Where can I get a good list of what each process state means? I have searched 
> the manual pages and handbook and have not been able to find answers or 
> explanations for what states such as pfault mean. I know they are linked to 
> the systemcalls, but how can I get more info about this? 
> 
> Any information, pointers, or feedback would be greatly appreciated.
> 
> Thanks

pfault => "page fault" => "grab a page from the next layer of memory",
perhaps? Wiki page: ().
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFhpKLEnKyINQw/HARAn0LAJ4vglDhzrT9/tL+3902qenbkUx+kgCfTET5
BGTM/FWwGd9IHHoQ5o3d78U=
=gUyX
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Process States Explanation

2006-12-18 Thread Fr0zen
Where can I get a good list of what each process state means? I have searched 
the manual pages and handbook and have not been able to find answers or 
explanations for what states such as pfault mean. I know they are linked to the 
systemcalls, but how can I get more info about this? 

Any information, pointers, or feedback would be greatly appreciated.

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


discard frame without packet header

2006-12-18 Thread Mark Busby
I have a headless box that went dead to outside connections and the keyboard 
was dead. I had to pull the plug to reboot. When it came online, 
/var/log/message was full of this 
   
  Dec 17 12:55:29 redtick kernel: ath0: discard frame w/o packet header
Dec 17 12:55:30 redtick kernel: dc0: discard frame w/o packet header
Dec 17 12:55:30 redtick kernel: ath0: discard frame w/o packet header

  uname -a 
  6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:32:43 UTC 2006 [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
pciconf -lv 
  [EMAIL PROTECTED]:8:0:   class=0x02 card=0xf0041385 chip=0x000211ad 
rev=0x21 hdr=0x00
vendor   = 'Lite-On Communications Inc'
device   = 'NGMC169B 10/100 Ethernet (NetGear FA310TX)'
class= network
subclass = ethernet
[EMAIL PROTECTED]:10:0: class=0x02 card=0x5a001385 chip=0x0013168c rev=0x01 
hdr=0x00
vendor   = 'Atheros Communications Inc.'
device   = 'AR5212, AR5213 802.11a/b/g Wireless Adapter'
class= network
subclass = ethernet

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


wireless 3945 status?

2006-12-18 Thread Marwan Sultan

Hello List,

What about 3945ABG

any news or updates for Intel PRO/Wireless 3945ABG ?
As many knows,, this card shipped in many new/modern laptops.

I my self, tried many drivers and many packegs, but nothing works in fact.
including
http://ipw3945.sourceforge.net/
and
http://damien.bergamini.free.fr/ipw/ipw-freebsd.html
and /usr/ports/net/iwi-firmware/

I wonder if anything new on screen,

Thank you

Marwan Sultan.

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


.bst files installation

2006-12-18 Thread Saifi
Hi:

Which package in ports need to be installed in order to have .bst files 
installed ?

The .bst files are required when specifiying the \bibliographystyle{} in .tex 
files.

Thanks in advance.

thanks
Saifi Khan.



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


Re: ipfw rules

2006-12-18 Thread Giorgos Keramidas
On 2006-12-16 18:01, Jurjen Middendorp <[EMAIL PROTECTED]> wrote:
> I posted this to the freebsd-security list, but i believe that is not
> the right list to this question (sorry! this is my first message to
> the freebsd mailing-lists). I hope this is the right list! :) anyway:
> 
> I tried making a firewall for my laptop..but i'm not sure if i forgot
> anything. And things can always be done better :)

> #to stack (student computer thing... e-mail, irc, ssh stuff)
> $cmd 020 allow all from me to 131.155.140.141/16 via $oif $ks
> 
> #allow ssh
> $cmd 021 allow all from me to any 22 out via $oif setup $ks
> 
> #internet sites:
> $cmd 032 allow tcp from me to any 80 out via $oif setup $ks
> #https
> $cmd 033 allow tcp from me to any 443 out via $oif setup $ks
> #gopher
> $cmd 034 allow tcp from me to any 70 out via $oif setup $ks
> 
> #other e-mail
> #pop
> $cmd 040 allow tcp from me to any 110 out via $oif setup $ks
> #imap
> $cmd 041 allow tcp from me to any 143 out via $oif setup $ks
> 
> #allow dns queries
> $cmd 050 allow udp from me to any 53 out via $oif $ks
> #allow ntp (?) queries
> $cmd 051 allow udp from me to any 123 out via $oif $ks
> 
> #i can send icmp myself
> $cmd 060 allow icmp from me to any out via $oif $ks
> #but others can't
> $cmd 061 deny icmp from any to me
> 
> #
> #root can do anything
> $cmd 070 allow tcp from me to any out via $oif setup $ks uid root
> 
> #log other outgoing packets
> $cmd 071 deny log all from any to any out via $oif
> 
> 
> #  Incoming
> 
> #The default is that all other connections will be blocked anyway, but 
> # the more stuff i put in here, the less stuff will get logged
> 
> #deny incoming to private networks
> $cmd 100 deny all from 192.168.0.0/16 to any in via $oif #RFC 1918
> $cmd 101 deny all from 172.16.0.0/16 to any in via $oif   #RFC 
> 1918
> $cmd 105 deny all from 169.254.0.0/16 to any in via $oif #DHCP auto
> $cmd 106 deny all from 192.0.2.0/24 to any in via $oif
> #reserved
> $cmd 108 deny all from 192.168.0.0/16 to any in via $oif #D & E class
>   
> # multicast
> #block smb stuff
> $cmd 120 deny tcp from any to me 137 in via $oif
> $cmd 121 deny tcp from any to me 138 in via $oif
> $cmd 122 deny tcp from any to me 139 in via $oif
> 
> #log ACK packets that did'nt match the dynamic ruleset
> $cmd 130 deny log all from any to any established in via $oif
> 
> #Now log some stuff in case i did something wrong
> $cmd 999 deny log any to me

It's a fairly complex ruleset, but it seems mostly ok.  There are
a few things I'd change, mostly resulting from my own personal
preferences:

  * I don't like hard-coding rule numbers in IPFW rulesets.

  * I like using 127.0.0.1/32 instead of any for loopback interfaces.

  * In general, I prefer much simpler rulesets.

  * I try to avoid a lot of variables/macros, like your $ks, since they
don't really keep things a lot shorter, and when they do they try to
abstract away too much of ipfw's syntax.

  * I don't aggressively filter out ICMP packets.  They are useful for a
lot of things, they are rate-limited by the kernel, and it is
usually silly to block them without a fair amount of knowledge and a
very good reason.

  * I don't deny packets for 'private' networks,like 192.168.0.0/26
because the networks I use with my laptop *ARE* private a lot of the
time.  Having the firewall block too much and cause me problems is
rarely a good way of spending my time.

I would probably start with something like:

:   flush="ipfw -q flush"
:   add="ipfw -q add"
:
:   oif="ath0"
:
:   $flush
:   $add allow all from 127.0.0.1/32 to 127.0.0.1/32 via lo0
:   $add deny  all from 127.0.0.1/32 to any
:   $add deny  all from any  to 127.0.0.1/32
:
:   $add allow icmp from any to any
:
:   $add check-state
:
:   # Allow all outgoing connections.
:   $add allow all from any to any out via $oif setup keep-state
:
:   # Allow *some* incoming connections (only SSH right now).
:   $add allow all from any to any 22 in via $oif setup keep-state
:
:   # Block everything else.
:   $add deny log all from any to any

That's pretty minimal, and you can build on top of it :-)

If you are using DHCP to get an address for your laptop, you may have to
also allow incoming packets from "any" to "255.255.255.255", destined
for UDP port 68, which would make your ruleset:

:   flush="ipfw -q flush"
:   add="ipfw -q add"
:
:   oif="ath0"
:
:   $flush
:   $add allow all from 127.0.0.1/32 to 127.0.0.1/32 via lo0
:   $add deny  all from 127.0.0.1/32 to any
:   $add deny  all from any  to 127.0.0.1/32
:
:   $add allow icmp from any to any
:
:   $add check-state
:
:   # Allow all outgoing connections.
:   $add allow all from any to any out via $oif setup keep-state
:
:   # Allow *some* incoming stuff (only DHCP and SSH right now).
:   $add allow udp from any to

Re: List Protocol (was: Major Version Upgrade 4.11 to 5.x)

2006-12-18 Thread Giorgos Keramidas
On 2006-12-12 20:36, Bob Hall <[EMAIL PROTECTED]> wrote:
>On Tue, Dec 12, 2006 at 04:49:39PM -0800, Ted Mittelstaedt wrote:
>> a young girl in a tank top and boobs out front 
> 
> Isn't that where the boobs are usually installed?

Well, yes, most of the time :P

>> Until then STFU you ungrateful bastards.  All you once were
>> dumb newbies who didn't know FreeBSD from free beer, and
>> I'll bet more than a few of you sent e-mail to questions, thinking
>> it was an actual person who gave a damn.  Boy were you surprised!
> 
> That's exactly what happened to me, back in the time of FBSD 4.3.  And I
> got a response from an actual knowledgeable person who gave a damn. The
> only thing better would have been a young girl in a tank top and boobs
> out front. 

While Ted has a unique personal style of writing, to which I don't
totally subscribe, he is quite right about this one.  There is a reason
that the freebsd-questions list does not require a subscription, and he
got it 100% right.

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


Re: List Protocol (was: Major Version Upgrade 4.11 to 5.x)

2006-12-18 Thread Giorgos Keramidas
On 2006-12-12 23:10, [EMAIL PROTECTED] wrote:
>At 07:49 PM 12/12/2006, Ted Mittelstaedt wrote:
>> The reason that questions doesen't require a subscription ought to be
>> obvious to anyone with any experience with FreeBSD.
>> [EMAIL PROTECTED] is used as the default contact e-mail address for
>> most non-financial FreeBSD dealings, such as on CD cases,
> 
> NOPE.  Disagree Completely.  You are way out of touch.  Those people
> don't comprehend a "mailing list".  They do "web pages" and "web forums"
> and other clumsy devices.  Put it on www.freebsd.org if you want it
> easily accessible to such people.

The list *is* mentioned on the web site as the place to ask general FreeBSD
questions, already :-/

As I wrote elsethread, I don't find the style of Ted's post very nice, but
we should definitely find a way to clarify why this list is open.

The freebsd-questions mailing is is not the same as freebsd-hackers, or
freebsd-rc, or other much more technical lists.  It is being used as a
first contact point, both for technical and non-technical people.  Some of
the less technical posters may find subscribing before posting strange or
even completely incomprehensible.  These users will be lost to FreeBSD, if
we start making a subscription mandatory.  t is for the sake of these,
non-technical, users that the list is kept open to posts for anyone.

To the long-time subscribers of the list, letting any random average Joe
User post, seems silly.  This is mostly a result of seeing posts by people
who are not acquainted at all with FreeBSD, who don't even know that
FreeBSD is not a Linux distribution, or any number of other points which
may be irritating for us long-time FreeBSD users.  This is a 'sacrifice'
which is not totally worthless though.  Let me explain why.

Keeping the list is not as silly as it may initially seem to be.  The list
and its openness serve their purpose quite fine, since they lets newcomers
to FreeBSD ask questions with a minimum of hassle, and receive answers
which are very often characterized by the very same aspects which keep
long-time subscribers still posting here:

  * The answers are usually to the point, correct, technically valid,
complete (even including examples)

  * The answers are from people who are already using FreeBSD, and most of
the time know their stuff

  * The answers start coming in pretty soon after the initial post (this is
a side-effect of having subcribers around the globe, from almost all
timezones)

  * The answers often include pointers to more documentation, to which the
interested new user may refer for more details

All these are qualities which are not strictly related to the openness of
the list.  When combined with the openness of teh list, though, they form
the nucleus of what initially keeps a lot of new users around.

I know it is what kept *me* around, what kept a lot of the FreeBSD users I
personally know around, and I can only guess, but I'm fairly confident that
the same applies to a huge amount of the people who have posted here during
their first baby-steps with FreeBSD.

- Giorgos

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


Re: FreeBSD 6.2-RC1 issues Acer Aspire 5102 WLMi

2006-12-18 Thread Joel Dahl
On Mon, 2006-12-18 at 10:51 +0300, Abdullah Al-Marrie wrote:
> 5. RealTek chip High Definition Audio System isn't detected, and
> doesn't work for sure.

There's a driver for HDA in current.  You can grab binary modules for
RELENG_6 here: http://people.freebsd.org/~ariff/lowlatency/

-- 
Joel

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


Re: URGENT: 6.1/amd64 server hangs

2006-12-18 Thread Andrea Venturoli

Garrett Cooper wrote:


Andrea,
Are you running X in some shape or form on the server


No, no X server is running.
I have X libraries installed and some clients linked against them (e.g. 
emacs), though, but I don't think this is what you mean.





and what's the last message you receive on the console?


I don't have physical access on the console, but from what I'm told 
there is nothing after the usual "login:" at startup.


As for the logs:

Dec 17 08:29:52 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:56052 192.168.100.101:1 in via fxp0
Dec 17 08:29:52 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:54673 192.168.100.101:443 in via fxp0
Dec 17 08:29:52 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:54673 192.168.100.101:443 in via fxp0
Dec 17 08:30:00 apocalypse /usr/sbin/cron[33906]: (root) CMD 
(/usr/local/netfence/bin/flush.sh)
Dec 17 08:30:00 apocalypse /usr/sbin/cron[33907]: (root) CMD 
(/usr/libexec/atrun)

Dec 17 08:30:00 apocalypse kernel: ipfw: Accounting cleared.
Dec 17 08:30:02 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:57776 192.168.100.101:443 in via fxp0
Dec 17 08:30:02 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:57776 192.168.100.101:443 in via fxp0
Dec 17 08:30:02 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:50596 192.168.100.101:443 in via fxp0
Dec 17 08:30:02 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:50596 192.168.100.101:443 in via fxp0
Dec 17 08:30:17 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:59759 192.168.100.101:1 in via fxp0
Dec 17 08:30:17 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:59759 192.168.100.101:1 in via fxp0
Dec 17 08:30:17 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:54663 192.168.100.101:52948 in via fxp0
Dec 17 08:30:17 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:54663 192.168.100.101:52948 in via fxp0
Dec 17 08:30:22 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:49987 192.168.100.101:443 in via fxp0
Dec 17 08:30:22 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:49987 192.168.100.101:443 in via fxp0
Dec 17 08:30:22 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:54663 192.168.100.101:55000 in via fxp0
Dec 17 08:30:22 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:54663 192.168.100.101:55000 in via fxp0
Dec 17 08:30:27 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:52206 192.168.100.101:22 in via fxp0
Dec 17 08:30:27 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:52206 192.168.100.101:22 in via fxp0
Dec 17 08:30:27 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:58384 192.168.100.101:53 in via fxp0
Dec 17 08:30:27 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:58384 192.168.100.101:53 in via fxp0
Dec 17 08:30:32 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:57298 192.168.100.101:22 in via fxp0
Dec 17 08:30:32 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:57298 192.168.100.101:22 in via fxp0
Dec 17 08:30:37 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:49465 192.168.100.101:54663 in via fxp0
Dec 17 08:30:37 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:49465 192.168.100.101:54663 in via fxp0
Dec 17 08:30:37 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:53405 192.168.100.101:1 in via fxp0
Dec 17 08:30:37 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:53405 192.168.100.101:1 in via fxp0
Dec 17 08:30:42 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:58705 192.168.100.101:54663 in via fxp0
Dec 17 08:30:42 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:58705 192.168.100.101:54663 in via fxp0
Dec 17 08:30:47 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:59552 192.168.100.101:1 in via fxp0

Dec 18 08:33:56 apocalypse syslogd: restart
Dec 18 08:33:56 apocalypse syslogd: kernel boot file is /boot/kernel/kernel
Dec 18 08:33:56 apocalypse kernel: 1:56533 192.168.100.101:443 in via fxp0
Dec 18 08:33:56 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:56533 192.168.100.101:443 in via fxp0
Dec 18 08:33:56 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:51628 192.168.100.101:53 in via fxp0
Dec 18 08:33:56 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:51628 192.168.100.101:53 in via fxp0
Dec 18 08:33:56 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:59273 192.168.100.101:53 in via fxp0
Dec 18 08:33:56 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:59273 192.168.100.101:53 in via fxp0
Dec 18 08:33:56 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:52115 192.168.100.101:443 in via fxp0
Dec 18 08:33:56 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:52115 192.168.100.101:443 in via fxp0
Dec 18 08:33:56 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:51886 192.168.100.101:22 in via fxp0
Dec 18 08:33:56 apocalypse kernel: ipfw: 65534 Deny TCP 
192.168.100.201:51886 192.

Re: Legato Client for freeBSD.

2006-12-18 Thread n j

One is to enable FreeBSD's Linux Compatibility and use Letgato's Linux
client (I suppose they have one?)


I actually tried this. And the client actually works. However, I
haven't found a way to escape Linux compatibility chroot - i.e.
backing up /usr actually backs up /compat/linux/usr. Of course, that
doesn't mean it's impossible, it just means that setting up
FreeBSD-native client proved simpler.

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


Re: URGENT: 6.1/amd64 server hangs

2006-12-18 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andrea Venturoli wrote:
> Hello.
> A server I manage is locking too frequently.
> The behaviour is very strange: almost nothing works, no daemon is
> running, keyboard is ignored, but still the machine will answer pings.
> 
> The real problem is that I'm not able to diagnose this, since no message
> is displayed on the console or recorded in the logs and no crash is
> produced. I compiled DDB in, I can press Ctrl-Alt-Esc and drop into it,
> but then again the keyboard won't work, so it's useless.
> 
> Although this box features a dual core CPU, I'm running with SMP
> disabled, so to leave this out of the way.
> Apart from that, the most unusual things this box has are an amr
> controller (featuring RAID5) and GELI. Are there any known issues with
> these?
> 
> How is 6.2 stability right now? Dumping and upgrading is the only thing
> I can think about, though I'm not sure whether this would be an
> improvement...
> 
> Any other hint? Any info I should look for and provide?
> 
>  bye & Thanks
> av.

Andrea,
Are you running X in some shape or form on the server, and what's the
last message you receive on the console?
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFhlRaEnKyINQw/HARAr7hAKCgT+pjqaHOYHZwm0wxKwfArUsQNACePHff
miQWDGxyti8S92BMjTHQoxM=
=j82p
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PHP 5 with Apache 1.3

2006-12-18 Thread Thomas Wahyudi

Ian Smith wrote:

Hi all,

bit of a long saga, and a (by now) humble question ..

I reinstalled php5-5.2.0 from its package, after having to deinstall
php 4 and reinstall 5 after the only major glitch on a portupgrade -aPP
on a 5.5-STABLE system upgrading old ports, mostly from 5.4-R days.
  

... cut


What do I need to do to get Apache to execute mod_php5 on .php files?

Cheers, Ian
  
have you check output from /var/log/httpd-error.log ? it should type 
some php version if the php is working correctly or
could you paste here the log from /var/log/httpd-error.log after you 
restart the apache ( assuming you install apache from port too )

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


Re: rm -f doesn't delete symlink

2006-12-18 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jeppe Bundsgaard wrote:
> At 00:06 18-12-2006, you wrote:
>> Jeppe Bundsgaard wrote:
>>> At 22:01 17-12-2006, you wrote:
 Jeppe Bundsgaard wrote:
>
> Hi,
> I am trying to upgrade to FreeBSD 6.1. But when I run installworld
> it halts when trying to create a symlink: /sys. Just before the
> error the script tries to delete the old symlink with: rm -f /sys.
> But this doesn't delete the symlink.
> No flags are set on /sys.
> Anybody got any idea what is wrong?
> Thanks.
> Jeppe
 Jeppe,
Try without the -f and see what the error is. -f (in my book at
 least) usually evaluates to (yes, quiet) in regular files / symlinks
 at least.
 -Garrett
 _
>>>
>>> Garrett, thanks for your answer.
>>>
>>> -f Attempt to remove the files without prompting for confirmation,
>>> regardless of the file's permissions (cf. man rm)
>>>
>>> even rm -v says nothing. But /sys still exist...
>>> Jeppe
>> Tried unlink(1)? Shouldn't really have to use it at all, but it could
>> solve your problem faster..
>> -Garrett
> 
> Yes, and even if it helped it wouldn't solve the problem that
> installworld uses rm -f /sys
> Jeppe

Well, try it anyhow though, and then try recreating the symlink after
the fact, just to see if installworld goes through properly.

Also, just out of curiousity (before you unlink the symlink)--what
version of FreeBSD are you upgrading from and what are the current
permissions / ownership for /sys?

My /sys:

[EMAIL PROTECTED] ~]$ ls -l / | grep sys
lrwxr-xr-x   1 root wheel11 Dec 17 22:47 sys -> usr/src/sys

Cheers,
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFhlNeEnKyINQw/HARAglwAKCpwuxPcJ1SIDzrjoa873TP5REW2QCeOuys
Exmg1xcYdR0zwC/EU8n1HZ0=
=KnYT
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


URGENT: 6.1/amd64 server hangs

2006-12-18 Thread Andrea Venturoli

Hello.
A server I manage is locking too frequently.
The behaviour is very strange: almost nothing works, no daemon is 
running, keyboard is ignored, but still the machine will answer pings.


The real problem is that I'm not able to diagnose this, since no message 
is displayed on the console or recorded in the logs and no crash is 
produced. I compiled DDB in, I can press Ctrl-Alt-Esc and drop into it, 
but then again the keyboard won't work, so it's useless.


Although this box features a dual core CPU, I'm running with SMP 
disabled, so to leave this out of the way.
Apart from that, the most unusual things this box has are an amr 
controller (featuring RAID5) and GELI. Are there any known issues with 
these?


How is 6.2 stability right now? Dumping and upgrading is the only thing 
I can think about, though I'm not sure whether this would be an 
improvement...


Any other hint? Any info I should look for and provide?

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


FreeBSD 6.2-RC1 issues Acer Aspire 5102 WLMi

2006-12-18 Thread Abdullah Al-Marrie

Hello guys,

First thanks for the hard work to make FreeBSD good for desktop environment.

Here is my case with Acer Aspire 5102 WLMi with the latest bios 2.40

It shares the same mobo with 3100, and 5110

FreeBSD 6.1 CD1 wasn't able to boot at all.

I used FreeBSD 6.2-RC1, then I was able to boot.
booting with acpi disabled crash and reboot the laptop.

So I went ahead, installed the 6.2-RC1, then I upgraded the OS via the
csup to RELENG6, now it runs FreeBSD 6.2-PRERELEASE.

The laptop has AMD Turion x2 64, but I used i386, since the laptop
only has 1.5 GB of ram.

I was able to install x11+KDE via packages.

Here are the issues I face with it now.

1. I can't boot with acpi disabled, it crashes all the time.

2. I can't use my WLAN which is broadcom, I was forced to use an older
drivers, since ndis has problem with reading the latest driver from
broadcom.
Here are the files
http://bb.wearab.net/attachment.php?attachmentid=472&d=1166427326
http://bb.wearab.net/attachment.php?attachmentid=473&d=1166427326

And here is the 78 MB full package for the driver in zip file
ftp://ftp.support.acer-euro.com/notebook/aspire_3100_5100_5110/driver/802bg_broadcom_v4.10.40.0.zip

Could someone convert the 2 files to a kernel module? please let me know.

4. Bluetooth doesn't work.

5. RealTek chip High Definition Audio System isn't detected, and
doesn't work for sure.

6. The laptop doesn't shutdown or restart, it says disk sync .. then
it displays the uptime, and stays there, I have to press the power
button to switch it off.

Suggestions or hints are welcome.

Best Regards,

-Arabian
Arab Portal Network
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"