Google
  Web www.spinics.net

Re: usb-storage and Motorola Z6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


> > Everything looks correct except that sd_mod isn't
> > loaded.
> 
> sd_mod is build fix into the kernel because of the
> real SCSI card. All other usb-storage devices
> (flash sticks, card reader and USB HDDs) are working
> without problems.
> 
> I connected the phone to a complete different computer
> (my laptop: vendor kernel, more modularized) and
> sd_mod is loading when I plug in, but nevertheless
> no block-devices. The same behavior as on my desktop
> computer...

It would probably help to have .config and lsmod details.

$ lsmod
$ cat /boot/config | grep -v "^#" | grep -v "^$"

That being said, the device it is associated with should appear in /proc/partitions, if everything is right/working.

$ cat /proc/partitions

Assuming udev created the device of course.  Or the device otherwise exists through devfs or mknod.  Which is some of the difficulty I've had in the past with usb-storage devices.  Having the modules load at boot seems to help with that.  If it doesn't exist, you can get some of the details of what to create it with from /proc/devices (major numbers for type) and /proc/misc (minor numbers for major 10).  There's some kernel configurations that put usb-storage devices on /dev/ub?# (or similar, been a while) as opposed to the expected /dev/sd?# we're used to.  Either way, if the device exists and is mountable it should show up in /proc/partitions.

Just remember to get all of the parts loaded before it will work.  sg, sd_mod, scsi_mod, sr_mod, usb-storage, uhci/ohci, ehci, usbcore, vfat, yada yada yada.  If any one part is missing it may not work, or work as expected.  Module names do vary between kernel versions so it's not an exact science.  Beyond that your previous details didn't seem to indicate that anything was wrong or missing.  But it's hard to tell with the missing details.

HTH

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Linux-usb-users@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

[Linux USB]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]