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

From: Gabriel C
Date: Mon Jul 16 2007 - 20:45:36 EST


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.

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 )


Regards,

Gabriel C



-
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/