No HD = minute long delays. How to avoid?

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

No HD = minute long delays. How to avoid?

Postby morgano » Feb 16th, '13, 22:13

I have sucessfully installed mga3 beta 2 on a fast USB stick. (It is very neat! ) :)

Everything is fine, except the idea is to run my laptop without disk but it seem BIOS and kernel(?) are very stubborn there shuld be a HD, and wastes extreme time waiting for it even though it is not listed as boot device in BIOS and is not in fstab.

First, it take many extra seconds before it load GRUB.

Then, mageia waste a minute trying to reset ata1; i see on screen building line by line with variable time apart
(first number seem to be time in seconds) :
Code: Select all
[   20.427073] ata1: SRST failed (errno=-16)
[   20.427073] ata1: SRST failed (errno=-16)
[   30.472003] ata1: SRST failed (errno=-16)
[   73.427073] ata1: SRST failed (errno=-16)
[   78.427073] ata1: reset failed, giving up
totalling a minute wasted.
And then it boot to desktop in 20 seconds.

Worst thing is that i get a delay both when entering and returning from both hibernation and standby!
And during that time i have only a black screen.

The delay in BIOS i we can not do anything about.
(I have searched BIOS settings, no hd settings except boot order and i have removed everything except CD and USB disk.)

But for mageia, can I pass some kernel parameter or make a setting in a file to have it not touch (p)ata?

Verificaton: When i plug in a HD it boots, hibernates, standby impressively quick.
(But this is a laptop where i do not want to carry extra weight nor waste energy)
(and it do not have sata so no modern SSD fit. This Sandisk Extreme 32GB is fast enough - faster than original IDE)
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1494
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: No HD = minute long delays. How to avoid?

Postby djennings » Feb 17th, '13, 03:04

If you create a new initrd without sata support you should be able to avoid the delay.

Read 'man dracut' for details on how to do it.
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: No HD = minute long delays. How to avoid?

Postby morgano » Feb 17th, '13, 18:37

OK that is a way.
But i want it to be easily reversible, and also it would be good to be able to read a sata drive if i connect one.
Hmm maybe create different entries in grub for different initrd... it is getting complicated.

I think of getting a cheap compactflash to IDE adapter and plug in an old compactflash i have just to make the system happy there exist something there.

Maybe even then buy a big fast new compactflash to install on in this machine instead of the USB, and use the USB only for a portable system...
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1494
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: No HD = minute long delays. How to avoid?

Postby man_drake » Feb 18th, '13, 06:31

I c U r a BIG fan of mandrake aka mandriva aka mageia btw what a funny name

Mandriva since 2006, Mageia since 2011. Mageia on workstation


:roll:
man_drake
 
Posts: 24
Joined: Feb 18th, '13, 00:38


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest