NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/49140 (Can't write to SD card)
The following reply was made to PR kern/49140; it has been noted by GNATS.
From: Patrick Welche <prlw1%cam.ac.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/49140 (Can't write to SD card)
Date: Sat, 4 Oct 2014 09:58:08 +0100
After the 1/(2N)->N calculation, with an ordinary kernel, still no luck.
This isn't properly reproducible though, e.g.,
- boot with new kernel, dd failed immediately
- boot with kernel full of sdhc_debug,
# dd if=rpi.img of=/dev/rld0d
^C43154+0 records in
43153+0 records out
22094336 bytes transferred in 162.393 secs (136054 bytes/sec)
- so it got quite far until I stopped it, in order to:
# dd if=rpi.img ibs=64k | progress -l 657219584 dd of=/dev/rld0d obs=64k
0% | | 0 0.00 KiB/s --:-- ETAdd: /dev/rld0d: Connection timed out
128+0 records in
0+0 records out
0 bytes transferred in 0.998 secs (0 bytes/sec)
0% | | 81920 79.61 KiB/s 2:14:19 ETA
dd: stdout: Broken pipe
2+0 records in
193+0 records out
98816 bytes transferred in 1.061 secs (93134 bytes/sec)
The end of that last session looked like:
sdhc0: start cmd 17 arg=01cd1fff data=0xfffffe8114db6000 dlen=512 flags=00000572, status=0
sdhc0: writing cmd: blksize=512 blkcnt=1 mode=0013 cmd=113a
sdhc0: resp = 00000900
sdhc0: data transfer: resp=00000900 datalen=512
sdhc0: data transfer done (error=0)
sdhc0: cmd 17 done (flags=00000573 error=0)
sdhc0: start cmd 13 arg=00070000 data=0x0 dlen=0 flags=00000c32, status=0
sdhc0: writing cmd: blksize=0 blkcnt=0 mode=0002 cmd=0d1a
sdhc0: resp = 00000900
sdhc0: cmd 13 done (flags=00000c33 error=0)
seg#0: addr=0x4037a000, size=0x10000
sdhc0: start cmd 25 arg=00000000 data=0xffff8000462d0000 dlen=65536 flags=00000132, status=0
sdhc0: writing cmd: blksize=512 blkcnt=128 mode=0027 cmd=193a
sdhc0: resp = 00000900
sdhc0: data transfer: resp=00000900 datalen=65536
sdhc0: software reset reg=00000006
sdhc0: data transfer done (error=60)
sdhc0: cmd 25 abort (flags=00000133 error=60)
sdhc0: cmd 25 abort (flags=0000-127 (ld0 bn 0; cn 0 tn 0 sn 0)
Home |
Main Index |
Thread Index |
Old Index