It would be nice to have the missing syscalls on Alpha wired up to bring it
up to date with the other architectures. It was unfortunate that the patch
sent upstream to achieve this was missed during the 2.6.32 development
window and didn't get merged by Linus unto 2.6.33.
I attach the patch patch-alpha-wire-up-syscalls.txt that wires up the
missing syscalls on the Alpha architecture and brings it up to date with the
other architectures. This patch is a modification of the upstream commits
6e17e8b9fb74b9fb9f6ea331f7f4a049c5b4c4b8 and
21797c599c710d3851d241c4b50690f2482bf618 in that it replaces the recvmmsg
syscall with a placeholder as it is not available in 2.6.32.
As mentioned in bug report #588409 (which is now closed) support for
performance events on Alpha was merged upstream for 2.6.33. I include here
the patch patch-alpha-implement-sw-perf-events.txt which is a combination of
the upstream commits a582e6f01b90211933e70edcec9bc0bbb1157402 and
fcd14b3203b538dca04a2b065c774c0b57863eec and wires up the performance events
syscall and provides the Alpha specific code to the perf tools.
I have tested both these patches applied to the Debian 2.6.32-17 kernel
source (though I did have to disable the buildcheck.py script as the ABI
didn't match) and it is running successfully on an Alpha PWS600au.
Michael.
-- Package-specific info:
** Kernel log: boot messages should be attached
** Model information
system type : Tsunami
system variation : Monet
system revision : 0
platform string : COMPAQ Professional Workstation XP1000
0001:04:01.0 USB Controller [0c03]: NEC Corporation USB [1033:0035] (rev 41) (prog-if 10 [OHCI])
Subsystem: Belkin Root Hub [1799:0001]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 252 (250ns min, 10500ns max), Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 29
Region 0: Memory at 209001000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: ohci_hcd
0001:04:01.1 USB Controller [0c03]: NEC Corporation USB [1033:0035] (rev 41) (prog-if 10 [OHCI])
Subsystem: Belkin Root Hub [1799:0001]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 252 (250ns min, 10500ns max), Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 30
Region 0: Memory at 209002000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: ohci_hcd
0001:04:01.2 USB Controller [0c03]: NEC Corporation USB 2.0 [1033:00e0] (rev 02) (prog-if 20 [EHCI])
Subsystem: Belkin Root Hub [1799:0002]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 252 (4000ns min, 8500ns max), Cache Line Size: 64 bytes
Interrupt: pin C routed to IRQ 31
Region 0: Memory at 209003000 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd
** USB devices:
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 2040:9950 Hauppauge
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Kernel: Linux 2.6.34.1-dp264-p
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages linux-image-2.6.32-5-alpha-generic depends on:
ii debconf [debconf-2.0] 1.5.33 Debian configuration management sy
ii initramfs-tools [linux-initra 0.97.2 tools for generating an initramfs
ii linux-base 2.6.32-17 Linux image base package
ii module-init-tools 3.12-1 tools for managing Linux kernel mo
Versions of packages linux-image-2.6.32-5-alpha-generic recommends:
ii firmware-linux-free 2.6.32-17 Binary firmware for various driver
Versions of packages linux-image-2.6.32-5-alpha-generic suggests:
ii aboot 1.0~pre20040408-3 Linux bootloader for the SRM conso
pn fdutils <none> (no description available)
pn linux-doc-2.6.32 <none> (no description available)
Versions of packages linux-image-2.6.32-5-alpha-generic is related to:
pn firmware-bnx2 <none> (no description available)
pn firmware-bnx2x <none> (no description available)
pn firmware-ipw2x00 <none> (no description available)
ii firmware-ivtv 0.26 Binary firmware for iTVC15-family
pn firmware-iwlwifi <none> (no description available)
pn firmware-linux <none> (no description available)
ii firmware-linux-nonfree 0.26 Binary firmware for various driver
ii firmware-qlogic 0.26 Binary firmware for QLogic IBA7220
pn firmware-ralink <none> (no description available)
pn xen-hypervisor <none> (no description available)
-- debconf information excluded
07-21-2010, 07:14 PM
maximilian attems
Bug#589804: Implement missing syscalls on Alpha
On Wed, 21 Jul 2010, Michael Cree wrote:
>
> It would be nice to have the missing syscalls on Alpha wired up to bring it
> up to date with the other architectures. It was unfortunate that the patch
> sent upstream to achieve this was missed during the 2.6.32 development
> window and didn't get merged by Linus unto 2.6.33.
I am happy to add those, they are on my todo list, thanks for reporting.
> I attach the patch patch-alpha-wire-up-syscalls.txt that wires up the
> missing syscalls on the Alpha architecture and brings it up to date with the
> other architectures. This patch is a modification of the upstream commits
> 6e17e8b9fb74b9fb9f6ea331f7f4a049c5b4c4b8 and
> 21797c599c710d3851d241c4b50690f2482bf618 in that it replaces the recvmmsg
> syscall with a placeholder as it is not available in 2.6.32.
>
> As mentioned in bug report #588409 (which is now closed) support for
> performance events on Alpha was merged upstream for 2.6.33. I include here
> the patch patch-alpha-implement-sw-perf-events.txt which is a combination of
> the upstream commits a582e6f01b90211933e70edcec9bc0bbb1157402 and
> fcd14b3203b538dca04a2b065c774c0b57863eec and wires up the performance events
> syscall and provides the Alpha specific code to the perf tools.
>
> I have tested both these patches applied to the Debian 2.6.32-17 kernel
> source (though I did have to disable the buildcheck.py script as the ABI
> didn't match) and it is running successfully on an Alpha PWS600au.
please send in the log of the broken ABI so that it can be ignored
on purpose. still need to have a look at it.
thanks
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100721191426.GF11778@stro.at">http://lists.debian.org/20100721191426.GF11778@stro.at
07-23-2010, 07:55 AM
maximilian attems
Bug#589804: Implement missing syscalls on Alpha
On Fri, Jul 23, 2010 at 06:36:20PM +1200, Michael Cree wrote:
> On 22/07/10 07:14, maximilian attems wrote:
> >On Wed, 21 Jul 2010, Michael Cree wrote:
> >>I have tested both these patches applied to the Debian 2.6.32-17 kernel
> >>source (though I did have to disable the buildcheck.py script as the ABI
> >>didn't match) and it is running successfully on an Alpha PWS600au.
> >
> >please send in the log of the broken ABI so that it can be ignored
> >on purpose.
>
> Attached.
>
I see thanks allmost everything changes as expected,
this leaves two opportunities:
A) ignore the abi change, as it is a clear improvement for alpha
and external module should be less of a trouble on this arch.
(considering that we haven't released yet)..
B) wait for an ABI bump to slide in those patches.
I prefer A, but will wait a while to see if anyone voices against.
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100723075504.GH19138@baikonur.stro.at">http://lists.debian.org/20100723075504.GH19138@baikonur.stro.at