Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

Using CIFS to mount a windows share

Altera_Forum
Honored Contributor II
1,380 Views

Hi 

 

I am trying to mount a windows share on uClinux (running on a 1C20 board) using CIFS. Here are the steps I've taken: 

1. Created a directory on my Windows machine and gave full permissions on it to everyone (just to start with). 

2. Defined a new user in my windows machine (called it u). 

3. Made sure no firewall is active. 

4. Issued the following command in uClinux: 

 

mount -t cifs //192.168.12.65/uClinux /mnt/nfs -o user=u 

 

The output from this command is  

 

can't create lock file /etc/mtab~32: Read-only file system (use -n flag to overr 

ide) 

 

So, I took the advice and issued the command with the -n flag this time: 

# mount -t cifs //192.168.12.65/uClinux /mnt/nfs -o user=u -n 

CIFS VFS: Send error in SessSetup = -13 

CIFS VFS: cifs_mount failed w/return code = -13 

mount: block device //192.168.12.65/uClinux is write-protected, mounting read-on 

ly 

CIFS VFS: Send error in SessSetup = -13 

CIFS VFS: cifs_mount failed w/return code = -13 

mount: cannot mount block device //192.168.12.65/uClinux read-only 

 

looking at the messages going back and forth betwen the uClinux board and the pc, I can see that the last message states a STATUS_LOGON_FAILURE (0xc000006d). 

 

Has anyone tried this before ? I know that the readme file says that this is well tested , but I was just hoping for some basic file read capabilities, so that I can develop stuff on my pc and run them from the uClinux board. 

 

Any help will be appreciated. 

 

Nir
0 Kudos
0 Replies
Reply