Re: OSError: [Errno 22] Invalid argument: '/sys/kernel/config/target/qla2xxx/<WWN>

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

 



THANK YOU!  I don't know how I missed that line in the instructions,
but the error lead me to think it might be something with my system
(especially considering the very limited amount of information
available online).  My device is now in target mode.

I have another problem now though, not sure if I need to submit a new
E-mail to the list or not (for tracking), let me know if I do.

The new problem: After rebuilding my initramfs and rebooting, I found
that roughly every 30 seconds the server would completely freeze for
about 30 seconds, but then go back to responding.  This happens from
SSH and the local console, and no matter what I'm doing.  Strangely a
continuous ping to the server never drops a packet or has any increase
response time. I tried using top to see if there was something causing
heavy CPU/Memory/IO but from what I could tell (top stops updating
during freezes).  I checked /var/log/messages but there was nothing
pertaining to the problem.

The one big thing that concerns me is the fact that I am NOT using a
"supported" HBA, my HBA is a QLogic QLA2362.  I was curious whether
there was a reason why you guys say that only the 24xx+ cards are
compatible, were there issues with the older cards or were they just
not tested?

My systems hardware:
OS: Ubuntu 12.10 up to date as of a week ago...
Motherboard: Arima NM461 with latest official BIOS
CPUs: 2x Opteron 2214HE
HBA: QLogic QLA2362 (PCI-X, not PCI-E)
RAID: LSI 8888ELP
RAM: 8x 1GB Micron PC5300 Reg

Thanks again,
Dan

On Thu, Sep 13, 2012 at 4:01 PM, Nicholas A. Bellinger
<nab@xxxxxxxxxxxxxxx> wrote:
> On Mon, 2012-09-10 at 13:05 -0400, Daniel Lane wrote:
>> Hello, I am having the same problem reported here (with any
>> resolution) http://www.spinics.net/lists/target-devel/msg02618.html
>> and https://bugs.launchpad.net/ubuntu/+source/targetcli/+bug/1040404
>>
>
> Hi Daniel,
>
> The mainline version of qla2xxx by default runs in initiator mode
> enabled only.  In order to enable qla2xxx to run in target mode, you'll
> need to follow the instructions from the wiki here:
>
> http://linux-iscsi.org/wiki/Fibre_Channel#Enable_target_mode
>
> --nab
>
>> My specific details:
>>
>> Running Ubuntu 12.10 (started on 12.04) and using kernel 3.5.0-14
>> (although I've tried several previous kernels with the same results)
>> Hardware: Dual dual-core Opteron 2214HE, Arima NM461 motherboard,
>> QLogic 2312 HBA
>>
>> Steps to reproduce:
>> /qla2xxx create <WWN>
>>
>> Results:
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.7/configshell/shell.py", line 983, in run_interactive
>>     self._cli_loop()
>>   File "/usr/lib/python2.7/configshell/shell.py", line 806, in _cli_loop
>>     self.run_cmdline(cmdline)
>>   File "/usr/lib/python2.7/configshell/shell.py", line 927, in run_cmdline
>>     self._execute_command(path, command, pparams, kparams)
>>   File "/usr/lib/python2.7/configshell/shell.py", line 902, in _execute_command
>>     result = target.execute_command(command, pparams, kparams)
>>   File "/usr/lib/python2.7/targetcli/ui_node.py", line 216, in execute_command
>>     return UINode.execute_command(self, command, pparams, kparams)
>>   File "/usr/lib/python2.7/targetcli/ui_node.py", line 101, in execute_command
>>     pparams, kparams)
>>   File "/usr/lib/python2.7/configshell/node.py", line 1405, in execute_command
>>     result = method(*pparams, **kparams)
>>   File "/usr/lib/python2.7/targetcli/ui_target.py", line 119, in
>> ui_command_create
>>     target = Target(self.rtsnode, wwn, mode='create')
>>   File "/usr/lib/python2.7/rtslib/target.py", line 1176, in __init__
>>     self._create_in_cfs_ine(mode)
>>   File "/usr/lib/python2.7/rtslib/node.py", line 71, in _create_in_cfs_ine
>>     os.mkdir(self.path)
>> OSError: [Errno 22] Invalid argument: '/sys/kernel/config/target/qla2xxx/<WWN>'
>>
>> I also tried to compile from scratch so I could try the latest git,
>> but when I run "make deb" on any of the three components, I get an
>> error that about python not meeting the python 2.6 dependency
>> requirement (12.10 includes python 2.7).
>>
>> This is for a home lab and not that critical, but I'm in a VCP5 class
>> and I really need this working so I can practice at home.
>>
>> Thanks a lot for the help!
>> Dan
>> --
>> To unsubscribe from this list: send the line "unsubscribe target-devel" in
>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux