From: Joerg Platte <jplatte@naasa.net>
To: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [2.6.30] Kernel bug with dock driver
Date: Thu, 18 Jun 2009 23:22:52 +0200 [thread overview]
Message-ID: <200906182322.54566.jplatte@naasa.net> (raw)
In-Reply-To: <20090617123440.GA400@khazad-dum.debian.net>
Am Wednesday, 17. June 2009 schrieb Henrique de Moraes Holschuh:
Hi Henrique,
> If it causes a NULL derreference, it means someone has changed API and did
> NOT change all callsites. It is that simple.
>
> Joerg, please apply this patch, and report the results... WARNING: you
> will not get bay events from thinkpad-acpi, so be careful to not remove
> from the bay a device that is still active...
This time I got two BUGs while being on battery and without acpid:
------------[ cut here ]------------
WARNING: at drivers/platform/x86/thinkpad_acpi.c:4565 bay_notify+0x35/0x5e
[thinkpad_acpi]()
Hardware name: 2373G1G
thinkpad_acpi: dev_name() is returning NULL
Modules linked in: nfsd lockd nfs_acl auth_rpcgss sunrpc exportfs radeon drm
sco bridge stp llc bnep l2cap bluetooth ipt_MASQUERADE iptable_nat nf_nat
nf_conntrack_ipv4 nf_defrag_ipv4 xt_state ipt_REJECT ipt_LOG xt_limit
xt_tcpudp xt_mac xt_multiport iptable_filter iptable_mangle ip_tables x_tables
nf_conntrack_ftp nf_conntrack vboxdrv binfmt_misc af_packet cpufreq_userspace
cpufreq_stats cpufreq_powersave autofs4 nsc_ircc fuse nls_utf8 ntfs nls_base
ext2 deadline_iosched as_iosched ircomm_tty ircomm tun acpi_cpufreq sbs sbshc
joydev snd_intel8x0m snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm_oss
snd_mixer_oss snd_pcm snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event
snd_seq snd_timer snd_seq_device irtty_sir thinkpad_acpi ipw2200 libipw
yenta_socket sir_dev rfkill snd rsrc_nonstatic lib80211 soundcore pcmcia
rtc_cmos psmouse led_class pcmcia_core snd_page_alloc i2c_i801 rng_core
8250_pci irda pcspkr serio_raw nvram parport_pc 8250_pnp rtc_core parport
button rtc_lib processor battery ac crc_ccitt 8250 serial_core evdev ext3 jbd
mbcache sd_mod ata_generic pata_acpi ata_piix libata uhci_hcd ehci_hcd e1000
scsi_mod usbcore intel_agp agpgart video output thermal fan unix
cpufreq_conservative cpufreq_ondemand freq_table radeonfb fb_ddc backlight
i2c_algo_bit cfbcopyarea i2c_core cfbimgblt cfbfillrect fbcon tileblit font
bitblit softcursor fb
Pid: 52, comm: kacpi_notify Not tainted 2.6.30 #1
Call Trace:
[<c011f839>] warn_slowpath_common+0x60/0x90
[<f9767132>] ? bay_notify+0x0/0x5e [thinkpad_acpi]
[<c011f89d>] warn_slowpath_fmt+0x24/0x27
[<f9767167>] bay_notify+0x35/0x5e [thinkpad_acpi]
[<f9767023>] dispatch_acpi_notify+0x23/0x26 [thinkpad_acpi]
[<c02018cd>] acpi_ev_notify_dispatch+0x4c/0x57
[<c01f4488>] acpi_os_execute_deferred+0x20/0x2c
[<c012cff6>] worker_thread+0x15a/0x1fd
[<c01f4468>] ? acpi_os_execute_deferred+0x0/0x2c
[<c012fc7d>] ? autoremove_wake_function+0x0/0x33
[<c012ce9c>] ? worker_thread+0x0/0x1fd
[<c012f8bc>] kthread+0x42/0x67
[<c012f87a>] ? kthread+0x0/0x67
[<c01030d3>] kernel_thread_helper+0x7/0x10
---[ end trace 0469584017b9bddb ]---
sd 1:0:0:0: [sdb] Synchronizing SCSI cache
sd 1:0:0:0: [sdb] Stopping disk
ata2.00: disabled
ACPI: \_SB_.PCI0.IDE0.SCND.MSTR - undocking
ACPI Warning (nspredef-0290): \_SB_.PCI0.LPC_.EC__.BEEP: Excess arguments -
needs 1, found 2 [20090320]
------------[ cut here ]------------
WARNING: at drivers/platform/x86/thinkpad_acpi.c:4565 bay_notify+0x35/0x5e
[thinkpad_acpi]()
Hardware name: 2373G1G
thinkpad_acpi: dev_name() is returning NULL
Modules linked in: nfsd lockd nfs_acl auth_rpcgss sunrpc exportfs radeon drm
sco bridge stp llc bnep l2cap bluetooth ipt_MASQUERADE iptable_nat nf_nat
nf_conntrack_ipv4 nf_defrag_ipv4 xt_state ipt_REJECT ipt_LOG xt_limit
xt_tcpudp xt_mac xt_multiport iptable_filter iptable_mangle ip_tables x_tables
nf_conntrack_ftp nf_conntrack vboxdrv binfmt_misc af_packet cpufreq_userspace
cpufreq_stats cpufreq_powersave autofs4 nsc_ircc fuse nls_utf8 ntfs nls_base
ext2 deadline_iosched as_iosched ircomm_tty ircomm tun acpi_cpufreq sbs sbshc
joydev snd_intel8x0m snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm_oss
snd_mixer_oss snd_pcm snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event
snd_seq snd_timer snd_seq_device irtty_sir thinkpad_acpi ipw2200 libipw
yenta_socket sir_dev rfkill snd rsrc_nonstatic lib80211 soundcore pcmcia
rtc_cmos psmouse led_class pcmcia_core snd_page_alloc i2c_i801 rng_core
8250_pci irda pcspkr serio_raw nvram parport_pc 8250_pnp rtc_core parport
button rtc_lib processor battery ac crc_ccitt 8250 serial_core evdev ext3 jbd
mbcache sd_mod ata_generic pata_acpi ata_piix libata uhci_hcd ehci_hcd e1000
scsi_mod usbcore intel_agp agpgart video output thermal fan unix
cpufreq_conservative cpufreq_ondemand freq_table radeonfb fb_ddc backlight
i2c_algo_bit cfbcopyarea i2c_core cfbimgblt cfbfillrect fbcon tileblit font
bitblit softcursor fb
Pid: 52, comm: kacpi_notify Tainted: G W 2.6.30 #1
Call Trace:
[<c011f839>] warn_slowpath_common+0x60/0x90
[<f9767132>] ? bay_notify+0x0/0x5e [thinkpad_acpi]
[<c011f89d>] warn_slowpath_fmt+0x24/0x27
[<f9767167>] bay_notify+0x35/0x5e [thinkpad_acpi]
[<f9767023>] dispatch_acpi_notify+0x23/0x26 [thinkpad_acpi]
[<c02018cd>] acpi_ev_notify_dispatch+0x4c/0x57
[<c01f4488>] acpi_os_execute_deferred+0x20/0x2c
[<c012cff6>] worker_thread+0x15a/0x1fd
[<c01f4468>] ? acpi_os_execute_deferred+0x0/0x2c
[<c012fc7d>] ? autoremove_wake_function+0x0/0x33
[<c012ce9c>] ? worker_thread+0x0/0x1fd
[<c012f8bc>] kthread+0x42/0x67
[<c012f87a>] ? kthread+0x0/0x67
[<c01030d3>] kernel_thread_helper+0x7/0x10
---[ end trace 0469584017b9bddc ]---
Hope it helps...
Best regards,
Jörg
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-06-18 21:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-14 19:00 [2.6.30] Kernel bug with dock driver Joerg Platte
2009-06-15 2:02 ` Henrique de Moraes Holschuh
2009-06-15 7:36 ` Joerg Platte
2009-06-15 20:29 ` Henrique de Moraes Holschuh
2009-06-16 9:24 ` Joerg Platte
2009-06-17 12:34 ` Henrique de Moraes Holschuh
2009-06-18 21:22 ` Joerg Platte [this message]
2009-06-18 22:10 ` Henrique de Moraes Holschuh
2009-06-17 7:13 ` Zhang Rui
2009-06-18 21:26 ` Joerg Platte
2009-06-18 22:12 ` Henrique de Moraes Holschuh
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=200906182322.54566.jplatte@naasa.net \
--to=jplatte@naasa.net \
--cc=hmh@hmh.eng.br \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.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