Date: Mon, 17 Aug 2009 09:30:42 +0300 From: Alexander Motin <mav@FreeBSD.org> To: Ilya Zhuravlev <i.a.zhuravlev@cbtnet.ru> Cc: FreeBSD-Current <freebsd-current@freebsd.org> Subject: Re: RFC: ATA to CAM integration patch Message-ID: <4A88F912.1050308@FreeBSD.org> In-Reply-To: <4A88CFE8.3000005@cbtnet.ru> References: <4A4517BE.9040504@FreeBSD.org> <4A6EBAFC.6090800@cbtnet.ru> <4A709323.6050001@FreeBSD.org> <4A7AB52B.5000300@cbtnet.ru> <4A7AEF07.2040906@FreeBSD.org> <4A8406E1.5070905@cbtnet.ru> <4A84470B.6040507@FreeBSD.org> <4A88CFE8.3000005@cbtnet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------040203010404030101080705 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Ilya Zhuravlev wrote: > Alexander Motin пишет: >> Ilya Zhuravlev wrote: >>> Alexander Motin wrote: >>>> Ilya Zhuravlev wrote: >>>>> Alexander Motin wrote: >>>>>> Ilya Zhuravlev wrote: >>>>>>> ahci cannot attach drives >>>>>>> 8.0-beta2, laptop asus k50in, nvidia MCP75L-based >>>>>>> >>>>>>> ahci0: [THREAD] >>>>>>> ahci0: AHCI v1.20 with 2 3Gbps ports, Port Multiplier supported >>>>>>> ahcich0: <AHCI channel> at channel 0 on ahci0 >>>>>>> ahcich0: [THREAD] >>>>>>> ahcich1: <AHCI channel> at channel 1 on ahci0 >>>>>>> ahcich1: [THREAD] >>>>>>> ...... >>>>>>> (aprobe0:ahcich0:0:15:0): SIGNATURE: 0000 >>>>>>> (aprobe0:ahcich0:0:0:0): SIGNATURE: 0000 >>>>>>> (aprobe0:ahcich0:0:0:0): Uncorrected Parity Error >>>>>>> (aprobe0:ahcich0:0:0:0): Retrying Command >>>>>>> (aprobe0:ahcich0:0:0:0): Uncoreccted Parity Error >>>>>>> (aprobe0:ahcich0:0:0:0): error 5 >>>>>>> (aprobe0:ahcich0:0:0:0): Retries Exhausted >>>>>>> (aprobe1:ahcich1:0:15:0): SIGNATURE: eb14 >>>>>>> (aprobe0:ahcich1:0:0:0): SIGNATURE: eb14 >>>>>>> (aprobe0:ahcich1:0:0:0): Uncoreccted Parity Error >>>>>>> (aprobe0:ahcich1:0:0:0): Retrying Command >>>>>>> (aprobe0:ahcich1:0:0:0): Uncoreccted Parity Error >>>>>>> (aprobe0:ahcich1:0:0:0): error 5 >>>>>>> (aprobe0:ahcich1:0:0:0): Retries Exhausted >>>>>>> >>>>>> Try please to uncomment device_printf() lines inside ahci_ch_intr() >>>>>> function. It could give some ideas about what's going on there. >>>>>> >>>>> Sorry for long delay. >>>>> boot -v, pciconf attached >>>> >>>> I don't see that you've uncommented >>>> //device_printf(dev, "%s ERROR is %08x cs %08x... >>>> lines in ahci_ch_intr() and rebuilt kernel as I've said. >>>> >>> Ehm, sorry, svn upping after edit was bad idea >> > Or some additional changes were missed by me? I have meant simple 4-line patch, attached here. -- Alexander Motin --------------040203010404030101080705 Content-Type: text/plain; name="xfer.patch" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="xfer.patch" LS0tIGF0YV94cHQuYwkyMDA5LTA3LTE0IDAwOjIxOjE2LjAwMDAwMDAwMCArMDMwMAorKysg YXRhX3hwdC5jCTIwMDktMDgtMTAgMDA6Mzg6MDMuMDAwMDAwMDAwICswMzAwCkBAIC0zNzAs MTAgKzM0NCwxMCBAQCBwcm9iZXN0YXJ0KHN0cnVjdCBjYW1fcGVyaXBoICpwZXJpcGgsIHVu CiAJCWNhbV9maWxsX2F0YWlvKGF0YWlvLAogCQkgICAgICAxLAogCQkgICAgICBwcm9iZWRv bmUsCi0JCSAgICAgIC8qZmxhZ3MqL0NBTV9ESVJfSU4sCi0JCSAgICAgIE1TR19TSU1QTEVf UV9UQUcsCi0JCSAgICAgIC8qZGF0YV9wdHIqLyh1X2ludDhfdCAqKWlkZW50X2J1ZiwKLQkJ ICAgICAgLypkeGZlcl9sZW4qL3NpemVvZihzdHJ1Y3QgYXRhX3BhcmFtcyksCisJCSAgICAg IC8qZmxhZ3MqL0NBTV9ESVJfTk9ORSwKKwkJICAgICAgMCwKKwkJICAgICAgLypkYXRhX3B0 ciovTlVMTCwKKwkJICAgICAgLypkeGZlcl9sZW4qLzAsCiAJCSAgICAgIDMwICogMTAwMCk7 CiAJCWF0YV8zNmJpdF9jbWQoYXRhaW8sIEFUQV9TRVRGRUFUVVJFUywgQVRBX1NGX1NFVFhG RVIsIDAsCiAJCSAgICBhdGFfbWF4X21vZGUoaWRlbnRfYnVmLCBBVEFfVURNQTYsIEFUQV9V RE1BNikpOwo= --------------040203010404030101080705--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A88F912.1050308>