Notices


Reply
Thread Tools
Posts: 182 | Thanked: 540 times | Joined on Aug 2009 @ Finland
#131
PVR-related errors in dmesg are due to something wrong in setting up memory exchange with graphics controller. I guess framebuffer is messing up something. Do you really need a framebuffer for this kernel?
 

The Following User Says Thank You to abbra For This Useful Post:
Posts: 540 | Thanked: 288 times | Joined on Sep 2009
#132
Originally Posted by abbra View Post
I guess framebuffer is messing up something. Do you really need a framebuffer for this kernel?
Not anymore, updated zImage (and corresponding modules deb) are in SVN now (as well as the updated hotspot_config.patch)
 
Posts: 540 | Thanked: 288 times | Joined on Sep 2009
#133
Originally Posted by hcm View Post
And should it be possible to activate WEP just by configuring a key in the backend script? I would like to try that also, because at least it would require a little more knowledge/software/criminal intend to break into my hotspot (my 3G volume is limited )
gc.set_string('/apps/mobilehotspot/encryption_algo', 'WEP')
gc.set_string('/apps/mobilehotspot/encryption_key', 'key bytes')

note that the encryption key here is the actual bytes of the key, hotspot_backend.py will take care of hex-encoding them for iwconfig.

Also note that hotsport_backend.py will padd the key with zeroes to get it to exactly 13 bytes (and in case your set key is longer than 13 bytes it will trim it down ot 13bytes). You can see the exact hex-encoded key in hotspot_backend.py output when it calls iwconfig.

Note that my Mac laptop refused to even see the N900 hotspot when encryption was enabled so it might be that this does not actually work even if from the device POV it seems to.

To disable/re-enable encryption you can just unset/set the encryption_algo config key.
 
Posts: 540 | Thanked: 288 times | Joined on Sep 2009
#134
seems we have fiasco-gen so we can buld .deb flashable kernel package, i'll look into this next week/weekend (now in London...)
 

The Following User Says Thank You to rambo For This Useful Post:
Posts: 318 | Thanked: 49 times | Joined on Nov 2009
#135
Originally Posted by rambo View Post
Great, I'll build patched kernel (well, modules would be enough but dpkg-buildpackage always does everything) when I have slept.

Started work on the GUI, now you can choose the connection to share via it.
Does that mean an easily installable app that I can install from app manager soon?

The one and only thing missing from my old symbian phone is Joikuspot
 
Posts: 540 | Thanked: 288 times | Joined on Sep 2009
#136
Originally Posted by woodyear99 View Post
Does that mean an easily installable app that I can install from app manager soon?
it depends on many things, pushing something using a custom kernel the the normal maemo-extras will take quite a bit of testing.

if you'd like help please see the project homepage for installatioh instructions.
 

The Following 2 Users Say Thank You to rambo For This Useful Post:
Posts: 355 | Thanked: 566 times | Joined on Nov 2009 @ Redstone Canyon, Colorado
#137
I have rebuilt a kernel for PR1.1 with lots of .kos.

http://www.freemoe.org/users/jebba/d.../binary-armel/
http://www.freemoe.org/users/jebba/jebba.install

I'm getting quite a bunch of reboots with it though, which I didn't have before...
 

The Following 2 Users Say Thank You to jebba For This Useful Post:
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#138
Any interesting oopses?
__________________
My repository

"N900 community support for the MeeGo-Harmattan" Is the new "Mer is Fremantle for N810".

No more Nokia devices for me.
 
Posts: 2 | Thanked: 8 times | Joined on Feb 2010
#139
I was getting reboots too, although they might be unrelated to yours since I compiled my own kernel. For some reason, when my laptop associates with my phone in ad-hoc mode the mac80211 driver decides to only use one rate, which causes the driver to access uninitialized memory and panic.

This is the quick fix I used. I don't understand enough about the mac80211 driver to figure out quickly why only one rate is listed, but this stops the bugcheck and gets tethering working.

Code:
diff -U3 ~/old/rc80211_minstrel rc80211_minstrel.c
--- /home/jperry/old/min_OLD    2010-02-09 02:04:27.000000000 -0800
+++ rc80211_minstrel.c  2010-02-09 02:10:15.000000000 -0800
@@ -224,7 +224,7 @@
        unsigned int sample_ndx;
        sample_ndx = SAMPLE_TBL(mi, mi->sample_idx, mi->sample_column);
        mi->sample_idx++;
