Re: Weird hard disk noise on shutdown (bug #7674)

From: Francesco Pretto
Date: Wed Feb 21 2007 - 20:02:04 EST


(I'm sorry if the thread breaks, i'm not subscribed)

2007/2/21, Alan <alan@xxxxxxxxxxxxxxxxxxx>:
Stick some printk calls in drivers/ata/libata-eh.c in ata_eh_suspend, or
turn on all the ATA debug and shutdown, the code should issue a cache
flush followed by a standbynow1 command for each disk.

Alan


Hi! Using netconsole, i was able to capture some printk output.
Following some advices in the net (forum threads about similar
problems), i did this to enable more verbose printk printing:

echo 8 > /proc/sys/kernel/printk
echo 1 > /proc/sys/vm/block_dump

This was the result:
http://bugzilla.kernel.org/attachment.cgi?id=10492&action=view

However, i'm not still sure i enabled as much debugging info as i
could in the kernel configuration. If you need more, please point me
to precise configuration options.

Thanks for your response.

Francesco Pretto
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/