From owner-freebsd-current@FreeBSD.ORG Tue May 13 22:53:30 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40E04106564A for ; Tue, 13 May 2008 22:53:30 +0000 (UTC) (envelope-from thn@saeab.se) Received: from ture.saeab.se (ture.saeab.se [213.80.3.133]) by mx1.freebsd.org (Postfix) with ESMTP id 95DB88FC0C for ; Tue, 13 May 2008 22:53:29 +0000 (UTC) (envelope-from thn@saeab.se) Received: from scatcat.thn.saeab.se (vpn-thn.int.saeab.se [10.0.4.43]) by ture.saeab.se (8.13.8/8.13.8) with ESMTP id m4DMrOqP003513; Wed, 14 May 2008 00:53:24 +0200 (CEST) (envelope-from thn@saeab.se) Received: from [10.1.0.1] (home [10.1.0.1]) by scatcat.thn.saeab.se (8.14.2/8.14.2) with ESMTP id m4DMrN3l014552; Wed, 14 May 2008 00:53:24 +0200 (CEST) (envelope-from thn@saeab.se) Message-ID: <482A1BDB.8060908@saeab.se> Date: Wed, 14 May 2008 00:53:15 +0200 From: =?UTF-8?B?VGhvbWFzIE55c3Ryw7Zt?= User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Coleman Kane References: <48297FBC.5090906@saeab.se> <1210682059.1439.23.camel@localhost> In-Reply-To: <1210682059.1439.23.camel@localhost> Content-Type: multipart/mixed; boundary="------------040202050101070809060701" X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.1 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on ture.saeab.se X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (ture.saeab.se [10.0.1.133]); Wed, 14 May 2008 00:53:28 +0200 (CEST) Cc: current@freebsd.org Subject: Re: Disk not detected on ATI IXP600 SATA300 controller X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2008 22:53:30 -0000 This is a multi-part message in MIME format. --------------040202050101070809060701 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Coleman Kane skrev: > On Tue, 2008-05-13 at 13:47 +0200, Thomas Nyström wrote: >> Anyone else seen this? >> >> Machine is HP Compaq 6715s and I'm running current (from yesterday). >> During startup the internal SATA-disk is not detected. I have tried >> both GENERIC and customized kernel with same bad result. >> Everything works fine on 7.0R and 6.3R. >> >> If I modify ata-chipset.c:ata_ati_ident() and removes the lines >> that matches the ATA_ATI_IXP600_S1 type chip everything is working >> when the ata-system uses the default/fallback driver for ATI. >> >> dmesg and pciconf -lv attached (from the working system). >> >> The releveant message from a failing system are (hand typed off the >> screen, no serial port available): >> >> atapci0: port 0x9000-0x9007,0x9007-0x900b,0x9010-0x9017, >> 0x5018-0x501b,0x5020-0x502f mem 0xd0409000-0xd04093ff irq 16 at device 18.0 on pci0 >> atapci0: [THREAD] >> atapci0: AHCI Version 230.07 controller with 4 ports PM not supported >> ata2: on atapci0 >> ata2: port not implemented >> ata2: [ITHREAD] >> ata3: on atapci0 >> ata3: port not implemented >> ata3: [ITHREAD] >> ata4: on atapci0 >> ata4: port not implemented >> ata4: [ITHREAD] >> ata5: on atapci0 >> ata5: port not implemented >> ata5: [ITHREAD] >> >> What more info is needed? >> >> /Thomas >> > > Thomas, > > I've fixed this, as I have the same notebook. It has also been confirmed > by a few others. The problem is the fix is kind of ugly, and isn't > something that is import-worthy into the kernel, as it requires a patch > to change the memory-mapped I/O regions of the audio chipset during PCI > device initialization. Well, almost the same notebook, you have 6715b but I have 6715s. One difference is the Ethernet-chip. > The bug in this laptop is that the person who wrote the BIOS table was > kind enough to place the MMIO region for the AHCI interface on the SATA > controller right smack in the middle of the range reserved for the HDA > Audio controller. The result of this is that you cannot use the HDA > Audio at all and you can't use the AHCI interface of the SATA controller > (until you apply my fix). I can confirm that this is true for my laptop. > Here's my page on the subject, including a link to some 7.0-STABLE ISOs > that you can download with my patch already applied: > http://www.cokane.org/dokuwiki/freebsd/amd64_compatibility#getting_the_hp_compaq_6715b_working > > You can also apply the patch to your own source tree that I have here: > http://www.cokane.org/dokuwiki/freebsd/amd64_compatibility#the_onboard_ati_sb600_hda_audio_controller Your server is currently inaccessible but I managed to pick up the information from the cached page on Google! > You *won't* need to deal with any of the ATA-related stuff in that > document, as that particular code was actually imported some time > earlier. > > You'll need to perform the following at the loader prompt before you > boot the hardware (from my analysis of your dmesg below): > set hw.pci.hp6715b_membase_for_hd_audio="0xd0414000" > > After you get the system installed, you can put this > into /boot/loader.conf. I can confirm that your fix got my disk to appear and it seems to work! Nice trick! > Could you send me the output of "devinfo -uv" ? Attached! > Additionally, you'll find a Win64 driver for the Broadcom Wifi card that > works really well with the draft-n card on the laptop. Thanks for the tip. I'm not sure if I should bother with the WLAN. The laptop is mainly used to compile the software and initiate a Compact Flash disk for an embedded system. That system is using 6.3R. I put -CURRENT on the system just to test some fixes for the Ethernet in the machine (BCM5906, now supported by bge(4)). > Hope that helps. Yes! Thank you! /Thomas -- --------------------------------------------------------------- Svensk Aktuell Elektronik AB Thomas Nyström Box 10 Phone: +46 73 069 69 30 S-191 21 Sollentuna Fax: +46 8 35 92 89 Sweden Email: thn@saeab.se --------------------------------------------------------------- --------------040202050101070809060701 Content-Type: text/plain; name="devinfo-uv.txt" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="devinfo-uv.txt" SW50ZXJydXB0IHJlcXVlc3QgbGluZXM6CiAgICAwIChyb290MCkKICAgIDEgKGF0a2JkMCkK ICAgIDMgKHJvb3QwKQogICAgNCAoc2lvMCkKICAgIDUtNyAocm9vdDApCiAgICA4IChhdHJ0 YzApCiAgICA5IChhY3BpMCkKICAgIDEwLTExIChyb290MCkKICAgIDEyIChwc20wKQogICAg MTMgKHJvb3QwKQogICAgMTQgKGF0YTApCiAgICAxNSAocm9vdDApCiAgICAxNiAoYmdlMCkK ICAgIDE3IChvaGNpMSkKICAgIDE4LTE5IChyb290MCkKICAgIDIwIChjYmIwKQogICAgMjEt MjIgKHJvb3QwKQogICAgMjMgKG9oY2kwKQpETUEgcmVxdWVzdCBsaW5lczoKICAgIDAtNyAo cm9vdDApCkkvTyBwb3J0czoKICAgIDB4MC0weGYgKHJvb3QwKQogICAgMHgxMC0weDFmIChh Y3BpMCkKICAgIDB4MjAtMHgyMSAocm9vdDApCiAgICAweDIyLTB4MjMgKGFjcGkwKQogICAg MHgyNC0weDJkIChyb290MCkKICAgIDB4MmUtMHgyZiAoYWNwaTApCiAgICAweDMwLTB4NGQg KHJvb3QwKQogICAgMHg0ZS0weDRmIChhY3BpMCkKICAgIDB4NTAtMHg1ZiAocm9vdDApCiAg ICAweDYwIChhdGtiZGMwKQogICAgMHg2MSAocm9vdDApCiAgICAweDYyIChhY3BpX2VjMCkK ICAgIDB4NjMgKHJvb3QwKQogICAgMHg2NCAoYXRrYmRjMCkKICAgIDB4NjUgKHJvb3QwKQog ICAgMHg2NiAoYWNwaV9lYzApCiAgICAweDY3LTB4NmYgKHJvb3QwKQogICAgMHg3MC0weDcx IChhdHJ0YzApCiAgICAweDcyLTB4OTEgKHJvb3QwKQogICAgMHg5MiAoYWNwaTApCiAgICAw eDkzLTB4MTZmIChyb290MCkKICAgIDB4MTcwLTB4MTc3IChhdGFwY2kxKQogICAgMHgxNzgt MHgxZWYgKHJvb3QwKQogICAgMHgxZjAtMHgxZjcgKGF0YXBjaTEpCiAgICAweDFmOC0weDM3 NSAocm9vdDApCiAgICAweDM3NiAoYXRhcGNpMSkKICAgIDB4Mzc3LTB4M2JmIChyb290MCkK ICAgIDB4M2MwLTB4M2RmICh2Z2EwKQogICAgMHgzZTAtMHgzZjUgKHJvb3QwKQogICAgMHgz ZjYgKGF0YXBjaTEpCiAgICAweDNmNyAocm9vdDApCiAgICAweDNmOC0weDNmZiAoc2lvMCkK ICAgIDB4NDAwLT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B4ODAwNyAocm9vdDAp CiAgICAweDgwMDgtMHg4MDBiIChhY3BpX3RpbWVyMCkKICAgIDB4ODAwYy0weDgwMGYgKHJv b3QwKQogICAgMHg4MDEwLTB4ODAxMyAoYWNwaV90aHJvdHRsZTApCiAgICAweDgwMTQtMHg4 MDJmIChyb290MCkKICAgIDB4ODEwMC0weDgxMWYgKHJvb3QwKQpBQ1BJIEkvTyBtZW1vcnkg YWRkcmVzc2VzOgogICAgMHhjZDQwMC0weGNmZmZmIChyb290MCkKICAgIDB4ZTAwMDAtMHhm ZmZmZiAocm9vdDApCg== --------------040202050101070809060701--