Hello.

cat audio.wav > /dev/audio
results in a cryptic "audio0: play interrupt but not playing"
on the console, but the audio file plays ok.

If I use aucat or mpg123 or flac123 to play something, I get
"pxa2x0_dma_to_fifo: bogus length 17640" on the console and the player just
hangs there with no sound.

On a related note, while browsing src/sys/arch/arm/xscale I noticed that
some error printf's have '\n', but some don't, resulting in the errors as
at the end of the dmesg below. What is the preferred way to handle new
lines in the kernel? printf with '\n' or some standard error macros/functions?


OpenBSD 5.9-current (GENERIC) #0: Thu May  5 18:14:33 EDT 2016
    [email protected]:/build/openbsd/current/src/sys/arch/zaurus/compile/GENERIC
real mem  = 67108864 (64MB)
avail mem = 57954304 (55MB)
warning: no entropy supplied by boot loader
mainbus0 at root: no device tree
cpu0 at mainbus0: PXA27x step C-0 (XScale core)
cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
cpu0: 32KB(32b/l,32way) I-cache, 32KB(32b/l,32way) wr-back-lock D-cache
pxaip0 at mainbus0: CPU clock = 416.000 MHz
pxaintc0 at pxaip0 addr 0x40d00000: Interrupt Controller
pxagpio0 at pxaip0 addr 0x40e00000: GPIO Controller
pxadmac0 at pxaip0 addr 0x40000000 intr 25: DMA Controller
pxaost0 at pxaip0 addr 0x40a00000
com0 at pxaip0 addr 0x40100000 intr 22: pxa2x0, 32 byte fifo
com1 at pxaip0 addr 0x40200000 intr 21: pxa2x0, 32 byte fifo
com2 at pxaip0 addr 0x40700000 intr 20: pxa2x0, 32 byte fifo (SIR)
ohci0 at pxaip0, version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "PXA27x OHCI root hub" rev 1.00/1.00 addr 1
lcd0 at pxaip0
wsdisplay0 at lcd0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1 added (std, vt100 emulation)
zkbd0 at pxaip0
wskbd0 at zkbd0: console keyboard, using wsdisplay0
scoop0 at pxaip0: PCMCIA/GPIO controller
scoop1 at pxaip0: PCMCIA/GPIO controller
pxapcic0 at pxaip0: 2 slots
pcmcia0 at pxapcic0
pcmcia1 at pxapcic0
pxammc0 at pxaip0: MMC/SD/SDIO controller
sdmmc0 at pxammc0: 1-bit
zssp0 at pxaip0
apm0 at pxaip0
zts0 at pxaip0
wsmouse0 at zts0 mux 0
zaudio0 at pxaip0: I2C, I2S, WM8750 Audio
audio0 at zaudio0
zrc0 at pxaip0: CE-RH2 remote control
wskbd1 at zrc0 mux 1
wskbd1: connecting to wsdisplay0
flash0 at pxaip0: Samsung K9F2808U0C 16Mx8 3.3V
pxaudc0 at pxaip0: USB Device Controller
usbf0 at pxaudc0: USB revision 1.1
cdcef0 at usbf0: address fe:e1:ba:d0:a7:15
wdc0 at pcmcia0 function 0 "HITACHI, microdrive" port 0x0/16: irq 138
wd0 at wdc0 channel 0 drive 0: <HMS360604D5CF00>
wd0: 32-sector PIO, LBA, 3906MB, 7999488 sectors
wd0(wdc0:0:0): using BIOS timings
ne0 at pcmcia1 function 0 "Fast Ethernet, CF Size PC Card, 1.0" port 0x0/32, 
irq 137, address 00:12:0e:20:97:70
acphy0 at ne0 phy 1: AC101 10/100 PHY, rev. 11
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
boot device: wd0
root on wd0a (a67b40a097c8aa12.a) swap on wd0b dump on wd0b
WARNING: using filesystem date -- CHECK AND RESET THE DATE!
audio0: play interrupt but not playing
audio0: play interrupt but not playing
pxa2x0_dma_to_fifo: bogus length 17640pxa2x0_dma_to_fifo: bogus length 
17640pxa2x0_dma_to_fifo: bogus length 17640

Reply via email to