All times are UTC




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Kernel 2.6.21 for 6xx - Status/Testing Report
PostPosted: Sat Apr 07, 2007 7:53 am 
Core Developer
User avatar

Joined: Tue Apr 25, 2006 8:40 am
Posts: 692
Location: Greece
Ok, I built kernel 2.6.21-rc5 with OE, and here are my notes:

First of all, Kristoffer, when you're making patches, make them with "diff -u". The current "hp6xx-IRQ3.patch" is unusable. I used the patch as a pointer to fix whatever was wrong, but you really need to make a better patch. NOW. :D

That was the only problem with the kernel build process, everything else went fine. With the kernel built, I made a IceWM userland that uses 2.6.21-rc5, and proceeded booting it. Here are some notes:

What doesn't work.
  • Keyboard didn't work. It probably wasn't built in.
  • The boot process told me that APM support wasn't built in, and was not enabled. Self-explanatory, I guess.
  • Boot process told me that tsdev ipaq touchscreen support was about to be deprecated. It pointed me to some doc.

I cannot remember anything else. If we get keyboard support, I will be able to test more stuff.


Top
Offline Profile  
 
 Post subject:
PostPosted: Sun Apr 08, 2007 6:14 pm 
Administrator
Administrator
User avatar

Joined: Wed Feb 22, 2006 12:49 pm
Posts: 1137
Location: Sweden
You built it through OE yeah, the most update is through our git server :D

Had abit of rush there as you know :P

I'll update everything once I get back.


Top
Offline Profile  
 
 Post subject:
PostPosted: Thu Apr 12, 2007 8:58 am 
JLime Guru User
JLime Guru User
User avatar

Joined: Wed Nov 15, 2006 10:14 am
Posts: 71
Hey , I have succesfully compiled the 2.6.21 (git repository) with an orinoco patched drivers(I will make another post about this when I was able to test it)

But when I try to boot in the jornada with the new kernel (the SuperH tux is cool :) ) it trows a Kernel panic about it cannot find nor /dev/hda2 nor (0,0) block device

Code:
VFS: Cannot open root device "hda2" or unknown-block(0,0)
Please append a correct "root=" boot option
kernel panic - not syncing: VFS: Unable to mount  root fs on unknown-block(0,0)


I have no changed the shlo.txt , and I only add the following items to the kernel 6xx-full config

<*> IEEE 802.11i CCMP support
<*> IEEE 802.11i TKIP encryption

I'm using the last icewn userland and I have changed the link zImage to a 2.6.21 kernel image.

Any clue to make it boot? I want to begin to play whit the ir :)

PD.-2.6.17 boots ok


Top
Offline Profile  
 
 Post subject:
PostPosted: Thu Apr 12, 2007 10:52 am 
Administrator
Administrator
User avatar

Joined: Wed Feb 22, 2006 12:49 pm
Posts: 1137
Location: Sweden
We are using Libpata now with scsi emulation, which basicly means hda -> sda.

So hda2 -> sda2. Make sure the device exists in /dev.


Top
Offline Profile  
 
 Post subject:
PostPosted: Thu Apr 12, 2007 2:32 pm 
JLime Guru User
JLime Guru User
User avatar

Joined: Wed Nov 15, 2006 10:14 am
Posts: 71
I have changed the line in shlo.txt to
Code:
silent

platform        = hp690
boot page       = 0x0c000000

load file       = 0x0c210000 zImage
#load file       = 0x0c400000 initrd.gz  # ram disk image
start address   = 0x8c210000


set long        = 0x8c001000 0                  # MOUNT_ROOT_RDONLY
set long        = 0x8c001004 0                  # RAMDISK_FLAGS
set long        = 0x8c001008 0x0100             # ORIG_ROOT_DEV
set long        = 0x8c00100c 1                  # LOADER_TYPE
#set string = 0x8c001100 mem=32M root=/dev/hda2 console=ttySC1,115200 init=/bin$

set string = 0x8c001100 mem=32M root=/dev/sda2


trhows the same error but with sda2 instead of hda2.

A philosophical question that for sure you know the anwer...
How can I see if the sda2 is created in /dev if I cannot boot to see if it exist??
:?

I have to create it "by hand" on 2.6.17 and then boot on 2.6.21??

PD.-I know, I know....you are right, this newbee wants to play with the big ones and gonna hurt himself with the bootloader... but its so lovely... look !!! :o he has crosscompiled his own modified kernel !!!! :D :D


Top
Offline Profile  
 
 Post subject:
PostPosted: Thu Apr 12, 2007 2:34 pm 
Administrator
Administrator
User avatar

Joined: Wed Feb 22, 2006 12:49 pm
Posts: 1137
Location: Sweden
The best way would be to mount the ext2 partition and check inside the dev folder. Im not sure how long you've used linux or how you installed jlime.
But only way currently, we will release an updated userland shortly where sda is default.


Top
Offline Profile  
 
 Post subject:
PostPosted: Thu Apr 12, 2007 3:45 pm 
JLime Guru User
JLime Guru User
User avatar

Joined: Wed Nov 15, 2006 10:14 am
Posts: 71
once I booted with the 2.6.17 the /dev/sda2 exist, so the question is still existing when booted with 2.6.21?



PD.-the last PD was only humor about (and only about) my own ignorance , in anyway I pretended to reflect irony or anything similar to how I have been treated in the forum. Here I feel like home :) , so lets forget the last and this PD.

PD2.-I have installed jlime with the installer, then mount the CF card in other computer, erase all the files in ext2 partition, untar the last icewn userland in ext2 partition as root, and overwrite the zImage in fat partition with the one that comes with the userland. I have been using linux(various distros) relatively not much time, about 3 or 4 years , So now you know it :)


Top
Offline Profile  
 
 Post subject:
PostPosted: Fri Apr 13, 2007 6:38 am 
2.6.21 rc6

- still no apm
- no autoloading of modules
- manual loading won't work
- I got too pissed off to investigate further.

(before you ask, i downloaded modules from http://devfiles.jlime.com/Kernels/hp6xx/ and extracted to root)


Top
  
 
 Post subject:
PostPosted: Fri Apr 13, 2007 9:24 am 
JLime Guru User
JLime Guru User
User avatar

Joined: Wed Nov 15, 2006 10:14 am
Posts: 71
2.6.21 rc6 with logo (coolest than the surperH one :) )

downloaded from http://devfiles.jlime.com/Kernels/hp6xx/

Same results as fijam
-No hardware clock??
kernel error
Code:
driver /rtc/hctosys.c: unable to open rtc device (rtc0)


-no auto load of modules

-But when I manualy load the modules modprobe not thow any error, lsmod show the loaded modules (it does modules dependency when I load orinoco_cs it loads orinoco and hermes module too) but do nothing, not led blinking in my pcmcia. I have try with the wireless card (orinoco_cs) and the ethernet one (3c589_cs)

I have untar the modules in /lib/modules and it create a 2.6.21-rc6-g38c7ad5c-dirty directory


PD.- Finaly I have booted the 2.6.21 :) I supose I have something messed up in the configuration with the one I have compliled myself.


Top
Offline Profile  
 
 Post subject:
PostPosted: Fri Apr 13, 2007 7:41 pm 
Administrator
Administrator
User avatar

Joined: Wed Feb 22, 2006 12:49 pm
Posts: 1137
Location: Sweden
The kernel development is progressing this is what currently doesn't work:

sound got fixed yesterday, so that is one bug less.

pcmcia support - Need to adjust the driver to new API changes
rtc - Never been active, need to add proper code
suspend - Adjust to API changes

As you can see, these errors are mostly due to the move from linuxsh-cvs into git-current. And although it sucks currently, when stuff start working properly Im sure you all will appreciate running a unpatched vanilla.

Im putting pcmcia as a priority, as one of you pointed out module autloading doesnt work, well infact it does, but since no pcmcia exists it cannot notify the kernel.


Top
Offline Profile  
 
 Post subject:
PostPosted: Sat Apr 14, 2007 8:14 am 
Quote:
Im putting pcmcia as a priority, as one of you pointed out module autloading doesnt work, well infact it does, but since no pcmcia exists it cannot notify the kernel.

sounds reasonably. :)

Do we intend to move to ALSA from the obsolete OSS?
Also, Please remember to include irda stuff in final kernel config.

And just to let you know, I am having my very final exams in a month so I'll have to limit my time for jlime to minimum.


Top
  
 
 Post subject:
PostPosted: Sun Apr 15, 2007 5:26 pm 
Administrator
Administrator
User avatar

Joined: Wed Feb 22, 2006 12:49 pm
Posts: 1137
Location: Sweden
The goal is to get everything to Alsa. This is also true for hp7xx.

OSS is obselete or will be very shortly.


Top
Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to: