Hello,
I reported a bug that prevents partitions in a large disk (1.5TB) to be
used here:
https://dev.openwrt.org/ticket/13420
I already isolated it to this line:
/block/partitions/msdos.c:
this_sector = first_sector + start_sect(p) * sector_size;
And some printk show their values:
[ 98.230000] parse_extended: sector_size = 1
[ 98.230000] parse_extended: start_sect(p) = 2147488875
[ 98.230000] parse_extended: start_sect(p)*sector_size = 2147488875
[ 98.240000] parse_extended: first_sector = 125853210
[ 98.250000] parse_extended: first_sector + start_sect(p) * sector_size =
this_sector = 18446744071687926405
The correct output would be 2273342085 and not 18446744071687926405.
Comparing both, the MSB 32bit of first_sector becomes all 1.
2273342085 = 0x0000000087807285
18446744071687926405 = 0xFFFFFFFF87807285
Any idea of why? Maybe this has something to do with
target/linux/ar71xx/patches-3.3/902-unaligned_access_hacks.patch?
Thanks,
---
Luiz Angelo Daros de Luca, Me.
[email protected]
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel