• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1] 2 3
1  Linux Stuff / Kernel / Re: Boot no more on: October 14, 2009, 04:02:05 PM
Even though I did not really get to install the Kernel to my other Plug, I did find that login into the bogus Plug always stalls at the same point. Using debug-output I discovered that the Login itself works quite well (even though horribly slow). The process seems to hang when sh is about to be invoked:

Code:
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug2: callback start
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 1
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug2: channel 0: request shell confirm 1
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768

Now, I am not an SSH-Expert. But from what I have found on the Web this seems to be related to a read-command for the filesystem (invocation of sh as mentioned above would be my guess). I am beginning to think that the SD card itself might be broken. Any clues from the experts on this?
2  Linux Stuff / Kernel / Re: Boot no more on: October 14, 2009, 11:01:04 AM
Kind of wondering why I did not find that when consulting the Forums Search-function. Anyway...

Thanks for pointing that out. As I did not upgrade my GIT-Sources in between my Kernel Builds (and the system was running stable before), this would be related to the most recent changes in my Kernel. I guess... However, that does not seem to fit:

Code:
/mnt# diff usr/src/linux/.config usr/src/linux/.config.old
4c4
< # Tue Sep 29 15:25:03 2009
---
> # Tue Sep 29 15:09:54 2009
1039c1039
< CONFIG_MEDIA_TUNER_XC5000=y
---
> CONFIG_MEDIA_TUNER_XC5000=m
1096c1096
< CONFIG_VIDEO_CX231XX_DVB=y
---
> # CONFIG_VIDEO_CX231XX_DVB is not set

However, my symptoms to not fit anymore anyway. I had an fsck done to the SD-Card which holds my OS and after fixing several issues it now boots again. Now I am stuck during login as it just "hangs" after entering my password. At this point I am really curious about what is going on there.

My next step will be to install the Kernel from the bogus Plug on the Plug I have here. Maybe I can recreate the problem and figure out a solution (f.ex. see if that Kernel-Patch might help).
3  Linux Stuff / Kernel / Boot no more on: October 14, 2009, 08:33:53 AM
Some Plug of mine seems to have said goodbye for now. To make things worse it is in overseas, so I can hardly take a look at it. However, I managed to get an Image from the Plugs SD-Card, so I have Log-Files at hand.

First, the symptoms. I was building Kernels to get some PVR-Stuff up and running on the Plug. Everything went fine - and I only touched V4L-related things. However, a couple days later I could not log into the Plug anymore. Turned out that it was not available from its local net either. A reset did not help either. So, what does the log say about this?

Quote
Oct  2 12:33:33 zakhara kernel: ------------[ cut here ]------------
Oct  2 12:33:33 zakhara kernel: WARNING: at arch/arm/kernel/process.c:171 cpu_idle+0x80/0xb0()
Oct  2 12:33:33 zakhara kernel: Modules linked in:
Oct  2 12:33:33 zakhara kernel: Backtrace:
Oct  2 12:33:33 zakhara kernel: [<c002c024>] (dump_backtrace+0x0/0x110) from [<c03a7da0>] (dump_stack+0x18/0x1c)
Oct  2 12:33:33 zakhara kernel: r7:00000000 r6:c00299b8 r5:c0455294 r4:000000ab
Oct  2 12:33:33 zakhara kernel: [<c03a7d88>] (dump_stack+0x0/0x1c) from [<c003b438>] (warn_slowpath_common+0x50/0x80)
Oct  2 12:33:33 zakhara kernel: [<c003b3e8>] (warn_slowpath_common+0x0/0x80) from [<c003b480>] (warn_slowpath_null+0x18/0x1c)
Oct  2 12:33:33 zakhara kernel: r7:c04e2370 r6:c052076c r5:c04e237c r4:c04de000
Oct  2 12:33:33 zakhara kernel: [<c003b468>] (warn_slowpath_null+0x0/0x1c) from [<c00299b8>] (cpu_idle+0x80/0xb0)
Oct  2 12:33:33 zakhara kernel: [<c0029938>] (cpu_idle+0x0/0xb0) from [<c039f83c>] (rest_init+0x58/0x6c)
Oct  2 12:33:33 zakhara kernel: r6:c0023c98 r5:c0520510 r4:c05c7400
Oct  2 12:33:33 zakhara kernel: [<c039f7e4>] (rest_init+0x0/0x6c) from [<c00089a4>] (start_kernel+0x21c/0x270)
Oct  2 12:33:33 zakhara kernel: [<c0008788>] (start_kernel+0x0/0x270) from [<00008034>] (0x8034)
Oct  2 12:33:33 zakhara kernel: r6:c002409c r5:c0520798 r4:00053175
Oct  2 12:33:33 zakhara kernel: ---[ end trace e93d0df578db3594 ]---

This message appears like every other hour. It is always the exact same message that is being dumped. And from what I can see there is no other activity on the System (say: booting up into a defined state). Of course, services like SSHd are not available.

Anybody seen something like that? I am afraid that the Kernel-Portion of the Plug got hit by a bad-block (which means I would have to have the Plug shipped over to the US to take care of that).
4  General Category / General Discussion / Re: Who runs plugcomputer.org? on: May 19, 2009, 05:31:13 AM
I for myself find openplug.org far more fancy than plugcomputer.org.  Grin
5  General Category / General Discussion / Re: Long pause to mount root during boot on: May 17, 2009, 05:06:24 PM
iirc this was related to an error-check of your nand-partition due to an unclean shutdown.
6  Linux Stuff / Kernel / Re: SD card support on: May 14, 2009, 02:40:43 PM
Do you guys have loaded/compiled the SDHCI-Module?
7  General Category / Success stories / Re: USB Webcam as a surveillance camera on: May 14, 2009, 08:30:02 AM
I did the same - but using VLC as a Streaming-Server instead of webcam-server.

CPU-Load is roughly at 3% as I am just forwarding the MJPEG-Stream of my webcam.
8  Linux Stuff / General Linux questions / tar-Question on: May 13, 2009, 08:35:03 AM
I have this script that is supposed to pack all my stuff into a single tarball once a week. It seems to work pretty good and get the job done. At least that was what I thought when I set it up.

Quote
tar cvpzf $HOST_DIR/backup.tar.gz / --exclude="/sys/*" --exclude="/mnt/*" --exclude="/proc/*" --exclude="/lost+found" --exclude="/media/*" --exclude="/root/toril/*" --exclude-caches

Now I noticed that according to the tarballs size it cannot be my whole file system anymore. Rather a delta to the last compression. And indeed, when I take a look inside them they do not contain the complete file system anymore.

Quote
-rw------- 1 root root   1962344 May 10 05:09 backup.tar.gz
-rw------- 1 root root 493408458 May  7 11:49 backup_old.tar.gz

However, I could not find a switch deactivating this kind of behavior. Can anyone tell me what I might be missing?
9  Linux Stuff / Linux distributions / Re: Debian running on the plug on: May 01, 2009, 07:06:35 PM
Yeah, that's what I did again. Just wondered if there might be a nicer solution to this.

The Kernel needs to come from the orion-repositories, sure thing - and no biggie to me. I need to make my own uImage anyways so it doesn't really affect me.
10  Linux Stuff / Linux distributions / Re: Clock working? on: April 30, 2009, 10:34:14 AM
My clock seems to work ever since. However, during boot-time I still get an error:
Code:
Setting the system clock.
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
Unable to set System Clock to: Thu Apr 30 17:30:52 UTC 2009 (warning).

Thanks nevertheless!
11  Linux Stuff / Linux distributions / Re: Debian running on the plug on: April 30, 2009, 10:29:50 AM
As I messed up my almost final Debian-Installation today (*cry*) I was wondering if one could easily boot into one of the official Installation-CDs by just copying them to an USB-Stick and passing an appropriate boot-string via U-Boot. However, I could not find a RAM-Disk image in either of those images. Anyone tried something like that yet?
12  Linux Stuff / General Linux questions / Re: Trouble following "Boot USB" wiki on: April 30, 2009, 05:16:56 AM
Are you sure you want to use mkfs.vfat? If you do so, you obvioulsy need to have a VFAT-Module for your Kernel. I used mkfs.msdos and did not have any problems at all.
13  Hardware and U-Boot firmware / U-Boot stuff / Re: MMC/SD ext2 on: April 29, 2009, 08:30:31 PM
Bytheway does anybody succes posting with file attachment? I could'nt upload sources for your tries.
If  you wants source files then let me know your e-mail, then I'll send it via e-mail.
Nope, that did not work for me either.
But you can upload it on RapidShare or something like that.
14  Linux Stuff / General Linux questions / Re: Install file to /sbin (lsusb, locate) on: April 29, 2009, 12:30:38 PM
This should do the trick:
Code:
apt-get install usbutils locate
15  Linux Stuff / Linux distributions / Re: Clock working? on: April 26, 2009, 07:32:51 AM
Anyone figured out yet what to compile to make the hardware-clock work using a custom-kernel?

Without paying any further attention to my kernel-options I am stuck with this:
Code:
abeir:~# hwclock --show
The Hardware Clock registers contain values that are either invalid (e.g. 50th day of month) or beyond the range we can handle (e.g. Year 2095).
abeir:~# date
Sun Apr 26 14:31:09 UTC 2009

Oh... Marvell SoC RTC (CONFIG_RTC_DRV_MV) is compiled into the kernel.
Pages: [1] 2 3