NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/44144 (ifconfig causes assertion failure in vfs_lookup.c)
The following reply was made to PR kern/44144; it has been noted by GNATS.
From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: kern/44144 (ifconfig causes assertion failure in vfs_lookup.c)
Date: Sun, 26 Dec 2010 18:50:39 +0000
(not sent to gnats)
------
From: Alan Barrett <apb%cequrux.com@localhost>
To: kern-bug-people%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
netbsd-bugs%NetBSD.org@localhost
Subject: Re: kern/44144 (ifconfig causes assertion failure in vfs_lookup.c)
Date: Sun, 26 Dec 2010 15:58:05 +0200
On Sun, 26 Dec 2010, Alan Barrett wrote:
> I applied that patch, and now I get this:
>
> # ifconfig wpi0 up
> wpi0: ERROR: could not read firmware file
> panic: free: addr 0x0 not within kmem_map
If I guard the firmware_free() call after label fail1 at the end of
the wpi_cache_firmware() function with "if (wpi_firmware_imaeg != NULL)"
then I get this:
# ifconfig wpi0 up
wpi0: ERROR: could not read firmware file
wpi0: ERROR: could not load firmware file
wpi0: cannot assign link-local address
wpi0: ERROR: could not read firmware file
wpi0: ERROR: could not load firmware file
wpi0: ERROR: could not read firmware file
wpi0: ERROR: could not load firmware file
wpi0: cannot assign link-local address
#
There's no panic, which is good, but I think that the first error should
have been handled in such a way that the other errors did not occur.
It would also be nice if the "could not read firmware file" message
included the file name.
--apb (Alan Barrett)
Home |
Main Index |
Thread Index |
Old Index