Re: Can you please test the attached patch for nv hardreset problem?

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

 



On Fri, Oct 17, 2008 at 9:25 AM, gettinther <gettinther@xxxxxxxxx> wrote:
> On Thu, Oct 16, 2008 at 8:04 AM, gettinther <gettinther@xxxxxxxxx> wrote:
>> On Thu, Oct 16, 2008 at 2:44 AM, Tejun Heo <tj@xxxxxxxxxx> wrote:
>>> gettinther wrote:
>>>> On Wed, Oct 15, 2008 at 6:22 AM, Tejun Heo <tj@xxxxxxxxxx> wrote:
>>>>> gettinther wrote:
>>>>>> The log simply ignores the drive altogether.
>>>>>>
>>>>>> from the sound coming from the drive, it does seem that the drive
>>>>>> initially starts at boot, then stops.  After that stage the device
>>>>>> detection takes place.  as the item is a pata to sata converter
>>>>>> (emulated sata), it does not support hot plugging.
>>>>>>
>>>>>> I also need to mention that this behavior (start-stop during boot) did
>>>>>> not happen on the 2.6.24 and I need to check the 2.6.27.  However the
>>>>>> device is detected by both of these kernels.
>>>>> Hmmm...
>>>>>
>>>>>> Oct 14 21:18:12 localhost kernel: ata2: SATA link up 1.5 Gbps (SStatus
>>>>>> 113 SControl 300)
>>>>> Hmmm... Can you please apply the attached patch on top of it and
>>>>> report the boot log?
>>>>>
>>>>> --
>>>>> tejun
>>>>>
>>>>
>>>> here it is.  Let me know if you need other parts of the logs.
>>>
>>> Ah.. okay, you need to change .hardreset to ATA_OP_NULL instead of
>>> sata_std_hardreset.
>>>
>>> --
>>> tejun
>>>
>>
>> On both 2.6.26 and 2.6.27 or just the 2.6.26?  The initial patch does
>> work on the 2.6.27
>>
>> Thanks,
>>
>> Cyrille
>>
>
> Tried replacing sata_std_hardreset with  ATA_OP_NULL but it didn't
> work.  I'll add back the debug patch and post the results
>

Sorry for the delay

Here's the message with debug

Oct 21 07:39:35 dranagh1 kernel: sata_nv 0000:00:05.1: Using SWNCQ mode
Oct 21 07:39:35 dranagh1 kernel: scsi2 : sata_nv
Oct 21 07:39:35 dranagh1 kernel: scsi3 : sata_nv
Oct 21 07:39:35 dranagh1 kernel: ata3: SATA max UDMA/133 cmd 0xb880
ctl 0xb800 bmdma 0xb080 irq 22
Oct 21 07:39:35 dranagh1 kernel: ata4: SATA max UDMA/133 cmd 0xb480
ctl 0xb400 bmdma 0xb088 irq 22
Oct 21 07:39:35 dranagh1 kernel: ata3: hard resetting link
Oct 21 07:39:35 dranagh1 kernel: XXX classify 12/00
Oct 21 07:39:35 dranagh1 kernel: ata3: SATA link up 1.5 Gbps (SStatus
113 SControl 300)
Oct 21 07:39:35 dranagh1 kernel: ata3: EH complete
Oct 21 07:39:35 dranagh1 kernel: ata4: hard resetting link
Oct 21 07:39:35 dranagh1 kernel: ata4: SATA link down (SStatus 0 SControl 300)
Oct 21 07:39:35 dranagh1 kernel: ata4: EH complete
Oct 21 07:39:35 dranagh1 kernel: ACPI: PCI Interrupt Link [LSA2]
enabled at IRQ 21
Oct 21 07:39:35 dranagh1 kernel: ACPI: PCI Interrupt 0000:00:05.2[C]
-> Link [LSA2] -> GSI 21 (level, low) -> IRQ 21
Oct 21 07:39:35 dranagh1 kernel: sata_nv 0000:00:05.2: Using SWNCQ mode
Oct 21 07:39:35 dranagh1 kernel: scsi4 : sata_nv
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux