From owner-freebsd-current Fri Jan 1 13:41:31 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA28395 for freebsd-current-outgoing; Fri, 1 Jan 1999 13:41:31 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA28386 for ; Fri, 1 Jan 1999 13:41:29 -0800 (PST) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.1/8.8.5) id OAA44061; Fri, 1 Jan 1999 14:40:11 -0700 (MST) From: "Kenneth D. Merry" Message-Id: <199901012140.OAA44061@panzer.plutotech.com> Subject: Re: cdrecord/cam In-Reply-To: <19981230135710.A9990@gaspode.franken.de> from German Tischler at "Dec 30, 98 01:57:10 pm" To: tanis@gaspode.franken.de (German Tischler) Date: Fri, 1 Jan 1999 14:40:11 -0700 (MST) Cc: freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28s (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG German Tischler wrote... > Hi. > > I'm getting the following error when trying to write a cdrw with > cdrecord 1.8a14 with current from yesterday: > > cam_periph_mapmem: attempt to map 66560 bytes, which is greater than > DFLTPHYS(65536) > > Can I increase DFLTPHYS in /sys/i386/include/param.h without > problems, to avoid this ? You need to go into libscg/scsi-bsd.c, and around line 575 you'll find the CAM version of the scsi_maxdma() function. Instead of: return(MAXPHYS); Change it to: return(DFLTPHYS - PAGE_SIZE); Changing DFLTPHYS could cause other more serious problems, and I wouldn't recommend it. I've sent the above change to Joerg Schilling, and it should make it into the next alpha of cdrecord. If you use the version in the ports tree, you'll get the above change by default. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message