On 2009/12/08 at 21:39, Tarl Neustaedter Tarl.Neustaedter@Sun.COM wrote:
Nick Couchman wrote:
[...] I don't know whether it's OpenBIOS or Qemu, or the exception happens before
the -H argument can take place, but "boot cdrom -H" doesn't seem to have any effect - I get exactly the same behavior whether I use the -H flag or not. I'll take a look at the rest of your debugging tips and try to put them to use - thanks!!
I suspect it's not failing *before* checking for -H, just that the check isn't working.
Try creating a property in chosen called "bootargs" containing "-H" before giving the boot command. Maybe OpenBios is doing something different with boot arguments. E.g.:
ok dev /chosen ok " -H" encode-string " bootargs" property ok boot <stuff>
Aha! Worked great! Now I can do debug do-boot. However, once I've created this and set up the debugging, how do I clear it out so that it doesn't halt the do-boot process?
Thanks! -Nick
-------- This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR.