General TC > Tiny Core on Virtual Machines

Can't start Xorg after installing open-vm-tools-desktop: "Illegal instruction"

<< < (3/6) > >>

denbkh:

--- Quote ---Did you upgrade VM Player from a previous version, or was it a clean install?

--- End quote ---
clean install

--- Quote ---When X crashes at startup does it fall back to a console prompt?

--- End quote ---
yes, see the screenshot https://yadi.sk/i/HEQpTH8f3UYdwF

--- Quote ---If so, maybe you could use strace with startx to get some more info?

--- End quote ---
could you please provide the full command?

--- Quote ---How do you know that Ubuntu is using 3D and not software?

--- End quote ---
$ glxinfo | grep "direct rendering"
direct rendering: Yes

I have attached the logs from LUbuntu if they can help.

andyj:
After it crashes, if you type startx at the console prompt does it work or crash again? Have you tried 64-bit TinyCore? For strace, load the strace extension and try:


--- Code: ---strace -D -f -s 254 -o strace-x.log startx
--- End code ---

Maybe some AV is doing something? I've tried every combination of settings in VM Player I can find and I can't reproduce the problem. It works in spite of everything I do to try to break it.

denbkh:

--- Quote ---After it crashes, if you type startx at the console prompt does it work or crash again?

--- End quote ---
Yes, it crashes with the same error.

--- Quote ---Have you tried 64-bit TinyCore?

--- End quote ---
Yes. It crashes with the same "Illegal instruction" error, but with 64-bit address.

--- Quote ---Maybe some AV is doing something?
--- End quote ---
I tried to boot VM with disabled AV(Kaspersky free 18.0.0.405(g)) - got the same error.

Please check the log files with strace for both x64 and x86 VMs.
https://yadi.sk/d/0YxnzAaf3UZaYG (can't attach big files here)

andyj:
Looks like things go bad around here:


--- Code: ---7467  stat64("/dev/dri/renderD128", {st_mode=S_IFCHR|0660, st_rdev=makedev(226, 128), ...}) = 0
7467  readlink("/sys/dev/char/226:128/device/subsystem", "../../../bus/pci", 4096) = 16
7467  openat(AT_FDCWD, "/sys/dev/char/226:128/device/uevent", O_RDONLY|O_LARGEFILE) = 17
7467  fstat64(17, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
7467  read(17, "DRIVER=vmwgfx\nPCI_CLASS=30000\nPCI_ID=15AD:0405\nPCI_SUBSYS_ID=15AD:0405\nPCI_SLOT_NAME=0000:00:0f.0\nMODALIAS=pci:v000015ADd00000405sv000015ADsd00000405bc03sc00i00\n", 4096) = 161
7467  close(17)                         = 0
7467  openat(AT_FDCWD, "/sys/dev/char/226:128/device/vendor", O_RDONLY|O_LARGEFILE) = 17
7467  fstat64(17, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
7467  read(17, "0x15ad\n", 4096)        = 7
7467  close(17)                         = 0
7467  openat(AT_FDCWD, "/sys/dev/char/226:128/device/device", O_RDONLY|O_LARGEFILE) = 17
7467  fstat64(17, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
7467  read(17, "0x0405\n", 4096)        = 7
7467  close(17)                         = 0
7467  openat(AT_FDCWD, "/sys/dev/char/226:128/device/subsystem_vendor", O_RDONLY|O_LARGEFILE) = 17
7467  fstat64(17, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
7467  read(17, "0x15ad\n", 4096)        = 7
7467  close(17)                         = 0
7467  openat(AT_FDCWD, "/sys/dev/char/226:128/device/subsystem_device", O_RDONLY|O_LARGEFILE) = 17
7467  fstat64(17, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
7467  read(17, "0x0405\n", 4096)        = 7
7467  close(17)                         = 0
7467  getdents64(16, /* 0 entries */, 32768) = 0
7467  close(16)                         = 0
7467  SYS_355(0xbff36444, 0x4, 0x1, 0x91cf720, 0x4) = 4
7467  openat(AT_FDCWD, "/etc/drirc", O_RDONLY|O_LARGEFILE) = 16
7467  read(16, "<!--\n\n============================================\nApplication bugs worked around in this file:\n============================================\n\n* Unigine Heaven 3.0 and older contain too many bugs and can't be supported\n  by drivers that want to be complia"..., 4096) = 4096
7467  SYS_355(0xbff36414, 0x4, 0x1, 0x91cf720, 0x4) = 4
7467  read(16, "tion name=\"allow_glsl_builtin_variable_redeclaration\" value=\"true\" />\n        </application>\n\n        <application name=\"Dead Island Riptide Definitive Edition\" executable=\"DeadIslandRiptideGame\">\n            <option name=\"allow_glsl_builtin_variable_red"..., 4096) = 4096
7467  read(16, "<option name=\"mesa_glthread\" value=\"true\"/>\n        </application>\n\n        <application name=\"Borderlands 2\" executable=\"Borderlands2\">\n            <option name=\"mesa_glthread\" value=\"true\"/>\n        </application>\n\n        <application name=\"Civilizati"..., 4096) = 4096
7467  read(16, "l_sync_control\" value=\"true\" />\n        </application>\n    </device>\n    <device driver=\"radeonsi\">\n        <application name=\"ARK: Survival Evolved (and unintentionally the UE4 demo template)\" executable=\"ShooterGame\">\n            <option name=\"radeonsi"..., 4096) = 348
7467  read(16, "", 4096)                = 0
7467  close(16)                         = 0
7467  openat(AT_FDCWD, "/root/.drirc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
7467  --- SIGILL (Illegal instruction) @ 0 (0) ---

--- End code ---

Your CPU is "Intel(R) Xeon(R) CPU E5472  @ 3.00GHz (family: 0x6, model: 0x17, stepping: 0x6)" which I wouldn't think would be a problem.

Did you change any of the NVIDIA driver settings from their defaults? What NVIDIA chip do you have?

Rich:
Hi andyj
The listing in the first post of this thread looks virtually identical to what is shown here:
http://forum.tinycorelinux.net/index.php/topic,21737.msg136290.html#msg136290

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version