Re: [gentoo-user] Gentoo system suddenly failed to boot.

2021-02-15 Thread Oli Schmidt

ata5.04: SATA link down (SStatus 0 SControl 0)
ata5.04: hard resetting link
ata5.04: failed to resume link (SStatus 0 Scontrol 0)

and

ata5.04: SATA link down (SStatus 0 SControl 0)
ata5.04: hard resetting link
ata5.04: failed to resume link (SStatus 0 Scontrol 0)


beside all the install/reinstalls - both errors indicate the drive is 
failing OR (my best guess) the cable is bad. Replace the cable with a 
new one and try again.


Oli

On 2021-02-15 21:13, gevisz wrote:

пн, 15 февр. 2021 г. в 20:59, Jude DaShiell :


Check the date and time when you boot and if it isn't correct, you
probably have a dead battery on your motherboard.  I had to replace 
one a
couple days ago.  Fortunately the kind of battery my computer uses is 
sold

in pharmacies since blood sugar meters also use them.


Legacy system shows incorrect time but I think that it is because of
the dual-boot with Linux and not because of the battery issue.
The date is still correct: Monday, February 15, 2021.

Well, probably my best option to reinstall the system from scratch. :(


  On Mon, 15 Feb 2021, gevisz wrote:

> Yesterday, my relatively new install of Gentoo failed to boot with the
> following repeated messages:
>
> ata5.04: SATA link down (SStatus 0 SControl 0)
> ata5.04: hard resetting link
> ata5.04: failed to resume link (SStatus 0 Scontrol 0)
>
> My first thought was that something is wrong with my old IDE (ATA)
> drive. (The Gentoo system partition was on /dev/sda5.)
>
> Nevertheless, I was able to boot from a flash drive with a live Gentoo
> CD and chroot into the Gentoo system partition of my IDE drive.
>
> So, I formatted a new SATA drive according to instructions given in
> Gentoo AMD64 Handbook, rsynced the corresponding IDE system partition
> into it by the following command:
>
> rsync -qaHAXS source_dir target_dir
>
> made the necessary changes to the corresponding fstab file, chrooted
> into the new system SATA partition, recompiled grub and installed it
> on the new disk.
>
> After all that I was able to boot the Gentoo system from the new
> partition. However, the booting process went as slow as hell, and at
> the end Xorg server failed to start.
>
> My next guess was that something went wrong with the last kernel I
> used to boot. So, I tried to boot using the previous kernel.
>
> However, this time the booting failed with almost the same messages as above:
>
> ata5.03: failed to resume link (SStatus 0 SControl 0)
> ata5.03: SATA link down (SStatus 0 SControl 0)
> ata5.03: hard resetting link
> ata6.04: failed to resume link (SStatus 0 SControl 0)
>
> (Now, my new Gentoo system partition is on /dev/sdb2.)
>
> Shall I try to do something to fix it before reinstalling Gentoo anew?
>
> For example, I thought of booting with a live Gentoo flash drive,
> chrooting into the new system partition and recompiling @system.
> However, if it is not some package that is corrupted, it may be a waste of 
time.
> Or, maybe, @system may be narrowed to just a few packages needed at boot time?
> Shall I try to recreate initramfs, what in my case means re-emerging
> gentoo-kernel package?
> What do you think?
>
> P.S. Nevertheless, I still can successfully boot my very old legacy
> system from another partition of my IDE drive.
>
>





Re: [gentoo-user] Bittorrent tracker available with gentoo miniinstall ISOs

2012-09-03 Thread Oli Schmidt

Good idea - remind me on getting the latest iso's.

Thanks a lot

Oli



On 2012-09-03 17:53, Roland Häder wrote:

Hello,

I have added (more may follow) both ISOs of the AMD64 and I386
mini-installer as torrents to my tracker:

http://mxchange.org:23456/

AMD64:

http://mxchange.org:23456/file?info_hash=%C5%C4%B2%88%92%F5%A9O%01udg%92%17gy%22%9A%ED%B7

I386:

http://mxchange.org:23456/file?info_hash=i8%C1%5D%0D%FE%A8M%8E%C5k%FE%B9%8A%1E%A2%9A9%DB%7B

I thought you might be interested in. :) I can track more if you like
(of course no illegal things).

Regards,
  Roland





Re: [gentoo-user] Gentoo Installation, Kernel Panic

2012-07-19 Thread Oli Schmidt

On 2012-07-19 21:32, Randolph Maaßen wrote:

2012/7/19 Andrejs Igumenovs andrejs.igumen...@gmail.com [2]


Hi,

After going over the installation instructions and performing the
standard operations (genkernel etc.), the Kernel halts during the
boot.
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1 [1]

Im attaching the screenshot of what happens…

Im not the Linux expert, so dont know how to fix.

- Andrejs


Hi,

looks like the kernel cant find your root partition. (VFS: Cannot 
open

root device sda3 or unknowen block(0,0)).

Please make sure that you configured your grub correctly (which
version do you use?).

On grub legacy (0.9)  edit the file /boot/grub/menu.lst and add the
root=your root partiton parameter

it should look like this
title Gentoo
root (hd0,1)
kernel /boot/kernel* root=/dev/sda2

When you need further help, please post your partitioning and grub
menu entry, grub device names can be verry confusing for beginners.

The more complex idea in my mind is that your kernel is missing some
device drivers for the ide/sata controler.
This should not happen, because you used genkernel.

 Randolph

Links:
--
[1] http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1
[2] mailto:andrejs.igumen...@gmail.com






Make sure the filesystem support is correct. What fs do you use - did 
you enable it in the kernel config ?



regards
Oli




Re: [gentoo-user] script for sending mail with attachement?

2010-05-11 Thread Oli Schmidt
On Tue, 11 May 2010 21:29:02 +0200, Jarry mr.ja...@gmail.com wrote:
 Hi,
 my small mysql-database is archived every couple of hours, but
 all those backups (~5MB each) are still on the server, which
 I do not consider secure. I would like to have them sent to me
 per email.
 
 What I am looking for is some command-line mailer, which could
 be used in script-mode, and able to send attachements. Any ideas?
 
 Jarry

-- 
There 3 good and simple ways to do .. :

- use biabam command line program (emerge it)
- sendemail.pl (google it)
- uuencode (uuencode somefile.zip | mailx -s daily mail s...@user.com)


Oli



Re: [gentoo-user] domainname command shows blank - NIS/YP domain name?

2010-01-13 Thread Oli Schmidt
On Wed, 13 Jan 2010 02:22:47 +, Stroller
strol...@stellar.eclipse.co.uk wrote:
 Ok, this question comes about because I noticed that I manually have  
 to set $mydomain in Postfix. I'm about to set up Samba, too, and  
 thinking that I might have to manually set the domain name in that,  
 too, I thought to investigate this. Surely Postfix should get its  
 hostname  domainname from the system itself, right?
 
 $ hostname
 hex
 $ dnsdomainname
 stroller.uk.eu.org
 $ domainname
 (none)
 $ domainname -v
 getdomainname()=`(none)'
 (none)
 $
 
 This mention of getdomainname agrees with the comments in Postfix's  
 main.cf:
 
 # The myhostname parameter specifies the internet hostname of this
 # mail system. The default is to use the fully-qualified domain name
 # from gethostname(). $myhostname is used as a default value for many
 # other configuration parameters.
 
 `man domainname` tells me that `domainname` should in particular show  
 or set the system's NIS/YP domain name.
 
 Can anyone explain the significance of this, please?
 
 /etc/conf.d/net.example suggests that it's rare that you would need  
 to set a NIS domainname, but you can anyway, and the Gentoo Linux  
 x86 Handbook [1] says if you don't know what [a NIS domain] is, then  
 you don't have one.
 
 I guess that a typical desktop system might use ssmtp and not need  
 either postfix or a NIS domainname, however I'm still confused. I  
 guess the best question I can ask is why Postfix might choose to use  
 this apparently-less-common config to set its hostname? I really feel  
 like I must be missing out. It's not a massive hardship to set  
 $mydomain manually in Postfix on several boxes, it just seems like I  
 ideally shouldn't have to. Is there anyone who can help clarify for me?

Hi

The only way found for me was echo the domainname on startup onto proc

echo domainname.ch  /proc/sys/kernel/domainname

Does that work for you too ?

Oliver