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

Bug#600671: installation-reports: (daily-image 20101017) GRUB-2 failed to install on Intel X-25M 80GB



Package: installation-reports
Severity: important

Hi there!

I recently bought an SSD (Intel X-25M 80GB SSDSA2MH080G2C1) and after
having read around the web about the different "tips&tricks for SSD", I
was ready to install Debian GNU/Linux on it.  Unfortunately, the result
was quite far from my expectations (read below).

Please note that this is a new report for the same machine at:

  http://bugs.debian.org/406026

Thx, bye,
Gismo / Luca

-- Package-specific info:
Boot method: multi-arch & hd-media
Image version: http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/multi-arch/iso-cd/
               http://d-i.debian.org/daily-images/amd64/daily/hd-media/
Date: from 20101016 to 20101018

Machine: IBM/Lenovo ThinkPad X60 (model 1706-GMG with 2x1GB RAM)
Partitions: [upon request]

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [O]
Detect network card:    [E] -> point 1
Configure network:      [O]
Detect CD:              [ ]
Load installer modules: [E] -> point 1
Detect hard drives:     [O]
Partition hard drives:  [E] -> point 2
Install base system:    [O]
Clock/timezone setup:   [O]
User/password setup:    [O]
Install tasks:          [O]
Install boot loader:    [E] -> point 3
Overall install:        [E] -> point 3

Comments/Problems:


1) the amd64-i386-powerpc-netinst multi-arch image built on
   20101016-08:59 (d-i 20101016-03:54) is useless, given that on both
   amd64 (my laptop) and i386 (a Compaq Deskpro EN SFF PIII-650) after
   the country/language selection there is an error:

     [!!] Load installer components from CD

     No kernel modules were found.  This probably is due to a mismatch
     between the kernel used by this version of the installer and the
     kernel version available in the archive.

     If you're installing from a mirror, you can work around this problem
     by choosing to install a different version of Debian.  The install
     will probably fail to work if you continue without kernel modules.

     Continue the install without loading kernel modules?

  On i386, continuing causes the installer to fail when looking for
  drivers for the network card.

  I thus tested two older multi-arch images I had around:

  a) the image built on 20100912-03:39 (d-i 20100911-21:57) similarly
     fails

  b) the image built on 20100717-15:25 (d-i 20100717-09:54) works OK

  Today I did two more tests:

  c) i386 netinst image built on 20101018-09:15 (d-i 20101018-03:54)
     works OK

  d) multi-arch image built on 20101018-09:25 (d-i 20101018-03:54) fails
     again with the "No kernel modules were found" message on QEMU (both
     amd64 and i386)

  In the end, for my laptop (amd64) I downloaded the hd-media image
  built on 20101017-00:17 and used that for the next steps, together
  with the amd64-businesscard image built on 20101017-08:45 (d-i
  20101017-00:08) and the firmware tarball extracted on the hd-media.


2) first, two things which IMHO are sub-optimized:

   a) my HD was a fresh new one (never used, not even partitioned
      before) and thus it does not require any erasing when creating the
      LUKS volume.

      I know that I can *manually* switch the erasing off (and
      everything is explained in the installation guide, thank you!),
      the major problem is that there is no indication that erasing a
      disk can last quite a lot of time...

   b) given that the installation did not completely finish, I have not
      checked the final result, but it would be a good thing for partman
      to recognize an SSD and add some default options (e.g. noatime).

      *NB*, this is only an idea, not a complaint, so please do not
            start flaming on that...

   Then, the real problem: I decided to follow the default Debian guided
   partitioning scheme for LUKS+LVM with a separate /home.  However,
   once I discovered that the filesystem used was ext3 (and not ext4,
   which AFAIK gives better performances with SSDs), I simply went back
   to the partitioning step.  At the same time, I decided that having a
   separate /home was useless, so I removed every automatically-created
   partition.  Finally, following Iustin Pop's advice and also because
   AFAIK dm-crypt can not use TRIM, I decided to leave 5GB of space free
   for the SSD, i.e. not used and not partitioned at all.

   And here the surprise: without rebooting, there is no way to delete
   LUKS+LVM once you have passed the partition step.  Instead, I was
   always answered that the partition (real or encrypted) was in use by
   the LVM subsystem.  As I said, rebooting was the solution and I could
   then continue on.


3) the installation went smoothly (base installation plus tasksel's
   laptop and standard tasks) until the boot loader installation,
   i.e. GRUB-2.

   Here the corresponding output from d-i's syslog:

--8<---------------cut here---------------start------------->8---
Oct 17 16:36:30 main-menu[387]: INFO: Menu item 'grub-installer' selected
Oct 17 16:36:30 grub-installer: info: architecture: amd64/generic
Oct 17 16:36:30 grub-installer: info: Identified partition label for /dev/mapper/gismo-root: loop
Oct 17 16:36:31 grub-installer: dpkg: warning: ignoring request to remove grub which isn't installed.
Oct 17 16:36:31 grub-installer: dpkg: warning: ignoring request to remove grub-legacy which isn't installed.
Oct 17 16:36:31 in-target: Reading package lists...
Oct 17 16:36:31 in-target: 
Oct 17 16:36:31 in-target: Building dependency tree...
Oct 17 16:36:31 in-target: 
Oct 17 16:36:31 in-target: Reading state information...
Oct 17 16:36:31 in-target: 
Oct 17 16:36:31 in-target: The following extra packages will be installed:
Oct 17 16:36:31 in-target:   grub-common os-prober
Oct 17 16:36:31 in-target: Suggested packages:
Oct 17 16:36:31 in-target:   multiboot-doc grub-emu xorriso desktop-base
Oct 17 16:36:31 in-target: The following NEW packages will be installed:
Oct 17 16:36:31 in-target:   grub-common grub-pc os-prober
Oct 17 16:36:32 in-target: 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Oct 17 16:36:32 in-target: Need to get 2,812 kB of archives.
Oct 17 16:36:32 in-target: After this operation, 6,697 kB of additional disk space will be used.
Oct 17 16:36:32 in-target: Get:1 http://cdn.debian.net/debian/ sid/main grub-common amd64 1.98+20100804-5 [1,795 kB]
Oct 17 16:36:35 in-target: Get:2 http://cdn.debian.net/debian/ sid/main grub-pc amd64 1.98+20100804-5 [993 kB]
Oct 17 16:36:36 in-target: Get:3 http://cdn.debian.net/debian/ sid/main os-prober amd64 1.39 [23.1 kB]
Oct 17 16:36:37 in-target: Preconfiguring packages ...
Oct 17 16:36:37 in-target: Fetched 2,812 kB in 4s (570 kB/s)
Oct 17 16:36:37 in-target: Selecting previously deselected package grub-common.
Oct 17 16:36:37 in-target: (Reading database ... 
Oct 17 16:36:37 in-target: 31622 files and directories currently installed.)
Oct 17 16:36:37 in-target: Unpacking grub-common (from .../grub-common_1.98+20100804-5_amd64.deb) ...
Oct 17 16:36:37 in-target: Selecting previously deselected package grub-pc.
Oct 17 16:36:37 in-target: Unpacking grub-pc (from .../grub-pc_1.98+20100804-5_amd64.deb) ...
Oct 17 16:36:37 in-target: Selecting previously deselected package os-prober.
Oct 17 16:36:37 in-target: Unpacking os-prober (from .../os-prober_1.39_amd64.deb) ...
Oct 17 16:36:37 in-target: Processing triggers for man-db ...
Oct 17 16:36:38 in-target: Processing triggers for install-info ...
Oct 17 16:36:38 in-target: Setting up grub-common (1.98+20100804-5) ...
Oct 17 16:36:38 in-target: Setting up grub-pc (1.98+20100804-5) ...
Oct 17 16:36:38 in-target: 
Oct 17 16:36:38 in-target: Creating config file /etc/default/grub with new version
Oct 17 16:36:39 in-target: Use of uninitialized value $template in exists at /usr/share/perl5/Debconf/Template.pm line 81, <GEN2> line 88.
Oct 17 16:36:39 in-target: Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 39, <GEN2> line 88.
Oct 17 16:36:39 in-target: Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 39, <GEN2> line 88.
Oct 17 16:36:39 in-target: Use of uninitialized value $template in exists at /usr/share/perl5/Debconf/Template.pm line 81, <GEN2> line 97.
Oct 17 16:36:39 in-target: Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 39, <GEN2> line 97.
Oct 17 16:36:39 in-target: Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 39, <GEN2> line 97.
Oct 17 16:36:39 in-target: Setting up os-prober (1.39) ...
Oct 17 16:36:39 anna-install: Installing ext2-modules
Oct 17 16:36:39 anna-install: Installing ext3-modules
Oct 17 16:36:39 anna-install: Installing ext4-modules
Oct 17 16:36:39 anna-install: Installing reiserfs-modules
Oct 17 16:36:39 anna-install: Installing xfs-modules
Oct 17 16:36:39 anna-install: Installing jfs-modules
Oct 17 16:36:39 anna-install: Installing msdos-modules
Oct 17 16:36:39 os-prober: unknown udeb msdos-modules
Oct 17 16:36:39 anna-install: Installing vfat-modules
Oct 17 16:36:39 os-prober: unknown udeb vfat-modules
Oct 17 16:36:39 anna-install: Installing ntfs-modules
Oct 17 16:36:39 anna[20199]: DEBUG: resolver (kernel-image-2.6.32-5-amd64-di): package doesn't exist (ignored)
Oct 17 16:36:39 anna[20199]: DEBUG: resolver (nls-core-modules-2.6.32-5-amd64-di): package doesn't exist (ignored)
Oct 17 16:36:39 anna[20199]: DEBUG: retrieving ntfs-modules-2.6.32-5-amd64-di 1.70
Oct 17 16:36:39 anna-install: Installing minix-modules
Oct 17 16:36:39 os-prober: unknown udeb minix-modules
Oct 17 16:36:39 anna-install: Installing hfs-modules
Oct 17 16:36:39 os-prober: unknown udeb hfs-modules
Oct 17 16:36:39 anna-install: Installing hfsplus-modules
Oct 17 16:36:39 os-prober: unknown udeb hfsplus-modules
Oct 17 16:36:39 anna-install: Installing qnx4-modules
Oct 17 16:36:39 anna[20254]: DEBUG: resolver (kernel-image-2.6.32-5-amd64-di): package doesn't exist (ignored)
Oct 17 16:36:39 anna[20254]: DEBUG: retrieving qnx4-modules-2.6.32-5-amd64-di 1.70
Oct 17 16:36:39 anna-install: Installing ufs-modules
Oct 17 16:36:39 anna-install: Installing btrfs-modules
Oct 17 16:36:39 anna-install: Installing fs-core-modules
Oct 17 16:36:39 os-prober: unknown udeb fs-core-modules
Oct 17 16:36:39 anna-install: Installing fs-secondary-modules
Oct 17 16:36:39 os-prober: unknown udeb fs-secondary-modules
Oct 17 16:36:39 kernel: [ 1140.257331] NTFS driver 2.1.29 [Flags: R/W MODULE].
Oct 17 16:36:39 kernel: [ 1140.262233] QNX4 filesystem 0.2.3 registered.
Oct 17 16:36:39 kernel: [ 1140.267264] btrfs: Unknown symbol zlib_deflateEnd
Oct 17 16:36:39 kernel: [ 1140.267723] btrfs: Unknown symbol zlib_deflate
Oct 17 16:36:39 kernel: [ 1140.268066] btrfs: Unknown symbol zlib_deflate_workspacesize
Oct 17 16:36:39 kernel: [ 1140.268572] btrfs: Unknown symbol zlib_deflateInit2
Oct 17 16:36:39 os-prober: File descriptor 3 (pipe:[2326]) leaked on lvs invocation. Parent PID 20375: log-output
Oct 17 16:36:39 os-prober: File descriptor 4 (/dev/pts/0) leaked on lvs invocation. Parent PID 20375: log-output
Oct 17 16:36:39 os-prober: File descriptor 5 (/dev/pts/0) leaked on lvs invocation. Parent PID 20375: log-output
Oct 17 16:36:39 os-prober: File descriptor 6 (/dev/pts/0) leaked on lvs invocation. Parent PID 20375: log-output
Oct 17 16:36:39 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda1
Oct 17 16:36:39 50mounted-tests: debug: mounted as ext2 filesystem
Oct 17 16:36:39 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10freedos
Oct 17 16:36:39 10freedos: debug: /dev/sda1 is not a FAT partition: exiting
Oct 17 16:36:39 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/10qnx
Oct 17 16:36:39 10qnx: debug: /dev/sda1 is not a QNX4 partition: exiting
Oct 17 16:36:39 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20macosx
Oct 17 16:36:39 macosx-prober: debug: /dev/sda1 is not an HFS+ partition: exiting
Oct 17 16:36:39 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/20microsoft
Oct 17 16:36:39 20microsoft: debug: /dev/sda1 is not a MS partition: exiting
Oct 17 16:36:39 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/30utility
Oct 17 16:36:39 30utility: debug: /dev/sda1 is not a FAT partition: exiting
Oct 17 16:36:39 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/40lsb
Oct 17 16:36:39 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/70hurd
Oct 17 16:36:39 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/80minix
Oct 17 16:36:39 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90linux-distro
Oct 17 16:36:39 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90solaris
Oct 17 16:36:39 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda2
Oct 17 16:36:39 50mounted-tests: debug: /dev/sda2 is a LUKS partition; skipping
Oct 17 16:36:39 os-prober: debug: os detected by /usr/lib/os-probes/50mounted-tests
Oct 17 16:36:39 os-prober: debug: running /usr/lib/os-probes/mounted/10freedos on mounted /dev/mapper/gismo-root
Oct 17 16:36:39 10freedos: debug: /dev/mapper/gismo-root is not a FAT partition: exiting
Oct 17 16:36:39 os-prober: debug: running /usr/lib/os-probes/mounted/10qnx on mounted /dev/mapper/gismo-root
Oct 17 16:36:39 10qnx: debug: /dev/mapper/gismo-root is not a QNX4 partition: exiting
Oct 17 16:36:39 os-prober: debug: running /usr/lib/os-probes/mounted/20macosx on mounted /dev/mapper/gismo-root
Oct 17 16:36:39 macosx-prober: debug: /dev/mapper/gismo-root is not an HFS+ partition: exiting
Oct 17 16:36:39 os-prober: debug: running /usr/lib/os-probes/mounted/20microsoft on mounted /dev/mapper/gismo-root
Oct 17 16:36:39 20microsoft: debug: /dev/mapper/gismo-root is not a MS partition: exiting
Oct 17 16:36:39 os-prober: debug: running /usr/lib/os-probes/mounted/30utility on mounted /dev/mapper/gismo-root
Oct 17 16:36:39 30utility: debug: /dev/mapper/gismo-root is not a FAT partition: exiting
Oct 17 16:36:39 os-prober: debug: running /usr/lib/os-probes/mounted/40lsb on mounted /dev/mapper/gismo-root
Oct 17 16:36:39 os-prober: debug: running /usr/lib/os-probes/mounted/70hurd on mounted /dev/mapper/gismo-root
Oct 17 16:36:39 os-prober: debug: running /usr/lib/os-probes/mounted/80minix on mounted /dev/mapper/gismo-root
Oct 17 16:36:39 os-prober: debug: running /usr/lib/os-probes/mounted/90linux-distro on mounted /dev/mapper/gismo-root
Oct 17 16:36:39 os-prober: debug: running /usr/lib/os-probes/mounted/90solaris on mounted /dev/mapper/gismo-root
Oct 17 16:36:39 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/mapper/gismo-swap
Oct 17 16:36:39 50mounted-tests: debug: /dev/mapper/gismo-swap is a swap partition; skipping
Oct 17 16:36:39 os-prober: debug: os detected by /usr/lib/os-probes/50mounted-tests
Oct 17 16:36:41 grub-installer: info: Installing grub on '/dev/sda'
Oct 17 16:36:41 grub-installer: info: grub-install supports --no-floppy
Oct 17 16:36:41 grub-installer: info: Running chroot /target grub-install  --no-floppy --force "/dev/sda"
Oct 17 16:36:41 grub-installer: /usr/sbin/grub-probe: error: no such disk.
Oct 17 16:36:41 grub-installer: Auto-detection of a filesystem module failed.
Oct 17 16:36:41 grub-installer: Please specify the module with the option `--modules' explicitly.
Oct 17 16:36:41 grub-installer: error: Running 'grub-install  --no-floppy --force "/dev/sda"' failed.
Oct 17 16:36:53 main-menu[387]: (process:19453): File descriptor 3 (pipe:[2326]) leaked on lvdisplay invocation. Parent PID 19490: /bin/sh
Oct 17 16:36:53 main-menu[387]: (process:19453): File descriptor 4 (/dev/pts/0) leaked on lvdisplay invocation. Parent PID 19490: /bin/sh
Oct 17 16:36:53 main-menu[387]: (process:19453): File descriptor 5 (/dev/pts/0) leaked on lvdisplay invocation. Parent PID 19490: /bin/sh
Oct 17 16:36:53 main-menu[387]: (process:19453): File descriptor 6 (/dev/pts/0) leaked on lvdisplay invocation. Parent PID 19490: /bin/sh
Oct 17 16:36:53 main-menu[387]: (process:19453): perl: warning: Setting locale failed.
Oct 17 16:36:53 main-menu[387]: (process:19453): perl: warning: Please check that your locale settings:
Oct 17 16:36:53 main-menu[387]: (process:19453): 	LANGUAGE = (unset),
Oct 17 16:36:53 main-menu[387]: (process:19453): 	LC_ALL = (unset),
Oct 17 16:36:53 main-menu[387]: (process:19453): 	LANG = "C.UTF-8"
Oct 17 16:36:53 main-menu[387]: (process:19453):     are supported and installed on your system.
Oct 17 16:36:53 main-menu[387]: (process:19453): perl: warning: Falling back to the standard locale ("C").
Oct 17 16:36:53 main-menu[387]: (process:19453): locale: Cannot set LC_CTYPE to default locale: No such file or directory
Oct 17 16:36:53 main-menu[387]: (process:19453): locale: Cannot set LC_MESSAGES to default locale: No such file or directory
Oct 17 16:36:53 main-menu[387]: (process:19453): locale: Cannot set LC_ALL to default locale: No such file or directory
Oct 17 16:36:53 main-menu[387]: (process:19453): perl: warning: Setting locale failed.
Oct 17 16:36:53 main-menu[387]: (process:19453): perl: warning: Please check that your locale settings:
Oct 17 16:36:53 main-menu[387]: (process:19453): 	LANGUAGE = (unset),
Oct 17 16:36:53 main-menu[387]: (process:19453): 	LC_ALL = (unset),
Oct 17 16:36:53 main-menu[387]: (process:19453): 	LANG = "C.UTF-8"
Oct 17 16:36:53 main-menu[387]: (process:19453):     are supported and installed on your system.
Oct 17 16:36:53 main-menu[387]: (process:19453): perl: warning: Falling back to the standard locale ("C").
Oct 17 16:36:53 main-menu[387]: (process:19453): locale: Cannot set LC_CTYPE to default locale: No such file or directory
Oct 17 16:36:53 main-menu[387]: (process:19453): locale: Cannot set LC_MESSAGES to default locale: No such file or directory
Oct 17 16:36:53 main-menu[387]: (process:19453): locale: Cannot set LC_ALL to default locale: No such file or directory
Oct 17 16:36:53 main-menu[387]: WARNING **: Configuring 'grub-installer' failed with error code 1
Oct 17 16:36:53 main-menu[387]: WARNING **: Menu item 'grub-installer' failed.
--8<---------------cut here---------------end--------------->8---

  Please note I have not tried to fix anything, which means that the
  installation above is still available for any tests, at least in
  rescue mode ;-)

  All logs, at least the one you can save from within d-i, are also
  available, upon request.

  BTW, given the nature of the HD I was installing on (an SSD), drive
       which will become my first one and used for everyday work, I
       would prefer to reduce the number of installations cycles at a
       minimum...

-- 

Please make sure that the hardware-summary log file, and any other
installation logs that you think would be useful are attached to this
report. Please compress large files using gzip.

Once you have filled out this report, mail it to submit@bugs.debian.org.

[remove anything which is not specific to the new version of the installer]
-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.36-rc6-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Attachment: pgpCKToXydVk_.pgp
Description: PGP signature


Reply to: