Uwe Hermann wrote:
Hi,
here's an initial patch for the MSI MS-6178 mainboard.
Looks like a good start (see comments below)
Acked-by: Corey Osgood corey.osgood@gmail.com
It boots up to a login prompt, but there are a number of issues which need to be fixed before we can call this fully supported.
I'll post a list of working and non-working parts later, need to do more tests...
One major issue is that the booting (and operation afterwards) is _really_ slow, a full boot takes more than 10 or 20 minutes! I suspect RAM init problems or cache (L1/L2) problems, but I haven't yet found out what's really going on.
Full boot log of LinuxBIOS + the original BIOS attached.
I guess (from looking at the boot log diffs) that this may be the reason for the slow boot, but how do I fix it?
CPU: L1 I cache: 16K, L1 D cache: 16K -CPU: L2 cache: 128K
(i.e., it seems the L2 cache is never enabled when using LinuxBIOS)
Is your cpu id in model_6xx_init.c? I'm not seeing any attempt even at cpu init in the LB boot log, and IIRC there should be something printed. And if I'm reading the kernel boot log right, your model ID is 0x06a5, which isn't currently in there and not added by your patch. I'll fire up the mew-vm tomorrow and see if it has the same problem, the boot on that board is slow but not that slow, I figured it was just my old 400MHz celeron running over a serial connection.
Here's the SPD dump of the RAM I used (64 MB in slot 0):
00: 80 08 04 0c 09 01 40 00 01 a0 60 00 80 08 00 01 10: 8f 04 07 01 01 00 0f f0 70 00 00 1e 14 1e 32 10 20: 20 10 20 10 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 6a 40: 00 00 00 00 00 00 00 00 00 42 50 42 36 37 38 31 50: 41 00 00 00 00 00 00 00 00 00 00 00 00 29 62 00 60: 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff 64 04 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff f0: ff ff ff ff ff fe ff ff ff ff ff ff ff ff fe ff
$ lspci -nn (from vendor BIOS)
00:00.0 Host bridge [0600]: Intel Corporation 82810 GMCH [Graphics Memory Controller Hub] [8086:7120] (rev 03) 00:01.0 VGA compatible controller [0300]: Intel Corporation 82810 CGC [Chipset Graphics Controller] [8086:7121] (rev 03) 00:1e.0 PCI bridge [0604]: Intel Corporation 82801AB PCI Bridge [8086:2428] (rev 01) 00:1f.0 ISA bridge [0601]: Intel Corporation 82801AB ISA Bridge (LPC) [8086:2420] (rev 01) 00:1f.1 IDE interface [0101]: Intel Corporation 82801AB IDE [8086:2421] (rev 01) 00:1f.2 USB Controller [0c03]: Intel Corporation 82801AB USB [8086:2422] (rev 01) 00:1f.5 Multimedia audio controller [0401]: Intel Corporation 82801AB AC'97 Audio [8086:2425] (rev 01) 00:1f.6 Modem [0703]: Intel Corporation 82801AB AC'97 Modem [8086:2426] (rev 01) 01:00.0 VGA compatible controller [0300]: S3 Inc. 86c325 [ViRGE] [5333:5631] (rev 06) 01:01.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8029(AS) [10ec:8029]
$ lspci -xxx
00:00.0 Host bridge: Intel Corporation 82810 GMCH [Graphics Memory Controller Hub] (rev 03) 00: 86 80 20 71 06 00 80 20 03 00 00 06 00 00 00 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 20 71 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50: 68 51 a0 3c 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: cc 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: c6 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 9a dd 00 00 00 00 00 00 00 00 00 00 00 00 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 08 00 00 00
Uwe.
Can you send lspci -xxx from linuxbios? I really can't see anything too alarming in the boot logs, although I could be overlooking it. Can you also try memtest86?
-Corey