Subject: Re: kern/29781: problem whith umass
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Quentin Garnier <cube@cubidou.net>
List: netbsd-bugs
Date: 03/24/2005 08:48:02
The following reply was made to PR kern/29781; it has been noted by GNATS.
From: Quentin Garnier <cube@cubidou.net>
To: maxtaylor@mail.ru
Cc: gnats-bugs@netbsd.org
Subject: Re: kern/29781: problem whith umass
Date: Thu, 24 Mar 2005 09:47:41 +0100
--wq9mPyueHGvFACwf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, Mar 24, 2005 at 07:20:00AM +0000, maxtaylor@mail.ru wrote:
> >Number: 29781
> >Category: kern
> >Synopsis: problem whith umass
[...]
> >Description:
> When plug and use mp3 player iLyn AP-100 128 mb as umass storage device.
>=20
> umass0 at uhub0 port1 configuration 1 interface 0
> umass0: TelechipsAPIC TCC730 MMC Adapter, rev 1.10/1.00, addr 2
> umass0: using SCSI over Bulk-Only
> scsibus0 at umass0: 2 targets, 1 lun per target
> sd0 at scsibus target 0 lun 0: <TELECHIP, TCC730-TESTPROGX, 0.80> disk re=
movable
> sd0: fabricating a geometry
> sd0: 160 GB ???? , 122cyl, 64 head, 32 sec, 688144 bytes/sect x 250368 se=
ctors
^^^^^^
This is the issue. The number of sectors is fine considering a sector
is very very very likely to be 512 byte long. In that case that makes
a 122MB drive, which is the expected capacity for a 128 Marketing-MegaByte
drive.
> mbrlabel -w /dev/sd0 or
> mount_msdos /dev/sd0i /mnt
> Kernel sent panic mesage. panic: buf mem pool index 10
Well, that really got the kernel confused.
Now, we have to understand exactly which SCSI command fails and why.
--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.
--wq9mPyueHGvFACwf
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)
iQEVAwUBQkJ+rdgoQloHrPnoAQIJWggAutm6kAmI8dw8ay9rDuUlO900Zid9wPOx
5bWzu3x1p4+YEwa8w7HkG36kLPKCy4H4pSdl3Rrwg7y9E574LXy2OQmc3vkydMDs
oMGeuv9jdrfw9QaWBGbf/CyE+AXZY6/2HU/YpbU8Ol3NdSrYtgYGuh4jbHvu1nrz
16eyGOxcOlPUhjs1BNVVZSqMXyMaTvh4AiqnQMT6Jlehx57SLs+IYgavFfq+8BBj
ggw7nlhp+2+TC+QAKwVd23kMqEqmlWfkS1qvCp83BpPrXvabFKne4dmkA6MSToCE
stMy4VJJR21W9pboP/kf3Exdxh1eqxbpLTfg41eTfrN8nxRAMQrBfA==
=HcAJ
-----END PGP SIGNATURE-----
--wq9mPyueHGvFACwf--