LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   various SD cards & file systems won't read (64bit Slack 14.0, kernel 3.6.7) (http://www.linuxquestions.org/questions/slackware-14/various-sd-cards-and-file-systems-wont-read-64bit-slack-14-0-kernel-3-6-7-a-4175439098/)

barutanseijin 11-25-2012 10:58 AM

various SD cards & file systems won't read (64bit Slack 14.0, kernel 3.6.7)
 
Same problem here (64bit Slack 14.0, kernel 3.6.7) with various cards & file systems, all of which work under other OSs & previous 13.37ish Slack setup. Device is Ricoh 823 rev. 07.

dmesg output:

Code:

[ 5839.075031] sdhci-pci 0000:01:00.0: SDHCI controller found [1180:e823] (rev 4)
[ 5839.075154] sdhci-pci 0000:01:00.0: found 1 slot(s)
[ 5839.075446] sdhci [sdhci_add_host()]: mmc0: Auto-CMD23 unavailable
[ 5839.075449] 0000:01:00.0 supply vmmc not found, using dummy regulator
[ 5839.075454] ------------[ cut here ]------------
[ 5839.075460] WARNING: at fs/sysfs/dir.c:536 sysfs_add_one+0xd4/0x100()
[ 5839.075462] Hardware name: PORTEGE R835
[ 5839.075463] sysfs: cannot create duplicate filename '/devices/platform/reg-dummy/regulator/regulator.0/0000:01:00.0-vmmc'
[ 5839.075464] Modules linked in: sdhci_pci(+) sdhci fuse iwldvm mac80211 iwlwifi coretemp e1000e lpc_ich cfg80211 toshiba_acpi kvm_intel kvm [last unloaded: sdhci]
[ 5839.075476] Pid: 3340, comm: modprobe Tainted: G        W    3.6.7 #2
[ 5839.075478] Call Trace:
[ 5839.075484]  [<ffffffff810357ba>] warn_slowpath_common+0x7a/0xb0
[ 5839.075487]  [<ffffffff81035891>] warn_slowpath_fmt+0x41/0x50
[ 5839.075491]  [<ffffffff812bf0f5>] ? strlcat+0x65/0x90
[ 5839.075494]  [<ffffffff8119acc4>] sysfs_add_one+0xd4/0x100
[ 5839.075498]  [<ffffffff8119b94d>] sysfs_do_create_link+0x11d/0x200
[ 5839.075502]  [<ffffffff81346fb1>] ? create_regulator+0xc1/0x2a0
[ 5839.075505]  [<ffffffff8119ba3e>] sysfs_create_link+0xe/0x10
[ 5839.075508]  [<ffffffff81346fd3>] create_regulator+0xe3/0x2a0
[ 5839.075511]  [<ffffffff8166d9a9>] ? printk+0x48/0x4a
[ 5839.075515]  [<ffffffff81347270>] _regulator_get+0xe0/0x1d0
[ 5839.075518]  [<ffffffff8134737b>] regulator_get+0xb/0x10
[ 5839.075522]  [<ffffffffa0001b75>] sdhci_add_host+0x445/0xd90 [sdhci]
[ 5839.075526]  [<ffffffffa00141e9>] sdhci_pci_probe+0x497/0x6bc [sdhci_pci]
[ 5839.075530]  [<ffffffff812de9e4>] local_pci_probe+0x74/0x100
[ 5839.075533]  [<ffffffff812deb81>] pci_device_probe+0x111/0x120
[ 5839.075537]  [<ffffffff813f1626>] driver_probe_device+0x76/0x240
[ 5839.075540]  [<ffffffff813f188b>] __driver_attach+0x9b/0xa0
[ 5839.075544]  [<ffffffff813f17f0>] ? driver_probe_device+0x240/0x240
[ 5839.075547]  [<ffffffff813ef98d>] bus_for_each_dev+0x4d/0x90
[ 5839.075550]  [<ffffffff813f1149>] driver_attach+0x19/0x20
[ 5839.075553]  [<ffffffff813f0d40>] bus_add_driver+0x190/0x260
[ 5839.075555]  [<ffffffffa0040000>] ? 0xffffffffa003ffff
[ 5839.075557]  [<ffffffffa0040000>] ? 0xffffffffa003ffff
[ 5839.075560]  [<ffffffff813f1ef2>] driver_register+0x72/0x170
[ 5839.075562]  [<ffffffffa0040000>] ? 0xffffffffa003ffff
[ 5839.075565]  [<ffffffff812dd859>] __pci_register_driver+0x59/0xd0
[ 5839.075567]  [<ffffffffa0040000>] ? 0xffffffffa003ffff
[ 5839.075571]  [<ffffffffa004001e>] sdhci_drv_init+0x1e/0x20 [sdhci_pci]
[ 5839.075573]  [<ffffffff8100029a>] do_one_initcall+0x11a/0x160
[ 5839.075577]  [<ffffffff8108dd00>] sys_init_module+0xe70/0x1c50
[ 5839.075580]  [<ffffffff8108a890>] ? free_notes_attrs+0x60/0x60
[ 5839.075584]  [<ffffffff8167f5a2>] system_call_fastpath+0x16/0x1b
[ 5839.075586] ---[ end trace 042e9849db529581 ]---
[ 5839.075589] dummy: could not add device link 0000:01:00.0 err -17
[ 5839.075593] dummy: Failed to create debugfs directory
[ 5839.075713] mmc0: Hardware doesn't report any support voltages.

Hmm... I tried the stock 3.2.29 Slack kernel & whaddyaknow, sd suddenly cards work. Whatever the problem is, it's not with Slackware.

I'm using the (newish) Ricoh e823 pci card reader. SDHC & SDXC cards work fine when i boot into Windows 7, and they also worked with my 13.37ish setup. They'll also work fine with the stock 14.0 kernel.

3.6.x hasn't done anything for me. No SD* card is recognised. The system doesn't see the insertions & ejections, and there's that message about voltages [see my dmesg output above].

There are ubuntu bug reports about this problem from about a year ago. I tried the setpci fixes mentioned on those threads without any luck.

markush 11-28-2012 05:13 AM

Hello barutanseijin,

how did you build the 3.6.7 kernel, did you use the .config from the stock-Slackware kernel or did you modify something?

Markus


All times are GMT -5. The time now is 11:16 PM.