LinuxQuestions.org
Visit Jeremy's Blog.
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, 01:59 AM   #61
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Exclamation The kernel 3.6.11-vtc1000


It stays in BusyBox v1.18.5 build-in shell (ash)
and got only part of command as the previous one.
 
Old 06-26-2013, 02:20 AM   #62
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:
It stays in BusyBox v1.18.5 build-in shell (ash)
and got only part of command as the previous one.
Ok, so the problem looks the similar with the config based on the ubuntu 3.5 kernel.

In one of your previous screen shots
https://www.linuxquestions.org/quest...5&d=1372210388
there is a message saying devtmpfs is not available. Is that the same as this time? And what is the output of the following for each config file?
Code:
grep DEVTMPFS .config
Also are you able to manually mount the root partition?

And is your company looking for a consultant? ;-)

Evo2.
 
Old 06-26-2013, 02:31 AM   #63
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by evo2 View Post
Hi,


Ok, so the problem looks the similar with the config based on the ubuntu 3.5 kernel.

In one of your previous screen shots
https://www.linuxquestions.org/quest...5&d=1372210388
there is a message saying devtmpfs is not available. Is that the same as this time? And what is the output of the following for each config file?
Code:
grep DEVTMPFS .config
Also are you able to manually mount the root partition?

And is your company looking for a consultant? ;-)

Evo2.
Code:
angela@ubuntu:~/linux-3.6.11$ grep DEVTMPFS .config
# CONFIG_DEVTMPFS is not set

And I don't know what you means manually mount
root patrition, sorry I can't

Our company is a small company. If you'd like to be our consultant.
Welcome~~~
 
Old 06-26-2013, 02:40 AM   #64
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:
angela@ubuntu:~/linux-3.6.11$ grep DEVTMPFS .config
# CONFIG_DEVTMPFS is not set
Ahh! That variable needs to be set to "y"!

For example if I run that grep on the config from the ubuntu kernel:
Code:
grep DEVTMPFS config-3.5.0-27-generic
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
This needs to be fixed. Please try to build a kernel using after copying config-3.5.0-27-generic to .config in the kernel source tree.

Quote:
And I don't know what you means manually mount
root patrition, sorry I can't
I think that is not important now that we've discovered the missing devtmpfs setting.

Quote:
Our company is a small company. If you'd like to be our consultant.
Welcome~~~
I was just joking.

Evo2.
 
Old 06-26-2013, 03:58 AM   #65
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Exclamation mounting /dev/disk/by-uuid/b697.... on /root failed:no such device

It's a pity to tell you that.
mount: on /root/dev ,/root/sys, /root/proc failed
no such file or directory

Code:
Target filesystem doesn't have requested /sbin/init.
No init found. Try passing init=bootarg.
Help~
 
Old 06-26-2013, 04:06 AM   #66
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,

so is seems there are still problems mounting the root files system.

What did you do? Did you build a kernel using config-3.5.0-27-generic? Has the "devtmpfs not available" message gone now?

Can you post some screenshots or photos of what the terminal is showing? Another useful thing might be to post the config you used.

I probably won't be online much for the rest of the day, but I will have a look again tomorrow.

Evo2.
 
Old 06-26-2013, 04:41 AM   #67
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Exclamation

Quote:
Originally Posted by evo2 View Post
Hi,

so is seems there are still problems mounting the root files system.

What did you do? Did you build a kernel using config-3.5.0-27-generic?
Quote:
yes
Has the "devtmpfs not available" message gone now?
Quote:
yes
Can you post some screenshots or photos of what the terminal is showing?
Click image for larger version

Name:	IMG_20130626_173609.jpg
Views:	26
Size:	231.2 KB
ID:	12799
Another useful thing might be to post the config you used.

I probably won't be online much for the rest of the day, but I will have a look again tomorrow.

Evo2.
later I will attached for the .config file
 
Old 06-26-2013, 04:47 AM   #68
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Exclamation here is the .config file

HI~
attached for the file .config
Config.txt
 
Old 06-26-2013, 09:24 AM   #69
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
hmm, could be your boot loader config, try taking out the UUID= directive and pointing it at the raw /dev/sdXY device node of your root partition and see if that works
 
Old 06-26-2013, 07:16 PM   #70
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Question

Quote:
Originally Posted by frieza View Post
hmm, could be your boot loader config, try taking out the UUID= directive and pointing it at the raw /dev/sdXY device node of your root partition and see if that works
What is so called boot loader config, where is it?
Did you means that my .config file should be modified?
Sorry, I don't understand ? Could you be more clear?
Thanks~
 
Old 06-26-2013, 07:30 PM   #71
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Question

Quote:
Originally Posted by frieza View Post
hmm, could be your boot loader config, try taking out the UUID= directive and pointing it at the raw /dev/sdXY device node of your root partition and see if that works
Did you means the grub.cfg should be modified?
 
Old 06-26-2013, 08:00 PM   #72
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,

ok the config looks fine and is identical to the Ubuntu config-3.5.0-27-generic.

I noticed in the new screenshot that error messages are almost exactly the same. There is still the message about "devtmpfs not available". The only difference I notice is that the uuid in the screen shots has changed. In the older photos it was 99df6fa1... and now it is b69719d2... so perhaps frieza is on to something.

Evo2.
 
Old 06-26-2013, 08:14 PM   #73
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Question

Quote:
Originally Posted by evo2 View Post
Hi,

Code:
cd /usr/src
tar xjf linux-source-3.xx.tar.bz2
cd linux-source-3.xx
cp /from/somewhere/.config-foo .config
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
Evo2.

In the above code , I didn't use the command
Code:
make oldconfig
Because then will be ask a lot of question.
Instead I use the command
Code:
make defconfig
Am I right?
 
Old 06-26-2013, 08:38 PM   #74
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,

"make oldconfig" is will only ask questions about config options that are not set in your .config. It can be useful when your .config is from an older kernel version. This is exactly your situation, so I would recommend doing "make oldconfig" (I think you can just select the default answer to each question).

I think "make defconfig" is *not* what you want to do since I think it will use the default configuration that came with the kernel source. Where exactly did you get the config file that attached to post #68? Are you really sure it is the config file used to build the kernel. Did it come from /boot/config-3.6.11-vtc1000 (or similar) after you installed the kernel?

Evo2.
 
Old 06-26-2013, 08:42 PM   #75
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by evo2 View Post
Hi,



I think "make defconfig" is *not* what you want to do since I think it will use the default configuration that came with the kernel source. Where exactly did you get the config file that attached to post #68? Are you really sure it is the config file used to build the kernel. Did it come from /boot/config-3.6.11-vtc1000 (or similar) after you installed the kernel?

Evo2.
Yes, I will reconfirm.
 
  


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:48 PM.

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