Bug#425668: redhat-cluster-modules-2.6.18-4-686: Package uninstallable

2007-05-23 Thread Christian Marillat
Package: redhat-cluster-modules-2.6.18-4-686
Severity: grave
Justification: renders package unusable

Hi,

This package can't be installed :

$ apt-get install redhat-cluster-modules-2.6.18-4-686
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  redhat-cluster-modules-2.6.18-4-686: Depends: linux-modules-2.6.18-4-686 but 
it is not installable
E: Broken packages


Christian

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (900, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21.1 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages redhat-cluster-modules-2.6.18-4-686 depends on:
pn  linux-modules-2.6.18-4-686 (no description available)

redhat-cluster-modules-2.6.18-4-686 recommends no packages.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Processed: tagging 425668

2007-05-23 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> # Automatically generated email from bts, devscripts version 2.10.4
> tags 425668 sid
Bug#425668: redhat-cluster-modules-2.6.18-4-686: Package uninstallable
There were no tags set.
Tags added: sid

>
End of message, stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



linux-kbuild-2.6.22

2007-05-23 Thread Silvestre Zabala
Hello,

could we please get a linux-kbuild-2.6.22 to go with the 2.6.22-rc2 
kernels from the buildserver?

That would be awesome, thanks in advance,
  Silvestre


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Cannot compile nvidia-kernel, i386, kernel 2.6.20 and 2.6.21

2007-05-23 Thread Hans
Dear maintainers,

since kernel version 2.6.20 and 2.6.21 it is no more possible to compile the 
nvidia-kernel-module. Either the nvidia-kernel-legacy nor the normal 
nvidia-kernel-source. My architecture is an Athlon XP, 32-bit with i386.
On my notebook with debian-amd64 everything is working fine.

It looks for me, that it is inhibited to compile it due to the 
non-GPL-license. Take a look at the output please:

- snip ---

NVIDIA: calling KBUILD...
make CC=gcc-4.1 -C /usr/src/linux SUBDIRS=/usr/src/modules/nvidia-kernel/nv 
modules
make[4]: Entering directory `/usr/src/linux-headers-2.6.21-1-k7'
  Building modules, stage 2.
  MODPOST 1 modules
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only 
symbol 'paravirt_ops'
make[5]: *** [__modpost] Fehler 1
make[4]: *** [modules] Fehler 2
make[4]: Leaving directory `/usr/src/linux-headers-2.6.21-1-k7'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[3]: *** [module] Fehler 1
make[3]: Leaving directory `/usr/src/modules/nvidia-kernel/nv'
make[2]: *** [build-stamp] Fehler 2
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel'
make[1]: *** [kdist_image] Fehler 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
Module /usr/src/modules/nvidia-kernel failed.
Hit return to Continue

-- snap 

Is there anything known about it ? I tried both, using make-kpkg modules_image 
and module-assistant with no success. With older version (2.6.18-1-k7) 
everything is compiling fine.

Any help will be welcome.

Best regards

Hans





Is there anything known about it ?   


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#425692: linux kernel, fglrx and paravirt_ops

2007-05-23 Thread Jan Korbel

package: linux-image-2.6.21-1-686
version: 2.6.21-2 (unstable)

With latest linux image in unstable is impossible to build fglrx kernel 
module. module-assistant with auto-install failed with error:


FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 
'paravirt_ops'


Full log of module-assistant is attached.

Versions:

ii  linux-image-2.6.21-1-686   2.6.21-2
ii  module-assistant   0.10.11
ii  fglrx-kernel-src   8.36.5-1

J.
/usr/bin/make  -f debian/rules clean
make[1]: Entering directory `/usr/src/modules/fglrx'
dh_testroot
rm -f configure-stamp
rm -f fglrx.ko fglrx.mod.c *.o libfglrx_ip.a
rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
rm -rf patch
dh_clean
rm /usr/src/modules/fglrx/debian/control
rm /usr/src/modules/fglrx/debian/dirs
make[1]: Leaving directory `/usr/src/modules/fglrx'
/usr/bin/make  -f debian/rules binary_modules
make[1]: Entering directory `/usr/src/modules/fglrx'
if [ -f /usr/src/modules/fglrx/debian/control.template ]; then \
cat /usr/src/modules/fglrx/debian/control.template > 
/usr/src/modules/fglrx/debian/control; \
fi
dh_testdir
touch configure-stamp
dh_testdir
/usr/bin/make -C /lib/modules/2.6.21-1-686/build SUBDIRS=/usr/src/modules/fglrx 
modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.21-1-686'
  CC [M]  /usr/src/modules/fglrx/firegl_public.o
In file included from /usr/src/modules/fglrx/drm_proc.h:41,
 from /usr/src/modules/fglrx/firegl_public.c:335:
/usr/src/modules/fglrx/drmP.h:126:1: warning: "DRM_DEBUG_CODE" redefined
/usr/src/modules/fglrx/firegl_public.c:179:1: warning: this is the location of 
the previous definition
/usr/src/modules/fglrx/firegl_public.c:453: warning: initialization from 
incompatible pointer type
/usr/src/modules/fglrx/firegl_public.c: In function 'firegl_stub_open':
/usr/src/modules/fglrx/firegl_public.c:576: warning: assignment discards 
qualifiers from pointer target type
/usr/src/modules/fglrx/firegl_public.c: In function '__ke_pci_find_device':
/usr/src/modules/fglrx/firegl_public.c:1741: warning: 'pci_find_device' is 
deprecated (declared at include/linux/pci.h:470)
/usr/src/modules/fglrx/firegl_public.c: In function '__ke_request_irq':
/usr/src/modules/fglrx/firegl_public.c:2595: warning: passing argument 2 of 
'request_irq' from incompatible pointer type
/usr/src/modules/fglrx/firegl_public.c: In function '__ke_smp_call_function':
/usr/src/modules/fglrx/firegl_public.c:4035: warning: passing argument 1 of 
'smp_call_function' from incompatible pointer type
/usr/src/modules/fglrx/firegl_public.c: At top level:
/usr/src/modules/fglrx/firegl_public.c:4849: warning: 'kmem_cache_t' is 
deprecated
/usr/src/modules/fglrx/firegl_public.c: In function 'KAS_ExecuteAtLevel':
/usr/src/modules/fglrx/firegl_public.c:4708: warning: 'flags' may be used 
uninitialized in this function
  LD [M]  /usr/src/modules/fglrx/fglrx.o
  Building modules, stage 2.
  MODPOST 1 modules
FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 
'paravirt_ops'
make[3]: *** [__modpost] Error 1
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.21-1-686'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/src/modules/fglrx'
make: *** [kdist_image] Error 2


Bug#425695: linux-image-2.6.18-4-xen-686: machine stops responding on P III Xeon 3GHz

2007-05-23 Thread Radek Antoniuk
Package: linux-image-2.6.18-4-xen-686
Version: 2.6.18.dfsg.1-12
Severity: critical
Justification: breaks the whole system


[ cut here ]
kernel BUG at drivers/xen/core/evtchn.c:481!
invalid opcode:  [#1]
SMP
Modules linked in: xt_physdev bridge netloop iptable_filter ip_tables x_tables 
ipv6 ide_disk psmouse i2c_i801 serio_raw parport_pc parport i2c_core 
serial_core e7xxx_edac edac_mc rtc floppy pcspkr shpchp pci_hotplug evdev sg 
ext3 jbd mbcache dm_mirror dm_snapshot dm_mod sd_mod ide_cd cdrom uhci_hcd 
e1000 megaraid_mbox megaraid_mm aic79xx scsi_transport_spi scsi_mod piix 
generic ide_core usbcore thermal processor fan
CPU:1
EIP:0061:[]Not tainted VLI
EFLAGS: 00010046   (2.6.18-4-xen-686 #1)
EIP is at retrigger+0x1f/0x35
eax:    ebx: 0208   ecx: 0036   edx: f55f6000
esi: c0318920   edi: 011d   ebp:    esp: c039feb0
ds: 007b   es: 007b   ss: 0069
Process xenwatch (pid: 17, ti=c039e000 task=c0ea7550 task.ti=c039e000)
Stack: c013b259 c0318920 011d c0318948 c013afaf ecf912c0  
   ecf912c0 c02170e0  c02174c0 c021064f 0010  020c
   020b   ecb20576 c02e67a4 ee4be000  0002
Call Trace:
 [] check_irq_resend+0x41/0x48
 [] enable_irq+0x72/0x87
 [] __netif_up+0xb/0x13
 [] netif_map+0x247/0x26f
 [] xs_talkv+0xe3/0x128
 [] xenbus_read+0x34/0x3b
 [] xenbus_scanf+0x18/0x4d
 [] frontend_changed+0x29f/0x4a8
 [] otherend_changed+0x74/0x79
 [] xenwatch_handle_callback+0x12/0x44
 [] xenwatch_thread+0x105/0x11b
 [] autoremove_wake_function+0x0/0x2d
 [] xenwatch_thread+0x0/0x11b
 [] kthread+0xc0/0xeb
 [] kthread+0x0/0xeb
 [] kernel_thread_helper+0x5/0xb
Code: ee 85 f6 75 96 58 5a 5b 5e 5f 5d c3 0f b7 0c 85 40 b8 37 c0 8b 15 84 19 
2d c0 85 c9 74 1d 0f a3 8a 80 08 00 00 19 c0 85 c0 75 08 <0f> 0b e1 01 b2 1a 2b 
c0 f0 0f ab 8a 00 08 00 00 b8 01 00 00 00
EIP: [] retrigger+0x1f/0x35 SS:ESP 0069:c039feb0


P III Xeon.
3GB RAM


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-xen-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages linux-image-2.6.18-4-xen-686 depends on:
ii  initramfs-tools 0.85ftools for generating an initramfs
ii  linux-modules-2.6.18-4- 2.6.18.dfsg.1-12 Linux 2.6.18 modules on i686

Versions of packages linux-image-2.6.18-4-xen-686 recommends:
ii  libc6-xen 2.5-7  GNU C Library: Shared libraries [X

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Processed: This is a kernel issue

2007-05-23 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> reassign 422819 linux-2.6
Bug#422819: kernel BUG at drivers/xen/core/evtchn.c
Bug reassigned from package `xen-hypervisor-3.0.3-1-i386-pae' to `linux-2.6'.

> found 422819 2.6.18.dfsg.1-12
Bug#422819: kernel BUG at drivers/xen/core/evtchn.c
Bug marked as found in version 2.6.18.dfsg.1-12.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Processed: severity of 425695 is important

2007-05-23 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> # Automatically generated email from bts, devscripts version 2.9.26
> severity 425695 important
Bug#425695: linux-image-2.6.18-4-xen-686: machine stops responding on P III 
Xeon 3GHz
Severity set to `important' from `critical'

>
End of message, stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#425703: linux-image-2.6.18-4-xen-686: xen kernel oopses on removing the netloop module

2007-05-23 Thread Radek Antoniuk
Package: linux-image-2.6.18-4-xen-686
Version: 2.6.18.dfsg.1-12
Severity: critical
Justification: breaks the whole system


On a running xen machine, I tried the command:
rmmod netloop.
This is an obvious issue that I should not do that, however this module should 
not be unloaded.
Result:
kernel panic and restart of machine.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-xen-686 (SMP w/4 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages linux-image-2.6.18-4-xen-686 depends on:
ii  initramfs-tools 0.87btools for generating an initramfs
ii  linux-modules-2.6.18-4- 2.6.18.dfsg.1-12 Linux 2.6.18 modules on i686

Versions of packages linux-image-2.6.18-4-xen-686 recommends:
ii  libc6-xen 2.5-7  GNU C Library: Shared libraries [X

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Cannot compile nvidia-kernel, i386, kernel 2.6.20 and 2.6.21

2007-05-23 Thread Hugo Vanwoerkom

Hans wrote:

Dear maintainers,

since kernel version 2.6.20 and 2.6.21 it is no more possible to compile the 
nvidia-kernel-module. Either the nvidia-kernel-legacy nor the normal 
nvidia-kernel-source. My architecture is an Athlon XP, 32-bit with i386.

On my notebook with debian-amd64 everything is working fine.

It looks for me, that it is inhibited to compile it due to the 
non-GPL-license. Take a look at the output please:






Is there anything known about it ? I tried both, using make-kpkg modules_image 
and module-assistant with no success. With older version (2.6.18-1-k7) 
everything is compiling fine.




The "problem" is that CONFIG_PARAVIRT is set.
There are good reasons to set it.

To get around it,
(1)recompile the kernel with that turned off, or
(2)follow the method discussed in:
http://www.nvnews.net/vbulletin/showthread.php?t=90214

Hugo


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#396513: marked as done (kernel-2.6.18: DHCP fails with stock kernel image, works with roll-my-own kernel)

2007-05-23 Thread Debian Bug Tracking System
Your message dated Wed, 23 May 2007 22:19:27 +0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#396513: Acknowledgement (kernel-2.6.18: DHCP fails with 
stock kernel image, works with roll-my-own kernel)
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: linux-image-2.6.18-1-686
Version: 2.6.18-3
Severity: normal


I have been rolling my own kernels on this machine (Thinkpad A21m,
Debian testing) for a long time, but really don't need to anymore, so I
thought I would install the stock kernel images.

Alas, with the stock images (both linux-image-2.6.17-2-686 and
linux-image-2.6.18-1-686) my network interfaces (both mini-PCI and
PCMCIA) refuse to play with DHCP. If I run tcpdump on the DHCP server
end, I can see the DHCP request coming in from my machine and the
response going out. But tcpdump running locally on the A21m does not see
the response from the server at all.

But, if I boot back into my home-made linux-image-2.6.17-a21m.26,
everything works fine. The only difference is which kernel has been
booted, all other hardware and software configuration is identical.
There are no interesting errors in syslog, the only visible ailment is
that DHCP times out (and tcpdump indicates the response packets are
disappearing into the void somehow).

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-a21m.26
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages linux-image-2.6.18-1-686 depends on:
ii  initramfs-tools [linux-initra 0.84   tools for generating an initramfs
ii  module-init-tools 3.2.2-3tools for managing Linux kernel mo

Versions of packages linux-image-2.6.18-1-686 recommends:
pn  libc6-i686 (no description available)

-- debconf information:
  linux-image-2.6.18-1-686/postinst/bootloader-error-2.6.18-1-686:
  linux-image-2.6.18-1-686/preinst/elilo-initrd-2.6.18-1-686: true
  linux-image-2.6.18-1-686/postinst/bootloader-test-error-2.6.18-1-686:
* linux-image-2.6.18-1-686/preinst/lilo-initrd-2.6.18-1-686: false
  linux-image-2.6.18-1-686/postinst/old-system-map-link-2.6.18-1-686: true
  linux-image-2.6.18-1-686/preinst/abort-install-2.6.18-1-686:
  shared/kernel-image/really-run-bootloader: true
  linux-image-2.6.18-1-686/postinst/old-initrd-link-2.6.18-1-686: true
  linux-image-2.6.18-1-686/postinst/old-dir-initrd-link-2.6.18-1-686: true
  linux-image-2.6.18-1-686/preinst/overwriting-modules-2.6.18-1-686: true
  linux-image-2.6.18-1-686/postinst/depmod-error-initrd-2.6.18-1-686: false
  linux-image-2.6.18-1-686/preinst/initrd-2.6.18-1-686:
  linux-image-2.6.18-1-686/preinst/abort-overwrite-2.6.18-1-686:
  linux-image-2.6.18-1-686/preinst/already-running-this-2.6.18-1-686:
  linux-image-2.6.18-1-686/postinst/depmod-error-2.6.18-1-686: false
  linux-image-2.6.18-1-686/prerm/removing-running-kernel-2.6.18-1-686: true
  linux-image-2.6.18-1-686/preinst/bootloader-initrd-2.6.18-1-686: true
  linux-image-2.6.18-1-686/postinst/create-kimage-link-2.6.18-1-686: true
  linux-image-2.6.18-1-686/preinst/lilo-has-ramdisk:
  linux-image-2.6.18-1-686/preinst/failed-to-move-modules-2.6.18-1-686:
  linux-image-2.6.18-1-686/prerm/would-invalidate-boot-loader-2.6.18-1-686: true
  linux-image-2.6.18-1-686/postinst/kimage-is-a-directory:

--- End Message ---
--- Begin Message ---
Version: 2.6.20-3

I just installed the new linux-image-2.6.20-1-686, and as of this kernel DHCP 
now works correctly. As originator I am closing the bug. Aside from resume from 
hibernation issues, the Thinkpad a21m now works just fine with a stock kernel.

Clayton
--- End Message ---


Processed: severity of 425703 is important

2007-05-23 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> # Automatically generated email from bts, devscripts version 2.9.26
> severity 425703 important
Bug#425703: linux-image-2.6.18-4-xen-686: xen kernel oopses on removing the 
netloop module
Severity set to `important' from `critical'

>
End of message, stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#423462: Bug#425700: sendmail_8.14.1-4(ia64/unstable): FBTFS: >= has no left operand

2007-05-23 Thread Richard A Nelson

On Wed, 23 May 2007, Martin Michlmayr wrote:


* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2007-05-23 06:48]:

 from editmap.c:41:
../../include/sm/conf.h:1478:27: error: operator '>=' has no left operand
../../include/sm/conf.h:1527:27: error: operator '>=' has no left operand


This is because of headers, see #425595


Yes, a user reported this, so I added (and it is in -4)
Build-Depends: make (>> 3.79.1-14), m4, patch, debhelper (>= 4.1.68),
linux-kernel-headers 


Ah 
Package: linux-libc-dev

Source: linux-2.6
Version: 2.6.21-2
Replaces: linux-kernel-headers, linux-libc-headers
Provides: linux-kernel-headers
Conflicts: linux-kernel-headers, linux-libc-headers

So, the mess gets worse - postfix, sendmail, gcj, and a plethor of other
packages :(

In general, I agree with Steve's comment about user code and the linux/*
header space.

However, I don't see a workaround for sendmail/postfix - who are looking
not at the running kernel, but for a working feature set indication... And
there is not current API that I am aware of that provides this, other
than the headers :(  Yes, I understand that the linux/* header set may
not match the extant kernel :(

Worse, some of the items tested for (does flock() work) aren't exactly
the kinds of things you *would* have in capabilities string - even if we
actually had one.

A few examples from sendmail, with annotations: 
#  if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,2,19))

#   define SM_CONF_SHM  1 /* Shared memory broke before this */
#   if LINUX_VERSION_CODE < 66399
#define HASFLOCK0   /* flock(2) is broken after 0.99.13 */
# if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0))
#  define HASFLOCK  1   /* flock(2) fixed after 1.3.95 */
# else /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)) */
#  define HASFLOCK  0   /* flock(2) is broken (again) after 2.4.0 */
#  if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,0,0))
#   ifndef HASURANDOMDEV
#define HASURANDOMDEV 1 /* 2.0 (at least) has  linux/drivers/char/random.c 
*/

The list goes on, but the idea is that, however unfortunate, sometimes
a system application needs to know what it can expect from the kernel,
and the library:
#else /* (GLIBC_VERSION >= 0x201) */
# include  /* IPv6 support */
#if (GLIBC_VERSION >= 0x201 && !defined(NEEDSGETIPNODE))
 /* Have APIs in , but no support in glibc */
# define NEEDSGETIPNODE 1

I have a few possible fixes:

Can we get linux-libc-dev to *NOT* provide linux-kernel-headers ?

Although,  I think the *BEST* idea would be for linux-libc-dev to
actually define LINUX_VERSION_CODE to the lowest level of kernel that is
supported (now, what - 2.6.18?).

For sendmail, postfix, and I'm sure some of the others, the only
remaining alternative (and I've not yet tried it) is for the maintainer
to add -DLINUX_VERSION_CODE=<2.6.18 in decimal format>
This alternative is going to bite us in the future, if we again have an
issue like flock() breaking on certain kernels.
--
Rick Nelson
 shaleh: I am not, despite your implication, God


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#425728: linux-image-2.6.20-1-686: kernel is failing to keep system time

2007-05-23 Thread clayton
Package: linux-image-2.6.20-1-686
Version: 2.6.20-3
Severity: important


Starting with the 2.6.18 kernel, I began to experience the following behaviour:
23 May 16:39:09 ntpdate[18204]: step time server 193.68.149.1 offset 
-7447.277012 sec
23 May 18:02:32 ntpdate[18287]: step time server 195.22.25.130 offset 
-2434.564142 sec
23 May 18:29:48 ntpdate[18318]: step time server 212.13.194.96 offset 
-802.472908 sec
23 May 18:38:35 ntpdate[18336]: step time server 212.13.194.96 offset 
-273.594239 sec
23 May 18:41:36 ntpdate[18354]: step time server 212.101.3.211 offset 
-91.256144 sec
23 May 18:42:34 ntpdate[18362]: step time server 212.101.3.211 offset 
-34.457180 sec
23 May 18:42:54 ntpdate[18366]: step time server 193.218.127.251 offset 
-13.484830 sec
23 May 18:43:01 ntpdate[18370]: step time server 212.101.3.211 offset -8.033530 
sec
23 May 22:23:07 ntpdate[20795]: step time server 193.13.9.98 offset 
-8402.560620 sec

2.6.20 continues to be broken. A 2.6.17 kernel works just fine, no huge time 
displacements.

This is on an IBM Thinkpad 600e:

# lspci -v
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge 
(rev 03)
Flags: bus master, medium devsel, latency 64
Memory at 4000 (32-bit, prefetchable) [size=64M]
Capabilities: [a0] AGP version 1.0

00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge 
(rev 03) (prog-if 00 [Normal 
decode])
Flags: bus master, 66MHz, medium devsel, latency 168
Bus: primary=00, secondary=01, subordinate=01, sec-latency=176
I/O behind bridge: d000-dfff
Memory behind bridge: 7000-dfff
Prefetchable memory behind bridge: e000-f7ff

00:02.0 CardBus bridge: Texas Instruments PCI1251A
Subsystem: IBM Unknown device 00eb
Flags: bus master, medium devsel, latency 168, IRQ 11
Memory at 50102000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
Memory window 0: 1000-11fff000 (prefetchable)
Memory window 1: 1200-13fff000
I/O window 0: 1000-10ff
I/O window 1: 1400-14ff
16-bit legacy interface ports at 0001

00:02.1 CardBus bridge: Texas Instruments PCI1251A
Subsystem: IBM Unknown device 00eb
Flags: bus master, medium devsel, latency 168, IRQ 11
Memory at 50101000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=06, subordinate=09, sec-latency=176
Memory window 0: 1400-15fff000 (prefetchable)
Memory window 1: 1600-17fff000
I/O window 0: 1800-18ff
I/O window 1: 1c00-1cff
16-bit legacy interface ports at 0001

00:06.0 Multimedia audio controller: Cirrus Logic CS 4610/11 [CrystalClear 
SoundFusion Audio Accelerator] (rev 
01)
Subsystem: IBM CS4610 SoundFusion Audio Accelerator
Flags: medium devsel, IRQ 11
Memory at 5010 (32-bit, non-prefetchable) [size=4K]
Memory at 5000 (32-bit, non-prefetchable) [size=1M]

00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
Flags: bus master, medium devsel, latency 0

00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) 
(prog-if 80 [Master])
Flags: bus master, medium devsel, latency 48
I/O ports at fcf0 [size=16]

00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01) 
(prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 48, IRQ 11
I/O ports at 8400 [size=32]

00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
Flags: medium devsel, IRQ 9

01:00.0 VGA compatible controller: Neomagic Corporation NM2200 [MagicGraph 
256AV] (rev 20) (prog-if 00 [VGA])
Subsystem: IBM ThinkPad 570
Flags: bus master, medium devsel, latency 128, IRQ 11
Memory at e000 (32-bit, prefetchable) [size=16M]
Memory at 7000 (32-bit, non-prefetchable) [size=4M]
Memory at 7040 (32-bit, non-prefetchable) [size=1M]
Capabilities: [dc] Power Management version 1

02:00.0 Ethernet controller: Xircom Cardbus Ethernet 10/100 (rev 03)
Subsystem: IBM 10/100 EtherJet Cardbus Adapter
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at 1000 [size=128]
Memory at 1200 (32-bit, non-prefetchable) [size=2K]
Memory at 12000800 (32-bit, non-prefetchable) [size=2K]
[virtual] Expansion ROM at 1000 [disabled] [size=16K]
Capabilities: [dc] Power Management version 1

-- Package-specific info:

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.17-tp600e.2 (PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages linux-image-2.6.20-1-686 depends on

Processed: Change submitter

2007-05-23 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> submitter 273945 [EMAIL PROTECTED]
Bug#273945: comedi-source: Fails to build with kernel 2.6.7
Changed Bug submitter from Daniel Nilsson <[EMAIL PROTECTED]> to [EMAIL 
PROTECTED]

> submitter 300559 [EMAIL PROTECTED]
Bug#300559: util-linux: hwclock hangs up Dell PW 670
Changed Bug submitter from Daniel Nilsson <[EMAIL PROTECTED]> to [EMAIL 
PROTECTED]

> submitter 297155 [EMAIL PROTECTED]
Bug#297155: psnup: Produces bad PS code which causes printing problems
Changed Bug submitter from Daniel Nilsson <[EMAIL PROTECTED]> to [EMAIL 
PROTECTED]

> submitter 304565 [EMAIL PROTECTED]
Bug#304565: need serial console support
Changed Bug submitter from Daniel Nilsson <[EMAIL PROTECTED]> to [EMAIL 
PROTECTED]

> submitter 343426 [EMAIL PROTECTED]
Bug#343426: vlc: Depends on package which will never enter testing
Changed Bug submitter from Daniel Nilsson <[EMAIL PROTECTED]> to [EMAIL 
PROTECTED]
(By the way, that Bug is currently marked as done.)

> submitter 299221 [EMAIL PROTECTED]
Bug#299221: xtightvncviewer: Crash when switching between virtual desktops
Changed Bug submitter from Daniel Nilsson <[EMAIL PROTECTED]> to [EMAIL 
PROTECTED]
(By the way, that Bug is currently marked as done.)

> submitter 301425 [EMAIL PROTECTED]
Bug#301425: Kernel BUG at traps:310 on Dell PW 670
Changed Bug submitter from Daniel Nilsson <[EMAIL PROTECTED]> to [EMAIL 
PROTECTED]
(By the way, that Bug is currently marked as done.)

> submitter 337919 [EMAIL PROTECTED]
Bug#337919: Wrong path to control device node
Changed Bug submitter from "Daniel Nilsson" <[EMAIL PROTECTED]> to [EMAIL 
PROTECTED]
(By the way, that Bug is currently marked as done.)

> submitter 245897 [EMAIL PROTECTED]
Bug#245897: kernel-patch-nfs-swap: Doesn't apply cleanly to 2.4.25
Warning: Unknown package 'kernel-patch-nfs-swap'
Changed Bug submitter from Daniel Nilsson <[EMAIL PROTECTED]> to [EMAIL 
PROTECTED]
(By the way, that Bug is currently marked as done.)

> submitter 283188 [EMAIL PROTECTED]
Bug#283188: kernel-image-2.6.8-1-686-smp: IDE cd not detected unless module 
ide_generic is loaded
Changed Bug submitter from Daniel Nilsson <[EMAIL PROTECTED]> to [EMAIL 
PROTECTED]

>
End of message, stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Processing of linux-2.6_2.6.18.dfsg.1-13lenny1_sparc.changes

2007-05-23 Thread Archive Administrator
linux-2.6_2.6.18.dfsg.1-13lenny1_sparc.changes uploaded successfully to 
localhost
along with the files:
  linux-2.6_2.6.18.dfsg.1-13lenny1.dsc
  linux-2.6_2.6.18.dfsg.1-13lenny1.diff.gz
  linux-doc-2.6.18_2.6.18.dfsg.1-13lenny1_all.deb
  linux-manual-2.6.18_2.6.18.dfsg.1-13lenny1_all.deb
  linux-patch-debian-2.6.18_2.6.18.dfsg.1-13lenny1_all.deb
  linux-source-2.6.18_2.6.18.dfsg.1-13lenny1_all.deb
  linux-support-2.6.18-5_2.6.18.dfsg.1-13lenny1_all.deb
  linux-tree-2.6.18_2.6.18.dfsg.1-13lenny1_all.deb
  linux-headers-2.6.18-5-all_2.6.18.dfsg.1-13lenny1_sparc.deb
  linux-headers-2.6.18-5-all-sparc_2.6.18.dfsg.1-13lenny1_sparc.deb
  linux-headers-2.6.18-5_2.6.18.dfsg.1-13lenny1_sparc.deb
  linux-image-2.6.18-5-sparc32_2.6.18.dfsg.1-13lenny1_sparc.deb
  linux-headers-2.6.18-5-sparc32_2.6.18.dfsg.1-13lenny1_sparc.deb
  linux-image-2.6.18-5-sparc64_2.6.18.dfsg.1-13lenny1_sparc.deb
  linux-headers-2.6.18-5-sparc64_2.6.18.dfsg.1-13lenny1_sparc.deb
  linux-image-2.6.18-5-sparc64-smp_2.6.18.dfsg.1-13lenny1_sparc.deb
  linux-headers-2.6.18-5-sparc64-smp_2.6.18.dfsg.1-13lenny1_sparc.deb
  linux-headers-2.6.18-5-vserver_2.6.18.dfsg.1-13lenny1_sparc.deb
  linux-image-2.6.18-5-vserver-sparc64_2.6.18.dfsg.1-13lenny1_sparc.deb
  linux-headers-2.6.18-5-vserver-sparc64_2.6.18.dfsg.1-13lenny1_sparc.deb

Greetings,

Your Debian queue daemon


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



linux-2.6_2.6.18.dfsg.1-13lenny1_sparc.changes is NEW

2007-05-23 Thread Debian Installer
linux-2.6_2.6.18.dfsg.1-13lenny1.diff.gz
  to pool/main/l/linux-2.6/linux-2.6_2.6.18.dfsg.1-13lenny1.diff.gz
linux-2.6_2.6.18.dfsg.1-13lenny1.dsc
  to pool/main/l/linux-2.6/linux-2.6_2.6.18.dfsg.1-13lenny1.dsc
linux-doc-2.6.18_2.6.18.dfsg.1-13lenny1_all.deb
  to pool/main/l/linux-2.6/linux-doc-2.6.18_2.6.18.dfsg.1-13lenny1_all.deb
(new) linux-headers-2.6.18-5-all-sparc_2.6.18.dfsg.1-13lenny1_sparc.deb 
optional devel
All header files for Linux 2.6.18
 This package depends against all architecture-specific kernel header files
 for Linux kernel version 2.6.18, generally used for building out-of-tree
 kernel modules.
(new) linux-headers-2.6.18-5-all_2.6.18.dfsg.1-13lenny1_sparc.deb optional devel
All header files for Linux 2.6.18
 This package depends against all architecture-specific kernel header files
 for Linux kernel version 2.6.18, generally used for building out-of-tree
 kernel modules.
(new) linux-headers-2.6.18-5-sparc32_2.6.18.dfsg.1-13lenny1_sparc.deb optional 
devel
Header files for Linux 2.6.18 on uniprocessor sparc32 (sun4m)
 This package provides the architecture-specific kernel header files for
 Linux kernel 2.6.18 on uniprocessor sparc32 (sun4m) machines, generally
 used for building out-of-tree kernel modules.  These files are going to be
 installed into /usr/src/linux-headers-2.6.18-5-sparc32, and can be used
 for building modules that load into the kernel provided by the
 linux-image-2.6.18-5-sparc32 package.
(new) linux-headers-2.6.18-5-sparc64-smp_2.6.18.dfsg.1-13lenny1_sparc.deb 
optional devel
Header files for Linux 2.6.18 on multiprocessor 64-bit UltraSPARC
 This package provides the architecture-specific kernel header files for
 Linux kernel 2.6.18 on multiprocessor 64-bit UltraSPARC machines,
 generally used for building out-of-tree kernel modules.  These files are
 going to be installed into /usr/src/linux-headers-2.6.18-5-sparc64-smp,
 and can be used for building modules that load into the kernel provided by
 the linux-image-2.6.18-5-sparc64-smp package.
(new) linux-headers-2.6.18-5-sparc64_2.6.18.dfsg.1-13lenny1_sparc.deb optional 
devel
Header files for Linux 2.6.18 on uniprocessor 64-bit UltraSPARC
 This package provides the architecture-specific kernel header files for
 Linux kernel 2.6.18 on uniprocessor 64-bit UltraSPARC machines, generally
 used for building out-of-tree kernel modules.  These files are going to be
 installed into /usr/src/linux-headers-2.6.18-5-sparc64, and can be used
 for building modules that load into the kernel provided by the
 linux-image-2.6.18-5-sparc64 package.
(new) linux-headers-2.6.18-5-vserver-sparc64_2.6.18.dfsg.1-13lenny1_sparc.deb 
optional devel
Header files for Linux 2.6.18 on uniprocessor 64-bit UltraSPARC
 This package provides the architecture-specific kernel header files for
 Linux kernel 2.6.18 on uniprocessor 64-bit UltraSPARC machines, generally
 used for building out-of-tree kernel modules.  These files are going to be
 installed into /usr/src/linux-headers-2.6.18-5-vserver-sparc64, and can be
 used for building modules that load into the kernel provided by the
 linux-image-2.6.18-5-vserver-sparc64 package.
(new) linux-headers-2.6.18-5-vserver_2.6.18.dfsg.1-13lenny1_sparc.deb optional 
devel
Common header files for Linux 2.6.18
 This package provides the (sub)architecture-specific common kernel header
 files for Linux kernel version 2.6.18, generally used for building
 out-of-tree kernel modules.  To obtain a complete set of headers you also
 need to install the linux-headers-2.6.18-5-(flavour) package, matching the
 flavour of the kernel you intend the build for.  To obtain such a set for
 the currently running kernel it is sufficient to run a command
 .
 apt-get install linux-headers-$(uname -r)
 .
 and it will be unpacked in /usr/src/linux-headers-2.6.18-5-(flavour).
(new) linux-headers-2.6.18-5_2.6.18.dfsg.1-13lenny1_sparc.deb optional devel
Common header files for Linux 2.6.18
 This package provides the (sub)architecture-specific common kernel header
 files for Linux kernel version 2.6.18, generally used for building
 out-of-tree kernel modules.  To obtain a complete set of headers you also
 need to install the linux-headers-2.6.18-5-(flavour) package, matching the
 flavour of the kernel you intend the build for.  To obtain such a set for
 the currently running kernel it is sufficient to run a command
 .
 apt-get install linux-headers-$(uname -r)
 .
 and it will be unpacked in /usr/src/linux-headers-2.6.18-5-(flavour).
(new) linux-image-2.6.18-5-sparc32_2.6.18.dfsg.1-13lenny1_sparc.deb optional 
admin
Linux 2.6.18 image on uniprocessor sparc32 (sun4m)
 This package provides the binary image and pre-built loadable modules for
 Linux kernel 2.6.18 on uniprocessor sparc32 (sun4m) machines.
(new) linux-image-2.6.18-5-sparc64-smp_2.6.18.dfsg.1-13lenny1_sparc.deb 
optional admin
Linux 2.6.18 image on multiprocessor 64-bit UltraSPARC
 This package provides the binary image and pre-built loadable modules for
 Linux kernel 2.6.18 on m

[SRM] linux-2.6 uploads to stable and testing

2007-05-23 Thread dann frazier
I have uploaded updates for linux-2.6:
  2.6.18.dfsg.1-13   -> s-p-u
  2.6.18.dfsg.1-13lenny1 -> t-p-u

These uploads are identical other than the version and build
environment. These are ABI changes so require NEW processing.

A handful of other packages also need to be rebuilt against these
updates (modules, fai-kernels, user-mode-linux, etc). What is the
correct procedure for timing those uploads to insure that the buildds
build against the correct source?

-- 
dann frazier


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#423462: Bug#425700: sendmail_8.14.1-4(ia64/unstable): FBTFS: >= has no left operand

2007-05-23 Thread Steve Langasek
merge 425595 423462
thanks

On Wed, May 23, 2007 at 08:03:47AM -0700, Richard A Nelson wrote:
> On Wed, 23 May 2007, Martin Michlmayr wrote:

> >* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2007-05-23 06:48]:
> >>> from editmap.c:41:
> >>>../../include/sm/conf.h:1478:27: error: operator '>=' has no left operand
> >>>../../include/sm/conf.h:1527:27: error: operator '>=' has no left operand

> >This is because of headers, see #425595

> Yes, a user reported this, so I added (and it is in -4)
> Build-Depends: make (>> 3.79.1-14), m4, patch, debhelper (>= 4.1.68),
> linux-kernel-headers 

> Ah 
> Package: linux-libc-dev
> Source: linux-2.6
> Version: 2.6.21-2
> Replaces: linux-kernel-headers, linux-libc-headers
> Provides: linux-kernel-headers
> Conflicts: linux-kernel-headers, linux-libc-headers

> So, the mess gets worse - postfix, sendmail, gcj, and a plethor of other
> packages :(

> In general, I agree with Steve's comment about user code and the linux/*
> header space.

Well, waldi disagrees and he usually has no problem breaking userspace use
of kernel headers when it's the right thing to do ;), so I think this change
in linux-libc-dev is going to be reverted.

> However, I don't see a workaround for sendmail/postfix - who are looking
> not at the running kernel, but for a working feature set indication... And
> there is not current API that I am aware of that provides this, other
> than the headers :(  Yes, I understand that the linux/* header set may
> not match the extant kernel :(

Right.

> I have a few possible fixes:

> Can we get linux-libc-dev to *NOT* provide linux-kernel-headers ?

I don't see any reason that it would hurt for l-l-d to drop the provides:,
but that won't help you anyway because l-k-h is deprecated and will be going
away as soon as l-l-d is fully on its feet.

> Although,  I think the *BEST* idea would be for linux-libc-dev to
> actually define LINUX_VERSION_CODE to the lowest level of kernel that is
> supported (now, what - 2.6.18?).

Yep.

Cheers,
-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#417121: can you reproduce with a later kernel?

2007-05-23 Thread dann frazier
hey Subhashis,
 Can you attempt to reproduce this bug with the 2.6.21 kernel in sid?
It would be good to know if this still exists in recent kernels before
forwarding this upstream. If you can reproduce, please include the
entire output of 'dmesg' in your follow-up.

-- 
dann frazier



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#411115: marked as done (sky2 module)

2007-05-23 Thread Debian Bug Tracking System
Your message dated Wed, 23 May 2007 18:20:08 -0600
with message-id <[EMAIL PROTECTED]>
and subject line marking as closed in sid
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: Kernel
Version: 2.6.18-4

Stephen Hemminger post some patchs to sky2 module in:


[PATCH 0/6]
This set of patches fixes all the problems observed so far on
my machines. The biggest one was not doing transmit flow control
correctly.


[PATCH 1/6]
An embedded and charset-unspecified text was scrubbed...
Name: sky2-pause-flush.patch


[PATCH 2/6]
An embedded and charset-unspecified text was scrubbed...
Name: sky2-no-asym-down.patch


[PATCH 3/6]
An embedded and charset-unspecified text was scrubbed...
Name: sky2-fe-fc.patch


[PATCH 4/6]
An embedded and charset-unspecified text was scrubbed...
Name: sky2-timeout3.patch


[PATCH 5/6]
An embedded and charset-unspecified text was scrubbed...
Name: sky2-rx-error-handle.patch


[PATCH 6/6]
An embedded and charset-unspecified text was scrubbed...
Name: sky2-v1.13.patch

Patchs is attached, please use it.

-- 
Renato S. Yamane
Fingerprint: 68AE A381 938A F4B9 8A23  D11A E351 5030 D420 515A
PGP Server: http://pgp.mit.edu/ --> KeyID: 0xD420515A

The Yukon-FE chip doesn't do gigabit and has a differen PHY internally.
On this chip, phy status register doesn't properly reflect the result
of flow control negotiation. To workaround the problem and avoid having
to have so much chip dependent code; compute the result of flow control
by looking at the local and remote advertised bits.

Signed-off-by: Stephen Hemmminger <[EMAIL PROTECTED]>

--- sky2-dev.orig/drivers/net/sky2.c	2007-02-14 10:01:41.0 -0800
+++ sky2-dev/drivers/net/sky2.c	2007-02-14 13:32:00.0 -0800
@@ -1766,10 +1766,10 @@
 {
 	struct sky2_hw *hw = sky2->hw;
 	unsigned port = sky2->port;
-	u16 lpa;
+	u16 advert, lpa;
 
+	advert = gm_phy_read(hw, port, PHY_MARV_AUNE_ADV);
 	lpa = gm_phy_read(hw, port, PHY_MARV_AUNE_LP);
-
 	if (lpa & PHY_M_AN_RF) {
 		printk(KERN_ERR PFX "%s: remote fault", sky2->netdev->name);
 		return -1;
@@ -1784,20 +1784,40 @@
 	sky2->speed = sky2_phy_speed(hw, aux);
 	sky2->duplex = (aux & PHY_M_PS_FULL_DUP) ? DUPLEX_FULL : DUPLEX_HALF;
 
-	/* Pause bits are offset (9..8) */
-	if (hw->chip_id == CHIP_ID_YUKON_XL
-	|| hw->chip_id == CHIP_ID_YUKON_EC_U
-	|| hw->chip_id == CHIP_ID_YUKON_EX)
-		aux >>= 6;
-
-	sky2->flow_status = sky2_flow(aux & PHY_M_PS_RX_P_EN,
-  aux & PHY_M_PS_TX_P_EN);
+	/* Since the pause result bits seem to in different positions on
+	 * different chips. look at registers.
+	 */
+	if (!sky2_is_copper(hw)) {
+		/* Shift for bits in fiber PHY */
+		advert &= ~(ADVERTISE_PAUSE_CAP|ADVERTISE_PAUSE_ASYM);
+		lpa &= ~(LPA_PAUSE_CAP|LPA_PAUSE_ASYM);
+
+		if (advert & ADVERTISE_1000XPAUSE)
+			advert |= ADVERTISE_PAUSE_CAP;
+		if (advert & ADVERTISE_1000XPSE_ASYM)
+			advert |= ADVERTISE_PAUSE_ASYM;
+		if (lpa & LPA_1000XPAUSE)
+			lpa |= LPA_PAUSE_CAP;
+		if (lpa & LPA_1000XPAUSE_ASYM)
+			lpa |= LPA_PAUSE_ASYM;
+	}
+
+	sky2->flow_status = FC_NONE;
+	if (advert & ADVERTISE_PAUSE_CAP) {
+		if (lpa & LPA_PAUSE_CAP)
+			sky2->flow_status = FC_BOTH;
+		else if (advert & ADVERTISE_PAUSE_ASYM)
+			sky2->flow_status = FC_RX;
+	} else if (advert & ADVERTISE_PAUSE_ASYM) {
+		if ((lpa & LPA_PAUSE_CAP) && (lpa & LPA_PAUSE_ASYM))
+			sky2->flow_status = FC_TX;
+	}
 
 	if (sky2->duplex == DUPLEX_HALF && sky2->speed < SPEED_1000
 	&& !(hw->chip_id == CHIP_ID_YUKON_EC_U || hw->chip_id == CHIP_ID_YUKON_EX))
 		sky2->flow_status = FC_NONE;
 
-	if (aux & PHY_M_PS_RX_P_EN)
+	if (sky2->flow_status & FC_TX)
 		sky2_write8(hw, SK_REG(port, GMAC_CTRL), GMC_PAUSE_ON);
 	else
 		sky2_write8(hw, SK_REG(port, GMAC_CTRL), GMC_PAUSE_OFF);

--
Stephen Hemminger <[EMAIL PROTECTED]>

___
Sk-drivers mailing list
[EMAIL PROTECTED]
https://lists.osdl.org/mailman/listinfo/sk-drivers
Resetting the pause bits on shutdown is n

Bug#364607: reproducible in etch?

2007-05-23 Thread dann frazier
Can you let us know if this problem is still reproducible with etch's
2.6.18 kernel?

-- 
dann frazier



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Processed: tagging 368912

2007-05-23 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> # Automatically generated email from bts, devscripts version 2.9.26
> tags 368912 + pending
Bug#368912: linux-2.6: missing debian/copyright information for Xen
There were no tags set.
Tags added: pending

>
End of message, stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]