Thank you for answering!

On Fri, Oct 26, 2007 at 09:34PM -0700, Greg KH wrote:
> On Thu, Oct 25, 2007 at 04:20:48PM +0200, Dirk Meul wrote:
> > can someone give me a hint how to make attached module working again?
> > With linux kernel 2.6.16.55 everything is fine but with 2.6.18.8
> > kobject_add fails and with 2.6.23 the driver OOPS in nokia_probe. The
> > problems are for example
> > serial->interface->altsetting[0].endpoint[0].desc.bEndpointAddress and
> > serial->interface->altsetting[1].endpoint[0].desc.bEndpointAddress. I
> > think i oversaw the changes in the diffs between the kernel versions.
> 
> Hm, any reason why this driver isn't in the main kernel tree?

I think you removed it during linux 2.6.15 development
<http://lkml.org/lkml/2005/11/19/161>.

> What is the specific oops message?

Oct 17 12:47:57 localhost kernel: usb 3-6.1: new full speed USB device using 
ehci_hcd and address 6
Oct 17 12:47:57 localhost kernel: usb 3-6.1: configuration #1 chosen from 1 
choice
Oct 17 12:47:58 localhost kernel: usbcore: registered new interface driver 
usbserial
Oct 17 12:47:58 localhost kernel: drivers/usb/serial/usb-serial.c: USB Serial 
support registered for generic
Oct 17 12:47:58 localhost kernel: usbcore: registered new interface driver 
usbserial_generic
Oct 17 12:47:58 localhost kernel: drivers/usb/serial/usb-serial.c: USB Serial 
Driver core
Oct 17 12:47:58 localhost kernel: drivers/usb/serial/usb-serial.c: USB Serial 
support registered for Nokia DKU2
Oct 17 12:47:58 localhost kernel: BUG: unable to handle kernel NULL pointer 
dereference at virtual address 00000002
Oct 17 12:47:58 localhost kernel:  printing eip:
Oct 17 12:47:58 localhost kernel: fa9ee033
Oct 17 12:47:58 localhost kernel: *pde = 00000000
Oct 17 12:47:58 localhost kernel: Oops: 0000 [#1]
Oct 17 12:47:58 localhost kernel: PREEMPT 
Oct 17 12:47:58 localhost kernel: Modules linked in: nokia_dku2 usbserial mga 
drm binfmt_misc rfcomm l2cap bluetooth pktcdvd ir_kbd_i2c tun fuse dm_snapshot 
dm_mirror dm_mod mga_vid w83627hf hwmon_vid hwmon snd_tvmixer tuner tvaudio 
msp3400 ide_cd cdrom ide_floppy snd_usb_audio snd_usb_lib pwc snd_hwdep usblp 
snd_intel8x0 snd_ac97_codec snd_bt87x ac97_bus snd_pcm_oss snd_pcm 
snd_mixer_oss snd_seq_midi snd_seq_oss bttv snd_rawmidi snd_seq_midi_event 
snd_seq snd_rtctimer snd_timer snd_seq_device video_buf firmware_class snd 
ir_common amd74xx ehci_hcd compat_ioctl32 i2c_algo_bit 8250_pnp ohci_hcd 
btcx_risc tveeprom videodev v4l2_common v4l1_compat i2c_nforce2 ide_core 
parport_pc parport soundcore rtc nvidia_agp agpgart snd_page_alloc 8250 
serial_core i2c_core usbcore evdev floppy
Oct 17 12:47:58 localhost kernel: CPU:    0
Oct 17 12:47:58 localhost kernel: EIP:    0060:[<fa9ee033>]    Not tainted VLI
Oct 17 12:47:58 localhost kernel: EFLAGS: 00010246   (2.6.23 #1)
Oct 17 12:47:58 localhost kernel: EIP is at nokia_probe+0x33/0xd4 [nokia_dku2]
Oct 17 12:47:58 localhost kernel: eax: 00000000   ebx: dcbebf00   ecx: f123281c 
  edx: ebed6894
Oct 17 12:47:58 localhost kernel: esi: fa9eeb58   edi: fa9eea90   ebp: ebed6894 
  esp: edd32d2c
Oct 17 12:47:58 localhost kernel: ds: 007b   es: 007b   fs: 0000  gs: 0033  ss: 
0068
Oct 17 12:47:58 localhost kernel: Process modprobe (pid: 24726, ti=edd32000 
task=c35aa4e0 task.ti=edd32000)
Oct 17 12:47:58 localhost kernel: Stack: 00000001 fa9eeb58 fa9eea90 00000001 
fac731ef 00000000 00000001 c1cdc3b8 
Oct 17 12:47:58 localhost kernel:        00000005 ebed6894 f123200c fa9eeb58 
c03d5228 00000006 00000001 00000001 
Oct 17 12:47:58 localhost kernel:        00000001 dcbebf00 00000000 00000006 
edd32000 00000006 00000000 c01b89e8 
Oct 17 12:47:58 localhost kernel: Call Trace:
Oct 17 12:47:58 localhost kernel:  [<fac731ef>] usb_serial_probe+0x19b/0xd20 
[usbserial]
Oct 17 12:47:58 localhost kernel:  [<c01b89e8>] ida_get_new_above+0xe8/0x168
Oct 17 12:47:58 localhost kernel:  [<c018b52b>] sysfs_ilookup_test+0x0/0xd
Oct 17 12:47:58 localhost kernel:  [<c0167d82>] ifind+0x1c/0x8a
Oct 17 12:47:58 localhost kernel:  [<c018b52b>] sysfs_ilookup_test+0x0/0xd
Oct 17 12:47:58 localhost kernel:  [<c0167e5b>] ilookup5_nowait+0x33/0x38
Oct 17 12:47:58 localhost kernel:  [<c018ba2f>] sysfs_addrm_finish+0x14/0x1d5
Oct 17 12:47:58 localhost kernel:  [<c018b797>] sysfs_addrm_start+0x36/0x84
Oct 17 12:47:58 localhost kernel:  [<c018ca82>] sysfs_create_link+0xf4/0x146
Oct 17 12:47:58 localhost kernel:  [<f8865efc>] usb_autopm_do_device+0xc7/0xd1 
[usbcore]
Oct 17 12:47:58 localhost kernel:  [<f8865abe>] usb_match_one_id+0x1c/0x71 
[usbcore]
Oct 17 12:47:58 localhost kernel:  [<f8866a41>] usb_probe_interface+0x96/0xd0 
[usbcore]
Oct 17 12:47:58 localhost kernel:  [<c0217c8b>] driver_probe_device+0xc4/0x146
Oct 17 12:47:58 localhost kernel:  [<c02cf88c>] klist_next+0x50/0x84
Oct 17 12:47:58 localhost kernel:  [<c0217de1>] __driver_attach+0x44/0x75
Oct 17 12:47:58 localhost kernel:  [<c02172f6>] bus_for_each_dev+0x35/0x57
Oct 17 12:47:58 localhost kernel:  [<c0217b0c>] driver_attach+0x16/0x18
Oct 17 12:47:58 localhost kernel:  [<c0217d9d>] __driver_attach+0x0/0x75
Oct 17 12:47:58 localhost kernel:  [<c0217597>] bus_add_driver+0x6d/0x153
Oct 17 12:47:58 localhost kernel:  [<f8866551>] usb_register_driver+0x66/0xcd 
[usbcore]
Oct 17 12:47:58 localhost kernel:  [<fac72e1f>] usb_serial_register+0x20a/0x212 
[usbserial]
Oct 17 12:47:58 localhost kernel:  [<fac36028>] nokia_init+0x28/0x68 
[nokia_dku2]
Oct 17 12:47:58 localhost kernel:  [<c01240c5>] 
blocking_notifier_call_chain+0x17/0x1a
Oct 17 12:47:58 localhost kernel:  [<c0135d52>] sys_init_module+0x1215/0x12e9
Oct 17 12:47:58 localhost kernel:  [<c014c2f8>] vma_link+0xa6/0xe6
Oct 17 12:47:58 localhost kernel:  [<c014ca76>] mmap_region+0x31a/0x3d6
Oct 17 12:47:58 localhost kernel:  [<c0103d3a>] syscall_call+0x7/0xb
Oct 17 12:47:58 localhost kernel:  =======================
Oct 17 12:47:58 localhost kernel: Code: c0 ee 9e fa 00 74 1c c7 44 24 08 0c e1 
9e fa c7 44 24 04 18 e1 9e fa c7 04 24 38 e1 9e fa e8 25 c5 72 c5 8b 53 08 8b 
0a 8b 41 0c <80> 78 02 82 75 0e c7 04 24 43 e1 9e fa e8 0b c5 72 c5 eb 65 83 
Oct 17 12:47:58 localhost kernel: EIP: [<fa9ee033>] nokia_probe+0x33/0xd4 
[nokia_dku2] SS:ESP 0068:edd32d2c
Oct 17 12:47:58 localhost udevd-event[24716]: run_program: '/sbin/modprobe' 
abnormal exit
Oct 17 12:48:09 localhost kernel: usb 3-6.1: USB disconnect, address 6

Regards,
Dirk


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to