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: Installing cdevsw_add(), cdevsw_remove() man pages in
      -current? (M. Warner Losh)
   2. Re: USB drivers (M. Warner Losh)
   3. Re: cvs commit: src/sys/amd64/amd64 mp_machdep.c (Scott Long)
   4. Re: Vinum status (Lukas Ertl)
   5. [current tinderbox] failure on alpha/alpha (FreeBSD Tinderbox)
   6. HEADS UP: recompile network interface modules (again) (Max Laier)
   7. ath/ifstart panic: still, new fcntl panic.  ACPI still hangs
      (Poul-Henning Kamp)
   8. Re: fxp problems (Conrad J. Sabatier)
   9. [current tinderbox] failure on amd64/amd64 (FreeBSD Tinderbox)
  10. Remove no longer used files (Johan Pettersson)
  11. [current tinderbox] failure on i386/i386 (FreeBSD Tinderbox)
  12. Buildworld was broken for me with a cvsup from early this
      morning. (Edwin Culp)
  13. Re: Panic on boot with today's CURRENT, ata related
      (S?ren Schmidt)


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

Message: 1
Date: Fri, 06 Aug 2004 23:00:18 -0600 (MDT)
From: "M. Warner Losh" <imp@bsdimp.com>
Subject: Re: Installing cdevsw_add(), cdevsw_remove() man pages in
	-current?
To: rodrigc@crodrigues.org
Cc: freebsd-current@FreeBSD.ORG
Message-ID: <20040806.230018.128046823.imp@bsdimp.com>
Content-Type: Text/Plain; charset=us-ascii

In message: <20040805183333.GA73498@crodrigues.org>
            Craig Rodrigues <rodrigc@crodrigues.org> writes:
: Hi,
: 
: According to:
: http://www.freebsd.org/doc/en/books/porters-handbook/freebsd-versions.html
: 
: cdevsw_add() and cdevsw_remove() were removed in 500104.
: 
: If so, is there any point in installing man pages for these functions?
: 
: 
: 
: --- share/man/man9/Makefile.orig	Thu Aug  5 14:32:04 2004
: +++ share/man/man9/Makefile	Thu Aug  5 14:32:18 2004
: @@ -34,8 +34,6 @@
:  	BUS_SETUP_INTR.9 \
:  	byteorder.9 \
:  	cd.9 \
: -	cdevsw_add.9 \
: -	cdevsw_remove.9 \
:  	condvar.9 \
:  	contigmalloc.9 \
:  	copy.9 \

I believe that you are correct.  I've removed them since it has been a
while since we removed the functions.

Warner

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

Message: 2
Date: Fri, 06 Aug 2004 23:12:31 -0600 (MDT)
From: "M. Warner Losh" <imp@bsdimp.com>
Subject: Re: USB drivers
To: chris@tellme3times.com
Cc: freebsd-current@freebsd.org
Message-ID: <20040806.231231.33567668.imp@bsdimp.com>
Content-Type: Text/Plain; charset=us-ascii

In message: <41124C8B.2060902@tellme3times.com>
            Chris <chris@tellme3times.com> writes:
: M. Warner Losh wrote:
: 
: >
: >You misunerstand what's actually happening.  There's no case in the
: >tree where two drivers are attached, at the same time, to the same
: >device node.  There's only one set of pointers.  However, with USB,
: >there can be reasons why multiple things can attach to the same
: >driver.  The usb code tries to do smart things for devices that have
: >multiple configurations.
: >
: >With USB and multi-function devices, here's the code that we use:
: >
: >	/* First try with device specific drivers. */
: >	probe and attach driver with a config # of -1 (usegeneric = 0)
: >		return if successful
: >	/* Next try with interface drivers. */
: >	foreach valid configuration
: >		foreach interface
: >			probe and attach driver
: >	/* Finally try the generic driver. */
: >	probe and attach driver with a config # of -1 (usegeneric = 1)
: >		return if successful
: >
: >I'm not familiar with the specific instance of ulpt and unlpt.
: >  
: >
: 
: 
: You are right I do not understand. All I know is that when the system 
: boots, at some point a test is done to see if their are USB devices. If 
: devices exist then attach drivers.

True.

: What I am trying to determine is why my multifunction printer/scanner 
: receives only one of the two  drivers. Is it because the printer does 
: not respond properly? Is it because the printer is not defined? I have 
: many questions here.

Yes.  Usb is a little complicated in this area, and there are a number
of details that are hard to get right.  It wouldn't surprise me if the
current set of drivers are less than completely optimal.

: I looked in the following and just see the code for that specific 
: device. It does not test for multifunction devices. I do not see any 
: code that follows the logic above.
: 
: src/sys/dev/usb/ulpt.c
: src/sys/dev/usb/uscanner.c
: src/sys/dev/usb/usbdevs

True.  The above code is from usb/usb_subr.c in
usbd_probe_and_attach().

: If you can point me in the right direction, or to some documents on USB 
: driver writing I will try to figure this out. Any help would be 
: appreciated. I will get this to work because I need both and the effort 
: required to switch is just not convenient.

I think that the first thing that should be done is to look at the usb
configuration.  /usr/ports/sysutils/udesc_dump is a good place to
start to investigate things.  Also, the usb mindshare book is good to
understand usb and the layers of the configuation onion.  There's a
book in the works that should help, but I'm afraid that I can't say
more than that at this time.

Warner

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

Message: 3
Date: Sat, 07 Aug 2004 00:21:24 -0600
From: Scott Long <scottl@samsco.org>
Subject: Re: cvs commit: src/sys/amd64/amd64 mp_machdep.c
To: andrew.lankford@verizon.net
Cc: amd64@freebsd.org
Message-ID: <411474E4.8030100@samsco.org>
Content-Type: text/plain; charset=us-ascii; format=flowed

Andrew Lankford wrote:
>>Hmm.  I was able to build an amd64 SMP kernel and an amd64
>>UP kernel on sledge.freebsd.org following the last batch 
>>of commits.  Could you confirm your source is in sync: in
>>particular, sys/amd64/amd64/mem.c is revision
>>1.120, and sys/conf/files.amd64 is revision 1.44?  In my >local source snapshot, M_DECLARE(M_MEMDESC) appears in 
>>memrange.h, and the M_DEFINE(M_MEMDESC, ...) is in mem.c.
> 
> 
> Yes, yes, and yes, assuming you meant "MALLOC_DEFINE" 
> instead of "M_DEFINE",etc .  I just uncommented "device mem" 
> and "device io" from my kernel config and the kernel built 
> and installed ok, along with mem.ko (even though I can't see
>  what purpose itt would serve when it's already compiled in
>  statically).
> 
> Once again, I'll attach the kernel config file that caused
> buildkernel to stop and complain.
> 
> Andrew Lankford
> 

I just fixed this.  Thanks for sending your kernel config.  Note that
you probably shouldn't remove the acpi driver from the kernel config
since it's practically mandatory on amd64 and won't load correctly
from the bootloader.

Scott


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

Message: 4
Date: Sat, 7 Aug 2004 08:51:34 +0200 (CEST)
From: Lukas Ertl <le@FreeBSD.org>
Subject: Re: Vinum status
To: "Axel S.Gruner" <liste@encephalon.de>
Cc: freebsd-current@FreeBSD.org
Message-ID: <20040807085030.W597@korben.in.tern>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Fri, 6 Aug 2004, Axel S.Gruner wrote:

> But, i ihave a question about that. I cant find a howto which describes to 
> install FreeBSD+gvinum to use the / partition.
> So, how did you do that?

You cannot install it directly (it would mean hacking up sysinstall to 
large extents, and I guess noone wants to touch it :-) ), but there's a 
chapter in the handbook that talks about it:
<http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum-root.html>.

cheers,
le

-- 
Lukas Ertl                         http://homepage.univie.ac.at/l.ertl/
le@FreeBSD.org                     http://people.freebsd.org/~le/

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

Message: 5
Date: Sat,  7 Aug 2004 05:13:50 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on alpha/alpha
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
	<alpha@freebsd.org>
Message-ID: <20040807091350.0F47C7303F@freebsd-current.sentex.ca>

TB --- 2004-08-07 08:00:01 - tinderbox 2.3 running on freebsd-current.sentex.ca
TB --- 2004-08-07 08:00:01 - starting CURRENT tinderbox run for alpha/alpha
TB --- 2004-08-07 08:00:01 - checking out the source tree
TB --- 2004-08-07 08:00:01 - cd /home/tinderbox/sandbox/CURRENT/alpha/alpha
TB --- 2004-08-07 08:00:01 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src
TB --- 2004-08-07 08:05:27 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-08-07 08:05:27 - cd /home/tinderbox/sandbox/CURRENT/alpha/alpha/src
TB --- 2004-08-07 08:05:27 - /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
[...]
cc -O2 -pipe -mcpu=ev4 -mtune=ev5 -mieee -DMD5 -DSHA1 -DRMD160 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c /tinderbox/CURRENT/alpha/alpha/src/usr.sbin/mtree/create.c
cc -O2 -pipe -mcpu=ev4 -mtune=ev5 -mieee -DMD5 -DSHA1 -DRMD160 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c /tinderbox/CURRENT/alpha/alpha/src/usr.sbin/mtree/excludes.c
cc -O2 -pipe -mcpu=ev4 -mtune=ev5 -mieee -DMD5 -DSHA1 -DRMD160 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c /tinderbox/CURRENT/alpha/alpha/src/usr.sbin/mtree/misc.c
cc -O2 -pipe -mcpu=ev4 -mtune=ev5 -mieee -DMD5 -DSHA1 -DRMD160 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c /tinderbox/CURRENT/alpha/alpha/src/usr.sbin/mtree/mtree.c
cc -O2 -pipe -mcpu=ev4 -mtune=ev5 -mieee -DMD5 -DSHA1 -DRMD160 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c /tinderbox/CURRENT/alpha/alpha/src/usr.sbin/mtree/spec.c
cc -O2 -pipe -mcpu=ev4 -mtune=ev5 -mieee -DMD5 -DSHA1 -DRMD160 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c /tinderbox/CURRENT/alpha/alpha/src/usr.sbin/mtree/verify.c
cc -O2 -pipe -mcpu=ev4 -mtune=ev5 -mieee -DMD5 -DSHA1 -DRMD160 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c /tinderbox/CURRENT/alpha/alpha/src/usr.sbin/mtree/specspec.c
/tinderbox/CURRENT/alpha/alpha/src/usr.sbin/mtree/specspec.c:27: error: syntax error before '/' token
*** Error code 1

Stop in /tinderbox/CURRENT/alpha/alpha/src/usr.sbin/mtree.
*** Error code 1

Stop in /tinderbox/CURRENT/alpha/alpha/src/usr.sbin.
*** Error code 1

Stop in /tinderbox/CURRENT/alpha/alpha/src.
*** Error code 1

Stop in /tinderbox/CURRENT/alpha/alpha/src.
*** Error code 1

Stop in /tinderbox/CURRENT/alpha/alpha/src.
TB --- 2004-08-07 09:13:49 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-08-07 09:13:49 - ERROR: failed to build world
TB --- 2004-08-07 09:13:49 - tinderbox aborted


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

Message: 6
Date: Sat, 7 Aug 2004 11:43:31 +0200
From: Max Laier <max@love2party.net>
Subject: HEADS UP: recompile network interface modules (again)
To: freebsd-current@freebsd.org
Message-ID: <200408071143.38693.max@love2party.net>
Content-Type: text/plain; charset="us-ascii"

Another size change to 'struct ifnet' makes it necessary that you recompile 
modules that make use of it. i.e. everything that deals with network 
interfaces. If you do the normal make buildkernel/installkernel this should 
not affect you as these targets rebuilt and -install all modules.

-- 
/"\  Best regards,			| mlaier@freebsd.org
\ /  Max Laier				| ICQ #67774661
 X   http://pf4freebsd.love2party.net/	| mlaier@EFnet
/ \  ASCII Ribbon Campaign		| Against HTML Mail and News
-------------- 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/20040807/70013cc6/attachment-0001.bin

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

Message: 7
Date: Sat, 07 Aug 2004 11:51:23 +0200
From: Poul-Henning Kamp <phk@phk.freebsd.dk>
Subject: ath/ifstart panic: still, new fcntl panic.  ACPI still hangs
To: current@freebsd.org
Message-ID: <705.1091872283@critter.freebsd.dk>


IBM Thinkpad T41p, -current from one hour ago.

The Ath/if_start problem is still there (I have got sams commit).

New one, looks like rwatsons baby:
	Giant owned
	mtx_assert
	kern_fcntl
	fcntl_common
	linux_fcntl
	syscall(linux_fcntl64)

And without the CD drive installed my laptop still wedges solid if
I press the ACPI sleep button.  This works perfectly if the CD drive
is installed.


-- 
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: 8
Date: Sat, 07 Aug 2004 05:17:46 -0500 (CDT)
From: "Conrad J. Sabatier" <conrads@cox.net>
Subject: Re: fxp problems
To: Wesley Morgan <morganw@chemikals.org>
Cc: current@freebsd.org
Message-ID: <XFMail.20040807051746.conrads@cox.net>
Content-Type: text/plain; charset=us-ascii


On 07-Aug-2004 Wesley Morgan wrote:
> I've got a box running 5.2.1-R p8 that has several times caught
> itself in 
> a fit of errors on both fxp devices, alternating between the two. A
> little 
> searching through PR's shows it reported back in 2003 and possibly
> again 
> in 2004, but always on -stable. Some posts to -stable seem to think
> it's 
> an interaction with the PCI and SCSI layers, but I'm not sure if this
> applies to -current. Anyone have any experience with these type of
> errors? 
> I've got the kernel conf and dmesg attached.
> 
> 
> Aug  6 00:00:14 tiamat kernel: fxp1: device timeout
> Aug  6 00:00:14 tiamat kernel: fxp1: SCB timeout: 0xff 0xff 0xff
> 0xffff
> Aug  6 00:00:14 tiamat kernel: fxp1: DMA timeout
> Aug  6 00:00:14 tiamat kernel: fxp1: SCB timeout: 0xff 0xff 0xff
> 0xffff
> Aug  6 00:00:14 tiamat kernel: fxp1: DMA timeout
> Aug  6 00:00:14 tiamat kernel: fxp1: SCB timeout: 0xff 0xff 0xff
> 0xffff
> Aug  6 00:00:14 tiamat kernel: fxp1: DMA timeout
> Aug  6 00:00:14 tiamat kernel: fxp1: SCB timeout: 0xff 0xff 0xff
> 0xffff
> Aug  6 00:00:14 tiamat kernel: fxp1: SCB timeout: 0xff 0xff 0xff
> 0xffff
> 
> Aug  6 00:00:29 tiamat kernel: fxp0: device timeout
> Aug  6 00:00:29 tiamat kernel: fxp0: SCB timeout: 0xff 0xff 0xff
> 0xffff
> Aug  6 00:00:29 tiamat kernel: fxp0: DMA timeout
> Aug  6 00:00:29 tiamat kernel: fxp0: SCB timeout: 0xff 0xff 0xff
> 0xffff
> Aug  6 00:00:29 tiamat kernel: fxp0: DMA timeout
> Aug  6 00:00:29 tiamat kernel: fxp0: SCB timeout: 0xff 0xff 0xff
> 0xffff
> Aug  6 00:00:29 tiamat kernel: fxp0: DMA timeout
> Aug  6 00:00:29 tiamat kernel: fxp0: SCB timeout: 0xff 0xff 0xff
> 0xffff
> Aug  6 00:00:29 tiamat kernel: fxp0: SCB timeout: 0xff 0xff 0xff
> 0xffff
> Aug  6 00:00:29 tiamat kernel: fxp1: SCB timeout: 0xff 0xff 0xff
> 0xffff

I recently tried running an SMP kernel here, even though my box is UP,
as a temporary workaround for the broken state of UP kernel builds on
amd64.  When I did, I experienced the fxp timeouts.  When I finally got
a UP kernel to build again, the fxp problem went away.

Perhaps there's a clue there.  :-)

-- 
Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"

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

Message: 9
Date: Sat,  7 Aug 2004 06:20:52 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on amd64/amd64
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
	<amd64@freebsd.org>
Message-ID: <20040807102052.607FE7303F@freebsd-current.sentex.ca>

TB --- 2004-08-07 09:13:50 - tinderbox 2.3 running on freebsd-current.sentex.ca
TB --- 2004-08-07 09:13:50 - starting CURRENT tinderbox run for amd64/amd64
TB --- 2004-08-07 09:13:50 - checking out the source tree
TB --- 2004-08-07 09:13:50 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64
TB --- 2004-08-07 09:13:50 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src
TB --- 2004-08-07 09:19:45 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-08-07 09:19:45 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64/src
TB --- 2004-08-07 09:19:45 - /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
[...]
cc -O2 -pipe  -DMD5 -DSHA1 -DRMD160 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c /tinderbox/CURRENT/amd64/amd64/src/usr.sbin/mtree/create.c
cc -O2 -pipe  -DMD5 -DSHA1 -DRMD160 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c /tinderbox/CURRENT/amd64/amd64/src/usr.sbin/mtree/excludes.c
cc -O2 -pipe  -DMD5 -DSHA1 -DRMD160 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c /tinderbox/CURRENT/amd64/amd64/src/usr.sbin/mtree/misc.c
cc -O2 -pipe  -DMD5 -DSHA1 -DRMD160 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c /tinderbox/CURRENT/amd64/amd64/src/usr.sbin/mtree/mtree.c
cc -O2 -pipe  -DMD5 -DSHA1 -DRMD160 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c /tinderbox/CURRENT/amd64/amd64/src/usr.sbin/mtree/spec.c
cc -O2 -pipe  -DMD5 -DSHA1 -DRMD160 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c /tinderbox/CURRENT/amd64/amd64/src/usr.sbin/mtree/verify.c
cc -O2 -pipe  -DMD5 -DSHA1 -DRMD160 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c /tinderbox/CURRENT/amd64/amd64/src/usr.sbin/mtree/specspec.c
/tinderbox/CURRENT/amd64/amd64/src/usr.sbin/mtree/specspec.c:27: error: syntax error before '/' token
*** Error code 1

Stop in /tinderbox/CURRENT/amd64/amd64/src/usr.sbin/mtree.
*** Error code 1

Stop in /tinderbox/CURRENT/amd64/amd64/src/usr.sbin.
*** Error code 1

Stop in /tinderbox/CURRENT/amd64/amd64/src.
*** Error code 1

Stop in /tinderbox/CURRENT/amd64/amd64/src.
*** Error code 1

Stop in /tinderbox/CURRENT/amd64/amd64/src.
TB --- 2004-08-07 10:20:52 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-08-07 10:20:52 - ERROR: failed to build world
TB --- 2004-08-07 10:20:52 - tinderbox aborted


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

Message: 10
Date: Sat, 7 Aug 2004 13:12:16 +0200
From: Johan Pettersson <manlix@demonized.net>
Subject: Remove no longer used files
To: freebsd-current@freebsd.org
Message-ID: <20040807131216.2ead4195.manlix@demonized.net>
Content-Type: text/plain; charset=US-ASCII

Is there any safe method to find and remove files no longer included in
the base system? I can think latest gdb and gcc upgrades leaves a
lot of files not used anymore.

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

Message: 11
Date: Sat,  7 Aug 2004 07:27:02 -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: <20040807112702.E10427303F@freebsd-current.sentex.ca>

TB --- 2004-08-07 10:20:52 - tinderbox 2.3 running on freebsd-current.sentex.ca
TB --- 2004-08-07 10:20:52 - starting CURRENT tinderbox run for i386/i386
TB --- 2004-08-07 10:20:52 - checking out the source tree
TB --- 2004-08-07 10:20:52 - cd /home/tinderbox/sandbox/CURRENT/i386/i386
TB --- 2004-08-07 10:20:52 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src
TB --- 2004-08-07 10:26:35 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-08-07 10:26:35 - cd /home/tinderbox/sandbox/CURRENT/i386/i386/src
TB --- 2004-08-07 10:26:35 - /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
[...]
cc -O2 -pipe  -DMD5 -DSHA1 -DRMD160 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c /tinderbox/CURRENT/i386/i386/src/usr.sbin/mtree/create.c
cc -O2 -pipe  -DMD5 -DSHA1 -DRMD160 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c /tinderbox/CURRENT/i386/i386/src/usr.sbin/mtree/excludes.c
cc -O2 -pipe  -DMD5 -DSHA1 -DRMD160 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c /tinderbox/CURRENT/i386/i386/src/usr.sbin/mtree/misc.c
cc -O2 -pipe  -DMD5 -DSHA1 -DRMD160 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c /tinderbox/CURRENT/i386/i386/src/usr.sbin/mtree/mtree.c
cc -O2 -pipe  -DMD5 -DSHA1 -DRMD160 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c /tinderbox/CURRENT/i386/i386/src/usr.sbin/mtree/spec.c
cc -O2 -pipe  -DMD5 -DSHA1 -DRMD160 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c /tinderbox/CURRENT/i386/i386/src/usr.sbin/mtree/verify.c
cc -O2 -pipe  -DMD5 -DSHA1 -DRMD160 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c /tinderbox/CURRENT/i386/i386/src/usr.sbin/mtree/specspec.c
/tinderbox/CURRENT/i386/i386/src/usr.sbin/mtree/specspec.c:27: error: syntax error before '/' token
*** Error code 1

Stop in /tinderbox/CURRENT/i386/i386/src/usr.sbin/mtree.
*** Error code 1

Stop in /tinderbox/CURRENT/i386/i386/src/usr.sbin.
*** Error code 1

Stop in /tinderbox/CURRENT/i386/i386/src.
*** Error code 1

Stop in /tinderbox/CURRENT/i386/i386/src.
*** Error code 1

Stop in /tinderbox/CURRENT/i386/i386/src.
TB --- 2004-08-07 11:27:02 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-08-07 11:27:02 - ERROR: failed to build world
TB --- 2004-08-07 11:27:02 - tinderbox aborted


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

Message: 12
Date: Sat,  7 Aug 2004 06:35:12 -0500
From: Edwin Culp <eculp@encontacto.net>
Subject: Buildworld was broken for me with a cvsup from early this
	morning.
To: current@freebsd.org
Message-ID: <20040807063512.wbm4iokogo0s0cgs@mail.encontacto.net>
Content-Type: text/plain; charset="UTF-8"

Buildworld was broken with a cvsup from early this morning.

cc -O -pipe  -DMD5 -DSHA1 -DRMD160 -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wstrict-prototypes -Wmissing
-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
-Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitia
lized -c /usr/src/usr.sbin/mtree/specspec.c
/usr/src/usr.sbin/mtree/specspec.c:27: error: syntax error before
'/' token
*** Error code 1

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

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

Thanks,

ed

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

Message: 13
Date: Sat, 07 Aug 2004 13:55:26 +0200
From: S?ren Schmidt<sos@DeepCore.dk>
Subject: Re: Panic on boot with today's CURRENT, ata related
To: Nate Lawson <nate@root.org>
Cc: Ceri Davies <ceri@submonkey.net>
Message-ID: <4114C32E.3060202@DeepCore.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Nate Lawson wrote:
> S�ren Schmidt wrote:
> 
>> Nate Lawson wrote:
>>
>>> I took a quick look at this ATA panic.  The exact same one occurs for 
>>> Ceri.  A quick dissassemble shows that the testb is the check for the 
>>> DMA flag at the very end of ata_generic_transaction().  The bug 
>>> appears to be that this may be a PIO request (since the DMA check is 
>>> outside the switch() statement).  The fix is to make sure it's a DMA 
>>> request before dereferencing an element of the DMA struct.  Try the 
>>> attached patch.
>>
>>
>> No, the fix is to make sure there is a valid ch->dma pointer, the 
>> below is the correct fix.
>>
>> --- ata-lowlevel.c      5 Aug 2004 21:13:41 -0000       1.41
>> +++ ata-lowlevel.c      6 Aug 2004 22:31:16 -0000
>> @@ -295,7 +295,7 @@
>>      }
>>
>>      /* request finish here */
>> -    if (ch->dma->flags & ATA_DMA_LOADED)
>> +    if (ch->dma && ch->dma->flags & ATA_DMA_LOADED)
>>         ch->dma->unload(ch);
>>      return ATA_OP_FINISHED;
>>  }
> 
> 
> Thanks.  Under what circumstances is a request generated with ATA_R_DMA 
> set in the flags but where the channel's dma struct has not been allocated?

It should not happen on normal and correct use, but since drivers are 
responsible for setting the flags, there is potential for error 
situations, and we want to catch those as well instead of panic'ing.
Better safe than sorry as they say...

-S�ren

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

_______________________________________________
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 19
***********************************************


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


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