Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 2006 22:20:06 -0500
From:      Joel Diaz <joeldiaz@nc.rr.com>
To:        freebsd-geom@freebsd.org
Subject:   unable to dd an image onto a USB floppy
Message-ID:  <70FB710A-0D64-49EA-9CBE-C76C24CB0C39@nc.rr.com>

next in thread | raw e-mail | index | archive | help
I've been trying to dump a disk image I downloaded off the internet  
onto a USB floppy drive.

I was reading through dd(1) and at the bottom it pointed me to geom 
(4) and so I set:

sysctl kern.geom.debugflags=16

Then tried the following:

dd if=/root/bios.img of=/dev/da0

The drive makes some noise and after a few minutes it just gives up  
with:

dd: /dev/da0: Device busy
1+0 records in
0+0 records out
0 bytes transfered in 2.667840 secs (0 bytes/sec)

'geom disk list da0' gives:

Geom name: da0
Providers:
1. Name: da0
    Mediasize: 1474560 (1.4M)
    Sectorsize: 512
    Mode: r0w0e0
    fwsectors: 32
    fwheads: 64

dmesg contained the following:

(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(da0:umass-sim0:0:0:0): Not ready to ready change, medium may have  
changed
(da0:umass-sim0:0:0:0): Retries Exhausted
Opened disk da0 -> 6

This was all done as root with 0640 permissions on /dev/da0 on 6.0- 
STABLE built Jan 24th.

Not sure where to go from here.  Any help would be greatly appreciated.

Joel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?70FB710A-0D64-49EA-9CBE-C76C24CB0C39>