[Kernel-packages] [Bug 1058030] Re: Log full of xhci_hcd WARN

2014-05-30 Thread Moez Bouhlel
when enabling runtime PM of the usb3 controller, I start getting the same 
warning message[0] and the usb3 port become unusable (sometime i get an other 
error message too[2])
then when disabling the runtime PM of the controller and plugout/plugin the usb 
device, I don't get the warning message anymore
This happens on both my ubuntu  my archlinux (kernel-3.14.4) for the same 
reason
NOTE:
I'm also getting  some other errors from time to time [2] [3]
My EFI/BIOS firmware is up-to-date  but seems still buggy and I'm having some 
acpi compatibility issues, even I'm having bug on usb_wan module only on ubuntu 
caused mostly by the firmware [4]

[0] xhci_hcd :00:14.0: WARN Event TRB for slot 20 ep 14 with no TDs queued?
[1] xhci_hcd :00:14.0: xHCI xhci_drop_endpoint called with disabled ep 
88023021bc00
[2] usb 1-3: device not accepting address 4, error -71
[3] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19)
[4] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1308537

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1058030

Title:
  Log full of xhci_hcd WARN

Status in “linux” package in Ubuntu:
  Expired

Bug description:
  Under Quantal beta, my /var/log/syslog is flooded with warning messages. 
sylog is full of warning like this :
  xhci_hcd :00:14.0: WARN Event TRB for slot 1 ep 6 with no TDs queued?

  (number after ep changes, but the rest is always the same). There is
  something like 10 such messages every second.

  ---
  ApportVersion: 2.5.2-0ubuntu4
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  franck 2961 F pulseaudio
  CRDA: Error: [Errno 2] Aucun fichier ou dossier de ce type
  CheckboxSubmission: cba860c6453f7c09f91c40eab660deed
  CheckboxSystem: bb422ca46d02494cdbc459927a98bc2f
  DistroRelease: Ubuntu 12.10
  EcryptfsInUse: Yes
  HibernationDevice: RESUME=UUID=c30f3bae-0dba-40ff-b4d4-9dd5bbccb2aa
  InstallationMedia: Ubuntu-Server 12.04 LTS Precise Pangolin - Release amd64 
(20120424.1)
  MachineType: LENOVO 2353CTO
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-15-generic 
root=/dev/mapper/system-root ro quiet splash elevator=noop vt.handoff=7
  ProcVersionSignature: Ubuntu 3.5.0-15.23-generic 3.5.4
  RelatedPackageVersions:
   linux-restricted-modules-3.5.0-15-generic N/A
   linux-backports-modules-3.5.0-15-generic  N/A
   linux-firmware1.94
  Tags:  quantal running-unity
  Uname: Linux 3.5.0-15-generic x86_64
  UpgradeStatus: Upgraded to quantal on 2012-09-14 (13 days ago)
  UserGroups: adm cdrom dip libvirtd lpadmin plugdev sambashare sudo wireshark
  dmi.bios.date: 07/02/2012
  dmi.bios.vendor: LENOVO
  dmi.bios.version: G7ET31WW (1.13 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 2353CTO
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Defined
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: 
dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2353CTO:pvrThinkPadT430s:rvnLENOVO:rn2353CTO:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 2353CTO
  dmi.product.version: ThinkPad T430s
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1058030/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1308537] Re: [usb_wwan] unable to handle kernel NULL pointer dereference

2014-05-12 Thread Moez Bouhlel
yes, it solves the problem

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1308537

Title:
  [usb_wwan] unable to handle kernel NULL pointer dereference

Status in “linux” package in Ubuntu:
  Triaged

Bug description:
  the lastest linux kernel update 3.13.0-24.46-generic 3.13.9 (maybe the
  previous one too) causes ModemManager to crash.

  sometimes, when using my usb modem (Huawei E367), it disconnects, and it 
becomes no longer detected by networkManager
  even lsusb command doesn't works (terminal waiting for command output) and 
shut-downing laptop doesn't complete

  this happens rarely since last days (~6 days), i'm not sure if the 2
  previous kernel update had the same problems.

  note: some updates i did since last week:
usb-modeswitch to 2.1.1+repack0-1ubuntu1
usb-modemswitch-data to 20140327-1
network-manager to 0.9.8.8-0ubuntu7
modemmanager to 1.0.0-2ubuntu1

  that's a part of dmesg:

  [   60.800205] usb 1-1.2: new high-speed USB device number 6 using ehci-pci
  [   60.894660] usb 1-1.2: New USB device found, idVendor=12d1, idProduct=1506
  [   60.894665] usb 1-1.2: New USB device strings: Mfr=4, Product=3, 
SerialNumber=0
  [   60.894667] usb 1-1.2: Product: HUAWEI Mobile
  [   60.894670] usb 1-1.2: Manufacturer: Huawei Technologies
  [   60.995115] usb-storage 1-1.2:1.5: USB Mass Storage device detected
  [   60.995253] scsi9 : usb-storage 1-1.2:1.5
  [   60.995376] usb-storage 1-1.2:1.6: USB Mass Storage device detected
  [   60.995546] scsi10 : usb-storage 1-1.2:1.6
  [   61.496860] init: plymouth-stop pre-start process (2937) terminated with 
status 1
  [   61.670486] usbcore: registered new interface driver usbserial
  [   61.670497] usbcore: registered new interface driver usbserial_generic
  [   61.670504] usbserial: USB Serial support registered for generic
  [   61.745311] usbcore: registered new interface driver option
  [   61.745343] usbserial: USB Serial support registered for GSM modem (1-port)
  [   61.745440] option 1-1.2:1.0: GSM modem (1-port) converter detected
  [   61.745647] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
  [   61.745708] option 1-1.2:1.3: GSM modem (1-port) converter detected
  [   61.745841] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
  [   61.745854] option 1-1.2:1.4: GSM modem (1-port) converter detected
  [   61.745915] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
  [   61.770270] usbcore: registered new interface driver cdc_wdm
  [   61.843039] qmi_wwan 1-1.2:1.1: cdc-wdm0: USB WDM device
  [   61.843302] qmi_wwan 1-1.2:1.1 wwan0: register 'qmi_wwan' at 
usb-:00:1a.0-1.2, WWAN/QMI device, ea:19:6a:61:bf:5c
  [   61.843444] usbcore: registered new interface driver qmi_wwan
  [   61.849565] init: Failed to spawn ufw pre-start process: unable to 
execute: No such file or directory
  [   61.851836] init: Failed to spawn ufw post-stop process: unable to 
execute: No such file or directory
  [   66.340565] audit_printk_skb: 225 callbacks suppressed
  [   66.340568] type=1400 audit(1397646973.192:87): apparmor=DENIED 
operation=mkdir profile=/usr/lib/telepathy/mission-control-5 
name=/var/lib/gdm/.config/libaccounts-glib/ pid=3731 comm=mission-control 
requested_mask=c denied_mask=c fsuid=124 ouid=124
  [   66.341982] type=1400 audit(1397646973.196:88): apparmor=DENIED 
operation=open profile=/usr/lib/telepathy/mission-control-5 
name=/usr/share/dconf/profile/gdm pid=3731 comm=mission-control 
requested_mask=r denied_mask=r fsuid=124 ouid=0
  [   67.019714] scsi 9:0:0:0: CD-ROMHUAWEI   Mass Storage 2.31 
PQ: 0 ANSI: 2
  [   67.022204] scsi 10:0:0:0: Direct-Access HUAWEI   TF CARD Storage  
 PQ: 0 ANSI: 2
  [   67.024330] sr1: scsi-1 drive
  [   67.024458] sr 9:0:0:0: Attached scsi CD-ROM sr1
  [   67.024520] sr 9:0:0:0: Attached scsi generic sg2 type 5
  [   67.025063] sd 10:0:0:0: Attached scsi generic sg3 type 0
  [   67.028154] sd 10:0:0:0: [sdb] Attached SCSI removable disk
  [   76.842946] usb 1-1.2: USB disconnect, device number 6
  [   76.845200] option1 ttyUSB0: option_instat_callback: error -108
  [   76.845383] option1 ttyUSB0: GSM modem (1-port) converter now disconnected 
from ttyUSB0
  [   76.845400] option 1-1.2:1.0: device disconnected
  [   76.847619] qmi_wwan 1-1.2:1.1 wwan0: unregister 'qmi_wwan' 
usb-:00:1a.0-1.2, WWAN/QMI device
  [   76.866208] option1 ttyUSB1: GSM modem (1-port) converter now disconnected 
from ttyUSB1
  [   76.866237] option 1-1.2:1.3: device disconnected
  [   76.866391] option1 ttyUSB2: GSM modem (1-port) converter now disconnected 
from ttyUSB2
  [   76.866407] option 1-1.2:1.4: device disconnected
  [   80.171902] type=1400 audit(1397646987.012:89): apparmor=STATUS 
operation=profile_replace profile=unconfined 
name=/usr/lib/cups/backend/cups-pdf pid=3868 comm=apparmor_parser
  [   80.171910] 

[Kernel-packages] [Bug 1308537] Re: [usb_wwan] unable to handle kernel NULL pointer dereference

2014-05-11 Thread Moez Bouhlel
** Tags removed: bios-outdated-6.80

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1308537

Title:
  [usb_wwan] unable to handle kernel NULL pointer dereference

Status in “linux” package in Ubuntu:
  Triaged

Bug description:
  the lastest linux kernel update 3.13.0-24.46-generic 3.13.9 (maybe the
  previous one too) causes ModemManager to crash.

  sometimes, when using my usb modem (Huawei E367), it disconnects, and it 
becomes no longer detected by networkManager
  even lsusb command doesn't works (terminal waiting for command output) and 
shut-downing laptop doesn't complete

  this happens rarely since last days (~6 days), i'm not sure if the 2
  previous kernel update had the same problems.

  note: some updates i did since last week:
usb-modeswitch to 2.1.1+repack0-1ubuntu1
usb-modemswitch-data to 20140327-1
network-manager to 0.9.8.8-0ubuntu7
modemmanager to 1.0.0-2ubuntu1

  that's a part of dmesg:

  [   60.800205] usb 1-1.2: new high-speed USB device number 6 using ehci-pci
  [   60.894660] usb 1-1.2: New USB device found, idVendor=12d1, idProduct=1506
  [   60.894665] usb 1-1.2: New USB device strings: Mfr=4, Product=3, 
SerialNumber=0
  [   60.894667] usb 1-1.2: Product: HUAWEI Mobile
  [   60.894670] usb 1-1.2: Manufacturer: Huawei Technologies
  [   60.995115] usb-storage 1-1.2:1.5: USB Mass Storage device detected
  [   60.995253] scsi9 : usb-storage 1-1.2:1.5
  [   60.995376] usb-storage 1-1.2:1.6: USB Mass Storage device detected
  [   60.995546] scsi10 : usb-storage 1-1.2:1.6
  [   61.496860] init: plymouth-stop pre-start process (2937) terminated with 
status 1
  [   61.670486] usbcore: registered new interface driver usbserial
  [   61.670497] usbcore: registered new interface driver usbserial_generic
  [   61.670504] usbserial: USB Serial support registered for generic
  [   61.745311] usbcore: registered new interface driver option
  [   61.745343] usbserial: USB Serial support registered for GSM modem (1-port)
  [   61.745440] option 1-1.2:1.0: GSM modem (1-port) converter detected
  [   61.745647] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
  [   61.745708] option 1-1.2:1.3: GSM modem (1-port) converter detected
  [   61.745841] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
  [   61.745854] option 1-1.2:1.4: GSM modem (1-port) converter detected
  [   61.745915] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
  [   61.770270] usbcore: registered new interface driver cdc_wdm
  [   61.843039] qmi_wwan 1-1.2:1.1: cdc-wdm0: USB WDM device
  [   61.843302] qmi_wwan 1-1.2:1.1 wwan0: register 'qmi_wwan' at 
usb-:00:1a.0-1.2, WWAN/QMI device, ea:19:6a:61:bf:5c
  [   61.843444] usbcore: registered new interface driver qmi_wwan
  [   61.849565] init: Failed to spawn ufw pre-start process: unable to 
execute: No such file or directory
  [   61.851836] init: Failed to spawn ufw post-stop process: unable to 
execute: No such file or directory
  [   66.340565] audit_printk_skb: 225 callbacks suppressed
  [   66.340568] type=1400 audit(1397646973.192:87): apparmor=DENIED 
operation=mkdir profile=/usr/lib/telepathy/mission-control-5 
name=/var/lib/gdm/.config/libaccounts-glib/ pid=3731 comm=mission-control 
requested_mask=c denied_mask=c fsuid=124 ouid=124
  [   66.341982] type=1400 audit(1397646973.196:88): apparmor=DENIED 
operation=open profile=/usr/lib/telepathy/mission-control-5 
name=/usr/share/dconf/profile/gdm pid=3731 comm=mission-control 
requested_mask=r denied_mask=r fsuid=124 ouid=0
  [   67.019714] scsi 9:0:0:0: CD-ROMHUAWEI   Mass Storage 2.31 
PQ: 0 ANSI: 2
  [   67.022204] scsi 10:0:0:0: Direct-Access HUAWEI   TF CARD Storage  
 PQ: 0 ANSI: 2
  [   67.024330] sr1: scsi-1 drive
  [   67.024458] sr 9:0:0:0: Attached scsi CD-ROM sr1
  [   67.024520] sr 9:0:0:0: Attached scsi generic sg2 type 5
  [   67.025063] sd 10:0:0:0: Attached scsi generic sg3 type 0
  [   67.028154] sd 10:0:0:0: [sdb] Attached SCSI removable disk
  [   76.842946] usb 1-1.2: USB disconnect, device number 6
  [   76.845200] option1 ttyUSB0: option_instat_callback: error -108
  [   76.845383] option1 ttyUSB0: GSM modem (1-port) converter now disconnected 
from ttyUSB0
  [   76.845400] option 1-1.2:1.0: device disconnected
  [   76.847619] qmi_wwan 1-1.2:1.1 wwan0: unregister 'qmi_wwan' 
usb-:00:1a.0-1.2, WWAN/QMI device
  [   76.866208] option1 ttyUSB1: GSM modem (1-port) converter now disconnected 
from ttyUSB1
  [   76.866237] option 1-1.2:1.3: device disconnected
  [   76.866391] option1 ttyUSB2: GSM modem (1-port) converter now disconnected 
from ttyUSB2
  [   76.866407] option 1-1.2:1.4: device disconnected
  [   80.171902] type=1400 audit(1397646987.012:89): apparmor=STATUS 
operation=profile_replace profile=unconfined 
name=/usr/lib/cups/backend/cups-pdf pid=3868 comm=apparmor_parser
  [   

[Kernel-packages] [Bug 1308537] Re: [usb_wwan] unable to handle kernel NULL pointer dereference

2014-05-11 Thread Moez Bouhlel
I have deleted the bios-outdated-6.80 flag as this bug affects peoples
with other BIOSs and it stills happens even after updating the BIOS as
long as the patch posted by @henrix was not applied to the running
kernel

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1308537

Title:
  [usb_wwan] unable to handle kernel NULL pointer dereference

Status in “linux” package in Ubuntu:
  Triaged

Bug description:
  the lastest linux kernel update 3.13.0-24.46-generic 3.13.9 (maybe the
  previous one too) causes ModemManager to crash.

  sometimes, when using my usb modem (Huawei E367), it disconnects, and it 
becomes no longer detected by networkManager
  even lsusb command doesn't works (terminal waiting for command output) and 
shut-downing laptop doesn't complete

  this happens rarely since last days (~6 days), i'm not sure if the 2
  previous kernel update had the same problems.

  note: some updates i did since last week:
usb-modeswitch to 2.1.1+repack0-1ubuntu1
usb-modemswitch-data to 20140327-1
network-manager to 0.9.8.8-0ubuntu7
modemmanager to 1.0.0-2ubuntu1

  that's a part of dmesg:

  [   60.800205] usb 1-1.2: new high-speed USB device number 6 using ehci-pci
  [   60.894660] usb 1-1.2: New USB device found, idVendor=12d1, idProduct=1506
  [   60.894665] usb 1-1.2: New USB device strings: Mfr=4, Product=3, 
SerialNumber=0
  [   60.894667] usb 1-1.2: Product: HUAWEI Mobile
  [   60.894670] usb 1-1.2: Manufacturer: Huawei Technologies
  [   60.995115] usb-storage 1-1.2:1.5: USB Mass Storage device detected
  [   60.995253] scsi9 : usb-storage 1-1.2:1.5
  [   60.995376] usb-storage 1-1.2:1.6: USB Mass Storage device detected
  [   60.995546] scsi10 : usb-storage 1-1.2:1.6
  [   61.496860] init: plymouth-stop pre-start process (2937) terminated with 
status 1
  [   61.670486] usbcore: registered new interface driver usbserial
  [   61.670497] usbcore: registered new interface driver usbserial_generic
  [   61.670504] usbserial: USB Serial support registered for generic
  [   61.745311] usbcore: registered new interface driver option
  [   61.745343] usbserial: USB Serial support registered for GSM modem (1-port)
  [   61.745440] option 1-1.2:1.0: GSM modem (1-port) converter detected
  [   61.745647] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
  [   61.745708] option 1-1.2:1.3: GSM modem (1-port) converter detected
  [   61.745841] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
  [   61.745854] option 1-1.2:1.4: GSM modem (1-port) converter detected
  [   61.745915] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
  [   61.770270] usbcore: registered new interface driver cdc_wdm
  [   61.843039] qmi_wwan 1-1.2:1.1: cdc-wdm0: USB WDM device
  [   61.843302] qmi_wwan 1-1.2:1.1 wwan0: register 'qmi_wwan' at 
usb-:00:1a.0-1.2, WWAN/QMI device, ea:19:6a:61:bf:5c
  [   61.843444] usbcore: registered new interface driver qmi_wwan
  [   61.849565] init: Failed to spawn ufw pre-start process: unable to 
execute: No such file or directory
  [   61.851836] init: Failed to spawn ufw post-stop process: unable to 
execute: No such file or directory
  [   66.340565] audit_printk_skb: 225 callbacks suppressed
  [   66.340568] type=1400 audit(1397646973.192:87): apparmor=DENIED 
operation=mkdir profile=/usr/lib/telepathy/mission-control-5 
name=/var/lib/gdm/.config/libaccounts-glib/ pid=3731 comm=mission-control 
requested_mask=c denied_mask=c fsuid=124 ouid=124
  [   66.341982] type=1400 audit(1397646973.196:88): apparmor=DENIED 
operation=open profile=/usr/lib/telepathy/mission-control-5 
name=/usr/share/dconf/profile/gdm pid=3731 comm=mission-control 
requested_mask=r denied_mask=r fsuid=124 ouid=0
  [   67.019714] scsi 9:0:0:0: CD-ROMHUAWEI   Mass Storage 2.31 
PQ: 0 ANSI: 2
  [   67.022204] scsi 10:0:0:0: Direct-Access HUAWEI   TF CARD Storage  
 PQ: 0 ANSI: 2
  [   67.024330] sr1: scsi-1 drive
  [   67.024458] sr 9:0:0:0: Attached scsi CD-ROM sr1
  [   67.024520] sr 9:0:0:0: Attached scsi generic sg2 type 5
  [   67.025063] sd 10:0:0:0: Attached scsi generic sg3 type 0
  [   67.028154] sd 10:0:0:0: [sdb] Attached SCSI removable disk
  [   76.842946] usb 1-1.2: USB disconnect, device number 6
  [   76.845200] option1 ttyUSB0: option_instat_callback: error -108
  [   76.845383] option1 ttyUSB0: GSM modem (1-port) converter now disconnected 
from ttyUSB0
  [   76.845400] option 1-1.2:1.0: device disconnected
  [   76.847619] qmi_wwan 1-1.2:1.1 wwan0: unregister 'qmi_wwan' 
usb-:00:1a.0-1.2, WWAN/QMI device
  [   76.866208] option1 ttyUSB1: GSM modem (1-port) converter now disconnected 
from ttyUSB1
  [   76.866237] option 1-1.2:1.3: device disconnected
  [   76.866391] option1 ttyUSB2: GSM modem (1-port) converter now disconnected 
from ttyUSB2
  [   76.866407] option 1-1.2:1.4: device disconnected
  [   

[Kernel-packages] [Bug 1308537] Re: [usb_wwan] unable to handle kernel NULL pointer dereference

2014-05-11 Thread Moez Bouhlel
$  sudo dmidecode -s bios-version  sudo dmidecode -s bios-release-date
6.80
10/01/2013

I have updated the bios. but I'm still getting the same ACPI errors on
dmesg output.

I noticed this error on dmesg output on both ubuntu and archlinux many times:
usb 1-3: device not accepting address 4, error -71
this error is a  protocol error (-71: -EPROTO[0]) and it's mostly caused by 
hardware/firmware issues or some unknown errors[1]
On my archlinux, I'm using linux-lts 3.10.39  connman/ofono, I didn't get this 
kernel bug, but, the connection is unstable and the usb modem disconnect many 
times

I have tested other usb devices and I got the same -EPROTO error
message. So, the issue is on the host side. but I can not confirm if
it's caused by the hardware or the firmware. Maybe if i got time in
coming days, I will try to look into the ACPI DSDT code

[0] https://www.kernel.org/doc/Documentation/usb/error-codes.txt
[1] https://bugzilla.kernel.org/show_bug.cgi?id=6078


** Bug watch added: Linux Kernel Bug Tracker #6078
   http://bugzilla.kernel.org/show_bug.cgi?id=6078

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1308537

Title:
  [usb_wwan] unable to handle kernel NULL pointer dereference

Status in “linux” package in Ubuntu:
  Triaged

Bug description:
  the lastest linux kernel update 3.13.0-24.46-generic 3.13.9 (maybe the
  previous one too) causes ModemManager to crash.

  sometimes, when using my usb modem (Huawei E367), it disconnects, and it 
becomes no longer detected by networkManager
  even lsusb command doesn't works (terminal waiting for command output) and 
shut-downing laptop doesn't complete

  this happens rarely since last days (~6 days), i'm not sure if the 2
  previous kernel update had the same problems.

  note: some updates i did since last week:
usb-modeswitch to 2.1.1+repack0-1ubuntu1
usb-modemswitch-data to 20140327-1
network-manager to 0.9.8.8-0ubuntu7
modemmanager to 1.0.0-2ubuntu1

  that's a part of dmesg:

  [   60.800205] usb 1-1.2: new high-speed USB device number 6 using ehci-pci
  [   60.894660] usb 1-1.2: New USB device found, idVendor=12d1, idProduct=1506
  [   60.894665] usb 1-1.2: New USB device strings: Mfr=4, Product=3, 
SerialNumber=0
  [   60.894667] usb 1-1.2: Product: HUAWEI Mobile
  [   60.894670] usb 1-1.2: Manufacturer: Huawei Technologies
  [   60.995115] usb-storage 1-1.2:1.5: USB Mass Storage device detected
  [   60.995253] scsi9 : usb-storage 1-1.2:1.5
  [   60.995376] usb-storage 1-1.2:1.6: USB Mass Storage device detected
  [   60.995546] scsi10 : usb-storage 1-1.2:1.6
  [   61.496860] init: plymouth-stop pre-start process (2937) terminated with 
status 1
  [   61.670486] usbcore: registered new interface driver usbserial
  [   61.670497] usbcore: registered new interface driver usbserial_generic
  [   61.670504] usbserial: USB Serial support registered for generic
  [   61.745311] usbcore: registered new interface driver option
  [   61.745343] usbserial: USB Serial support registered for GSM modem (1-port)
  [   61.745440] option 1-1.2:1.0: GSM modem (1-port) converter detected
  [   61.745647] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
  [   61.745708] option 1-1.2:1.3: GSM modem (1-port) converter detected
  [   61.745841] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
  [   61.745854] option 1-1.2:1.4: GSM modem (1-port) converter detected
  [   61.745915] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
  [   61.770270] usbcore: registered new interface driver cdc_wdm
  [   61.843039] qmi_wwan 1-1.2:1.1: cdc-wdm0: USB WDM device
  [   61.843302] qmi_wwan 1-1.2:1.1 wwan0: register 'qmi_wwan' at 
usb-:00:1a.0-1.2, WWAN/QMI device, ea:19:6a:61:bf:5c
  [   61.843444] usbcore: registered new interface driver qmi_wwan
  [   61.849565] init: Failed to spawn ufw pre-start process: unable to 
execute: No such file or directory
  [   61.851836] init: Failed to spawn ufw post-stop process: unable to 
execute: No such file or directory
  [   66.340565] audit_printk_skb: 225 callbacks suppressed
  [   66.340568] type=1400 audit(1397646973.192:87): apparmor=DENIED 
operation=mkdir profile=/usr/lib/telepathy/mission-control-5 
name=/var/lib/gdm/.config/libaccounts-glib/ pid=3731 comm=mission-control 
requested_mask=c denied_mask=c fsuid=124 ouid=124
  [   66.341982] type=1400 audit(1397646973.196:88): apparmor=DENIED 
operation=open profile=/usr/lib/telepathy/mission-control-5 
name=/usr/share/dconf/profile/gdm pid=3731 comm=mission-control 
requested_mask=r denied_mask=r fsuid=124 ouid=0
  [   67.019714] scsi 9:0:0:0: CD-ROMHUAWEI   Mass Storage 2.31 
PQ: 0 ANSI: 2
  [   67.022204] scsi 10:0:0:0: Direct-Access HUAWEI   TF CARD Storage  
 PQ: 0 ANSI: 2
  [   67.024330] sr1: scsi-1 drive
  [   67.024458] sr 9:0:0:0: Attached scsi CD-ROM sr1
  [   67.024520] sr 

[Kernel-packages] [Bug 1308537] Re: [usb_wwan] unable to handle kernel NULL pointer dereference

2014-04-22 Thread Moez Bouhlel
@henrix: ok, i'm going to try it
@penalvch: Toshiba Bios executable requires a running windows 8 system on the 
laptop (neither wine nor freedos nor virtual machine worked), so, i may not be 
able to update the bios anytime soon

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1308537

Title:
  [usb_wwan] unable to handle kernel NULL pointer dereference

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  the lastest linux kernel update 3.13.0-24.46-generic 3.13.9 (maybe the
  previous one too) causes ModemManager to crash.

  sometimes, when using my usb modem (Huawei E367), it disconnects, and it 
becomes no longer detected by networkManager
  even lsusb command doesn't works (terminal waiting for command output) and 
shut-downing laptop doesn't complete

  this happens rarely since last days (~6 days), i'm not sure if the 2
  previous kernel update had the same problems.

  note: some updates i did since last week:
usb-modeswitch to 2.1.1+repack0-1ubuntu1
usb-modemswitch-data to 20140327-1
network-manager to 0.9.8.8-0ubuntu7
modemmanager to 1.0.0-2ubuntu1

  that's a part of dmesg:

  [   60.800205] usb 1-1.2: new high-speed USB device number 6 using ehci-pci
  [   60.894660] usb 1-1.2: New USB device found, idVendor=12d1, idProduct=1506
  [   60.894665] usb 1-1.2: New USB device strings: Mfr=4, Product=3, 
SerialNumber=0
  [   60.894667] usb 1-1.2: Product: HUAWEI Mobile
  [   60.894670] usb 1-1.2: Manufacturer: Huawei Technologies
  [   60.995115] usb-storage 1-1.2:1.5: USB Mass Storage device detected
  [   60.995253] scsi9 : usb-storage 1-1.2:1.5
  [   60.995376] usb-storage 1-1.2:1.6: USB Mass Storage device detected
  [   60.995546] scsi10 : usb-storage 1-1.2:1.6
  [   61.496860] init: plymouth-stop pre-start process (2937) terminated with 
status 1
  [   61.670486] usbcore: registered new interface driver usbserial
  [   61.670497] usbcore: registered new interface driver usbserial_generic
  [   61.670504] usbserial: USB Serial support registered for generic
  [   61.745311] usbcore: registered new interface driver option
  [   61.745343] usbserial: USB Serial support registered for GSM modem (1-port)
  [   61.745440] option 1-1.2:1.0: GSM modem (1-port) converter detected
  [   61.745647] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
  [   61.745708] option 1-1.2:1.3: GSM modem (1-port) converter detected
  [   61.745841] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
  [   61.745854] option 1-1.2:1.4: GSM modem (1-port) converter detected
  [   61.745915] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
  [   61.770270] usbcore: registered new interface driver cdc_wdm
  [   61.843039] qmi_wwan 1-1.2:1.1: cdc-wdm0: USB WDM device
  [   61.843302] qmi_wwan 1-1.2:1.1 wwan0: register 'qmi_wwan' at 
usb-:00:1a.0-1.2, WWAN/QMI device, ea:19:6a:61:bf:5c
  [   61.843444] usbcore: registered new interface driver qmi_wwan
  [   61.849565] init: Failed to spawn ufw pre-start process: unable to 
execute: No such file or directory
  [   61.851836] init: Failed to spawn ufw post-stop process: unable to 
execute: No such file or directory
  [   66.340565] audit_printk_skb: 225 callbacks suppressed
  [   66.340568] type=1400 audit(1397646973.192:87): apparmor=DENIED 
operation=mkdir profile=/usr/lib/telepathy/mission-control-5 
name=/var/lib/gdm/.config/libaccounts-glib/ pid=3731 comm=mission-control 
requested_mask=c denied_mask=c fsuid=124 ouid=124
  [   66.341982] type=1400 audit(1397646973.196:88): apparmor=DENIED 
operation=open profile=/usr/lib/telepathy/mission-control-5 
name=/usr/share/dconf/profile/gdm pid=3731 comm=mission-control 
requested_mask=r denied_mask=r fsuid=124 ouid=0
  [   67.019714] scsi 9:0:0:0: CD-ROMHUAWEI   Mass Storage 2.31 
PQ: 0 ANSI: 2
  [   67.022204] scsi 10:0:0:0: Direct-Access HUAWEI   TF CARD Storage  
 PQ: 0 ANSI: 2
  [   67.024330] sr1: scsi-1 drive
  [   67.024458] sr 9:0:0:0: Attached scsi CD-ROM sr1
  [   67.024520] sr 9:0:0:0: Attached scsi generic sg2 type 5
  [   67.025063] sd 10:0:0:0: Attached scsi generic sg3 type 0
  [   67.028154] sd 10:0:0:0: [sdb] Attached SCSI removable disk
  [   76.842946] usb 1-1.2: USB disconnect, device number 6
  [   76.845200] option1 ttyUSB0: option_instat_callback: error -108
  [   76.845383] option1 ttyUSB0: GSM modem (1-port) converter now disconnected 
from ttyUSB0
  [   76.845400] option 1-1.2:1.0: device disconnected
  [   76.847619] qmi_wwan 1-1.2:1.1 wwan0: unregister 'qmi_wwan' 
usb-:00:1a.0-1.2, WWAN/QMI device
  [   76.866208] option1 ttyUSB1: GSM modem (1-port) converter now disconnected 
from ttyUSB1
  [   76.866237] option 1-1.2:1.3: device disconnected
  [   76.866391] option1 ttyUSB2: GSM modem (1-port) converter now disconnected 
from ttyUSB2
  [   76.866407] option 1-1.2:1.4: device disconnected

[Kernel-packages] [Bug 1308537] Re: [usb_wwan] unable to handle kernel NULL pointer dereference

2014-04-22 Thread Moez Bouhlel
@henrix: that's a part of the output after applying the patch:
now, the usb modem reconnect just fine


[ 5588.532572] usb 1-1.2: USB disconnect, device number 6
[ 5588.534775] option1 ttyUSB0: option_instat_callback: error -108
[ 5588.534896] option1 ttyUSB0: GSM modem (1-port) converter now disconnected 
from ttyUSB0
[ 5588.534910] option 1-1.2:1.0: device disconnected
[ 5588.535946] option1 ttyUSB1: usb_wwan_indat_callback: resubmit read urb 
failed. (-19)
[ 5588.536195] option1 ttyUSB2: usb_wwan_indat_callback: resubmit read urb 
failed. (-19)
[ 5588.536993] qmi_wwan 1-1.2:1.1 wwan0: unregister 'qmi_wwan' 
usb-:00:1a.0-1.2, WWAN/QMI device
[ 5588.540203] option1 ttyUSB1: usb_wwan_indat_callback: resubmit read urb 
failed. (-19)
[ 5588.540448] option1 ttyUSB2: usb_wwan_indat_callback: resubmit read urb 
failed. (-19)
[ 5588.544455] option1 ttyUSB1: usb_wwan_indat_callback: resubmit read urb 
failed. (-19)
[ 5588.544701] option1 ttyUSB2: usb_wwan_indat_callback: resubmit read urb 
failed. (-19)
[ 5588.548710] option1 ttyUSB1: usb_wwan_indat_callback: resubmit read urb 
failed. (-19)
[ 5588.548955] option1 ttyUSB2: usb_wwan_indat_callback: resubmit read urb 
failed. (-19)
[ 5588.565315] option1 ttyUSB1: GSM modem (1-port) converter now disconnected 
from ttyUSB1
[ 5588.565324] option 1-1.2:1.3: device disconnected
[ 5588.565431] option1 ttyUSB2: GSM modem (1-port) converter now disconnected 
from ttyUSB2
[ 5588.565438] option 1-1.2:1.4: device disconnected
[ 5593.449299] usb 1-1.2: new high-speed USB device number 7 using ehci-pci
[ 5593.544252] usb 1-1.2: New USB device found, idVendor=12d1, idProduct=1446
[ 5593.544263] usb 1-1.2: New USB device strings: Mfr=3, Product=2, 
SerialNumber=0
[ 5593.544269] usb 1-1.2: Product: HUAWEI Mobile
[ 5593.544275] usb 1-1.2: Manufacturer: Huawei Technologies
[ 5593.645087] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 5593.649366] scsi11 : usb-storage 1-1.2:1.0
[ 5593.649674] usb-storage 1-1.2:1.1: USB Mass Storage device detected
[ 5593.657369] scsi12 : usb-storage 1-1.2:1.1
[ 5595.452470] usb 1-1.2: USB disconnect, device number 7
[ 5599.354268] usb 1-1.2: new high-speed USB device number 8 using ehci-pci
[ 5599.448843] usb 1-1.2: New USB device found, idVendor=12d1, idProduct=1506
[ 5599.448847] usb 1-1.2: New USB device strings: Mfr=4, Product=3, 
SerialNumber=0
[ 5599.448850] usb 1-1.2: Product: HUAWEI Mobile
[ 5599.448851] usb 1-1.2: Manufacturer: Huawei Technologies
[ 5599.548996] option 1-1.2:1.0: GSM modem (1-port) converter detected
[ 5599.549102] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
[ 5599.549216] option 1-1.2:1.1: GSM modem (1-port) converter detected
[ 5599.549287] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
[ 5599.549379] option 1-1.2:1.2: GSM modem (1-port) converter detected
[ 5599.549448] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
[ 5599.549502] option 1-1.2:1.3: GSM modem (1-port) converter detected
[ 5599.549569] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB3
[ 5599.549624] option 1-1.2:1.4: GSM modem (1-port) converter detected
[ 5599.549701] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB4
[ 5599.549753] usb-storage 1-1.2:1.5: USB Mass Storage device detected
[ 5599.554363] scsi13 : usb-storage 1-1.2:1.5
[ 5599.554504] usb-storage 1-1.2:1.6: USB Mass Storage device detected
[ 5599.562373] scsi14 : usb-storage 1-1.2:1.6
[ 5603.894368] option1 ttyUSB1: usb_wwan_write: Invalid URB [0]
[ 5603.894379] option1 ttyUSB1: usb_wwan_write: Invalid URB [1]
[ 5603.894385] option1 ttyUSB1: usb_wwan_write: Invalid URB [2]
[ 5603.894390] option1 ttyUSB1: usb_wwan_write: Invalid URB [3]
[ 5603.994546] option1 ttyUSB1: usb_wwan_write: Invalid URB [0]
[ 5603.994556] option1 ttyUSB1: usb_wwan_write: Invalid URB [1]
[ 5603.994561] option1 ttyUSB1: usb_wwan_write: Invalid URB [2]
[ 5603.994566] option1 ttyUSB1: usb_wwan_write: Invalid URB [3]
[ 5604.094707] option1 ttyUSB1: usb_wwan_write: Invalid URB [0]
[ 5604.094718] option1 ttyUSB1: usb_wwan_write: Invalid URB [1]
[ 5604.094723] option1 ttyUSB1: usb_wwan_write: Invalid URB [2]
[ 5604.094727] option1 ttyUSB1: usb_wwan_write: Invalid URB [3]
[ 5604.195453] option1 ttyUSB1: usb_wwan_write: Invalid URB [0]
[ 5604.195459] option1 ttyUSB1: usb_wwan_write: Invalid URB [1]
[ 5604.195461] option1 ttyUSB1: usb_wwan_write: Invalid URB [2]
[ 5604.195463] option1 ttyUSB1: usb_wwan_write: Invalid URB [3]
[ 5604.295819] option1 ttyUSB1: usb_wwan_write: Invalid URB [0]
[ 5604.295825] option1 ttyUSB1: usb_wwan_write: Invalid URB [1]
[ 5604.295827] option1 ttyUSB1: usb_wwan_write: Invalid URB [2]
[ 5604.295828] option1 ttyUSB1: usb_wwan_write: Invalid URB [3]
[ 5604.396179] option1 ttyUSB1: usb_wwan_write: Invalid URB [0]
[ 5604.396185] option1 ttyUSB1: usb_wwan_write: Invalid URB [1]
[ 5604.396187] option1 ttyUSB1: usb_wwan_write: Invalid URB [2]
[ 5604.396188] option1 ttyUSB1: usb_wwan_write: Invalid URB [3]
[ 

[Kernel-packages] [Bug 1308537] Re: [usb_wwan] unable to handle kernel NULL pointer dereference

2014-04-18 Thread Moez Bouhlel
running linux 3.15-rc1 for along 2 days without having any trouble on
the usb modem connection

** Tags added: kernel-fixed-upstream

** Changed in: linux (Ubuntu)
   Status: Incomplete = Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1308537

Title:
  [usb_wwan] unable to handle kernel NULL pointer dereference

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  the lastest linux kernel update 3.13.0-24.46-generic 3.13.9 (maybe the
  previous one too) causes ModemManager to crash.

  sometimes, when using my usb modem (Huawei E367), it disconnects, and it 
becomes no longer detected by networkManager
  even lsusb command doesn't works (terminal waiting for command output) and 
shut-downing laptop doesn't complete

  this happens rarely since last days (~6 days), i'm not sure if the 2
  previous kernel update had the same problems.

  note: some updates i did since last week:
usb-modeswitch to 2.1.1+repack0-1ubuntu1
usb-modemswitch-data to 20140327-1
network-manager to 0.9.8.8-0ubuntu7
modemmanager to 1.0.0-2ubuntu1

  that's a part of dmesg:

  [   60.800205] usb 1-1.2: new high-speed USB device number 6 using ehci-pci
  [   60.894660] usb 1-1.2: New USB device found, idVendor=12d1, idProduct=1506
  [   60.894665] usb 1-1.2: New USB device strings: Mfr=4, Product=3, 
SerialNumber=0
  [   60.894667] usb 1-1.2: Product: HUAWEI Mobile
  [   60.894670] usb 1-1.2: Manufacturer: Huawei Technologies
  [   60.995115] usb-storage 1-1.2:1.5: USB Mass Storage device detected
  [   60.995253] scsi9 : usb-storage 1-1.2:1.5
  [   60.995376] usb-storage 1-1.2:1.6: USB Mass Storage device detected
  [   60.995546] scsi10 : usb-storage 1-1.2:1.6
  [   61.496860] init: plymouth-stop pre-start process (2937) terminated with 
status 1
  [   61.670486] usbcore: registered new interface driver usbserial
  [   61.670497] usbcore: registered new interface driver usbserial_generic
  [   61.670504] usbserial: USB Serial support registered for generic
  [   61.745311] usbcore: registered new interface driver option
  [   61.745343] usbserial: USB Serial support registered for GSM modem (1-port)
  [   61.745440] option 1-1.2:1.0: GSM modem (1-port) converter detected
  [   61.745647] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
  [   61.745708] option 1-1.2:1.3: GSM modem (1-port) converter detected
  [   61.745841] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
  [   61.745854] option 1-1.2:1.4: GSM modem (1-port) converter detected
  [   61.745915] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
  [   61.770270] usbcore: registered new interface driver cdc_wdm
  [   61.843039] qmi_wwan 1-1.2:1.1: cdc-wdm0: USB WDM device
  [   61.843302] qmi_wwan 1-1.2:1.1 wwan0: register 'qmi_wwan' at 
usb-:00:1a.0-1.2, WWAN/QMI device, ea:19:6a:61:bf:5c
  [   61.843444] usbcore: registered new interface driver qmi_wwan
  [   61.849565] init: Failed to spawn ufw pre-start process: unable to 
execute: No such file or directory
  [   61.851836] init: Failed to spawn ufw post-stop process: unable to 
execute: No such file or directory
  [   66.340565] audit_printk_skb: 225 callbacks suppressed
  [   66.340568] type=1400 audit(1397646973.192:87): apparmor=DENIED 
operation=mkdir profile=/usr/lib/telepathy/mission-control-5 
name=/var/lib/gdm/.config/libaccounts-glib/ pid=3731 comm=mission-control 
requested_mask=c denied_mask=c fsuid=124 ouid=124
  [   66.341982] type=1400 audit(1397646973.196:88): apparmor=DENIED 
operation=open profile=/usr/lib/telepathy/mission-control-5 
name=/usr/share/dconf/profile/gdm pid=3731 comm=mission-control 
requested_mask=r denied_mask=r fsuid=124 ouid=0
  [   67.019714] scsi 9:0:0:0: CD-ROMHUAWEI   Mass Storage 2.31 
PQ: 0 ANSI: 2
  [   67.022204] scsi 10:0:0:0: Direct-Access HUAWEI   TF CARD Storage  
 PQ: 0 ANSI: 2
  [   67.024330] sr1: scsi-1 drive
  [   67.024458] sr 9:0:0:0: Attached scsi CD-ROM sr1
  [   67.024520] sr 9:0:0:0: Attached scsi generic sg2 type 5
  [   67.025063] sd 10:0:0:0: Attached scsi generic sg3 type 0
  [   67.028154] sd 10:0:0:0: [sdb] Attached SCSI removable disk
  [   76.842946] usb 1-1.2: USB disconnect, device number 6
  [   76.845200] option1 ttyUSB0: option_instat_callback: error -108
  [   76.845383] option1 ttyUSB0: GSM modem (1-port) converter now disconnected 
from ttyUSB0
  [   76.845400] option 1-1.2:1.0: device disconnected
  [   76.847619] qmi_wwan 1-1.2:1.1 wwan0: unregister 'qmi_wwan' 
usb-:00:1a.0-1.2, WWAN/QMI device
  [   76.866208] option1 ttyUSB1: GSM modem (1-port) converter now disconnected 
from ttyUSB1
  [   76.866237] option 1-1.2:1.3: device disconnected
  [   76.866391] option1 ttyUSB2: GSM modem (1-port) converter now disconnected 
from ttyUSB2
  [   76.866407] option 1-1.2:1.4: device disconnected
  [   80.171902] type=1400 

[Kernel-packages] [Bug 1308537] Re: [usb_wwan] unable to handle kernel NULL pointer dereference

2014-04-18 Thread Moez Bouhlel
just an hour later, i get the same bug :( it seems not fixed yet on
linux 3.15-rc1

that's a part of dmesg with the lastest error:

[ 7640.417057] usb 1-1.2: new high-speed USB device number 9 using ehci-pci
[ 7640.511625] usb 1-1.2: New USB device found, idVendor=12d1, idProduct=1506
[ 7640.511629] usb 1-1.2: New USB device strings: Mfr=4, Product=3, 
SerialNumber=0
[ 7640.511632] usb 1-1.2: Product: HUAWEI Mobile
[ 7640.511634] usb 1-1.2: Manufacturer: Huawei Technologies
[ 7640.611578] option 1-1.2:1.0: GSM modem (1-port) converter detected
[ 7640.611694] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
[ 7640.611826] option 1-1.2:1.1: GSM modem (1-port) converter detected
[ 7640.611900] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
[ 7640.611973] option 1-1.2:1.2: GSM modem (1-port) converter detected
[ 7640.612036] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
[ 7640.612109] option 1-1.2:1.3: GSM modem (1-port) converter detected
[ 7640.612182] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB3
[ 7640.612234] option 1-1.2:1.4: GSM modem (1-port) converter detected
[ 7640.612325] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB4
[ 7640.612380] usb-storage 1-1.2:1.5: USB Mass Storage device detected
[ 7640.612475] scsi16 : usb-storage 1-1.2:1.5
[ 7640.612595] usb-storage 1-1.2:1.6: USB Mass Storage device detected
[ 7640.612660] scsi17 : usb-storage 1-1.2:1.6
[ 7644.626036] BUG: unable to handle kernel NULL pointer dereference at 
0068
[ 7644.626041] IP: [a07edad4] usb_wwan_write+0x124/0x2d0 [usb_wwan]
[ 7644.626046] PGD 23fc66067 PUD 23fc67067 PMD 0 
[ 7644.626049] Oops:  [#1] SMP 
[ 7644.626051] Modules linked in: ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT 
xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables 
iptable_filter ip_tables ebtable_nat ebtables x_tables nvram rfcomm bnep 
binfmt_misc nls_iso8859_1 parport_pc ppdev lp parport uvcvideo qmi_wwan 
videobuf2_vmalloc videobuf2_memops videobuf2_core cdc_wdm videodev usbnet 
option usb_wwan usbserial ath3k btusb bluetooth joydev snd_hda_codec_realtek 
snd_hda_codec_generic snd_hda_codec_hdmi intel_rapl snd_hda_intel 
x86_pkg_temp_thermal intel_powerclamp snd_hda_controller snd_hda_codec 
snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi arc4 coretemp 
ath9k snd_seq snd_seq_device ath9k_common kvm_intel kvm ath9k_hw ath snd_timer 
mac80211 cfg80211 psmouse snd serio_raw soundcore mei_me mei microcode 
sparse_keymap toshiba_bluetooth mac_hid lpc_ich btrfs xor raid6_pq dm_crypt 
usb_storage radeon crct10dif_pclmul crc32_pclmul ghash_clmulni_intel 
aesni_intel aes_x86_64 lrw i2c_algo_bit gf128mul ttm glue_helper ablk_helper 
drm_kms_helper cryptd ahci drm r8169 libahci mii wmi video
[ 7644.626099] CPU: 0 PID: 1977 Comm: ModemManager Not tainted 
3.15.0-031500rc1-generic #201404131835
[ 7644.626101] Hardware name: TOSHIBA SATELLITE L870-18Z/PLCSF8, BIOS 6.60 
4/03/2013
[ 7644.626102] task: 8800354a8000 ti: 880035496000 task.ti: 
880035496000
[ 7644.626103] RIP: 0010:[a07edad4]  [a07edad4] 
usb_wwan_write+0x124/0x2d0 [usb_wwan]
[ 7644.626106] RSP: 0018:880035497d08  EFLAGS: 00010283
[ 7644.626107] RAX:  RBX:  RCX: 0001
[ 7644.626108] RDX:  RSI: 00220020 RDI: 0202
[ 7644.626109] RBP: 880035497d78 R08:  R09: 
[ 7644.626110] R10: 0001 R11: 0293 R12: 8800ad89fc00
[ 7644.626111] R13:  R14: 0001 R15: 8801a4850580
[ 7644.626112] FS:  7ff63b428840() GS:88024ec0() 
knlGS:
[ 7644.626113] CS:  0010 DS:  ES:  CR0: 80050033
[ 7644.626114] CR2: 0068 CR3: 00023fc81000 CR4: 001407f0
[ 7644.626115] Stack:
[ 7644.626116]  8801ce349600 8801a44532f0 8800ad89fc90 
8801a4453000
[ 7644.626118]  8800ad89fc80 880035567800 8801a4a6a000 
0001
[ 7644.626120]  8801ce348100 880035567800 8801a4453000 
0001
[ 7644.626122] Call Trace:
[ 7644.626126]  [a07f47ff] serial_write+0x5f/0xc0 [usbserial]
[ 7644.626130]  [8145d286] n_tty_write+0x156/0x350
[ 7644.626135]  [8109e610] ? try_to_wake_up+0x210/0x210
[ 7644.626137]  [81459af9] do_tty_write+0xb9/0x1e0
[ 7644.626139]  [8145d130] ? n_tty_receive_char_closing+0xc0/0xc0
[ 7644.626141]  [81459cc4] tty_write+0xa4/0xf0
[ 7644.626144]  [811ccc2b] vfs_write+0xcb/0x1f0
[ 7644.626146]  [811cd12f] SyS_write+0x4f/0xb0
[ 7644.626148]  [8177207f] tracesys+0xe1/0xe6
[ 7644.626149] Code: 05 93 26 00 00 04 0f 85 23 01 00 00 48 8b 55 a8 48 8b 02 
48 8b 78 10 e8 cb 8c d7 e0 85 c0 0f 88 03 01 00 00 41 81 fe 00 10 00 00 49 8b 
7d 68 48 

[Kernel-packages] [Bug 1308537] Re: [usb_wwan] unable to handle kernel NULL pointer dereference

2014-04-16 Thread Moez Bouhlel
ok, i'm currently running mainline kernel on recovery mode, i will need
at least two days to check if this bug not fixed because it happens on
Trusty kernel rarely (one or two times the whole day)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1308537

Title:
  [usb_wwan] unable to handle kernel NULL pointer dereference

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  the lastest linux kernel update 3.13.0-24.46-generic 3.13.9 (maybe the
  previous one too) causes ModemManager to crash.

  sometimes, when using my usb modem (Huawei E367), it disconnects, and it 
becomes no longer detected by networkManager
  even lsusb command doesn't works (terminal waiting for command output) and 
shut-downing laptop doesn't complete

  this happens rarely since last days (~6 days), i'm not sure if the 2
  previous kernel update had the same problems.

  note: some updates i did since last week:
usb-modeswitch to 2.1.1+repack0-1ubuntu1
usb-modemswitch-data to 20140327-1
network-manager to 0.9.8.8-0ubuntu7
modemmanager to 1.0.0-2ubuntu1

  that's a part of dmesg:

  [   60.800205] usb 1-1.2: new high-speed USB device number 6 using ehci-pci
  [   60.894660] usb 1-1.2: New USB device found, idVendor=12d1, idProduct=1506
  [   60.894665] usb 1-1.2: New USB device strings: Mfr=4, Product=3, 
SerialNumber=0
  [   60.894667] usb 1-1.2: Product: HUAWEI Mobile
  [   60.894670] usb 1-1.2: Manufacturer: Huawei Technologies
  [   60.995115] usb-storage 1-1.2:1.5: USB Mass Storage device detected
  [   60.995253] scsi9 : usb-storage 1-1.2:1.5
  [   60.995376] usb-storage 1-1.2:1.6: USB Mass Storage device detected
  [   60.995546] scsi10 : usb-storage 1-1.2:1.6
  [   61.496860] init: plymouth-stop pre-start process (2937) terminated with 
status 1
  [   61.670486] usbcore: registered new interface driver usbserial
  [   61.670497] usbcore: registered new interface driver usbserial_generic
  [   61.670504] usbserial: USB Serial support registered for generic
  [   61.745311] usbcore: registered new interface driver option
  [   61.745343] usbserial: USB Serial support registered for GSM modem (1-port)
  [   61.745440] option 1-1.2:1.0: GSM modem (1-port) converter detected
  [   61.745647] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
  [   61.745708] option 1-1.2:1.3: GSM modem (1-port) converter detected
  [   61.745841] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
  [   61.745854] option 1-1.2:1.4: GSM modem (1-port) converter detected
  [   61.745915] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
  [   61.770270] usbcore: registered new interface driver cdc_wdm
  [   61.843039] qmi_wwan 1-1.2:1.1: cdc-wdm0: USB WDM device
  [   61.843302] qmi_wwan 1-1.2:1.1 wwan0: register 'qmi_wwan' at 
usb-:00:1a.0-1.2, WWAN/QMI device, ea:19:6a:61:bf:5c
  [   61.843444] usbcore: registered new interface driver qmi_wwan
  [   61.849565] init: Failed to spawn ufw pre-start process: unable to 
execute: No such file or directory
  [   61.851836] init: Failed to spawn ufw post-stop process: unable to 
execute: No such file or directory
  [   66.340565] audit_printk_skb: 225 callbacks suppressed
  [   66.340568] type=1400 audit(1397646973.192:87): apparmor=DENIED 
operation=mkdir profile=/usr/lib/telepathy/mission-control-5 
name=/var/lib/gdm/.config/libaccounts-glib/ pid=3731 comm=mission-control 
requested_mask=c denied_mask=c fsuid=124 ouid=124
  [   66.341982] type=1400 audit(1397646973.196:88): apparmor=DENIED 
operation=open profile=/usr/lib/telepathy/mission-control-5 
name=/usr/share/dconf/profile/gdm pid=3731 comm=mission-control 
requested_mask=r denied_mask=r fsuid=124 ouid=0
  [   67.019714] scsi 9:0:0:0: CD-ROMHUAWEI   Mass Storage 2.31 
PQ: 0 ANSI: 2
  [   67.022204] scsi 10:0:0:0: Direct-Access HUAWEI   TF CARD Storage  
 PQ: 0 ANSI: 2
  [   67.024330] sr1: scsi-1 drive
  [   67.024458] sr 9:0:0:0: Attached scsi CD-ROM sr1
  [   67.024520] sr 9:0:0:0: Attached scsi generic sg2 type 5
  [   67.025063] sd 10:0:0:0: Attached scsi generic sg3 type 0
  [   67.028154] sd 10:0:0:0: [sdb] Attached SCSI removable disk
  [   76.842946] usb 1-1.2: USB disconnect, device number 6
  [   76.845200] option1 ttyUSB0: option_instat_callback: error -108
  [   76.845383] option1 ttyUSB0: GSM modem (1-port) converter now disconnected 
from ttyUSB0
  [   76.845400] option 1-1.2:1.0: device disconnected
  [   76.847619] qmi_wwan 1-1.2:1.1 wwan0: unregister 'qmi_wwan' 
usb-:00:1a.0-1.2, WWAN/QMI device
  [   76.866208] option1 ttyUSB1: GSM modem (1-port) converter now disconnected 
from ttyUSB1
  [   76.866237] option 1-1.2:1.3: device disconnected
  [   76.866391] option1 ttyUSB2: GSM modem (1-port) converter now disconnected 
from ttyUSB2
  [   76.866407] option 1-1.2:1.4: device disconnected
  [   80.171902] type=1400