From owner-freebsd-stable@freebsd.org Tue Sep 22 15:02:45 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA063A07FDC for ; Tue, 22 Sep 2015 15:02:44 +0000 (UTC) (envelope-from amdmiek@gmail.com) Received: from mail-io0-x22b.google.com (mail-io0-x22b.google.com [IPv6:2607:f8b0:4001:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A37761158; Tue, 22 Sep 2015 15:02:44 +0000 (UTC) (envelope-from amdmiek@gmail.com) Received: by iofh134 with SMTP id h134so17362160iof.0; Tue, 22 Sep 2015 08:02:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=U0MPMB+nZJClNEqZLRbHofF6d5ZkN868Wgiye8cMXy4=; b=C0POnMDkG3bqbCVKEtBAYIksDpnAbCY/5ypWYgaPV8PYsAC+xn4630+Od/UkHn+ucu OQoHdoEG8OHqvykQTCywTenv5AGTzmk0Zg6WgsF9W90J7CS63cHk7U+f9K+6Z2+HpRDP Bwgx33QWLgk+d3VEcPV3Wb7TOZx27GpIZ1lr15GJTLV3rx52cxWpe/yixhRVEyYMeZYo q2HIXIuS5JN7GuHR/tjhBzaK5fCXWYj3sDyEJgpw7Gu3aDYE6gsC/YfTB2ntfzq/78Ea VHvqeHARF7t4vGdi8llP1a1S17yuazAQPH+Rzn9LpywVR4n6uRpzu/UQaile4ZzfOLIm fjfw== MIME-Version: 1.0 X-Received: by 10.107.128.145 with SMTP id k17mr36554801ioi.24.1442934164092; Tue, 22 Sep 2015 08:02:44 -0700 (PDT) Received: by 10.107.5.143 with HTTP; Tue, 22 Sep 2015 08:02:43 -0700 (PDT) In-Reply-To: <56011F1A.5000406@FreeBSD.org> References: <56011AA5.6090904@FreeBSD.org> <56011F1A.5000406@FreeBSD.org> Date: Tue, 22 Sep 2015 18:02:43 +0300 Message-ID: Subject: Re: ATA/ACHI Jmicron broken up From: Michael BlackHeart To: Alexander Motin , freebsd-stable Content-Type: multipart/mixed; boundary=001a113fbcc649a70e0520574a50 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2015 15:02:45 -0000 --001a113fbcc649a70e0520574a50 Content-Type: text/plain; charset=UTF-8 Thanks! Patch helped. 2015-09-22 12:27 GMT+03:00 Alexander Motin : > On 22.09.2015 12:19, Michael BlackHeart wrote: > > dmesg from updated system is a little bit tricky right now. I can > > provide working system dmesg and say what's missing in it's output when > > I try to boot new kernel. > > > > Here goes pciconf > > > > atapci0@pci0:2:0:0: class=0x010400 card=0x75121462 chip=0x2363197b > > rev=0x03 hdr=0x00 > > vendor = 'JMicron Technology Corp.' > > device = 'JMB363 SATA/IDE Controller' > > class = mass storage > > subclass = RAID > > bar [24] = type Memory, range 32, base 0xf7dfe000, size 8192, > enabled > > cap 01[68] = powerspec 2 supports D0 D3 current D0 > > cap 10[50] = PCI-Express 1 legacy endpoint IRQ 1 max data 128(128) > > link x1(x1) > > speed 2.5(2.5) ASPM disabled(L0s) > > OK, I see the problem -- it is reported as RAID, but not as AHCI, as > devices that I had before, and so ahci(4) driver does not attach. Could > you test the attached patch? I should allow driver attachment to such > devices. > > -- > Alexander Motin > -- amd_miek Think different. Just superior. --001a113fbcc649a70e0520574a50 Content-Type: text/plain; charset=UTF-8; name=zzz Content-Disposition: attachment; filename=zzz Content-Transfer-Encoding: base64 X-Attachment-Id: 2209771caf408a95_0.1 SW5kZXg6IGFoY2lfcGNpLmMKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gYWhjaV9wY2kuYwkocmV2aXNpb24gMjg4 MDIxKQorKysgYWhjaV9wY2kuYwkod29ya2luZyBjb3B5KQpAQCAtMzI3LDYgKzMyNyw5IEBAIGFo Y2lfcHJvYmUoZGV2aWNlX3QgZGV2KQogCSAgICBwY2lfZ2V0X3N1YmNsYXNzKGRldikgPT0gUENJ U19TVE9SQUdFX1NBVEEgJiYKIAkgICAgcGNpX2dldF9wcm9naWYoZGV2KSA9PSBQQ0lQX1NUT1JB R0VfU0FUQV9BSENJXzFfMCkKIAkJdmFsaWQgPSAxOworCWVsc2UgaWYgKHBjaV9nZXRfY2xhc3Mo ZGV2KSA9PSBQQ0lDX1NUT1JBR0UgJiYKKwkgICAgcGNpX2dldF9zdWJjbGFzcyhkZXYpID09IFBD SVNfU1RPUkFHRV9SQUlEKQorCQl2YWxpZCA9IDI7CiAJLyogSXMgdGhpcyBhIGtub3duIEFIQ0kg Y2hpcD8gKi8KIAlmb3IgKGkgPSAwOyBhaGNpX2lkc1tpXS5pZCAhPSAwOyBpKyspIHsKIAkJaWYg KGFoY2lfaWRzW2ldLmlkID09IGRldmlkICYmCkBAIC0zNDMsNyArMzQ2LDcgQEAgYWhjaV9wcm9i ZShkZXZpY2VfdCBkZXYpCiAJCQlyZXR1cm4gKEJVU19QUk9CRV9ERUZBVUxUKTsKIAkJfQogCX0K LQlpZiAoIXZhbGlkKQorCWlmICh2YWxpZCAhPSAxKQogCQlyZXR1cm4gKEVOWElPKTsKIAlkZXZp Y2Vfc2V0X2Rlc2NfY29weShkZXYsICJBSENJIFNBVEEgY29udHJvbGxlciIpOwogCXJldHVybiAo QlVTX1BST0JFX0RFRkFVTFQpOwo= --001a113fbcc649a70e0520574a50--