[haiku-bugs] [Haiku] #5063: iprowifi4965 panics with "unsupported size" because construct_ext_sized_mbuf doesn't handle PAGE_SIZE size

  • From: "tqh" <trac@xxxxxxxxxxxx>
  • Date: Tue, 01 Dec 2009 20:18:13 -0000

#5063: iprowifi4965 panics with "unsupported size" because
construct_ext_sized_mbuf doesn't handle PAGE_SIZE size
-----------------------------+----------------------------------------------
 Reporter:  tqh              |       Owner:  colin    
     Type:  bug              |      Status:  new      
 Priority:  normal           |   Milestone:  R1       
Component:  Drivers/Network  |     Version:  R1/alpha1
 Keywords:                   |   Blockedby:           
 Platform:  All              |    Blocking:           
-----------------------------+----------------------------------------------
 I've been testing the iprowifi4965 after talking to Colin.
 It currently kdls on boot in:[[br]]
 construct_ext_sized_mbuf(..) in src/libs/compat/freebsd_network/mbuf.c
 from[[br]]
 m_getjcl(..) in src/libs/compat/freebsd_network/mbuf.c from[[br]]
 iwn_alloc_rx_ring(..) in src/add-
 ons/kernel/drivers/network/wlan/iprowifi4965/dev/iwn/if_iwn.c[[br]]


 
http://haiku.it.su.se:8180/source/xref/src/libs/compat/freebsd_network/mbuf.c#71
 http://haiku.it.su.se:8180/source/xref/src/add-
 ons/kernel/drivers/network/wlan/iprowifi4965/dev/iwn/if_iwn.c#761

 The size is MJUMPAGESIZE which is
 {{{
 #define MJUMPAGESIZE    PAGE_SIZE
 }}}

 which fails
 {{{
 if (size != MCLBYTES && size != MJUM9BYTES)
   panic("unsupported size");

 }}}

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5063>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: