SLES 9 SP2 frustrations with x86_64
So, I'm attempting to work with Novell's support, but that's turning into a slower process than I thought it would be. Here's my setup. I've got a dozen Dell SC1425 with dual drives, which I want to do software RAID on. I do not have these boxes setup for "hardware raid" which is the first caveat on them. My process was thus : 1. Use Yast2 to create an installation source (x86_64) 2. Use Yast2 to patch the installation source with SP2 3. build a server manually 4. Use Yast to create a reference file 5. Try to install . This always fails. I get one or two errors, either Error An error occurred whiel trying to create the partitioning plans. Make sure the control file has the correct syntax and values. Or An error occurred during partitioning. Now, beyond being all fancy, I've tried using : - The control file included on the SP1 cd - The control file from the yast2-autoinstall file I've tried doing these both with, and without any partitoning. I always get these errors. At one point, I believe I did actually get an autoinstall to work with no partitioning, but it's been so long I forget. This is really frustrating. When I create an reference file from a machine, then try to validate it, that should not fail, I don't even have the remote ability to break it. I am starting to believe that yast2's method of creating an installation is terribly broken. Here's what I end up with : drwxr-xr-x 7 root root 168 Aug 30 18:35 SUSE-CORE-Version-9 drwxr-xr-x 5 root root 120 Aug 30 18:47 SUSE-SLES-9-Service-Pack-Version-2 drwxr-xr-x 3 root root 72 Aug 30 18:30 SUSE-SLES-Version-9 lrwxrwxrwx 1 root root 28 Aug 30 18:31 boot -> SUSE-SLES-Version-9/CD1/boot lrwxrwxrwx 1 root root 31 Aug 30 18:31 content -> SUSE-SLES-Version-9/CD1/content -r--r--r-- 1 root root 17621 Aug 31 00:27 control.xml lrwxrwxrwx 1 root root 51 Aug 30 18:38 driverupdate -> SUSE-SLES-9-Service-Pack-Version-2/CD1/driverupdate lrwxrwxrwx 1 root root 44 Aug 30 18:38 linux -> SUSE-SLES-9-Service-Pack-Version-2/CD1/linux lrwxrwxrwx 1 root root 31 Aug 30 18:31 media.1 -> SUSE-SLES-Version-9/CD1/media.1 drwxr-xr-x 2 root root 104 Aug 30 18:36 yast I have tried : - Booting from the initrd & kernel which comes with SLES9 - Booting from the initrd & kernel which comes with SP2 - Copying the initrd and kernel from SP2/CD1/boot into SUSE-SLES-Version-9/CD1/boot (overwriting the default) - A hundred different variations of all this. Does anybody have any good ideas before I give up?
Seriously, though. Is there anything wrong with this control file? I can't figure out how to possibly get any more basic. <?xml version="1.0"?> <!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd"> <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> <install> <general> <clock> <hwclock>UTC</hwclock> <timezone>US/Pacific</timezone> </clock> <keyboard> <keymap>english-us</keymap> </keyboard> <language>en_US</language> <mode> <confirm config:type="boolean">false</confirm> </mode> <mouse> <id>none</id> </mouse> </general> <partitioning config:type="list"> <drive> <use>all</use> </drive> </partitioning> <report> <errors> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </errors> <messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </messages> <warnings> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </warnings> <yesno_messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </yesno_messages> </report> <software> <base>default</base> </software> </install> </profile>
On 8/31/05, Michael T. Halligan <michael@halligan.org> wrote:
Seriously, though. Is there anything wrong with this control file? I can't figure out how to possibly get any more basic.
Doing it another way. Attached a working autoyast configfile that setups software raid and LVM. I'm using this config to deploy x86 (32bit) SLES 9 SP2. Regards, Tim -- Tim Verhoeven - dj@rootshell.be - 0479 / 88 11 83 /* This is total bullshit: */ linux-2.6.6/drivers/video/sis/init301.c
Tim, Thanks. This is making me think that autoyast2 for x86_64 is terribly broken. If I open this up in Yast, it doesn't even see any drives configured. Tim Verhoeven wrote:
On 8/31/05, *Michael T. Halligan* <michael@halligan.org <mailto:michael@halligan.org>> wrote:
Seriously, though. Is there anything wrong with this control file? I can't figure out how to possibly get any more basic.
Doing it another way. Attached a working autoyast configfile that setups software raid and LVM. I'm using this config to deploy x86 (32bit) SLES 9 SP2.
Regards, Tim
-- Tim Verhoeven - dj@rootshell.be <mailto:dj@rootshell.be> - 0479 / 88 11 83
/* This is total bullshit: */ linux-2.6.6/drivers/video/sis/init301.c
------------------------------------------------------------------------
<?xml version="1.0"?> <!DOCTYPE profile SYSTEM "/usr/share/YaST2/include/autoinstall/profile.dtd"> <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> <configure> <inetd> <netd_conf config:type="list"> <conf> <protocol>tcp</protocol> <script>telnet</script> <server>/usr/sbin/in.telnetd</server> <service>telnet</service> </conf> </netd_conf> <netd_service config:type="symbol">xinetd</netd_service> <netd_status config:type="integer">0</netd_status> </inetd> <networking> <dns> <domain></domain> <hostname></hostname> </dns> <interfaces config:type="list"/> </networking> <users config:type="list"> <user> <encrypted config:type="boolean">true</encrypted> <user_password>AABBXXDD</user_password> <username>root</username> </user> </users> <scripts> <pre-scripts config:type="list"> </pre-scripts> <post-scripts config:type="list"> </post-scripts> <chroot-scripts config:type="list"> </chroot-scripts> </scripts> <runlevel> <default>3</default> </runlevel> </configure> <install> <partitioning config:type="list"> <drive> <device>/dev/sda</device> <partitions config:type="list"> <partition> <format config:type="boolean">false</format> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">1</partition_nr> <partition_type>primary</partition_type> <filesystem config:type="symbol">ext2</filesystem> <format config:type="boolean">true</format> <mount>/boot</mount> <size>50M</size> </partition> <partition> <format config:type="boolean">false</format> <partition_id config:type="integer">253</partition_id> <partition_nr config:type="integer">2</partition_nr> <raid_name>/dev/md0</raid_name> <raid_type>raid</raid_type> <size>20G</size> </partition> <partition> <format config:type="boolean">false</format> <partition_id config:type="integer">253</partition_id> <partition_nr config:type="integer">3</partition_nr> <raid_name>/dev/md1</raid_name> <raid_type>raid</raid_type> <size>max</size> </partition> </partitions> <use>all</use> </drive> <drive> <device>/dev/sdb</device> <partitions config:type="list"> <partition> <format config:type="boolean">false</format> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">1</partition_nr> <partition_type>primary</partition_type> <size>50M</size> </partition> <partition> <format config:type="boolean">false</format> <partition_id config:type="integer">253</partition_id> <partition_nr config:type="integer">2</partition_nr> <raid_name>/dev/md0</raid_name> <raid_type>raid</raid_type> <size>20G</size> </partition> <partition> <format config:type="boolean">false</format> <partition_id config:type="integer">253</partition_id> <partition_nr config:type="integer">3</partition_nr> <raid_name>/dev/md1</raid_name> <raid_type>raid</raid_type> <size>max</size> </partition> </partitions> <use>all</use> </drive> <drive> <device>/dev/md</device> <partitions config:type="list"> <partition> <lvm_group>rootvg</lvm_group> <partition_id config:type="integer">142</partition_id> <partition_nr config:type="integer">0</partition_nr> <raid_options> <persistent_superblock config:type="boolean">true</persistent_superblock> <raid_type>raid1</raid_type> </raid_options> <size>max</size> </partition> <partition> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">1</partition_nr> <raid_options> <persistent_superblock config:type="boolean">true</persistent_superblock> <raid_type>raid0</raid_type> </raid_options> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <mount>/tmp</mount> <size>max</size> </partition> </partitions> <use>all</use> </drive> <drive> <device>/dev/rootvg</device> <is_lvm_vg config:type="boolean">true</is_lvm_vg> <lvm2 config:type="boolean">true</lvm2> <partitions config:type="list"> <partition> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <lv_name>rootlv</lv_name> <mount>/</mount> <partition_id config:type="integer">142</partition_id> <size>500MB</size> </partition> <partition> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <lv_name>usrlv</lv_name> <mount>/usr</mount> <partition_id config:type="integer">142</partition_id> <size>2048MB</size> </partition> <partition> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <lv_name>varlv</lv_name> <mount>/var</mount> <partition_id config:type="integer">142</partition_id> <size>1024MB</size> </partition> <partition> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <lv_name>optlv</lv_name> <mount>/opt</mount> <partition_id config:type="integer">142</partition_id> <size>2048MB</size> </partition> <partition> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <lv_name>homelv</lv_name> <mount>/home</mount> <partition_id config:type="integer">142</partition_id> <size>2048MB</size> </partition> <partition> <filesystem config:type="symbol">swap</filesystem> <format config:type="boolean">true</format> <lv_name>swaplv</lv_name> <mount>swap</mount> <partition_id config:type="integer">142</partition_id> <size>2048MB</size> </partition> </partitions> <pesize>32M</pesize> <use>all</use> </drive> </partitioning> <bootloader> <activate config:type="boolean">true</activate> <lba_support config:type="boolean">false</lba_support> <linear config:type="boolean">false</linear> <kernel_parameters>acpi=oldboot</kernel_parameters> </bootloader> <report> <messages> <show>true</show> <timeout>3</timeout> <log>true</log> </messages> <errors> <show>true</show> <timeout>3</timeout> <log>true</log> </errors> <warnings> <show>true</show> <timeout>3</timeout> <log>true</log> </warnings> </report> <general> <clock> <hwclock>UTC</hwclock> <timezone>Europe/Brussels</timezone> </clock> <keyboard> <keymap>belgian</keymap> </keyboard> <language>en_US</language> <mode> <forceboot config:type="boolean">false</forceboot> <interactive_boot config:type="boolean">false</interactive_boot> <reboot config:type="boolean">false</reboot> <confirm config:type="boolean">false</confirm> </mode> </general> <init> <info_file> <![CDATA[ # # Don't remove the following line: # start_linuxrc_conf # install: nfs://serverip/dir Usedhcp: 1 Textmode: 1
# end_linuxrc_conf # Do not remove the above comment #]]> </info_file> <instmode>nfs</instmode> <profile_location></profile_location> <profile_protocol>nfs</profile_protocol> <profile_server></profile_server> <server></server> <serverdir></serverdir> <textmode config:type="boolean">true</textmode> <usedhcp config:type="boolean">true</usedhcp> </init> <software> <base>Minimal+X11</base> <packages config:type="list"> <package>kernel-smp</package> <package>xntp</package> <package>rsync</package> <package>gnome-libs</package> <package>compat</package> <package>telnet-server</package> <package>rsh-server</package> <package>screen</package> <package>gettext</package> </packages> </software> </install> </profile>
-- Michael T. Halligan Chief Technology Officer ------------------- BitPusher, LLC http://www.bitpusher.com/ 1.888.9PUSHER 415.724.7998 (Mobile) 415.520.0876 (Fax)
Tim, My wife may wake up tomorrow angry at me staying up all-night working on this, but somehow I've got it working thanks to yours & Hans' help. The good news, is it worked, the bad news, is I'm not sure why. The steps I've followed since your e-mails : deleted & rebuilt my install source again booted up witn an info file for the first time (never had done that) ran xmllint on your autoinstall.xml file, opened it up in a manually installed x86_64 server that had just been patched, modified it to fit my environment. And, yeah. I have a server installed with software raid, lvm, all through autoinstall. If you're ever in San Francisco, I owe you both beer! Thank you. Michael Tim Verhoeven wrote:
On 8/31/05, *Michael T. Halligan* <michael@halligan.org <mailto:michael@halligan.org>> wrote:
Seriously, though. Is there anything wrong with this control file? I can't figure out how to possibly get any more basic.
Doing it another way. Attached a working autoyast configfile that setups software raid and LVM. I'm using this config to deploy x86 (32bit) SLES 9 SP2.
Regards, Tim
-- Tim Verhoeven - dj@rootshell.be <mailto:dj@rootshell.be> - 0479 / 88 11 83
/* This is total bullshit: */ linux-2.6.6/drivers/video/sis/init301.c
------------------------------------------------------------------------
<?xml version="1.0"?> <!DOCTYPE profile SYSTEM "/usr/share/YaST2/include/autoinstall/profile.dtd"> <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> <configure> <inetd> <netd_conf config:type="list"> <conf> <protocol>tcp</protocol> <script>telnet</script> <server>/usr/sbin/in.telnetd</server> <service>telnet</service> </conf> </netd_conf> <netd_service config:type="symbol">xinetd</netd_service> <netd_status config:type="integer">0</netd_status> </inetd> <networking> <dns> <domain></domain> <hostname></hostname> </dns> <interfaces config:type="list"/> </networking> <users config:type="list"> <user> <encrypted config:type="boolean">true</encrypted> <user_password>AABBXXDD</user_password> <username>root</username> </user> </users> <scripts> <pre-scripts config:type="list"> </pre-scripts> <post-scripts config:type="list"> </post-scripts> <chroot-scripts config:type="list"> </chroot-scripts> </scripts>
<runlevel> <default>3</default> </runlevel> </configure> <install> <partitioning config:type="list"> <drive> <device>/dev/sda</device> <partitions config:type="list"> <partition> <format config:type="boolean">false</format> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">1</partition_nr> <partition_type>primary</partition_type> <filesystem config:type="symbol">ext2</filesystem> <format config:type="boolean">true</format> <mount>/boot</mount> <size>50M</size> </partition> <partition> <format config:type="boolean">false</format> <partition_id config:type="integer">253</partition_id> <partition_nr config:type="integer">2</partition_nr> <raid_name>/dev/md0</raid_name> <raid_type>raid</raid_type> <size>20G</size> </partition> <partition> <format config:type="boolean">false</format> <partition_id config:type="integer">253</partition_id> <partition_nr config:type="integer">3</partition_nr> <raid_name>/dev/md1</raid_name> <raid_type>raid</raid_type> <size>max</size> </partition> </partitions> <use>all</use> </drive> <drive> <device>/dev/sdb</device> <partitions config:type="list"> <partition> <format config:type="boolean">false</format> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">1</partition_nr> <partition_type>primary</partition_type> <size>50M</size> </partition> <partition> <format config:type="boolean">false</format> <partition_id config:type="integer">253</partition_id> <partition_nr config:type="integer">2</partition_nr> <raid_name>/dev/md0</raid_name> <raid_type>raid</raid_type> <size>20G</size> </partition> <partition> <format config:type="boolean">false</format> <partition_id config:type="integer">253</partition_id> <partition_nr config:type="integer">3</partition_nr> <raid_name>/dev/md1</raid_name> <raid_type>raid</raid_type> <size>max</size> </partition> </partitions> <use>all</use> </drive> <drive> <device>/dev/md</device> <partitions config:type="list"> <partition> <lvm_group>rootvg</lvm_group> <partition_id config:type="integer">142</partition_id> <partition_nr config:type="integer">0</partition_nr> <raid_options> <persistent_superblock config:type="boolean">true</persistent_superblock> <raid_type>raid1</raid_type> </raid_options> <size>max</size> </partition> <partition> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">1</partition_nr> <raid_options> <persistent_superblock config:type="boolean">true</persistent_superblock> <raid_type>raid0</raid_type> </raid_options> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <mount>/tmp</mount> <size>max</size> </partition> </partitions> <use>all</use> </drive> <drive> <device>/dev/rootvg</device> <is_lvm_vg config:type="boolean">true</is_lvm_vg> <lvm2 config:type="boolean">true</lvm2> <partitions config:type="list"> <partition> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <lv_name>rootlv</lv_name> <mount>/</mount> <partition_id config:type="integer">142</partition_id> <size>500MB</size> </partition> <partition> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <lv_name>usrlv</lv_name> <mount>/usr</mount> <partition_id config:type="integer">142</partition_id> <size>2048MB</size> </partition> <partition> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <lv_name>varlv</lv_name> <mount>/var</mount> <partition_id config:type="integer">142</partition_id> <size>1024MB</size> </partition> <partition> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <lv_name>optlv</lv_name> <mount>/opt</mount> <partition_id config:type="integer">142</partition_id> <size>2048MB</size> </partition> <partition> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <lv_name>homelv</lv_name> <mount>/home</mount> <partition_id config:type="integer">142</partition_id> <size>2048MB</size> </partition> <partition> <filesystem config:type="symbol">swap</filesystem> <format config:type="boolean">true</format> <lv_name>swaplv</lv_name> <mount>swap</mount> <partition_id config:type="integer">142</partition_id> <size>2048MB</size> </partition> </partitions> <pesize>32M</pesize> <use>all</use> </drive> </partitioning> <bootloader> <activate config:type="boolean">true</activate> <lba_support config:type="boolean">false</lba_support> <linear config:type="boolean">false</linear> <kernel_parameters>acpi=oldboot</kernel_parameters> </bootloader> <report> <messages> <show>true</show> <timeout>3</timeout> <log>true</log> </messages> <errors> <show>true</show> <timeout>3</timeout> <log>true</log> </errors> <warnings> <show>true</show> <timeout>3</timeout> <log>true</log> </warnings> </report> <general> <clock> <hwclock>UTC</hwclock> <timezone>Europe/Brussels</timezone> </clock> <keyboard> <keymap>belgian</keymap> </keyboard> <language>en_US</language> <mode> <forceboot config:type="boolean">false</forceboot> <interactive_boot config:type="boolean">false</interactive_boot> <reboot config:type="boolean">false</reboot> <confirm config:type="boolean">false</confirm> </mode> </general> <init> <info_file> <![CDATA[ # # Don't remove the following line: # start_linuxrc_conf # install: nfs://serverip/dir Usedhcp: 1 Textmode: 1
# end_linuxrc_conf # Do not remove the above comment #]]> </info_file> <instmode>nfs</instmode> <profile_location></profile_location> <profile_protocol>nfs</profile_protocol> <profile_server></profile_server> <server></server> <serverdir></serverdir> <textmode config:type="boolean">true</textmode> <usedhcp config:type="boolean">true</usedhcp> </init> <software> <base>Minimal+X11</base> <packages config:type="list"> <package>kernel-smp</package> <package>xntp</package> <package>rsync</package> <package>gnome-libs</package> <package>compat</package> <package>telnet-server</package> <package>rsh-server</package> <package>screen</package> <package>gettext</package> </packages> </software> </install> </profile>
-- Michael T. Halligan Chief Technology Officer ------------------- BitPusher, LLC http://www.bitpusher.com/ 1.888.9PUSHER 415.724.7998 (Mobile) 415.520.0876 (Fax)
On 8/31/05, Michael T. Halligan <michael@halligan.org> wrote:
My wife may wake up tomorrow angry at me staying up all-night working on this, but somehow I've got it working thanks to yours & Hans' help.
The good news, is it worked, the bad news, is I'm not sure why.
The steps I've followed since your e-mails :
deleted & rebuilt my install source again booted up witn an info file for the first time (never had done that) ran xmllint on your autoinstall.xml file, opened it up in a manually installed x86_64 server that had just been patched, modified it to fit my environment.
In your previous mail you said you tried to open my xml file with yast and it won't show you any disks. Well, that is "normal" behaviour. Apparently the autoyast GUI does not support SW raid or LVM yet. So you can create the rest of your config using the GUI but the SW Raid and LVM part you will need to add manually. I've read it somewhere in the autoyast docs. But the GUI won't tell you :-( And, yeah. I have a server installed with software raid, lvm, all
through autoinstall.
So the lesson is to just edit the autoyast xml files manually. I've also create them all manually based from templates from other people. And If I can't find something then I first create a test file using the GUI and copy the parts I need. And if that didn't work read the docs again or ask here :-) If you're ever in San Francisco, I owe you both beer!
Thank you.
I'll try to remember :-) Good luck with it, Tim -- Tim Verhoeven - dj@rootshell.be - 0479 / 88 11 83 /* This is total bullshit: */ linux-2.6.6/drivers/video/sis/init301.c
Tim Verhoeven wrote:
On 8/31/05, *Michael T. Halligan* <michael@halligan.org <mailto:michael@halligan.org>> wrote:
My wife may wake up tomorrow angry at me staying up all-night working on this, but somehow I've got it working thanks to yours & Hans' help.
The good news, is it worked, the bad news, is I'm not sure why.
The steps I've followed since your e-mails :
deleted & rebuilt my install source again booted up witn an info file for the first time (never had done that) ran xmllint on your autoinstall.xml file, opened it up in a manually installed x86_64 server that had just been patched, modified it to fit my environment.
In your previous mail you said you tried to open my xml file with yast and it won't show you any disks. Well, that is "normal" behaviour. Apparently the autoyast GUI does not support SW raid or LVM yet. So you can create the rest of your config using the GUI but the SW Raid and LVM part you will need to add manually. I've read it somewhere in the autoyast docs. But the GUI won't tell you :-(
Tim, Actually, the problem with not seeing the disks was an extra line at the beginning of the file. Removing that made everything you had given me visible!
And, yeah. I have a server installed with software raid, lvm, all through autoinstall.
So the lesson is to just edit the autoyast xml files manually. I've also create them all manually based from templates from other people. And If I can't find something then I first create a test file using the GUI and copy the parts I need. And if that didn't work read the docs again or ask here :-)
Actually, I just think the version of the control file that SLES uses as it's template is buggy. Your version works fine using the Yast gui.. The difference here was night and day. Once I finally had a file that Yast would parse, I went from "pile of servers" to a dozen servers deployed and ready for testing in under an hour (it helps that I'd already built the configuration files).
If you're ever in San Francisco, I owe you both beer!
Thank you.
I'll try to remember :-)
Good luck with it, Tim
Thanks, and I really appreciate it. Michael
participants (2)
-
Michael T. Halligan
-
Tim Verhoeven