[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#770231: Amd64-efi installer becomes unresponsive on x86 bios



Steve McIntyre <steve@einval.com> (2014-11-25):
> Ian - am I totally mis-remembering that there used to be a "can't
> start on 32-bit " style message in the amd64 kernel?

arch/x86/boot/main.c's main() has:
|         /* Make sure we have all the proper CPU support */
|         if (validate_cpu()) {
|                 puts("Unable to boot - please use a kernel appropriate "
|                      "for your CPU.\n");
|                 die();
|         }

arch/x86/boot/cpu.c's validate_cpu() is defined has:
| int validate_cpu(void)
| {
|         u32 *err_flags;
|         int cpu_level, req_level;
| 
|         check_cpu(&cpu_level, &req_level, &err_flags);
| 
|         if (cpu_level < req_level) {
|                 printf("This kernel requires an %s CPU, ",
|                        cpu_name(req_level));
|                 printf("but only detected an %s CPU.\n",
|                        cpu_name(cpu_level));
|                 return -1;
|         }
| 
|         if (err_flags) {
|                 puts("This kernel requires the following features "
|                      "not present on the CPU:\n");
|                 show_cap_strs(err_flags);
|                 putchar('\n');
|                 return -1;
|         } else {
|                 return 0;
|         }
| }

which is likely what you were after?

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: