2002-07-17 01:49:57

by Viktors Rotanovs

[permalink] [raw]
Subject: 2.4.18-2.4.19-rc1-ac4 + Promise SX6000 + i2o

Hi,

I've found numerious reports that Promise SX6000 works fine with
2.4.18+ kernels, and tried it with 2.4.18 and 2.4.19-rc1-ac4 kernels
with i2o support.

Here are the results:

2.4.18: finds controller, but doesn't find disk device on it.
2.4.19-rc1-ac4: loads i2o_block and i2o_core fine and doesn't load
i2o_pci. When I try to load i2o_pci manually, it shows a lot of
timeouts.

I seem to have PDC20276 chip (if i'm not mistaken) marked as new
by Alan Cox.

OS type on the RAID is set to Other.

When I try to run original driver Promise's driver instead of i2o on
2.4.18, it starts showing SCSI timeouts after some time when working
under heavy load.

I use RAID with ReiserFS.

Thanks for any help and have a nice day!

Best Wishes,
Viktors


2002-07-17 21:26:34

by Amith Varghese

[permalink] [raw]
Subject: Re: 2.4.18-2.4.19-rc1-ac4 + Promise SX6000 + i2o

I'm getting similar results, but I haven't tried anyting in 2.4.19
series yet... this is my situation

I am trying to put together a new machine using the promise sx6000
raid card and I am having some problems with getting the OS to
recognize the raid array. Here are the facts

* dual athlon 1900
* asus a7m266-d motherboard w/ latest bios (A006)
* 1GB RAM
* Realtek RTL-8139 ethernet card
* Promise SX6000

* using 6 120GB western digital HD's
* total array size is 600GB defined as RAID 5
* using the latest bios (Revision 77) for the promise sx6000
* have the OS set to "Other"

The redhat 7.3 doesn't seem to load the i20 block driver on boot and
therefore it can't find any drives when trying to install the OS. So
what I have done is compiled a new kernel on my other linux machine
that has the i2o support, i2o pci support, and i2o block support. I
then replaced the vmlinuz file within the boot.img file provided by
redhat. When I boot the machine it looks promising. I get the
following messages:

Loading I2O core - (c) Copyright 1999 Red Hat Software
Linux I2O PCI support (c) 1999 Red Hat Software
i2o: Checking for PCI I2O controllers...
i2o: I2O controller on bus 2 at 49.
i2o: PCI I2O controller at 0xF3000000 size=4194304
I2O: Promise workarounds activated.
i2o/iop0: Installed at IRQ 10
i2o: 1 I2O controller found and installed.
Activating I2O controllers...
This may take a few minutes if there are many devices
i2o/iop0: Reset rejected, trying to clear
i2o/iop0: LCT has 5 entries
i2o/iop0: Configuration dialog desired.
I2O configuration manager v 0.04.
(C) Copyright 1999 Red Hat Software
I2O Block Storage OSM v0.9
(C) Copyright 1999-2001 Red Hat Software
i2o_block: Checking for Boot device...
i2o_block: Checking for I2O Block devices...
i2ob: Installing tid 11 device at unit 0
i2o/hda: Max segments 28, queue def 32, byte limit 14336.
i2o/hda: Type 128: 572366MB, 512 byte sectors.
i2o/hda: Maximum sectors/read set 2 256.
Partitition check:
i2o/hda:

However, it hangs here and does nothing. I left it on all night and
no change. Does anyone have any ideas why it might be hanging? Is
there something else I should try? Do I need to pass any arguments to
the kernel? If anyone needs more info I would be glad to give it.
Any help would be greatly appreciated.

Thanks
Amith



Viktors Rotanovs <[email protected]> wrote in message
news:<[email protected]>...
> Hi,
>
> I've found numerious reports that Promise SX6000 works fine with
> 2.4.18+ kernels, and tried it with 2.4.18 and 2.4.19-rc1-ac4 kernels
> with i2o support.
>
> Here are the results:
>
> 2.4.18: finds controller, but doesn't find disk device on it.
> 2.4.19-rc1-ac4: loads i2o_block and i2o_core fine and doesn't load
> i2o_pci. When I try to load i2o_pci manually, it shows a lot of
> timeouts.
>
> I seem to have PDC20276 chip (if i'm not mistaken) marked as new
> by Alan Cox.
>
> OS type on the RAID is set to Other.
>
> When I try to run original driver Promise's driver instead of i2o on
> 2.4.18, it starts showing SCSI timeouts after some time when working
> under heavy load.
>
> I use RAID with ReiserFS.
>
> Thanks for any help and have a nice day!
>
> Best Wishes,
> Viktors
>
> -
> To unsubscribe from this list: send the line "unsubscribe
linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/





2002-07-18 04:28:32

by Amith Varghese

[permalink] [raw]
Subject: Re: 2.4.18-2.4.19-rc1-ac4 + Promise SX6000 + i2o

Just for more information... I too have the PDC20276 chip which Alan had
mentioned in in linux 2.4.19rc1-ac3 changelog as the following:

o Newer SX6000 has PDC20276 chips. Handle this (me)

I tried 2.4.19rc2 and 2.4.19rc1-ac7 with no success. I'm willing to try
and debug this, but i don't have a really good idea how to. If someone
can give me some ideas that would be great.

Thanks
Amith

On Wed, 2002-07-17 at 17:29, Amith Varghese wrote:
> I'm getting similar results, but I haven't tried anyting in 2.4.19
> series yet... this is my situation
>
> I am trying to put together a new machine using the promise sx6000
> raid card and I am having some problems with getting the OS to
> recognize the raid array. Here are the facts
>
> * dual athlon 1900
> * asus a7m266-d motherboard w/ latest bios (A006)
> * 1GB RAM
> * Realtek RTL-8139 ethernet card
> * Promise SX6000
>
> * using 6 120GB western digital HD's
> * total array size is 600GB defined as RAID 5
> * using the latest bios (Revision 77) for the promise sx6000
> * have the OS set to "Other"
>
> The redhat 7.3 doesn't seem to load the i20 block driver on boot and
> therefore it can't find any drives when trying to install the OS. So
> what I have done is compiled a new kernel on my other linux machine
> that has the i2o support, i2o pci support, and i2o block support. I
> then replaced the vmlinuz file within the boot.img file provided by
> redhat. When I boot the machine it looks promising. I get the
> following messages:
>
> Loading I2O core - (c) Copyright 1999 Red Hat Software
> Linux I2O PCI support (c) 1999 Red Hat Software
> i2o: Checking for PCI I2O controllers...
> i2o: I2O controller on bus 2 at 49.
> i2o: PCI I2O controller at 0xF3000000 size=4194304
> I2O: Promise workarounds activated.
> i2o/iop0: Installed at IRQ 10
> i2o: 1 I2O controller found and installed.
> Activating I2O controllers...
> This may take a few minutes if there are many devices
> i2o/iop0: Reset rejected, trying to clear
> i2o/iop0: LCT has 5 entries
> i2o/iop0: Configuration dialog desired.
> I2O configuration manager v 0.04.
> (C) Copyright 1999 Red Hat Software
> I2O Block Storage OSM v0.9
> (C) Copyright 1999-2001 Red Hat Software
> i2o_block: Checking for Boot device...
> i2o_block: Checking for I2O Block devices...
> i2ob: Installing tid 11 device at unit 0
> i2o/hda: Max segments 28, queue def 32, byte limit 14336.
> i2o/hda: Type 128: 572366MB, 512 byte sectors.
> i2o/hda: Maximum sectors/read set 2 256.
> Partitition check:
> i2o/hda:
>
> However, it hangs here and does nothing. I left it on all night and
> no change. Does anyone have any ideas why it might be hanging? Is
> there something else I should try? Do I need to pass any arguments to
> the kernel? If anyone needs more info I would be glad to give it.
> Any help would be greatly appreciated.
>
> Thanks
> Amith
>
>
>
> Viktors Rotanovs <[email protected]> wrote in message
> news:<[email protected]>...
> > Hi,
> >
> > I've found numerious reports that Promise SX6000 works fine with
> > 2.4.18+ kernels, and tried it with 2.4.18 and 2.4.19-rc1-ac4 kernels
> > with i2o support.
> >
> > Here are the results:
> >
> > 2.4.18: finds controller, but doesn't find disk device on it.
> > 2.4.19-rc1-ac4: loads i2o_block and i2o_core fine and doesn't load
> > i2o_pci. When I try to load i2o_pci manually, it shows a lot of
> > timeouts.
> >
> > I seem to have PDC20276 chip (if i'm not mistaken) marked as new
> > by Alan Cox.
> >
> > OS type on the RAID is set to Other.
> >
> > When I try to run original driver Promise's driver instead of i2o on
> > 2.4.18, it starts showing SCSI timeouts after some time when working
> > under heavy load.
> >
> > I use RAID with ReiserFS.
> >
> > Thanks for any help and have a nice day!
> >
> > Best Wishes,
> > Viktors
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in
> > the body of a message to [email protected]
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/
>
>
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>


2002-07-18 07:49:52

by Viktors Rotanovs

[permalink] [raw]
Subject: Re[2]: 2.4.18-2.4.19-rc1-ac4 + Promise SX6000 + i2o

Hi Amith,

You are lucky man!
I get these messages:
AV> i2o_block: Checking for Boot device...
AV> i2o_block: Checking for I2O Block devices...

but not this one:
AV> i2ob: Installing tid 11 device at unit 0

I use the latest firmware too.
Do you have the array set as boot device in BIOS settings?

Best Wishes,
Viktors

2002-07-19 03:08:15

by Amith Varghese

[permalink] [raw]
Subject: Re: 2.4.18-2.4.19-rc1-ac4 + Promise SX6000 + i2o

Ok, I am still having problems booting 2.4.19-rc2-ac2.... I get an APIC
error on CPU0 (and CPU1). However, I tried 2.4.19-rc2 with my Promise
SX6000 and get a slightly different result than 2.4.18. It almost looks
like the hard drives attached to the promise sx6000 are being
initialized before it gets to the i2o code and the i2o block driver is
unable to initialize /dev/i2o/hda (but thats a wild guess from my
limited knowledge). If someone has any ideas, please let me know.

Thanks
Amith

Here is output from dmesg (the important parts - i can provide more if
needed)

PDC20276: IDE controller on PCI bus 03 dev 00
PDC20276: chipset revision 1
PDC20276: not 100% native mode: will probe irqs later
PDC20276: (U)DMA Burst Bit ENABLED Primary MASTER Mode Secondary MASTER
Mode.
PDC20276: simplex device: DMA disabled
ide2: PDC20276 Bus-Master DMA disabled (BIOS)
PDC20276: simplex device: DMA disabled
ide3: PDC20276 Bus-Master DMA disabled (BIOS)
PDC20276: IDE controller on PCI bus 03 dev 08
PDC20276: chipset revision 1
PDC20276: not 100% native mode: will probe irqs later
PDC20276: (U)DMA Burst Bit ENABLED Primary MASTER Mode Secondary MASTER
Mode.
PDC20276: simplex device: DMA disabled
ide4: PDC20276 Bus-Master DMA disabled (BIOS)
PDC20276: simplex device: DMA disabled
ide5: PDC20276 Bus-Master DMA disabled (BIOS)
PDC20276: IDE controller on PCI bus 03 dev 10
PDC20276: chipset revision 1
PDC20276: not 100% native mode: will probe irqs later
PDC20276: (U)DMA Burst Bit ENABLED Primary MASTER Mode Secondary MASTER
Mode.
PDC20276: simplex device: DMA disabled
ide6: PDC20276 Bus-Master DMA disabled (BIOS)
PDC20276: simplex device: DMA disabled
ide7: PDC20276 Bus-Master DMA disabled (BIOS)

[snip]

I2O Core - (C) Copyright 1999 Red Hat Software
I2O: Event thread created as pid 8
Linux I2O PCI support (c) 1999 Red Hat Software.
i2o: Checking for PCI I2O controllers...
i2o: I2O controller on bus 2 at 49.
i2o: PCI I2O controller at 0xF3000000 size=4194304
I2O: Promise workarounds activated.
I2O: MTRR workaround for Intel i960 processor
i2o/iop0: Installed at IRQ17
i2o: 1 I2O controller found and installed.
Activating I2O controllers...
This may take a few minutes if there are many devices
i2o/iop0: Reset rejected, trying to clear
i2o/iop0: LCT has 5 entries.
i2o/iop0: Configuration dialog desired.
I2O configuration manager v 0.04.
(C) Copyright 1999 Red Hat Software
I2O Block Storage OSM v0.9
(c) Copyright 1999-2001 Red Hat Software.
i2o_block: Checking for Boot device...
i2o_block: Checking for I2O Block devices...
i2ob: Installing tid 11 device at unit 0
i2o/hda: Max segments 28, queue depth 8, byte limit 49152.
i2o/hda: Type 255: 572366MB, 512 byte sectors.
i2o/hda: Maximum sectors/read set to 96.
i2o/hda:<3>
/dev/i2o/hda error: Device is not ready.
end_request: I/O error, dev 50:00 (i2o block), sector 0

/dev/i2o/hda error: Device is not ready.
end_request: I/O error, dev 50:00 (i2o block), sector 0
unable to read partition table

[snip]

i2o_post_wait event completed after timeout.
i2o_post_wait event completed after timeout.
i2o_post_wait event completed after timeout.
i2o_post_wait event completed after timeout.
i2o_post_wait event completed after timeout.
i2o_post_wait event completed after timeout.
i2o_post_wait event completed after timeout.
i2o_post_wait event completed after timeout.
i2o_post_wait event completed after timeout.
i2o_post_wait event completed after timeout.
i2o_post_wait event completed after timeout.

On Thu, 2002-07-18 at 00:31, Amith Varghese wrote:
> Just for more information... I too have the PDC20276 chip which Alan had
> mentioned in in linux 2.4.19rc1-ac3 changelog as the following:
>
> o Newer SX6000 has PDC20276 chips. Handle this (me)
>
> I tried 2.4.19rc2 and 2.4.19rc1-ac7 with no success. I'm willing to try
> and debug this, but i don't have a really good idea how to. If someone
> can give me some ideas that would be great.
>
> Thanks
> Amith
>
> On Wed, 2002-07-17 at 17:29, Amith Varghese wrote:
> > I'm getting similar results, but I haven't tried anyting in 2.4.19
> > series yet... this is my situation
> >
> > I am trying to put together a new machine using the promise sx6000
> > raid card and I am having some problems with getting the OS to
> > recognize the raid array. Here are the facts
> >
> > * dual athlon 1900
> > * asus a7m266-d motherboard w/ latest bios (A006)
> > * 1GB RAM
> > * Realtek RTL-8139 ethernet card
> > * Promise SX6000
> >
> > * using 6 120GB western digital HD's
> > * total array size is 600GB defined as RAID 5
> > * using the latest bios (Revision 77) for the promise sx6000
> > * have the OS set to "Other"
> >
> > The redhat 7.3 doesn't seem to load the i20 block driver on boot and
> > therefore it can't find any drives when trying to install the OS. So
> > what I have done is compiled a new kernel on my other linux machine
> > that has the i2o support, i2o pci support, and i2o block support. I
> > then replaced the vmlinuz file within the boot.img file provided by
> > redhat. When I boot the machine it looks promising. I get the
> > following messages:
> >
> > Loading I2O core - (c) Copyright 1999 Red Hat Software
> > Linux I2O PCI support (c) 1999 Red Hat Software
> > i2o: Checking for PCI I2O controllers...
> > i2o: I2O controller on bus 2 at 49.
> > i2o: PCI I2O controller at 0xF3000000 size=4194304
> > I2O: Promise workarounds activated.
> > i2o/iop0: Installed at IRQ 10
> > i2o: 1 I2O controller found and installed.
> > Activating I2O controllers...
> > This may take a few minutes if there are many devices
> > i2o/iop0: Reset rejected, trying to clear
> > i2o/iop0: LCT has 5 entries
> > i2o/iop0: Configuration dialog desired.
> > I2O configuration manager v 0.04.
> > (C) Copyright 1999 Red Hat Software
> > I2O Block Storage OSM v0.9
> > (C) Copyright 1999-2001 Red Hat Software
> > i2o_block: Checking for Boot device...
> > i2o_block: Checking for I2O Block devices...
> > i2ob: Installing tid 11 device at unit 0
> > i2o/hda: Max segments 28, queue def 32, byte limit 14336.
> > i2o/hda: Type 128: 572366MB, 512 byte sectors.
> > i2o/hda: Maximum sectors/read set 2 256.
> > Partitition check:
> > i2o/hda:
> >
> > However, it hangs here and does nothing. I left it on all night and
> > no change. Does anyone have any ideas why it might be hanging? Is
> > there something else I should try? Do I need to pass any arguments to
> > the kernel? If anyone needs more info I would be glad to give it.
> > Any help would be greatly appreciated.
> >
> > Thanks
> > Amith


2002-07-20 19:24:20

by Alan

[permalink] [raw]
Subject: Re: 2.4.18-2.4.19-rc1-ac4 + Promise SX6000 + i2o

On Fri, 2002-07-19 at 04:11, Amith Varghese wrote:
> Ok, I am still having problems booting 2.4.19-rc2-ac2.... I get an APIC
> error on CPU0 (and CPU1). However, I tried 2.4.19-rc2 with my Promise
> SX6000 and get a slightly different result than 2.4.18. It almost looks
> like the hard drives attached to the promise sx6000 are being
> initialized before it gets to the i2o code and the i2o block driver is
> unable to initialize /dev/i2o/hda (but thats a wild guess from my

They are. 2.4.19 base doesn't yet avoid them it seems.

2002-07-20 21:18:34

by Amith Varghese

[permalink] [raw]
Subject: Re: 2.4.18-2.4.19-rc1-ac4 + Promise SX6000 + i2o

So does this mean that the item mentioned in the 2.4.19-rc1-ac3 changelog will
not work because the 2.4.19 base tries to initialize the drive first? Or is
the -ac tree immune to this problem?

o Newer SX6000 has PDC20276 chips. Handle this

If that is the case, I guess I have to use the promise drivers. However, i'll
offer free beer if anyone can help me get the i2o driver to work :)

Thanks
Amith


Quoting Alan Cox <[email protected]>:

> On Fri, 2002-07-19 at 04:11, Amith Varghese wrote:
> > Ok, I am still having problems booting 2.4.19-rc2-ac2.... I get an APIC
> > error on CPU0 (and CPU1). However, I tried 2.4.19-rc2 with my Promise
> > SX6000 and get a slightly different result than 2.4.18. It almost looks
> > like the hard drives attached to the promise sx6000 are being
> > initialized before it gets to the i2o code and the i2o block driver is
> > unable to initialize /dev/i2o/hda (but thats a wild guess from my
>
> They are. 2.4.19 base doesn't yet avoid them it seems.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
>



2002-07-20 23:05:52

by Alan

[permalink] [raw]
Subject: Re: 2.4.18-2.4.19-rc1-ac4 + Promise SX6000 + i2o

> o Newer SX6000 has PDC20276 chips. Handle this
>
> If that is the case, I guess I have to use the promise drivers. However, i'll
> offer free beer if anyone can help me get the i2o driver to work :)

The current -ac tree does handle this, but the i2o on the SX6000 fails
anyway. At the moment I have no timescale or plan to address this.

2002-07-21 05:45:26

by Andre Hedrick

[permalink] [raw]
Subject: Re: 2.4.18-2.4.19-rc1-ac4 + Promise SX6000 + i2o


I don't drink, I have enough problems keeping friends sober!
Make it a case of Coca-Cola (tm) and you are on!


Andre Hedrick
LAD Storage Consulting Group

On 21 Jul 2002, Alan Cox wrote:

> > o Newer SX6000 has PDC20276 chips. Handle this
> >
> > If that is the case, I guess I have to use the promise drivers. However, i'll
> > offer free beer if anyone can help me get the i2o driver to work :)
>
> The current -ac tree does handle this, but the i2o on the SX6000 fails
> anyway. At the moment I have no timescale or plan to address this.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>