Subject: Re: kern/36221: netbsd 3.0 crashed when reading disklabel
To: None <gnats-bugs@NetBSD.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 04/26/2007 22:39:03
On Thu, Apr 26, 2007 at 06:15:00AM +0000, gmawby@yahoo.com.au wrote:
> >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.

Can you do the same in text mode ? The system should print a panic
message and drop do debugger. Please provide the panic message, and
the output of the 'tr' command at the db> prompt.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--