MOLNAR Ingo wrote:
>
> On Sat, 10 Oct 1998, tommiy wrote:
>
> > I've been attempt to get the patches to work and it appears that maybe
> > there is a problem with raid 5 and the alpha 0.90 patches. mkraid
> > --updates updates my old array but i can never start it. [...]
>
> could you send me more about this one, what does the kernel print during
> this, what does mkraid print, maybe an strace would be useful too.
>
> > insmod raid5
> > ./raid5.o: unresolved symbol md_interrupt_thread
> >
> >
> > Is this just me? or has murphy just bitten me again??
>
> this is a bug, Matti Aarnio already reported it and it's fixed in my tree.
> Until the next release, just add this to md.c:
>
> MD_EXPORT_SYMBOL(md_interrupt_thread);
>
> -- mingo
Mingo,
Thanks for the reply but I am still at a loss as to what is going wrong
here at this end. I've added the line above and still I cannot load
raid5, in fact what I have noticed is that it in fact kills several
other modules as well. For instance after booting the loop module no
longer loads and reports symbol errors as well as a couple of other
modules. The linear and raid0 modules load fine through insmod. If I try
mkraid --upgrade now it says everything is fine but of course I cant do
anything cause the raid5 module isnt loaded.
mkraid --upgrade /dev/md0
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/sdc1, 4188937kB, raid superblock at 4188864kB
array needs no upgrade
>From the logs I see this at boot up which leads me to believe its trying
to start
Oct 11 03:02:33 Nell kernel: md driver 0.90.0 MAX_MD_DEV=16, MAX_REAL=12
Oct 11 03:02:33 Nell kernel: raid5: measuring checksumming speed
Oct 11 03:02:33 Nell kernel: 8regs : 346.710 MB/sec
Oct 11 03:02:33 Nell kernel: 32regs : 227.838 MB/sec
Oct 11 03:02:33 Nell kernel: using fastest function: 8regs (346.710
MB/sec)
<snip>
Oct 11 03:02:33 Nell kernel: autodetecting RAID arrays
<snip>
Oct 11 03:02:33 Nell kernel: Bad md_map in ll_rw_block
But if i try and start it i get:-
raidstart -a
/dev/md0: Invalid argument
Manually trying to load the module yields:-
insmod raid5
./raid5.o: unresolved symbol md_interrupt_thread
insmod loop
./loop.o: unresolved symbol end_that_request_last
./loop.o: unresolved symbol end_that_request_first
I originally applied the patch from /usr/src to the kernel 35. Before
applying the patch I created /usr/src/linux/include/linux/raid
directory. The patches applied without any errors, the kernel and the
modules compiled without errors. The old md drivers used to work for
this exact same configuration. What am I doing wrong? Any help would be
appreciated.