libata based pata driver instead of ide

If none of the more specific forums is the right place to ask

libata based pata driver instead of ide

Postby aspnair » 2009-07-27 10:27

I am using Debian Sid on my Athlon X2 computer with Asus M2N-MX mothereboard with one ide hard disk. This has an Nvidia MCP61 ide controller. Currently the installed debian kernel is 2.6.30-1. I noticed that debian kernel is using amd74xx kernel module for ide. I wanted to try out libata based pata driver which is pata_amd. This module is not even compiled, it is commented out as per /boot/config-2.6.30-1-amd64 So I compiled a custom kernel disabling ide and enabling pata_amd only. Everything is working fine. Now my hard disk is shown as sda instead of hda.

So the question is why debian kernel is still using old ide based drivers instead of the new libata pata drivers? When are they going to support pata drivers
Compressed Air Energy Storage, Entropy and Efficiency
http://saurorja.org/2012/06/18/compress ... fficiency/
User avatar
aspnair
 
Posts: 1247
Joined: 2009-06-18 12:27
Location: Twitter: @anand_sivaram

Re: libata based pata driver instead of ide

Postby bugsbunny » 2009-07-27 13:12

aspnair wrote:I am using Debian Sid on my Athlon X2 computer with Asus M2N-MX mothereboard with one ide hard disk. This has an Nvidia MCP61 ide controller. Currently the installed debian kernel is 2.6.30-1. I noticed that debian kernel is using amd74xx kernel module for ide. I wanted to try out libata based pata driver which is pata_amd. This module is not even compiled, it is commented out as per /boot/config-2.6.30-1-amd64 So I compiled a custom kernel disabling ide and enabling pata_amd only. Everything is working fine. Now my hard disk is shown as sda instead of hda.

So the question is why debian kernel is still using old ide based drivers instead of the new libata pata drivers? When are they going to support pata drivers


I suspect that they're doing it because too many people get caught up in the hdx to sdx switch and end up with unbootable systems. The solution is to switch to UUID= or LABEL= syntax, in which case it doesn't matter whether the system calls them hdx, sdx, or random-name-of-the-day-x. But most people haven't done that.
User avatar
bugsbunny
 
Posts: 5355
Joined: 2008-07-06 17:04

Re: libata based pata driver instead of ide

Postby aspnair » 2009-07-27 16:24

thanks bugsbunny.
I feel at least they should give an option to use libata in sid because that is the unstable version.
When I switched to pata driver I found that there are places apart from /etc/fstab where hdx or sdx could be hard coded. for example, /boot/grub/device.map. I tried using /dev/disk/by-id/ata-SAMSUNG_SP1614N_S016J10XA40667 in that so that I could do "upgrade-grub" when using both kernels.
Compressed Air Energy Storage, Entropy and Efficiency
http://saurorja.org/2012/06/18/compress ... fficiency/
User avatar
aspnair
 
Posts: 1247
Joined: 2009-06-18 12:27
Location: Twitter: @anand_sivaram


Return to General Questions

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable