Subject: RE: New guy with lost of questions
To: 'Hubert Feyrer' <hubert@feyrer.de>
From: Riccardo Carchedi <riccardo@riccy.com>
List: port-cobalt
Date: 04/11/2005 08:36:56
That's the output of ktrace:

   272 ktrace   EMUL  "netbsd"
   272 ktrace   CALL  execve(0x7fffe460,0x7fffe938,0x7fffe948)
   272 ktrace   NAMI  "/sbin/amp"
   272 ktrace   RET   execve -1 errno 2 No such file or directory
   272 ktrace   CALL  execve(0x7fffe460,0x7fffe938,0x7fffe948)
   272 ktrace   NAMI  "/usr/sbin/amp"
   272 ktrace   RET   execve -1 errno 2 No such file or directory
   272 ktrace   CALL  execve(0x7fffe460,0x7fffe938,0x7fffe948)
   272 ktrace   NAMI  "/bin/amp"
   272 ktrace   RET   execve -1 errno 2 No such file or directory
   272 ktrace   CALL  execve(0x7fffe460,0x7fffe938,0x7fffe948)
   272 ktrace   NAMI  "/usr/bin/amp"
   272 ktrace   RET   execve -1 errno 2 No such file or directory
   272 ktrace   CALL  execve(0x7fffe460,0x7fffe938,0x7fffe948)
   272 ktrace   NAMI  "/usr/pkg/sbin/amp"
   272 ktrace   RET   execve -1 errno 2 No such file or directory
   272 ktrace   CALL  execve(0x7fffe460,0x7fffe938,0x7fffe948)
   272 ktrace   NAMI  "/usr/pkg/bin/amp"
   272 ktrace   NAMI  "/usr/libexec/ld.elf_so"
   272 amp      EMUL  "netbsd"
   272 amp      RET   execve JUSTRETURN
   272 amp      CALL  mprotect(0x5ffe0000,0xd000,0x7)
   272 amp      RET   mprotect 0

I'm pretty new to all this Linux stuff. I mainly was involved with Windows
I will try to do my best to understand and help out to get this little qube
singing :)

Thanks Riccardo


Hubert wrote:

> Would be interesting to know what ktrace says. Run "ktrace amp 9pm.mp3"
> (or whatever command you used), then "kdump >x" and try to look for the
> failed syscall in "x".
> 
>


Riccardo wrote:

> I installed the pkg amp and tried to play an mp3 file but got this error:
>
> Playing: /home/riccardo/9pm.mp3
>
> Properties:    stereo 44100Hz
> Coding Method: MPEG1.0 layer3
> Bitrate:       160kbit/s
> unable to open the audio device
> Broken pipe