Help!

Bug#410817: I don't know how to patch the 2.6.18 kernel...


Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Bugs Dist RSS
Next:  Bug#436902: ITP: digiband -- full home version dr..  
Author Message
Guillaume Estival
External


Since: Jul 13, 2007
Posts: 3



PostPosted: Thu Aug 09, 2007 1:50 pm    Post subject: Bug#410817: I don't know how to patch the 2.6.18 kernel...
Archived from groups: linux>debian>bugs>dist, others (more info?)

to make it works.
I'm sure it's obvious to you but I really don't know how SCSI drivers is
coded and how I can patch the C files to make it works (although I know
quite well C language, kernel code is *far* beyond my knowledge)

Is someone kind enough to send a patch, or just a clue about what I need
to modify (and where)?

By the way, I tried a vanilla 2.6.22.1 kernel and the problem is the
same: it didn't see the disk, although it saw the controller. it appears
to me that this bug is not debian specific...

Thanks in advance for any help.
--
Guillaume Estival
http://www.dawan.fr
0810.001.917



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
dann frazier
External


Since: Nov 10, 2004
Posts: 787



PostPosted: Fri Aug 10, 2007 1:40 am    Post subject: Bug#410817: I don't know how to patch the 2.6.18 kernel... [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, Aug 09, 2007 at 01:36:34PM +0200, Guillaume Estival wrote:
> to make it works.
> I'm sure it's obvious to you but I really don't know how SCSI drivers is
> coded and how I can patch the C files to make it works (although I know
> quite well C language, kernel code is *far* beyond my knowledge)
>
> Is someone kind enough to send a patch, or just a clue about what I need
> to modify (and where)?

hey Guillaume,
Take a look at this changeset:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=com...diff;h=

Notice that it removes this entry from the megaraid_pci_tbl[]:

{PCI_VENDOR_ID_AMI, PCI_DEVICE_ID_AMI_MEGARAID3,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},

I believe that entry matches our cards and prevents the legacy driver
from picking them up. That works fine for me, but obviously not for
you. I'd suggest adding those lines back in and building a new
module/kernel. If you're not comfortable building your own kernel, let
me know.

Hopefully this will allow the legacy megaraid driver to discover your
controller/disk. Just make sure that you rmmod the new megaraid driver
before loading the legacy one.

Please let us know how that goes.

--
dann frazier



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Bugs Dist All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum