All of lore.kernel.org
 help / color / mirror / Atom feed
* The pm80xx driver hangs in 3.10 with the Adaptec 71605H HBA
@ 2013-07-12 11:02 Hans Verkuil
       [not found] ` <CAD+HZHUc7wULDUpKq24rmcVC9MCcgaoO4i1LxGcW-q-y-c3tcQ@mail.gmail.com>
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Verkuil @ 2013-07-12 11:02 UTC (permalink / raw)
  To: xjtuwjp, lindar_liu; +Cc: linux-scsi

Hi!

I am trying to get my Adaptec 71605H HBA to work with kernel 3.10.
Unfortunately it hangs while waiting for a completion.

After registering all the interrupts the pm8001_pci_probe() function calls
pm8001_init_sas_add(). That function calls PM8001_CHIP_DISP->get_nvmd_req()
and waits for a completion that never happens.

I tried to use the drivers available from the Adaptec website, and after
hacking them so they compiled again with 3.10 I just copied those sources
over to the kernel, recompiled and tested those. And lo and behold, that
actually worked! So the Adaptec drivers do something that the current kernel
drivers don't.

The patch I applied to the 3.10 kernel to effectively update the current
drivers with those from Adaptec is here:

http://hverkuil.home.xs4all.nl/0002-pm80xx-copy-over-adaptec-drivers.patch

The original drivers from Adaptec are here:

http://www.adaptec.com/en-us/downloads/rh/rhel_6/productid=asa-71605h&dn=adaptec+71605h.html

I tried to find relevant differences that might explain why the adaptec
version works while the current 3.10 doesn't, but nothing jumped out to
me.

It's no problem to test any patches you have, or to do some debugging if
someone can point me in the right direction.

Regards,

	Hans

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-07-15 13:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-12 11:02 The pm80xx driver hangs in 3.10 with the Adaptec 71605H HBA Hans Verkuil
     [not found] ` <CAD+HZHUc7wULDUpKq24rmcVC9MCcgaoO4i1LxGcW-q-y-c3tcQ@mail.gmail.com>
     [not found]   ` <201307121419.50786.hansverk@cisco.com>
     [not found]     ` <E5DEE6F468524847995699AD11E8088501B28CAA@BBY1EXM11.pmc_nt.nt.pmc-sierra.bc.ca>
2013-07-14  8:45       ` Hans Verkuil
2013-07-15  8:53         ` Jack Wang
2013-07-15 12:37           ` Anand Kumar Santhanam
2013-07-15 13:02             ` Hans Verkuil
2013-07-15 13:08             ` Jack Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.