From owner-freebsd-questions Wed May 3 23:11:18 2000 Delivered-To: freebsd-questions@freebsd.org Received: from vail.net (vail.net [199.45.148.10]) by hub.freebsd.org (Postfix) with ESMTP id 6742E37BFC0 for ; Wed, 3 May 2000 23:11:12 -0700 (PDT) (envelope-from ivanfetch@technologist.com) Received: from gatekeeper.cfcc.com (cfcc.com [204.144.216.251]) by vail.net (/) with ESMTP id e4463gA25294; Thu, 4 May 2000 00:03:42 -0600 (MDT) Received: from oak.ivanfetch.tzo.com (130.253.204.115 [130.253.204.115]) by gatekeeper.cfcc.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.1960.3) id KGH0RZDP; Thu, 4 May 2000 00:17:42 -0600 Date: Wed, 3 May 2000 23:08:18 -0700 (MST) From: Ivan Fetch X-Sender: ifetch@oak.ivanfetch.tzo.com To: Kent Stewart Cc: Trevor Johnson , "Dan O'Connor" , Scott , freebsd-questions@FreeBSD.ORG Subject: Re: ATAPI CDR's in 4.0-RELEASE In-Reply-To: <390F5FC7.C2612A90@3-cities.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I am running FreeBSD 4.0-release and (with an HP 8100 burner) would like to fix these difficulties in with burning CDs. Must I upgrade to -current in order to do this? THank You - Ivan Fetch. On Tue, 2 May 2000, Kent Stewart wrote: > > > Trevor Johnson wrote: > > > > > It will be interesting to see what the fix is. There was one message > > > about adding "sleep(10);" in burncd.c right after where it writes the > > > message about > > > if (!quiet) > > > fprintf(stderr, "fixating CD, please wait..\n"); > > > sleep(10); > > > > > > In the messages I read, it shouldn't matter but it also worked for me. > > > > I tried doing that, but it didn't help. I have an 8100. > > > > I've attached the patches that Soren Schmidt (sos@freebsd.org) sent me. > > He said he'd be tidying them up and committing them to -CURRENT, then > > MFCing them, but that it was okay to pass them along. Note that they're > > two patches to the same file. > > I wrote him and he sent them to me but he didn't say I could pass them > on; however, he said that if they worked for me, he would commit them > ASAP. I got rid of the sleep and re-built burncd. Then I created a new > kernel with the atapi-cd changes in it. The changes did work. I sent > Soren an email telling him that they worked and he committed his > changes to current the next day. I tried doing a patch < diff_file but > it didn't like the diff file for some reason. So, I copied and pasted > the 4 new lines and deleted the others. The changes he committed for > acd_close_disk and acd_close_track don't have the "#if" structure in > it. It just has the int8_t ccb and the return. > > This whole process got me curious and I went snooping. If you start at > ftp://ftp.FreeBSD.org/pub/FreeBSD/ and choose -current or -stable, you > can walk your way down to the sources. In this case, the atapi-cd.c > source for current is located at > ftp://ftp.FreeBSD.org/pub/FreeBSD/FreeBSD-current/src/sys/dev/ata/atapi-cd.c. > > Kent > > -- > Kent Stewart > Richland, WA > > mailto:kstewart@3-cities.com > http://www.3-cities.com/~kstewart/index.html > FreeBSD News http://daily.daemonnews.org/ > > SETI(Search for Extraterrestrial Intelligence) @ HOME > http://setiathome.ssl.berkeley.edu/ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message