Yesterday I dared to build Linux 3.11.1 for my needs.
I got a message display which might look like a kernel panic on the first boot.
I can not reproduce the first unexpected reaction because I get the following messages on subsequent boot tries.
Failed to execute /init
sh: cannot set terminal process group (-1): Inappropriate ioctl for device
sh: no job control in this shell
sh-4.2#
It seems that no corresponding data were written to a file like “/var/log/messages”.
I can continue to use my self-built “Linux 3.8.6”. But I am also interested to get benefits from newer software developments for this operating system.
On 09/17/2013 02:06 PM, elfring wrote:
>
> Yesterday I dared to build ‘Linux 3.11.1’
> (https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.11.1) for my
> needs.
>
> - I got a message display which might look like a kernel panic on the
> first boot.
> - I can not reproduce the first unexpected reaction because I get the
> following messages on subsequent boot tries.
>
> Code:
> --------------------
> Failed to execute /init
> sh: cannot set terminal process group (-1): Inappropriate ioctl for device
> sh: no job control in this shell
> sh-4.2#
>
> --------------------
>
>
> It seems that no corresponding data were written to a file like
> “/var/log/messages”.
>
>
> I can continue to use my self-built “Linux 3.8.6”. But I am also
> interested to get benefits from newer software developments for this
> operating system.
Step #1: Check all modules that are loaded in 3.8.6 and ensure that all are in
the build of 3.11.1. There are a number of configuration differences between the
2, and you or the defaults might have gotten one of them wrong.
Step #2: Ensure that every module needed for your disk and file systems are in
the MODULES_LOADED_ON_BOOT list.
Step #3: Once the first steps are complete, then do a “make && sudo
modules_install install” to ensure that the modules and kernel are available in
the proper places, and that the initrd is rebuilt.
You did not get far enough to get logging started, thus nothing new in
/var/log/messages.
This configuration variable is empty in my file “/etc/sysconfig/kernel”.
Once the first steps are complete, then do a “make && sudo
modules_install install” to ensure that the modules and kernel are available in
the proper places, and that the initrd is rebuilt.
Corresponding result:
Kernel image: /boot/vmlinuz-3.11.1
Initrd image: /boot/initrd-3.11.1
Root device: /dev/doda/root (mounted on / as ext4)
/usr device: /dev/doda/usr (mounted on /usr as ext4)
Resume device: /dev/doda/swap
Kernel Modules: thermal_sys thermal processor fan dm-mod dm-snapshot scsi_dh scsi_dh_alua scsi_dh_rdac scsi_dh_emc scsi_dh_hp_sw xhci-hcd hid-logitech-dj linear libcrc32c xor zlib_deflate raid6_pq btrfs crc32c-intel
[cp: cannot stat ‘/sbin/btrfs-dump-super’: No such file or directory](http://forums.opensuse.org/english/get-technical-help-here/install-boot-login/478909-advisory-june-2013-new-users-beware-using-btrfs-filesystem-2.html#post2572240)
Features: acpi dm plymouth block usb lvm2 btrfs resume.userspace resume.kernel
How can the error message “cannot set terminal process group (-1): Inappropriate ioctl for device” be resolved for the desired system initialisation with the program “bash 4.2-61.1.3”?
Are any other bug reports (like for Debian and Ubuntu systems) also relevant here?
elfring wrote:
>
> Yesterday I dared to build ‘Linux 3.11.1’
> (https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.11.1) for my
> needs.
>
> - I got a message display which might look like a kernel panic on the
> first boot.
> - I can not reproduce the first unexpected reaction because I get the
> following messages on subsequent boot tries.
>
> Code:
> --------------------
> Failed to execute /init
> sh: cannot set terminal process group (-1): Inappropriate ioctl for device
> sh: no job control in this shell
> sh-4.2#
>
> --------------------
>
>
> It seems that no corresponding data were written to a file like
> “/var/log/messages”.
>
>
> I can continue to use my self-built “Linux 3.8.6”. But I am also
> interested to get benefits from newer software developments for this
> operating system.
>
>
i use Kernel Linux 3.11.6-1.gf7498bf-desktop from stable repo on
openSUSE 12.3 for more than 3 days now. It is working fime