probleme mit i2o

Thomas Balsfulland tbals at ctrl-c.de
Wed Mar 7 18:21:42 CET 2007


hallo zusammen,

wie ich mal hier schrieb habe ich einen fusi p250 mit einem adaptec i2o
controller, an dem zweo sca platten im raid1 verbund haengen.
ich habe aber immernoch probleme den controller korrekt einzubinden.

hier nochmal ein lspci-output des controllers:

01:0c.1 PCI bridge: Adaptec (formerly DPT) PCI Bridge (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, medium devsel, latency 64
        Bus: primary=01, secondary=02, subordinate=02, sec-latency=0
        Capabilities: [68] Power Management version 2

wenn ich das jetzt richtig verstanden habe gibt es *zwei* moeglichkeiten
den controller im kernel (2.6.19.2) zu aktivieren:

 - device drivers
   + scsi device support
     + scsi low-level drivers
       + adaptec i2o raid support (CONFIG_SCSI_DPT_I2O)

oder

 - device drivers
   + i2o device support
     + i2o support  (CONFIG_I2O)
       + i2o configuration support  (CONFIG_I2O_CONFIG)
       + i2o bus adapter osm  (CONFIG_I2O_BUS)
       + i2o block osm (CONFIG_I2O_BLOCK)
       + i2o scsi osm  (CONFIG_I2O_SCSI)
       + i2o /proc support  (CONFIG_I2O_PROC)


ich habbe es wie folgt gemacht:

# CONFIG_SCSI_DPT_I2O is not set
# I2O device support
CONFIG_I2O=y
CONFIG_I2O_LCT_NOTIFY_ON_CHANGES=y
CONFIG_I2O_EXT_ADAPTEC=y
CONFIG_I2O_CONFIG=y
CONFIG_I2O_CONFIG_OLD_IOCTL=y
CONFIG_I2O_BUS=y
CONFIG_I2O_BLOCK=y
CONFIG_I2O_SCSI=y
CONFIG_I2O_PROC=y

damit bootet der server auch, mault aber etwas rum (siehe
http://tbals.de/dmesg__i2o) aber ich habe dann /dev/sda und /dev/sdb.

ich bin mir jetzt nur nicht sicher ob /dev/sda die erste platte oder das
raid ist, denn so stehts in der fstab:

/dev/sda2       /               ext3 ....
/dev/sda1       /boot           ext3 ...
/dev/sda3       none            swap ....

und ich kann per smartmontools auf die platten gucken.

dummerweise habe ich jetzt eine dauerhafte load von 1.00:

$ w
 18:17:02 up 19:53,  1 user,  load average: 1,00, 1,00, 1,00

und vmstat und iostat zeigen nix gutes:

$ vmstat
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa
 0  1      0 1294552  69516 643732    0    0     3     5  127   34  0  0 50 50


$ iostat
Linux 2.6.19.2 (osgiliath)      07.03.2007

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0,09    0,07    0,08   49,93    0,00   49,83

Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
sda               0,97        13,48        20,72     965891    1484931
sdb               0,00         0,01         0,00        755          0


da scheint was noch nicht zu stimmen.
raidutils funktionieren gar nicht und das proc-zeugs tut auch nicht:

$ cat /proc/i2o/iop0/hw
Speicherzugriffsfehler




wie muss ich den kernel konfigurieren um das raid korrekt zu nutzen und
auch per raidutils checken zu koennen?

kann jemand helfen?

gruss
  thomas


-- 
thomas balsfulland                           tbals at ctrl-c.de
                zwischen mut und dummheit liegt nur ein grat
            der sich durch das vorbereitetsein unterscheidet



More information about the Linux mailing list