|
From: Akinobu M. <mi...@mi...> - 2005-05-11 11:05:17
|
On Monday 09 May 2005 19:54, Takao Indoh wrote:
> I tried this patch using my usb-memory(TOSHIBA U2B-256MT), but diskdump
> stopped with message "usb 2-1: reset full speed USB device using address
> 2".
Thank you for trying my patch.
I want to know further information.
Can you capture the console log with the following patch and
enabling CONFIG_USB_STORAGE_DEBUG?
--- 2.6.9-diskdump-1.0/drivers/block/diskdump.c.orig 2005-04-26 12:58:52.375511304 +0900
+++ 2.6.9-diskdump-1.0/drivers/block/diskdump.c 2005-04-26 12:59:26.032394680 +0900
@@ -42,7 +42,7 @@
#include <linux/diskdump.h>
#include <asm/diskdump.h>
-#define Dbg(x, ...) pr_debug("disk_dump: " x "\n", ## __VA_ARGS__)
+#define Dbg(x, ...) printk(KERN_DEBUG "disk_dump: " x "\n", ## __VA_ARGS__)
#define Err(x, ...) pr_err ("disk_dump: " x "\n", ## __VA_ARGS__)
#define Warn(x, ...) pr_warn ("disk_dump: " x "\n", ## __VA_ARGS__)
#define Info(x, ...) pr_info ("disk_dump: " x "\n", ## __VA_ARGS__)
--- 2.6.9-diskdump-1.0/drivers/scsi/scsi_dump.c.orig 2005-04-26 13:01:34.043933968 +0900
+++ 2.6.9-diskdump-1.0/drivers/scsi/scsi_dump.c 2005-04-26 13:01:52.550120600 +0900
@@ -50,7 +50,7 @@
#define MAX_RETRIES 5
#define SD_TIMEOUT (60 * HZ)
-#define Dbg(x, ...) pr_debug("scsi_dump: " x "\n", ## __VA_ARGS__)
+#define Dbg(x, ...) printk(KERN_DEBUG "scsi_dump: " x "\n", ## __VA_ARGS__)
#define Err(x, ...) pr_err ("scsi_dump: " x "\n", ## __VA_ARGS__)
#define Warn(x, ...) pr_warn ("scsi_dump: " x "\n", ## __VA_ARGS__)
#define Info(x, ...) pr_info ("scsi_dump: " x "\n", ## __VA_ARGS__)
|