login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
October
»
4
Re: [Bug #16891] Kernel panic while loading intel module during boot
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Rafael J. Wysocki
Subject:
Re: [Bug #16891] Kernel panic while loading intel module during boot
Date: Monday, October 4, 2010 - 1:40 pm
On Monday, October 04, 2010, Rafael J. Wysocki wrote:
quoted text
> On Monday, October 04, 2010, Anisse Astier wrote: > > On Sun, 3 Oct 2010 23:53:02 +0200 (CEST), "Rafael J. Wysocki" <rjw@sisk.pl> wrote : > > > > > This message has been generated automatically as a part of a report > > > of regressions introduced between 2.6.34 and 2.6.35. > > > > > > The following bug entry is on the current list of known regressions > > > introduced between 2.6.34 and 2.6.35. Please verify if it still should > > > be listed and let the tracking team know (either way). > > > > > > > > > Bug-Entry :
http://bugzilla.kernel.org/show_bug.cgi?id=16891
> > > Subject : Kernel panic while loading intel module during boot > > > Submitter : Anisse Astier <anisse@astier.eu> > > > Date : 2010-08-24 13:19 (41 days old) > > > > > > > > > > This bug is still valid, and should be listed as a regression. > > I tried to upload on bugzilla a patch authored by Daniel Vetter that fixes > > the problem, but then bugzilla went into blackhole mode. > > > > I'll provide this patch here in the meantime in case anyone is interested. > > Thanks for the update and the patch. > > Well, I wonder who's going to merge it?
Chris, can you please have a look? Thanks, Rafael
quoted text
> > --- > > From: Daniel Vetter <daniel.vetter@ffwll.ch> > > Date: Fri, 1 Oct 2010 19:52:09 +0200 > > Subject: [PATCH] intel-gtt: fix 2.6.35 regression > > > > Port of commit "intel-gtt: fix gtt_total_entries detection" to 2.6.35. > > > > Also adds PINEVIEW_IG to IS_G33 detection list > > > > Signed-off-by: Anisse Astier <anisse@astier.eu> > > --- > > drivers/char/agp/intel-agp.h | 1 + > > drivers/char/agp/intel-gtt.c | 63 ++++++++++++++++++------------------------ > > 2 files changed, 28 insertions(+), 36 deletions(-) > > > > diff --git a/drivers/char/agp/intel-agp.h b/drivers/char/agp/intel-agp.h > > index bc9a4ad..2fbbe63 100644 > > --- a/drivers/char/agp/intel-agp.h > > +++ b/drivers/char/agp/intel-agp.h > > @@ -226,6 +226,7 @@ > > agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_Q35_HB || \ > > agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_Q33_HB || \ > > agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_PINEVIEW_M_HB || \ > > + agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_PINEVIEW_IG || \ > > agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_PINEVIEW_HB) > > > > #define IS_PINEVIEW (agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_PINEVIEW_M_HB || \ > > diff --git a/drivers/char/agp/intel-gtt.c b/drivers/char/agp/intel-gtt.c > > index ed11c77..ea18f64 100644 > > --- a/drivers/char/agp/intel-gtt.c > > +++ b/drivers/char/agp/intel-gtt.c > > @@ -501,7 +501,7 @@ static void intel_i830_init_gtt_entries(void) > > > > pci_read_config_word(agp_bridge->dev, I830_GMCH_CTRL, &gmch_ctrl); > > > > - if (IS_I965) { > > + if (IS_G33 || IS_I965) { > > u32 pgetbl_ctl; > > pgetbl_ctl = readl(intel_private.registers+I810_PGETBL_CTL); > > > > @@ -534,22 +534,6 @@ static void intel_i830_init_gtt_entries(void) > > size = 512; > > } > > size += 4; /* add in BIOS popup space */ > > - } else if (IS_G33 && !IS_PINEVIEW) { > > - /* G33's GTT size defined in gmch_ctrl */ > > - switch (gmch_ctrl & G33_PGETBL_SIZE_MASK) { > > - case G33_PGETBL_SIZE_1M: > > - size = 1024; > > - break; > > - case G33_PGETBL_SIZE_2M: > > - size = 2048; > > - break; > > - default: > > - dev_info(&agp_bridge->dev->dev, > > - "unknown page table size 0x%x, assuming 512KB\n", > > - (gmch_ctrl & G33_PGETBL_SIZE_MASK)); > > - size = 512; > > - } > > - size += 4; > > } else if (IS_G4X || IS_PINEVIEW) { > > /* On 4 series hardware, GTT stolen is separate from graphics > > * stolen, ignore it in stolen gtt entries counting. However, > > @@ -1220,24 +1204,31 @@ static int intel_i915_get_gtt_size(void) > > int size; > > > > if (IS_G33) { > > - u16 gmch_ctrl; > > + u32 pgetbl_ctl; > > + pgetbl_ctl = readl(intel_private.registers+I810_PGETBL_CTL); > > > > - /* G33's GTT size defined in gmch_ctrl */ > > - pci_read_config_word(agp_bridge->dev, I830_GMCH_CTRL, &gmch_ctrl); > > - switch (gmch_ctrl & I830_GMCH_GMS_MASK) { > > - case I830_GMCH_GMS_STOLEN_512: > > + switch (pgetbl_ctl & I965_PGETBL_SIZE_MASK) { > > + case I965_PGETBL_SIZE_128KB: > > + size = 128; > > + break; > > + case I965_PGETBL_SIZE_256KB: > > + size = 256; > > + break; > > + case I965_PGETBL_SIZE_512KB: > > size = 512; > > break; > > - case I830_GMCH_GMS_STOLEN_1024: > > + case I965_PGETBL_SIZE_1MB: > > size = 1024; > > break; > > - case I830_GMCH_GMS_STOLEN_8192: > > - size = 8*1024; > > + case I965_PGETBL_SIZE_2MB: > > + size = 2048; > > + break; > > + case I965_PGETBL_SIZE_1_5MB: > > + size = 1024 + 512; > > break; > > default: > > - dev_info(&agp_bridge->dev->dev, > > - "unknown page table size 0x%x, assuming 512KB\n", > > - (gmch_ctrl & I830_GMCH_GMS_MASK)); > > + dev_info(&intel_private.pcidev->dev, > > + "unknown page table size, assuming 512KB\n"); > > size = 512; > > } > > } else { > > @@ -1269,14 +1260,6 @@ static int intel_i915_create_gatt_table(struct agp_bridge_data *bridge) > > pci_read_config_dword(intel_private.pcidev, I915_MMADDR, &temp); > > pci_read_config_dword(intel_private.pcidev, I915_PTEADDR, &temp2); > > > > - gtt_map_size = intel_i915_get_gtt_size(); > > - > > - intel_private.gtt = ioremap(temp2, gtt_map_size); > > - if (!intel_private.gtt) > > - return -ENOMEM; > > - > > - intel_private.gtt_total_size = gtt_map_size / 4; > > - > > temp &= 0xfff80000; > > > > intel_private.registers = ioremap(temp, 128 * 4096); > > @@ -1285,6 +1268,14 @@ static int intel_i915_create_gatt_table(struct agp_bridge_data *bridge) > > return -ENOMEM; > > } > > > > + gtt_map_size = intel_i915_get_gtt_size(); > > + > > + intel_private.gtt = ioremap(temp2, gtt_map_size); > > + if (!intel_private.gtt) > > + return -ENOMEM; > > + > > + intel_private.gtt_total_size = gtt_map_size / 4; > > + > > temp = readl(intel_private.registers+I810_PGETBL_CTL) & 0xfffff000; > > global_cache_flush(); /* FIXME: ? */ > > > >
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
2.6.36-rc6-git2: Reported regressions 2.6.34 -> 2.6.35
, Rafael J. Wysocki
, (Sun Oct 3, 2:36 pm)
[Bug #16228] BUG/boot failure on Dell Precision T3500 (pci ...
, Rafael J. Wysocki
, (Sun Oct 3, 2:53 pm)
[Bug #16462] unable to connect to hidden SSID AP on legal ...
, Rafael J. Wysocki
, (Sun Oct 3, 2:53 pm)
[Bug #16265] Why is kslowd accumulating so much CPU time?
, Rafael J. Wysocki
, (Sun Oct 3, 2:53 pm)
[Bug #16380] Loop devices act strangely in 2.6.35
, Rafael J. Wysocki
, (Sun Oct 3, 2:53 pm)
[Bug #16458] Bluetooth disabled after resume
, Rafael J. Wysocki
, (Sun Oct 3, 2:53 pm)
[Bug #16312] WARNING: at fs/fs-writeback.c:1127 __mark_ino ...
, Rafael J. Wysocki
, (Sun Oct 3, 2:53 pm)
[Bug #16525] unexpected high load since 2.6.35
, Rafael J. Wysocki
, (Sun Oct 3, 2:53 pm)
[Bug #16488] [i915] Framebuffer ID error after suspend/hib ...
, Rafael J. Wysocki
, (Sun Oct 3, 2:53 pm)
[Bug #16549] 2.6.35: suspicious rcu_dereference_check() usage
, Rafael J. Wysocki
, (Sun Oct 3, 2:53 pm)
[Bug #16562] 2.6.35: cpu_idle bug report / on i7 870 cpu ( ...
, Rafael J. Wysocki
, (Sun Oct 3, 2:53 pm)
[Bug #16515] [bisected] Radeon rv280 can't boot on kernel ...
, Rafael J. Wysocki
, (Sun Oct 3, 2:53 pm)
[Bug #16891] Kernel panic while loading intel module durin ...
, Rafael J. Wysocki
, (Sun Oct 3, 2:53 pm)
[Bug #16614] [2.6.35] usb 2.0 em28xx kernel panic general ...
, Rafael J. Wysocki
, (Sun Oct 3, 2:53 pm)
[Bug #16691] IPW5100: iwlagn broken with 2.6.34.x to 2.6.3 ...
, Rafael J. Wysocki
, (Sun Oct 3, 2:53 pm)
[Bug #17812] Kernel completely frozen when memory is full
, Rafael J. Wysocki
, (Sun Oct 3, 2:53 pm)
[Bug #18522] cdrom drive doesn't detect removal
, Rafael J. Wysocki
, (Sun Oct 3, 2:53 pm)
[Bug #17772] Unable to locate IOAPIC for GSI *
, Rafael J. Wysocki
, (Sun Oct 3, 2:53 pm)
[Bug #17261] Freezes on bootup
, Rafael J. Wysocki
, (Sun Oct 3, 2:53 pm)
[Bug #19612] Computer fails to hibernate - problem idling ...
, Rafael J. Wysocki
, (Sun Oct 3, 2:53 pm)
[Bug #19302] PROBLEM: kernel crash on USB-modem (Huawei E1 ...
, Rafael J. Wysocki
, (Sun Oct 3, 2:53 pm)
Re: [Bug #16462] unable to connect to hidden SSID AP on le ...
, Daniel J Blueman
, (Mon Oct 4, 12:45 am)
Re: [Bug #16891] Kernel panic while loading intel module d ...
, Anisse Astier
, (Mon Oct 4, 8:25 am)
Re: 2.6.36-rc6-git2: Reported regressions 2.6.34 -> 2.6.35
, RafaÅ MiÅecki
, (Mon Oct 4, 11:01 am)
Re: [Bug #16891] Kernel panic while loading intel module d ...
, Rafael J. Wysocki
, (Mon Oct 4, 12:42 pm)
Re: [Bug #16891] Kernel panic while loading intel module d ...
, Rafael J. Wysocki
, (Mon Oct 4, 1:40 pm)
Re: [Bug #16891] Kernel panic while loading intel module d ...
, Anisse Astier
, (Mon Oct 4, 2:08 pm)
Re: [Bug #16891] Kernel panic while loading intel module d ...
, Rafael J. Wysocki
, (Mon Oct 4, 3:40 pm)
Re: [Bug #16891] Kernel panic while loading intel module d ...
, Greg KH
, (Tue Oct 5, 6:28 am)
Re: [Bug #16891] Kernel panic while loading intel module d ...
, Daniel Vetter
, (Tue Oct 5, 9:08 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Rafael J. Wysocki
[Bug #16136] Linux 2.6.34 causes system lockup on Compaq Presario 2200 Laptop
Joerg Roedel
Re: [patch] dma-debug: off by one issue
Tetsuo Handa
Re: [AppArmor #7 0/13] AppArmor security module
Pekka Enberg
Re: BUG in free_block (tainted)
Jakub Narebski
Re: [PATCH] gitweb: Fix shortlog only showing HEAD revision.
git
:
Christian Stimming
git-gui: Fix broken revert confirmation.
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Junio C Hamano
Re: git-svnimport
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
linux-netdev
:
Nick Piggin
Re: Kernel WARNING: at net/core/dev.c:1330 __netif_schedule+0x2c/0x98()
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Amit Kumar Salecha
[PATCH NEXT 10/10] qlcnic: add cksum flag
Patrick McHardy
Re: [PATCH RESEND 1/3] netfilter: xtables: inclusion of xt_condition
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
ath9k: Added get_survey callback in order to get channel noise
Linux Kernel Mailing List
ALSA: snd-usb-caiaq: Do not expose hardware input mode 0 of A4DJ
Linux Kernel Mailing List
cpumask: make irq_set_affinity() take a const struct cpumask
Linux Kernel Mailing List
V4L/DVB (9041): Add support YUAN High-Tech STK7700D (1164:1f08)
openbsd-misc
:
Conor
Re: RFID Reader
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Stuart Henderson
Re: SquidGuard problem
Henning Brauer
Re: 3ware hardware raid support?
Ryan McBride
Re: Packets Per Second Limit?
Colocation donated by:
Syndicate