#776098 grub-pc and grub-rescue-pc cause immediate reboot

Package:
grub-pc
Source:
grub2
Description:
GRand Unified Bootloader, version 2 (PC/BIOS version)
Submitter:
Otto Meta
Date:
2015-05-23 19:00:05 UTC
Severity:
important
#776098#5
Date:
2015-01-23 22:33:07 UTC
From:
To:
Dear Maintainer,

I performed a fresh installation from the Jessie Beta 2 netinst CD and chose
to install grub-pc into the MBR of the only disk (MSDOS partitions) in this
system. After finishing the installation, the system was rebooted, but instead
of getting some output from grub or the grub menu, the system rebooted again,
immediately after the BIOS was done. This repeated over and over. I cannot say
whether there was any output from grub at all, because if there was, it was
gone before I could see it.

It was possible to use the installer's rescue mode to chroot into the fresh
installation and run grub-install again, which finished with no errors, but
grub would still not run and reboot instead.

Next I tried grub-rescue-pc from Jessie (2.02~beta2-19) via CD, but
the system still rebooted as soon as the CD drive spun up to load grub.

grub-rescue-pc from Wheezy (1.99-27+deb7u2) via CD works and boots Linux as
expected. Installing LILO works and boots the system as expected. I purged
LILO, installed grub-pc again and booted via Wheezy's grub-rescue-pc
before generating this report, though.

As I don't see it in the data below, I'd like to mention that this system
runs on a VIA C3 Ezra CPU (fam: 06, model: 07, stepping: 08), which doesn't
implement cmov. Might be a red herring, though.

Thanks,
Otto

#776098#10
Date:
2015-01-24 15:58:31 UTC
From:
To:
Otto Meta wrote:
will let grub-pc 2.02~beta2-19 run and the system can boot normally,
albeit very slowly. With no cache, uncompressing the Linux kernel image
takes almost two minutes. Re-enabling the cache causes grub to reboot
again.

grub-rescue-pc from Wheezy (1.99-27+deb7u2) and LILO work as expected
even with the CPU-internal cache enabled.

The BIOS also has a "CPU External Cache" option, but disabling that
doesn't improve anything. The mainboard doesn't actually have any
CPU "external" cache. Not sure what that refers to.

VIA C3 Ezra caches:
L1-Cache: 64 + 64 KB (Data + Instructions)
L2-Cache: 64 KB

Otto

#776098#15
Date:
2015-05-23 18:55:39 UTC
From:
To:
Hi,

the same here with debian jessie.
Wheezy works fine.


BIOS: Phoenix-AwardBIOS v6.00PG


~> cat /proc/cpuinfo
processor:        0
vendor_id:         CentaurHauls
cpu family:        6
model:              7
model name:     VIA Samuel 2
stepping:          3
cpu MHz:          532.607
cache size:       64 KB
fdiv_bug:          no
f00f_bug:         no
coma_bug:       no
fpu:                  yes
fpu_exception: yes
cpuid level:       1
wp:                   yes
flags:                fpu de tsc msr cx8 mtrr pge mmx 3dnow
bogomips:        1065.21
clflush size:       32
cache_alignment:  32
address sizes:    32 bits physical, 32 bits virtual
power management:

G.