| Summary: | [Generic x86_64] USB not mounted | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Lucian Musat <georgex.l.musat> |
| Component: | core | Assignee: | Marius Avram <marius.avram> |
| Status: | VERIFIED FIXED | QA Contact: | Lucian Musat <georgex.l.musat> |
| Severity: | normal | ||
| Priority: | Medium | CC: | blloyd, bogdanx.a.voiculescu, costin.c.constantin, dvhart, marius.avram, meta.mr.watcher, meta.watcher, ross.burton, yp.kernel.watcher, yp.watcher |
| Version: | 1.7 | ||
| Target Milestone: | 1.7 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Lucian Musat
2014-06-30 14:48:37 UTC
The dmesg output is normal. mount works, so not a driver issue. Sounds like a udev issue. I'll see if I can reproduce. genericx86 also appears to be impacted. live boot drops to shell and shows no devices mounted when debugshell is enabled even though udev does create the /dev/sda device when it is plugged in. For x86 case, this means it isnt even mounting the base image, keeping from making it to the running system. running udevadm monitor (which could not be exited without reboot from the basic console), showed proper connect and disconnect messages. It just isn't mounting the drive afterwards. Hello, Just did my 1.7_M1 meta-intel BSP related (for core2_32) tests and I have the same issue with mounting the USB. I also get the same messages as on first commnet. poky_commit: a5531a2b8983318b99c119a87b78a9 Regards, Costin I've took a look into because its related somehow to my bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=5332 And i think I discovered the cause. The reason is the stick is mounted on /run/media/sdc. In glib-2.0 there is a function in file gio/gunixmounts.c called g_unix_mount_guess_should_display (GUnixMountEntry *mount_entry). When this worked with previous builds it was because /media/sdc was used. Another valid alternative for glib would be if the drive would be mounted in /run/media/<username>/sdc. I would want to fix this (because I spent some time on it), but I'm not sure which is the right way. A way would be to create a patch for this function. Another would be to modify the mounting directory back to /run/media/ but I'm not sure how. Can anyone give me any advice ? If yes please send me an email or leave a comment here. Patching glib to also allow /run/media/[mountpoint] seems like a reasonable thing to do. I've sent a solution to the mailing list. A branch with it can also be found here: http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=mavram/YB6492 I also created a bug on the gnome bug tracker: https://bugzilla.gnome.org/show_bug.cgi?id=735447 Solution merged with master beginning with c46a54853a47b6373e71a9f25b537b6ab907db3e Verified this on 429802fe6691c8a70ec9735c0db4c6a4e1e1b038 |