Reply
Thread Tools
Posts: 102 | Thanked: 22 times | Joined on Oct 2009
#1
Hi guys, having a small issues connecting the N900 to my Ubuntu install. When connected to the machine using mass storage mode. The device does not get mounted. looking at log/messages it reports seeing it as ehci_hcd

Dec 2 10:13:33 computer kernel: [1038738.136785] usb 1-5: new high speed USB device using ehci_hcd and address 11

Any ideas?

Thanks
 
Posts: 268 | Thanked: 304 times | Joined on Oct 2009 @ Orlando, USA
#2
What version of Ubuntu are you using?

Karmic mounts it automatically as '/media/Nokia N900' when Mass Storage Mode is selected.

Code:
47946.744060] usb 5-2: new full speed USB device using uhci_hcd and address 8
[47946.868064] usb 5-2: device descriptor read/64, error -71
[47947.148056] usb 5-2: device descriptor read/64, error -71
[47947.308100] hub 5-0:1.0: unable to enumerate USB device on port 2
[47952.868063] usb 1-8: new high speed USB device using ehci_hcd and address 16
[47953.001490] usb 1-8: configuration #1 chosen from 2 choices
[47953.013522] cdc_acm 1-8:1.6: This device cannot do calls on its own. It is not a modem.
[47953.013701] cdc_acm 1-8:1.6: ttyACM1: USB ACM device
[47953.021625] usb0: register 'cdc_ether' at usb-0000:00:1d.7-8, CDC Ethernet Device, 2a:b9:03:f7:68:92
[47961.177358] usb 1-8: USB disconnect, address 16
[47961.433756] usb0: unregister 'cdc_ether' usb-0000:00:1d.7-8, CDC Ethernet Device
[47962.492105] usb 1-8: new high speed USB device using ehci_hcd and address 17
[47962.626303] usb 1-8: configuration #1 chosen from 2 choices
[47962.638372] scsi5 : SCSI emulation for USB Mass Storage devices
[47962.638609] usb-storage: device found at 17
[47962.638615] usb-storage: waiting for device to settle before scanning
[47967.637593] usb-storage: device scan complete
[47967.639222] scsi 5:0:0:0: Direct-Access     Nokia    N900              031 PQ: 0 ANSI: 2
[47967.639701] scsi 5:0:0:1: Direct-Access     Nokia    N900              031 PQ: 0 ANSI: 2
[47967.640522] sd 5:0:0:0: Attached scsi generic sg2 type 0
[47967.640744] sd 5:0:0:1: Attached scsi generic sg3 type 0
[47967.673715] sd 5:0:0:1: [sdc] Attached SCSI removable disk
[47967.677055] sd 5:0:0:0: [sdb] 56631296 512-byte logical blocks: (28.9 GB/27.0 GiB)
[47967.677715] sd 5:0:0:0: [sdb] Write Protect is off
[47967.677718] sd 5:0:0:0: [sdb] Mode Sense: 0f 00 00 00
[47967.677721] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[47967.681907] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[47967.681914]  sdb:
[47967.699166] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[47967.699176] sd 5:0:0:0: [sdb] Attached SCSI removable disk
Run the following command on Ubuntu after selecting Mass Storage Mode and post the results.

Code:
sudo fdisk -l
On my box, the N900 is seen as /dev/sdb
Code:
archebyte$ sudo fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xdea1dea1

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        5222    41945683+   7  HPFS/NTFS
/dev/sda2            5223       15182    80003700    5  Extended
/dev/sda5            5223       14933    78003576   83  Linux
/dev/sda6           14934       15182     2000061   82  Linux swap / Solaris

Disk /dev/sdb: 29.0 GB, 28995223552 bytes
64 heads, 32 sectors/track, 27652 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
 
Posts: 268 | Thanked: 304 times | Joined on Oct 2009 @ Orlando, USA
#3
Originally Posted by shadow12 View Post
Hi guys, having a small issues connecting the N900 to my Ubuntu install. When connected to the machine using mass storage mode. The device does not get mounted. looking at log/messages it reports seeing it as ehci_hcd

Dec 2 10:13:33 computer kernel: [1038738.136785] usb 1-5: new high speed USB device using ehci_hcd and address 11

Any ideas?

Thanks
The N900 will not be mounted if files in the MyDocs are open or directories under MyDocs are 'cd' ed into in Xterm.
 

The Following User Says Thank You to archebyte For This Useful Post:
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#4
Originally Posted by archebyte View Post
The N900 will not be mounted if files in the MyDocs are open or directories under MyDocs are 'cd' ed into in Xterm.
This held true for the N8x0 too
__________________
Ernesto de Bernardis

 
Posts: 102 | Thanked: 22 times | Joined on Oct 2009
#5
9.04

I dont think i have anything open. Tried straight after reboot as well. Maybe something weird with my ubuntu install. Although never had issues in the past.

Code:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xbab9b72c

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        4864    39070048+   7  HPFS/NTFS
/dev/sda2            4865       60771   449072977+   5  Extended
/dev/sda3           60772       60801      240975   83  Linux
/dev/sda5            4865        7539    21486906   83  Linux
/dev/sda6            7540        9971    19535008+  83  Linux
/dev/sda7            9972       34286   195310206   83  Linux
/dev/sda8           34287       35563    10253907   82  Linux swap / Solaris
/dev/sda9           35563       60648   201495231   83  Linux
/dev/sda10          60649       60771      987966    b  W95 FAT32

Will try on my other linux machines.

Last edited by shadow12; 2009-12-02 at 12:19.
 
Posts: 268 | Thanked: 304 times | Joined on Oct 2009 @ Orlando, USA
#6
Originally Posted by shadow12 View Post
9.04

I dont think i have anything open. Tried straight after reboot as well. Maybe something weird with my ubuntu install. Although never had issues in the past.
Looks like Ubuntu does not even recognize the eMMC. Have you tried a different USB port?

Do you get the same result when the USB cable is connected after turning off the N900?
 
Posts: 102 | Thanked: 22 times | Joined on Oct 2009
#7
OK tried all USB ports on PC (excessive I know) no luck.

Tried another ubuntu system at it seems to be working fine. So will try again on this machine after reboot. Can't reboot at the moment too much running.

Weird thing is it did not have all the folders that are listed in the N900 file manager. Is this normal?
 
zerojay's Avatar
Posts: 2,669 | Thanked: 2,555 times | Joined on Apr 2007 @ Halifax, Nova Scotia, Canada
#8
Originally Posted by shadow12 View Post
OK tried all USB ports on PC (excessive I know) no luck.

Tried another ubuntu system at it seems to be working fine. So will try again on this machine after reboot. Can't reboot at the moment too much running.

Weird thing is it did not have all the folders that are listed in the N900 file manager. Is this normal?
It is if you had some programs running that were still accessing those directories, yes.
 
Posts: 102 | Thanked: 22 times | Joined on Oct 2009
#9
Originally Posted by zerojay View Post
It is if you had some programs running that were still accessing those directories, yes.
On the N900, not to my knowledge. It was after reboot. Unless there are apps I need to shutdown that start on startup? So I guess the directory structure I see on the N900 should be mirrored directly on the Linux machine? If yes I will have a poke around and see.
 
Posts: 102 | Thanked: 22 times | Joined on Oct 2009
#10
OK rebooted my ubuntu system and it is all ok. The N900 and sdcard get mounted when on and when switched off the same. Still though the only folders I see are: cities, DCIM, Mac OS, tmp as well as autorun.inf
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 14:33.