From owner-freebsd-current Sun Jan 21 0:25:53 2001 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (flutter.freebsd.dk [212.242.40.147]) by hub.freebsd.org (Postfix) with ESMTP id D785237B401; Sun, 21 Jan 2001 00:25:32 -0800 (PST) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.1/8.11.1) with ESMTP id f0L8PTl07759; Sun, 21 Jan 2001 09:25:29 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: John Baldwin Cc: Mark Murray , current@FreeBSD.org, The Hermit Hacker Subject: Re: current hangs... In-Reply-To: Your message of "Sat, 20 Jan 2001 16:03:08 PST." Date: Sun, 21 Jan 2001 09:25:29 +0100 Message-ID: <7757.980065529@critter> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message , John Baldwin writes: > >On 20-Jan-01 Poul-Henning Kamp wrote: >> In message , John Baldwin writes: >>> >>>On 20-Jan-01 The Hermit Hacker wrote: >>>> On Sat, 20 Jan 2001, Mark Murray wrote: >>>> >>>>> > >>>>> > on a 2xPII/350, 256M, two scsi disks on ahc, and ccd I have three times >>>>> > now hung the machine so that only reset got any attention simply by >>>>> > make -j 128 world >>>>> >>>>> Do you have an easy way to narrow it down to CCD by doing the same >>>>> thing but without ccd involvement? >>>> >>>> I don't have CCD, and got home last night from the office and mine was >>>> hung also, on a kernel from the day before ... being in X, pretty much >>>> nothing I could do to try and debug it ... new laptop gets in this week, >>>> so will be setting up the whole serial console debugging env ... >>> >>>Is it SMP, and does it have multiple SCSI disks hanging off of the same >>>device? >> >> SMP, one scsi disk on each controller, /usr and /home ccd'ed. > >Is there any code dealing with disk I/O in the kernel that does the equivalent >of this: > >while (!io_done) > /* spin */ ; > >That assumes an interrupt will set io_done? > >Using DELAY() in places might explain this. Not that I know of. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message