2007-06-27 14:05:34

by Clemens Koller

[permalink] [raw]
Subject: 2.6.21.5 BUG: USB FTDI FT323BM usb exports duplicate symbols


Whenever I plug/unplug the FTDI FT232BM USB-RS232 converter, the latest
2.6.21.5 kernel complains:

usb 2-1: USB disconnect, address 7
ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
ftdi_sio 2-1:1.0: device disconnected
usb 3-1: new full speed USB device using ohci_hcd and address 43
usb 3-1: configuration #1 chosen from 1 choice
ftdi_sio 3-1:1.0: FTDI USB Serial Device converter detected
drivers/usb/serial/ftdi_sio.c: Detected FT232BM
usb 3-1: FTDI USB Serial Device converter now attached to ttyUSB0
usbcore: exports duplicate symbol usb_buffer_unmap_sg (owned by kernel)
usbserial: exports duplicate symbol usb_serial_port_softint (owned by kernel)
kobject_add failed for ftdi_sio with -EEXIST, don't try to register things with the same name in the same directory.
Call Trace:
[C4A6DE10] [C0009018] show_stack+0x4c/0x1ac (unreliable)
[C4A6DE50] [C013DF80] kobject_shadow_add+0x160/0x1a4
[C4A6DE70] [C003A250] mod_sysfs_setup+0x28/0xd4
[C4A6DE90] [C003B4BC] sys_init_module+0xfc4/0x149c
[C4A6DF40] [C0002304] ret_from_syscall+0x0/0x3c
usb 3-1: USB disconnect, address 43
ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
ftdi_sio 3-1:1.0: device disconnected
usb 3-1: new full speed USB device using ohci_hcd and address 44
usb 3-1: configuration #1 chosen from 1 choice
ftdi_sio 3-1:1.0: FTDI USB Serial Device converter detected
drivers/usb/serial/ftdi_sio.c: Detected FT232BM
usb 3-1: FTDI USB Serial Device converter now attached to ttyUSB0
usbcore: exports duplicate symbol usb_buffer_unmap_sg (owned by kernel)
usbserial: exports duplicate symbol usb_serial_port_softint (owned by kernel)
kobject_add failed for ftdi_sio with -EEXIST, don't try to register things with the same name in the same directory.
Call Trace:
[C50BFE10] [C0009018] show_stack+0x4c/0x1ac (unreliable)
[C50BFE50] [C013DF80] kobject_shadow_add+0x160/0x1a4
[C50BFE70] [C003A250] mod_sysfs_setup+0x28/0xd4
[C50BFE90] [C003B4BC] sys_init_module+0xfc4/0x149c
[C50BFF40] [C0002304] ret_from_syscall+0x0/0x3c

Is this considered harmful?
Let me know if you need more debugging information.

Regards,
--
Clemens Koller
__________________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Stra?e 45/1
Linhof Werksgel?nde
D-81379 M?nchen
Tel.089-741518-50
Fax 089-741518-19
http://www.anagramm-technology.com


2007-06-27 14:12:55

by Oliver Neukum

[permalink] [raw]
Subject: Re: 2.6.21.5 BUG: USB FTDI FT323BM usb exports duplicate symbols

Am Mittwoch, 27. Juni 2007 schrieb Clemens Koller:
> Whenever I plug/unplug the FTDI FT232BM USB-RS232 converter, the latest
> 2.6.21.5 kernel complains:
>
> usb 2-1: USB disconnect, address 7
> ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
> ftdi_sio 2-1:1.0: device disconnected
> usb 3-1: new full speed USB device using ohci_hcd and address 43
> usb 3-1: configuration #1 chosen from 1 choice
> ftdi_sio 3-1:1.0: FTDI USB Serial Device converter detected
> drivers/usb/serial/ftdi_sio.c: Detected FT232BM
> usb 3-1: FTDI USB Serial Device converter now attached to ttyUSB0
> usbcore: exports duplicate symbol usb_buffer_unmap_sg (owned by kernel)
> usbserial: exports duplicate symbol usb_serial_port_softint (owned by kernel)

Please rebuild your kernel and modules from scratch. It looks like you are
mixing builds.

Regards
Oliver

2007-06-27 14:51:45

by Clemens Koller

[permalink] [raw]
Subject: Re: 2.6.21.5 BUG: USB FTDI FT323BM usb exports duplicate symbols

Hi, Oliver!

Oliver Neukum schrieb:
> Am Mittwoch, 27. Juni 2007 schrieb Clemens Koller:
>> Whenever I plug/unplug the FTDI FT232BM USB-RS232 converter, the latest
>> 2.6.21.5 kernel complains:
>>
>> usb 2-1: USB disconnect, address 7
>> ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
>> ftdi_sio 2-1:1.0: device disconnected
>> usb 3-1: new full speed USB device using ohci_hcd and address 43
>> usb 3-1: configuration #1 chosen from 1 choice
>> ftdi_sio 3-1:1.0: FTDI USB Serial Device converter detected
>> drivers/usb/serial/ftdi_sio.c: Detected FT232BM
>> usb 3-1: FTDI USB Serial Device converter now attached to ttyUSB0
>> usbcore: exports duplicate symbol usb_buffer_unmap_sg (owned by kernel)
>> usbserial: exports duplicate symbol usb_serial_port_softint (owned by kernel)
>
> Please rebuild your kernel and modules from scratch. It looks like you are
> mixing builds.

Thanks, I will give it a try.

--
Clemens Koller
__________________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Stra?e 45/1
Linhof Werksgel?nde
D-81379 M?nchen
Tel.089-741518-50
Fax 089-741518-19
http://www.anagramm-technology.com

2007-06-27 16:26:09

by Clemens Koller

[permalink] [raw]
Subject: Re: 2.6.21.5 BUG: USB FTDI FT323BM usb exports duplicate symbols

Oliver Neukum schrieb:
> Am Mittwoch, 27. Juni 2007 schrieb Clemens Koller:
>> Whenever I plug/unplug the FTDI FT232BM USB-RS232 converter, the latest
>> 2.6.21.5 kernel complains:
>>
>> usb 2-1: USB disconnect, address 7
>> ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
>> ftdi_sio 2-1:1.0: device disconnected
>> usb 3-1: new full speed USB device using ohci_hcd and address 43
>> usb 3-1: configuration #1 chosen from 1 choice
>> ftdi_sio 3-1:1.0: FTDI USB Serial Device converter detected
>> drivers/usb/serial/ftdi_sio.c: Detected FT232BM
>> usb 3-1: FTDI USB Serial Device converter now attached to ttyUSB0
>> usbcore: exports duplicate symbol usb_buffer_unmap_sg (owned by kernel)
>> usbserial: exports duplicate symbol usb_serial_port_softint (owned by kernel)
>
> Please rebuild your kernel and modules from scratch. It looks like you are
> mixing builds.

Okay, I rebuilt the kernel in a new tree and cleaned up /lib/modules/*
so, the problem is solved.

Thank you.
--
Clemens Koller
__________________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Stra?e 45/1
Linhof Werksgel?nde
D-81379 M?nchen
Tel.089-741518-50
Fax 089-741518-19
http://www.anagramm-technology.com