Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LiveCD problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
apiaio
Apprentice
Apprentice


Joined: 04 Dec 2008
Posts: 208

PostPosted: Sat Jan 14, 2017 11:19 am    Post subject: LiveCD problem Reply with quote

I want to install gentoo on the new PC. Booting LiveCD finishes with
Quote:
OpenRC 0.11.18 is starting up Gentoo Linux (x86-64)
Kernel panic - non syncing: Attempted to kill init! exitcode=0x0000000b
The LiveCD is three years old. Is it too much?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43198
Location: 56N 3W

PostPosted: Sat Jan 14, 2017 11:31 am    Post subject: Reply with quote

apiaio,

That liveCD is unlikely to have drivers for new hardware, so yes, its probably too old.
Try System Rescue CD instead. Its Gentoo based, allows you to follow the handbook and post to the forums while you install.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
apiaio
Apprentice
Apprentice


Joined: 04 Dec 2008
Posts: 208

PostPosted: Sat Jan 14, 2017 12:57 pm    Post subject: Reply with quote

Just downloading System Rescue CD. Does exist any "How to install Gentoo with System Rescue CD"?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43198
Location: 56N 3W

PostPosted: Sat Jan 14, 2017 12:59 pm    Post subject: Reply with quote

apiaio,

Follow the Gentoo Handbook
There are no changes or extra steps.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
kklatt
n00b
n00b


Joined: 25 Oct 2004
Posts: 16

PostPosted: Sat Jan 21, 2017 12:34 am    Post subject: LiveCD as a debug tool Reply with quote

Am debugging an existing problem, when I thought it would be a good idea to boot a LiveCD, see if the hardware worked. It did, but to my surprise the LiveCD uses a development kernel (4.5.2-aufs-r1), production kernels (depending on your profile, mine is a desktop plasma 4.4.39). I see devices and controllers not in the 4.4.x kernels (like Asmedia ASM1062 Serial ATA). On my list is to try a genkernel version of the production kernel, I usually create a specific configuration. In this instance, I am missing a detail somewhere.

I think I might have found my issue buried in the USB options (three different controllers). My question is what would the best way to map the configuration(s) from the dev kernel to the prod? There may not be a mapping, I understand. I tried the output of lspci, dmesg, kernel config file, and the make.conf profile.

Thoughts?

Regards..
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43198
Location: 56N 3W

PostPosted: Sat Jan 21, 2017 12:18 pm    Post subject: Reply with quote

kklatt,

The liveCD kernel is made with
Code:
genkernel all

genkernel provides its own kernel .config files, so running genkerne all with the /usr/src//linux symlink pointed to the kernel of you choice will have the same effect.

The liveCD kernel .comfig is at /proc/config.gz you can unzip it, drop that into the kernel of your choice and then run
Code:
make oldconfig
in the kernel tree.

Be warned that all the genkernel configurations are fully modular, so you either must have an initrd or you configure things needed to boot as build it.
If you want to build your own kernel, a genkernel .config file is not a good place to start.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
kklatt
n00b
n00b


Joined: 25 Oct 2004
Posts: 16

PostPosted: Sat Jan 21, 2017 12:33 pm    Post subject: LiveCD genkernel Reply with quote

Thanks for the feedback, good information to know.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Sat Jan 21, 2017 2:22 pm    Post subject: Re: LiveCD as a debug tool Reply with quote

kklatt wrote:
..


When you hav eissues use the latest kernel.org kernel. e.g. 4.9.5 afaik. check if it happens there. if so report bugs.kernel.org
Most likely yuor issue is gone with a recent kernel.
Back to top
View user's profile Send private message
kklatt
n00b
n00b


Joined: 25 Oct 2004
Posts: 16

PostPosted: Sat Jan 21, 2017 7:09 pm    Post subject: Reply with quote

Again, thanks. I have found the issue(s), been there for almost 10 years. I knew of two usb controllers, not the third and the one I did try had been added to the same controller (for usb3) and a sub menu for usb2. Missed it completely. Found two more sata controllers. I only use one of them, why I got by for so long. The rest of the controllers found in the early dev release have been merged into PCI-Express. I think.

Regards.
Back to top
View user's profile Send private message
kklatt
n00b
n00b


Joined: 25 Oct 2004
Posts: 16

PostPosted: Tue Jan 24, 2017 9:10 pm    Post subject: LiveCD as a debug tool Reply with quote

Update, of sorts. I have generated a few gentoo installs over the years, this one is quirky.

Perhaps my poor practice, when I had issues after a number of years of updates, a fresh install has solved the issues. Installs used the same production kernel that I was using on the problem system, before I did the re-install. I would copy over the config from the working kernel. This time, something went really wrong, has failed repeated times. Am still debugging, a side issue to this note.

I also installed a genkernel generated image as a debug tool, that kernel install is working. I duplicated the kernel source tree, set the symbolic link and used genkernel all. Again, thanks for your posts. Goal is to generate a non-module kernel, will get there.

A genkernel image is far better than running off a USB or CD image.

Regards to the LiveCD and genkernel teams.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum