197b:2382 Acer Aspire 5943G JMicron devices not seen unless system boots with SD card inserted

Bug #768497 reported by pst007x
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Low
Unassigned

Bug Description

Unable to mount internal SD card once system has booted up. if card is fitted before boot up the SD card mounts, however, when I try to format I get the error message:
"ERROR CREATING FILE SYSTEM: HELPER EXITED WITH EXIT CODE 1: CANNOT OPEN /DEV/MMCBLK0P1: READ-ONLY FILE SYSTEM"
The file is stated as read only there is no protection on the SD card enabled and I own the file with appropriate read/write privileges, any thoughts?
Kernal 2.6.35-28-generic-pae
Ubuntu 10.10
Acer Aspire 5943G

WORKAROUND: Unless a card is inserted into the card reader, the entire PCI bus 04:00 is not detected. This was the hardware which appears when booting with the memory card present.

04:00.0 FireWire (IEEE 1394) [0c00]: JMicron Technology Corp. IEEE 1394 Host Controller [197b:2380] (rev 30)
Subsystem: Acer Incorporated [ALI] Device [1025:042f]
Kernel driver in use: firewire_ohci
Kernel modules: firewire-ohci, ohci1394
04:00.1 System peripheral [0880]: JMicron Technology Corp. SD/MMC Host Controller [197b:2382] (rev 30)
Subsystem: Acer Incorporated [ALI] Device [1025:042f]
Kernel driver in use: sdhci-pci
Kernel modules: sdhci-pci
04:00.2 SD Host controller [0805]: JMicron Technology Corp. Standard SD Host Controller [197b:2381] (rev 30)
Subsystem: Acer Incorporated [ALI] Device [1025:042f]
Kernel modules: sdhci-pci
04:00.3 System peripheral [0880]: JMicron Technology Corp. MS Host Controller [197b:2383] (rev 30)
Subsystem: Acer Incorporated [ALI] Device [1025:042f]
Kernel driver in use: jmb38x_ms
Kernel modules: jmb38x_ms
04:00.4 System peripheral [0880]: JMicron Technology Corp. xD Host Controller [197b:2384] (rev 30)
Subsystem: Acer Incorporated [ALI] Device [1025:042f]

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image-2.6.35-28-generic-pae 2.6.35-28.50
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.35-28.50-generic-pae 2.6.35.11
Uname: Linux 2.6.35-28-generic-pae i686
NonfreeKernelModules: fglrx
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC670 Analog [ALC670 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: pst007x 2007 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xd6100000 irq 50'
   Mixer name : 'Realtek ALC670'
   Components : 'HDA:10ec0670,1025042f,00100002'
   Controls : 23
   Simple ctrls : 13
Card1.Amixer.info:
 Card hw:1 'Generic'/'HD-Audio Generic at 0xd6020000 irq 51'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100200'
   Controls : 4
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Date: Thu Apr 21 19:03:37 2011
HibernationDevice: RESUME=UUID=18b3b21e-b6c0-4283-8aae-cc613736c315
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
MachineType: Acer Aspire 5943G
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-28-generic-pae root=UUID=977fff71-3b0a-49c0-a908-240a50c1966c ro vga=792 splash quiet quiet splash
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.38.7
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
StagingDrivers: lirc_ene0100
Title: [STAGING]
dmi.bios.date: 09/22/2010
dmi.bios.vendor: Acer
dmi.bios.version: V1.13
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Aspire 5943G
dmi.board.vendor: Acer
dmi.board.version: V1.13
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: V1.13
dmi.modalias: dmi:bvnAcer:bvrV1.13:bd09/22/2010:svnAcer:pnAspire5943G:pvrV1.13:rvnAcer:rnAspire5943G:rvrV1.13:cvnAcer:ct10:cvrV1.13:
dmi.product.name: Aspire 5943G
dmi.product.version: V1.13
dmi.sys.vendor: Acer

Revision history for this message
pst007x (turone) wrote :
Revision history for this message
pst007x (turone) wrote :

When I try to change permissions I get this:

root@pst007x-aspire-2:/home/pst007x# sudo chmod -R 777 /media/*
chmod: changing permissions of `/media/New Volume': Read-only file system
chmod: changing permissions of `/media/New Volume/.Trash-1000': Read-only file system
chmod: changing permissions of `/media/New Volume/.Trash-1000/info': Read-only file system
chmod: changing permissions of `/media/New Volume/.Trash-1000/files': Read-only file system
chmod: changing permissions of `/media/New Volume/.Trash-1000/expunged': Read-only file system
root@pst007x-aspire-2:/home/pst007x#

Revision history for this message
pst007x (turone) wrote :

root@pst007x-aspire-2:/home/pst007x# sudo fdisk -l

Disk /dev/mmcblk0: 32.6 GB, 32614907904 bytes
4 heads, 16 sectors/track, 995328 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0001ee97

        Device Boot Start End Blocks Id System
/dev/mmcblk0p1 * 1 995328 31850488 c W95 FAT32 (LBA)

I mount the SD card and run the following to change permissions for the SD card:

root@pst007x-aspire-2:/home/pst007x# sudo chmod -R 777 /dev/mmcblk0
root@pst007x-aspire-2:/home/pst007x#

But still only states read only.

However in the Permissions tab I am the OWNER and have READ/WRITE permissions, however the group has no permissions "NONE" if I try and change permissions I get the error message "Read only file system" but I cannot format either

Revision history for this message
pst007x (turone) wrote :

Rebooted run this again:

root@pst007x-aspire-2:/home/pst007x# sudo chmod -R 777 /dev/mmcblk0
root@pst007x-aspire-2:/home/pst007x# sudo chmod -R 777 /media/*
root@pst007x-aspire-2:/home/pst007x#

Now I can write to it and permissions have changed

Revision history for this message
pst007x (turone) wrote :

Rebooted with the card not inserted, inserted after system booted up:

root@pst007x-aspire-2:/home/pst007x# sudo fdisk -l

Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c5268

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 74766 600555520 83 Linux
/dev/sda2 74766 77826 24573953 5 Extended
/dev/sda5 74766 77826 24573952 82 Linux swap / Solaris
root@pst007x-aspire-2:/home/pst007x#

SD Card not listed

Revision history for this message
pst007x (turone) wrote :

Rebooted with the card inserted:

root@pst007x-aspire-2:/home/pst007x# sudo fdisk -l

Disk /dev/mmcblk0: 32.6 GB, 32614907904 bytes
4 heads, 16 sectors/track, 995328 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0001ee97

        Device Boot Start End Blocks Id System
/dev/mmcblk0p1 * 1 995328 31850488 c W95 FAT32 (LBA)

Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c5268

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 74766 600555520 83 Linux
/dev/sda2 74766 77826 24573953 5 Extended
/dev/sda5 74766 77826 24573952 82 Linux swap / Solaris
root@pst007x-aspire-2:/home/pst007x#

SD Card listed

Revision history for this message
pst007x (turone) wrote :

Removed the 32GB and mounted a 1GB:

root@pst007x-aspire-2:/home/pst007x# sudo fdisk -l

Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c5268

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 74766 600555520 83 Linux
/dev/sda2 74766 77826 24573953 5 Extended
/dev/sda5 74766 77826 24573952 82 Linux swap / Solaris

Disk /dev/mmcblk0: 998 MB, 998768640 bytes
20 heads, 51 sectors/track, 1912 cylinders
Units = cylinders of 1020 * 512 = 522240 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009d5e3

        Device Boot Start End Blocks Id System
/dev/mmcblk0p1 1 1913 975295+ 6 FAT16
root@pst007x-aspire-2:/home/pst007x#

So I can mount and un-mount an SD card as long as there is an SD card inserted on boot up.

I do not believe it is related to the BIOS, because I had windows 7 originally on the PC and never had this issue. For some reason Ubuntu will only detect an internal SD card on this Acer Aspire 5943G if an SD card is inserted prior to boot. Ido not have any issues on other Acer Aspire I have.

Thanks

komputes (komputes)
summary: - [STAGING]
+ Acer Aspire 5943G JMicron devices not seen unless system boots with SD
+ card inserted
description: updated
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote : Re: Acer Aspire 5943G JMicron devices not seen unless system boots with SD card inserted

pst007x,
      Would you mind testing a mainline kernel as outlined at https://wiki.ubuntu.com/Kernel/MainlineBuilds? I'd like to rule this out as something that we only see in Ubuntu. Once you have tested and reported back here, please set the bug status to Confirmed.

Thanks!

~JFo

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
pst007x (turone) wrote :

hi, i installed the Kernel and I was no longer able to boot into the display manager, only into terminal. I had to uninstall and update the grub to be able to boot into my display manager.

i did try when in terminal to see if the storage card could be seen but didn't seem to see it..

thanks

Revision history for this message
pst007x (turone) wrote :

I also tried using Ubuntu 11.04 live cd, still the same fault.

Thanks

Revision history for this message
Herton R. Krzesinski (herton) wrote :

Please try adding pciehp.pciehp_force=1 to the kernel boot parameters (https://wiki.ubuntu.com/Kernel/KernelBootParameters, ask if you have any doubt), and check if you still need to boot with sd card inserted.

tags: removed: regression-potential
Revision history for this message
Rocko (rockorequin) wrote :

I have the same reader in a Dell XPS 15 L502x, and the pciehp.pciehp_force=1 parameter doesn't help, even with kernel 3.0-rc1.

The only way to get the system to detect the reader is either to boot with a SD card already inserted, or to force an PCI bus rescan after an SD card is inserted (sudo sh -c "echo 1 > /sys/bus/pci/rescan"). Once the kernel detects the reader, there's no need to rescan.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Rocko (rockorequin) wrote :

This is likely a duplicate of #703180.

Revision history for this message
penalvch (penalvch) wrote :

pst007x, thank you for reporting this and helping make Ubuntu better. Please be sure to confirm this issue exists with the latest development release of Ubuntu. ISO CD images are available from http://cdimage.ubuntu.com/daily/current/ . If the issue remains, please run the following command in the development release from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

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

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. 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'.

Please let us know your results. Thanks in advance.

summary: - Acer Aspire 5943G JMicron devices not seen unless system boots with SD
- card inserted
+ 197b:2382 Acer Aspire 5943G JMicron devices not seen unless system boots
+ with SD card inserted
tags: added: natty
Changed in linux (Ubuntu):
importance: Medium → Low
status: Confirmed → Incomplete
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

Other bug subscribers

Remote bug watches

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