[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Libata in Debian GNU/Linux Lenny



Hi, Kelly.

On Saturday, 10 October 2009 20:45:26 -0700,
Kelly Clowers wrote:

> > I'm using Debian GNU/Linux Lenny with linux-image-2.6.26-2-amd64
> > stock kernel installed from a binary image from Debian repositories.
> >
> > In this case the disks are seen like hdX but using kernel 2.6.31.2
> > compiled by myself with the sources of kernel.org the disks are seen
> > like sdX. I consider that this difference is because with 2.6.31.2
> > libata is being used whereas in 2.6.26 it is disabled. Is it
> > possible?
> >
> > Reviewing the compilation options of the stock kernel and comparing
> > them with those of kernel 2.6.31.2 I see that the following options
> > are the same in both cases:
> >
> > CONFIG_ATA=m
> > CONFIG_ATA_PIIX=m
> > CONFIG_ATA_GENERIC=m
> > CONFIG_BLK_DEV_SD=m
> > CONFIG_BLK_DEV_SR=m
> > CONFIG_IDE=m

> It might be that libata was not used for your specific IDE
> chipset in 2.6.26, but libata in general was definitely not
> disabled.
> 
> You can find your IDE chipset with lspci -v and then look
> for "IDE interface" or "SATA controller" or similar.

With  2.6.31.2 from kernel.org I got the following output with "lspci -v":

00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] (prog-if 80 [Master])
        Subsystem: Qumranet, Inc. Device 1100
        Flags: bus master, medium devsel, latency 0
        [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
        [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
        [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
        [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
        I/O ports at c000 [size=16]
        Kernel driver in use: ata_piix
        Kernel modules: ata_generic, ata_piix, ide-pci-generic, piix

whereas with linux-image-2.6.26-2-amd64 stock kernel installed from a
binary image from Debian repositories I got the following output with
"lspci -v":

00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] (prog-if 80 [Master])
        Subsystem: Qumranet, Inc. Device 1100
        Flags: bus master, medium devsel, latency 0
        [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
        [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
        [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
        [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
        I/O ports at c000 [size=16]
        Kernel driver in use: PIIX_IDE
        Kernel modules: ata_generic, ide-pci-generic, piix


According to I see, are different the modules that each kernel has and
uses. As I said in previous post, I found that to use libara these [1] are
the required parameters in the config file, and although some of them are
configured like modules, they are exactly the same for both kernels so I
suppose that the difference must happen on the other hand.


Thanks for your reply.

Regards,
Daniel

[1] http://www.thinkwiki.org/wiki/How_to_configure_and_use_libata_SATA_/_PATA_drivers
-- 
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Squeeze - Linux user #188.598

Attachment: signature.asc
Description: Digital signature


Reply to: