* [gentoo-amd64] dma?
@ 2006-07-11 9:02 Gavin Seddon
2006-07-11 9:14 ` Gavin Seddon
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Gavin Seddon @ 2006-07-11 9:02 UTC (permalink / raw
To: Gentoo
Hi,
I am using Reiser on a couple of my partitions. When booting it informs
me the 'dma is turned off, this is slowing down fs checking. Also,
occasionall I am instructed to ctrl D for a reboot. Is this normal for
reiser? And, how do I turn dma on? A similar situation occurred with
all ext3 filesystems then afte about 1 yr the root partition developed
significant errors and wouldn't boot. So I put reiser on it. What do
you think's up? It appears to me to be a broken hdd?
Gavin.
--
Dr Gavin Seddon
Pharmacy and Pharmaceutical Sciences
University of Manchester
Oxford Road
M13 9PL
UK
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] dma?
2006-07-11 9:02 [gentoo-amd64] dma? Gavin Seddon
@ 2006-07-11 9:14 ` Gavin Seddon
2006-07-11 9:24 ` Andreas Karlsson
2006-07-11 10:00 ` Hemmann, Volker Armin
2 siblings, 0 replies; 9+ messages in thread
From: Gavin Seddon @ 2006-07-11 9:14 UTC (permalink / raw
To: gentoo-amd64
I have found the dma module with lspci. Will still advise me on the
rest?
On Tue, 2006-07-11 at 10:02 +0100, Gavin Seddon wrote:
> Hi,
> I am using Reiser on a couple of my partitions. When booting it informs
> me the 'dma is turned off, this is slowing down fs checking. Also,
> occasionall I am instructed to ctrl D for a reboot. Is this normal for
> reiser? And, how do I turn dma on? A similar situation occurred with
> all ext3 filesystems then afte about 1 yr the root partition developed
> significant errors and wouldn't boot. So I put reiser on it. What do
> you think's up? It appears to me to be a broken hdd?
> Gavin.
> --
> Dr Gavin Seddon
> Pharmacy and Pharmaceutical Sciences
> University of Manchester
> Oxford Road
> M13 9PL
> UK
>
>
>
>
--
Dr Gavin Seddon
Pharmacy and Pharmaceutical Sciences
University of Manchester
Oxford Road
M13 9PL
UK
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] dma?
2006-07-11 9:02 [gentoo-amd64] dma? Gavin Seddon
2006-07-11 9:14 ` Gavin Seddon
@ 2006-07-11 9:24 ` Andreas Karlsson
2006-07-11 9:43 ` Gavin Seddon
2006-07-11 10:00 ` Hemmann, Volker Armin
2 siblings, 1 reply; 9+ messages in thread
From: Andreas Karlsson @ 2006-07-11 9:24 UTC (permalink / raw
To: gentoo-amd64
[-- Attachment #1: Type: text/plain, Size: 1516 bytes --]
On Tuesday 11 July 2006 11:02, Gavin Seddon wrote:
> Hi,
> I am using Reiser on a couple of my partitions. When booting it informs
> me the 'dma is turned off, this is slowing down fs checking. Also,
> occasionall I am instructed to ctrl D for a reboot. Is this normal for
> reiser? And, how do I turn dma on? A similar situation occurred with
> all ext3 filesystems then afte about 1 yr the root partition developed
> significant errors and wouldn't boot. So I put reiser on it. What do
> you think's up? It appears to me to be a broken hdd?
> Gavin.
Hi,
Looks like the system was turned off without cleanly unmounting all
partitions. This should trigger a filesystem check at next reboot. The
message with Ctrl-D to reboot does also contain a oppertunity to login as
root (just type roots password). This is due to the fact that fsck.reiserfs
was unable to repair certan problems and needs to be run with optional
parameters that you must manually specify; probably --rebuild-tree.
A solution would be to boot up the system normaly and then enter runlevel 1 by
using the command "init 1" as root. Next umount the partition that is having
problems and do a "chkfs.reiserfs /dev/[your-partition]" and see if that
helps, otherwise do a "chkfs.reiserfs /dev/[your-partition] --rebuild-tree".
This helped me after some bad thunderstorms that caused blackouts last summer
and corrupted some of my partitions on my file server.
Best regards,
Andreas Karlsson
Sweden
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] dma?
2006-07-11 9:24 ` Andreas Karlsson
@ 2006-07-11 9:43 ` Gavin Seddon
0 siblings, 0 replies; 9+ messages in thread
From: Gavin Seddon @ 2006-07-11 9:43 UTC (permalink / raw
To: gentoo-amd64
Many thanks Andreas.
On Tue, 2006-07-11 at 11:24 +0200, Andreas Karlsson wrote:
> On Tuesday 11 July 2006 11:02, Gavin Seddon wrote:
> > Hi,
> > I am using Reiser on a couple of my partitions. When booting it informs
> > me the 'dma is turned off, this is slowing down fs checking. Also,
> > occasionall I am instructed to ctrl D for a reboot. Is this normal for
> > reiser? And, how do I turn dma on? A similar situation occurred with
> > all ext3 filesystems then afte about 1 yr the root partition developed
> > significant errors and wouldn't boot. So I put reiser on it. What do
> > you think's up? It appears to me to be a broken hdd?
> > Gavin.
>
>
> Hi,
>
> Looks like the system was turned off without cleanly unmounting all
> partitions. This should trigger a filesystem check at next reboot. The
> message with Ctrl-D to reboot does also contain a oppertunity to login as
> root (just type roots password). This is due to the fact that fsck.reiserfs
> was unable to repair certan problems and needs to be run with optional
> parameters that you must manually specify; probably --rebuild-tree.
>
> A solution would be to boot up the system normaly and then enter runlevel 1 by
> using the command "init 1" as root. Next umount the partition that is having
> problems and do a "chkfs.reiserfs /dev/[your-partition]" and see if that
> helps, otherwise do a "chkfs.reiserfs /dev/[your-partition] --rebuild-tree".
> This helped me after some bad thunderstorms that caused blackouts last summer
> and corrupted some of my partitions on my file server.
>
> Best regards,
> Andreas Karlsson
> Sweden
--
Dr Gavin Seddon
Pharmacy and Pharmaceutical Sciences
University of Manchester
Oxford Road
M13 9PL
UK
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] dma?
2006-07-11 9:02 [gentoo-amd64] dma? Gavin Seddon
2006-07-11 9:14 ` Gavin Seddon
2006-07-11 9:24 ` Andreas Karlsson
@ 2006-07-11 10:00 ` Hemmann, Volker Armin
2006-07-11 10:58 ` Gavin Seddon
2 siblings, 1 reply; 9+ messages in thread
From: Hemmann, Volker Armin @ 2006-07-11 10:00 UTC (permalink / raw
To: gentoo-amd64
On Tuesday 11 July 2006 11:02, Gavin Seddon wrote:
> Hi,
> I am using Reiser on a couple of my partitions. When booting it informs
> me the 'dma is turned off, this is slowing down fs checking. Also,
> occasionall I am instructed to ctrl D for a reboot. Is this normal for
> reiser? And, how do I turn dma on?
man hdparn
hdparm -d1 /dev/hdX
isn't that part of the installation instructions?
dma has nothing to do with the fs.
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] dma?
2006-07-11 10:00 ` Hemmann, Volker Armin
@ 2006-07-11 10:58 ` Gavin Seddon
2006-07-11 11:54 ` Brett Johnson
0 siblings, 1 reply; 9+ messages in thread
From: Gavin Seddon @ 2006-07-11 10:58 UTC (permalink / raw
To: gentoo-amd64
Yes,
I tried this and,
' hdparm -d1 -X /dev/hda
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
setting xfermode to 0 (default PIO mode)
using_dma = 0 (off)
linuxstation mbpssgms # whoami
root'
On Tue, 2006-07-11 at 12:00 +0200, Hemmann, Volker Armin wrote:
> On Tuesday 11 July 2006 11:02, Gavin Seddon wrote:
> > Hi,
> > I am using Reiser on a couple of my partitions. When booting it informs
> > me the 'dma is turned off, this is slowing down fs checking. Also,
> > occasionall I am instructed to ctrl D for a reboot. Is this normal for
> > reiser? And, how do I turn dma on?
>
> man hdparn
>
> hdparm -d1 /dev/hdX
>
> isn't that part of the installation instructions?
>
> dma has nothing to do with the fs.
--
Dr Gavin Seddon
Pharmacy and Pharmaceutical Sciences
University of Manchester
Oxford Road
M13 9PL
UK
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] dma?
2006-07-11 10:58 ` Gavin Seddon
@ 2006-07-11 11:54 ` Brett Johnson
2006-07-11 12:51 ` Gavin Seddon
0 siblings, 1 reply; 9+ messages in thread
From: Brett Johnson @ 2006-07-11 11:54 UTC (permalink / raw
To: gentoo-amd64
On Tue, Jul 11, 2006 at 11:58:04AM +0100, Gavin Seddon wrote:
> Yes,
> I tried this and,
> ' hdparm -d1 -X /dev/hda
>
> /dev/hda:
> setting using_dma to 1 (on)
> HDIO_SET_DMA failed: Operation not permitted
> setting xfermode to 0 (default PIO mode)
> using_dma = 0 (off)
> linuxstation mbpssgms # whoami
> root'
That most likely means you are missing the proper IDE driver in your
kernel and the system has defaulted back to the "generic" IDE driver.
What you want to do is use "/usr/sbin/lspic" to determine which IDE
chipset you have in the system and make sure that you have the
correct driver compilied in the kernel.
As an example, I have an older Dell with the following IDE chipset
(output from lspci):
00:1f.1 IDE interface: Intel Corporation 82801AA IDE (rev 02)
So in the kernel config I have the following options:
Device Drivers --->
ATA/ATAPI/MFM/RLL support --->
<*> ATA/ATAPI/MFM/RLL support
<*> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
<*> Include IDE/ATA-2 DISK support
[*] Use multi-mode by default
<M> Include IDE/ATAPI CDROM support
[*] PCI IDE chipset support
[*] Sharing PCI IDE interrupts support
[*] Generic PCI bus-master DMA support
[*] Use PCI DMA by default when available
<*> Intel PIIXn chipsets support
The last three options are the most important for getting DMA to work on
the dirve, and the last option will vary based on the chipset in your
system.
Brett
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] dma?
2006-07-11 11:54 ` Brett Johnson
@ 2006-07-11 12:51 ` Gavin Seddon
0 siblings, 0 replies; 9+ messages in thread
From: Gavin Seddon @ 2006-07-11 12:51 UTC (permalink / raw
To: gentoo-amd64
Brett, Hi
Yes I did this and Hemmann suggested the alternative in the inst. doc.
Will reboot asap.
Thanks
Gaviin
On Tue, 2006-07-11 at 06:54 -0500, Brett Johnson wrote:
> On Tue, Jul 11, 2006 at 11:58:04AM +0100, Gavin Seddon wrote:
> > Yes,
> > I tried this and,
> > ' hdparm -d1 -X /dev/hda
> >
> > /dev/hda:
> > setting using_dma to 1 (on)
> > HDIO_SET_DMA failed: Operation not permitted
> > setting xfermode to 0 (default PIO mode)
> > using_dma = 0 (off)
> > linuxstation mbpssgms # whoami
> > root'
>
> That most likely means you are missing the proper IDE driver in your
> kernel and the system has defaulted back to the "generic" IDE driver.
> What you want to do is use "/usr/sbin/lspic" to determine which IDE
> chipset you have in the system and make sure that you have the
> correct driver compilied in the kernel.
>
> As an example, I have an older Dell with the following IDE chipset
> (output from lspci):
> 00:1f.1 IDE interface: Intel Corporation 82801AA IDE (rev 02)
>
> So in the kernel config I have the following options:
>
> Device Drivers --->
>
> ATA/ATAPI/MFM/RLL support --->
>
> <*> ATA/ATAPI/MFM/RLL support
> <*> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
> <*> Include IDE/ATA-2 DISK support
> [*] Use multi-mode by default
> <M> Include IDE/ATAPI CDROM support
> [*] PCI IDE chipset support
> [*] Sharing PCI IDE interrupts support
> [*] Generic PCI bus-master DMA support
> [*] Use PCI DMA by default when available
> <*> Intel PIIXn chipsets support
>
> The last three options are the most important for getting DMA to work on
> the dirve, and the last option will vary based on the chipset in your
> system.
>
> Brett
--
Dr Gavin Seddon
Pharmacy and Pharmaceutical Sciences
University of Manchester
Oxford Road
M13 9PL
UK
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [gentoo-amd64] dma?
@ 2006-07-13 13:48 Razali Mohamad
0 siblings, 0 replies; 9+ messages in thread
From: Razali Mohamad @ 2006-07-13 13:48 UTC (permalink / raw
To: gentoo-amd64
Hello
The reason you had this:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
Was because it was not enabled in the kernel! That is all about. I had this problem before and tried to tweak the kernel and re-compiled it. That caused I mis-configured other things. It must be enabled in the kernel NOT as module.
At last I solved the problem with re-installing Gentoo using genkernel! None document found on the Internet telling me this. How I found this out? When I boot with Gentoo universal CD, everything fine, booting was fast, DMA was set to ON, I got beautiful fonts, etc.
Hope that help.
Razali
> -----Original Message-----
> From: Gavin Seddon [mailto:gavin.m.seddon@manchester.ac.uk]
> Sent: Tuesday, July 11, 2006 8:51 PM
> To: gentoo-amd64@lists.gentoo.org
> Subject: Re: [gentoo-amd64] dma?
>
> Brett, Hi
> Yes I did this and Hemmann suggested the alternative in the inst. doc.
> Will reboot asap.
> Thanks
> Gaviin
>
>
>
> On Tue, 2006-07-11 at 06:54 -0500, Brett Johnson wrote:
> > On Tue, Jul 11, 2006 at 11:58:04AM +0100, Gavin Seddon wrote:
> > > Yes,
> > > I tried this and,
> > > ' hdparm -d1 -X /dev/hda
> > >
> > > /dev/hda:
> > > setting using_dma to 1 (on)
> > > HDIO_SET_DMA failed: Operation not permitted
> > > setting xfermode to 0 (default PIO mode)
> > > using_dma = 0 (off)
> > > linuxstation mbpssgms # whoami
> > > root'
> >
> > That most likely means you are missing the proper IDE driver in your
> > kernel and the system has defaulted back to the "generic" IDE driver.
> > What you want to do is use "/usr/sbin/lspic" to determine which IDE
> > chipset you have in the system and make sure that you have the
> > correct driver compilied in the kernel.
> >
> > As an example, I have an older Dell with the following IDE chipset
> > (output from lspci):
> > 00:1f.1 IDE interface: Intel Corporation 82801AA IDE (rev 02)
> >
> > So in the kernel config I have the following options:
> >
> > Device Drivers --->
> >
> > ATA/ATAPI/MFM/RLL support --->
> >
> > <*> ATA/ATAPI/MFM/RLL support
> > <*> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
> > <*> Include IDE/ATA-2 DISK support
> > [*] Use multi-mode by default
> > <M> Include IDE/ATAPI CDROM support
> > [*] PCI IDE chipset support
> > [*] Sharing PCI IDE interrupts support
> > [*] Generic PCI bus-master DMA support
> > [*] Use PCI DMA by default when available
> > <*> Intel PIIXn chipsets support
> >
> > The last three options are the most important for getting DMA to work on
> > the dirve, and the last option will vary based on the chipset in your
> > system.
> >
> > Brett
> --
> Dr Gavin Seddon
> Pharmacy and Pharmaceutical Sciences
> University of Manchester
> Oxford Road
> M13 9PL
> UK
>
>
>
>
> --
> gentoo-amd64@gentoo.org mailing list
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 12/07/2006
>
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 12/07/2006
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-07-13 13:53 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-11 9:02 [gentoo-amd64] dma? Gavin Seddon
2006-07-11 9:14 ` Gavin Seddon
2006-07-11 9:24 ` Andreas Karlsson
2006-07-11 9:43 ` Gavin Seddon
2006-07-11 10:00 ` Hemmann, Volker Armin
2006-07-11 10:58 ` Gavin Seddon
2006-07-11 11:54 ` Brett Johnson
2006-07-11 12:51 ` Gavin Seddon
-- strict thread matches above, loose matches on Subject: below --
2006-07-13 13:48 Razali Mohamad
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox