From owner-freebsd-current Sat Jul 8 1: 9:23 2000 Delivered-To: freebsd-current@freebsd.org Received: from rye.elite.net (rye.elite.net [205.199.220.6]) by hub.freebsd.org (Postfix) with ESMTP id 2619737BD3E for ; Sat, 8 Jul 2000 01:09:17 -0700 (PDT) (envelope-from nate@elite.net) Received: from almond.elite.net (root@almond.elite.net [205.199.220.5]) by rye.elite.net (8.9.3/8.9.3) with ESMTP id BAA69170; Sat, 8 Jul 2000 01:09:16 -0700 (PDT) Received: (nate@localhost) by almond.elite.net (8.8.3/8.6.12) id BAA08263; Sat, 8 Jul 2000 01:09:15 -0700 (PDT) Date: Sat, 8 Jul 2000 01:09:15 -0700 (PDT) From: Nate Lawson To: Trevor Johnson Cc: current@FreeBSD.ORG Subject: Re: burncd fixate error In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 7 Jul 2000, Trevor Johnson wrote: > > I'm running 4.0-STABLE and my CDR drive can't write the toc. > > I tried twice and each time I get the following error: > > fixating CD, please wait.. > > burncd: ioctl(CDRIOCCLOSEDISK): Input/output error > > Hi, Nate. I was getting that error too. Unlike you, I have an H-P 8100 > like the ones in the messages you directed us to. I did some testing for > Soren Schmidt and he got everything working to my satisfaction. Not > everything he fixed was specific to the H-P drives. That was around 6 May > and the changes did go into 4.0-STABLE. I need to do a make world but my system and kernel are only about 2 weeks old. I booted into NT on the same box and was able to close the disks using Easy CD creator and the same CDRW drive. Still, I'm interested in solving the "Input/output error" problem. Looking at the code in atapi-cd.c and atapi-all.c, it seems like the queued request is getting an EIO. Judging from the behavior when I tried to close a session that was already finished, I can only guess that what the ata driver is sending my drive is different than its expectation for a close disk command. Perhaps the track (ccb[5] = 0) in acd_close_disk() is incorrect for my drive? It may be non-standard; I'm not an ata expert by any means. It returns an error immediately without spinning up the disk so I assume it's a firmware error. If there are no further suggestions, I'll trace into it with ddb and ATAPI_DEBUG. Second, it seems that the "out of sequence" stuff is still in -current. Is that bound to be removed soon? It is perfectly acceptable to insert media with sessions written a previous time and close the disk without writing another session first. Thanks, -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message