From: Andrei Popescu on
On Du, 04 iul 10, 15:01:35, Paul E Condon wrote:

> But now I'm looking at debian.org and having difficulty figuring out
> what to do to get my /usr/src/linux directory created and
> populated. Can someone recommend a howto for deb-src?

The Linux kernel is special, because the source is packaged as a regular
package, named linux-source-<version>. Just install that. You may also
want to install the corresponding linux-doc-<version> package.

> Is there a
> distinction between sid and testing in deb-src?

Of course. The deb-src lines should be analogue to your regular deb
lines, but beware: by default 'apt-get source <package>' will get the
source for the most recent version regardless of any kind of pinning.

Regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
From: Camaleón on
On Sun, 04 Jul 2010 15:01:35 -0600, Paul E Condon wrote:

> On 20100704_154414, Camale?n wrote:

>> Review your "/usr/src/linux/drivers/ata/libata-core.c" and search for
>> "ATA_HORKAGE_NONCQ" string to find a list of blacklisted devices in
>> which kernel avoids enabling NCQ for some reason (slow/broken).
>
> On my computer /usr/src/linux/ directory does not exist.

(...)

Okay, okay... look here then:

http://lxr.free-electrons.com/source/drivers/ata/libata-core.c#L4287

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/pan.2010.07.04.21.43.39(a)gmail.com
From: Ron Johnson on
On 07/04/2010 04:43 PM, Camale�n wrote:
> On Sun, 04 Jul 2010 15:01:35 -0600, Paul E Condon wrote:
>
>> On 20100704_154414, Camale?n wrote:
>
>>> Review your "/usr/src/linux/drivers/ata/libata-core.c" and search for
>>> "ATA_HORKAGE_NONCQ" string to find a list of blacklisted devices in
>>> which kernel avoids enabling NCQ for some reason (slow/broken).
>>
>> On my computer /usr/src/linux/ directory does not exist.
>
> (...)
>
> Okay, okay... look here then:
>
> http://lxr.free-electrons.com/source/drivers/ata/libata-core.c#L4287
>

One other issue is that this is new in 2.6.33. (Which is why I
didn't find it in 2.6.32.)

--
Seek truth from facts.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4C31033F.6020808(a)cox.net
From: Stan Hoeppner on
Ron Johnson put forth on 7/4/2010 4:55 PM:
> On 07/04/2010 04:43 PM, Camale�n wrote:
>> On Sun, 04 Jul 2010 15:01:35 -0600, Paul E Condon wrote:
>>
>>> On 20100704_154414, Camale?n wrote:
>>
>>>> Review your "/usr/src/linux/drivers/ata/libata-core.c" and search for
>>>> "ATA_HORKAGE_NONCQ" string to find a list of blacklisted devices in
>>>> which kernel avoids enabling NCQ for some reason (slow/broken).
>>>
>>> On my computer /usr/src/linux/ directory does not exist.
>>
>> (...)
>>
>> Okay, okay... look here then:
>>
>> http://lxr.free-electrons.com/source/drivers/ata/libata-core.c#L4287
>>
>
> One other issue is that this is new in 2.6.33. (Which is why I didn't
> find it in 2.6.32.)

ATA_HORKAGE_NONCQ isn't new to 2.6.33. I don't know how long it's been
around, but it does go back quite a ways in 2.6.x. Here it is in 2.6.31.1,
which is the oldest source I have sitting around.

/usr/src/linux-2.6.31.1/drivers/ata$ grep ATA_HORKAGE_NONCQ libata-core.c
if (dev->horkage & ATA_HORKAGE_NONCQ) {
{ "WDC WD740ADFD-00", NULL, ATA_HORKAGE_NONCQ },
{ "WDC WD740ADFD-00NLR1", NULL, ATA_HORKAGE_NONCQ, },
{ "FUJITSU MHT2060BH", NULL, ATA_HORKAGE_NONCQ },
{ "Maxtor *", "BANC*", ATA_HORKAGE_NONCQ },
{ "Maxtor 7V300F0", "VA111630", ATA_HORKAGE_NONCQ },
{ "ST380817AS", "3.42", ATA_HORKAGE_NONCQ },
{ "ST3160023AS", "3.42", ATA_HORKAGE_NONCQ },
{ "OCZ CORE_SSD", "02.10104", ATA_HORKAGE_NONCQ },
{ "ST31500341AS", "SD15", ATA_HORKAGE_NONCQ |
{ "ST31500341AS", "SD16", ATA_HORKAGE_NONCQ |
{ "ST31500341AS", "SD17", ATA_HORKAGE_NONCQ |
{ "ST31500341AS", "SD18", ATA_HORKAGE_NONCQ |
{ "ST31500341AS", "SD19", ATA_HORKAGE_NONCQ |
{ "ST31000333AS", "SD15", ATA_HORKAGE_NONCQ |
{ "ST31000333AS", "SD16", ATA_HORKAGE_NONCQ |
{ "ST31000333AS", "SD17", ATA_HORKAGE_NONCQ |
{ "ST31000333AS", "SD18", ATA_HORKAGE_NONCQ |
{ "ST31000333AS", "SD19", ATA_HORKAGE_NONCQ |
{ "ST3640623AS", "SD15", ATA_HORKAGE_NONCQ |
{ "ST3640623AS", "SD16", ATA_HORKAGE_NONCQ |
{ "ST3640623AS", "SD17", ATA_HORKAGE_NONCQ |
{ "ST3640623AS", "SD18", ATA_HORKAGE_NONCQ |
{ "ST3640623AS", "SD19", ATA_HORKAGE_NONCQ |
{ "ST3640323AS", "SD15", ATA_HORKAGE_NONCQ |
{ "ST3640323AS", "SD16", ATA_HORKAGE_NONCQ |
{ "ST3640323AS", "SD17", ATA_HORKAGE_NONCQ |
{ "ST3640323AS", "SD18", ATA_HORKAGE_NONCQ |
{ "ST3640323AS", "SD19", ATA_HORKAGE_NONCQ |
{ "ST3320813AS", "SD15", ATA_HORKAGE_NONCQ |
{ "ST3320813AS", "SD16", ATA_HORKAGE_NONCQ |
{ "ST3320813AS", "SD17", ATA_HORKAGE_NONCQ |
{ "ST3320813AS", "SD18", ATA_HORKAGE_NONCQ |
{ "ST3320813AS", "SD19", ATA_HORKAGE_NONCQ |
{ "ST3320613AS", "SD15", ATA_HORKAGE_NONCQ |
{ "ST3320613AS", "SD16", ATA_HORKAGE_NONCQ |
{ "ST3320613AS", "SD17", ATA_HORKAGE_NONCQ |
{ "ST3320613AS", "SD18", ATA_HORKAGE_NONCQ |
{ "ST3320613AS", "SD19", ATA_HORKAGE_NONCQ |
{ "HTS541060G9SA00", "MB3OC60D", ATA_HORKAGE_NONCQ, },
{ "HTS541080G9SA00", "MB4OC60D", ATA_HORKAGE_NONCQ, },
{ "HTS541010G9SA00", "MBZOC60D", ATA_HORKAGE_NONCQ, },
{ "noncq", .horkage_on = ATA_HORKAGE_NONCQ },
{ "ncq", .horkage_off = ATA_HORKAGE_NONCQ },

--
Stan


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4C315BF2.6030506(a)hardwarefreak.com