Re: [squid-users] COSS trouble revisited ...

From: Thomas-Martin Seck <tmseck-lists@dont-contact.us>
Date: Sun, 5 Nov 2006 20:16:16 +0100

* Guido Serassio (guido.serassio@acmeconsulting.it):

> >[New LWP 100182]
> >(gdb) where
> >#0 0x48314997 in aio_read () from /lib/libc.so.6
> >#1 0x080ea8cd in a_file_read (q=0x832c04c, fd=8, buf=0x8934000,
> >req_len=1048576, offset=0,
> > callback=0x80e9c8c <storeDirCoss_ReadStripeComplete>,
> >data=0x8838110) at coss/async_io.c:98
>
> If I'm not wrong, this should be the first read from the stripe file,
> offset is 0.
> Looks like aio_read() doesn't work on your system.
>
> Looking to FreeBSD man pages:
>
> "To link into the kernel:
> options VFS_AIO"
>
> and
>
> "To load as a kernel loadable module:
> kldload aio"
>
> and
>
> "The aio facility provides system calls for asynchronous I/O. It is
> available both as a kernel option for static inclusion and as a dynamic
> kernel module."

Issuing 'kldload aio' before starting Squid should do the trick then. If
this is needed on FreeBSD, I'll add a note to the documentation.

> You can also try building Squid without the --enable-coss-aio-ops
> configure option.

Last I checked, this would cause the build to fail on FreeBSD. Thus
it's unconditionally added in the FreeBSD port when COSS support is
requested.
Received on Sun Nov 05 2006 - 12:16:28 MST

This archive was generated by hypermail pre-2.1.9 : Fri Dec 01 2006 - 12:00:02 MST