Subject: Re: CVS commit: [netbsd-1-6] src/sys/uvm
To: None <releng@netbsd.org, tls@netbsd.org>
From: Manuel Bouyer <bouyer@NetBSD.ORG>
List: port-sun3
Date: 09/07/2003 21:06:29
Hi,
this pullup breaks the sun3 port on sun3/60 (this is from a 1.6.1_STABLE
miniroot compiled today)

si0 at obio0 addr 0x140000 ipl 2: options=0xf
scsibus0 at si0: 8 targets, 8 luns per target
enabling interrupts
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <HITACHI, DK516C, KL17> SCSI2 0/direct fixed
sd0: 1272 MB, 2179 cyl, 15 head, 79 sec, 512 bytes/sect x 2606400 sectors
sd0: async, 8-bit transfers
sd1 at scsibus0 target 2 lun 0: <HP, 97548T100, 9136> SCSI1 0/direct fixed
sd1: 633 MB, 1457 cyl, 16 head, 55 sec, 512 bytes/sect x 1296512 sectors
sd1: async, 8-bit transfers
boot device: sd1b
root on sd1b dumps on sd1b
root file system type: ffs
si_dma_alloc: excessive xlen=0x10000

Kernel Breakpoint, frame=0xe003fa0
No debugger; doing PROM abort.
To continue, type: c <RETURN>

Abort at 0x0E094A78.

This has already been analysed when this was commited to current: we
need per-device MAXPHYS to fix it properly (sun3 has MAXBSIZE set to 32k,
and relied on the "wrong" use of MAXBSIZE). But I don't think per-device
MAXPHYS will ever make it to the 1.6 branch. MAXPHYS is set in
m68k/include/params.h

I can see 2 ways to fix it: back out this pullup on the release branch,
or move MAXPHYS to each m68k port's param.h
which one is best ?



On Tue, Aug 26, 2003 at 06:46:17AM +0000, Matthias Scheler wrote:
> 
> Module Name:	src
> Committed By:	tron
> Date:		Tue Aug 26 06:46:17 UTC 2003
> 
> Modified Files:
> 	src/sys/uvm [netbsd-1-6]: uvm_io.c
> 
> Log Message:
> Pull up revision 1.18 (requested by tls in ticket #1434):
> Correct use of MAXBSIZE where MAXPHYS was intended.  This is a necessary
> first step towards per-device MAXPHYS, and has the beneficial side effect
> of allowing clustering to MAXPHYS even on systems that need to run with
> a reduced MAXBSIZE to get more metadata buffers.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.17 -r1.17.10.1 src/sys/uvm/uvm_io.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 

On Tue, Aug 26, 2003 at 06:46:27AM +0000, Matthias Scheler wrote:
> 
> Module Name:	src
> Committed By:	tron
> Date:		Tue Aug 26 06:46:26 UTC 2003
> 
> Modified Files:
> 	src/sys/miscfs/genfs [netbsd-1-6]: genfs_vnops.c
> 
> Log Message:
> Pull up revision 1.76 (requested by tls in ticket #1434):
> Correct use of MAXBSIZE where MAXPHYS was intended.  This is a necessary
> first step towards per-device MAXPHYS, and has the beneficial side effect
> of allowing clustering to MAXPHYS even on systems that need to run with
> a reduced MAXBSIZE to get more metadata buffers.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.63.2.2 -r1.63.2.3 src/sys/miscfs/genfs/genfs_vnops.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 

On Tue, Aug 26, 2003 at 06:46:45AM +0000, Matthias Scheler wrote:
> 
> Module Name:	src
> Committed By:	tron
> Date:		Tue Aug 26 06:46:45 UTC 2003
> 
> Modified Files:
> 	src/sys/dev/ic [netbsd-1-6]: aic7xxx.c
> 
> Log Message:
> Pull up revision 1.103 via patch (requested by tls in ticket #1434):
> Correct use of MAXBSIZE where MAXPHYS was intended.  This is a necessary
> first step towards per-device MAXPHYS, and has the beneficial side effect
> of allowing clustering to MAXPHYS even on systems that need to run with
> a reduced MAXBSIZE to get more metadata buffers.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.88.4.1 -r1.88.4.2 src/sys/dev/ic/aic7xxx.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 

On Tue, Aug 26, 2003 at 06:46:52AM +0000, Matthias Scheler wrote:
> 
> Module Name:	src
> Committed By:	tron
> Date:		Tue Aug 26 06:46:52 UTC 2003
> 
> Modified Files:
> 	src/sys/ufs/ufs [netbsd-1-6]: ufs_bmap.c
> 
> Log Message:
> Pull up revision 1.22 (requested by tls in ticket #1434):
> Correct use of MAXBSIZE where MAXPHYS was intended.  This is a necessary
> first step towards per-device MAXPHYS, and has the beneficial side effect
> of allowing clustering to MAXPHYS even on systems that need to run with
> a reduced MAXBSIZE to get more metadata buffers.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.17 -r1.17.4.1 src/sys/ufs/ufs/ufs_bmap.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 

On Tue, Aug 26, 2003 at 06:47:01AM +0000, Matthias Scheler wrote:
> 
> Module Name:	src
> Committed By:	tron
> Date:		Tue Aug 26 06:47:00 UTC 2003
> 
> Modified Files:
> 	src/sys/uvm [netbsd-1-6]: uvm_pdaemon.c
> 
> Log Message:
> Pull up revision 1.51 (requested by tls in ticket #1434):
> Correct use of MAXBSIZE where MAXPHYS was intended.  This is a necessary
> first step towards per-device MAXPHYS, and has the beneficial side effect
> of allowing clustering to MAXPHYS even on systems that need to run with
> a reduced MAXBSIZE to get more metadata buffers.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.46.4.1 -r1.46.4.2 src/sys/uvm/uvm_pdaemon.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 

On Tue, Aug 26, 2003 at 06:47:09AM +0000, Matthias Scheler wrote:
> 
> Module Name:	src
> Committed By:	tron
> Date:		Tue Aug 26 06:47:09 UTC 2003
> 
> Modified Files:
> 	src/sys/uvm [netbsd-1-6]: uvm_pager.c
> 
> Log Message:
> Pull up revision 1.60 (requested by tls in ticket #1434):
> Correct use of MAXBSIZE where MAXPHYS was intended.  This is a necessary
> first step towards per-device MAXPHYS, and has the beneficial side effect
> of allowing clustering to MAXPHYS even on systems that need to run with
> a reduced MAXBSIZE to get more metadata buffers.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.57 -r1.57.4.1 src/sys/uvm/uvm_pager.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 

On Tue, Aug 26, 2003 at 06:49:10AM +0000, Matthias Scheler wrote:
> 
> Module Name:	src
> Committed By:	tron
> Date:		Tue Aug 26 06:49:10 UTC 2003
> 
> Modified Files:
> 	src/doc [netbsd-1-6]: CHANGES-1.6.2
> 
> Log Message:
> Pullup of ticket 1434.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.1.2.122 -r1.1.2.123 src/doc/CHANGES-1.6.2
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
>