Bug 5152
Summary: | 2.6.13 hangs during boot | ||
---|---|---|---|
Product: | Drivers | Reporter: | Larry Finger (Larry.Finger) |
Component: | PCI | Assignee: | Greg Kroah-Hartman (greg) |
Status: | REJECTED INVALID | ||
Severity: | blocking | CC: | bunk, kernelbugs |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.13 | Subsystem: | |
Regression: | --- | Bisected commit-id: |
Description
Larry Finger
2005-08-29 20:42:09 UTC
Since the first filing, I have more information. The hang only occurs when my Linksys WPC54G PCMCIA card is installed. The card uses ndiswrapper and a Windows driver; however, the hang happened before the ndiswrapper module had been built for 2.6.13. The wifi card connects with my network and gets its DHCP IP number - it looks as if the card and PCMCIA system are both working until ACPI is started. Then the machine hangs and must be powered off. Does this problem also occur if ndiswrapper was _never_ loaded since booting? If it doesn't, this bug should be closed because external drivers are off-topic in this Bugzilla and binary-only drivers undebuggable. Yes - the problem occurs when the ndiswrapper module had never been loaded. Today, I plan to selectively remove the patches between 2.6.13-rc7 and 2.6.13 to find which causes the problem. Removing the patch below fixes the problem. Obviously it should be reassigned to the PCI group. diff -aur linux-2.6.13-rc7/drivers/pci/setup-bus.c /home/finger/linux-2.6.13/drivers/pci/setup-bus.c --- linux-2.6.13-rc7/drivers/pci/setup-bus.c 2005-08-24 19:19:32.000000000 -0500 +++ /home/finger/linux-2.6.13/drivers/pci/setup-bus.c 2005-08-28 18:41:01.000000000 -0500 @@ -40,7 +40,7 @@ * FIXME: IO should be max 256 bytes. However, since we may * have a P2P bridge below a cardbus bridge, we need 4K. */ -#define CARDBUS_IO_SIZE (4096) +#define CARDBUS_IO_SIZE (256) #define CARDBUS_MEM_SIZE (32*1024*1024) static void __devinit Further experimentation shows that it works with a value of 512 or bigger for CARDBUS_IO_SIZE, just not with 256. I experience what I believe to be the same problem, and have put all diagnostics on http://schabi.de/temp/kernelbug/ It boots fine with 2.6.8-2-386 (debian) and 2.6.12.2 and 2.6.12.6 stock kernels, but not with 2.6.13. As the machine does not boot, I can only provide screenshots with a digicam, as well as diagnostics output from 2.6.12.6. You may notice the ipw2200 driver tainting the kernel when studying the dmesg output, however it is loaded as a module, and the 2.6.13 seems to hang well before booting into the initrd, despite loading any modules. Sorry, my bug seems to be a different one, as changing the CARDBUS_IO_SIZE does not seem to help. Should I try to test all the 2.6.3-rc kernels, or some configure options? Btw, should I file this as a new bug report? At 03:24 PM 9/8/2005, you wrote: >------- Additional Comments From kernelbugs@schabi.de 2005-09-08 >13:24 ------- >Sorry, my bug seems to be a different one, as changing the >CARDBUS_IO_SIZE does >not seem to help. > >Should I try to test all the 2.6.3-rc kernels, or some configure options? > >Btw, should I file this as a new bug report? > >------- You are receiving this mail because: ------- >You reported the bug, or are watching the reporter. You should definitely file a separate bug. Before you do, try 2.6.13-rc7 to see if it makes a difference. Thanks, I'll do so this night when I have access to that machine again. Did so: http://bugzilla.kernel.org/show_bug.cgi?id=5216 Thanks, Markus |