Guest monkman Posted October 8, 2003 Report Share Posted October 8, 2003 hi! i'm new here to this forum...just found it and it looks good! while booting mdk says: hda: tinmeout waitung for DMA hda: tinmeout waitung for DMA hda: drive not ready for command this is repeated 3 or 4 times until the booting continues. im running 3 hdd's hda: w2k + grub hdb: mandrake hde: data (running on second controller) is there any solution to stop searching/enabling the DMA-Mosud for hda? i don't need it anyway for running my linux ;) TNANX! Quote Link to comment Share on other sites More sharing options...
bvc Posted October 8, 2003 Report Share Posted October 8, 2003 Welcome! su to root in a terminal like so; su <Enter> type_roots_password <Enter> and go through the /proc filesystem with ls (list) and cat (concatenate files and print on the standard output). The /proc fs is what the kernel reads for instruction, so be careful! For example..... from a default install of ML9.2rc2 [root@localhost root]# ls /proc 1/ 1420/ 1970/ 2224/ 2245/ 2285/ 9/ devices irq/ net/ tty/ 1025/ 1450/ 1971/ 2226/ 2249/ 2323/ 901/ dma kcore partitions uptime 12/ 1454/ 1972/ 2228/ 2251/ 2324/ 926/ driver/ kmsg pci version 121/ 1462/ 2/ 2231/ 2263/ 2325/ 934/ e820info ksyms scsi/ 1236/ 1548/ 2080/ 2232/ 2266/ 2367/ 999/ execdomains loadavg self@ 1336/ 1763/ 2181/ 2233/ 2270/ 3/ apm fb locks slabinfo 1338/ 1804/ 2185/ 2234/ 2271/ 4/ asound/ filesystems mdstat splash 1385/ 1833/ 2187/ 2235/ 2272/ 5/ bus/ fs/ meminfo stat 1389/ 1843/ 2189/ 2236/ 2273/ 6/ cmdline ide/ misc swaps 1390/ 1967/ 2191/ 2239/ 2277/ 7/ cpufreq interrupts modules sys/ 1391/ 1968/ 2219/ 2241/ 2278/ 8/ cpuinfo iomem mounts@ sysrq-trigger 1407/ 1969/ 222/ 2243/ 2279/ 837/ crypto ioports mtrr sysvipc/ [root@localhost root]# cat /proc/dma 4: cascade [root@localhost root]# ls /proc/ide drivers hda@ hdc@ hdd@ ide0/ ide1/ via [root@localhost root]# cat /proc/ide/via ----------VIA BusMastering IDE Configuration---------------- Driver Version: 3.37 South Bridge: VIA vt8235 Revision: ISA 0x0 IDE 0x6 Highest DMA rate: UDMA133 BM-DMA base: 0xe000 PCI clock: 33.3MHz Master Read Cycle IRDY: 0ws Master Write Cycle IRDY: 0ws BM IDE Status Register Read Retry: yes Max DRDY Pulse Width: No limit -----------------------Primary IDE-------Secondary IDE------ Read DMA FIFO flush: yes yes End Sector FIFO flush: no no Prefetch Buffer: yes yes Post Write Buffer: yes yes Enabled: yes yes Simplex only: no no Cable Type: 80w 40w -------------------drive0----drive1----drive2----drive3----- Transfer Mode: UDMA PIO UDMA UDMA Address Setup: 120ns 120ns 120ns 120ns Cmd Active: 90ns 90ns 90ns 90ns Cmd Recovery: 30ns 30ns 30ns 30ns Data Active: 90ns 330ns 90ns 90ns Data Recovery: 30ns 270ns 30ns 30ns Cycle Time: 22ns 600ns 60ns 60ns Transfer Rate: 88.8MB/s 3.3MB/s 33.3MB/s 33.3MB/s [root@localhost root]# cat /proc/ide/drivers ide-cdrom version 4.99 ide-scsi version 0.93 ide-disk version 1.17 ide-default version 0.9.newide [root@localhost root]# cat /proc/ide/hda cat: /proc/ide/hda: Is a directory [root@localhost root]# file /proc/ide/hda /proc/ide/hda: symbolic link to `ide0/hda' [root@localhost root]# ls /proc/ide/ide0 channel config hda/ mate model [root@localhost root]# ls /proc/ide/ide0/hda cache capacity geometry media settings smart_values capacity driver identify model smart_thresholds [root@localhost root]# cat /proc/ide/ide0/hda/settings name value min max mode ---- ----- --- --- ---- acoustic 0 0 254 rw address 0 0 2 rw bios_cyl 3736 0 65535 rw bios_head 255 0 255 rw bios_sect 63 0 63 rw breada_readahead 8 0 255 rw bswap 0 0 1 r current_speed 69 0 70 rw failures 0 0 65535 rw file_readahead 124 0 16384 rw init_speed 12 0 70 rw io_32bit 1 0 3 rw keepsettings 0 0 1 rw lun 0 0 7 rw max_failures 1 0 65535 rw max_kb_per_request 128 1 255 rw multcount 16 0 16 rw nice1 1 0 1 rw nowerr 0 0 1 rw number 0 0 3 rw pio_mode write-only 0 255 w slow 0 0 1 rw unmaskirq 1 0 1 rw using_dma 1 0 1 rw wcache 0 0 1 rw [root@localhost root]# In you bootloader config you can append/ pass to the kernel idebus=xxx where xxx is your speed. You can see mine from cat /proc/ide/via (my chip) Highest DMA rate: UDMA133 I use grub, so I have kernel (hd0,5)/boot/vmlinuz root=/dev/hda6 devfs=mount idebus=133 hdd=ide-scsi acpi=ht splash=silent vga=788 Lilo has an append= entry to use. So, see if you see anything in there that'll help. What's your chipset? Look in harddrake and see if it's properly configed/known. Quote Link to comment Share on other sites More sharing options...
Guest monkman Posted October 9, 2003 Report Share Posted October 9, 2003 ok many thanx... it says that drive 0 is running pio mode...so i wanted to edit the grub.conf, but i can't find it! it's not in /boot/grub/grub.conf and #find / -name grub.conf doesn't find any.... what can i do now? the mandrake controlcenter doesn't give possibility to change it, just acpi etc.. THANX! Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted October 9, 2003 Report Share Posted October 9, 2003 I think you can open mandrake control center mcc and then click the Boot icon and edit it that way. Not sure about Grub, but probably so. Quote Link to comment Share on other sites More sharing options...
Guest monkman Posted October 9, 2003 Report Share Posted October 9, 2003 there's no way to change the config file via the mcc :( one have to do it manually, with vi or others, but there's no config-file as i used gentoo it was no problem to do it.. the question is: where does mandrake save the options of the bootmanager? in my case grub.. and where can i change them? THANX Quote Link to comment Share on other sites More sharing options...
tyme Posted October 9, 2003 Report Share Posted October 9, 2003 the grub conf file should be: /etc/grub.conf i believe. mandrake tends to keep conf files in /etc Quote Link to comment Share on other sites More sharing options...
Guest monkman Posted October 9, 2003 Report Share Posted October 9, 2003 but it isn't .... Quote Link to comment Share on other sites More sharing options...
Guest monkman Posted October 9, 2003 Report Share Posted October 9, 2003 as root: find / -name grub.conf -print --> no matches... Quote Link to comment Share on other sites More sharing options...
Guest monkman Posted October 9, 2003 Report Share Posted October 9, 2003 another question: why can't i see hidden files, even as root? Quote Link to comment Share on other sites More sharing options...
bvc Posted October 9, 2003 Report Share Posted October 9, 2003 /boot/grub/menu.lst is grubs boot-config-file. In RH it's /boot/grub/grub.conf but menu.lst is a symlink to it. [root@localhost root]# cat /boot/grub/menu.lst timeout 5 color black/cyan yellow/cyan #color dark-green/orange blink-red/blue i18n (hd0,5)/boot/grub/messages keytable (hd0,5)/boot/us.klt default 2 title ML-9.2rc2 /cooker kernel (hd0,5)/boot/vmlinuz root=/dev/hda6 devfs=mount idebus=133 hdd=ide-scsi acpi=ht splash=quiet vga=788 initrd (hd0,5)/boot/initrd.img title Debian root (hd0,7) kernel /boot/vmlinuz-2.4.22-1-k7 root=/dev/hda8 ro noapic acpi=off idebus=133 devfs=nomount vga=normal initrd /boot/initrd.img-2.4.22-1-k7 savedefault boot #title linux-nonfb #kernel (hd0,5)/boot/vmlinuz root=/dev/hda6 devfs=mount hdd=ide-scsi acpi=ht #initrd (hd0,5)/boot/initrd.img #title failsafe #kernel (hd0,5)/boot/vmlinuz root=/dev/hda6 failsafe devfs=nomount hdd=ide-scsi acpi=ht #initrd (hd0,5)/boot/initrd.img #title NTloader #root (hd0,0) #chainloader +1 title NT BootLoader rootnoverify (hd0,0) makeactive chainloader +1 #title floppy #root (fd0) #chainloader +1 [root@localhost root]# why can't i see hidden files, even as root?What are you viewing with? terminal? ls -a Konq? View>Show Hidden Files Nautilus? Edit>Preference>Show hidden files AND, if you have the updates/bugfixes it can be edited via mcc>Boot>DrakBoot>Configure but in this case, by hand is better/safer. Mcc>Boot>DrakBoot will tell you your current bootloader. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.