LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   can't access tty; job control turned off (https://www.linuxquestions.org/questions/linux-general-1/cant-access-tty%3B-job-control-turned-off-146165/)

johnnybezak 02-14-2004 07:30 PM

can't access tty; job control turned off
 
Ok I've just finished a gentoo install and it appears that the bootloader and kernel are working ie. im booting and there arent any kernel error messages, the problem is this - after the boot up ticks along nicely i run into this error message

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

1st - what does this mean? - ive looked around and i think it means that the terminal isnt working.
2nd - what would cause it?
3rd - how do i fix it?

after the error message i get a built in shell called ash and it has a few commands - like kill, cp, cd, ls etc. but nothing usefull and i can't access any of the programs that i know are on there - what can i do?

Thanks in advance,

tom

hw-tph 02-14-2004 07:40 PM

1. Yes, that's pretty much it. ;)
2. On several newer systems, using the "Enhanced PCI access mode" setting in your computer's BIOS (or something to the same effect) will cause this. I have no idea why, but disabling it is a good start. Also, a misconfigured 2.6 series kernel will also generate similar errors. You will want the options
CONFIG_UNIX98_PTYS=y, CONFIG_UNIX98_PTY_COUNT=256 and CONFIG_DEVPTS_FS=y when configuring your kernel to have proper virtual (and actual) console access.
3. goto 2 :)


Håkan

johnnybezak 02-14-2004 08:01 PM

thanks man - the thing is im not using 2.6 but 2.4.22 however i will try that enhanced pci access mode :)

johnnybezak 02-14-2004 08:08 PM

ok i couldnt find the "enhanced pci access mode" so thats a no-go any other ideas?

johnnybezak 02-21-2004 10:49 PM

well i gave up in the end and just did a reinstall which worked, there mustve been something that id mucked up :)


All times are GMT -5. The time now is 04:19 PM.