Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Mar 2006 03:19:00 -0600
From:      Mark Kane <mark@mkproductions.org>
To:        freebsd-hardware@freebsd.org
Subject:   FreeBSD on a MSI K8NGM2-L
Message-ID:  <4406B884.4000002@mkproductions.org>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------050201050404030804050101
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi everyone. I bought a new MSI K8NGM2-L and an Athlon64 3000+ after the 
old motherboard with an Athlon XP 1800+ in one of my machines died on 
Tuesday. I was in a hurry to get the order placed so it could be shipped 
overnight and I didn't check much into compatibility with FreeBSD. I run 
FreeBSD successfully on many desktop computers and servers already with 
very few hardware issues, so that plus the hurry got me to order without 
investigating much.

I'm posting this here to share my experiences with this so far in case 
anyone else is thinking of purchasing this board, or in case any 
developers read this and want me to help with any testing to debug some 
of the issues with this board running FreeBSD. I realize this is a long 
post so I have included a summary of the info near the bottom for those 
who don't want to read all the details. ;)

The FreeBSD install I had on the hard drive in that box was 5.4-RELEASE. 
After reinstalling the mobo and CPU, I tried just booting up the old 
install of FreeBSD. It would give errors about ACPI so I rebooted and 
told FreeBSD to boot disabling ACPI. That worked. Right upon boot though 
I noticed a couple issues:

1) There were WRITE_DMA UDMA ICRC warnings and failures scrolling up on 
the screen. This is a problem that keeps coming back to me it seems. 
Another machine I have had this problem as well and would not function 
properly no matter what unless there was only one drive per cable (even 
with the proper type of cable). So, knowing that experience from before, 
I tried in this new machine to only boot up with one drive.

That went alright, but then I discovered that the one hard drive 
connected was running in UDMA33 mode instead of UDMA133 (with a brand 
new cable).

2) The onboard NIC was not recognized.

So then I grabbed a test hard drive and threw 6.0-RELEASE on there. Same 
problems with the hard drive(s) showing up as UDMA33 and the ATA 
controller showing up as GENERIC. The NIC still wasn't recognized. I 
then decided to try 6.1-PRERELEASE (RELENG_6).

I CVSupped and rebuilt the system using the proper steps. I booted back 
up and the ATA controller no longer said GENERIC. The drive entries in 
dmesg showed UDMA133 and UDMA100 (the proper speeds). I was very happy 
to see this since I was already looking at other motherboards to replace 
this one due to all the problems! I ran a few tests of dumping a few 
gigs back and forth between drives on the same cable, and no UDMA ICRC 
errors yet (fingers crossed for all the reinstalling later on today).

At this stage, the onboard NIC was still not recognized. I decided to 
try the onboard sound which was untested until now. A "kldload 
snd_driver" produced several of these:

sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled

I looked in dmesg:

----------
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0400> can't assign resources (port)
unknown: <PNP0c02> can't assign resources (port)
unknown: <PNP0303> can't assign resources (port)
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled

[last repeated several times]
----------

At this point, I decided to give 7.0-CURRENT a try. This is my first 
time trying -CURRENT so I thought what better time than here on a test 
HD just to see how the hardware would act on it.

With a -CURRENT at around midnight eastern time on March 2, 2006, the 
ATA stuff still seems to work properly as in 6.1-PRERELEASE. The onboard 
NIC is detected and works somewhat...

nve0: <NVIDIA nForce MCP13 Networking Adapter> port 0xcc00-0xcc07 mem 
0xfeadc000-0xfeadcfff irq 5 at device 20.0 on pci0
miibus1: <MII bus> on nve0

...but gives timeout errors when sending about 30 megabits through it:

----------
nve0: device timeout (64)
nve0: device timeout (1)
nve0: device timeout (64)
nve0: device timeout (64)
nve0: device timeout (64)
----------

I also tried the sound again:

----------
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio0: [FAST]
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0400> can't assign resources (port)
unknown: <PNP0c02> can't assign resources (port)
unknown: <PNP0303> can't assign resources (port)
----------

So here's a quick summary for the MSI K8NGM2-L board with an nForce4 
chipset running various FreeBSD versions (all i386):

FreeBSD 5.4-RELEASE:
- Will not boot with ACPI
- WRITE_DMA UDMA ICRC errors/warnings/failures upon boot. Will not 
shutdown properly due to those, and is basically unusable.
- Onboard NIC not detected
- Onboard sound untested

FreeBSD 6.0-RELEASE:
- Will not boot with ACPI
- ATA controller not recognized so drives are only recognized as UDMA33. 
No UDMA ICRC errors though
- Onboard NIC not detected
- Onboard sound untested

FreeBSD 6.1-PRERELEASE (as of 9pm EST March 1, 2006):
- Will not boot with ACPI
- ATA controller appears to be recognized as ad0 shows UDMA133 and ad1 
shows UDMA100 (which are the correct speeds for both)
- Onboard NIC not detected
- Onboard sound does not work (see errors above or in attached dmesg)

FreeBSD 7.0-CURRENT (as of midnight EST March 2, 2006):
- Will not boot with ACPI
- ATA controller appears to be recognized as the drives show up as 
UDMA133 and UDMA100 respectively.
- Onboard NIC detected, but with timeout errors "1" and "64" under some load
- Onboard sound does not work (see errors above or in attached dmesg)

ACPI has not worked with any of them, but leaving that disabled is no 
problem for now. I also have a 3com NIC which works great and a Sound 
Blaster LIVE which works great as well....so I think I'm going to end up 
keeping this board and running 6.1-PRERELEASE/-RELEASE on it rather than 
going through the process of exchanging the mobo, paying another 
overnight airfreight, and redoing the whole setup again. I'd _like_ the 
onboard sound/NIC to work since it's a Micro-ATX board with only 2 PCI 
slots which will now have to be filled up for a NIC and sound card, but 
this should work for now.

I will do my best to keep -CURRENT on this test hard drive for as long 
as possible in case anyone wants me to do any testing with this setup 
for hardware support, but it is actually an company computer that's in 
production so getting time to test things on that machine might take a 
little longer than a normal response from me. Just know that I love 
FreeBSD and use it on all desktops and servers, so I'm glad to help test 
anything that I can.

I'll also take the proper steps listed on this page to update it with my 
results once I have things underway:

http://www.freebsd.org/platforms/amd64/motherboards.html

Attached is a dmesg.boot from 7.0-CURRENT.

-Mark

-- 
GnuPG Public Key:
http://www.mkproductions.org/mk_pubkey.asc

Internet Radio:
Party107 (Trance/Electronic) - http://www.party107.com
Rock 101.9 The Edge (Rock) - http://www.rock1019.net

IRC:
MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941)

--------------050201050404030804050101
Content-Type: text/plain;
 name="dmesg.boot"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="dmesg.boot"

Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 7.0-CURRENT #1: Thu Mar  2 13:25:11 CST 2006
    root@test.localhost:/usr/obj/usr/src/sys/GENERIC
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3000+ (1808.24-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x20ff2  Stepping = 2
  Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  Features2=0x1<SSE3>
  AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow>
  AMD Features2=0x1<LAHF>
real memory  = 469565440 (447 MB)
avail memory = 449884160 (429 MB)
MPTable: <nVidia   MCP51G/M    >
ioapic0: Assuming intbase of 0
ioapic0 <Version 1.1> irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pci0: <memory, RAM> at device 0.0 (no driver attached)
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <memory, RAM> at device 0.3 (no driver attached)
pci0: <memory, RAM> at device 0.4 (no driver attached)
pci0: <memory, RAM> at device 0.5 (no driver attached)
pci0: <memory, RAM> at device 0.6 (no driver attached)
pci0: <memory, RAM> at device 0.7 (no driver attached)
pcib1: <PCI-PCI bridge> at device 2.0 on pci0
pci1: <PCI bus> on pcib1
pcib2: <PCI-PCI bridge> at device 3.0 on pci0
pci2: <PCI bus> on pcib2
pcib3: <PCI-PCI bridge> at device 4.0 on pci0
pci3: <PCI bus> on pcib3
vgapci0: <VGA-compatible display> mem 0xfd000000-0xfdffffff,0xd0000000-0xdfffffff,0xfc000000-0xfcffffff irq 10 at device 5.0 on pci0
pci0: <memory, RAM> at device 9.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 10.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 10.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xfeade000-0xfeadefff irq 5 at device 11.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: <nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 8 ports with 8 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfeadfc00-0xfeadfcff irq 5 at device 11.1 on pci0
ehci0: [GIANT-LOCKED]
usb1: EHCI version 1.0
usb1: companion controller, 8 ports each: usb0
usb1: <EHCI (generic) USB 2.0 controller> on ehci0
usb1: USB revision 2.0
uhub1: <nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb1
uhub1: 8 ports with 8 removable, self powered
atapci0: <nVidia nForce MCP51 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 13.0 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
atapci1: <nVidia nForce MCP51 SATA300 controller> port 0xd800-0xd807,0xd480-0xd483,0xd400-0xd407,0xd080-0xd083,0xd000-0xd00f mem 0xfeadd000-0xfeaddfff irq 5 at device 14.0 on pci0
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
pcib4: <MPTable PCI-PCI bridge> at device 16.0 on pci0
pci4: <PCI bus> on pcib4
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xec00-0xec7f mem 0xfebffc00-0xfebffc7f irq 5 at device 7.0 on pci4
miibus0: <MII bus> on xl0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:0a:5e:57:00:75
pci0: <multimedia> at device 16.1 (no driver attached)
nve0: <NVIDIA nForce MCP13 Networking Adapter> port 0xcc00-0xcc07 mem 0xfeadc000-0xfeadcfff irq 5 at device 20.0 on pci0
nve0: Ethernet address 00:13:d3:eb:58:07
miibus1: <MII bus> on nve0
rlphy0: <RTL8201L 10/100 media interface> on miibus1
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
nve0: Ethernet address: 00:13:d3:eb:58:07
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xce000-0xce7ff,0xce800-0xcffff pnpid ORM0000 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: [FAST]
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ppc0: [GIANT-LOCKED]
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio0: [FAST]
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0400> can't assign resources (port)
unknown: <PNP0c02> can't assign resources (port)
unknown: <PNP0303> can't assign resources (port)
Timecounter "TSC" frequency 1808242206 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 58643MB <Maxtor 6Y060L0 YAR41BW0> at ata0-master UDMA133
ad1: 76319MB <WDC WD800JB-00ETA0 77.07W77> at ata0-slave UDMA100
acd0: DMA limited to UDMA33, device found non-ATA66 cable
acd0: DVDR <LITE-ON DVDRW SOHW-1693S/KS06> at ata1-master UDMA33
Trying to mount root from ufs:/dev/ad0s1a

--------------050201050404030804050101--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4406B884.4000002>