DHCP problem.Help please

2008-04-13 Thread Ruel Luchavez
Hello,

I hope some one will me on my problem.
My friends has and existing DHCP server and squid proxy server running both
in freebsd.We purchased a new desktop PC, we gave it a permanent IP using
the DHCP server and we edit the config file in "/usr/local/etc/dhcp.conf" we
add this at the bottom

host test {
  hardware ethernet 00:1d:27:64:e1:af; [this is the physical address of new
PC]
  fixed address 192.168.1.16;
  }

But as we "ipconfig" the new PC the IP is still the same?
Is there something i forgot to configure?

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


Re: Mousewheel verschwunden

2008-04-13 Thread Robert Huff
Erich Dollansky writes:

>  this is an English speaking list.

Says who?


Robert Huff

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


Re: Mousewheel verschwunden

2008-04-13 Thread Erich Dollansky

Hi,

this is an English speaking list.

Do you speak English?

If not, here is the short translation.

Erich

Seth Brundle wrote:

Hallo Liste,

nach Update auf RELENG_7 und Update der Ports ist nun mein Scrollrad
verschwunden... :-(

Ernst is running RELENG_7. His mouse wheel disappeared after the update 
of FreeBSD and the ports.



Ein wenig gegurgle zeigt mir hier, daß ich nicht der einzige bin --
allerdings habe ich keine Lösung finden können.


It looks like a common problem.


moused(8) läuft bei mir, zusammen mit fluxbox oder gnome2.


Moused runs with fluxbox and gnome2.

Who has a solution?



Hat irgendjemand das gleiche Problem gehabt und schon gelöst?

Vielen Dank & Grüße,

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


Samsung 610ND printer

2008-04-13 Thread Da Rock
Has anyone had any experience with this printer? Is it easy to setup in
CUPS? Print quality? Photo quality?

Cheers


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


Re: start up scripts stopped working

2008-04-13 Thread Eric

tomasz dereszynski wrote:

Eric wrote:

hello,

does anyone know what I can do to fix the following problem?  Every 
time my FreeBSd 6.2 machine reboots, none of the scripts in the 
/usr/local/etc/rc.d directory launch the various programs i have 
defined in my rc.conf file. when i added


rc_info=yes
rc_debug=yes

to rc.conf i see things getting evaluated, but nothing is launched. 
this forces someone to log in locally to the machine and start 
openssh so i can get to the box.


does anyone know what could be causing this?

Hi Eric,

can you copy your rc.conf file?

would be easier to say something...
cheers


sure, here it is:

defaultrouter="192.168.0.1"
hostname="someservername"
ifconfig_xl0="inet 192.168.0.51  netmask 255.255.255.0"


#sshd_program=/usr/local/sbin/sshd
#sshd_enable="YES"
# disable built in SSH and enable SSH_portable
sshd_enable="NO"
openssh_enable="YES"

font8x8="swiss-8x8"
font8x14="NO"
font8x16="swiss-8x16"

saslauthd_enable=YES

postgrey_enable="YES"

sendmail_enable="YES"
sendmail_flags="-bd"
sendmail_outbound_enable="NO"
sendmail_submit_enable="NO"
sendmail_msp_queue_enable="NO"

clamav_freshclam_enable=YES
clamav_clamd_enable=YES

amavisd_enable=YES

dovecot_enable=YES

apache22_enable=YES
samba_enable=YES
smartd_enable="YES"

mysql_enable="YES"

vsftpd_enable="YES"

denyhosts_enable="YES"

mailgraph_enable="YES"

ddclient_enable="YES"

twdm2_enable="YES"

kern_securelevel="1"
kern_securelevel_enable="YES"

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


Re: start up scripts stopped working

2008-04-13 Thread tomasz dereszynski

Eric wrote:

hello,

does anyone know what I can do to fix the following problem?  Every 
time my FreeBSd 6.2 machine reboots, none of the scripts in the 
/usr/local/etc/rc.d directory launch the various programs i have 
defined in my rc.conf file. when i added


rc_info=yes
rc_debug=yes

to rc.conf i see things getting evaluated, but nothing is launched. 
this forces someone to log in locally to the machine and start openssh 
so i can get to the box.


does anyone know what could be causing this?

Hi Eric,

can you copy your rc.conf file?

would be easier to say something...
cheers

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


agp and vr problems in 7.0-RELEASE

2008-04-13 Thread Novembre
Hi all,

I have upgraded my home desktop (1.4GHz P-IIIS) machine from 6.2-RELEASE-p9
to 7.0-RELEASE some time ago. When comparing the two dmesg outputs from 6.2
and 7.0, I realized that some things aren't the same anymore.

(1) probing agp gives the following messages
--
6.2-RELEASE-p9:
pci0:  on pcib0
agp0:  mem 0xe000-0xe0ff at
device 0.0 on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci1:  at device 0.0 (no driver attached)

7.0-RELEASE:
pci0:  on pcib0
agp0:  on hostb0
agp0: Invalid aperture setting 0x0agp0: Invalid aperture setting 0x0agp0:
bad aperture size
agp0: Invalid aperture setting 0x0agp0: Invalid aperture size (0Mb)
device_attach: agp0 attach returned 12
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
vgapci0:  mem
0xd800-0xdbff,0xde00-0xdeff at device 0.0 on pci1
--
So what are the errors "agp0: Invalid aperture setting 0x0" and "agp0: bad
aperture size (0Mb)" and "device_attach: agp0 attach returned 12" that I see
in 7.0-RELEASE? I assume that agp driver is not attached, so there's
something wrong with its implementation in 7.0, right?


(2) probing vr gives the following messages
--
6.2-RELEASE-p9:
vr0:  port 0xdc00-0xdcff mem
0xdfffde00-0xdfffdeff irq 23 at device 18.0 on pci0
miibus0:  on vr0
ukphy0:  on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:11:5b:1c:25:e2


7.0-RELEASE:
vr0:  port 0xdc00-0xdcff mem
0xdfffde00-0xdfffdeff irq 23 at device 18.0 on pci0
vr0: Quirks: 0x0
miibus0:  on vr0
ukphy0:  PHY 1 on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: using obsoleted if_watchdog interface
vr0: Ethernet address: 00:11:5b:1c:25:e2
vr0: [ITHREAD]
--
What are the new "vr0: Quirks: 0x0" and "vr0: using obsoleted if_watchdog
interface" messages in 7.0-RELEASE? Are they to be ignored?


I have uploaded the complete dmesg's to
6.2-RELEASE dmesg :http://pastebin.com/f12c0ff27
7.0-RELEASE dmesg :http://pastebin.com/f3e6809c6

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


Re: port gnome-applets won't upgrade properly

2008-04-13 Thread Gerard
On Sun, 13 Apr 2008 16:29:47 -0500
"Jeremy Messenger" <[EMAIL PROTECTED]> wrote:

> > ** Fix the problem and try again.
> > ** Listing the failed packages (-:ignored / *:skipped / !:failed)
> > - graphics/ImageMagick (marked as IGNORE)
> > - java/diablo-jdk15 (marked as IGNORE)
> > - japanese/lynx (marked as IGNORE)
> > - java/jdk15 (marked as IGNORE)
> > - textproc/p5-Text-ParseWords (port directory error)
> > - x11-servers/xorg-printserver (marked as IGNORE)
> > ! devel/ccrtp (ccrtp-1.5.2) (unknown build error)
> > * devel/libzrtpcpp (libzrtpcpp-0.9.2)
> > * net/twinkle (twinkle-1.0_4)
> > * multimedia/libxine (libxine-1.1.7_3)
> > ! x11/yelp (yelp-2.18.1_1)  (linker error)
> > * finance/gnucash-docs (gnucash-docs-2.2.0)
> > * finance/gnucash (gnucash-2.2.0)
> > ! security/seahorse (gnome-keyring-manager-2.20.0)   
> > (configure error)
> >
> > What is next?  
> 
> It doesn't show anything. You need to do it again to get actually
> error. The portupgrade has option to save build log or you can go to
> each port and do it by hand to get build error log. As for the
> seahorse part, are you sure you have complete ports tree up to date?
> The portupgrade is supposed to delete gnome-keyring-manager. If you
> still have it, remove it by manual and redo it.

I am showing newer versions for several of the ports listed. Update
your ports tree, then make sure you are in fact using the latest version
of 'portupgrade' before attempting to build the port again.

-- 
Gerard
[EMAIL PROTECTED]

The only really masterful noise a man makes in a house is the noise
of his key, when he is still on the landing, fumbling for the lock.

Colette


signature.asc
Description: PGP signature


Re: missing bridge.ko

2008-04-13 Thread Wojciech Puchar

if_bridge.ko


On Sun, 13 Apr 2008, Alain G. Fabry wrote:


Hi,

I just installed FreeBSD 7.0-RELEASE and wanted to enable kldload bridge.ko for 
Qemu networking support.
But apparently this file does not exist in /boot/kernel

How do I need to install, or where can I download this?

Thanks,

Alain
___
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: port gnome-applets won't upgrade properly

2008-04-13 Thread Jeremy Messenger
On Sun, 13 Apr 2008 15:56:11 -0500, Dino Vliet <[EMAIL PROTECTED]>  
wrote:





Jeremy Messenger <[EMAIL PROTECTED]> wrote: On Sat, 12 Apr 2008 14:45:47  
-0500, Dino Vliet

wrote:


Folks,

I've tried to upgrade my ports and get the following error from
gnome-applets everytime I do a portupgrade gnome-applets:

ain.c:42: error: structure has no member named `gconf'
main.c:46: error: structure has no member named `gweather_pref'
main.c:46: error: structure has no member named `gconf'
gmake[2]: *** [main.o] Error 1
gmake[2]: Leaving directory
`/usr/ports/x11/gnome-applets/work/gnome-applets-2.22.1/gweather'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/x11/gnome-applets/work/gnome-applets-2.22.1/gweather'
gmake: *** [install-recursive] Error 1
*** Error code 2

Stop in /usr/ports/x11/gnome-applets.
*** Error code 1

Stop in /usr/ports/x11/gnome-applets.
*** Error code 1

Stop in /usr/ports/x11/gnome-applets.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade.38565.0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=gnome-applets-2.20.1 UPGRADE_PORT_VER=2.20.1 make
WITH_FAM_SYSTEM=fam reinstall
--->  Restoring the old version

** Fix the installation problem and try again.
[Updating the pkgdb  in /var/db/pkg ... - 988 packages
found (-0 +1) . done]
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! x11/gnome-applets (gnome-applets-2.20.1)  (install error)
** Could not clean up temporary directory: Directory not empty -
/var/tmp/portupgradeOdM6jXk4


I'm seeing this on my AMD64 freebsd 6.3 system.

Does anyone have ideas?


Did you follow the /usr/ports/UPDATING?

Cheers,
Mezz


Thanks


Now I did and chek out the mess:

** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
- graphics/ImageMagick (marked as IGNORE)
- java/diablo-jdk15 (marked as IGNORE)
- japanese/lynx (marked as IGNORE)
- java/jdk15 (marked as IGNORE)
- textproc/p5-Text-ParseWords (port directory error)
- x11-servers/xorg-printserver (marked as IGNORE)
! devel/ccrtp (ccrtp-1.5.2) (unknown build error)
* devel/libzrtpcpp (libzrtpcpp-0.9.2)
* net/twinkle (twinkle-1.0_4)
* multimedia/libxine (libxine-1.1.7_3)
! x11/yelp (yelp-2.18.1_1)  (linker error)
* finance/gnucash-docs (gnucash-docs-2.2.0)
* finance/gnucash (gnucash-2.2.0)
! security/seahorse (gnome-keyring-manager-2.20.0)   
(configure error)


What is next?


It doesn't show anything. You need to do it again to get actually error.  
The portupgrade has option to save build log or you can go to each port  
and do it by hand to get build error log. As for the seahorse part, are  
you sure you have complete ports tree up to date? The portupgrade is  
supposed to delete gnome-keyring-manager. If you still have it, remove it  
by manual and redo it.


Cheers,
Mezz


--
[EMAIL PROTECTED]  -  [EMAIL PROTECTED]
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  [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: Interrupt storm with 7.0

2008-04-13 Thread Mel
On Sunday 13 April 2008 14:41:51 lysergius2001 wrote:

> Recently installed 7.0-RELEASE on an i386 as upgrade from 6.3-RELEASE and
> now have a continuous interrupt storm on IRQ17.  This is a shared IRQ for
> ath0 and echi0.  Never saw this on 6.3??? Any suggestions?

I've seen something similar on an old dell laptop, on 6.3. It would cause an 
interrupt storm when it got disconnected by the hostap for beacon misses. ath 
driver as well, not sure what it shared it with.
Unfortunately, I never got around to reporting it and the machine has been 
destroyed by little mongrols, I mean the sweet boys.

I know this doesn't help you, but at least you know that there is 'something' 
with the ath driver that can cause interrupt storms.
-- 
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: start up scripts stopped working

2008-04-13 Thread Derek Ragona

At 02:02 PM 4/13/2008, Eric wrote:

hello,

does anyone know what I can do to fix the following problem?  Every time 
my FreeBSd 6.2 machine reboots, none of the scripts in the 
/usr/local/etc/rc.d directory launch the various programs i have defined 
in my rc.conf file. when i added


rc_info=yes
rc_debug=yes

to rc.conf i see things getting evaluated, but nothing is launched. this 
forces someone to log in locally to the machine and start openssh so i can 
get to the box.


does anyone know what could be causing this?


you may need:
local_startup="/usr/local/etc/rc.d"
in /etc/rc.conf

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: Pkg_info corrupt for some packages

2008-04-13 Thread Mel
On Sunday 13 April 2008 11:41:19 Aijaz Baig wrote:
> Hi,
>
> Well...I tried to cut and paste the command as is by mel (though It would
> have been better if you explained what that cryptic looking command
> actually meant) and I got the followinfg output:
>
> 'grep: /var/db/pkg/xorg-server-1.4_4,1/+CONTENTS: No such file or directory

Well, that explaines it right there. It wasn't installed properly, because 
every installed port should have a +CONTENTS file.
You can grab the files from 'pkgdb.db' like Andrew suggested, but I personally 
wouldn't trust those if portupgrade was the one that did this in the first 
place.
This is where daily backups rock :).

If your /usr/ports/INDEX-6 (or -7) is in sync with your installed packages, 
then maybe the following script will work. It worked for me testing it, but I 
can't guarentee it will work in all cases.

If you're on FreeBSD 6, change INDEXFILE to /usr/ports/INDEX-6. Rest should 
work without changes.

#!/bin/sh


INDEXFILE='/usr/ports/INDEX-7'
for dir in /var/db/pkg/*; do
if test ! -e ${dir}/+CONTENTS -a -d ${dir}; then
pkgname=${dir##*pkg/}
echo "Restoring ${pkgname}"
IDX=$(grep "^${pkgname}|" ${INDEXFILE} 2>/dev/null)
if test -z "${IDX}"; then
echo "Failed: cannot find ${pkgname} in ${INDEXFILE}"
else
_origin=${IDX#*|}
origin=${_origin%%|*}
echo "---> ${origin}"
cd ${origin}
mv ${dir} /tmp/
make -DFORCE_PKG_REGISTER generate-plist fake-pkg
for file in /tmp/${pkgname}/*; do
f=${file##*/}
if test ! -f ${dir}/${f}; then
echo "--> Restoring ${pkgname}/${f}"
mv ${file} ${dir}/
fi
done
fi
fi
done


-- 
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: port gnome-applets won't upgrade properly

2008-04-13 Thread Dino Vliet


Jeremy Messenger <[EMAIL PROTECTED]> wrote: On Sat, 12 Apr 2008 14:45:47 -0500, 
Dino Vliet   
wrote:

> Folks,
>
> I've tried to upgrade my ports and get the following error from  
> gnome-applets everytime I do a portupgrade gnome-applets:
>
> ain.c:42: error: structure has no member named `gconf'
> main.c:46: error: structure has no member named `gweather_pref'
> main.c:46: error: structure has no member named `gconf'
> gmake[2]: *** [main.o] Error 1
> gmake[2]: Leaving directory  
> `/usr/ports/x11/gnome-applets/work/gnome-applets-2.22.1/gweather'
> gmake[1]: *** [install-recursive] Error 1
> gmake[1]: Leaving directory  
> `/usr/ports/x11/gnome-applets/work/gnome-applets-2.22.1/gweather'
> gmake: *** [install-recursive] Error 1
> *** Error code 2
>
> Stop in /usr/ports/x11/gnome-applets.
> *** Error code 1
>
> Stop in /usr/ports/x11/gnome-applets.
> *** Error code 1
>
> Stop in /usr/ports/x11/gnome-applets.
> ** Command failed [exit code 1]: /usr/bin/script -qa  
> /tmp/portupgrade.38565.0 env UPGRADE_TOOL=portupgrade  
> UPGRADE_PORT=gnome-applets-2.20.1 UPGRADE_PORT_VER=2.20.1 make  
> WITH_FAM_SYSTEM=fam reinstall
> --->  Restoring the old version
>
> ** Fix the installation problem and try again.
> [Updating the pkgdb  in /var/db/pkg ... - 988 packages  
> found (-0 +1) . done]
> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
> ! x11/gnome-applets (gnome-applets-2.20.1)  (install error)
> ** Could not clean up temporary directory: Directory not empty -  
> /var/tmp/portupgradeOdM6jXk4
>
>
> I'm seeing this on my AMD64 freebsd 6.3 system.
>
> Does anyone have ideas?

Did you follow the /usr/ports/UPDATING?

Cheers,
Mezz

> Thanks


-- 
[EMAIL PROTECTED]  -  [EMAIL PROTECTED]
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  [EMAIL PROTECTED]
Now I did and chek out the mess:

** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
- graphics/ImageMagick (marked as IGNORE)
- java/diablo-jdk15 (marked as IGNORE)
- japanese/lynx (marked as IGNORE)
- java/jdk15 (marked as IGNORE)
- textproc/p5-Text-ParseWords (port directory error)
- x11-servers/xorg-printserver (marked as IGNORE)
! devel/ccrtp (ccrtp-1.5.2) (unknown build error)
* devel/libzrtpcpp (libzrtpcpp-0.9.2)
* net/twinkle (twinkle-1.0_4)
* multimedia/libxine (libxine-1.1.7_3)
! x11/yelp (yelp-2.18.1_1)  (linker error)
* finance/gnucash-docs (gnucash-docs-2.2.0)
* finance/gnucash (gnucash-2.2.0)
! security/seahorse (gnome-keyring-manager-2.20.0)  (configure 
error)

What is next?

brgds



 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Using FreeBSD's make under Linux

2008-04-13 Thread Michaël Le Barbier

Giorgos Keramidas wrote:

On Sat, 12 Apr 2008 17:20:17 +0200, Michaël Le Barbier <[EMAIL PROTECTED]> 
wrote:

Hi folks,

a few years ago, I tried to use FreeBSD's make under GNU/Linux, and
thanks to `jpd' on c.u.b.f.misc, I managed to build FreeBSD 4.7's make
under some GNU/Linux systems. Having a couple makefiles using make's
features that were introduced after 4.7, I would like to build a more
up-to-date, make.

Before I start, I am double checking nobody has done the job yet, and
nobody has it in the works. So, if you know anything about this, I
would be very happy you share the info with me!


There's definitely interest in making FreeBSD make(1) buildable on
Linux and Solaris systems.  Warner Losh recently committed some changes
to bring us closer to this goal, and I'm on and off making changes to a
personal project at http://hg.hellug.gr/bmake/gker/ but I'm afraid that
the `pmake' port is all that is usable right now.


Hi Giorgos,

thanks to your reply, I remembered that BSD's make is known as bmake in 
NetBSD's pkgsrc (I have formerly used pkgsrc on a Mac OS X system). See 
what I found: one of the bmake's commiters is also maintaining an 
autonomous auto-* version of it, and it seems close enough of FreeBSD's 
make to work on my files!


References:
http://www.crufty.net/help/sjg/bmake.html
ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/devel/bmake/README.html
ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/pkgtools/bootstrap-mk-files/README.html
--
Cheers,
Michaël
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: missing bridge.ko

2008-04-13 Thread P S Clermont

Alain G. Fabry wrote:

Hi,

I just installed FreeBSD 7.0-RELEASE and wanted to enable kldload bridge.ko for 
Qemu networking support.
But apparently this file does not exist in /boot/kernel


The module as been renamed to if_bridge.ko


How do I need to install, or where can I download this?

Thanks,

Alain
___
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: Using FreeBSD's make under Linux

2008-04-13 Thread Michaël Le Barbier

Pieter de Goeje wrote:

On Saturday 12 April 2008, Michaël Le Barbier wrote:

Hi folks,

a few years ago, I tried to use FreeBSD's make under GNU/Linux, and
thanks
to `jpd' on c.u.b.f.misc, I managed to build FreeBSD 4.7's make under
some GNU/Linux systems. Having a couple makefiles using make's features
that were introduced after 4.7, I would like to build a more up-to-date,
make.

Before I start, I am double checking nobody has done the job yet, and
nobody has it in the works. So, if you know anything about this, I
would be very happy you share the info with me!

By the way, I am not sure the way FreeBSD's make program should be
called: the divine documentation in the PSD refers to `pmake', as
well as some source files, but Mac OS X uses `bsdmake', and in many
FreeBSD's docs it is just `make'.
I know that ubuntu/debian systems have a package called freebsd5-buildutils 
which includes "freebsd-make", perhaps you can use some of there work.


Thank you, this program works (provided one uses a combination of 
MAKEFLAGS and -m to feed the program with a sys.mk in a nonstandard 
location). It is however not modern enough, since it does not understand 
`sinclude' ... nice to know about it, though.


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


Re: Mousewheel verschwunden

2008-04-13 Thread Roland Smith
On Sun, Apr 13, 2008 at 04:52:59PM +0200, Seth Brundle wrote:
> Hallo Liste,
> 
> nach Update auf RELENG_7 und Update der Ports ist nun mein Scrollrad
> verschwunden... :-(

[Bitte versuche auf diese Liste Enlisch zu schreiben...]

[I hätte ein gleiches Problem.]
I had the same problem.

[Eine Lösung für mich war um die Datei
'patch-Xserver-hw-xfree86-os-support-bsd-bsd_mouse.c' aus dem files
drectory des xorg-server port zu entfernen, und das Programm neu zu
übersetzen.]

A solution for me was to remove the patch
'patch-Xserver-hw-xfree86-os-support-bsd-bsd_mouse.c' from the files
directory of the xorg server port and rebuild. 

[Später hat Jung-uk Kim mich ein geänderte Patch geschickt die auch gut
funkioniert hat. Ich weiß nicht ob und wann dieser patch im Port
integriert wird]

Later Jung-uk Kim sent me a changed patch that worked as well. I don't
know if and when this patch will be integrated in the port.

Mit freundlichen Grüßen/With kind regards,

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)


pgpOaG8JvE49V.pgp
Description: PGP signature


Xorg broken with Intel 82915G/GV/GL, 82910GL

2008-04-13 Thread Jimmie James
Within the past 4 days that I've noticed (didn't update ports for two 
weeks) X keeps freezing and/or crashing, sometimes when switching to a 
VT, sometimes when firefox crashes. Trying to restart it, results in the 
console locking up, X taking up 100% WCPU, with the following in Xorg.0.log


(WW) intel(0): PRB0_CTL (0x0001f001) indicates ring buffer enabled
(WW) intel(0): PRB0_HEAD (0x5301c9dc) and PRB0_TAIL (0x0001ca08) 
indicate ring buffer not flushed

(WW) intel(0): Existing errors found in hardware state.

Which requires a reboot to clear/get X to start up again.
http://pastebin.ca/983903 dmesg
http://pastebin.ca/983902 Xorg.0.log
http://pastebin.ca/983910 xorg.conf
http://pastebin.ca/983911 pciconf -vl

Also, my mouse scroll wheel stopped working (ps/2) with the update, from 
the mailing list, saw that removing this file, 
/usr/ports/x11-servers/xorg-server/files/patch-Xserver-hw-xfree86-os-support-bsd-bsd_mouse.c 
would get it working again, which it did.  With the first crash, I 
recompiled with that file and X is still crashing and locking up the 
console.

(EE) xf86OpenSerial: Cannot open device /dev/psm0
(EE) PS/2 Mouse: cannot open input device
(EE) PreInit failed for input device "PS/2 Mouse"


Can anyone shed some light into this?

"Healthy, resilient people learn life skills from failure and frustration."
If you can't beat your computer at chess, try kickboxing.

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


missing bridge.ko

2008-04-13 Thread Alain G. Fabry
Hi,

I just installed FreeBSD 7.0-RELEASE and wanted to enable kldload bridge.ko for 
Qemu networking support.
But apparently this file does not exist in /boot/kernel

How do I need to install, or where can I download this?

Thanks,

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


start up scripts stopped working

2008-04-13 Thread Eric

hello,

does anyone know what I can do to fix the following problem?  Every time 
my FreeBSd 6.2 machine reboots, none of the scripts in the 
/usr/local/etc/rc.d directory launch the various programs i have defined 
in my rc.conf file. when i added


rc_info=yes
rc_debug=yes

to rc.conf i see things getting evaluated, but nothing is launched. this 
forces someone to log in locally to the machine and start openssh so i 
can get to the box.


does anyone know what could be causing this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Mousewheel verschwunden

2008-04-13 Thread Michaël Grünewald

Seth Brundle wrote:

Hallo Liste,


Hallo Freund,


nach Update auf RELENG_7 und Update der Ports ist nun mein Scrollrad
verschwunden... :-(

Ein wenig gegurgle zeigt mir hier, daß ich nicht der einzige bin --
allerdings habe ich keine Lösung finden können.

moused(8) läuft bei mir, zusammen mit fluxbox oder gnome2.


I used to have a mouse with a wheel, as far as I can remember one should 
put a `Zaxis' declaration in the mouse driver section to let it work 
correctly. Given this, your favourite search engine will surely let you 
overcome my lack of memory.


(Auf diese Liste, soll man die englishe Sprache benützen.)
--
Grüße,
Michaël
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PHP5 install error on FreeBSD 7.0

2008-04-13 Thread Joseph Simmons
Updating the port tree worked with no problems. Thanks

On Sat, Apr 12, 2008 at 3:07 PM, Mel
<[EMAIL PROTECTED]> wrote:
> On Saturday 12 April 2008 21:29:18 Joseph Simmons wrote:
>  > cougar# pwd
>  > /usr/ports/www/apache22/work/httpd-2.2.6
>  > cougar# make -n install-htdocs
>  > echo Installing HTML documents ;
>  > /usr/ports/www/apache22/work/httpd-2.2.6/build/mkdir.sh
>  > /usr/local/www/apache22/data ;  test -d
>  > /usr/ports/www/apache22/work/httpd-2.2.6/docs/docroot && (cd
>  > /usr/ports/www/apache22/work/httpd-2.2.6/docs/docroot && cp -rp
>  > index.html ) &&  ( [ ! -f /usr/local/www/apache22/data/index.html ] &&
>  > cp -p /index.html /usr/local/www/apache22/data/index.html)
>
>  Apparently they fixed that in 2.2.8, because my version ends in ||true which
>  makes any failure not fatal.
>  Part of the problem is that htdocsdir is not set, so cp -p /index.html fails,
>  even though config.log shows the value, it's not translated to the Makefile.
>
>  Hmm, the quick fix would be to run:
>  cd /usr/ports/www/apache22/work/httpd-2.2.6 && make -k install
>
>  The longer but probably better fix is to update your ports tree, using csup 
> or
>  portsnap. In that case the handbook is your friend:
>  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html
>
>  One reason it is the better fix, is that 2.2.8 fixes a few security issues:
>  http://www.apache.org/dist/httpd/CHANGES_2.2.8
>
>  --
>
>
> 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: Limiting apache's upload speed?

2008-04-13 Thread Wojciech Puchar
I run something similar here in Greece, but have not noticed any performance 
problems just yet. You are probably getting a lot of hits!


probably not. at least here with polish telecom's ADSL services, just 
uploading one thing with ftp somewhere slows everything down, unless 
traffic management is used

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


Re: Limiting apache's upload speed?

2008-04-13 Thread Wojciech Puchar


My router does not appear to have the option to throttle individual 
hosts/ports. Any advice on the matter would be appreciated.


best option is to use ipfw to manage outbound traffic, with fair sharing 
of bandwidth (possibly giving ack's higher weight, or specially giving 
lower weight to apache outgoing traffic).


set up bandwidth to something below your operator's declared. like 
450kbit/s or less.


ADSL modems (at least this used by polish telecom) tend to choke when 
upload bandwidth is near max. delays gets even above 1000ms

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


Hey, I can't find you on Pagii!

2008-04-13 Thread tusar

Hey!

I've just joined Pagii but can't find you there!
Please click Yes to add me as your friend!

Thanks,
tusar
 _

Is tusar your friend?

   [1]Yes [2]No
   Click "yes" if tusar is your friend, otherwise click "no".
 _

   Click [3]here to block all emails from pagii
   Pagii.com, 1100 Wayne Avenue, Suite 801 Silver Spring, MD 20910

References

   1. http://www.pagii.com/Member/register.php?type=inv&key=ICR1HJRN&[EMAIL 
PROTECTED]&frommsrl=1115626&fingerprint=6a53e04cf85df0cc0645bef0db04f578
   2. http://www.pagii.com/Member/register.php?type=inv&key=ICR1HJRN&[EMAIL 
PROTECTED]&frommsrl=1115626&fingerprint=6a53e04cf85df0cc0645bef0db04f578&friend=false
   3. http://www.pagii.com/Member/[EMAIL 
PROTECTED]&type=A&fingerprint=935564d4a1feb467f58284f4812a1c27
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Pkg_info corrupt for some packages

2008-04-13 Thread Andrew Pantyukhin
On Sun, Apr 13, 2008 at 11:41:19AM +0200, Aijaz Baig wrote:
> Hi,
> 
> Well...I tried to cut and paste the command as is by mel (though It would
> have been better if you explained what that cryptic looking command actually
> meant) and I got the followinfg output:
> 
> 'grep: /var/db/pkg/xorg-server-1.4_4,1/+CONTENTS: No such file or directory
> egrep: Unmatched ( or \('

Find out how many packages lost their contents:
ls /var/db/pkg/*/?COMMENT|wc -l
ls /var/db/pkg/*/?CONTENTS|wc -l

Last time portupgrade removed all contents on my box, I had to
extract port origins from pkgdb.db, then
mkdir /var/db/pkg-old/
mv /var/db/pkg/* /var/db/pkg-old/
for i in origins; do
cd /usr/ports/$i && make install
done
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Mousewheel verschwunden

2008-04-13 Thread Seth Brundle
Hallo Liste,

nach Update auf RELENG_7 und Update der Ports ist nun mein Scrollrad
verschwunden... :-(

Ein wenig gegurgle zeigt mir hier, daß ich nicht der einzige bin --
allerdings habe ich keine Lösung finden können.

moused(8) läuft bei mir, zusammen mit fluxbox oder gnome2.

Hat irgendjemand das gleiche Problem gehabt und schon gelöst?

Vielen Dank & Grüße,

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


Re: Limiting apache's upload speed?

2008-04-13 Thread Ian Smith
On Sun, 13 Apr 2008 11:41:02 +0100 Patsy <[EMAIL PROTECTED]> wrote:
 > Hello list,
 > 
 > I am running FreeBSD 7.0-RELEASE (GENERIC), I am running Apache 2.2.6_2 
 > and hosting a small website with a few relatively small (500kB-900kB) 
 > photographs. I am doing so from a home ADSL connection in the UK and so 
 > I am estimating my upload capacity at 500kb/s.

Assuming that's 500kbit/s or maybe around 60KBytes/s ..

 > When I have apache enabled and serving the web page it seems to disrupt 
 > my other network programs - on my main computer (running Debian etch) 
 > Wengophone stutters and my browser slows down noticeably. When apache is 
 > disabled these problems disappear.

Like Manolis I suspect your outbound bandwidth is often being saturated
serving images.  Unless you leave yourself enough outbound bandwidth for
snappy delivery of requests and acks for inbound sessions, performance
suffers tragically.  Bandwidth limiting apache to maybe 400kbit/s should
leave you plenty of headroom (unless you're uploading torrents too :) 

 > I do not wish to take my website down and so I was hoping somebody would 
 > be able to tell me if it is possible to throttle apache's upload speed. 
 > It seems that this would provide a good solution - people will need to 
 > wait a little longer to see my page, but a change of waiting 3 seconds 
 > to waiting 6 seconds isn't terrible.
 > 
 > My router does not appear to have the option to throttle individual 
 > hosts/ports. Any advice on the matter would be appreciated.

The apache module should do that job.  For a more generic solution (and
perhaps anyway, given some crazed robots will suck down your whole site
xty times a day, if allowed) a firewall with pipe/queue management, like
Jeff's pf+altq, or ipfw+dummynet, can provide more fine-grained control.

cheers, Ian

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


Re: hald/xfce removable media

2008-04-13 Thread Warren Block

On Sun, 13 Apr 2008, Michael Rudolph wrote:


On Sunday 13 April 2008 05:15:33 Warren Block wrote:

Removable media in xfce used to automatically mount, at least as of a
few weeks ago.  Now I see:

Failed to mount "NIKON D40".
org.freedesktop.hal.storage.mount-fixed no <-- (action, result).


you might want to have a look at

http://www.freebsd.org/gnome/docs/halfaq.html#q3

I hope that helps.


It does!  For future searching: adding


  

  


with the appropriate username to PolicyKit.conf solves this.  With GNOME 
(or maybe just gdm), it sounds like this would happen automatically. 
(I'm using xdm and xfce).


Thanks!

-Warren Block * Rapid City, South Dakota USA
___
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 bootloader error

2008-04-13 Thread Andrei Frunza
Nevermind, my problem was related to my src.conf file - I've enabled
the WITHOUT_FORTH option without really knowing what am I doing.
Basically this option disables some bootloader features that are
needed in order to actually show up the boot menu, kernel output blah
blah.

On Sun, Apr 13, 2008 at 8:28 AM, Andrei F. <[EMAIL PROTECTED]> wrote:
> Hello. I've installed FreeBSD 7.0 on one of my machines and I also went
> through the buildworld/buildkernel/installkernel/installworld procedures.
> Whenever my machine gets restarted the FreeBSD bootloader doesn't start
> correctly, meaning that graphically the boot options don't show up screen
> anymore. This happened only after I 'make installworld' and rebooted my
> machine. As you can see, the kernel messages are not displayed either. From
> the bootloader section I'm jumping directly to my login prompt. It seems
> that some file(s) in the /boot directory has been modified and it's not
> interpreted correctly anymore. One last thing that I have to mention: I did
> not touch any file in /boot.
>
>  BTX loader 1.0  BTX version is 1.01
>  Consoles: internal video/keyboard
>  Bios drive C: is disk0
>  Bios 639kB/1039104kB available memory
>
>  FreeBSD/i386 bootstrap loader, Revision 1.1
>  ([EMAIL PROTECTED], Sun Apr 13  00:04:39 EDT 2008)
>  > \
>  \: unknown command
>  -
>  /boot/kernel/kernel text=0x2d6c34 data=0x2e180+0x280dc
>  syms=[0x4+0x3a390+0x4+0x4bdcf]
>  Hit [Enter] to boot immediately, or any other key for command prompt.
>  Booting [/boot/kernel/kernel]...
>  \
>  FreeBSD/i386 (fbsd.lan) (ttyv0)
>
>  login:
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Trying to install a wireless broadcom card

2008-04-13 Thread Gaëtan Podevijn
Hello,

I'm trying to configure my Acer Aspire 5024wmli wireless card (pciconf
-lv told me device: BCM43XX Broadcom 802.11b/g) but without any success.

I use ndis with windows drivers and it is correctly loaded:

kldstat

Id Refs AddressSize Name
 1   24 0xc040 906518   kernel
 22 0xc0d07000 e750 if_ndis.ko
 33 0xc0d16000 1aa10ndis.ko
 51 0xc0d94000 1bdc wlan_xauth.ko
 61 0xc0d96000 2ec0 wlan_acl.ko
 71 0xc0d99000 6a32cacpi.ko
 81 0xc44f4000 22000linux.ko
 91 0xc4699000 62000bcmwl5_sys.ko
101 0xc47c9000 21000radeon.ko
111 0xc47ea000 f000 drm.ko

and I have a ndis0 interface but when I use this command line: ifconfig
ndis0 up scan it returns me anything!

Here is my /etc/wpa_supplicant.conf:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel

network={
ssid="wireless"
scan_ssid=1
key_mgmt=NONE
wep_key0=XXX
}

and my /etc/rc.conf:
# -- sysinstall generated deltas -- # Sat Apr 12 18:32:05 2008
# Created: Sat Apr 12 18:32:05 2008
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
hostname="herlock-bsd"
keymap="be.iso"
linux_enable="YES"
nfs_server_enable="YES"
rpcbind_enable="YES"
sshd_enable="YES"
# -- sysinstall generated deltas -- # Sat Apr 12 17:07:34 2008
#ifconfig_re0="DHCP"
hostname="herlock-bsd"
ifconfig_ndis0="WPA DHCP"
gnome_enabled="YES"

And it doesn't work...

Can anyone tells me how is it possible to make this card works on
freebsd ?

Thank you.

Gaëtan.

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


Interrupt storm with 7.0

2008-04-13 Thread lysergius2001
Hi

Recently installed 7.0-RELEASE on an i386 as upgrade from 6.3-RELEASE and
now have a continuous interrupt storm on IRQ17.  This is a shared IRQ for
ath0 and echi0.  Never saw this on 6.3??? Any suggestions?

Cheers

-- 
Lysergius says "Stay light and trust gravity"
___
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 bootloader error

2008-04-13 Thread Andrei F.
Hello. I've installed FreeBSD 7.0 on one of my machines and I also went 
through the buildworld/buildkernel/installkernel/installworld 
procedures. Whenever my machine gets restarted the FreeBSD bootloader 
doesn't start correctly, meaning that graphically the boot options don't 
show up screen anymore. This happened only after I 'make installworld' 
and rebooted my machine. As you can see, the kernel messages are not 
displayed either. From the bootloader section I'm jumping directly to my 
login prompt. It seems that some file(s) in the /boot directory has been 
modified and it's not interpreted correctly anymore. One last thing that 
I have to mention: I did not touch any file in /boot.


BTX loader 1.0  BTX version is 1.01
Consoles: internal video/keyboard
Bios drive C: is disk0
Bios 639kB/1039104kB available memory

FreeBSD/i386 bootstrap loader, Revision 1.1
([EMAIL PROTECTED], Sun Apr 13  00:04:39 EDT 2008)
> \
\: unknown command
-
/boot/kernel/kernel text=0x2d6c34 data=0x2e180+0x280dc
syms=[0x4+0x3a390+0x4+0x4bdcf]
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
\
FreeBSD/i386 (fbsd.lan) (ttyv0)

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


Re: Limiting apache's upload speed?

2008-04-13 Thread Manolis Kiagias

Patsy wrote:

Hello list,

I am running FreeBSD 7.0-RELEASE (GENERIC), I am running Apache 
2.2.6_2 and hosting a small website with a few relatively small 
(500kB-900kB) photographs. I am doing so from a home ADSL connection 
in the UK and so I am estimating my upload capacity at 500kb/s.


When I have apache enabled and serving the web page it seems to 
disrupt my other network programs - on my main computer (running 
Debian etch) Wengophone stutters and my browser slows down noticeably. 
When apache is disabled these problems disappear.


I do not wish to take my website down and so I was hoping somebody 
would be able to tell me if it is possible to throttle apache's upload 
speed. It seems that this would provide a good solution - people will 
need to wait a little longer to see my page, but a change of waiting 3 
seconds to waiting 6 seconds isn't terrible.


My router does not appear to have the option to throttle individual 
hosts/ports. Any advice on the matter would be appreciated.


Patsy



I run something similar here in Greece, but have not noticed any 
performance problems just yet. You are probably getting a lot of hits!


What you need is an apache module designed specifically for speed / 
bandwidth throttling: www/mod_cband


You may also wish to have a look at these instructions (linux specific, 
but easy to adjust for FreeBSD):


http://howtoforge.com/mod_cband_apache2_bandwidth_quota_throttling

BTW, what is your ADSL speed? You mention upload capacity of 500kb/s, 
and I suppose you mean kbits/sec, *not* kbytes/sec. Assuming it is 
kbits, you may well be consuming all your upload bandwidth if for some 
reason you get more than a few simultaneous connections...

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


Re: Limiting apache's upload speed?

2008-04-13 Thread Jeff Royle

Patsy wrote:

Hello list,

I am running FreeBSD 7.0-RELEASE (GENERIC), I am running Apache 2.2.6_2 
and hosting a small website with a few relatively small (500kB-900kB) 
photographs. I am doing so from a home ADSL connection in the UK and so 
I am estimating my upload capacity at 500kb/s.


When I have apache enabled and serving the web page it seems to disrupt 
my other network programs - on my main computer (running Debian etch) 
Wengophone stutters and my browser slows down noticeably. When apache is 
disabled these problems disappear.


I do not wish to take my website down and so I was hoping somebody would 
be able to tell me if it is possible to throttle apache's upload speed. 
It seems that this would provide a good solution - people will need to 
wait a little longer to see my page, but a change of waiting 3 seconds 
to waiting 6 seconds isn't terrible.


My router does not appear to have the option to throttle individual 
hosts/ports. Any advice on the matter would be appreciated.




I would suggest you look into PF + ALTQ.

ALTQ is a rule based bandwidth control for PF which would allow you to 
adjust how much bandwidth you allow on the port 80.


You will need to enable ALTQ in your kernel as it does not come enabled 
by default.


See pf.conf(5) and altq(4)for more details.

Cheers,

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


tcp tuning and oprofile

2008-04-13 Thread Mr Y
Hello,

I'm trying to improve my 10GigE driver performance on FreeBSD 6.3.
till now I found the following tcp parameters and set them:
# sysctl net.inet.tcp.sack.enable=0
# sysctl kern.ipc.maxsockbuf=16777216
is there anything else I should think about regarding tcp parameters?

2nd question:

I'm getting quite a high cpu utilization, about 75% for an iperf test.
I'm looking for a tool such as oprofile that will help me find the problem.
does anybody know something like that?

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


Limiting apache's upload speed?

2008-04-13 Thread Patsy

Hello list,

I am running FreeBSD 7.0-RELEASE (GENERIC), I am running Apache 2.2.6_2 
and hosting a small website with a few relatively small (500kB-900kB) 
photographs. I am doing so from a home ADSL connection in the UK and so 
I am estimating my upload capacity at 500kb/s.


When I have apache enabled and serving the web page it seems to disrupt 
my other network programs - on my main computer (running Debian etch) 
Wengophone stutters and my browser slows down noticeably. When apache is 
disabled these problems disappear.


I do not wish to take my website down and so I was hoping somebody would 
be able to tell me if it is possible to throttle apache's upload speed. 
It seems that this would provide a good solution - people will need to 
wait a little longer to see my page, but a change of waiting 3 seconds 
to waiting 6 seconds isn't terrible.


My router does not appear to have the option to throttle individual 
hosts/ports. Any advice on the matter would be appreciated.


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


Re: Reading a Video CD from a DVD drive on 7.0

2008-04-13 Thread Nikolaj Thygesen

Joshua Isom wrote:


After some further testing, a vcd in the dvd drive will have the same 
problem during booting the kernel(before init). After killing the 
system and rebooting without the disc, trying to play the disc causes 
messages like this repeatedly. I tried running "cdcontrol -f /dev/acd1 
eject" and it hung. I tried "atacontrol reinit ata3" and "atacontrol 
detach ata3" and those hung as well. It's an sata dvd-rw drive over 
atapi. Here's the error being reported by the kernel.


acd1: TIMEOUT - READ_BIG retrying (1 retry left)
acd1: TIMEOUT - READ_BIG retrying (0 retries left)
acd1: FAILURE - READ_BIG timed out

Mplayer just triggers the problem. I imagine if I ran amd I'd have the 
same type of problem, or any program that tried to read from acd1. 
Other than locking up tty's and not being able to shut down, the 
system's still usable, aside from the disc inserted during boot of 
course.


I get the exact same symptoms when booting with an audio cd in the 
drive. I haven't done too much about it as I rarely stuff such things in 
my box, but the cd/dvd part of fbsd7 still appears somewhat flakey. I 
see the "INQUIRY ILLEGAL REQUEST" below on several boxes. On this 
particular machine "atapicd" is commented out in its i386-based custom 
kernel config, but it makes no difference as far as this warning/error 
is concerned.


FreeBSD 7.0-RELEASE #4: Sun Mar 9 21:39:39 CET 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DIAMOND
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (2405.47-MHz 686-class CPU)

unknown: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
cd0 at ata4 bus 0 target 1 lun 0
cd0:  Removable CD-ROM SCSI-0 device
cd0: 3.300MB/s transfers
cd0: cd present [2070890 x 2048 byte records]


br - N :o)

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


Re: Pkg_info corrupt for some packages

2008-04-13 Thread Aijaz Baig
Hi,

Well...I tried to cut and paste the command as is by mel (though It would
have been better if you explained what that cryptic looking command actually
meant) and I got the followinfg output:

'grep: /var/db/pkg/xorg-server-1.4_4,1/+CONTENTS: No such file or directory
egrep: Unmatched ( or \('

Then as suggested by leslie I issued a command '*pkgdb -F*' and on that I
got the following on the terminal :
'-- -->  Checking the package registry database' and the I was back at the
prompt.

So I am wondering if theres a way to repair those packages somehow...cuz if
I delete it before re installing the I would be jeopardizing the packages
which are dependent on these packages and I do not know if reinstalling them
without actually removing them first creates duplicates or not.

Hope to hear from you guys about this.

Regards,

Aijaz Baig.


On Fri, Apr 11, 2008 at 10:04 PM, Mel <[EMAIL PROTECTED]>
wrote:

> On Friday 11 April 2008 18:28:31 Andrew Pantyukhin wrote:
> > On Fri, Apr 11, 2008 at 04:32:32PM +0200, Aijaz Baig wrote:
> > > I was trying to find a way to list all the packages on my
> > > system and I came across this little article and accordingly
> > > issued the command *pkg_info | grep 'package name' *and I saw
> > > the following on the screen instead:
> > >
> > > pkg_info: the package info for package 'Terminal-0.2.8' is corrupt
> > > ...
> > > pkg_info: the package info for package 'xorg-server-1.4_4,1' is
> corrupt
> > >
> > > How did the pkg_info information for the above mentioned
> > > packages became corrupt?..
> >
> > Possibly the usual portupgrade fckup^Wglitch.
> >
> > > Is there to fix this problem?
> >
> > Reinstall all packages.
>
> That's a bit overdone maybe.
> @OP:
> Could you show output of:
> grep '^@' /var/db/pkg/xorg-server-1.4_4,1/+CONTENTS |egrep -v '^(@comment
> MD5|
> @dirrm |@unexec)'
>
>
> --
> 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: hald/xfce removable media

2008-04-13 Thread Michael Rudolph
On Sunday 13 April 2008 05:15:33 Warren Block wrote:
> Removable media in xfce used to automatically mount, at least as of a
> few weeks ago.  Now I see:
>
> Failed to mount "NIKON D40".
> org.freedesktop.hal.storage.mount-fixed no <-- (action, result).
>
> Has there been a configuration change?
>
> FreeBSD speedy.wonkity.com 6.3-STABLE FreeBSD 6.3-STABLE #1: Wed Apr 
> 2 12:34:32 MDT 2008
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SPEEDY  i386
>
> dbus-1.1.20 A message bus system for inter-application
> communication dbus-glib-0.74  GLib bindings for the D-BUS
> messaging system hal-0.5.11.r2_5 Hardware Abstraction Layer for
> simplifying device access policykit-0.7_5 Framework for
> controlling access to system-wide components policykit-gnome-0.7_3
> GNOME frontend to the PolicKit framework
>
> /etc/rc.conf:
>
> dbus_enable="YES"
> hald_enable="YES"
> polkitd_enable="YES"  (looks like this is obsolete now)
>
> -Warren Block * Rapid City, South Dakota USA

Hello Warren

you might want to have a look at

http://www.freebsd.org/gnome/docs/halfaq.html#q3

I hope that helps.

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