* usb-audio - kernel oops 2.5.72
@ 2003-06-23 3:45 cliffw
2003-06-23 13:01 ` Takashi Iwai
0 siblings, 1 reply; 7+ messages in thread
From: cliffw @ 2003-06-23 3:45 UTC (permalink / raw)
To: alsa-devel
Am attempting to get linux-2.5.72 + snd-usb-audio happening.
Results have been poor. Machine is VIA C3, ALSA + jack working
fine with the built-in via audio. Tried various kernels,
real ugly failures with 2.5.70, also have tried 2.5.72-mm2.
So far, this is the best I can do:
JACK compiled with System V SHM support
loading driver ..
creating alsa driver ... usb-audio|1024|3|44100|swmon|swmeter|soft-mode
open
Rectangular dithering at 16 bits
port alsa_pcm:capture_1 has mixdown = 0x40017e70
port alsa_pcm:capture_2 has mixdown = 0x40017e70
port alsa_pcm:playback_1 has mixdown = 0x40017e70
port alsa_pcm:playback_2 has mixdown = 0x40017e70
starting engine
ALSA lib pcm_hw.c:494:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken
pipe
could not start playback (Broken pipe)
cannot start driver
cannot start main JACK thread
jack main caught signal 15
-----------------------------
With this oops in dmesg:
-----------------------------
bad: scheduling while atomic!
Call Trace:
[<c01175a0>] schedule+0x410/0x420
[<c01218e2>] add_timer+0x52/0x90
[<c01224d5>] schedule_timeout+0x55/0xa0
[<c0122470>] process_timeout+0x0/0x10
[<c02ebf97>] usb_start_wait_urb+0x97/0x1b0
[<c0117600>] default_wake_function+0x0/0x20
[<c0117600>] default_wake_function+0x0/0x20
[<c02ec106>] usb_internal_control_msg+0x56/0x70
[<c02ec1a1>] usb_control_msg+0x81/0xa0
[<c0345f46>] init_usb_sample_rate+0xb6/0x130
[<c0346141>] set_format+0x181/0x2f0
[<c03462fe>] snd_usb_pcm_prepare+0x1e/0x40
[<c0321f3c>] snd_pcm_do_prepare+0xc/0x40
[<c03214a0>] snd_pcm_action_group+0xa0/0x160
[<c0321642>] snd_pcm_action_lock_irq+0x32/0xa0
[<c0321fe2>] snd_pcm_prepare+0x42/0x60
[<c03241ac>] snd_pcm_playback_ioctl1+0x4c/0x400
[<c021d8b0>] write_chan+0x0/0x240
[<c014c4c0>] vfs_write+0xb0/0x100
[<c015d9f0>] sys_ioctl+0xf0/0x270
[<c014c5a6>] sys_write+0x46/0x50
[<c0109067>] syscall_call+0x7/0xb
ALSA sound/usb/usbaudio.c:682: cannot submit datapipe for urb 0, err = -22
----------------------
More data, config files on request.
cliffw
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: usb-audio - kernel oops 2.5.72
2003-06-23 3:45 usb-audio - kernel oops 2.5.72 cliffw
@ 2003-06-23 13:01 ` Takashi Iwai
2003-06-24 6:54 ` cliffw
2003-06-29 16:14 ` cliffw
0 siblings, 2 replies; 7+ messages in thread
From: Takashi Iwai @ 2003-06-23 13:01 UTC (permalink / raw)
To: cliffw; +Cc: alsa-devel
At Sun, 22 Jun 2003 20:45:09 -0700,
cliffw@easystreet.com wrote:
>
>
> Am attempting to get linux-2.5.72 + snd-usb-audio happening.
> Results have been poor. Machine is VIA C3, ALSA + jack working
> fine with the built-in via audio. Tried various kernels,
> real ugly failures with 2.5.70, also have tried 2.5.72-mm2.
i fixed a bug in usb-audio driver on the cvs now.
there are some calls of functions which may call schedule() in the
spinlock.
please try the cvs version.
ciao,
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: usb-audio - kernel oops 2.5.72
2003-06-23 13:01 ` Takashi Iwai
@ 2003-06-24 6:54 ` cliffw
2003-06-24 9:54 ` Takashi Iwai
2003-06-29 16:14 ` cliffw
1 sibling, 1 reply; 7+ messages in thread
From: cliffw @ 2003-06-24 6:54 UTC (permalink / raw)
To: Takashi Iwai; +Cc: cliffw, alsa-devel
> At Sun, 22 Jun 2003 20:45:09 -0700,
> cliffw@easystreet.com wrote:
> >
> >
> > Am attempting to get linux-2.5.72 + snd-usb-audio happening.
> > Results have been poor. Machine is VIA C3, ALSA + jack working
> > fine with the built-in via audio. Tried various kernels,
> > real ugly failures with 2.5.70, also have tried 2.5.72-mm2.
>
> i fixed a bug in usb-audio driver on the cvs now.
> there are some calls of functions which may call schedule() in the
> spinlock.
>
> please try the cvs version.
Am attempting, so far compile errors in serialmidi....am
getting the whole tree now.
Will try again tomorrow.
cliffw
>
>
> ciao,
>
> Takashi
>
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: usb-audio - kernel oops 2.5.72
2003-06-24 6:54 ` cliffw
@ 2003-06-24 9:54 ` Takashi Iwai
2003-06-25 3:41 ` cliffw
2003-06-25 5:20 ` cliffw
0 siblings, 2 replies; 7+ messages in thread
From: Takashi Iwai @ 2003-06-24 9:54 UTC (permalink / raw)
To: cliffw; +Cc: alsa-devel
At Mon, 23 Jun 2003 23:54:46 -0700,
cliffw@easystreet.com wrote:
>
> > At Sun, 22 Jun 2003 20:45:09 -0700,
> > cliffw@easystreet.com wrote:
> > >
> > >
> > > Am attempting to get linux-2.5.72 + snd-usb-audio happening.
> > > Results have been poor. Machine is VIA C3, ALSA + jack working
> > > fine with the built-in via audio. Tried various kernels,
> > > real ugly failures with 2.5.70, also have tried 2.5.72-mm2.
> >
> > i fixed a bug in usb-audio driver on the cvs now.
> > there are some calls of functions which may call schedule() in the
> > spinlock.
> >
> > please try the cvs version.
> Am attempting, so far compile errors in serialmidi....am
> getting the whole tree now.
you don't need alsa-driver tree to compile the ALSA on 2.5.x (unless
you use the drivers in it). the codes in alsa-kernel tree are ready
for 2.5 kernel. that is, copy the files and directories to 2.5 tree
and build the modules there.
it would be nice to have a simple sync script for that...
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: usb-audio - kernel oops 2.5.72
2003-06-24 9:54 ` Takashi Iwai
@ 2003-06-25 3:41 ` cliffw
2003-06-25 5:20 ` cliffw
1 sibling, 0 replies; 7+ messages in thread
From: cliffw @ 2003-06-25 3:41 UTC (permalink / raw)
To: Takashi Iwai; +Cc: cliffw, alsa-devel
> At Mon, 23 Jun 2003 23:54:46 -0700,
> cliffw@easystreet.com wrote:
> >
> > > At Sun, 22 Jun 2003 20:45:09 -0700,
> > > cliffw@easystreet.com wrote:
> > > >
> > > >
> > > > Am attempting to get linux-2.5.72 + snd-usb-audio happening.
> > > > Results have been poor. Machine is VIA C3, ALSA + jack working
> > > > fine with the built-in via audio. Tried various kernels,
> > > > real ugly failures with 2.5.70, also have tried 2.5.72-mm2.
> > >
> > > i fixed a bug in usb-audio driver on the cvs now.
> > > there are some calls of functions which may call schedule() in the
> > > spinlock.
> > >
> > > please try the cvs version.
> > Am attempting, so far compile errors in serialmidi....am
> > getting the whole tree now.
>
> you don't need alsa-driver tree to compile the ALSA on 2.5.x (unless
> you use the drivers in it). the codes in alsa-kernel tree are ready
> for 2.5 kernel. that is, copy the files and directories to 2.5 tree
> and build the modules there.
>
> it would be nice to have a simple sync script for that...
Well, if you want simple, i can do that :)
This appears to be working for me....(i wait for the compile, again)
---------------------------------
alsa.cvs.copy
-----------------------------
#!/bin/sh
# A very simple script to copy alsa-kernel cvs where i want it
if [ ! $1 ]; then
echo "Need arg for destination directory"
exit 1
fi
if [ -e $1 ]; then
DEST=$1
else
echo "Destination $1 doesn't appear to exist"
exit 1
fi
HERE=`pwd`
BASE=`basename $HERE`
echo $HERE $BASE
if [ $BASE != "alsa-kernel" ]; then
echo "Must execute me inside alsa-kernel!"
exit 1
fi
echo "Copying alsa-kernel cvs to $DEST"
# I could be really cute here and copy globs, but
# That Would Not Be Safe
# So, we'll be slow, simple and careful
# CHANGE these lists if needed
SOUNDDIRS="drivers isa parisc ppc usb arm i2c pci scripts sparc core oss
pcmcia synth"
SOUNDFILES="last.c sound_core.c sound_firmware.c Makefile Kconfig"
#Copy the Documentation to the Documentation
cp -r Documentation/* ${DEST}/Documentation/
# Copy the include files to include/sound
cp -r include/* ${DEST}/include/sound
for i in $SOUNDDIRS
do
cp -r ${i}/* ${DEST}/sound/${i}/
done
for i in $SOUNDFILES
do
cp ${i} ${DEST}/sound/${i}
done
exit 0
-------------------------
end
cliffw
>
>
> Takashi
>
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: usb-audio - kernel oops 2.5.72
2003-06-24 9:54 ` Takashi Iwai
2003-06-25 3:41 ` cliffw
@ 2003-06-25 5:20 ` cliffw
1 sibling, 0 replies; 7+ messages in thread
From: cliffw @ 2003-06-25 5:20 UTC (permalink / raw)
To: Takashi Iwai; +Cc: cliffw, alsa-devel
> At Mon, 23 Jun 2003 23:54:46 -0700,
> cliffw@easystreet.com wrote:
> >
> > > At Sun, 22 Jun 2003 20:45:09 -0700,
> > > cliffw@easystreet.com wrote:
> > > >
> > > >
> > > > Am attempting to get linux-2.5.72 + snd-usb-audio happening.
> > > please try the cvs version.
>
> Takashi
>
ALSA cvs + linux-2.5.72-mm3
-----------------
Startup and jackd start - dmesg
jackd --tmpdir=/mnt/ramfs -v -d alsa -d usb-audio:0,0 -r 44100
----------------------------
ehci_hcd 0000:00:10.3: GetStatus port 1 status 001803 POWER sig=j CSC CONNECT
hub 1-0:0: port 1, status 501, change 1, 480 Mb/s
hub 1-0:0: debounce: port 1: delay 100ms stable 4 status 0x501
hub 1-0:0: port 1 not reset yet, waiting 10ms
hub 1-0:0: port 1 not reset yet, waiting 10ms
ehci_hcd 0000:00:10.3: port 1 full speed --> companion
ehci_hcd 0000:00:10.3: GetStatus port 1 status 003801 POWER OWNER sig=j
CONNECT
drivers/usb/host/uhci-hcd.c: d400: wakeup_hc
hub 2-0:0: port 1, status 101, change 1, 12 Mb/s
hub 2-0:0: debounce: port 1: delay 100ms stable 4 status 0x101
hub 2-0:0: new USB device on port 1, assigned address 3
usb 2-1: new device strings: Mfr=0, Product=1, SerialNumber=0
usb 2-1: Product: USB Audio
drivers/usb/core/usb.c: usb_hotplug
usb 2-1: usb_new_device - registering interface 2-1:0
drivers/usb/core/usb.c: usb_hotplug
snd-usb-audio 2-1:0: usb_device_probe
snd-usb-audio 2-1:0: usb_device_probe - got id
drivers/usb/core/usb.c: snd-usb-audio driver claimed interface c132652c
drivers/usb/core/usb.c: snd-usb-audio driver claimed interface c1326658
usb 2-1: usb_new_device - registering interface 2-1:1
drivers/usb/core/usb.c: usb_hotplug
usb 2-1: usb_new_device - registering interface 2-1:2
drivers/usb/core/usb.c: usb_hotplug
ALSA sound/usb/usbaudio.c:685: cannot submit datapipe for urb 0, err = -22
----------------------------------------
jackd
--------------------------------------
JACK compiled with System V SHM support
running with uid=500 and euid=0, will not try to use capabilites
1277 waiting for signals
loading driver ..
new client: alsa_pcm, id = 1 type 1 @ 0x80580e8 fd = -1
creating alsa driver ... usb-audio:0,0|1024|2|44100|swmon|swmeter|rt
open
port alsa_pcm:capture_1 has mixdown = 0x40017e70
registered port alsa_pcm:capture_1, offset = 4096
port alsa_pcm:capture_2 has mixdown = 0x40017e70
registered port alsa_pcm:capture_2, offset = 8192
port alsa_pcm:playback_1 has mixdown = 0x40017e70
registered port alsa_pcm:playback_1, offset = 0
port alsa_pcm:playback_2 has mixdown = 0x40017e70
registered port alsa_pcm:playback_2, offset = 0
++ jack_rechain_graph():
client alsa_pcm: internal client, execution_order=0.
-- jack_rechain_graph()
starting engine
ALSA lib pcm_hw.c:494:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken
pipe
could not start playback (Broken pipe)
----------------------------------
aplay -D usb-audio:0,0 Peak.wav
Playing WAVE 'Peek.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
aplay: set_params:810: Channels count non available
---------------------------------------
ALSA sound/usb/usbaudio.c:685: cannot submit datapipe for urb 0, err = -22
------------------------------------------
cliffw
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: usb-audio - kernel oops 2.5.72
2003-06-23 13:01 ` Takashi Iwai
2003-06-24 6:54 ` cliffw
@ 2003-06-29 16:14 ` cliffw
1 sibling, 0 replies; 7+ messages in thread
From: cliffw @ 2003-06-29 16:14 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
> At Sun, 22 Jun 2003 20:45:09 -0700,
> cliffw@easystreet.com wrote:
> >
> >
> > Am attempting to get linux-2.5.72 + snd-usb-audio happening.
> > Results have been poor. Machine is VIA C3, ALSA + jack working
> > fine with the built-in via audio. Tried various kernels,
> > real ugly failures with 2.5.70, also have tried 2.5.72-mm2.
>
> i fixed a bug in usb-audio driver on the cvs now.
> there are some calls of functions which may call schedule() in the
> spinlock.
>
> please try the cvs version.
>
>
CVS version does not throw the oops, but the device still fails.
2.5.73 stock still has the oops.
2.5.73 + cvs does not throw the oops, but the devices
i've tried are still not connecting properly.
Appears to be an issue at usb_submit_urb(), but i'm not deep
enough to figure it out.
Will gladly furnish more data upon request, or test patches.
Please advise.
Current errors (dmesg):
sb 2-1: usb_new_device - registering interface 2-1:1
drivers/usb/core/usb.c: usb_hotplug
usb 2-1: usb_new_device - registering interface 2-1:2
drivers/usb/core/usb.c: usb_hotplug
ALSA sound/usb/usbaudio.c:1080: setting usb interface 1:1
ALSA sound/usb/usbaudio.c:685: cannot submit datapipe for urb 0, err = -22
usbfs: USBDEVFS_CONTROL failed cmd lsusb dev 3 rqt 128 rq 6 len 256 ret -32
cliffw
> ciao,
>
> Takashi
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-devel
>
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-06-29 16:14 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-23 3:45 usb-audio - kernel oops 2.5.72 cliffw
2003-06-23 13:01 ` Takashi Iwai
2003-06-24 6:54 ` cliffw
2003-06-24 9:54 ` Takashi Iwai
2003-06-25 3:41 ` cliffw
2003-06-25 5:20 ` cliffw
2003-06-29 16:14 ` cliffw
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.