From owner-freebsd-current@FreeBSD.ORG Tue Nov 11 21:39:44 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EC8B16A4CE for ; Tue, 11 Nov 2003 21:39:44 -0800 (PST) Received: from mail001.syd.optusnet.com.au (mail001.syd.optusnet.com.au [211.29.132.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE87B43F85 for ; Tue, 11 Nov 2003 21:39:41 -0800 (PST) (envelope-from current1@buggerit.com.au) Received: from ratpak.buggerit.com.au ([198.142.100.160])hAC5ddb14751 for ; Wed, 12 Nov 2003 16:39:39 +1100 Date: Wed, 12 Nov 2003 16:40:01 +1100 From: Taras To: freebsd-current@freebsd.org Message-Id: <20031112164001.726377b4.current1@buggerit.com.au> X-Mailer: Sylpheed version 0.9.3claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: fw_xferq_drain (was data corruption when reading from a mount_cd9660 filesystem) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2003 05:39:44 -0000 Thanks to all that replied. I did have rev 1.153 of atapi-cd.c but was unable to rebuild because of the RB_BOOTINFO thingy. Have re-cvsup'd and all is well reading the CD, many thanks. However what now isn't so well is upon every "reboot" and "shutdown" just after the syncing disks and Uptime is displayed, it drops into the debugger with: instruction pointer = 0x8:0xc0496dae stack pointer = 0x10:0xd89f9adc frame pointer = 0x10:0xd89f9ae8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, IOPL = 0 current process = 763 (reboot) # for reboot current process = 1 (init) # for shutdown -h now kernel: type 30 trap, code=0 Stopped at fw_xferq_drain+0xe: testl %edx,%edx Since this happens after the disks are sync'd the system boots OK. > G'day, > It appears that files with size greater than 65536 bytes when read from > a cd9660 mounted filesystem appear corrupted. > Happens on any cd-rom I try regardless of where it was burnt, > even the original 5.1-RELEASE-i386-miniinst.iso now appears corrupt. > > [...snip...] > regards, Taras