[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

DMA hangs IDE bus (cdrecord or driver?)



I have on the secondary IDE bus a DVD-ROM (hdc) and a DVD-Writer (hdd); both 
work fine under Windows. The primary IDE bus is unused, the HD is SATA (sda).

With Etch (2.6.12-1, up-to-date) I can mount CDs and read them from both 
drives. However, if I try cdrecord (e.g. blank or record) the process goes in 
D-state before writing anything, the IDE bus hangs for both drives until 
reboot and I get "hdc:/hdd: lost interrupt" messages in the kernel log (see 
below) and at shutdown.

If I disable DMA this does not happen, but it is no consolation (the system 
refuses to write at speeds faster than 6x and the recorder is 10x minimum).
The IDE controller is ALi M5229 rev. c7 (the driver is alim15x3, if I'm not 
mistaken).

Posted below:
- output of "cdrecord dev=ATA:1,0,0 blank=fast"
- lspci
- lsmod
- dmesg
- last lines of "strace cdrecord dev=ATA:1,0,0 blank=fast" 
  (after a reboot to free the ide bus)
- last lines of var/log/kern.log

I've searched around for a while with no significant results (I also fiddled 
with ACPI options). Any help will be appreciated.

  Enrico


--- cdrecord ----------------------------------
atuan:~# cdrecord dev=ATA:1,0,0 blank=fast
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg 
Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
      and thus may have bugs that are not present in the original version.
      Please send bug reports and support requests to 
<cdrtools@packages.debian.org>.
      The original author should not be bothered with problems of this 
version.

cdrecord: Warning: Running on Linux-2.6.12-1-386
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATA:1,0,0'
devname: 'ATA'
scsibus: 1 target: 0 lun: 0
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'ubuntu-0.8ubuntu1'.
cdrecord: Warning: using inofficial version of libscg (ubuntu-0.8ubuntu1 
'@(#)scsitransp.c      1.91 04/06/17 Copyright 1988,1995,2000-2004 J. 
Schilling').
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'HL-DT-ST'
Identifikation : 'DVDRAM GSA-4163B'
Revision       : 'A102'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.

(hangs here, can be interrupted with Ctrl-C after a few minutes,
running it again hangs after the "Warning: Using badly designed ATAPI" line)

--- lspci -------------------------------------
0000:00:00.0 Host bridge: ATI Technologies Inc: Unknown device 5a33 (rev 01)
0000:00:02.0 PCI bridge: ATI Technologies Inc RS480 PCI-X Root Port
0000:00:19.0 PCI bridge: ALi Corporation M5249 HTT to PCI Bridge
0000:00:1c.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
0000:00:1c.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
0000:00:1c.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
0000:00:1c.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01)
0000:00:1d.0 0403: ALi Corporation High Definition Audio/AC'97 Host Controller
0000:00:1e.0 ISA bridge: ALi Corporation PCI to LPC Controller (rev 31)
0000:00:1e.1 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
0000:00:1f.0 IDE interface: ALi Corporation M5229 IDE (rev c7)
0000:00:1f.1 RAID bus controller: ALi Corporation ULi 5287 SATA (rev 02)
0000:01:00.0 VGA compatible controller: nVidia Corporation GeForce 6200 
TurboCache(TM) (rev a1)
0000:02:11.0 Communication controller: Agere Systems V.92 56K WinModem (rev 
03)
0000:02:15.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 
Gigabit Ethernet (rev 10)

--- lsmod -------------------------------------
Module                  Size  Used by
ipv6                  236736  6 
ide_generic             1408  0 [permanent]
ide_disk               16768  0 
ide_cd                 39044  1 
cdrom                  36640  1 ide_cd
usbhid                 33376  0 
wacom                  13184  0 
r8169                  24460  0 
i2c_ali1535             6916  0 
i2c_ali15x3             7428  0 
alim15x3               11532  0 [permanent]
i2c_core               20752  2 i2c_ali1535,i2c_ali15x3
parport_pc             34116  0 
pci_hotplug            25908  0 
ohci_hcd               19844  0 
ehci_hcd               32008  0 
parport                33352  1 parport_pc
psmouse                27012  0 
serio_raw               6788  0 
ati_agp                 8460  0 
floppy                 56532  0 
agpgart                33096  1 ati_agp
pcspkr                  3524  0 
rtc                    11832  0 
evdev                   9216  0 
mousedev               11296  1 
ext3                  124808  1 
jbd                    51224  1 ext3
sd_mod                 18448  3 
sata_uli                7296  2 
libata                 44164  1 sata_uli
usb_storage            68032  0 
usbcore               109948  6 usbhid,wacom,ohci_hcd,ehci_hcd,usb_storage
scsi_mod              129096  3 sd_mod,libata,usb_storage
ide_core              118036  5 
ide_generic,ide_disk,ide_cd,alim15x3,usb_storage
unix                   26032  374 
fbcon                  37120  0 
tileblit                2432  1 fbcon
font                    8320  1 fbcon
bitblit                 5632  1 fbcon
vesafb                  8088  0 
cfbcopyarea             3840  1 vesafb
cfbimgblt               3072  1 vesafb
cfbfillrect             4224  1 vesafb
softcursor              2304  1 vesafb
capability              4744  0 
commoncap               6784  1 capability

--- dmesg -------------------------------------
Linux version 2.6.12-1-386 (horms@tabatha.lab.ultramonkey.org) (gcc version 
4.0.2 20050917 (prerelease) (Debian 4.0.1-8)) #1 Tue Sep 27 12:41:08 JST 2005
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
 BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
 BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data)
 BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
 BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
Warning only 896MB will be used.
Use a HIGHMEM enabled kernel.
896MB LOWMEM available.
found SMP MP-table at 000f52c0
On node 0 totalpages: 229376
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 225280 pages, LIFO batch:31
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 AWARD                                 ) @ 0x000f7140
ACPI: RSDT (v001 AWARD  AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x3fff3040
ACPI: FADT (v001 AWARD  AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x3fff30c0
ACPI: MCFG (v001 AWARD  AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x3fff7280
ACPI: MADT (v001 AWARD  AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x3fff71c0
ACPI: DSDT (v001 AWARD  AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000
ACPI: PM-Timer IO Port: 0x1008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:4 APIC version 20
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1 15:4 APIC version 20
WARNING: NR_CPUS limit of 1 reached.  Processor ignored.
ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 40000000 (gap: 40000000:a0000000)
Built 1 zonelists
Kernel command line: auto BOOT_IMAGE=Linux ro root=809
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 65536 bytes)
Detected 3201.987 MHz processor.
Using pmtmr 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: 904784k/917504k available (1540k kernel code, 12264k reserved, 756k 
data, 236k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 6307.84 BogoMIPS (lpj=3153920)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Mount-cache hash table entries: 512
CPU: After generic identify, caps: bfebfbff 00100000 00000000 00000000 
0000441d 00000000 00000000
CPU: After vendor identify, caps: bfebfbff 00100000 00000000 00000000 0000441d 
00000000 00000000
monitor/mwait feature present.
using mwait in idle threads.
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU: After all inits, caps: bfebfbff 00100000 00000000 00000080 0000441d 
00000000 00000000
CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 pin1=2 pin2=-1
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like 
an initrd
Freeing initrd memory: 1500k freed
NET: Registered protocol family 16
EISA bus registered
PCI: PCI BIOS revision 3.00 entry at 0xfafc0, last bus=2
PCI: Using MMCONFIG
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20050309
    ACPI-0352: *** Error: Looking up [\_SB_.PCI0.LNKC] in namespace, 
AE_NOT_FOUND
search_node c17ebaa0 start_node c17ebaa0 return_node 00000000
    ACPI-0352: *** Error: Looking up [\_SB_.PCI0.LNKB] in namespace, 
AE_NOT_FOUND
search_node c17f04a0 start_node c17f04a0 return_node 00000000
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2PB._PRT]
ACPI: PCI Interrupt Link [LNK1] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, 
disabled.
ACPI: PCI Interrupt Link [LNK2] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK3] (IRQs 1 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK4] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNK5] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK6] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, 
disabled.
ACPI: PCI Interrupt Link [LNK7] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNK8] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *9
ACPI: PCI Interrupt Link [LNK9] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, 
disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 14 devices
PnPBIOS: Disabled by ACPI PNP
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
PCI: Cannot allocate resource region 3 of device 0000:00:00.0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Initializing Cryptographic API
PCI: 0000:00:02.0 has unsupported PM cap regs version (3)
PCI: Setting latency timer of device 0000:00:02.0 to 64
pcie_portdrv_probe->Dev[5a34:1002] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[pcie00]
Allocate Port Service[pcie01]
Allocate Port Service[pcie03]
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 54 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
EISA: Probing bus 0 at eisa.0
Cannot allocate resource for EISA slot 1
EISA: Detected 0 cards.
NET: Registered protocol family 2
input: AT Translated Set 2 keyboard on isa0060/serio0
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
ACPI wakeup devices: 
P2PB USB0 USB1 USB2 USB3 
ACPI: (supports S0 S3 S5)
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 1500KiB [1 disk] into ram disk... 
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/done.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 236k freed
Capability LSM initialized
NET: Registered protocol family 1
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
libata version 1.11 loaded.
PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 19 (level, low) -> IRQ 185
ata1: SATA max UDMA/133 cmd 0xD400 ctl 0xD802 bmdma 0xE400 irq 185
ata2: SATA max UDMA/133 cmd 0xDC00 ctl 0xE002 bmdma 0xE408 irq 185
ata3: SATA max UDMA/133 cmd 0xD408 ctl 0xD806 bmdma 0xE410 irq 185
ata4: SATA max UDMA/133 cmd 0xDC08 ctl 0xE006 bmdma 0xE418 irq 185
ata1: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4003 85:3469 86:3c01 87:4003 
88:007f
ata1: dev 0 ATA, max UDMA/133, 390721968 sectors: lba48
ata1: dev 0 configured for UDMA/133
scsi0 : sata_uli
ata2: no device found (phy stat 00000000)
scsi1 : sata_uli
ata3: no device found (phy stat 00000000)
scsi2 : sata_uli
scsi3 : sata_uli
  Vendor: ATA       Model: ST3200822AS       Rev: 3.01
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
SCSI device sda: drive cache: write back
 /dev/scsi/host0/bus0/target0/lun0: p1 p2 p3 < p5 p6 p7 p8 p9 >
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
mice: PS/2 mouse device common for all mice
Real Time Clock Driver v1.12
input: PC Speaker
Linux agpgart interface v0.101 (c) Dave Jones
FDC 0 is a post-1991 82077
ACPI: PCI Interrupt 0000:00:1c.3[D] -> GSI 23 (level, low) -> IRQ 193
ehci_hcd 0000:00:1c.3: ALi Corporation USB 2.0 Controller
ehci_hcd 0000:00:1c.3: debug port 1
ehci_hcd 0000:00:1c.3: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1c.3: irq 193, io mem 0xd5006000
PCI: cache line size of 128 is not supported by device 0000:00:1c.3
ehci_hcd 0000:00:1c.3: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 23 (level, low) -> IRQ 193
ohci_hcd 0000:00:1c.0: ALi Corporation USB 1.1 Controller
ohci_hcd 0000:00:1c.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:1c.0: irq 193, io mem 0xd5007000
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
ACPI: PCI Interrupt 0000:00:1c.1[B] -> GSI 23 (level, low) -> IRQ 193
ohci_hcd 0000:00:1c.1: ALi Corporation USB 1.1 Controller (#2)
ohci_hcd 0000:00:1c.1: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:1c.1: irq 193, io mem 0xd5004000
logips2pp: Detected unknown logitech mouse model 74
usb 1-3: new high speed USB device using ehci_hcd and address 2
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 3 ports detected
ACPI: PCI Interrupt 0000:00:1c.2[C] -> GSI 23 (level, low) -> IRQ 193
ohci_hcd 0000:00:1c.2: ALi Corporation USB 1.1 Controller (#3)
ohci_hcd 0000:00:1c.2: new USB bus registered, assigned bus number 4
ohci_hcd 0000:00:1c.2: irq 193, io mem 0xd5005000
input: PS/2 Logitech Mouse on isa0060/serio1
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 3 ports detected
ali15x3_smbus 0000:00:1e.1: ALI15X3_smb region uninitialized - upgrade BIOS or 
use force_addr=0xaddr
ali15x3_smbus 0000:00:1e.1: ALI15X3 not detected, module not inserted.
ali1535_smbus 0000:00:1e.1: ALI1535_smb region uninitialized - upgrade BIOS?
ali1535_smbus 0000:00:1e.1: ALI1535 not detected, module not inserted.
r8169 Gigabit Ethernet driver 2.2LK loaded
ACPI: PCI Interrupt 0000:02:15.0[A] -> GSI 20 (level, low) -> IRQ 201
eth0: Identified chip type is 'RTL8169s/8110s'.
eth0: RTL8169 at 0xf889a000, 00:0f:ea:d1:3a:17, IRQ 201
usb 3-2: new low speed USB device using ohci_hcd and address 2
usb 4-1: new full speed USB device using ohci_hcd and address 2
scsi5 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
input: Wacom Graphire on usb-0000:00:1c.1-2
usbcore: registered new driver wacom
drivers/usb/input/wacom.c: v1.40:USB Wacom Graphire and Wacom Intuos tablet 
driver
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
Adding 1004020k swap on /dev/sda7.  Priority:-1 extents:1
EXT3 FS on sda9, internal journal
ALI15X3: IDE controller at PCI slot 0000:00:1f.0
ACPI: PCI Interrupt 0000:00:1f.0[A] -> GSI 19 (level, low) -> IRQ 185
ALI15X3: chipset revision 199
ALI15X3: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
Probing IDE interface ide1...
hdc: HL-DT-ST DVDRAM GSA-4163B, ATAPI CD/DVD-ROM drive
  Vendor: Maxtor 4  Model: R080L0            Rev:  0 0
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sdb: 160086528 512-byte hdwr sectors (81964 MB)
sdb: assuming drive cache: write through
SCSI device sdb: 160086528 512-byte hdwr sectors (81964 MB)
sdb: assuming drive cache: write through
 /dev/scsi/host4/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 p7 p8 >
Attached scsi disk sdb at scsi4, channel 0, id 0, lun 0
usb-storage: device scan complete
hdd: LITE-ON DVD SOHD-167T, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hdc: ATAPI 40X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(66)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)
Probing IDE interface ide0...
  Vendor: Generic   Model: USB SD Reader     Rev: 1.00
  Type:   Direct-Access                      ANSI SCSI revision: 00
Attached scsi removable disk sdc at scsi5, channel 0, id 0, lun 0
  Vendor: Generic   Model: USB CF Reader     Rev: 1.01
  Type:   Direct-Access                      ANSI SCSI revision: 00
Probing IDE interface ide2...
Attached scsi removable disk sdd at scsi5, channel 0, id 0, lun 1
  Vendor: Generic   Model: USB SM Reader     Rev: 1.02
  Type:   Direct-Access                      ANSI SCSI revision: 00
Attached scsi removable disk sde at scsi5, channel 0, id 0, lun 2
  Vendor: Generic   Model: USB MS Reader     Rev: 1.03
  Type:   Direct-Access                      ANSI SCSI revision: 00
Attached scsi removable disk sdf at scsi5, channel 0, id 0, lun 3
usb-storage: device scan complete
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
r8169: eth0: link up
cdrom: This disc doesn't have any tracks I recognize!
NET: Registered protocol family 10
Disabled Privacy Extensions on device c030c060(lo)
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present

--- strace ------------------------------------
atuan:~# strace cdrecord dev=ATA:1,0,0 blank=fast

...snip... (full log available)

write(1, "Device type    : Removable CD-RO"..., 34Device type    : Removable 
CD-ROM
) = 34
write(1, "Version        : 0\n", 19Version        : 0
)    = 19
write(1, "Response Format: 2\n", 19Response Format: 2
)    = 19
write(1, "Capabilities   : \n", 18Capabilities   :
)     = 18
write(1, "Vendor_info    : \'HL-DT-ST\'\n", 28Vendor_info    : 'HL-DT-ST'
) = 28
write(1, "Identifikation : \'DVDRAM GSA-416"..., 36Identifikation : 'DVDRAM 
GSA-4163B'
) = 36
write(1, "Revision       : \'A102\'\n", 24Revision       : 'A102'
) = 24
write(1, "Device seems to be: Generic mmc2"..., 47Device seems to be: Generic 
mmc2 DVD-R/DVD-RW.
) = 47
gettimeofday({1131299294, 819493}, NULL) = 0
ioctl(3, SG_IO, 0xbfdb21c0)             = 0
gettimeofday({1131299294, 821770}, NULL) = 0
gettimeofday({1131299294, 821797}, NULL) = 0
ioctl(3, SG_IO, 0xbfdb21f0)             = 0
gettimeofday({1131299294, 825676}, NULL) = 0
gettimeofday({1131299294, 825705}, NULL) = 0
ioctl(3, SG_IO, 0xbfdb21d0)             = 0
gettimeofday({1131299294, 828701}, NULL) = 0
gettimeofday({1131299294, 828731}, NULL) = 0
ioctl(3, SG_IO, 0xbfdb2200)             = 0
gettimeofday({1131299294, 832397}, NULL) = 0
gettimeofday({1131299294, 832427}, NULL) = 0
ioctl(3, SG_IO, 0xbfdb2390)             = 0
gettimeofday({1131299294, 834156}, NULL) = 0
gettimeofday({1131299294, 834183}, NULL) = 0
ioctl(3, SG_IO, 0xbfdb2390)             = 0
gettimeofday({1131299294, 837271}, NULL) = 0
gettimeofday({1131299294, 837299}, NULL) = 0
ioctl(3, SG_IO, 0xbfdb2200)             = 0
gettimeofday({1131299294, 839989}, NULL) = 0
gettimeofday({1131299294, 840019}, NULL) = 0
ioctl(3, SG_IO, 0xbfdb20b0)             = 0
gettimeofday({1131299294, 842128}, NULL) = 0
gettimeofday({1131299294, 842155}, NULL) = 0
ioctl(3, SG_IO, 0xbfdb2200)             = 0
gettimeofday({1131299294, 843875}, NULL) = 0
gettimeofday({1131299294, 843902}, NULL) = 0
ioctl(3, SG_IO, 0xbfdb20b0)             = 0
gettimeofday({1131299294, 846277}, NULL) = 0
gettimeofday({1131299294, 846305}, NULL) = 0
ioctl(3, SG_IO, 0xbfdb2350)             = 0
gettimeofday({1131299294, 847990}, NULL) = 0
gettimeofday({1131299294, 848018}, NULL) = 0
ioctl(3, SG_IO, 0xbfdb2200)             = 0
gettimeofday({1131299294, 850409}, NULL) = 0
gettimeofday({1131299294, 850437}, NULL) = 0
ioctl(3, SG_IO, 0xbfdb24b0)             = 0
gettimeofday({1131299294, 852683}, NULL) = 0
gettimeofday({1131299294, 852713}, NULL) = 0
ioctl(3, SG_IO <unfinished ...>

(<unfinished ...> comes out when I press Ctrl-C after a few minutes)

--- from var/log/kern.log ---------------------
Nov  6 17:50:06 atuan kernel: eth0: no IPv6 routers present
Nov  6 18:47:34 atuan kernel: cdrom: This disc doesn't have 
 any tracks I recognize!
Nov  6 18:49:14 atuan kernel: ide-cd: cmd 0x3 timed out
Nov  6 18:49:14 atuan kernel: hdc: lost interrupt
Nov  6 18:50:14 atuan kernel: ide-cd: cmd 0x3 timed out
Nov  6 18:50:14 atuan kernel: hdc: lost interrupt
Nov  6 18:50:19 atuan kernel: hdd: lost interrupt
Nov  6 18:51:19 atuan kernel: hdd: lost interrupt
Nov  6 18:51:59 atuan kernel: hdc: lost interrupt



Reply to: