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

Bug#579995: Partitioning failure in Squeeze install




Package: installation-reports

Boot method:

    netboot

Image version: 

    http://ftp.nl.debian.org/debian/dists/testing/main/\
      installer-i386/current/images/\
      netboot/debian-installer/i386/\

      initrd.gz
      linux

Date:

   02.05.2010 14:30 CEST

Machine: Processor: Memory: &c

   Currently running Ubuntu 9.04 Jaunty on ...

    AMD Athlon dual-core 4850e CPU 
    Asus M3A78-EM AM2+ 780G uATX mobo 
    2x2GB 64-bit DDR2 CL5 SDRAM DIMMs 
    Samsung SpinPoint P80 SP1614N 160GB PATA HDD
    Samsung SpinPoint F3 500GB SATA HDD

Partitions:

  $ sfdisk -l /dev/sda

  Disk /dev/sda: 60801 cylinders, 255 heads, 63 sectors/track
  Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

     Device Boot Start     End   #cyls    #blocks   Id  System
  /dev/sda1          0+     60      61-    489951   83  Linux
  /dev/sda2   *     61     121      61     489982+  83  Linux
  /dev/sda3        122   60800   60679  487404067+   5  Extended
  /dev/sda4          0       -       0          0    0  Empty
  /dev/sda5        122+    243     122-    979933+  83  Linux
  /dev/sda6        244+    486     243-   1951866   83  Linux
  /dev/sda7        487+    729     243-   1951866   83  Linux
  /dev/sda8        730+   1215     486-   3903763+  83  Linux
  /dev/sda9       1216+   1701     486-   3903763+  83  Linux
  /dev/sda10      1702+   2674     973-   7815591   82  Linux swap / Solaris
  /dev/sda11      2675+   3647     973-   7815591   83  Linux
  /dev/sda12      3648+   4620     973-   7815591   83  Linux
  /dev/sda13      4621+   6565    1945-  15623181   83  Linux
  /dev/sda14      6566+  10455    3890-  31246393+  83  Linux
  /dev/sda15     10456+  18236    7781-  62500851   83  Linux
  /dev/sda16     18237+  60800   42564- 341895298+  83  Linux

  $ sfdisk -l /dev/sdb

  Disk /dev/sdb: 19457 cylinders, 255 heads, 63 sectors/track
  Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

     Device Boot Start     End   #cyls    #blocks   Id  System
  /dev/sdb1          0+     60      61-    489951   83  Linux
  /dev/sdb2   *     61     121      61     489982+  83  Linux
  /dev/sdb3        122     243     122     979965   83  Linux
  /dev/sdb4        244   19456   19213  154328422+   5  Extended
  /dev/sdb5        244+    547     304-   2441848+  83  Linux
  /dev/sdb6        548+    912     365-   2931831   83  Linux
  /dev/sdb7        913+   1338     426-   3421813+  83  Linux
  /dev/sdb8       1339+   1824     486-   3903763+  82  Linux swap / Solaris
  /dev/sdb9       1825+   2432     608-   4883728+  83  Linux
  /dev/sdb10      2433+   3161     729-   5855661   83  Linux
  /dev/sdb11      3162+   4012     851-   6835626   83  Linux
  /dev/sdb12      4013+   4985     973-   7815591   83  Linux
  /dev/sdb13      4986+   6930    1945-  15623181   83  Linux
  /dev/sdb14      6931+  10820    3890-  31246393+  83  Linux
  /dev/sdb15     10821+  19456    8636-  69368638+  83  Linux


  NB!  "/dev/sd[ab]" are the "libATA" addresses assigned to my two
  HDDs under Ubuntu 9.04; they agree neither with the "/dev/FOO"
  addresses I must use in my GRUB 1 "menu.lst" nor with the addresses
  assigned by the Squeeze DI.

  Ubuntu 9.04       Squeeze DI
  /dev/sda          /dev/sda
  /dev/sdb          /dev/hdb


Output of lspci -knn (or lspci -nn):

00:00.0 Host bridge [0600]: Advanced Micro Devices [AMD] RS780 Host Bridge [1022:9600]
00:01.0 PCI bridge [0604]: ASUSTeK Computer Inc. Device [1043:9602]
	Kernel modules: shpchp
00:05.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1) [1022:9605]
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp
00:06.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2) [1022:9606]
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp
00:11.0 SATA controller [0106]: ATI Technologies Inc SB700/SB800 SATA Controller [IDE mode] [1002:4390]
	Kernel driver in use: ahci
00:12.0 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller [1002:4397]
	Kernel driver in use: ohci_hcd
00:12.1 USB Controller [0c03]: ATI Technologies Inc SB700 USB OHCI1 Controller [1002:4398]
	Kernel driver in use: ohci_hcd
00:12.2 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB EHCI Controller [1002:4396]
	Kernel driver in use: ehci_hcd
00:13.0 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller [1002:4397]
	Kernel driver in use: ohci_hcd
00:13.1 USB Controller [0c03]: ATI Technologies Inc SB700 USB OHCI1 Controller [1002:4398]
	Kernel driver in use: ohci_hcd
00:13.2 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB EHCI Controller [1002:4396]
	Kernel driver in use: ehci_hcd
00:14.0 SMBus [0c05]: ATI Technologies Inc SBx00 SMBus Controller [1002:4385] (rev 3a)
	Kernel driver in use: piix4_smbus
	Kernel modules: i2c-piix4
00:14.1 IDE interface [0101]: ATI Technologies Inc SB700/SB800 IDE Controller [1002:439c]
	Kernel driver in use: pata_atiixp
00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383]
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel
00:14.3 ISA bridge [0601]: ATI Technologies Inc SB700/SB800 LPC host controller [1002:439d]
00:14.4 PCI bridge [0604]: ATI Technologies Inc SBx00 PCI to PCI Bridge [1002:4384]
00:14.5 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller [1002:4399]
	Kernel driver in use: ohci_hcd
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration [1022:1100]
00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map [1022:1101]
00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller [1022:1102]
00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control [1022:1103]
	Kernel driver in use: k8temp
	Kernel modules: k8temp
01:05.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon HD 3200 Graphics [1002:9610]
01:05.1 Audio device [0403]: ATI Technologies Inc RS780 Azalia controller [1002:960f]
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel
02:00.0 FireWire (IEEE 1394) [0c00]: JMicron Technologies, Inc. IEEE 1394 Host Controller [197b:2380]
	Kernel driver in use: ohci1394
	Kernel modules: firewire-ohci, ohci1394
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 02)
	Kernel driver in use: r8169
	Kernel modules: r8169



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

Initial boot:           [O]
Detect network card:    [O]
Configure network:      [0]
Detect CD:              [ ]
Load installer modules: [ ]
Detect hard drives:     [O]
Partition hard drives:  [E]

  This is as far as I got.

Install base system:    [ ]
Clock/timezone setup:   [ ]
User/password setup:    [ ]
Install tasks:          [ ]
Install boot loader:    [ ]
Overall install:        [ ]

Comments/Problems:

I prepared to install Squeeze by reformatting several partitions under
my Ubuntu system using "mke2fs", all but the smallest as Ext3 file
systems.  Using the DI partitioning tool I arranged for the following
installation layout:

  sda   GB  FS  mount
   1   0.5  e2  /    
   2   0.5  e2  /boot
   7   2.0  e3  /tmp 
   8   4.0  e3  /var 
  10   8.0  sw  swap 
  13  16.0  e3  /usr 
  14  32.0  e3  /home

On completing the partitioning, I get the following error:

  File system has an incompatible feature enabled.  Compatible
  features are "has_journal", "dir_index", "filetype", "sparse_super"
  and "large_file".  Use "tune2fs" or "debugfs" to remove features.

I opened a console and mounted every partition in "/dev/sda" on
mountpoints beneath "/mnt" -- all without trouble, all look OK, "df"
reports correct contents, also for the other partitions, which are in
daily use under Ubuntu.

Just to make sure there's no interference, here, from my PATA HDD, I
did the same with every partition on that disk -- again without the
slightest difficulty, except that Squeeze's DI wouldn't mount the
ReiserFS partitions.

Reverting to the DI install console, I hit [Continue]; that got me
this:

  The test of the file system with type ext2 in partition #1 of SCSI1
  (0,0,0) (sda) found uncorrected errors.

  If you do not go back to the partitioning menu and correct these
  errors, the partition will be used as is.

  Go back?

Since the DI's kernel didn't object to any partition on "sda", I
thought, OK, I'll just forge ahead, and hit [NO].  The next error
message was dire:

  File system was not cleanly mounted!  You should run "e2fsck".
  Modifying an unclean FS could cause severe corruption.

  ERROR!!!

So what's all the shouting about?  Back at the cmd-line console

  $ cat /etc/mtab

shows "/dev/sda1" mounted, all without error, never mind all-caps and
triple bangs, on "/mnt/sda1".  After unmounting it, "e2fsck /dev/sda1"
reports nothing amiss, and forcing a check with "-f" just yields
everyday humdrum -- and no triple bangs.

So I reverted to the installation console and ran through the
partitioning cycle once more, this time asking the DI's partition
manager to re-format the partition for itself.  Of course that didn't
change the superblock, so I just got the same results.

Since neither the DI's kernel nor my Ubuntu kernel, nor Squeeze's nor
Ubuntu's "e2fsck" finds the slightest fault with "/dev/sda1" -- created,
moreover, using just plain "mke2fs" without any options -- I began to
doubt the wisdom of proceeding with an installer that seemed to be on
the verge of loosing its cool.

I thought it better not to loose mine, either, so I rebooted,
immediately.

Under Ubuntu 9.04

  $ tune2fs -l /dev/sda1 | grep features

says

  Filesystem features: ext_attr resize_inode dir_index filetype sparse_super

These features were assigned to the partition at creation, using

  $ mke2fs /dev/sda1

and most of my partitions, many in daily use, have similar attributes.

Having read the "man" pages for "tune2fs", "mke2fs" & "e2fsck", I'm
unsure what to do next, given that the respective kernels find nothing
wrong with the default attributes assigned, ab ovo, by "mke2fs".  The
installer's contrary advice, loudly (and vaguely) proclaiming "change
something!" carries little weight against successful manual mounts and
its tone inspires no confidence.

Please advise.



Reply to: