Bug#267920: installation-reports: installer fails to correctly set up /etc/fstab (raid card escalade 8206-8, mobo asus p4c800)
Package: installation-reports
Version: Debian-Installer release candidate 1, downloaded approx Aug  
15, 2004 from  
http://cdimage.debian.org/pub/cdimage-testing/sarge_d-i/i386/rc1/sarge- 
i386-netinst.iso
Severity: important
uname -a: Linux files.richard-group.local 2.6.7-1-686 #1 Thu Jul 8  
05:36:53 EDT 2004 i686 GNU/Linux (I installed with the 2.4 kernel  
though)
Date: Fri, Aug 21 2004
Method: Installed off of CD that I burned from abovementioned ISO.  
Booted off this installation CD.
Machine: self-assembled machine
Processor: PIV 1.7 GHz
Memory: 512 MB DDR 3200
Root Device: 3ware Escalade 8206-8 SATA card; Linux kernel appears to  
see it as a SCSI device
Root Size/partition table:
Filesystem    Type   1K-blocks      Used Available Use% Mounted on
/dev/sda2     ext3    48062468  10923844  34697148  24% /
tmpfs        tmpfs      258244         0    258244   0% /dev/shm
/dev/sdb1     ext3   240362656  16336464 211816392   8% /backup/disk1
/dev/sdc1     ext3   240362656   5289020 222863836   3% /backup/disk2
/dev/sdd1     ext3   240362656     33468 228119388   1% /backup/disk3
/dev/sda3     ext3    96124936   9644232  81597748  11% /home
/dev/sde1     ext3   240362656     33468 228119388   1% /backup/disk4
/dev/sdf1     ext3   240362656     33468 228119388   1% /backup/disk5
sda is a raid 5 array containing 5 disks attached to the escalade card.
sdb, sdc, and sdd are also attached to the escalade card as standalone
disks. sde and sdf are attached to the intel sata controller on the
motherboard.
Output of lspci and lspci -n:
sh-2.05b$ lspci
0000:00:00.0 Host bridge: Intel Corp. 82875P Memory Controller Hub (rev  
02)
0000:00:01.0 PCI bridge: Intel Corp. 82875P Processor 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.2 IDE interface: Intel Corp. 82801EB (ICH5) Serial ATA 150  
Storage Controller (rev 02)
0000:00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus  
Controller (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER  
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)
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 RAID bus controller: 3ware Inc 3ware 7000-series ATA-RAID  
(rev 01)
0000:02:0a.0 VGA compatible controller: S3 Inc. 86c764/765  
[Trio32/64/64V+] (rev 43)
sh-2.05b$ lspci -n
0000:00:00.0 0600: 8086:2578 (rev 02)
0000:00:01.0 0604: 8086:2579 (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.2 0101: 8086:24d1 (rev 02)
0000:00:1f.3 0c05: 8086:24d3 (rev 02)
0000:00:1f.5 0401: 8086:24d5 (rev 02)
0000:02:03.0 0c00: 1106:3044 (rev 80)
0000:02:05.0 0200: 10b7:1700 (rev 12)
0000:02:09.0 0104: 13c1:1001 (rev 01)
0000:02:0a.0 0300: 5333:8811 (rev 43)
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:  [O]
Create file systems:    [O]
Mount partitions:       [O]
Install base system:    [O]
Install boot loader:    [O]
Reboot:                 [O]
Comments/Problems:
As you can see, the installation worked perfectly. However, *after* the  
installation, fstab was not set up completely correctly. The first  
on-bard sata disk was put onto /dev/hde1 and the second on /dev/hdg1  
(note h denoting ide interface).  After some searching, I discovered  
that these drives were actually on /dev/sde1 and /dev/sdf1  
respectively. The Debian installer detected the drives properly and was  
able to format them. It somehow ended up writing them as ide devices  
into fstab though, which didn't work.
-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-686
Locale: LANG=C, LC_CTYPE=C
Reply to: