Sony Laptop Memory Stick Reader doesn't work

Bug #48987 reported by Alperen Yusuf Aybar
56
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Eric Miao
linux-source-2.6.22 (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

I have a Sony VAIO VGN-B1VP Laptop and its onboard Memory Stick Reader is not working in Ubuntu.

Revision history for this message
William Grant (wgrant) wrote :

Can you please attach the output of `lspci -vv'?

Revision history for this message
Alperen Yusuf Aybar (alperen) wrote :
Download full text (11.1 KiB)

of course, here is the output :
*****************************************
0000:00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
        Subsystem: Sony Corporation: Unknown device 8191
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
        Latency: 0
        Region 0: Memory at <unassigned> (32-bit, prefetchable)
        Capabilities: <available only to root>

0000:00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Proc essor to I/O Controller (rev 02)
        Subsystem: Sony Corporation: Unknown device 8191
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0

0000:00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Proc essor to I/O Controller (rev 02)
        Subsystem: Sony Corporation: Unknown device 8191
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0

0000:00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02) (prog-if 00 [VGA])
        Subsystem: Sony Corporation: Unknown device 8192
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin A routed to IRQ 9
        Region 0: Memory at e8000000 (32-bit, prefetchable) [size=128M]
        Region 1: Memory at e0000000 (32-bit, non-prefetchable) [size=512K]
        Region 2: I/O ports at 1800 [size=8]
        Capabilities: <available only to root>

0000:00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphi cs Device (rev 02)
        Subsystem: Sony Corporation: Unknown device 8192
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
        Region 1: Memory at e0080000 (32-bit, non-prefetchable) [size=512K]
        Capabilities: <available only to root>

0000:00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4 -M) USB UHCI Controller #1 (rev 03) (prog-if 00 [UHCI])
        Subsystem: Sony Corporation: Unknown device 8188
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort - <MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin A routed to IRQ 9
        Region 4: I/O ports at 1820 [size=32]

0000:00:1d.1 USB Controller: ...

description: updated
Revision history for this message
Tommaso R. Donnarumma (tawmas) wrote :

I was going to report a similar bug, but I found that the latest kernel update (2.6.20-15) fixed the problem on my Sony Vaio GRT916Z (the internal memory stick reader is Sony model MSC-U04). Could you please verify if it's working for you too?

Revision history for this message
Jim Kirkpatrick (jim-kirkpatrick) wrote :

I too have a Sony Vaio with a memory stick problem...

It's a Vaio a397xp and on Edgy I never got it to work, but now under Feisty the MemoryStick access light is on all the time. Inserting a stick does nothing, and "sudo fdisk -l" shows nothing new.

uname -a:
   Linux Wideboy 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux

(lspci -vv is attached)

Any further information needed?

Revision history for this message
Joseph Reeves (iknowjoseph) wrote :

My Memory stick problem is identical to blueglow's:

uname -a:

Linux joseph-laptop 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux

(lspci -vv is attached)

Revision history for this message
lalaland (lalaland-deactivatedaccount) wrote :

Same problem with Sony VAIO FS115.

Output of "uname -a":
Linux schleppi 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux

lspci -vvnn attached (hope this is good enough)

Revision history for this message
Matt Fletcher (mattfletcher) wrote :

Also with Sony VAIO VGN-FS315E:

uname -a gives:

Linux matts-laptop 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux

lspci -vv attached

Revision history for this message
Richard (lawyerchu-gmail) wrote :

I can't use memory stick on my Toshiba L40 laptop too.

uname -r

2.6.20-16-generic

Revision history for this message
unggnu (unggnu) wrote :

Same problem here with Sony Vaio VGN-TX2XP. SD card reader works fine since Feisty but Memory Stick still doesn't in Gutsy.

Revision history for this message
Jim Kirkpatrick (jim-kirkpatrick) wrote :

Also confirmed in Gutsy (upgraded from Feisty) on a397xp; light permanently on, reader not working

Original post: https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/48987/comments/4

Revision history for this message
Jim Kirkpatrick (jim-kirkpatrick) wrote :

Slightly changed behaviour under Hardy (upgraded from Gutsy):
-- light permanently on as before
-- now when I insert a memory stick, the hdd loads something and an event is written to syslog and kern.log: "Apr 28 16:29:33 wideboy kernel: [ 2886.482126] tifm_core: MemoryStick card detected in socket 0:1"
-- not much else happens

But nothing else seems to happen, "sudo fdisk -l" still shows no changes and I can't see the memory stick anywhere else. Where else should I look, and what else could I post here to help?

Original post: https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/48987/comments/4
Updated post: https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/48987/comments/10

uname -r => "2.6.24-16-generic"

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi blueglow,

On Hardy, can you attach your entire dmesg output. It would be good to capture it after you've inserted a memory stick.

I'm also reassigning this report to the "linux" source package since beginning with Hardy kernel bugs should be reported agains the "linux" package instead of linux-source-2.6.xx. Sorry for any confusion. Thanks.

Changed in linux-source-2.6.24:
status: New → Incomplete
Revision history for this message
Jim Kirkpatrick (jim-kirkpatrick) wrote :

Leann, thanks for looking into this and updating this bug's details.

dmesg log (after memory stick insert) attached as requested. Let me know if you need anything else.

Thanks again.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Just adding a note that I've reassigned this to the kernel team. We'll keep this open against the actively developed kernel bug against 2.6.22 this will be closed as this does not qualify for a Stable Release Update - https://wiki.ubuntu.com/StableReleaseUpdates . Thanks.

Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: Incomplete → Triaged
Changed in linux-source-2.6.22:
status: Confirmed → Won't Fix
Revision history for this message
Vi (fght) wrote :

 I found this:

svn co -r155 http://svn.berlios.de/svnroot/repos/tifmxx/trunk/driver/
cd driver/
wget http://www.tu-chemnitz.de/~sweh/tifm_ms.patch
patch -p0 < tifm_ms.patch
make
sudo make install

It's from here - http://forum.ubuntu.ru/index.php?topic=13059.msg152572

On my Sony VAIO VGN-N350E with Hardy Heron, Memory Stick started to work.

Revision history for this message
Jim Kirkpatrick (jim-kirkpatrick) wrote :

Hi Vi, thank you for your post.

I did what you said above and rebooted. Some things are better - new behaviour as follows:
-- light permanently on as before.
-- on insertion of a memory stick, the new log entries posted below are added.
-- not much else happens.

Where should I be looking/what commands should I run to find the inserted memory stick?

Oh yes, I'm running proposed updates now so uname -a = "Linux wideboy 2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008 i686 GNU/Linux"

Thanks

Log entries on insert/removal of mem stick...

* kern.log has new lines:
Jul 2 00:20:54 wideboy kernel: [ 699.568847] tifm_core: MemoryStick card detected in socket 0:1
Jul 2 00:20:54 wideboy kernel: [ 699.569496] tifm_ms tifm_ms0:1: memstick_check started
Jul 2 00:20:54 wideboy kernel: [ 699.569513] tifm_ms tifm_ms0:1: executing TPC 8004, 6c17
Jul 2 00:20:54 wideboy kernel: [ 699.569525] tifm_ms tifm_ms0:1: data event: fifo_status 8, host_status 4020, flags 0
Jul 2 00:20:54 wideboy kernel: [ 699.569531] tifm_ms tifm_ms0:1: fifo data transfer, 4, 0
Jul 2 00:20:54 wideboy kernel: [ 699.569540] tifm_ms tifm_ms0:1: fifo data transfer, 0 remaining
Jul 2 00:20:54 wideboy kernel: [ 699.569555] tifm_ms tifm_ms0:1: host event: host_status 1020, flags 2
Jul 2 00:20:54 wideboy kernel: [ 699.569565] tifm_ms tifm_ms0:1: TPC complete
Jul 2 00:20:54 wideboy kernel: [ 699.569837] tifm_ms tifm_ms0:1: executing TPC 4004, 6c17
Jul 2 00:20:54 wideboy kernel: [ 699.569848] tifm_ms tifm_ms0:1: data event: fifo_status 8, host_status 5000, flags 0
Jul 2 00:20:54 wideboy kernel: [ 699.569854] tifm_ms tifm_ms0:1: fifo data transfer, 4, 0
Jul 2 00:20:54 wideboy kernel: [ 699.569863] tifm_ms tifm_ms0:1: fifo data transfer, 0 remaining
Jul 2 00:20:54 wideboy kernel: [ 699.569870] tifm_ms tifm_ms0:1: host event: host_status 1020, flags 2
Jul 2 00:20:54 wideboy kernel: [ 699.569880] tifm_ms tifm_ms0:1: TPC complete
Jul 2 00:20:54 wideboy kernel: [ 699.569884] memstick memstick0: if_mode = ff
Jul 2 00:20:54 wideboy kernel: [ 699.569890] tifm_ms tifm_ms0:1: new card ff, ff, ff
Jul 2 00:20:54 wideboy kernel: [ 699.569933] tifm_ms tifm_ms0:1: memstick_check finished
... then I removed it ...
Jul 2 00:24:33 wideboy kernel: [ 739.513369] tifm0 : demand removing card from socket 0:1

* daemon.log has:
Jul 2 00:20:54 wideboy NetworkManager: <debug> [1214954454.296737] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/pci_104c_ac8f_memstick_host').
Jul 2 00:20:54 wideboy NetworkManager: <debug> [1214954454.456382] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/pci_104c_ac8f_memstick_card').
... then I removed it ...
Jul 2 00:24:33 wideboy NetworkManager: <debug> [1214954673.602196] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/pci_104c_ac8f_memstick_card').
Jul 2 00:24:33 wideboy NetworkManager: <debug> [1214954673.607701] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/pci_104c_ac8f_memstick_host').

Revision history for this message
Vi (fght) wrote :

  Well, in my case I just run that code in command shell. It beginning to work immediately after installation even without reboot. My newly installed system just asked me to install svn first. Light indicator didn't give any sights of life and MemStick mounting automatically after inserting. So, it works fine.
  I'm sorry I'm not a really programmer and just been looked to resolve the problem. And many thanks for that guys who wrote this update!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Jim Kirkpatrick (jim-kirkpatrick) wrote :

Leann, I'm now running a fresh install of Intrepid alpha 6 (2.6.27-4-generic) and things are largely the same, so:

-- MS reader light permanently on as before.
-- on insertion of a memory stick, the new following single log entry is posted:
      tifm_core: MemoryStick card detected in socket 0:1
-- not much else happens, nothing is mounted, nothing appears that I can see.

(Aside: I've noticed the old memory stick I have runs very slowly in my phone so perhaps it's dying. Might be fine, dunno. I'll try to source a fresh one to test with and post if the results are different.)

Revision history for this message
Bill Coutinho (bill-coutinho) wrote :

Memory Stick worked fine on my Vaio VGN-N230N running 7.10.
But after the upgrade from 7.10 to 8.04, the memory stick isn't working anymore.

Snippets from /var/log/syslog

- Before the upgrade:

Oct 5 10:45:55 bc03 kernel: [94043.076000] tifm_core: MemoryStick card detected in socket 0:0
Oct 5 10:45:55 bc03 NetworkManager: <debug> [1223214355.700881] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/pci_104c_803b_memstick_host').
Oct 5 10:45:55 bc03 kernel: [94043.396000] mspblk0: p1
Oct 5 10:45:55 bc03 NetworkManager: <debug> [1223214355.948584] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/pci_104c_803b_memstick_card').
Oct 5 10:45:56 bc03 NetworkManager: <debug> [1223214356.104164] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/pci_104c_803b_memstick_card_storage').
Oct 5 10:45:56 bc03 NetworkManager: <debug> [1223214356.177164] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/volume_uuid_48DE_C7B6').
Oct 5 10:45:56 bc03 hald: mounted /dev/mspblk0p1 on behalf of uid 1000
Oct 5 10:47:51 bc03 hald: unmounted /dev/mspblk0p1 from '/media/PHONE CARD' on behalf of uid 1000
Oct 5 10:47:53 bc03 kernel: [94161.272000] tifm0 : demand removing card from socket 0:0
Oct 5 10:47:53 bc03 NetworkManager: <debug> [1223214473.820679] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/volume_uuid_48DE_C7B6').
Oct 5 10:47:53 bc03 NetworkManager: <debug> [1223214473.825748] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/pci_104c_803b_memstick_card').
Oct 5 10:47:53 bc03 NetworkManager: <debug> [1223214473.829226] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/pci_104c_803b_memstick_host').
Oct 5 10:47:53 bc03 NetworkManager: <debug> [1223214473.832887] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/pci_104c_803b_memstick_card_storage').

- After the upgrade:

Oct 9 01:45:38 bc03 kernel: [14146.875513] tifm_core: MemoryStick card detected in socket 0:0
Oct 9 01:45:38 bc03 kernel: [14146.945840] tifm0 : demand removing card from socket 0:0

As you can see, nothing happens when I insert it in its slot.

uname -a
Linux bc03 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 GNU/Linux

Is there something I can do about this problem? I've always used this card to transfer photos from my camera to the computer. I'm very disapointed with the quality of this version of Ubuntu. Besides this bug, there are several other problems, some major ones.

Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
Aidan Fitzpatrick (afit) wrote :

Surely this is a duplicate of #222557?

Revision history for this message
Alwin Garside (yogarine) wrote :

Using Jaunty beta on a Sony VAIO VGN-NR230AE, and Memory Stick still doesn't work out of the box. Output of lspci -vv is attached.

$ uname -a
Linux vaio 2.6.28-11-generic #41-Ubuntu SMP Wed Apr 8 04:38:53 UTC 2009 i686 GNU/Linux

Revision history for this message
Alwin Garside (yogarine) wrote :
Revision history for this message
Eric Miao (eric.y.miao) wrote :

Both memory stick and tifm have been enabled as modules by the following commit, and is supposed to fix this problem. Please try latest mainline build and report the status. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds.

http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-karmic.git;a=commit;h=878e32db158b972b443c5cd8370b2d52068bcaaf

Changed in linux (Ubuntu):
assignee: nobody → Eric Miao (eric.y.miao)
milestone: none → karmic-alpha-6
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.