Bug 402591

Summary: Video Card Detection Fails and Bypasses Remaining Installation
Product: [openSUSE] openSUSE 11.0 Reporter: Andrew Hiscox <andrew>
Component: InstallationAssignee: J. Daniel Schmidt <jdsn>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: andrew, ms, sndirsch
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.0   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Logs from installation
Sax.log

Description Andrew Hiscox 2008-06-22 20:12:23 UTC
Video Card: Dual NVIDIA 8800m GTX in Dell XPS M1730.

Tested this with both 32 & 64 bit versions of openSUSE 11.0 GM, tested Auto configuration and manual configuration issue happens with both methods. Test with openSUSE 10.3 and works ok.

During installation when hardware detection of the video card is being preformed, detection fails and bypasses the remaining installation and starts X,  If auto configuration is ticked then no normal user is created and you must login as root to create a user, if manual creation is ticked then user created.  The login screen resolution is set to 640x480.
Comment 1 Robert Vojcik 2008-06-25 12:29:22 UTC
Hello, 

could you provide yast2 logs from installation ?

Thanks
Comment 2 Andrew Hiscox 2008-06-26 18:34:53 UTC
Created attachment 224654 [details]
Logs from installation

Installation logs from fresh install
Comment 3 Andrew Hiscox 2008-06-26 18:36:59 UTC
Uploaded Logs from Installation
Comment 4 Michal Zugec 2008-07-06 15:22:52 UTC
Reassigned to yast2-x11 maintainer
Comment 5 J. Daniel Schmidt 2008-07-07 16:49:52 UTC
From the log:
> got signal 11 at YCP file /usr/share/YaST2/clients/x11_proposal.ycp:108

In line 108 XLib::getActiveResolution is called. The only operations this function does (besides shift, push and return) are calls to SaX.

I think (can not prove) the signal 11 is coming from sax here. Sax maintainers would you please have a look.
Comment 6 Marcus Schaefer 2008-07-07 17:05:08 UTC
if it's libsax you should be able to reproduce the problem while calling

   init 3
   sax2

   ==> click on change configuration
   ==> click on save -> exit

send the log file /var/log/SaX.log
Comment 7 Andrew Hiscox 2008-07-07 17:16:36 UTC
Created attachment 226322 [details]
Sax.log
Comment 8 Andrew Hiscox 2008-07-07 17:20:13 UTC
Unable to open sax2.  From a shell this is the output.  Also attached sax2.log after trying to run sax2.


SaX: access to your display has been granted
Xlib:  extension "XFree86-Misc" missing on display ":0.0".
Xlib:  extension "XFree86-Misc" missing on display ":0.0".
Xlib:  extension "XFree86-Misc" missing on display ":0.0".
Xlib:  extension "XFree86-Misc" missing on display ":0.0".
*** buffer overflow detected ***: /usr/sbin/sysp terminated
======= Backtrace: =========                               
/lib64/libc.so.6(__fortify_fail+0x37)[0x7fcf1110a3f7]      
/lib64/libc.so.6[0x7fcf111081a0]                           
/lib64/libc.so.6[0x7fcf11106f8d]                           
/usr/sbin/sysp[0x433e83]                                   
/usr/sbin/sysp[0x43420a]                                   
/usr/sbin/sysp[0x4240d9]                                   
/usr/sbin/sysp[0x41a2ed]                                   
/usr/sbin/sysp[0x40932f]                                   
/usr/sbin/sysp[0x409ca7]                                   
/lib64/libc.so.6(__libc_start_main+0xe6)[0x7fcf11040436]   
/usr/sbin/sysp(__gxx_personality_v0+0xf9)[0x404c69]        
======= Memory map: ========                               
00400000-00448000 r-xp 00000000 08:03 1790473                            /usr/sbin/sysp                                                                         
00647000-00648000 r--p 00047000 08:03 1790473                            /usr/sbin/sysp                                                                         
00648000-00649000 rw-p 00048000 08:03 1790473                            /usr/sbin/sysp                                                                         
00649000-00cfa000 rw-p 00649000 00:00 0                                  [heap] 
7fcf0ff9e000-7fcf0ffa0000 r-xp 00000000 08:03 1765823                    /usr/lib64/libXau.so.6.0.0                                                             
7fcf0ffa0000-7fcf1019f000 ---p 00002000 08:03 1765823                    /usr/lib64/libXau.so.6.0.0                                                             
7fcf1019f000-7fcf101a0000 r--p 00001000 08:03 1765823                    /usr/lib64/libXau.so.6.0.0                                                             
7fcf101a0000-7fcf101a1000 rw-p 00002000 08:03 1765823                    /usr/lib64/libXau.so.6.0.0                                                             
7fcf101a1000-7fcf101a5000 r-xp 00000000 08:03 1419935                    /lib64/libuuid.so.1.2                                                                  
7fcf101a5000-7fcf103a4000 ---p 00004000 08:03 1419935                    /lib64/libuuid.so.1.2                                                                  
7fcf103a4000-7fcf103a5000 r--p 00003000 08:03 1419935                    /lib64/libuuid.so.1.2                                                                  
7fcf103a5000-7fcf103a6000 rw-p 00004000 08:03 1419935                    /lib64/libuuid.so.1.2                                                                  
7fcf103a6000-7fcf103af000 r-xp 00000000 08:03 1599403                    /usr/lib64/libXrender.so.1.3.0                                                         
7fcf103af000-7fcf105ae000 ---p 00009000 08:03 1599403                    /usr/lib64/libXrender.so.1.3.0                                                         
7fcf105ae000-7fcf105af000 r--p 00008000 08:03 1599403                    /usr/lib64/libXrender.so.1.3.0                                                         
7fcf105af000-7fcf105b0000 rw-p 00009000 08:03 1599403                    /usr/lib64/libXrender.so.1.3.0                                                         
7fcf105b0000-7fcf105c1000 r-xp 00000000 08:03 1599535                    /usr/lib64/libXext.so.6.4.0                                                            
7fcf105c1000-7fcf107c0000 ---p 00011000 08:03 1599535                    /usr/lib64/libXext.so.6.4.0                                                            
7fcf107c0000-7fcf107c1000 r--p 00010000 08:03 1599535                    /usr/lib64/libXext.so.6.4.0                                                            
7fcf107c1000-7fcf107c2000 rw-p 00011000 08:03 1599535                    /usr/lib64/libXext.so.6.4.0                                                            
7fcf107c2000-7fcf107c4000 r-xp 00000000 08:03 1419855                    /lib64/libdl-2.8.so                                                                    
7fcf107c4000-7fcf109c4000 ---p 00002000 08:03 1419855                    /lib64/libdl-2.8.so                                                                    
7fcf109c4000-7fcf109c5000 r--p 00002000 08:03 1419855                    /lib64/libdl-2.8.so                                                                    
7fcf109c5000-7fcf109c6000 rw-p 00003000 08:03 1419855                    /lib64/libdl-2.8.so                                                                    
7fcf109c6000-7fcf109e1000 r-xp 00000000 08:03 1765899                    /usr/lib64/libxcb.so.1.0.0                                                             
7fcf109e1000-7fcf10be0000 ---p 0001b000 08:03 1765899                    /usr/lib64/libxcb.so.1.0.0                                                             
7fcf10be0000-7fcf10be1000 r--p 0001a000 08:03 1765899                    /usr/lib64/libxcb.so.1.0.0                                                             
7fcf10be1000-7fcf10be2000 rw-p 0001b000 08:03 1765899                    /usr/lib64/libxcb.so.1.0.0                                                             
7fcf10be2000-7fcf10be3000 r-xp 00000000 08:03 1765889                    /usr/lib64/libxcb-xlib.so.0.0.0                                                        
7fcf10be3000-7fcf10de2000 ---p 00001000 08:03 1765889                    /usr/lib64/libxcb-xlib.so.0.0.0                                                        
7fcf10de2000-7fcf10de3000 r--p 00000000 08:03 1765889                    /usr/lib64/libxcb-xlib.so.0.0.0                                                        
7fcf10de3000-7fcf10de4000 rw-p 00001000 08:03 1765889                    /usr/lib64/libxcb-xlib.so.0.0.0                                                        
7fcf10de4000-7fcf10e20000 r-xp 00000000 08:03 1420053                    /lib64/libdbus-1.so.3.4.0                                                              
7fcf10e20000-7fcf11020000 ---p 0003c000 08:03 1420053                    /lib64/libdbus-1.so.3.4.0                                                              
7fcf11020000-7fcf11021000 r--p 0003c000 08:03 1420053                    /lib64/libdbus-1.so.3.4.0                                                              
7fcf11021000-7fcf11022000 rw-p 0003d000 08:03 1420053                    /lib64/libdbus-1.so.3.4.0                                                              
7fcf11022000-7fcf11171000 r-xp 00000000 08:03 1419849                    /lib64/libc-2.8.so                                                                     
7fcf11171000-7fcf11371000 ---p 0014f000 08:03 1419849                    /lib64/libc-2.8.so                                                                     
7fcf11371000-7fcf11375000 r--p 0014f000 08:03 1419849                    /lib64/libc-2.8.so                                                                     
7fcf11375000-7fcf11376000 rw-p 00153000 08:03 1419849                    /lib64/libc-2.8.so                                                                     
7fcf11376000-7fcf1137b000 rw-p 7fcf11376000 00:00 0                             
7fcf1137b000-7fcf11391000 r-xp 00000000 08:03 1419938                    /lib64/libgcc_s.so.1                                                                   
7fcf11391000-7fcf11590000 ---p 00016000 08:03 1419938                    /lib64/libgcc_s.so.1                                                                   
7fcf11590000-7fcf11591000 r--p 00015000 08:03 1419938                    /lib64/libgcc_s.so.1                                                                   
7fcf11591000-7fcf11592000 rw-p 00016000 08:03 1419938                    /lib64/libgcc_s.so.1                                                                   
7fcf11592000-7fcf115e7000 r-xp 00000000 08:03 1419857                    /lib64/libm-2.8.so                                                                     
7fcf115e7000-7fcf117e6000 ---p 00055000 08:03 1419857                    /lib64/libm-2.8.so                                                                     
7fcf117e6000-7fcf117e7000 r--p 00054000 08:03 1419857                    /lib64/libm-2.8.so                                                                     
7fcf117e7000-7fcf117e8000 rw-p 00055000 08:03 1419857                    /lib64/libm-2.8.so                                                                     
7fcf117e8000-7fcf117eb000 r-xp 00000000 08:03 1599798                    /usr/lib64/libXxf86misc.so.1.1.0                                                       
7fcf117eb000-7fcf119ea000 ---p 00003000 08:03 1599798                    /usr/lib64/libXxf86misc.so.1.1.0                                                       
7fcf119ea000-7fcf119eb000 r--p 00002000 08:03 1599798                    /usr/lib64/libXxf86misc.so.1.1.0                                                       
7fcf119eb000-7fcf119ec000 rw-p 00003000 08:03 1599798                    /usr/lib64/libXxf86misc.so.1.1.0                                                       
7fcf119ec000-7fcf119fc000 r-xp 00000000 08:03 1615831                    /usr/lib64/libhal.so.1.0.0                                                             
7fcf119fc000-7fcf11bfb000 ---p 00010000 08:03 1615831                    /usr/lib64/libhal.so.1.0.0                                                             
7fcf11bfb000-7fcf11bfc000 r--p 0000f000 08:03 1615831                    /usr/lib64/libhal.so.1.0.0                                                             
7fcf11bfc000-7fcf11bfd000 rw-p 00010000 08:03 1615831                    /usr/lib64/libhal.so.1.0.0                                                             
7fcf11bfd000-7fcf11c04000 r-xp 00000000 08:03 1599786                    /usr/lib64/libXrandr.so.2.1.0                                                          
7fcf11c04000-7fcf11e03000 ---p 00007000 08:03 1599786                    /usr/lib64/libXrandr.so.2.1.0                                                          
7fcf11e03000-7fcf11e04000 r--p 00006000 08:03 1599786                    /usr/lib64/libXrandr.so.2.1.0                                                          
7fcf11e04000-7fcf11e05000 rw-p 00007000 08:03 1599786                    /usr/lib64/libXrandr.so.2.1.0                                                          
7fcf11e05000-7fcf11f3c000 r-xp 00000000 08:03 1770513                    /usr/lib64/libX11.so.6.2.0                                                             
7fcf11f3c000-7fcf1213c000 ---p 00137000 08:03 1770513                    /usr/lib64/libX11.so.6.2.0                                                             
7fcf1213c000-7fcf1213d000 r--p 00137000 08:03 1770513                    /usr/lib64/libX11.so.6.2.0                                                             
7fcf1213d000-7fcf12142000 rw-p 00138000 08:03 1770513                    /usr/lib64/libX11.so.6.2.0                                                             
7fcf12142000-7fcf12232000 r-xp 00000000 08:03 1768092                    /usr/lib64/libstdc++.so.6.0.10
7fcf12232000-7fcf12432000 ---p 000f0000 08:03 1768092                    /usr/lib64/libstdc++.so.6.0.10
7fcf12432000-7fcf12439000 r--p 000f0000 08:03 1768092                    /usr/lib64/libstdc++.so.6.0.10
7fcf12439000-7fcf1243b000 rw-p 000f7000 08:03 1768092                    /usr/lib64/libstdc++.so.6.0.10
7fcf1243b000-7fcf1244e000 rw-p 7fcf1243b000 00:00 0
7fcf1244e000-7fcf1250b000 r-xp 00000000 08:03 1615886                    /usr/lib64/libhd.so.14.19
7fcf1250b000-7fcf1270a000 ---p 000bd000 08:03 1615886                    /usr/lib64/libhd.so.14.19
7fcf1270a000-7fcf1270c000 r--p 000bc000 08:03 1615886                    /usr/lib64/libhd.so.14.19
7fcf1270c000-7fcf1280b000 rw-p 000be000 08:03 1615886                    /usr/lib64/libhd.so.14.19
7fcf1280b000-7fcf1280d000 rw-p 7fcf1280b000 00:00 0
7fcf1280d000-7fcf1282a000 r-xp 00000000 08:03 1419842                    /lib64/ld-2.8.so
7fcf12876000-7fcf128c9000 rw-p 7fcf128eb000 00:00 0
7fcf12911000-7fcf12952000 rw-p 7fcf12911000 00:00 0
7fcf12952000-7fcf12992000 rw-s 00000000 00:09 7077897                    /SYSV00000000 (deleted)
7fcf12992000-7fcf12a05000 rw-p 7fcf12992000 00:00 0
7fcf12a26000-7fcf12a2a000 rw-p 7fcf12a26000 00:00 0
7fcf12a2a000-7fcf12a2b000 r--p 0001d000 08:03 1419842                    /lib64/ld-2.8.so
7fcf12a2b000-7fcf12a2c000 rw-p 0001e000 08:03 1419842                    /lib64/ld-2.8.so
7fff1aa0f000-7fff1aa2b000 rw-p 7ffffffe3000 00:00 0                      [stack]
7fff1abfe000-7fff1ac00000 r-xp 7fff1abfe000 00:00 0                      [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Died at /usr/share/sax/init.pl line 653.
Comment 9 Stefan Dirsch 2008-07-07 17:59:09 UTC
What's the output of 'sax2 -p'?
Comment 10 Andrew Hiscox 2008-07-07 18:11:00 UTC
Chip: 0  is -> NVIDIA GeForce 8800M GTX         03:00:0 0x10de 0x060c AGP nvidia
Chip: 1  is -> NVIDIA GeForce 8800M GTX         04:00:0 0x10de 0x060c AGP nvidia
Comment 11 Stefan Dirsch 2008-07-07 18:21:26 UTC
As expected. 'sax2 -r -c 0' or 'sax2 -r -c 1' should work for you.

*** This bug has been marked as a duplicate of bug 381644 ***
Comment 12 Andrew Hiscox 2008-07-10 20:00:37 UTC
This still does not resolve the fact that installation crashes.  If a user users the automated features of openSUSE 11 install then no user configuration is installed.  It is not a issue for experienced users but for beginners this will move people away from Linux.  

openSUSE 10.3 handles the 2 cards and setups up the video has a VESA device ok. The question is what's changed?

This needs to be looked into for openSUSE 11.1 and SLED 11 because dual cards are becoming very common in PC's and Laptops.  After you install the NVIDIA drivers then you can use the NVIDIA control panel to configure the cards.
Comment 13 Stefan Dirsch 2008-07-10 20:19:23 UTC
(In reply to comment #12 from Andrew Hiscox)
> This still does not resolve the fact that installation crashes.  

Sure it will resolve the issue.

> If a user users the automated features of openSUSE 11 install then no user
> configuration  is installed.  

This is a wrong assumption. A usable single card setup will be created instead
of trying to create multicard setup and crash at that point.

> openSUSE 10.3 handles the 2 cards and setups up the video has a VESA device
> ok. The question is what's changed?

Xserver, drivers, ...

> This needs to be looked into for openSUSE 11.1 and SLED 11 because dual cards
> are becoming very common in PC's and Laptops.  

I'm aware of this. This is the reason I marked Bug #381644 with high priority.