Messages in this thread | | | Date | Sat, 03 Nov 2007 15:42:49 +0100 | From | Stefan Richter <> | Subject | Re: 2.6.24-rc1-54866f032307063776b4eff7eadb131d47f9f9b4 fails to boot: kernel BUG at include/linux/scatterlist.h:49! |
| |
Torsten Kaiser wrote: > On 11/2/07, Stefan Richter <stefanr@s5r6.in-berlin.de> wrote: >> To which extent do you need IEEE 1394 drivers? > > Using eth1394 as primary network connection on this computer. > So switching to the new stack is currently not an option,
That's right.
> Looking that calltrace upwards, it seems replacing the > memset(dma->sglist,...) with sg_init_table(...) would fix the BUG_ON() > as that inits the SG_MAGIC.
Yes, this should be the first thing to be fixed.
> But I do not trust myself to fixing all > the iterators correctly to convert this completely to the new API.
Since ieee1394 doesn't create chained s/g lists, we might even get away with ieee1394's existing iterators.
(The other place where the 1394 stack deals with s/g lists is sbp2 where we have to deal with what comes from the SCSI stack or the block layer. But sbp2's s/g list handling is entirely unrelated to ieee1394's own code for isochronous I/O and async streams, which eth1394 needs and caused the bug.) -- Stefan Richter -=====-=-=== =-== ---=- http://arcgraph.de/sr/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |