usb/107572: Immidiate System Reboot after removing an active usb-stick

Andreas Burghardt a-burghardt at gmx.de
Fri Jan 5 09:20:17 PST 2007


>Number:         107572
>Category:       usb
>Synopsis:       Immidiate System Reboot after removing an active usb-stick
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 05 17:20:16 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Burghardt
>Release:        FreeBSD 7.0-Current
>Organization:
none
>Environment:
FreeBSD iwix 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Fri Jan  5 13:57:31 CET 2007     root at iwix:/usr/obj/usr/src/sys/BODOH  i386

>Description:
I removed a Job-it (2.0 USB, 1GB) USB-Stick from its slot while a file copy to this stick was still in progress. The result was an immidiate reboot of FreeBSD without syncing or unmounting any logal file systems.

/var/log/message
Jan  5 17:41:18 iwix syslogd: kernel boot file is /boot/kernel/kernel
Jan  5 17:41:18 iwix kernel: Copyright (c) 1992-2007 The FreeBSD Project.
Jan  5 17:41:18 iwix kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Jan  5 17:41:18 iwix kernel: The Regents of the University of California. All rights reserved.
Jan  5 17:41:18 iwix kernel: FreeBSD is a registered trademark of The FreeBSD Foundation.
Jan  5 17:41:18 iwix kernel: FreeBSD 7.0-CURRENT #0: Fri Jan  5 13:57:31 CET 2007
Jan  5 17:41:18 iwix kernel: root at iwix:/usr/obj/usr/src/sys/BODOH
Jan  5 17:41:18 iwix kernel: Timecounter "i8254" frequency 1193182 Hz quality 0
Jan  5 17:41:18 iwix kernel: CPU: Intel(R) Pentium(R) M processor 1.73GHz (1729.01-MHz 686-class CPU)
Jan  5 17:41:18 iwix kernel: Origin = "GenuineIntel"  Id = 0x6d8  Stepping = 8
Jan  5 17:41:18 iwix kernel: Features=0xafe9f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,
CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>
Jan  5 17:41:18 iwix kernel: Features2=0x180<EST,TM2>
Jan  5 17:41:18 iwix kernel: real memory  = 536735744 (511 MB)
Jan  5 17:41:18 iwix kernel: avail memory = 515735552 (491 MB)
Jan  5 17:41:18 iwix kernel: kbd1 at kbdmux0
Jan  5 17:41:18 iwix kernel: acpi0: <INSYDE RSDT_000> on motherboard
Jan  5 17:41:18 iwix kernel: acpi_bus_number: can't get _ADR
Jan  5 17:41:18 iwix kernel: acpi_bus_number: can't get _ADR
Jan  5 17:41:18 iwix kernel: acpi0: Power Button (fixed)
Jan  5 17:41:18 iwix kernel: acpi_bus_number: can't get _ADR
Jan  5 17:41:18 iwix kernel: acpi_bus_number: can't get _ADR
Jan  5 17:41:18 iwix kernel: Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
Jan  5 17:41:18 iwix kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
Jan  5 17:41:18 iwix kernel: acpi_ec0: <Embedded Controller: GPE 0x10> port 0x62,0x66 on acpi0
Jan  5 17:41:18 iwix kernel: cpu0: <ACPI CPU> on acpi0
Jan  5 17:41:18 iwix kernel: acpi_perf0: <ACPI CPU Frequency Control> on cpu0
Jan  5 17:41:18 iwix kernel: acpi_perf0: failed in PERF_STATUS attach
Jan  5 17:41:18 iwix kernel: device_attach: acpi_perf0 attach returned 6
Jan  5 17:41:18 iwix kernel: acpi_perf0: <ACPI CPU Frequency Control> on cpu0
Jan  5 17:41:18 iwix kernel: acpi_perf0: failed in PERF_STATUS attach
Jan  5 17:41:18 iwix kernel: device_attach: acpi_perf0 attach returned 6
Jan  5 17:41:18 iwix kernel: est0: <Enhanced SpeedStep Frequency Control> on cpu0
Jan  5 17:41:18 iwix kernel: est: CPU supports Enhanced Speedstep, but is not recognized.
Jan  5 17:41:18 iwix kernel: est: cpu_vendor GenuineIntel, msr 6120d2606000d26
Jan  5 17:41:18 iwix kernel: device_attach: est0 attach returned 6
Jan  5 17:41:18 iwix kernel: p4tcc0: <CPU Frequency Thermal Control> on cpu0
Jan  5 17:41:18 iwix kernel: acpi_acad0: <AC Adapter> on acpi0
Jan  5 17:41:18 iwix kernel: battery0: <ACPI Control Method Battery> on acpi0
Jan  5 17:41:18 iwix kernel: acpi_button0: <Sleep Button> on acpi0
Jan  5 17:41:18 iwix kernel: acpi_lid0: <Control Method Lid Switch> on acpi0
Jan  5 17:41:18 iwix kernel: acpi_button1: <Power Button> on acpi0
Jan  5 17:41:18 iwix kernel: pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
Jan  5 17:41:18 iwix kernel: pci_link7: BIOS IRQ 11 for 0.29.INTA is invalid
Jan  5 17:41:18 iwix kernel: pci_link3: BIOS IRQ 11 for 0.29.INTB is invalid
Jan  5 17:41:18 iwix kernel: pci_link4: BIOS IRQ 5 for 0.30.INTB is invalid
Jan  5 17:41:18 iwix kernel: pci0: <ACPI PCI bus> on pcib0
Jan  5 17:41:18 iwix kernel: pcib1: <ACPI PCI-PCI bridge> irq 11 at device 1.0 on pci0
Jan  5 17:41:18 iwix kernel: pci1: <ACPI PCI bus> on pcib1
Jan  5 17:41:18 iwix kernel: vgapci0: <VGA-compatible display> port 0xc000-0xc0ff mem 0x90000000-0x97
ffffff,0xc0000000-0xc000ffff at device 0.0 on pci1
Jan  5 17:41:18 iwix kernel: drm0: <ATI Radeon Mobility X300 M22> on vgapci0
Jan  5 17:41:18 iwix kernel: info: [drm] Initialized radeon 1.25.0 20060524
Jan  5 17:41:18 iwix kernel: uhci0: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A> port 0x1200
-0x121f irq 10 at device 29.0 on pci0
Jan  5 17:41:18 iwix kernel: uhci0: [GIANT-LOCKED]
Jan  5 17:41:18 iwix kernel: usb0: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A> on uhci0
Jan  5 17:41:18 iwix kernel: usb0: USB revision 1.0
Jan  5 17:41:18 iwix kernel: uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
Jan  5 17:41:18 iwix kernel: uhub0: 2 ports with 2 removable, self powered
Jan  5 17:41:18 iwix kernel: uhci1: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B> port 0x1220
-0x123f irq 9 at device 29.1 on pci0
Jan  5 17:41:18 iwix kernel: uhci1: [GIANT-LOCKED]
Jan  5 17:41:18 iwix kernel: usb1: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B> on uhci1
Jan  5 17:41:18 iwix kernel: usb1: USB revision 1.0
Jan  5 17:41:18 iwix kernel: uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
Jan  5 17:41:18 iwix kernel: uhub1: 2 ports with 2 removable, self powered
Jan  5 17:41:18 iwix kernel: ehci0: <Intel 82801FB (ICH6) USB 2.0 controller> mem 0xf4000000-0xf40003
ff irq 10 at device 29.7 on pci0
Jan  5 17:41:18 iwix kernel: ehci0: [GIANT-LOCKED]
Jan  5 17:41:18 iwix kernel: usb2: EHCI version 1.0
Jan  5 17:41:18 iwix kernel: usb2: wrong number of companions (4 != 2)
Jan  5 17:41:18 iwix kernel: usb2: companion controllers, 2 ports each: usb0 usb1
Jan  5 17:41:18 iwix kernel: usb2: <Intel 82801FB (ICH6) USB 2.0 controller> on ehci0
Jan  5 17:41:18 iwix kernel: usb2: USB revision 2.0
Jan  5 17:41:18 iwix kernel: uhub2: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2
Jan  5 17:41:18 iwix kernel: uhub2: 8 ports with 8 removable, self powered
Jan  5 17:41:18 iwix kernel: pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
Jan  5 17:41:18 iwix kernel: pci_link7: BIOS IRQ 11 for 6.7.INTA is invalid
Jan  5 17:41:18 iwix kernel: pci_link6: BIOS IRQ 11 for 6.10.INTA is invalid
Jan  5 17:41:18 iwix kernel: pci6: <ACPI PCI bus> on pcib2
Jan  5 17:41:18 iwix kernel: iwi0: <Intel(R) PRO/Wireless 2200BG> mem 0xb0009000-0xb0009fff irq 11 at
 device 4.0 on pci6
Jan  5 17:41:18 iwix kernel: iwi0: using obsoleted if_watchdog interface
Jan  5 17:41:18 iwix kernel: iwi0: Ethernet address: 00:15:00:20:6e:4d
Jan  5 17:41:18 iwix kernel: cbb0: <ENE CB710 PCI-CardBus Bridge> at device 6.0 on pci6
Jan  5 17:41:18 iwix kernel: cardbus0: <CardBus bus> on cbb0
Jan  5 17:41:18 iwix kernel: pccard0: <16-bit PCCard bus> on cbb0
Jan  5 17:41:18 iwix kernel: pci6: <memory, flash> at device 6.1 (no driver attached)
Jan  5 17:41:18 iwix kernel: pci6: <base peripheral> at device 6.2 (no driver attached)
Jan  5 17:41:18 iwix kernel: rl0: <RealTek 8139 10/100BaseTX> port 0xa000-0xa0ff mem 0xb0008000-0xb00
080ff irq 10 at device 7.0 on pci6
Jan  5 17:41:18 iwix kernel: miibus0: <MII bus> on rl0
Jan  5 17:41:18 iwix kernel: rlphy0: <RealTek internal media interface> on miibus0
Jan  5 17:41:18 iwix kernel: rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Jan  5 17:41:18 iwix kernel: rl0: Ethernet address: 00:03:9d:75:b0:07
Jan  5 17:41:18 iwix kernel: fwohci0: <Texas Instruments TSB43AB21/A/AI/A-EP> mem 0xb0000000-0xb00007
ff,0xb0004000-0xb0007fff irq 9 at device 10.0 on pci6
Jan  5 17:41:18 iwix kernel: fwohci0: OHCI version 1.10 (ROM=0)
Jan  5 17:41:18 iwix kernel: fwohci0: No. of Isochronous channels is 4.
Jan  5 17:41:18 iwix kernel: fwohci0: EUI64 00:08:0d:03:9d:75:b0:07
Jan  5 17:41:18 iwix kernel: fwohci0: Phy 1394a available S400, 1 ports.
Jan  5 17:41:18 iwix kernel: fwohci0: Link S400, max_rec 2048 bytes.
Jan  5 17:41:18 iwix kernel: firewire0: <IEEE1394(FireWire) bus> on fwohci0
Jan  5 17:41:18 iwix kernel: fwe0: <Ethernet over FireWire> on firewire0
Jan  5 17:41:18 iwix kernel: if_fwe0: Fake Ethernet address: 02:08:0d:75:b0:07
Jan  5 17:41:18 iwix kernel: fwe0: Ethernet address: 02:08:0d:75:b0:07
Jan  5 17:41:18 iwix kernel: fwe0: if_start running deferred for Giant
Jan  5 17:41:18 iwix kernel: sbp0: <SBP-2/SCSI over FireWire> on firewire0
Jan  5 17:41:18 iwix kernel: fwohci0: Initiate bus reset
Jan  5 17:41:18 iwix kernel: fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode
Jan  5 17:41:18 iwix kernel: firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
Jan  5 17:41:18 iwix kernel: firewire0: bus manager 0 (me)
Jan  5 17:41:18 iwix kernel: pcm0: <Intel ICH6 (82801FB)> port 0xe000-0xe0ff,0xe100-0xe13f mem 0xd000
0000-0xd00001ff,0xd0000200-0xd00002ff irq 10 at device 30.2 on pci0
Jan  5 17:41:18 iwix kernel: pcm0: <Avance Logic ALC250 AC97 Codec>
Jan  5 17:41:18 iwix kernel: pci0: <simple comms, generic modem> at device 30.3 (no driver attached)
Jan  5 17:41:18 iwix kernel: isab0: <PCI-ISA bridge> at device 31.0 on pci0
Jan  5 17:41:18 iwix kernel: isa0: <ISA bus> on isab0
Jan  5 17:41:18 iwix kernel: atapci0: <Intel ICH6M SATA150 controller> port 0x1f0-0x1f7,0x3f6,0x170-0
x177,0x376,0x1100-0x110f at device 31.2 on pci0
Jan  5 17:41:18 iwix kernel: ata0: <ATA channel 0> on atapci0
Jan  5 17:41:18 iwix kernel: ata1: <ATA channel 1> on atapci0
Jan  5 17:41:18 iwix kernel: acpi_tz0: <Thermal Zone> on acpi0
Jan  5 17:41:18 iwix kernel: acpi_tz1: <Thermal Zone> on acpi0
Jan  5 17:41:18 iwix kernel: atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
Jan  5 17:41:18 iwix kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
Jan  5 17:41:18 iwix kernel: kbd0 at atkbd0
Jan  5 17:41:18 iwix kernel: atkbd0: [GIANT-LOCKED]
Jan  5 17:41:18 iwix kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0
Jan  5 17:41:18 iwix kernel: psm0: [GIANT-LOCKED]
Jan  5 17:41:18 iwix kernel: psm0: model Generic PS/2 mouse, device ID 0
Jan  5 17:41:18 iwix kernel: pmtimer0 on isa0
Jan  5 17:41:18 iwix kernel: orm0: <ISA Option ROMs> at iomem 0xc0000-0xcffff,0xe0000-0xe1fff,0xe5000
-0xe5fff,0xeb000-0xeffff pnpid ORM0000 on isa0
Jan  5 17:41:18 iwix kernel: ppc0: parallel port not found.
Jan  5 17:41:18 iwix kernel: sc0: <System console> at flags 0x100 on isa0
Jan  5 17:41:18 iwix kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Jan  5 17:41:18 iwix kernel: sio0: configured irq 4 not in bitmap of probed irqs 0
Jan  5 17:41:18 iwix kernel: sio0: port may not be enabled
Jan  5 17:41:18 iwix kernel: sio0: configured irq 4 not in bitmap of probed irqs 0
Jan  5 17:41:18 iwix kernel: sio0: port may not be enabled
Jan  5 17:41:18 iwix kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
Jan  5 17:41:18 iwix kernel: sio0: type 8250 or not responding
Jan  5 17:41:18 iwix kernel: sio0: [FAST]
Jan  5 17:41:18 iwix kernel: sio1: configured irq 3 not in bitmap of probed irqs 0
Jan  5 17:41:18 iwix kernel: sio1: port may not be enabled
Jan  5 17:41:18 iwix kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa
0
Jan  5 17:41:18 iwix kernel: ums0: <Logitech USB-PS/2 Optical Mouse, class 0/0, rev 2.00/20.00, addr 
2> on uhub1
Jan  5 17:41:18 iwix kernel: ums0: 3 buttons and Z dir.
Jan  5 17:41:18 iwix kernel: Timecounter "TSC" frequency 1729010984 Hz quality 800
Jan  5 17:41:18 iwix kernel: Timecounters tick every 1.000 msec
Jan  5 17:41:18 iwix kernel: ad0: 57231MB <FUJITSU MHV2060AT PL 000000A0> at ata0-master SATA150
Jan  5 17:41:18 iwix kernel: acd0: DVDR <HL-DT-ST DVD-RW GWA-4082N/CB03> at ata1-master UDMA33
Jan  5 17:41:18 iwix kernel: umass0: <vendor 0x0204 product 0x6025, class 0/0, rev 2.00/1.00, addr 2>
 on uhub2
Jan  5 17:41:18 iwix kernel: Trying to mount root from ufs:/dev/ad0s1a
Jan  5 17:41:18 iwix kernel: (probe0:umass-sim0:0:0:0): Uninitialized Transport 5:1?
Jan  5 17:41:18 iwix kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Jan  5 17:41:18 iwix kernel: da0: <USB2.0 Flash Disk 2.00> Removable Direct Access SCSI-2 device 
Jan  5 17:41:18 iwix kernel: da0: 40.000MB/s transfers
Jan  5 17:41:18 iwix kernel: da0: 997MB (2042880 512 byte sectors: 64H 32S/T 997C)
Jan  5 17:41:18 iwix kernel: (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 
Jan  5 17:41:18 iwix kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
Jan  5 17:41:18 iwix kernel: (da0:umass-sim0:0:0:0): Medium not present
Jan  5 17:41:18 iwix kernel: (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 
Jan  5 17:41:18 iwix kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
Jan  5 17:41:18 iwix kernel: (da0:umass-sim0:0:0:0): Medium not present
Jan  5 17:41:18 iwix kernel: (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 
Jan  5 17:41:18 iwix kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
Jan  5 17:41:18 iwix kernel: (da0:umass-sim0:0:0:0): Medium not present
Jan  5 17:41:18 iwix kernel: (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 
Jan  5 17:41:18 iwix kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
Jan  5 17:41:18 iwix kernel: (da0:umass-sim0:0:0:0): Medium not present
Jan  5 17:41:18 iwix kernel: (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 
Jan  5 17:41:18 iwix kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
Jan  5 17:41:18 iwix kernel: (da0:umass-sim0:0:0:0): Medium not present
Jan  5 17:41:18 iwix kernel: (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 
Jan  5 17:41:18 iwix kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
Jan  5 17:41:18 iwix kernel: (da0:umass-sim0:0:0:0): Medium not present
Jan  5 17:41:18 iwix kernel: (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 
Jan  5 17:41:18 iwix kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
Jan  5 17:41:18 iwix kernel: (da0:umass-sim0:0:0:0): Medium not present
Jan  5 17:41:18 iwix savecore: no dumps found
Jan  5 17:41:25 iwix login: ROOT LOGIN (root) ON ttyv0
Jan  5 17:41:32 iwix kernel: : mount pending error: blocks -1 files -1
Jan  5 17:44:40 iwix syslogd: kernel boot file is /boot/kernel/kernel

There is no further entry that the machine immidiate reboot without any request!
>How-To-Repeat:
Try it (I wont try it any more ... I dont have a test machine)
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-usb mailing list