[opensuse-autoinstall] Installation not finishing - Xorg does not quit
Hello members of list, I encountered the same problem with the auto-installation of OpenSuSE 12.3 , as described in BUG 811452 using the same successful tools as for installing 12.1 last year. Xorg is looping when system should halt!!! Who knows a workaround? What are you doing in the meantime , Mr.Brauchle? Best regards +----------------------------------------------------------------------+ | Marianne Frerichs | | Juelich Supercomputing Centre (JSC) | | Institute for Advanced Simulation (IAS) | | Forschungszentrum Juelich GmbH | | D-52425 Juelich | | Phone: +49 02461 61-1466 | | Email: M.Frerichs@fz-juelich.de Fax: +49 02461 61-6656 | +----------------------------------------------------------------------+ :~ # ps -ef | grep 746 root 746 1 0 10:29 tty1 00:00:00 /bin/sh /usr/lib/YaST2/startup/YaST2.Second-Stage root 3076 746 0 10:30 tty1 00:00:00 /bin/sh /usr/lib/YaST2/startup/YaST2.call installation continue :~ # ps -ef | grep 3076 root 3076 746 0 10:30 tty1 00:00:00 /bin/sh /usr/lib/YaST2/startup/YaST2.call installation continue root 3702 3076 0 10:30 tty7 00:00:06 Xorg -noreset -br -deferglyphs 16 vt07 root 10560 3076 0 10:43 tty1 00:00:00 sleep 1 ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
Hi, I changed the file /usr/lib/YaST2/startup/YaST2.call in section 9.2 where it does a kill $xserver.pid to a kill -9 $xserver.pid. Maybe not 100% a good idea but it works. It is strange that it only happens on certain hardware. Regards, Stephen. On Tue, Jun 18, 2013 at 8:58 PM, m.frerichs <m.frerichs@fz-juelich.de> wrote:
Hello members of list,
I encountered the same problem with the auto-installation of OpenSuSE 12.3 , as described in BUG 811452 using the same successful tools as for installing 12.1 last year.
Xorg is looping when system should halt!!! Who knows a workaround? What are you doing in the meantime , Mr.Brauchle?
Best regards
+----------------------------------------------------------------------+ | Marianne Frerichs | | Juelich Supercomputing Centre (JSC) | | Institute for Advanced Simulation (IAS) | | Forschungszentrum Juelich GmbH | | D-52425 Juelich | | Phone: +49 02461 61-1466 | | Email: M.Frerichs@fz-juelich.de Fax: +49 02461 61-6656 | +----------------------------------------------------------------------+
:~ # ps -ef | grep 746 root 746 1 0 10:29 tty1 00:00:00 /bin/sh /usr/lib/YaST2/startup/YaST2.Second-Stage root 3076 746 0 10:30 tty1 00:00:00 /bin/sh /usr/lib/YaST2/startup/YaST2.call installation continue
:~ # ps -ef | grep 3076 root 3076 746 0 10:30 tty1 00:00:00 /bin/sh /usr/lib/YaST2/startup/YaST2.call installation continue root 3702 3076 0 10:30 tty7 00:00:06 Xorg -noreset -br -deferglyphs 16 vt07 root 10560 3076 0 10:43 tty1 00:00:00 sleep 1
------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
Thats what I did as well... works reliably, but might not be 100% suitable for everyone? On 06/19/2013 01:00 AM, Stephen Fergusson wrote:
Hi,
I changed the file /usr/lib/YaST2/startup/YaST2.call in section 9.2 where it does a kill $xserver.pid to a kill -9 $xserver.pid. Maybe not 100% a good idea but it works.
It is strange that it only happens on certain hardware.
Regards, Stephen.
On Tue, Jun 18, 2013 at 8:58 PM, m.frerichs <m.frerichs@fz-juelich.de> wrote:
Hello members of list,
I encountered the same problem with the auto-installation of OpenSuSE 12.3 , as described in BUG 811452 using the same successful tools as for installing 12.1 last year.
Xorg is looping when system should halt!!! Who knows a workaround? What are you doing in the meantime , Mr.Brauchle?
Best regards
+----------------------------------------------------------------------+ | Marianne Frerichs | | Juelich Supercomputing Centre (JSC) | | Institute for Advanced Simulation (IAS) | | Forschungszentrum Juelich GmbH | | D-52425 Juelich | | Phone: +49 02461 61-1466 | | Email: M.Frerichs@fz-juelich.de Fax: +49 02461 61-6656 | +----------------------------------------------------------------------+
:~ # ps -ef | grep 746 root 746 1 0 10:29 tty1 00:00:00 /bin/sh /usr/lib/YaST2/startup/YaST2.Second-Stage root 3076 746 0 10:30 tty1 00:00:00 /bin/sh /usr/lib/YaST2/startup/YaST2.call installation continue
:~ # ps -ef | grep 3076 root 3076 746 0 10:30 tty1 00:00:00 /bin/sh /usr/lib/YaST2/startup/YaST2.call installation continue root 3702 3076 0 10:30 tty7 00:00:06 Xorg -noreset -br -deferglyphs 16 vt07 root 10560 3076 0 10:43 tty1 00:00:00 sleep 1
------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
-- Dipl.-Ing. Joschi Brauchle, M.S. Institute for Communications Engineering (LNT) Technische Universitaet Muenchen (TUM) 80290 Munich, Germany Tel (work): +49 89 289-23474 Fax (work): +49 89 289-23490 E-mail: joschi.brauchle@tum.de Web: http://www.lnt.ei.tum.de/
Hi Marianne, I am actually doing an install from USB pendrive, with the file from the original 12.3 DVD, with all the latest openSUSE12.3 updates downloaded and our own custom RPMs all installed from the 16GB pendrive, installing to a PC with physical harddrives in it. It is not a pendrive LIVE type install. Just like you would from DVD but with a pendrive instead. I am using an autoinst.xml file and the relevant sections you are looking for are detailed below... On the pendrive I have a folder called smartstuff_install that has the files I want modified. These get copied across after the postpartitioning-scripts to the root of the new install. Then in the chroot-scripts I copy them into the official locations. I also run some post-scripts to do other stuff as well. As I say, this is from a pendrive. I assume you could do it with a DVD in the same manner. I am using the <add-on> section to specify the updates repo and our own custom RPM's all from a pendrive. Let me know if you want any more information. ==== <postpartitioning-scripts config:type="list"> <script> <filename>postpart.sh</ filename> <interpreter>shell</interpreter> <debug config:type="boolean">false</debug> <feedback config:type="boolean">true</feedback> <source><![CDATA[ #!/bin/sh # postpartitioning script for installation of openSUSE 12.3 from USB pendrive to HDD. # These run immediately following formatting... # # Stephen Fergusson # stephen@@@smartcom.co.nz # 31/03/2013 # # determine mountpoint of USB stick. maybe not the best way to do this but it works. # mountpoint=`df | grep "/var/adm/mount/" | awk '{ print $6 }'` # # copy what we want into the new install so we can use the files later. # mkdir -p /mnt/smart/src/opensuse_initial_install cp -a $mountpoint/smartstuff_install/firstboot.xml /mnt/smart/src/opensuse_initial_install/. cp -a $mountpoint/smartstuff_install/inst_congratulate.ycp /mnt/smart/src/opensuse_initial_install/. cp -a $mountpoint/smartstuff_install/YaST2.call /mnt/smart/src/opensuse_initial_install/. ]]> </source> </script> </postpartitioning-scripts> <chroot-scripts config:type="list"> <script> <chrooted config:type="boolean">true</chrooted> <filename>chroot.sh</filename> <interpreter>shell</interpreter> <source><![CDATA[ #!/bin/sh # chroot script for installation of openSUSE 12.3 from USB pendrive to HDD. # These run after the OS has been installed. # # Stephen Fergusson # stephen@@@smartcom.co.nz # 31/03/2013 # # modify the YaST/autoYaST file ag_initscripts as per bug 801878. # sed -i 's/\/sbin\/runlevel/SYSTEMCTL_OPTIONS="" \/sbin\/runlevel/g' /usr/lib/YaST2/servers_non_y2/ag_initscripts # # copy in our firstboot.xml script... all features are false. seems strange we have to do this but the # install hangs on firstboot if firstboot is "false" in the autoinst.xml file. # cp -a /etc/YaST2/firstboot.xml /etc/YaST2/firstboot.xml.smart cp -a /smart/src/opensuse_initial_install/firstboot.xml /etc/YaST2/. # # copy in modded version of YaST2.call to ensure X-Server is killed during installation # - modded to do a kill -9 # cp -a /smart/src/opensuse_initial_install/YaST2.call /usr/lib/YaST2/startup/. # # mv the repos so that they are not used on firstboot or in the future. # cd /etc/zypp/repos.d rename .repo .repo.smart *.repo cd - # # fix the inst_congratulate.ycp file so it auto clicks next on the 'Finish' screen. this makes the # install completely automated. make a backup copy of the original file first. # cp -a /usr/share/YaST2/clients/inst_congratulate.ycp /usr/share/YaST2/clients/inst_congratulate.ycp.smart cp -a /smart/src/opensuse_initial_install/inst_congratulate.ycp /usr/share/YaST2/clients/. ]]> </source> </script> </chroot-scripts> ==== Regards, Stephen. Stephen Fergusson, Director Smart Computer Systems Ltd 1 Birmingham Drive, Middleton, Christchurch, New Zealand P O Box 7702, Sydenham, Christchurch, New Zealand Ph +64 3 9822233 Fax +64 3 9822234 Mobile 0292123592 stephen@smartcom.co.nz http://www.smartcom.co.nz/ Suppliers of the Smart-Net Software Solution On Wed, Jun 19, 2013 at 11:00 AM, Stephen Fergusson <stephen@smartcom.co.nz> wrote:
Hi,
I changed the file /usr/lib/YaST2/startup/YaST2.call in section 9.2 where it does a kill $xserver.pid to a kill -9 $xserver.pid. Maybe not 100% a good idea but it works.
It is strange that it only happens on certain hardware.
Regards, Stephen.
On Tue, Jun 18, 2013 at 8:58 PM, m.frerichs <m.frerichs@fz-juelich.de> wrote:
Hello members of list,
I encountered the same problem with the auto-installation of OpenSuSE 12.3 , as described in BUG 811452 using the same successful tools as for installing 12.1 last year.
Xorg is looping when system should halt!!! Who knows a workaround? What are you doing in the meantime , Mr.Brauchle?
Best regards
+----------------------------------------------------------------------+ | Marianne Frerichs | | Juelich Supercomputing Centre (JSC) | | Institute for Advanced Simulation (IAS) | | Forschungszentrum Juelich GmbH | | D-52425 Juelich | | Phone: +49 02461 61-1466 | | Email: M.Frerichs@fz-juelich.de Fax: +49 02461 61-6656 | +----------------------------------------------------------------------+
:~ # ps -ef | grep 746 root 746 1 0 10:29 tty1 00:00:00 /bin/sh /usr/lib/YaST2/startup/YaST2.Second-Stage root 3076 746 0 10:30 tty1 00:00:00 /bin/sh /usr/lib/YaST2/startup/YaST2.call installation continue
:~ # ps -ef | grep 3076 root 3076 746 0 10:30 tty1 00:00:00 /bin/sh /usr/lib/YaST2/startup/YaST2.call installation continue root 3702 3076 0 10:30 tty7 00:00:06 Xorg -noreset -br -deferglyphs 16 vt07 root 10560 3076 0 10:43 tty1 00:00:00 sleep 1
------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
participants (3)
-
Joschi Brauchle
-
m.frerichs
-
Stephen Fergusson