obarthelemy
Posts: 1407
Joined: Tue Aug 09, 2011 10:53 pm

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 3:06 pm

yes it should.

obarthelemy
Posts: 1407
Joined: Tue Aug 09, 2011 10:53 pm

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 3:27 pm

I really don't understand what's going on. The TAP inteface goes from disconnected to connected when I launch QEMU; the Debian installer is happy with the nework inteface and settings; there is network and disk activity while Debian is "checking the archive mirror" and 'downloading release files", and then at the end after 2-4 minutes I always get that same "bad archive mirror". I've tried 12+ archives all over the globe.

EDIT:
cat /etc/resolv.conf gives me the usual DNS servers.

User avatar
crundy
Posts: 310
Joined: Fri Aug 12, 2011 7:47 am

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 3:44 pm

Mine seems to be working now. Lesson here: Use M instead of G when creating your disk drive.

obarthelemy
Posts: 1407
Joined: Tue Aug 09, 2011 10:53 pm

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 3:55 pm

you got past the archives download ? I think the screen after that is were your select your usage to download bundles of packages ? (I never saw it ^^)

obarthelemy
Posts: 1407
Joined: Tue Aug 09, 2011 10:53 pm

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 4:04 pm

Oh, here's an error that we could work on:
Warning, mirror does not support the specified release (squeeze)
What can i do to fix that ?

I'm also seeing http://mirror.cc.columbia.edu/...../Release... in the log, those "//" don't look too good.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6124
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 4:15 pm

what tutorial and files are you using?

User avatar
crundy
Posts: 310
Joined: Fri Aug 12, 2011 7:47 am

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 4:31 pm

Me? This one:
http://cronicasredux.blogspot......el-on.html

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6124
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 4:45 pm

Ah ok, I guess both of you are using windows, so my method is useless.

obarthelemy
Posts: 1407
Joined: Tue Aug 09, 2011 10:53 pm

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 4:58 pm

more errors:
INFO mirror does not have any suitable simlinks
and still
Warning, mirror does not support the specified release (squeeze)

I went and entered the FTP info manually to get rid of the suspicious "//" in the FTP address; no change.

User avatar
emercer
Posts: 165
Joined: Sun Aug 07, 2011 1:54 am
Location: Sao Paulo, Brazil
Contact: Website

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 5:05 pm

Quote from obarthelemy on September 21, 2011, 12:26
Right now I'm having problems with the mirror. It doesn't seem to find my default mirror, and the cursor keys on my 2 keyboards don't seem to work, so I have no clue if it's a network access problem, or a mirror down, since I can't change mirrors.

Edit. Problem solved, learned 2 things:
- cursor keys don't work, but whenever there's a list, typing a letter cycles you through all items starting with that letter... except it doesn't really cycle: once you reach the last item, you need to type another letter, and then the letter you want agin to restart at the top.
- leave the "domain" field of the network config blank. It's NOT your workgroup ^^

Funny, my keyboard was reacting just fine... Maybe I didn't try the same language/layout pair as you (I only did Brazilian Portuguese and British English, both on my Brazilian ABNT2 KB.). Also, I kept the Domain field blank since I was doing the images for download, so I had to keep the configurations as generic as possible.

Thanks for the feedback, I'll add your corrections to the tutorial ;)

obarthelemy
Posts: 1407
Joined: Tue Aug 09, 2011 10:53 pm

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 5:07 pm

Well, my feedback may not be that good: I'm still not finding any valid mirrors, though I seem to connect to the Inthernet fine.

Crundy, were are you at ?

Does anyone have the FTP adress for a repo known to have the right version ?

User avatar
emercer
Posts: 165
Joined: Sun Aug 07, 2011 1:54 am
Location: Sao Paulo, Brazil
Contact: Website

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 5:11 pm

Quote from obarthelemy on September 21, 2011, 12:41
I'm stuck. "bad archive mirror" on the double-handfull of mirrors I've tried. It does sometimes spend a while at the checking phase though. Sometimes I get an immediate error, sometimes it seems to be doing something (progress bar going slowly up by 25% increments) for 1-2 mins, but then fails when reaching 100%.


Edit: I found the problem but not the solution: Windows keeps finding problems with my manual IP config and switching me back to DHCP. I've tried using the original NIC's IP or another one, using the original DNS servers or the gateway as in your screen shot... Nothing seems good enough for it.


This is the exact error I was getting while using DHCP... You're not getting thru to the internet, simple as that. The error messages aren't exactly helpful, I'm afraid. Do you need a proxy to access HTTP content? Another 'hack' I'd suggest is to enter some other DNS server other than your router. Try Google's at 8.8.8.8

Edit: okay, try this: remove the TAP adapter from the bridge, set it's IP config to something within your subnet's range, then re-add it to the bridge.

obarthelemy
Posts: 1407
Joined: Tue Aug 09, 2011 10:53 pm

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 5:36 pm

seems to be working (it's "retrieving" stuff), I did a whole lot of things: disabled ipv6, disable/reenable bridge, reboot, didn't let 7 autofix the network...
It was indeed the network connexion that wasn't working, even though the installer seemed happy. Well, I guess the LAN was working, just not the internet.

User avatar
emercer
Posts: 165
Joined: Sun Aug 07, 2011 1:54 am
Location: Sao Paulo, Brazil
Contact: Website

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 5:40 pm

If cars were like Microsoft Windows, the correct troubleshooting routine for a stalled engine would be to get out of the car, go around it kicking tires then get back inside and turn the key.

Dietmar
Posts: 361
Joined: Sun Sep 04, 2011 5:43 pm
Contact: Website

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 5:50 pm

Yepp, my second patch in Compiler for Qemu works,
now may be just few mins away from seeing XP desktop on an ARM machine :-),
nice to hear from you
Dietmar

obarthelemy
Posts: 1407
Joined: Tue Aug 09, 2011 10:53 pm

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 6:02 pm

Now that it's working (well, installing) can I complain that it's too slow ?

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6124
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 6:11 pm

Dietmar, I assure you that Windows XP in qemu on ARM will be WAY too slow to be usable.

User avatar
emercer
Posts: 165
Joined: Sun Aug 07, 2011 1:54 am
Location: Sao Paulo, Brazil
Contact: Website

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 6:17 pm

Quote from obarthelemy on September 21, 2011, 19:02
Now that it's working (well, installing) can I complain that it's too slow ?

It took me about 2 hours each (I did three full installs and had a truckload of duds) on my Athlon X2. Yeah, It takes forever.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6124
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 6:34 pm

Got sound working, yay.

On Windows, you'll need to use these http://www.cendio.com/pulseaudio/
Fairly easy to set up.

TODO:
Get Debian to use a higher resolution in X11 (right now it's not detecting them). If someone gets this working, please let me know how.

Dietmar
Posts: 361
Joined: Sun Sep 04, 2011 5:43 pm
Contact: Website

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 6:53 pm

Hm, installing of XP SP1 starts from CD,
but when comes to screen before where you hit F8,
cursor is freezing...
But it is not me to give up so quickly :-) :-)
Dietmar
PS: I think it is a problem of the drivers in Qemu on ARM to get access to the bootdrive,
that you had make with qemu-img create xp.img 2G
I have an full XP on CD, that starts 100% computers until now to desktop,
but here ARM says, can not access the CD as boot device???
XP installation CD starts, so it is a problem of the used filesystem.
And: Installation of XP is complete in RED :-), not nice blue-screens as before...

obarthelemy
Posts: 1407
Joined: Tue Aug 09, 2011 10:53 pm

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 7:02 pm

The cursor is not freezing, it's blinking... at 0.001 FPS ^^

Dietmar
Posts: 361
Joined: Sun Sep 04, 2011 5:43 pm
Contact: Website

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 7:17 pm

@obarthelem-y

"The cursor is not freezing, it's blinking... at 0.001 FPS ^^"

hihihihihih, you are right: On my normal computer, this cursor can be seen for about 2 seconds and it is not blinking, before installation continues...
yepp, but this brings me to the idea, that nearly all is working :-)!!!
I try the -nographic in qemu and it continues installing!!! (can be seen in working CD and harddisk LED's. So, the RED installationsscreen just means, something is wrong with Graphic output. During compilation of Qemu from Arm to i386 I also use the command
--enable-sdl
May be, some other graphic output works correct,
Problem is now for me only, that I see nothing^^...
Does anybody know, how it can be done, that you see ANY after the nographic command?
Nice to hear from you,
this is fun as much as possible
Dietmar

User avatar
emercer
Posts: 165
Joined: Sun Aug 07, 2011 1:54 am
Location: Sao Paulo, Brazil
Contact: Website

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 7:43 pm

Quote from Dietmar on September 21, 2011, 20:17
@obarthelem-y
Does anybody know, how it can be done, that you see ANY after the nographic command?


No can do, Dietmar. When in -nographic, the only output is thru the serial port. It works for Linux consoles, but Windows will want to output to a VGA screen.

obarthelemy
Posts: 1407
Joined: Tue Aug 09, 2011 10:53 pm

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 8:00 pm

@emercer: couple of glitches:
1- 7 ninja-renamed the final intird file when the download finished. Too many "." I guess.
2- lxde doesn't autolaunch, and neither startx nor lxde at the prompt work. Working on hat right now
3- good news ! cursor keys working now ^^

User avatar
emercer
Posts: 165
Joined: Sun Aug 07, 2011 1:54 am
Location: Sao Paulo, Brazil
Contact: Website

Re: Simulator/Emulator for Raspberry Pi?

Wed Sep 21, 2011 8:27 pm

Quote from obarthelemy on September 21, 2011, 21:00
@emercer: couple of glitches:
1- 7 ninja-renamed the final intird file when the download finished. Too many "." I guess.
2- lxde doesn't autolaunch, and neither startx nor lxde at the prompt work. Working on hat right now
3- good news ! cursor keys working now ^^


You did select the first packet, "Graphical desktop environment", during install, right? It does not auto-select, even if you add the boot-time parameter. One more observation I need to add to the tutorial, I guess.

Return to “Other projects”