Re: [PATCH] add PCI ROMs to sysfs

From: Jon Smirl
Date: Fri Aug 27 2004 - 17:38:07 EST


--- Matthew Wilcox <willy@xxxxxxxxxx> wrote:
> The expansion rom PCI region claims to be 4MB in size, but if we try
> to read past 1MB, the machine reboots. This won't be a problem with
> the latest patch because it'll return a size of 0.

I would think that it would return 4MB. If it can't find standard ROM
headers it should return the window size.

Are you sure you are getting the correct contents of those ROMs? Would
it be worthwhile to try and get the author of the ROMs to add standard
ROM headers? The content you included doesn't look that useful unless
that is what IA64 instructions look like.

If reading past 1MB for those ROMs causes a reboots, could something be
wrong in the IA64 fault handing code?

I'd feel a lot better if someone actually tried this patch on a ppc or
sun machine.

=====
Jon Smirl
jonsmirl@xxxxxxxxx



_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
-
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/