LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 12-22-2003, 02:44 PM   #121
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45

Hi, and thanks for you comments, I'm glad tht you found it useful.

The most commonly used method to use external module code is to compile it after compiling the kernel, like another driver would (ALSA or videocard drivers), because you have to see if what you overwrote had or not any dependencies in the ACPI code or somewhere else in the whole source structure (and hence the error). I don't know much about this stuff, but maybe there's already patch for the SCSI RAID controller you are installing? Maybe this code has already been put together as a patch.

My recommendation as to leave the source tree in an original state would be to either execute 'make distclean' or 'make mrproper' (these will also erase your .config file), however if you have made any substitution to the sources files this will not work you'll need to re-extract the sources or in the case of the kernel you are using in Fedora, re-install the kernel-source package by rpm -e kernel-source<version> and followed by rpm -ivh kernel-source-<version>
 
Old 12-22-2003, 07:59 PM   #122
dkaplowitz
Member
 
Registered: Oct 2002
Location: Havertown PA
Distribution: Ubuntu/RHEL/Fedora
Posts: 253

Rep: Reputation: 31
Thanks for the quality post.
 
Old 12-23-2003, 01:49 AM   #123
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
You are welcome.
 
Old 12-26-2003, 02:24 AM   #124
vincebs
Member
 
Registered: Oct 2003
Location: Mississauga, ON
Distribution: Ubuntu 9.04
Posts: 496

Rep: Reputation: 30
Almost working...

Hi there,

I managed to remove the UR errors by compiling all the related modules into the kernel. Now I can successfully boot. However, I still get these errors in my dmesg:

Code:
...
agpgart: Detected an Intel i815 Chipset, but could not find the secondary device.
...
Uniform CD-ROM driver Revision: 3.12
end_request: I/O error, dev hdd, sector 0
hdd: ATAPI 32X CD-ROM CD-R/RW drive, 4096kB Cache, UDMA(33)
...
request_module: failed /sbin/modprobe -- snd-card-0. error = -16
...
HID device not claimed by input or hiddev
hid: probe of 1-1:1.2 failed with error -5
usbfs: USBDEVFS_CONTROL failed cmd usbmodules dev 2 rqt 128 rq 6 len 18 ret -32
usbfs: USBDEVFS_CONTROL failed cmd usbmodules dev 2 rqt 128 rq 6 len 18 ret -110
usbfs: USBDEVFS_CONTROL failed cmd usbmodules dev 2 rqt 128 rq 6 len 18 ret -110
usbfs: USBDEVFS_CONTROL failed cmd usbmodules dev 2 rqt 128 rq 6 len 9 ret -110
usbfs: USBDEVFS_CONTROL failed cmd usbmodules dev 2 rqt 128 rq 6 len 9 ret -110
usbfs: USBDEVFS_CONTROL failed cmd usbmodules dev 2 rqt 128 rq 6 len 9 ret -110
usbfs: USBDEVFS_CONTROL failed cmd usbmodules dev 2 rqt 128 rq 6 len 9 ret -110
usbfs: USBDEVFS_CONTROL failed cmd usbmodules dev 2 rqt 128 rq 6 len 94 ret -110
usbfs: USBDEVFS_CONTROL failed cmd usbmodules dev 2 rqt 128 rq 6 len 9 ret -32
It also says that my BIOS is too old to support APIC. Yet one of the dmesg messages says: "Found and enabled local APIC!"

Any ideas on how to fix these problems?

Also, what do I need to compile to remove that CD-R/RW drive error up there? The config help says that you no longer need ide-scsi...

Last edited by vincebs; 12-26-2003 at 02:55 AM.
 
Old 01-10-2004, 06:35 PM   #125
Blackrose1
Member
 
Registered: Oct 2003
Location: jacksonville, fl
Distribution: rh8
Posts: 33

Rep: Reputation: 15
I've been trying to upgrade my computer using apt (I'm running rh8 on 266 mhz amd w/30gig hd) and
when apt attempts to install packages I get these error messages:
"warning : /var/cache/apt/archives/rpm-python_4.1.1-1.8x_i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: /var/cache/apt/archives/kdelibs_6%3a3.05a-5_i386.rpm V3 DSA signature: BAD, key ID db42a60e
error: /var/cache/apt/archives/kdelibs_6%3a3.05a_5i386.rom cannot be installed
E: Sub-process /bin/rpm returned an error code (1)
and if you could... keep the explanation simple, please. thanks.
 
Old 01-11-2004, 02:45 AM   #126
linx win
Member
 
Registered: Jan 2004
Posts: 390

Rep: Reputation: 31
I am trying to upgrade my kernel from 2.4.20-8 to 2.6.0 using an RPM. However, every time I start that RPM it tells me that I need to install module-init-tools. I installed the module-init-tools-3.0-pre5.tar.gz successfully but I still get the message. Apparently, this module is not installing but the system tells me installation done with no errors. I tried to that with many different versions of the module-init-tools, but I get the same result. When I check the version of the module-init-tools in the system it tells me no such command. How can I solve this problem. My system is Red Hat 9.

By the way, I tried to upgrade the kernel using a tarball, but I got too many problems with sound, USB, DOS partition, etc.
 
Old 01-11-2004, 11:39 PM   #127
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by Blackrose1
I've been trying to upgrade my computer using apt (I'm running rh8 on 266 mhz amd w/30gig hd) and
when apt attempts to install packages I get these error messages:
"warning : /var/cache/apt/archives/rpm-python_4.1.1-1.8x_i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: /var/cache/apt/archives/kdelibs_6%3a3.05a-5_i386.rpm V3 DSA signature: BAD, key ID db42a60e
error: /var/cache/apt/archives/kdelibs_6%3a3.05a_5i386.rom cannot be installed
E: Sub-process /bin/rpm returned an error code (1)
and if you could... keep the explanation simple, please. thanks.
Did you install the apt repository's GPG signature first?
Code:
# rpm --import /path/to/<GPG signature file>
If you are using freshrpms, first upgrade apt, then install synaptic and see what upgrades are available.

PS: Please let's keep the thread on topic
 
Old 01-11-2004, 11:41 PM   #128
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by linx win
I am trying to upgrade my kernel from 2.4.20-8 to 2.6.0 using an RPM. However, every time I start that RPM it tells me that I need to install module-init-tools. I installed the module-init-tools-3.0-pre5.tar.gz successfully but I still get the message. Apparently, this module is not installing but the system tells me installation done with no errors. I tried to that with many different versions of the module-init-tools, but I get the same result. When I check the version of the module-init-tools in the system it tells me no such command. How can I solve this problem. My system is Red Hat 9.

By the way, I tried to upgrade the kernel using a tarball, but I got too many problems with sound, USB, DOS partition, etc.
You did not install the package from RPM and hence it is not on the dependencies database of the RPM database, however from the very same page you got the tar.gz, there's an RPM you may use.
 
Old 01-13-2004, 04:54 AM   #129
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
Question kernel 2.6.0 - modprobe fail

i have compilied 2.6.0 kernel for my red hat 9.0 linux box. there r some troubles. and i dont know how to fix it. it doesnt load ethernet card (dmfe) . i think i compilied kernel wirh wrong options. i coulndt find an option for this in configurator (make xconfig). <lsmod> nor <modprobe> doesnt work.

it says :
[root@teknik-rh9 root]# lsmod
Module Size Used by Not tainted
lsmod: QM_MODULES: Function not implemented

how can i fix it?

thanks
 
Old 01-14-2004, 02:26 PM   #130
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
Did you check or uncheck the loadable modules support in your kernel?
 
Old 01-16-2004, 08:19 AM   #131
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
enable loadable module support - checked
module unloading - checked
forced module unloading - unchecked
module versioning support - checked
automatic kernel module loading - checked
 
Old 01-16-2004, 12:59 PM   #132
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by maxut
enable loadable module support - checked
module unloading - checked
forced module unloading - unchecked
module versioning support - checked
automatic kernel module loading - checked
Ok, how's your modprobe.conf file looks like (you should have an entry similar to that in modules.conf regarding your ethernet card)? Maybe you did not compile the correct driver?
 
Old 01-18-2004, 01:19 PM   #133
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
never mind.
i installed fedora . it works fine. i could compile 2.6.0 kernel.

thanks a lot.
 
Old 01-18-2004, 11:29 PM   #134
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
You're welcome
 
Old 01-19-2004, 02:37 AM   #135
ekoome
Member
 
Registered: Sep 2003
Posts: 52

Rep: Reputation: 15
compilation error

I get the following error when trying to upgrade from 2.4.22 to 2.6.1 RHL 7.3 gcc2.96. This happens when i get to fs/proc/array.c.

fs/proc/array.c: In function `proc_pid_stat':
fs/proc/array.c:398: Unrecognizable insn:
(insn/i 1329 1665 1659 (parallel[
(set (reg:SI 0 eax)
(asm_operands ("") ("=a") 0[
(regI 1 edx)
]
[
(asm_inputI ("A"))
] ("include/linux/times.h") 38))
(set (reg:SI 1 edx)
(asm_operands ("") ("=d") 1[
(regI 1 edx)
]
[
(asm_inputI ("A"))
] ("include/linux/times.h") 38))
(clobber (reg:QI 19 dirflag))
(clobber (reg:QI 18 fpsr))
(clobber (reg:QI 17 flags))
] ) -1 (insn_list 1323 (nil))
(nil))
fs/proc/array.c:398: confused by earlier errors, bailing out
make[2]: *** [fs/proc/array.o] Error 1
make[1]: *** [fs/proc] Error 2
make: *** [fs] Error 2

Is this a Kernel bug?

Eric
 
  


Reply

Tags
howto, tutorial



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
Red Hat/Fedora ALSA mini-HowTo. Thetargos Red Hat 182 04-01-2006 12:12 PM
red hat 9 kernel compilation b0nd Linux - Newbie 1 08-11-2005 10:05 AM
Kernel compilation (2.4.25 - Red Hat) on DELL Inspiron 2650 rohitmordani Linux - Laptop and Netbook 7 04-05-2004 05:10 PM
Red Hat does not plan to release another product in the red hat linux line... Whitehat General 5 11-03-2003 06:33 PM
Red Hat Update Agent for kernel updates and custom kernels SparceMatrix Linux - General 5 09-03-2002 04:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 09:10 AM.

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