Hi, I get an Adaptec card several days ago, the pci id changed, after add the new pci id, pmcs still can not attach. I checked the linux pm8001 driver, it seems to access some registers, pci bar 4 address need to be shifted.
I am out of door now, I think I can try to fix this several days later. 在 2014-5-6 上午2:50,"Keith Wesolowski" <[email protected]>写道: > > On Tue, May 06, 2014 at 12:10:24AM +0800, Fred Liu wrote: > > > I have a 6805H in hand and illumos can not detect it. But I don't have > > experience > > porting driver in FreeBSD it has to illumos. And I do NOT want to waste my > > money.:-) > > Therefore I would like to do anything to pursue this as long as I can! > > There's no reason to port a driver; we already have one. The first step > here is to figure out whether we're even trying to attach. Do you see > the device in the output of prtconf -D? Is pmcs associated with it? If > the answer to both is yes, you will need to figure out why pmcs is not > attaching; check log messages and consider standard driver-attach > debugging methods such as DTrace. If the answer is no, then you will > need to use update_drv(1M) to add an appropriate alias; the alias should > be "pmcs" and the identity should match the PCI vendor and device ID > associated with your card. Because I do not have one in hand, I do not > know what these are. > > If you get all the way into attach and it seems like the device is > simply doing something we don't expect (i.e., that it's a qualitatively > different device than the one our driver expects due to different > firmware, configuration, etc.) then it will be time to start looking at > other OS's drivers for this card and/or engaging with PMC Engineering to > figure out what the device is doing and why. > > All of this is fairly standard in debugging "device not seen" type > issues, so you should have success getting additional tips by searching > the archives; of course, the details end up being device-dependent. > > Good luck! > > > ------------------------------------------- > illumos-developer > Archives: https://www.listbox.com/member/archive/182179/=now > RSS Feed: https://www.listbox.com/member/archive/rss/182179/21175337-120aaa74 > Modify Your Subscription: https://www.listbox.com/member/?& > Powered by Listbox: http://www.listbox.com 在 2014-5-6 上午2:50,"Keith Wesolowski" <[email protected]>写道: > On Tue, May 06, 2014 at 12:10:24AM +0800, Fred Liu wrote: > > > I have a 6805H in hand and illumos can not detect it. But I don't have > > experience > > porting driver in FreeBSD it has to illumos. And I do NOT want to waste > my > > money.:-) > > Therefore I would like to do anything to pursue this as long as I can! > > There's no reason to port a driver; we already have one. The first step > here is to figure out whether we're even trying to attach. Do you see > the device in the output of prtconf -D? Is pmcs associated with it? If > the answer to both is yes, you will need to figure out why pmcs is not > attaching; check log messages and consider standard driver-attach > debugging methods such as DTrace. If the answer is no, then you will > need to use update_drv(1M) to add an appropriate alias; the alias should > be "pmcs" and the identity should match the PCI vendor and device ID > associated with your card. Because I do not have one in hand, I do not > know what these are. > > If you get all the way into attach and it seems like the device is > simply doing something we don't expect (i.e., that it's a qualitatively > different device than the one our driver expects due to different > firmware, configuration, etc.) then it will be time to start looking at > other OS's drivers for this card and/or engaging with PMC Engineering to > figure out what the device is doing and why. > > All of this is fairly standard in debugging "device not seen" type > issues, so you should have success getting additional tips by searching > the archives; of course, the details end up being device-dependent. > > Good luck! > > > ------------------------------------------- > illumos-developer > Archives: https://www.listbox.com/member/archive/182179/=now > RSS Feed: > https://www.listbox.com/member/archive/rss/182179/21175337-120aaa74 > Modify Your Subscription: > https://www.listbox.com/member/?& > Powered by Listbox: http://www.listbox.com > ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
