linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [USB disks] FAT: invalid media value (0x01)
@ 2006-05-25 21:10 Paweł Sikora
  0 siblings, 0 replies; 5+ messages in thread
From: Paweł Sikora @ 2006-05-25 21:10 UTC (permalink / raw)
  To: linux-kerneL

Hi,

I have two usb devices: photo camera (nikkon d70s)
and mobile phone (motorola e398). Both have worked perfect with 2.6.14.7.
With recent 2.6.16.18 none of them work, e.g.:

(...)
usb 2-4: new full speed USB device using ohci_hcd and address 15
usb 2-4: configuration #1 chosen from 1 choice
scsi11 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 15
usb-storage: waiting for device to settle before scanning
  Vendor: Motorola  Model: Motorola Phone    Rev: 2.31
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sdc: 121857 512-byte hdwr sectors (62 MB)
sdc: Write Protect is off
sdc: Mode Sense: 0b 00 00 08
sdc: assuming drive cache: write through
SCSI device sdc: 121857 512-byte hdwr sectors (62 MB)
sdc: Write Protect is off
sdc: Mode Sense: 0b 00 00 08
sdc: assuming drive cache: write through
 sdc: sdc1
sd 11:0:0:0: Attached scsi removable disk sdc
usb-storage: device scan complete
FAT: invalid media value (0x01)
VFS: Can't find a valid FAT filesystem on dev sdc.

I've checked the FAT table and everything looks fine.

00000000  eb 3c 90 4d 53 44 4f 53  35 2e 30 00 02 08 01 00  |.<.MSDOS5.0.....|
00000010  02 00 02 00 00 f8 3c 00  20 00 08 00 20 00 00 00  |......<. ... ...|
                         ^^ fixed disk.
00000020  e0 da 01 00 80 00 29 01  d0 c3 14 53 41 4e 56 4f  |......)....SANVO|
00000030  4c 20 20 20 20 20 46 41  54 31 36 20 20 20 7c 8e  |L     FAT16   |.|
00000040  c0 8e d8 fb fc be 6a 00  81 c6 00 7c ac 0a c0 74  |......j....|...t|
00000050  0a b4 0e b7 00 b3 07 cd  10 eb f1 33 c0 cd 16 cd  |...........3....|
00000060  19 be b3 00 81 c6 00 7c  eb e2 0d 0a 4e 6f 6e 2d  |.......|....Non-|
00000070  53 79 73 74 65 6d 20 64  69 73 6b 20 6f 72 20 64  |System disk or d|
00000080  69 73 6b 20 65 72 72 6f  72 0d 0a 52 65 70 6c 61  |isk error..Repla|
00000090  63 65 20 61 6e 64 20 73  74 72 69 6b 65 20 61 6e  |ce and strike an|
000000a0  79 20 6b 65 79 20 77 68  65 6e 20 72 65 61 64 79  |y key when ready|
000000b0  0d 0a 00 0d 0a 44 69 73  6b 20 42 6f 6f 74 20 66  |.....Disk Boot f|
000000c0  61 69 6c 75 72 65 0d 0a  00 00 00 00 00 00 00 00  |ailure..........|
000000d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|

Linux vmx 2.6.16.18-1 #1 Mon May 22 22:04:24 UTC 2006 x86_64
AMD_Athlon(tm)_64_Processor_3700+ unknown PLD Linux

Any ideas?

Regards,
Paweł.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [USB disks] FAT: invalid media value (0x01)
       [not found] <mailman.1148592421.12856.linux-kernel2news@redhat.com>
@ 2006-05-27  4:08 ` Pete Zaitcev
  0 siblings, 0 replies; 5+ messages in thread
From: Pete Zaitcev @ 2006-05-27  4:08 UTC (permalink / raw)
  To: Paweł Sikora; +Cc: zaitcev, linux-kernel

On Thu, 25 May 2006 23:10:00 +0200, Paweł Sikora <pluto@agmk.net> wrote:

> I have two usb devices: photo camera (nikkon d70s)
> and mobile phone (motorola e398). Both have worked perfect with 2.6.14.7.
> With recent 2.6.16.18 none of them work, e.g.:

It would help if you narrowed it down a little bit.

-- Pete

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [USB disks] FAT: invalid media value (0x01)
  2006-05-26  4:27 Chuck Ebbert
  2006-05-26  5:48 ` H. Peter Anvin
@ 2006-05-26  6:17 ` Paweł Sikora
  1 sibling, 0 replies; 5+ messages in thread
From: Paweł Sikora @ 2006-05-26  6:17 UTC (permalink / raw)
  To: linux-kernel

On Friday 26 May 2006 06:27, Chuck Ebbert wrote:
> In-Reply-To: <200605252310.00568.pluto@agmk.net>
>
> (Sorry if I got your name wrong, the last letter came through as '?'.)
>
> On Thu, 25 May 2006 23:10:00 +0200, Pawe? Sikora wrote:
> > sdc: assuming drive cache: write through
> >  sdc: sdc1
> > sd 11:0:0:0: Attached scsi removable disk sdc
> > usb-storage: device scan complete
> > FAT: invalid media value (0x01)
> > VFS: Can't find a valid FAT filesystem on dev sdc.
>
>                                                 ^^^
>
> Shouldn't it be looking on sdc1 for the filesystem?
>
> This could be some kind of hal/udev screwup.

Ohhh, It was a typo in my /etc/fstab.
s:/dev/sdc:/dev/sdc1: and everything works fine.
Thanks :)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [USB disks] FAT: invalid media value (0x01)
  2006-05-26  4:27 Chuck Ebbert
@ 2006-05-26  5:48 ` H. Peter Anvin
  2006-05-26  6:17 ` Paweł Sikora
  1 sibling, 0 replies; 5+ messages in thread
From: H. Peter Anvin @ 2006-05-26  5:48 UTC (permalink / raw)
  To: linux-kernel

Followup to:  <200605260029_MC3-1-C0CF-C67B@compuserve.com>
By author:    Chuck Ebbert <76306.1226@compuserve.com>
In newsgroup: linux.dev.kernel
> 
> > sdc: assuming drive cache: write through
> >  sdc: sdc1
> > sd 11:0:0:0: Attached scsi removable disk sdc
> > usb-storage: device scan complete
> > FAT: invalid media value (0x01)
> > VFS: Can't find a valid FAT filesystem on dev sdc.
>                                                 ^^^
> 
> Shouldn't it be looking on sdc1 for the filesystem?
> 

Well, it depends what "it" is...

	-hpa (whoa... haven't seen a CompuServe addy for ages...)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [USB disks] FAT: invalid media value (0x01)
@ 2006-05-26  4:27 Chuck Ebbert
  2006-05-26  5:48 ` H. Peter Anvin
  2006-05-26  6:17 ` Paweł Sikora
  0 siblings, 2 replies; 5+ messages in thread
From: Chuck Ebbert @ 2006-05-26  4:27 UTC (permalink / raw)
  To: Pawel Sikora; +Cc: linux-kernel

In-Reply-To: <200605252310.00568.pluto@agmk.net>

(Sorry if I got your name wrong, the last letter came through as '?'.)

On Thu, 25 May 2006 23:10:00 +0200, Pawe? Sikora wrote:

> sdc: assuming drive cache: write through
>  sdc: sdc1
> sd 11:0:0:0: Attached scsi removable disk sdc
> usb-storage: device scan complete
> FAT: invalid media value (0x01)
> VFS: Can't find a valid FAT filesystem on dev sdc.
                                                ^^^

Shouldn't it be looking on sdc1 for the filesystem?

This could be some kind of hal/udev screwup.


-- 
Chuck

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-05-27  4:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-25 21:10 [USB disks] FAT: invalid media value (0x01) Paweł Sikora
2006-05-26  4:27 Chuck Ebbert
2006-05-26  5:48 ` H. Peter Anvin
2006-05-26  6:17 ` Paweł Sikora
     [not found] <mailman.1148592421.12856.linux-kernel2news@redhat.com>
2006-05-27  4:08 ` Pete Zaitcev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).