Re: 2.1.103 crashes during IDE probing (2.1.101 ok)

Michael L. Galbraith (mikeg@weiden.de)
Fri, 29 May 1998 07:03:23 +0200 (MET DST)


On Thu, 28 May 1998, Linux Lists wrote:

>
> On Thu, 28 May 1998, Erik Andersen wrote:
>
> > On Thu, 28 May 1998, Linux Lists wrote:
> >
> > > Hi there,
> > >
> > > I've tried to compile the stock kernel 2.1.103 and during boot it crashes
> > > as follows:
> > >
> > > Starting kswapd v 1.5
> > > PIIX3: IDE controller on PCI bus 00 dev 39
> > > PIIX3: not 100% native mode: will probe irqs later
> > > ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
> > > Unable to handle kernel paging request at virtual address fec00000
> > > current->tss.cr3 = 00101000, %cr3 = 00101000
> > > *pde = 001fd067
> > > *pte = 00000000
> > > Oops: 0002
> > > CPU: 0
> > > EIP: 0010:[<c0110590>]
> > > EFLAGS: 00010013
> > > eax: 00000011 ebx: 00000011 ecx: 00000017 edx: c01fbbc4
> > > esi: 00000000 edi: c01fbbc4 ebp: c01fbbe0 esp: c026be90
> > > ds: 0018 es: 0018 ss: 0018
> > [------snip---------]
> >
> > You need to do a `make mrproper` to get rid of the old stuff (there doesn't
> > seem to be a proper dependancy set up for the master Makefile). Then
> > do your re-compile for UP and it will work.
>
> Yeah, it worked. Thank you very much.
>
> Now a question: why does it crash when SMP = 1 ?? Is it supposed to when
> the machine is UP ?? I remember never having problems with SMP kernels
> running on UP systems, at least up to 2.1.101 (which is the last one I
> used prior to 2.1.103). Just want to know the reason ...
>
> Thanks again for your help.
>
> Regards,
> Ivan Passos

Hi,

This isn't an answer to your question, rather further info for gurus.

I received the same oops after compiling an SMP kernel (103) on my
UP box to troubleshoot an fpu_memcpy problem I saw in 102 with SMP.

Immediately after starting the scsi system (2940), Oops and hard lock.
The card being probed is an ISA NE2000 clone. This is copied from the
console. The first couple of lines scrolled off the screen.

*pde = 0031a067
*pte = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<c0113f00>]
EFLAGS: 00010046
eax: 00000011 ebx: 00000011 ecx: c58fb80c edx: 00000002
esi: 000002e0 edi: 00000000 ebp: c440be3c esp: c440be3c
ds: 0018 es: 0018 ss: 0018
Process swapper (pid: 1, process nr: 1, stackpage=c440b000)
Stack: c440be54 c0113f3c 00000011 00000017 00000000 00000046 c440be64 c010d569
00000017 00000017 c440be80 c010dbec 00000017 00000000 00000000 00000080
c022a97d c440be88 c022a982 c440bf34 c022bcc6 00000000 00000340 0000000c
Call Trace: [<c0113fc3>] (0) [<c010d569>] (24) [<c010dbec>] (16)
[<c022a982>] (28) [<c022bcc6>] (8) [<c022b7dd>] (172) [<c022a9f5>] (28)
[<c018bbdd>] (12) [<c01df72c>] (20) [<c0141002>] (24) [<c0141114>] (8)
[<c010add1>] (20) [<c0108c9c>] (72) [<c01001c4>] (4224696320)
[<ffffffff>]
[<c010d12d>] 1 [<c022b926>] 1 [<c011d163>] 1 [<c0271153>] 1
[<c01f2393>] 1 [<c01edf8d>] 1 [<c01eee00>] 1 [<c01ee8e3>] 1
[<c01ee86d>] 1 [<c01fbcb2>] 1 [<c01fd72d>] 1 [<c01efbae>] 1
[<c01fbd71>] 1 [<c01f22fe>] 1 [<c0119bb3>] 1 [<c011d163>] 1
[<c0271153>] 1 [<c0270f2e>] 1 [<c0270f73>] 1 [<c01f2393>] 1
[<c01edf8d>] 1 [<c01fbd71>] 1 [<c01f22fe>] 1 [<c0119bb3>] 1
[<c022a97d>] 1 [<c010dbb3>] 1 [<c010d52e>] 1 [<c0113fa1>] 1
[<c0113efd>] 1 [<c01173e3>]
Code: a3 00 00 c0 fe a1 10 00 c0 fe 89 ec 5d c3 89 f6 55 89 e5 ba
Using `/boot/2.1.103/System.map' to map addresses to symbols.

>>EIP: c0113f00 <io_apic_read+10/20>
Trace: c0113fc3 <enable_IO_APIC_irq+33/50>
Trace: c010d569 <enable_edge_ioapic_irq+49/50>
Trace: c010dbec <probe_irq_on+4c/f0>
Trace: c022a982 <autoirq_setup+12/20>
Trace: c022bcc6 <ne_probe1+3b6/620>
Trace: c022b7dd <ne_probe+8d/c0>
Trace: c022a9f5 <ethif_probe+25/50>
Trace: c018bbdd <net_dev_init+5d/110>
Trace: c01df72c <device_setup+2c/120>
Trace: c0141002 <do_sys_setup+12/60>
Trace: c0141114 <sys_setup+c4/110>
Trace: c010add1 <system_call+41/50>
Trace: c0108c9c <start_kernel+1cc/1f0>
Trace: c01001c4 <L6>
Trace: ffffffff
Trace: c010d12d <__global_sti+d/50>
Trace: c022b926 <ne_probe1+16/620>
Trace: c011d163 <printk+13/1b0>
Trace: c0271153 <vsprintf+13/4b0>
Trace: c01f2393 <vt_console_print+13/1c0>
Trace: c01edf8d <vc_cons_allocated+d/30>
Trace: c01eee00 <lf+10/80>
Trace: c01ee8e3 <scrup+13/2a0>
Trace: c01ee86d <set_origin+d/70>
Trace: c01fbcb2 <__set_origin+12/60>
Trace: c01fd72d <clear_selection+d/60>
Trace: c01efbae <complement_pos+e/c0>
Trace: c01fbd71 <set_cursor+11/c0>
Trace: c01f22fe <poke_blanked_console+e/90>
Trace: c0119bb3 <__wake_up+13/e0>
Trace: c011d163 <printk+13/1b0>
Trace: c0271153 <vsprintf+13/4b0>
Trace: c0270f2e <skip_atoi+e/40>
Trace: c0270f73 <number+13/1e0>
Trace: c01f2393 <vt_console_print+13/1c0>
Trace: c01edf8d <vc_cons_allocated+d/30>
Trace: c01fbd71 <set_cursor+11/c0>
Trace: c01f22fe <poke_blanked_console+e/90>
Trace: c0119bb3 <__wake_up+13/e0>
Trace: c022a97d <autoirq_setup+d/20>
Trace: c010dbb3 <probe_irq_on+13/f0>
Trace: c010d52e <enable_edge_ioapic_irq+e/50>
Trace: c0113fa1 <enable_IO_APIC_irq+11/50>
Trace: c0113efd <io_apic_read+d/20>
Trace: c01173e3 <do_page_fault+13/420>
Code: c0113f00 <io_apic_read+10/20>
Code: c0113f00 <io_apic_read+10/20> a3 00 00 c0 fe movl %eax,0xfec00000
Code: c0113f05 <io_apic_read+15/20> a1 10 00 c0 fe movl 0xfec00010,%eax
Code: c0113f10 <io_apic_write> 89 ec movl %ebp,%esp
Code: c0113f12 <io_apic_write+2/30> 5d popl %ebp
Code: c0113f13 <io_apic_write+3/30> c3 ret
Code: c0113f14 <io_apic_write+4/30> 89 f6 movl %esi,%esi
Code: c0113f16 <io_apic_write+6/30> 55 pushl %ebp
Code: c0113f17 <io_apic_write+7/30> 89 e5 movl %esp,%ebp
Code: c0113f19 <io_apic_write+9/30> ba 00 90 90 90 movl $0x90909000,%edx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu