Opened 17 months ago

Closed 4 months ago

Last modified 3 months ago

#14941 closed bug (fixed)

[iprowifi2200] PANIC: ID-Store: delete_unrhdr: some ids are still in use..

Reported by: derpo Owned by: waddlesplash
Priority: normal Milestone: R1/beta2
Component: Drivers/Network/iprowifi2200 Version: R1/Development
Keywords: Cc:
Blocked By: Blocking: #15845
Platform: x86

Description (last modified by diver)

hrev52946 gcc2.

(syslog attached, also some other files from safe mode)

Let me know if you need any other specific info.

Attachments (4)

SYSLOG00.TXT (73.3 KB ) - added by derpo 17 months ago.
syslog
list_image_drivers.txt (1.2 KB ) - added by derpo 17 months ago.
safe mode "listimage | grep drivers"
listdev.txt (2.5 KB ) - added by derpo 17 months ago.
safe mode listdev
listusb.txt (6.1 KB ) - added by derpo 17 months ago.
safe mode "listusb -v"

Download all attachments as: .zip

Change History (12)

by derpo, 17 months ago

Attachment: SYSLOG00.TXT added

syslog

by derpo, 17 months ago

Attachment: list_image_drivers.txt added

safe mode "listimage | grep drivers"

by derpo, 17 months ago

Attachment: listdev.txt added

safe mode listdev

by derpo, 17 months ago

Attachment: listusb.txt added

safe mode "listusb -v"

comment:1 by diver, 17 months ago

Description: modified (diff)
Summary: thinkpad t42 kernel panic (hrev52946)[iprowifi2200] PANIC: ID-Store: delete_unrhdr: some ids are still in use..

comment:2 by diver, 17 months ago

Component: System/KernelDrivers/Network/iprowifi2200
Keywords: thinkpad t42 removed

comment:3 by waddlesplash, 17 months ago

Probably this is a bug in the 2200 driver from FreeBSD; it likely isn't freeing some resource before detaching.

comment:4 by halamix2, 9 months ago

some ids are still in use is caused in delete_unrhdr (src/libs/compat/freebsd_network/unit.cpp):

It checks if idStore->idBuffer->root_size is equal to 0 and panics if it's not.

idBuffer is a radix_bitmap* (headers/private/kernel/util/RadixBitmap.h), and while it is set to non-zero value during creation (radix_bitmap_create at src/system/kernel/util/RadixBitmap.cpp), root_size never changes, so it will always be bigger than 0.

Version 0, edited 9 months ago by halamix2 (next)

comment:5 by diver, 5 months ago

Owner: changed from nobody to waddlesplash
Status: newassigned

comment:6 by diver, 4 months ago

Blocking: 15845 added

comment:7 by waddlesplash, 4 months ago

Resolution: fixed
Status: assignedclosed

Indeed; I've removed the check in hrev54081. Thanks for investigating, halamix2! Sorry for not noticing sooner.

comment:8 by nielx, 3 months ago

Milestone: UnscheduledR1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.