Author Topic: C3100 2.6 Kernel Tester Urgently Needed  (Read 5042 times)

martinbogo

  • Newbie
  • *
  • Posts: 24
    • View Profile
C3100 2.6 Kernel Tester Urgently Needed
« Reply #15 on: September 09, 2005, 04:49:22 am »
Well, the kernel does boot.   The console messages fly by in PORTRAIT mode though, and I don't have a way to scroll back through the messages.  What I really should have had is a serial console running ... -sigh-

In any case, the kernel panics with an expected "Kernel panic - not syncing: no init found.  Try passing init= option to kernel."

There are a lot of "Bad eraseblock xxx at 0x00000000" where xxx are numbers like 938, 985 and the memory ranges look like 0x7540000 and 0x7b20000 etc.. etc..

I did see messages like "spitz_pci_setpower: on"

Pressing the power button results in :

power.c: device-level power management is not supported uet
power: requesting system suspend


In any case, here is my attempt to type what's on the screen---->

Creating 3 MTD partitions on "sharpsl-nand":
0x00000000-0x00700000 : "System Area"
Charge LED On
0x00700000-0x2700000 : "Root Filesystem"
0x02700000-0x8000000 : "Home Filesystem"
NET: Registered protocol family 2
spitz_mci_setpower: on
spitz_mci_setpower: on
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 ( order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Probing IDE interface ide0...
mmcblk0: mmc0:a95c SD128 123008KiB
 mmcblk0: p1
hda: HMS360604D5CF00, CFA DISK drive
ide0 at 0xc4820000-0xc4820007,0xc482000e on irq 138
hda: max request size: 128KiB
hda: 7999488 sectors (4095 MB) w/128KiB Cache, CHS=7936/16/63
hda: cache flushes supported
 hda: hda1 hda2 hda3
ide-cs: hda: Vcc = 3.3, Vpp = 0.0
 hda: hda1 hda2 hda3
EXT3-fs: mounted filesystem with ordered data mode.
VFS: mounted root (ext3 filesystem) readonly.
Freeing init memory: 76K
kjournald starting.  Commit interval 5 seconds
Warning: unable to open an initial console
Kernel panic - not syncing: No init found.  Try passing init = option to kernel.

And with that ... my typing hand wants to fall off.  T-t-t-t-t-t-hhats all folks.

-Martin

rpurdie

  • Newbie
  • *
  • Posts: 26
    • View Profile
C3100 2.6 Kernel Tester Urgently Needed
« Reply #16 on: September 09, 2005, 05:12:40 am »
Quote
Well, the kernel does boot.   The console messages fly by in PORTRAIT mode though, and I don't have a way to scroll back through the messages.  What I really should have had is a serial console running ... -sigh-
[div align=\"right\"][a href=\"index.php?act=findpost&pid=95154\"][{POST_SNAPBACK}][/a][/div]

Portrait is to be expected on these devices as the framebuffer doesn't support hardware rotation like the c7x0s. Someone needs to add software rotate to fbcon. Its a low priority for me at the moment but will happen. opie/gpe already have software rotation so its not a problem.

Quote
In any case, the kernel panics with an expected "Kernel panic - not syncing: no init found.  Try passing init= option to kernel."
[div align=\"right\"][a href=\"index.php?act=findpost&pid=95154\"][{POST_SNAPBACK}][/a][/div]

Yes, that's expected as your microdrive won't have a /sbin/init. If it had, it would probably happily boot from it!

Quote
There are a lot of "Bad eraseblock xxx at 0x00000000" where xxx are numbers like 938, 985 and the memory ranges look like 0x7540000 and 0x7b20000 etc.. etc..
[div align=\"right\"][a href=\"index.php?act=findpost&pid=95154\"][{POST_SNAPBACK}][/a][/div]

I need to add a fix for that on Borzoi as it suffers the mtd virtual block problem. This has reminded me, thanks!

Quote
I did see messages like "spitz_pci_setpower: on"
[div align=\"right\"][a href=\"index.php?act=findpost&pid=95154\"][{POST_SNAPBACK}][/a][/div]

That's it trying to power the MMC/SD slot which is good.

Quote
Pressing the power button results in :

power.c: device-level power management is not supported uet
power: requesting system suspend
[div align=\"right\"][a href=\"index.php?act=findpost&pid=95154\"][{POST_SNAPBACK}][/a][/div]

That's normal for 2.6 kernels. I'll remove the first message at some point as its annoying/confusing.

Quote
In any case, here is my attempt to type what's on the screen---->

Creating 3 MTD partitions on "sharpsl-nand":
0x00000000-0x00700000 : "System Area"
Charge LED On
0x00700000-0x2700000 : "Root Filesystem"
0x02700000-0x8000000 : "Home Filesystem"
NET: Registered protocol family 2
spitz_mci_setpower: on
spitz_mci_setpower: on
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 ( order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Probing IDE interface ide0...
mmcblk0: mmc0:a95c SD128 123008KiB
 mmcblk0: p1
hda: HMS360604D5CF00, CFA DISK drive
ide0 at 0xc4820000-0xc4820007,0xc482000e on irq 138
hda: max request size: 128KiB
hda: 7999488 sectors (4095 MB) w/128KiB Cache, CHS=7936/16/63
hda: cache flushes supported
 hda: hda1 hda2 hda3
ide-cs: hda: Vcc = 3.3, Vpp = 0.0
 hda: hda1 hda2 hda3
EXT3-fs: mounted filesystem with ordered data mode.
VFS: mounted root (ext3 filesystem) readonly.
Freeing init memory: 76K
kjournald starting.  Commit interval 5 seconds
Warning: unable to open an initial console
Kernel panic - not syncing: No init found.  Try passing init = option to kernel.

And with that ... my typing hand wants to fall off.  T-t-t-t-t-t-hhats all folks.

-Martin
[div align=\"right\"][a href=\"index.php?act=findpost&pid=95154\"][{POST_SNAPBACK}][/a][/div]

And this tells me everything I need to know. It can only have printed that if it correctly identified the machine as a Borzoi. Thanks for testing and you can look forward to 2.6 kernels on this device. We might even have 2.6 kernels+images for akita, spitz and borzoi for OZ 3.5.4 (perhaps unofficially).

I can't tell you how much I needed that test report and the results are near perfect! Thanks

martinbogo

  • Newbie
  • *
  • Posts: 24
    • View Profile
C3100 2.6 Kernel Tester Urgently Needed
« Reply #17 on: September 09, 2005, 05:23:47 am »
My pleasure.   As we speak, the NAND flash backup of my OZ 3.5.3 image is going back onto the little beast.   If you would be so kind, how long would it take you to create a bootable OZ 3.5.3 image + 2.6?  

Oh .. tip for those who might not know.   If you need to boot into single-user with a backup ROM kernel, you can use the following procedure on a Borzoi (and Spitz as well):

Slide battery switch <OFF>
remove battery, wait about 30 seconds
Press and HOLD <D><B>
slide battery switch <ON>  (do NOT release <D><B>!!!!)
press power switch (do NOT release <D><B>!!!!)
machine will boot single-user mode, with kernel 2.4.20 and present a login prompt

You may use user "zaurus" or "root", assuming the flash disk image is intact.

martinbogo

  • Newbie
  • *
  • Posts: 24
    • View Profile
C3100 2.6 Kernel Tester Urgently Needed
« Reply #18 on: September 09, 2005, 05:37:17 am »
Richard,

Didn't Ken L. get similar results back on Aug 30th?  

-Martin

rpurdie

  • Newbie
  • *
  • Posts: 26
    • View Profile
C3100 2.6 Kernel Tester Urgently Needed
« Reply #19 on: September 09, 2005, 05:55:13 am »
Quote
Richard,

Didn't Ken L. get similar results back on Aug 30th?   

-Martin
[div align=\"right\"][a href=\"index.php?act=findpost&pid=95162\"][{POST_SNAPBACK}][/a][/div]

He tested akita (C1000), you've tested the C3100 and I have a C3000. I now know detection of each model works. You'll notice you were using the same kernel as the C1000 yet they did different things  

rpurdie

  • Newbie
  • *
  • Posts: 26
    • View Profile
C3100 2.6 Kernel Tester Urgently Needed
« Reply #20 on: September 09, 2005, 05:57:47 am »
Quote
My pleasure.   As we speak, the NAND flash backup of my OZ 3.5.3 image is going back onto the little beast.   If you would be so kind, how long would it take you to create a bootable OZ 3.5.3 image + 2.6? 

[div align=\"right\"][a href=\"index.php?act=findpost&pid=95161\"][{POST_SNAPBACK}][/a][/div]

I have bootable OZ-3.5.4-pre + 2.6 here now although there is at least one serious bug. I wouldn't bother trying OZ-3.5.3 as none of the model specifics are in the OE metadata from that era.

I'm in the process of rewriting almost all the kernel patches. Once this is done, I might have time to make some kernels+images available.

Richard

martinbogo

  • Newbie
  • *
  • Posts: 24
    • View Profile
C3100 2.6 Kernel Tester Urgently Needed
« Reply #21 on: September 09, 2005, 06:03:37 am »
Eeeexxxcceeelllleeeeent.   In the meantime, I'm going to take a look at Sharp's OSS sound driver code, take a gander at the I2S code, and see what's involved in getting sound on the Borzoi as a going concern.  


Rewriting the patches eh?  Sounds like you're going to push even more of them back into the mainline kernel then, which is a good thing for maintainability.  

Buenas Noches!
-Martin