How to rebuild linux kernel?
folks,
I wanna install oracle8.1.7 on Red Hat 7.0 and I modified some kernel parameters, but I have less experience to rebuild its kernel.
Anyone could tell me the procedure step by step, I'd appreciate it.
-mike
I recently did the same thing and ran into problems with the RedHat upgrade. I ended up installing the 2.4.2 kernel and updating its kernel parameter for SEMOPM.
I'm relatively new at Linux, so what is described in my notes might not be the best way, but it worked for me. See
http://my.voyager.net/~sharpd/linux-sysadmin/redhat-70-kernel-rebuild.html
and
http://my.voyager.net/~sharpd/db/oracle-linux/db8i-install.html
Note that a patch for glibc releases above 2.1.3 is needed from Oracle. It's listed in the second web page.
Doug
Similar Messages
-
How to Configure Linux Kernel for Oracle8
Hello :
Could you please tell me How to configure the linux Kernel to
accommodate the SGA ?
I run the ipcs command and didnt list nothing. I already look the
linux library to find out how to set the parameters listed on
page 4 on chapter 2 "setting the enviroment" on the linux
Installation guide for Oracle8 but I couldnt find nothing.
Could you please help me ?
regards
Mauricio Spamer
nullSaif Manzoor (guest) wrote:
: Go to the following site
: http://jordan.fortwayne.com/oracle/
: you will find some tips on configuring the kernel.
: Saif
: Mauricio Spamer (guest) wrote:
: : Hello :
: : Could you please tell me How to configure the linux Kernel to
: : accommodate the SGA ?
: : I run the ipcs command and didnt list nothing. I already
look
: the
: : linux library to find out how to set the parameters listed on
: : page 4 on chapter 2 "setting the enviroment" on the linux
: : Installation guide for Oracle8 but I couldnt find nothing.
: : Could you please help me ?
: : regards
: : Mauricio Spamer
I have the same problem. What I have to do?
Thanks.
Formiga
[email protected]
null -
How to upgrade to Linux kernel from 2.6.37?
How to upgrade to Linux kernel 3 from 2.6.37?
pacman -Su won't go further.
Last edited by Ariya (2011-09-25 18:41:38)This is what I get;
pacman -S linux
resolving dependencies...
looking for inter-conflicts...
:: linux and kernel26 are in conflict. Remove kernel26? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: aufs2: requires kernel26>=2.6.37.3
:: aufs2: requires kernel26<2.6.38
:: ndiswrapper: requires kernel26>=2.6.37
:: ndiswrapper: requires kernel26<2.6.38
I have up to date mirrorlist
Pacman -Syyu gives after while
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: aufs2: requires kernel26>=2.6.37.3
:: aufs2: requires kernel26<2.6.38
Last edited by Ariya (2011-09-25 19:28:03) -
How to get patches to official/mainline arch linux kernel?
Hi,
I'm maintainer of compcache PKGBUILD (compcache is ~ compressed virtual swap disk).
For proper work it needs to apply some patches to kernel....
I know there is an alternative to create another PKGBUILD for a custom kernel, but this seems to me an overkill.
I would like to include these patches directly into mainline arch linux kernel....
Is this good idea? How should I proceed then?
TiborWintervenom,
I did not know about zen kernel at all, but though it would not be very good solution, it could be the best one. So I will post an recommendation to aur to compcache, that to get proper function of compcache one should use zen kernel...
But I 'm not going to install this kernel as compcache is not so important to me to replace mainline kernel...
tomk,
It seems that compcache will not be completely included in linux vanila kernel before 2.6.34, so that means about six months... In the meantime, compcache will not be usable with mainline arch linux kernel...
And can you please advice me how can I submit such feature request? -
How can upgrade the linux kernel
i want upgrade my linux kernel of my arch
so
tell me how can i do it ?
thanks........zqyking wrote:
archman-cro wrote:What a question!
What kernel? What version? From where?
.......... ni tai sb le dui ni wu yu
Love you too. -
[HOW-TO] Ati Radeon & Kernel 2.6 - Updated
[HOW-TO] Ati Radeon & Kernel 2.6
Updated on new ati-drivers 4.3.0
[CONTENTS]
1.1 Requirements
2.0 Compiling Kernel
2.1 Configuring Bootloader [GRUB]
3.0 Building & Generating modules
3.1 Pacthing modules
3.2 Compiling modules
3.3 Adding modules boot runlevel
4.0 fglrxconfig
4.1 Xorg.conf NEW!!
[1.1] Requirements
(All Intel & AMD users)
1. Ati Radeon 9xxx (Mine 9600 Sapphyre pro)
2. Kernel 2.8.x (Current 2.8.1)
3. wget, rpmunpack, cpio
4. PKGBUILD [FILE]
5. ati-drivers.install [FILE]
6. fglrx-2.6-vmalloc-vmaddr.patch New!!!
Those are code for listed files:
PKGBUILD New!!!
pkgname=ati-drivers
pkgver=3.11.1
pkgrel=1
pkgdesc="Proprietary (binary) drivers for ATI Radeon Cards."
url="www.ati.com/support/driver.html"
depends=('xfree86')
install="$pkgname.install"
source=(http://www2.ati.com/drivers/linux/fglrx-4.3.0-$pkgver.i386.rpm)
#md5sums=('9f7802ee0bbdeb5172673027056e789d')
# build-time deps: rpmunpack, cpio, gzip
build() {
cd $startdir/pkg
rpmunpack < $startdir/src/fglrx-4.3.0-$pkgver.i386.rpm | gzip -d | cpio -idmuv
chmod 755 -R .
mv opt/kde3 opt/kde
mkdir -p opt/gnome/share
mv usr/share/gnome/apps/ opt/gnome/share
rm -rf usr/share/gnome
usr/share/applnklib/modules/fglrx/{fglrx*.o,fglrx_info.txt}
usr/X11R6/bin/LICENSE.{GPL,QPL}
usr/X11R6/bin/*.bz2
ati-drivers.install New!!!
post_install() {
cat << EOF
NOTE
To create an fglrx module for your system, do:
cd /lib/modules/fglrx/build_mod
./make.sh
cd ..
./make_install.sh
Make sure you have your full kernel tree at /usr/src/linux
Then initialize "fglrxconfig" to create an XF86Config
for your graphics card.
EOF
post_upgrade() {
/bin/true
pre_remove() {
/bin/true
op=$1
shift
$op $*
fglrx-2.6-vmalloc-vmaddr.patch New!!!
--- firegl_public.c 2004-03-17 17:00:29.000000000 -0500
+++ /lib/modules/fglrx/build_mod/firegl_public.c 2004-07-18 16:09:46.000000000 -0500
@@ -2010,8 +2010,8 @@
pMmPage = virt_to_page(kaddr);
#endif /* LINUX_VERSION_CODE < 0x020400 */
- atomic_inc(&(pMmPage->count)); /* inc usage count of page */
+// atomic_inc(&(pMmPage->_count)); /* inc usage count of page */
+ get_page(pMmPage);
#if LINUX_VERSION_CODE >= 0x020400
// __KE_DEBUG3("vm-address 0x%08lx => kernel-page-address 0x%pn",
// address, page_address(pMmPage));
[2.0] Compiling kernel
<*> MTRR
e poi
<M> /dev/agpgart (AGP Support)
< > ALI chipset support
< > ATI chipset support
< > AMD Irongate, 761, and 762 chipset support
< > AMD Opteron/Athlon64 on-CPU GART support
< > Intel 440LX/BX/GX, I8xx and E7x05 chipset support
< > Intel i865 chipset support
< > NVIDIA nForce/nForce2 chipset support
< > SiS chipset support
< > Serverworks LE/HE chipset support
<M> VIA chipset support
< > Transmeta Efficeon support
[*] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
< > 3dfx Banshee/Voodoo3+
< > 3dlabs GMX 2000
< > ATI Rage 128
< > ATI Radeon
< > Matrox g200/g400
< > SiS video cards
make dep && make clean bzImage modules modules_install
[/code]
when finished,mount boot partition (if not already mounted)
[code]
mount /boot
[/code]
and copy kernel image to the boot directory, so the new kernel loads after computer restart. Pay attention to not overwrite existent kernels images in boot partition. For security issues rename it as ***_new.
[code]
cp arch/i386/boot/bzImage /boot/vmlinuz_new
[/code]
[2.1] Configuring Bootloader [GRUB]
Edit your boot-loader config file.
I currently use grub instead of lilo.
[code]
nano /boot/grub/menu.lst
[/code]
Add a new sub-menu (this is an example) Check on the forum how to set-up a bootloader).
[code]
# (0) Arch Linux
title Arch Linux [/boot/vmlinuz_new]
root (hd0,3)
kernel (hd0,1)/vmlinuz_new root=/dev/discs/disc0/part4 ro
[/code]
REBOOT
[3.0] Building ati-drivers
Make a directory under /var/abs/local called ati
[code]
mkdir /var/abs/loca/ati
[/code]
copy in it the two files PKGBUILD ati-drivers.install
[code]
cp /path/to/file/PKGBUILD /var/abs/local/ati
cp /path/to/file/ati-drivers.install /var/abs/local/ati
[/code]
start building package
[code]
makepkg -c
[/code]
if all goes well, this will be the output
[code]
[root@CippaLippa ati]# makepkg -c
==> Making package: ati-drivers
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> .......
==> .......
==> Compressing man pages...
==> Stripping debugging symbols from libraries...
==> Stripping symbols from binaries...
==> Generating .PKGINFO file...
==> Copying install script...
==> Generating .FILELIST file...
==> Compressing package...
==> Cleaning up...
==> Finished making: ati-drivers (Tue Feb 10 15:11:13 CET 2004)
[root@CippaLippa ati]#
[/code]
It downloads necessary files and generates a file called ati-drivers-3.9.x.pkg.tar.gz
Install it using:
[code]
pacman -A ati-drivers-3.x.x.pkg.tar.gz
[/code]
This installation generates a folder in /lib/modules/fglrx
Change directory
[code]
cd /lib/modules/fglrx
[/code]
[3.1] Pacthing modules
To patch modules simply copy the two files .patch listed on top in this directory. Intel users must only install fglrx-2.6-vmalloc-vmaddr.patch, AMD users both.
[code]
cp /path/to/patch/fglrx-2.6-vmalloc-vmaddr.patch /lib/modules/fglrx
[/code]
change directory
[code]
cd build_mod
[/code]
to patch the file firegl_public.c
[code]
patch -b firegl_public.c ../fglrx-2.6-vmalloc-vmaddr.patch
[/code]
It's time to compile the modules
[code]
sh make.sh
[root@CippaLippa build_mod]# sh make.sh
ATI module generator V 2.0
==========================
initializing...
probing for VMA API version...
cleaning...
patching...
make[1]: Leaving directory `/usr/src/linux-2.6.x
build succeeded with return value 0
duplicating results into driver repository...
done.
==============================
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
==============================
[/code]
change directory as you see on screen
[code]
cd /lib/modules/fglrx
[/code]
and compile in
[code]
sh make_install.sh
[/code]
if will be no errors in output, module fglrx were perfectly compiled in /lib/modules/2.6.x/kernel/drivers/char/drm/ and named "fglrx.ko"
[3.2] Adding modules boot runlevel
open /etc/rc.conf
[code]
nano /etc/rc.conf
[/code]
go to line MODULES= and add
[code]
agpgart via-agp fglrx rtc <== make sure always in this order
[/code]
(if your motherboard is "VIA" equipped, else check what do you have: the same configured in kernel under /dev/agpgart (AGP Support)
[4.0] fglrxconfig
Ati-drivers comes with a modified xf86config, utility to generate XF86config files.
Run
[code]
fglrxconfig
[/code]
and a welcome screen appear
[code]
==============================================================================
ATI - FIRE GL - BE THE CREATOR
==============================================================================
This program will create the ATI "XF86Config-4" file
- based on your selections - for the below listed boardtypes...
- ATI Radeon 8500 / 9100
- ATI FireGL 8700 / 8800 / E1
- ATI FireGL T2
- ATI Radeon 9000
- ATI Radeon 9200
- ATI Radeon 9500
- ATI Radeon 9600
- ATI Radeon 9700
- ATI Radeon 9800
- ATI FireGL Z1 / X1 / X2
- ATI Mobility M9
- ATI Mobility FireGL 9000
- ATI Mobility M9PLUS
The "XF86Config-4" file usually resides in /etc/X11.
Press [Enter] to continue, press 'q'&[Enter] or [Ctrl]+'c' to abort.
[/code]
follow the on-screen steps leaving default settings. Configure only mouse, keyboard, screen frequencies and resolution. At least when prompt for:
[code]
External AGPGART module:
external agpgart module execute this on the commandline (as root):
/sbin/insmod agpgart
or alternatively configure your system to auto load the module.
Do you want to use the external AGP GART module (y/n)? [y]
[/code]
be sure to answer "YES".
[4.1] Xorg.cong New!!!
Xorg configuration file, resides in /etc/X11.
It is XF86config renamed and Will replace soon it, with the new video system based on Xorg.
This is my xorg.conf file:
[code]
Section "dri"
Mode 0666
EndSection
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
Load "glx" # libglx.a
Load "dri" # libdri.a
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
ModulePath "/usr/X11R6/lib/modules"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/usbmouse"
EndSection
Section "Monitor"
Identifier "Monitor0"
HorizSync 31-96
VertRefresh 55-160
Option "DPMS"
EndSection
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
EndSection
Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
#Option "NoDDC"
Option "no_accel" "no"
Option "no_dri" "no"
Option "DesktopSetup" "0x00000000"
Option "MonitorLayout" "AUTO, AUTO"
Option "IgnoreEDID" "off"
Option "HSync2" "unspecified"
Option "VRefresh2" "unspecified"
Option "ScreenOverlap" "0"
Option "NoTV" "yes"
Option "TVStandard" "NTSC-M"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x00000000"
Option "GammaCorrectionII" "0x00000000"
Option "Capabilities" "0x00000000"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "CenterMode" "off"
Option "PseudoColorVisuals" "off"
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
Option "FSAAScale" "1"
Option "FSAADisableGamma" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
Option "UseFastTLS" "0"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "no"
Option "ForceGenericCPU" "no"
BusID "PCI:1:0:0" # vendor=1002, device=4150
Screen 0
EndSection
Section "Screen"
Identifier "Screen0"
Device "ATI Graphics Adapter"
Monitor "Monitor0"
DefaultDepth 24
#Option "backingstore"
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600"
ViewPort 0 0 # initial origin if mode is smaller than desktop
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Server Layout"
Screen "Screen0"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
[/code]
REBOOT
Start in X with kde, gnome or othet window manager.
If X does not start you maybe made something wrong, retry from the beginning. Else if it starts, check if DRI os working
[code]
fgl_glxgears
[/code]
if it is working, a rotating cube will appear in a new windows, and if it is so.....
ENJOY
**SORRY FOR MY ENGLISH **Using kernel 2.6.2
I'm starting over again but now cannot get the PKGBUILD to complete. I had this problem this morning as well, but after editing the PKGBUILD file did eventually get it to complete. This is the output of makepkg -c using the PKGBUILD as posted:
[root@Arch2 ati]# makepkg -c
==> Making package: ati-drivers (Wed Feb 11 16:11:02 GMT 2004)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Downloading fglrx-glc22-4.3.0-3.2.8.i586.rpm
--16:11:02-- http://www2.ati.com/drivers/linux/fglrx … 8.i586.rpm
=> `fglrx-glc22-4.3.0-3.2.8.i586.rpm'
Resolving www2.ati.com... 62.25.100.58, 62.25.100.32
Connecting to www2.ati.com[62.25.100.58]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4,365,039 [audio/x-pn-realaudio-plugin]
100%[====================================>] 4,365,039 55.23K/s ETA 00:00
16:12:27 (50.80 KB/s) - `fglrx-glc22-4.3.0-3.2.8.i586.rpm' saved [4365039/4365039]
==> Validating source files with MD5sums
fglrx-glc22-4.3.0-3.2.8.i586.rpm ... Passed
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Starting build()...
./lib/modules/fglrx/build_mod/2.6.x/Makefile
./lib/modules/fglrx/build_mod/agp.h
./lib/modules/fglrx/build_mod/agp3.c
./lib/modules/fglrx/build_mod/agp_backend.h
./lib/modules/fglrx/build_mod/agpgart.h
./lib/modules/fglrx/build_mod/agpgart_be.c
./lib/modules/fglrx/build_mod/firegl_public.c
./lib/modules/fglrx/build_mod/firegl_public.h
./lib/modules/fglrx/build_mod/i7505-agp.c
./lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC2
./lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC3
./lib/modules/fglrx/build_mod/make.sh
./lib/modules/fglrx/build_mod/nvidia-agp.c
./lib/modules/fglrx/fglrx.2.4.18-17.7.x.o
./lib/modules/fglrx/fglrx.2.4.18-17.8.0.o
./lib/modules/fglrx/fglrx.2.4.20-6-SMP.o
./lib/modules/fglrx/fglrx.2.4.20-6.o
./lib/modules/fglrx/fglrx.2.4.21-1.1931.2.349.2.2.ent-SMP.o
./lib/modules/fglrx/fglrx.2.4.21-1.1931.2.349.2.2.ent.o
./lib/modules/fglrx/fglrx.2.4.21-1.1931.2.349.2.2.entbigmem-SMP.o
./lib/modules/fglrx/fglrx_info.txt
./lib/modules/fglrx/make_install.sh
./opt/kde3/share/applnk/fireglcontrol_kde3.desktop
./usr/X11R6/bin/LICENSE.GPL
./usr/X11R6/bin/LICENSE.QPL
./usr/X11R6/bin/fgl_glxgears
./usr/X11R6/bin/fglrx_xgamma
./usr/X11R6/bin/fglrxconfig
./usr/X11R6/bin/fglrxinfo
./usr/X11R6/bin/fireglcontrol.qt2.gcc2.96.bz2
./usr/X11R6/bin/fireglcontrol.qt3.gcc3.2.bz2
./usr/X11R6/bin/fireglcontrol.qtstatic.gcc2.96.bz2
./usr/X11R6/include/X11/extensions/fglrx_gamma.h
./usr/X11R6/lib/libGL.so.1.2
./usr/X11R6/lib/libfglrx_gamma.a
./usr/X11R6/lib/libfglrx_gamma.so.1.0
./usr/X11R6/lib/modules/dri/fglrx_dri.so
./usr/X11R6/lib/modules/drivers/fglrx_drv.o
./usr/X11R6/lib/modules/linux/libfglrxdrm.a
./usr/include/GL/glxATI.h
./usr/share/applnk/fireglcontrol.kdelnk
./usr/share/gnome/apps/fireglcontrol.desktop
./usr/share/icons/ati.xpm
./usr/share/pixmaps/ati.xpm
./usr/src/ATI/fglrx_panel_sources.tgz
./usr/src/ATI/fglrx_sample_source.tgz
21763 blocks
/usr/bin/makepkg: line 23: usr/share/applnklib/modules/fglrx/fglrx*.o: No such file or directory
usr/X11R6/bin/LICENSE.GPL: line 2: syntax error near unexpected token `('
usr/X11R6/bin/LICENSE.GPL: line 2: ` The Qt GUI Toolkit is Copyright (C) 1994-2000 Trolltech AS.'
/usr/bin/makepkg: line 25: usr/X11R6/bin/fireglcontrol.qt2.gcc2.96.bz2: cannot execute binary file
==> ERROR: Build Failed. Aborting...
[root@Arch2 ati]#
I seem to be going backwards! -
[SOLVED] Intel i7-3920XM Laptop CPU Linux Kernel Support
Recently, I purchased a laptop with an Intel i7-3920XM CPU, with the intention of utilizing it for scientific computing (I've become strongly interested in machine learning and artificial neural networks). Supposedly, the CPU has a variable clock speed of 2.90 -- 3.80 GHz, which would be great, but my kernel has throttled it to 1200MHz. I've tried both the cpufreq performance and userspace kernel modules (configured for performance), but the laptop stubbornly refuses to increase the clockspeed more than 1200MHz; I gave up on cpufreq and have uninstalled it. I've read some accounts that it is possible that the Linux kernel may not support my CPU yet --- does anybody know if that is the case? If it is not, can anybody point me to some literature describing how to un-throttle my CPU?
Last edited by deltaecho (2013-03-03 21:59:30)runny6play wrote:
Meyithi wrote:
CPU frequency scaling is enabled by default, 1200MHz is fine for your processor as it's lowest frequency I have the 3960x and it's lowest frequency is 1200MHz as well.
You should just leave things as they are, if you can actually feel sluggish performance ( I don't with 6 cores @ 1200MHz) you can try this:- https://wiki.archlinux.org/index.php/Cp … erformance
Which will liven things up a bit at the cost of more battery juice.
EDIT/ compile something and whilst compiling
cat /proc/cpuinfo | grep MHz
to see what's reported at full load, but be aware it still may not report correctly due to turbo.
deltaecho wrote:Recently, I purchased a laptop with an Intel i7-3920XM CPU, with the intention of utilizing it for scientific computing (I've become strongly interested in machine learning and artificial neural networks). Supposedly, the CPU has a variable clock speed of 2.90 -- 3.80 GHz, which would be great, but my kernel has throttled it to 1200MHz. I've tried both the cpufreq performance and userspace kernel modules (configured for performance), but the laptop stubbornly refuses to increase the clockspeed more than 1200MHz; I gave up on cpufreq and have uninstalled it. I've read some accounts that it is possible that the Linux kernel may not support my CPU yet --- does anybody know if that is the case? If it is not, can anybody point me to some literature describing how to un-throttle my CPU?
I would agree with you if that was what the argument was about. I said the same thing about i7z as you just did, which is why i suggested it. as I understand it. your telling him 1.2 Ghz is an acceptable min and i would agree.How i am interperting his thread is 2.90 Ghz is his base. 3.80 Ghz is his max turbo. His CPU under 100 % load will not rise above 1.2 Ghz despite his stock clock is actually 2.90 Ghz. I can honestly say that this is the more likely story because my i7 did the same thing. on battery the max it would clock up to while runing /dev/urandom > /dev/null was 1.2 Ghz, while on Ac it would even turbo correctly. by unloading the module. my proccessor would clock as expected 800 mhz min 3.4 max turbo. and if you look he even used the performance governor to try to increase the clock
Ya, really the OP did not tell us 'how' he was reading his CPU speed....
deltaecho wrote:Recently, I purchased a laptop with an Intel i7-3920XM CPU, with the intention of utilizing it for scientific computing (I've become strongly interested in machine learning and artificial neural networks). Supposedly, the CPU has a variable clock speed of 2.90 -- 3.80 GHz, which would be great, but my kernel has throttled it to 1200MHz. I've tried both the cpufreq performance and userspace kernel modules (configured for performance), but the laptop stubbornly refuses to increase the clockspeed more than 1200MHz; I gave up on cpufreq and have uninstalled it. I've read some accounts that it is possible that the Linux kernel may not support my CPU yet --- does anybody know if that is the case? If it is not, can anybody point me to some literature describing how to un-throttle my CPU?
runny6play: If deltaecho is also seeing these same slow speeds in i7z then both you and he should look into your BIOS settings. For sure this would be a BIOS setting on a ThinkPad. "If on battery....slow... if on AC...fast".
Yes, it is the Linux Kernel that is no "Reporting" the correct speed. This is a known bug. However, there is nothing wrong with your CPU. It is running at High Speed.. Like this is the read out from my Kernel at idle...
[user@archtop:~]% sudo cat /proc/cpuinfo | grep MHz
[sudo] password for user:
cpu MHz : 1200.000
cpu MHz : 1200.000
cpu MHz : 2901.000
cpu MHz : 1200.000
The BEST way to test your CPU is, again i7z then compile some code... Like change the MAKEFLAGS="-j4" to -j1 for 1 thread, -j2 for 2 threads.... and so on. Compiling software will push your CPU all the way up.
When testing like this, i7z will show on 1 thread my CPU runs at 3.6GHz, on all 4 threads it runs at 3.4GHz, as it should. However, /proc/cpuinfo will only say wacky stuff like cpu MHz: 1200.000 cpu MHz: 2901.000
Last edited by hunterthomson (2012-11-26 09:28:13) -
JVM + Linux kernel, can it have faster program execution
Hello, I am a Garo Garabedyan from Sofia, Bulgaria. I study IT and I am a fan of Java programming language. I heard that Java is going Open Source, I want to say you that in my opinion this is a very good move.
I am writing to you about one thought on Java and other languages like it (C# in example) which can become more faster in execution. Let me explain you how.
In linux (i prefer this OS) the kernel capsulates running programs in Virtual Memory jails so they can't address memory space other that they own. This is to make the OSes more secure and run any kind of programs.
But now we got this type of languages where client-programmer can't access the memory directly, instead of it he uses references. I want to encourage you to think in this way. Why we need virtual memory capsulization when we can't access others program memory? So think further. I believe that Java is going to be more popular from now, just imagine that we can run a lot of Java programs on one virtual machine. So in this way we are more faster. Transfering data between programs is going to be only cutting references.
In order to implement this i think that there are few things to be done.
As a fan of Open Source, i want to picture this in linux.
I will try to go from kernel to jvm to recognize the changes:
1)In kernel there should be a not capsulating logic specially for Java programs. The idea is to have every program separated in kernel, so other programs to be able to address them.
2)The JVM should use one garbage collector for the all running programs
3)JVM have to have in itself implementation of communication protocol(s) between programs in one operating system. In order to make java programs connect to other ones with the same interface (it makes me fool to describe this deeper, because i don't know enough in this topic)
The main idea that i want to picture is the ability to make executing programs faster.
I want to populize this way of thinking and will try to connect with Open Source community in order to make this done not only for Java programs but for OpenSource programs with checking the memory access before compilation (with reference checking tools) and run the program not in a virtual memory. Of course this is as hard as i can't imagine is it possible to be done, but i will try to publish this idea.
Thank you for your attention
Garo Garabedyan
http://garabedyan.blogspot.com/search/label/OpenSourceMany criticisms of Xen can be found with a simple Google search. The biggest one seems to be the need to modify guest OS code to make it run properly with Xen, but that is going away as Xen adds support for AMD-V and Intel VT technologies. KVM is coming on strong in the virtualization market now and seems to be the accepted choice.
That said, I'm not sure how you would setup the machine to properly host VMs with KVM.
Also, you may want to Google kexec to research that restarting the kernel without rebooting idea. -
hi all,
I am running a CentOS base VM on top of Hyper-V server. I upgraded PV drivers of Hyper-V in linux kernel 2.6.32 in order to support
Windows Server 2012, then i am hitting below issue on Windows Server 2008 when kernel switches from old PV(which is 2.6.32 based) to new PV(which is equivalent to linux integration component 3.4).i
am hitting following filesystem check error messages :
Setting hostname hostname:
Checking root filesystem
fsck.ext3/dev/hda2:
The superblock could not be read or does not describe correct ext2 filesystem. If the device is valid and it really contains an ext2
filesystem(and not swap or ufs or something else),then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
: No such file or directory while trying to open /dev/hda2
*** An error occurred during the filesystem check.
*** Dropping you to a shell; the system will reboot
*** When you leave the shell.
Also, when I go to the repair filesystem mode. I found out the strange behaviour when i ran those command :
(Repair filesytem) 1 # mount
/dev/hda2 on / type ext3 (rw)
proc on /proc type proc (rw)
(Repair filesystem) 1# cat /etc/mtab
/dev/hda2 /ext3 rw 0 0
proc /proc proc rw 0 0
(Repair filesystem) 1# df
Filesystem 1K-blocks used Available Use% Mountedon
/dev/hda2 4%
I think for all above command there should be /dev/sda2 instead of /dev/hda2.
Also my fstab , and fdisk -l looks like ok for me.
(Repair filesystem) 1# cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
LABEL=swap-xvda3 swap swap defults 0 0
(Repair filesystem) 1# fdisk -l
Device Boot Start End Block Id System
/dev/sda1 * 1 49 98535 83 Linux
Partition 1 does not end with cylinder boundary.
/dev/sda2 49 19197 39062500 83 Linux
Partition 2 does not end with cylinder boundary.
/dev/sda3 ......
Partition 3 does not ......
/dev/sda4 ......
Partition 4 does not end ....
(Repair filesystem) 1# e2label /dev/sda1
/boot
(Repair filesystem) 1# e2label /dev/sda2
(Repair fielsystem) 1# ls /dev/sd*
/dev/sda /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4
(Repair filesyatem) 1# ls /dev/hd*
ls: /dev/hd*: No such file or directory
Kindly suggest any configuration of windows server or kernel configs missing or how to resolve this issues
Many many thanks for your reply.
thanks & Regards,
Ujjwali am not able to understand duplicate UUID and from where it is picking /dev/hda* ?
~
VVM:>>
VVM:>> Output of dmesg | grep ata contain substring "Hyper-V" ?
VVM:>>
it doesn't contain "Hyper-V" or ata related message and the output doesn't change with boot parameter reserve=0x1f0, 0x8
~~
~~~~
==
output of dmesg related "ata" Ubuntu v13.04 mini.iso ( with boot parameter reserve=0x1f0, 0x8)
==
see later ( in "good situation" example )
~~
===
Disable legacy ATA driver by adding the following to kernel command line in /boot/grub/menu.lst:
reserve=0x1f0, 0x8
. (This option reserves this I/O region and prevents ata_piix from loading).
==
See output of dmesg related "ata" Ubuntu v13.04 mini.iso ( with boot parameter reserve=0x1f0, 0x8) :
~~
[ 0.176027]
libata version 3.00 loaded.
[ 0.713319]
ata_piix 0000:00:07.1: version 2.13
[ 0.713397]
ata_piix 0000:00:07.1: device not available (can't reserve [io 0x0000-0x0007])
[ 0.713404]
ata_piix: probe of 0000:00:07.1 failed with error -22
[ 0.713474]
pata_acpi 0000:00:07.1: device not available (can't reserve [io 0x0000-0x0007])
[ 0.713479]
pata_acpi: probe of 0000:00:07.1 failed with error -22
~~
As result: 1) IDE disk handled by hv_storvsc , but 2) no CD-ROM device
==
~ # blkid
/dev/sda1: LABEL="ARCH_BOOT" UUID="009c2043-4bl7-4f95-al4d-fb8951f95b5d" TYPE="ext2"
==
~~
VVM>>
VVM>>Q1: Output of blkid contain duplicate UUID ?
VVM>>
-> blkid contains duplicate UUID, below are the output.
~~
This situation is classic problem "
use hv_storvsc instead of ata_piix to handle the IDE disks devices ( but not for the DVD-ROM / CD-ROM device handling)
~~
For compare, see example "good situation":
See output of dmesg related "ata" Ubuntu v13.04 mini.iso ( without boot parameter reserve=0x1f0, 0x8) :
~~~~
~ # dmesg |grep ata
[ 0.167224] libata version 3.00 loaded.
[ 0.703109] ata_piix 0000:00:07.1: version 2.13
[ 0.703267] ata_piix 0000:00:07.1: Hyper-V Virtual Machine detected, ATA device ignore set
[ 0.703339] ata_piix 0000:00:07.1: setting latency timer to 64
[ 0.704968] scsi0 : ata_piix
[ 0.705713] scsi1 : ata_piix
[ 0.706191] atal: PATA max UDMA/33 cmd 0xlf0 ctl 0x3f6 bmdma 0xffa0 irq 14
[ 0.706194] ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0xffa8 irq 15
[ 0.868844] atal.00: host indicates ignore ATA devices, ignored
[ 0.869142] ata2.00: ATAPI: Virtual CD, , max MWDMA2
[ 0.871736] ata2.00: configured for MWDMA2
~~~~
===
~ # uname -a
Linux ubuntu 3.7.0-7-generic #15-Ubuntu SUP Sat Dec 15 14:13:08 UTC 2012 x86_64 GNU/Linux
~ # lsmod
hv_netvsc 22769 0
hv_storvsc 17496 3
hv_utils 13569 0
hv_vmbus 34432 3 hv_netvsc,hv_storvsc,hv_utils
~ # blkid
/dev/sr0: LABEL=”CDROM" TYPE="iso9660”
/dev/sda1: LABEL="ARCH_BOOT" UUID="009c2043-4bl7-4f95-al4d-fb8951f95b5d" TYPE="ext2"
===
( only CD-ROM and 1( one) IDE disk connected to ATA)
~~
regarding ata_piix.c patch . . .
As far as i understand this patch , it ignore ATA devices on Hyper-V when PV drivers(CONFIG_HYPERV_STORAGE=y) are enabled.
~~
Yes:
ignore ATA-HDD ( but not ignore ATA CD-ROM ) on Hyper-V when PV drivers(CONFIG_HYPERV_STORAGE=y) are enabled.
~
this patches need be backported:
cd006086fa5d ata_piix: defer disks to the Hyper-V drivers by default
and its prerequisite
db63a4c8115a libata: add a host flag to ignore detected ATA devices
~
~~
P.S.
Are You do this:
==
As temporary solution, increase on 1-2 Gb size all .vhd connected to IDE bus
( but not increase size of partitions inside disks)
==
? fsck write message a-la: "no error in file system" ?
2013-01-24 Answer by Ujjwal Kumar: As a temporary solution looks ok for me, but [ VVM: need true solution ]
P.P.S.
To Ujjwal Kumar :
My e-mail:
ZZZZZZZZZZZZZZZ
please send e-mail to me, in reply I send to You patches to ata_piix ( and *.c before and after patches) , etc.
} on 2013-01-14 -- DoNe -
Configure the Linux Kernel for Oracle 8i
I wish to install Oracle 8i as explaned in
its documenation. Hence, I need to recompile the Linux Kernel with increased values to shared memory or semaphore parameters. Therefore, can someone please post to this discussion
list copies of their altered
/usr/src/linux/include/asm/shmparam.h
/usr/src/linux/include/linux/sem.h
Or please point me to a clear document on how
to alter these files?
--Thank you,
--CharlesI should have told you what amount of RAM I have installed:
384 MB
Also, can someone tell me what is the above number in HEX? I calulated 17155CE0h, is the correct?
--Thanks
--Charles
null -
[SOLVED]How to patch a kernel using PKGBUILD
Hello guys,
Sorry if my question looks stupid but I'm trying to compile my first kernel following this wiki page and I wonder how to apply a patchset...
The patchset to apply is the ck one and I've downloaded the patch file from http://ck.kolivas.org/patches/3.0/3.3/3 … .3-ck1.bz2 and placed the patch itself at the root of my PKGBUILD folder.
At my first attempt to run makepkg, I could see several 'found xxx.patch' (the other patches which were already in the abs tree) but not my ck patch.
After taking a look in my PKGBUILD file I modified the source instruction as follow to include my pach:
source=("http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.3.tar.xz"
"http://www.kernel.org/pub/linux/kernel/ … pkgver}.xz"
# the main kernel config files
'config' 'config.x86_64'
# standard config files for mkinitcpio ramdisk
"${pkgname}.preset"
'fix-acerhdf-1810T-bios.patch'
'change-default-console-loglevel.patch'
'i915-fix-ghost-tv-output.patch'
'ext4-options.patch'
'patch-3.3-ck1')
Now when I run makepkg, it founds my patch but right after I get a md5 cheksum error:
-> Found config
-> Found config.x86_64
-> Found linux-custom.preset
-> Found fix-acerhdf-1810T-bios.patch
-> Found change-default-console-loglevel.patch
-> Found i915-fix-ghost-tv-output.patch
-> Found ext4-options.patch
-> Found patch-3.3-ck1
==> ERROR: Integrity checks (md5) differ in size from the source array.
[sclarckone@archLaptop linux]$
I could disable the checksum in makepkg.conf but maybe I'm doing it wrong so I'd like to know the clean way to do it ;-)
Thanks for your help.
Last edited by sclarckone (2012-04-18 19:42:01)makepkg -g >> PKGBUILD will do this automatically for ya. FYI, there is a linux-ck package in the AUR you can use as a model if you wish.
-
Upgrading Oracle Linux with Oracle Unbreakable Linux Kernel
Hi all.
I'd like to upgrade an Oracle Linux OS with unbreakable linux kernel.
Current version is :
[oracle@union ~]$ uname -r
2.6.18-164.el5PAE
Which steps needs to be performed?.
I know i must be at 2.6.32. Also Unbreakable Enterprise Kernel is available for x86-64 servers.
Q: How do i know if my distro is x86 or x86-64?
Regards, Luis ...!Hi Dude... what's a pae kernel?
[oracle@union ART0]$ uname -a
Linux union.rioturbio.com.ve 2.6.18-164.el5PAE #1 SMP Thu Sep 3 02:28:20 EDT 2009 i686 i686 i386 GNU/Linux
[oracle@union ART0]$
No x86_64 x86_64 x86_64 GNU/Linux
Also:
[oracle@union ART0]$ grep flags /proc/cpuinfo |grep lm
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constanttsc ida nonstoptsc pni monitor ds_cpl vmx est tm2 cx16 xtpr popcnt lahf_lm [8]
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr popcnt lahf_lm [8]
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr popcnt lahf_lm [8]
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr popcnt lahf_lm [8]
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr popcnt lahf_lm [8]
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr popcnt lahf_lm [8]
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr popcnt lahf_lm [8]
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr popcnt lahf_lm [8]
[oracle@union ART0]$
There is lm although....
So i guess the installation is for 32bit.
Do i need to download a 64bit distro?. -
Fix linux kernel vulnerability
At the moment I have one OEL server ... during boot up it reports
Red Hat Nash 5.1.19.6 ( yes it reports Red Hat even though I built it from an OEL download.)
Once up, a 'uname -a' reports '2.6.18-164.el5 x86-64.'
Now I have a directive to upgrade the kernel if the kernel is a 2.6.x release prior to 20 Sept. 2010 for Red Hat Enterprise v5 servers)
I assume that even though this was built from an OEL download, the fact that it is still showing "Red Hat" at boot time means I'm still on a Red Hat distro.
How do I make the upgrade?
As this is a trial machine, we have not purchased a support contract. That is not out of the question, but short term I'd rather not wait on our arcane purchasing system.jonjac wrote:
The OSS document that you mentioned lists the latest kernels as of September 2010, and describes the changes made.
Why are you afraid that you might not be in compliance?
Because I don't know enough about what I'm doing to be able to confirm that the specific issue has been addressed.
I'll be the first to admit that I may be staring the answer in the face and simply not recognizing it because I'm not familiar enough with administering Linux versions/patches, etc. I'm comfortable as a linux user and as a DBA with my db's on linux (actually, I stay away from Windows as much as possible), but this is a level of os admin I've never had to deal with.
Part of what leaves me a bit uncomfortable is the statement in my directive that the directive states
=========
Affected Software/Patch(es):
Linux Kernel 2.6.X releases prior to 20 September 2010 *
===========================
but even with the latest applied updates, I get
[root@lnxsrv02 ~]# uname -a
Linux lnxsrv02.mydomain 2.6.32-100.0.19.el5 #1 SMP Fri Sep 17 17:51:41 EDT 2010 x86_64 x86_64 x86_64 GNU/LinuxNote that - with no further reference - the date of my update level would have me at an "Affected" level.
If I understand correctly, all you need to do is install the latest kernel update of OEL, because that's the distribution you are running.
What repositories does your system use? Which kernel updates are automatically available?
Here's a complete accounting of what I've done ...
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.10.20 13:39:51 =~=~=~=~=~=~=~=~=~=~=~=
[root@lnxsrv02 ~]# yum install kernel
Loaded plugins: security
el5_u4_base | 1.1 kB 00:00
Setting up Install Process
Package kernel-2.6.18-164.el5.x86_64 already installed and latest version
Nothing to do
[root@lnxsrv02 ~]# cat /etc/enterprise-release
Enterprise Linux Enterprise Linux Server release 5.4 (Carthage)
[root@lnxsrv02 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.10.20 16:21:01 =~=~=~=~=~=~=~=~=~=~=~=
[root@lnxsrv02 yum.repos.d]# yum install kernel
Loaded plugins: security
el5_u5_base | 1.1 kB 00:00
el5_u5_base/primary
<snip>
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.10.21 10:44:59 =~=~=~=~=~=~=~=~=~=~=~=
[root@lnxsrv02 ~]# yum update
Loaded plugins: security
el5_u5_base | 1.1 kB 00:00
ol5_u5_base | 957 B 00:00
Skipping security plugin, no data
<snip>
Complete!
[root@lnxsrv02 ~]# reboot
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.10.21 11:30:27 =~=~=~=~=~=~=~=~=~=~=~=
[root@lnxsrv02 ~]# cat /etc/enterprise-release
Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)
[root@lnxsrv02 ~]# uname -a
Linux lnxsrv02.mydomain 2.6.32-100.0.19.el5 #1 SMP Fri Sep 17 17:51:41 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
[root@lnxsrv02 ~]# yum install oracle-linux
Loaded plugins: security
el5_u5_base | 1.1 kB 00:00
ol5_u5_base | 957 B 00:00
Setting up Install Process
Resolving Dependencies
<snip>
Complete!
[root@lnxsrv02 ~]# reboot
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.10.21 12:14:01 =~=~=~=~=~=~=~=~=~=~=~=
[root@lnxsrv02 ~]# uname -a
Linux lnxsrv02.mydomain 2.6.32-100.0.19.el5 #1 SMP Fri Sep 17 17:51:41 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
[root@lnxsrv02 ~]# cat /etc/enterprise-release
Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)
[root@lnxsrv02 ~]# yum list kernel
Loaded plugins: security
Installed Packages
kernel.x86_64 2.6.18-164.el5 installed
kernel.x86_64 2.6.32-100.0.19.el5 installed
[root@lnxsrv02 ~]# yum repolist all
Loaded plugins: security
repo id repo name status
el5_addons Enterprise Linux 5 - x86_64 - addons disabled
el5_ga_base Enterprise Linux 5 GA - x86_64 - base disabled
el5_oracle_addons Enterprise Linux 5 - x86_64 - oracle_addons disabled
el5_u1_base Enterprise Linux 5 U1 - x86_64 - base disabled
el5_u2_base Enterprise Linux 5 U2 - x86_64 - base disabled
el5_u3_base Enterprise Linux 5 U3 - x86_64 - base disabled
el5_u4_base Enterprise Linux 5 U4 - x86_64 - base disabled
el5_u5_base Enterprise Linux 5 U5 - x86_64 - base enabled: 4,372
ol5_u5_base Oracle Linux 5 - U5 - x86_64 - base enabled: 53
repolist: 4,425 -
MDM Not Able To Load Linux Kernel Images Larger Than 32MB?
Hi All,
I've been building linux initramfs images for use with a Kintex7 (KC705) running a MicroBlaze processor and have been running into an issue with loading the images using the MicroBlaze Debug Module. It seems the system won’t boot if the image is larger than 32 MB. Unfortunately, my use case requires all application code to be contained in the kernel image and I won't have local non-volatile to boot from.
Some key factors:
Petalinux 2014.4
FPGA image built using Vivado 2014.4 on Windows 7
1GB RAM on KC705
Loading images using TCL script on XMD on Windows 7
As an example, I built an image that would fit within the 32 byte "limit" and booted it with no issues:
Image Type: MicroBlaze Linux Kernel Image (uncompressed)
Data Size: 31035828 Bytes = 30308.43 kB = 29.60 MB
MicroBlaze Processor Configuration :
Version............................9.4
Optimization.......................Performance
Interconnect.......................AXI-LE
MMU Type...........................Full_MMU
No of PC Breakpoints...............1
No of Read Addr/Data Watchpoints...0
No of Write Addr/Data Watchpoints..0
Instruction Cache Support..........on
Instruction Cache Base Address.....0x80000000
Instruction Cache High Address.....0xbfffffff
Data Cache Support.................on
Data Cache Base Address............0x80000000
Data Cache High Address............0xbfffffff
Exceptions Support................on
FPU Support.......................off
Hard Divider Support...............on
Hard Multiplier Support............on - (Mul64)
Barrel Shifter Support.............on
MSR clr/set Instruction Support....on
Compare Instruction Support........on
PVR Supported......................on
PVR Configuration Type.............Full
Data Cache Write-back Support......off
Fault Tolerance Support............off
Stack Protection Support...........off
Connected to "mb" target. id = 0
Starting GDB server for "mb" target (id = 0) at TCP port no 1234
System Reset .... DONE
Downloading Program -- simpleImage.mb
section, .text: 0x80000000-0x802a2b27
section, .init.text: 0x80359000-0x803727a3
section, .init.ivt: 0x803749c0-0x803749e7
section, .note.gnu.build-id: 0x00000000-0x00000023
section, __fdt_blob: 0x802a2b28-0x802aab27
section, .rodata: 0x802ab000-0x8032085f
section, __ksymtab: 0x80320860-0x803254f7
section, __ksymtab_gpl: 0x803254f8-0x80327f17
section, __ksymtab_strings: 0x80327f18-0x803380f6
section, __param: 0x803380f8-0x80338417
section, __modver: 0x80338418-0x80338fff
section, __ex_table: 0x80339000-0x8033a59f
section, .sdata2: 0x8033a5a0-0x8033afff
section, .data: 0x8033b000-0x8035809f
section, .init.data: 0x803727a4-0x803749bf
section, .init.setup: 0x803749e8-0x80374cdb
section, .initcall.init: 0x80374cdc-0x80374fa3
section, .con_initcall.init: 0x80374fa4-0x80374fab
section, .init.ramfs: 0x80374fac-0x81d991b3
section, .bss: 0x81d9a000-0x81dabb7b
Then, I added a 10MB random file (created using dd from /dev/urandom) to the same rootfs and tried booting again unsuccessfully:
Image Type: MicroBlaze Linux Kernel Image (uncompressed)
Data Size: 41521588 Bytes = 40548.43 kB = 39.60 MB
MicroBlaze Processor Configuration :
Version............................9.4
Optimization.......................Performance
Interconnect.......................AXI-LE
MMU Type...........................Full_MMU
No of PC Breakpoints...............1
No of Read Addr/Data Watchpoints...0
No of Write Addr/Data Watchpoints..0
Instruction Cache Support..........on
Instruction Cache Base Address.....0x80000000
Instruction Cache High Address.....0xbfffffff
Data Cache Support.................on
Data Cache Base Address............0x80000000
Data Cache High Address............0xbfffffff
Exceptions Support................on
FPU Support.......................off
Hard Divider Support...............on
Hard Multiplier Support............on - (Mul64)
Barrel Shifter Support.............on
MSR clr/set Instruction Support....on
Compare Instruction Support........on
PVR Supported......................on
PVR Configuration Type.............Full
Data Cache Write-back Support......off
Fault Tolerance Support............off
Stack Protection Support...........off
Connected to "mb" target. id = 0
Starting GDB server for "mb" target (id = 0) at TCP port no 1234
System Reset .... DONE
Downloading Program -- simpleImage.mb
section, .text: 0x80000000-0x802a2b27
section, .init.text: 0x80359000-0x803727a3
section, .init.ivt: 0x803749c0-0x803749e7
section, .note.gnu.build-id: 0x00000000-0x00000023
section, __fdt_blob: 0x802a2b28-0x802aab27
section, .rodata: 0x802ab000-0x8032085f
section, __ksymtab: 0x80320860-0x803254f7
section, __ksymtab_gpl: 0x803254f8-0x80327f17
section, __ksymtab_strings: 0x80327f18-0x803380f6
section, __param: 0x803380f8-0x80338417
section, __modver: 0x80338418-0x80338fff
section, __ex_table: 0x80339000-0x8033a59f
section, .sdata2: 0x8033a5a0-0x8033afff
section, .data: 0x8033b000-0x8035809f
section, .init.data: 0x803727a4-0x803749bf
section, .init.setup: 0x803749e8-0x80374cdb
section, .initcall.init: 0x80374cdc-0x80374fa3
section, .con_initcall.init: 0x80374fa4-0x80374fab
section, .init.ramfs: 0x80374fac-0x827991b3
section, .bss: 0x8279a000-0x827abb7b
I've also tried the same test with a plain Petalinux image and none of my application code or other customizations to rule out a configuration issue. Additionally, I've tried updating Vivado to 2015.2 and rebuilding the FPGA image, also with no success.
FYI, here is the TCL script used to load the images:
fpga -f system_top.bit
connect mb mdm
after 2000
dow simpleImage.mb
con
disconnect 0
I've done a bunch of research on initramfs and haven't seen anything that points to a size limit (except as it relates to RAM size). Anyone have an idea what's going on?
Thanks!
-NickSome additional information:
When the system fails to boot, there is no error message displayed either on the XMD window or the linux console output. The console remains blank.
I have been able to add random files to the ramdisk that do not push the size over the 32MB boundary and the system successfully boots. -
T5120 with a linux Kernel embedded in firmware
I need to re-purpose a T5120 (i.e., reinstall Solaris 10 & selected apps), but in a previous life this box was apparently used as a SPARC based VM Manager; there is a small linux kernel which boots immediately upon connection to power (power button not pressed). I've found no way to interrupt or disable this process. Furthermore, after this firmware startup is complete, you're prompted for login credentials, which, of course, no one can remember.
Using a laptop with CentOS 6.3 and minicom to "tip" in.
I need to know what must be done to make this a "normal" T5120 one again.
TIAHello
What login credential are you requested for solaris OS or for ILOM?
If it is OS, then you can put the auto-boot to false using the ILOM
Avoid Booting the Solaris Operating System at Startup - SPARC Enterprise T5120 and T5220 Servers Topic Set
If they are ILOM password and you don't remember it, this docs could help
How to reset the ILOM root password back to the default 'changeme' using ipmitool. (Doc ID 1328316.1)
How to Reset ILOM (2.0) Root Password on T5120/T5220/T5140/T5240 [Video] (Doc ID 1007050.1)
Regards
Eze
Maybe you are looking for
-
HP LaserJet CM1410 Series Firmware Enhancements and Fixes
In the "More Info" section of the following firmware update for the LaserJet Pro CM1415nfw File name: CM1410_MFP_Series_FW_Update-20120629.dmg [1/1, 56.67M] System requirements: This utility is for use on Mac OS X 10.5, Mac OS X 10.6, Mac OS X 10.7,
-
Creating an "e" in the "@" symbol
Hi. I am mainly a video editor, and I use Photoshop, but I am not really too familiar with Illustrator. I have exported other's work for use in Photoshop, but that's about it. What I need probably sounds very simple, but I just can't figure out how t
-
How to compile and publish after modified a .java file?
Hello, I am a newbie to Business Object. I am now working on a server that installed BusinessObjects Enterprise, to develop and run BO reports. I need to edit some java codes of the InfowView. I found that there are some .java, .class, .jar files und
-
Object Id Guid While creating G service Order
Hi , Is there any FM by which I can get Objectid(GUID) and Service Employee group before saving of order, i.e while creation and after entering service employee group thanks Pankaj
-
Can not download the premiere. See my case number 0215033566
I have followed all the instructions you gave me. I assigned one use for the meantime (myself). I am the administrator as well I can see that we have one license for the Premiere Pro. Now, I have to download it but Ican download the trial version on