View previous topic :: View next topic |
Author |
Message |
Henrik Olsen n00b
Joined: 13 Nov 2003 Posts: 66
|
Posted: Thu Oct 25, 2007 5:37 pm Post subject: udev won't let me update to newest 2.6(.22) |
|
|
Here's what I got.
Code: | uname -a
Linux hemish 2.6.8-gentoo-r3 #1 Tue Sep 14 13:14:45 CEST 2004 i686 VIA Nehemiah CentaurHauls GNU/Linux |
I want to update to the newest kernel. My update status looks like this.
Code: | emerge -pu gentoo-sources
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] sys-fs/udev-115-r1 USE="(-selinux)"
[ebuild U ] sys-devel/make-3.81 [3.80]
[ebuild NS ] sys-kernel/gentoo-sources-2.6.22-r8 USE="-build -symlink"
|
But when trying to do the update
Code: | emerge -u gentoo-sources |
...I get stuck at this (see full dump in thread below):
Code: | Messages for package sys-fs/udev-115-r1:
*
* udev-115 does not support Linux kernel before version 2.6.15!
* If you want to use udev you need to update
* to kernel >=2.6.15!
*
|
How do I fix that catch? I'm asked to update my kernel for udev to get updated - but that's exactly what I'm trying to...
Last edited by Henrik Olsen on Thu Oct 25, 2007 6:51 pm; edited 1 time in total |
|
Back to top |
|
|
Wojtek_ Guru
Joined: 28 May 2006 Posts: 397 Location: London
|
Posted: Thu Oct 25, 2007 6:23 pm Post subject: |
|
|
What's the output when you do
Code: | emerge -u gentoo-sources | ?
Could you paste it?
Cheers,
Wojtek _________________ Fujitsu-Siemens Amilo Xi-1546
Intel Centrino Duo T2600 (2,16GHz)
2x1GB DDR2 RAM
ATi Mobility Radeon X1800 256MB DDR3
2x120GB HDD
Intel High Definition Audio |
|
Back to top |
|
|
EzInKy Veteran
Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Thu Oct 25, 2007 6:39 pm Post subject: |
|
|
If the sources downloaded go ahead and build your new kernel. _________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
|
Henrik Olsen n00b
Joined: 13 Nov 2003 Posts: 66
|
Posted: Thu Oct 25, 2007 6:49 pm Post subject: |
|
|
Wojtek_ wrote: | What's the output when you do
Code: | emerge -u gentoo-sources | ?
Could you paste it?
|
Code: |
Calculating dependencies ..... .... done!
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 3) sys-fs/udev-115-r1 to /
* udev-115-update-20079804.diff.bz2 RMD160 ;-) ... [ ok ]
* udev-115-update-20079804.diff.bz2 SHA1 ;-) ... [ ok ]
* udev-115-update-20079804.diff.bz2 SHA256 ;-) ... [ ok ]
* udev-115-update-20079804.diff.bz2 size ;-) ... [ ok ]
* udev-115.tar.bz2 RMD160 ;-) ... [ ok ]
* udev-115.tar.bz2 SHA1 ;-) ... [ ok ]
* udev-115.tar.bz2 SHA256 ;-) ... [ ok ]
* udev-115.tar.bz2 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking udev-115.tar.bz2 ;-) ... [ ok ]
* checking udev-115-update-20079804.diff.bz2 ;-) ... [ ok ]
*
* udev-115 does not support Linux kernel before version 2.6.15!
* If you want to use udev you need to update
* to kernel >=2.6.15!
*
>>> Unpacking source...
>>> Unpacking udev-115.tar.bz2 to /var/tmp/portage/sys-fs/udev-115-r1/work
tar: pax_global_header: Unknown file type 'g', extracted as normal file
>>> Unpacking udev-115-update-20079804.diff.bz2 to /var/tmp/portage/sys-fs/udev-115-r1/work
* Applying udev-115-update-20079804.diff ...
[ ok ]
* Applying udev-114-root-link-2.diff ...
[ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-fs/udev-115-r1/work/udev-115 ...
/usr/bin/i686-pc-linux-gnu-ar
GENHDR udev_version.h
CC udev_device.o
CC udev_config.o
CC udev_node.o
CC udev_db.o
CC udev_sysfs.o
CC udev_rules.o
CC udev_rules_parse.o
CC udev_utils.o
CC udev_utils_string.o
CC udev_utils_file.o
CC udev_sysdeps.o
AR libudev.a
RANLIB libudev.a
CC udevd.o
LD udevd
CC udevtrigger.o
LD udevtrigger
CC udevsettle.o
LD udevsettle
CC udevcontrol.o
LD udevcontrol
CC udevmonitor.o
LD udevmonitor
CC udevinfo.o
LD udevinfo
CC udevtest.o
LD udevtest
CC test-udev.o
LD test-udev
CC udevstart.o
LD udevstart
make[1]: Entering directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/ata_id'
CC ata_id.o
LD ata_id
make[1]: Leaving directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/ata_id'
make[1]: Entering directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/cdrom_id'
CC cdrom_id.o
LD cdrom_id
make[1]: Leaving directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/cdrom_id'
make[1]: Entering directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/edd_id'
CC edd_id.o
LD edd_id
make[1]: Leaving directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/edd_id'
make[1]: Entering directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/firmware'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/firmware'
make[1]: Entering directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/floppy'
CC create_floppy_devices.o
LD create_floppy_devices
make[1]: Leaving directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/floppy'
make[1]: Entering directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/path_id'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/path_id'
make[1]: Entering directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/scsi_id'
GENHDR scsi_id_version.h
CC scsi_id.o
CC scsi_serial.o
LD scsi_id
make[1]: Leaving directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/scsi_id'
make[1]: Entering directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/usb_id'
CC usb_id.o
LD usb_id
make[1]: Leaving directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/usb_id'
make[1]: Entering directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/volume_id'
make[2]: Entering directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/volume_id/lib'
CC ext.o
CC fat.o
CC hfs.o
CC highpoint.o
CC isw_raid.o
CC lsi_raid.o
CC via_raid.o
CC silicon_raid.o
CC nvidia_raid.o
CC promise_raid.o
CC adaptec_raid.o
CC jmicron_raid.o
CC ddf_raid.o
CC iso9660.o
CC jfs.o
CC linux_raid.o
CC linux_swap.o
CC lvm.o
CC ntfs.o
CC reiserfs.o
CC udf.o
CC ufs.o
CC xfs.o
CC cramfs.o
CC hpfs.o
CC romfs.o
CC sysv.o
CC minix.o
CC gfs.o
CC luks.o
CC ocfs.o
CC vxfs.o
CC squashfs.o
CC netware.o
CC volume_id.o
CC util.o
AR libvolume_id.a
RANLIB libvolume_id.a
CC .shlib/ext.o
CC .shlib/fat.o
CC .shlib/hfs.o
CC .shlib/highpoint.o
CC .shlib/isw_raid.o
CC .shlib/lsi_raid.o
CC .shlib/via_raid.o
CC .shlib/silicon_raid.o
CC .shlib/nvidia_raid.o
CC .shlib/promise_raid.o
CC .shlib/adaptec_raid.o
CC .shlib/jmicron_raid.o
CC .shlib/ddf_raid.o
CC .shlib/iso9660.o
CC .shlib/jfs.o
CC .shlib/linux_raid.o
CC .shlib/linux_swap.o
CC .shlib/lvm.o
CC .shlib/ntfs.o
CC .shlib/reiserfs.o
CC .shlib/udf.o
CC .shlib/ufs.o
CC .shlib/xfs.o
CC .shlib/cramfs.o
CC .shlib/hpfs.o
CC .shlib/romfs.o
CC .shlib/sysv.o
CC .shlib/minix.o
CC .shlib/gfs.o
CC .shlib/luks.o
CC .shlib/ocfs.o
CC .shlib/vxfs.o
CC .shlib/squashfs.o
CC .shlib/netware.o
CC .shlib/volume_id.o
CC .shlib/util.o
CC libvolume_id.so.0.80.0
GENPC libvolume_id.pc
make[2]: Leaving directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/volume_id/lib'
CC vol_id.o
LD vol_id
make[1]: Leaving directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/volume_id'
make[1]: Entering directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/collect'
CC collect.o
LD collect
make[1]: Leaving directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/collect'
make[1]: Entering directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/rule_generator'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/rule_generator'
make[1]: Entering directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/root_link'
CC get_dir_major_minor.o
get_dir_major_minor.c: In function `main':
get_dir_major_minor.c:38: warning: implicit declaration of function `gnu_dev_major'
get_dir_major_minor.c:39: warning: implicit declaration of function `gnu_dev_minor'
LD get_dir_major_minor
get_dir_major_minor.o: In function `main':
/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/root_link/get_dir_major_minor.c:38: undefined reference to `gnu_dev_major'
/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/root_link/get_dir_major_minor.c:39: undefined reference to `gnu_dev_minor'
collect2: ld returned 1 exit status
make[1]: *** [get_dir_major_minor] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-fs/udev-115-r1/work/udev-115/extras/root_link'
make: *** [all] Error 1
*
* ERROR: sys-fs/udev-115-r1 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* udev-115-r1.ebuild, line 126: Called die
*
* (no error message)
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-fs/udev-115-r1/temp/build.log'.
*
* Messages for package sys-fs/udev-115-r1:
*
* udev-115 does not support Linux kernel before version 2.6.15!
* If you want to use udev you need to update
* to kernel >=2.6.15!
*
*
* ERROR: sys-fs/udev-115-r1 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* udev-115-r1.ebuild, line 126: Called die
*
* (no error message)
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-fs/udev-115-r1/temp/build.log'.
*
|
|
|
Back to top |
|
|
EzInKy Veteran
Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
|
Back to top |
|
|
Cadorna Apprentice
Joined: 30 Dec 2004 Posts: 215 Location: Argentina
|
Posted: Thu Oct 25, 2007 7:41 pm Post subject: |
|
|
i think you sould
Code: |
emerge -u --nodeps gentoo-sources
|
make it your defualt kernel, linking /usr/src/linux to /usr/src/linux-<gentoo_version>
then you should change your /etc/conf.d/rc to
Code: |
RC_DEVICE_TARBALL="yes"
RC_DEVICES="static"
|
restart your computer with this new kernel, and emerge the new version of udev
after udev is installed, rollback you changes in /etc/conf.d/rc
don't forget to add an entry in your boot loader for you actual kernel as a backup
also be prepared to boot with the liveCD in case this directions makes yor machine unusuable because the lack o DEVICES in /dev |
|
Back to top |
|
|
|