set_device_description is oopsing with a null pointer at boot for me on
2.5.26-rmk1 with ohci-hcd on sa-1111.  The problem apparently is the new
code that computes a clever name for the device -- a "return" statement
after the first sprintf() gets around the problem.  If the problem isn't
obvious to whomever recently changed this code, I'll track it down when
I have some more time.

Cheers,
-ch


SA-1100 PCMCIA (CS release 3.1.22)
badge4_pcmcia_init: badge4_pcmvcc=50, badge4_pcmvpp=50, badge4_cfvcc=33
ohci-sa1111.c: 2002-Jun-15 USB 1.1 'Open' Host Controller (OHCI) Driver
(SA-1111
)
ohci-sa1111.c: block sizes: ed 64 td 64
ohci-sa1111.c: starting SA-1111 OHCI USB Controller
badge4_set_5V: enabling 5V supply rail
ohci-sa1111.c: ohci-hcd (SA-1111) at 0xf4000400, irq 109

hcd.c: new USB bus registered, assigned bus number 1
pcipool create [SA-1111]/ohci_td size 64, 64/page (4096 alloc)
pcipool create [SA-1111]/ohci_ed size 64, 64/page (4096 alloc)
ohci-hcd.c: USB HC reset_hc sa1111: ctrl = 0x0 ;
hcd.c: sa1111 root hub device address 1
usb.c: new device strings: Mfr=3, Product=2, SerialNumber=1
Product: SA-1111 OHCI
Unable to handle kernel NULL pointer dereference at virtual address
00000000


ksymoops 2.4.5 on i686 2.4.19-pre3-ac2-friction1.  Options used
     -v ./vmlinux (default)
     -K (default)
     -L (default)
     -o ./_modules_ (default)
     -m ./System.map (default)

Warning: You did not tell me where to find symbol information.  I will
assume that the log matches the kernel and modules that are running
right now and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc.  ksymoops -h explains the options.

No modules in ksyms, skipping objects
Unable to handle kernel NULL pointer dereference at virtual address
00000000
Internal error: Oops: c0207805
CPU: 0
pc : [<c02c5648>]    lr : [<c023e10c>]    Not tainted
Using defaults from ksymoops -t elf32-little -a unknown
sp : c046df00  ip : c0372468  fp : c046df2c
r10: c3f830f8  r9 : 00000003  r8 : 00000002
r7 : c3f83146  r6 : c045d260  r5 : c3f83000  r4 : 00000000
r3 : 00000020  r2 : 00000004  r1 : 00000003  r0 : 0000001e
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
Control: C020717F  Table: C020717F  DAC: 0000001D
Stack: (0xc046df00 to 0xc046e000)
df00: 00000001 c3f83000 00000000 00000000 0000019c 0000019a 6901b110
0000019b
df20: c046df58 c046df30 c02c58fc c02c5540 00000008 c3f83000 c3f84000
00000000
df40: c0370010 c033f9e8 00000000 c046df70 c046df5c c02c8a64 c02c56f0
c3f83000
df60: c3f84000 c046df8c c046df74 c02d2748 c02c8a30 c3f84000 00000000
c3f844b8
df80: c046dfa8 c046df90 c02d2e40 c02d25f8 0000006d c3f844b8 c031f4ec
c046dfcc
dfa0: c046dfac c02d2c04 c02d2dbc c3f844b8 c0213604 c0371678 c034c180
c034c190
dfc0: c046dfe0 c046dfd0 c0208748 c02d2af0 00000000 c046dff4 c046dfe4
c0214040
dfe0: c020873c 00004000 00000000 c046dff8 c0217f10 c0214038 09ec4518
c6888b00
Backtrace:
Function entered at [<c02c5534>] from [<c02c58fc>]
Function entered at [<c02c56e4>] from [<c02c8a64>]
Function entered at [<c02c8a24>] from [<c02d2748>]
 r5 = C3F84000  r4 = C3F83000
Function entered at [<c02d25ec>] from [<c02d2e40>]
 r6 = C3F844B8  r5 = 00000000  r4 = C3F84000
Function entered at [<c02d2db0>] from [<c02d2c04>]
 r6 = C031F4EC  r5 = C3F844B8  r4 = 0000006D
Function entered at [<c02d2ae4>] from [<c0208748>]
 r7 = C034C190  r6 = C034C180  r5 = C0371678  r4 = C0213604
Function entered at [<c0208730>] from [<c0214040>]
 r4 = 00000000
Function entered at [<c021402c>] from [<c0217f10>]
 r4 = 00004000
Code: eb00131c e3500000 daffffe9 e3a03020 (e4c43001)
Error (Oops_bfd_perror): scan_arch for specified architecture Success


>>LR;  c023e10c <kmem_cache_free_one+58/f0>

>>???; c02c5648 <usb_new_device+dc/388>   <=====

>>sp; c046df00 <END_OF_CODE+fc888/????>
>>ip; c0372468 <_end+df0/????>
>>fp; c046df2c <END_OF_CODE+fc8b4/????>
>>r10; c3f830f8 <END_OF_CODE+3c11a80/????>
>>r7; c3f83146 <END_OF_CODE+3c11ace/????>
>>r6; c045d260 <END_OF_CODE+ebbe8/????>
>>r5; c3f83000 <END_OF_CODE+3c11988/????>

Trace; c02c5534 <set_device_description+0/38>
Trace; c02c58fc <usb_driver_get_list+8/c>
Trace; c02c56e4 <usb_new_device+178/388>
Trace; c02c8a64 <usb_calc_bus_time+14c/224>
Trace; c02c8a24 <usb_calc_bus_time+10c/224>
Trace; c02d2748 <ohci_irq+104/11c>

>>r5; c3f84000 <END_OF_CODE+3c12988/????>
>>r4; c3f83000 <END_OF_CODE+3c11988/????>

Trace; c02d25ec <hc_start+178/1d0>
Trace; c02d2e40 <__sound_remove_unit+28/64>

>>r6; c3f844b8 <END_OF_CODE+3c12e40/????>
>>r4; c3f84000 <END_OF_CODE+3c12988/????>

Trace; c02d2db0 <__sound_insert_unit+88/f0>
Trace; c02d2c04 <usb_hcd_sa1111_remove+d4/108>

>>r6; c031f4ec <standard_ioctl+f4/228>
>>r5; c3f844b8 <END_OF_CODE+3c12e40/????>

Trace; c02d2ae4 <usb_hcd_sa1111_probe+178/1c4>
Trace; c0208748 <do_initcalls+18/34>

>>r7; c034c190 <__machine_arch_type+0/4>
>>r6; c034c180 <processor_id+0/4>
>>r5; c0371678 <_end+0/????>
>>r4; c0213604 <__initcall_init_soundcore+0/4>

Trace; c0208730 <do_initcalls+0/34>
Trace; c0214040 <init+14/170>
Trace; c021402c <init+0/170>
Trace; c0217f10 <kernel_thread+30/3c>

>>r4; 00004000 Before first symbol

Kernel panic: Attempted to kill init!

1 warning and 1 error issued.  Results may not be reliable.









-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to