Public bug reported:

I've just bought a dual serial to USB adaptor.  It uses a MosChip
Semiconductor USB to Serial Adapter.  When I plug in the device the
mos7720 module loads OK but as soon as I try to open ttyUSB0 (with
minicom) it generates the oops below.  I'm running this on Feisty Beta
with all updates applied (does that now mean it's Feisty released rather
than beta?).  The Machine is a Intel Core 2 Dual E6400, a ASUS P5B-E
motherboard, and has 4Gb of RAM.  For other reasons, I've currenly got
it only using 3Gb of RAM.

I've run this test twice, once with SMP and once with the "nosmp" kernel
param.

Before I list various outputs, this could be the same as bug 97310 or
98701.  But the moz7720 driver seems to be a fairly recent addition so
I'm not sure.  It was only added mid 2006 as seen in this thread:

http://lkml.org/lkml/2006/8/29/36

Once  I've submitted this bug report I'll let the writer mentioned in
that mos7720 thread know I've submitted this too, but as I'm not really
much of a kernel maintainer I figured it'd be better this get fed up
through the distro I'm using.

Here's the messages log from the insertion of the USB device until the
oops on starting minicom with SMP enabled.

Apr 21 20:08:05 titus kernel: [  146.181858] usb 1-1: new full speed USB device 
using uhci_hcd and address 2
Apr 21 20:08:05 titus kernel: [  146.362533] usb 1-1: configuration #1 chosen 
from 1 choice
Apr 21 20:08:05 titus kernel: [  146.431884] usbcore: registered new interface 
driver usbserial
Apr 21 20:08:05 titus kernel: [  146.431896] drivers/usb/serial/usb-serial.c: 
USB Serial support registered for generic
Apr 21 20:08:05 titus kernel: [  146.431923] usbcore: registered new interface 
driver usbserial_generic
Apr 21 20:08:05 titus kernel: [  146.431924] drivers/usb/serial/usb-serial.c: 
USB Serial Driver core
Apr 21 20:08:05 titus kernel: [  146.443317] drivers/usb/serial/usb-serial.c: 
USB Serial support registered for Moschip 2 port adapter
Apr 21 20:08:05 titus kernel: [  146.443321] drivers/usb/serial/mos7720.c: 
Moschip USB Serial Driver 1.0.0.4F
Apr 21 20:08:05 titus kernel: [  146.443345] moschip7720 1-1:1.0: Moschip 2 
port adapter converter detected
Apr 21 20:08:05 titus kernel: [  146.447407] usb 1-1: Moschip 2 port adapter 
converter now attached to ttyUSB0
Apr 21 20:08:05 titus kernel: [  146.447450] usb 1-1: Moschip 2 port adapter 
converter now attached to ttyUSB1
Apr 21 20:08:05 titus kernel: [  146.447458] usbcore: registered new interface 
driver moschip7720
Apr 21 20:08:15 titus kernel: [  164.466667] [drm] Setting GART location based 
on new memory map
Apr 21 20:08:15 titus kernel: [  164.467076] [drm] Loading R300 Microcode
Apr 21 20:08:15 titus kernel: [  164.467104] [drm] writeback test succeeded in 
1 usecs
Apr 21 20:09:18 titus kernel: [  227.121875] PGD b6b41067 PUD b6b42067 PMD 0
Apr 21 20:09:18 titus kernel: [  227.121882] CPU 0
Apr 21 20:09:18 titus kernel: [  227.121884] Modules linked in: mos7720 
usbserial binfmt_misc rfcomm l2cap bluetooth nfs nfsd exportfs lockd sunrpc 
radeon drm ppdev cpufreq_userspace cpufreq_powersave cpufreq_conservative 
cpufreq_ondemand cpufreq_stats freq_table nls_iso8859_1 nls_cp437 vfat fat fuse 
sbp2 parport_pc lp parport af_packet snd_hda_intel snd_hda_codec snd_pcm_oss 
snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss usblp snd_seq_midi snd_rawmidi 
snd_seq_midi_event snd_seq snd_timer snd_seq_device sr_mod cdrom snd sky2 
soundcore ata_generic psmouse iTCO_wdt iTCO_vendor_support intel_agp generic 
serio_raw snd_page_alloc shpchp pci_hotplug tsdev evdev ext3 jbd mbcache sg 
sd_mod ehci_hcd ohci1394 pata_jmicron uhci_hcd pata_it821x ieee1394 ahci libata 
scsi_mod usbcore raid1 md_mod dm_mod fbcon tileblit font bitblit softcursor 
vesafb cfbcopyarea cfbimgblt cfbfillrect capability commoncap
Apr 21 20:09:18 titus kernel: [  227.121947] Pid: 6257, comm: minicom Not 
tainted 2.6.20-15-server #2
Apr 21 20:09:18 titus kernel: [  227.121950] RIP: 
0010:[_end+132728563/2130038908]  [_end+132728563/2130038908] 
:mos7720:mos7720_open+0x407/0x5a0
Apr 21 20:09:18 titus kernel: [  227.121956] RSP: 0018:ffff8100b1c85d58  
EFLAGS: 00010202
Apr 21 20:09:18 titus kernel: [  227.121959] RAX: 0000000040000280 RBX: 
ffff8100b2bfc400 RCX: ffff8100b2b77800
Apr 21 20:09:18 titus kernel: [  227.121962] RDX: 0000000000000000 RSI: 
ffffffff8807d2c0 RDI: 0000000000000000
Apr 21 20:09:18 titus kernel: [  227.121965] RBP: ffff8100b1c85d6f R08: 
ffff8100b1c84000 R09: 0000000000000000
Apr 21 20:09:18 titus kernel: [  227.121968] R10: ffff8100bb85e140 R11: 
0000000000000000 R12: ffff8100b2bfc400
Apr 21 20:09:18 titus kernel: [  227.121972] R13: ffff8100b2ce9bc0 R14: 
ffff8100b2b29180 R15: ffff8100b71f4f00
Apr 21 20:09:18 titus kernel: [  227.121975] FS:  00002acd7449eb00(0000) 
GS:ffffffff80562000(0000) knlGS:0000000000000000
Apr 21 20:09:18 titus kernel: [  227.121978] CS:  0010 DS: 0000 ES: 0000 CR0: 
000000008005003b
Apr 21 20:09:18 titus kernel: [  227.121981] CR2: 0000000000000078 CR3: 
00000000b1cba000 CR4: 00000000000006e0
Apr 21 20:09:18 titus kernel: [  227.121985] Process minicom (pid: 6257, 
threadinfo ffff8100b1c84000, task ffff8100bb97c080)
Apr 21 20:09:18 titus kernel: [  227.121987] Stack:  ffff8100b2bfc400 
ffff8100b2cceff0 0c00000000000282 ffff8100b2bfc400
Apr 21 20:09:18 titus kernel: [  227.121994]  ffff8100b2ce9bc0 ffff8100b14d8000 
ffff8100b2bfc418 00000000ffffffed
Apr 21 20:09:18 titus kernel: [  227.121999]  ffff8100bb981a80 ffffffff8852a2f8 
ffff8100b14fd000 000000000bc00000
Apr 21 20:09:18 titus kernel: [  227.122003] Call Trace:
Apr 21 20:09:18 titus kernel: [  227.122016]  [_end+132674420/2130038908] 
:usbserial:serial_open+0x118/0x190
Apr 21 20:09:18 titus kernel: [  227.122027]  [tty_open+438/848] 
tty_open+0x1b6/0x350
Apr 21 20:09:18 titus kernel: [  227.122035]  [chrdev_open+386/480] 
chrdev_open+0x182/0x1e0
Apr 21 20:09:18 titus kernel: [  227.122041]  [chrdev_open+0/480] 
chrdev_open+0x0/0x1e0
Apr 21 20:09:18 titus kernel: [  227.122046]  [__dentry_open+252/496] 
__dentry_open+0xfc/0x1f0
Apr 21 20:09:18 titus kernel: [  227.122053]  [do_filp_open+45/64] 
do_filp_open+0x2d/0x40
Apr 21 20:09:18 titus kernel: [  227.122061]  [do_setitimer+365/1216] 
do_setitimer+0x16d/0x4c0
Apr 21 20:09:18 titus kernel: [  227.122073]  [do_sys_open+90/256] 
do_sys_open+0x5a/0x100
Apr 21 20:09:18 titus kernel: [  227.122090]  [system_call+126/131] 
system_call+0x7e/0x83
Apr 21 20:09:18 titus kernel: [  227.122098]
Apr 21 20:09:18 titus kernel: [  227.122099]
Apr 21 20:09:18 titus kernel: [  227.122099] Code: 44 8b 47 78 09 c2 48 8b 43 
38 c7 47 04 01 00 00 00 48 89 4f
Apr 21 20:09:18 titus kernel: [  227.122113]  RSP <ffff8100b1c85d58>

And again with SMP disabled:
Apr 21 20:16:58 titus kernel: [  164.839770] usb 1-1: new full speed USB device 
using uhci_hcd and address 2
Apr 21 20:16:58 titus kernel: [  164.999527] usb 1-1: configuration #1 chosen 
from 1 choice
Apr 21 20:16:58 titus kernel: [  165.107183] usbcore: registered new interface 
driver usbserial
Apr 21 20:16:58 titus kernel: [  165.107193] drivers/usb/serial/usb-serial.c: 
USB Serial support registered for generic
Apr 21 20:16:58 titus kernel: [  165.107215] usbcore: registered new interface 
driver usbserial_generic
Apr 21 20:16:58 titus kernel: [  165.107216] drivers/usb/serial/usb-serial.c: 
USB Serial Driver core
Apr 21 20:16:58 titus kernel: [  165.118453] drivers/usb/serial/usb-serial.c: 
USB Serial support registered for Moschip 2 port adapter
Apr 21 20:16:58 titus kernel: [  165.118457] drivers/usb/serial/mos7720.c: 
Moschip USB Serial Driver 1.0.0.4F
Apr 21 20:16:58 titus kernel: [  165.118476] moschip7720 1-1:1.0: Moschip 2 
port adapter converter detected
Apr 21 20:16:58 titus kernel: [  165.123330] usb 1-1: Moschip 2 port adapter 
converter now attached to ttyUSB0
Apr 21 20:16:58 titus kernel: [  165.123377] usb 1-1: Moschip 2 port adapter 
converter now attached to ttyUSB1
Apr 21 20:16:58 titus kernel: [  165.123387] usbcore: registered new interface 
driver moschip7720
Apr 21 20:18:00 titus kernel: [  226.891271] PGD b6ef4067 PUD b21ae067 PMD 0
Apr 21 20:18:00 titus kernel: [  226.891277] CPU 0
Apr 21 20:18:00 titus kernel: [  226.891279] Modules linked in: mos7720 
usbserial binfmt_misc rfcomm l2cap bluetooth nfs nfsd exportfs lockd sunrpc 
radeon drm ppdev cpufreq_userspace cpufreq_powersave cpufreq_conservative 
cpufreq_ondemand cpufreq_stats freq_table nls_iso8859_1 nls_cp437 vfat fat fuse 
sbp2 parport_pc lp parport af_packet snd_hda_intel snd_hda_codec snd_pcm_oss 
snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi 
snd_seq_midi_event usblp snd_seq snd_timer snd_seq_device sky2 snd iTCO_wdt 
psmouse serio_raw iTCO_vendor_support soundcore snd_page_alloc intel_agp shpchp 
pci_hotplug tsdev evdev ext3 jbd mbcache sr_mod cdrom generic ata_generic sg 
sd_mod ohci1394 ieee1394 pata_it821x pata_jmicron ahci libata scsi_mod ehci_hcd 
uhci_hcd usbcore raid1 md_mod dm_mod fbcon tileblit font bitblit softcursor 
vesafb cfbcopyarea cfbimgblt cfbfillrect capability commoncap
Apr 21 20:18:00 titus kernel: [  226.891328] Pid: 6242, comm: minicom Not 
tainted 2.6.20-15-server #2
Apr 21 20:18:00 titus kernel: [  226.891331] RIP: 
0010:[_end+132728563/2130038908]  [_end+132728563/2130038908] 
:mos7720:mos7720_open+0x407/0x5a0
Apr 21 20:18:00 titus kernel: [  226.891337] RSP: 0018:ffff8100b77c9d58  
EFLAGS: 00010202
Apr 21 20:18:00 titus kernel: [  226.891340] RAX: 0000000040000280 RBX: 
ffff8100b5d7cc00 RCX: ffff8100b970e800
Apr 21 20:18:00 titus kernel: [  226.891343] RDX: 0000000000000000 RSI: 
ffffffff8807d2c0 RDI: 0000000000000000
Apr 21 20:18:00 titus kernel: [  226.891346] RBP: ffff8100b77c9d6f R08: 
ffff8100b77c8000 R09: 0000000000000000
Apr 21 20:18:00 titus kernel: [  226.891349] R10: ffff810037d00240 R11: 
0000000000000000 R12: ffff8100b5d7cc00
Apr 21 20:18:00 titus kernel: [  226.891352] R13: ffff8100b664a540 R14: 
ffff8100b5d27dc0 R15: ffff8100b5da9660
Apr 21 20:18:00 titus kernel: [  226.891355] FS:  00002abf788fbb00(0000) 
GS:ffffffff80562000(0000) knlGS:0000000000000000
Apr 21 20:18:00 titus kernel: [  226.891358] CS:  0010 DS: 0000 ES: 0000 CR0: 
000000008005003b
Apr 21 20:18:00 titus kernel: [  226.891361] CR2: 0000000000000078 CR3: 
00000000b6e02000 CR4: 00000000000006e0
Apr 21 20:18:00 titus kernel: [  226.891364] Process minicom (pid: 6242, 
threadinfo ffff8100b77c8000, task ffff8100b21a0140)
Apr 21 20:18:00 titus kernel: [  226.891366] Stack:  ffff8100b5d7cc00 
ffff8100b5d8eff0 0c00000000000282 ffff8100b5d7cc00
Apr 21 20:18:00 titus kernel: [  226.891372]  ffff8100b664a540 ffff8100b6dce800 
ffff8100b5d7cc18 00000000ffffffed
Apr 21 20:18:00 titus kernel: [  226.891376]  ffff8100b6fbb980 ffffffff8852a2f8 
ffff8100b85ef000 000000000bc00000
Apr 21 20:18:00 titus kernel: [  226.891380] Call Trace:
Apr 21 20:18:00 titus kernel: [  226.891393]  [_end+132674420/2130038908] 
:usbserial:serial_open+0x118/0x190
Apr 21 20:18:00 titus kernel: [  226.891413]  [tty_open+438/848] 
tty_open+0x1b6/0x350
Apr 21 20:18:00 titus kernel: [  226.891420]  [chrdev_open+386/480] 
chrdev_open+0x182/0x1e0
Apr 21 20:18:00 titus kernel: [  226.891424]  [chrdev_open+0/480] 
chrdev_open+0x0/0x1e0
Apr 21 20:18:00 titus kernel: [  226.891428]  [__dentry_open+252/496] 
__dentry_open+0xfc/0x1f0
Apr 21 20:18:00 titus kernel: [  226.891434]  [do_filp_open+45/64] 
do_filp_open+0x2d/0x40
Apr 21 20:18:00 titus kernel: [  226.891440]  [do_setitimer+365/1216] 
do_setitimer+0x16d/0x4c0
Apr 21 20:18:00 titus kernel: [  226.891449]  [do_sys_open+90/256] 
do_sys_open+0x5a/0x100
Apr 21 20:18:00 titus kernel: [  226.891454]  [system_call+126/131] 
system_call+0x7e/0x83
Apr 21 20:18:00 titus kernel: [  226.891463]
Apr 21 20:18:00 titus kernel: [  226.891464]
Apr 21 20:18:00 titus kernel: [  226.891464] Code: 44 8b 47 78 09 c2 48 8b 43 
38 c7 47 04 01 00 00 00 48 89 4f
Apr 21 20:18:00 titus kernel: [  226.891475]  RSP <ffff8100b77c9d58>

Here's the output of lsusb

Bus 007 Device 001: ID 0000:0000  
Bus 006 Device 001: ID 0000:0000  
Bus 005 Device 001: ID 0000:0000  
Bus 004 Device 003: ID 03f0:4f11 Hewlett-Packard 
Bus 004 Device 001: ID 0000:0000  
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 002: ID 9710:7720 MosChip Semiconductor 
Bus 001 Device 001: ID 0000:0000  

And the output of: lsusb -vd 9710:7720

Bus 001 Device 002: ID 9710:7720 MosChip Semiconductor 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         0 
  bDeviceProtocol       255 
  bMaxPacketSize0         8
  idVendor           0x9710 MosChip Semiconductor
  idProduct          0x7720 
  bcdDevice            1.00
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           53
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           5
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol    255 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval             255
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x06  EP 6 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval             255
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x87  EP 7 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval               1
Device Status:     0x0002
  (Bus Powered)
  Remote Wakeup Enabled

** Affects: linux-source-2.6.20 (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
mos7720.ko oops on open
https://bugs.launchpad.net/bugs/108490
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to