From owner-freebsd-questions Thu May 4 0:13:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from corinth.bossig.com (corinth.bossig.com [208.26.239.66]) by hub.freebsd.org (Postfix) with ESMTP id 59AE937B9F9 for ; Thu, 4 May 2000 00:13:43 -0700 (PDT) (envelope-from kstewart@3-cities.com) Received: from 3-cities.com (unverified [208.26.242.205]) by corinth.bossig.com (Rockliffe SMTPRA 4.2.1) with ESMTP id ; Thu, 4 May 2000 00:18:00 -0700 Message-ID: <3911231F.1DABB683@3-cities.com> Date: Thu, 04 May 2000 00:13:35 -0700 From: Kent Stewart Organization: Columbia Basin Virtual Community Project X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Ivan Fetch Cc: Trevor Johnson , Dan O'Connor , Scott , freebsd-questions@FreeBSD.ORG Subject: Re: ATAPI CDR's in 4.0-RELEASE References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I saw where Soren had committed the fixes to 4.0-Stable. All you have to do is cvsup it and build a new Stable kernel. Kent Ivan Fetch wrote: > > 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 > > > > -- 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/ Hunting Archibald Stewart, b 1802 in Ballymena, Antrim Co., NIR http://www.3-cities.com/~kstewart/genealogy/archibald_stewart.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message