From: Adrian M. <ad...@ne...> - 2007-07-16 21:56:06
|
On Tue, 2007-07-17 at 06:08 +0900, Paul Mundt wrote: > > That's certainly not good. I suppose I'll have to plug in some dummy > DMACs and hash out where things went wrong. I'll take a look at it later > today. > > Should also probably redo the dependencies so we're not able to > artificially change the number of channels (or better yet, let the > platform device take care of it). Finally managed to test this properly with earlyprintk - here is the output - much as with the module insertion: Linux version 2.6.22-gc2dc1ad5 (adrian@bossclass) (gcc version 3.4.6) #10 PREEMPT Mon Jul 16 22:52:32 BST 2007 console [sercon0] enabled Booting machvec: Sega Dreamcast Node 0: start_pfn = 0xc000, low = 0xd000 Zone PFN ranges: Normal 49152 -> 53248 early_node_map[1] active PFN ranges 0: 49152 -> 53248 Built 1 zonelists in Zone order. Total pages: 4064 Kernel command line: console=ttySC1,115200 panic=3 root=/dev/nfs rw nfsaddrs=192.168.61.55:192.168.61.50:192.168.61.50: earlyprintk=serial PID hash table entries: 64 (order: 6, 256 bytes) Using tmu for system timer Using 12.469 MHz high precision timer. Console: colour dummy device 80x25 Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) Memory: 14104k/16384k available (1499k kernel code, 444k data, 72k init) PVR=040205c1 CVR=00000000 PRR=00000000 I-cache : n_ways=1 n_sets=256 way_incr=8192 I-cache : entry_mask=0x00001fe0 alias_mask=0x00001000 n_aliases=2 D-cache : n_ways=1 n_sets=512 way_incr=16384 D-cache : entry_mask=0x00003fe0 alias_mask=0x00003000 n_aliases=4 Mount-cache hash table entries: 512 CPU: SH7750 NET: Registered protocol family 16 DMA: Registering DMA API. DMA: Registering sh_dmac handler (4 channels). DMA: Registering pvr2_dmac handler (1 channel). DMA: Registering g2_dmac handler (4 channels). Autoconfig PCI channel 0x8c1e23f0 Scanning bus 00, I/O 0x01001600:0x01003600, Mem 0x01840000:0x01848000 00:00.0 Class 0200: 11db:1234 (rev 10) I/O at 0x01001600 [size=0x100] Mem at 0x01840000 [size=0x100] PCI: Fixing up device 0000:00:00.0 Time: SuperH clocksource has been installed. NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 512 (order: 0, 4096 bytes) TCP bind hash table entries: 512 (order: -1, 2048 bytes) TCP: Hash tables configured (established 512 bind 512) TCP reno registered sq: Registering store queue API. Total HugeTLB memory allocated, 0 io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered Fault in unaligned fixup: 0000 [#1] Modules linked in: Pid : 1, Comm: swapper PC is at request_dma+0x2a/0x84 PC : 8c10d666 SP : 8c255e70 SR : 400000f1 TEA : 0000001a Not tainted R0 : 00000000 R1 : 00000001 R2 : 8c1e2210 R3 : 8c1e2210 R4 : 00000004 R5 : 8c1b0394 R6 : 000000c6 R7 : 8c247ee8 R8 : ffffffea R9 : 00000000 R10 : 00000000 R11 : 8c1b0394 R12 : ffffffed R13 : 8c1fb468 R14 : 00000000 MACH: 00000000 MACL: 00000005 GBR : 00000000 PR : 8c10d656 Call trace: [<8c1f26e8>] pvr2fb_dc_init+0x9c/0x108 [<8c1f298a>] pvr2fb_init+0x236/0x26c [<8c063018>] ifind+0x14/0x98 [<8c0127f4>] acquire_console_sem+0x0/0xb4 [<8c087884>] sysfs_ilookup_test+0x0/0xa [<8c06310a>] ilookup5_nowait+0x2a/0x44 [<8c0879d8>] sysfs_addrm_finish+0x18/0x248 [<8c0878b8>] sysfs_addrm_start+0x2a/0x9e [<8c086d6e>] sysfs_add_file+0x56/0xc0 [<8c0127f4>] acquire_console_sem+0x0/0xb4 [<8c1f25ae>] fb_console_init+0xae/0x134 [<8c0127f4>] acquire_console_sem+0x0/0xb4 [<8c1ea848>] kernel_init+0x90/0x244 [<8c0035e4>] kernel_thread_helper+0x4/0x10 [<8c1ea7b8>] kernel_init+0x0/0x244 [<8c0035e0>] kernel_thread_helper+0x0/0x10 Process: swapper (pid: 1, stack limit = 8c254001) Stack: (0x8c255e70 to 0x8c256000) 5e60: 8c1f26e8 8c208644 00000000 8c1dd8f4 5e80: 8c1dd90c 8c1f298a 8c205cd4 8c291508 00000002 8c1b0038 00000000 8c1dd8c0 5ea0: 8c254000 8c247998 00000000 8c1afe54 00000000 8c29e4c0 8c1afe54 00000000 5ec0: 8c063018 8c1fb464 8c0127f4 8c2085b4 8c2915b4 8c087884 8c254000 8c06310a 5ee0: 8c0879d8 8c244a00 00000000 8c0878b8 8c086d6e 8c1fb464 8c0127f4 8c2085b4 5f00: 8c2915b4 8c1dd8c0 8c2914e4 8c2915b4 00000000 00000000 8c1f25ae 8c0127f4 5f20: 8c2085b4 8c2085bc 00000000 00000000 8c1ea848 00000000 00000000 00000000 5f40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 5f60: 00000000 00000000 00000000 00000000 00000001 00000000 00000000 00000000 5f80: 8c0035e4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 5fa0: 00000000 00000000 00000000 00000000 00000000 8c1ea7b8 00000000 00000000 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 8c255fa0 5fe0: 8c0035e0 00000000 40000000 00000000 00000000 00000000 00000000 00000000 Kernel panic - not syncing: Attempted to kill init! Rebooting in 3 seconds.. |