Bug 191632 - x11-servers/xorg-server: kernel: sysmouse: unknown ioctl: t:40007413
Summary: x11-servers/xorg-server: kernel: sysmouse: unknown ioctl: t:40007413
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Many People
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-05 15:39 UTC by Thierry Thomas
Modified: 2016-01-17 15:20 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thomas freebsd_committer freebsd_triage 2014-07-05 15:39:14 UTC
Xorg does not start. This is on a 10.0-STABLE machine, i.e. new xorg is
enabled by default. Ports are up-to-date.

Trying to launch X with startx fails.

1) It displays:

failed to set mtrr: Invalid argument
Segmentation fault at address 0xc04cc6adc

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting

Full log available at:
http://people.freebsd.org/~thierry/sysmouse_unknown_ioctl_startx.log


2) And it produces the following messages on the console:

Jul  5 17:01:25 graf kernel: sysmouse: unknown ioctl: t:40007413
Jul  5 17:01:25 graf kernel: sysmouse: unknown ioctl: t:40007413
Jul  5 17:01:25 graf kernel: sysmouse: unknown ioctl: t:80007410
Jul  5 17:01:25 graf kernel: pid 38406 (Xorg), uid 0: exited on signal 6


3) And the tail of /var/log/Xorg.0.log is:

[1106529.847] (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD, id 7)
[1106529.847] Segmentation fault at address 0xc04cc6adc
[1106529.847] 
Fatal server error:
[1106529.847] Caught signal 11 (Segmentation fault). Server aborting
[1106529.847] 
[1106529.847] 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[1106529.847] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[1106529.847] 
[1106529.847] (II) UnloadModule: "mouse"
[1106529.847] (II) UnloadModule: "kbd"
[1106530.000] Server terminated with error (1). Closing log file.

Full log available at:
http://people.freebsd.org/~thierry/sysmouse_unknown_ioctl_Xorg.0.log

This is reproducible, and I can give any other details if needed.

How-To-Repeat:
Just run startx. My ~/.xinitrc contains "exec startkde", but it does'nt
	matter.

Fix:
N/A.
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2014-07-05 19:16:38 UTC
This problem is related to Bug 191459.
Comment 2 Aleksandr Rybalko freebsd_committer freebsd_triage 2014-07-06 13:49:13 UTC
There is no relations between "sysmouse: unknown ioctl: t:[84]000741[03]" and crash. Just a wrong usage of /dev/sysmouse node, seems due use of same rules as for serial mouse device node.
Comment 3 Jean-Sébastien Pédron freebsd_committer freebsd_triage 2014-10-23 13:45:10 UTC
Hi!

Do you still have this issue?
Comment 4 Thierry Thomas freebsd_committer freebsd_triage 2014-10-23 20:32:04 UTC
Actually, due to the other bug described in PR kern/193817, I switched to a default keymap, and this failure disappeared.