[kernel] bug#78: mii-tool uses ioctl()s that don't work on wide-kernels


None


X-PA-RISC Linux-PR-Message: report 78
X-PA-RISC Linux-PR-Package: kernel
X-Loop: daniel_frazier@hp.com
Received: via spool by bugs@bugs.parisc-linux.org id=B.98462419928760
          (code B ref -1); Thu, 15 Mar 2001 02:48:01 GMT
Date: Wed, 14 Mar 2001 19:41:06 -0700
Message-ID: <20010314194106.L18113@tausq.org>
From: "Randolph Chung" <randolph@tausq.org>
To: submit@bugs.parisc-linux.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-PGP: for PGP key, see http://www.tausq.org/pgp.txt
X-GPG: for GPG key, see http://www.tausq.org/gpg.txt

Package: kernel

mii-tool (in the net-tools package) causes a kernel fault.

Bad Address (null pointer deref?): Code=15 regs=000000003f1b0a40 (Addr=3f191000)

     YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI                                           
PSW: 00001000000001001111111100001111                                           
r0-3     0000000000000000 0000000000008c80 0000000010121268 00000000000089f0    
r4-7     000000000000004c 0000000000000000 00000000000046ec 000000003f1b0000    
r8-11    00000000000046ec 00000000faf00178 00000000103159c0 0000000000000003    
r12-15   0000000000000000 0000000000000000 0000000000095fd0 0000000000000000    
r16-19   0000000000000000 0000000000000001 000000000000b71b 00000000000089f2    
r20-23   0000000000008800 000000003fa469a8 0000000000000001 00000000103219c0    
r24-27   000000000000004c 000100003f191000 0000000000000000 00000000103159c0    
r28-31   0000000000000000 000000003f1b0a30 000000003f1b0dc0 00000000400f9653    
sr0-3    0000000000008c80 0000000000008c80 0000000000000000 0000000000008c80    
sr4-7    0000000000000000 0000000000000000 0000000000000000 0000000000000000    

It appears that it's using ioctl()s that are not compatible with a wide
kernel. With a narrow kernel everything works ok.

randolph
-- 
   @..@                                         http://www.TauSq.org/
  (----)
 ( >__< )
 ^^ ~~ ^^