Linux-Probleme . . .

Hardware, Software, Webdesign & Coding.

Moderator: Katana

Post Reply
User avatar
Katana
Posts: 5337
Joined: Sun Jan 02, 2000 1:01 am
Location: Nördliches NRW, Deutschland
Contact:

Linux-Probleme . . .

Post by Katana »

Mahlzeit!

Habe mir gedacht, dass ich mein System von Debian auf Ubuntu umstelle, weil das einfach aktueller ist. Habe die Ubuntu-Pakete zur sources.list hinzugefügt und die Pakete upgedatet.
Soweit kein Problem, beim ein oder anderen Paket hing es etwas, aber nichts, was man nicht klären konnte.

Ich habe jetzt allerdings 2 Probleme mit meiner Hardware.

Ich boote weiter meinen 2.6.18-4 Kernel von Debian, da der 2.6.20 von Ubuntu nicht mit meinem SW-RAID will und daher gar nicht erst bootet.

In Mailinglisten brauche ich es vermutlich gar nicht erst versuchen, da wird es heißen, dass man sowas ja gar nicht erst macht und die von Ubuntu werden mich zu Debian schicken und andersrum.

Kommen wir also nun zu meinem ersten Problem: Die Soundkarte (ALSA)

Ich habe eine Audigy 1 ES von Creative, welche vor dem Update auch problemlos funktionierte, nun macht sie gar nichts mehr.

Sie wird allerdings korrekt erkannt:

Code: Select all

# cat /proc/asound/cards 
 0 [Audigy         ]: Audigy - Audigy 1 ES [SB0160]
                      Audigy 1 ES [SB0160] (rev.3, serial:0x521102) at 0xa000, irq 58
 1 [UART           ]: MPU-401 UART - MPU-401 UART
                      MPU-401 UART at 0x330, irq 10

Code: Select all

# lspci 
00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3)
00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2)
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: ATI Technologies Inc R520 [Radeon X1800]
01:00.1 Display controller: ATI Technologies Inc R520 [Radeon X1800] (Secondary)
05:06.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
05:06.1 Input device controller: Creative Labs SB Audigy Game Port (rev 03)
Auch im hal-device-manager und per hwinfo wird die Karte erkannt und auch das Modul "snd_emu10k1" wird korrekt geladen:

Code: Select all

# lsmod | grep snd | sort
snd                    65256  17 snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_hwdep,snd_emu10k1x,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401,snd_mpu401_uart,snd_i2c,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
snd_ac97_bus            7296  1 snd_ac97_codec
snd_ac97_codec        106456  2 snd_emu10k1,snd_emu10k1x
snd_emu10k1           123744  1 snd_emu10k1_synth
snd_emu10k1_synth      12032  0 
snd_emu10k1x           25028  0 
snd_emux_synth         39808  1 snd_emu10k1_synth
snd_hwdep              15240  2 snd_emux_synth,snd_emu10k1
snd_i2c                10752  0 
snd_mixer_oss          21888  1 snd_pcm_oss
snd_mpu401             13608  0 
snd_mpu401_uart        13568  1 snd_mpu401
snd_page_alloc         14864  3 snd_emu10k1,snd_emu10k1x,snd_pcm
snd_pcm                89096  4 snd_emu10k1,snd_emu10k1x,snd_ac97_codec,snd_pcm_oss
snd_pcm_oss            48672  0 
snd_rawmidi            31392  5 snd_seq_virmidi,snd_emu10k1,snd_emu10k1x,snd_mpu401_uart,snd_seq_midi
snd_seq                59520  9 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_seq_device         13204  8 snd_emu10k1_synth,snd_emux_synth,snd_emu10k1,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd_seq_dummy           8580  0 
snd_seq_midi           13632  0 
snd_seq_midi_emul      11136  1 snd_emux_synth
snd_seq_midi_event     12544  3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
snd_seq_oss            37248  0 
snd_seq_virmidi        12288  1 snd_emux_synth
snd_timer              29192  3 snd_emu10k1,snd_pcm,snd_seq
snd_util_mem            9728  2 snd_emux_synth,snd_emu10k1
soundcore              15392  1 snd
Allerdings gibt es unter /dev keinen entsprechenden Eintrag und beim Starten von /etc/init.d/alsa-util kriege ich mehrere Meldungen von amixer, dass die Karte nicht gefunden werden kann:

Code: Select all

Invalid card number.
Usage: amixer <options> [command]
Problem Nummer 2: Mein sATA CD-ROM wird nicht mehr erkannt, auch das funktionierte vorher problemlos...
User avatar
Katana
Posts: 5337
Joined: Sun Jan 02, 2000 1:01 am
Location: Nördliches NRW, Deutschland
Contact:

Post by Katana »

Ok, war ein Problem mit UDEV. Nachdem ich UDEV neu gestartet hatte, funktionierte es. Allerdings darf ich nun nach jedem Neustart UDEV starten ... woran es genau liegt, weiß ich also noch nicht..
User avatar
DarkZero
Posts: 2342
Joined: Sun Jul 15, 2001 12:01 am
Location: Eigentlich Fulda, aber jetzt Berlin
Contact:

Post by DarkZero »

Mach doch nen Startup Script
満足したら終でしょう!
Homepage: DarkZero's Translations
Image Renault Fahrer
Feanor
Posts: 309
Joined: Tue Oct 08, 2002 2:34 pm

Post by Feanor »

hier ma meine "udev" aus "/etc/init.d/" (Edgy Eft):

Code: Select all

#!/bin/sh -e
# init script for udev

# Check the package is still installed
[ -x /sbin/udevd ] || exit 0

# Get LSB functions
. /lib/lsb/init-functions
. /etc/default/rcS


case "$1" in
    start)
        # We need the uevent support introduced in 2.6.15, bail out if we
        # don't have it and fall back to a static /dev
        if [ ! -f /sys/class/mem/null/uevent ]; then
            if mountpoint -q /dev; then
                # uh-oh, initramfs made some kind of /dev, get rid of it
                umount -l /dev/.static/dev
                umount -l /dev
            fi
            exit 1
        fi

        if ! mountpoint -q /dev; then
            # initramfs didn't mount /dev, so we'll need to do that
            mount -n --bind /dev /etc/udev
            mount -n -t tmpfs -o mode=0755 udev /dev
            mkdir -m 0700 -p /dev/.static/dev
            mount -n --move /etc/udev /dev/.static/dev
        fi

        # Copy over default device tree
        cp -a -f /lib/udev/devices/* /dev

        # It's all over netlink now
        if [ -e /proc/sys/kernel/hotplug ]; then
            echo "" > /proc/sys/kernel/hotplug
        fi

        # Start udevd
        log_begin_msg "Starting kernel event manager..."
        if start-stop-daemon --start --quiet --exec /sbin/udevd -- --daemon; then
            log_end_msg 0
        else
            log_end_msg $?
        fi

        # This next bit can take a while
        if type usplash_write >/dev/null 2>&1; then
            usplash_write "TIMEOUT 360"
            trap "usplash_write 'TIMEOUT 15'" 0
        fi

        # Log things that udevtrigger does (won't work on seb's machine)
        if [ -x /usr/sbin/udevmonitor ]; then
                /usr/sbin/udevmonitor -e >/dev/.udev.log &
                UDEV_MONITOR_PID=$!
        fi

        # Fix permissions and missing symlinks/programs for devices made in
        # initramfs, and catch up on everything we missed
        log_begin_msg "Loading hardware drivers..."
        /sbin/udevtrigger
        if /sbin/udevsettle; then
            log_end_msg 0
        else
            log_end_msg $?
        fi

        # Kill the udevmonitor again
        if [ -n "$UDEV_MONITOR_PID" ]; then
                kill $UDEV_MONITOR_PID
        fi
        ;;
    stop)
        log_begin_msg "Stopping kernel event manager..."
        if start-stop-daemon --stop --quiet --oknodo --exec /sbin/udevd; then
            log_end_msg 0
        else
            log_end_msg $?
        fi
        umount -l /dev/.static/dev
        umount -l /dev
        ;;
    restart)
        cp -au /lib/udev/devices/* /dev

        log_begin_msg "Loading additional hardware drivers..."
        /sbin/udevtrigger
        if /sbin/udevsettle; then
            log_end_msg 0
        else
            log_end_msg $?
        fi
        ;;
    reload|force-reload)
        log_begin_msg "Reloading kernel event manager..."
        if start-stop-daemon --stop --signal 1 --exec /sbin/udevd; then
            log_end_msg 0
        else
            log_end_msg $?
        fi
        ;;
*)
        echo "Usage: /etc/init.d/udev {start|stop|restart|reload|force-reload}"
        exit 1
        ;;
esac

exit 0
Post Reply