View previous topic :: View next topic |
Author |
Message |
bdika n00b
Joined: 19 Mar 2006 Posts: 13 Location: London, Canada
|
Posted: Thu May 25, 2006 2:29 am Post subject: kernel compile errors after applying supermount patch |
|
|
Hi:
I tried to apply the supermount patch (it seemed to apply) but then my kernel would not compile. So I tried to remove the patch and now my kernel still will not compile after it gets to the following point:
quote
CC drivers/base/topology.o
LD drivers/base/built-in.o
CC drivers/block/floppy.o
LD drivers/block/built-in.o
CC drivers/cdrom/cdrom.o
drivers/cdrom/cdrom.c: In function `cdrom_open':
drivers/cdrom/cdrom.c:1007: error: too few arguments to function `open_for_data'
make[2]: *** [drivers/cdrom/cdrom.o] Error 1
make[1]: *** [drivers/cdrom] Error 2
make: *** [drivers] Error 2
quote
and then exits to the shell prompt.
Does anyone know what I can do to fix this so that I can compile my kernel again? I'm a gentoo and kernel noob.
Secondly, is there a recommeded patch for supermount. I tried 2 different patches. Then my kernel wouldn't compile. I tried to remove the patches by answering yes to the question
quote
Reversed (or previously applied) patch detected! Assume -R? [n] y
quote
But now I get the above drivers errors and so cannot compile my kernel at all.
I'd like to stick with gentoo, so any help would be much appreciated
Regards,
Bill Dika |
|
Back to top |
|
|
CooSee Veteran
Joined: 20 Nov 2004 Posts: 1507 Location: Earth
|
Posted: Thu May 25, 2006 2:46 am Post subject: Re: kernel compile errors after applying supermount patch |
|
|
bdika wrote: | Hi:
I tried to apply the supermount patch (it seemed to apply) but then my kernel would not compile. So I tried to remove the patch and now my kernel still will not compile after it gets to the following point:
quote
CC drivers/base/topology.o
LD drivers/base/built-in.o
CC drivers/block/floppy.o
LD drivers/block/built-in.o
CC drivers/cdrom/cdrom.o
drivers/cdrom/cdrom.c: In function `cdrom_open':
drivers/cdrom/cdrom.c:1007: error: too few arguments to function `open_for_data'
make[2]: *** [drivers/cdrom/cdrom.o] Error 1
make[1]: *** [drivers/cdrom] Error 2
make: *** [drivers] Error 2
quote
and then exits to the shell prompt.
Does anyone know what I can do to fix this so that I can compile my kernel again? I'm a gentoo and kernel noob.
Secondly, is there a recommeded patch for supermount. I tried 2 different patches. Then my kernel wouldn't compile. I tried to remove the patches by answering yes to the question
quote
Reversed (or previously applied) patch detected! Assume -R? [n] y
quote
But now I get the above drivers errors and so cannot compile my kernel at all.
I'd like to stick with gentoo, so any help would be much appreciated
Regards,
Bill Dika |
hallo,
SUPERMOUNT is deprecated!
CooSee ' Ya _________________ " Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier " |
|
Back to top |
|
|
sternklang Veteran
Joined: 10 Sep 2005 Posts: 1641 Location: Somewhere in time and space
|
Posted: Thu May 25, 2006 3:17 am Post subject: |
|
|
Hello,
To get the kernel back to it's original state, emerge the kernel sources package again and the patch will be undone. Then: Code: | make clean && make && make modules_install |
CooSee is right about supermount being deprecated. There are better options for automounting removable media. If you're using Gnome, the combination of hal, gnome-volume-manager and (depending on Gnome version) gnome-mount or pmount should do it. There's also hal+ivman. Search the forums a bit, you should find plenty of info on this subject. |
|
Back to top |
|
|
bdika n00b
Joined: 19 Mar 2006 Posts: 13 Location: London, Canada
|
Posted: Fri May 26, 2006 12:13 am Post subject: |
|
|
Thanks guys. My kernel is back to normal. I'll try searching the forums to see if I can find some simple instructions.
Regards,
Bill Dika |
|
Back to top |
|
|
|