From owner-freebsd-bugs Sat Feb 3 17:46:55 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA17025 for bugs-outgoing; Sat, 3 Feb 1996 17:46:55 -0800 (PST) Received: from netmail.austin.ibm.com (netmail.austin.ibm.com [129.35.208.98]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id RAA17019 for ; Sat, 3 Feb 1996 17:46:51 -0800 (PST) Received: from vikings.austin.ibm.com (vikings.austin.ibm.com [129.35.130.98]) by netmail.austin.ibm.com (8.6.12/8.6.11) with SMTP id TAA03132; Sat, 3 Feb 1996 19:46:19 -0600 Received: by vikings.austin.ibm.com (AIX 3.2/UCB 5.64/4.03-client-2.6) for swise@austin.ibm.com at austin.ibm.com; id AA28764; Sat, 3 Feb 1996 19:46:18 -0600 From: swise@austin.ibm.com (Jean-Steveau Wise) Message-Id: <9602040146.AA28764@vikings.austin.ibm.com> To: freebsd-bugs@freebsd.org Cc: swise@austin.ibm.com Subject: Re: ATAPI 4x cdrom hang In-Reply-To: (Your message of Sat, 03 Feb 96 02:48:24 PST.) <1241.823344504@time.cdrom.com> Date: Sat, 03 Feb 96 19:46:18 -0600 Sender: owner-bugs@freebsd.org Precedence: bulk jkh@time.cdrom.com says: | > I've got a 133MHZ Intel system (Packard Bell) with a 4x IDE ATAPI | > cdrom. FreeBSD 2.1 finds the device and I can read from it (ls -sailR | > will show everything on the cd mounted). However, whenever I try to | > transfer anything off it, the entire system hangs. I'd be happy to get | | Hmmmm. First thing to start might be to compile DDB into your kernel. | See http://www.freebsd.org/handbook/handbook220.html#403 for a quick | reference on using the kernel debugger. Then when it hangs next time, | you can drop into DDB and at least figure out where it's hanging! | Perhaps you're looping somewhere in the ATAPI driver and can add a | check to catch some case it's missing. | | The driver's author has disappeared without a trace, I'm afraid to | say, so we're currently sort of winging it with this one until he | makes his reappearance! :-( | | Jordan I've enabled the debugger. I can enter it via ctrl-alt-esc. However, when I reproduce the problem, I cannot enter the debugger. Also pings into the machine via an ethernet IF stops after it's hung. Soooo, my guess is that somewhere we're looping with all interrupts disabled. I'll now try and put some breakpoints in the ATAPI driver to understand where it's hanging... Another unrelated question: I seemed to have problems booting FreeBSD on a second driver installed on a second IDE controller. It would install ok and begin booting, but would fail during boot process. I think the kernel is assuming the root volume is on controller one/disk one or two? Anyway, More ATAPI clues to come! Stevo.