[1.] Cannot mount IDE cdrom if SCSI-emulated
[2.] I cannot use my IDE/ATAPI cd-rw device for any operation, because
emulating the SCSI mode with ide-scsi give me some errors (sometimes "hdc:
driver not present" or "ide-scsi: unsup command: dev 16:00: REQ_CMD
REQ_STARTED sector 0, nr/cnr 1/1"). When I try to mount the device I get
the error "Invalid block device" if using the device /dev/scd0, and "mount:
error while guessing filesystem type" and "error reading superblock" if
using /dev/hdc. Everything works fine without ide-scsi emulation and with
2.4.x kernels.
[3.] Modules, SCSI, IDE, IDE/SCSI emulation, ide-scsi, cdrom
[4.] Linux version 2.5.39 (root@flagar) (gcc version 2.96 20000731 (Mandrake
Linux 8.2 2.96-0.76mdk)) #7 mer ott 2 00:18:22 CEST 2002
[5.] OOops from dmesg:
SCSI subsystem driver Revision: 1.00
kmem_cache_create: duplicate cache sgpool-8
------------[ cut here ]------------
kernel BUG at slab.c:861!
invalid operand: 0000
scsi_mod uhci-hcd usbcore lp parport_pc parport soundcore
CPU: 0
EIP: 0060:[<c012f970>] Not tainted
EFLAGS: 00010202
eax: c02b82a0 ebx: c7d382f8 ecx: c03912dc edx: c88fbd57
esi: c88fbd60 edi: c88fbd60 ebp: c7d384e0 esp: c74adedc
ds: 0068 es: 0068 ss: 0068
Process insmod (pid: 1545, threadinfo=c74ac000 task=c5045900)
Stack: c74adee4 c0000000 00000060 00000000 00000004 00000000 080a0e80
c88f34a1
c88fbd57 00000080 00000020 00002000 00000000 00000000 ffffffff
00000708
c88f1000 00000000 c88f1000 00000000 c0116b35 00000000 c0781000
0000bea0
Call Trace: [<c88f34a1>] [<c88fbd57>] [<c0116b35>] [<c88f1060>] [<c01071cf>]
Code: 0f 0b 5d 03 42 8b 2b c0 8b 0b 89 cb 8b 03 89 c1 0f 18 01 81
<6>scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: HL-DT-ST Model: CD-RW GCE-8080N Rev: 2.00
Type: CD-ROM ANSI SCSI revision: 02
------------[ cut here ]------------
kernel BUG at /usr/src/linux-2.5.39/include/linux/device.h:79!
invalid operand: 0000
ide-scsi scsi_mod uhci-hcd usbcore lp parport_pc parport soundcore
CPU: 0
EIP: 0060:[<c01f4489>] Not tainted
EFLAGS: 00010246
eax: 00000000 ebx: c671c144 ecx: c0335090 edx: c88fcfe0
esi: c671c13c edi: 00000000 ebp: c671c000 esp: c74addc4
ds: 0068 es: 0068 ss: 0068
Process insmod (pid: 1547, threadinfo=c74ac000 task=c5045900)
Stack: c671c144 c671c13c c01f3b40 c671c13c c671c13c c88fcfe0 00000000
c88f8e5e
c671c13c 00000000 c74addec 00000003 000005c0 c750e800 c0364084
0000005c
c0364060 c750e800 c74ade58 c1149c60 c88f8b0f c0364068 c0364070
00000012
Call Trace: [<c01f3b40>] [<c88fcfe0>] [<c88f8e5e>] [<c88f8b0f>] [<c88f900c>]
[<c88f91ed>] [<c88f93fc>] [<c8900b12>] [<c88f28a3>] [<c023e3ed>]
[<c8900524>] [<c8900de0>] [<c8900d60>] [<c0116b35>] [<c8900d10>]
[<c88ff060>] [<c01071cf>]
Code: 0f 0b 4f 00 a0 24 2b c0 ff 42 08 ba 00 e0 ff ff 21 e2 ff 42
[6.] Not applicable.
[7.] Dell Inspiron 2500 - Mandrake 8.2
[7.1.] Software:
Gnu C 2.96
Gnu make 3.79.1
util-linux 2.11n
mount 2.11n
modutils 2.4.13
e2fsprogs 1.26
pcmcia-cs 3.2.1
PPP 2.4.1
Linux C Library 2.2.4
Dynamic linker (ldd) 2.2.4
Procps 2.0.7
Net-tools 1.60
Kbd [opzione...]
Console-tools 0.2.3
Sh-utils 2.0.11
Modules Loaded uhci-hcd usbcore lp parport_pc parport soundcore
[7.2.] Processor information (from /proc/cpuinfo):
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 10
cpu MHz : 697.931
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov
pat pse36 mmx fxsr sse
bogomips : 1376.25
[7.3.] Module information (from /proc/modules):
ide-scsi 7872 (initializing)
scsi_mod 50840 (initializing) [ide-scsi]
uhci-hcd 23400 0 (unused)
usbcore 68176 2 [uhci-hcd]
lp 7200 0
parport_pc 16100 1
parport 27808 1 [lp parport_pc]
soundcore 4228 0 (autoclean)
[7.4.] Loaded driver and hardware information (/proc/ioports):
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
0378-037a : parport0
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial
04d0-04d1 : PnPBIOS PNP0c02
0cf8-0cff : PCI conf1
1000-105f : PnPBIOS PNP0c02
1060-107f : PnPBIOS PNP0c02
1180-11bf : PnPBIOS PNP0c02
1800-180f : Intel Corp. 82801BAM IDE U100
1800-1807 : ide0
1808-180f : ide1
1810-181f : Intel Corp. 82801BA/BAM SMBus
1820-183f : Intel Corp. 82801BA/BAM USB (Hub #1)
1820-183f : uhci-hcd
1840-187f : Intel Corp. 82801BA/BAM AC'97 Audio
1880-189f : Intel Corp. 82801BA/BAM USB (Hub #2)
1880-189f : uhci-hcd
1c00-1cff : Intel Corp. 82801BA/BAM AC'97 Audio
2000-2fff : PCI Bus #02
2000-203f : Intel Corp. 82557/8/9 [Ethernet Pro 100]
2000-203f : e100
2040-2047 : Lucent Microelectronics WinModem 56k
2400-24ff : Lucent Microelectronics WinModem 56k
(/proc/iomem):
00000000-0009f3ff : System RAM
0009f400-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000cc000-000cd7ff : Extension ROM
000d0000-000d3fff : reserved
000f0000-000fffff : System ROM
00100000-07e6ffff : System RAM
00100000-002ab369 : Kernel code
002ab36a-003457cf : Kernel data
07e70000-07e7fbff : ACPI Tables
07e7fc00-07e7ffff : ACPI Non-volatile Storage
07e80000-07ffffff : reserved
10000000-10000fff : O2 Micro, Inc. OZ6933 Cardbus Controller
10001000-10001fff : O2 Micro, Inc. OZ6933 Cardbus Controller (#2)
f4000000-f407ffff : Intel Corp. 82815 CGC [Chipset Graphics Controller]
f4100000-f42fffff : PCI Bus #02
f4100000-f41fffff : Intel Corp. 82557/8/9 [Ethernet Pro 100]
f4100000-f41fffff : e100
f4200000-f4200fff : Intel Corp. 82557/8/9 [Ethernet Pro 100]
f4200000-f4200fff : e100
f4201000-f42010ff : Lucent Microelectronics WinModem 56k
f8000000-fbffffff : Intel Corp. 82815 CGC [Chipset Graphics Controller]
fff00000-ffffffff : reserved
[7.5.] PCI information ('lspci -vvv' as root):
00:00.0 Host bridge: Intel Corp. 82815 815 Chipset Host Bridge and Memory
Controller Hub (rev 11)
Subsystem: Dell Computer Corporation: Unknown device 00c9
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
Capabilities: [88] #09 [f205]
00:02.0 VGA compatible controller: Intel Corp. 82815 CGC [Chipset Graphics
Controller] (rev 11) (prog-if 00 [VGA])
Subsystem: Dell Computer Corporation: Unknown device 00c9
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 10
Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M]
Region 1: Memory at f4000000 (32-bit, non-prefetchable) [size=512K]
Capabilities: [dc] 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-
00:1e.0 PCI bridge: Intel Corp. 82820 820 (Camino 2) Chipset PCI (-M) (rev
03) (prog-if 00 [Normal decode])
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
Bus: primary=00, secondary=01, subordinate=02, sec-latency=64
I/O behind bridge: 00002000-00002fff
Memory behind bridge: f4100000-f42fffff
Prefetchable memory behind bridge: fff00000-000fffff
BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
00:1f.0 ISA bridge: Intel Corp. 82820 820 (Camino 2) Chipset ISA Bridge
(ICH2-M) (rev 03)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 0
00:1f.1 IDE interface: Intel Corp. 82820 820 (Camino 2) Chipset IDE U100
(-M) (rev 03) (prog-if 80 [Master])
Subsystem: Intel Corp.: Unknown device 4541
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Region 4: I/O ports at 1800 [size=16]
00:1f.2 USB Controller: Intel Corp. 82820 820 (Camino 2) Chipset USB (Hub A)
(rev 03) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4541
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin D routed to IRQ 5
Region 4: I/O ports at 1820 [size=32]
00:1f.3 SMBus: Intel Corp. 82820 820 (Camino 2) Chipset SMBus (rev 03)
Subsystem: Intel Corp.: Unknown device 4541
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin B routed to IRQ 5
Region 4: I/O ports at 1810 [size=16]
00:1f.4 USB Controller: Intel Corp. 82820 820 (Camino 2) Chipset USB (Hub B)
(rev 03) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4541
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin C routed to IRQ 5
Region 4: I/O ports at 1880 [size=32]
00:1f.5 Multimedia audio controller: Intel Corp. 82820 820 (Camino 2)
Chipset AC'97 Audio Controller (rev 03)
Subsystem: Dell Computer Corporation: Unknown device 00c9
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 5
Region 0: I/O ports at 1c00 [size=256]
Region 1: I/O ports at 1840 [size=64]
01:03.0 CardBus bridge: O2 Micro, Inc. OZ6933 Cardbus Controller (rev 01)
Subsystem: Dell Computer Corporation: Unknown device 00c9
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping+ SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 5
Region 0: Memory at 10000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=01, secondary=03, subordinate=06, sec-latency=0
Memory window 0: 00000000-00000000
Memory window 1: 00000000-00000000
I/O window 0: 00000000-00000003
I/O window 1: 00000000-00000003
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+
PostWrite-
16-bit legacy interface ports at 0001
01:03.1 CardBus bridge: O2 Micro, Inc. OZ6933 Cardbus Controller (rev 01)
Subsystem: Dell Computer Corporation: Unknown device 00c9
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping+ SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 5
Region 0: Memory at 10001000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=01, secondary=07, subordinate=0a, sec-latency=0
Memory window 0: 00000000-00000000
Memory window 1: 00000000-00000000
I/O window 0: 00000000-00000003
I/O window 1: 00000000-00000003
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+
PostWrite-
16-bit legacy interface ports at 0001
01:0b.0 PCI bridge: Action Tec Electronics Inc: Unknown device 0100 (rev 11)
(prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 64, cache line size 08
Bus: primary=01, secondary=02, subordinate=02, sec-latency=64
I/O behind bridge: 00002000-00002fff
Memory behind bridge: f4100000-f42fffff
Prefetchable memory behind bridge: fff00000-000fffff
BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
Capabilities: [80] 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-
Bridge: PM- B3+
Capabilities: [90] #06 [0000]
02:04.0 Ethernet controller: Intel Corp. 82557 [Ethernet Pro 100] (rev 08)
Subsystem: Action Tec Electronics Inc: Unknown device 1100
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr-
Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 66 (2000ns min, 14000ns max), cache line size 08
Interrupt: pin A routed to IRQ 5
Region 0: Memory at f4200000 (32-bit, non-prefetchable) [size=4K]
Region 1: I/O ports at 2000 [size=64]
Region 2: Memory at f4100000 (32-bit, non-prefetchable) [size=1M]
Expansion ROM at <unassigned> [disabled] [size=1M]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA
PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-
02:08.0 Communication controller: Lucent Microelectronics WinModem 56k (rev
01)
Subsystem: Action Tec Electronics Inc: Unknown device 2400
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B+
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 5
Region 0: Memory at f4201000 (32-bit, non-prefetchable) [disabled]
[size=256]
Region 1: I/O ports at 2040 [disabled] [size=8]
Region 2: I/O ports at 2400 [disabled] [size=256]
Capabilities: [f8] 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-
[7.6.] I don't have the file /proc/scsi/scsi.
[7.7.] Informations from /proc/ide/hdc:
capacity:
2147483647
identify:
85c0 0000 0000 0000 0000 0000 0000 0000
0000 0000 2020 2020 2020 2020 2020 2020
2020 2020 2020 2020 0000 0000 0000 322e
3030 2020 2020 484c 2d44 542d 5354 2043
442d 5257 2047 4345 2d38 3038 304e 2020
2020 2020 2020 2020 2020 2020 2020 0000
0000 0f00 0000 0200 0200 0002 0000 0000
0000 0000 0000 0000 0000 0000 0007 0407
0003 0078 0078 0078 0078 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
model:
HL-DT-ST CD-RW GCE-8080N
settings:
name value min max mode
---- ----- --- --- ----
bios_cyl 0 0 1023 rw
bios_head 0 0 255 rw
bios_sect 0 0 63 rw
current_speed 34 0 70 rw
ide-scsi 0 0 1 rw
init_speed 34 0 70 rw
io_32bit 0 0 3 rw
keepsettings 0 0 1 rw
log 0 0 1 rw
nice1 1 0 1 rw
number 2 0 3 rw
pio_mode write-only 0 255 w
slow 0 0 1 rw
transform 1 0 3 rw
unmaskirq 0 0 1 rw
using_dma 1 0 1 rw