This is the old SliTaz forum - Please use the main forum.slitaz.org

[Solved] Slitaz and SCSI
  • harrungharrung October 2010
    Hi there,

    I´m working in a shelter for menthally disabled people and I´ve serveral old PC for them to surf the internet and doing some online games.
    My problem is that the machines are all with SCSI drives! Slitaz is booting normally in RAM. When I try to use the installer, CD and HDD will not be found. I´ve to install the package "linux-scsi" and do a hardware scan to load the "aic7xxx" driver. Now I can install Slitaz on HDD.
    But after reboot an error appears: "Unable to mount root fs...." I think the module "aic7xxx" can´t be loaded in that stage.
    I tried everything and made a post in german community. No one was was able to help me.
    Maybe here. Is there a flavor with SCSI in the kernel available? Or maybe could someone build it up for me? I´m a linux n00b, so I´d build it on my own if I could.

    Please help!
    Best regards
    harrung
    http://forum.slitaz.org/index.php/discussion/1742/slitaz-und-scsi
  • Trixar_zaTrixar_za October 2010
    Sorry, just read your german post (the bits I understand) and I believe your right. It's not loading the scsi support before trying to mount the root filesystem. Not sure if there is a hack around this though :(
  • erniaernia October 2010
    you should recompile the kernel building the aic7xxx driver in it and not as a module:
    http://doc.slitaz.org/en:guides:kernel
    you may find this interesting too:
    http://forum.slitaz.org/index.php/discussion/comment/4737
    your issue is due to the fact that slitaz does not have an initramfs so all of the drivers needed to read the root filesystem (where you have your modules) should be included in the kernel. if they are not included you will not be able to load your rootfs.
    i cannot do it for you now because i only have a liveusb, i think i will do an hard disk instal in the next days, if you cant' get it i will do it for you.
    give it a try. you can't learn if you does not fail ;-)
  • loislois October 2010
    i recently compiled a kernel with built-in scsi support. maybe this works for you:
    http://ad.cwcworx.net/tmp/slitaz-scsi.iso
  • harrungharrung October 2010
    Hi lois,

    thanks for your help. Are you from Austria? The ISO you made is booting until the end. It stucks at "usb usb1: suspend_rh". Then it hangs.
    So I wasn´t able to test the SCSI staff.
    Do you have an ISO 3.0 stable only witt the "aic7xxx" included?
    When I try to make a new kernel RAM is full very fast. I tried it in a VM, but then I got 450 MB... A video tut would be cool. Video for Nerds... :-)
  • harrungharrung October 2010
    Hi lois,

    thanks for your help. Are you from Austria? The ISO you made is booting until the end. It stucks at "usb usb1: suspend_rh". Then it hangs.
    So I wasn´t able to test the SCSI staff.
    Do you have an ISO 3.0 stable only witt the "aic7xxx" included?
    When I try to make a new kernel RAM is full very fast. I tried it in a VM, but then I got 450 MB... A video tut would be cool. Video for Nerds... :-)
  • harrungharrung October 2010
    Hi lois,

    thanks for your help. Are you from Austria? The ISO you made is booting until the end. It stucks at "usb usb1: suspend_rh". Then it hangs.
    So I wasn´t able to test the SCSI staff.
    Do you have an ISO 3.0 stable only witt the "aic7xxx" included?
    When I try to make a new kernel RAM is full very fast. I tried it in a VM, but then I got 450 MB... A video tut would be cool. Video for Nerds... :-)
  • harrungharrung October 2010
    Hi lois,

    thanks for your help. Are you from Austria? The ISO you made is booting until the end. It stucks at "usb usb1: suspend_rh". Then it hangs.
    So I wasn´t able to test the SCSI staff.
    Do you have an ISO 3.0 stable only witt the "aic7xxx" included?
    When I try to make a new kernel RAM is full very fast. I tried it in a VM, but then I got 450 MB... A video tut would be cool. Video for Nerds... :-)
  • harrungharrung October 2010
    four times posting..... How did I make that?
  • kultexkultex October 2010
    I think you got an error message, when you posted the comment - ignore this error, the post is always ok, even you get the error
  • loislois October 2010
    I compiled a new scsi-multi-lun kernel today ( http://forum.slitaz.org/index.php/discussion/1856/solved-sd-card-not-recognized ) and added the aic7xxx driver.
    http://ad.cwcworx.net/slitaz/slitaz-3.0-multi-lun.iso
    I hope this iso ( based on the core flavor ) works for you too.
    And you're right, I am from Austria.
  • harrungharrung October 2010
    Man, you´re the greatest! I´s working just like I wanted!
    Thank you very much!

    A video tut how you made it would be nice.
  • erniaernia October 2010
    @lois
    thanks from me too, i'm donwloading the iso for my hard disk install
    @harrung
    please, put [solved] in the topic title
  • loislois October 2010
    Well, I've never created a video tut, but basically follow the steps in the kernel guide: http://doc.slitaz.org/en:guides:kernel?s[]=kernel
    at the menuconfig interface choose the drivers you need.
    after the command
    cp arch/x86/boot/bzImage /boot

    execute
    cd /usr/src/linux/ 
    make tazpkg

    to get the kernel package,
    rename it to linux-2.6.30.6.tazpkg:
    mv linux-slitaz-2.6.30.6.tazpkg linux-2.6.30.6.tazpkg

    create a flavors directory:
    mkdir -p /home/slitaz/flavors

    get the core flavor ( or any other listed by tazlito list-flavors )
    cd /home/slitaz/flavors
    tazlito get-flavor core

    create the packages repository
    mkdir /home/slitaz/packages

    copy your kernel
    cp /usr/src/linux/linux-2.6.30.6.tazpkg /home/slitaz/packages/

    and generate the iso
    tazlito clean-distro
    tazlito gen-distro

    the generated iso should be /home/slitaz/distro/slitaz-core.iso
    see also http://doc.slitaz.org/en:handbook:genlivecd guide
  • erniaernia October 2010
    @lois
    this should be in the custom kernel guide, am i allowed to copy paste your last post there?
  • loislois October 2010
    surely, I think it would be a good idea to add the multi-lun stuff to the mmc/sd-card guide http://doc.slitaz.org/en:guides:sdcard , too
  • kultexkultex October 2010
    @lois
    did you include only the aic7xxx or more scsi drivers? - I think the iso should go to the flavors, because a slitaz-scsi.iso was really missing.

    and what is also missing is an iso with pcmcia / cfcard / sd card support - I do not have time before Dezember, but I think this is really necessary
  • loislois October 2010
    the kernel includes built-in mmc/sd/memory-stick/ti-flash support and scsi-multi-lun.
    http://ad.cwcworx.net/slitaz/slitaz-3.0-multi-lun.iso
    I think I'll find some time to build a seperate scsi one, with all scsi drivers built-in this weekend.
  • loislois October 2010
    I added 2 isos:

    1) Built-in multicardreader support, mmc/sd/memory-stick/ti-flash support incl. scsi-multi-lun
    http://ad.cwcworx.net/slitaz/slitaz-3.0-cardreader.iso

    2) Built-in scsi support ( all available scsi-drivers included ) & pcimcia-scsi available as module
    http://ad.cwcworx.net/slitaz/slitaz-3.0-scsi.iso
  • kultexkultex October 2010
    thx lois - and is this recognized by the defs / or must we send it to the mailing list?

    @lois schön einen weiteren Ösi an Board zu haben ...
  • jozeejozee October 2010
    @lois : good work!

    Would you like to maintain this Slitaz-scsi flavor? Send an email on the mailing list. We can put this on the main mirror. The advantage of having a flavor maintained officially at http://hg.slitaz.org/flavors/ is that the flavor would be automatically generated whenever there is a new cooking release. It's useful from a long term perspective.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social