View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Mar 27, 2011 2:14 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Maybe I've just been battling hardware problems too long today and have gone stupid, but my searches are coming up blank on how to build a custom kernel under R6. I need a kernel that is compatible with 6.04 but which doesn't have the r8169 NIC driver built-in.

This provided me with some of the bits needed: http://knoppmyth.net/phpBB2/viewtopic.php?t=19849 but when I tried to use makepkg -o to get the source it spewed up an error after downloading the source for kernel26 (from kernel26-2.6.28.5-5.src.tar.gz):
Quote:
==> ERROR: Integrity checks (md5) differ in size from the source array

Can anybody point me to some more recent directions or provide the necessary clues?

Or maybe even just tell me how to disable that driver and let the system pick another one that works better...


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 27, 2011 3:19 am 
Offline
Joined: Mon Sep 28, 2009 5:42 am
Posts: 50
I think that might be a makepkg error, rather than a compile error. Your PKGBUILD file has a source line and a md5sums line. It sounds like that error might mean that the number of entries in the md5sums line is different to the number in the source line.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 27, 2011 8:16 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Spot on! Guess I was too stupid, it didn't even occur to me to google.

So now the question becomes, why is the package broken when it's the version # (kernel26-2.6.28.5-5.src.tar.gz) from the core-testing repo that matches the installed kernel, and where do I get a good one?
Code:
[root@black2 ~]# pacman -Qs kernel26
local/kernel26 2.6.28.5-5 (base)
    The Linux Kernel and modules
local/nvidia-173xx 173.14.25-1
    NVIDIA drivers for kernel26, 173xx branch.
local/zd1211-firmware 1.4-2
    Firmware for the in-kernel26 zd1211rw wireless driver


Top
 Profile  
 
PostPosted: Sun Mar 27, 2011 8:42 am 
Offline
Joined: Mon Dec 24, 2007 9:47 am
Posts: 535
Location: Ottawa, Canada
tjc wrote:
Or maybe even just tell me how to disable that driver and let the system pick another one that works better...

Have you looked at removing with either modprobe -r or rmmod? And inserting with modprobe.

You could test with that and then modify the modules on boot.

Personally I would build my own driver only rather than an entire kernel and use the above tools.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 27, 2011 8:52 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
My best current information is that the r8169 driver is built into the kernel and not a module. My attempts to remove and blacklist it assuming that it was a module got me nowhere.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 27, 2011 9:04 am 
Offline
Joined: Mon Dec 24, 2007 9:47 am
Posts: 535
Location: Ottawa, Canada
tjc wrote:
My best current information is that the r8169 driver is built into the kernel and not a module.

I was afraid of that. You know, you may just be better off inserting a compatible NIC rather than creating a custom kernel. I bet you have one laying around but I don't know if you have the spare slots.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 27, 2011 9:27 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
I do have a spare PCI NIC card, but it's only an old 100Mbps one, and the one PCI slot that isn't blocked by the video card is already spoken for.

On the driver front, I looked at the version in 2.6.28 versus the working one in 2.6.37 and it's been completely overhauled. The newer one is ~25Kb smaller and still supports more cards.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 27, 2011 9:36 am 
Offline
Joined: Wed Jan 07, 2004 12:14 pm
Posts: 425
Location: Charlotte, NC
tjc, take a look at this post - it may be similar

http://mysettopbox.tv/phpBB2/viewtopic.php?t=19448

_________________
Backend server - 4.0 TB 3.0ghz dual core 6 gig RAM, nVidia 9400, Gigabyte GA-870A-UD3 MB, 2 HD-5500, 2 HD Homerun dual tuners, 3 frontend machines - LinHES 8.6.1


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 27, 2011 9:40 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
It is. That's what lead me to the source of the problem, unfortunately the fix described there no longer applies. As far as I can tell the posters were using R5.5 not R6.xx.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu