Unix Technical Forum

usb stick

This is a discussion on usb stick within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Hi out there, I got a problem with my brand new USB stick. It's an apacer HT202. I know ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 11:06 AM
Matthias Riesterer
 
Posts: n/a
Default usb stick

Hi out there,

I got a problem with my brand new USB stick. It's an apacer HT202. I know
that it is running (tested it), on Linux and even on Windows. But not on my
system.

I followed http://gentoo-wiki.com/HOWTO_USB_Mass_Storage_Device (the module
version).

Error Messages:
SCSI device sda: 1003520 512-byte hdwr sectors (514 MB)
sda: Write Protect is off
sda: Mode Sense: 23 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 1003520 512-byte hdwr sectors (514 MB)
sda: Write Protect is off
sda: Mode Sense: 23 00 00 00
sda: assuming drive cache: write through
sda:<6>usb 1-5: reset high speed USB device using ehci_hcd and address 3

so far so good

sd 0:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
usb 1-5: reset high speed USB device using ehci_hcd and address 3
usb 1-5: reset high speed USB device using ehci_hcd and address 3
usb 1-5: reset high speed USB device using ehci_hcd and address 3
usb 1-5: reset high speed USB device using ehci_hcd and address 3
usb 1-5: reset high speed USB device using ehci_hcd and address 3
sd 0:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
unable to read partition table
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
usb-storage: device scan complete

$ uname -a
Linux zaphod 2.6.14-gentoo-r5 #5 PREEMPT Tue Feb 14 20:16:29 CET 2006 i686
AMD Athlon(tm) XP 2700+ AuthenticAMD GNU/Linux

udev is installed and running

# udevmonitor
UEVENT[1139945350.910949] add@/devices/pci0000:00/0000:00:02.2/usb1/1-5
UEVENT[1139945350.912154]
add@/devices/pci0000:00/0000:00:02.2/usb1/1-5/1-5:1.0
UEVENT[1139945350.917917] add@/class/scsi_host/host1
UEVENT[1139945350.918923] add@/class/usb_device/usbdev1.4
UDEV [1139945350.955576] add@/devices/pci0000:00/0000:00:02.2/usb1/1-5
UDEV [1139945351.214868]
add@/devices/pci0000:00/0000:00:02.2/usb1/1-5/1-5:1.0
UDEV [1139945351.233552] add@/class/scsi_host/host1
UDEV [1139945351.252952] add@/class/usb_device/usbdev1.4
UEVENT[1139945355.919450]
add@/devices/pci0000:00/0000:00:02.2/usb1/1-5/1-5:1.0/host1/target1:0:0/1:0:0:0
UEVENT[1139945356.186080] add@/block/sda
UEVENT[1139945358.453466] add@/class/scsi_device/1:0:0:0
UDEV [1139945358.497293]
add@/devices/pci0000:00/0000:00:02.2/usb1/1-5/1-5:1.0/host1/target1:0:0/1:0:0:0
UDEV [1139945358.522857] add@/class/scsi_device/1:0:0:0
UDEV [1139945358.546131] add@/block/sda

Any suggestions?

Thx in advance.

matthias
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 11:06 AM
AZ Nomad
 
Posts: n/a
Default Re: usb stick

On Tue, 14 Feb 2006 20:30:17 +0100, Matthias Riesterer <matthias.riesterer@web.de> wrote:


>so far so good


>sd 0:0:0:0: SCSI error: return code = 0x70000
>end_request: I/O error, dev sda, sector 0
>Buffer I/O error on device sda, logical block 0

...
>sd 0:0:0:0: SCSI error: return code = 0x70000
>end_request: I/O error, dev sda, sector 0
>Buffer I/O error on device sda, logical block 0
> unable to read partition table

.....

what do you get from 'fdisk -l /dev/sda'
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 11:06 AM
Matthias Riesterer
 
Posts: n/a
Default Re: usb stick

AZ Nomad wrote:

>>so far so good

>
>>sd 0:0:0:0: SCSI error: return code = 0x70000
>>end_request: I/O error, dev sda, sector 0
>>Buffer I/O error on device sda, logical block 0

> ..
>>sd 0:0:0:0: SCSI error: return code = 0x70000
>>end_request: I/O error, dev sda, sector 0
>>Buffer I/O error on device sda, logical block 0
>> unable to read partition table

> ....
>
> what do you get from 'fdisk -l /dev/sda'


nothing

but
# pmount /dev/sda
mount: unknown filesystem type 'jfs'
????? don't think, that's plausible
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 11:06 AM
Anton Ertl
 
Posts: n/a
Default Re: usb stick

Matthias Riesterer <matthias.riesterer@web.de> writes:
>Hi out there,
>
>I got a problem with my brand new USB stick. It's an apacer HT202. I know
>that it is running (tested it), on Linux and even on Windows. But not on my
>system.


Are the systems where it works using USB 1.1 or USB 2.0. I have a
stick that used to work with USB 2.0, but no longer does (I got error
messages somewhat like you); but it still talks with machines that use
only USB 1.1. Another theory would be that the USB controller on your
system does not work properly.

- anton
--
M. Anton Ertl Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 11:06 AM
Matthias Riesterer
 
Posts: n/a
Default Re: usb stick

Anton Ertl wrote:

>>I got a problem with my brand new USB stick. It's an apacer HT202. I know
>>that it is running (tested it), on Linux and even on Windows. But not on
>>my system.

>
> Are the systems where it works using USB 1.1 or USB 2.0. *I have a
> stick that used to work with USB 2.0, but no longer does (I got error
> messages somewhat like you); but it still talks with machines that use
> only USB 1.1. *

Linux system (debian) is using ehci (USB 2.0). I know that for sure, because
I have its lsmod.out here
usbcore 104316 4 usb_storage,ehci_hcd,uhci_hcd
My system uses ohci. I've got an ASUS Board (A7N8X-X)with nvidia nforce2
chipset.
I'll give USB 1.1 a try.

> Another theory would be that the USB controller on your
> system does not work properly.

No problems with my mouse and my digicam (PTP mode) so far. But I don't if
that excludes errors with a mass storage device.
Is there a hardware test available to check if the USB controller works
properly?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-21-2008, 11:06 AM
AZ Nomad
 
Posts: n/a
Default Re: usb stick

On Tue, 14 Feb 2006 21:47:42 +0100, Matthias Riesterer <matthias.riesterer@web.de> wrote:


>AZ Nomad wrote:


>>>so far so good

>>
>>>sd 0:0:0:0: SCSI error: return code = 0x70000
>>>end_request: I/O error, dev sda, sector 0
>>>Buffer I/O error on device sda, logical block 0

>> ..
>>>sd 0:0:0:0: SCSI error: return code = 0x70000
>>>end_request: I/O error, dev sda, sector 0
>>>Buffer I/O error on device sda, logical block 0
>>> unable to read partition table

>> ....
>>
>> what do you get from 'fdisk -l /dev/sda'


>nothing


Sounds like you have a corrupted partition table. Did you do anything
silly like put an NTFS partition on it?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-21-2008, 11:06 AM
Ken K
 
Posts: n/a
Default Re: usb stick

Matthias Riesterer wrote:

> Hi out there,
>
> I got a problem with my brand new USB stick. It's an apacer HT202. I know
> that it is running (tested it), on Linux and even on Windows. But not on
> my system.
>
> I followed http://gentoo-wiki.com/HOWTO_USB_Mass_Storage_Device (the
> module version).
>
> Error Messages:
> SCSI device sda: 1003520 512-byte hdwr sectors (514 MB)
> sda: Write Protect is off
> sda: Mode Sense: 23 00 00 00
> sda: assuming drive cache: write through
> SCSI device sda: 1003520 512-byte hdwr sectors (514 MB)
> sda: Write Protect is off
> sda: Mode Sense: 23 00 00 00
> sda: assuming drive cache: write through
> sda:<6>usb 1-5: reset high speed USB device using ehci_hcd and address 3
>
> so far so good
>
> sd 0:0:0:0: SCSI error: return code = 0x70000
> end_request: I/O error, dev sda, sector 0
> Buffer I/O error on device sda, logical block 0
> usb 1-5: reset high speed USB device using ehci_hcd and address 3
> usb 1-5: reset high speed USB device using ehci_hcd and address 3
> usb 1-5: reset high speed USB device using ehci_hcd and address 3
> usb 1-5: reset high speed USB device using ehci_hcd and address 3
> usb 1-5: reset high speed USB device using ehci_hcd and address 3
> sd 0:0:0:0: SCSI error: return code = 0x70000
> end_request: I/O error, dev sda, sector 0
> Buffer I/O error on device sda, logical block 0
> unable to read partition table
> Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
> usb-storage: device scan complete
>
> $ uname -a
> Linux zaphod 2.6.14-gentoo-r5 #5 PREEMPT Tue Feb 14 20:16:29 CET 2006 i686
> AMD Athlon(tm) XP 2700+ AuthenticAMD GNU/Linux
>
> udev is installed and running
>
> # udevmonitor
> UEVENT[1139945350.910949] add@/devices/pci0000:00/0000:00:02.2/usb1/1-5
> UEVENT[1139945350.912154]
> add@/devices/pci0000:00/0000:00:02.2/usb1/1-5/1-5:1.0
> UEVENT[1139945350.917917] add@/class/scsi_host/host1
> UEVENT[1139945350.918923] add@/class/usb_device/usbdev1.4
> UDEV [1139945350.955576] add@/devices/pci0000:00/0000:00:02.2/usb1/1-5
> UDEV [1139945351.214868]
> add@/devices/pci0000:00/0000:00:02.2/usb1/1-5/1-5:1.0
> UDEV [1139945351.233552] add@/class/scsi_host/host1
> UDEV [1139945351.252952] add@/class/usb_device/usbdev1.4
> UEVENT[1139945355.919450]
>

add@/devices/pci0000:00/0000:00:02.2/usb1/1-5/1-5:1.0/host1/target1:0:0/1:0:0:0
> UEVENT[1139945356.186080] add@/block/sda
> UEVENT[1139945358.453466] add@/class/scsi_device/1:0:0:0
> UDEV [1139945358.497293]
>

add@/devices/pci0000:00/0000:00:02.2/usb1/1-5/1-5:1.0/host1/target1:0:0/1:0:0:0
> UDEV [1139945358.522857] add@/class/scsi_device/1:0:0:0
> UDEV [1139945358.546131] add@/block/sda
>
> Any suggestions?
>
> Thx in advance.
>
> matthias


I have had issues with USB stick devices plugged into some *add on* USB
hubs.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-21-2008, 11:06 AM
Matthias Riesterer
 
Posts: n/a
Default Re: usb stick

AZ Nomad schrieb:
> >>>sd 0:0:0:0: SCSI error: return code = 0x70000
> >>>end_request: I/O error, dev sda, sector 0
> >>>Buffer I/O error on device sda, logical block 0
> >> ..
> >>>sd 0:0:0:0: SCSI error: return code = 0x70000
> >>>end_request: I/O error, dev sda, sector 0
> >>>Buffer I/O error on device sda, logical block 0
> >>> unable to read partition table
> >> ....
> >>
> >> what do you get from 'fdisk -l /dev/sda'

>
> >nothing

>
> Sounds like you have a corrupted partition table. Did you do anything
> silly like put an NTFS partition on it?


(posting from google)

No. It's a vfat partition. As I mentioned, the stick is running on
another linux system.

And vfat support is enabled.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-21-2008, 11:06 AM
Matthias Riesterer
 
Posts: n/a
Default Re: usb stick

Ken K wrote:
> > I got a problem with my brand new USB stick. It's an apacer HT202. I know
> > that it is running (tested it), on Linux and even on Windows. But not on
> > my system.
> >
> > sd 0:0:0:0: SCSI error: return code = 0x70000
> > end_request: I/O error, dev sda, sector 0
> > Buffer I/O error on device sda, logical block 0
> > usb 1-5: reset high speed USB device using ehci_hcd and address 3
> > usb 1-5: reset high speed USB device using ehci_hcd and address 3
> > usb 1-5: reset high speed USB device using ehci_hcd and address 3
> > usb 1-5: reset high speed USB device using ehci_hcd and address 3
> > usb 1-5: reset high speed USB device using ehci_hcd and address 3
> > sd 0:0:0:0: SCSI error: return code = 0x70000
> > end_request: I/O error, dev sda, sector 0
> > Buffer I/O error on device sda, logical block 0
> > unable to read partition table
> > Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
> > usb-storage: device scan complete

>
> I have had issues with USB stick devices plugged into some *add on* USB
> hubs.


Hmm, I attached it at the third usb host connected with the usb port of
my case.

Will give that a try, too.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-21-2008, 11:07 AM
Matthias Riesterer
 
Posts: n/a
Default [partially solved] usb stick

Anton Ertl wrote:

>>I got a problem with my brand new USB stick. It's an apacer HT202. I know
>>that it is running (tested it), on Linux and even on Windows. But not on
>>my system.

>
> Are the systems where it works using USB 1.1 or USB 2.0. *I have a
> stick that used to work with USB 2.0, but no longer does (I got error
> messages somewhat like you); but it still talks with machines that use
> only USB 1.1. *Another theory would be that the USB controller on your
> system does not work properly.


OK, runs with USB 1.1. (without ehci). But the speed is PITA.
What can I do to run it with ehci and where to address this problem?

thx

matthias
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:56 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com