Bug#612128: [kfreebsd] grub-pc: fails to configure (camcontrol: cam_lookup_pass: CAMGETPASSTHRU ioctl failed)
Guillem Jover
guillem at debian.org
Sat Feb 12 07:30:28 UTC 2011
Hi!
On Wed, 2011-02-09 at 13:40:09 +0000, Colin Watson wrote:
> On Sun, Feb 06, 2011 at 01:12:00AM -0600, Jonathan Nieder wrote:
> > Following the conditioned response, I say "yes". That reveals the
> > console, which says:
> >
> > Setting up grub-pc (1.99~rc1-1+b3) ...
> > camcontrol: cam_lookup_pass: CAMGETPASSTHRU ioctl failed
> > cam_lookup_pass: No such file or directory
> > cam_lookup_pass: either the pass driver isn't in your kernel
> > cam_lookup_pass: or ad0 doesn't exist
> > [same 4 lines repeated]
> > expr: non-integer argument
> > [same 4 lines repeated 3 times]
> > expr: non-integer argument
> > [same 4 lines repeated]
>
> I'll ignore camcontrol errors a little more explicitly to reduce some of
> the errors, but I would appreciate a FreeBSD expert telling me how to
> get the capacity of IDE devices. I don't think that's the core of this
> bug though.
For ATA discs one can use: “atacontrol cap ad0”. To know if a device
will be available through either of the tools, it should appear on the
output of “camcontrol devlist” or “atacontrol list”. And this is not
the problem, ISTR this has appeared for some time now, grub-probe
failing is.
thanks,
guillem
More information about the Pkg-grub-devel
mailing list