Re: sg driver and Fedora Core 2

James Bottomley
2004-05-29T16:50:06Z

On Sat, 2004-05-29 at 11:29, Alan Cox wrote:
> On Sat, May 29, 2004 at 11:07:19AM -0500, James Bottomley wrote:
> > > insmod scsidriver
> > > open /dev/sg0 (a hard disk)
> > > insmod sd
> >
> > Refuse the insertion or do not attach, I suppose. It would be the app's
> > fault for not managing the interface correctly.
>
> So you stop users being able to hotplug controllers while doing firmware
> updates. Thats not good either

This question only arises if the fw update tools are using the old
interface ... I think an increasing level of pain on that front might
cause even closed source vendors to consider shifting to the new
interface using sd for the disc firmware update.

> > about to make any change like it at this point. But, if fedora can
> > demonstrate that it can be made to work sanely and easily, that would be
> > a very powerful argument for inclusion.
>
> Fedora bugzilla has demonstrated it *doesn't* work. There is a long list
> of broken third party apps such as drive firmware tools many of which will
> never include source code. The whole point of sg is arbitary management of
> devices. Its like /dev/mem and so forth, its power is in the fact it can
> always be used. This is why Linus vetoed the entire concept.

If there's enough evidence, open minds can be changed.

> Fedora hasn't solved the open /dev/sg , insmod case either.

I think it's too early to declare this experiment in Fedora a failure.
If the Fedora release people ultimately decide that the only way to sort
all the problems out is to back out the single attachment patch then
fine, we'll declare the experiment a failure and not consider anything
like it for mainline. However, while fedora is still trying to get
everything working with single attachment, I'm not going to prejudge.

James