On 1/14/07, Brice Goglin <[EMAIL PROTECTED]> wrote:
Dmitry Semyonov wrote:
>> On 1/14/07, Brice Goglin <[EMAIL PROTECTED]> wrote:
>> > Brice Goglin wrote:
>> > >
>> > > Since you have the hardware to test, could add a printf where I set
>> > > page_size and where I use it, so that we know whether page_size is
>> > > initialized with the right value at the right time?
>> > >
>> > FYI, I built a package with such debug printf, it is available at
>> > http://loulous.org/tmp/eciadsl/
>
> Where was it supposed to print the info? I found no relevant messages
> either on console or in various system logs...

It is in the output of ./usr/sbin/eciadsl-firmware. It looks like it is
run by /lib/udev/eciadsl. Maybe you can modify this file and redirect
the output in /tmp/foo ?

eciadsl-firmware is normally called only once, (or may be at every boot?).
After that eciadsl-synch is the only utility which is used to restore
failed connection.

It looks to me that page_size is not initialized inside eciadsl-synch.
When I hard code
static unsigned long page_size = (1UL << 12);
the software starts working again. Obviously, we need to find better
place for initialising the variable via sysconf.

--
...Bye..Dmitry.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to