Re: problems with 7.2, vm_page_insert: page already inserted

2009-04-11 Thread Ken Smith
On Sat, 2009-04-11 at 23:35 -0400, Mike Tancsa wrote:
> I am wondering if it was an issue 
> of not having swap.

Raul,

Any chance your machine might have somehow run low on available memory
(either by not having swap enabled, or perhaps not enough swap space)?

Thanks (and thanks Mike).

-- 
Ken Smith
- From there to here, from here to  |   kensm...@cse.buffalo.edu
  there, funny things are everywhere.   |
  - Theodore Geisel |


signature.asc
Description: This is a digitally signed message part


Re: problems with 7.2, vm_page_insert: page already inserted

2009-04-11 Thread Mike Tancsa

At 08:30 PM 4/11/2009, Ken Smith wrote:

On Sun, 2009-04-12 at 02:04 +0200, Raul wrote:
> I've rebuilt all ports twice without a glitch, except isc-dhcp30-server
> but that's another story. Can this double rebuilt help somehow with that
> sort of error?. I'm still out of ideas ...

If the double rebuild did help somehow it's still an issue that would
need to be addressed.  Stuff user-level does shouldn't cause the kernel
to panic - that's never a good thing.

You're the second one to report this panic so it's caught our notice as
something to watch over.  One report of a panic like this is potentially
issues with memory errors or any number of other possibilities given
this area of code but more than that deserves us paying more attention
to it.

Mike, you were the first to report this - have you had recurrences?


Hi Ken,
I have not see it again.  I am wondering if it was an issue 
of not having swap.  It happened last weekend when some level 0 dumps 
over nfs are run, so its possible too much demand on memory and 'bad 
things' started to happen. I have since enabled swap and no issues 
since.  On another box which has a similar mix of spamd,clamav, 
sendmail, no issues at all.



---Mike


That said if there is a bug it's likely to be something fairly difficult
to reproduce (lots of people are running 7.2-PRERELEASE and so far only
two reports of this issue) so it's not a shock for you to have only had
it happen once so far.  Odds are it takes a rare sequence of events to
trigger it.

--
Ken Smith
- From there to here, from here to  |   kensm...@cse.buffalo.edu
  there, funny things are everywhere.   |
  - Theodore Geisel |




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


Re: kernel: problems compiling if_ath.c

2009-04-11 Thread Dan Langille
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dan Langille wrote:
> I did a cvsup for RELENG_7 earlier today.
> 
> # uname -a
> FreeBSD polo.example.org 7.1-STABLE FreeBSD 7.1-STABLE #8: Sat Apr 11
> 18:50:17 EDT 2009 d...@polo.example.org:/usr/obj/usr/src/sys/PHENOM
> amd64
> 
> No idea what went wrong here.  Clues please.
> 
> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99 -g
> -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
> -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys
> -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
> -include opt_global.h -fno-common -finline-limit=8000 --param
> inline-unit-growth=100 --param large-function-growth=1000
> -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx
> -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
> -Werror  /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath
> /usr/src/sys/dev/ath/if_ath.c: In function 'ath_rx_tap':
> /usr/src/sys/dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status'
> has no member named 'rs_flags'
> /usr/src/sys/dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status'
> has no member named 'rs_flags'
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/PHENOM.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 

Fixed.  The above was based upon an old GENERIC.  Sorry.

- --
Dan Langille

BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference: http://www.pgcon.org/
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknhXA8ACgkQCgsXFM/7nTwBfQCaA3UWngIxYgm34CIL8+Nersd+
b40AniDxutvGFxjvyoALjxafXn+R+uY3
=ATAk
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


kernel: problems compiling if_ath.c

2009-04-11 Thread Dan Langille
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I did a cvsup for RELENG_7 earlier today.

# uname -a
FreeBSD polo.example.org 7.1-STABLE FreeBSD 7.1-STABLE #8: Sat Apr 11
18:50:17 EDT 2009 d...@polo.example.org:/usr/obj/usr/src/sys/PHENOM
amd64

No idea what went wrong here.  Clues please.

cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99 -g
- -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
- -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
- -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys
- -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
- -include opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000
- -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx
- -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
- -Werror  /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath
/usr/src/sys/dev/ath/if_ath.c: In function 'ath_rx_tap':
/usr/src/sys/dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status'
has no member named 'rs_flags'
/usr/src/sys/dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status'
has no member named 'rs_flags'
*** Error code 1

Stop in /usr/obj/usr/src/sys/PHENOM.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

- --
Dan Langille

BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference: http://www.pgcon.org/
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknhVAgACgkQCgsXFM/7nTzaZQCg9vSAstcI2+nCiU8pUOGH+AUg
/1EAn1mv5gKUOk0JnjZW0kIr15ekSWSW
=J+pi
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: problems with 7.2, vm_page_insert: page already inserted

2009-04-11 Thread Alan Cox

Raul wrote:

El sáb, 11-04-2009 a las 19:37 -0500, Alan Cox escribió:

  

Please post your kernel configuration file.



It's rather simple:

[]
include GENERIC
ident   TURING

options IPSEC
device  enc
device  crypto
[]

That's all.
  


Ok, thanks.

Alan

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


Re: problems with 7.2, vm_page_insert: page already inserted

2009-04-11 Thread Raul
El sáb, 11-04-2009 a las 19:37 -0500, Alan Cox escribió:

> Please post your kernel configuration file.

Maybe loaded kernel modules are also interesting:

[]
Id Refs AddressSize Name
 1   17 0x8010 c13558   kernel
 21 0x80e22000 8113czfs.ko
 31 0x80ea4000 111b opensolaris.ko
 41 0x80ea6000 240e if_vlan.ko
 51 0x80ea9000 972  pflog.ko
 61 0x80eaa000 2ae58pf.ko
 71 0x80ed5000 19ba ng_socket.ko
 88 0x80ed7000 8f74 netgraph.ko
 91 0x80ee 184b ng_mppc.ko
101 0x80ee2000 23e  rc4.ko
111 0x80ee3000 1446 ng_iface.ko
121 0x80ee5000 45fe ng_ppp.ko
131 0x80eea000 a9e  ng_tee.ko
141 0x80eeb000 12a6 ng_ether.ko
151 0x80eed000 30be ng_pppoe.ko
161 0x80ef1000 9e2  ng_tcpmss.ko
[]

Regards
Raul

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


Re: problems with 7.2, vm_page_insert: page already inserted

2009-04-11 Thread Raul
El sáb, 11-04-2009 a las 19:37 -0500, Alan Cox escribió:

> Please post your kernel configuration file.

It's rather simple:

[]
include GENERIC
ident   TURING

options IPSEC
device  enc
device  crypto
[]

That's all.

Regards
Raul

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


Re: problems with 7.2, vm_page_insert: page already inserted

2009-04-11 Thread Alan Cox
Please post your kernel configuration file.

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


Re: problems with 7.2, vm_page_insert: page already inserted

2009-04-11 Thread Ken Smith
On Sun, 2009-04-12 at 02:04 +0200, Raul wrote:
> I've rebuilt all ports twice without a glitch, except isc-dhcp30-server
> but that's another story. Can this double rebuilt help somehow with that
> sort of error?. I'm still out of ideas ...

If the double rebuild did help somehow it's still an issue that would
need to be addressed.  Stuff user-level does shouldn't cause the kernel
to panic - that's never a good thing.

You're the second one to report this panic so it's caught our notice as
something to watch over.  One report of a panic like this is potentially
issues with memory errors or any number of other possibilities given
this area of code but more than that deserves us paying more attention
to it.

Mike, you were the first to report this - have you had recurrences?

That said if there is a bug it's likely to be something fairly difficult
to reproduce (lots of people are running 7.2-PRERELEASE and so far only
two reports of this issue) so it's not a shock for you to have only had
it happen once so far.  Odds are it takes a rare sequence of events to
trigger it.

-- 
Ken Smith
- From there to here, from here to  |   kensm...@cse.buffalo.edu
  there, funny things are everywhere.   |
  - Theodore Geisel |



signature.asc
Description: This is a digitally signed message part


Re: problems with 7.2, vm_page_insert: page already inserted

2009-04-11 Thread Dimitry Andric
On 2009-04-12 02:04, Raul wrote:
> As a side note, isc-dhcp30-server port doesn't like the new jail stuff

Please see http://www.freebsd.org/cgi/query-pr.cgi?pr=131515 for a
possible fix.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: problems with 7.2, vm_page_insert: page already inserted

2009-04-11 Thread Raul
Hi again.

El sáb, 11-04-2009 a las 12:55 +0200, Raul escribió:

> Hello!
> 
> Last night I've switched at home from 7.1R to RELENG_7. Everything
went
> smooth but 2 hours 46 mins later the box paniced with: vm_page_insert:
> page already inserted. The 1688MB dump stopped at 1417 ... there is no
> dump available :/.

I've rebuilt all ports twice without a glitch, except isc-dhcp30-server
but that's another story. Can this double rebuilt help somehow with that
sort of error?. I'm still out of ideas ...

As a side note, isc-dhcp30-server port doesn't like the new jail stuff
with default port setings (WITH_DHCP_JAIL=true):

[]
Making all in server
cc -O2 -fno-strict-aliasing -pipe  -D_PATH_DHCPD_CONF=
\"/usr/local/etc/dhcpd.conf\" -D_PATH_DHCPD_DB=\"/var/db/dhcpd.leases\"
-D_PATH_DHCPD_PID=\"/var/run/dhcpd.pid\" -D_PATH_DHCRELAY_PID=
\"/var/run/dhcrelay.pid\" -D_PATH_DHCLIENT_CONF=
\"/usr/local/etc/dhclient.conf\" -D_PATH_DHCLIENT_SCRIPT=
\"/usr/local/sbin/dhclient-script\" -D_PATH_DHCLIENT_DB=
\"/var/db/dhclient.leases\" -D_PATH_DHCLIENT_PID=\"/var/run/dhclient.pid
\" -Dwarn=dhcp_warn -DNOMINUM -DPARANOIA -DJAIL
-I/usr/ports/net/isc-dhcp30-server/work/dhcp-3.0.7
-I/usr/ports/net/isc-dhcp30-server/work/dhcp-3.0.7/includes -O -Wall
-Wno-unused   -c dhcpd.c
dhcpd.c: In function 'setup_jail':
dhcpd.c:234: error: 'struct jail' has no member named 'ip_number'
*** Error code 1
[]

may I fill a PR about this?

Regards
Raul

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


Re: apache 2.0.63 and php5

2009-04-11 Thread Claus Guttesen
> Strange, i have a apache web 2.0.63 and php5 on a 6.4-STABLE, but every time
> i reboot the server, the php pages does not work at all, especially some
> self tools made with sh scripts and sudo (tail cat and some php buttons),
> refresh of the page does not solve the matter..
>
> For fix it, i need to make a simple apachectl stop and start, then the php
> pages start to works...
>
> the logs did tell anything...
>
> any ideas?

Could be an apache module which is not started if the hostname is
required but not yet known, since ethernet is not up and the server
can't perform a dns-query.

You can try to add the hostname to /etc/hosts.

-- 
regards
Claus

When lenity and cruelty play for a kingdom,
the gentler gamester is the soonest winner.

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


apache 2.0.63 and php5

2009-04-11 Thread xer

Hello any1
Strange, i have a apache web 2.0.63 and php5 on a 6.4-STABLE, but every time 
i reboot the server, the php pages does not work at all, especially some 
self tools made with sh scripts and sudo (tail cat and some php buttons), 
refresh of the page does not solve the matter..


For fix it, i need to make a simple apachectl stop and start, then the php 
pages start to works...


the logs did tell anything...

any ideas?

appreciate your help
TIA 


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


Re: diff regression

2009-04-11 Thread Scot Hetzel
On 4/11/09, Xin LI  wrote:
> |> | It used to say:
> |> |-P When comparing directories, if a file appears only in
> |> the second
> |> |   directory of the two, treat it  as  present  butempty
> |> in  the
> |> |   other.
> |> |
> |> | Now it's gone. Regression?
> |>
> |> What's wrong with -N?
> |
> | Nothing, I just didn't know about -N.
>
> I'm not very sure, are the two option functionally same?

According to the diff.1 man page

 -N (--new-file)

Treat absent files as empty

--unidirectional-new-file (-P)

Treat absent first files as empty

So it would seem the two options are different.

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


Re: diff regression

2009-04-11 Thread Xin LI

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dominic Fandrey wrote:
| Xin LI wrote:
|> Dominic Fandrey wrote:
|> | m...@freebsd.org wrote:
|> |> Synopsis: [maintainer-update] www/xpi-modify_headers
|> |>
|> |> State-Changed-From-To: open->feedback
|> |> State-Changed-By: miwi
|> |> State-Changed-When: Thu Apr 9 18:19:08 UTC 2009
|> |> State-Changed-Why:
|> |>
|> |> Howdy,
|> |>
|> |> Patch rejected:
|> |> http://64bit.miwibox.org/index.php?action=describe_port&id=2152
|> |> http://32bit.miwibox.org/index.php?action=describe_port&id=2042
|> |>
|> |
|> | OK, this really sucks. diff has lost the -P option, that I've been
|> | relying on. Compare:
|> |
http://www.freebsd.org/cgi/man.cgi?query=diff&manpath=FreeBSD+6.0-RELEASE
|> |
http://www.freebsd.org/cgi/man.cgi?query=diff&manpath=FreeBSD+7.1-RELEASE
|> |
|> | It used to say:
|> |-P When comparing directories, if a file appears only in
|> the second
|> |   directory of the two, treat it  as  present  butempty
|> in  the
|> |   other.
|> |
|> | Now it's gone. Regression?
|>
|> What's wrong with -N?
|
| Nothing, I just didn't know about -N.

I'm not very sure, are the two option functionally same?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkngm54ACgkQOfuToMruuMBn0gCfd/NMu8to+3fG1oaAqjukmHKk
PB4AnirvAUQzu1XPWgzF2XHcvuhSIWTA
=LqUx
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: diff regression

2009-04-11 Thread Scot Hetzel
On Sat, Apr 11, 2009 at 6:49 AM, Dominic Fandrey  wrote:
> OK, this really sucks. diff has lost the -P option, that I've been
> relying on. Compare:
> http://www.freebsd.org/cgi/man.cgi?query=diff&manpath=FreeBSD+6.0-RELEASE
> http://www.freebsd.org/cgi/man.cgi?query=diff&manpath=FreeBSD+7.1-RELEASE
>
> It used to say:
>       -P     When comparing directories, if a file appears only in the second
>              directory of the two, treat it  as  present  but  empty  in  the
>              other.
>
> Now it's gone. Regression?
>
>>

It looks like the -P option was removed from diff between FreeBSD
6.2-Release and FreeBSD 6.3-Release (diffutils 2.8.7).

You can use --unidirectional-new-file instead.

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


Re: diff regression

2009-04-11 Thread Dominic Fandrey
Xin LI wrote:
> Dominic Fandrey wrote:
> | m...@freebsd.org wrote:
> |> Synopsis: [maintainer-update] www/xpi-modify_headers
> |>
> |> State-Changed-From-To: open->feedback
> |> State-Changed-By: miwi
> |> State-Changed-When: Thu Apr 9 18:19:08 UTC 2009
> |> State-Changed-Why:
> |>
> |> Howdy,
> |>
> |> Patch rejected:
> |> http://64bit.miwibox.org/index.php?action=describe_port&id=2152
> |> http://32bit.miwibox.org/index.php?action=describe_port&id=2042
> |>
> |
> | OK, this really sucks. diff has lost the -P option, that I've been
> | relying on. Compare:
> | http://www.freebsd.org/cgi/man.cgi?query=diff&manpath=FreeBSD+6.0-RELEASE
> | http://www.freebsd.org/cgi/man.cgi?query=diff&manpath=FreeBSD+7.1-RELEASE
> |
> | It used to say:
> |-P When comparing directories, if a file appears only in
> the second
> |   directory of the two, treat it  as  present  butempty 
> in  the
> |   other.
> |
> | Now it's gone. Regression?
> 
> What's wrong with -N?

Nothing, I just didn't know about -N.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: diff regression

2009-04-11 Thread Xin LI

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dominic Fandrey wrote:
| m...@freebsd.org wrote:
|> Synopsis: [maintainer-update] www/xpi-modify_headers
|>
|> State-Changed-From-To: open->feedback
|> State-Changed-By: miwi
|> State-Changed-When: Thu Apr 9 18:19:08 UTC 2009
|> State-Changed-Why:
|>
|> Howdy,
|>
|> Patch rejected:
|> http://64bit.miwibox.org/index.php?action=describe_port&id=2152
|> http://32bit.miwibox.org/index.php?action=describe_port&id=2042
|>
|
| OK, this really sucks. diff has lost the -P option, that I've been
| relying on. Compare:
| http://www.freebsd.org/cgi/man.cgi?query=diff&manpath=FreeBSD+6.0-RELEASE
| http://www.freebsd.org/cgi/man.cgi?query=diff&manpath=FreeBSD+7.1-RELEASE
|
| It used to say:
|-P When comparing directories, if a file appears only in
the second
| directory of the two, treat it  as  present  but  empty  in  the
| other.
|
| Now it's gone. Regression?

What's wrong with -N?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkngkEUACgkQOfuToMruuMB4MwCdGvD/nC/YGkq0hYeqyq06dyPY
3JUAn399negHDECAUmTQFM/5KpmBP8Q1
=pRzw
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: fxp: stalled transfers

2009-04-11 Thread Bjoern Koenig
Pyun YongHyeon wrote:

> Ok, I've reproduced it, it seems that it happens when sender and
> receiver has advertised different MSS. Try attached patch and let
> me know how it goes on your setup.

The patch works. The problem is gone. Thank you.

Björn


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


diff regression

2009-04-11 Thread Dominic Fandrey
m...@freebsd.org wrote:
> Synopsis: [maintainer-update] www/xpi-modify_headers
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: miwi
> State-Changed-When: Thu Apr 9 18:19:08 UTC 2009
> State-Changed-Why: 
> 
> Howdy,
> 
> Patch rejected:
> http://64bit.miwibox.org/index.php?action=describe_port&id=2152
> http://32bit.miwibox.org/index.php?action=describe_port&id=2042
> 

OK, this really sucks. diff has lost the -P option, that I've been
relying on. Compare:
http://www.freebsd.org/cgi/man.cgi?query=diff&manpath=FreeBSD+6.0-RELEASE
http://www.freebsd.org/cgi/man.cgi?query=diff&manpath=FreeBSD+7.1-RELEASE

It used to say:
   -P When comparing directories, if a file appears only in the second
  directory of the two, treat it  as  present  but  empty  in  the
  other.

Now it's gone. Regression?

> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=133541
> 

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

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


problems with 7.2, vm_page_insert: page already inserted

2009-04-11 Thread Raul
Hello!

Last night I've switched at home from 7.1R to RELENG_7. Everything went
smooth but 2 hours 46 mins later the box paniced with: vm_page_insert:
page already inserted. The 1688MB dump stopped at 1417 ... there is no
dump available :/.

The box, a dell t105, has been rock solid (as freeBSD) until yesterday
since 7.0R. It runs a bit complex mixture of things: xorp, racoon,
ipsec, pf, several openvpn udp tunnels, pppoe client (mpd5), intensive
use of zfs, some nfs, samba, apache, php, postgresql, mysql, dovecot,
postfix ... well, the list is never ending and I have no idea where to
start to track the problem.

dmesg available at http://pastebin.com/m4d640f31
feel free to ask for whatever more info

HELP!

Thanks a lot in advance,
Cheers.


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


Re: fxp unusable after make world

2009-04-11 Thread Pyun YongHyeon
On Mon, Mar 09, 2009 at 09:06:10AM +0900, Pyun YongHyeon wrote:
> On Sun, Mar 08, 2009 at 06:04:35PM +0100, Beat Siegenthaler wrote:
> > Pyun YongHyeon wrote:
> > 
> > > 
> > > I touched fxp(4) to add more hardware assistance so it could cause
> > > problems on your box. Please show me dmesg output and
> > > "ifconfig fxp0"
> > > output.
> > > 
> > > If you doubt checksum offloading or TSO issues, try
> > > "ifconfig fxp0 -tso -txcsum -rxcsum".
> > > 
> 
> And the command above fixed your issue?
> 

It seems that fxp(4) has a TSO bug. Would you try attached patch?
(Make sure to enable TSO to check whether the issue was resolved.)
Index: sys/dev/fxp/if_fxp.c
===
--- sys/dev/fxp/if_fxp.c	(revision 190876)
+++ sys/dev/fxp/if_fxp.c	(working copy)
@@ -1485,7 +1485,8 @@
 		 * checksum in the first frame driver should compute it.
 		 */
 		ip->ip_sum = 0;
-		ip->ip_len = htons(ifp->if_mtu);
+		ip->ip_len = htons(m->m_pkthdr.tso_segsz + (ip->ip_hl << 2) +
+		(tcp->th_off << 2));
 		tcp->th_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr,
 		htons(IPPROTO_TCP + (tcp->th_off << 2) +
 		m->m_pkthdr.tso_segsz));
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"