Subject: kern/36221: netbsd 3.0 crashed when reading disklabel
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <gmawby@yahoo.com.au>
List: netbsd-bugs
Date: 04/26/2007 06:15:00
>Number:         36221
>Category:       kern
>Synopsis:       netbsd 3.0 crashed when reading disklabel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 26 06:15:00 +0000 2007
>Originator:     gmawby
>Release:        NetBSD 3.0
>Organization:
home
>Environment:
System: NetBSD olive.local 3.0 NetBSD 3.0 (GENERIC.apm) #0: Tue Mar 13 22:26:02 EST 2007 gmawby@olive.local:/usr/src/sys/arch/i386/compile/GENERIC.apm i386
Architecture: i386
Machine: i386
>Description:
 when I inssert a Sankisk Sansa mp3 player into a USB port I get the
 following message on the console
 umass0 at uhub5 port 4 configuration 1 interface 0
 umass0: SanDisk APIC SanDisk Sansa m230, rev 2.00/2.25, addr 3
 umass0: using SCSI over Bulk-Only
 scsibus1 at umass0: 2 targets, 1 lun per target
 sd0 at scsibus1 target 0 lun 0: <SanDisk, Sansa m230, 1.30> disk
 removable
 sd0: fabricating a geometry
 sd0: 633 GB, 482 cyl, 64 head, 32 sec, 688144 bytes/sect x 987840
 sectors

 When I try disklabel /dev/sd0 the machine crashes, i.e I loose control
 of the terminal and mouse and have to do a hard reboot.

 The device is 256meg not 633gig as per the fabricated geometry.    
 I can use the device on Unbutu and XP.
>How-To-Repeat:
   As above
>Fix:
    I do not have a work around.