* [Buildroot] [Bug 9176] New: minnowboard : USB not detected
@ 2016-08-15 17:31 bugzilla at busybox.net
2016-08-15 17:37 ` [Buildroot] [Bug 9176] minnowboard : USB not mounted bugzilla at busybox.net
` (12 more replies)
0 siblings, 13 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2016-08-15 17:31 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9176
Bug ID: 9176
Summary: minnowboard : USB not detected
Product: buildroot
Version: 2015.11
Hardware: PC
OS: Linux
Status: NEW
Severity: critical
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: christophebricout at yahoo.fr
CC: buildroot at uclibc.org
Target Milestone: ---
Created attachment 6606
--> https://bugs.busybox.net/attachment.cgi?id=6606&action=edit
.config file
Dear All,
I have generated an image using buildroot, targeting minnowboard and the
.config file. This image works fine and boot correctly on SD Card.
The problems seems to come when I am plugging an USB pendrive.
The device is "detected" but it is not mounted automatically.
The message displayed after inserting the USB pendrive is: "usb 1-1: new
high-speed USB device number 2 using xhci_hcd".
I have tried to change the "dev managment" using the 3 buildroot options but
the problem still occured.
To complete my point, the same USB pendrive is detected in a linux machine
(CENTOS7). By this way, we can reasonably say that the problem refers to the
image generated by buildroot.
I am not able to figure out this issue.
Anyway, I can make some additional experiments.
Thanks in advance for your support.
Best Regards
Christophe
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [Bug 9176] minnowboard : USB not mounted
2016-08-15 17:31 [Buildroot] [Bug 9176] New: minnowboard : USB not detected bugzilla at busybox.net
@ 2016-08-15 17:37 ` bugzilla at busybox.net
2016-08-15 18:32 ` bugzilla at busybox.net
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2016-08-15 17:37 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9176
CB <christophebricout@yahoo.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|minnowboard : USB not |minnowboard : USB not
|detected |mounted
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [Bug 9176] minnowboard : USB not mounted
2016-08-15 17:31 [Buildroot] [Bug 9176] New: minnowboard : USB not detected bugzilla at busybox.net
2016-08-15 17:37 ` [Buildroot] [Bug 9176] minnowboard : USB not mounted bugzilla at busybox.net
@ 2016-08-15 18:32 ` bugzilla at busybox.net
2016-08-17 20:26 ` bugzilla at busybox.net
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2016-08-15 18:32 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9176
--- Comment #1 from Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> ---
Hi,
I'm not sure why you are expecting your USB pendrive to be mounted
automatically.
The device manager is certainly not going to do this out of the box.
There are several ways to do it, all of them documented at length.
1. Using an mdev script
https://wiki.gentoo.org/wiki/Mdev/Automount_USB
2. Using udisks
https://wiki.archlinux.org/index.php/udisks
3. Using autofs
https://wiki.archlinux.org/index.php/autofs
I'm only using (1), so I have no idea about the other two, but you can find
Buildroot packages for them, so I'd say it's possible.
This report doesn't seem valid, as you're .config is not selecting any of that.
Can you double check and comment some more or close this?
Thanks!
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [Bug 9176] minnowboard : USB not mounted
2016-08-15 17:31 [Buildroot] [Bug 9176] New: minnowboard : USB not detected bugzilla at busybox.net
2016-08-15 17:37 ` [Buildroot] [Bug 9176] minnowboard : USB not mounted bugzilla at busybox.net
2016-08-15 18:32 ` bugzilla at busybox.net
@ 2016-08-17 20:26 ` bugzilla at busybox.net
2016-08-17 21:32 ` bugzilla at busybox.net
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2016-08-17 20:26 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9176
--- Comment #2 from CB <christophebricout@yahoo.fr> ---
Dear Ezequiel,
In order to clarify my issue, I made some additional test.
Please find here after the results
SUMMARY:
Using the default buildroot configuration paramaters, I am not able to mount an
external USB. For information, linux was booting sucessfully from SDcard.
So, I would like to know if I missed some steps/actions on buildroot
configuration in order to access an external USB drive ....
Is that normal or a unix workaround is available.
Thanks in advance for your support.
I can make addionnal test.
Regards
Technical information:
BUILDROOT VERSION:
I am using the last stable version of buildrppt (2016.05) and I am
configuring buildroot using minnowboard_max_defconfig file.
Note: The problem still exists with 2015.11.1
MINNOWBOARD MAX/TURBOT LOG FILE:
Here after, please find an extract of the screenshot.
The usb 2-1 device has been found but I am not able to mount it.
......
usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
fbcon: inteldrmfb (fb0) is primary device
input: HDA Intel PCH HDMI/DP,pcm=3 as
/devices/pci0000:00/0000:00:1b.0/sound/ca4
input: HDA Intel PCH HDMI/DP,pcm=7 as
/devices/pci0000:00/0000:00:1b.0/sound/ca5
mmc2: new high speed SDHC card at address 0001
mmcblk0: mmc2:0001 SD16G 14.6 GiB
mmcblk0: p1 p2
Console: switching to colour frame buffer device 128x48
i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
EXT4-fs (mmcblk0p2): write access will be enabled during recovery
clocksource: Switched to clocksource tsc
EXT4-fs (mmcblk0p2): recovery complete
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 808K (ffffffff81783000 - ffffffff8184d000)
EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
Starting logging: OK
Initializing random number generator... random: dd urandom read with 10 bits
ofe
done.
Welcome to Buildroot
buildroot login: root
MOUNT COMMAND :
# mount
/dev/root on / type ext4 (rw,relatime,data=ordered)
devtmpfs on /dev type devtmpfs
(rw,relatime,size=975292k,nr_inodes=243823,mode=)
proc on /proc type proc (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)
tmpfs on /tmp type tmpfs (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
sysfs on /sys type sysfs (rw,relatime)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [Bug 9176] minnowboard : USB not mounted
2016-08-15 17:31 [Buildroot] [Bug 9176] New: minnowboard : USB not detected bugzilla at busybox.net
` (2 preceding siblings ...)
2016-08-17 20:26 ` bugzilla at busybox.net
@ 2016-08-17 21:32 ` bugzilla at busybox.net
2016-08-18 20:55 ` bugzilla at busybox.net
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2016-08-17 21:32 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9176
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yann.morin.1998 at free.fr
--- Comment #3 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Christophe,
I'm a bit surprised that you say that you are "not able to mount an
external USB".
First, check that the partitions on the device are detected:
$ cat /proc/partitions
If not, then you are missing a driver in your kernel (unlikely as you
said it was "detected").
Next, can you actually mount your USB drive manually, e.g. with:
$ mkdir /tmp/test
$ mount /dev/sda1 /tmp/test
If not, you might be missing support for that filesystem in the kernel.
If something was not working so far, then you need to adapt your Linux
kernel configuration to enable additional support (be it a driver or a
filesystem or both):
$ make linux-menuconfig
(and then enable the missing pieces)
$ make
And then restart from the beginning.
If everything works so far, then it means you are missing to mount the
partitions dynamically. You have to know that block devices are never
automounted by the kernel; you need a userspace program for that.
Ezequiel provided a list of possible solution to make the partitions
mounted automatically.
Regards,
Yann E. MORIN.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [Bug 9176] minnowboard : USB not mounted
2016-08-15 17:31 [Buildroot] [Bug 9176] New: minnowboard : USB not detected bugzilla at busybox.net
` (3 preceding siblings ...)
2016-08-17 21:32 ` bugzilla at busybox.net
@ 2016-08-18 20:55 ` bugzilla at busybox.net
2016-08-18 21:02 ` bugzilla at busybox.net
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2016-08-18 20:55 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9176
--- Comment #4 from CB <christophebricout@yahoo.fr> ---
Created attachment 6616
--> https://bugs.busybox.net/attachment.cgi?id=6616&action=edit
Linux kernel configuration (gzip)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [Bug 9176] minnowboard : USB not mounted
2016-08-15 17:31 [Buildroot] [Bug 9176] New: minnowboard : USB not detected bugzilla at busybox.net
` (4 preceding siblings ...)
2016-08-18 20:55 ` bugzilla at busybox.net
@ 2016-08-18 21:02 ` bugzilla at busybox.net
2016-08-21 12:34 ` bugzilla at busybox.net
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2016-08-18 21:02 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9176
--- Comment #5 from CB <christophebricout@yahoo.fr> ---
Dear Yann and Ezequiel,
According to yours remarks, I made some more investigation.
The problem is solved!
Indeed, the default Kernel configuration for minnowboard was not handling USB.
After uptadting the kernel configuration (see attachment), I succeeded mount
the USB devices manually.
So, I think it could interessting to updqte the default configuration in order
to match minnowboard. Up to you.
Anyway, thanks for your help
Best regards
Christophe
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [Bug 9176] minnowboard : USB not mounted
2016-08-15 17:31 [Buildroot] [Bug 9176] New: minnowboard : USB not detected bugzilla at busybox.net
` (5 preceding siblings ...)
2016-08-18 21:02 ` bugzilla at busybox.net
@ 2016-08-21 12:34 ` bugzilla at busybox.net
2016-08-22 0:27 ` bugzilla at busybox.net
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2016-08-21 12:34 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9176
--- Comment #6 from CB <christophebricout@yahoo.fr> ---
Created attachment 6621
--> https://bugs.busybox.net/attachment.cgi?id=6621&action=edit
Unix Kernel Configuration (simplified) (gzip)
Hi,
Please find kernel config file for minnowboard simplified and working for mass
storage.
Best Regards
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [Bug 9176] minnowboard : USB not mounted
2016-08-15 17:31 [Buildroot] [Bug 9176] New: minnowboard : USB not detected bugzilla at busybox.net
` (6 preceding siblings ...)
2016-08-21 12:34 ` bugzilla at busybox.net
@ 2016-08-22 0:27 ` bugzilla at busybox.net
2016-08-22 17:16 ` bugzilla at busybox.net
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2016-08-22 0:27 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9176
--- Comment #7 from Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> ---
Hi Christophe,
Comparing the last config file you attached against current 4.x config
board/minnowboard/linux-4.6.config, I cannot see any added options that would
make this work.
Could you mind trying this using "make minnowboard_max_defconfig"? It uses
board/minnowboard/linux-4.6.config. Given the above I suspect it will work just
fine.
Of ocurse, if we are missing any option, it would be great to add it.
Thanks a lot!
Ezequiel
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [Bug 9176] minnowboard : USB not mounted
2016-08-15 17:31 [Buildroot] [Bug 9176] New: minnowboard : USB not detected bugzilla at busybox.net
` (7 preceding siblings ...)
2016-08-22 0:27 ` bugzilla at busybox.net
@ 2016-08-22 17:16 ` bugzilla at busybox.net
2016-08-22 17:30 ` bugzilla at busybox.net
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2016-08-22 17:16 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9176
--- Comment #8 from CB <christophebricout@yahoo.fr> ---
(In reply to Ezequiel Garcia from comment #7)
Dear Ezequiel,
You are right about the kernel version. On the buildroot version 2016.08, the
kernel version is 4.6 but still some parameters are missing. (I think).
See the comment added at the end of the last file I sent.
Anyway, here after the missing parameters:
CONFIG_BLK_DEV_SD=y
CONFIG_USB_STORAGE=y
Futhermore, in order to mount autmatically an external USB drive, I modified
the fstab file. Minnowboard worked fine also with distribution selecting
systemd capabilities.
Lastly, I found some strange behaviour using rootfs skeleton custom. I will
probably open a new ticket. Indeed, some confguration seems to no more be
considered when selecting the rootfs skeleton option....Before, I will check
with the last buildroot...
Anyway, regarding the current ticket (Bug 9176), for me it is solved.
Thanks for your support (Yann and You).
Best Regards
Christophe
Best Regards
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [Bug 9176] minnowboard : USB not mounted
2016-08-15 17:31 [Buildroot] [Bug 9176] New: minnowboard : USB not detected bugzilla at busybox.net
` (8 preceding siblings ...)
2016-08-22 17:16 ` bugzilla at busybox.net
@ 2016-08-22 17:30 ` bugzilla at busybox.net
2016-08-22 17:32 ` bugzilla at busybox.net
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2016-08-22 17:30 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9176
--- Comment #9 from Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> ---
CONFIG_BLK_DEV_SD=y
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [Bug 9176] minnowboard : USB not mounted
2016-08-15 17:31 [Buildroot] [Bug 9176] New: minnowboard : USB not detected bugzilla at busybox.net
` (9 preceding siblings ...)
2016-08-22 17:30 ` bugzilla at busybox.net
@ 2016-08-22 17:32 ` bugzilla at busybox.net
2016-08-22 17:34 ` bugzilla at busybox.net
2016-09-11 21:30 ` bugzilla at busybox.net
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2016-08-22 17:32 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9176
Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #10 from Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> ---
(In reply to CB from comment #8)
CONFIG_BLK_DEV_SD=y
CONFIG_USB_STORAGE=y
Both options are currently enabled, so you shouldn't be missing anything.
Thanks!
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [Bug 9176] minnowboard : USB not mounted
2016-08-15 17:31 [Buildroot] [Bug 9176] New: minnowboard : USB not detected bugzilla at busybox.net
` (10 preceding siblings ...)
2016-08-22 17:32 ` bugzilla at busybox.net
@ 2016-08-22 17:34 ` bugzilla at busybox.net
2016-09-11 21:30 ` bugzilla at busybox.net
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2016-08-22 17:34 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9176
Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|INVALID |---
Status|RESOLVED |REOPENED
--- Comment #11 from Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> ---
Oops, I suddenly realized I was looking at a branch where those two options
were enabled. Sorry about that, I'll push a patch adding them upstream.
Thanks for the report,
Ezequiel
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [Bug 9176] minnowboard : USB not mounted
2016-08-15 17:31 [Buildroot] [Bug 9176] New: minnowboard : USB not detected bugzilla at busybox.net
` (11 preceding siblings ...)
2016-08-22 17:34 ` bugzilla at busybox.net
@ 2016-09-11 21:30 ` bugzilla at busybox.net
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2016-09-11 21:30 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9176
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|REOPENED |RESOLVED
--- Comment #12 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Fixed by
https://git.buildroot.org/buildroot/commit/?id=91ccf292c65ed3de21c0f26ca623860c96b137ad.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2016-09-11 21:30 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-15 17:31 [Buildroot] [Bug 9176] New: minnowboard : USB not detected bugzilla at busybox.net
2016-08-15 17:37 ` [Buildroot] [Bug 9176] minnowboard : USB not mounted bugzilla at busybox.net
2016-08-15 18:32 ` bugzilla at busybox.net
2016-08-17 20:26 ` bugzilla at busybox.net
2016-08-17 21:32 ` bugzilla at busybox.net
2016-08-18 20:55 ` bugzilla at busybox.net
2016-08-18 21:02 ` bugzilla at busybox.net
2016-08-21 12:34 ` bugzilla at busybox.net
2016-08-22 0:27 ` bugzilla at busybox.net
2016-08-22 17:16 ` bugzilla at busybox.net
2016-08-22 17:30 ` bugzilla at busybox.net
2016-08-22 17:32 ` bugzilla at busybox.net
2016-08-22 17:34 ` bugzilla at busybox.net
2016-09-11 21:30 ` bugzilla at busybox.net
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.