Package: wireless-tools
Version: 27-2
Severity: important

Running iwconfig with no arguments results in a segfault under Sparc.
I've tried different kernels, and different drivers (orinoco_pci,
linux_wlan_pci, currently hostap_pci), and the results are always the
same. Type script follows (wireless interface is wlan0):

[EMAIL PROTECTED]:~# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

Segmentation fault
[EMAIL PROTECTED]:~# strace iwconfig 2>/dev/null
wifi0     IEEE 802.11b  ESSID:off/any  Nickname:""
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:0D:88:94:27:AD   
          Sensitivity=1/3  
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption 
key:0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000
          Power Management:off
          
wlan0     IEEE 802.11b  ESSID:off/any  Nickname:""
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:0D:88:94:27:AD   
          Sensitivity=1/3  
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption 
key:0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000
          Power Management:off
          
[EMAIL PROTECTED]:~# strace iwconfig >/dev/null
[snip]
write(2, "eth0      no wireless extensions"..., 35eth0      no wireless 
extensions.

) = 35
ioctl(3, 0x8b01, 0xeffff150)            = 0
ioctl(3, 0x8b03, 0xeffff150)            = -1 EOPNOTSUPP (Operation not 
supported)
ioctl(3, 0x8b05, 0xeffff150)            = 0
ioctl(3, 0x8b2b, 0xeffff150)            = 0
ioctl(3, 0x8b1b, 0xeffff150)            = 0
ioctl(3, 0x8b07, 0xeffff150)            = 0
ioctl(3, 0x8b0b, 0xeffff150)            = 0
ioctl(3, 0x8b09, 0xeffff1f8)            = 0
ioctl(3, 0x8b15, 0xeffff1f8)            = 0
ioctl(3, 0x8b1d, 0xeffff1f8)            = 0
ioctl(3, 0x8b21, 0xeffff1f8)            = -1 EINVAL (Invalid argument)
ioctl(3, 0x8b23, 0xeffff1f8)            = 0
ioctl(3, 0x8b25, 0xeffff1f8)            = 0
ioctl(3, 0x8b2d, 0xeffff1f8)            = 0
ioctl(3, 0x8b27, 0xeffff1f8)            = -1 EOPNOTSUPP (Operation not 
supported)
ioctl(3, 0x8b29, 0xeffff1f8)            = 0
ioctl(3, 0x8b0f, 0xeffff150)            = -1 EFAULT (Bad address)
fstat64(1, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0
ioctl(1, TCSETAF or SNDCTL_TMR_SELECT, 0xefffe850) = -1 ENOTTY (Inappropriate 
ioctl for device)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7001e000
ioctl(3, 0x8b01, 0xeffff150)            = 0
ioctl(3, 0x8b03, 0xeffff150)            = -1 EOPNOTSUPP (Operation not 
supported)
ioctl(3, 0x8b05, 0xeffff150)            = 0
ioctl(3, 0x8b2b, 0xeffff150)            = 0
ioctl(3, 0x8b1b, 0xeffff150)            = 0
ioctl(3, 0x8b07, 0xeffff150)            = 0
ioctl(3, 0x8b0b, 0xeffff150)            = 0
ioctl(3, 0x8b09, 0xeffff1f8)            = 0
ioctl(3, 0x8b15, 0xeffff1f8)            = 0
ioctl(3, 0x8b1d, 0xeffff1f8)            = 0
ioctl(3, 0x8b21, 0xeffff1f8)            = -1 EINVAL (Invalid argument)
ioctl(3, 0x8b23, 0xeffff1f8)            = 0
ioctl(3, 0x8b25, 0xeffff1f8)            = 0
ioctl(3, 0x8b2d, 0xeffff1f8)            = 0
ioctl(3, 0x8b27, 0xeffff1f8)            = -1 EOPNOTSUPP (Operation not 
supported)
ioctl(3, 0x8b29, 0xeffff1f8)            = 0
ioctl(3, 0x8b0f, 0xeffff150)            = -1 EFAULT (Bad address)
ioctl(3, 0x8b01, 0xeffff150)            = -1 EINVAL (Invalid argument)
ioctl(3, 0x8913, 0xeffff1d8)            = 0
write(2, "sit0      no wireless extensions"..., 35sit0      no wireless 
extensions.

) = 35
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0x7001c000, 8192)                = 0
close(3)                                = 0
write(1, "wifi0     IEEE 802.11b  ESSID:of"..., 734) = 734
munmap(0x7001e000, 8192)                = 0
exit_group(0)                           = ?

Other information available upon request.

-- System Information:
Debian Release: 3.1
Architecture: sparc (sparc64)
Kernel: Linux 2.6.8-9-wifi
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages wireless-tools depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libiw27                     27-2         Wireless tools - library

-- no debconf information


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

Reply via email to