public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] Kdump update required
@ 2019-09-13 13:18 Vladut Magas
  2019-09-13 13:58 ` Cyril Hrubis
  0 siblings, 1 reply; 2+ messages in thread
From: Vladut Magas @ 2019-09-13 13:18 UTC (permalink / raw)
  To: ltp

Hello,

I am writing to you about the kdump. I am trying to run kdump on Debian 9 (Stretch), but the "setup.sh" has a small error as you can see below, based on the error received:

  CC      /root/Desktop/ltp/testcases/kdump/lib/lkdtm/lkdtm.mod.o
  LD [M]  /root/Desktop/ltp/testcases/kdump/lib/lkdtm/lkdtm.ko
make[3]: Leaving directory '/usr/src/linux-headers-4.9.0-9-amd64'
make[2]: Leaving directory '/root/Desktop/ltp/testcases/kdump/lib/lkdtm'
make[1]: Leaving directory '/root/Desktop/ltp/testcases/kdump/lib'
+ echo Modify Boot Loader.
Modify Boot Loader.
+ [ x86_64 = ppc64 ]
+ [ x86_64 = i686 ]
+ [ x86_64 = ia64 ]
+ args=crashkernel=256M@128M
+ [ -x /sbin/grubby ]
+ echo Warn: please make sure the following arguments are in Boot Loader:
Warn: please make sure the following arguments are in Boot Loader:
+ echo crashkernel=256M@128M
crashkernel=256M@128M
+ echo Hit any key when ready.
Hit any key when ready.
+ read
./setup.sh: 105: read: arg count
Makefile:2: recipe for target 'all' failed
make: *** [all] Error 2


In DEbian 9 there is no grubby tool and no way to install it, so the /sbin/grubby will never be found and the error will always occur. Is there something I can do about this problem?

Thank you!

Best regards,

        Emanuel-Vladut Magas

L4B Software, Iasi, Romania
E-mail: vladut.m@l4b-software.com

[cid:7b200dcc-c609-4121-9302-956d034fc458]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20190913/f4cffaea/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-zupgpryx.png
Type: image/png
Size: 13801 bytes
Desc: Outlook-zupgpryx.png
URL: <http://lists.linux.it/pipermail/ltp/attachments/20190913/f4cffaea/attachment-0001.png>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [LTP] Kdump update required
  2019-09-13 13:18 [LTP] Kdump update required Vladut Magas
@ 2019-09-13 13:58 ` Cyril Hrubis
  0 siblings, 0 replies; 2+ messages in thread
From: Cyril Hrubis @ 2019-09-13 13:58 UTC (permalink / raw)
  To: ltp

Hi!
> I am writing to you about the kdump. I am trying to run kdump on Debian 9 (Stretch), but the "setup.sh" has a small error as you can see below, based on the error received:
> 
>   CC      /root/Desktop/ltp/testcases/kdump/lib/lkdtm/lkdtm.mod.o
>   LD [M]  /root/Desktop/ltp/testcases/kdump/lib/lkdtm/lkdtm.ko
> make[3]: Leaving directory '/usr/src/linux-headers-4.9.0-9-amd64'
> make[2]: Leaving directory '/root/Desktop/ltp/testcases/kdump/lib/lkdtm'
> make[1]: Leaving directory '/root/Desktop/ltp/testcases/kdump/lib'
> + echo Modify Boot Loader.
> Modify Boot Loader.
> + [ x86_64 = ppc64 ]
> + [ x86_64 = i686 ]
> + [ x86_64 = ia64 ]
> + args=crashkernel=256M@128M
> + [ -x /sbin/grubby ]
> + echo Warn: please make sure the following arguments are in Boot Loader:
> Warn: please make sure the following arguments are in Boot Loader:
> + echo crashkernel=256M@128M
> crashkernel=256M@128M
> + echo Hit any key when ready.

This tells you to modify the bootloader command line by hand.

> Hit any key when ready.
> + read
> ./setup.sh: 105: read: arg count
> Makefile:2: recipe for target 'all' failed
> make: *** [all] Error 2

This is a harmless error caused by the fact that debian uses dash as a
default shell.

-- 
Cyril Hrubis
chrubis@suse.cz

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-13 13:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-13 13:18 [LTP] Kdump update required Vladut Magas
2019-09-13 13:58 ` Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox