Skip to contentSkip to conversation

kernel crash during suspend using iwl3945 driver 1.2.26k on ubuntu hardy

DISCUSSION Karol Szkudlarek 4 participants 11 messages Sep 1, 2008 – Sep 9, 2008 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

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,

Signature · 7 lines
Karol Szkudlarek
Mikronika
ul. Wykopy 2/4
60-001 POZNAÑ
tel. +48 61 6655600
fax +48 61 6655602
e-mail [email protected]
#1 lore raw
Quoted 12 lines · Karol Szkudlarek

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

#2 lore raw
In reply to Karol Szkudlarek
Quoted 6 lines · Karol Szkudlarek

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

drivers/net/wireless/iwlwifi/iwl3945-base.c +7 -6
index 53e234d..e312e93 100644
@@ -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);
 
#3 lore raw
Quoted 9 lines · Zhu Yi
Quoted 6 lines · Karol Szkudlarek

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?

Quoted 6 lines

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

#5 lore raw

Zhu Yi pisze:

Quoted 4 lines · Karol Szkudlarek

=20

Quoted 2 lines

Tests I performed with
http://linuxwireless.org/download/compat-wireless-2.6/compat-wireles=

s-2.6.tar.bz2 which

Quoted 2 lines
Quoted 2 lines

is
compat-wireless-2008-08-06 and git-describe v2.6.26-rc9-14214-g9cb30=

10

Quoted 6 lines
Quoted 4 lines

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

Quoted 5 lines

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 [email protected]

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

#6 lore raw
Quoted 5 lines · Karol Szkudlarek

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

#7 lore raw
Quoted 8 lines · Larry Finger
Quoted 6 lines · Karol Szkudlarek

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. :-(

Quoted 12 lines

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

Signature · 4 lines
To unsubscribe from this list: send the line "unsubscribe
linux-wireless" in
the body of a message to [email protected]
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

Signature · 1 line
Tim Gardner [email protected]
#8 lore raw

Tim Gardner pisze:

Quoted 5 lines
Quoted 4 lines · Larry Finger
Quoted 3 lines · Karol Szkudlarek

Hello Zhu!

It will be tough to see in 2.6.27-rc kernels beacuse I use Ubuntu 8=

=2E04

Quoted 4 lines
Quoted 4 lines
Quoted 3 lines

LTS
which uses 2.6.24 linux kernel. :-(

The Ubuntu team has a 2.6.27 kernel available. To quote the text of =

a

Quoted 11 lines
Quoted 11 lines

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 9 lines

=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 [email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#9 lore raw
Quoted 31 lines · Karol Szkudlarek

Tim Gardner pisze:

Quoted 21 lines
Quoted 7 lines · Larry Finger
Quoted 6 lines · Karol Szkudlarek

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. :-(

Quoted 12 lines

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

Signature · 4 lines
To unsubscribe from this list: send the line "unsubscribe
linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Quoted 8 lines

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

Quoted 8 lines

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

Signature · 1 line
Tim Gardner [email protected]
#10 lore raw

Tim Gardner pisze:

Quoted 7 lines
Quoted 6 lines · Karol Szkudlarek

Tim Gardner pisze:

Quoted 5 lines
Quoted 4 lines · Larry Finger
Quoted 3 lines · Karol Szkudlarek

Hello Zhu!

It will be tough to see in 2.6.27-rc kernels beacuse I use Ubuntu=

8.04

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines

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

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

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

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

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

Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

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

Quoted 6 lines
Quoted 6 lines

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.

Quoted 11 lines

=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 [email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html