nforce4, Harddisk SATA, DVD-Burner ATAPI: How can I keep ide-scsi from loading?
Hi all,
I have the following problem:
My cd-burner is the only device on ide (currently /dev/sr0 over
ide-scsi), the harddisks are on SATA (/dev/sda, /dev/sdb).
I cannot burn CD's with more than 9x (because of DMA bandwith
limitations (according to cdrecord))
Now, I know that ide-scsi is supposed to be broken in 2.6.x kernels, and
I should not expect it to work. Indeed I can boot a knoppix cd (kernel
2.6.11) and it does not load any scsi modules, while the disks and the
burner work as expected. I do however not know if some of the modules
there are directly compiled into the kernel.
uname -a
Linux Nasqueron.wattstrasse.ch 2.6.12-rc3-050427 #2 Wed Apr 27 20:04:59
CEST 2005 x86_64 GNU/Linux
Kernel 2.6.11 showed the same behavior.
I have tried almost everything to get rid of the ide-scsi module:
- rmmod ide-scsi gives a kernel oops
- ide-scsi is not noted anywhere in /etc/modprobe.d/
or /etc/modules.conf
- rename the ide-scsi.ko file: the ide-scsi module still gets loaded!
- remake the kernel without the ide-scsi module: kernel panic upon boot
because it could not find the root device (which is on SATA)
So, it seems that somehow the SATA driver is connected to the ide-scsi
driver? This would explain why all the scsi modules are loaded...
I also think it very strange that it seems to recognize my burner
as /dev/hda, and then relinks it somehow to /dev/sr0 (if you check the
dmesg output below)???
Many thanks for any hints
Kurt Gysin
Mainboard: MSI K8N Diamond (nforce4), AMD64
dmesg:
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 4164KiB [1 disk] into ram disk... done.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 136k freed
SCSI subsystem initialized
libata version 1.10 loaded.
sata_nv version 0.6
ACPI: PCI Interrupt Link [APSI] enabled at IRQ 23
ACPI: PCI Interrupt 0000:00:07.0[A] -> Link [APSI] -> GSI 23 (level,
low) -> IRQ 23
PCI: Setting latency timer of device 0000:00:07.0 to 64
ata1: SATA max UDMA/133 cmd 0x9F0 ctl 0xBF2 bmdma 0xF600 irq 23
ata2: SATA max UDMA/133 cmd 0x970 ctl 0xB72 bmdma 0xF608 irq 23
ata1: dev 0 cfg 49:2f00 82:346b 83:7f01 84:4003 85:3c69 86:3c01 87:4003
88:40ff
ata1: dev 0 ATA, max UDMA7, 312581808 sectors: lba48
nv_sata: Primary device added
nv_sata: Primary device removed
nv_sata: Secondary device added
nv_sata: Secondary device removed
ata1: dev 0 configured for UDMA/133
scsi0 : sata_nv
ata2: dev 0 cfg 49:2f00 82:346b 83:7f01 84:4003 85:3c69 86:3c01 87:4003
88:40ff
ata2: dev 0 ATA, max UDMA7, 312581808 sectors: lba48
nv_sata: Primary device added
nv_sata: Primary device removed
nv_sata: Secondary device added
nv_sata: Secondary device removed
ata2: dev 0 configured for UDMA/133
scsi1 : sata_nv
Vendor: ATA Model: SAMSUNG SP1614C Rev: SW10
Type: Direct-Access ANSI SCSI revision: 05
Vendor: ATA Model: SAMSUNG SP1614C Rev: SW10
Type: Direct-Access ANSI SCSI revision: 05
ACPI: PCI Interrupt Link [APSJ] enabled at IRQ 22
ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [APSJ] -> GSI 22 (level,
low) -> IRQ 22
PCI: Setting latency timer of device 0000:00:08.0 to 64
ata3: SATA max UDMA/133 cmd 0x9E0 ctl 0xBE2 bmdma 0xF100 irq 22
ata4: SATA max UDMA/133 cmd 0x960 ctl 0xB62 bmdma 0xF108 irq 22
ata3: no device found (phy stat 00000000)
scsi2 : sata_nv
ata4: no device found (phy stat 00000000)
scsi3 : sata_nv
NET: Registered protocol family 1
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sda: drive cache: write back
/dev/scsi/host0/bus0/target0/lun0: p1 < p5 p6 p7 > p2 p3
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sdb: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sdb: drive cache: write back
SCSI device sdb: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sdb: drive cache: write back
/dev/scsi/host1/bus0/target0/lun0:
Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Adding 1951856k swap on /dev/sda7. Priority:-1 extents:1
EXT3 FS on sda5, internal journal
NFORCE-CK804: IDE controller at PCI slot 0000:00:06.0
NFORCE-CK804: chipset revision 162
NFORCE-CK804: not 100% native mode: will probe irqs later
NFORCE-CK804: BIOS didn't set cable bits correctly. Enabling workaround.
NFORCE-CK804: 0000:00:06.0 (rev a2) UDMA133 controller
ide0: BM-DMA at 0xfb00-0xfb07, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xfb08-0xfb0f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: PLEXTOR DVDR PX-716A, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX
as device
scsi4 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: PLEXTOR Model: DVDR PX-716A Rev: 1.03
Type: CD-ROM ANSI SCSI revision: 02
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
Attached scsi CD-ROM sr0 at scsi4, channel 0, id 0, lun 0
Probing IDE interface ide1...
Nasqueron:/home/oberon# lsmod
Module Size Used by
rfcomm 39856 0
l2cap 25672 5 rfcomm
parport_pc 37480 1
lp 13960 0
parport 40460 2 parport_pc,lp
thermal 14992 0
fan 5256 0
button 7840 0
processor 23752 1 thermal
ac 5640 0
battery 10568 0
deflate 4480 0
zlib_deflate 23192 1 deflate
twofish 39680 0
serpent 17728 0
aes 27968 0
blowfish 9024 0
des 12352 0
sha256 9152 0
sha1 3328 0
crypto_null 2944 0
xfrm_user 16648 0
xfrm4_tunnel 4680 0
ipcomp 8588 0
esp4 9408 0
ah4 7296 0
af_key 34068 0
af_packet 23628 2
md5 4800 1
ipv6 265664 16
ipt_MASQUERADE 3968 2
ipt_mark 2048 1
iptable_mangle 3392 1
iptable_nat 25588 2 ipt_MASQUERADE
ip_conntrack 48740 2 ipt_MASQUERADE,iptable_nat
ip_tables 20736 4
ipt_MASQUERADE,ipt_mark,iptable_mangle,iptable_nat
ide_cd 43680 0
eth1394 21264 0
snd_ca0106 31492 2
snd_ac97_codec 88208 1 snd_ca0106
snd_pcm_oss 55008 0
snd_mixer_oss 18880 1 snd_pcm_oss
snd_pcm 99084 3 snd_ca0106,snd_ac97_codec,snd_pcm_oss
snd_timer 25480 1 snd_pcm
snd 59816 10
snd_ca0106,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 11232 1 snd
snd_page_alloc 11144 2 snd_ca0106,snd_pcm
ohci1394 34060 0
ieee1394 367288 2 eth1394,ohci1394
rt2500 193896 1
tsdev 9152 0
joydev 11456 0
evdev 11008 0
usbhid 36064 0
hci_usb 15624 2
bluetooth 52036 7 rfcomm,l2cap,hci_usb
sg 40312 0
shpchp 94888 0
pci_hotplug 12548 1 shpchp
forcedeth 19648 0
ehci_hcd 33608 0
ohci_hcd 21188 0
i2c_nforce2 7872 0
i2c_core 24152 1 i2c_nforce2
dm_mod 59256 0
nvidia 4568316 12
amd74xx 13680 0 [permanent]
ext3 136528 1
jbd 58480 1 ext3
mbcache 10824 1 ext3
ide_scsi 18116 0
ide_core 143012 3 ide_cd,amd74xx,ide_scsi
sr_mod 18468 0
cdrom 39336 2 ide_cd,sr_mod
sd_mod 19480 3
unix 30200 736
sata_nv 10244 2
libata 49032 1 sata_nv
scsi_mod 151344 5 sg,ide_scsi,sr_mod,sd_mod,libata
Nasqueron:/home/oberon#
oberon@Nasqueron:/lib/modules/2.6.12-rc3-050427/kernel/drivers/scsi$
lspci
0000:00:00.0 Memory controller: nVidia Corporation CK804 Memory
Controller (rev a3)
0000:00:01.0 ISA bridge: nVidia Corporation: Unknown device 0050 (rev
a3)
0000:00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
0000:00:02.0 USB Controller: nVidia Corporation CK804 USB Controller
(rev a2)
0000:00:02.1 USB Controller: nVidia Corporation CK804 USB Controller
(rev a3)
0000:00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev a2)
0000:00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA
Controller (rev a3)
0000:00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA
Controller (rev a3)
0000:00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
0000:00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev
a3)
0000:00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
0000:00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
0000:00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
0000:00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] HyperTransport Technology Configuration
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Address Map
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] DRAM Controller
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Miscellaneous Control
0000:01:08.0 Network controller: RaLink Ralink RT2500 802.11 Cardbus
Reference Card (rev 01)
0000:01:0c.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host
Controller (rev 46)
0000:01:0d.0 Multimedia audio controller: Creative Labs SB Audigy LS
0000:02:00.0 Ethernet controller: Marvell Technology Group Ltd. Gigabit
Ethernet Controller (rev 15)
0000:05:00.0 VGA compatible controller: nVidia Corporation: Unknown
device 0141 (rev a2)
oberon@Nasqueron:/lib/modules/2.6.12-rc3-050427/kernel/drivers/scsi$
Reply to: