2.6.25: usb-storage unknown partition table issue
Hi,
i have a 8GB usb pen with several problem due to partition table.
if i create a primary one with fdisk, then format it works ok. then i umount it, unplug, replug, no more partition detected.
I formatted it on Windows (same machine) and this some stress test, but it's brand new and it works. The partition and the free space is correctly seen by qtparted and parted, but in the dmesg i see:
Initializing USB Mass Storage driver...
scsi10 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver usb-storage USB Mass Storage support registered.
usb-storage: device scan complete
scsi 10:0:0:0: Direct-Access Ut165 USB2FlashStorage 0.00 PQ: 0 ANSI: 2
sd 10:0:0:0: [sdc] 15794176 512-byte hardware sectors (8087 MB) sd 10:0:0:0: [sdc] Write Protect is off
sd 10:0:0:0: [sdc] Mode Sense: 00 00 00 00
sd 10:0:0:0: [sdc] Assuming drive cache: write through sd 10:0:0:0: [sdc] 15794176 512-byte hardware sectors (8087 MB) sd 10:0:0:0: [sdc] Write Protect is off
sd 10:0:0:0: [sdc] Mode Sense: 00 00 00 00
sd 10:0:0:0: [sdc] Assuming drive cache: write through
sdc: unknown partition table
sd 10:0:0:0: [sdc] Attached SCSI removable disk
This makes the partition unasable in my linux 2.6.25 (vanilla) system. Another 1gb usbpen works perfectly.
Bus 004 Device 001: ID 1d6b:0001
Bus 005 Device 001: ID 1d6b:0001
Bus 002 Device 001: ID 1d6b:0001
Bus 003 Device 001: ID 1d6b:0001
Bus 001 Device 002: ID 1307:0165 Transcend Information, Inc. Bus 001 Device 001: ID 1d6b:0002
Anything i can try?
It looks a scsi issue. And it's the first time i see the Mode Sense set to 0 for any usb storage device.
Please CC me i'm not subscribed
--
Patrizio Bassi
www.patriziobassi.it
Looks like you did not enable the partition type "PC BIOS".
Type "make menuconfig" and make sure you enabled it on:
Partition types / Advanced partition / pc bios (ms dos partition tables)
Discard any SCSI issue, indeed I am almost sure you can do a "cp /dev/sda /dev/null" with no problem (showing that your SCSI driver is working properly).
Yours, Abel.
2008/5/19 Patrizio Bassi <[email protected]>:
Quoted 57 lines
Hi,
i have a 8GB usb pen with several problem due to partition table.
if i create a primary one with fdisk, then format it works ok. then i umount it, unplug, replug, no more partition detected.
I formatted it on Windows (same machine) and this some stress test, but it's brand new and it works.
The partition and the free space is correctly seen by qtparted and parted, but in the dmesg i see:Initializing USB Mass Storage driver...
scsi10 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver usb-storage USB Mass Storage support registered.
usb-storage: device scan complete
scsi 10:0:0:0: Direct-Access Ut165 USB2FlashStorage 0.00 PQ: 0 ANSI:
2
sd 10:0:0:0: [sdc] 15794176 512-byte hardware sectors (8087 MB) sd 10:0:0:0: [sdc] Write Protect is off
sd 10:0:0:0: [sdc] Mode Sense: 00 00 00 00
sd 10:0:0:0: [sdc] Assuming drive cache: write through sd 10:0:0:0: [sdc] 15794176 512-byte hardware sectors (8087 MB) sd 10:0:0:0: [sdc] Write Protect is off
sd 10:0:0:0: [sdc] Mode Sense: 00 00 00 00
sd 10:0:0:0: [sdc] Assuming drive cache: write through
sdc: unknown partition table
sd 10:0:0:0: [sdc] Attached SCSI removable diskThis makes the partition unasable in my linux 2.6.25 (vanilla) system. Another 1gb usbpen works perfectly.
Bus 004 Device 001: ID 1d6b:0001
Bus 005 Device 001: ID 1d6b:0001
Bus 002 Device 001: ID 1d6b:0001
Bus 003 Device 001: ID 1d6b:0001
Bus 001 Device 002: ID 1307:0165 Transcend Information, Inc. Bus 001 Device 001: ID 1d6b:0002Anything i can try?
It looks a scsi issue. And it's the first time i see the Mode Sense set to 0 for any usb storage device.Please CC me i'm not subscribed
--
Patrizio Bassi
www.patriziobassi.it
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Abel Bernabeu ha scritto:
Quoted 10 lines
Looks like you did not enable the partition type "PC BIOS".
Type "make menuconfig" and make sure you enabled it on:
Partition types / Advanced partition / pc bios (ms dos partition tables)
Discard any SCSI issue, indeed I am almost sure you can do a "cp
/dev/sda/dev/null" with no problem (showing that your SCSI driver is working properly).
Quoted 55 lines
Yours, Abel.
2008/5/19 Patrizio Bassi <[email protected]>:
Quoted 49 lines
Hi,
i have a 8GB usb pen with several problem due to partition table.
if i create a primary one with fdisk, then format it works ok. then i umount it, unplug, replug, no more partition detected.
I formatted it on Windows (same machine) and this some stress test, but it's brand new and it works.
The partition and the free space is correctly seen by qtparted and parted, but in the dmesg i see:Initializing USB Mass Storage driver...
scsi10 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver usb-storage USB Mass Storage support registered.
usb-storage: device scan complete
scsi 10:0:0:0: Direct-Access Ut165 USB2FlashStorage 0.00 PQ: 0 ANSI:
2
sd 10:0:0:0: [sdc] 15794176 512-byte hardware sectors (8087 MB) sd 10:0:0:0: [sdc] Write Protect is off
sd 10:0:0:0: [sdc] Mode Sense: 00 00 00 00
sd 10:0:0:0: [sdc] Assuming drive cache: write through sd 10:0:0:0: [sdc] 15794176 512-byte hardware sectors (8087 MB) sd 10:0:0:0: [sdc] Write Protect is off
sd 10:0:0:0: [sdc] Mode Sense: 00 00 00 00
sd 10:0:0:0: [sdc] Assuming drive cache: write through
sdc: unknown partition table
sd 10:0:0:0: [sdc] Attached SCSI removable diskThis makes the partition unasable in my linux 2.6.25 (vanilla) system. Another 1gb usbpen works perfectly.
Bus 004 Device 001: ID 1d6b:0001
Bus 005 Device 001: ID 1d6b:0001
Bus 002 Device 001: ID 1d6b:0001
Bus 003 Device 001: ID 1d6b:0001
Bus 001 Device 002: ID 1307:0165 Transcend Information, Inc. Bus 001 Device 001: ID 1d6b:0002Anything i can try?
It looks a scsi issue. And it's the first time i see the Mode Sense set to 0 for any usb storage device.Please CC me i'm not subscribed
Hi Abel/All,
it doesn't work at all. Actually even other pen i have were formatted in windows and they work ok.
And, as said, parted reconize it. now i destroyed and created again with parted, but on windows it works, on linux not.
What else to try?
Patrizio
Can you supply me your .config file? I am sure it is just a matter of enabling the correct option there.
Yours, Abel.
2008/5/20 Patrizio Bassi <[email protected]>:
Quoted 85 lines
Abel Bernabeu ha scritto:
Quoted 11 lines
Looks like you did not enable the partition type "PC BIOS".
Type "make menuconfig" and make sure you enabled it on:
Partition types / Advanced partition / pc bios (ms dos partition tables)
Discard any SCSI issue, indeed I am almost sure you can do a "cp
/dev/sda/dev/null" with no problem (showing that your SCSI driver is working properly).Quoted 60 lines
Yours, Abel.
2008/5/19 Patrizio Bassi <[email protected]>:
Quoted 54 lines
Hi,
i have a 8GB usb pen with several problem due to partition table.
if i create a primary one with fdisk, then format it works ok. then i umount it, unplug, replug, no more partition detected.
I formatted it on Windows (same machine) and this some stress test, but it's
brand new and it works.
The partition and the free space is correctly seen by qtparted and parted,
but in the dmesg i see:Initializing USB Mass Storage driver...
scsi10 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver usb-storage USB Mass Storage support registered.
usb-storage: device scan complete
scsi 10:0:0:0: Direct-Access Ut165 USB2FlashStorage 0.00 PQ: 0
ANSI:
2
sd 10:0:0:0: [sdc] 15794176 512-byte hardware sectors (8087 MB) sd 10:0:0:0: [sdc] Write Protect is off
sd 10:0:0:0: [sdc] Mode Sense: 00 00 00 00
sd 10:0:0:0: [sdc] Assuming drive cache: write through sd 10:0:0:0: [sdc] 15794176 512-byte hardware sectors (8087 MB) sd 10:0:0:0: [sdc] Write Protect is off
sd 10:0:0:0: [sdc] Mode Sense: 00 00 00 00
sd 10:0:0:0: [sdc] Assuming drive cache: write through
sdc: unknown partition table
sd 10:0:0:0: [sdc] Attached SCSI removable diskThis makes the partition unasable in my linux 2.6.25 (vanilla) system. Another 1gb usbpen works perfectly.
Bus 004 Device 001: ID 1d6b:0001
Bus 005 Device 001: ID 1d6b:0001
Bus 002 Device 001: ID 1d6b:0001
Bus 003 Device 001: ID 1d6b:0001
Bus 001 Device 002: ID 1307:0165 Transcend Information, Inc. Bus 001 Device 001: ID 1d6b:0002Anything i can try?
It looks a scsi issue. And it's the first time i see the Mode Sense set to 0
for any usb storage device.Please CC me i'm not subscribed
Hi Abel/All,
it doesn't work at all. Actually even other pen i have were formatted in windows and they work ok.
And, as said, parted reconize it. now i destroyed and created again with parted, but on windows it works, on linux not.
What else to try?
Patrizio
2008/5/21 Abel Bernabeu <[email protected]>:
Quoted 92 lines
Can you supply me your .config file? I am sure it is just a matter of enabling the correct option there.
Yours, Abel.
2008/5/20 Patrizio Bassi <[email protected]>:
Quoted 85 lines
Abel Bernabeu ha scritto:
Quoted 11 lines
Looks like you did not enable the partition type "PC BIOS".
Type "make menuconfig" and make sure you enabled it on:
Partition types / Advanced partition / pc bios (ms dos partition tables)
Discard any SCSI issue, indeed I am almost sure you can do a "cp
/dev/sda/dev/null" with no problem (showing that your SCSI driver is working properly).Quoted 60 lines
Yours, Abel.
2008/5/19 Patrizio Bassi <[email protected]>:
Quoted 54 lines
Hi,
i have a 8GB usb pen with several problem due to partition table.
if i create a primary one with fdisk, then format it works ok. then i umount it, unplug, replug, no more partition detected.
I formatted it on Windows (same machine) and this some stress test, but it's
brand new and it works.
The partition and the free space is correctly seen by qtparted and parted,
but in the dmesg i see:Initializing USB Mass Storage driver...
scsi10 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver usb-storage USB Mass Storage support registered.
usb-storage: device scan complete
scsi 10:0:0:0: Direct-Access Ut165 USB2FlashStorage 0.00 PQ: 0
ANSI:
2
sd 10:0:0:0: [sdc] 15794176 512-byte hardware sectors (8087 MB) sd 10:0:0:0: [sdc] Write Protect is off
sd 10:0:0:0: [sdc] Mode Sense: 00 00 00 00
sd 10:0:0:0: [sdc] Assuming drive cache: write through sd 10:0:0:0: [sdc] 15794176 512-byte hardware sectors (8087 MB) sd 10:0:0:0: [sdc] Write Protect is off
sd 10:0:0:0: [sdc] Mode Sense: 00 00 00 00
sd 10:0:0:0: [sdc] Assuming drive cache: write through
sdc: unknown partition table
sd 10:0:0:0: [sdc] Attached SCSI removable diskThis makes the partition unasable in my linux 2.6.25 (vanilla) system. Another 1gb usbpen works perfectly.
Bus 004 Device 001: ID 1d6b:0001
Bus 005 Device 001: ID 1d6b:0001
Bus 002 Device 001: ID 1d6b:0001
Bus 003 Device 001: ID 1d6b:0001
Bus 001 Device 002: ID 1307:0165 Transcend Information, Inc. Bus 001 Device 001: ID 1d6b:0002Anything i can try?
It looks a scsi issue. And it's the first time i see the Mode Sense set to 0
for any usb storage device.Please CC me i'm not subscribed
Hi Abel/All,
it doesn't work at all. Actually even other pen i have were formatted in windows and they work ok.
And, as said, parted reconize it. now i destroyed and created again with parted, but on windows it works, on linux not.
What else to try?
Patrizio
Attached.
Patrizio