Re: [PATCH] pcmcia/ds: handle any error code

From: randy_dunlap
Date: Sat May 14 2005 - 12:33:56 EST


On Sat, 14 May 2005 13:26:19 -0400 Wakko Warner wrote:

| randy_dunlap wrote:
| > On Fri, 13 May 2005 15:45:49 -0400 Wakko Warner wrote:
| > | I just tried it, it doesn't give me any errors. This is strange considering
| > | that I a) use a pristine tree for each kernel (only coping the .config) and
| > | b) the patch doesn't do anything except report the error. I made my boot
| > | floppy (the scripts I use pull from the kernel tree I specify and make the
| > | image I need) and booted from it. I placed the modules on my stage2 disk
| > | that was made and it works.
| > |
| > | I don't have the time this week to try again from scratch. I'll see if I
| > | can do it next week.
| >
| > I'm currently running a kernel built with -Os. I can successfully
| > load pcmcia_core.ko and pcmcia.ko. I added debug printk's in
| > drivers/pcmcia/ds.c and it allocates the dynamic major dev
| > successfully:
|
| I noticed this too. I can't figure out why it wasn't working before. I
| don't believe the method of loading the kernel (hdd, usb, floppy) would
| cause this. Next week when I get a chance to work more on this project,
| I'll wipe out my entire kernel tree (saving the .config) and try again (I
| keep pristine sources in /usr/src/linux/dist/<kernel vers>)
|
| > What gcc version are you using? (gcc 4.0 has a few known issues.)
|
| gcc (GCC) 3.4.4 20050314 (prerelease) (Debian 3.4.3-12)
|
| I have gcc-3.3 also installed. Should I use it instead?

I guess it's worth a try, although suspecting code generation is really
low on my list. (I used gcc 3.3.3.)

| I follow the list somewhat (only interesting sujects =) and I have noticed
| that 4.0 has some problems.


---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/