Re: Problem in scull
- From: "hide1713@xxxxxxxxx" <hide1713@xxxxxxxxx>
- Date: 21 Sep 2006 07:26:19 -0700
miline wrote:
hide1713@xxxxxxxxx wrote:
HI everyone
I'm reading ldd and trying to use scull. when i try "cat somefile >
/dev/scull0" ,it told me "write error: No space left on device",I'm not
sure if i must allocate space for scull first. Anyone please tell me
why?
In scull_write try putting some printKs and see where you are getting
returned with errors.
scull write is assigned in scull_fops in main.c. Is your somefile size
exceeding SCULL_P_BUFFER?
my SCULL_P_BUFFER is 4000 (i think it's big enough) and
my output is " ls -l>scull2
ls: write error: No space left on device"
" ls -l|/dev/scull
bash: /dev/scull: Permission denied"
lrwxrwxrwx 1 root root 6 Sep 21 21:59 scull -> scull0
'crw-rw-r-- 1 root root 253, 0 Sep 21 21:59 scull0
I'm using x86 fedora core 5
.
- References:
- Problem in scull
- From: hide1713@xxxxxxxxx
- Re: Problem in scull
- From: miline
- Problem in scull
- Prev by Date: Re: link a serial char and network driver
- Next by Date: Core Dump If i do not set "LANG = C & LC_MESSAGES=C" as env var
- Previous by thread: Re: Problem in scull
- Next by thread: link a serial char and network driver
- Index(es):
Relevant Pages
|