Re: Second SATA disk is not recognized in kernel 2.6.x

From: Bartlomiej Zolnierkiewicz (bzolnier_at_gmail.com)
Date: 10/25/04

  • Next message: Dmitry Torokhov: "Re: [PATCH 5/5] Sonypi: use pci_get_device"
    Date:	Mon, 25 Oct 2004 15:26:05 +0200
    To: Masakazu Iwamura <masa@cs.osakafu-u.ac.jp>
    
    

    On Mon, 25 Oct 2004 19:24:04 +0900 (JST), Masakazu Iwamura
    <masa@cs.osakafu-u.ac.jp> wrote:
    > > I have a trouble which relates to serial ATA (libata). In summary, my
    > > PC boots in kernel 2.4.27 with two SATA disks normally. But, in kernel
    > > 2.6.x (I tested 2.6.8.1, 2.6.9), it boots with only one disk. The
    > > second disk is not available. Are there any good idea to resolve this
    > > problem?
    > >
    > > Actually, my PC has three SATA disks. One of them includes linux
    > > system (the boot disk). The others construct a RAID by use of a
    > > hardware RAID system "ARAID99 2000". So, BIOS recognizes there are two
    > > disks. The RAID system includes my home directory only. The chipset of
    > > the motherboard is ICH5R.
    > >
    > > In kernel 2.4.27, the first disk is recognized as /dev/hde and the
    > > second one is as /dev/hdg. In kernel 2.6.x, the first disk is
    > > recognized as /dev/sda. But, /dev/sdb does not appear (/dev/hdg is
    > > also).
    >
    > I also tested 2.6.10-rc1-bk2, 2.6.9-mm1 and 2.6.9-ac4 with almost the
    > same configuration in 2.6.9.
    >
    > 2.6.10-rc1-bk2 and 2.6.9-mm1 had the same problem as in 2.6.9.
    >
    > In 2.6.9-ac4, the PC did not boot because of an error:
    > atkbd.c: Spurious ACK on isa 0060/serio0. Some program, like XFree86,
    > might be trying access hardware directly.
    >
    > I do not know the reason. I attached dmesg outputs in 2.4.27 and
    > 2.6.10-rc1-bk2 after booting, and kernel configuration in
    > 2.6.10-rc1-bk2.
    > Could you please help me?

    In 2.4.27 you are using IDE driver (not libata) for your SATA disks.

    libata has problems with handling hw RAID connected to the second
    SATA port (?), for now you can revert to using IDE driver, just disable
    CONFIG_SCSI_SATA and enable CONFIG_BLK_DEV_IDE_SATA.

    Bartlomiej
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Dmitry Torokhov: "Re: [PATCH 5/5] Sonypi: use pci_get_device"

    Relevant Pages

    • Re: Install problem
      ... for ide master/slave jumpers on ide devices, ... > The FC is using both disks. ... The installations was fine before adding the ... > second disk and configuring the master/slave relationship. ...
      (Fedora)
    • Re: The day of reckoning is almost upon me.....
      ... I put in 2 80Gb disks. ... > add the second disk at a later date if you want, ... motherboards have RAID built in now, so you could stick 2 HDD in and spread ... 160gb but if 1 HDD dies you don't lose anything. ...
      (uk.sport.football)
    • RE: Install problem
      ... The FC is using both disks. ... The installations was fine before adding the ... second disk and configuring the master/slave relationship. ...
      (Fedora)
    • Re: The day of reckoning is almost upon me.....
      ... >> I really don't like to get involved in these geek conversations Joe so ... > Heh. ... I put in 2 80Gb disks. ... add the second disk at a later date if you want, ...
      (uk.sport.football)
    • Re: SATA problems and fs corruption on recent kernels
      ... On that machine I've 3 sata disks, ... It doesn't matter which HD are involved in file transfer, it can happen moving files on different partition of the same disk, between different disks and between sata and usb disks as well. ... For things to lock up badly enough that even BIOS POST fails to detect the drives or locks up really seems like a hardware problem to me. ...
      (Linux-Kernel)