NetBSD-Bugs archive

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

Re: kern/22646 (Panic in ohci_add_done())



The following reply was made to PR kern/22646; it has been noted by GNATS.

From: Andreas Gustafsson <gson%gson.org@localhost>
To: skrll%NetBSD.org@localhost
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: kern/22646 (Panic in ohci_add_done())
Date: Sat, 23 Apr 2016 20:41:20 +0300

 skrll%NetBSD.org@localhost wrote:
 > Does this problem still exist in 7.99.28 (nick-nhusb merged)
 
 I repeated the test from the PR using the following configuration:
 
  - Desktop with Asus P5B-V motherboard
  - amd64 GENERIC kernel built from 2016.04.23.13.14.52 sources
  - Userland built from 2016.04.10.18.27.56 sources
  - /dev/usb9 through /dev/usb15 added using MAKEDEV
  - Nikon CoolPix 4500 in PTP mode connected to ALI EHCI/OHCI PCI card
  - gphoto2-2.5.8
  - libgphoto2-2.5.8nb1
  - libusb-0.1.12nb4 + patch to increase number of supported USB busses to 16
  - gphoto2 command: gphoto2 --port usb --debug --capture-image >log 2>&1
 
 It took a few runs of starting gphoto2, seeing it hang, and killing it
 after 5-30 seconds by hitting control-C twice, but the end result was
 that the machine locked up, instead of panicing as it had done in
 earlier tests.
 
 Breaking into ddb on the serial console shows:
 
 db{0}> bt
 breakpoint() at netbsd:breakpoint+0x5
 comintr() at netbsd:comintr+0x59a
 Xintr_ioapic_edge9() at netbsd:Xintr_ioapic_edge9+0xea
 --- interrupt ---
 ohci_softintr() at netbsd:ohci_softintr+0x454
 usb_soft_intr() at netbsd:usb_soft_intr+0x1f
 softint_dispatch() at netbsd:softint_dispatch+0xd3
 DDB lost frame for netbsd:Xsoftintr+0x4f, trying 0xfffffe8044f7eff0
 Xsoftintr() at netbsd:Xsoftintr+0x4f
 --- interrupt ---
 0:
 db{0}> ps
 PID    LID S CPU     FLAGS       STRUCT LWP *               NAME WAIT
 170      1 3   3         0   fffffe80aa9ee8e0               cron tstile
 783      1 3   1         0   fffffe80a6503500               cron tstile
 574      1 3   3         0   fffffe80a6503920               cron wait
 171      1 3   1         0   fffffe80ab6ec0c0               cron wait
 686      1 3   1         0   fffffe80ab6ec4e0            gphoto2 usbxfer
 146      1 3   1        80   fffffe804642d780                 sh wait
 429      1 3   1        80   fffffe8046848420                 sh wait
 104      1 3   1        80   fffffe804642d360               sshd select
 486      1 3   1        80   fffffe80adb2a860               sshd select
 636      1 3   1         0   fffffe804642dba0                 sh biolock
 455      1 3   2        80   fffffe80464a3760              getty ttyraw
 625      1 3   3        80   fffffe80460d5320              getty ttyraw
 643      1 3   0        80   fffffe80464a3b80              getty ttyraw
 600      1 3   1        80   fffffe8045e87620              login wait
 516      1 3   1         0   fffffe80ae0ad460               cron tstile
 613      1 3   0        80   fffffe80adb2a020              inetd kqueue
 565      1 3   3        80   fffffe80ae0ad040               qmgr kqueue
 511      1 3   3        80   fffffe80adb2a440             pickup kqueue
 571      1 3   3        80   fffffe80aa9ee0a0             master kqueue
 349      1 3   0        80   fffffe80ae0ad880             powerd kqueue
 182      1 3   1         0   fffffe8046848000            syslogd biowait
 1        1 3   1        80   fffffe8045facae0               init wait
 0       87 3   1       200   fffffe804600c720            physiod physiod
 0       86 3   2       200   fffffe80460d5740           aiodoned aiodoned
 0       85 3   3       200   fffffe80460d5b60            ioflush genput
 0       84 3   2       200   fffffe804600c300           pgdaemon pgdaemon
 0       81 3   2       200   fffffe804600cb40          atapibus0 sccomp
 0       78 3   2       200   fffffe8045e87200              usb12 usbevt
 0       77 3   2       200   fffffe8045e49a80              usb13 usbevt
 0       76 3   2       200   fffffe8045ec8640              usb11 usbevt
 0       75 3   2       200   fffffe8045e49660               usb9 tstile
 0       74 3   2       200   fffffe8045e87a40               usb6 usbevt
 0       73 3   2       200   fffffe8045ec8220              usb10 usbevt
 0       72 3   2       200   fffffe8045f9f2e0               usb8 usbevt
 0       71 3   3       200   fffffe8045f9f700               usb3 usbevt
 0       70 3   1       200   fffffe8045f9fb20               usb2 usbevt
 0       69 3   3       200   fffffe80460462c0               usb5 usbevt
 0       68 3   1       200   fffffe80460466e0               usb7 usbevt
 0       67 3   1       200   fffffe8046046b00               usb0 usbevt
 0       66 3   3       200   fffffe8045fac2a0               usb1 usbevt
 0       65 3   2       200   fffffe8045fac6c0               usb4 usbevt
 0       64 3   2       200   fffffe8045f0e280              unpgc unpgc
 0       63 3   2       200   fffffe8045f0e6a0        vmem_rehash vmem_rehash
 0       62 3   0       200   fffffe8045f0eac0          coretemp3 coretemp3
 0       61 3   1       200   fffffe8045ecc260          coretemp2 coretemp2
 0       60 3   2       200   fffffe8045ecc680          coretemp1 coretemp1
 0       59 3   3       200   fffffe8045eccaa0          coretemp0 coretemp0
 0       58 3   2       200   fffffe8045e49240              aibs0 aibs0
 0       49 3   1       200   fffffe8045e661e0            atabus6 atath
 0       48 3   0       200   fffffe8045e66600            atabus5 atath
 0       47 3   1       200   fffffe8045e66a20               iic0 iicintr
 0       46 3   2       200   fffffe8045a231c0            atabus4 atath
 0       45 3   3       200   fffffe8045a235e0            atabus3 atath
 0       44 3   2       280   fffffe8045a23a00           fw0probe ieee1394
 0       43 3   0       200   fffffe80457641a0            atabus2 atath
 0       42 3   1       200   fffffe80457645c0            atabus1 atath
 0       41 3   3       200   fffffe80457649e0            atabus0 atath
 0       40 3   0       200   fffffe80456bf180         usbtask-dr usbtsk
 0       39 2   0       200   fffffe80456bf5a0         usbtask-hc
 0       38 3   1       200   fffffe80456bf9c0            intelfb intelfb
 0       37 3   0       200   fffffe8045030160               i915 i915
 0       36 3   3       200   fffffe8045030580            xcall/3 xcall
 0       35 1   3       200   fffffe80450309a0          softser/3
 0       34 1   3       200   fffffe804502e140          softclk/3
 0       33 1   3       200   fffffe804502e560          softbio/3
 0       32 1   3       200   fffffe804502e980          softnet/3
 0    >  31 7   3       201   fffffe804502d120             idle/3
 0       30 3   2       200   fffffe804502d540            xcall/2 xcall
 0       29 1   2       200   fffffe804502d960          softser/2
 0       28 1   2       200   fffffe804502b100          softclk/2
 0       27 1   2       200   fffffe804502b520          softbio/2
 0       26 1   2       200   fffffe804502b940          softnet/2
 0    >  25 7   2       201   fffffe8044fe30e0             idle/2
 0       24 3   1       200   fffffe8044fe3500            xcall/1 xcall
 0       23 1   1       200   fffffe8044fe3920          softser/1
 0       22 1   1       200   fffffe8044fe10c0          softclk/1
 0       21 1   1       200   fffffe8044fe14e0          softbio/1
 0       20 1   1       200   fffffe8044fe1900          softnet/1
 0    >  19 7   1       201   fffffe80ae71f0a0             idle/1
 0       18 3   3       200   fffffe80ae71f4c0           lnxsyswq lnxsyswq
 0       17 3   0       200   fffffe80ae71f8e0          cryptoret crypto_w
 0       16 3   0       200   fffffe80ae727080             sysmon smtaskq
 0       15 3   2       200   fffffe80ae7274a0         pmfsuspend pmfsuspend
 0       14 3   1       200   fffffe80ae7278c0           pmfevent pmfevent
 0       13 3   0       200   fffffe80aed41060         sopendfree sopendfr
 0       12 3   0       200   fffffe80aed41480           nfssilly nfssilly
 0       11 3   3       200   fffffe80aed418a0            cachegc cachegc
 0       10 3   1       200   fffffe80af34c040              vrele vrele
 0        9 3   3       200   fffffe80af34c460             vdrain vdrain
 0        8 3   0       200   fffffe80af34c880          modunload mod_unld
 0        7 3   0       200   fffffe80af35a020            xcall/0 xcall
 0        6 1   0       200   fffffe80af35a440          softser/0
 0        5 1   0       200   fffffe80af35a860          softclk/0
 0        4 1   0       200   fffffe80af35d000          softbio/0
 0    >   3 7   0       200   fffffe80af35d420          softnet/0
 0    >   2 7   0       201   fffffe80af35d840             idle/0
 0        1 3   3       200   ffffffff812605e0            swapper uvm
 db{0}> 
 
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index