NetBSD-Bugs archive

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

port-evbarm/53359: cvs rdiff -u -r1.24 -r1.25 src/sys/arch/arm/sunxi/sunxi_mmc.c breaks ld at sdmmc0 on BananaPro



>Number:         53359
>Category:       port-evbarm
>Synopsis:       cvs rdiff -u -r1.24 -r1.25 src/sys/arch/arm/sunxi/sunxi_mmc.c
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-evbarm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 12 20:50:00 +0000 2018
>Originator:     Markus Kilbinger
>Release:        NetBSD 8.99.19
>Organization:
	
>Environment:
	
	
System: NetBSD gero 8.99.19 NetBSD 8.99.19 (GE) #20: Tue Jun 12 17:27:09 CEST 2018 root@co:/usr/NetBSD/HEAD/src/sys/arch/evbarm/compile/GE evbarm
Architecture: earmv7hf
Machine: evbarm
>Description:
	cvs rdiff -u -r1.24 -r1.25 src/sys/arch/arm/sunxi/sunxi_mmc.c /
	http://mail-index.netbsd.org/source-changes/2018/06/07/msg095817.html
	leads to permanent read / access errors with my BananaPro's sd-card.
	The sd-card still seems to be correctly detected in dmesg though:

	  [   1.6381882] sdmmc0 at sunximmc0
	  [   1.6507690] sdmmc1 at sunximmc1
	  [   1.7696395] uhub0 at usb1: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
	  [   1.8796423] uhub1 at usb0: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
	  [   1.8996494] uhub2 at usb2: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
	  [   1.9196470] uhub3 at usb3: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
	  [   1.9596540] sdmmc0: SD card status: 4-bit, C10, U3
	  [   1.9703403] ld0 at sdmmc0: <0x03:0x5344:SE32G:0x80:0x03543eb0:0x0e9>
	  [   1.9703403] ld0: 30436 MB, 7729 cyl, 128 head, 63 sec, 512 bytes/sect x 62333952 sectors
	  [   1.9896622] ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
	  [   2.0096591] (manufacturer 0x2d0, product 0xa962) at sdmmc1 function 1 not configured
	  [   2.0196598] (manufacturer 0x2d0, product 0xa962) at sdmmc1 function 2 not configured
	  [   2.9696826] boot device: ld0
	  [   2.9796912] root on ld0f dumps on ld0b
	  [  12.9799436] ld0f: error reading fsbn 128 of 128-143 (ld0 bn 133248; cn 16 tn 67 sn 3), retrying
	  [  23.4802129] ld0f: error reading fsbn 128 of 128-143 (ld0 bn 133248; cn 16 tn 67 sn 3), retrying
	  [  33.9804827] ld0f: error reading fsbn 128 of 128-143 (ld0 bn 133248; cn 16 tn 67 sn 3), retrying

>How-To-Repeat:
	Compile an actual SUNXI kernel for evbarm and boot it from (micro) sd-card.
	Accessing the sd-card (ld0) under netbsd (eg. as root partition) fails.
>Fix:
	None provided.
	Reverting sunxi_mmc.c to v1.24 as a workaround makes accessing 'ld0 at sdmmc0' work again.




>Unformatted:
 		breaks ld0 at sdmmc0 on BananaPro leading to permanent read / access errors
 	
 	



Home | Main Index | Thread Index | Old Index