Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340693 - media-sound/audio-entropyd fails to read any data from HDA card
Summary: media-sound/audio-entropyd fails to read any data from HDA card
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-12 13:32 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2013-04-15 05:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-10-12 13:32:19 UTC
Not sure what the problem might be but when I try to run audio-entropyd on an Atom box I'm setting up as a router, it seems to fail pretty badly:


ichigo ~ # audio-entropyd -d hw:0 -v -n
audio-entropyd starting up
Get random data: read error: Input/output error



Debug information:
errno: 5=Input/output error (if applicable)
Obtained 7 stack frames:
audio-entropyd(+0x2d69)[0x1128dc1d69]
audio-entropyd(+0x2ef0)[0x1128dc1ef0]
audio-entropyd(+0x27cc)[0x1128dc17cc]
audio-entropyd(+0x28f8)[0x1128dc18f8]
audio-entropyd(main+0x1d9)[0x1128dc1d19]
/lib/libc.so.6(__libc_start_main+0xfd)[0x32d464d6bfd]
audio-entropyd(+0x1c29)[0x1128dc0c29]
audio-entropyd stopping due to signal 15

stracing it, the problem is here: (yes I had to fix strace for it to tell me which ioctl is the problem)


fcntl(6, F_SETFL, O_RDWR|O_LARGEFILE)   = 0
ioctl(6, SNDRV_PCM_IOCTL_HW_REFINE, 0x3df23abcd80) = 0
ioctl(6, SNDRV_PCM_IOCTL_HW_REFINE, 0x3df23abcd80) = 0
ioctl(6, SNDRV_PCM_IOCTL_HW_REFINE, 0x3df23abcd80) = 0
ioctl(6, SNDRV_PCM_IOCTL_HW_REFINE, 0x3df23abcd80) = 0
ioctl(6, SNDRV_PCM_IOCTL_HW_REFINE, 0x3df23abcd80) = 0
ioctl(6, SNDRV_PCM_IOCTL_HW_REFINE, 0x3df23abcd80) = 0
ioctl(6, SNDRV_PCM_IOCTL_HW_REFINE, 0x3df23abcd80) = 0
ioctl(6, SNDRV_PCM_IOCTL_HW_REFINE, 0x3df23abcd80) = 0
ioctl(6, SNDRV_PCM_IOCTL_HW_REFINE, 0x3df23abcd80) = 0
ioctl(6, SNDRV_PCM_IOCTL_HW_REFINE, 0x3df23abcd80) = 0
ioctl(6, SNDRV_PCM_IOCTL_HW_PARAMS, 0x3df23abcd80) = 0
ioctl(6, SNDRV_PCM_IOCTL_SW_PARAMS, 0x3df23abccb0) = 0
ioctl(6, SNDRV_PCM_IOCTL_PREPARE, 0)    = 0
brk(0x35a23d5000)                       = 0x35a23d5000
ioctl(6, SNDRV_PCM_IOCTL_READI_FRAMES, 0x3df23abd000) = -1 EIO (Input/output error)
write(2, "Get random data: read error: Inp"..., 48Get random data: read error: Input/output error
Comment 1 Christoph Mende (RETIRED) gentoo-dev 2011-05-10 08:55:09 UTC
same problem with 2.0.3? do other apps like aplay -Dhw:0 work?