[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Nbd] Still cdaudio problems



Workbone only supports analog audio, so in this case atleast you have not set the player to digial extraction mode.

On Sun, 30 Sep 2007, R Dicaire wrote:

Hi folks...I'm still unable to get cdaudio working over nbd.
I can export the device fine, nbd-client connects fine, an audio cd is
in the drive and can be played locally. I tried various players, XMMS,
kscd, beep, even the venerable workbone commandline player, none
recognize /dev/nbd0 as a cdrom, or the player reports no Table Of
Contents readable from nbd0. In all instances possible, I have the
player set to use digital extraction, not analog.

ll /dev/nbd0
brw-rw-rw-  1 root disk 43, 0 2007-09-30 14:01 /dev/nbd0

I straced workbone to see what, if any, issues may exist. Below is the
complete output of strace log:

workbone -d /dev/nbd0

execve("/usr/bin/workbone", ["workbone", "-d", "/dev/nbd0"], [/* 32
vars */]) = 0
uname({sys="Linux", node="ws", ...})    = 0
brk(0)                                  = 0x804d000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=130100, ...}) = 0
mmap2(NULL, 130100, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f2d000
close(3)                                = 0
open("/lib/tls/libc.so.6", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300P\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1366940, ...}) = 0
mmap2(NULL, 1162428, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
3, 0) = 0xb7e11000
mprotect(0xb7f26000, 27836, PROT_NONE)  = 0
mmap2(0xb7f27000, 16384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x115) = 0xb7f27000
mmap2(0xb7f2b000, 7356, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f2b000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7e10000
mprotect(0xb7f27000, 4096, PROT_READ)   = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e10aa0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0xb7f2d000, 130100)              = 0
uname({sys="Linux", node="ws", ...})    = 0
brk(0)                                  = 0x804d000
brk(0x806e000)                          = 0x806e000
readlink("/dev/nbd0", 0xbf8f5720, 99)   = -1 EINVAL (Invalid argument)
open("/etc/mtab", O_RDONLY)             = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=574, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7f4c000
read(3, "/dev/hda2 / ext3 rw 0 0\nproc /pr"..., 4096) = 574
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7f4c000, 4096)                = 0
fstat64(1, {st_mode=S_IFCHR|0720, st_rdev=makedev(136, 2), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7f4c000
write(1, "\33[11m\n", 6)                = 6
write(1, "                        \332\304\304\304\304\264 n"..., 49) = 49
write(1, "                        \263       "..., 49) = 49
write(1, "                        \263    \376\376 "..., 49) = 49
write(1, "                        \263       "..., 49) = 49
write(1, "                        \263    |\21 "..., 49) = 49
write(1, "                        \263       "..., 49) = 49
write(1, "                        \263    \21\21 "..., 49) = 49
write(1, "                        \263       "..., 49) = 49
write(1, "                        \263   \33[7m"..., 67) = 67
write(1, "                        \263       "..., 49) = 49
write(1, "                        \300\304\304\304\304\304\304\304"..., 49) = 49
write(1, "\33[10m\n", 6)                = 6
write(1, "\33[1A\r                           "..., 55) = 55
open("/dev/nbd0", O_RDONLY|O_NONBLOCK)  = 3
ioctl(3, CDROMSUBCHNL, 0xbf8f46d0)      = -1 EINVAL (Invalid argument)
rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost isig -icanon -echo ...}) = 0
write(1, "\n", 1)                       = 1
ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost isig icanon echo ...}) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_IGN}, 8) = 0
munmap(0xb7f4c000, 4096)                = 0
exit_group(0)                           = ?

I can export data partitions from hard disks just fine, and read them
via nbd-client, so I know that much works, but I'm at a total loss as
to why I cannot get cdaudio to work.

Any other avenues of troubleshooting I can look at?

--
aRDy Music and Rick Dicaire present:
http://www.ardynet.com
http://www.ardynet.com:9000/ardymusic.ogg.m3u

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nbd-general mailing list
Nbd-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nbd-general




Reply to: