Problem for booting from SATA

Home Page Forums Network Management ZeroShell Problem for booting from SATA

This topic contains 6 replies, has 0 voices, and was last updated by  mlapeyre 7 years ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #41250

    mlapeyre
    Member

    Dear Fulvio,

    I have installed Zeroshell beta10 in a SATA disk following certain instructions I found for installing it on a disk ( gunzip -c Zeroshellbeta10.img.gz > /dev/sda ), but after loading the kernel the system keeps trying to boot from SATA with messages like:

    “Probing[x] USB and SATA devices to startup the system…”

    and then hangs with a kernel panic message, because is unable to find a device for mounting root.

    I used the same installation method for Zeroshell beta9 on a PATA disk and all worked fine.

    I have a PCChips P55G motherboard with a NVidia SATA controller, and found that the drivers that could use ( sata_nv and ahci ) are present in the system.

    When I boot from the liveCD, I can access the SATA disk without problem,so, the kernel recognizes the chipset and disk.

    Could you give me some advice?

    Thanks in advance

    Manuel

    #47040

    imported_fulvio
    Participant

    Probably something in the initrd si wrong. I will try to correct it in the next release. Now, if you do not like boot from CDROM, you can use the compactflash image on a USB Flash disk. You will use the SATA disk only to store the configuration and the logs.
    If the USB ports of your system are USB 2.0, then Zeroshell will complete the bootstrap faster than with the cdrom.

    Regards
    Fulvio

    #47041

    mlapeyre
    Member

    Thanks Fulvio for your reply.

    I haved tested my Zeroshell SATA disk with another motherboard and booted fine!
    The motherboard is a PCChips M955G with a VIA SATA controller, so It could be a problem with the sata driver used.
    Maybe the sata_nv.ko or the ahci.ko drivers ( I think that the last nVidia chipsets are using AHCI) have some bug.
    I´ll try to contact to the driver’s mantainer ( Jeff Garzik http://linux-ata.org/ ) regarding this.

    Thanks again

    #47042

    imported_fulvio
    Participant

    Ok , let us know.

    Regards
    Fulvio

    #47043

    jt
    Member

    I had trouble booting the SATA drive on my 1U server. I tried a lot of CMOS settings for the drive and other hardware configs and nothing fixed it.

    Finally, moving the drive to SATA channel 2 instead of 1 allowed it to boot as if it was an ATA drive. That works.

    #47044

    mlapeyre
    Member

    Fulvio,

    I found the answer to my problem.
    My VIA Sata controller uses ahci to communicate with my Samsung 80GB SATA disk, but the ahci.ko driver was not in the lib/sata/chipsets directory of /boot/initrd.gz.
    So, I copy it there from /cdrom/modules/2.6.25.9/kernel/drivers/ata, and all was ok.

    Thanks a lot for your help.

    Manuel

    #47045

    scegg
    Participant

    @mlapeyre wrote:

    Fulvio,

    I found the answer to my problem.
    My VIA Sata controller uses ahci to communicate with my Samsung 80GB SATA disk, but the ahci.ko driver was not in the lib/sata/chipsets directory of /boot/initrd.gz.
    So, I copy it there from /cdrom/modules/2.6.25.9/kernel/drivers/ata, and all was ok.

    Thanks a lot for your help.

    Manuel

    hmm, i find only a bin file in that gz package.
    Should I create that folder before copy the driver file?

    #47046

    ellisgl
    Member

    Check this post: http://www.zeroshell.net/eng/forum/viewtopic.php?t=2972&highlight=dell+poweredge+6650

    Basically you use ps_initrd.sh to unpack it, go in to the directory change stuff up, and close it out.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.