* Dreamcast oopses on boot
@ 2008-12-06 12:47 Adrian McMenamin
2008-12-08 4:23 ` Paul Mundt
0 siblings, 1 reply; 2+ messages in thread
From: Adrian McMenamin @ 2008-12-06 12:47 UTC (permalink / raw)
To: linux-sh
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1254", Size: 10389 bytes --]
I am going to start work on this problem - the pvr2 and network (on seeking an address via DHCP)
code generate similar oopses.
But any immediate clues very welcome.
[ 0.000000] Boot params:
[ 0.000000] ... MOUNT_ROOT_RDONLY - 91f0c75f
[ 0.000000] ... RAMDISK_FLAGS - e1ff3018
[ 0.000000] ... ORIG_ROOT_DEV - 89093610
[ 0.000000] ... LOADER_TYPE - 3612e108
[ 0.000000] ... INITRD_START - 46088904
[ 0.000000] ... INITRD_SIZE - 6002306c
[ 0.000000] console [sercon0] enabled
[ 0.000000] Booting machvec: Sega Dreamcast
[ 0.000000] Node 0: start_pfn = 0xc000, low = 0xd000
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x0000c000 -> 0x0000d000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0x0000c000 -> 0x0000d000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 4064
[ 0.000000] Kernel command line: root=/dev/nfs rw nfsroot\x192.168.61.50:/home/adrian/gentoo ip=dhcp earlyprintk=serial video=pvr2fb:640x480-32@60 console7
[ 0.000000] PID hash table entries: 64 (order: 6, 256 bytes)
[ 0.000000] Using tmu for system timer
[ 0.000000] Using 12.469 MHz high precision timer.
[ 0.009652] Console: colour dummy device 80x25
[ 0.014691] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.022277] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.032404] Memory: 12684k/16384k available (2088k kernel code, 738k data, 104k init)
[ 0.041030] PVR\x040205c1 CVR\0000000 PRR\0000000
[ 0.046321] I-cache : n_ways=1 n_sets%6 way_incr92
[ 0.052082] I-cache : entry_mask=0x00001fe0 alias_mask=0x00001000 n_aliases=2
[ 0.059929] D-cache : n_ways=1 n_setsQ2 way_incr\x16384
[ 0.065791] D-cache : entry_mask=0x00003fe0 alias_mask=0x00003000 n_aliases=4
[ 0.074127] SLUB: Genslabs\x10, HWalign2, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.082702] Calibrating delay loop (skipped)... 199.50 BogoMIPS PRESET (lpj99012)
[ 0.092523] Mount-cache hash table entries: 512
[ 0.102246] CPU: SH7750
[ 0.133819] net_namespace: 288 bytes
[ 0.139543] NET: Registered protocol family 16
[ 0.268929] DMA: Registering DMA API.
[ 0.273203] DMA: Registering sh_dmac handler (4 channels).
[ 0.292343] DMA: Registering pvr2_dmac handler (1 channel).
[ 0.304024] DMA: Registering g2_dmac handler (4 channels).
[ 0.323278] Autoconfig PCI channel 0x8c2bf6e4
[ 0.328485] Scanning bus 00, I/O 0x01001600:0x01003600, Mem 0x01840000:0x01848000
[ 0.336762] 00:00.0 Class 0200: 11db:1234 (rev 10)
[ 0.342095] I/O at 0x01001600 [size=0x100]
[ 0.347313] Mem at 0x01840000 [size=0x100]
[ 0.355790] PCI: Fixing up device 0000:00:00.0
[ 0.414627] NET: Registered protocol family 2
[ 0.460675] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.469938] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.477604] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.484640] TCP: Hash tables configured (established 512 bind 512)
[ 0.491448] TCP reno registered
[ 0.505527] NET: Registered protocol family 1
[ 0.516593] sq: Registering store queue API.
[ 0.528448] cpufreq: SuperH CPU frequency driver.
[ 0.533857] cpufreq: clock framework rate rounding not supported on this CPU.
[ 0.553597] HugeTLB registered 64 KB page size, pre-allocated 0 pages
[ 0.816780] msgmni has been set to 24
[ 0.829763] alg: No test for stdrng (krng)
[ 0.834730] io scheduler noop registered
[ 0.839427] io scheduler anticipatory registered (default)
[ 2.725678] SuperH SCI(F) driver initialized
[ 2.731012] sh-sci: ttySC0 at MMIO 0xffe00000 (irq = 25) is a sci
[ 2.741495] sh-sci: ttySC1 at MMIO 0xffe80000 (irq = 43) is a scif
�[ 2.748697] console handover: boot [sercon0] -> real [ttySC1]
[ 2.758369] sh-sci sh-sci: CPU frequency notifier registered
[ 2.807992] nbd: registered device at major 43
[ 2.914471] 8139too Fast Ethernet driver 0.9.28
[ 2.924055] eth0: RealTek RTL8139 at 0xa1001700, 00:d0:f1:03:12:b9, IRQ 83
[ 3.495224] GDROM: CD-ROM DRIVE from SE with firmware 6.42
[ 3.502961] GDROM: Registered with major number 254
[ 3.507965] Uniform CD-ROM driver Revision: 3.20
[ 3.512804] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 3.520910] pc = 00000000
[ 3.523605] *pde = 00000000
[ 3.526490] Oops: 0000 [#1]
[ 3.529353] Modules linked in:
[ 3.532584]
[ 3.534028] Pid : 1, Comm: swapper
[ 3.538707] CPU : 0 Not tainted (2.6.28-rc7-13830-g168fef8 #939)
[ 3.545348] PC is at 0x0
[ 3.547875] PR is at do_IRQ+0x42/0x80
[ 3.551638] PC : 00000000 SP : 8cc21ca8 SR : 400081f1 TEA : 00000000
[ 3.558464] R0 : 00000050 R1 : 00000000 R2 : 00000000 R3 : 0000001f
[ 3.565294] R4 : 00000050 R5 : 8c2ad784 R6 : 8c85fba0 R7 : 00000001
[ 3.572120] R8 : 00000050 R9 : 8c2e97fc R10 : 00000000 R11 : 8c2ad79c
[ 3.578943] R12 : 00000050 R13 : 00000000 R14 : 8cc21ca8
[ 3.584515] MACH: 01f00f65 MACL: 000012c0 GBR : 00000000 PR : 8c003782
[ 3.591329]
[ 3.591343] Call trace:
[ 3.595486] [<8c0080e8>] ret_from_irq+0x0/0x10
[ 3.599975] [<8c003740>] do_IRQ+0x0/0x80
[ 3.604138] [<8c041856>] __setup_irq+0x1f6/0x300
[ 3.608867] [<8c0417aa>] __setup_irq+0x14a/0x300
[ 3.613552] [<8c041ba4>] request_irq+0x84/0xc0
[ 3.618226] [<8c16d260>] gdrom_command_interrupt+0x0/0x40
[ 3.623702] [<8c205508>] probe_gdrom+0x208/0x3c0
[ 3.628548] [<8c041b20>] request_irq+0x0/0xc0
[ 3.633034] [<8c1657b2>] platform_drv_probe+0x12/0x20
[ 3.638248] [<8c164012>] driver_probe_device+0xb2/0x1a0
[ 3.643626] [<8c16410a>] __device_attach+0xa/0x20
[ 3.648479] [<8c164100>] __device_attach+0x0/0x20
[ 3.653328] [<8c201660>] klist_next+0x0/0x100
[ 3.657832] [<8c163144>] bus_for_each_drv+0x44/0x80
[ 3.662851] [<8c16416e>] device_attach+0x4e/0xa0
[ 3.667535] [<8c16340c>] bus_attach_device+0x2c/0x60
[ 3.672740] [<8c161870>] device_add+0x310/0x4a0
[ 3.677408] [<8c165260>] platform_device_alloc+0x20/0x80
[ 3.682790] [<8c121a4c>] kref_init+0xc/0x20
[ 3.687116] [<8c1209f4>] kobject_init_internal+0x14/0x40
[ 3.692676] [<8c16544c>] platform_device_add+0xcc/0x180
[ 3.698073] [<8c1656d8>] platform_device_register_simple+0x38/0x80
[ 3.704358] [<8c2d1bc6>] init_gdrom+0x26/0x80
[ 3.708839] [<8c2d1ba0>] init_gdrom+0x0/0x80
[ 3.713331] [<8c0020b2>] do_one_initcall+0x52/0x180
[ 3.718372] [<8c070812>] kmem_cache_free+0x92/0x120
[ 3.723401] [<8c120588>] ida_get_new_above+0x1e8/0x220
[ 3.728615] [<8c120588>] ida_get_new_above+0x1e8/0x220
[ 3.734013] [<8c120352>] ida_pre_get+0x12/0x60
[ 3.738576] [<8c1205ce>] ida_get_new+0xe/0x20
[ 3.743070] [<8c120340>] ida_pre_get+0x0/0x60
[ 3.747556] [<8c0b718a>] proc_register+0x1ea/0x220
[ 3.752409] [<8c011fa0>] add_preempt_count+0x0/0x80
[ 3.757433] [<8c011f00>] sub_preempt_count+0x0/0xa0
[ 3.762470] [<8c0b73ce>] create_proc_entry+0x6e/0xc0
[ 3.767691] [<8c0438d2>] register_irq_proc+0x52/0xa0
[ 3.772715] [<8c043992>] init_irq_proc+0x32/0x80
[ 3.777567] [<8c2c4b0e>] kernel_init+0x6e/0x100
[ 3.782229] [<8c002060>] do_one_initcall+0x0/0x180
[ 3.787076] [<8c0037e4>] kernel_thread_helper+0x4/0x20
[ 3.792486] [<8c2c4aa0>] kernel_init+0x0/0x100
[ 3.797058] [<8c0037e0>] kernel_thread_helper+0x0/0x20
[ 3.802243]
[ 3.803859] Process: swapper (pid: 1, stack limit = 8cc20001)
[ 3.809786] Stack: (0x8cc21ca8 to 0x8cc22000)
[ 3.814268] 1ca0: 8c0080e8 8cc21d1c 8c85fba0 8c003740 ffffffff 000000f0
[ 3.822713] 1cc0: 00000000 40000100 ffffffa0 005f6924 00000004 8c85fba0 00000001 8c2ad784
[ 3.831334] 1ce0: 00000000 8c85fba0 8c2ad79c 00000050 00000000 8cc21d1c 8cc21d1c 8c041856
[ 3.839779] 1d00: 8c0417aa 40000100 00000000 01f00f65 00000c00 ffffffff ffffffff 00000000
[ 3.848400] 1d20: 8c041ba4 8cc21d40 8c27f728 8c16d260 00000020 00000050 8c2ad784 8c85fba0
[ 3.856845] 1d40: 8c205508 8cc21d64 8c2edde0 8c2edde0 00000001 ffffffed 8c041b20 8c27f4c6
[ 3.865467] 1d60: 8c2edde0 00000000 8c1657b2 8cc21d88 8c84b6f0 8c2eddb4 8c84b704 00000000
[ 3.873912] 1d80: 8c2beac4 8c84b688 8c164012 8cc21d90 8c16410a 8cc21dac 8c84b6c8 8c84b688
[ 3.882533] 1da0: 8c164100 8c201660 00000000 8c163144 8cc21db4 8cc07588 8c886534 8c16416e
[ 3.890978] 1dc0: 8cc21dd4 ffffffec 8c84b744 8c84b688 8c2be3f0 8c16340c 8cc21de8 8c84b688
[ 3.899599] 1de0: 8c84b688 8c2be3f0 8c161870 8cc21df8 00000000 00000000 ffffffff 8c165260
[ 3.908044] 1e00: 8cc09040 8c121a4c 8c2be454 8c1209f4 00000000 00000000 8c84b704 8c16544c
[ 3.916665] 1e20: 8cc21e3c 8c2de080 8cc21ec0 8c84b680 00000000 00000000 8c84b680 8c1656d8
[ 3.925110] 1e40: 8cc21e5c 8c2de080 8cc21ec0 00000000 00000000 fffffff4 8c84b680 8c2d1bc6
[ 3.933731] 1e60: 8cc21e74 8c2de080 8c2d1ba0 8cc21ec0 8c2eddd8 8c0020b2 8cc21e80 8c2dc6c0
[ 3.942176] 1e80: 8cc21e00 00000098 8cc169c0 8c3912c0 8c070812 8cc21eb4 8c2e7e40 8c120588
[ 3.950797] 1ea0: 8cc02000 8cc169c0 8c3912c0 00000000 00000026 8c120588 8cc21ed0 000000fe
[ 3.959243] 1ec0: 8cc073c4 8cc073c0 000003e0 00000000 8cc16900 00000000 8cc21ee8 ffffff0f
[ 3.967864] 1ee0: 8cc169c0 00000000 8c120352 8cc21f18 8c1205ce 8cc21f10 8cc4b640 8cc4c0c0
[ 3.976309] 1f00: 8c120340 8c0b718a 8cc21f18 8c011fa0 8c011f00 00000000 000000fe 8c0b73ce
[ 3.984930] 1f20: 8cc21f3c 00000000 00000000 8c2b00c4 0000008e 8c2e6a20 8cc4c0c0 8cc4b640
[ 3.993375] 1f40: 8c0438d2 00000000 8c2ae60c 00323431 00000000 8c2b0000 8c043992 8cc21f6c
[ 4.001996] 1f60: 00000001 8c2c4b0e 8cc21f84 00000000 00000000 8c2dc49c 8c2dc704 8c002060
[ 4.010441] 1f80: 8c2dc6c0 00000001 8c0037e4 00000000 00000000 00000000 00000000 00000000
[ 4.019062] 1fa0: 00000000 00000000 00000000 00000000 00000000 8c2c4aa0 00000000 00000000
[ 4.027507] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 8cc21fa0
[ 4.036128] 1fe0: 8c0037e0 00000000 40000000 00000000 00000000 00000000 00000000 00000000
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Dreamcast oopses on boot
2008-12-06 12:47 Dreamcast oopses on boot Adrian McMenamin
@ 2008-12-08 4:23 ` Paul Mundt
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2008-12-08 4:23 UTC (permalink / raw)
To: linux-sh
On Sat, Dec 06, 2008 at 12:47:13PM +0000, Adrian McMenamin wrote:
> [ 3.512804] Unable to handle kernel NULL pointer dereference at virtual address 00000000
> [ 3.520910] pc = 00000000
> [ 3.523605] *pde = 00000000
> [ 3.526490] Oops: 0000 [#1]
> [ 3.529353] Modules linked in:
> [ 3.532584]
> [ 3.534028] Pid : 1, Comm: swapper
> [ 3.538707] CPU : 0 Not tainted (2.6.28-rc7-13830-g168fef8 #939)
> [ 3.545348] PC is at 0x0
> [ 3.547875] PR is at do_IRQ+0x42/0x80
> [ 3.551638] PC : 00000000 SP : 8cc21ca8 SR : 400081f1 TEA : 00000000
> [ 3.558464] R0 : 00000050 R1 : 00000000 R2 : 00000000 R3 : 0000001f
> [ 3.565294] R4 : 00000050 R5 : 8c2ad784 R6 : 8c85fba0 R7 : 00000001
> [ 3.572120] R8 : 00000050 R9 : 8c2e97fc R10 : 00000000 R11 : 8c2ad79c
> [ 3.578943] R12 : 00000050 R13 : 00000000 R14 : 8cc21ca8
> [ 3.584515] MACH: 01f00f65 MACL: 000012c0 GBR : 00000000 PR : 8c003782
> [ 3.591329]
> [ 3.591343] Call trace:
> [ 3.595486] [<8c0080e8>] ret_from_irq+0x0/0x10
> [ 3.599975] [<8c003740>] do_IRQ+0x0/0x80
> [ 3.604138] [<8c041856>] __setup_irq+0x1f6/0x300
> [ 3.608867] [<8c0417aa>] __setup_irq+0x14a/0x300
> [ 3.613552] [<8c041ba4>] request_irq+0x84/0xc0
So, this is because you have stumbled across the
GENERIC_HARDIRQS_NO__DO_IRQ hiccup that hp6xx also hit. I've changed the
default behaviour in-tree to leave this disabled for the problematic
platforms. Presently these include the Cayman, Microdev, Dreamcast, and
SystemH 7751.
Having said that, converting dreamcast to irq_chip and dropping it from
the dependencies is certainly the way we want to go. I'll have to look at
Cayman and Microdev one of these days, but as neither have a double-digit
userbase, this is not a pressing priority.
On Sun, Dec 07, 2008 at 09:30:11PM +0000, Adrian McMenamin wrote:
> Working with Matt, can now boot the Dreamcast and the PVR2 and GDRom
> appear to work (certainly get video output from the PVR2). But cannot
> get the network to come up.
>
> Matt thinks this issue might have been seen elsewhere too - anybody got
> any ideas about fixing it?
>
> [ 6.248295] Sending DHCP requests .....<6>NETDEV WATCHDOG: eth0 (8139too): transmit timed out
> [ 41.933824] ------------[ cut here ]------------
> [ 41.938367] Badness at net/sched/sch_generic.c:226
> [ 41.943388]
> [ 41.944832] Pid : 0, Comm: swapper
> [ 41.949511] CPU : 0 Not tainted (2.6.28-rc7-13831-gacfbbdd-dirty #967)
> [ 41.956714] PC is at dev_watchdog+0x198/0x340
> [ 41.961196] PR is at dev_watchdog+0x198/0x340
> [ 41.965677] PC : 8c19f378 SP : 8c2a7e64 SR : 40008101 TEA : 00000000
> [ 41.972503] R0 : 00000037 R1 : 8c2a6000 R2 : 8c2a6000 R3 : 000000df
> [ 41.979330] R4 : 00000001 R5 : 00001755 R6 : ffffffff R7 : 00000035
> [ 41.986160] R8 : 00000001 R9 : 8c2af794 R10 : 00000001 R11 : 8c2f5278
> [ 41.992981] R12 : 00000001 R13 : 8cc532fc R14 : 8c2a7e64
> [ 41.998375] MACH: 0000270c MACL: 000003c0 GBR : 8c000000 PR : 8c19f378
> [ 42.005188]
> [ 42.005202] Call trace:
> [ 42.009355] [<8c0407ca>] get_timestamp+0xa/0x40
> [ 42.014023] [<8c00db16>] tmu_timer_read+0x16/0x40
> [ 42.018866] [<8c006970>] sched_clock+0x10/0x60
> [ 42.023543] [<8c0343f8>] sched_clock_cpu+0x18/0x40
It looks like your ethernet IRQ isn't firing or being handled at all. The
stack trace in question only covers the watchdog timeout relative to the
timer, no IRQ noise from 8139too is visible. So, you probably have
something broken with your irq_chip conversion patch, likely related to
the demux handling.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-08 4:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-06 12:47 Dreamcast oopses on boot Adrian McMenamin
2008-12-08 4:23 ` Paul Mundt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).