Date: Thu, 3 Jun 2004 12:44:04 +0200 From: Francis GUDIN <fgudin@nerim.fr> To: freebsd-current@freebsd.org Subject: [fgudin@nerim.fr: acd0 freeze with latest -CURRENT] Message-ID: <20040603104402.GA59698@teigneux.porcherie.invalid>
next in thread | raw e-mail | index | archive | help
Having nothing back from freebsd-questions, i push it on here... Thanks in advance, Francis. ----- Forwarded message from Francis GUDIN <fgudin@nerim.fr> ----- Date: Wed, 2 Jun 2004 01:58:20 +0200 From: Francis GUDIN <fgudin@nerim.fr> To: freebsd-questions@freebsd.org User-Agent: Mutt/1.4.2.1i Subject: acd0 freeze with latest -CURRENT Hello, I'm facing a problem which appeared between Apr 26 and today: when using the DVD drive of my girlie'laptop, mplayer stands frozen after a few seconds/minutes. I can 'atacontrol reinit 1' and things go on... until next freeze :-/ Not so a specific mplayer issue: same thing when attempting to vob-copy with dvdrip. Laptop model is Compaq Presario 2120EU. You'll find at the end of this email dmesg, ps when the problem arises, kernel config and pciconf -l. I just included DDB in a fresh kernel, but couldn't play much with it, cause IANAC, and especially not wrt the kernel. I'd appreciate if someone could point me at valuable docs/debugging howto so that i can provide anyone who'd care with it with useful input. Last point: the commits from today back to end april on ATA deal with "autosense" feature -> could someone satisfy my curiosity and explain me what is it ? And now, the most useful content: Script started on Wed Jun 2 01:24:01 2004 %ps ax PID TT STAT TIME COMMAND 0 ?? DLs 0:00,00 (swapper) 1 ?? SLs 0:00,01 /sbin/init -- 2 ?? DL 0:00,01 (g_event) 3 ?? DL 0:00,12 (g_up) 4 ?? DL 0:00,34 (g_down) 5 ?? DL 0:00,02 (taskqueue) 6 ?? SL 0:00,03 (acpi_task0) 7 ?? SL 0:00,01 (acpi_task1) 8 ?? SL 0:00,05 (acpi_task2) 9 ?? DL 0:00,00 (cbb0) 10 ?? DL 0:00,00 (ktrace) 11 ?? RL 2:45,23 (idle: cpu0) 12 ?? WL 0:00,00 (irq0: clk) 13 ?? WL 0:00,00 (irq1: atkbd0) 14 ?? WL 0:00,00 (irq3:) 15 ?? WL 0:00,00 (irq4: sio0) 16 ?? WL 0:00,16 (irq5: pcm0) 17 ?? WL 0:00,00 (irq6: fdc0) 18 ?? WL 0:00,00 (irq7: ppc0) 19 ?? WL 0:00,00 (irq8: rtc) 20 ?? WL 0:00,00 (irq9: acpi0) 21 ?? WL 0:00,00 (irq10: fwohci0+) 22 ?? WL 0:00,69 (irq11: cbb0 sis0) 23 ?? WL 0:00,01 (irq12: psm0) 24 ?? WL 0:00,00 (irq13:) 25 ?? WL 0:00,03 (irq14: ata0) 26 ?? WL 0:01,00 (irq15: ata1) 27 ?? WL 0:00,11 (swi8: tty:sio clock) 28 ?? WL 0:00,00 (swi4: vm) 29 ?? WL 0:00,29 (swi1: net) 30 ?? DL 0:00,07 (yarrow) 31 ?? WL 0:00,00 (swi6:+) 32 ?? WL 0:00,00 (swi5:+) 33 ?? WL 0:00,00 (swi7: acpitaskq) 34 ?? WL 0:00,00 (swi2: camnet) 35 ?? WL 0:00,00 (swi3: cambio) 36 ?? WL 0:00,00 (swi7: task queue) 37 ?? DL 0:00,03 (acpi_thermal) 38 ?? DL 0:00,00 (usb0) 39 ?? DL 0:00,00 (usbtask) 40 ?? WL 0:00,00 (swi0: tty:sio) 41 ?? DL 0:00,00 (pagedaemon) 42 ?? DL 0:00,00 (vmdaemon) 43 ?? DL 0:00,50 (pagezero) 44 ?? DL 0:00,00 (bufdaemon) 45 ?? DL 0:00,01 (syncer) 46 ?? DL 0:00,00 (vnlru) 47 ?? SL 0:00,00 (nfsiod 0) 48 ?? SL 0:00,00 (nfsiod 1) 49 ?? SL 0:00,00 (nfsiod 2) 50 ?? SL 0:00,00 (nfsiod 3) 315 ?? Ss 0:00,01 /usr/sbin/syslogd -s 330 ?? Ss 0:00,01 /usr/sbin/rpcbind 420 ?? Ss 0:00,00 /usr/sbin/mountd -r 422 ?? Ss 0:00,03 nfsd: master (nfsd) 425 ?? S 0:00,57 nfsd: server (nfsd) 426 ?? S 0:00,02 nfsd: server (nfsd) 427 ?? S 0:00,00 nfsd: server (nfsd) 428 ?? S 0:00,00 nfsd: server (nfsd) 452 ?? Ss 0:00,00 /usr/sbin/usbd 502 ?? Ss 0:00,00 /usr/sbin/sshd 508 ?? Ss 0:00,01 sendmail: accepting connections (sendmail) 512 ?? Ss 0:00,00 sendmail: Queue runner@00:30:00 for /var/spool/mqueue 515 ?? Ss 0:00,00 sendmail: Queue runner@00:30:00 for /var/spool/client 529 ?? Ss 0:00,00 /usr/sbin/cron -s 558 ?? Ss 0:00,03 /usr/local/sbin/cupsd 586 ?? Ss 0:00,01 sudoscriptd: main (perl) 588 ?? Ss 0:00,00 sudoscriptd: merger (perl) 637 ?? S 0:00,02 /usr/X11R6/bin/wdm -nodaemon ttyv8 638 ?? S 0:00,11 /usr/X11R6/bin/wdm -nodaemon ttyv8 641 ?? Ss 0:05,08 /usr/X11R6/bin/XFree86 -auth /usr/X11R6/lib/X11/wdm/a 642 ?? Ss 0:00,01 /usr/X11R6/bin/wdm -nodaemon ttyv8 657 ?? Ss 0:00,19 /usr/X11R6/bin/wmaker 675 ?? S 0:00,14 wmxmms 676 ?? S 0:00,06 wmbsdbatt 677 ?? S 0:00,04 wmtime 678 ?? S 0:00,01 /usr/X11R6/bin/xconsole -geometry 480x130-0-0 -daemon 682 ?? S 0:00,07 xterm -sl 1000 703 ?? Ss 0:00,02 sshd: doudou [priv] (sshd) 705 ?? R 0:00,01 sshd: doudou@ttyp2 (sshd) 683 p1 Ss 0:00,02 csh 684 p1 S+ 0:01,21 mplayer -vo x11 -ao oss -double -cache 8192 -zoom -dv 698 p1 DL+ 0:00,08 mplayer -vo x11 -ao oss -double -cache 8192 -zoom -dv 706 p2 Ss 0:00,02 -csh (csh) 721 p2 S+ 0:00,00 script debug_infos 722 p3 Ss 0:00,01 /bin/csh -i 723 p3 R+ 0:00,00 ps ax 629 v0 Ss+ 0:00,00 /usr/libexec/getty Pc ttyv0 630 v1 Ss+ 0:00,00 /usr/libexec/getty Pc ttyv1 631 v2 Ss+ 0:00,00 /usr/libexec/getty Pc ttyv2 632 v3 Ss+ 0:00,00 /usr/libexec/getty Pc ttyv3 633 v4 Ss+ 0:00,00 /usr/libexec/getty Pc ttyv4 634 v5 Ss+ 0:00,00 /usr/libexec/getty Pc ttyv5 635 v6 Ss+ 0:00,00 /usr/libexec/getty Pc ttyv6 636 v7 Ss+ 0:00,00 /usr/libexec/getty Pc ttyv7 %sudo atacontrol reinit 1 Master: acd0 <SD-R2512/1A04> ATA/ATAPI revision 5 Slave: no device present %dmesg Copyright (c) 1992-2004 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 5.2-CURRENT #1: Wed Jun 2 01:17:36 CEST 2004 root@sigmund.porcherie.invalid:/usr/obj/usr/HEAD/src/sys/SIGMUND Preloaded elf kernel "/boot/kernel/kernel" at 0xc0886000. Preloaded elf module "/boot/kernel/linux.ko" at 0xc088621c. Preloaded elf module "/boot/kernel/snd_t4dwave.ko" at 0xc08862c8. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0886378. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0886424. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: mobile AMD Athlon(tm) XP2500+ (1855.20-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0 Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> AMD Features=0xc0480000<MP,AMIE,DSP,3DNow!> real memory = 200212480 (190 MB) avail memory = 186236928 (177 MB) random: <entropy source, Software, Yarrow> Pentium Pro MTRR support enabled npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <PTLTD RSDT> on motherboard acpi0: [GIANT-LOCKED] pcibios: BIOS version 2.10 acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 cpu0: <ACPI CPU (2 Cx states)> on acpi0 acpi_tz0: <Thermal Zone> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib0: slot 2 INTA is routed to irq 10 pcib0: slot 6 INTA is routed to irq 5 pcib0: slot 8 INTA is routed to irq 10 pcib0: slot 10 INTA is routed to irq 11 pcib0: slot 12 INTA is routed to irq 10 pcib0: slot 18 INTA is routed to irq 11 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pcib1: slot 5 INTA is routed to irq 10 pci1: <display, VGA> at device 5.0 (no driver attached) ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xd0004000-0xd0004fff irq 10 at device 2.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0 usb0: USB revision 1.0 uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered pcm0: <Acer Labs M5451> port 0x8400-0x84ff mem 0xd0005000-0xd0005fff irq 5 at device 6.0 on pci0 pcm0: <Conexant CX20468 AC97 Codec> pcm0: [GIANT-LOCKED] isab0: <PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 pci0: <simple comms> at device 8.0 (no driver attached) cbb0: <O2Micro OZ6912/6972 PCI-CardBus Bridge> irq 11 at device 10.0 on pci0 cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 fwohci0: vendor=104c, dev=8026 fwohci0: <1394 Open Host Controller Interface> mem 0xd0000000-0xd0003fff,0xd0007000-0xd00077ff irq 10 at device 12.0 on pci0 fwohci0: [GIANT-LOCKED] fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:0d:9d:71:9e:81:40:73 fwohci0: Phy 1394a available S400, 1 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: <IEEE1394(FireWire) bus> on fwohci0 fwe0: <Ethernet over FireWire> on firewire0 if_fwe0: Fake Ethernet address: 02:0d:9d:81:40:73 fwe0: Ethernet address: 02:0d:9d:81:40:73 sbp0: <SBP-2/SCSI over FireWire> on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, Not found IRM capable node atapci0: <AcerLabs Aladdin UDMA100 controller> port 0x8080-0x808f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 16.0 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: <bridge, PCI-unknown> at device 17.0 (no driver attached) sis0: <NatSemi DP8381[56] 10/100BaseTX> port 0x8c00-0x8cff mem 0xd0008000-0xd0008fff irq 11 at device 18.0 on pci0 sis0: Silicon Revision: DP83816A miibus0: <MII bus> on sis0 ukphy0: <Generic IEEE 802.3u media interface> on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis0: Ethernet address: 00:0d:9d:82:bc:f6 sis0: [GIANT-LOCKED] acpi_button0: <Power Button> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_acad0: <AC Adapter> on acpi0 acpi_cmbat0: <Control Method Battery> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Synaptics Touchpad, device ID 0 acpi_ec0: <Embedded Controller: GPE 0x18> port 0x66,0x62 on acpi0 fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 0 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold ppbus0: <Parallel port bus> on ppc0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A orm0: <Option ROMs> at iomem 0xdc000-0xdffff,0xdb000-0xdbfff,0xcf000-0xcf7ff,0xc0000-0xcefff on isa0 pmtimer0 on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1855196045 Hz quality 800 Timecounters tick every 10.000 msec ad0: 38154MB <TOSHIBA MK4025GAS> [77520/16/63] at ata0-master UDMA100 acd0: CDRW <SD-R2512> at ata1-master PIO4 Mounting root from ufs:/dev/ad0s1a mousgetinfo model: 13mousgetinfo model: 13 ACPI-0502: *** Error: Handler for [EmbeddedControl] returned AE_NO_HARDWARE_RESPONSE ACPI-1303: *** Error: Method execution failed [\\_TZ_.THRM._TMP] (Node 0xc1479600), AE_NO_HARDWARE_RESPONSE %cat /usr/HEAD/src/sys/i386/conf/SIGMUND # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.398 2004/03/15 00:49:40 obrien Exp $ machine i386 cpu I686_CPU ident SIGMUND # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options DDB options DDB_UNATTENDED options SCHED_ULE # ULE scheduler options INET # InterNETworking options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT # NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options SCSI_DELAY=15000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev # Debugging for use in -current options DDB # Enable the kernel debugger # options INVARIANTS # Enable calls of extra sanity checking # options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS # options WITNESS # Enable checks to detect deadlocks and cycles # options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed # To make an SMP kernel, the next two are needed options SMP # Symmetric MultiProcessor Kernel device apic # I/O APIC device isa device eisa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives options ATA_STATIC_ID # Static device numbering # SCSI peripherals device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device cd # CD device pass # Passthrough device (direct SCSI access) device ses # SCSI Environmental Services (and SAF-TE) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver # syscons is the default console driver, resembling an SCO console device sc # Enable this for the pcvt (VT220 compatible) console driver #device vt #options XSERVER # support for X server on a vt console #options FAT_CURSOR # start with block cursor device agp # support several AGP chipsets # Floating point support - do not disable. device npx # Add suspend/resume support for the i8254. device pmtimer # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support device cbb # cardbus (yenta) bridge #device pcic # ExCA ISA and PCI bridges device pccard # PC Card (16-bit) bus device cardbus # CardBus (32-bit) bus # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device sis # Silicon Integrated Systems SiS 900/SiS 7016 # Pseudo devices - the number indicates how many units to allocate. device random # Entropy device device loop # Network loopback device ether # Ethernet support device sl # Kernel SLIP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device urio # Diamond Rio 500 MP3 player device uscanner # Scanners # FireWire support device firewire # FireWire bus code device sbp # SCSI over FireWire (Requires scbus and da) device fwe # Ethernet over FireWire (non-standard!) %pciconf -l hostb0@pci0:0:0: class=0x060000 card=0x00000000 chip=0xcab01002 rev=0x13 hdr=0x00 pcib1@pci0:1:0: class=0x060400 card=0x00000000 chip=0x700f1002 rev=0x01 hdr=0x01 ohci0@pci0:2:0: class=0x0c0310 card=0x0024103c chip=0x523710b9 rev=0x03 hdr=0x00 pcm0@pci0:6:0: class=0x040100 card=0x0024103c chip=0x545110b9 rev=0x02 hdr=0x00 isab0@pci0:7:0: class=0x060100 card=0x153310b9 chip=0x153310b9 rev=0x00 hdr=0x00 none0@pci0:8:0: class=0x070300 card=0x0024103c chip=0x545710b9 rev=0x00 hdr=0x00 cbb0@pci0:10:0: class=0x060700 card=0x00000000 chip=0x69721217 rev=0x00 hdr=0x02 fwohci0@pci0:12:0: class=0x0c0010 card=0x0024103c chip=0x8026104c rev=0x00 hdr=0x00 atapci0@pci0:16:0: class=0x0101b0 card=0x0024103c chip=0x522910b9 rev=0xc4 hdr=0x00 none1@pci0:17:0: class=0x068000 card=0x0024103c chip=0x710110b9 rev=0x00 hdr=0x00 sis0@pci0:18:0: class=0x020000 card=0x0024103c chip=0x0020100b rev=0x00 hdr=0x00 none2@pci1:5:0: class=0x030000 card=0x0024103c chip=0x43361002 rev=0x00 hdr=0x00 %exit exit Script done on Wed Jun 2 01:26:13 2004 Thank you very much for any help, Francis. PS: not currently subscribed to this list, please CC: me on replies. ----- End forwarded message -----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040603104402.GA59698>