Re: kernel without smp

2006-11-23 Thread Goswin von Brederlow
sigi [EMAIL PROTECTED] writes:

 On Tue, Nov 21, 2006 at 10:25:24PM -0500, Jim Crilly wrote:
 On 11/22/06 03:28:25AM +0100, sigi wrote:
On Tue, Nov 07, 2006 at 03:23:36PM -0500, Jim Crilly wrote:
   No affect in that both CPUs are always detected or just that the box 
   still
   locks up? 
  
  If I remember right, the nosmp-option produced a kernel-panic during 
  boot-time, and maxcpus=1 froze the keyboard while trying to get my IP 
  with ifup.
  
   Although either way your only real option is to compile a custom
   kernel for UP. 
  
  I tried this yesterday, but dpkg didn't install my custom kernel... I 
  don't know, what the problem was - I tried the 'official' debian way, 
  and only disabled smp-support from the debian-kernelimage config-file. 
  But dpkg could not install it
  
 
 You did use make-kpkg to build it first, right?

 I used this howto:
 http://d-i.alioth.debian.org/manual/en.i386/ch08s06.html

 but when I try to install my custom kernel, dpkg fails with this 
 message: 

 
 Missing Required paramater 'Old' at 
 /var/lib/dpkg/info/linux-image-2.6.17.postinst line 393.
 dpkg: Fehler beim Bearbeiten von linux-image-2.6.17 (--install):
  Unterprozess post-installation script gab den Fehlerwert 2 zurück 
 

 sigi.

Known bug. update.

MfG
Goswin


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



Re: kernel without smp

2006-11-22 Thread sigi
On Tue, Nov 21, 2006 at 10:25:24PM -0500, Jim Crilly wrote:
 On 11/22/06 03:28:25AM +0100, sigi wrote:
On Tue, Nov 07, 2006 at 03:23:36PM -0500, Jim Crilly wrote:
   No affect in that both CPUs are always detected or just that the box still
   locks up? 
  
  If I remember right, the nosmp-option produced a kernel-panic during 
  boot-time, and maxcpus=1 froze the keyboard while trying to get my IP 
  with ifup.
  
   Although either way your only real option is to compile a custom
   kernel for UP. 
  
  I tried this yesterday, but dpkg didn't install my custom kernel... I 
  don't know, what the problem was - I tried the 'official' debian way, 
  and only disabled smp-support from the debian-kernelimage config-file. 
  But dpkg could not install it
  
 
 You did use make-kpkg to build it first, right?

I used this howto:
http://d-i.alioth.debian.org/manual/en.i386/ch08s06.html

but when I try to install my custom kernel, dpkg fails with this 
message: 


Missing Required paramater 'Old' at 
/var/lib/dpkg/info/linux-image-2.6.17.postinst line 393.
dpkg: Fehler beim Bearbeiten von linux-image-2.6.17 (--install):
 Unterprozess post-installation script gab den Fehlerwert 2 zurück 


sigi.



Re: kernel without smp

2006-11-22 Thread Micha
Sigi,

You don't need to cerate a debian package.
You can go with the kernel.org standard, and spare some headache.
Now flame me, debiaños |-)

Also, try without initrd, if possible.

cd /usr/src/linux-source-bla
make menuconfig  (configure an extraversion string like 'myfirst')
[make clean]
make
make modules
[su root]
make modules_install install

If anything went fine, look into /boot and understand.
Then add an entry to /boot/grub/menu.lst.

It's no bad idea to boot untested custom kernels into 'init' single user
first, you can remove that option later.

title ___ test
root (hd0,5)
kernel (hd0,0)/vmlinuz-test root=/dev/hda6 ro single

(that's for '/' on /dev/hda6)

file:///usr/src/linux-source-2.6.18/README
more deatils
http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html#CONFIGURATION-INTRO


good luck




 m°


ps. you don't need a huge bunch of the stuff configured in preconfigured
kernelimages, maybe you find a better .config somewhere in the net.


pps. If you installed 'external' modules (not in the kerneldource-tree)
make sure /usr/src/modules contains the most recent version,
before you compile the kernel: Either delete /usr/src/moldules completely
and uncompress the tarballs of the modules packages (placed in /usr/src) 
to restore /usr/src/modules again. Or use module-assistant for anything.



Re: kernel without smp

2006-11-22 Thread Hamish Moffatt
On Wed, Nov 22, 2006 at 11:08:24PM +0100, Micha wrote:
 You don't need to cerate a debian package.
 You can go with the kernel.org standard, and spare some headache.
 Now flame me, debiaños |-)
 
 Also, try without initrd, if possible.
 
 cd /usr/src/linux-source-bla
 make menuconfig  (configure an extraversion string like 'myfirst')
 [make clean]
 make
[..]

By all means compile from kernel.org if you want, but you can still use
make-kpkg to build yourself a .deb. It will install itself into your
grub menu too.


Hamish
-- 
Hamish Moffatt VK3SB [EMAIL PROTECTED] [EMAIL PROTECTED]


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



Re: kernel without smp

2006-11-21 Thread sigi
On Tue, Nov 21, 2006 at 09:03:33PM -0500, Jim Crilly wrote:
 On 11/22/06 02:37:19AM +0100, sigi wrote:
  On Tue, Nov 07, 2006 at 03:23:36PM -0500, Jim Crilly wrote:
   Have you tried booting with the kernel parameters 'nosmp' or 'maxcpus=1'?
  
  Just for your information: this two parameters do _not_ work - they both 
  seem to have no affect. ifup freezes the keyboard everytime I try to 
  connect my wlan-card. 
  
  But the badest thing is: after my last apt-upgrade no available rt2570 
  wlan-card-module can connect to the internet! A fiew days I could use a 
  daily build from the developers-website [1], but since my last upgrade 
  this doesn't work anymore. For now it's impossible for me to connect to 
  the internet with my amd64-machine - and that because there are only 
  smp-enabled linux-images out there for amd64 very very bad! 
  
  
 
 No affect in that both CPUs are always detected or just that the box still
 locks up? 

If I remember right, the nosmp-option produced a kernel-panic during 
boot-time, and maxcpus=1 froze the keyboard while trying to get my IP 
with ifup.

 Although either way your only real option is to compile a custom
 kernel for UP. 

I tried this yesterday, but dpkg didn't install my custom kernel... I 
don't know, what the problem was - I tried the 'official' debian way, 
and only disabled smp-support from the debian-kernelimage config-file. 
But dpkg could not install it

 Sounds like the rt2xxx developers need to get their act
 together and fix their locking problems, things will only get worse as more
 and more dual-core notebooks are released. 

Possibly I should write a new post into their forum, that they think 
about this in the future?!?

 I've actually had similar issues
 with the rt2500 driver on my notebook since it has HT, but since I was
 already using a custom kernel to apply some 3rd party patches I just
 disabled SMP to work around it.

I'll try to compile my own kernel the next days... but I don't know, 
what I did wrong the last time - while it's really not complicated...


sigi. 


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



Re: kernel without smp

2006-11-21 Thread Jim Crilly
On 11/22/06 02:37:19AM +0100, sigi wrote:
 On Tue, Nov 07, 2006 at 03:23:36PM -0500, Jim Crilly wrote:
  Have you tried booting with the kernel parameters 'nosmp' or 'maxcpus=1'?
 
 Just for your information: this two parameters do _not_ work - they both 
 seem to have no affect. ifup freezes the keyboard everytime I try to 
 connect my wlan-card. 
 
 But the badest thing is: after my last apt-upgrade no available rt2570 
 wlan-card-module can connect to the internet! A fiew days I could use a 
 daily build from the developers-website [1], but since my last upgrade 
 this doesn't work anymore. For now it's impossible for me to connect to 
 the internet with my amd64-machine - and that because there are only 
 smp-enabled linux-images out there for amd64 very very bad! 
 
 

No affect in that both CPUs are always detected or just that the box still
locks up? Although either way your only real option is to compile a custom
kernel for UP. Sounds like the rt2xxx developers need to get their act
together and fix their locking problems, things will only get worse as more
and more dual-core notebooks are released. I've actually had similar issues
with the rt2500 driver on my notebook since it has HT, but since I was
already using a custom kernel to apply some 3rd party patches I just
disabled SMP to work around it.

Jim.


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



Re: kernel without smp

2006-11-21 Thread sigi
On Tue, Nov 07, 2006 at 03:23:36PM -0500, Jim Crilly wrote:
 On 11/07/06 03:07:47PM +0100, sigi wrote:
  Hi, 
  
  as I noticed today, for my wlan-card-module, I need a kernel without 
  smp-support enabled... This was the reason, my new rt2570-module always 
  locked my keyboard: the prebuilt debian kernel I'm using 
  (2.6.17-2-amd64) has smp enabled. 
  
  Now, to resolve the problem, do I have to build my own kernel (what I 
  not really want), or is it enough to install the package 
  linux-image-2.6-amd64-k8? 
  
  I didn't find any kernel *amd64-k8 for etch, which existed earlier, so I 
  think that linux-image-2.6-amd64-k8 (as transitional package) will only 
  update to the latest generic amd-kernel available? 
  
  So, only chance to build my own one to use my rt2570-module? 
  
 
 Have you tried booting with the kernel parameters 'nosmp' or 'maxcpus=1'?

Just for your information: this two parameters do _not_ work - they both 
seem to have no affect. ifup freezes the keyboard everytime I try to 
connect my wlan-card. 

But the badest thing is: after my last apt-upgrade no available rt2570 
wlan-card-module can connect to the internet! A fiew days I could use a 
daily build from the developers-website [1], but since my last upgrade 
this doesn't work anymore. For now it's impossible for me to connect to 
the internet with my amd64-machine - and that because there are only 
smp-enabled linux-images out there for amd64 very very bad! 


sigi.


[1] http://rt2x00.serialmonkey.com/wiki/index.php/Downloads




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



Re: kernel without smp

2006-11-21 Thread Jim Crilly
On 11/22/06 03:28:25AM +0100, sigi wrote:
   On Tue, Nov 07, 2006 at 03:23:36PM -0500, Jim Crilly wrote:
  No affect in that both CPUs are always detected or just that the box still
  locks up? 
 
 If I remember right, the nosmp-option produced a kernel-panic during 
 boot-time, and maxcpus=1 froze the keyboard while trying to get my IP 
 with ifup.
 
  Although either way your only real option is to compile a custom
  kernel for UP. 
 
 I tried this yesterday, but dpkg didn't install my custom kernel... I 
 don't know, what the problem was - I tried the 'official' debian way, 
 and only disabled smp-support from the debian-kernelimage config-file. 
 But dpkg could not install it
 

You did use make-kpkg to build it first, right?

  Sounds like the rt2xxx developers need to get their act
  together and fix their locking problems, things will only get worse as more
  and more dual-core notebooks are released. 
 
 Possibly I should write a new post into their forum, that they think 
 about this in the future?!?
 

AFAIK they've known about it for a long time, it's been an issue for as
long as I've had my rt2500 card. But it can't hurt to remind them.

Jim.


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



kernel without smp

2006-11-07 Thread sigi
Hi, 

as I noticed today, for my wlan-card-module, I need a kernel without 
smp-support enabled... This was the reason, my new rt2570-module always 
locked my keyboard: the prebuilt debian kernel I'm using 
(2.6.17-2-amd64) has smp enabled. 

Now, to resolve the problem, do I have to build my own kernel (what I 
not really want), or is it enough to install the package 
linux-image-2.6-amd64-k8? 

I didn't find any kernel *amd64-k8 for etch, which existed earlier, so I 
think that linux-image-2.6-amd64-k8 (as transitional package) will only 
update to the latest generic amd-kernel available? 

So, only chance to build my own one to use my rt2570-module? 


Regards,
sigi.


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



Re: kernel without smp

2006-11-07 Thread Jim Crilly
On 11/07/06 03:07:47PM +0100, sigi wrote:
 Hi, 
 
 as I noticed today, for my wlan-card-module, I need a kernel without 
 smp-support enabled... This was the reason, my new rt2570-module always 
 locked my keyboard: the prebuilt debian kernel I'm using 
 (2.6.17-2-amd64) has smp enabled. 
 
 Now, to resolve the problem, do I have to build my own kernel (what I 
 not really want), or is it enough to install the package 
 linux-image-2.6-amd64-k8? 
 
 I didn't find any kernel *amd64-k8 for etch, which existed earlier, so I 
 think that linux-image-2.6-amd64-k8 (as transitional package) will only 
 update to the latest generic amd-kernel available? 
 
 So, only chance to build my own one to use my rt2570-module? 
 

Have you tried booting with the kernel parameters 'nosmp' or 'maxcpus=1'?

Jim.


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



Re: kernel without smp

2006-11-07 Thread sigi
Hi,

On Tue, Nov 07, 2006 at 03:23:36PM -0500, Jim Crilly wrote:
 On 11/07/06 03:07:47PM +0100, sigi wrote:
  
  So, only chance to build my own one to use my rt2570-module? 
  
 
 Have you tried booting with the kernel parameters 'nosmp' or 'maxcpus=1'?

No, I didn't... Thanks for this hint, I'll give it a try.
I don't know, which parameters I could give to grub before booting the 
kernel...

sigi.


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