Re: compiling 2.4.20

2003-07-14 Thread Ionut Georgescu
On Mon, Jul 14, 2003 at 03:47:37PM +0200, Lars Oeschey wrote:
> Am Montag, 14. Juli 2003 15:37 schrieb Ionut Georgescu:
> 
> > the package is called kernel-tree-2.4.21 and is located in unstable
> 
> ah, ok, I had no source for unstable. But I get funny things now with 
> apt-get update:
> 
> Reading Package Lists... Error!
> E: Dynamic MMap ran out of room
> 
> is that a memory problem? Diskspace should be enough...
> 
> Lars
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

I'd suggest putting the following in your apt.conf

APT {
Default-Release "testing";
Cache-Limit 900;
};

"testing" is for sticking with testing, despite the unstable line in
sources.list.



-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."




Re[2]: compiling 2.4.20

2003-07-14 Thread Adrian Zaugg
No, it's a known bug (Bug#159016).

Put the following line in /etc/apt/apt.conf:

 APT::Cache-Limit 16777216;

Greetings, Adrian.

BTW: Google is your friend ;-)

On Mon, 14 Jul 2003 15:47:37 +0200
Lars Oeschey <[EMAIL PROTECTED]> wrote:

> Am Montag, 14. Juli 2003 15:37 schrieb Ionut Georgescu:
> 
> > the package is called kernel-tree-2.4.21 and is located in unstable
> 
> ah, ok, I had no source for unstable. But I get funny things now with 
> apt-get update:
> 
> Reading Package Lists... Error!
> E: Dynamic MMap ran out of room
> 
> is that a memory problem? Diskspace should be enough...
> 
> Lars
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]





Re: compiling 2.4.20

2003-07-14 Thread Lars Oeschey
Am Montag, 14. Juli 2003 15:47 schrieb Lars Oeschey:
> Reading Package Lists... Error!
> E: Dynamic MMap ran out of room
> is that a memory problem? Diskspace should be enough...

ok, solved it, got the sources. 

Lars




Re: compiling 2.4.20

2003-07-14 Thread Lars Oeschey
Am Montag, 14. Juli 2003 15:37 schrieb Ionut Georgescu:

> the package is called kernel-tree-2.4.21 and is located in unstable

ah, ok, I had no source for unstable. But I get funny things now with 
apt-get update:

Reading Package Lists... Error!
E: Dynamic MMap ran out of room

is that a memory problem? Diskspace should be enough...

Lars




Re: compiling 2.4.20

2003-07-14 Thread Ionut Georgescu
after running apt-get update:

the package is called kernel-tree-2.4.21 and is located in unstable

[EMAIL PROTECTED]:~> sudo apt-get build-dep kernel-image-2.4.21-1-generic
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting kernel-tree-2.4.21 instead of kernel-tree-2.4.21-2
The following NEW packages will be installed:
  kernel-patch-debian-2.4.21 kernel-source-2.4.21 kernel-tree-2.4.21 


[EMAIL PROTECTED]:~> apt-cache policy kernel-tree-2.4.21  
kernel-tree-2.4.21:
  Installed: (none)
  Candidate: 2.4.21-2
  Version Table:
 2.4.21-2 0
500 ftp://ftp.uni-erlangen.de unstable/main Packages


Ionut

On Mon, Jul 14, 2003 at 03:25:48PM +0200, Lars Oeschey wrote:
> Am Mittwoch, 9. Juli 2003 15:53 schrieb Ionut Georgescu:
> 
> > apt-get build-dep kernel-image-2.4.21-1-generic
> 
> strange again... When I try that, I get 
> E: Build-Depends dependency on kernel-image-2.4.21-1-alpha cannot be 
> satisfied because the package kernel-tree-2.4.21-1 cannot be found
> 
> and a dpkg -l kernel* only reveals sources up to 2.4.20. Is my 
> sources.list bad?:
> 
> #stable
> deb http://ftp.de.debian.org/debian stable main contrib non-free
> deb http://security.debian.org/ stable/updates main
> 
> #testing
> deb http://ftp.de.debian.org/debian testing main contrib non-free
> deb http://security.debian.org/ testing/updates main
> 
> #source
> deb-src http://ftp.de.debian.org/debian stable main contrib non-free
> deb-src http://security.debian.org/ stable/updates main
> deb-src http://ftp.de.debian.org/debian testing main contrib non-free
> deb-src http://security.debian.org/ testing/updates main
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."




Re: compiling 2.4.20

2003-07-14 Thread Lars Oeschey
Am Mittwoch, 9. Juli 2003 15:53 schrieb Ionut Georgescu:

> apt-get build-dep kernel-image-2.4.21-1-generic

strange again... When I try that, I get 
E: Build-Depends dependency on kernel-image-2.4.21-1-alpha cannot be 
satisfied because the package kernel-tree-2.4.21-1 cannot be found

and a dpkg -l kernel* only reveals sources up to 2.4.20. Is my 
sources.list bad?:

#stable
deb http://ftp.de.debian.org/debian stable main contrib non-free
deb http://security.debian.org/ stable/updates main

#testing
deb http://ftp.de.debian.org/debian testing main contrib non-free
deb http://security.debian.org/ testing/updates main

#source
deb-src http://ftp.de.debian.org/debian stable main contrib non-free
deb-src http://security.debian.org/ stable/updates main
deb-src http://ftp.de.debian.org/debian testing main contrib non-free
deb-src http://security.debian.org/ testing/updates main




Re: compiling 2.4.20

2003-07-10 Thread Ionut Georgescu
edit /etc/apt/sources.list

copy the lines with deb
replace deb with deb-src on the copied lines

apt-get update

Ionut

On Thu, Jul 10, 2003 at 12:01:51PM +0200, [EMAIL PROTECTED] wrote:
> > debian already provides 2.4.21 binaries. If you want to 
> > compile them by
> > yourself, I would suggest:
> > apt-get build-dep kernel-image-2.4.21-1-generic
> > apt-get source kernel-image-2.4.21-1-generic
> 
> hm, I just tried that, but apt-get told me I need some sources in my sources
> list. I only have stable and testing there, I guess "build-dep" and "source"
> are sources that must be listed there?
> 
> Lars
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."




RE: compiling 2.4.20

2003-07-10 Thread extern . Lars . Oeschey
> debian already provides 2.4.21 binaries. If you want to 
> compile them by
> yourself, I would suggest:
> apt-get build-dep kernel-image-2.4.21-1-generic
> apt-get source kernel-image-2.4.21-1-generic

hm, I just tried that, but apt-get told me I need some sources in my sources
list. I only have stable and testing there, I guess "build-dep" and "source"
are sources that must be listed there?

Lars




Re: compiling 2.4.20

2003-07-09 Thread Ionut Georgescu
On Wed, Jul 09, 2003 at 04:08:39PM +0200, Lars Oeschey wrote:
> Am Mittwoch, 9. Juli 2003 16:06 schrieb Linus Gasser:
> 
> >  Do you use the debian-tool for compiling the kernel? Like make-kpkg?
> 
> Yes. Or at least I try to ;)

Try. It's much better :)

> 
> Lars
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."




Re: compiling 2.4.20

2003-07-09 Thread Ionut Georgescu
theoretically, I don't see why the OS should bother if there is a real
hdd on a SCSI controller or a whole array behind a RAID controller.  The
initrd images are loaded anyway by simple, generic ways. The only
problem I could imagine is if there must be SRM support for the DAC960
(and I suppose there should be). But I'll make room for the experts
here.  I have never 'seen' a DAC960 controller in my life :)

Ionut

On Wed, Jul 09, 2003 at 04:03:02PM +0200, Lars Oeschey wrote:
> Am Mittwoch, 9. Juli 2003 15:53 schrieb Ionut Georgescu:
> 
> > debian already provides 2.4.21 binaries. If you want to compile them
> > by yourself, I would suggest:
> 
> I would use the precompiled one, but I guess that one again has DAC960 
> support only as module, and since I boot from a Raid5 on a DAC960 I 
> think I need to have it compiled into the kernel.
> 
> Lars
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."




Re: compiling 2.4.20

2003-07-09 Thread Lars Oeschey
Am Mittwoch, 9. Juli 2003 16:06 schrieb Linus Gasser:

>  Do you use the debian-tool for compiling the kernel? Like make-kpkg?

Yes. Or at least I try to ;)

Lars





Re: compiling 2.4.20

2003-07-09 Thread Linus Gasser
On Mercredi, 9 Juillet 2003 15.35, Lars Oeschey wrote:
> Am Mittwoch, 9. Juli 2003 14:55 schrieb Falk Hueffner:
> > 2.4.20 has serious bugs on Alpha, you should rather use 2.4.19 or
> > 2.4.21.
> >
> > A bug in gcc. Which version are you using? If you're not using gcc
> > 3.3, try upgrading.
>
> I upgraded now to 3.3 since I found a similar answer somewhere on the
> net. The compile failed again somewhere else though, but I'll try
> 2.4.21 then first (the odd numbers were the stable ones?).

No, the even are the stable ones ;) But the even second numbers. So, 2.0.x is 
stable, 2.2.x is stable, 2.4.x is stable and so will be 2.6.x. The 2.4.19 and 
2.4.21 being stable is more like a coincidence. IIRC, I have a 2.4.20 on my 
PC164...

> Do I only need the kernel-source package? I saw some kernel-header
> packages too...

kernel-source should be enough. kernel-headers are only needed if you install 
the kernel-image*. If you compile from source, you automatically have the 
headers...
 Do you use the debian-tool for compiling the kernel? Like make-kpkg?

Ineiti

-- 
--
Linus Gasser
Chemin des Cèdres 1
1004 Lausanne
021 647 53 05
http://www.linusetviviane.ch
--




Re: compiling 2.4.20

2003-07-09 Thread Lars Oeschey
Am Mittwoch, 9. Juli 2003 15:53 schrieb Ionut Georgescu:

> debian already provides 2.4.21 binaries. If you want to compile them
> by yourself, I would suggest:

I would use the precompiled one, but I guess that one again has DAC960 
support only as module, and since I boot from a Raid5 on a DAC960 I 
think I need to have it compiled into the kernel.

Lars




Re: compiling 2.4.20

2003-07-09 Thread Ionut Georgescu
debian already provides 2.4.21 binaries. If you want to compile them by
yourself, I would suggest:

apt-get build-dep kernel-image-2.4.21-1-generic

This will also download the kernel-source tar.bz2 under /usr/src. The
tarball already has the debian patches applied. They are important for
initrd.

To get the debian .config files, run

apt-get source kernel-image-2.4.21-1-generic

and copy the file from the config/ directory.

Ionut

PS run make-kpkg with --initrd if you want to have the initrd images
automatically built when installing the kernel .deb.



On Wed, Jul 09, 2003 at 03:40:37PM +0200, Falk Hueffner wrote:
> Lars Oeschey <[EMAIL PROTECTED]> writes:
> 
> > Am Mittwoch, 9. Juli 2003 14:55 schrieb Falk Hueffner:
> > 
> > > 2.4.20 has serious bugs on Alpha, you should rather use 2.4.19 or
> > > 2.4.21.
> > 
> > I upgraded now to 3.3 since I found a similar answer somewhere on the 
> > net. The compile failed again somewhere else though, but I'll try 
> > 2.4.21 then first (the odd numbers were the stable ones?).
> 
> They're all supposed to be stable, only for 2.4.20 an Alpha specific
> bug was introduced close to release... (it was fixed shortly after in
> the -pre21 sub-releases, though).
> 
> > Do I only need the kernel-source package? I saw some kernel-header
> > packages too...
> 
> You don't need them for compiling kernels (I think).
> 
> -- 
>   Falk
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 



-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."




Re: compiling 2.4.20

2003-07-09 Thread Falk Hueffner
Lars Oeschey <[EMAIL PROTECTED]> writes:

> Am Mittwoch, 9. Juli 2003 14:55 schrieb Falk Hueffner:
> 
> > 2.4.20 has serious bugs on Alpha, you should rather use 2.4.19 or
> > 2.4.21.
> 
> I upgraded now to 3.3 since I found a similar answer somewhere on the 
> net. The compile failed again somewhere else though, but I'll try 
> 2.4.21 then first (the odd numbers were the stable ones?).

They're all supposed to be stable, only for 2.4.20 an Alpha specific
bug was introduced close to release... (it was fixed shortly after in
the -pre21 sub-releases, though).

> Do I only need the kernel-source package? I saw some kernel-header
> packages too...

You don't need them for compiling kernels (I think).

-- 
Falk




Re: compiling 2.4.20

2003-07-09 Thread Lars Oeschey
Am Mittwoch, 9. Juli 2003 14:55 schrieb Falk Hueffner:

> 2.4.20 has serious bugs on Alpha, you should rather use 2.4.19 or
> 2.4.21.

> A bug in gcc. Which version are you using? If you're not using gcc
> 3.3, try upgrading.

I upgraded now to 3.3 since I found a similar answer somewhere on the 
net. The compile failed again somewhere else though, but I'll try 
2.4.21 then first (the odd numbers were the stable ones?).

Do I only need the kernel-source package? I saw some kernel-header 
packages too...

Lars




Re: compiling 2.4.20

2003-07-09 Thread Falk Hueffner
Lars Oeschey <[EMAIL PROTECTED]> writes:

> since I checked the 2.4.18 kernel-image and found out that there's no 
> DAC960 support (only as module) I decided to compile a new 2.4.20 
> kernel. 

2.4.20 has serious bugs on Alpha, you should rather use 2.4.19 or
2.4.21.

> DAC960.c:1054: internal error--unrecognizable insn:
> (insn 1050 1046 482 (set (reg:DI 16 $16)
> (plus:DI (reg:DI 30 $30)
> (const_int 4398046511104 [0x400]))) -1 (nil)
> (nil))
> cpp0: output pipe has been closed
> make[4]: *** [DAC960.o] Error 1
> 
> Anyone has an idea wht the problem is?

A bug in gcc. Which version are you using? If you're not using gcc
3.3, try upgrading.

-- 
Falk




compiling 2.4.20

2003-07-09 Thread Lars Oeschey
Hi,

since I checked the 2.4.18 kernel-image and found out that there's no 
DAC960 support (only as module) I decided to compile a new 2.4.20 
kernel. 
I get the following error at compile time (make-kpkg --revision=epos.1.0 
kernel_image):

gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.20/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev5 -Wa,-mev6   
-nostdinc -iwithprefix include -DKBUILD_BASENAME=DAC960  
-DEXPORT_SYMTAB -c DAC960.c
DAC960.c: In function `DAC960_V2_EnableMemoryMailboxInterface':
DAC960.c:1054: internal error--unrecognizable insn:
(insn 1050 1046 482 (set (reg:DI 16 $16)
(plus:DI (reg:DI 30 $30)
(const_int 4398046511104 [0x400]))) -1 (nil)
(nil))
cpp0: output pipe has been closed
make[4]: *** [DAC960.o] Error 1

Anyone has an idea wht the problem is?

Lars