Author Topic: Calling all Linux Kernel developers!  (Read 391514 times)

0 Members and 2 Guests are viewing this topic.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #885 on: June 09, 2013, 02:09:57 pm »
Yeah I use this except I set rootdelay to 10.
Note that it works perfectly if I use the BusyBox initrd as a RootFS (but it's pretty much useless).
Hopping on IRC for the panic.
« Last Edit: June 10, 2013, 12:16:13 pm by Streetwalker »

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #886 on: June 11, 2013, 02:28:42 pm »
The config you gave me in IRC still won't boot. Here's a build log just in case :http://pastebin.com/DkVV7Zt9

Edit : I attached the zImage.tns I built. I did this with arm-none-eabi. And my home-built bootloader works fine BTW.
« Last Edit: June 11, 2013, 03:26:31 pm by Streetwalker »

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #887 on: June 11, 2013, 03:37:24 pm »
The log looks fine to me, so it's time for a new toolchain :D

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #888 on: June 11, 2013, 05:19:06 pm »
I'm building one (Linaro 4.7 optimized for the Nspire's architecture). :D

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #889 on: June 12, 2013, 04:40:11 am »
Well, I remade my RootFS properly and with the expanded kernel I downloaded it no longer panics (guess what, there was a partition numbering error and I was actually mounting a swap partition). But it keeps spamming it can't find /sbin/getty. D:
Also crosstool-ng is being a bitch and won't let me use the system's GMP, it keeps failing to compile an older version so I can't build my toolchain. NVM I fixed that.
« Last Edit: June 12, 2013, 05:13:15 am by Streetwalker »

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #890 on: June 12, 2013, 10:19:28 am »
Quote
(guess what, there was a partition numbering error and I was actually mounting a swap partition)
The exact same problem (IIRC) two guys already had. It's No.1 of booting issues :P

Quote
But it keeps spamming it can't find /sbin/getty. D:
That's not good at all. /sbin/getty should exist. You should be able to mount the initrd and check it.
Maybe your download is corrupted or I screwed the auto builds up.

Offline crazyracer98

  • LV2 Member (Next: 40)
  • **
  • Posts: 29
  • Rating: +3/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #891 on: June 12, 2013, 10:45:02 am »

Quote
booting stocks at <RAMDISK: bzip2 image found at block 0> and then the calc freeze.
Don't worry, it takes 1-2 minutes depending on the image size.

#But linux is still "loading" after 2 hours. Thats very strange#

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #892 on: June 12, 2013, 10:49:04 am »
I checked on my computer and a bunch of stuff (including /sbin/getty) are actually symlinks to /bin/busybox which has proper permissions it looks lke. Weird. ???
And for the numbering error, it was gparted's fault because my partition was physically the second one but it was still called sdc3 on my computer. Why does it number partitions in the order you add them to queue ? <_<
« Last Edit: June 12, 2013, 10:52:26 am by Streetwalker »

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Calling all Linux Kernel developers!
« Reply #893 on: June 12, 2013, 10:50:05 am »
crazyracer98: looks like it hung.
Streetwalker: on the _host_ computer, or in the target filesystem ? It's natural for the latter to have many symlinks to busybox, but your host computer would be in dire straits with such a configuration.
« Last Edit: June 12, 2013, 10:51:07 am by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #894 on: June 12, 2013, 12:24:49 pm »
Quote
#But linux is still "loading" after 2 hours. Thats very strange#
That is indeed very strange.
Could you post your exact configuration after you tried to download the newest files (bootloader, kernel and ramdisk)?

Quote
And for the numbering error, it was gparted's fault because my partition was physically the second one but it was still called sdc3 on my computer. Why does it number partitions in the order you add them to queue ?
I know, thats the only reason I use YaST also for partitioning.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #895 on: June 12, 2013, 01:42:06 pm »
Lionel, I checked the contents of the USB disk from my computer.
And I use ArchLinux so no YaST. Just documentation and terminal for configuration = plenty of fun. :D
« Last Edit: June 12, 2013, 01:47:31 pm by Streetwalker »

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #896 on: June 12, 2013, 01:43:54 pm »
Is the getty error reproducable?

Offline crazyracer98

  • LV2 Member (Next: 40)
  • **
  • Posts: 29
  • Rating: +3/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #897 on: June 12, 2013, 02:46:38 pm »
@Vogtinator
Sorry, but can someone help me, plz! I have the problem, that my TI Nspire CX CAS freeze at
Code: [Select]
r4:00000000 r3:00000000.
I run linuxloader and type in:
Code: [Select]
kernel Linux/zImage.tns
initrd Linux/initrd.tns
(rdsize 0x4000)(<-- but it still freeze)
Is that enough Vogtinator?

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #898 on: June 12, 2013, 02:49:45 pm »
Do you have the most recent versions of kernel, ramdisk and bootloader?
Your bootscript should be like
Code: [Select]
kernel Linux/zImage.tns
initrd Linux/initrd.tns
cmdline root=/dev/ram
boot

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #899 on: June 12, 2013, 03:20:33 pm »
Yes it is reproducible.
It says (approximately) :
devtmpfs successfully mounted
freeing 136k of memory

And then comes the spam : https://dl.dropboxusercontent.com/s/1ldx57vta97jtkn/IMG_20130612_211555.jpg?token_hash=AAH2LmjsqZDCZQojxvsWyeN2UHDH0cxRLmtdFl6V-KiugQ&dl=1

Yeah I know it's a mini b connector but I hacked it so that the calc sees it as a mini a.
« Last Edit: June 12, 2013, 03:22:56 pm by Streetwalker »