2006-11-29 21:47:46

by David Weinehall

[permalink] [raw]
Subject: mass-storage problems with Archos AV500

I've got an Archos AV500 here (running the very latest firmware), pretty
much acting as a doorstop, since I cannot get it to be recognized
properly by Linux.

This device has two modes, and one usb-id for each:

Windows device mode:
0e79:1129

mass storage mode:
0e79:1128

I didn't really expect any luck with the former (and didn't have any
either), but I was kind of hoping that the latter would be supported.
Not so.

Relevant info from dmesg:

[ 112.904000] usb 5-5: new high speed USB device using ehci_hcd and
address 4
[ 113.036000] usb 5-5: configuration #1 chosen from 1 choice
[ 113.124000] usbcore: registered new interface driver libusual
[ 113.140000] Initializing USB Mass Storage driver...
[ 113.140000] scsi4 : SCSI emulation for USB Mass Storage devices
[ 113.140000] usb-storage: device found at 4
[ 113.140000] usb-storage: waiting for device to settle before scanning
[ 113.140000] usbcore: registered new interface driver usb-storage
[ 113.140000] USB Mass Storage support registered.
[ 118.140000] scsi 4:0:0:0: Direct-Access Archos AV500
0000 PQ: 0 ANSI: 4
[ 118.140000] SCSI device sdb: 58074975 512-byte hdwr sectors (29734
MB)
[ 118.144000] sdb: Write Protect is off
[ 118.144000] sdb: Mode Sense: 33 00 00 00
[ 118.144000] sdb: assuming drive cache: write through
[ 118.144000] SCSI device sdb: 58074975 512-byte hdwr sectors (29734
MB)
[ 118.144000] sdb: Write Protect is off
[ 118.144000] sdb: Mode Sense: 33 00 00 00
[ 118.144000] sdb: assuming drive cache: write through
[ 118.144000] sdb: unknown partition table
[ 118.452000] sd 4:0:0:0: Attached scsi removable disk sdb
[ 118.452000] usb-storage: device scan complete

This is with linux-image-2.6.19-7-generic 2.6.19-7.10 from Ubuntu edgy.
I get similar results with a home-brew 2.6.18-rc4.

Any mass storage quirk needed that might be missing?


Regards: David
--
/) David Weinehall <[email protected]> /) Northern lights wander (\
// Maintainer of the v2.0 kernel // Dance across the winter sky //
\) http://www.acc.umu.se/~tao/ (/ Full colour fire (/


2006-11-30 04:36:49

by Robert Hancock

[permalink] [raw]
Subject: Re: mass-storage problems with Archos AV500

David Weinehall wrote:
> I've got an Archos AV500 here (running the very latest firmware), pretty
> much acting as a doorstop, since I cannot get it to be recognized
> properly by Linux.

..

> [ 118.144000] SCSI device sdb: 58074975 512-byte hdwr sectors (29734
> MB)
> [ 118.144000] sdb: Write Protect is off
> [ 118.144000] sdb: Mode Sense: 33 00 00 00
> [ 118.144000] sdb: assuming drive cache: write through
> [ 118.144000] sdb: unknown partition table
> [ 118.452000] sd 4:0:0:0: Attached scsi removable disk sdb
> [ 118.452000] usb-storage: device scan complete
>
> This is with linux-image-2.6.19-7-generic 2.6.19-7.10 from Ubuntu edgy.
> I get similar results with a home-brew 2.6.18-rc4.
>
> Any mass storage quirk needed that might be missing?

That all seems normal, other than the unknown partition table, but the
device might be all one unpartitioned disk.. at what point is it failing?

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from [email protected]
Home Page: http://www.roberthancock.com/

2006-11-30 08:54:08

by David Weinehall

[permalink] [raw]
Subject: Re: mass-storage problems with Archos AV500

On Wed, Nov 29, 2006 at 10:35:29PM -0600, Robert Hancock wrote:
> David Weinehall wrote:
> >I've got an Archos AV500 here (running the very latest firmware), pretty
> >much acting as a doorstop, since I cannot get it to be recognized
> >properly by Linux.
>
> ..
>
> >[ 118.144000] SCSI device sdb: 58074975 512-byte hdwr sectors (29734
> >MB)
> >[ 118.144000] sdb: Write Protect is off
> >[ 118.144000] sdb: Mode Sense: 33 00 00 00
> >[ 118.144000] sdb: assuming drive cache: write through
> >[ 118.144000] sdb: unknown partition table
> >[ 118.452000] sd 4:0:0:0: Attached scsi removable disk sdb
> >[ 118.452000] usb-storage: device scan complete
> >
> >This is with linux-image-2.6.19-7-generic 2.6.19-7.10 from Ubuntu edgy.
> >I get similar results with a home-brew 2.6.18-rc4.
> >
> >Any mass storage quirk needed that might be missing?
>
> That all seems normal, other than the unknown partition table, but the
> device might be all one unpartitioned disk.. at what point is it failing?

Mounting it just claims wrong FS type. And I've tried most file systems
I can think of just to be sure.


Regards: David
--
/) David Weinehall <[email protected]> /) Northern lights wander (\
// Maintainer of the v2.0 kernel // Dance across the winter sky //
\) http://www.acc.umu.se/~tao/ (/ Full colour fire (/

2006-11-30 09:50:31

by Jan Dittmer

[permalink] [raw]
Subject: Re: mass-storage problems with Archos AV500

David Weinehall wrote:
> On Wed, Nov 29, 2006 at 10:35:29PM -0600, Robert Hancock wrote:
>> David Weinehall wrote:
>>> I've got an Archos AV500 here (running the very latest firmware), pretty
>>> much acting as a doorstop, since I cannot get it to be recognized
>>> properly by Linux.
>> ..
>>
>>> [ 118.144000] SCSI device sdb: 58074975 512-byte hdwr sectors (29734
>>> MB)
>>> [ 118.144000] sdb: Write Protect is off
>>> [ 118.144000] sdb: Mode Sense: 33 00 00 00
>>> [ 118.144000] sdb: assuming drive cache: write through
>>> [ 118.144000] sdb: unknown partition table
>>> [ 118.452000] sd 4:0:0:0: Attached scsi removable disk sdb
>>> [ 118.452000] usb-storage: device scan complete
>>>
>>> This is with linux-image-2.6.19-7-generic 2.6.19-7.10 from Ubuntu edgy.
>>> I get similar results with a home-brew 2.6.18-rc4.
>>>
>>> Any mass storage quirk needed that might be missing?
>> That all seems normal, other than the unknown partition table, but the
>> device might be all one unpartitioned disk.. at what point is it failing?
>
> Mounting it just claims wrong FS type. And I've tried most file systems
> I can think of just to be sure.

Can you read the whole volume with 'dd'? If yes, you could provide
a hex dump of the first few sectors? Probably someone on this list will
recognize the format...

Jan

2006-11-30 12:56:17

by David Weinehall

[permalink] [raw]
Subject: Re: mass-storage problems with Archos AV500

On Thu, Nov 30, 2006 at 10:50:20AM +0100, Jan Dittmer wrote:
> David Weinehall wrote:
> >On Wed, Nov 29, 2006 at 10:35:29PM -0600, Robert Hancock wrote:
> >>David Weinehall wrote:
> >>>I've got an Archos AV500 here (running the very latest firmware), pretty
> >>>much acting as a doorstop, since I cannot get it to be recognized
> >>>properly by Linux.
> >>..
> >>
> >>>[ 118.144000] SCSI device sdb: 58074975 512-byte hdwr sectors (29734
> >>>MB)
> >>>[ 118.144000] sdb: Write Protect is off
> >>>[ 118.144000] sdb: Mode Sense: 33 00 00 00
> >>>[ 118.144000] sdb: assuming drive cache: write through
> >>>[ 118.144000] sdb: unknown partition table
> >>>[ 118.452000] sd 4:0:0:0: Attached scsi removable disk sdb
> >>>[ 118.452000] usb-storage: device scan complete
> >>>
> >>>This is with linux-image-2.6.19-7-generic 2.6.19-7.10 from Ubuntu edgy.
> >>>I get similar results with a home-brew 2.6.18-rc4.
> >>>
> >>>Any mass storage quirk needed that might be missing?
> >>That all seems normal, other than the unknown partition table, but the
> >>device might be all one unpartitioned disk.. at what point is it failing?
> >
> >Mounting it just claims wrong FS type. And I've tried most file systems
> >I can think of just to be sure.
>
> Can you read the whole volume with 'dd'? If yes, you could provide
> a hex dump of the first few sectors? Probably someone on this list will
> recognize the format...

I did this and looked into the image myself. It definitely looks like a
FAT32 image.

I've made the first MB available here:

http://www.acc.umu.se/~tao/transfer/archos.img.bz2


Regards: David
--
/) David Weinehall <[email protected]> /) Northern lights wander (\
// Maintainer of the v2.0 kernel // Dance across the winter sky //
\) http://www.acc.umu.se/~tao/ (/ Full colour fire (/

2006-12-01 14:33:08

by Pete Zaitcev

[permalink] [raw]
Subject: Re: mass-storage problems with Archos AV500

On Wed, 29 Nov 2006 22:47:36 +0100, David Weinehall <[email protected]> wrote:

> I've got an Archos AV500 here (running the very latest firmware), pretty
> much acting as a doorstop, since I cannot get it to be recognized
> properly by Linux.
>[...]
> [ 118.144000] SCSI device sdb: 58074975 512-byte hdwr sectors (29734
> MB)
> [ 118.144000] sdb: Write Protect is off
> [ 118.144000] sdb: Mode Sense: 33 00 00 00
> [ 118.144000] sdb: assuming drive cache: write through
> [ 118.144000] sdb: unknown partition table
> [ 118.452000] sd 4:0:0:0: Attached scsi removable disk sdb

It seems to be working just fine. What does parted say about it?

-- Pete

2006-12-05 16:04:38

by David Weinehall

[permalink] [raw]
Subject: Re: mass-storage problems with Archos AV500

On Fri, Dec 01, 2006 at 06:32:25AM -0800, Pete Zaitcev wrote:
> On Wed, 29 Nov 2006 22:47:36 +0100, David Weinehall <[email protected]> wrote:
>
> > I've got an Archos AV500 here (running the very latest firmware), pretty
> > much acting as a doorstop, since I cannot get it to be recognized
> > properly by Linux.
> >[...]
> > [ 118.144000] SCSI device sdb: 58074975 512-byte hdwr sectors (29734
> > MB)
> > [ 118.144000] sdb: Write Protect is off
> > [ 118.144000] sdb: Mode Sense: 33 00 00 00
> > [ 118.144000] sdb: assuming drive cache: write through
> > [ 118.144000] sdb: unknown partition table
> > [ 118.452000] sd 4:0:0:0: Attached scsi removable disk sdb
>
> It seems to be working just fine. What does parted say about it?

In the end it turned out not even Windows recognized the filesystem.
Reformatting solved the issue. Sorry for the false alarm.


Regards: David
--
/) David Weinehall <[email protected]> /) Northern lights wander (\
// Maintainer of the v2.0 kernel // Dance across the winter sky //
\) http://www.acc.umu.se/~tao/ (/ Full colour fire (/