Re: 1 file system, 2 drives?

2010-07-27 Thread David Rawling

 On 27/07/2010 6:54 AM, John Almberg wrote:

John Almberg wrote:
If you have hardware controller with RAID capabilities, using native 
RAID is better, otherwise look towards gvinum or maybe ccd; see also: 
I've just been reading up on RAID in my Absolute FreeBSD book, and it 
occurs to me that my client has a SCSI RAID drive chassis that he is 
using stupidly...


It's a 14 bay drive, and he's currently got seven 32G drives stuck in 
it, configured with RAID-0. This is the original 200G drive I was 
talking about. It's a few years old.


Over the next few years, this guy is going to need lots of storage 
for his videos.


After a bit of reading, I'm wondering if the best idea might be to 
toss out those 32G drives and replace them with 3 big (say, 300G) 
drives configured with RAID-5. It sounds to me like a RAID-5 array 
can be expanded by adding new drives.


QUESTION: is expansion normally a matter of just plugging in a new 
drive? Is the new drive automatically grafted onto the old drives? Or 
do you have to go through a process like, backing up the data, 
plugging in the new drive, reformatting the expanded array of drives, 
and restoring the data.


I don't know the brand/model of the RAID drive chassis, but the 
client thinks it can be switched to use RAID 5. I'm waiting for the 
technical details, but assuming it can handle RAID-5 for now.

Answering my own question...

So its a HP 6402 / 128 RAID controller. From a quick skim of the 
manual, it looks like the controller has to go through an 'expansion' 
process when adding a new drive. This sounds time consuming, but more 
or less automatic -- i.e., handled by the controller.


Sounds like this might be the best way to go.
It's been a while since I dealt with HP SCSI RAID, but ISTR that you'd 
need to install and configure the 3 disks as a RAID 5 set, copy the data 
from the 7x36GB array to the new array, (using a temporary mount point, 
generally, and dump | restore) switch the mount points across so that 
the /videos tree is the new copy, then remove the RAID0 set from the 
controller.


You may or may not find that the RAID controller changes LUN IDs after a 
cold start too, so LUN 1 (new RAID 5) suddenly becomes LUN 0 on the cold 
start after the old RAID set is decommissioned and pulled. This is often 
accompanied by a heart attack on the part of the person restarting the 
server.


After that, though, expansion is a cinch - but it will be quite slow 
since it needs to read and write the entire content of all disks. I'd 
therefore go as many spindles as you can - 3 disks, 5 disks and 9 disks 
are what I recall as being optimal groups for RAID 5.


Also consider that you can supplement the RAIDs with the BSD tools 
previously mentioned. Today is 3 x 300GB. Tomorrow add another 3 x 300 
(assuming IOPS is OK) and concatenate them to be a 1.8TB disk - 2D+P + 
2D+P.


Dave.

--
David Rawling
PD Consulting And Security
Mob: +61 412 135 513
Email: d...@pdconsec.net

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


Re: 1 file system, 2 drives?

2010-07-27 Thread krad
On 26 July 2010 20:05, Chuck Swiger cswi...@mac.com wrote:

 Hi, John--

 On Jul 26, 2010, at 11:55 AM, John Almberg wrote:
  I know this is probably impossible, but FreeBSD can do so many miraculous
 things, that I can't help asking...
 
  Is it possible to use the second drive to 'expand' the /videos file
 system? So it would miraculously look like a single 400G drive?

 The canonical way of doing this is to either create a RAID-0 concat or
 stripe volume.  Using RAID-0 striping is preferred due to performance, but
 you'd need to backup, reformat using a RAID-0 stripe, and then restore your
 data onto the new volume.  In theory, setting up a concat is less intrusive,
 but if the data is already mounted and in use, you'll probably still need to
 unmount it first.

 If you have hardware controller with RAID capabilities, using native RAID
 is better, otherwise look towards gvinum or maybe ccd; see also:

  http://www.freebsd.org/doc/en/books/handbook/raid.html

 Regards,
 --
 -Chuck

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


I dont agree that hardware raid is necessarily better. It really depends on
what the system is doing. If for example it is purely acting as a filer I
would always use software raid. The main reason for this is that you benefit
from the faster CPU, and more intelligent raid software (zfs). You are also
not tied to a particular hardware platform which makes future upgrades
easier.

If however the system is doing lots of other things and you dont want the
overhead of a software raid solution, it makes  sense to offload it to a
hardware solution
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: BSD logo

2010-07-27 Thread Bulk
On Mon, Jul 26, 2010 at 06:20:48PM -0600, Chad Perrin typed:
 
 You're a self-righteous git, and probably personally offended by the
 appearance of an attack on Christianity (which is never what was
 intended, nor even what happened, at least in the case of the specific
 email to which you replied).  Try stepping back, reading more closely,
 and responding to what was *actually* said.

But in my honest opinion, all religion is evil.
That's why I like beasty :D

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


Intel PCI-E 4965AGN wireless iwn(4) isn't detected on Compaq 6715s laptop - USB bus?

2010-07-27 Thread Anton Shterenlikht
Hi

I've HP Compaq 6715s laptop. I'm trying
to get wireless working. The laptop has
Intel 4965 4965AGN wireless WiFi PCI-E card 802.11N AGN
which is supported by iwn(4). I compiled iwn support
into the kernel as suggested by the man page.

However, the card doesn't appear in dmesg or
in pciconf -lv.

The laptop has a wireless toggle button, which is supposed
to enable/disable wireless. There is also an LED, which
lights on when wireless is enabled, and goes off
when wireless is off. Well, at least this is what
should happen.

On boot the LED is on.

If I press the button to disable wireless, the LED goes
off and in dmesg I see:

ugen0.2: Broadcom Corp at usbus0 (disconnected)

When I switch wireless back on again I see in dmesg:

ugen0.2: Broadcom Corp at usbus0

Does this mean that wireless sits on USB bus?

Does this give me a clue about how to debug
the problem further?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I donot like using mergemaster ?

2010-07-27 Thread b. f.
On Monday 26 July 2010, zaxis wrote:
 I want to upgrade my freebsd 8.0  to 8.1.  I have read all the steps
 about upgrading freebsd. I feel mergemaster  is difficult to use e.g.
 which parameters should i use ?   (you may wish to use -U or -ai or
 -Fi)

Well, obviously you will get more out of mergemaster if you read the
manpage and take the time to decide which options will work best for
you.  But if you can't be bothered to do that, the suggested usage in
/usr/src/UPDATING works for most people.  Also, there is an
alternative to mergemaster that is supposed to be easier to use in
some ways: John Baldwin's new port, sysutils/etcupdate.  You may want
to take a look at that.


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


ports INDEX file layout?

2010-07-27 Thread Aiza

Where can I find the description of the /usr/ports/INDEX-8 file?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: apps update from ports

2010-07-27 Thread Paul Macdonald



I was wondering about your update strategy. Do you update your apps as soon
as a new version is available in the ports ? Or do you follow the if it
works, don't touch it strategy ?

I'm guessing portupgrade is your preferred way of doing this hence, do you
also choose -P or -PP ?


I update mine regularly, pretty much as they come out.

On occassion you will find that bugs are found with updates and that a 
new version will be bumped a day or so later, but someone has to find 
the bugs!


I use portmaster on some machines, portupgrade on most.

Doug Barton recently added extra logging to portmaster which now enables 
audit tracing so you can log what was updated when,  portupgrade has a 
switch to log to a file but there's not as much detail and no datestamps.


Paul.

--
-
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-
t: 0131 5548070
m: 07534206249
e: p...@ifdnrg.com
w: http://www.ifdnrg.com
-
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
-

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


Re: apps update from ports

2010-07-27 Thread b. f.
I was wondering about your update strategy. Do you update your apps as soon
as a new version is available in the ports ? Or do you follow the if it
works, don't touch it strategy ?


There is no one strategy that pleases everyone.  You'll have to
consider the time required  to perform updates (including some time
for configuring and learning how to use the new software, and for
recovering from occasional problems), and weigh that against the
benefits (if any) of having new software.  Some people prefer to use
the latest software, and others may use a snapshot of the ports tree
that coincides with a stable release, updating only those ports with
known critical security problems in between releases.  Sometimes, you
may wish to make this decision on a port-by-port basis.

I'm guessing portupgrade is your preferred way of doing this hence, do you
also choose -P or -PP ?

If you don't need to build from source, in order to use non-default
options or flags, or get the very latest versions of the port, then
packages are a good choice.  In addition to portupgrade, the
comparatively lightweight ports-mgmt/portmaster port also has this
functionality.

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


Re: I donot like using mergemaster ?

2010-07-27 Thread krad
On 27 July 2010 11:09, b. f. bf1...@googlemail.com wrote:

 On Monday 26 July 2010, zaxis wrote:
  I want to upgrade my freebsd 8.0  to 8.1.  I have read all the steps
  about upgrading freebsd. I feel mergemaster  is difficult to use e.g.
  which parameters should i use ?   (you may wish to use -U or -ai or
  -Fi)

 Well, obviously you will get more out of mergemaster if you read the
 manpage and take the time to decide which options will work best for
 you.  But if you can't be bothered to do that, the suggested usage in
 /usr/src/UPDATING works for most people.  Also, there is an
 alternative to mergemaster that is supposed to be easier to use in
 some ways: John Baldwin's new port, sysutils/etcupdate.  You may want
 to take a look at that.


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



here is my mergemaster config. Modify the ignore files to suite your needs
then just run mergemaster without any switches. Its not perfect but works
for me fine.

# cat /etc/mergemaster.rc
AUTO_INSTALL=YES
AUTO_UPGRADE=YES
PRESERVE_FILES=yes
PRESERVE_FILES_DIR=/var/mergemaster/preserved-files-`date +%y%m%d-%H%M%S`

IGNORE_FILES=/etc/crontab /etc/fstab /etc/group /etc/hosts /etc/inetd.conf
/etc/make.conf /etc/master.passwd /etc/motd /etc/newsyslog.conf
/etc/ntp.conf /etc/ntp.drift /etc/profile /etc/rc.conf /etc/resolv.conf
/etc/services /etc/shells /etc/syslog.conf /etc/ssh/sshd_config
/etc/ssh/ssh_host_key /etc/ssh/ssh_host_key.pub /etc/ssh/ssh_host_rsa_key
/etc/ssh/ssh_host_rsa_key.pub /etc/passwd /etc/rc.conf.local
/etc/zfs/exports /etc//namedb/named.conf /etc/periodic.conf /etc/hosts.allow
/etc/hosts /etc/pf.conf /etc/sysctl.conf /etc/make.conf /etc/src.conf
/etc/mail/aliases /etc/mail/mailer.conf /etc/remote
/etc/mail/freebsd.mc/etc/mail/
freebsd.cf /etc/mail/freebsd.submit.mc /etc/mail/freebsd.submit.cf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: BSD logo

2010-07-27 Thread FBSD UG

On 27 jul 2010, at 11:10, Bulk wrote:

 On Mon, Jul 26, 2010 at 06:20:48PM -0600, Chad Perrin typed:
 
 You're a self-righteous git, and probably personally offended by the
 appearance of an attack on Christianity (which is never what was
 intended, nor even what happened, at least in the case of the specific
 email to which you replied).  Try stepping back, reading more closely,
 and responding to what was *actually* said.
 
 But in my honest opinion, all religion is evil.
 That's why I like beasty :D
 

lol yeah and FreeBSD means
'Free Beelzebub, Satan, Devil'

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


Re: I donot like using mergemaster ?

2010-07-27 Thread Frank Shute
On Mon, Jul 26, 2010 at 06:18:22PM -0700, zaxis wrote:

 
 that's great ! I will use /etc/mergemaster.rc to upgrade my FB 8.0.
 

You might also want to put this line in mergemaster.rc:

DIFF_OPTIONS='-I$FreeBSD:.*[$]'

That makes mergemaster ignore changes in the CVS tags.

With a good rc and a basic understanding of vi, you should be in good
shape to make progress.

I hated mergemaster when I first started using it but I love it now!

Now I have to learn to love the mergemaster that freebsd-update
uses...

Anybody know how to make it ignore CVS tags?


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html


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


Firewire RAM access

2010-07-27 Thread EforeZZ
Hi,

I was playing around with fwcontrol and its -m switch.
I connected my FreeBSD 7.2 notebook to Win7 PC Via firewire and
attempted to access Win7's RAM through the /dev/fwmem interface. I
failed.


5 r...@purevil:ttyv0 ~ 15:11:24  fwcontrol
2 devices (info_len=2)
node   EUI64  statushostname
   0  00-1d-72-ff-ff-c5-6b-71  0
  -1  00-1e-8c-00-01-7b-f5-38  0


Then I plugged in the cable:


fwohci0: BUS reset
fwohci0: node_id=0xc000ffc1, gen=8, CYCLEMASTER mode
firewire0: 2 nodes, maxhop = 1, cable IRM = 1 (me)
firewire0: bus manager 1 (me)

5 r...@purevil:ttyv0 ~ 15:11:46  fwcontrol
2 devices (info_len=2)
node   EUI64  statushostname
   1  00-1d-72-ff-ff-c5-6b-71  0
   0  00-1e-8c-00-01-7b-f5-38  1
5 r...@purevil:ttyv0 ~ 15:11:49  fwcontrol -m 00-1e-8c-00-01-7b-f5-38
0 r...@purevil:ttyv0 ~ 15:12:00  ll /dev/fwmem*
lrwxr-xr-x  1 root  wheel8 27 Jul 14:56 /dev/fwmem0 - fwmem0.0
crw-rw  1 root  operator0,  53 27 Jul 14:56 /dev/fwmem0.0
0 r...@purevil:ttyv0 ~ 15:12:04  more /dev/fwmem0
read error  (press RETURN)


The question is.. Should this always work? As far as I know I should
be able to access other PC's RAM through the firewire connection
without any support from the connected PC's OS, right?

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


Re: I donot like using mergemaster ?

2010-07-27 Thread krad
On 27 July 2010 13:31, Frank Shute fr...@shute.org.uk wrote:

 On Mon, Jul 26, 2010 at 06:18:22PM -0700, zaxis wrote:
 
 
  that's great ! I will use /etc/mergemaster.rc to upgrade my FB 8.0.
 

 You might also want to put this line in mergemaster.rc:

 DIFF_OPTIONS='-I$FreeBSD:.*[$]'

 That makes mergemaster ignore changes in the CVS tags.

 With a good rc and a basic understanding of vi, you should be in good
 shape to make progress.

 I hated mergemaster when I first started using it but I love it now!

 Now I have to learn to love the mergemaster that freebsd-update
 uses...

 Anybody know how to make it ignore CVS tags?


 Regards,

 --

  Frank

  Contact info: http://www.shute.org.uk/misc/contact.html


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


Personally I wouldn't touch the update tool. I like to stick to the tried
and tested cvsup, and make world method ive used for over 10 years
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Upgrade 6.4-stable to 7.3

2010-07-27 Thread Michael Doyle
I would like to upgrade a server that is currently running version 6.4  
up to version 7.3
Having looked at /usr/src/UPDATING on a 7.3 machine, I don't see any  
major problems flagged.


Given that I have console access to this machine, and I want to  
preserve the user directories (it's our mail server)

would I be better off doing a source upgrade or a binary upgrade?

In the past, I've usually done a wipe-and-reinstall when moving  
between major version numbers

but I would rather avoid that this time around.

Also, would people recommend staying with version 7.3 or jumping all  
the way to version 8.1 ?



Output of dmesg below:
FreeBSD 6.4-STABLE #16: Mon Jul 26 22:41:28 IST 2010
r...@mail.cooperationireland.org:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: DELL   PE830   
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2800.11-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf41  Stepping = 1
   
Features 
= 
0xbfebfbff 
 
FPU 
,VME 
,DE 
,PSE 
,TSC 
,MSR 
,PAE 
,MCE 
,CX8 
,APIC 
,SEP 
,MTRR 
,PGE 
,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE

  Features2=0x641dSSE3,RSVD2,MON,DS_CPL,CNXT-ID,CX16,xTPR
  AMD Features=0x2010NX,LM
  Logical CPUs per core: 2
real memory  = 1073479680 (1023 MB)
avail memory = 1037283328 (989 MB)
ioapic0: Changing APIC ID to 2
ioapic1: Changing APIC ID to 3
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 32-55 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413,  
RF5413)

hptrr: HPT RocketRAID controller driver v1.1 (Jul 26 2010 22:41:10)
acpi0: DELL PE830 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
acpi_hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff  
on acpi0

Timecounter HPET frequency 14318180 Hz quality 900
cpu0: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 28.0 on pci0
pci2: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge at device 0.0 on pci2
pci3: ACPI PCI bus on pcib3
pcib4: ACPI PCI-PCI bridge at device 28.4 on pci0
pci4: ACPI PCI bus on pcib4
bge0: Broadcom BCM5750 B1, ASIC rev. 0x4101 mem  
0xfe8f-0xfe8f irq 16 at device 0.0 on pci4

miibus0: MII bus on bge0
brgphy0: BCM5750 10/100/1000baseTX PHY on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,  
1000baseT-FDX, auto

bge0: Ethernet address: 00:12:3f:2a:1a:ee
pcib5: ACPI PCI-PCI bridge at device 28.5 on pci0
pci5: ACPI PCI bus on pcib5
uhci0: UHCI (generic) USB controller port 0xcce0-0xccff irq 20 at  
device 29.0 on pci0

uhci0: [GIANT-LOCKED]
usb0: UHCI (generic) USB controller 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: UHCI (generic) USB controller port 0xccc0-0xccdf irq 21 at  
device 29.1 on pci0

uhci1: [GIANT-LOCKED]
usb1: UHCI (generic) USB controller 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: UHCI (generic) USB controller port 0xcca0-0xccbf irq 22 at  
device 29.2 on pci0

uhci2: [GIANT-LOCKED]
usb2: UHCI (generic) USB controller 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
ehci0: Intel 82801GB/R (ICH7) USB 2.0 controller mem  
0xfeb00400-0xfeb007ff irq 20 at device 29.7 on pci0

ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: wrong number of companions (7 != 3)
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: Intel 82801GB/R (ICH7) USB 2.0 controller on ehci0
usb3: USB revision 2.0
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
pcib6: ACPI PCI-PCI bridge at device 30.0 on pci0
pci6: ACPI PCI bus on pcib6
pci6: display, VGA at device 5.0 (no driver attached)
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH7 UDMA100 controller port  
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0

ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
atapci1: Intel ICH7 SATA300 controller port 0xcc98-0xcc9f, 
0xcc90-0xcc93,0xcc80-0xcc87,0xcc78-0xcc7b,0xcc60-0xcc6f mem  
0xfeb0-0xfeb003ff irq 20 at device 31.2 on pci0

ata2: ATA channel 0 on atapci1
ata3: ATA channel 1 on atapci1
pci0: serial bus, SMBus at device 31.3 (no driver attached)
fdc0: floppy drive controller port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on  
acpi0

fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: 

Re: What's the meaning of this warn?

2010-07-27 Thread Lowell Gilbert
Jason lisen1...@gmail.com writes:

 HI,ALL:

 My freebsd server offer service to thousands of clients.
 I found lots of warning in the /var/log/message like this :Approaching
 the limit on PV entries, consider increasing either the
 vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable

 My question is :
 1.what is the meaning of PV?

Physical-to-Virtual mappings.

 2.Although there are lots of this warning,my server works still well.
 Could someone explain the meaning of this warning ?

With thousands of people running the same programs, there will be a lot
of mappings for the memory pages containing the programs themselves, the
libraries they use, and so on.  As long as you're not running out of
memory in general, you might get better performance by having more
pv_entry structures available in the system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: popt-1.50 or better??

2010-07-27 Thread b. f.
On Sat, Jul 24, 2010 at 10:53:03PM +, b. f. wrote:
 here are the last few lines of output from configure, ots-0.5.0:
 
 checking for pkg-config... /usr/X11R6/bin/pkg-config
 checking for glib-2.0 = 2.0 libxml-2.0 = 2.4.23... yes
 checking OTS_CFLAGS... -I/usr/local/include/glib-2.0
 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2
 -I/usr/local/include
 checking OTS_LIBS... -L/usr/local/lib -lglib-2.0 -lxml2
 checking for poptParseArgvString in -lpopt... no
 configure: error: popt 1.5 or newer is required to build ots.
 You can download the latest version from
 ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/


 poptParseArgvString is in the $PREFIX/lib/libpopt.so.0 library from
 our devel/popt port. The latest available version of this software is
 1.16, in the Red Hat repos.  Look at the configure script to determine
 why it can't find the symbol. Maybe you need to reinstall devel/popt,
 or patch the configure script.



can anybody tell me how to upgrade just this one file:
   devel/popt?  i tried various forms up portupgrade.  zip.

I'm at a loss here.  First of all, you mean upgrade this port,
right?  Because devel/popt is a port, not a file.  If you have an old
version of devel/popt, it would seem that any of the standard updating
tools would work.  If you just want to reinstall it, you could simply:

cd /usr/ports/devel/popt  make deinstall clean install  make clean

Then you could check your libpopt.so.0:

ldconfig -vr | fgrep popt
objdump -T /usr/local/lib/libpopt.so.0 | fgrep poptParseArgvString

Of course, I've assumed that PREFIX=LOCALBASE=/usr/local and
PORTSDIR=/usr/ports.  Make the proper substitutions if they aren't.

I don't see any error logs or an IGNORE for textproc/ots, so I'm
assuming that it builds properly on the package-building cluster.  If
that's the case, then there is something wrong with _your_ build: a
corrupted file, polluted environment, error after autodetection, etc.
But we won't know what is wrong until you show the corresponding part
of the configure script and errors in the config.log.

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


Re: ports INDEX file layout?

2010-07-27 Thread Lowell Gilbert
Aiza aiz...@comclark.com writes:

 Where can I find the description of the /usr/ports/INDEX-8 file?

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


Re: 1 file system, 2 drives?

2010-07-27 Thread Michael Powell
krad wrote:
[snip]

 If you have hardware controller with RAID capabilities, using native RAID
 is better, otherwise look towards gvinum or maybe ccd; see also:

  http://www.freebsd.org/doc/en/books/handbook/raid.html

[snip]
 
 I dont agree that hardware raid is necessarily better. It really depends
 on what the system is doing. If for example it is purely acting as a filer
 I would always use software raid. The main reason for this is that you
 benefit from the faster CPU, and more intelligent raid software (zfs). You
 are also not tied to a particular hardware platform which makes future
 upgrades easier.

In the bad old days (early) days hardware RAID was clearly better. This is 
not as true today as CPUs have scaled. The 3GHz plus quad cores of today 
have cycles to spare and can actually make software RAID faster in many 
situations. The questionable area would be RAID 5 and 6. The XOR processing 
done in the hardware controller is expensive, and hardware RAID is still 
probably a better way to go here.

Other features such as hot swap, hot spare, scrubbing, and 
maintenance/monitoring utilities will be easier to find in the hardware RAID 
controller.
 
 If however the system is doing lots of other things and you dont want the
 overhead of a software raid solution, it makes  sense to offload it to a
 hardware solution

Very expensive controllers are expensive because the processor on the card 
has more horsepower, which typically shows up in IO/s numbers as well as 
throughput as multi-thread queue depths rise.

It is a shame to need to spend serious money on these cards just to get the 
inherent raw processor power even though you may turn off the RAID 
functionality and instead use ZFS and raidz. There is still a performance 
advantage to be seen because of the higher processing power available from a 
controller processor that has bigger umphh.

-Mike


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


Re: OpenOffice 3.2.1 in FreeBSD 8.1

2010-07-27 Thread Jack L.
I'll see about compiling binaries with certain configurations ;) Need
to add a few more hard drives to my mirrors to accomodate this!

On Mon, Jul 26, 2010 at 4:05 PM, Polytropon free...@edvax.de wrote:
 On Mon, 26 Jul 2010 13:00:46 -0500, Andrew Gould andrewlylego...@gmail.com 
 wrote:
 Compiling OpenOffice is not a practical option for many of us due to
 hardware restraints.

 I'm glad to see that there's a compiled binary somewhere!

 Additionally, there's also the problem of the various configurational
 items for the OpenOffice building process: if to use CUPS or not,
 if to include Gnome-VFS support, KDE support, Mozilla support,
 and the localized language (which does not even include dictionaries
 for that language)...

 The times where pkg_add -r de-openoffice.org would give you,
 for example, an OpenOffice in german language (WITH dictionaries!)
 within a few minutes are over. :-(




 --
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: Upgrade 6.4-stable to 7.3

2010-07-27 Thread Erik Trulsson
On Tue, Jul 27, 2010 at 03:02:48PM +0100, Michael Doyle wrote:
 I would like to upgrade a server that is currently running version 6.4  
 up to version 7.3
 Having looked at /usr/src/UPDATING on a 7.3 machine, I don't see any  
 major problems flagged.
 
 Given that I have console access to this machine, and I want to  
 preserve the user directories (it's our mail server)
 would I be better off doing a source upgrade or a binary upgrade?

Since you are running 6.4-STABLE, I think you will have to do a source
upgrade. AFAIK binary upgrades are only supported when going from one
-RELEASE to another (so 6.4-RELEASE to 7.3-RELEASE should be possible
with a binary upgrade, 6.4-STABLE to 7.3-RELEASE would not.)


 
 In the past, I've usually done a wipe-and-reinstall when moving  
 between major version numbers
 but I would rather avoid that this time around.
 
 Also, would people recommend staying with version 7.3 or jumping all  
 the way to version 8.1 ?

Unless you have some specific reason to use 7.3 you might as well go
all the way up to 8.1. You should probably do it in two steps though - 
first from 6.4 to 7.3 and then from 7.3 to 8.1

Just remember to make good backups first, just in case something goes
wrong.  (There should not be any serious problems involved - the source
upgrades I have done from 6.x to 7.x and later from 7.x to 8.x were
fairly uneventful - but you never know what might happen.)


-- 
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OpenOffice 3.2.1 in FreeBSD 8.1

2010-07-27 Thread Jack L.
On Mon, Jul 26, 2010 at 10:25 AM, Antonio Vieiro
anto...@antonioshome.net wrote:
 Hi all,

 For those trying to test OpenOffice 3.2.1 in FreeBSD 8.1-RELEASE (no
 official package yet):

 This:
 ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/3.2.1/i386/OOo_3.2.1_FreeBSD81Intel_install_es.tbz

 From
 ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/3.2.1/i386/

 is working for me.


Those are the official packages ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: BSD logo

2010-07-27 Thread Andy Balholm
Chad Perrin wrote:
 Andy Balholm wrote:
 although the UNIX term daemon is not satanic in origin, some aspects
 of Beastie's appearance are obviously derived from traditional
 depictions of the Devil. 
 
 Really?  Are you sure they weren't derived from something else -- perhaps
 a source in common for the traditional depictions of the devil?  There
 may be a common source for both, rather than one being the source of the
 other.  Correlation does not imply causation.  Did you ask the original
 Beastie artist for confirmation that he was consciously emulating images
 of the Christian devil, or did you just jump to a conclusion like the OP?

I jumped to a conclusion, but I'll stand by it until someone shows me the 
ancient common source. I don't recall anything that looks much like Beastie in 
Greek art.

When someone in the modern western culture decides to draw a daemon and it 
comes out looking like a demon, the most plausible explanation is that he was 
influenced—consciously or unconsciously—by this culture's traditional way of 
depicting demons. In fact, not being influenced by that tradition would take a 
conscious effort. So I find that far more likely than an obscure common source.

Note that I am not attributing the resemblance to any fiendish motives. I 
expect the artist just found the pun too good to pass up. I'll CC him in case 
he wants to comment on his sources, since you think he should be asked.

Andy Balholm
(509) 276-2065
a...@balholm.com

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


2009 Intel Mac mini

2010-07-27 Thread Bryan Vyhmeister
I am very interested in getting FreeBSD 8.1 with ZFS running on a 2009
Intel Mac mini. I have no trouble getting it to run on all the
previous Intel models but the 2009 versions hang on boot. I believe it
is related to the issue mentioned on this page

http://wiki.freebsd.org/AppleMacbook

regarding r189055. Has anyone had success with this? Thank you.

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


possible NFS lockups

2010-07-27 Thread krad
I have a production mail system with an nfs backend. Every now and again we
see the nfs die on a particular head end. However it doesn't die across all
the nodes. This suggests to me there isnt an issue with the filer itself and
the stats from the filer concur with that.

The symptoms are lines like this appearing in dmesg

nfs server 10.44.17.138:/vol/vol1/mail: not responding
nfs server 10.44.17.138:/vol/vol1/mail: is alive again

trussing df it seems to hang on getfsstat, this is presumably when it tries
the nfs mounts

eg

__sysctl(0xbfbfe224,0x2,0xbfbfe22c,0xbfbfe230,0x0,0x0) = 0 (0x0)
mmap(0x0,1048576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =
1746583552 (0x681ac000)
mmap(0x682ac000,344064,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =
1747632128 (0x682ac000)
munmap(0x681ac000,344064)= 0 (0x0)
getfsstat(0x68201000,0x1270,0x2,0xbfbfe960,0xbfbfe95c,0x1) = 9 (0x9)


I have played with mount options a fair bit but they dont make much
difference. This is what they are set to at present

10.44.17.138:/vol/vol1/mail /mail/0 nfs
rw,noatime,tcp,acdirmax=320,acdirmin=180,acregmax=320,acregmin=180 0   0

When this locking is occuring I find that if I do a show mount or mount
10.44.17.138:/vol/vol1/mail again under another mount point I can access it
fine.

One thing I have just noticed is that lockd and statd always seem to have
died when this happens. Restarting does not help


I find all this a bit perplexing. Can anyone offer any help into why this
might be happening. I have dtrace compliled into the kernel if that could
help with debugging
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: BSD logo

2010-07-27 Thread Jerry McAllister
On Mon, Jul 26, 2010 at 02:06:17PM -0700, David Brodbeck wrote:

 On Mon, July 26, 2010 11:24 am, Paul Schmehl wrote:
  When this is the way one answers a simple question, I tend to believe
  there's no genuine interest in dialog.
 
 Well, I hate to break it to you, but people who are trying to make a
 religious point aren't interested in dialog, anyway.  In fact, it's pretty
 well impossible to have a dialog with them that gets anywhere.  You can't
 have a sensible debate when the other person's fallback response is always
 it's god's will, so it's beyond our understanding and we can't question
 it, and you're an evil person for not agreeing with me.  These people
 have been taught from a young age that logic is evil and will lead them
 down the road to hell, so logical arguments are lost on them.

Careful about making rash generalizations.  I replied to the OP with some
info on the background of BSDie and how he was drawn.  He sent me a nice
thank you and sounded more interested in the information than in promoting
a cause.  Although I have know those who seem to function in the way
you describe, but I know as many or more religious people to think about
what they say and are willing to let people of other persuasions to 
think and say what they want - and take responsibility for their own
consequences.

Don't let a few weirdos on TV and radio determine the total of your
learning about religions.

jerry

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


Re: BSD logo

2010-07-27 Thread Kruppa, Peter Ulrich

Am 27.07.2010 17:23, schrieb Andy Balholm:

Chad Perrin wrote:
   

Andy Balholm wrote:
 

although the UNIX term daemon is not satanic in origin, some aspects
of Beastie's appearance are obviously derived from traditional
depictions of the Devil.
   

Really?  Are you sure they weren't derived from something else -- perhaps
a source in common for the traditional depictions of the devil?  There
may be a common source for both, rather than one being the source of the
other.  Correlation does not imply causation.  Did you ask the original
Beastie artist for confirmation that he was consciously emulating images
of the Christian devil, or did you just jump to a conclusion like the OP?
 

I jumped to a conclusion, but I'll stand by it until someone shows me the 
ancient common source. I don't recall anything that looks much like Beastie in 
Greek art.
   
Perhaps there are some ancient depictions/sculptures of the greek god 
Pan (god of the shepherds) around? Pan partially resembles a goat.



Greetings

Uli.


When someone in the modern western culture decides to draw a daemon and it comes out 
looking like a demon, the most plausible explanation is that he was 
influenced—consciously or unconsciously—by this culture's traditional way of depicting 
demons. In fact, not being influenced by that tradition would take a conscious effort. So 
I find that far more likely than an obscure common source.

Note that I am not attributing the resemblance to any fiendish motives. I 
expect the artist just found the pun too good to pass up. I'll CC him in case he wants to 
comment on his sources, since you think he should be asked.

Andy Balholm
(509) 276-2065
a...@balholm.com

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

   


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


GEOM: mirroring and journaling

2010-07-27 Thread Joey Mingrone
Hello,

I'm attempting to set up a storage server with mirrored and journaled
filesystems.  Initially I did the following:

sysctl kern.geom.debugflags=17
dd if=/dev/zero of=/dev/ad8 bs=1k count=1
dd if=/dev/zero of=/dev/ad10 bs=1k count=1
gmirror label -vb round-robin gm0 /dev/ad8
gmirror load
gjournal label /dev/mirror/gm0
gjournal load
newfs -O 2 -J /dev/mirror/gm0.journal
mount /dev/mirror/gm0.journal /mnt/mirror2
gmirror insert gm0 /dev/ad10

,but I read in the archives there are potential issues with the
labelling.  Does anyone have any suggestions (or references to
documentation) describing how this could be done?

Are the GEOM parts for doing this sufficiently mature to consider this
safe?  This did seem to be working, but when I did a dump I got kernel
panics like others who have posted recently.

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


Re: GEOM: mirroring and journaling

2010-07-27 Thread Adam Vande More
On Tue, Jul 27, 2010 at 11:10 AM, Joey Mingrone j...@mingrone.org wrote:

 Hello,

 I'm attempting to set up a storage server with mirrored and journaled
 filesystems.  Initially I did the following:

 sysctl kern.geom.debugflags=17
 dd if=/dev/zero of=/dev/ad8 bs=1k count=1
 dd if=/dev/zero of=/dev/ad10 bs=1k count=1
 gmirror label -vb round-robin gm0 /dev/ad8
 gmirror load
 gjournal label /dev/mirror/gm0
 gjournal load
 newfs -O 2 -J /dev/mirror/gm0.journal
 mount /dev/mirror/gm0.journal /mnt/mirror2
 gmirror insert gm0 /dev/ad10

 ,but I read in the archives there are potential issues with the
 labelling.  Does anyone have any suggestions (or references to
 documentation) describing how this could be done?

 Are the GEOM parts for doing this sufficiently mature to consider this
 safe?  This did seem to be working, but when I did a dump I got kernel
 panics like others who have posted recently.


Sure it's safe, but you should hardcode the metadata, see man gjournal(8)

You should also read the section on the size of the journal, I'd guess yours
is too small and the source of your panics.


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


Re: I donot like using mergemaster ?

2010-07-27 Thread Anonymous
Frank Shute fr...@shute.org.uk writes:

 On Mon, Jul 26, 2010 at 06:18:22PM -0700, zaxis wrote:

 
 that's great ! I will use /etc/mergemaster.rc to upgrade my FB 8.0.
 

 You might also want to put this line in mergemaster.rc:

 DIFF_OPTIONS='-I$FreeBSD:.*[$]'

I think it's already done by FREEBSD_ID (-F) in rc file.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: BSD logo

2010-07-27 Thread Terrence Koeman


[snip]
 
 Perhaps there are some ancient depictions/sculptures of the greek god
 Pan (god of the shepherds) around? Pan partially resembles a goat.


This page has some articles on the subject:

http://www.helium.com/knowledge/112455-where-did-the-image-used-to-represent-satan-come-from

--
Regards,
T. Koeman, MTh/BSc/BPsy; Technical Monk

MediaMonks B.V. (www.mediamonks.com)
Please quote all replies in correspondence.



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


How to enable NCQ on freebsd 8.1 ?

2010-07-27 Thread Nickolay Krylov
Hi, all.

I have enabled options ATA_CAM in the generic kernel and now can't understand
NCQ works or not.

There is some info.

# uname -a
FreeBSD  8.1-RELEASE FreeBSD 8.1-RELEASE #1: Mon Jul 26 11:58:32 UTC
2010 nk@:/usr/obj/usr/src/sys/BOOT81A  amd64

# camcontrol devlist
ST31000524NS SN11at scbus2 target 0 lun 0 (ada0,pass0)
ST31000524NS SN11at scbus3 target 0 lun 0 (ada1,pass1)
ST31000524NS SN11at scbus4 target 0 lun 0 (ada2,pass2)
ST31000524NS SN11at scbus5 target 0 lun 0 (ada3,pass3)

# camcontrol tags ada0 -v
(pass0:ata2:0:0:0): dev_openings  1
(pass0:ata2:0:0:0): dev_active0
(pass0:ata2:0:0:0): devq_openings 1
(pass0:ata2:0:0:0): devq_queued   0
(pass0:ata2:0:0:0): held  0
(pass0:ata2:0:0:0): mintags   32
(pass0:ata2:0:0:0): maxtags   32

# camcontrol identify ada0
pass0: ST31000524NS SN11 ATA-8 SATA 2.x device
pass0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)

protocol  ATA/ATAPI-8 SATA 2.x
device model  ST31000524NS
firmware revision SN11
serial number 9WK05TA2
WWN   5000c5001fe537d6
cylinders 16383
heads 16
sectors/track 63
sector size   logical 512, physical 512, offset 0
LBA supported 268435455 sectors
LBA48 supported   1953525168 sectors
PIO supported PIO4
DMA supported WDMA2 UDMA6
media RPM 7200

Feature  Support  EnableValue   Vendor
read ahead yes  yes
write cacheyes  yes
flush cacheyes  yes
overlapno
Tagged Command Queuing (TCQ)   no   no
Native Command Queuing (NCQ)   yes  32 tags
SMART  yes  yes
microcode download yes  yes
security   yes  no
power management   yes  yes
advanced power management  no   no  0/0x00
automatic acoustic management  no   no  0/0x00  254/0xFE
media status notification  no   no
power-up in Standbyno   no
write-read-verify  yes  no  0/0x0
unload no   no
free-fall  no   no
data set management (TRIM) no


# cat /var/run/dmesg.boot | grep ada
ipfw2 (+ipv6) initialized, divert loadable, nat loadable, rule-based
forwarding enabled, default to accept, logging disabled
ada0 at ata2 bus 0 scbus2 target 0 lun 0
ada0: ST31000524NS SN11 ATA-8 SATA 2.x device
ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
ada1 at ata3 bus 0 scbus3 target 0 lun 0
ada1: ST31000524NS SN11 ATA-8 SATA 2.x device
ada1: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
ada1: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
ada2 at ata4 bus 0 scbus4 target 0 lun 0
ada2: ST31000524NS SN11 ATA-8 SATA 2.x device
ada2: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
ada2: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
ada3 at ata5 bus 0 scbus5 target 0 lun 0
ada3: ST31000524NS SN11 ATA-8 SATA 2.x device
ada3: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
ada3: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
Trying to mount root from ufs:/dev/ada0s1a

This system installed on Tyan Tomcat K8E motherboard.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to enable NCQ on freebsd 8.1 ?

2010-07-27 Thread Jerry Bell
 I believe you need to use AHCI.  I recently moved a test system over 
to AHCI and this is what I see at boot time for my hard drive:

ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: ST31000528AS CC34 ATA-8 SATA 2.x device
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)

Regards,

Jerry

On 7/27/2010 12:47 PM, Nickolay Krylov wrote:

Hi, all.

I have enabled options ATA_CAM in the generic kernel and now can't understand
NCQ works or not.


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


Re: How to enable NCQ on freebsd 8.1 ?

2010-07-27 Thread Alexander Motin
Hi.

Nickolay Krylov wrote:
 I have enabled options ATA_CAM in the generic kernel and now can't 
 understand
 NCQ works or not.

options ATA_CAM enables wrapper for existing ata(4) controller
drivers, that do not support command queuing. All this option give to
you is switching to newer bus management and peripheral code.

 ada0 at ata2 bus 0 scbus2 target 0 lun 0
 ada0: ST31000524NS SN11 ATA-8 SATA 2.x device
 ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
 ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)

If NCQ was supported, you would also see there lines:
ada0: Command Queueing enabled

 This system installed on Tyan Tomcat K8E motherboard.

To support MCQ you should use one of new drivers: ahci(4), siis(4) or
mvs(4) on supported hardware. As I can see, your board is based on
nForce4 chipset, which supports NCQ in own proprietary way, which is not
supported at the moment and unlikely will be ever supported, as it is
quite old already and all later chisets are AHCI compatible instead of it.

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


Re: OpenOffice 3.2.1 in FreeBSD 8.1

2010-07-27 Thread Antonio Vieiro
D'oh! Are those the official packages? pkg_add -r -v openoffice3 didn't 
work from the command line (that's why I posted this, just in case 
there're any other newbies reading this ;-)).


Cheers,
Antonio

On 27/07/2010 17:15, Jack L. wrote:

On Mon, Jul 26, 2010 at 10:25 AM, Antonio Vieiro
anto...@antonioshome.net  wrote:

Hi all,

For those trying to test OpenOffice 3.2.1 in FreeBSD 8.1-RELEASE (no
official package yet):

This:
ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/3.2.1/i386/OOo_3.2.1_FreeBSD81Intel_install_es.tbz

From
ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/3.2.1/i386/

is working for me.



Those are the official packages ;)



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


Re: apps update from ports

2010-07-27 Thread Polytropon
On Tue, 27 Jul 2010 07:16:15 +0200, claudiu vasadi claudiu.vas...@gmail.com 
wrote:
 Hello fellas,
 
 I was wondering about your update strategy. Do you update your apps as soon
 as a new version is available in the ports ? Or do you follow the if it
 works, don't touch it strategy ?

I think you will get similar answers, but let me tell you a few
words about my individual update strategy:

I DO BOTH.

For servers, especially where I run critical apps, I follow the
bugs and announce lists (of the installed programs) to decide if
an update is required due to security reasons, then I update.

Also, customer requirements are important. If a functionality
is required that is only provided by a newer version, then I
also update.

Finally, when I want to test out new features, both in OS and
applications, I usually go with bleeding edge. I'm often
surprised to see how well things do work.

For my home system, as I have quite static requirements, I
go with no broke, no repair. That's why I'm still on version
7 here, and everything works. Due to the fact that my hardware
here is not bleeding edge, I can't afford most modern
applications, e. g. compiling OpenOffice is a no-go here. So
my installation stays the same for a very long time, usually
until it breaks (as it happened to be beloved version 5 system
which did run PERFECTLY, until total file system crash).

I like the concept of install once, then use, but it doesn't
always fit, as to be seen in the first examples.

I also have machines that have been set into work many years
ago, e. g. a 300 MHz P2. I do not touch it in any way as I don't
want to lose its functionality. So I don't update anything there.
It's no problem as there are no security considerations related
to such specific systems.



 I'm guessing portupgrade is your preferred way of doing this hence, do you
 also choose -P or -PP ?

No, if I want to go with packages (I really like them), I use pkg_add -r. 
When I did use portupgrade, make and pkg_add altogether, pkgdb -aF was
a helpful tool. In fact, there are few cases when I really have to
compile things myself (e. g. X without HAL/DBUS stuff, OpenOffice,
which I don't compile, mplayer, where several options have to be set
to make it usable, and very few others). Precompiled packages are a
very comfortable way of installing software in short time.

I've been advised that portmaster is, in some regards, the better
port management program. I've tried it out and found that it's really
good.

There are also others, like portmanager, but I haven't tried this
one yet, so I can't tell you how it fits into the picture.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


autologin KDE, 8-1-RELEASE-amd64 not working

2010-07-27 Thread Antonio Olivares
Dear folks,

I am not sure why, but autologin is not working, I get authentication errors :(

I setup KDE as the desktop using

echo 'exec /usr/local/kde4/bin/startkde4'  ~/.xinitrc

echo 'local_startup=${local_startup} /usr/local/kde4/etc/rc.d'  /etc/rc.conf
echo 'kdm4_enable=YES'  /etc/rc.conf

and logging in as root and using the System Settings, I chose
autologin as myself(regular user, member of wheel/operator groups(if
it is important)) but I get authentication error :(

I try to login as root, but root is not allowed exept if I start in
console mode, i,e, comment out the lines in /etc/rc.conf and I make
changes, but cannot get autologin to work.

I know that autologin is discouraged, but this is a home computer and
no other person uses it execpt me, how should I fix it?

Thank you for advice/suggestions/comments.

Regards,

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


Re: apps update from ports

2010-07-27 Thread David Brodbeck


On Jul 27, 2010, at 10:53 AM, Polytropon wrote:

For servers, especially where I run critical apps, I follow the
bugs and announce lists (of the installed programs) to decide if
an update is required due to security reasons, then I update.


I find the VuXML FreeBSD RSS feed to be quite handy for this:
http://www.vuxml.org/freebsd/
It aggregates a lot of that information in one place.

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


Re: apps update from ports

2010-07-27 Thread Chip Camden
Quoth Polytropon on Tuesday, 27 July 2010:
 On Tue, 27 Jul 2010 07:16:15 +0200, claudiu vasadi claudiu.vas...@gmail.com 
 wrote:
 
 Finally, when I want to test out new features, both in OS and
 applications, I usually go with bleeding edge. I'm often
 surprised to see how well things do work.
 

That's my experience, too.  When I was told that in order to get my
wireless device working I would need to upgrade to STABLE, I shuddered
with the fearful anticipation of using a development version of the
O/S.  But it has lived up to the name STABLE.

Likewise with recently released ports.  Occasionally there's a breakage,
but I've always (touch wood) been pleasantly surprised by how easy it is
to set things right.  Not like the can't get there from here without a
wipe and load situations in which I often found myself during the 20
years in which my main system ran Windows (oh, the waste!)

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpV0Sw5iSXlZ.pgp
Description: PGP signature


Re: autologin KDE, 8-1-RELEASE-amd64 not working

2010-07-27 Thread Thiago Rodrigues Santos
Em Terça-feira 27 Julho 2010, às 14:58:33, Antonio Olivares escreveu:
 Dear folks,
 
 I am not sure why, but autologin is not working, I get authentication
 errors :(
 
 I setup KDE as the desktop using
 
 echo 'exec /usr/local/kde4/bin/startkde4'  ~/.xinitrc
 
 echo 'local_startup=${local_startup} /usr/local/kde4/etc/rc.d' 
 /etc/rc.conf echo 'kdm4_enable=YES'  /etc/rc.conf
 
 and logging in as root and using the System Settings, I chose
 autologin as myself(regular user, member of wheel/operator groups(if
 it is important)) but I get authentication error :(
 
 I try to login as root, but root is not allowed exept if I start in
 console mode, i,e, comment out the lines in /etc/rc.conf and I make
 changes, but cannot get autologin to work.
 
 I know that autologin is discouraged, but this is a home computer and
 no other person uses it execpt me, how should I fix it?
 
 Thank you for advice/suggestions/comments.
 
 Regards,
 
 Antonio
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

Hello. If you don't have the /etc/pam.d/kde-np file, you need to create it 
with the following content:

auth   required pam_permit.so
accountrequired pam_nologin.so
accountrequired pam_unix.so
sessionrequired pam_permit.so

-- 
Thiago Rodrigues Santos trsant...@gmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: popt-1.50 or better??

2010-07-27 Thread Gary Kline
On Tue, Jul 27, 2010 at 02:35:52PM +, b. f. wrote:
 On Sat, Jul 24, 2010 at 10:53:03PM +, b. f. wrote:
  here are the last few lines of output from configure, ots-0.5.0:
  
  checking for pkg-config... /usr/X11R6/bin/pkg-config
  checking for glib-2.0 = 2.0 libxml-2.0 = 2.4.23... yes
  checking OTS_CFLAGS... -I/usr/local/include/glib-2.0
  -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2
  -I/usr/local/include
  checking OTS_LIBS... -L/usr/local/lib -lglib-2.0 -lxml2
  checking for poptParseArgvString in -lpopt... no
  configure: error: popt 1.5 or newer is required to build ots.
  You can download the latest version from
  ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/
 
 
  poptParseArgvString is in the $PREFIX/lib/libpopt.so.0 library from
  our devel/popt port. The latest available version of this software is
  1.16, in the Red Hat repos.  Look at the configure script to determine
  why it can't find the symbol. Maybe you need to reinstall devel/popt,
  or patch the configure script.
 
 
 
 can anybody tell me how to upgrade just this one file:
devel/popt?  i tried various forms up portupgrade.  zip.
 
 I'm at a loss here.  First of all, you mean upgrade this port,
 right?  Because devel/popt is a port, not a file.  If you have an old
 version of devel/popt, it would seem that any of the standard updating
 tools would work.  If you just want to reinstall it, you could simply:
 
 cd /usr/ports/devel/popt  make deinstall clean install  make clean
 
 Then you could check your libpopt.so.0:
 
 ldconfig -vr | fgrep popt
 objdump -T /usr/local/lib/libpopt.so.0 | fgrep poptParseArgvString
 
 Of course, I've assumed that PREFIX=LOCALBASE=/usr/local and
 PORTSDIR=/usr/ports.  Make the proper substitutions if they aren't.
 
 I don't see any error logs or an IGNORE for textproc/ots, so I'm
 assuming that it builds properly on the package-building cluster.  If
 that's the case, then there is something wrong with _your_ build: a
 corrupted file, polluted environment, error after autodetection, etc.
 But we won't know what is wrong until you show the corresponding part
 of the configure script and errors in the config.log.
 
 b.


i already did the make deinstall reinstall.   so, looks like i do 
have the latest version.

also, yup:


p2 11:54 tao [5898] objdump -T /usr/local/lib/libpopt.so.0 | fgrep 
poptParseArgvString
4400 gDF .text  0212  BasepoptParseArgvString


tx for the clue.




-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

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


Re: BSD logo

2010-07-27 Thread Paul Schmehl
--On Monday, July 26, 2010 18:20:48 -0600 Chad Perrin per...@apotheon.com 
wrote:



On Mon, Jul 26, 2010 at 01:24:21PM -0500, Paul Schmehl wrote:

--On Saturday, July 24, 2010 00:24:46 -0600 Chad Perrin
per...@apotheon.com wrote:

 When this is the way someone starts a discussion about wanting to use a
 new OS, I tend to believe there is no genuine interest in using the OS in
 question.

When this is the way one answers a simple question, I tend to believe
there's no genuine interest in dialog.  I am therefore left to wonder who
really is the intolerant one.  One cannot claim to be tolerant while
demonstrating intolerance any more than one can claim to be educated
without every having read a book.


How perspicacious of you.  I'll quote myself basically saying exactly
that -- that I am not particularly interested in dialog with someone
who, I'm sure, has already made up his or her mind:

In any case, I didn't claim to be tolerant.  In fact, I very
specifically said I was sure someone would accuse me of intolerance, and
went on to explain that I am guilty of intolerance of those who are
intolerant themselves.  Why are you just repeating what I have said, but
in the tone of an accusation?  How intolerant are *you* today?



We can let the readers decide that.  (Not that it matters to me one way or the 
other.)


The man asked a simple question.  You then launched into a lengthy diatribe 
against intolerance, and you continue to lash out at anyone who takes issue 
with your responses.  I made no value judgments about you.  I simply parroted 
your own words.  Yet you rise up in self-righteous anger in response.


Then you cement your apparent ntolerance of any criticism with pot, kettle, 
black.  Perhaps the mote in your eye is obscuring the mite in others.




It's amazing to me the ridicule heaped upon the man for asking a question.
Would it have been too difficult to simply answer the question, as the
first response did?  No, we have to attack the man for having beliefs that
are different from our own.  Because we're so enlightened?  Or because we
are even more ignorant than we suppose he is?


I *did* answer the question before heaping ridicule on someone who, as I
stated, I believe had already made up his or her mind, and had no genuine
interest in dialog in the first place.



So now that you know you were wrong, will you apologize?  (I'm not holding my 
breath.)


At a minimum, get some help for the anger issues.

--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead. Thomas Jefferson

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


Real-Time Video Recording (ionice equivalent)

2010-07-27 Thread Debacker
Hi,

I'm looking for a ionice equivalent for FreeBSD. Let suppose that I setup a
NAS using FreeBSD. I can substain 50MiB/s writing.
Let suppose that I have a 720p security camera, writing at 2 MiB/s in a
file. Then I have 10 users copying files around.
All of this activity (camera + users) through Samba, so each connection has
a dedicated process.

Problem is that I want to give camera's maximal priority to guarantee smooth
recording.

I don't expect Samba to use much CPU, 99% should be spent in IO. So if I set
the nice value of camera's process to Real-Time, it should do much, because
its process will be on wait status most of the time.
Consequently, when some IO requests coming from camera's process are in the
queue, I want them to have top priority compared to requests coming from
other processes.
As the camera is limited to 2MiB/s, I expect the system to remain
responsive.

I know that seeks may lower the speed of the HDD, but as the HDD is slowing
down, completing requests, I expect the number of camera IO requests to
increase in the queue, and to be packed together, hopefully, stabilizing the
number of seeks.

BTW, I would use root preexec setting of Samba to execute a shell script
for each new connection, giving best priority to the process if the user is
camera.

Any idea?

Thanks

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


Re: Real-Time Video Recording (ionice equivalent)

2010-07-27 Thread Andrew Gould
On Tue, Jul 27, 2010 at 1:45 PM, Debacker deback...@gmail.com wrote:
 Hi,

 I'm looking for a ionice equivalent for FreeBSD. Let suppose that I setup a
 NAS using FreeBSD. I can substain 50MiB/s writing.
 Let suppose that I have a 720p security camera, writing at 2 MiB/s in a
 file. Then I have 10 users copying files around.
 All of this activity (camera + users) through Samba, so each connection has
 a dedicated process.

 Problem is that I want to give camera's maximal priority to guarantee smooth
 recording.

 I don't expect Samba to use much CPU, 99% should be spent in IO. So if I set
 the nice value of camera's process to Real-Time, it should do much, because
 its process will be on wait status most of the time.
 Consequently, when some IO requests coming from camera's process are in the
 queue, I want them to have top priority compared to requests coming from
 other processes.
 As the camera is limited to 2MiB/s, I expect the system to remain
 responsive.

 I know that seeks may lower the speed of the HDD, but as the HDD is slowing
 down, completing requests, I expect the number of camera IO requests to
 increase in the queue, and to be packed together, hopefully, stabilizing the
 number of seeks.

 BTW, I would use root preexec setting of Samba to execute a shell script
 for each new connection, giving best priority to the process if the user is
 camera.

 Any idea?

 Thanks

 Laurent Debacker

Would putting the camera's storage space on a separate HDD from the
other users help?

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


Re: BSD logo

2010-07-27 Thread Jerry B. Altzman
2010/7/23 Victor Skovorodnikov vic...@mail.ru

 Hi!
 This may sound strange but I have a question about logo.  Why such a logo
 for BSD?  What is the
 meaning of that logo?
 I have always been thinking of trying FreeBSD but as a Christian I get
 deterred by its un-Christian
 logo.
 Have you considered changing it to something else?  Doesn't have to be an
 angel, but perhaps
 something neutral ;-) ?


I suggest you look at
http://www.netfunny.com/rhf/jokes/new89/satan.773.html for
some more information on this.


 Victor.


//jbaltz
-- 
jerry b. altzmanjba...@gmail.com  www.jbaltz.com
foo mane padme hum  twitter: @lorvax
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Real-Time Video Recording (ionice equivalent)

2010-07-27 Thread Debacker
Of course, just like you could put real-time processes in one CPU, and
normal processes on another to avoid implement complex algorithms.
While your solution is pragmatic, I would like to know if there are clean
ways to do it. If not, this would be a documented use case to why would
anyone actually need an I/O scheduler.

Laurent

On Tue, Jul 27, 2010 at 9:23 PM, Andrew Gould andrewlylego...@gmail.comwrote:

 On Tue, Jul 27, 2010 at 1:45 PM, Debacker deback...@gmail.com wrote:
  Hi,
 
  I'm looking for a ionice equivalent for FreeBSD. Let suppose that I setup
 a
  NAS using FreeBSD. I can substain 50MiB/s writing.
  Let suppose that I have a 720p security camera, writing at 2 MiB/s in a
  file. Then I have 10 users copying files around.
  All of this activity (camera + users) through Samba, so each connection
 has
  a dedicated process.
 
  Problem is that I want to give camera's maximal priority to guarantee
 smooth
  recording.
 
  I don't expect Samba to use much CPU, 99% should be spent in IO. So if I
 set
  the nice value of camera's process to Real-Time, it should do much,
 because
  its process will be on wait status most of the time.
  Consequently, when some IO requests coming from camera's process are in
 the
  queue, I want them to have top priority compared to requests coming from
  other processes.
  As the camera is limited to 2MiB/s, I expect the system to remain
  responsive.
 
  I know that seeks may lower the speed of the HDD, but as the HDD is
 slowing
  down, completing requests, I expect the number of camera IO requests to
  increase in the queue, and to be packed together, hopefully, stabilizing
 the
  number of seeks.
 
  BTW, I would use root preexec setting of Samba to execute a shell
 script
  for each new connection, giving best priority to the process if the user
 is
  camera.
 
  Any idea?
 
  Thanks
 
  Laurent Debacker

 Would putting the camera's storage space on a separate HDD from the
 other users help?

 Andrew

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


Re: possible NFS lockups

2010-07-27 Thread krad
On 27 July 2010 16:29, krad kra...@googlemail.com wrote:

 I have a production mail system with an nfs backend. Every now and again we
 see the nfs die on a particular head end. However it doesn't die across all
 the nodes. This suggests to me there isnt an issue with the filer itself and
 the stats from the filer concur with that.

 The symptoms are lines like this appearing in dmesg

 nfs server 10.44.17.138:/vol/vol1/mail: not responding
 nfs server 10.44.17.138:/vol/vol1/mail: is alive again

 trussing df it seems to hang on getfsstat, this is presumably when it tries
 the nfs mounts

 eg

 __sysctl(0xbfbfe224,0x2,0xbfbfe22c,0xbfbfe230,0x0,0x0) = 0 (0x0)
 mmap(0x0,1048576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =
 1746583552 (0x681ac000)
 mmap(0x682ac000,344064,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =
 1747632128 (0x682ac000)
 munmap(0x681ac000,344064)= 0 (0x0)
 getfsstat(0x68201000,0x1270,0x2,0xbfbfe960,0xbfbfe95c,0x1) = 9 (0x9)


 I have played with mount options a fair bit but they dont make much
 difference. This is what they are set to at present

 10.44.17.138:/vol/vol1/mail /mail/0 nfs
 rw,noatime,tcp,acdirmax=320,acdirmin=180,acregmax=320,acregmin=180 0   0

 When this locking is occuring I find that if I do a show mount or mount
 10.44.17.138:/vol/vol1/mail again under another mount point I can access
 it fine.

 One thing I have just noticed is that lockd and statd always seem to have
 died when this happens. Restarting does not help


 I find all this a bit perplexing. Can anyone offer any help into why this
 might be happening. I have dtrace compliled into the kernel if that could
 help with debugging


sorry i missed a bit of critical info

# uname -a
FreeBSD X 8.1-STABLE FreeBSD 8.1-STABLE #2: Mon Jul 26 16:10:19 BST 2010
r...@mk-pimap-7.b2b.uk.tiscali.com:/usr/obj/usr/src/sys/DTRACE  i
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrade 6.4-stable to 7.3

2010-07-27 Thread krad
On 27 July 2010 16:13, Erik Trulsson ertr1...@student.uu.se wrote:

 On Tue, Jul 27, 2010 at 03:02:48PM +0100, Michael Doyle wrote:
  I would like to upgrade a server that is currently running version 6.4
  up to version 7.3
  Having looked at /usr/src/UPDATING on a 7.3 machine, I don't see any
  major problems flagged.
 
  Given that I have console access to this machine, and I want to
  preserve the user directories (it's our mail server)
  would I be better off doing a source upgrade or a binary upgrade?

 Since you are running 6.4-STABLE, I think you will have to do a source
 upgrade. AFAIK binary upgrades are only supported when going from one
 -RELEASE to another (so 6.4-RELEASE to 7.3-RELEASE should be possible
 with a binary upgrade, 6.4-STABLE to 7.3-RELEASE would not.)


 
  In the past, I've usually done a wipe-and-reinstall when moving
  between major version numbers
  but I would rather avoid that this time around.
 
  Also, would people recommend staying with version 7.3 or jumping all
  the way to version 8.1 ?

 Unless you have some specific reason to use 7.3 you might as well go
 all the way up to 8.1. You should probably do it in two steps though -
 first from 6.4 to 7.3 and then from 7.3 to 8.1

 Just remember to make good backups first, just in case something goes
 wrong.  (There should not be any serious problems involved - the source
 upgrades I have done from 6.x to 7.x and later from 7.x to 8.x were
 fairly uneventful - but you never know what might happen.)


 --
 Insert your favourite quote here.
 Erik Trulsson
 ertr1...@student.uu.se
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org



I did a remote upgrade of our dns caches at work (24 boxes) from various 6.x
builds. I did it all from source, and in two steps, once to 7-STABLE then
once to 8-STABLE. It went fine in most cases. One thing i noticed though was
some of the boxes were in dangerously dedicated disk layout. The dev tree in
6.x and 7.x had devices in the format of /dev/ad0a and /dev/ad0s1a. However
8.x only presented /dev/ad0a devices, like you would predict. Whoever
origionally built the boxes had s1 type in the fstab which caught me out on
a few of them. Not ideal on remote boxes. Other than that though the
upgrades we nice and easy.

Make sure you recompile all your ports though with something like
portmaster. After you have done that do a make delete-old delete-old-libs
and delete-old-dirs from usr/src, once your done to clean up the base
distro.

here's my mergemaster conf to speed things up a little if you aren't
familier with it. Just make sure the ignore files is tailored to you then
run mergemaster with no flags

$ cat /etc/mergemaster.rc
AUTO_INSTALL=YES
AUTO_UPGRADE=YES
PRESERVE_FILES=yes
#IGNORE_FILES=/etc/rc.d/*

PRESERVE_FILES_DIR=/var/mergemaster/preserved-files-`date +%y%m%d-%H%M%S`

IGNORE_FILES=/etc/crontab /etc/fstab /etc/group /etc/hosts /etc/inetd.conf
/etc/make.conf /etc/master.passwd /etc/motd /etc/newsyslog.conf
/etc/ntp.conf /etc/ntp.drift /etc/profile /etc/rc.conf /etc/resolv.conf
/etc/services /etc/shells /etc/syslog.conf /etc/ssh/sshd_config
/etc/ssh/ssh_host_key /etc/ssh/ssh_host_key.pub /etc/ssh/ssh_host_rsa_key
/etc/ssh/ssh_host_rsa_key.pub /etc/passwd /etc/rc.conf.local
/etc/zfs/exports /etc//namedb/named.conf /etc/periodic.conf /etc/hosts.allow
/etc/hosts /etc/pf.conf /etc/sysctl.conf /etc/make.conf /etc/src.conf
/etc/mail/aliases /etc/mail/mailer.conf /etc/remote
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I donot like using mergemaster ?

2010-07-27 Thread Frank Shute
On Tue, Jul 27, 2010 at 09:01:13PM +0400, Anonymous wrote:

 Frank Shute fr...@shute.org.uk writes:
 
  On Mon, Jul 26, 2010 at 06:18:22PM -0700, zaxis wrote:
 
  
  that's great ! I will use /etc/mergemaster.rc to upgrade my FB 8.0.
  
 
  You might also want to put this line in mergemaster.rc:
 
  DIFF_OPTIONS='-I$FreeBSD:.*[$]'
 
 I think it's already done by FREEBSD_ID (-F) in rc file.

Thanks for pointing that out. Also made me notice a bug in the
mergemaster manpage which I'll write a patch and pr for.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html


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


Re: BSD logo

2010-07-27 Thread Andy Balholm

On Jul 27, 2010, at 9:02 AM, Kruppa, Peter Ulrich wrote:

 Am 27.07.2010 17:23, schrieb Andy Balholm:
 Chad Perrin wrote:
   
 Andy Balholm wrote:
 
 although the UNIX term daemon is not satanic in origin, some aspects
 of Beastie's appearance are obviously derived from traditional
 depictions of the Devil.
   
 Really?  Are you sure they weren't derived from something else -- perhaps
 a source in common for the traditional depictions of the devil?  There
 may be a common source for both, rather than one being the source of the
 other.  Correlation does not imply causation.  Did you ask the original
 Beastie artist for confirmation that he was consciously emulating images
 of the Christian devil, or did you just jump to a conclusion like the OP?
 
 I jumped to a conclusion, but I'll stand by it until someone shows me the 
 ancient common source. I don't recall anything that looks much like Beastie 
 in Greek art.
   
 Perhaps there are some ancient depictions/sculptures of the greek god Pan 
 (god of the shepherds) around? Pan partially resembles a goat.

The BSD daemon doesn't look like a goat (or Pan) at all. Maybe he has cloven 
hooves inside those tennis shoes; I don't know. But Pan could certainly have 
had some influence on how the Devil was traditionally drawn.

My point wasn't that there is no earlier source that traditional depictions of 
the Devil draw on. They aren't based on anything in the Bible, so it seems 
quite likely that there is. I was just saying that the BSD daemon is not 
derived from that ancient source _independently_; its immediate source is 
almost certainly the traditional depictions of demons.

Andy Balholm
(509) 276-2065
a...@balholm.com

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


Re: BSD logo

2010-07-27 Thread Reid Linnemann
On final analysis, I think the OP should abandon any desire for
FreeBSD in favor of this: http://pudge.net/jesux/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Real-Time Video Recording (ionice equivalent)

2010-07-27 Thread Adam Vande More
On Tue, Jul 27, 2010 at 2:29 PM, Debacker deback...@gmail.com wrote:

 Of course, just like you could put real-time processes in one CPU, and
 normal processes on another to avoid implement complex algorithms.
 While your solution is pragmatic, I would like to know if there are clean
 ways to do it. If not, this would be a documented use case to why would
 anyone actually need an I/O scheduler.


First, top-posting on this list is considered rude.  Please don't do that.

If you're running 8.1, try man gsched, it's new and haven't tried it.

Other than that, the traditional way would be to give higher priority to the
process that needs it.  It's the poor man's io scheduler, but it generally
does work well.

If you have lots of concurrent io and are running a UFS file-system,
consider running gjournal as it scales those requests better.

Also if you're hardware supports it, NCQ is available via the ahci and a few
other modules.  It will make your requests more efficient.

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


mount_autofs

2010-07-27 Thread Tim Gustafson
Hi,

I see that in /usr/src there are some things related to mount_autofs, but none 
of this is compiled or installed during the buildworld/buildkernel process.  If 
I build mount_autofs by hand:

cd /usr/src/sbin/mount_autofs
make
make install

I get a binary that runs, but always complains:

mount: Operation not supported by device

Our network has a huge existing user base (thousands of computers and thousands 
of users) that are on Mac client, Linux clients, Linux servers and SunOS 
servers that all use autofs automount maps distributed via LDAP.  I'm pushing 
hard for us to start using FreeBSD for some things, but the lack of an 
automounter that is compatible with the maps that we're already distributing 
for these other OSs is a show-stopper.

Making a static copy of the mount maps for FreeBSD use is not going to work 
(for one thing, the maps change too frequently, and anyhow there are thousands 
of mount points and we don't want them all mounted on our BSD boxes all of the 
time) and I tried to get AMD to work using exec maps but found it to be 
incredibly unstable (and in fact AMD locked up my machine several times during 
the course of experimentation, requiring an actual power cycle to get the 
system responding again).

I had a chat with Alfred Perlstein who worked on some autofs-compatible stuff 
back in about 2004 for FreeBSD that was dropped because of pressure by Apple.  
He thinks that the current Apple autofs might be licensed under the ASPL but 
doesn't have the bandwidth to do any work on porting that to FreeBSD.  
Unfortunately, my C skills are not up to snuff, so I'm in no place to port 
anything anywhere, so I was wondering if anyone else on the list had any 
interest in autofs for FreeBSD that might be a bit more fluent in C than I am?

Tim Gustafson
Baskin School of Engineering
UC Santa Cruz
t...@soe.ucsc.edu
831-459-5354

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


Re: mount_autofs

2010-07-27 Thread Chuck Swiger
Hi--

On Jul 27, 2010, at 2:11 PM, Tim Gustafson wrote:
[ ... ]
 I had a chat with Alfred Perlstein who worked on some autofs-compatible stuff 
 back in about 2004 for FreeBSD that was dropped because of pressure by Apple. 
  He thinks that the current Apple autofs might be licensed under the ASPL but 
 doesn't have the bandwidth to do any work on porting that to FreeBSD.

Most of the autofs code comes from Sun and is licensed under the CDDL.  Some 
Apple-specific changes and pieces of glue are under the APSL.  Various versions 
of the source code are available under:

  http://www.opensource.apple.com/source/autofs/
  http://www.opensource.apple.com/tarballs/autofs/autofs-154.tar.gz

It's likely that OpenSolaris has similar source available somewhere which would 
be likely to be under the CDDL only

Regards,
-- 
-Chuck

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


Re: BSD logo

2010-07-27 Thread Paul Schmehl
--On Tuesday, July 27, 2010 15:49:47 -0500 Reid Linnemann 
lr...@cs.okstate.edu wrote:



On final analysis, I think the OP should abandon any desire for
FreeBSD in favor of this: http://pudge.net/jesux/


Sheesh.  Now I really have seen everything.

--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead. Thomas Jefferson

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


Re: BSD logo

2010-07-27 Thread Chip Camden
Quoth Paul Schmehl on Tuesday, 27 July 2010:
 --On Tuesday, July 27, 2010 15:49:47 -0500 Reid Linnemann 
 lr...@cs.okstate.edu wrote:
 
 On final analysis, I think the OP should abandon any desire for
 FreeBSD in favor of this: http://pudge.net/jesux/
 
 Sheesh.  Now I really have seen everything.

Not quite.  Someone needs to come out with an OS named Atheix, and
another called Agnostix.  Then we'll be complete.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpGPGBXG6m9V.pgp
Description: PGP signature


RE: BSD logo

2010-07-27 Thread Terrence Koeman
 Subject: Re: BSD logo

 On final analysis, I think the OP should abandon any desire for
 FreeBSD in favor of this: http://pudge.net/jesux/

Is this real? It looks like a page from landoverbaptist.com or something. I'm 
still deciding whether to laugh or cry...

--
Regards,
T. Koeman, MTh/BSc/BPsy; Technical Monk

MediaMonks B.V. (www.mediamonks.com)
Please quote all replies in correspondence.



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


RE: BSD logo

2010-07-27 Thread Terrence Koeman
 -Original Message-
 From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
 questi...@freebsd.org] On Behalf Of Chip Camden
 Sent: Wednesday, July 28, 2010 12:10 AM
 To: freebsd-questions@freebsd.org
 Subject: Re: BSD logo

 Quoth Paul Schmehl on Tuesday, 27 July 2010:
  --On Tuesday, July 27, 2010 15:49:47 -0500 Reid Linnemann
  lr...@cs.okstate.edu wrote:
 
  On final analysis, I think the OP should abandon any desire for
  FreeBSD in favor of this: http://pudge.net/jesux/
 
  Sheesh.  Now I really have seen everything.

 Not quite.  Someone needs to come out with an OS named Atheix, and
 another called Agnostix.  Then we'll be complete.


I'm imagining Agnostix would need  uncertain values for true and false, and 
Atheix wouldn't believe in the PATH and therefore won't look for it.

--
Regards,
T. Koeman, MTh/BSc/BPsy; Technical Monk

MediaMonks B.V. (www.mediamonks.com)
Please quote all replies in correspondence.



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


Upgrading Apache fails - I don't understand why, exactly

2010-07-27 Thread Kurt Buff
Trying to do the following on a couple of machines:

 # portupgrade apache-2.2.14_5

I get a lot of churning, then this:
 find: /usr/local/include/apr-1/apr.h: No such file or directory
 find: /usr/local/include/apr-1/apr_allocator.h: No such file or directory
 find: /usr/local/include/apr-1/apr_anylock.h: No such file or directory
 find: /usr/local/include/apr-1/apr_atomic.h: No such file or directory
 find: /usr/local/include/apr-1/apr_base64.h: No such file or directory
 find: /usr/local/include/apr-1/apr_buckets.h: No such file or directory
 find: /usr/local/include/apr-1/apr_date.h: No such file or directory
 find: /usr/local/include/apr-1/apr_dbd.h: No such file or directory
 find: /usr/local/include/apr-1/apr_dbm.h: No such file or directory
 find: /usr/local/include/apr-1/apr_dso.h: No such file or directory
 find: /usr/local/include/apr-1/apr_env.h: No such file or directory
 find: /usr/local/include/apr-1/apr_errno.h: No such file or directory
 find: /usr/local/include/apr-1/apr_file_info.h: No such file or directory
 find: /usr/local/include/apr-1/apr_file_io.h: No such file or directory
 find: /usr/local/include/apr-1/apr_fnmatch.h: No such file or directory
 find: /usr/local/include/apr-1/apr_general.h: No such file or directory
 find: /usr/local/include/apr-1/apr_getopt.h: No such file or directory
 find: /usr/local/include/apr-1/apr_global_mutex.h: No such file
or directory
 find: /usr/local/include/apr-1/apr_hash.h: No such file or directory
 find: /usr/local/include/apr-1/apr_hooks.h: No such file or directory
 find: /usr/local/include/apr-1/apr_inherit.h: No such file or directory
 find: /usr/local/include/apr-1/apr_ldap.h: No such file or directory
 find: /usr/local/include/apr-1/apr_ldap_init.h: No such file or directory
 find: /usr/local/include/apr-1/apr_ldap_option.h: No such file or directory
 find: /usr/local/include/apr-1/apr_ldap_rebind.h: No such file or directory
 find: /usr/local/include/apr-1/apr_ldap_url.h: No such file or directory
 find: /usr/local/include/apr-1/apr_lib.h: No such file or directory
 find: /usr/local/include/apr-1/apr_md4.h: No such file or directory
 find: /usr/local/include/apr-1/apr_md5.h: No such file or directory
 find: /usr/local/include/apr-1/apr_memcache.h: No such file or directory
 find: /usr/local/include/apr-1/apr_mmap.h: No such file or directory
 find: /usr/local/include/apr-1/apr_network_io.h: No such file or directory
 find: /usr/local/include/apr-1/apr_optional.h: No such file or directory
 find: /usr/local/include/apr-1/apr_optional_hooks.h: No such file
or directory
 find: /usr/local/include/apr-1/apr_poll.h: No such file or directory
 find: /usr/local/include/apr-1/apr_pools.h: No such file or directory
 find: /usr/local/include/apr-1/apr_portable.h: No such file or directory
 find: /usr/local/include/apr-1/apr_proc_mutex.h: No such file or directory
 find: /usr/local/include/apr-1/apr_queue.h: No such file or directory
 find: /usr/local/include/apr-1/apr_random.h: No such file or directory
 find: /usr/local/include/apr-1/apr_reslist.h: No such file or directory
 find: /usr/local/include/apr-1/apr_ring.h: No such file or directory
 find: /usr/local/include/apr-1/apr_rmm.h: No such file or directory
 find: /usr/local/include/apr-1/apr_sdbm.h: No such file or directory
 find: /usr/local/include/apr-1/apr_sha1.h: No such file or directory
 find: /usr/local/include/apr-1/apr_shm.h: No such file or directory
 find: /usr/local/include/apr-1/apr_signal.h: No such file or directory
 find: /usr/local/include/apr-1/apr_strings.h: No such file or directory
 find: /usr/local/include/apr-1/apr_strmatch.h: No such file or directory
 find: /usr/local/include/apr-1/apr_support.h: No such file or directory
 find: /usr/local/include/apr-1/apr_tables.h: No such file or directory
 find: /usr/local/include/apr-1/apr_thread_cond.h: No such file or directory
 find: /usr/local/include/apr-1/apr_thread_mutex.h: No such file
or directory
 find: /usr/local/include/apr-1/apr_thread_pool.h: No such file or directory
 find: /usr/local/include/apr-1/apr_thread_proc.h: No such file or directory
 find: /usr/local/include/apr-1/apr_thread_rwlock.h: No such file
or directory
 find: /usr/local/include/apr-1/apr_time.h: No such file or directory
 find: /usr/local/include/apr-1/apr_uri.h: No such file or directory
 find: /usr/local/include/apr-1/apr_user.h: No such file or directory
 find: /usr/local/include/apr-1/apr_uuid.h: No such file or directory
 find: /usr/local/include/apr-1/apr_version.h: No such file or directory
 find: /usr/local/include/apr-1/apr_want.h: No such file or directory
 find: /usr/local/include/apr-1/apr_xlate.h: No such file or directory
 find: /usr/local/include/apr-1/apr_xml.h: No such file or 

Re: BSD logo

2010-07-27 Thread Chip Camden
Quoth Terrence Koeman on Wednesday, 28 July 2010:
  -Original Message-
  From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
  questi...@freebsd.org] On Behalf Of Chip Camden
  Sent: Wednesday, July 28, 2010 12:10 AM
  To: freebsd-questions@freebsd.org
  Subject: Re: BSD logo
 
  Quoth Paul Schmehl on Tuesday, 27 July 2010:
   --On Tuesday, July 27, 2010 15:49:47 -0500 Reid Linnemann
   lr...@cs.okstate.edu wrote:
  
   On final analysis, I think the OP should abandon any desire for
   FreeBSD in favor of this: http://pudge.net/jesux/
  
   Sheesh.  Now I really have seen everything.
 
  Not quite.  Someone needs to come out with an OS named Atheix, and
  another called Agnostix.  Then we'll be complete.
 
 
 I'm imagining Agnostix would need  uncertain values for true and false, and 
 Atheix wouldn't believe in the PATH and therefore won't look for it.
 

Well, Agnostix allow that there might be a kernel of truth.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpGuFMseMpvH.pgp
Description: PGP signature


Re: BSD logo

2010-07-27 Thread Gary Kline
On Tue, Jul 27, 2010 at 03:09:52PM -0700, Chip Camden wrote:
 Quoth Paul Schmehl on Tuesday, 27 July 2010:
  --On Tuesday, July 27, 2010 15:49:47 -0500 Reid Linnemann 
  lr...@cs.okstate.edu wrote:
  
  On final analysis, I think the OP should abandon any desire for
  FreeBSD in favor of this: http://pudge.net/jesux/
  
  Sheesh.  Now I really have seen everything.
 
 Not quite.  Someone needs to come out with an OS named Atheix, and
 another called Agnostix.  Then we'll be complete.
 
 -- 
 Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
 http://camdensoftware.com | http://chipstips.com| 
 http://chipsquips.com


this wins first prize:: ROFL.




-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

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


Daily Periodic

2010-07-27 Thread Grant Peel

Hi everyone,

I asked this a few days ago, and did not get a response.

I have this in my /etc/periodic.conf:

constellation# more periodic.conf
# 460.status-mail-rejects
daily_status_mail_rejects_enable=NO  # Check mail rejects
daily_status_mail_rejects_logs=0# How many logs to 
check

daily_status_mail_rejects_shorten=NO  # Shorten output

And have chnaged this in my /etc/defaults/periodic.conf:

# 460.status-mail-rejects
daily_status_mail_rejects_enable=NO   # Check mail rejects
daily_status_mail_rejects_logs=3# How many logs to 
check

daily_status_mail_rejects_shorten=NO  # Shorten output

And am still getting all the reject mail data showing in my daily periodic 
output.


I am using FreeBSD 8.0 p#3
The mta is Exim 4.69_4 built from ports.

What am I doing incorrectly? Why am I still getting all the mail reject log 
lines in my daily periodic output?


-Grant 



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


Why am I getting mail rejects?

2010-07-27 Thread Grant Peel

Hi everyone,

I asked this a few days ago, and did not get a response.

I have this in my /etc/periodic.conf:

constellation# more periodic.conf
# 460.status-mail-rejects
daily_status_mail_rejects_enable=NO  # Check mail rejects
daily_status_mail_rejects_logs=0# How many logs to 
check

daily_status_mail_rejects_shorten=NO  # Shorten output

And have chnaged this in my /etc/defaults/periodic.conf:

# 460.status-mail-rejects
daily_status_mail_rejects_enable=NO   # Check mail 
rejects

daily_status_mail_rejects_logs=3# How many logs to
check
daily_status_mail_rejects_shorten=NO  # Shorten output

And am still getting all the reject mail data showing in my daily periodic
output.

I am using FreeBSD 8.0 p#3
The mta is Exim 4.69_4 built from ports.

What am I doing incorrectly? Why am I still getting all the mail reject log
lines in my daily periodic output?

-Grant


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


Re: Upgrading Apache fails - I don't understand why, exactly

2010-07-27 Thread Morgan Wesström
On 2010-07-27 23:47, Kurt Buff wrote:
 Trying to do the following on a couple of machines:
 
  # portupgrade apache-2.2.14_5
 
snip
 
 I've grepped through the port and haven't found anything that mentions this.
 
 Anyone got a clue for me?
 
 Thanks,
 
 Kurt

Check /usr/ports/UPDATING. The entry from 20100518.

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


Re: Upgrading Apache fails - I don't understand why, exactly

2010-07-27 Thread Kurt Buff
On Tue, Jul 27, 2010 at 16:14, Morgan Wesström
freebsd-questi...@pp.dyndns.biz wrote:
 On 2010-07-27 23:47, Kurt Buff wrote:
 Trying to do the following on a couple of machines:

      # portupgrade apache-2.2.14_5

 snip

 I've grepped through the port and haven't found anything that mentions this.

 Anyone got a clue for me?

 Thanks,

 Kurt

 Check /usr/ports/UPDATING. The entry from 20100518.

 Regards
 Morgan


Got it.

Thank you.

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


Re: Upgrading Apache fails - Solved

2010-07-27 Thread Kurt Buff
On Tue, Jul 27, 2010 at 16:14, Morgan Wesström
freebsd-questi...@pp.dyndns.biz wrote:
 On 2010-07-27 23:47, Kurt Buff wrote:
 Trying to do the following on a couple of machines:

      # portupgrade apache-2.2.14_5

 snip

 I've grepped through the port and haven't found anything that mentions this.

 Anyone got a clue for me?

 Thanks,

 Kurt

 Check /usr/ports/UPDATING. The entry from 20100518.

 Regards
 Morgan


I had to pkg_delete both apache22 and apr1, pkgdb -F, then reinstall
apache22, but all is well now.

Thank you again,

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


Re: Why am I getting mail rejects?

2010-07-27 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Grant Peel wrote:
 Hi everyone,
 
 I asked this a few days ago, and did not get a response.
 
 I have this in my /etc/periodic.conf:
 
 constellation# more periodic.conf
 # 460.status-mail-rejects
 daily_status_mail_rejects_enable=NO  # Check mail rejects
 daily_status_mail_rejects_logs=0# How many logs
 to check
 daily_status_mail_rejects_shorten=NO  # Shorten output
 
 And have chnaged this in my /etc/defaults/periodic.conf:
 
 # 460.status-mail-rejects
 daily_status_mail_rejects_enable=NO   # Check mail
 rejects
 daily_status_mail_rejects_logs=3# How many logs to
 check
 daily_status_mail_rejects_shorten=NO  # Shorten output
 
 And am still getting all the reject mail data showing in my daily periodic
 output.
 
 I am using FreeBSD 8.0 p#3
 The mta is Exim 4.69_4 built from ports.
 
 What am I doing incorrectly? Why am I still getting all the mail reject log
 lines in my daily periodic output?
 
 -Grant

Hi Grant,

Please capture the output of the following command and post it somewhere
for viewing.  This will display all of the shell commands executed by
the periodic script, and it may help someone here troubleshoot the problem.

sh -x /etc/periodic/daily/460.status-mail-rejects

Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMT3xy0sRouByUApARAq35AJ9Jscb9hHedbTiu3MXimj3UIiS3uQCcCOmB
xxU/f3r6jvqwZ51ji/jo4k0=
=qwGv
-END PGP SIGNATURE-

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


Re: BSD logo

2010-07-27 Thread Chad Perrin
On Tue, Jul 27, 2010 at 01:38:38PM -0500, Paul Schmehl wrote:
 
 I made no value judgments about you.

Bullshit.  You must be a troll, the way you lie to me about what you just
said -- even in the same paragraph as that lie.


 
 At a minimum, get some help for the anger issues.

You are probably not a psychologist.  If you are, you should have your
degree revoked for trying to diagnose people over the Internet based on a
minor flame war.

Get off your high horse.  It's not doing you any good.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpXBphphDY6i.pgp
Description: PGP signature


Re: autologin KDE, 8-1-RELEASE-amd64 not working

2010-07-27 Thread Antonio Olivares
On Tue, Jul 27, 2010 at 1:31 PM, Thiago Rodrigues Santos
trsant...@gmail.com wrote:
 Em Terça-feira 27 Julho 2010, às 14:58:33, Antonio Olivares escreveu:
 Dear folks,

 I am not sure why, but autologin is not working, I get authentication
 errors :(

 I setup KDE as the desktop using

 echo 'exec /usr/local/kde4/bin/startkde4'  ~/.xinitrc

 echo 'local_startup=${local_startup} /usr/local/kde4/etc/rc.d' 
 /etc/rc.conf echo 'kdm4_enable=YES'  /etc/rc.conf

 and logging in as root and using the System Settings, I chose
 autologin as myself(regular user, member of wheel/operator groups(if
 it is important))     but I get authentication error :(

 I try to login as root, but root is not allowed exept if I start in
 console mode, i,e, comment out the lines in /etc/rc.conf and I make
 changes, but cannot get autologin to work.

 I know that autologin is discouraged, but this is a home computer and
 no other person uses it execpt me, how should I fix it?

 Thank you for advice/suggestions/comments.

 Regards,

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

 Hello. If you don't have the /etc/pam.d/kde-np file, you need to create it
 with the following content:

 auth       required     pam_permit.so
 account    required     pam_nologin.so
 account    required     pam_unix.so
 session    required     pam_permit.so

 --
 Thiago Rodrigues Santos trsant...@gmail.com
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Thank you very much Thiago.  Creating the file and restarting worked :)

Now, I will try to compile some programs like mplayer.

Regards,

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


Re: BSD logo

2010-07-27 Thread perryh
Kruppa, Peter Ulrich pukru...@googlemail.com wrote:

 Pan (god of the shepherds) ... partially resembles a goat.

And thus, when a critic Pans a show, he gets the performers' goat?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [IDS-12680263] 28amen.org : trying to portinstall ffmpeg

2010-07-27 Thread John Francis Lee
I am posting this to both viaverio and the freeBSD lists because the one
suggests I get help from the other.

On 07/28/2010 09:45 AM, Mark S wrote:
 Hello John,
 
 
 Thank you for contacting Verio Technical Support.
 
 Unfortunately, we really have no expertise with ffmpeg as it's not
 software that Verio provides. The mailing lists are really the best
 place to get help. One thing you might try is to uninstall ffmpeg by
 running a make deinstall from the port's directory and then rebuild
 it now that you apparently have a good copy of xz.

I've done that,,, several times. I thought I had mentioned it... sorry.

 
 As a last resort you could simply download a binary copy of ffmpeg
 for FreeBSD 6.3 from ftp.freebsd.org. FreeBSD pkgs are installed with
 pkg_add packagename.tgz. Since you've already built the bulk of
 dependencies from ports you might run into incompatibilities with
 this method.

What about

  sudo portupgrade -faP

?

Do you see a downside there? I'm thinking that since viaverio has
apparently not maintained the port systems on its FreeBSD v6.3 servers
that they may be in a state inconsistent with the port systems on which
other ports were created.

My first attempt to install ffmpog was

 sudo portinstall ffmpeg

which downloaded a lot of code and compiled it. Maybe some was
incompatible with code already on my server? Maybe running an upgrade of
the entire ports system on my server will fix my problem?

It'll take a while, I'm sure, but I'm wasting time right now trying to
get ffmpeg installed. Of course, I don't want to break any(every)thing
else on the system!

So my question is... what do you think of

 sudo portupgrade -faP

?

 Can it hurt?
 Do you think it might help?

If I cannot do that I guess I will go to the FreeBSD archives and try to
find a binary of the ffmpeg program...

Thanks for taking the time to help me.

 
 As always, please let us know if there are any other questions or
 concerns that we can assist you with.
 
 For additional support, you can also refer to our FAQ:
 
 http://support.verio.com/
 
 
 Regards,
 
 Mark S. Verio Technical Support II email: supp...@veriohosting.com 
 Toll Free: 866-688-8374, Options 3, 2 Local/Int'l: 801-437-0210
 
  Excerpt from your message received 7/27/2010 19:43:17 MDT 
 Hello Mark S,
 
 Thanks for helping out!
 
 I had had a look at the manpage for portupgrade and saw a reference
 to
 
 pkgdb -F
 
 So I ran that I and noticed a duplicated origin for archivers/xz :
 
 Duplicated origin: archivers/xz - lzmautils-4.32.7 xz-4.999.9_1
 
 and so unregistered lzmautils-4.32.7
 
 then
 
 cd /ports/multimedia/ffmpeg sudo make deinstall sudo make install
 
 but ffmpeg still dumped core.
 
 This morning I ran
 
 [...@28amen ~/www/robinlea.com]$ pkg_info -Ix xz xz-4.999.9_1
 LZMA compression and decompression tools
 
 I also ran
 
 [...@28amen /ports/archivers/xz]$ sudo pkgdb -F ---  Checking the
 package registry database Stale origin: 'misc/ldconfig_compat':
 perhaps moved or obsoleted. - The port 'misc/ldconfig_compat' was
 removed on 2010-05-14 because: Supported releases don't need the
 port anymore - Hint:  ldconfig_compat-1.0_8 is required by the
 following package(s): p5-DBD-mysql50-3.0006 mysql-scripts-5.0.24 
 mysql-server-5.0.24 squid-2.6.12 mysql-client-5.0.24 - Hint:
 checking for overwritten files... - No files installed by
 ldconfig_compat-1.0_8 have been overwritten by other packages. 
 Deinstall ldconfig_compat-1.0_8 ? [no] Duplicated origin:
 textproc/p5-XML-LibXML - p5-XML-LibXML-1.69,1 
 p5-XML-LibXML-Common-0.13 Unregister any of them? [no] Duplicated
 origin: lang/python25 - python25-2.5.2_2 python25-2.5.4_1 
 Unregister any of them? [no] [...@28amen /ports/archivers/xz]$
 
 I ran
 
 sudo portupgrade xz, and sudo portupgrade ffmpeg
 
 The latter upgraded the port from 0.6_1,1 to 0.6_2,1
 
 [...@28amen ~/www/robinlea.com]$ pkg_info -Ix ffmpeg ffmpeg-0.6_2,1
 Realtime audio/video encoder/converter and streaming server
 
 But
 
 [...@28amen ~/www/robinlea.com]$ ffmpeg -loglevel debug -i 
 introduction.wav ...
 


-- 
This message may have been intercepted and read by U.S. government
agencies including the FBI, CIA, and NSA and/or the present government
of Thailand without notice or warrant or knowledge of sender or recipient.

John Francis Lee
246/3 Thanon Kaew Wai
Mueang Chiangrai 57000
Thailand
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


vmware and freebsd 8

2010-07-27 Thread kalin m


hi all...

messing around with vmware and fbsd 8...

has anybody used vmware esxi 4 to put a bunch of fbsd machines on it?
i also installed the vmsphere client (they call it) which is pretty nice 
interface to interact with the virtual machines but apparently doesn't 
know much on how to install vmware tools on a bsd guest.


so the question is which vmware tools should i get for the fbsd 8 guests 
to go with the esxi 4.1. in the ports there are vmware-tools6, 5, 4, 3. 
tried six. it wants some disk. there is also the open-vmware-tools. is 
that open one better to play with the esxi 4.1 an the vmsphere thing?


also is there anything better than vmware for virtualization that plays 
nice and with fbsd?


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


Re: Real-Time Video Recording (ionice equivalent)

2010-07-27 Thread Debacker
On Tue, Jul 27, 2010 at 10:52 PM, Adam Vande More amvandem...@gmail.comwrote:

 On Tue, Jul 27, 2010 at 2:29 PM, Debacker deback...@gmail.com wrote:

 Of course, just like you could put real-time processes in one CPU, and
 normal processes on another to avoid implement complex algorithms.
 While your solution is pragmatic, I would like to know if there are
 clean
 ways to do it. If not, this would be a documented use case to why would
 anyone actually need an I/O scheduler.


 First, top-posting on this list is considered rude.  Please don't do that.


Sorry, I didn't want to hurt anyone, I just didn't know the traditions of
this mailing-list, I'll be careful from now on.

If you're running 8.1, try man gsched, it's new and haven't tried it.


Excellent! I can use 8.1, it's for a new setup.


 Other than that, the traditional way would be to give higher priority to
 the process that needs it.  It's the poor man's io scheduler, but it
 generally does work well.

 If you have lots of concurrent io and are running a UFS file-system,
 consider running gjournal as it scales those requests better.

 Also if you're hardware supports it, NCQ is available via the ahci and a
 few other modules.  It will make your requests more efficient.


Thank you for your tips. I'm happy that I will be able to use FreeBSD for
this job.

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


Re: Upgrading Apache fails - Solved

2010-07-27 Thread Zbigniew Szalbot
Hello,

 I had to pkg_delete both apache22 and apr1, pkgdb -F, then reinstall
 apache22, but all is well now.

I followed the original suggestions from UPDATING

1. pkg_delete -f apache-2.\*
2. portupgrade -f -o devel/apr1 devel/apr
3. portinstall www/apache22

However, I get the following then:

checking for APR... configure: error: the --with-apr parameter is
incorrect. It must specify an install prefix, a build directory, or an
apr-config file.
===  Script configure failed unexpectedly.
Please report the problem to apa...@freebsd.org [maintainer] and attach the
/usr/ports/www/apache22/work/httpd-2.2.16/config.log including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/www/apache22.
*** Error code 1

Stop in /usr/ports/www/apache22.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portinstall20100728-30282-trybeq-0 env make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! www/apache22  (configure error)

When I check pkg_info -Ix apr, I get:

pkg_info -Ix apr
apr-ipv6-devrandom-gdbm-db42-mysql50-1.4.2.1.3.9_1 Apache Portability Library
xf86dgaproto-2.0.3  XFree86-DGA extension headers
xineramaproto-1.1.2 Xinerama extension headers

Do you think I should delete the apr port before attempting to install
apache again?

Thank you!


-- 
Zbigniew Szalbot
www.slowo.pl
www.fairtrade.net.pl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org