LinuxQuestions.org
Help answer threads with 0 replies.
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 01-09-2013, 01:27 PM   #1
Sydney
Member
 
Registered: Mar 2012
Distribution: Scientific Linux
Posts: 147

Rep: Reputation: 36
SD Cards not working in FC17


On my Acer Aspire One 756-2623 netbook running Fedora Core 17 I am having trouble mounting SD Cards. Once in a while if I do a cold boot with an SD card in the drive I will be able to see it after the system boots. Below is all the steps I have taken and diagnostic data I can think of and find on this and Fedora Core's forums. I appreciate any suggestions you can make.

Code:
# uname -a
Linux localhost.localdomain 3.6.11-1.fc17.x86_64 #1 SMP Mon Dec 17 22:16:35 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

# whoami
root

# lspci -v
04:00.1 SD Host controller: Broadcom Corporation NetXtreme BCM57765 Memory Card Reader (rev 10) (prog-if 01)
	Subsystem: Acer Incorporated [ALI] Device 0742
	Flags: bus master, fast devsel, latency 0, IRQ 19
	Memory at 90400000 (64-bit, prefetchable) [size=64K]
	Capabilities: [48] Power Management version 3
	Capabilities: [58] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [ac] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [150] Power Budgeting <?>
	Capabilities: [160] Virtual Channel
	Kernel driver in use: sdhci-pci

# lsmod | grep pci
sdhci_pci              18658  0 
sdhci                  37836  1 sdhci_pci

# yum whatprovides *\sdhci-pci*
kernel-3.6.11-1.fc17.x86_64 : The Linux kernel
Repo        : @updates
Matched from:
Filename    : /lib/modules/3.6.11-1.fc17.x86_64/kernel/drivers/mmc/host/sdhci-pci.ko
remove card
Code:
# modprobe -r sdhci
# modprobe -r sdhci-pci
# modprobe sdhci
# modprobe sdhci-pci

# dmesg
[ 1831.490062] sdhci: Secure Digital Host Controller Interface driver
[ 1831.490066] sdhci: Copyright(c) Pierre Ossman
[ 1833.608042] sdhci-pci 0000:04:00.1: SDHCI controller found [14e4:16bc] (rev 10)
[ 1833.608113] sdhci-pci 0000:04:00.1: Invalid iomem size. You may experience problems.
[ 1833.608390] Registered led device: mmc0::
[ 1833.637775] mmc0: SDHCI controller on PCI [0000:04:00.1] using ADMA
Insert Card
Code:
# dmesg
[ 1935.988186] mmc0: Timeout waiting for hardware interrupt.
[ 1946.002967] mmc0: Timeout waiting for hardware interrupt.
 
Old 01-09-2013, 03:32 PM   #2
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 780
Blog Entries: 2

Rep: Reputation: 74
"Invalid iomem size. You may experience problems."
I would have a look at boot parameters for using one for your subject
http://www.mjmwired.net/kernel/Docum...parameters.txt
quirks.. pci.. related to iomem..?
Just an idea (one time I had a SD card making few messages during boot and the messages could disappear by using a boot code; this was NOT your issue here.. but perhaps a similar topic?).
 
Old 01-09-2013, 03:39 PM   #3
Sydney
Member
 
Registered: Mar 2012
Distribution: Scientific Linux
Posts: 147

Original Poster
Rep: Reputation: 36
From what you just sent me [MSI Message Signaled Interrupts (PCI)] looks interesting as it relates to a different way PCI uses interupts? I will have to see if using this option has makes any change. Thanks for your reply I will report back.
 
Old 01-09-2013, 11:43 PM   #4
Sydney
Member
 
Registered: Mar 2012
Distribution: Scientific Linux
Posts: 147

Original Poster
Rep: Reputation: 36
pci=nomsi did not work for this issue out of the box. After I put the system to sleep for a long period and woke it up it did see the card in the drive. I am uncertain if it was due to the option or unrelated. I will have to do some more testing. Any more ideas would be appreciated.
 
Old 01-10-2013, 11:41 AM   #5
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 780
Blog Entries: 2

Rep: Reputation: 74
disconnect interrupt routing with a bootparameter?
according google "timeout waiting for hardware interrupt", the issue seems a kernel issue; so, a kernel parameter could solve? Which one? dont know. I will read a bit more when I have time and post here again if I have another idea.

Last edited by floppy_stuttgart; 01-10-2013 at 12:09 PM.
 
Old 01-10-2013, 03:23 PM   #6
Sydney
Member
 
Registered: Mar 2012
Distribution: Scientific Linux
Posts: 147

Original Poster
Rep: Reputation: 36
I tried debug_quirks=0x40 without success.

I did find that if I plug in Ethernet cable it works perfectly. The wired network also must be enabled it appears.
 
Old 01-11-2013, 01:02 PM   #7
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 780
Blog Entries: 2

Rep: Reputation: 74
Great.
Post both dmesg.txt (in a terminal make dmesg > dmesg.txt) here after
1. boot without LAN cable (your SD card has issues)
2. boot with LAN cable (SD card recognized)
We should look at the differences and try to understand what is going on (in relation with LAN card activation).

I started a look at the boot parameters.. quick guess would be
apci=noirq or acpi_irq_balance
acpi_irq_pci="IRQ" where the "IRQ" the IRQ is when your cable is in.
I dont have the HW, so Im a bit in the dark.

or.. Bug? have a look at https://bugs.launchpad.net/ubuntu/+s...x/+bug/1067222
A bug report says "apport-bug bios-outdated i386 kernel-bug-exists-upstream kernel-bug-exists-upstream-v3.6.2-quantal needs-firmware-check precise regression-release running-unity staging". Perhaps a workaround exists before the kernel is upgraded.

or here http://osdir.com/ml/ubuntu-bugs/2013-01/msg01739.html "In addition I had a talk with a nice gui with broadcom-knowledgeâ.
It looks like this card has an additional (private) mmio-block above the
normal 0x100 bytes in the PCI bar." Im scratching my (small) head to understand how to go around it. Contact these guys? or broadcom; they should know a workaround?

Last edited by floppy_stuttgart; 01-12-2013 at 02:51 PM. Reason: acpi=noirq and bug report
 
Old 01-17-2013, 07:26 AM   #8
Sydney
Member
 
Registered: Mar 2012
Distribution: Scientific Linux
Posts: 147

Original Poster
Rep: Reputation: 36
Sorry I have been traveling. I will try to put a dmesg up here soon. I think this is a bug at this point, I am just unsure were to file it, Fedora does not seam to be appropriate as it is somewhat crossing the distribution divide. Thanks for your continued help.
 
  


Reply


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
IrDA dongle stopped working (FC17) kaza Linux - Hardware 1 09-25-2012 12:55 PM
working with 2 similar network cards kizersouzay Linux - Networking 9 07-27-2006 05:09 PM
Please HELP - ISDN Cards Not working! Imbeciles Linux - Hardware 1 10-20-2005 07:39 AM
NIC Cards Not Working bennieblanco Linux - Networking 0 07-20-2003 10:17 PM
How do I tell if Ethernet cards are working? tarballedtux Linux - Software 2 10-30-2001 02:28 AM


All times are GMT -5. The time now is 12:31 PM.

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