Subject: Re: USB on -stable?
To: None <talmage@acm.org, port-i386@netbsd.org>
From: =?iso-8859-2?Q?Micha=B3?= Pasternak <michal@pasternak.w.lub.pl>
List: port-i386
Date: 06/11/2003 19:34:56
David W. Talmage [Wed, Jun 11, 2003 at 11:21:28AM -0400]:
> >David W. Talmage [Wed, Jun 11, 2003 at 09:33:19AM -0400]:
> >> What does your kernel say when you boot with the Diva connected to
> >> your computer? That might give a clue.
> >
> >After a few plug-in/plug-out cycles, Diva starts to be recognized:
> >umass0 at uhub0 port 2 configuration 1 interface 0
> >umass0: Daisy Technology PhotoClip USBMediaReader, rev 1.00/1.00, addr 2
> >umass0: using SCSI over Bulk-Only
> >scsibus0 at umass0: 2 targets, 1 luns per target
> >scsibus0: waiting 2 seconds for devices to settle...
> >sd0 at scsibus0 target 1 lun 0: <DIVA USB, Media Reader, 2.21> SCSI0 0/direct removable
> >umass0: Phase Error, residue = 0
> >umass0: BBB reset failed, STALLED
> >umass0: Phase Error, residue = 0
> >...
> >sd0: could not mode sense (4/5); using fictitious geometry
> >sd0: no disk label
>
> Try using disklabel to print sd0's in-memory disk label. Try editing
# disklabel /dev/sd0
# /dev/sd0d:
type: SCSI
disk: Media Reader
label: fictitious
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 122
total sectors: 250368
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg/sgs]
d: 250368 0 unused 0 0 # (Cyl. 0 - 122*)
e: 250359 9 MSDOS # (Cyl. 0*- 122*)
disklabel: boot block size 0
disklabel: super block size 0
> system. Then try mounting again.
When I try to mount it, no matter which FS I use I get:
umass0: Phase Error, residue = 0
umass0: BBB reset failed, STALLED
umass0: Phase Error, residue = 0
umass0: BBB reset failed, STALLED
umass0: Phase Error, residue = 0
umass0: BBB reset failed, STALLED
umass0: Phase Error, residue = 0
umass0: BBB reset failed, STALLED
umass0: Phase Error, residue = 0
umass0: BBB reset failed, STALLED
umass0: Phase Error, residue = 0
umass0: BBB reset failed, STALLED
umass0: Phase Error, residue = 0
umass0: BBB reset failed, STALLED
umass0: Phase Error, residue = 0
umass0: BBB reset failed, STALLED
umass0: Phase Error, residue = 0
umass0: BBB reset failed, STALLED
umass0: Phase Error, residue = 0
umass0: BBB reset failed, STALLED
sd0: could not mode sense (4/5); using fictitious geometry
sd0: no disk label
Anway - and this is really strange:
# mount -t msdos /dev/sd0d /mnt
[ same kernel messages as above ]
[ LCD display of mp3 player shows _nothing_ ]
mount_msdos: /dev/sd0d on /mnt: Operation not supported by device
But:
# mount /dev/sd0d /mnt
[ same kernel messages as above ]
*** [ LCD display of mp3 player shows that USB access is going on...] ***
mount_ffs: /dev/sd0d on /mnt: incorrect super block
I have no idea what might be wrong - seems like NetBSD _can_ use this
player, but there are problems with mounting it as MSDOS filesystem.
Any ideas? Above results was obtained with kernel compiled from
1.6.1_STABLE sources.
--
Micha³ Pasternak :: http://pasternak.w.lub.pl
$ mv /Almo /var :: samo opakowanie, w srodku
pusty, zepsuty