linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Thomas Pfaff" <tpfaff@gmx.net>
To: linux-ide@vger.kernel.org
Subject: Re: CompactFlash on VT6421 PATA (failed to set xfermode)
Date: Thu, 31 Aug 2006 14:24:54 +0200	[thread overview]
Message-ID: <20060831122454.150260@gmx.net> (raw)
In-Reply-To: <20060828113807.15790@gmx.net>

It works if i simply ignore the failed ata_dev_set_xfermode call.

Regards,
Thomas

-------- Original-Nachricht --------
Datum: Mon, 28 Aug 2006 13:38:07 +0200
Von: "Thomas Pfaff" <tpfaff@gmx.net>
An: linux-ide@vger.kernel.org
Betreff: CompactFlash on VT6421 PATA (failed to set xfermode)

> I have some trouble with a Hitachi XX.V.3.7 CompactFlash connected to an
> VIA VT6421 Raid Controller together with kernel 2.6.17.
> 
> First i had to add a patch from VIA to support PATA in sata-via.c.
> 
> Now i get following error during boot :
> 
> libata version 1.20 loaded.
> sata_via 0000:00:14.0: version 1.1
> ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
> PCI: setting IRQ 5 as level-triggered
> ACPI: PCI Interrupt 0000:00:14.0[A] -> Link [LNKB] -> GSI 5 (level, low)
> -> IRQ 5
> sata_via 0000:00:14.0: routed to hard irq line 7
> ata_device_add: ENTER
> ata_host_add: ENTER
> ata_port_start: prd alloc, virt cf63e000, dma f63e000
> ata1: PATA max UDMA/133 cmd 0xFD00 ctl 0xFD0A bmdma 0xF900 irq 5
> ata_host_add: ENTER
> ata_port_start: prd alloc, virt cf626000, dma f626000
> ata2: PATA max UDMA/133 cmd 0xFC00 ctl 0xFC0A bmdma 0xF908 irq 5
> ata_host_add: ENTER
> ata_port_start: prd alloc, virt c12e9000, dma 12e9000
> ata3: PATA max UDMA/133 cmd 0xFB00 ctl 0xFB0A bmdma 0xF910 irq 5
> ata_device_add: probe begin
> ata_device_add: ata1: bus probe begin
> ata_bus_reset: ENTER, host 1, port 0
> ata_bus_softreset: ata1: bus reset via SRST
> ata1: disabling port
> ata_bus_reset: EXIT
> ata_device_add: ata1: bus probe end
> scsi0 : sata_via
> ata_device_add: ata2: bus probe begin
> ata_bus_reset: ENTER, host 2, port 1
> ata_bus_softreset: ata2: bus reset via SRST
> ata2: disabling port
> ata_bus_reset: EXIT
> ata_device_add: ata2: bus probe end
> scsi1 : sata_via
> ata_device_add: ata3: bus probe begin
> ata_bus_reset: ENTER, host 3, port 2
> ata_bus_softreset: ata3: bus reset via SRST
> ata_dev_classify: found ATA device by sig
> ata_bus_reset: EXIT
> ata_dev_read_id: ENTER, host 3, dev 1
> ata_dev_select: ENTER, ata3: device 1, wait 1
> ata_dev_select: ENTER, ata3: device 1, wait 1
> ata_exec_command_pio: ata3: cmd 0xEC
> ata_pio_sector: data read
> ata_dev_init_params: init dev params 
> ata_dev_select: ENTER, ata3: device 1, wait 1
> ata_tf_load_pio: feat 0x0 nsect 0x30 lba 0x0 0x0 0x0
> ata_tf_load_pio: device 0xBE
> ata_exec_command_pio: ata3: cmd 0x91
> ata_host_intr: ata3: protocol 1 (dev_stat 0x50)
> ata_dev_init_params: EXIT, err_mask=0
> ata_dev_select: ENTER, ata3: device 1, wait 1
> ata_exec_command_pio: ata3: cmd 0xEC
> ata_pio_sector: data read
> ata_dev_configure: ENTER, host 3, dev 1
> ata3: dev 1 cfg 49:0200 82:7000 83:4004 84:4000 85:7000 86:0004 87:4000
> 88:0000
> ata_dump_id: 49==0x0200  53==0x0003  63==0x0000  64==0x0003  75==0x0000  
> ata_dump_id: 80==0x0000  81==0x0000  82==0x7000  83==0x4004  84==0x4000  
> ata_dump_id: 88==0x0000  93==0x0000
> ata3: dev 1 ATA-0, max PIO4, 500400 sectors: LBA
> ata_dev_configure: EXIT, drv_stat = 0x50
> ata_dev_set_xfermode: set features - xfer mode
> ata_dev_select: ENTER, ata3: device 1, wait 1
> ata_tf_load_pio: feat 0x3 nsect 0xC lba 0x0 0x0 0x0
> ata_tf_load_pio: device 0xB0
> ata_exec_command_pio: ata3: cmd 0xEF
> ata_host_intr: ata3: protocol 1 (dev_stat 0x51)
> ata_dev_set_xfermode: EXIT, err_mask=1
> ata3: failed to set xfermode (err_mask=0x1)
> ata_device_add: ata3: bus probe end
> scsi2 : sata_via
> ata_device_add: host probe begin
> ata_device_add: EXIT, returning 3
> 
> What does "failed to set xfermode (err_mask=0x1)" means ?
> 
> Is this a problem with the CompactFlash card or with the PATA support in
> sata-via ?
> 
> Thank you in advance,
> Thomas

-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

      reply	other threads:[~2006-08-31 12:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-28 11:38 CompactFlash on VT6421 PATA (failed to set xfermode) Thomas Pfaff
2006-08-31 12:24 ` Thomas Pfaff [this message]

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=20060831122454.150260@gmx.net \
    --to=tpfaff@gmx.net \
    --cc=linux-ide@vger.kernel.org \
    /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).