ell. I've no idea whether it might be relevant,
but I have option DEVICE_POLLING turned on; toggling
sysctl kern.polling.enable doesn't seem to make any
difference.
The machine is a very uninteresting single-CPU Athlon box,
clocked at 1.6GHz, several years old. Here's its dmesg outp
and check that your hw is
fully functional (and detected).
To check if it is your mistake or another bug in libdevinfo, you may
want to run the associated tool (man -k devinfo).
Hope this helps.
On 10/25/05, Daniel Rudy <[EMAIL PROTECTED]> wrote:
> At about the time of 10/24/2005 7:28
e not found: No such file or directory
> root ptr: 0x0
> Fatal: Unable to get device information
>
>
> Now I have made sure that I have called devinfo_free() during the first
> call before calling d
bsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
--
victor cruceru
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Well, I suppose that execve is successful. if not you should call
_exit() instead of exit() in the child process (you should not return
from e_x_e_c if the exec fails)
Also your application should not ignore SIGCHLD.
See man vfork and especially man wait.
victor cruceru
On 9/8/05, erkan kolemen
Try to replace vfrork with fork and check if you'll get the same behavior.
victor cruceru
On 9/8/05, erkan kolemen <[EMAIL PROTECTED]> wrote:
> Following code fails. I debugged it and saw that: it
> produces "No child processes" error while wait().
>
> is it po
Also the 3rd argument for accept must be positive.
See man accept.
victor cruceru.
On 9/6/05, victor cruceru <[EMAIL PROTECTED]> wrote:
> Did you call bind() and especially listen() before accept()?
> victor cruceru
>
>
> On 9/6/05, erkan kolemen <[EMAIL PROTECTED]>
Did you call bind() and especially listen() before accept()?
victor cruceru
On 9/6/05, erkan kolemen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> In a daemon loop, i am using accept() to accept
> incoming connections.
>
> while(1) {
> if((fd = accept(socketd, (struct so
See:
man 3 devinfo
and
man 3 devstat
Hope this helps,
victor cruceru
On 8/24/05, kylin <[EMAIL PROTECTED]> wrote:
> >I'm developping a tool running in userland (root) (a command line
> >tools) for enumerating all devices present on the machine :
>
> >This t
TA150
While the SiS 964 SATA150 controller is also detected by the 6.0 BETA2
install, the ad4 HDD is not detected.
Any help is greatly appreciated.
Thanks,
victor cruceru
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/ma
And errno (from a failed open) is ?
On 8/21/05, Divacky Roman <[EMAIL PROTECTED]> wrote:
>
> hi
>
> I wrote this:
> witten /tmp# cat x.c
> #include
> #include
> #include
>
> #define MAX 10
> main()
> {
> int i = MAX;
>
> for (; i>0; i--) {
> if (open("/dev/null", O_RDONLY) == -1) {
See below.
On 8/1/05, Bernd Walter <[EMAIL PROTECTED]> wrote:
>
> On Mon, Aug 01, 2005 at 10:04:25PM +0300, victor cruceru wrote:
> > In conclusion:
> > any difference between open with O_NONBLOCK and open without it for this
> > kind of device
.
Thanks
victor cruceru
On 8/1/05, Bernd Walter <[EMAIL PROTECTED]> wrote:
>
> On Mon, Aug 01, 2005 at 09:41:30PM +0300, victor cruceru wrote:
> > Well, if you are doing this from a daemon (multiplexing a lot of events)
> > which is blocked in this open syscall, even 1
f there is
something like TEST_UNIT_READY (for both ATAPI and SCSI) which can be issued
on a control device (i.e. /dev/ata)
BR,
Victor Cruceru
On 8/1/05, Bernd Walter <[EMAIL PROTECTED]> wrote:
>
> On Mon, Aug 01, 2005 at 04:33:23PM +0300, victor cruceru wrote:
> > Hi Marc,
>
Olzheim <[EMAIL PROTECTED]> wrote:
>
> On Mon, Aug 01, 2005 at 02:42:21PM +0300, victor cruceru wrote:
> > Hi all,
> > I'm just wondering if it's OK for an open syscall on such a device (i.e.
> > /dev/acd0 or /dev/da1 with a CF reader attached) to block til
Hi all,
I'm just wondering if it's OK for an open syscall on such a device (i.e.
/dev/acd0 or /dev/da1 with a CF reader attached) to block till the media is
ready or a timeout occurs.
Thanks,
Victor
___
freebsd-hackers@freebsd.org mailing list
http://li
Hi all,
Could you please give more details?
Because the SNMP agent must query the O/S (FreeBSD in this case) for these
stats.
Thanks,
Victor Crcueru
On 7/18/05, Mathieu CHATEAU <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> you can trough snmp & cacti for example.
>
> cheers,
>
> Friday, July 1
17 matches
Mail list logo