[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#601803: marked as done (not compiled with ieee80211 (WLAN) support)



Your message dated Sat, 30 Jul 2011 19:57:14 +0000
with message-id <E1QnFes-0001S1-LL@franck.debian.org>
and subject line Bug#601803: fixed in freebsd-utils 8.1-5
has caused the Debian Bug report #601803,
regarding not compiled with ieee80211 (WLAN) support
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
601803: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601803
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: kfreebsd-image-8.1-1-686
Version: 8.1-5
Severity: normal

[ this is resend #1 since I did not receive any reply in hours
although my email works otherwise. This time the attachment is not
included. ]

ifconfig wlan0 create wlandev ath0

fails with

ifconfig: SIOCIFCREATE2: Bad address

on my aspire one laptop. I recompiled freebsd-utils with debugging
symbols and set a breakpoint at ifclone.c just before

if (ioctl(s, SIOCIFCREATE2, &ifr) < 0)

Here gdb shows the ifr as

(gdb) p ifr
$1 = {ifr_name = "wlan0\000\000\000\000\000\000\000\000\000\000", ifr_ifru = {ifru_addr = {sa_len = 0 '\000', sa_family = 0 '\000', sa_data = '\000' <repeats 13 times>}, ifru_dstaddr = {sa_len = 0 '\000', sa_family = 0 '\000', sa_data = '\000' <repeats 13 times>}, ifru_broadaddr = {sa_len = 0 '\000', sa_family = 0 '\000', sa_data = '\000' <repeats 13 times>}, ifru_netmask = {sa_len = 0 '\000', sa_family = 0 '\000', sa_data = '\000' <repeats 13 times>}, ifru_buffer = {length = 0, buffer = 0x0}, ifru_flags = {0, 0}, ifru_index = 0, ifru_jid = 0, ifru_metric = 0, ifru_mtu = 0, ifru_phys = 0, ifru_media = 0, ifru_data = 0x0, ifru_cap = {0, 0}}}
(gdb) x/100xb (char*)&ifr
0xbfbfe7bc:	0x77	0x6c	0x61	0x6e	0x30	0x00	0x00	0x00
0xbfbfe7c4:	0x00	0x00	0x00	0x00	0x00	0x00	0x00	0x00
0xbfbfe7cc:	0x00	0x00	0x00	0x00	0x00	0x00	0x00	0x00
0xbfbfe7d4:	0x00	0x00	0x00	0x00	0x00	0x00	0x00	0x00
0xbfbfe7dc:	0xb9	0xc0	0x89	0xa9	0x02	0x00	0x00	0x00
0xbfbfe7e4:	0x98	0x21	0x05	0x08	0x28	0xe8	0xbf	0xbf
0xbfbfe7ec:	0x16	0xa5	0x04	0x08	0x06	0x00	0x00	0x00
0xbfbfe7f4:	0x00	0x00	0x00	0x00	0x06	0x00	0x00	0x00
0xbfbfe7fc:	0x60	0x28	0x05	0x08	0xc0	0xff	0x08	0x28
0xbfbfe804:	0x98	0x21	0x05	0x08	0x20	0xdd	0x06	0x28
0xbfbfe80c:	0x06	0x00	0x00	0x00	0xc0	0x3f	0x05	0x08
0xbfbfe814:	0x00	0x00	0x00	0x00	0xcb	0x03	0x05	0x08
0xbfbfe81c:	0x60	0x28	0x05	0x08

I then recompiled kfreebsd-8 with debugging symbols and DDB/KDB
support (and documented this as
http://wiki.debian.org/Debian_GNU/kFreeBSD_FAQ#Q.HowdoIdebugthekernel.3F
) and saw that copyin() in wlan_clone_create() fails since its third
argument, caddr_t params, contains just 0x10 which can not be a valid
pointer.

"trace" shows that the third argument of ifioctl is 0xc32477e0 so I
dumped its contents with the kernel debugger. Unfortunately I do not
know how to save debugger output to a file so I took a photo of the
screen instead (see the attached 41KB png file).




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

Kernel: kFreeBSD 8.1-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages kfreebsd-image-8.1-1-686 depends on:
ii  freebsd-utils                 8.1-2+b1   FreeBSD utilities needed for GNU/k
ii  kldutils                      8.1-2+b1   tools for managing kFreeBSD module

Versions of packages kfreebsd-image-8.1-1-686 recommends:
pn  libc0.1-i686                  <none>     (no description available)

kfreebsd-image-8.1-1-686 suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: freebsd-utils
Source-Version: 8.1-5

We believe that the bug you reported is fixed in the latest version of
freebsd-utils, which is due to be installed in the Debian FTP archive:

freebsd-net-tools-udeb_8.1-5_kfreebsd-amd64.udeb
  to main/f/freebsd-utils/freebsd-net-tools-udeb_8.1-5_kfreebsd-amd64.udeb
freebsd-net-tools_8.1-5_kfreebsd-amd64.deb
  to main/f/freebsd-utils/freebsd-net-tools_8.1-5_kfreebsd-amd64.deb
freebsd-utils-udeb_8.1-5_kfreebsd-amd64.udeb
  to main/f/freebsd-utils/freebsd-utils-udeb_8.1-5_kfreebsd-amd64.udeb
freebsd-utils_8.1-5.diff.gz
  to main/f/freebsd-utils/freebsd-utils_8.1-5.diff.gz
freebsd-utils_8.1-5.dsc
  to main/f/freebsd-utils/freebsd-utils_8.1-5.dsc
freebsd-utils_8.1-5_kfreebsd-amd64.deb
  to main/f/freebsd-utils/freebsd-utils_8.1-5_kfreebsd-amd64.deb
kbdcontrol_8.1-5_kfreebsd-amd64.deb
  to main/f/freebsd-utils/kbdcontrol_8.1-5_kfreebsd-amd64.deb
kldutils-udeb_8.1-5_kfreebsd-amd64.udeb
  to main/f/freebsd-utils/kldutils-udeb_8.1-5_kfreebsd-amd64.udeb
kldutils_8.1-5_kfreebsd-amd64.deb
  to main/f/freebsd-utils/kldutils_8.1-5_kfreebsd-amd64.deb
vidcontrol_8.1-5_kfreebsd-amd64.deb
  to main/f/freebsd-utils/vidcontrol_8.1-5_kfreebsd-amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 601803@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Robert Millan <rmh@debian.org> (supplier of updated freebsd-utils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 30 Jul 2011 00:31:08 +0000
Source: freebsd-utils
Binary: freebsd-utils freebsd-utils-udeb kldutils kldutils-udeb kbdcontrol vidcontrol freebsd-net-tools freebsd-net-tools-udeb
Architecture: source kfreebsd-amd64
Version: 8.1-5
Distribution: stable
Urgency: low
Maintainer: GNU/kFreeBSD Maintainers <debian-bsd@lists.debian.org>
Changed-By: Robert Millan <rmh@debian.org>
Description: 
 freebsd-net-tools - FreeBSD networking tools
 freebsd-net-tools-udeb - FreeBSD networking tools (udeb)
 freebsd-utils - FreeBSD utilities needed for GNU/kFreeBSD
 freebsd-utils-udeb - FreeBSD utilities needed for GNU/kFreeBSD (udeb)
 kbdcontrol - command-line tool to change keyboard layout on GNU/kFreeBSD
 kldutils   - tools for managing kFreeBSD modules
 kldutils-udeb - tools for managing kFreeBSD modules (udeb)
 vidcontrol - command-line tool to control the system console on GNU/kFreeBSD
Closes: 601803 630614
Changes: 
 freebsd-utils (8.1-5) stable; urgency=low
 .
   * Provide config files and init.d script for devd.  (Closes: #630614)
   * Enable ieee80211 (wireless) in ifconfig.  (Closes: #601803)
Checksums-Sha1: 
 932bd91e31e29517cb778590b5ca74c9d8afb809 1693 freebsd-utils_8.1-5.dsc
 db9b3c600793169c7bd52840b9cf728147f59d97 92241 freebsd-utils_8.1-5.diff.gz
 7478675b6b605ae46a4960e2103d3ed8f70d01e9 284438 freebsd-utils_8.1-5_kfreebsd-amd64.deb
 35da12194fe6cd50f39ebfb5e3d131fb1176bf40 40446 freebsd-utils-udeb_8.1-5_kfreebsd-amd64.udeb
 43911d812876c463c83eff4e3f83a8f67edbf366 36032 kldutils_8.1-5_kfreebsd-amd64.deb
 b16a32850c9a3a15b03b1d8782b562a5a75f946b 7490 kldutils-udeb_8.1-5_kfreebsd-amd64.udeb
 2abf75569795adc45e3b32a40cb398130217ac2c 120330 kbdcontrol_8.1-5_kfreebsd-amd64.deb
 ce1c89287f453b28475df7e4b2ff4f58c6a7794a 119884 vidcontrol_8.1-5_kfreebsd-amd64.deb
 6409d61b283a142b732e67a0177965ce8a267812 387330 freebsd-net-tools_8.1-5_kfreebsd-amd64.deb
 aefcffe74cb3e9660e4786d6c957a282be42420e 75366 freebsd-net-tools-udeb_8.1-5_kfreebsd-amd64.udeb
Checksums-Sha256: 
 83960322fa8f23b41af4702e2f5cf8e94fff5f9008e5a6132f0e3cf9c10d1f58 1693 freebsd-utils_8.1-5.dsc
 e5caba698df3a7b02dfe41d4eb59bc71976c87bf07d6d20587df0e7362b764ea 92241 freebsd-utils_8.1-5.diff.gz
 49b5bb0dadad478cafa303f7397af3214bc37f40bad43e65ca342fe8fe487c3b 284438 freebsd-utils_8.1-5_kfreebsd-amd64.deb
 e3dde4f500c89c3fd58faaa9377742743c287ab7de927e27519381c3d8ba5c4c 40446 freebsd-utils-udeb_8.1-5_kfreebsd-amd64.udeb
 5a2b130292fa76f9afae2bba326cb71ec945ef3c797dc1dfa7311c4d5f79a1ce 36032 kldutils_8.1-5_kfreebsd-amd64.deb
 7e9019b9db55d755dc7cf19cff324d41a5fd4d17c7793bf9768803da82b20fa0 7490 kldutils-udeb_8.1-5_kfreebsd-amd64.udeb
 0ec9221df3dc8761c894326bcebbd2308519f921282b7bba8cf1ead73a24d838 120330 kbdcontrol_8.1-5_kfreebsd-amd64.deb
 612016ced44785b95cb596f40307d286218daecef66e80eec8fd455c4d0c95c2 119884 vidcontrol_8.1-5_kfreebsd-amd64.deb
 ffa70adc7b2584d59a6ec6b9301f3a22b957aa554cecb21cdfaaa27aa055b8d0 387330 freebsd-net-tools_8.1-5_kfreebsd-amd64.deb
 d1201b7b801efd0a6b270221d521ef083844c97145ac5f80d2d5d5bbcdaef489 75366 freebsd-net-tools-udeb_8.1-5_kfreebsd-amd64.udeb
Files: 
 d4d9799107c21b14fa1967ea24693ee7 1693 utils important freebsd-utils_8.1-5.dsc
 d933c7d857bf7a6014981c3077993e85 92241 utils important freebsd-utils_8.1-5.diff.gz
 61b15cab67f5386531ae148f743329d2 284438 utils required freebsd-utils_8.1-5_kfreebsd-amd64.deb
 e9b61f99da19675a0300dead02fb2e53 40446 debian-installer optional freebsd-utils-udeb_8.1-5_kfreebsd-amd64.udeb
 3bc9c3b9c32b567e508e131e8bca12c1 36032 utils important kldutils_8.1-5_kfreebsd-amd64.deb
 46822203f08ddc890cd080bc5f344616 7490 debian-installer optional kldutils-udeb_8.1-5_kfreebsd-amd64.udeb
 57d1a6a31326466e2d9f1b6cf38e2866 120330 utils important kbdcontrol_8.1-5_kfreebsd-amd64.deb
 1737c158b381445f845314d45b027ff0 119884 utils important vidcontrol_8.1-5_kfreebsd-amd64.deb
 1c96984b8afbc7882db59326ac925494 387330 net important freebsd-net-tools_8.1-5_kfreebsd-amd64.deb
 b7235ac5363f7d9c27b2cf835c0741bd 75366 debian-installer important freebsd-net-tools-udeb_8.1-5_kfreebsd-amd64.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/kFreeBSD)

iEYEARECAAYFAk4zUhUACgkQC19io6rUCv8GLgCfZ56yZC4CdHh1jdaNRJmTNoqn
U0wAn24Fd36OutdOsKvls+a47Qmjg12+
=FyCY
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: