Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 17 Aug 2002 11:13:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 17 Aug 2002 11:13:09 -0400 Received: from host194.steeleye.com ([216.33.1.194]:15372 "EHLO pogo.mtv1.steeleye.com") by vger.kernel.org with ESMTP id ; Sat, 17 Aug 2002 11:13:09 -0400 Message-Id: <200208171516.g7HFGpK03104@localhost.localdomain> X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 To: Ingo Molnar cc: James Bottomley , linux-kernel@vger.kernel.org, Linus Torvalds Subject: Re: Boot failure in 2.5.31 BK with new TLS patch In-Reply-To: Message from Ingo Molnar of "Sat, 17 Aug 2002 08:51:47 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 17 Aug 2002 10:16:51 -0500 From: James Bottomley X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1621 Lines: 34 mingo@elte.hu said: > while your patch looks OK, it would be *really* interesting to find > out why the previous layout failed. Does the BIOS somehow corrupt the > GDT? You are using the stock SMP code otherwise, correct? And this > part of the patch: Well, I should say, this is the voyager MCA box again... The boot problem only happens with my quad pentium cards, the dyad pentium and 486 are fine. Originally, a voyager system with quad cards just wouldn't boot (this was in the 2.2.x days). Eventually, by trial and error and long debug of the boot process I discovered it would boot if the GDT was 8 bytes aligned (actually, the manuals say it should be 16 byte aligned, so perhaps we should also add this to the Linux setup.S?). SUS (the voyager BIOS equivalent) reports that the CPU took a Trap 6 at FFF38466 in the boot sequence, but I knew there wasn't an illegal instruction, and the memory address isn't in the boot code. I suspect that the quad cards have some real mode instruction emulation and that's where the trap is occuring. Unfortunately, all the people at NCR who could explain what is going on have long since departed, so I'm afraid I can only guess. However, the general point that we should keep the boot sequence as simple as possible (just in case we run across any other wierd quirks even in modern PCs) still remains. James - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/