Comment 13 for bug 137686

Revision history for this message
Id2ndR (id2ndr) wrote : Re: [gutsy] [regression] (regression from edgy to feisty and to gutsy) tifm_sd module not working and not producing any message in logs

New logs, from daily livecd 20070921.1 :

When Ubuntu finished to start, both tifm_7xx1 and sdhci were loaded. I wondered if there was a conflict between these so I tried to unload and reload these as this (I put dmesg diff juste after):

ubuntu@ubuntu:~$ sudo rmmod tifm_7xx1
Sep 22 13:48:13 ubuntu kernel: [ 665.132000] ACPI: PCI interrupt for device 0000:03:0b.2 disabled

ubuntu@ubuntu:~$ sudo modprobe tifm_7xx1
Sep 22 13:48:26 ubuntu kernel: [ 678.304000] ACPI: PCI Interrupt 0000:03:0b.2[D] -> GSI 23 (level, low) -> IRQ 19

ubuntu@ubuntu:~$ sudo rmmod tifm_7xx1
Sep 22 13:48:44 ubuntu kernel: [ 696.012000] ACPI: PCI interrupt for device 0000:03:0b.2 disabled

ubuntu@ubuntu:~$ sudo rmmod sdhci
Sep 22 13:48:50 ubuntu kernel: [ 702.728000] ACPI: PCI interrupt for device 0000:03:0b.3 disabled
Sep 22 13:48:50 ubuntu NetworkManager: <debug> [1190468930.992381] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/pci_104c_803c_mmc_host').

ubuntu@ubuntu:~$ sudo modprobe tifm_7xx1
Sep 22 13:49:31 ubuntu kernel: [ 743.060000] ACPI: PCI Interrupt 0000:03:0b.2[D] -> GSI 23 (level, low) -> IRQ 19

ubuntu@ubuntu:~$ sudo modprobe sdhci
Sep 22 13:49:57 ubuntu NetworkManager: <debug> [1190468997.798440] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/pci_104c_803c_mmc_host').
Sep 22 13:49:58 ubuntu kernel: [ 769.528000] sdhci: Secure Digital Host Controller Interface driver
Sep 22 13:49:58 ubuntu kernel: [ 769.528000] sdhci: Copyright(c) Pierre Ossman
Sep 22 13:49:58 ubuntu kernel: [ 769.528000] sdhci: SDHCI controller found at 0000:03:0b.3 [104c:803c] (rev 0)
Sep 22 13:49:58 ubuntu kernel: [ 769.528000] ACPI: PCI Interrupt 0000:03:0b.3[D] -> GSI 23 (level, low) -> IRQ 19
Sep 22 13:49:58 ubuntu kernel: [ 769.532000] mmc0: SDHCI at 0xffa06800 irq 19 DMA

ubuntu@ubuntu:~$ sudo rmmod sdhci
Sep 22 13:50:35 ubuntu NetworkManager: <debug> [1190469035.579376] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/pci_104c_803c_mmc_host').
Sep 22 13:50:36 ubuntu kernel: [ 807.316000] ACPI: PCI interrupt for device 0000:03:0b.3 disabled

ubuntu@ubuntu:~$ sudo rmmod tifm_7xx1
Sep 22 13:50:38 ubuntu kernel: [ 810.364000] ACPI: PCI interrupt for device 0000:03:0b.2 disabled

ubuntu@ubuntu:~$ sudo modprobe sdhci
Sep 22 13:50:40 ubuntu kernel: [ 812.372000] sdhci: Secure Digital Host Controller Interface driver
Sep 22 13:50:40 ubuntu kernel: [ 812.372000] sdhci: Copyright(c) Pierre Ossman
Sep 22 13:50:40 ubuntu kernel: [ 812.380000] sdhci: SDHCI controller found at 0000:03:0b.3 [104c:803c] (rev 0)
Sep 22 13:50:40 ubuntu kernel: [ 812.380000] ACPI: PCI Interrupt 0000:03:0b.3[D] -> GSI 23 (level, low) -> IRQ 19
Sep 22 13:50:40 ubuntu kernel: [ 812.388000] mmc0: SDHCI at 0xffa06800 irq 19 DMA
Sep 22 13:50:40 ubuntu NetworkManager: <debug> [1190469040.651918] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/pci_104c_803c_mmc_host').

ubuntu@ubuntu:~$ modinfo tifm_7xx1
filename: /lib/modules/2.6.22-12-generic/kernel/drivers/misc/tifm_7xx1.ko
version: 0.8
license: GPL
description: TI FlashMedia host driver
author: Alex Dubov
srcversion: BAF5B1E0DECC41E28D03554
alias: pci:v0000104Cd0000AC8Fsv*sd*bc*sc*i*
alias: pci:v0000104Cd0000803Bsv*sd*bc*sc*i*
alias: pci:v0000104Cd00008033sv*sd*bc*sc*i*
depends: tifm_core
vermagic: 2.6.22-12-generic SMP mod_unload 586
ubuntu@ubuntu:~$ modinfo sdhci
filename: /lib/modules/2.6.22-12-generic/kernel/drivers/mmc/host/sdhci.ko
license: GPL
description: Secure Digital Host Controller Interface driver
author: Pierre Ossman <email address hidden>
srcversion: 38A84BAB8CB69769289F0B7
alias: pci:v*d*sv*sd*bc08sc05i*
alias: pci:v00001524d00000751sv*sd*bc*sc*i*
alias: pci:v00001524d00000750sv*sd*bc*sc*i*
alias: pci:v00001524d00000551sv*sd*bc*sc*i*
alias: pci:v00001524d00000550sv*sd*bc*sc*i*
alias: pci:v0000104Cd00008034sv*sd*bc*sc*i*
alias: pci:v00001180d00000822sv*sd*bc*sc*i*
alias: pci:v00001180d00000822sv00001014sd*bc*sc*i*
depends: mmc_core
vermagic: 2.6.22-12-generic SMP mod_unload 586
parm: debug_nodma:Forcefully disable DMA transfers. (default 0) (uint)
parm: debug_forcedma:Forcefully enable DMA transfers. (default 0) (uint)
parm: debug_quirks:Force certain quirks. (uint)

At nearly each modprobe, I looked at a new /dev/mm* block, but there wasn't any. (An sd card was present)

I still don't understand well what module should create the block in /dev. Maybe we need to see how it works for those who may have it working.