Stian B. Barmen | 21 Mar 15:40 2006
Picon

Problems on Ubuntu Dapper, custom kernel 2.6.16

I have just installed a custom kernel on the fresh 2.6.16 version. The
problem on Dapper is the lack of mmc_block in the 2.6.15 kernel headers.
Anyways, the 2.6.16 kernel seems to work nice, and the wbsd driver loads
with no errors as does mmc:

[4294682.474000] mmc0: W83L51xD id 7112 at 0x248 irq 6 FIFO PnP
[4294682.536000] mmcblk0: mmc0:a95c SD01G 992000KiB
[4294682.536000]  mmcblk0: p1
[4294956.266000] mmcblk0: mmc0:a95c SD01G 992000KiB

root <at> darkstar:/lib/firmware# lsmod |grep wbsd
wbsd                   19400  0
mmc_core               25472  2 mmc_block,wbsd

But when I put in a SD card in the reader I get these messages:

[4295600.121000] mmcblk0: mmc0:a95d  992000KiB
[4295600.206000] generic_make_request: Trying to access nonexistent
block-device mmcblk0 (1983872)
[4295600.206000] printk: 53 messages suppressed.
[4295600.206000] Buffer I/O error on device mmcblk0, logical block
247984
[4295600.206000] generic_make_request: Trying to access nonexistent
block-device mmcblk0 (1983872)
[4295600.206000] Buffer I/O error on device mmcblk0, logical block
247984
[4295600.206000] generic_make_request: Trying to access nonexistent
block-device mmcblk0 (1983992)
[4295600.206000] Buffer I/O error on device mmcblk0, logical block
247999
(Continue reading)

Pierre Ossman | 21 Mar 19:18 2006

Don't use 0.11 with 2.6.16

Since not everyone seems to have noticed this, I'll send a top level
message about it.

The 0.11 patch set should not be used for 2.6.16. What you should be
using is the -mm patches for 2.6.16.

Rgds
Pierre

Pierre Ossman | 21 Mar 19:21 2006

Re: Don't use 0.11 with 2.6.16

Ignore this. Wrong list.

Pierre Ossman | 21 Mar 19:23 2006

Re: Problems on Ubuntu Dapper, custom kernel 2.6.16

Stian B. Barmen wrote:
> I have just installed a custom kernel on the fresh 2.6.16 version. The
> problem on Dapper is the lack of mmc_block in the 2.6.15 kernel headers.
> Anyways, the 2.6.16 kernel seems to work nice, and the wbsd driver loads
> with no errors as does mmc:
> 
> [4294682.474000] mmc0: W83L51xD id 7112 at 0x248 irq 6 FIFO PnP
> [4294682.536000] mmcblk0: mmc0:a95c SD01G 992000KiB
> [4294682.536000]  mmcblk0: p1

Seems to work fine here at least.

> 
> But when I put in a SD card in the reader I get these messages:
> 
> [4295600.121000] mmcblk0: mmc0:a95d  992000KiB
> [4295600.206000] generic_make_request: Trying to access nonexistent
> block-device mmcblk0 (1983872)
> [4295600.206000] printk: 53 messages suppressed.

Please enable MMC_DEBUG so that we can see more of what's going on.

Rgds
Pierre

Pierre Ossman | 21 Mar 21:21 2006

Re: Problems on Ubuntu Dapper, custom kernel 2.6.16

Stian B. Barmen wrote:
> Hello Pierre, I recompiled the kernel, enabled debuggin, reinstalled and
> rebooted and now it works. Go figure :) 
>
> Only problem I see is that it seems to use a lot of system resources and
> it is quite slow when loading the images. This might be a problem with
> the winbond reader, but it seems faster in windows. Do you know if this
> is a know issue?
>
>   

No, not really. Your device is in FIFO mode, which is generally slower
and more demanding of the system. Perhaps you BIOS has broken PnP
settings that windows deals with better. Try loading the module with the
parameter "nopnp=1" and see if that works (it might hang, so save
everything before you try this).

Rgds
Pierre


Gmane