Re: Mounting ext3 problem [SOLVED]

2005-10-02 Thread Sasa Stupar
I have soved the issue. I have just took a fedora boot disk and boot the 
system, mount corupted drive and then unmount it. Now I can mount drive 
with ext3 fs.


Sasa 

pgpcOkjCnzIki.pgp
Description: PGP signature


The FreeBSD Diary: 2005-09-11 - 2005-10-01

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

These are the articles posted during this period:

11-Sep : New York City BSD Conference
 Speakers have been finalized 
 http://freebsddiary.org/nycbsdcon-2005-speakers.php?2


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

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


port 55866

2005-10-02 Thread dick hoogendijk
Does anybody know which program is know to use (incoming) port 55866 ?

I see lots and lots of blocking rules from ipf on this port, mostly
coming from the states.

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can I disable HyperThreading in OS?

2005-10-02 Thread Andrew P.
On 10/1/05, hshh [EMAIL PROTECTED] wrote:
 Hi,

 I have a dual XEON smp box. There is option about disable HTT in bios, but
 it can't work. It's still display 4 cpu in my OS.
 Can I disablt HTT in OS directly? I am running FreeBSD 4.11.

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


Take a look at this advisory:

ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:09.htt.asc

I think you want to upgrade to RELENG_4_11,
or use the workaround.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Flash PLugin for FireFox

2005-10-02 Thread Andrew P.
On 10/2/05, Warren [EMAIL PROTECTED] wrote:
 The plugin works on most things although there are sites that dont like the
 flash plaugin because it is out of date and will frequently crash firefox on
 me .. below is the output, bottom being the result AFTER it has closed
 itself.


  This setup works flawlessly for me on several
  machines.
 
  So let's debug it. Send us
  `uname -a`

 FreeBSD warren.shinji.nq.nu 5.4-STABLE FreeBSD 5.4-STABLE #20: Thu Sep 22
 13:42:26 EST 2005
 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/WARREN  i386

  `cat /etc/libmap.conf`

 # /etc/libmap.conf for FreeBSD 5-stable(5.3-BETA7 or after) and 6-current
 # $Id: libmap.conf-FreeBSD5-stable,v 1.20 2005/09/10 00:29:33 nork Exp $

 ###
 # Flash6 with Opera is not available.

 # Flash6 with Konqueror
 # SEE ALSO: http://freebsd.kde.org/howtos/konqueror-flash.php
 # This configuration was integrated to following one.

 # Flash6 with Mozilla/Firebird/Galeon/Epiphany/Konqueror
 [/usr/X11R6/lib/linux-flashplugin6/libflashplayer.so]
 libpthread.so.0 pluginwrapper/flash6.so
 libdl.so.2  pluginwrapper/flash6.so
 libz.so.1   libz.so.2
 libstdc++-libc6.2-2.so.3libstdc++.so.4
 libm.so.6   libm.so.3
 libc.so.6   pluginwrapper/flash6.so


 ###
 # Acrobat with Opera is not available.

 # Acrobat5 with Mozilla/Firebird/Galeon/Epiphany/Konqueror
 #[/usr/local/Acrobat5/Browsers/intellinux/nppdf.so]
 #libc.so.6  pluginwrapper/acrobat.so

 # Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror
 [/usr/compat/linux/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so]
 libc.so.6   pluginwrapper/acrobat.so

 # Japanese Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror
 [/usr/local/Acrobat7/Browser/intellinux/nppdf.so]
 libc.so.6   pluginwrapper/acrobat.so


 ###
 # Helix RealPlayer with Mozilla/Firebird/Galeon/Epiphany/Konqueror
 [/usr/X11R6/lib/linux-mozilla/plugins/nphelix.so]
 libstdc++.so.5  libstdc++.so.4
 libc.so.6   pluginwrapper/realplayer.so


 ###
 # Java3D
 # NOTE: THESE ARE SAMPLES.  PLEASE SEE ALSO INSTALL MESSAGES
 #   OF java/java3d PORT.
 [/usr/local/jdk1.4.2/jre/lib/i386/libJ3D.so]
 libdl.so.2  pluginwrapper/java3d.so
 libm.so.6   libm.so.3
 libnsl.so.1 pluginwrapper/java3d.so
 libpthread.so.0 pluginwrapper/java3d.so
 libc.so.6   pluginwrapper/java3d.so

 [/usr/local/jdk1.4.2/jre/lib/i386/libj3daudio.so]
 libm.so.6   libm.so.3
 libnsl.so.1 pluginwrapper/java3d_snd.so
 libpthread.so.0 pluginwrapper/java3d_snd.so
 libc.so.6   pluginwrapper/java3d_snd.so

 [/usr/local/jdk1.4.2/jre/lib/i386/libJ3DUtils.so]
 libpthread.so.0 pluginwrapper/java3d.so
 libc.so.6   pluginwrapper/java3d.so


 ###
 # Java Advanced Imaging (JAI) API
 # NOTE: THIS IS A SAMPLE.  PLEASE SEE ALSO INSTALL MESSAGES
 #   OF java/jai PORT.
 [/usr/local/jdk1.4.2/jre/lib/i386/libmlib_jai/libmlib_jai.so]
 libm.so.6   libm.so.3
 libc.so.6   pluginwrapper/jai.so


 ###
 # JAI Image I/O Tools
 # NOTE: THIS IS A SAMPLE.  PLEASE SEE ALSO INSTALL MESSAGES
 #   OF java/jai-imageio PORT.
 [/usr/local/jdk1.4.2/jre/lib/i386/libclib_jiio.so]
 libm.so.6   libm.so.3
 libc.so.6   pluginwrapper/jai.so


 ###
 # Photo Image Print System (for EPSON bubble jet printers driver)
 #[/usr/local/lib/pips/]
 #libc.so.6  pluginwrapper/pips.so
 #libdl.so.2 pluginwrapper/pips.so



  `firefox`

 %firefox
 ###!!! ASSERTION: nsTDependentString must wrap only null-terminated strings:
 'mData[mLength] == 0', file ../../dist/include/string/nsTDependentString.h,
 line 67
 Break: at file ../../dist/include/string/nsTDependentString.h, line 67
 Type Manifest File: /usr/X11R6/lib/firefox/components/xpti.dat
 ###!!! ASSERTION: Failed to write xpti manifest!: 'Error', file
 xptiInterfaceInfoManager.cpp, line 1937
 Break: at file xptiInterfaceInfoManager.cpp, line 1937
 nsNativeComponentLoader: autoregistering begins.
 nsNativeComponentLoader: autoregistering succeeded
 ###!!! ASSERTION: Failed to write xpti manifest!: 'Error', file
 xptiInterfaceInfoManager.cpp, line 1937
 Break: at file xptiInterfaceInfoManager.cpp, line 1937
 nNCL: registering deferred (0)
 Xlib: connection to :0.0 refused by server
 Xlib: XDM 

Re: Odd monthly run output

2005-10-02 Thread Dmitry Mityugov
On 10/1/05, Gerard Seibert [EMAIL PROTECTED] wrote:
...
 I have been receiving a similar message:

 Doing login accounting:
 total 1108.48
 ges821.23
 root   287.14
 (Skipped 1 of 239 records due to invalid time values)
 gerard   0.10

 /etc/monthly.local: No such file

 -- End of monthly output --

 I thought it was just a fluke, but obviously not. I am using FreeBSD 5.4.

I remember receiving such messages in the past, but not this month:

Doing login accounting:
total2243.12
dd1968.99
root218.33
imagine55.59
cryonite0.12
ftp0.08

--
Dmitry Mityugov, St. Petersburg, Russia
I ignore all messages with confidentiality statements

We live less by imagination than despite it - Rockwell Kent, N by E
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CUPS, Foomatic, and HPIJS?

2005-10-02 Thread Andrew P.
On 10/1/05, Eric Pretorious [EMAIL PROTECTED] wrote:
 From: Jared Barneck [EMAIL PROTECTED]
 Subject: Re: CUPS, Foomatic, and HPIJS?
 Date: Thu, 22 Sep 2005 15:27:51 -0600
 
 Michael Nottebrock wrote:
 
 On Thursday, 22. September 2005 20:42, Eric Pretorious wrote:
 
 Thanks, Mike. I didn't have a chance to try it out: I decided to switch
 ack to Gentoo because of the steep learning curve that comes along with
 FreeBSD's ports  packages.
 
 
 Can I just say that moving back to Gentoo because of a steep learning
 curve is no just ironic, but down right funny.  :-)

 Installing CUPS/HPIJS was as easy as...

 % emerge cups ghostscript hpijs

 Portage automatically retrieves, compiles, and installs CUPS, GhostScript,
 the complete Foomatic configurator, HPIJS, etc., etc. and
 _integrates_them_all_. i.e., All of the HPIJS drivers/filters and Foomatic
 drivers/filters are *already* present in the web-based CUPS interface.

 Now *that* is what I call a relatively-flat learning curve!!!

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


BTW, to do the same thing in FreeBSD you
type:

# portinstall cups -m 'WITH_CUPS=yes' hpijs

ghostscript and all other dependencies are
installed automatically. The -m switch tells
hpijs to support cups, but if you omit it the
port tells you about it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Flash PLugin for FireFox

2005-10-02 Thread Warren
 Interesting...

 Please, send me some links which behave badly.

 From the output of firefox it feels like the problem

 is with permissions or something like that. Try
 running firefox under root, please.

http://www.hattrick.org

Http://www.neopets.com

Basically any website that has flash. It may work in the beggining, but when a 
refresh or move to another page that also has flash and it often simply force 
closes itself.

running firefox as root
warren# firefox
Xlib: connection to :0.0 refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key

(firefox-bin:74966): Gtk-WARNING **: cannot open display:
nsStringStats
 = mAllocCount: 1
 = mReallocCount: 0
 = mFreeCount: 0
 = mShareCount: 0
 = mAdoptCount: 0
 = mAdoptFreeCount: 0

-- 
Yours Sincerely
Shinjii
http://www.shinji.nq.nu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GVINUM woes

2005-10-02 Thread Stijn Hoop
On Sun, Oct 02, 2005 at 12:55:34AM +0100, Rob Pitt wrote:
 Hello,
 
 When I power into single user mode and rebuild all my stale plesks  
 (start root.p1, etc) it works fine they all come back up everyone is  
 up until I reboot and then...
 
 ad4: 76293MB Maxtor 6Y080M0/YAR51HW0 [155009/16/63] at ata2-master  
 SATA150
 ad6: 76293MB Maxtor 6Y080M0/YAR51HW0 [155009/16/63] at ata3-master  
 SATA150
 GEOM_MIRROR: Device gm0 created (id=2565216261).
 GEOM_MIRROR: Device gm0: provider ad6 detected.
 GEOM_MIRROR: Device gm0: provider ad6 activated.
 GEOM_MIRROR: Device gm0: provider mirror/gm0 launched.
 GEOM_VINUM: subdisk swap.p1.s0 state change: down - stale
 GEOM_VINUM: subdisk root.p1.s0 state change: down - stale
 GEOM_VINUM: subdisk tmp.p1.s0 state change: down - stale
 GEOM_VINUM: subdisk var.p1.s0 state change: down - stale
 GEOM_VINUM: subdisk usr.p1.s0 state change: down - stale

Why do you have both GEOM_MIRROR and GEOM_VINUM loaded? They cannot share
the same provider.

--Stijn

-- 
My server has more fans than Britney.
-- Steve Warwick, from a posting at [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: Flash PLugin for FireFox

2005-10-02 Thread Andrew P.
On 10/2/05, Warren [EMAIL PROTECTED] wrote:
  Interesting...
 
  Please, send me some links which behave badly.
 
  From the output of firefox it feels like the problem
 
  is with permissions or something like that. Try
  running firefox under root, please.

 http://www.hattrick.org

 Http://www.neopets.com

 Basically any website that has flash. It may work in the beggining, but when a
 refresh or move to another page that also has flash and it often simply force
 closes itself.

 running firefox as root
 warren# firefox
 Xlib: connection to :0.0 refused by server
 Xlib: Invalid MIT-MAGIC-COOKIE-1 key

 (firefox-bin:74966): Gtk-WARNING **: cannot open display:
 nsStringStats
  = mAllocCount: 1
  = mReallocCount: 0
  = mFreeCount: 0
  = mShareCount: 0
  = mAdoptCount: 0
  = mAdoptFreeCount: 0

 --
 Yours Sincerely
 Shinjii
 http://www.shinji.nq.nu


I don't have any problem with these 2 sites. Maybe
it's your Java plugin that messes things up. Try
disabling it for a while (just comment out lines
in the java section in libmap.conf). I think 1.5.0
can still be very unstable.

As for running under root, I didn't mean in the
root login environment. Just startx as a user
then open xterm, type su (not su - or
su - root), enter pass and try firefox.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Periodic Weekly Report

2005-10-02 Thread Ruslan Ermilov
On Sun, Oct 02, 2005 at 06:57:33AM -0400, Gerard Seibert wrote:
 On Sat, 1 Oct 2005 21:22:39 +0300, Ruslan Ermilov [EMAIL PROTECTED]
 Subject: Re: Periodic Weekly Report
 Wrote these words of wisdom:
 
  On Sat, Oct 01, 2005 at 01:51:19PM +0300, Giorgos Keramidas wrote:
   On 2005-10-01 06:18, Gerard Seibert [EMAIL PROTECTED] wrote:
I received this report after 'periodic weekly' had completed its run.
   
Cleaning up kernel database files:
   
Rebuilding locate database:
   
Rebuilding whatis database:
   
Reformatting manual pages:
Usage: .Ft function_type ... (#284)
Usage: .Ft function_type ... (#348)
   
  This is a markup bug in some manpage.
  
mdoc warning: .Fx: Unknown FreeBSD version `5.4' (#94)
mdoc warning: .Fx: Unknown FreeBSD version `5.4' (#94)
   
  This is a result of FreeBSD 5.4 being mistakenly remove from
  mdoc-local.  I've re-added it to the RELENG_5 now, so it
  should be fixed if oyu're tracking RELENG_5.
  
catman: /usr/local/lib/perl5/5.8.7/man/cat3: mkdir: Permission denied
catman: /usr/local/lib/perl5/5.8.7/perl/man/cat3: mkdir: Permission 
denied
   
  This is a bug in the use.perl script: it should also create the
  cat3 directory mentioned above, with man:wheel ownership.

 First, do I have to rebuild world to correct the mdoc warning: .Fx:
 Unknown FreeBSD version `5.4' (#94) error?
 
You should cvsup to the latest RELENG_5 (assuming you were tracking
it).  Then after the next buildworld/installworld this problem will
go away.  OTOH, it doesn't do any harm and you can safely ignore it.

 Second, regarding the bug in use.perl.script, exactly how do I go
 about correcting that, or don't I?
 
Either fix the port (one line), or create the said directory manually
with the correct ownership.


Cheers,
-- 
Ruslan Ermilov
[EMAIL PROTECTED]
FreeBSD committer


pgpzKNSWP8xcx.pgp
Description: PGP signature


Re: Flash PLugin for FireFox

2005-10-02 Thread Warren
 I don't have any problem with these 2 sites. Maybe
 it's your Java plugin that messes things up. Try
 disabling it for a while (just comment out lines
 in the java section in libmap.conf). I think 1.5.0
 can still be very unstable.

Up untill i installed the flash plugin my broswer was running completly 
stable, it has only since the installation of flash become unstable, which 
unf seems to be the case since i been trying to use flash since i ran FreeBSD 
4.9-STABLE and as yet not been able to get a plugin that dosent cause my 
browser to become unstable.

 As for running under root, I didn't mean in the
 root login environment. Just startx as a user
 then open xterm, type su (not su - or
 su - root), enter pass and try firefox.

Below is using xterm in root

warren# firefox
Xlib: connection to :0.0 refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key

(firefox-bin:75731): Gtk-WARNING **: cannot open display:  
nsStringStats
 = mAllocCount: 1
 = mReallocCount: 0
 = mFreeCount: 0
 = mShareCount: 0
 = mAdoptCount: 0
 = mAdoptFreeCount: 0

-- 
Yours Sincerely
Shinjii
http://www.shinji.nq.nu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apsfilter setup test page does nothing ...

2005-10-02 Thread Kiffin Gish
On Sun, 2005-10-02 at 00:06 +0100, dgmm wrote:
 On Saturday 01 October 2005 17:02, Kiffin Gish wrote:
  I am trying to get my HP Deskjet 720C working via the parallel port lpt0.
 
  After running through the apsfilter setup program and configuring all
  the required stuff, I choose T) Print a test page, but nothing happens,
  namely:
 
  Ok to print testpage? [y/n] y
 
  Creating test page...
 
  real0m5.208s
  user0m1.358s
  sys 0m0.336s
 
  Printing test page...
  -rw-r--r--  1 root  wheel  104370928 Oct  1 17:44
  /tmp/apsfilter1140/test_page.aps
 
  ...and then nothing.
 
  the tmp-file is created but what now?
 
  lpd is running:
 
  [EMAIL PROTECTED] ps -aux | grep lpd
  root 396  0.0  0.2  1364   940  ??  Is5:13PM   0:00.01
  /usr/sbin/lpd
 
  Any ideas?
 
 Is there a driver for the 720C now?  last time I looked it wasn't supported 
 (quite some time ago now) mainly due to being a winprinter ie no inbuilt 
 inteligence.
 

Yes there is and it is called ppa/720 according to the install script.

-- 
Kiffin Gish
Gouda, The Netherlands

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


Defragmentation needed with FreeBSD ...

2005-10-02 Thread Kiffin Gish
I was just wondering if like in Windows disk fragmentation arises, and
if so then how should one go about defragmenting it?

-- 
Kiffin Gish
Gouda, The Netherlands

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


RE: Defragmentation needed with FreeBSD ...

2005-10-02 Thread Tamouh H.


 I was just wondering if like in Windows disk fragmentation
 arises, and if so then how should one go about defragmenting it?

There is no fragmentation in the BSD file systems, that is something related
to Windows only. You might want to add the line:

fsck_y_enable=YES

to your /etc/rc.conf  in the event fsck finds errors on your disks.


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


Re: Defragmentation needed with FreeBSD ...

2005-10-02 Thread Andrew P.
On 10/2/05, Tamouh H. [EMAIL PROTECTED] wrote:

 
  I was just wondering if like in Windows disk fragmentation
  arises, and if so then how should one go about defragmenting it?

 There is no fragmentation in the BSD file systems, that is something related
 to Windows only. You might want to add the line:

 fsck_y_enable=YES

 to your /etc/rc.conf  in the event fsck finds errors on your disks.


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


Of course there is fragmentation.

UFS, particularly its implementation in FreeBSD is
more intelligent than NTFS/FAT32. When there is
enough free space on the disk (typically more than
15%, see tunefs(8) for details), I/O is automatically
optimized to minimize fragmentation.

When your win32 box is idle, but the hdd is scratching
it's very annoying, because you know that windows
is swapping something.

When your bsd box is idle, but the hdd is scratching
it's quite pleasant, 'cuz that's some hard-working
daemons make sure that you don't loose any data,
and always can enjoy the maximum performance.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Checksum failed

2005-10-02 Thread Hamza Eraldi
Is there any tool to check stability of the memory?

On Sat, 1 Oct 2005 22:46:05 -0700, David Kirchner [EMAIL PROTECTED] said:
 On 10/1/05, Hamza Eraldi [EMAIL PROTECTED] wrote:
  Yes, it is same:
  cat distinfo
  MD5 (php-4.4.0.tar.bz2) = e85b606fe48198bfcd785e5a5b1c9613
  I have already updated the ports.
  The command was also make install clean distclean.
  After a reboot and a new make install, the file (zlib.so) has been
  fetchedcompiled successfully but i got the same checksum error for the
  next file (mcrypt.so) too.
  An another reboot fixed it again.
  Interesting, huh?
  Thanks.
 
 You may not like this.,,
 
 It sounds like you have memory corruption problems. Either a problem
 with the memory, motherboard, or CPU, or even the hard drive card (if
 applicable). I've personally seen this sort of problem manifest itself
 in the form of bogus tripwire/samhain reports.

-- 
http://www.fastmail.fm - I mean, what is it about a decent email service?

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


Re[2]: Defragmentation needed with FreeBSD ...

2005-10-02 Thread Gerard Seibert
On Sun, 2 Oct 2005 17:11:23 +0400, Andrew P. [EMAIL PROTECTED]
Subject: Re: Defragmentation needed with FreeBSD ...
Wrote these words of wisdom:

 On 10/2/05, Tamouh H. [EMAIL PROTECTED] wrote:
 
  
   I was just wondering if like in Windows disk fragmentation
   arises, and if so then how should one go about defragmenting it?
 
  There is no fragmentation in the BSD file systems, that is something related
  to Windows only. You might want to add the line:
 
  fsck_y_enable=YES
 
  to your /etc/rc.conf  in the event fsck finds errors on your disks.
 
 Of course there is fragmentation.
 
 UFS, particularly its implementation in FreeBSD is
 more intelligent than NTFS/FAT32. When there is
 enough free space on the disk (typically more than
 15%, see tunefs(8) for details), I/O is automatically
 optimized to minimize fragmentation.
 
 When your win32 box is idle, but the hdd is scratching
 it's very annoying, because you know that windows
 is swapping something.
 
 When your bsd box is idle, but the hdd is scratching
 it's quite pleasant, 'cuz that's some hard-working
 daemons make sure that you don't loose any data,
 and always can enjoy the maximum performance.


* REPLY SEPARATOR *
On 10/2/2005 9:40:11 AM, Gerard Seibert Replied:

I have both Windows and FreeBSD boxes, and I can honestly say that I do
not hear the hdd scratching (I certainly hope it is not scratching). It
sounds to me like you have a serious problem with your HD. Perhaps it is
time to trade it in for a newer model.

Second, why would I want to add this line to my /etc/rc.conf file:

fsck_y_enable=YES

I thought the OS handled the file checking process automatically.


-- 
Gerard Seibert
[EMAIL PROTECTED]


There are two ways to slide easily through life; to believe
everything or to doubt everything. Both ways save us from thinking.

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


Re: port 55866

2005-10-02 Thread Chuck Swiger

dick hoogendijk wrote:

Does anybody know which program is know to use (incoming) port 55866 ?

I see lots and lots of blocking rules from ipf on this port, mostly
coming from the states.


http://www.seifried.org/security/ports/55000/55866.html

...?

--
-Chuck


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


Re: Checksum failed

2005-10-02 Thread Chuck Swiger

Hamza Eraldi wrote:

Is there any tool to check stability of the memory?


See http://www.memtest86.com/, also available in ports/sysutils/memtest86.

--
-Chuck

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


Re: Checksum failed

2005-10-02 Thread Hamza Eraldi
The server is a dedicated server, i am managing it remotely via SSH.
Because of the steps of memtest86:
* 1) Insert blank floppy
* 2) dd if=/usr/local/share/memtest86/floppy.bin of=/dev/fd0
* 3) Boot the floppy
I couldn't use it, but i did a test with memtester (sysutils/memtest)
and got a lot of errors: 
The memory looks like dead..

bsd# memtest 256MB


Loop 4:
  Stuck Address   : ok
  Random Value: FAILURE: 0xc5fba309 != 0xc5fba308 at offset
  0x0018a711.
FAILURE: 0xb6c4c3e1 != 0xb6c4c3e0 at offset 0x0018a711.
  Compare XOR : FAILURE: 0x3f09350c != 0x3f09350b at offset
  0x0018a711.
  Compare SUB : FAILURE: 0xda07cc58 != 0x5acdd826 at offset
  0x0018a711.
  Compare MUL : FAILURE: 0x0001 != 0x at offset
  0x0018a711.
  Compare DIV :   Compare OR  : ok

Loop 5:
  Stuck Address   : ok
  Random Value: FAILURE: 0x37d83cef != 0x37d83cee at offset
  0x0018a711.
FAILURE: 0xd8bfe3ac != 0xd8bfe3ad at offset 0x0018a711.
  Compare XOR : FAILURE: 0x61c455e0 != 0x61c455e1 at offset
  0x0018a711.
  Compare SUB : FAILURE: 0x9fb551e0 != 0x17b1c001 at offset
  0x0018a711.
  Compare MUL : FAILURE: 0x0001 != 0x at offset
  0x0018a711.

Loop 6:
  Stuck Address   : ok
  Random Value: FAILURE: 0x3ffe6f13 != 0x3ffe6f12 at offset
  0x0018a711.
FAILURE: 0xe0016f63 != 0xe0016f62 at offset 0x0018a711.
  Compare XOR : FAILURE: 0x9105d11c != 0x9105d11b at offset
  0x0018a711.
  Compare SUB : FAILURE: 0x18586f30 != 0x9c5b475c at offset
  0x0018a711.
  Compare MUL : FAILURE: 0x != 0x0001 at offset
  0x0018a711.
  Compare DIV : FAILURE: 0x7da7c80e != 0x7da7c80f at offset
  0x0018a711.
  Compare OR  : FAILURE: 0x59a78008 != 0x59a78009 at offset
  0x0018a711.
  Compare AND :   Sequential Increment: ok

-- 
http://www.fastmail.fm - Accessible with your email software
  or over the web

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


FreeBSD + Firefox + Flash Problems

2005-10-02 Thread Vladimir Tsvetkov
I did everything like it was described in the how-to's about
installing plugins for native Firefox on FreeBSD. I use FreeBSD 4.9
Release, which at this moment is unsupported.

1. Install firefox:
# cd /usr/ports/www/firefox ; make install clean

2. Install linuxpluginwrapper:
# cd /usr/ports/www/linuxpluginwrapper
# make WITHOUT_PLUGINS=yes install clean

I use WITHOUT_PLUGINS=yes, because I don't need acroread7 - I have
acroread5 and it perfectly fits my needs.
I got the following message:

Please enable libmap.conf(5) feature for rtld(1).
4-stable user:
You can get a following patch.
http://people.FreeBSD.org/~nork/libmap_4stable.diff
   Please apply on /usr/src and make install on /usr/src/libexec/rtld-elf:
   # cd /usr/src ; patch -p0  /tmp/libmap_4stable.diff
   # cd libexec/rtld-elf ; make clean all install
5.1-RELEASE user:
Please see /usr/src/libexec/rtld-elf/Makefile.
*** Error code 1

Stop in /usr/ports/www/linuxpluginwrapper.

3. Patching:
I've downloaded the patch:
http://people.FreeBSD.org/~nork/libmap_4stable.diff and than I tried
to apply it:
# cd /usr/src ; patch -p0  /tmp/libmap_4stable.diff

I got the following message:
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|diff -urN libexec/rtld-elf.old/Makefile libexec/rtld-elf/Makefile
|--- libexec/rtld-elf.old/Makefile  Sun Jun 23 06:32:35 2002
|+++ libexec/rtld-elf/Makefile  Wed Oct  8 02:50:10 2003
--
File to patch:

Obviously, I don't have /usr/src/libexec sources installed.

4. Install the libexec sources:
I put the FreeBSD 4.9 Release installation CD in the CD-ROM.
# /stand/sysinstall
Configure-Distributions-src-libexec

5. Patch again:
# cd /usr/src ; patch -p0  /tmp/libmap_4stable.diff
# cd libexec/rtld-elf ; make clean all install

This now works.

6. Another try to install linuxpluginwrapper:
# cd /usr/ports/www/linuxpluginwrapper
# make WITHOUT_PLUGINS=yes install clean

No problems at all.

7. Install linux-flashplugin6:
# cd /usr/ports/www/linux-flashplugin6
# make install clean

No problems at all.

8. Editing /etc/libmap.conf:
# /etc/libmap.conf for FreeBSD 4.x

# Flash6 with Mozilla Firefox
[/usr/X11R6/lib/linux-flashplugin6/libflashplayer.so]
libpthread.so.0 pluginwrapper/flash6.so
libdl.so.2  pluginwrapper/flash6.so
libz.so.1   libz.so.2
libstdc++-libc6.2-2.so.3libstdc++.so.3
libm.so.6   libm.so.2
libc.so.6   pluginwrapper/flash6.so

# Acrobat5 with Mozilla Firefox
[/usr/X11R6/Acrobat5/Browsers/intellinux/nppdf.so]
libc.so.6   pluginwrapper/acrobat.so

# Helix RealPlayer with Mozilla Firefox
[/usr/X11R6/lib/linux-mozilla/plugins/nphelix.so]
libstdc++-libc6.2-2.so.3libstdc++.so.3
libc.so.6   pluginwrapper/realplayer.so

I've checked every single Shared Object that is listed in my /etc/libmap.conf.

But there are no indications at all, that Firefox is using the
installed plugins. Still Firefox continues to inform me about missing
plugins.
I tried also, to configure Konqueror (3.1.4) to use the new plugins:
Settings-Configure Konqueror..-Plugins-Scan for new plugins
And I got the following error message:

The nspluginscan executable cannot be found. Netscape plugins will
not be scanned.

I searched the web for this problem and I found this on the
freebsd-questions maillist:
http://lists.freebsd.org/pipermail/freebsd-questions/2004-July/053298.html

You have to compile /usr/ports/x11/kdebase3 with motif support. Run
'make config' to change that option, then recompile and install it.

I tried this, but the message above is outdated (Thu Jul 22 02:13:13
PDT 2004). Currently in the configuration of the kdebase3 port there
is only one option:

[X] Suid wrapper for aRts, req'd for realtime prio

I am aware that the version of FreeBSD that I use is no longer
supported, but is there any way to workaround the necessity of moving
to 4Stable, and to get a working plugins for the Firefox browser?

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


Re: Problem upon upgrade ...

2005-10-02 Thread Aleksandar Kacanski
Thanks for the quick reply.
/dev/console does exists and I believe permissions are:
crw- /dev/console
Don't quote me on this I am working from memory.
After changing permissions for group and all users to rw i
got console back. I will make sure I change securelevel to
-1 and report what might be causing this behavior.
After than that upgrade went fine and system is now stable.
/s


--- Lowell Gilbert
[EMAIL PROTECTED] wrote:

 Aleksandar Kacanski [EMAIL PROTECTED] writes:
 
  Hello,
  I have issue with booting procedure after performing
  upgrade from 5.3 to 5.4
  
  Error appears after booting in multi-user mode.
  init: can't get /dev/console for controlling terminal:
  operation not permitted.
  Could someone point me to what might be causing this
  problem...
 
 *Is* there a /dev/console?  
 What are its permissions?
 Make sure you are at securelevel -1 to make it easier to
 identify what
 is happening.
 



Aleksandar Kacanski (Sasha)





__ 
Yahoo! for Good 
Donate to the Hurricane Katrina relief effort. 
http://store.yahoo.com/redcross-donate3/ 

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


Re: Re[2]: Defragmentation needed with FreeBSD ...

2005-10-02 Thread Andrew P.
On 10/2/05, Andreas Davour [EMAIL PROTECTED] wrote:
 On Sun, 2 Oct 2005, Gerard Seibert wrote:

  * REPLY SEPARATOR *
  On 10/2/2005 9:40:11 AM, Gerard Seibert Replied:
 
  I have both Windows and FreeBSD boxes, and I can honestly say that I do
  not hear the hdd scratching (I certainly hope it is not scratching). It
  sounds to me like you have a serious problem with your HD. Perhaps it is
  time to trade it in for a newer model.

 Yes, a HD should not be heard, then it's time to be very afraid! It
 happened to me yesterday, so I know... :(


You know, it depends. Most of my Seagate drives
are almost silent, but Maxtor and Hitachi (IBM) can
easily be heard.

Nevertheless, I don't take chances - and enable
SMART on all hard drives. Smartmontools come in
handy, I always know when it's time to make a
backup and go buy another drive.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Obtaining patch for FreeBSD 5.4

2005-10-02 Thread Deepak Naidu
Hi,
 I have installed FreeBSD 5.4-release. I want to make it stable by 
patching. What should I do to make my FreeBSD 5.4 as stable(is 5.4 relase 
default a stable one ?).
 
Cheers,
Deepak Naidu.
 


-
How much free photo storage do you get? Store your holiday snaps for FREE with 
Yahoo! Photos. Get Yahoo! Photos
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pppd: Could not determine remote IP address

2005-10-02 Thread guru

Hello,

With the helping hand of someone in freebsd-mobile list I've hacked
the 'uftdi' driver to support a PCMCIA card provided by Vodafone
for UMTS. The card works now as it should but the IPCP negotiating
of the pppd 2.3.11 (from ports collection) ends up in:

...
sent [IPCP ConfReq id=0x6 addr 10.227.149.188]
rcvd [IPCP ConfReq id=0x4b]
sent [IPCP ConfAck id=0x4b]
rcvd [IPCP ConfAck id=0x6 addr 10.227.149.188]
Could not determine remote IP address
sent [IPCP TermReq id=0x7 Could not determine remote IP address]
rcvd [IPCP TermAck id=0x7]

I picked up another Linux driven notebook to compare it with Linux
(because I've used the same PCMCIA card in Linux for some monthes)
and it turned out that the IPCP negotiating is ending up the
same way but the Linux pppd picks up some guessed remote IP address
and just put this into the ppp0 interface and the things are fine:

rcvd [IPCP ConfReq id=0x4]
sent [IPCP ConfNak id=0x4 addr 0.0.0.0]
rcvd [IPCP ConfNak id=0x4 addr 10.227.222.211 ms-dns1 139.7.30.125 ms-dns3
139.7.30.126]
sent [IPCP ConfReq id=0x5 addr 10.227.222.211 ms-dns1 139.7.30.125 ms-dns3
139.7.30.126]
rcvd [IPCP ConfAck id=0x5 addr 10.227.222.211 ms-dns1 139.7.30.125 ms-dns3
139.7.30.126]
rcvd [IPCP ConfReq id=0x5]
sent [IPCP ConfAck id=0x5]
Could not determine remote IP address: defaulting to 10.64.64.64

local  IP address 10.227.222.211
remote IP address 10.64.64.64

# ifconfig ppp0
ppp0  Link encap:Point-to-Point Protocol
  inet addr:10.227.222.211  P-t-P:10.64.64.64  Mask:255.255.255.255
  UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
  RX packets:7 errors:0 dropped:0 overruns:0 frame:0
  TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:3
  RX bytes:100 (100.0 b)  TX bytes:139 (139.0 b)

It seems that this feature does not exist in FreeBSD's pppd or
I'm missing something else?

Thx

Matthias
-- 
Matthias Apitz / Sisis Informationssysteme GmbH
Gruenwalder Weg 28g / D-82041 Oberhaching
Fon: ++49 89 / 61308-351, Fax: -399, Mobile ++49 170 4527211
http://www.sisis.de/~guru/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD + Firefox + Flash Problems

2005-10-02 Thread Andrew P.
On 10/2/05, Vladimir Tsvetkov [EMAIL PROTECTED] wrote:
 I did everything like it was described in the how-to's about
 installing plugins for native Firefox on FreeBSD. I use FreeBSD 4.9
 Release, which at this moment is unsupported.

 1. Install firefox:
 # cd /usr/ports/www/firefox ; make install clean

 2. Install linuxpluginwrapper:
 # cd /usr/ports/www/linuxpluginwrapper
 # make WITHOUT_PLUGINS=yes install clean

 I use WITHOUT_PLUGINS=yes, because I don't need acroread7 - I have
 acroread5 and it perfectly fits my needs.
 I got the following message:

 Please enable libmap.conf(5) feature for rtld(1).
 4-stable user:
 You can get a following patch.
 http://people.FreeBSD.org/~nork/libmap_4stable.diff
Please apply on /usr/src and make install on /usr/src/libexec/rtld-elf:
# cd /usr/src ; patch -p0  /tmp/libmap_4stable.diff
# cd libexec/rtld-elf ; make clean all install
 5.1-RELEASE user:
 Please see /usr/src/libexec/rtld-elf/Makefile.
 *** Error code 1

 Stop in /usr/ports/www/linuxpluginwrapper.

 3. Patching:
 I've downloaded the patch:
 http://people.FreeBSD.org/~nork/libmap_4stable.diff and than I tried
 to apply it:
 # cd /usr/src ; patch -p0  /tmp/libmap_4stable.diff

 I got the following message:
 Hmm...  Looks like a unified diff to me...
 The text leading up to this was:
 --
 |diff -urN libexec/rtld-elf.old/Makefile libexec/rtld-elf/Makefile
 |--- libexec/rtld-elf.old/Makefile  Sun Jun 23 06:32:35 2002
 |+++ libexec/rtld-elf/Makefile  Wed Oct  8 02:50:10 2003
 --
 File to patch:

 Obviously, I don't have /usr/src/libexec sources installed.

 4. Install the libexec sources:
 I put the FreeBSD 4.9 Release installation CD in the CD-ROM.
 # /stand/sysinstall
 Configure-Distributions-src-libexec

 5. Patch again:
 # cd /usr/src ; patch -p0  /tmp/libmap_4stable.diff
 # cd libexec/rtld-elf ; make clean all install

 This now works.

 6. Another try to install linuxpluginwrapper:
 # cd /usr/ports/www/linuxpluginwrapper
 # make WITHOUT_PLUGINS=yes install clean

 No problems at all.

 7. Install linux-flashplugin6:
 # cd /usr/ports/www/linux-flashplugin6
 # make install clean

 No problems at all.

 8. Editing /etc/libmap.conf:
 # /etc/libmap.conf for FreeBSD 4.x

 # Flash6 with Mozilla Firefox
 [/usr/X11R6/lib/linux-flashplugin6/libflashplayer.so]
 libpthread.so.0 pluginwrapper/flash6.so
 libdl.so.2  pluginwrapper/flash6.so
 libz.so.1   libz.so.2
 libstdc++-libc6.2-2.so.3libstdc++.so.3
 libm.so.6   libm.so.2
 libc.so.6   pluginwrapper/flash6.so

 # Acrobat5 with Mozilla Firefox
 [/usr/X11R6/Acrobat5/Browsers/intellinux/nppdf.so]
 libc.so.6   pluginwrapper/acrobat.so

 # Helix RealPlayer with Mozilla Firefox
 [/usr/X11R6/lib/linux-mozilla/plugins/nphelix.so]
 libstdc++-libc6.2-2.so.3libstdc++.so.3
 libc.so.6   pluginwrapper/realplayer.so

 I've checked every single Shared Object that is listed in my /etc/libmap.conf.

 But there are no indications at all, that Firefox is using the
 installed plugins. Still Firefox continues to inform me about missing
 plugins.
 I tried also, to configure Konqueror (3.1.4) to use the new plugins:
 Settings-Configure Konqueror..-Plugins-Scan for new plugins
 And I got the following error message:

 The nspluginscan executable cannot be found. Netscape plugins will
 not be scanned.

 I searched the web for this problem and I found this on the
 freebsd-questions maillist:
 http://lists.freebsd.org/pipermail/freebsd-questions/2004-July/053298.html

 You have to compile /usr/ports/x11/kdebase3 with motif support. Run
 'make config' to change that option, then recompile and install it.

 I tried this, but the message above is outdated (Thu Jul 22 02:13:13
 PDT 2004). Currently in the configuration of the kdebase3 port there
 is only one option:

 [X] Suid wrapper for aRts, req'd for realtime prio

 I am aware that the version of FreeBSD that I use is no longer
 supported, but is there any way to workaround the necessity of moving
 to 4Stable, and to get a working plugins for the Firefox browser?

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


I'd start with trying to recompile the whole world.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Defragmentation needed with FreeBSD ...

2005-10-02 Thread Kiffin Gish
On Sun, 2005-10-02 at 17:11 +0400, Andrew P. wrote:
 On 10/2/05, Tamouh H. [EMAIL PROTECTED] wrote:
 
  
   I was just wondering if like in Windows disk fragmentation
   arises, and if so then how should one go about defragmenting it?
 
  There is no fragmentation in the BSD file systems, that is something related
  to Windows only. You might want to add the line:
 
  fsck_y_enable=YES
 
  to your /etc/rc.conf  in the event fsck finds errors on your disks.
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 Of course there is fragmentation.
 
 UFS, particularly its implementation in FreeBSD is
 more intelligent than NTFS/FAT32. When there is
 enough free space on the disk (typically more than
 15%, see tunefs(8) for details), I/O is automatically
 optimized to minimize fragmentation.
 
 When your win32 box is idle, but the hdd is scratching
 it's very annoying, because you know that windows
 is swapping something.
 
 When your bsd box is idle, but the hdd is scratching
 it's quite pleasant, 'cuz that's some hard-working
 daemons make sure that you don't loose any data,
 and always can enjoy the maximum performance.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

So if I understand you correctly, this means that the disk is
defragmented automatically in the background during idle use, e.g. I do
not have to do anything else to enable it because it is already enabled.

Correct?

-- 
Kiffin Gish
Gouda, The Netherlands

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


Re: Defragmentation needed with FreeBSD ...

2005-10-02 Thread Andrew P.
On 10/2/05, Kiffin Gish [EMAIL PROTECTED] wrote:
 On Sun, 2005-10-02 at 17:11 +0400, Andrew P. wrote:
  On 10/2/05, Tamouh H. [EMAIL PROTECTED] wrote:
  
   
I was just wondering if like in Windows disk fragmentation
arises, and if so then how should one go about defragmenting it?
  
   There is no fragmentation in the BSD file systems, that is something 
   related
   to Windows only. You might want to add the line:
  
   fsck_y_enable=YES
  
   to your /etc/rc.conf  in the event fsck finds errors on your disks.
  
  
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]
  
 
  Of course there is fragmentation.
 
  UFS, particularly its implementation in FreeBSD is
  more intelligent than NTFS/FAT32. When there is
  enough free space on the disk (typically more than
  15%, see tunefs(8) for details), I/O is automatically
  optimized to minimize fragmentation.
 
  When your win32 box is idle, but the hdd is scratching
  it's very annoying, because you know that windows
  is swapping something.
 
  When your bsd box is idle, but the hdd is scratching
  it's quite pleasant, 'cuz that's some hard-working
  daemons make sure that you don't loose any data,
  and always can enjoy the maximum performance.
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]

 So if I understand you correctly, this means that the disk is
 defragmented automatically in the background during idle use, e.g. I do
 not have to do anything else to enable it because it is already enabled.

 Correct?

 --
 Kiffin Gish
 Gouda, The Netherlands



It's not that simple, but the fact is that you don't
need to worry about fragmentation at all. Just
make sure that your drives have at least 15-20%
free space for maximum performance.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Could not open PNM input file ...

2005-10-02 Thread Kiffin Gish
When I try to print nothing happens. If I look in the lpd-errors file I
see this:

pnm2ppa[931]: main():  Could not open PNM input file


Any idea what is going wrong?

-- 
Kiffin Gish
Gouda, The Netherlands

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


SendDmesg

2005-10-02 Thread Ansar Mohammed
Does the FreeBSD project request us to mail in or dmesg outputs as the
OpenBSD project does?
 
http://www.openbsd.org/faq/faq4.html#SendDmesg
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SendDmesg

2005-10-02 Thread Andrew P.
On 10/2/05, Ansar Mohammed [EMAIL PROTECTED] wrote:
 Does the FreeBSD project request us to mail in or dmesg outputs as the
 OpenBSD project does?

 http://www.openbsd.org/faq/faq4.html#SendDmesg

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


Well, we have something like that concerning
amd64 motherboards here:

http://www.freebsd.org/platforms/amd64/motherboards.html

The way I get it, FreeBSD developers focus on
the hardware they can lay their hands on. This
way they only require user input in case a bug
has been discovered. Thanks to relatively high
FreeBSD popularity, you can easily find out
whether your hardware is supported, using
yahoo or google.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


device permission in devfs.conf not working

2005-10-02 Thread Nicolas Blais
Hi,

I want to be able to use usb drives as a normal user so I added the line :

permda0 0777
in /etc/devfs.conf

But when I plug in the device, da0 and da0s1 is created with default 
permission :

[nicblais] /dev ll da*
crw-r-  1 root  operator0, 148 Oct  2 13:53 da0
crw-r-  1 root  operator0, 149 Oct  2 13:53 da0s1

Although I can mount it fine as root, I have to chmod 777 to make it work for 
other users.

[nicblais] /dev# chmod 777 da0*
[nicblais] /dev# ll da*
crwxrwxrwx  1 root  operator0, 148 Oct  2 13:53 da0*
crwxrwxrwx  1 root  operator0, 149 Oct  2 13:53 da0s1*

I'm assuming it would work if I left the usb drive plugged in while booting 
but that kinda defeats the purpose of a portable storage media.
Is my entry in /etc/devfs.conf not correct?

Any help appreciated,
Nicolas.
-- 
FreeBSD 7.0-CURRENT #0: Sat Oct  1 11:51:38 EDT 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://66.130.198.54:8081/security/nb_root.asc


pgpmFFaK9YA2z.pgp
Description: PGP signature


Re: device permission in devfs.conf not working.

2005-10-02 Thread Julien Gabel
 Hi,

 I want to be able to use usb drives as a normal user so I added the line :

 permda0 0777
 in /etc/devfs.conf

 But when I plug in the device, da0 and da0s1 is created with default
 permission :

 [nicblais] /dev ll da*
 crw-r-  1 root  operator0, 148 Oct  2 13:53 da0
 crw-r-  1 root  operator0, 149 Oct  2 13:53 da0s1

 Although I can mount it fine as root, I have to chmod 777 to make it work
 for
 other users.

 [nicblais] /dev# chmod 777 da0*
 [nicblais] /dev# ll da*
 crwxrwxrwx  1 root  operator0, 148 Oct  2 13:53 da0*
 crwxrwxrwx  1 root  operator0, 149 Oct  2 13:53 da0s1*

 I'm assuming it would work if I left the usb drive plugged in while
 booting
 but that kinda defeats the purpose of a portable storage media.
 Is my entry in /etc/devfs.conf not correct?

The correct way to do things with pluggable devices is to use the
devfs.rules(5) configuration file.

-- 
-jpeg.

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


Re: device permission in devfs.conf not working

2005-10-02 Thread Micah



Nicolas Blais wrote:

Hi,

I want to be able to use usb drives as a normal user so I added the line :

permda0 0777
in /etc/devfs.conf

But when I plug in the device, da0 and da0s1 is created with default 
permission :


[nicblais] /dev ll da*
crw-r-  1 root  operator0, 148 Oct  2 13:53 da0
crw-r-  1 root  operator0, 149 Oct  2 13:53 da0s1

Although I can mount it fine as root, I have to chmod 777 to make it work for 
other users.


[nicblais] /dev# chmod 777 da0*
[nicblais] /dev# ll da*
crwxrwxrwx  1 root  operator0, 148 Oct  2 13:53 da0*
crwxrwxrwx  1 root  operator0, 149 Oct  2 13:53 da0s1*

I'm assuming it would work if I left the usb drive plugged in while booting 
but that kinda defeats the purpose of a portable storage media.

Is my entry in /etc/devfs.conf not correct?

Any help appreciated,
Nicolas.


Add a something like this to devfs.rules
[system=10]
add path 'da*' mode 0660 group media

Here I relax access to just the media group, but you could obviously 
just use something like add path 'da*' mode 0777.


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


Re: device permission in devfs.conf not working

2005-10-02 Thread Nicolas Blais
On October 2, 2005 02:07 pm, Micah wrote:
 Nicolas Blais wrote:
  Hi,
 
  I want to be able to use usb drives as a normal user so I added the line
  :
 
  permda0 0777
  in /etc/devfs.conf
 
  But when I plug in the device, da0 and da0s1 is created with default
  permission :
 
  [nicblais] /dev ll da*
  crw-r-  1 root  operator0, 148 Oct  2 13:53 da0
  crw-r-  1 root  operator0, 149 Oct  2 13:53 da0s1
 
  Although I can mount it fine as root, I have to chmod 777 to make it work
  for other users.
 
  [nicblais] /dev# chmod 777 da0*
  [nicblais] /dev# ll da*
  crwxrwxrwx  1 root  operator0, 148 Oct  2 13:53 da0*
  crwxrwxrwx  1 root  operator0, 149 Oct  2 13:53 da0s1*
 
  I'm assuming it would work if I left the usb drive plugged in while
  booting but that kinda defeats the purpose of a portable storage media.
  Is my entry in /etc/devfs.conf not correct?
 
  Any help appreciated,
  Nicolas.

 Add a something like this to devfs.rules
 [system=10]
 add path 'da*' mode 0660 group media

 Here I relax access to just the media group, but you could obviously
 just use something like add path 'da*' mode 0777.

 Micah

Thanks that worked!
-- 
FreeBSD 7.0-CURRENT #0: Sat Oct  1 11:51:38 EDT 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://66.130.198.54:8081/security/nb_root.asc


pgp8Ra3lxCv9Q.pgp
Description: PGP signature


6.0-BETA5, kismet iwi ...

2005-10-02 Thread M. L.

Hi list,

I've just upgraded my laptop to 6.0-BETA5, hoping I finally would be 
able to have functional wireless.. things didn't go quite as I expected, 
tho.


My wireless card is an Intel 2200BG, supported on FreeBSD by the iwi 
driver. I had it installed prior to upgrading by downloading from 
http://damien.bergamini.free.fr/ipw/ , but removed it and added device 
iwi to the 6.0 kernel instead. Now it always complains about iwi0: 
Please load firmware.


So, I went to damien's site again, only to find that the download link 
had been removed, and a reference to ports/net/iwi-firmware was there 
instead. I've tried to install the port, and it says I've already got 
iwi(4) support, and won't let install anything. I'm left with a iwi0 
that has no firmware, an so is worthless. Is the firmware somewhere in 
the base 6.0 system ?


The other problem is kismet. Looking at the (poor) kismet documentation, 
the best I could get from it was that I needed to define radiotap_bsd_x 
as my capture source on kismet.conf. The documentation isn't clear about 
what X is, so I've tried:


- radiotap_bsd_x
- radiotap_bsd_g
- radiotap_fbsd_x
- radiotap_fbsd_g

Either way, it says the capture type is unknown. Then I tried with 
capture type ipw2200, and kismet said it wasn't built.


So.. where is the iwi firmware or where can I download it (pkg_add -r 
iwi-firmware doesn't work btw), and how to make kismet happy about my 
iwi0 card ?


Thanks in advance.

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


Re: 6.0-BETA5, kismet iwi ...

2005-10-02 Thread albi
On Sun, 02 Oct 2005 19:14:26 +0100
M. L. [EMAIL PROTECTED] wrote:

 My wireless card is an Intel 2200BG, supported on FreeBSD by the iwi 
 driver. I had it installed prior to upgrading by downloading from 
 http://damien.bergamini.free.fr/ipw/ , but removed it and added device 
 iwi to the 6.0 kernel instead. Now it always complains about iwi0: 
 Please load firmware.
 
 So, I went to damien's site again, only to find that the download link 
 had been removed, and a reference to ports/net/iwi-firmware was there 
 instead. 

the link actually points to http://ipw2100.sourceforge.net/ which has a
download-link for firmware

and from here :
http://kerneltrap.org/node/5414/print
you could try this for your kismet (replacing eth1 with iwi0)
source=ipw2200,eth1,ATHEROS

-- 
grtjs, albi
gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Obtaining patch for FreeBSD 5.4

2005-10-02 Thread Micah



Deepak Naidu wrote:

Hi,
 I have installed FreeBSD 5.4-release. I want to make it stable by 
patching. What should I do to make my FreeBSD 5.4 as stable(is 5.4 relase 
default a stable one ?).
 
Cheers,

Deepak Naidu.


Basic procedure:  update your system sources to latest releng_5_4 via 
cvsup, compile, then install.  Poof done.  Okay, not quite that simple, 
here's some links to get you started:


Some general directions can be found at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html 
specifically

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
and
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

If after reading those links you still have questions, ask questions here.

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


Re: pppd: Could not determine remote IP address

2005-10-02 Thread Andrew Gordon
On Sun, 2 Oct 2005 [EMAIL PROTECTED] wrote:

 With the helping hand of someone in freebsd-mobile list I've hacked
 the 'uftdi' driver to support a PCMCIA card provided by Vodafone
 for UMTS. The card works now as it should but the IPCP negotiating
 of the pppd 2.3.11 (from ports collection) ends up in:

Why use pppd from ports?  The native /usr/sbin/ppp is usually more
convenient.  The following config file works with Vodafone 3G/gprs.
Note that the '2g' configuration is useful while roaming - the card is
inclined otherwise to lock onto a 3g network that doesn't support data
roaming in preference to a 2g network that does.  The '3g' configuration
is for normal use 'at home'.

2g:
 set device /dev/ucom0
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR
 set phone *99***1#
 disable lqr
 set timeout 0  # Disable timeout
 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
   \\ AT OK-AT-OK AT_opsys=0,0 OK \\dATDT\\T TIMEOUT 60 CONNECT

3g:
 set device /dev/ucom0
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR
 set phone *99***1#
 disable lqr
 set timeout 0  # Disable timeout
 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
   \\ AT OK-AT-OK AT_opsys=3,2 OK \\dATDT\\T TIMEOUT 60 CONNECT


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


Re: Want to symbolic link 2-3 hard drives

2005-10-02 Thread Chris

Deceased wrote:

Allen D. Tate wrote:


I apologize for not being more specific. I want to make at least 80 GB
of hard drive space available for my users home directories and if at
all possible 110 GB of hard drive space. RAID is not what I'm looking
for. Thanks for your replies. :)





You still should have a look at vinum, couse i read some where that it 
can merge the drives so they can look as one.


ccd(4) does exactly that and is simple. See the section on Raid in the 
handbook


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


Re: device permission in devfs.conf not working

2005-10-02 Thread Andrea Venturoli

Micah wrote:


Add a something like this to devfs.rules
[system=10]
add path 'da*' mode 0660 group media

Here I relax access to just the media group, but you could obviously 
just use something like add path 'da*' mode 0777.


Interesting. This might solve the same problem which I'm having with a 
zip drive.

Where do I get more info on this? I found some no releant man page on a 5.4.

 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]


Compiling postgrey

2005-10-02 Thread Aguiar Magalhaes
Hi list,

I was compiling the posgrey in FreeBSD 5.4 (make make
install) and I Received the error message:

- - - - - - - - - - -
/bin/sh /usr/ports/mail/postgreypkg_req INSTALL
your vendor has not defined BerkeleyDB macro
DB_AUTO_COMMIT, used at -e line 1

Postgrey requeires databases/p5-berkeleyDB to be built
with BerkeleyDB 4.1 or newer. Please reinstall it with
the WITH_BDB_VER set to 41 or newer
- - - - - - - - - - - -

What´s wrong ?  

How to fix it ?

Thanks,

Aguiar








___ 
Novo Yahoo! Messenger com voz: ligações, Yahoo! Avatars, novos emoticons e 
muito mais. Instale agora! 
www.yahoo.com.br/messenger/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: device permission in devfs.conf not working

2005-10-02 Thread Lowell Gilbert
Andrea Venturoli [EMAIL PROTECTED] writes:

 Micah wrote:
 
  Add a something like this to devfs.rules
  [system=10]
  add path 'da*' mode 0660 group media
  Here I relax access to just the media group, but you could obviously
  just use something like add path 'da*' mode 0777.
 
 Interesting. This might solve the same problem which I'm having with a
 zip drive.
 Where do I get more info on this? I found some no releant man page on a 5.4.

http://www.freebsd.org/cgi/man.cgi?query=devfs.rulesmanpath=FreeBSD+5.4-stableformat=html

[Although the format is right out of devfs(8), anyway.]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CUPS, Foomatic, and HPIJS?

2005-10-02 Thread Michael Nottebrock
On Sunday, 2. October 2005 12:24, Andrew P. wrote:
 On 10/1/05, Eric Pretorious [EMAIL PROTECTED] wrote:
  Thanks, Mike. I didn't have a chance to try it out: I decided to
   switch ack to Gentoo because of the steep learning curve that comes
   along with FreeBSD's ports  packages.
  
  Can I just say that moving back to Gentoo because of a steep learning
  curve is no just ironic, but down right funny.  :-)
 
  Installing CUPS/HPIJS was as easy as...
 
  % emerge cups ghostscript hpijs

 BTW, to do the same thing in FreeBSD you
 type:

 # portinstall cups -m 'WITH_CUPS=yes' hpijs

The foomatic driver definitions for hpijs were not in ports when Andrew asked 
about them, they are now. If there is anything further to discuss (and I 
don't think there is), could you guys please take me off the CC'd recipients 
list?

Thanks,
-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org


pgp3XoASE1vPE.pgp
Description: PGP signature


Problems with Tor, SSH packages

2005-10-02 Thread Alistar Erlas
I have recently fetched the Tor package from 5-stable,
and I have run into some odd problems. Whenever I try
to start Tor, I get the following result: 

tor
Oct 02 21:25:37.550 [notice] Tor v0.1.0.14. This is
experimental software. Do not rely on it for strong
anonymity.
Oct 02 21:25:37.551 [notice] Configuration file
'/usr/local/etc/tor/torrc' not present, using
reasonable defaults.
Oct 02 21:25:37.551 [notice] Initialized libevent
version 1.1a using method kqueue
Segmentation fault

It is unusual for it to segmentation fault like that
and it indicates there is something wrong.

Also, I have seen similar behaviour with SSH, where if
I also get a segmentation fault when I attempt to
start it. 

ssh -l  myaccount localhost
Segmentation fault


I also noticed that there is no screen utility in the
stable packages either. 

Any help with these issues is greatly appreciated,
thank you.



__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
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: Problems with Tor, SSH packages

2005-10-02 Thread Alistar Erlas
Strangely enough, the SSH problem seems to only happen
on some user accounts but not others. The Tor problem
seems to exist on all user accounts.

--- Alistar Erlas [EMAIL PROTECTED] wrote:

 I have recently fetched the Tor package from
 5-stable,
 and I have run into some odd problems. Whenever I
 try
 to start Tor, I get the following result: 
 
 tor
 Oct 02 21:25:37.550 [notice] Tor v0.1.0.14. This is
 experimental software. Do not rely on it for strong
 anonymity.
 Oct 02 21:25:37.551 [notice] Configuration file
 '/usr/local/etc/tor/torrc' not present, using
 reasonable defaults.
 Oct 02 21:25:37.551 [notice] Initialized libevent
 version 1.1a using method kqueue
 Segmentation fault
 
 It is unusual for it to segmentation fault like that
 and it indicates there is something wrong.
 
 Also, I have seen similar behaviour with SSH, where
 if
 I also get a segmentation fault when I attempt to
 start it. 
 
 ssh -l  myaccount localhost
 Segmentation fault
 
 
 I also noticed that there is no screen utility in
 the
 stable packages either. 
 
 Any help with these issues is greatly appreciated,
 thank you.
 
 
   
 __ 
 Yahoo! Mail - PC Magazine Editors' Choice 2005 
 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]
 




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
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: Apsfilter setup test page does nothing ...

2005-10-02 Thread dgmm
On Sunday 02 October 2005 12:47, Kiffin Gish wrote:
 On Sun, 2005-10-02 at 00:06 +0100, dgmm wrote:

  Is there a driver for the 720C now?  last time I looked it wasn't
  supported (quite some time ago now) mainly due to being a winprinter ie
  no inbuilt inteligence.

 Yes there is and it is called ppa/720 according to the install script.

Thanks.  I've got one here and it's been a good workhorse on the Windows box.  
It'll be nice to have it accessable from FreeBSD too :-)

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


Re: Problems with Tor, SSH packages

2005-10-02 Thread Glenn Dawson

At 02:52 PM 10/2/2005, Alistar Erlas wrote:

Strangely enough, the SSH problem seems to only happen
on some user accounts but not others. The Tor problem
seems to exist on all user accounts.

--- Alistar Erlas [EMAIL PROTECTED] wrote:

 I have recently fetched the Tor package from
 5-stable,
 and I have run into some odd problems. Whenever I
 try
 to start Tor, I get the following result:

 tor
 Oct 02 21:25:37.550 [notice] Tor v0.1.0.14. This is
 experimental software. Do not rely on it for strong
 anonymity.
 Oct 02 21:25:37.551 [notice] Configuration file
 '/usr/local/etc/tor/torrc' not present, using
 reasonable defaults.
 Oct 02 21:25:37.551 [notice] Initialized libevent
 version 1.1a using method kqueue
 Segmentation fault

 It is unusual for it to segmentation fault like that
 and it indicates there is something wrong.

 Also, I have seen similar behaviour with SSH, where
 if
 I also get a segmentation fault when I attempt to
 start it.

 ssh -l  myaccount localhost
 Segmentation fault


I have no experience with Tor, but if you have several things that 
crash with segfaults it's usually a good indicator that you might 
have some hardware problems.





 I also noticed that there is no screen utility in
 the
 stable packages either.


Screen is in /usr/ports/misc/screen

-Glenn



 Any help with these issues is greatly appreciated,
 thank you.



 __
 Yahoo! Mail - PC Magazine Editors' Choice 2005
 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]





__
Yahoo! Mail - PC Magazine Editors' Choice 2005
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]


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


About SnapShot

2005-10-02 Thread Vahric MUHTARYAN
Hi Everybody , 
 
Today I try to learn snapshot with FreeBSD 5.4 , perfect it's
working very fest . I wonder something if somebody have knowledge about
snapshot or have a documentation about it I will be happy. 
 
First I don't understand How system can take snapshot quickly I tried it on
new installed freebsd 5.4 and when I gave a command on console snapshot file
created in a second which 256MB , I wonder How fast will be on bigger
partitions. Anybody know How snapshot tecnology is working ? Because it's
creating an single file and it's 256 mb , it's not possible to copy /var
folder to another folder in a second ... 
 
Second Why I can't create snapshot file on different directory , I tried to
linking but it didn't work ! 
 
And anyway Does it possible to back from snapshot file to original portion
... I mean snapshot is creating only one file When I want to backI have to
mount it to system and copy back files Im asking without copying something
and mouting snapshot file can I make a restore ? 
 
Thanks Everybody  

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


Re: Problems with Tor, SSH packages

2005-10-02 Thread Alistar Erlas
Ive included some debug output if its any help. 

 gdb /usr/local/bin/tor tor.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General
Public License, and you ar
welcome to change it and/or distribute copies of it
under certain condition
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show
warranty for details.
This GDB was configured as i386-marcel-freebsd...(no
debugging symbols fo
..
Core was generated by `tor'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libz.so.2...(no debugging
symbols found)...done.
Loaded symbols for /lib/libz.so.2
Reading symbols from /usr/lib/libssl.so.3...(no
debugging symbols found)...
Loaded symbols for /usr/lib/libssl.so.3
Reading symbols from
/usr/local/lib/libcrypto.so.3...(no debugging symbols 
)...done.
Loaded symbols for /usr/local/lib/libcrypto.so.3
Reading symbols from /usr/lib/libpthread.so.1...(no
debugging symbols found
one.
Loaded symbols for /usr/lib/libpthread.so.1
Reading symbols from
/usr/local/lib/libevent-1.1a.so.1...(no debugging symb
ound)...done.
Loaded symbols for /usr/local/lib/libevent-1.1a.so.1
Reading symbols from /lib/libc.so.5...(no debugging
symbols found)...done.
Loaded symbols for /lib/libc.so.5
Reading symbols from /lib/libcrypto.so.3...(no
debugging symbols found)...d
Loaded symbols for /lib/libcrypto.so.3
Reading symbols from /libexec/ld-elf.so.1...(no
debugging symbols found)...
Loaded symbols for /libexec/ld-elf.so.1
#0  0x28153fc1 in MD5_Final () from
/usr/local/lib/libcrypto.so.3
(gdb) bt
#0  0x28153fc1 in MD5_Final () from
/usr/local/lib/libcrypto.so.3
#1  0xbfbfe3b4 in ?? ()
#2  0xbfbfe280 in ?? ()
#3  0x280b7b12 in r_debug_state () from
/libexec/ld-elf.so.1
Previous frame inner to this frame (corrupt stack?)

 gdb /usr/bin/ssh ssh.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General
Public License, and you are
welcome to change it and/or distribute copies of it
under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show
warranty for details.
This GDB was configured as i386-marcel-freebsd...(no
debugging symbols found)...
Core was generated by `ssh'.
Program terminated with signal 11, Segmentation fault.
#0  0x in ?? ()
(gdb) bt
#0  0x in ?? ()
(gdb) 
--- Alistar Erlas [EMAIL PROTECTED] wrote:

 I have recently fetched the Tor package from
 5-stable,
 and I have run into some odd problems. Whenever I
 try
 to start Tor, I get the following result: 
 
 tor
 Oct 02 21:25:37.550 [notice] Tor v0.1.0.14. This is
 experimental software. Do not rely on it for strong
 anonymity.
 Oct 02 21:25:37.551 [notice] Configuration file
 '/usr/local/etc/tor/torrc' not present, using
 reasonable defaults.
 Oct 02 21:25:37.551 [notice] Initialized libevent
 version 1.1a using method kqueue
 Segmentation fault
 
 It is unusual for it to segmentation fault like that
 and it indicates there is something wrong.
 
 Also, I have seen similar behaviour with SSH, where
 if
 I also get a segmentation fault when I attempt to
 start it. 
 
 ssh -l  myaccount localhost
 Segmentation fault
 
 
 I also noticed that there is no screen utility in
 the
 stable packages either. 
 
 Any help with these issues is greatly appreciated,
 thank you.
 
 
   
 __ 
 Yahoo! Mail - PC Magazine Editors' Choice 2005 
 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]
 





__ 
Yahoo! for Good 
Donate to the Hurricane Katrina relief effort. 
http://store.yahoo.com/redcross-donate3/ 

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


Re: Problems with Tor, SSH packages

2005-10-02 Thread Will Maier
On Sun, Oct 02, 2005 at 02:34:43PM -0700, Alistar Erlas wrote:
 I also noticed that there is no screen utility in the
 stable packages either. 

IIRC, there is no screen *package* because it fails to build
correctly in certain conditions (something about a loop). Use the
ports tree instead, as recommended elsewhere in this thread. I can
confirm that the port works just fine.

-- 

o--{ Will Maier }--o
| jabber:[EMAIL PROTECTED] | email:[EMAIL PROTECTED] |
| [EMAIL PROTECTED] | [EMAIL PROTECTED] |
*--[ BSD Unix: Live Free or Die ]--*

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


Re: Problems with Tor, SSH packages

2005-10-02 Thread Alistar Erlas


 I have no experience with Tor, but if you have
 several things that 
 crash with segfaults it's usually a good indicator
 that you might 
 have some hardware problems.
 

I dont think its a hardware problem because I dont
have these problems with other programs, and it
happens *Every time* i try to start these two
programs. If it was a hardware program it seems it
would be more random than that. The problems also
started *after* i upgraded to the latest packages from
5-stable. Previously they worked fine.

  
  
   I also noticed that there is no screen utility
 in
   the
   stable packages either.
 
 Screen is in /usr/ports/misc/screen
 
 -Glenn
 
  
   Any help with these issues is greatly
 appreciated,
   thank you.
  
  
  
   __
   Yahoo! Mail - PC Magazine Editors' Choice 2005
   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]
  
 
 
 
 
 __
 Yahoo! Mail - PC Magazine Editors' Choice 2005
 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]
 
 ___
 freebsd-questions@freebsd.org mailing list

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




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
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 + Firefox + Flash Problems

2005-10-02 Thread RW
On Sunday 02 October 2005 15:31, Vladimir Tsvetkov wrote:

 But there are no indications at all, that Firefox is using the
 installed plugins. Still Firefox continues to inform me about missing
 plugins.

Did you follow all the instruction that were displayed when linuxpluginwrapper 
was installed. I didn't see any mention of the last one:

$ tail -n 4 /usr/ports/www/linuxpluginwrapper/pkg-message

Now start browser and go to 'about:plugins' and the new plugins
are enabled!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Complete hangs while extracting source

2005-10-02 Thread Jakob Breivik Grimstveit
Lowell Gilbert wrote on Sat, 01 Oct 2005 08:33:

 Jakob Breivik Grimstveit [EMAIL PROTECTED] writes:
 
  My entire system stops completely while unpacking large tar files, like
  when building OpenOffice2.0-devel. Sound goes into a loop with a
  timeframe of 0.001 seconds, mouse pointer stops responding, everything
  goes to a halt. This lasts about 0.5 seconds, then it starts working
  again, and then halts again and so on, until the tarfile is completely
  uncompressed.
  
  Is this expected behaviour? Is it a broken scheduler? Am I incuding
  something in the kernel which I shouldn't have?
 
 Sounds more like an interrupt issue. 

Yes, it does, but doing a top while extracting the Mozilla Thunderbird v1.0.6
source bz2-file (which provokes the sound and mouse jitter problem to occur)
the interrupt level consistently stays below 2% of CPU. However, at times
during the extraction of the file, bsdtar and bzip2 produces system CPU time
of between 30% and 50%. It's during these system peaks that the mouse and
sound starts being jerky.

Getting any wiser with this explanation? :-)

  [EMAIL PROTECTED] conf]$ grep -i sched /usr/src/sys/i386/conf/NUSSE 
  options SCHED_4BSD  # 4BSD scheduler
  options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
  extensions [EMAIL PROTECTED] conf]$ uname -a
  FreeBSD nusse.starshipping.com 5.4-RELEASE-p7 FreeBSD 5.4-RELEASE-p7 #17:
  Tue Sep 13 19:31:11 CEST 2005
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/NUSSE  i386
 
 Are you seeing interrupt storms?

Nope.

 What kind of controller are you using on that hard disk

[EMAIL PROTECTED] ~]$ dmesg | grep ATA  
atapci1: GENERIC ATA controller port
0xc800-0xc80f,0xb60-0xb63,0x960-0x967,0xbe0-0xbe3,0x9e0-0x9e7 irq 20 at
device 9.0 on pci0 atapci2: GENERIC ATA controller port
0xb000-0xb00f,0xb70-0xb73,0x970-0x977,0xbf0-0xbf3,0x9f0-0x9f7 irq 23 at
device 10.0 on pci0

[EMAIL PROTECTED] ~]$ dmesg | grep ad4 
ad4: 190782MB ST3200822AS/3.01 [387621/16/63] at ata2-master UDMA33
Mounting root from ufs:/dev/ad4s2a

Motherboard: MSI K8N NEO2 Platinum-54G S939.

 and is anything else sharing the same interrupt?

How can I tell? I doubt this to be the problem, since I experience same
problem on two other machines as well. Only thing they share (except same
lousy administrator :-) is that they all run on AMD CPUs (1700+, 1800+ and
3500+).

-- 
Jakob Breivik Grimstveit, http://www.grimstveit.no/jakob/, 48298152
Besøk Newsergalleriet: http://www.newsergalleriet.no/

It's kind of fun to do the impossible.  -- Walt Disney
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Perl / Webmin: ld-elf.so.1 issue

2005-10-02 Thread Lowell Gilbert
Mark Edwards [EMAIL PROTECTED] writes:

 I am getting the following error in the browser when trying to use
 webmin's crontab editing feature:
 
 /usr/libexec/ld-elf.so.1: /usr/local/bin/perl: Undefined symbol
 PL_exit_flags
 crontab: /usr/local/lib/webmin/cron/cron_editor.pl exited with
 status 1
 
 I am running perl 5.8.7 from ports, and I have done the whole routine
 with setting use.perl port and perl_after_upgrade.
 
 I notice that there are two /usr/libexec/ld-elf.so.1 files on my
 machine:
 
 -r-xr-xr-x  1 root  wheel85940 Feb 11  2005 ld-elf.so.1
 -r-xr-xr-x  1 root  wheel85908 Jun 29  2004 ld-elf.so.1.old
 
 Is that normal?  I reinstalled the perl port to no avail.

Are your ports up to date?
[From an up-to-date ports tree?]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Complete hangs while extracting source

2005-10-02 Thread David Kirchner
On 10/2/05, Jakob Breivik Grimstveit [EMAIL PROTECTED] wrote:
 How can I tell? I doubt this to be the problem, since I experience same
 problem on two other machines as well. Only thing they share (except same
 lousy administrator :-) is that they all run on AMD CPUs (1700+, 1800+ and
 3500+).

dmesg will show you irqs, but you can also find it using systat's
vmstat mode. It'll also allow you to monitor interrupt activity.
It's best used from the console of the machine. I would guess you'd
want to watch for two drivers, sharing an interrupt, and both
incrementing at the same rate. (I've seen that before, and it was
associated with severe performance problems, but unfortunately I do
not recall how it was fixed.)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


http://www.freebsd.org

2005-10-02 Thread Frank J. Laszlo
Did someone break apache on http://www.freebsd.org?

Seems to reply to ping requests but the web page doesnt load.

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


Re: http://www.freebsd.org

2005-10-02 Thread Nicolas Blais
On October 2, 2005 07:56 pm, Frank J. Laszlo wrote:
 Did someone break apache on http://www.freebsd.org?

 Seems to reply to ping requests but the web page doesnt load.

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

Works here.
-- 
FreeBSD 7.0-CURRENT #0: Sat Oct  1 11:51:38 EDT 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://66.130.198.54:8081/security/nb_root.asc


pgphNlnk7lgqI.pgp
Description: PGP signature


problem compiling lsof

2005-10-02 Thread Robert Huff

I'm trying to (re)install lsof (under -CURRENT, details below),
and am running into:

(cd lib; make DEBUG=-O CFGF=-pipe -march=pentium4 -DHASEFFNLINK=i_effnlink -D
HASF_VNODE -DHASCPUMASK_T -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_NO_SI_
UDEV -DFREEBSDV=7000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHAS9660FS -DHAS_
NO_ISO_DEV -DHASIPv6 -DLSOF_VSTR=\7.0-CURRENT\)
cc  -pipe -march=pentium4 -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASCPUMASK_T -
DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_NO_SI_UDEV -DFREEBSDV=7000 -DHASF
DESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHAS9660FS -DHAS_NO_ISO_DEV -DHASIPv6 -DLSOF
_VSTR=7.0-CURRENT -I/usr/src/sys -O -c ckkv.c
In file included from ../dlsof.h:300,
 from ../lsof.h:190,
 from ckkv.c:43:
/usr/src/sys/fs/devfs/devfs.h:153: error: field `dm_lock' has incomplete type
*** Error code 1

Stop in /usr/ports/sysutils/lsof/work/lsof_4.76/lsof_4.76_src/lib.
*** Error code 1

Stop in /usr/ports/sysutils/lsof/work/lsof_4.76/lsof_4.76_src.
*** Error code 1


So I deketed /usr/src/sys/fs/devfs/devfs.h, ran cvsup, and no
joy.  Is this broken, am I looking at the wrong thing, or have I 
bungled something?


Robert Huff

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


totem and vlc don't work after upgrading ports

2005-10-02 Thread Brian John

Hello,
I just upgraded all of my ports and now I can't watch any movies.  I 
used to just use totem, but once that broke I decided to try vlc, only 
to find that it was broken as well.  Here are the errors that I get:


vlc:
$ vlc
VLC media player 0.8.2 Janus
Bus error

totem:
The Application totem has quit unexpectedly.

The odd thing is that gmplayer seems to work ok.  Can someone please 
help me out?


Thanks

/Brian

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


Re: problem compiling lsof

2005-10-02 Thread Matt Emmerton
 I'm trying to (re)install lsof (under -CURRENT, details below),
 and am running into:

 (cd lib; make DEBUG=-O
CFGF=-pipe -march=pentium4 -DHASEFFNLINK=i_effnlink -D

HASF_VNODE -DHASCPUMASK_T -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_NO
_SI_

UDEV -DFREEBSDV=7000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHAS9660FS -D
HAS_
 NO_ISO_DEV -DHASIPv6 -DLSOF_VSTR=\7.0-CURRENT\)

cc  -pipe -march=pentium4 -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASCPUMASK
_T -

DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_NO_SI_UDEV -DFREEBSDV=7000 -D
HASF

DESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHAS9660FS -DHAS_NO_ISO_DEV -DHASIPv6 -D
LSOF
 _VSTR=7.0-CURRENT -I/usr/src/sys -O -c ckkv.c
 In file included from ../dlsof.h:300,
  from ../lsof.h:190,
  from ckkv.c:43:
 /usr/src/sys/fs/devfs/devfs.h:153: error: field `dm_lock' has incomplete
type
 *** Error code 1

 Stop in /usr/ports/sysutils/lsof/work/lsof_4.76/lsof_4.76_src/lib.
 *** Error code 1

 Stop in /usr/ports/sysutils/lsof/work/lsof_4.76/lsof_4.76_src.
 *** Error code 1

 So I deketed /usr/src/sys/fs/devfs/devfs.h, ran cvsup, and no
 joy.  Is this broken, am I looking at the wrong thing, or have I
 bungled something?

It looks like phk changed a lot of the internals of devfs around in early
September; the lsof port has likely not kept pace.

Line 153 of devfs.h appears to be struct sx dm_lock; -- perhaps pulling in
the proper header to define struct sx might make things work again?

--
Matt Emmerton

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


Re: 6.0-BETA5, kismet iwi ...

2005-10-02 Thread M. L.

albi wrote:


On Sun, 02 Oct 2005 19:14:26 +0100
M. L. [EMAIL PROTECTED] wrote:

 

My wireless card is an Intel 2200BG, supported on FreeBSD by the iwi 
driver. I had it installed prior to upgrading by downloading from 
http://damien.bergamini.free.fr/ipw/ , but removed it and added device 
iwi to the 6.0 kernel instead. Now it always complains about iwi0: 
Please load firmware.


So, I went to damien's site again, only to find that the download link 
had been removed, and a reference to ports/net/iwi-firmware was there 
instead. 
   



the link actually points to http://ipw2100.sourceforge.net/ which has a
download-link for firmware

 


For the ipw2100, and for Linux. I am on FreeBSD and with an iwi.


and from here :
http://kerneltrap.org/node/5414/print
you could try this for your kismet (replacing eth1 with iwi0)
source=ipw2200,eth1,ATHEROS

 



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


RE: http://www.freebsd.org

2005-10-02 Thread Ansar Mohammed
FreeBSD 7.0?

There is a 7.0?


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Nicolas Blais
 Sent: October 2, 2005 7:59 PM
 To: freebsd-questions@freebsd.org
 Subject: Re: http://www.freebsd.org
 
 On October 2, 2005 07:56 pm, Frank J. Laszlo wrote:
  Did someone break apache on http://www.freebsd.org?
 
  Seems to reply to ping requests but the web page doesnt load.
 
  -Frank
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 Works here.
 --
 FreeBSD 7.0-CURRENT #0: Sat Oct  1 11:51:38 EDT 2005
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A
 PGP? : http://66.130.198.54:8081/security/nb_root.asc

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


Re: http://www.freebsd.org

2005-10-02 Thread Nicolas Blais
On October 2, 2005 10:18 pm, Ansar Mohammed wrote:
 FreeBSD 7.0?

 There is a 7.0?

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:owner-freebsd-
  [EMAIL PROTECTED] On Behalf Of Nicolas Blais
  Sent: October 2, 2005 7:59 PM
  To: freebsd-questions@freebsd.org
  Subject: Re: http://www.freebsd.org
 
  On October 2, 2005 07:56 pm, Frank J. Laszlo wrote:
   Did someone break apache on http://www.freebsd.org?
  
   Seems to reply to ping requests but the web page doesnt load.
  
   -Frank
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
   [EMAIL PROTECTED]
 
  Works here.
  --

I'm running -CURRENT, which is WIP (work in progress) for 7.0.
See 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html

Nicolas.
-- 
FreeBSD 7.0-CURRENT #0: Sat Oct  1 11:51:38 EDT 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://www.clkroot.net/security/nb_root.asc


pgp48ejUDUYX3.pgp
Description: PGP signature


How do you patch a driver?

2005-10-02 Thread Foo Ji-Haw
Hello Gheorghe,

I read with interest your success in getting your Adaptec 1210SA to work on 
FreeBSD. In your email you wrote that you downloaded patches to the driver code 
(and recompiled the kernel?) from http://people.freebsd.org/~sos/ATA

I downloaded the files myself, but am not sure how to proceed from there. Can 
you please give me some pointers on the next steps? 

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


Re: PHP4 PHP5 on same server?

2005-10-02 Thread Sam Nilsson

Mark Bucciarelli wrote:

On Tue, Sep 27, 2005 at 11:16:04AM +0200, [EMAIL PROTECTED] wrote:

Mark Bucciarelli wrote:

Is it possible install both php4 and php5 on the same server using
ports?

I'm using fastcgi so two different interpreters should be fine.  (Rename 
/usr/local/bin/php to /usr/local/bin/php5-fcgi, for example.)


Can I assume the php4 and php5 modules (for example, pear) won't step on
each other's toes?

I google around but didn't find much on this topic ... :(

m

We have them as mod with two chrooted Apache servers on two different IPs.


Thanks for the reply.


From doing some more research list night, my understanding is that
the php binary is the whole kit and kaboodle, so if I 


- build PHP4 from source and

- configure it to look in a different spot for extensions,

then I should be able to use PHP4 and PHP5 via fastcgi on a per-vhost
basis.

I just won't be able to rely on ports for updates to PHP4.

m


I found a way to do it where I can install both php instances from 
ports. In my case I am using php5-cli (command line interpreter) as well 
as php5-cgi (compiled for fast cgi) both installed from ports. php5-cli 
is installed into the normal directories under /usr/local. php5-cgi is 
installed into an alternate base directory /usr/local/alt.


Basically, you can use the PREFIX environment variable to tell the ports 
system to use an alternate base directory for installation. This works 
with portupgrade as well.


Here are some notes that I took when I was setting this up. Note that 
I'm using portupgrade (hence the reference to 
/usr/local/etc/pkgtools.conf)...


== Install PHP5 with fastcgi support ==

In order to have an alternative fastcgi version of php, we need to 
install it to an alternate location.


First this to /usr/local/etc/pkgtools.conf:
{{{
MAKE_ARGS {
'php5-cgi*' = 'WITH_APACHE2=yes WITH_FASTCGI=yes'
}
}}}

Assuming that we already have php5 for cli and apache installed, we can 
install an alternate fastcgi enabled version like this:


{{{
$ su -
$ mkdir /usr/local/alt
$ export PREFIX=/usr/local/alt
$ script /usr/local/alt/install.log
$ portupgrade -pNi www/php5-cgi
$ exit # (exit script)
$ exit # (exit su)
}}}

There can be a few little problems with this process. Here is the 
preliminary report:


 Modules not loaded 

php5-cgi installed fine into the alternate prefix, but it didn't know 
about any of the extensions (modules) that the main php install had.


To fix this, I pointed the new php5-cgi at the main php instance's 
modules. '''I believe that this will only work if both instances of php5 
are the exact same version'''


Here is what I did:
{{{
$ cd /usr/local/alt/etc
# /usr/local/etc/php is a directory that contains an 'extensions.ini' file.
# The 'extensions.ini' file lists the extensions that should be loaded.
$ ln -s /usr/local/etc/php php
}}}

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


Accessing Apache

2005-10-02 Thread amcinroy
Dear support, I am trying to setup intrusion detection with snort, acid,
mysql and freebsd. I am using as a guide Hack #59 from Dru Lavigne's BSD
Hacks book. Everything is installed and working up to the point where I try
to access my webpage. When I type in http://localhost/snort/acid_main.php I
receive the message: an error occurred while loading the page. Could not
connect to localhost. I think it is a user or password related error and
have tried adding users to the mysql database with no success. Any help for
this newb would be much appreciated.


Alan McInroy


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


USB not working in 6.0-BETA5

2005-10-02 Thread Jared Kuolt
FreeBSD-6.0 BETA5

My USB does not work, as far as I can tell. When I was installing my USB
mouse (Logitech MX300) did not work, I figured no big deal, so I used a
USB-PS/2 adapter. Later I tried using my iPod, which worked okay in
5.4REL, but I later gave that up. After two other devices, a camera and
a printer that had both worked in 5.4REL, did not work in this release,
I am now assuming USB is not working at all, and yes, all USB devices
are enabled in my kernel.

Here is part of my /var/log/messages showing some of my difficulties:

=== iPod Attempt ===
Oct  2 19:35:54 Jared-Bwongar kernel: umass0: Apple iPod, rev 2.00/0.01,
addr 2
Oct  2 19:38:50 Jared-Bwongar kernel: umass0: BBB reset failed, STALLED
Oct  2 19:38:50 Jared-Bwongar kernel: umass0: BBB bulk-in clear stall
failed, STALLED
Oct  2 19:38:50 Jared-Bwongar kernel: umass0: BBB bulk-out clear stall
failed, STALLED
Oct  2 19:38:50 Jared-Bwongar kernel: umass0: BBB reset failed, STALLED
Oct  2 19:38:50 Jared-Bwongar kernel: umass0: BBB bulk-in clear stall
failed, STALLED
Oct  2 19:38:50 Jared-Bwongar kernel: umass0: BBB bulk-out clear stall
failed, STALLED
Oct  2 19:38:50 Jared-Bwongar kernel: umass0: BBB reset failed, STALLED
Oct  2 19:38:50 Jared-Bwongar kernel: umass0: BBB bulk-in clear stall
failed, STALLED
Oct  2 19:38:50 Jared-Bwongar kernel: umass0: BBB bulk-out clear stall
failed, STALLED
Oct  2 19:38:50 Jared-Bwongar kernel: umass0: at uhub2 port 2 (addr 2)
disconnected
Oct  2 19:38:50 Jared-Bwongar kernel: umass0: detached

=== Printer Attempt ===
Oct  2 19:39:26 Jared-Bwongar kernel: uhub1: port 1, set config at addr
2 failed
Oct  2 19:39:26 Jared-Bwongar kernel: uhub1: device problem (TIMEOUT),
disabling port 1

=== Camera Attempt ===
Oct  2 20:05:54 Jared-Bwongar kernel: uhub1: device problem
(SET_ADDR_FAILED), disabling port 1

=== End of Messages ===

Here is the result of 'usbdevs' with the camera plugged in:

addr 1: UHCI root hub, VIA
addr 1: UHCI root hub, VIA
 addr 0 should never happen!
addr 1: UHCI root hub, VIA

With each device 'camcontrol devlist' yields zero results.

Motherboard information here:
http://www.ecs.com.tw/ECSWeb/Products/ProductsDetail.aspx?DetailID=351MenuID=26LanID=9

Thanks in advance to all that may be able to help!!


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


Re: How do you patch a driver?

2005-10-02 Thread Subhro

Foo Ji-Haw sat at his 'puter and typed on 10/3/2005 8:46:

Hello Gheorghe,

I read with interest your success in getting your Adaptec 1210SA to work on 
FreeBSD. In your email you wrote that you downloaded patches to the driver code 
(and recompiled the kernel?) from http://people.freebsd.org/~sos/ATA

I downloaded the files myself, but am not sure how to proceed from there. Can you please give me some pointers on the next steps? 


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

  
The general way to patch a driver is patch -p0  patch_file. The patch 
file is to be copied in the first level directory of the source code.


Thanks
S.

--
-+-
 | Subhro Sankha Kar
 \   /  |GSM: +919831064613  --  Fax: +919831832913
  \./|MSN:[EMAIL PROTECTED]  --  Yahoo: subhro82
 (0Y0)   |ICQ: 203567534 --  AIM: bsdboy1982
--ooO--(_)--Ooo--+-

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


Re: Accessing Apache

2005-10-02 Thread Kevin Kinsey

amcinroy wrote:


Dear support, I am trying to setup intrusion detection with snort, acid,
mysql and freebsd. I am using as a guide Hack #59 from Dru Lavigne's BSD
Hacks book. Everything is installed and working up to the point where I try
to access my webpage. When I type in http://localhost/snort/acid_main.php I
receive the message: an error occurred while loading the page. Could not
connect to localhost. I think it is a user or password related error and
have tried adding users to the mysql database with no success. Any help for
this newb would be much appreciated.


Alan McInroy

 




Hi, Alan!

This isn't support, per se --- it's a mailing list.  But, it's the
primary option ;-)

Are you sure Apache is running?  Sorry for what may seem
like a dumb question, but the error message you quote is
exactly what you see, on many browsers, when httpd is not
running.

To check is Apache is running, try:

$ps -aux | grep httpd

You should see multiple lines (Maybe 4, 5, or more) that
show an httpd process is listening.

Another way to go about this would be to run `netstat -anf inet`,
and looking for a entry mentioning port 80 and LISTEN.

If you can verify that Apache is indeed running, then I might
test resolution of the localhost name.  But, it's much more
likely that you can resolve localhost fine, but Apache isn't
listening on port 80.

HTH,

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


Re: Eclipse unusably slow

2005-10-02 Thread Ramakrishna Nalla
Please try turning off automatic 'Code Assist' for java to speed up the
Editor response. That was on thing which was causing a lot of problem on my
outdated PC.

HTH
Rama

On 10/2/05, Micah [EMAIL PROTECTED] wrote:

 I just tried Eclipse for the first time on FreeBSD. When I type eclipse
 at the command prompt it takes 3-4 minutes to start (my computer boots
 quicker than that!). Looking at systat or top shows that java is taking
 all my processor time. After it's up and running and I start a new java
 project, the editor exhibits similar behaviow. I try to type
 System.out.println(hello eclipse);, but the editor will freeze at
 Sys. After 1 or 2 minutes it unfreezes and I can type tem. before
 it freezes again. At first I thought it was the check errors as you
 type option, but turning that off didn't fix the editor, and that
 shouldn't affect the startup time. This is an Athlon 64 3000+ system
 running in i386 mode, so it shouldn't take that long.

 Vital stats: eclipse-3.1_3, jdk-1.4.2p7_1, 5.4-RELEASE-p7 i386

 Any clues?

 Thanks,
 Micah
 ___
 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: How do you patch a driver?

2005-10-02 Thread Foo Ji-Haw
Hello Subhro,

Thanks for your help. From the link I have the following files:

ata-mk3m.diff-current.gz (2k)
ata-mk3m.diff-releng5.gz (2k)
ata-mk3m.tar.gz (100k)
ata-mk3n-releng5.tar.gz (113k)
ata-mk3n.diff-releng5.gz (2k)

Which file should I be using? Is 'current' better than 'releng5'? Do I also
need to download a pair of files: ata-mk3m.diff-current.gz with
ata-mk3m.tar.gz?

Sorry, but I am quite confused with kernal patching. Recompiling yes, but
never patched in my life.


- Original Message - 
From: Subhro [EMAIL PROTECTED]
To: Foo Ji-Haw [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Monday, October 03, 2005 11:53 AM
Subject: Re: How do you patch a driver?


 Foo Ji-Haw sat at his 'puter and typed on 10/3/2005 8:46:
  Hello Gheorghe,
 
  I read with interest your success in getting your Adaptec 1210SA to work
on FreeBSD. In your email you wrote that you downloaded patches to the
driver code (and recompiled the kernel?) from
http://people.freebsd.org/~sos/ATA
 
  I downloaded the files myself, but am not sure how to proceed from
there. Can you please give me some pointers on the next steps?
 
  Appreciate your help, thanks!
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
[EMAIL PROTECTED]
 
 
 The general way to patch a driver is patch -p0  patch_file. The patch
 file is to be copied in the first level directory of the source code.

 Thanks
 S.

 -- 
 -+-
| Subhro Sankha Kar
   \   /  |GSM: +919831064613  --  Fax: +919831832913
\./ |MSN:[EMAIL PROTECTED]  --  Yahoo: subhro82
   (0Y0) |ICQ: 203567534 --  AIM: bsdboy1982
 --ooO--(_)--Ooo--+-

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


Realtek AC97 Support

2005-10-02 Thread Jason C. Wells
I haven't had any luck guessing at how to provide a driver for my onboard 
Realtek AC97 audio under FreeBSD 6.  Has anyone made this work?


Can I use the linux ALSA driver with FreeBSD?  Realtek provides this on 
their website in source.  I haven't manage to complete a compilation of the 
driver yet.  If such a thing has actually been done by someone here, I'll 
try harder.


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


Re: Eclipse unusably slow

2005-10-02 Thread Micah



Ramakrishna Nalla wrote:
Please try turning off automatic 'Code Assist' for java to speed up the 
Editor response. That was on thing which was causing a lot of problem on 
my outdated PC.


HTH
Rama


I already tried that before posting.  I would hope that an Athlon 64 
3000+ would be sufficient hardware to run Eclipse :)  Browsing the 
Eclipse bug database it seems freezes of this kind have been found in 
Eclipse for years with varying causes (CVS, GTK, etc).


Thanks,
Micah



On 10/2/05, *Micah* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

I just tried Eclipse for the first time on FreeBSD.  When I type eclipse
at the command prompt it takes 3-4 minutes to start (my computer boots
quicker than that!).  Looking at systat or top shows that java is
taking
all my processor time.  After it's up and running and I start a new java
project, the editor exhibits similar behaviow.  I try to type
System.out.println(hello eclipse);, but the editor will freeze at
Sys.  After 1 or 2 minutes it unfreezes and I can type tem. before
it freezes again.  At first I thought it was the check errors as you
type option, but turning that off didn't fix the editor, and that
shouldn't affect the startup time.  This is an Athlon 64 3000+ system
running in i386 mode, so it shouldn't take that long.

Vital stats: eclipse-3.1_3, jdk-1.4.2p7_1, 5.4-RELEASE-p7 i386

Any clues?

Thanks,
Micah
___
freebsd-questions@freebsd.org mailto:freebsd-questions@freebsd.org
mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
mailto:[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: Realtek AC97 Support

2005-10-02 Thread Mark Kane

Jason C. Wells wrote:
I haven't had any luck guessing at how to provide a driver for my 
onboard Realtek AC97 audio under FreeBSD 6.  Has anyone made this work?


Can I use the linux ALSA driver with FreeBSD?  Realtek provides this on 
their website in source.  I haven't manage to complete a compilation of 
the driver yet.  If such a thing has actually been done by someone here, 
I'll try harder.


Thanks,
Jason C. Wells


I haven't really used 6.x at all, but I'm assuming it's pretty similar 
if not the same as 5.x.


There is great documentation on how to set up a sound card here: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html


What you probably want to do is to load the snd_driver metadriver as a 
kernel module to see which driver works with your soundcard:


# kldload snd_driver

Then, to find out which driver it loaded:

# cat /dev/sndstat

You can either leave it as a module and load it at startup as the 
handbook explains, or you can compile that driver into the kernel which 
the soundcard setup chapter also documents well. I always do the latter 
but I'm sure the module would work fine too.


By the way, ALSA is for Linux (Advanced Linux Sound Architecture), so 
those drivers won't work on FreeBSD.


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