The time now is Sun 19 May 2013, 10:21
All times are UTC - 4 |
|
Page 14 of 30 [448 Posts] |
Goto page: Previous 1, 2, 3, ..., 12, 13, 14, 15, 16, ..., 28, 29, 30 Next |
| Author |
Message |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Thu 14 Jan 2010, 12:05 Post subject:
|
|
ok I tried like 30+ different combinations ,lol the closest I managed to get was that it loaded vmlinuz and then loaded ramdisk and I received a invalid Opcode. Really it was my last test that got me the furthest but probably shouldn't of worked that far.
it did say "Loading ramdisk from disk:\boot\vmlinuz"
which is good, still haven't seen 1 single puppy screen.
this is my olpc.fth, it was option 2, the usb which went the furthest, when I tried like 15 or so test on SD card, nothing really, other than loading vmlinuz.
| Code: | \ Menu bootscript for OLPC Place in /boot as olpc.fth
cr
." 1 to boot from SD" cr
." 2 to boot from USB" cr
." 3 to boot from internal NAND" cr
." 4 to boot alternate image from NAND" cr
cr
key case
[char] 1 of \ SD boot info
" ro root=mmcblk0p1 rootdelay=1 console=ttyS0,115200 console=tty0 fbcon=font:SUN12x22" to boot-file
" sd:\boot\vmlinuz" to boot-device
endof
[char] 2 of \ USB boot info
" ro root=sda1 rootdelay=1 console=ttyS0,115200 console=tty0 fbcon=font:SUN12x22" to boot-file
" disk:\boot\vmlinuz" to boot-device
" disk:\boot\vmlinuz" to ramdisk
endof
[char] 4 of \ Alternate boot image info
" ro root=mtd0 rootfstype=jffs2 console=ttyS0,115200 console=tty0 fbcon=font:SUN12x22" to boot-file
" nand:\boot-alt\vmlinuz" to boot-device
" nand:\boot-alt\initrd.gz" to ramdisk
endof
( default ) \ Default sugar boot image info
" ro root=mtd0 rootfstype=jffs2 console=ttyS0,115200 console=tty0 fbcon=font:SUN12x22" to boot-file
" nand:\boot\vmlinuz" to boot-device
" nand:\boot\initrd.gz" to ramdisk
endcase
unfreeze
boot |
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Thu 14 Jan 2010, 13:02 Post subject:
|
|
another notes the isolinux.cfg states,
append pmedia=cd
ummm what CD? shouldn't that be somethings else like, pmedia=usbflash
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
mavrothal

Joined: 24 Aug 2009 Posts: 1058
|
Posted: Thu 14 Jan 2010, 13:46 Post subject:
|
|
I tried some scripts my self (with Mitch Bradley's suggestions-thanks) | Code: | \ boot script
" ro root=/dev/sda1 rootfstype=fat console=tty0 fbcon=font:SUN12x22 video=fb:1200x900" to boot-file
" u:\vmlinuz pmedia=usbflash pdev=sda1" to boot file
setup-smbios
unfreeze
dcon-unfreeze
visible
boot |
This one with and without pdev=1 gets me to "Invalid Opcode" Imediatelly
Commenting out (\) the " ro ..." line and transferring the root= to the vmlinuz line just stays on a blank screen.
Based on my yesterday's recompiling experiment (with the wrong quirky iso) that involved only the 2MB vmlinuz and gave me the same Opcode, I would that is something in the kernel.
XO's kernel requirments are really strange (to the extend that will not boot a normal PC or any emulation/virtualization thus the qumu kernel versions...).
Thus yesterday's question comes back.
Barry, what are the quirky minimal, mandatory kernel options
With these an OLPC/quirky kernel could be build (assuming there is no conflict)
Of course there is always the init script with the patched olpc kernel, option... eowens2 any news/progress???
PS: I guess Opcode might be related to the Geode-spefic 3D-Now instructions. This is actually the complain you get when you try to boot OLPC kernels in other (virtual)machines. That "the processor does not support 3D-Now".
|
|
Back to top
|
|
 |
eowens2
Joined: 27 Aug 2008 Posts: 55
|
Posted: Thu 14 Jan 2010, 18:29 Post subject:
Modifying pup_412's initrd.gz init script |
|
Some of the more important changes I have made to Puppy 412's initrd.gz init include the following:
A limited set of modules (hardware, file systems, etc) that go with the newly compiled kernel of course have to be in init.
Line 52 - LAYERFS=unionfs (instead of = aufs; I never could get aufs to work)
Line 122 - this is the check status function, which would be evoked under certain error conditions, drop you to a shell, and report contents of some variables. I added a function,(modifying check status ())called dump (), which I could invoke by placing dump 0 at selected sites in init; at that point it would drop me to a shell and report pupmode, CREATEPUPXXXSFS, amount of free ram, .sfs file size, .sfs device location, .sfs device mount point as well as the last lines of /tmp/bootinit.log.
lines 211,212,215,216 commented because XO doesn't need modules for PCMCIA cards
line 266 commented out (modprobe nls_cp437) the module is unnecessary because XO kernel has this compiled into the body of the kernel
lines 921-25 commented out - this was a hack specifically for kernel 2.6.25.16 adding ssb modules
line 939 - adjusted [$RAMSIZE -gt 220000 -a "$PCOPY" = "yes"] downward a little, just to make sure I could get my bloated pup_412.sfs into RAM, then plan to clean up the mess later
line 991 - adjusted [ $RAMSIZE -gt 280000 ] downward - same reason as line 939
This init will proceed to a "dump 0" placed just before switch_root @ line 1350 ("exec switch_root /pup/new /sbin/init") without fatal error. The bootinit.log does list the problem "mount: mounting /dev/loop0 on /pup_ro2 failed, Invalid Argument" however.
When said "dump 0" is removed, we get the message "performing a switch root" and then kernel panic.
Is it crashing because it can't find the new OS on the (unmounted) /pup_ro2?
Anyone have any ideas?
Thanx.
P.S. I have been trying to look up some puppy source code and the site where I used to find them won't let me in. It now wants a user ID and password. Does anyone know where you get these?
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Thu 14 Jan 2010, 18:38 Post subject:
|
|
hi username and passwords are just to stop spam
username:puppy
password:linux
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
mavrothal

Joined: 24 Aug 2009 Posts: 1058
|
Posted: Thu 14 Jan 2010, 19:04 Post subject:
|
|
So, eowens2
you are using a patched 2.6.25-olpc kernel from os802 or a newer one?
Does your modified system runs fine in full install?
Can you zip and post your init? I need to do some debugging with my attempts with uPup .
I got an olpc.fth that appears to pass the arguments OK and the system looks like it boots (by the camera, mic, and stick light changes) but does not get me into console.
BTW the olpc.fth looks like this
======
\ boot script
" ro root=/dev/sda1 rootfstype=vfat console=tty0 fbcon=font:SUN12x22 video=fb:1200x900 pmedia=usbflash pdev1=sda1" to boot-file
" u:\vmlinuz" to boot-device
" u:\initrd.gz" to ramdisk
setup-smbios
unfreeze
dcon-unfreeze
visible
boot
=====
Which one are you using?
Sorry only questions and no answers.
|
|
Back to top
|
|
 |
davesurrey
Joined: 05 Aug 2008 Posts: 1201 Location: UK
|
Posted: Thu 14 Jan 2010, 19:33 Post subject:
|
|
mavrothal wrote about making a comment on Barry's blog:
| Quote: | How do you do that . It does not have any "register" or something in the site. Is it "cryptic"? or just an e-mail request?
|
If I remember correctly, if you click on "X Comments" or "No comments" at the bottom of a topic it should lead you to setting up a password and username.
There have been, and still may be, problems if you use a "bad" browser. I don't think IE works but not sure which do.
Vague I know but just trying to throw you a help line.
Dave
Last edited by davesurrey on Fri 15 Jan 2010, 08:04; edited 1 time in total
|
|
Back to top
|
|
 |
raffy
Joined: 25 May 2005 Posts: 4636 Location: Manila
|
Posted: Thu 14 Jan 2010, 19:41 Post subject:
opcode error |
|
I also got opcode error when booting Quirky004, but it finished booting.
ttuuxxx, "pmedia=usbflash" should be there to be sure.
As to Mavrothal's issues with Barry's blog, he used Safari browser, so now he knows that he has to use Firefox or Opera.
_________________ Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6855 Location: Perth, Western Australia
|
Posted: Thu 14 Jan 2010, 19:54 Post subject:
|
|
I suggested a super-simple olpc.fth:
http://bkhome.org/blog/?viewDetailed=01338
...from my brief reading, it seems that just a 2-line olpc.fth is enough.
Regarding invalid op-code, that sure is weird. The kernel is compiled for a i486. Well, I guess I can re-compile it with the instruction set dumbed-down even more.
_________________ http://bkhome.org/blog2/
|
|
Back to top
|
|
 |
eowens2
Joined: 27 Aug 2008 Posts: 55
|
Posted: Thu 14 Jan 2010, 20:24 Post subject:
|
|
Mavrothal,
I am using a patched 2.6.25.15 kernel from os 802.
I have not intentionally tried to boot a full HD install. I think I unintentionally did so before I got pup_412.sfs into /mnt/tmpfs in RAM.
A few times I got thru switch_root and knocked on the door of Xorg (never got a window, though). I wish I had better notes from those attempts!
I am using the vanilla multiboot from the OLPC forums, nothing special. I do not try to pass any parameters from boot to the kernel.
Tuuxxx, thanks for the UserID/password info.
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Thu 14 Jan 2010, 20:43 Post subject:
|
|
| BarryK wrote: | I suggested a super-simple olpc.fth:
http://bkhome.org/blog/?viewDetailed=01338
...from my brief reading, it seems that just a 2-line olpc.fth is enough.
Regarding invalid op-code, that sure is weird. The kernel is compiled for a i486. Well, I guess I can re-compile it with the instruction set dumbed-down even more. |
Hi Barry here is the official Olpc linux-2.6.25 kernel configs. It also has the .config <--hidden file
That should give you a better idea, well I hope it helps
ttuuxxx
| Description |
|

Download |
| Filename |
linux-2.6.25-olpc.tar.gz |
| Filesize |
204.31 KB |
| Downloaded |
145 Time(s) |
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6855 Location: Perth, Western Australia
|
Posted: Fri 15 Jan 2010, 00:00 Post subject:
|
|
ttuuxxx,
I haven't looked at any "official" olpc kernel .config file yet. The 2.6.30.5 kernel has a lot of olpc support built in, so that .config you posted is not entirely relevant, though the cpu architecture settings will be.
Anyway, I have already recompiled the kernel. Here is my latest one-file Quirky, with the kernel configured for a Geode GX1 CPU, which should fix the invalid-opcode problem...
http://bkhome.org/blog/?viewDetailed=01339
_________________ http://bkhome.org/blog2/
|
|
Back to top
|
|
 |
mavrothal

Joined: 24 Aug 2009 Posts: 1058
|
Posted: Fri 15 Jan 2010, 02:38 Post subject:
Barry's blog |
|
raffy, davesurrey, Thanks!
I can now post in Barry's blog using Opera.
(Firefox is a heavy "mission-critical" browser on my XO )
|
|
Back to top
|
|
 |
mavrothal

Joined: 24 Aug 2009 Posts: 1058
|
Posted: Fri 15 Jan 2010, 02:55 Post subject:
2.6.31.6 config |
|
Here is an 2.6.31 DOTconfig that has Aufs2, Squashfs and hfsplus ( ) activated as the only difference from the official OLPC 2.6.31 XO-1 kernel.
Used it to compile with OLPC sources from OLPC Git and the official Aufs2 standalone sources and patches from Aufs Git
Runs both Fedora 11 and uPup451 (full install) on the XO1 (with an OLPC initrd) fine.
| Description |
|

Download |
| Filename |
XOpupDOTconfig.gz |
| Filesize |
15.92 KB |
| Downloaded |
165 Time(s) |
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6855 Location: Perth, Western Australia
|
Posted: Fri 15 Jan 2010, 04:35 Post subject:
|
|
ttuuxxx and others,
After discussion on my blog:
http://bkhome.org/blog/?viewDetailed=01339
...only the XO-1 has a Geode CPU, the XO 1.5 has a Via C7-M CPU.
So as my most recent one-file Quirky is compiled specifically for a Geode GX1 CPU, it might not work on the XO 1.5. Heck, there might even be a problem with the XO-1 as it has a Geode LX CPU and I'm only assuming that it is backwards compatible with the GX1.
I think Raffy has an XO-1, so can try the latest Quirky.
Anyway, I'll take a look at what mavrothal has posted and do another build.
_________________ http://bkhome.org/blog2/
|
|
Back to top
|
|
 |
|
|
Page 14 of 30 [448 Posts] |
Goto page: Previous 1, 2, 3, ..., 12, 13, 14, 15, 16, ..., 28, 29, 30 Next |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|