Xenomai patched SMP kernel and "nosmp" kernel parameter
Hi everybody,
I have a SMP kernel 2.6.17.7 on a Dual Core Pentium 4 running. SMP is enabled at the kernel configuration.
This works fine.
However, I want to compare UP with SMP operation, that's why
I want to boot the system with the "nosmp" kernel parameter. However, booting of the PC with nosmp does not work.
First it starts fine, however when trying to access hdb (which is the CD ROM drive in my system) to get info about it, the message
"hdb: lost interrupt"
appears, and booting is stopped.
Does the nosmp parameter work with a Xenomai patched kernel? Or what could be wrong with it....
I am using the latest Xenomai SVN #1948.
The kernel patch is adeos-ipipe-2.6.17-i386-1.5-02.patch
Any ideas on this?
Thanks for any response
Regards
Mathias
Signature · 9 lines
Mathias Koehrer [email protected] Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer, nur 44,85 € inkl. DSL- und ISDN-Grundgebühr! http://www.arcor.de/rd/emf-dsl-2
Quoted 13 lines · M. Koehrer
Hi everybody,
I have a SMP kernel 2.6.17.7 on a Dual Core Pentium 4 running. SMP is enabled at the kernel configuration.
This works fine.
However, I want to compare UP with SMP operation, that's why
I want to boot the system with the "nosmp" kernel parameter. However, booting of the PC with nosmp does not work.
First it starts fine, however when trying to access hdb (which is the CD ROM drive in my system) to get info about it, the message
"hdb: lost interrupt"
appears, and booting is stopped.
Quoted 7 lines
Does the nosmp parameter work with a Xenomai patched kernel? Or what could be wrong with it....
I am using the latest Xenomai SVN #1948.
The kernel patch is adeos-ipipe-2.6.17-i386-1.5-02.patchAny ideas on this?
Same for maxcpus=0? I'm asking as this configures the system more aggressively smp-less on x86 (patching spinlock alternatives for UP, configuring LAPIC mode etc.).
Jan
Re: Re: [Xenomai-help] Xenomai patched SMP kernel and "nosmp" kernel
Hi Jan,
I tried the kernel parameter maxcpus=0 on my SMP enabled, Xenomai-patched kernel (same as in mails below). The kernel does not boot.
It stops after a couple of messages:
IOAPIC[0]: Invalid reference to IRQ 0
Regards
Mathias
Quoted 26 lines
Quoted 9 lines · M. Koehrer
Hi everybody,
I have a SMP kernel 2.6.17.7 on a Dual Core Pentium 4 running. SMP is enabled at the kernel configuration.
This works fine.
However, I want to compare UP with SMP operation, that's why I want to boot the system with the "nosmp" kernel parameter. However, booting of the PC with nosmp does not work.
First it starts fine, however when trying to access hdb (which is the CDROM
Quoted 11 lines
drive in my system) to get info about it, the message "hdb: lost interrupt"
appears, and booting is stopped.Does the nosmp parameter work with a Xenomai patched kernel? Or what could be wrong with it....
I am using the latest Xenomai SVN #1948.
The kernel patch is adeos-ipipe-2.6.17-i386-1.5-02.patchAny ideas on this?
Same for maxcpus=0? I'm asking as this configures the system more aggressively smp-less on x86 (patching spinlock alternatives for UP, configuring LAPIC mode etc.).
Signature · 9 lines
Mathias Koehrer [email protected] Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer, nur 44,85 € inkl. DSL- und ISDN-Grundgebühr! http://www.arcor.de/rd/emf-dsl-2
Re: [Xenomai-help] Xenomai patched SMP kernel and "nosmp" kernel
Quoted 6 lines · M. Koehrer
Hi Jan,
I tried the kernel parameter maxcpus=0 on my SMP enabled, Xenomai-patched kernel (same as in mails below). The kernel does not boot.
It stops after a couple of messages:
IOAPIC[0]: Invalid reference to IRQ 0
OK, a few things more to verify:
- kernel boots fine with your scenario except CONFIG_IPIPE disabled?
- problem persists with 2.6.19-ipipe-1.6-02?
And could you post your .config and the boot log?
Jan
Re: Re: [Xenomai-help] Xenomai patched SMP kernel and "nosmp" kernel
Hi Jan,
I have used an standard vanilla kernel without any patches and this delivered the same results. It seems to be an issue that is not related to Xenomai or Adeos.
When I pass the kernel parameter hdb=noprobe
the kernel boots fine (however, I can not access the CD-ROM drive anymore...).
I think the reason for that could be, that my hard disk is a SATA drive and the only IDE device is the CD ROM on hdb, I do not have a hda device.
There are many entries on that somewhere in the internet...
I'll try the same on a 2.6.19.1 kernel to see if this solves the issue.
Thanks for the hints!
Regards
Mathias
Quoted 19 lines
Quoted 3 lines · M. Koehrer
Hi Jan,
I tried the kernel parameter maxcpus=0 on my SMP enabled, Xenomai-patched
kernel (same as in mails below).
Quoted 3 lines
The kernel does not boot.
It stops after a couple of messages:
IOAPIC[0]: Invalid reference to IRQ 0OK, a few things more to verify:
- kernel boots fine with your scenario except
CONFIG_IPIPEdisabled?
- problem persists with 2.6.19-ipipe-1.6-02?And could you post your .config and the boot log?
Jan
Signature · 9 lines
Mathias Koehrer [email protected] Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer, nur 44,85 € inkl. DSL- und ISDN-Grundgebühr! http://www.arcor.de/rd/emf-dsl-2