WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] tw_cli doesn't work on dom0 kernel

To: Xen-user List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] tw_cli doesn't work on dom0 kernel
From: CHERAMY Guillaume <guillaume.cheramy@xxxxxxxxx>
Date: Fri, 01 Aug 2008 14:37:55 +0200
Delivery-date: Fri, 01 Aug 2008 05:38:33 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=xml5CRwK2ZP9eiup0bjjNtlr9Lb4Elos2WiCSsmm784=; b=ICRHRvXp2gB7mpsfehcejBlRBlgKGIsB9iOllPLtklYZBgw6rz7auZFww9MICRfr03 aj82AJNF935DILzxN3bmn+j82zvm6D+J+Oz61j4nsJn3O7P+pTgal4mH4HerDzsBOcKS kQj1mtov8Cftz2GCg/hfdQIbu9O777dRiN58I=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=nGaUhc5WbCGNHxQBkVss3Vlx7QK03UsVOBtbPNikOcjy0XBFwwMYUqWdTU+vubKHcL KZQI9yKOcICAneEX8W1oShwLw8JR/0F2mQI8meDJ/16Ly/7mNfE5ceEUHxTfR3BkDpQP mBmHp5EG/qncGITE3MVdhFExB2YTRDqo437JY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.16 (X11/20080724)
Hello,

    I have a 3ware 9550SX SATA-RAID controller with 6 SATA disk.
I wants to get information for manage disks on my dom0 OS. For this I
wants to use the 3ware tw_cli. But I have this error message :

geppo:/usr/src# tw_cli
//geppo> info
(0x0B:0x0001): No controller
No controller found.
Make sure appropriate AMCC/3ware device driver(s) are loaded.

but modules are loaded, my dmesg :
3w-9xxx: scsi0: AEN: WARNING (0x04:0x0006): Incomplete unit detected:unit=1.
scsi0 : 3ware 9000 Storage Controller
3w-9xxx: scsi0: Found a 3ware 9000 Storage Controller at 0xda100000,
IRQ: 21.
3w-9xxx: scsi0: Firmware FE9X 3.04.00.005, BIOS BE9X 3.04.00.002, Ports: 8.
  Vendor: AMCC      Model: 9550SXU-8L DISK   Rev: 3.04
  Type:   Direct-Access                      ANSI SCSI revision: 03


My kernel is a 2.6.18.8 (compiled) and I use 3.1.4 Xen version
(compiled) on a Debian Etch.

When I do the same in a debian standard kernel :
geppo:~# tw_cli
//geppo> info
Ctl   Model        (V)Ports  Drives   Units   NotOpt  RRate   VRate  BBU
------------------------------------------------------------------------
c0    9550SXU-8LP  8         6        2       1       1       1     
-       
//geppo>

I compiled the two kernels with the same .config file.

lsmod on standard Debian kernel
ipv6                  226272  18
button                  6672  0
ac                      5188  0
battery                 9636  0
loop                   15048  0
serio_raw               6660  0
usbhid                 37248  0
parport_pc             32132  0
parport                33256  1 parport_pc
rtc                    12372  0
i2c_i801                7468  0
psmouse                35016  0
i2c_core               19680  1 i2c_i801
shpchp                 33024  0
pci_hotplug            28704  1 shpchp
evdev                   9088  0
ext3                  119240  4
jbd                    52456  1 ext3
mbcache                 8356  1 ext3
dm_mirror              19152  0
dm_snapshot            15552  0
dm_mod                 50232  16 dm_mirror,dm_snapshot
ata_piix               13896  0
libata                 89396  1 ata_piix
sd_mod                 19040  7
e1000                 108832  0
3w_9xxx                30372  6
scsi_mod              124168  3 libata,sd_mod,3w_9xxx
generic                 4868  0 [permanent]
ide_core              110504  1 generic
uhci_hcd               21164  0
ehci_hcd               28136  0
usbcore               112644  4 usbhid,uhci_hcd,ehci_hcd
thermal                13608  0
processor              28840  1 thermal
fan                     4804  0

lsmod on xen kernel :
Module                  Size  Used by
xt_physdev              3984  4
iptable_filter          4096  1
ip_tables              14180  1 iptable_filter
x_tables               14340  2 xt_physdev,ip_tables
bridge                 50716  1 xt_physdev
ipv6                  233376  26
button                  7696  0
ac                      6276  0
battery                10756  0
loop                   16520  0
parport_pc             33572  0
parport                34504  1 parport_pc
serio_raw               7684  0
serial_core            21120  0
rtc                    14260  0
usbhid                 39136  0
psmouse                36488  0
shpchp                 34208  0
pci_hotplug            30016  1 shpchp
evdev                  10112  0
ext3                  122376  4
jbd                    54312  1 ext3
mbcache                 9348  1 ext3
dm_mirror              20688  0
dm_snapshot            16800  0
dm_mod                 52120  22 dm_mirror,dm_snapshot
sd_mod                 20224  7
generic                 6020  0 [permanent]
ide_core              116424  1 generic
3w_9xxx                31748  8
scsi_mod              126856  2 sd_mod,3w_9xxx
uhci_hcd               22924  0
e1000                 111936  0
ehci_hcd               30216  0
usbcore               117380  4 usbhid,uhci_hcd,ehci_hcd
thermal                14728  0
processor              30152  1 thermal
fan                     5892  0


Thanks for your help.

-- 
                         ''~``
                        ( o o )
+------------------.oooO--(_)--Oooo.---------------------+
| Guillaume Chéramy - Guidtz                             |
| E-Mail : guillaume.cheramy@xxxxxxxxx                   |
|                    (   )                               |
+---------------------\ (----(   )-----------------------+
                       \_)    ) /
                             (_/


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>