* oops at reboot/shutdown in device_shutdown
@ 2006-04-18 13:57 Axel Scheepers
2006-04-18 15:12 ` Jesper Juhl
0 siblings, 1 reply; 3+ messages in thread
From: Axel Scheepers @ 2006-04-18 13:57 UTC (permalink / raw)
To: linux-kernel; +Cc: ascheepers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi All,
I don't know if this is the right list to report this, if not excuse me
for posting.
Since kernel 2.6.16 I experience panics on reboot/shutdown in
device_shutdown on my dell laptop (pentium-m).
I've fixed this by commenting all references to device_shutdown in
kernel/sys.c which solves the problem for me, strange thing however is
that this machine is the only one I can reproduce this, both a dual
athlon and several pentium III machines run fine with the latest 2.6.16.7
Here's the patch to fix it in case someone else experiences the same
problems but I wonder what could cause this and if disabling
device_shutdown as I did could cause any problems?
(I'm not subscribed to this list, please Cc me)
Patch:
- --- sys.c 2006-04-18 15:55:09.858532000 +0200
+++ ../linux/kernel/sys.c 2006-04-18 15:10:22.768255500 +0200
@@ -394,7 +394,9 @@
{
notifier_call_chain(&reboot_notifier_list, SYS_RESTART, cmd);
system_state = SYSTEM_RESTART;
+ /* don't shutdown devices
device_shutdown();
+ */
}
/**
@@ -445,7 +447,9 @@
notifier_call_chain(&reboot_notifier_list,
(state == SYSTEM_HALT)?SYS_HALT:SYS_POWER_OFF, NULL);
system_state = state;
+ /* don't shutdown devices
device_shutdown();
+ */
}
/**
* kernel_halt - halt the system
- --- [snip] ---
Kind regards,
Axel Scheepers
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFERPBgvOFCXiGjP+ARAmGbAJ9tCuRYDXX02GB2i8+mGKD6Lism4gCfaBUo
kjbteBLY0PCt1+pMLne4X3I=
=T42q
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: oops at reboot/shutdown in device_shutdown
2006-04-18 13:57 oops at reboot/shutdown in device_shutdown Axel Scheepers
@ 2006-04-18 15:12 ` Jesper Juhl
2006-04-19 10:58 ` Axel Scheepers
0 siblings, 1 reply; 3+ messages in thread
From: Jesper Juhl @ 2006-04-18 15:12 UTC (permalink / raw)
To: Axel Scheepers; +Cc: linux-kernel
On 4/18/06, Axel Scheepers <ascheepers@vianetworks.nl> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi All,
>
> I don't know if this is the right list to report this, if not excuse me
> for posting.
> Since kernel 2.6.16 I experience panics on reboot/shutdown in
> device_shutdown on my dell laptop (pentium-m).
>
Please post those panic messages (complete ones).
It's hard to help you and/or track down the problem without them.
Please also read the REPORTING-BUGS document in the kernel source for
more info that it is usually good to provide. The more detailed info
from you, the greater the chance that someone will find and fix the
bug.
--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: oops at reboot/shutdown in device_shutdown
2006-04-18 15:12 ` Jesper Juhl
@ 2006-04-19 10:58 ` Axel Scheepers
0 siblings, 0 replies; 3+ messages in thread
From: Axel Scheepers @ 2006-04-19 10:58 UTC (permalink / raw)
To: Jesper Juhl; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2268 bytes --]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jesper Juhl wrote:
> Please post those panic messages (complete ones).
> It's hard to help you and/or track down the problem without them.
>
> Please also read the REPORTING-BUGS document in the kernel source for
> more info that it is usually good to provide. The more detailed info
> from you, the greater the chance that someone will find and fix the
> bug.
Hi Jesper and list,
I've managed to transcribe the oops from the console which I've
attached. The output of ver_linux:
axel@grace:/usr/src/linux$ sh scripts/ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
Linux grace 2.6.16.7.20060418.pm #1 Tue Apr 18 15:15:29 CEST 2006 i686
GNU/Linux
Gnu C 4.0.3
Gnu make 3.81rc2
binutils 2.16.91
util-linux 2.12r
mount 2.12r
module-init-tools 3.2.2
e2fsprogs 1.39-WIP
reiserfsprogs line
reiser4progs line
xfsprogs 2.7.14
pcmcia-cs 3.2.8
nfs-utils 1.0.7
Linux C Library 2.3.6
Dynamic linker (ldd) 2.3.6
Procps 3.2.6
Net-tools 1.60
Console-tools 0.2.3
Sh-utils 5.94
Modules Loaded radeon drm rfcomm l2cap sd_mod scsi_mod ipv6
pcmcia firmware_class af_packet yenta_socket rsrc_nonstatic pcmcia_core
8250_pci 8250 serial_core snd_intel8x0 snd_ac97_codec snd_ac97_bus
snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc
intel_agp agpgart ehci_hcd hci_usb bluetooth usbhid uhci_hcd usbcore
ide_cd cdrom rtc joydev unix
I should note that I've build the .broken kernel with both gcc-4.1 and
4.0.3 as mentioned above. (I've build gcc-4.1 in ~/gcc41/bin).
The last kernel which worked fine on this laptop is 2.6.15.4 after that
I've switched to 2.6.16 which started to oops at reboot/shutdown.
Kind regards,
Axel Scheepers
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFERhfTvOFCXiGjP+ARAlZqAKCElcGVUgXb0nWD+NsKL44MTNc91gCffDAR
f+mbMwDvLmmq7tw4FjVGmtk=
=Sb2b
-----END PGP SIGNATURE-----
[-- Attachment #2: oops.txt --]
[-- Type: text/plain, Size: 1980 bytes --]
Unable to handle kernel paging request at virtual address e0aca644
Printing EIP
c0280d10
*pde = 014d4067
*pte = 00000000
Oops: 0000 [#1]
Modules linked in: rfcomm l2cap sd_mod scsi_mos ipv6 firmware_class af_packet
yenta_socket rsrc_nonstatic pcmcia_core 8250_pci 8250
serial_core snd_intel8x0 snd_ac97_codec snd_ac97_bus
snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_soundcore
snd_page_alloc intel_agp agpart ahci_hcd hci_usb bluetooth
usbhid uhci_hcd usbcore ide_cd cdrom rtc joydev unix
CPU: 0
EIP: 0060:[<c0280d10>] Not tainted VLI
EFLAGS: 00010282 (2.6.16.7.broken #1)
EIP is at device_shutdown+0x50/0xc4
eax: e0aca520 ebx: def95408 ecx: 00000000 edx: ded75a38
esi: c0378b68 edi: b7f3cff ebp: def54000 esp: def55e84
ds: 007b es: 007b ss: 0068
Process reboot (pid: 4939, threadinfo=def54000 task=dfc18970
Stack: <0> c03e9dc8 00000000 01234567 c0126060 00000000 c0226a3f 28121969
c0126646 00000000 c03012fc bfa63cb4 def55ebc 00000020 00000000
00006f6c 00000000 00000000 00000000 00000002 0100007f 00000008
bfa63c94 c0226a3f 00000286
Call trace:
[<c0126060>] kernel_restart+0x10/0x70
[<c0226a3f>] copy_to_user+0x3f/0x80
[<c0126646>] sys_reboot+0xc6/0x160
[<c03012fc>] inet_gifconf+0x7c/0xd0
[<c0226a3f>] copy_to_user+0x3f/0x80
[<c0302e0e>] inet_sock_destruct+0xce/0x240
[<c015a071>] invalidate_inode_buffers+0x11/0x50
[<c02b548b>] sock_destroy_inode+0x1b/0x20
[<c016cf1a>] dentry_input+0x5a/0x70
[<c0170f83>] mntput_no_expire+0x23/0x80
[<c0156d37>] __fput+0xc7/0x110
[<c0153ee2>] filp_close+0x52/0x90
[<c0154c92>] sys_close+0x72/0x80
[<c0102e51>] syscall_call+0x7/0xb
Code: c0 8d 90 7c ff ff ff 8b 9a 88 00 00 00
81 eb 84 00 00 00 3d 28 8b 37 c0 74 71
8b 82 d4 00 00 00 85 c0 74 37 8d b4 26
00 00 00 00 <8b> 80 24 01 00 00 85
c0 74 26 89 14 24 ff db 8b 83 88 00
00 00
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-04-19 10:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-18 13:57 oops at reboot/shutdown in device_shutdown Axel Scheepers
2006-04-18 15:12 ` Jesper Juhl
2006-04-19 10:58 ` Axel Scheepers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox