Subject: [alpine-devel] fdisk segmentation fault

From: Ted Trask <[email-masked]>
Date: Tue, 18 Nov 2008 14:04:57 -0800 (PST)

I'm running alpine-linux-1.7.24.

I have one 750 GB SATA hard-drive installed on my system.  When I run fdisk /dev/sda I get a warning about having more than 1024 cylinders (there are 91201) and then a Segmentation fault.

Running fdisk -l shows 

Disk /dev/sda: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End          Blocks     Id System
/dev/sda1                  1      91202    732571648      7 HPFS/NTFS

Any idea why I get a segmentation fault?  Seems like a bug in busybox to me.

Ted Trask

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: Natanael Copa <[email-masked]>
Date: Wed, 19 Nov 2008 13:25:52 +0100

> Any idea why I get a segmentation fault?  Seems like a bug in busybox to me.

yeah. its definitivaly a bb bug. I forwarded it to busybox mailing list

-nc

---

---

From: Nathan Angelacos <[email-masked]>
Date: Wed, 19 Nov 2008 13:12:33 -0500

> yeah. its definitivaly a bb bug. I forwarded it to busybox mailing list

until it gets fixed, you can work around it by installing the real fdisk:

apk_add util-linux

---