[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gpart FTBFS



Hello,
Any updates ?? Are people satisfied with my work ??
1 line summary of the entire mail conversation is gpart does build on
Gnu/Hurd, but does not work in the manner expected.


On Mon, Jan 30, 2012 at 8:16 PM, harish badrinath
<harishbadrinath@gmail.com> wrote:
> Hello,
> I cant seem to upload to debian as of this moment, mainly because i am
> behind a http_proxy and dupload/dput does not seem to work. Excuse the
> verbose mail with a lot of attachments.
>
> On hurd gparted behaves as follows
> root@debian:~/gparted/gpart-0.1h# mount /
> mount: /dev/hd0s1 already mounted
> $PWD/debian/gpart/sbin/gpart /dev/hd0s1
>
> Begin scan...
> Floating point exception
> root@debian:~/gparted/gpart-0.1h# gdb --args
> $PWD/debian/gpart/sbin/gpart /dev/hd0s1
> GNU gdb (GDB) 7.3-debian
>  .. <snipped> ..
> Reading symbols from /root/gparted/gpart-0.1h/debian/gpart/sbin/gpart...done.
> (gdb) run
> Starting program: /root/gparted/gpart-0.1h/debian/gpart/sbin/gpart /dev/hd0s1
>  .. <snipped> ..
> Program received signal SIGFPE, Arithmetic exception.
> 0x0804bf34 in fillin_dos_chs (p=0x80540b0, d=<optimized out>,
> offset=<optimized out>) at gpart.c:489
> warning: Source file is more recent than executable.
> 489                     p->p_ssect = (n % d->d_dg.d_s) + 1;
>
> $PWD/debian/gpart/sbin/gpart /dev/null
>
> Begin scan...
> End scan.
>
> Checking partitions...
> Ok.
>
> Guessed primary partition table:
> Primary partition(1)
>   type: 000(0x00)(unused)
>   size: 0mb #s(0) s(0-0)
>   chs:  (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
>
> Primary partition(2)
>   type: 000(0x00)(unused)
>   size: 0mb #s(0) s(0-0)
>   chs:  (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
>
> Primary partition(3)
>   type: 000(0x00)(unused)
>   size: 0mb #s(0) s(0-0)
>   chs:  (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
>
> Primary partition(4)
>   type: 000(0x00)(unused)
>   size: 0mb #s(0) s(0-0)
>   chs:  (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
>
> On Linux, gpart behaves as described
>
> gpart-0.1h/debian/gpart/sbin/gpart  /dev/null
>
> ** Error: ioctl(HDIO_GETGEO) failed: Inappropriate ioctl for device.
>
> *** Fatal error: ioctl(HDIO_GETGEO) failed: Could not read disk
> geomentry, may be retry either with the -C or the -g option.    [0]
>
>
>
> I did run  ./gpart /dev/sda on my computer for about 2 minutes before
> deciding against it :).
>
> Attached are all the files in my debian/patches/ directory [1].
>
>
> Regards,
> Harish Badrinath
>
>
> Note[0]: The second line is added by a patch i added/modified.
> Note[1]: AMD64 patch should probably be renamed to, POSIX patch or
> something similar :).


Reply to: