* The problem with the installation of the latest kernel
@ 2011-06-17 6:45 david
2011-06-17 6:51 ` Anuz Pratap Singh Tomar
2011-06-17 6:57 ` Prashant Shah
0 siblings, 2 replies; 5+ messages in thread
From: david @ 2011-06-17 6:45 UTC (permalink / raw)
To: kernelnewbies
Hi, guys:
???? I am totally a beginner to Linux kernel and feel sorry to bother you with such an easy question.? I encountered a problem which is failed to making the latest kernel 2.6.39.1 downloaded from kernel.org bootable under the environment of Ubuntu 10.10. Although I have tried to solve this problem for almost 3 days, I don't have any clue on the cause of not able to boot the newly-installed kernel. The procedure that I adopted to configure, build and install the kernel is shown bellow
???? 1. I downloaded the tarball "linux-2.6.39.1.tar.bz2" and stored it in the directory "/home/lenovo/linux", then uncompressed it, a new folder
???????? "linux-2.6.39.1" was created.
???? 2. I created a folder called "linux-2.6.39.1-install" in the same directory to store the compiled files from folder "linux-2.6.39.1".
???? 3. I opened the terminal and typed in:
cd ~/linux/linux-2.6.39.1
make O=../linux-2.6.39.1-install defconfig
make -j4 O=../linux-2.6.39.1-install
???? The result of these operations is:
???? ? ? ? ? ? ? ? ? ? ? GZIP??? arch/x86/boot/compressed/vmlinux.bin.gz
? ? ? ? ? ? ? ? ? ? ? ?? MKPIGGY arch/x86/boot/compressed/piggy.S
???????????????????????? AS????? arch/x86/boot/compressed/piggy.o
???????????????????????? LD????? arch/x86/boot/compressed/vmlinux
???????????????????????? ZOFFSET arch/x86/boot/zoffset.h
???????????????????????? OBJCOPY arch/x86/boot/vmlinux.bin
???????????????????????? AS????? arch/x86/boot/header.o
? ? ? ? ? ? ? ? ? ? ? ?? LD????? arch/x86/boot/setup.elf
? ? ? ? ? ? ? ? ? ? ? ?? OBJCOPY arch/x86/boot/setup.bin
???????????????????????? BUILD?? arch/x86/boot/bzImage
?????????????????????? Root device is (7, 0)
?????????????????????? Setup is 13148 bytes (padded to 13312 bytes)
?????????????????????? System is 4091 kB
?????????????????????? CRC 887907a3
?????????????????????? Kernel: arch/x86/boot/bzImage is ready? (#1)
???? 4. I typed in the command:
make O=../linux-2.6.39.1-install modules_install
??? The result is:
?????????????????????? INSTALL arch/x86/kernel/test_nx.ko
? ? ? ? ? ? ? ? ? ? ?? INSTALL drivers/scsi/scsi_wait_scan.ko
?????????????????????? INSTALL drivers/watchdog/hpwdt.ko
?????????????????????? INSTALL net/netfilter/xt_mark.ko
?????????????????????? DEPMOD? 2.6.39.1
???? 5.???????????????????????????????????????????????????????????????????????? ? ?? sudo make O=../linux-2.6.39.1-install install
???? The result is:
?????????????????????? sh /home/lenovo/linux/linux-2.6.39.1/arch/x86/boot/install.sh 2.6.39.1 arch/x86/boot/bzImage \
??? ?? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? System.map "/boot"
???? 6.???????????????????????????????????????????????????????????????????????????????? sudo update-initramfs -c -k 2.6.39.1
???? The result is:
?????????????????????? update-initramfs: Generating /boot/initrd.img-2.6.39.1
?????????????????????? Warning: No support for locale: en_US.utf8
???? 7.??????????????????????????????????????????????????????????????????????????????????????????????sudo update-grub
???? The result is:
?????????? ? ? ? ? ? ? Found linux image: /boot/vmlinuz-2.6.39.1
?????????????????????? Found initrd image: /boot/initrd.img-2.6.39.1
Finally, after I rebooted the system and selected "Linux-2.6.39.1" in the grup, a problem arose along with a message showed up saying:
?????
???? mount: mounting none on /dev failed: No such device.
???? w: devtmpfs not available, falling back to tmpfs for /dev
???? fuse: device not found, try 'modprobe' fuse first.
???? ......
???? Could not mount the partition /dev/sda8.
???? ......
???? (file system = ntfs, error code = 21)
best regards
david.G
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110617/c90dcf13/attachment.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* The problem with the installation of the latest kernel
2011-06-17 6:45 The problem with the installation of the latest kernel david
@ 2011-06-17 6:51 ` Anuz Pratap Singh Tomar
2011-06-17 6:57 ` Prashant Shah
1 sibling, 0 replies; 5+ messages in thread
From: Anuz Pratap Singh Tomar @ 2011-06-17 6:51 UTC (permalink / raw)
To: kernelnewbies
On Fri, Jun 17, 2011 at 7:45 AM, david <gwj35@yahoo.cn> wrote:
> Hi, guys:
> I am totally a beginner to Linux kernel and feel sorry to bother you
> with such an easy question. I encountered a problem which is failed to
> making the latest kernel 2.6.39.1 downloaded from kernel.org bootableunder the environment of
> Ubuntu 10.10. Although I have tried to solve this problem for almost 3
> days, I don't have any clue on the cause of not able to boot the
> newly-installed kernel. The procedure that I adopted to configure, build and
> install the kernel is shown bellow
> 1. I downloaded the tarball "linux-2.6.39.1.tar.bz2" and stored it in
> the directory "/home/lenovo/linux", then uncompressed it, a new folder
> "linux-2.6.39.1" was created.
> 2. I created a folder called "linux-2.6.39.1-install" in the same
> directory to store the compiled files from folder "linux-2.6.39.1".
> 3. I opened the terminal and typed in:
> cd ~/linux/linux-2.6.39.1
> make O=../linux-2.6.39.1-install defconfig
> make -j4 O=../linux-2.6.39.1-install
> The result of these operations is:
> GZIP arch/x86/boot/compressed/vmlinux.bin.gz
> MKPIGGY arch/x86/boot/compressed/piggy.S
> AS arch/x86/boot/compressed/piggy.o
> LD arch/x86/boot/compressed/vmlinux
> ZOFFSET arch/x86/boot/zoffset.h
> OBJCOPY arch/x86/boot/vmlinux.bin
> AS arch/x86/boot/header.o
> LD arch/x86/boot/setup.elf
> OBJCOPY arch/x86/boot/setup.bin
> BUILD arch/x86/boot/bzImage
> Root device is (7, 0)
> Setup is 13148 bytes (padded to 13312 bytes)
> System is 4091 kB
> CRC 887907a3
> Kernel: arch/x86/boot/bzImage is ready (#1)
> 4. I typed in the command:
> make O=../linux-2.6.39.1-install modules_install
> The result is:
> INSTALL arch/x86/kernel/test_nx.ko
> INSTALL drivers/scsi/scsi_wait_scan.ko
> INSTALL drivers/watchdog/hpwdt.ko
> INSTALL net/netfilter/xt_mark.ko
> DEPMOD 2.6.39.1
>
> 5.
> sudo make O=../linux-2.6.39.1-install install
> The result is:
> sh
> /home/lenovo/linux/linux-2.6.39.1/arch/x86/boot/install.sh 2.6.39.1
> arch/x86/boot/bzImage \
> System.map "/boot"
> 6.
> sudo update-initramfs -c -k 2.6.39.1
> The result is:
> update-initramfs: Generating
> /boot/initrd.img-2.6.39.1
> Warning: No support for locale: en_US.utf8
>
> 7. sudo update-grub
> The result is:
> Found linux image: /boot/vmlinuz-2.6.39.1
> Found initrd image: /boot/initrd.img-2.6.39.1
> Finally, after I rebooted the system and selected "Linux-2.6.39.1" in the
> grup, a problem arose along with a message showed up saying:
>
> mount: mounting none on /dev failed: No such device.
> w: devtmpfs not available, falling back to tmpfs for /dev
> fuse: device not found, try 'modprobe' fuse first.
> ......
> Could not mount the partition /dev/sda8.
> ......
> (file system = ntfs, error code = 21)
>
> Can you dump your grub.conf or menu.list(not sure if ubuntu uses grub.conf)
> best regards
> david.G
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110617/cdd89646/attachment-0001.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* The problem with the installation of the latest kernel
2011-06-17 6:45 The problem with the installation of the latest kernel david
2011-06-17 6:51 ` Anuz Pratap Singh Tomar
@ 2011-06-17 6:57 ` Prashant Shah
[not found] ` <69221.50718.qm@web92204.mail.cnh.yahoo.com>
2011-06-19 8:15 ` Jonathan Neuschäfer
1 sibling, 2 replies; 5+ messages in thread
From: Prashant Shah @ 2011-06-17 6:57 UTC (permalink / raw)
To: kernelnewbies
Hi,
>> make O=../linux-2.6.39.1-install defconfig
Try using $make oldconfig instead of defconfig. This will reuse your
current ubuntu kernel config file.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 回复: The problem with the installation of the latest kernel
[not found] ` <69221.50718.qm@web92204.mail.cnh.yahoo.com>
@ 2011-06-18 17:22 ` Prashant Shah
0 siblings, 0 replies; 5+ messages in thread
From: Prashant Shah @ 2011-06-18 17:22 UTC (permalink / raw)
To: kernelnewbies
Hi,
On Fri, Jun 17, 2011 at 8:10 PM, david <gwj35@yahoo.cn> wrote:
> HI:
> I have tried this command, but it asked me a lot of other new config
> symbols which I don't know whether to include, exclude or make them modules
> to the kernel.
Just hit enter - it will take the default value.
^ permalink raw reply [flat|nested] 5+ messages in thread
* The problem with the installation of the latest kernel
2011-06-17 6:57 ` Prashant Shah
[not found] ` <69221.50718.qm@web92204.mail.cnh.yahoo.com>
@ 2011-06-19 8:15 ` Jonathan Neuschäfer
1 sibling, 0 replies; 5+ messages in thread
From: Jonathan Neuschäfer @ 2011-06-19 8:15 UTC (permalink / raw)
To: kernelnewbies
On Fri, Jun 17, 2011 at 12:27:03PM +0530, Prashant Shah wrote:
> Hi,
>
> >> make O=../linux-2.6.39.1-install defconfig
>
> Try using $make oldconfig instead of defconfig. This will reuse your
> current ubuntu kernel config file.
If I read the code correctly, make oldconfig will not use the config
from /boot/, but just but just use a default configuration in case
you don't have a .config in your build directory.
So from my (limited) experience you would first need to do a
cp /boot/config*`uname -r` ~/linux-2.6.39.1-install/.config
Another option is make localmodconfig, which includes all the modules
that are loaded into the new configuration.
HTH,
Jonathan Neusch?fer
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-06-19 8:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-17 6:45 The problem with the installation of the latest kernel david
2011-06-17 6:51 ` Anuz Pratap Singh Tomar
2011-06-17 6:57 ` Prashant Shah
[not found] ` <69221.50718.qm@web92204.mail.cnh.yahoo.com>
2011-06-18 17:22 ` 回复: " Prashant Shah
2011-06-19 8:15 ` Jonathan Neuschäfer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.