FreeBSD Apache Mysql Php Squid

I love these tools!

2008年5月17日

freebsd-stable Digest, Vol 252, Issue 11

Send freebsd-stable mailing list submissions to
freebsd-stable@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
or, via email, send a message with subject or body 'help' to
freebsd-stable-request@freebsd.org

You can reach the person managing the list at
freebsd-stable-owner@freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-stable digest..."


Today's Topics:

1. Re: g_vfs_done error third part--PLEASE HELP! (Jeremy Chadwick)


----------------------------------------------------------------------

Message: 1
Date: Sat, 17 May 2008 03:16:27 -0700
From: Jeremy Chadwick <koitsu@FreeBSD.org>
Subject: Re: g_vfs_done error third part--PLEASE HELP!
To: Willy Offermans <Willy@Offermans.Rompen.nl>
Cc: Roland Smith <rsmith@xs4all.nl>, freebsd-stable@FreeBSD.ORG
Message-ID: <20080517101627.GA42928@eos.sc1.parodius.com>
Content-Type: text/plain; charset=us-ascii

On Sat, May 17, 2008 at 09:52:23AM +0200, Willy Offermans wrote:
> sun# atacontrol status ar0
> ar0: ATA RAID1 status: READY
> subdisks:
> 0 ad4 ONLINE
> 1 ad6 ONLINE

What ataraid(4) method are you using? Promise FastTrak? Adaptec
HostRAID? Intel MatrixRAID? Please let us know, as there are some
known long-standing bugs with ataraid(4) that could (no guarantee)
explain what's going on.

> So ad4 and ad6 are the HDs of the array.
>
> sun# smartctl -A /dev/ad6

This excludes the brand/model of hard disks you have. Can you please
tell us this? Different hard disk manufacturers do different things
with SMART statistics.

Your SMART statistics look okay, but depending upon what drive model and
manufacturer is being used, they could be indicative of a problem.

--
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networking

http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |

------------------------------

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

End of freebsd-stable Digest, Vol 252, Issue 11
***********************************************

freebsd-i386 Digest, Vol 264, Issue 5

Send freebsd-i386 mailing list submissions to
freebsd-i386@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-i386
or, via email, send a message with subject or body 'help' to
freebsd-i386-request@freebsd.org

You can reach the person managing the list at
freebsd-i386-owner@freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-i386 digest..."


Today's Topics:

1. Re: i386/95993: Cyrix 5530 unable to map interrupt
(Kirill Yelizarov)
2. Re: kern/123731: [patch][fix][sysvsem] System V semaphores
cause unexpected hanging (gavin@FreeBSD.org)
3. i386/123734: Chipset VIA CX700 requires extra initialization
(Sergey Korsak)
4. Re: i386/94141: [iwi] iwi doesn't work on Acer Laptop
(matteo@FreeBSD.org)
5. Re: i386/98964: [iwi] iwi totally freezes system
(matteo@FreeBSD.org)
6. Re: i386/101135: [iwi] iwi goes up and down (matteo@FreeBSD.org)


----------------------------------------------------------------------

Message: 1
Date: Fri, 16 May 2008 12:50:03 GMT
From: Kirill Yelizarov <ykirill@yahoo.com>
Subject: Re: i386/95993: Cyrix 5530 unable to map interrupt
To: freebsd-i386@FreeBSD.org
Message-ID: <200805161250.m4GCo3OD022017@freefall.freebsd.org>

The following reply was made to PR i386/95993; it has been noted by GNATS.

From: Kirill Yelizarov <ykirill@yahoo.com>
To: bug-followup@FreeBSD.org
Cc: John Baldwin <jhb@freebsd.org>
Subject: Re: i386/95993: Cyrix 5530 unable to map interrupt
Date: Fri, 16 May 2008 05:15:17 -0700 (PDT)

I upgraded to 7.0 Stable and problem went away. Thanks for all the help!



>
> > --- John Baldwin <jhb@FreeBSD.org> wrote:
> > > Does this still happen on 6.3? It appears that
> > > ata(4) is still working ok.
> > >
> > > --
> > > John Baldwin
> >
> >
> >
>



------------------------------

Message: 2
Date: Fri, 16 May 2008 14:17:46 GMT
From: gavin@FreeBSD.org
Subject: Re: kern/123731: [patch][fix][sysvsem] System V semaphores
cause unexpected hanging
To: gavin@FreeBSD.org, freebsd-i386@FreeBSD.org,
freebsd-bugs@FreeBSD.org
Message-ID: <200805161417.m4GEHkfk030086@freefall.freebsd.org>

Synopsis: [patch][fix][sysvsem] System V semaphores cause unexpected hanging

Responsible-Changed-From-To: freebsd-i386->freebsd-bugs
Responsible-Changed-By: gavin
Responsible-Changed-When: Fri May 16 14:17:14 UTC 2008
Responsible-Changed-Why:
Not i386 specific

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


------------------------------

Message: 3
Date: Fri, 16 May 2008 16:45:45 GMT
From: Sergey Korsak <skif@1plus1.net>
Subject: i386/123734: Chipset VIA CX700 requires extra initialization
To: freebsd-gnats-submit@FreeBSD.org
Message-ID: <200805161645.m4GGjjdL056847@www.freebsd.org>


>Number: 123734
>Category: i386
>Synopsis: Chipset VIA CX700 requires extra initialization
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-i386
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri May 16 16:50:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Sergey Korsak
>Release: 7.0-RELEASE
>Organization:
TV channel "Studio 1+1"
>Environment:
FreeBSD tiny.homenet 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
I had got mini PC eBox-4854 made by DMP Electronics Inc. ( http://www.compactpc.com.tw/ebox-4854.htm ) and found onboard NIC (Realtek 8100B) and mini-PCI Wi-Fi module didn't work with errors:
rl0: watchdog timeout
and
ath0: ath_chan_set: unable to reset channel ...
Booting FreeBSD on another eBox-4854, playing with BIOS and sysctl settings, switching ACPI/APIC and compiling custom kernels didn't help.
OpenBSD 4.3 experienced the same problems.
But in Linux (fc7) both devices worked OK.
This box uses VIA CX700M chipset, so I grep-ped linux kernel sources and found interesting piece of code:

/*
* Disable PCI Bus Parking and PCI Master read caching on CX700
* which causes unspecified timing errors with a VT6212L on the PCI
* bus leading to USB2.0 packet loss. The defaults are that these
* features are turned off but some BIOSes turn them on.
*/

uint8_t b;
if (pci_read_config_byte(dev, 0x76, &b) == 0) {
if (b & 0x40) {
/* Turn off PCI Bus Parking */
pci_write_config_byte(dev, 0x76, b ^ 0x40);

dev_info(&dev->dev,
"Disabling VIA CX700 PCI parking\n");
}
}

if (pci_read_config_byte(dev, 0x72, &b) == 0) {
if (b != 0) {
/* Turn off PCI Master read caching */
pci_write_config_byte(dev, 0x72, 0x0);

/* Set PCI Master Bus time-out to "1x16 PCLK" */
pci_write_config_byte(dev, 0x75, 0x1);

/* Disable "Read FIFO Timer" */
pci_write_config_byte(dev, 0x77, 0x0);

dev_info(&dev->dev,
"Disabling VIA CX700 PCI caching\n");
}
}

Here dev is
vendor = 0x1106 'VIA Technologies Inc'
device = 0x324e 'CX700 Internal Module Bus'
class = 0x060000 'HOST-PCI bridge'

Being done on FreeBSD, these steps fix the problem till the next system boot.
>How-To-Repeat:
Boot FreeBSD on PC, based on VIA CX700* chipset. If BIOS doesn't initialize chipset correctly, like in my case, problem with some PCI devices using DMA transfer should appear.
>Fix:
I think BIOS developers but not OS developers must fix this problem. But as long as not all of them do it, it will be good to include this quirk in FreeBSD's kernel code. Anyway, there is my script /usr/local/etc/rc.d/cx700fix in the attach.

Patch attached with submission follows:

#!/bin/sh

# PROVIDE: cx700fix
# REQUIRE: FILESYSTEMS
# BEFORE: netif

. /etc/rc.subr

name="cx700fix"
start_cmd="reg_fix"
stop_cmd=":"


reg_fix()
{
if selector=`pciconf -l | sed -n '/chip=0x324e1106/{s/[[:blank:]].*//;p;}'` && [ -n "$selector" ]; then
b=`read_config_byte 0x76`
if [ $((b & 64)) -eq 64 ]; then
echo "Disabling VIA CX700 PCI parking"
write_config_byte 0x76 $((b ^ 64))
fi

if [ `read_config_byte 0x72` -ne 0 ]; then
echo "Disabling VIA CX700 PCI caching"
write_config_byte 0x72 0
write_config_byte 0x75 1
write_config_byte 0x77 0
fi
fi

return 0
}

read_config_byte() {
echo $(( 0x$(pciconf -rb $selector $1) ))
}

write_config_byte() {
pciconf -wb $selector $1 $2
}

run_rc_command "$1"


>Release-Note:
>Audit-Trail:
>Unformatted:


------------------------------

Message: 4
Date: Sat, 17 May 2008 10:05:34 GMT
From: matteo@FreeBSD.org
Subject: Re: i386/94141: [iwi] iwi doesn't work on Acer Laptop
To: lexa@wincmd.ru, matteo@FreeBSD.org, freebsd-i386@FreeBSD.org
Message-ID: <200805171005.m4HA5Ytc084290@freefall.freebsd.org>

Synopsis: [iwi] iwi doesn't work on Acer Laptop

State-Changed-From-To: open->feedback
State-Changed-By: matteo
State-Changed-When: Sab 17 Mag 2008 10:04:51 UTC
State-Changed-Why:
Can you experience this problem on newer FreeBSD version too?

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


------------------------------

Message: 5
Date: Sat, 17 May 2008 10:06:20 GMT
From: matteo@FreeBSD.org
Subject: Re: i386/98964: [iwi] iwi totally freezes system
To: jakub.laszczynski@gmail.com, matteo@FreeBSD.org,
freebsd-i386@FreeBSD.org
Message-ID: <200805171006.m4HA6KGw084341@freefall.freebsd.org>

Synopsis: [iwi] iwi totally freezes system

State-Changed-From-To: open->feedback
State-Changed-By: matteo
State-Changed-When: Sab 17 Mag 2008 10:05:45 UTC
State-Changed-Why:
Can you experience this problem on newer FreeBSD versions too?

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


------------------------------

Message: 6
Date: Sat, 17 May 2008 10:06:45 GMT
From: matteo@FreeBSD.org
Subject: Re: i386/101135: [iwi] iwi goes up and down
To: id4you@gmail.com, matteo@FreeBSD.org, freebsd-i386@FreeBSD.org
Message-ID: <200805171006.m4HA6jJl084391@freefall.freebsd.org>

Synopsis: [iwi] iwi goes up and down

State-Changed-From-To: open->feedback
State-Changed-By: matteo
State-Changed-When: Sab 17 Mag 2008 10:06:32 UTC
State-Changed-Why:
Can you experience this problem on newer FreeBSD versions too?

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


------------------------------

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


End of freebsd-i386 Digest, Vol 264, Issue 5
********************************************

Re: [squid-users] What's missing from 2.6 for full HTTP/1.1 support?

Adrian Chadd escreveu:
> On Fri, May 16, 2008, Chris Woodfield wrote:
>
>> So the question I have is - what exactly is missing from squid 2.6
>> that prevents full HTTP/1.1 support? I know this is a milestone goal,
>> but I'm curious where the code is today (vs., say, where is in 3.0,
>> and planned future versions).
>>
>
> I'd start by saying "move to Squid-2.7" before thinking about HTTP/1.1
> if you wanted to stay in the -2 train.
>

dumb question ..... the HTTP/1.1 support which seems to being
developed on squid-2.7 branch will be released on a 2.7 stable release
or it's going to be on a 3.0 stable update ?

or the full 1.1 support is not that near, maybe for a 3.1 branch ?

--


Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
http://www.solutti.com.br

Minha armadilha de SPAM, NÃO mandem email
gertrudes@solutti.com.br
My SPAMTRAP, do not email it

Re: [squid-users] GET request with long URI TCP_DENIED

On fre, 2008-05-16 at 15:14 -0400, Freeman, Aleda (EEA) wrote:
> Our organization is running squid 2.5.9-10.
> We're having a problem sending a request to tomcat through squid that
> has a 4,377 chars or more URI. (it's a very long GET request).

Indeed. Squid supports URL sizes up to 4KB.

This is defined by MAX_URL in defines.h, but I can not guarantee that
it's safe to change this.

Regards
Henrik