today I am releasing usb-storage.ko, the driver to be able to mount a USB disk connected to the USB port of the Conceptronic CH3MNAS

copy the to the disk for instance directly to Volume_1

unpak under telnet/ssh

47 thoughts on “Conceptronic CH3MNAS & USB-STORAGE.KO

  1. Hi Dennis,

    will this file also work on the CH3SNAS? Currently many folks are using my tutorials, they need to download the correct usb-storage.ko for their system. If this doesn’t work, i need to add a section on this in my tutorials…and if this is needed, i also need to add a detection if this is a ch3snas or a ch3mnas, do you know of any unambiguous tag in the software of the devices to accomplish that?

    Thanks in advance!
    Best Regards,

  2. WeirJack says:

    Dennis GREAT WORK, First pulling me off making me believe no usb-storage.ko wil ever come and now this. So i went out and bought myself a DNS-323 :) well 2 always will come in handy
    Thnx and Chapeau

    Regards Weir

  3. WeirJack says:


    just found out that finally a new firmware has been released v. 1.01

    With improvment: System flashmemory improved.

    Wil fun_plug and the usb-storage still work with this new FW ?

  4. yes, that will work, the fw upgrade is very very very little cause it only fixes some addressing between 2 different flash chips brands.

  5. WeirJack says:

    Just tested the usb-storage.ko and it works like a charme :).
    So switching back to my CH3MNAS (instead of my yesterday finished fully configured DNS) because just like with you the standby leds are very important to me.
    Thnx again

  6. WeirJack says:

    One lasty final question for this night (sory to bother you like that)
    Do u know if it is possible to swap disks between the CH3SNAS (of in my cage the DNS-323) and the CH3MNAS.
    I’ve been busy for three days now copying 800gigs of data to the DNS and now when the job is finished the USB-storage.ko fir the CH3MNAS comes out. But i want to prevent copying all that data again.

    Thnax in advance

    With kind regards WeirJack

  7. it’s possible to swap, but if you keep your content is something else
    as long as you do not get the question to reformat your drives there is an option, but I cannot guarantee it.

  8. AJ says:

    Great thanx Dennis!

    WeirJack I just did the same thing with my fingers crossed, and it worked!
    Saved me a lot of work!

    Just 1 noobie question, do you have thing on the USB stick?
    Or just the NZB folder?

  9. George says:


    I’am totally new with this ch3mnas server and linux.
    I studied last 2 day very hard but i still have a problem
    Yesterday i installed the funpack and today the usb-storage.ko
    But I get the message “did not find sdc1 in proc partitions”

    How can I solve this?
    And how can I approuch the usb-hdd to copy files from the usb disk to the internal disk
    Here is my logfile

    Thanks george

    root@CH3MNAS1-5TB:~# sh start
    Waiting for sdc1 (up to 60 seconds) …
    Failed. Did not find sdc1 in /proc/partitions.
    root@CH3MNAS1-5TB:~# dmesg

    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    usb usb1: configuration #1 chosen from 1 choice

    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected

    usb usb2: configuration #1 chosen from 1 choice
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected

    usb 1-1: new high speed USB device using ehci_marvell and address 2
    usb 1-1: configuration #1 chosen from 1 choice

    usbcore: registered new interface driver usblp
    drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver

    Initializing USB Mass Storage driver…
    scsi2 : SCSI emulation for USB Mass Storage devices
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    usb-storage: device found at 2
    usb-storage: waiting for device to settle before scanning
    scsi 2:0:0:0: Direct-Access SAMSUNG HD501LJ PQ: 0 ANSI: 2
    sd 2:0:0:0: [sdb] 976773168 512-byte hardware sectors (500108 MB)
    sd 2:0:0:0: [sdb] Write Protect is off
    sd 2:0:0:0: [sdb] Mode Sense: 38 00 00 00
    sd 2:0:0:0: [sdb] Assuming drive cache: write through
    sd 2:0:0:0: [sdb] 976773168 512-byte hardware sectors (500108 MB)
    sd 2:0:0:0: [sdb] Write Protect is off
    sd 2:0:0:0: [sdb] Mode Sense: 38 00 00 00
    sd 2:0:0:0: [sdb] Assuming drive cache: write through
    sdb: sdb1
    sd 2:0:0:0: [sdb] Attached SCSI disk
    sd 2:0:0:0: Attached scsi generic sg1 type 0
    usb-storage: device scan complete

  10. WeirJack says:

    Wel Great AJ,
    and thanks 4 the update

    i will give it try. And right now i only have the nzb on USB stick but i am planning to have the complete fun plug installation on USB stick.
    But with only the NZB dir on USB stick i see my drives in “stand by” state most of the time :)
    But only with the webinteface closed, onced opened the HD will not go into stand by due to the web refresh

  11. WeirJack says:

    Just consider the CH3SNAS and the DNS-323 as the same what wil work for the one will work for the other. So the usb-storage.ko driver for the DNS-323 will work with the CH3SNAS.
    @ AJ & Dennis. :IT WORKED perfectly. First reformated the old CH3MNAS drives to get rid of the RAID-1 config.
    And just bluntley placed the drives from my DNS into it . Only thing to remember is to place disk-1 in the disk1 bay. Booted and worked with my old fun_plug config. even my chares on disk2 stil worked.
    Changed to the other usb-storage and of course the other newsbin since everything now works on a CH3MNAS.
    Worked like a charme no probs what so ever :)

  12. WeirJack says:

    Dennis talked with a colleague of you today at Actebis fest. Nice to see what Conceptronic is going to present the next few months.

  13. Pascal says:

    When you say:
    “today I am releasing usb-storage.ko, the driver to be able to mount a USB disk connected to the USB port of the Conceptronic CH3MNAS”

    Does this also mean that I can connect a extra USB Hard Drive to the CH3(M)(S)NAS
    or just a usb disk ? In other words, what is your definition of “USB disk”?

  14. Pascal says:

    Okay, I got to the point where the USB disk got mounted using the command:
    “start # sh start”. I did not get any error when running this command.

    But can someone explain how a can make this mounted disk visible through Samba shares ?
    Also the disk is NTFS partioned, do I need to do additional stuff to make it work ?

    Thank you.

  15. Pascal says:

    Anyone who can comment on my previous post?
    How do I make the mounted disk visible through Samba ?
    Thank you.

  16. @pascal
    just create a folder in /mnt/HD_a2/usb-disk
    than mount the usb disk to that point

    and the usb-disk is accessible thorugh your windows machine

  17. Pascal says:

    Ok, I am very close.
    I am able to mount it and access it through windows but I don’t have write rights yet.
    I have formated my external drive to ext2 filesystem using Partition Manager 10.
    In the script I found the following mount option which was put in commentary:

    usbdisk_mount_options=”-t auto -o umask=0″

    When I run the following command:
    mount -t auto -o umask=0 /dev/sdc1 /mnt/HD_a2/usb-drive

    I get the following error:
    mounting /dev/sdc1 on /mnt/HD_a2/usb-drive failed: Invalid argument

    Also tried:
    mount -t ext2 -o umask=0 /dev/sdc1 /mnt/HD_a2/usb-drive
    but same error message.

    What am i doing wrong. I read on several forums that you need to give the “-o umask=o” command to be able to have write rights under Windows.

    I also installed a file system driver under windows which lets me see ext2 partitions and access them.

    Please some extra help.

  18. Pascal says:

    Hi Dennis,
    I have already been on this page but it does not answer the problem I have. I just want to mount the disk and be able to write to the disk from Windows.
    How do I do that ?
    The command
    “mount -t auto -o umask=0 /dev/sdc1 /mnt/HD_a2/usb-drive”
    does not work. But why is not clear.

    Does anyone have any suggestions?

  19. Erik says:


    I ‘ve got the same problem as Dennis has.
    I am able to mount the USB stick and write to it in a Telenet session.
    But I am not allowed to write anything to it from Windows.

    I tried partionning and formating the stick as an etx2 and then make a (writable) SMB share through the web interface from the CH3MNAS. But no succes I still cannot write to the USB stick. I have checked the samba.conf an I can see an entry was created for the USB stick.
    I afraid I am stuck now, so any help would be appriated.
    Oh, to all helping out here … lots of thanks!

  20. Pascal says:

    Thanks Dennis,
    That did the trick. Got an extra 500GB now.

    Another question. It would be very nice if the connected USB hard drive would go into spin down after a variable period. Do you think this is possible ?


  21. Mauws says:

    Hoi Dennis,

    Tot zover lopen je tutorials goed door met m’n nieuwe ch3mnas. Tot de USB dan, zowel op sdb1 en sdc1 blijf ik de melding houden “did not find sdc1 in proc partitions”. Heeft het zin om met een andere usb stick te proberen, of iemand een andere oplossing? Ps. nzbget werkte pas na een speciale ch3mnas versie, wellicht goed als extra remark bij je artikel? Thnx

  22. erik says:

    Hoi Mauws,

    Ik ben niet echt een Linux expert maar probeer eens met het volgende commando in je dmesg log te kijken.

    dmesg |less

    je kunt dan kijken of, en zo ja op welk device je USB stick wordt “geladen”.

    Mvg Erik

  23. Mauws says:

    Hoi allen, nog even terugkoppeling op het niet werken van de usb. In eerste instantie werd de el cheopo stick niet herkend. Nu een 8Gb stick erin en deze wordt wel herkend.
    Niet helemaal zonder problemen; Ik heb de stick als ext3 geformateerd alleen levert dit na intensief gebruik allerlei block errors op. Hier is op google veel meer over te vinden, het komt dus meer voor :(
    Nu geformateerd als vfat en dit blijft wel goed gaan. Bizar maar ‘t blijft nu wel werken.

  24. jeroen says:


    wil graag mijn ch3mnas aan mijn pc hangen via usb zodat ik snller bestanden van de ch3mnas af kan halen werkt dit ook hiermee of kan dit helemaal niet???

    Do nu nm alles draadloos maar dat gaat zoooooooooooo langzaam zeker als je 40gb over wil zetten (uurtje of 20!)

  25. Erik says:

    Hallo Jeroen,

    Ik weet eigenlijk niet of je de ch3mnas direct via de USB port aan je PC kunt hangen. Maar wat je ook zou kunnen doen is de CH3Mnas via een crosslink netwerk kabel op je PC aansluiten. 40Gb is dan zo over gezet zeker wanneer je PC of laptop ook over een 1Gb netwerk aansluiting beschikt. Heb je een wat modernere laptop dan heb je waarschijnlijk niet eens een crosslink netwerk kabel nodig maar dan zal de bijgeleverde \”rechtdoor\” netwerk kabel ook werken. De netwerk aansluitingen zoeken dan onderling wel uit hoe ze aan worden gesloten.

    Met vriendelijke groet, Erik

  26. AJ says:

    My CH3MNAS still spins up every 30min :(
    I’ve put the NZB and NZBget logs and funplug logs in sdc1.

    Weird thing is, that it happens on the full and half hour. Like: 10:00, 10:30, 11:00 etc.

    Anyone got a idea where I have to look??

  27. Patrick says:

    Great tutorial, just a quick addition. Make sure your format the USB disk to EXT2 so you can adequately use it. I left in on fat32 and when I tried to use it as the nzbdir (for spindown of HD’s) I either did not have the right or it gave me an access problem. After formatting it to EXT2 everything worked like a charm!

    Thanks for your website, it helped me very much and am now a happy CH3MNAS user!

  28. whizzywhig says:

    hi Dennis,

    I’m in trouble here :) similar to Dennis’

    with the latest firmware (not tried the previous ones), i’m unable to mount ntfs volumes (since I have several ntfs-formatted rather large external drives, it would be VERY useful)

    -t auto
    Mounting /dev/sdc1 on /mnt/HD_a2/sdc1
    mount: mounting /dev/sdc1 on /mnt/HD_a2/sdc1 failed: Invalid argument

    -t ntfs
    Mounting /dev/sdc1 on /mnt/HD_a2/sdc1
    mount: mounting /dev/sdc1 on /mnt/HD_a2/sdc1 failed: No such device

    is my suspect about ntfs not being supported wrong?

    I tried to load a ntfs.ko for the dns-323/ch3snas but of course it doesn’t work (bad format)

    do you have a cross-compiled ntfs/ntfs3g module for the MNAS ready to go with your usb-storage, by any chance? :-)

  29. I am not supporting any Conceptronic devices anymore as i have no access to any info after I was forced to find somewhere else another job.

    Maybe Fonz / Uli can create such .ko file

  30. Can somebody help me?
    After the command “sh start” I get the following Error:

    /mnt/HD_a2 # sh start
    : not line 2:
    : not line 6:
    : not line 8:
    : not line 12:
    : not line 15:
    : not line 20:
    : not line 23:
    : not line 27:
    : not line 29: {
    : not line 32: line 81: syntax error: end of file unexpected (expecting “then”)
    /mnt/HD_a2 #

  31. Marco says:

    Hi, i installed usb-storage.ko at mz ch3mnas with the command:
    insmod usb-storage.ko
    This works fine. even when i connect a USB-thumbdrive to my ch3mnas, it is recognized and i can mount it.
    However, when connecting a multicard-reader, it goes wrong. I get the feeling it has to do with the fact that a multicard-reader uses multiple LUNs. does anyone know how to fix this?

    This is my dmesg:

    Initializing USB Mass Storage driver…
    scsi10 : SCSI emulation for USB Mass Storage devices
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    usb-storage: device found at 7
    usb-storage: waiting for device to settle before scanning
    usb 1-1: reset high speed USB device using ehci_marvell and address 7
    scsi 10:0:0:0: Direct-Access Generic Compact Flash 0.00 PQ: 0 ANSI: 2
    sd 10:0:0:0: [sdc] Attached SCSI removable disk
    sd 10:0:0:0: Attached scsi generic sg2 type 0
    usb-storage: device scan complete

  32. ako673de says:

    I, too, am in search for some kernel modules for the CH3MNAS. Unfortunately all my searches and requests were in vain so far. So I decided to try building them myself. But my first stumbles were not too successful so far. Maybe someone can answer me the following questions to help me up:
    – I guess the toolchain coming with funplug does not match the one used to compile the firmware, right? So: Who knows the toolchain of the firmware?
    – I might need the “make” config file of the original kernel, right? But where can I find it or how can I regenerate it?
    – What else might be necessary, that I haven’t thought of?
    – The above “usb-disk.ko” does work on my CH3MNAS. Maybe all I need is the exact setup used for compiling that one!

    thanx in advance

  33. ako673de says:

    Thanks for the quick response! I just downloaded the source code from your link.

    1) I found the archive “linux-” and the .config file inside, did a “make menuconfig” and activated my desired modules. Worked perfectly – well, after a patch in “scripts/kconfig/Makefile”, because I got an “undefined references to ‘libintl_gettext'” error (see, but that just for reference.

    2) I found two archioves taht might be candidates for the toolchain, both have names starting with “arm-none-linux-gnueabi…”. I tried to “make” with the “…softfloat” version, but got an error “arm-none-linux-gnueabi-gcc: line 3: syntax error: word unexpected (expecting “)”)”. I’m confused! Both archives have more than one folder containg a “gcc”. Can you give me a tip where I need to point my PATH correctly? What else might be necessary to make the toolchain work? BTW: I didn’t find “make” in any of these archives? So obviously my make is still originating from (ucLibc-)funplug. Is that a/the problem?

  34. ako673de says:

    But did I get you wrong? It was you who gave us “usb-disk.ko”, right? So how did you manage to compile that one correctly? If you just could tell/give me your toolchain approach, I’m sure that would be all I need…

  35. No, that would be a guy at the factory with whom I had contact when I was busy with the product development of that device. And no, I do not have active contact as they no longer employ me

  36. ako673de says:

    I just managed to successfully compile “ntfs.ko” and “fuse.ko”! It was simple after all, the clue was that the toolchain expected to be run on a “i686-pc-linux-gnu” host. The files will be hosted by Uli…

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.