[PATCH 1/2] trm290: cannot call ide_setup_dma()

2007-12-30 Thread Sergei Shtylyov
The TRM-290 chip is *not* SFF-8038i compatible and therefore can *not* call ide_setup_dma() -- fix this and also cleanup the code a bit... Signed-off-by: Sergei Shtylyov [EMAIL PROTECTED] drivers/ide/ide-dma.c| 13 - drivers/ide/pci/trm290.c | 62

[PATCH 2/2] ide_setup_dma() assumes 8 ports

2007-12-30 Thread Sergei Shtylyov
According to http://marc.info/?l=linux-idem=114346138611631, the drivers must always register 8 DMA ports with ide_setup_dma(), so its last argument is not needed. While at it, kill some useless parens in that function... Signed-off-by: Sergei Shtylyov [EMAIL PROTECTED] --- Both patches are

Re: [PATCH 3/3] ide: add IDE_HFLAG_NO_DSC host flag

2007-12-30 Thread Bartlomiej Zolnierkiewicz
On Saturday 29 December 2007, Sergei Shtylyov wrote: Bartlomiej Zolnierkiewicz wrote: * Add IDE_HFLAG_NO_DSC host flag for hosts that doesn't support DSC overlap. * Set it in aec62xx (for ATP850UF only) and hpt34x host drivers. * Convert ide-tape device driver to check for

[PATCH 1/3] au1xxx-ide: device tree bugfix

2007-12-30 Thread Bartlomiej Zolnierkiewicz
Add missing hw.dev setup (so hwif-gendev.parent will be set by ide_init_port_hw() to point to the parent device). Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] --- drivers/ide/mips/au1xxx-ide.c |1 + 1 file changed, 1 insertion(+) Index: b/drivers/ide/mips/au1xxx-ide.c

Re: [PATCH 1/9] piix: remove stale comments

2007-12-30 Thread Bartlomiej Zolnierkiewicz
On Friday 28 December 2007, Sergei Shtylyov wrote: Hello. Bartlomiej Zolnierkiewicz wrote: Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] Acked-by: Sergei Shtylyov [EMAIL PROTECTED] Index: b/drivers/ide/pci/piix.c

[PATCH 2/3] ide-pmac: macio resource freeing bugfix

2007-12-30 Thread Bartlomiej Zolnierkiewicz
Release DMA resource before zeroing pmif. Cc: Benjamin Herrenschmidt [EMAIL PROTECTED] Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] --- drivers/ide/ppc/pmac.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: b/drivers/ide/ppc/pmac.c

[PATCH 3/3] au1xxx-ide/rapide: use hwif-index for ide_unregister()

2007-12-30 Thread Bartlomiej Zolnierkiewicz
Cc: Russell King [EMAIL PROTECTED] Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] --- drivers/ide/arm/rapide.c |4 ++-- drivers/ide/mips/au1xxx-ide.c |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) Index: b/drivers/ide/arm/rapide.c

PROBLEM: BUG: null pointer deref., segfaults

2007-12-30 Thread Erno Kovacs
[1.] One line summary of the problem: using dd on a broken hdd causes kernel NULL pointer dereference [2.] Full description of the problem/report: I have a broken hdd (unreadable sector). While dd-ing it into another same size hdd, I get kernel-level error. First time it is a NULL pointer

Re: PROBLEM: BUG: null pointer deref., segfaults

2007-12-30 Thread Matthew Wilcox
From the backtrace, this doesn't seem to be a scsi or ide problem. It might be a block-layer bug, or a VM problem. I've cc'd the VM people to see what they think. On Mon, Dec 31, 2007 at 12:06:00AM +0100, Erno Kovacs wrote: [1.] One line summary of the problem: using dd on a broken hdd