Hang on boot when Sandisk Cruzer Micro USB-stick attached

Bug #65071 reported by Pär Lidén
4
Affects Status Importance Assigned to Milestone
Linux
Invalid
Medium
linux (Ubuntu)
Fix Released
Medium
Unassigned
Jaunty
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: linux-image-2.6.15-27-686

I have a problem with the kernel in ubuntu 6.06. When I have my USB-stick attached, it just hangs at boot. This is not a very severe problem, because it does boot correctly when the usb-stick is not attached, and it seems to be only on coldboots on which the system hangs, so if I restart the system with it attached, it uses to work, or if I push the reset button when it has hanged, it will also work. Pressing ctrl-alt-del wont work. At least this is what happened when I just tried to test the problem a bit today, maybe it has been so that it has hanged even on restarts sometimes, I don't really remember that.

This is what it says before it hangs:Booting 'Ubuntu, kernel 2.6.15-27-686'
root (hd0,4)
  Filesystem typ ext2fs, partition type 0x83
kernel /boot/vmlinuz-2.6.15-27-686 root=/dev/sda5
  [Linuz-bzimage, setup = 0x1c00, size=0x1170433]
initrd /boot/initrd.img-2.6.15-27-686
  [Linux-initrd @0x1f948000,0x6a78b3 bytes]
savedefault
boot
Uncompressing Linux... Ok, booting the kernel

And then it just waits there forever.

[Edit: The info above is old info and mostly irrelevant, see below for up-to-date info.]

My system:
ASUS P4C800 Motherboard, P4 2.8 GHz, 2x 512 mb Corsair memory
Seagate ST3120023AS harddisk, SATA 120gb
Nvidia GeForce 4Mx graphics card
Logitech Cordless keyboard, attached to usb
ps2 mouse
Plextor cd-writer
samsung dvd-reader

I was before a bit used to dealing with the kernel stuff, to the degree that I used to compile my own kernels and things like that, so if you want me to test things like that, I probably knows how to do that.

Tags: cft-2.6.27
Revision history for this message
Pär Lidén (par-liden) wrote :

I could also add that earlier in the summer the system could sometimes hang at bootup, even if there was no usb-stick attached. But at some point, after one of the upgrades, it stopped to do so (or at least it's very infrequent now) . However, i don't remember which upgrade made it. Before upgrading to Dapper, it never hung on bootup.

Regards
Pär

Revision history for this message
Pär Lidén (par-liden) wrote :

Now I have upgraded to Edgy, and the problem is still the same, but I dont know how mark so that it affects both packages. Would there be any idea to test with other linux kernel versions, such as the latest from linux.org, or to compile it with some special options or so? It doesn't matter if use the -386 or the -generic version.

Regards
Pär

Revision history for this message
Pär Lidén (par-liden) wrote :

After upgrading to Ubuntu 7.04 it works without problems. So for me at least, this is not an issue anymore.

/Pär

Revision history for this message
Chuck Short (zulcss) wrote :

Closing

Changed in linux-source-2.6.15:
status: New → Fix Released
Revision history for this message
Pär Lidén (par-liden) wrote :

I'm experiencing this bug again, both on Ubuntu 7.10, and on Hardy Heron. I attach a little video snapshot which shows what happens in the boot when the usb-stick is attached.

The results posted here are for Hardy Heron.

My original usb-stick got destroyed, so I don't know if the bug applies to that one still. This is with a Sandisk Cruzer Micro 512mb.

uname, dmesg, and lspci are on a subsequent boot with the usb-stick connected.

uname -a:
Linux loa-desktop 2.6.24-12-generic #1 SMP Wed Mar 12 23:01:54 UTC 2008 i686 GNU/Linux

Revision history for this message
Pär Lidén (par-liden) wrote :
Revision history for this message
Pär Lidén (par-liden) wrote :
Revision history for this message
Pär Lidén (par-liden) wrote :

Maybe the BIOS could be to blame, so I post this one also.

Changed in linux-source-2.6.15:
status: Fix Released → New
Revision history for this message
Pär Lidén (par-liden) wrote :

Looks like I forgot to attach the video clip...

It ends with the message:

ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found

and then just halts. I'm not able to take ctrl-alt-del, I have to do a hard reset.

Revision history for this message
Pär Lidén (par-liden) wrote :

I'm now reporting this bug upstream, but the kernels bugzilla doesn't accept files larger than 1 meg, so I upload it here instead.

Changed in linux:
status: Unknown → Confirmed
Changed in linux:
status: Confirmed → Incomplete
Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Christian Funder Sommerlund (zero3) wrote :

This could be relevant to this kernel bug: http://bugzilla.kernel.org/show_bug.cgi?id=6208

I am currently working with Zhang Rui there to fix it for the A6km laptop. Basically, when Linux identifies itself as "Windows NT", the BIOS does some special stuff regarding USB devices, causing the Linux boot to hang if USB devices are attached (all USB devices for me though, not just memory sticks).

As you have an ASUS motherboard as well, these bugs could be related.

Revision history for this message
Pär Lidén (par-liden) wrote :

Yes, Zhang Rui suggested that I should check out that bug also (at kernel bug 10406). I've been looking there, but I don't really understand how to check out if mine is a duplicate of that. The difference seems to be that for me just certain usb-devices cause the hang, and at bug 6208 every device will cause a hang. A mouse, a keyboard and a digicam I own seems to work fine. That seems to be the main difference between me and those people at that bug. The usb-stick which caused me originally to report this problem (above) is now dead, so I can't test that one again unfortunately.

Do you have any suggestions on how to further investigate the inter-connectedness of the that bug and mine? I know I haven't tried hard enough myself to check that yet, so maybe I'm not qualified to ask that question for now... ;-)

When I get the time I could do some more testing, like testing with the Ubuntu 7.04 kernel and some other tests.

Revision history for this message
Christian Funder Sommerlund (zero3) wrote :

I'm quite new to this stuff as well, so I'm probably just as lost as you ;)

As far as i remember, the live CDs also suffer from my 6208 one. If you can, try downloading and burning the hardy beta from http://www.ubuntu.com/testing/hardy/beta - and test if you can boot with your USB devices attached. If you can't, this is probably the same bug. If you can, however, it is probably another.

You do not have any USB devices that you cannot boot with attached at the moment?

Pär Lidén (par-liden)
description: updated
Revision history for this message
Pär Lidén (par-liden) wrote :

Again a video clip for the kernel bugzilla

Changed in linux:
status: Incomplete → Confirmed
Changed in linux:
status: Confirmed → Incomplete
Changed in linux:
status: Incomplete → Invalid
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

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.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
Tim Gardner (timg-tpi) wrote :

Booting from a USB stick is quite functional.

Changed in linux (Ubuntu Jaunty):
status: Triaged → Fix Released
Changed in linux:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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