Send freebsd-current mailing list submissions to
freebsd-current@freebsd.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-current
or, via email, send a message with subject or body 'help' to
freebsd-current-request@freebsd.org
You can reach the person managing the list at
freebsd-current-owner@freebsd.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-current digest..."
Today's Topics:
1. Re: ATA driver races with interrupts (Ville-Pertti Keinonen)
2. Re: HEADS UP: tar -l is now (intentionally) broken.
(Roman Neuhauser)
3. Re: HEADS UP: tar -l is now (intentionally) broken.
(Michael Nottebrock)
4. [current tinderbox] failure on i386/i386 (FreeBSD Tinderbox)
5. Re: HEADS UP: tar -l is now (intentionally) broken. (Mike Bristow)
6. Re: ATA driver races with interrupts (S?ren Schmidt)
7. RE: ATA driver races with interrupts (Daniel Eriksson)
8. Re: Please test /etc/rc.d/sendmail patch (Willem Jan Withagen)
----------------------------------------------------------------------
Message: 1
Date: Tue, 03 Aug 2004 13:30:55 +0300
From: Ville-Pertti Keinonen <will+freebsd-current@will.iki.fi>
Subject: Re: ATA driver races with interrupts
To: S?ren Schmidt<sos@DeepCore.dk>
Cc: freebsd-current@freebsd.org
Message-ID: <410F695F.2060907@will.iki.fi>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
S�ren Schmidt wrote:
> Reliable solutions needs reliable HW, we can narrow down the race
> window here, but without HW support we cannot close it completely
> unless we serialises access to the channels (what lots of OS's does
> btw)..
For now, I moved my SATA disks to the Promise controller, which seems to
work with an unpatched -current.
If serialization is the only reliable solution, shouldn't it be enabled
for all controllers with multiple channels on the same irq that use
ata_generic_intr? It isn't going to hurt performance when only using
one channel, and when using multiple channels...currently it's pretty
much guaranteed to blow up.
------------------------------
Message: 2
Date: Tue, 3 Aug 2004 12:50:40 +0200
From: Roman Neuhauser <neuhauser@chello.cz>
Subject: Re: HEADS UP: tar -l is now (intentionally) broken.
To: Johny Mattsson <lonewolf-freebsd@earthmagic.org>
Cc: Tim Kientzle <kientzle@freebsd.org>
Message-ID: <20040803105040.GA1620@isis.wad.cz>
Content-Type: text/plain; charset=us-ascii
# lonewolf-freebsd@earthmagic.org / 2004-08-03 19:27:53 +1000:
> As someone said, adhering to standards is a Good Thing (tm), and I think
> it's a worthwile aim. Making this error (and yes, I do agree that it
> should be an error, not a warning) transitional, we pave the way for
> becoming standards compliant, while still not destroying file systems
> nilly-willy.
>
> I won't claim to know what a reasonable timeframe would be, but perhaps
> have this message in 5.3, and then change the behaviour for 5.4 or 5.5?
AFAIK 5.3 is to be the point where 5.x becomes STABLE, and it would
not be smart to change the behavior after that. I don't know whether
there's still enough time for a transitional period.
--
If you cc me or remove the list(s) completely I'll most likely ignore
your message. see http://www.eyrie.org./~eagle/faqs/questions.html
------------------------------
Message: 3
Date: Tue, 3 Aug 2004 13:01:40 +0200
From: Michael Nottebrock <michaelnottebrock@gmx.net>
Subject: Re: HEADS UP: tar -l is now (intentionally) broken.
To: freebsd-ports@freebsd.org
Cc: Roman Neuhauser <neuhauser@chello.cz>
Message-ID: <200408031301.41181.michaelnottebrock@gmx.net>
Content-Type: text/plain; charset="iso-8859-1"
On Tuesday 03 August 2004 09:28, Roman Neuhauser wrote:
> > In short, everyone wins on -o, everyone loses
> > on -l. That seems fair. ;-)
>
> I believe "loses" is the keyword here.
You don't loose anything if set POSIXLY_CORRECT.
--
,_, | Michael Nottebrock | lofi@freebsd.org
(/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
\u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040803/ac0a7bce/attachment-0001.bin
------------------------------
Message: 4
Date: Tue, 3 Aug 2004 07:05:16 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on i386/i386
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
<i386@freebsd.org>
Message-ID: <20040803110516.A833D7303F@freebsd-current.sentex.ca>
TB --- 2004-08-03 09:53:48 - tinderbox 2.3 running on freebsd-current.sentex.ca
TB --- 2004-08-03 09:53:48 - starting CURRENT tinderbox run for i386/i386
TB --- 2004-08-03 09:53:48 - checking out the source tree
TB --- 2004-08-03 09:53:48 - cd /home/tinderbox/sandbox/CURRENT/i386/i386
TB --- 2004-08-03 09:53:48 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src
TB --- 2004-08-03 09:59:23 - building world (CFLAGS=-O -pipe)
TB --- 2004-08-03 09:59:23 - cd /home/tinderbox/sandbox/CURRENT/i386/i386/src
TB --- 2004-08-03 09:59:23 - /usr/bin/make -B buildworld
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
TB --- 2004-08-03 10:48:47 - building generic kernel (COPTFLAGS=-O -pipe)
TB --- 2004-08-03 10:48:47 - cd /home/tinderbox/sandbox/CURRENT/i386/i386/src
TB --- 2004-08-03 10:48:47 - /usr/bin/make buildkernel KERNCONF=GENERIC
>>> Kernel build for GENERIC started on Tue Aug 3 10:48:47 UTC 2004
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
>>> Kernel build for GENERIC completed on Tue Aug 3 11:01:18 UTC 2004
TB --- 2004-08-03 11:01:18 - generating LINT kernel config
TB --- 2004-08-03 11:01:18 - cd /home/tinderbox/sandbox/CURRENT/i386/i386/src/sys/i386/conf
TB --- 2004-08-03 11:01:18 - /usr/bin/make -B LINT
TB --- 2004-08-03 11:01:18 - building LINT kernel (COPTFLAGS=-O -pipe)
TB --- 2004-08-03 11:01:18 - cd /home/tinderbox/sandbox/CURRENT/i386/i386/src
TB --- 2004-08-03 11:01:18 - /usr/bin/make buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Tue Aug 3 11:01:18 UTC 2004
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/i386/i386/src/sys -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions -Wno-inline /tinderbox/CURRENT/i386/i386/src/sys/dev/aac/aac_debug.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/i386/i386/src/sys -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions -Wno-inline /tinderbox/CURRENT/i386/i386/src/sys/dev/aac/aac_disk.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/i386/i386/src/sys -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions -Wno-inline /tinderbox/CURRENT/i386/i386/src/sys/dev/aac/aac_pci.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/i386/i386/src/sys -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions -Wno-inline /tinderbox/CURRENT/i386/i386/src/sys/dev/aac/aac_cam.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/i386/i386/src/sys -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions -Wno-inline /tinderbox/CURRENT/i386/i386/src/sys/dev/aac/aac_linux.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/i386/i386/src/sys -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions -Wno-inline /tinderbox/CURRENT/i386/i386/src/sys/dev/acpica/acpi.c
/tinderbox/CURRENT/i386/i386/src/sys/dev/acpica/acpi.c: In function `acpi_Startup':
/tinderbox/CURRENT/i386/i386/src/sys/dev/acpica/acpi.c:244: warning: unused variable `debugpoint'
*** Error code 1
Stop in /tinderbox/CURRENT/i386/i386/obj/tinderbox/CURRENT/i386/i386/src/sys/LINT.
*** Error code 1
Stop in /tinderbox/CURRENT/i386/i386/src.
*** Error code 1
Stop in /tinderbox/CURRENT/i386/i386/src.
TB --- 2004-08-03 11:05:16 - WARNING: /usr/bin/make returned exit code 1
TB --- 2004-08-03 11:05:16 - ERROR: failed to build lint kernel
TB --- 2004-08-03 11:05:16 - tinderbox aborted
------------------------------
Message: 5
Date: Tue, 03 Aug 2004 12:09:06 +0100
From: Mike Bristow <mike@urgle.com>
Subject: Re: HEADS UP: tar -l is now (intentionally) broken.
To: Roman Neuhauser <neuhauser@chello.cz>
Cc: Tim Kientzle <kientzle@freebsd.org>
Message-ID: <1091531346.34422.12.camel@singsing.eng.demon.net>
Content-Type: text/plain
On Tue, 2004-08-03 at 11:50, Roman Neuhauser wrote:
> # lonewolf-freebsd@earthmagic.org / 2004-08-03 19:27:53 +1000:
> > As someone said, adhering to standards is a Good Thing (tm), and I think
> > it's a worthwile aim. Making this error (and yes, I do agree that it
> > should be an error, not a warning) transitional, we pave the way for
> > becoming standards compliant, while still not destroying file systems
> > nilly-willy.
> >
> > I won't claim to know what a reasonable timeframe would be, but perhaps
> > have this message in 5.3, and then change the behaviour for 5.4 or 5.5?
>
> AFAIK 5.3 is to be the point where 5.x becomes STABLE, and it would
> not be smart to change the behavior after that. I don't know whether
> there's still enough time for a transitional period.
You could leave the warning in place for the whole RELENG_5 cycle, and
do the POSIX thing in HEAD (after RELENG_5 has branched).
Means FreeBSD gets a POSIX tar; -STABLE users see the warning for ages;
-CURRENT users see the warning for a while. Everyone has ice-cream.
Cheers,
Mike
--
Mike Bristow - http://www.urgle.com/~mike/ - mike@urgle.com
Why did the evil chicken cross the road?
A polo bear
------------------------------
Message: 6
Date: Tue, 03 Aug 2004 13:35:07 +0200
From: S?ren Schmidt<sos@DeepCore.dk>
Subject: Re: ATA driver races with interrupts
To: Ville-Pertti Keinonen <will+freebsd-current@will.iki.fi>
Cc: freebsd-current@freebsd.org
Message-ID: <410F786B.1060206@DeepCore.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Ville-Pertti Keinonen wrote:
> S�ren Schmidt wrote:
>
>> Reliable solutions needs reliable HW, we can narrow down the race
>> window here, but without HW support we cannot close it completely
>> unless we serialises access to the channels (what lots of OS's does
>> btw)..
>
> For now, I moved my SATA disks to the Promise controller, which seems to
> work with an unpatched -current.
Yeah, Promise makes HW thats designed to work ;)
> If serialization is the only reliable solution, shouldn't it be enabled
> for all controllers with multiple channels on the same irq that use
> ata_generic_intr? It isn't going to hurt performance when only using
> one channel, and when using multiple channels...currently it's pretty
> much guaranteed to blow up.
Well, until very recently such controllers didn't exist. I've fixed the
Intel SATA part, but I have no docs for the VIA SATA part so I have
nothing to go by there so maybe I should mark that one as broken and
serialize the accesses...
--
-S�ren
------------------------------
Message: 7
Date: Tue, 3 Aug 2004 13:54:22 +0200
From: "Daniel Eriksson" <daniel_k_eriksson@telia.com>
Subject: RE: ATA driver races with interrupts
To: "'Ville-Pertti Keinonen'" <will+freebsd-current@will.iki.fi>,
<freebsd-current@freebsd.org>
Message-ID:
<!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA0VcX9IoJqUaXPS8MjT1PdsKAAAAQAAAAGD0zkRKtK0+Q+ZKyneRywwEAAAAA@telia.com>
Content-Type: text/plain; charset="us-ascii"
Ville-Pertti Keinonen wrote:
> Partitions from ad10 and ad12 were mounted on /sata1 and /sata2,
> respectively, both containing tens of gigabytes of files.
>
> By issuing
>
> $ find /sata1 -type f -exec md5 '{}' \; & find /sata2 -type f
> -exec md5
> '{}' \; &
>
> the system would lock up or detach one of the disks in less
> than 5 seconds.
>
> With the attached version of my patch, it completed successfully.
My system also survives the stress-test after applying the patch, but it
fails to fix all of my problems.
One way for me to reliably mess my system up is to install
/usr/ports/sysutils/smartmontools and then try to enable SMART on both the
SATA discs (smartctl -s on /dev/ad20 && smartctl -s on /dev/ad22). This
results in the first channel totally locking up, to the point where not even
a reboot unlocks it (BIOS hangs, or if the SATA BIOS is turned off then
FreeBSD hangs when detecting the channel on the controller). Trying to
access the disc results in the process hanging indefinately without error
message and with no way to kill it.
The above problem is the same with or without your patch. However, without
your patch I usually get an interrupt storm, followed by a detached disc and
then a channel lockup. With your patch I get no storm and the disc is not
detached (but the channel still locks up hard).
I'm not sure if this is a hardware problem or not. I've tried switching
channels for the two discs (one Maxtor, one Western Digital), but it seems
it is always the first channel that locks up. That seems to indicate that
it's not a disc problem. It could still be a problem with the motherboard.
Unfortunately I don't know how to proceed with troubleshooting this.
/Daniel Eriksson
------------------------------
Message: 8
Date: Tue, 3 Aug 2004 13:58:48 +0200
From: "Willem Jan Withagen" <wjw@withagen.nl>
Subject: Re: Please test /etc/rc.d/sendmail patch
To: "Alexander Leidinger" <Alexander@Leidinger.net>
Cc: freebsd-current@freebsd.org
Message-ID: <03f101c47951$3c543540$471b3dd4@digiware.nl>
Content-Type: text/plain; charset="iso-8859-1"
From: "Alexander Leidinger" <Alexander@Leidinger.net>
> > Perhaps your sendmail running with periodic uses a different .cf???
>
> I don't think so. Regenerating the sendmail.cf was one of the first
> things I did, so it isn't outdated. The submit.cf is also regenerated.
> The only other .cf files are the freebsd ones, and those are also
> up-to-date.
This is almost at the top of my *.cf
# level 10 config file format
V10/Berkeley
This is a little further down the road:
# Configuration version number
DZ8.12.10
This is how I'm greeted:
[/etc/mail] root@freebee> telnet 0 25
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
220 ........... ESMTP Sendmail 8.12.10/8.12.10; Tue, 3 Aug 2004 13:51:05
+0200 (CEST)
quit
221 2.0.0 ......... closing connection
Connection closed by foreign host.
And this is at the end of:
strings /usr/libexec/sendmail/sendmail
@(#) Copyright (c) 1998-2001 Sendmail, Inc. and its suppliers.
All rights reserved.
Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved.
Copyright (c) 1988, 1993
The Regents of the University of California. All rights reserved.
0123456789ABCDEF
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/
?456789:;<=
!"#$%&'()*+,-./0123
>|Gt
8.12.10
My guess is that if in this last case has 8.9.3 in it, your running old
binaries.
The 8.9.3 has to come from somewhere.....
The errorstring you get stems from main.c
--WjW
------------------------------
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
End of freebsd-current Digest, Vol 71, Issue 6
**********************************************
--
[35mEvariste Galois[m:
[33m�����呛��樱������蔷������,����直前......[m
[m[35m�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234][m