[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#444211: /proc/scsi/scsi: Cannot allocate memory error



Package: linux-source-2.6.18 

 

Debian Release: 4.0 Etch 2.6.18-4-amd64 #1 SMP

 

Package Version

ii  linux-kernel-headers              2.6.18-7                              Linux Kernel Headers for development

ii  linux-source-2.6.18               2.6.18.dfsg.1-13etch2           Linux kernel source for version 2.6.18 with

ii  module-init-tools                 3.3-pre4-2                              tools for managing Linux kernel modules

 

 

 

Here the configuration is 3PAR storage array connected to host server via iscsi. The open-iscsi initiator version (2.0-865-12) , when I exported 1024 devices from the SAN one cannot see the contents of /proc/scsi/scsi as it complains “cannot  allocate memory” and the file contents is zero. A reboot doesn’t resolve the issue.

 

# cat /proc/scsi/scsi

cat: /proc/scsi/scsi: Cannot allocate memory

 

# ls -al /proc/scsi/scsi

-r--r--r-- 1 root root 0 2007-09-26 12:56 /proc/scsi/scsi

 

 

Multipath and iscsiadm commands correctly show the devices.

 

# multipath -l

50002ac002110044dm-509 3PARdata,VV

[size=256M][features=1 queue_if_no_path][hwhandler=0]

\_ round-robin 0 [prio=0][active]

 \_ 2:0:0:508 sdsq  135:480  [active][undef]

350002ac001920044dm-382 3PARdata,VV

[size=256M][features=1 queue_if_no_path][hwhandler=0]

 

 

# iscsiadm -m  session -P 3 | more

iSCSI Transport Class version 2.0-865

iscsiadm version 2.0-865

Target: iqn.2000-05.com.3pardata:22310002ac000044

        Current Portal: 10.0.0.100:3260,231

        Persistent Portal: 10.0.0.100:3260,231

                **********

                Interface:

                **********

                Iface Name: default

                Iface Transport: tcp

                Iface IPaddress: 10.0.0.10

                Iface HWaddress: default

                Iface Netdev: default

                SID: 1

                iSCSI Connection State: LOGGED IN

                Internal iscsid Session State: NO CHANGE

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

                Negotiated iSCSI params:

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

                HeaderDigest: None

                DataDigest: None

                MaxRecvDataSegmentLength: 131072

                MaxXmitDataSegmentLength: 65536

                FirstBurstLength: 65536

                MaxBurstLength: 262144

                ImmediateData: No

                InitialR2T: Yes

                MaxOutstandingR2T: 1

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

                Attached SCSI devices:

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

                Host Number: 2  State: running

                scsi2 Channel 00 Id 0 Lun: 0

                        Attached scsi disk sdb          State: running

                scsi2 Channel 00 Id 0 Lun: 1

                        Attached scsi disk sdd          State: running

                scsi2 Channel 00 Id 0 Lun: 2

                        Attached scsi disk sde          State: running

 


Reply to: