kern/122045: [ata][panic] reiniting detached ata channel kills the kernel

Volker volker at vwsoft.com
Tue Apr 15 19:50:03 UTC 2008


The following reply was made to PR kern/122045; it has been noted by GNATS.

From: Volker <volker at vwsoft.com>
To: bug-followup at FreeBSD.org, soralx at cydem.org
Cc:  
Subject: Re: kern/122045: [ata][panic] reiniting detached ata channel kills
 the kernel
Date: Tue, 15 Apr 2008 21:41:14 +0200

 This fix has been suggested by Andrey V. Elsukov on the bugs ML and
 confirmed by the submitter to fix the problem.
 
 Unfortunately this still hasn't been committed:
 
 Index: src/sys/dev/ata/ata-all.c
 ===================================================================
 RCS file: /ncvs/src/sys/dev/ata/ata-all.c,v
 retrieving revision 1.280
 diff -u -b -p -r1.280 ata-all.c
 --- src/sys/dev/ata/ata-all.c	4 Oct 2007 19:17:15 -0000	1.280
 +++ src/sys/dev/ata/ata-all.c	29 Mar 2008 17:41:53 -0000
 @@ -372,7 +372,6 @@ ata_ioctl(struct cdev *dev, u_long cmd,
  	    !(device = devclass_get_device(ata_devclass, *value)))
  	    return ENXIO;
  	error = ata_reinit(device);
 -	ata_start(device);
  	break;
 
      case IOCATAATTACH:


More information about the freebsd-bugs mailing list