Msi u270 Ubuntu 12.04 USB not recognizing storage devices

Bug #992023 reported by Michiel Tieleman on 2012-04-30
72
This bug affects 13 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Medium
Unassigned

Bug Description

Like this bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/886845

I have problems with my USB devices(not mouse or wacom tablet, just storage of any kind, including the cardreader) not being detected, or only being detected for a veryshort amount of time. I can't use my SD cards for photos or my external disc drives.
I love the new ubuntu 12.04, how it looks, feels and handles, but I re;y on external data drives (USB: phone, HDD, Camera) for quite a lot of things. In the other thread/bugreport it is mentioned that it is a kernel issue, and that the user should try upgrading from 3.0 to 3.1. I'm using stock ubuntu 12.04 with kernel (headers) 3.2... Will installing a new kernel fix this? such as found here:
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.3-precise/

WORKAROUND: /lib/modules/%your kernel version%/kernel/drivers/staging/rts5139/

I remove the rts5139.ko file. I lose cardreader functionality, but the usb works again.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-24-generic 3.2.0-24.37
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: fglrx
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 1: SB [HDA ATI SB], device 0: ALC269VB Analog [ALC269VB Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: lowlander 1896 F.... pulseaudio
 /dev/snd/controlC0: lowlander 1896 F.... pulseaudio
CRDA:
 country EC:
  (2402 - 2482 @ 40), (N/A, 20)
  (5170 - 5250 @ 20), (3, 17)
  (5250 - 5330 @ 20), (3, 23), DFS
  (5735 - 5835 @ 20), (3, 30)
Card0.Amixer.info:
 Card hw:0 'Generic'/'HD-Audio Generic at 0xfeb44000 irq 44'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100200'
   Controls : 6
   Simple ctrls : 1
Card0.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Card1.Amixer.info:
 Card hw:1 'SB'/'HDA ATI SB at 0xfeb40000 irq 16'
   Mixer name : 'Realtek ALC269VB'
   Components : 'HDA:10ec0269,14621096,00100100'
   Controls : 20
   Simple ctrls : 11
Date: Mon Apr 30 17:33:39 2012
EcryptfsInUse: Yes
GvfsMonitorLog: Monitoring events. Press Ctrl+C to quit.
HibernationDevice: RESUME=UUID=34dbd512-b92f-405a-b2b0-e1282ca75b08
HotplugNewDevices:

HotplugNewMounts:

InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MachineType: Micro-Star International MS-1245
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-24-generic root=UUID=fc2cda54-40ab-4f40-a59b-4fa88a706138 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-24-generic N/A
 linux-backports-modules-3.2.0-24-generic N/A
 linux-firmware 1.79
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
StagingDrivers: rts5139
Symptom: storage
UdevMonitorLog:
 monitor will print the received events for:
 UDEV - the event which udev sends out after rule processing
UdisksMonitorLog: Monitoring activity from the disks daemon. Press Ctrl+C to cancel.
UpgradeStatus: No upgrade log present (probably fresh install)
WifiSyslog:

dmi.bios.date: 02/23/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: E1245AMS.10F
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: MS-1245
dmi.board.vendor: MSI
dmi.board.version: Ver 1.000
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 10
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrE1245AMS.10F:bd02/23/2011:svnMicro-StarInternational:pnMS-1245:pvrE1245AMS.10F:rvnMSI:rnMS-1245:rvrVer1.000:cvnToBeFilledByO.E.M.:ct10:cvrToBeFilledByO.E.M.:
dmi.product.name: MS-1245
dmi.product.version: E1245AMS.10F
dmi.sys.vendor: Micro-Star International

Michiel Tieleman (tieleman-m) wrote :
affects: ubuntu → linux (Ubuntu)
Brad Figg (brad-figg) on 2012-04-30
Changed in linux (Ubuntu):
status: New → Confirmed
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.4kernel[1] (Not a kernel in the daily directory). Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag(Only that one tag, please leave the other tags). This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4-rc4-precise/

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: needs-upstream-testing
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-bug-exists-upstream
removed: needs-upstream-testing staging
Michiel Tieleman (tieleman-m) wrote :

I've done as you asked, I downloaded the image and header .deb amd64 files for the v3.4-rc4-precise kernel, and the "all" header .deb file.
I installed them all with Ubuntu software center. Upon restarting my netbook. If I check system information it tells me that it is using the new 3.4 kernel. Aside from this I noticed something was different because my unity launcher/icons were back to their original large forms. So I went to system settings>appearance to scale them down again, but the option is no longer there...
This is a minor annoyance, the main annoyance is that the bug is simply not fixed. I still can't use any of my external HDDs, memory cards etc.
The bug also exists in the mainline kernel :(
Not to sound ungrateful (because I'm NOT!) but I really hope this gets fixed soon. I'm leaving next week for another year or so (travel and work) and I'd like a working Ubuntu on my netbook by then. I rather not go back to 11.04, as that was the first and last one that worked so far on this netbook :(

Dngrsone (dngrsone) wrote :

I can confirm-- running Ubuntu 12.04-desktop-amd64 (installed as beta2) on an HP G72 laptop. Wireless mouse works fine, but inserting a USB drive into the slot sometimes causes nothing to happen-- drive indicators don't light, and the OS doesn't see it.

If I reboot the machine, everything works fine.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Ricardo Graça (devius) wrote :

This affects me and I'm not using a MSI u270, but a Mac Mini with Ubuntu running as guest on Virtualbox.

Michiel Beers (michiel-beers) wrote :

I can confirm this problem too...
12.04 32bit on AMD Athlon II X2 240e Processor × 2

Yeyo Peña (yeyoenlared) wrote :

I have also a laptop MSI u270 with ubuntu 12.04 i386 and I have exactly the same problem.

It is weird because I have an external HD disc (WD 750gb usb3.0 caviar blue) and no problem with it. However I can not run usb flash memories. Sometimes the led of usb sticks frezzes on, while other times the led doesn't light.

I already had problems before with ubuntu 11.04 to run SD cards. So I don't miss that, however usb sticks are very usefull, almost essential.

Frost73 (frost1973) wrote :

I can confirm.
12.04 on Intel® Core™2 Duo CPU E7300 @ 2.66GHz × 2

maxim (off220) wrote :

whenever I boot the pc with usb flash drive plugged in, the system doesn't see it. If I unplug it and then plug in again it works ok. Ubuntu 12.04, gnome-shell, intell i3, i915 intel video.

Daniel Walton (daniel-walton) wrote :

also Confirm with MSI u270.

Have been able to get USB storage working with a debian 3.1.0 kernel. (but no wifi)

I have MSI U270. Card reader uses Realtek chip some like RTS5139.
Kernel driver for the chip causes USB kernel's stack to collapse.
I'm not able to fix it. I think this issue should be fixed by Realtek.
The problem have been really serious, since the driver is included in stable branch
of kernel 3.2.x (I haven't tested with 3.0) - I can't boot live CD of
distro.s based on ubuntu 12.04.
If you want to use kernel 3, you may simple remove
the file "rts5139.ko" from the kernel. After then USB works but card reader.
I don't know how to send this msg to kernel team :(

Michiel Tieleman (tieleman-m) wrote :

Thank you for replying. So as I understand it, in order to get at least usb working (without the cardreader) I can install stock ubuntu 12.04 and blacklist the "rts5139.ko" file? in here: /etc/modprobe.d/blacklist.conf

If that's not what you mean then how does one remove a file from the kernel? Is it just another file somewhere to delete? Sorry if this should be obvious, I'm not that versed in linux yet. To me a computer is more a tool than a toy.

@tieleman-m:
You should permanently delete the file "rts5139.ko" after first reboot after the kernel installation.
Path to the driver is:
/lib/modules/%your kernel version%/kernel/drivers/staging/rts5139/
ie. for my computer the path is:
/lib/modules/3.2.0-24-generic/kernel/drivers/staging/rts5139/
you may even remove whole folder
sudo rm -r $path
after reboot all USB devices should work /except damned card reader/
I found some improvement to realtek driver in kernel 3.5.0.
I tested that solution and it's still failed. This time it destroyed my pendrive.
I'm afraid that the problem's gonna keep company with us for long long time :(

Rajabi (rajabi048) wrote :

I have MSI u270 Too.
I have this problem.
i reported this problem but no fixed on ubuntu 11.10
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/886845

I installed fedora 16 with kernel 3.2.0 , It works , and i dont have problem so I thing this bug from ubuntu kernel config .

i install ubuntu 12.04 now , so i am not happy.

please solve and fix this problem as soon as possible .

i have question if i remove /lib/modules/3.2.0-24-generic/kernel/drivers/staging/rts5139/ ubuntu works fine ?
 and security or performance and ...
so Is this solution not dangerous?

HAF (t4spam) wrote :

Salut l'ami, j'ai lu ton poste qui m'a mis sur la bonne route et j'ai résolu ce problème. J'ai aussi un u270 et pourtant je suis débutant.

J'ai fait ça:

wget http://dl.dropbox.com/u/161399/ubuntu-asus-g73sw/rts5139.tar.bz2
tar xvf rts5139.tar.bz2
cd rts5139
make
sudo make install
sudo depmod

Et l'usb et le lecteur de carte fonctionne. C'est à la base fait pour un asus g73:
http://doc.ubuntu-fr.org/asus_x53sv-sx111v

Jürgen Sauer (juergen-sauer) wrote :

@HAF (t4spam) : english please

Amin Vali (aminvali) wrote :

I still have the same issue on my Dell Vostro 1400 laptop. By accident I found out that running "Startup disk creator" triggers something and USB drive and CD/DVD get recognized. But this trigger has to be called every time you insert a new USB drive.

Hope to get an update that solves this. It is very annoying !

tags: added: kernel-bug-exists-upstream-v3.4-rc4-precise
removed: kernel-bug-exists-upstream

Michiel Tieleman, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please comment on if this problem is reproducible on prior Ubuntu releases?

As well, could you please test for this with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Please let us know your results. Thank you for your understanding.

Helpful Bug Reporting Links:
https://help.ubuntu.com/community/ReportingBugs#Bug_Reporting_Etiquette
https://help.ubuntu.com/community/ReportingBugs#A3._Make_sure_the_bug_hasn.27t_already_been_reported
https://help.ubuntu.com/community/ReportingBugs#Adding_Apport_Debug_Information_to_an_Existing_Launchpad_Bug
https://help.ubuntu.com/community/ReportingBugs#Adding_Additional_Attachments_to_an_Existing_Launchpad_Bug

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-bug-exists-upstream
Michiel Tieleman (tieleman-m) wrote :

Unfortunately, this bug still exists. I am currently using the hack mentioned earlier in this thread:

Path to the driver is:
/lib/modules/%your kernel version%/kernel/drivers/staging/rts5139/

I remove the rts5139.ko file. I lose cardreader functionality, but the usb works again. I did not try recompiling from the french link.
That might fix the bug, but alas, I haven't tried. I'm currently on the road and can't afford to have a broken system in case of a breakage.

description: updated
Leon Marcus (treesurf) wrote :

Same issue on a Lenovo Ideapad Y550 with all the standard integrated Intel stuff. Would be great to have this fixed, usage of usb-storage should be a priority.

Leon Marcus (treesurf) wrote :

I have also found that opening Startup Disk Creator causes usb drives to be detected and automounted.

Leon Marcus, could you please file a new report by executing the following in a terminal:
ubuntu-bug linux

For more on this, please see the Ubuntu Bug Control and Ubuntu Bug Squad article:
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue

and Ubuntu Community article:
https://help.ubuntu.com/community/ReportingBugs#Bug_Reporting_Etiquette

When opening up the new report, please feel free to subscribe me to it. Thank you for your understanding.

Helpful Bug Reporting Links:
https://help.ubuntu.com/community/ReportingBugs#A3._Make_sure_the_bug_hasn.27t_already_been_reported
https://help.ubuntu.com/community/ReportingBugs#Adding_Apport_Debug_Information_to_an_Existing_Launchpad_Bug
https://help.ubuntu.com/community/ReportingBugs#Adding_Additional_Attachments_to_an_Existing_Launchpad_Bug

Leon Marcus (treesurf) wrote :

Thanks Christopher, new bug filed here:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1051346

Bryan Mitchell (bryan-aberdar) wrote :

I also am using 12.04, kernel 3.2.0-30 generic-pae, and I have just one usb connection that is not detected. That is my Epson-Perfection scanner. I tried deleting the file rts5139.ko as suggested but it makes no difference.
Now here is the odd thing about this problem. To ensure that the problem was not in the scanner, I switched on Virtual Box and ran Windows XP. XP recognised the scanner immediately, so I closed XP down and also Virtual Box. Then I started Xsane and Linux was now recognising the scanner!
However, on re-start Linux still does not recognise the already switched on scanner, nor if I switch on later.

Michiel Tieleman, regarding https://bugs.launchpad.net/ubuntu/+source/linux/+bug/992023/comments/18 , could you please undo your WORKAROUND and restart before submitting the apport-collect, so that the cardreader information is attached?

Thank you for your understanding.

tags: added: blocks-hwcert-enablement
summary: - Ubuntu 12.04 USB problem on Msi u270
+ Msi u270 Ubuntu 12.04 USB not recognizing storage devices
Daniel Walton (daniel-walton) wrote :

I have a Msi u270 with the same problem.

Instead of deleting the rts5139.ko file for each kernel I found an easier solution.
Using the modprobe blacklist facility to blacklist this module.

In the /etc/modprobe.d folder I created a file called "black_list_custom.conf".
I added the following line to this file

blacklist rts5139

If need to use the card reader I manually install the rts5139 module and then remove it after use.
e.g.
modprobe rts5139
and
modprobe -r rts5139

Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired

Bryan Mitchell / Daniel Walton, if you have a bug in Ubuntu, could you please file a new report by executing the following in a terminal:
ubuntu-bug linux

For more on this, please see the Ubuntu Kernel team article:
https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports

the Ubuntu Bug Control team and Ubuntu Bug Squad team article:
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue

and Ubuntu Community article:
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report may delay your problem being addressed as quickly as possible.

Thank you for your understanding.

Changed in linux (Ubuntu):
status: Expired → Confirmed

seasoned_geek, if you have a bug in Ubuntu, the Ubuntu Kernel team, Ubuntu Bug Control team, and Ubuntu Bug Squad would like you to please file a new report by executing the following in a terminal:
ubuntu-bug linux

For more on this, please see the Ubuntu Kernel team article:
https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports

the Ubuntu Bug Control team and Ubuntu Bug Squad team article:
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue

and Ubuntu Community article:
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report would delay your problem being addressed as quickly as possible.

Thank you for your understanding.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Michiel Tieleman (tieleman-m) wrote :

Hey Christopher,

unfortunately I cannot help resolve this bug anymore since I no longer have that laptop. It was stolen. I'm using an asus K46C with 13.04 now and as far as I can tell both the cardreader and usb work. the nvidia card though... that's another (well known) story.

Daniel Walton (daniel-walton) wrote :

This was resolved for me as you can see in my prior post #26

my initial solution was to add a blacklist for module "rts8139"

New linux kernels mostly solved it and didn't need the blacklist although sometimes problem reoccurs and i just have to unload that module.
As I don't use the card reader much, I have blacklisted it again and manually load the module when needed.

Michiel Tieleman, this bug report is being closed due to your last comment https://bugs.launchpad.net/ubuntu/+source/linux/+bug/992023/comments/30 regarding you no longer having the hardware. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in linux (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers