tifm: Texas Instruments Card reader not reading SD cards
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-source-2.6.17 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
linux-source-2.6.20 (Ubuntu) |
Fix Released
|
High
|
beewolf | ||
linux-source-2.6.22 (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
udev (Ubuntu) |
Fix Released
|
Medium
|
R. Pereira Braga | ||
Bug Description
Updated June 27th for Gutsy.
Updated January 3rd for Gutsy - 2.6.22-14-generic
Please let me know direct if anything is wrong or confusing. Duncan
= Ubuntu 7.04 specific =
Here is a run through of the status on my machine, an HP dv8000 series laptop (dv8220ea) running Ubuntu 7.04 (Feisty Fawn) with kernel 2.6.20-14-generic. My laptop testing page is at: https:/
Feisty: /var/log/messages I can see some kind of circular issue happening. I've attached an excerpt of the file which fills 1962 lines in 47/100ths of a second (20:31:59 - 20:32:06). For example the first section touched is 1000384, and it gets touched 9 times in that short time. The log starts out looking promising but then just repeats a series of the I/O errors:
Apr 13 20:31:59 ubuntu kernel: [ 3544.084000] tifm_7xx1: sd card detected in socket 1
Apr 13 20:31:59 ubuntu kernel: [ 3544.480000] mmcblk0: mmc1:470a SD512 500224KiB
Apr 13 20:31:59 ubuntu kernel: [ 3544.480000] mmcblk0: p1
Apr 13 20:32:00 ubuntu kernel: [ 3545.540000] end_request: I/O error, dev mmcblk0, sector 1000384
Apr 13 20:32:00 ubuntu kernel: [ 3545.540000] printk: 317 messages suppressed.
Apr 13 20:32:00 ubuntu kernel: [ 3545.540000] end_request: I/O error, dev mmcblk0, sector 1000384
etc... see attached file 'messages.txt'
Running '$ mount' while the card is in shows no sign of the the card being seen.
Force starting the tifm_7xx1, tifm_core and tifm_sd modules makes no difference to the output of /var/log/messages.
= Ubuntu 7.10, updated Jan 2008 =
I went to the Debian GNU/Linux device driver check page at http://
PCI ID Working? Vendor Device
104c8039 Yes Texas Instruments PCIxx12 Cardbus Controller yenta_socket [add: v2.6.23]
104c803a - Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
104c803b [add: Yes] Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD) [add: tifm_7xx1 v2.6.23]
104c803c - Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller
[add entry:
80861092 Yes Intel Corporation PRO/1000 PT Server Adapter e100 v2.6.23 ]
So my card should be recognised. Sure enough in 'System > Preferences > Hardware Information' I have an entry as follows:
- 82801 Mobile PCI Bridge
- - PCIxx12 Cardbus Controller
- - PCIxx12 OHCI Compliant IEEE 1394 Host Controller
- - 5-in-1 Multimedia Card Reader (SD/MMC/MS/ PRO/xD)
- - PCIxx12 SDA Standard Compliant SD Host Controller
- - - MMC/SD Host Adapter
If anyone wants info from the device manager just let me know. It's a bit tedious to copy over from the Device Manager
(updated Jan 2008 for Gutsy) duncan@ubuntu:~$ lspci -n
00:00.0 0600: 8086:27a0 (rev 03)
00:01.0 0604: 8086:27a1 (rev 03)
00:1b.0 0403: 8086:27d8 (rev 01)
00:1c.0 0604: 8086:27d0 (rev 01)
00:1c.1 0604: 8086:27d2 (rev 01)
00:1c.2 0604: 8086:27d4 (rev 01)
00:1d.0 0c03: 8086:27c8 (rev 01)
00:1d.1 0c03: 8086:27c9 (rev 01)
00:1d.2 0c03: 8086:27ca (rev 01)
00:1d.3 0c03: 8086:27cb (rev 01)
00:1d.7 0c03: 8086:27cc (rev 01)
00:1e.0 0604: 8086:2448 (rev e1)
00:1f.0 0601: 8086:27b9 (rev 01)
00:1f.2 0101: 8086:27c4 (rev 01)
00:1f.3 0c05: 8086:27da (rev 01)
01:00.0 0300: 10de:01d8 (rev a1)
06:00.0 0280: 8086:4222 (rev 02)
08:06.0 0607: 104c:8039
08:06.1 0c00: 104c:803a
08:06.2 0180: 104c:803b
08:06.3 0805: 104c:803c
08:08.0 0200: 8086:1092 (rev 01)
/var/log/messages I get the changes listed below if I insert an SD card, browse the files, unmount, and remove the card.
Jan 3 15:26:37 ubuntu kernel: [11848.820000] tifm_core: SmartMedia/xD card detected in socket 0:0
Jan 3 15:26:37 ubuntu kernel: [11849.140000] tifm0 : demand removing card from socket 0:0
Jan 3 15:26:37 ubuntu kernel: [11849.296000] tifm_core: MMC/SD card detected in socket 0:1
Jan 3 15:26:37 ubuntu kernel: [11849.716000] mmcblk0: mmc1:470a SD512 500224KiB
Jan 3 15:26:37 ubuntu kernel: [11849.716000] mmcblk0: p1
Jan 3 15:27:06 ubuntu kernel: [11878.116000] tifm0 : demand removing card from socket 0:1
running '$ mount' while the card is in produces:
June '07:
/dev/mmcblk0p1 on /media/disk type vfat (rw,nosuid,
Jan '08:
/dev/mmcblk0p1 on /media/disk type vfat (ro,nosuid,
= Some comments =
Tarek Loubani on 2007-01-12 mentions adding the modules to /etc/default/
Scott James Remnant said on 2007-03-30: udev problems fixed
William Hood said on 2007-04-01: affects Averatec 2370 Laptop
Mendez said on 2007-04-01: affects: HP NX9420 laptop
robrichard said on 2007-04-06: affects: HP Compaq nw8240 laptop
Ramesh Thiruchelvam said on 2007-04-07: Compaq NX 6120 Note Book
Th3n3k said on 2007-04-11:: affects: HP pavilion ZT3115E
description: | updated |
description: | updated |
description: | updated |
Changed in linux-source-2.6.17: | |
status: | Confirmed → Unconfirmed |
description: | updated |
Changed in linux-source-2.6.17: | |
assignee: | nobody → rpereira |
Changed in linux-source-2.6.17: | |
importance: | Undecided → Medium |
status: | Unconfirmed → Confirmed |
Changed in linux-source-2.6.20: | |
importance: | Undecided → Medium |
status: | Unconfirmed → Confirmed |
Changed in linux-source-2.6.20: | |
assignee: | nobody → ubuntu-kernel-team |
description: | updated |
Changed in linux-source-2.6.20: | |
assignee: | ubuntu-kernel-team → phillip-lougher |
importance: | Medium → High |
status: | Confirmed → In Progress |
Changed in linux-source-2.6.22: | |
status: | Unconfirmed → Rejected |
Changed in linux-source-2.6.22: | |
assignee: | nobody → ubuntu-kernel-team |
importance: | Undecided → High |
description: | updated |
Changed in linux-source-2.6.20 (Ubuntu): | |
assignee: | nobody → beewolf (beewolf) |
Some more output:
duncan@ duncan- laptop: ~$ lspci
...
0000:08:06.0 CardBus bridge: Texas Instruments: Unknown device 8039
0000:08:06.1 FireWire (IEEE 1394): Texas Instruments: Unknown device 803a <--- works
0000:08:06.2 Mass storage controller: Texas Instruments: Unknown device 803b
0000:08:06.3 0805: Texas Instruments: Unknown device 803c
...
duncan@ duncan- laptop: ~$ cat /sys/bus/ pnp/devices/ */id duncan- laptop: ~$
PNP0c02
PNP0200
INT0800
PNP0103
PNP0c01
PNP0c04
PNP0c02
PNP0303
SYN011e
SYN0100
SYN0002
PNP0f13
PNP0b00
duncan@
anything useful there?