linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kernel crash during suspend using iwl3945 driver 1.2.26k on ubuntu hardy
@ 2008-09-01 19:51 Karol Szkudlarek
  2008-09-02 12:27 ` Karol Szkudlarek
  2008-09-03  7:06 ` Zhu Yi
  0 siblings, 2 replies; 11+ messages in thread
From: Karol Szkudlarek @ 2008-09-01 19:51 UTC (permalink / raw)
  To: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 473 bytes --]

Hello!

I'm using Ubuntu 8.04 with compiled 1.2.26k linux wireless driver for 
iwl3945 network card on my hp6710b laptop.
Script during suspend trying to remove the iwl3945 module and I receive 
kernel crash.
This is repeatable. I attached screenshot of kernel stack. Has somebody 
of iwl3945 developers can look on it?

Greets and regards,

-- 
Karol Szkudlarek
Mikronika
ul. Wykopy 2/4
60-001 POZNAÑ
tel. +48 61 6655600
fax +48 61 6655602
e-mail karol@mikronika.com.pl


[-- Attachment #2: P1180965_s.JPG --]
[-- Type: image/jpeg, Size: 315088 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: kernel crash during suspend using iwl3945 driver 1.2.26k on ubuntu hardy
  2008-09-01 19:51 kernel crash during suspend using iwl3945 driver 1.2.26k on ubuntu hardy Karol Szkudlarek
@ 2008-09-02 12:27 ` Karol Szkudlarek
  2008-09-03  7:06 ` Zhu Yi
  1 sibling, 0 replies; 11+ messages in thread
From: Karol Szkudlarek @ 2008-09-02 12:27 UTC (permalink / raw)
  To: linux-wireless

Karol Szkudlarek <karol@...> writes:

> 
> Hello!
> 
> I'm using Ubuntu 8.04 with compiled 1.2.26k linux wireless driver for 
> iwl3945 network card on my hp6710b laptop.
> Script during suspend trying to remove the iwl3945 module and I receive 
> kernel crash.
> This is repeatable. I attached screenshot of kernel stack. Has somebody 
> of iwl3945 developers can look on it?
> 
> Greets and regards,
> 

Beacuse my email attachement is not visible on the mailing list the screenshot
is also available here http://ksi.mikronika.com.pl/~karol/P1180965_s.JPG



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: kernel crash during suspend using iwl3945 driver 1.2.26k on ubuntu hardy
  2008-09-01 19:51 kernel crash during suspend using iwl3945 driver 1.2.26k on ubuntu hardy Karol Szkudlarek
  2008-09-02 12:27 ` Karol Szkudlarek
@ 2008-09-03  7:06 ` Zhu Yi
  2008-09-03 18:22   ` Karol Szkudlarek
  1 sibling, 1 reply; 11+ messages in thread
From: Zhu Yi @ 2008-09-03  7:06 UTC (permalink / raw)
  To: Karol Szkudlarek; +Cc: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 422 bytes --]

On Mon, 2008-09-01 at 21:51 +0200, Karol Szkudlarek wrote:
> I'm using Ubuntu 8.04 with compiled 1.2.26k linux wireless driver for 
> iwl3945 network card on my hp6710b laptop.
> Script during suspend trying to remove the iwl3945 module and I
> receive kernel crash.
> This is repeatable. I attached screenshot of kernel stack. Has
> somebody of iwl3945 developers can look on it?

Please try attached patch.

Thanks,
-yi

[-- Attachment #2: iwl3945_remove.patch --]
[-- Type: text/x-patch, Size: 1275 bytes --]

diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index 53e234d..e312e93 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -8117,9 +8117,15 @@ static void __devexit iwl3945_pci_remove(struct pci_dev *pdev)
 
 	IWL_DEBUG_INFO("*** UNLOAD DRIVER ***\n");
 
+	sysfs_remove_group(&pdev->dev.kobj, &iwl3945_attribute_group);
+
 	set_bit(STATUS_EXIT_PENDING, &priv->status);
 
-	iwl3945_down(priv);
+	if (priv->mac80211_registered) {
+		ieee80211_unregister_hw(priv->hw);
+		priv->mac80211_registered = 0;
+	} else
+		iwl3945_down(priv);
 
 	/* make sure we flush any pending irq or
 	 * tasklet for the driver
@@ -8130,8 +8136,6 @@ static void __devexit iwl3945_pci_remove(struct pci_dev *pdev)
 
 	iwl_synchronize_irq(priv);
 
-	sysfs_remove_group(&pdev->dev.kobj, &iwl3945_attribute_group);
-
 	iwl3945_rfkill_unregister(priv);
 	iwl3945_dealloc_ucode_pci(priv);
 
@@ -8142,9 +8146,6 @@ static void __devexit iwl3945_pci_remove(struct pci_dev *pdev)
 	iwl3945_unset_hw_setting(priv);
 	iwl3945_clear_stations_table(priv);
 
-	if (priv->mac80211_registered)
-		ieee80211_unregister_hw(priv->hw);
-
 	/*netif_stop_queue(dev); */
 	flush_workqueue(priv->workqueue);
 

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: kernel crash during suspend using iwl3945 driver 1.2.26k on ubuntu hardy
  2008-09-03  7:06 ` Zhu Yi
@ 2008-09-03 18:22   ` Karol Szkudlarek
  2008-09-05  7:55     ` Zhu Yi
  0 siblings, 1 reply; 11+ messages in thread
From: Karol Szkudlarek @ 2008-09-03 18:22 UTC (permalink / raw)
  To: linux-wireless

Zhu Yi <yi.zhu@...> writes:

> 
> On Mon, 2008-09-01 at 21:51 +0200, Karol Szkudlarek wrote:
> > I'm using Ubuntu 8.04 with compiled 1.2.26k linux wireless driver for 
> > iwl3945 network card on my hp6710b laptop.
> > Script during suspend trying to remove the iwl3945 module and I
> > receive kernel crash.
> > This is repeatable. I attached screenshot of kernel stack. Has
> > somebody of iwl3945 developers can look on it?
> 
> Please try attached patch.
> 
> Thanks,
> -yi
> 
> Attachment (iwl3945_remove.patch): text/x-patch, 1205 bytes


Hello!

I applied the patch but unfortunately still I have a kernel crash.
Look at the screnshoot, stack looks little different:

http://ksi.mikronika.com.pl/~karol/P1180998_s.JPG

Tests I performed with
http://linuxwireless.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 which
is
compat-wireless-2008-08-06 and git-describe v2.6.26-rc9-14214-g9cb3010
and compat-wireless-2008-07-25 and git-describe v2.6.26-rc9-14207-ga520bdb
with the same result...


Thanks and Regards,
Karol Szkudlarek





^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: kernel crash during suspend using iwl3945 driver 1.2.26k on ubuntu hardy
  2008-09-03 18:22   ` Karol Szkudlarek
@ 2008-09-05  7:55     ` Zhu Yi
  2008-09-05  8:13       ` Karol Szkudlarek
  0 siblings, 1 reply; 11+ messages in thread
From: Zhu Yi @ 2008-09-05  7:55 UTC (permalink / raw)
  To: Karol Szkudlarek; +Cc: linux-wireless

On Wed, 2008-09-03 at 18:22 +0000, Karol Szkudlarek wrote:
> Tests I performed with
> http://linuxwireless.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 which
> is
> compat-wireless-2008-08-06 and git-describe v2.6.26-rc9-14214-g9cb3010
> and compat-wireless-2008-07-25 and git-describe
> v2.6.26-rc9-14207-ga520bdb
> with the same result...

Please see if 2.6.27-rc kernels fix this problem. The wme_qdisc stuff is
removed in .27.

Thanks,
-yi


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: kernel crash during suspend using iwl3945 driver 1.2.26k on ubuntu hardy
  2008-09-05  7:55     ` Zhu Yi
@ 2008-09-05  8:13       ` Karol Szkudlarek
  2008-09-05 15:05         ` Larry Finger
  0 siblings, 1 reply; 11+ messages in thread
From: Karol Szkudlarek @ 2008-09-05  8:13 UTC (permalink / raw)
  To: Zhu Yi; +Cc: linux-wireless

Zhu Yi pisze:
> On Wed, 2008-09-03 at 18:22 +0000, Karol Szkudlarek wrote:
>  =20
>> Tests I performed with
>> http://linuxwireless.org/download/compat-wireless-2.6/compat-wireles=
s-2.6.tar.bz2 which
>> is
>> compat-wireless-2008-08-06 and git-describe v2.6.26-rc9-14214-g9cb30=
10
>> and compat-wireless-2008-07-25 and git-describe
>> v2.6.26-rc9-14207-ga520bdb
>> with the same result...
>>    =20
>
> Please see if 2.6.27-rc kernels fix this problem. The wme_qdisc stuff=
 is
> removed in .27.
>
> Thanks,
> -yi
>  =20
Hello Zhu!

It will be tough to see in 2.6.27-rc kernels beacuse I use Ubuntu 8.04 =
LTS
which uses 2.6.24 linux kernel. :-(

--=20
Karol Szkudlarek
Mikronika
ul. Wykopy 2/4
60-001 POZNA=C3=91
tel. +48 61 6655600
fax +48 61 6655602
e-mail karol@mikronika.com.pl

--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: kernel crash during suspend using iwl3945 driver 1.2.26k on ubuntu hardy
  2008-09-05  8:13       ` Karol Szkudlarek
@ 2008-09-05 15:05         ` Larry Finger
  2008-09-05 16:12           ` Tim Gardner
  0 siblings, 1 reply; 11+ messages in thread
From: Larry Finger @ 2008-09-05 15:05 UTC (permalink / raw)
  To: Karol Szkudlarek; +Cc: Zhu Yi, linux-wireless

Karol Szkudlarek wrote:
> Hello Zhu!
> 
> It will be tough to see in 2.6.27-rc kernels beacuse I use Ubuntu 8.04 LTS
> which uses 2.6.24 linux kernel. :-(
> 

The Ubuntu team has a 2.6.27 kernel available. To quote the text of a 
message in a BCM4306 thread "1)  If you are comfortable installing 
packages on your own, the linux-image-2.6.27-* package is currently 
available for you to install and test."

Larry

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: kernel crash during suspend using iwl3945 driver 1.2.26k on ubuntu hardy
  2008-09-05 15:05         ` Larry Finger
@ 2008-09-05 16:12           ` Tim Gardner
  2008-09-09  8:01             ` Karol Szkudlarek
  0 siblings, 1 reply; 11+ messages in thread
From: Tim Gardner @ 2008-09-05 16:12 UTC (permalink / raw)
  To: Karol Szkudlarek; +Cc: Larry Finger, Zhu Yi, linux-wireless

Larry Finger wrote:
> Karol Szkudlarek wrote:
>> Hello Zhu!
>>
>> It will be tough to see in 2.6.27-rc kernels beacuse I use Ubuntu 8.04
>> LTS
>> which uses 2.6.24 linux kernel. :-(
>>
> 
> The Ubuntu team has a 2.6.27 kernel available. To quote the text of a
> message in a BCM4306 thread "1)  If you are comfortable installing
> packages on your own, the linux-image-2.6.27-* package is currently
> available for you to install and test."
> 
> Larry
> -- 
> To unsubscribe from this list: send the line "unsubscribe
> linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

There is a Hardy package for the 2.6.27 kernel at

http://ppa.launchpad.net/timg-tpi/ubuntu

It is currently based on -rc5. I'll be updating it throughout the .27
development and stable cycle.

rtg
-- 
Tim Gardner tim.gardner@canonical.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: kernel crash during suspend using iwl3945 driver 1.2.26k on ubuntu hardy
  2008-09-05 16:12           ` Tim Gardner
@ 2008-09-09  8:01             ` Karol Szkudlarek
  2008-09-09 12:17               ` Tim Gardner
  0 siblings, 1 reply; 11+ messages in thread
From: Karol Szkudlarek @ 2008-09-09  8:01 UTC (permalink / raw)
  To: Tim Gardner; +Cc: Larry Finger, Zhu Yi, linux-wireless

Tim Gardner pisze:
> Larry Finger wrote:
>> Karol Szkudlarek wrote:
>>> Hello Zhu!
>>>
>>> It will be tough to see in 2.6.27-rc kernels beacuse I use Ubuntu 8=
=2E04
>>> LTS
>>> which uses 2.6.24 linux kernel. :-(
>>>
>> The Ubuntu team has a 2.6.27 kernel available. To quote the text of =
a
>> message in a BCM4306 thread "1)  If you are comfortable installing
>> packages on your own, the linux-image-2.6.27-* package is currently
>> available for you to install and test."
>>
>> Larry
>> --=20
>> To unsubscribe from this list: send the line "unsubscribe
>> linux-wireless" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>=20
> There is a Hardy package for the 2.6.27 kernel at
>=20
> http://ppa.launchpad.net/timg-tpi/ubuntu
>=20
> It is currently based on -rc5. I'll be updating it throughout the .27
> development and stable cycle.
>=20
> rtg

I would like try 2.6.27 so today I checked=20
http://ppa.launchpad.net/timg-tpi/ubuntu/dists/hardy/main/binary-i386/P=
ackages
and I don't see any 2.6.27 packages...

Second question: do you precompiled also all modules? I need them to=20
perform an upgrade and got the running system.

--=20
Karol Szkudlarek
Mikronika
ul. Wykopy 2/4
60-001 POZNA=D1
tel. +48 61 6655600
fax +48 61 6655602
e-mail karol@mikronika.com.pl
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: kernel crash during suspend using iwl3945 driver 1.2.26k on ubuntu hardy
  2008-09-09  8:01             ` Karol Szkudlarek
@ 2008-09-09 12:17               ` Tim Gardner
  2008-09-09 13:38                 ` Karol Szkudlarek
  0 siblings, 1 reply; 11+ messages in thread
From: Tim Gardner @ 2008-09-09 12:17 UTC (permalink / raw)
  To: Karol Szkudlarek; +Cc: Larry Finger, Zhu Yi, linux-wireless

Karol Szkudlarek wrote:
> Tim Gardner pisze:
>> Larry Finger wrote:
>>> Karol Szkudlarek wrote:
>>>> Hello Zhu!
>>>>
>>>> It will be tough to see in 2.6.27-rc kernels beacuse I use Ubuntu 8.04
>>>> LTS
>>>> which uses 2.6.24 linux kernel. :-(
>>>>
>>> The Ubuntu team has a 2.6.27 kernel available. To quote the text of a
>>> message in a BCM4306 thread "1)  If you are comfortable installing
>>> packages on your own, the linux-image-2.6.27-* package is currently
>>> available for you to install and test."
>>>
>>> Larry
>>> -- 
>>> To unsubscribe from this list: send the line "unsubscribe
>>> linux-wireless" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>
>>
>> There is a Hardy package for the 2.6.27 kernel at
>>
>> http://ppa.launchpad.net/timg-tpi/ubuntu
>>
>> It is currently based on -rc5. I'll be updating it throughout the .27
>> development and stable cycle.
>>
>> rtg
> 
> I would like try 2.6.27 so today I checked
> http://ppa.launchpad.net/timg-tpi/ubuntu/dists/hardy/main/binary-i386/Packages
> 
> and I don't see any 2.6.27 packages...
> 
> Second question: do you precompiled also all modules? I need them to
> perform an upgrade and got the running system.
> 

I found I could not have 2 packages with the same name but different
versions in one PPA, so I moved the 2.6.27 package to the kernel team
PPA at:

http://ppa.launchpad.net/kernel-ppa/ubuntu

Sorry for the confusion.

rtg

-- 
Tim Gardner tim.gardner@canonical.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: kernel crash during suspend using iwl3945 driver 1.2.26k on ubuntu hardy
  2008-09-09 12:17               ` Tim Gardner
@ 2008-09-09 13:38                 ` Karol Szkudlarek
  0 siblings, 0 replies; 11+ messages in thread
From: Karol Szkudlarek @ 2008-09-09 13:38 UTC (permalink / raw)
  To: Tim Gardner; +Cc: Larry Finger, Zhu Yi, linux-wireless

Tim Gardner pisze:
> Karol Szkudlarek wrote:
>> Tim Gardner pisze:
>>> Larry Finger wrote:
>>>> Karol Szkudlarek wrote:
>>>>> Hello Zhu!
>>>>>
>>>>> It will be tough to see in 2.6.27-rc kernels beacuse I use Ubuntu=
 8.04
>>>>> LTS
>>>>> which uses 2.6.24 linux kernel. :-(
>>>>>
>>>> The Ubuntu team has a 2.6.27 kernel available. To quote the text o=
f a
>>>> message in a BCM4306 thread "1)  If you are comfortable installing
>>>> packages on your own, the linux-image-2.6.27-* package is currentl=
y
>>>> available for you to install and test."
>>>>
>>>> Larry
>>>> --=20
>>>> To unsubscribe from this list: send the line "unsubscribe
>>>> linux-wireless" in
>>>> the body of a message to majordomo@vger.kernel.org
>>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>>
>>> There is a Hardy package for the 2.6.27 kernel at
>>>
>>> http://ppa.launchpad.net/timg-tpi/ubuntu
>>>
>>> It is currently based on -rc5. I'll be updating it throughout the .=
27
>>> development and stable cycle.
>>>
>>> rtg
>> I would like try 2.6.27 so today I checked
>> http://ppa.launchpad.net/timg-tpi/ubuntu/dists/hardy/main/binary-i38=
6/Packages
>>
>> and I don't see any 2.6.27 packages...
>>
>> Second question: do you precompiled also all modules? I need them to
>> perform an upgrade and got the running system.
>>
>=20
> I found I could not have 2 packages with the same name but different
> versions in one PPA, so I moved the 2.6.27 package to the kernel team
> PPA at:
>=20
> http://ppa.launchpad.net/kernel-ppa/ubuntu
>=20
> Sorry for the confusion.
>=20
> rtg
>=20
OK. I downloaded the packages and during installation I got the=20
following error, please help me: :-)

# apt-get install linux-headers-2.6.27-3 linux-image-2.6.27-3-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-2.6.27-3 is already the newest version.
linux-image-2.6.27-3-generic is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up linux-image-2.6.27-3-generic (2.6.27-3.4) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.27-3-generic
cpio: not implemented or invalid option --

gzip: stdin: unexpected end of file
update-initramfs: failed for /boot/initrd.img-2.6.27-3-generic
=46ailed to create initrd image.
dpkg: error processing linux-image-2.6.27-3-generic (--configure):
  subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
  linux-image-2.6.27-3-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)


--=20
Karol Szkudlarek
Mikronika
ul. Wykopy 2/4
60-001 POZNA=D1
tel. +48 61 6655600
fax +48 61 6655602
e-mail karol@mikronika.com.pl
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-09-09 13:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-01 19:51 kernel crash during suspend using iwl3945 driver 1.2.26k on ubuntu hardy Karol Szkudlarek
2008-09-02 12:27 ` Karol Szkudlarek
2008-09-03  7:06 ` Zhu Yi
2008-09-03 18:22   ` Karol Szkudlarek
2008-09-05  7:55     ` Zhu Yi
2008-09-05  8:13       ` Karol Szkudlarek
2008-09-05 15:05         ` Larry Finger
2008-09-05 16:12           ` Tim Gardner
2008-09-09  8:01             ` Karol Szkudlarek
2008-09-09 12:17               ` Tim Gardner
2008-09-09 13:38                 ` Karol Szkudlarek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).