LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 06-26-2013, 09:48 PM   #76
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406

Quote:
Originally Posted by Angela Wu View Post
Did you means the grub.cfg should be modified?
no i meant to edit it at the grub command line, when booting. the grub.cfg should only be changed if you get it to work.
 
Old 06-26-2013, 09:55 PM   #77
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Question

Quote:
Originally Posted by frieza View Post
no i meant to edit it at the grub command line, when booting. the grub.cfg should only be changed if you get it to work.
Hi, then what command should I put into the grub command line.
Could you suggest some Ex.?
Thanks~~
 
Old 06-26-2013, 10:17 PM   #78
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
the line would look sort of like this
Code:
linux	/boot/vmlinuz-3.8.7-201.fc18.x86_64 root=UUID=4ebe0939-5dba-4f1b-9fb0-dc8223eb7d28 ro quiet
and you would (temporarily) change it to something like
Code:
linux	/boot/vmlinuz-3.8.7-201.fc18.x86_64 root=/dev/sda1 ro quiet
where sda1 is replaced with the root partition (sda1 is the first partition on the first drive in the chain)

and see if that works

(note yours will differ as mine is a fedora system, i believe you indicated yours was ubuntu)
 
Old 06-27-2013, 01:17 AM   #79
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Question I still fail

Hi~
I used the .config of kernel 3.5.0-27-generic.
and then do the following coding
Code:
export DEB_HOST_ARCH=i386 
make oldconfig
make menuconfig
fakeroot make-kpkg clean
fakeroot make-kpkg --arch i386 --append-to-version="-vtc1000" --revision="1.0" --initrd kernel-image kernel-headers modules-image
It took about 2.5 hours to compile, got 2 *.deb file.
Code:
sudo dpkg -i linux*
sudo reboot
And I got black data on the screen.
It seems that
Code:
make oldconfig
didn't success.
 
Old 06-27-2013, 01:24 AM   #80
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

I'm not sure what to suggest. It might be worth trying to install and run the 3.5.0-27-generic kernel just to see if that works. Also, it is very curious that you want to use the 3.6.11 kernel which is not maintained. Is it really not possible to do what you want to do on a stable supported kernel?

Evo2.
 
Old 06-27-2013, 01:33 AM   #81
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Exclamation

Quote:
Originally Posted by evo2 View Post
Hi,

I'm not sure what to suggest. It might be worth trying to install and run the 3.5.0-27-generic kernel just to see if that works. Also, it is very curious that you want to use the 3.6.11 kernel which is not maintained. Is it really not possible to do what you want to do on a stable supported kernel?

Evo2.
OK. I will try to install and run the 3.5.0-27-generic kernel . At the meantime, I was compiling the kernel soucre of 3.0.29 which
is default on my Ubuntu 12.04. I got to compile it myself.
 
Old 06-27-2013, 01:35 AM   #82
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Exclamation Sorry it is 3.2.0.29 default

as above
 
Old 06-27-2013, 02:38 AM   #83
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Question I got no 3.5.0-27 source code to compile

Hi:
I can't get the souce code for 3.2.0.29-generic & 3.5.0-27-generic??
The other,Since that you recommand 3.5.0-27 kernel version.
Could I ask suggestion for the hightest stable kernel version is ???
 
Old 06-27-2013, 02:57 AM   #84
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,
Quote:
Originally Posted by Angela Wu View Post
Hi:
I can't get the souce code for 3.2.0.29-generic & 3.5.0-27-generic??
Hmm, you should be able to get them from the Ubuntu repositories. Do you know about setting up your /etc/apt/sources.list file? If not you need to. You'll need to add the quantal-updates for the 3.5 kernel.
Quote:
The other,Since that you recommand 3.5.0-27 kernel version.
I recommended that since it was the newest kernel for your distribution.
Quote:
Could I ask suggestion for the hightest stable kernel version is ???
It depends if you are talking about upstream, ie www.kernel.org or if you are talking about your distribution ie packages.ubuntu.org. If you plan to continue using Ubuntu 12.04 I still recommend using the packaged linux-image-3.5.0-27-generic.

Evo2.
 
Old 06-27-2013, 03:13 AM   #85
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Question

Quote:
Originally Posted by evo2 View Post
Hi,

Hmm, you should be able to get them from the Ubuntu repositories. Do you know about setting up your /etc/apt/sources.list file? If not you need to. You'll need to add the quantal-updates for the 3.5 kernel.
Quote:
I have no ideas about add the quantal-updates for the 3.5 kernel,What is that?
Quote:

It depends if you are talking about upstream, ie www.kernel.org or if you are talking about your distribution ie packages.ubuntu.org. If you plan to continue using Ubuntu 12.04 I still recommend using the packaged linux-image-3.5.0-27-generic.

Evo2.
Then what do you recommand for the Ubuntu version for the newest stable version??
 
Old 06-27-2013, 03:18 AM   #86
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,
Quote:
Originally Posted by Angela Wu View Post
Then what do you recommand for the Ubuntu version for the newest stable version??
It depends on the required lifetime. 12.04 is the most recent so called LTS (long term service) version of Ubuntu and will be supported for five years: until April 2017. Versions 12.10 and 13.04 also exist, but are only supported for less than a year (I think).

From what I can tell you are making some sort of self contained appliance, as such, if you want to use Ubuntu, I recommend you continue to use 12.04.

Evo2.
 
Old 06-27-2013, 03:25 AM   #87
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Smile Hi ~I got it

Quote:
Originally Posted by evo2 View Post
Hi,


It depends on the required lifetime. 12.04 is the most recent so called LTS (long term service) version of Ubuntu and will be supported for five years: until April 2017. Versions 12.10 and 13.04 also exist, but are only supported for less than a year (I think).

From what I can tell you are making some sort of self contained appliance, as such, if you want to use Ubuntu, I recommend you continue to use 12.04.

Evo2.
OK. Since that I think I may stick on Ubuntu 12.04~~~
As your suggestion!!
 
Old 06-27-2013, 09:06 PM   #88
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Question I used 3.5.0-27.deb

Code:
wget http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-image-3.5.0-27-generic_3.5.0-27.46_i386.deb
ar x linux-image-3.5.0-27-generic_3.5.0-27.46_i386.deb
But the following with error
Code:
tar xjf data.tar.bz2  boot/config-3.5.0-27-generic
So I ommited the above code.
And do
Code:
sudo dkpg -i linux*.deb
And
Code:
sudo reboot
After reboot, I got the log in screen, but with mouse & keyboard not work??
How can I fix this problem?
 
Old 06-27-2013, 09:30 PM   #89
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

Quote:
Originally Posted by Angela Wu View Post
Code:
wget http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-image-3.5.0-27-generic_3.5.0-27.46_i386.deb
ar x linux-image-3.5.0-27-generic_3.5.0-27.46_i386.deb
But the following with error
Code:
tar xjf data.tar.bz2  boot/config-3.5.0-27-generic
So I ommited the above code.
Yes, you already have the linux-image... no need to try to compile it.

Quote:
And do
Code:
sudo dkpg -i linux*.deb
And
Code:
sudo reboot
After reboot, I got the log in screen, but with mouse & keyboard not work??
How can I fix this problem?
You'll need to look at the log files and error messages to understand the problem. ssh to the machine and have a look in /var/log/. Check syslog, messages, kern.log etc.

Evo2
 
Old 06-27-2013, 10:28 PM   #90
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Exclamation Log message

syslog
Quote:
Jun 28 09:47:47 angela-desktop rsyslogd: rsyslogd's userid changed to 101
Jun 28 09:47:47 angela-desktop rsyslogd-2039: Could not open output pipe '/dev/xconsole' [try http://www.rsyslog.com/e/2039 ]
Quote:
Jun 28 09:47:47 angela-desktop kernel: [ 0.172752] PCI: not using MMCONFIG
Quote:
Jun 28 09:47:47 angela-desktop bluetoothd[512]: Failed to init gatt_example plugin
...etc

syslog1.log

syslog2.log
 
  


Reply

Tags
kernel



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup of complete linux system eprabhat08 Linux - Newbie 5 02-05-2013 11:32 PM
Backup system ala rdiff-backup, but without mirror and with dst encryption dr_dex Linux - Software 0 08-04-2008 03:39 AM
How can I backup a linux system ? chu2654 Linux - General 6 11-16-2006 01:16 PM
backup for linux system in CF lbdgwgt Linux - Newbie 2 10-23-2006 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration