[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
address@hidden: Bug#136501: Parted segfaults on startup with Minix-creat
From: |
Timshel Knoll |
Subject: |
address@hidden: Bug#136501: Parted segfaults on startup with Minix-created partition table] |
Date: |
Sun, 3 Mar 2002 23:57:20 +1100 |
User-agent: |
Mutt/1.3.27i |
Hrm - this looks more like a kernel-mode segfault than anything else
I've seen - I've forwarded it to the parted mailing list for comments.
invalid operand would suggest that there's an illegal instruction - this
should not happen!
Comments/ideas?
----- Forwarded message from Jaakko Kangasharju <address@hidden> -----
Subject: Bug#136501: Parted segfaults on startup with Minix-created partition
table
From: Jaakko Kangasharju <address@hidden>
To: Debian Bug Tracking System <address@hidden>
X-Mailer: reportbug 1.44
Date: Sat, 02 Mar 2002 23:26:31 +0200
Package: parted
Version: 1.4.24-1
Severity: normal
Hello,
I recently installed Andrew Tanenbaum's Minix operating system on my
secondary disk, /dev/hdb. Minix has its own disk partitioning program
used on install, which I used to create a Minix partition. Now when I
try to run parted on /dev/hdb it segfaults immediately after being
started with the following output:
---
invalid operand: 0000
CPU: 0
EIP: 0010:[<c012e5fa>]
EFLAGS: 00010246
eax: c18270c0 ebx: 00000dd1 ecx: c18270c0 edx: 00000000
esi: c1827480 edi: 00000000 ebp: 00000000 esp: daa8fe9c
ds: 0018 es: 0018 ss: 0018
Process parted (pid: 917, stackpage=daa8f000)
Stack: 00000342 00000000 00000342 daa8ff84 00000000 03420342 c18270c0 c0172698
00000342 00000000 00000000 00000342 daa8ff2c 00001261 dbd18840 c017d6e1
00000342 00001261 00000000 db1f6de0 00000000 00001261 00000004 c0136d84
Call Trace: [<c0172698>] [<c017d6e1>] [<c0136d84>] [<c017bb1c>] [<c0134374>]
[<c013a527>] [<c0106b0b>]
Code: 0f 0b 8b 41 10 85 c0 75 3d 83 7c 24 24 00 75 09 f6 c2 02 0f
Segmentation fault
---
The fdisk program can still read the partition table, and output of
'fdisk -l /dev/hdb' is as follows:
---
Disk /dev/hdb: 255 heads, 63 sectors, 1869 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 34 639 4867695 c Win95 FAT32 (LBA)
/dev/hdb2 1 33 265041 81 Minix / old Linux
/dev/hdb3 640 1147 4080510 5 Extended
/dev/hdb5 640 1147 4080478+ c Win95 FAT32 (LBA)
Partition table entries are not in disk order
---
The full story of this experience is somewhat longer. I started out
with /dev/hdb1 being at the start of /dev/hdb and there being 256MB of
empty space between that and the extended partition. I first tried to
install Minix in that empty space, but while the partitioning program
created a partition there, Minix cannot be installed beyond the first
4GB on a disk.
At this point, I tried to use parted to move /dev/hdb1 (via the
extended partition) so that the empty space would be at the start of
/dev/hdb. With this I got the segfault as reported above. But I
could use cfdisk, with which I wrote the partition table, and then
parted did not segfault and I could move /dev/hdb1 to its current
position.
After this, I created the current /dev/hdb2 with the Minix partition
program and installed Minix there. And now the trick of using cfdisk
(or fdisk) to write the partition table no longer works; I cannot get
parted to stop segfaulting.
This segfaulting does not happen with my primary drive, so I suspect
the Minix partitioning program is at fault, but parted should not
segfault even so.
-- System Information
Debian Release: unstable
Architecture: i386
Kernel: Linux bridget 2.4.10 #1 su helmi? 24 21:58:26 EET 2002 i686
Locale: address@hidden, address@hidden
Versions of packages parted depends on:
ii e2fsprogs [libuuid1] 1.26-3 The EXT2 file system utilities and
ii libc6 2.2.5-3 GNU C Library: Shared libraries an
ii libncurses5 5.2.20020112a-5 Shared libraries for terminal hand
ii libparted1.4 1.4.24-1 The GNU Parted disk partitioning l
ii libreadline4 4.2a-5 GNU readline and history libraries
----- End forwarded message -----
--
Timshel Knoll <address@hidden> for Debian email: <address@hidden>
Debian GNU/Linux developer, see http://people.debian.org/~timshel/
For GnuPG public key: finger address@hidden
pgpJNMOuntUjY.pgp
Description: PGP signature
- address@hidden: Bug#136501: Parted segfaults on startup with Minix-created partition table],
Timshel Knoll <=