Robert Hancock | 6 Feb 04:16 2007
Picon

wbsd: IRQ handler type mismatch

I'm seeing this on bootup on my laptop with recent kernels (currently 
2.6.20-rc6-mm3):

Floppy drive(s): fd0 is 1.44M
IRQ handler type mismatch for IRQ 6
current handler: wbsd
  [<c0451fe7>] setup_irq+0x194/0x1ac
  [<e0ad7189>] floppy_hardint+0x0/0xc0 [floppy]
  [<c045207b>] request_irq+0x7c/0x98
  [<e0a5c67c>] init_module+0x546/0xe15 [floppy]
  [<c05ffe85>] _spin_unlock_irq+0x5/0x7
  [<c0442410>] __link_module+0x0/0x10
  [<c0442410>] __link_module+0x0/0x10
  [<c0443d6c>] sys_init_module+0x1781/0x18c8
  [<c04dbf10>] blk_init_queue+0x0/0x8
  [<c04734f6>] vfs_read+0xa6/0x152
  [<c0404e26>] sysenter_past_esp+0x5f/0x85
  [<c0600000>] error_code+0x68/0x84
  =======================
floppy0: Unable to grab IRQ6 for the floppy driver

It looks like wbsd is being loaded first, which being a nice PnP device 
sees that IRQ 6 is available and grabs it. Then the we try to load the 
floppy module (which is hard-coded to use IRQ 6) which fails because 
wbsd already owns IRQ6 (which is fine, there's no floppy controller 
anyway). The mismatch is occurring because wbsd passes IRQF_SHARED 
whereas floppy doesn't. I assume one of the two is likely wrong. Should 
wbsd really be passing IRQF_SHARED here? This is an LPC device which 
uses ISA-style edge triggered interrupts, is it safe to try and share an 
interrupt with this chip anyway?
(Continue reading)

Pierre Ossman | 27 Jan 13:19 2007

List shutting down

Hi everyone,

As this list only sees spam, and lots of it, I've decided to shut it
down. Any future questions should be directed to the linux kernel
mailing list.

Rgds
--

-- 
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  PulseAudio, core developer          http://pulseaudio.org
  rdesktop, core developer          http://www.rdesktop.org
colimit | 5 Dec 20:14 2006
Picon

wbsd Oopses on x86_64

wbsd module oopses on insertion (see kernel log in the attachment)
my system is 2.6.17.13, x86_64, gcc 4.1.2 20060928 (prerelease)
(Ubuntu 4.1.1-13ubuntu5)
I found a bug report similar to this at
http://lkml.org/lkml/2005/9/25/95 , I am wondering is ther any
solution?
Attachment (kkk1): application/octet-stream, 3777 bytes
_______________________________________________
Wbsd-devel mailing list
Wbsd-devel <at> list.drzeus.cx
http://list.drzeus.cx/mailman/listinfo/wbsd-devel
Mikael Starvik | 23 Oct 09:14 2006
Picon

Micro SD question

Hi!

I am trying to use a micro SD card with a SDHC controller. The commands
issued are:

mmc0: starting CMD0 arg 00000000 flags 00000040
mmc0: req done (CMD0): 0/0/0: 00000000 00000000 00000000 00000000

mmc0: starting CMD55 arg 00000000 flags 00000015
mmc0: req done (CMD55): 0/0/0: 00000120 00000000 00000000 00000000 

mmc0: starting CMD41 arg 00000000 flags 00000061
mmc0: req done (CMD41): 0/0/0: 00ff8000 00000000 00000000 00000000

mmc0: starting CMD0 arg 00000000 flags 00000040
mmc0: req done (CMD0): 0/0/0: 00000000 00000000 00000000 00000000

mmc0: starting CMD55 arg 00000000 flags 00000015
mmc0: req done (CMD55): 0/0/0: 00000120 00000000 00000000 00000000 

mmc0: starting CMD41 arg 00300000 flags 00000061
mmc0: req done (CMD41): 0/0/0: ffffffff 00000000 00000000 00000000

mmc0: starting CMD2 arg 00000000 flags 00000067
mmc0: req done (CMD0): 1/0/0: 00000000 0000000000000000 00000000

CMD2 is resent with timeout every time.

Any suggestions?

(Continue reading)

Stefan Nagy | 3 Sep 20:52 2006
Picon

wbsd-problems in Ubuntu 6.06 on a HP Compaq nx7000

Hello,

Out of the box Ubuntu 6.06 seems to recognize my Winbond SD Card Reader
(W83L51xD): When I put in my MMC nautilus opens a window - but without
showing the content of the MMC.

When I put in the MMC, dmsg says:

[17190367.180000] mmcblk0: mmc0:0001 C0922 125440KiB <NULL>
[17190367.180000]  mmcblk0: unknown partition table
[17190367.708000] FAT: utf8 is not a recommended IO charset for FAT
filesystems, filesystem will be case sensitive!

In the howto (http://members.inode.at/g.schild/DIV/Winbond-howto.html) I
read that I should get a file in /dev/ for each parition on the card -
like /dev/mmcblk0p1 - but there's just one file: /dev/mmcblk0

The modules "wbsd" and "mmc_core" are already loaded but I couldn't load
"mmc_block" - I found this:
https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/30335 I'm a bit confused
but I suggest mmc_block is loaded into mmc_core...

I think I have all necessary modules loaded. I reloaded mmc_core to see
what dmesg says:

[17189333.984000] wbsd: Winbond W83L51xD SD/MMC card interface driver,
1.5
[17189333.984000] wbsd: Copyright(c) Pierre Ossman
[17189333.988000] **** SET: Misaligned resource pointer: d31a2a42 Type
00 Len 42
(Continue reading)

Christian Banik | 4 Aug 21:46 2006
Picon

Problems running the driver

Hello everybody!

I'm having a Toshiba Satellite 2430 and I'm trying to get my internal SD card 
reader to work. It's a W83L51xD and is accepted by the wbsd driver (with 
parameters nopnp=1 irq=11).

When I insert a SD card, my keyboard stops working. When I remove the card, 
the keyboard works again.

OS: Gentoo Linux 2006.0, gcc-Version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, 
pie-8.7.9)
Kernel: Linux stockholm 2.6.17-suspend2-r3 #1 PREEMPT Mon Jul 31 13:39:43 CEST 
2006 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz GNU/Linux

I have added the kernel log from the time I insert the card.

How can I make the card reader work?

Greetings,
Christian
--

-- 
Christian Banik
ICQ #12712782 -- PGP
Aug  4 21:26:34 stockholm kernel: wbsd: Card inserted
Aug  4 21:26:35 stockholm kernel: mmc0: clock 0Hz busmode 1 powermode 1 cs 0 Vdd 21 width 0
Aug  4 21:26:35 stockholm kernel: mmc0: clock 375000Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0
Aug  4 21:26:35 stockholm kernel: mmc0: clock 375000Hz busmode 1 powermode 2 cs 1 Vdd 21 width 0
Aug  4 21:26:35 stockholm kernel: mmc0: starting CMD0 arg 00000000 flags 00000040
(Continue reading)

dezheng shen | 28 Jul 05:37 2006

how to determine the SIZE of SD Host Control Register Map

Dear all:
   We are wondering how to determine the memory size of SD Host Control 
Register Map?

   We found a link here 
http://www.science.unitn.it/~fiorella/guidelinux/tlk/node79.html#SECTION00864100000000000000

   and it explains how to determine the SIZE of a PCI I/O memory space; 
however, our hardware engineer said in PCI spec, it's recommended to 
return 4k as the minimun requirement. In the "sd host controller 
standard specification draft version 1.00 june 2003," the size of "SD 
Host controller register" is 256-byte. So, we are wondering how to 
determine the SIZE of SD Host Control Register Map.

thank you,

dz

===========================================================================================
The privileged confidential information contained in this email is intended for use only by the
addressees as indicated by the original sender of this email. If you are not the addressee indicated in
this email or are not responsible for delivery of the email to such  a person, please kindly reply to the
sender indicating this fact and delete all copies of it from your computer and network server
immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of
confidential information of Winbond is strictly prohibited; and any information in this email
irrelevant to the official business of Winbond shall be deemed as neither given nor endorsed by Winbond.
dezheng shen | 21 Jul 04:31 2006

are you Linux SD/MMC layer maintainer

Hi Pierre:
   I got your email from Linux kernel MAINTAINERS file.

   We manufactures SD/MMS readers and have Linux device drivers ready; 
however, we also find that there is a SD/MMC layer in newer Linux kernel 
so that we plan to port our existing SD drivers to this architecture.

   If you are the active maintainer, please drop us some lines. If you 
are not anymore, could you forward this email to responsible engineers.

best regards,

dezheng shen

===========================================================================================
The privileged confidential information contained in this email is intended for use only by the
addressees as indicated by the original sender of this email. If you are not the addressee indicated in
this email or are not responsible for delivery of the email to such  a person, please kindly reply to the
sender indicating this fact and delete all copies of it from your computer and network server
immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of
confidential information of Winbond is strictly prohibited; and any information in this email
irrelevant to the official business of Winbond shall be deemed as neither given nor endorsed by Winbond.
Mau | 16 Jul 01:14 2006
Picon

Success report

I just want to report that wbsd driver also works on the Acer TravelMate
435LMi (Compal BQ12).

Thanks a lot!

Mau
Daniel Leese | 5 Jul 20:45 2006
Picon
Picon

How to get my card reader to work

Hi,

i try desperatly to get the internal card reader of my Laptop to work. 
Unforunatly i am unable to find any usefull information on google about 
my specific card reader :-(

lspci -v throws the following:
-----
09:06.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia 
Card Reader (SD/MMC/MS/MS PRO/xD)
         Subsystem: Inventec Corporation: Unknown device 0040
         Flags: medium devsel, IRQ 10
         Memory at d2004000 (32-bit, non-prefetchable) [disabled] [size=4K]
         Capabilities: [44] Power Management version 2
-----

I have a Zepto Znote 6214W Laptop and the card reader is supposed to be 
attached to the pci express bus. Unfortunatly Zepto seems not to employ 
even a single engineer (seriously, they told me so an the phone) so it 
is impossible to get any useful technical information from them.

As far as i know it *could* work with the wbsd driver which is included 
in the kernel. I use vanilla 2.6.17.1 and udev on Slackware 10.2

I have enabeld:
<*> MMC support
<*>   MMC block device driver (NEW)
<*>   Winbond W83L51xD SD/MMC Card Interface support

If i insert a card nothing hapens ( dmesg, /var/log/messages)
(Continue reading)

Pierre Ossman | 5 Jun 11:19 2006

Testers of 2GB cards needed

In order to get to the bottom of the issue with 2GB cards, Russell has
constructed a patch for you to test.

What you need to do is to apply the patch in this mail:

    http://marc.theaimsgroup.com/?l=linux-kernel&m=114934707100929&w=2

Then load mmc_block with the parameter debug=1:

    modprobe mmc_block debug=1

Insert the 2GB cards you have at your disposal and reply to this mail
with the output of 'dmesg'.

You should compile the kernel without MMC_DEBUG so that the relevant
output isn't lost in the noise.

Rgds
Pierre


Gmane