LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-13-2004, 03:18 AM   #46
computeridiot01
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Rep: Reputation: 0

I had this problem on my 2.6.0 redhat 9 when i was upgrading. I kept getting the Kernel panic error upon boot up... seemed to be i didnt configure my ata/ide devices into the kernel and it wasnt decting my hard drive. After i configured it in, it booted up with no problem
 
Old 01-15-2004, 03:27 PM   #47
linx win
Member
 
Registered: Jan 2004
Posts: 390

Rep: Reputation: 31
I installed Mandrake 9.2 and tried to upgrade kernel to 2.6. I did make oldconfig. Then I did make bzImage and got the following:

drivers/built-in.o(.text+0x5cf89): In function `ttusb_cmd':
: undefined reference to `usb_bulk_msg'
drivers/built-in.o(.text+0x5cfe9): In function `ttusb_cmd':
: undefined reference to `usb_bulk_msg'
drivers/built-in.o(.text+0x5de67): In function `ttusb_free_iso_urbs':
: undefined reference to `usb_free_urb'
drivers/built-in.o(.text+0x5deac): In function `ttusb_alloc_iso_urbs':
: undefined reference to `usb_alloc_urb'
drivers/built-in.o(.text+0x5defa): In function `ttusb_stop_iso_xfer':
: undefined reference to `usb_unlink_urb'
drivers/built-in.o(.text+0x5dfce): In function `ttusb_start_iso_xfer':
: undefined reference to `usb_submit_urb'
drivers/built-in.o(.text+0x5e1df): In function `ttusb_setup_interfaces':
: undefined reference to `usb_reset_configuration'
drivers/built-in.o(.text+0x5e1ef): In function `ttusb_setup_interfaces':
: undefined reference to `usb_set_interface'
drivers/built-in.o(.text+0x5dd63): In function `ttusb_iso_irq':
: undefined reference to `usb_submit_urb'
drivers/built-in.o(.init.text+0x492a): In function `ttusb_init':
: undefined reference to `usb_register'
drivers/built-in.o(.exit.text+0x2f9): In function `ttusb_exit':
: undefined reference to `usb_deregister'
make: *** [.tmp_vmlinux1] Error 1

Can some one tell me what did I do wrong here?
 
Old 01-15-2004, 09:02 PM   #48
Lost Penguin
Member
 
Registered: Feb 2003
Location: Orlando, FL
Distribution: 2.6.1-1.131smp on Fedora Core 1
Posts: 31

Rep: Reputation: 15
Download the RPMs.....

Why compile, download the Fedora rpms for 2.6.1......
I think that a person from Redhat is better at compiling than me!

http://people.redhat.com/arjanv/2.6/RPMS.kernel/

BTW your problem in your compile is just the ext3 driver missing from the file
/boot/initrd-2.6.0.(whatever you named the kernel).img

fix it by:
su to root
cd /boot
mkinitrd -f /boot/initrd-2.6.0.img 2.6.0

then make sure:
/boot/grub/grub.conf
shows that same initrd file for the 2.6.0 kenel boot line.
example: (on the fourth line)

title Fedora Core (2.6.1-1.126smp)
root (hd0,0)
kernel /vmlinuz-2.6.1-1.126smp ro root=/dev/hda2 rhgb apm=power_off
initrd /initrd-2.6.1-1.126smp.img
 
Old 01-16-2004, 09:37 AM   #49
linx win
Member
 
Registered: Jan 2004
Posts: 390

Rep: Reputation: 31
I tried the RPM but did not work with red hat so I switched to Mandrake 9.2 and tried the RPM but did not work also. Finally, I was able to compile it but I can not mount the CDrom, floppy and windows partitions. I think I made some thing wrong during the configuration. I checked the .config file in the root folder and found that their file systems are enabled. Can some one help?
 
Old 01-16-2004, 05:38 PM   #50
Lost Penguin
Member
 
Registered: Feb 2003
Location: Orlando, FL
Distribution: 2.6.1-1.131smp on Fedora Core 1
Posts: 31

Rep: Reputation: 15
Quote:
Originally posted by linx win
I tried the RPM but did not work with red hat so I switched to Mandrake 9.2 and tried the RPM but did not work also. Finally, I was able to compile it but I can not mount the CDrom, floppy and windows partitions. I think I made some thing wrong during the configuration. I checked the .config file in the root folder and found that their file systems are enabled. Can some one help?
Uh, It is a Redhat (well Fedora core 1) RPM. Redhat rpms do not always work in Mandrake.

I am running it in Fedora core 1

Download the kernel files you need to a empty directory:
Su to root in a terminal:
cd to the directory you downloaded them into:
run this command:
rpm -ivh *.rpm

This will install all the kernel files you have placed in this directory.
 
Old 01-16-2004, 08:25 PM   #51
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
The distro should not matter when it comes to compiling the kernel for your hardware. You just need to stick with one distro and work on the kernel config, and load the needed modules.

The rpm is ok, but you can do the same thing with the source using make install as long as the updated mod-utils are instaled you should be able to load the modules from /etc/rc.d/rc.modules
 
Old 01-17-2004, 01:32 PM   #52
linx win
Member
 
Registered: Jan 2004
Posts: 390

Rep: Reputation: 31
Lost Penguin

I have downloaded eveything in that link and installed Red Hat 9 and just followed your instruction but did not work. I thing this is good just for Fedora only. By the way, I suceeded in upgrading Mandrake 9.2 to kernel 2.6.1 using a tarbal file but I got some problems with sound, modem, mounting cdrom automatically and mounting my windows partitions. I am tring to seek solutios from the fourm.

Last edited by linx win; 01-17-2004 at 01:36 PM.
 
Old 01-18-2004, 09:07 PM   #53
Lost Penguin
Member
 
Registered: Feb 2003
Location: Orlando, FL
Distribution: 2.6.1-1.131smp on Fedora Core 1
Posts: 31

Rep: Reputation: 15
Quote:
Originally posted by linx win
Lost Penguin

I have downloaded eveything in that link and installed Red Hat 9 ~
The rpm file is only made for Fedora, A source rpm (src.rpm) will work anywhere but not a regular binairy rpm (i*86.rpm). The rpm files I pointed you to are only for Fedora core 1.

Fedora it is the next "Redhat" version and very stable.
 
Old 01-20-2004, 12:21 AM   #54
linx win
Member
 
Registered: Jan 2004
Posts: 390

Rep: Reputation: 31
Here you can find how you can do it in Mandrake 9.2:

http://www.linuxquestions.org/questi...hreadid=135780
 
Old 01-24-2004, 11:47 PM   #55
gokul
Member
 
Registered: Jun 2002
Distribution: mandrake,redhat,fedora
Posts: 34

Rep: Reputation: 15
If are having problems still..

I suggest u read a proper compile HOW TO for kernel 2.6 . It has some requirements prior to compiling and installing. I personally use mandrake 9.2. Fedora might be different but I may tell u what u might be missing.

Checkout this link:
http://easymamecab.mameworld.net/html/mandrake.htm

Glad to be of any help (bear withme. This is my first contribution)
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question and Answer Help for Compiling the Kernel binarybob0001 Linux - General 5 12-02-2005 01:05 AM
Answer to Question??? Saquear Linux - Networking 1 11-10-2005 01:49 PM
Noone knows the answer to this question??? lexington Linux - Newbie 5 05-02-2004 03:12 PM
the answer is NO, now what's the question salparadise General 7 02-02-2004 02:49 PM
Can you answer this question? mguzman Linux - Software 2 03-16-2002 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:55 PM.

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