configure does not find BLKGETSIZE64 + HD partitions not found
Kay Sievers
kay.sievers at vrfy.org
Sun Jan 23 19:19:35 PST 2005
On Sun, 2005-01-23 at 18:30 +0100, Frederik Himpe wrote:
> On Sun, 23 Jan 2005 00:42:47 +0100, Kay Sievers wrote:
>
> > On Sat, 2005-01-22 at 18:14 +0100, Frederik Himpe wrote:
> >> On Sat, 22 Jan 2005 14:47:35 +0100, Kay Sievers wrote:
> >>
> >> > On Sat, 2005-01-22 at 14:17 +0100, Frederik Himpe wrote:
> >> >> When I run the configure script of hal 0.4.6, I get this error:
> >> >>
> >> >> checking for BLKGETSIZE64... no
> >> >> configure: error: BLKGETSIZE64 is not defined
>
> > Looks good so far. What does:
> > [kay at pim udev.kay]$ find /usr/include/ -name "*.h" -print |xargs grep BLKGETSIZE64
> > /usr/include/linux/fs.h:#define BLKGETSIZE64 _IOR(0x12,114,size_t)
> > /usr/include/sys/mount.h:#define BLKGETSIZE64 _IOR(0x12,114,size_t) /* return device size. */
>
> > print on your box?
>
> $ find /usr/include/ -name "*.h" -print |xargs grep BLKGETSIZE64
> /usr/include/sys/mount.h:#define BLKGETSIZE64 _IOR(0x12,114,size_t) /* return device size. */
> /usr/include/linux/fs.h:#define BLKGETSIZE64 _IOR(0x12,114,size_t) /* return device size in bytes (u64 *arg) */
Hmm, no idea. What does:
gcc -o blkgetsize blkgetsize.c
with the attached test program print?
> >> >> With hal 0.4.5, I also have the problem that my hard disk partitions are
> >> >> not found. Also, all information for the hard drives (such as vendor and
> >> >> model) is defined as "Unknown". I think this is related to the kernel I'm
> >> >> running, as IIRC this was working with 2.6.8 Mandrakelinux compiled
> >> >> kernel. I've put the output of lshal on
> >> >> http://users.telenet.be/fhimpe/hal/lshal.txt
> >> >> and verbose output of hald on
> >> >> http://users.telenet.be/fhimpe/hal/hal-verbose.txt
>
> > What does:
> > ls -l /sys/block/hda/*
>
> $ ls -l /sys/block/hda/*
> -r--r--r-- 1 root root 4096 jan 23 18:18 /sys/block/hda/dev
> lrwxrwxrwx 1 root root 0 jan 23 18:18 /sys/block/hda/device -> ../../devices/pci0000:00/0000:00:10.0/ide0/0.0/
> -r--r--r-- 1 root root 4096 jan 23 18:18 /sys/block/hda/range
> -r--r--r-- 1 root root 4096 jan 23 18:18 /sys/block/hda/removable
> -r--r--r-- 1 root root 4096 jan 23 18:18 /sys/block/hda/size
> -r--r--r-- 1 root root 4096 jan 23 18:18 /sys/block/hda/stat
What version of udev you are using:
udevinfo -V
Please locate the udevdb directory specified in /etc/udev/udev.conf.
Usually:
udev_db="/dev/.udevdb"
and remove the directory or any file with a similar name completely.
After that, run:
/sbin/udevstart
How does /dev/.udevdb look like after that?
Kay
-------------- next part --------------
A non-text attachment was scrubbed...
Name: blkgetsize.c
Type: text/x-csrc
Size: 192 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20050124/4cbb6831/blkgetsize.c
-------------- next part --------------
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list