Kernel problems with Intel i2o

Kernel problems with Intel i2o

Post by Knud » Sun, 08 Dec 2002 23:48:26



Hi,

I am running an intel i2o raid array with redhat 7.1 using kernel 2.4.2-2
(as was installed by the install procedure - its not one that i have
compiled). Problem is after anything other than light i/o on the raid array
it locks up (no i/o completes) with the following logged to syslog:

i2o/iop0: No handler for event (0x00000400)
i2o/iop0 requires user configuration
Driver "I2O Block OSM" did not release device!
i2ob_del_device called, but not in dev table!
Driver "I2O Block OSM" did not release device!

I upgraded to a recent kernel: kernel-smp-2.4.18-3.i586.rpm but when i boot
with this i can't even see any of the i2o devices and i suspect the kernel
doesnt detect the i2o controller. (Out of desperation i also tried doing a
custom kernel compilation ensuring that all the i2o modules were built,
using : kernel-source-2.4.18-17.7.x.i386.rpm, and then also a complete fresh
install of RedHat 8.0; niether of these kernels detected the controller)

Does anyone have any clues as to how i go about getting this fixed. I need
to stick with RedHat 7.1 as some of our software is certified for this
release, but i just need to find a kernel that will work reliably with the
i2o.

I tried using bugzilla and found an i2o bug was fixed by Alan Cox against
7.1 in an -ac relaese however i don't know how to check which kernel rpm's
subsequently benefited from this fix. Can anyone suggest how i find out ?

Many thanks

P.s. and here is the lspci -v output (when i had installed redhat 8.0)

00:00.0 Host bridge: ServerWorks CNB20LE Host Bridge (rev 05)

Flags: bus master, medium devsel, latency 64

00:00.1 Host bridge: ServerWorks CNB20LE Host Bridge (rev 05)

Flags: bus master, medium devsel, latency 64

00:02.0 VGA compatible controller: ATI Technologies Inc 3D Rage IIC 215IIC
[Mach64 GT IIC] (rev 7a) (prog-if 00 [VGA])

Subsystem: Intel Corp.: Unknown device 4756

Flags: bus master, stepping, medium devsel, latency 66, IRQ 19

Memory at fc000000 (32-bit, prefetchable) [size=16M]

I/O ports at 5000 [size=256]

Memory at fb100000 (32-bit, non-prefetchable) [size=4K]

Expansion ROM at <unassigned> [disabled] [size=128K]

Capabilities: [5c] Power Management version 1

00:03.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev
08)

Subsystem: Intel Corp. 82557/8/9 [Ethernet Pro 100]

Flags: bus master, medium devsel, latency 66, IRQ 18

Memory at fb101000 (32-bit, non-prefetchable) [size=4K]

I/O ports at 5400 [size=64]

Memory at fb000000 (32-bit, non-prefetchable) [size=1M]

Capabilities: [dc] Power Management version 2

00:06.0 PCI bridge: Intel Corp.: Unknown device 9620 (rev 02) (prog-if 00
[Normal decode])

Flags: bus master, medium devsel, latency 64

Bus: primary=00, secondary=01, subordinate=01, sec-latency=64

Capabilities: [68] Power Management version 2

00:06.1 I2O: Intel Corp. Integrated RAID (rev 02) (prog-if 01)

Subsystem: Intel Corp.: Unknown device 0001

Flags: bus master, medium devsel, latency 64, IRQ 26

Memory at fb800000 (32-bit, prefetchable) [size=8M]

Expansion ROM at <unassigned> [disabled] [size=64K]

Capabilities: [80] Power Management version 2

00:0f.0 ISA bridge: ServerWorks OSB4 South Bridge (rev 4f)

Subsystem: ServerWorks OSB4 South Bridge

Flags: bus master, medium devsel, latency 0

00:0f.1 IDE interface: ServerWorks OSB4 IDE Controller (prog-if 8a [Master
SecP PriP])

Flags: bus master, medium devsel, latency 64

I/O ports at 0840 [size=16]

02:04.0 SCSI storage controller: Adaptec AIC-7899P U160/m

Subsystem: Intel Corp.: Unknown device 00cf

Flags: bus master, 66Mhz, medium devsel, latency 72, IRQ 16

BIST result: 00

I/O ports at 5800 [disabled] [size=256]

Memory at fd000000 (64-bit, non-prefetchable) [size=4K]

Expansion ROM at <unassigned> [disabled] [size=128K]

Capabilities: [dc] Power Management version 2

02:04.1 SCSI storage controller: Adaptec AIC-7899P U160/m

Subsystem: Intel Corp.: Unknown device 00cf

Flags: bus master, 66Mhz, medium devsel, latency 72, IRQ 17

BIST result: 00

I/O ports at 6000 [disabled] [size=256]

Memory at fd001000 (64-bit, non-prefetchable) [size=4K]

Expansion ROM at <unassigned> [disabled] [size=128K]

Capabilities: [dc] Power Management version 2

02:0a.0 SCSI storage controller: Adaptec AIC-7892A U160/m (rev 02)

Subsystem: Adaptec 29160 Ultra160 SCSI Controller

Flags: bus master, 66Mhz, medium devsel, latency 72, IRQ 20

BIST result: 00

I/O ports at 6400 [disabled] [size=256]

Memory at fd002000 (64-bit, non-prefetchable) [size=4K]

Expansion ROM at <unassigned> [disabled] [size=128K]

Capabilities: [dc] Power Management version 2

 
 
 

Kernel problems with Intel i2o

Post by Knud » Mon, 09 Dec 2002 00:20:20


Sorry i forgot the dmesg lines that show the i2o inittialization :

When booted from kernel 2.4.2-2:

Nov 28 13:53:00 carling kernel: Linux I2O PCI support (c) 1999 Red Hat
Software.

Nov 28 13:53:00 carling kernel: I2O Core - (C) Copyright 1999 Red Hat
Software

Nov 28 13:53:00 carling kernel: i2o: Checking for PCI I2O controllers...

Nov 28 13:53:00 carling kernel: i2o: I2O controller on bus 0 at 49.

Nov 28 13:53:00 carling kernel: i2o: PCI I2O controller at 0xFB800000
size=8388608

Nov 28 13:53:00 carling kernel: mtrr: your processor doesn't support
write-combining

Nov 28 13:53:00 carling kernel: I2O: MTRR workaround for Intel i960
processor

Nov 28 13:53:00 carling kernel: i2o/iop0: Installed at IRQ26

Nov 28 13:53:01 carling kernel: i2o: 1 I2O controller found and installed.

Nov 28 13:53:01 carling kernel: I2O: Event thread created as pid 14

Nov 28 13:53:01 carling kernel: Activating I2O controllers...

Nov 28 13:53:01 carling kernel: This may take a few minutes if there are
many devices

Nov 28 13:53:01 carling kernel: i2o/iop0: LCT has 17 entries.

Nov 28 13:53:01 carling kernel: I2O Block Storage OSM v0.9

Nov 28 13:53:01 carling kernel: (c) Copyright 1999, 2000 Red Hat Software.

Nov 28 13:53:01 carling kernel: i2o_block: registered device at major 80

Nov 28 13:53:01 carling kernel: i2o_block: Checking for Boot device...

Nov 28 13:53:01 carling kernel: i2o_block: Checking for I2O Block devices...

Nov 28 13:53:01 carling kernel: i2ob: Installing tid 16 device at unit 0

Nov 28 13:53:01 carling kernel: Max segments set to 12

Nov 28 13:53:01 carling kernel: Byte limit is 6144.

Nov 28 13:53:01 carling kernel: i2o/hda: Disk Storage- 52068Mb, 512 byte
sectors.

Nov 28 13:53:01 carling kernel: i2o/hda: Maximum sectors/read set to 1024.

Nov 28 13:53:01 carling kernel: Partition check:

Nov 28 13:53:01 carling kernel: i2o/hda: i2o/hda1 i2o/hda2

###### And the one from the later kernel versions that i tried :

Nov 29 12:18:16 carling kernel: I2O Core - (C) Copyright 1999 Red Hat
Software

Nov 29 12:18:16 carling kernel: I2O: Event thread created as pid 19

Nov 29 12:18:16 carling kernel: I2O Block Storage OSM v0.9

Nov 29 12:18:16 carling kernel: (c) Copyright 1999-2001 Red Hat Software.

Nov 29 12:18:16 carling kernel: i2o_block: registered device at major 80

Nov 29 12:18:16 carling linuxconf: Running Linuxconf hooks: succeeded

Nov 29 12:18:16 carling kernel: i2o_block: Checking for Boot device...

Nov 29 12:18:17 carling kernel: i2o_block: Checking for I2O Block devices...

 
 
 

1. Using I2O modules with I2O core in kernel (follow up)

Hi Alan and folks,

And again the mysterous lklm problem appeared and I forgot to append the
actual patch. Btw. the problem does exists through all the current
version of the 2.2 and 2.4 kernel line. The patch should apply cleanly
to all but the ac series where the sources were moved within the tree.

Michael

[ i2o-2.4.2.patch < 1K ]
--- linux-2.4.2/drivers/i2o/i2o_core.c.orig     Thu Feb 22 18:09:49 2001

 }

-#ifdef MODULE
-
 EXPORT_SYMBOL(i2o_controller_chain);
 EXPORT_SYMBOL(i2o_num_controllers);

 EXPORT_SYMBOL(i2o_dump_message);

 EXPORT_SYMBOL(i2o_get_class_name);
+
+#ifdef MODULE

 MODULE_AUTHOR("Red Hat Software");
 MODULE_DESCRIPTION("I2O Core");

2. Virtual screen: is there a solution?

3. Using I2O modules with I2O core in kernel

4. USB support

5. Intel SRCU3-1 RAID (I2O) and 2.4.5-ac18

6. rel 5 and ODT

7. Intel i2o (i960) chipset

8. Sendmail problem

9. Process locks using Intel RAID SRCU3-1 (I2O)

10. I2O, v2.2.19, Intel 3U-1L, mounting root

11. Raid performance Promise SX6000 / kernel 2.4.18 i2o

12. Adaptec I2O RAID driver (kernel 2.4.7)

13. I2O kernel oops with Promise SuperTrak SX6000