Repository 32bit  Forum
Repository 64bit  Wiki

Consigli e problemi noti della 13.1

Da Slacky.eu.
Versione delle 19:27, 15 mag 2010, autore: Conraid (Discussione | contributi)

(diff) ← Versione meno recente | Versione attuale (diff) | Versione più recente → (diff)

In questo Howto vedremo alcuni cambiamenti della 13.1 rispetto alla 13.0 ed alcuni problemi noti, così come scritti nel file CHANGES_AND_HINTS.TXT

Indice

Disclaimer

L'autore di questa guida, i suoi collaboratori e slacky.eu non si riterranno responsabili di eventuali danni provocati al vostro computer. Il testo è in fase di traduzione

LIBATA SWITCHOVER

The "old" ide subsystem in the the linux kernel is now deprecated in favor of the newer libata subsystem, and this affects the naming of device nodes for almost all types of disk drives -- hard drives in particular will now have an "sd" named node. The following information should allow you to handle that changeover gracefully.

1. Upgrade the kernel and kernel-modules packages normally.

2. Edit /etc/fstab to reflect the change from hd* to sd*.

If you have multiple SATA devices, and especially if you have some of both hd* and sd* devices present already, then you're basically going to be playing a guessing game right now, and you probably want to consider using some of the persistent symlinks in the /dev/disk/by-*/ directories instead of raw device nodes -- for example, the links in /dev/disk/by-id/ should always point to the same device, even if its raw device node changes from e.g. sda1 to sdc1 or some such across reboots.

  • If you are using one of the generic kernels (requiring an initrd), then use the sd* name for the root device when creating the image.
  • You will almost surely want to remove the udev rules file for cdrom devices (it will be regenerated on the next boot with correct information reflecting the new libata stuff):
# rm -f /etc/udev/rules.d/70-persistent-cd.rules 
  • Speaking of optical devices, if you have multiple disk drives and an optical drive using the old ide subsystem, then be aware that the optical drive will get a /dev/sr* name instead of /dev/sd* -- this is relevant because you might see something like this (if your optical drive is currently /dev/hdb):
        Old Name --> New Name 
        /dev/hda     /dev/sda
        /dev/hdb     /dev/sr0
        /dev/hdc     /dev/sdb

3. Run lilo. Note that you have made no edits at all to it yet, unless you needed to edit it for the new kernel. Specifically, do not make any changes with respect to hd* --> sd*.

4. Reboot. At the lilo prompt, press <TAB> and add an append for the real root device (which will no longer be /dev/hd*). For example, if the old root device was /dev/hda1, and it will now be /dev/sda1, and the name of your kernel image is "Linux" then you would do this:

Linux root=/dev/sda1

5. Once the system comes back up, then fix /etc/lilo.conf, run lilo, and reboot again to be sure everything is correct.


Consigli e problemi noti

Uso di udev nella fase di installazione

The Slackware installer now uses udev to initialize your hardware, including the network interface card(s). This has positive consequences for network installations (using NFS, FTP, HTTP or SMB). You no longer have to run the 'pcmcia' and 'network' scripts prior to running 'setup' - the network interface will be created and intialized by udev. If a DHCP server is found on your local network, the setup program will let you choose between automatic configuration of your network interface using DHCP or specifying a static IP address. Using udev, the commandline for fully unattended configuration and startup of the dropbear SSH server has changed slightly. Suppose you want to boot the 'hugesmp' kernel, use DHCP for interface eth0, and you have a us-english keyboard layout: the commandline to auto-start the SSH daemon in the installer would become:

hugesmp.s kbd=us nic=auto:eth0:dhcp

Note: if you do not want to use udev, the "auto" keyword in that example commandline must be replaced with the actual name of the network module for your card. If you do not want to use udev, you must add the parameter "noudev" to the command line that boots the Slackware installer, and the original ("old") Slackware hardware configuration scripts will be used. Also note that this is not supported...


Errori con ALSA

Se al boot noti errori come questi:

Loading ALSA mixer settings:  /usr/sbin/alsactl restore
Unknown hardware: "HDA-Intel" ...
Hardware is initialized using a guess method
/usr/sbin/alsactl: set_control:1256: failed to obtain info for control #31
/usr/sbin/alsactl: set_control:1256: failed to obtain info for control #32

devi rimuovere il file /etc/asound.state, riavviare il sistema (così questo rigenererà le corrette informazioni) e modificare i volumi a tuo piacimento


Errori al login

Se vedi i seguenti errori al login:

configuration error - unknown item 'DIALUPS_CHECK_ENAB' (notify administrator)
configuration error - unknown item 'NOLOGIN_STR' (notify administrator)

devi controllare che hai modificato il file /etc/login.defs in base alle nuove "direttive" presenti nel file /etc/login.defs.new Se usi un file /etc/login.defs standard, puoi rinominare /etc/login.defs.new in /etc/login.defs in questo modo

# mv /etc/login.defs.new /etc/login.defs

Controlla sempre i file .new

Problemi con un KVM schitch

Se stai utilizzando uno swith KVM, puoi incontrare problemi quando cambi da un sistema all'altro. Se è così probabilmente hai bisogno di utilizzare il protoccolo IMPS per il driver psmouse. Per fare questo semplicemente decommenta la seguente linea

#options psmouse proto=imps

nel file /etc/modprobe.d/psmouse.conf, così da farla diventare

options psmouse proto=imps

Dopo ricarica il modulo psmouse

# modprobe -r psmouse ; modprobe psmouse


Consigli e problemi noti della 13.0

Naturalmente valgono sempre i consigli della precedente versione. [| Consigli e problemi noti della 13.0]


Consigli e problemi noti della 12.2

Per altri consigli e problemi noti leggere anche Come aggiornare dalla 12.1 alla 12.2


Copyright

Copyright (c) by Corrado “Conraid” Franco

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is available from http://www.fsf.org/licenses/fdl.html.

Tutti i copyright sono di proprietà dei rispettivi detentori, a meno che indicato diversamente. L’uso di un termine in questo documento non inficia la validità di qualunque marchio di fabbrica o marchio di servizio. Nominare un particolare prodotto o marchio non deve essere considerato come pubblicità.


Collegamenti Esterni

-- Conraid

Strumenti personali
Namespace

Varianti