No space left on device

This forum covers PCAN-Linux and Linux development issues concerning our products
Post Reply
hukka
Posts: 2
Joined: Fri 16. Dec 2016, 12:37

No space left on device

Post by hukka » Fri 31. Mar 2017, 14:05

Hello!

I'm trying to get to work the PEAK interface IPEH-004061.
The problem is that I can't open a CAN 2.0 channel. I tried it several ways:

int fd = pcanfd_open("/dev/pcan32", OFD_BITRATE, 500000);
int fd = pcanfd_open("/dev/pcan33", OFD_BITRATE, 500000);
int fd = pcanfd_open("/dev/pcan32", PCANFD_INIT_LISTEN_ONLY);
int fd = pcanfd_open("/dev/pcan33", PCANFD_INIT_FD);

Each time it gives me "(-28): No space left on device" error.
I notices that I got the same error when I just do 'cat /dev/pcan32' or 'cat /dev/pcan33'

What's wrong?

My environment details:
==================================================
Driver: 8.2.0.
OS: Ubuntu 16.04 on Oracle VirtualBox using dynamic partitions.
==================================================
lspcan -T -t -i
dev name port irq clock btrs bus
[PCAN-USB Pro FD 0]
|_ pcanusbfd32 CAN1 - 80MHz 500k+2M CLOSED
|_ pcanusbfd33 CAN2 - 80MHz 500k+2M CLOSED
==================================================
df -h
Filesystem Size Used Avail Use% Mounted on
udev 981M 0 981M 0% /dev
tmpfs 201M 3,6M 197M 2% /run
/dev/sda1 2,0T 16G 1,9T 1% /
tmpfs 1001M 164K 1000M 1% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 1001M 0 1001M 0% /sys/fs/cgroup
TEMP 298G 260G 39G 88% /media/sf_TEMP
tmpfs 201M 44K 200M 1% /run/user/1000

M.Maidhof
Support
Support
Posts: 1753
Joined: Wed 22. Sep 2010, 14:00

Re: No space left on device

Post by M.Maidhof » Mon 3. Apr 2017, 11:26

Hi,

this is a VirtualBox problem. Please install the "extension pack" on your VM client or use a native Linux system to prevent such problems.

regards

Michael

Post Reply