nphelix.so: Undefined symbol "stderr", when using linuxpluginwrapper on 6.0-B4

2005-09-06 Thread WOB


I fixed my Flash error, but I don't how to fix this error on the Helix 
player (and the same error for Acrobat7)


I'm using Firefox on 6.0-B4.

I thought "stderr" was alway defined (from my C days).

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


I had to make some symlinks for Flash to work on 6.0-Beta4.

2005-09-06 Thread WOB


I had to make 3-4 symlinks to get Flash to work with Firefox on FreeBSD 
6.0-B4


These are the commands I entered:

  cd /usr/lib
  ln -s libstdc++.so.5 libstdc++.so.4

  cd /lib
  ln -s libm.so.4 libm.so.3
  ln -s libz.so.3 libz.so.2

I made those changes based on errors I saw.  I don't know much about 
what I am doing, so hopefully I didn't break anything by making those 
symlinks.  For example, once this gets fixed, I dont't know if I will 
need to undo my symlinks.


It looks like the "...so.x" files got incremented, and something is 
expecting them to have their old values.


thanks!

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


Re: phpbb installation

2005-09-06 Thread Vizion
On Tuesday 06 September 2005 20:42,  the author Vizion contributed to the 
dialogue on-
 phpbb installation: 

>Hi
>
>I am just trying to work out the configuration options for
>usr/ports/www/phpbb.
>Does anyone habe any ideas on a good to install phpbb on a server with a
>number of virtual hosts, a number of which, will be running phpbb?
>
>Glancing at the makefile I have drawn the impression that  some tweaking
> might be needed.
>
>I am using name-based hosting and am uncertain how to proceed.
>
>
># The phpBB2 port supports a number of variables that may be tweaked at
> build # time.  Perform a "make options" to see more information on these
> variables. #
>WWWDOCROOT?=www/data
>PHPBBURL?=  phpBB2
> (is this meant to be the file
>location for installation purposes or the web site url?)
>
>WWWOWN?=www
>WWWGRP?=www
>
I have installed phpBB to the existing server as a trial and the files appear 
to be in the location indicated by stnadrad output. When I run open up 
install/install.php I get a blank screen.

any ideas how I can get enough info to help debug this problem?

david

-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: freebsd-questions Digest, Vol 110, Issue 24

2005-09-06 Thread Damon Blom
Hi 
  So sorry! so dumb. I didn't put usb ports ahead of hard drive in boot order.
Both usb direct drive and usb external hard drive work.
But boot loading is VERY slow for both.
  Thank's so much!
   Damon
On Tuesday 06 September 2005 07:48 am, you wrote:
> I've installed FreeBSD to a 1gb usb drive, but getting it to boot is really
> the hard part.  The new dells at my work boot off the USB drive just fine,
> but the Gateways at my school (that did have a boot from usb option) seem
> to have a problem with it.  The Gateway BIOS must not have drivers, or
> something, Im not sure, but the Gateways would boot off my USB harddrive
> that had freebsd on it.  If your getting to the boot loader though, it
> should work.  Are you booting from usb, or your hd?  And what kind of
> errors is it giving you?  I had some problems with it changing the device
> name, but that was when i was going from one computer to another.  Some
> computers have different usb devices/drivers and so it changes the device
> name, I don't know the exact details.  It's been a while since I did this. 
> When the boot loader trys to load the kernel, and then it trys to mount the
> filesystem (or the umm, something) it trys to look in da0s1, but it might
> change to something else.  When you copied / and /usr over to your usb
> drive, it also copied settings and stuff (not realy sure).  It might be
> trying to load the filesystem from da0s1 (mian hd) instead of da1s2 or
> something wierd like that.  Id try and actually install FreeBSD to your USB
> drive using a bootable FreeBSD cd.  I was surprised when it detected the
> USB drive.  You of course don't get the most updated version, but it will
> probably work a lot better.  Interestingly, Windows 2k will see a usb drive
> also, but of course it fails like it always does.  Hope this helps, or at
> least points you in the right direction.  For a better explanation of the
> booting process read
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot.html I'm
> sure that I messed it all up in the way I explained it.
>
> Eric Stringer
>
> > Message: 4
> > Date: Mon, 5 Sep 2005 21:45:24 -0700
> > From: Damon Blom <[EMAIL PROTECTED]>
> > Subject: freebsd on memory card
> > To: [EMAIL PROTECTED]
> > Message-ID: <[EMAIL PROTECTED]>
> > Content-Type: text/plain;  charset="us-ascii"
> >
> > Hi
> >presario r3000 amd64 freebsd-current 7.0
> >ad0: 76319MB Hitachi DK23FA-80
> >da0 HP Digital drive 1.00 > Removable direct access SCSI -0 Device
> >dual XP/FreeBSD with easy boot
> >used sysinstall to configure da0 as entire freebsd
> >   da0s1a  /tmp  390MB
> >   da0s1d  /tmp/usr 600MB
> >used gtar to transfer / to /mnt
> > transfer /usr to /mnt/usr  (Cheat Sheet)
> >usb bootable (bios) shows
> > F1 ?  (win)
> > F2 Freebsd
> > F5 Drive 1
> >   But will not boot . I did same thing on desktop with a second hard
> > drive and it booted fine. Is it because memory card is not really a hard
> > drive? Any way to do it ?
> >Thank's
> >   Damon
> >   and thank's so much for freebsd (my whole life)
> >
> >
> > --
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [EMAIL PROTECTED] Virtual host config SOLVED

2005-09-06 Thread Vizion
On Tuesday 06 September 2005 16:09,  the author Vizion contributed to the 
dialogue on-
 Re: [EMAIL PROTECTED] Virtual host config: 

>On Tuesday 06 September 2005 10:20,  the author Vizion contributed to the
>dialogue on-
>
> [EMAIL PROTECTED] Virtual host config:
>>Hi
>>
>>My Apache2 runs on Unix (Freebsd) with
>>httpd.conf including
>>ServerRoot "/usr/local"
>>DocumentRoot "/usr/local/www/data"
>>
>>It is so long ago that I was working on apache that I have forgotten the
>>basics!
>>
>>I am adding a number of virtual hosts the files  located as
>>
>>/usr2/virtualhosts/vhostname1/
>>/usr2/virtualhosts/vhostname2/
>>etc
>>
>>I want to keep the existing website running under /usr/local/www/data as
>> well as the virtual hosts.
>>
>>I do not want to try the Virtual-Host Aliases until I have got my head
>> around the basics!
>>
>>I have set up a virtualhosts.conf file using an Include directory:
>>
>>Include etc/apache2/Includes/*.conf
>>
>>
>>DocumentRoot /usr2/virtualwebs/vhostname1
>>ServerName vhostname1.com
>>AcceptPathInfo On
>>
>>
>>I am clearly not getting my set up/permissions right because I get
>>
>>You don't have permission to access / on this server.
>>
>>It seems  some needed directives are missing from the virtualhosts.conf
>> and/or httpd.conf files.
>>
>>Despite reading the documentation I do not get it!
>
>I have also tried using a link
>dns1# cd www
>dns1# ls -l
>total 14
>
>lrwxr-xr-x  1 root  wheel18 Sep  6 14:20 virtualwebs ->
> /usr2/virtualwebs/
>
>with virtualhosts.conf carrying entries of:
>
>
>   DocumentRoot /www/virtualwebs/vhost1.com
>   ServerName vhost1.com
>   AcceptPathInfo On
>
>and tried
>
>   DocumentRoot /virtualwebs/vhost1.com
>   ServerName vhost1.com
>   AcceptPathInfo On
>
>when that did not work
>In either case I get
>Warning: DocumentRoot [/www/virtualwebs/vhost1.com] does not exist
>
>How can I get this right?

OK solved it - the manual I was using gave the impression that the 
DocumentRoot was specified relative to the server root rather than 
absolutely. Once I got over that the rest fell into place.

Thanks
david

-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Intel PRO/100 VE Network Connection NIC undetected, FreeBSD 5.4

2005-09-06 Thread Greg Maruszeczka
Andrew Robinson wrote:
> Dear list,
> 
> I am using an Intel PRO/100 VE Network Connection with FreeBSD 5.4
> Release. The card does not seem to be detected. The page at
> 
> http://www.freebsd.org/releases/5.4R/hardware-i386.html#ETHERNET
> 
> lists it among the cards that should be supported by fxp.
> 
> My kernel shows that fxp is included:
> 
> devicefxp # Intel EtherExpress PRO/100B (82557, 
> 82558)
> 
> The relevant output of dmesg is:
> 
> pci5:  at device 8.0 (no driver attached)
> 
> ifconfig says:
> 
> lo0: flags=8049 mtu 16384
>   inet 127.0.0.1 netmask 0xff00
>   inet6 ::1 prefixlen 128
>   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
> 
> The relevant output of pciconf -lv is:
> 
> [EMAIL PROTECTED]:8:0:class=0x02 card=0x01a71028 chip=0x27dc8086 
> rev=0x01
> hdr=0x00
> vendor   = 'Intel Corporation'
> class= network
> subclass = ethernet
> 
> In WinXP the physical device is identified as
> 
> Intel 82562 ET 100 Base-TX PHY
> 
> Does anyone have any suggestions?
> 


By coincidence I just installed 5.4 REL on my Gateway notebook this
afternoon, which has the Intel PRO 100 on-board. In my case it was
detected immediately and coupled with the fxp driver enabled in GENERIC.

FWIW the output of pciconf -lv on my notebook yields this:

[EMAIL PROTECTED]:8:0 class=0x2 card=0x0200107b chip=0x103d8086 rev=0x81
hdr=0x00
vendor = 'Intel Corporation
device = '82801DB (ICH4) PRO/100 VE Network Connection'
class = network
subclass = ethernet

I don't know enough about these numbers to say for sure but obviously
your output and mine are quite different, particularly WRT "card" and
"chip".

Are you absolutely sure you have this particular adapter and not some
variant?


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


phpbb installation

2005-09-06 Thread Vizion
Hi

I am just trying to work out the configuration options for 
usr/ports/www/phpbb.
Does anyone habe any ideas on a good to install phpbb on a server with a 
number of virtual hosts, a number of which, will be running phpbb?

Glancing at the makefile I have drawn the impression that  some tweaking might 
be needed.

I am using name-based hosting and am uncertain how to proceed.


# The phpBB2 port supports a number of variables that may be tweaked at build
# time.  Perform a "make options" to see more information on these variables.
#
WWWDOCROOT?=www/data
PHPBBURL?=  phpBB2
 (is this meant to be the file  

location for installation purposes or the web site url?)

WWWOWN?=www
WWWGRP?=www

All advice appreciated
Thanks
david

-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Intel PRO/100 VE Network Connection NIC undetected, FreeBSD 5.4

2005-09-06 Thread Norberto Meijome

Andrew Robinson wrote:

Dear list,

I am using an Intel PRO/100 VE Network Connection with FreeBSD 5.4
Release. The card does not seem to be detected. The page at

http://www.freebsd.org/releases/5.4R/hardware-i386.html#ETHERNET

lists it among the cards that should be supported by fxp.

My kernel shows that fxp is included:

device  fxp # Intel EtherExpress PRO/100B (82557, 82558)

The relevant output of dmesg is:

pci5:  at device 8.0 (no driver attached)

ifconfig says:

lo0: flags=8049 mtu 16384
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1

The relevant output of pciconf -lv is:

[EMAIL PROTECTED]:8:0:  class=0x02 card=0x01a71028 chip=0x27dc8086 rev=0x01
hdr=0x00
vendor   = 'Intel Corporation'
class= network
subclass = ethernet



gday Andrew -

- does it show in ifconfig -a?

- just to make sure you have fxp in the kernel, u may want to try to 
kldload if_fxp - u should get an error if it's already built in, or it 
would start working if it's not:


# kldload if_fxp
kldload: can't load if_fxp: File exists



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


Threaded Perl Seg Fault

2005-09-06 Thread Charles Maner

Hi all.  I'm running threaded Perl 5.8.7, compiled
with ithreads, on FreeBSD 5.4 STABLE with 1.5GB RAM. 
Perl is now running out of memory as I'm getting Seg
Faults/Core dumps.  (I'm creating a max of 15 threads
all parsing different HTML.  There appears to only be
124MB of free physical memory remaining--3 GB of swap
space is available/unused.)

FYI, it was compiled using FreeBSD malloc:

/home/charles> perl -V:usemymalloc
usemymalloc='n';

It seems that the OS is not alloting swap space to
this Perl job.  Is there a quick suggestion as to how
to tell it to use swap space and/or should I increase
kernel memory during boot?  Any general suggestions?


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


Re: Compiling for the first time (more or less)

2005-09-06 Thread Giorgos Keramidas
On 2005-09-06 15:48, Derrill Guilbert <[EMAIL PROTECTED]> wrote:
> So, my next question is, how does one know that the wonderful and
> brilliant FreeBSD port squad already took care of things like this?

The ports(7) manpage is a good start and it also includes a link to the
relevant Handbook section.  You can get a fair amount of information
about the Ports (what they are, how it all works, etc.) by running:

% man 7 ports

> Am I just going to have to ask more stupid questions like this, until
> I get a better feel for things?

Well, there's an old saying that no question is a stupid question.  You
can speed things up a lot though by looking for "keywords" that match
what you want to do in the archives of this list.  Most of the questions
one finds himself wanting to ask when they start working with FreeBSD
have already been answered; repeatedly too :)

- Giorgos

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


Intel PRO/100 VE Network Connection NIC undetected, FreeBSD 5.4

2005-09-06 Thread Andrew Robinson
Dear list,

I am using an Intel PRO/100 VE Network Connection with FreeBSD 5.4
Release. The card does not seem to be detected. The page at

http://www.freebsd.org/releases/5.4R/hardware-i386.html#ETHERNET

lists it among the cards that should be supported by fxp.

My kernel shows that fxp is included:

device  fxp # Intel EtherExpress PRO/100B (82557, 82558)

The relevant output of dmesg is:

pci5:  at device 8.0 (no driver attached)

ifconfig says:

lo0: flags=8049 mtu 16384
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1

The relevant output of pciconf -lv is:

[EMAIL PROTECTED]:8:0:  class=0x02 card=0x01a71028 chip=0x27dc8086 rev=0x01
hdr=0x00
vendor   = 'Intel Corporation'
class= network
subclass = ethernet

In WinXP the physical device is identified as

Intel 82562 ET 100 Base-TX PHY

Does anyone have any suggestions?

Very best wishes,

Andrew

Andrew Robinson
Senior Lecturer in Statistics   Tel: +61-3-8344-9763
Department of Mathematics and StatisticsFax: +61-3-8344 4599
University of Melbourne, VIC 3010 Australia
Email: [EMAIL PROTECTED]Website: http://www.ms.unimelb.edu.au
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php --with apache error log

2005-09-06 Thread Vizion
On Tuesday 06 September 2005 15:40,  the author Vizion contributed to the 
dialogue on-
 Re: php --with apache error log: 

>On Tuesday 06 September 2005 15:22,  the author Kevin Kinsey contributed to
>the dialogue on-
>
> Re: php --with apache error log:
>>Vizion wrote:
>>>Hi
>>>It seems that php is looking for a directory 20041030-debug when there is
>>> only a directory 20041030.
>>>
>>>Here is the output from http-error.log
>>>
>>>Is this a config error?
>>>
>>>Does anyone know foe to fix the problem?
>>>
>>>Help appreciated
>>>
>>>david
>>>
>>>Quote from log:
>>>-
>>>[Tue Sep 06 14:26:20 2005] [notice] Apache/2.0.54 (FreeBSD) PHP/5.0.4
>>>configured -- resuming normal operations
>>>Unknown(0) : Warning - PHP Startup: Unable to load dynamic library
>>>'/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open
>>>"/usr/local/lib/php/20041030-debug/pcre.so"
>>>Unknown(0) : Warning - PHP Startup: Unable to load dynamic library
>>>'/usr/local/lib/php/20041030-debug/xml.so' - Cannot open
>>
>>
>>
>>Try adjusting the value for "extension_dir" in the appropriate
>>php.ini file.
>>
>>Note that this has moved, I think, from /usr/local/lib/php/php.ini
>>to /usr/local/etc/php.ini for most installations.
>
>That you very much
>
>The line extension dir line in the php.ini is:
>
>extension_dir = "./"
>
>What value should this have?
>
>How come it is looking for:
>20041030-debug
>in the first place when extension_dir is ./?
>Where does it get that value from?
>
>The directory  /usr/local/lib/php/20041030
>
>dns1# cd /usr/local/lib/php/20041030
>dns1# ls -l
>total 130
>-r--r--r--  1 root  wheel  89839 Sep  3 18:50 pcre.so
>-r--r--r--  1 root  wheel  40993 Sep  3 18:51 xml.so
>
I tried changing to :
extension_dir = //usr/local/lib/php/20041030
but that made no difference --still got the same error:
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open 
"/usr/local/lib/php/20041030-debug/pcre.so"
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030-debug/xml.so' - Cannot open 
"/usr/local/lib/php/20041030-debug/xml.so"

Puzzled

david
-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Stress testing and TIMEOUT - WRITE_DMA

2005-09-06 Thread Anthony Chavez
On Fri, 26 Aug 2005 03:21:35 -0600 Anthony Chavez <[EMAIL PROTECTED]> wrote:

> My question is simply this: is the fact that I received 4 TIMEOUT
> warnings in the space of roughly 2 weeks significant cause for concern?

Apparently, the fact that the stress tool produced so few warnings may
have given me a false sense of security.  I'm being treated to the
following messages (81 in total) today, after 8 days uptime:

Sep  6 11:35:27 mybox kernel: ad0: TIMEOUT - WRITE_DMA retrying (2 retries 
left) LBA=8348191
...
Sep  6 18:59:09 mybox kernel: ad0: TIMEOUT - WRITE_DMA retrying (2 retries 
left) LBA=8348383
Sep  6 19:04:58 mybox kernel: ad0: TIMEOUT - READ_DMA retrying (2 retries left) 
LBA=61749183

The READ_DMA timeouts are happening very infrequently, but it's worth
mentioning that I'm seeing them now in addition.

This is quite disturbing, particularly when the machine in question is
*in*production.*

Has anyone who has experienced this pain found solace in 5-STABLE's ATA
drivers?

dmesg below.

-- 
Anthony Chavez http://anthonychavez.org/
mailto:[EMAIL PROTECTED] jabber:[EMAIL PROTECTED]

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.4-RELEASE-p6 #0: Fri Aug 26 02:23:19 MDT 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) CPU 2.40GHz (2392.25-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  
Features=0xbfebfbff
real memory  = 266813440 (254 MB)
avail memory = 251445248 (239 MB)
ioapic0: Changing APIC ID to 1
ioapic0  irqs 0-23 on motherboard
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
agp0:  mem 
0xfeb8-0xfebf,0xe800-0xefff irq 16 at device 2.0 on pci0
agp0: detected 892k stolen memory
agp0: aperture size is 128M
uhci0:  port 0xff80-0xff9f irq 16 at 
device 29.0 on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xff60-0xff7f irq 19 at 
device 29.1 on pci0
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port 0xff40-0xff5f irq 18 at 
device 29.2 on pci0
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0:  at device 29.7 (no driver attached)
pcib1:  at device 30.0 on pci0
pci1:  on pcib1
pci1:  at device 5.0 (no driver attached)
xl0: <3Com 3c900-TPO Etherlink XL> port 0xddc0-0xddff irq 18 at device 6.0 on 
pci1
xl0: selecting 10baseT transceiver, half duplex
xl0: Ethernet address: 00:60:97:74:a8:6d
bfe0:  mem 0xfe9fe000-0xfe9f irq 17 at 
device 9.0 on pci1
miibus0:  on bfe0
bmtphy0:  on miibus0
bmtphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bfe0: Ethernet address: 00:12:3f:d4:21:75
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port 
0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 irq 18 at device 31.1 on pci0
ata0:  on atapci0
ata1:  on atapci0
pci0:  at device 31.3 (no driver attached)
pci0:  at device 31.5 (no driver attached)
fdc0:  port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
ppc0:  port 0x778-0x77f,0x378-0x37f irq 7 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
orm0:  at iomem 
0xcd000-0xc,0xcb800-0xccfff,0xc-0xcb7ff on isa0
pmtimer0 on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter "TSC" frequency 2392248384 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 76293MB  at ata0-master UDMA100
acd0: CDROM  at ata1-master UDMA33
ATA PseudoRAID loaded
Mounting root from ufs:/dev/ad0s1a


pgpFRC9hk7gAB.pgp
Description: PGP signature


RE: [OT] Life expectancy of powered down hard drives....

2005-09-06 Thread Ted Mittelstaedt


>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Norberto
>Meijome
>Sent: Tuesday, September 06, 2005 6:37 AM
>To: FreeBSD Questions
>Subject: [OT] Life expectancy of powered down hard drives
>
>
>hi all,
>I know this doesn't relate to FBSD per se, but I figured i'd 
>try to pick 
>your brains :)
>
>I read somewhere (sorry, cant remember where) that hard drives fail if 
>not powered up every so often (not sure of time frames, but the 
>discussion was about tapes still being better for backups than hard 
>drives if planning for long term storage).

They can fail if they are left running 24x7 for months or years at a
time then shut down for 24 hours or so.

Never heard of the 'drive will fail if not powered up every so often"
line, though.

> It was also mentioned a 
>"knock on the centre of the drive" to bring it back to life (??).
>

That used to be the case with some old disks.  Once brought back
to life this way you had enough time to get the data off the disk
before it crashed for good.

40 Megabyte Seagate MFM ST251's were famous for this.

>How much truth is in this? I have EIDE drives that I havent used in 
>years and I just tested them and they work fine...but again, 
>I've had an 
>instance of a new drive, used twice to backup some info and then left 
>untouched for 10 months, and it wouldn't even spin up...
>

So have I.  I've also had brand new drives out of the box that wouldn't
even spin up.

>Does this affect SCSI drives? I suppose it would be more likely to 
>affect desktop-quality IDE / SATA drives...
>

It affects all drives.

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


Re: Repairing "kernel not found"

2005-09-06 Thread Frederick N. Brier
More info.  If I "ls" either before or after setting the bootpath or 
module_path environment variables, the response is: "open '/' failed: no 
such file or directory".  The "load kernel" command returns: "can't file 
'kernel'".  Do I need to load a module so that the 3Ware drive "twe" is 
loaded?  The loaddev and currdev variables are both set to "disk1s1a:"  
Thank you again.


Fred.

Giorgos Keramidas wrote:


On 2005-09-06 11:13, "Frederick N. Brier" <[EMAIL PROTECTED]> wrote:
 


Giorgos Keramidas was kind enough to point me at the boot0cfg command
and I had already tried the disklabel command, but my 5.4 system still
won't boot.  The boot0cfg and disklabel commands executed fine, but it
is still saying it can't find or load the kernel file despite it being
in the correct directory on the correct slice.
   



You can interrupt the boot loader and at the OK prompt run "ls" to see
what the loader has mounted as the root partition.  Then, assuming that
you locate your kernel in ``/boot/kernel/kernel'', loading a specific
kernel can be done with:

OK set bootfile=/boot/kernel/kernel
OK set module_path=/boot/kernel
OK load kernel
OK boot



 




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


Re: freebsd-questions Digest, Vol 110, Issue 24

2005-09-06 Thread Damon Blom
Hi
   Thank's for the response. It will not even start boot. comes back
 F2  Freebsd
 F5  drive 1
  If I hit it again returns original
 F1 ?
 F2 Freebsd
 F5 drive 1
  I tried using fdisk to write member again
   fdisk -B -b /boot/boot0 /dev/da0
   but it wouldn't do anything - said no geom. Believe this was because I used 
whole disk. But in slot 1 is the freebsd type 165.
  I think it is a bios problem.
   (I did change /mnt/etc to give mounts of new disk  daos1a, da0s1d)
Just got an external 200 G usb drive that I will try the same thing. I now
have da0 maxtor 194481 MB
da1 hp digital drive 976 MB
   Thank's
   Damon
 
On Tuesday 06 September 2005 07:48 am, you wrote:
> I've installed FreeBSD to a 1gb usb drive, but getting it to boot is really
> the hard part.  The new dells at my work boot off the USB drive just fine,
> but the Gateways at my school (that did have a boot from usb option) seem
> to have a problem with it.  The Gateway BIOS must not have drivers, or
> something, Im not sure, but the Gateways would boot off my USB harddrive
> that had freebsd on it.  If your getting to the boot loader though, it
> should work.  Are you booting from usb, or your hd?  And what kind of
> errors is it giving you?  I had some problems with it changing the device
> name, but that was when i was going from one computer to another.  Some
> computers have different usb devices/drivers and so it changes the device
> name, I don't know the exact details.  It's been a while since I did this. 
> When the boot loader trys to load the kernel, and then it trys to mount the
> filesystem (or the umm, something) it trys to look in da0s1, but it might
> change to something else.  When you copied / and /usr over to your usb
> drive, it also copied settings and stuff (not realy sure).  It might be
> trying to load the filesystem from da0s1 (mian hd) instead of da1s2 or
> something wierd like that.  Id try and actually install FreeBSD to your USB
> drive using a bootable FreeBSD cd.  I was surprised when it detected the
> USB drive.  You of course don't get the most updated version, but it will
> probably work a lot better.  Interestingly, Windows 2k will see a usb drive
> also, but of course it fails like it always does.  Hope this helps, or at
> least points you in the right direction.  For a better explanation of the
> booting process read
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot.html I'm
> sure that I messed it all up in the way I explained it.
>
> Eric Stringer
>
> > Message: 4
> > Date: Mon, 5 Sep 2005 21:45:24 -0700
> > From: Damon Blom <[EMAIL PROTECTED]>
> > Subject: freebsd on memory card
> > To: [EMAIL PROTECTED]
> > Message-ID: <[EMAIL PROTECTED]>
> > Content-Type: text/plain;  charset="us-ascii"
> >
> > Hi
> >presario r3000 amd64 freebsd-current 7.0
> >ad0: 76319MB Hitachi DK23FA-80
> >da0 HP Digital drive 1.00 > Removable direct access SCSI -0 Device
> >dual XP/FreeBSD with easy boot
> >used sysinstall to configure da0 as entire freebsd
> >   da0s1a  /tmp  390MB
> >   da0s1d  /tmp/usr 600MB
> >used gtar to transfer / to /mnt
> > transfer /usr to /mnt/usr  (Cheat Sheet)
> >usb bootable (bios) shows
> > F1 ?  (win)
> > F2 Freebsd
> > F5 Drive 1
> >   But will not boot . I did same thing on desktop with a second hard
> > drive and it booted fine. Is it because memory card is not really a hard
> > drive? Any way to do it ?
> >Thank's
> >   Damon
> >   and thank's so much for freebsd (my whole life)
> >
> >
> > --
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [EMAIL PROTECTED] Virtual host config

2005-09-06 Thread Vizion
On Tuesday 06 September 2005 10:20,  the author Vizion contributed to the 
dialogue on-
 [EMAIL PROTECTED] Virtual host config: 

>Hi
>
>My Apache2 runs on Unix (Freebsd) with
>httpd.conf including
>ServerRoot "/usr/local"
>DocumentRoot "/usr/local/www/data"
>
>It is so long ago that I was working on apache that I have forgotten the
>basics!
>
>I am adding a number of virtual hosts the files  located as
>
>/usr2/virtualhosts/vhostname1/
>/usr2/virtualhosts/vhostname2/
>etc
>
>I want to keep the existing website running under /usr/local/www/data as
> well as the virtual hosts.
>
>I do not want to try the Virtual-Host Aliases until I have got my head
> around the basics!
>
>I have set up a virtualhosts.conf file using an Include directory:
>
>Include etc/apache2/Includes/*.conf
>
>
>DocumentRoot /usr2/virtualwebs/vhostname1
>ServerName vhostname1.com
>AcceptPathInfo On
>
>
>I am clearly not getting my set up/permissions right because I get
>
>You don't have permission to access / on this server.
>
>It seems  some needed directives are missing from the virtualhosts.conf
> and/or httpd.conf files.
>
>Despite reading the documentation I do not get it!

I have also tried using a link
dns1# cd www
dns1# ls -l
total 14

lrwxr-xr-x  1 root  wheel18 Sep  6 14:20 virtualwebs -> /usr2/virtualwebs/
 
with virtualhosts.conf carrying entries of:


DocumentRoot /www/virtualwebs/vhost1.com
ServerName vhost1.com
AcceptPathInfo On

and tried

DocumentRoot /virtualwebs/vhost1.com
ServerName vhost1.com
AcceptPathInfo On

when that did not work
In either case I get
Warning: DocumentRoot [/www/virtualwebs/vhost1.com] does not exist

How can I get this right?
david

-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: managing HP/Compaq RAID?

2005-09-06 Thread Per olof Ljungmark

Per olof Ljungmark wrote:

Hi,

What do people on the list use to manage hp/compaq raid? We have both 
old and new controllers like Smart Array 5/6i, Smart Array 221.



Answering my own question:
http://people.freebsd.org/~jcagle/
unfortunately the hpacucli utility is temporarily gone.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Compiling for the first time (more or less)

2005-09-06 Thread Derrill Guilbert
Sorry about the reply, rather than reply-all, Giorgos. Thank you for 
your help on this.


So, my next question is, how does one know that the wonderful and 
brilliant FreeBSD port squad already took care of things like this? I 
assume that it is documented somewhere, but I didn't see it on the 
description page for the port. Am I just going to have to ask more 
stupid questions like this, until I get a better feel for things?


Derrill

Giorgos Keramidas wrote:


On 2005-09-06 12:04, Derrill Guilbert <[EMAIL PROTECTED]> wrote:
 


Up until now, I've been able to get by just using ports, and mostly
just the magic "pkg_add -r" ...

Now I'm trying to create a samba server that will join a Win2k
domain. I managed to install Samba 3.12 using pkg_add -r samba3
... and at the very end I get a message saying that the ADS support is
disabled by default, because it creates a kerberos dependency and (I
thought it said) further that I'd have to compile my own.

Ok, fine. I've got the source from samba.org ... where's the basic
"roll your own" page in the handbook?
   



Nah, don't do it this way.  Our friendly Ports hackers have already
ported Samba3 with ADS support to FreeBSD.  All you need is to build
using the Ports:

1. Start by obtaining a /usr/ports tree, i.e. through CVSup.

2. Configure and install Samba3

tarja:/# cd /usr/ports/net/samba3
tarja:/usr/ports/net/samba3# make config

  (Make sure you enable ADS support at the configuration dialog that
  pops up when you type "make config".)

tarja:/usr/ports/net/samba3# make install

That should install Samba3 as a "port", instead of a precompiled "package"..


 



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


Re: php --with apache error log

2005-09-06 Thread Vizion
On Tuesday 06 September 2005 15:22,  the author Kevin Kinsey contributed to 
the dialogue on-
 Re: php --with apache error log: 

>Vizion wrote:
>>Hi
>>It seems that php is looking for a directory 20041030-debug when there is
>> only a directory 20041030.
>>
>>Here is the output from http-error.log
>>
>>Is this a config error?
>>
>>Does anyone know foe to fix the problem?
>>
>>Help appreciated
>>
>>david
>>
>>Quote from log:
>>-
>>[Tue Sep 06 14:26:20 2005] [notice] Apache/2.0.54 (FreeBSD) PHP/5.0.4
>>configured -- resuming normal operations
>>Unknown(0) : Warning - PHP Startup: Unable to load dynamic library
>>'/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open
>>"/usr/local/lib/php/20041030-debug/pcre.so"
>>Unknown(0) : Warning - PHP Startup: Unable to load dynamic library
>>'/usr/local/lib/php/20041030-debug/xml.so' - Cannot open
>
>
>
>Try adjusting the value for "extension_dir" in the appropriate
>php.ini file.
>
>Note that this has moved, I think, from /usr/local/lib/php/php.ini
>to /usr/local/etc/php.ini for most installations.
That you very much

The line extension dir line in the php.ini is:

extension_dir = "./"

What value should this have?

How come it is looking for:
20041030-debug
in the first place when extension_dir is ./?
Where does it get that value from?

The directory  /usr/local/lib/php/20041030

dns1# cd /usr/local/lib/php/20041030
dns1# ls -l
total 130
-r--r--r--  1 root  wheel  89839 Sep  3 18:50 pcre.so
-r--r--r--  1 root  wheel  40993 Sep  3 18:51 xml.so

Thanks again

david



-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php --with apache error log

2005-09-06 Thread Kevin Kinsey

Vizion wrote:


Hi
It seems that php is looking for a directory 20041030-debug when there is only 
a directory 20041030.


Here is the output from http-error.log

Is this a config error?

Does anyone know foe to fix the problem?

Help appreciated

david

Quote from log:
-
[Tue Sep 06 14:26:20 2005] [notice] Apache/2.0.54 (FreeBSD) PHP/5.0.4 
configured -- resuming normal operations
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open 
"/usr/local/lib/php/20041030-debug/pcre.so"
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030-debug/xml.so' - Cannot open 
 




Try adjusting the value for "extension_dir" in the appropriate
php.ini file.

Note that this has moved, I think, from /usr/local/lib/php/php.ini
to /usr/local/etc/php.ini for most installations.

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: [OT] Life expectancy of powered down hard drives....

2005-09-06 Thread Norberto Meijome

Roland Smith wrote:


On Tue, Sep 06, 2005 at 11:36:52PM +1000, Norberto Meijome wrote:

 

I read somewhere (sorry, cant remember where) that hard drives fail if 
not powered up every so often (not sure of time frames, but the 
discussion was about tapes still being better for backups than hard 
drives if planning for long term storage). It was also mentioned a 
"knock on the centre of the drive" to bring it back to life (??).


How much truth is in this? I have EIDE drives that I havent used in 
years and I just tested them and they work fine...but again, I've had an 
instance of a new drive, used twice to backup some info and then left 
untouched for 10 months, and it wouldn't even spin up...
   



When a disk spins down, the heads move to the landing zone, stop
floating on an air-cushion that forms when the platters are spinning and
come in contact with the platters.

So the disk platters are lubricated to prevent wear and tear during
stops/starts. Now in the past these lubricants used to become sticky
over time, preventing the drive from starting up. I'm not sure if it is
still a problem these days; my workstation is on 24/7.
 


gotcha, thanks - I thought it could be an issue with older drives.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


php --with apache error log

2005-09-06 Thread Vizion
Hi
It seems that php is looking for a directory 20041030-debug when there is only 
a directory 20041030.

Here is the output from http-error.log

Is this a config error?

Does anyone know foe to fix the problem?

Help appreciated

david

Quote from log:
-
[Tue Sep 06 14:26:20 2005] [notice] Apache/2.0.54 (FreeBSD) PHP/5.0.4 
configured -- resuming normal operations
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open 
"/usr/local/lib/php/20041030-debug/pcre.so"
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030-debug/xml.so' - Cannot open 
"/usr/local/lib/php/20041030-debug/xml.so"
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open 
"/usr/local/lib/php/20041030-debug/pcre.so"
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030-debug/xml.so' - Cannot open 
"/usr/local/lib/php/20041030-debug/xml.so"
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open 
"/usr/local/lib/php/20041030-debug/pcre.so"
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030-debug/xml.so' - Cannot open 
"/usr/local/lib/php/20041030-debug/xml.so"
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open 
"/usr/local/lib/php/20041030-debug/pcre.so"
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030-debug/xml.so' - Cannot open 
"/usr/local/lib/php/20041030-debug/xml.so"
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open 
"/usr/local/lib/php/20041030-debug/pcre.so"
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030-debug/xml.so' - Cannot open 
"/usr/local/lib/php/20041030-debug/xml.so"
[Tue Sep 06 14:42:11 2005] [notice] caught SIGTERM, shutting down
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open 
"/usr/local/lib/php/20041030-debug/pcre.so"
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030-debug/xml.so' - Cannot open 
"/usr/local/lib/php/20041030-debug/xml.so"
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open 
"/usr/local/lib/php/20041030-debug/pcre.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030-debug/xml.so' - Cannot open 
"/usr/local/lib/php/20041030-debug/xml.so" in Unknown on line 0



-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Compiling for the first time (more or less)

2005-09-06 Thread Kevin Kinsey

Derrill Guilbert wrote:


Up until now, I've been able to get by just using ports,
and mostly just the magic "pkg_add -r" ...

Now I'm trying to create a samba server that will join a
Win2k domain. I managed to install Samba 3.12 using
pkg_add -r samba3 ... and at the very end I get a message
saying that the ADS support is disabled by default, because
it creates a kerberos dependency and (I thought it said)
further that I'd have to compile my own.

Ok, fine. I've got the source from samba.org ... where's the
basic "roll your own" page in the handbook? I'm probaby
searching for the wrong thing or need to spend some
time at the Sylvan learning center for my Being Stupid
disability. Please, someone tell me where in the handbook
or elsewhere to find the basics of how to reconfigure for
and do the Make thing.

I was run through it once by a friend, but it was one of those
"ok, vi [filename], search for [some string], change it to
[some other string], save the file, run make, then make install"
(I think) ... and it was long ago. So I suppose it will look kind of
familiar when I find it, but I'd like to have something to read while 
I do it.


Or maybe I'm asking the wrong question? If you'd like to point
me to the correct question, that would also be lovely.

Derrill



Well, the ports system was created so you wouldn't have to think
much about ./configure --WITH-FOO=bar && make && make install,
and then have no way to uninstall except do a visual diff on every "bin"
directory on your box looking for "fooport", etc.

So it's likely that you could run "make configure" in /usr/ports/net/samba3
and give it the options that it needs.  Failing that, then something like
`cd /usr/ports/net/samba3 && make --WITH-FOO=bar install clean` is
likely the incantation of choice.  Check the "Makefile" under said dir.

Since ./configure - make - make install isn't simply a BSDism per se, it's
possible that it's not even in the handbook, although I'm not looking
over it *for you* ATM. ;-) In the event it's not there, I'd probably Google
for "building from source", or some similar string

HTH && good luck,

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


managing HP/Compaq RAID?

2005-09-06 Thread Per olof Ljungmark

Hi,

What do people on the list use to manage hp/compaq raid? We have both 
old and new controllers like Smart Array 5/6i, Smart Array 221.


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


Re: pbs alternative

2005-09-06 Thread Kris Kennaway
On Tue, Sep 06, 2005 at 03:54:28PM -0400, Osmany Guirola Cruz wrote:
> Yes . i installed but i am having problems trying to configure
>  this is the error
> 
> error: commlib error: access denied (client IP resolved to host name
> "localhost". This is not identical to clients host name
> "draco.cigb.edu.cu"
> 
> i follow all the steps :-( 

Check the documentation on the sge website or ask on their support forum.

Kris


pgpwG0hbKVuA0.pgp
Description: PGP signature


Solved: ath/wpa_supplicant causes panic on BETA3?

2005-09-06 Thread Erik Nørgaard

This seems to have been resolved in BETA4#0

Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD howto collection

2005-09-06 Thread Charles Swiger

[EMAIL PROTECTED] wrote:

I have those books. I was hoping there is a FreeBSD
book that includes the installation of other mail/dns
servers like DJBDNS/qmail/postfix etc.


None of the software you mention here is platform-specific to FreeBSD  
(or Linux, or to any particular OS).  Go to DJB's site, or "life with  
qmail", or www.postfix.org, and read away.  However, you could also  
start with:


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

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

...then "cd /usr/ports/mail/postfix" (or /usr/ports/mail/qmail) and  
"make install".



I am wondering why we get a lot more varieties on
Linux  solutions compared to FreeBSD. Are there more
Linux gurus than FreeBSD gurus out there or are people
just not interested in writing anymore?


There is nothing wrong with people trying and experimenting with lots  
of different approaches, but consistency has its own value.


--
-Chuck

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


Re: FreeBSD howto collection

2005-09-06 Thread Jon Drews
On 9/5/05, Yance Kowara <[EMAIL PROTECTED]> wrote:
> Dear all,
> 
> I am looking for a good article or collection of
> howtos or something similar to Ted's FreeBSD Corporate
> Networker's Guide.
> 
> A book similar to Carla Schroder's Linux Cookbook
> (http://proquest.safaribooksonline.com/?XmlId=0596006403)
> 
> is very nice and practical to follow.

FreeBSD Basics is good:
http://www.oreillynet.com/pub/ct/15

Michael Lucas' series on BSD, Big Scary Daemons
http://www.onlamp.com/pub/ct/13


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


Re: SCSI + IDE together

2005-09-06 Thread Charles Swiger

On Sep 6, 2005, at 1:56 PM, Gayn Winters wrote:

What does it take to be able to use a mixture of SCSI and IDE (ATA)
disks?


Nothing special.  You could boot off a FreeBSD CD-ROM image and do  
so, or from a working FreeBSD install on one of the drives.  Your  
SCSI disks will be /dev/da0, da1, etc and your IDE disks will be /dev/ 
ad0, ad1, etc.



  I'd like to be able to copy (dd) one to another.


While dd will work, in the sense that you can copy blocks of data  
directly, it is unlikely that the two drives will be of the same size  
and have the same geometry/partition table.  This may or may not  
present a problem, but you might want to consult:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW- 
HUGE-DISK


--
-Chuck

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


Re: FreeBSD howto collection

2005-09-06 Thread Beecher Rintoul
On Tuesday 06 September 2005 02:12 am, Yance Kowara wrote:
> > > Dear all,
> > >
> > > I am looking for a good article or collection of
> > > howtos or something similar to Ted's FreeBSD
> >
> > Corporate
> >
> > > Networker's Guide.
> > >
> > > A book similar to Carla Schroder's Linux Cookbook
>
> (http://proquest.safaribooksonline.com/?XmlId=0596006403)
>
> > > is very nice and practical to follow.
> > >
> > > I am given a task to design a small business
> >
> > network
> >
> > > solution using FreeBSD. It needs a gateway,
> >
> > firewall,
> >
> > > mail, proxy server, etc.
> > >
> > > What is available (what I can find) are different
> > > howtos implemented in different situations.
> > >
> > > Any pointers appreciated.
> > >
> > > Regards,
> > >
> > >
> > > Yance Kowara
> >
> > I found "The Complete FreeBSD by Greg Lehey"
> > invaluable when I was starting
> > out in FreeBSD. Also the OReilly book "Building
> > Internet Firewalls" was very
> > helpful.
> >
> > Cheers,
> >
> > Beech
>
> I have those books. I was hoping there is a FreeBSD
> book that includes the installation of other mail/dns
> servers like DJBDNS/qmail/postfix etc.
>
> I am wondering why we get a lot more varieties on
> Linux  solutions compared to FreeBSD. Are there more
> Linux gurus than FreeBSD gurus out there or are people
> just not interested in writing anymore?
>
> Kind regards,
>
> Yance
>
There are some excellent FAQs and how-to's at http://www.postfix.org. If 
postfix is installed from the ports it is fairly trivial to set up. The 
respective add-on programs (like spam assassin) have very good documentation. 
There seems to be a new OReilly Postfix book, but I haven't read it so I 
can't comment on how useful it is. 

Beech

-- 
---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ 
---













pgpcAjTkffRJO.pgp
Description: PGP signature


Re: pbs alternative

2005-09-06 Thread Osmany Guirola Cruz
Yes . i installed but i am having problems trying to configure
 this is the error

error: commlib error: access denied (client IP resolved to host name
"localhost". This is not identical to clients host name
"draco.cigb.edu.cu"

i follow all the steps :-( 


On Tue, 2005-09-06 at 15:24 -0400, Kris Kennaway wrote:
> On Tue, Sep 06, 2005 at 02:50:57PM -0400, Osmany Guirola Cruz wrote:
> > Hi people
> >  I am trying to install PBS in my 5.4-STABLE but the pbs port it's
> > broken ": Does not build." :-(..
> > i need a port that do the same jobr 
> 
> Try sge.
> 
> Kriserror: commlib error: access denied (client IP resolved to host name 
> "localhost". This is not identical to clients host name "draco.cigb.edu.cu"

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


Re: [OT] Life expectancy of powered down hard drives....

2005-09-06 Thread Roland Smith
On Tue, Sep 06, 2005 at 11:36:52PM +1000, Norberto Meijome wrote:

> I read somewhere (sorry, cant remember where) that hard drives fail if 
> not powered up every so often (not sure of time frames, but the 
> discussion was about tapes still being better for backups than hard 
> drives if planning for long term storage). It was also mentioned a 
> "knock on the centre of the drive" to bring it back to life (??).
> 
> How much truth is in this? I have EIDE drives that I havent used in 
> years and I just tested them and they work fine...but again, I've had an 
> instance of a new drive, used twice to backup some info and then left 
> untouched for 10 months, and it wouldn't even spin up...

When a disk spins down, the heads move to the landing zone, stop
floating on an air-cushion that forms when the platters are spinning and
come in contact with the platters.

So the disk platters are lubricated to prevent wear and tear during
stops/starts. Now in the past these lubricants used to become sticky
over time, preventing the drive from starting up. I'm not sure if it is
still a problem these days; my workstation is on 24/7.

> Does this affect SCSI drives? I suppose it would be more likely to 
> affect desktop-quality IDE / SATA drives...

The difference between SCSI and IDE is in the controller. The underlying
technology is the same. SCSI drives might be built to higher
specifications though.

The only real solution to the parking problem that I'm aware of is IBM's
load/unload technology. See
http://www.pcguide.com/ref/hdd/perf/qual/featuresHead-c.html

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpv6RQb8b3xN.pgp
Description: PGP signature


Re: pbs alternative

2005-09-06 Thread Kris Kennaway
On Tue, Sep 06, 2005 at 02:50:57PM -0400, Osmany Guirola Cruz wrote:
> Hi people
>  I am trying to install PBS in my 5.4-STABLE but the pbs port it's
> broken ": Does not build." :-(..
> i need a port that do the same jobr 

Try sge.

Kris


pgpv32ViUqalo.pgp
Description: PGP signature


Re: Compiling for the first time (more or less)

2005-09-06 Thread Giorgos Keramidas
On 2005-09-06 12:04, Derrill Guilbert <[EMAIL PROTECTED]> wrote:
> Up until now, I've been able to get by just using ports, and mostly
> just the magic "pkg_add -r" ...
>
> Now I'm trying to create a samba server that will join a Win2k
> domain. I managed to install Samba 3.12 using pkg_add -r samba3
> ... and at the very end I get a message saying that the ADS support is
> disabled by default, because it creates a kerberos dependency and (I
> thought it said) further that I'd have to compile my own.
>
> Ok, fine. I've got the source from samba.org ... where's the basic
> "roll your own" page in the handbook?

Nah, don't do it this way.  Our friendly Ports hackers have already
ported Samba3 with ADS support to FreeBSD.  All you need is to build
using the Ports:

1. Start by obtaining a /usr/ports tree, i.e. through CVSup.

2. Configure and install Samba3

tarja:/# cd /usr/ports/net/samba3
tarja:/usr/ports/net/samba3# make config

   (Make sure you enable ADS support at the configuration dialog that
   pops up when you type "make config".)

tarja:/usr/ports/net/samba3# make install

That should install Samba3 as a "port", instead of a precompiled "package"..

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


Re: What is DRM?

2005-09-06 Thread Roland Smith
On Tue, Sep 06, 2005 at 01:16:55PM +, T.J. Filipi wrote:
> Hi,
> I'm wading thru the section of kernel configuration & can't find an 
> explanation of the DRM options.  Since I have an AGP Radeon & see that 
> it has a device listed, I figure it might be important for me to know.  

DRM is the Direct Rendering Manager; a framewrk for allowing direct
access to the graphics hardware under the X Window System. It is mainly
used to make OpenGL 3D rendering faster.

> Also, I notice that the entry in NOTES puts quotes around the device 
> r128drm, but not any of the others.  Why is that?

Because it contains numbers.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpYXx0BSG5YU.pgp
Description: PGP signature


Compiling for the first time (more or less)

2005-09-06 Thread Derrill Guilbert
Up until now, I've been able to get by just using ports, and mostly just 
the magic "pkg_add -r" ...


Now I'm trying to create a samba server that will join a Win2k domain. I 
managed to install Samba 3.12 using pkg_add -r samba3 ... and at the 
very end I get a message saying that the ADS support is disabled by 
default, because it creates a kerberos dependency and (I thought it 
said) further that I'd have to compile my own.


Ok, fine. I've got the source from samba.org ... where's the basic "roll 
your own" page in the handbook? I'm probaby searching for the wrong 
thing or need to spend some time at the Sylvan learning center for my 
Being Stupid disability. Please, someone tell me where in the handbook 
or elsewhere to find the basics of how to reconfigure for and do the 
Make thing.


I was run through it once by a friend, but it was one of those "ok, vi 
[filename], search for [some string], change it to [some other string], 
save the file, run make, then make install" (I think) ... and it was 
long ago. So I suppose it will look kind of familiar when I find it, but 
I'd like to have something to read while I do it.


Or maybe I'm asking the wrong question? If you'd like to point me to the 
correct question, that would also be lovely.


Derrill

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


pbs alternative

2005-09-06 Thread Osmany Guirola Cruz
Hi people
 I am trying to install PBS in my 5.4-STABLE but the pbs port it's
broken ": Does not build." :-(..
i need a port that do the same jobr 
Thanks
osmany

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


SCSI + IDE together

2005-09-06 Thread Gayn Winters
What does it take to be able to use a mixture of SCSI and IDE (ATA)
disks?  I'd like to be able to copy (dd) one to another.   

I'd like to be able to boot off a floppy or CD to do the disk copy, but
booting off a third hard drive would suffice.  

I do have a couple disk cloning programs, but none seems to recognize a
SCSI disk and an IDE disk simultaneously.

TIA for any help!

-gayn

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


Re: FreeBSD v6

2005-09-06 Thread Kris Kennaway
On Tue, Sep 06, 2005 at 08:10:55AM -0400, Gerard Seibert wrote:
> I am attempting to find some information regarding the upcoming release
> of version 6 of FreeBSD. I want to find out what the differences between
> this version and version 5.x are. In addition, I wanted to see what, if
> any new features are being included in this new release.
> 
> I have not been able to find a definitive listing in regards to this
> release. Perhaps someone here can point me in the right direction.

Check the release notes, or for a truly complete list, the CVS change
logs on http://cvsweb.freebsd.org/

Kris


pgp9pziQzHb9K.pgp
Description: PGP signature


What is DRM?

2005-09-06 Thread T.J. Filipi

Hi,
I'm wading thru the section of kernel configuration & can't find an 
explanation of the DRM options.  Since I have an AGP Radeon & see that 
it has a device listed, I figure it might be important for me to know.  
Also, I notice that the entry in NOTES puts quotes around the device 
r128drm, but not any of the others.  Why is that?

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


Re: Large -X directory

2005-09-06 Thread Mike Hernandez
On 9/6/05, Robert Fitzpatrick <[EMAIL PROTECTED]> wrote:
> I have a directory, no idea where it came from called '-X' and it has
> consumed my entire /home partition, now 10GB. Given the name, I am
> finding it hard to remove, how can I remove this file? I've been doing a
> lot of backup script testing on that devel server, so I am assuming it
> came from a bad run at this point with the -X option of tar placed
> incorrectly.

Try rmdir -- -X

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


Re: Large -X directory

2005-09-06 Thread Giorgos Keramidas
On 2005-09-06 12:29, Robert Fitzpatrick <[EMAIL PROTECTED]> wrote:
> I have a directory, no idea where it came from called '-X' and it has
> consumed my entire /home partition, now 10GB. Given the name, I am
> finding it hard to remove, how can I remove this file? I've been doing a
> lot of backup script testing on that devel server, so I am assuming it
> came from a bad run at this point with the -X option of tar placed
> incorrectly.

See the "NOTE" section of the rm(1) manpage, please.  This is a FAQ.
Prepending ./ to the name

rm -r ./-X

should work fine.

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


Re: Large -X directory

2005-09-06 Thread Nick Evans
On Tue, 06 Sep 2005 12:29:56 -0400
Robert Fitzpatrick <[EMAIL PROTECTED]> wrote:

> I have a directory, no idea where it came from called '-X' and it has
> consumed my entire /home partition, now 10GB. Given the name, I am
> finding it hard to remove, how can I remove this file? I've been doing a
> lot of backup script testing on that devel server, so I am assuming it
> came from a bad run at this point with the -X option of tar placed
> incorrectly.
> 
> -- 
> Robert
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Try

rm -rf -- "-X"

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


Large -X directory

2005-09-06 Thread Robert Fitzpatrick
I have a directory, no idea where it came from called '-X' and it has
consumed my entire /home partition, now 10GB. Given the name, I am
finding it hard to remove, how can I remove this file? I've been doing a
lot of backup script testing on that devel server, so I am assuming it
came from a bad run at this point with the -X option of tar placed
incorrectly.

-- 
Robert

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


Re: (no subject)

2005-09-06 Thread Yuan Jue
On Thursday 01 September 2005 15:34, Yuan Jue wrote:
> im a student who study computer science and do an assignment about ur
> freeBSD operating system...can i get some information about file management
> of freeBSD? Hope ur can kindly help n send those details to methanks
> here!!! If can, please send to me as fast as possible...

maybe you could find all the information you need in here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html

Good luck :) 

-- 
Best Regards.

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


Re: Singlemode broken with USB keyboard

2005-09-06 Thread Benjamin Sobotta
On Tuesday 06 September 2005 17:55, Erik Norgaard wrote:
> Hi,
>
> I am upgrading a system FBSD 5.4 to 6.0. I had tried to install 6.0
> BETA2 but it failed because the USB keyboard was not found. The PC is a
> new Dell, it has no other connections for keyboard than USB so I can't
> just use a legacy keyboard.
>
> Now I downloaded the source, made world and kernel and installed kernel
> and was ready to go into single user mode and install world. But, the
> keyboard was not found and my only choice was to reboot.
>
> So, where do I go from here? Is there somehow I can configure single
> user mode? Or is it a safe to install world in multiuser mode?
>
> Thanks, Erik

Hi Erik!

If there is no other user besides you on the machine, close all programs and 
make installworld in multiuser. Worked many times for me. Should be okay.

Cheers,

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


Re: IPFW counters.

2005-09-06 Thread Glenn Dawson

At 05:54 AM 9/6/2005, Grant Peel wrote:

Hi all,

I am in the midst of setting up bandwidth monitoring for all my 
domains and IPs. To do this I will be using IPFW counter rules and ipa.


Question: I have about 250 domains on each box. to monitor all of 
them, I would need to set up over 500 counter rules, how well will 
ipfw and freebsd 4.10 and up) handle this?


I tried something like that a while back and while I could create the 
rules just fine, it proved to be very impractical with the amount of 
traffic I was dealing with. (around 20Mbits/sec)


I ended up using netgraph and ng_netflow(4) to export the data to 
another machine that processed all the data.


-Glenn



-GRant

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


Singlemode broken with USB keyboard

2005-09-06 Thread Erik Norgaard

Hi,

I am upgrading a system FBSD 5.4 to 6.0. I had tried to install 6.0 
BETA2 but it failed because the USB keyboard was not found. The PC is a 
new Dell, it has no other connections for keyboard than USB so I can't 
just use a legacy keyboard.


Now I downloaded the source, made world and kernel and installed kernel 
and was ready to go into single user mode and install world. But, the 
keyboard was not found and my only choice was to reboot.


So, where do I go from here? Is there somehow I can configure single 
user mode? Or is it a safe to install world in multiuser mode?


Thanks, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange case of filesystem corruption?

2005-09-06 Thread Mikhail Teterin
> Do you have back logs to when bgfsck was running, btw?

Yes, indeed. And there is stuff in them... The machine crashed
on July 21st at 00:20 (/var is troublesome fs):

Jul 21 00:20:37 blue kernel: WARNING: /var was not properly dismounted
Jul 21 00:20:37 blue kernel: /var: mount pending error: blocks 28 files 2
Jul 21 00:29:05 blue kernel: [EMAIL PROTECTED]:/var/obj/var/src/sys/SILVER
Jul 21 00:29:05 blue kernel: WARNING: /var was not properly dismounted
Jul 21 00:29:05 blue kernel: /var: mount pending error: blocks 28 files 2
Jul 21 00:32:21 blue fsck: /dev/da0s1d: UNREF FILE I=11559  OWNER=root 
MODE=100400
Jul 21 00:32:21 blue fsck: /dev/da0s1d: SIZE=12884902464 MTIME=Jul 21 00:22 
2005  (CLEARED)
Jul 21 00:32:21 blue fsck: /dev/da0s1d: UNREF FILE I=1413219  OWNER=root 
MODE=100600
Jul 21 00:32:21 blue fsck: /dev/da0s1d: SIZE=12288 MTIME=Jul 21 00:18 2005  
(CLEARED)
Jul 21 00:32:21 blue fsck: /dev/da0s1d: UNREF FILE I=1423432  OWNER=root 
MODE=100600
Jul 21 00:32:21 blue fsck: /dev/da0s1d: SIZE=12288 MTIME=Jul 21 00:22 2005  
(CLEARED)
Jul 21 00:32:21 blue fsck: /dev/da0s1d: UNREF FILE I=1423433  OWNER=root 
MODE=100600
Jul 21 00:32:21 blue fsck: /dev/da0s1d: SIZE=451 MTIME=Jul 21 00:22 2005  
(CLEARED)
Jul 21 00:32:21 blue fsck: /dev/da0s1d: Reclaimed: 0 directories, 4294967269 
files, -26 fragments
Jul 21 00:32:21 blue fsck: /dev/da0s1d: 495013 files, 4631802 used, 1461319 
free (59391 frags, 175241 blocks, 1.0% fragmentation)

So that was a successful fsck above (save for the negative number of
reclaimed fragments).

I am not sure, what caused the next reboot (crash or orderly reboot) at 1:17,
but this time fsck failed:

Jul 21 01:17:18 blue kernel: [EMAIL PROTECTED]:/var/obj/var/src/sys/SILVER
Jul 21 01:17:18 blue kernel: WARNING: /var was not properly dismounted
Jul 21 01:17:18 blue kernel: /var: mount pending error: blocks 44 files 12
Jul 21 01:20:30 blue fsck: /dev/da0s1d: INCORRECT BLOCK COUNT I=11599 (4 should 
be 0) (CORRECTED)
Jul 21 01:20:30 blue fsck: /dev/da0s1d: INCORRECT BLOCK COUNT I=34376 (4 should 
be 0) (CORRECTED)
Jul 21 01:20:30 blue fsck: /dev/da0s1d: SETTING DIRTY FLAG IN READ_ONLY MODE
Jul 21 01:20:30 blue fsck: 
Jul 21 01:20:30 blue fsck: /dev/da0s1d: UNEXPECTED SOFT UPDATE INCONSISTENCY; 
RUN fsck MANUALLY.

What is interesting is that my ports tree is also on this same fs and has
gone through numerous cvs updates and port builds (including large items
like mozilla and openoffice)...

Thanks!

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


Re: Repairing "kernel not found"

2005-09-06 Thread Giorgos Keramidas
On 2005-09-06 11:13, "Frederick N. Brier" <[EMAIL PROTECTED]> wrote:
> Giorgos Keramidas was kind enough to point me at the boot0cfg command
> and I had already tried the disklabel command, but my 5.4 system still
> won't boot.  The boot0cfg and disklabel commands executed fine, but it
> is still saying it can't find or load the kernel file despite it being
> in the correct directory on the correct slice.

You can interrupt the boot loader and at the OK prompt run "ls" to see
what the loader has mounted as the root partition.  Then, assuming that
you locate your kernel in ``/boot/kernel/kernel'', loading a specific
kernel can be done with:

OK set bootfile=/boot/kernel/kernel
OK set module_path=/boot/kernel
OK load kernel
OK boot

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


Re: Strange case of filesystem corruption?

2005-09-06 Thread Eric Anderson

Robert Watson wrote:

On Tue, 6 Sep 2005, Mikhail Teterin wrote:


On Tuesday 06 September 2005 06:51 am, Robert Watson wrote:
= Have you recently experienced a system crash or hard reboot without 
proper

= shutdown?

According to dmesg.boot, this filesystem was flagged as "not properly 
dismounted" back then. The machine's uptime is currently 47 days and 
no background fskcs are running, of course.


Yours analysis is, likely, correct then... I guess, the fix should be 
MFCed. (What about 6.0-release?) Thanks!



The change was made in HEAD before the 6.x branch, so it's currently in 
RELENG_6.  I fired off an e-mail to Kirk to ask about MFC'ing it to 
RELENG_5, and will do so once I hear back, assuming he thinks there is 
no reason not to.


Do you have back logs to when bgfsck was running, btw?  Normally it 
should correct this sort of thing, suggestion that bgfsck exited without 
correcting them, which is a little worrying.  You may want to boot to 
single user and fsck manually...


I thought that having background_fsck="NO" in your rc.conf would make 
the partition get mounted even though it is unclean, and no fsck's would 
happen (I use this 'feature' right now, since doing bgfsck on a 2TB 
partition takes about 2 hours just to make the snapshot, which means 
filesystem activity is suspended for that time).  If it was set to 
"YES", and bgfsck exited abnormally, I don't think it will get mounted 
automatically, so he would have had to manually mount it, correct? 
Mikhail, do any of those scenario's sound like a match?


Eric



--

Eric AndersonSr. Systems AdministratorCentaur Technology
Anything that works is better than anything that doesn't.

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


Repairing "kernel not found"

2005-09-06 Thread Frederick N. Brier
Giorgos Keramidas was kind enough to point me at the boot0cfg command 
and I had already tried the disklabel command, but my 5.4 system still 
won't boot.  The boot0cfg and disklabel commands executed fine, but it 
is still saying it can't find or load the kernel file despite it being 
in the correct directory on the correct slice.  Please point me to a 
howto or docs on how to repair an installation without wiping out all 
the files and packages I have already installed/loaded/configured on 
this system.  Thank you.


Frederick N. Brier

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


tape backup coredump

2005-09-06 Thread Michael Sherman
Good morning all.

I am having a problem with my tape drive, which gives me a coredump
when I try to "bsdtar" any directory. The gtar doesn't, however it
exits with an error message. I was wondering if anyone had similar
issues.

I am running 5.3 release, with the GENERIC kernel, only it was
recompiled with the following flags:

CPUTYPE?=p3
CFLAGS= -O -pipe

The SCSI card is Tekram, and the tape drive is Sony, the models can be
seen from the dmesg.

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE #0: Tue Sep  6 09:14:39 EDT 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (993.33-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  
Features=0x383fbff
real memory  = 268034048 (255 MB)
avail memory = 252620800 (240 MB)
ioapic0: Changing APIC ID to 1
ioapic0  irqs 0-23 on motherboard
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
agp0:  mem 0xf000-0xf3ff at
device 0.0 on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci1:  at device 0.0 (no driver attached)
pcib2:  at device 30.0 on pci0
pci2:  on pcib2
trm0:  port
0xec00-0xecff mem 0xfafff000-0xfaff irq 19 at device 10.0 on pci2
trm0: [GIANT-LOCKED]
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xe880-0xe8ff mem
0xfaffec00-0xfaffec7f irq 18 at device 12.0 on pci2
miibus0:  on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:b0:d0:a2:4a:60
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port
0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on
pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0:  port 0xff80-0xff9f irq 19
at device 31.2 on pci0
uhci0: [GIANT-LOCKED]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0:  at device 31.3 (no driver attached)
pcm0:  port 0xdc80-0xdcbf,0xd800-0xd8ff irq 17 at
device 31.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: 
fdc0:  port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0:  port 0x778-0x77f,0x378-0x37f irq 7 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
orm0:  at iomem 0xc9800-0xcbfff,0xc-0xc97ff on isa0
pmtimer0 on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter "TSC" frequency 993327947 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 76319MB  [155061/16/63] at ata0-master UDMA66
ad1: 76319MB  [155061/16/63] at ata0-slave UDMA66
acd0: CDRW  at ata1-master UDMA33
Waiting 15 seconds for SCSI devices to settle
sa0 at trm0 bus 0 target 6 lun 0
sa0:  Removable Sequential Access SCSI-2 device 
sa0: 10.000MB/s transfers (10.000MHz, offset 15)
Mounting root from ufs:/dev/ad0s1a
IP Filter: v3.4.35 initialized.  Default = pass all, Logging = enabled
pid 706 (bsdtar), uid 0: exited on signal 11 (core dumped)

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


6.0 DHCP question...

2005-09-06 Thread Mehrdad Arshad Rad
To renew ip address you should do the following 
first: dhclient -r interface   (release)
second: dhclient -1 interface  (try once to get a lease)

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


Re: freebsd-questions Digest, Vol 110, Issue 24

2005-09-06 Thread as2sb3100
I've installed FreeBSD to a 1gb usb drive, but getting it to boot is really the 
hard part.  The new dells at my work boot off the USB drive just fine, but the 
Gateways at my school (that did have a boot from usb option) seem to have a 
problem with it.  The Gateway BIOS must not have drivers, or something, Im not 
sure, but the Gateways would boot off my USB harddrive that had freebsd on it.  
If your getting to the boot loader though, it should work.  Are you booting 
from usb, or your hd?  And what kind of errors is it giving you?  I had some 
problems with it changing the device name, but that was when i was going from 
one computer to another.  Some computers have different usb devices/drivers and 
so it changes the device name, I don't know the exact details.  It's been a 
while since I did this.  When the boot loader trys to load the kernel, and then 
it trys to mount the filesystem (or the umm, something) it trys to look in 
da0s1, but it might change to something else.  When yo
 u copied / and /usr over to your usb drive, it also copied settings and stuff 
(not realy sure).  It might be trying to load the filesystem from da0s1 (mian 
hd) instead of da1s2 or something wierd like that.  Id try and actually install 
FreeBSD to your USB drive using a bootable FreeBSD cd.  I was surprised when it 
detected the USB drive.  You of course don't get the most updated version, but 
it will probably work a lot better.  Interestingly, Windows 2k will see a usb 
drive also, but of course it fails like it always does.  Hope this helps, or at 
least points you in the right direction.  For a better explanation of the 
booting process read 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot.html I'm sure 
that I messed it all up in the way I explained it.

Eric Stringer


> Message: 4
> Date: Mon, 5 Sep 2005 21:45:24 -0700
> From: Damon Blom <[EMAIL PROTECTED]>
> Subject: freebsd on memory card
> To: [EMAIL PROTECTED]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain;  charset="us-ascii"
> 
> Hi
>presario r3000 amd64 freebsd-current 7.0
>ad0: 76319MB Hitachi DK23FA-80
>da0 HP Digital drive 1.00 > Removable direct access SCSI -0 Device
>dual XP/FreeBSD with easy boot
>used sysinstall to configure da0 as entire freebsd
>   da0s1a  /tmp  390MB
>   da0s1d  /tmp/usr 600MB
>used gtar to transfer / to /mnt
> transfer /usr to /mnt/usr  (Cheat Sheet)
>usb bootable (bios) shows 
> F1 ?  (win)
> F2 Freebsd
> F5 Drive 1
>   But will not boot . I did same thing on desktop with a second hard drive
> and it booted fine. Is it because memory card is not really a hard drive?
> Any way to do it ? 
>Thank's
>   Damon
>   and thank's so much for freebsd (my whole life)
> 
> 
> --
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Weird print behaviour in Firefox/Mozilla/Thunderbird and FreeBSD 6.0

2005-09-06 Thread Chuck Swiger

O. Hartmann wrote:
I realize a weird printing behaviour of Thunderbird/Mozilla/Firefox. 
Whenever I try to print a page the software gets stuck and it takes 
several minutes before it come back to ask me for the printer. After 
clicking on the print button it takes again several minutes before the 
job gets printed.


Something is trying to perform a DNS lookup and timing out, most probably. 
Running a local caching-only nameserver like BIND might work around this.


--
-Chuck

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


Weird print behaviour in Firefox/Mozilla/Thunderbird and FreeBSD 6.0

2005-09-06 Thread O. Hartmann

Hello.

I realize a weird printing behaviour of Thunderbird/Mozilla/Firefox. 
Whenever I try to print a page the software gets stuck and it takes 
several minutes before it come back to ask me for the printer. After 
clicking on the print button it takes again several minutes before the 
job gets printed.


Watching the process via 'top' I can not recognize anything unspecific, 
but the process (either one of the above mentioned) remains in 'kserel'.


I realized this strange behaviour on another machine which is not 
attached to a network nor has a printer, but viewing the print-preface 
results in the same stuck behaviour.


Hope it is a simple, stupid misconfiguration or anything similar, but 
two different configs and environments produce the same "stuckness". 
printing on the specific machines is no problem (using lpd, not CUPS!).


In the past I had problems with CUPS, which gets partially installed 
when using GIMP print. How can I investigate whether the problem is 
related to a conflict between the traditional BSD lpd (which is used on 
all of our boexs) and CUPS?


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


Re: How should I partition 2 80 gig drives?

2005-09-06 Thread Jerry McAllister
> 
> I want to set up FreeBSD 5.4 Release to fully use 2 80 gig hard drives. 
> I'm not sure how I
> should set these up in disklabel editor. I just want to use this as a 
> general purpose machine.

General purpose can also mean many different things.
Do you mean a personal desktop or would that include serving
a web site or  include some database stuff or name service (DNS).
How about Email and virus checking and how about ftp and allowing
anonymous ftp.Will others be allowed to have accounts and log in.
Will you mostly use it from the 'console' eg keyboard, monitor and mouse
plugged directly in to the machine or over the net.   How about music
and video - are you planning to create you on personal video memoirs?
All of these things affect how you allocate resources as well as which 
software you install.

You didn't say how much memory your box has either.

But, with that much disk, as long as you don't plan to serve a large
database (but some moderate personal database such as names, books,
CDs & tapes, etc) or allow extra users that you isolate in some separate
space, a basic system with about 1 GB of memory might go like:

  (a) 512 MB   /  (root)
  2 GB swap
  (e) 512 MG   /tmp
  (f) 2 GB /usr  
  (g) 20 GB/var
  (g) remainder of disk 0 (about 50 GB) /home

  2 GB swap
  (e) remainder of disk 1 (about 70 GB) /work

Then move /usr/local to /home/usr.local and create a symlink
 move /usr/ports to /home/usr.ports and create a synlink
Also maybe
 move /var/spool to /home/var.spool and create a symlink
 move /var/mail to  /home/var.mail  and create a symlink
 move /var/log to   /home/var.log   and create a symlink

If 20 GB turns out to not be enough for your databases, then later
move some or all of /var/db  to /work/var.db  and create a synlink

The typical book and handbook examples of very tiny root and swap
and having /tmp inside /usr or whatever are out of date in a world
of many GB disks and GT 1 GB memory.On the other hand, you don't
really want to make root too giant and stick everything in there because 
it means that, if you need to recover from backups after a disaster, 
you would have to load and do everything on that giant root.  With
a reasonable sized root, you can rebuild it and get enough of the
system going to make it easy to finish recovering.   Also, having
a moderate sized root reduces the likelyhood, somewhat, that a 
disk error will pop up in your root partition and that makes a
potential recovery a little more possible.  

Actually, that last is true of all the file systems.   The model I show 
above shows putting only basic stuff in  smaller file systems and then
everything else in giant rest-of-the-disk file systems.  But, having more 
moderate sized divisions of disk means that you spread stuff out over 
more divisions and that means less stuff is affected when a disk error 
shows up in a particular division (partition).Of course, it also 
makes doing backups more complicated.So, you balance that.
  
jerry
> 
> thanks,
> Bob
> 
> ___
> 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: nForce4-SLI, AHCI and NCQ and FreeBSD 6.0

2005-09-06 Thread Malachi de Ælfweald
I have noticed the same thing with the onboard Silicon Image controller. I 
am using the A8N-SLI Premium. I am using the Silicon Image controller 
instead of the nForce4 controller because it specifically said SATAII and 
said it supported RAID5 (whereas the nForce did not support RAID5). However, 
on boot it recognizes it as SATA150 (which should be SATA300).

Malachi

On 9/6/05, O. Hartmann <[EMAIL PROTECTED]> wrote:
> 
> Hello.
> I have a little question about the popular nForce4-SLI chipset for the
> Socket 939 platform. The onboard SATA controller of the nForce4-SLI
> chipset claims to be NCQ (or SATA II) capable, but nVidia implemented
> this feature in a not-AHCI-standardised way, but as an own solution. My
> question is: Is the FBSD 6.X driver for the nForce4-SLI chipset capable
> of using NCQ (as I know, the driver has to enable NCQ and it's not done
> automatically by the harddrive-controller interaction).
> 
> Thanks in advance,
> Oliver
> ___
> 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: FreeBSD howto collection

2005-09-06 Thread Malachi de Ælfweald
You might also try www.defcon1.org 

On 9/5/05, Yance Kowara <[EMAIL PROTECTED]> wrote:
> 
> Dear all,
> 
> I am looking for a good article or collection of
> howtos or something similar to Ted's FreeBSD Corporate
> Networker's Guide.
> 
> A book similar to Carla Schroder's Linux Cookbook
> (http://proquest.safaribooksonline.com/?XmlId=0596006403)
> 
> is very nice and practical to follow.
> 
> I am given a task to design a small business network
> solution using FreeBSD. It needs a gateway, firewall,
> mail, proxy server, etc.
> 
> What is available (what I can find) are different
> howtos implemented in different situations.
> 
> Any pointers appreciated.
> 
> Regards,
> 
> 
> Yance Kowara
> 
> 
> 
> 
> __
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange case of filesystem corruption?

2005-09-06 Thread Robert Watson

On Tue, 6 Sep 2005, Mikhail Teterin wrote:


On Tuesday 06 September 2005 06:51 am, Robert Watson wrote:
= Have you recently experienced a system crash or hard reboot without proper
= shutdown?

According to dmesg.boot, this filesystem was flagged as "not properly 
dismounted" back then. The machine's uptime is currently 47 days and no 
background fskcs are running, of course.


Yours analysis is, likely, correct then... I guess, the fix should be 
MFCed. (What about 6.0-release?) Thanks!


The change was made in HEAD before the 6.x branch, so it's currently in 
RELENG_6.  I fired off an e-mail to Kirk to ask about MFC'ing it to 
RELENG_5, and will do so once I hear back, assuming he thinks there is no 
reason not to.


Do you have back logs to when bgfsck was running, btw?  Normally it should 
correct this sort of thing, suggestion that bgfsck exited without 
correcting them, which is a little worrying.  You may want to boot to 
single user and fsck manually...


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


Re: IPFW counters.

2005-09-06 Thread Norberto Meijome

Grant Peel wrote:

Hi all,


Hi Grant,

I am in the midst of setting up bandwidth monitoring for all my domains 
and IPs. To do this I will be using IPFW counter rules and ipa.


Question: I have about 250 domains on each box.


I assume you mean are hosting 250 websites for 250 different domains in 
each box.


to monitor all of them, 
I would need to set up over 500 counter rules, how well will ipfw and 
freebsd 4.10 and up) handle this?


are you actually using 250 IP address per box? (does seem a bit of a 
waste), unless they are 250 jails.


Or maybe ipfw understands layer 7 now, and I missed that release :)... 
(just curious on how you are setting this up if you only have a few IPs)


Cheers,
Beto


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


[OT] Life expectancy of powered down hard drives....

2005-09-06 Thread Norberto Meijome

hi all,
I know this doesn't relate to FBSD per se, but I figured i'd try to pick 
your brains :)


I read somewhere (sorry, cant remember where) that hard drives fail if 
not powered up every so often (not sure of time frames, but the 
discussion was about tapes still being better for backups than hard 
drives if planning for long term storage). It was also mentioned a 
"knock on the centre of the drive" to bring it back to life (??).


How much truth is in this? I have EIDE drives that I havent used in 
years and I just tested them and they work fine...but again, I've had an 
instance of a new drive, used twice to backup some info and then left 
untouched for 10 months, and it wouldn't even spin up...


Does this affect SCSI drives? I suppose it would be more likely to 
affect desktop-quality IDE / SATA drives...


Any insights will be much appreciated.

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


Re: Won't go into multi-user mode

2005-09-06 Thread Christopher H. Laco

Like it was any surprise, this was a stupid user trick.
When I install FBSD, I install bash and call bash in .cshrc for root, 
rather than changing the root shell in vipw. That way, if bash broaks, 
I'm still left with a root login that works.


Apparently, that is what was causing the mysql-server.sh script to never 
return completely, leaving me in single-user mode. Removing my call to 
bash from .cshrc fixed that problem.


On the lighter side, I had another problem that I solved at the same 
time as well. With ipfilter_enable and ipfilter_rules in rc.conf, ipf 
wasn't loading all of my rules in that file. ipfstat -io didn't output 
the same amount of rules that were in my rules file.


Calling ipf -Fav manually did the trick and ipfstat -io showed all of 
the expected rules.


Changing ipfilter_program/flags to include -Fav -f allowed all of my 
rules to be loaded at boot. This was the same rules file I used on the 
previouw 4-STABLE install.


Not sure if that was a change in IPF, or what, but at least it's fixed.

Thanks,
-=Chris


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Strange case of filesystem corruption?

2005-09-06 Thread Mikhail Teterin
On Tuesday 06 September 2005 06:51 am, Robert Watson wrote:
= Have you recently experienced a system crash or hard reboot without proper 
= shutdown?

According to dmesg.boot, this filesystem was flagged as "not properly
dismounted" back then. The machine's uptime is currently 47 days and
no background fskcs are running, of course.

Yours analysis is, likely, correct then... I guess, the fix should be
MFCed. (What about 6.0-release?) Thanks!

-mi

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


Re: boot problem - how can I access the file system

2005-09-06 Thread Norberto Meijome

Robert Fitzpatrick wrote:

I made a mistake to my /boot/loader.conf file and now the system hangs
after pressing F1 and before the boot options menu. How can I access the
file to edit it? I have the install CD, but can't seem to figure out how
to get to the file system.


Hi Robert,
I'd get FreesBie (live FreeBSD CD, like knoppix is to linux) from 
http://www.freesbie.org/ and use it. it's a fully working system in a CD 
so you wont have to fight with the restricted shells of fixit CDs,etc 
(which most of the times I've found to be more frustrating than the 
actual problem I'm trying to solve).


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


Re: Hard disk woes

2005-09-06 Thread Norberto Meijome

Michael Abbott wrote:


I still think the question: "why does FreeBSD hang?" is interesting.


indeed - no idea how Linux handles - win32 would probably BSOD (I had 
W2K servers BSOD because someone accidently powered down an external 
drive it was writing to. nasty).
anyway, i had a weird problem too, ad4 (SATA drive) got detached 
overnight - more details at:


http://lists.freebsd.org/pipermail/freebsd-questions/2005-September/097607.html

When I got to the console in the morning, the box was completelly frozen 
at the console, though I could access just fine via ssh.


Would anyone care to provide some explanation about this?

(After a couple of full scans with mhdd and no problems detected, I put 
the drive back into the server and it's been running ok since then. 
bloody weird.)


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


Re: Squid error?

2005-09-06 Thread Bryan Albright
On 09/06/05 at 05:07PM, Igor Robul wrote:
> Bryan Albright wrote:
> 
> >G'morning all--
> >
> >I've got a minor issue when I try to rotate my squid logs:
> >
> >%squid -k rotate
> >squid: ERROR: Could not send signal 30 to process 660: (1) Operation
> >not permitted
> > 
> >
> You are not working as root or user squid.

I appreciate the feedback, but yes, actually, I am:

% id
uid=0(root) gid=0(wheel) groups=0(wheel), 5(operator)

and the ID squid is not available for use:
% su - squid
This account is currently not available 

(which I believe is as it should be. (user squid was installed from
the port install)):
% grep squid /etc/passwd
squid:*:100:100:squid caching-proxy pseudo 
user:/usr/local/squid:/usr/sbin/nologin
% squid -k rotate
squid: ERROR: Could not send signal 30 to process 85847: (1) Operation not 
permitted
%  /usr/local/etc/rc.d/squid.sh stop
squid: ERROR: Could not send signal 15 to process 85847: (1) Operation not 
permitted
Waiting for PIDS: 85845 85847 85845 85847 85845 85847 85845 85847^C

I have to kill the PIDS by hand to restart squid.

Help?

Thanks!

Bryan

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


Re: Squid error?

2005-09-06 Thread Igor Robul

Bryan Albright wrote:


G'morning all--

I've got a minor issue when I try to rotate my squid logs:

%squid -k rotate
squid: ERROR: Could not send signal 30 to process 660: (1) Operation
not permitted
 


You are not working as root or user squid.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


IPFW counters.

2005-09-06 Thread Grant Peel

Hi all,

I am in the midst of setting up bandwidth monitoring for all my domains and 
IPs. To do this I will be using IPFW counter rules and ipa.


Question: I have about 250 domains on each box. to monitor all of them, I 
would need to set up over 500 counter rules, how well will ipfw and freebsd 
4.10 and up) handle this?


-GRant 



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


nForce4-SLI, AHCI and NCQ and FreeBSD 6.0

2005-09-06 Thread O. Hartmann

Hello.
I have a little question about the popular nForce4-SLI chipset for the 
Socket 939 platform. The onboard SATA controller of the nForce4-SLI 
chipset claims to be NCQ (or SATA II) capable, but nVidia implemented 
this feature in a not-AHCI-standardised way, but as an own solution. My 
question is: Is the FBSD 6.X driver for the nForce4-SLI chipset capable 
of using NCQ (as I know, the driver has to enable NCQ and it's not done 
automatically by the harddrive-controller interaction).


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


Re: removing file '-D'

2005-09-06 Thread Карамышев Степан
bash-2.05b$ pwd
/tmp
bash-2.05b$ echo > -D
bash-2.05b$ ls /tmp/-D 
/tmp/-D
bash-2.05b$ rm /tmp/\-\D
bash-2.05b$ ls /tmp/-D 
ls: /tmp/-D: No such file or directory

On Tue, 06 Sep 2005 12:43:49 +0200
Erik Norgaard <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> using dvrecv (dvts) with the documented -D option did not indicate the 
> desired device but rather created a file with the name -D. Now I can't 
> get rid of it, using csh, bash or sh:
> 
> Specifying:
> 
> $ rm -D
> rm: illegal option -- D
> $ rm "-D"
> rm: illegal option -- D
> $ rm '-D'
> rm: illegal option -- D
> $ rm \-D
> rm: illegal option -- D
> $ rm '\-D'
> rm: \-D: No such file or directory
> $ rm "\-D"
> rm: \-D: No such file or directory
> 
> any hints?
> 
> Thanks, Erik
> -- 
> Ph: +34.666334818  web: www.locolomo.org
> S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
> Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
> Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
> 
> ___
> 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]"


FreeBSD v6

2005-09-06 Thread Gerard Seibert
I am attempting to find some information regarding the upcoming release
of version 6 of FreeBSD. I want to find out what the differences between
this version and version 5.x are. In addition, I wanted to see what, if
any new features are being included in this new release.

I have not been able to find a definitive listing in regards to this
release. Perhaps someone here can point me in the right direction.


-- 
Gerard E. Seibert
[EMAIL PROTECTED]


If you wish to learn the highest truths, begin with the alphabet.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Won't go into multi-user mode

2005-09-06 Thread Alex Zbyslaw

Christopher H. Laco wrote:


Lowell Gilbert wrote:


Understood.  Nonetheless, this is not enough information from which to
diagnose the problem.



Enough or not, It's all there is.
I installed FBSD. I supped and built to stable.
Everthing boots and works fine.

I installed mysql4.0 from ports and multi-user mode is now never 
reached  during boot.


There are no errors in any logs on in any console output.
Disabling mysql-server.sh solves the problem and allows multi-user 
mode to be reached  during boot.


Assuming the script starts with "#!/bin/sh" then stick " -x" after it so 
that you can see what it is doing.


Does the script work from multi-user mode?

--Alex

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


solved: removing file '-D'

2005-09-06 Thread Erik Norgaard

Thanks both, problem solved. the "rm ./-D" worked.

Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange case of filesystem corruption?

2005-09-06 Thread Robert Watson


On Mon, 5 Sep 2005, Mikhail Teterin wrote:


Can this be explained by anything other than a (nasty) bug?

% ls -la audio/shorten/files
total 0
% rmdir audio/shorten/files
rmdir: audio/shorten/files: Directory not empty

This is on 5.4-stable from July 21 -- up ever since... Thanks!


Mikhail,

Have you recently experienced a system crash or hard reboot without proper 
shutdown?  I know of at least one case prior to 6.x where this can occur 
-- a bug I reported to Kirk relating to bgfsck.  Basically, soft update 
guarantees that upon reboot after failure (power or otherwise), the 
on-disk layout of UFS meta-data will be consistent, except with respect to 
reference and link counts, which may be elevated.  What bgfsck does is 
walk the file system to identify and correct the elevated counts.  Here's 
a specific example of such a problem:


  Directory A is created
Write A directory data  (., ..)
Write A directory inode (new inode)
Write A parent inode(link count++)
Write A parent data (add name)
  Directory B is created
Write B directory data  (., ..)
Write B directory inode (new inode)
Write A directory inode (link count++)
XXX
Write A directory data  (add name)
  Directory B is removed
Write A directory data  (remove name)
XXX
Write A directory inode (link count--)

Note that if the sequence of events his halted at either of the XXX's 
above, the inode link count on directory A will be elevated, even though 
the name for B has been removed from A.  Background fsck comes alone 
later, notices that the counts are elevated, and drops them.  However, 
until ufs_vnops.c:1.269, this caused a problem: because the link count was 
elevated, UFS assumed that the directory contained a reference to another 
directory, and would not let it be removed.  Once bgfsck catches up with 
the directory, it can be removed.


I've seen this symptom most frequently following a crash or a power outage 
during an rm -Rf of a /usr/obj, which I then immediately restart on 
reboot, and rm -Rf gets there before bgfsck does.  Here's the commit 
message for ufs_vnops.c:1.269, which should be MFC'd:


  revision 1.269
  date: 2005/05/18 22:18:21;  author: mckusick;  state: Exp;  lines: +2 -3
  Allow removal of empty directories with high link counts. These can
  occur on a filesystem running with soft updates after a crash and
  before a background fsck has been run. To prevent discrepancies
  from arising in a background fsck that may already be running,
  the directory is removed but its inode is not freed and is left
  with the residual reference count. When encountered by the
  background fsck it will be reclaimed.

I'll e-mail Kirk and ask if he's comfortable enough with the change to 
this point to merge it.


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


Re: removing file '-D'

2005-09-06 Thread [EMAIL PROTECTED]
On Tue, 06 Sep 2005 12:43:49 +0200
Erik Norgaard <[EMAIL PROTECTED]> wrote:

> using dvrecv (dvts) with the documented -D option did not indicate the 
> desired device but rather created a file with the name -D. Now I can't 
> get rid of it, using csh, bash or sh:
> 
> Specifying:
> 
> $ rm -D
> rm: illegal option -- D
> $ rm "-D"
> rm: illegal option -- D
> $ rm '-D'
> rm: illegal option -- D
> $ rm \-D
> rm: illegal option -- D
> $ rm '\-D'
> rm: \-D: No such file or directory
> $ rm "\-D"
> rm: \-D: No such file or directory

are you sure it's not " -D" (with space) ? 

i just created a file called -D and this removes it :
rm -- "-D"

(and you can also try midnight commander in those cases :)


-- 
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: removing file '-D'

2005-09-06 Thread Michael Abbott

$ rm -D
rm: illegal option -- D
$ rm "-D"
rm: illegal option -- D
$ rm '-D'
rm: illegal option -- D
$ rm \-D
rm: illegal option -- D
$ rm '\-D'
rm: \-D: No such file or directory
$ rm "\-D"
rm: \-D: No such file or directory

any hints?


Try either
$ rm ./-D
or
$ rm -- -D


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


removing file '-D'

2005-09-06 Thread Erik Norgaard

Hi,

using dvrecv (dvts) with the documented -D option did not indicate the 
desired device but rather created a file with the name -D. Now I can't 
get rid of it, using csh, bash or sh:


Specifying:

$ rm -D
rm: illegal option -- D
$ rm "-D"
rm: illegal option -- D
$ rm '-D'
rm: illegal option -- D
$ rm \-D
rm: illegal option -- D
$ rm '\-D'
rm: \-D: No such file or directory
$ rm "\-D"
rm: \-D: No such file or directory

any hints?

Thanks, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9

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


Re: pccard, wi0, wep and DHCP

2005-09-06 Thread Erik Norgaard

Uwe Laverenz wrote:

'ifconfig_wi0="DHCP"' this works and brings up wi0. Since my town is
crowded with wardrivers I would like to use wep. Because my wife often

You could add something like this to your /etc/dhclient.conf:

interface "wi0" {
media   "ssid  wepmode on wepkey ";
}


Which version of FBSD are you on? On 5.X you can add options to the 
dchlient.conf as described in the previous mail. Alternatively you can 
(IIRC) add options in rc.conf:


  ifconfig_wi0="ssid  wepmode on wepkey  DHCP"

This has the unfortunate effect that you can only configure for one network.

On 6.0 the old dhclient has been replaced by OpenBSD's dhclient and 
wpa_supplicant. In that case, including options in dhclient.conf won't work.


Instead you configure the wireless networks you know in wpa_supplicant.conf

Cheers, Erik

--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pccard, wi0, wep and DHCP

2005-09-06 Thread Uwe Laverenz
On Mon, Sep 05, 2005 at 11:34:55PM +0200, Maarten Sanders wrote:

> 'ifconfig_wi0="DHCP"' this works and brings up wi0. Since my town is
> crowded with wardrivers I would like to use wep. Because my wife often

It's better than nothing, but WEP wouldn't stop a serious wardriver
these days. :)

> /etc/start_if.wi0 is not interpretted and the WEP key is not set so
> dhclient fails.

You could add something like this to your /etc/dhclient.conf:

interface "wi0" {
media   "ssid  wepmode on wepkey ";
}

Uwe

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


Re: Strange case of filesystem corruption?

2005-09-06 Thread Steven Hartland

have u run fsck on the fs in question while unmounted?
- Original Message - 
From: "Mikhail Teterin" <[EMAIL PROTECTED]>




Can this be explained by anything other than a (nasty) bug?

% ls -la audio/shorten/files
total 0
% rmdir audio/shorten/files
rmdir: audio/shorten/files: Directory not empty

This is on 5.4-stable from July 21 -- up ever since... Thanks!




This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 


In the event of misdirection, illegible or incomplete transmission please 
telephone (023) 8024 3137
or return the E.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: WMP54G and Ndis

2005-09-06 Thread Fabian Keil
"Jeffrey Roach" <[EMAIL PROTECTED]> wrote:

> 5.4.  I haven't updated any beyond the initial install.

Does /usr/sbin/ndisgen exist on your system?
If it does use it, otherwise update to get it.
 
> 

Digital Video/Firewire: missing link?

2005-09-06 Thread Erik Norgaard



Hi,

After reading a lot of documentation it appeared that passing digital 
video would be easy, so I jumped in and bought a Canon MVX200.


Now I have a missing link: Connecting via firewire to get the raw video.

The camera has two modes: Play and Network, according to the manual 
network mode is for transfering DV via the firewire.


I have tried in both modes to connect and transfer data both using 
fwcontrol and the tools installed with dvts, but it fails:


fwcontrol:

charm# fwcontrol -R test.dv
(EAGAIN)
(EAGAIN)
fwcontrol: unknown format 0x2
charm# fwcontrol -R test.dv
fwcontrol: read failed: Input/output error

dvts tools:

charm# dvrecv
Found AV/C device
Vendor: Canon
Model: MVX200
total : -1 frames (0 Bytes)
charm# dvconnect
open video1394 device: No such file or directory
charm# dvconnect -d /dev/fw0
mmap videobuffer: Invalid argument
charm# dvconnect -d /dev/fw0.0
mmap videobuffer: Invalid argument
charm# dvconnect -d /dev/fwmem0
VIDEO1394_LISTEN_CHANNEL: Invalid argument
charm# dvconnect -d /dev/fwmem0.0
VIDEO1394_LISTEN_CHANNEL: Invalid argument
charm# dvconnect -d /dev/fw0

I have tried to toggle hw.firewire.try_bmr as described in fwcontrol(8) 
but with no change. fwcontrol -r does not change anything either.


What am I missing?

Further, changing mode or reconnecting have caused panics.

Thanks! Erik

System: FreeBSD 6.0-BETA3 #1: Sun Sep  4 20:05:40 CEST 2005

Kernel config:
device scbus   # SCSI bus (required for SCSI)
device da  # Direct Access (disks)
device pass# Passthrough device (direct SCSI access)
device firewire# FireWire bus code
device sbp # SCSI over FireWire (Requires scbus and da)
device fwe # Ethernet over FireWire (non-standard!)

dmesg:
fwohci0:  mem 0xe580-0xe58007ff irq 11 at device 10.2 
on pci0

fwohci0: [GIANT-LOCKED]
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:e0:18:00:03:09:43:39
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0:  on fwohci0
sbp0:  on firewire0
fwe0:  on firewire0
if_fwe0: Fake Ethernet address: 02:e0:18:09:43:39
fwe0: Ethernet address: 02:e0:18:09:43:39
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)

Attaching MVX200 in play or network mode:

fwohci0: BUS reset
fwohci0: node_id=0x8800ffc0, gen=2, non CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1, cable IRM = 0 (me)
firewire0: root node is not cycle master capable
firewire0: bus manager 0 (me)
fwohci0: txd err= 3 miss Ack err
firewire0: bus_explore node=1 addr=0x400 resp=22 retry=1
fwohci0: txd err= 3 miss Ack err
firewire0: bus_explore node=1 addr=0x400 resp=22 retry=2
fwohci0: txd err= 3 miss Ack err
firewire0: bus_explore node=1 addr=0x400 resp=22 retry=3
fwohci0: txd err= 3 miss Ack err
firewire0: bus_explore node=1 addr=0x400 resp=22 retry=4
firewire0: bus_explore failed for 1 nodes
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=3, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
fwohci0: BUS reset
fwohci0: node_id=0x8800ffc0, gen=4, non CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1, cable IRM = 1
firewire0: bus manager 0 (me)
firewire0: New S100 device ID:859e1a7e

--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9

--
This e-mail and the documents attached are confidential and intended solely
for the addressee; it may also be privileged. If you receive this e-mail
in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos Origin group
liability cannot be triggered for the message content. Although the
sender endeavours to maintain a computer virus-free network, the sender does
not warrant that this transmission is virus-free and will not be liable for
any damages resulting from any virus transmitted.

Este mensaje y los ficheros adjuntos pueden contener informacion
confidencial destinada solamente a la(s) persona(s) mencionadas
anteriormente. Pueden estar protegidos por secreto profesional Si usted
recibe este correo electronico por error, gracias de informar inmediatamente
al remitente y destruir el mensaje.
Al no estar asegurada la integridad de este mensaje sobre la red, Atos
Origin no se hace responsable por su contenido. Su contenido no constituye
ningun compromiso para el grupo Atos Origin, salvo ratificacion escrita por
ambas partes.
Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor
no puede garantizar nada al respecto y no sera 

Re: ls -l taking too much time

2005-09-06 Thread Pavel Baleshenko
Hello. I've the same problem on 5.3.
I think the problem occurs while file is being stat and passwd (uid to
name). Each file in /var/mail has its own owner. Try `ktrace ls -l` and look
the size of final dump file. May be its solution is in the tuning of the PAM
authorization.

> Hi all,
>
> It´s a FreeBSD 5.4-STABLE, on a P-IV(2.4GHz) with 120G IDE HDD
> (UFS2+softupdates), as one data partition (mail).
> The test was done in a non-production server.
> GENERIC kernel.
>
> A "ls -l" in a /var/mail folder with +6000 files (not maildir) is
> taking more then 2 min to complete.
> I compiled (static) "ls" from the GNU filetools-4.1 and it takes
> ~1 min.
> Observing the final behavior I can say that gnu has an
> "unbuffered" output, while fbsds is buffered.
> It was tested in two different machines.
> Is it right?
>
> - Marcelo
>
>
> ___
> 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]"