Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimal X11 build failing to start xorg #3

Open
colmekik opened this issue Jan 27, 2022 · 3 comments
Open

Minimal X11 build failing to start xorg #3

colmekik opened this issue Jan 27, 2022 · 3 comments

Comments

@colmekik
Copy link

Using a BeagleBone Black Industrial, I'm able to get a buildroot image to build and run. However, despite trying all manner of configuration variations the xorg server fails to start due to a missing module (a framebuffer). The missing module and file are either "libfb"/'libfb.so' or "fbdev"/"fbdev_drv.so" depending on which options are chosen while configuring buildroot .config. I'm able to get a working minimal X11 build using Yocto and the 'libfb.so' module is present in the /usr/lib/xorg/modules directory(where it should be). Doing a bit of digging shows that the source files necessary to build 'libfb' are present in the xserver source code.

I'm attaching the current .config (renamed) file I'm using with buildroot. What is the secret sauce to getting a viable xorg server built in buildroot?
current.txt

Best,
Ian

@RobertCNelson
Copy link
Member

@colmekik try the "qt5" config: https://github.com/buildroot/buildroot/blob/master/configs/beaglebone_qt5_defconfig

in debian we default to xserver-xorg-video-fbdev for the AM33'x based beagle's...

Regards,

@colmekik
Copy link
Author

@RobertCNelson sadly the beaglebone_qt5_defconfig does not utilize X at all. I've included xserver-xorg-video-fbdev in test configurations quite often in my experimentation, unfortunately the necessary module just doesn't get built.

@RobertCNelson
Copy link
Member

That's a bummer... i thought it did...

jadonk referenced this issue in beagleboard/buildroot-old Aug 2, 2023
2021-03-07	0.9.36
*	Fix sf.net issue #5 - its possible to issue a PUT request
	without a CONTENT-TYPE.   Assume an octet-stream in that case.
*	Change the Prefix for variables to be the REQUEST_METHOD
	(PUT/DELETE/GET/POST)
	**** THIS IS A BREAKING CHANGE vs 0.9.33 ****
*	Mitigations vs running haserl to get access to files not
	available to the user.

- Fix CVE-2021-29133: Lack of verification in haserl, a component of
  Alpine Linux Configuration Framework, before 0.9.36 allows local users
  to read the contents of any file on the filesystem.
- Update indentation in hash file (two spaces)

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
(cherry picked from commit 661ce9a)
Signed-off-by: Peter Korsgaard <[email protected]>
jadonk referenced this issue in beagleboard/buildroot-old Aug 2, 2023
2021-03-07	0.9.36
*	Fix sf.net issue #5 - its possible to issue a PUT request
	without a CONTENT-TYPE.   Assume an octet-stream in that case.
*	Change the Prefix for variables to be the REQUEST_METHOD
	(PUT/DELETE/GET/POST)
	**** THIS IS A BREAKING CHANGE vs 0.9.33 ****
*	Mitigations vs running haserl to get access to files not
	available to the user.

- Fix CVE-2021-29133: Lack of verification in haserl, a component of
  Alpine Linux Configuration Framework, before 0.9.36 allows local users
  to read the contents of any file on the filesystem.
- Update indentation in hash file (two spaces)

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
(cherry picked from commit 661ce9a)
Signed-off-by: Peter Korsgaard <[email protected]>
jadonk referenced this issue in beagleboard/buildroot-old Aug 2, 2023
2021-03-07	0.9.36
*	Fix sf.net issue #5 - its possible to issue a PUT request
	without a CONTENT-TYPE.   Assume an octet-stream in that case.
*	Change the Prefix for variables to be the REQUEST_METHOD
	(PUT/DELETE/GET/POST)
	**** THIS IS A BREAKING CHANGE vs 0.9.33 ****
*	Mitigations vs running haserl to get access to files not
	available to the user.

- Fix CVE-2021-29133: Lack of verification in haserl, a component of
  Alpine Linux Configuration Framework, before 0.9.36 allows local users
  to read the contents of any file on the filesystem.
- Update indentation in hash file (two spaces)

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
(cherry picked from commit 661ce9a)
Signed-off-by: Peter Korsgaard <[email protected]>
@jadonk jadonk transferred this issue from beagleboard/buildroot-old Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants