SCIENTIFIC-LINUX-USERS Archives

February 2010

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Gasser Marc <[log in to unmask]>
Reply To:
Gasser Marc <[log in to unmask]>
Date:
Thu, 4 Feb 2010 16:21:37 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (218 lines)
thanks again for your advice. Well also dmesg lists the device. However,
this gave me another hint, so I tried to mount /dev/sdb manually,
# mount -t vfat /dev/sdb /mnt/mydisk
what failed with the error
# unkown filesystem type !!
eventually, I could find the problem:
last night cron executed yum update. This removed
the running kernel, among which was vfat.ko!

We have about 600 SL5 systems running, and from time
to time kernel updates fail on some systems. Sometimes /etc/grub.conf
is broken, while the new kernel is installed, sometimes
the kernel is gone at all :-/
Not so clear why yum removes the running
kernel.

Marc

### dmesg
usb 7-2: new high speed USB device using ehci_hcd and address 4
usb 7-2: configuration #1 chosen from 2 choices
scsi8 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
  Vendor: Nokia     Model: N900              Rev:  031
  Type:   Direct-Access                      ANSI SCSI revision: 02
sd 8:0:0:0: Attached scsi removable disk sdb
sd 8:0:0:0: Attached scsi generic sg2 type 0
  Vendor: Nokia     Model: N900              Rev:  031
  Type:   Direct-Access                      ANSI SCSI revision: 02

######################################################################


Stephen J. Gowdy wrote:
> Looks like it should work. Is there nothing in dmesg output about it?
>
> On Thu, 4 Feb 2010, Gasser Marc wrote:
>
>> thank you for the reply.
>> Well, it does and the driver is loaded (outputs below).
>>
>> Maybe you could test your phone once with SL and give me some
>> feedback, that would be great. However, it's not urgent.
>>
>> Marc
>>
>>
>> #### cat /proc/bus/usb/devices
>> T:  Bus=07 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  4 Spd=480 MxCh= 0
>> D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  2
>> P:  Vendor=0421 ProdID=01c7 Rev= 3.16
>> S:  Manufacturer=Nokia
>> S:  Product=N900 (Storage Mode)
>> S:  SerialNumber=372041756775
>> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
>> I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 
>> Driver=usb-storage
>> E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
>> E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
>> C:  #Ifs= 1 Cfg#= 2 Atr=c0 MxPwr=100mA
>> I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=
>> E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
>> E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
>>
>> ### cat /proc/scsi/scsi
>> Attached devices:
>> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>>  Vendor: ATA      Model: WDC WD2500AAJS-0 Rev: 01.0
>>  Type:   Direct-Access                    ANSI SCSI revision: 05
>> Host: scsi1 Channel: 00 Id: 00 Lun: 00
>>  Vendor: TSSTcorp Model: CDDVDW TS-H653G  Rev: FS00
>>  Type:   CD-ROM                           ANSI SCSI revision: 05
>> Host: scsi8 Channel: 00 Id: 00 Lun: 00
>>  Vendor: Nokia    Model: N900             Rev:  031
>>  Type:   Direct-Access                    ANSI SCSI revision: 02
>> Host: scsi8 Channel: 00 Id: 00 Lun: 01
>>  Vendor: Nokia    Model: N900             Rev:  031
>>  Type:   Direct-Access                    ANSI SCSI revision: 02
>>
>>
>> ########################################################################
>> Stephen J. Gowdy wrote:
>>> usb-storage module should be loaded automatically and it should end up
>>> in /proc/scsi/scsi.
>>>
>>> I have the same phone so could have checked if I had the USB cable
>>> with me... I have used it with Fedora 12 after selecting Storage Mode
>>> on the phone (it looks like you did from below).
>>>
>>> What does /proc/bus/usb/devices show? It should have usb-storage
>>> listed as the Driver= for it.
>>>
>>> On Thu, 4 Feb 2010, Gasser Marc wrote:
>>>
>>>> Hello,
>>>>
>>>> anybody has an idea how to mount a mobile phone via usb
>>>> in SL51.
>>>> Neither fdisk -l nor parted can see a device file for the mobile,
>>>> only lsusb (see below) shows that it is plugged in.
>>>>
>>>> Thanks for help.
>>>>
>>>> Regards,
>>>> Marc Gasser
>>>> PSI-Villigen, CH
>>>>
>>>> ### output of lsusb -v
>>>> Bus 007 Device 004: ID 0421:01c7 Nokia Mobile Phones
>>>> Device Descriptor:
>>>>  bLength                18
>>>>  bDescriptorType         1
>>>>  bcdUSB               2.00
>>>>  bDeviceClass            0 (Defined at Interface level)
>>>>  bDeviceSubClass         0
>>>>  bDeviceProtocol         0
>>>>  bMaxPacketSize0        64
>>>>  idVendor           0x0421 Nokia Mobile Phones
>>>>  idProduct          0x01c7
>>>>  bcdDevice            3.16
>>>>  iManufacturer           1 Nokia
>>>>  iProduct                2 N900 (Storage Mode)
>>>>  iSerial                 3 372041756775
>>>>  bNumConfigurations      2
>>>>  Configuration Descriptor:
>>>>    bLength                 9
>>>>    bDescriptorType         2
>>>>    wTotalLength           32
>>>>    bNumInterfaces          1
>>>>    bConfigurationValue     1
>>>>    iConfiguration          4 Max power
>>>>    bmAttributes         0x80
>>>>    MaxPower              500mA
>>>>    Interface Descriptor:
>>>>      bLength                 9
>>>>      bDescriptorType         4
>>>>      bInterfaceNumber        0
>>>>      bAlternateSetting       0
>>>>      bNumEndpoints           2
>>>>      bInterfaceClass         8 Mass Storage
>>>>      bInterfaceSubClass      6 SCSI
>>>>      bInterfaceProtocol     80 Bulk (Zip)
>>>>      iInterface              6 Mass Storage
>>>>      Endpoint Descriptor:
>>>>        bLength                 7
>>>>        bDescriptorType         5
>>>>        bEndpointAddress     0x81  EP 1 IN
>>>>        bmAttributes            2
>>>>          Transfer Type            Bulk
>>>>          Synch Type               None
>>>>          Usage Type               Data
>>>>        wMaxPacketSize     0x0200  1x 512 bytes
>>>>        bInterval               0
>>>>      Endpoint Descriptor:
>>>>        bLength                 7
>>>>        bDescriptorType         5
>>>>        bEndpointAddress     0x01  EP 1 OUT
>>>>        bmAttributes            2
>>>>          Transfer Type            Bulk
>>>>          Synch Type               None
>>>>          Usage Type               Data
>>>>        wMaxPacketSize     0x0200  1x 512 bytes
>>>>        bInterval               1
>>>>  Configuration Descriptor:
>>>>    bLength                 9
>>>>    bDescriptorType         2
>>>>    wTotalLength           32
>>>>    bNumInterfaces          1
>>>>    bConfigurationValue     2
>>>>    iConfiguration          5 Self-powered
>>>>    bmAttributes         0xc0
>>>>      Self Powered
>>>>    MaxPower              100mA
>>>>    Interface Descriptor:
>>>>      bLength                 9
>>>>      bDescriptorType         4
>>>>      bInterfaceNumber        0
>>>>      bAlternateSetting       0
>>>>      bNumEndpoints           2
>>>>      bInterfaceClass         8 Mass Storage
>>>>      bInterfaceSubClass      6 SCSI
>>>>      bInterfaceProtocol     80 Bulk (Zip)
>>>>      iInterface              6 Mass Storage
>>>>      Endpoint Descriptor:
>>>>        bLength                 7
>>>>        bDescriptorType         5
>>>>        bEndpointAddress     0x81  EP 1 IN
>>>>        bmAttributes            2
>>>>          Transfer Type            Bulk
>>>>          Synch Type               None
>>>>          Usage Type               Data
>>>>        wMaxPacketSize     0x0200  1x 512 bytes
>>>>        bInterval               0
>>>>      Endpoint Descriptor:
>>>>        bLength                 7
>>>>        bDescriptorType         5
>>>>        bEndpointAddress     0x01  EP 1 OUT
>>>>        bmAttributes            2
>>>>          Transfer Type            Bulk
>>>>          Synch Type               None
>>>>          Usage Type               Data
>>>>        wMaxPacketSize     0x0200  1x 512 bytes
>>>>        bInterval               1
>>>> Device Qualifier (for other device speed):
>>>>  bLength                10
>>>>  bDescriptorType         6
>>>>  bcdUSB               2.00
>>>>  bDeviceClass            0 (Defined at Interface level)
>>>>  bDeviceSubClass         0
>>>>  bDeviceProtocol         0
>>>>  bMaxPacketSize0        64
>>>>  bNumConfigurations      2
>>>>
>>>
>>
>

ATOM RSS1 RSS2