Tim Oliver Wagner | 6 Oct 2004 12:54
Picon

kernel patchen

Hello,
I got a acer aspire 1501 lmi.

At the moment I run a self-build kernel 2.6.7. But the howto tell me to use at 
least a kernel release 2.6.9-rc1.

My problem is, that at kernel.org only the kernel 2.6.8.1 is available for 
download. And a Patch 2.6.9.-rc3 is available. But there occours an error 
while I try to patch this kernel.

linux:/usr/src/linux # patch -p1 
< /usr/src/external.tar.gz/kernel/patch-2.6.9-rc3.bz2
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.
linux:/usr/src/linux #

What did I wrong?

tia

OLI

PS:
the file patch-2.6.9-rc3.bz2 contains plain text. Even though the downloded 
file have the extension bz2.

Tim Oliver Wagner | 6 Oct 2004 14:06
Picon

Re: kernel patchen

Am Mittwoch, 6. Oktober 2004 13:31 schrieb Eddi:
> > My problem is, that at kernel.org only the kernel 2.6.8.1 is available
> > for download. And a Patch 2.6.9.-rc3 is available. But there occours an
> > error while I try to patch this kernel.
> >
> > linux:/usr/src/linux # patch -p1
> > < /usr/src/external.tar.gz/kernel/patch-2.6.9-rc3.bz2
> > patch unexpectedly ends in middle of line
> > patch: **** Only garbage was found in the patch input.
> > linux:/usr/src/linux #
> >
> > What did I wrong?
>
> try
>
> bzcat /usr/src/external.tar.gz/kernel/patch-2.6.9-rc3.bz2 | patch -p1
>
> I'm pretty sure that your distro open the file with bzcat or bzmore instead
> of cat or more ad you may have digited without you notice this.
>
> Eddi

Hi Eddi

Thanks a lot! That was the solution. :-)

Greetings

OLI

(Continue reading)

Tim Oliver Wagner | 6 Oct 2004 14:29
Picon

Error in patch files?

Hi

If I compile my kernel-modules there some errors occour.

"generic_serial.c" at line 694 is a ';' missing ... maybe someone can correct 
this ...

At compiling modules for CAPI-Support (ISDN) a error occours! I can disable 
this support and continue ... (I don't need ISDN support at the moment)

I don't know if this errors have something todo with this patches or with the 
patch from the rc3 release ...

If the patch to the rc3-release is the reason for the errors - should I tell 
somebody? If so - which one?

tia

OLI 

Tim Oliver Wagner | 6 Oct 2004 15:22
Picon

inserting sd-card but nothing happens ...

Hello,
I use a acer aspire 1501 lmi. I build a new kernel. Than I loaded the modules:

linux:~ # modprobe wbsd irq=10
linux:~ # modprobe mmc-block
linux:~ #
linux:~ # lsmod | grep wbsd
wbsd                   11776  0
mmc_core               18820  2 mmc_block,wbsd
linux:~ # lsmod | grep mmc
mmc_block               7816  0
mmc_core               18820  2 mmc_block,wbsd
linux:~ #

No enties in the /var/log/messages while entering the modules. -> no errors 
while loading the modules.

Now, I enter the card into the slot. But there no entries occour at 
the /var/log/messages.

What did I wrong?

I hope someone can help me.

tia

OLI

Eddi | 6 Oct 2004 15:47

Re: inserting sd-card but nothing happens ...

On Wed, 2004-10-06 at 15:22, Tim Oliver Wagner wrote:
> No enties in the /var/log/messages while entering the modules. -> no errors 
> while loading the modules.
> 
> Now, I enter the card into the slot. But there no entries occour at 
> the /var/log/messages.
> 
> What did I wrong?

Make sure your card is a mmc and not a sd, since sd isn't yet supported.

Then try to enable mmc verbose/debug mode and past here your dmesg.

Eddi

Tim Oliver Wagner | 6 Oct 2004 21:08
Picon

Re: inserting sd-card but nothing happens ...

Am Mittwoch, 6. Oktober 2004 15:47 schrieb Eddi:
> On Wed, 2004-10-06 at 15:22, Tim Oliver Wagner wrote:
> > No enties in the /var/log/messages while entering the modules. -> no
> > errors while loading the modules.
> >
> > Now, I enter the card into the slot. But there no entries occour at
> > the /var/log/messages.
> >
> > What did I wrong?
>
> Make sure your card is a mmc and not a sd, since sd isn't yet supported.

Thanks for your answer.

Sorry, I didn't know, that sd-cards not supported.

I need to read sd-cards with this Slot. When do you think sd-cards are 
supported? Is this a great step to support sd-cards?

Is there any other possibility to read a sd-cards with this slot?

tia

OLI

Eddi | 6 Oct 2004 22:55

Re: inserting sd-card but nothing happens ...

On Wed, 2004-10-06 at 21:08, Tim Oliver Wagner wrote:

> I need to read sd-cards with this Slot. When do you think sd-cards are 
> supported? Is this a great step to support sd-cards?
> 
> Is there any other possibility to read a sd-cards with this slot?

Well mmc layer has to be modified. Standard kernel doesn't have these
changes.

I know that Ian Molton from handhelds.org is applying some changes to
mmc layer to support sd, but actually his changes seems to don't be
compatible with wbsd driver. ( I tried to look for the problem in his
driver without success )

I know that Pierre would like adding sd reading/writing capabilities to
wbsd and mmc, but it seems that in the latest time he is very busy.

So actually we should wait.

Eddi

Pierre Ossman | 7 Oct 2004 10:17

Development status

Since there's a general interest in getting SD support working I thought 
I'd give you an update on development status.

Not much has happened since release 0.7. Between school and work I 
haven't had any time for this project. When this changes the plan is to 
add scatter/gather support and ACPI integration. That version will be 
submitted for inclusion in the main linux kernel.
Once this is done I can start looking at SD support. There are some 
politics around SD that, as far as I know, haven't been resolved yet.

So I'm afraid you'll just have to wait a little bit longer for SD 
support. Or try getting Ian's patches working yourselves. He can 
probably give you a few pointers on what to do.

Regards
Pierre

Pierre Ossman | 10 Oct 2004 14:30

change in patches

With the release of 2.6.9-rc3 some of the patches are now obsolete (they 
are in the kernel in some form or another). They have therefore been 
removed from the project page.

There is also an improved patch for the empty OCR problem. It should 
hopefully be in the next kernel.

Rgds
Pierre

Pierre Ossman | 12 Oct 2004 10:44

Release 0.8 out

http://projects.drzeus.cx/wbsd/download.php?get=files/wbsd-0.8.patch

This is the final release that will be submitted to Linus. Please test 
it thoroughly and report back your results. And *please* just not 
problems. I need to know that this actually works for most people. A 
simple "works here" will do.

The new feature is scatter/gather support. It will decrease CPU usage 
and perhaps increase throughput.

There is also a new patch out that gives a large speed boost to the MMC 
layer. Try at your own risk though. I have a buggy card that writes 
corrupt data with this patch.

Rgds
Pierre


Gmane