Captain's Universe Home
Captain's Universe Home
Cosmic Ray Muon DetectorTeleGarden Pages
Time on MarsBryophyllum Plants
Jupiter Radio AstronomyAncient Pages
Salzburg Tourist GuideEarth Magnetometer
  H O M E     AJAX & MORE     LINUX & MORE     RTAI     XENOMAI     ADEOS IPIPE      
    JAVA & BROWSERS     *NIX     ELECTRONICS     REVIEWS     ARTEMIA     FAIRY SHRIMP      



Ultra ATA - 133 PCI Controller (ITE - Integrated Technology Express, Inc.) on Fedora Core 2

I was installing an additional IDE controller card into my machine, so that I have 2 NTFS harddisk's on the motherboard's IDE controller (master/slave - primary/secondary) and an addtional disk with Fedora Core 2 on the new ATA controller.

My BIOS detected the new card as SCSI device and I was able to boot from the HD, but it resulted in a kernel panic:
mkrootdev: label / not found
mount: error 2 mounting ext3
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
umount /initrd/proc failed: 2
Freeing unused kernel memory: 148k freed
Kernel panic: No init found. Try passing init= option to kernel
The solution is to pass additional parameters to the kernel in GRUB:
title Fedora Core (2.6.5-1.356)
        root (hd0,0)
        kernel /vmlinuz-2.6.5-1.356 ro root=LABEL=/ rhgb quiet selinux=0 ide2=0xa800,0xac02
        initrd /initrd-2.6.5-1.356.img




Here is how I figured out the correct values for ide2 (and ide3). I booted with the Fedora harddisk as slave disk on the motherboard controller and issued the lspci command:
# lspci -v
[...]
02:0b.0 Unknown mass storage controller: Integrated Technology Express, Inc. 
   IT/ITE8212 Dual channel ATA RAID controller (PCI version seems to be IT8212,
   embedded seems (rev 11)
        Subsystem: Integrated Technology Express, Inc.: Unknown device 0001
        Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 11
        I/O ports at a800
        I/O ports at ac00 [size=4]
        I/O ports at b000 [size=8]
        I/O ports at b400 [size=4]
        I/O ports at b800 [size=16]
        Capabilities: [80] Power Management version 2
You see the lines starting with "I/O ports". Construct the kernel parameters with the following formula:
ide2=A,B+2
where A is the address of the first I/O port and B the address of the second I/O port plus 2.

Last-Modified: Sat, 04 Feb 2006 16:18:03 GMT
Google
 
Web www.captain.at
go to top
© 1996-2010 . All rights reserved.
No reproduction, distribution, publishing or transmission of the copyrighted materials at this site is permitted. Policy
go to top