Hi,

On Tuesday 29 October 2002 23:14, Lars Doelle wrote:
> Perhaps, Pedro, you can manage to get a recent 2.5 up enough for a try?

After some compile problems i can finally boot with 2.5.45, but with some more  
problems.

First, i would like to know about a strange message in syslog output:
         /etc/hotplug/usb.agent: Bad USB agent invocation
My hotplug scripts are dated 20020826. Seems that PRODUCT or ACTION are not 
defined? In spite of CONFIG_USB_DEBUG=y in kernel config, i can't see the 
useful usb debug messages anymore. Anyway, hotplug works.

I have only two usb devices, an Edirol UM-2 MIDI adapter (product 582/5/200) 
and a Midiman Midisport2x2 (another MIDI adapter, EZ-USB, using the ezusbmidi 
firmware, product 763/1001/1 before renumeration). 
When i started the usb subsystem got these messages:

kernel: drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface 
driver v2.0
kernel: drivers/usb/core/hcd-pci.c: uhci-hcd @ 00:07.2, VIA Technologies, Inc. 
USB
kernel: drivers/usb/core/hcd-pci.c: irq 10, io base 0000d400
kernel: drivers/usb/core/hcd.c: new USB bus registered, assigned bus number 1
kernel: drivers/usb/host/uhci-hcd.c: detected 2 ports
kernel: drivers/usb/core/hcd.c: 00:07.2 root hub device address 1
kernel: drivers/usb/core/usb.c: new device strings: Mfr=3, Product=2, 
SerialNumber=1
kernel: drivers/usb/core/usb.c: usb_hotplug
kernel: drivers/usb/core/usb.c: usb_new_device - registering 1-0:0
kernel: drivers/usb/core/usb.c: usb_device_probe
kernel: drivers/usb/core/usb.c: usb_device_probe - got id
kernel: drivers/usb/core/hub.c: USB hub found at 0
kernel: drivers/usb/core/hub.c: 2 ports detected
kernel: drivers/usb/core/hub.c: standalone hub
kernel: drivers/usb/core/hub.c: ganged power switching
kernel: drivers/usb/core/hub.c: global over-current protection
kernel: drivers/usb/core/hub.c: Port indicators are not supported
kernel: drivers/usb/core/hub.c: power on to power good time: 2ms
kernel: drivers/usb/core/hub.c: hub controller current requirement: 0mA
kernel: drivers/usb/core/hub.c: local power source is good
kernel: drivers/usb/core/hub.c: no over-current condition exists
kernel: drivers/usb/core/hub.c: enabling power on all ports
kernel: drivers/usb/core/usb.c: usb_hotplug
/etc/hotplug/usb.agent: Bad USB agent invocation
usb: Loading USB interface (uhci-hcd) succeeded
kernel: drivers/usb/core/hub.c: port 1, portstatus 101, change 3, 12 Mb/s
kernel: drivers/usb/core/hub.c: hub 0 port 1 connection change
kernel: drivers/usb/core/hub.c: hub 0 port 1, portstatus 101, change 3, 12 
Mb/s
kernel: drivers/usb/core/hub.c: port 1, portstatus 101, change 2, 12 Mb/s
usb: Mount USB filesystem succeeded
kernel: drivers/usb/core/hub.c: port 1, portstatus 101, change 2, 12 Mb/s
last message repeated 2 times
kernel: drivers/usb/core/hub.c: port 1, portstatus 103, change 0, 12 Mb/s
kernel: drivers/usb/core/hub.c: new USB device 00:07.2-1, assigned address 2
kernel: drivers/usb/core/usb.c: new device strings: Mfr=0, Product=0, 
SerialNumber=0
kernel: drivers/usb/core/usb.c: usb_hotplug
kernel: drivers/usb/core/usb.c: usb_new_device - registering 1-1:0
kernel: drivers/usb/core/usb.c: usb_hotplug
kernel: drivers/usb/core/usb.c: usb_new_device - registering 1-1:1
kernel: drivers/usb/core/usb.c: usb_hotplug
kernel: drivers/usb/core/usb.c: usb_new_device - registering 1-1:2
kernel: drivers/usb/core/usb.c: usb_hotplug
kernel: drivers/usb/core/hub.c: port 2, portstatus 101, change 3, 12 Mb/s
kernel: drivers/usb/core/hub.c: hub 0 port 2 connection change
kernel: drivers/usb/core/hub.c: hub 0 port 2, portstatus 101, change 3, 12 
Mb/s
kernel: drivers/usb/core/hub.c: port 2, portstatus 101, change 2, 12 Mb/s
kernel: drivers/usb/core/hub.c: port 2, portstatus 101, change 2, 12 Mb/s
/etc/hotplug/usb.agent: Bad USB agent invocation
kernel: drivers/usb/core/hub.c: port 2, portstatus 101, change 2, 12 Mb/s
kernel: drivers/usb/core/hub.c: port 2, portstatus 101, change 2, 12 Mb/s
kernel: drivers/usb/core/hub.c: port 2, portstatus 103, change 0, 12 Mb/s
kernel: drivers/usb/core/hub.c: new USB device 00:07.2-2, assigned address 3
kernel: drivers/usb/core/usb.c: new device strings: Mfr=0, Product=0, 
SerialNumber=0
kernel: drivers/usb/core/usb.c: usb_hotplug
kernel: drivers/usb/core/usb.c: usb_new_device - registering 1-2:0
kernel: drivers/usb/core/usb.c: usb_hotplug
kernel: drivers/usb/core/hub.c: port 1, portstatus 103, change 0, 12 Mb/s
kernel: drivers/usb/core/hub.c: port 2, portstatus 103, change 0, 12 Mb/s
/etc/hotplug/usb.agent: Bad USB agent invocation
/etc/hotplug/usb.agent: Setup usbcore for USB product 0/0/205
modprobe: modprobe: Can't locate module usbcore
/etc/hotplug/usb.agent: Setup snd-usb-audio usb-midi for USB product 582/5/200
last message repeated 2 times
/etc/hotplug/usb.agent: ... blacklisted module:  snd-usb-audio
/etc/hotplug/usb.agent: ... blacklisted module:  snd-usb-audio
/etc/hotplug/usb.agent: ... blacklisted module:  usb-midi
/etc/hotplug/usb.agent: ... blacklisted module:  snd-usb-audio
/etc/hotplug/usb.agent: ... blacklisted module:  usb-midi
/etc/hotplug/usb.agent: ... blacklisted module:  usb-midi
/etc/hotplug/usb.agent: Setup ezusbmidi for USB product 763/1001/1
/etc/hotplug/usb.agent: Module setup ezusbmidi for USB product 763/1001/1
/etc/hotplug/usb/ezusbmidi: load /usr/share/usb/ezusbmidi/ezusbmidi2x2.ihx for 
763/1001/1 to /proc/bus/usb/001/003
kernel: drivers/usb/core/hub.c: port 1, portstatus 103, change 0, 12 Mb/s
kernel: drivers/usb/core/hub.c: port 2, portstatus 100, change 3, 12 Mb/s
kernel: drivers/usb/core/hub.c: hub 0 port 2 connection change
kernel: drivers/usb/core/hub.c: hub 0 port 2, portstatus 100, change 3, 12 
Mb/s
kernel: drivers/usb/core/usb.c: USB disconnect on device 3
kernel: drivers/usb/core/usb.c: unregistering interfaces on device 3
kernel: drivers/usb/core/usb.c: usb_hotplug
kernel: drivers/usb/core/usb.c: unregistering the device 3
kernel: ------------[ cut here ]------------

The firmware is loaded, and renumeration process seems to succeed, but i got 
an oops:

kernel BUG at mm/slab.c:1453!
invalid operand: 0000
CPU:    0
EIP:    0060:[<c01358af>]    Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010093
eax: 00000000   ebx: 00000c00   ecx: c5c41000   edx: c5c412f8
esi: c7fef1c0   edi: c5c412b0   ebp: 000e6a28   esp: c11b5ea4
ds: 0068   es: 0068   ss: 0068
Stack: c11b9c00 c5c412b4 00000286 00000800 c7fb5468 c013594b c7fef580 00000286
       c11c1800 c7fb546c 00000286 c5c412e4 0000000d c5ac19ac 00000000 c0225d4a
       c5c412b4 00000000 00000000 00000048 c5e05ba4 00000003 00000000 c73aa000
Call Trace: [<c013594b>]  [<c0225d4a>]  [<c021fea9>]  [<c02223ba>]  
[<c01183c0>]  [<c0222756>]  [<c0222950>]  [<c0222985>]  [<c0222950>]  
[<c0118310>]  [<c01070b9>]
Code: 0f 0b ad 05 e1 73 28 c0 8b 5e 34 8b 69 0c 89 f8 8b 4e 30 ba


>>EIP; c01358af <kfree+12f/220>   <=====

>>ecx; c5c41000 <_end+58c2734/a494734>
>>edx; c5c412f8 <_end+58c2a2c/a494734>
>>esi; c7fef1c0 <_end+7c708f4/a494734>
>>edi; c5c412b0 <_end+58c29e4/a494734>
>>esp; c11b5ea4 <_end+e375d8/a494734>

Trace; c013594b <kfree+1cb/220>
Trace; c0225d4a <usb_destroy_configuration+15a/200>
Trace; c021fea9 <usb_free_dev+29/50>
Trace; c02223ba <usb_hub_port_connect_change+aa/2c0>
Trace; c01183c0 <__wake_up+20/40>
Trace; c0222756 <usb_hub_events+186/380>
Trace; c0222950 <usb_hub_thread+0/f0>
Trace; c0222985 <usb_hub_thread+35/f0>
Trace; c0222950 <usb_hub_thread+0/f0>
Trace; c0118310 <default_wake_function+0/40>
Trace; c01070b9 <kernel_thread_helper+5/c>

Code;  c01358af <kfree+12f/220>
00000000 <_EIP>:
Code;  c01358af <kfree+12f/220>   <=====
   0:   0f 0b                     ud2a      <=====
Code;  c01358b1 <kfree+131/220>
   2:   ad                        lods   %ds:(%esi),%eax
Code;  c01358b2 <kfree+132/220>
   3:   05 e1 73 28 c0            add    $0xc02873e1,%eax
Code;  c01358b7 <kfree+137/220>
   8:   8b 5e 34                  mov    0x34(%esi),%ebx
Code;  c01358ba <kfree+13a/220>
   b:   8b 69 0c                  mov    0xc(%ecx),%ebp
Code;  c01358bd <kfree+13d/220>
   e:   89 f8                     mov    %edi,%eax
Code;  c01358bf <kfree+13f/220>
  10:   8b 4e 30                  mov    0x30(%esi),%ecx
Code;  c01358c2 <kfree+142/220>
  13:   ba 00 00 00 00            mov    $0x0,%edx


41 warnings issued.  Results may not be reliable.

Sorry if ksymoops output is not very useful. I have little experience with 
this bussiness.

Lars:
Booting again, with Midisport2x2 unplugged, i could run some tests against 
UM-2, with some success. With loopback.sh all tests passed OK. aloopback.sh  
(ALSA rawmidi) failed, and got another oops after first loop.

Regression test for MIDI devices

executed by root
on system Linux crusos.localdomain 2.5.45 #2 jue oct 31 22:25:12 CET 2002 i586 
unknown
at Thu, 31 Oct 2002 23:53:40 +0100

Advanced Linux Sound Architecture Driver Version 0.9.0rc5 (Tue Oct 29 09:19:27 
2002 UTC).
Compiled on Oct 31 2002 for kernel 2.5.45.
*******************************************************************
*                        loopback tests                           *
*******************************************************************
Input device is hw:1,0,0
Output device is hw:1,0,0
ALSA driver is already running.
Test 2 PASS (Loop 1)
Test 3 PASS (Loop 1)
Test 2 PASS (Loop 1)
Test 3 PASS (Loop 1)
Test 4 PASS (Loop 1)
Shutting down sound driver: done
Starting sound driver: snd-ens1371 done
Starting sound driver: snd-usb-audio done
No state is present for card card1
 ERROR4 seq_sysrt : missing 5 bytes at end of sequence.
Test 2 FAIL (Loop 2)
 ERROR2 seq_syx(0) expecting 0xf0, but got 0xa2
Test 3 FAIL (Loop 2)
 ERROR2 seq_sysc(0) expecting 0xf3, but got 0x77
Test 2 FAIL (Loop 2)
 ERROR2 seq_note(0) expecting 0x90, but got 0x77
Test 3 FAIL (Loop 2)
 ERROR2 seq_aft(0) expecting 0xd0, but got 0x80
Test 4 FAIL (Loop 2)
Shutting down sound driver: /etc/rc.d/init.d/alsasound: line 13:  2032 
Violación de segmento   /sbin/rmmod `echo $line | cut -d ' ' -f 1`
snd-pcm: Device or resource busy
snd-timer: Device or resource busy
snd-rawmidi: Device or resource busy
snd-seq-device: Device or resource busy
snd: Device or resource busy
done

Regards,
Pedro



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to