linux-kernel-module-cheat
linux-kernel-module-cheat copied to clipboard
rootfs ?
Hi Ciro, I got your link from here :+1: https://unix.stackexchange.com/questions/70931/install-x11-on-my-own-linux-system ......Tested on Ubuntu 16.04, Buildroot 2016.05.....
I tried to run rootfs.tar from qemu but I don't know root="" ? Kernel panic, can not find root system , what should I do with rootfs.tar with qemu ?
Thanks
Hi
- So you are running these commands, correct:
make BR2_JLEVEL=$(nproc)
qemu-system-x86_64 \
-enable-kvm \
-M pc \
-m 512 \
-kernel output/images/bzImage \
-drive file=output/images/rootfs.ext2,if=virtio,format=raw \
-append root=/dev/vda \
-net nic,model=virtio \
-net user
with this .config file: https://github.com/cirosantilli/buildroot-configs/blob/44b45b5c7f68e44abcda360a2b980f8301901a9a/qemu_x86_64_x11_defconfig ?
-
Does
output/images/rootfs.ext2exist? -
The
rootin-append root=/dev/vdashouldn't change I think, what matters most is the-drive file=output/images/rootfs.ext2.
I'll try this once again when I get the time.
OK, I have just re-run this and those exact instructions worked :-)
I tried rebuild my buildroot and it can not "startx"
=====
startx
expr: warning: '^/dev/tty[0-9]+$': using '^' as the first character of a basic regular expression is not portable; it is ignored xauth: file /root/.serverauth.1010 does not exist xauth: file /root/.Xauthority does not exist
X.Org X Server 1.14.7 Release Date: 2014-06-05 X Protocol Version 11, Revision 0 Build Operating System: Linux 4.4.0-75-generic x86_64 Current Operating System: Linux RikoRoot 4.11.0 #1 SMP Wed May 17 17:15:34 AWST 2017 x86_64 Kernel command line: console=ttyS0 Build Date: 17 May 2017 04:19:36PM
Current version of pixman: 0.34.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Wed May 17 11:05:26 2017 (==) Using default built-in configuration (30 lines) Initializing built-in extension Generic Event Extension Initializing built-in extension SHAPE Initializing built-in extension MIT-SHM Initializing built-in extension XInputExtension Initializing built-in extension XTEST Initializing built-in extension BIG-REQUESTS Initializing built-in extension SYNC Initializing built-in extension XKEYBOARD Initializing built-in extension XC-MISC Initializing built-in extension XINERAMA Initializing built-in extension XFIXES Initializing built-in extension RENDER Initializing built-in extension RANDR Initializing built-in extension DAMAGE Initializing built-in extension DOUBLE-BUFFER Initializing built-in extension DPMS Initializing built-in extension X-Resource Initializing built-in extension XVideo Initializing built-in extension XVideo-MotionCompensation Initializing built-in extension XFree86-VidModeExtension Initializing built-in extension XFree86-DGA (EE) Fatal server error: (EE) no screens found(EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file.
=====
What do you reckon ?
On 17/05/17 17:49, cirosantilli wrote:
OK, I have just re-run this and those exact instructions worked :-)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cirosantilli/chat/issues/27#issuecomment-302041927, or mute the thread https://github.com/notifications/unsubscribe-auth/AMkg5FqSZScsp-CeYnLjwC2eqO-UoJweks5r6sKQgaJpZM4NdbnU.
-- *
// Sent by Ubuntu LTS 16.04, 谢谢, Regards, Riko Ho //
Hmmm, sorry, but I don't know much about X.
Are you sure you have:
- a clean build
git clean -xdf - with this config file: https://github.com/cirosantilli/buildroot-configs/blob/44b45b5c7f68e44abcda360a2b980f8301901a9a/qemu_x86_64_x11_defconfig
- at
git checkout 2016.05
?
If yes, try opening a stack overflow question ;-)
That's my screenshot for Xorg config,
how can I load your defconfig, I can't call it with make qemu_x86_64_x11_defconfig https://github.com/cirosantilli/buildroot-configs/blob/44b45b5c7f68e44abcda360a2b980f8301901a9a/qemu_x86_64_x11_defconfig from shell ??
On 17/05/17 20:03, cirosantilli wrote:
Hmmm, sorry, but I don't know much about X.
Are you sure you have:
- a clean build |git clean -xdf|
- with this config file: https://github.com/cirosantilli/buildroot-configs/blob/44b45b5c7f68e44abcda360a2b980f8301901a9a/qemu_x86_64_x11_defconfig
- at |git checkout 2016.05|
?
If yes, try opening a stack overflow question ;-)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cirosantilli/chat/issues/27#issuecomment-302069316, or mute the thread https://github.com/notifications/unsubscribe-auth/AMkg5A4G7Ke1S_tWo34UAnVNKIqtjuMnks5r6uIXgaJpZM4NdbnU.
-- *
// Sent by Ubuntu LTS 16.04, 谢谢, Regards, Riko Ho //
Rename qemu_x86_64_x11_defconfig to .config, make uses .config in current directory :-)