Results 1 to 9 of 9

Thread: modprobe piix - tty job control error fix broken

  1. #1
    Join Date
    Jul 2007
    Beans
    23

    modprobe piix - tty job control error fix broken

    Installing Gutsy Tribe II on Asus G1S

    Error when installing :
    /bin/sh: can't access tty; job control turned off

    I had this error on Fiesty (7.04) but was able to work around it by using "break=top" in the boot options and then adding "modprobe piix" when the command prompt came up and was able to boot and install.

    In Tribe II this no longer works, resulting in a module not found error and thus it doesnt seem possible to install this release.

    EDIT : I also had a quick look at the latest daily build and the same problem is evident here.
    Last edited by mrbandersnatch; July 15th, 2007 at 02:13 PM.

  2. #2
    Join Date
    Jun 2007
    Location
    Athens
    Beans
    11
    Distro
    Gutsy Gibbon Testing

    Re: modprobe piix - tty job control error fix broken

    I am getting a laptop just like this, and now you have me seriously concerned.

    I did some digging, and it looks as if this kernel thread talks about the same issues. It seems that a simple patch to the ata_piix driver is required to make it recognize the Santa Rosa PATA controller, and at this point all the problems might just go away.

    Does anyone know what would be the easiest way to put and test this patch on the installation CD?

  3. #3
    Join Date
    Jun 2007
    Location
    Athens
    Beans
    11
    Distro
    Gutsy Gibbon Testing

    Re: modprobe piix - tty job control error fix broken

    Update: Gutsy can be installed via the alternate CD. Post-install, applying the patch

    Code:
    --- drivers/ata/ata_piix.c.orig 2007-07-18 21:58:53.000000000 -0400
    +++ drivers/ata/ata_piix.c      2007-07-12 11:27:49.000000000 -0400
    @@ -201,6 +201,8 @@
            { 0x8086, 0x27DF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich_pata_133 },
            { 0x8086, 0x269E, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich_pata_100 },
            { 0x8086, 0x811A, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich_pata_100 },
    +       /* ICH8 Mobile PATA Controller */
    +       { 0x8086, 0x2850, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich_pata_100 },
    
            /* NOTE: The following PCI ids must be kept in sync with the
             * list in drivers/pci/quirks.c.
    to the Linux sources, recompiling the modules, and replacing ata_piix.ko with the patched version does the trick. After a modprobe ata_piix, the laptop can see the DVD drive.

    This patch is already in the git snapshots, so it is only a matter of time until it propagates. Nevertheless, I will file a bug against the gutsy kernel.

    Edit: You still need to put ata_piix in /etc/modules, but after that, the drive should hopefully be fully functional.
    Last edited by Krischi; July 19th, 2007 at 03:35 AM. Reason: Add /etc/modules line

  4. #4
    Join Date
    Jul 2007
    Location
    St Petersburg, FL
    Beans
    40
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: modprobe piix - tty job control error fix broken

    Wow, i'm kind of new and I cant follow the above post ^-^

    Can someone else explain what I am supposed to do to fix this? When I boot I get the same error
    Error when installing :
    /bin/sh: can't access tty; job control turned off
    To fix when I was running the live CD I needed to press F6 during boot and enter Break=Top then enter modprobe piix then enter. Now that I have installed the break=top is not needed but I get the error while booting....

    Hope I can get this thing solved.
    Cheers

  5. #5
    Join Date
    Jul 2007
    Beans
    23

    Re: modprobe piix - tty job control error fix broken

    Modprobe ata_piix works and let me install tribe III. I also needed to use modprobe ide_generic to get the CD visible.

    Still have that damn tty job error on boot though and have to exit out of it *sigh*

  6. #6
    Join Date
    May 2008
    Beans
    3

    Wink Re: modprobe piix - tty job control error fix broken

    Folks,
    I think I have a great news to fix this initramfs issue. Here is what I did.

    At the LiveCD initial boot screen:
    Select F6 for more options
    Add the following option to the beginning of the options list:
    break=top
    Press enter to start booting
    Ubuntu will start booting, but kick you out to a command prompt; at the prompt type these two commands:
    modprobe ata_piix
    modprobe ide_generic
    exit

    You will now boot into the LiveCD normally.
    Above worked successfully and I hope your case is working fine.

  7. #7
    Join Date
    May 2008
    Beans
    3

    Re: modprobe piix - tty job control error fix broken

    After you finish loading OS if you are able to open a terminal please do the following step 2). If not (since it is asking restart) do step 1).

    Step 1)
    Reboot the system with LiveCD.
    At the screen (Do not install, just boot the system w/o installation)
    Select F6 for more options
    Add the following option to the beginning of the options list:
    break=top
    Press enter to start booting
    Ubuntu will start booting, but kick you out to a command prompt; at the prompt type these two commands:
    modprobe ata_piix
    modprobe ide_generic
    exit

    2) Once you are in the system
    Open Terminal
    #mkdir target
    #sudo mount /dev/hda1 target (or whatever slie you installed)
    #sudo chroot target

    You will now be in a 'chroot' command prompt for your new ubuntu system (be careful here, you are editing with root access!)
    You must edit the /etc/initramfs-tools/modules file; adding a line with the word: piix
    You should do this with your favorite unix editor; or simply type the command:

    #echo ata_piix >> /etc/initramfs-tools/modules
    #echo ide_generic >> /etc/initramfs-tools/modules

    After modifying the file you must update the system with the command

    #update-initramfs -u
    When complete, type 'exit' to exit the chroot env; you can now close the Terminal and reset your system.

    Now when you boot you will be in your new shinny Ubuntu system!

  8. #8
    Join Date
    May 2008
    Beans
    6

    Re: modprobe piix - tty job control error fix broken

    Nice thread! I really like your provided information. It's really helpful for me.
    Thanks a lot!

  9. #9
    Join Date
    Dec 2012
    Beans
    1

    Re: modprobe piix - tty job control error fix broken

    Quote Originally Posted by iqiszero View Post
    Folks,
    I think I have a great news to fix this initramfs issue. Here is what I did.

    At the LiveCD initial boot screen:
    Select F6 for more options
    Add the following option to the beginning of the options list:
    break=top
    Press enter to start booting
    Ubuntu will start booting, but kick you out to a command prompt; at the prompt type these two commands:
    modprobe ata_piix
    modprobe ide_generic
    exit

    You will now boot into the LiveCD normally.
    Above worked successfully and I hope your case is working fine.
    i did followed the 1st step but cant fix the sollution.. it loads for some time n showed the same ****... em so vexed, plz help me to solve this...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •