<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Looks like the parser is doing variable expansion on the '$' and
backslash escaping isn't supported?</p>
<p>Try wrapping the address in single quotes, the parser should soak
up everything in between as-is:</p>
<p>memmap='0x0000000080000000$0000000080000000'<br>
</p>
<br>
<div class="moz-cite-prefix">On 26/05/18 01:56, Brian Varney wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAAR7JKcsUrXb5AwxBdO2t6sxNnKrF=2VVMLtZgLwB1m8ZZJOqA@mail.gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div dir="ltr">Hello all,
<div><br>
</div>
<div>I have a Power9 server that came with petitboot installed.
I was able to put the PPC version of Fedora 28 on it and that
went fine. However, I need to add some kernel parameters to
grub.cfg and it seems they are not parsed correctly by
petitboot.</div>
<div><br>
</div>
<div>I tried adding the following kernel parameter to grub.cfg</div>
<div><b>memmap=0x0000000080000000$0000000080000000</b><br>
</div>
<div><br>
</div>
<div>However, when fedora boots, I get the following from 'cat
/proc/cmdline': (notice '$0' was removed)</div>
<div><b>memmap=0x0000000080000000x0000000080000000</b><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Next, I tried escaping with backsplash in grub.cfg:</div>
<div>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><b>memmap=0x0000000080000000\$0000000080000000</b><br>
</div>
<br class="gmail-Apple-interchange-newline">
But this came out as the following in 'cat /proc/cmdline'
(backslash remained and '$0' still removed)</div>
<div><b>memmap=0x0000000080000000\x0000000080000000</b><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Anybody know how to properly escape the $ so petitboot
doesn't swallow it up? Any help would be greatly appreciated</div>
<div><br>
</div>
<div>Thanks!</div>
<div>Brian V.</div>
<div><br>
</div>
<div><br>
</div>
</div>
<!--'"--><br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Petitboot mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Petitboot@lists.ozlabs.org">Petitboot@lists.ozlabs.org</a>
<a class="moz-txt-link-freetext" href="https://lists.ozlabs.org/listinfo/petitboot">https://lists.ozlabs.org/listinfo/petitboot</a>
</pre>
</blockquote>
<br>
</body>
</html>