LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-02-2014, 07:36 AM   #1
/dev/dog
LQ Newbie
 
Registered: Nov 2014
Location: New Jersey, US
Distribution: Debian
Posts: 29

Rep: Reputation: 0
Question How to disable Fedora from asking for cache on empty SD card readers


Hi

I keep getting errors that say:
Code:
[3256.362200] sd 5:0:0:0: [sdb] Asking for cache data failed
[3256.362200] sd 5:0:0:0: [sdb] Assuming drive cache : write through
I found this on AskUbuntu:
http://askubuntu.com/questions/16734...failed-warning
Someone said it was that Fedora keeps asking all drives if they have a cache and they do not respond.

I have 3 empty drives visible in Windows 7, and I think 1 of them is the SD card reader. I was hoping someone could tell me how to disable Fedora from asking these devices?
 
Old 12-07-2014, 05:41 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
Quote:
Originally Posted by /dev/dog View Post
Someone said it was that Fedora keeps asking all drives if they have a cache and they do not respond.
First of all this is not related to any Linux distribution but to the kernel itself. This message should only appear once per device on boot or right after (re)loading the smartcards device driver. It has to do with the kernel interrogating devices to see if there's an on-board cache. If there isn't, or apparently if the device doesn't respond, this (informational level) message will be shown. So unless you see this message repeated constantly in /var/log/messages you may safely ignore it. If it does show constantly then how you disable it depends on the device driver. The common example, for the Realtek ums_realtek driver only, is to supply the additional modprobe switch "ss_en=0". If that doesn't work for your driver first look in your distributions and then the kernels bug tracker for similar fix requests before opening on yourself.
 
Old 12-09-2014, 08:24 AM   #3
/dev/dog
LQ Newbie
 
Registered: Nov 2014
Location: New Jersey, US
Distribution: Debian
Posts: 29

Original Poster
Rep: Reputation: 0
Wink

Quote:
Originally Posted by unSpawn View Post
First of all this is not related to any Linux distribution but to the kernel itself. This message should only appear once per device on boot or right after (re)loading the smartcards device driver. It has to do with the kernel interrogating devices to see if there's an on-board cache. If there isn't, or apparently if the device doesn't respond, this (informational level) message will be shown. So unless you see this message repeated constantly in /var/log/messages you may safely ignore it. If it does show constantly then how you disable it depends on the device driver. The common example, for the Realtek ums_realtek driver only, is to supply the additional modprobe switch "ss_en=0". If that doesn't work for your driver first look in your distributions and then the kernels bug tracker for similar fix requests before opening on yourself.
Hey unSpawn,

Yes this message kept repeating a few times when I tried to do various things.

Fedora 20 was a recent install, so in addition to a few other things I did to the computer, I went on Intel and Dell and downloaded all compatible drivers, I installed KDE for Netbooks, I installed a few packages with yum, and I did yum update/upgrade and now it does not appear anymore.

I think the message was appearing when I was trying to install RPM Fusion free and non-free in order to get the wifi working, and in order to do that I needed to upgrade my kernel to 3.17 (it was 3.11 before (not sure those are the correct versions)). After that I rebooted and did yum upgrade/update, and then after a second reboot it stopped appearing.

If you know why, I would love to know, but thanks anyway for your response.

Last edited by /dev/dog; 12-09-2014 at 08:24 AM. Reason: fixed past tense
 
Old 12-09-2014, 09:03 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
Quote:
Originally Posted by /dev/dog View Post
After that I rebooted and did yum upgrade/update, and then after a second reboot it stopped appearing.

If you know why, I would love to know, but thanks anyway for your response.
I haven't got any idea except the kernel noticing absence of the device and nothing polling for it fixed things.
Anyway, you've kind of "solved" it so if you're satisfied please mark this thread solved, thanks.
 
Old 12-10-2014, 08:30 AM   #5
/dev/dog
LQ Newbie
 
Registered: Nov 2014
Location: New Jersey, US
Distribution: Debian
Posts: 29

Original Poster
Rep: Reputation: 0
Talking

Quote:
Originally Posted by unSpawn View Post
I haven't got any idea except the kernel noticing absence of the device and nothing polling for it fixed things.
Anyway, you've kind of "solved" it so if you're satisfied please mark this thread solved, thanks.
Im satisfied, thanks for helping
 
  


Reply

Tags
cache, fedora


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
smp Linux able to run with L1 I-cache and D-cache disable? jordanplus Programming 2 08-29-2014 03:40 AM
Card & Fingerprint Readers on Linux Fedora \/4A Linux - Hardware 1 09-11-2012 07:25 AM
cache squid is allways empty jmpatagonia Linux - Server 6 06-25-2009 08:55 AM
flash card / memory card readers and linux? Frelov Linux - Hardware 11 08-02-2006 05:37 PM
empty /var/cache/urpmi/rpms ??? christophe.dr Linux - Software 1 10-03-2003 05:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration