Bug 212335

Summary: Memory stick slot not working (tifm_7xx1)
Product: Drivers Reporter: cpu (cpu64core)
Component: OtherAssignee: drivers_other
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.4.97 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg

Description cpu 2021-03-18 16:50:53 UTC
Created attachment 295925 [details]
dmesg

Hi!
I have a Sony Vaio VGN-UX. It has a Memorystick Pro Duo card reader.

07:04.2 Mass storage controller: Texas Instruments PCIxx12 Flash Media Controller
	Subsystem: Sony Corporation PCIxx12 Flash Media Controller
	Kernel driver in use: tifm_7xx1

It uses the tifm_7xx1 driver. When I insert a memory card into it (I tried many different cards - the result is the same), then the following messages appear in dmesg (I will attach a log, messages from 75.497551 to 91.572712 inclusive). Please note that I do not remove the card from the slot - the driver itself cyclically tries to start it. I also noticed that the stacktrace does not always appear.

I also noticed that if you insert an empty micro memory stick to memory stick adapter, the driver issues these messages:

[   82.687543] tifm_core: MemoryStick card detected in socket 0:0
[   84.007703] tifm0 : demand removing card from socket 0:0

and freezes. After that, it does not react in any way to the memory card slot. Also, after that, it is impossible to turn off or reboot the system - the init correctly terminates all daemons, but then nothing happens.

Any ideas?