[Wilfried.Weissmann@gmx.at: Bug#277534: hal: harddisk partition scan does not check harddisk size]

Kay Sievers kay.sievers at vrfy.org
Thu Oct 21 12:07:52 PDT 2004


On Thu, Oct 21, 2004 at 08:12:49PM +0200, Wilfried Weissmann wrote:
> Kay Sievers wrote:
> >
> >Hi Wilfried,
> >thanks for the report.  Is it possible to get a
> >  hald --daemon=no --verbose=yes
> 
> Hi,
> Output is attached...
> 
> BTW: The IDE error appear only with udev. When I use devfs no error occurs.

HAL is not expected to work with devfs.  So this may be the reason not
to get the error :)

> >
> >debug output? It would be nice to know, what exactly is going on here.

> 20:03:33.017 [I] linux/osspec.c:756: handling /sys/block/hdg/hdg3 block
> 20:03:33.019 [I] linux/block_class_device.c:592: volume.num_blocks = 578340
> 20:03:33.019 [I] linux/block_class_device.c:600: volume.block_size = 512
> 20:03:33.019 [I] linux/block_class_device.c:605: volume.size = 296110080
> 20:03:33.019 [I] linux/volume_id/volume_id.c:202: get buffer off 0x11a50000, len 0x800
> 20:03:33.020 [I] linux/volume_id/volume_id.c:237: read seekbuf off:0x11a50000 len:0x800
> 20:03:44.955 [I] linux/volume_id/volume_id.c:241: got 0xffffffff (-1) bytes

There seems something wrong. We get a volume size of 296110080 bytes
from the kernel, but if we seek to 296026112 we get an error.

What is the actual size of the volume?

Thanks,
Kay
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list