CDMRW in 2.6
I've posted about this once before but got no response
(http://marc.theaimsgroup.com/?l=linux-kernel&m=108547084708532&w=2).
Since then I've tried kernels (including -rc and -mm) from time to time, but still no joy. However, with 2.6.8-rc3 the error messages that I see from dmesg have changed so I thought I'd give it another go. The other thing that's changed since my last post is my CDRW drive. In an effort to get CDMRW working, I bought a Lite-On LTR-52327S (52x32x52), which according to
http://mt-rainier.org/ is a verfied product (we'll have to ignore the firmware version shown on that site; Lite-On insist that it does not exist, but I do have the latest version available from Lite-On).
The CDRW media works fine with packet writing that I have patched into another kernel, so it doesn't appear to be a media problem. I've also tried some Verbatim 32x media in case it was a speed of drive versus max speed of media problem, but that made no difference. I'm using what I believe to be the latest version of the cdmrw application - posted to this list by Jens Axboe on 2003-12-18 and the latest version of mkudffs (1.0.0b3).
The process I go through to prepare a cdmrw disk is as follows:
cdrwtool -d /dev/hdc -t 10 -b fast
cdmrw -d /dev/hdc -f full
while cdmrw -d /dev/hdc -f full | grep "mrw format running" ; do sleep 10; done
mkudffs --media-type=cdrw /dev/hdc
dmesg then shows:
Linux version 2.6.8-rc3 (chris@upstairs) (gcc version 3.3.4) #1 Mon Aug 9 11:54:41 UTC 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS)
BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 131056
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 126960 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 KT266 ) @ 0x000f7570
ACPI: RSDT (v001 KT266 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1fff3000
ACPI: FADT (v001 KT266 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1fff3040
ACPI: DSDT (v001 KT266 AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000 Built 1 zonelists
Kernel command line: root=/dev/hdb1 ro
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
PID hash table entries: 2048 (order 11: 16384 bytes)
Detected 1741.087 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 515192k/524224k available (2116k kernel code, 8268k reserved, 859k data, 152k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay loop... 3432.44 BogoMIPS
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0383fbff c1c3fbff 00000000 00000000
CPU: After vendor identify, caps: 0383fbff c1c3fbff 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After all inits, caps: 0383fbff c1c3fbff 00000000 00000020
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: AMD Athlon(tm) XP 2100+ stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1740.0523 MHz.
..... host bus clock speed is 267.0772 MHz.
NET: Registered protocol family 16
spurious 8259A interrupt: IRQ7.
PCI: PCI BIOS revision 2.10 entry at 0xfb470, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router default [1106/3099] at 0000:00:00.0
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
udf: registering filesystem
Initializing Cryptographic API
lp: driver loaded but no devices found
Real Time Clock Driver v1.12
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected VIA KT266/KY266x/KT333 chipset
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 64M @ 0xe8000000
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
lp0: using parport0 (polling).
Using anticipatory io scheduler
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
8139too Fast Ethernet driver 0.9.27
eth0: RealTek RTL8139 at 0xe0816000, 00:10:a7:16:aa:36, IRQ 11
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xxVP_IDE: IDE controller at PCI slot 0000:00:11.1VP_IDE: chipset revision 6VP_IDE: not 100% native mode: will probe irqs laterVP_IDE: VIA vt8233a (rev 00) IDE UDMA133 controller on pci0000:00:11.1
ide0: BM-DMA at 0xd400-0xd407, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xd408-0xd40f, BIOS settings: hdc:DMA, hdd:DMAhda: ExcelStor Technology J360, ATA DISK drive
hda: IRQ probe failed (0xfefa)
hdb: ExcelStor Technology J360, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: LITE-ON LTR-52327S, ATAPI CD/DVD-ROM drive
hdd: OPTORITEDVD RW DD0203, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 1024KiB
hda: 120103200 sectors (61492 MB) w/1821KiB Cache, CHS=16383/255/63, UDMA(100)
hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 >
hdb: max request size: 1024KiB
hdb: 120103200 sectors (61492 MB) w/1821KiB Cache, CHS=16383/255/63, UDMA(100)
hdb: hdb1 hdb2 hdb3 hdb4 < hdb5 hdb6 hdb7 >
hdc: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache, UDMA(33) ehci_hcd 0000:00:09.2: NEC Corporation USB 2.0ehci_hcd 0000:00:09.2: irq 10, pci mem e0818000ehci_hcd 0000:00:09.2: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:09.2: USB 2.0 enabled, EHCI 0.95, driver 2004-May-10 hub 1-0:1.0: USB hub found
hub 1-0:1.0: 5 ports detectedohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)ohci_hcd: block sizes: ed 64 td 64ohci_hcd 0000:00:09.0: NEC Corporation USBohci_hcd 0000:00:09.0: irq 11, pci mem e081a000ohci_hcd 0000:00:09.0: new USB bus registered, assigned bus number 2 hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detectedohci_hcd 0000:00:09.1: NEC Corporation USB (#2)ohci_hcd 0000:00:09.1: irq 5, pci mem e081c000ohci_hcd 0000:00:09.1: new USB bus registered, assigned bus number 3 hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
USB Universal Host Controller Interface driver v2.2uhci_hcd 0000:00:11.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controlleruhci_hcd 0000:00:11.2: irq 10, io base 0000d800uhci_hcd 0000:00:11.2: new USB bus registered, assigned bus number 4 hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detecteduhci_hcd 0000:00:11.3: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)uhci_hcd 0000:00:11.3: irq 10, io base 0000dc00uhci_hcd 0000:00:11.3: new USB bus registered, assigned bus number 5 hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
Advanced Linux Sound Architecture Driver Version 1.0.4 (Mon May 17 14:31:44 2004 UTC).
PCI: Setting latency timer of device 0000:00:11.5 to 64
usb 4-1: new full speed USB device using address 2
ALSA device list:
#0: VIA 8233A at 0xe000, irq 5
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
NET: Registered protocol family 1
NET: Registered protocol family 15
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 152k freed
EXT3 FS on hdb1, internal journal
Adding 997912k swap on /dev/hdb2. Priority:-1 extents:1ip_tables: (C) 2000-2002 Netfilter core team
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Linux video capture interface: v1.00
bttv: driver version 0.9.15 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:00:0b.0, irq: 10, latency: 32, mmio: 0xee003000
bttv0: detected: Pinnacle PCTV [card=39], PCI subsystem ID is 11bd:0012
bttv0: using: Pinnacle PCTV Studio/Rave [card=39,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00fffbdf [init]
bttv0: i2c: checking for MSP34xx @ 0x80... found
bttv0: pinnacle/mt: id=2 info="PAL+SECAM / stereo" radio=yes
bttv0: using tuner=33
bttv0: i2c: checking for MSP34xx @ 0x80... found
msp34xx: init: chip=MSP3410G-B11 +nicam +simple +radio
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
msp3410: daemon started
tda9885/6/7: chip found @ 0x86
tuner: chip found at addr 0xc0 i2c-bus bt878 #0 [sw]
tuner: type set to 33 (MT20xx universal) by bt878 #0 [sw]
tuner: microtune: companycode=4d54 part=04 rev=04
tuner: microtune MT2032 found, OK
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: registered device radio0
bttv0: PLL: 28636363 => 35468950 .. okatkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86, might be trying access hardware directly.atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86, might be trying access hardware directly.
cdrom: hdc: mrw address space DMA selected
cdrom open: mrw_status 'mrw complete'
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1048576
Buffer I/O error on device hdc, logical block 262144
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1048580
Buffer I/O error on device hdc, logical block 262145
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1040384
Buffer I/O error on device hdc, logical block 260096
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1040388
Buffer I/O error on device hdc, logical block 260097
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1036288
Buffer I/O error on device hdc, logical block 259072
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1036292
Buffer I/O error on device hdc, logical block 259073
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1034240
Buffer I/O error on device hdc, logical block 258560
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1034244
Buffer I/O error on device hdc, logical block 258561
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1033216
Buffer I/O error on device hdc, logical block 258304
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1033220
Buffer I/O error on device hdc, logical block 258305
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1032704
Buffer I/O error on device hdc, logical block 258176
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1032708
Buffer I/O error on device hdc, logical block 258177
As before, I'm more than willing to provide more diagnostics, try patches, etc. Please cc me, I'm not subscribed.
Thanks.
Chris.
Quoted 253 lines · Chris Clayton
I've posted about this once before but got no response (http://marc.theaimsgroup.com/?l=linux-kernel&m=108547084708532&w=2).
Since then I've tried kernels (including -rc and -mm) from time to time, but still no joy. However, with 2.6.8-rc3 the error messages that I see from dmesg have changed so I thought I'd give it another go. The other thing that's changed since my last post is my CDRW drive. In an effort to get CDMRW working, I bought a Lite-On LTR-52327S (52x32x52), which according to http://mt-rainier.org/ is a verfied product (we'll have to ignore the firmware version shown on that site; Lite-On insist that it does not exist, but I do have the latest version available from Lite-On).The CDRW media works fine with packet writing that I have patched into another kernel, so it doesn't appear to be a media problem. I've also tried some Verbatim 32x media in case it was a speed of drive versus max speed of media problem, but that made no difference. I'm using what I believe to be the latest version of the cdmrw application - posted to this list by Jens Axboe on 2003-12-18 and the latest version of mkudffs (1.0.0b3).
The process I go through to prepare a cdmrw disk is as follows:
cdrwtool -d
/dev/hdc-t 10 -b fast
cdmrw -d/dev/hdc-f full
while cdmrw -d/dev/hdc-f full | grep "mrw format running" ; do sleep 10; done mkudffs --media-type=cdrw/dev/hdcdmesg then shows:
Linux version 2.6.8-rc3 (chris@upstairs) (gcc version 3.3.4) #1 Mon Aug 9 11:54:41 UTC 2004 BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 -000000000009fc00(usable)
BIOS-e820:000000000009fc00-00000000000a0000(reserved)
BIOS-e820:00000000000f0000- 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 -000000001fff0000(usable)
BIOS-e820:000000001fff0000-000000001fff3000(ACPI NVS)
BIOS-e820:000000001fff3000- 0000000020000000 (ACPI data)
BIOS-e820:00000000ffff0000- 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 131056
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 126960 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 KT266 ) @0x000f7570
ACPI: RSDT (v001 KT266 AWRDACPI0x42302e31AWRD0x00000000) @0x1fff3000
ACPI: FADT (v001 KT266 AWRDACPI0x42302e31AWRD0x00000000) @0x1fff3040
ACPI: DSDT (v001 KT266 AWRDACPI0x00001000MSFT0x0100000c) @0x00000000
Built 1 zonelists
Kernel command line: root=/dev/hdb1 ro
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
PID hash table entries: 2048 (order 11: 16384 bytes)
Detected 1741.087 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 515192k/524224k available (2116k kernel code, 8268k reserved, 859k data, 152k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay loop... 3432.44 BogoMIPS
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps:0383fbffc1c3fbff00000000 00000000
CPU: After vendor identify, caps:0383fbffc1c3fbff00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After all inits, caps:0383fbffc1c3fbff00000000 00000020
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: AMD Athlon(tm) XP 2100+ stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1740.0523 MHz.
..... host bus clock speed is 267.0772 MHz.
NET: Registered protocol family 16
spurious 8259A interrupt: IRQ7.
PCI: PCI BIOS revision 2.10 entry at0xfb470, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router default [1106/3099] at 0000:00:00.0
apm: BIOS version 1.2 Flags0x07(Driver version 1.16ac)
udf: registering filesystem
Initializing Cryptographic API
lp: driver loaded but no devices found
Real Time Clock Driver v1.12
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected VIA KT266/KY266x/KT333 chipset
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 64M @0xe8000000
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O0x3f8(irq = 4) is a 16550A
ttyS1 at I/O0x2f8(irq = 3) is a 16550A
parport0: PC-style at0x378[PCSPP,TRISTATE]
lp0: using parport0 (polling).
Using anticipatory io scheduler
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
8139too Fast Ethernet driver 0.9.27
eth0: RealTek RTL8139 at0xe0816000, 00:10:a7:16:aa:36, IRQ 11
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xxVP_IDE: IDE controller at PCI slot 0000:00:11.1VP_IDE: chipset revision 6VP_IDE: not 100% native mode: will probe irqs laterVP_IDE: VIA vt8233a (rev 00) IDE UDMA133 controller on pci0000:00:11.1ide0: BM-DMA at 0xd400-0xd407, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0xd408-0xd40f, BIOS settings: hdc:DMA, hdd:DMAhda: ExcelStor Technology J360, ATA DISK drive
hda: IRQ probe failed (0xfefa)
hdb: ExcelStor Technology J360, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: LITE-ON LTR-52327S, ATAPI CD/DVD-ROM drive
hdd: OPTORITEDVD RW DD0203, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 1024KiB
hda: 120103200 sectors (61492 MB) w/1821KiB Cache, CHS=16383/255/63, UDMA(100)
hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 >
hdb: max request size: 1024KiB
hdb: 120103200 sectors (61492 MB) w/1821KiB Cache, CHS=16383/255/63, UDMA(100)
hdb: hdb1 hdb2 hdb3 hdb4 < hdb5 hdb6 hdb7 >
hdc: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache, UDMA(33)ehci_hcd0000:00:09.2: NEC Corporation USB 2.0ehci_hcd0000:00:09.2: irq 10, pci meme0818000ehci_hcd0000:00:09.2: new USB bus registered, assigned bus number 1ehci_hcd0000:00:09.2: USB 2.0 enabled, EHCI 0.95, driver 2004-May-10
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 5 ports detectedohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)ohci_hcd: block sizes: ed 64 td 64ohci_hcd0000:00:09.0: NEC Corporation USBohci_hcd0000:00:09.0: irq 11, pci meme081a000ohci_hcd0000:00:09.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detectedohci_hcd0000:00:09.1: NEC Corporation USB (#2)ohci_hcd0000:00:09.1: irq 5, pci meme081c000ohci_hcd0000:00:09.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
USB Universal Host Controller Interface driver v2.2uhci_hcd0000:00:11.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controlleruhci_hcd0000:00:11.2: irq 10, io base0000d800uhci_hcd0000:00:11.2: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detecteduhci_hcd0000:00:11.3: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)uhci_hcd0000:00:11.3: irq 10, io base0000dc00uhci_hcd0000:00:11.3: new USB bus registered, assigned bus number 5
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
Advanced Linux Sound Architecture Driver Version 1.0.4 (Mon May 17 14:31:44 2004 UTC).
PCI: Setting latency timer of device 0000:00:11.5 to 64
usb 4-1: new full speed USB device using address 2
ALSA device list:
#0: VIA 8233A at0xe000, irq 5
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
NET: Registered protocol family 1
NET: Registered protocol family 15
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 152k freed
EXT3 FS on hdb1, internal journal
Adding 997912k swap on/dev/hdb2. Priority:-1 extents:1ip_tables: (C) 2000-2002 Netfilter core team
eth0: link up, 100Mbps, full-duplex, lpa0x45E1
Linux video capture interface: v1.00
bttv: driver version 0.9.15 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:00:0b.0, irq: 10, latency: 32, mmio:0xee003000
bttv0: detected: Pinnacle PCTV [card=39], PCI subsystem ID is 11bd:0012
bttv0: using: Pinnacle PCTV Studio/Rave [card=39,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00fffbdf [init]
bttv0: i2c: checking for MSP34xx @0x80... found
bttv0: pinnacle/mt: id=2 info="PAL+SECAM / stereo" radio=yes
bttv0: using tuner=33
bttv0: i2c: checking for MSP34xx @0x80... found
msp34xx: init: chip=MSP3410G-B11 +nicam +simple +radio
bttv0: i2c: checking for TDA9875 @0xb0... not found
bttv0: i2c: checking for TDA7432 @0x8a... not found
msp3410: daemon started
tda9885/6/7: chip found @0x86
tuner: chip found at addr0xc0i2c-bus bt878 #0 [sw]
tuner: type set to 33 (MT20xx universal) by bt878 #0 [sw]
tuner: microtune: companycode=4d54 part=04 rev=04
tuner: microtune MT2032 found, OK
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: registered device radio0
bttv0: PLL: 28636363 => 35468950 .. okatkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86, might be trying access hardware directly.atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86, might be trying access hardware directly.
cdrom: hdc: mrw address space DMA selected
cdrom open:mrw_status'mrw complete'
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1048576
Buffer I/O error on device hdc, logical block 262144
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1048580
Buffer I/O error on device hdc, logical block 262145
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1040384
Buffer I/O error on device hdc, logical block 260096
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1040388
Buffer I/O error on device hdc, logical block 260097
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1036288
Buffer I/O error on device hdc, logical block 259072
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1036292
Buffer I/O error on device hdc, logical block 259073
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1034240
Buffer I/O error on device hdc, logical block 258560
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1034244
Buffer I/O error on device hdc, logical block 258561
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1033216
Buffer I/O error on device hdc, logical block 258304
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1033220
Buffer I/O error on device hdc, logical block 258305
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1032704
Buffer I/O error on device hdc, logical block 258176
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1032708
Buffer I/O error on device hdc, logical block 258177
Quoted 1 line
As before, I'm more than willing to provide more diagnostics, try patches, etc. Please cc me, I'm not subscribed.
What does hdparm show after boot before you start this process? Any odd DMA or mode settings?
Signature · 3 lines
-bill davidsen ([email protected]) "The secret to procrastination is to put things off until the last possible moment - but no longer" -me
Quoted 276 lines · Bill Davidsen
Quoted 275 lines · Chris Clayton
I've posted about this once before but got no response
(http://marc.theaimsgroup.com/?l=linux-kernel&m=108547084708532&w=2).
Since then I've tried kernels (including -rc and -mm) from time to time, but still no joy. However, with 2.6.8-rc3 the error messages that I see from dmesg have changed so I thought I'd give it another go. The other thing that's changed since my last post is my CDRW drive. In an effort to get CDMRW working, I bought a Lite-On LTR-52327S (52x32x52), which according to http://mt-rainier.org/ is a verfied product (we'll have to ignore the firmware version shown on that site; Lite-On insist that it does not exist, but I do have the latest version available from Lite-On).The CDRW media works fine with packet writing that I have patched into another kernel, so it doesn't appear to be a media problem. I've also tried some Verbatim 32x media in case it was a speed of drive versus max speed of media problem, but that made no difference. I'm using what I believe to be the latest version of the cdmrw application - posted to this list by Jens Axboe on 2003-12-18 and the latest version of mkudffs (1.0.0b3).
The process I go through to prepare a cdmrw disk is as follows:
cdrwtool -d
/dev/hdc-t 10 -b fast
cdmrw -d/dev/hdc-f full
while cdmrw -d/dev/hdc-f full | grep "mrw format running" ; do sleep 10; done
mkudffs --media-type=cdrw/dev/hdcdmesg then shows:
Linux version 2.6.8-rc3 (chris@upstairs) (gcc version 3.3.4) #1 Mon Aug 9 11:54:41 UTC 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 -000000000009fc00(usable)
BIOS-e820:000000000009fc00-00000000000a0000(reserved)
BIOS-e820:00000000000f0000- 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 -000000001fff0000(usable)
BIOS-e820:000000001fff0000-000000001fff3000(ACPI NVS)
BIOS-e820:000000001fff3000- 0000000020000000 (ACPI data)
BIOS-e820:00000000ffff0000- 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 131056
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 126960 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 KT266 ) @0x000f7570
ACPI: RSDT (v001 KT266 AWRDACPI0x42302e31AWRD0x00000000) @0x1fff3000
ACPI: FADT (v001 KT266 AWRDACPI0x42302e31AWRD0x00000000) @0x1fff3040
ACPI: DSDT (v001 KT266 AWRDACPI0x00001000MSFT0x0100000c) @0x00000000Built 1 zonelists
Kernel command line: root=/dev/hdb1 ro
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
PID hash table entries: 2048 (order 11: 16384 bytes)
Detected 1741.087 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 515192k/524224k available (2116k kernel code, 8268k reserved, 859k data, 152k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay loop... 3432.44 BogoMIPS
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps:0383fbffc1c3fbff00000000 00000000
CPU: After vendor identify, caps:0383fbffc1c3fbff00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After all inits, caps:0383fbffc1c3fbff00000000 00000020
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: AMD Athlon(tm) XP 2100+ stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1740.0523 MHz.
..... host bus clock speed is 267.0772 MHz.
NET: Registered protocol family 16
spurious 8259A interrupt: IRQ7.
PCI: PCI BIOS revision 2.10 entry at0xfb470, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router default [1106/3099] at 0000:00:00.0
apm: BIOS version 1.2 Flags0x07(Driver version 1.16ac)
udf: registering filesystem
Initializing Cryptographic API
lp: driver loaded but no devices found
Real Time Clock Driver v1.12
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected VIA KT266/KY266x/KT333 chipset
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 64M @0xe8000000
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled ttyS0 at I/O0x3f8(irq = 4) is a 16550A
ttyS1 at I/O0x2f8(irq = 3) is a 16550A
parport0: PC-style at0x378[PCSPP,TRISTATE]
lp0: using parport0 (polling).
Using anticipatory io scheduler
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
8139too Fast Ethernet driver 0.9.27
eth0: RealTek RTL8139 at0xe0816000, 00:10:a7:16:aa:36, IRQ 11
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xxVP_IDE: IDE controller at PCI slot 0000:00:11.1VP_IDE: chipset revision 6VP_IDE: not 100% native mode: will probe irqs laterVP_IDE: VIA vt8233a (rev 00) IDE UDMA133 controller on pci0000:00:11.1ide0: BM-DMA at 0xd400-0xd407, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0xd408-0xd40f, BIOS settings: hdc:DMA, hdd:DMAhda: ExcelStor Technology J360, ATA DISK drive
hda: IRQ probe failed (0xfefa)
hdb: ExcelStor Technology J360, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: LITE-ON LTR-52327S, ATAPI CD/DVD-ROM drive
hdd: OPTORITEDVD RW DD0203, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 1024KiB
hda: 120103200 sectors (61492 MB) w/1821KiB Cache, CHS=16383/255/63, UDMA(100) hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 >
hdb: max request size: 1024KiB
hdb: 120103200 sectors (61492 MB) w/1821KiB Cache, CHS=16383/255/63, UDMA(100) hdb: hdb1 hdb2 hdb3 hdb4 < hdb5 hdb6 hdb7 >
hdc: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache, UDMA(33)ehci_hcd0000:00:09.2: NEC Corporation USB 2.0ehci_hcd0000:00:09.2: irq 10, pci meme0818000ehci_hcd0000:00:09.2: new USB bus registered, assigned bus number 1ehci_hcd0000:00:09.2: USB 2.0 enabled, EHCI 0.95, driver 2004-May-10 hub 1-0:1.0: USB hub found
hub 1-0:1.0: 5 ports detectedohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)ohci_hcd: block sizes: ed 64 td 64ohci_hcd0000:00:09.0: NEC Corporation USBohci_hcd0000:00:09.0: irq 11, pci meme081a000ohci_hcd0000:00:09.0: new USB bus registered, assigned bus number 2 hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detectedohci_hcd0000:00:09.1: NEC Corporation USB (#2)ohci_hcd0000:00:09.1: irq 5, pci meme081c000ohci_hcd0000:00:09.1: new USB bus registered, assigned bus number 3 hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
USB Universal Host Controller Interface driver v2.2uhci_hcd0000:00:11.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controlleruhci_hcd0000:00:11.2: irq 10, io base0000d800uhci_hcd0000:00:11.2: new USB bus registered, assigned bus number 4 hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detecteduhci_hcd0000:00:11.3: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)uhci_hcd0000:00:11.3: irq 10, io base0000dc00uhci_hcd0000:00:11.3: new USB bus registered, assigned bus number 5 hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0 Advanced Linux Sound Architecture Driver Version 1.0.4 (Mon May 17 14:31:44 2004 UTC).
PCI: Setting latency timer of device 0000:00:11.5 to 64
usb 4-1: new full speed USB device using address 2
ALSA device list:
#0: VIA 8233A at0xe000, irq 5
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
NET: Registered protocol family 1
NET: Registered protocol family 15
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 152k freed
EXT3 FS on hdb1, internal journal
Adding 997912k swap on/dev/hdb2. Priority:-1 extents:1ip_tables: (C) 2000-2002 Netfilter core team
eth0: link up, 100Mbps, full-duplex, lpa0x45E1
Linux video capture interface: v1.00
bttv: driver version 0.9.15 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:00:0b.0, irq: 10, latency: 32, mmio:0xee003000bttv0: detected: Pinnacle PCTV [card=39], PCI subsystem ID is 11bd:0012 bttv0: using: Pinnacle PCTV Studio/Rave [card=39,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00fffbdf [init]
bttv0: i2c: checking for MSP34xx @0x80... found
bttv0: pinnacle/mt: id=2 info="PAL+SECAM / stereo" radio=yes
bttv0: using tuner=33
bttv0: i2c: checking for MSP34xx @0x80... found
msp34xx: init: chip=MSP3410G-B11 +nicam +simple +radio
bttv0: i2c: checking for TDA9875 @0xb0... not found
bttv0: i2c: checking for TDA7432 @0x8a... not found
msp3410: daemon started
tda9885/6/7: chip found @0x86
tuner: chip found at addr0xc0i2c-bus bt878 #0 [sw]
tuner: type set to 33 (MT20xx universal) by bt878 #0 [sw]
tuner: microtune: companycode=4d54 part=04 rev=04
tuner: microtune MT2032 found, OK
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: registered device radio0
bttv0: PLL: 28636363 => 35468950 .. okatkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86, might be trying access hardware directly.atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86, might be trying access hardware directly.
cdrom: hdc: mrw address space DMA selected
cdrom open:mrw_status'mrw complete'
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1048576
Buffer I/O error on device hdc, logical block 262144
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1048580
Buffer I/O error on device hdc, logical block 262145
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1040384
Buffer I/O error on device hdc, logical block 260096
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1040388
Buffer I/O error on device hdc, logical block 260097
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1036288
Buffer I/O error on device hdc, logical block 259072
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1036292
Buffer I/O error on device hdc, logical block 259073
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1034240
Buffer I/O error on device hdc, logical block 258560
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1034244
Buffer I/O error on device hdc, logical block 258561
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1033216
Buffer I/O error on device hdc, logical block 258304
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1033220
Buffer I/O error on device hdc, logical block 258305
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1032704
Buffer I/O error on device hdc, logical block 258176
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1032708
Buffer I/O error on device hdc, logical block 258177
Quoted 5 lines
Quoted 2 lines
As before, I'm more than willing to provide more diagnostics, try patches, etc. Please cc me, I'm not subscribed.
What does hdparm show after boot before you start this process? Any odd DMA or mode settings?
Thanks for the reply. hdparm shows:
/dev/hdc:
HDIO_GET_MULTCOUNT failed: Invalid argument
IO_support = 1 (32-bit) unmaskirq = 1 (on) using_dma = 1 (on) keepsettings = 0 (off) readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Invalid argument
Signature · 1 line
Chris Clayton
Quoted 5 lines · Chris Clayton
cdrom: hdc: mrw address space DMA selected
cdrom open:mrw_status'mrw complete'
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1048576
Command was aborted, probably the media isn't writable after all. Can you try and force a full format with cdrwtool?
Signature · 1 line
Jens Axboe
Quoted 11 lines · Jens Axboe
Quoted 7 lines · Chris Clayton
cdrom: hdc: mrw address space DMA selected
cdrom open:mrw_status'mrw complete'
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1048576
Quoted 5 lines
Command was aborted, probably the media isn't writable after all. Can you try and force a full format with cdrwtool?
I don't like to sound critical or "me too"-ish, but I have had the same problem with my LiteOn Combo SOHC-5232K. The error and status codeswere the same. I contacted Jens Axboe, but he wasn't able to help me and suggested it was a firmware problem. I'll try the suggestion. I hope this isn't a problem with a ll LiteOn drives.
(don't trim cc lists...)
Quoted 18 lines · Alan Jenkins
Quoted 11 lines · Jens Axboe
Quoted 7 lines · Chris Clayton
cdrom: hdc: mrw address space DMA selected
cdrom open:mrw_status'mrw complete'
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1048576Quoted 5 lines
Command was aborted, probably the media isn't writable after all. Can you try and force a full format with cdrwtool?
Quoted 5 lines
I don't like to sound critical or "me too"-ish, but I have had the same problem with my LiteOn Combo SOHC-5232K. The error and status codeswere the same. I contacted Jens Axboe, but he wasn't able to help me and suggested it was a firmware problem. I'll try the suggestion. I hope this isn't a problem with a ll LiteOn drives.
It is suspicious, since Chris is using a LiteOn as well. I have no clues what is wrong so far, I can just see that it's aborting the write command.
Signature · 1 line
Jens Axboe
Quoted 20 lines · Jens Axboe
(don't trim cc lists...)
Quoted 8 lines · Alan Jenkins
Quoted 7 lines · Jens Axboe
Quoted 5 lines · Chris Clayton
cdrom: hdc: mrw address space DMA selected
cdrom open:mrw_status'mrw complete'
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1048576Quoted 8 lines
Quoted 2 lines
Command was aborted, probably the media isn't writable after all. Can you try and force a full format with cdrwtool?
I don't like to sound critical or "me too"-ish, but I have had the same problem with my LiteOn Combo SOHC-5232K. The error and status codeswere the same. I contacted Jens Axboe, but he wasn't able to help me and suggested it was a firmware problem. I'll try the suggestion. I hope this isn't a problem with a ll LiteOn drives.
Quoted 3 lines
It is suspicious, since Chris is using a LiteOn as well. I have no clues what is wrong so far, I can just see that it's aborting the write command.
Actually, it's even more suspicious than that. As I said in the first message in this thread, this is my second Lite-on drive - I replaced the original (with a model that mt-rainier.org/ shows as being validated) in an attempt to get Mt Rainier working. Furthermore, my attempts to find a solution on LKML unearted a posting by Doug Holland, who was also reporting problems with a Lite-on drive
(http://marc.theaimsgroup.com/?l=linux-kernel&m=107955822109371&w=2).
Quoted 25 lines · Chris Clayton
Quoted 20 lines · Jens Axboe
(don't trim cc lists...)
Quoted 8 lines · Alan Jenkins
Quoted 7 lines · Jens Axboe
Quoted 5 lines · Chris Clayton
cdrom: hdc: mrw address space DMA selected
cdrom open:mrw_status'mrw complete'
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1048576Quoted 8 lines
Quoted 2 lines
Command was aborted, probably the media isn't writable after all. Can you try and force a full format with cdrwtool?
I don't like to sound critical or "me too"-ish, but I have had the same problem with my LiteOn Combo SOHC-5232K. The error and status codeswere the same. I contacted Jens Axboe, but he wasn't able to help me and suggested it was a firmware problem. I'll try the suggestion. I hope this isn't a problem with a ll LiteOn drives.
Quoted 3 lines
It is suspicious, since Chris is using a LiteOn as well. I have no clues what is wrong so far, I can just see that it's aborting the write command.
Quoted 7 lines
Actually, it's even more suspicious than that. As I said in the first message in this thread, this is my second Lite-on drive - I replaced the original (with a model that mt-rainier.org/ shows as being validated) in an attempt to get Mt Rainier working. Furthermore, my attempts to find a solution on LKML unearted a posting by Doug Holland, who was also reporting problems with a Lite-on drive
(http://marc.theaimsgroup.com/?l=linux-kernel&m=107955822109371&w=2).
I have a few drives here, it works fine for me. The implementation is constructed after the first pre-drafts of mt rainier. I'd like to get it working on the Lite-on, without a drive (or acces to one) it's going to be time consuming.
Signature · 1 line
Jens Axboe
[re. liteon LTR-52327S not working with CDMRW]
[ http://marc.theaimsgroup.com/?t=109206605900001&r=1&w=2 ]
Quoted 4 lines · Jens Axboe
I have a few drives here, it works fine for me. The implementation is constructed after the first pre-drafts of mt rainier. I'd like to get it working on the Lite-on, without a drive (or acces to one) it's going to be time consuming.
I also own one of these drives and am having the same trouble. I'd be willing to send you one of these drives if it comes to that. But I won't be able to do that until late January or so.
In the mean time, I'm going to have a go at debugging this myself. Do you have any pointers where I could start looking?
Thanks,
Daniel
Quoted 9 lines · Jens Axboe
Quoted 5 lines · Chris Clayton
cdrom: hdc: mrw address space DMA selected
cdrom open:mrw_status'mrw complete'
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1048576Command was aborted, probably the media isn't writable after all. Can you try and force a full format with cdrwtool?
Jens,
Did you mean cdrwtool or cdmrw?
I've done a format with cdrwtool (cdrwtool -t 10 -d /dev/hdc -q) but when I try and mount it (mount -o rw,noatime -t udf /dev/hdc /cdmrw) and mount gives the message:
mount: block device /dev/hdc is write-protected, mounting read-only
dmesg shows no error after cdrwtool has run but has the following new messages after the media is mounted:
cdrom: hdc: mrw address space DMA selected
cdrom open: mrw_status 'not mrw'
UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'LinuxUDF', timestamp 2004/08/13 12:35 (1000)
The media does, however, mount OK for packet writing (sudo mount -t udf -o rw,noatime /dev/pktcdvd/cdrw /cdrw) using another kernel patched with the packet writing patches Peter Osterlund has submitted for the -mm series.
I'll try a full (as opposed to quick) blank with cdrwtool plus a forced format with cdmrw and report back when that has finished.
Signature · 1 line
Chris
Quoted 8 lines · Chris Clayton
Quoted 7 lines · Jens Axboe
Quoted 5 lines · Chris Clayton
cdrom: hdc: mrw address space DMA selected
cdrom open:mrw_status'mrw complete'
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1048576
Quoted 6 lines
Quoted 2 lines
Command was aborted, probably the media isn't writable after all. Can you try and force a full format with cdrwtool?
Jens,
Did you mean cdrwtool or cdmrw?
Sorry, meant cdmrw of course.
Quoted 14 lines
I've done a format with cdrwtool (cdrwtool -t 10 -d
/dev/hdc-q) but when I try and mount it (mount -o rw,noatime -t udf/dev/hdc/cdmrw) and mount gives the message:mount: block device
/dev/hdcis write-protected, mounting read-onlydmesg shows no error after cdrwtool has run but has the following new messages after the media is mounted:
cdrom: hdc: mrw address space DMA selected
cdrom open:mrw_status'not mrw'
UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'LinuxUDF', timestamp 2004/08/13 12:35 (1000)
Quoted 7 lines
The media does, however, mount OK for packet writing (sudo mount -t udf -o rw,noatime
/dev/pktcdvd/cdrw/cdrw) using another kernel patched with the packet writing patches Peter Osterlund has submitted for the -mm series.I'll try a full (as opposed to quick) blank with cdrwtool plus a forced format with cdmrw and report back when that has finished.
Yes please do that, if that doesn't work it's really screwed.
Signature · 1 line
Jens Axboe
Quoted 37 lines · Jens Axboe
Quoted 8 lines · Chris Clayton
Quoted 7 lines · Jens Axboe
Quoted 5 lines · Chris Clayton
cdrom: hdc: mrw address space DMA selected
cdrom open:mrw_status'mrw complete'
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1048576Quoted 6 lines
Quoted 2 lines
Command was aborted, probably the media isn't writable after all. Can you try and force a full format with cdrwtool?
Jens,
Did you mean cdrwtool or cdmrw?
Sorry, meant cdmrw of course.
Quoted 19 lines
I've done a format with cdrwtool (cdrwtool -t 10 -d
/dev/hdc-q) but when I try and mount it (mount -o rw,noatime -t udf/dev/hdc/cdmrw) and mount gives the message:mount: block device
/dev/hdcis write-protected, mounting read-onlydmesg shows no error after cdrwtool has run but has the following new messages after the media is mounted:
cdrom: hdc: mrw address space DMA selected
cdrom open:mrw_status'not mrw'
UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'LinuxUDF', timestamp 2004/08/13 12:35 (1000)The media does, however, mount OK for packet writing (sudo mount -t udf -o rw,noatime
/dev/pktcdvd/cdrw/cdrw) using another kernel patched with the packet writing patches Peter Osterlund has submitted for the -mm series.
Quoted 4 lines
Quoted 2 lines
I'll try a full (as opposed to quick) blank with cdrwtool plus a forced format with cdmrw and report back when that has finished.
Yes please do that, if that doesn't work it's really screwed.
Ok, here's the results:
[chris:~]$ cdrwtool -t 10 -d /dev/hdc -b full setting speed to 10 using device /dev/hdc full blank 1386KB internal buffer setting write speed to 10x
<<no new messages from dmesg>>
[chris:~]$ cdmrw -d /dev/hdc -f full -F not a mrw formatted disc LBA space: DMA
<<no new messages from dmesg>>
[chris:~]$ while cdmrw -d /dev/hdc -f full | grep "mrw format running" ; do sleep 20; done mrw format running <snip> mrw format running
<<no new messages from dmesg>>
[chris:~]$ mkudffs --media-type=cdrw /dev/hdc start=0, blocks=16, type=RESERVED start=16, blocks=3, type=VRS start=19, blocks=237, type=USPACE start=256, blocks=1, type=ANCHOR start=257, blocks=31, type=USPACE start=288, blocks=32, type=PVDS start=320, blocks=32, type=LVID start=352, blocks=32, type=STABLE start=384, blocks=1024, type=SSPACE start=1408, blocks=256480, type=PSPACE start=257888, blocks=31, type=USPACE start=257919, blocks=1, type=ANCHOR start=257920, blocks=160, type=USPACE start=258080, blocks=32, type=STABLE start=258112, blocks=32, type=RVDS start=258144, blocks=31, type=USPACE start=258175, blocks=1, type=ANCHOR
<<the following new messages from dmesg>>
cdrom: hdc: mrw address space DMA selected
cdrom open: mrw_status 'mrw complete'
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1048576
Buffer I/O error on device hdc, logical block 262144
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1048580
Buffer I/O error on device hdc, logical block 262145
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1040384
Buffer I/O error on device hdc, logical block 260096
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1040388
Buffer I/O error on device hdc, logical block 260097
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1036288
Buffer I/O error on device hdc, logical block 259072
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1036292
Buffer I/O error on device hdc, logical block 259073
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1034240
Buffer I/O error on device hdc, logical block 258560
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1034244
Buffer I/O error on device hdc, logical block 258561
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1033216
Buffer I/O error on device hdc, logical block 258304
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1033220
Buffer I/O error on device hdc, logical block 258305
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1032704
Buffer I/O error on device hdc, logical block 258176
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1032708
Buffer I/O error on device hdc, logical block 258177
Exactly the same errors reported as in my post at the head of this thread, but as it's the same media, I guess there's every likelihood of that.
I'll try the same process (except the blanking) with a brand new piece of media and report when that is complete.
Signature · 1 line
Chris
Quoted 49 lines · Chris Clayton
Quoted 4 lines
Quoted 2 lines
I'll try a full (as opposed to quick) blank with cdrwtool plus a forced format with cdmrw and report back when that has finished.
Yes please do that, if that doesn't work it's really screwed.
Ok, here's the results:
[chris:~]$ cdrwtool -t 10 -d /dev/hdc -b full setting speed to 10 using device /dev/hdc full blank 1386KB internal buffer setting write speed to 10x<<no new messages from dmesg>>
[chris:~]$ cdmrw -d /dev/hdc -f full -F not a mrw formatted disc LBA space: DMA<<no new messages from dmesg>>
[chris:~]$ while cdmrw -d /dev/hdc -f full | grep "mrw format running" ; do sleep 20; done mrw format running <snip> mrw format running<<no new messages from dmesg>>
[chris:~]$ mkudffs --media-type=cdrw /dev/hdc start=0, blocks=16, type=RESERVED start=16, blocks=3, type=VRS start=19, blocks=237, type=USPACE start=256, blocks=1, type=ANCHOR start=257, blocks=31, type=USPACE start=288, blocks=32, type=PVDS start=320, blocks=32, type=LVID start=352, blocks=32, type=STABLE start=384, blocks=1024, type=SSPACE start=1408, blocks=256480, type=PSPACE start=257888, blocks=31, type=USPACE start=257919, blocks=1, type=ANCHOR start=257920, blocks=160, type=USPACE start=258080, blocks=32, type=STABLE start=258112, blocks=32, type=RVDS start=258144, blocks=31, type=USPACE start=258175, blocks=1, type=ANCHOR
Quoted 6 lines
<<the following new messages from dmesg>>
cdrom: hdc: mrw address space DMA selected
cdrom open:mrw_status'mrw complete'
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54
Ok yes, same error. It's the drive doing something odd, I have no idea what...
Quoted 2 lines
I'll try the same process (except the blanking) with a brand new piece of media and report when that is complete.
I doubt it'll help.
Signature · 1 line
Jens Axboe
Quoted 57 lines · Jens Axboe
Quoted 49 lines · Chris Clayton
Quoted 4 lines
Quoted 2 lines
I'll try a full (as opposed to quick) blank with cdrwtool plus a forced format with cdmrw and report back when that has finished.
Yes please do that, if that doesn't work it's really screwed.
Ok, here's the results:
[chris:~]$ cdrwtool -t 10 -d /dev/hdc -b full setting speed to 10 using device /dev/hdc full blank 1386KB internal buffer setting write speed to 10x<<no new messages from dmesg>>
[chris:~]$ cdmrw -d /dev/hdc -f full -F not a mrw formatted disc LBA space: DMA<<no new messages from dmesg>>
[chris:~]$ while cdmrw -d /dev/hdc -f full | grep "mrw format running" ; do sleep 20; done mrw format running <snip> mrw format running<<no new messages from dmesg>>
[chris:~]$ mkudffs --media-type=cdrw /dev/hdc start=0, blocks=16, type=RESERVED start=16, blocks=3, type=VRS start=19, blocks=237, type=USPACE start=256, blocks=1, type=ANCHOR start=257, blocks=31, type=USPACE start=288, blocks=32, type=PVDS start=320, blocks=32, type=LVID start=352, blocks=32, type=STABLE start=384, blocks=1024, type=SSPACE start=1408, blocks=256480, type=PSPACE start=257888, blocks=31, type=USPACE start=257919, blocks=1, type=ANCHOR start=257920, blocks=160, type=USPACE start=258080, blocks=32, type=STABLE start=258112, blocks=32, type=RVDS start=258144, blocks=31, type=USPACE start=258175, blocks=1, type=ANCHORQuoted 6 lines
<<the following new messages from dmesg>>
cdrom: hdc: mrw address space DMA selected
cdrom open:mrw_status'mrw complete'
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54
Quoted 7 lines
Ok yes, same error. It's the drive doing something odd, I have no idea what...
Quoted 2 lines
I'll try the same process (except the blanking) with a brand new piece of media and report when that is complete.
I doubt it'll help.
You were right Jens, it didn't :(
mkudffs resulted in the following new messages in dmesg:
cdrom: hdc: mrw address space DMA selected
cdrom open: mrw_status 'mrw complete'
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1048576
Buffer I/O error on device hdc, logical block 262144
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54end_request: I/O error, dev hdc, sector 1048580
Buffer I/O error on device hdc, logical block 262145
hdc: media error (bad sector): status=0x51 { DriveReady SeekComplete Error }
hdc: media error (bad sector): error=0x30end_request: I/O error, dev hdc, sector 917504
Buffer I/O error on device hdc, logical block 229376
hdc: media error (bad sector): status=0x51 { DriveReady SeekComplete Error }
hdc: media error (bad sector): error=0x30end_request: I/O error, dev hdc, sector 917508
Buffer I/O error on device hdc, logical block 229377
hdc: media error (bad sector): status=0x51 { DriveReady SeekComplete Error }
hdc: media error (bad sector): error=0x30end_request: I/O error, dev hdc, sector 917120
Buffer I/O error on device hdc, logical block 229280
lost page write due to I/O error on hdc
hdc: media error (bad sector): status=0x51 { DriveReady SeekComplete Error }
hdc: media error (bad sector): error=0x30end_request: I/O error, dev hdc, sector 917500
Buffer I/O error on device hdc, logical block 229375
lost page write due to I/O error on hdc
One perhaps interesting thing is that, although there were fewer instances of the error, the first two instances on this new media were for exactly the same sectors/logical block as on the previously-used-and-blanked media. Although I'm relatively inexperienced in Linux, I have worked in IT for over 25 years, and that's just too much of a coincidence for me. I guess it supports Jens' belief that the drive is doing something odd. One other interesting thing is that when it ran cdmrw, it reported that the media was already cdmrw formatted, even though I know it was blank, because I'd just removed the selophane wrapping from the jewel case! Oh well, Mt Rainier would be nice to have, but I'll just have to be content with packet writing, unless...
Slightly off-topic I guess, but can anyone name an IDE drive that does support Mt Rainier with a 2.6 kernel, please. Mail me off-list if that would be the correct (netiquette) thing to do - although there could well be at least two other folks interested in the reply.
Signature · 1 line
Chris