Bug 8698 - (usb-serial) ftd_sio: usb-serial problem
(usb-serial)
ftd_sio: usb-serial problem
Status: CLOSED CODE_FIX
Product: Drivers
Classification: Unclassified
Component: USB
All Linux
: P1 normal
Assigned To: Greg Kroah-Hartman
:
Depends on:
Blocks: USB
  Show dependency treegraph
 
Reported: 2007-07-01 13:54 UTC by al ganote
Modified: 2009-03-23 11:13 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.21-5
Tree: Mainline
Regression: ---


Attachments

Description al ganote 2007-07-01 13:54:32 UTC
Most recent kernel where this bug did not occur: unknown
Distribution: fedora 7
Hardware Environment: dell dimension 2300
Software Environment: fedora 7 gnome
Problem Description: lirc serial device home electronics tira-2 causes an oops in the kernel.  tried w/fedora 7 stock kenernel 2.6.21-1 and vanilla kernel 2.6.21-5 w/same problem.  tried w/o lirc installed and configured, same problem.    problem may be w/ftd_sio module but does not appear to be. output of dmesg:

usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usbcore: registered new interface driver libusual
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usb usb1: configuration #1 chosen from 1 choice
usb usb2: configuration #1 chosen from 1 choice
usb usb3: configuration #1 chosen from 1 choice
usb usb4: configuration #1 chosen from 1 choice
usb 2-2: new full speed USB device using uhci_hcd and address 3
usb 2-2: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial Device
Modules linked in: ftdi_sio parport_pc parport snd_ens1371 gameport snd_rawmidi snd_ac97_codec ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq usbserial snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm tulip snd_timer snd soundcore snd_page_alloc serio_raw i2c_i810 pcspkr i2c_algo_bit iTCO_wdt iTCO_vendor_support i2c_i801 i2c_core sr_mod cdrom sg floppy ata_piix ata_generic libata sd_mod scsi_mod ext3 jbd mbcache ehci_hcd ohci_hcd uhci_hcd
 [<d09ef90a>] usb_serial_probe+0x97b/0xdd1 [usbserial]
 [<c0569258>] usb_resume_both+0xa1/0xb7
 [<c056940c>] usb_autopm_do_device+0xb3/0xbd
 [<c0568f62>] usb_match_one_id+0x1c/0x71
 [<c0569cbd>] usb_probe_interface+0x81/0xb2
 [<c05697ec>] usb_register_driver+0x6d/0xd4
 [<d09ee7b5>] usb_serial_register+0x1ed/0x1f6 [usbserial]

Steps to reproduce:
plug in lirc-serial device tira.  boot stock or vanilla kernel.  check dmesg.
Comment 1 Andrew Morton 2007-07-02 09:18:05 UTC
Subject: Re: [Bugme-new]  New: linux kernel usb-serial problem

On Sun,  1 Jul 2007 13:50:23 -0700 (PDT) bugme-daemon@bugzilla.kernel.org wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=8698
> 
>            Summary: linux kernel usb-serial problem
>            Product: Other
>            Version: 2.5
>      KernelVersion: 2.6.21-5
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: Other
>         AssignedTo: other_other@kernel-bugs.osdl.org
>         ReportedBy: petesbbq@gmail.com
> 
> 
> Most recent kernel where this bug did not occur: unknown
> Distribution: fedora 7
> Hardware Environment: dell dimension 2300
> Software Environment: fedora 7 gnome
> Problem Description: lirc serial device home electronics tira-2 causes an oops
> in the kernel.  tried w/fedora 7 stock kenernel 2.6.21-1 and vanilla kernel
> 2.6.21-5 w/same problem.  tried w/o lirc installed and configured, same
> problem.    problem may be w/ftd_sio module but does not appear to be. output
> of dmesg:
> 
> usbcore: registered new interface driver usbfs
> usbcore: registered new interface driver hub
> usbcore: registered new device driver usb
> usbcore: registered new interface driver libusual
> usbcore: registered new interface driver hiddev
> usbcore: registered new interface driver usbhid
> drivers/usb/input/hid-core.c: v2.6:USB HID core driver
> usb usb1: configuration #1 chosen from 1 choice
> usb usb2: configuration #1 chosen from 1 choice
> usb usb3: configuration #1 chosen from 1 choice
> usb usb4: configuration #1 chosen from 1 choice
> usb 2-2: new full speed USB device using uhci_hcd and address 3
> usb 2-2: configuration #1 chosen from 1 choice
> usbcore: registered new interface driver usbserial
> drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
> usbcore: registered new interface driver usbserial_generic
> drivers/usb/serial/usb-serial.c: USB Serial Driver core
> drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB
> Serial Device
> Modules linked in: ftdi_sio parport_pc parport snd_ens1371 gameport snd_rawmidi
> snd_ac97_codec ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq
> usbserial snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm tulip snd_timer snd
> soundcore snd_page_alloc serio_raw i2c_i810 pcspkr i2c_algo_bit iTCO_wdt
> iTCO_vendor_support i2c_i801 i2c_core sr_mod cdrom sg floppy ata_piix
> ata_generic libata sd_mod scsi_mod ext3 jbd mbcache ehci_hcd ohci_hcd uhci_hcd
>  [<d09ef90a>] usb_serial_probe+0x97b/0xdd1 [usbserial]
>  [<c0569258>] usb_resume_both+0xa1/0xb7
>  [<c056940c>] usb_autopm_do_device+0xb3/0xbd
>  [<c0568f62>] usb_match_one_id+0x1c/0x71
>  [<c0569cbd>] usb_probe_interface+0x81/0xb2
>  [<c05697ec>] usb_register_driver+0x6d/0xd4
>  [<d09ee7b5>] usb_serial_register+0x1ed/0x1f6 [usbserial]
> 
> Steps to reproduce:
> plug in lirc-serial device tira.  boot stock or vanilla kernel.  check dmesg.
> 

Comment 2 al ganote 2007-07-08 12:04:06 UTC
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial Device
ftdi_sio 2-2:1.0: FTDI USB Serial Device converter detected
BUG: unable to handle kernel NULL pointer dereference at virtual address 00000014
 printing eip:
d09f9458
*pde = 00000000
Oops: 0002 [#1]
SMP 
last sysfs file: /devices/pnp0/00:0b/id
Modules linked in: ftdi_sio snd_timer parport snd tulip soundcore snd_page_alloc usbserial iTCO_wdt iTCO_vendor_support pcspkr i2c_i801 i2c_i810 i2c_algo_bit i2c_core sr_mod cdrom floppy sg ata_piix ata_generic libata sd_mod scsi_mod ext3 jbd mbcache ehci_hcd ohci_hcd uhci_hcd
CPU:    0
EIP:    0060:[<d09f9458>]    Not tainted VLI
EFLAGS: 00210246   (2.6.21-1.3228.fc7 #1)
EIP is at ftdi_HE_TIRA1_setup+0x34/0x58 [ftdi_sio]
eax: 00000000   ebx: cf341e00   ecx: d09f9b34   edx: d09f9424
esi: d09ffae0   edi: 00000040   ebp: d09ffae0   esp: cfeabcdc
ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Process modprobe (pid: 746, ti=cfeab000 task=c1295110 task.ti=cfeab000)
Stack: cfcca2e4 00200246 cf342500 cf3416c0 d09f80b5 d09a390a d09a555b d09faf6f 
       cf700ed0 d09fb4fa cf700e00 cfcdc800 d09ffae0 00000000 00000000 00000001 
       00000001 cf341e00 ffffffff 00000000 00000001 00000001 00000001 00000000 
Call Trace:
 [<d09f80b5>] ftdi_sio_attach+0xf/0x12 [ftdi_sio]
 [<d09a390a>] usb_serial_probe+0x97b/0xdd1 [usbserial]
 [<c0471e36>] cache_alloc_refill+0xf7/0x44c
 [<c042e748>] lock_timer_base+0x19/0x35
 [<c042e7a8>] try_to_del_timer_sync+0x44/0x4a
 [<c0569258>] usb_resume_both+0xa1/0xb7
 [<c056940c>] usb_autopm_do_device+0xb3/0xbd
 [<c04ad459>] sysfs_create_link+0x128/0x13f
 [<c0568f62>] usb_match_one_id+0x1c/0x71
 [<c0569cbd>] usb_probe_interface+0x81/0xb2
 [<c0552943>] really_probe+0xc6/0x14f
 [<c0552a10>] driver_probe_device+0x44/0xa5
 [<c0552b0a>] __driver_attach+0x0/0xa5
 [<c0552b7a>] __driver_attach+0x70/0xa5
 [<c0551f93>] bus_for_each_dev+0x37/0x59
 [<c05527c2>] driver_attach+0x16/0x18
 [<c0552b0a>] __driver_attach+0x0/0xa5
 [<c0552245>] bus_add_driver+0x5e/0x15f
 [<c05697ec>] usb_register_driver+0x6d/0xd4
 [<d09a27b5>] usb_serial_register+0x1ed/0x1f6 [usbserial]
 [<d0836091>] ftdi_init+0x91/0xbe [ftdi_sio]
 [<c04432a8>] sys_init_module+0x16c3/0x17fa
 [<c047555c>] do_sync_read+0xc7/0x10a
 [<c04683e8>] do_mmap_pgoff+0x593/0x6f3
 [<c055077d>] device_remove_file+0x0/0x25
 [<c0475495>] do_sync_read+0x0/0x10a
 [<c0475de9>] vfs_read+0xa6/0x152
 [<c0404f70>] syscall_call+0x7/0xb
 =======================
Code: 0e a0 d0 00 74 1c c7 44 24 08 b8 a6 9f d0 c7 44 24 04 b7 a8 9f d0 c7 04 24 d5 a8 9f d0 e8 fb e2 a2 ef 8b 43 14 8b 80 8c 01 00 00 <83> 48 14 30 c7 40 08 f0 00 00 00 c7 80 80 00 00 00 0f 00 00 00 
EIP: [<d09f9458>] ftdi_HE_TIRA1_setup+0x34/0x58 [ftdi_sio] SS:ESP 0068:cfeabcdc
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
ACPI: PCI Interrupt 0000:01:04.0[A] -> GSI 16 (level, low) -> IRQ 16
loop: loaded (max 8 devices)

Note You need to log in before you can comment on or make changes to this bug.