All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: petkovbb@gmail.com
Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org,
	stable@kernel.org
Subject: Re: [PATCH] ide-floppy fix
Date: Wed, 16 Jul 2008 17:59:16 +0200	[thread overview]
Message-ID: <200807161759.16803.bzolnier@gmail.com> (raw)
In-Reply-To: <20080715053356.GA18628@gollum.tnic>


Hi,

On Tuesday 15 July 2008, Borislav Petkov wrote:

[...]

> On a different note, the current pata tree on top of v2.6.25-2125-g50515af blows
> up here with the following error:
> 
> [    4.296729] Uniform Multi-Platform E-IDE driver
> [    4.297905] ICH4: IDE controller (0x8086:0x24cb rev 0x02) at  PCI slot 0000:00:1f.1
> [    4.297986] ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 18
> [    4.298153] ICH4: not 100% native mode: will probe irqs later
> [    4.298213]     ide0: BM-DMA at 0xfc00-0xfc07
> [    4.298282]     ide1: BM-DMA at 0xfc08-0xfc0f
> [    4.561768] hda: QUANTUM FIREBALLlct10 20, ATA DISK drive
> [    4.816724] hdb: SAMSUNG SP2014N, ATA DISK drive
> [    4.867959] hda: drive side 80-wire cable detection failed, limiting max speed to UDMA33
> [    4.868027] hda: UDMA/33 mode selected
> [    4.868441] hdb: UDMA/100 mode selected
> [    5.540683] hdc: IOMEGA ZIP 100 ATAPI, ATAPI FLOPPY drive
> [    5.795564] hdd: IC35L120AVV207-0, ATA DISK drive
> [    5.847295] hdd: host side 80-wire cable detection failed, limiting max speed to UDMA33
> [    5.847362] hdd: UDMA/33 mode selected
> [    5.847715] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> [    5.855487] ide1 at 0x170-0x177,0x376 on irq 15
> [    5.875927] ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
> [    5.876012] ide_generic: I/O resource 0x1F0-0x1F7 not free.
> [    5.876074] ide_generic: I/O resource 0x170-0x177 not free.
> [   11.342504] hde: no response (status = 0xa1), resetting drive
> [   17.206535] hdf: no response (status = 0xa1), resetting drive

hde? hdf?

[...]

> I tracked the error down to the call to ide_register_port(hwif) in
> ide-probe.c:ide_host_register() which does device_register(&hwif->gendev) and
> the hwif->gendev->kobj seems unitialized thus the WARN_ON on its refcount in
> kref_get(). Will look into it more when i get some free time.

Unfortunately I couldn't reproduce this problem here (2.6.26 + pata tree)
so please try to debug it and/or narrow it down to the guilty change.

> --
> From: Borislav Petkov <petkovbb@gmail.com>
> 
> Check the correct flags-location for set features.
> 
> Signed-off-by: Borislav Petkov <petkovbb@gmail.com>

Thanks, I folded the fix into original patch (->dev_flags is not yet
upstream so -stable fix shouldn't be necessary).

While on it: I later noticed that there will be also need for common
ATA/ATAPI ->dev_flags in the future so I wonder whether current
->dev_flags should be renamed to ->atapi_flags (& s/*DFLAG*/*AFLAG*/).

If there is agreement on this I'll fix it in pata tree.

  parent reply	other threads:[~2008-07-15 16:57 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-15  5:33 [PATCH] ide-floppy fix Borislav Petkov
2008-07-15  5:40 ` Borislav Petkov
2008-07-16 15:59 ` Bartlomiej Zolnierkiewicz [this message]
2008-07-15 20:39   ` Borislav Petkov
2008-07-15 20:58     ` Bartlomiej Zolnierkiewicz
2008-07-16  5:20       ` Borislav Petkov
2008-07-16 17:56         ` Bartlomiej Zolnierkiewicz
2008-07-20 12:06           ` Borislav Petkov
2008-07-21 19:03             ` Bartlomiej Zolnierkiewicz
2008-07-22  5:27               ` Borislav Petkov
2008-07-22 19:49                 ` Bartlomiej Zolnierkiewicz
2008-07-23  6:32                   ` Borislav Petkov
2008-07-23 18:51                     ` Bartlomiej Zolnierkiewicz
2008-08-01  5:48                       ` [PATCH] ide-generic: skip automatic probing of legacy iobases (was: Re: [PATCH] ide-floppy fix) Borislav Petkov
2008-08-02 17:02                         ` Bartlomiej Zolnierkiewicz
2008-08-02 18:32                           ` Borislav Petkov
2008-08-02 18:46                             ` Bartlomiej Zolnierkiewicz
2008-08-03  7:37                               ` [PATCH 1/2] pata_legacy: export functionality to ide Borislav Petkov
2008-08-03 11:59                                 ` Alan Cox
2008-08-03 13:37                                   ` Bartlomiej Zolnierkiewicz
2008-08-03 13:39                                     ` Alan Cox
2008-08-03 23:43                                       ` Jeff Garzik
2008-08-03 14:38                                   ` Borislav Petkov
2008-08-03 15:22                                     ` Alan Cox
2008-08-03 16:51                                       ` Borislav Petkov
2008-08-05 14:26                                         ` Sergei Shtylyov
2008-08-05 14:32                                           ` Boris Petkov
2008-08-05 14:41                                             ` Bartlomiej Zolnierkiewicz
2008-08-06  6:10                                               ` Borislav Petkov
2008-08-06 11:34                                                 ` Sergei Shtylyov
2008-08-06 11:34                                                   ` Sergei Shtylyov
2008-08-06 14:03                                                   ` Boris Petkov
2008-08-06 15:57                                                     ` Sergei Shtylyov
2008-08-06 19:47                                                       ` Borislav Petkov
2008-08-06 19:46                                                         ` Alan Cox
2008-08-06 20:04                                                         ` Sergei Shtylyov
2008-08-07  4:36                                                           ` [PATCH] ide-generic: handle probing of legacy io-ports v5 (was: Re: [PATCH 1/2] pata_legacy: export functionality to ide) Borislav Petkov
2008-08-07 17:06                                                             ` Bartlomiej Zolnierkiewicz
2008-08-08 10:04                                                             ` [PATCH] ide-generic: handle probing of legacy io-ports v5 Sergei Shtylyov
2008-08-08 10:04                                                               ` Sergei Shtylyov
2008-08-03  7:38                               ` [PATCH 2/2] ide-generic: handle probing of legacy io-ports Borislav Petkov
2008-08-03 14:11                                 ` Bartlomiej Zolnierkiewicz
2008-08-03 14:45                                   ` Borislav Petkov
2008-08-03 14:54                                     ` Borislav Petkov
2008-08-03 14:59                                     ` Bartlomiej Zolnierkiewicz
2008-08-03 15:08                                   ` Borislav Petkov

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=200807161759.16803.bzolnier@gmail.com \
    --to=bzolnier@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=petkovbb@gmail.com \
    --cc=stable@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.