From owner-freebsd-hardware@FreeBSD.ORG Thu Mar 2 09:19:03 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4219516A420 for ; Thu, 2 Mar 2006 09:19:03 +0000 (GMT) (envelope-from mark@mkproductions.org) Received: from ylpvm29.prodigy.net (ylpvm29-ext.prodigy.net [207.115.57.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id A97BF43D48 for ; Thu, 2 Mar 2006 09:19:02 +0000 (GMT) (envelope-from mark@mkproductions.org) Received: from pimout2-ext.prodigy.net (pimout2-int.prodigy.net [207.115.4.217]) by ylpvm29.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id k229Ibbi025876 for ; Thu, 2 Mar 2006 04:18:38 -0500 X-ORBL: [68.89.208.212] Received: from [192.168.1.25] (68-89-208-212.ded.swbell.net [68.89.208.212] (may be forged)) by pimout2-ext.prodigy.net (8.13.4 outbound domainkey aix/8.13.4) with ESMTP id k229J0DV049322 for ; Thu, 2 Mar 2006 04:19:01 -0500 Message-ID: <4406B884.4000002@mkproductions.org> Date: Thu, 02 Mar 2006 03:19:00 -0600 From: Mark Kane User-Agent: Thunderbird 1.5 (X11/20060112) MIME-Version: 1.0 To: freebsd-hardware@freebsd.org Content-Type: multipart/mixed; boundary="------------050201050404030804050101" Subject: FreeBSD on a MSI K8NGM2-L X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2006 09:19:03 -0000 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: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: 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: port 0xcc00-0xcc07 mem 0xfeadc000-0xfeadcfff irq 5 at device 20.0 on pci0 miibus1: 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: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: 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 Features2=0x1 AMD Features=0xe2500800 AMD Features2=0x1 real memory = 469565440 (447 MB) avail memory = 449884160 (429 MB) MPTable: ioapic0: Assuming intbase of 0 ioapic0 irqs 0-23 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: pcibus 0 on motherboard pci0: on pcib0 pci0: at device 0.0 (no driver attached) pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 0.3 (no driver attached) pci0: at device 0.4 (no driver attached) pci0: at device 0.5 (no driver attached) pci0: at device 0.6 (no driver attached) pci0: at device 0.7 (no driver attached) pcib1: at device 2.0 on pci0 pci1: on pcib1 pcib2: at device 3.0 on pci0 pci2: on pcib2 pcib3: at device 4.0 on pci0 pci3: on pcib3 vgapci0: mem 0xfd000000-0xfdffffff,0xd0000000-0xdfffffff,0xfc000000-0xfcffffff irq 10 at device 5.0 on pci0 pci0: at device 9.0 (no driver attached) isab0: at device 10.0 on pci0 isa0: on isab0 pci0: at device 10.1 (no driver attached) ohci0: mem 0xfeade000-0xfeadefff irq 5 at device 11.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 8 ports with 8 removable, self powered ehci0: 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: on ehci0 usb1: USB revision 2.0 uhub1: on usb1 uhub1: 8 ports with 8 removable, self powered atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 13.0 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0xd800-0xd807,0xd480-0xd483,0xd400-0xd407,0xd080-0xd083,0xd000-0xd00f mem 0xfeadd000-0xfeaddfff irq 5 at device 14.0 on pci0 ata2: on atapci1 ata3: on atapci1 pcib4: at device 16.0 on pci0 pci4: on pcib4 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xec00-0xec7f mem 0xfebffc00-0xfebffc7f irq 5 at device 7.0 on pci4 miibus0: on xl0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:0a:5e:57:00:75 pci0: at device 16.1 (no driver attached) nve0: port 0xcc00-0xcc07 mem 0xfeadc000-0xfeadcfff irq 5 at device 20.0 on pci0 nve0: Ethernet address 00:13:d3:eb:58:07 miibus1: on nve0 rlphy0: on miibus1 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto nve0: Ethernet address: 00:13:d3:eb:58:07 pmtimer0 on isa0 orm0: at iomem 0xce000-0xce7ff,0xce800-0xcffff pnpid ORM0000 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FAST] ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] sc0: 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: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) Timecounter "TSC" frequency 1808242206 Hz quality 800 Timecounters tick every 1.000 msec ad0: 58643MB at ata0-master UDMA133 ad1: 76319MB at ata0-slave UDMA100 acd0: DMA limited to UDMA33, device found non-ATA66 cable acd0: DVDR at ata1-master UDMA33 Trying to mount root from ufs:/dev/ad0s1a --------------050201050404030804050101--