-       if (mi->sample_idx > (mi->n_rates - 2)) {
+       if (mi->n_rates == 1 || mi->sample_idx > (mi->n_rates - 2)) {
                mi->sample_idx = 0;
                mi->sample_column++;
                if (mi->sample_column >= SAMPLE_COLUMNS)
And here's the OOPS!
Code:
[ 6897.446716] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 6897.446777] pgd = ccd94000
[ 6897.446807] [00000000] *pgd=8e470031, *pte=00000000, *ppte=00000000
[ 6897.446838] Internal error: Oops: 817 [#1] PREEMPT
[ 6897.446868] Modules linked in: pn_pep iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables x_tables vfat fat sd_mod scsi_mod iphb rfcomm panic_info_buff sco bnep l2cap ext3 jbd omaplfb pvrsrvkm bridgedriver g_file_storage uinput board_rx51_camera omap_previewer_hack omap34xxcam_mod isp_mod iovmm videobuf_dma_sg videobuf_core omap3_iommu iommu2 iommu dspbridge ssi_mcsaab_imp cmt_speech phonet mmc_block smc91x omap_hsmmc wl12xx mii omap_wdt omap_ssi mac80211 crc7 hci_h4p tsc2005 nokia_av mmc_core bluetooth fmtx_si4713 videodev et8ek8 ad5820 v4l1_compat adp1653 lis302dl smia_sensor compat_ioctl32 rtc_twl4030 leds_lp5523 smiaregs tsl2563 v4l2_int_device rtc_core leds_twl4030_vibra twl4030_wdt led_class
[ 6897.447509] CPU: 0    Not tainted  (2.6.28-omap1 #1)
[ 6897.447570] PC is at __bug+0x20/0x2c
[ 6897.447601] LR is at release_console_sem+0x200/0x21c
[ 6897.447662] pc : [<c002fe78>]    lr : [<c0057408>]    psr: 60000053
[ 6897.447662] sp : cb1ab958  ip : cb1ab878  fp : cb1ab964
[ 6897.447692] r10: c6948cd4  r9 : c6948cd4  r8 : ce00c1a0
[ 6897.447723] r7 : bf11ab80  r6 : c21ec7a0  r5 : cb1ab9c4  r4 : cf1bb3a0
[ 6897.447784] r3 : 00000000  r2 : 00000203  r1 : ffffc000  r0 : 00000039
[ 6897.447814] Flags: nZCv  IRQs on  FIQs off  Mode SVC_32  ISA ARM  Segment user
[ 6897.447845] Control: 10c5387d  Table: 8cd94018  DAC: 00000015
[ 6897.447875] Process sshd (pid: 2129, stack limit = 0xcb1aa2e0)
[ 6897.447937] Stack: (0xcb1ab958 to 0xcb1ac000)
[ 6897.447937] b940:                                                       cb1ab98c cb1ab968
[ 6897.448028] b960: bf0d5a0c c002fe64 c6948cb0 cb1ab9c4 c6948cd4 c6948cb0 cb1aba00 00000008
[ 6897.448120] b980: cb1ab9f4 cb1ab990 bf0dbabc bf0d5960 cb1ab9c4 c0157a50 c6948cb0 cb1aba00
[ 6897.448181] b9a0: cb1ab9f4 cb1ab9b0 bf0db1b8 bf0de6d0 00000000 00000000 ce00c1a0 cf1bb3a0
[ 6897.448272] b9c0: ce00c1a0 ffffff80 cb1ab9f4 cb1aa000 c6948cb0 ce00c1a0 00000000 cb1aba00
[ 6897.448364] b9e0: c6948cd4 cf1bb000 cb1aba5c cb1ab9f8 bf0dd830 bf0db63c cfe44680 c6948cd4
[ 6897.448425] ba00: c6948cb0 cf1bb000 ce00c1a0 cf1bb3a0 c21ec600 00000000 bf11abd4 0000ffff
[ 6897.448516] ba20: 00000000 00000000 00000800 00000002 cb1abafc c5ed4600 c6948cb0 c6948cb0
[ 6897.448608] ba40: ce018400 ce1523c0 000c325b ce018400 cb1aba8c cb1aba60 c0218304 bf0dd4c8
[ 6897.448669] ba60: c00b3f0c c00b1e9c 00000003 c5ed4600 ce1523c0 c6948cb0 cb1aa000 c6948cb0
[ 6897.448760] ba80: cb1ababc cb1aba90 c0227fb0 c021810c 00000001 c5ed4600 00000000 c6948cb0
[ 6897.448852] baa0: ce018400 00000008 ce00c1a0 cb1abb02 cb1abae4 cb1abac0 c021b374 c0227eb4
[ 6897.448913] bac0: 00000006 0000000c c6948cb0 0000001c 00000008 ce00c1a0 cb1abb4c cb1abae8
[ 6897.449005] bae0: bf0dd0ec c021b058 cf1bb000 ca8de8e4 ca8de8f8 00000008 00000018 00000008
[ 6897.449096] bb00: 00080002 1a000000 e6093e92 c25b9bec 09aaa802 45ea6038 00000000 bf2ed8fc
[ 6897.449157] bb20: 00000000 c5ed4700 c6948cb0 c6948cb0 cf1bb000 ce1528c0 000c325b cf1bb000
[ 6897.449249] bb40: cb1abb7c cb1abb50 c0218304 bf0dcb9c 00000004 00000003 bf29718c c5ed4700
[ 6897.449340] bb60: ce1528c0 c6948cb0 cb1aa000 c6948cb0 cb1abbac cb1abb80 c0227fb0 c021810c
[ 6897.449401] bb80: 00000001 c5ed4700 00000000 c6948cb0 cf1bb000 cdd4b480 cde69200 cf1bb000
[ 6897.449493] bba0: cb1abbd4 cb1abbb0 c021b374 c0227eb4 0000000e c6948cb0 c6948cb0 ce6b0400
[ 6897.449584] bbc0: cdd4b480 cde69200 cb1abc0c cb1abbd8 c0222108 c021b058 00000000 00000208
[ 6897.449645] bbe0: cb1abc34 ccb25280 c6948cb0 0000000e 00000002 0000000e cde69200 00000000
[ 6897.449737] bc00: cb1abc34 cb1abc10 c0237f70 c0221e5c c6948cb0 cf1bb000 c6948cb0 00002120
[ 6897.449829] bc20: c6948cb0 cde69200 cb1abc5c cb1abc38 c0238350 c0237cf8 cf1bb000 c0237cec
[ 6897.449890] bc40: 80000000 c023632c c6948cb0 000c325b cb1abc74 cb1abc60 c023792c c0238288
[ 6897.^B^@^@^@^@]^@]<7>mtdoops: Ready 1, 2 (no erase)
[ 6897.450653] ca8de8e4 000c325b cb1abd04 cb1abc78 c02386f0 c023790c cb1abcac cb1abc88
[ 6897.450714] bc80: 00000000 c004eed0 c6b2a730 c0385838 c6b2a730 c0385838 00000000 fffffffe
[ 6897.450805] bca0: 00000000 cbc14000 cb1abcdc cb1abcb8 c6948c00 c6948cb0 c6948c00 00000020
[ 6897.450866] bcc0: cb1abcec cb1abcd0 c02106c8 c02104a8 c6948c00 ce6b0400 c6948c00 cde69200
[ 6897.450958] bce0: 000c325b c6948cb0 00002120 c6948cd4 00000001 000c3258 cb1abd5c cb1abd08
[ 6897.451049] bd00: c02498ec c0238428 cb1abd44 cb1abd18 cabb3540 caae2240 00000000 00000000
[ 6897.451110] bd20: 00000000 00000000 00000000 00000000 c6948c00 c6948c00 cde69200 c6948c00
[ 6897.451202] bd40: c6948c24 0000ff8f 00000001 00000000 cb1abdb4 cb1abd60 c024b2f8 c0249288
[ 6897.451293] bd60: cb1abd94 cb1abd70 c0212038 00000000 000005b4 00000003 000005b4 cb1abf20
[ 6897.451354] bd80: 00065e90 00065e90 cb1abdb4 c6948c00 cde69200 000001e0 00000000 00000000
[ 6897.451446] bda0: cb1aa000 00066070 cb1abe24 cb1abdb8 c02400bc c024ac20 cb1abdf0 7fffffff
[ 6897.451507] bdc0: 00000000 00000001 c006d1a8 cb1abf20 00000000 00000040 000005b4 000005b4
[ 6897.451599] bde0: 00000000 00000000 cb1aa000 000001e0 00000000 00000000 00000008 cb1abe90
[ 6897.451690] be00: 000001e0 00000001 cb1abf20 00065e90 cb1aa000 0006c3d0 cb1abe84 cb1abe28
[ 6897.451751] be20: c020a674 c023f70c c008c148 c008be50 0004b090 000001e0 c5009d80 00000000
[ 6897.451843] be40: 00000000 cb1abe48 00000000 00000000 cb1abf20 00000001 00000000 00000000
[ 6897.451934] be60: 00000040 cb1abe90 cb1abe90 cdd4b840 cb1abf70 000001e0 cb1abf44 cb1abe88
[ 6897.451995] be80: c00b8fc0 c020a5ac 00000000 00000000 cb1abeec cb1abea0 00000000 00000001
[ 6897.452087] bea0: ffffffff cdd4b840 00000000 00000000 00000000 00000000 c6b2a700 c058b840
[ 6897.452148] bec0: 00000000 00000000 c6b2a700 c6b2a700 c006d1a8 cb1abed4 cb1abed4 ccd94000
[ 6897.452239] bee0: 00000000 00000000 cb1abe28 c009c470 cb1abf0c cb1abf00 000001e0 c0132bbc
[ 6897.452331] bf00: cb1abf44 cb1abf10 c00b91b0 c013188c 000000a8 ccd94000 00064598 c979dc34
[ 6897.452392] bf20: 00065e90 000001e0 00065e90 cdd4b840 00065e90 cb1abf70 cb1abf6c cb1abf48
[ 6897.452484] bf40: c00b98d8 c00b8f18 00000000 00000004 00000000 00000000 cdd4b840 000001e0
[ 6897.452575] bf60: cb1abfa4 cb1abf70 c00b9e50 c00b9810 00000000 00000000 c0288038 00000000
[ 6897.452636] bf80: ffffffff 00000003 000001e0 0005aa70 00000004 c002cac4 00000000 cb1abfa8
[ 6897.452728] bfa0: c002c940 c00b9e18 00000003 000001e0 00000003 00065e90 000001e0 00000000
[ 6897.452789] bfc0: 00000003 000001e0 0005aa70 00000004 00064598 00000000 0006c3d0 bee4309c
[ 6897.452880] bfe0: 00000000 bee43090 00033a10 410db6bc 60000050 00000003 00000000 00000000
[ 6897.452972] Backtrace:
[ 6897.453002] [<c002fe58>] (__bug+0x0/0x2c) from [<bf0d5a0c>] (rate_control_get_rate+0xb8/0x150 [mac80211])
[ 6897.453369] [<bf0d5954>] (rate_control_get_rate+0x0/0x150 [mac80211]) from [<bf0dbabc>] (invoke_tx_handlers+0x48c/0xd94 [mac80211])
[ 6897.453765]  r7:00000008 r6:cb1aba00 r5:c6948cb0 r4:c6948cd4
[ 6897.453826] [<bf0db630>] (invoke_tx_handlers+0x0/0xd94 [mac80211]) from [<bf0dd830>] (ieee80211_master_start_xmit+0x374/0x4e8 [mac80211])
[ 6897.454254] [<bf0dd4bc>] (ieee80211_master_start_xmit+0x0/0x4e8 [mac80211]) from [<c0218304>] (dev_hard_start_xmit+0x204/0x294)
[ 6897.454528] [<c0218100>] (dev_hard_start_xmit+0x0/0x294) from [<c0227fb0>] (__qdisc_run+0x108/0x260)
[ 6897.454589]  r8:c6948cb0 r7:cb1aa000 r6:c6948cb0 r5:ce1523c0 r4:c5ed4600
[ 6897.454650] [<c0227ea8>] (__qdisc_run+0x0/0x260) from [<c021b374>] (dev_queue_xmit+0x328/0x4d0)
[ 6897.454742] [<c021b04c>] (dev_queue_xmit+0x0/0x4d0) from [<bf0dd0ec>] (ieee80211_subif_start_xmit+0x55c/0x5c4 [mac80211])
[ 6897.454986]  r9:ce00c1a0 r8:00000008 r7:0000001c r6:c6948cb0 r5:0000000c
[ 6897.455047] r4:00000006
[ 6897.455078] [<bf0dcb90>] (ieee80211_subif_start_xmit+0x0/0x5c4 [mac80211]) from [<c0218304>] (dev_hard_start_xmit+0x204/0x294)
[ 6897.455352] [<c0218100>] (dev_hard_start_xmit+0x0/0x294) from [<c0227fb0>] (__qdisc_run^C^@^@^@^@]^@][ 6897.456054] mtdoops: Ready 2, 3 (no erase)
[ 6897.456085]  r8:c6948cb0 r7:cb1aa000 r6:c6948cb0 r5:ce1528c0 r4:c5ed4700
[ 6897.456176] [<c0227ea8>] (__qdisc_run+0x0/0x260) from [<c021b374>] (dev_queue_xmit+0x328/0x4d0)
[ 6897.456237] [<c021b04c>] (dev_queue_xmit+0x0/0x4d0) from [<c0222108>] (neigh_resolve_output+0x2b8/0x2f0)
[ 6897.456329]  r9:cde69200 r8:cdd4b480 r7:ce6b0400 r6:c6948cb0 r5:c6948cb0
[ 6897.456390] r4:0000000e
[ 6897.456420] [<c0221e50>] (neigh_resolve_output+0x0/0x2f0) from [<c0237f70>] (ip_finish_output+0x284/0x2bc)
[ 6897.456512] [<c0237cec>] (ip_finish_output+0x0/0x2bc) from [<c0238350>] (ip_output+0xd4/0xe8)
[ 6897.456573]  r9:cde69200 r8:c6948cb0 r7:00002120 r6:c6948cb0 r5:cf1bb000
[ 6897.456634] r4:c6948cb0
[ 6897.456665] [<c023827c>] (ip_output+0x0/0xe8) from [<c023792c>] (ip_local_out+0x2c/0x30)
[ 6897.456726]  r5:000c325b r4:c6948cb0
[ 6897.456756] [<c0237900>] (ip_local_out+0x0/0x30) from [<c02386f0>] (ip_queue_xmit+0x2d4/0x348)
[ 6897.456848]  r5:000c325b r4:ca8de8e4
[ 6897.456878] [<c023841c>] (ip_queue_xmit+0x0/0x348) from [<c02498ec>] (tcp_transmit_skb+0x670/0x6d4)
[ 6897.456939] [<c024927c>] (tcp_transmit_skb+0x0/0x6d4) from [<c024b2f8>] (__tcp_push_pending_frames+0x6e4/0x798)
[ 6897.457031] [<c024ac14>] (__tcp_push_pending_frames+0x0/0x798) from [<c02400bc>] (tcp_sendmsg+0x9bc/0xb10)
[ 6897.457092] [<c023f700>] (tcp_sendmsg+0x0/0xb10) from [<c020a674>] (sock_aio_write+0xd4/0xdc)
[ 6897.457214] [<c020a5a0>] (sock_aio_write+0x0/0xdc) from [<c00b8fc0>] (do_sync_write+0xb4/0x104)
[ 6897.457305]  r7:000001e0 r6:cb1abf70 r5:cdd4b840 r4:cb1abe90
[ 6897.457336] [<c00b8f0c>] (do_sync_write+0x0/0x104) from [<c00b98d8>] (vfs_write+0xd4/0x14c)
[ 6897.457427]  r6:cb1abf70 r5:00065e90 r4:cdd4b840
[ 6897.457458] [<c00b9804>] (vfs_write+0x0/0x14c) from [<c00b9e50>] (sys_write+0x44/0x70)
[ 6897.457550]  r7:000001e0 r6:cdd4b840 r5:00000000 r4:00000000
[ 6897.457611] [<c00b9e0c>] (sys_write+0x0/0x70) from [<c002c940>] (ret_fast_syscall+0x0/0x2c)
[ 6897.457672]  r8:c002cac4 r7:00000004 r6:0005aa70 r5:000001e0 r4:00000003
[ 6897.457733] Code: e1a01000 e59f000c eb009ef1 e3a03000 (e5833000)
 

The Following 3 Users Say Thank You to aziwoqpd For This Useful Post:
Posts: 540 | Thanked: 288 times | Joined on Sep 2009
#140
Originally Posted by eber42 View Post
I had some issue with my CMDLINE (i should have read mtdoops.c)
Could you post a HOWTO on what actually needs to be done to get oops logs out of the device (including any changes needed to the kernel config).

I haven't really done any kernel debugging before so I have no idea and figuring it out by myself will take too long (I have other things to do)
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:16.