Bug#612128: [kfreebsd] grub-pc: fails to configure (camcontrol: cam_lookup_pass: CAMGETPASSTHRU ioctl failed)

Jonathan Nieder jrnieder at gmail.com
Sun Feb 6 07:12:00 UTC 2011


Package: grub-common
Version: 1.99~rc1-1+b3
Severity: grave
Justification: cannot configure grub-pc

Hi,

Typical mixed experimental/sid kfreebsd-amd64 system.  grub-pc from
sid is installed without trouble.  Trying to upgrade to experimental,
I get:

	Configuring grub-pc

	GRUB failed to install to the following devices:

	/dev/ad0

	Do you want to continue anyway?  If you do, your computer may
	not start up properly.

	Writing GRUB to boot device failed - continue?

	[<Yes>] [<No>]

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]
	/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/ad0s1.  Check your device.map.
	Auto-detection of a filesystem of /dev/ad0s1 failed.
	Please report this together with the output of "/usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v /boot/grub" to <bug-grub at gnu.org>
	Generating grub.cfg ...
	/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/ad0s1.  Check your device.map.
	dpkg: error processing grub-pc (--configure):
	 subprocess installed post-installation script returned error exit status 1

grub-pc 1.98+20100804-14 works okay, so there is nothing urgent about
this.

Ideas?
Jonathan

$ uname -a
GNU/kFreeBSD wooster 8.1-1-amd64 #0 Thu Jan  4 15:07:39 CET 2011 x86_64 amd64 QEMU Virtual CPU version 0.13.0 GNU/kFreeBSD
$ bash /usr/share/bug/grub-pc/script 3>bugscript-output.txt





More information about the Pkg-grub-devel mailing list