Skip to contentSkip to conversation

Early kernel panic with 2.6.1rc1

SPARC32 Tom 'spot' Callaway 5 participants 11 messages Jan 4, 2004 – Jan 5, 2004

lore
Share & tools
lore
#0 lore raw

This panic happens when I've got a keyboard on it too, I just can't get it all, unless I pull the keyboard and boot it -p over serial.
NOTE: This is an UP kernel, even though the SS20 is SMP.

SILO boot: 2.6 -p
Loading initial ramdisk....
PROMLIB: obio_ranges 5
PROMLIB: Sun Boot Prom Version 3 Revision 2
Linux version 2.6.0-1.23sparc2 ([email protected]) (gcc version 3.3.1 20030915 (Aurora Linux 3.3.1-5sparc)) #1 Sun J4ARCH: SUN4M
TYPE: Sun4m SparcStation10/20
Ethernet address: 8:0:20:73:b8:f
Boot time fixup v1.6. 4/Mar/98 Jakub Jelinek ([email protected]). Patching kernel for srmmu[TI Viking/MXCC]/iommu
31MB HIGHMEM available.
On node 0 totalpages: 23663
DMA zone: 15648 pages, LIFO batch:3
Normal zone: 0 pages, LIFO batch:1
HighMem zone: 8015 pages, LIFO batch:1
HighMem zone: 8015 pages, LIFO batch:1
Booting Linux...
Found CPU 0 <nodeÿd6f150,mid=8>
Found CPU 1 <nodeÿd6f510,mid>
Found 2 CPU prom device tree node(s).
Power off control detected.
Building zonelist for node : 0
Kernel command line: root=/dev/sda2 ro -p
PID hash table entries: 2048 (order 11: 16384 bytes)
Console: colour dummy device 80x25

Unable to handle kernel NULL pointer dereference
tsk->{mm,active_mm}->context = ffffffff
tsk->{mm,active_mm}->pgd = fc000000
              \|/ ____ \|/
              "@'/ ,. \`@"
              /_| \__/ |_\
                 \__U_/

swapper(0): Oops [#1]
PSR: 40901fc0 PC: f00f29f0 NPC: f00f29f4 Y: 00000000 Not tainted
PC: <serial_out+0x24/0x50>
%G: 00000000 000003f8 00000000 00000000 0000000d f01ca800 f01bca90 000002e8
%O: f022d728 00000001 00000000 00000000 0001c200 00000000 f01be718 f00f4988
RPC: <serial8250_set_termios+0x210/0x35c>
%L: 00000013 0000000c 409010e1 0000000c 00000000 00000000 0000000b 00000e00
%I: f022d728 f01be7e0 00002580 00000010 f00d1d90 00000000 f01be780 f0207ac4
Caller[f0207ac4]: uart_set_options+0xc8/0x12c

Caller[f0207cf4]: serial8250_console_setup+0xa0/0xb0

Caller[f0032a60]: register_console+0x190/0x208

Caller[f0207d14]: serial8250_console_init+0x10/0x20

Caller[f0206c28]: console_init+0x34/0x50

Caller[f01f5cd0]: start_kernel+0xcc/0x228

Caller[f01f5790]: sun4c_continue_boot+0x314/0x324

Caller[00000000]: 0x0

Instruction DUMP: 22800003 c2022004 c2020000 <d4284009> 30800008 c20a2074 c6020000 82004009 82007fff

Kernel panic: Attempted to kill the idle task!

In idle task - not syncing
<0>Press L1-A to return to the boot prom

*****

I stripped the symbols from the kernel to make it small enough to build, I'm going to rebuild it and run ksymoops on it (I assume that still is the path in 2.6?)

~spot
---
Tom "spot" Callaway <tcallawa(a)redhat*com> LCA, RHCE Red Hat Sales Engineer || Aurora SPARC Linux Project Leader

"The author's mathematical treatment of the conception of purpose is novel and highly ingenious, but heretical and, so far as the present social order is concerned, dangerous and potentially subversive. Not to be published." -- Aldous Huxley's "Brave New World"

#1 lore raw

Output from ksymoops, although I suspect the serial noise is masking the problem, since it panicked with no serial involvement as well.

[root@sunblade sparc32]# ksymoops -v vmlinux -m System.map Oops.txt ksymoops 2.4.4 on sparc64 2.6.0-1.23sparc. Options used
-v vmlinux (specified)
-k /proc/ksyms (default)
-l /proc/modules (default)
-o /lib/modules/2.6.0-1.23sparc/ (default)
-m System.map (specified)

Error (regular_file): read_ksyms stat /proc/ksyms failed
ksymoops: No such file or directory
No modules in ksyms, skipping objects
No ksyms, skipping lsmod

Unable to handle kernel NULL pointer dereference
tsk->{mm,active_mm}->context = ffffffff
tsk->{mm,active_mm}->pgd = fc000000
              \|/ ____ \|/
              "@'/ ,. \`@"
              /_| \__/ |_\
                 \__U_/

swapper(0): Oops [#1]
PSR: 40901fc0 PC: f00f29f0 NPC: f00f29f4 Y: 00000000 Not tainted
Using defaults from ksymoops -t elf32-sparc -a sparc
PC: <serial_out+0x24/0x50>
Caller[f0207ac4]: uart_set_options+0xc8/0x12c

Quoted 1 line
Quoted 1 line

PC; f00f29f0 <serial_out+24/50> <=====

Trace; f0207ac4 <uart_set_options+c8/12c>

Caller[f0207cf4]: serial8250_console_setup+0xa0/0xb0

Trace; f0207cf4 <serial8250_console_setup+a0/b0>

Caller[f0032a60]: register_console+0x190/0x208

Trace; f0032a60 <register_console+190/208>

Caller[f0207d14]: serial8250_console_init+0x10/0x20

Trace; f0207d14 <serial8250_console_init+10/20>

Caller[f0206c28]: console_init+0x34/0x50

Trace; f0206c28 <console_init+34/50>

Caller[f01f5cd0]: start_kernel+0xcc/0x228

Trace; f01f5cd0 <start_kernel+cc/228>

Caller[f01f5790]: sun4c_continue_boot+0x314/0x324

Trace; f01f5790 <sun4c_continue_boot+314/324>

Caller[00000000]: 0x0

Trace; 00000000 Before first symbol

Instruction DUMP: 22800003 c2022004 c2020000 <d4284009> 30800008 c20a2074 c6020000 82004009 82007fff

Code; f00f29e4 <serial_out+18/50>
00000000 <_PC>:
Code; f00f29e4 <serial_out+18/50>
0: 22 80 00 03 be,a c <_PC+0xc>
Code; f00f29e8 <serial_out+1c/50>
4: c2 02 20 04 ld [ %o0 + 4 ], %g1
Code; f00f29ec <serial_out+20/50>
8: c2 02 00 00 ld [ %o0 ], %g1
Code; f00f29f0 <serial_out+24/50>
c: d4 28 40 09 stb %o2, [ %g1 + %o1 ]
Code; f00f29f4 <serial_out+28/50>
10: 30 80 00 08 b,a 30 <_PC+0x30>
Code; f00f29f8 <serial_out+2c/50>
14: c2 0a 20 74 ldub [ %o0 + 0x74 ], %g1
Code; f00f29fc <serial_out+30/50>
18: c6 02 00 00 ld [ %o0 ], %g3
Code; f00f2a00 <serial_out+34/50>
1c: 82 00 40 09 add %g1, %o1, %g1
Code; f00f2a04 <serial_out+38/50>
20: 82 00 7f ff add %g1, -1, %g1

Kernel panic: Attempted to kill the idle task!

1 error issued. Results may not be reliable.

*****

When I boot it with a Monitor and keyboard, I can clearly see it oops twice, but the first oops is pushed off screen. The oops I can see is similar, but different from the one I got over the serial console.

I've attached the second oops (transcribed by hand) and the results from ksymoops of that oops.

~spot
---
Tom "spot" Callaway <tcallawa(a)redhat*com> LCA, RHCE Red Hat Sales Engineer || Aurora SPARC Linux Project Leader

"The author's mathematical treatment of the conception of purpose is novel and highly ingenious, but heretical and, so far as the present social order is concerned, dangerous and potentially subversive. Not to be published." -- Aldous Huxley's "Brave New World"

tsk->{mm,active_mm}->context = ffffffff
tsk->{mm,active_mm}->pgd = fc000000

              \|/ ____ \|/
              "@'/ ,. \`@"
              /_| \__/ |_\
                 \__U_/
swapper(0): Oops [#2]
PSR: 404010c1 PC: f0013b98 NPC: f0013b9c Y: 90000000    Not tainted
PC: <instruction_dump+0x18/0x64>
%G: f021e800 fffffff4  f01bfa08 40401fe1  f99326f4 404010e1  f01bca90 00000000
%O: f01bfa08 00000001  fffff8b8 f021e800  f021e800 f021e800  f01be668 f0032654
RPC: <printk+0x184/0x1xd0>
%L: fffffffd f0197c00  f01be5c8 00000010  00000020 00000000  00200200 00100100
%I: 76000000 00000000  f01bf800 f01bfa10  404010e2 f021a501  f01be6d0 f0013d00

Caller[f0013d00]: die_if_kernel+0x11c/0x144

Caller[f001cfd8]: unhandled_fault+0x64/0x90

Caller[f001d240]: do_sparc_fault+0x17c/0x3a8

Caller[f001274c]: srmmu_fault+0x58/0x68

Caller[f01f5d88]: start_kernel+0x184/0x228

Caller[f01f5790]: sun4c_continue_boot+0x314/0x324

Caller[00000000]: 0x0

Instruction DUMP: a0103ffd 233c065f 832c2002 <d4060001> 80a00010 90146028 92403fff 960a601e 920a601c

Kernel panic: Attempted to kill the idle task!

In idle task - not syncing
<0>Press L1-A to return to the boot prom

ksymoops 2.4.4 on sparc64 2.6.0-1.23sparc. Options used
-v vmlinux (specified)
-k /proc/ksyms (default)
-l /proc/modules (default)
-o /lib/modules/2.6.0-1.23sparc/ (default) -m System.map (specified)

Error (regular_file): read_ksyms stat /proc/ksyms failed
ksymoops: No such file or directory
No modules in ksyms, skipping objects
No ksyms, skipping lsmod tsk->{mm,active_mm}->context = ffffffff tsk->{mm,active_mm}->pgd = fc000000

              \|/ ____ \|/
              "@'/ ,. \`@"
              /_| \__/ |_\
                 \__U_/

swapper(0): Oops [#2]
PSR: 404010c1 PC: f0013b98 NPC: f0013b9c Y: 90000000 Not tainted
Using defaults from ksymoops -t elf32-sparc -a sparc
PC: <instruction_dump+0x18/0x64> Caller[f0013d00]: die_if_kernel+0x11c/0x144

Quoted 1 line
Quoted 1 line

PC; f0013b98 <instruction_dump+18/64> <=====

Trace; f0013d00 <die_if_kernel+11c/144>

Caller[f001cfd8]: unhandled_fault+0x64/0x90

Trace; f001cfd8 <unhandled_fault+64/90>

Caller[f001d240]: do_sparc_fault+0x17c/0x3a8

Trace; f001d240 <do_sparc_fault+17c/3a8>

Caller[f001274c]: srmmu_fault+0x58/0x68

Trace; f001274c <srmmu_fault+58/68>

Caller[f01f5d88]: start_kernel+0x184/0x228

Trace; f01f5d88 <start_kernel+184/228>

Caller[f01f5790]: sun4c_continue_boot+0x314/0x324

Trace; f01f5790 <sun4c_continue_boot+314/324>

Caller[00000000]: 0x0

Trace; 00000000 Before first symbol

Instruction DUMP: a0103ffd 233c065f 832c2002 <d4060001> 80a00010 90146028 92403fff 960a601e 920a601c

Code; f0013b8c <instruction_dump+c/64>
00000000 <_PC>:
Code; f0013b8c <instruction_dump+c/64>
0: a0 10 3f fd mov -3, %l0
Code; f0013b90 <instruction_dump+10/64>
4: 23 3c 06 5f sethi %hi(0xf0197c00), %l1
Code; f0013b94 <instruction_dump+14/64>
8: 83 2c 20 02 sll %l0, 2, %g1
Code; f0013b98 <instruction_dump+18/64>
c: d4 06 00 01 ld [ %i0 + %g1 ], %o2
Code; f0013b9c <instruction_dump+1c/64>
10: 80 a0 00 10 cmp %g0, %l0
Code; f0013ba0 <instruction_dump+20/64>
14: 90 14 60 28 or %l1, 0x28, %o0
Code; f0013ba4 <instruction_dump+24/64>
18: 92 40 3f ff addx %g0, -1, %o1
Code; f0013ba8 <instruction_dump+28/64>
1c: 96 0a 60 1e and %o1, 0x1e, %o3
Code; f0013bac <instruction_dump+2c/64>
20: 92 0a 60 1c and %o1, 0x1c, %o1

Kernel panic: Attempted to kill the idle task!

1 error issued. Results may not be reliable.

#2 lore raw
In reply to Tom 'spot' Callaway
Quoted 5 lines · Tom 'spot' Callaway

This panic happens when I've got a keyboard on it too, I just can't get it all, unless I pull the keyboard and boot it -p over serial.
NOTE: This is an UP kernel, even though the SS20 is SMP.

Caller[f0207cf4]: serial8250_console_setup+0xa0/0xb0

I'll look at making it not panic just because of this, but there's zero reason to include 8250 support on sparcstations. Doubly so for console support. Zilog is what you want.

Quoted 3 lines

I stripped the symbols from the kernel to make it small enough to build, I'm going to rebuild it and run ksymoops on it (I assume that still is the path in 2.6?)

Thanks to kallsyms, the dump it generated is sufficient. Stripping the symbols doesn't remove the actual kernel symbol tables used by kallsyms.

Signature · 4 lines
Keith M Wesolowski <[email protected]> http://foobazco.org/~wesolows
------(( Project Foobazco Coordinator and Network Administrator ))------
	"May Buddha bless all stubborn people!"
				-- Uliassutai Karakorum Blake
#3 lore raw
In reply to Tom 'spot' Callaway
Quoted 11 lines · Keith M Wesolowski
Quoted 5 lines · Tom 'spot' Callaway

This panic happens when I've got a keyboard on it too, I just can't get it all, unless I pull the keyboard and boot it -p over serial.
NOTE: This is an UP kernel, even though the SS20 is SMP.

Caller[f0207cf4]: serial8250_console_setup+0xa0/0xb0

I'll look at making it not panic just because of this, but there's zero reason to include 8250 support on sparcstations. Doubly so for console support. Zilog is what you want.

Then it shouldn't be an option. I agree with you about it not being needed, but perhaps something like the attached patch is prudent (If I accidentally enable it, others will too)...

I went ahead and rebuilt the kernel without the 8250 support enabled, and I got both of the oopses in the serial console. Attached is the full dmesg (includes oopses), the oopses, and the ksymoops results.

Hope that helps,

~spot
---
Tom "spot" Callaway <tcallawa(a)redhat*com> LCA, RHCE Red Hat Sales Engineer || Aurora SPARC Linux Project Leader

"The author's mathematical treatment of the conception of purpose is novel and highly ingenious, but heretical and, so far as the present social order is concerned, dangerous and potentially subversive. Not to be published." -- Aldous Huxley's "Brave New World"

drivers/serial/Kconfig renamed from drivers/serial/Kconfig.BAD +1 -0
@@ -10,6 +10,7 @@
 # The new 8250/16550 serial drivers
 config SERIAL_8250
 	tristate "8250/16550 and compatible serial support"
+	depends on !SPARC32
 	select SERIAL_CORE
 	---help---
 	  This selects whether you want to include the driver for the standard
Unable to handle kernel paging request at virtual address 76000000
tsk->{mm,active_mm}->context = ffffffff
tsk->{mm,active_mm}->pgd = fc000000
              \|/ ____ \|/
              "@'/ ,. \`@"
              /_| \__/ |_\
                 \__U_/
swapper(0): Oops [#1]
PSR: 400010c6 PC: 76000000 NPC: 76000004 Y: 00000000    Not tainted
PC: <0x76000000>
%G: f01bbb48 76000000  00000001 404010e6  f0201354 00000002  f01b9c18 00000000
%O: f0194238 f3000000  00000000 00000006  f021cc00 f021f000  f01bbb48 f01f2d88
RPC: <start_kernel+0x184/0x228>
%L: f0211400 f0223400  00004004 01c00000  00000000 00000000  ffef0000 00000e00
%I: 0000002c 00000003  f01bc800 f01bcb98  40401fe7 f021751c  f01bbbb8 f01f2790

Caller[f01f2790]: sun4c_continue_boot+0x314/0x324

Caller[00000000]: 0x0

Instruction DUMP:<1>Unable to handle kernel paging request at virtual address 75fff000 tsk->{mm,active_mm}->context = ffffffff
tsk->{mm,active_mm}->pgd = fc000000

              \|/ ____ \|/
              "@'/ ,. \`@"
              /_| \__/ |_\
                 \__U_/
swapper(0): Oops [#2]
PSR: 404010c1 PC: f0013b98 NPC: f0013b9c Y: 00000000    Not tainted
PC: <instruction_dump+0x18/0x64>
%G: f021b800 fffffff4  f01bcb90 40401fe1  f00326f4 404010e1  f01b9c18 00000000
%O: f01bcb90 00000001  fffff8b8 f021b800  f021b800 f021b800  f01bb7f0 f0032654
RPC: <printk+0x184/0x1d0>
%L: fffffffd f0194c00  f01bb750 00000010  00000020 00000000  00200200 00100100
%I: 76000000 00000000  f01bc800 f01bcb98  404010e2 f0217501  f01bb858 f0013d00

Caller[f0013d00]: die_if_kernel+0x11c/0x144

Caller[f001cfd8]: unhandled_fault+0x64/0x90

Caller[f001d240]: do_sparc_fault+0x17c/0x3a8

Caller[f001274c]: srmmu_fault+0x58/0x68

Caller[f01f2d88]: start_kernel+0x184/0x228

Caller[f01f2790]: sun4c_continue_boot+0x314/0x324

Caller[00000000]: 0x0

Instruction DUMP: a0103ffd 233c0653 832c2002 <d4060001> 80a00010 901463b0 92403fff 960a601e 920a601c

Kernel panic: Attempted to kill the idle task!

In idle task - not syncing
<0>Press L1-A to return to the boot prom

ksymoops 2.4.4 on sparc64 2.6.0-1.23sparc. Options used
-v vmlinux (specified)
-k /proc/ksyms (default)
-l /proc/modules (default)
-o /lib/modules/2.6.0-1.23sparc/ (default) -m System.map (specified)

Error (regular_file): read_ksyms stat /proc/ksyms failed
ksymoops: No such file or directory
No modules in ksyms, skipping objects
No ksyms, skipping lsmod

Unable to handle kernel paging request at virtual address 76000000
tsk->{mm,active_mm}->context = ffffffff
tsk->{mm,active_mm}->pgd = fc000000
              \|/ ____ \|/
              "@'/ ,. \`@"
              /_| \__/ |_\
                 \__U_/

swapper(0): Oops [#1]
PSR: 400010c6 PC: 76000000 NPC: 76000004 Y: 00000000 Not tainted
Using defaults from ksymoops -t elf32-sparc -a sparc
PC: <0x76000000>
Caller[f01f2790]: sun4c_continue_boot+0x314/0x324

Quoted 1 line
Quoted 1 line

PC; 76000000 <__crc_class_device_register+347f33/3e8e82> <=====

Trace; f01f2790 <sun4c_continue_boot+314/324>

Caller[00000000]: 0x0

Trace; 00000000 Before first symbol

Instruction DUMP:<1>Unable to handle kernel paging request at virtual address 75fff000 tsk->{mm,active_mm}->context = ffffffff
tsk->{mm,active_mm}->pgd = fc000000

              \|/ ____ \|/
              "@'/ ,. \`@"
              /_| \__/ |_\
                 \__U_/

swapper(0): Oops [#2]
PSR: 404010c1 PC: f0013b98 NPC: f0013b9c Y: 00000000 Not tainted
PC: <instruction_dump+0x18/0x64>
Caller[f0013d00]: die_if_kernel+0x11c/0x144

Quoted 1 line
Quoted 1 line

PC; f0013b98 <instruction_dump+18/64> <=====

Trace; f0013d00 <die_if_kernel+11c/144>

Caller[f001cfd8]: unhandled_fault+0x64/0x90

Trace; f001cfd8 <unhandled_fault+64/90>

Caller[f001d240]: do_sparc_fault+0x17c/0x3a8

Trace; f001d240 <do_sparc_fault+17c/3a8>

Caller[f001274c]: srmmu_fault+0x58/0x68

Trace; f001274c <srmmu_fault+58/68>

Caller[f01f2d88]: start_kernel+0x184/0x228

Trace; f01f2d88 <start_kernel+184/228>

Caller[f01f2790]: sun4c_continue_boot+0x314/0x324

Trace; f01f2790 <sun4c_continue_boot+314/324>

Caller[00000000]: 0x0

Trace; 00000000 Before first symbol

Instruction DUMP: a0103ffd 233c0653 832c2002 <d4060001> 80a00010 901463b0 92403fff 960a601e 920a601c

Code; f0013b8c <instruction_dump+c/64>
00000000 <_PC>:
Code; f0013b8c <instruction_dump+c/64>
0: a0 10 3f fd mov -3, %l0
Code; f0013b90 <instruction_dump+10/64>
4: 23 3c 06 53 sethi %hi(0xf0194c00), %l1
Code; f0013b94 <instruction_dump+14/64>
8: 83 2c 20 02 sll %l0, 2, %g1
Code; f0013b98 <instruction_dump+18/64>
c: d4 06 00 01 ld [ %i0 + %g1 ], %o2
Code; f0013b9c <instruction_dump+1c/64>
10: 80 a0 00 10 cmp %g0, %l0
Code; f0013ba0 <instruction_dump+20/64>
14: 90 14 63 b0 or %l1, 0x3b0, %o0
Code; f0013ba4 <instruction_dump+24/64>
18: 92 40 3f ff addx %g0, -1, %o1
Code; f0013ba8 <instruction_dump+28/64>
1c: 96 0a 60 1e and %o1, 0x1e, %o3
Code; f0013bac <instruction_dump+2c/64>
20: 92 0a 60 1c and %o1, 0x1c, %o1

Kernel panic: Attempted to kill the idle task!

1 error issued. Results may not be reliable.

Boot device: /iommu/sbus/espdma/esp/sd@3,0:a File and args:
SILO boot: 2.6 -p
Loading initial ramdisk....
PROMLIB: obio_ranges 5
PROMLIB: Sun Boot Prom Version 3 Revision 2
Linux version 2.6.0-1.23sparc2 ([email protected]) (gcc version 3.3.1 20030915 (Aurora Linux 3.3.1-5sparc)) #1 Sun J4ARCH: SUN4M
TYPE: Sun4m SparcStation10/20
Ethernet address: 8:0:20:73:b8:f
Boot time fixup v1.6. 4/Mar/98 Jakub Jelinek ([email protected]). Patching kernel for srmmu[TI Viking/MXCC]/iommu 31MB HIGHMEM available.
On node 0 totalpages: 23667
DMA zone: 15652 pages, LIFO batch:3
Normal zone: 0 pages, LIFO batch:1
HighMem zone: 8015 pages, LIFO batch:1
Booting Linux...
Found CPU 0 <node=ffd6f150,mid=8>
Found CPU 1 <node=ffd6f510,mid=10>
Found 2 CPU prom device tree node(s).
Power off control detected.
Building zonelist for node : 0
Kernel command line: root=/dev/sda2 ro -p
PID hash table entries: 2048 (order 11: 16384 bytes)
Console: colour dummy device 80x25
Memory: 86936k available (1596k kernel code, 372k data, 124k init, 32060k highmem) [f0000000,1af4f000]

Unable to handle kernel paging request at virtual address 76000000
tsk->{mm,active_mm}->context = ffffffff
tsk->{mm,active_mm}->pgd = fc000000
              \|/ ____ \|/
              "@'/ ,. \`@"
              /_| \__/ |_\
                 \__U_/
swapper(0): Oops [#1]
PSR: 400010c6 PC: 76000000 NPC: 76000004 Y: 00000000    Not tainted
PC: <0x76000000>
%G: f01bbb48 76000000  00000001 404010e6  f0201354 00000002  f01b9c18 00000000
%O: f0194238 f3000000  00000000 00000006  f021cc00 f021f000  f01bbb48 f01f2d88
RPC: <start_kernel+0x184/0x228>
%L: f0211400 f0223400  00004004 01c00000  00000000 00000000  ffef0000 00000e00
%I: 0000002c 00000003  f01bc800 f01bcb98  40401fe7 f021751c  f01bbbb8 f01f2790

Caller[f01f2790]: sun4c_continue_boot+0x314/0x324

Caller[00000000]: 0x0

Instruction DUMP:<1>Unable to handle kernel paging request at virtual address 75fff000 tsk->{mm,active_mm}->context = ffffffff
tsk->{mm,active_mm}->pgd = fc000000

              \|/ ____ \|/
              "@'/ ,. \`@"
              /_| \__/ |_\
                 \__U_/
swapper(0): Oops [#2]
PSR: 404010c1 PC: f0013b98 NPC: f0013b9c Y: 00000000    Not tainted
PC: <instruction_dump+0x18/0x64>
%G: f021b800 fffffff4  f01bcb90 40401fe1  f00326f4 404010e1  f01b9c18 00000000
%O: f01bcb90 00000001  fffff8b8 f021b800  f021b800 f021b800  f01bb7f0 f0032654
RPC: <printk+0x184/0x1d0>
%L: fffffffd f0194c00  f01bb750 00000010  00000020 00000000  00200200 00100100
%I: 76000000 00000000  f01bc800 f01bcb98  404010e2 f0217501  f01bb858 f0013d00

Caller[f0013d00]: die_if_kernel+0x11c/0x144

Caller[f001cfd8]: unhandled_fault+0x64/0x90

Caller[f001d240]: do_sparc_fault+0x17c/0x3a8

Caller[f001274c]: srmmu_fault+0x58/0x68

Caller[f01f2d88]: start_kernel+0x184/0x228

Caller[f01f2790]: sun4c_continue_boot+0x314/0x324

Caller[00000000]: 0x0

Instruction DUMP: a0103ffd 233c0653 832c2002 <d4060001> 80a00010 901463b0 92403fff 960a601e 920a601c

Kernel panic: Attempted to kill the idle task!

In idle task - not syncing
<0>Press L1-A to return to the boot prom

#4 lore raw
In reply to Tom 'spot' Callaway
Quoted 3 lines · Tom 'spot' Callaway

I went ahead and rebuilt the kernel without the 8250 support enabled, and I got both of the oopses in the serial console. Attached is the full dmesg (includes oopses), the oopses, and the ksymoops results.

Please send me your .config so I can reproduce this.

Review line 16

Quoted 8 lines
(quoted diff) +1 -0
@@ -10,6 +10,7 @@
 # The new 8250/16550 serial drivers
 config SERIAL_8250
 	tristate "8250/16550 and compatible serial support"
+	depends on !SPARC32
 	select SERIAL_CORE
 	---help---
 	  This selects whether you want to include the driver for the standard

This really isn't the right thing to depend on, although I'm not sure what is. This chip is found almost everywhere.

Signature · 4 lines
Keith M Wesolowski <[email protected]> http://foobazco.org/~wesolows
------(( Project Foobazco Coordinator and Network Administrator ))------
	"May Buddha bless all stubborn people!"
				-- Uliassutai Karakorum Blake
#5 lore raw
In reply to Tom 'spot' Callaway
Quoted 2 lines · Keith M Wesolowski

This really isn't the right thing to depend on, although I'm not sure what is. This chip is found almost everywhere.

Is it natively found in any model of 32bit SPARC? The only possible way I can think of getting one in a sparc32 machine is by adding a PCI 8250 card to a JavaStation, which the PROM won't recognize anyway.

I've attached my config to this email too.

~spot
---
Tom "spot" Callaway <tcallawa(a)redhat*com> LCA, RHCE Red Hat Sales Engineer || Aurora SPARC Linux Project Leader

"The author's mathematical treatment of the conception of purpose is novel and highly ingenious, but heretical and, so far as the present social order is concerned, dangerous and potentially subversive. Not to be published." -- Aldous Huxley's "Brave New World"

#
# Automatically generated make config: don't edit
#
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_HIGHMEM=y
CONFIG_GENERIC_ISA_DMA=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y
CONFIG_STANDALONE=y
CONFIG_BROKEN_ON_SMP=y

#
# General setup
#
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=14
# CONFIG_IKCONFIG is not set
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_OBSOLETE_MODPARM=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y

#
# General setup
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SMP is not set
CONFIG_SPARC32=y
CONFIG_SBUS=y
CONFIG_SBUSCHAR=y
CONFIG_SERIAL_CONSOLE=y
CONFIG_SUN_AUXIO=y
CONFIG_SUN_IO=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_SUN_PM=y
# CONFIG_SUN4 is not set
# CONFIG_PCI is not set
CONFIG_SUN_OPENPROMFS=m
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=m
# CONFIG_SUNOS_EMUL is not set

#
# Parallel port support
#
CONFIG_PARPORT=m
# CONFIG_PARPORT_PC is not set
CONFIG_PARPORT_SUNBPP=m
# CONFIG_PARPORT_OTHER is not set
CONFIG_PARPORT_1284=y
CONFIG_PRINTER=m

#
# Generic Driver Options
#

#
# Graphics support
#
CONFIG_FB=y
CONFIG_FB_BW2=y
CONFIG_FB_CG3=y
CONFIG_FB_CG6=y
CONFIG_FB_SBUS=y
CONFIG_FB_TCX=y
CONFIG_FB_CG14=y
CONFIG_FB_P9100=y
CONFIG_FB_LEO=y
# CONFIG_FB_VIRTUAL is not set

#
# Console display driver support
#
# CONFIG_MDA_CONSOLE is not set
CONFIG_PROM_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_PCI_CONSOLE=y
CONFIG_FONTS=y
# CONFIG_FONT_8x8 is not set
# CONFIG_FONT_8x16 is not set
# CONFIG_FONT_6x11 is not set
# CONFIG_FONT_PEARL_8x8 is not set
# CONFIG_FONT_ACORN_8x8 is not set
CONFIG_FONT_SUN8x16=y
# CONFIG_FONT_SUN12x22 is not set

#
# Logo configuration
#
CONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not set
CONFIG_LOGO_LINUX_CLUT224=y

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Serial drivers
#
# CONFIG_SERIAL_8250 is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_SUNCORE=y
CONFIG_SERIAL_SUNZILOG=y
CONFIG_SERIAL_SUNZILOG_CONSOLE=y
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y

#
# Misc Linux/SPARC drivers
#
CONFIG_SUN_OPENPROMIO=m
CONFIG_SUN_MOSTEK_RTC=y
# CONFIG_SUN_BPP is not set
CONFIG_SUN_VIDEOPIX=m
CONFIG_SUN_AURORA=m
CONFIG_TADPOLE_TS102_UCTRL=m
CONFIG_SUN_JSFLASH=m

#
# Block devices
#
CONFIG_BLK_DEV_FD=y
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_NBD=m

#
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
CONFIG_MD_LINEAR=m
CONFIG_MD_RAID0=m
CONFIG_MD_RAID1=m
CONFIG_MD_RAID5=m
CONFIG_MD_MULTIPATH=m
CONFIG_BLK_DEV_DM=m
CONFIG_DM_IOCTL_V4=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=8192
CONFIG_BLK_DEV_INITRD=y

#
# ISDN subsystem
#
# CONFIG_ISDN_BOOL is not set

#
# SCSI device support
#
CONFIG_SCSI=m
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=m
CONFIG_CHR_DEV_ST=m
CONFIG_CHR_DEV_OSST=m
CONFIG_BLK_DEV_SR=m
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=m

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs #
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_REPORT_LUNS=y
# CONFIG_SCSI_CONSTANTS is not set CONFIG_SCSI_LOGGING=y

#
# SCSI low-level drivers
#
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_SATA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
CONFIG_SCSI_QLOGICPTI=m
# CONFIG_SCSI_DEBUG is not set
CONFIG_SCSI_SUNESP=m

#
# Fibre Channel support
#
CONFIG_FC4=m

#
# FC4 drivers
#
CONFIG_FC4_SOC=m
CONFIG_FC4_SOCAL=m

#
# FC4 targets
#
CONFIG_SCSI_PLUTO=m
CONFIG_SCSI_FCAL=m

#
# Networking support
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
CONFIG_NETLINK_DEV=y
CONFIG_UNIX=y
CONFIG_NET_KEY=m
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_FWMARK=y
CONFIG_IP_ROUTE_NAT=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_TOS=y
CONFIG_IP_ROUTE_VERBOSE=y
# CONFIG_IP_PNP is not set
CONFIG_NET_IPIP=m
CONFIG_NET_IPGRE=m
CONFIG_NET_IPGRE_BROADCAST=y
CONFIG_IP_MROUTE=y
CONFIG_IP_PIMSM_V1=y
CONFIG_IP_PIMSM_V2=y
# CONFIG_ARPD is not set
CONFIG_INET_ECN=y
CONFIG_SYN_COOKIES=y
CONFIG_INET_AH=m
CONFIG_INET_ESP=m
CONFIG_INET_IPCOMP=m

#
# IP: Virtual Server Configuration
#
CONFIG_IP_VS=m
# CONFIG_IP_VS_DEBUG is not set
CONFIG_IP_VS_TAB_BITS=12

#
# IPVS transport protocol load balancing support
#
CONFIG_IP_VS_PROTO_TCP=y
CONFIG_IP_VS_PROTO_UDP=y
CONFIG_IP_VS_PROTO_ESP=y
CONFIG_IP_VS_PROTO_AH=y

#
# IPVS scheduler
#
CONFIG_IP_VS_RR=m
CONFIG_IP_VS_WRR=m
CONFIG_IP_VS_LC=m
CONFIG_IP_VS_WLC=m
CONFIG_IP_VS_LBLC=m
CONFIG_IP_VS_LBLCR=m
CONFIG_IP_VS_DH=m
CONFIG_IP_VS_SH=m
CONFIG_IP_VS_SED=m
CONFIG_IP_VS_NQ=m

#
# IPVS application helper
#
CONFIG_IP_VS_FTP=m
CONFIG_IPV6=m
CONFIG_IPV6_PRIVACY=y
CONFIG_INET6_AH=m
CONFIG_INET6_ESP=m
CONFIG_INET6_IPCOMP=m
CONFIG_IPV6_TUNNEL=m
# CONFIG_DECNET is not set
CONFIG_BRIDGE=m
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
CONFIG_BRIDGE_NETFILTER=y

#
# IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=m
CONFIG_IP_NF_FTP=m
CONFIG_IP_NF_IRC=m
CONFIG_IP_NF_TFTP=m
CONFIG_IP_NF_AMANDA=m
CONFIG_IP_NF_QUEUE=m
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_LIMIT=m
CONFIG_IP_NF_MATCH_IPRANGE=m
CONFIG_IP_NF_MATCH_MAC=m
CONFIG_IP_NF_MATCH_PKTTYPE=m
CONFIG_IP_NF_MATCH_MARK=m
CONFIG_IP_NF_MATCH_MULTIPORT=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_RECENT=m
CONFIG_IP_NF_MATCH_ECN=m
CONFIG_IP_NF_MATCH_DSCP=m
CONFIG_IP_NF_MATCH_AH_ESP=m
CONFIG_IP_NF_MATCH_LENGTH=m
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_MATCH_TCPMSS=m
CONFIG_IP_NF_MATCH_HELPER=m
CONFIG_IP_NF_MATCH_STATE=m
CONFIG_IP_NF_MATCH_CONNTRACK=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_MATCH_PHYSDEV=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_REDIRECT=m
CONFIG_IP_NF_TARGET_NETMAP=m
CONFIG_IP_NF_TARGET_SAME=m
CONFIG_IP_NF_NAT_LOCAL=y
CONFIG_IP_NF_NAT_SNMP_BASIC=m
CONFIG_IP_NF_NAT_IRC=m
CONFIG_IP_NF_NAT_FTP=m
CONFIG_IP_NF_NAT_TFTP=m
CONFIG_IP_NF_NAT_AMANDA=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_ECN=m
CONFIG_IP_NF_TARGET_DSCP=m
CONFIG_IP_NF_TARGET_MARK=m
CONFIG_IP_NF_TARGET_CLASSIFY=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_IP_NF_TARGET_TCPMSS=m
CONFIG_IP_NF_ARPTABLES=m
CONFIG_IP_NF_ARPFILTER=m
CONFIG_IP_NF_ARP_MANGLE=m
CONFIG_IP_NF_COMPAT_IPCHAINS=m
CONFIG_IP_NF_COMPAT_IPFWADM=m

#
# IPv6: Netfilter Configuration
#
# CONFIG_IP6_NF_QUEUE is not set
CONFIG_IP6_NF_IPTABLES=m
CONFIG_IP6_NF_MATCH_LIMIT=m
CONFIG_IP6_NF_MATCH_MAC=m
CONFIG_IP6_NF_MATCH_RT=m
CONFIG_IP6_NF_MATCH_OPTS=m
CONFIG_IP6_NF_MATCH_FRAG=m
CONFIG_IP6_NF_MATCH_HL=m
CONFIG_IP6_NF_MATCH_MULTIPORT=m
CONFIG_IP6_NF_MATCH_OWNER=m
CONFIG_IP6_NF_MATCH_MARK=m
CONFIG_IP6_NF_MATCH_IPV6HEADER=m
CONFIG_IP6_NF_MATCH_AHESP=m
CONFIG_IP6_NF_MATCH_LENGTH=m
CONFIG_IP6_NF_MATCH_EUI64=m
CONFIG_IP6_NF_FILTER=m
CONFIG_IP6_NF_TARGET_LOG=m
CONFIG_IP6_NF_MANGLE=m
CONFIG_IP6_NF_TARGET_MARK=m

#
# Bridge: Netfilter Configuration
#
CONFIG_BRIDGE_NF_EBTABLES=m
CONFIG_BRIDGE_EBT_BROUTE=m
CONFIG_BRIDGE_EBT_T_FILTER=m
CONFIG_BRIDGE_EBT_T_NAT=m
CONFIG_BRIDGE_EBT_802_3=m
CONFIG_BRIDGE_EBT_AMONG=m
CONFIG_BRIDGE_EBT_ARP=m
CONFIG_BRIDGE_EBT_IP=m
CONFIG_BRIDGE_EBT_LIMIT=m
CONFIG_BRIDGE_EBT_MARK=m
CONFIG_BRIDGE_EBT_PKTTYPE=m
CONFIG_BRIDGE_EBT_STP=m
CONFIG_BRIDGE_EBT_VLAN=m
CONFIG_BRIDGE_EBT_ARPREPLY=m
CONFIG_BRIDGE_EBT_DNAT=m
CONFIG_BRIDGE_EBT_MARK_T=m
CONFIG_BRIDGE_EBT_REDIRECT=m
CONFIG_BRIDGE_EBT_SNAT=m
CONFIG_BRIDGE_EBT_LOG=m
CONFIG_XFRM=y
CONFIG_XFRM_USER=y

#
# SCTP Configuration (EXPERIMENTAL)
#
CONFIG_IPV6_SCTP__=m
CONFIG_IP_SCTP=m
CONFIG_SCTP_ADLER32=y
# CONFIG_SCTP_DBG_MSG is not set
# CONFIG_SCTP_DBG_OBJCNT is not set
# CONFIG_SCTP_HMAC_NONE is not set
# CONFIG_SCTP_HMAC_SHA1 is not set
CONFIG_SCTP_HMAC_MD5=y
# CONFIG_ATM is not set
CONFIG_VLAN_8021Q=m
CONFIG_LLC=m
# CONFIG_LLC2 is not set
CONFIG_IPX=m
# CONFIG_IPX_INTERN is not set
CONFIG_ATALK=m
CONFIG_DEV_APPLETALK=y
CONFIG_IPDDP=m
CONFIG_IPDDP_ENCAP=y
CONFIG_IPDDP_DECAP=y
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
CONFIG_NET_DIVERT=y
# CONFIG_ECONET is not set
CONFIG_WAN_ROUTER=m
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set

#
# QoS and/or fair queueing
#
CONFIG_NET_SCHED=y
CONFIG_NET_SCH_CBQ=m
CONFIG_NET_SCH_HTB=m
CONFIG_NET_SCH_CSZ=m
CONFIG_NET_SCH_PRIO=m
CONFIG_NET_SCH_RED=m
CONFIG_NET_SCH_SFQ=m
CONFIG_NET_SCH_TEQL=m
CONFIG_NET_SCH_TBF=m
CONFIG_NET_SCH_GRED=m
CONFIG_NET_SCH_DSMARK=m
CONFIG_NET_SCH_INGRESS=m
CONFIG_NET_QOS=y
CONFIG_NET_ESTIMATOR=y
CONFIG_NET_CLS=y
CONFIG_NET_CLS_TCINDEX=m
CONFIG_NET_CLS_ROUTE4=m
CONFIG_NET_CLS_ROUTE=y
CONFIG_NET_CLS_FW=m
CONFIG_NET_CLS_U32=m
CONFIG_NET_CLS_RSVP=m
CONFIG_NET_CLS_RSVP6=m
CONFIG_NET_CLS_POLICE=y

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
CONFIG_BONDING=m
CONFIG_EQUALIZER=m
CONFIG_TUN=m
CONFIG_ETHERTAP=m

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
CONFIG_MII=m
CONFIG_SUNLANCE=m
CONFIG_HAPPYMEAL=m
CONFIG_SUNBMAC=m
CONFIG_SUNQE=m

#
# Ethernet (1000 Mbit)
#
CONFIG_MYRI_SBUS=m

#
# Ethernet (10000 Mbit)
#
CONFIG_PLIP=m
CONFIG_PPP=m
CONFIG_PPP_MULTILINK=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=m
CONFIG_PPP_SYNC_TTY=m
CONFIG_PPP_DEFLATE=m
# CONFIG_PPP_BSDCOMP is not set
CONFIG_PPPOE=m
CONFIG_SLIP=m
# CONFIG_SLIP_COMPRESSED is not set
# CONFIG_SLIP_SMART is not set
# CONFIG_SLIP_MODE_SLIP6 is not set

#
# Wireless LAN (non-hamradio)
#
CONFIG_NET_RADIO=y

#
# Obsolete Wireless cards support (pre-802.11)
#
CONFIG_STRIP=m

#
# Token Ring devices
#
CONFIG_SHAPER=m

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# IrDA (infrared) support
#
CONFIG_IRDA=m

#
# IrDA protocols
#
CONFIG_IRLAN=m
CONFIG_IRNET=m
CONFIG_IRCOMM=m
# CONFIG_IRDA_ULTRA is not set

#
# IrDA options
#
CONFIG_IRDA_CACHE_LAST_LSAP=y
CONFIG_IRDA_FAST_RR=y
# CONFIG_IRDA_DEBUG is not set

#
# Infrared-port device drivers
#

#
# SIR device drivers
#
CONFIG_IRTTY_SIR=m

#
# Dongle support
#
CONFIG_DONGLE=y
CONFIG_ESI_DONGLE=m
CONFIG_ACTISYS_DONGLE=m
CONFIG_TEKRAM_DONGLE=m

#
# Old SIR device drivers
#
CONFIG_IRPORT_SIR=m

#
# Old Serial dongle support
#
# CONFIG_DONGLE_OLD is not set

#
# FIR device drivers
#
# CONFIG_TOSHIBA_FIR is not set

#
# Bluetooth support
#
# CONFIG_BT is not set

#
# Unix98 PTY support
#
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=2048

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=m
# CONFIG_INPUT_TSDEV is not set
CONFIG_INPUT_EVDEV=m
# CONFIG_INPUT_EVBUG is not set

#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
# CONFIG_SERIO_I8042 is not set
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ATKBD is not set
CONFIG_KEYBOARD_SUNKBD=y
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_SERIAL=m
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
CONFIG_INPUT_PCSPKR=m
# CONFIG_INPUT_UINPUT is not set

#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y
CONFIG_EXT3_FS=m
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
CONFIG_JBD=m
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_REISERFS_FS=m
CONFIG_REISERFS_CHECK=y
CONFIG_REISERFS_PROC_INFO=y
CONFIG_JFS_FS=m
CONFIG_JFS_POSIX_ACL=y
# CONFIG_JFS_DEBUG is not set
# CONFIG_JFS_STATISTICS is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_XFS_FS=m
# CONFIG_XFS_RT is not set
CONFIG_XFS_QUOTA=y
CONFIG_XFS_POSIX_ACL=y
CONFIG_MINIX_FS=m
CONFIG_ROMFS_FS=m
CONFIG_QUOTA=y
# CONFIG_QFMT_V1 is not set
CONFIG_QFMT_V2=y
CONFIG_QUOTACTL=y
CONFIG_AUTOFS_FS=m
CONFIG_AUTOFS4_FS=m

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_ZISOFS_FS=y
CONFIG_UDF_FS=m

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
# CONFIG_DEVFS_FS is not set
CONFIG_DEVPTS_FS=y
CONFIG_DEVPTS_FS_XATTR=y
CONFIG_DEVPTS_FS_SECURITY=y
CONFIG_TMPFS=y
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y

#
# Miscellaneous filesystems
#
CONFIG_ADFS_FS=m
# CONFIG_ADFS_FS_RW is not set
CONFIG_AFFS_FS=m
CONFIG_HFS_FS=m
CONFIG_BEFS_FS=m
# CONFIG_BEFS_DEBUG is not set
CONFIG_BFS_FS=m
CONFIG_EFS_FS=m
CONFIG_CRAMFS=m
CONFIG_VXFS_FS=m
CONFIG_HPFS_FS=m
CONFIG_QNX4FS_FS=m
# CONFIG_QNX4FS_RW is not set
CONFIG_SYSV_FS=m
CONFIG_UFS_FS=m
# CONFIG_UFS_FS_WRITE is not set

#
# Network File Systems
#
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
CONFIG_NFS_V4=y
CONFIG_NFS_DIRECTIO=y
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_TCP=y
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=m
CONFIG_SUNRPC=m
CONFIG_SUNRPC_GSS=m
CONFIG_RPCSEC_GSS_KRB5=m
CONFIG_SMB_FS=m
# CONFIG_SMB_NLS_DEFAULT is not set
CONFIG_CIFS=m
CONFIG_NCP_FS=m
CONFIG_NCPFS_PACKET_SIGNING=y
CONFIG_NCPFS_IOCTL_LOCKING=y
CONFIG_NCPFS_STRONG=y
CONFIG_NCPFS_NFS_NS=y
CONFIG_NCPFS_OS2_NS=y
CONFIG_NCPFS_SMALLDOS=y
CONFIG_NCPFS_NLS=y
CONFIG_NCPFS_EXTRAS=y
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not set
CONFIG_AFS_FS=m
CONFIG_RXRPC=m

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
# CONFIG_MSDOS_PARTITION is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_NEC98_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
CONFIG_SUN_PARTITION=y
# CONFIG_EFI_PARTITION is not set

#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="utf8"
CONFIG_NLS_CODEPAGE_437=m
CONFIG_NLS_CODEPAGE_737=m
CONFIG_NLS_CODEPAGE_775=m
CONFIG_NLS_CODEPAGE_850=m
CONFIG_NLS_CODEPAGE_852=m
CONFIG_NLS_CODEPAGE_855=m
CONFIG_NLS_CODEPAGE_857=m
CONFIG_NLS_CODEPAGE_860=m
CONFIG_NLS_CODEPAGE_861=m
CONFIG_NLS_CODEPAGE_862=m
CONFIG_NLS_CODEPAGE_863=m
CONFIG_NLS_CODEPAGE_864=m
CONFIG_NLS_CODEPAGE_865=m
CONFIG_NLS_CODEPAGE_866=m
CONFIG_NLS_CODEPAGE_869=m
CONFIG_NLS_CODEPAGE_936=m
CONFIG_NLS_CODEPAGE_950=m
CONFIG_NLS_CODEPAGE_932=m
CONFIG_NLS_CODEPAGE_949=m
CONFIG_NLS_CODEPAGE_874=m
CONFIG_NLS_ISO8859_8=m
CONFIG_NLS_CODEPAGE_1250=m
CONFIG_NLS_CODEPAGE_1251=m
CONFIG_NLS_ISO8859_1=m
CONFIG_NLS_ISO8859_2=m
CONFIG_NLS_ISO8859_3=m
CONFIG_NLS_ISO8859_4=m
CONFIG_NLS_ISO8859_5=m
CONFIG_NLS_ISO8859_6=m
CONFIG_NLS_ISO8859_7=m
CONFIG_NLS_ISO8859_9=m
CONFIG_NLS_ISO8859_13=m
CONFIG_NLS_ISO8859_14=m
CONFIG_NLS_ISO8859_15=m
CONFIG_NLS_KOI8_R=m
CONFIG_NLS_KOI8_U=m
CONFIG_NLS_UTF8=m

#
# Sound
#
CONFIG_SOUND=m

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
CONFIG_SND_DUMMY=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_MTPAV=m
CONFIG_SND_SERIAL_U16550=m
CONFIG_SND_MPU401=m

#
# ALSA Sparc devices
#
CONFIG_SND_SUN_AMD7930=m
CONFIG_SND_SUN_CS4231=m

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

#
# USB support
#
# CONFIG_USB_GADGET is not set

#
# Watchdog
#
CONFIG_SOFT_WATCHDOG=m

#
# Kernel hacking
#
# CONFIG_DEBUG_SLAB is not set
CONFIG_MAGIC_SYSRQ=y
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_BUGVERBOSE is not set

#
# Security options
#
CONFIG_SECURITY=y
CONFIG_SECURITY_NETWORK=y
CONFIG_SECURITY_CAPABILITIES=y
CONFIG_SECURITY_SELINUX=y
CONFIG_SECURITY_SELINUX_BOOTPARAM=y
CONFIG_SECURITY_SELINUX_DEVELOP=y
# CONFIG_SECURITY_SELINUX_MLS is not set

#
# Cryptographic options
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_NULL=m
CONFIG_CRYPTO_MD4=m
CONFIG_CRYPTO_MD5=m
CONFIG_CRYPTO_SHA1=m
CONFIG_CRYPTO_SHA256=m
CONFIG_CRYPTO_SHA512=m
CONFIG_CRYPTO_DES=m
CONFIG_CRYPTO_BLOWFISH=m
CONFIG_CRYPTO_TWOFISH=m
CONFIG_CRYPTO_SERPENT=m
CONFIG_CRYPTO_AES=m
CONFIG_CRYPTO_CAST5=m
CONFIG_CRYPTO_CAST6=m
CONFIG_CRYPTO_DEFLATE=m
# CONFIG_CRYPTO_TEST is not set

#
# Library routines
#
CONFIG_CRC32=m
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=m

#6 lore raw
In reply to Tom 'spot' Callaway
Quoted 8 lines · On Sun, 04 Jan 2004 17:15:58 -0600 "Tom 'spot' Callaway" <[email protected]>…
Quoted 2 lines · Keith M Wesolowski

This really isn't the right thing to depend on, although I'm not sure what is. This chip is found almost everywhere.

Is it natively found in any model of 32bit SPARC? The only possible way I can think of getting one in a sparc32 machine is by adding a PCI 8250 card to a JavaStation, which the PROM won't recognize anyway.

I think we should not disallow this option, as the device may very well appear on PCI systems.

We cannot just depend upon PCI however for the 8250 driver options as it may appear also in ISA and onboard forms.

I do not see any reason why allowing this option to be enabled is a problem. People just have to become knowledgable about what kind of hardware they actually have right? :)

#7 lore raw
In reply to Tom 'spot' Callaway
Quoted 13 lines · Keith M Wesolowski

Review line 16

Quoted 8 lines · Tom 'spot' Callaway
(quoted diff) +1 -0
@@ -10,6 +10,7 @@
 # The new 8250/16550 serial drivers
 config SERIAL_8250
 	tristate "8250/16550 and compatible serial support"
+	depends on !SPARC32
 	select SERIAL_CORE
 	---help---
 	  This selects whether you want to include the driver for the standard

This really isn't the right thing to depend on, although I'm not sure what is. This chip is found almost everywhere.

We use sunsu to drive it. I thought about switching to 8250, but never got around to do it.

-- Pete

#8 lore raw
In reply to Tom 'spot' Callaway
Quoted 2 lines · David S. Miller

I think we should not disallow this option, as the device may very well appear on PCI systems.

Correct.

Quoted 2 lines

We cannot just depend upon PCI however for the 8250 driver options as it may appear also in ISA and onboard forms.

No sparc32 or sparc64 system (that I know of) contain an actual 8250. Furthermore, the only systems to have an ISA bus are PCI systems (PCI-ISA bridged.) Granted, I've not used an SBUS based system in several years.

--Ricky

#9 lore raw
In reply to Tom 'spot' Callaway
Quoted 7 lines · On Mon, 5 Jan 2004 03:05:58 -0500 (EST) Ricky Beam <[email protected]>…
Quoted 2 lines · David S. Miller

We cannot just depend upon PCI however for the 8250 driver options as it may appear also in ISA and onboard forms.

No sparc32 or sparc64 system (that I know of) contain an actual 8250. Furthermore, the only systems to have an ISA bus are PCI systems (PCI-ISA bridged.) Granted, I've not used an SBUS based system in several years.

The 8250 drives all variants, including the kind used for the 'su' devices in PCI sparc64 systems, this is what Peter was talking about when he alluded to merging the sunsu.c driver into the 8250.c code.

Also, any system that has a PCI bus can therefore host one of those serial/parallel PCI cards which use 8250 chips often.

So I stand where I started, that adding conditions to the 8250 Kconfig option is totally pointless as no selection of checks are totally suitable.

#10 lore raw
In reply to Tom 'spot' Callaway

For posterity (and googlers), this problem boiled down to be caused by compiling sparc32 with gcc 3.3 instead of 3.2 (when I built with 3.2, the oops went away).

~spot
---
Tom "spot" Callaway <tcallawa(a)redhat*com> LCA, RHCE Red Hat Sales Engineer || Aurora SPARC Linux Project Leader

"The author's mathematical treatment of the conception of purpose is novel and highly ingenious, but heretical and, so far as the present social order is concerned, dangerous and potentially subversive. Not to be published." -- Aldous Huxley's "Brave New World"