Bug#602568: squeeze-di-beta1 installer: partman hang

2010-11-07 Thread Christian PERRIER
reassign 602568 parted severity 602568 important tags 602568 patch thanks Quoting Jean-Christian de Rivaz (j...@eclis.ch): Please find in attachment my current proposition of patch. It remove the obsolete -fgnu89-inline and use the same flags for build-udeb than for build-deb to get the -O2

Processed: Re: Bug#602568: squeeze-di-beta1 installer: partman hang

2010-11-07 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: reassign 602568 parted Bug #602568 [installation-reports] squeeze-di-beta1 installer: partman hang Bug reassigned from package 'installation-reports' to 'parted'. severity 602568 important Bug #602568 [parted] squeeze-di-beta1 installer: partman

Bug#602568: squeeze-di-beta1 installer: partman hang

2010-11-06 Thread Christian PERRIER
Quoting Jean-Christian de Rivaz (j...@eclis.ch): Unfortunately there is no /var/log/installer/ directory: That dir exists on the installed system. As you couuldn't install, it is indeed not there ls -al /var/log drwxr-xr-x2 root root 0 Nov 5 22:33 . drwxr-xr-x8

Bug#602568: squeeze-di-beta1 installer: partman hang

2010-11-06 Thread Jean-Christian de Rivaz
Christian PERRIER a écrit : Quoting Jean-Christian de Rivaz (j...@eclis.ch): Unfortunately there is no /var/log/installer/ directory: That dir exists on the installed system. As you couuldn't install, it is indeed not there ls -al /var/log drwxr-xr-x2 root root 0 Nov 5

Bug#602568: squeeze-di-beta1 installer: partman hang

2010-11-06 Thread Jean-Christian de Rivaz
I finally found the parted_servec.c into http://packages.debian.org/squeeze/partman-base . I think the problem is in the OPEN command path for /dev/sdb: void command_open() { log(command_open()); === found in the log char *device; scan_device_name(); if (1 !=

Bug#602568: squeeze-di-beta1 installer: partman hang

2010-11-06 Thread Jean-Christian de Rivaz
Can't easily find what's wrong into the parted-2.3/libparted code. But GNU Parted 1.8.8 from a Lenny machine work on this disk: parted /dev/sdb print Error: Can't have the end before the start! Model: disk2go PURE II (scsi) Disk /dev/sdb: 5243kB Sector size (logical/physical): 512B/512B

Bug#602568: squeeze-di-beta1 installer: partman hang

2010-11-06 Thread Jean-Christian de Rivaz
Now Squeeze is installed into the notepad and I can test the parted 2.3-3 that is available from it. No problem without partition of course, bt the surprise is that it also have no issue with a FAT12 partition: fdisk -l /dev/sdb Disk /dev/sdb: 5 MB, 5242880 bytes 1 heads, 10 sectors/track,

Bug#602568: squeeze-di-beta1 installer: partman hang

2010-11-06 Thread Jean-Christian de Rivaz
Interesting finding: libparted.so.0.0.1 (from *.deb) != libparted.so.0.0.1 (from *.udeb) I have do this: apt-get source parted cd parted-2.3/ dpkg-buildpackage -rfakeroot -uc -us cd .. mkdir install-bin dpkg -x libparted0-udeb_2.3-3_i386.udeb install-bin/ dpkg -x parted-udeb_2.3-3_i386.udeb

Bug#602568: squeeze-di-beta1 installer: partman hang

2010-11-06 Thread Jean-Christian de Rivaz
I now have a backtrace: Backtrace has 20 calls on stack: 20: ./libparted/.libs/libparted.so.0(ped_assert+0x28) [0xb77d9073] 19: ./libparted/.libs/libparted.so.0(ped_geometry_new+0x5a) [0xb77e2aed] 18: ./libparted/.libs/libparted.so.0(ped_geometry_duplicate+0x73) [0xb77e2bc6] 17:

Bug#602568: squeeze-di-beta1 installer: partman hang

2010-11-06 Thread Jean-Christian de Rivaz
Please find in attachment my current proposition of patch. It remove the obsolete -fgnu89-inline and use the same flags for build-udeb than for build-deb to get the -O2 optimization. This work, but I still don't understand why the code fail without optimization. Regards, Jean-Christian de

Bug#602568: squeeze-di-beta1 installer: partman hang

2010-11-05 Thread Jean-Christian de Rivaz
Package: installation-reports Boot method: disk2go PURE II USB stick Image version: http://cdimage.debian.org/cdimage/squeeze_di_beta1/i386/iso-cd/debian-squeeze-di-beta1-i386-businesscard.iso Date: 06 nov 2010 Machine: Asus EeePC 1015PE Processor: Intel Atom N450 Memory: 2GB Partitions:

Bug#602568: squeeze-di-beta1 installer: partman hang

2010-11-05 Thread Miguel Figueiredo
A Sexta 05 Novembro 2010 23:06:26 Jean-Christian de Rivaz você escreveu: [...] How can I get more debug informations from partman to go deeper into the analysis ? [...] You can check /var/log/installer/partman and the syslog on that location can be useful too. -- Melhores

Bug#602568: squeeze-di-beta1 installer: partman hang

2010-11-05 Thread Jean-Christian de Rivaz
Miguel Figueiredo a écrit : A Sexta 05 Novembro 2010 23:06:26 Jean-Christian de Rivaz você escreveu: [...] How can I get more debug informations from partman to go deeper into the analysis ? [...] You can check /var/log/installer/partman and the syslog on that location can be useful too.