[debian-non-standard] Fwd: How I got my fsg-3 to work and some minor issues

marcel marcel-wpkg at dyskolus.com
Fri Mar 27 18:07:49 CET 2009


Hi,

A resend as the archives at wpkg.org didn't like the forwarded message 
and an update:
the eth1/NPE-C issue was fixed by loading ixp4xx_eth before ixp4xx_crypto.

Regards,

Marcel Ammerlaan

=== Original message ===

Hi,

I finally managed to get my fsg-3 running debian.. took some effort 
though which I would like to share to save frustration for others.
First of: the wpkg Wiki instructions work like a charm. Thanks a lot 
Thomasz!
I just an old 1Gb stick as a newer 16Gb stick gave issues (probably 
because it's a U3 compatible stick, where the U3 has been disabled. I 
get the impression that removing does still leave something behind that 
made the stick gave lots of write-errors on the fsg-3).

After I got it up and running I swapped out the Marvell card for an 
Atheros card (it's a Gigabyte card which can easily be sourced in NL).
This also means I had to create a new kernel. Compiling the kernel is 
fairly easy (I used 2.6.28.7 and 2.6.29; both work). And then i was 
kexec time
and here I had major issues: the hard-drive was not always detected. I 
investigated further and saw that on a normal boot (2.6.20 kernel), my 
USB stick became /dev/sda and my internal hardware was either not seen 
or became /dev/sdb. I swapped the drive with a different brand, but the 
problem is still there.
I tried to rescan the IDE bus when the drive was not found and indeed 
the drive was found after this.

I changed the initial ramdisk that came from wpkg to do a rescan and 
then mount /dev/sda2 as the root drive and do a switch_root to the new 
filesystem. As the USB re-scan is rather slow, this means that I always 
get my internal drive as /dev/sda!

btw. the magic rescan command is:
echo "- - -" >/sys/class/scsi_host/host2/scan

Maybe Thomasz can update the files on the wpkg site to include this in 
the default initramfs, as I saw others have issues with this as well.

Now I'm left with 2 other minor issues:
1) i2c-ixp4xx is not there anymore. I looked at the kernel sources and 
it seems that it was integrated into the arch-specific code and no 
seperate driver exists anymore. This means I cannot control the fan 
anymore (luckily I can do it from the 2.6.20 original kernel and do a 
kexec afterwards which keeps the old fan-speed). Does anybody know how 
to get the old i2c devices for pwm1 back?
2) eth1 gives problems: if I try to do a ifconfig eth1 up I get: 
"SIOCSIFFLAGS: Input/output error". Has anybody seen this before?

btw. hostapd works like a charm with the atheros card and a 2.6.29 
kernel. Now I just need a second antenna (and a 802.11n client) to get 
the speed increase from the wlan card.

Regards,

Marcel Ammerlaan.



More information about the debian-non-standard mailing list