Unable to connect Motorola Z6 phone in mass storage mode

Bug #263217 reported by Sergey Nizovtsev
34
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Hardy
Fix Released
Low
Colin Ian King

Bug Description

It is impossible to connect Motorola Z6 phone to linux 2.6.24 (Ubuntu 8.04) in mass storage mode because Motorola has bugs in its USB.
In 2.6.25 kernel this problem was solved by small patch-workaround - http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/broken-out/usb-add-support-for-motorola-rokr-z6-cellphone-in-mass-storage-mode.patch
I tried this patch on my Ubuntu (with module zaurus) and it worked on the 2.6.24 kernel. It's easy to compile and install module zaurus manually, but patching makes updating the kernel and using linux-restricted-modules impossible.
Please, include this patch into Ubuntu 8.04 updates.
P.S.
# lsusb
Bus 008 Device 003: ID 22b8:6426 Motorola PCS

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

Hi Nizovtsev,

Thanks for the bug report. I'm going to include the upstream git commit id for this patch you've referenced. Also, this patch looks like it's already included in the upcoming Intrepid Ibex 8.10 release. It would be great if you could test and confirm it's fixed with Intrepid. You should be able to use a LiveCD to test with the latest Alpha for Intrepid. For more information look at http://www.ubuntu.com/testing. It would be good to get confirmation it's working in Intrepid before they consider backporting to Hardy. I'm tentatively marking this "Fix Released" for Intrepid and will open a Hardy nomination. Thanks.

commit cc36bdd47ae51b66780b317c1fa519221f894405
Author: Constantin Baranov <email address hidden>
Date: Sun Mar 16 20:04:23 2008 +0000

    USB: add support for Motorola ROKR Z6 cellphone in mass storage mode

Changed in linux:
status: New → Fix Released
Revision history for this message
Sergey Nizovtsev (snizovtsev) wrote :

It works fine on Ubuntu Inrepid Alpha 5.

Changed in linux:
assignee: nobody → colin-king
status: New → In Progress
Revision history for this message
Colin Ian King (colin-king) wrote :

Hi,

I've added the patch and built the linux-kernel package for Hardy - you can download the packages from my PPA at: https://launchpad.net/~colin-king/+archive

Add the following lines to your apt sources.list:

deb http://ppa.launchpad.net/colin-king/ubuntu hardy main
deb-src http://ppa.launchpad.net/colin-king/ubuntu hardy main

Then run the command:

sudo apt-get update

Alternatively, follow the instructions at: https://help.ubuntu.com/8.04/add-applications/C/extra-repositories-adding.html

If you can test this package and let me know if it works, then I can add this patch into the hardy as a Stable Release Update (SRU).

Thanks, Colin

Revision history for this message
Sergey Nizovtsev (snizovtsev) wrote :

Hi Colin,

I've tested your package and it's working.

Thanks

Revision history for this message
Colin Ian King (colin-king) wrote :

SRU justification:

Impact: Motorola Z6 phone is unable to connect in USB Mass Storage Mode
because of buggy phone USB implementation.

Fix: The patch from upstream commit cc36bdd47ae51b66780b317c1fa519221f894405
describes new "unusual" USB device for this phone with FIX_INQUIRY
and FIX_CAPACITY flags and new BULK_IGNORE_TAG flag. Last flag relaxes
the check for equality of bcs->Tag and us->tag in usb_stor_Bulk_transport().

Testing: Without the patch, the phone does not connect as a Mass Storage
Device, with the patch, it does.

Patch tested in my PPA by Sergey Nizovtsev:
https://bugs.launchpad.net/ubuntu/hardy/+source/linux/+bug/263217/comments/5

Changed in linux:
importance: Undecided → Low
milestone: none → ubuntu-8.04.2
status: In Progress → Fix Committed
Revision history for this message
Νίκος Αλεξανδρής (nikos.alexandris) wrote :

Hi!

I 've just used the above mentioned PPA and it seems I am a step closer to connect a Motorola Z6 device. I get "recognition messages" using the command "dmesg". But I can't figure out how to mount the device (?). There is an sdb device but I can't mount it (e.g. with "sudo mount /dev/sdbY, where Y should be a partition number). How do you go about it?

Anyhow, thank you for the patch.
Nikos

Revision history for this message
Νίκος Αλεξανδρής (nikos.alexandris) wrote :

I am posting some details, hopefully useful.

$ lsusb | grep Motorola
Bus 006 Device 008: ID 22b8:6426 Motorola PCS

$ lsscsi | grep Motorola
[9:0:0:0] disk Motorola MSnc. -
[9:0:0:1] disk Motorola MSnc. -

$ dmesg

[...]

[ 5437.409002] usb 6-2: new high speed USB device using ehci_hcd and address 9
[ 5437.544912] usb 6-2: configuration #1 chosen from 1 choice
[ 5437.564673] scsi10 : SCSI emulation for USB Mass Storage devices
[ 5437.570111] usb-storage: device found at 9
[ 5437.570117] usb-storage: waiting for device to settle before scanning
[ 5442.559325] usb-storage: device scan complete
[ 5442.560436] scsi 10:0:0:0: Direct-Access Motorola MSnc. PQ: 1 ANSI: 4 CCS
[ 5442.670589] usb 6-2: reset high speed USB device using ehci_hcd and address 9
[ 5442.806633] scsi 10:0:0:1: Direct-Access Motorola MSnc. PQ: 1 ANSI: 4 CCS
[ 5442.807695] scsi 10:0:0:0: Attached scsi generic sg3 type 0
[ 5442.807944] scsi 10:0:0:1: Attached scsi generic sg4 type 0

$ lsmod | grep usb
hci_usb 19228 2
bluetooth 67748 7 rfcomm,l2cap,hci_usb
usbhid 35296 0
hid 44992 1 usbhid
usb_storage 82496 0
libusual 23520 1 usb_storage
scsi_mod 178488 5 sr_mod,sg,sd_mod,usb_storage,libata
usbcore 169904 7 hci_usb,usbhid,usb_storage,libusual,ehci_hcd,ohci_hcd

Output from udevinfo upon sg3, sg4 (which appear in dmesg's output) attached as a text file

Revision history for this message
Sergey Nizovtsev (snizovtsev) wrote :

Hi!

udevinfo writes:
  ATTRS{manufacturer}=="Linux 2.6.24-19-generic ehci_hcd"

It seems you are using stable kernel, PPA kernel version is 2.6.24-22. Check it by 'uname -a' command.

Sergey

Revision history for this message
Νίκος Αλεξανδρής (nikos.alexandris) wrote :

That's right I am using kernel version "2.6.24-19-generic #1 SMP Wed Aug 20 17:53:40 UTC 2008 x86_64 GNU/Linux". I don't think upgrading now is good idea for me. Isn't there any way to get my phone connected? I would do anything possible to just be able to interact with this device without canceling my system's current super-stability :-)

Thank you, Nikos

Revision history for this message
Sergey Nizovtsev (snizovtsev) wrote :

Yes, there is, you can:
1. Use bluetooth
2. Run another Linux with kernel 2.6.25 or higher in virtual machine
3. Reflash your phone (only config memory) to run ftp server over usbnet. It isn't easy. Google: magxjb, z6 mods.
4. Wait while kernel update or intrepid will released.

Revision history for this message
Νίκος Αλεξανδρής (nikos.alexandris) wrote :

Thank you for the recommendations.

1. I've already used that successfully for file transfering. But I can only access the memory card.

2. Did not think of that. But I want to be vm independent. And testing 64-bit versions of ubuntu is not possible under virtualbox for example. Don't know about other vm's.

3. I would like to try that. I'll have a look at it.

4. Well... can't wait :-)

BTW, I just tried II-Alpha5 and it works great :-)

Cheers, Nikos

Revision history for this message
Martin Pitt (pitti) wrote :

linux 2.6.24-21 copied to hardy-updates.

Changed in linux:
status: Fix Committed → Fix Released
Revision history for this message
Sergey Nizovtsev (snizovtsev) wrote :

Latest kernel from hardy-updates (2.6.24-21.42) doesn't include this patch and storage mode doesn't work.

Revision history for this message
Martin Pitt (pitti) wrote :

Indeed, sorry, I accidentally closed this bug, I shouldn't have.

Changed in linux:
status: Fix Released → Triaged
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into intrepid-proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into hardy-proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in linux:
milestone: ubuntu-8.04.2 → none
status: Triaged → Fix Committed
Steve Langasek (vorlon)
Changed in linux:
milestone: none → ubuntu-8.04.2
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted linux into hardy-proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Aldrin Martoq (amartoq) wrote :

The patch didn't work with my phone, my system info:

root@videopodcast:~# uname -a
Linux videopodcast 2.6.27-11-generic #1 SMP Fri Dec 19 16:29:52 UTC 2008 i686 GNU/Linux
root@videopodcast:~# lsusb
Bus 005 Device 007: ID 22b8:6426 Motorola PCS
root@videopodcast:~# lsscsi
[0:0:0:0] disk ATA Hitachi HTS72108 MC4O -
[1:0:0:0] cd/dvd TSSTcorp DVD+-RW TS-L632D DE03 -
[2:0:0:0] disk WDC WD25 00BEVS-00UST0 -
[4:0:0:0] disk Motorola MSnc. 0101 -
[4:0:0:1] disk Motorola MSnc. 0101 -
root@videopodcast:~# dmesg
[ 2281.040192] usb 5-7: new high speed USB device using ehci_hcd and address 7
[ 2281.219984] usb 5-7: configuration #1 chosen from 1 choice
[ 2281.256114] scsi4 : SCSI emulation for USB Mass Storage devices
[ 2281.257236] usb-storage: device found at 7
[ 2281.257243] usb-storage: waiting for device to settle before scanning
[ 2286.256569] usb-storage: device scan complete
[ 2286.257086] scsi 4:0:0:0: Direct-Access Motorola MSnc. 0101 PQ: 0 ANSI: 2
[ 2286.257598] scsi 4:0:0:1: Direct-Access Motorola MSnc. 0101 PQ: 0 ANSI: 2
[ 2286.269690] sd 4:0:0:0: [sdc] Attached SCSI removable disk
[ 2286.270289] sd 4:0:0:0: Attached scsi generic sg3 type 0
[ 2286.272198] sd 4:0:0:1: [sdd] Attached SCSI removable disk
[ 2286.272673] sd 4:0:0:1: Attached scsi generic sg4 type 0
[ 2288.582404] sd 4:0:0:0: [sdc] 3921664 512-byte hardware sectors (2008 MB)
[ 2288.584774] sd 4:0:0:0: [sdc] Write Protect is off
[ 2288.584784] sd 4:0:0:0: [sdc] Mode Sense: 03 00 00 00
[ 2288.584790] sd 4:0:0:0: [sdc] Assuming drive cache: write through
[ 2288.591818] sd 4:0:0:0: [sdc] 3921664 512-byte hardware sectors (2008 MB)
[ 2288.593772] sd 4:0:0:0: [sdc] Write Protect is off
[ 2288.593782] sd 4:0:0:0: [sdc] Mode Sense: 03 00 00 00
[ 2288.593788] sd 4:0:0:0: [sdc] Assuming drive cache: write through
[ 2288.596367] sdc:
[ 2318.716149] usb 5-7: reset high speed USB device using ehci_hcd and address 7
[ 2318.891406] sd 4:0:0:0: [sdc] Device not ready: Sense Key : Not Ready [current]
[ 2318.891424] sd 4:0:0:0: [sdc] Device not ready: Add. Sense: Medium not present
[ 2318.891437] end_request: I/O error, dev sdc, sector 3921536
[ 2318.891448] Buffer I/O error on device sdc, logical block 490192

Motorola Z6, version:
R60_G_80.33.4ER

It has a 2GB microSD, not sure why appears 2 times (sdc, sdd).

Revision history for this message
UbuntuPaul (pablopenovi) wrote :

Hello there. A few days ago I updated my Hardy to Intrepid and my Z6 finally worked -once. Now, when I connect it, both USB devices show up (SD micro memory and phone memory) but when I try to mount them, I get an error message. I haven't updated anything else since the upgrade, so I don't know why it has stopped working. I'd be glad to help with this bug, but I don't know what information you need, can you please walk me through it?

Revision history for this message
Mark Stosberg (markstos) wrote :

Here are my test results with trying the hardy-proposed kernel. I used the following kernel (as output by uname -a):

  Linux mat 2.6.24-23-generic #1 SMP Thu Nov 27 18:44:42 UTC 2008 i686 GNU/Linux

My phone is a Motorola ZN5. I realize that's different than the Z6, but my symptoms were the same, so I thought the same fix might work for me.

What happens for me is that two USB drives are recognized when the phone is in "Memory Card" mode, and these show up as Nautilus icons in Hardy. But clicking on either results in an error message: "No media in drive".

Related entries in /var/log/messages look like this:

Dec 28 20:31:42 mat kernel: [ 92.801651] scsi 4:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUG
GEST_OK
Dec 28 20:31:42 mat kernel: [ 92.801658] scsi 4:0:0:0: [sdb] Sense not available.
Dec 28 20:31:42 mat kernel: [ 92.801675] scsi 4:0:0:0: [sdb] Write Protect is off
Dec 28 20:31:42 mat kernel: [ 92.801742] scsi 4:0:0:0: [sdb] READ CAPACITY failed
Dec 28 20:31:42 mat kernel: [ 92.801745] scsi 4:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUG
GEST_OK
Dec 28 20:31:42 mat kernel: [ 92.801752] scsi 4:0:0:0: [sdb] Sense not available.
Dec 28 20:31:42 mat kernel: [ 92.801766] scsi 4:0:0:0: [sdb] Write Protect is off
Dec 28 20:31:42 mat kernel: [ 92.802503] scsi 4:0:0:1: [sdc] READ CAPACITY failed
Dec 28 20:31:42 mat kernel: [ 92.802507] scsi 4:0:0:1: [sdc] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUG
GEST_OK
Dec 28 20:31:42 mat kernel: [ 92.802513] scsi 4:0:0:1: [sdc] Sense not available.
Dec 28 20:31:42 mat kernel: [ 92.802527] scsi 4:0:0:1: [sdc] Write Protect is off
Dec 28 20:31:42 mat kernel: [ 92.802589] scsi 4:0:0:1: [sdc] READ CAPACITY failed
Dec 28 20:31:42 mat kernel: [ 92.802593] scsi 4:0:0:1: [sdc] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUG
GEST_OK
Dec 28 20:31:42 mat kernel: [ 92.802599] scsi 4:0:0:1: [sdc] Sense not available.

Revision history for this message
UbuntuPaul (pablopenovi) wrote :

I've recently installed Linuxmod SP1 on my Z6 in order to gain FTP/telnet connectivity. Although I flashed the phone successfully (it's a simple process, at least on a Z6), I can't seem to establish a stable FTP connection between the phone and my linux box, as the phone loses synchronization in less than a minute. On the bright side, USB connectivity now works flawlessly, so I'm happy all the same. Perhaps you should try flashing your phone as well.

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (12.0 KiB)

This bug was fixed in the package linux - 2.6.24-23.46

---------------
linux (2.6.24-23.46) hardy-proposed; urgency=low

  [Alessio Igor Bogani]

  * rt: Updated PREEMPT_RT support to rt21
    - LP: #302138

  [Amit Kucheria]

  * SAUCE: Update lpia patches from moblin tree
    - LP: #291457

  [Andy Whitcroft]

  * SAUCE: replace gfs2_bitfit with upstream version to prevent oops
    - LP: #276641

  [Colin Ian King]

  * isdn: Do not validate ISDN net device address prior to interface-up
    - LP: #237306
  * hwmon: (coretemp) Add Penryn CPU to coretemp
    - LP: #235119
  * USB: add support for Motorola ROKR Z6 cellphone in mass storage mode
    - LP: #263217
  * md: fix an occasional deadlock in raid5
    - LP: #208551

  [Stefan Bader]

  * SAUCE: buildenv: Show CVE entries in printchanges
  * SAUCE: buildenv: Send git-ubuntu-log informational message to stderr
  * Xen: dma: avoid unnecessarily SWIOTLB bounce buffering
    - LP: #247148
  * Update openvz patchset to apply to latest stable tree.
    - LP: #301634
  * XEN: Fix FTBS with stable updates
    - LP: #301634

  [Steve Conklin]

  * Add HID quirk for dual USB gamepad
    - LP: #140608

  [Tim Gardner]

  * Enable CONFIG_AX25_DAMA_SLAVE=y
    - LP: #257684
  * SAUCE: Correctly blacklist Thinkpad r40e in ACPI
    - LP: #278794
  * SAUCE: ALPS touchpad for Dell Latitude E6500/E6400
    - LP: #270643

  [Upstream Kernel Changes]

  * Revert "[Bluetooth] Eliminate checks for impossible conditions in IRQ
    handler"
    - LP: #217659
  * KVM: VMX: Clear CR4.VMXE in hardware_disable
    - LP: #268981
  * iov_iter_advance() fix
    - LP: #231746
  * Fix off-by-one error in iov_iter_advance()
    - LP: #231746
  * USB: serial: ch341: New VID/PID for CH341 USB-serial
    - LP: #272485
  * x86: Fix 32-bit x86 MSI-X allocation leakage
    - LP: #273103
  * b43legacy: Fix failure in rate-adjustment mechanism
    - LP: #273143
  * x86: Reserve FIRST_DEVICE_VECTOR in used_vectors bitmap.
    - LP: #276334
  * openvz: merge missed fixes from vanilla 2.6.24 openvz branch
    - LP: #298059
  * openvz: some autofs related fixes
    - LP: #298059
  * openvz: fix ve stop deadlock after nfs connect
    - LP: #298059
  * openvz: fix netlink and rtnl inside container
    - LP: #298059
  * openvz: fix wrong size of ub0_percpu
    - LP: #298059
  * openvz: fix OOPS while stopping VE started before binfmt_misc.ko loaded
    - LP: #298059
  * x86-64: Fix "bytes left to copy" return value for copy_from_user()
  * NET: Fix race in dev_close(). (Bug 9750)
    - LP: #301608
  * IPV6: Fix IPsec datagram fragmentation
    - LP: #301608
  * IPV6: dst_entry leak in ip4ip6_err.
    - LP: #301608
  * IPV4: Remove IP_TOS setting privilege checks.
    - LP: #301608
  * IPCONFIG: The kernel gets no IP from some DHCP servers
    - LP: #301608
  * IPCOMP: Disable BH on output when using shared tfm
    - LP: #301608
  * IRQ_NOPROBE helper functions
    - LP: #301608
  * MIPS: Mark all but i8259 interrupts as no-probe.
    - LP: #301608
  * ub: fix up the conversion to sg_init_table()
    - LP: #301608
  * x86: adjust enable_NMI_through_LVT0()
    - LP: #301608
  * SCSI ips: handle scsi_add_host() failure, and other err cl...

Changed in linux:
status: Fix Committed → Fix Released
Revision history for this message
Will Taygan (william-taygan) wrote :
Download full text (3.6 KiB)

I'm not sure what's going on. When I first upgraded from Ubuntu 8.04 to 8.10 I could see my ROKR z6 in memory card mode, but now I'm getting buffer i/o errors. Nautilus sees the cards (phone memory and sd card), but can't mount them.

---

similar issue - could I have an old driver from the upgrade interfering somehow - seems to be in the kernel though??:
http://markmail.org/message/v5vtqcuujzjjhilx?q=rokr+Buffer+I/O+error+on+device+sdd%2C+logical+block+0+&page=1&refer=v5vtqcuujzjjhilx

---

Motorola ROKR z6 - connection set to "memory card"

Ubuntu Intrepid 8.10

Linux eklutna 2.6.27-11-generic #1 SMP Fri Jan 23 13:58:13 UTC 2009 x86_64 GNU/Linux

lsusb | grep Moto output:

Bus 006 Device 006: ID 22b8:6426 Motorola PCS

dmesg output:

[ 95.608076] usb 6-2: new high speed USB device using ehci_hcd and address 6
[ 95.746411] usb 6-2: configuration #1 chosen from 1 choice
[ 95.750468] scsi7 : SCSI emulation for USB Mass Storage devices
[ 95.753063] usb-storage: device found at 6
[ 95.753068] usb-storage: waiting for device to settle before scanning
[ 100.752721] usb-storage: device scan complete
[ 100.752950] scsi 7:0:0:0: Direct-Access Motorola MSnc. 0101 PQ: 0 ANSI: 2
[ 100.753116] scsi 7:0:0:1: Direct-Access Motorola MSnc. 0101 PQ: 0 ANSI: 2
[ 100.764892] sd 7:0:0:0: [sdc] Attached SCSI removable disk
[ 100.765227] sd 7:0:0:0: Attached scsi generic sg3 type 0
[ 100.767092] sd 7:0:0:1: [sdd] Attached SCSI removable disk
[ 100.767305] sd 7:0:0:1: Attached scsi generic sg4 type 0
[ 105.382675] sd 7:0:0:0: [sdc] 3841910 512-byte hardware sectors (1967 MB)
[ 105.383417] sd 7:0:0:1: [sdd] 128671 512-byte hardware sectors (66 MB)
[ 105.384164] sd 7:0:0:0: [sdc] Write Protect is off
[ 105.384172] sd 7:0:0:0: [sdc] Mode Sense: 03 00 00 00
[ 105.384178] sd 7:0:0:0: [sdc] Assuming drive cache: write through
[ 105.384903] sd 7:0:0:1: [sdd] Write Protect is off
[ 105.384911] sd 7:0:0:1: [sdd] Mode Sense: 03 00 00 00
[ 105.384917] sd 7:0:0:1: [sdd] Assuming drive cache: write through
[ 105.387788] sd 7:0:0:0: [sdc] 3841910 512-byte hardware sectors (1967 MB)
[ 105.388542] sd 7:0:0:1: [sdd] 128671 512-byte hardware sectors (66 MB)
[ 105.389289] sd 7:0:0:0: [sdc] Write Protect is off
[ 105.389296] sd 7:0:0:0: [sdc] Mode Sense: 03 00 00 00
[ 105.389301] sd 7:0:0:0: [sdc] Assuming drive cache: write through
[ 105.389313] sdc:<5>sd 7:0:0:1: [sdd] Write Protect is off
[ 105.390040] sd 7:0:0:1: [sdd] Mode Sense: 03 00 00 00
[ 105.390046] sd 7:0:0:1: [sdd] Assuming drive cache: write through
[ 105.390056] sdd:
[ 105.398606]
[ 135.537104] usb 6-2: reset high speed USB device using ehci_hcd and address 6
[ 135.714980] sd 7:0:0:0: [sdc] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_RETRY
[ 135.714996] end_request: I/O error, dev sdc, sector 3841664
[ 135.715009] Buffer I/O error on device sdc, logical block 1920832
[ 135.741628] sd 7:0:0:1: [sdd] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_RETRY
[ 135.741647] end_request: I/O error, dev sdd, sector 0
[ 135.741660] Buffer I/O error on device sdd, logical block 0
[ 135.741671] Buffer I/O error on device sdd, logical block 1
[ 135.741678] Buffer I/O error on device sdd, logical block 2
[ 135.741...

Read more...

Revision history for this message
Alejandro Ignacio Sánchez Verduzco (alejandrosanchez) wrote :

I'm running on 2.6.27-11-generic and i'm getting the same message error. This shouldn't be marked like fixed, i think.

[45791.114803] scsi 6:0:0:1: Direct-Access Motorola MSnc. 0101 PQ: 0 ANSI: 2
[45791.122452] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[45791.126879] sd 6:0:0:0: Attached scsi generic sg2 type 0
[45791.134204] sd 6:0:0:1: [sdc] Attached SCSI removable disk
[45791.137540] sd 6:0:0:1: Attached scsi generic sg3 type 0
[45798.103478] sd 6:0:0:0: [sdb] 4001546 512-byte hardware sectors (2049 MB)
[45798.104232] sd 6:0:0:1: [sdc] 128672 512-byte hardware sectors (66 MB)
[45798.105093] sd 6:0:0:0: [sdb] Write Protect is off
[45798.105103] sd 6:0:0:0: [sdb] Mode Sense: 03 00 00 00
[45798.105107] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[45798.106101] sd 6:0:0:1: [sdc] Write Protect is off
[45798.106108] sd 6:0:0:1: [sdc] Mode Sense: 03 00 00 00
[45798.106112] sd 6:0:0:1: [sdc] Assuming drive cache: write through
[45798.108964] sd 6:0:0:0: [sdb] 4001546 512-byte hardware sectors (2049 MB)
[45798.109736] sd 6:0:0:1: [sdc] 128672 512-byte hardware sectors (66 MB)
[45798.111092] sd 6:0:0:0: [sdb] Write Protect is off
[45798.111100] sd 6:0:0:0: [sdb] Mode Sense: 03 00 00 00
[45798.111103] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[45798.111112] sdb:<5>sd 6:0:0:1: [sdc] Write Protect is off
[45798.112099] sd 6:0:0:1: [sdc] Mode Sense: 03 00 00 00
[45798.112102] sd 6:0:0:1: [sdc] Assuming drive cache: write through
[45798.112110] sdc:
[45798.117867]
[45828.265530] usb 4-4: reset high speed USB device using ehci_hcd and address 2
[45828.429010] sd 6:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_RETRY
[45828.429023] end_request: I/O error, dev sdb, sector 4001408
[45828.429032] Buffer I/O error on device sdb, logical block 2000704
[45828.440013] sd 6:0:0:1: [sdc] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_RETRY
[45828.440026] end_request: I/O error, dev sdc, sector 128656
[45828.440035] Buffer I/O error on device sdc, logical block 16082
[45828.441003] Buffer I/O error on device sdc, logical block 16082
[45828.441076] Buffer I/O error on device sdc, logical block 0
[45828.441097] Buffer I/O error on device sdc, logical block 0
[45828.441128] Buffer I/O error on device sdc, logical block 0
[45828.441161] Buffer I/O error on device sdc, logical block 16083
[45828.441180] Buffer I/O error on device sdc, logical block 16083
[45828.441199] Buffer I/O error on device sdc, logical block 16083
[45828.441216] Buffer I/O error on device sdc, logical block 16083
[45828.446996] sd 6:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_RETRY
[45828.447003] end_request: I/O error, dev sdb, sector 4001410

Revision history for this message
UbuntuPaul (pablopenovi) wrote :

The first time my kernel was updated to 2.6.27-11, the phone still worked great, but the latest update of this kernel (a few days ago) has apparently broken it. Now I have the same issue reported by Will and Alejandro.

Revision history for this message
Will Taygan (william-taygan) wrote :

I tried booting into 2.6.7.27-9 and am getting the same errors, could something else have been updated/broken? Phone is on original firmware and works fine under vista.

Linux eklutna 2.6.27-9-generic #1 SMP Thu Nov 20 22:15:32 UTC 2008 x86_64 GNU/Linux

[172.196045] usb 6-2: new high speed USB device using ehci_hcd and address 6
[ 172.333175] usb 6-2: configuration #1 chosen from 1 choice
[ 172.350188] scsi7 : SCSI emulation for USB Mass Storage devices
[ 172.350530] usb-storage: device found at 6
[ 172.350541] usb-storage: waiting for device to settle before scanning
[ 177.348807] usb-storage: device scan complete
[ 177.349053] scsi 7:0:0:0: Direct-Access Motorola MSnc. 0101 PQ: 0 ANSI: 2
[ 177.349182] scsi 7:0:0:1: Direct-Access Motorola MSnc. 0101 PQ: 0 ANSI: 2
[ 177.352146] sd 7:0:0:0: [sdc] Attached SCSI removable disk
[ 177.352431] sd 7:0:0:0: Attached scsi generic sg3 type 0
[ 177.355008] sd 7:0:0:1: [sdd] Attached SCSI removable disk
[ 177.355337] sd 7:0:0:1: Attached scsi generic sg4 type 0
[ 182.023595] sd 7:0:0:1: [sdd] 128671 512-byte hardware sectors (66 MB)
[ 182.024343] sd 7:0:0:0: [sdc] 3841910 512-byte hardware sectors (1967 MB)
[ 182.025211] sd 7:0:0:1: [sdd] Write Protect is off
[ 182.025218] sd 7:0:0:1: [sdd] Mode Sense: 03 00 00 00
[ 182.025223] sd 7:0:0:1: [sdd] Assuming drive cache: write through
[ 182.025969] sd 7:0:0:0: [sdc] Write Protect is off
[ 182.025977] sd 7:0:0:0: [sdc] Mode Sense: 03 00 00 00
[ 182.025983] sd 7:0:0:0: [sdc] Assuming drive cache: write through
[ 182.028964] sd 7:0:0:1: [sdd] 128671 512-byte hardware sectors (66 MB)
[ 182.029720] sd 7:0:0:0: [sdc] 3841910 512-byte hardware sectors (1967 MB)
[ 182.030583] sd 7:0:0:1: [sdd] Write Protect is off
[ 182.030590] sd 7:0:0:1: [sdd] Mode Sense: 03 00 00 00
[ 182.030594] sd 7:0:0:1: [sdd] Assuming drive cache: write through
[ 182.030605] sdd:<5>sd 7:0:0:0: [sdc] Write Protect is off
[ 182.031351] sd 7:0:0:0: [sdc] Mode Sense: 03 00 00 00
[ 182.031355] sd 7:0:0:0: [sdc] Assuming drive cache: write through
[ 182.031368] sdc:
[ 182.036270]
[ 212.168077] usb 6-2: reset high speed USB device using ehci_hcd and address 6
[ 212.323270] sd 7:0:0:0: [sdc] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_RETRY
[ 212.323286] end_request: I/O error, dev sdc, sector 3841664
[ 212.323300] Buffer I/O error on device sdc, logical block 1920832
[ 212.349386] sd 7:0:0:0: [sdc] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_RETRY
[ 212.349401] end_request: I/O error, dev sdc, sector 3841666
[ 212.349415] Buffer I/O error on device sdc, logical block 1920833
[ 212.349427] Buffer I/O error on device sdc, logical block 1920834
[ 212.349435] Buffer I/O error on device sdc, logical block 1920835

Revision history for this message
Martin Pitt (pitti) wrote :

Please note that this SRU was done for hardy, not intrepid.

Kernel team, was this backported from intrepid or later?

Revision history for this message
Pedro Eugênio Rocha (pedro-eugenio-rocha) wrote :

Is there someone working on it yet? I would really like my motorola mass storage device working on intrepid.

Revision history for this message
Will Taygan (william-taygan) wrote :

Still not working. (64 bit Intrepid upgraded from Hardy) Do I need to file a new bug for intrepid, or can we add intrepid as not fixed to this report?

Revision history for this message
Mark Stosberg (markstos) wrote :

For me, something must have changed in the hardy-proposed kernel line. Recently mass storage mode started working for me perfectly with a ZN5. Certainly the Intrepid and Z6 cases may be different.

Revision history for this message
Sergey Nizovtsev (snizovtsev) wrote :

My Motorola Z6 still working great in hardy and intrepid 32-bit systems.

linux-image version: 2.6.27-11.27
Working both mass storage and modem mode without any errors in dmesg.

Revision history for this message
Carlos Aguilar Araujo (cae-aguilar) wrote :

Well as Mark Stosberg wrote, the Zn5 phone is similar to Z6, i mange to connect correctly to the phone in Mass Storage Mode and also in Kodak easyShare mode, i had to load some modules that weren't loaded by default when the phone is detected. I use these commands:

carlos@carlos-desktop:~$ sudo modprobe usbnet
carlos@carlos-desktop:~$ sudo modprobe cdc-acm
carlos@carlos-desktop:~$ sudo modprobe zaurus
carlos@carlos-desktop:~$ sudo modprobe cdc_subset

after that when i connect the phone in both modes is recognizd correctly.

Anyway there's another problem with the Zn5, when connected in USBLan mode it's recognized and shown as LAN Adaptor, but i cannot ping or telnet the phone. Above are the commands and results.

arlos@carlos-desktop:~$ dmesg
[ 5058.288528] usb 8-3: new high speed USB device using ehci_hcd and address 23
[ 5058.424282] usb 8-3: configuration #1 chosen from 1 choice
[ 5058.431347] usb0: register 'zaurus' at usb-0000:00:1d.7-3, pseudo-MDLM (BLAN) device, be:77:ec:72:d8:51
carlos@carlos-desktop:~$ sudo ifconfig usb0 192.168.16.1 broadcast 192.168.16.7 netmask 255.255.255.248 mtu 4500
[ 5058.288528] usb 8-3: new high speed USB device using ehci_hcd and address 23
[ 5058.424282] usb 8-3: configuration #1 chosen from 1 choice
[ 5058.431347] usb0: register 'zaurus' at usb-0000:00:1d.7-3, pseudo-MDLM (BLAN) device, be:77:ec:72:d8:51
[ 5072.700010] usb0: no IPv6 routers present

The "usb0: no IPv6 routers present" was solved disabling IPv6 but still cannot connect to the phone. I'll create another Bug report if you thing it's necessary.

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.