Re: SuSE hwinfo/yast2 still confusing SYM53C8XX, killing tape backups (was: [BK PATCH] SCSI -rc1 fixes)

Jens Axboe
2004-11-22T11:38:11Z

On Mon, Nov 22 2004, Steffen Winterfeldt wrote:
> On Mon, 22 Nov 2004, Jens Axboe wrote:
> > On Mon, Nov 22 2004, Steffen Winterfeldt wrote:
> > > On Mon, 22 Nov 2004, Jens Axboe wrote:
> > > > On Mon, Nov 22 2004, Steffen Winterfeldt wrote:
>
> > > > > If running just hwinfo breaks things for you, you might try running it
> > > > > through strace and look at the files it accesses. Maybe that gives some hint
> > > > > to narrow things down.
> > > >
> > > > hwinfo needs to be updated to use SG_IO, there are too many things that
> > > > can go wrong with SCSI_IOCTL_SEND_COMMAND (it's far too easy to confuse
> > > > the device or adapter).
> > >
> > > Well, it already has. But I don't think this is the problem here.
> >
> > It has? Great! It could have been the problem if the data phases are
> > interpreted incorrectly.
>
> You got me wrong. It has in SL 9.2 but this is about SL 9.1, if I understand
> correctly.
>
> Anyway, to see whether this really matters, run
>
> hwprobe=+scsi.noserial hwinfo
>
> and see if it makes a difference. Or try hwinfo from SL 9.2.

I'd rather see the latter. Can you post a link where it can be reached
publically?

--
Jens Axboe