Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Disabling hdparms on install CD
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
zzzzeeezzzz
n00b
n00b


Joined: 12 Aug 2006
Posts: 4
Location: New York

PostPosted: Sat Aug 12, 2006 2:54 am    Post subject: Disabling hdparms on install CD Reply with quote

Love Gentoo.....have installed it many times on many machines.

This ones got me stumped though. Trying to install on IBM Netfinity 3500 (I know its Old)

When I boot the 2006 Minimal install cd everything is fine up to the point that it runs hdparms on /dev/hdc (my cdrom drive)...after that the next line "Auto-scambling root password" fails and I start getting lost IRQ's and SQUASHFS errors. I have tried every conceivable combination of boot options: ACPI=OFF, IDE=NODMA, NOAPIC, NOLAPIC, NOHOTPLUG. I've turned off CDROM enhanced performance in the BIOS. It always fails in the same place. I've looked around the forums and around the net and I find reference to this sort of thing but never the answer. Can anyone give me insight or a link if its allready been solved.
_________________
Converting the world to Linux.....one server at a time.
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Sat Aug 12, 2006 7:14 am    Post subject: Reply with quote

It might not be a real solution, but my suggestion would be to use a different livecd to install gentoo with. Knoppix works great, and you can even browse the web and things like that while you install. You don't really have to do anything different except that knoppix automatically configures its network connection, so there's a couple less steps at the beginning. If the system doesn't have a lot of RAM, you'll want to be sure to get the swap space set up before you start the actual compilation going. Also make sure you switch to root before doing the install, or you probably won't get too far.
Back to top
View user's profile Send private message
zzzzeeezzzz
n00b
n00b


Joined: 12 Aug 2006
Posts: 4
Location: New York

PostPosted: Sun Aug 13, 2006 3:04 am    Post subject: Reply with quote

Your correct, its not the solution I was looking for. It IS worth a try though....Thanks

I'd still be interested in the correct solution if someone has it.
_________________
Converting the world to Linux.....one server at a time.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Aug 13, 2006 3:12 pm    Post subject: Reply with quote

zzzzeeezzzz wrote:
I'd still be interested in the correct solution if someone has it.

I'm not sure what you mean by "correct", but booting with a (non-Gentoo) CD that supports your hardware is the easiest workaround that I know of.

Another (not too expensive) way to fix the problem would be to replace the cdrom drive with one that supports DMA.
Back to top
View user's profile Send private message
zzzzeeezzzz
n00b
n00b


Joined: 12 Aug 2006
Posts: 4
Location: New York

PostPosted: Sun Aug 13, 2006 3:30 pm    Post subject: Reply with quote

What I mean by "correct solution" is this: Gentoo's philosophy is to give the user choices. Running hdparms as part of the boot process from the install cd should be a choice. If it is not a choice already it should be implimented as such.

Yes your are correct I could use a Knoppix or other live cd with network support to install Gentoo from. I could also change the CD rom to one that supports DMA, but these are workarounds.

My point is simply that you don't necessarily NEED to run hdparms as part of the install CD's boot process so I posed the questions.

1.) Is there already a way to disable it that I'm not aware of?

2.) If not, is it possible to get this choice added?
_________________
Converting the world to Linux.....one server at a time.
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Sun Aug 13, 2006 3:43 pm    Post subject: Reply with quote

Hi.

It's not what you're looking for, but I believe it might be able to prevent the issue you're facing. On the boot menu append the docache option.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
dmartinsca
Guru
Guru


Joined: 09 Dec 2005
Posts: 303
Location: Ontario, Canada

PostPosted: Sun Aug 13, 2006 4:17 pm    Post subject: Reply with quote

I haven't booted from the minimal install cd in a while now but can't you press 'I' during boot to do an interactive boot? -- letting you choose to not start the hdparm initscript then continue with the rest of the boot process
Back to top
View user's profile Send private message
Bad Penguin
Guru
Guru


Joined: 18 Aug 2004
Posts: 507

PostPosted: Sun Aug 13, 2006 10:03 pm    Post subject: Re: Disabling hdparms on install CD Reply with quote

zzzzeeezzzz wrote:
I have tried every conceivable combination of boot options: ACPI=OFF, IDE=NODMA, NOAPIC, NOLAPIC, NOHOTPLUG. I've turned off CDROM enhanced performance in the BIOS. It always fails in the same place. I've looked around the forums and around the net and I find reference to this sort of thing but never the answer. Can anyone give me insight or a link if its allready been solved.

https://bugs.gentoo.org/show_bug.cgi?id=125254

The solution is to wait around a few years for release engineering to release another installation cd, use an installation cd that does not automatically run hdparm no matter what you do, or fix the installation media yourself.
Back to top
View user's profile Send private message
zzzzeeezzzz
n00b
n00b


Joined: 12 Aug 2006
Posts: 4
Location: New York

PostPosted: Mon Aug 14, 2006 7:05 pm    Post subject: Reply with quote

After trying jmbsvicetto suggestion of caching the cd to memory I think I may have this figured out.

The caching to memory takes place before hdparms is run. Therefore I do get a clean boot. However, because hdparms ran afterwards I can no longer access the cdrom directly (makes sense). Apparently with my hardware being old and the cdrom not supporting DMA eventhough I turn DMA off as a boot option, hdparms sets it back on later in the process. Running hdparms again and turning off DMA on the cdrom allows me to gain access to it directly again.

This is an apparent minor oversite on the part of the developers. It should be addressed in the next release. As far as I'm concerned I have found a way to live with it.

Thanks again to jmbsvicetto for the docache suggestion. That was thinking outside the box my friend.
_________________
Converting the world to Linux.....one server at a time.
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Mon Aug 14, 2006 11:54 pm    Post subject: Reply with quote

zzzzeeezzzz,

I've seen before similar issues being solved by using the docache option. Glad it helped you out.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
brittney
n00b
n00b


Joined: 23 Aug 2006
Posts: 30

PostPosted: Fri Aug 25, 2006 12:29 am    Post subject: Reply with quote

I have the same problem.. hdparm sets dma to on even when i boot with ide=nodma.. it says in the help screen that ide=nodma will change hdparms options but obviously it doesnt... anyways.. i tried the docache option to but on my comp i runned out of memory..

is there anything else i can do?

i used the mini cd and its a p2400 64mb ram

-bri
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Fri Aug 25, 2006 1:20 am    Post subject: Reply with quote

brittney,

you can try to use another live-cd. Have you tried something like sysresccd ?
I don't think you'll be able to overcome this issue with the Gentoo live-cd and only 64MB of RAM. If you were able to get more, it should work.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
brittney
n00b
n00b


Joined: 23 Aug 2006
Posts: 30

PostPosted: Fri Aug 25, 2006 7:41 am    Post subject: Reply with quote

How does it work?
I tried damnsmalllinux and it worked fine.. it is installed on the comp now.. I mounted the gentoo cd but i couldnt find any install script.. just a big squashfs file.. i guess its in there? but DSL doesnt support squashfs :( and the network card didnt work in DSL either :/ so what do i do?
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Sun Aug 27, 2006 10:53 am    Post subject: Reply with quote

Basically, you don't have to use the install cd to install gentoo (a little unintuitive), but you can follow the install instructions using any livecd (it tells you to download the appropriate files when you get to that part of the installation). Last time I installed, I used knoppix and it worked fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum