LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 05-28-2005, 05:13 PM   #1
cragwolf
Member
 
Registered: Jan 2004
Location: arse-end of the world
Distribution: Zenwalk 2.8
Posts: 73

Rep: Reputation: 15
Upgrade 10.0 ---> 10.1 problem


After upgrading from Slackware 10.0 to 10.1, I have a problem. I get a warning messsage during startup saying that fschk (I think I may have spelled that wrong) will be slow because I do not have dma turned on. When I try a "hdparm -d 1 /dev/hda" I get:

Code:
setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)
A "hdparm -i /dev/hda" gives me:

Code:
/dev/hda:

 Model=WDC WD1200JD-00GBB0, FwRev=02.05D02, SerialNo=WD-WMAET2161714
 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
 RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=74
 BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=234441648
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: device does not report version:

 * signifies the current active mode
And a "/sbin/lspci | grep -i ide" gives me:

Code:
00:1f.2 IDE interface: Intel Corp. 82801EB (ICH5) Serial ATA 150 Storage Controller (rev 02)
I'm using the standard kernel that comes with Slackware 10, v2.4.xx. I think it's 2.4.29.

It certainly is slow with dma turned off, particularly when the hard drive is busy. So how do I turn it on?
 
Old 05-28-2005, 05:35 PM   #2
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
Try this:
Code:
hdparm -X66 -d1 -u1 -m16 -c3 /dev/hda
 
Old 05-28-2005, 05:57 PM   #3
cragwolf
Member
 
Registered: Jan 2004
Location: arse-end of the world
Distribution: Zenwalk 2.8
Posts: 73

Original Poster
Rep: Reputation: 15
Thanks, but no, that doesn't work either:

Code:
/dev/hda:
 setting 32-bit IO_support flag to 3
 setting multcount to 16
 setting unmaskirq to 1 (on)
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 setting xfermode to 66 (UltraDMA mode2)
 multcount    = 16 (on)
 IO_support   =  3 (32-bit w/sync)
 unmaskirq    =  1 (on)
 using_dma    =  0 (off)
 
Old 05-28-2005, 06:31 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
That usually happens when you don't have support for your chipset loaded. I don't know if can be solved by loading a module, I've always compiled support for my chipset directly into the kernel.
Are you sure you didn't upgrade the kernel or kernel modules too?
 
Old 05-28-2005, 06:31 PM   #5
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Are you using SATA or regular IDE discs?

You need to determine what chipset you have and are using, and load the module for it. Your 'Operation Not Permitted' error is because there is no support in the kernel.

--Shade
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
upgrade 2.4.29 to 2.6.11 problem GaMeS Slackware 3 03-07-2005 08:30 AM
Problem to upgrade... os2 Suse/Novell 2 02-18-2005 02:40 PM
upgrade problem lestoil Slackware - Installation 0 06-14-2004 11:41 PM
upgrade problem lvieira Debian 1 02-11-2004 11:10 AM
RH 7.1->7.2 Upgrade problem concoran Linux - General 5 12-10-2001 06:44 PM


All times are GMT -5. The time now is 05:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration