Fedora Linux Support Community & Resources Center
  #1  
Old 8th December 2011, 05:17 PM
AceRoom Offline
Registered User
 
Join Date: May 2010
Location: Bangalore, India
Posts: 209
linuxchrome
Error - Assuming Drive Cache: Write Through

Code:
[  420.590676] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[  472.818201] sd 5:0:0:0: [sdb] Test WP failed, assume Write Enabled
[  472.819804] sd 5:0:0:0: [sdb] Asking for cache data failed
[  472.819813] sd 5:0:0:0: [sdb] Assuming drive cache: write through
I keep getting this error on dmesg. It also shows up in the virtual terminals. I believe that it is probably caused by the internal card reader as I don't have any other devices connected (Unless the internal cdrom is counted).

Is this an issue? If so, can anyone help me to rectify it. TIA
__________________
Fedora 17 (Beefy Miracle) | Windows 7 Professional | Linux Mint 13 Cinnamon (Maya)
Reply With Quote
  #2  
Old 10th December 2011, 08:44 PM
agillis Offline
Registered User
 
Join Date: Mar 2009
Posts: 52
windows_7firefox
Re: Error - Assuming Drive Cache: Write Through

I'm getting this as well. sdb is my DVD drive. Happened after an upgrade from Fedora 14 to 16. Could this be a bug in F16?
Reply With Quote
  #3  
Old 11th December 2011, 12:54 AM
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,910
linuxfedorafirefox
Re: Error - Assuming Drive Cache: Write Through

It's not an error. It's describing a detection test of the drive cache -
It tries write-protect then assumes write-enabled, asks for cache data (failed) so assumes cache it write-thru.

Errors are generally things clearly identified w/ the word "error" . [I'm not being snarky - it is hard to tell]
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #4  
Old 12th December 2011, 02:43 PM
agillis Offline
Registered User
 
Join Date: Mar 2009
Posts: 52
windows_7chrome
Re: Error - Assuming Drive Cache: Write Through

OK thanks, Do you know if there is any way to disable this to keep my console screen from filling up?
Reply With Quote
  #5  
Old 12th December 2011, 09:14 PM
sidebrnz Offline
Registered User
 
Join Date: Oct 2007
Location: Freedonia
Age: 65
Posts: 2,623
linuxfirefox
Re: Error - Assuming Drive Cache: Write Through

I've been seeing that too on my desktop, when I insert a USB key. However, if I have two CLI sessions open, and one of them's root, it only appears on the non-root session, even if I'm working on the root one. Odd.
__________________
Registered Linux user #470359 and permanently recovered BOFH.

Any advice in this post is worth exactly what you paid for it.
Reply With Quote
  #6  
Old 14th December 2011, 04:35 AM
AceRoom Offline
Registered User
 
Join Date: May 2010
Location: Bangalore, India
Posts: 209
linuxfirefox
Re: Error - Assuming Drive Cache: Write Through

Yeah, any way to disable it from showing this would be very useful. It keeps interrupting when using a virtual terminal session...
__________________
Fedora 17 (Beefy Miracle) | Windows 7 Professional | Linux Mint 13 Cinnamon (Maya)
Reply With Quote
  #7  
Old 16th December 2011, 12:08 PM
Netlurker Offline
Registered User
 
Join Date: Dec 2011
Location: Cincinnati, OH, US
Posts: 1
linuxchrome
Re: Error - Assuming Drive Cache: Write Through

I am seeing this in Fedora 16 as well. With the most recent kernels it seems to stop the boot process however. If I fall back to 3.1.4-1 I can boot, but still see the errors in syslog. With kernels 3.1.5-1 or 3.1.5-2 it never seems to be able to boot just hanging at the message which repeats every couple of minutes. I have left it 20+ minutes to ensure it doesn't eventually come up but just see the message over and over. In my case it's sdb which seems to be a multi-card reader on the USB bus (Bus 001 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader) on an Acer Aspire 4530.

Update: Turns out the whole thing was a red herring. The messages are just what would normally show up in /var/log/messages and are apparently harmless. The appearance of a hung boot was actually a problem with the proprietary nvidia driver. I was using the kmod version which doesn't deal with kernel updates well. I am now using the akmod version which is supposed to be more graceful about that. To verify if this is your issue, edit the grub config for the kernel you are trying to boot with adding a 3 to the end of the kernel line so it doesn't try to start X. Then login and run startx, if there is a problem you should see it on the console. In my case I ended up just doing a "yum remove kmod-nvidia*" and then "yum install akmod-nvidia" as I already had the RPMFusion repo's enabled.

Last edited by Netlurker; 17th December 2011 at 07:37 AM. Reason: Update
Reply With Quote
  #8  
Old 27th December 2011, 12:14 AM
sidebrnz Offline
Registered User
 
Join Date: Oct 2007
Location: Freedonia
Age: 65
Posts: 2,623
linuxfirefox
Re: Error - Assuming Drive Cache: Write Through

Currently, I'm getting those messages during boot on my laptop, running F16, if and only if I boot into an F16 kernel and booting into runlevel 3 doesn't help. It just keeps spewing out those messages, and never completes boot. If, however, I boot into the old F14 kernel, it boots just fine. And, nVidia drivers aren't an issue here because I don't have nVidia graphics on my laptop. I'm not sure what's on sdb, but I don't boot with a CD or flash drive loaded and although it has a card reader, I've never used it. Any more interesting ideas?
__________________
Registered Linux user #470359 and permanently recovered BOFH.

Any advice in this post is worth exactly what you paid for it.
Reply With Quote
  #9  
Old 28th December 2011, 09:24 AM
marriedto51 Offline
Registered User
 
Join Date: Jul 2009
Location: England, UK
Posts: 912
linuxfirefox
Re: Error - Assuming Drive Cache: Write Through

Well, yes, I see this message too. It is (as has been said) harmless (apart from interrupting the flow of your typing) and originates with the kernel. At a guess it is a mild bug in that the message has not had the right level of "urgency" assigned to it in the Fedora builds of the kernel.
Reply With Quote
  #10  
Old 28th December 2011, 05:44 PM
sidebrnz Offline
Registered User
 
Join Date: Oct 2007
Location: Freedonia
Age: 65
Posts: 2,623
linuxfirefox
Re: Error - Assuming Drive Cache: Write Through

I don't call something that (in my case) stops the boot process dead in its tracks "mild." If you want to add to the Bugzilla report at https://bugzilla.redhat.com/show_bug.cgi?id=769747 it might even help.
__________________
Registered Linux user #470359 and permanently recovered BOFH.

Any advice in this post is worth exactly what you paid for it.
Reply With Quote
  #11  
Old 28th December 2011, 06:27 PM
marriedto51 Offline
Registered User
 
Join Date: Jul 2009
Location: England, UK
Posts: 912
linuxfirefox
Re: Error - Assuming Drive Cache: Write Through

Quote:
Originally Posted by sidebrnz View Post
I don't call something that (in my case) stops the boot process dead in its tracks "mild."
Fair point. I should have read the earlier posts more closely. (I just get the messages, but no problem with booting.)
Reply With Quote
  #12  
Old 21st February 2012, 03:43 PM
linker3000 Offline
Registered User
 
Join Date: Aug 2008
Posts: 28
linuxfirefox
Re: Error - Assuming Drive Cache: Write Through

I got this error - which stopped my laptop from booting - following a combination of a kernel update and then an update to VirtualBox to support the new kernel.

I suspect I messed up the VirtualBox update and ended up with some parts from the OSE version (manually downloaded in the dim and distant past) and some from the Oracle yum repository.

I fixed my install by booting into non-GUI mode by adding 3 to the end of the kernel line during GRUB booting and then doing:

yum remove VirtualBox*
yum install VirtualBox-4.1

After that the messages disappeared and the laptop booted normally.
Reply With Quote
  #13  
Old 21st February 2012, 06:28 PM
sidebrnz Offline
Registered User
 
Join Date: Oct 2007
Location: Freedonia
Age: 65
Posts: 2,623
linuxfirefox
Re: Error - Assuming Drive Cache: Write Through

AFAIK I don't have VirtualBox installed. Next time I've got time to get my laptop updated, I'll check.
__________________
Registered Linux user #470359 and permanently recovered BOFH.

Any advice in this post is worth exactly what you paid for it.
Reply With Quote
  #14  
Old 2nd March 2013, 06:57 PM
dharper Offline
Registered User
 
Join Date: Mar 2013
Location: United States
Posts: 2
linuxfirefox
Re: Error - Assuming Drive Cache: Write Through

So I keep getting this message as well, and only since I updated to Fedora 18. I was running 13 on my laptop before and never saw it. Anyone figure out how to stop this message from spamming the CLI? I even get the message output when I am working in VIM ...
Reply With Quote
  #15  
Old 2nd March 2013, 07:12 PM
sidebrnz Offline
Registered User
 
Join Date: Oct 2007
Location: Freedonia
Age: 65
Posts: 2,623
linuxfirefox
Re: Error - Assuming Drive Cache: Write Through

I eventually booted from an F 17 LiveCD and found that it worked fine. I decided that this meant that there was something wrong with my system that the newer kernels didn't like so I bit the bullet and did a clean installation of F 17, which got rid of the problem. Considering that you (apparently) went from 13 to 18 in one giant leap, you may want to consider doing the same thing.
__________________
Registered Linux user #470359 and permanently recovered BOFH.

Any advice in this post is worth exactly what you paid for it.
Reply With Quote
Reply

Tags
assuming, cache, drive, error, write

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel assuming write caching on iSCSI device spatuality Hardware & Laptops 1 2nd December 2006 07:15 PM
USB Drive with write back cache? Cheapriun Hardware & Laptops 0 3rd November 2005 12:56 PM
Disable Write-Cache for RAID Repo Using Fedora 0 20th August 2005 03:55 PM


Current GMT-time: 15:26 (Wednesday, 22-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Daegu Photos on Instagram - Chistopol Travel Photos - Wailuku Photos on Instagram