k-class drivers/parisc/ccio-dma.c
im having trouble with booting the 2.6 kernels on a k460.
--------------------------------------------------------
CPU(s): 4 x PA8000 (PCX-U) at 180.000000 MHz Setting cache flush threshold to 40 (4 CPUs online) Found U2 at 0xfff8a000
kernel BUG at drivers/parisc/ccio-dma.c:1317!
Backtrace: [<1025b0e0>] ccio_ioc_init+0x284/0x29c [<10131530>] printk+0x20/0x2c [<1025b5d4>] ccio_probe+0xd4/0x1f4 [<10246588>] kobject_hotplug+0x27c/0x2e8 [<101122e4>] parisc_driver_probe+0x2c/0x60 [<1027fab4>] driver_probe_device+0x38/0x88 [<1027fc5c>] driver_attach+0x84/0xc0 [<102801cc>] bus_add_driver+0xa4/0xcc [<10280740>] driver_register+0x70/0x7c [<10104db4>] init+0x268/0x340 [<1010dc5c>] ret_from_kernel_thread+0x1c/0x24 Kernel panic - not syncing: BUG! ----------------------------------------------------
i get this error with linux-2.6.12-rc1-pa4 and linux-2.6.11_p2
gcc version 3.3.5 (Gentoo Linux 3.3.5-r1, pie-8.7.7.1) binutils-2.15.92.0.2-r1
tanya src # uname -a
Linux tanya 2.4.27-pa4 #6 SMP Wed Mar 23 19:05:42 CET 2005 parisc PA8000 (PCX-U) 9000/889/K460 GNU/Linux
http://www.ing.umu.se/~dizzey/System.map
i hope this is sufficient
/dizzey
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
Quoted 7 lines · Anders
im having trouble with booting the 2.6 kernels on a k460.
--------------------------------------------------------
CPU(s): 4 x PA8000 (PCX-U) at 180.000000 MHz Setting cache flush threshold to 40 (4 CPUs online) Found U2 at0xfff8a000
kernel BUG atdrivers/parisc/ccio-dma.c:1317!
Grant, Joel, this is your faults:
ioc->pdir_size = (iova_space_size / IOVP_SIZE) * sizeof(u64);
BUG_ON(ioc->pdir_size >= 4 * 1024 * 1024); /* max pdir size < 4MB */I don't really want to dig into this right now, could one of you investigate?
Anders, how much memory do you have?
Signature · 10 lines
"Next the statesmen will invent cheap lies, putting the blame upon the nation that is attacked, and every man will be glad of those conscience-soothing falsities, and will diligently study them, and refuse to examine any refutations of them; and thus he will by and by convince himself that the war is just, and will thank God for the better sleep he enjoys after this process of grotesque self-deception." -- Mark Twain _______________________________________________ parisc-linux mailing list [email protected] http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
Quoted 7 lines · Anders
im having trouble with booting the 2.6 kernels on a k460.
--------------------------------------------------------
CPU(s): 4 x PA8000 (PCX-U) at 180.000000 MHz Setting cache flush threshold to 40 (4 CPUs online) Found U2 at0xfff8a000
kernel BUG atdrivers/parisc/ccio-dma.c:1317!
Can you try this change to line 1317?
- BUG_ON(ioc->pdir_size >= 4 * 1024 * 1024); /* max pdir size < 4MB */
+ BUG_ON(ioc->pdir_size > (8 * 1024 * 1024)); /* max pdir size <= 8MB */
Sorry - I didn't redo the math in the previous commit. More than 2GB of RAM should hit that maximum IOVA/DMA space size and result in an 8MB IO Pdir.
thanks,
grant
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
Quoted 15 lines · Grant Grundler
Quoted 7 lines · Anders
im having trouble with booting the 2.6 kernels on a k460.
--------------------------------------------------------
CPU(s): 4 x PA8000 (PCX-U) at 180.000000 MHz Setting cache flush threshold to 40 (4 CPUs online) Found U2 at0xfff8a000
kernel BUG atdrivers/parisc/ccio-dma.c:1317!Can you try this change to line 1317?
(quoted diff) +1
-1- BUG_ON(ioc->pdir_size >= 4 * 1024 * 1024); /* max pdir size < 4MB */ + BUG_ON(ioc->pdir_size > (8 * 1024 * 1024)); /* max pdir size <= 8MB */
Quoted 6 lines
Sorry - I didn't redo the math in the previous commit. More than 2GB of RAM should hit that maximum IOVA/DMA space size and result in an 8MB IO Pdir.
thanks,
grant
thanks
that line you gave solved that problem :)
well im of to write a new report about smp-badness
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux