IDE probe failure in 2.6.25-mm1
Hi Andrew,
IDE probe fails in 2.6.25-mm1 on qemu.
[ 0.664164] Uniform Multi-Platform E-IDE driver [ 1.571508] ide0: DISABLED, NO IRQ [ 1.572380] ide0: failed to initialize IDE interface
This is the output with linux-2.6.git
[ 1.567368] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 [ 1.571430] hda: max request size: 512KiB [ 1.574302] hda: 10485760 sectors (5368 MB) w/256KiB Cache, CHS=10402/255/63 [ 1.583896] hda: cache flushes supported [ 1.585053] hda: hda1
This is apparently due to the invasive changes in hwif_t's io_ports member.
Signature · 5 lines
Warm Regards, Balaji Rao Dept. of Mechanical Engineering NITK
Quoted 10 lines · On Wed, 30 Apr 2008 23:43:14 +0530 Balaji Rao <[email protected]> wrote:
Hi Andrew,
IDE probe fails in 2.6.25-mm1 on qemu.
[ 0.664164] Uniform Multi-Platform E-IDE driver [ 1.571508] ide0: DISABLED, NO IRQ [ 1.572380] ide0: failed to initialize IDE interfaceThis is the output with linux-2.6.git
Quoted 8 lines
[ 1.567368] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 [ 1.571430] hda: max request size: 512KiB [ 1.574302] hda: 10485760 sectors (5368 MB) w/256KiB Cache, CHS=10402/255/63 [ 1.583896] hda: cache flushes supported [ 1.585053] hda: hda1This is apparently due to the invasive changes in hwif_t's
io_portsmember.
OK, thanks.
I _think_ Bart idenfitied a patch which caused this (or something like it) and dropped it?
Quoted 19 lines · Andrew Morton
Quoted 16 lines · On Wed, 30 Apr 2008 23:43:14 +0530 Balaji Rao <[email protected]> wrote:
Hi Andrew,
IDE probe fails in 2.6.25-mm1 on qemu.
[ 0.664164] Uniform Multi-Platform E-IDE driver [ 1.571508] ide0: DISABLED, NO IRQ [ 1.572380] ide0: failed to initialize IDE interfaceThis is the output with linux-2.6.git
[ 1.567368] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 [ 1.571430] hda: max request size: 512KiB [ 1.574302] hda: 10485760 sectors (5368 MB) w/256KiB Cache, CHS=10402/255/63 [ 1.583896] hda: cache flushes supported [ 1.585053] hda: hda1
Quoted 7 lines
Quoted 2 lines
This is apparently due to the invasive changes in hwif_t's
io_portsmember.OK, thanks.
I _think_ Bart idenfitied a patch which caused this (or something like it) and dropped it?
Yep.
Two patches were dropped from IDE tree:
ide-fix-hwif-s-initialization.patch
ide-make-ide_hwifs-static.patch
there is also a hot-fix patch available:
http://article.gmane.org/gmane.linux.ide/30860
+ for qemu switching to using piix host driver (qemu emulates PIIX3) should also workaround the issue since it seems to happen only with ide_generic.
Thanks,
Bart
Quoted 35 lines · Bartlomiej Zolnierkiewicz
Quoted 19 lines · Andrew Morton
Quoted 16 lines · On Wed, 30 Apr 2008 23:43:14 +0530 Balaji Rao <[email protected]> wrote:
Hi Andrew,
IDE probe fails in 2.6.25-mm1 on qemu.
[ 0.664164] Uniform Multi-Platform E-IDE driver [ 1.571508] ide0: DISABLED, NO IRQ [ 1.572380] ide0: failed to initialize IDE interfaceThis is the output with linux-2.6.git
[ 1.567368] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 [ 1.571430] hda: max request size: 512KiB [ 1.574302] hda: 10485760 sectors (5368 MB) w/256KiB Cache, CHS=10402/255/63 [ 1.583896] hda: cache flushes supported [ 1.585053] hda: hda1Quoted 7 lines
Quoted 2 lines
This is apparently due to the invasive changes in hwif_t's
io_portsmember.OK, thanks.
I _think_ Bart idenfitied a patch which caused this (or something like it) and dropped it?
Yep.
Two patches were dropped from IDE tree:
ide-fix-hwif-s-initialization.patch
ide-make-ide_hwifs-static.patch
Quoted 6 lines
there is also a hot-fix patch available:
http://article.gmane.org/gmane.linux.ide/30860+ for qemu switching to using piix host driver (qemu emulates PIIX3) should also workaround the issue since it seems to happen only with
ide_generic.
Hi Bart,
Yea, it now works in qemu after enabling the PIIX drivers.
Thank you.
Signature · 5 lines
Warm Regards, Balaji Rao Dept. of Mechanical Engineering NITK