Hey misc@, I'm able to open/close the trays of cd0, cd1 and cd3 through eject(1).
When I use eject(1) on cd2 at scsibus1 targ 0 lun 0: <_NEC, DV-5800D, F9S6> ATAPI 5/cdrom removable, the machine locks up hard. Doesn't respond to pings, sshs or ctrl-alt-dels. I've tried this with acpi on and off. Same results. :( When trying this with a ramdisk kernel, I've tried 4.3-release, 4.4-release and stable, 4.5-release, stable and current, the prompt doesn't return on all tests except the 4.3 one. The box doesn't lock up as hard as when using a regular kernel. cd0, cd1 and cd3 do open and close after making the devices with MAKEDEV when booted with bsd.rd. If I should provide more info let me know. tia, Jasper OpenBSD 4.5-current (RAMDISK_CD) #133: Fri May 8 00:26:19 MDT 2009 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK_CD cpu0: AMD Athlon(tm) XP 3200+ ("AuthenticAMD" 686-class, 512KB L2 cache) 2.21 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,F XSR,SSE real mem = 1073246208 (1023MB) avail mem = 1031086080 (983MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/04/04, BIOS32 rev. 0 @ 0xfb470, SMBIOS rev. 2.2 @ 0xf0000 (48 entries) bios0: vendor Phoenix Technologies, LTD version "ASUS A7N8X-X ACPI BIOS Rev 1011" date 08/04/2004 bios0: ASUSTeK Computer INC. A7N8X-X apm0 at bios0: Power Management spec V1.2 acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf84 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/208 (11 entries) pcibios0: PCI Exclusive IRQs: 3 4 5 10 11 pcibios0: no compatible PCI ICU found pcibios0: Warning, unable to fix up PCI interrupt routing pcibios0: PCI bus #2 is the last bus bios0: ROM list: 0xc0000/0xf800 0xd0000/0x1800 0xd2000/0x6600 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "NVIDIA nForce2 PCI" rev 0xc1 "NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 1 not configured "NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 2 not configured "NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 3 not configured "NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 4 not configured "NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 5 not configured pcib0 at pci0 dev 1 function 0 "NVIDIA nForce2 ISA" rev 0xa4 "NVIDIA nForce2 SMBus" rev 0xa2 at pci0 dev 1 function 1 not configured ohci0 at pci0 dev 2 function 0 "NVIDIA nForce2 USB" rev 0xa4: irq 11, version 1.0, legacy support ohci1 at pci0 dev 2 function 1 "NVIDIA nForce2 USB" rev 0xa4: irq 4, version 1.0, legacy support ehci0 at pci0 dev 2 function 2 "NVIDIA nForce2 USB" rev 0xa4: irq 3 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1 nfe0 at pci0 dev 4 function 0 "NVIDIA nForce2 LAN" rev 0xa1: irq 10, address 00:0e:a6:72:92:77 rlphy0 at nfe0 phy 1: RTL8201L 10/100 PHY, rev. 1 "NVIDIA nForce2 AC97" rev 0xa1 at pci0 dev 6 function 0 not configured ppb0 at pci0 dev 8 function 0 "NVIDIA nForce2 PCI-PCI" rev 0xa3 pci1 at ppb0 bus 1 ahc0 at pci1 dev 7 function 0 "Adaptec AHA-29160 U160" rev 0x02: irq 11 scsibus0 at ahc0: 16 targets, initiator 7 sd0 at scsibus0 targ 0 lun 0: <SEAGATE, ST39204LC, 0703> SCSI3 0/direct fixed sd0: 8683MB, 512 bytes/sec, 17783240 sec total cd0 at scsibus0 targ 1 lun 0: <PLEXTOR, CD-ROM PX-40TS, 1.05> SCSI2 5/cdrom removable cd1 at scsibus0 targ 4 lun 0: <PLEXTOR, CD-R PX-W124TS, 1.07> SCSI2 5/cdrom removable pciide0 at pci0 dev 9 function 0 "NVIDIA nForce2 IDE" rev 0xa2: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <Maxtor 6G160P0> wd0: 64-sector PIO, LBA48, 152627MB, 312581808 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6 atapiscsi0 at pciide0 channel 1 drive 0 scsibus1 at atapiscsi0: 2 targets cd2 at scsibus1 targ 0 lun 0: <_NEC, DV-5800D, F9S6> ATAPI 5/cdrom removable atapiscsi1 at pciide0 channel 1 drive 1 scsibus2 at atapiscsi1: 2 targets cd3 at scsibus2 targ 0 lun 0: <TSSTcorp, CDDVDW SH-S202J, SB00> ATAPI 5/cdrom removable cd2(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 cd3(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 4 ppb1 at pci0 dev 30 function 0 "NVIDIA nForce2 AGP" rev 0xc1 pci2 at ppb1 bus 2 vga1 at pci2 dev 0 function 0 "ATI Radeon X1650 Pro" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) "ATI Radeon X1650 Pro Sec" rev 0x00 at pci2 dev 0 function 1 not configured isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec usb1 at ohci0: USB revision 1.0 uhub1 at usb1 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1 usb2 at ohci1: USB revision 1.0 uhub2 at usb2 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1 biomask fbfd netmask fffd ttymask ffff rd0: fixed, 3800 blocks uhub3 at uhub1 port 1 "vendor 0x04e1 product 0x0201" rev 1.10/1.10 addr 2 softraid0 at root (ahc0:A:0:0): refuses tagged commands. Performing non-tagged I/O ahc0: target 0 using 16bit transfers ahc0: target 0 synchronous at 80.0MHz DT, offset = 0x3f root on rd0a swap on rd0b dump on rd0b OpenBSD 4.5-stable (GENERIC) #0: Sun May 3 20:02:34 CEST 2009 r...@hunter.my.domain:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Athlon(tm) XP 3200+ ("AuthenticAMD" 686-class, 512KB L2 cache) 2.21 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,F XSR,SSE real mem = 1073246208 (1023MB) avail mem = 1029500928 (981MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/04/04, BIOS32 rev. 0 @ 0xfb470, SMBIOS rev. 2.2 @ 0xf0000 (48 entries) bios0: vendor Phoenix Technologies, LTD version "ASUS A7N8X-X ACPI BIOS Rev 1011" date 08/04/2004 bios0: ASUSTeK Computer INC. A7N8X-X apm0 at bios0: Power Management spec V1.2 (slowidle) apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf84 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/208 (11 entries) pcibios0: PCI Exclusive IRQs: 3 4 5 10 11 pcibios0: no compatible PCI ICU found pcibios0: Warning, unable to fix up PCI interrupt routing pcibios0: PCI bus #2 is the last bus bios0: ROM list: 0xc0000/0xf800 0xd0000/0x1800 0xd2000/0x6600 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "NVIDIA nForce2 PCI" rev 0xc1 agp at pchb0 not configured "NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 1 not configured "NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 2 not configured "NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 3 not configured "NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 4 not configured "NVIDIA nForce2" rev 0xc1 at pci0 dev 0 function 5 not configured pcib0 at pci0 dev 1 function 0 "NVIDIA nForce2 ISA" rev 0xa4 nviic0 at pci0 dev 1 function 1 "NVIDIA nForce2 SMBus" rev 0xa2 iic0 at nviic0 spdmem0 at iic0 addr 0x52: 512MB DDR SDRAM non-parity PC3200CL2.5 iic1 at nviic0 wbenv0 at iic1 addr 0x2e: W83L785TS-L iic1: addr 0x49 03=50 04=15 10=15 11=00 12=4b 22=4b 26=4b 2f=50 34=15 3d=00 3e=4b 43=50 4c=15 50=15 5a=4b 68=15 76=4b 7d=00 7e=4b 83=50 8c=15 91=00 92=4b 9b=50 a2=4b ab=50 af=50 b8=15 bf=50 c8=15 cc=15 d5=00 d6=4b db=50 e4=15 e8=15 f2=4b f4=15 words 00=1500 01=00ff 02=4b00 03=5000 04=1500 05=00ff 06=4b00 07=5000 ohci0 at pci0 dev 2 function 0 "NVIDIA nForce2 USB" rev 0xa4: irq 11, version 1.0, legacy support ohci1 at pci0 dev 2 function 1 "NVIDIA nForce2 USB" rev 0xa4: irq 4, version 1.0, legacy support ehci0 at pci0 dev 2 function 2 "NVIDIA nForce2 USB" rev 0xa4: irq 3 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1 nfe0 at pci0 dev 4 function 0 "NVIDIA nForce2 LAN" rev 0xa1: irq 10, address 00:0e:a6:72:92:77 rlphy0 at nfe0 phy 1: RTL8201L 10/100 PHY, rev. 1 auich0 at pci0 dev 6 function 0 "NVIDIA nForce2 AC97" rev 0xa1: irq 5, nForce2 AC97 ac97: codec id 0x414c4720 (Avance Logic ALC650) ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D audio0 at auich0 ppb0 at pci0 dev 8 function 0 "NVIDIA nForce2 PCI-PCI" rev 0xa3 pci1 at ppb0 bus 1 ahc0 at pci1 dev 7 function 0 "Adaptec AHA-29160 U160" rev 0x02: irq 11 scsibus0 at ahc0: 16 targets, initiator 7 sd0 at scsibus0 targ 0 lun 0: <SEAGATE, ST39204LC, 0703> SCSI3 0/direct fixed sd0: 8683MB, 512 bytes/sec, 17783240 sec total cd0 at scsibus0 targ 1 lun 0: <PLEXTOR, CD-ROM PX-40TS, 1.05> SCSI2 5/cdrom removable cd1 at scsibus0 targ 4 lun 0: <PLEXTOR, CD-R PX-W124TS, 1.07> SCSI2 5/cdrom removable pciide0 at pci0 dev 9 function 0 "NVIDIA nForce2 IDE" rev 0xa2: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <Maxtor 6G160P0> wd0: 64-sector PIO, LBA48, 152627MB, 312581808 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6 atapiscsi0 at pciide0 channel 1 drive 0 scsibus1 at atapiscsi0: 2 targets cd2 at scsibus1 targ 0 lun 0: <_NEC, DV-5800D, F9S6> ATAPI 5/cdrom removable atapiscsi1 at pciide0 channel 1 drive 1 scsibus2 at atapiscsi1: 2 targets cd3 at scsibus2 targ 0 lun 0: <TSSTcorp, CDDVDW SH-S202J, SB00> ATAPI 5/cdrom removable cd2(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 cd3(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 4 ppb1 at pci0 dev 30 function 0 "NVIDIA nForce2 AGP" rev 0xc1 pci2 at ppb1 bus 2 vga1 at pci2 dev 0 function 0 "ATI Radeon X1650 Pro" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: irq 11 drm0 at radeondrm0 "ATI Radeon X1650 Pro Sec" rev 0x00 at pci2 dev 0 function 1 not configured isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec usb1 at ohci0: USB revision 1.0 uhub1 at usb1 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1 usb2 at ohci1: USB revision 1.0 uhub2 at usb2 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1 biomask eb5d netmask ef5d ttymask ffdf mtrr: Pentium Pro MTRR support uhub3 at uhub1 port 1 "Iiyama Hub" rev 1.10/1.10 addr 2 softraid0 at root (ahc0:A:0:0): refuses tagged commands. Performing non-tagged I/O ahc0: target 0 using 16bit transfers ahc0: target 0 synchronous at 80.0MHz DT, offset = 0x3f root on sd0a swap on sd0b dump on sd0b -- We spend the first twelve months of our children's lives teaching them to walk and talk and the next twelve telling them to sit down and shut up.