From: Andrew W. <qw...@gm...> - 2005-05-16 23:25:51
|
Hi I am trying to compile a kernel with the ruby patch under Debian sarge. I am using gcc 3.3.5. I downloaded and unpacked kernel-source-2.6.8, downloaded ruby from CVS, and copied it over the kernel source. I then did 'make xconfig', following instructions from http://linuxconsole.sourceforge.net/quick.html. Some options seemed to have different names, but otherwise everything seemed alright. I then attempted to compile with # fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image which failed with the following error: make[1]: Entering directory `/usr/local/src/kernel-source-2.6.8' make[2]: `arch/i386/kernel/asm-offsets.s' is up to date. CHK include/linux/compile.h CC drivers/char/tty_ioctl.o drivers/char/tty_ioctl.c: In function `change_termios': drivers/char/tty_ioctl.c:110: error: structure has no member named `termios_sem' drivers/char/tty_ioctl.c:149: warning: implicit declaration of function `tty_ldisc_ref' drivers/char/tty_ioctl.c:149: warning: assignment makes pointer from integer without a cast drivers/char/tty_ioctl.c:153: warning: implicit declaration of function `tty_ldisc_deref' drivers/char/tty_ioctl.c:155: error: structure has no member named `termios_sem' drivers/char/tty_ioctl.c: In function `set_termios': drivers/char/tty_ioctl.c:178: warning: assignment makes pointer from integer without a cast drivers/char/tty_ioctl.c: In function `n_tty_ioctl': drivers/char/tty_ioctl.c:477: warning: assignment makes pointer from integer without a cast drivers/char/tty_ioctl.c:541: error: structure has no member named `termios_sem' drivers/char/tty_ioctl.c:545: error: structure has no member named `termios_sem' drivers/char/tty_ioctl.c:397: warning: unused variable `flags' make[3]: *** [drivers/char/tty_ioctl.o] Error 1 make[2]: *** [drivers/char] Error 2 make[1]: *** [drivers] Error 2 make[1]: Leaving directory `/usr/local/src/kernel-source-2.6.8' make: *** [stamp-build] Error 2 What is wrong here, and how can I get it to compile successfully? Andrew Walbran |
From: Svetoslav S. <sv...@gm...> - 2005-05-17 05:40:34
|
> --- Ursprüngliche Nachricht --- > Von: Andrew Walbran <qw...@gm...> > An: lin...@li... > Betreff: Error compiling linux 2.6.8 with ruby on Debian > Datum: Mon, 16 May 2005 17:23:47 +1200 > > Hi > Hi, > I am trying to compile a kernel with the ruby patch under Debian sarge. I > am > using gcc 3.3.5. I downloaded and unpacked kernel-source-2.6.8, downloaded > ruby from CVS, and copied it over the kernel source. you should be using linux-2.6.9 with the code from cvs although i'm not sure in what state cvs is you should try some of the patches from this url http://www.ltn.lv/~aivils/ -> download > I then did 'make > xconfig', following instructions from > http://linuxconsole.sourceforge.net/quick.html. Some options seemed to > have > different names, but otherwise everything seemed alright. these instructions are obsolated, they may still partly apply for the 2.4 backport "bruby", but on 2.6 kernel you can simply use your standard .config best, svetljo -- 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail +++ GMX - die erste Adresse für Mail, Message, More +++ |
From: Andrew W. <qw...@gm...> - 2005-05-18 09:53:39
|
On Tue, 17 May 2005 5:39 pm, Svetoslav Slavtchev wrote: > > Von: Andrew Walbran <qw...@gm...> > > Datum: Mon, 16 May 2005 17:23:47 +1200 > > > > I am trying to compile a kernel with the ruby patch under Debian sarge. I > > am > > using gcc 3.3.5. I downloaded and unpacked kernel-source-2.6.8, > > downloaded ruby from CVS, and copied it over the kernel source. > > you should be using linux-2.6.9 with the code from cvs > although i'm not sure in what state cvs is I'm using the v2-6-8 CVS tag, which presumably should work with 2.6.8. > you should try some of the patches from this url > http://www.ltn.lv/~aivils/ -> download This site has a patch for 2.6.8.1 but not 2.6.8. Would this work, and how to I apply the patch? > > I then did 'make > > xconfig', following instructions from > > http://linuxconsole.sourceforge.net/quick.html. Some options seemed to > > have > > different names, but otherwise everything seemed alright. > > these instructions are obsolated, they may still partly > apply for the 2.4 backport "bruby", but on 2.6 kernel you can > simply use your standard .config OK, that's not clear from the site. Could whoever maintains the site make this clear, so other people aren't similarly confused? Andrew Walbran |
From: Aivils <ai...@un...> - 2005-05-17 05:51:48
|
On Monday 16 May 2005 08:23, Andrew Walbran wrote: > Hi > > I am trying to compile a kernel with the ruby patch under Debian sarge. I am > using gcc 3.3.5. I downloaded and unpacked kernel-source-2.6.8, downloaded > ruby from CVS, and copied it over the kernel source. I then did 'make > xconfig', following instructions from > http://linuxconsole.sourceforge.net/quick.html. Some options seemed to have > different names, but otherwise everything seemed alright. > > I then attempted to compile with > # fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image > which failed with the following error: > > make[1]: Entering directory `/usr/local/src/kernel-source-2.6.8' > make[2]: `arch/i386/kernel/asm-offsets.s' is up to date. > CHK include/linux/compile.h > CC drivers/char/tty_ioctl.o > drivers/char/tty_ioctl.c: In function `change_termios': > drivers/char/tty_ioctl.c:110: error: structure has no member named > `termios_sem' > drivers/char/tty_ioctl.c:149: warning: implicit declaration of function > `tty_ldisc_ref' > drivers/char/tty_ioctl.c:149: warning: assignment makes pointer from integer > without a cast > drivers/char/tty_ioctl.c:153: warning: implicit declaration of function > `tty_ldisc_deref' > drivers/char/tty_ioctl.c:155: error: structure has no member named > `termios_sem' > drivers/char/tty_ioctl.c: In function `set_termios': > drivers/char/tty_ioctl.c:178: warning: assignment makes pointer from integer > without a cast > drivers/char/tty_ioctl.c: In function `n_tty_ioctl': > drivers/char/tty_ioctl.c:477: warning: assignment makes pointer from integer > without a cast > drivers/char/tty_ioctl.c:541: error: structure has no member named > `termios_sem' > drivers/char/tty_ioctl.c:545: error: structure has no member named > `termios_sem' > drivers/char/tty_ioctl.c:397: warning: unused variable `flags' > make[3]: *** [drivers/char/tty_ioctl.o] Error 1 > make[2]: *** [drivers/char] Error 2 > make[1]: *** [drivers] Error 2 > make[1]: Leaving directory `/usr/local/src/kernel-source-2.6.8' > make: *** [stamp-build] Error 2 > > > What is wrong here, and how can I get it to compile successfully? Do You use right CVS tag ? cvs -d:pserver:ano...@cv...:/cvsroot/linuxconsole login cvs -z3 -d:pserver:ano...@cv...:/cvsroot/linuxconsole co -r v2-6-8 ruby Aivils |
From: Andrew W. <qw...@gm...> - 2005-05-18 19:59:42
|
On Wed, 18 May 2005 10:41 pm, Aivils wrote: > On Wednesday 18 May 2005 12:02, Andrew Walbran wrote: > > On Tue, 17 May 2005 5:51 pm, Aivils wrote: > > > On Monday 16 May 2005 08:23, Andrew Walbran wrote: > > > > Hi > > > > > > > > I am trying to compile a kernel with the ruby patch under Debian > > > > sarge. I am using gcc 3.3.5. I downloaded and unpacked > > > > kernel-source-2.6.8, downloaded ruby from CVS, and copied it over the > > > > kernel source. I then did 'make xconfig', following instructions from > > > > http://linuxconsole.sourceforge.net/quick.html. Some options seemed > > > > to have different names, but otherwise everything seemed alright. > > > > > > > > I then attempted to compile with > > > > # fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image > > > > which failed with the following error: > > > > [snip] > > > > > > What is wrong here, and how can I get it to compile successfully? > > > > > > Do You use right CVS tag ? > > > > > > cvs -d:pserver:ano...@cv...:/cvsroot/linuxconsole > > > login cvs -z3 > > > -d:pserver:ano...@cv...:/cvsroot/linuxconsole co -r > > > v2-6-8 ruby > > > > I'm pretty sure I did, and ruby/CVS/Tag indeed says 'Tv2-6-8'. > > > > drivers/char/tty_ioctl.c: In function `change_termios': > > drivers/char/tty_ioctl.c:110: error: structure has no member named > > `termios_sem' > > This member does not exist in v2-6-8 :o) I'm not quite sure what you mean by this. If you mean that the error is due to me not using v2-6-8, I've tried again checking out v2-6-8 using the commands you gave above, and diff -r shows there is no difference between that and what I used before, so I was definitely using v2-6-8. Andrew Walbran |
From: Andrew W. <qw...@gm...> - 2005-06-01 21:33:41
|
On Wed, 18 May 2005 10:41 pm, Aivils wrote: > On Wednesday 18 May 2005 12:02, Andrew Walbran wrote: > > On Tue, 17 May 2005 5:51 pm, Aivils wrote: > > > On Monday 16 May 2005 08:23, Andrew Walbran wrote: > > > > Hi > > > > > > > > I am trying to compile a kernel with the ruby patch under Debian > > > > sarge. I am using gcc 3.3.5. I downloaded and unpacked > > > > kernel-source-2.6.8, downloaded ruby from CVS, and copied it over the > > > > kernel source. I then did 'make xconfig', following instructions from > > > > http://linuxconsole.sourceforge.net/quick.html. Some options seemed > > > > to have different names, but otherwise everything seemed alright. > > > > > > > > I then attempted to compile with > > > > # fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image > > > > which failed with the following error: > > > > [snip] > > > > > > What is wrong here, and how can I get it to compile successfully? > > > > > > Do You use right CVS tag ? > > > > > > cvs -d:pserver:ano...@cv...:/cvsroot/linuxconsole > > > login cvs -z3 > > > -d:pserver:ano...@cv...:/cvsroot/linuxconsole co -r > > > v2-6-8 ruby > > > > I'm pretty sure I did, and ruby/CVS/Tag indeed says 'Tv2-6-8'. > > > > drivers/char/tty_ioctl.c: In function `change_termios': > > drivers/char/tty_ioctl.c:110: error: structure has no member named > > `termios_sem' > > This member does not exist in v2-6-8 :o) What do you mean by this? I've tried again from scratch without changing the configuration at all, and still get the same error. I'm definitely using kernel 2.6.8, and definitely using the v2-6-8 patch from CVS. Why does this not work? Andrew Walbran |
From: Ken M. <ke...@th...> - 2005-06-02 02:24:42
|
On Thu, 2005-06-02 at 09:33 +1200, Andrew Walbran wrote: <snip> > I've tried again from scratch without changing the configuration at all, and > still get the same error. I'm definitely using kernel 2.6.8, and definitely > using the v2-6-8 patch from CVS. > > Why does this not work? > > Andrew Walbran > > <snip> If you are using the kernel-source package, this may be due to a Debian-specific patch to the kernel source code. Rename the file /usr/src/linux/Debian.src.changelog (I think that's it) and try compiling again. Ken |
From: Svetoslav S. <sv...@gm...> - 2005-06-02 06:48:21
|
> --- Ursprüngliche Nachricht --- > Von: Ken McCord <ke...@th...> > An: Andrew Walbran <qw...@gm...> > Kopie: lin...@li... > Betreff: Re: Error compiling linux 2.6.8 with ruby on Debian > Datum: Wed, 01 Jun 2005 22:24:17 -0400 > > On Thu, 2005-06-02 at 09:33 +1200, Andrew Walbran wrote: > > <snip> > > > I've tried again from scratch without changing the configuration at all, > and > > still get the same error. I'm definitely using kernel 2.6.8, and > definitely > > using the v2-6-8 patch from CVS. > > > > Why does this not work? > > > > Andrew Walbran > > > > <snip> > > > If you are using the kernel-source package, this may be due to a > Debian-specific patch to the kernel source code. Rename the > file /usr/src/linux/Debian.src.changelog (I think that's it) and try > compiling again. > > Ken > yes, that could be the reason i think debian had included some VT changes please try recompiling using vanilla(unpatched) linux-2.6.8 and if it works, try downloading kernel-patch-debian (IIRC) to check which patch from the debian modifications exactly brakes the build best, svetljo -- Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie! Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl |
From: Andrew W. <qw...@gm...> - 2005-06-09 02:10:06
|
On Thu, 02 Jun 2005 6:48 pm, Svetoslav Slavtchev wrote: > > If you are using the kernel-source package, this may be due to a > > Debian-specific patch to the kernel source code. Rename the > > file /usr/src/linux/Debian.src.changelog (I think that's it) and try > > compiling again. > > > > Ken > > yes, that could be the reason > i think debian had included some VT changes > > please try recompiling using vanilla(unpatched) linux-2.6.8 > and if it works, try downloading kernel-patch-debian (IIRC) > to check which patch from the debian modifications exactly brakes > the build OK, I have tried compiling a nearly vanilla kernel 2.6.8 (I used kernel-patch-debian to roll back to vanilla 2.6.8, then manually applied a few patches from debian 2.6.8-1) with the ruby patches. After disabling mdacon it built and booted, but I am having a few problems. The primary display is using the onboard Via/S3 UniChrome graphics adapter, a ps/2 keyboard and a USB mouse. The second display uses a 4MB SiS PCI graphics adapter, a ps/2 keyboard and a serial mouse. If I change to virtual consoles 1-6 on the primary screen, the first VC is displayed no matter which I switch to, and nothing I type shows up. If I press enter, the picture on the second screen is shifted to the left by about 1/3 the screen width and some white lines show up at the bottom of the second screen. If I stop kdm (and hence the X servers), the primary screen shows light blue and red lines, while the second screen flickers with random lines. There appears to be no way out of this state. Also, the NumLock and CapsLock LEDs don't work on the primary keyboard. There appear to be problems with 3D acceleration causing freezes, which I need to investigate further. What is causing these problems, and how can I fix them? Andrew Walbran |
From: Andrew W. <qw...@gm...> - 2005-06-02 08:05:25
|
On Thu, 02 Jun 2005 2:24 pm, Ken McCord wrote: > On Thu, 2005-06-02 at 09:33 +1200, Andrew Walbran wrote: > > <snip> > > > I've tried again from scratch without changing the configuration at all, > > and still get the same error. I'm definitely using kernel 2.6.8, and > > definitely using the v2-6-8 patch from CVS. > > > > Why does this not work? > > > > Andrew Walbran > > > > <snip> > > If you are using the kernel-source package, this may be due to a > Debian-specific patch to the kernel source code. I see. So I suppose I may have to use vanilla kernel. > Rename the > file /usr/src/linux/Debian.src.changelog (I think that's it) and try > compiling again. How would that help? > > Ken |