Subject: Help with promise sx6000 card

Hi all:

I have installed Red Hat 8 with 2.4.18-14 ,i2o support as module, but i can
not find my card anywhere.

Here i am sending you my dmesg and my modules.conf .
Notes I have a 120GB in hda where i have installed red hat , and 5 hardrives
in the promise card .
.............
.........

VP_IDE: IDE controller on PCI bus 00 dev 21
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:04.1
ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:DMA, hdd:pio
PDC20276: IDE controller on PCI bus 02 dev 00
PDC20276: chipset revision 1
ide: Found promise 20265 in RAID mode.
PDC20276: not 100% native mode: will probe irqs later
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 02 dev 08
PDC20276: chipset revision 1
ide: Found promise 20265 in RAID mode.
PDC20276: not 100% native mode: will probe irqs later
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 02 dev 10
PDC20276: chipset revision 1
ide: Found promise 20265 in RAID mode.
PDC20276: not 100% native mode: will probe irqs later
PDC20276: simplex device: DMA disabled
ide6: PDC20276 Bus-Master DMA disabled (BIOS)
PDC20276: simplex device: DMA disabled
ide7: PDC20276 Bus-Master DMA disabled (BIOS)
hda: WDC WD1200JB-75CRA0, ATA DISK drive
hdb: no response (status = 0xa1), resetting drive
hdb: no response (status = 0xa1)
hdc: AOPEN 16XDVD-ROM/AMH 20020328, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: setmax LBA 234441648, native 234375000
hda: 234375000 sectors (120000 MB) w/8192KiB Cache, CHS=14589/255/63, UDMA(100)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 hda10 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
pci_hotplug: PCI Hot Plug PCI Core version: 0.4
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 16384 buckets, 128Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 220k freed
VFS: Mounted root (ext2 filesystem).
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
I2O Core - (C) Copyright 1999 Red Hat Software
I2O: Event thread created as pid 17
I2O Block Storage OSM v0.9
(c) Copyright 1999-2001 Red Hat Software.
i2o_block: registered device at major 80
i2o_block: Checking for Boot device...
i2o_block: Checking for I2O Block devices...
Journalled Block Device driver loaded

Why is not my RAID under /dev/i2o/hda ?

David



2003-02-03 22:16:27

by John Bradford

[permalink] [raw]
Subject: Re: Help with promise sx6000 card

> I have installed Red Hat 8 with 2.4.18-14 ,i2o support as module, but i can
> not find my card anywhere.
>
> Here i am sending you my dmesg and my modules.conf .
> Notes I have a 120GB in hda where i have installed red hat , and 5 hardrives
> in the promise card .
>
> Why is not my RAID under /dev/i2o/hda ?

I've got a similar bug report to this in my bug database:

http://grabjohn.com/kernelbugdatabase/index.php?action=21&id=33

John.

2003-02-04 10:12:14

by Juergen Sawinski

[permalink] [raw]
Subject: Re: Help with promise sx6000 card

Probably related (follow thread):
http://marc.theaimsgroup.com/?l=linux-kernel&m=104271301602539&w=2

On Mon, 2003-02-03 at 23:26, John Bradford wrote:
> > I have installed Red Hat 8 with 2.4.18-14 ,i2o support as module, but i can
> > not find my card anywhere.
> >
> > Here i am sending you my dmesg and my modules.conf .
> > Notes I have a 120GB in hda where i have installed red hat , and 5 hardrives
> > in the promise card .
> >
> > Why is not my RAID under /dev/i2o/hda ?
>
> I've got a similar bug report to this in my bug database:
>
> http://grabjohn.com/kernelbugdatabase/index.php?action=21&id=33
>
> John.
> -
> 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/
--
Juergen "George" Sawinski | Phone: +49-6221-486-308
Max-Planck Institute for Medical Research | Fax: +49-6221-486-325
Dept. of Biomedical Optics | Mobile: +49-171-532 5302
Jahnstr. 29 |
D-69120 Heidelberg |
Germany |

GPG Key/Fingerprint: 9A5F7A31/86F2E5D5EDF4D9983BDD3F23986F154F9A5F7A31

2003-02-04 11:08:56

by Alan

[permalink] [raw]
Subject: Re: Help with promise sx6000 card

On Mon, 2003-02-03 at 22:19, Cuenta de la lista de linux wrote:
> Hi all:
>
> I have installed Red Hat 8 with 2.4.18-14 ,i2o support as module, but i can
> not find my card anywhere.

You need to load i2o_pci, then i2o_core then i2o_block.


> I2O Core - (C) Copyright 1999 Red Hat Software
> I2O: Event thread created as pid 17
> I2O Block Storage OSM v0.9
> (c) Copyright 1999-2001 Red Hat Software.
> i2o_block: registered device at major 80
> i2o_block: Checking for Boot device...
> i2o_block: Checking for I2O Block devices...

i2o_pci is not loaded


2003-02-04 20:29:59

by Vojtech Pavlik

[permalink] [raw]
Subject: Re: Help with promise sx6000 card

Hi!

To make a SX6000 card work with Linux:

1) Make sure the card BIOS is enabled.
2) In the BIOS of the card, set it to "Other OS', not Linux
3) Disable support for Promise cards in Linux
4) Enable I2O and I2O block devices
5) Make new kernel & reboot
6) With luck, it'll work. Anyway, SX6000's are DAMN SLOW.

I succeeded last time I tried.

Now to get a SX4000 working, that's a much more interesting task ...

On Mon, Feb 03, 2003 at 05:19:23PM -0500, Cuenta de la lista de linux wrote:
> Hi all:
>
> I have installed Red Hat 8 with 2.4.18-14 ,i2o support as module, but i can
> not find my card anywhere.
>
> Here i am sending you my dmesg and my modules.conf .
> Notes I have a 120GB in hda where i have installed red hat , and 5 hardrives
> in the promise card .
> .............
> .........
>
> VP_IDE: IDE controller on PCI bus 00 dev 21
> VP_IDE: chipset revision 6
> VP_IDE: not 100% native mode: will probe irqs later
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:04.1
> ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:pio
> ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:DMA, hdd:pio
> PDC20276: IDE controller on PCI bus 02 dev 00
> PDC20276: chipset revision 1
> ide: Found promise 20265 in RAID mode.
> PDC20276: not 100% native mode: will probe irqs later
> 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 02 dev 08
> PDC20276: chipset revision 1
> ide: Found promise 20265 in RAID mode.
> PDC20276: not 100% native mode: will probe irqs later
> 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 02 dev 10
> PDC20276: chipset revision 1
> ide: Found promise 20265 in RAID mode.
> PDC20276: not 100% native mode: will probe irqs later
> PDC20276: simplex device: DMA disabled
> ide6: PDC20276 Bus-Master DMA disabled (BIOS)
> PDC20276: simplex device: DMA disabled
> ide7: PDC20276 Bus-Master DMA disabled (BIOS)
> hda: WDC WD1200JB-75CRA0, ATA DISK drive
> hdb: no response (status = 0xa1), resetting drive
> hdb: no response (status = 0xa1)
> hdc: AOPEN 16XDVD-ROM/AMH 20020328, ATAPI CD/DVD-ROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: setmax LBA 234441648, native 234375000
> hda: 234375000 sectors (120000 MB) w/8192KiB Cache, CHS=14589/255/63, UDMA(100)
> ide-floppy driver 0.99.newide
> Partition check:
> hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 hda10 >
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is a post-1991 82077
> NET4: Frame Diverter 0.46
> RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
> ide-floppy driver 0.99.newide
> md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
> md: Autodetecting RAID arrays.
> md: autorun ...
> md: ... autorun DONE.
> pci_hotplug: PCI Hot Plug PCI Core version: 0.4
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP Protocols: ICMP, UDP, TCP, IGMP
> IP: routing cache hash table of 16384 buckets, 128Kbytes
> TCP: Hash tables configured (established 262144 bind 65536)
> Linux IP multicast router 0.06 plus PIM-SM
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> RAMDISK: Compressed image found at block 0
> Freeing initrd memory: 220k freed
> VFS: Mounted root (ext2 filesystem).
> SCSI subsystem driver Revision: 1.00
> kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
> I2O Core - (C) Copyright 1999 Red Hat Software
> I2O: Event thread created as pid 17
> I2O Block Storage OSM v0.9
> (c) Copyright 1999-2001 Red Hat Software.
> i2o_block: registered device at major 80
> i2o_block: Checking for Boot device...
> i2o_block: Checking for I2O Block devices...
> Journalled Block Device driver loaded
>
> Why is not my RAID under /dev/i2o/hda ?
>
> David
>
>
> -
> 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/

--
Vojtech Pavlik
SuSE Labs

2003-02-04 21:46:34

by Alan

[permalink] [raw]
Subject: Re: Help with promise sx6000 card

On Tue, 2003-02-04 at 20:39, Vojtech Pavlik wrote:
> 1) Make sure the card BIOS is enabled.
> 2) In the BIOS of the card, set it to "Other OS', not Linux

Both should work. "Other OS" changes how the promise cards I have map
the IDE controllers and whether the I2O asks the OS for space or not.
Does your BIOS also change the PCI class or pci idents ?

> 3) Disable support for Promise cards in Linux

Shouldnt be needed now days

> 4) Enable I2O and I2O block devices

Use 2.4.19 or later. The promise stuff freaks if you do clever cache
hints and older kernels don't know about that

> 6) With luck, it'll work. Anyway, SX6000's are DAMN SLOW.

7) Sell the promise card to someone who doesnt know better and buy
a 3ware. Certainly under Linux the 3ware is way faster

> Now to get a SX4000 working, that's a much more interesting task ...

SX4000 is i2o or something stranger ?


2003-02-04 22:07:51

by Vojtech Pavlik

[permalink] [raw]
Subject: Re: Help with promise sx6000 card

On Tue, Feb 04, 2003 at 10:52:48PM +0000, Alan Cox wrote:
> On Tue, 2003-02-04 at 20:39, Vojtech Pavlik wrote:
> > 1) Make sure the card BIOS is enabled.
> > 2) In the BIOS of the card, set it to "Other OS', not Linux
>
> Both should work. "Other OS" changes how the promise cards I have map
> the IDE controllers and whether the I2O asks the OS for space or not.
> Does your BIOS also change the PCI class or pci idents ?

Well, if I set it to "Linux", the IDE controllers disappear completely
and the I2O fails to initialize. I might have a different firmware,
version, though. It works then with Promise's own sx6000 specific drivers
only.

> > 3) Disable support for Promise cards in Linux
>
> Shouldnt be needed now days

Hopefully not.

> > 4) Enable I2O and I2O block devices
>
> Use 2.4.19 or later. The promise stuff freaks if you do clever cache
> hints and older kernels don't know about that

Indeed.

> > 6) With luck, it'll work. Anyway, SX6000's are DAMN SLOW.
>
> 7) Sell the promise card to someone who doesnt know better and buy
> a 3ware. Certainly under Linux the 3ware is way faster
>
> > Now to get a SX4000 working, that's a much more interesting task ...
>
> SX4000 is i2o or something stranger ?

Something very strange. It does XORs in HW, and has two IDE channels but
that's all. And it's completely undocumented. It could be reasonably
fast, though. The chip name is PDC20621.

--
Vojtech Pavlik
SuSE Labs

2003-02-05 15:00:22

by Alan

[permalink] [raw]
Subject: Re: Help with promise sx6000 card

On Wed, 2020-02-05 at 15:59, Linux Lists wrote:
> OK, but what i have to do to load the modules in that order
>

Either build a kernel with them built in or run mkinitrd with the option

--preload=i2o_core --preload=i2o_pci --preload=i2o_block.

The Red Hat installer builds a wrongly ordered initrd for i2o stuff in
8.0. Thats fixed in the beta but doesn't help you.


Subject: Re: Help with promise sx6000 card

Ok Alan i followed your advises and finally i got the i2o_pci module loaded.

But I am still not able to get my card under /dev/i2o/hda.

Any clues?

Here is my dmesg output

*********************************************************


PDC20276: IDE controller on PCI bus 02 dev 00
PDC20276: chipset revision 1
ide: Found promise 20265 in RAID mode.
PDC20276: not 100% native mode: will probe irqs later
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 02 dev 08
PDC20276: chipset revision 1
ide: Found promise 20265 in RAID mode.
PDC20276: not 100% native mode: will probe irqs later
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 02 dev 10
PDC20276: chipset revision 1
ide: Found promise 20265 in RAID mode.
PDC20276: not 100% native mode: will probe irqs later
PDC20276: simplex device: DMA disabled
ide6: PDC20276 Bus-Master DMA disabled (BIOS)
PDC20276: simplex device: DMA disabled
ide7: PDC20276 Bus-Master DMA disabled (BIOS)
hda: WDC WD1200JB-75CRA0, ATA DISK drive
hdb: no response (status = 0xa1), resetting drive
hdb: no response (status = 0xa1)
hdc: AOPEN 16XDVD-ROM/AMH 20020328, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: setmax LBA 234441648, native 234375000
hda: 234375000 sectors (120000 MB) w/8192KiB Cache, CHS=14589/255/63, UDMA(100)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 hda10 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
pci_hotplug: PCI Hot Plug PCI Core version: 0.4
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 16384 buckets, 128Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 221k freed
VFS: Mounted root (ext2 filesystem).
I2O Core - (C) Copyright 1999 Red Hat Software
I2O: Event thread created as pid 13
Linux I2O PCI support (c) 1999 Red Hat Software.
i2o: Checking for PCI I2O controllers...
i2o: I2O controller on bus 0 at 81.
i2o: PCI I2O controller at 0xF9000000 size=4194304
I2O: Promise workarounds activated.
I2O: MTRR workaround for Intel i960 processor
i2o/iop0: Installed at IRQ10
i2o: 1 I2O controller found and installed.
Activating I2O controllers...
This may take a few minutes if there are many devices
i2o/iop0: Get status timeout.
Unable to obtain status of i2o/iop0, attempting a reset.
i2o/iop0: Get status timeout.
IOP reset timeout.
i2o/iop0: Get status timeout.
IOP reset timeout.
I2O Block Storage OSM v0.9
(c) Copyright 1999-2001 Red Hat Software.
i2o_block: registered device at major 80
i2o_block: Checking for Boot device...
i2o_block: Checking for I2O Block devices...
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Journalled Block Device driver loaded
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 240k freed



2003-02-05 17:59:15

by Alan

[permalink] [raw]
Subject: Re: Help with promise sx6000 card

> ide: Found promise 20265 in RAID mode.
> PDC20276: not 100% native mode: will probe irqs later
> 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 02 dev 08
> PDC20276: chipset revision 1
> ide: Found promise 20265 in RAID mode.
> PDC20276: not 100% native mode: will probe irqs later
> 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 02 dev 10
> PDC20276: chipset revision 1
> ide: Found promise 20265 in RAID mode.
> PDC20276: not 100% native mode: will probe irqs later
> PDC20276: simplex device: DMA disabled
> ide6: PDC20276 Bus-Master DMA disabled (BIOS)
> PDC20276: simplex device: DMA disabled
> ide7: PDC20276 Bus-Master DMA disabled (BIOS)

It looks like it isnt skipping the devices on the raid card
for some reason. That would be a problem. It might work
with "ide2=noprobe ide3=noprobe ide4=noprobe ide5=noprobe ide6=noprobe
ide7=noprobe"

> Unable to obtain status of i2o/iop0, attempting a reset.
> i2o/iop0: Get status timeout.
> IOP reset timeout.
> i2o/iop0: Get status timeout.

and indeed the i2o firmware on the card seems to have crashed

What kernel are you using at the moment. And can you send me an lspci -v as
well as an lspci -t