Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 2004 16:10:48 +0300 (MSK)
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        Matthias Schuendehuette <msch@snafu.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Panic with current kernel (ATA-related?)
Message-ID:  <20040215160713.U70835@news1.macomnet.ru>
In-Reply-To: <200402141934.32797.msch@snafu.de>
References:  <200402141934.32797.msch@snafu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 14 Feb 2004, 19:34+0100, Matthias Schuendehuette wrote:

> Hi,
>
> I'm very sorry, but I think I found another ATA problem:
>
> The problem occurs on a FUJITSU-SIEMENS E-series Laptop (E4010)
> with an Intel ICH4 UDMA100 Controller. This Laptop has two ATA-devices,
> a FUJITSU MHT2040AT disk ('ad0', without any problems!) as ata0-master
> (UDMA100) and a CDRW-device 'acd0' <UJDA750FDVD/CDRW> as ata1-master
> (PIO4).
>
> This CDRW-device is properly detected with a GENERIC 5.2.1-RC kernel of
> 'Sat Jan 31 05:36:22 GMT 2004' from freebsd.org.
>
> With a -current kernel GENERIC of 'Thu Feb 12' this kernel panics if the
> CDRW-device is *not* removed (i.e is present):

I believe that's known one.  There are several threads about similar
symptomps in -current.  Try this hack:

Index: ata-all.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/ata/ata-all.c,v
retrieving revision 1.203
diff -u -r1.203 ata-all.c
--- ata-all.c	30 Jan 2004 19:16:08 -0000	1.203
+++ ata-all.c	14 Feb 2004 15:43:20 -0000
@@ -567,7 +567,7 @@
 	    while (retries-- > 0) {
 		request->device = atadev;
 		request->timeout = 5;
-		request->retries = -1;
+		request->retries = 3;
 		request->u.ata.command = command;
 		request->flags = (ATA_R_READ | ATA_R_IMMEDIATE);
 		request->data = (caddr_t)atadev->param;
%%%

Removing atapicam may help either.

HTH.

-- 
Maxim Konovalov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040215160713.U70835>