2003-09-13 23:42:47

by Kevin Breit

[permalink] [raw]
Subject: Need fixing of a rebooting system

Hey,
I compiled 2.6.0-test5 today and installed it with a basic make
install. This was a bz2 based kernel. Unfortunately, just after the
kernel is uncompressed at bootup, the system reboots. What can I do to
start fixing this?

Thanks

Kevin Breit


2003-09-13 23:46:07

by Zwane Mwaikambo

[permalink] [raw]
Subject: Re: Need fixing of a rebooting system

On Sat, 13 Sep 2003, Kevin Breit wrote:

> Hey,
> I compiled 2.6.0-test5 today and installed it with a basic make
> install. This was a bz2 based kernel. Unfortunately, just after the
> kernel is uncompressed at bootup, the system reboots. What can I do to
> start fixing this?

Please verify your processor type in the configuration.

Thanks,
Zwane

2003-09-14 11:29:22

by Kevin Breit

[permalink] [raw]
Subject: Re: Need fixing of a rebooting system

Zwane Mwaikambo wrote:

>On Sat, 13 Sep 2003, Kevin Breit wrote:
>
>
>
>>Hey,
>> I compiled 2.6.0-test5 today and installed it with a basic make
>>install. This was a bz2 based kernel. Unfortunately, just after the
>>kernel is uncompressed at bootup, the system reboots. What can I do to
>>start fixing this?
>>
>>
>
>Please verify your processor type in the configuration.
>
>

I set the CPU type to PII/Celeron and recompiled. It was at
PIII/Celeron but it still won't work. It is still rebooting.

Kevin

2003-09-14 13:04:57

by Zwane Mwaikambo

[permalink] [raw]
Subject: Re: Need fixing of a rebooting system

On Sun, 14 Sep 2003, Kevin Breit wrote:

> I set the CPU type to PII/Celeron and recompiled. It was at
> PIII/Celeron but it still won't work. It is still rebooting.

Please send your .config and a dmesg from a working kernel.

Thanks

2003-09-14 17:48:49

by Kevin Breit

[permalink] [raw]
Subject: Re: Need fixing of a rebooting system

On Sun, 2003-09-14 at 09:05, Zwane Mwaikambo wrote:
> On Sun, 14 Sep 2003, Kevin Breit wrote:
>
> > I set the CPU type to PII/Celeron and recompiled. It was at
> > PIII/Celeron but it still won't work. It is still rebooting.
>
> Please send your .config and a dmesg from a working kernel.

The files should be attached. If they aren't, please let me know!

Thanks for your help.

Kevin Breit


Attachments:
config (25.79 kB)
dmesg (6.30 kB)
Download all attachments

2003-09-14 21:42:44

by Zwane Mwaikambo

[permalink] [raw]
Subject: Re: Need fixing of a rebooting system

On Sun, 14 Sep 2003, Kevin Breit wrote:

> On Sun, 2003-09-14 at 09:05, Zwane Mwaikambo wrote:
> > On Sun, 14 Sep 2003, Kevin Breit wrote:
> >
> > > I set the CPU type to PII/Celeron and recompiled. It was at
> > > PIII/Celeron but it still won't work. It is still rebooting.
> >
> > Please send your .config and a dmesg from a working kernel.
>
> The files should be attached. If they aren't, please let me know!
>
> Thanks for your help.

Can you try with the following patch, courtesy of Adam Belay, my box
panicked with your .config without it.

--- a/sound/pci/ens1370.c 2003-09-13 19:28:45.000000000 +0000
+++ b/sound/pci/ens1370.c 2003-09-13 19:30:02.000000000 +0000
@@ -2354,7 +2354,11 @@
}

static struct pci_driver driver = {
- .name = "Ensoniq AudioPCI",
+#ifdef CHIP1371
+ .name = "Ensoniq 1371",
+#else
+ .name = "Ensoniq 1370",
+#endif
.id_table = snd_audiopci_ids,
.probe = snd_audiopci_probe,
.remove = __devexit_p(snd_audiopci_remove),

2003-09-14 23:50:32

by Kevin Breit

[permalink] [raw]
Subject: Re: Need fixing of a rebooting system

Zwane Mwaikambo wrote:

>On Sun, 14 Sep 2003, Kevin Breit wrote:
>
>
>
>>On Sun, 2003-09-14 at 09:05, Zwane Mwaikambo wrote:
>>
>>
>>>On Sun, 14 Sep 2003, Kevin Breit wrote:
>>>
>>>
>>>
>>>>I set the CPU type to PII/Celeron and recompiled. It was at
>>>>PIII/Celeron but it still won't work. It is still rebooting.
>>>>
>>>>
>>>Please send your .config and a dmesg from a working kernel.
>>>
>>>
>>The files should be attached. If they aren't, please let me know!
>>
>>Thanks for your help.
>>
>>
>
>Can you try with the following patch, courtesy of Adam Belay, my box
>panicked with your .config without it.
>
>--- a/sound/pci/ens1370.c 2003-09-13 19:28:45.000000000 +0000
>+++ b/sound/pci/ens1370.c 2003-09-13 19:30:02.000000000 +0000
>@@ -2354,7 +2354,11 @@
> }
>
> static struct pci_driver driver = {
>- .name = "Ensoniq AudioPCI",
>+#ifdef CHIP1371
>+ .name = "Ensoniq 1371",
>+#else
>+ .name = "Ensoniq 1370",
>+#endif
> .id_table = snd_audiopci_ids,
> .probe = snd_audiopci_probe,
> .remove = __devexit_p(snd_audiopci_remove),
>
>
This unfortunately didn't help. It still reboots right after it
uncompresses the kernel.

Thanks

Kevin Breit

2003-09-15 00:57:16

by Zwane Mwaikambo

[permalink] [raw]
Subject: Re: Need fixing of a rebooting system

On Sun, 14 Sep 2003, Kevin Breit wrote:

> This unfortunately didn't help. It still reboots right after it
> uncompresses the kernel.

Please try the attached .config, if that works, start removing things like
ACPI from your configuration.


Attachments:
config-bochs-2.5 (10.77 kB)

2003-09-15 14:56:51

by Kevin Breit

[permalink] [raw]
Subject: Re: Need fixing of a rebooting system

On Sun, 2003-09-14 at 20:57, Zwane Mwaikambo wrote:
> On Sun, 14 Sep 2003, Kevin Breit wrote:
>
> > This unfortunately didn't help. It still reboots right after it
> > uncompresses the kernel.
>
> Please try the attached .config, if that works, start removing things like
> ACPI from your configuration.

When I did a make it kept asking me for configuration options ("Do you
want to add this? [Y/n]") I'm not sure what to say to all these.

Thanks

Kevin

2003-09-15 16:21:23

by Kevin Breit

[permalink] [raw]
Subject: Re: Need fixing of a rebooting system

Zwane Mwaikambo wrote:

>On Sun, 14 Sep 2003, Kevin Breit wrote:
>
>
>
>>This unfortunately didn't help. It still reboots right after it
>>uncompresses the kernel.
>>
>>
>
>Please try the attached .config, if that works, start removing things like
>ACPI from your configuration.
>
Bah! I wasn't thinking this morning. I ran a make menuconfig and now
I'm running make, so ignore my last message. I'll reply later about the
new kernel.

Thanks

Kevin Breit

2003-09-15 16:40:49

by Kevin Breit

[permalink] [raw]
Subject: Re: Need fixing of a rebooting system

Zwane Mwaikambo wrote:

>On Sun, 14 Sep 2003, Kevin Breit wrote:
>
>
>
>>This unfortunately didn't help. It still reboots right after it
>>uncompresses the kernel.
>>
>>
>
>Please try the attached .config, if that works, start removing things like
>ACPI from your configuration.
>
Yay! This works. I am going to fiddle around with my kernel setup
(ACPI first?) and see what is causing my system to not boot. However,
the minimal kernel you sent me does work.

Thanks

Kevin Breit


2003-09-15 18:28:03

by Kevin Breit

[permalink] [raw]
Subject: Re: Need fixing of a rebooting system

iOn Sun, 2003-09-14 at 20:57, Zwane Mwaikambo wrote:
> On Sun, 14 Sep 2003, Kevin Breit wrote:
>
> > This unfortunately didn't help. It still reboots right after it
> > uncompresses the kernel.
>
> Please try the attached .config, if that works, start removing things like
> ACPI from your configuration.

I disabled ACPI and that didn't help. I reenabled it now and I'm
looking for other options to disable. But I don't know where to start.
Any suggestions?

Thanks

Kevin Breit

2003-09-15 19:14:33

by Chris Meadors

[permalink] [raw]
Subject: Re: Need fixing of a rebooting system

On Mon, 2003-09-15 at 14:27, Kevin Breit wrote:

> I disabled ACPI and that didn't help. I reenabled it now and I'm
> looking for other options to disable. But I don't know where to start.
> Any suggestions?

What CPU are you running on? It isn't an Opteron is it? I saw the same
thing with the NUMA support for the AMD64.

Use "make menuconfig" and have a look at all the options under the first
few menus. Make sure your CPU and power management options look right
for your machine. When in doubt read the help text for the option, it
is sometimes very helpful.

--
Chris

2003-09-15 22:24:44

by Chris Meadors

[permalink] [raw]
Subject: Re: Need fixing of a rebooting system

On Mon, 2003-09-15 at 16:44, Kevin Breit wrote:

> /proc/cpuinfo says:
>
> model name: Celeron (Coppermine)
>
> So my configuration for the first 5 main menu items that are enabled in
> makeconfig are:
>
> * Prompt for developer and/or incomplete code/drivers
> * Select only drivers expected to compile cleanly
> * Select only drivers that don't need compile-time external firmware
>
> * Support for paging of anonymous memory
> * System V IPC
> * BSD Process Accounting
> * Sysctl support
> * Subarchitecture Type (PC-compatible)
> * Processor family (Pentium-II/Celeron(pre-Coppermine))

You can pick the Pentium-III here, since you have a Coppermine core
Celeron. But this will almost surely not be any part of the solution to
the problem.

> * Preemptible Kernel
> * Machine Check Exception
> * /dev/cpu/microcode
> * /dev/cpu/*/msr
> * /dev/cpu/*/cpuid
> * BIOS Enhanced Disk Drive calls determine boot disk

I'd turn this off, just to see if it makes any change. It says it is
"believed to be safe", but it is experimental, and your controller BIOS
almost surely does not support it.

> * Power Management support
> *Full ACPI Support (minus the ASUS Laptop Extras and Toshiba Laptop
> Extras)
>
> Do you see anything in that list which I should look into ditching first?

Other than the EDD setting, I see nothing. What do you have in the next
choice after ACPI, the APM stuff?

Also, can you see anything on the screen before it reboots? There is
nothing after "Uncompressing kernel..."? Just boom, it reboots?

There isn't much that can trigger a reboot that early on.

--
Chris

2003-09-15 23:21:25

by Kevin Breit

[permalink] [raw]
Subject: Re: Need fixing of a rebooting system

Chris Meadors wrote:

>On Mon, 2003-09-15 at 16:44, Kevin Breit wrote:
>
>
>
>>/proc/cpuinfo says:
>>
>>model name: Celeron (Coppermine)
>>
>>So my configuration for the first 5 main menu items that are enabled in
>>makeconfig are:
>>
>>* Prompt for developer and/or incomplete code/drivers
>> * Select only drivers expected to compile cleanly
>> * Select only drivers that don't need compile-time external firmware
>>
>>* Support for paging of anonymous memory
>> * System V IPC
>> * BSD Process Accounting
>> * Sysctl support
>>* Subarchitecture Type (PC-compatible)
>>* Processor family (Pentium-II/Celeron(pre-Coppermine))
>>
>>
>
>You can pick the Pentium-III here, since you have a Coppermine core
>Celeron. But this will almost surely not be any part of the solution to
>the problem.
>
>
I didn't think it would make a difference.

>>* Preemptible Kernel
>>* Machine Check Exception
>>* /dev/cpu/microcode
>>* /dev/cpu/*/msr
>>* /dev/cpu/*/cpuid
>>* BIOS Enhanced Disk Drive calls determine boot disk
>>
>>
>
>I'd turn this off, just to see if it makes any change. It says it is
>"believed to be safe", but it is experimental, and your controller BIOS
>almost surely does not support it.
>
>
I turned this off. I'll report my findings shortly.

>>* Power Management support
>> *Full ACPI Support (minus the ASUS Laptop Extras and Toshiba Laptop
>>Extras)
>>
>>Do you see anything in that list which I should look into ditching first?
>>
>>
>
>Other than the EDD setting, I see nothing. What do you have in the next
>choice after ACPI, the APM stuff?
>
>
I have all the ACPI stuff enabled and no APM enabled. I do not have
ACPI debuggging statements enabled.

>Also, can you see anything on the screen before it reboots? There is
>nothing after "Uncompressing kernel..."? Just boom, it reboots?
>
>
It says Uncompressing kernel....................gives the message saying
the uncompression is done and then reboots. The time between finishing
the uncompression and rebooting is about .1 sec.

>There isn't much that can trigger a reboot that early on.
>
>
I figured that, which is why I am asking for help about where to disable
things?

Thanks

Kevin Breit

2003-09-16 02:47:34

by Kevin Breit

[permalink] [raw]
Subject: Re: Need fixing of a rebooting system

Chris Meadors wrote:

>On Mon, 2003-09-15 at 16:44, Kevin Breit wrote
>
>>* Preemptible Kernel
>>* Machine Check Exception
>>* /dev/cpu/microcode
>>* /dev/cpu/*/msr
>>* /dev/cpu/*/cpuid
>>* BIOS Enhanced Disk Drive calls determine boot disk
>>
>>
>
>I'd turn this off, just to see if it makes any change. It says it is
>"believed to be safe", but it is experimental, and your controller BIOS
>almost surely does not support it.
>
>
>
Disabling this didn't fix anything.

Kevin


2003-09-16 02:45:04

by Rahul Karnik

[permalink] [raw]
Subject: Re: Need fixing of a rebooting system

Kevin Breit wrote:

> * Machine Check Exception
> * /dev/cpu/microcode
> * /dev/cpu/*/msr
> * /dev/cpu/*/cpuid
> * BIOS Enhanced Disk Drive calls determine boot disk
> * Power Management support
> *Full ACPI Support (minus the ASUS Laptop Extras and Toshiba Laptop
> Extras)

I would turn off all of these. None of them should be necessary. You cab
turn ACPI back on afterwards to see if it works again.

-Rahul
--
Rahul Karnik
[email protected]
http://www.genebrew.com/

2003-09-16 04:30:28

by Zwane Mwaikambo

[permalink] [raw]
Subject: Re: Need fixing of a rebooting system

On Mon, 15 Sep 2003, Kevin Breit wrote:

> iOn Sun, 2003-09-14 at 20:57, Zwane Mwaikambo wrote:
> > On Sun, 14 Sep 2003, Kevin Breit wrote:
> >
> > > This unfortunately didn't help. It still reboots right after it
> > > uncompresses the kernel.
> >
> > Please try the attached .config, if that works, start removing things like
> > ACPI from your configuration.
>
> I disabled ACPI and that didn't help. I reenabled it now and I'm
> looking for other options to disable. But I don't know where to start.
> Any suggestions?

Sure, but let's take it off the mailing list.

2003-09-15 20:53:24

by Kevin Breit

[permalink] [raw]
Subject: Re: Need fixing of a rebooting system

Chris Meadors wrote:

>On Mon, 2003-09-15 at 14:27, Kevin Breit wrote:
>
>
>
>>I disabled ACPI and that didn't help. I reenabled it now and I'm
>>looking for other options to disable. But I don't know where to start.
>>Any suggestions?
>>
>>
>
>What CPU are you running on? It isn't an Opteron is it? I saw the same
>thing with the NUMA support for the AMD64.
>
>Use "make menuconfig" and have a look at all the options under the first
>few menus. Make sure your CPU and power management options look right
>for your machine. When in doubt read the help text for the option, it
>is sometimes very helpful.
>
>
>
/proc/cpuinfo says:

model name: Celeron (Coppermine)

So my configuration for the first 5 main menu items that are enabled in
makeconfig are:

* Prompt for developer and/or incomplete code/drivers
* Select only drivers expected to compile cleanly
* Select only drivers that don't need compile-time external firmware

* Support for paging of anonymous memory
* System V IPC
* BSD Process Accounting
* Sysctl support
* Subarchitecture Type (PC-compatible)
* Processor family (Pentium-II/Celeron(pre-Coppermine))
* Preemptible Kernel
* Machine Check Exception
* /dev/cpu/microcode
* /dev/cpu/*/msr
* /dev/cpu/*/cpuid
* BIOS Enhanced Disk Drive calls determine boot disk
* Power Management support
*Full ACPI Support (minus the ASUS Laptop Extras and Toshiba Laptop
Extras)

Do you see anything in that list which I should look into ditching first?

Thanks

Kevin Breit