Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 205376 - sys-apps/hal doesn't detect MMC card volumes
Summary: sys-apps/hal doesn't detect MMC card volumes
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Freedesktop bugs
URL: http://bugzilla.xfce.org/show_bug.cgi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-12 00:05 UTC by Niklas Närhinen
Modified: 2009-02-04 12:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Niklas Närhinen 2008-01-12 00:05:08 UTC
When using my built-in mmc-reader on my laptop, thunar (as well as xfdesktop) doesnt recognise my cards, which become /dev/mmcblk0p1

When attaching a usb stick becoming /dev/sdX# everything works fine.

Here's the info from /var/log/messages:
1
2
3
4

	

Jan 12 00:03:46 gandalf mmc0: new SD card at address 1234
Jan 12 00:03:46 gandalf mmcblk0: mmc0:1234 SD01G 962560KiB 
Jan 12 00:03:46 gandalf mmcblk0: p1
Jan 12 00:03:46 gandalf NetworkManager: <debug> [1200089026.083392] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/pci_1180_822_mmc_host_mmc_card_rca4660').

I'm using thunar version 0.9.0-r1

Reproducible: Always

Steps to Reproduce:
1. attach a mmc-card into a reader which become /dev/mmcblk*
2. check if they appear in the menu left of thunar




 ~ # emerge --info
Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.7-r1, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 Intel(R) Pentium(R) M processor 1.73GHz
Timestamp of tree: Fri, 11 Jan 2008 16:46:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.public.fix.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="fi en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/java-overlay /usr/portage/local/layman/mozilla /usr/local/portage /usr/portage/local/java-experimental"
SYNC="rsync://rsync.fi.gentoo.org/gentoo-portage"
USE="X acl acpi alsa berkdb bitmap-fonts branding cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode esd evo exif fam ffmpeg firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kdeenablefinal kdehiddenvisibility kerberos lcms ldap libnotify mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt3support quicktime readline reflection sdl session source spell spl ssl startup-notification svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xcomposite xinerama xml xorg xscreensaver xv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi en_US" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-18 15:33:46 UTC
Re-assigning wrt http://bugzilla.xfce.org/show_bug.cgi?id=3798#c9; please attach everything relevant including hal version, lshal output etc. here.
Comment 2 Tiago Marques 2008-03-31 01:55:31 UTC
I have the same problem. Found that it doesn't happen with gentoo-sources-2.6.19-r5, but it does happen with the latest gentoo-sources-2.6.22 and 2.6.24.

On 2.6.19-r5 I have this error on dmesg, but it works fine:

mmcblk0: error 4 sending stop command
end_request: I/O error, dev mmcblk0, sector 3985400
Buffer I/O error on device mmcblk0, logical block 498175
mmcblk0: error 4 sending stop command
end_request: I/O error, dev mmcblk0, sector 3985400
Buffer I/O error on device mmcblk0, logical block 498175
mmcblk0: error 4 sending stop command
end_request: I/O error, dev mmcblk0, sector 3985400
Buffer I/O error on device mmcblk0, logical block 498175
mmcblk0: error 4 sending stop command
end_request: I/O error, dev mmcblk0, sector 3985400
Buffer I/O error on device mmcblk0, logical block 498175
mmcblk0: error 4 sending stop command
end_request: I/O error, dev mmcblk0, sector 3985400
Buffer I/O error on device mmcblk0, logical block 498175
mmcblk0: error 4 sending stop command
end_request: I/O error, dev mmcblk0, sector 3985400
Buffer I/O error on device mmcblk0, logical block 498175
mmcblk0: error 4 sending stop command
end_request: I/O error, dev mmcblk0, sector 3985400
Buffer I/O error on device mmcblk0, logical block 498175
mmcblk0: error 4 sending stop command
end_request: I/O error, dev mmcblk0, sector 3985400
Buffer I/O error on device mmcblk0, logical block 498175
mmcblk0: error 4 sending stop command
end_request: I/O error, dev mmcblk0, sector 3985400
Buffer I/O error on device mmcblk0, logical block 498175
Comment 3 onip 2008-05-01 11:33:19 UTC
http://forums.gentoo.org/viewtopic-t-604769.html

This seems to be related
Comment 4 Tiago Marques 2009-01-15 21:26:13 UTC
I can use it now, in more recent kernels.
At the time I was using an SD card with those errors above. Lately I've been using either an SD or SDHC without problems. Will try with the old one when I have the chance, just to be sure it's not a card specific issue.

Have you tried upgrading to the latest gentoo-sources kernel?
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2009-02-04 12:51:54 UTC
I used to have problems with SD cards going undetected. This broke about a year ago, but got fixed since. Niklas, if this is still an issue for you with 0.5.11-r7 (released today), could you reopen the bug please?