Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: newfs error in 5.0.2 with SanDisk SD card



On Mon, Apr 12, 2010 at 01:43:37AM +0900, Takahiro Kambe wrote:
> In message <20100412002704.GB558@tree>
>       on Mon, 12 Apr 2010 08:27:04 +0800,
>       Rui-Xiang Guo <rxg%lavabit.com@localhost> wrote:
> > Yup, it works fine under the 4.0.1. I also guess the driver issue.
> What will be printed with this command?
> 
> # disklabel -r sd0

The output as below:
tree# disklabel -r sd0
# /dev/rsd0d:
type: SCSI
disk: STORAGE DEVICE  
label: fictitious
flags: removable
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 120
total sectors: 246016
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:    245984        32     4.2BSD      0     0     0  # (Cyl.      0*-    120*)
 c:    245984        32     unused      0     0        # (Cyl.      0*-    120*)
 d:    246016         0     unused      0     0        # (Cyl.      0 -    120*)

I post the kernel message, too.
Apr 12 16:47:08 tree /netbsd: umass0 at uhub1 port 5 configuration 1 interface 0
Apr 12 16:47:08 tree /netbsd: 
Apr 12 16:47:08 tree /netbsd: umass0: Generic USB Storage, rev 2.00/98.02, addr 
2
Apr 12 16:47:08 tree /netbsd: umass0: using SCSI over Bulk-Only
Apr 12 16:47:08 tree /netbsd: scsibus0 at umass0: 2 targets, 1 lun per target
Apr 12 16:47:09 tree /netbsd: sd0 at scsibus0 target 0 lun 0: <Generic, STORAGE 
DEVICE, 9802> disk removable
Apr 12 16:47:09 tree /netbsd: sd0: fabricating a geometry
Apr 12 16:47:09 tree /netbsd: sd0: 120 MB, 120 cyl, 64 head, 32 sec, 512 bytes/s
ect x 246016 sectors
Apr 12 16:47:09 tree /netbsd: sd0: fabricating a geometry

> 
> -- 
> Takahiro Kambe <taca%back-street.net@localhost>


Home | Main Index | Thread Index | Old Index