OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

2 Pages V   1 2 >  
Reply to this topicStart new topic
> Angstrom Hangs With Soft Lockup
Mainframe-junkie
post Mar 9 2008, 12:32 PM
Post #1





Group: Members
Posts: 15
Joined: 9-March 08
From: Ebbelwoi-Town
Member No.: 21,482



Hello friends,

after reading the thread abut the new image with PCMCIA support i decides to flash the image http://www.angstrom-distribution.org/unsta...ad.rootfs.jffs2,
after rebooting Simpad hangs with the following messages :
CODE
.udev/ already exists on the static /dev!                                        
Starting the hotplug events dispatcher udevd                                            
Synthesizing the initial hotplug events                                      
hostap_cs: Registered netdevice wifi0                                    
hostap_hw.c: INTERRUPT BEFORE DEVICE INIT!                                          
hostap_cs: index 0x01: , irq 1, io 0xc4800000-0xc480003f                                                        
wifi0: NIC: id=0x800c v1.0.0                            
wifi0: PRI: id=0x15 v1.1.1                          
wifi0: STA: id=0x1f v1.7.4                          
wifi0: NIC: id=0x800c v1.0.0                          
wifi0: PRI: id=0x15 v1.1.1                          
wifi0: STA: id=0x1f v1.7.4                          
Waiting for /dev to be fully populated                                      
Remounting root file system...                              
root: mount: special device /dev/mtdblock/2 does not exist                                                          
Setting up IP spoofing protection: rp_filter.                                            
Configuring network interfaces... SIOCGIFFLAGS: No such device                                                              
eth0      No such device                        

udhcpc (v1.2.1) started                      
udhcpc[2641]: udhcpc (v1.2.1) started                                    
SIOCGIFINDEX failed!: No such device                                    
udhcpc[2641]: SIOCGIFINDEX failed!: No such device                                                  
done.    
Starting portmap daemon: portmap.                                
BUG: soft lockup - CPU#0 stuck for 11s! [hwclock:2664]                                                      

Pid: 2664, comm:              hwclock                                    
CPU: 0    Not tainted  (2.6.24 #1)                                  
PC is at __do_softirq+0x4c/0xd0                              
LR is at __do_softirq+0x2c/0xd0                              
pc : [<c003d240>]    lr : [<c003d220>]    psr: 60000013                                                      
sp : c2c03d84  ip : c2c03d84  fp : c2c03d9c                                          
r10: c032d424  r9 : c2c02000  r8 : 00000002                                          
r7 : 00000003  r6 : 0000000a  r5 : c0358e5c  r4 : 00000022                                                          
r3 : 20000013  r2 : c0358e20  r1 : 00000104  r0 : 00000000                                                          
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment us                                                            
Control: c2c1b17f  Table: c2c1b17f  DAC: 00000015

I attach the logs for further information.Attached File  Simpad_boot.txt ( 22.72K ) Number of downloads: 6


Thanks for any suggestions and help

Oliver
Go to the top of the page
 
+Quote Post
koen
post Mar 9 2008, 11:59 PM
Post #2





Group: Members
Posts: 1,014
Joined: 4-January 05
From: Enschede, The Netherlands
Member No.: 6,107



Did you try reading the angstrom frontpage? http://www.angstrom-distribution.org/
Go to the top of the page
 
+Quote Post
mister_data
post Mar 10 2008, 08:11 AM
Post #3





Group: Members
Posts: 21
Joined: 1-March 06
From: Leipzig, Germany
Member No.: 9,257



QUOTE(Mainframe-junkie @ Mar 9 2008, 09:32 PM) *
Hello friends,

after reading the thread abut the new image with PCMCIA support i decides to flash the image http://www.angstrom-distribution.org/unsta...ad.rootfs.jffs2,
after rebooting Simpad hangs with the following messages :
CODE
.udev/ already exists on the static /dev!                                        
Starting the hotplug events dispatcher udevd                                            
Synthesizing the initial hotplug events                                      
hostap_cs: Registered netdevice wifi0                                    
hostap_hw.c: INTERRUPT BEFORE DEVICE INIT!                                          
hostap_cs: index 0x01: , irq 1, io 0xc4800000-0xc480003f                                                        
wifi0: NIC: id=0x800c v1.0.0                            
wifi0: PRI: id=0x15 v1.1.1                          
wifi0: STA: id=0x1f v1.7.4                          
wifi0: NIC: id=0x800c v1.0.0                          
wifi0: PRI: id=0x15 v1.1.1                          
wifi0: STA: id=0x1f v1.7.4                          
Waiting for /dev to be fully populated                                      
Remounting root file system...                              
root: mount: special device /dev/mtdblock/2 does not exist                                                          
Setting up IP spoofing protection: rp_filter.                                            
Configuring network interfaces... SIOCGIFFLAGS: No such device                                                              
eth0      No such device                        

udhcpc (v1.2.1) started                      
udhcpc[2641]: udhcpc (v1.2.1) started                                    
SIOCGIFINDEX failed!: No such device                                    
udhcpc[2641]: SIOCGIFINDEX failed!: No such device                                                  
done.    
Starting portmap daemon: portmap.                                
BUG: soft lockup - CPU#0 stuck for 11s! [hwclock:2664]                                                      

Pid: 2664, comm:              hwclock                                    
CPU: 0    Not tainted  (2.6.24 #1)                                  
PC is at __do_softirq+0x4c/0xd0                              
LR is at __do_softirq+0x2c/0xd0                              
pc : [<c003d240>]    lr : [<c003d220>]    psr: 60000013                                                      
sp : c2c03d84  ip : c2c03d84  fp : c2c03d9c                                          
r10: c032d424  r9 : c2c02000  r8 : 00000002                                          
r7 : 00000003  r6 : 0000000a  r5 : c0358e5c  r4 : 00000022                                                          
r3 : 20000013  r2 : c0358e20  r1 : 00000104  r0 : 00000000                                                          
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment us                                                            
Control: c2c1b17f  Table: c2c1b17f  DAC: 00000015

I attach the logs for further information.Attached File  Simpad_boot.txt ( 22.72K ) Number of downloads: 6


Thanks for any suggestions and help

Oliver


Hi,

first: thank you for testing

second: koen's suggestion is to fill a bug report for such errors on http://bugs.openembedded.org

third: i called this error the sa1100-rtc-bug, and there is a dirty solution for simpad available , but is not included yet in oe -> SIMpad-rtc-sa1100.patch

This error comes while running /etc/init.d/hwclock.sh on startup or any other run busybox->hwclock.

Not everyone should have this bug and there is no root cause known yet.

So sorry and keep in mind, this is work in progress, not many developers are around who work's for SIMpad-kernel-2.6.

I will talk to mr_nice for future way to solve this error.

Regards,

mrdata

Go to the top of the page
 
+Quote Post
koen
post Mar 10 2008, 08:36 AM
Post #4





Group: Members
Posts: 1,014
Joined: 4-January 05
From: Enschede, The Netherlands
Member No.: 6,107



QUOTE(mister_data @ Mar 10 2008, 05:11 PM) *
second: koen's suggestion is to fill a bug report for such errors on http://bugs.openembedded.org


Actually my suggestion was to read the news telling people to test r9, not r8. Filing bugs is still recommended, though
Go to the top of the page
 
+Quote Post
fredyd
post Mar 10 2008, 09:38 AM
Post #5





Group: Members
Posts: 38
Joined: 4-April 05
Member No.: 6,787



Well, I vote for the inclusion of your quick'n'dirty patch in OE while waiting for a better solution, since it block me too (didn't try r9 yet). I don't know how many tested r8 or r9, but at least two of them can't boot.

The strange thing is that I never came across this one with previous releases (the ones where PCMCIA was broken).

The good news is that if I insert my NE2K PCMCIA card before it locks up, the card is properly recognized, so I guess PCMCIA is working again!
Thanks a lot.

Fred
Go to the top of the page
 
+Quote Post
fredyd
post Mar 11 2008, 01:26 AM
Post #6





Group: Members
Posts: 38
Joined: 4-April 05
Member No.: 6,787



same thing happens with r9, but I also noticed some strange messages in the boot sequence (did I sleep for 30 years and wake up in 2038?):
CODE
sa1100-rtc sa1100-rtc: rtc core: registered sa1100-rtc as rtc0
SA1100/PXA2xx Watchdog Timer: timer margin 60 sec
TCP cubic registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
sa1100-rtc sa1100-rtc: setting system clock to 2038-01-19 05:58:33 UTC (2147493513)


On a side note, I booted with my CF adaptor plugged in, and I also noticed that message:
CODE
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
hda: TOSHIBA THNCF256MMA, CFA DISK drive
ide0 at 0xc4800000-0xc4800007,0xc480000e on irq 1
ide-cs: hda: Vpp = 0.0
hda: max request size: 128KiB
hda: 500736 sectors (256 MB) w/2KiB Cache, CHS=978/16/32
hda: hda1
fat: disagrees about version of symbol struct_module
modprobe: FATAL: Error inserting fat (/lib/modules/2.6.24/kernel/fs/fat/fat.ko): Invalid module format
Go to the top of the page
 
+Quote Post
mr_nice
post Mar 12 2008, 02:32 PM
Post #7





Group: Members
Posts: 156
Joined: 21-September 05
Member No.: 8,161



hi,
thanks a lot for testing. On my device I am not able to reproduce the error so I suggest the following as a dirty work around.

We create the Image with rtc patch enabled, which will make rtc mostly useless. But also provide an unpatched rtc module? Or the other way around? I do not really like it but an nearly usabe Image is still better than an not usable one?
What do you think?

regards
mr nice

btw: please, someone file a bugreport at bugs.openembedded.org and make it block 2595
Go to the top of the page
 
+Quote Post
Mainframe-junkie
post Mar 16 2008, 05:57 AM
Post #8





Group: Members
Posts: 15
Joined: 9-March 08
From: Ebbelwoi-Town
Member No.: 21,482



The same happened with 2007-12 R10.
Filed Bug 4084, and made him block 2595, as suggested.

Best regards

Oliver
Go to the top of the page
 
+Quote Post
fredyd
post Mar 16 2008, 06:26 AM
Post #9





Group: Members
Posts: 38
Joined: 4-April 05
Member No.: 6,787



mr_nice,
If you can't reproduce the bug, is there any way we could help fixing it?

Fred
Go to the top of the page
 
+Quote Post
mr_nice
post Mar 18 2008, 07:50 AM
Post #10





Group: Members
Posts: 156
Joined: 21-September 05
Member No.: 8,161



Hello all,
once again mrdata helped us and gave me a patch for it smile.gif.
I added it to the bugtracker as a kernel update. hopefully some oe dev with commit rights will add it to .dev and stable.

If you cannot wait wink.gif
I builded a new _unoffical_ Image with the patches and uploaded it here [1].

happy testing

kown bugs:
http://bugs.openembedded.org/show_bug.cgi?id=4096

mr nice
1 http://opensimpad.org/images/c/c1/Angstrom...ad.rootfs.jffs2
Go to the top of the page
 
+Quote Post
Mainframe-junkie
post Mar 20 2008, 05:19 AM
Post #11





Group: Members
Posts: 15
Joined: 9-March 08
From: Ebbelwoi-Town
Member No.: 21,482



Hello mr nice,

just flashed the image and tried if simpad will boot without soft lockup, but unfortunally the error is still there .....

CODE

Starting portmap daemon: portmap.  
Machine: Sim            
SA110
BUG: soft lockup - CPU#0 stuck for 11s! [hwclock:2076]iteba                                                

Pid: 2076, comm:              hwclock0]        
jffs2_scan_eraseblock():
CPU: 0    Not tainted  (2.6.24 #1)x01459a04: 0xbee0 inry cache hash
PC is at __do_softirq+0x54/0xcc2768 bytes)                    
LR is at __do_softirq+0x3c/0xcc                              
pc : [<c003e0dc>]    lr : [<c003e0c4>]    psr: 60000013tead    
jffs2_scan_eraseblock(): Magic bitmask 0x1985
sp : c3027d74  ip : c3027d74  fp : c3027d9c                                          
r3 : 20000013  r2 : 00000104  r1 : c3026000  r0 : 00000000            
stead=4, C          
jffs2_scan_eraseblock():
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user                                                                
Control: c3fbb17f  Table: c3fbb17f  DAC: 00000015                                  
stead    
jf
[<c0026fd8>] (show_regs+0x0/0x4c) from [<c006471c>] (softlockup_tick+0xf4/0x13c)                                                                            
TC

r4:00000028 configured
[<c0064628>] (softlockup_tick+0x0/0x13c) from [<c00429cc>] (run_local_timers+0x1              
stead6:000          
jffs2_scan_eraseblock(): Magic bitmask 0x19
8/0x1c)ound at
[<c00429b4>] (run_local_timers+0x0/0x1c) from [<c0042c9                                                      
r5:00000000 r4:c034d79c                
Starti
[<c00649ec>] (handle_IRQ_event+0x0/0x108) from [<c00667e4>] (handle_level_irq+0x
Console: switching to                    
Synthesizing the initial hotplug ev
ac/0x154)ag at    
r8:00000104 r7:00000105 r6:c034d79c r5:0000001a r4:c035r /dev to be                      
                    
[<c0025000>] (__exception_text_start+0x0/0x60) from [<c0025aa0>] (__irq_svc+0x40A1100 flash: CFI device at 0x0                                                  
/0xb0)    

Exception stack(0xc3027d2c to 0xc3027d74)0itebackements = 000000                  
7d20:                            00000000 c3026000 00000104 20000013 c037a71c          
VFS: Can't find a valid FAT filesystem on dev hda.devices at 0x0
7d40: 00000022 0000000a c037a6e0 00000001 c037ba20 00000000 c3027d9c c3027d74                        
FAT: invalid media value (0x00)                    
7d60: c3027d74 c003e0c4 c003e0dc 60000013 ffffffff    
VFS: Can't find a valid FAT filesystem o    
r6:00000011 r5:fa050000 r4:ffffffff
eth0      No such device          
[<c0025000>] (__exception_text_start+0x0/0x60) from [<c0025aa0>] (__irq_svc+0x40    

Pid: 2077, comm:              hwclock found on MTD devic                
[<c0064f68>] (setup_irq+0x0/0x264) from [<c006529c>] (request_irq+0xd0/0xf8)
r7:c01e7f80 r6:0000001e r5:c3e5fee0 r4:00000000
[<c00651cc>] (request_irq+0x0/0xf8) from [<c01e7b9c>] (sa1100_rtc_open+0x2c/0x10
8)
[<c01e7b70>] (sa1100_rtc_open+0x0/0x108) from [<c01e6b64>] (rtc_dev_open+0x64/0x
d8)
r5:c3dd6800 r4:c3dd6938
[<c01e6b00>] (rtc_dev_open+0x0/0xd8) from [<c009119c>] (chrdev_open+0x1dc/0x1fc)

r6:c31f805c r5:c3dd6938 r4:00000000
[<c0090fc0>] (chrdev_open+0x0/0x1fc) from [<c008bfa4>] (__dentry_open+0x140/0x22
8)
r8:c3e81980 r7:c0090fc0 r6:c31f805c r5:c30e0680 r4:00000000
[<c008be64>] (__dentry_open+0x0/0x228) from [<c008c12c>] (nameidata_to_filp+0x38
/0x4c)
[<c008c0f4>] (nameidata_to_filp+0x0/0x4c) from [<c008c17c>] (do_filp_open+0x3c/0
x44)
r4:00020000
[<c008c140>] (do_filp_open+0x0/0x44) from [<c008c1dc>] (do_sys_open+0x58/0xe4)
r5:00000000 r4:00020000
[<c008c184>] (do_sys_open+0x0/0xe4) from [<c008c2a0>] (sys_open+0x24/0x28)
r8:c00260e4 r7:00000005 r6:0007804c r5:00000000 r4:00000000
[<c008c27c>] (sys_open+0x0/0x28) from [<c0025f40>] (ret_fast_syscall+0x0/0x2c)


Attached is the boot-log of the image.

Anything i can do to help you (and mrdata) with the bug ??

Best regards

Oliver

Attached File  boot.txt ( 18.94K ) Number of downloads: 1
Go to the top of the page
 
+Quote Post
mr_nice
post Mar 20 2008, 08:15 AM
Post #12





Group: Members
Posts: 156
Joined: 21-September 05
Member No.: 8,161



QUOTE(Mainframe-junkie)
Anything i can do to help you (and mrdata) with the bug ??


Hi,
thank you for testing the image!
please try this [1] image. It is build with an different rtc-sa1100 patch.

best regards
mr nice

1 http://opensimpad.org/images/b/b8/2-try-An...ad.rootfs.jffs2
Go to the top of the page
 
+Quote Post
Mainframe-junkie
post Mar 20 2008, 12:56 PM
Post #13





Group: Members
Posts: 15
Joined: 9-March 08
From: Ebbelwoi-Town
Member No.: 21,482



Hello mr_nice,

thanks for this image is flashed it and your easter egg has been brocken.
It fails with soft lookup bug (sorry only some of us have it ...).
Maybe we can pin the bug when we collect our HW-revisions or Serial# about the failing simpads ??

I wish all nice easter

Oliver

Attached File  boot.txt ( 19.83K ) Number of downloads: 6


Go to the top of the page
 
+Quote Post
mr_nice
post Mar 23 2008, 09:25 AM
Post #14





Group: Members
Posts: 156
Joined: 21-September 05
Member No.: 8,161



Hi,
here [1] is another image build with a new patch. Please test it smile.gif.
It provides some debug information, but if you are lucky it solves the rtc problem as well.
It is a repacked r12 image with a new kernel (for my convenience) so it could cause some other problems but should not (tested on my pad).

best regards and happy easter
mr nice

1 http://opensimpad.org/images/1/1e/Simpad-2...image-r12.jffs2

btw: If it really boots and you will be able to log in please do the following as root:

cat /dev/rtc &
cat /proc/interrupts

and test suspend/resume for the rtc bug

My SIMpad is:
HW 4 / SW 2
KW 06/02
Go to the top of the page
 
+Quote Post
Mainframe-junkie
post Mar 23 2008, 11:40 AM
Post #15





Group: Members
Posts: 15
Joined: 9-March 08
From: Ebbelwoi-Town
Member No.: 21,482



Happy easter mr nice,

just flashed and booted ....
New highscore on date, year 2104 beats 2036, but the image seems to loops in hwclock (just a guess...).
We need to hunt on ...

CODE
udhcpc (v1.2.1) started
udhcpc[2677]: udhcpc (v1.2.1) started

SIOCGIFINDEX failed!: No such device
udhcpc[2677]: SIOCGIFINDEX failed!: No such device

done.
Starting portmap daemon: portmap.
IN SA1100_RTC_OPEN:
pointer to sa1100_rtc_interrupt befor IRQ_RTC1Hz: C01DBCAC
rtc pointer in sa1100_rtc_interrupt: C3D83800
INTERRUPT BEFORE DEVICE INIT! - IRQ NOT HANDLED
rtc pointer in sa1100_rtc_interrupt: C3D83800
INTERRUPT BEFORE DEVICE INIT! - IRQ NOT HANDLED
rtc pointer in sa1100_rtc_interrupt: C3D83800
....


My Simpad is KW 25/02 HW 2 / SW 3

best regards and nice easter

Oliver

Attached File  Simpad_03.23.201547.txt ( 11.1K ) Number of downloads: 5

P.S.:
read on ibot about my logs, this was captured with PuTTY (learned how to use serial ...)
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd September 2014 - 08:30 PM