1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Hard disks not recognized

Discussion in 'Installing and Upgrading FreeBSD' started by floomby, Jun 8, 2010.

  1. floomby

    floomby New Member

    Messages:
    2
    Thanks Received:
    0
    Hi,

    I have tried to install PCBSD 8.0 i386 DVD and then the FreeBSD 8.0 amd64 bootonly disc.
    Both times, my two SATA hard disks (one on primary master and the other on secondary master) were not recognized.

    Obviously it would be nice if I could get it up and running :)

    Here is the dmesg output running from a live PCBSD environment:
    http://pastebin.com/kCVT8eCv

    It seems like the sata controller is being recognized but not the hard disks connected, given the lines : atapci1 ICH7 SATA300 controller, ata2, etc.
    Typing lsdev at the loader prompt indeed lists the hard disks correctly.
    I have tried loading geom_mbr, geom_bsd and geom_label from the loader prompt but to no avail.

    There appear to be no settings in the bios about sata compatability mode, legacy, etc.

    For completeness, here is the lspci output from Linux:
    http://pastebin.com/zsghNatX

    This is my first attempt at BSD, is there anything I can try to get the hdds recognized by inserting device hints or loading modules or something?

    Any help would be appreciated.

    Thanks
     
  2. JimW

    JimW New Member

    Messages:
    95
    Thanks Received:
    10
    Do you have a drive plugged into a USB port?

    Code:
    umass0: <SMI Corporation USB DISK, class 0/0, rev 2.00/11.00, addr 2> on usbus4


    If you do, try booting without it being plugged into the machine.

    It could be creating an IRQ conflict that the system doesn't agree with....

    Code:
    <Intel 82801G (ICH7) USB controller USB-B> port 0xc880-0xc89f irq 19 at device 29.1 on pci0
    
    <Intel ICH7 SATA300 controller> port 0xc400-0xc407,0xc080-0xc083,0xc000-0xc007,0xbc00-0xbc03,0xb880-0xb88f irq 19 at device 31.2 on pci0
     
  3. floomby

    floomby New Member

    Messages:
    2
    Thanks Received:
    0
  4. JimW

    JimW New Member

    Messages:
    95
    Thanks Received:
    10
    I also did a Google search on your problem because I got curious. It's clear there have been others with the same problem you are experiencing, but what is not clear is how, or if some of them have been solved.

    I saw one posting claiming the guy solved his issue by installing a PATA drive on his IDE bus and putting the OS on that drive. Then the system recognized the drives attached to the SATA controller. I can't find the link and will do another search and see if I can post it for you.

    There are no BIOS mode settings for the SATA controller such as Enhanced or Compatible? Nothing related to AHCI?

    I was wondering if loading the ahci kernel module might work. In your /boot/loader.conf file try adding the following...

    Code:
    ahci_load="YES"


    The man page includes some device hints that may also be worth a look. Not sure that will help, but it is worth a shot.