mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rogério Brito" <rbrito@ime.usp.br>
To: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Jeff Garzik <jeff@garzik.org>, Michael Tokarev <mjt@tls.msk.ru>,
	Mark Lord <lkml@rtr.ca>,
	linux-kernel@vger.kernel.org
Subject: Re: Quick question about libata and hdparm
Date: Fri, 24 Apr 2009 00:00:50 -0300	[thread overview]
Message-ID: <6540c930904232000t76aa4954l4f5cee5bad64aacb@mail.gmail.com> (raw)
In-Reply-To: <200904232331.13729.bzolnier@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1035 bytes --]

Hi, Bart, Alan & Co.

On 4/23/09, Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> wrote:
>  You can try booting with "libata.force=1.00:mwdma2" kernel paramater to
>  force use of "regular" MWDMA2 transfer mode instead of UDMA ones so we are
>  sure that the issue is specific to pata_pdc202xx_old + UDMA.

This *did* work. I see no other error messages, while using multword
dma. So I think that this serves for us to rule out some unknown
variables.

>  Other than that I'm out of ideas, though the hint that the original driver
>  works just fine should help driver's maintainer in fixing this regression.

Well, it worked now. I'm attaching what I see now.


Thanks, Rogério Brito.

P.S.: This is still with kernel 2.6.29, since compiling a new kernel
in this computer takes a lot of time.
-- 
Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org

[-- Attachment #2: dmesg-2.6.29-with-force-mwdma2.txt --]
[-- Type: text/plain, Size: 5942 bytes --]

[    3.042985] scsi0 : pata_pdc202xx_old
[    3.049769] scsi1 : pata_pdc202xx_old
[    3.049917] ata1: PATA max UDMA/100 cmd 0x8400 ctl 0x8000 bmdma 0x7000 irq 10
[    3.049924] ata2: PATA max UDMA/100 cmd 0x7800 ctl 0x7400 bmdma 0x7008 irq 10
[    3.204710] ata1.00: ATA-4: QUANTUM FIREBALL CX13.0A, A3F.0B00, max UDMA/66
[    3.204720] ata1.00: 25429824 sectors, multi 16: LBA 
[    3.204768] ata1.00: limited to UDMA/33 due to 40-wire cable
[    3.204773] ata1.00: FORCE: xfer_mask set to mwdma2
[    3.210517] ata1.00: configured for MWDMA2
[    3.222238] scsi 0:0:0:0: Direct-Access     ATA      QUANTUM FIREBALL A3F. PQ: 0 ANSI: 5
[    3.257094] usb 2-2: new full speed USB device using uhci_hcd and address 2
[    3.393400] pata_via 0000:00:04.1: version 0.3.3
[    3.393824] scsi2 : pata_via
[    3.399945] scsi3 : pata_via
[    3.401284] ata3: PATA max UDMA/66 cmd 0x1f0 ctl 0x3f6 bmdma 0xd800 irq 14
[    3.401293] ata4: PATA max UDMA/66 cmd 0x170 ctl 0x376 bmdma 0xd808 irq 15
[    3.571391] ata3.00: ATAPI: HL-DT-ST DVDRAM GSA-4160B, A306, max UDMA/66
[    3.593370] ata3.00: configured for UDMA/66
[    3.610758] scsi 2:0:0:0: CD-ROM            HL-DT-ST DVDRAM GSA-4160B A306 PQ: 0 ANSI: 5
[    3.765416] ata4.00: ATAPI: CREATIVE CD5230E, C1.01, max MWDMA2
[    3.768371] ata4.00: configured for MWDMA2
[    3.779676] scsi 3:0:0:0: CD-ROM            CREATIVE CD5230E          1.01 PQ: 0 ANSI: 5
[    4.426707] scsi 0:0:0:0: Attached scsi generic sg0 type 0
[    4.426811] scsi 2:0:0:0: Attached scsi generic sg1 type 5
[    4.426899] scsi 3:0:0:0: Attached scsi generic sg2 type 5
[    4.459519] Driver 'sd' needs updating - please use bus_type methods
[    4.459763] sd 0:0:0:0: [sda] 25429824 512-byte hardware sectors: (13.0 GB/12.1 GiB)
[    4.459799] sd 0:0:0:0: [sda] Write Protect is off
[    4.459805] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    4.459846] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.459982] sd 0:0:0:0: [sda] 25429824 512-byte hardware sectors: (13.0 GB/12.1 GiB)
[    4.460049] sd 0:0:0:0: [sda] Write Protect is off
[    4.460055] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    4.460098] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.460109]  sda: sda1 sda2 < sda5 >
[    4.505341] sd 0:0:0:0: [sda] Attached SCSI disk
[    4.558488] Driver 'sr' needs updating - please use bus_type methods
[    4.572956] sr0: scsi3-mmc drive: 40x/40x writer dvd-ram cd/rw xa/form2 cdda tray
[    4.572970] Uniform CD-ROM driver Revision: 3.20
[    4.573226] sr 2:0:0:0: Attached scsi CD-ROM sr0
[    4.575548] sr1: scsi3-mmc drive: 0x/52x cd/rw xa/form2 cdda tray
[    4.575751] sr 3:0:0:0: Attached scsi CD-ROM sr1
[    4.660014] Marking TSC unstable due to TSC halts in idle
[    5.031887] PM: Starting manual resume from disk
[    5.031899] PM: Resume from partition 8:5
[    5.031903] PM: Checking hibernation image.
[    5.032434] PM: Resume from disk failed.
[    5.111748] kjournald starting.  Commit interval 5 seconds
[    5.111788] EXT3-fs: mounted filesystem with ordered data mode.
[   16.546749] udevd version 124 started
[   17.043653] Linux agpgart interface v0.103
[   17.090217] agpgart: Detected VIA Twister-K/KT133x/KM133 chipset
[   17.093874] agpgart-via 0000:00:00.0: AGP aperture is 32M @ 0xe6000000
[   17.117426] parport_pc: VIA 686A/8231 detected
[   17.117439] parport_pc: probing current configuration
[   17.117459] parport_pc: Current parallel port base: 0x378
[   17.117541] parport0: PC-style at 0x378 (0x778), irq 7, using FIFO [PCSPP,TRISTATE,COMPAT,ECP]
[   17.141798] ACPI: I/O resource vt596_smbus [0xe800-0xe807] conflicts with ACPI region SM00 [0xe800-0xe806]
[   17.141808] ACPI: Device needs an ACPI driver
[   17.163695] via686a 0000:00:04.4: Sensors disabled, enable with force_addr=0xe200
[   17.201098] parport_pc: VIA parallel port: io=0x378, irq=7
[   17.359855] Driver for 1-wire Dallas network protocol.
[   17.400630] matrox_w1 0000:01:00.0: Matrox G400 GPIO transport layer for 1-wire.
[   17.454571] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[   17.454907] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[   17.455589] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[   17.466315] 00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[   17.467572] 00:0b: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[   17.884699] serial 0000:00:0c.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
[   17.891435] 0000:00:0c.0: ttyS2 at I/O 0x9400 (irq = 11) is a 16550A
[   18.223869] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
[   18.223879] PCI: setting IRQ 5 as level-triggered
[   18.223889] ENS1371 0000:00:0a.0: PCI INT A -> Link[LNKC] -> GSI 5 (level, low) -> IRQ 5
[   18.269807] input: PC Speaker as /devices/platform/pcspkr/input/input1
[   19.087211] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input2
[   19.857611] Control name 'Sigmatel Surround Phase Inversion Playback Switch' truncated to 'Sigmatel Surround Phase Inversion Playback '
[   22.474492] lp0: using parport0 (interrupt-driven).
[   22.751582] Adding 578300k swap on /dev/sda5.  Priority:-1 extents:1 across:578300k 
[   23.349525] EXT3 FS on sda1, internal journal
[   28.532730] warning: `avahi-daemon' uses 32-bit capabilities (legacy support in use)
[   35.731706] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[   36.066003] NET: Registered protocol family 17
[   41.746538] [drm] Initialized drm 1.1.0 20060810
[   41.758178] matrox_w1 0000:01:00.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
[   41.758595] [drm] Initialized mga 3.2.1 20051102 on minor 0
[   41.760282] agpgart-via 0000:00:00.0: AGP 2.0 bridge
[   41.760318] agpgart-via 0000:00:00.0: putting AGP V2 device into 4x mode
[   41.760387] matrox_w1 0000:01:00.0: putting AGP V2 device into 4x mode
[   41.764735] [drm] Initialized card for AGP DMA.

  reply	other threads:[~2009-04-24  3:01 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-19  0:22 Rogério Brito
2009-04-19  6:31 ` Robert Hancock
2009-04-19 12:33 ` Mark Lord
2009-04-19 12:44   ` Michael Tokarev
2009-04-19 12:57     ` Jeff Garzik
2009-04-19 13:06       ` Michael Tokarev
2009-04-19 20:11       ` Rogério Brito
2009-04-19 21:27         ` Jeff Garzik
2009-04-20 17:35           ` Rogério Brito
2009-04-20 18:40             ` Alan Cox
2009-04-20 20:41               ` Rogério Brito
2009-04-20 21:16                 ` Alan Cox
2009-04-20 20:31             ` Bartlomiej Zolnierkiewicz
2009-04-20 20:45               ` Rogério Brito
2009-04-20 21:19               ` Alan Cox
2009-04-20 22:57                 ` Rogério Brito
2009-04-21  5:32                 ` Rogério Brito
2009-04-21 12:59                   ` Bartlomiej Zolnierkiewicz
2009-04-23  5:56                     ` Rogério Brito
2009-04-23 21:31                       ` Bartlomiej Zolnierkiewicz
2009-04-24  3:00                         ` Rogério Brito [this message]
2009-05-01  9:18                           ` Rogério Brito
2009-05-01 10:31                             ` Alan Cox
2009-05-01 11:50                               ` Rogério Brito
2009-05-01 13:16                                 ` Alan Cox
2009-05-01 14:19                                 ` Rogério Brito
2009-05-01 11:20                             ` Bartlomiej Zolnierkiewicz
2009-05-11 18:34               ` Jeff Garzik
2009-04-19 20:03   ` Rogério Brito
2009-04-19 23:41     ` Mark Lord

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=6540c930904232000t76aa4954l4f5cee5bad64aacb@mail.gmail.com \
    --to=rbrito@ime.usp.br \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=bzolnier@gmail.com \
    --cc=jeff@garzik.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@rtr.ca \
    --cc=mjt@tls.msk.ru \
    /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

all inboxes | Powered by JetHome®