hi, setting my se c702 to mass storage mode and plugging in via usb used to work fine with 2.6.22 and 2.6.23 kernels. the phone's onboard storage was mountable as /dev/sdc1 and the m2 micro card was mountable as /dev/sdd1. it became a problem after upgrading from fedora 8 to 10 and i've tried the following kernels so far: title Fedora (2.6.28.1) title Fedora (2.6.28) title Fedora (2.6.27.9-159.fc10.i686) title Fedora (2.6.27.10) title Fedora (2.6.27.7-134.fc10.i686) title Fedora (2.6.27.5-117.fc10.i686) the kernel appears to detect the memory in the phone [but not the m2 micro card as of 2.6.28.1]: Jan 22 01:08:35 mongo kernel: [ 823.037054] usb 1-3: new high speed USB device using ehci_hcd and address 5 Jan 22 01:08:36 mongo kernel: [ 823.557137] usb 1-3: configuration #2 chosen from 1 choice Jan 22 01:08:36 mongo kernel: [ 823.562348] scsi5 : SCSI emulation for USB Mass Storage devices Jan 22 01:08:36 mongo kernel: [ 823.564207] usb 1-3: New USB device found, idVendor=0fce, idProduct=e0d9 Jan 22 01:08:36 mongo kernel: [ 823.564210] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Jan 22 01:08:36 mongo kernel: [ 823.564213] usb 1-3: Product: Memory Stick Jan 22 01:08:36 mongo kernel: [ 823.564215] usb 1-3: Manufacturer: Sony Ericsson Jan 22 01:08:36 mongo kernel: [ 823.564216] usb 1-3: SerialNumber: 3543870233666620 Jan 22 01:08:41 mongo kernel: [ 829.129100] scsi 5:0:0:0: Direct-Access Sony Eri Memory Stick 0 PQ: 0 ANSI: 0 Jan 22 01:08:41 mongo kernel: [ 829.131083] sd 5:0:0:0: [sdc] 368493 512-byte hardware sectors: (188 MB/179 MiB) Jan 22 01:08:41 mongo kernel: [ 829.132696] sd 5:0:0:0: [sdc] Test WP failed, assume Write Enabled Jan 22 01:08:41 mongo kernel: [ 829.132698] sd 5:0:0:0: [sdc] Assuming drive cache: write through Jan 22 01:08:41 mongo kernel: [ 829.135271] sd 5:0:0:0: [sdc] 368493 512-byte hardware sectors: (188 MB/179 MiB) Jan 22 01:08:41 mongo kernel: [ 829.137396] sd 5:0:0:0: [sdc] Test WP failed, assume Write Enabled Jan 22 01:08:41 mongo kernel: [ 829.137396] sd 5:0:0:0: [sdc] Assuming drive cache: write through Jan 22 01:08:41 mongo kernel: [ 829.137396] sdc:<7>usb-storage: queuecommand called Jan 22 01:08:41 mongo kernel: [ 829.143318] sdc1 Jan 22 01:08:41 mongo kernel: [ 829.144111] sd 5:0:0:0: [sdc] Attached SCSI removable disk Jan 22 01:08:41 mongo kernel: [ 829.144159] sd 5:0:0:0: Attached scsi generic sg2 type 0 /dev/sdc is nowhere to be seen tho: [root@mongo ~]# ls -l /dev/sd* brw-rw---- 1 root disk 8, 0 2009-01-22 00:54 /dev/sda brw-rw---- 1 root disk 8, 1 2009-01-22 00:54 /dev/sda1 brw-rw---- 1 root disk 8, 16 2009-01-22 00:54 /dev/sdb brw-rw---- 1 root disk 8, 17 2009-01-22 00:54 /dev/sdb1 vol_id hangs around for quite a while: [root@mongo ~]# date;ps -ef|grep udev|grep -v grep Thu Jan 22 02:04:15 PST 2009 root 4419 4186 0 01:06 pts/1 00:00:00 udevd --debug nobody 4903 1 0 01:32 pts/1 00:00:00 /lib/udev/vol_id --export /dev/.tmp-8-32 nobody 4929 1 0 01:35 pts/1 00:00:00 /lib/udev/vol_id --export /dev/.tmp-8-33 nobody 4981 1 0 01:38 pts/1 00:00:00 /lib/udev/vol_id --export /dev/.tmp-8-32 and things start to look worse in general: Jan 22 01:09:42 mongo kernel: [ 890.099053] usb 1-3: reset high speed USB device using ehci_hcd and address 5 Jan 22 01:10:43 mongo kernel: [ 951.099053] usb 1-3: reset high speed USB device using ehci_hcd and address 5 Jan 22 01:11:44 mongo kernel: [ 1012.099055] usb 1-3: reset high speed USB device using ehci_hcd and address 5 Jan 22 01:12:45 mongo kernel: [ 1073.102053] usb 1-3: reset high speed USB device using ehci_hcd and address 5 Jan 22 01:13:46 mongo kernel: [ 1134.099069] usb 1-3: reset high speed USB device using ehci_hcd and address 5 Jan 22 01:14:47 mongo kernel: [ 1195.102056] usb 1-3: reset high speed USB device using ehci_hcd and address 5 Jan 22 01:14:47 mongo kernel: [ 1195.258155] sd 5:0:0:0: [sdc] Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK,SUGGEST_OK Jan 22 01:14:47 mongo kernel: [ 1195.258155] end_request: I/O error, dev sdc, sector 368472 Jan 22 01:14:47 mongo kernel: [ 1195.258155] Buffer I/O error on device sdc, logical block 368472 Jan 22 01:14:47 mongo kernel: [ 1195.258155] Buffer I/O error on device sdc, logical block 368473 Jan 22 01:14:47 mongo kernel: [ 1195.258155] Buffer I/O error on device sdc, logical block 368474 Jan 22 01:14:47 mongo kernel: [ 1195.258155] Buffer I/O error on device sdc, logical block 368475 Jan 22 01:14:47 mongo kernel: [ 1195.258155] Buffer I/O error on device sdc, logical block 368476 Jan 22 01:14:47 mongo kernel: [ 1195.258155] Buffer I/O error on device sdc, logical block 368477 Jan 22 01:14:47 mongo kernel: [ 1195.258155] Buffer I/O error on device sdc, logical block 368478 Jan 22 01:14:47 mongo kernel: [ 1195.258155] Buffer I/O error on device sdc, logical block 368479 Jan 22 01:15:48 mongo kernel: [ 1256.102064] usb 1-3: reset high speed USB device using ehci_hcd and address 5 Jan 22 01:16:49 mongo kernel: [ 1317.102306] usb 1-3: reset high speed USB device using ehci_hcd and address 5 Jan 22 01:17:50 mongo kernel: [ 1378.099064] usb 1-3: reset high speed USB device using ehci_hcd and address 5 /sys looks ok: [root@mongo ~]# ll /sys/block/sdc/ total 0 lrwxrwxrwx 1 root root 0 2009-01-22 12:04 bdi -> ../../../../../../../../../../virtual/bdi/8:32 -r--r--r-- 1 root root 4096 2009-01-22 12:04 capability -r--r--r-- 1 root root 4096 2009-01-22 12:03 dev lrwxrwxrwx 1 root root 0 2009-01-22 12:04 device -> ../../../8:0:0:0 -r--r--r-- 1 root root 4096 2009-01-22 12:04 ext_range drwxr-xr-x 2 root root 0 2009-01-22 12:04 holders drwxr-xr-x 2 root root 0 2009-01-22 12:04 power drwxr-xr-x 3 root root 0 2009-01-22 12:04 queue -r--r--r-- 1 root root 4096 2009-01-22 12:04 range -r--r--r-- 1 root root 4096 2009-01-22 12:04 removable -r--r--r-- 1 root root 4096 2009-01-22 12:04 ro drwxr-xr-x 4 root root 0 2009-01-22 12:04 sdc1 -r--r--r-- 1 root root 4096 2009-01-22 12:04 size drwxr-xr-x 2 root root 0 2009-01-22 12:04 slaves -r--r--r-- 1 root root 4096 2009-01-22 12:04 stat lrwxrwxrwx 1 root root 0 2009-01-22 12:03 subsystem -> ../../../../../../../../../../../class/block -rw-r--r-- 1 root root 4096 2009-01-22 12:03 uevent removing ehci-hcd and reverting to usb 1.1 hasn't been helpful either. i'm using stock fedora udev rules and udev-127. it's not faulty hardware, i've tried multiple cables and the phone still mounts fine on my F8 box at work. i can also mount the m2 card with a card reader on the F10 box without probs. sorry if i'm spamming the wrong list, i'm assuming this is a udev prob because /dev/sdc doesn't get created but perhaps this is a kernel issue? any assistance would be greatly appreciated and thanks for maintaining udev! T: Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 6 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=0fce ProdID=e0d9 Rev= 0.00 S: Manufacturer=Sony Ericsson S: Product=Memory Stick S: SerialNumber=3543870233666620 C:* #Ifs= 1 Cfg#= 2 Atr=80 MxPwr=500mA I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms [root@mongo sys]# lsusb Bus 001 Device 006: ID 0fce:e0d9 Sony Ericsson Mobile Communications AB Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 002: ID 04e8:326c Samsung Electronics Co., Ltd ML-2010P Mono Laser Printer Bus 002 Device 003: ID 413c:2005 Dell Computer Corp. RT7D50 Keyboard Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub [root@mongo ~]# lspci|grep USB 00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a2) 00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a2) [root@mongo ~]# uname -a Linux mongo.klunch.net 2.6.28.1 #1 SMP Thu Jan 22 00:11:53 PST 2009 i686 athlon i386 GNU/Linux [root@mongo ~]# cat /etc/redhat-release Fedora release 10 (Cambridge)
Attachment:
udevd.insert.log
Description: Binary data