All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.4 IDE core for 2.5
@ 2002-07-09 10:22 Jens Axboe
  2002-07-09 10:48 ` Anton Altaparmakov
                   ` (5 more replies)
  0 siblings, 6 replies; 52+ messages in thread
From: Jens Axboe @ 2002-07-09 10:22 UTC (permalink / raw)
  To: Linux Kernel, linux-ide

Hi,

I've forward ported the 2.4 IDE core (well 2.4.19-pre10-ac2 to be exact)
to 2.5.25. It consists of 7 separate patches:

00_25ide-compile-1
	Fix 2.5 IDE compilation problem with ide_fix_driveid()

05_25pci-ids-1
	Add missing 2.4 IDE adapter pci ids

10_24ide-core-1
	Add 2.4 IDE core, modified for 2.5 changes

15_24-misc-bits-1
	various bits and pieces to make 2.4 IDE core work

20_split-ide-config-1
	Split 2.4 and 2.5 IDE configuration

25_ide-build-1
	allow 2.4 and 2.5 ide to be built

30_ide-scsi-1
	Add 2.4 ide-scsi version (note that 2.5 with 2.4 ide calls it
	ide-scsi24.o currently, I'll take patches to rectify that).

Find them all here:

*.kernel.org://pub/linux/kernel/people/axboe/patches/v2.5/2.5.25/

So why did I do this? Well, I needed stable IDE for 2.5 testing and it
was/is clear that 2.5 just isn't quite there yet. I intend to maintain
this patch set until I deem 2.5 IDE stable enough (in code) that I'm
willing to spend time on that instead. So the life span of this patch
depends heavily on that. That said, I know of others who would like to
be able to test 2.5 and not having to worry too much about the
state-of-the-day of the IDE core. This patch set may be useful to them
as well.

Also some notes on why I _didn't_ do this. I didn't do it because I
think Martin is a jerk or because 2.5 IDE is forever doomed. I didn't do
this because Andre twisted my arm. I didn't do this because of some
hidden agenda.

That said, the patch works for me here. I've ripped out ide-tape and
ide-floppy (frankly, I don't think it's worth my time updating these),
but apart from that I think it's 2.4 feature complete. PIO multi count
breaks for multi page bio's, if you intend to use that you should change
MPAGE_BIO_MAX_SIZE as noted in fs/mpage.c. I'll fix that in the next
iteration.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 52+ messages in thread
* IDE
@ 2008-09-10  9:24 Sébastien Chrétien
  2008-09-10  9:32 ` IDE Sergei Shtylyov
  0 siblings, 1 reply; 52+ messages in thread
From: Sébastien Chrétien @ 2008-09-10  9:24 UTC (permalink / raw)
  To: linuxppc-dev

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

Hello

I would like to setup my IDE controller. It uses a generic mapping. And he
is located at the adress 0x20003000.
How can I specifie this adress to the ide driver ?

[-- Attachment #2: Type: text/html, Size: 186 bytes --]

^ permalink raw reply	[flat|nested] 52+ messages in thread
* IDE
@ 2004-12-20 15:17 Barbier, Renaud (GE Infrastructure)
  0 siblings, 0 replies; 52+ messages in thread
From: Barbier, Renaud (GE Infrastructure) @ 2004-12-20 15:17 UTC (permalink / raw)
  To: linuxppc-embedded

I have a custom 440GX board with a Promise 20269.
even though, I used the options ide3=3Dnoprobe or hdg=3Dnoprobe and =
hdh=3Dnoprobe
Linux hangs on probing the second interface.=20
Am using the kernel options the correct way?

Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with =
idebus=3Dxx
PDC20269: IDE controller at PCI slot 00:03.0
PDC20269: chipset revision 2
PDC20269: not 100% native mode: will probe irqs later
PDC20269: ROM enabled at 0x000dc000
    ide2: BM-DMA at 0xefd0-0xefd7, BIOS settings: hde:pio, hdf:pio
    ide3: BM-DMA at 0xefd8-0xefdf, BIOS settings: hdg:pio, hdh:pio
Probing IDE interface ide2...
hde: STI Flash 6.2.0, CFA DISK drive
blk: queue c01dbea0, I/O limit 4095Mb (mask 0xffffffff)
Probing IDE interface ide3...

^ permalink raw reply	[flat|nested] 52+ messages in thread
* IDE
@ 2003-05-22 20:54 Ian Molton
  0 siblings, 0 replies; 52+ messages in thread
From: Ian Molton @ 2003-05-22 20:54 UTC (permalink / raw)
  To: linux-kernel

Hi.

I've got an old IDE disc (Quantum Maverick 270A) and it appears to be
detected OK, however I get about 15 hda: lost interrupt between
detection and printing the partition table (which seems to go OK).

this is on 2.5.69, with my own IDE driver (which I ported from 2.4.16)

any ideas? I heard 2.5 doesnt like some very old drives...

-- 
Spyros lair: http://www.mnementh.co.uk/
Do not meddle in the affairs of Dragons, for you are tasty and good with
ketchup.

Systems programmers keep it up longer.

^ permalink raw reply	[flat|nested] 52+ messages in thread
* IDE
@ 2002-05-03 22:40 Andries.Brouwer
  2002-05-03 23:01 ` IDE Alessandro Suardi
  0 siblings, 1 reply; 52+ messages in thread
From: Andries.Brouwer @ 2002-05-03 22:40 UTC (permalink / raw)
  To: dalecki, linux-kernel

< Recap >

== I have had problems with 2.5.10 (first few blocks of the root
== filesystem overwritten) and then went back to 2.5.8 that I had
== used for a while already, but then also noticed corruption there.
== Back at 2.4.17 today..

< Optimistic reply >

= It could very well be that the recent changes could have cured this.

< Reality of today >

Booted a vanilla 2.5.12. It did not succeed in mounting the root
filesystem, but instead wrote zeros over the superblock.

	hdb: task_out_intr: error=0x04 { DriveStatusError }

Will try 2.5.13 later.

Andries


[So, 2.5.8 causes very slow corruption, and can be used for
several hours, sometimes days, before something bad happens.
And bad things only happen to disks on HPT366.
On the other hand, 2.5.10 and 2.5.12 fail directly at boot
in precisely the same way and with a disk on the mb.]

% grep _IDE .config | grep -v '#'
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_STROKE=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDEFLOPPY=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_BLK_DEV_IDEDMA=y

^ permalink raw reply	[flat|nested] 52+ messages in thread

end of thread, other threads:[~2008-09-11 11:46 UTC | newest]

Thread overview: 52+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-09 10:22 [PATCH] 2.4 IDE core for 2.5 Jens Axboe
2002-07-09 10:48 ` Anton Altaparmakov
2002-07-09 10:49   ` Jens Axboe
2002-07-09 10:51     ` Vojtech Pavlik
2002-07-09 10:53       ` Jens Axboe
2002-07-09 11:17     ` Jens Axboe
2002-07-09 12:52   ` Bartlomiej Zolnierkiewicz
2002-07-09 12:52     ` Bartlomiej Zolnierkiewicz
2002-07-09 12:56     ` Jens Axboe
2002-07-09 13:13       ` Bartlomiej Zolnierkiewicz
2002-07-09 13:13       ` Bartlomiej Zolnierkiewicz
2002-07-09 13:16         ` Jens Axboe
2002-07-09 13:16         ` Jens Axboe
2002-07-09 11:11 ` Erik Andersen
2002-07-09 11:13 ` Roy Sigurd Karlsbakk
2002-07-09 11:13 ` Roy Sigurd Karlsbakk
2002-07-09 11:20   ` Jens Axboe
2002-07-09 21:43     ` Miles Lane
2002-07-09 21:43     ` Miles Lane
2002-07-09 11:24   ` Thunder from the hill
2002-07-09 11:24     ` Thunder from the hill
2002-07-09 12:43 ` Tobias Rittweiler
2002-07-09 12:48   ` Jens Axboe
2002-07-09 12:57     ` Re[2]: " Tobias Rittweiler
2002-07-09 12:48   ` Jens Axboe
2002-07-09 12:54   ` Jens Axboe
2002-07-09 13:31     ` Re[3]: " Tobias Rittweiler
2002-07-09 13:31     ` Tobias Rittweiler
2002-07-09 20:07 ` Andries Brouwer
2002-07-10  5:43   ` Jens Axboe
2002-07-10 11:11     ` [PATCH] 2.4 IDE core for 2.5, #2 (was Re: [PATCH] 2.4 IDE core for 2.5) Jens Axboe
2002-07-12 11:06       ` Andries Brouwer
2002-07-12 11:23         ` IDE Anders Widman
2002-07-11  9:54   ` [PATCH] 2.4 IDE core for 2.5 Rogier Wolff
2002-07-11  9:56     ` Jens Axboe
  -- strict thread matches above, loose matches on Subject: below --
2008-09-10  9:24 IDE Sébastien Chrétien
2008-09-10  9:32 ` IDE Sergei Shtylyov
2008-09-10  9:33   ` IDE Sébastien Chrétien
2008-09-10 10:05     ` IDE Sergei Shtylyov
2008-09-10 11:04       ` IDE Arnd Bergmann
2008-09-10 12:23         ` IDE Sébastien Chrétien
2008-09-10 12:51           ` IDE Arnd Bergmann
2008-09-10 13:30         ` IDE Sergei Shtylyov
2008-09-10 15:05           ` IDE Sébastien Chrétien
2008-09-11  6:08           ` IDE Sébastien Chrétien
2008-09-11  8:30             ` IDE Sébastien Chrétien
2008-09-11 11:46               ` IDE Sergei Shtylyov
2008-09-10  9:47   ` IDE Sébastien Chrétien
2004-12-20 15:17 IDE Barbier, Renaud (GE Infrastructure)
2003-05-22 20:54 IDE Ian Molton
2002-05-03 22:40 IDE Andries.Brouwer
2002-05-03 23:01 ` IDE Alessandro Suardi

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.