Skip to contentSkip to conversation

New: Syslog fills with messages about assuming drive cache when SD card not present

Bug 43191 [email protected] 1 participant 11 messages May 1, 2012 – May 12, 2012 SCSI

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=43191

Summary: Syslog fills with messages about assuming drive cache
when SD card not present
Product: SCSI Drivers
Version: 2.5
Kernel Version: 3.4.0
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: DC390
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: No

Created an attachment (id=73153)
--> (https://bugzilla.kernel.org/attachment.cgi?id=73153)
list of currently loaded modules

I'm observing the issue discussed in this bug report:
https://bugzilla.kernel.org/show_bug.cgi?id=43190
I'm reporting it here since the original reporter didn't seem to have reported here:

I get this output repeatedly after every minute or so:

[  465.435298] sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
[  465.438295] sd 6:0:0:0: [sdb] Asking for cache data failed
[  465.438303] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[  517.147818] sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
[  517.150811] sd 6:0:0:0: [sdb] Asking for cache data failed
[  517.150822] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[  568.859459] sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
[  568.862330] sd 6:0:0:0: [sdb] Asking for cache data failed
[  568.862339] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[  620.571790] sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
[  620.574659] sd 6:0:0:0: [sdb] Asking for cache data failed

However, when I put in a memory card it stops after outputting this:

[ 1543.770351] sd 6:0:0:0: [sdb] 3970048 512-byte logical blocks: (2.03 GB/1.89
GiB)
[ 1543.775577] sd 6:0:0:0: [sdb] No Caching mode page present
[ 1543.775586] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 1543.780604] sd 6:0:0:0: [sdb] No Caching mode page present
[ 1543.780611] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 1543.807961]  sdb: sdb1

and once I eject the memory card it continues:

[ 4980.766490] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 5032.474959] sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 5032.477961] sd 6:0:0:0: [sdb] Asking for cache data failed
[ 5032.477970] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 5084.187541] sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 5084.190546] sd 6:0:0:0: [sdb] Asking for cache data failed
[ 5084.190554] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 5135.899244] sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 5135.902369] sd 6:0:0:0: [sdb] Asking for cache data failed
[ 5135.902378] sd 6:0:0:0: [sdb] Assuming drive cache: write through
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 43191] Syslog fills with messages about assuming drive cache when SD card not present

https://bugzilla.kernel.org/show_bug.cgi?id=43191

--- Comment #1 from Sree Harsha Totakura <[email protected]> 2012-05-01 22:22:23 --- Created an attachment (id=73154)
--> (https://bugzilla.kernel.org/attachment.cgi?id=73154)
lspci

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 43191] Syslog fills with messages about assuming drive cache when SD card not present

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=43191

--- Comment #2 from Sree Harsha Totakura <[email protected]> 2012-05-01 22:22:51 --- Created an attachment (id=73155)
--> (https://bugzilla.kernel.org/attachment.cgi?id=73155)
scsi

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 43191] Syslog fills with messages about assuming drive cache when SD card not present

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=43191

Sree Harsha Totakura <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Platform|All |i386

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 43191] Syslog fills with messages about assuming drive cache when SD card not present

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=43191

--- Comment #3 from Chris Fahlman <[email protected]> 2012-05-02 04:07:43 --- *** Bug 43190 has been marked as a duplicate of this bug. ***

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 43191] Syslog fills with messages about assuming drive cache when SD card not present

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=43191

--- Comment #4 from Christian Kujau <[email protected]> 2012-05-03 06:55:27 --- Noticed this on a "Lenovo Ideapad S10" as well. Ubuntu #925760 has a workaround for this:

$ rmmod ums_realtek

usbcore: deregistering interface driver ums-realtek

And the messages stop. As soon as the module is loaded again, the messages resume and repeat every 52 seconds:

$ modprobe ums_realtek
May  2 23:50:46 scsi5 : usb-storage 1-5:1.0
May  2 23:50:46 usbcore: registered new interface driver ums-realtek
May  2 23:50:47 scsi 5:0:0:0: Direct-Access Generic- Multi-Card 1.00 PQ: 0
ANSI: 0 CCS
May  2 23:50:47 sd 5:0:0:0: Attached scsi generic sg1 type 0
May  2 23:50:47 sd 5:0:0:0: [sdb] Attached SCSI removable disk
May  2 23:51:38 sd 5:0:0:0: [sdb] Test WP failed, assume Write Enabled
May  2 23:51:38 sd 5:0:0:0: [sdb] Asking for cache data failed
May  2 23:51:38 sd 5:0:0:0: [sdb] Assuming drive cache: write through
May  2 23:52:30 sd 5:0:0:0: [sdb] Test WP failed, assume Write Enabled
May  2 23:52:30 sd 5:0:0:0: [sdb] Asking for cache data failed
May  2 23:52:30 sd 5:0:0:0: [sdb] Assuming drive cache: write through
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 43191] Syslog fills with messages about assuming drive cache when SD card not present

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=43191

--- Comment #5 from Christian Kujau <[email protected]> 2012-05-03 07:10:38 --- Created an attachment (id=73164)
--> (https://bugzilla.kernel.org/attachment.cgi?id=73164)
dmesg; lspci; lspci -v; lspci -vvv; cat /proc/scsi/scsi; lsmod

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 43191] Syslog fills with messages about assuming drive cache when SD card not present

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=43191

Daniel Mehrmann <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #6 from Daniel Mehrmann <[email protected]> 2012-05-07 14:32:14 --- I can confirm it happens with my Netbook LG x110 as well.
I attach a boot.log

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 43191] Syslog fills with messages about assuming drive cache when SD card not present

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=43191

--- Comment #7 from Daniel Mehrmann <[email protected]> 2012-05-07 14:33:29 --- Created an attachment (id=73217)
--> (https://bugzilla.kernel.org/attachment.cgi?id=73217)
dmesg output

dmesg output of Netbook LG x110

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 43191] Syslog fills with messages about assuming drive cache when SD card not present

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=43191

--- Comment #8 from Petr Pisar <[email protected]> 2012-05-08 09:00:27 --- See <https://bugzilla.redhat.com/show_bug.cgi?id=769747> for other udev---kernel debugging.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 43191] Syslog fills with messages about assuming drive cache when SD card not present

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=43191

Alan <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
          Component|DC390                       |Serial ATA
         AssignedTo|[email protected]  |[email protected]
            Product|SCSI Drivers                |IO/Storage
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.