LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 04-12-2007, 07:04 PM   #1
vees
Member
 
Registered: Jun 2005
Location: the Imperial Homeland
Distribution: Debian, gNewSense
Posts: 117

Rep: Reputation: 15
application management problem on Nokia N800


Hi,

I tried to downoad and install zsh to my Nokia N800. The download went fine, but the installation froze and I had to re-boot. The zsh package is now listed as 'broken but updatable' but when I try updating it I get a 'unable to update' message. I tried uninstalling the package but that did not work either - I got a 'unable to uninstall' message. I tried running it, but that does not work either.

What should I do to either get it running, or at least remove it?

Should I try 'apt-get -f install zsh && apt-get dist-upgrade' or even 'apt-get remove --purge' ?

Thanks for any help!

VS
 
Old 04-18-2007, 05:59 AM   #2
SCerovec
Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware x86 and ARM and Porteus
Posts: 655

Rep: Reputation: 45
Question not sure...

My mileage is from openwrt (embeded linux on a router)
:
try to use a good file-manager and etitor (I had nano by my side and a vi)

locate the package database somevhere (/etc or /usr or so ...)
locate the zsh package and it's contens there

remove the zsh's files first

remove the zsh's record from the database

commit changes to nvram somehow (on openwrt it's nvram commit or so). Just find a way that the changes You'we done got permanent...

reboot

test...

Next time you download an package turn on debugging
 
Old 04-20-2007, 08:31 AM   #3
vees
Member
 
Registered: Jun 2005
Location: the Imperial Homeland
Distribution: Debian, gNewSense
Posts: 117

Original Poster
Rep: Reputation: 15
Dobrdan (spelling?),

My Nokia being Debian-based my archive should be in /var/cache/apt/archives/ but when I access it on my unit I get an almost empty directory with only an empty file called 'lock' and an equally empty directory called 'partial'. I tried using 'find' to, well, find other archives of *deb files but I don't see any (I did all this as root, of course)

Some of how this N800 is organized seems weird and not really Debian like.

And then, how do I commit changes to nvram (you mean the flash memory, right?)?

Keep in mind that the N800 comes with a mini-shell (xterm) with way less tools that a real BSD or GNU CLI, so I am rather limited by what I can do with it.

Khvala,

VS
 
Old 04-21-2007, 09:07 AM   #4
SCerovec
Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware x86 and ARM and Porteus
Posts: 655

Rep: Reputation: 45
Lightbulb You're en-route already

Since I can't dig your location and ain't grock-ing Esperanto either, I will simply fail to respond to Your courtesy. :-)

Well You already half the way: You saw there whas something...

Now, just to get an rough idea what kind of software gets packed in Your kind of OS I would recommend a visit to OpeWRT. This is the only project of embeded linux to my knowledge that functionally supports some sort of packages.

There I discovered nano and found that knowing vi might payoff there too.

For the sake of exercise I would also recommend getting an OpenWRT capable box (Buffalo WHR54HP?) for exercise, provided the cost could fit the budget. ;-)

So, let's go to further stuff:

Provide the output of
mount
and the dmesg if any sort of exists.
Regards and good 'transit' ;-)
 
Old 04-23-2007, 12:25 PM   #5
vees
Member
 
Registered: Jun 2005
Location: the Imperial Homeland
Distribution: Debian, gNewSense
Posts: 117

Original Poster
Rep: Reputation: 15
Privet dorogoi - I don't talk too much esperato either, but since you seem curious, so mnoi mozhno govorit po-russki :-)

(and, BTW & OT, my mother was born in on the Topchider brdo (spelling?) and she is fluent in Serbian and passed on her love of Serbia to me).

As for my location well, for my sins no doubt, I currently reside in the Imperial Homeland, but I was born on the Old Continent and very much consider myself part of what Rummy would call "Old Europe".

Anyway - here are my outputs:

dmesg:

Code:
age_handle+0x0/0x1f4 [umac]) from [<bf0441b4>] (sm_drv_spi_wq+0x374/0x568 [cx3110x])
[   34.191650]  r8 = 00000000  r7 = C7976800  r6 = C5D568FC  r5 = C5D568E0
[   34.191711]  r4 = C7C11EE6 
[   34.191741] [<bf043e40>] (sm_drv_spi_wq+0x0/0x568 [cx3110x]) from [<c0064230>] (run_workqueue+0xac/0xfc)
[   34.191894] [<c0064184>] (run_workqueue+0x0/0xfc) from [<c00643a0>] (worker_thread+0x120/0x180)
[   34.191955]  r7 = 00000001  r6 = C7C11F80  r5 = C03E06A8  r4 = C03E06B0
[   34.192016] [<c0064280>] (worker_thread+0x0/0x180) from [<c0067b1c>] (kthread+0xe0/0x114)
[   34.192108] [<c0067a3c>] (kthread+0x0/0x114) from [<c0055a18>] (do_exit+0x0/0x7fc)
[   34.192169] Division by zero in kernel.
[   34.192199] [<c00284b0>] (dump_stack+0x0/0x14) from [<c0028f24>] (__div0+0x18/0x20)
[   34.192291] [<c0028f0c>] (__div0+0x0/0x20) from [<c00ff97c>] (Ldiv0+0x8/0x10)
[   34.192352] [<bf01cf34>] (pdlp_lmac_second_callback+0x0/0xe8 [umac]) from [<bf00219c>] (fw_ctrl_accept+0x60/0xe8 [umac])
[   34.192993]  r8 = C0012000  r7 = C7976800  r6 = FFFFFFFF  r5 = C0012000
[   34.193054]  r4 = C572D9C0 
[   34.193084] [<bf00213c>] (fw_ctrl_accept+0x0/0xe8 [umac]) from [<bf000908>] (prism_interconnect_message_handle+0x38/0x1f4 [umac])
[   34.193542]  r6 = C5D568FC  r5 = C5D568E0  r4 = C5D568FC 
[   34.193572] [<bf0008d0>] (prism_interconnect_message_handle+0x0/0x1f4 [umac]) from [<bf0441b4>] (sm_drv_spi_wq+0x374/0x568 [cx3110x])
[   34.194152]  r8 = 00000000  r7 = C7976800  r6 = C5D568FC  r5 = C5D568E0
[   34.194213]  r4 = C7C11EE6 
[   34.194244] [<bf043e40>] (sm_drv_spi_wq+0x0/0x568 [cx3110x]) from [<c0064230>] (run_workqueue+0xac/0xfc)
[   34.194396] [<c0064184>] (run_workqueue+0x0/0xfc) from [<c00643a0>] (worker_thread+0x120/0x180)
[   34.194488]  r7 = 00000001  r6 = C7C11F80  r5 = C03E06A8  r4 = C03E06B0
[   34.194519] [<c0064280>] (worker_thread+0x0/0x180) from [<c0067b1c>] (kthread+0xe0/0x114)
[   34.194610] [<c0067a3c>] (kthread+0x0/0x114) from [<c0055a18>] (do_exit+0x0/0x7fc)
[   34.194671] Division by zero in kernel.
[   34.194702] [<c00284b0>] (dump_stack+0x0/0x14) from [<c0028f24>] (__div0+0x18/0x20)
[   34.194793] [<c0028f0c>] (__div0+0x0/0x20) from [<c00ff97c>] (Ldiv0+0x8/0x10)
[   34.194854] [<bf01cf34>] (pdlp_lmac_second_callback+0x0/0xe8 [umac]) from [<bf00219c>] (fw_ctrl_accept+0x60/0xe8 [umac])
[   34.195495]  r8 = C0012000  r7 = C7976800  r6 = FFFFFFFF  r5 = C0012000
[   34.195556]  r4 = C572D9C0 
[   34.195556] [<bf00213c>] (fw_ctrl_accept+0x0/0xe8 [umac]) from [<bf000908>] (prism_interconnect_message_handle+0x38/0x1f4 [umac])
[   34.196014]  r6 = C5D568FC  r5 = C5D568E0  r4 = C5D568FC 
[   34.196075] [<bf0008d0>] (prism_interconnect_message_handle+0x0/0x1f4 [umac]) from [<bf0441b4>] (sm_drv_spi_wq+0x374/0x568 [cx3110x])
[   34.196441]  r8 = 00000000  r7 = C7976800  r6 = C5D568FC  r5 = C5D568E0
[   34.196472]  r4 = C7C11EE6 
[   34.196502] [<bf043e40>] (sm_drv_spi_wq+0x0/0x568 [cx3110x]) from [<c0064230>] (run_workqueue+0xac/0xfc)
[   34.196655] [<c0064184>] (run_workqueue+0x0/0xfc) from [<c00643a0>] (worker_thread+0x120/0x180)
[   34.196746]  r7 = 00000001  r6 = C7C11F80  r5 = C03E06A8  r4 = C03E06B0
[   34.196777] [<c0064280>] (worker_thread+0x0/0x180) from [<c0067b1c>] (kthread+0xe0/0x114)
[   34.196868] [<c0067a3c>] (kthread+0x0/0x114) from [<c0055a18>] (do_exit+0x0/0x7fc)
[   34.196929] Division by zero in kernel.
[   34.196960] [<c00284b0>] (dump_stack+0x0/0x14) from [<c0028f24>] (__div0+0x18/0x20)
[   34.197052] [<c0028f0c>] (__div0+0x0/0x20) from [<c00ff97c>] (Ldiv0+0x8/0x10)
[   34.197113] [<bf01cf34>] (pdlp_lmac_second_callback+0x0/0xe8 [umac]) from [<bf00219c>] (fw_ctrl_accept+0x60/0xe8 [umac])
[   34.197753]  r8 = C0012000  r7 = C7976800  r6 = FFFFFFFF  r5 = C0012000
[   34.197814]  r4 = C572D9C0 
[   34.197845] [<bf00213c>] (fw_ctrl_accept+0x0/0xe8 [umac]) from [<bf000908>] (prism_interconnect_message_handle+0x38/0x1f4 [umac])
[   34.198303]  r6 = C5D568FC  r5 = C5D568E0  r4 = C5D568FC 
[   34.198364] [<bf0008d0>] (prism_interconnect_message_handle+0x0/0x1f4 [umac]) from [<bf0441b4>] (sm_drv_spi_wq+0x374/0x568 [cx3110x])
[   34.198730]  r8 = 00000000  r7 = C7976800  r6 = C5D568FC  r5 = C5D568E0
[   34.198791]  r4 = C7C11EE6 
[   34.198791] [<bf043e40>] (sm_drv_spi_wq+0x0/0x568 [cx3110x]) from [<c0064230>] (run_workqueue+0xac/0xfc)
[   34.198944] [<c0064184>] (run_workqueue+0x0/0xfc) from [<c00643a0>] (worker_thread+0x120/0x180)
[   34.199035]  r7 = 00000001  r6 = C7C11F80  r5 = C03E06A8  r4 = C03E06B0
[   34.199096] [<c0064280>] (worker_thread+0x0/0x180) from [<c0067b1c>] (kthread+0xe0/0x114)
[   34.199157] [<c0067a3c>] (kthread+0x0/0x114) from [<c0055a18>] (do_exit+0x0/0x7fc)
[   34.199249] Division by zero in kernel.
[   34.199279] [<c00284b0>] (dump_stack+0x0/0x14) from [<c0028f24>] (__div0+0x18/0x20)
[   34.199340] [<c0028f0c>] (__div0+0x0/0x20) from [<c00ff97c>] (Ldiv0+0x8/0x10)
[   34.199432] [<bf01cf34>] (pdlp_lmac_second_callback+0x0/0xe8 [umac]) from [<bf00219c>] (fw_ctrl_accept+0x60/0xe8 [umac])
[   34.200042]  r8 = C0012000  r7 = C7976800  r6 = FFFFFFFF  r5 = C0012000
[   34.200103]  r4 = C572D9C0 
[   34.200134] [<bf00213c>] (fw_ctrl_accept+0x0/0xe8 [umac]) from [<bf000908>] (prism_interconnect_message_handle+0x38/0x1f4 [umac])
[   34.200592]  r6 = C5D568FC  r5 = C5D568E0  r4 = C5D568FC 
[   34.200622] [<bf0008d0>] (prism_interconnect_message_handle+0x0/0x1f4 [umac]) from [<bf0441b4>] (sm_drv_spi_wq+0x374/0x568 [cx3110x])
[   34.200988]  r8 = 00000000  r7 = C7976800  r6 = C5D568FC  r5 = C5D568E0
[   34.201049]  r4 = C7C11EE6 
[   34.201080] [<bf043e40>] (sm_drv_spi_wq+0x0/0x568 [cx3110x]) from [<c0064230>] (run_workqueue+0xac/0xfc)
[   34.201232] [<c0064184>] (run_workqueue+0x0/0xfc) from [<c00643a0>] (worker_thread+0x120/0x180)
[   34.201293]  r7 = 00000001  r6 = C7C11F80  r5 = C03E06A8  r4 = C03E06B0
[   34.201354] [<c0064280>] (worker_thread+0x0/0x180) from [<c0067b1c>] (kthread+0xe0/0x114)
[   34.201446] [<c0067a3c>] (kthread+0x0/0x114) from [<c0055a18>] (do_exit+0x0/0x7fc)
[   34.201721] Division by zero in kernel.
[   34.201751] [<c00284b0>] (dump_stack+0x0/0x14) from [<c0028f24>] (__div0+0x18/0x20)
[   34.201843] [<c0028f0c>] (__div0+0x0/0x20) from [<c00ff97c>] (Ldiv0+0x8/0x10)
[   34.201904] [<bf01cf34>] (pdlp_lmac_second_callback+0x0/0xe8 [umac]) from [<bf00219c>] (fw_ctrl_accept+0x60/0xe8 [umac])
[   34.202545]  r8 = C0012000  r7 = C7976800  r6 = FFFFFFFF  r5 = C0012000
[   34.202606]  r4 = C572D9C0 
[   34.202606] [<bf00213c>] (fw_ctrl_accept+0x0/0xe8 [umac]) from [<bf000908>] (prism_interconnect_message_handle+0x38/0x1f4 [umac])
[   34.203063]  r6 = C5D568FC  r5 = C5D568E0  r4 = C5D568FC 
[   34.203125] [<bf0008d0>] (prism_interconnect_message_handle+0x0/0x1f4 [umac]) from [<bf0441b4>] (sm_drv_spi_wq+0x374/0x568 [cx3110x])
[   34.203491]  r8 = 00000000  r7 = C7976800  r6 = C5D568FC  r5 = C5D568E0
[   34.203552]  r4 = C7C11EE6 
[   34.203552] [<bf043e40>] (sm_drv_spi_wq+0x0/0x568 [cx3110x]) from [<c0064230>] (run_workqueue+0xac/0xfc)
[   34.203704] [<c0064184>] (run_workqueue+0x0/0xfc) from [<c00643a0>] (worker_thread+0x120/0x180)
[   34.203796]  r7 = 00000001  r6 = C7C11F80  r5 = C03E06A8  r4 = C03E06B0
[   34.203857] [<c0064280>] (worker_thread+0x0/0x180) from [<c0067b1c>] (kthread+0xe0/0x114)
[   34.203918] [<c0067a3c>] (kthread+0x0/0x114) from [<c0055a18>] (do_exit+0x0/0x7fc)
[   34.527954] cx3110x: PSM dynamic with 1000 ms CAM timeout
[   35.698120] EAC mode: play enabled, rec enabled
[   43.347442] EAC mode: play disabled, rec disabled
[   49.674682] JFFS2 warning: (625) jffs2_sum_write_sumnode: Not enough space for summary, padsize = -1271
[   52.746765] EAC mode: play enabled, rec enabled
[   52.867370] omapdsp: mmap info: vmadr = 4000c000, padr = 86610000, len = 2000
[   55.171905] EAC mode: play disabled, rec disabled
[   64.946350] EAC mode: play enabled, rec enabled
[   68.031463] EAC mode: play disabled, rec disabled
and mount gives:

Code:
/dev/root on /mnt/initfs type jffs2 (rw)
none on /mnt/initfs/proc type proc (rw)
none on /mnt/initfs/sys type sysfs (rw)
none on /mnt/initfs/tmp type tmpfs (rw)
/dev/mtdblock4 on / type jffs2 (rw,rpsize=1024,rpuid=0,rpuid=30000)
none on /tmp type tmpfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
none on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
/dev/mmcblk1p1 on /media/mmc1 type vfat (rw,noauto,nodev,noexec,nosuid,utf8,uid=29999,shortname=mixed,ro,nosuid,nodev,noexec,sync,noatime,nodiratime)
/dev/mmcblk0p1 on /media/mmc2 type vfat (rw,noauto,nodev,noexec,nosuid,utf8,uid=29999,shortname=mixed,ro,nosuid,nodev,noexec,sync,noatime,nodiratime)
While the mount output is pretty normal, I find the dmesg very weird, but then I am a DebianX86 kinds of person and this is my first Internet Tablet/PDA.

BTW I used vi a lot which, I am sure you know, is considered a penance authorized by Saint IGNUcius of the Church of Emacs, and since I used to code win32 in a distant past I need all the penances I can get to maintain my staning among the Saint of the Church of Emacs, in particular since dislike and *never* used Emacs

Any ideas on how to fix my corrupt zsh issue?

Khvala,

VS

PS: Slackware might be flying, but Debian is soaring :-))

Last edited by vees; 04-23-2007 at 01:26 PM.
 
Old 04-24-2007, 11:29 AM   #6
SCerovec
Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware x86 and ARM and Porteus
Posts: 655

Rep: Reputation: 45
Thumbs up harochoy ;-)

Ahh, batchushka - moy brath :-D (speling?)

to our course:

Quote:
Originally Posted by vees
dmesg:

Code:
age_handle+0x0/0x1f4 [umac]) from [<bf0441b4>] (sm_drv_spi_wq+0x374/0x568 [cx3110x])
[   34.191650]  r8 = 00000000  r7 = C7976800  r6 = C5D568FC  r5 = C5D568E0
[   34.191711]  r4 = C7C11EE6 
[   34.191741] [<bf043e40>] (sm_drv_spi_wq+0x0/0x568 [cx3110x]) from [<c0064230>] (run_workqueue+0xac/0xfc)
[   34.191894] [<c0064184>] (run_workqueue+0x0/0xfc) from [<c00643a0>] (worker_thread+0x120/0x180)
[   34.191955]  r7 = 00000001  r6 = C7C11F80  r5 = C03E06A8  r4 = C03E06B0
[   34.192016] [<c0064280>] (worker_thread+0x0/0x180) from [<c0067b1c>] (kthread+0xe0/0x114)
[   34.192108] [<c0067a3c>] (kthread+0x0/0x114) from [<c0055a18>] (do_exit+0x0/0x7fc)
[   34.192169] Division by zero in kernel.<-- looks BAD
[   34.192199] [<c00284b0>] (dump_stack+0x0/0x14) from [<c0028f24>] (__div0+0x18/0x20)
[   34.192291] [<c0028f0c>] (__div0+0x0/0x20) from [<c00ff97c>] (Ldiv0+0x8/0x10)
[   34.192352] [<bf01cf34>] (pdlp_lmac_second_callback+0x0/0xe8 [umac]) from [<bf00219c>] (fw_ctrl_accept+0x60/0xe8 [umac])
[   34.192993]  r8 = C0012000  r7 = C7976800  r6 = FFFFFFFF  r5 = C0012000
[   34.193054]  r4 = C572D9C0 
[   34.193084] [<bf00213c>] (fw_ctrl_accept+0x0/0xe8 [umac]) from [<bf000908>] (prism_interconnect_message_handle+0x38/0x1f4 [umac])
[   34.193542]  r6 = C5D568FC  r5 = C5D568E0  r4 = C5D568FC 
[   34.193572] [<bf0008d0>] (prism_interconnect_message_handle+0x0/0x1f4 [umac]) from [<bf0441b4>] (sm_drv_spi_wq+0x374/0x568 [cx3110x])
[   34.194152]  r8 = 00000000  r7 = C7976800  r6 = C5D568FC  r5 = C5D568E0
[   34.194213]  r4 = C7C11EE6 
[   34.194244] [<bf043e40>] (sm_drv_spi_wq+0x0/0x568 [cx3110x]) from [<c0064230>] (run_workqueue+0xac/0xfc)
[   34.194396] [<c0064184>] (run_workqueue+0x0/0xfc) from [<c00643a0>] (worker_thread+0x120/0x180)
[   34.194488]  r7 = 00000001  r6 = C7C11F80  r5 = C03E06A8  r4 = C03E06B0
[   34.194519] [<c0064280>] (worker_thread+0x0/0x180) from [<c0067b1c>] (kthread+0xe0/0x114)
[   34.194610] [<c0067a3c>] (kthread+0x0/0x114) from [<c0055a18>] (do_exit+0x0/0x7fc)
[   34.194671] Division by zero in kernel.<-- looks BAD
[   34.194702] [<c00284b0>] (dump_stack+0x0/0x14) from [<c0028f24>] (__div0+0x18/0x20)
[   34.194793] [<c0028f0c>] (__div0+0x0/0x20) from [<c00ff97c>] (Ldiv0+0x8/0x10)
[   34.194854] [<bf01cf34>] (pdlp_lmac_second_callback+0x0/0xe8 [umac]) from [<bf00219c>] (fw_ctrl_accept+0x60/0xe8 [umac])
[   34.195495]  r8 = C0012000  r7 = C7976800  r6 = FFFFFFFF  r5 = C0012000
[   34.195556]  r4 = C572D9C0 
[   34.195556] [<bf00213c>] (fw_ctrl_accept+0x0/0xe8 [umac]) from [<bf000908>] (prism_interconnect_message_handle+0x38/0x1f4 [umac])
[   34.196014]  r6 = C5D568FC  r5 = C5D568E0  r4 = C5D568FC 
[   34.196075] [<bf0008d0>] (prism_interconnect_message_handle+0x0/0x1f4 [umac]) from [<bf0441b4>] (sm_drv_spi_wq+0x374/0x568 [cx3110x])
[   34.196441]  r8 = 00000000  r7 = C7976800  r6 = C5D568FC  r5 = C5D568E0
[   34.196472]  r4 = C7C11EE6 
[   34.196502] [<bf043e40>] (sm_drv_spi_wq+0x0/0x568 [cx3110x]) from [<c0064230>] (run_workqueue+0xac/0xfc)
[   34.196655] [<c0064184>] (run_workqueue+0x0/0xfc) from [<c00643a0>] (worker_thread+0x120/0x180)
[   34.196746]  r7 = 00000001  r6 = C7C11F80  r5 = C03E06A8  r4 = C03E06B0
[   34.196777] [<c0064280>] (worker_thread+0x0/0x180) from [<c0067b1c>] (kthread+0xe0/0x114)
[   34.196868] [<c0067a3c>] (kthread+0x0/0x114) from [<c0055a18>] (do_exit+0x0/0x7fc)
[   34.196929] Division by zero in kernel.<-- looks very BAD
[   34.196960] [<c00284b0>] (dump_stack+0x0/0x14) from [<c0028f24>] (__div0+0x18/0x20)
[   34.197052] [<c0028f0c>] (__div0+0x0/0x20) from [<c00ff97c>] (Ldiv0+0x8/0x10)
[   34.197113] [<bf01cf34>] (pdlp_lmac_second_callback+0x0/0xe8 [umac]) from [<bf00219c>] (fw_ctrl_accept+0x60/0xe8 [umac])
[   34.197753]  r8 = C0012000  r7 = C7976800  r6 = FFFFFFFF  r5 = C0012000
[   34.197814]  r4 = C572D9C0 
[   34.197845] [<bf00213c>] (fw_ctrl_accept+0x0/0xe8 [umac]) from [<bf000908>] (prism_interconnect_message_handle+0x38/0x1f4 [umac])
[   34.198303]  r6 = C5D568FC  r5 = C5D568E0  r4 = C5D568FC 
[   34.198364] [<bf0008d0>] (prism_interconnect_message_handle+0x0/0x1f4 [umac]) from [<bf0441b4>] (sm_drv_spi_wq+0x374/0x568 [cx3110x])
[   34.198730]  r8 = 00000000  r7 = C7976800  r6 = C5D568FC  r5 = C5D568E0
[   34.198791]  r4 = C7C11EE6 
[   34.198791] [<bf043e40>] (sm_drv_spi_wq+0x0/0x568 [cx3110x]) from [<c0064230>] (run_workqueue+0xac/0xfc)
[   34.198944] [<c0064184>] (run_workqueue+0x0/0xfc) from [<c00643a0>] (worker_thread+0x120/0x180)
[   34.199035]  r7 = 00000001  r6 = C7C11F80  r5 = C03E06A8  r4 = C03E06B0
[   34.199096] [<c0064280>] (worker_thread+0x0/0x180) from [<c0067b1c>] (kthread+0xe0/0x114)
[   34.199157] [<c0067a3c>] (kthread+0x0/0x114) from [<c0055a18>] (do_exit+0x0/0x7fc)
[   34.199249] Division by zero in kernel.<-- looks even more BAD
[   34.199279] [<c00284b0>] (dump_stack+0x0/0x14) from [<c0028f24>] (__div0+0x18/0x20)
[   34.199340] [<c0028f0c>] (__div0+0x0/0x20) from [<c00ff97c>] (Ldiv0+0x8/0x10)
[   34.199432] [<bf01cf34>] (pdlp_lmac_second_callback+0x0/0xe8 [umac]) from [<bf00219c>] (fw_ctrl_accept+0x60/0xe8 [umac])
[   34.200042]  r8 = C0012000  r7 = C7976800  r6 = FFFFFFFF  r5 = C0012000
[   34.200103]  r4 = C572D9C0 
[   34.200134] [<bf00213c>] (fw_ctrl_accept+0x0/0xe8 [umac]) from [<bf000908>] (prism_interconnect_message_handle+0x38/0x1f4 [umac])
[   34.200592]  r6 = C5D568FC  r5 = C5D568E0  r4 = C5D568FC 
[   34.200622] [<bf0008d0>] (prism_interconnect_message_handle+0x0/0x1f4 [umac]) from [<bf0441b4>] (sm_drv_spi_wq+0x374/0x568 [cx3110x])
[   34.200988]  r8 = 00000000  r7 = C7976800  r6 = C5D568FC  r5 = C5D568E0
[   34.201049]  r4 = C7C11EE6 
[   34.201080] [<bf043e40>] (sm_drv_spi_wq+0x0/0x568 [cx3110x]) from [<c0064230>] (run_workqueue+0xac/0xfc)
[   34.201232] [<c0064184>] (run_workqueue+0x0/0xfc) from [<c00643a0>] (worker_thread+0x120/0x180)
[   34.201293]  r7 = 00000001  r6 = C7C11F80  r5 = C03E06A8  r4 = C03E06B0
[   34.201354] [<c0064280>] (worker_thread+0x0/0x180) from [<c0067b1c>] (kthread+0xe0/0x114)
[   34.201446] [<c0067a3c>] (kthread+0x0/0x114) from [<c0055a18>] (do_exit+0x0/0x7fc)
[   34.201721] Division by zero in kernel.<-- see ? looks BAD
[   34.201751] [<c00284b0>] (dump_stack+0x0/0x14) from [<c0028f24>] (__div0+0x18/0x20)
[   34.201843] [<c0028f0c>] (__div0+0x0/0x20) from [<c00ff97c>] (Ldiv0+0x8/0x10)
[   34.201904] [<bf01cf34>] (pdlp_lmac_second_callback+0x0/0xe8 [umac]) from [<bf00219c>] (fw_ctrl_accept+0x60/0xe8 [umac])
[   34.202545]  r8 = C0012000  r7 = C7976800  r6 = FFFFFFFF  r5 = C0012000
[   34.202606]  r4 = C572D9C0 
[   34.202606] [<bf00213c>] (fw_ctrl_accept+0x0/0xe8 [umac]) from [<bf000908>] (prism_interconnect_message_handle+0x38/0x1f4 [umac])
[   34.203063]  r6 = C5D568FC  r5 = C5D568E0  r4 = C5D568FC 
[   34.203125] [<bf0008d0>] (prism_interconnect_message_handle+0x0/0x1f4 [umac]) from [<bf0441b4>] (sm_drv_spi_wq+0x374/0x568 [cx3110x])
[   34.203491]  r8 = 00000000  r7 = C7976800  r6 = C5D568FC  r5 = C5D568E0
[   34.203552]  r4 = C7C11EE6 
[   34.203552] [<bf043e40>] (sm_drv_spi_wq+0x0/0x568 [cx3110x]) from [<c0064230>] (run_workqueue+0xac/0xfc)
[   34.203704] [<c0064184>] (run_workqueue+0x0/0xfc) from [<c00643a0>] (worker_thread+0x120/0x180)
[   34.203796]  r7 = 00000001  r6 = C7C11F80  r5 = C03E06A8  r4 = C03E06B0
[   34.203857] [<c0064280>] (worker_thread+0x0/0x180) from [<c0067b1c>] (kthread+0xe0/0x114)
[   34.203918] [<c0067a3c>] (kthread+0x0/0x114) from [<c0055a18>] (do_exit+0x0/0x7fc)
[   34.527954] cx3110x: PSM dynamic with 1000 ms CAM timeout
[   35.698120] EAC mode: play enabled, rec enabled
[   43.347442] EAC mode: play disabled, rec disabled
[   49.674682] JFFS2 warning: (625) jffs2_sum_write_sumnode: Not enough space for summary, padsize = -1271<-- looks INTERESTING what IS padding???
[   52.746765] EAC mode: play enabled, rec enabled
[   52.867370] omapdsp: mmap info: vmadr = 4000c000, padr = 86610000, len = 2000
[   55.171905] EAC mode: play disabled, rec disabled
[   64.946350] EAC mode: play enabled, rec enabled
[   68.031463] EAC mode: play disabled, rec disabled
and mount gives:

Code:
/dev/root on /mnt/initfs type jffs2 (rw)<-- the real root
none on /mnt/initfs/proc type proc (rw)
none on /mnt/initfs/sys type sysfs (rw)
none on /mnt/initfs/tmp type tmpfs (rw)
/dev/mtdblock4 on / type jffs2 (rw,rpsize=1024,rpuid=0,rpuid=30000)<--this is after pivot root
none on /tmp type tmpfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
none on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
/dev/mmcblk1p1 on /media/mmc1 type vfat (rw,noauto,nodev,noexec,nosuid,utf8,uid=29999,shortname=mixed,ro,nosuid,nodev,noexec,sync,noatime,nodiratime)
/dev/mmcblk0p1 on /media/mmc2 type vfat (rw,noauto,nodev,noexec,nosuid,utf8,uid=29999,shortname=mixed,ro,nosuid,nodev,noexec,sync,noatime,nodiratime)
While the mount output is pretty normal, I find the dmesg very weird, but then I am a DebianX86 kinds of person and this is my first Internet Tablet/PDA.
I agree, it seems like a 'broken' 2.4.x with bad modules/patches (like on mandrake and SuSE back then)
Quote:
...
Any ideas on how to fix my corrupt zsh issue?
Seek among FS errors and HW failures (eeprom/drivers)
Could You find any trace of zsh on your system?
Could You examine the package of zsh You downloaded?
Is there a way to re-flash the system clean and from scratch? is there a newer version by now?
A kernel source?
What about my WHR/WRT suggestion? Possible or not?
Quote:
PS: Slackware might be flying, but Debian is soaring :-))
Ya, ya, "A housecat may mock the tiger, but doing so will not turn his purr to roar" :-)
 
Old 04-24-2007, 11:40 AM   #7
vees
Member
 
Registered: Jun 2005
Location: the Imperial Homeland
Distribution: Debian, gNewSense
Posts: 117

Original Poster
Rep: Reputation: 15
Дорогой мой соплеменник,

Quote:
Seek among FS errors and HW failures (eeprom/drivers)
Could You find any trace of zsh on your system?
Could You examine the package of zsh You downloaded?
Is there a way to re-flash the system clean and from scratch? is there a newer version by now?
A kernel source?
What about my WHR/WRT suggestion? Possible or not?
There are plenty of traces of zsh on my system, more irritatingly, it still shows up on my package manager. As for examining it, I sure can - but what do you want me to look for? If you are referring to the source code, I suppose I can get it also, but going through the entire source is not something I have to time to do although some stracing would point me in the correct direction, but my N800 does not come with such applications.

I could re-flash it, of course, but that would kill all my user apps and config. I just did that a couple of weeks ago and I really don't want to do that again.

What is WHR/WRT again? I am not sure I understand.

BTW - I also noticed the division by zero in the kernel, but I don't think that is the cause as this does not trigger any detectable problems in any other application and since I have the very latest kernel version.

Quote:
Ya, ya, "A housecat may mock the tiger, but doing so will not turn his purr to roar" :-)
Yes, but the mouse dreams dreams which would terrify a cat :-))

Last edited by vees; 04-24-2007 at 11:43 AM.
 
Old 04-25-2007, 04:24 AM   #8
SCerovec
Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware x86 and ARM and Porteus
Posts: 655

Rep: Reputation: 45
Talking panymayesh?

Quote:
Originally Posted by vees

There are plenty of traces of zsh on my system, more irritatingly, it still shows up on my package manager. As for examining it, I sure can - but what do you want me to look for? If you are referring to the source code, I suppose I can get it also, but going through the entire source is not something I have to time to do although some stracing would point me in the correct direction, but my N800 does not come with such applications.
If You could find where pkg-tools are keeping info about that zsh residue, You might remove it.
Before removing it, It would give You clues where to look for the parts of zsh around the filesystem...
Once You clean-sweep the system of zsh, You might give it another shot ;-)
But, this time with an other version of the package... Or try ash or bash instead...
Analyzing the zsh-package and comparing it to a correctly installed one might provide clues... the packages should be analyzed on a desktop system, not on the mobile rig...
Quote:
I could re-flash it, of course, but that would kill all my user apps and config. I just did that a couple of weeks ago and I really don't want to do that again.
If You succeed with the above, then keep it, but if You fail, either reflash or use it broken. Any other solution?
Quote:
What is WHR/WRT again? I am not sure I understand.
go here:http://openwrt.org/ and read... :-) I recommend You try it if possible. You would need a Wireless router to installi on.
Quote:
BTW - I also noticed the division by zero in the kernel, but I don't think that is the cause as this does not trigger any detectable problems in any other application and since I have the very latest kernel version.
That might prove true, but I would rather know what causes it if it where on my device...
Quote:
Yes, but the mouse dreams dreams which would terrify a cat :-))
Did You ever try Slackware? no? Try Slax instead: http://www.slax.org ;-)
 
Old 04-25-2007, 08:27 AM   #9
vees
Member
 
Registered: Jun 2005
Location: the Imperial Homeland
Distribution: Debian, gNewSense
Posts: 117

Original Poster
Rep: Reputation: 15
Quote:
If You could find where pkg-tools are keeping info about that zsh residue, You might remove it.
Before removing it, It would give You clues where to look for the parts of zsh around the filesystem...
Once You clean-sweep the system of zsh, You might give it another shot ;-)
But, this time with an other version of the package... Or try ash or bash instead...
Analyzing the zsh-package and comparing it to a correctly installed one might provide clues... the packages should be analyzed on a desktop system, not on the mobile rig...
I will try to take a look at it this week-end see if I can come up with anything

Quote:
If You succeed with the above, then keep it, but if You fail, either reflash or use it broken. Any other solution?
nope, these are the options, but I would leave a broken package before I reflash...

Quote:
go here:http://openwrt.org/ and read... :-) I recommend You try it if possible. You would need a Wireless router to installi on.
alas, ain't got one (as the locals say)..

Quote:
Did You ever try Slackware? no? Try Slax instead: http://www.slax.org ;-)
yep, tried Slack a couple of times since 2002 and never found out why some people like it so much. not to start a off-topic flamewar, but I fail to see what it might offer which Debian (& Co) might not already do while the Debian (& Co) have plenty (starting with an awesome package manager). I even tried Slax (I am not that much of a Debian bigot, I even enjoy FreeBSD on one of my machines). Can you tell me what you find so attractive in Slackware?
 
Old 04-25-2007, 12:41 PM   #10
SCerovec
Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware x86 and ARM and Porteus
Posts: 655

Rep: Reputation: 45
Cool :-? <-- a guy with the pipe ;-)

Ehh, moy borot Rus, kak twoy Zheesny?

Quote:
Originally Posted by vees
I will try to take a look at it this week-end see if I can come up with anything
I would suggest to rather try to build zsh from source if the package seems messy...

Regarding the division by zero stuff, It sure smells like broken compiler, right?

Would You post a
Code:
# uname -a
output ?

Quote:
alas, ain't got one (as the locals say)..
Could You get one anyhow? See the HCL on OpenWRT's site...
Quote:
yep, tried Slack a couple of times since 2002 and never found out why some people like it so much. not to start a off-topic flamewar, but I fail to see what it might offer which Debian (& Co) might not already do while the Debian (& Co) have plenty (starting with an awesome package manager). I even tried Slax (I am not that much of a Debian bigot, I even enjoy FreeBSD on one of my machines). Can you tell me what you find so attractive in Slackware?
Code:
I don't know why people like motor-cycles so much when they offer so much less comared to vans: They only have two wheels, while the vans have often twice as much. The vans have roof and floor, the motor-cycles lack of both. So what's the hype 'bout motorcycles anyhow?
Well,
1. I must learn and make homework right from the start, it keeps me informed.
2. It keeps me fit, as it evolves, so must I too.
3. It's a 'bare-bone' Linux OS - everything that works by my own hands, provides me with satisfaction.
4. It's often easy to follow up a feature and fix it, it gives one a good insight of things.
5. It can be tweaked damn fast, no real OS boots faster than a tweaked Slack, only LFS
6. It's so elemental, once mastered, You are anywhere like home.
7. There is Patrick, he has time for every slacker, he's a generator of good will.
8. Since I got Slackware, I own every CPU cycle of my computer - I'm in total control of it.
9. Slackware is so tight, one can learn to know it overall.
10. Slackware's solutions are simple and just work.
11. Slackware was never bloated with second-best software. Only tops make it to Slack.
After all I don't need a reason, I just like it. I feel like flying while on Slackware d;-)
Spasiba.
 
Old 04-28-2007, 07:48 AM   #11
vees
Member
 
Registered: Jun 2005
Location: the Imperial Homeland
Distribution: Debian, gNewSense
Posts: 117

Original Poster
Rep: Reputation: 15
Moi zhizn is just fine - how about yours?

Quote:
I would suggest to rather try to build zsh from source if the package seems messy...
Oh boy, that's not something I wanna do on this table, in particular with a (possibly) messed up compiler

uname -a gives:

Code:
Linux Nokia-N800-10 2.6.18-omap1 #2 Wed Mar 7 15:36:09 EET 2007 armv6l unknown
Quote:
Well,
1. I must learn and make homework right from the start, it keeps me informed.
2. It keeps me fit, as it evolves, so must I too.
3. It's a 'bare-bone' Linux OS - everything that works by my own hands, provides me with satisfaction.
4. It's often easy to follow up a feature and fix it, it gives one a good insight of things.
5. It can be tweaked damn fast, no real OS boots faster than a tweaked Slack, only LFS
6. It's so elemental, once mastered, You are anywhere like home.
7. There is Patrick, he has time for every slacker, he's a generator of good will.
8. Since I got Slackware, I own every CPU cycle of my computer - I'm in total control of it.
9. Slackware is so tight, one can learn to know it overall.
10. Slackware's solutions are simple and just work.
11. Slackware was never bloated with second-best software. Only tops make it to Slack.
After all I don't need a reason, I just like it. I feel like flying while on Slackware d;-)
Spasiba.
ok. thanks for the explanation.

Cheers!

VS
 
Old 05-02-2007, 03:45 AM   #12
SCerovec
Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware x86 and ARM and Porteus
Posts: 655

Rep: Reputation: 45
Lightbulb panymayem B-)

Quote:
Originally Posted by vees
Oh boy, that's not something I wanna do on this table, in particular with a (possibly) messed up compiler

uname -a gives:

Code:
Linux Nokia-N800-10 2.6.18-omap1 #2 Wed Mar 7 15:36:09 EET 2007 armv6l unknown
I was hoping it will show the gcc version or so... :-/
Colud You find out which gcc was involved for building the OS and which for building the said zsh?

May be the difference of them causes the breakage?
is there a pkginfo or similar tool?
Did you try other shells? What is your current shell on the N800?
ash, bash, busybox or...?
Quote:
ok. thanks for the explanation.
Not that it helps you:-), but You are welcome anytime.

One of the typical problems related to installation problems is poor package quality.
The important things to beware:
1. Right gcc version
2. When dynamically linked, the right glibc version
3. Right file-premissions
4. Right package structure
5. Right places of file-deployment during install
6. Dependencies (expected vs. actually used)

the 1. 2. and 3. cause most problems with newbie packagers.
The package structure (4.) depends on the building tool. The install tool must be from the same version and source as the build tool.
Sometimes, file location change between releases (5.), the package can fall behind and fail to follow up the changes.
The claimed dependencies (6.) sometimes could have missing a required package. This missing package, overseen by the package builder, can cause trouble...

Could it be, You have a more recent OS version than the zsh-package was built for?
Then You either must upgrade zsh, or revert the OS (reflash) in order to have zsh at all.

If I had this kind of problem, I would reflash to a claimed most-stable release and cross-compile zsh on desktop with the right gcc and glibc version (I would have the N800 SDK installed on the build host).
For You this means, You _first_ have to backup all Your data elsewhere from the N800.
 
Old 05-02-2007, 10:41 PM   #13
vees
Member
 
Registered: Jun 2005
Location: the Imperial Homeland
Distribution: Debian, gNewSense
Posts: 117

Original Poster
Rep: Reputation: 15
Quote:
I was hoping it will show the gcc version or so... :-/
Colud You find out which gcc was involved for building the OS and which for building the said zsh?

May be the difference of them causes the breakage?
is there a pkginfo or similar tool?
Did you try other shells? What is your current shell on the N800?
ash, bash, busybox or...?
The N800 does not even come with a shell out of the box, but bash-like shells are available, though they are clearly not the real thing. The N800 being rather new (January 2007) there are not that many applications ported to it yet, much less than for the N770. The compiler issue might be the cause, but frankly I do not have the energy to go into that.

Quote:
One of the typical problems related to installation problems is poor package quality.
The important things to beware:
There is no doubt that there are packaging issues for the "2007 OS" (Maemo) that is on the N800, if only because this is only a Debian-like and not the real thing. Frankly, while by Windoze standarts Maemo is just totally awesome, by Debian standarts its rather buggy. Which is fine by me since, after all, this is just an Internet Tablet which, at best, can only be considered a mini-computer. Not to mention that it is far, far superior to any Palm, iPaq, or any other similar tablet/PDA out there.

No - I guess I will have to live with some buggy 'features' and backup often (which one should do anyway).

Kind regards,

VS
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get root password or R&D mode for the Nokia N800? vees Linux - Laptop and Netbook 14 06-26-2008 01:51 AM
Nokia N800 pointers please vees Linux - Laptop and Netbook 6 04-03-2007 05:51 PM
Nokia n800 vs pepper pad which one is most customizable, easier to use izquierdista Linux - Laptop and Netbook 1 04-02-2007 09:04 PM
Nokia n800 is it worth it?? need input before buying izquierdista Linux - Laptop and Netbook 4 03-17-2007 11:00 PM
LXer: News: Nokia Seeks Application Ideas For Linux-Based N800 Tablet LXer Syndicated Linux News 0 02-23-2007 08:01 AM


All times are GMT -5. The time now is 06:50 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration