Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Upgrading to Kernel 2.6.14-gentoo-r5 failed[SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
linoleum
Tux's lil' helper
Tux's lil' helper


Joined: 15 Nov 2004
Posts: 129

PostPosted: Sun Jan 08, 2006 2:25 pm    Post subject: Upgrading to Kernel 2.6.14-gentoo-r5 failed[SOLVED] Reply with quote

Hi,
I'm trying to update the kernel on my ibm x40 having a strange (for me, stupid man of course) problem. I use genkernel and here what I get when I try to compile the new kernel
Quote:

Root device is (3, 6)
Boot sector 512 bytes.
Setup is 7048 bytes.
System is 1774 kB
Kernel: arch/i386/boot/bzImage is ready (#1)
* Gentoo Linux Genkernel; Version 3.3.10
* Running with options: --menuconfig all

* ERROR: Could not copy the kernel binary to /boot!
* -- Grepping log... --
* -- End log... --


The genkernel.log does not give me other useful error messages.
Ant help on where to start in order to solve this problem?
Thanks


Last edited by linoleum on Mon Jan 23, 2006 2:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
z3rgl1ng_z
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jan 2006
Posts: 116
Location: Romania

PostPosted: Sun Jan 08, 2006 2:59 pm    Post subject: Reply with quote

www.kernel.org
get the latest stable 2.6.xx kernel and put it in /usr/src then untar it like this:
Code:
 tar xvjf NAME_KERNEL_FILE

after that do this:
Code:
 rm linux

Code:
 mkdir linux

Code:
 ln -s /usr/src/NAME_KERNEL_FOLDER /usr/src/linux

Code:
 cd linux

Code:
 make menuconfig


after that configure the kernel...
and after run
Code:
 make

and after
Code:
 make modules_install install


or the simplest way
read README in KERNEL_DIR after you untared it
Back to top
View user's profile Send private message
linoleum
Tux's lil' helper
Tux's lil' helper


Joined: 15 Nov 2004
Posts: 129

PostPosted: Mon Jan 23, 2006 8:16 am    Post subject: Reply with quote

It did not help. Still having the sme problem also with the new 2.6.15 kernel.
Any other suggestion?
Thanks
Back to top
View user's profile Send private message
Pete M
Apprentice
Apprentice


Joined: 30 Apr 2005
Posts: 154

PostPosted: Mon Jan 23, 2006 8:31 am    Post subject: Reply with quote

Just an observation but may help

Check that your boot partition is mounted with the command "mount" as root on the command line, here's mine

Code:
# mount
/dev/sda3 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw)
/dev/sda1 on /boot type ext2 (rw,noatime)
shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs (rw,devmode=0664,devgid=85)


The important line is "/dev/sda1 on /boot type ext2 (rw,noatime)"

Might help

Pete
Back to top
View user's profile Send private message
z3rgl1ng_z
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jan 2006
Posts: 116
Location: Romania

PostPosted: Mon Jan 23, 2006 9:54 am    Post subject: Reply with quote

run this:
Code:
 fdisk /dev/hda

or sda
depends on you'r hardware
type: p
and hit enter
copy paste the output
and copy paste what is in /etc/fstab
Back to top
View user's profile Send private message
linoleum
Tux's lil' helper
Tux's lil' helper


Joined: 15 Nov 2004
Posts: 129

PostPosted: Mon Jan 23, 2006 9:58 am    Post subject: Reply with quote

Thanks but the /boot partition semms mounted:

Quote:

/dev/hda5 on /boot type ext2 (rw,noatime)
Back to top
View user's profile Send private message
linoleum
Tux's lil' helper
Tux's lil' helper


Joined: 15 Nov 2004
Posts: 129

PostPosted: Mon Jan 23, 2006 10:05 am    Post subject: Reply with quote

Herethe output of fdisk /dev/hda

Quote:

Disk /dev/hda: 40.0 GB, 40007761920 bytes
240 heads, 63 sectors/track, 5168 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 4540 34322368+ 5 Extended
/dev/hda2 * 4617 5168 4173120 12 Compaq diagnostics
/dev/hda3 4541 4616 574560 82 Linux swap / Solaris
/dev/hda5 * 1 5 37737 83 Linux
/dev/hda6 6 2589 19535008+ 83 Linux
/dev/hda7 2590 4540 14749528+ 83 Linux


and here my /etc/fstab
Quote:

/dev/hda3 none swap sw 0 0
/dev/hda5 /boot ext2 defaults,noatime 1 2
/dev/hda6 / reiserfs noatime 0 0
/dev/hda7 /home reiserfs noatime 0 0

/dev/sda1 /mnt/usbstick auto noauto,user,rw 0 0


# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none /dev/shm tmpfs defaults 0 0


Thanks for your help
Back to top
View user's profile Send private message
z3rgl1ng_z
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jan 2006
Posts: 116
Location: Romania

PostPosted: Mon Jan 23, 2006 10:24 am    Post subject: Reply with quote

post the error after compiling the kernel manualy... after runing
Code:
 make modules_install install
Back to top
View user's profile Send private message
z3rgl1ng_z
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jan 2006
Posts: 116
Location: Romania

PostPosted: Mon Jan 23, 2006 10:27 am    Post subject: Reply with quote

after runing
Code:
 make

you can copy bzImage from kernel sources folder to boot partition after that edit /etc/lilo.conf to the new kernel bzImage and run:
Code:
 lilo

if you have problems post them here...
and don't use genkernel.. i had some problems with it, i prefer to do it my self
Back to top
View user's profile Send private message
linoleum
Tux's lil' helper
Tux's lil' helper


Joined: 15 Nov 2004
Posts: 129

PostPosted: Mon Jan 23, 2006 2:46 pm    Post subject: Reply with quote

Problem solved, thanks a lot.
Compiling the kernel without genkernel showed the origin of the problem: the /boot partition was full!!
Thanks again
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
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