Re: My kernel can't access my hdd, but the LiveCD can.

From: Sebastian Noack (sebastian_at_der-noack.de)
Date: 07/28/05


Date: Thu, 28 Jul 2005 14:39:06 +0200


> What RAID controller are you using? Promise, HighPoint, VIA, LSI, Intel?

Promise FastTrack TX-2000.

> You have to add support for your PATA RAID controller in the kernel under
> ATA/ATAPI/MFM/RLL support

I can't find "PATA". Do you mean poss. "SATA"? If yes: It is an
IDE/ATA-RAID-Controller.

> Try booting the system as you described with the hard drive as /dev/hdc, with some other disk
> on the raid controller. Check dmesg to see if your controller is being utilized. If it is can you
> see

dmesg don't show the RAID-Controller, but lspci do.
0000:00:0d.0 RAID bus i: Promise Technology, Inc. PDC20271
(FastTrak TX2000) (rev 02)

> the disk using fdisk -l

fdisk -l returns:

Disk /dev/hdc: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot Start End Blocks Id System
/dev/hdc1 1 5714 45897673+ 5 Extended
/dev/hdc5 * 1 608 4883697 83 Linux
/dev/hdc6 609 1216 4883728+ 83 Linux
/dev/hdc7 1217 1824 4883728+ 83 Linux
/dev/hdc8 1825 2067 1951866 82 Linux swap / Solaris
/dev/hdc9 2068 5714 29294496 83 Linux

> Are you using 2.4 or 2.6 kernel?

I use a 2.6.12.2 kernel. For the 2.4 kernel there is a driver from the
manufacturer. But I don't indent to use an obsolete kernel. Also the
Gentoo-LiveCD is able to mount the hdd on the RAID-Controller.

> Looking at your kernel config I take it you're looking at doing RAID1 disk mirroring?

Yes, but apriori I would be lucky if I can mount a single hdd on the
RAID-Controller without RAID-functionality.

> Reason I'm asking is I'm pretty sure ATARAID support has been dropped
> from the 2.6 kernel in lieu of DMRAID. I'm not a 100% on that but I'm
> almost positive that's what I've read, and apparently it's a PITA to get
> working....you have to create an initrd image to have the kernel booting
> from the RAID array itself.

I think my current problem is an other one. Because grub can load the
kernel from the hdd but the kernel can't mount the hdd. When I have
plugged my hdd on the on-board IDE-Controller to boot it, I have plugged
an other hdd on the RAID-Controller to try to mount it, but I can't see
the devicefiles of this hdd and its partitions.

> Gerte Hoogewerf has created a Gentoo LiveCD with DMRAID support and a
> howto with scripts. Have a look here....
> http://tienstra4.flatnet.tudelft.nl/~gerte/gen2dmraid/

I will try dmraid, but don't I need first the possibility to access the
hdds on my RAID-Controller?

Best regards
Sebastian Noack



Relevant Pages

  • Re: My kernel cant access my hdd, but the LiveCD can.
    ... Your FastTrak TX-2000 is a PATA RAID controller. ... With the proper support in the kernel you will see the applicable details ... > Gentoo-LiveCD is able to mount the hdd on the RAID-Controller. ...
    (alt.os.linux)
  • cdrom_decode_status error
    ... broke the linux kernel each time i try to mount the disc. ... Sep 3 13:48:40 kernel: hdd: ATAPI reset complete ... Sep 3 13:49:29 kernel: Buffer I/O error on device hdd, ...
    (Linux-Kernel)
  • 137GB HDD barrier on kernel 2.4.18
    ... It was a long time since I last installed a HDD. ... I suspect it is Linux kernel problem as BIOS ... begins support for 48-bit addressing; ...
    (uk.comp.os.linux)
  • /proc and /log
    ... Nov 9 04:12:55 linux_box kernel: hdd: ATAPI reset complete ... My system is RedHat 9.0 and the messages appear to start about the same time ...
    (RedHat)
  • Bug in IDE/ATAPI CDROM DRIVER
    ... I'm have configuration file from good working kernel 2.6.5. ... hdd: ... hdd: lost interrupt ... May 12 23:53:25 darkstar kernel: ide: Assuming 33MHz system bus speed ...
    (Linux-Kernel)