Author Topic: Poodle Kernel 2.6 Preview  (Read 29817 times)

fooman

  • Newbie
  • *
  • Posts: 49
    • View Profile
Poodle Kernel 2.6 Preview
« Reply #30 on: July 24, 2006, 04:56:20 pm »
By the way, does the current poodle 2.6.17 kernel have the cache errata fix enabled or disabled?  I get about 400 BogoMIPS but I can't tell what the actual CPU speed is running at.  Would it be possible to test a "fast" kernel if the cache errata fix is currently enabled and the CPU is slowed down?

Thanks.

Quote
Quote
Okay, I have that stuff working now.
Had to build my own kernel out of OE (and flash it since the modules where compiled with gcc-4.1.1 and your kernel is built with gcc-3.4) and it works now.
So far so good.

I take it you've built the kernel from .dev? Th correct branch for OZ is .oz354x

Quote
Don't want to give my new 2.6 kernel away
I'm just building some apps for testing them.
Strangly mounting nfs-drives does not work (protocol unsupported) although I have the nfs-module loaded.

NFS shares mount fine. Please retry with a kernel from the .oz354x branch.

Quote
Is anyone interested in my reports?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136253\"][{POST_SNAPBACK}][/a][/div]

Of course, that's what this thread is there for  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136277\"][{POST_SNAPBACK}][/a][/div]
SL-C3000 running Cacko 1.23 Beta 1 with Tetsu's special Kernel v18b
Swapped out 4 GB Microdrive for 4 GB CF card
1 GB SanDisk Ultra II SD card with ext2 filesystem
128 MB swapfile on SD card
Ambicom 802.11b WiFi CF card
TRENDnet 10 Mbps Ethernet CF card

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Poodle Kernel 2.6 Preview
« Reply #31 on: July 24, 2006, 05:00:20 pm »
Quote
By the way, does the current poodle 2.6.17 kernel have the cache errata fix enabled or disabled?  I get about 400 BogoMIPS but I can't tell what the actual CPU speed is running at.  Would it be possible to test a "fast" kernel if the cache errata fix is currently enabled and the CPU is slowed down?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136285\"][{POST_SNAPBACK}][/a][/div]

kernel 2.6 handles that on-the-fly, no need for two kernels.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Poodle Kernel 2.6 Preview
« Reply #32 on: July 26, 2006, 08:24:37 am »
A new image is online,

happy flashing  
Webmaster of hentges.net & Embedded Linux Developer.

fooman

  • Newbie
  • *
  • Posts: 49
    • View Profile
Poodle Kernel 2.6 Preview
« Reply #33 on: July 26, 2006, 09:30:03 am »
Do you know if it's possible to disable the cache errata fix in the 2.6 kernel even if I have a PXA250?  I'm assuming that the kernel automatically enables it if it autodetects the PXA250 but I'd like to disable it and see if it causes any instability.

Quote
Quote
By the way, does the current poodle 2.6.17 kernel have the cache errata fix enabled or disabled?  I get about 400 BogoMIPS but I can't tell what the actual CPU speed is running at.  Would it be possible to test a "fast" kernel if the cache errata fix is currently enabled and the CPU is slowed down?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136285\"][{POST_SNAPBACK}][/a][/div]

kernel 2.6 handles that on-the-fly, no need for two kernels.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136286\"][{POST_SNAPBACK}][/a][/div]
SL-C3000 running Cacko 1.23 Beta 1 with Tetsu's special Kernel v18b
Swapped out 4 GB Microdrive for 4 GB CF card
1 GB SanDisk Ultra II SD card with ext2 filesystem
128 MB swapfile on SD card
Ambicom 802.11b WiFi CF card
TRENDnet 10 Mbps Ethernet CF card

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Poodle Kernel 2.6 Preview
« Reply #34 on: July 26, 2006, 09:53:19 am »
Quote
Do you know if it's possible to disable the cache errata fix in the 2.6 kernel even if I have a PXA250?  I'm assuming that the kernel automatically enables it if it autodetects the PXA250 but I'd like to disable it and see if it causes any instability.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136469\"][{POST_SNAPBACK}][/a][/div]

Yes, it will cause instability and data-corruption, that's why the check is there. Note that 2.6 handles it more intelligently (==faster) than 2.4, so there's no gain in disabling the check. Unless you like data corruption, of course.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

fooman

  • Newbie
  • *
  • Posts: 49
    • View Profile
Poodle Kernel 2.6 Preview
« Reply #35 on: July 26, 2006, 10:22:10 am »
Hi,

Can I ask a quick newbie question about the difference between the files in the ext2/ and tarballs/ directories?  I've read through all of the altboot docs but I just want to make sure.

I think you use a file from the tarballs directory to install the rootfs either on to the SD card directly or on to a loop image on the SD card.  If you install on to a loop image then you need to create the image and specify the size (which is fixed).  Then you can use altboot to boot from the loop image.

I'm not so clear about the rootfs.ext2 files - I believe they are precreated loop images that you can use altboot to boot from.  I'm assuming that these images are also fixed in size?  What's the main purpose of using such an image, because it seems like you can boot from it but you can't install any new applications on it due to the fixed size.

Does this seem right?  Altboot seems like a great idea and I like the idea of a bootable filesystem on an SD card so I can switch back and forth between GPE and Opie.

Thanks for all of your work on this!

Quote
A new image is online,

happy flashing 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136462\"][{POST_SNAPBACK}][/a][/div]
SL-C3000 running Cacko 1.23 Beta 1 with Tetsu's special Kernel v18b
Swapped out 4 GB Microdrive for 4 GB CF card
1 GB SanDisk Ultra II SD card with ext2 filesystem
128 MB swapfile on SD card
Ambicom 802.11b WiFi CF card
TRENDnet 10 Mbps Ethernet CF card

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Poodle Kernel 2.6 Preview
« Reply #36 on: July 26, 2006, 10:39:44 am »
Quote
Hi,

Can I ask a quick newbie question about the difference between the files in the ext2/ and tarballs/ directories?  I've read through all of the altboot docs but I just want to make sure.

I think you use a file from the tarballs directory to install the rootfs either on to the SD card directly or on to a loop image on the SD card.  If you install on to a loop image then you need to create the image and specify the size (which is fixed).  Then you can use altboot to boot from the loop image.

Correct, the tar.gz installer of altboot creates the loop-image for you however.

Quote
I'm not so clear about the rootfs.ext2 files - I believe they are precreated loop images that you can use altboot to boot from.

Correct.

Quote
I'm assuming that these images are also fixed in size?  What's the main purpose of using such an image, because it seems like you can boot from it but you can't install any new applications on it due to the fixed size.

The size is fixed yeah, but that doesn't mean there is no free space in /  
The ext2 files are ~100Mb in size which leaves you _a_lot_ of free room to play with

Quote
Does this seem right?  Altboot seems like a great idea and I like the idea of a bootable filesystem on an SD card so I can switch back and forth between GPE and Opie.

Thanks for all of your work on this!

Quote
A new image is online,

happy flashing 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136462\"][{POST_SNAPBACK}][/a][/div]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136478\"][{POST_SNAPBACK}][/a][/div]
Webmaster of hentges.net & Embedded Linux Developer.

fooman

  • Newbie
  • *
  • Posts: 49
    • View Profile
Poodle Kernel 2.6 Preview
« Reply #37 on: July 26, 2006, 10:48:29 pm »
Cool.  I'd like to share my experiences with the brand new poodle 2.6 kernel.  I installed the new Hentges bootstrap ROM and then the GPE and Opie Hentges premade ext2 rootfs files on an SD card in the /boot-images directory.  The SD card is formatted as FAT.

As soon as the poodle booted up, it showed that it was loading some kernel modules.  It complained about a few, saying that they already existed.  I can get the exact list if you would like.  Then it made a strange sound, almost like a telephone ring, and then static immediately after that.

I went into altboot and specified that I wanted to boot off of the GPE rootfs bin file.  The static sound stopped as soon as altboot started.  Altboot then started booting up with the GPE rootfs file but then it got to the point where it says "Waiting for /dev to be populated" and then hung indefinitely.  I probably waited about 5-10 minutes and nothing happened.

Then I did a hard reset and tried to boot off of the Opie rootfs bin file.  I got the same result.

Does it make a difference if the rootfs files are located on a FAT-formatted SD card?  I tried formatting the SD card as ext2 a while back but gave up because fsck gave too many errors on bootup.  Do you know if OZ supports the concept of nested ext2 loopfiles, where I could create a big loopfile and then put smaller ones inside of it?  I might try this next.

Quote
Quote
Hi,

Can I ask a quick newbie question about the difference between the files in the ext2/ and tarballs/ directories?  I've read through all of the altboot docs but I just want to make sure.

I think you use a file from the tarballs directory to install the rootfs either on to the SD card directly or on to a loop image on the SD card.  If you install on to a loop image then you need to create the image and specify the size (which is fixed).  Then you can use altboot to boot from the loop image.

Correct, the tar.gz installer of altboot creates the loop-image for you however.

Quote
I'm not so clear about the rootfs.ext2 files - I believe they are precreated loop images that you can use altboot to boot from.

Correct.

Quote
I'm assuming that these images are also fixed in size?  What's the main purpose of using such an image, because it seems like you can boot from it but you can't install any new applications on it due to the fixed size.

The size is fixed yeah, but that doesn't mean there is no free space in /  
The ext2 files are ~100Mb in size which leaves you _a_lot_ of free room to play with

Quote
Does this seem right?  Altboot seems like a great idea and I like the idea of a bootable filesystem on an SD card so I can switch back and forth between GPE and Opie.

Thanks for all of your work on this!

Quote
A new image is online,

happy flashing 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136462\"][{POST_SNAPBACK}][/a][/div]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136478\"][{POST_SNAPBACK}][/a][/div]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136482\"][{POST_SNAPBACK}][/a][/div]
SL-C3000 running Cacko 1.23 Beta 1 with Tetsu's special Kernel v18b
Swapped out 4 GB Microdrive for 4 GB CF card
1 GB SanDisk Ultra II SD card with ext2 filesystem
128 MB swapfile on SD card
Ambicom 802.11b WiFi CF card
TRENDnet 10 Mbps Ethernet CF card

hvontres

  • Full Member
  • ***
  • Posts: 118
    • View Profile
    • http://
Poodle Kernel 2.6 Preview
« Reply #38 on: July 27, 2006, 11:48:53 am »
Quote
Cool.  I'd like to share my experiences with the brand new poodle 2.6 kernel.  I installed the new Hentges bootstrap ROM and then the GPE and Opie Hentges premade ext2 rootfs files on an SD card in the /boot-images directory.  The SD card is formatted as FAT.

As soon as the poodle booted up, it showed that it was loading some kernel modules.  It complained about a few, saying that they already existed.  I can get the exact list if you would like.  Then it made a strange sound, almost like a telephone ring, and then static immediately after that.

I went into altboot and specified that I wanted to boot off of the GPE rootfs bin file.  The static sound stopped as soon as altboot started.  Altboot then started booting up with the GPE rootfs file but then it got to the point where it says "Waiting for /dev to be populated" and then hung indefinitely.  I probably waited about 5-10 minutes and nothing happened.

Then I did a hard reset and tried to boot off of the Opie rootfs bin file.  I got the same result.

Does it make a difference if the rootfs files are located on a FAT-formatted SD card?  I tried formatting the SD card as ext2 a while back but gave up because fsck gave too many errors on bootup.  Do you know if OZ supports the concept of nested ext2 loopfiles, where I could create a big loopfile and then put smaller ones inside of it?  I might try this next.

I had similar problems with my 1 gig SD card (Kingston Elite pro) formated as ext2.. I have not had a chance to try my old 256 MB Kingston card that I used to use. I was able to split my 1GB card into 4 partitions and altboot from a real rootfs.

Hope this helps,
[span style=\'font-size:10pt;line-height:100%\']Henry von Tresckow[/span]
--------------------------------------
SL-5600, OZ 3.5.4.2 (Hentges), Kernel 2.6.17 :)
1gb Kingston SD (ext2), 5Gb Seagate ST1 (3.03 Fw, fat32)
256 MB Kingston SD (ext2),256MB Viking CF,32MB CF (vfat),
homebuilt GPS unit (Based on RFMD RF 8000)

Jinidog

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.st-legacy.de.vu
Poodle Kernel 2.6 Preview
« Reply #39 on: July 27, 2006, 01:40:51 pm »
Is it possible to overclock the poodle with the 2.6 kernel?
(is it possible at all?)

fooman

  • Newbie
  • *
  • Posts: 49
    • View Profile
Poodle Kernel 2.6 Preview
« Reply #40 on: July 28, 2006, 12:36:44 am »
Hmmm.  So you were able to split your 1 GB card into 4 ext2 partitions and haven't experienced any problems?  I may have to consider this if I run into a dead end.

My current approach is to format the SD card as FAT and create a 980 MB loop ext2 filesystem.  I then put the rootfs filesystems in here.  So it's a loop filesystem within a loop filesystem.

The problem is, altboot doesn't like this.  It doesn't know how to mount the SD card to /mnt/sd and then do a mount -o loop /mnt/sd/filesys /media/card, and then boot off of the GPE rootfs image that it finds in /media/card/boot-images.

Any suggestions in how to hack altboot.func to do this?  I was thinking about hardcoding the "mount -o loop" somewhere but there must be a more elegant way to autodetect the nested loop filesystems.

Quote
Quote
Cool.  I'd like to share my experiences with the brand new poodle 2.6 kernel.  I installed the new Hentges bootstrap ROM and then the GPE and Opie Hentges premade ext2 rootfs files on an SD card in the /boot-images directory.  The SD card is formatted as FAT.

As soon as the poodle booted up, it showed that it was loading some kernel modules.  It complained about a few, saying that they already existed.  I can get the exact list if you would like.  Then it made a strange sound, almost like a telephone ring, and then static immediately after that.

I went into altboot and specified that I wanted to boot off of the GPE rootfs bin file.  The static sound stopped as soon as altboot started.  Altboot then started booting up with the GPE rootfs file but then it got to the point where it says "Waiting for /dev to be populated" and then hung indefinitely.  I probably waited about 5-10 minutes and nothing happened.

Then I did a hard reset and tried to boot off of the Opie rootfs bin file.  I got the same result.

Does it make a difference if the rootfs files are located on a FAT-formatted SD card?  I tried formatting the SD card as ext2 a while back but gave up because fsck gave too many errors on bootup.  Do you know if OZ supports the concept of nested ext2 loopfiles, where I could create a big loopfile and then put smaller ones inside of it?  I might try this next.

I had similar problems with my 1 gig SD card (Kingston Elite pro) formated as ext2.. I have not had a chance to try my old 256 MB Kingston card that I used to use. I was able to split my 1GB card into 4 partitions and altboot from a real rootfs.

Hope this helps,
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136617\"][{POST_SNAPBACK}][/a][/div]
SL-C3000 running Cacko 1.23 Beta 1 with Tetsu's special Kernel v18b
Swapped out 4 GB Microdrive for 4 GB CF card
1 GB SanDisk Ultra II SD card with ext2 filesystem
128 MB swapfile on SD card
Ambicom 802.11b WiFi CF card
TRENDnet 10 Mbps Ethernet CF card

simbaB

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • http://www.oakcourt.dyndns.org/~andrew/
Poodle Kernel 2.6 Preview
« Reply #41 on: July 29, 2006, 01:34:54 pm »
I'm having trouble using ipkg. It works once, e.g on 'ipkg update', and then when I go to do 'ipkg upgrade' or 'ipkg update' again, I get this:

Code: [Select]
root@poodle:/var/tmp# ipkg upgrade
Upgrading gpe-bluetooth on root from 0.51-r0 to 0.53-r0...
Downloading http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4.1/feed/x11/gpe-bluetooth_0.53-r0_arm.ipk
xsystem: ERROR: fork failed before execution: `wget --passive-ftp    -q -P /tmp/ipkg-zCmREl http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4.1/feed/x11/gpe-bluetooth_0.53-r0_arm.ipk'
Upgrading libcontactsdb0 on root from 0.3-r0 to 0.4-r0...
Downloading http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4.1/feed/x11/libcontactsdb0_0.4-r0_arm.ipk
xsystem: ERROR: fork failed before execution: `wget --passive-ftp    -q -P /tmp/ipkg-zCmREl http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4.1/feed/x11/libcontactsdb0_0.4-r0_arm.ipk'
Package libusb is already installed in root.
Nothing to be done
Collected errors:
Failed to download gpe-bluetooth. Perhaps you need to run 'ipkg update'?
Failed to download libcontactsdb0. Perhaps you need to run 'ipkg update'?

Only way to fix it is to reboot or 'rm -rf /var/ipkg'

The PDA is connected via USB to my laptop and NAT is working properly; resolv.conf is also properly set up.
[span style=\'font-size:8pt;line-height:100%\']Collie (not used) | Poodle (OZ/Opie 3.5.4.2-rc2)
Nokia 770 (ITOS 2006) | IBM Thinkpad R51 (Debian)
Intel Core 2 Duo/Desktop Board DG965RY (Debian)[/span]

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Poodle Kernel 2.6 Preview
« Reply #42 on: July 29, 2006, 01:49:23 pm »
Quote
xsystem: ERROR: fork failed before execution: `wget --passive-ftp    -q -P /tmp/ipkg-zCmREl

That means "Help, I'm out of memory", try adding some (more) swap
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

simbaB

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • http://www.oakcourt.dyndns.org/~andrew/
Poodle Kernel 2.6 Preview
« Reply #43 on: July 29, 2006, 02:15:00 pm »
Quote
That means "Help, I'm out of memory", try adding some (more) swap
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136882\"][{POST_SNAPBACK}][/a][/div]

Is swap possible on the inbuilt (jffs2) flash? Creating a swap file works, but activating it fails with 'invalid argument', and the kernel says 'swapfile has holes'.
[span style=\'font-size:8pt;line-height:100%\']Collie (not used) | Poodle (OZ/Opie 3.5.4.2-rc2)
Nokia 770 (ITOS 2006) | IBM Thinkpad R51 (Debian)
Intel Core 2 Duo/Desktop Board DG965RY (Debian)[/span]

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Poodle Kernel 2.6 Preview
« Reply #44 on: July 29, 2006, 02:29:48 pm »
Quote
Quote
That means "Help, I'm out of memory", try adding some (more) swap
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136882\"][{POST_SNAPBACK}][/a][/div]

Is swap possible on the inbuilt (jffs2) flash? Creating a swap file works, but activating it fails with 'invalid argument', and the kernel says 'swapfile has holes'.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136886\"][{POST_SNAPBACK}][/a][/div]

It's possible, but will kill the flash. Try creating a swapfile on SD or CF
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog