Ticket #2369 (new defect)

Opened 7 years ago

Last modified 11 months ago

cat s3c2440-uart.1/clock_source causes oops in s3c24xx_serial_show_clksrc

Reported by: lindi Owned by: openmoko-kernel
Priority: normal Milestone:
Component: kernel Version: unspecified
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:
Reproducible: always

Description

Steps to reproduce:
1) cat /sys/devices/platform/s3c2440-uart.1/clock_source as normal user

Expected results:
1) the system does not oops

Actual results:
1)

[ 5130.450000] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 5130.450000] pgd = c7b7c000
[ 5130.450000] [00000000] *pgd=36da9031, *pte=00000000, *ppte=00000000
[ 5130.450000] Internal error: Oops: 17 [#1]
[ 5130.450000] Modules linked in: ipv6 fuse btusb bluetooth ohci_hcd tun snd_soc_neo1973_gta02_wm8753 snd_soc_s3c24xx_i2s snd_soc_s3c24xx g_ether snd_soc_wm8753 snd_soc_core snd_pcm_oss snd_mixer_oss ar6000 snd_pcm snd_timer snd_page_alloc s3cmci snd s3c2410_wdt
[ 5130.450000] CPU: 0    Tainted: G        W   (2.6.29-GTA02_lindi2-andy-tracking-mokodev #4)
[ 5130.450000] PC is at s3c24xx_serial_show_clksrc+0x1c/0x30
[ 5130.450000] LR is at dev_attr_show+0x2c/0x4c
[ 5130.450000] pc : [<c0189098>]    lr : [<c0189f14>]    psr: a0000013
[ 5130.450000] sp : c6c8bec8  ip : c6c8bed8  fp : c6c8bed4
[ 5130.450000] r10: 0001b000  r9 : c6c8a000  r8 : c7b6ac38
[ 5130.450000] r7 : c037f320  r6 : c78bb5e4  r5 : c7b6ac20  r4 : c037f174
[ 5130.450000] r3 : 00000000  r2 : c7988000  r1 : 00001000  r0 : c7988000
[ 5130.450000] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[ 5130.450000] Control: c000717f  Table: 37b7c000  DAC: 00000015
[ 5130.450000] Process cat (pid: 8356, stack limit = 0xc6c8a268)
[ 5130.450000] Stack: (0xc6c8bec8 to 0xc6c8c000)
[ 5130.450000] bec0:                   c6c8beec c6c8bed8 c0189f14 c018908c c036c0f4 c7b6ac20 
[ 5130.450000] bee0: c6c8bf14 c6c8bef0 c00e1a28 c0189ef8 00000000 c6c1e640 c7b6ac20 c6c8bf78 
[ 5130.450000] bf00: 00008000 c7b6ac38 c6c8bf4c c6c8bf18 c00e1ad4 c00e19b8 c6c8bf4c c6c8bf28 
[ 5130.450000] bf20: c0034b40 c008d4e0 c6c1e640 0001b000 c6c8bf78 00008000 c002df48 00000000 
[ 5130.450000] bf40: c6c8bf74 c6c8bf50 c00a10b4 c00e1a8c 00000001 00000000 00000000 00000000 
[ 5130.450000] bf60: c6c1e640 00000003 c6c8bfa4 c6c8bf78 c00a13d0 c00a100c 00000000 00000000 
[ 5130.450000] bf80: c0034ee8 00000000 00000000 00008000 0001b000 00000003 00000000 c6c8bfa8 
[ 5130.450000] bfa0: c002dda0 c00a1394 00008000 0001b000 00000003 0001b000 00008000 0001b000 
[ 5130.450000] bfc0: 00008000 0001b000 00000003 00000003 0001b000 00000000 40025000 00000000 
[ 5130.450000] bfe0: 7fffe000 beaef1c0 0000dea0 400eea7c 60000010 00000003 00000000 00000000 
[ 5130.450000] Backtrace: 
[ 5130.450000] [<c018907c>] (s3c24xx_serial_show_clksrc+0x0/0x30) from [<c0189f14>] (dev_attr_show+0x2c/0x4c)
[ 5130.450000] [<c0189ee8>] (dev_attr_show+0x0/0x4c) from [<c00e1a28>] (fill_read_buffer+0x80/0xd4)
[ 5130.450000]  r5:c7b6ac20 r4:c036c0f4
[ 5130.450000] [<c00e19a8>] (fill_read_buffer+0x0/0xd4) from [<c00e1ad4>] (sysfs_read_file+0x58/0x114)
[ 5130.450000]  r8:c7b6ac38 r7:00008000 r6:c6c8bf78 r5:c7b6ac20 r4:c6c1e640
[ 5130.450000] [<c00e1a7c>] (sysfs_read_file+0x0/0x114) from [<c00a10b4>] (vfs_read+0xb8/0x148)
[ 5130.450000] [<c00a0ffc>] (vfs_read+0x0/0x148) from [<c00a13d0>] (sys_read+0x4c/0x7c)
[ 5130.450000]  r7:00000003 r6:c6c1e640 r5:00000000 r4:00000000
[ 5130.450000] [<c00a1384>] (sys_read+0x0/0x7c) from [<c002dda0>] (ret_fast_syscall+0x0/0x2c)
[ 5130.450000]  r6:00000003 r5:0001b000 r4:00008000
[ 5130.450000] Code: e590309c e3a01a01 e513300c e1a00002 (e5933000) 
[ 5130.450000] ---[ end trace ef85096ca71097fb ]---

More info:
1) this is with andy-tracking 2.6.29 a3587e4ed77974ad

Change History

comment:1 Changed 7 years ago by lindi

This occurs also on 2.6.34

http://www.spinics.net/lists/linux-serial/msg02683.html

might be related

comment:2 Changed 7 years ago by gena2x

Here, i can reproduce it, but it seem fails only before port were opened for the first time.

neo:~# uname -a 
Linux neo 2.6.34b5-v28 #11 Sun Oct 31 17:54:41 MSK 2010 armv4tl GNU/Linux

(kernel from radek's .29 tree + jitterless ts patch v4)

fresh booted kernel:

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
neo:~# cat /sys/devices/platform/s3c2440-uart.1/clock_source 
Segmentation fault
neo:~# cat /sys/devices/platform/s3c2440-uart.1/clock_source 
Segmentation fault
neo:~# cat /dev/ttySAC1 
$GPRMC,,V,,,,,,,,,,N*53

$GPVTG,,,,,,,,,N*30

$GPGGA,,,,,,0,00,99.99,,,,,,*48

$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30

$GPGSV,1,1,00*79

$GPGLL,,,,,,V,N*64

$GPZDA,,,,,00,00*48

^C
neo:~# cat /sys/devices/platform/s3c2440-uart.1/clock_source 
* pclk

ops:

[   53.710000] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[   53.710000] pgd = c483c000
[   53.710000] [00000000] *pgd=34834031, *pte=00000000, *ppte=00000000
[   53.710000] Internal error: Oops: 17 [#2]
[   53.710000] last sysfs file: /sys/devices/platform/s3c2440-uart.1/clock_source
[   53.710000] Modules linked in: rfcomm l2cap ipv6 ppp_generic slhc g_ether joydev s3c2410_udc
[   53.710000] CPU: 0    Tainted: G      D     (2.6.34b5-v28 #11)
[   53.710000] PC is at s3c24xx_serial_show_clksrc+0x20/0x34
[   53.710000] LR is at s3c24xx_serial_show_clksrc+0x14/0x34
[   53.710000] pc : [<c02407dc>]    lr : [<c02407d0>]    psr: a0000013
[   53.710000] sp : c482dec0  ip : c482dec0  fp : c482ded4
[   53.710000] r10: c482df78  r9 : c482c000  r8 : 00001000
[   53.710000] r7 : c048dc28  r6 : c03b9a74  r5 : c7d344dc  r4 : c4825000
[   53.710000] r3 : 00000000  r2 : c4825000  r1 : 00001000  r0 : c4825000
[   53.710000] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   53.710000] Control: c000717f  Table: 3483c000  DAC: 00000015
[   53.710000] Process cat (pid: 1611, stack limit = 0xc482c270)
[   53.710000] Stack: (0xc482dec0 to 0xc482e000)
[   53.710000] dec0: c04a1cb4 c7d344dc c482deec c482ded8 c024119c c02407cc c7d46860 c7d344dc
[   53.710000] dee0: c482df14 c482def0 c00e3420 c0241180 c7d46860 c7d46878 c6ed44a0 00015000
[   53.710000] df00: 00001000 c482c000 c482df44 c482df18 c00e3514 c00e33d0 bebfec50 00000000
[   53.710000] df20: c6ed44a0 00001000 00015000 c482df78 c0029044 40025000 c482df74 c482df48
[   53.710000] df40: c0099c18 c00e349c 00000000 00008124 00000001 c6ed44a0 00000000 00000000
[   53.710000] df60: 00000003 c0029044 c482dfa4 c482df78 c0099da4 c0099b70 00000000 00000000
[   53.710000] df80: 00001000 00000000 00000000 00001000 00015000 00015000 00000000 c482dfa8
[   53.710000] dfa0: c0028ec0 c0099d68 00001000 00015000 00000003 00015000 00001000 00015000
[   53.710000] dfc0: 00001000 00015000 00015000 00000003 7fffe000 00000000 40025000 00000000
[   53.710000] dfe0: 00000003 bebfebb8 0000ad20 400d9d5c 60000010 00000003 00000000 00000000
[   53.710000] Backtrace: 
[   53.710000] [<c02407bc>] (s3c24xx_serial_show_clksrc+0x0/0x34) from [<c024119c>] (dev_attr_show+0x2c/0x4c)
[   53.710000]  r5:c7d344dc r4:c04a1cb4
[   53.710000] [<c0241170>] (dev_attr_show+0x0/0x4c) from [<c00e3420>] (fill_read_buffer+0x60/0xcc)
[   53.710000]  r5:c7d344dc r4:c7d46860
[   53.710000] [<c00e33c0>] (fill_read_buffer+0x0/0xcc) from [<c00e3514>] (sysfs_read_file+0x88/0x94)
[   53.710000]  r9:c482c000 r8:00001000 r7:00015000 r6:c6ed44a0 r5:c7d46878
[   53.710000] r4:c7d46860
[   53.710000] [<c00e348c>] (sysfs_read_file+0x0/0x94) from [<c0099c18>] (vfs_read+0xb8/0x16c)
[   53.710000] [<c0099b60>] (vfs_read+0x0/0x16c) from [<c0099da4>] (sys_read+0x4c/0x84)
[   53.710000]  r8:c0029044 r7:00000003 r6:00000000 r5:00000000 r4:c6ed44a0
[   53.710000] [<c0099d58>] (sys_read+0x0/0x84) from [<c0028ec0>] (ret_fast_syscall+0x0/0x2c)
[   53.710000]  r6:00015000 r5:00015000 r4:00001000
[   53.710000] Code: eb000e3f e510300c e3a01a01 e1a00004 (e5933000) 
[   53.710000] ---[ end trace 6eee0da881bf3030 ]---

comment:3 Changed 11 months ago by RoberMync

Canadian Express Pharmacy <a href=http://zol1.xyz/order-zoloft-online-usa.php>Order Zoloft Online Usa</a> Ivermectin Price Usa Levitra Biverkningar <a href=http://kama1.xyz/buy-cheap-generic-kamagra.php>Buy Cheap Generic Kamagra</a> Propecia With Minoxidil Nisim Buy Generic Fluoxetine Visa Shop <a href=http://viag1.xyz/best-generic-viagra.php>Best Generic Viagra</a> Cialis E Desiderio Kamagra Rezeptfrei <a href=http://zol1.xyz/zoloft-buy-online.php>Zoloft Buy Online</a> Expiration Date On Amoxicillin Cialis 20 Mg Prezzo In Farmacia <a href=http://cial5mg.xyz/can-i-buy-cialis-online.php>Can I Buy Cialis Online</a> What Is Ic Cephalexin Teva Generika Cialis <a href=http://cial1.xyz/generic-cialis-100mg.php>Generic Cialis 100mg</a> Lasix Mexico Cialis Se Toma <a href=http://cial1.xyz/cialis-viagra.php>Cialis Viagra</a> Orlistat Achat Ligne Zetia <a href=http://kama1.xyz/buy-kamagra-online-100mg.php>Buy Kamagra Online 100mg</a> Levitra Acquistare Nexium <a href=http://lasix.ccrpdc.com/furosemide-tablets.php>Furosemide Tablets</a> Viagra Kaufen Ausland Januvia Online Belgium <a href=http://zithromax.ccrpdc.com/buy-zithromax-us.php>Buy Zithromax Us</a> Effets Cialis Viagra Cephalexin Mixed <a href=http://zol1.xyz/zoloft-online-buy.php>Zoloft Online Buy</a> Usata Levitra Tarif Viagra <a href=http://cial5mg.xyz/cialis-online-prices.php>Cialis Online Prices</a> Viagra For Sale No Prescription Isotretinoin With Next Day Delivery Cod Only <a href=http://kama1.xyz/cheapest-kamagra.php>Cheapest Kamagra</a> Cialis Fur Diabetiker Viagra Next Day Delivery <a href=http://kama1.xyz/kamagra-online-fast.php>Kamagra Online Fast</a> Baclofene Comment S'En Procurer Alli Pills Amazon <a href=http://cytotec.ccrpdc.com/buy-cytotec-in-usa.php>Buy Cytotec In Usa</a> Amoxicillin Shelf Life Antibiotics Cialis Vendita In Italia Contrassegno <a href=http://zoloft.ccrpdc.com/buy-zoloft-online.php>Buy Zoloft Online</a> Dog And Cephalexin And Cysitis Acquistare Viagra Cialis <a href=http://viag1.xyz/cheap-viagra-100mg.php>Cheap Viagra 100mg</a> How To Buy Colchicine Online With No Rx Retin A Buy Online <a href=http://zol1.xyz/zoloft-pills.php>Zoloft Pills</a> Levitra Strips Cialis 5mg Online Without Prescriptions <a href=http://cial1.xyz/cialis-on-line.php>Cialis On Line</a> Prix Du Viagra France En Beziers Isotretinoin For Sale Internet <a href=http://propecia.ccrpdc.com/propecia-where-to-buy.php>Propecia Where To Buy</a> Cephalexin Dogs Ear Where can i buy isotretinoin North Ayrshire <a href=http://viag1.xyz/mail-order-viagra.php>Mail Order Viagra</a> Sildenafil Citrate Cheapest Prices Dejar Propecia <a href=http://kamagra.ccrpdc.com/cost-of-kamagra.php>Cost Of Kamagra</a> Kamagra 100 Mg buy accutane online safe <a href=http://viag1.xyz/price-of-viagra.php>Price Of Viagra</a> Supreme Suppliers Mumbai India Vendo Viagra Iquique <a href=http://viag1.xyz/generic-viagra-buy.php>Generic Viagra Buy</a> Priligy Precio Espana Jelly Kamagra Paypal <a href=http://kama1.xyz/buy-kamagra-jelly-online.php>Buy Kamagra Jelly Online</a> Cialis England Efectos Viagra Mujer <a href=http://cial1.xyz/buy-cheap-cialis.php>Buy Cheap Cialis</a> Malegra Dxt Plus Amoxicillin Fish <a href=http://cial5mg.xyz/cialis-free-trial.php>Cialis Free Trial</a> Cialis Bestellen Online Lioresal Sans Ordonance <a href=http://viag1.xyz/sildenafil-20mg.php>Sildenafil 20mg</a> Buy Ilosone Antibiotic Usa Secure Ordering Isotretinoin Amex Accepted Low Price <a href=http://viag1.xyz/purchase-viagra.php>Purchase Viagra</a> Viagra Levitra Kaufen Nizoral Pills Cheap No Perscription <a href=http://viag1.xyz/cheap-viagra-100mg.php>Cheap Viagra 100mg</a> Viagra Farmacia Comprar Bentyl Antispas With Free Shipping <a href=http://cial1.xyz/viagra-cialis.php>Viagra Cialis</a> Zithromax Doseage Cialis Spedizione Contrassegno <a href=http://zol1.xyz/buy-zoloft-uk.php>Buy Zoloft Uk</a> Cialis Generique Tadalafil Lifestyle Pharmaceuticals <a href=http://cial1.xyz/cheap-cialis-40mg.php>Cheap Cialis 40mg</a> Fedex Shipping Progesterone Mail Order Baclofene Appetit <a href=http://zol1.xyz>Buy Zoloft</a> Cialis 5 Precio Xenical Dosage <a href=http://kama1.xyz/buy-generic-kamagra.php>Buy Generic Kamagra</a> Cialis Wirkung Nebenwirkung Low Cost Viagra 100mg Brand 5 Bucks <a href=http://kama1.xyz/oral-jelly-kamagra.php>Oral Jelly Kamagra</a> Mumbai Cialis Compra <a href=http://propecia.ccrpdc.com/buy-cheap-propecia-uk.php>Buy Cheap Propecia Uk</a> Kamagra And Diabetes Discount Dutasteride With Free Shipping Website <a href=http://antabuse.ccrpdc.com/cheap-antabuse-on-line.php>Cheap Antabuse On Line</a> Comprar Cialis Barcelona Amoxicillin For Cat Urinary Infections <a href=http://viag1.xyz/how-to-get-viagra.php>How To Get Viagra</a> Vermox Otc Or Rx Compra Cialis Erezione <a href=http://inderal.ccrpdc.com/propranolol-free-offer.php>Propranolol Free Offer</a> Ataraxto Buy Cialis 2 Mesi <a href=http://cial5mg.xyz/cialis-order.php>Cialis Order</a> Viagra In Italia Lavitra Purchase Online <a href=http://cial5mg.xyz/generic-cialis-pricing.php>Generic Cialis Pricing</a> Is Reconstituted Amoxicillin Still Good Prix Xenical 120 Mg <a href=http://kama1.xyz/cheapest-kamagra.php>Cheapest Kamagra</a> Viagra Ansiolitico Per Giovani Generic Priligy 60 Mg <a href=http://viag1.xyz/cheap-viagra-100mg.php>Cheap Viagra 100mg</a> Clomid Calcul De Mois Propecia Effects On Women Oral <a href=http://cial5mg.xyz/generic-cialis-cheapest.php>Generic Cialis Cheapest</a> Levaquin Tablets Secure Amex Zithromax Full Or Empty Stomach <a href=http://strattera.ccrpdc.com/strattera-drug.php>Strattera Drug</a> Propecia Adverse Effects Discontinued Acquistare Levitra 10 Mg <a href=http://inderal.ccrpdc.com/cheap-propranolol-no-rx.php>Cheap Propranolol No Rx</a> Medicaments Cialis Prix Viagra Soft Cheap <a href=http://cial5mg.xyz/canadian-cheap-cialis.php>Canadian Cheap Cialis</a> Cialis Generika Per Uberweisung

Note: See TracTickets for help on using tickets.