Message-ID: <4DDgUI$C08@bbs.ustc.edu.cn>
Subject: freebsd-current Digest, Vol 68, Issue 27
Date: Tue, 13 Jul 2004 23:26:42 +0000
From: Galoisz.bbs@bbs.ustc.edu.cn (���博士)
Path: 74.82.202.154!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.unix.mbox.zip!g2news1.google.com!news1.google.com!newshub.sdsu.edu!cox.net!news-xfer.cox.net!news.moat.net!border1.nntp.sjc.giganews.com!nntp.giganews.com!sjc1.usenetserver.com!news.usenetserver.com!maily.cic.tsinghua.edu.cn!netnews.sdu.edu.cn!USTC
Newsgroups: cn.bbs.comp.unix
Organization: 嫺�����
X-Filename: Unix/M.1089761202.A
Lines: 1749
Xref: 74.82.202.154 cn.bbs.comp.unix:1323


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: CVSUP and 5.2.1 RELEASE  (Randy Bush)
   2. Re: kldload won't load (Peter Jeremy)
   3. Re: SW_WDOG problem (Scott Long)
   4. Re: CVSUP and 5.2.1 RELEASE  (Poul-Henning Kamp)
   5. Re: CVSUP and 5.2.1 RELEASE  (Randy Bush)
   6. Re: CVSUP and 5.2.1 RELEASE  (Poul-Henning Kamp)
   7. Re: kldload won't load (Dag-Erling Sm?rgrav)
   8. Re: CVSUP and 5.2.1 RELEASE  (Randy Bush)
   9. Re: panic: Assertion td->td_turnstile != NULL failed at
      ../../../kern/subr_turnstile.c:478 (Robert Watson)
  10. Re: panic: Assertion td->td_turnstile != NULL failed at
      ../../../kern/subr_turnstile.c:478 (Robert Watson)
  11. Re: CVSUP and 5.2.1 RELEASE (Garance A Drosihn)
  12. Re: panic: m_copym, length > size of mbuf chain (Daniel Lang)
  13. Re: NFS over IPv6 (Alfred Perlstein)
  14. Re: CVSUP and 5.2.1 RELEASE  (Poul-Henning Kamp)
  15. Re: CVSUP and 5.2.1 RELEASE (Barney Wolff)
  16. Re: CVSUP and 5.2.1 RELEASE  (Poul-Henning Kamp)
  17. Re: CVSUP and 5.2.1 RELEASE (Jon Disnard)
  18. Re: CVSUP and 5.2.1 RELEASE (Kirk Strauser)
  19. Re: CVSUP and 5.2.1 RELEASE (Garance A Drosihn)
  20. Re: CVSUP and 5.2.1 RELEASE  (Poul-Henning Kamp)
  21. Sysctl object type unification (Bill Fenner)
  22. Re: CVSUP and 5.2.1 RELEASE (Brad Knowles)
  23. Re: CVSUP and 5.2.1 RELEASE  (Poul-Henning Kamp)
  24. Re: portupgrade upgrades ports despite +IGNOREME files
      (Geoff Speicher)
  25. Re: portupgrade upgrades ports despite +IGNOREME files
      (Eli K. Breen)
  26. Re: portupgrade upgrades ports despite +IGNOREME files
      (Eli K. Breen)
  27. Re: CVSUP and 5.2.1 RELEASE (Jon Disnard)
  28. Re: [TEST/REVIEW/HEADSUP] tty drivers mega-patch 
      (Poul-Henning Kamp)
  29. Re: NFS over IPv6 (Jun Kuriyama)
  30. Re: NFS over IPv6 (Alfred Perlstein)
  31. Re: CVSUP and 5.2.1 RELEASE (Drew Broadley)
  32. Hang on boot - "ATAPI_RESET no interrupt" with DVD+RW
      (Brian Rogers)
  33. Re: CVSUP and 5.2.1 RELEASE  (Poul-Henning Kamp)
  34. Re: CVSUP and 5.2.1 RELEASE (Garance A Drosihn)
  35. Re: CVSUP and 5.2.1 RELEASE (Jon Disnard)
  36. Re: CVSUP and 5.2.1 RELEASE  (Poul-Henning Kamp)
  37. Re: CVSUP and 5.2.1 RELEASE (Johan Pettersson)
  38. Re: CVSUP and 5.2.1 RELEASE  (Poul-Henning Kamp)


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

Message: 1
Date: Tue, 13 Jul 2004 12:46:24 -0700
From: Randy Bush <randy@psg.com>
Subject: Re: CVSUP and 5.2.1 RELEASE 
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc: Barney Wolff <barney@databus.com>
Message-ID: <16628.15376.651824.540615@ran.psg.com>
Content-Type: text/plain; charset=us-ascii

> And your argument here is that people are reciprocally less likely
> to hose (or as it may be: not hose) their systems because the have
> to type 27 characters more to do so ?

let me ask a different question.  what is the need for 'make world'?

randy


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

Message: 2
Date: Wed, 14 Jul 2004 05:47:05 +1000
From: Peter Jeremy <PeterJeremy@optushome.com.au>
Subject: Re: kldload won't load
To: John Polstra <jdp@polstra.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040713194705.GB89608@cirb503493.alcatel.com.au>
Content-Type: text/plain; charset=us-ascii

On Mon, 2004-Jul-12 14:09:12 -0700, John Polstra wrote:
>On 12-Jul-2004 Robert Watson wrote:
>> I don't disagree, but you have to admit that the kitten dying thing is a
>> interesting (if unusual) side effect.
>
>True, and much preferable to making it rain for forty days and forty
>nights. :-)

Actually, we could do with that around here.  (We're in the middle
of the worst drought for something like 60 years).

It would be interesting to know how Bill has arranged for the
kitten killing and whether there other options.

-- 
Peter Jeremy

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

Message: 3
Date: Tue, 13 Jul 2004 14:00:24 -0600
From: Scott Long <scottl@freebsd.org>
Subject: Re: SW_WDOG problem
To: Gerrit Nagelhout <gnagelhout@sandvine.com>
Cc: "'current@freebsd.org'" <current@freebsd.org>
Message-ID: <40F43F58.7090207@freebsd.org>
Content-Type: text/plain; charset=us-ascii; format=flowed

Gerrit Nagelhout wrote:

> Hi,
> 
> Were are trying out the new software watchdog on current (from a couple of
> weeks ago) and are running into a panic within a panic.  What happens is
> when the software watchdog tries to panic the system (with interrupts
> disabled), 
> it manages to write out the core file, but then panics again in
> pmap_invalidate_range
> because interrupts are enabled.
> Any ideas on how to work around this?
> Thanks,
> 
> Gerrit 
> 
> 

This is from a well known class of problems.  There has been talk about 
disabling the shutdown fsync in the panic case.  It's both unsafe
(why try to continue to do I/O when you've paniced because the
system has gone into an unreliable state) and hard to do correctly
without running into these kinds of problems.

Scott


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

Message: 4
Date: Tue, 13 Jul 2004 22:16:26 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: CVSUP and 5.2.1 RELEASE 
To: Randy Bush <randy@psg.com>
Cc: Barney Wolff <barney@databus.com>
Message-ID: <24364.1089749786@critter.freebsd.dk>

In message <16628.15376.651824.540615@ran.psg.com>, Randy Bush writes:
>> And your argument here is that people are reciprocally less likely
>> to hose (or as it may be: not hose) their systems because the have
>> to type 27 characters more to do so ?
>
>let me ask a different question.  what is the need for 'make world'?

It is mentioned in approximately 22900 hits on google:

http://www.google.com/search?q=%22make+world%22+freebsd&sourceid=opera&num=0&i
e=utf-8&oe=utf-8

We are not going to rename /dev/null either.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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

Message: 5
Date: Tue, 13 Jul 2004 13:20:16 -0700
From: Randy Bush <randy@psg.com>
Subject: Re: CVSUP and 5.2.1 RELEASE 
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc: current@freebsd.org
Message-ID: <16628.17408.87798.143913@ran.psg.com>
Content-Type: text/plain; charset=us-ascii

>> let me ask a different question.  what is the need for 'make world'?
> It is mentioned in approximately 22900 hits on google:

so is george bush, but i am hoping we don't keep him.

i meant my question seriously.  when should i use 'make world',
as opposed to the sequence to which i am used
  make buildworld
  make kernel
  boot -sw
  make installworld
  mergemaster
  reboot

randy


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

Message: 6
Date: Tue, 13 Jul 2004 22:22:34 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: CVSUP and 5.2.1 RELEASE 
To: Randy Bush <randy@psg.com>
Cc: current@freebsd.org
Message-ID: <24511.1089750154@critter.freebsd.dk>

In message <16628.17408.87798.143913@ran.psg.com>, Randy Bush writes:
>>> let me ask a different question.  what is the need for 'make world'?
>> It is mentioned in approximately 22900 hits on google:
>
>so is george bush, but i am hoping we don't keep him.

He'll hopefully stick around in the documentation in the
BUGS section :-)

>i meant my question seriously.  when should i use 'make world',

I use it a lot for testing, I know a lot of people use it
with DESTDIR=/disk/next_jail and similar.

The point here is that people who shoot their own feet off with
make world isn't going to stop doing so just because your
rename it to "make buildworld installworld"


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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

Message: 7
Date: Tue, 13 Jul 2004 22:25:31 +0200
From: des@des.no (Dag-Erling Sm?rgrav)
Subject: Re: kldload won't load
To: Jason Dusek <jason-dusek@uiowa.edu>
Cc: questions@freebsd.org
Message-ID: <xzp8ydnejt0.fsf@dwp.des.no>
Content-Type: text/plain; charset=iso-8859-1

Jason Dusek <jason-dusek@uiowa.edu> writes:
>    1 # grep FreeBSD_version /sys/sys/param.h
>     * __FreeBSD_version numbers are documented in the Porter's Handbook.
>    #undef __FreeBSD_version
>    #define __FreeBSD_version 502121        /* Master, propagated to newvers 
*/
>    #if (defined(BURN_BRIDGES) || __FreeBSD_version >= 600000) \

You tried to build a 5.2.1 module from 5-CURRENT sources.  Don't do
that.

DES
-- 
Dag-Erling Sm�rgrav - des@des.no

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

Message: 8
Date: Tue, 13 Jul 2004 13:27:12 -0700
From: Randy Bush <randy@psg.com>
Subject: Re: CVSUP and 5.2.1 RELEASE 
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc: current@freebsd.org
Message-ID: <16628.17824.155529.989531@ran.psg.com>
Content-Type: text/plain; charset=us-ascii

>> i meant my question seriously.  when should i use 'make world',
> I use it a lot for testing, I know a lot of people use it
> with DESTDIR=/disk/next_jail and similar.

ok.  makes sense.

> The point here is that people who shoot their own feet off with
> make world isn't going to stop doing so just because your
> rename it to "make buildworld installworld"

some will, some won't.  life's like that.  but if there was no
use for it, i would have been inclined to remove it.  given it
is useful, i have no problem keeping it.

randy


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

Message: 9
Date: Tue, 13 Jul 2004 16:38:34 -0400 (EDT)
From: Robert Watson <rwatson@FreeBSD.org>
Subject: Re: panic: Assertion td->td_turnstile != NULL failed at
	../../../kern/subr_turnstile.c:478
To: John Baldwin <jhb@FreeBSD.org>
Cc: freebsd-current@FreeBSD.org
Message-ID:
	<Pine.NEB.3.96L.1040713163748.88111N-100000@fledge.watson.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Fri, 9 Jul 2004, John Baldwin wrote:

> On Friday 09 July 2004 01:54 pm, Robert Watson wrote:
> > On Fri, 9 Jul 2004, John Baldwin wrote:
> > > > login: root
> > > > Password:panic: Assertion td->td_turnstile != NULL failed at
> > > > ../../../kern/subr_turnstile.c:478
> > >
> > > This means your thread has no turnstile to give to the lock it is
> > > blocking on.  Are you using TURNSTILE_PROFILING on this box?
> >
> > Not currently.  Would you like me to?
> 
> No, I was curious if there was a bug in the _PROFILING case. :) 
> Actually, hmm.  Looks like we don't setrunqueue() until after giving the
> thread a turnstile.  Can you see if this assertion is triggered: 

FYI, I'm now using this tweak on my test kernels on the same box, and have
yet to trigger it (with or without PREEMPTION).  I'll keep hammering away,
but largely without PREEMPTION because reproducing the hang is turning out
not to be a problem :-).

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Principal Research Scientist, McAfee Research


> 
> Index: subr_turnstile.c
> ===================================================================
> RCS file: /usr/cvs/src/sys/kern/subr_turnstile.c,v
> retrieving revision 1.145
> diff -u -r1.145 subr_turnstile.c
> --- subr_turnstile.c    2 Jul 2004 19:09:49 -0000       1.145
> +++ subr_turnstile.c    9 Jul 2004 19:35:27 -0000
> @@ -736,6 +736,7 @@
>                         td->td_lockname = NULL;
>                         TD_CLR_LOCK(td);
>                         MPASS(TD_CAN_RUN(td));
> +                       MPASS(td->td_turnstile != NULL);
>                         setrunqueue(td);
>                 } else {
>                         td->td_flags |= TDF_TSNOBLOCK;
> 
> Also, you can try wrapping the entire while() loop there in turnstile_unpend
() 
> in a critical secton to force it to wake up all the threads before 
> preempting.  Also, are you using MUTEX_WAKE_ALL by chance?
> 
> -- 
> John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
> "Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
> 


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

Message: 10
Date: Tue, 13 Jul 2004 16:38:34 -0400 (EDT)
From: Robert Watson <rwatson@FreeBSD.org>
Subject: Re: panic: Assertion td->td_turnstile != NULL failed at
	../../../kern/subr_turnstile.c:478
To: John Baldwin <jhb@FreeBSD.org>
Cc: freebsd-current@FreeBSD.org
Message-ID:
	<Pine.NEB.3.96L.1040713163748.88111N-100000@fledge.watson.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Fri, 9 Jul 2004, John Baldwin wrote:

> On Friday 09 July 2004 01:54 pm, Robert Watson wrote:
> > On Fri, 9 Jul 2004, John Baldwin wrote:
> > > > login: root
> > > > Password:panic: Assertion td->td_turnstile != NULL failed at
> > > > ../../../kern/subr_turnstile.c:478
> > >
> > > This means your thread has no turnstile to give to the lock it is
> > > blocking on.  Are you using TURNSTILE_PROFILING on this box?
> >
> > Not currently.  Would you like me to?
> 
> No, I was curious if there was a bug in the _PROFILING case. :) 
> Actually, hmm.  Looks like we don't setrunqueue() until after giving the
> thread a turnstile.  Can you see if this assertion is triggered: 

FYI, I'm now using this tweak on my test kernels on the same box, and have
yet to trigger it (with or without PREEMPTION).  I'll keep hammering away,
but largely without PREEMPTION because reproducing the hang is turning out
not to be a problem :-).

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Principal Research Scientist, McAfee Research


> 
> Index: subr_turnstile.c
> ===================================================================
> RCS file: /usr/cvs/src/sys/kern/subr_turnstile.c,v
> retrieving revision 1.145
> diff -u -r1.145 subr_turnstile.c
> --- subr_turnstile.c    2 Jul 2004 19:09:49 -0000       1.145
> +++ subr_turnstile.c    9 Jul 2004 19:35:27 -0000
> @@ -736,6 +736,7 @@
>                         td->td_lockname = NULL;
>                         TD_CLR_LOCK(td);
>                         MPASS(TD_CAN_RUN(td));
> +                       MPASS(td->td_turnstile != NULL);
>                         setrunqueue(td);
>                 } else {
>                         td->td_flags |= TDF_TSNOBLOCK;
> 
> Also, you can try wrapping the entire while() loop there in turnstile_unpend
() 
> in a critical secton to force it to wake up all the threads before 
> preempting.  Also, are you using MUTEX_WAKE_ALL by chance?
> 
> -- 
> John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
> "Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
> 


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

Message: 11
Date: Tue, 13 Jul 2004 16:53:59 -0400
From: Garance A Drosihn <drosih@rpi.edu>
Subject: Re: CVSUP and 5.2.1 RELEASE
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>,	Barney Wolff
	<barney@databus.com>
Cc: current@freebsd.org
Message-ID: <p06110411bd19eadd8741@[128.113.24.47]>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

At 9:08 PM +0200 7/13/04, Poul-Henning Kamp wrote:
>
>If you sit back for a moment and think about the number of barriers
>a user must already scale to get to the point of typing "make world",

If you also think about the real-world users who do in fact get
screwed by this target, then one wonders what we would really
lose if we changed the situation.

>then I think you will see that adding 27 extra characters is not
>going to change anything.  In particular not when compared the the
>number of places we have to change (to the extent we can)
>documentation which mentions "make world".

"make world" performs a sequence of operations which are expressly
wrong.  Why we have a WRONG target is a better question than how
much work it would be to change the documentation.

As to the documentation, we can have a "make world" target which
prints out:

      This target has been removed because it often causes trouble
      for users in many situations.  While our documentation does
      talk about "make world", that phrase is just a convenient
      short phrase to refer to the several steps needed to upgrade
      your system.  Please read the upgrade instructions in <wherever>
      for the safer way to upgrade your system.

We can then have an "xworld" target (or some other name) for those
who wish to things in the present order.  We (as a project) explicitly
berate users who follow suggestions from our own documentation and
then clobber their system with this troublesome target.  I, for one,
do not see what is gained by leaving this dangerous, frequently foot-
shooting target the way that it is -- ESPECIALLY if we have any
documentation which might suggest that users should use it.

So, while you are sitting back and thinking, could you remind me
what we GAIN by leaving the target the way it is?  I have somehow
managed to build FreeBSD on six different systems and two different
hardware platforms over the past five years or so without typing
"make world" once.  Wtf do we need to keep it for?

(I know I used it in the distant past, but I can not remember the
last time I did...)

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu

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

Message: 12
Date: Tue, 13 Jul 2004 23:05:08 +0200
From: Daniel Lang <dl@leo.org>
Subject: Re: panic: m_copym, length > size of mbuf chain
To: Robert Watson <rwatson@FreeBSD.org>
Cc: Don Lewis <truckman@FreeBSD.org>
Message-ID: <20040713210508.GA893@atrbg11.informatik.tu-muenchen.de>
Content-Type: text/plain; charset=us-ascii

Hi Robert,

Robert Watson wrote on Tue, Jul 13, 2004 at 03:42:09PM -0400:
[..]
> Is it possible to get the box running with SACK again for debugging
> purposes?  Resolving this issue would be a very good thing.  Thanks!
[..]

Well....

I am really hesitant about this matter.

The box used to be (at least from my perspective) one of the
top 5 mirror hosts in Germany for more than a dozen public domain
projects, like FreeBSD, other BSDs, Apache, Postgres, a couple of
Linux distros and many more. All in all this box has 100-200
mirrors running (well if they are running).

So at the moment, I am really glad to have the thing up again.

However, somebody of the SACK development team has contacted me, to
obtain access to the crashdump and I am happy to provide this
access. Maybe this is already sufficient to resolve the problem.

So, I will provide access to this data, and we will see if these
people can find the problem. If not, well, I am still open to
suggestions. It all depends, I'd say.

I am very glad and thank everybody who helped to solve my
problem, and I am still willing to contribute my share.

One of the major obstacles is, that I am (actually starting from today)
no longer an employee at the Technische Universitaet Muenchen,
the university running the LEO project (where the machine is hosted).
So I for the sake of the transition, I have had a strong interest in
leaving a stable service to be hosted by my collegues and successors.
The instability problem in the last weeks has caused a really really
bad headache.

So if things are settled down and there is someone who has equal
competencies in running the LEO services, I am confident more thorough
debugging assitancy can be provided. To make things clear, I volunteered
to assist the LEO project in the future, but I cannot promise anything
right now, so I would like to keep the impact to the production service
as minimal as possible. 

Thanks and best regards,
 Daniel
-- 
IRCnet: Mr-Spock           - Burn them to ashes, then burn the ashes. -  
 Daniel Lang * dl@leo.org * +49 89 289 18532 * http://www.leo.org/~dl/

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

Message: 13
Date: Tue, 13 Jul 2004 14:10:29 -0700
From: Alfred Perlstein <alfred@freebsd.org>
Subject: Re: NFS over IPv6
To: Jun Kuriyama <kuriyama@imgsrc.co.jp>
Cc: Current <freebsd-current@FreeBSD.org>
Message-ID: <20040713211029.GU95729@elvis.mu.org>
Content-Type: text/plain; charset=us-ascii

Are you still experiencing this problem with today's kernel?

* Jun Kuriyama <kuriyama@imgsrc.co.jp> [040711 19:22] wrote:
> At Thu, 8 Jul 2004 14:09:04 +0000 (UTC),
> kuriyama wrote:
> > With today's kernel, I see strange behavior with NFS over IPv6.  My
> > userland is two days older.  I'll check with sync'ed kernel/userland
> > tomorrow.
> > 
> > # NFS server is 5.2.1R, client is current.
> > 
> > When I did some write operation, it may wait too long.  I can
> > sometimes write without problem, but sometimes not.  I took tcpdump -vvv:

> > 
> > 22:48:25.128338 2001:218:422:2::XXXX > 2001:218:422:2::YYYY: frag (0xdf59d
78f:0|1448) 2001:218:422:2::XXXX.1516376639 > 2001:218:422:2::YYYY.2049: 1440 
write fh 1034,59016/16299072 4586 bytes @ 0xc000 <unstable> [flowlabel 0x56097
] (len 1456, hlim 64)
> > 22:48:25.128371 2001:218:422:2::XXXX > 2001:218:422:2::YYYY: frag (0xdf59d
78f:1448|1448) [flowlabel 0x56097] (len 1456, hlim 64)
> > 22:48:25.128405 2001:218:422:2::XXXX > 2001:218:422:2::YYYY: frag (0xdf59d
78f:2896|1448) [flowlabel 0x56097] (len 1456, hlim 64)
> > 22:48:25.128430 2001:218:422:2::XXXX > 2001:218:422:2::YYYY: frag (0xdf59d
78f:4344|400) [flowlabel 0x56097] (len 408, hlim 64)
> > 22:48:25.129335 2001:218:422:2::YYYY.2049 > 2001:218:422:2::XXXX.151637663
9: reply ok 160 write PRE: sz 0xd1ea mtime 1089294496.000000 ctime 1089294496.
000000 POST: REG 664 ids 1000/1000 sz 0xd1ea nlink 1 rdev 199/65077248 fsid 0x
420 fileid 0xf8b440 a/m/ctime 1089287695.000000 1089294502.000000 1089294502.0
00000 4586 bytes <unstable> (len 168, hlim 64)
> > 22:48:25.129489 2001:218:422:2::XXXX > 2001:218:422:2::YYYY: [icmp6 sum ok
] icmp6: 2001:218:422:2::XXXX udp port 829 unreachable (len 216, hlim 64)
> > 
> > I don't know why client side replied as port unreachable.  With IPv4,
> > there is no problem.
> 
> I tracked to find which commit breaks.
> 
> With 2004-07-06 06:00:00+00, it's OK.  But with 2004-07-06
> 10:00:00+00, above problem occured.  There is alfred's NFS mobility
> commits between them.
> 
> Alfred, do you have any ideas?
> 
> 
> -- 
> Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
>              <kuriyama@FreeBSD.org> // FreeBSD Project

-- 
- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright@mu.org cell: 408-480-4684

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

Message: 14
Date: Tue, 13 Jul 2004 23:14:01 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: CVSUP and 5.2.1 RELEASE 
To: Garance A Drosihn <drosih@rpi.edu>
Cc: Barney Wolff <barney@databus.com>
Message-ID: <25787.1089753241@critter.freebsd.dk>

In message <p06110411bd19eadd8741@[128.113.24.47]>, Garance A Drosihn writes:


>"make world" performs a sequence of operations which are expressly
>wrong.  Why we have a WRONG target is a better question than how
>much work it would be to change the documentation.

This is news to me.

I have been involved in FreeBSD since we created the ncvs repository
ten years and two months ago and barring minor mistakes here and
there "make world" has performed the correct sequence of operations
since then.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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

Message: 15
Date: Tue, 13 Jul 2004 17:20:56 -0400
From: Barney Wolff <barney@databus.com>
Subject: Re: CVSUP and 5.2.1 RELEASE
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: current@freebsd.org
Message-ID: <20040713212056.GA82311@pit.databus.com>
Content-Type: text/plain; charset=us-ascii

On Tue, Jul 13, 2004 at 11:14:01PM +0200, Poul-Henning Kamp wrote:
> 
> I have been involved in FreeBSD since we created the ncvs repository
> ten years and two months ago and barring minor mistakes here and
> there "make world" has performed the correct sequence of operations
> since then.

Could you please enlighten the rest of us as to when the sequence of
operations performed by "make world" is a useful thing to do?  The
only case I can imagine is that of a developer who has changed a .h
file that is widely used by userland but not by the kernel, and I
find it hard to imagine that happens often enough to weigh against
the continual damage to new users from this deceptively inviting target.

-- 
Barney Wolff         http://www.databus.com/bwresume.pdf
I'm available by contract or FT, in the NYC metro area or via the 'Net.

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

Message: 16
Date: Tue, 13 Jul 2004 23:24:53 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: CVSUP and 5.2.1 RELEASE 
To: Barney Wolff <barney@databus.com>
Cc: current@freebsd.org
Message-ID: <26075.1089753893@critter.freebsd.dk>

In message <20040713212056.GA82311@pit.databus.com>, Barney Wolff writes:
>On Tue, Jul 13, 2004 at 11:14:01PM +0200, Poul-Henning Kamp wrote:
>> 
>> I have been involved in FreeBSD since we created the ncvs repository
>> ten years and two months ago and barring minor mistakes here and
>> there "make world" has performed the correct sequence of operations
>> since then.
>
>Could you please enlighten the rest of us as to when the sequence of
>operations performed by "make world" is a useful thing to do?  The
>only case I can imagine is that of a developer who has changed a .h
>file that is widely used by userland but not by the kernel, and I
>find it hard to imagine that happens often enough to weigh against
>the continual damage to new users from this deceptively inviting target.

I've said that already in earlier email:
	make world DESTDIR=/some_jail

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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

Message: 17
Date: Tue, 13 Jul 2004 16:37:49 -0500
From: Jon Disnard <diz@linuxpowered.com>
Subject: Re: CVSUP and 5.2.1 RELEASE
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Barney Wolff <barney@databus.com>
Message-ID: <40F4562D.2020101@linuxpowered.com>
Content-Type: text/plain; charset=us-ascii; format=flowed

Poul-Henning Kamp wrote:

>In message <p06110411bd19eadd8741@[128.113.24.47]>, Garance A Drosihn writes:

>
>  
>
>>"make world" performs a sequence of operations which are expressly
>>wrong.  Why we have a WRONG target is a better question than how
>>much work it would be to change the documentation.
>>    
>>
>
>This is news to me.
>
>I have been involved in FreeBSD since we created the ncvs repository
>ten years and two months ago and barring minor mistakes here and
>there "make world" has performed the correct sequence of operations
>since then.
>
>  
>
As an example, I think of the (20031112) statfs entry in UPDATING.
What is the sequence of "make world" again? What caused so many problems 
during the statfs updates, was it not partly because of "make world"?
Correct me if I'm wrong, but I was under the impression that "make 
world" does not have this sequence:
make buildkernel
make buildworld
mergemaster -p
make installkernel
init 6
boot -s
cd /usr/src && {
make installworld
mergemaster
}
exit

If "make world" has the notion of sequentially building everything 
(kernel & world), and sequentially installing everything, then Houston 
we have a problem. In that case "make world" is only suitable for 
building a jail, or release engineering.

-Jon

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

Message: 18
Date: Tue, 13 Jul 2004 16:41:22 -0500
From: Kirk Strauser <kirk@strauser.com>
Subject: Re: CVSUP and 5.2.1 RELEASE
To: freebsd-current@freebsd.org
Message-ID: <200407131641.26017.kirk@strauser.com>
Content-Type: text/plain; charset="iso-8859-1"

On Tuesday 2004-07-13 04:24 pm, Poul-Henning Kamp wrote:

> I've said that already in earlier email:
> 	make world DESTDIR=/some_jail

Out of curiosity, what would that do better than:

    # make buildworld
    # make installworld DESTDIR=/some_jail
    # make installworld DESTDIR=/some_jail2
    # make installworld DESTDIR=/some_jail3

If it's significant, I'll update my HOWTO to account for it.
-- 
Kirk Strauser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040713/
cb359046/attachment-0001.bin

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

Message: 19
Date: Tue, 13 Jul 2004 17:44:52 -0400
From: Garance A Drosihn <drosih@rpi.edu>
Subject: Re: CVSUP and 5.2.1 RELEASE
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc: current@freebsd.org
Message-ID: <p06110413bd1a01a5de01@[128.113.24.47]>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

At 11:14 PM +0200 7/13/04, Poul-Henning Kamp wrote:
>In message <p06110411bd19eadd8741@[128.113.24.47]>, Garance A Drosihn writes:

>
>>"make world" performs a sequence of operations which are expressly
>>wrong.  Why we have a WRONG target is a better question than how
>>much work it would be to change the documentation.
>
>This is news to me.

>I have been involved in FreeBSD since we created the ncvs repository
>ten years and two months ago and barring minor mistakes here and
>there "make world" has performed the correct sequence of operations
>since then.

You know as well as I do that this target is dangerous for a standard
upgrade of a system.  In many places we recommend the order of:
       make buildworld
       make buildkernel
       make installkernel
            REBOOT AND TEST THE KERNEL
       make installworld

"make world" only does buildworld and installworld.  Yes, that is
sometimes the right thing to do -- for a FEW developers in a FEW
situations.  And those developers could continue with their work
even if the target was called "zworld" instead of "world".  But
MOST users are bringing their system from one-point-in-time to
some newer-point-in-time, and those users often find a few holes
in their feet if they use this target.

And when that happens, we chide them and call them various names,
all so a few developers can save an occasional keystroke.  This
seems rather anti-social to me.  I really don't see what is
gained by this.  Not for the project as a whole, at least.  Sure,
the twenty developers who regularly use this target get to feel
pretty special, but we keep claiming that FreeBSD has "perhaps
millions of users".  If only a hundred users get their foot
blown off by this target, then I really think the project as a
whole would be better off if we simply renamed it.

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu

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

Message: 20
Date: Tue, 13 Jul 2004 23:49:21 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: CVSUP and 5.2.1 RELEASE 
To: Jon Disnard <diz@linuxpowered.com>
Cc: Barney Wolff <barney@databus.com>
Message-ID: <26481.1089755361@critter.freebsd.dk>

In message <40F4562D.2020101@linuxpowered.com>, Jon Disnard writes:

>As an example, I think of the (20031112) statfs entry in UPDATING.
>What is the sequence of "make world" again? What caused so many problems 
>during the statfs updates, was it not partly because of "make world"?
>Correct me if I'm wrong, but I was under the impression that "make 
>world" does not have this sequence:

I think the problem here is that people type "make world" when
they shouldn't.

The reason they shouldn't was because we explicitly told them
not to and they either didn't read the warning/info/docs or they
didn't understand them or they thought it didn't apply to them.

Removing the world target will not fix that.

But removing the world target will make a lot of documentation
wrong, about 22900 pages of documentation according to google.

Even if we think that the 22000 pieces of documentation is copies
of the handbook which will automatically be fixed, that leaves
900 pages too many.

Find a better solution please.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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

Message: 21
Date: Tue, 13 Jul 2004 14:54:02 -0700
From: Bill Fenner <fenner@research.att.com>
Subject: Sysctl object type unification
To: current@freebsd.org
Message-ID: <200407132154.i6DLs3U27289@windsor.research.att.com>
Content-Type: text/plain; charset=US-ASCII


After discovering (years ago, now, I've finally caught up) that
some of the networking sysctls show up as 0 on sparc64 because
they are using the top 32 bits of a 64-bit value, I developed some
CTASSERTs to audit sysctl type usage, e.g.

#define SYSCTL_UINT(parent, nbr, name, access, ptr, val, descr) \
        CTASSERT(__builtin_types_compatible_p(__typeof__(ptr), unsigned int *)
);
 \
        SYSCTL_OID(parent, nbr, name, CTLTYPE_UINT|(access), \
                ptr, val, sysctl_handle_int, "IU", descr)

I found quite a few.  A patch to handle nearly all is at
http://people.freebsd.org/~fenner/sysctl-types.diff .  Note that
in places outside of the networking stack, I was relatively conservative
and didn't change variables that were used in a SYSCTL_UINT to unsigned,
but instead changed to SYSCTL_INT.  In addition, I mostly changed
values to int instead of changing the SYSCTL to long, since they were
mostly buffer sizes or timeouts.

dummynet wants to expose a u_int64_t but there is no SYSCTL_QUAD, so it
uses SYSCTL_INT which will be wrong on any big-endian platform.

Some code wants to expose u_int32_t; I couldn't decide whether to
think that we want a SYSCTL_UINT32 or to think that these values
should simply be unsigned int.  Luckily, there's no difference on
our current platforms so I punted, but discussion is welcome.

I'd like it if people could check through files that they're familiar
with and see if they agree with my changes.  I hope to commit these
changes in a week or two.

For convenience, here are the affected files:
Index: contrib/ipfilter/netinet/ip_nat.c
Index: contrib/ipfilter/netinet/ip_nat.h
Index: contrib/ipfilter/netinet/ip_state.c
Index: contrib/ipfilter/netinet/ip_state.h
Index: contrib/ipfilter/netinet/mlfk_ipl.c
Index: fs/devfs/devfs_devs.c
Index: kern/kern_mib.c
Index: kern/sched_4bsd.c
Index: kern/sched_ule.c
Index: kern/subr_kobj.c
Index: kern/uipc_usrreq.c
Index: kern/vfs_subr.c
Index: netinet/ip_fw2.c
Index: netinet/raw_ip.c
Index: netinet/tcp_hostcache.c
Index: netinet/tcp_subr.c
Index: netinet/tcp_syncache.c
Index: netinet/tcp_usrreq.c
Index: netinet/tcp_var.h
Index: netinet/udp_usrreq.c
Index: netinet/udp_var.h
Index: netinet6/raw_ip6.c
Index: rpc/rpcclnt.h
Index: security/mac_seeotheruids/mac_seeotheruids.c

Thanks,
  Bill

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

Message: 22
Date: Tue, 13 Jul 2004 23:55:37 +0200
From: Brad Knowles <brad.knowles@skynet.be>
Subject: Re: CVSUP and 5.2.1 RELEASE
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc: Barney Wolff <barney@databus.com>
Message-ID: <p06002065bd1a0a3116a6@[10.0.1.3]>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

At 11:49 PM +0200 2004-07-13, Poul-Henning Kamp wrote:

>  I think the problem here is that people type "make world" when
>  they shouldn't.

	Right, but they don't know that, because almost all the 
documentation over the past ten years has said that this is the way 
to do things.  We can put "don't use 'make world'" in all the primary 
documentation you want, and maybe 1% of the users will ever see that, 
after they've been burned.

	The way to fix this problem is to fix it.

>  But removing the world target will make a lot of documentation
>  wrong, about 22900 pages of documentation according to google.

	All that stuff is wrong anyway.  There's no reason we should 
continue to support that.

>  Find a better solution please.

	If you've got one, I'd love to hear it.  So far, I haven't heard 
of anything better.

-- 
Brad Knowles, <brad.knowles@skynet.be>

"Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety."

     -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
     Assembly to the Governor, November 11, 1755

   SAGE member since 1995.  See <http://www.sage.org/> for more info.

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

Message: 23
Date: Wed, 14 Jul 2004 00:03:56 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: CVSUP and 5.2.1 RELEASE 
To: Brad Knowles <brad.knowles@skynet.be>
Cc: Barney Wolff <barney@databus.com>
Message-ID: <26771.1089756236@critter.freebsd.dk>

In message <p06002065bd1a0a3116a6@[10.0.1.3]>, Brad Knowles writes:
>At 11:49 PM +0200 2004-07-13, Poul-Henning Kamp wrote:

>	The way to fix this problem is to fix it.

Correct.  Removing the "world" target as the original poster
proposed is not a fix.

>	All that stuff is wrong anyway.  There's no reason we should 
>continue to support that.

Hey, pc98, ia64 and IPv6 are "just wrong anyway" too :-)

There are countless people out there with working scripts which use
make world and there is no reason why we should rip the carpet out
from under them either.

>	If you've got one, I'd love to hear it.  So far, I haven't heard 
>of anything better.

I havn't heard any workable solutions so far.

The fact that "make world" is used as the canonical example of the
benefit of FreeBSD in countless piecs of advocacy means that the
only way this can be fixed is by making make world fail when it
should.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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

Message: 24
Date: Tue, 13 Jul 2004 09:45:42 -0400
From: Geoff Speicher <geoff@speicher.org>
Subject: Re: portupgrade upgrades ports despite +IGNOREME files
To: "Eli K. Breen" <eli@gopostal.ca>
Cc: freebsd-current@freebsd.org
Message-ID: <20040713134542.GA79616@sirius.speicher.org>
Content-Type: text/plain; charset=us-ascii

On Mon, Jul 12, 2004 at 02:23:52PM -0700, Eli K. Breen wrote:
> FreeBSD sequoia.int.sectornotfound.com 5.2.1-RELEASE-p9 FreeBSD 
> 5.2.1-RELEASE-p9 #0: Sun Jul 11 19:08:36 PDT 2004 
> root@sequoia.int.sectornotfound.com:/usr/obj/usr/src/sys/SEQUOIA-521  i386
> 
> 
> portupgrade upgrades ports despite +IGNOREME files.
> 
> e.g.
> 
> 
> cd /usr/ports/lang/perl5.8/
> touch "+IGNOREME"
> 
> portupgrade -Rf mail/thunderbird
> 
> ===>  Building for lang/perl-5.8
> [...]
> 
> Add 'lang/perl*', as a held package in /usr/local/etc/pkgtools.conf to 
> no avail.
> 
> Suggestions?

The man page says to put +IGNOREME in the package directory, which
should be more like /var/db/pkg/perl-5.8.4 (/usr/ports/lang/perl5.8 is
the port directory).

Geoff


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

Message: 25
Date: Tue, 13 Jul 2004 09:45:14 -0700
From: "Eli K. Breen" <eli@gopostal.ca>
Subject: Re: portupgrade upgrades ports despite +IGNOREME files
To: Geoff Speicher <geoff@speicher.org>
Cc: freebsd-current@freebsd.org
Message-ID: <40F4119A.5040206@gopostal.ca>
Content-Type: text/plain; charset=us-ascii; format=flowed



Geoff Speicher wrote:
> On Mon, Jul 12, 2004 at 02:23:52PM -0700, Eli K. Breen wrote:
> 
>>FreeBSD sequoia.int.sectornotfound.com 5.2.1-RELEASE-p9 FreeBSD 
>>5.2.1-RELEASE-p9 #0: Sun Jul 11 19:08:36 PDT 2004 
>>root@sequoia.int.sectornotfound.com:/usr/obj/usr/src/sys/SEQUOIA-521  i386
>>
>>
>>portupgrade upgrades ports despite +IGNOREME files.
>>
>>e.g.
>>
>>
>>cd /usr/ports/lang/perl5.8/
>>touch "+IGNOREME"
>>
>>portupgrade -Rf mail/thunderbird
>>
>>===>  Building for lang/perl-5.8
>>[...]
>>
>>Add 'lang/perl*', as a held package in /usr/local/etc/pkgtools.conf to 
>>no avail.
>>
>>Suggestions?
> 
> 
> The man page says to put +IGNOREME in the package directory, which
> should be more like /var/db/pkg/perl-5.8.4 (/usr/ports/lang/perl5.8 is
> the port directory).
> 
> Geoff
> 

That would explain it then.

Thanks!

-E-

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

Message: 26
Date: Tue, 13 Jul 2004 09:46:44 -0700
From: "Eli K. Breen" <eli@gopostal.ca>
Subject: Re: portupgrade upgrades ports despite +IGNOREME files
To: Craig Boston <craig@xfoil.gank.org>
Cc: freebsd-current@freebsd.org
Message-ID: <40F411F4.8010908@gopostal.ca>
Content-Type: text/plain; charset=us-ascii; format=flowed

That's exactly what I was looking for, thanks.

-E-

Craig Boston wrote:
> On Mon, Jul 12, 2004 at 02:23:52PM -0700, Eli K. Breen wrote:
> 
>>cd /usr/ports/lang/perl5.8/
>>touch "+IGNOREME"
> 
> 
> AFAICT, the +IGNOREME file should be in the package directory, not the
> port directory.  For example,
> 
> cd /var/db/pkg/perl-5.8.4/
> touch +IGNOREME
>  
> 
>>Add 'lang/perl*', as a held package in /usr/local/etc/pkgtools.conf to 
>>no avail.
> 
> 
> The -f option to portupgrade overrides held packages and reinstalls them
> anyway.  Another possibility that may be useful to you is the -x option
> to portupgrade to exclude certain ports from this run only.  i.e.
> 
> portupgrade -Raf -x perl
> 
> Multiple -x options can be specified if you have a long list of ports
> that you don't want to reinstall.
> 
> Hope this helps,
> Craig

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

Message: 27
Date: Tue, 13 Jul 2004 17:09:48 -0500
From: Jon Disnard <diz@linuxpowered.com>
Subject: Re: CVSUP and 5.2.1 RELEASE
To: Brad Knowles <brad.knowles@skynet.be>
Cc: Barney Wolff <barney@databus.com>
Message-ID: <40F45DAC.5070800@linuxpowered.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Brad Knowles wrote:

> At 11:49 PM +0200 2004-07-13, Poul-Henning Kamp wrote:
>
>>  I think the problem here is that people type "make world" when
>>  they shouldn't.
>
>
>     Right, but they don't know that, because almost all the 
> documentation over the past ten years has said that this is the way to 
> do things.  We can put "don't use 'make world'" in all the primary 
> documentation you want, and maybe 1% of the users will ever see that, 
> after they've been burned.
>
>     The way to fix this problem is to fix it.
>
>>  But removing the world target will make a lot of documentation
>>  wrong, about 22900 pages of documentation according to google.
>
>
>     All that stuff is wrong anyway.  There's no reason we should 
> continue to support that.
>
>>  Find a better solution please.
>
>
>     If you've got one, I'd love to hear it.  So far, I haven't heard 
> of anything better.
>
I would suggest that unilateraly removing "make world" is not good, and 
neither is retaining it in its present form.
So in good spirit, could we sprink in some thing that displays a huge 
blinking warning in bold about why this might be bad?
If we (rather you commiters) decide to remove it, make a plan to do so 
for 6.x.

This is a ballance:
noob foot shoots who agrivate developers who speak of reading docs that 
are wrong Vs the utility of this arguably hostile facility.

Where is the justification in any of it?

-Jon

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

Message: 28
Date: Wed, 14 Jul 2004 00:09:47 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: [TEST/REVIEW/HEADSUP] tty drivers mega-patch 
To: current@freebsd.org, stable@freebsd.org
Message-ID: <26867.1089756587@critter.freebsd.dk>


http://phk.freebsd.dk/patch/tty.patch

This patch removes 2500 lines of copy&paste insanity in tty drivers
and generally tries to get things to be less confused & confusing.

I need testers for all the different kinds of serial hardware we support.

Please help test!

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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

Message: 29
Date: Wed, 14 Jul 2004 07:16:08 +0900
From: Jun Kuriyama <kuriyama@imgsrc.co.jp>
Subject: Re: NFS over IPv6
To: Alfred Perlstein <alfred@freebsd.org>
Cc: Current <freebsd-current@FreeBSD.org>
Message-ID: <7mllhnsgd3.wl@black3.imgsrc.co.jp>
Content-Type: text/plain; charset=US-ASCII

At Tue, 13 Jul 2004 14:10:29 -0700,
Alfred Perlstein wrote:
> Are you still experiencing this problem with today's kernel?

I've tried with 2004.07.13.07.10.00 (just after your last commit), but
I got a panic (seems unrelated to you) during boot.

I'll investigate more...


-- 
Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama@FreeBSD.org> // FreeBSD Project

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

Message: 30
Date: Tue, 13 Jul 2004 15:18:26 -0700
From: Alfred Perlstein <alfred@freebsd.org>
Subject: Re: NFS over IPv6
To: Jun Kuriyama <kuriyama@imgsrc.co.jp>
Cc: Current <freebsd-current@FreeBSD.org>
Message-ID: <20040713221826.GY95729@elvis.mu.org>
Content-Type: text/plain; charset=us-ascii

* Jun Kuriyama <kuriyama@imgsrc.co.jp> [040713 15:16] wrote:
> At Tue, 13 Jul 2004 14:10:29 -0700,
> Alfred Perlstein wrote:
> > Are you still experiencing this problem with today's kernel?
> 
> I've tried with 2004.07.13.07.10.00 (just after your last commit), but
> I got a panic (seems unrelated to you) during boot.
> 
> I'll investigate more...

mmm, the joys of 5.x :)

-- 
- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright@mu.org cell: 408-480-4684

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

Message: 31
Date: Wed, 14 Jul 2004 10:18:36 +1200
From: Drew Broadley <drew@corrupt.co.nz>
Subject: Re: CVSUP and 5.2.1 RELEASE
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Barney Wolff <barney@databus.com>
Message-ID: <40F45FBC.6010709@corrupt.co.nz>
Content-Type: text/plain; charset=us-ascii; format=flowed

Poul-Henning Kamp wrote:

> If you sit back for a moment and think about the number of barriers
>
>a user must already scale to get to the point of typing "make world",
>then I think you will see that adding 27 extra characters is not
>going to change anything.  In particular not when compared the the
>number of places we have to change (to the extent we can) documentation
>which mentions "make world".
>
>You might as well try to change the shape of the carinals hats.
>
>  
>
It's about breaking habits (humans are cronic for retaining bad ones).

I see his point, it's just a little to in the end stop a lot of confusion.

If you are so much so complaining about the lack of 27 extra characters 
typed by users/admins, I'm very sure it isn't that much more effort to 
put in the addition of 27+ characters to the Makefile for the developers 
to make a safety net for people whom are accustomed to "make world". 
This will remind them with a high level of VERBOSE, that they need to 
read /usr/src/UPDATING.

My two cents.

- Drew


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

Message: 32
Date: Tue, 13 Jul 2004 15:19:51 -0700
From: Brian Rogers <burpmaster@truffula.net>
Subject: Hang on boot - "ATAPI_RESET no interrupt" with DVD+RW
To: freebsd-current@freebsd.org
Message-ID: <40F46007.2010304@truffula.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Since last night and continuing today, the kernel from -CURRENT usually 
hangs during boot.  Safe mode worked once, but the second time it didn't 
work.  I now got in through single-user mode, so it appears to just work 
every once in a while, randomly.

I have a dmesg from the booted system below.  When it hangs, it stops 
one line after "ata1-slave: FAILURE - ATAPI_RESET no interrupt", in 
other words it hangs after detecting ata1-master but before detecting 
ata1-slave, my DVD+RW drive.

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.2-CURRENT #2: Tue Jul 13 10:45:43 PDT 2004
    brian@brian:/usr/obj/usr/src/sys/MYKERN
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) XP 1800+ (1533.40-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
  
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0480000<MP,AMIE,DSP,3DNow!>
real memory  = 1073676288 (1023 MB)
avail memory = 1045405696 (996 MB)
ACPI APIC Table: <AMIINT VIA_K7  >
ioapic0 <Version 0.3> irqs 0-23 on motherboard
acpi0: <AMIINT VIA_K7> on motherboard
acpi0: [GIANT-LOCKED]
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA Generic host to PCI bridge> mem 0xe0000000-0xefffffff at 
device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
dc0: <LC82C115 PNIC II 10/100BaseTX> port 0xe800-0xe8ff mem 
0xdfffff00-0xdfffffff irq 17 at device 6.0 on pci0
miibus0: <MII bus> on dc0
dcphy0: <Intel 21143 NWAY media interface> on miibus0
dcphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: Ethernet address: 00:a0:cc:33:8e:1b
dc0: [GIANT-LOCKED]
pcm0: <Creative EMU10K1> port 0xe400-0xe41f irq 17 at device 10.0 on pci0
pcm0: <Cirrus Logic CS4297A AC97 Codec>
uhci0: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 21 at device 
16.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xdc00-0xdc1f irq 21 at device 
16.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 21 at device 
16.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
pci0: <serial bus, USB> at device 16.3 (no driver attached)
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8235 UDMA133 controller> port 
0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 17.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
acpi_button1: <Sleep Button> on acpi0
fdc0: I/O to control range incorrect
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: I/O to control range incorrect
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
orm0: <ISA Option ROM> at iomem 0xc0000-0xce7ff on isa0
pmtimer0 on isa0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1533400741 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 16 steps (100% to 6.2%), currently 100.0%
ad0: 114473MB <WDC WD1200JB-00CRA0> [232581/16/63] at ata0-master UDMA100
ad1: 114473MB <WDC WD1200JB-00CRA1> [232581/16/63] at ata0-slave UDMA100
ata1-slave: FAILURE - ATAPI_RESET no interrupt
ad2: 78533MB <IC35L080AVVA07-0> [159560/16/63] at ata1-master UDMA100
acd0: CDRW <TDK DVDRW420N> at ata1-slave UDMA33
Mounting root from ufs:/dev/ad0s1a


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

Message: 33
Date: Wed, 14 Jul 2004 00:23:24 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: CVSUP and 5.2.1 RELEASE 
To: Drew Broadley <drew@corrupt.co.nz>
Cc: Barney Wolff <barney@databus.com>
Message-ID: <27296.1089757404@critter.freebsd.dk>

In message <40F45FBC.6010709@corrupt.co.nz>, Drew Broadley writes:

>If you are so much so complaining about the lack of 27 extra characters 
>typed by users/admins,

That is not the point we (or at least I) are complaining about, the
point is that neither removing the world target nor making it blatter
out a big multicolor linux style README is not a solution.

The correct solution is the add whatever it takes to make the world
target fail if it is unsafe.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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

Message: 34
Date: Tue, 13 Jul 2004 18:23:38 -0400
From: Garance A Drosihn <drosih@rpi.edu>
Subject: Re: CVSUP and 5.2.1 RELEASE
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>,	Barney Wolff
	<barney@databus.com>
Cc: current@freebsd.org
Message-ID: <p06110415bd1a0dedbf1c@[128.113.24.47]>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

At 11:24 PM +0200 7/13/04, Poul-Henning Kamp wrote:
>In message <20040713212056.GA82311@pit.databus.com>, Barney Wolff writes:
>  >On Tue, Jul 13, 2004 at 11:14:01PM +0200, Poul-Henning Kamp wrote:
>  >
>  > Could you please enlighten the rest of us as to when the
>  > sequence of operations performed by "make world" is a useful
>  > thing to do?
>
>I've said that already in earlier email:
>	make world DESTDIR=/some_jail

a) how about if we print a warning and exit if DESTDIR is
    not defined?  Are there "important" uses of `make world'
    which do not use DESTDIR?

b) I still don't see how this would be hurt if the target had
    a different name.  Yes, there is an issue of documentation,
    but I still think the following point is important:

>   >  ... and I find it hard to imagine that happens often enough
>   >  to weigh against the continual damage to new users from
>   >  this deceptively inviting target.

Yes, maybe it is the user's fault.  That does not mean that the
best action is for us to leave this foot-shooting, and deceptively
inviting target the way it is.  Every time I see some user with a
system that was trashed from this target, I can't help but think
that we should try to do SOMETHING about it.

And if we leave behind a "make world" target which tells the user
what is going on, then I do not agree that we must fix all 10**64
pages of documentation before we try to save users from trashing
their own freebsd systems.

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu

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

Message: 35
Date: Tue, 13 Jul 2004 17:40:26 -0500
From: Jon Disnard <diz@linuxpowered.com>
Subject: Re: CVSUP and 5.2.1 RELEASE
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Barney Wolff <barney@databus.com>
Message-ID: <40F464DA.4030501@linuxpowered.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Poul-Henning Kamp wrote:

>In message <40F45FBC.6010709@corrupt.co.nz>, Drew Broadley writes:
>
>  
>
>>If you are so much so complaining about the lack of 27 extra characters 
>>typed by users/admins,
>>    
>>
>
>That is not the point we (or at least I) are complaining about, the
>point is that neither removing the world target nor making it blatter
>out a big multicolor linux style README is not a solution.
>
>The correct solution is the add whatever it takes to make the world
>target fail if it is unsafe.
>
>  
>
Ok that sounds good. I still think a verbose warning at the initiation 
of "make world" is a good thing though, but possibly only if DESTDIR is 
not something aside from  root.
So possibly a system to parse UPDATING, or whatever, for ABI changes and 
then halting the installworld stages of the world target?
That seems good and bad, because sometimes people checkin without any 
documentation, and this idea would absolutely require anything with a 
potential to cause hazard to be documented with (or before) the 
associated checkin. Are all the commiters diligent enough to do that? Is 
there some other way we can have this idea of a "smart make world" that 
acknowledges the case of lazy documentation?

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

Message: 36
Date: Wed, 14 Jul 2004 00:46:16 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: CVSUP and 5.2.1 RELEASE 
To: Jon Disnard <diz@linuxpowered.com>
Cc: Barney Wolff <barney@databus.com>
Message-ID: <27752.1089758776@critter.freebsd.dk>

In message <40F464DA.4030501@linuxpowered.com>, Jon Disnard writes:

>>The correct solution is the add whatever it takes to make the world
>>target fail if it is unsafe.
>>
>So possibly a system to parse UPDATING, or whatever, for ABI changes and 
>then halting the installworld stages of the world target?

Well, maybe we need a different criteria for bumping __FreeBSD_version
or maybe we need a parallel ABI version number, but parsing UPDATING
would be a hack.

>That seems good and bad, because sometimes people checkin without any 
>documentation, and this idea would absolutely require anything with a 
>potential to cause hazard to be documented with (or before) the 
>associated checkin. Are all the commiters diligent enough to do that? Is 
>there some other way we can have this idea of a "smart make world" that 
>acknowledges the case of lazy documentation?

I think that if we make it a rule that __FreeBSD_version be bumped
if make world without a kernel update would be unsafe would be
followed.



-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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

Message: 37
Date: Wed, 14 Jul 2004 00:51:05 +0200
From: Johan Pettersson <manlix@demonized.net>
Subject: Re: CVSUP and 5.2.1 RELEASE
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc: barney@databus.com
Message-ID: <20040714005105.3bee1a88.manlix@demonized.net>
Content-Type: text/plain; charset=US-ASCII

On Wed, 14 Jul 2004 00:23:24 +0200
"Poul-Henning Kamp" <phk@phk.freebsd.dk> wrote:

> In message <40F45FBC.6010709@corrupt.co.nz>, Drew Broadley writes:
> 
> >If you are so much so complaining about the lack of 27 extra
> >characters typed by users/admins,
> 
> That is not the point we (or at least I) are complaining about, the
> point is that neither removing the world target nor making it blatter
> out a big multicolor linux style README is not a solution.
> 
> The correct solution is the add whatever it takes to make the world
> target fail if it is unsafe.
> 
>

Just do so you must have MAKE_WORLD= true (or something) in your
make.conf to be able to use make world. Otherwise print a warning and
some info when running make world.

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

Message: 38
Date: Wed, 14 Jul 2004 00:53:37 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: CVSUP and 5.2.1 RELEASE 
To: Johan Pettersson <manlix@demonized.net>
Cc: barney@databus.com
Message-ID: <27947.1089759217@critter.freebsd.dk>

In message <20040714005105.3bee1a88.manlix@demonized.net>, Johan Pettersson wr
i
tes:

>> The correct solution is the add whatever it takes to make the world
>> target fail if it is unsafe.
>
>Just do so you must have MAKE_WORLD= true (or something) in your
>make.conf to be able to use make world. Otherwise print a warning and
>some info when running make world.

This is called "a bandaid" and we should only resort to that if a
solution is not possible.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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

_______________________________________________
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 68, Issue 27
***********************************************


--
Evariste Galois:
    �����呛��樱������蔷������,����直前......


�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234]