* IDE
@ 2008-09-10 9:24 Sébastien Chrétien
2008-09-10 9:32 ` IDE Sergei Shtylyov
0 siblings, 1 reply; 18+ 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] 18+ messages in thread
* Re: IDE
2008-09-10 9:24 IDE Sébastien Chrétien
@ 2008-09-10 9:32 ` Sergei Shtylyov
2008-09-10 9:33 ` IDE Sébastien Chrétien
2008-09-10 9:47 ` IDE Sébastien Chrétien
0 siblings, 2 replies; 18+ messages in thread
From: Sergei Shtylyov @ 2008-09-10 9:32 UTC (permalink / raw)
To: Sébastien Chrétien; +Cc: linuxppc-dev
Hello.
Sébastien Chrétien wrote:
> I would like to setup my IDE controller. It uses a generic mapping.
> And he is located at the adress 0x20003000.
What kin of controller, and what do you mean by generic mapping?
> How can I specifie this adress to the ide driver ?
The usual ways is via the platform device.
MBR, Sergei
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: IDE
2008-09-10 9:32 ` IDE Sergei Shtylyov
@ 2008-09-10 9:33 ` Sébastien Chrétien
2008-09-10 10:05 ` IDE Sergei Shtylyov
2008-09-10 9:47 ` IDE Sébastien Chrétien
1 sibling, 1 reply; 18+ messages in thread
From: Sébastien Chrétien @ 2008-09-10 9:33 UTC (permalink / raw)
To: Sergei Shtylyov; +Cc: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 477 bytes --]
Have I to rewrite a IDE driver ?
2008/9/10, Sergei Shtylyov <sshtylyov@ru.mvista.com>:
>
> Hello.
>
> Sébastien Chrétien wrote:
>
> I would like to setup my IDE controller. It uses a generic mapping. And he
>> is located at the adress 0x20003000.
>>
>
> What kin of controller, and what do you mean by generic mapping?
>
> How can I specifie this adress to the ide driver ?
>>
>
> The usual ways is via the platform device.
>
>
> MBR, Sergei
>
>
>
[-- Attachment #2: Type: text/html, Size: 1095 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: IDE
2008-09-10 9:33 ` IDE Sébastien Chrétien
@ 2008-09-10 10:05 ` Sergei Shtylyov
2008-09-10 11:04 ` IDE Arnd Bergmann
0 siblings, 1 reply; 18+ messages in thread
From: Sergei Shtylyov @ 2008-09-10 10:05 UTC (permalink / raw)
To: Sébastien Chrétien; +Cc: linuxppc-dev
Hello.
Sébastien Chrétien wrote:
> Have I to rewrite a IDE driver ?
Most probably you can use the existing platform drivers:
drivers/ide/egacy/ide_platform.c or drivers/ata/pata_platform.c.
Create/register a platform device named "pata_platform" with 2 memory
and 1 IRQ resource, and enable one of those drivers.
> 2008/9/10, Sergei Shtylyov <sshtylyov@ru.mvista.com
> <mailto:sshtylyov@ru.mvista.com>>:
>
> Hello.
>
> Sébastien Chrétien wrote:
>
> I would like to setup my IDE controller. It uses a generic
> mapping. And he is located at the adress 0x20003000.
>
>
> What kin of controller, and what do you mean by generic mapping?
>
> How can I specifie this adress to the ide driver ?
>
>
> The usual ways is via the platform device.
>
>
MBR, Sergei
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: IDE
2008-09-10 10:05 ` IDE Sergei Shtylyov
@ 2008-09-10 11:04 ` Arnd Bergmann
2008-09-10 12:23 ` IDE Sébastien Chrétien
2008-09-10 13:30 ` IDE Sergei Shtylyov
0 siblings, 2 replies; 18+ messages in thread
From: Arnd Bergmann @ 2008-09-10 11:04 UTC (permalink / raw)
To: linuxppc-dev; +Cc: Sébastien Chrétien
On Wednesday 10 September 2008, Sergei Shtylyov wrote:
> =A0 =A0Most probably you can use the existing platform drivers:=20
> drivers/ide/egacy/ide_platform.c or drivers/ata/pata_platform.c.
> Create/register a platform device named "pata_platform" with 2 memory=20
> and 1 IRQ resource, and enable one of those drivers.
=46or new boards using a flattened device tree, it should be enough
to add a device node for the pata_of_platform driver.
If you need a device specific setup, you should add a new "compatible"
value in the tree and make the driver handle that in whatever
way you need.
Arnd <><
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: IDE
2008-09-10 11:04 ` IDE Arnd Bergmann
@ 2008-09-10 12:23 ` Sébastien Chrétien
2008-09-10 12:51 ` IDE Arnd Bergmann
2008-09-10 13:30 ` IDE Sergei Shtylyov
1 sibling, 1 reply; 18+ messages in thread
From: Sébastien Chrétien @ 2008-09-10 12:23 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 761 bytes --]
I looked falconide.c, it uses hw_regs_t hw; and ide_hwif_t *hwif.
Is it a good way ?
2008/9/10, Arnd Bergmann <arnd@arndb.de>:
>
> On Wednesday 10 September 2008, Sergei Shtylyov wrote:
> > Most probably you can use the existing platform drivers:
> > drivers/ide/egacy/ide_platform.c or drivers/ata/pata_platform.c.
> > Create/register a platform device named "pata_platform" with 2 memory
> > and 1 IRQ resource, and enable one of those drivers.
>
>
> For new boards using a flattened device tree, it should be enough
> to add a device node for the pata_of_platform driver.
> If you need a device specific setup, you should add a new "compatible"
> value in the tree and make the driver handle that in whatever
> way you need.
>
>
> Arnd <><
>
[-- Attachment #2: Type: text/html, Size: 1149 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: IDE
2008-09-10 12:23 ` IDE Sébastien Chrétien
@ 2008-09-10 12:51 ` Arnd Bergmann
0 siblings, 0 replies; 18+ messages in thread
From: Arnd Bergmann @ 2008-09-10 12:51 UTC (permalink / raw)
To: Sébastien Chrétien; +Cc: linuxppc-dev
On Wednesday 10 September 2008, S=E9bastien Chr=E9tien wrote:
> I looked falconide.c, it uses hw_regs_t hw; and ide_hwif_t *hwif.
> Is it a good way ?
>=20
No, that uses the legacy IDE drivers, not the current ATA drivers,
and it is not based on the device tree information.
Just use drivers/ata/pata_of_platform.c, you probably don't even
need to change the code, just your device tree.
Arnd <><
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: IDE
2008-09-10 11:04 ` IDE Arnd Bergmann
2008-09-10 12:23 ` IDE Sébastien Chrétien
@ 2008-09-10 13:30 ` Sergei Shtylyov
2008-09-10 15:05 ` IDE Sébastien Chrétien
2008-09-11 6:08 ` IDE Sébastien Chrétien
1 sibling, 2 replies; 18+ messages in thread
From: Sergei Shtylyov @ 2008-09-10 13:30 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: linuxppc-dev, Sébastien Chrétien
Arnd Bergmann wrote:
>> Most probably you can use the existing platform drivers:
>>drivers/ide/egacy/ide_platform.c or drivers/ata/pata_platform.c.
>>Create/register a platform device named "pata_platform" with 2 memory
>>and 1 IRQ resource, and enable one of those drivers.
> For new boards using a flattened device tree, it should be enough
> to add a device node for the pata_of_platform driver.
Oops, forgot about this one. No wonder, after being knee deep in ARM for
several months. :-)
MBR, Sergei
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: IDE
2008-09-10 13:30 ` IDE Sergei Shtylyov
@ 2008-09-10 15:05 ` Sébastien Chrétien
2008-09-11 6:08 ` IDE Sébastien Chrétien
1 sibling, 0 replies; 18+ messages in thread
From: Sébastien Chrétien @ 2008-09-10 15:05 UTC (permalink / raw)
To: Sergei Shtylyov; +Cc: linuxppc-dev, Arnd Bergmann
[-- Attachment #1: Type: text/plain, Size: 746 bytes --]
ok I will use the flat device tree.
Do you utils in order to use ata and check ata link ?
For example, to read some information of my compact flash
2008/9/10, Sergei Shtylyov <sshtylyov@ru.mvista.com>:
>
> Arnd Bergmann wrote:
>
> Most probably you can use the existing platform drivers:
>>> drivers/ide/egacy/ide_platform.c or drivers/ata/pata_platform.c.
>>> Create/register a platform device named "pata_platform" with 2 memory and
>>> 1 IRQ resource, and enable one of those drivers.
>>>
>>
> For new boards using a flattened device tree, it should be enough
>> to add a device node for the pata_of_platform driver.
>>
>
> Oops, forgot about this one. No wonder, after being knee deep in ARM for
> several months. :-)
>
> MBR, Sergei
>
[-- Attachment #2: Type: text/html, Size: 1478 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: IDE
2008-09-10 13:30 ` IDE Sergei Shtylyov
2008-09-10 15:05 ` IDE Sébastien Chrétien
@ 2008-09-11 6:08 ` Sébastien Chrétien
2008-09-11 8:30 ` IDE Sébastien Chrétien
1 sibling, 1 reply; 18+ messages in thread
From: Sébastien Chrétien @ 2008-09-11 6:08 UTC (permalink / raw)
To: Sergei Shtylyov; +Cc: linuxppc-dev, Arnd Bergmann, Sébastien Chrétien
Where can I find a pata_of_platform node example ?
Sergei Shtylyov a écrit :
> Arnd Bergmann wrote:
>
>>> Most probably you can use the existing platform drivers:
>>> drivers/ide/egacy/ide_platform.c or drivers/ata/pata_platform.c.
>>> Create/register a platform device named "pata_platform" with 2
>>> memory and 1 IRQ resource, and enable one of those drivers.
>
>> For new boards using a flattened device tree, it should be enough
>> to add a device node for the pata_of_platform driver.
>
> Oops, forgot about this one. No wonder, after being knee deep in
> ARM for several months. :-)
>
> MBR, Sergei
>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: IDE
2008-09-11 6:08 ` IDE Sébastien Chrétien
@ 2008-09-11 8:30 ` Sébastien Chrétien
2008-09-11 11:46 ` IDE Sergei Shtylyov
0 siblings, 1 reply; 18+ messages in thread
From: Sébastien Chrétien @ 2008-09-11 8:30 UTC (permalink / raw)
To: Sergei Shtylyov; +Cc: linuxppc-dev, Arnd Bergmann, Sébastien Chrétien
[-- Attachment #1: Type: text/plain, Size: 820 bytes --]
I saw pata_of_platform source. And when is called pata_of_platform_probe ?
2008/9/11, Sébastien Chrétien <sebastien.chretien.enseirb@gmail.com>:
>
> Where can I find a pata_of_platform node example ?
>
> Sergei Shtylyov a écrit :
>
>> Arnd Bergmann wrote:
>>
>> Most probably you can use the existing platform drivers:
>>>> drivers/ide/egacy/ide_platform.c or drivers/ata/pata_platform.c.
>>>> Create/register a platform device named "pata_platform" with 2 memory
>>>> and 1 IRQ resource, and enable one of those drivers.
>>>>
>>>
>> For new boards using a flattened device tree, it should be enough
>>> to add a device node for the pata_of_platform driver.
>>>
>>
>> Oops, forgot about this one. No wonder, after being knee deep in ARM for
>> several months. :-)
>>
>> MBR, Sergei
>>
>>
[-- Attachment #2: Type: text/html, Size: 1725 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: IDE
2008-09-10 9:32 ` IDE Sergei Shtylyov
2008-09-10 9:33 ` IDE Sébastien Chrétien
@ 2008-09-10 9:47 ` Sébastien Chrétien
1 sibling, 0 replies; 18+ messages in thread
From: Sébastien Chrétien @ 2008-09-10 9:47 UTC (permalink / raw)
To: Sergei Shtylyov; +Cc: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 645 bytes --]
It is a common ide controller :
offset 0x0 Data
offset 0x1 error
offset 0x2 Sector count
offset 0x3 sector No
offset 0x4 Cylinder low
offset 0x5 Cylinder High
offset 0x6 Head
offset 0x7 status
2008/9/10, Sergei Shtylyov <sshtylyov@ru.mvista.com>:
>
> Hello.
>
> Sébastien Chrétien wrote:
>
> I would like to setup my IDE controller. It uses a generic mapping. And he
>> is located at the adress 0x20003000.
>>
>
> What kin of controller, and what do you mean by generic mapping?
>
> How can I specifie this adress to the ide driver ?
>>
>
> The usual ways is via the platform device.
>
>
> MBR, Sergei
>
>
>
[-- Attachment #2: Type: text/html, Size: 1295 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* IDE
@ 2004-12-20 15:17 Barbier, Renaud (GE Infrastructure)
0 siblings, 0 replies; 18+ 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] 18+ messages in thread
* IDE
@ 2003-05-22 20:54 Ian Molton
0 siblings, 0 replies; 18+ 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] 18+ messages in thread
* [PATCH] 2.4 IDE core for 2.5
@ 2002-07-09 10:22 Jens Axboe
2002-07-09 20:07 ` Andries Brouwer
0 siblings, 1 reply; 18+ 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] 18+ messages in thread
* Re: [PATCH] 2.4 IDE core for 2.5
2002-07-09 10:22 [PATCH] 2.4 IDE core for 2.5 Jens Axboe
@ 2002-07-09 20:07 ` Andries Brouwer
2002-07-10 5:43 ` Jens Axboe
0 siblings, 1 reply; 18+ messages in thread
From: Andries Brouwer @ 2002-07-09 20:07 UTC (permalink / raw)
To: Jens Axboe; +Cc: Linux Kernel, linux-ide
On Tue, Jul 09, 2002 at 12:22:49PM +0200, Jens Axboe wrote:
> I've forward ported the 2.4 IDE core to 2.5.25.
Very good!
There are two kinds of objections.
The minor one is political - you can imagine.
The major one is technical. You did not port the 2.4 good PIO
behaviour to 2.5. Bartlomiej already warned about this, so I
need only confirm:
This afternoon I booted 2.5.25 with your patches and two more,
one to prevent an oops when shutting down, the other to fix
ethernet cards detection. Started torturing two disks on
HPT366. After 3 minutes
hde: status error: status=0x50 { DriveReady SeekComplete }
hde: no DRQ after issuing WRITE
and seven minutes later
hde: task_out_intr: status=0x51 { DriveReady SeekComplete Error }
hde: task_out_intr: error=0x04 { DriveStatusError }
Soon lots of processes were hanging in D. Reboot. e2fsck.
Then booted vanilla 2.4.17. Tortured disks in the same way.
After several hours all is still perfect. I'll leave this
for a night, but so far I have never seen these errors on 2.4
and very often in recent 2.5.
Andries
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH] 2.4 IDE core for 2.5
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
0 siblings, 1 reply; 18+ messages in thread
From: Jens Axboe @ 2002-07-10 5:43 UTC (permalink / raw)
To: Andries Brouwer; +Cc: Linux Kernel, linux-ide
On Tue, Jul 09 2002, Andries Brouwer wrote:
> On Tue, Jul 09, 2002 at 12:22:49PM +0200, Jens Axboe wrote:
>
> > I've forward ported the 2.4 IDE core to 2.5.25.
>
> Very good!
>
> There are two kinds of objections.
> The minor one is political - you can imagine.
Naturally.
> The major one is technical. You did not port the 2.4 good PIO
> behaviour to 2.5. Bartlomiej already warned about this, so I
> need only confirm:
>
> This afternoon I booted 2.5.25 with your patches and two more,
> one to prevent an oops when shutting down, the other to fix
> ethernet cards detection. Started torturing two disks on
> HPT366. After 3 minutes
>
> hde: status error: status=0x50 { DriveReady SeekComplete }
> hde: no DRQ after issuing WRITE
>
> and seven minutes later
>
> hde: task_out_intr: status=0x51 { DriveReady SeekComplete Error }
> hde: task_out_intr: error=0x04 { DriveStatusError }
>
> Soon lots of processes were hanging in D. Reboot. e2fsck.
The above seems to be plain pio, you didn't use multi mode did you? I
think my current tree has the multi-page multi mode bio issue resolved,
however I'll test for some hours before sending out the next patch set.
> Then booted vanilla 2.4.17. Tortured disks in the same way.
> After several hours all is still perfect. I'll leave this
> for a night, but so far I have never seen these errors on 2.4
> and very often in recent 2.5.
Good to know.
Thanks for your report, it'll probably take a day or two before the
kinks of the 2.5 conversion have been ironed out and the ide core is as
stable as 2.4.
--
Jens Axboe
^ permalink raw reply [flat|nested] 18+ messages in thread
* [PATCH] 2.4 IDE core for 2.5, #2 (was Re: [PATCH] 2.4 IDE core for 2.5)
2002-07-10 5:43 ` Jens Axboe
@ 2002-07-10 11:11 ` Jens Axboe
2002-07-12 11:06 ` Andries Brouwer
0 siblings, 1 reply; 18+ messages in thread
From: Jens Axboe @ 2002-07-10 11:11 UTC (permalink / raw)
To: Andries Brouwer; +Cc: Linux Kernel, linux-ide
On Wed, Jul 10 2002, Jens Axboe wrote:
> > This afternoon I booted 2.5.25 with your patches and two more,
> > one to prevent an oops when shutting down, the other to fix
> > ethernet cards detection. Started torturing two disks on
> > HPT366. After 3 minutes
> >
> > hde: status error: status=0x50 { DriveReady SeekComplete }
> > hde: no DRQ after issuing WRITE
> >
> > and seven minutes later
> >
> > hde: task_out_intr: status=0x51 { DriveReady SeekComplete Error }
> > hde: task_out_intr: error=0x04 { DriveStatusError }
> >
> > Soon lots of processes were hanging in D. Reboot. e2fsck.
>
> The above seems to be plain pio, you didn't use multi mode did you? I
> think my current tree has the multi-page multi mode bio issue resolved,
> however I'll test for some hours before sending out the next patch set.
Care to try the next version? I've completely disabled task file i/o
since it does seem to be broken in pio, and fixed the multi-write
multi-page bio bug as well. There are a number of other changes in
there. There are split patches like last time, but also one big patch:
*.kernel.org/pub/linux/kernel/people/axboe/patches/v2.5/2.5.25/
00_25ide-compile-1a
no changes, rediffed
05_25pci-ids-1a
no changes, rediffed
10_24ide-core-2
various fixes, see old/ for the complete list
15_24-misc-bits-2
added (broken) sparc64 bits. too lazy to revert these right,
waiting for update
20_ide-build-config-1a
consolidate config and build split
25_ide-scsi-1
no changes, rediffed
and finally,
ide24-for-2.5-2
all of the above
Also pull'able from bk://linux25-24ide@project.bkbits.net/linux25-24ide
(soonish)
--
Jens Axboe
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH] 2.4 IDE core for 2.5, #2 (was Re: [PATCH] 2.4 IDE core for 2.5)
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
0 siblings, 1 reply; 18+ messages in thread
From: Andries Brouwer @ 2002-07-12 11:06 UTC (permalink / raw)
To: Jens Axboe; +Cc: Linux Kernel, linux-ide
On Wed, Jul 10, 2002 at 01:11:15PM +0200, Jens Axboe wrote:
> Care to try the next version? I've completely disabled task file i/o
> since it does seem to be broken in pio, and fixed the multi-write
> multi-page bio bug as well. There are a number of other changes in
> there. There are split patches like last time, but also one big patch:
>
> *.kernel.org/pub/linux/kernel/people/axboe/patches/v2.5/2.5.25/
>
> ide24-for-2.5-2
> all of the above
Had no time until now, but just tried ide24-for-2.5-3.
It did not compile, but after adding 05_25pci-ids-1a it did.
Also added
diff -u --recursive --new-file -X /linux/dontdiff a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c
--- a/drivers/usb/host/uhci-hcd.c Mon Jun 17 19:35:40 2002
+++ b/drivers/usb/host/uhci-hcd.c Fri Jun 21 22:44:35 2002
@@ -2428,7 +2428,7 @@
return retval;
}
-static void __devexit uhci_stop(struct usb_hcd *hcd)
+static void uhci_stop(struct usb_hcd *hcd)
{
struct uhci_hcd *uhci = hcd_to_uhci(hcd);
@@ -2509,7 +2509,7 @@
suspend: uhci_suspend,
resume: uhci_resume,
#endif
- stop: __devexit_p(uhci_stop),
+ stop: uhci_stop,
hcd_alloc: uhci_hcd_alloc,
hcd_free: uhci_hcd_free,
to prevent oopses at shutdown.
The resulting kernel seems to work. Tried it only for a short time,
but maybe long enough to be confident.
[Yesterday, or the day before I installed a new distribution.
Unfortunately there are vendor modifications to kernel and
user space software, so replacing the kernel by a vanilla one
does not yield a functioning system; will also have to replace
some vendor user space stuff by vanilla stuff.]
Andries
^ permalink raw reply [flat|nested] 18+ messages in thread
* IDE
2002-07-12 11:06 ` Andries Brouwer
@ 2002-07-12 11:23 ` Anders Widman
0 siblings, 0 replies; 18+ messages in thread
From: Anders Widman @ 2002-07-12 11:23 UTC (permalink / raw)
To: linux-ide
As there seem to be more activity now, maybe someone can help me get
UDMA 66/100 to work with Promise U100 cards.
I have tested on three different systems with 4 brands (Maxtor,
Seagate, Quantum, IBM) of harddrives. The highest mode I can set is
UDMA33. When I try to use anything higher I get an error in the kernel
log saying "kernel: ide2: Speed warnings UDMA 3/4/5 is not functional".
All drives support higher at least UDMA 100.
I have tested with most of the 2.4.17-19 kernels, including the Red
Hat kernels under Red Hat 7.2 and 7.3. I have also used the -AC
patches. I have also compiled with and without "IGNORE word93
Validation BITS"
The current kernel is 2.4.19-rc1.
dmesg log says this om my current system:
---
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller on PCI bus 00 dev 21
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xb800-0xb807, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdc:DMA, hdd:DMA
PDC20268: IDE controller on PCI bus 00 dev 48
PCI: Found IRQ 4 for device 00:09.0
PCI: Sharing IRQ 4 with 00:04.2
PDC20268: chipset revision 2
PDC20268: not 100% native mode: will probe irqs later
ide2: BM-DMA at 0x9800-0x9807, BIOS settings: hde:pio, hdf:pio
ide3: BM-DMA at 0x9808-0x980f, BIOS settings: hdg:pio, hdh:pio
PDC20268: IDE controller on PCI bus 00 dev 58
PCI: Found IRQ 10 for device 00:0b.0
PDC20268: chipset revision 2
PDC20268: not 100% native mode: will probe irqs later
ide4: BM-DMA at 0x8000-0x8007, BIOS settings: hdi:pio, hdj:pio
ide5: BM-DMA at 0x8008-0x800f, BIOS settings: hdk:pio, hdl:pio
---
hde: 117231408 sectors (60022 MB) w/2048KiB Cache, CHS=116301/16/63, UDMA(33)
hdf: 120103200 sectors (61493 MB) w/1916KiB Cache, CHS=119150/16/63, UDMA(33)
hdg: 320173056 sectors (163929 MB) w/2048KiB Cache, CHS=19929/255/63, UDMA(33)
hdh: 240121728 sectors (122942 MB) w/2048KiB Cache, CHS=14946/255/63, UDMA(33)
hdi: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=158816/16/63, UDMA(33)
hdj: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=158816/16/63, UDMA(33)
hdk: 117266688 sectors (60041 MB) w/2000KiB Cache, CHS=116336/16/63, UDMA(33)
hdl: 117266688 sectors (60041 MB) w/2000KiB Cache, CHS=116336/16/63, UDMA(33)
---
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide2 at 0xb000-0xb007,0xa802 on irq 4
ide3 at 0xa400-0xa407,0xa002 on irq 4
ide4 at 0x9400-0x9407,0x9002 on irq 10
ide5 at 0x8800-0x8807,0x8402 on irq 10
---
hde: ST360021A, ATA DISK drive
hdf: IC35L060AVER07-0, ATA DISK drive
hdg: Maxtor 4G160J8, ATA DISK drive
hdh: Maxtor 4G120J6, ATA DISK drive
hdi: Maxtor 98196H8, ATA DISK drive
hdj: Maxtor 98196H8, ATA DISK drive
hdk: MAXTOR 4K060H3, ATA DISK drive
hdl: MAXTOR 4K060H3, ATA DISK driv
The Promise U100Tx2 BIOS does report UDMA100 for ALL drives.
^ permalink raw reply [flat|nested] 18+ messages in thread
* IDE
@ 2002-05-03 22:40 Andries.Brouwer
2002-05-03 23:01 ` IDE Alessandro Suardi
0 siblings, 1 reply; 18+ 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] 18+ messages in thread
* Re: IDE
2002-05-03 22:40 IDE Andries.Brouwer
@ 2002-05-03 23:01 ` Alessandro Suardi
0 siblings, 0 replies; 18+ messages in thread
From: Alessandro Suardi @ 2002-05-03 23:01 UTC (permalink / raw)
To: Andries.Brouwer; +Cc: dalecki, linux-kernel
Andries.Brouwer@cwi.nl wrote:
> < 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.
Managed to boot all versions (though some ext3 journal replay
showed up even after clean shutdowns), seems to be okay and
mashed my disk with installing of Portal today - no issue,
only a positive note for the 2.5.13 VM which allowed me to
finish in 48' what 2.4.19-pre7 couldn't finish in over 2h.
Dell laptop with a PIIX4 chipset, btw.
--alessandro
"the hands that build / can also pull down
even the hands of love"
(U2, "Exit")
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2008-09-11 11:46 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
-- strict thread matches above, loose matches on Subject: below --
2004-12-20 15:17 IDE Barbier, Renaud (GE Infrastructure)
2003-05-22 20:54 IDE Ian Molton
2002-07-09 10:22 [PATCH] 2.4 IDE core for 2.5 Jens Axboe
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-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.