Problem with irda usb

Bug #117085 reported by Iván López
4
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Undecided
Unassigned
linux-source-2.6.20 (Ubuntu)
Won't Fix
Undecided
Brian Murray

Bug Description

On my Ubuntu 7.04:
root@doraemon:~# uname -a
Linux doraemon.casa 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux

When I plug my usb irda adapter and execute dmesg:
[ 2387.544122] usb 4-2: USB disconnect, address 3
[ 2387.544336] ir-usb ttyUSB0: IR Dongle converter now disconnected from ttyUSB0
[ 2387.544358] ir-usb 4-2:1.0: device disconnected
[ 2393.898581] usb 4-2: new full speed USB device using uhci_hcd and address 4
[ 2394.082559] usb 4-2: configuration #1 chosen from 1 choice
[ 2394.085508] ir-usb 4-2:1.0: IR Dongle converter detected
[ 2394.087636] usb 4-2: IR Dongle converter now attached to ttyUSB0

But when I run:
root@doraemon:~# irattach /dev/ttyUSB0 -s

I get this error in dmesg:
[ 2423.942162] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 2423.942176] printing eip:
[ 2423.942178] 00000000
[ 2423.942180] *pde = 00000000
[ 2423.942183] Oops: 0000 [#5]
[ 2423.942185] SMP
[ 2423.942189] Modules linked in: irtty_sir sir_dev bluetooth irda_usb ir_usb usbserial irda crc_ccitt vmnet(P) vmmon(P) binfmt_misc ppdev acpi_cpufreq cpufreq_powersave cpufreq_userspace cpufreq_conservative cpufreq_ondemand cpufreq_stats freq_table dev_acpi sony_acpi tc1100_wmi pcc_acpi sbs i2c_ec dock battery video ac asus_acpi container button backlight af_packet w83627ehf i2c_isa eeprom i2c_i801 sbp2 lp fuse snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss sr_mod snd_mpu401 snd_mpu401_uart nvidia(P) snd_seq_midi snd_seq_midi_event snd_seq snd_timer cdrom parport_pc parport snd_rawmidi snd_seq_device iTCO_wdt iTCO_vendor_support i2c_core pcspkr ata_generic snd soundcore snd_page_alloc psmouse serio_raw intel_agp agpgart shpchp pci_hotplug tsdev evdev ext3 jbd mbcache sg sd_mod ahci ata_piix r8169 uhci_hcd ohci1394 ieee1394 ehci_hcd libata scsi_mod generic usbcore thermal processor fan fbcon tileblit font bitblit softcursor vesafb capability commoncap
[ 2423.942297] CPU: 0
[ 2423.942299] EIP: 0060:[<00000000>] Tainted: P VLI
[ 2423.942300] EFLAGS: 00210246 (2.6.20-15-generic #2)
[ 2423.942310] EIP is at 0x0
[ 2423.942313] eax: f7851c00 ebx: f7851c00 ecx: f7851c00 edx: 00000000
[ 2423.942317] esi: 0000000d edi: c21f8e00 ebp: 00000000 esp: effe3e04
[ 2423.942320] ds: 007b es: 007b ss: 0068
[ 2423.942324] Process irattach (pid: 11651, ti=effe2000 task=f03e9a90 task.ti=effe2000)
[ 2423.942327] Stack: f8ca311b c0234345 f7851c00 f7851c0c 00200286 c023a811 c21f8e00 effe3e58
[ 2423.942337] 00000000 f8d3b27d 00000005 00000000 0000083d 00000000 0000000b f7851c00
[ 2423.942347] f8d35bce 00000003 c21f8e00 f7851c00 df904540 00000005 00000000 000008bd
[ 2423.942356] Call Trace:
[ 2423.942359] [<f8ca311b>] ir_set_termios+0xbb/0x2f0 [ir_usb]
[ 2423.942367] [<c0234345>] tty_ldisc_deref+0x15/0x70
[ 2423.942381] [<c023a811>] set_termios+0x351/0x430
[ 2423.942390] [<f8d3b27d>] serial_set_termios+0x3d/0xb0 [usbserial]
[ 2423.942406] [<f8d35bce>] irtty_open+0x9e/0x190 [irtty_sir]
[ 2423.942427] [<c0237997>] tty_ioctl+0xbf7/0xda0
[ 2423.942442] [<c02388d0>] n_tty_open+0x0/0xa0
[ 2423.942447] [<c02388a0>] n_tty_close+0x0/0x30
[ 2423.942452] [<c0238780>] n_tty_flush_buffer+0x0/0x50
[ 2423.942457] [<c0238620>] n_tty_chars_in_buffer+0x0/0x80
[ 2423.942462] [<c0239c80>] read_chan+0x0/0x610
[ 2423.942466] [<c0238970>] write_chan+0x0/0x310
[ 2423.942471] [<c023a8f0>] n_tty_ioctl+0x0/0x410
[ 2423.942475] [<c0238380>] n_tty_set_termios+0x0/0x230
[ 2423.942480] [<c0239b30>] normal_poll+0x0/0x150
[ 2423.942487] [<c0238c80>] n_tty_receive_buf+0x0/0xeb0
[ 2423.942492] [<c02385b0>] n_tty_write_wakeup+0x0/0x30
[ 2423.942500] [<c0164a5f>] __handle_mm_fault+0x75f/0xa40
[ 2423.942526] [<c01826e8>] do_ioctl+0x78/0x90
[ 2423.942535] [<c018275c>] vfs_ioctl+0x5c/0x2a0
[ 2423.942544] [<c0182a12>] sys_ioctl+0x72/0x90
[ 2423.942552] [<c01031f0>] sysenter_past_esp+0x69/0xa9
[ 2423.942573] =======================
[ 2423.942575] Code: Bad EIP value.
[ 2423.942580] EIP: [<00000000>] 0x0 SS:ESP 0068:effe3e04
[ 2423.942586] Assertion failed! drivers/net/irda/irtty-sir.c:irtty_close:547 priv != NULL

Revision history for this message
Brian Murray (brian-murray) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. Is this still an issue with the latest version of the kernel for Feisty? Thanks in advance.

Revision history for this message
Iván López (ivanlopez) wrote :

Hello,
My current version of the kernel is 2.6.20-15. I also tried with version 2.6.21.3 and I get the same error.

Regards, Iván.

Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this bug to the new "linux" package. However, development has already began for the upcoming Intrepid Ibex 8.10 release. It would be helpful if you could test the upcoming release and verify if this is still an issue - http://www.ubuntu.com/testing . If the issue still exists, please update this report by changing the Status of the "linux" task from "Incomplete" to "New". We appreciate your patience and understanding as we make this transition. Thanks!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

*This is an automated response*

This bug report is being closed because we received no response to the previous request for information. Please reopen this if it is still an issue in the actively developed pre-release of Jaunty Jackalope 9.04 - http://cdimage.ubuntu.com/releases/jaunty . To reopen the bug report simply change the Status of the "linux" task back to "New".

Changed in linux:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.