Re: Someone ( bsg merge ? ) broke {sd,hd}parm on current git

From: FUJITA Tomonori
Date: Mon Jul 16 2007 - 21:10:08 EST


From: Gabriel C <nix.or.die@xxxxxxxxxxxxxx>
Subject: Re: Someone ( bsg merge ? ) broke {sd,hd}parm on current git
Date: Tue, 17 Jul 2007 02:44:38 +0200

> Gabriel C wrote:
> > Hello,
> >
> > sdparm and hdparm are broken for me on git (
> > abce891a10559343d8ac9f79b46d78afdba63a40 )
> >
> >
> > ~$ sudo hdparm /dev/sdc
> >
> > /dev/sdc:
> > BLKROGET failed: Inappropriate ioctl for device
> > BLKRAGET failed: Inappropriate ioctl for device
> > BLKGETSIZE failed: Inappropriate ioctl for device
> >
> >
> > ~$ sudo sdparm --all /dev/sdc
> > unable to access /dev/sdc, ATA disk?
> >
> >
>
> Well it is bsg , setting BLK_DEV_BSG=n fixed all this errors.

Can you check the major number of your /dev/sdc? I've seen that
/dev/sd* is linked to bsg devices somehow.


> Maybe a bit off topic but it depends on EXPERIMENTAL so why the the menu
> is not telling this ? and why the default is 'y' for it ?
>
> IMO everything depends on EXPERIMENTAL should
>
> 1) Tell it is EXPERIMENTAL ( visible to the user in menu ) " Foo New
> stuff ( EXPERIMENTAL ) "
> 2) Should not default to 'y' , is up to the users/admins to set
> EXPERIMENTAL things to Y/M , isn't it ?
>
>
> ( PS: there are even defconfigs with EXPERIMENTAL things set to y but
> this is really off topic )

I'll fix it, thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/