Skip to contentSkip to conversation

ide problem...

DISCUSSION Micha 4 participants 5 messages Dec 29, 2004 – Dec 31, 2004

lore
Share & tools
lore

Micha

author
#0 lore raw

I got an error reading a dvd with 2.6.9 and ide interface. Switching to ide-scsi for the dvd-rom made the dvd work. Is this an ide-error? I think libdvdread should not know wether it's reading a scsi or a ide device...

Michael

#1 lore raw
Quoted 4 lines · Micha

I got an error reading a dvd with 2.6.9 and ide interface. Switching to ide-scsi for the dvd-rom made the dvd work. Is this an ide-error? I think libdvdread should not know wether it's reading a scsi or a ide device...

You are not telling us what the error message is.
You are not telling us what hardware you have.
You are not telling us anything about how your kernel is configured. Basically you are not telling us anything.

How on earth do you expect anyone to be able to answer your question?

I'd strongly suggest you read
http://www.kernel.org/pub/linux/docs/lkml/reporting-bugs.html (as well as the documents that document refers you to), then after you've read that use the suggested bugreporting form at the end and submit a new mail. And while you are at it, take a look at http://www.tux.org/lkml/ as well.

Kind regards,
Jesper Juhl

author
#2 lore raw

Am Donnerstag, 30. Dezember 2004 00:10 schrieben Sie:

Quoted 1 line

Basically you are not telling us anything.

hmm, yes indeed, I somehow thought that there are known differences with ide-scsi and normal ide which I overlooked...

the problem:
I got an error from libdvdread (DVDREAD_VERSION 904):
"cannot seek to block x", x > 2000000, while reading a dvd.
I never got this error before with other dvds. The dvd worked under windows so I tried to find something to solve that. The first (and sufficient :-) idea was switching to ide-scsi for my dvd-rom. The dvd is readable with ide-scsi. This might of course be a bug in libdvdread...

my system:

# ./ver_linux
Linux termite.de 2.6.9-nitro4 #3 Mon Dec 20 23:57:32 CET 2004 i686 AMD 
Athlon(tm) XP 2800+ unknown GNU/Linux
Gnu C                  3.4.1
Gnu make               3.80
binutils               2.15.90.0.3
util-linux             2.12a
mount                  2.12a
module-init-tools      3.0
e2fsprogs              1.35
reiserfsprogs          3.6.17
reiser4progs           1.0.0
xfsprogs               2.6.13
nfs-utils              1.0.6
Linux C Library        2.3.3
Dynamic linker (ldd)   2.3.3
Procps                 3.2.3
Net-tools              1.60
Console-tools          0.2.3
Sh-utils               5.2.1
Modules Loaded         lp parport_pc parport snd_pcm_oss snd_mixer_oss 

snd_cmipci snd_pcm snd_page_alloc snd_opl3_lib snd_timer snd_hwdep gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore af_packet usbhid floppy sr_mod 8139too mii ide_scsi scsi_mod ide_cd cdrom loop nls_iso8859_15 nls_cp850 vfat fat xfs raid1 nvidia_agp agpgart tuner tvaudio bttv video_buf firmware_class i2c_algo_bit v4l2_common btcx_risc i2c_core videodev nvidia usblp ehci_hcd ohci_hcd usbcore thermal processor fan button battery ac

cpu: processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 10
model name : AMD Athlon(tm) XP 2800+
stepping : 0
cpu MHz : 2079.593
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips : 4120.57

the ide part of lspci (Asus A7N8X Mainboard):
00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2) (prog-if 8a [Master SecP PriP])
Subsystem: Asustek Computer, Inc.: Unknown device 0c11
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 0 (750ns min, 250ns max)
Region 4: I/O ports at f000 [size=16]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

the dvd-rom is a pioneer dvd-116:
#cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: PIONEER Model: DVD-ROM DVD-116 Rev: 1.22
Type: CD-ROM ANSI SCSI revision: 02

or
#cat /proc/ide/hdb/model:
Pioneer DVD-ROM ATAPIModel DVD-116 0122

thanks for answering,
Michael

#3 lore raw
In reply to Micha

ide-scsi is a bit of misleading name.
In the beginning there were only SCSI cdrom drives and proprietary cdrom drives.
At a certain moment the IDE cdrom drive entered the arena with the ATAPI interface (and still some proprietary interfaces).
The scsi drivers were written already to support cdrom devices, and they still contain the code to control the device correctly.

Quoted 10 lines · you

I got an error reading a dvd with 2.6.9 and ide interface. Switching to ide-scsi for the dvd-rom made the dvd work. Is this an ide-error? I think libdvdread should not know wether it's reading a scsi or a ide device...

Michael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#4 lore raw
In reply to Micha
Quoted 3 lines · Micha

I got an error reading a dvd with 2.6.9 and ide interface. Switching to ide-scsi for the dvd-rom made the dvd work. Is this an ide-error? I think libdvdread should not know wether it's reading a scsi or a ide device...

The ide-cd driver in the base 2.6.x kernel has some quite serious bugs. Always use ide-scsi if you can. I would be interested to know if you hit the same problems with 2.6.10-ac1 and if so what is logged.