Bug 134299 - Kernel Panic plugging in MF626 USB UMTS Stick u3g
Summary: Kernel Panic plugging in MF626 USB UMTS Stick u3g
Status: Closed Not Accepted
Alias: None
Product: Base System
Classification: Unclassified
Component: usb (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-usb (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-06 20:20 UTC by Paul Gültekin
Modified: 2018-02-15 08:58 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Gültekin 2009-05-06 20:20:02 UTC
After plugging in the USB Dongle (with loaded u3g.ko) the Kernel panics.

Dumpinfo:
Dump header from device /dev/ad4s1b
  Architecture: i386
  Architecture Version: 2
  Dump Length: 211591168B (201 MB)
  Blocksize: 512
  Dumptime: Wed May  6 20:29:17 2009
  Hostname: ghostrunner
  Magic: FreeBSD Kernel Dump
  Version String: FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009
    root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
  Panic String: page fault
  Dump Parity: 2540482635
  Bounds: 3
  Dump Status: good

----------
usbdevs Output bevor plugging in 

 addr 1: OHCI root hub, nVidia
  addr 2: USB-PS/2 Optical Mouse, Logitech
  addr 3: HP Integrated Module, Broadcom Corp
 addr 1: EHCI root hub, nVidia
  addr 2: product 0x6560, vendor 0x04b4
   addr 3: USB 2.0 Camera, Sonix Technology Co., Ltd.
   addr 4: USB TouchController, eGalax INC.
  addr 5: ZTE CDMA Technologies MSM, ZTE,Incorporated

-----------

The Stick seems to be detected as CDROM:
 <ZTE USB SCSI CD-ROM 2.31>         at scbus4 target 0 lun 0 (pass1,cd1)

in this State, loading the u3g.ko will cause an kernel panic.

After sending a EJECT with camcontrol 

 (root@ghostrunner) [/var/crash]# camcontrol eject cd1                     
 Unit stopped successfully, Media ejected

the Stick appears as Cardreader
 <ZTE MMC Storage 2.31>             at scbus4 target 0 lun 0 (pass1,da0)


in this State, loading the u3g.ko will NOT cause an kernel panic.

How-To-Repeat: After plugging in the USB Device MF626 with loaded u3g.ko
or load u3g.ko with plugged in USB Device MF626
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:36 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 2 Hans Petter Selasky freebsd_committer freebsd_triage 2018-01-19 13:02:56 UTC
It is likely that some USB bugs are present in older versions of FreeBSD < 8.x. It is recommended to use a newer version of FreeBSD. Please re-open if you think this is still an issue.
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-01-19 13:07:37 UTC
A commit references this bug:

Author: hselasky
Date: Fri Jan 19 13:06:36 UTC 2018
New revision: 328163
URL: https://svnweb.freebsd.org/changeset/base/328163

Log:
  Add new USB ID to U3G driver.

  PR:		134299
  MFC after:	1 week
  Sponsored by:	Mellanox Technologies

Changes:
  head/sys/dev/usb/serial/u3g.c
  head/sys/dev/usb/usbdevs
Comment 4 commit-hook freebsd_committer freebsd_triage 2018-02-15 08:56:57 UTC
A commit references this bug:

Author: hselasky
Date: Thu Feb 15 08:56:04 UTC 2018
New revision: 329303
URL: https://svnweb.freebsd.org/changeset/base/329303

Log:
  MFC r328163:
  Add new USB ID to U3G driver.

  PR:		134299
  Sponsored by:	Mellanox Technologies

Changes:
_U  stable/11/
  stable/11/sys/dev/usb/serial/u3g.c
  stable/11/sys/dev/usb/usbdevs
Comment 5 commit-hook freebsd_committer freebsd_triage 2018-02-15 08:58:00 UTC
A commit references this bug:

Author: hselasky
Date: Thu Feb 15 08:57:15 UTC 2018
New revision: 329304
URL: https://svnweb.freebsd.org/changeset/base/329304

Log:
  MFC r328163:
  Add new USB ID to U3G driver.

  PR:		134299
  Sponsored by:	Mellanox Technologies

Changes:
_U  stable/10/
  stable/10/sys/dev/usb/serial/u3g.c
  stable/10/sys/dev/usb/usbdevs