Menu

#836 Storage wizard crashing

open
nobody
5
2013-12-06
2011-01-20
Lorio
No

OS Version: FreeBSD 8.2-PRERELEASE
Platform: Intel(R) Atom(TM) CPU D510 @ 1.66GHz / Supermicro MBD-X7SPA-HF-0
FreeNAS Build: FreeNAS-8r5742-i386

The last three released beta versions showed the same behaviour.

When clicking the "Storage Wizard" Button to add a volume the following error occured:

Environment:

Request Method: GET
Request URL: http://192.168.1.247/storage/wizard/
Django Version: 1.2.3
Python Version: 2.6.6
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'south',
'dojango',
'account',
'system',
'network',
'storage',
'sharing',
'services']

Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'dojango.middleware.DojoCollector')

Traceback:
File "/usr/local/lib/python2.6/site-packages/django/core/handlers/base.py" in get_response
100. response = callback(request, *callback_args, callback_kwargs)
File "/usr/local/www/freenasUI/storage/forms.py" in VolumeWizard_wrapper
212. return VolumeWizard([VolumeWizard_VolumeNameTypeForm, VolumeWizard_DiskGroupTypeForm, VolumeFinalizeForm], error_redirect="/storage/")(request, *args,
kwargs)
File "/usr/local/www/freenasUI/contrib/ext_formwizard.py" in call
97. form = self.get_form(current_step)
File "/usr/local/www/freenasUI/contrib/ext_formwizard.py" in get_form
53. return self.form_liststep
File "/usr/local/www/freenasUI/storage/forms.py" in init
49. self.fields['volume_disks'].choices = self._populate_disk_choices()
File "/usr/local/www/freenasUI/storage/forms.py" in _populate_disk_choices
62. devname, capacity = disk.split('\t')

Exception Type: ValueError at /storage/wizard/
Exception Value: need more than 1 value to unpack

Discussion

  • Lorio

    Lorio - 2011-02-14

    Update: After upating the BIOS of Supermicro MBD-X7SPA-HF-0 to C31 the problem of scanning the sata disks is gone (If you have similar problems just boot FreeNAS with the reporting option to see proper error messages. Often a device is not found and the web gui crashes without proper hint what really happend).

    Still unclear if a bug in the bios was causing that problem or the reset to the default settings helped fix it.

     
  • Lorio

    Lorio - 2011-02-15

    I could pinpoint the error to the memory card reader.

    FreeNAS/FreeBSD is trying to open the memory card reader, when the medium is not present / it didn't worked with a inserted medium either.

    "Opened disk da2 -> 6"
    (da2:umass-sim1:1:0:1): SCSI status error
    READ CAPACITY(10). CDB: 25 20 0 0 0 0 0 0 0 0
    CAM Status : SCSI Status Error
    SCSI status: Check Condition
    SCSI sene: NOT READY asc:3a,0 (Medium not present)
    Error 6 , Unretryable error

    When deconnecting the memory card reader from the mainboard the wizard will show all attached harddisks.

     

Log in to post a comment.