On Sun, May 06 2001, Phil Stracchino wrote: > On Sun, May 06, 2001 at 03:05:00AM -0700, Phil Stracchino wrote: > > Hey folks, > > I'm seeing a problem with mounting CDs using a Toshiba XM-6401TA CDROM > > drive attached to an Adaptec AHA1542CF controller (scsi1) on kernel 2.4.3 > > and 2.4.4. The behavior seems to be fairly consistent as follows: > > > > first mount and unmount works normally, no unusual events logged > > second mount and unmount works normally, no unusual events logged > > third mount locks up the machine. looks like a kernel panic. > > > > Any ideas? > > > Panic is confirmed. This time, it lived long enough to log: > > May 6 14:05:05 babylon5 kernel: Kernel panic: scsi_free:Bad offset > > Since it involves the CDROM, the aha1542 driver is implicated. Why it's > getting a bad offset, I don't understand enough about the SCSI drivers to > know; all the scsi_free calls in aha1542.c look identical to me. > > Would any Linux SCSI gurus care to let me know any diagnostic procedures > recommended for nailing this one? The panic should be fixed with attached patch. -- Jens Axboe