(9.1.0.1 - Sandstorm (revision 358))
I have a no-name USB enclosure with an old 160GB disk in it. When I tried to attach it via Disks/Management, I would get an "XML Error - invalid character in line xyz" and then the Webgui is dead.
Remedy was to remount /cf as read/write (unmount /cf ; mount -o rw /dev/ada0s1a /cf) and edit the config.xml with vi. vi would display the (invalid) character as "<serial>^_</serial>", while the character would appear as Ctrl-Underscore (ASCII 31, Unit Separator control character). Changing that offending sequence to "<serial/>" would let me successfully reboot and re-use the NAS.
I am sure this is a bug in the USB/ATA enclosure, nonetheless the system should be able to sort such things out.
Suggestion: strip unprintable characters from serial numbers before applying it to the config file.
I think it is a bug, therefore I filed it there, too.
This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
Nasty bug with invalid serial number
- daoyama
- Developer

- Posts: 394
- Joined: 25 Aug 2012 09:28
- Location: Japan
- Status: Offline
Re: Nasty bug with invalid serial number
Thank you for reporting.
I didn't think broken S/N case.
I didn't think broken S/N case.
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1
-
tictactux
- Status: Offline
Re: Nasty bug with invalid serial number
I can confirm that the bug is fixed (or has been worked around sufficiently) in 9.1.0.1.394. Serial number now shows (correctly) as "n/a".