Compile module to weird SATA controller support on installation?
Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Everyone please be aware that the original driver written by Tejun Heo didn't completely work, due to some odd timing problem, and was eventually marked as broken. Initio finally released source code to use the card, and Tejun has picked it up and turned it into a real driver for kernels 2.6.27-rc2 and later.
Use this link to get a copy of the source in your browser, but be aware that it takes the latest version of libata, so you probably won't get it to compile with earlier kernels. http://git.kernel.org/?p=linux/kerne...55d7286abaa1c4
You can also just git a copy of 2.6.27-rc2, and it should be there and should work. I have tried to compile it with earlier kernels, but since madwifi won't compile much later than 2.6.20, I wasn't able to find a middle ground where both would compile and I could test.
Everyone please be aware that the original driver written by Tejun Heo didn't completely work, due to some odd timing problem, and was eventually marked as broken. Initio finally released source code to use the card, and Tejun has picked it up and turned it into a real driver for kernels 2.6.27-rc2 and later.
Use this link to get a copy of the source in your browser, but be aware that it takes the latest version of libata, so you probably won't get it to compile with earlier kernels. http://git.kernel.org/?p=linux/kerne...55d7286abaa1c4
You can also just git a copy of 2.6.27-rc2, and it should be there and should work. I have tried to compile it with earlier kernels, but since madwifi won't compile much later than 2.6.20, I wasn't able to find a middle ground where both would compile and I could test.
Does this imply that the driver is not safe to use in write mode? Currently I have not tested it out on openSUSE's 2.6.25 kernel, or did they apply the updated patch to their kernel?
Does this imply that the driver is not safe to use in write mode? Currently I have not tested it out on openSUSE's 2.6.25 kernel, or did they apply the updated patch to their kernel?
I don't know which version of the driver openSUSE uses. I can only speak directly to Tejun's original driver. If it's the latest one, the one that uses IDMA, then it should probably be OK, though I haven't personally tested it yet. If it's the non-IDMA version, then it's not 100% reliable in either read or write. The way I would test it is to copy a large ISO file to your drive (I was using 4.7GB DVD ISOs for my testing) and run multiple MD5 generations on the file. If it always comes up with the same answer that was generated for the original file, then it's probably OK. If not...
BTW, is it possible that openSUSE has their own driver derived from the kernel 2.4 driver? In that case, I know nothing about it.
I'm just waiting for a new video card that will be compatible with 2.6.27-rc2. When it comes in, I'll do testing on the new driver. If this thread is still unresolved, I'll report back. But, be aware that I'm not on the linux-ide development team. I was just a dedicated tester that found a bug that couldn't be resolved.
Added:
OH, and I'm pretty sure the LBA48 issue as well as SATA DVD drive issues have been resolved in the new driver.
Last edited by Quakeboy02; 08-15-2008 at 11:39 AM.
The good news is that Tejun's new driver works on everything I can throw at it including booting and LBA48. The bad news is that it debuted at 2.6.27-rc2 or thereabouts, so you may have to wait.
OTOH, as it turned out, the card I was using to test the first driver seems to have been bad, so perhaps it's just an LBA48 issue that you're running into.
Today I took my HD to one of my friends PC and connected it... Then I tried to install Fedora... My HD is not getting detected there also... He is also having the same type of Mother board which I am having...
Then I tried to install Fedora to his HD which is also SATA, but not WD, instead Seagate SATA HD.... Now this time Fedora detected his HD...
I think the issue is wid my Western Digital HD... But both BIOS and Windows are detecting it... I donno wats the problem...
Can anyone figure it out???
At last I got my SATA HD working... But not with the old one... This time I exchanged my old Western Digital wid new Seagate SATA hard disk...
Now Fedora is detecting it without any problem....
I explained my painful story of not detecting the HD to the vendor... Then he exchanged it wid Seagate, wid 0.1% of extra amount of the actual price of the HD...
What else can I do??? It was almost 2 moths that I had been trying to detect my HD.... I posted my query in many different forums... But no results yet...
Moral of the story:
Next time I wont purchase Western Digital HD....
Well, I received some responses from Sunix.
Thay said Initio (the chipset vendor) is having some delay to realease newer versions of the module.
Sunix sent me a a tarball with a driver to test, because they said that should work with fedora core 3,4 or 5... But still they didn't confirm if lba48 feature would be supported.
Now I don't have a spare SATA hd to test but I'll do as soon as I can. If anybody want to try that driver, just tell me and I'll sent it by mail.
Matías
yes please, i have a 500 GB hd i got today and this Sunix pci sata controller.
I would be happy to try these drivers.
my email is nikzanta at photo-book.gr
thank you in advance.
thank you for your response.
However, may sound funny, but how do i get this kernel for ubuntu?
I have no idea...
where is it?
I have also downloaded this file i found above, "sata_inic162x.c" and i dont know how to use this file.... of course i will search in the forum, but if in the meanwhile you post a way to use it, i think it is relevant to the topic, describing analytically how to install the driver.
again, thank you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.