Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)

2008-07-05 Thread Nejc Škoberne

Hey,


Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7?
If you did, at least I'd know that it _is_ possible :s


It is possible, although I haven't used this on FreeBSD 7.0 yet (only on 5.x
and 6.x releases).

I'd also try this:

mkdir /mnttest
mount -t ext2fs /dev/ad0s8 /mnttest
ls /mnttest
file /mnttest
ls -la / | grep mnttest

and maybe also:

fdisk /dev/ad0

Bye,
Nejc



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


Re: geom_raid5

2008-07-05 Thread Wojciech Puchar

thanks


On Fri, 4 Jul 2008, Nejc Škoberne wrote:


where to get the source?


http://perforce.freebsd.org/depotTreeBrowser.cgi?FSPC=//depot/user/riddick

Looks like the site where I got it from
(http://home.tiscali.de/cmdr_faako/geom_raid5-eff.tbz) doesn't exist anymore.

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

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

pw: user disappeared during update

2008-07-05 Thread Unga
Hi all

pwd_mkdb -C master_passwd_template
No errors

pwd_mkdb -p master_passwd_template

pw useradd -n test -u 1000 -c Test -m -M 0700 -s /bin/bash
pw: user 'test' disappeared during update

It has updated the /etc/group as follows:
test:*:1000:

But no test user entry in /etc/passwd or /etc/master.passwd.

What else is needed to the pw to add a user successfully?

Appreciate your reply very much.

Kind regards
Unga



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


Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)

2008-07-05 Thread Gonzalo Nemmi
On Saturday 05 July 2008 01:37:26 Ryan Coleman wrote:
 Gonzalo Nemmi wrote:
  On Friday 04 July 2008 22:58:18 you wrote:
  Gonzalo Nemmi wrote:
  Could somebody please throw me a pointer ...
  i have followed every instruction on every book and/or how-to ... yet
  ...
 
  What am I doing wrong??
 
  [EMAIL PROTECTED]:~ # uname -sr
  FreeBSD 7.0-RELEASE
  [EMAIL PROTECTED]:~ # kldstat
  Id Refs AddressSize Name
   1   10 0xc040 4dd878   kernel
   21 0xc08de000 7559b0   nvidia.ko
   31 0xc1034000 6721cacpi.ko
   41 0xc4a2e000 4000 logo_saver.ko
   51 0xc5884000 1ext2fs.ko
  [EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s8 /mnt/
  [EMAIL PROTECTED]:~ # ls /mnt
  ls: /mnt: Bad file descriptor
  [EMAIL PROTECTED]:~ # cd /mnt
  /mnt: Not a directory.
  [EMAIL PROTECTED]:~ # umount /mnt
  [EMAIL PROTECTED]:~ # cd /mnt
  [EMAIL PROTECTED]:/mnt # mount -t ext2fs /dev/ad0s8 .
  [EMAIL PROTECTED]:/mnt # ls
  ls: .: Not a directory
  [EMAIL PROTECTED]:/mnt # cd ~
  [EMAIL PROTECTED]:~ # umount /mnt
  [EMAIL PROTECTED]:~ # file /mnt/
  /mnt/: directory
  [EMAIL PROTECTED]:~ # cd /mnt
  [EMAIL PROTECTED]:/mnt # ls
  [EMAIL PROTECTED]:/mnt #
 
  dmesg says _nothing_
  _Any_ hint will be more than welcome :)
 
  What does /var/log/messages say when you run mount -t ext2fs?
 
  Hi Ryan!
  And thanks for your help :)
 
  Unfortunately, just as much as dmesg, /var/log/messages says nothing :s
  Look:
 
  [EMAIL PROTECTED]:~ # date
  Sat Jul  5 00:39:39 ART 2008
  [EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s8 /mnt/
  [EMAIL PROTECTED]:~ # ls /mnt
  ls: /mnt: Bad file descriptor
  [EMAIL PROTECTED]:~ # cd /mnt
  /mnt: Not a directory.
  [EMAIL PROTECTED]:~ # cat /var/log/messages | tail -5
  Jul  4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2
  Jul  4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17,
  cmd=0x5801 ('X',1) is not implemented
  Jul  4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on
  signal 11
  Jul  4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3
  Jul  5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2
  [EMAIL PROTECTED]:~ # umount /mnt
  [EMAIL PROTECTED]:~ # cat /var/log/messages | tail -5
  Jul  4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2
  Jul  4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17,
  cmd=0x5801 ('X',1) is not implemented
  Jul  4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on
  signal 11
  Jul  4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3
  Jul  5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2
  [EMAIL PROTECTED]:~ #
 
  Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7?
  If you did, at least I'd know that it _is_ possible :s
 
  Thanks  :)

 No, I thought maybe there was something there I could help with I
 haven't used ext/ext2/ext3 since I dumped RHL in 2003.

Sure, i understand ...
Thanks for your help anyways :)

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


Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)

2008-07-05 Thread Gonzalo Nemmi
On Saturday 05 July 2008 03:24:53 Nejc Škoberne wrote:
 Hey,

  Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7?
  If you did, at least I'd know that it _is_ possible :s

 It is possible, although I haven't used this on FreeBSD 7.0 yet (only on
 5.x and 6.x releases).

 I'd also try this:

 mkdir /mnttest
 mount -t ext2fs /dev/ad0s8 /mnttest
 ls /mnttest
 file /mnttest
 ls -la / | grep mnttest

 and maybe also:

 fdisk /dev/ad0

 Bye,
 Nejc

No luck :(
Exactly the same results ...

Just in case you can see something that I don't, here you go:

[EMAIL PROTECTED]:~ # fdisk /dev/ad0
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=387621 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=387621 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 131 (0x83),(Linux native)
start 63, size 102398247 (4 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 5 (0x05),(Extended DOS)
start 102398310, size 106446690 (51975 Meg), flag 0
beg: cyl 1023/ head 0/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 208845000, size 41929650 (20473 Meg), flag 0
beg: cyl 1023/ head 0/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
start 250774650, size 139926150 (68323 Meg), flag 80 (active)
beg: cyl 1023/ head 0/ sector 1;
end: cyl 1023/ head 254/ sector 63
[EMAIL PROTECTED]:~ # 

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


Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)

2008-07-05 Thread Roland Smith
On Sat, Jul 05, 2008 at 05:46:09AM -0300, Gonzalo Nemmi wrote:
 On Saturday 05 July 2008 03:24:53 Nejc Škoberne wrote:
  Hey,
 
   Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7?
   If you did, at least I'd know that it _is_ possible :s
 
  It is possible, although I haven't used this on FreeBSD 7.0 yet (only on
  5.x and 6.x releases).
 
  I'd also try this:
 
  mkdir /mnttest
  mount -t ext2fs /dev/ad0s8 /mnttest
  ls /mnttest
  file /mnttest
  ls -la / | grep mnttest
 
  and maybe also:
 
  fdisk /dev/ad0
 
  Bye,
  Nejc
 
 No luck :(
 Exactly the same results ...
 
 Just in case you can see something that I don't, here you go:
 
 [EMAIL PROTECTED]:~ # fdisk /dev/ad0
 *** Working on device /dev/ad0 ***
 parameters extracted from in-core disklabel are:
 cylinders=387621 heads=16 sectors/track=63 (1008 blks/cyl)
 
 Figures below won't work with BIOS for partitions not in cyl 1
 parameters to be used for BIOS calculations are:
 cylinders=387621 heads=16 sectors/track=63 (1008 blks/cyl)
 
 Media sector size is 512
 Warning: BIOS sector numbering starts with sector 1
 Information from DOS bootblock is:
 The data for partition 1 is:
 sysid 131 (0x83),(Linux native)
 start 63, size 102398247 (4 Meg), flag 0
 beg: cyl 0/ head 1/ sector 1;
 end: cyl 1023/ head 254/ sector 63

Looks like you should try mount -t ext2fs /dev/ad0s1 /mnt

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpjr3mfTxXGD.pgp
Description: PGP signature


Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)

2008-07-05 Thread Nejc Škoberne

Hey,


ls -la / | grep mnttest


Can you paste output of this command?


sysid 5 (0x05),(Extended DOS)
start 102398310, size 106446690 (51975 Meg), flag 0
beg: cyl 1023/ head 0/ sector 1;
end: cyl 1023/ head 254/ sector 63


So the partition you're trying to mount is under an extended partition.
Can you do ls -la /dev/ad0* and provide us with the output?

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


Passive cooling problem with Athlon CPU

2008-07-05 Thread Mike Clarke
I'm running 6.3STABLE with an AMD 4850e Athlon X2 and occasionally get 
the following message on the console:

acpi_tz0: failed to set new freq, disabling passive cooling

I also see the following 2 messages immediately after devd starts every 
time I boot (and which don't appear in any log file):

hw.acpi.cpu.cx_lowest: C1
sysctl: hw.acpi.cpu.cx_lowest: Invalid argument

Should I be concerned about this and, if so, what should I do?

The CPU info from dmesg:

Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights 
reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.3-STABLE #0: Mon Jun 30 13:32:39 BST 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP
ACPI APIC Table: Nvidia NVDAACPI
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Processor model unknown (2410.99-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x60fb2  Stepping = 2
  
Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PS
E36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT
  Features2=0x2001SSE3,CX16
  AMD Features=0xea500800SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!
+,3DNow!
  AMD Features2=0x11fLAHF,CMP,SVM,ExtAPIC,CR8,Prefetch
  Cores per package: 2
real memory  = 2080309248 (1983 MB)
avail memory = 2017738752 (1924 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 Version 1.1 irqs 0-23 on motherboard

... and output from grep acpi /var/run/dmesg.boot

acpi0: Nvidia NVDAACPI on motherboard
acpi0: Power Button (fixed)
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
acpi_hpet0: High Precision Event Timer iomem 0xfeff-0xfeff03ff on 
acpi0
device_attach: acpi_hpet0 attach returned 12
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
acpi_tz0: Thermal Zone on acpi0
fdc0: floppy drive controller port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on 
acpi0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0
sio1: Generic IRDA-compatible device port 0x2f8-0x2ff irq 3 on acpi0
ppc0: Standard parallel printer port port 0x378-0x37f irq 7 on acpi0
atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
acpi_hpet0: High Precision Event Timer iomem 0xfeff-0xfeff03ff on 
acpi0
device_attach: acpi_hpet0 attach returned 12

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


FreeBSD 7.0 and RAM limit

2008-07-05 Thread Robert Heron

Hi,

I use:

FreeBSD 7.0-R on i386 server with motherboard S5000VSA and 6GB RAM  
onboard. BIOS version - 88 (the latest)


Kernel includes: optionsMAXMEM=(6*1024*1024)

And FreeBSD reports only:

real memory  = 2680160256 (2556 MB)
avail memory = 2617892864 (2496 MB)

Why? What is wrong that FreeBSD sees only about 2.5GB instead of 6GB?

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


Re: FreeBSD 7.0 and RAM limit

2008-07-05 Thread Kris Kennaway

Robert Heron wrote:

Hi,

I use:

FreeBSD 7.0-R on i386 server with motherboard S5000VSA and 6GB RAM 
onboard. BIOS version - 88 (the latest)


Kernel includes: optionsMAXMEM=(6*1024*1024)



And FreeBSD reports only:

real memory  = 2680160256 (2556 MB)
avail memory = 2617892864 (2496 MB)

Why? What is wrong that FreeBSD sees only about 2.5GB instead of 6GB?


The i386 architecture cannot address more than 4GB (== 2^32) of RAM 
unless you use PAE (i.e. the PAE kernel).  You don't need to set MAXMEM 
either, since it's autodetected.


Kris

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


Re: FreeBSD 7.0 and RAM limit

2008-07-05 Thread Wojciech Puchar

use amd64


On Sat, 5 Jul 2008, Robert Heron wrote:


Hi,

I use:

FreeBSD 7.0-R on i386 server with motherboard S5000VSA and 6GB RAM onboard. 
BIOS version - 88 (the latest)


Kernel includes: optionsMAXMEM=(6*1024*1024)

And FreeBSD reports only:

real memory  = 2680160256 (2556 MB)
avail memory = 2617892864 (2496 MB)

Why? What is wrong that FreeBSD sees only about 2.5GB instead of 6GB?

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


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


Sed in FreeBSD

2008-07-05 Thread Sebastian Tymków
Hi,

I'm trying to use sed in script to append file after pattern but I couldn't
find any good example
how can I do it.
I've tried with sed -e '/PATTERN/ a\ line' file but this did'n work. There
are many axamples in internet but none
of them work on FreeBSD.

Best regards,

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


Firefox 3 for FreeBSD 7.0 release

2008-07-05 Thread dfeustel
I downloaded the firefox*gz file from devel but it doesn't make for
64-bit.  Is Firefox 3 available for 64-bit AMD FreeBSD 7.0?

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


Re: Firefox 3 for FreeBSD 7.0 release

2008-07-05 Thread Roland Smith
On Sat, Jul 05, 2008 at 02:27:42PM +, [EMAIL PROTECTED] wrote:
 I downloaded the firefox*gz file from devel but it doesn't make for
 64-bit.  Is Firefox 3 available for 64-bit AMD FreeBSD 7.0?

It builds fine from ports on amd64 7-STABLE. Use the port www/firefox3.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpn6I1g2TWau.pgp
Description: PGP signature


Re: Sed in FreeBSD

2008-07-05 Thread andrew clarke
On Sat 2008-07-05 16:06:39 UTC+0200, Sebastian Tymk?w ([EMAIL PROTECTED]) wrote:

 I'm trying to use sed in script to append file after pattern but I couldn't
 find any good example how can I do it.
 I've tried with sed -e '/PATTERN/ a\ line' file but this did'n work. There
 are many axamples in internet but none of them work on FreeBSD.

I'm not too familiar with sed and so am unsure what you're trying to.

It looks as though BSD sed is supplied with in the FreeBSD base
system.  You might want to try GNU sed instead.  It's in the Ports
tree - textproc/gsed.

If neither of them work for you then you've probably made a mistake
with your input.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sed in FreeBSD

2008-07-05 Thread Sahil Tandon
Sebastian Tymk?w [EMAIL PROTECTED] wrote:

 I'm trying to use sed in script to append file after pattern but I couldn't
 find any good example
 how can I do it.

Based on sed(1), I think you need something like:

sed '/PATTERN/ r file' 

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


Re: Sed in FreeBSD

2008-07-05 Thread James Bailie

Sebastian Tymków wrote:


I've tried with sed -e '/PATTERN/ a\ line' file but this did'n work. There
are many axamples in internet but none
of them work on FreeBSD.


The inserted line needs to be on a separate physical line.

sed -e '/PATTERN/a\
line'

For /bin/csh, you need two backslashes because the shell recognizes
backslashes inside single-quotes, which it shouldn't.

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


Re: Firefox 3 for FreeBSD 7.0 release

2008-07-05 Thread dfeustel
On Sat, Jul 05, 2008 at 04:40:35PM +0200, Roland Smith wrote:
 On Sat, Jul 05, 2008 at 02:27:42PM +, [EMAIL PROTECTED] wrote:
  I downloaded the firefox*gz file from devel but it doesn't make for
  64-bit.  Is Firefox 3 available for 64-bit AMD FreeBSD 7.0?
 
 It builds fine from ports on amd64 7-STABLE. Use the port www/firefox3.
 
 Roland

I'm running 7.0-release. I ran portsnap and then porsnap extract.
Then I cd'd to the firefox3 subdirectory and ran make. Make aborted with
the message that it could not find -lgio-2.0. I checked the Freebsd
ports tree and found gio-2.16. I downloaded it and ran make, but that
make aborted with the same message as the make of firefox3.

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


Re: mount_nfs not accepting syntax specified by its usage complaint

2008-07-05 Thread Mel
On Saturday 05 July 2008 04:10:44 [EMAIL PROTECTED] wrote:
 How does this command:

 # mount_nfs -dis -g 8 -I 512 -R 3 -r 512 -w 512 solomon:/var/spool/uucp
 /solomon/uucp

 not comply with the resulting usage complaint?

 usage: mount_nfs [-234bcdiLlNPsTU] [-a maxreadahead] [-D deadthresh]
  [-g maxgroups] [-I readdirsize] [-o options] [-R retrycnt]
  [-r readsize] [-t timeout] [-w writesize] [-x retrans]
  rhost:path node

See ~ line 346 in /usr/src/sbin/mount_nfs/mount_nfs.c, in short:
option 'g' has been removed temporarily, but usage() hasn't been updated 
accordingly.


-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Passive cooling problem with Athlon CPU

2008-07-05 Thread Mel
On Saturday 05 July 2008 13:12:19 Mike Clarke wrote:
 I'm running 6.3STABLE with an AMD 4850e Athlon X2 and occasionally get
 the following message on the console:

 acpi_tz0: failed to set new freq, disabling passive cooling

 I also see the following 2 messages immediately after devd starts every
 time I boot (and which don't appear in any log file):

 hw.acpi.cpu.cx_lowest: C1
 sysctl: hw.acpi.cpu.cx_lowest: Invalid argument

And your /etc/sysctl.conf where you set this value? If it's not set by you, it 
may be set by /etc/rc.d/power_profile based on your /etc/rc.conf.
Try to get the 'untainted' output of `sysctl hw.acpi':
0) reboot into single user
1) # fsck -p /
2) # mount -u /
3) # sysctl hw.acpi /tmp/acpi.sysctl
4) # exit

Then post /tmp/acpi.sysctl. My guess is no Cx values are obtained from the 
acpi, not even C1 (which is normal operation mode). This may or may not be 
related to your failing high precision timer.



-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox 3 for FreeBSD 7.0 release

2008-07-05 Thread Mel
On Saturday 05 July 2008 17:56:00 [EMAIL PROTECTED] wrote:
 On Sat, Jul 05, 2008 at 04:40:35PM +0200, Roland Smith wrote:
  On Sat, Jul 05, 2008 at 02:27:42PM +, [EMAIL PROTECTED] wrote:
   I downloaded the firefox*gz file from devel but it doesn't make for
   64-bit.  Is Firefox 3 available for 64-bit AMD FreeBSD 7.0?
 
  It builds fine from ports on amd64 7-STABLE. Use the port www/firefox3.
 
  Roland

 I'm running 7.0-release. I ran portsnap and then porsnap extract.
 Then I cd'd to the firefox3 subdirectory and ran make. Make aborted with
 the message that it could not find -lgio-2.0. I checked the Freebsd
 ports tree and found gio-2.16. I downloaded it and ran make, but that
 make aborted with the same message as the make of firefox3.

Your gnome2 is outof sync. Read:
/usr/bin/less -p 20080323 /usr/ports/UPDATING
/usr/bin/less -p 20080630 /usr/ports/UPDATING

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox 3 for FreeBSD 7.0 release

2008-07-05 Thread dfeustel
On Sat, Jul 05, 2008 at 06:12:15PM +0200, Mel wrote:
 On Saturday 05 July 2008 17:56:00 [EMAIL PROTECTED] wrote:
  On Sat, Jul 05, 2008 at 04:40:35PM +0200, Roland Smith wrote:
   On Sat, Jul 05, 2008 at 02:27:42PM +, [EMAIL PROTECTED] wrote:
I downloaded the firefox*gz file from devel but it doesn't make for
64-bit.  Is Firefox 3 available for 64-bit AMD FreeBSD 7.0?
  
   It builds fine from ports on amd64 7-STABLE. Use the port www/firefox3.
  
   Roland
 
  I'm running 7.0-release. I ran portsnap and then porsnap extract.
  Then I cd'd to the firefox3 subdirectory and ran make. Make aborted with
  the message that it could not find -lgio-2.0. I checked the Freebsd
  ports tree and found gio-2.16. I downloaded it and ran make, but that
  make aborted with the same message as the make of firefox3.
 
 Your gnome2 is outof sync. Read:
 /usr/bin/less -p 20080323 /usr/ports/UPDATING
 /usr/bin/less -p 20080630 /usr/ports/UPDATING
 
 -- 
 Mel

Unfortunately there is no subdirectory /usr/ports/UPDATING on my system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox 3 for FreeBSD 7.0 release

2008-07-05 Thread Duane Hill

On Sat, 5 Jul 2008, [EMAIL PROTECTED] wrote:


On Sat, Jul 05, 2008 at 06:12:15PM +0200, Mel wrote:

On Saturday 05 July 2008 17:56:00 [EMAIL PROTECTED] wrote:

On Sat, Jul 05, 2008 at 04:40:35PM +0200, Roland Smith wrote:

On Sat, Jul 05, 2008 at 02:27:42PM +, [EMAIL PROTECTED] wrote:

I downloaded the firefox*gz file from devel but it doesn't make for
64-bit.  Is Firefox 3 available for 64-bit AMD FreeBSD 7.0?


It builds fine from ports on amd64 7-STABLE. Use the port www/firefox3.

Roland


I'm running 7.0-release. I ran portsnap and then porsnap extract.
Then I cd'd to the firefox3 subdirectory and ran make. Make aborted with
the message that it could not find -lgio-2.0. I checked the Freebsd
ports tree and found gio-2.16. I downloaded it and ran make, but that
make aborted with the same message as the make of firefox3.


Your gnome2 is outof sync. Read:
/usr/bin/less -p 20080323 /usr/ports/UPDATING
/usr/bin/less -p 20080630 /usr/ports/UPDATING

--
Mel


Unfortunately there is no subdirectory /usr/ports/UPDATING on my system.


It's not a sub-directory, it is a file:

  %ls -l /usr/ports/UPDATING
  -rw-r--r--  1 root  wheel  240302 Jun 13 04:00 /usr/ports/UPDATING
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox 3 for FreeBSD 7.0 release

2008-07-05 Thread Manolis Kiagias

[EMAIL PROTECTED] wrote:

On Sat, Jul 05, 2008 at 06:12:15PM +0200, Mel wrote:
  

On Saturday 05 July 2008 17:56:00 [EMAIL PROTECTED] wrote:


On Sat, Jul 05, 2008 at 04:40:35PM +0200, Roland Smith wrote:
  

On Sat, Jul 05, 2008 at 02:27:42PM +, [EMAIL PROTECTED] wrote:


I downloaded the firefox*gz file from devel but it doesn't make for
64-bit.  Is Firefox 3 available for 64-bit AMD FreeBSD 7.0?
  

It builds fine from ports on amd64 7-STABLE. Use the port www/firefox3.

Roland


I'm running 7.0-release. I ran portsnap and then porsnap extract.
Then I cd'd to the firefox3 subdirectory and ran make. Make aborted with
the message that it could not find -lgio-2.0. I checked the Freebsd
ports tree and found gio-2.16. I downloaded it and ran make, but that
make aborted with the same message as the make of firefox3.
  

Your gnome2 is outof sync. Read:
/usr/bin/less -p 20080323 /usr/ports/UPDATING
/usr/bin/less -p 20080630 /usr/ports/UPDATING

--
Mel



Unfortunately there is no subdirectory /usr/ports/UPDATING on my system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  


UPDATING is not a directory, it is a text file in /usr/ports, and if you 
are missing it, something went terribly wrong when you fetched the ports 
tree.

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


Konqueror UNICODE fonts

2008-07-05 Thread Ghirai
Hello list.

I'm running KDE 3.5.8 from ports.

Konqueror doesn't seem to want to display unicode fonts properly; i get boxes 
instead, even though i set the encoding to UTF-8.

The same seem to be with text editors and such.

Any indeas?

Thanks.

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


Re: Firefox 3 for FreeBSD 7.0 release

2008-07-05 Thread dfeustel
On Sat, Jul 05, 2008 at 07:31:28PM +0300, Manolis Kiagias wrote:
 [EMAIL PROTECTED] wrote:
 On Sat, Jul 05, 2008 at 06:12:15PM +0200, Mel wrote:
   
 On Saturday 05 July 2008 17:56:00 [EMAIL PROTECTED] wrote:
 
 On Sat, Jul 05, 2008 at 04:40:35PM +0200, Roland Smith wrote:
   
 On Sat, Jul 05, 2008 at 02:27:42PM +, [EMAIL PROTECTED] 
 wrote:
 
 I downloaded the firefox*gz file from devel but it doesn't make for
 64-bit.  Is Firefox 3 available for 64-bit AMD FreeBSD 7.0?
   
 It builds fine from ports on amd64 7-STABLE. Use the port www/firefox3.

 Roland
 
 I'm running 7.0-release. I ran portsnap and then porsnap extract.
 Then I cd'd to the firefox3 subdirectory and ran make. Make aborted with
 the message that it could not find -lgio-2.0. I checked the Freebsd
 ports tree and found gio-2.16. I downloaded it and ran make, but that
 make aborted with the same message as the make of firefox3.
   
 Your gnome2 is outof sync. Read:
 /usr/bin/less -p 20080323 /usr/ports/UPDATING
 /usr/bin/less -p 20080630 /usr/ports/UPDATING

 -- 
 Mel
 

 Unfortunately there is no subdirectory /usr/ports/UPDATING on my system.
 ___

 UPDATING is not a directory, it is a text file in /usr/ports, and if you 
 are missing it, something went terribly wrong when you fetched the ports 
 tree.
 ___

/usr/ports/UPDATING is not shown by ls.  My original install of the
ports tree was from the 7.0 release on DVD.  Then today I ran portsnap
and portsnap extract. portsnap extract reported 5 new ports. How to find
out their names?

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


Re: Firefox 3 for FreeBSD 7.0 release

2008-07-05 Thread YANSWBVCG
On Sat, Jul 05, 2008 at 04:47:29PM +, [EMAIL PROTECTED] wrote:
 On Sat, Jul 05, 2008 at 07:31:28PM +0300, Manolis Kiagias wrote:
  [EMAIL PROTECTED] wrote:
  On Sat, Jul 05, 2008 at 06:12:15PM +0200, Mel wrote:

  On Saturday 05 July 2008 17:56:00 [EMAIL PROTECTED] wrote:
  
  On Sat, Jul 05, 2008 at 04:40:35PM +0200, Roland Smith wrote:

  On Sat, Jul 05, 2008 at 02:27:42PM +, [EMAIL PROTECTED] 
  wrote:
  
  I downloaded the firefox*gz file from devel but it doesn't make for
  64-bit.  Is Firefox 3 available for 64-bit AMD FreeBSD 7.0?

  It builds fine from ports on amd64 7-STABLE. Use the port www/firefox3.
 
  Roland
  
  I'm running 7.0-release. I ran portsnap and then porsnap extract.
  Then I cd'd to the firefox3 subdirectory and ran make. Make aborted with
  the message that it could not find -lgio-2.0. I checked the Freebsd
  ports tree and found gio-2.16. I downloaded it and ran make, but that
  make aborted with the same message as the make of firefox3.

  Your gnome2 is outof sync. Read:
  /usr/bin/less -p 20080323 /usr/ports/UPDATING
  /usr/bin/less -p 20080630 /usr/ports/UPDATING
 
  -- 
  Mel
  
 
  Unfortunately there is no subdirectory /usr/ports/UPDATING on my system.
  ___
 
  UPDATING is not a directory, it is a text file in /usr/ports, and if you 
  are missing it, something went terribly wrong when you fetched the ports 
  tree.
  ___
 
 /usr/ports/UPDATING is not shown by ls.  My original install of the
 ports tree was from the 7.0 release on DVD.  Then today I ran portsnap
 and portsnap extract. portsnap extract reported 5 new ports. How to find
 out their names?
 
 Thanks.
 ___

My Mistake! I got confused about which BSD system I was running on.
The UPDATING file is present on the FreeBSD system.
It may be time for me to make FreeBSD my main machine.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Passive cooling problem with Athlon CPU

2008-07-05 Thread Mike Clarke
On Saturday 05 July 2008, Mel wrote:

 And your /etc/sysctl.conf where you set this value? If it's not set
 by you, it may be set by /etc/rc.d/power_profile based on your
 /etc/rc.conf.

It's not set by me. All I have in /etc/sysctl.conf is:

vfs.usermount=1
kern.ipc.shmmax=67108864
kern.ipc.shmall=32768

And, in case it helps, here's /etc/rc.conf:

defaultrouter=192.168.1.138
hostname=curlew.lan
ifconfig_nve0=inet 192.168.1.13  netmask 255.255.255.0
keymap=uk.iso
moused_enable=YES
linux_enable=YES
scrnmap=NO
sshd_enable=YES
apache_enable=YES
mysql_enable=YES
inetd_enable=YES
sendmail_enable=NO
sendmail_submit_enable=NO
sendmail_outbound_enable=NO
sendmail_msp_queue_enable=NO
exim_enable=YES
anacron_enable=YES
samba_enable=YES
cupsd_enable=YES
ntpd_enable=YES
ntpd_sync_on_start=YES
lptcontrol_enable=YES
background_fsck=NO
named_enable=YES
spamd_enable=YES
spamd_flags=-c -u spamd -H /var/spool/spamd
dumpdir=/usr/crash
devfs_system_ruleset=system
local_startup=/usr/local/etc/rc.d

 Try to get the 'untainted' output of `sysctl hw.acpi': 
 0) reboot into single user
 1) # fsck -p /
 2) # mount -u /
 3) # sysctl hw.acpi /tmp/acpi.sysctl
 4) # exit

 Then post /tmp/acpi.sysctl. My guess is no Cx values are obtained
 from the acpi, not even C1 (which is normal operation mode). This
 may or may not be related to your failing high precision timer.

Here's the output from single user mode:

hw.acpi.supported_sleep_state: S1 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: NONE
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 1
hw.acpi.s4bios: 0
hw.acpi.verbose: 0
hw.acpi.disable_on_reboot: 0
hw.acpi.handle_reboot: 0
hw.acpi.reset_video: 0
hw.acpi.cpu.cx_lowest: C1
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 10
hw.acpi.thermal.user_override: 0
hw.acpi.thermal.tz0.temperature: 51.0C
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.passive_cooling: 1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: 68.0C
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 70.0C
hw.acpi.thermal.tz0._ACx: 68.0C -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz0._TC1: 4
hw.acpi.thermal.tz0._TC2: 3
hw.acpi.thermal.tz0._TSP: 60

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


inetd on FreeBSD 7.0-STABLE

2008-07-05 Thread Jack Raats
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Inetd gives the following error:
Jul  5 19:45:17 orac inetd[770]: nntp from 192.168.1.101 exceeded counts/min 
(limit 60/min)
Is it possible to increase the limit and how?

Jack
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32) - GPGrelay v0.959

iD8DBQFIb7PpPh5RwW/NzC4RAvUXAKCZZ8+O6XI7Pp8bIoJ1cJl5GAt7XACeNj3f
A/ouM6uL9n1j37PfrhK/vxY=
=dPBG
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: httpd php dump

2008-07-05 Thread Chuck Swiger

kalin m wrote:
[ ... ]
i suspect the apache so module..  but not really sure  executing 
php files on the cli is working fine to.. it must be the so...
httpd and php are supposed to just work together.  that's why core 
dump without any messages is a bit weired.


supposed to is the key phrase.

I've seen similar issues before; sometimes, rearranging the order that PHP 
modules get loaded helps.  Otherwise, try deleting and re-building PHP and the 
extensions and all dependencies you need.


This is something that the lang/php*  corresponding php*-extensions ports 
handle well...


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


Re: inetd on FreeBSD 7.0-STABLE

2008-07-05 Thread Rodrigo Gonzalez
Jack Raats wrote:
 Inetd gives the following error:
 Jul  5 19:45:17 orac inetd[770]: nntp from 192.168.1.101 exceeded counts/min 
 (limit 60/min)
 Is it possible to increase the limit and how?
 
 Jack
_
man inetd

check -c, -C and -R optionsfor defaults

or max-child and max-connections-per-ip-per-minute for each service (I
dont find how to define -R option for each service)

Best regards

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


Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)

2008-07-05 Thread Gonzalo Nemmi
On Saturday 05 July 2008 06:01:36 you wrote:
 Hey,

  ls -la / | grep mnttest

 Can you paste output of this command?

  sysid 5 (0x05),(Extended DOS)
  start 102398310, size 106446690 (51975 Meg), flag 0
  beg: cyl 1023/ head 0/ sector 1;
  end: cyl 1023/ head 254/ sector 63

 So the partition you're trying to mount is under an extended partition.
 Can you do ls -la /dev/ad0* and provide us with the output?

 Bye,
 Nejc

Sure thing !
Here you go:

[EMAIL PROTECTED]:~ # ls -la /dev/ad0*
crw-r-  1 root  operator0,  80 Jul  3 20:27 /dev/ad0
crw-r-  1 root  operator0,  81 Jul  3 20:27 /dev/ad0s1
crw-r-  1 root  operator0,  82 Jul  3 20:27 /dev/ad0s2
crw-r-  1 root  operator0,  83 Jul  3 20:27 /dev/ad0s3
crw-r-  1 root  operator0,  90 Jul  3 22:27 /dev/ad0s3a
crw-r-  1 root  operator0,  91 Jul  3 22:27 /dev/ad0s3b
crw-r-  1 root  operator0,  92 Jul  3 20:27 /dev/ad0s3c
crw-r-  1 root  operator0,  93 Jul  3 22:27 /dev/ad0s3d
crw-r-  1 root  operator0,  94 Jul  3 22:27 /dev/ad0s3e
crw-r-  1 root  operator0,  95 Jul  3 22:27 /dev/ad0s3f
crw-r-  1 root  operator0,  84 Jul  3 20:27 /dev/ad0s4
crw-r-  1 root  operator0,  86 Jul  3 20:27 /dev/ad0s5
crw-r-  1 root  operator0,  87 Jul  3 20:27 /dev/ad0s6
crw-r-  1 root  operator0,  88 Jul  3 20:27 /dev/ad0s7
crw-r-  1 root  operator0,  89 Jul  3 20:27 /dev/ad0s8
[EMAIL PROTECTED]:~ # mkdir /mnttest
[EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s8 /mnttest
[EMAIL PROTECTED]:~ # ls /mnttest
ls: /mnttest: Bad file descriptor
[EMAIL PROTECTED]:~ # file /mnttest
/mnttest: cannot open `/mnttest' (Bad file descriptor)
[EMAIL PROTECTED]:~ # ls -la / | grep mnttest
ls: mnttest: Bad file descriptor
[EMAIL PROTECTED]:~ # dmesg | tail -5
re0: link state changed to DOWN
re0: link state changed to UP
pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full
linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented
pid 8511 (doom.x86), uid 1001: exited on signal 11
[EMAIL PROTECTED]:~ # umount /mnttest
[EMAIL PROTECTED]:~ # dmesg | tail -5
re0: link state changed to DOWN
re0: link state changed to UP
pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full
linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented
pid 8511 (doom.x86), uid 1001: exited on signal 11
[EMAIL PROTECTED]:~ # 

Thanks a lot for your help and interest :)
-- 
Blessings
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)

2008-07-05 Thread Gonzalo Nemmi
On Saturday 05 July 2008 05:59:42 Roland Smith wrote:
 mount -t ext2fs /dev/ad0s1 /mnt

[EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s1 /mnt
[EMAIL PROTECTED]:~ # ls /mnt
ls: /mnt: Bad file descriptor
[EMAIL PROTECTED]:~ # ls -la / | grep /mnt
ls: mnt: Bad file descriptor
[EMAIL PROTECTED]:~ # dmesg | tail -5
re0: link state changed to DOWN
re0: link state changed to UP
pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full
linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented
pid 8511 (doom.x86), uid 1001: exited on signal 11
[EMAIL PROTECTED]:~ #  

Thanks for your help Roland :)

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


Why would it make such a difference to move mysqld to another machine?

2008-07-05 Thread John Almberg
I asked a question the other day about using top on a multi-processor  
machine. As a side note, I asked how mysqld could be consuming more  
than 100% of CPU power...


last pid: 43730;  load averages:  1.93,  2.64,   
2.22   up 92+19:45:54  09:26:27

238 processes: 3 running, 235 sleeping
CPU states:  8.1% user,  0.0% nice, 17.3% system,  0.2% interrupt,  
74.4% idle
Mem: 1384M Active, 3753M Inact, 373M Wired, 884K Cache, 214M Buf,  
2150M Free

Swap: 16G Total, 88K Used, 16G Free

  PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU  
COMMAND
 1393 mysql  63  200   400M   221M kserel 0 191.5H 157.13%  
mysqld

43698 www 1   40   169M 29888K sbwait 5   0:00  2.63% httpd
43697 www 1  200   169M 29804K lockf  1   0:00  1.18% httpd
23376 vpopmail1   40 81468K 55772K select 7   0:28  1.17%  
perl5.8.8
43729 root1  960  7228K  2676K select 5   0:00  1.00%  
couriertls


Well, that mysqld reading should have been a warning to me. This  
weekend, my webserver with about 20 database-driven websites got  
clobbered by Slurp and Googlebot. Between the two of them, they had  
over 50 robot instances crawling my machine at the same time  
(visible, thanks to pftop).


Apache handled them fine, and the load average was still pretty low  
(2-3 on an 8 core machine) but mysqld turned into a major bottleneck.  
It was showing 180-220% WCPU on 'top', and just couldn't keep up with  
all the requests. Page loads crawled to a stop. Big problem!


Luckily, I have a pretty powerful machine sitting right next to my  
main webserver that I mainly use for backup. The two servers are  
directly connected to each other with a twisted ethernet cable, using  
extra NIC cards in the machines, so they have a fast, dedicated 'LAN'  
to share.


Desperate, I moved mysqld to this other machine, so basically this  
second machine became a dedicated database server.


The improvement this change made seems out of proportion. Both  
machines are now cruising with extremely low load averages and the  
WCPU for the mysqld instance on the new machine is practically zero.


I'm not complaining. Problem solved. But I am scratching my head over  
how mysql could be getting crushed on the first, 8 core/8G machine,  
but running cool as a cucumber on the second, 2-core/2G machine???


First Machine:

last pid: 32971;  load averages:  0.04,  0.14,  0.15   up 95 
+02:31:20  16:11:53

190 processes: 1 running, 189 sleeping
CPU states:  4.1% user,  0.0% nice,  3.1% system,  0.0% interrupt,  
92.8% idle
Mem: 905M Active, 3075M Inact, 390M Wired, 292M Cache, 214M Buf,  
3008M Free

Swap: 16G Total, 88K Used, 16G Free

  PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU  
COMMAND

72523 mysql  31  200   337M   121M kserel 6 268:13  9.13% mysqld
32883 www 1  960   160M 20732K select 6   0:00  0.35% httpd
29261 www 1  960   161M 20924K select 5   0:06  0.34% httpd
32878 www 1  200   168M 28548K lockf  5   0:01  0.15% httpd
32568 www 1  960   170M 30064K select 2   0:01  0.15% httpd

SECOND MACHINE:

last pid:  9841;  load averages:  0.11,  0.15,   
0.16   up 92+06:54:37  16:12:54

59 processes:  2 running, 56 sleeping, 1 stopped
CPU states: 15.6% user,  0.0% nice,  3.2% system,  0.0% interrupt,  
81.2% idle

Mem: 62M Active, 640M Inact, 131M Wired, 49M Cache, 111M Buf, 19M Free
Swap: 2048M Total, 1568K Used, 2046M Free

  PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU  
COMMAND
 8672 mysql   7 1000 58412K 41004K CPU1   0  27:07  1.17%  
mysqld



It doesn't seem to make sense! I expected the heavy mysql load to be  
moved to the second machine, not eliminated.


Any thoughts, much appreciated.

-- John

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


Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)

2008-07-05 Thread Gonzalo Nemmi
On Saturday 05 July 2008 06:01:36 Nejc Škoberne wrote:
 Hey,

  ls -la / | grep mnttest

 Can you paste output of this command?

  sysid 5 (0x05),(Extended DOS)
  start 102398310, size 106446690 (51975 Meg), flag 0
  beg: cyl 1023/ head 0/ sector 1;
  end: cyl 1023/ head 254/ sector 63

 So the partition you're trying to mount is under an extended partition.
 Can you do ls -la /dev/ad0* and provide us with the output?

 Bye,
 Nejc

Here you have a more complete output:

[EMAIL PROTECTED]:~ # mkdir /mnttest
[EMAIL PROTECTED]:~ # ls -la / | grep mnttest
drwxr-xr-x   2 root  wheel  512 Jul  5 17:16 mnttest
[EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s8 /mnttest
[EMAIL PROTECTED]:~ # ls /mnttest
ls: /mnttest: Bad file descriptor
[EMAIL PROTECTED]:~ # file /mnttest
/mnttest: cannot open `/mnttest' (Bad file descriptor)
[EMAIL PROTECTED]:~ # ls -la / | grep mnttest
ls: mnttest: Bad file descriptor
[EMAIL PROTECTED]:~ # dmesg | tail -5
re0: link state changed to DOWN
re0: link state changed to UP
pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full
linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented
pid 8511 (doom.x86), uid 1001: exited on signal 11
[EMAIL PROTECTED]:~ # umount /mnttest
[EMAIL PROTECTED]:~ # ls /mnttest
[EMAIL PROTECTED]:~ # file /mnttest
/mnttest: directory
[EMAIL PROTECTED]:~ # ls -la / | grep mnttest
drwxr-xr-x   2 root  wheel  512 Jul  5 17:16 mnttest
[EMAIL PROTECTED]:~ # dmesg | tail -5
re0: link state changed to DOWN
re0: link state changed to UP
pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full
linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented
pid 8511 (doom.x86), uid 1001: exited on signal 11
[EMAIL PROTECTED]:~ # 

Hope it clarifies sonething more 
Thanks for helping Nejc :)
-- 
Blessings
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with pf, which is not doing NAT

