From: Jaco Kroon <jaco-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
To: Pavel Machek <pavel-AlSwsSmVLrQ@public.gmane.org>
Cc: Manuel Lauss
<mano-nEyxjcs6f3Vin2gBucwGBecsttgLyre6@public.gmane.org>,
Stefan Seyfried <seife-l3A5Bk7waGM@public.gmane.org>,
Holger Macht <hmacht-l3A5Bk7waGM@public.gmane.org>,
acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Toshiba Satellite P10
Date: Sat, 24 Dec 2005 14:35:06 +0200 [thread overview]
Message-ID: <43AD407A.5020708@kroon.co.za> (raw)
In-Reply-To: <20051224114758.GD26351-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 3571 bytes --]
Pavel Machek wrote:
> Hi!
>
>
>>>I have a Vaio which has the same ide problem (at least I think so):
>>>after resume, all processes wishing to access the disk hang,
>>>dmesg shows lots of "hda: lost interrupt" messages.
>>>However, doing a "hdparm -w /dev/hda" after resume makes everything
>>>work again.
>>>
>>
>>>From the man page:
>>
>> -w Perform a device reset (DANGEROUS). Do NOT use this
>>option. It
>> exists for unlikely situations where a reboot might
>>otherwise be
>> required to get a confused drive back into a useable state.
>>
>>Ok. I don't have really important data on the notebook atm (all backed
>>up for obvious reasons). So I gave this a try. It causes the kernel to
>>crash entirely. No more SysRq. No OOPS. Nothing. It outputs a single
>>string namely "/dev/hda:" and then dies.
>
>
> Try verifying that your interrupts work after resume. (I assume we are
> still talking suspend-to-RAM here, and that you got suspend-to-disk to
> more or less work?) Do cat /proc/interrupts; sleep 10; cat
> /proc/interrupts both before and after suspend.
I presume you're looking for ide0 and ide1 interrupts, yes, after
suspending to ram twice the command showed that interrupt 14 (ide0)
increased from 994 to 1011 and for 15 (ide1) it stayed at 24. My hdd is
on hda so that'll be on ide0, dvd-rw is on hdc or ide1.
The interrupt counts for cascade (irq 2), rtc (irq 8) and acpi (irq 9)
stayed constant though, at 0, 2 and 4 respectively.
No NMI or ERR conditions were ever signaled.
Now, with APIC, but no IO-APIC there is a bug notice during resume.
Going to type it over (from dmesg):
Back to C!
Debug: sleeping function called from invalid context at mm/slab.c:2472
in_atomic():0, irqs_disabled():1
__might_sleep+0x9e/0xa6
acpi_os_allocate+0x15/0x26
kmem_cache_alloc+0x95/0xad
acpi_ut_callocate+0x37/0x79
acpi_os_acquire_object+0xf/0x3c
acpi_ut_allocate_object_desc_dbg+0xc/0x49
acpi_ut_create_internal_object_dbg+0x18/0x6d
acpi_rs_set_srs_method_data+0x41/0xc
kmem_cache_alloc+0x6d/0xad
acpi_pci_link_set+0x4c/0x1ad
acpi_pci_link_set+0x126/0x1ad
acpi_pci_link_resume+0x22/0x28
irqrouters_resume+0x25/0x38
__sysdev_resume+0x3d/0x71
sysdev_resume+0x38/0x5e
device_power_up+0x5/0xa
suspend_enter+0x36/0x54
enter_state+0x49/0x8a
state_store+0x9a/0xad
subsys_attr_store+0x37/0x40
flush_write_buffer+0x3e/0x4a
sysfs_write_file+0x6b/0x92
vfs_write+0x1a5/0x1aa
sys_write+0x51/0x80
sysenter_past_esp+0x54/0x75
ACPI: PCI Interrupt 0000:00:14.1[A] -> Link [LNK0] -> GSI 11 (level,
low) -> IRQ 11
ACPI: PCI Interrupt 0000:02:04.0[A] -> Link [LNK0] -> GSI 11 (level,
low) -> IRQ 11
Restarting tasks... done
Both cases looks identical. /proc/interrupts doesn't list 11 as an
interrupt ?!?
Also, this time round the auto-repeat on the keys is working again after
resume. In fact, everything seems to be working. Just that debug
stacktrace that bothers me. Oh, and my console blanking time also seems
to get lost but I can fix that with the help of echo and /dev/tty*.
Anyhow, suspended twice to ram now in succession, make cleaned and
rebuilt the kernel, installed it, and the only thing that even suggests
there is a glitch is that trace.
Looks like I need APIC on and IO-APIC off. Any explanations very
welcome: and don't tell me the IO-APIC is buggy - I've been running
with both those options on for as long as I've had this notebook now.
Jaco
--
There are only 10 kinds of people in this world,
those that understand binary and those that don't.
http://www.kroon.co.za/
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3166 bytes --]
next prev parent reply other threads:[~2005-12-24 12:35 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-21 6:43 Toshiba Satellite P10 Jaco Kroon
[not found] ` <43A8F98D.3000704-W7S27g77yncFbeUAN25fX/d9D2ou9A/h@public.gmane.org>
2005-12-22 11:02 ` Pavel Machek
[not found] ` <20051222110219.GB9838-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-22 12:04 ` Stefan Seyfried
[not found] ` <20051222120413.GA28743-l3A5Bk7waGM@public.gmane.org>
2005-12-22 13:59 ` Jaco Kroon
[not found] ` <43AAB13E.4080206-W7S27g77yncFbeUAN25fX/d9D2ou9A/h@public.gmane.org>
2005-12-22 14:23 ` Pavel Machek
2005-12-22 16:06 ` Stefan Seyfried
[not found] ` <20051222160633.GA3316-l3A5Bk7waGM@public.gmane.org>
2005-12-23 6:44 ` Jaco Kroon
[not found] ` <43AB9CD2.9090106-W7S27g77yncFbeUAN25fX/d9D2ou9A/h@public.gmane.org>
2005-12-23 11:12 ` Pavel Machek
[not found] ` <20051223111239.GB10748-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-23 16:53 ` Jaco Kroon
[not found] ` <43AC2B95.9060901-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-23 17:24 ` Pavel Machek
[not found] ` <20051223172459.GB15357-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-23 22:57 ` Jaco Kroon
[not found] ` <43AC80F3.6040605-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-23 23:01 ` Pavel Machek
[not found] ` <20051223230133.GC16104-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-24 0:07 ` Jaco Kroon
[not found] ` <43AC9127.10007-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24 0:25 ` Pavel Machek
[not found] ` <20051224002527.GA16285-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-24 0:35 ` Jaco Kroon
[not found] ` <43AC97E7.1030800-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24 0:38 ` Pavel Machek
[not found] ` <20051224003808.GB16285-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-24 8:45 ` Jaco Kroon
[not found] ` <43AD0AC6.9060904-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24 8:54 ` Stefan Seyfried
[not found] ` <20051224085403.GB23539-l3A5Bk7waGM@public.gmane.org>
2005-12-24 9:13 ` Jaco Kroon
[not found] ` <43AD113F.4090601-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24 12:02 ` Jaco Kroon
[not found] ` <43AD38C5.5030203-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24 12:22 ` Pavel Machek
[not found] ` <20051224122218.GG26351-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-24 12:45 ` Jaco Kroon
2005-12-24 10:44 ` Manuel Lauss
[not found] ` <43AD2676.10703-nEyxjcs6f3Vin2gBucwGBecsttgLyre6@public.gmane.org>
2005-12-24 11:21 ` Jaco Kroon
[not found] ` <43AD2F3F.7010003-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24 11:47 ` Pavel Machek
[not found] ` <20051224114758.GD26351-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-24 12:35 ` Jaco Kroon [this message]
[not found] ` <43AD407A.5020708-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24 12:49 ` Pavel Machek
[not found] ` <20051224124903.GH26351-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-24 13:14 ` Toshiba Satellite P10 [Solved] Jaco Kroon
[not found] ` <43AD49A8.3010708-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24 13:57 ` Pavel Machek
[not found] ` <20051224135756.GI26351-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-25 8:26 ` Toshiba Satellite P10 + ati-drivers (fglrx) Jaco Kroon
[not found] ` <43AE57B4.7030008-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-25 8:47 ` Pavel Machek
[not found] ` <20051225084728.GE2183-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-25 16:16 ` Jaco Kroon
2005-12-25 20:32 ` Jaco Kroon
2005-12-24 11:46 ` Toshiba Satellite P10 Pavel Machek
[not found] ` <20051224114621.GC26351-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-24 12:43 ` Jaco Kroon
2005-12-23 13:43 ` Sebastian Henschel
2005-12-23 23:25 ` Matthew Garrett
[not found] ` <20051223232505.GA21166-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2005-12-23 23:59 ` Jaco Kroon
2005-12-22 14:15 ` Holger Macht
[not found] ` <20051222141500.GA15412-+Mg20aWpcBQb1SvskN2V4Q@public.gmane.org>
2005-12-22 14:28 ` Jaco Kroon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43AD407A.5020708@kroon.co.za \
--to=jaco-p18qfujfxgpykqiyctqfyw@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=hmacht-l3A5Bk7waGM@public.gmane.org \
--cc=mano-nEyxjcs6f3Vin2gBucwGBecsttgLyre6@public.gmane.org \
--cc=pavel-AlSwsSmVLrQ@public.gmane.org \
--cc=seife-l3A5Bk7waGM@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox