Wind River Support Network

HomeDefectsLIN6-8325
Fixed

LIN6-8325 : CLONE - [RCPL] tftp prints 'Disk full or allocation exceeded' when to put empty file

Created: Sep 3, 2014    Updated: Dec 3, 2018
Resolved Date: Sep 4, 2014
Found In Version: 6.0
Fix Version: 6.0.0.12
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

Setup a WRL4.3 target as tftp server, put files from client :
$ ls -l
-rw-r--r-- 1 root root 0 2014-07-09 03:17 file
-rw-r--r-- 1 root root 3 2014-07-09 03:17 file2
$ tftp-hpa server_ip
tftp> 
tftp> put file
Error code 3: Disk full or allocation exceeded
tftp> put file2
tftp> q
on server :
$ ls -l /var/lib/tftpboot
-rw-rw-rw- 1 nobody nobody 0 2014-07-09 03:27 file
-rw-rw-rw- 1 nobody nobody 3 2014-07-09 03:27 file2

Steps to Reproduce

1. build project
    $ configure --enable-board=common_pc_64 --enable-kernel=cgl --enable-rootfs=glibc_cgl
    $ make fs
2. deploy images to target, setup tftp server on target
    # modify /etc/xinetd.d/tftp as
---------------
service tftp
{
	socket_type		= dgram
	protocol		= udp
	wait			= yes
	user			= root
	server			= /usr/sbin/in.tftpd-hpa
	server_args		= -s /var/lib/tftpboot -c
	disable			= no
	per_source		= 11
	cps				= 100 2
	flags			= IPv6
}
------------
     $ /etc/init.d/xinetd restart
     $ chmod 777 /var/lib/tftpboot
    3. put empty file to server
    $ tftp server_ip -c put file

Other Downloads


Live chat
Online