FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 06-25-2008, 06:44 PM
"Piotr Roszatycki"
 
Default Bug#488022: linux-image-2.6.25-2-486: Does not boot on Vortex86SX (BUG: Int 6: CR2 00000000)

Package: linux-image-2.6.25-2-486
Version: 2.6.25-5
Severity: important

The kernel doesn't boot on Vortex86SX machine. It is a regresion,
because previous version of this kernel package worked correctly.

The only message after boot is

BUG: Int 6: CR2 00000000

It is similar to #464962 but it cannot be verified without detailed
CPU register info.

More info:

# ./longnop
Long NOPs supported: no
# cat /proc/cpuinfo
processor : 0
vendor_id : unknown
cpu family : 4
model : 0
model name : 486
stepping : unknown
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : no
fpu_exception : no
cpuid level : -1
wp : yes
flags :
bogomips : 98.30
clflush size : 32


--
.'`. Piotr Roszatycki
: :' : mailto:Piotr.Roszatycki@gmail.com
`. `' mailto:dexter@debian.org
`-



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 06-26-2008, 01:00 AM
maximilian attems
 
Default Bug#488022: linux-image-2.6.25-2-486: Does not boot on Vortex86SX (BUG: Int 6: CR2 00000000)

On Wed, Jun 25, 2008 at 08:44:30PM +0200, Piotr Roszatycki wrote:
> Package: linux-image-2.6.25-2-486
> Version: 2.6.25-5
> Severity: important
>
> The kernel doesn't boot on Vortex86SX machine. It is a regresion,
> because previous version of this kernel package worked correctly.
>
> The only message after boot is
>
> BUG: Int 6: CR2 00000000
>
> It is similar to #464962 but it cannot be verified without detailed
> CPU register info.
>
> More info:
>
> # ./longnop
> Long NOPs supported: no
> # cat /proc/cpuinfo
> processor : 0
> vendor_id : unknown
> cpu family : 4
> model : 0
> model name : 486
> stepping : unknown
> fdiv_bug : no
> hlt_bug : no
> f00f_bug : no
> coma_bug : no
> fpu : no
> fpu_exception : no
> cpuid level : -1
> wp : yes
> flags :
> bogomips : 98.30
> clflush size : 32

please report on bugzilla.kernel.org and let us know the upstream
bug number, thanks

--
maks



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-26-2008, 12:44 AM
bruce robson
 
Default Bug#488022: linux-image-2.6.25-2-486: Does not boot on Vortex86SX (BUG: Int 6: CR2 00000000)

It doesn't work on an Intel ClassicR+ either. This is a computer with a 486 processor, ISA bus, the BIOS doesn't support ACPI, APM or pnp. 2.6.24-1-486 does work on this computer.

The last few lines shown when attempting to boot 2.6.25-2-486 are (lilo is my boot loader)
loading Linux ............................
BIOS data check successful
Probing EDD (edd=off to disable)... ok
Decompressing Linux ... Parsing ELF ... done.
Booting the kernel.

BUG: Int 6: CR2 00000000


p.s. I have looked at bugzilla.kernel.org but that requires you to know what part of the kernel contains the bug which I don't.
__________________________________________________ _______________
Keep your kids safer online with Windows Live Family Safety.
http://www.windowslive.com/family_safety/overview.html?ocid=TXT_TAGLM_WL_family_safety_0720 08


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-26-2008, 07:18 AM
maximilian attems
 
Default Bug#488022: linux-image-2.6.25-2-486: Does not boot on Vortex86SX (BUG: Int 6: CR2 00000000)

On Sat, Jul 26, 2008 at 12:44:59AM +0000, bruce robson wrote:
>
> It doesn't work on an Intel ClassicR+ either. This is a computer with a 486 processor, ISA bus, the BIOS doesn't support ACPI, APM or pnp. 2.6.24-1-486 does work on this computer.
>
> The last few lines shown when attempting to boot 2.6.25-2-486 are (lilo is my boot loader)
> loading Linux ............................
> BIOS data check successful
> Probing EDD (edd=off to disable)... ok
> Decompressing Linux ... Parsing ELF ... done.
> Booting the kernel.
>
> BUG: Int 6: CR2 00000000
>
>
> p.s. I have looked at bugzilla.kernel.org but that requires you to know what part of the kernel contains the bug which I don't.

try acpi=off nohz=off noapic nolapic



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-26-2008, 11:35 AM
bruce robson
 
Default Bug#488022: linux-image-2.6.25-2-486: Does not boot on Vortex86SX (BUG: Int 6: CR2 00000000)

> try acpi=off nohz=off noapic nolapic

I tried the following at the lilo boot prompt
Linux ide-core.options=hda=remap acpi=off nohz=off noapic nolapic
I still got the BUG: Int 6: CR2 00000000 message.

p.s. The ide-core.options=hda=remap is because the BIOS doesn't support disks over 500MB approx.
Therefore I have to use EZ-BIOS to allow me to use the full capacity of my 4GB disk.

__________________________________________________ _______________
Keep your kids safer online with Windows Live Family Safety.
http://www.windowslive.com/family_safety/overview.html?ocid=TXT_TAGLM_WL_family_safety_0720 08


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-29-2008, 11:50 PM
bruce robson
 
Default Bug#488022: linux-image-2.6.25-2-486: Does not boot on Vortex86SX (BUG: Int 6: CR2 00000000)

I've tried compiling various official kernel.org releases.

The bug was not in official release v2.6.25.5 but is in v2.6.25.6.

__________________________________________________ _______________
Stay in touch when you're away with Windows Live Messenger.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_messenger2_072008


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-30-2008, 10:31 AM
maximilian attems
 
Default Bug#488022: linux-image-2.6.25-2-486: Does not boot on Vortex86SX (BUG: Int 6: CR2 00000000)

On Sat, 26 Jul 2008, bruce robson wrote:

>
> > try acpi=off nohz=off noapic nolapic
>
> I tried the following at the lilo boot prompt
> Linux ide-core.options=hda=remap acpi=off nohz=off noapic nolapic
> I still got the BUG: Int 6: CR2 00000000 message.
>
> p.s. The ide-core.options=hda=remap is because the BIOS doesn't support disks over 500MB approx.
> Therefore I have to use EZ-BIOS to allow me to use the full capacity of my 4GB disk.

2.6.26 should land soonest in unstable, please try it out.
if it still fails please report upstream in bugzilla.kernel.org
and let us know the bug number.

thanks

--
maks



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-30-2008, 12:49 PM
bruce robson
 
Default Bug#488022: linux-image-2.6.25-2-486: Does not boot on Vortex86SX (BUG: Int 6: CR2 00000000)

I've now been running git. I started with
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.25.y.git

I did a git bisect and found that the commit that introduced the bug is

commit 94aa6550e8668fab1997e2d57a48b22cf68090b2
Author: Thomas Gleixner
Date: Tue May 13 12:31:00 2008 +0200

x86: distangle user disabled TSC from unstable

upstream commit: 9ccc906c97e34fd91dc6aaf5b69b52d824386910

tsc_enabled is set to 0 from the command line switch "notsc" and from
the mark_tsc_unstable code. Seperate those functionalities and replace
tsc_enable with tsc_disable. This makes also the native_sched_clock()
decision when to use TSC understandable.

Preparatory patch to solve the sched_clock() issue on 32 bit.

Signed-off-by: Thomas Gleixner
Signed-off-by: Chris Wright

This commit changes file arch/x86/kernel/tsc_32.c

I tried booting with notsc but I still got "BUG: Int 6: CR2 00000000"

After looking at the commitdiff, I guessed that native_sched_clock() gets called before tsc_init().
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.25.y.git;a=commitdiff;h=94aa6550e8668fab1997e2 d57a48b22cf68090b2

Prior to the commit native_sched_clock() looked at unitialised tsc_enable which holds 0
so didn't attempt to access a TSC. After the commit native_sched_clock() looks at
unitialised tsc_disable which holds 0 so attempts to access a TSC leading to the BUG:

Starting with a kernel tree from immediately after the faulty commit. I made the following
change which stops the BUG occuring.

*** arch/x86/kernel/tsc_32.c.000 2008-07-30 13:07:57.000000000 +0100
--- arch/x86/kernel/tsc_32.c 2008-07-30 13:09:57.000000000 +0100
*************** unsigned long long native_sched_clock(vo
*** 121,127 ****
* very important for it to be as fast as the platform
* can achive it. )
*/
! if (unlikely(tsc_disabled))
/* No locking but a rare wrong value is not a big deal: */
return (jiffies_64 - INITIAL_JIFFIES) * (1000000000 / HZ);

--- 121,127 ----
* very important for it to be as fast as the platform
* can achive it. )
*/
! if (unlikely(tsc_disabled || !cpu_has_tsc))
/* No locking but a rare wrong value is not a big deal: */
return (jiffies_64 - INITIAL_JIFFIES) * (1000000000 / HZ);

__________________________________________________ _______________
Stay in touch when you're away with Windows Live Messenger.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_messenger2_072008


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 09-25-2008, 07:11 PM
dann frazier
 
Default Bug#488022: linux-image-2.6.25-2-486: Does not boot on Vortex86SX (BUG: Int 6: CR2 00000000)

On Wed, Jul 30, 2008 at 12:49:38PM +0000, bruce robson wrote:
>
> I've now been running git. I started with
> git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.25.y.git
>
> I did a git bisect and found that the commit that introduced the bug is
>
> commit 94aa6550e8668fab1997e2d57a48b22cf68090b2
> Author: Thomas Gleixner
> Date: Tue May 13 12:31:00 2008 +0200
>
> x86: distangle user disabled TSC from unstable
>
> upstream commit: 9ccc906c97e34fd91dc6aaf5b69b52d824386910
>
> tsc_enabled is set to 0 from the command line switch "notsc" and from
> the mark_tsc_unstable code. Seperate those functionalities and replace
> tsc_enable with tsc_disable. This makes also the native_sched_clock()
> decision when to use TSC understandable.
>
> Preparatory patch to solve the sched_clock() issue on 32 bit.
>
> Signed-off-by: Thomas Gleixner
> Signed-off-by: Chris Wright
>
> This commit changes file arch/x86/kernel/tsc_32.c

Great, thanks Bruce! Can you file a bug on bugzilla.kernel.org with
this information and let us know the number so we can track it?

--
dann frazier




--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-07-2008, 06:58 PM
Moritz Muehlenhoff
 
Default Bug#488022: linux-image-2.6.25-2-486: Does not boot on Vortex86SX (BUG: Int 6: CR2 00000000)

On Thu, Sep 25, 2008 at 01:11:38PM -0600, dann frazier wrote:
> On Wed, Jul 30, 2008 at 12:49:38PM +0000, bruce robson wrote:
> >
> > I've now been running git. I started with
> > git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.25.y.git
> >
> > I did a git bisect and found that the commit that introduced the bug is
> >
> > commit 94aa6550e8668fab1997e2d57a48b22cf68090b2
> > Author: Thomas Gleixner
> > Date: Tue May 13 12:31:00 2008 +0200
> >
> > x86: distangle user disabled TSC from unstable
> >
> > upstream commit: 9ccc906c97e34fd91dc6aaf5b69b52d824386910
> >
> > tsc_enabled is set to 0 from the command line switch "notsc" and from
> > the mark_tsc_unstable code. Seperate those functionalities and replace
> > tsc_enable with tsc_disable. This makes also the native_sched_clock()
> > decision when to use TSC understandable.
> >
> > Preparatory patch to solve the sched_clock() issue on 32 bit.
> >
> > Signed-off-by: Thomas Gleixner
> > Signed-off-by: Chris Wright
> >
> > This commit changes file arch/x86/kernel/tsc_32.c
>
> Great, thanks Bruce! Can you file a bug on bugzilla.kernel.org with
> this information and let us know the number so we can track it?

Bruce, did you pass this upstream or is the bug fixed in current Lenny
or unstable kernel images?

Cheers,
Moritz



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 05:14 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org