Subject: strange USB device
To: None <current-users@netbsd.org>
From: Rick Kelly <rmk@toad.rmkhome.com>
List: current-users
Date: 08/15/2005 14:33:46
It is a storage device that is also an mp3 player.

Aug 15 14:24:43 roothog /netbsd: umass0 at uhub0 port 1 configuration 1 interface 0
Aug 15 14:24:43 roothog /netbsd: 
Aug 15 14:24:43 roothog /netbsd: umass0: Generic MusicDrive, rev 1.10/1.00, addr 2
Aug 15 14:24:43 roothog /netbsd: umass0: using SCSI over Bulk-Only
Aug 15 14:24:43 roothog /netbsd: scsibus1 at umass0: 2 targets, 1 lun per target
Aug 15 14:24:43 roothog /netbsd: sd4 at scsibus1 target 0 lun 0: <Generic, MusicDrive, 0.00> disk removable
Aug 15 14:24:44 roothog /netbsd: sd4: fabricating a geometry
Aug 15 14:24:44 roothog /netbsd: sd4: 250 MB, 250 cyl, 64 head, 32 sec, 512 bytes/sect x 512000 sectors

I can mount it with mount_msdos, but attempting to access the data basically
makes the kernel sick. The data on the device is textfiles from a Windows XP
machine. The only mountable partition seems to be sd4h.

roothog# fdisk /dev/rsd4d
Disk: /dev/rsd4d
NetBSD disklabel disk geometry:
cylinders: 250, heads: 64, sectors/track: 32 (2048 sectors/cylinder)
total sectors: 512000

BIOS disk geometry:
cylinders: 250, heads: 64, sectors/track: 32 (2048 sectors/cylinder)
total sectors: 512000

Partition table:
0: unknown (sysid 114)
    start 778135908, size 1141509631 (557378 MB, Cyls 379949/11/5-937326/59/4), flag 0x6f
1: Novell Netware 3.xx (sysid 101)
    start 168689522, size 1936028240 (945326 MB, Cyls 82367/59/19-1027694/14/3), flag 0x69
2: unknown (sysid 121)
    start 1869881465, size 1936028192 (945326 MB, Cyls 913028/3/26-1858354/20/26), flag 0x73
3: Type 7??? - LBA (sysid 13)
    start 2885681152, size 55499 (27 MB, Cyls 1409024-1409051/6/12), flag 0x74

Any ideas?


-- 
Rick Kelly	rmk@rmkhome.com
		<http://www.rmkhome.com/>
		<http://rkba.rmkhome.com/> - the right to keep and bear arms
		<http://wolf.rmkhome.com/> - firearm forums