NULL pointer dereference when connecting USB mass storage device

Bug #110997 reported by Torbjörn Söderstedt
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-source-2.6.20 (Ubuntu)
Won't Fix
Medium
Unassigned
linux-source-2.6.22 (Ubuntu)
Fix Released
Medium
Amit Kucheria

Bug Description

Usually when I connect my USB freecom hard disk, I get this error. I need to reboot if I want to try again, because sometimes it works. I also got this error in edgy.

Tags: kernel-oops
Revision history for this message
Torbjörn Söderstedt (torso690-deactivatedaccount) wrote :

torbjrn@sexymate:~$ id
uid=1000(torbjrn) gid=1000(torbjrn) groups=4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),109(lpadmin),111(scanner),114(admin),1000(torbjrn)
torbjrn@sexymate:~$ id hal
id: hal: No such user
torbjrn@sexymate:~$ id haldaemon
uid=106(haldaemon) gid=110(haldaemon) groups=110(haldaemon),24(cdrom),25(floppy),46(plugdev),122(powerdev)
torbjrn@sexymate:~$ uname -a
Linux sexymate 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux

Revision history for this message
Torbjörn Söderstedt (torso690-deactivatedaccount) wrote :
Revision history for this message
Torbjörn Söderstedt (torso690-deactivatedaccount) wrote :
Revision history for this message
Torbjörn Söderstedt (torso690-deactivatedaccount) wrote :
Revision history for this message
Gabriel Schulhof (nix-go-nix) wrote :

I can confirm this on 2.6.20-16-386

Revision history for this message
Gabriel Schulhof (nix-go-nix) wrote :

P.S.: I get this when /dis/connecting a device

Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug does not meet the criteria for a stable release update and is being marked as Won't Fix for this particular version of the kernel. You can learn more about the stable release update process at https://wiki.ubuntu.com/StableReleaseUpdates .
However, the issue that you reported is one that should be possible to test with the live environment of the Desktop CD of the development release - Gutsy Gibbon. It would help us greatly if you could test with it so we can work on getting it fixed in the actively developed kernel. You can find out more about the development release at http://www.ubuntu.com/testing/ .
If you do decide to test with the development release of Ubuntu please comment on this bug report and include at least the minimal information requested at http://wiki.ubuntu.com/KernelTeamBugPolicies . Thanks again and we appreciate your help.

Changed in linux-source-2.6.20:
assignee: nobody → brian-murray
importance: Undecided → Medium
status: New → Won't Fix
Revision history for this message
Torbjörn Söderstedt (torso690-deactivatedaccount) wrote :

I tried connecting the same harddisk to a different computer running Gutsy Gibbon Tribe 5. The first attempt was successful, so I disconnected and reconnected and the second attempt failed. I have annotated the dmesg.log with the different cases.

Changed in linux-source-2.6.20:
status: Won't Fix → New
Revision history for this message
Torbjörn Söderstedt (torso690-deactivatedaccount) wrote :
Revision history for this message
Torbjörn Söderstedt (torso690-deactivatedaccount) wrote :
Revision history for this message
Torbjörn Söderstedt (torso690-deactivatedaccount) wrote :
Revision history for this message
Torbjörn Söderstedt (torso690-deactivatedaccount) wrote :
Changed in linux-source-2.6.20:
importance: Undecided → Medium
status: New → Won't Fix
Changed in linux-source-2.6.22:
assignee: brian-murray → ubuntu-kernel-team
status: New → Triaged
Revision history for this message
Amit Kucheria (amitk) wrote :

Reportedly fixed with this patch: http://marc.info/?l=linux-scsi&m=118289275414202

Please test next kernel update and verify.

Changed in linux-source-2.6.22:
assignee: ubuntu-kernel-team → amitk
status: Triaged → Fix Committed
Revision history for this message
Ben Collins (ben-collins) wrote :

linux-source-2.6.22 (2.6.22-12.36) gutsy; urgency=low

  [Ben Collins]

  * ABI bump due to LED support being enabled.

  [Kyle McMartin]

  * fix memory leak in psparse.c
    - Bug introduced in previous commit to acpi

  [Upstream Kernel Changes]

  * Ubuntu: Allocate acpi_devices structure rather than leaving it on the
    stack.
  * ipw2100: Fix `iwpriv set_power` error
  * Fix ipw2200 set wrong power parameter causing firmware error
  * [SCSI] Fix async scanning double-add problems
    - LP: #110997

 -- Ben Collins <email address hidden> Thu, 20 Sep 2007 11:34:52 -0400

Changed in linux-source-2.6.22:
status: Fix Committed → Fix Released
Revision history for this message
Torbjörn Söderstedt (torso690-deactivatedaccount) wrote :

Updated to 2.6.22-14 and now it works. The drive still spins up 3 times when I connect it though.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.