Rui-Xiang Guo | 12 Apr 2010 02:22

Re: newfs error in 5.0.2 with SanDisk SD card

On Sun, Apr 11, 2010 at 05:58:23PM +0200, Manuel Bouyer wrote:
> On Mon, Apr 12, 2010 at 05:08:03AM +0800, Rui-Xiang Guo wrote:
> > /dev/rsd0a: 120.1MB (245984 sectors) block size 8192, fragment size 1024
> >         using 4 cylinder groups of 30.03MB, 3844 blks, 7232 inodes.
> > super-block backups (for fsck_ffs -b #) at:
> > wtfs: write error for sector 144: Input/output error
> 
> Does the kernel print any error message at this point (either in
> /var/log/message, on console or in dmesg) ?

No other error message. In fact, the wtfs error is generated under xterm.
When I try the same action under console, it's hang.

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

Rui-Xiang Guo | 12 Apr 2010 02:28

Re: newfs error in 5.0.2 with SanDisk SD card

On Sun, Apr 11, 2010 at 05:58:23PM +0200, Manuel Bouyer wrote:
> On Mon, Apr 12, 2010 at 05:08:03AM +0800, Rui-Xiang Guo wrote:
> > /dev/rsd0a: 120.1MB (245984 sectors) block size 8192, fragment size 1024
> >         using 4 cylinder groups of 30.03MB, 3844 blks, 7232 inodes.
> > super-block backups (for fsck_ffs -b #) at:
> > wtfs: write error for sector 144: Input/output error
> 
> Does the kernel print any error message at this point (either in
> /var/log/message, on console or in dmesg) ?

No other error message. In fact, the wtfs error is generated under xterm.
When I try the same action under console, it's hang.

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

Takahiro Kambe | 11 Apr 2010 18:43
Gravatar

Re: newfs error in 5.0.2 with SanDisk SD card

In message <20100412002704.GB558 <at> tree>
	on Mon, 12 Apr 2010 08:27:04 +0800,
	Rui-Xiang Guo <rxg <at> lavabit.com> 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

--

-- 
Takahiro Kambe <taca <at> back-street.net>

Rui-Xiang Guo | 12 Apr 2010 10:53

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 <at> tree>
> 	on Mon, 12 Apr 2010 08:27:04 +0800,
> 	Rui-Xiang Guo <rxg <at> lavabit.com> 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 

(Continue reading)


Gmane