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

Bug#271278: [i386] [20040911] Problems with partitionning



Package: installation-reports

Debian-installer-version:
http://cdimage.debian.org/pub/cdimage-testing/daily/i386/20040909/sarge-i386-businesscard.iso
uname -a:
Linux abydos 2.6.8-1-686-smp #1 SMP Sat Aug 28 12:51:43 EDT 2004 i686 GNU/Linux
Date: 11/09/04
Method: Boot from CDROM, network install from ftp.ielo.net.
Machine: Home made :)
Processor:  Intel(R) Pentium(R) 4 CPU 2.40GHz
Memory: 512 MB
Root Device: /dev/md0
Root Size/partition table: 
   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          39       19624+  83  Linux
/dev/hda2              40         601      283248   fd  Linux raid autodetect
/dev/hda3            1574      232514   116394264    5  Extended
/dev/hda4             602        1573      489888   82  Linux swap
/dev/hda5            1574        5448     1952968+  fd  Linux raid autodetect
/dev/hda6            5449       14167     4394344+  fd  Linux raid autodetect
/dev/hda7           14168       24065     4988560+  fd  Linux raid autodetect
/dev/hda8           24066       81903    29150320+  fd  Linux raid autodetect
/dev/hda9           81904      232514    75907912+  83  Linux


Output of lspci and lspci -n:
0000:00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM
Controller/Host-Hub Interface (rev 02)
0000:00:01.0 PCI bridge: Intel Corp. 82865G/PE/P PCI to AGP Controller
(rev 02)
0000:00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB
UHCI #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB
UHCI #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB
UHCI #3 (rev 02)
0000:00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB
UHCI #4 (rev 02)
0000:00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2
EHCI Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev c2)
0000:00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge
(rev 02)
0000:00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra
ATA 100 Storage Controller (rev 02)
0000:00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller
(rev 02)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV25
[GeForce4 Ti 4200] (rev a3)
0000:02:03.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host
Controller (rev 80)
0000:02:05.0 Ethernet controller: 3Com Corporation 3c940
10/100/1000Base-T [Marvell] (rev 12)
0000:02:09.0 Multimedia video controller: Brooktree Corporation Bt878
Video Capture (rev 11)
0000:02:09.1 Multimedia controller: Brooktree Corporation Bt878 Audio
Capture (rev 11)
0000:02:0b.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1
(rev 06)
0000:02:0b.1 Input device controller: Creative Labs SB Live! MIDI/Game
Port (rev 06)


0000:00:00.0 0600: 8086:2570 (rev 02)
0000:00:01.0 0604: 8086:2571 (rev 02)
0000:00:1d.0 0c03: 8086:24d2 (rev 02)
0000:00:1d.1 0c03: 8086:24d4 (rev 02)
0000:00:1d.2 0c03: 8086:24d7 (rev 02)
0000:00:1d.3 0c03: 8086:24de (rev 02)
0000:00:1d.7 0c03: 8086:24dd (rev 02)
0000:00:1e.0 0604: 8086:244e (rev c2)
0000:00:1f.0 0601: 8086:24d0 (rev 02)
0000:00:1f.1 0101: 8086:24db (rev 02)
0000:00:1f.3 0c05: 8086:24d3 (rev 02)
0000:01:00.0 0300: 10de:0253 (rev a3)
0000:02:03.0 0c00: 1106:3044 (rev 80)
0000:02:05.0 0200: 10b7:1700 (rev 12)
0000:02:09.0 0400: 109e:036e (rev 11)
0000:02:09.1 0480: 109e:0878 (rev 11)
0000:02:0b.0 0401: 1102:0002 (rev 06)
0000:02:0b.1 0980: 1102:7002 (rev 06)


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

Initial boot worked:    [O]
Configure network HW:   [O]
Config network:         [O]
Detect CD:              [O]
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [E]
Create file systems:    [O]
Mount partitions:       [O]
Install base system:    [O]
Install boot loader:    [O]
Reboot:                 [O]

Comments/Problems:
Ok, here is the hard part.
I will try to explain as best as I can.

I wanted to install LVM on RAID. I saw that was not possible actually,
so I decided to only use RAID.

First, I booted, and I deleted all my first partitions. My old partions
were somethings like:
/dev/hda1 /boot
/dev/hda2 swap
/dev/hda3 /
/dev/hda5 /usr
/dev/hda6 /var
/dev/hda7 /home
/dev/hda8 data
/dev/hda9 data

Same for hdc.
I did not want to delete hd[ac]8 and hd[ac]9, so I deleted everything,
but them.
Then, I created /dev/hda1 for /boot as primary, /dev/hd[ac]2 for swap,
/dev/hd[ac]3 for root. No problem.

But when I creaed a logical partition for /usr, it was named /dev/hda7,
because partmon decided that hda8 and hda9 were now hda5 and hda6,
because they were alone as logical partition.

And that the point: because I continued to install the system, it
worked, but when I rebooted, the kernel did not autodetect these raid
arrays, only md0 (/dev/hd[ac]2). Quite annoying.

"cfdisk /dev/hda" or /dev/hdc said that the partition 7 was a bad
logical partition because it was overlapping another, something like
this.


So I rebooted (again), re-ran debian-installer and used cfdisk to
partition. cfidk worked perfectly. I used partmon to create MD array on
partition made with cfdisk, and everything worked perfectly.

By the way, another thing is weird: devfs is used and path in
/etc/mdadm/mdadm.conf are in devfs format, so
"/etc/init.d/mdadm-raid start" does not work, because kernel-image does
not use devfs (at least by default).

Hope to be clear.

-- 
Julien Danjou
.''`.  Debian developer
: :' : http://julien.danjou.info
`. `'  http://people.debian.org/~acid
  `-   9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD



Reply to: