NetBSD armv7 7.0 NetBSD 7.0 (CUBIETRUCK.201509250726Z) evbarm wd0 at atabus0 drive 0 wd0: <Hitachi HUA723030ALA640> wd0: drive supports 16-sector PIO transfers, LBA48 addressing wd0: 2794 GB, 5814021 cyl, 16 head, 63 sec, 512 bytes/sect x 5860533168 sectors wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
armv7# fdisk /dev/wd0 Disk: /dev/wd0 NetBSD disklabel disk geometry: cylinders: 2, heads: 255, sectors/track: 63 (16065 sectors/cylinder) total sectors: 32640, bytes/sector: 512 BIOS disk geometry: cylinders: 2, heads: 255, sectors/track: 63 (16065 sectors/cylinder) total sectors: 32640 Partitions aligned to 16065 sector boundaries, offset 63 Partition table: 0: GPT Protective MBR (sysid 238) start 1, size 32639 (16 MB, Cyls 0/0/2-2/8/6) PBR is not bootable: Bad magic number (0x0000) 1: <UNUSED> 2: <UNUSED> 3: <UNUSED> No active partition. Drive serial number: 0 (0x00000000) armv7# armv7# gpt show wd0 start size index contents 0 1 PMBR 1 1 Pri GPT header 2 32 Pri GPT table 34 362513 362547 32 Sec GPT table 362579 1 Sec GPT header armv7# I've tried manually setting the cylinders to no avail. I had recently done a lowlevel format of the drive with dd in=/dev/zero of=/dev/wd0. Before that it was working great.