Re: ie(4) MPSAFE patch

From: Thierry Herbelot <thierry_at_herbelot.com>
Date: Wed, 4 Jun 2008 08:46:33 +0200
> > PS : there is also this kind of harmless messages at boot :
> > # ifconfig ie1 up
> > module_register: module isa/ie_SL already exists!
> > Module isa/ie_SL failed to register: 17
> > module_register: module isa/ie_EE16 already exists!
> > Module isa/ie_EE16 failed to register: 17
> > module_register: module isa/ie_3C507 already exists!
> > Module isa/ie_3C507 failed to register: 17
>
> Try http://www.FreeBSD.org/~jhb/patches/ie_mod.patch

then, bad luck :

panic: _mtx_lock_sleep: recursed on non-recursive mutex ie1 
_at_ /usr/src/sys/dev/ie/if_ie.c:1490

cpuid = 0
KDB: enter: panic
[thread pid 383 tid 100045 ]
Stopped at      kdb_enter+0x3a: movl    $0,kdb_why
db> where
Tracing pid 383 tid 100045 td 0xc1a55230
kdb_enter(c0b2dc12,c0b2dc12,c0b2c98f,c625bad0,0,...) at kdb_enter+0x3a
panic(c0b2c98f,c1965270,c0b030de,5d2,c18651e4,...) at panic+0x12c
_mtx_lock_sleep(c18651e4,c1a55230,0,c0b030de,5d2,...) at _mtx_lock_sleep+0x4a
_mtx_lock_flags(c18651e4,0,c0b030de,5d2,c19a4000,...) at _mtx_lock_flags+0xef
ieinit(c1865000,0,c0b030de,665,80206910,...) at ieinit+0x35
ieioctl(c19a4000,80206910,c19adc40,c0b3b131,c19a4000,...) at ieioctl+0x91
ifhwioctl(c1a55230,c0b296da,c1a34c2c,815,c0b296da,...) at ifhwioctl+0x3ca
ifioctl(c1a9a000,80206910,c19adc40,c1a55230,c1a55230,...) at ifioctl+0x2e1
soo_ioctl(c1a4f540,80206910,c19adc40,c188b800,c1a55230,...) at soo_ioctl+0x397
kern_ioctl(c1a55230,3,80206910,c19adc40,7bb6c0,...) at kern_ioctl+0x1c8
ioctl(c1a55230,c625bcfc,c,c0b64430,c0be7bf0,...) at ioctl+0x134
syscall(c625bd38) at syscall+0x2a3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (54, FreeBSD ELF32, ioctl), eip = 0x28169373, esp = 0xbfbfe65c, 
ebp = 0xbfbfe698 ---
db> show locks
exclusive sleep mutex ie1 (network driver) r = 0 (0xc18651e4) locked 
_at_ /usr/src/sys/dev/ie/if_ie.c:1637
db> ps
  pid  ppid  pgrp   uid   state   wmesg     wchan    cmd
  383   150    26     0  R+      CPU 0               ifconfig
  150    26    26     0  S+      wait     0xc1a78000 sh
   26     1    26     0  Ss+     wait     0xc18c7a70 sh
   19     0     0     0  SL      sdflush  0xc0cb4e00 [softdepflush]
   18     0     0     0  SL      syncer   0xc0c54fe0 [syncer]
   17     0     0     0  SL      vlruwt   0xc1a2ea70 [vnlru]
   16     0     0     0  SL      psleep   0xc0ca94e4 [bufdaemon]
   15     0     0     0  SL      pgzero   0xc0cb59f4 [pagezero]
   14     0     0     0  SL      psleep   0xc0cb561c [vmdaemon]
    9     0     0     0  SL      psleep   0xc0cb55e4 [pagedaemon]
    8     0     0     0  SL      pftm     0xc0e12000 [pfpurge]
    7     0     0     0  SL      waiting_ 0xc0cab19c [sctp_iterator]
    6     0     0     0  SL      -        0xc186523c [fdc0]
    5     0     0     0  SL      ccb_scan 0xc0c23d54 [xpt_thrd]
   13     0     0     0  SL      -        0xc0c54fe8 [yarrow]
    4     0     0     0  SL      -        0xc0c52dc4 [g_down]
    3     0     0     0  SL      -        0xc0c52dc0 [g_up]
    2     0     0     0  SL      -        0xc0c52db8 [g_event]
   12     0     0     0  RL      (threaded)          intr
100028                   I                           [irq5: ie1]
100027                   I                           [swi0: sio]
100026                   I                           [irq7: ppbus0 ppc0]
100024                   I                           [irq1: atkbd0]
100023                   I                           [irq15: ata1]
100022                   I                           [irq14: ata0]
100021                   I                           [irq9: ed0]
100020                   I                           [irq10: xl1]
100019                   I                           [irq11: xl0]
100018                   I                           [swi5: +]
100017                   I                           [swi2: cambio]
100014                   I                           [swi6: task queue]
100013                   I                           [swi6: Giant taskq]
100006                   RunQ                        [swi4: clock sio]
100005                   I                           [swi1: net]
100004                   I                           [swi3: vm]
   11     0     0     0  RL                          [idle: cpu0]
    1     0     1     0  SLs     wait     0xc1884d0c [init]
   10     0     0     0  SL      audit_wo 0xc0cb47fc [audit]
    0     0     0     0  SLs     (threaded)          kernel
100015                   D       -        0xc194ad80 [kqueue taskq]
100012                   D       -        0xc194b000 [thread taskq]
100010                   D       -        0xc1868e80 [firmware taskq]
100000                   I                           [swapper]
db>

	TfH
Received on Wed Jun 04 2008 - 05:21:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:31 UTC