I've played around with the boot options in Suse 8.2 on my
ancient custom-built AMD 233MHz PC, and I can't work out
how to get ide-scsi to load during bootup, nor how to get
my brand new NEC ND-1300A DVD burner to use dma mode after
a reboot.
Here's what I get in my boot messages ...
Inspecting /boot/System.map-2.4.20-4GB
Loaded 20968 symbols from /boot/System.map-2.4.20-4GB.
Symbols match kernel version 2.4.20.
Loaded 118 symbols from 8 modules.
klogd 1.4.1, log source = ksyslog started.
<4>Linux version 2.4.20-4GB (root@Pentium.suse.de) (gcc version 3.3 20030226 (pr
erelease) (SuSE Linux)) #1 Wed Dec 3 10:42:32 UTC 2003
<6>BIOS-provided physical RAM map:
<4> BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
<4> BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
<4> BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
<4> BIOS-e820: 0000000000100000 - 0000000006000000 (usable)
<4> BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
<4>Scanning bios EBDA for MXT signature
<5>0MB HIGHMEM available.
<5>96MB LOWMEM available.
<7>ACPI: have wakeup address 0xc0001000
<4>On node 0 totalpages: 24576
<4>zone(0): 4096 pages.
<4>zone(1): 20480 pages.
<4>zone(2): 0 pages.
<5>ACPI disabled because your bios is from 99 and too old
<5>You can enable it with acpi=force
<4>Building zonelist for node : 0
<4>Kernel command line: root=/dev/hdb3 vga=0x31a acpi=off ide1=dma hdc=ide-scsi
hdd=ide-scsi splash=silent showopts
<6>ide_setup: ide1=dma
<6>ide_setup: hdc=ide-scsi
<6>ide_setup: hdd=ide-scsi
<6>bootsplash: silent mode.
<6>Initializing CPU#0
<4>Detected 266.445 MHz processor.
<4>Console: colour dummy device 80x25
<4>Calibrating delay loop... 530.84 BogoMIPS
<6>Memory: 93380k/98304k available (1572k kernel code, 4536k reserved, 574k data
, 160k init, 0k highmem)
<6>Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
<6>Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
<6>Mount cache hash table entries: 512 (order: 0, 4096 bytes)
<4>Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
<4>Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
<6>CPU: L1 I Cache: 32K (32 bytes/line), D cache 32K (32 bytes/line)
<7>CPU: After generic, caps: 008001bf 808009bf 00000000 00000000
<7>CPU: Common caps: 008001bf 808009bf 00000000 00000000
<4>CPU: AMD-K6(tm) 3D processor stepping 00
<6>Checking 'hlt' instruction... OK.
<4>POSIX conformance testing by UNIFIX
<4>mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
<4>mtrr: detected mtrr type: none
<6>ACPI: Subsystem revision 20030228
<6>ACPI: Disabled via command line (acpi=off)
<6>PCI: PCI BIOS revision 2.10 entry at 0xfb4e0, last bus=1
<6>PCI: Using configuration type 1
<6>PCI: Probing PCI hardware
<4>PCI: ACPI tables contain no PCI IRQ routing entries
<4>PCI: Probing PCI hardware (bus 00)
<6>PCI: Using IRQ router VIA [1106/0586] at 00:07.0
<6>Activating ISA DMA hang workarounds.
...
<6>Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
<6>ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
<6>VP_IDE: IDE controller at PCI slot 00:07.1
<6>VP_IDE: chipset revision 6
<6>VP_IDE: not 100%% native mode: will probe irqs later
<6>VP_IDE: VIA vt82c586b (rev 41) IDE UDMA33 controller on pci00:07.1
<6> ide0: BM-DMA at 0x6400-0x6407, BIOS settings: hda
MA, hdb
MA
<6> ide1: BM-DMA at 0x6408-0x640f, BIOS settings: hdc
MA, hdd
MA
<4>hda: QUANTUM FIREBALL CR13.0A, ATA DISK drive
<4>hdb: IBM-DPTA-353750, ATA DISK drive
<4>blk: queue c03ac500, I/O limit 4095Mb (mask 0xffffffff)
<4>blk: queue c03ac654, I/O limit 4095Mb (mask 0xffffffff)
<4>hdc: _NEC DVD_RW ND-1300A, ATAPI CD/DVD-ROM drive
<4>hdd: CREATIVE CD4834E, ATAPI CD/DVD-ROM drive
<4>ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
<4>ide1 at 0x170-0x177,0x376 on irq 15
<4>hda: attached ide-disk driver.
<4>hda: host protected area => 1
<6>hda: 25429824 sectors (13020 MB) w/418KiB Cache, CHS=1582/255/63, UDMA(33)
<4>hdb: attached ide-disk driver.
<4>hdb: host protected area => 1
<6>hdb: 73261440 sectors (37510 MB) w/1961KiB Cache, CHS=4560/255/63, UDMA(33)
<4>ide-floppy driver 0.99.newide
<6>Partition check:
<6> hda: hda1 hda2 hda3
<6> hdb: hdb1 hdb2 hdb3
<4>ide-floppy driver 0.99.newide
<6>SCSI subsystem driver Revision: 1.00
<3>kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
<6>md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
<6>md: Autodetecting RAID arrays.
<6>md: autorun ...
<6>md: ... autorun DONE.
...
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda1 on /windows/C type vfat (rw,noexec,nosuid,nodev,gid=100,umask=0002,ioc
harset=iso8859-1,code=437)
/dev/hdb1 on /windows/D type vfat (rw,noexec,nosuid,nodev,gid=100,umask=0002,ioc
harset=iso8859-1,code=437)
doneLoading required kernel modules
doneSetting up IDE DMA mode
/dev/hdc: Input/output error
/dev/hdd: Input/output error
failed
Restore device permissions
done
...
I've configured dma mode to on in both the idedma section
of YaST and also in the config editor (as per the ogle FAQ).
However, every time I reboot I find that the ide-scsi
module is not loaded, and dma mode is turned off.
My workaround is to create an rc script:
# more /etc/init.d/rc5.d/S20modprobe-ide-scsi
#/bin/bash
modprobe ide-scsi
hdparm -d 1 /dev/hdc
hdparm -d 1 /dev/hdd
But I'm sure there must be a neater way of getting it
working. Anyone got any ideas?
Ken.