kernel update (relative to v2.4.0-test1)
Subsystems (42)
Re: [Linux-ia64] kernel update (relative to 2.4.18)
In reply to David MosbergerDavid Mosberger <[email protected]> writes:
|> The latest ia64 kernel patch for 2.4.18 is at |> ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.4/ in file: |> |> linux-2.4.18-ia64-020622.diff.gz
This is undefined (from drivers/acpi/tables.c):
+ entry = (acpi_table_entry_header *)
+ ((unsigned long) entry += entry->length);
entry is modified twice without an intervening sequence point.
Andreas.
Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected] SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
Re: [Linux-ia64] kernel update (relative to 2.4.18)
In reply to David MosbergerHi David,
Quoted 4 lines
ChangeLog
- Fix bootmem so machine boots much faster if there are large holes in the physical memory map.
This change seemed to cause a problem on my machine. When a system has physical memory >4G, IO TLB is allocated above 4G like this;
Placing software IO TLB between 0xe00000010222c000 - 0xe00000010242c000
and then swiotlb_map_single() caused PANIC.
IO TLB is allocated by alloc_bootmem_low_pages(), and this is just a macro calling __alloc_bootmem().
#define alloc_bootmem_low_pages(x) \
__alloc_bootmem((x), PAGE_SIZE, 0)Once alloc_bootmem() is called, "last_success" is set to > 4G. And then alloc_bootmem_low_pages() becomes to allocates memory > 4G. :-( alloc_bootmem_low_page() doesn't ensure to allocate memory < 4G, but swiotlb expects to it allocates very low address memory.
Here is a patch for mm/bootmem.c to fix the problem. Any comment?
*** bootmem.c.bk Mon Jul 8 13:59:29 2002
--- bootmem.c Mon Jul 8 14:00:37 2002
***************
*** 168,179 ****
if (goal && (goal >= bdata->node_boot_start) &&
((goal >> PAGE_SHIFT) < bdata->node_low_pfn)) {
preferred = goal - bdata->node_boot_start;
} else
preferred = 0;- if (last_success >= preferred)
- preferred = last_success;
-
preferred = ((preferred + align - 1) & ~(align - 1)) >> PAGE_SHIFT;
preferred += offset;
areasize = (size+PAGE_SIZE-1)/PAGE_SIZE;
--- 168,179 ----
if (goal && (goal >= bdata->node_boot_start) &&
((goal >> PAGE_SHIFT) < bdata->node_low_pfn)) {
preferred = goal - bdata->node_boot_start;
+
+ if (last_success >= preferred)
+ preferred = last_success;
} else
preferred = 0;
preferred = ((preferred + align - 1) & ~(align - 1)) >> PAGE_SHIFT;
preferred += offset;
areasize = (size+PAGE_SIZE-1)/PAGE_SIZE;Regards,
Kimi
Signature · 1 line
Kimio Suganuma <[email protected]>
Re: [Linux-ia64] kernel update (relative to 2.4.18)
In reply to David MosbergerQuoted 4 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line · Kimio Suganuma
- Fix bootmem so machine boots much faster if there are large holes in the physical memory map.
Kimio> This change seemed to cause a problem on my machine. When a Kimio> system has physical memory >4G, IO TLB is allocated above 4G Kimio> like this;
Kimio> Placing software IO TLB between 0xe00000010222c000 -
Kimio> 0xe00000010242c000
Kimio> and then swiotlb_map_single() caused PANIC.
Kimio> IO TLB is allocated by alloc_bootmem_low_pages(), and this is Kimio> just a macro calling __alloc_bootmem().
Kimio> #define alloc_bootmem_low_pages(x) \ __alloc_bootmem((x),
Kimio> PAGE_SIZE, 0)
Kimio> Once alloc_bootmem() is called, "last_success" is set to > Kimio> 4G. And then alloc_bootmem_low_pages() becomes to allocates Kimio> memory > 4G. :-( alloc_bootmem_low_page() doesn't ensure to Kimio> allocate memory < 4G, but swiotlb expects to it allocates Kimio> very low address memory.
Kimio> Here is a patch for mm/bootmem.c to fix the problem. Any Kimio> comment?
Good catch. Thanks for the fix!
--david
[Linux-ia64] kernel update (relative to v2.4.18)
In reply to David MosbergerThe latest ia64 kernel patch is at ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.4/ in file:
linux-2.4.18-ia64-020719.diff.gz
This patch has mostly bug-fixes for Itanium 2 machines and a few additional drivers. The problem reported by Alex, where the McKinley-tuned memcpy() causes VGA console corruption has been worked around by not using memcpy() at all for accessing the framebuffer (this was arguably the wrong thing to do in the first place). However, I do not fully understand yet what triggered this problem. It would be good to make sure it's really not a bug in the new memcpy(). Ken, if you have a chance to look into it, I'd be interested to know what you find.
I tried this kernel on the Intel Tiger platform, the hp Ski simulator, and hp zx1 platform and it seems to work quite well.
Enjoy,
--david
ChangeLog
- Make "xconfig" work again (Keith Owens, Khalid Aziz)
- Add HCDP ACPI serial line support (Khalid Aziz)
- Drop extraneous set_rte() call from iosapic.c (Alex Williamson)
- Fix perfmon SMP initialization ordering bug (Stephane Eranian)
- Include perfmon_mckinley.h now that it's public info (Stephane Eranian)
- Implement pcibios_enable_device for PCI hotplug (Takayoshi Kochi)
- Fix McKinley versions of copy_user()/memcpy() (Ken Chen)
- Fix two small kernel unwinder bugs (based on patch by Richard Henderson)
- Fix mem.c driver to skip over memory-holes (Alex Williamson, I think)
- Include eepro1000 and Tigon3 support (various, plus bug fixes by Grant Grundler for these and other gigE cards)
- Update FM801 sound river (Martin Petersen)
- Fix flush_tlb_pgtables() to avoid denial-of-service attacks (Arun Sharma)
- Add PCI ID for Quadro4 card
- Fix Radeon and 3dfx fbdev code to work on McKinley
- Make VGA framebuffer code use stupid word-by-word copy routines, not regular memcpy() routines
- Fix page allocator to not confuse memory holes with real memory (John Marvin & me)
Re: [Linux-ia64] kernel update (relative to v2.4.18)
In reply to David MosbergerDavid Mosberger <[email protected]> writes:
|> The latest ia64 kernel patch is at |> ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.4/ in file: |> |> linux-2.4.18-ia64-020719.diff.gz
Why are you explicitly disabling CONFIG_BLK_DEV_LOOP, CONFIG_BLK_DEV_NBD and CONFIG_BLK_DEV_RAM?
Andreas.
Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected] SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
Re: [Linux-ia64] kernel update (relative to v2.4.18)
In reply to David MosbergerQuoted 2 lines · Andreas Schwab
Why are you explicitly disabling
CONFIG_BLK_DEV_LOOP,CONFIG_BLK_DEV_NBDandCONFIG_BLK_DEV_RAM?
make xconfig was complaining that those variables appeared elsewhere in the menu but were not being set in one branch of the menu tree. Explicitly setting them to "n" removes the xconfig warnings, the variables were already implicitly set to n.
OTOH, if they should be selected by the user then they need to appear in both branches of the menu tree. Looking at the code it could go either way. David - was there a reason that these options were omitted when "$CONFIG_IA64_HP_SIM" = "n"?
Re: [Linux-ia64] kernel update (relative to v2.4.18)
In reply to David MosbergerKeith Owens <[email protected]> writes:
|> On Mon, 22 Jul 2002 13:54:36 +0200, |> Andreas Schwab <[email protected]> wrote: |> >Why are you explicitly disabling CONFIG_BLK_DEV_LOOP, CONFIG_BLK_DEV_NBD |> >and CONFIG_BLK_DEV_RAM? |> |> make xconfig was complaining that those variables appeared elsewhere in |> the menu but were not being set in one branch of the menu tree. |> Explicitly setting them to "n" removes the xconfig warnings, the |> variables were already implicitly set to n.
Where? Why should an Itanium configuration not be able to use a loop device or a ram disk???
Andreas.
Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected] SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
Re: [Linux-ia64] kernel update (relative to v2.4.18)
In reply to David MosbergerQuoted 2 lines · Andreas Schwab
Why should an Itanium configuration not be able to use a loop device or a ram disk???
You are right, I only fixed the symptom, not the cause. The real problem looks like an xconfig bug. I will dig into it tomorrow, when I have access to an ia64.
Re: [Linux-ia64] kernel update (relative to v2.4.18)
In reply to David MosbergerQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Andreas Schwab
Andreas> David Mosberger <[email protected]> writes: |> The Andreas> latest ia64 kernel patch is at |>
Andreas> ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.4/ in Andreas> file: |> |> linux-2.4.18-ia64-020719.diff.gz
Andreas> Why are you explicitly disabling CONFIG_BLK_DEV_LOOP, Andreas> CONFIG_BLK_DEV_NBD and CONFIG_BLK_DEV_RAM?
I generally trust Keith's build-environment related fixes. Turned out to be a mistake in this particular case. I just uploaded a new patch:
linux-2.4.18-ia64-020722.diff.gz
It goes back to the more drastic solution of turning off "xconfig" alltogether (it tells you to use "menuconfig" instead). I don't care about "xconfig" myself, but of course will welcome patches that fix the problems for real.
The new patch also has the additional #define's needed for the tg3 driver.
--david
Re: [Linux-ia64] kernel update (relative to v2.4.18)
In reply to David MosbergerHi,
Quoted 4 lines · On Sat, 20 Jul 2002 00:08:22 -0700 David Mosberger <[email protected]>…
The latest ia64 kernel patch is at ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.4/ in file:
linux-2.4.18-ia64-020719.diff.gz
In this version, my system doesn't boot without increasing swiotlb. It was able to boot with default swiotlb in the previous version.
I found eepro100 driver was trying to get swiotlb of (0x610 bytes * 1024 = 0x184000) at booting, and this caused swiotlb shortage.
I guess the problem might be caused by this modification;
Quoted 2 lines
- Include eepro1000 and Tigon3 support (various, plus bug fixes by Grant Grundler for these and other gigE cards)
In linux-2.4.18/drivers/net/eepro100.c, RX_RING_SIZE is changed to 1024!!
-------------
/* A few values that may be tweaked. */
/* The ring sizes should be a power of two for efficiency. */
-#define TX_RING_SIZE 32 -#define RX_RING_SIZE 32 +#define TX_RING_SIZE 64 +#define RX_RING_SIZE 1024
--------------
If this modification is permanent, I think default value of swiotlb should be increased. Any comment?
Regards,
Kimi
Signature · 1 line
Kimio Suganuma <[email protected]>
Re: [Linux-ia64] kernel update (relative to v2.4.18)
In reply to David MosbergerQuoted 10 lines · David Mosberger
I just uploaded a new patch:
linux-2.4.18-ia64-020722.diff.gzIt goes back to the more drastic solution of turning off "xconfig" alltogether (it tells you to use "menuconfig" instead). I don't care about "xconfig" myself, but of course will welcome patches that fix the problems for real.
The new patch also has the additional #define's needed for the tg3 driver.
020722 is identical to 020719, except that the Changelog at the start has been removed. If you can wait for a couple of hours, I will have the real fix for the ia64 xconfig problem.
Re: [Linux-ia64] kernel update (relative to v2.4.18)
In reply to David MosbergerQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Kimio Suganuma
Kimio> Hi, On Sat, 20 Jul 2002 00:08:22 -0700 David Mosberger
Quoted 4 lines · Kimio> <[email protected]> wrote:
Quoted 4 lines
The latest ia64 kernel patch is at ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.4/ in file:
linux-2.4.18-ia64-020719.diff.gz
Kimio> In this version, my system doesn't boot without increasing Kimio> swiotlb. It was able to boot with default swiotlb in the Kimio> previous version.
Kimio> I found eepro100 driver was trying to get swiotlb of (0x610 Kimio> bytes * 1024 = 0x184000) at booting, and this caused swiotlb Kimio> shortage.
Kimio> I guess the problem might be caused by this modification;
Quoted 2 lines
Quoted 2 lines
- Include eepro1000 and Tigon3 support (various, plus bug fixes by Grant Grundler for these and other gigE cards)
Kimio> In linux-2.4.18/drivers/net/eepro100.c, RX_RING_SIZE is Kimio> changed to 1024!!
Argh, I'm sorry about that. This wasn't my intention. I think I misread e100 and e1000 and picked that one up by accident.
I'll fix that and update the 2.4.18 patch shortly. I would like to have a final 2.4.18 patch without silly issues like these. (Assuming 2.4.19 shows up relatively soon).
--david
Re: [Linux-ia64] kernel update (relative to v2.4.18)
In reply to David MosbergerQuoted 6 lines · David Mosberger
Argh, I'm sorry about that. This wasn't my intention. I think I misread e100 and e1000 and picked that one up by accident.
I'll fix that and update the 2.4.18 patch shortly. I would like to have a final 2.4.18 patch without silly issues like these. (Assuming 2.4.19 shows up relatively soon).
well, the eepro100 patch does fix a real problem on those cards. is there a real problem with increasing the default swiotlb size?
Signature · 1 line
Revolutions do not require corporate support.
Re: [Linux-ia64] kernel update (relative to v2.4.18)
In reply to David MosbergerQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Matthew Wilcox
Matthew> On Mon, Jul 22, 2002 at 06:10:11PM -0700, David Mosberger
Quoted 6 lines · Matthew> wrote:
Quoted 6 lines
Argh, I'm sorry about that. This wasn't my intention. I think I misread e100 and e1000 and picked that one up by accident.
I'll fix that and update the 2.4.18 patch shortly. I would like to have a final 2.4.18 patch without silly issues like these. (Assuming 2.4.19 shows up relatively soon).
Matthew> well, the eepro100 patch does fix a real problem on those Matthew> cards. is there a real problem with increasing the default Matthew> swiotlb size?
My understanding is that the 1024 value is way bigger than it really needs to be. I don't want to bloat the kernel for no good reason. If someone presents some real data as to what needs to be used here, I'll be happy to adjust things accordingly.
--david
Re: [Linux-ia64] kernel update (relative to v2.4.18)
In reply to David MosbergerQuoted 8 lines · Kimio Suganuma
I found eepro100 driver was trying to get swiotlb of (
0x610bytes * 1024 =0x184000) at booting, and this caused swiotlb shortage.I guess the problem might be caused by this modification;
Quoted 2 lines
- Include eepro1000 and Tigon3 support (various, plus bug fixes by Grant Grundler for these and other gigE cards)
later versions of the eepro100 patch used RX_RING_SIZE of 64. So I'll guess it's safe to use a smaller value than 1024.
grant
Re: [Linux-ia64] kernel update (relative to v2.4.18)
In reply to David MosbergerQuoted 4 lines · David Mosberger
It goes back to the more drastic solution of turning off "xconfig" alltogether (it tells you to use "menuconfig" instead). I don't care about "xconfig" myself, but of course will welcome patches that fix the problems for real.
Memo to self: xconfig is a can of worms, try to avoid working on it.
The current configuration mini-language (CML1) has lots of hidden restrictions. One of them is that you cannot reliably select a variable in two different menus. arch/ia64/config.in is breaking this rule in several places, some of which work, others do not. This patch -
* Indents arch/ia64/config.in so I can see what is dependent on HP_SIM. The bulk of the patch is indent changes, if this is a problem I can do another patch without the indent changes, but the result is much less readable.
* Moves force setting of DEVFS for SN[12] to fs/Config.in.
* Removes dependency on CONFIG_DRM_AGP. That variable does not exist and breaks xconfig for ia64. This is a generic 2.4.18/2.4.19-rc bug and has been sent to Marcelo.
* Removes the attempt to set BLOCK variables from arch/ia64/config.in and adds the dependency on HP_SIM to drivers/block/Config.in. This is the only method that stands any chance of working for xconfig. ACPI is already done this way for the same reason, the arch dependencies are inside the ACPI menu, not in the arch menu.
* Moves force settings of ACPI variables based on HP_SIM to _after_ HP_SIM is actually defined. General config bug, not xconfig specific.
Index: 18.102/fs/Config.in
fs/Config.in Tue, 23 Jul 2002 12:39:57 +1000 kaos (linux-2.4/m/b/39_Config.in 1.2.1.2.1.8 644) renamed from fs/Config.in Wed, 23 Jan 2002 08:52:06 +1100 kaos (linux-2.4/m/b/39_Config.in 1.2.1.2.1.8 644) +5 -1
@@ -61,7 +61,11 @@ tristate 'OS/2 HPFS file system support' bool '/proc file system support' CONFIG_PROC_FS -dep_bool '/dev file system support (EXPERIMENTAL)' CONFIG_DEVFS_FS $CONFIG_EXPERIMENTAL +if [ "$CONFIG_IA64_SGI_SN1" = "y" -o "$CONFIG_IA64_SGI_SN2" = "y" ]; then + dep_bool '/dev file system support (EXPERIMENTAL)' CONFIG_DEVFS_FS $CONFIG_EXPERIMENTAL +else + define_bool CONFIG_DEVFS_FS y +fi dep_bool ' Automatically mount at boot' CONFIG_DEVFS_MOUNT $CONFIG_DEVFS_FS dep_bool ' Debug devfs' CONFIG_DEVFS_DEBUG $CONFIG_DEVFS_FS
Index: 18.102/drivers/char/Config.in
drivers/char/Config.in Tue, 23 Jul 2002 12:31:28 +1000 kaos (linux-2.4/b/c/3_Config.in 1.2.1.1.4.12.1.2 644) renamed from drivers/char/Config.in Mon, 22 Jul 2002 11:29:07 +1000 kaos (linux-2.4/b/c/3_Config.in 1.2.1.1.4.12.1.2 644) +1 -1
@@ -211,7 +211,7 @@ if [ "$CONFIG_FTAPE" != "n" ]; then fi endmenu -dep_tristate '/dev/agpgart (AGP Support)' CONFIG_AGP $CONFIG_DRM_AGP +tristate '/dev/agpgart (AGP Support)' CONFIG_AGP if [ "$CONFIG_AGP" != "n" ]; then bool ' Intel 440LX/BX/GX and I815/I830M/I840/I850 support' CONFIG_AGP_INTEL if [ "$CONFIG_IA64" != "n" ]; then
Index: 18.102/drivers/block/Config.in
drivers/block/Config.in Tue, 23 Jul 2002 13:05:00 +1000 kaos (linux-2.4/c/c/37_Config.in 1.2.2.1 644) renamed from drivers/block/Config.in Mon, 17 Sep 2001 11:13:57 +1000 kaos (linux-2.4/c/c/37_Config.in 1.2.2.1 644) +3 -0
@@ -4,6 +4,8 @@ mainmenu_option next_comment comment 'Block devices' +if [ "$CONFIG_IA64_HP_SIM" != "y" ]; then + tristate 'Normal PC floppy disk support' CONFIG_BLK_DEV_FD if [ "$CONFIG_AMIGA" = "y" ]; then tristate 'Amiga floppy support' CONFIG_AMIGA_FLOPPY
@@ -36,6 +38,7 @@ fi dep_tristate 'Compaq SMART2 support' CONFIG_BLK_CPQ_DA $CONFIG_PCI dep_tristate 'Compaq Smart Array 5xxx support' CONFIG_BLK_CPQ_CISS_DA $CONFIG_PCI dep_tristate 'Mylex DAC960/DAC1100 PCI RAID Controller support' CONFIG_BLK_DEV_DAC960 $CONFIG_PCI +fi # HP_SIM tristate 'Loopback device support' CONFIG_BLK_DEV_LOOP dep_tristate 'Network block device support' CONFIG_BLK_DEV_NBD $CONFIG_NET
Index: 18.102/arch/ia64/config.in
arch/ia64/config.in Tue, 23 Jul 2002 13:01:43 +1000 kaos (linux-2.4/s/c/38_config.in 1.1.2.1.2.2.3.1.1.6.1.1 644) renamed from arch/ia64/config.in Mon, 22 Jul 2002 11:29:07 +1000 kaos (linux-2.4/s/c/38_config.in 1.1.2.1.2.2.3.1.1.6.1.1 644) +82 -102
226 lines not on this page · raw message
Re: [Linux-ia64] kernel update (relative to v2.4.18)
In reply to David MosbergerQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Keith Owens
Keith> Memo to self: xconfig is a can of worms, try to avoid working Keith> on it.
Ain't that the truth!
Keith> * Indents arch/ia64/config.in so I can see what is dependent Keith> on HP_SIM. The bulk of the patch is indent changes, if this Keith> is a problem I can do another patch without the indent Keith> changes, but the result is much less readable.
Keith> * Moves force settings of ACPI variables based on HP_SIM to Keith> _after_ HP_SIM is actually defined. General config bug, not Keith> xconfig specific.
Good points. I picked these up (though with as little reordering as possible, to avoid introducing new subtle bugs).
Keith> * Removes dependency on CONFIG_DRM_AGP. That variable does Keith> not exist and breaks xconfig for ia64. This is a generic Keith> 2.4.18/2.4.19-rc bug and has been sent to Marcelo.
Makes sense. I see you alread submitted this fix to Marcelo. I picked it up, too.
Keith> * Moves force setting of DEVFS for SN[12] to fs/Config.in.
Keith> * Removes the attempt to set BLOCK variables from Keith> arch/ia64/config.in and adds the dependency on HP_SIM to Keith> drivers/block/Config.in. This is the only method that stands Keith> any chance of working for xconfig. ACPI is already done this Keith> way for the same reason, the arch dependencies are inside the Keith> ACPI menu, not in the arch menu.
Now these I really don't like. I don't think it's good to clutter platform-independent config files with platform-specific info just because xconfig is broken. As far as I know, these things work perfectly fine with "oldconfig", "config", and "menuconfig". (I don't feel as strongly about this for DEVFS as I do for HP_SIM; but clearly HP_SIM is such a special case that I'd prefer to keep it in the ia64-specific config file.)
--david
Re: [Linux-ia64] kernel update (relative to v2.4.18)
In reply to David MosbergerQuoted 10 lines · David Mosberger
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Keith Owens
Keith> * Moves force setting of DEVFS for SN[12] to
fs/Config.in.Keith> * Removes the attempt to set BLOCK variables from Keith>
arch/ia64/config.inand adds the dependency onHP_SIMto Keith>drivers/block/Config.in. This is the only method that stands Keith> any chance of working for xconfig. ACPI is already done this Keith> way for the same reason, the arch dependencies are inside the Keith> ACPI menu, not in the arch menu.
Quoted 7 lines
Now these I really don't like. I don't think it's good to clutter platform-independent config files with platform-specific info just because xconfig is broken. As far as I know, these things work perfectly fine with "oldconfig", "config", and "menuconfig". (I don't feel as strongly about this for DEVFS as I do for
HP_SIM; but clearlyHP_SIMis such a special case that I'd prefer to keep it in the ia64-specific config file.)
I agree, but given the restrictions of CML1, there is no choice. The problem is not just xconfig, it affects menuconfig as well. Before this patch, arch/ia64/config.in set DEVFS=y for SN[12] but there was nothing stopping a user changing DEVFS in the fs menu. Other cross menu dependencies have the same problem with any config system that allows out of order evaluation.
CML1 does _not_ enforce dependencies across menus, the dependencies have to be in a single menu. This was one of the driving forces behind CML2, to get some method for doing cross menu constraints. Without CML2, we have to scatter arch dependent code over generic config menus :(.
Re: [Linux-ia64] kernel update (relative to v2.4.18)
In reply to David MosbergerQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Keith Owens
Keith> On Mon, 22 Jul 2002 11:05:50 -0700, David Mosberger
Quoted 11 lines · Keith> <[email protected]> wrote:
Quoted 11 lines
I just uploaded a new patch:
linux-2.4.18-ia64-020722.diff.gz
It goes back to the more drastic solution of turning off "xconfig" alltogether (it tells you to use "menuconfig" instead). I don't care about "xconfig" myself, but of course will welcome patches that fix the problems for real.
The new patch also has the additional #define's needed for the tg3 driver.
Keith> 020722 is identical to 020719, except that the Changelog at Keith> the start has been removed. If you can wait for a couple of Keith> hours, I will have the real fix for the ia64 xconfig problem.
OK, the linux-2.4.18-ia64-020722.diff.gz patch now should contain the latest bits.
--david
Re: [Linux-ia64] kernel update (relative to v2.4.18)
In reply to David MosbergerDavid Mosberger <[email protected]> writes:
|> ChangeLog |> |> - Make "xconfig" work again (Keith Owens, Khalid Aziz) |> - Add HCDP ACPI serial line support (Khalid Aziz) |> - Drop extraneous set_rte() call from iosapic.c (Alex Williamson) |> - Fix perfmon SMP initialization ordering bug (Stephane Eranian) |> - Include perfmon_mckinley.h now that it's public info (Stephane Eranian) |> - Implement pcibios_enable_device for PCI hotplug (Takayoshi Kochi)
Compiling pcihpacpi as module requires acpi_walk_namespace to be exported from the kernel.
Andreas.
Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected] SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
RE: [Linux-ia64] kernel update (relative to v2.4.18)
In reply to David MosbergerQuoted 2 lines
OK, the linux-2.4.18-ia64-020722.diff.gz patch now should contain the latest bits.
Does this mean the 0722 patch has been reissued?
RE: [Linux-ia64] kernel update (relative to v2.4.18)
In reply to David MosbergerQuoted 4 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line · Mats D
OK, the linux-2.4.18-ia64-020722.diff.gz patch now should contain the latest bits.
Mats> Does this mean the 0722 patch has been reissued?
Yes. The old file was bad (I accidentally diff'd the wrong directories).
--david
Re: [Linux-ia64] kernel update (relative to v2.4.18)
In reply to David MosbergerQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Keith Owens
Keith> I agree, but given the restrictions of CML1, there is no Keith> choice. The problem is not just xconfig, it affects Keith> menuconfig as well. Before this patch, arch/ia64/config.in Keith> set DEVFS=y for SN[12] but there was nothing stopping a user Keith> changing DEVFS in the fs menu. Other cross menu dependencies Keith> have the same problem with any config system that allows out Keith> of order evaluation.
Keith> CML1 does _not_ enforce dependencies across menus, the Keith> dependencies have to be in a single menu. This was one of Keith> the driving forces behind CML2, to get some method for doing Keith> cross menu constraints. Without CML2, we have to scatter Keith> arch dependent code over generic config menus :(.
I see your point about DEVFS, but the simulator part should be OK. In that case, we never even include drivers/ide/Config.in.
--david
Re: [Linux-ia64] kernel update (relative to v2.4.18)
In reply to David MosbergerQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Andreas Schwab
Andreas> Compiling pcihpacpi as module requires acpi_walk_namespace Andreas> to be exported from the kernel.
Patch, please?
--david
Re: [Linux-ia64] kernel update (relative to v2.4.18)
In reply to David MosbergerQuoted 11 lines · On Tue, 23 Jul 2002 14:09:55 +0200 Andreas Schwab <[email protected]> wrote:
David Mosberger <[email protected]> writes:
|> ChangeLog |> |> - Make "xconfig" work again (Keith Owens, Khalid Aziz) |> - Add HCDP ACPI serial line support (Khalid Aziz) |> - Drop extraneous set_rte() call from iosapic.c (Alex Williamson) |> - Fix perfmon SMP initialization ordering bug (Stephane Eranian) |> - Include perfmon_mckinley.h now that it's public info (Stephane Eranian) |> - Implement pcibios_enable_device for PCI hotplug (Takayoshi Kochi)
Quoted 2 lines
Compiling pcihpacpi as module requires
acpi_walk_namespaceto be exported from the kernel.
Excuse me,
pcihpacpi is an old module that *cannot* do real PCI hotplug and isn't included in 2.4.18 ia64 patch (it's included after 2.4.19-pre2). So don't bother David:)
Recently I posted to a new version of ACPI PCI hotplug to the PCI hotplug maintainer, and it works for some PCI hot-pluggable platforms, but you may need some extra patches.
For those who would like to play with PCI hotplug with ACPI, I'll post patches necessary for the latest 2.4.18 patch later on today.
Thanks,
Signature · 1 line
KOCHI, Takayoshi <[email protected]/[email protected]>
Re: [Linux-ia64] kernel update (relative to v2.4.18)
In reply to David Mosberger"KOCHI, Takayoshi" <[email protected]> writes:
|> On Tue, 23 Jul 2002 14:09:55 +0200 |> Andreas Schwab <[email protected]> wrote: |> |> > David Mosberger <[email protected]> writes: |> > |> > |> ChangeLog |> > |> |> > |> - Make "xconfig" work again (Keith Owens, Khalid Aziz) |> > |> - Add HCDP ACPI serial line support (Khalid Aziz) |> > |> - Drop extraneous set_rte() call from iosapic.c (Alex Williamson) |> > |> - Fix perfmon SMP initialization ordering bug (Stephane Eranian) |> > |> - Include perfmon_mckinley.h now that it's public info (Stephane Eranian) |> > |> - Implement pcibios_enable_device for PCI hotplug (Takayoshi Kochi) |> > |> > Compiling pcihpacpi as module requires acpi_walk_namespace to be |> > exported from the kernel. |> |> Excuse me, |> |> pcihpacpi is an old module that *cannot* do real PCI hotplug and |> isn't included in 2.4.18 ia64 patch (it's included after 2.4.19-pre2). |> So don't bother David:)
Sorry, I didn't know that, just wanted to report the fact.
Andreas.
Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected] SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
Re: [Linux-ia64] kernel update (relative to v2.4.18)
In reply to David MosbergerHi All,
Here's a port of the ACPI PCI hotplug driver I posted to Greg K-H last week.
This patch should apply against 2.4.18 + david's 020722 patch. I tested this on McKinley SDV. But this may not work depending on firmware version.
acpi/acpi_ksyms.c | 1 acpi/events/evrgnini.c | 60 + hotplug/Config.in | 1 hotplug/Makefile | 17 hotplug/acpiphp.h | 322 ++++++++++ hotplug/acpiphp_core.c | 470 +++++++++++++++ hotplug/acpiphp_glue.c | 1514 +++++++++++++++++++++++++++++++++++++++++++++++++ hotplug/acpiphp_pci.c | 763 ++++++++++++++++++++++++ hotplug/acpiphp_res.c | 708 ++++++++++++++++++++++ pci/names.c | 10 10 files changed, 3859 insertions(+), 7 deletions(-)
Although the patch to acpi_ksyms.c makes acpi_walk_namespace' exported, you will fail to resolve pci_pin_to_vector' (which is in iosapic.c) for modules.
So please compile in ACPI PCI hotplug statically.
This ACPI PCI hotplug driver implements minimal functionality and the status is experimental. Please do not use for production purpose (but patches to leverage it to production level are welcome:)
This driver does not implement handling of PCI-to-PCI bridge on a card (such as multi-port ethernet cards) yet. So please test it with non PCI-to-PCI bridge cards (multi-function cards are ok).
How to use:
First of all, after booting the kernel, you will have to mount `pcihpfs' to somewhere.
# mount -t pcihpfs none /mnt/somewhere
Then you can find several ACPIxx (xx is a number) directories under the mountpoint. If you can't find any directory under it, your platform doesn't support PCI hotplug or it's my bug:)
Probably you can find a tab, which is called "MRL" (manually-operated retension latch) and green/amber leds for each PCI slot.
You can turn off a PCI card by doing
# echo 0 > /mnt/somewhere/ACPIxx/power
Or, if your platform have a push-button near the slot, pushing it may initiate hot-remove process.
Opening an MRL means immediate shutdown of power supply and not recommended.
Typically, inserting a card and closing MRL will initiate hot-add process. If it's successfully added to the system, the green LED will be on, otherwise amber LED will be on.
And then, the hotplug subsystem will bind the inserted device to an apropriate driver or run /sbin/hotplug. Even if there's no driver for the device, at least it's visible through /proc/pci proc/bus/pci/xx/yy.
There's a GUI program to control PCI hotplug. You can find at
http://www.kroah.com/linux/hotplug/
But I haven't tested yet...
Caveats:
If your PCI device is bound to its driver and it's not hotplug-aware, hot-removal process may fail. For hotplugging, a driver should support new PCI driver interface (struct pci_driver). For related information, see
http://www.uwsg.indiana.edu/hypermail/linux/kernel/0207.1/1078.html
If your card's driver don't call pci_enable_device() at startup, your card may not operate correctly. Because I/O port and memory- mapped I/O space access is not enabled after PCI hotplug, PCI device drivers are responsible for enabling them.
(For example, drivers/net/acenic.c don't call pci_enable_device() at startup, but enables by itself...)
Related sites:
SourceForge PCI hotplug for Linux project
http://sourceforge.net/projects/pcihpd
If there are problems (perhaps many), please report to me / [email protected], with full dmesg. If you don't see any legal problem, attaching /proc/acpi/dsdt is very helpful.
Quoted 3 lines · Takayoshi
For those who would like to play with PCI hotplug with ACPI, I'll post patches necessary for the latest 2.4.18 patch later on today.
Thanks,
Signature · 1 line
KOCHI, Takayoshi <[email protected]/[email protected]>
[Linux-ia64] kernel update (relative to 2.4.19)
In reply to David MosbergerThe latest ia64 kernel patch is available here:
ftp://ftp.kernel.org/pub/linux/kernel/ports/v2.4/linux-2.4.19-ia64-020821.diff.gz
Note that this patch retains support for the Microsoft-encumbered SPCR and DBGP ACPI tables, even though they have been removed from 2.4.19. I'd like to remove this soon, though.
Bjorn
ChangeLog
- 2.4.19 changes, just as a heads up:
- Support for HCDP (DIG64 Headless Console Debug Port) added.
- Support for SPCR & DBGP (CONFIG_SERIAL_ACPI) was removed from 2.4.19. I kept it in the ia64 patch because some people still rely on it, but I'd like to remove it eventually.
- Remove hpsim_console simcons_wait_key() due to struct console changes.
- Fix really_local_irq_count() typo (David Mosberger).
- SYM53C8XX version 2 fixes (?).
- Fix flush_tlb_page problem (UP only) (Dan Magenheimer, David Mosberger).
- ACPI: prefer WB mapping over UC (a region may support both) (?).
- Print FPSWA revision (Takayoshi Kochi).
- copy_user fix (Ken Chen).
- Makefile fixes (David Lombard).
- SGI devfs config fixes for xconfig (Keith Owens).
- Fix CPU bitmask truncation to 32 bits.
- do_profile() cleanup (David Mosberger).
- SMP floating-point context switch optimization (Asit Mallick).
- Fix corruption of perfmon registers by ptrace (Stephane Eranian).
- Disable PCI decoding while sizing BARs (Tatsuya Tsurukawa).
- Detect keyboard controller via ACPI, acpi.c cleanup.
- Add early printk support for UARTs.
- ForteMedia FM801 sound driver update (Martin Petersen).
- Make ACPI GPE0/GPE1 optional (Chris McDermott).
- IOSAPIC cleanup (Takayoshi Kochi):
- Cleanup irq/vector/pin terminology
- Remove gsi_to_vector_map[]
- Remove ACPI irq = vector assumption
- Dynamic vector allocation
- Add iosapic PCI segment support.
- Add pcibios PCI segment support.
- Add support for ACPI _TRA (PCI memory space only for now).
- Add platform vector hook in pcibios_enable_device.
- Detect HP sba_iommu via ACPI, support multiple IOCs.
- Correct memory_lseek return (David Mosberger).
- Correct /proc/<pid>/mem lseek return.
- Fix GPT RAID autodetect (only worked for first partition) (Alex Williamson).
- Move efi.h from include/asm-ia64 to include/linux (Matt Domsch).
- Temporarily restore ACPI SPCR/DBGP support (was removed from 2.4.19).
- defconfig update ("generic" kernel, virtual mem_map, add drivers for fusion mpt, aic7xxx, sym53c8xx (ver 2), tulip, e1000, tigon 3, zx1 AGPGART).
RE: [Linux-ia64] kernel update (relative to 2.4.19)
In reply to David MosbergerQuoted 4 lines
The latest ia64 kernel patch is available here:
ftp://ftp.kernel.org/pub/linux/kernel/ports/v2.4/linux-2.4.19-ia64-020821.di ff.gz
I think, rather:
ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.4/linux-2.4.19-ia64-0208 21.diff.gz
Re: [Linux-ia64] kernel update (relative to 2.4.19)
In reply to David MosbergerQuoted 3 lines
I think, rather:
ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.4/linux-2.4.19-ia64-020821.diff.gz
Of course you're right. I cut and pasted to avoid that error, but ... that's about how my week has gone. Thanks, Mats.
Re: [Linux-ia64] kernel update (relative to 2.4.19)
In reply to David MosbergerHi Bjorn,
I have comments on arch/ia64/kernel/acpi.c:
o acpi_get_current_resources
After some version (around Apr. 2002), ACPI CA has automatic memory allocation functionality. If acpi_buffer's length is ACPI_ALLOCATE_BUFFER, memory is allocated automatically. So independent acpi_get_crs makes less sense, we can use acpi_get_current_resources directly. Returning -ENOMEM as acpi_status is also wrong.
o void * as a pointer to byte array
I was taught that this is a gcc extension, can to do any arithmetic operation and should be avoided.
I'm not sure this is still true in C99.
Maybe you reject this because original is simpler and works anyway.
- res = buf->pointer + *offset;
+ res = (acpi_resource *)((char *) buf->pointer + *offset);
o acpi_resource's id and length
It is really counter-intuitive, but you can't count on length member of acpi_resource:( In acpi_get_crs_addr(), there's a corner case that resource doesn't have any memory resource records. In that case, it will go into infinite loop. If you encounter ACPI_RSTYPE_END_TAG, it's the end of resources.
+ case ACPI_RSTYPE_END_TAG:
+ return;
+ break;
o I made some functions static
o rewrite acpi_dispose_crs with acpi_os_free
It's not important:)
Index: lia64-2.4/arch/ia64/kernel/acpi.c
arch/ia64/kernel/acpi.c renamed from arch/ia64/kernel/acpi.c:1.1.1.15 +17 -44
@@ -112,33 +112,7 @@#ifdef CONFIG_ACPI -/** -* acpi_get_crs - Return the current resource settings for a device -* obj: A handle for this device -* buf: A buffer to be populated by this call. -* -* Pass a valid handle, typically obtained by walking the namespace and a -* pointer to an allocated buffer, and this function will fill in the buffer -* with a list of acpi_resource structures. -*/ -acpi_status -acpi_get_crs (acpi_handle obj,acpi_buffer *buf) -{ -acpi_status result; - buf->length =0 ; - buf->pointer =NULL ; - - result =acpi_get_current_resources (obj, buf); -if (result !=AE_BUFFER_OVERFLOW ) -return result; - buf->pointer =kmalloc (buf->length,GFP_KERNEL ); -if (!buf->pointer) -return -ENOMEM ; - -return acpi_get_current_resources (obj, buf); -} - -acpi_resource * +static acpi_resource *acpi_get_crs_next (acpi_buffer *buf,int *offset) {acpi_resource *res;
@@ -146,12 +120,12 @@if (*offset >= buf->length)return NULL ; - res = buf->pointer + *offset; + res = (acpi_resource *)((char *) buf->pointer + *offset); *offset += res->length;return res; } -acpi_resource_data * +static acpi_resource_data *acpi_get_crs_type (acpi_buffer *buf,int *offset,int type) {for (;;) {
@@ -163,12 +137,6 @@ } } -void -acpi_dispose_crs (acpi_buffer *buf) -{ -kfree (buf->pointer); -} -static void acpi_get_crs_addr (acpi_buffer *buf,int type,u64 *base,u64 *length,u64 *tra) {
@@ -210,6 +178,9 @@return ; }break ; +case ACPI_RSTYPE_END_TAG : +return ; +break ; } } }
@@ -218,13 +189,14 @@ acpi_get_addr_space(acpi_handle obj, u8 type, u64 *base, u64 *length, u64 *tra) { acpi_status status; -acpi_buffer buf; +acpi_buffer buf = { .length =ACPI_ALLOCATE_BUFFER , + .pointer =NULL }; *base =0 ; *length =0 ; *tra =0 ; - status =acpi_get_crs (obj, &buf); + status =acpi_get_current_resources (obj, &buf);if (ACPI_FAILURE (status)) { printk(KERN_ERR PREFIX "Unable to get _CRS data on object\n");return status;
@@ -232,7 +204,7 @@acpi_get_crs_addr (&buf, type, base, length, tra); -acpi_dispose_crs (&buf); +acpi_os_free (buf.pointer);return AE_OK ; }
@@ -254,7 +226,8 @@ {int i, offset =0 ;acpi_status status; -acpi_buffer buf; +acpi_buffer buf = { .length =ACPI_ALLOCATE_BUFFER , + .pointer =NULL };acpi_resource_vendor *res;acpi_hp_vendor_long *hp_res;efi_guid_t vendor_guid;
@@ -262,7 +235,7 @@ *csr_base =0 ; *csr_length =0 ; - status =acpi_get_crs (obj, &buf); + status =acpi_get_current_resources (obj, &buf);if (ACPI_FAILURE (status)) { printk(KERN_ERR PREFIX "Unable to get _CRS data on object\n");return status;
@@ -271,7 +244,7 @@ res = (acpi_resource_vendor *)acpi_get_crs_type (&buf, &offset,ACPI_RSTYPE_VENDOR );if (!res) { printk(KERN_ERR PREFIX "Failed to find config space for device\n"); -acpi_dispose_crs (&buf); +acpi_os_free (buf.pointer);return AE_NOT_FOUND ; }
@@ -279,14 +252,14 @@if (res->length !=HP_CCSR_LENGTH || hp_res->guid_id !=HP_CCSR_TYPE ) { printk(KERN_ERR PREFIX "Unknown Vendor data\n"); -acpi_dispose_crs (&buf); +acpi_os_free (buf.pointer);return AE_TYPE ;/* Revisit error? */ }memcpy (&vendor_guid, hp_res->guid,sizeof (efi_guid_t));if (efi_guidcmp (vendor_guid,HP_CCSR_GUID ) !=0 ) { printk(KERN_ERR PREFIX "Vendor GUID does not match\n"); -acpi_dispose_crs (&buf); +acpi_os_free (buf.pointer);return AE_TYPE ;/* Revisit error? */ }
@@ -295,7 +268,7 @@ *csr_length |= ((u64)(hp_res->csr_length[i]) << (i *8 )); } -acpi_dispose_crs (&buf); +acpi_os_free (buf.pointer);return AE_OK ; }
Thanks,
Signature · 1 line
KOCHI, Takayoshi <[email protected]/[email protected]>
Re: [Linux-ia64] kernel update (relative to 2.4.19)
In reply to David MosbergerHi!
Here is a patch to kill many warnings.
arch/ia64/hp/common/sba_iommu.c renamed from arch/ia64/hp/common/sba_iommu.c.~1~ +1 -1
@@ -626,7 +626,7 @@ mark_clean (void *addr, size_t size) pg_addr =PAGE_ALIGN ((unsigned long ) addr); end = (unsigned long ) addr + size;while (pg_addr +PAGE_SIZE <= end) { -struct page *page =virt_to_page (pg_addr); +struct page *page =virt_to_page ((void *)pg_addr);set_bit (PG_arch_1, &page->flags); pg_addr +=PAGE_SIZE ; }
arch/ia64/kernel/machvec.c renamed from arch/ia64/kernel/machvec.c.~1~ +1 -1
@@ -15,7 +15,7 @@ struct ia64_machine_vector ia64_mv;* into a memory map index. */ unsigned long -map_nr_dense (unsigned long addr) +map_nr_dense (void *addr) {return MAP_NR_DENSE (addr); }
arch/ia64/lib/swiotlb.c renamed from arch/ia64/lib/swiotlb.c.~1~ +1 -1
@@ -351,7 +351,7 @@ mark_clean (void *addr, size_t size) pg_addr =PAGE_ALIGN ((unsigned long ) addr); end = (unsigned long ) addr + size;while (pg_addr +PAGE_SIZE <= end) { -struct page *page =virt_to_page (pg_addr); +struct page *page =virt_to_page ((void *)pg_addr);set_bit (PG_arch_1, &page->flags); pg_addr +=PAGE_SIZE ; }
arch/ia64/mm/init.c renamed from arch/ia64/mm/init.c.~1~ +6 -6
@@ -114,8 +114,8 @@ free_initmem (void) addr = (unsigned long ) &__init_begin;for (; addr < (unsigned long ) &__init_end; addr +=PAGE_SIZE ) { -clear_bit (PG_reserved, &virt_to_page (addr)->flags); -set_page_count (virt_to_page (addr),1 ); +clear_bit (PG_reserved, &virt_to_page ((void *)addr)->flags); +set_page_count (virt_to_page ((void *)addr),1 );free_page (addr); ++totalram_pages; }
@@ -164,10 +164,10 @@ free_initrd_mem(unsigned long start, unsprintk (KERN_INFO "Freeing initrd memory: %ldkB freed\n" , (end - start) >>10 );for (; start < end; start +=PAGE_SIZE ) { -if (!VALID_PAGE (virt_to_page (start))) +if (!VALID_PAGE (virt_to_page ((void *)start)))continue ; -clear_bit (PG_reserved, &virt_to_page (start)->flags); -set_page_count (virt_to_page (start),1 ); +clear_bit (PG_reserved, &virt_to_page ((void *)start)->flags); +set_page_count (virt_to_page ((void *)start),1 );free_page (start); ++totalram_pages; }
@@ -554,7 +554,7 @@ count_reserved_pages (u64 start, u64 endunsigned long *count = arg;struct page *pg; -for (pg =virt_to_page (start); pg <virt_to_page (end); ++pg) +for (pg =virt_to_page ((void *)start); pg <virt_to_page ((void *)end); ++pg)if (PageReserved (pg)) ++num_reserved; *count += num_reserved;
arch/ia64/sn/kernel/setup.c renamed from arch/ia64/sn/kernel/setup.c.~1~ +1 -1
@@ -137,7 +137,7 @@ char drive_info[4*16];* virt_to_page() (asm-ia64/page.h), among other things. */ unsigned long -sn_map_nr (unsigned long addr) +sn_map_nr (void *addr) {return MAP_NR_DISCONTIG (addr); }
include/asm-ia64/machvec.h renamed from include/asm-ia64/machvec.h.~1~ +1 -1
@@ -25,7 +25,7 @@ typedef void ia64_mv_cpu_init_t(void);typedef void ia64_mv_irq_init_t (void );typedef void ia64_mv_pci_fixup_t (int );typedef void ia64_mv_pci_enable_device_t (struct pci_dev *); -typedef unsigned long ia64_mv_map_nr_t (unsigned long ); +typedef unsigned long ia64_mv_map_nr_t (void *);typedef void ia64_mv_mca_init_t (void );typedef void ia64_mv_mca_handler_t (void );typedef void ia64_mv_cmci_handler_t (int ,void *,struct pt_regs *);
Andreas.
Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected] SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
[Linux-ia64] kernel update (relative to v2.5.32)
In reply to David MosbergerOK, the latest ia64 patch should show up shortly at:
ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.5
in file: linux-2.5.32-ia64-020829.diff.gz
Please see http://lia64.bkbits.net:8080/to-linus-2.5
for change log entries.
Note: I cobbled together a version of 8250_hcdp.c which ought to work, but I don't have firmware to test it with, so it's quite possible it doesn't work quite right. At the moment, this should affect only hp zx1-based machines.
Note 2: You may have heard that Linus took out the big stick once again and replaced the new & sort-of-improved IDE subsystem with the old (and reliable?) one. I haven't done much testing, but this kernel at least can read from an IDE CD-ROM again.
Oh, PS/2 keyboards & mice don't seem to work too well at the moment. USB seems to work fine, though.
Enjoy,
--david
Re: [Linux-ia64] kernel update (relative to v2.5.32)
In reply to David MosbergerHi David,
Quoted 5 lines · On Thu, 29 Aug 2002 22:42:23 -0700 David Mosberger <[email protected]>…
OK, the latest ia64 patch should show up shortly at:
ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.5in file: linux-2.5.32-ia64-020829.diff.gz
Compie fails at arch/ia64/kernel/init_task.c when I use RedHat's gcc 2.96.
Is this time to consider gcc3.x as a default compiler for ia64?
Thanks,
Signature · 1 line
KOCHI, Takayoshi <[email protected]/[email protected]>
Re: [Linux-ia64] kernel update (relative to v2.5.32)
In reply to David MosbergerQuoted 5 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line · Takayoshi
Compie fails at
arch/ia64/kernel/init_task.cwhen I use RedHat's gcc 2.96.
Is this time to consider gcc3.x as a default compiler for ia64?
Well, I'm not sure I'd go that far. Even gcc3.1 crashed for me at some point (I think it was on ide-floppy.c). I haven't had time to look into this one yet. Perhaps gcc-3.2 has this fixed already.
If someone sends me a patch to make things compile with gcc 2.96, I'll certainly apply it (assuming it's a reasonable patch). I just don't use gcc 2.96 myself anymore.
--david
Re: [Linux-ia64] kernel update (relative to v2.5.32)
In reply to David MosbergerHere's a patch. The problem was the struct initialisers change in other files --- they meant that the INIT_THREAD_IA32 macro didn't line up properly with the things it was meant to initialise.
include/asm-ia64/processor.h renamed from tmp/geta19551 +10 -10
@@ -236,7 +236,7 @@__u64 ssd;/* IA32 stack selector descriptor */ __u64 old_k1;/* old value of ar.k1 */ __u64 old_iob;/* old IOBase value */ -# define INIT_THREAD_IA32 0, 0, 0x17800000037fULL, 0, 0, 0, 0, 0, 0, +# define INIT_THREAD_IA32 .eflag = 0, .fsr = 0, .fcr = 0x17800000037fULL, .fir = 0, .fdr = 0, .csd = 0, .ssd = 0, .old_k1 = 0, .old_iob = 0,#else # define INIT_THREAD_IA32 #endif /* CONFIG_IA32_SUPPORT */
@@ -248,7 +248,7 @@atomic_t pfm_notifiers_check;/* when >0, will cleanup ctx_notify_task in tasklist */ atomic_t pfm_owners_check;/* when >0, will cleanup ctx_owner in tasklist */ void *pfm_smpl_buf_list;/* list of sampling buffers to vfree */ -# define INIT_THREAD_PM {0, }, {0, }, 0, NULL, {0}, {0}, NULL, +# define INIT_THREAD_PM .pmc = {0, }, .pmd = {0, }, .pfm_ovfl_block_reset = 0, .pfm_context = NULL, .pfm_notifiers_check = {0}, .pfm_owners_check = {0}, .pfm_smpl_buf_list = NULL,#else # define INIT_THREAD_PM #endif
@@ -258,16 +258,16 @@ };#define INIT_THREAD { \ - flags: 0, \ - ksp: 0, \ - map_base: DEFAULT_MAP_BASE, \ - task_size: DEFAULT_TASK_SIZE, \ - siginfo: 0, \ + .flags= 0, \ + .ksp= 0, \ + .map_base= DEFAULT_MAP_BASE, \ + .task_size= DEFAULT_TASK_SIZE, \ + .siginfo= 0, \ INIT_THREAD_IA32 \ INIT_THREAD_PM \ - dbr: {0, }, \ - ibr: {0, }, \ - fph: {{{{0}}}, } \ + .dbr= {0, }, \ + .ibr= {0, }, \ + .fph= {{{{0}}}, } \ }#define start_thread (regs,new_ip,new_sp) do { \
Re: [Linux-ia64] kernel update (relative to v2.5.32)
In reply to David MosbergerQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Peter Chubb
Peter> Here's a patch. The problem was the struct initialisers Peter> change in other files --- they meant that the Peter> INIT_THREAD_IA32 macro didn't line up properly with the Peter> things it was meant to initialise.
I already have this fixed in my tree (2.5.35+, soon...). I found it because of a compiler warning, so I didn't realize this was responsible for triggering the gcc2.96 problem.
--david
[Linux-ia64] kernel update (relative to 2.5.35)
In reply to David MosbergerA new ia64 patch is now at ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.5/ in file:
linux-2.5.35-ia64-020917.diff.gz
Most important changes:
- added Rohit's huge page patch (now you too can have 4GB pages... ;-)
- new clone() flags are (should be) supported now
See http://lia64.bkbits.net:8080/to-linus-2.5 for a more detailed change log.
Seems to work fine on HP Ski and Big Sur. It's not working on zx1 machines at the moment (I'll fix that next, but that will probably be with 2.5.36 or wherever Linus is by then...)
Enjoy,
--david
[Linux-ia64] kernel update (relative to 2.5.39)
In reply to David MosbergerA new ia64 patch is now availabe at ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.5/ in file:
linux-2.5.39-ia64-020928.gz
For a detailed changelog etc., see
http://lia64.bkbits.net:8080/to-linus-2.5 as usual.
The major change in this patch is that I switched the IOSAPIC code over to use the ACPI subsystem. This brings us more in sync with the x86 tree and avoids code duplication. I tested this both on Big Sur and zx1 and it seems to work fine. The integration is not perfect yet, because on ia64 linux the irq number is still different from the ACPI GSI (for no good reason, IMHO). Hopefully, someone can take a look into changing this.
I'd like to encourage all developers to try out this kernel. We don't want to end up in a situation where dozens of new bugs are discovered a day before v2.6 is released (not that this is going to happen very soon, but we are approaching feature freeze very quickly...).
Enjoy,
--david
[Linux-ia64] kernel update (relative to 2.5.39)
In reply to David MosbergerWith the new patch, I see lots of warnings compiling the various filesystems (particularly ext3 and reiserfs), as ino_t is defined as an int on IA64, but is printed in error messages as a long (it's a long on most other platforms).
There are two ways I can think of to fix this:
1. Change the definition of ino_t to be a long, not an int, as was done in the sparc64 and ppc64 code. The comments in asm/posix_types.h say these types are used for communication to userspace, so maybe that's not an option any more?
2. Add casts to long everywhere an ino_t is printed out. This approach is ugly, and requires quite a few changes; and would have to be repeated every time other architecture-maintainers add new printks.
Is there a better, third, way?
--
Dr Peter Chubb [email protected]
You are lost in a maze of BitKeeper repositories, all almost the same.
Re: [Linux-ia64] kernel update (relative to 2.5.39)
In reply to David MosbergerQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Peter Chubb
Peter> With the new patch, I see lots of warnings compiling the Peter> various filesystems (particularly ext3 and reiserfs), as Peter> ino_t is defined as an int on IA64, but is printed in error Peter> messages as a long (it's a long on most other platforms).
Peter> There are two ways I can think of to fix this:
Peter> 1. Change the definition of ino_t to be a long, not an
Peter> int, as was done in the sparc64 and ppc64 code. The comments Peter> in asm/posix_types.h say these types are used for Peter> communication to userspace, so maybe that's not an option any Peter> more?
Peter> 2. Add casts to long everywhere an ino_t is printed
Peter> out. This approach is ugly, and requires quite a few Peter> changes; and would have to be repeated every time other Peter> architecture-maintainers add new printks.
Peter> Is there a better, third, way?
If we can do it without breaking apps, I'm all for changing ino_t to 64 bits. Note that "struct stat" already defines the st_ino member as "unsigned long". Also, glibc declares ino_t as a 64-bit type.
The thing to do would be to check all system calls that directly or indirectly depend on ino_t and verify that they'd be OK (and let's not forget about checking ioctl()...). The x86 emulation layer would also have to be checked to make sure that all ino_t values are properly converted.
--david
Re: [Linux-ia64] kernel update (relative to 2.5.39)
In reply to David MosbergerTo get the new patched version to compile without a VGA card, (using serial console) I needed this patch:
kernel/printk.c renamed from tmp/geta5135 2002-10-01 14:02:36.000000000 +1000 +2 -1
@@ -718,9 +718,10 @@#ifdef CONFIG_IA64_EARLY_PRINTK +#include <asm/io.h> +# ifdef CONFIG_IA64_EARLY_PRINTK_VGA -#include <asm/io.h> #define VGABASE ((char *)0xc0000000000b8000)#define VGALINES 24
Re: [Linux-ia64] kernel update (relative to 2.5.39)
In reply to David MosbergerQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Peter Chubb
Peter> To get the new patched version to compile without a VGA card, Peter> (using serial console) I needed this patch:
Looks good to me. I applied it.
Thanks,
--david
Re: [Linux-ia64] kernel update (relative to 2.5.39)
In reply to David MosbergerQuoted 8 lines · David Mosberger
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Peter Chubb
Peter> 1. Change the definition of
ino_tto be a long, not an
Peter> int, as was done in the sparc64 and ppc64 code. The comments Peter> inasm/posix_types.hsay these types are used for Peter> communication to userspace, so maybe that's not an option any Peter> more?
Quoted 5 lines
[snip]
If we can do it without breaking apps, I'm all for changing
ino_tto 64 bits. Note that "struct stat" already defines thest_inomember as "unsigned long". Also, glibc declaresino_tas a 64-bit type.
I don't think there should be many (if any) cases where this happens, but I agree it should be validated. Since we're in little endian mode, we might be lucky that natural data alignment inside structs will save us as well ;-)
Cheers,
Jes
Re: [Linux-ia64] kernel update (relative to 2.5.39)
In reply to David MosbergerHi,
Quoted 7 lines · On Sat, 28 Sep 2002 14:48:37 -0700 David Mosberger <[email protected]>…
The major change in this patch is that I switched the IOSAPIC code over to use the ACPI subsystem. This brings us more in sync with the x86 tree and avoids code duplication. I tested this both on Big Sur and zx1 and it seems to work fine. The integration is not perfect yet, because on ia64 linux the irq number is still different from the ACPI GSI (for no good reason, IMHO). Hopefully, someone can take a look into changing this.
I'll look into it.
Thanks,
Signature · 1 line
KOCHI, Takayoshi <[email protected]/[email protected]>
Re: [Linux-ia64] kernel update (relative to 2.5.39)
In reply to David MosbergerQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Jes" = Jes Sorensen <[email protected]> writes:
Quoted 3 lines · Jes> David Mosberger <[email protected]> writes:
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
On Tue, 1 Oct 2002 09:28:12 +1000, Peter Chubb
<[email protected]> said:
Peter> 1. Change the definition of ino_t to be a long, not an int, as Peter> was done in the sparc64 and ppc64 code. The comments in Peter> asm/posix_types.h say these types are used for communication to Peter> userspace, so maybe that's not an option any more?
Quoted 6 lines
Quoted 6 lines
[snip]
If we can do it without breaking apps, I'm all for changing
ino_tto 64 bits. Note that "struct stat" already defines thest_inomember as "unsigned long". Also, glibc declaresino_tas a 64-bit type.
Looks like this is now a non-issue:
[email protected], 2002-10-12 12:09:25-07:00, [email protected]
Fix warnings of the form
warning: long int format, different type arg (arg 5)
by casting ino_t arguments to unsigned long for printf formats. In some instances, change %ld to %lu.
Peter C
Re: [Linux-ia64] kernel update (relative to 2.5.39)
In reply to David MosbergerQuoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
"Peter" = Peter Chubb <[email protected]> writes:
"Jes" = Jes Sorensen <[email protected]> writes:
If we can do it without breaking apps, I'm all for changing
ino_tto 64 bits. Note that "struct stat" already defines thest_inomember as "unsigned long". Also, glibc declaresino_tas a 64-bit type.
Peter> Looks like this is now a non-issue:
This is probably the least of the problem (if there is one), compiler warnings for print's don't matter all that much.
Jes
[Linux-ia64] kernel update (relative to 2.5.45)
In reply to David MosbergerThe latest ia64 patch is now at ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.5/ in file:
linux-2.5.45-ia64-021031.diff.gz
Apart from various fixes and sync-ups (see log at
http://lia64.bkbits.net:8080/to-linus-2.5 for details), the most notable change is that the per-CPU data area is now always 64KB in size, no matter what the normal page size. This was needed because a per-CPU data structure in the scheduler is very large (>4KB), so a single page was no longer sufficient.
This patch has been tested on Ski simulator, Big Sur (2-way), and zx2000 (1-way).
Enjoy,
--david
PS: Don't try to build the NFS v4 server---it doesn't build. Also,
"make xconfig" now requires a ton of Qt libraries. "make menuconfig" works pretty much as usual, though.
[Linux-ia64] kernel update (relative to 2.4.20)
In reply to David MosbergerThe latest ia64 kernel patch for Linux 2.4.20 is available here:
ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.4/linux-2.4.20-ia64-021210.diff.gz
The current 2.4-based ia64 tree is also available as a BitKeeper repository. You can browse the changelog and the source files with a normal browser at:
http://lia64.bkbits.net:8080/linux-ia64-2.4
or you can use the BitKeeper tools to maintain a local copy of the tree like this:
$ bk clone bk://lia64.bkbits.net/linux-ia64-2.4 linux-ia64-2.4
Note that the SPCR and DBGP support has been removed. In the opinion of HP lawyers, that support contained Microsoft intellectual property, so they requested its removal.
Bjorn
Changes since the 2.4.19-ia64-020821 patch:
* Driver changes:
- bcm: dropped (you may be able to use tg3 instead).
- e1000: dropped 4.1.7, adopted upstream (currently 4.4.12-k1)
- e100: RX_ALIGN now upstream; only last_rx_time fix in ia64 patch.
- acenic: dropped ia64 patches; upstream has most or all.
- forte: dropped 1.45, adopted upstream (currently 1.55).
* SPCR/DBGP support removed (encumbered by Microsoft IP; use HCDP instead).
* McKinley A-step config doc removed (code was already gone).
* HP prototype code removed (Matthew Wilcox).
* include/asm-ia64/offsets.h removed.
* sim{eth,scsi,serial} (drivers for HP simulator) moved to arch/ia64/hp/sim/.
* drivers/media/{radio,video}/dummy.c removed.
* Support for /dev/mem write-coalescing mappings removed.
* Support for non-cached mappings of main memory removed.
* Support scatterlist page/offset in sba_iommu.
* AGP/DRM rework to make it more presentable.
- DRM: dropped obsolete #ifdef __alpha__ diffs.
- DRM: r128, radeon: made all 460GX checks run-time, not compile-time.
* ACPI CRS cleanup (Takayoshi Kochi).
* ACPI debug fixes (Takayoshi Kochi).
* Fix many warnings (Andreas Schwab).
* Fix I/O macros (inb, outb, etc) (Andreas Schwab, David Mosberger).
* If more than NR_CPUS found, ignore extras.
* Add generic RAID xor routines with prefetch (Matthew Wilcox).
* Discard *.text.exit and *.data.exit sections (Matthew Wilcox).
* Fix edge-triggered IRQ handling (David Mosberger).
* Alternate signal stack fixes (David Mosberger).
* VFS extended attribute syscall numbers (Andreas Gruenbacher).
* binfmt argv[1] preservation (David Mosberger).
* Preserve FP registers around firmware calls (John Marvin, David Mosberger).
* FPU load/save optimization (Fenghua Yu).
* Syscalls for Extended Attribute VFS infrastructure (Andreas Gruenbacher).
* Use virtual mem map automatically when needed (John Marvin).
* Fix mremap when returning "negative" addresses (Matt Chapman, David Mosberger).
* Add breakpoint hook for simulator (Peter Chubb, David Mosberger).
* Fix memcpy to return destination address (Ken Chen).
* Fix EFI handling of complicated memory maps (David Mosberger).
* Fix ACPI global lock acquire/release (David Mosberger).
* __init/__devinit fixup for PCI hotplug (Jung-Ik Lee).
* Fix TLB flushing for multi-threaded address spaces on SMP (David Mosberger).
* Bugfixes and cleanup in MCA logging (Jenna Hall).
* Poll for corrected platform errors if no CPE interrupt (Alex Williamson).
* MCA and data corruption fixes in HP ZX1 IOMMU driver (Alex Williamson).
- NOTE: SGI pci_dma.c requires corresponding changes.
* HP ZX1 AGP bridge detected via ACPI, not fake PCI devices.
* Perfmon update to version 1.2 (Stephane Eranian).
* Scan PCI buses 0-255 (not 0-254).
* Skip blind PCI probe when root bridges reported by ACPI.
* ACPI: backport bugfix so we see all 460GX PCI root bridges.
* Save/restore FP state in IA32 exception handling (Venkatesh Pallipadi).
* IA32 ptrace: support xmm regs, bug fixes (Venkatesh Pallipadi).
* Fix several unaligned access problems (David Mosberger).
* Fix fork/ptrace deadlock (David Mosberger).
The following major pieces of the ia64 patch are unchanged since 2.4.19-ia64-020821:
* ACPI: CA version 20020517 (upstream has version 20011018).
* qla1280: 3.23 Beta (upstream has 3.00-Beta).
* qla2x00: 4.31.7b (not in upstream).
NOTE: I removed the mmap support for MAP_WRITECOMBINED and MAP_NONCACHED to avoid issues with memory attribute aliasing. The only user of these that I know about is XFree86, which still seems functional when we ignore the attributes it requests. I'm very interested in any problems caused by this change.
Re: [Linux-ia64] kernel update (relative to 2.4.20)
In reply to David MosbergerQuoted 3 lines · Bjorn Helgaas
The latest ia64 kernel patch for Linux 2.4.20 is available here:
ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.4/linux-2.4.20-ia64-021210.diff.gz
I've uploaded a version of the latest ACPI code as a patch against this release to http://sourceforge.net/project/showfiles.php?group_id6832
Signature · 3 lines
"It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk
Re: [Linux-ia64] kernel update (relative to 2.4.20)
In reply to David MosbergerThe linux-2.4.20-ia64-021210 patch broke the ski simulator kernel. The attached additional patch fixes the problem, and also incorporates the 2.5 simscsi code that auto-detects the simulated disk size, so you don't need a 1G image. Note that I also adopted the 2.5 config symbols.
Sorry for the inconvenience.
Bjorn
arch/ia64/config.in +3 -3
@@ -250,10 +250,10 @@ mainmenu_option next_comment comment 'Simulated drivers' - bool 'Simulated Ethernet ' CONFIG_SIMETH - bool 'Simulated serial driver support' CONFIG_SIM_SERIAL + bool 'Simulated Ethernet ' CONFIG_HP_SIMETH + bool 'Simulated serial driver support' CONFIG_HP_SIMSERIAL if [ "$CONFIG_SCSI" != "n" ]; then - bool 'Simulated SCSI disk' CONFIG_SCSI_SIM + bool 'Simulated SCSI disk' CONFIG_HP_SIMSCSI fi endmenu fi
arch/ia64/hp/sim/Makefile +0 -4
@@ -12,8 +12,4 @@ obj-y := hpsim_console.o hpsim_irq.o hpsim_setup.o obj-$(CONFIG_IA64_GENERIC) += hpsim_machvec.o -obj-$(CONFIG_HP_SIMETH) += simeth.o -obj-$(CONFIG_HP_SIMSERIAL) += simserial.o -obj-$(CONFIG_HP_SIMSCSI) += simscsi.o - include $(TOPDIR)/Rules.make
arch/ia64/hp/sim/simeth.c +0 -533
533 lines not on this page · raw message
arch/ia64/hp/sim/simscsi.c +0 -384
384 lines not on this page · raw message
arch/ia64/hp/sim/simscsi.h +0 -39
@@ -1,39 +0,0 @@ -/* -* Simulated SCSI driver. -* -* Copyright (C) 1999 Hewlett-Packard Co -* Copyright (C) 1999 David Mosberger-Tang <[email protected]> -*/ -#ifndef SIMSCSI_H -#define SIMSCSI_H - -#define SIMSCSI_REQ_QUEUE_LEN 64 - -#define DEFAULT_SIMSCSI_ROOT "/var/ski-disks/sd" - -extern int simscsi_detect (Scsi_Host_Template *); -extern int simscsi_release (struct Scsi_Host *); -extern const char *simscsi_info (struct Scsi_Host *); -extern int simscsi_queuecommand (Scsi_Cmnd *,void (*done)(Scsi_Cmnd *)); -extern int simscsi_abort (Scsi_Cmnd *); -extern int simscsi_reset (Scsi_Cmnd *,unsigned int ); -extern int simscsi_biosparam (Disk *,kdev_t ,int []); - -#define SIMSCSI { \ - detect: simscsi_detect, \ - release: simscsi_release, \ - info: simscsi_info, \ - queuecommand: simscsi_queuecommand, \ - abort: simscsi_abort, \ - reset: simscsi_reset, \ - bios_param: simscsi_biosparam, \ - can_queue: SIMSCSI_REQ_QUEUE_LEN, \ - this_id: -1, \ - sg_tablesize: SG_ALL, \ - cmd_per_lun: SIMSCSI_REQ_QUEUE_LEN, \ - present: 0, \ - unchecked_isa_dma: 0, \ - use_clustering: DISABLE_CLUSTERING \ -} - -#endif /* SIMSCSI_H */
arch/ia64/hp/sim/simserial.c +0 -1094
1,094 lines not on this page · raw message
drivers/char/Makefile +1 -0
@@ -168,6 +168,7 @@ obj-$(CONFIG_HIL) += hp_keyb.o obj-$(CONFIG_MAGIC_SYSRQ) += sysrq.o obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o +obj-$(CONFIG_HP_SIMSERIAL) += simserial.o obj-$(CONFIG_ROCKETPORT) += rocket.o obj-$(CONFIG_MOXA_SMARTIO) += mxser.o obj-$(CONFIG_MOXA_INTELLIO) += moxa.o
drivers/char/simserial.c +1094 -0
922 lines not on this page · raw message
drivers/net/simeth.c +533 -0
533 lines not on this page · raw message
drivers/scsi/simscsi.c +395 -0
395 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.
[Linux-ia64] kernel update (relative to 2.5.52)
In reply to David MosbergerA new ia64 patch is available at:
ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.5
in file linux-2.5.52-ia64-021221.diff.gz.
I wasted a fair amount of time figuring out why the kernel would suddenly segv all other the place, just to find that, in the end, it was due to a line that got left out of the main Makefile. Oh, well, I have had better weeks...
The good news is that this kernel actually seems to work pretty well for me (modulo know issues: no kernel module loader yet, etc). Hoewever, the MPT Fusion SCSI driver broke pretty badly in 2.5.50: it just freezes the machine while it's probing for SCSI devices. Someone who actually knows something about this driver needs to take a good look at this.
Oh, and I noticed one bug in the current patch already: in /proc/pal/cpuN/vm_info, the memory-attributes are currently printed with an extra newline. Not a biggie, but for those who care, the attached (untested) patch should fix the problem.
Enjoy & Happy Holidays,
--david
PS: Pretty much all of HP will be closed next week. I'll check in on
mail from time to time, but I'm also looking forward to spend some quality R&R time with my family. ;-)
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas:
# ChangeSet 1.892 -> 1.893
# arch/ia64/kernel/palinfo.c 1.8 -> 1.9
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/12/21 [email protected] 1.893
# ia64: Fix printing of memory attributes.
# --------------------------------------------
#
arch/ia64/kernel/palinfo.c +2 -1
@@ -333,10 +333,11 @@ sep ="" ;for (i =0 ; i <8 ; i++) {if (attrib & (1 << i)) { - p +=sprintf (p,"%s%s\n" , sep, mem_attrib[i]); + p +=sprintf (p,"%s%s" , sep, mem_attrib[i]); sep =", " ; } } + p +=sprintf (p,"\n" );if ((status=ia64_pal_vm_page_size (&tr_pages, &vw_pages)) !=0 ) {printk ("ia64_pal_vm_page_size=%ld\n" , status);
Re: [Linux-ia64] kernel update (relative to 2.5.52)
In reply to David MosbergerHi David,
Please apply this patch for discontigmem. I made sure NUMA kernel worked fine with the patch on 16way Itanium machine.
Thanks,
Kimi
*** arch/ia64/mm/init.c.org Thu Dec 26 11:46:44 2002
--- arch/ia64/mm/init.c Thu Dec 26 14:52:57 2002
***************
*** 501,508 ****
extern void discontig_paging_init(void);
discontig_paging_init();
-
- num_dma_physpages = 0;
efi_memmap_walk(count_pages, &num_physpages); }
#else /* !CONFIG_DISCONTIGMEM */
--- 501,506 ----
Quoted 5 lines · On Sat, 21 Dec 2002 01:00:09 -0800 David Mosberger <[email protected]>…
A new ia64 patch is available at:
ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.5
in file linux-2.5.52-ia64-021221.diff.gz.
Signature · 1 line
Kimio Suganuma <[email protected]>
Re: [Linux-ia64] kernel update (relative to 2.5.52)
In reply to David MosbergerQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Kimio Suganuma
Kimio> Hi David,
Kimio> Please apply this patch for discontigmem. Kimio> I made sure NUMA kernel worked fine with the patch Kimio> on 16way Itanium machine.
The patch didn't apply because of whitespace issues and because it wasn't relative to the parent of the top-level directory. I applied it by hand now, but in the future, please try to submit proper patches (if you mailer does the munging, you can send patches as a MIME attachement).
Thanks,
--david
[Linux-ia64] kernel update (relative to 2.5.59)
In reply to David MosbergerI just uploaded the latest ia64 patch to the usual location(s). You can get it from ftp.kernel.org/pub/linux/ia64/ports/v2.5/ in file:
linux-2.5.59-ia64-030124.diff.gz
This is mostly a sync-up with all the changes that happened between 2.5.52 and 2.5.59. I also added one more light-weight system call:set_tid_address(). The reason I added this one is because it makes for a great example that shows how to deal with system call arguments (explicit testing for NaT is required). It might also make a (small) difference in startup overheads for NPTL thread creation.
Stephane, I just realized that I forgot to apply your perfmon patch. Sorry about tat---I'll fix that in the next patch.
Peter (Chubb): if you have an updated premption-support patch, I'd be interested in merging it in (I wanted to do that for a while, but just never got around to it).
This patch works well for me on the platforms I tested (zx6000 and Ski simulator). However, there seems to be a problem with running shared x86 apps. If someone could look into that, that would be great.
Oh, most importantly: you'll need a new assembler in order to use this patch. There was a nasty bug up until Dec 18 last year which basically made certain place-relative expressions generate bad data. Fortunately, HJ Lu has fixed that bug and I put a read-for-use, static binary of a fixed assembler at:
ftp://ftp.hpl.hp.com/pub/linux-ia64/gas-030124.tar.gz
As a measure of safety, I added a sanity check which will cause "make" to refuse to build a kernel with a buggy assembler.
As usual, you can get detailed changelogs at:
http://lia64.bkbits.net:8080/to-linus-2.5
Enjoy,
--david
Documentation/ia64/README +10 -10
@@ -4,40 +4,40 @@ platform. This document provides information specific to IA-64 ONLY, to get additional information about the Linux kernel also read the original Linux README provided with the kernel. - + INSTALLING the kernel: - IA-64 kernel installation is the same as the other platforms, see original README for details. - - + + SOFTWARE REQUIREMENTS Compiling and running this kernel requires an IA-64 compliant GCC compiler. And various software packages also compiled with an IA-64 compliant GCC compiler. - + CONFIGURING the kernel: Configuration is the same, see original README for details. - - + + COMPILING the kernel: - Compiling this kernel doesn't differ from other platform so read the original README for details BUT make sure you have an IA-64 compliant GCC compiler. - + IA-64 SPECIFICS - General issues: - + o Hardly any performance tuning has been done. Obvious targets include the library routines (IP checksum, etc.). Less obvious targets include making sure we don't flush the TLB needlessly, etc. - + o SMP locks cleanup/optimization - + o IA32 support. Currently experimental. It mostly works.
Documentation/ia64/fsys.txt new file +231 -0
231 lines not on this page · raw message
Documentation/mmio_barrier.txt new file +15 -0
@@ -0,0 +1,15 @@ +On some platforms, so-called memory-mapped I/O is weakly ordered. For +example, the following might occur: + +CPU A writes 0x1 to Device #1 +CPU B writes 0x2 to Device #1 +Device #1 sees 0x2 +Device #1 sees 0x1 + +On such platforms, driver writers are responsible for ensuring that I/O +writes to memory-mapped addresses on their device arrive in the order +intended. The mmiob() macro is provided for this purpose. A typical use +of this macro might be immediately prior to the exit of a critical +section of code proteced by spinlocks. This would ensure that subsequent +writes to I/O space arrived only after all prior writes (much like a +typical memory barrier op, mb(), only with respect to I/O).
Makefile +1 -1
@@ -170,7 +170,7 @@ NOSTDINC_FLAGS = -nostdinc -iwithprefix include CPPFLAGS := -D__KERNEL__ -Iinclude -CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wno-trigraphs -O2 \ +CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wno-trigraphs -g -O2 \ -fno-strict-aliasing -fno-common AFLAGS := -D__ASSEMBLY__ $(CPPFLAGS)
arch/ia64/Kconfig +3 -0
@@ -768,6 +768,9 @@ menu "Kernel hacking" +config FSYS + bool "Light-weight system-call support (via epc)" + choice prompt "Physical memory granularity" default IA64_GRANULE_64MB
arch/ia64/Makefile +29 -8
@@ -5,7 +5,7 @@ # License. See the file "COPYING" in the main directory of this archive # for more details. # -# Copyright (C) 1998-2002 by David Mosberger-Tang <[email protected]> +# Copyright (C) 1998-2003 by David Mosberger-Tang <[email protected]> # NM := $(CROSS_COMPILE)nm -B
@@ -23,6 +23,16 @@ GCC_VERSION=$(shell $(CC) -v 2>&1 | fgrep 'gcc version' | cut -f3 -d' ' | cut -f1 -d'.') +GAS_STATUS=$(shell arch/ia64/scripts/check-gas $(CC)) + +ifeq ($(GAS_STATUS),buggy) +$(error Sorry, you need a newer version of the assember, one that is built from \ + a source-tree that post-dates 18-Dec-2002. You can find a pre-compiled \ + static binary of such an assembler at: \ + \ + ftp://ftp.hpl.hp.com/pub/linux-ia64/gas-030124.tar.gz) +endif + ifneq ($(GCC_VERSION),2) cflags-y += -frename-registers --param max-inline-insnsP00 endif
@@ -48,26 +58,37 @@ drivers-$(CONFIG_IA64_HP_ZX1) += arch/ia64/hp/common/ arch/ia64/hp/zx1/ drivers-$(CONFIG_IA64_SGI_SN) += arch/ia64/sn/fakeprom/ -makeboot =$(Q)$(MAKE) -f scripts/Makefile.build obj=arch/ia64/boot $(1) -maketool =$(Q)$(MAKE) -f scripts/Makefile.build obj=arch/ia64/tools $(1) +boot := arch/ia64/boot +tools := arch/ia64/tools .PHONY: boot compressed archclean archmrproper include/asm-ia64/offsets.h -all compressed: vmlinux.gz +all: vmlinux + +compressed: vmlinux.gz vmlinux.gz: vmlinux - $(call makeboot,vmlinux.gz) + $(Q)$(MAKE) $(build)=$(boot) vmlinux.gz + +check: vmlinux + arch/ia64/scripts/unwcheck.sh vmlinux archmrproper: archclean: - $(Q)$(MAKE) -f scripts/Makefile.clean obj=arch/ia64/boot + $(Q)$(MAKE) $(clean)=$(boot) + $(Q)$(MAKE) $(clean)=$(tools) CLEAN_FILES += include/asm-ia64/offsets.h vmlinux.gz bootloader prepare: include/asm-ia64/offsets.h boot: lib/lib.a vmlinux - $(call makeboot,$@) + $(Q)$(MAKE) $(build)=$(boot) $@ include/asm-ia64/offsets.h: include/asm include/linux/version.h include/config/MARKER - $(call maketool,$@) + $(Q)$(MAKE) $(build)=$(tools) $@ + +define archhelp + echo ' compressed - Build compressed kernel image' + echo ' boot - Build vmlinux and bootloader for Ski simulator' +endef
arch/ia64/hp/zx1/hpzx1_misc.c +16 -16
@@ -1,9 +1,9 @@/* * Misc. support for HP zx1 chipset support * -* Copyright (C) 2002 Hewlett-Packard Co -* Copyright (C) 2002 Alex Williamson <[email protected]> -* Copyright (C) 2002 Bjorn Helgaas <[email protected]> +* Copyright (C) 2002-2003 Hewlett-Packard Co +* Alex Williamson <[email protected]> +* Bjorn Helgaas <[email protected]> */
@@ -17,7 +17,7 @@#include <asm/dma.h> #include <asm/iosapic.h> -extern acpi_status acpi_evaluate_integer (acpi_handle ,acpi_string ,acpi_object_list *, +extern acpi_status acpi_evaluate_integer (acpi_handle ,acpi_string ,struct acpi_object_list *,unsigned long *);#define PFX "hpzx1: "
@@ -190,31 +190,31 @@ hpzx1_devices++; } -typedef struct { +struct acpi_hp_vendor_long {u8 guid_id;u8 guid[16 ];u8 csr_base[8 ];u8 csr_length[8 ]; -}acpi_hp_vendor_long ; +};#define HP_CCSR_LENGTH 0x21#define HP_CCSR_TYPE 0x2#define HP_CCSR_GUID EFI_GUID(0x69e9adf9, 0x924f, 0xab5f, \ 0xf6, 0x4a, 0x24, 0xd2, 0x01, 0x37, 0x0e, 0xad) -extern acpi_status acpi_get_crs (acpi_handle ,acpi_buffer *); -extern acpi_resource *acpi_get_crs_next (acpi_buffer *,int *); -extern acpi_resource_data *acpi_get_crs_type (acpi_buffer *,int *,int ); -extern void acpi_dispose_crs (acpi_buffer *); +extern acpi_status acpi_get_crs (acpi_handle ,struct acpi_buffer *); +extern struct acpi_resource *acpi_get_crs_next (struct acpi_buffer *,int *); +extern union acpi_resource_data *acpi_get_crs_type (struct acpi_buffer *,int *,int ); +extern void acpi_dispose_crs (struct acpi_buffer *);static acpi_status hp_csr_space (acpi_handle obj,u64 *csr_base,u64 *csr_length) {int i, offset =0 ;acpi_status status; -acpi_buffer buf; -acpi_resource_vendor *res; -acpi_hp_vendor_long *hp_res; +struct acpi_buffer buf; +struct acpi_resource_vendor *res; +struct acpi_hp_vendor_long *hp_res;efi_guid_t vendor_guid; *csr_base =0 ;
@@ -226,14 +226,14 @@return status; } - res = (acpi_resource_vendor *)acpi_get_crs_type (&buf, &offset,ACPI_RSTYPE_VENDOR ); + res = (struct acpi_resource_vendor *)acpi_get_crs_type (&buf, &offset,ACPI_RSTYPE_VENDOR );if (!res) { printk(KERN_ERR PFX "Failed to find config space for device\n");acpi_dispose_crs (&buf);return AE_NOT_FOUND ; } - hp_res = (acpi_hp_vendor_long *)(res->reserved); + hp_res = (struct acpi_hp_vendor_long *)(res->reserved);if (res->length !=HP_CCSR_LENGTH || hp_res->guid_id !=HP_CCSR_TYPE ) { printk(KERN_ERR PFX "Unknown Vendor data\n");
@@ -288,7 +288,7 @@ {u64 csr_base =0 , csr_length =0 ;acpi_status status; -NATIVE_UINT busnum; +acpi_native_uint busnum;char *name = context;char fullname[32 ];
arch/ia64/ia32/binfmt_elf32.c +0 -1
@@ -44,7 +44,6 @@static void elf32_set_personality (void ); -#define ELF_PLAT_INIT (_r) ia64_elf32_init(_r)#define setup_arg_pages (bprm) ia32_setup_arg_pages(bprm)#define elf_map elf32_map
arch/ia64/ia32/ia32_entry.S +11 -4
@@ -95,12 +95,19 @@ GLOBAL_ENTRY(ia32_ret_from_clone) PT_REGS_UNWIND_INFO(0) #if defined(CONFIG_SMP) || defined(CONFIG_PREEMPT) +{ /* + * Some versions of gas generate bad unwind info if the first instruction of a + * procedure doesn't go into the first slot of a bundle. This is a workaround. + */ + nop.m 0 + nop.i 0 /* * We need to call schedule_tail() to complete the scheduling process. * Called by ia64_switch_to after do_fork()->copy_thread(). r8 contains the * address of the previously executing task. */ br.call.sptk.many rp=ia64_invoke_schedule_tail +} .ret1: #endif adds r2=TI_FLAGS+IA64_TASK_SIZE,r13
@@ -264,7 +271,7 @@ data8 sys_setreuid /* 16-bit version */ /* 70 */ data8 sys_setregid /* 16-bit version */ data8 sys32_sigsuspend - data8 sys32_sigpending + data8 compat_sys_sigpending data8 sys_sethostname data8 sys32_setrlimit /* 75 */ data8 sys32_old_getrlimit
@@ -290,8 +297,8 @@ data8 sys_getpriority data8 sys_setpriority data8 sys32_ni_syscall /* old profil syscall holder */ - data8 sys32_statfs - data8 sys32_fstatfs /* 100 */ + data8 compat_sys_statfs + data8 compat_sys_fstatfs /* 100 */ data8 sys32_ioperm data8 sys32_socketcall data8 sys_syslog
@@ -317,7 +324,7 @@ data8 sys32_modify_ldt data8 sys32_ni_syscall /* adjtimex */ data8 sys32_mprotect /* 125 */ - data8 sys32_sigprocmask + data8 compat_sys_sigprocmask data8 sys32_ni_syscall /* create_module */ data8 sys32_ni_syscall /* init_module */ data8 sys32_ni_syscall /* delete_module */
arch/ia64/ia32/ia32_signal.c +16 -25
115 lines not on this page · raw message
arch/ia64/ia32/ia32_support.c +0 -2
@@ -95,8 +95,6 @@struct pt_regs *regs =ia64_task_regs (t);int nr =smp_processor_id ();/* LDT and TSS depend on CPU number: */ - nr =smp_processor_id (); - eflag = t->thread.eflag; fsr = t->thread.fsr; fcr = t->thread.fcr;
arch/ia64/ia32/sys_ia32.c +16 -73
149 lines not on this page · raw message
arch/ia64/kernel/Makefile +1 -0
@@ -12,6 +12,7 @@ semaphore.o setup.o \ signal.o sys_ia64.o traps.o time.o unaligned.o unwind.o +obj-$(CONFIG_FSYS) += fsys.o obj-$(CONFIG_IOSAPIC) += iosapic.o obj-$(CONFIG_IA64_PALINFO) += palinfo.o obj-$(CONFIG_EFI_VARS) += efivars.o
arch/ia64/kernel/acpi.c +32 -10
87 lines not on this page · raw message
arch/ia64/kernel/efi.c +0 -28
@@ -33,15 +33,6 @@#define EFI_DEBUG 0 -#ifdef CONFIG_HUGETLB_PAGE - -/* By default at total of 512MB is reserved huge pages. */ -#define HTLBZONE_SIZE_DEFAULT 0x20000000 - -unsigned long htlbzone_pages = (HTLBZONE_SIZE_DEFAULT >>HPAGE_SHIFT ); - -#endif -extern efi_status_t efi_call_phys (void *, ...);struct efi efi;
@@ -497,25 +488,6 @@ ++cp; } } -#ifdef CONFIG_HUGETLB_PAGE -/* Just duplicating the above algo for lpzone start */ -for (cp = saved_command_line; *cp; ) { -if (memcmp (cp,"lpmem=" ,6 ) =0 ) { - cp +=6 ; - htlbzone_pages =memparse (cp, &end); - htlbzone_pages = (htlbzone_pages >>HPAGE_SHIFT ); -if (end != cp) -break ; - cp = end; - }else { -while (*cp !=' ' && *cp) - ++cp; -while (*cp =' ' ) - ++cp; - } - } -printk ("Total HugeTLB_Page memory pages requested 0x%lx \n" , htlbzone_pages); -#endif if (mem_limit != ~0UL )printk ("Ignoring memory above %luMB\n" , mem_limit >>20 );
arch/ia64/kernel/entry.S +42 -35
184 lines not on this page · raw message
arch/ia64/kernel/entry.h +2 -2
@@ -4,8 +4,8 @@* Preserved registers that are shared between code in ivt.S and entry.S. Be * careful not to step on these! */ -#define pKern p2/* will leave_kernel return to kernel-mode? */ -#define pUser p3/* will leave_kernel return to user-mode? */ +#define pKStk p2/* will leave_kernel return to kernel-stacks? */ +#define pUStk p3/* will leave_kernel return to user-stacks? */ #define pSys p4/* are we processing a (synchronous) system call? */ #define pNonSys p5/* complement of pSys */
arch/ia64/kernel/fsys.S new file +339 -0
339 lines not on this page · raw message
arch/ia64/kernel/gate.S +97 -10
151 lines not on this page · raw message
arch/ia64/kernel/head.S +3 -6
@@ -5,7 +5,7 @@ * to set up the kernel's global pointer and jump to the kernel * entry point. * - * Copyright (C) 1998-2001 Hewlett-Packard Co + * Copyright (C) 1998-2001, 2003 Hewlett-Packard Co * David Mosberger-Tang <[email protected]> * Stephane Eranian <[email protected]> * Copyright (C) 1999 VA Linux Systems
@@ -143,17 +143,14 @@ movl r2=init_thread_union cmp.eq isBP,isAP=r0,r0 #endif - ;; - extr r3=r2,0,61 // r3 = phys addr of task struct mov r16=KERNEL_TR_PAGE_NUM ;; // load the "current" pointer (r13) and ar.k6 with the current task - mov r13=r2 - mov IA64_KR(CURRENT)=r3 // Physical address - + mov IA64_KR(CURRENT)=r2 // virtual address // initialize k4 to a safe value (64-128MB is mapped by TR_KERNEL) mov IA64_KR(CURRENT_STACK)=r16 + mov r13=r2 /* * Reserve space at the top of the stack for "struct pt_regs". Kernel threads * don't store interesting values in that structure, but the space still needs
arch/ia64/kernel/ia64_ksyms.c +11 -1
@@ -56,6 +56,12 @@#include <asm/page.h> EXPORT_SYMBOL (clear_page); +#ifdef CONFIG_VIRTUAL_MEM_MAP +#include <asm/pgtable.h> +EXPORT_SYMBOL (vmalloc_end); +EXPORT_SYMBOL (ia64_pfn_valid); +#endif +#include <asm/processor.h> # ifndef CONFIG_NUMA EXPORT_SYMBOL (cpu_info__per_cpu);
@@ -142,4 +148,8 @@EXPORT_SYMBOL (ia64_mv);#endif EXPORT_SYMBOL (machvec_noop); - +#ifdef CONFIG_PERFMON +#include <asm/perfmon.h> +EXPORT_SYMBOL (pfm_install_alternate_syswide_subsystem); +EXPORT_SYMBOL (pfm_remove_alternate_syswide_subsystem); +#endif
arch/ia64/kernel/iosapic.c +1 -1
@@ -752,7 +752,7 @@if (index <0 ) {printk (KERN_WARNING "IOSAPIC: GSI 0x%x has no IOSAPIC!\n" , gsi); -return ; +continue ; } addr = iosapic_lists[index].addr; gsi_base = iosapic_lists[index].gsi_base;
arch/ia64/kernel/irq_ia64.c +1 -1
@@ -178,7 +178,7 @@register_percpu_irq (IA64_IPI_VECTOR , &ipi_irqaction);#endif #ifdef CONFIG_PERFMON -perfmon_init_percpu (); +pfm_init_percpu ();#endif platform_irq_init (); }
arch/ia64/kernel/ivt.S +83 -71
537 lines not on this page · raw message
arch/ia64/kernel/minstate.h +48 -45
151 lines not on this page · raw message
arch/ia64/kernel/pal.S +8 -9
@@ -4,7 +4,7 @@ * * Copyright (C) 1999 Don Dugger <[email protected]> * Copyright (C) 1999 Walt Drummond <[email protected]> - * Copyright (C) 1999-2001 Hewlett-Packard Co + * Copyright (C) 1999-2001, 2003 Hewlett-Packard Co * David Mosberger <[email protected]> * Stephane Eranian <[email protected]> *
@@ -114,7 +114,7 @@ ;; rsm psr.i mov b7 = loc2 - ;; + ;; br.call.sptk.many rp· // now make the call .ret0: mov psr.l = loc3 mov ar.pfs = loc1
@@ -131,15 +131,15 @@ * in0 Index of PAL service * in2 - in3 Remaning PAL arguments * - * PSR_DB, PSR_LP, PSR_TB, PSR_ID, PSR_DA are never set by the kernel. + * PSR_LP, PSR_TB, PSR_ID, PSR_DA are never set by the kernel. * So we don't need to clear them. */ -#define PAL_PSR_BITS_TO_CLEAR \ - (IA64_PSR_I | IA64_PSR_IT | IA64_PSR_DT | IA64_PSR_RT | \ - IA64_PSR_DD | IA64_PSR_SS | IA64_PSR_RI | IA64_PSR_ED | \ +#define PAL_PSR_BITS_TO_CLEAR \ + (IA64_PSR_I | IA64_PSR_IT | IA64_PSR_DT | IA64_PSR_DB | IA64_PSR_RT | \ + IA64_PSR_DD | IA64_PSR_SS | IA64_PSR_RI | IA64_PSR_ED | \ IA64_PSR_DFL | IA64_PSR_DFH) -#define PAL_PSR_BITS_TO_SET \ +#define PAL_PSR_BITS_TO_SET \ (IA64_PSR_BN)
@@ -161,7 +161,7 @@ ;; mov loc3 = psr // save psr adds r8 = 1f-1b,r8 // calculate return address for call - ;; + ;; mov loc4=ar.rsc // save RSE configuration dep.z loc2=loc2,0,61 // convert pal entry point to physical dep.z r8=r8,0,61 // convert rp to physical
@@ -275,7 +275,6 @@ * Inputs: * in0 Address of stack storage for fp regs */ - GLOBAL_ENTRY(ia64_load_scratch_fpregs) alloc r3=ar.pfs,1,0,0,0 add r2,in0
arch/ia64/kernel/perfmon.c +476 -288
590 lines not on this page · raw message
arch/ia64/kernel/traps.c +44 -13
57 lines not on this page · raw message
arch/ia64/mm/extable.c +16 -53
69 lines not on this page · raw message
arch/ia64/mm/hugetlbpage.c +224 -156
380 lines not on this page · raw message
arch/ia64/mm/init.c +200 -45
245 lines not on this page · raw message
arch/ia64/scripts/check-gas-asm.S new file +2 -0
Lines of this file are not shown. View the raw message.
arch/ia64/scripts/unwcheck.sh new file +109 -0
109 lines not on this page · raw message
arch/ia64/vmlinux.lds.S +44 -35
79 lines not on this page · raw message
drivers/char/drm/drm_memory.h +155 -9
164 lines not on this page · raw message
drivers/serial/8250_acpi.c new file +178 -0
178 lines not on this page · raw message
drivers/serial/8250_hcdp.c new file +215 -0
215 lines not on this page · raw message
drivers/serial/8250_hcdp.h new file +79 -0
79 lines not on this page · raw message
drivers/serial/acpi.c new file +108 -0
108 lines not on this page · raw message
fs/select.c +43 -28
71 lines not on this page · raw message
include/asm-ia64/system.h +39 -50
89 lines not on this page · raw message
include/asm-ia64/uaccess.h +33 -47
80 lines not on this page · raw message
kernel/printk.c +117 -0
117 lines not on this page · raw message
mm/page_alloc.c +37 -22
59 lines not on this page · raw message
sound/oss/cs4281/cs4281m.c +30 -41
71 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.
Re: [Linux-ia64] kernel update (relative to 2.5.59)
In reply to David MosbergerMakefile line 173
Quoted 9 lines · David Mosberger
diff -Nru a/Makefile b/Makefile
Makefile +1
-1@@ -170,7 +170,7 @@ NOSTDINC_FLAGS = -nostdinc -iwithprefix include CPPFLAGS := -D__KERNEL__ -Iinclude -CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wno-trigraphs -O2 \ +CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wno-trigraphs -g -O2 \
Hi David.
I do not think "-g" was included on purpose...
Sam
Re: [Linux-ia64] kernel update (relative to 2.5.59)
In reply to David MosbergerQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Sam Ravnborg
Sam> On Fri, Jan 24, 2003 at 09:02:32PM -0800, David Mosberger
Quoted 7 lines · Sam> wrote:
Review
Quoted 7 lines
diff -Nru a/Makefile b/Makefile --- a/Makefile Fri Jan 24 20:41:05 2003 +++ b/Makefile Fri Jan 24 20:41:05 2003 @@ -170,7 +170,7 @@
NOSTDINC_FLAGS= -nostdinc -iwithprefix includeCPPFLAGS := -D__KERNEL__ -Iinclude -CFLAGS := $(CPPFLAGS) -Wall
(quoted diff) +0
-2-Wstrict-prototypes -Wno-trigraphs -O2 \ +CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wno-trigraphs -g -O2 \
Sam> Hi David.
Sam> I do not think "-g" was included on purpose...
It certainly is. Debugging info is very useful, even without kgdb, and is very easy to get rid of, via strip.
--david
Re: [Linux-ia64] kernel update (relative to 2.5.59)
In reply to David MosbergerDavid Mosberger <[email protected]> writes:
Hi David,
Quoted 5 lines
I just uploaded the latest ia64 patch to the usual location(s). You can get it from ftp.kernel.org/pub/linux/ia64/ports/v2.5/ in file:
linux-2.5.59-ia64-030124.diff.gz
This patch was needed to get the kernel to compile with hugetlb enabled.
-Arun
arch/ia64/kernel/sys_ia64.c Mon Jan 27 19:04:16 2003 renamed from arch/ia64/kernel/sys_ia64.c- Mon Jan 27 19:04:07 2003 +1 -0
@@ -16,6 +16,7 @@ #include <linux/smp.h> #include <linux/smp_lock.h> #include <linux/highuid.h> +#include <linux/hugetlb.h> #include <asm/shmparam.h> #include <asm/uaccess.h>
arch/ia64/mm/hugetlbpage.c Tue Jan 28 12:03:16 2003 renamed from arch/ia64/mm/hugetlbpage.c- Mon Jan 27 18:49:51 2003 +1 -1
@@ -242,7 +242,7 @@ ret = -ENOMEM; goto out; } - add_to_page_cache(page, mapping, idx); + add_to_page_cache(page, mapping, idx, GFP_ATOMIC); unlock_page(page); } set_huge_pte(mm, vma, page, pte, vma->vm_flags & VM_WRITE);
Re: [Linux-ia64] kernel update (relative to 2.5.59)
In reply to David MosbergerQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Arun Sharma
Arun> David Mosberger <[email protected]> writes: Hi David,
Quoted 5 lines
Quoted 5 lines
I just uploaded the latest ia64 patch to the usual location(s). You can get it from ftp.kernel.org/pub/linux/ia64/ports/v2.5/ in file:
linux-2.5.59-ia64-030124.diff.gz
Arun> This patch was needed to get the kernel to compile with Arun> hugetlb enabled.
Your mailer seems to mangle the patch (it seems to convert TABs to blanks). Could you resend the patch as an MIME attachement?
Thanks,
--david
Re: [Linux-ia64] kernel update (relative to 2.5.59)
In reply to David MosbergerQuoted 8 lines · David Mosberger
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Arun Sharma
Arun> David Mosberger <[email protected]> writes: Hi David,
Quoted 3 lines
Quoted 3 lines
I just uploaded the latest ia64 patch to the usual location(s). You can get it from ftp.kernel.org/pub/linux/ia64/ports/v2.5/ in file:
Quoted 8 lines
Quoted 1 line
Quoted 1 line
linux-2.5.59-ia64-030124.diff.gz
Arun> This patch was needed to get the kernel to compile with Arun> hugetlb enabled.
Your mailer seems to mangle the patch (it seems to convert TABs to blanks). Could you resend the patch as an MIME attachement?
My bad. I did a cut and paste. MIME attachment below.
-Arun
arch/ia64/kernel/sys_ia64.c renamed from arch/ia64/kernel/sys_ia64.c- +1 -0
@@ -16,6 +16,7 @@#include <linux/smp.h> #include <linux/smp_lock.h> #include <linux/highuid.h> +#include <linux/hugetlb.h> #include <asm/shmparam.h> #include <asm/uaccess.h>
arch/ia64/mm/hugetlbpage.c renamed from arch/ia64/mm/hugetlbpage.c- +1 -1
@@ -242,7 +242,7 @@ ret = -ENOMEM ; goto out; } -add_to_page_cache (page, mapping, idx); +add_to_page_cache (page, mapping, idx,GFP_ATOMIC );unlock_page (page); }set_huge_pte (mm, vma, page, pte, vma->vm_flags &VM_WRITE );
Re: [Linux-ia64] kernel update (relative to 2.5.59)
In reply to David MosbergerQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Arun Sharma
Arun> My bad. I did a cut and paste. MIME attachment below.
This one worked fine.
Thanks!
--david
[Linux-ia64] kernel update (relative to 2.5.59)
In reply to David MosbergerQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"David" = David Mosberger <[email protected]> writes:
David> Oh, most importantly: you'll need a new assembler in order to David> use this patch. There was a nasty bug up until Dec 18 last David> year which basically made certain place-relative expressions David> generate bad data. Fortunately, HJ Lu has fixed that bug and I David> put a read-for-use, static binary of a fixed assembler at:
David> ftp://ftp.hpl.hp.com/pub/linux-ia64/gas-030124.tar.gz
David> As a measure of safety, I added a sanity check which will cause David> "make" to refuse to build a kernel with a buggy assembler.
The sanity check doesn't work under nue --- I guess that the compiler/assembler there is too old.
I see:check-gas-asm.S: Assembler messages:
check-gas-asm.S:1: Error: Expected ':'
check-gas-asm.S:1: Error: Rest of line ignored. First ignored character is ':'.
check-has-asm.S:2: Error: backw. ref to unknown label "1:", 0 assumed.
objdump: check-gas-asm.o: No such file or directory
check-gas: [: !=: unary operator expected
(And then check-gas script echoes 'good' and things go on... even though it's not good)
Is there going to be a new nue available soon, with a later toolchain?
Peter C
Re: [Linux-ia64] kernel update (relative to 2.5.59)
In reply to David MosbergerQuoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines · Peter Chubb
"David" = David Mosberger <[email protected]> writes:
David> Oh, most importantly: you'll need a new assembler in order to David> use this patch. There was a nasty bug up until Dec 18 last David> year which basically made certain place-relative expressions David> generate bad data. Fortunately, HJ Lu has fixed that bug and David> I put a read-for-use, static binary of a fixed assembler at:
David> ftp://ftp.hpl.hp.com/pub/linux-ia64/gas-030124.tar.gz
David> As a measure of safety, I added a sanity check which will David> cause "make" to refuse to build a kernel with a buggy David> assembler.
Peter> The sanity check doesn't work under nue --- I guess that the Peter> compiler/assembler there is too old.
Peter> I see: check-gas-asm.S: Assembler messages:
Peter> check-gas-asm.S:1: Error: Expected ':' check-gas-asm.S:1:
Peter> Error: Rest of line ignored. First ignored character is ':'. Peter> check-has-asm.S:2: Error: backw. ref to unknown label "1:", 0 Peter> assumed. objdump: check-gas-asm.o: No such file or directory Peter> check-gas: [: !=: unary operator expected
Peter> (And then check-gas script echoes 'good' and things go Peter> on... even though it's not good)
But even if the sanity-check worked, it would only tell you that your assembler is too old.
Peter> Is there going to be a new nue available soon, with a later Peter> toolchain?
I'd like to update the Ski simulator soon, but we don't have any plans for updating NUE. Since NUE is all based on open source, anyone can do that (and frankly, I just don't need/use NUE myself anymore; in constrast to Ski, which is still very useful for low-level work).
--david
Re: [Linux-ia64] kernel update (relative to 2.5.59)
In reply to David MosbergerQuoted 10 lines · David Mosberger
Oh, most importantly: you'll need a new assembler in order to use this patch. There was a nasty bug up until Dec 18 last year which basically made certain place-relative expressions generate bad data. Fortunately, HJ Lu has fixed that bug and I put a read-for-use, static binary of a fixed assembler at:
ftp://ftp.hpl.hp.com/pub/linux-ia64/gas-030124.tar.gzAs a measure of safety, I added a sanity check which will cause "make" to refuse to build a kernel with a buggy assembler.
David,
which gcc are you using? If I replace "as" with yours, I can't even "make menuconfig" or "make config". Tried with gcc 2.96 (from RedHat 7.2) and a self compiled gcc 3.2. The executable (mconf) fails. If I compile the kernel with the new "as", it doesn't boot. Am I the only one having this problem?
Regards,
Erich
RE: [Linux-ia64] kernel update (relative to 2.5.59)
In reply to David MosbergerI had the same problem with mconf when I built with 2.96 (it just printed the name of the Kconfig file and exited with status 1, strace didn't show any unexpected system call failures).
I got a successful build using gcc 3.1 (well after I did
s/.owner = THIS_MODULE;/.owner = THIS_MODULE,/
in a couple of the drivers/char/agp/*.c)
I'm now up and running on a BigSur.
-Tony
Quoted 40 lines
-----Original Message-----
From: Erich Focht [mailto:[email protected]]
Sent: Wednesday, January 29, 2003 6:06 AM
To: [email protected]
Cc: [email protected]
Subject: Re: [Linux-ia64] kernel update (relative to 2.5.59)Quoted 1 line · David Mosberger
Oh, most importantly: you'll need a new assembler in order
to use this
Quoted 3 lines
patch. There was a nasty bug up until Dec 18 last year which basically made certain place-relative expressions generate bad data. Fortunately, HJ Lu has fixed that bug and I put a
read-for-use, static
Quoted 5 lines
binary of a fixed assembler at:
ftp://ftp.hpl.hp.com/pub/linux-ia64/gas-030124.tar.gzAs a measure of safety, I added a sanity check which will
cause "make"
Quoted 1 line
to refuse to build a kernel with a buggy assembler.
David,
which gcc are you using? If I replace "as" with yours, I can't even "make menuconfig" or "make config". Tried with gcc 2.96 (from RedHat 7.2) and a self compiled gcc 3.2. The executable (mconf) fails. If I compile the kernel with the new "as", it doesn't boot. Am I the only one having this problem?
Regards,
Erich_______________________________________________
Linux-IA64 mailing list
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64
Re: [Linux-ia64] kernel update (relative to 2.5.59)
In reply to David MosbergerQuoted 3 lines
I had the same problem with mconf when I built with 2.96 (it just printed the name of the
Kconfigfile and exited with status 1, strace didn't show any unexpected system call failures).
I had the same experience with the new assembler and gcc 2.96 with scripts/conf used by 'make oldconfig'. Traced it to fopen(name,"r") returning 0 with errno=EINVAL. open(2) was never called according to strace and 'name' was perfectly fine. Smelled like a tool chain problem so moved to Debian and it went away (gcc version 3.2.2 20030124 (Debian prerelease))
-P
Re: [Linux-ia64] kernel update (relative to 2.5.59)
In reply to David MosbergerQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Erich Focht
Erich> which gcc are you using? If I replace "as" with yours, I Erich> can't even "make menuconfig" or "make config". Tried with gcc Erich> 2.96 (from RedHat 7.2) and a self compiled gcc 3.2. The Erich> executable (mconf) fails. If I compile the kernel with the Erich> new "as", it doesn't boot. Am I the only one having this Erich> problem?
I tried with gcc3.1. I tried not to break 2.96 but apparently it did break. Perhaps it's just time to says that 2.96 is too old and too buggy to build the v2.5 kernel. Given that (a) 2.96 is known to miscompile the MCA code and (b) the distros are moving to gcc3.x anyhow, I think this isn't unreasonable.
And for those who hate to build the toolchain themselves, there is gcc-3.1.tar.gz at ftp.hpl.hp.com. Just extract it, replace the assembler, then do:
make CROSS_COMPILE=/opt/gcc3.1/bin
and you should be in business.
--david
[Linux-ia64] kernel update (relative to 2.5.60)
In reply to David MosbergerAn updated ia64 patch is now at:
ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.5/linux-2.5.60-ia64-030212.diff.gz
This is mostly a sync with Linus' tree. The patch above contains some non-ia64 patches which are there because Linus pushed them into his bitkeeper tree after releasing 2.5.60 and before I picked it up.
do_gettimeofday() is now lock-free and this required some modifications to the logic that ensures that non-one can observe time going backwards. Actually, since multiple do_gettimeofday() calls now can execute truly in parallel, the very notion of "time not going backwards" becomes more interesting. So the refined requirement is that no causally dependent do_gettimeofday() calls will ever observe time going backwards. The logic that I'm now using guarantees that (in the absence of bugs ;-), but there is a tiny possibility that time sometimes will jump forward a little (again, this is rather unlikely and the amount of the forward jump is normally bounded by the timer tick period, which is about 1ms on ia64). Based on my testing, it all works as expected and the observed behavior is virtually indistinguishable between 2.5.59 and 2.5.60 (apart from the 2.5.60 gettimeofday() being much more scalable and slightly faster). But I'd definitely appreciate it if interested folks looked over the code and could try to find holes in it.
For the record, I attached some measurements. Thought they might come in handy if/when someone develops a lightweight version of gettimeofday (Peter? ;-)). In the tables below, "lat" is the average latency of a gettimeofday() system call, "max" is the maximum elapsed time between a pair of gettimeofday() calls in a sequence of 10 million calls. Of course, the latter number can be quite large, if the task got rescheduled or if something disabled interrupts for a long time. But still, tracking this difference on a reasonably idle system can give some interesting insights into how things work. Each table contains 10 runs of the test program and all numbers are in micro-seconds.
Enjoy,
--david
v2.5.60:
1-way McKinley 2-way McKinley
lat max lat max
0.568107 100 0.574615 101
0.569987 307 0.574272 101
0.567009 100 0.573913 101
0.56967 100 0.574309 236
0.564719 100 0.575047 102
0.563109 100 0.576051 102
0.569994 213 0.574715 101
0.567091 100 0.575147 101
0.563048 100 0.575479 101
0.569834 100 0.576054 102
v2.5.59:
1-way McKinley 2-way McKinley
0.589787 177 0.577409 100
0.590431 100 0.57823 100
0.591788 358 0.579722 101
0.590739 100 0.577402 101
0.590888 189 0.579319 100
0.590353 100 0.578492 100
0.590847 100 0.576145 101
0.590158 100 0.573804 101
0.589569 212 0.579002 100
0.590141 100 0.580514 100
Re: [Linux-ia64] kernel update (relative to 2.5.60)
In reply to David MosbergerHello,
I had to apply the patch below to build with CONFIG_NUMA.
Quoted 7 lines
An updated ia64 patch is now at:
ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.5/linux-2.5.60-ia64-030212.diff.gz
This is mostly a sync with Linus' tree. The patch above contains some non-ia64 patches which are there because Linus pushed them into his bitkeeper tree after releasing 2.5.60 and before I picked it up.
include/asm-ia64/topology.h +1 -1
@@ -26,7 +26,7 @@/* * Returns a bitmask of CPUs on Node 'node'. */ -#define node_to_cpumask (node) (node_to_cpumask[node]) +#define node_to_cpumask (node) (node_to_cpu_mask[node])#else #define cpu_to_node (cpu) (0)
Best regards.
--
NOMURA, Jun'ichi <[email protected], [email protected]> HPC Operating System Group, 1st Computers Software Division, Computers Software Operations Unit, NEC Solutions.
Re: [Linux-ia64] kernel update (relative to 2.5.60)
In reply to David MosbergerQuoted 4 lines · David Mosberger
An updated ia64 patch is now at:
ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.5/linux-2.5.60-ia64-030212.diff.gz
gcc -Wp,-MD,arch/ia64/mm/.hugetlbpage.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -g -O2 -fno-strict-aliasing -fno-common -pipe -ffixed-r13 -mfixed-rangeñ0-f15,f32-f127 -falign-functions2 -frename-registers --param max-inline-insnsP00 -fomit-frame-pointer -nostdinc -iwithprefix include -mconstant-gp -DKBUILD_BASENAME=hugetlbpage -DKBUILD_MODNAME=hugetlbpage -c -o arch/ia64/mm/hugetlbpage.o arch/ia64/mm/hugetlbpage.c
arch/ia64/mm/hugetlbpage.c: In function `set_hugetlb_mem_size':
arch/ia64/mm/hugetlbpage.c:305: warning: unused variable j' arch/ia64/mm/hugetlbpage.c:306: warning: unused variable map' arch/ia64/mm/hugetlbpage.c: At top level:
arch/ia64/mm/hugetlbpage.c:405: zap_hugetlb_resources' undeclared here (not in a function) arch/ia64/mm/hugetlbpage.c:405: initializer element is not constant arch/ia64/mm/hugetlbpage.c:405: (near initialization for hugetlb_vm_ops.close') make[1]: *** [arch/ia64/mm/hugetlbpage.o] Error 1
make: *** [arch/ia64/mm] Error 2
I don't have time to learn about HUGE_TLB and will disable for now. TPC-C folks will want HUGE_TLB working.
thanks,
grant
Re: [Linux-ia64] kernel update (relative to 2.5.60)
In reply to David MosbergerQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · On Thu, 13 Feb 2003 09:53:24 -0800, [email protected] (Grant Grundler) said:
Grant> I don't have time to learn about HUGE_TLB and will disable Grant> for now. TPC-C folks will want HUGE_TLB working.
Andrew made some changes/fixes to the hugepage support and the necessary updates aren't in the ia64 patch for now. Rohit is working on fixing that.
--david
Re: [Linux-ia64] kernel update (relative to 2.5.60)
In reply to David MosbergerQuoted 3 lines · David Mosberger
An updated ia64 patch is now at:
ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.5/linux-2.5.60-ia64-030212.diff.gz
*sigh*. Next problem is cpqfc driver doesn't build. I'll disable that too since I don't really need it.
I'd really like to take a whack at the IDE problem you reported 2 weeks ago instead of chasing misc build failures.
Do you have a .config available that builds/works on HP ZX1 platforms? (well, obviously not on the ZX2000 you reported problems with) Maybe drop that on kernel.org as linux-2.5.60-ia64-030212.config ?
gcc -Wp,-MD,drivers/scsi/.cpqfcTSinit.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -g -O2 -fno-strict-aliasing -fno-common -pipe -ffixed-r13 -mfixed-rangeñ0-f15,f32-f127 -falign-functions2 -frename-registers --param max-inline-insnsP00 -fomit-frame-pointer -nostdinc -iwithprefix include -mconstant-gp -DKBUILD_BASENAME=cpqfcTSinit -DKBUILD_MODNAME=cpqfc -c -o drivers/scsi/cpqfcTSinit.o drivers/scsi/cpqfcTSinit.cdrivers/scsi/cpqfcTSinit.c: In function `cpqfcTS_proc_info':drivers/scsi/cpqfcTSinit.c:968: structure has no member named channel' drivers/scsi/cpqfcTSinit.c:970: structure has no member named target' drivers/scsi/cpqfcTSinit.c: In function `cpqfcTS_TargetDeviceReset':drivers/scsi/cpqfcTSinit.c:1615: warning: implicit declaration of function `scsi_do_cmd' make[2]: *** [drivers/scsi/cpqfcTSinit.o] Error 1
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2
grant
Re: [Linux-ia64] kernel update (relative to 2.5.60)
In reply to David MosbergerQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · On Thu, 13 Feb 2003 11:17:42 -0800, [email protected] (Grant Grundler) said:
Grant> On Wed, Feb 12, 2003 at 03:26:10PM -0800, David Mosberger
Quoted 3 lines · Grant> wrote:
Quoted 3 lines
An updated ia64 patch is now at:
ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.5/linux-2.5.60-ia64-030212.diff.gz
Grant> *sigh*. Next problem is cpqfc driver doesn't build.
What you're noticing is that not enough people are testing 2.5.xx. I don't think that's good either, because 2.6 will be upon sooner or later and it'd be ugly if everybody waited until then to do some testing.
My role as a maintainer is not to test each and every possible configuration option and guarantee that things work. Even if I wanted to (which I don't) I couldn't do that for lack of time. My role is to make sure that if someone sends me a fix or an enhancement that it gets incorporated into the source tree within a reasonable amount of time (or to give feedback, in case something is wrong with the fix/enhancement). I'm sure everybody on this list understands this, but it makes me feel better to mention it from time to time... ;-)
So, to all who haven't tried 2.5 recently but wants things to work in 2.6: now is a good time to do some testing. Apart from he lack of module-support and driver-issues, the kernel proper is actually in very good shape. Which reminds me: nobody has expressed interest so far in working on the kernel module loader. Somebody will have to fight that battle and it's not gonna be me.
Grant> I'd really like to take a whack at the IDE problem you Grant> reported 2 weeks ago instead of chasing misc build failures. Grant> Do you have a .config available that builds/works on HP ZX1 Grant> platforms?
Sure, I attached the .config I'm using for 2.5.60 on zx1-based machines (it should work without changes for 2.5.59).
--david
--
#
# Automatically generated make config: don't edit
#
#
# Code maturity level options
#CONFIG_EXPERIMENTAL=y
#
# General setup
#CONFIG_SYSVIPC=yCONFIG_BSD_PROCESS_ACCT=yCONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT
#
# Loadable module support
#
# CONFIG_MODULES is not set
#
# Processor type and features
#CONFIG_IA64=yCONFIG_MMU=yCONFIG_SWAP=yCONFIG_RWSEM_GENERIC_SPINLOCK=y
# CONFIG_ITANIUM is not setCONFIG_MCKINLEY=y
# CONFIG_IA64_GENERIC is not set
# CONFIG_IA64_DIG is not set
# CONFIG_IA64_HP_SIM is not setCONFIG_IA64_HP_ZX1=y
# CONFIG_IA64_SGI_SN1 is not set
# CONFIG_IA64_SGI_SN2 is not set
# CONFIG_IA64_PAGE_SIZE_4KB is not set
# CONFIG_IA64_PAGE_SIZE_8KB is not setCONFIG_IA64_PAGE_SIZE_16KB=y
# CONFIG_IA64_PAGE_SIZE_64KB is not setCONFIG_ACPI=yCONFIG_ACPI_EFI=yCONFIG_ACPI_INTERPRETER=yCONFIG_ACPI_KERNEL_CONFIG=yCONFIG_IA64_L1_CACHE_SHIFT=7
# CONFIG_MCKINLEY_ASTEP_SPECIFIC is not set
# CONFIG_NUMA is not setCONFIG_VIRTUAL_MEM_MAP=yCONFIG_IA64_MCA=yCONFIG_PM=yCONFIG_IOSAPIC=yCONFIG_KCORE_ELF=y
CONFIG_FORCE_MAX_ZONEORDER
# CONFIG_HUGETLB_PAGE is not setCONFIG_SMP=yCONFIG_IA32_SUPPORT=yCONFIG_COMPAT=yCONFIG_PERFMON=yCONFIG_IA64_PALINFO=yCONFIG_EFI_VARS=yCONFIG_NR_CPUSdCONFIG_BINFMT_ELF=yCONFIG_BINFMT_MISC=y
#
# ACPI Support
#CONFIG_ACPI_BOOT=yCONFIG_ACPI_BUTTON=yCONFIG_ACPI_FAN=yCONFIG_ACPI_PROCESSOR=yCONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_DEBUG is not setCONFIG_ACPI_BUS=yCONFIG_ACPI_POWER=yCONFIG_ACPI_PCI=yCONFIG_ACPI_SYSTEM=yCONFIG_PCI=yCONFIG_PCI_LEGACY_PROC=yCONFIG_PCI_NAMES=yCONFIG_HOTPLUG=y
#
# PCI Hotplug Support
#
# CONFIG_HOTPLUG_PCI is not set
#
# PCMCIA/CardBus support
#
# CONFIG_PCMCIA is not set
#
# Parallel port support
#
# CONFIG_PARPORT is not set
#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set
#
# Plug and Play support
#
# CONFIG_PNP is not set
#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not setCONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_NBD is not setCONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE@96CONFIG_BLK_DEV_INITRD=y
#
# IEEE 1394 (FireWire) support (EXPERIMENTAL)
#
# CONFIG_IEEE1394 is not set
#
# I2O device support
#
# CONFIG_I2O is not set
#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set
#
# Fusion MPT device support
#CONFIG_FUSION=yCONFIG_FUSION_BOOT=y
CONFIG_FUSION_MAX_SGE@
#
# ATA/ATAPI/MFM/RLL support
#CONFIG_IDE=y
#
# IDE, ATA and ATAPI Block devices
#CONFIG_BLK_DEV_IDE=y
#
# Please see Documentation/ide.txt for help/info on IDE drives #
# CONFIG_BLK_DEV_HD is not set CONFIG_BLK_DEV_IDEDISK=yCONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_IDEDISK_STROKE is not set CONFIG_BLK_DEV_IDECD=yCONFIG_BLK_DEV_IDEFLOPPY=y
# CONFIG_BLK_DEV_IDESCSI is not set CONFIG_IDE_TASK_IOCTL=y
#
# IDE chipset support/bugfixes
#CONFIG_BLK_DEV_IDEPCI=y
# CONFIG_BLK_DEV_GENERIC is not setCONFIG_IDEPCI_SHARE_IRQ=yCONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDE_TCQ is not set
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
# CONFIG_IDEDMA_PCI_AUTO is not setCONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_PCI_WIP is not setCONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not setCONFIG_BLK_DEV_CMD64X=y
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDEDMA_IVB is not setCONFIG_BLK_DEV_IDE_MODES=y
#
# SCSI support
#CONFIG_SCSI=y
#
# SCSI support type (disk, tape, CD-ROM)
#CONFIG_BLK_DEV_SD=yCONFIG_CHR_DEV_ST=yCONFIG_CHR_DEV_OSST=yCONFIG_BLK_DEV_SR=yCONFIG_BLK_DEV_SR_VENDOR=yCONFIG_CHR_DEV_SG=y
#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs #CONFIG_SCSI_MULTI_LUN=yCONFIG_SCSI_REPORT_LUNS=yCONFIG_SCSI_CONSTANTS=yCONFIG_SCSI_LOGGING=y
#
# SCSI low-level drivers
#
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not setCONFIG_SCSI_AIC7XXX_OLD=y
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_AM53C974 is not setCONFIG_SCSI_MEGARAID=y
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_CPQFCTS is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_DMA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_NCR53C7xx is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_NCR53C8XX is not setCONFIG_SCSI_SYM53C8XX=yCONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=8CONFIG_SCSI_NCR53C8XX_MAX_TAGS2CONFIG_SCSI_NCR53C8XX_SYNC
# CONFIG_SCSI_NCR53C8XX_PROFILE is not set
# CONFIG_SCSI_NCR53C8XX_IOMAPPED is not set
# CONFIG_SCSI_NCR53C8XX_PQS_PDS is not set
# CONFIG_SCSI_NCR53C8XX_SYMBIOS_COMPAT is not set
# CONFIG_SCSI_PCI2000 is not set
# CONFIG_SCSI_PCI2220I is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_FC is not setCONFIG_SCSI_QLOGIC_1280=y
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set
#
# Networking support
#CONFIG_NET=y
#
# Networking options
#CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
# CONFIG_NETLINK_DEV is not setCONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not setCONFIG_FILTER=yCONFIG_UNIX=y
# CONFIG_NET_KEY is not setCONFIG_INET=yCONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_XFRM_USER is not set
#
# IP: Netfilter Configuration
#
# CONFIG_IP_NF_CONNTRACK is not set
# CONFIG_IP_NF_QUEUE is not set
# CONFIG_IP_NF_IPTABLES is not setCONFIG_IP_NF_ARPTABLES=y
# CONFIG_IP_NF_ARPFILTER is not set
# CONFIG_IP_NF_COMPAT_IPCHAINS is not set
# CONFIG_IP_NF_COMPAT_IPFWADM is not set
# CONFIG_IPV6 is not set
#
# SCTP Configuration (EXPERIMENTAL)
#CONFIG_IPV6_SCTP__=y
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_LLC is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set
#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set
#
# Network testing
#
# CONFIG_NET_PKTGEN is not setCONFIG_NETDEVICES=y
#
# ARCnet devices
#
# CONFIG_ARCNET is not setCONFIG_DUMMY=yCONFIG_BONDING=y
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_ETHERTAP is not set
#
# Ethernet (10 or 100Mbit)
#CONFIG_NET_ETHERNET=yCONFIG_MII=y
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set
#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_HP100 is not setCONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_B44 is not set
# CONFIG_DGRS is not setCONFIG_EEPRO100=y
# CONFIG_E100 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SK98LIN is not setCONFIG_TIGON3=y
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set
#
# Token Ring devices (depends on LLC=y)
#
# CONFIG_NET_FC is not set
# CONFIG_RCPCI is not set
# CONFIG_SHAPER is not set
#
# Wan interfaces
#
# CONFIG_WAN is not set
#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set
#
# ISDN subsystem
#
# CONFIG_ISDN_BOOL is not set
#
# CD-ROM drivers (not for SCSI or IDE/ATAPI drives) #
# CONFIG_CD_NO_IDESCSI is not set
#
# Input device support
#CONFIG_INPUT=y
#
# Userland interfaces
#CONFIG_INPUT_MOUSEDEV=y
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
CONFIG_INPUT_MOUSEDEV_SCREEN_X24CONFIG_INPUT_MOUSEDEV_SCREEN_Yv8CONFIG_INPUT_JOYDEV=y
# CONFIG_INPUT_TSDEV is not setCONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set
#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not setCONFIG_SOUND_GAMEPORT=yCONFIG_SERIO=y
# CONFIG_SERIO_I8042 is not set
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set
#
# Input Device Drivers
#CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ATKBD is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set
#
# Character devices
#CONFIG_VT=yCONFIG_VT_CONSOLE=yCONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set
#
# Serial drivers
#CONFIG_SERIAL_8250=yCONFIG_SERIAL_8250_ACPI=yCONFIG_SERIAL_8250_CONSOLE=yCONFIG_SERIAL_8250_HCDP=yCONFIG_SERIAL_8250_EXTENDED=y
# CONFIG_SERIAL_8250_MANY_PORTS is not setCONFIG_SERIAL_8250_SHARE_IRQ=y
# CONFIG_SERIAL_8250_DETECT_IRQ is not set
# CONFIG_SERIAL_8250_MULTIPORT is not set
# CONFIG_SERIAL_8250_RSA is not set
#
# Non-8250 serial port support
#CONFIG_SERIAL_CORE=yCONFIG_SERIAL_CORE_CONSOLE=yCONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT%6
#
# I2C support
#
# CONFIG_I2C is not set
#
# I2C Hardware Sensors Mainboard support
#
#
# I2C Hardware Sensors Chip support
#
#
# Mice
#
# CONFIG_BUSMOUSE is not set
# CONFIG_QIC02_TAPE is not set
#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set
#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_INTEL_RNG is not set
# CONFIG_NVRAM is not set
# CONFIG_GEN_RTC is not setCONFIG_EFI_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not setCONFIG_AGP=y
# CONFIG_AGP3 is not set
# CONFIG_AGP_INTEL is not set
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_AMD_8151 is not set
# CONFIG_AGP_I460 is not setCONFIG_AGP_HP_ZX1=yCONFIG_DRM=yCONFIG_DRM_TDFX=y
# CONFIG_DRM_R128 is not setCONFIG_DRM_RADEON=y
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HANGCHECK_TIMER is not set
#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set
#
# File systems
#
# CONFIG_QUOTA is not setCONFIG_AUTOFS_FS=y
# CONFIG_AUTOFS4_FS is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not setCONFIG_EXT3_FS=yCONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not setCONFIG_JBD=y
# CONFIG_JBD_DEBUG is not setCONFIG_FAT_FS=yCONFIG_MSDOS_FS=yCONFIG_VFAT_FS=y
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_TMPFS is not setCONFIG_RAMFS=yCONFIG_ISO9660_FS=yCONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
# CONFIG_JFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_NTFS_FS is not set
# CONFIG_HPFS_FS is not setCONFIG_PROC_FS=y
# CONFIG_DEVFS_FS is not setCONFIG_DEVPTS_FS=y
# CONFIG_QNX4FS_FS is not set
# CONFIG_ROMFS_FS is not setCONFIG_EXT2_FS=yCONFIG_EXT2_FS_XATTR=yCONFIG_EXT2_FS_POSIX_ACL=y
# CONFIG_SYSV_FS is not setCONFIG_UDF_FS=y
# CONFIG_UFS_FS is not set
# CONFIG_XFS_FS is not set
#
# Network File Systems
#
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not setCONFIG_NFS_FS=yCONFIG_NFS_V3=yCONFIG_NFS_V4=yCONFIG_NFSD=yCONFIG_NFSD_V3=y
# CONFIG_NFSD_V4 is not set
# CONFIG_NFSD_TCP is not setCONFIG_SUNRPC=yCONFIG_SUNRPC_GSS=yCONFIG_LOCKD=yCONFIG_LOCKD_V4=yCONFIG_EXPORTFS=y
# CONFIG_CIFS is not set
# CONFIG_SMB_FS is not set
# CONFIG_NCP_FS is not set
# CONFIG_AFS_FS is not setCONFIG_FS_MBCACHE=yCONFIG_FS_POSIX_ACL=y
#
# Partition Types
#CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not setCONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not setCONFIG_EFI_PARTITION=yCONFIG_NLS=y
#
# Native Language Support
#CONFIG_NLS_DEFAULT="iso8859-1"CONFIG_NLS_CODEPAGE_437=yCONFIG_NLS_CODEPAGE_737=yCONFIG_NLS_CODEPAGE_775=yCONFIG_NLS_CODEPAGE_850=yCONFIG_NLS_CODEPAGE_852=yCONFIG_NLS_CODEPAGE_855=yCONFIG_NLS_CODEPAGE_857=yCONFIG_NLS_CODEPAGE_860=yCONFIG_NLS_CODEPAGE_861=yCONFIG_NLS_CODEPAGE_862=yCONFIG_NLS_CODEPAGE_863=yCONFIG_NLS_CODEPAGE_864=yCONFIG_NLS_CODEPAGE_865=yCONFIG_NLS_CODEPAGE_866=yCONFIG_NLS_CODEPAGE_869=yCONFIG_NLS_CODEPAGE_936=yCONFIG_NLS_CODEPAGE_950=yCONFIG_NLS_CODEPAGE_932=yCONFIG_NLS_CODEPAGE_949=yCONFIG_NLS_CODEPAGE_874=yCONFIG_NLS_ISO8859_8=y
# CONFIG_NLS_CODEPAGE_1250 is not setCONFIG_NLS_CODEPAGE_1251=yCONFIG_NLS_ISO8859_1=yCONFIG_NLS_ISO8859_2=yCONFIG_NLS_ISO8859_3=yCONFIG_NLS_ISO8859_4=yCONFIG_NLS_ISO8859_5=yCONFIG_NLS_ISO8859_6=yCONFIG_NLS_ISO8859_7=yCONFIG_NLS_ISO8859_9=yCONFIG_NLS_ISO8859_13=yCONFIG_NLS_ISO8859_14=yCONFIG_NLS_ISO8859_15=yCONFIG_NLS_KOI8_R=yCONFIG_NLS_KOI8_U=yCONFIG_NLS_UTF8=y
#
# Graphics support
#CONFIG_FB=y
# CONFIG_FB_CLGEN is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_VIRTUAL is not set
#
# Console display driver support
#CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not setCONFIG_DUMMY_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE is not set
#
# Sound
#CONFIG_SOUND=y
#
# Advanced Linux Sound Architecture
#
# CONFIG_SND is not set
#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set
#
# USB support
#
# CONFIG_USB is not set
#
# Library routines
#CONFIG_CRC32=y
#
# Bluetooth support
#
# CONFIG_BT is not set
#
# Kernel hacking
#CONFIG_FSYS=y
# CONFIG_IA64_GRANULE_16MB is not setCONFIG_IA64_GRANULE_64MB=yCONFIG_DEBUG_KERNEL=yCONFIG_KALLSYMS=yCONFIG_IA64_PRINT_HAZARDS=y
# CONFIG_DISABLE_VHPT is not setCONFIG_MAGIC_SYSRQ=yCONFIG_IA64_EARLY_PRINTK=yCONFIG_IA64_EARLY_PRINTK_UART=yCONFIG_IA64_EARLY_PRINTK_UART_BASE=0xff5e0000CONFIG_IA64_EARLY_PRINTK_VGA=y
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_IA64_DEBUG_CMPXCHG is not set
# CONFIG_IA64_DEBUG_IRQ is not set
#
# Security options
#
# CONFIG_SECURITY is not set
#
# Cryptographic options
#
# CONFIG_CRYPTO is not set
Re: [Linux-ia64] kernel update (relative to 2.5.60)
In reply to David MosbergerQuoted 4 lines · David Mosberger
What you're noticing is that not enough people are testing 2.5.xx. I don't think that's good either, because 2.6 will be upon sooner or later and it'd be ugly if everybody waited until then to do some testing.
yup - and I get the impression cpqfc driver is an orphaned sf.net project. I also cc'd the cpqfc project at sf.net.
The 2.5.60 issue will be a test if it is or isn't.
Quoted 2 lines
My role as a maintainer is not to test each and every possible configuration option and guarantee that things work.
That would be rather unrealistic.
My goal was to just report it to the list.
I'll direct my "reply" at that list to make it a bit clearer.
Quoted 2 lines
...I'm sure everybody on this list understands this, but it makes me feel better to mention it from time to time... ;-)
*G*. Not everyone does...I've had to clarify it more than once in meetings with vendors and in-house.
Quoted 2 lines
Sure, I attached the .config I'm using for 2.5.60 on zx1-based machines (it should work without changes for 2.5.59).
cool - tnx.
grant
Re: [Linux-ia64] kernel update (relative to 2.5.60)
In reply to David MosbergerQuoted 3 lines · David Mosberger
An updated ia64 patch is now at:
ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.5/linux-2.5.60-ia64-030212.diff.gz
Thanks for the update. Here's an error I got when trying to build it for my Bug Sur machine:
gcc -Wp,-MD,drivers/char/agp/.i460-agp.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -g -O2 -fno-strict-aliasing -fno-common -pipe -ffixed-r13 -mfixed-rangeñ0-f15,f32-f127 -falign-functions2 -frename-registers --param max-inline-insnsP00 -fomit-frame-pointer -nostdinc -iwithprefix include -mconstant-gp -DKBUILD_BASENAME=i460_agp -DKBUILD_MODNAME=i460_agp -c -o drivers/char/agp/i460-agp.o drivers/char/agp/i460-agp.cdrivers/char/agp/i460-agp.c:563: parse error before ';' token make[3]: *** [drivers/char/agp/i460-agp.o] Error 1 make[2]: *** [drivers/char/agp] Error 2
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2
Seems that an extra ';' got into the structure initialization, probably during conversion to C99 syle. The following patch gets me to this link error:
ld -static -T arch/ia64/vmlinux.lds.s arch/ia64/kernel/head.o arch/ia64/kernel/init_task.o init/built-in.o --start-group usr/built-in.o arch/ia64/kernel/built-in.o arch/ia64/mm/built-in.o arch/ia64/ia32/built-in.o arch/ia64/dig/built-in.o kernel/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o lib/lib.a arch/ia64/lib/lib.a drivers/built-in.o sound/built-in.o arch/ia64/pci/built-in.o net/built-in.o --end-group -o vmlinux
drivers/built-in.o(.text+0xa51f1): In function `agp_return_size':
: undefined reference to .L111' drivers/built-in.o(.text+0xa52d1): In function agp_num_entries':
: undefined reference to `.L121'
make: *** [vmlinux] Error 1
Thanks,
Jesse
drivers/char/agp/i460-agp.c 2003-02-13 10:23:04.000000000 -0800 renamed from drivers/char/agp/i460-agp.c.orig 2003-02-13 10:28:40.000000000 -0800 +1 -1
@@ -560,7 +560,7 @@ } static struct agp_driver i460_agp_driver = { - .owner = THIS_MODULE; + .owner = THIS_MODULE }; static int __init agp_intel_i460_probe (struct pci_dev *dev, const struct pci_device_id *ent)
[Linux-ia64] kernel update (relative to v2.5.64)
In reply to David MosbergerA new ia64 kernel patch is now available at
ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/
in file linux-2.5.64-ia64-030307.diff.gz.
See the bk tree for detailed changelog
(http://lia64.bkbits.net:8080/to-linus-2.5/).
This kernel seems to work fine on the Ski simulator and HP zx1-based machines; the sync with 2.5.64 was reasonably straight-forward though, so I don't expect any problems on other machines (famous last words...).
Enjoy,
--david
[Linux-ia64] kernel update (relative to v2.5.67)
In reply to David MosbergerAt long last, here is an ia64 patch relative to 2.5.67. As usual, the ia64 kernel patch is at:
ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/
in file linux-2.5.67-ia64-030411.diff.gz.
and a detailed changelog is available at
(http://lia64.bkbits.net:8080/to-linus-2.5/).
One of more significant (though small) changes: I replaced the show_regs() in the MCA INIT platform handler with some code that dumps the min-state area instead. The pt_regs structure doesn't contain terribly interesting data when the INIT handler gets called, and the backtrace never worked anyhow (because PAL/SAL switch to a different memory stack before calling the INIT handler). Also, I added a 5 second delay before the dump starts. This turns out to be handy when the console is multiplexed as is the case for zx1-based machines. On those, you can generate an INIT event via the base-management controller's command-line interface. But to avoid losing output, you have to switch back in time before the dump starts. A 5 second delay achieves that. If someone has any objections with the delay, let me know. I don't think it should be an issue, though, because after the dump, the machine enters an endless loop anyhow, so what difference could 5 seconds make? Having said that, it _would_ be nice if the INIT handler could be improved to support resuming from INIT events (when this is possible). Anyone interested?
This kernel was tested on various zx1-based machines and the HP Ski simulator. I also tried it on a Big Sur, but it failed with ACPI errors (attached below). Perhaps someone who actually understands ACPI could look into this? It's also possible that the firmware on my Big Sur is too old. So before digging into this too deep, you may want to make sure you have the latest firmware installed.
Also, folks with hp zx1-based machines with a remote console management (ECI) card installed: please make sure you have option CONFIG_ACPI_8250 turned OFF. Otherwise, your kernel will get stuck right after the init process starts running. Since the 8250_acpi.c code is only needed for very old zx1-prototypes anyhow, this shouldn't be any loss.
While it took a while to get this kernel up to speed, it's now working quite well for me (I'm even running it on my deskside workstation). Thanks to Alex's sba_iommu, even IDE seems to work nicely again (it may have been running just fine for some time though, on non-zx1 machines).
So, if you haven't tried 2.5 recently, now might be a good time.
Oh, finally: I hope I didn't miss any patches, but if I did, my apologies. Please resend and I'll try to do better next time.
Enjoy,
--david
ACPI: Subsystem revision 20030328
ACPI-0341: *** Error: Handler for [PCI_Config] returned AE_ERROR
ACPI-1121: *** Error: Method execution failed [\_SB_.CBN_._BBN] (Node e000000005340900), AE_ERROR
ACPI-0098: *** Error: Method execution failed [\_SB_.CBN_._BBN] (Node e000000005340900), AE_ERROR
kernel unaligned access to 0x000000000000059d, ip=0xe0000000048a9821
ACPI-0341: *** Error: Handler for [PCI_Config] returned AE_ERROR
ACPI-1121: *** Error: Method execution failed [\PLAT] (Node e00000003f22f840), AE_AML_NO_RETURN_VALUE
ACPI-1121: *** Error: Method execution failed [\_SB_.PCI2._STA] (Node e000000005347e00), AE_AML_NO_RETURN_VALUERe: [Linux-ia64] kernel update (relative to v2.5.67)
In reply to David Mosberger[Added Cc: to Greg KH and acpi-devel list]
From: David Mosberger <[email protected]>
Subject: [Linux-ia64] kernel update (relative to v2.5.67)
Date: Fri, 11 Apr 2003 21:28:29 -0700
Message-ID: <[email protected]>
Quoted 6 lines
This kernel was tested on various zx1-based machines and the HP Ski simulator. I also tried it on a Big Sur, but it failed with ACPI errors (attached below). Perhaps someone who actually understands ACPI could look into this? It's also possible that the firmware on my Big Sur is too old. So before digging into this too deep, you may want to make sure you have the latest firmware installed.
<snip>
Quoted 8 lines
ACPI: Subsystem revision 20030328
ACPI-0341: *** Error: Handler for [PCI_Config] returned AE_ERROR ACPI-1121: *** Error: Method execution failed [\_SB_.CBN_._BBN] (Node e000000005340900), AE_ERROR ACPI-0098: *** Error: Method execution failed [\_SB_.CBN_._BBN] (Node e000000005340900), AE_ERROR kernel unaligned access to 0x000000000000059d, ip=0xe0000000048a9821 ACPI-0341: *** Error: Handler for [PCI_Config] returned AE_ERROR ACPI-1121: *** Error: Method execution failed [\PLAT] (Node e00000003f22f840), AE_AML_NO_RETURN_VALUE ACPI-1121: *** Error: Method execution failed [\_SB_.PCI2._STA] (Node e000000005347e00), AE_AML_NO_RETURN_VALUE
It seems that newly integrated PCI segment support is incomplete.
In acpi/osl.c, it does PCI configuration space access like:
struct pci_bus bus; .. bus.number = __bus_number_to_access__; pci_root_ops->write(&bus, ...);
But the ia64 dependent pci_root_ops uses &bus->sysdata to know which PCI segment to access:(
I also noticed that in acpi/pci_root.c, _SEG is detected but ignored;) So segment support is now meanless (though it's easy to remove these two lines).
case AE_OK:
root->id.segment = (u16) value;
printk("_SEG exists! Unsupported. Abort.\n"); <= !!!!!
BUG(); <= !!!!!
break;To make things worse, ia64 2.5 tree has a dependency loop in PCI config space initialization.
1. To access PCI config space, we need in-kernel PCI tree
2. To construct the PCI tree, we need ACPI namespace to detect PCI root bridges
3. To check whether a PCI root bridge exists, we have to execute _STA method
4. Often _STA method is implemented using PCI config space access, so we need to access the config space
5. To access PCI config space, ...
To resolve this problem,
a) blindly probe bus 0 - 255, as we did in early days before ACPI initialization
b) resurrect pci_config_read/write functions so that we can access pci config space (with segment specified) regardless of in-kernel PCI tree
c) add #ifdef CONFIG_IA64 to acpi/osl.c to make a fake sysdata to specify segment
d) other (any good ideas?)
I think b) is the most straightforward way to solve the situation, but as it's once removed, it will be hard to persuade everyone;)
And currently segment support is only implemented on ia64 (using bus->sysdata) which seems ad hoc and is not implemented on i386. This is also a problem, though it's not so urgent.
Thanks,
---
Takayoshi Kochi <[email protected]>
RE: [Linux-ia64] kernel update (relative to v2.5.67)
In reply to David MosbergerI just downloaded linux-2.5.67 and the linux-2.5.67-ia64-030411.diff patch
and built the kernel, and for a config that was booting with linux-2.5.64
I now get the same errors reported below on the initial PCI configuration.
This is on a tiger4 with 1 Itanium-2 900MHz processor. The same system does
boot properly with RH AS 2.1 with the latest patches.
So it does appear that something bad did happen to the ACPI config support
for this new cut. For now, back to linux-2.5.64.
Thanks,
Dave Howell
These are my opinions and not official opinions of Intel Corp.
David Howell
Intel Corporation
Telco Server Development
Server Products Division
Voice: (803) 461-6112 Fax: (803) 461-6292
Intel Corporation
Columbia Design Center, CBA-2
250 Berryhill Road, Suite 100
Columbia, SC 29210
-----Original Message-----
From: Takayoshi Kochi [mailto:[email protected]]
Sent: Monday, April 14, 2003 8:55 AM
To: [email protected]
Cc: [email protected]; [email protected]; [email protected]
Subject: Re: [Linux-ia64] kernel update (relative to v2.5.67)
[Added Cc: to Greg KH and acpi-devel list]
From: David Mosberger <[email protected]>
Subject: [Linux-ia64] kernel update (relative to v2.5.67)
Date: Fri, 11 Apr 2003 21:28:29 -0700
Message-ID: <[email protected]>
Quoted 6 lines
This kernel was tested on various zx1-based machines and the HP Ski simulator. I also tried it on a Big Sur, but it failed with ACPI errors (attached below). Perhaps someone who actually understands ACPI could look into this? It's also possible that the firmware on my Big Sur is too old. So before digging into this too deep, you may want to make sure you have the latest firmware installed.
<snip>
Quoted 3 lines
ACPI: Subsystem revision 20030328
ACPI-0341: *** Error: Handler for [PCI_Config] returnedAE_ERROR
ACPI-1121: *** Error: Method execution failed [\_SB_.CBN_._BBN]
(Node e000000005340900), AE_ERROR
Quoted 1 line
ACPI-0098: *** Error: Method execution failed [\_SB_.CBN_._BBN]
(Node e000000005340900), AE_ERROR
Quoted 3 lines
kernel unaligned access to
0x000000000000059d, ip=0xe0000000048a9821
ACPI-0341: *** Error: Handler for [PCI_Config] returnedAE_ERROR
ACPI-1121: *** Error: Method execution failed [\PLAT] (Node
e00000003f22f840), AE_AML_NO_RETURN_VALUE
Quoted 1 line
ACPI-1121: *** Error: Method execution failed [\_SB_.PCI2._STA]
(Node e000000005347e00), AE_AML_NO_RETURN_VALUE
It seems that newly integrated PCI segment support is incomplete.
In acpi/osl.c, it does PCI configuration space access like:
struct pci_bus bus; .. bus.number = __bus_number_to_access__; pci_root_ops->write(&bus, ...);
But the ia64 dependent pci_root_ops uses &bus->sysdata to know which PCI segment to access:(
I also noticed that in acpi/pci_root.c, _SEG is detected but ignored;) So segment support is now meanless (though it's easy to remove these two lines).
case AE_OK:
root->id.segment = (u16) value;
printk("_SEG exists! Unsupported. Abort.\n"); <= !!!!!
BUG(); <= !!!!!
break;To make things worse, ia64 2.5 tree has a dependency loop in PCI config space initialization.
1. To access PCI config space, we need in-kernel PCI tree
2. To construct the PCI tree, we need ACPI namespace to detect PCI root bridges
3. To check whether a PCI root bridge exists, we have to execute _STA method
4. Often _STA method is implemented using PCI config space access, so we need to access the config space
5. To access PCI config space, ...
To resolve this problem,
a) blindly probe bus 0 - 255, as we did in early days before ACPI initialization
b) resurrect pci_config_read/write functions so that we can access pci config space (with segment specified) regardless of in-kernel PCI tree
c) add #ifdef CONFIG_IA64 to acpi/osl.c to make a fake sysdata to specify segment
d) other (any good ideas?)
I think b) is the most straightforward way to solve the situation, but as it's once removed, it will be hard to persuade everyone;)
And currently segment support is only implemented on ia64 (using bus->sysdata) which seems ad hoc and is not implemented on i386. This is also a problem, though it's not so urgent.
Thanks,
---
Takayoshi Kochi <[email protected]>
_______________________________________________
Linux-IA64 mailing list
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64
Re: [Linux-ia64] kernel update (relative to v2.5.67)
In reply to David MosbergerQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Takayoshi Kochi
Takayoshi> It seems that newly integrated PCI segment support is Takayoshi> incomplete.
Argh. Alex, can you work this out? If fixing the segment support is too much effort right now, we need to revert the segment support so the kernel boots on Big Sur (and Tiger) again.
--david
Re: [Linux-ia64] kernel update (relative to v2.5.67)
In reply to David MosbergerQuoted 10 lines · David Mosberger
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines · Takayoshi Kochi
Takayoshi> It seems that newly integrated PCI segment support is Takayoshi> incomplete.
Argh. Alex, can you work this out? If fixing the segment support is too much effort right now, we need to revert the segment support so the kernel boots on Big Sur (and Tiger) again.
This patch makes it work on my i2000. There's definitely still
some issues, but I'd rather get something out that works and go from there, than revert it. Please test and let me know what else you find. Thanks,
Alex
--
Alex Williamson HP Linux & Open Source Lab
arch/ia64/kernel/acpi.c renamed from arch/ia64/kernel/acpi.c~ +4 -0
@@ -152,6 +152,10 @@return NULL ; res = buf->pointer + *offset; + +if (res->length <=0 ) +return NULL ; + *offset += res->length;return res; }
drivers/acpi/osl.c renamed from drivers/acpi/osl.c~ +14 -0
@@ -461,6 +461,9 @@int result =0 ;int size =0 ;struct pci_bus bus; +#ifdef CONFIG_IA64 +struct pci_controller ctrl; +#endif if (!value)return AE_BAD_PARAMETER ;
@@ -480,6 +483,10 @@ } bus.number = pci_id->bus; +#ifdef CONFIG_IA64 + ctrl.segment = pci_id->segment; + bus.sysdata = &ctrl; +#endif result = pci_root_ops->read (&bus,PCI_DEVFN (pci_id->device, pci_id->function), reg, size, value);
@@ -497,6 +504,9 @@int result =0 ;int size =0 ;struct pci_bus bus; +#ifdef CONFIG_IA64 +struct pci_controller ctrl; +#endif switch (width) {case 8 :
@@ -513,6 +523,10 @@ } bus.number = pci_id->bus; +#ifdef CONFIG_IA64 + ctrl.segment = pci_id->segment; + bus.sysdata = &ctrl; +#endif result = pci_root_ops->write (&bus,PCI_DEVFN (pci_id->device, pci_id->function), reg, size, value);
drivers/acpi/pci_irq.c renamed from drivers/acpi/pci_irq.c~ +2 -2
@@ -293,7 +293,7 @@while (!irq && bridge->bus->self) { pin = (pin +PCI_SLOT (bridge->devfn)) %4 ; bridge = bridge->bus->self; - irq =acpi_pci_irq_lookup (0 , bridge->bus->number,PCI_SLOT (bridge->devfn), pin); + irq =acpi_pci_irq_lookup (PCI_SEGMENT (bridge), bridge->bus->number,PCI_SLOT (bridge->devfn), pin); }if (!irq) {
@@ -336,7 +336,7 @@* First we check the PCI IRQ routing table (PRT) for an IRQ. PRT * values override any BIOS-assigned IRQs set during boot. */ - irq =acpi_pci_irq_lookup (0 , dev->bus->number,PCI_SLOT (dev->devfn), pin); + irq =acpi_pci_irq_lookup (PCI_SEGMENT (dev), dev->bus->number,PCI_SLOT (dev->devfn), pin);/* * If no PRT entry was found, we'll try to derive an IRQ from the
drivers/acpi/pci_root.c renamed from drivers/acpi/pci_root.c~ +0 -2
@@ -202,8 +202,6 @@switch (status) {case AE_OK : root->id.segment = (u16 ) value; -printk ("_SEG exists! Unsupported. Abort.\n" ); -BUG ();break ;case AE_NOT_FOUND : ACPI_DEBUG_PRINT((ACPI_DB_INFO,
RE: [Linux-ia64] kernel update (relative to v2.5.67)
In reply to David MosbergerThanks. I did get by my initial PCI/ACPI config problems with this patch.
Dave Howell
These are my opinions and not official opinions of Intel Corp.
David Howell
Intel Corporation
Telco Server Development
Server Products Division
Voice: (803) 461-6112 Fax: (803) 461-6292
Intel Corporation
Columbia Design Center, CBA-2
250 Berryhill Road, Suite 100
Columbia, SC 29210
-----Original Message-----
From: Alex Williamson [mailto:[email protected]]
Sent: Monday, April 14, 2003 4:57 PM
To: [email protected]
Cc: Takayoshi Kochi; [email protected]
Subject: Re: [Linux-ia64] kernel update (relative to v2.5.67)
Quoted 2 lines · David Mosberger
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
On Mon, 14 Apr 2003 21:55:19 +0900 (JST), Takayoshi Kochi
Quoted 8 lines · <[email protected]> said:
Takayoshi> It seems that newly integrated PCI segment support is Takayoshi> incomplete.
Argh. Alex, can you work this out? If fixing the segment support is too much effort right now, we need to revert the segment support so the kernel boots on Big Sur (and Tiger) again.
This patch makes it work on my i2000. There's definitely still
some issues, but I'd rather get something out that works and go from there, than revert it. Please test and let me know what else you find. Thanks,
Alex
--
Alex Williamson HP Linux & Open Source Lab
Re: [Linux-ia64] kernel update (relative to v2.5.67)
In reply to David MosbergerHi,
Thanks to Alex's fixes for PCI segment support, we could boot 2.5.67 kernel on Tiger. But a strange thing is happening. Only cpu0 & 1 are getting timer interrupts and cpu 2 & 3 aren't. This problem is reproducible and we see this phenomenon after every boot. It seems that these cpus stop receiving timer interrupts after a very short while.
Has anyone seen this?
I attached the config. I compiled the kernel with gcc version 3.2.3 20030407 (Debian prerelease) and binutils 2.13.90.0.18 20030121 Debian GNU/Linux.
[root@tiger root]# cat /proc/stat
cpu 3634837 0 14291 9632002 32284
cpu0 1816379 0 10110 4809692 20522
cpu1 1818458 0 4181 4822257 11762
cpu2 0 0 0 27 0
cpu3 0 0 0 26 0
intr 13335591 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 15 0 2 0 0 0 0 0 0 0 2 299 9 0 0 0 236 12415 0 0 0 0 8692 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 13313475 0 0 0 0 0 0 0 0 0 0 0 0 0 0 399 0 ctxt 88342
btime 1050389895
processes 1921procs_running 5procs_blocked 0
[root@tiger root]# cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3
30: 0 0 0 0 IO-SAPIC-level cpe_hndlr 31: 0 0 0 0 LSAPIC cmc_hndlr 34: 1 0 14 0 IO-SAPIC-edge ide0 39: 0 0 0 0 IO-SAPIC-level acpi 45: 0 0 299 0 IO-SAPIC-edge serial 49: 0 0 0 0 IO-SAPIC-level uhci-hcd 50: 0 0 236 0 IO-SAPIC-level uhci-hcd 51: 0 0 12510 0 IO-SAPIC-level eth0 56: 0 0 8694 0 IO-SAPIC-level ioc0 57: 0 0 42 0 IO-SAPIC-level ioc1 232: 0 0 0 0 LSAPIC mca_rdzv 238: 1 1 1 1 LSAPIC perfmon 239: 6693336 6693231 27 26 LSAPIC timer 240: 0 0 0 0 LSAPIC mca_wkup 254: 8 128 133 133 LSAPIC IPI NMI: 0 0 0 0 ERR: 0
Thanks,
---
Takayoshi Kochi <[email protected]>
#
# Automatically generated make config: don't edit
#
#
# Code maturity level options
#CONFIG_EXPERIMENTAL=y
#
# General setup
#CONFIG_SWAP=yCONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not setCONFIG_SYSCTL=yCONFIG_LOG_BUF_SHIFT=17
#
# Loadable module support
#
# CONFIG_MODULES is not set
#
# Processor type and features
#CONFIG_IA64=yCONFIG_MMU=yCONFIG_RWSEM_XCHGADD_ALGORITHM=y
# CONFIG_ITANIUM is not setCONFIG_MCKINLEY=y
# CONFIG_IA64_GENERIC is not setCONFIG_IA64_DIG=y
# CONFIG_IA64_HP_SIM is not set
# CONFIG_IA64_HP_ZX1 is not set
# CONFIG_IA64_SGI_SN1 is not set
# CONFIG_IA64_SGI_SN2 is not set
# CONFIG_IA64_PAGE_SIZE_4KB is not set
# CONFIG_IA64_PAGE_SIZE_8KB is not setCONFIG_IA64_PAGE_SIZE_16KB=y
# CONFIG_IA64_PAGE_SIZE_64KB is not setCONFIG_ACPI=yCONFIG_ACPI_EFI=yCONFIG_ACPI_INTERPRETER=yCONFIG_ACPI_KERNEL_CONFIG=yCONFIG_IA64_L1_CACHE_SHIFT=7
# CONFIG_MCKINLEY_ASTEP_SPECIFIC is not set
# CONFIG_NUMA is not setCONFIG_VIRTUAL_MEM_MAP=yCONFIG_IA64_MCA=yCONFIG_PM=yCONFIG_IOSAPIC=yCONFIG_KCORE_ELF=yCONFIG_FORCE_MAX_ZONEORDER=18
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_IA64_PAL_IDLE is not setCONFIG_SMP=y
# CONFIG_PREEMPT is not setCONFIG_IA32_SUPPORT=yCONFIG_COMPAT=yCONFIG_PERFMON=yCONFIG_IA64_PALINFO=yCONFIG_EFI_VARS=yCONFIG_NR_CPUS=16CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
#
# ACPI Support
#CONFIG_ACPI_BOOT=yCONFIG_ACPI_BUTTON=yCONFIG_ACPI_FAN=yCONFIG_ACPI_PROCESSOR=yCONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_DEBUG is not setCONFIG_ACPI_BUS=yCONFIG_ACPI_POWER=yCONFIG_ACPI_PCI=yCONFIG_ACPI_SYSTEM=yCONFIG_PCI=y
# CONFIG_PCI_LEGACY_PROC is not setCONFIG_PCI_NAMES=y
# CONFIG_HOTPLUG is not set
#
# Parallel port support
#
# CONFIG_PARPORT is not set
#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set
#
# Plug and Play support
#
# CONFIG_PNP is not set
#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not setCONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_RAM is not set
#
# IEEE 1394 (FireWire) support (EXPERIMENTAL)
#
# CONFIG_IEEE1394 is not set
#
# I2O device support
#
# CONFIG_I2O is not set
#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set
#
# Fusion MPT device support
#CONFIG_FUSION=yCONFIG_FUSION_BOOT=yCONFIG_FUSION_MAX_SGE=40
#
# ATA/ATAPI/MFM/RLL support
#CONFIG_IDE=y
#
# IDE, ATA and ATAPI Block devices
#CONFIG_BLK_DEV_IDE=y
#
# Please see Documentation/ide.txt for help/info on IDE drives #
# CONFIG_BLK_DEV_HD is not set CONFIG_BLK_DEV_IDEDISK=yCONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_IDEDISK_STROKE is not set CONFIG_BLK_DEV_IDECD=yCONFIG_BLK_DEV_IDEFLOPPY=yCONFIG_BLK_DEV_IDESCSI=y
# CONFIG_IDE_TASK_IOCTL is not set
#
# IDE chipset support/bugfixes
#CONFIG_BLK_DEV_IDEPCI=y
# CONFIG_BLK_DEV_GENERIC is not setCONFIG_IDEPCI_SHARE_IRQ=yCONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDE_TCQ is not set
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
# CONFIG_IDEDMA_PCI_AUTO is not setCONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_PCI_WIP is not setCONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDEDMA_IVB is not set
#
# SCSI support
#CONFIG_SCSI=y
#
# SCSI support type (disk, tape, CD-ROM)
#CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not set
# CONFIG_CHR_DEV_SG is not set
#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs #
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_REPORT_LUNS is not set CONFIG_SCSI_CONSTANTS=yCONFIG_SCSI_LOGGING=y
#
# SCSI low-level drivers
#
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_MEGARAID is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_CPQFCTS is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_NCR53C7xx is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_NCR53C8XX is not set
# CONFIG_SCSI_SYM53C8XX is not set
# CONFIG_SCSI_PCI2000 is not set
# CONFIG_SCSI_PCI2220I is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set
#
# Networking support
#CONFIG_NET=y
#
# Networking options
#CONFIG_PACKET=yCONFIG_PACKET_MMAP=y
# CONFIG_NETLINK_DEV is not set
# CONFIG_NETFILTER is not setCONFIG_UNIX=y
# CONFIG_NET_KEY is not setCONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_IPV6 is not set
# CONFIG_XFRM_USER is not set
#
# SCTP Configuration (EXPERIMENTAL)
#CONFIG_IPV6_SCTP__=y
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_LLC is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set
#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set
#
# Network testing
#
# CONFIG_NET_PKTGEN is not setCONFIG_NETDEVICES=y
#
# ARCnet devices
#
# CONFIG_ARCNET is not setCONFIG_DUMMY=y
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_ETHERTAP is not set
#
# Ethernet (10 or 100Mbit)
#CONFIG_NET_ETHERNET=y
# CONFIG_MII is not set
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set
#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_HP100 is not setCONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_B44 is not set
# CONFIG_DGRS is not setCONFIG_EEPRO100=y
# CONFIG_EEPRO100_PIO is not set
# CONFIG_E100 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not setCONFIG_E1000=y
# CONFIG_E1000_NAPI is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set
#
# Token Ring devices (depends on LLC=y)
#
# CONFIG_NET_FC is not set
# CONFIG_RCPCI is not set
# CONFIG_SHAPER is not set
#
# Wan interfaces
#
# CONFIG_WAN is not set
#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set
#
# ISDN subsystem
#
# CONFIG_ISDN_BOOL is not set
#
# CD-ROM drivers (not for SCSI or IDE/ATAPI drives) #
# CONFIG_CD_NO_IDESCSI is not set
#
# Input device support
#CONFIG_INPUT=y
#
# Userland interfaces
#CONFIG_INPUT_MOUSEDEV=yCONFIG_INPUT_MOUSEDEV_PSAUX=yCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not setCONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set
#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not setCONFIG_SOUND_GAMEPORT=yCONFIG_SERIO=yCONFIG_SERIO_I8042=yCONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
#
# Input Device Drivers
#CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ATKBD is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not setCONFIG_INPUT_MOUSE=y
# CONFIG_MOUSE_PS2 is not set
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not setCONFIG_INPUT_MISC=y
# CONFIG_INPUT_PCSPKR is not set
# CONFIG_INPUT_UINPUT is not set
#
# Character devices
#CONFIG_VT=yCONFIG_VT_CONSOLE=yCONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set
#
# Serial drivers
#CONFIG_SERIAL_8250=y
# CONFIG_SERIAL_8250_ACPI is not setCONFIG_SERIAL_8250_CONSOLE=y
# CONFIG_SERIAL_8250_HCDP is not setCONFIG_SERIAL_8250_EXTENDED=y
# CONFIG_SERIAL_8250_MANY_PORTS is not setCONFIG_SERIAL_8250_SHARE_IRQ=y
# CONFIG_SERIAL_8250_DETECT_IRQ is not set
# CONFIG_SERIAL_8250_MULTIPORT is not set
# CONFIG_SERIAL_8250_RSA is not set
#
# Non-8250 serial port support
#CONFIG_SERIAL_CORE=yCONFIG_SERIAL_CORE_CONSOLE=yCONFIG_UNIX98_PTYS=yCONFIG_UNIX98_PTY_COUNT=256
#
# I2C support
#CONFIG_I2C=yCONFIG_I2C_ALGOBIT=y
# CONFIG_I2C_ELV is not set
# CONFIG_I2C_VELLEMAN is not set
# CONFIG_SCx200_ACB is not set
# CONFIG_I2C_ALGOPCF is not setCONFIG_I2C_CHARDEV=y
#
# I2C Hardware Sensors Mainboard support
#
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_I801 is not set
# CONFIG_I2C_PIIX4 is not set
#
# I2C Hardware Sensors Chip support
#
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_VIA686A is not set
# CONFIG_SENSORS_W83781D is not set
#
# Mice
#
# CONFIG_BUSMOUSE is not set
# CONFIG_QIC02_TAPE is not set
#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set
#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
# CONFIG_GEN_RTC is not setCONFIG_EFI_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
# CONFIG_AGP is not set
# CONFIG_DRM is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HANGCHECK_TIMER is not set
#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set
#
# File systems
#CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not setCONFIG_EXT3_FS=yCONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not setCONFIG_JBD=y
# CONFIG_JBD_DEBUG is not setCONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_QUOTA is not setCONFIG_AUTOFS_FS=y
# CONFIG_AUTOFS4_FS is not set
#
# CD-ROM/DVD Filesystems
#CONFIG_ISO9660_FS=y
# CONFIG_JOLIET is not set
# CONFIG_ZISOFS is not set
# CONFIG_UDF_FS is not set
#
# DOS/FAT/NT Filesystems
#CONFIG_FAT_FS=yCONFIG_MSDOS_FS=yCONFIG_VFAT_FS=y
# CONFIG_NTFS_FS is not set
#
# Pseudo filesystems
#CONFIG_PROC_FS=y
# CONFIG_DEVFS_FS is not setCONFIG_DEVPTS_FS=y
# CONFIG_TMPFS is not setCONFIG_RAMFS=y
#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
#
# Network File Systems
#CONFIG_NFS_FS=yCONFIG_NFS_V3=yCONFIG_NFS_V4=yCONFIG_NFSD=yCONFIG_NFSD_V3=y
# CONFIG_NFSD_V4 is not set
# CONFIG_NFSD_TCP is not setCONFIG_LOCKD=yCONFIG_LOCKD_V4=yCONFIG_EXPORTFS=yCONFIG_SUNRPC=yCONFIG_SUNRPC_GSS=y
# CONFIG_SMB_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not set
# CONFIG_AFS_FS is not set
#
# Partition Types
#CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not setCONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_NEC98_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not setCONFIG_EFI_PARTITION=yCONFIG_NLS=y
#
# Native Language Support
#CONFIG_NLS_DEFAULT="iso8859-1"
# CONFIG_NLS_CODEPAGE_437 is not set
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ISO8859_1 is not set
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set
#
# Graphics support
#
# CONFIG_FB is not set
#
# Console display driver support
#CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not setCONFIG_DUMMY_CONSOLE=y
#
# Sound
#
# CONFIG_SOUND is not set
#
# USB support
#CONFIG_USB=y
# CONFIG_USB_DEBUG is not set
#
# Miscellaneous USB options
#CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
#
# USB Host Controller Drivers
#
# CONFIG_USB_EHCI_HCD is not set
# CONFIG_USB_OHCI_HCD is not setCONFIG_USB_UHCI_HCD=y
#
# USB Device Class drivers
#
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set
# CONFIG_USB_STORAGE is not set
#
# USB Human Interface Devices (HID)
#CONFIG_USB_HID=yCONFIG_USB_HIDINPUT=y
# CONFIG_HID_FF is not setCONFIG_USB_HIDDEV=y
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_XPAD is not set
#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_SCANNER is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set
#
# USB Multimedia devices
#
# CONFIG_USB_DABUSB is not set
#
# Video4Linux support is needed for USB Multimedia device support #
#
# USB Network adaptors
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_CDCETHER is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set
#
# USB port drivers
#
#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set
#
# USB Miscellaneous drivers
#
# CONFIG_USB_TIGL is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_BRLVGER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_TEST is not set
#
# Library routines
#
# CONFIG_CRC32 is not set
#
# Bluetooth support
#
# CONFIG_BT is not set
#
# Kernel hacking
#
# CONFIG_FSYS is not set
# CONFIG_IA64_GRANULE_16MB is not setCONFIG_IA64_GRANULE_64MB=yCONFIG_DEBUG_KERNEL=yCONFIG_KALLSYMS=yCONFIG_IA64_PRINT_HAZARDS=y
# CONFIG_DISABLE_VHPT is not setCONFIG_MAGIC_SYSRQ=yCONFIG_IA64_EARLY_PRINTK=y
# CONFIG_IA64_EARLY_PRINTK_UART is not setCONFIG_IA64_EARLY_PRINTK_VGA=y
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_IA64_DEBUG_CMPXCHG is not set
# CONFIG_IA64_DEBUG_IRQ is not set
#
# Security options
#
# CONFIG_SECURITY is not set
#
# Cryptographic options
#
# CONFIG_CRYPTO is not set
Re: [Linux-ia64] kernel update (relative to v2.5.67)
In reply to David MosbergerQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Alex Williamson
Alex> still some issues, but I'd rather get something out that works Alex> and go from there, than revert it. Please test and let me Alex> know what else you find. Thanks,
Thanks, this definitely works much better. My Big Sur still gets stuck once nit starts running, but that's probably something else. Is you i2000 a single- or dual-processor?
--david
Re: [Linux-ia64] kernel update (relative to v2.5.67)
In reply to David MosbergerQuoted 7 lines · David Mosberger
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines · Alex Williamson
Alex> still some issues, but I'd rather get something out that works Alex> and go from there, than revert it. Please test and let me Alex> know what else you find. Thanks,
Quoted 5 lines
Thanks, this definitely works much better. My Big Sur still gets stuck once nit starts running, but that's probably something else. Is you i2000 a single- or dual-processor?
--david
[David, sorry for the resend, copying the list]
Dual, I was having trouble around launching init too. I turned on
all the 8259 keyboard support and it went away. Not sure what the issue was there.
Alex
--
Alex Williamson HP Linux & Open Source Lab
Re: [Linux-ia64] kernel update (relative to v2.5.67)
In reply to David MosbergerQuoted 8 lines
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line · Takayoshi Kochi
Thanks to Alex's fixes for PCI segment support, we could boot 2.5.67 kernel on Tiger. But a strange thing is happening. Only cpu0 & 1 are getting timer interrupts and cpu 2 & 3 aren't. This problem is reproducible and we see this phenomenon after every boot. It seems that these cpus stop receiving timer interrupts after a very short while. Has anyone seen this?
I tried quickly on a 4-way rx5670. It looks fine (so far):
$ uname -r 2.5.67 $ cat /proc/interrupts |grep timer 239: 845908 846158 846460 846390 LSAPIC timer
However, I have been seeing what appears to be deadlocks in the VFS layer (best guess). I don't know yet what triggers it and it triggers at variable rates (sometimes a couple of minutes, sometimes a couple of hours between occurrences), but perhaps it's related to what you're seeing.
--david