Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is samba supposed to be mounting my iPod?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kiss-o-matic
Guru
Guru


Joined: 19 Jul 2004
Posts: 423
Location: Tokyo

PostPosted: Thu Jul 17, 2008 6:30 am    Post subject: Is samba supposed to be mounting my iPod? Reply with quote

dmesg after some clean up and connecting my iPod.

Code:

usb 1-1: new high speed USB device using ehci_hcd and address 107
usb 1-1: configuration #1 chosen from 2 choices
scsi255 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 107
usb-storage: waiting for device to settle before scanning
scsi 255:0:0:0: Direct-Access     Apple    iPod             1.62 PQ: 0 ANSI: 0
sd 255:0:0:0: [sdb] 3964928 2048-byte hardware sectors (8120 MB)
sd 255:0:0:0: [sdb] Write Protect is off
sd 255:0:0:0: [sdb] Mode Sense: 68 00 00 08
sd 255:0:0:0: [sdb] Assuming drive cache: write through
sd 255:0:0:0: [sdb] 3964928 2048-byte hardware sectors (8120 MB)
sd 255:0:0:0: [sdb] Write Protect is off
sd 255:0:0:0: [sdb] Mode Sense: 68 00 00 08
sd 255:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1 sdb2
sd 255:0:0:0: [sdb] Attached SCSI removable disk
sd 255:0:0:0: Attached scsi generic sg3 type 0
usb-storage: device scan complete
smb_add_request: request [eb18ee80, mid=53970] timed out!
smb_lookup: find //.Trash failed, error=-5
smb_add_request: request [eb18e080, mid=53971] timed out!
smb_add_request: request [eb18e180, mid=53972] timed out!
smb_lookup: find //.Trash failed, error=-5
smb_add_request: request [eb18e180, mid=53973] timed out!
smb_lookup: find //.Trash-1000 failed, error=-5
smb_add_request: request [eb18e180, mid=53974] timed out!
smb_lookup: find //.Trash failed, error=-5


All that smb_lookup jazz is really ugly. Whenever I try to copy files to the device via Amarok, I get really crappy performance. A file around 5Mb takes minutes, and Amarok hangs there for most of the time. I don't recall the tool name as I'm a bit brain fried right now, but my iPod and memory cards are automatically mapped to /media/[device id]. Browsing through system:/media/blah via Konqueror gives fine results. Amarok: crap.
Back to top
View user's profile Send private message
aceFruchtsaft
Guru
Guru


Joined: 16 May 2004
Posts: 438
Location: Vienna, Austria

PostPosted: Thu Jul 17, 2008 8:15 am    Post subject: Reply with quote

I really doubt that your iPod is in any way connected to Samba. Samba is a network service and SMB a network protokoll, and your iPod is not even a network device.
Back to top
View user's profile Send private message
ToeiRei
Veteran
Veteran


Joined: 03 Jan 2005
Posts: 1191
Location: Austria

PostPosted: Thu Jul 17, 2008 8:27 am    Post subject: Reply with quote

Let's have a look at the use flags of samba:

Code:
[ebuild   R   ] net-fs/samba-3.0.30  USE="acl async automount caps cups fam pam python quotas readline swat syslog -ads -doc -examples -ipv6 -ldap (-selinux) -winbind" LINGUAS="-ja -pl"


euse -i automount gives us:

Code:
[-    ] automount (net-fs/samba):
Enables automount support


I guess it's got something to do with that...
_________________
Please stand by - The mailer daemon is busy burning your messages in hell...
Back to top
View user's profile Send private message
kiss-o-matic
Guru
Guru


Joined: 19 Jul 2004
Posts: 423
Location: Tokyo

PostPosted: Mon Jul 21, 2008 12:40 am    Post subject: Reply with quote

The lag could be related to something on the hardware level. I have an SD card that's giving me some problems as well. Quite a frustrating issue. As these are using different cables on different ports, I'd say it's a larger underlying problem w/ the system though.
Back to top
View user's profile Send private message
ali3nx
l33t
l33t


Joined: 21 Sep 2003
Posts: 732
Location: Winnipeg, Canada

PostPosted: Mon Jul 21, 2008 12:58 am    Post subject: Reply with quote

Generally with linux desktop setups udev hal and dbus perform most automounting features. With gentoo using the 2008.0/desktop profile will add the required use flags so that they are installed by default. However it's up to you to ensure that your kernel configuration properly supports userspace device management and that both dbus and hal are added to the default runlevels or nothing will automount utilizing desktop utilities. After you've ensured that udev hal and dbus are supported by the core system and configured properly getting gtkpod up and running should be a no brainer :)
Back to top
View user's profile Send private message
doro1211
Guru
Guru


Joined: 06 Jun 2004
Posts: 312

PostPosted: Mon Jul 21, 2008 4:44 am    Post subject: Reply with quote

You should be able manually mount your ipod as a FAT32 disk (assuming you formatted it that way, you can also use a mac format). It will show up as a USB storage device on lsusb, and you can find the device/partition names in dmesg. Then you should be able to do mount -t vfat /dev/whatever /mnt/myipod (pick a mount point that exists). Then you should be able to read and write to it.

You definitely do not need samba. It's a local mount, not a network mount.

Unfortunately, I could never get banshee to see my mp3 players. I don't know why. It worked in Ubuntu, but never in Gentoo. I had hal, dbus, etc all set up. It simply didn't see the devices. I have no clue why. I gave up eventually... maybe it's time to revisit this...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum