Bug 2700
Summary: | Kernel panic: Buffer at physical address > 16Mb used for aha1542 | ||
---|---|---|---|
Product: | SCSI Drivers | Reporter: | Ralf Angeli (angeli) |
Component: | Other | Assignee: | Mike Anderson (andmike) |
Status: | REJECTED UNREPRODUCIBLE | ||
Severity: | normal | CC: | bunk, protasnb, ralf |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.6 | Subsystem: | |
Regression: | Yes | Bisected commit-id: |
Description
Ralf Angeli
2004-05-13 09:34:31 UTC
I have the same kernel panic on my system. But the aha1542 module works fine until I insmod the sr-mod module for cdrom support. The kernel panic appears at this moment. The panic is called in drivers/scsi/aha1542.c:750 if (buff && SCSI_BUF_PA(buff + bufflen - 1) > ISA_DMA_THRESHOLD) BAD_DMA(buff, bufflen); SCSI_BUF_PA is defined to isa_virt_to_bus(). In other kernel modules the value of this function is not checked against valid dma sizes. Commenting this test prevent the kernel panic and the scsi controller and cdrom drive work on my system. I'm not sure if this test is really wrong or there is now some bad dma transfer to wrong memory areas. On the other hand in the 2.4 kernel this problem does not appear and the test for incorrect dma buffer does not fail. Do you still have same problem with new kernels? (and still own the hardware) Thanks. It's been a while since the bug was reported. Since no updates, I'm closing it. |