IDE multwrite prinks going crazy...

Andre Hedrick andre en suse.com
Jue Ene 20 11:26:56 CST 2000


It is an I FORGOT............


On Wed, 19 Jan 2000, Stephen Foskett wrote:

> I'm getting streams of messages printed to the console when I enable
> ide-multi with hdparm.  It seems to be working, it's just complaining
> about it.  I traced it to this bit of drivers/block/ide-disk.c, added in
> 2.3.34:
> 
> --- v2.3.33/linux/drivers/block/ide-disk.c	Tue Dec 14 01:27:23 1999
> +++ linux/drivers/block/ide-disk.c	Tue Dec 14 23:03:50 1999
> @@ -241,9 +241,10 @@
>  #ifdef CONFIG_BLK_DEV_PDC4030
>  		rq->sector += nsect;
>  #endif
> -		if ((rq->nr_sectors -= nsect) <= 0)
> -		{
> -	                spin_unlock_irqrestore(&io_request_lock, flags);
> +		if ((rq->nr_sectors -= nsect) <= 0) {
> +			printk("%s: multwrite: count=%d, current=%ld\n",
> +				drive->name, nsect, rq->nr_sectors);
> +			spin_unlock_irqrestore(&io_request_lock, flags);
>  			break;
>  		}
>  		if ((rq->current_nr_sectors -= nsect) == 0) {
> 
> Is this an error?  Or a bad message?
> 
> Thanks,
> Stephen Foskett
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo en vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
> 

Andre Hedrick
The Linux IDE guy


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda