Displaying 17 results from an estimated 17 matches for "load_env".
1996 Dec 16
0
Re: vixie-crontab for redhat linux (Fix)
...= ftell(f);
fileline = LineNumber;
@@ -128,8 +129,14 @@
name[0] = val[0] = ''\0'';
fields = sscanf(envstr, "%[^ =] = %[^\n#]", name, val);
- if (fields != 2) {
+ if (strlen(envstr) > MAX_TEMPSTR) {
+ Debug(DPARS, ("load_env, var name too long\n"))
+ Error = 1;
+ } else if (fields != 2) {
Debug(DPARS, ("load_env, not 2 fields (%d)\n", fields))
+ Error = 1;
+ }
+ if (Error != 0) {
fseek(f, filepos, 0);
Set_LineNu...
2015 Oct 07
2
Hyper-V Gen 2 waiting for ldlinux.e64
...* There may be pending user input that wasn't processed by
@@ -1383,8 +1385,10 @@ EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *table)
status = uefi_call_wrapper(in->ReadKeyStroke, 2, in, &key);
} while (status == EFI_SUCCESS);
+ Print(L"load_env32 start\n");
if (!setjmp(load_error_buf))
load_env32(NULL);
+ Print(L"load_env32 done.\n");
/* load_env32() failed.. cancel timer and bailout */
status = cancel_timer(timer_ev);
Untested
2015 Oct 09
0
load_env32 WAS: Hyper-V Gen 2 waiting for ldlinux.e64
...g user input that wasn't processed by
> @@ -1383,8 +1385,10 @@ EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *table)
> status = uefi_call_wrapper(in->ReadKeyStroke, 2, in, &key);
> } while (status == EFI_SUCCESS);
>
> + Print(L"load_env32 start\n");
> if (!setjmp(load_error_buf))
> load_env32(NULL);
> + Print(L"load_env32 done.\n");
>
> /* load_env32() failed.. cancel timer and bailout */
> status = cancel_timer(timer_ev);
>
>
> Untested
(...
2013 Sep 29
2
Bug#603391: Workaround PyGrub issue
...with base 10: 'ev/xvda'
Contents of grub.cfg triggering the error:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved...
2013 Jun 26
1
[PATCH] pygrub: add fedora 19 grub.cfg example
.../null
+++ b/tools/pygrub/examples/fedora-19.grub2
@@ -0,0 +1,117 @@
+#
+# DO NOT EDIT THIS FILE
+#
+# It is automatically generated by grub2-mkconfig using templates
+# from /etc/grub.d and settings from /etc/default/grub
+#
+
+### BEGIN /etc/grub.d/00_header ###
+if [ -s $prefix/grubenv ]; then
+ load_env
+fi
+if [ "${next_entry}" ] ; then
+ set default="${next_entry}"
+ set next_entry=
+ save_env next_entry
+ set boot_once=true
+else
+ set default="${saved_entry}"
+fi
+
+if [ x"${feature_menuentry_id}" = xy ]; then
+ menuentry_id_option="--id&...
2013 Sep 22
0
UEFI boot - no console will be available to OS
...can select the arch linux boot image or the xen boot image.
/boot directory:
efi/
grub/
initramfs-linux-fallback.img
initramfs-linux.img
vmlinuz-linux
xen-4.2.2.gz
xen-syms-4.2.2
grub.cfg:
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id...
2013 Oct 10
1
[PATCH] pygrub: Support (/dev/xvda) style disk specifications
...b/tools/pygrub/examples/debian-wheezy-hvm.grub2
@@ -0,0 +1,104 @@
+
+#
+# DO NOT EDIT THIS FILE
+#
+# It is automatically generated by grub-mkconfig using templates
+# from /etc/grub.d and settings from /etc/default/grub
+#
+
+### BEGIN /etc/grub.d/00_header ###
+if [ -s $prefix/grubenv ]; then
+ load_env
+fi
+set default="0"
+if [ "${prev_saved_entry}" ]; then
+ set saved_entry="${prev_saved_entry}"
+ save_env saved_entry
+ set prev_saved_entry=
+ save_env prev_saved_entry
+ set boot_once=true
+fi
+
+function savedefault {
+ if [ -z "${boot_once}" ]; th...
2011 Oct 09
3
GRUB2 configuration for Xen 4 on Ubuntu Linux 10.04
Hello,
I have installed the Xen 4.1.1 and a working kernel 2.6.32.43 which supports
Xen on a Ubuntu Linux 10.04 LTS. However, I have never successfully booted
the Hypervisor and Dom0. The screen is always black after some kernel
messages rapidly go by. I think that I may pass the wrong parameters to the
kernel or Hypervisor with GRUB2.
Can any one share his/her working grub.cfg for GRUB2 with
2013 Oct 01
0
Bug#603391: Bug#603391: Workaround PyGrub issue
...b/tools/pygrub/examples/debian-wheezy-hvm.grub2
@@ -0,0 +1,104 @@
+
+#
+# DO NOT EDIT THIS FILE
+#
+# It is automatically generated by grub-mkconfig using templates
+# from /etc/grub.d and settings from /etc/default/grub
+#
+
+### BEGIN /etc/grub.d/00_header ###
+if [ -s $prefix/grubenv ]; then
+ load_env
+fi
+set default="0"
+if [ "${prev_saved_entry}" ]; then
+ set saved_entry="${prev_saved_entry}"
+ save_env saved_entry
+ set prev_saved_entry=
+ save_env prev_saved_entry
+ set boot_once=true
+fi
+
+function savedefault {
+ if [ -z "${boot_once}" ]; th...
2018 Feb 07
2
/dev/md1 => 93% Used. Warning. Disk Filling up. - what would be safe to delete in /boot ?
...6
.vmlinuz-3.10.0-693.5.2.el7.x86_64.hmac
# cat /etc/grub2.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
set pager=1
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="${saved_entry}"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else...
2011 Mar 06
10
grub commands problem with Ubuntu 10.04
Following is one grub entry
menuentry "Ubuntu, Linux 2.6.32.27" {
insmod ntfs
set root=''(hd0,2)''
search --no-floppy --fs-uuid --set 96f65c80f65c6313
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-2.6.32.27 root=/dev/sda2
loop=/ubuntu/disks/root.disk ro quiet splash
initrd
2013 Apr 12
7
Xen not seeing all the memory in the box
I''m running Xen 4.1 (4.1.3-3ubuntu1.3) on an Ubuntu 12.10 server with
an AMD FX-8150 processor (8 cores) and 16 GB of RAM.
When I boot the server, Xen sees only 3 GB of RAM (instead of 16 GB).
If I try to create a domU with more than about 1.5 GB of RAM, the create
fails with messages saying it "could not allocate memory for HVM guest".
Here''s the output when I do
2010 Jul 13
9
Xen 4 Ubuntu Lucid panics
I have tried 4 time unsuccessfully to install Xen 4 on Ubuntu Lucid (10.4) 64
bit version using the tutorial at
http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/
on a Lenovo thinkcentre workstation.
When I boot I get a kernel panic. If I boot the Linux kernel that I compiled
using the
2012 Apr 22
12
Xen doesn't boot on grub2 or xend doesn't start
hi guys,
It''s my first time here and in a mailing lists, I only participated in
forums before. Please, If I make a mistake you should advise me. Let''s go!
I was reading "xencommons not start" in a Remus Forum in order to install
Remus.
Well… I followed the tutorial <
http://remusha.wikidot.com/configuring-and-installing-remus>, I reboot in
xen_unstable and I had
2012 Apr 22
12
Xen doesn't boot on grub2 or xend doesn't start
hi guys,
It''s my first time here and in a mailing lists, I only participated in
forums before. Please, If I make a mistake you should advise me. Let''s go!
I was reading "xencommons not start" in a Remus Forum in order to install
Remus.
Well… I followed the tutorial <
http://remusha.wikidot.com/configuring-and-installing-remus>, I reboot in
xen_unstable and I had
2010 Dec 16
19
Hypervisor hangs on startup
Hi!
We have a problem that the dom0 very often does not boot and hangs in
the hypervisor - see screenshot. The last message is:
(XEN) Dom0 has maximum 16 VCPUs
(afterwards xen should overwrite the memory)
We are using the xen kernel from kernel.org git.
Kernel is 2.6.32.24-xen with Xen 4.0.1
Hardware is HP DL380.
Is this a known problem? Any hints what could be the problem and how we
can
2010 Dec 16
19
Hypervisor hangs on startup
Hi!
We have a problem that the dom0 very often does not boot and hangs in
the hypervisor - see screenshot. The last message is:
(XEN) Dom0 has maximum 16 VCPUs
(afterwards xen should overwrite the memory)
We are using the xen kernel from kernel.org git.
Kernel is 2.6.32.24-xen with Xen 4.0.1
Hardware is HP DL380.
Is this a known problem? Any hints what could be the problem and how we
can