Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271330 - sys-apps/v86d-0.1.9 crash when changing screen on multimonitor setup
Summary: sys-apps/v86d-0.1.9 crash when changing screen on multimonitor setup
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-26 18:01 UTC by Miroslaw Mieszczak
Modified: 2013-01-21 12:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info (info,5.13 KB, text/plain)
2009-05-26 18:02 UTC, Miroslaw Mieszczak
Details
result of dmesg function (dmesg,35.24 KB, text/plain)
2009-06-08 05:08 UTC, Miroslaw Mieszczak
Details
emerge --info (emerge.info,3.88 KB, text/plain)
2009-08-26 12:41 UTC, labor_ratte
Details
dmesg (dmesg.txt,33.05 KB, text/plain)
2009-08-26 12:41 UTC, labor_ratte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslaw Mieszczak 2009-05-26 18:01:41 UTC
When changing screen from xorg session into console, on setup using 2 monitors
with xinerama, x86d crashes with following error:

May 26 14:33:38 laptop-mirka v86d: Trying to access an unsupported memory region at cffff
May 26 14:33:38 laptop-mirka v86d[24038]: segfault at 0 ip 00000000004008b9 sp 00007fff6e02ad60 error 4 in v86d[400000+1b000]
May 26 14:33:47 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1). Trying again with default timings.
May 26 14:33:47 laptop-mirka v86d: Trying to access an unsupported memory region at cffff
May 26 14:33:47 laptop-mirka v86d[24043]: segfault at 0 ip 00000000004008b9 sp 00007fffd4aa47e0 error 4 in v86d[400000+1b000]
May 26 14:33:47 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1)





When there is only one monitor (internal laptop screen), then evverything works well.


Reproducible: Always
Comment 1 Miroslaw Mieszczak 2009-05-26 18:02:08 UTC
Created attachment 192520 [details]
emerge info
Comment 2 Mike Auty (RETIRED) gentoo-dev 2009-05-30 10:17:19 UTC
Please try recompiling v86d without -msse3 or -mfpmath=sse,387 in your FLAGS please.  Does this solve the problem?
Comment 3 Miroslaw Mieszczak 2009-06-02 14:41:37 UTC
No, nothing changed. 
Comment 4 Michal Januszewski (RETIRED) gentoo-dev 2009-06-02 17:36:20 UTC
Could you please build v86d with the 'debug' USE flag, rebuild your kernel and post a full kernel log obtained when running with the new v86d binary?
Comment 5 Miroslaw Mieszczak 2009-06-08 05:07:05 UTC
I am not sure if this result is OK, I recompiled v86d with debug use flag, and MAKEOPTS nostrip. Then I made initramfs, and restarted the system.
The result in log is as follow:

Jun  8 06:59:56 laptop-mirka v86d[560]: segfault at 0 ip 00000000004008b9 sp 00007fff6d543280 error 4 in v86d (deleted)[400000+1b000]
Jun  8 06:59:56 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1). Trying again with default timings.
Jun  8 06:59:56 laptop-mirka v86d: Trying to access an unsupported memory region at cffff
Jun  8 06:59:56 laptop-mirka v86d[5742]: segfault at 0 ip 00000000004008b9 sp 00007ffff3e52480 error 4 in v86d[400000+1b000]
Jun  8 06:59:56 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1)
Jun  8 06:59:56 laptop-mirka v86d: Trying to access an unsupported memory region at cffff
Jun  8 06:59:56 laptop-mirka v86d[5745]: segfault at 0 ip 00000000004008b9 sp 00007fff7928ffd0 error 4 in v86d[400000+1b000]
Jun  8 06:59:56 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1). Trying again with default timings.
Jun  8 06:59:56 laptop-mirka v86d: Trying to access an unsupported memory region at cffff
Jun  8 06:59:56 laptop-mirka v86d[5748]: segfault at 0 ip 00000000004008b9 sp 00007fff27272fb0 error 4 in v86d[400000+1b000]
Jun  8 06:59:56 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1)
Jun  8 07:01:06 laptop-mirka v86d: Trying to access an unsupported memory region at cffff
Jun  8 07:01:06 laptop-mirka v86d[6479]: segfault at 0 ip 00000000004008b9 sp 00007fffb687f800 error 4 in v86d[400000+1b000]
Jun  8 07:01:06 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1). Trying again with default timings.
Jun  8 07:01:06 laptop-mirka v86d: Trying to access an unsupported memory region at cffff
Jun  8 07:01:06 laptop-mirka v86d[6482]: segfault at 0 ip 00000000004008b9 sp 00007fffcd75d490 error 4 in v86d[400000+1b000]
Jun  8 07:01:06 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1)
Jun  8 07:01:06 laptop-mirka fbcondecor: console 0 using theme 'mirek'
Jun  8 07:01:06 laptop-mirka v86d: Trying to access an unsupported memory region at cffff
Jun  8 07:01:06 laptop-mirka v86d[6487]: segfault at 0 ip 00000000004008b9 sp 00007fffc28cd610 error 4 in v86d[400000+1b000]
Jun  8 07:01:06 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1). Trying again with default timings.
Jun  8 07:01:06 laptop-mirka v86d: Trying to access an unsupported memory region at cffff
Jun  8 07:01:06 laptop-mirka v86d[6725]: segfault at 0 ip 00000000004008b9 sp 00007ffff369b3d0 error 4 in v86d[400000+1b000]
Jun  8 07:01:06 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1)
Jun  8 07:01:06 laptop-mirka fbcondecor: switched decor state to 'on' on console 0
Jun  8 07:01:12 laptop-mirka login[5318]: pam_unix(login:session): session opened for user root by LOGIN(uid=0)
Jun  8 07:01:12 laptop-mirka login[6727]: ROOT LOGIN  on 'tty1'
Jun  8 07:02:19 laptop-mirka v86d: Trying to access an unsupported memory region at cffff
Jun  8 07:02:19 laptop-mirka v86d[7471]: segfault at 0 ip 00000000004008b9 sp 00007fff88737470 error 4 in v86d[400000+1b000]
Jun  8 07:02:19 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1). Trying again with default timings.
Jun  8 07:02:19 laptop-mirka v86d: Trying to access an unsupported memory region at cffff
Jun  8 07:02:19 laptop-mirka v86d[7474]: segfault at 0 ip 00000000004008b9 sp 00007fffcadf7b30 error 4 in v86d[400000+1b000]
Jun  8 07:02:19 laptop-mirka uvesafb: mode switch failed (eax=0x4f02, err=1)
Comment 6 Miroslaw Mieszczak 2009-06-08 05:08:59 UTC
Created attachment 193848 [details]
result of dmesg function
Comment 7 labor_ratte 2009-08-26 12:41:18 UTC
Created attachment 202315 [details]
emerge --info

my emerge --info
Comment 8 labor_ratte 2009-08-26 12:41:44 UTC
Created attachment 202316 [details]
dmesg

my dmesg output
Comment 9 Andre Ryan 2009-12-04 09:16:06 UTC
I've recently hit this problem as well. I decided to try switching my X.Org config from nVidia TwinView to Xinerama. The moment I exit the new Xinerama X11 back to the console, v86d begins to screw up resulting in extremely slow VT switching requiring a reboot to recover. (This didn't happen with TwinView, of course)

I'm confused as to why this is happening, it seems the drivers change the card configuration in a way that v86d can't handle properly. VT switching does still work though, it's just incredibly slow.
Comment 10 Pacho Ramos gentoo-dev 2013-01-20 10:11:57 UTC
Still valid with 0.1.10?
Comment 11 Miroslaw Mieszczak 2013-01-21 12:38:09 UTC
No idea if the new version is working.
As since about 1 year I use another laptop, I cannot check it.
Anyway with the new grub, and efi emulation, there is possibility to avoid of v86d. So probably this program will die in the near future.