# Re: \[Bugme-new\] \[Bug 14214\] New: BUG at drivers/scsi/scsi\_lib.c:1108!

- From: James Bottomley \<James.Bottomley@HansenPartnership.com\>
- Date: 2009-09-30 21:19:24 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2009/09/6607630
- Thread: https://ratatoskr.run/linux-raid/2009/09/6607630/t.md

```text
On Wed, 2009-09-30 at 12:56 -0700, Andrew Morton wrote:
> On Wed, 23 Sep 2009 11:13:26 GMT
> bugzilla-daemon@bugzilla.kernel.org wrote:
> 
> > http://bugzilla.kernel.org/show_bug.cgi?id=14214
> 
> Post-2.6.31 regression.  This, in scsi_setup_fs_cmnd():
> 
>         /*
>          * Filesystem requests must transfer data.
>          */
>         BUG_ON(!req->nr_phys_segments);

Well, the BUG_ON is correct: there can't be a FS type command with no
data.

This can't be a SCSI issue because the problem was caused before SCSI
was entered.  Looking at the backtrace (all functions listed as
unreliable, sigh) this is either a deadline scheduler problem (less
likely) or an md_raid one (more likely).

Let's start with what was the mdraid configuration and condition of the
filesystem being mounted? I've added linux-raid to the cc list so they
can chime in for more details.

James


```
