linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yinghai Lu <yinghai@kernel.org>
To: Yan Seiner <yan@seiner.com>
Cc: Peer Chen <pchen@nvidia.com>, linux-ide@vger.kernel.org
Subject: Re: [PATCH] sata_nv: sgpio for nvidia mcp55 -v2
Date: Thu, 22 Jan 2009 23:30:55 -0800	[thread overview]
Message-ID: <4979722F.8010403@kernel.org> (raw)
In-Reply-To: <497936FE.5040809@seiner.com>

Yan Seiner wrote:
> Yinghai Lu wrote:
>> Yan Seiner wrote:
>>  
>>> To recap, I've applied the latest patch (-v3) that's supposed to make
>>> the SGPIO work.  I am using a LIB-700 backplane from Norco:
>>>
>>> http://www.ipcdirect.net/servlet/Detail?no=75
>>> http://www.norco.net.cn/UpLoadFile/Datasheet/DS-600S-EN.pdf
>>>
>>> The disk activity LEDs stay lit all the time.
>>>
>>> I am running a vanilla kernel, not a debian kernel,. although it was
>>> built using debian's kbuild.
>>>
>>> title           Debian GNU/Linux, kernel 2.6.28.1
>>> root            (hd0,1)
>>> kernel          /vmlinuz-2.6.28.1 root=/dev/md0 ro debug
>>> initrd          /initrd.img-2.6.28.1
>>>
>>> log files are at
>>>
>>> http://seiner.com/sata_nv/syslog
>>> http://seiner.com/sata_nv/dmesg.log
>>>     
>>
>> [   19.306367] sata_nv 0000:00:05.0: PCI INT A -> Link[APSI] -> GSI 23
>> (level, low) -> IRQ 23
>> [   19.306472] sata_nv 0000:00:05.0: Using SWNCQ mode
>> [   19.306895] sata_nv 0000:00:05.0: setting latency timer to 64
>> [   19.311020] scsi5 : sata_nv
>>
>>
>> it seems that your system HW is not using SGPIO...
>> my setup has more print out...
>>   
> selene:/home/www/seiner/html/sata_nv# modinfo sata_nv
> filename:       /lib/modules/2.6.28.1/kernel/drivers/ata/sata_nv.ko
> version:        3.5
> license:        GPL
> description:    low-level driver for NVIDIA nForce SATA controller
> author:         NVIDIA
> srcversion:     4D85D19ABB1359D28F97C6E
> alias:          pci:v000010DEd000003F7sv*sd*bc*sc*i*
> ...
> depends:        libata
> vermagic:       2.6.28.1 SMP mod_unload modversions
> parm:           adma:Enable use of ADMA (Default: true) (bool)
> parm:           swncq:Enable use of SWNCQ (Default: true) (bool)
> 
> Do I have the right version?  Should I be seeing a parameter for sgpio?
> 

boot log should like

[   13.410117] calling  nv_init+0x0/0x1b @ 1
[   13.414129] sata_nv 0000:00:05.0: version 3.5
[   13.418488] sata_nv 0000:00:05.0: PCI INT A -> Link[LSA0] -> GSI 20 (level, low) -> IRQ 20
[   13.426740] sata_nv 0000:00:05.0: Using SWNCQ mode
[   13.431539] sata_nv 0000:00:05.0: using 32bit DMA mask
[   13.436671] sata_nv 0000:00:05.0: using 32bit consistent DMA mask
[   13.442771] sata_nv 0000:00:05.0: CSR 0xeb00 CB 0x9cc00
[   13.447995] sata_nv 0000:00:05.0: using sgpio 1
[   13.452522] sata_nv 0000:00:05.0: setting latency timer to 64
[   13.458389] scsi0 : sata_nv
[   13.461428] scsi1 : sata_nv
[   13.464526] ata1: SATA max UDMA/133 cmd 0xa480 ctl 0xa400 bmdma 0x9c00 irq 20
[   13.471651] ata2: SATA max UDMA/133 cmd 0xa080 ctl 0xa000 bmdma 0x9c08 irq 20

is will say "using sgpio 1"...

YH


  reply	other threads:[~2009-01-23  7:31 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <15F501D1A78BD343BE8F4D8DB854566B059FE0B3@hkemmail01.nvidia.com>
2006-10-31  8:43 ` [PATCH] SCSI: Add the SGPIO support for sata_nv.c Peer Chen
2006-10-31 10:40   ` Christoph Hellwig
2006-10-31 12:37     ` Prakash Punnoor
2006-11-07  9:55     ` Peer Chen
2007-11-07  4:09       ` Yinghai Lu
2009-01-18  9:20         ` Yinghai Lu
2009-01-18  9:22           ` [PATCH] sata_nv: sgpio for nvidia mcp55 Yinghai Lu
2009-01-21  2:07             ` [PATCH] sata_nv: sgpio for nvidia mcp55 -v2 Yinghai Lu
2009-01-21 14:30               ` Yan Seiner
2009-01-21 18:48                 ` Yinghai Lu
2009-01-22  4:46                   ` Yan Seiner
2009-01-22  5:07                     ` Yinghai Lu
2009-01-22 16:22                       ` Yan Seiner
2009-01-22 17:26                         ` Yinghai Lu
2009-01-23  1:44                           ` Yan Seiner
2009-01-23  1:58                             ` Yinghai Lu
2009-01-23  3:18                               ` Yan Seiner
2009-01-23  7:30                                 ` Yinghai Lu [this message]
2009-01-22  2:32               ` [PATCH] sata_nv: sgpio for nvidia mcp55 -v3 Yinghai Lu
2009-01-27  4:57                 ` Andrew Morton
2009-04-13  8:18                 ` Jeff Garzik
2009-04-13 15:50                   ` Yinghai Lu
2009-01-18 13:49           ` [PATCH] SCSI: Add the SGPIO support for sata_nv.c Yan Seiner
2009-01-20  7:36             ` Peer Chen
2006-11-01  1:39   ` Jeff Garzik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4979722F.8010403@kernel.org \
    --to=yinghai@kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=pchen@nvidia.com \
    --cc=yan@seiner.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).