Hi Guys,
I'm having problems installing suse 10 on on an LPAR on IBM pseries.
I boot using bootp pointing to "inst64", and I'm doing an nfs install. Everything works if I do this manually but I'd like to be able to use bootp and install using autoyast. I don't know how to pass autoyast parameter, I've tried to add it to yaboot.conf but didn't work.
I'm not very familiar with suse...
Any suggestions?
Thanks a lot,
Gabriel
Hello everyone!
I'm trying to install SLES10 in an IBM OpenPower machine, and I'm having some
weird problems when AY starts to format the partitions. The issue takes place
when it tries to set up the swap partition ID to 0x82. Sometimes AY just
breaks and I get back to the shell, sometimes it shows an error
message: -1012 "could not set /dev/sda7 id to 82".
Taking a look at the y2log file, it's possible to see that the error -1012
shows up when AY calls parted to set the partition ID. Before actually
setting the ID, it calls parted a couple of times to set lvm, boot and raid
to off. When it calls parted to set raid off on the swap partition, parted
returns -127, and AY returns -1012.
On the other hand, when parted seems to work, AY gets stuck right after
calling parted to set the swap partition ID to 0x82, as you can see on the
snippet below from the y2log file:
2006-11-23 00:19:20,107 INFO libstorage(22350) - SystemCmd.cc(execute):160
SystemCmd Executing:"/usr/sbin/parted -s /dev/sda unit cyl print"
2006-11-23 00:19:20,654 INFO libstorage(22350) - SystemCmd.cc(addLine):625
Adding Line 1 "Disk geometry for /dev/sda: 0cyl - 1044cyl"
2006-11-23 00:19:20,654 INFO libstorage(22350) - SystemCmd.cc(addLine):625
Adding Line 2 "BIOS cylinder,head,sector geometry: 1044,255,63. Each
cylinder is 8225kB."
2006-11-23 00:19:20,656 INFO libstorage(22350) - SystemCmd.cc(addLine):625
Adding Line 3 "Disk label type: msdos"
2006-11-23 00:19:20,656 INFO libstorage(22350) - SystemCmd.cc(addLine):625
Adding Line 4 "Number Start End Size Type File system Flags"
2006-11-23 00:19:20,656 INFO libstorage(22350) - SystemCmd.cc(addLine):625
Adding Line 5 "1 0cyl 0cyl 0cyl primary ext2
type=41, prep"
2006-11-23 00:19:20,656 INFO libstorage(22350) - SystemCmd.cc(addLine):625
Adding Line 6 "2 1cyl 1043cyl 1043cyl extended lba,
type=0f"
2006-11-23 00:19:20,656 INFO libstorage(22350) - SystemCmd.cc(addLine):625
Adding Line 7 "5 1cyl 17cyl 16cyl logical ext3
type=83"
2006-11-23 00:19:20,656 INFO libstorage(22350) - SystemCmd.cc(addLine):625
Adding Line 8 "6 18cyl 912cyl 894cyl logical
type=83"
2006-11-23 00:19:20,656 INFO libstorage(22350) - SystemCmd.cc(addLine):625
Adding Line 9 "7 913cyl 1043cyl 130cyl logical
type=82"
2006-11-23 00:19:20,656 INFO libstorage(22350) -
SystemCmd.cc(getUntilEOF):591 pid:23611 added lines:9 stderr:0
2006-11-23 00:19:20,656 INFO libstorage(22350) - SystemCmd.cc(doExecute):305
system() Returns:0
2006-11-23 00:19:20,668 INFO libstorage(22350) - Disk.cc(doCreate):2075
zeroNew:0 used_as_pv:0
2006-11-23 00:19:20,669 INFO libstorage(22350) - Disk.cc(doSetType):1771
doSetType container sda name sda7
2006-11-23 00:19:20,713 INFO libstorage(22350) - Storage.cc(showInfoCb):4133
INSTALL INFO:Setting type of partition /dev/sda7 to 82
2006-11-23 00:19:20,889 INFO libstorage(22350) - SystemCmd.cc(execute):160
SystemCmd Executing:"/usr/sbin/parted -s /dev/sda set 7 lvm off"
2006-11-23 00:19:21,397 INFO libstorage(22350) - SystemCmd.cc(doExecute):305
system() Returns:0
2006-11-23 00:19:21,405 INFO libstorage(22350) - SystemCmd.cc(execute):160
SystemCmd Executing:"/usr/sbin/parted -s /dev/sda set 7 raid off"
2006-11-23 00:19:30,993 INFO libstorage(22350) - SystemCmd.cc(doExecute):305
system() Returns:0
2006-11-23 00:19:31,476 INFO libstorage(22350) - SystemCmd.cc(execute):160
SystemCmd Executing:"/usr/sbin/parted -s /dev/sda set 7 boot off"
2006-11-23 00:19:32,270 INFO libstorage(22350) - SystemCmd.cc(doExecute):305
system() Returns:0
2006-11-23 00:19:32,453 INFO libstorage(22350) - SystemCmd.cc(execute):160
SystemCmd Executing:"/usr/sbin/parted -s /dev/sda set 7 type 130"
2006-11-23 00:20:01 <1> IBM(22350) [zypp::SourceManager]
SourceManager.cc(~SourceManager):139 Deleted SourceManager Singleton.
2006-11-23 00:20:03 <1> IBM(24121) [zypp::SourceManager]
SourceManager.cc(~SourceManager):139 Deleted SourceManager Singleton.
2006-11-23 00:20:05 <0> IBM(22350) [zypp] PathInfo.cc(_Log_Result):295
recursive_rmdir /var/tmp/zypp.KwZ7Lv
2006-11-23 00:20:05 <0> IBM(22350) [zypp] TmpPath.cc(~Impl):78 TmpPath cleaned
up /var/tmp/zypp.KwZ7Lv{d 0700 0/0}
2006-11-23 00:20:05 <1> IBM(22350) [Y2Perl] YPerl.cc(destroy):163 Shutting
down embedded Perl interpreter.
2006-11-23 00:20:05 <1> IBM(24121) [Y2Perl] YPerl.cc(destroy):163 Shutting
down embedded Perl interpreter.
It seems that on this case, parted never returns when setting the partition
id?
I have other machines here, where I could successfully install SLES10 using
the same profile I am trying to use at the OpenPower:
IBM p5 ( pSeries )
IBM JS-20
The OpenPower and the p5 are configured with LPARs containing the same amount
of memory and 2 virtual scsi disks.
Other thing to consider: I am able to use a similar SLES9 profile (with the
same partitioning scheme) and successfully partition my disks in the
OpenPower (using SLES9 of course).
Let me know if you need to take a look at the profile. Perhaps it's not
necessary since I am successfully using the same one at other machines and it
works just fine.
I really appreciate your help, looking forward to hearing from you.
Best Regards,
--
Lucas Franco
IBM Linux Technology Center
Mobile: +55 19 9607 4828
lucasgf(a)br.ibm.com
> _____________________________________________
> From: Ness, Todd
> Sent: Wednesday, November 22, 2006 8:13 AM
> To: suse-autoinstall(a)suse.com
> Subject: SLED10 + custom packages
>
> I have a network SLED10 autoinstall working with classes and rules
> nicely,
> now I want to add custom packages to my installs
>
> following the instructions found at
> http://www.suse.de/~ug/AutoYaST_FAQ.html#b9
> http://en.opensuse.org/Inst-source-utils#Short_description_of_the_scri
> pts
> I add a new installation source with create_update_source.sh add my
> RPMS, then do all the steps above including those in the comments of
> the create_update_source.sh script
>
> I have added the
> <signature-handling>
> <accept_unknown_gpg_key
> config:type="boolean">true</accept_unknown_gpg_key>
> </signature-handling>
> section in my profile
>
> When the build starts I always get the error that my 4 packages are
> missing.
>
> y2log is included. had to be excluded because of size, I can not find
> any useful errors in the log except for this:
2006-11-22 09:58:26 <5> 192.168.1.181(3343) [base]
Exception.cc(log):94 SourceFactory.cc(createFrom):213 THROW:
SourceFactory.cc(createFrom):213: Cannot create the installation source
2006-11-22 09:58:26 <3> 192.168.1.181(3343) [wfm]
Source.cc(SourceCreateEx):1146 SourceCreate for
'http://192.168.1.200/SLED10/media.orig/updates' product '/' has failed
> Also. I have used makeSUSEdvd script to make a bootable DVD and added
> these packages. the DVD build appears to work, but if I make a network
> install media out of this DVD, all of the packages are missing instead
> of just my 4.
>
> Any help would be appreciated.
>
> Todd Ness
> EDS - Sun Microsystems JDS Model Office
> Home Office - +1-303-255-4530
> Sun Model Office - +1-303-272-3924
> Lakewood Office - +1-303-763-3832
> Mobile Phone - +1-303-263-2589
>
>
i have been installing 32bit (suse 9.x) but would now like to try the
64bit version...what parts of my netinstall/autoinst env need to be
changed? do i have to have a 64 bit install system to install? I hoped
that it was just a matter of adding the x86_64 stuff...but it then only
installed the noarch packages...I am guessing I need the 64bit root,
kernel and initrd at least...any pointers or info would be great
thanks
Lee
sles10, x86_64.
desired setup :
disks 1 & 2 each have 2 partitions mirrored, resulting in two md devices
(md0 raw raid 1 and md1 with lvm vg on top of it);
disks 3-5 are in raid5 with single lvm vg on top of it.
this setup can be easily achieved during manual setup and works nicely.
attempting to do that during autoinstallation fails, using a profile
generated from the system, previously installed manually.
yast complains that "A logical volume with the requested size could not
be created." during partition plan creation step 3 times, then fails
with -4004 error during actual creation step.
looking at y2log, i found some weird output :
first, everything seem fine -
INFO libstorage(3297) - SystemCmd.cc(addLine):625 Adding Line 1 " 1
logical volume(s) in volume group "data" now active"
INFO libstorage(3297) - SystemCmd.cc(addLine):625 Adding Line 2 " 3
logical volume(s) in volume group "system" now active"
later, two vgs are succesfully added and have correct sizes :
INFO libstorage(3297) - SystemCmd.cc(addLine):625 Adding Line 1 "
"data" 273.43 GB [273.40 GB used / 24.00 MB free]"
INFO libstorage(3297) - SystemCmd.cc(addLine):625 Adding Line 2 "
"system" 33.86 GB [33.80 GB used / 56.00 MB free]"
then, at some point, yast has problems accessing md1, recreates it and
decides to grab first lvm vg space (md1, system) for second vg (data,
supposed to use md2 only) :
INFO libstorage(6082) - MdCo.cc(getMdData):163 mdstat line:md1 : active
raid1 cciss/c0d1p2[1] cciss/c0d0p2[0]
INFO libstorage(6082) - LvmVg.cc(doCreatePv):1261 dev:/dev/md1
INFO libstorage(6082) - SystemCmd.cc(execute):160 SystemCmd
Executing:"mdadm --zero-superblock /dev/md1"
INFO libstorage(6082) - SystemCmd.cc(addLine):625 Adding Line 1 "mdadm:
Unrecognised md component device - /dev/md1"
INFO libstorage(6082) - SystemCmd.cc(logOutput):636 stderr:mdadm:
Unrecognised md component device - /dev/md1
...
INFO libstorage(6082) - Storage.cc(removeDmMapsTo):3364 dm:Lv
Device:/dev/data/var Name:var SizeK:2
86683136 Node <0:0> created format fs:reiserfs det_fs:none
alt_names:</dev/mapper/data-var /dev/mapper/data-var> LE:69991 Ta
ble:data-var Target: pe_map:</dev/md1:8667 /dev/md2:61324>
...
INFO libstorage(6082) - SystemCmd.cc(addLine):625 Adding Line 1 "
Physical volume "/dev/md1" successfully created"
INFO libstorage(6082) - Storage.cc(removeDmMapsTo):3364 dm:Lv
Device:/dev/data/var Name:var SizeK:286683136 Node <0:0> created format
fs:reiserfs det_fs:none alt_names:</dev/mapper/data-var
/dev/mapper/data-var> LE:69991 Table:data-var Target:
pe_map:</dev/md1:8667 /dev/md2:61324>
...
INFO libstorage(6082) - Container.cc(commitChanges):111
vol:Device:/dev/md1 Nr:1 SizeK:35503650 Node <9:1> created UsedBy:lvm[data]
...
INFO libstorage(6082) - Storage.cc(setUsedBy):4099 dev:/dev/md1 usedBy
1:data ret:1
INFO libstorage(6082) - Storage.cc(setUsedBy):4099 dev:/dev/md2 usedBy
1:data ret:1
so the main problem seems to be mdadm, being unable to work with
/dev/md1, which is supposedly active (according to mdstat) and has an
lvm vg on top of it.
is this a problem with the profile or any of the support tools ?
how could this be resolved ?
--
Rich
> On Saturday 18 November 2006 07:30, Alexander Schanz wrote:
>
>> When selecting the Time-Zone UTC in the AutoYast GUI UCT is written in
>> the XML File resulting in the LOCAL-Timezone in the installed System.
>
> SUSE Linux Version?
Sorry , we are unsing SLES 10.
>
> --
> ciao, Uwe Gansert
>
> Uwe Gansert, Server Technologies Team
> SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany
> Business: http://www.suse.de/~ug
> now playing VNV Nation - Rubicon
>
> --
> To unsubscribe, e-mail: suse-autoinstall-unsubscribe(a)suse.com
> For additional commands, e-mail: suse-autoinstall-help(a)suse.com
>
>
>
Hi all:
It's posible to specify several sources to autoinstall a machine?
I've two repositories, the first with stock suse 10.1 and the second
with my own repository and I want to install machines using pacakges
from both repositories...
It's posible?
Greetings.
In fact I have added this program paragraph, but the dm-mod and the
dm-snapshot pop-up message always still came up. What can I do?
<report>
<errors>
<log config:type="boolean">true</log>
<show config:type="boolean">true</show>
<timeout config:type="integer">1</timeout>
</errors>
<messages>
<log config:type="boolean">true</log>
<show config:type="boolean">true</show>
<timeout config:type="integer">1</timeout>
</messages>
<warnings>
<log config:type="boolean">true</log>
<show config:type="boolean">true</show>
<timeout config:type="integer">1</timeout>
</warnings>
</report>
Mit freundlichen Grüßen
Sincerely,
Sincères salutations,
Florian Meermeier