From owner-freebsd-hackers Fri Nov 22 21:55:22 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA11188 for hackers-outgoing; Fri, 22 Nov 1996 21:55:22 -0800 (PST) Received: from vinyl.quickweb.com (vinyl.quickweb.com [206.222.77.8]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA11179 for ; Fri, 22 Nov 1996 21:55:08 -0800 (PST) Received: from localhost (mark@localhost) by vinyl.quickweb.com (8.7.5/8.6.12) with SMTP id AAA25493; Sat, 23 Nov 1996 00:54:03 -0500 (EST) Date: Sat, 23 Nov 1996 00:54:03 -0500 (EST) From: Mark Mayo To: "Jordan K. Hubbard" cc: David Kelly , hackers@FreeBSD.org Subject: Re: ATAPI (was: Who needs Perl? We do!) In-Reply-To: <24708.848726356@time.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 22 Nov 1996, Jordan K. Hubbard wrote: > > Input like this? (the data part of this ATAPI drive works, the audio > > stuff isn't fully functional). > > Uh, no. This actually fails on several counts: > Okay, say I have a drive that isn't working. What sort of stuff should I send? I can send the exact model and manufacturer, and the output from dmesg after a -v boot. I'm guessing that this isn't enough.. Are there tools out there for looking at CDROMs? Or do I use gdb to step through the code? In the latter case, I suppose I'll have to learn how to do this :-) I was planning on learning the FreeBSD/Unix procedure for developing and debugging device drivers over Christmas -- this ATAPI thing should motivate me enough to switch from my normal "user" mode to a somewhat more helpful "developer" mode. Also, this brings up the more general question of: What do I need to know to be a good "tester". I'm guessing being a master of gdb is step one; what features of gdb should I be focusing on? -Mark P.S. - I'm trying to squeeze as much into my head as I can, but I fear my rate of comprehension isn't fast enough to be terribly useful in the near future. I've only been C programming and using Unix for about a year - I was encouraged yesterday, however, when I was able to successfully modify the lpt code to query the parallel port to determine if it was bi-directional! I'll figure this stuff out some day :-) > > Thanks! > Jordan > --------------------------------------------------- | Mark Mayo mark@quickweb.com | | RingZero Comp. vinyl.quickweb.com/mark | --------------------------------------------------- "To iterate is human, to recurse divine." - L. Peter Deutsch