cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor
755 Views
Registered: ‎12-06-2018

fdisk Segmentation Fault on /dev/mmcblk0

Jump to solution

I keep getting a segmentation fault when I run fdisk on my mmcblk0 device. I am using busybox 1.29.3 and the latest xlnx-linux kernel.

# fdisk /dev/mmcblk0

The number of cylinders for this disk is set to 1291605.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Segmentation fault


# fdisk -l /dev/mmcblk0
Disk /dev/mmcblk0: 3784 MB, 3967811584 bytes, 7749632 sectors
1291605 cylinders, 3 heads, 2 sectors/track
Units: sectors of 1 * 512 = 512 bytes

Device       Boot StartCHS    EndCHS        StartLBA     EndLBA    Sectors  Size Id Type
/dev/mmcblk0p1    1,2,3       961,2,2           8192    7749631    7741440 3780M  b Win95 FAT32

 

Any help is greatly appreciated. Thanks.

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Contributor
Contributor
717 Views
Registered: ‎12-06-2018

No. Running it with Petalinux is not an easy thing for me. And we are using the xlnx-linux git version.

I was able to find out a rebuild of the busybox with configuration changes corrected the issue for me.

View solution in original post

0 Kudos
2 Replies
Highlighted
Moderator
Moderator
724 Views
Registered: ‎12-04-2016

Hi 

Can you try running this with petalinux and I assume you dont see this issue

 

Best Regards

Shabbir

0 Kudos
Highlighted
Contributor
Contributor
718 Views
Registered: ‎12-06-2018

No. Running it with Petalinux is not an easy thing for me. And we are using the xlnx-linux git version.

I was able to find out a rebuild of the busybox with configuration changes corrected the issue for me.

View solution in original post

0 Kudos