Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: SD Card Reader Will Not Mount After Upgrade To 10.10

  1. #1
    Join Date
    Jul 2008
    Beans
    21

    SD Card Reader Will Not Mount After Upgrade To 10.10

    I have a Dell Precision M6300 Laptop on which I have been running Ubuntu for over 2 years. I ran 8.04 Hardy for two years and then 10.04 Lucid for the past 6 months. Everything worked great including my SD card reader on both 8.04 and 10.04 until yesterday when I performed a distribution upgrade to 10.10 Maverick. Now, after the upgrade, my SD card reader will not mount. Dmesg gives the following dialog when I insert an SD card:

    [ 120.602656] r852: detected xD writeable card in slot
    [ 120.910163] No NAND device found.

    Prior to installing 10.10, the SD card would mount and a dialog would begin automatically when I inserted a SD card. Now, nothing happens.

    I would appreciate any advice as to how to trouble shoot and solve this problem. I have a dual boot machine and Windows mounts the card without a problem so I am fairly certain that its not a hardware problem.

    Thanks,

    Gordon

  2. #2
    Join Date
    Sep 2009
    Beans
    8,874
    Distro
    Ubuntu Development Release

    Re: SD Card Reader Will Not Mount After Upgrade To 10.10

    Can you see the card in gparted in linux is there a flag on it if so, that right clicking on the card and the info might give a explanation.

    Personally if these sd cards are the same formatting as a hd or thumb, just empty the data and reformat it. It must be a fat16 or fat32 partition I would think.

    This is a internal or plug-in reader?
    Last edited by wilee-nilee; November 2nd, 2010 at 04:12 AM.





  3. #3
    Join Date
    Jul 2008
    Beans
    21

    Re: SD Card Reader Will Not Mount After Upgrade To 10.10

    The SD card reader does not show up in gparted. Also, it does not show up if you run "sudo fdisk -lu" from the command line. I have tried two different SD cards that worked in the past and that currently work from the Windows partition. Neither work with the Ubuntu 10.10 distribution upgrade.

    The SD card reader is an internal reader that came with my Dell Precision M6300.

    Any ideas???

    Thanks,

    Gordon

  4. #4
    Join Date
    Sep 2009
    Beans
    8,874
    Distro
    Ubuntu Development Release

    Re: SD Card Reader Will Not Mount After Upgrade To 10.10

    I would boot a live cd of Maverick and see if this plays out the same. I have used a sd card on my acer aspire one using maverick. If your computer has been distro upgraded from hardy to lucid to maverick that may be part of the problem.

    We don't know of what you have done to customize your setup, and I suspect you only remember some if your like the rest of us. Yo cab tweak your setup to the point of upgrades can be compromised.
    Last edited by wilee-nilee; November 2nd, 2010 at 05:04 PM.





  5. #5
    Join Date
    Jun 2006
    Beans
    23

    Re: SD Card Reader Will Not Mount After Upgrade To 10.10

    I had the same problem, and I solved it by blacklisting r852.
    In /etc/modprobe.d/blacklist.conf file, add at the end:
    blacklist r852
    and reboot
    Last edited by phelge; November 6th, 2010 at 11:08 PM.

  6. #6
    Join Date
    Jul 2008
    Beans
    21

    Re: SD Card Reader Will Not Mount After Upgrade To 10.10

    Hi phelge,

    Thanks for the reply!

    However, your solution to blacklist r852 didn't work for me.... FWIW, I tried it with several different kernels including the stock Maverick 2.6.35-22 kernel as well as the 2.6.37-999 development kernel referenced below in this post.

    Also, as an FYI, I found a bug report on launchpad about this at:

    https://bugs.launchpad.net/ubuntu/+s...x?comments=all

    I found an improved solution to this problem... But its not a complete fix. That is, I installed the current development kernel:

    linux-headers-2.6.37-999-generic_2.6.37-999.201011041120_amd64.deb

    from the daily builds here:

    http://kernel.ubuntu.com/~kernel-ppa...1-04-maverick/

    Everything appeared to work perfectly. However, It turns out this kernel does not completely fix the Ricoh reader problem. That is, with the new kernel, the SD reader will work for a while (about 5-10 minutes) after you boot the computer and then it will stop working again. So, while this situation is better, its not totally fixed yet. However, this is an improvement...

    Thanks again,

    Gordon

  7. #7
    Join Date
    Jun 2006
    Beans
    23

    Re: SD Card Reader Will Not Mount After Upgrade To 10.10

    Hi nodrog1952iii

    I have a different laptop (HP 8710W), I had exactly the same traces in /var/log/messages.

    kernel: [16141.192067] r852: detected xD writeable card in slot
    kernel: [16141.496115] No NAND device found.

    In /var/log/syslog I had at the same time the following :

    kernel: [ 869.948889] mmc0: Got data interrupt 0x00200000 even though no data operation was in progress.
    kernel: [ 869.948891] sdhci: ============== REGISTER DUMP ==============
    kernel: [ 869.948895] sdhci: Sys addr: 0x30e81000 | Version: 0x00000400
    kernel: [ 869.948898] sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000000
    kernel: [ 869.948902] sdhci: Argument: 0x00000000 | Trn mode: 0x00000033
    kernel: [ 869.948905] sdhci: Present: 0x01ff0000 | Host ctl: 0x00000003
    kernel: [ 869.948909] sdhci: Power: 0x0000000f | Blk gap: 0x00000000
    kernel: [ 869.948913] sdhci: Wake-up: 0x00000000 | Clock: 0x00000107
    kernel: [ 869.948916] sdhci: Timeout: 0x00000009 | Int stat: 0x00000003
    kernel: [ 869.948920] sdhci: Int enab: 0x02ff00cb | Sig enab: 0x02ff00cb
    kernel: [ 869.948923] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000001
    kernel: [ 869.948927] sdhci: Caps: 0x018021a1 | Max curr: 0x00000040
    kernel: [ 869.948929] sdhci: ===========================================

    I tried as well 999 kernels end of October with no success.

    Apparently some users had success by add a file:
    /etc/modprobe.d/sdhci with content:
    options sdhci debug_quirks=1
    But that didn't work for me.

    The r852 module is for xD card, and I don't have, so it's not an issue for me to blacklist it.

    I found this workaround while playing with lsmod, rmmod and modprobe. Try it: Keep inserted in an SD card in the card reader, and start with :
    sudo rmmod sdhci_pci sdhci r852
    then try to
    sudo modprobe sdhci_pci
    see what happens in messages and syslog

    Good luck
    Last edited by phelge; November 7th, 2010 at 10:44 AM.

  8. #8
    Join Date
    Jul 2008
    Beans
    21

    Re: SD Card Reader Will Not Mount After Upgrade To 10.10

    Hi Phelge,

    I tried both of your recommendations, however, with out success.

    I really appreciate your spending the time to offer suggestions! Thanks!!!

    For now, I am just running the 999 kernel since the card reader will then work for a while immediately after a reboot. I don't really like this solution since it is so like Microsoft to have to reboot to make something work. Nevertheless, its the best solution that I have found so far. Hopefully, somebody else will come forward with a permanent solution.

    Gordon

  9. #9
    Join Date
    Apr 2006
    Beans
    Hidden!

    Re: SD Card Reader Will Not Mount After Upgrade To 10.10

    I'm having the same problem with no solution. I'll try to install the new driver later and report what happened.

  10. #10
    Join Date
    Apr 2006
    Beans
    Hidden!

    Re: SD Card Reader Will Not Mount After Upgrade To 10.10

    I wonder if this is related to this bug.

    If you notice below, the driver for the SD card reader is sdhci-pci.

    Code:
    03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19) (prog-if 01)
    	Subsystem: Dell Device 01bd
    	Flags: bus master, medium devsel, latency 64, IRQ 18
    	Memory at ef9fd400 (32-bit, non-prefetchable) [size=256]
    	Capabilities: <access denied>
    	Kernel driver in use: sdhci-pci
    	Kernel modules: sdhci-pci
    The driver for an xD card is r852.

    Code:
    03:01.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)
    	Subsystem: Dell Device 01bd
    	Flags: medium devsel, IRQ 18
    	Memory at ef9fd700 (32-bit, non-prefetchable) [size=256]
    	Capabilities: <access denied>
    	Kernel driver in use: r852
    	Kernel modules: r852
    Since we're inserting an SD card, the driver that should be used is the sdhci-pci driver.

    If dmesg returns:
    Code:
    r852: detected xD writeable card in slot
    then it seems the card was detected incorrectly as an xD card and the incorrect driver was loaded. Does this make sense?

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •