Re: 2.1.86 with GDT-3000B-SCSI-controller

Andreas Schmidt (Andr.Schmidt@wolfsburg.de)
Mon, 16 Feb 1998 00:17:03 +0100


Hi Ingo,

here are my results of your suggestions.
First i have installed pre-patch-2.1.87.
The kernel was compiled with no problems.
At the next start, the system still crashes.

The last correct messages are:
"Floppy drive(s): fd0 is 1.44M, fd1 is 1.2M"
"FDC 0 is a post-1991 82077"
"Configuring GDT-EISA HA at Slot 3 IRQ 11"

Then the oops occur:
unable to handle kernel NULL pointer dereference at virtual adress 000000f8
current->tss.cr3 = 00101000, %cr3, %cr3 = 0101000
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<c01ae2b3>]
EFLAGS: 00010212
eax:0000fffd ebx:c027a000 ecx:c027a074 edx:00004f42
esi:00000000 edi:00000000 ebp:c027a29c esp:c026bdf8
ds:0018 es:0018 ss:0018
Process swapper (pid:1, process nr:2, stackpage=c026b000)
Stack:c027fffd 00000000 00000000 00000000 00000000 00000001 c027a074 c026a000

00000000 00000000 00000001 000186a0 c01ae053 00000000 00004f42 0000007f

00000000 000186a0 00000002 00000000 c027a074 00001f40 c026be7f c0274f42

Call Trace:[<c01ae053>] [<c0111b0c>] [<c010b7cf>] [<c01ac43a>] [<c01ac5d9>]
[<c0100000>] [<c010c20b>]
[<c01ac661>] [<c01ae9e5>] [<c01adc44>] [<c01c7011>] [<c01aeac4>]
[<c017e536>] [<c017ff44>] [<c010bbe5>]
[<c018249c>] [<c0135684>] [<c0109f6a>] [<c0124f04>] [<c01080bb>]
[<c0107fe0>] [<c010806c>]
Code: 89 86 f8 00 00 00 66 8b ab 96 00 00 00 66 83 fd 01 75 12 c7

Here is my search:
[<c01ae2b3>] is in [<c01ae068>] -> gdth_sync_event
------------
[<c01ae053>] is in [<c01adc44>] -> gdth_interrupt
[<c0111b0c>] is in [<c0111afc>] -> smp_apic_timer_interrupt
[<c010b7cf>] is in [<c010b7b0>] -> apic_timer_interrupt
[<c01ac43a>] is in [<c01ac3e0>] -> gdth_wait
[<c01ac5d9>] is in [<c01ac48c>] -> gdth_internal_cmd
[<c0100000>] is in [<c0100000>] -> startup_32
[<c010c20b>] is in [<c010c154>] -> setup_x86_irq
[<c01ac661>] is in [<c01ac638>] -> gdth_search_drives
[<c01ae9e5>] is in [<c01ae674>] -> gdth_detect
[<c01adc44>] is in [<c01adc44>] -> gdth_interrupt
[<c01c7011>] is in [<c01c62fe>] -> RCSid
[<c01aeac4>] is in [<c01ae674>] -> gdth_detect
[<c017e536>] is in [<c017e490>] -> wait_til_done
[<c017ff44>] is in [<c017ff44>] -> redo_fd_request
[<c010bbe5>] is in [<c010bbb8>] -> __global_restore_flags
[<c018249c>] is in [<c0182480>] -> floppy_release_irq_and_dma
[<c0135684>] is in [<c01355d8>] -> sys_setup
[<c0109f6a>] is in [<c0109f30>] -> system_call
[<c0124f04>] is in [<c0124f04>] -> kswapd
[<c01080bb>] is in [<c010806c>] -> init
[<c0107fe0>] is in [<c0106000>] -> this_must_match_init_task
[<c010806c>] is in [<c010806c>] -> init

-------------------------------------------------------------------------
Then, i have installed your patch ontop of pre-patch-2.1.87.
The results are similar to the ones before:

unable to handle kernel NULL pointer dereference at virtual adress 000000f8
current->tss.cr3 = 00101000, %cr3, %cr3 = 0101000
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<c01ae2c3>]
EFLAGS: 00010212
eax:0000fffd ebx:c027a000 ecx:c027a074 edx:00004f42
esi:00000000 edi:00000000 ebp:c027a29c esp:c026bdf8
ds:0018 es:0018 ss:0018
Process swapper (pid:1, process nr:2, stackpage=c026b000)
Stack:c027fffd 00000000 00000000 00000000 00333738 00000000 c027a074 00000000

c026a000 00000000 00000001 000186a0 c01ae063 00000000 00004f42 0000007f

00000000 000186a0 00000002 00000000 c027a074 00001f40 c026be7f c0274f42

Call Trace:[<c01ae063>] [<c0111b1c>] [<c010b7cf>] [<c01ac44a>] [<c01ac5e9>]
[<c0100000>] [<c010c20b>]
[<c01ac671>] [<c01ae9f5>] [<c01adc54>] [<c01c702d>] [<c01aead4>]
[<c017e546>] [<c017ff54>] [<c010bbe5>]
[<c01824ac>] [<c0135694>] [<c0109f6a>] [<c0124f14>] [<c01080bb>]
[<c0107fe0>] [<c010806c>]
Code: 89 86 f8 00 00 00 66 8b ab 96 00 00 00 66 83 fd 01 75 12 c7

I suppose, the problem could be locate at the file linux/drivers/scsi/gdth.c,

because the system crashes during SCSI init.

Hopefully these informations will help you or someone else.

Thanks very much,
Andreas

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