Author Topic: MSI WIND PC, has anybody tried this yet??  (Read 28077 times)

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: MSI WIND PC, has anybody tried this yet??
« Reply #30 on: November 18, 2008, 10:05:00 am »
OK no idea what fixed it because I changed 3 things at once!

1) I noticed that the permissions on the r8168.ko file were -rwxrw-rw- instead of -rw-rw-rw ... very unlikely, but changed it anyway
2) Version 8.009 was the current one on the Realtek website but the instructions were for 8.008 so I found an older version, recompiled and used that
3) Not sure exactly how depmod works, but noticed that the instructions are for you to run it on the core, which isn't really relevant when the NIC is on the MD. But there is no equivalent step for the MD instructions. So I inserted a depmod after the chroot.

The PXE boot still takes 60 seconds to get an IP, when initially it was getting one instantly - seemed related to when I insert the 8168 module for the default initramfs but I can't see why that would effect it..

And whereas after getting the 8168 driver working initially, the boot sequence just indicates that the 8168 eth0 is up. On several tries since, and now that the full MD is working, the eth0 goes up/down/up about 5 or 6 times before finally settling on up. Each about 2-3 seconds apart and repeatable across reboots. Guess I have to live with these issues.

And yes, the Intel 945 chipset is still causing crashes with PSS so I had to disable that device.



Hmmm... well we dont see any problem on our ASUS Eee Box's. Can you describe what actually happens? Also what version of server-xorg-video-intel are you using?

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: MSI WIND PC, has anybody tried this yet??
« Reply #31 on: November 18, 2008, 08:59:59 pm »
Andrew

Several others have had this issue with the 945 in other machines, and so have I - in two different Dell laptops that also use the 945. All my experiences were the same. The MD boots and sometimes it goes for a short while, other times it crashes almost immediately that it comes up. When it does the screen saver freezes but so does everything else. So it wasn't me that made the pss connection it was a newbie in this thread http://forum.linuxmce.org/index.php?topic=5494.msg32863#msg32863

I disabled the pss device and now it seems fine. From niz's post it may only be in UI2/overlay. He also was looking for the new Intel driver but was having difficulty getting it compiled for 0710, but he obviously thought that was the issue. Dunno if he ever got it working... would love to know because without pss the screen gets to be a bit of a mess!

How do I determine which version server-xorg-video-intel I'm using? Is that the intel video driver mentioned in the xorg.conf? Would modinfo intel work?

Col.

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: MSI WIND PC, has anybody tried this yet??
« Reply #32 on: November 22, 2008, 10:17:19 am »
Andrew

Several others have had this issue with the 945 in other machines, and so have I - in two different Dell laptops that also use the 945. All my experiences were the same. The MD boots and sometimes it goes for a short while, other times it crashes almost immediately that it comes up. When it does the screen saver freezes but so does everything else. So it wasn't me that made the pss connection it was a newbie in this thread http://forum.linuxmce.org/index.php?topic=5494.msg32863#msg32863

I disabled the pss device and now it seems fine. From niz's post it may only be in UI2/overlay. He also was looking for the new Intel driver but was having difficulty getting it compiled for 0710, but he obviously thought that was the issue. Dunno if he ever got it working... would love to know because without pss the screen gets to be a bit of a mess!

How do I determine which version server-xorg-video-intel I'm using? Is that the intel video driver mentioned in the xorg.conf? Would modinfo intel work?

Col.

Colin,

Try this;

Code: [Select]
dpkg -l xserver-xorg-video-intel <return>


Some i945 based machines do seem to be less capable than others with respect to their GPU's and the same driver. Strange but true!

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: MSI WIND PC, has anybody tried this yet??
« Reply #33 on: November 22, 2008, 10:26:51 am »
I recently chatted to uplink and niz. Seems that the only way around it is a newer version of the xserver which requires a newer kernel. Uplink was aware of the issue and had tried to backport the newer driver that solves the problem, but came across the issue with the xserver and kernel version so I think he gave up. Guess I just wait for 0810...

BTW, the MD is now running nicely. The driver issue for the NIC was a pain, but finally resolved it, and without the screensaver the screen gets a bit messed up because there is no redraw, but other than that its a nice MD and cheap at around 80GBP all told (just a stick of ram)... plus shipping

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: MSI WIND PC, has anybody tried this yet??
« Reply #34 on: November 22, 2008, 06:25:55 pm »
I recently chatted to uplink and niz. Seems that the only way around it is a newer version of the xserver which requires a newer kernel. Uplink was aware of the issue and had tried to backport the newer driver that solves the problem, but came across the issue with the xserver and kernel version so I think he gave up. Guess I just wait for 0810...

BTW, the MD is now running nicely. The driver issue for the NIC was a pain, but finally resolved it, and without the screensaver the screen gets a bit messed up because there is no redraw, but other than that its a nice MD and cheap at around 80GBP all told (just a stick of ram)... plus shipping

Yep the problem as I said only affects some i945 machines (for example Eee Box works 100% fine... zero pss issues).

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 909
  • Living with LMCE
    • View Profile
Re: MSI WIND PC, has anybody tried this yet??
« Reply #35 on: November 22, 2008, 08:44:07 pm »
...
BTW, the MD is now running nicely. The driver issue for the NIC was a pain, but finally resolved it, and without the screensaver the screen gets a bit messed up because there is no redraw, but other than that its a nice MD and cheap at around 80GBP all told (just a stick of ram)... plus shipping

Can you please show us where you can get it for 80gbp ?

Thanks in advance,

regards,

Bulek.
Thanks in advance,

regards,

Bulek.

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: MSI WIND PC, has anybody tried this yet??
« Reply #36 on: November 22, 2008, 09:05:57 pm »
I didn't actually buy it in GBP, I just converted it roughly for Andrew's convenience.

I bought it on NewEgg here http://www.newegg.com/Product/Product.aspx?Item=N82E16856167032&Tpk=msi%20wind%20pc
For US$140 and purchased a 1GB stick of SO-DIMM RAM locally for about AU$15 so that works out roughly to GBP80

But note that NewEgg (as with most US online sites) does not ship "overseas". I got a friend in San Francisco to bring it to me when he came over (was small enough to fit in his backpack :) )

In reality it cost me a lot more than that, as it was DOA, and he had to take it back with him, shipped it back to NewEgg, who sent it back again saying they wouldn't accept it for RMA without its original box which we didn't have. Then I called MSI USA in CA and shouted at them a lot (the guy hadn't even heard of the Wind PC and thought I was talking about the Wind laptop!) until they agreed to RMA it directly. Shipped it to them, they shipped my friend back a new one, then he airmailed it back to me in Sydney. So shipping costs were substantially more than the unit itself ... about which you can imagine I was unimpressed! But the principle is there for others so i thought I should let you all know.

The unit is essentially silent, generates almost no heat, runs on tiny amounts of power (less than 40w and I believe that is including a HDD which I'm not using) and performs very well with the exception of the NIC and PSS issues. The power supply is an external adaptor the same as a laptop supply which you can just replace the mains cable piece with a local one for your local power plug standard - it accepts 110-240v 50/60Hz. I have no idea what other countries it is available in. Originally, I think only the US, but it has been out for about 4 months now, so it should be available in EU by now.

EDIT:

Actually just found some "used for eval" units here in Australia for around US$220 including 1GB and 160GB HDD. So if they are available here, now, then they will definitely be available in the EU.
« Last Edit: November 22, 2008, 09:16:32 pm by colinjones »

freymann

  • Douchebag
  • Guru
  • *
  • Posts: 380
    • View Profile
Re: MSI WIND PC, has anybody tried this yet??
« Reply #37 on: December 10, 2008, 07:37:30 pm »
I ordered one of these and it arrived today. Got 2GB of Ram at the same time... from newegg.ca.

I followed the instructions on this page:

http://wiki.linuxmce.org/index.php/R8168

The file I got today was "r8168-8.009.00.tar.bz2"

I couldn't get the patch to run without it complaining it couldn't figure out what file to edit, so I edited "drivers/net/r8169.c" manually and commented out the "{ PCI_DEVICE(PCI_VENDOR_ID_REALTEK,   0x8168), 0, 0, RTL_CFG_1 }," line.

and this page:

http://wiki.linuxmce.org/index.php/Unrecognized_NIC

I edited "/etc/initramfs-tools-interactor/modules" and added r8169 and saved.

And used this command "mkinitramfs -d /etc/initramfs-tools-interactor/ -o /tftpboot/default/initrd" to recreate the initial ramdisk.

and when I do a network boot, it stops at:

request_module: runaway loop modprobe binfmt-464c

I get five lines of that and then nothing.

I don't see any new directories under /usr/pluto/diskless/ nor did I see any errors while following the step by step instructions.

Any suggestions?

freymann

  • Douchebag
  • Guru
  • *
  • Posts: 380
    • View Profile
Re: MSI WIND PC, has anybody tried this yet??
« Reply #38 on: December 11, 2008, 05:29:07 am »
I did make some progress with my box tonight...

I think the "clue" was the post about confusing r8168 and r8169...

I can't remember everything I fiddled with either, but I did get it to announce itself to the router but on the reboot after all the diskless building it hangs.

I checked the Media Directors in the pluto-admin web... the architecture was AMD64, so I changed it to i386 and said rebuild image.

But I'm thinking... when I created the new r8168.ko module, that was done on the core, which is AMD64. Can I copy that over to the i386 diskless image for device 208? If not, can I just follow the same instructions while in a chroot environment?

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: MSI WIND PC, has anybody tried this yet??
« Reply #39 on: December 11, 2008, 07:45:57 pm »
I did make some progress with my box tonight...

I think the "clue" was the post about confusing r8168 and r8169...

I can't remember everything I fiddled with either, but I did get it to announce itself to the router but on the reboot after all the diskless building it hangs.

I checked the Media Directors in the pluto-admin web... the architecture was AMD64, so I changed it to i386 and said rebuild image.

But I'm thinking... when I created the new r8168.ko module, that was done on the core, which is AMD64. Can I copy that over to the i386 diskless image for device 208? If not, can I just follow the same instructions while in a chroot environment?
No you can definitely not use amd64 kernel modules with an i386 kernel.  Following the same instructions in a chroot might be worth a try though.

"Change is inevitable. Progress is optional."
-- Anonymous


freymann

  • Douchebag
  • Guru
  • *
  • Posts: 380
    • View Profile
Re: MSI WIND PC, has anybody tried this yet??
« Reply #40 on: December 11, 2008, 08:04:51 pm »
No you can definitely not use amd64 kernel modules with an i386 kernel.  Following the same instructions in a chroot might be worth a try though.

 Hi Zaerc. I did try to do that in a chroot environment, but it failed on the very first step of compiling the new driver!

 Starts off with:

Code: [Select]
root@dcerouter:~/r8168-8.008.00# make
make -C src/ clean
make[1]: Entering directory `/root/r8168-8.008.00/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers *.order
make[1]: Leaving directory `/root/r8168-8.008.00/src'
make -C src/ modules
make[1]: Entering directory `/root/r8168-8.008.00/src'
make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/root/r8168-8.008.00/src modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
  CC [M]  /root/r8168-8.008.00/src/r8168_n.o
In file included from include/linux/cpumask.h:84,
                 from include/asm/paravirt.h:18,
                 from include/asm/msr.h:78,
                 from include/asm/processor.h:17,
                 from include/asm/thread_info.h:16,
                 from include/linux/thread_info.h:21,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:49,
                 from include/linux/module.h:9,
                 from /root/r8168-8.008.00/src/r8168_n.c:30:
include/linux/kernel.h:126: warning: conflicting types for built-in function 'snprintf'
include/linux/kernel.h:128: warning: conflicting types for built-in function 'vsnprintf'

and eventually craps out with:

Code: [Select]
from /root/r8168-8.008.00/src/r8168_n.c:33:
include/asm/irq.h:15:25: error: irq_vectors.h: No such file or directory
In file included from include/asm/hardirq.h:5,
                 from include/linux/hardirq.h:7,
                 from include/linux/interrupt.h:11,
                 from include/linux/netdevice.h:576,
                 from /root/r8168-8.008.00/src/r8168_n.c:33:
include/linux/irq.h: At top level:
include/linux/irq.h:178: error: 'NR_IRQS' undeclared here (not in a function)
In file included from include/linux/interrupt.h:11,
                 from include/linux/netdevice.h:576,
                 from /root/r8168-8.008.00/src/r8168_n.c:33:
include/linux/hardirq.h:40:27: warning: "NR_IRQS" is not defined
/root/r8168-8.008.00/src/r8168_n.c: In function 'rtl8168_poll':
/root/r8168-8.008.00/src/r8168_n.c:4467: warning: cast from pointer to integer of different size
make[3]: *** [/root/r8168-8.008.00/src/r8168_n.o] Error 1
make[2]: *** [_module_/root/r8168-8.008.00/src] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/r8168-8.008.00/src'
make: *** [modules] Error 2

 I'm kinda lost with this one. I expect if I even managed to get it to boot my next problem would be the video drivers, and if that goes anything like this I dunno.

 I can boot XMBC off a USB stick (a current version) and it has no issues with the video or network card... so I guess if I can wait for the next release of LMCE things may 'just work'?



seth

  • Guru
  • ****
  • Posts: 485
  • A day w/o LinuxMCE is like a day w/o sunshine!
    • View Profile
Re: MSI WIND PC, has anybody tried this yet??
« Reply #41 on: December 11, 2008, 08:11:07 pm »
Hey freymann,

When you see the PXE client banner, when you first turn on the MD, before it fails to boot, what does it say the card is:

For example, mine says "Realtek 8111B/8111C"
And ends up using the r8168 module. I have this built for i386, for version 710. I would be glad to post the module for you to try to download, you would have to follow the steps I added to the wiki here:
http://wiki.linuxmce.org/index.php/Realtek_8168#Asus_M3A78-EM

You just let me know , and when I get home this evening, I can send you the file, or post a download link in this thread.

Regards,

Seth

".....Because Once you've LinuxMCE'd....."
System stats located at my user page:

http://wiki.linuxmce.org/index.php/User:Seth

freymann

  • Douchebag
  • Guru
  • *
  • Posts: 380
    • View Profile
Re: MSI WIND PC, has anybody tried this yet??
« Reply #42 on: December 11, 2008, 08:27:41 pm »
When you see the PXE client banner, when you first turn on the MD, before it fails to boot, what does it say the card is:
For example, mine says "Realtek 8111B/8111C"

 Yes, that looks familiar.

 I do get past the initial boot now, to the point where it announced itself to the core and the core went ahead and created the diskless directory. When I looked in pluto-admin it said it was a AMD64, so I changed it to i386 and rebuilt the MD image.

 Now when it boots, I get past the part where the screen font changes and it bombs at the eth0- part.

Quote
I have this built for i386, for version 710. I would be glad to post the module for you to try to download, you would have to follow the steps I added to the wiki here:
http://wiki.linuxmce.org/index.php/Realtek_8168#Asus_M3A78-EM
You just let me know , and when I get home this evening, I can send you the file, or post a download link in this thread.

 Well thanks Seth, yes that would be awesome! You can PM me for my email address or just post a link.

freymann

  • Douchebag
  • Guru
  • *
  • Posts: 380
    • View Profile
Re: MSI WIND PC, has anybody tried this yet??
« Reply #43 on: December 12, 2008, 02:35:44 am »
I would be glad to post the module for you to try to download, you would have to follow the steps I added to the wiki here:
http://wiki.linuxmce.org/index.php/Realtek_8168#Asus_M3A78-EM

Seth saved my day! With his copy of the driver and after following some of the instructions on the MD directory layout, my new machine is now sitting at UI1!

Next up!? Let's make full use of that video card, which I assume (cough) I have to follow the instructions here?

http://wiki.linuxmce.org/index.php/Display_Drivers

for Intel chips?

Again, thanks seth and the rest of you for documenting and talking about this neat machine!

jeangot

  • Guru
  • ****
  • Posts: 233
    • View Profile
Re: MSI WIND PC, has anybody tried this yet??
« Reply #44 on: January 02, 2009, 10:44:08 pm »
Hello Guys,

I just wanted to thank you Colin for your persistance in getting this to work. This is what finally convinced me to buy a Wind box. Thank you also Andrew for all your help.

I ran into exactly the same issue as you Colin in the end, and I can tell you that the solution was the depmod, since we are adding a new driver r8168 and the box will not use it unless a depmod has been issued to update the availabel modules I guess.
I took the liberty to update the wiki, although this command is only relevant in case we add a new driver (which does not happen for everyone, just for this particular box) but I thought it can't hurt. I would never have found this solution without your last post Colin.

Now off to enjoying 720p TV on my monitors throughout the house...

Jean

EDIT: I now see that this post is much longer than I initially thought. The problem I am referring to is the one with the network card.
« Last Edit: January 02, 2009, 11:03:58 pm by jeangot »