LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-17-2005, 05:02 PM   #16
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46

i always recompile my modules because i recompile my kernel for my P4 and if you compile just the kernel for a P4 or anything other then a 586 like the stock modules they wont load. besides it doesn't take nearly as long as the kernel so why not?
 
Old 04-17-2005, 05:59 PM   #17
dustynus
Member
 
Registered: Jan 2005
Location: Canada
Distribution: Suse 9.1
Posts: 83

Original Poster
Rep: Reputation: 15
Well, I'm probably going to get suse 9.3
I tried Ubuntu ( they say they support the ipod...) But I couldn't get the wireless networking working.

regards
 
Old 04-18-2005, 02:37 AM   #18
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
dustynus: Don't give up, it's not that hard Kernel compilation is fun!

johnson_steve: Could you please explain that to me? Why do the modules not load anymore if you re-compile the kernel without changing any other setting than EFI support? And about the time consumption: on my system it takes at least half the time to compile the kernel only (instead of both, kernel and modules).

dustynus: Sorry for the hijack!
 
Old 04-18-2005, 06:38 AM   #19
dustynus
Member
 
Registered: Jan 2005
Location: Canada
Distribution: Suse 9.1
Posts: 83

Original Poster
Rep: Reputation: 15
Can someone explain what Compiling a kernel is ? And how to go about doing it?
 
Old 04-18-2005, 07:46 AM   #20
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
A kernel is written in a programming language (I don't even know which, but I think it is C). You can't run program code without translating (compiling) it into something your machine understands. The result of this compilation is a binary file.

What does your problem have to do with this?

The default kernel has been compiled using paramters that do not allow a proper recognition of your iPOD. Therefore it needs to be recompiled, this time with other settings.

How does that work?

Have a look at the link I provided or at the instruction johnson_steve gave previously in this thread.

Last edited by abisko00; 04-18-2005 at 07:47 AM.
 
Old 04-18-2005, 11:26 AM   #21
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
im sure your modules would load if all you change is the EFI option. but if i'm going to recompile i change other options too. you get better performace with a kernel compiled for your hardware. a 586 kernel runs on any pentium and up chip but knows nothing about hyperthreading on my P4 for example. if you compile everything for your chip you can use features that wouldn't be available to you otherwise. makes your computer faster. all my computers have kernels compiled this way. except the mac and my sgi box. so ive had problems loading modules in the past. so I always do this. on my computer it takes forever to compile the kernel, but the modules take like 5 min.
 
Old 04-18-2005, 11:56 AM   #22
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
I see your point. But I still stand to mine: Once you have a kernel you are happy with and you find out that it requires a minor change like EFI support, I wouldn't compile modules. And this is what I would suggest any newbie that wants to run his/her iPOD. But I guess everyone has his own way...
 
Old 04-18-2005, 12:13 PM   #23
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
i'm sure you way works i've just never tried it that way
 
Old 05-13-2005, 04:49 PM   #24
webterractive
Member
 
Registered: Apr 2004
Location: Richmond, Canada
Distribution: Mandriva 2006/XPSP2
Posts: 265

Rep: Reputation: 30
I had the same problem, I found the easiest ways it to just restart hotplug at /etc/init.d/hotplug and unplug it when it ejects. Ubuntu which uses 2.6.10-8 for a kernel has the a good working hotplug script, you just eject /dev/sda and it works fine.

Last edited by webterractive; 05-13-2005 at 04:50 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
I/O error with 4th gen iPod hbbtstar Linux - Hardware 2 05-08-2005 11:22 PM
ipod/ipod shuffle woes (lack of permissions to edit files) Lechium Linux - Software 1 04-13-2005 03:14 PM
Mount error with Ipod on Debian ncsuapex Linux - Hardware 0 02-12-2005 01:50 PM
iPod write error kupek85 Linux - Hardware 0 09-09-2004 05:53 PM
ipod detected and added by kudzu but no files in /mnt/ipod gtan Linux - Hardware 5 08-31-2004 09:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:07 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