Date: Thu, 5 Feb 2009 17:03:34 GMT From: Anton Shterenlikht <mexas@bristol.ac.uk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: i386/131426: hald makes cdrom fail Message-ID: <200902051703.n15H3YqE000804@mech-aslap33.men.bris.ac.uk> Resent-Message-ID: <200902051710.n15HA1Fl087995@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 131426 >Category: i386 >Synopsis: hald makes cdrom fail >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 05 17:10:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Anton Shterenlikht >Release: FreeBSD 7.1-STABLE i386 >Organization: Bristol University, UK >Environment: System: FreeBSD mech-aslap33.men.bris.ac.uk 7.1-STABLE FreeBSD 7.1-STABLE #0: Sat Jan 31 14:31:50 GMT 2009 mexas@mech-aslap33.men.bris.ac.uk:/usr/obj/usr/src/sys/ARMADA1700 i386 >Description: This is an old laptop Compaq Armada 1700. adding hald_enable="YES" to /etc/rc.conf makes cdrom fail straight after boot with acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0 x00 0x00 The error message is repeated approx. every 2 seconds indefinitely. After rebooting without hald_enable, all is fine again, checked 3-4 times. hald_enable="YES" is required to make mouse and keyboard detected in X, so the problem results in unusable X. #cat dmesg Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 7.1-STABLE #0: Sat Jan 31 14:31:50 GMT 2009 mexas@mech-aslap33.men.bris.ac.uk:/usr/obj/usr/src/sys/ARMADA1700 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (233.34-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> real memory = 167772160 (160 MB) avail memory = 154570752 (147 MB) pcib0: <Intel 82443BX host to PCI bridge (AGP disabled)> pcibus 0 on motherboard pci0: <PCI bus> on pcib0 isab0: <PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1020-0x102f at device 7.1 on pci0 ata0: <ATA channel 0> on atapci0 ata0: [ITHREAD] ata1: <ATA channel 1> on atapci0 ata1: [ITHREAD] uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1000-0x101f irq 11 at device 7.2 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0 usb0: USB revision 1.0 uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0 uhub0: 2 ports with 2 removable, self powered pci0: <bridge> at device 7.3 (no driver attached) vgapci0: <VGA-compatible display> mem 0x40000000-0x40ffffff at device 8.0 on pci0 cbb0: <TI1220 PCI-CardBus Bridge> mem 0x7fffe000-0x7fffefff irq 11 at device 17.0 on pci0 cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [ITHREAD] cbb1: <TI1220 PCI-CardBus Bridge> mem 0x7ffff000-0x7fffffff irq 11 at device 17.1 on pci0 cardbus1: <CardBus bus> on cbb1 pccard1: <16-bit PCCard bus> on cbb1 cbb1: [ITHREAD] cpu0 on motherboard pmtimer0 on isa0 orm0: <ISA Option ROM> at iomem 0xc0000-0xcafff pnpid ORM0000 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] atkbd0: [ITHREAD] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: <Parallel port bus> on ppc0 ppbus0: [ITHREAD] lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio0: [FILTER] 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 unknown: <PNP0401> can't assign resources (port) unknown: <PNP0501> can't assign resources (port) unknown: <PNP0700> can't assign resources (port) sbc0: <ESS ES1869 (Compaq OEM)> at port 0x230-0x23f,0x388-0x38b,0x300-0x301 irq 5 drq 0,1 pnpid CPQb0ac on isa0 sbc0: [GIANT-LOCKED] sbc0: [ITHREAD] pcm0: <ESS 18xx DSP> on sbc0 pcm0: [GIANT-LOCKED] pcm0: [ITHREAD] unknown: <PNP0c01> can't assign resources (memory) unknown: <PNP0303> can't assign resources (port) unknown: <PNP0f13> can't assign resources (irq) unknown: <PNP0c02> can't assign resources (memory) Timecounter "TSC" frequency 233343487 Hz quality 800 Timecounters tick every 1.000 msec ad0: 38154MB <Seagate ST940815A 3.ALD> at ata0-master UDMA33 rl0: <RealTek 8139 10/100BaseTX> port 0x1100-0x11ff mem 0x88000000-0x880001ff irq 11 at device 0.0 on cardbus0 miibus0: <MII bus> on rl0 rlphy0: <RealTek internal media interface> PHY 0 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:02:44:7b:52:b8 rl0: [ITHREAD] acd0: CDROM <UJDA150/1.02> at ata0-slave PIO4 Trying to mount root from ufs:/dev/ad0s1a acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x00 acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x00 acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x00 rl0: watchdog timeout acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x00 acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x00 acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x00 acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x00 acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x00 acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x00 acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x00 acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x00 acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x00 acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x00 acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x00 acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x00 acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x00 acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x00 >How-To-Repeat: On Compaq Armada 1700 laptop, FBSD-7.1-stable add hald_enable="YES" to /etc/rc.conf and reboot >Fix: no idea, I think hal port is buggy. I think it is giving me problems on 8.0-current as well. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902051703.n15H3YqE000804>