* ide problem...
@ 2004-12-29 21:13 Micha
2004-12-29 23:10 ` Jesper Juhl
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Micha @ 2004-12-29 21:13 UTC (permalink / raw)
To: Linux Kernel Mailing List
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ide problem...
2004-12-29 21:13 ide problem Micha
@ 2004-12-29 23:10 ` Jesper Juhl
2004-12-30 0:25 ` Micha
2004-12-30 7:56 ` Norbert van Nobelen
2004-12-30 23:38 ` Alan Cox
2 siblings, 1 reply; 6+ messages in thread
From: Jesper Juhl @ 2004-12-29 23:10 UTC (permalink / raw)
To: Micha; +Cc: Linux Kernel Mailing List
On Wed, 29 Dec 2004, Micha wrote:
> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ide problem...
2004-12-29 23:10 ` Jesper Juhl
@ 2004-12-30 0:25 ` Micha
0 siblings, 0 replies; 6+ messages in thread
From: Micha @ 2004-12-30 0:25 UTC (permalink / raw)
To: Linux Kernel Mailing List
Am Donnerstag, 30. Dezember 2004 00:10 schrieben Sie:
> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ide problem...
2004-12-29 21:13 ide problem Micha
2004-12-29 23:10 ` Jesper Juhl
@ 2004-12-30 7:56 ` Norbert van Nobelen
2004-12-30 23:38 ` Alan Cox
2 siblings, 0 replies; 6+ messages in thread
From: Norbert van Nobelen @ 2004-12-30 7:56 UTC (permalink / raw)
To: Micha; +Cc: linux-kernel
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.
On Wednesday 29 December 2004 22:13, you wrote:
> 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 majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ide problem...
2004-12-29 21:13 ide problem Micha
2004-12-29 23:10 ` Jesper Juhl
2004-12-30 7:56 ` Norbert van Nobelen
@ 2004-12-30 23:38 ` Alan Cox
2 siblings, 0 replies; 6+ messages in thread
From: Alan Cox @ 2004-12-30 23:38 UTC (permalink / raw)
To: Micha; +Cc: Linux Kernel Mailing List
On Mer, 2004-12-29 at 21:13, Micha wrote:
> 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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* IDE problem
@ 2005-08-02 13:00 Andreas Strodl
0 siblings, 0 replies; 6+ messages in thread
From: Andreas Strodl @ 2005-08-02 13:00 UTC (permalink / raw)
To: linux-mips
Hi,
I'm using the kernel version 2.4.31 (-r2_4_31) from the CVS.
The plattform is a MIPS Toshiba JMR3927CF with an IDE PCI chipset CMD649.
The problem is that the IDE chipset CMD649 is detected but the hardisk
that is connected
via this IDE channel is not detected. The system boots direct from a
flash so I can paste
/proc entries too.
Note:
#define PCIBIOS_MIN_IO 0x8000 /* reserve regacy I/O space */
#define PCIBIOS_MIN_MEM 0x0000
This settings are used for this board.
dmesg Output:
CPU revision is: 00002242
Primary instruction cache 8kB, linesize 16 bytes
Primary data cache 4kB, linesize 16 bytes
Linux version 2.4.31 (andi@diesel) (gcc version egcs-2.91.66 19990314
(egcs-1.1.2 release)) #16 Die Aug 2 14:28:16 CEST 2005
TX3927 -- CRIR:39270040 CCFG:0006b039 PCFG:007c1000
TX3927 PCIC -- DID:000a VID:102f RID:07 Arbiter:Internal
TX39XX D-Cache WriteBack (CWF) .
Determined physical RAM map:
memory: 01ffff00 @ 00000000 (usable)
On node 0 totalpages: 8191
zone(0): 4096 pages.
zone(1): 4095 pages.
zone(2): 0 pages.
Kernel command line: rw root=/dev/ramdisk console=ttyS0,115200
S3511A: 05 08 02 02 0d 15 31
Calibrating delay loop... 132.30 BogoMIPS
Memory: 25596k/32764k available (1965k kernel code, 7168k reserved, 247k
data, 108k init, 0k highmem)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Checking for 'wait' instruction... available.
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
PCI: IO 0x00000000-0x00ffffff MEM 0x08000000-0x0fffffff
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
URL log initialization
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis
Communications AB.
Squashfs 2.1 (released 2004/12/10) (C) 2002-2004 Phillip Lougher
Power: function of power button was initialised
pty: 256 Unix98 ptys configured
TXx927 Serial driver version 0.21
ttyS00 at 0xfffef300 (irq = 22) is a TXx927 SIO
ttyS01 at 0xfffef400 (irq = 23) is a TXx927 SIO
loop: loaded (max 8 devices)
8139too Fast Ethernet driver 0.9.26
eth0: RealTek RTL8139 at 0x8000, 00:e3:d8:ec:ea:d8, IRQ 16
eth1: RealTek RTL8139 at 0x8400, 00:b7:a2:01:be:a2, IRQ 17
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
CMD649: IDE controller at PCI slot 00:0e.0
CMD649: chipset revision 2
CMD649: 100% native mode on irq 18
ide0: BM-DMA at 0x8800-0x8807, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0x8808-0x880f, BIOS settings: hdc:pio, hdd:pio
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 108k freed
# cat /proc/ioports
00008000-000080ff : PCI device 10ec:8139
00008000-000080ff : 8139too
00008400-000084ff : PCI device 10ec:8139
00008400-000084ff : 8139too
00008800-0000880f : PCI device 1095:0649
00008800-00008807 : ide0
00008808-0000880f : ide1
00008c00-00008c07 : PCI device 1095:0649
00009000-00009007 : PCI device 1095:0649
00009400-00009403 : PCI device 1095:0649
00009800-00009803 : PCI device 1095:0649
# cat /proc/interrupts
CPU0
16: 0 tx3927_irq eth0
17: 9 tx3927_irq eth1
21: 0 tx3927_irq power
22: 534 tx3927_irq serial_txx927
29: 102227 tx3927_irq timer
ERR: 0
# cat /proc/ide/drivers
ide-disk version 1.17
ide-default version 0.9.newide
# cat /proc/ide/cmd64x
Controller: 0
CMD649 Chipset.
--------------- Primary Channel ---------------- Secondary Channel
-------------
enabled enabled
--------------- drive0 --------- drive1 -------- drive0 ----------
drive1 ------
DMA enabled: no no no no
DMA Mode: PIO(?) PIO(?) PIO(?) PIO(?)
PIO Mode: ? ? ? ?
polling polling
clear clear
enabled enabled
# cat /proc/pci
PCI devices found:
Bus 0, device 12, function 0:
Class 0200: PCI device 10ec:8139 (rev 16).
IRQ 16.
Master Capable. Latency=64. Min Gnt=32.Max Lat=64.
I/O at 0x8000 [0x80ff].
Non-prefetchable 32 bit memory at 0x8082000 [0x80820ff].
Bus 0, device 13, function 0:
Class 0200: PCI device 10ec:8139 (rev 16).
IRQ 17.
Master Capable. Latency=64. Min Gnt=32.Max Lat=64.
I/O at 0x8400 [0x84ff].
Non-prefetchable 32 bit memory at 0x8082400 [0x80824ff].
Bus 0, device 14, function 0:
Class 0101: PCI device 1095:0649 (rev 2).
IRQ 18.
Master Capable. Latency=64. Min Gnt=2.Max Lat=4.
I/O at 0x8c00 [0x8c07].
I/O at 0x9400 [0x9403].
I/O at 0x9000 [0x9007].
I/O at 0x9800 [0x9803].
I/O at 0x8800 [0x880f].
Bus 0, device 15, function 0:
Class 0c03: PCI device 1131:1561 (rev 48).
IRQ 19.
Master Capable. Latency=64. Min Gnt=1.Max Lat=42.
Non-prefetchable 32 bit memory at 0x8080000 [0x8080fff].
Bus 0, device 15, function 1:
Class 0c03: PCI device 1131:1561 (rev 48).
IRQ 19.
Master Capable. Latency=64. Min Gnt=1.Max Lat=42.
Non-prefetchable 32 bit memory at 0x8081000 [0x8081fff].
Bus 0, device 15, function 2:
Class 0c03: PCI device 1131:1562 (rev 48).
IRQ 19.
Master Capable. Latency=64. Min Gnt=2.Max Lat=16.
Non-prefetchable 32 bit memory at 0x8082800 [0x80828ff].
#
I also found out, that drive->present in do_probe in
drivers/ide/ide-probe.c is 0
so I will not be detected, right?
Any Ideas
Best regards
Andrew
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-08-02 13:02 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-29 21:13 ide problem Micha
2004-12-29 23:10 ` Jesper Juhl
2004-12-30 0:25 ` Micha
2004-12-30 7:56 ` Norbert van Nobelen
2004-12-30 23:38 ` Alan Cox
-- strict thread matches above, loose matches on Subject: below --
2005-08-02 13:00 IDE problem Andreas Strodl
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.