kern/84818: atapi cd: hangup with motor switched on any access

Kyryll A Mirnenko mirya at matrix.ua
Thu Aug 11 20:40:26 GMT 2005


>Number:         84818
>Category:       kern
>Synopsis:       atapi cd: hangup with motor switched on any access
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 11 20:40:24 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Kyryll A Mirnenko
>Release:        6.0-BETA2
>Organization:
>Environment:
FreeBSD localhost 6.0-BETA2 FreeBSD 6.0-BETA2 #1: Thu Aug 11 21:45:20 EEST 2005 root at localhost:/usr/src/sys/i386/compile/GENERIC i386
>Description:
      When accessing cdrom in any way got system hangup watching cd drive rolling (as activity activity indicator shows). Reproducable with clean GENERIC (as with custom config) since 2005-08-07, last checked *-11 (can't say if it works before 'cause do not use cd drive so often). As far as reported by my friend not to be reproducable in his box sending hw description:

- ACPI is forced off (in blacklist anyway)
- so APM
- tried with no additional modules kldloaded

dmesg:

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.0-BETA2 #1: Thu Aug 11 21:45:20 EEST 2005
    root at localhost:/usr/src/sys/i386/compile/MY-O3
WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
WARNING: MPSAFE network stack disabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 268369920 (255 MB)
avail memory = 253390848 (241 MB)
netsmb_dev: loaded
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
cpu0 on motherboard
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 5 Entries> on motherboard
pci0: <PCI bus> on pcib0
$PIR: No matching entry for 0.7.INTD
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
$PIR: ROUTE_INTERRUPT failed.
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C586B UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 7.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
uhci0: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 10 at device 7.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
iicbb0: <I2C bit-banging driver> on viapm0
iicbus0: <Philips I2C bus> on iicbb0 master-only
pci0: <simple comms> at device 19.0 (no driver attached)
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc8000-0xc9fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <5 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0 at vga0
unknown: <PNP0303> can't assign resources (port)
speaker0: <PC speaker> at port 0x61 on isa0
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0c02> can't assign resources (memory)
unknown: <PNP0a03> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0400> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
sbc0: <Avance Logic ALS120> at port 0x220-0x22f irq 5 drq 1,0 on isa0
sbc0: [GIANT-LOCKED]
pcm0: <SB16 DSP 4.153 (ViBRA16X)> on sbc0
pcm0: [GIANT-LOCKED]
Timecounters tick every 10.000 msec
WARNING: apm_saver module requires apm enabled
IPv6 packet filtering initialized, default to accept, logging limited to 100 packets/entry
IPsec: Initialized Security Association Processing.
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default
ad0: 117246MB <Maxtor 6Y120P0 YAR41BW0> at ata0-master UDMA33
acd0: CDRW <HL-DT-ST GCE-8526B/1.04> at ata1-slave UDMA33
Trying to mount root from ufs:/dev/ad0s2a

loader.conf:
loader_color="YES"
hint.acpi.0.disabled="1"

>How-To-Repeat:
      keep cdrom in drive on booting; trying accessing /dev/acd0 in any way; results in cd drive speeding up & keeping rolling full speed endlessly while the system is totally hang up
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list