lkml.org 
[lkml]   [2007]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Weird hard disk noise on shutdown (bug #7674)
> 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.

You grabbed a lot of junk but you did grab this line

[17179682.560000] Synchronizing SCSI cache for disk sda:

Which means sd_sync_cache got called and flushed the data to disk.

I don't think you can do the other needed debugging without a recompile.

The following will generate a vast amount of debug of which only the end
matters. You may well want to build a kernel this way, boot it with
init=/bin/sh and then at the shell prompt do "halt -f" so you don't get
too much debug

In include/linux/libata.h change

#undef ATA_DEBUG /* debugging output */
#undef ATA_VERBOSE_DEBUG /* yet more debugging output */

so both of the undef-s read define

#define ATA_DEBUG
#define ATA_VERBOSE_DEBUG

and recompile


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

\
 
 \ /
  Last update: 2007-02-22 13:53    [W:0.464 / U:4.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site