2008-07-05 Thread Jason Garrett
On Fri, Jul 4, 2008 at 4:34 AM, assetburned [EMAIL PROTECTED] wrote:

 Hi

 On 04.07.2008, at 08:32, Michael Lednev wrote:

  assetburned пишет:


 So any ideas?


 do you have gateway_enable=YES in /etc/rc.conf?


 Yes I have that line active.

 I also have natd_enable=NO because I was told I don't need it anymore for
 pf (I'm a switcher from IPFW).

 cu assetburned


My relevant lines from pf.conf. Only one lan and one wan. Currently working
great.

ext_if = fxp0
int_if = fxp1
localnet = $int_if:network
nat on $ext_if from $localnet to any - ($ext_if)
pass from { lo0, $localnet } to any keep state
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: AMD SB700 southbridge sata ahci supported?

2008-07-05 Thread Rhomel Chinsio
Try disabling USB in the BIOS:
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/122880

On Fri, Jun 27, 2008 at 11:21 PM, Gobbledegeek [EMAIL PROTECTED]
wrote:

 Hi

 I install freebsd 7 i386 twice, installed mbr, both times boot loader
 failed to load at 1st stage with cpu register values displayed on
 screen.
 Mobo - gigabyte GA-MA78GM-S2H, AMD 780G chipset with ATI Radeon3200
 IGP, cpu  amd BE-2350, 2GB transcend DR2800 ram, barracuda hdd with
 SATA in AHCI mode in bios.

 I could not find this in the i386 or amd64 platform list.

 Anyone has any ideas about support for this?

 Please copy me as I am not subscribed.

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

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


Re: mount_nfs not accepting syntax specified by its usage complaint

2008-07-05 Thread perryh
 option 'g' has been removed temporarily, but usage() hasn't
 been updated accordingly.

Aha!  Removing the -g 8 fixed it, and the 512-byte read and readdir
restrictions seem to be working well (albeit slowly).

That a temporary removal present in 7.0 has been there at least
since 6.1 reminds me of an OS/360 PTF, which officially stood for
Program Temporary Fix but was sometimes reputed to actually mean
Permanent Temporary Fix.

Is there any realistic prospect of the -g option being restored in
the near future?  If not, perhaps I should submit a patch to update
the usage() and manpage.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: calcru: runtime went backwards errors

2008-07-05 Thread David Allen
On Mon, Jun 30, 2008 at 7:38 AM, Bob Johnson [EMAIL PROTECTED] wrote:
 On 6/30/08, David Allen [EMAIL PROTECTED] wrote:
 I've been seeing errors like the following appearing:

 Jun 30 03:13:57 ford kernel: calcru: runtime went backwards from 261
 usec to 258 usec for pid 516 (devd)
 [...]
 Jun 30 03:13:57 ford kernel: calcru: runtime went backwards from 486
 usec to 481 usec for pid 0 (swapper)

 and narrowed down the cause to openntpd.

 Do these errors fall into the Mostly Harmless category?

 It's probably just an annoyance, unless it is happening so often it
 causes other problems.

I'll not worry then, but what's perplexing is that if time going backwards
leads to confusion, why is that ntpd, as a matter of course, doesn't result
in these error messages, but openntpd does?   And then, why isn't anyone
using openntpd getting the errors?

 The FreeBSD FAQ used to have a nice explanation of this, but it has
 been replaced by a discussion that simply assumes the problem is
 caused by the Intel SpeedStep implementation on your motherboard:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#Q5.24.

My web searches turned a lot of noise about the above issue.  Thanks for
clarifying what I was reading.  As for the FAQ, didn't there was one.  I guess
I've not needed it until now. ;-)

 But in general, this error can be caused by several things, including
 a device that is slow to respond to interrupts. One thing that often
 helps on SMP systems is to make sure your timecounter isn't using TSC:

 $ sysctl kern.timecounter
 kern.timecounter.tick: 1
 kern.timecounter.choice: TSC(-100) HPET(900) ACPI-fast(1000) i8254(0)
 dummy(-100)
 kern.timecounter.hardware: ACPI-fast
 [...]

Good to know, but this is an older single processor system (ACPI-safe).

Seems I'll have to decide whether I drop openntpd and shuffle things
around to other systems, or learn to live with the errors.

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


The FreeBSD Diary: 2008-06-15 - 2008-07-05

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

These are the articles posted during this period:

24-Jun : Adding gmirror to an existing installation
 Adding RAID-1 to an existing FreeBSD 7 installation
 http://freebsddiary.org/gmirror.php?2


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

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


Weird network problem

2008-07-05 Thread Paul Schmehl
I just installed 7.0 STABLE on a brand new Dell SC1435 (dual AMD 64bit dual 
core processors), and I'm experiencing a very weird problem.  If I try to 
do anything with the network, I lose connectivy.


For example, if I run /etc/rc.d/netif restart, when the interface comes 
back up, it says the media has no connection.  If I reboot the box, it 
works fine.


If I try to bring up an alias interface on the same NIC the network goes 
away and the box has to be rebooted.


Did something change on 7.0?  Or have I got some sort of bug?

[EMAIL PROTECTED] ~]$ uname -a
FreeBSD www.stovebolt.com 7.0-STABLE FreeBSD 7.0-STABLE #0: Fri Jun 27 
23:01:26 CDT 2008 root@:/usr/obj/usr/src/sys/GENERIC  amd64


[EMAIL PROTECTED] ~]$ grep bge /var/run/dmesg.boot
bge0: Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x4201 
mem 0xefcf-0xefcf irq 33 at device 0.0 on pci1

miibus0: MII bus on bge0
bge0: Ethernet address: 00:1e:c9:46:1c:a0
bge0: [ITHREAD]
bge1: Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x4201 
mem 0xefdf-0xefdf irq 37 at device 0.0 on pci2

miibus1: MII bus on bge1
bge1: Ethernet address: 00:1e:c9:46:1c:a1
bge1: [ITHREAD]

Paul Schmehl
As if it wasn't already obvious,
my opinions are my own and not
those of my employer.


Sound on amd64

2008-07-05 Thread Kurt Buff
I'm trying to update the kernel in 7.0-Stable (updated today) with
either snd_hda or snd_ich, and it's erroring out during buildkernel
with one or the other of these failure messages:

For snd_ich, I get this:
In file included from /usr/src/sys/dev/sound/pcm/sound.h:94
 from /usr/src/sys/dev/sound/pci/ich.c:28:
/usr/src/sys/dev/sound/pcm/channel.h:216:24 error: channel_if.h: No
such file or directory
In file included from /usr/src/sys/dev/sound/pci/ich.c:29:
/usr/src/sys/dev/sound/pcm/ac97.h:91:21: error ac97_if.h: No such file
or directory
mkdep: compile failed

For snd_hda, I get this:
In file included from /usr/src/sys/dev/sound/pcm/sound.h:94
 from /usr/src/sys/dev/sound/pci/hda/hdac.c:70:
/usr/src/sys/dev/sound/pcm/channel.h:216:24 error: channel_if.h: No
such file or directory
In file included from /usr/src/sys/dev/sound/pci/ich.c:29:
/usr/src/sys/dev/sound/pci/hda/hdac.c:82:22: mixer_if.h: No such file
or directory
mkdep: compile failed


Hardware is an Lenovo Thinkpad T61 7658 CTO, and I've confirmed that
it has an Intel hda controller - or at least that is what SLES thinks
when it boots on this machine.

What next?

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


Welcome! 2 tips to get started...

2008-07-05 Thread Refriendz
* * *
To ensure that Refriendz emails reach your inbox, please add our From address 
([EMAIL PROTECTED]) to your email Address Book or Safe List.
* * *


Welcome to Refriendz Patricia! 


Here are two tips for you to get started:
=

1. Find Your Friendz:

*Go to Browse or Search page to find friendz on Refriendz
http://www.refriendz.com/?do=Login.User[EMAIL 
PROTECTED]password=9f0a4484b933134d03e1c35ae9fb90b6redPage=FriendzMap.ConnectedMembers
 

*Invite all your other friendz to join you!
http://www.refriendz.com/?do=Login.User[EMAIL 
PROTECTED]password=9f0a4484b933134d03e1c35ae9fb90b6redPage=MyCommunity.Invite


2. Build Your Profile:

*Go to My Profile page and upload UNLIMITED PHOTOS
http://www.refriendz.com/?do=Login.User[EMAIL 
PROTECTED]password=9f0a4484b933134d03e1c35ae9fb90b6redPage=FriendzMap.MyProfile

*Fill out your About Me and Interests
http://www.refriendz.com/?do=Login.User[EMAIL 
PROTECTED]password=9f0a4484b933134d03e1c35ae9fb90b6redPage=MyAccount.Profile  
 

(If these links don't work, please copy and paste them into your browser.)



-Your friendz at Refriendz 

 
 
 
 
 
 
* * *
Unsubscribe: If you do not wish to receive Refriendz emails, visit:
http://www.refriendz.com/?do=Login.User[EMAIL 
PROTECTED]password=9f0a4484b933134d03e1c35ae9fb90b6redPage=MyAccount.Notifications

Please do not reply directly to this email.  This mailbox is not monitored and 
you will not receive a response.

Refriendz Limited, PO BOX 1184, Luton, Bedfordshire, LU1 9AT, UK.


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


Re: Sound on amd64

2008-07-05 Thread Conrad J. Sabatier
On Sat, 5 Jul 2008 19:02:09 -0700
Kurt Buff [EMAIL PROTECTED] wrote:

 I'm trying to update the kernel in 7.0-Stable (updated today) with
 either snd_hda or snd_ich, and it's erroring out during buildkernel
 with one or the other of these failure messages:
 
 For snd_ich, I get this:
 In file included from /usr/src/sys/dev/sound/pcm/sound.h:94
  from /usr/src/sys/dev/sound/pci/ich.c:28:
 /usr/src/sys/dev/sound/pcm/channel.h:216:24 error: channel_if.h: No
 such file or directory
 In file included from /usr/src/sys/dev/sound/pci/ich.c:29:
 /usr/src/sys/dev/sound/pcm/ac97.h:91:21: error ac97_if.h: No such file
 or directory
 mkdep: compile failed
 
 For snd_hda, I get this:
 In file included from /usr/src/sys/dev/sound/pcm/sound.h:94
  from /usr/src/sys/dev/sound/pci/hda/hdac.c:70:
 /usr/src/sys/dev/sound/pcm/channel.h:216:24 error: channel_if.h: No
 such file or directory
 In file included from /usr/src/sys/dev/sound/pci/ich.c:29:
 /usr/src/sys/dev/sound/pci/hda/hdac.c:82:22: mixer_if.h: No such file
 or directory
 mkdep: compile failed
 
 
 Hardware is an Lenovo Thinkpad T61 7658 CTO, and I've confirmed that
 it has an Intel hda controller - or at least that is what SLES thinks
 when it boots on this machine.
 
 What next?
 
 Kurt

Do you have both the generic sound support (sound) as well as the
specific hardware driver enabled in your kernel config?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: OT: anyone been crazy enough to mirror wikipedia?

2008-07-05 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Steve Franks
 Sent: Wednesday, July 02, 2008 2:47 PM
 To: Gary Kline
 Cc: Wojciech Puchar; Chad Perrin; FreeBSD Mailing List
 Subject: Re: OT: anyone been crazy enough to mirror wikipedia?
 
 
 You know, the Wikipedia is crap argument is becoming tiresome.  Maybe
 they should have picked a different name.  It is not a research tool.
 However, I use it daily when someone mentions Microsoft's latest TLA,
 or my daughter wants to see a picture of a blue whale, or I forget
 what port subversion needs open in my firewall, or the webpage 
 market cap for some obscure company.  I consider it to be like the
 browseable companion to google search.

Steve, the problem is that for decades the print encyclopedias
fulfilled this function.  Have you ever, for example, seen a
cite to World Book or some such in a serious professional reseach
paper?  Of course not.  They never used it.  The vast majority
of people buying those print encyclopedias were folks like you
who were using them for casual searches.

The reason the academic research community is so up in arms
over wikipedia is that all the folks like you stopped buying
the print encyclopedias when wiki came out, and the encyclopedia
publishers have all gone out of business.  Your no longer paying
some academic gatekeeper and the academics, for all their talk
about information freedom, don't like it.  Check out tuition
recently?  Now tell me college is available to any student who
wants it.  Yeah, right.  The academics want their pound of
flesh and they don't like the competition.

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