From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 15 12:59:11 2006 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBB7E16A420; Wed, 15 Feb 2006 12:59:11 +0000 (GMT) (envelope-from chi@bd.mbn.or.jp) Received: from smtp.fancy.ocn.ne.jp (fancy.ocn.ne.jp [210.190.142.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4010443D55; Wed, 15 Feb 2006 12:59:10 +0000 (GMT) (envelope-from chi@bd.mbn.or.jp) Received: from chino.localhost (p7027-ipad08okidate.aomori.ocn.ne.jp [58.88.78.27]) by smtp.fancy.ocn.ne.jp (Postfix) with ESMTP id 55F09B3FA; Wed, 15 Feb 2006 21:59:09 +0900 (JST) Posted-Date: Wed, 15 Feb 2006 21:21:15 JST To: ariff@FreeBSD.org In-Reply-To: <20060214010337.6e4e4a5a.ariff@FreeBSD.org> From: chi@bd.mbn.or.jp (Chiharu Shibata) X-Mailer: mnews [version 1.22] 1999-12/19(Sun) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Message-Id: <20060215125909.55F09B3FA@m-kg282p.ocn.ne.jp> Date: Wed, 15 Feb 2006 21:59:09 +0900 (JST) Cc: re@FreeBSD.org, freebsd-hackers@FreeBSD.org, core@FreeBSD.org, nork@FreeBSD.org, sos@deepcore.dk, sos@FreeBSD.org Subject: Re: kern/60163 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2006 12:59:12 -0000 (During server maintainance, it seems that my mail wasn't send outgoing...) At Tue, 14 Feb 2006 01:03:37 JST, you wrote... ># mount -t cd9660 /dev/acd0 /cdrom >mount_cd9660: /dev/acd0: Invalid argument > >As suggested by you: ># mount -t cd9660 /dev/acd0t02 /cdrom >mount_cd9660: /dev/acd0t02: Input/output error I've got reports from 2 testers(6.0-RELEASE-p4 and 5.4-Stable), and same result as this. PS. [http://people.freebsd.org/~ariff/misc/releng5_ata.diff] | --- usr.sbin/cdcontrol/cdcontrol.c.orig Wed Feb 16 02:29:43 2005 | +++ usr.sbin/cdcontrol/cdcontrol.c Wed Feb 16 02:33:13 2005 | @@ -73,6 +73,7 @@ | #define STATUS_AUDIO 0x1 | #define STATUS_MEDIA 0x2 | #define STATUS_VOLUME 0x4 | +#define SESSION_SECTORS (152*75) | | struct cmdtab { | int command; | @@ -1004,6 +1005,12 @@ | e[1].addr.msf.frame); | else | next = ntohl(e[1].addr.lba); | + if (e[1].track < 100) { | + if (!(e->control & 4) && (e[1].control & 4)) | + next -= SESSION_SECTORS; | + else if ((e->control & 4) != (e[1].control & 4)) | + next -= 150; | + } | len = next - block; | /* Take into account a start offset time. */ | lba2msf (len - 150, &m, &s, &f); My another patch contains this process(shortend length of last audio track) on kernel level. If interested, please refer to the following. (this is very *old* patch, but enough to read essence) -- Chiharu Shibata chi@bd.mbn.or.jp