|
|
Subject: [minix3] open(),write() calls not working inside system call handler - msg#00283
List: minix3
hi,
I am implementing a system call xyz(int,int) which will save the two
integer arguments in a file.So,in the handler do_xyz() I need to call
open() , read(),close() system calls.But when I am calling them it is
going into infinite loop.
> From do_xyz() ,I am able to call printf() ,but why not open(),close()
etc ? Please someone reply
--
You received this message because you are subscribed to the Google Groups
"minix3" group.
To post to this group, send email to minix3@xxxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
minix3+unsubscribe@xxxxxxxxxxxxxxxxx
For more options, visit this group at http://groups.google.com/group/minix3?hl=.
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
[minix3] Installing on Fujitsu Siemens Amilo Pi 2530 (laptop)
Hi all!
I've been trying to install Minix3 on my laptop, but it fails to
detect my HDD.
This is probably caused by the fact that I have an AHCI chipset.
The problem is I cannot change any setting in the BIOS, except for the
date/time and some passwords.
The laptop I'm using is the one sold cheaply to students two years
ago, at the VU (Vrije Universiteit Amsterdam).
The reason I'm trying is the recent release of the r8169 driver, which
should be compatible with this laptop.
Has anybody had any luck with a situation like this, or any ideas of
how I could get Minix3 installed?
Regards,
Sernin van de Krol
--
You received this message because you are subscribed to the Google Groups
"minix3" group.
To post to this group, send email to minix3@xxxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
minix3+unsubscribe@xxxxxxxxxxxxxxxxx
For more options, visit this group at http://groups.google.com/group/minix3?hl=.
Next Message by Date:
click to view message preview
[minix3] Re: open(),write() calls not working inside system call handler
Hi,
Using those calls from a system call is difficult, since you are
likely to deadlock when calling one server from another without
thinking it through properly (and even worse, calling the same
server). However, it sounds like there is no need for a call like this
to be implemented in a server. Why not do it as a library routine?
With kind regards,
Erik
On 21 nov, 13:38, Prasenjit Karmakar <pkarmak...@xxxxxxxxx> wrote:
> hi,
> I am implementing a system call xyz(int,int) which will save the two
> integer arguments in a file.So,in the handler do_xyz() I need to call
> open() , read(),close() system calls.But when I am calling them it is
> going into infinite loop.
> From do_xyz() ,I am able to call printf() ,but why not open(),close()
> etc ? Please someone reply
--
You received this message because you are subscribed to the Google Groups
"minix3" group.
To post to this group, send email to minix3@xxxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
minix3+unsubscribe@xxxxxxxxxxxxxxxxx
For more options, visit this group at http://groups.google.com/group/minix3?hl=.
Previous Message by Thread:
click to view message preview
[minix3] Installing on Fujitsu Siemens Amilo Pi 2530 (laptop)
Hi all!
I've been trying to install Minix3 on my laptop, but it fails to
detect my HDD.
This is probably caused by the fact that I have an AHCI chipset.
The problem is I cannot change any setting in the BIOS, except for the
date/time and some passwords.
The laptop I'm using is the one sold cheaply to students two years
ago, at the VU (Vrije Universiteit Amsterdam).
The reason I'm trying is the recent release of the r8169 driver, which
should be compatible with this laptop.
Has anybody had any luck with a situation like this, or any ideas of
how I could get Minix3 installed?
Regards,
Sernin van de Krol
--
You received this message because you are subscribed to the Google Groups
"minix3" group.
To post to this group, send email to minix3@xxxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
minix3+unsubscribe@xxxxxxxxxxxxxxxxx
For more options, visit this group at http://groups.google.com/group/minix3?hl=.
Next Message by Thread:
click to view message preview
[minix3] Re: open(),write() calls not working inside system call handler
Hi,
Using those calls from a system call is difficult, since you are
likely to deadlock when calling one server from another without
thinking it through properly (and even worse, calling the same
server). However, it sounds like there is no need for a call like this
to be implemented in a server. Why not do it as a library routine?
With kind regards,
Erik
On 21 nov, 13:38, Prasenjit Karmakar <pkarmak...@xxxxxxxxx> wrote:
> hi,
> I am implementing a system call xyz(int,int) which will save the two
> integer arguments in a file.So,in the handler do_xyz() I need to call
> open() , read(),close() system calls.But when I am calling them it is
> going into infinite loop.
> From do_xyz() ,I am able to call printf() ,but why not open(),close()
> etc ? Please someone reply
--
You received this message because you are subscribed to the Google Groups
"minix3" group.
To post to this group, send email to minix3@xxxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
minix3+unsubscribe@xxxxxxxxxxxxxxxxx
For more options, visit this group at http://groups.google.com/group/minix3?hl=.
|
|