Sony DSC P73 and umass failed (CBI reset failed, STALLED)

2004-06-22 Thread Manuel Rabade Garcia
Hi everyone, i buy a Sony DSC P73 Digital Camera wich supports USB Normal mode (as a 'standard' storage device), PTP mode and Picture Bridge (for other Sony devices i think). I use FreeBSD 5.2.1 (see dmesg above) and when i connect it the umass fails to detect the storage device and kernel says:

Re: regarding signals...

2004-06-22 Thread Don Lewis
On 22 Jun, pradeep reddy punnam wrote: > Hi, > > i am modifing my ../netinet/ip_input.c code so that kernel can inform a > user process about the arrival of a packet, i want to use signaling > mechanism for this , i know the pid of the process to which the signal > should be send, i am looking

regarding signals...

2004-06-22 Thread pradeep reddy punnam
Hi, i am modifing my ../netinet/ip_input.c code so that kernel can inform a user process about the arrival of a packet, i want to use signaling mechanism for this , i know the pid of the process to which the signal should be send, i am looking for exact function that can help me in sending SI

regarding signaling........

2004-06-22 Thread pradeep reddy punnam
Hi, i am modifing my ../netinet/ip_input.c code so that kernel can inform a user process about the arrival of a packet, i want to use signaling mechanism for this , i know the pid of the process to which the signal should be send, i am looking for exact function that can help me in sending SIG

Re: SPDIF capture device?

2004-06-22 Thread joe mcguckin
RME makes a PCI card that has SPDIF, AES/EBU and TOSLINK i/o. DIGI96/8. Linux drivers for this card are available, so with a little porting effort on someone's part, you'd have a very high quality sound interface for FreeBSD. On 6/21/04 9:32 AM, "Richard Hodges" <[EMAIL PROTECTED]> wrote: >

Re: pthread - fork - execv problem

2004-06-22 Thread Alex Vasylenko
Dan Nelson wrote: libpthread in -current does support pthread_atfork, and I have a patch (below) that adds the same functionality to libc_r and libthr that I need to send-pr. Pointy hat to the original committer for breaking ABI compatibility. http://dan.allantgroup.com/FreeBSD/ A man page to comp

Re: pthread - fork - execv problem

2004-06-22 Thread Dan Nelson
In the last episode (Jun 22), Daniel Eischen said: > > libpthread in -current does support pthread_atfork, and I have a > > patch (below) that adds the same functionality to libc_r and libthr > > that I need to send-pr. Pointy hat to the original committer for > > breaking ABI compatibility. http

Re: pthread - fork - execv problem

2004-06-22 Thread Daniel Eischen
On Tue, 22 Jun 2004, Dan Nelson wrote: > In the last episode (Jun 22), Nikos Ntarmos said: > > On Tue, Jun 22, 2004 at 09:56:33AM -0500, Dan Nelson wrote: > > > It may be an application bug. After a fork both processes are > > > independant. The child should not be able to affect the parent > >

Re: /bin/ls sorting bug?

2004-06-22 Thread John Baldwin
On Monday 21 June 2004 08:48 pm, Greg Black wrote: > On 2004-06-21, Leo Bicknell wrote: > > While I think the particular sort order (current behavior vrs non > > nano patch vrs nano patch) is largely unimportant, I think consistency > > is very important. It's quite common to do things like using

Re: lkm i/o port allocation problems

2004-06-22 Thread John Baldwin
On Friday 18 June 2004 10:30 pm, [EMAIL PROTECTED] wrote: > sorry, i used the wrong email addy to send that email, i've resent it using > the correct one. I believe your problem may be that you are probing PnP BIOS or other PnP ISA devices. You should reject any device that has a PnP HID. For e

Re: pthread - fork - execv problem

2004-06-22 Thread Dan Nelson
In the last episode (Jun 22), Nikos Ntarmos said: > On Tue, Jun 22, 2004 at 09:56:33AM -0500, Dan Nelson wrote: > > It may be an application bug. After a fork both processes are > > independant. The child should not be able to affect the parent > > like this, unless the parent does something like

Re: /bin/ls sorting bug?

2004-06-22 Thread Scott Mitchell
Well, -standards says that POSIX is silent on the subject of ls and nanoseconds, so I guess we can do whatever we like... I was going to just commit my original patch and be done with it, but David appears to have beaten me to it: http://www.freebsd.org/cgi/cvsweb.cgi/src/bin/ls/cmp.c Anyway, bi

Re: pthread - fork - execv problem

2004-06-22 Thread Dan Nelson
In the last episode (Jun 21), Chris Stenton said: > I am trying to help port over an app thats posix threaded. One thread > uses fork, dup2 and execv to start a child programme in this case an > mp3 player. However, under FreeBSD-5.2.1, the execv causes all the > threads in the parent process to be

Re: Sticky/sgid/suid bits safe on regular files?

2004-06-22 Thread Dan Strick
Daniel O'Connor wrote: >> > I think he wanted to use sticky/sgid/suid because they get removed > when the file is changed. >> and Dag-Erling S?rgrav responded: >> > no they don't. >> Actually, they do. (just the sgid/suid bits) I believe this was an ancient BSD security enhancement in case some

Re: /bin/ls sorting bug?

2004-06-22 Thread Oliver Fromme
Greg Black <[EMAIL PROTECTED]> wrote: > On 2004-06-21, Leo Bicknell wrote: > > While I think the particular sort order (current behavior vrs non > > nano patch vrs nano patch) is largely unimportant, I think consistency > > is very important. It's quite common to do things like using diff > >

Re: Sticky/sgid/suid bits safe on regular files?

2004-06-22 Thread Kurt J. Lidl
On Fri, Jun 18, 2004 at 01:41:05AM +0200, Cyrille Lefevre wrote: > "Clifton Royston" <[EMAIL PROTECTED]> wrote: > [snip] > > Can anybody confirm for me that the suid, sgid, and sticky bit are in > > fact no-ops for FreeBSD on regular non-executable files, as it appears > > they should be? > > ho

Re: /bin/ls sorting bug?

2004-06-22 Thread Oliver Fromme
Valentin Nechayev <[EMAIL PROTECTED]> wrote: > Sun, Jun 20, 2004 at 02:34:04, andrit wrote about "Re: /bin/ls sorting bug?": > > But there is nice sort command and power of unix. > > Don't you remember the initial UNIX concept to make miracles by small > > things fired together? :) > > Wel

pthread - fork - execv problem

2004-06-22 Thread Chris Stenton
I am trying to help port over an app thats posix threaded. One thread uses fork,dup2 and execv to start a child programme in this case an mp3 player. However, under FreeBSD-5.2.1, the execv causes all the threads in the parent process to be blocked until the child process returns. Is there a mechan

Re: /bin/ls sorting bug?

2004-06-22 Thread Paul Robinson
On Mon, Jun 21, 2004 at 10:39:53PM -0700, David O'Brien wrote: > Let me introduce you to that key on your keyboard between the 'S' and 'F' > keys. Its the 'D' key. Amoung its other good uses (like being used > twice in "David") is that most MUA's use it to delete emails and threads > you don't c

Re: Sticky/sgid/suid bits safe on regular files?

2004-06-22 Thread Daniel O'Connor
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 22 Jun 2004 17:38, Dag-Erling Smørgrav wrote: > "Daniel O'Connor" <[EMAIL PROTECTED]> writes: > > I think he wanted to use sticky/sgid/suid because they get removed when > > the file is changed > > no they don't. Oops, guess I'm used to using

Re: Sticky/sgid/suid bits safe on regular files?

2004-06-22 Thread Dag-Erling Smørgrav
"Daniel O'Connor" <[EMAIL PROTECTED]> writes: > I think he wanted to use sticky/sgid/suid because they get removed when the > file is changed no they don't. > so the application can go back and see if they've been > changed. That doesn't happen to attributes. > > Also, I don't thi

Re: Sticky/sgid/suid bits safe on regular files?

2004-06-22 Thread Daniel O'Connor
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 22 Jun 2004 16:45, Dag-Erling Smørgrav wrote: > Clifton Royston <[EMAIL PROTECTED]> writes: > > I need to add a feature to an application where it can keep tabs on > > whether one specific action has ever been taken on any given file, one > > o

Re: Sticky/sgid/suid bits safe on regular files?

2004-06-22 Thread Dag-Erling Smørgrav
Clifton Royston <[EMAIL PROTECTED]> writes: > I need to add a feature to an application where it can keep tabs on > whether one specific action has ever been taken on any given file, one > of possibly hundreds of thousands of a dynamically changing file set. man extattr DES -- Dag-Erling Smørgra