Fedora Linux Support Community & Resources Center
  #1  
Old 13th June 2012, 01:02 AM
mstefanski1987 Offline
Registered User
 
Join Date: Jun 2012
Location: Warsaw, Poland
Posts: 2
linuxchrome
Fedora 17 - problem mounting lun-customized pendrive

Fedora has problems detecting second partition on my customized pendrive. Pendrive's controller is Phision PS2251-61, which I forced to display two devices - one is a USB-CD, and second one is USB-HDD (basically a normal pendrive partition with switched removable bit).

I have checked my drive against many systems/configurations - BIOS, Windows XP, Windows 7, Tomato 1.28 detect properly both virtual cd drive and second, rewritable partition.

On Fedora 17 however, only cd partition is properly detected and mounted as /dev/sr0 - the hdd device is detected as /dev/sdb but it fails to find any partitions on it (there is one vfat).

Here is what i know:

Code:
[marcin@k52jc input]$ lsusb
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 04f2:b1e5 Chicony Electronics Co., Ltd 
Bus 002 Device 010: ID 0951:1689 Kingston Technology 
Bus 002 Device 003: ID 1a40:0201 TERMINUS TECHNOLOGY INC. 
Bus 002 Device 004: ID 09da:9090 A4 Tech Co., Ltd XL-750BK Laser Mouse
Bus 002 Device 005: ID 03f0:4117 Hewlett-Packard LaserJet 1018
Bus 002 Device 006: ID 07b3:0017 Plustek, Inc. OpticPro UT12/16/24 Scanner
Bus 002 Device 007: ID 04f3:0103 Elan Microelectronics Corp.
Fdisk shows total garbage:

Code:
Dysk /dev/sdb: 15.5 GB, bajtów: 15496445952
głowic: 64, sektorów/ścieżkę: 32, cylindrów: 14778, w sumie sektorów: 30266496
Jednostka = sektorów, czyli 1 * 512 = 512 bajtów
Rozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 512
Rozmiar we/wy (minimalny/optymalny) w bajtach: 512 / 512
Identyfikator dysku: 0x62756c20

Nie wygląda to na tablicę partycji
Prawdopodobnie wybrano niewłaściwe urządzenie.

Urządzenie Rozruch   Początek      Koniec   Bloków   ID  System
/dev/sdb1   ?   234842985  3012013426  1388585221   5b  Nieznany
/dev/sdb2   ?  1918503437  3553525105   817510834+  73  Nieznany
/dev/sdb3   ?  1802725731  3474510787   835892528+  2c  Nieznany
/dev/sdb4   ?  2885683725  2885738709       27492+  77  Nieznany

Wpisy w tablicy partycji nie są w tej kolejności, co na dysku
As I said before - all other systems/devices detect my modified pendrive with no problem - any ideas as to why and what should I do?

dmesg from my router:

Code:
Jun 13 01:59:48 unknown user.info kernel: usb 1-1: new high speed USB device using ehci_hcd and address 5
Jun 13 01:59:48 unknown user.info kernel: usb 1-1: configuration #1 chosen from 1 choice
Jun 13 01:59:48 unknown user.info kernel: scsi3 : SCSI emulation for USB Mass Storage devices
Jun 13 01:59:48 unknown user.debug hotplug[18264]: Attached USB device 1-1:1.0 [INTERFACE=8/6/80 PRODUCT=951/1689/100]
Jun 13 01:59:50 unknown user.notice kernel: scsi 3:0:0:0: CD-ROM            Kingston DataTraveler SE9 PMAP PQ: 0 ANSI: 0 CCS
Jun 13 01:59:50 unknown user.notice kernel: scsi 3:0:0:1: Direct-Access     Kingston DataTraveler SE9 PMAP PQ: 0 ANSI: 0 CCS
Jun 13 01:59:52 unknown user.notice kernel: sd 3:0:0:1: [sda] 30266496 512-byte hardware sectors (15496 MB)
Jun 13 01:59:52 unknown user.notice kernel: sd 3:0:0:1: [sda] Write Protect is off
Jun 13 01:59:52 unknown user.debug kernel: sd 3:0:0:1: [sda] Mode Sense: 23 00 00 00
Jun 13 01:59:52 unknown user.err kernel: sd 3:0:0:1: [sda] Assuming drive cache: write through
Jun 13 01:59:52 unknown user.err kernel: sd 3:0:0:1: [sda] Assuming drive cache: write through
Jun 13 01:59:52 unknown user.info kernel:  sda:
Jun 13 01:59:52 unknown user.notice kernel: sd 3:0:0:1: [sda] Attached SCSI disk
dmesg from fedora:

Code:
[ 5776.035465] usb 2-1.2: new high-speed USB device number 11 using ehci_hcd
[ 5776.125549] usb 2-1.2: New USB device found, idVendor=0951, idProduct=1689
[ 5776.125554] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5776.125557] usb 2-1.2: Product: DataTraveler SE9
[ 5776.125560] usb 2-1.2: Manufacturer: Kingston
[ 5776.125562] usb 2-1.2: SerialNumber: 90C60D00EF380000
[ 5776.126574] scsi7 : usb-storage 2-1.2:1.0
[ 5777.204185] scsi 7:0:0:0: CD-ROM            Kingston DataTraveler SE9 PMAP PQ: 0 ANSI: 0 CCS
[ 5777.205514] scsi 7:0:0:1: Direct-Access     Kingston DataTraveler SE9 PMAP PQ: 0 ANSI: 0 CCS
[ 5777.208532] sr1: scsi3-mmc drive: 0x/0x tray
[ 5777.209323] sr 7:0:0:0: Attached scsi CD-ROM sr1
[ 5777.209799] sr 7:0:0:0: Attached scsi generic sg2 type 5
[ 5777.210809] sd 7:0:0:1: Attached scsi generic sg3 type 0
[ 5779.478992] sd 7:0:0:1: [sdb] 30266496 512-byte logical blocks: (15.4 GB/14.4 GiB)
[ 5779.480494] sd 7:0:0:1: [sdb] Write Protect is off
[ 5779.480504] sd 7:0:0:1: [sdb] Mode Sense: 23 00 00 00
[ 5779.482064] sd 7:0:0:1: [sdb] No Caching mode page present
[ 5779.482074] sd 7:0:0:1: [sdb] Assuming drive cache: write through
[ 5779.488212] sd 7:0:0:1: [sdb] No Caching mode page present
[ 5779.488222] sd 7:0:0:1: [sdb] Assuming drive cache: write through
[ 5779.508951]  sdb:
[ 5779.515665] sd 7:0:0:1: [sdb] No Caching mode page present
[ 5779.515670] sd 7:0:0:1: [sdb] Assuming drive cache: write through
[ 5779.515674] sd 7:0:0:1: [sdb] Attached SCSI disk
[ 5809.733369] usb 2-1.2: reset high-speed USB device number 11 using ehci_hcd
[ 5810.308190] isofs_fill_super: root inode is not a directory. Corrupted media?
Oh and by the way - yes, the ISO on the drive is not a valid ISO file, yet it boots flawlessly - data is not corrupted neither on CD part of flash nor on HDD.

SOLVED: I used testdisk, it allowed me to wipe the nonsense partition table and create a new one, after that /dev/sdb0 was detected and i mkntfs'd it.
Although it slows down terribly after copying first 500 MB (like, REALLY slows down, copying few MBytes and stops for 5 secs in cycles), it is recognized by all machines.
I will investigate speed problem further and keep this topic updated.

Also - please move it to the hardware section, seems that I was waaay to tired at night.

Last edited by mstefanski1987; 13th June 2012 at 05:43 AM.
Reply With Quote
  #2  
Old 13th June 2012, 07:00 PM
aurabindo Offline
Registered User
 
Join Date: Dec 2011
Location: Kerala,India
Posts: 45
linuxfirefox
Re: Fedora 17 - problem mounting lun-customized pendrive

Quote:
Originally Posted by mstefanski1987 View Post
Pendrive's controller is Phision PS2251-61, which I forced to display two devices - one is a USB-CD, and second one is USB-HDD (basically a normal pendrive partition with switched removable bit).
Oh My God! How did you manage to change the Pendrive`s controller? Did you flash a new firmware into it ? Can you shed some light into it? Or please give some links from where i can learn this stuff.
Reply With Quote
  #3  
Old 15th June 2012, 01:19 AM
mstefanski1987 Offline
Registered User
 
Join Date: Jun 2012
Location: Warsaw, Poland
Posts: 2
linuxchrome
Re: Fedora 17 - problem mounting lun-customized pendrive

Quite easy actually - I did not change the controller, only reprogrammed it.

For that you need a MPT - mass production tool compatible with your chipset.

Try www.flashboot.ru for more info (russian, chrome + translator will helo you).

Friendly warning though - I killed my drive once and had to get it repaired. Be sure you know what you are doing before you start.
Reply With Quote
  #4  
Old 15th June 2012, 03:30 AM
aurabindo Offline
Registered User
 
Join Date: Dec 2011
Location: Kerala,India
Posts: 45
linuxfirefox
Re: Fedora 17 - problem mounting lun-customized pendrive

Quote:
Originally Posted by mstefanski1987 View Post
Friendly warning though - I killed my drive once and had to get it repaired. Be sure you know what you are doing before you start.
I think I have a useless moserbaer 1GB drive somewhere in my home Thanks!
Reply With Quote
Reply

Tags
fedora, luncustomized, mounting, pendrive, problem

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting USB PenDrive in Fedora Core 4 mahesh_chavan Hardware & Laptops 2 5th March 2012 04:08 AM
mounting a pendrive? contraculto Using Fedora 1 1st September 2007 12:29 PM
USB pendrive mounting problems! Emret Hardware & Laptops 4 3rd November 2005 01:15 PM


Current GMT-time: 02:06 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat