[Aboriginal] lsi_scsi: error
John Spencer
maillist-aboriginal at barfooze.de
Sat Oct 8 15:43:10 PDT 2011
On 10/08/2011 06:09 PM, Rob Landley wrote:
> On 10/06/2011 10:32 PM, John Spencer wrote:
>> on the previous version of aboriginal (1.01 ?) armv6l (didn't test 1.1
>> yet),
>>
>> i keep getting the following error/warning, when compiling big stuff, or
>> even while extracting gcc 4.5.3 core's tarball (xf only).
>> lsi_scsi: error: ORDERED queue not implemented
> Huh. I don't remember that. It sounds like a kernel issue, some kind
> of mismatch between the scsi driver and either the block elevator or
> something, but I haven't seen it...
>
> Neither did "find . -type f | xargs grep lsi_scsi" in the current linux
> kernel git repo.
>
>> despite the "error", it seems everything works, however it's kinda
>> annoying.
>> is that a bug in aboriginal or in my local qemu install ?
> Ah, there you go. Doing the find in the qemu source pulls up file
> hw/lsi53c895a.c containing:
>
> #define BADF(fmt, ...) \
> do { fprintf(stderr, "lsi_scsi: error: " fmt , ## __VA_ARGS__);} while (0)
> #endif
> ...
> case 0x22: /* ORDERED queue */
> BADF("ORDERED queue not implemented\n");
> s->select_tag |= lsi_get_msgbyte(s) | LSI_TAG_VALID;
> break;
>
ah, thanks for your research.
this time it's gotten nasty:
2011.09.08 22:08:05 building binutils
lsi_scsi: error: ORDERED queue not implemented
lsi_scsi: error: ORDERED queue not implemented
lsi_scsi: error: ORDERED queue not implemented
lsi_scsi: error: ORDERED queue not implemented
lsi_scsi: error: ORDERED queue not implemented
lsi_scsi: error: ORDERED queue not implemented
lsi_scsi: error: ORDERED queue not implemented
lsi_scsi: error: ORDERED queue not implemented
lsi_scsi: error: ORDERED queue not implemented
lsi_scsi: error: ORDERED queue not implemented
lsi_scsi: error: ORDERED queue not implemented
lsi_scsi: error: ORDERED queue not implemented
lsi_scsi: error: ORDERED queue not implemented
sd 0:0:1:0: [sdb] ABORT operation started
sd 0:0:1:0: ABORT operation failed.
sd 0:0:1:0: [sdb] DEVICE RESET operation started
scsi target0:0:1: control msgout: c.
lsi_scsi: error: Unimplemented message 0x0c
scsi target0:0:1: has been reset
sd 0:0:1:0: DEVICE RESET operation complete.
sd 0:0:1:0: M_REJECT received (0:0).
lsi_scsi: error: ORDERED queue not implemented
lsi_scsi: error: ORDERED queue not implemented
2011.09.08 22:24:29 done.
possibly there is some kernel switch which could be used to disable
usage of "ORDERED queue"
everything seems to work, but possibly it can get still worse.
i guess it's better to disable it until qemu supports it...
> The messages come from qemu. Might want to poke their mailing list
> about it.
>
> Since it's going to stderr, you could try running qemu with 2>/dev/null
> (since everything written to the linux console goes to the emulator's
> stdout, and thus anything qemu writes to stderr can't have come from
> Linux. Even if Linux internally wrote it to stderr. :)
>
>> "QEMU emulator version 0.13.91, Copyright (c) 2003-2008 Fabrice Bellard"
> I note that 0.15.0 is out. Doesn't look like it fixes this bug, though.
i'm actually glad that aboriginal comes with the comfortable qemu start
environment,
so that i don't have to mess around with qemu myself... (yet another
tool to master)
> Rob
>
1318113790.0
More information about the Aboriginal
mailing list