Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't set up new kernel...
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
john-doe
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2012
Posts: 123

PostPosted: Wed Jun 20, 2012 4:10 pm    Post subject: Reply with quote

Quote:
Are you by chance running Portage 2.2? There's a useful feature that helps rebuild the correct packages in Portage 2.2.

Installed version:2.1.10.65 (Testing)
Quote:
Also, are you starting X automatically on boot (and thus you have no keyboard at all) or are you still starting it manually with startx?

I'm old fashioned so use startx8)
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10728
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Jun 20, 2012 5:29 pm    Post subject: Reply with quote

Okay, the .config file will be under "/usr/src/<kernel-name>" where <kernel-name> is the name of the kernel you're currently working on. If you need to send this .config file to someone, the easiest way is probably through wgetpaste. If you don't already have that installed, just emerge it:
Code:
emerge -v wgetpaste
After that, just run
Code:
wgetpaste /usr/src/<kernel-name>/.config
(be sure to substitute the actual kernel directory name). You will get a line back with a URL where Pappy (or anyone else) can retrieve it. For example:
Code:
$ wgetpaste /usr/src/linux-2.6.38-reiser4-r6/.config
Your paste can be seen here: https://gist.github.com/2961035
Just give Pappy that URL.

Now for the reason you don't have keyboard and mouse. After a kernel update, you must rebuild the x11 hardware drivers. To be able to tell you what you need to rebuild, could you post the output of
Code:
emerge -1vp xorg-drivers
please?

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
john-doe
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2012
Posts: 123

PostPosted: Wed Jun 20, 2012 6:11 pm    Post subject: Reply with quote

John R. Graham wrote:
Code:
emerge -1vp xorg-drivers

Code:
 $ emerge -1vp xorg-drivers

These are the packages that would be merged, in order:                                           
                                                                                                 
Calculating dependencies... done!                                                                 
[ebuild   R    ] x11-base/xorg-drivers-1.12  INPUT_DEVICES="evdev keyboard mouse -acecad -aiptek -elographics -fpit -hyperpen -joystick -mutouch -penmount -synaptics -tslib -vmmouse -void -wacom" VIDEO_CARDS="intel vesa -apm -ark -ast -cirrus -dummy -epson -fbdev -fglrx -geode -glint -i128 -i740 -mach64 -mga -modesetting -neomagic (-newport) -nouveau -nv -nvidia (-omapfb) -qxl -r128 -radeon -s3 -s3virge -savage -siliconmotion -sis (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -v4l -via -virtualbox -vmware (-voodoo)" 0 kB                 
                                                                                                 
Total: 1 package (1 reinstall), Size of downloads: 0 kB   
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10728
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Jun 20, 2012 6:41 pm    Post subject: Reply with quote

Run this command:
Code:
emerge -1v xf86-input-{keyboard,mouse,evdev} xf86-video-{intel,vesa}
and I'll bet you have your keyboard and mouse back. :wink:

(Later on, we'll get you upgraded to the Portage 2.2 branch where this is much easier. Better to change one thing at a time, though.)

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
john-doe
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2012
Posts: 123

PostPosted: Wed Jun 20, 2012 7:59 pm    Post subject: Reply with quote

U r wrong 'pal'(thus between quotes):

http://i.imgur.com/so0Lp.jpg

http://i.imgur.com/YdrNX.jpg

Quote:
No, not related to udev
Back to top
View user's profile Send private message
kurly
Apprentice
Apprentice


Joined: 02 Apr 2012
Posts: 260

PostPosted: Wed Jun 20, 2012 8:16 pm    Post subject: Reply with quote

john-doe wrote:
U r wrong 'pal'(thus between quotes):

http://i.imgur.com/so0Lp.jpg

http://i.imgur.com/YdrNX.jpg

Quote:
No, not related to udev
Is there any particular reason you're being rude to someone who is trying very nicely to help you? :?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Wed Jun 20, 2012 8:16 pm    Post subject: Reply with quote

john-doe,

Please fix your kernel following the instructions at the top of this link
Its a little hard to read due to the flash but I'm sure you can make it out. Its easier to read in here
_________________
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
john-doe
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2012
Posts: 123

PostPosted: Wed Jun 20, 2012 8:21 pm    Post subject: Reply with quote

kurly wrote:
Is there any particular reason you're being rude to someone who is trying very nicely to help you? :?


Quote:
@john-doe, if you don't understand something, please just ask for clarification. We don't mind. :wink: If you don't want to do something that we suggest, then tell us why and we will clarify
Back to top
View user's profile Send private message
john-doe
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2012
Posts: 123

PostPosted: Wed Jun 20, 2012 10:40 pm    Post subject: Reply with quote

NeddySeagoon wrote:


Please fix your kernel following the instructions at the top of this link
Its a little hard to read due to the flash but I'm sure you can make it out. Its easier to read in here


I have configured that! the error continues...
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10728
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Jun 20, 2012 10:44 pm    Post subject: Reply with quote

Which error? The boot up error message about missing devtmpfs support? Or, the lack of keyboard / mouse in your desktop environment?

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
john-doe
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2012
Posts: 123

PostPosted: Wed Jun 20, 2012 10:53 pm    Post subject: Reply with quote

easy fellows...I'm on gentoo with kernel 3.4.2!

if I switch to k3.4.3 got that message on kernel so when I get inside the desktop environment no mouse no keyboard...

getting sick I mean it...every upgrade of kernel...is there a way to do it automatically?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10728
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Jun 20, 2012 10:59 pm    Post subject: Reply with quote

In short, no. Show me the contents of your /usr/src directory, please, like this
Code:
ls -l /usr/src
as I want to manually walk you through checking your kernel config for certain items.

Well, I take that back, at least partly. Are you satisfied with the way your system works under the 3.4.2 kernel? 3.4.3 is close enough in version that you can usually successfully copy over the old kernel configuration and modify it automatically. Would you like to try that? If so, I can walk you through it.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
john-doe
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2012
Posts: 123

PostPosted: Wed Jun 20, 2012 11:03 pm    Post subject: Reply with quote

Code:
ls -l /usr/src
total 16
lrwxrwxrwx  1 root root   18 Jun 18 16:03 linux -> linux-3.4.3-gentoo                             
drwxr-xr-x 20 root root 4096 Jun 13 19:49 linux-3.2.12-gentoo                                     
drwxr-xr-x 24 root root 4096 May 25 09:04 linux-3.4.0-gentoo                                     
drwxr-xr-x 24 root root 4096 Jun 13 18:56 linux-3.4.2-gentoo                                     
drwxr-xr-x 24 root root 4096 Jun 20 16:16 linux-3.4.3-gentoo
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10728
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Jun 20, 2012 11:09 pm    Post subject: Reply with quote

Okay, the following command will check whether or not you actually changed the .config as NeddySeagoon (and your kernel) recommended. Post the output of
Code:
grep CONFIG_DEVTMPFS /usr/src/linux/.config
please.

- John

P.S.: Heading home from work now so I'll be AFK for a good while.
P.P.S.: I edited my previous post somewhat with another option. Look at the last paragraph and let me know what you think.
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
john-doe
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2012
Posts: 123

PostPosted: Thu Jun 21, 2012 12:14 am    Post subject: Reply with quote

Code:
grep CONFIG_DEVTMPFS /usr/src/linux/.config
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10728
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Jun 21, 2012 12:32 am    Post subject: Reply with quote

Okay, so next questions:
  • Did you build the kernel? That would be
    Code:
    cd /usr/src/linux
    make
    make modules_install
  • Did you copy your new kernel to the /boot directory? Would you check the timestamp of the file to make sure?
  • Did you ensure that your grub.conf properly refers to the new kernel so that you're sure that you're launching it?
- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Thu Jun 21, 2012 12:50 am    Post subject: Reply with quote

Also make sure /boot is mounted before copying bzImage :!:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10728
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Jun 21, 2012 12:52 am    Post subject: Reply with quote

Yup. Good point. :)

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
john-doe
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2012
Posts: 123

PostPosted: Thu Jun 21, 2012 2:15 am    Post subject: Reply with quote

I pass 4 now! [aint got time] I'll wait 4 some new one kernel in few days...then we'll see if the 'ordeal' continues... :P
Back to top
View user's profile Send private message
john-doe
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2012
Posts: 123

PostPosted: Thu Jun 21, 2012 2:22 am    Post subject: Reply with quote

BillWho wrote:
Also make sure /boot is mounted before copying bzImage :!:


Aint got /boot (partition):idea:
Back to top
View user's profile Send private message
john-doe
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2012
Posts: 123

PostPosted: Thu Jun 21, 2012 2:29 am    Post subject: Reply with quote

John R. Graham wrote:
(Later on, we'll get you upgraded to the Portage 2.2 branch where this is much easier. Better to change one thing at a time, though.)


I want it ASAP...
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10728
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Jun 21, 2012 11:21 am    Post subject: Reply with quote

Tell you what. File that documentation bug and I'll tell you how.

Then again, you could discover how by reading the Handbook and the portage man page, which would also be a good thing. :wink:

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Thu Jun 21, 2012 4:30 pm    Post subject: Reply with quote

john-doe,

Your
Code:
grep CONFIG_DEVTMPFS /usr/src/linux/.config
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y

and your own images which I referenced, taken together show that the kernel you were booting did not come from the .config file you grepped.
_________________
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
john-doe
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2012
Posts: 123

PostPosted: Thu Jun 21, 2012 11:47 pm    Post subject: Reply with quote

NeddySeagoon wrote:
john-doe


Needy:

how to upgrade to portage 2.2 branch?
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Fri Jun 22, 2012 12:00 am    Post subject: Reply with quote

john-doe wrote:

Needy:

how to upgrade to portage 2.2 branch?


Honestly this question is a proof that you shouldn't get the answer for your safety :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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