Launchpad has imported 1 comments from the remote bug at
https://bugzilla.kernel.org/show_bug.cgi?id=198035.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2017-11-29T14:30:48+00:00 sph0lt0n wrote:

In drivers/net/ethernet/adaptec/starfire.c at line 653, ioaddr is
declared as a (signed) long. This should instead be declared as an
unsigned long, as memory addresses cannot really be negative. This
allows ioremap() to correctly remap the address in a >32 bit context.

See additional bug details in
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1717259

Impact: Adaptec ethernet hardware utilizing the starfire driver fails to
initialize with 4.x series kernels and 3.x pae kernels.

Steps to reproduce:
Attempt to load current starfire module on a system with this hardware 
installed: 
   modprobe -v starfire

Actual Results:
Output from dmesg when loading current starfire module on system with this 
hardware equipped:
[ 1109.362648] ioremap: invalid physical address fffffffffe480000
[ 1109.362657] starfire 0000:08:04.0: cannot Remap 0x80000 @ 0xfe480000, 
aborting

Proposed patch:
Modify line 653 to declare ioaddr as an unsigned long int.

653     unsigned long ioaddr;

Expected Results:
Output from dmesg when loading modified starfire module on system with this 
hardware equipped:
[ 1237.456827] eth2: Adaptec Starfire 6915 at f8a00000, 00:00:d1:ef:f6:d1, IRQ 
25.
[ 1237.488583] starfire 0000:08:04.0 eth23: renamed from eth2
[ 1237.655434] eth23: MII PHY found at address 1, status 0x7809 advertising 
0x01e1.
[ 1237.655441] eth23: scatter-gather and hardware TCP cksumming enabled.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1717259/comments/15


** Changed in: linux
       Status: Unknown => Confirmed

** Changed in: linux
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1717259

Title:
  adaptec starfire fails to initializewith recent kernels

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1717259/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to