Re: [Server-devel] Odd Libertas load error

2008-05-07 Thread Martin Langhoff
On Wed, May 7, 2008 at 3:38 PM, John Watlington <[EMAIL PROTECTED]> wrote:
>  I went into the xs/testing/updates/7/i386 repo, restored the 686 versions
> of the kernel, and did a createrepo

That's cheating ;-) I was actually wondering about the module build ;-)

>  I would suggest not using "forwarders only" unless necessary (the
>  VSAT case for this in Peru was static IP assignment.)   If the upstream DNS
>  goes down, the school server is perfectly capable of working down from the
> roots.

I did wonder about that. It really depends on the upstream connectivity.

>  Debian has the resolvconf package, which does this, or we can cook our own.

Ah, didn't know. Should get it going on FC7 ;-)

>  We also want to update the provided external address in the nameserver, and
>  provide the update to an upstream nameserver...

Hadn't thought of that. Good idea.


m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Odd Libertas load error

2008-05-06 Thread John Watlington

On May 6, 2008, at 4:12 PM, Martin Langhoff wrote:

> On Wed, May 7, 2008 at 1:38 AM, John Watlington <[EMAIL PROTECTED]>  
> wrote:
>>  Dennis correctly debugged the problem.   This is due to the
>>  attempt to produce a build for 586 machines, hoping to
>>  run on the VIA C3.
>
> that's great to hear - though I have to confess that I'd like to see
> the build process (and to be able to repro it). I had forgotten that
> 161 had a different kernel from 160 with the ViaC3 changes.

Build process for 162:

I went into the xs/testing/updates/7/i386 repo, restored the 686  
versions of the
kernel, and did a createrepo

I made the changes I wanted to xs-config, pushed them back onto git.l.o,
built the package on xs-dev, copied it into xs/testing/olpc/7/i386  
repo and did a createrepo.
http://dev.laptop.org/git?p=projects/xs-config;a=summary

On duplicator.l.o, I built the livecd.  I rebooted duplicator on  
noticing that /dev was munged,
then copied the ISO back onto xs-dev for distribution and burned it  
onto a USB key for local testing.

>>  I'm building 162 right now, which should fix this problem.
>>  I became aware of it last night.   I guess all the build 161
>>  installs I did were AP based...
>
> H. Perhaps at 1CC I was testing mainly with 160? I'm sure I got
> 161 working at some point, or perhaps I had 160 + new packages. In any
> case, I think I pushed out some xs-config changes.

Umm, yes.   git.l.o doesn't show any check-ins by you (and I pulled  
before starting
my changes).  I built release 2, copied it into the repo, not knowing  
that you had
already bumped up to release 3...   I'm rebuilding 163 w. release 4,  
and will rebuild
with release 5 when you merge and commit your changes...

I've installed and used build 161 on at least four servers (AMD and  
Intel), and they
all worked fine through various loopholes in the problems  
(domain_config worked
OK if the machine hadn't DHCP'ed, if using APs the libertas driver  
wasn't loaded, etc..)

QA !I already know to test on at least two wired network  
configurations, now we need
to start ensuring tests in both AP and mesh mode.

>>  (Already checked into xs-config 2.7.1r2)   I had a script which
>>  over-wrote /etc/resolv.conf after dhclient wrote it, but it was
>>  erroneously keeping some of the DNS servers.  Instead of
>>  fixing it, in build 161 I deleted it...
>
> I'll look into that one. Once dhclient writes its resolv.conf, we need
> to write a "forwarders { $dnsservers }; forwarders only; " config for
> BIND.

I would suggest not using "forwarders only" unless necessary (the
VSAT case for this in Peru was static IP assignment.)   If the  
upstream DNS
goes down, the school server is perfectly capable of working down  
from the roots.

Debian has the resolvconf package, which does this, or we can cook  
our own.
We also want to update the provided external address in the  
nameserver, and
provide the update to an upstream nameserver...

>>  I'll do some smoke testing of 162 this morning.
>
> Cool. I'm on IRC.
>
> cheers,
>
> m
> -- 
>  [EMAIL PROTECTED]
>  [EMAIL PROTECTED] -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Odd Libertas load error

2008-05-06 Thread Martin Langhoff
On Wed, May 7, 2008 at 1:38 AM, John Watlington <[EMAIL PROTECTED]> wrote:
>  Dennis correctly debugged the problem.   This is due to the
>  attempt to produce a build for 586 machines, hoping to
>  run on the VIA C3.

that's great to hear - though I have to confess that I'd like to see
the build process (and to be able to repro it). I had forgotten that
161 had a different kernel from 160 with the ViaC3 changes.

>  I'm building 162 right now, which should fix this problem.
>  I became aware of it last night.   I guess all the build 161
>  installs I did were AP based...

H. Perhaps at 1CC I was testing mainly with 160? I'm sure I got
161 working at some point, or perhaps I had 160 + new packages. In any
case, I think I pushed out some xs-config changes.

>  (Already checked into xs-config 2.7.1r2)   I had a script which
>  over-wrote /etc/resolv.conf after dhclient wrote it, but it was
>  erroneously keeping some of the DNS servers.  Instead of
>  fixing it, in build 161 I deleted it...

I'll look into that one. Once dhclient writes its resolv.conf, we need
to write a "forwarders { $dnsservers }; forwarders only; " config for
BIND.

>  I'll do some smoke testing of 162 this morning.

Cool. I'm on IRC.

cheers,



m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Odd Libertas load error

2008-05-06 Thread John Watlington

Dennis correctly debugged the problem.   This is due to the
attempt to produce a build for 586 machines, hoping to
run on the VIA C3.

I'm building 162 right now, which should fix this problem.
I became aware of it last night.   I guess all the build 161
installs I did were AP based...

I'm also taking the opportunity to fix another 161 "improvement"
which triggers problems with domain_config.
(Already checked into xs-config 2.7.1r2)   I had a script which
over-wrote /etc/resolv.conf after dhclient wrote it, but it was
erroneously keeping some of the DNS servers.  Instead of
fixing it, in build 161 I deleted it...

I'll do some smoke testing of 162 this morning.

wad


On May 5, 2008, at 11:28 PM, Dennis Gilmore wrote:

> On Thursday 01 May 2008, Martin Langhoff wrote:
>> Testing installation of a new build today with a hand-me-down Shuttle
>> machine I got a strange error from the Libertas driver.
>>
>> libertas: version magic '2.6.23.1-21.fc7 SMP mod_unload 686  
>> 4KSTACKS '
>> should be '2.6.23.1-21.fc7 SMP mod_unload 586 4KSTACKS '
>> usb8xxx: version magic '2.6.23.1-21.fc7 SMP mod_unload 686 4KSTACKS '
>> should be '2.6.23.1-21.fc7 SMP mod_unload 586 4KSTACKS '
>>
>> I repro'd this with 161, and (just in case) I tested downgrading the
>> firmware to the 160 version (usb8388-5.110.20.p49.bin). This is a P4
>> 1.80GHz, I wonder if we are compiling the libertas driver with 686
>> flags?
>>
>> cheers,
>>
>>
>>
>> m
>
> sounds like the i586 kernel is installed.   can you try
> rpm -q --queryformat "%{name}-%{version}-%{release}.%{arch}\n" kernel
> kernel-smp  and paste what you get
>
> Dennis
>
> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Odd Libertas load error

2008-05-05 Thread Dennis Gilmore
On Thursday 01 May 2008, Martin Langhoff wrote:
> Testing installation of a new build today with a hand-me-down Shuttle
> machine I got a strange error from the Libertas driver.
>
> libertas: version magic '2.6.23.1-21.fc7 SMP mod_unload 686 4KSTACKS '
> should be '2.6.23.1-21.fc7 SMP mod_unload 586 4KSTACKS '
> usb8xxx: version magic '2.6.23.1-21.fc7 SMP mod_unload 686 4KSTACKS '
> should be '2.6.23.1-21.fc7 SMP mod_unload 586 4KSTACKS '
>
> I repro'd this with 161, and (just in case) I tested downgrading the
> firmware to the 160 version (usb8388-5.110.20.p49.bin). This is a P4
> 1.80GHz, I wonder if we are compiling the libertas driver with 686
> flags?
>
> cheers,
>
>
>
> m

sounds like the i586 kernel is installed.   can you try 
rpm -q --queryformat "%{name}-%{version}-%{release}.%{arch}\n" kernel 
kernel-smp  and paste what you get 

Dennis



signature.asc
Description: This is a digitally signed message part.
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Odd Libertas load error

2008-05-05 Thread Martin Langhoff
On Fri, May 2, 2008 at 5:17 PM, John Watlington <[EMAIL PROTECTED]> wrote:
>  I'll get back to you on that.   This isn't the firmware, it is the
>  /lib/modules/`uname -r`/kernel/drivers/net/wireless/libertas/*.ko
>  modules, libertas and usb8xxx

Today I got a new piece of kit to test this - HP/Compaq dx2250, and I
got the same results (cpu is AMD Sempron 3400). So this is only
working on modern Intel CPUs AFAICS.

I'll have to take a look at this asap.

cheers,



m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Odd Libertas load error

2008-05-01 Thread John Watlington

On May 2, 2008, at 12:57 AM, Martin Langhoff wrote:

> Testing installation of a new build today with a hand-me-down Shuttle
> machine I got a strange error from the Libertas driver.
>
> libertas: version magic '2.6.23.1-21.fc7 SMP mod_unload 686 4KSTACKS '
> should be '2.6.23.1-21.fc7 SMP mod_unload 586 4KSTACKS '
> usb8xxx: version magic '2.6.23.1-21.fc7 SMP mod_unload 686 4KSTACKS '
> should be '2.6.23.1-21.fc7 SMP mod_unload 586 4KSTACKS '
>
> I repro'd this with 161, and (just in case) I tested downgrading the
> firmware to the 160 version (usb8388-5.110.20.p49.bin). This is a P4
> 1.80GHz, I wonder if we are compiling the libertas driver with 686
> flags?

I'll get back to you on that.   This isn't the firmware, it is the
/lib/modules/`uname -r`/kernel/drivers/net/wireless/libertas/*.ko
modules, libertas and usb8xxx
Right now the horrible inclusion path is manually pulling it from the
olpc-2.6/stable tree, patching it for the 2.6.23 kernel, and checking  
the
compiled modules into the xs-config git tree.   (Traditionally done on
schoolserver.laptop.org, not xs-dev.)   Breaking this out and automating
it is long overdue.

Cheers,
wad

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] Odd Libertas load error

2008-05-01 Thread Martin Langhoff
Testing installation of a new build today with a hand-me-down Shuttle
machine I got a strange error from the Libertas driver.

libertas: version magic '2.6.23.1-21.fc7 SMP mod_unload 686 4KSTACKS '
should be '2.6.23.1-21.fc7 SMP mod_unload 586 4KSTACKS '
usb8xxx: version magic '2.6.23.1-21.fc7 SMP mod_unload 686 4KSTACKS '
should be '2.6.23.1-21.fc7 SMP mod_unload 586 4KSTACKS '

I repro'd this with 161, and (just in case) I tested downgrading the
firmware to the 160 version (usb8388-5.110.20.p49.bin). This is a P4
1.80GHz, I wonder if we are compiling the libertas driver with 686
flags?

cheers,



m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


libertas_modprobe.log
Description: Binary data
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel