|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
cdio: The media doesn't support blankingHello.
I can't blank cd on i386, and getting: "cdio: The media doesn't support blanking" message. Same cd blanks with no problem on amd64 laptop. Don't know if it's cd drive or platform issue. I don't have other drive to test it. I'm using 4.4 snapshots on both machines. dmesg: OpenBSD 4.3-current (GENERIC) #1: Thu Jul 3 22:54:30 CEST 2008 root@...:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Athlon(tm) XP 2000+ ("AuthenticAMD" 686-class, 256KB L2 cache) 1.71 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 804810752 (767MB) avail mem = 769474560 (733MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/10/04, BIOS32 rev. 0 @ 0xf9e80, SMBIOS rev. 2.3 @ 0xf0120 (37 entries) bios0: vendor Award Software International, Inc. version "F4" date 08/10/2004 bios0: Gigabyte Technology Co., Ltd. GA-7VAX apm at bios0 function 0x15 not configured acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB6(S3) USB7(S3) USB8(S3) USB9(S3) UAR1(S5) LPT1(S5) ECP1(S5) PCI0(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiprt0 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0 acpibtn0 at acpi0: PWRB bios0: ROM list: 0xc0000/0xd000 0xd0000/0x8000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "VIA VT8377 PCI" rev 0x00 ppb0 at pci0 dev 1 function 0 "VIA VT8235 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "ATI Radeon 9200" rev 0x01 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp0 at vga1: v3, aperture at 0xd0000000, size 0x10000000 "ATI Radeon 9200 Sec" rev 0x01 at pci1 dev 0 function 1 not configured ral0 at pci0 dev 11 function 0 "Ralink RT2560" rev 0x01: irq 10, address 00:13:d3:73:7a:38 ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525 uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 5 uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 7 uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 11 ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 10 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1 viapm0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00 iic0 at viapm0 maxtmp0 at iic0 addr 0x4c: lm90 spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC2700CL2.5 spdmem1 at iic0 addr 0x51: 256MB DDR SDRAM non-parity PC2700CL2.5 pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <ST340014A> wd0: 16-sector PIO, LBA48, 38166MB, 78165360 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 1 scsibus0 at atapiscsi0: 2 targets, initiator 7 cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, CD-RW GCE-8520B, 1.03> ATAPI 5/cdrom removable cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x50: irq 11 ac97: codec id 0x414c4720 (Avance Logic ALC650) ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D audio0 at auvia0 rl0 at pci0 dev 19 function 0 "Realtek 8139" rev 0x10: irq 11, address 00:20:ed:52:04:db rlphy0 at rl0 phy 0: RTL internal PHY usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "VIA UHCI root hub" rev 1.00/1.00 addr 1 isa0 at mainbus0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 it0 at isa0 port 0x2e/2: IT8705F rev 0x02, EC port 0x290 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 biomask fded netmask fded ttymask ffff mtrr: Pentium Pro MTRR support uhidev0 at uhub1 port 1 configuration 1 interface 0 "Logitech HID compliant keyboard" rev 1.10/1.80 addr 2 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 modifier keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev1 at uhub1 port 1 configuration 1 interface 1 "Logitech HID compliant keyboard" rev 1.10/1.80 addr 2 uhidev1: iclass 3/0, 2 report ids uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0 uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0 softraid0 at root root on wd0a swap on wd0b dump on wd0b umass0 at uhub0 port 3 configuration 1 interface 0 "USBest Technology USB Mass Storage Device" rev 2.00/1.00 addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: <512MB, USB2.0FlashDrive, A4> SCSI2 0/direct removable sd0: 492MB, 62 cyl, 255 head, 63 sec, 512 bytes/sec, 1007616 sec total sd0 detached scsibus1 detached umass0 detached uhidev2 at uhub1 port 2 configuration 1 interface 0 "Logitech USB RECEIVER" rev 1.10/25.10 addr 3 uhidev2: iclass 3/1 ums0 at uhidev2: 16 buttons, Z dir wsmouse0 at ums0 mux 0 |
|
|
Re: cdio: The media doesn't support blankingOn Thu, Jul 03, 2008 at 11:19:54PM +0200, Rafal Brodewicz wrote:
> I'm using 4.4 snapshots on both machines. > > dmesg: > OpenBSD 4.3-current (GENERIC) #1: Thu Jul 3 22:54:30 CEST 2008 Sorry, I've attached wrong dmesg. OpenBSD 4.4-beta (GENERIC) #2: Fri Jul 4 18:48:52 CEST 2008 root@...:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Athlon(tm) XP 2000+ ("AuthenticAMD" 686-class, 256KB L2 cache) 1.71 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 804810752 (767MB) avail mem = 769470464 (733MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/10/04, BIOS32 rev. 0 @ 0xf9e80, SMBIOS rev. 2.3 @ 0xf0120 (37 entries) bios0: vendor Award Software International, Inc. version "F4" date 08/10/2004 bios0: Gigabyte Technology Co., Ltd. GA-7VAX apm at bios0 function 0x15 not configured acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB6(S3) USB7(S3) USB8(S3) USB9(S3) UAR1(S5) LPT1(S5) ECP1(S5) PCI0(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiprt0 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0 acpibtn0 at acpi0: PWRB bios0: ROM list: 0xc0000/0xd000 0xd0000/0x8000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "VIA VT8377 PCI" rev 0x00 ppb0 at pci0 dev 1 function 0 "VIA VT8235 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "ATI Radeon 9200" rev 0x01 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp0 at vga1: v3, aperture at 0xd0000000, size 0x10000000 "ATI Radeon 9200 Sec" rev 0x01 at pci1 dev 0 function 1 not configured ral0 at pci0 dev 11 function 0 "Ralink RT2560" rev 0x01: irq 10, address 00:13:d3:73:7a:38 ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525 uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 5 uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 7 uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 11 ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 10 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1 viapm0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00 iic0 at viapm0 maxtmp0 at iic0 addr 0x4c: lm90 spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC2700CL2.5 spdmem1 at iic0 addr 0x51: 256MB DDR SDRAM non-parity PC2700CL2.5 pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <ST340014A> wd0: 16-sector PIO, LBA48, 38166MB, 78165360 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 1 scsibus0 at atapiscsi0: 2 targets, initiator 7 cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, CD-RW GCE-8520B, 1.03> ATAPI 5/cdrom removable cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x50: irq 11 ac97: codec id 0x414c4720 (Avance Logic ALC650) ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D audio0 at auvia0 rl0 at pci0 dev 19 function 0 "Realtek 8139" rev 0x10: irq 11, address 00:20:ed:52:04:db rlphy0 at rl0 phy 0: RTL internal PHY usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "VIA UHCI root hub" rev 1.00/1.00 addr 1 isa0 at mainbus0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 it0 at isa0 port 0x2e/2: IT8705F rev 0x02, EC port 0x290 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 biomask fded netmask fded ttymask ffff mtrr: Pentium Pro MTRR support uhidev0 at uhub1 port 1 configuration 1 interface 0 "Logitech HID compliant keyboard" rev 1.10/1.80 addr 2 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 modifier keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev1 at uhub1 port 1 configuration 1 interface 1 "Logitech HID compliant keyboard" rev 1.10/1.80 addr 2 uhidev1: iclass 3/0, 2 report ids uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0 uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0 uhidev2 at uhub1 port 2 configuration 1 interface 0 "Logitech USB RECEIVER" rev 1.10/25.10 addr 3 uhidev2: iclass 3/1 ums0 at uhidev2: 16 buttons, Z dir wsmouse0 at ums0 mux 0 softraid0 at root root on wd0a swap on wd0b dump on wd0b |
|
|
|
|
|
Re: cdio: The media doesn't support blankingOn Thu, Jul 03, 2008 at 11:19:54PM +0200, Rafal Brodewicz wrote:
> I can't blank cd on i386, and getting: "cdio: The media doesn't support > blanking" message. > I'm using 4.4 snapshots on both machines. I've tested same hardware (on which it doesn't blank) with 4.3-GENERIC and cdio blanks cd's then. So the problem occurs with 4.4 and cd-drive below: cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, CD-RW GCE-8520B, 1.04> ATAPI 5/cdrom re movable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 Regards. |
|
|
Re: cdio: The media doesn't support blankingOn Thu, Jul 03, 2008 at 11:19:54PM +0200, Rafal Brodewicz wrote:
> Hello. > > I can't blank cd on i386, and getting: "cdio: The media doesn't support > blanking" message. > Same cd blanks with no problem on amd64 laptop. Don't know if it's cd drive or > platform issue. I've investigated cdio.c and mmc.c files and here's what I've spotted. Below are values from mmc.c's while loop in get_media_capabilities(int *cap) function; mmc.c: feature == 0 *cap == 0 mmc.c: feature == 1 *cap == 0 mmc.c: feature == 2 *cap == 0 mmc.c: feature == 3 *cap == 0 mmc.c: feature == 1d *cap == 0 mmc.c: feature == 21 *cap == 0 mmc.c: feature == 23 *cap == 0 mmc.c: feature == 2d *cap == 1 mmc.c: feature == 2e *cap == 1 mmc.c: feature == 100 *cap == 1 mmc.c: feature == 104 *cap == 1 mmc.c: feature == 105 *cap == 1 Above function sets *cap to 1. MEDIACAP_CDRW_WRITE has 0x02 value, so if ((mediacap & MEDIACAP_CDRW_WRITE) == 0) test in cdio.c file is true. When I comment out this test my cd-drive blanks with no problem, so I think that its features are discovered wrongly. Regards. OpenBSD 4.4-beta (GENERIC) #977: Mon Jul 14 20:20:57 MDT 2008 pvalchev@...:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Athlon(tm) XP 2000+ ("AuthenticAMD" 686-class, 256KB L2 cache) 1.71 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 804810752 (767MB) avail mem = 769478656 (733MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/10/04, BIOS32 rev. 0 @ 0xf9e80, SMBIOS rev. 2.3 @ 0xf0120 (37 entries) bios0: vendor Award Software International, Inc. version "F4" date 08/10/2004 bios0: Gigabyte Technology Co., Ltd. GA-7VAX 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/0xc9c4 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc910/176 (9 entries) pcibios0: PCI Exclusive IRQs: 5 7 10 11 pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C596A ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc0000/0xd000 0xd0000/0x8000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "VIA VT8377 PCI" rev 0x00 ppb0 at pci0 dev 1 function 0 "VIA VT8235 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "ATI Radeon 9200" rev 0x01 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp0 at vga1: v3, aperture at 0xd0000000, size 0x10000000 "ATI Radeon 9200 Sec" rev 0x01 at pci1 dev 0 function 1 not configured ral0 at pci0 dev 11 function 0 "Ralink RT2560" rev 0x01: irq 10, address 00:13:d3:73:7a:38 ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525 uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 5 uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 7 uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 11 ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 10 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1 viapm0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00 iic0 at viapm0 maxtmp0 at iic0 addr 0x4c: lm90 spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC2700CL2.5 spdmem1 at iic0 addr 0x51: 256MB DDR SDRAM non-parity PC2700CL2.5 pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <ST340014A> wd0: 16-sector PIO, LBA48, 38166MB, 78165360 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets, initiator 7 cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, CD-RW GCE-8520B, 1.04> ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x50: irq 11 ac97: codec id 0x414c4720 (Avance Logic ALC650) ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D audio0 at auvia0 rl0 at pci0 dev 19 function 0 "Realtek 8139" rev 0x10: irq 11, address 00:20:ed:52:04:db rlphy0 at rl0 phy 0: RTL internal PHY usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "VIA UHCI root hub" rev 1.00/1.00 addr 1 isa0 at mainbus0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 it0 at isa0 port 0x2e/2: IT8705F rev 0x02, EC port 0x290 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 biomask ffed netmask ffed ttymask ffff mtrr: Pentium Pro MTRR support uhidev0 at uhub1 port 1 configuration 1 interface 0 "Logitech HID compliant keyboard" rev 1.10/1.80 addr 2 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 modifier keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev1 at uhub1 port 1 configuration 1 interface 1 "Logitech HID compliant keyboard" rev 1.10/1.80 addr 2 uhidev1: iclass 3/0, 2 report ids uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0 uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0 softraid0 at root root on wd0a swap on wd0b dump on wd0b uhidev2 at uhub1 port 2 configuration 1 interface 0 "Logitech USB RECEIVER" rev 1.10/25.10 addr 3 uhidev2: iclass 3/1 ums0 at uhidev2: 16 buttons, Z dir wsmouse0 at ums0 mux 0 |
| Free embeddable forum powered by Nabble | Forum Help |