On Thursday 08 April 2004 16:47, Alan Stern wrote: > On Wed, 7 Apr 2004, Simone Gotti wrote: > > This is my oops, copied by hand because the system hangs and I can't do > > nothing. > > > > PREEMPT > > CPU: 0 > > EIP: 0060:[<d0a834af>] Not tainted > > EFLAGS: 00010002 (2.6.5) > > EIP is at urb_unlink+0x2f/0x90 [usbcore] > > Okay, good. Next, I need you to post a disassembly listing of the > urb_unlink routine. You can do this by cd'ing to the drivers/usb/core > directory of your kernel source and running: > > gdb hcd.o > > Then at the prompt type: > > disassemble urb_unlink > > You can capture the output by using the "script" program. > > Alan Stern
This is the disassemble. I hope it'll be right. Script started on Thu Apr 8 16:58:40 2004 GNU gdb 6.0 Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) disassemble urb_unlink Dump of assembler code for function urb_unlink: 0x00001040 <urb_unlink+0>: push %ebp 0x00001041 <urb_unlink+1>: mov %esp,%ebp 0x00001043 <urb_unlink+3>: sub $0x18,%esp 0x00001046 <urb_unlink+6>: mov %edi,0xfffffffc(%ebp) 0x00001049 <urb_unlink+9>: mov %ebx,0xfffffff4(%ebp) 0x0000104c <urb_unlink+12>: mov %esi,0xfffffff8(%ebp) 0x0000104f <urb_unlink+15>: mov 0x8(%ebp),%edi 0x00001052 <urb_unlink+18>: mov 0x10(%edi),%eax 0x00001055 <urb_unlink+21>: test %eax,%eax 0x00001057 <urb_unlink+23>: jne 0x10a2 <urb_unlink+98> 0x00001059 <urb_unlink+25>: pushf 0x0000105a <urb_unlink+26>: pop %esi 0x0000105b <urb_unlink+27>: cli 0x0000105c <urb_unlink+28>: mov $0xffffe000,%edx 0x00001061 <urb_unlink+33>: and %esp,%edx 0x00001063 <urb_unlink+35>: incl 0x14(%edx) 0x00001066 <urb_unlink+38>: mov 0x8(%edi),%ecx 0x00001069 <urb_unlink+41>: lea 0x8(%edi),%eax 0x0000106c <urb_unlink+44>: mov 0x4(%eax),%ebx 0x0000106f <urb_unlink+47>: mov %ebx,0x4(%ecx) 0x00001072 <urb_unlink+50>: mov %ecx,(%ebx) 0x00001074 <urb_unlink+52>: mov %eax,0x4(%eax) 0x00001077 <urb_unlink+55>: mov %eax,0x8(%edi) 0x0000107a <urb_unlink+58>: mov 0x14(%edi),%ebx 0x0000107d <urb_unlink+61>: push %esi 0x0000107e <urb_unlink+62>: popf ---Type <return> to continue, or q <return> to quit--- 0x0000107f <urb_unlink+63>: mov 0x8(%edx),%eax 0x00001082 <urb_unlink+66>: decl 0x14(%edx) 0x00001085 <urb_unlink+69>: test $0x8,%al 0x00001087 <urb_unlink+71>: jne 0x109b <urb_unlink+91> 0x00001089 <urb_unlink+73>: mov %ebx,0x8(%ebp) 0x0000108c <urb_unlink+76>: mov 0xfffffff8(%ebp),%esi 0x0000108f <urb_unlink+79>: mov 0xfffffffc(%ebp),%edi 0x00001092 <urb_unlink+82>: mov 0xfffffff4(%ebp),%ebx 0x00001095 <urb_unlink+85>: leave 0x00001096 <urb_unlink+86>: jmp 0x1097 <urb_unlink+87> 0x0000109b <urb_unlink+91>: call 0x109c <urb_unlink+92> 0x000010a0 <urb_unlink+96>: jmp 0x1089 <urb_unlink+73> 0x000010a2 <urb_unlink+98>: mov 0x18(%edi),%eax 0x000010a5 <urb_unlink+101>: mov %edi,0x4(%esp,1) 0x000010a9 <urb_unlink+105>: shr $0x1e,%eax 0x000010ac <urb_unlink+108>: test %eax,%eax 0x000010ae <urb_unlink+110>: sete %al 0x000010b1 <urb_unlink+113>: movzbl %al,%eax 0x000010b4 <urb_unlink+116>: mov %eax,0x8(%esp,1) 0x000010b8 <urb_unlink+120>: mov 0x14(%edi),%eax 0x000010bb <urb_unlink+123>: mov %eax,(%esp,1) 0x000010be <urb_unlink+126>: call 0x10bf <urb_unlink+127> 0x000010c3 <urb_unlink+131>: jmp 0x1059 <urb_unlink+25> End of assembler dump. (gdb) quit Script done on Thu Apr 8 16:58:55 2004 -- Simone Gotti <[EMAIL PROTECTED]> ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel