mkinitrd (or grub) hanging on install of sles10-b9
Working on autoyast install of SLES10-beta9 and I've got it going all the way to the end, but the main console hangs at "Creating initrd..." f2 console shows no processes related to initrd or grub running, yast processes just sitting there. last of logs show (went all the way back to the line saying rpm installs finished to be sure I got it all): Apr 4 17:58:48 jumpmm yast2[3324]: <1> [wfm] Source.cc(SourceFinishAll):234 All sources finished Apr 4 17:58:48 jumpmm yast2[3324]: <1> [wfm] clients/pkg_finish.ycp:51 Pkg Builtin called: TargetFinish Apr 4 17:58:48 jumpmm yast2[3324]: 2006-04-04 18:58:48 <1> 129.46.234.55(3324) [rpm] RpmDb.cc(closeDatabase):711 Calling closeDatabase: RpmDb[V4(Xcm)V3(---): '(/mnt)/var/lib/rpm'] Apr 4 17:58:48 jumpmm yast2[3324]: 2006-04-04 18:58:48 <1> 129.46.234.55(3324) [rpm] librpmDb.cc(blockAccess):313 Block access Apr 4 17:58:48 jumpmm yast2[3324]: 2006-04-04 18:58:48 <1> 129.46.234.55(3324) [rpm] RpmDb.cc(closeDatabase):739 closeDatabase: RpmDb[NO_INIT] Apr 4 17:58:48 jumpmm yast2[3324]: 2006-04-04 18:58:48 <1> 129.46.234.55(3324) [target] TargetImpl.cc(~TargetImpl):90 Targets closed Apr 4 17:58:48 jumpmm yast2[3324]: 2006-04-04 18:58:48 <1> 129.46.234.55(3324) [rpm] RpmDb.cc(~RpmDb):318 ~RpmDb() Apr 4 17:58:48 jumpmm yast2[3324]: 2006-04-04 18:58:48 <1> 129.46.234.55(3324) [rpm] RpmDb.cc(~RpmDb):323 ~RpmDb() end Apr 4 17:58:48 jumpmm yast2[3324]: <1> [YCP] clients/pkg_finish.ycp:66 pkg_finish finished Apr 4 17:58:48 jumpmm yast2[3324]: <1> [Interpreter] clients/pkg_finish.ycp:66 Called YaST client returned: nil Apr 4 17:58:48 jumpmm yast2[3324]: <1> [wfm] Y2CCWFM.cc(createInLevel):153 Parsing finished Apr 4 17:58:48 jumpmm yast2[3324]: <1> [Interpreter] clients/driver_update1_finish.ycp:60 Calling YaST client driver_update1_finish (arguments: ["Write"]) Apr 4 17:58:48 jumpmm yast2[3324]: <1> [YCP] clients/driver_update1_finish.ycp:33 starting driver_update1_finish Apr 4 17:58:48 jumpmm yast2[3324]: <3> [libscr] clients/driver_update1_finish.ycp:46 No SCR instance found Apr 4 17:58:48 jumpmm yast2[3324]: <1> [YCP] clients/driver_update1_finish.ycp:60 driver_update1_finish finished Apr 4 17:58:48 jumpmm yast2[3324]: <1> [Interpreter] clients/driver_update1_finish.ycp:60 Called YaST client returned: nil Apr 4 17:58:48 jumpmm yast2[3324]: <1> [wfm] Y2CCWFM.cc(createInLevel):153 Parsing finished Apr 4 17:58:48 jumpmm yast2[3324]: <1> [Interpreter] installation/misc.ycp:111 Calling YaST client yast_inf_finish (arguments: ["Write"]) Apr 4 17:58:48 jumpmm yast2[3324]: <1> [YCP] clients/yast_inf_finish.ycp:40 starting yast_inf_finish Apr 4 17:58:48 jumpmm yast2[3324]: <1> [YCP] Linuxrc.ycp:120 WriteYaSTInf($["Keytable":"us.map.gz", "Language":"en_US", "RebootMsg":"0", "Root":"reboot"]) = Keytable: us.map.gz Language: en_US RebootMsg: 0 Root: reboot Apr 4 17:58:48 jumpmm yast2[3324]: <3> [libscr] clients/yast_inf_finish.ycp:99 No SCR instance found Apr 4 17:58:48 jumpmm yast2[3324]: <3> [YCP] clients/yast_inf_finish.ycp:101 Couldn't create target /var/lib/YaST2/runme_at_boot Apr 4 17:58:48 jumpmm yast2[3324]: <1> [YCP] clients/yast_inf_finish.ycp:111 yast_inf_finish finished Apr 4 17:58:48 jumpmm yast2[3324]: <1> [Interpreter] installation/misc.ycp:111 Called YaST client returned: nil Apr 4 17:58:48 jumpmm yast2[3324]: <1> [wfm] Y2CCWFM.cc(createInLevel):153 Parsing finished Apr 4 17:58:48 jumpmm yast2[3324]: <1> [Interpreter] clients/bootloader_finish.ycp:135 Calling YaST client bootloader_finish (arguments: ["Write"]) Apr 4 17:58:48 jumpmm yast2[3324]: <1> [YCP] clients/bootloader_finish.ycp:37 starting bootloader_finish Apr 4 17:58:48 jumpmm yast2[3324]: <3> [libscr] clients/bootloader_finish.ycp:77 No SCR instance found Apr 4 17:58:48 jumpmm yast2[3324]: <1> [YCP] Bootloader.ycp:365 Writing bootloader configuration Apr 4 17:58:48 jumpmm yast2[3324]: <3> [libscr] Bootloader.ycp:410 No SCR instance found Apr 4 17:58:48 jumpmm yast2[3324]: <1> [YCP] Bootloader.ycp:418 Device mapper and LVM initialization output: nil Apr 4 17:58:48 jumpmm yast2[3324]: <1> [YCP] Initrd.ycp:342 Initrd::Write called, changed: true, list: ["amd74xx", "sata_nv", "processor", "thermal", "fan", "reiserfs"] Apr 4 17:58:48 jumpmm yast2[3324]: <3> [libscr] Initrd.ycp:367 No SCR instance found Apr 4 17:58:48 jumpmm yast2[3324]: <3> [libscr] Initrd.ycp:369 No SCR instance found Apr 4 17:58:48 jumpmm yast2[3324]: <1> [YCP] Initrd.ycp:377 Modules [] were added to initrd not using Initrd module Apr 4 17:58:48 jumpmm yast2[3324]: <3> [libscr] Initrd.ycp:386 No SCR instance found Apr 4 17:58:48 jumpmm yast2[3324]: <1> [YCP] Initrd.ycp:389 Writing modules amd74xx sata_nv processor thermal fan reiserfs Apr 4 17:58:48 jumpmm yast2[3324]: <3> [libscr] Initrd.ycp:390 No SCR instance found Apr 4 17:58:48 jumpmm yast2[3324]: <3> [libscr] Initrd.ycp:391 No SCR instance found Apr 4 17:58:48 jumpmm yast2[3324]: <3> [libscr] Initrd.ycp:396 No SCR instance found Apr 4 17:58:48 jumpmm yast2[3324]: <3> [libscr] Initrd.ycp:399 No SCR instance found Apr 4 17:58:48 jumpmm yast2[3324]: <3> [ui] YUI_widgets.cc(createRichText):1122 Invalid arguments for the Label RichText: `RichText (`opt (`plainText), nil) Apr 4 17:58:48 jumpmm yast2[3324]: <3> [ui] YUI_widgets.cc(widgetWithId):2404 No widget with `id( `ok_help ) Apr 4 17:58:48 jumpmm yast2[3324]: <3> [libycp] Initrd.ycp:327 No widget with `id( `ok_help ) ========= Not sure why it's hanging there. Not using any initrd configs in my profiles and grub config is (I know this section is short, I'm doing a lot of includes now): <install> <bootloader> <global config:type="list"> <global_entry> <key>prompt</key> <value config:type="boolean">false</value> </global_entry> </global> <loader_device></loader_device> <loader_type>grub</loader_type> <location>mbr</location> <repl_mbr config:type="boolean">true</repl_mbr> <sections config:type="list"/> </bootloader> <general> <mode> <confirm config:type="boolean">false</confirm> </mode> </general> </install> Also, I don't seem to seem to be copying over my pre/chroot/post scripts either, even though they're in the xml file on the host after all the includes and such. -- Mike Marion-Unix SysAdmin/Staff Engineer-http://www.qualcomm.com Frasier: "Well I had to, what with you underneath the covers with a flashlight looking at the National Geographics." Niles: "I was looking at the maps!" Frasier: "THAT'S what makes it so scary!" -- Frasier
On Tue, Apr 04, 2006 at 06:20:13PM -0700, Mike Marion wrote:
Working on autoyast install of SLES10-beta9 and I've got it going all the way to the end, but the main console hangs at "Creating initrd..." [snip] Apr 4 17:58:48 jumpmm yast2[3324]: <3> [ui] YUI_widgets.cc(createRichText):1122 Invalid arguments for the Label RichText: `RichText (`opt (`plainText), nil) Apr 4 17:58:48 jumpmm yast2[3324]: <3> [ui] YUI_widgets.cc(widgetWithId):2404 No widget with `id( `ok_help ) Apr 4 17:58:48 jumpmm yast2[3324]: <3> [libycp] Initrd.ycp:327 No widget with `id( `ok_help )
This appears to be a bug in Initrd.ycp when it's trying to open errorWithLogPopup. There appears to be an error because at least bootsplash isn't being installed, even if I add it to my software package list. Now I've even tried installing without any software listings at all (allowing it to default to the autoyast min) and it still fails. Haven't been able to get an autoyast install to work yet. -- Mike Marion-Unix SysAdmin/Staff Engineer-http://www.qualcomm.com Casey: We're not having a big sandwich! Brian: [slightly annoyed] This is Nanucket, its not San Francisco. We are a simple people. We fish our waters, we till our lands, we eat a big sandwich. ==> Wings
On Tue, Apr 04, 2006 at 06:20:13PM -0700, Mike Marion wrote:
Working on autoyast install of SLES10-beta9 and I've got it going all the way to the end, but the main console hangs at "Creating initrd..."
f2 console shows no processes related to initrd or grub running, yast processes just sitting there.
last of logs show (went all the way back to the line saying rpm installs finished to be sure I got it all):
Apr 4 17:58:48 jumpmm yast2[3324]: <1> [wfm] Source.cc(SourceFinishAll):234 All sources finished Apr 4 17:58:48 jumpmm yast2[3324]: <1> [wfm] clients/pkg_finish.ycp:51 Pkg Builtin called: TargetFinish Apr 4 17:58:48 jumpmm yast2[3324]: 2006-04-04 18:58:48 <1> 129.46.234.55(3324) [rpm] RpmDb.cc(closeDatabase):711 Calling closeDatabase: RpmDb[V4(Xcm)V3(---): '(/mnt)/var/lib/rpm'] Apr 4 17:58:48 jumpmm yast2[3324]: 2006-04-04 18:58:48 <1> 129.46.234.55(3324) [rpm] librpmDb.cc(blockAccess):313 Block access Apr 4 17:58:48 jumpmm yast2[3324]: 2006-04-04 18:58:48 <1> 129.46.234.55(3324) [rpm] RpmDb.cc(closeDatabase):739 closeDatabase: RpmDb[NO_INIT] Apr 4 17:58:48 jumpmm yast2[3324]: 2006-04-04 18:58:48 <1> 129.46.234.55(3324) [target] TargetImpl.cc(~TargetImpl):90 Targets closed Apr 4 17:58:48 jumpmm yast2[3324]: 2006-04-04 18:58:48 <1> 129.46.234.55(3324) [rpm] RpmDb.cc(~RpmDb):318 ~RpmDb() Apr 4 17:58:48 jumpmm yast2[3324]: 2006-04-04 18:58:48 <1> 129.46.234.55(3324) [rpm] RpmDb.cc(~RpmDb):323 ~RpmDb() end Apr 4 17:58:48 jumpmm yast2[3324]: <1> [YCP] clients/pkg_finish.ycp:66 pkg_finish finished Apr 4 17:58:48 jumpmm yast2[3324]: <1> [Interpreter] clients/pkg_finish.ycp:66 Called YaST client returned: nil Apr 4 17:58:48 jumpmm yast2[3324]: <1> [wfm] Y2CCWFM.cc(createInLevel):153 Parsing finished Apr 4 17:58:48 jumpmm yast2[3324]: <1> [Interpreter] clients/driver_update1_finish.ycp:60 Calling YaST client driver_update1_finish (arguments: ["Write"]) Apr 4 17:58:48 jumpmm yast2[3324]: <1> [YCP] clients/driver_update1_finish.ycp:33 starting driver_update1_finish Apr 4 17:58:48 jumpmm yast2[3324]: <3> [libscr] clients/driver_update1_finish.ycp:46 No SCR instance found
"No SCR instance found" means that an important library cannot access the target system. Anything can go wrong from now on. Please file a bug, with logs: http://en.opensuse.org/Bug_Reporting_FAQ#YaST -- Martin Vidner, YaST developer SuSE CR, s.r.o. e-mail: mvidner@suse.cz Drahobejlova 27 tel:+420-296542390 190 00 Praha 9, Czech Republic http://www.suse.cz
On Mon, Apr 10, 2006 at 01:11:21PM +0200, Martin Vidner wrote:
"No SCR instance found" means that an important library cannot access the target system. Anything can go wrong from now on. Please file a bug, with logs: http://en.opensuse.org/Bug_Reporting_FAQ#YaST
Actually, I figured it out over the weekend, and have a different bug to open I guess (need to make sure it's not already there). Turns out the software dependency bits have a bug.. We use sendmail here and I had sendmail added as a <package> (then later I created a custom pattern file with it). THis would result in: Apr 7 16:00:59 rs-workstation yast2[3064]: 2006-04-07 16:00:58 <0> 129.46.234.51(3064) [solver] Resolver_problems.cc(problems):181 Problem: ResolverInfo<CONFLICT_CANT_INSTALL> sendmail-8.13.6-4.x86_64[SUSE SLES-10-20060407-160052] Error!>>A conflict over sendmail == 8.13.6-4 (sendmail) requires the removal of to-be-installed sendmail-8.13.6-4.x86_64[SUSE SLES-10-20060407-160052]<<, Trigger: none If I added a remove-package of postfix (to get rid of the dependency issue) it would still fail: Apr 7 16:25:23 rs-workstation yast2[3088]: 2006-04-07 16:25:25 <0> 129.46.234.51(3088) [solver] Resolver_problems.cc(problems):181 Problem: ResolverInfo<CONFLICT_CANT_INSTALL> postfix-2.2.9-3.x86_64[SUSE SLES-10-20060407-162515] Error!>>A conflict over postfix == 2.2.9-3 (postfix) requires the removal of to-be-installed postfix-2.2.9-3.x86_64[SUSE SLES-10-20060407-162515]<<, Trigger: none so the resulting software package list was nothing.. but the next step of the booatloader config would add grub, and it would try to install grub, which, of course.. failed. Same happens when I try to replace cups bits with lprng (we already have a huge configuration setup with lprng). Checking bugs now and filing if missing... For now, I have post install scripts that force remove what I need removed, then I add back the few rpms I need instead. -- Mike Marion-Unix SysAdmin/Staff Engineer-http://www.qualcomm.com Marge: "Homer, I couldn't help overhearing you warp Bart's mind." Homer: "And?" ==> The Simpsons
participants (2)
-
Martin Vidner
-
Mike Marion