Ticket #1112 (new enhancement)

Opened 8 months ago

Last modified 8 months ago

NDAS packets for Ubuntu 9.04 Jaunty

Reported by: arnaud.faucher Assigned to: hootch
Priority: normal Milestone: 1.1
Component: xplat Version: 1.1-XX
Severity: normal Keywords:
Cc: Kernel Version (Result of "uname -r"): 2.6.28-13-generic
Linux Distribution: Ubuntu cpu/chip: i386
Linux Dist Version: 9.04

Description

Following ticket #1110, here are packets for Ubuntu 9.04 i386. These packets should work for 9.10 too.

In order to install, please refer to HowToBuildDEB#Installpackages.

Don't forget to remove all /usr/src/ndas* files before to install the packages.

Attachments

ndas-modules-src_1.1-24_all.deb (198.6 kB) - added by arnaud.faucher on 07/09/09 05:32:16.
ndasadmin_1.1-24_i386.deb (26.8 kB) - added by arnaud.faucher on 07/09/09 05:33:33.

Change History

07/09/09 05:32:16 changed by arnaud.faucher

  • attachment ndas-modules-src_1.1-24_all.deb added.

07/09/09 05:33:33 changed by arnaud.faucher

  • attachment ndasadmin_1.1-24_i386.deb added.

07/09/09 06:01:14 changed by arnaud.faucher

Refer to #1113 for x86_64 packets.

(follow-up: ↓ 3 ) 07/14/09 05:17:29 changed by wwiki

Hello , I test them without patch . But I can't have a slot.

cat /proc/ndas/devs Name ID Key Serial Ver Status Slots VERBATIM 6RFN0DHKQX524A4***** Yes 000006801032898 N/A Offline

dmesg [ 872.990658] ndas: Initializing NDAS driver version 1.1.24 [ 872.991565] ndas: Setting max request size to 64kbytes [ 872.991614] ndas: registering network interface eth0 [ 872.991617] SN|1|sal_netdev_open|/usr/src/modules/ndas/sal/net.c:599|ing name=eth0|modprobe,0:9:32.247,3472:1 [ 872.991629] SN|1|sal_netdev_get_mtu|/usr/src/modules/ndas/sal/net.c:693|MTU=1500 [ 872.991634] |modprobe,0:9:32.247,3484:1 [ 872.991636] ndas: registering network interface eth1 [ 872.991638] SN|1|sal_netdev_open|/usr/src/modules/ndas/sal/net.c:599|ing name=eth1|modprobe,0:9:32.247,3472:1 [ 872.991645] SN|1|sal_netdev_get_mtu|/usr/src/modules/ndas/sal/net.c:693|MTU=1500 [ 872.991650] |modprobe,0:9:32.247,3484:1 [ 872.991652] ndas: registering network interface pan0 [ 872.991654] SN|1|sal_netdev_open|/usr/src/modules/ndas/sal/net.c:599|ing name=pan0|modprobe,0:9:32.247,3472:1 [ 872.991661] SN|1|sal_netdev_get_mtu|/usr/src/modules/ndas/sal/net.c:693|MTU=1500 [ 872.991665] |modprobe,0:9:32.247,3484:1 [ 873.001541] PF|1|init_ndasproc|/usr/src/modules/ndas/block/procfs.c:504|ing|modprobe,0:9:33.0,3532:2 [ 873.001712] ndas: registered ndas device at major number 60 [ 884.008068] BL|1|ndcmd_dev_changed|/usr/src/modules/ndas/block/ctrldev.c:576|ing serial=000006801032898 name=VERBATIM online=0|nd/dpcd1,0:9:44.2,3456:6 [ 884.008093] BL|1|ndcmd_dev_changed|/usr/src/modules/ndas/block/ctrldev.c:587|Device VERBATIM is not healthy|nd/dpcd1,0:9:44.2,3456:6

I install it on ubuntu 9.04 2.6.28-13-generic with ext4.

(in reply to: ↑ 2 ) 07/14/09 07:59:17 changed by arnaud.faucher

Replying to wwiki:

Do you have a /etc/modprobe.d/ndas-core.conf file ? If not, because it seems you are connecting to your NDAS device using eth0, put this line into the /etc/modprobe.d/ndas-core.conf file:

options ndas-core ndas_dev=eth0

(if you're using another network interface, change eth0 for this interface name)

07/14/09 15:21:11 changed by wwiki

Thank you for answer.

I add /etc/modprobe.d/ndas-core.conf with eth0 and eth1 . I restart /etc/init.d/ndas service

sudo ndasadmin register 6RFN0-DHKQX-524A4-DLXCQ-E54T6 -n VERBATIM NDA|1|ndc_register|fail to ioctl=-15|/home/arnaud/ndas-1.1-24/admin/ndasadmin.c:1011

cat /proc/ndas/devs

Name ID Key Serial Ver Status Slots VERBATIM 6RFN0DHKQX524A4***** Yes 000006801032898 N/A Offline

I can't have NetDisk online.

07/14/09 15:27:12 changed by arnaud.faucher

Can you try to put only one line in the /etc/modprobe.d/ndas-core.conf (with the interface you use to connect to the drive).

Are you inside a virtual machine ?

07/15/09 05:49:36 changed by wwiki

Hello,

I tried to put one other line. Nothing good.

I use a switch.

Internet -- Gateway -- switch -- PC1 192.0.168.10 DHCP

-- Netdisk 192.0.168.11 DHCP

After I enable DHCP and NDAS on setup netdisk . I can access in read mode.

Now I look for access in read/write mode.

/etc/fstab /dev/ndas-01032898-0p1 /media/netdisk vfat defaults,user,noauto 0 0

07/15/09 07:08:07 changed by wwiki

To solve it ,

I copy mount option USB KEY. so /etc/fstab

dev/ndas-01032898-0p1 /media/netdisk vfat rw,nosuid,nodev,uhelper=hal,shortname=mixed,uid=1000,utf8,umask=077,flush 0 0

Write mode work for little file. Big file gateway will be overflowed . ( Internet -- Gateway is one Internet Box.

:)

07/18/09 15:04:01 changed by kevinbeard

Thanks so much for this, I haven't been able to use my ndas device for ages. I can confirm it worked on 9.10 with no extra config.


Add/Change #1112 (NDAS packets for Ubuntu 9.04 Jaunty)