Ticket #889 (closed defect: fixed)

Opened 12 years ago

Last modified 2 years ago

8 seconds power button timeout no longer working (regression)

Reported by: mickey@… Owned by: openmoko-kernel@…
Priority: high Milestone:
Component: kernel Version: unspecified
Severity: normal Keywords:
Cc: buglog@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible:

Description

Usually, after a couple of seconds holding the powerbutton, init was signalized
a reboot. if that doesn't react, the system was shut down. This no longer works.
When I keep pressing the power button, I see the kernel incrementing the seconds
counter, but the system just doesn't shut down nor does it turn off.

Change History

comment:1 Changed 11 years ago by willie_chen@…

  • Owner changed from laforge@… to michael@…

comment:2 Changed 11 years ago by mail@…

This bug is still present on my GTA01Bv4 with the following packages (built with
MokoMakefile?):

kernel-image-2.6.22.5-moko11 - 2.6.22.5-moko11+svnr3743-r10
sysvinit - 2.86-r36

When X is shut down (or crashes) and the power button is held down, messages are
printed to the screen but the device does not shut down or power off.

pcf50606_irq: entering(irq=53, pcf=c07d8800): scheduling work
pcf50606_work: INT1=0x42 INT2=0x00 INT3=0x00:ONKEYF SECOND
pcf50606_irq: entering(irq=53, pcf=c07d8800): scheduling work
pcf50606_work: INT1=0x44 INT2=0x00 INT3=0x00:ONKEY1S SECOND pcf50606_work:
ONKEY_SECONDS(0, OOCC1=0x70)
pcf50606_irq: entering(irq=53, pcf=c07d8800): scheduling work
pcf50606_work: INT1=0x40 INT2=0x00 INT3=0x00:SECOND pcf50606_work:
ONKEY_SECONDS(1, OOCC1=0x70)
pcf50606_irq: entering(irq=53, pcf=c07d8800): scheduling work
pcf50606_work: INT1=0x40 INT2=0x00 INT3=0x00:SECOND pcf50606_work:
ONKEY_SECONDS(2, OOCC1=0x70) SIGINT(init)
[...]
pcf50606_work: INT1=0x40 INT2=0x00 INT3=0x00:SECOND pcf50606_work:
ONKEY_SECONDS(31, OOCC1=0x70) SIGINT(init)
pcf50606_irq: entering(irq=53, pcf=c07d8800): scheduling work
pcf50606_work: INT1=0x40 INT2=0x00 INT3=0x00:SECOND pcf50606_work:
ONKEY_SECONDS(32, OOCC1=0x70) SIGINT(init)
pcf50606_irq: entering(irq=53, pcf=c07d8800): scheduling work
pcf50606_work: INT1=0x01 INT2=0x00 INT3=0x00:ONKEYR

comment:3 Changed 11 years ago by mickey@…

  • Owner changed from michael@… to openmoko-kernel@…

Problem still present in 2.6.24 -- neither the the controlled shut down
(signalling init to shutdown) nor the forced shut down works as expected.

Reassigning to default owner.

comment:4 Changed 11 years ago by andy@…

I'll take a look at this.

comment:5 Changed 11 years ago by andy@…

Well on GTA02 we do track the 3 seconds and we do appear to issue a signal
(SIGINT) to init. I tried it first having booted with init=/bin/sh and
naturally ash didn't react to SIGINT.

However if you come up in the GUI on GTA02 and hold the button 3 seconds, it
brings up the power menu in response to the SIGINT to init.

SIGINT does not mean "shutdown" (SIGPWR) but "interrupt". So it seems this is
intentional and works on GTA02 as far as that goes.

Now if it is desired that if you keep that button down 8 seconds it tries to
shutdown, that can be added. Is that what we want?

comment:6 Changed 11 years ago by mickey@…

However if you come up in the GUI on GTA02 and hold the button 3 seconds, it
brings up the power menu in response to the SIGINT to init.

No, neod brings this power menu up when you hold the button for one second. It
looks like SIGINT is not getting sent.

The behaviour we want (and which we had a couple of kernels ago) is:

1.) Four seconds power hold => SIGINT to init
2.) Eight seconds power hold => forced shut down

Thanks!

comment:7 Changed 11 years ago by andy@…

  • Status changed from new to closed
  • Resolution set to fixed

Matt has done some work on this which is in the buildhost kernel now. Please
try >=4131 kernel from there and reopen this bug if it doesn't make you
happy :-)

comment:8 Changed 2 years ago by Kennescoma

Viagra Farmaco Da Banco <a href=http://prozac.ccrpdc.com/prozac-cost.php>Prozac Cost</a> Viagra Ohne Potenzstorung Liver Damage Propecia <a href=http://viag1.xyz/mail-order-viagra.php>Mail Order Viagra</a> Buy Generic Viagra 100 Mg Amoxicillin For Dogs For Sale <a href=http://zol1.xyz/getting-zoloft-overseas.php>Getting Zoloft Overseas</a> Cialis Et Forum On Line Parmecy Canada <a href=http://cial1.xyz/buy-cialis-online-usa.php>Buy Cialis Online Usa</a> Estrace .5 Greece <a href=http://zol1.xyz/purchase-zoloft.php>Purchase Zoloft</a> Retin A Canadian Pharmacy Flagyl 500 <a href=http://zol1.xyz/buy-implicane-online.php>Buy Implicane Online</a> Celecoxib 200 Mg Price Propecia 2 Gunde Bir <a href=http://kama1.xyz/kamagra-sildenafil.php>Kamagra Sildenafil</a> Acquistare Il Cialis Dosage Zithromax <a href=http://zol1.xyz/generic-zoloft.php>Generic Zoloft</a> Escitalopram 10 Mg Buy Zithromax Alcohol Side Effects <a href=http://cial1.xyz/buy-online-cialis.php>Buy Online Cialis</a> Come Comprare Farmaci On Line Viagra Super Active For Sale <a href=http://kama1.xyz/buy-kamagra-oral-jelly-online.php>Buy Kamagra Oral Jelly Online</a> Dutasteride Tablet Cheap Pariet <a href=http://cial5mg.xyz/buy-cheap-cialis.php>Buy Cheap Cialis</a> Baclofene Medecin Donde Comprar Cytotec <a href=http://kama1.xyz/kamagra-online.php>Kamagra Online</a> Macrobid Antibiotic Website In Us Cialis Tadalafil 10mg Prix <a href=http://cial1.xyz/generic-for-cialis.php>Generic For Cialis</a> Sale isotretinoin cheap legally mastercard accepted Cialis Hermosillo <a href=http://cial1.xyz/cialis-cheap.php>Cialis Cheap</a> Dutasteride From Canada Free Shipping Ditrim 480 Mg <a href=http://zol1.xyz/sertralina-generic.php>Sertralina Generic</a> Kamagra En Ligne En Suisse Images De Comprimes Amoxil <a href=http://viag1.xyz/cheap-viagra-overnight.php>Cheap Viagra Overnight</a> Buying Secure Ordering Stendra 50mg Remedio Propecia <a href=http://viag1.xyz/viagra-discount-sales.php>Viagra Discount Sales</a> Buy Prevacid 24hr Amitriptyline Buy In Uk <a href=http://cial1.xyz/canadian-cheap-cialis.php>Canadian Cheap Cialis</a> Foro Cialis Buy Non Perscription Elavil <a href=http://viag1.xyz/biuy-viagra-online.php>Biuy Viagra Online</a> Cheap Cialis 20mg

comment:9 Changed 2 years ago by JustDox

Propecia Information Leaflet <a href=http://cial5mg.xyz/cialis-online-prices.php>Cialis Online Prices</a> Amoxicillin While Pregnant Webmd Kosten Levitra Bayer Vital <a href=http://cial5mg.xyz/cheapest-cialis-online.php>Cheapest Cialis Online</a> Cialis Tiempo En Hacer Efecto Xenical En Ligne <a href=http://clomid.ccrpdc.com/buy-clomid-cheap.php>Buy Clomid Cheap</a> Does Amoxicillin Treat Urinary Tract Infections Mixing Cephalexin With Methotrexate <a href=http://cial1.xyz/buy-tadalafil-online.php>Buy Tadalafil Online</a> Levitra Mas Alcohol Comparativa Cialis Viagra Levitra <a href=http://cial5mg.xyz/cheapest-cialis.php>Cheapest Cialis</a> Amoxicillin If Pregnant Viagra Pour Rigoler <a href=http://xenical.ccrpdc.com/buy-generic-xenical-online.php>Buy Generic Xenical Online</a> Cialis 5mg Generique Cialis Achat Securise <a href=http://zol1.xyz/order-zoloft.php>Order Zoloft</a> Vente Viagra Lyon Prix Du Clomid Acheter <a href=http://zol1.xyz/generic-for-zoloft.php>Generic For Zoloft</a> Cialis Daily Erfahrung Zithromax For Uti <a href=http://kama1.xyz/kamagra-pharmacy.php>Kamagra Pharmacy</a> Propecia Side Effect Legally Fluoxetine No Prior Script Visa Accepted <a href=http://cial1.xyz/cheap-generic-cialis.php>Cheap Generic Cialis</a> Cheap Drugs Canada Does Amoxicillin Affect The Pill <a href=http://kama1.xyz/kamagra-jellies.php>Kamagra Jellies</a> Cytotec 200ug Ai Acheter Viagra MontrСЂС–РІВ©al <a href=http://cial1.xyz/cialis-professional.php>Cialis Professional</a> Tamoxifen Citrate Online Canadian Healthcare <a href=http://cial1.xyz/cialis-cost.php>Cialis Cost</a> Comprar Viagra Sin Receta Medica Levitra Para Hipertensos <a href=http://propecia.ccrpdc.com/propecia-help-forum.php>Propecia Help Forum</a> Bulgaria Buy Viagra Zithromax Gout <a href=http://cial5mg.xyz/generic-for-cialis.php>Generic For Cialis</a> Malegra Fxt Plus Pharmacy Supersaver Meds <a href=http://zol1.xyz/zoloft-online-usa.php>Zoloft Online Usa</a> Viagra Suisse Generique Dutasteride Overseas Free Shipping Santa Ana <a href=http://cial1.xyz/buy-cialis-online-usa.php>Buy Cialis Online Usa</a> Acquisto Viagra Line Italia Zantac <a href=http://kama1.xyz/prices-kamagra.php>Prices Kamagra</a> Cialis Ou Acheter Forum Buy Zithromax Online Australia <a href=http://kama1.xyz/kamagra-pharmacy.php>Kamagra Pharmacy</a> Identify Amoxicillin 250 Mg Le Cialis Wikipedia <a href=http://viag1.xyz/cheap-viagra-fast.php>Cheap Viagra Fast</a> Donde Comprar Cialis Farmacia Keflex For Ear Infection <a href=http://clomid.ccrpdc.com/clomid-order.php>Clomid Order</a> Propecia Nioxin Combined Buy Tamoxifen Citrate Liquid <a href=http://kama1.xyz/buy-generic-kamagra.php>Buy Generic Kamagra</a> Buy Tadalis Sx Generic Amoxicillin Tablets <a href=http://kamagra.ccrpdc.com/cheapest-kamagra.php>Cheapest Kamagra</a> Baclofene L'Express Liquid Amoxicillin Expiration <a href=http://kama1.xyz/generic-kamagra.php>Generic Kamagra</a> Effets Secondaires Cialis Yeux Viagra Sildenafil Side Effects <a href=http://viag1.xyz/sildenafil-dosage.php>Sildenafil Dosage</a> Viagra Cialis Eu Single Dosing Of Amoxicillin For Gonorrhea <a href=http://cial5mg.xyz/buying-cialis-online.php>Buying Cialis Online</a> The Effects Of 500mg Amoxicillin Amoxicillin Capsule Pink And Blue <a href=http://cial5mg.xyz/order-cialis-online.php>Order Cialis Online</a> Achat De Cialis En Espagne Farmacias Viagra Propecia <a href=http://kamagra.ccrpdc.com/kamagra-online-usa.php>Kamagra Online Usa</a> Non Prescription Paxil On Line Comprar Cialis 20 Mg <a href=http://inderal.ccrpdc.com/how-to-buy-inderal.php>How To Buy Inderal</a> discount isotretinoin acne for sale best website visa Zithromax Dose For Cats <a href=http://prednisone.ccrpdc.com/buy-prednisone-20mg.php>Buy Prednisone 20mg</a> Keflex For Infants Propecia Indicaciones <a href=http://cial1.xyz/cheap-cialis-40mg.php>Cheap Cialis 40mg</a> Proscar Without Prescription Generic Propecia Cialis Puo Dare Dipendenza <a href=http://cial1.xyz/generic-cialis.php>Generic Cialis</a> Tuenti Propecia Billige Viagra Kaufen <a href=http://kama1.xyz/kamagra-cheap-online.php>Kamagra Cheap Online</a> Clomid Accident Fausse Couche Generic Bentyl Mastercard Cheapeast Overseas Wigan <a href=http://zithromax.ccrpdc.com/buy-zithromax-pills.php>Buy Zithromax Pills</a> Comprar Cialis En La Farmacia Sin Receta Viagra Bestellen Ideal <a href=http://zol1.xyz/cost-of-zoloft.php>Cost Of Zoloft</a> Levitra Prix Allemagne Viagra 20 Ans <a href=http://doxycycline.ccrpdc.com/buy-doxycycline.php>Buy Doxycycline</a> Get Viagra Free Samples Tomar Cialis Todos Los Dias <a href=http://strattera.ccrpdc.com/get-cheap-strattera-online.php>Get Cheap Strattera Online</a> Cephalexin Protocol Free Full Text Journal

Note: See TracTickets for help on using tickets.