Some errors arch with kde

Hello! I'm new in arch so I have lots of dubious and problems. I'm italian so I can't write in english very well, sorry for my mistakes!
I have a "big" (big for me) problems:
1) I can't move icons on my desktop. My desktop appear as it is blocked but it is unblocked! I can't move icons and rename them! What I can do to solve?
*I have another dubious: I want do a dual boot with windows and I have all my hdd occupated by a partition of arch. I'd reduce this partition for put windows. But I can't reduce it because it's mounted on /home. Can I umounted the partition? And how can I do umounted it?
For now it's enough.
Help me, please!
Last edited by Pester (2015-06-18 10:59:09)

[pester@arch ~]$ uname -a
Linux arch 4.0.5-1-ARCH #1 SMP PREEMPT Sat Jun 6 18:37:49 CEST 2015 x86_64 GNU/Linux
[pester@arch ~]$ lsblk -f
NAME   FSTYPE LABEL UUID                                 MOUNTPOINT
sda                                                     
├─sda1 ext4         ec51150b-852a-4b92-b13e-16a101f8c6f3 /
└─sda2 ext4         c9c746ea-86e1-4bf3-9261-978391327941 /home
sr0

Similar Messages

  • DRDY ERR I/O Errors only occur with KDE. HDD or kernel related?

    This isn't too urgent since I'm not having this problem anymore, but I would like to know what caused it in the first place.
    A few months ago, I think it was in May, when I was booting into KDE, the desktop wouldnt load. After logging in it goes to a black screen with a cursor. I check my tty consoles and they are all spammed with DRDY and I/O errors.
    Today my log files don't go back to that time, but I apparantly wrote them down:
    [timestamp] ata1.00: irq_stat 0x40000001
    [timestamp] ata1: SError: { CommWake }
    [timestamp] ata1.00: failed command: READ FPDMA QUEUED
    [timestamp] ata1.00: cmd 60/08:00:79:c5:e9/00:00:38:00:00/40 tag 0 ncq 4096 in
    [timestamp]                res 41/40:08:7c:c5:e9/00:00:38:00:00/60 Emast 0x409 (media error) <F>
    [timestamp] ata1.00: status {DRDY ERR }
    [timestamp] error: { UNC }
    [timestamp] end_request: I/O error, dev sda, sector 9540445540   
    It repeats this over and over again on all 7 consoles. I believe the hex numbers and sector # change slightly each time it repeats.
    I restart the computer and it does the same thing. Then one day it booted into the desktop after sitting at a black screen with a cursor for 10 minutes.
    When I saw Media and I/O error, I immediately thought it was my hard drive failing (which sucks because I had this computer for less than a year). But the weird thing was that once it finally boots into a desktop enviroment, everything works fine. I can access any file without any error, I can boot into my windows partition perfectly, and everything runs as fast as it did before. I ran fschk and chksdk several times, I passed with 0 bad sectors. SMART tests come out perfect.
    The strangest thing about this is that the errors only come about when I boot into KDE. If I boot into any other enviroment I do not get these errors. Completely reinstalling KDE did not fix it. I don't remember updating or changing anything before these errors started appearing. I did do a full system update once I was actually able to get into my KDE session, but it didnt do anything. I eventually solved it by using another desktop enviroment, which was xfice at the time but now its cinnamon. I never got those errors ever since.
    I posted something similar to this on KDE's forum, and no one could figure it out. One of the admins told me its very unusual that something like this would happen only with KDE, and the READ FPDMA/DRDY ERRs "are sourced from the kernel - and are disk/kernel related according to https://bugs.launchpad.net/ubuntu/+sour ... bug/550559."
    As of now I can install KDE perfectly without any sort of issue, but I know several kernel updates occured since then. So could this be a issue with the kernel? Or is my hdd really starting to fail? I backed up the computer already, but I record music constantly and don't "aggresively" run backups (i.e not every day, but every month or so). Should I start doing so?
    Thanks

    68flag wrote:
    @lspci
    Those links you sent me were VERY helpful! I used the online SMART test using SpeedFan on windows; I never thought of using smartctl --all /dev/sda.
    Heres what it gave me:
    smartctl 5.43 2012-06-30 r3573 [x86_64-linux-3.4.9-1-ARCH] (local build)
    Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net
    === START OF INFORMATION SECTION ===
    Model Family: Toshiba 2.5" HDD MK..76GSX
    Device Model: TOSHIBA MK5076GSX
    Serial Number: 91OHT43CT
    LU WWN Device Id: 5 000039 3818077b6
    Firmware Version: GS002D
    User Capacity: 500,107,862,016 bytes [500 GB]
    Sector Size: 512 bytes logical/physical
    Device is: In smartctl database [for details use: -P show]
    ATA Version is: 8
    ATA Standard is: Exact ATA specification draft version not indicated
    Local Time is: Tue Aug 28 00:22:51 2012 EDT
    SMART support is: Available - device has SMART capability.
    SMART support is: Enabled
    === START OF READ SMART DATA SECTION ===
    SMART overall-health self-assessment test result: PASSED
    General SMART Values:
    Offline data collection status: (0x00) Offline data collection activity
    was never started.
    Auto Offline Data Collection: Disabled.
    Self-test execution status: ( 0) The previous self-test routine completed
    without error or no self-test has ever
    been run.
    Total time to complete Offline
    data collection: ( 120) seconds.
    Offline data collection
    capabilities: (0x5b) SMART execute Offline immediate.
    Auto Offline data collection on/off support.
    Suspend Offline collection upon new
    command.
    Offline surface scan supported.
    Self-test supported.
    No Conveyance Self-test supported.
    Selective Self-test supported.
    SMART capabilities: (0x0003) Saves SMART data before entering
    power-saving mode.
    Supports SMART auto save timer.
    Error logging capability: (0x01) Error logging supported.
    General Purpose Logging supported.
    Short self-test routine
    recommended polling time: ( 2) minutes.
    Extended self-test routine
    recommended polling time: ( 163) minutes.
    SCT capabilities: (0x003d) SCT Status supported.
    SCT Error Recovery Control supported.
    SCT Feature Control supported.
    SCT Data Table supported.
    SMART Attributes Data Structure revision number: 128
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
    1 Raw_Read_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
    3 Spin_Up_Time 0x0027 100 100 001 Pre-fail Always - 1756
    5 Reallocated_Sector_Ct 0x0033 100 100 050 Pre-fail Always - 0
    9 Power_On_Minutes 0x0032 092 092 000 Old_age Always - 3277h+14m
    12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 1072
    191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 2191
    192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 133
    193 Load_Cycle_Count 0x0032 094 094 000 Old_age Always - 61036
    194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 45 (Min/Max 15/53)
    199 UDMA_CRC_Error_Count 0x0032 100 100 000 Old_age Always - 25758112
    200 Multi_Zone_Error_Rate 0x0032 100 100 000 Old_age Always - 56684070
    240 Head_Flying_Hours 0x0032 094 094 000 Old_age Always - 153507
    241 Total_LBAs_Written 0x0032 100 100 000 Old_age Always - 5471510246
    242 Total_LBAs_Read 0x0032 100 100 000 Old_age Always - 7806093714
    254 Free_Fall_Sensor 0x0032 100 100 000 Old_age Always - 0
    SMART Error Log Version: 1
    ATA Error Count: 558 (device log contains only the most recent five errors)
    CR = Command Register [HEX]
    FR = Features Register [HEX]
    SC = Sector Count Register [HEX]
    SN = Sector Number Register [HEX]
    CL = Cylinder Low Register [HEX]
    CH = Cylinder High Register [HEX]
    DH = Device/Head Register [HEX]
    DC = Device Command Register [HEX]
    ER = Error register [HEX]
    ST = Status register [HEX]
    Powered_Up_Time is measured from power on, and printed as
    DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
    SS=sec, and sss=millisec. It "wraps" after 49.710 days.
    Error 558 occurred at disk power-on lifetime: 2148 hours (89 days + 12 hours)
    When the command that caused the error occurred, the device was active or idle.
    After command completion occurred, registers were:
    ER ST SC SN CL CH DH
    40 41 02 7c c5 e9 68 Error: UNC at LBA = 0x08e9c57c = 149538172
    Commands leading to the command that caused the error were:
    CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
    60 08 00 79 c5 e9 40 00 00:06:08.673 READ FPDMA QUEUED
    ef 10 02 00 00 00 a0 00 00:06:08.673 SET FEATURES [Reserved for Serial ATA]
    27 00 00 00 00 00 e0 00 00:06:08.673 READ NATIVE MAX ADDRESS EXT
    ec 00 00 00 00 00 a0 00 00:06:08.672 IDENTIFY DEVICE
    ef 03 45 00 00 00 a0 00 00:06:08.672 SET FEATURES [Set transfer mode]
    Error 557 occurred at disk power-on lifetime: 2148 hours (89 days + 12 hours)
    When the command that caused the error occurred, the device was active or idle.
    After command completion occurred, registers were:
    ER ST SC SN CL CH DH
    40 41 02 7c c5 e9 68 Error: UNC at LBA = 0x08e9c57c = 149538172
    Commands leading to the command that caused the error were:
    CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
    60 08 00 79 c5 e9 40 00 00:06:04.673 READ FPDMA QUEUED
    ef 10 02 00 00 00 a0 00 00:06:04.673 SET FEATURES [Reserved for Serial ATA]
    27 00 00 00 00 00 e0 00 00:06:04.673 READ NATIVE MAX ADDRESS EXT
    ec 00 00 00 00 00 a0 00 00:06:04.672 IDENTIFY DEVICE
    ef 03 45 00 00 00 a0 00 00:06:04.672 SET FEATURES [Set transfer mode]
    Error 556 occurred at disk power-on lifetime: 2148 hours (89 days + 12 hours)
    When the command that caused the error occurred, the device was active or idle.
    After command completion occurred, registers were:
    ER ST SC SN CL CH DH
    40 41 02 7c c5 e9 68 Error: UNC at LBA = 0x08e9c57c = 149538172
    Commands leading to the command that caused the error were:
    CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
    60 08 00 79 c5 e9 40 00 00:06:00.673 READ FPDMA QUEUED
    ef 10 02 00 00 00 a0 00 00:06:00.673 SET FEATURES [Reserved for Serial ATA]
    27 00 00 00 00 00 e0 00 00:06:00.673 READ NATIVE MAX ADDRESS EXT
    ec 00 00 00 00 00 a0 00 00:06:00.672 IDENTIFY DEVICE
    ef 03 45 00 00 00 a0 00 00:06:00.672 SET FEATURES [Set transfer mode]
    Error 555 occurred at disk power-on lifetime: 2148 hours (89 days + 12 hours)
    When the command that caused the error occurred, the device was active or idle.
    After command completion occurred, registers were:
    ER ST SC SN CL CH DH
    40 41 02 7c c5 e9 68 Error: UNC at LBA = 0x08e9c57c = 149538172
    Commands leading to the command that caused the error were:
    CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
    60 08 00 79 c5 e9 40 00 00:05:56.673 READ FPDMA QUEUED
    ef 10 02 00 00 00 a0 00 00:05:56.673 SET FEATURES [Reserved for Serial ATA]
    27 00 00 00 00 00 e0 00 00:05:56.672 READ NATIVE MAX ADDRESS EXT
    ec 00 00 00 00 00 a0 00 00:05:56.672 IDENTIFY DEVICE
    ef 03 45 00 00 00 a0 00 00:05:56.672 SET FEATURES [Set transfer mode]
    Error 554 occurred at disk power-on lifetime: 2148 hours (89 days + 12 hours)
    When the command that caused the error occurred, the device was active or idle.
    After command completion occurred, registers were:
    ER ST SC SN CL CH DH
    40 41 02 7c c5 e9 68 Error: WP at LBA = 0x08e9c57c = 149538172
    Commands leading to the command that caused the error were:
    CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
    61 08 18 d1 d8 e7 40 00 00:05:52.624 WRITE FPDMA QUEUED
    61 08 10 89 d8 e7 40 00 00:05:52.624 WRITE FPDMA QUEUED
    61 08 40 51 d8 e7 40 00 00:05:52.624 WRITE FPDMA QUEUED
    61 10 38 01 d8 e7 40 00 00:05:52.623 WRITE FPDMA QUEUED
    61 08 30 e1 d7 e7 40 00 00:05:52.623 WRITE FPDMA QUEUED
    SMART Self-test log structure revision number 1
    Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
    # 1 Short offline Completed without error 00% 2320 -
    # 2 Extended offline Aborted by host 90% 2075 -
    # 3 Short offline Completed without error 00% 1900 -
    # 4 Short offline Completed without error 00% 1574 -
    # 5 Short offline Completed without error 00% 1415 -
    # 6 Short offline Completed without error 00% 1081 -
    # 7 Short offline Completed without error 00% 637 -
    # 8 Short offline Completed without error 00% 248 -
    # 9 Short offline Completed without error 00% 0 -
    #10 Short offline Completed without error 00% 0 -
    SMART Selective self-test log data structure revision number 1
    SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
    1 0 0 Not_testing
    2 0 0 Not_testing
    3 0 0 Not_testing
    4 0 0 Not_testing
    5 0 0 Not_testing
    Selective self-test flags (0x0):
    After scanning selected spans, do NOT read-scan remainder of disk.
    If Selective self-test is pending on power-up, resume after 0 minute delay.
    The READ FPDMA QUEUED errors come up in SMART's log, so those problems I had have to be HDD related, not kernel. Other than that I really don't know what I'm looking at here. I don't like the numbers for UDMA_CRC_Error Count or Multi Zone Error rate, but I don't know what those mean. Until someone explains to me what I'm dealing with here, I'm going to assume it is an HDD problem and start furiously backing stuff up.
    bart_b wrote:Some of these issues are related to interference of the Spread Spectrum Clocking (SSC), SSC is a way of eliminating interference. Now some BIOSes let you tweak this setting and some harddisks like WD have a jumper setting to disable/enable the spread spectrum frequency. But since it is more of a RF issue rearranging your sata cables might help or replace them with a better quality cable could do the trick to reduce interference. If you have overclocked your PC, try to re-tweak it to a more sane level.
    I forgot to mention that my computer is a Dell Inspiron n5110. Its a piece of garbage, its the only computer I am aware off that has programs that PREVENT you from connecting to the internet when you don't buy their stupid extended warranty. I'm saving up for a thinkpad t420 but thats another story
    Woah. Radio signals interfering with data passing through the SATA cables? I've had poorly sheilded guitar cables that pick up odd AM stations, but SATA cables? Thats bizzare. I don't own a PC yet, but I'm going to build one for my brothers once the parts come in, and I'll definitely make a note of that. I didn't even know you could overclock a CPU to the point where it GENERATES RF signals powerful enough to interfere with the HDD. Thats really interesting.
    Another note I should mention is that the motherboard on my dell died maybe a month or 2 after the I/O errors. Gotta love dell. Every single dell computer I owned died of mobo failure without any warning. Even their printers. Good god.
    Anyway, could the mobo have been a factor? I know the tech that replaced the mobo told me that the LCD cable wasn't seated correctly, so could the SATA cables have been bad as well? I really doubt it though, but who knows
    Edited for embarrassing spelling mistakes
    I think it's rather interesting that both you and I have Toshiba hard drives.  I've heard that they're supposed to be as delicate as glass, but mine's held up all right, until these weird errors and stuff. 
    As for motherboards.  If the motherboard is messed up, everything will seem messed up, but may or may not.

  • I ve updated my i pod touch to version 6.0.1. Installation got failed with some error msg, and now my i pod is not getting detedted in my system.Help me to fix it up.

    i ve updated my i pod touch to version 6.0.1. Installation got failed with some error msg, and now my i pod is not getting detedted in my system.Help me to fix it up.

    What's the error mesage?

  • TS1814 hello i have  a trouble with my i phone... i was trying to update a new software and at the end it says that there is some error and i cannot turn my i phone bak on all it shows is itunes logo in the midlle and usb cable with an arrow pointing to t

    hello i have  a trouble with my i phone... i was trying to update a new software and at the end it says that there is some error and i cannot turn my i phone bak on all it shows is itunes logo in the midlle and usb cable with an arrow pointing at the logo. If anyone knows what it is and what i should do please get back to me as soon as possible many thanks.

    http://support.apple.com/kb/HT1808

  • Nouveau doesn't start with some error messages

    I have Samsung NP300V5A laptop, with GeForce GT520MX installed. After nouveau installation I saw some errors I've never seen before, and I didn't find anything useful on the web on that matter. Any suggestions appreciated.
    dmesg|grep nouveau:
    [   11.002437] nouveau  [  DEVICE][0000:01:00.0] BOOT0  : 0x0d9110a1
    [   11.002439] nouveau  [  DEVICE][0000:01:00.0] Chipset: GF119 (NVD9)
    [   11.002440] nouveau  [  DEVICE][0000:01:00.0] Family : NVD0
    [   11.003658] nouveau  [   VBIOS][0000:01:00.0] checking PRAMIN for image...
    [   11.051772] nouveau  [   VBIOS][0000:01:00.0] ... signature not found
    [   11.051774] nouveau  [   VBIOS][0000:01:00.0] checking PROM for image...
    [   11.051839] nouveau  [   VBIOS][0000:01:00.0] ... signature not found
    [   11.051840] nouveau  [   VBIOS][0000:01:00.0] checking ACPI for image...
    [   11.051842] nouveau  [   VBIOS][0000:01:00.0] ... signature not found
    [   11.051843] nouveau  [   VBIOS][0000:01:00.0] checking PCIROM for image...
    [   11.051844] nouveau  [   VBIOS][0000:01:00.0] ... signature not found
    [   11.051845] nouveau E[   VBIOS][0000:01:00.0] unable to locate usable image
    [   11.065308] nouveau E[  DEVICE][0000:01:00.0] failed to create 0x10000001, -22
    [   11.078877] nouveau E[     DRM] failed to create 0x80000080, -22
    [   11.092800] nouveau: probe of 0000:01:00.0 failed with error -22
    lspci|grep NVIDIA:
    01:00.0 3D controller: NVIDIA Corporation GF119 [GeForce GT 520MX] (rev a1)
    /var/log/Xorg.8.log:
    http://anonymousdelivers.us/44377
    lsmod|grep nouveau:
    nouveau               916214  0
    mxm_wmi                 1467  1 nouveau
    wmi                     8379  2 mxm_wmi,nouveau
    ttm                    64499  1 nouveau
    drm_kms_helper         35090  2 i915,nouveau
    video                  11170  3 i915,samsung_laptop,nouveau
    drm                   223731  5 ttm,i915,drm_kms_helper,nouveau
    i2c_algo_bit            5391  2 i915,nouveau
    i2c_core               22774  7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,nouveau,videodev
    button                  4701  2 i915,nouveau
    Last edited by JediKnight (2013-04-08 23:33:18)

    Try to remove nouveau and use instead the nvidia driver, see if it solves your problem.
    If you use nouveau because you absolutely want an free driver, then I can't help you, I never used it myself .

  • Some error with owbr2 deploy a cube

    When I try to deploy a cube with rolap using "Deploy to catalog only"
    some error view
    ORA-06510: PL/SQL: exception defined by user not handled
    ORA-06512: in "OLAPSYS.CWM2_OLAP_UTILITY", line 1660
    ORA-01403: no data found
    ORA-06512: in "OLAPSYS.CWM2_OLAP_CUBE", line 33
    ORA-06512: in "OLAPSYS.CWM2_OLAP_CUBE", line 55
    ORA-06512: in "OLAPSYS.CWM2_OLAP_CUBE", line 386
    ORA-06512: in line 7
    but If I use "Deploy Data Objects only" it deploy's successfully.
    Anyone know what is the problem,how can i correct it
    Thanks

    Been there, done that. Wish they'd set the default to "deploy all"...Frustrating to use the wizard, and then have to go back in and manually edit everything to set it to "deploy all".
    Scott

  • Some errors with the code

    hello all!
    i am trying to write simple code but have some errors.
    DECLARE
    id NUMBER;
    BEGIN
    id:=SELECT id from technician where salary=(select MIN(salary) from technician);
    DBMS_OUTPUT.put_line(id);
    END;

    Your simple program becomes complex! As pointed out, it will blow up if your query returns more than one row. If you're just doodling with your code, you can add "and rownum=1" to your where clause. That will prevent the "too many rows returned" exception. Of course, it is basically randomly picking one of several values in the DB, so it's not good for production code.
    For real code, there are at least two common options:
    (1) Use your select to create a cursor, which lets you loop through each matching row. Good when multiple rows are normal and you really want to use them all.
    (2) Create an integer variable, such as row_count. Select count(*) into row_count ... from technician t where salary....
    If row_count = 1 then use the assignment you were going to do. Otherwise, stop processing and log an error (too many or too few rows returned...).
    This is good when you expect EXACTLY one technician to have that salary, and anything else is an error.
    Andy

  • Why won't my debit/credit card register? It keeps saying that it has some errors on it, when I theres nothing wrong with my information. Is it a bug?

    So I have to keep signing in on my iPhone and it says that I need to give my credit card information (again). Due to some error from previous purchase or something. But I've checked with my card and everything, and it just keeps me stuck on that page.
    Please Help! Thanks.

    JerrBearBeware wrote:
    So I have to keep signing in on my iPhone and it says that I need to give my credit card information (again). Due to some error from previous purchase or something.
    How about giving us the exact wording of the message?

  • I started downloading ios 6 with iTunes. And at the end of the download , some kind of error comes with a pop up box  and a RED cross mark in it saying some error occurred and asking to disconnect and reconnect again and to check the internet is active?

    i started downloading ios 6 with iTunes with latest version of 10.7 for my iphone 4s running ios 5.1.1. And at the end of the download , some kind of error comes with a pop up box  and a RED cross mark in it saying some error occurred and asking to disconnect and reconnect again and to check the internet is active? and then nothing happens and when i disconnect and reconnect again, the same error comes and the same thing happens. what should i do now to install ios 6?

    Are you running any Firewalls or Anti-Virus software? If so, disable all of that stuff & try again.

  • Need a little help with some errors.

    Receiving some errors..
    btn2.addActionListener(new ActionListener() {
    and also
    frame.setLocation(400,400);
    frame.setVisible(true);
    }<<~~has 2 errors here...
    Both above have class or interface expected errors..clueless on what i'm missing at the moment.
    Anyone mind pointing out what {'s and }'s i'm missing?
         btn1.addActionListener(new ActionListener() {
                             public void actionPerformed(ActionEvent evt) {
                                  btn1actions();
              private void btn1actions() {
                   if (radio1.isSelected()) System.out.println("Radio Button 1 is selected.");
                   if (radio2.isSelected()) System.out.println("Radio Button 2 is selected.");
         btn2.addActionListener(new ActionListener() {
                                       public void actionPerformed(ActionEvent evt) {
                                            btn2actions();
                        private void btn2actions() {
                             if (radio1.isSelected()) System.out.println("Radio Button 1 is selected.");
                             if (radio2.isSelected()) System.out.println("Radio Button 2 is selected.");
                   btn3.addActionListener(new ActionListener() {
                                       public void actionPerformed(ActionEvent evt) {
                                            btn1actions();
                        private void btn3actions() {
                             txt1.setText("");
                             txt1.requestFocus();
    public static void main(String[] args) {
        Test2 frame = new Test2();
        frame.setTitle("Test Frame");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setSize(400, 300);
        frame.setLocation(400,400);
        frame.setVisible(true);
    }

    All my code..finally posted...just need help with more errors.
    F:\DocumentsTest2.java:169: ';' expected
              btn1.addActionListener(new ActionListener()) {
    ^
    F:\Documents\Test2.java:176: illegal start of expression
              private void btn1actions() {
    ^
    F:\Documents\Test2.java:191: illegal start of expression
              private void btn2actions() {
    ^
    F:\Documents\.java:202: illegal start of expression
              private void btn3actions() {
    ^
    4 errors
    Tool completed with exit code 1
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Test2 extends JFrame{
         static JButton btn1,btn2,btn3;
         static JTextField txt1;
         static JRadioButton radio1,radio2;
           public Test2() {
             Container container = getContentPane();
             container.setLayout(new BorderLayout());
              //Create Panels
                JPanel Panel1 = new JPanel();
                JPanel Panel2 = new JPanel();
                JPanel Panel3 = new JPanel();
                JPanel Panel4 = new JPanel();
                JPanel Panel5 = new JPanel();
                JPanel Panel6 = new JPanel();
                JPanel Panel7 = new JPanel();
                JPanel Panel8 = new JPanel();
                JPanel Panel9 = new JPanel();
                JPanel Panel10 = new JPanel();
              //Set Layout for Panels
              Panel3.setLayout(new BorderLayout());
              Panel4.setLayout(new BorderLayout());
              Panel5.setLayout(new BorderLayout());
              Panel6.setLayout(new BorderLayout());
              Panel10.setLayout(new BorderLayout());
              //Create the Various Fonts and Colors for this GUI
              Font font1 = new Font("SansSerif", Font.BOLD, 20);
              Font font2 = new Font("Serif", Font.PLAIN, 15);
              Color color1 = new Color(3,15,125);//A Dark Blue Color
              Color color2 = new Color(201,29,10);//A Red Color
              Color color3 = new Color(127,127,127);//A Grey Color
              //Create Buttons and Labels
             btn1 = new JButton("Submit");
             btn2 = new JButton("Display Schedule");
             btn3 = new JButton("Enter New Name");
             JLabel label1 = new JLabel("Student Name");
             JLabel label2 = new JLabel("Course Number");
              JLabel label3 = new JLabel("Welcome to the Java Community College");
              JLabel label4 = new JLabel("Registration System!");
              //Declare Text Field For Entering Student Names
              txt1 = new JTextField(15);
              //"Put Course Number from another Method Here"
              String[] courseStrings = { "CISM2230 A", "CISM2230 B", "CISM1110 A", "CISM1110 B", "CISM1120 A", "CISM1120 B" };
              JComboBox Combo1 = new JComboBox(courseStrings);
              //Declare Radio Buttons for Add and Drop Course
              radio1 = new JRadioButton("Add a Course", false);
              radio2 = new JRadioButton("Drop a Course", false);
              ButtonGroup radioButtons = new ButtonGroup();
              radioButtons.add(radio1);
              radioButtons.add(radio2);
              //Panel 10 is the Main Displaying Panel
              Panel10.add(Panel3, BorderLayout.NORTH);
              Panel10.add(Panel4, BorderLayout.CENTER);
              Panel10.add(Panel8, BorderLayout.SOUTH);
              //Panel 3 Used to Display Label 3 and 4 using Panels 1 and 2
              Panel3.add(Panel1, BorderLayout.NORTH);
              Panel3.add(Panel2, BorderLayout.CENTER);
              Panel1.add(label3);
             Panel2.add(label4);
              //Panel 4 Used to Display Student Name, Txt1, Course Number, Combo Box and Radio Buttons
             Panel5.add(label1, BorderLayout.NORTH);
             Panel5.add(txt1, BorderLayout.CENTER);
             Panel6.add(label2, BorderLayout.NORTH);
              Panel6.add(Combo1, BorderLayout.CENTER);
              Panel7.add(radio1, BorderLayout.NORTH);
              Panel7.add(radio2, BorderLayout.CENTER);
              Panel4.add(Panel5, BorderLayout.NORTH);
              Panel4.add(Panel6, BorderLayout.CENTER);
              Panel4.add(Panel7, BorderLayout.SOUTH);
              //Panel 8 Used to Display the Buttons
              Panel9.add(btn1, BorderLayout.CENTER);
              Panel9.add(btn2, BorderLayout.CENTER);
              Panel9.add(btn3, BorderLayout.SOUTH);
              Panel8.add(Panel9, BorderLayout.CENTER);
              //Setting Background, ForeGround and Font of all Text.
             Panel1.setBackground(color3);
             Panel2.setBackground(color3);
             Panel3.setBackground(color3);
             Panel4.setBackground(color3);
             Panel5.setBackground(color3);
             Panel6.setBackground(color3);
             Panel7.setBackground(color3);
             Panel8.setBackground(color3);
             Panel9.setBackground(color3);
             Panel10.setBackground(color3);
             btn1.setBackground(color3);
             btn2.setBackground(color3);
             btn3.setBackground(color3);
             radio1.setBackground(color3);
             radio2.setBackground(color3);
             btn1.setFont(font2);
             btn2.setFont(font2);
             btn3.setFont(font2);
             Combo1.setFont(font2);
             Combo1.setBackground(color3);
             Combo1.setForeground(color1);
             label1.setFont(font2);
             label2.setFont(font2);
             label3.setFont(font1);
             label4.setFont(font1);
             label1.setForeground(color2);
             label2.setForeground(color2);
             label3.setForeground(color1);
             label4.setForeground(color1);
             container.add(Panel10);
              //Setting Keyboard Shortcuts to Radio Buttons and Regular Buttons
              btn1.setMnemonic('S');
              btn2.setMnemonic('D');
              btn3.setMnemonic('E');
              radio1.setMnemonic('A');
              radio2.setMnemonic('C');
              //ActionListener
              btn1.addActionListener(new ActionListener()) {
                   public void actionPerformed(ActionEvent evt) {
                        btn1actions();
              private void btn1actions() {
                   if (radio1.isSelected()){ System.out.println("Radio Button 1 is selected. Button 1")};
                   if (radio2.isSelected()){ System.out.println("Radio Button 2 is selected. Button 1")};
              btn2.addActionListener(new ActionListener()) {
                   public void actionPerformed(ActionEvent evt) {
                                            btn2actions();
              private void btn2actions() {
                   if (radio1.isSelected()) System.out.println("Radio Button 1 is selected(Button 2).");
                   if (radio2.isSelected()) System.out.println("Radio Button 2 is selected.Button 2");
              btn3.addActionListener(new ActionListener()) {
                   public void actionPerformed(ActionEvent evt) {
                        btn1actions();
              private void btn3actions() {
                   txt1.setText("");
                   txt1.requestFocus();
         public static void main(String[] args) {
             JavaCollegeTest2 frame = new JavaCollegeTest2();
             frame.setTitle("Project 4");
             frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
             frame.setSize(400, 300);
             frame.setLocation(400,400);
             frame.setVisible(true);
    }

  • I have some error with my iphone 5 in black screen nothing shown

    i have some error with my iphone 5 in black screen nothing shown nothing do no restart and when i have restore my iphone it say error 4014????????????

    is this the original iPhone 5, or 5s? If it's the 5s do you have Apple Care still? If so calling Apple iPhone support is where to start, hopefully they can help, if not, setting up an appointment at the Genius Bar at an apple retail store is a good option too, Call the store first though and ask what your options are in terms of warranty and service. If you are having problems with the regular iPhone 5, still call Apple Care or an Apple store and see what they can do.
    good luck!
    K?

  • [SOLVED] shutdown computer with some errors

    Hello.
    I have no serious problem with my computer, just after some journalctl random check I noticed that when I shutdown or reboot my computer, journalctl get the following problem:
    Mar 01 10:41:46 LenovoArch dhcpcd[534]: enp6s0: removing interface
    Mar 01 10:41:46 LenovoArch systemd[1]: wicd.service: main process exited, code=exited, status=1/FAILURE
    Mar 01 10:41:46 LenovoArch systemd[1]: Unit wicd.service entered failed state.
    Mar 01 10:41:46 LenovoArch systemd[1]: wicd.service failed.
    Mar 01 10:41:46 LenovoArch systemd[1]: Stopped (with error) /dev/mapper/sw.
    Mar 01 10:41:46 LenovoArch systemd[1]: Stopped (with error) /dev/disk/by-uuid/af2374d1-5339-4471-9e6a-5798f5ef0943.
    Mar 01 10:41:46 LenovoArch systemd[1]: Stopped (with error) /dev/disk/by-id/dm-uuid-CRYPT-PLAIN-sw.
    Mar 01 10:41:46 LenovoArch systemd[1]: Stopped (with error) /dev/disk/by-id/dm-name-sw.
    Mar 01 10:41:46 LenovoArch systemd[1]: Stopped (with error) /dev/dm-1.
    Mar 01 10:41:46 LenovoArch systemd[1]: Stopped (with error) /sys/devices/virtual/block/dm-1.
    Mar 01 10:41:46 LenovoArch mkinitcpio[1390]: ==> Starting build: none
    Mar 01 10:41:47 LenovoArch mkinitcpio[1390]: -> Running build hook: [sd-shutdown]
    Mar 01 10:41:47 LenovoArch mkinitcpio[1390]: ==> Build complete.
    Mar 01 10:41:47 LenovoArch systemd[1]: Shutting down.
    Well, I can see two issues.
    One for wicd.service which I don't mind.
    Second that there are some errors (umounting?) my encrypted disks.
    The strange thing is that these locations are invalid.
    My /dev/disk/* is:
    disk/by-id:
    total 0
    lrwxrwxrwx 1 root root 9 Mar 1 10:42 ata-WDC_WD5000LPVX-00V0TT0_WD-WX71A1408071 -> ../../sda
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 ata-WDC_WD5000LPVX-00V0TT0_WD-WX71A1408071-part1 -> ../../sda1
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 ata-WDC_WD5000LPVX-00V0TT0_WD-WX71A1408071-part2 -> ../../sda2
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 ata-WDC_WD5000LPVX-00V0TT0_WD-WX71A1408071-part3 -> ../../sda3
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 ata-WDC_WD5000LPVX-00V0TT0_WD-WX71A1408071-part4 -> ../../sda4
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 ata-WDC_WD5000LPVX-00V0TT0_WD-WX71A1408071-part5 -> ../../sda5
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 ata-WDC_WD5000LPVX-00V0TT0_WD-WX71A1408071-part6 -> ../../sda6
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 ata-WDC_WD5000LPVX-00V0TT0_WD-WX71A1408071-part7 -> ../../sda7
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 dm-name-data -> ../../dm-2
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 dm-name-root -> ../../dm-0
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 dm-name-sw -> ../../dm-1
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 dm-uuid-CRYPT-LUKS1-2b7a4765f06144d2b94ebb2975fe4aa8-data -> ../../dm-2
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 dm-uuid-CRYPT-LUKS1-6282b8d9b3f24e1192486bfcb8d0e777-root -> ../../dm-0
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 dm-uuid-CRYPT-PLAIN-sw -> ../../dm-1
    lrwxrwxrwx 1 root root 9 Mar 1 10:42 wwn-0x50014ee6aef8ce92 -> ../../sda
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 wwn-0x50014ee6aef8ce92-part1 -> ../../sda1
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 wwn-0x50014ee6aef8ce92-part2 -> ../../sda2
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 wwn-0x50014ee6aef8ce92-part3 -> ../../sda3
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 wwn-0x50014ee6aef8ce92-part4 -> ../../sda4
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 wwn-0x50014ee6aef8ce92-part5 -> ../../sda5
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 wwn-0x50014ee6aef8ce92-part6 -> ../../sda6
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 wwn-0x50014ee6aef8ce92-part7 -> ../../sda7
    disk/by-label:
    total 0
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 boot-1 -> ../../sda1
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 boot-2 -> ../../sda2
    disk/by-uuid:
    total 0
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 12364cfc-b703-4b70-8e1f-a63bc8b5717b -> ../../dm-0
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 1ca5bf46-7d91-4356-9f7f-71fa65cb1d9d -> ../../sda2
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 2b7a4765-f061-44d2-b94e-bb2975fe4aa8 -> ../../sda7
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 47a6cdfb-60f4-4f74-8f9f-2dc3dcd23599 -> ../../dm-2
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 4c8b493d-c250-44c9-8962-02bf816cdc09 -> ../../sda5
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 5a781d6b-4f58-481d-92c2-8113efdb80c8 -> ../../sda1
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 6282b8d9-b3f2-4e11-9248-6bfcb8d0e777 -> ../../sda6
    lrwxrwxrwx 1 root root 10 Mar 1 10:42 e6017dac-c2ea-43e1-b229-d82905374161 -> ../../dm-1
    My cryptab is:
    sw /dev/disk/by-id/ata-WDC_WD5000LPVX-00V0TT0_WD-WX71A1408071-part3 /dev/urandom swap,cipher=aes-cbc-essiv:sha256,size=256
    data /dev/disk/by-id/ata-WDC_WD5000LPVX-00V0TT0_WD-WX71A1408071-part7 none
    And my fstab is:
    /dev/mapper/root ext4 defaults 0 1
    /dev/sda2 /boot ext4 defaults 0 2
    /dev/mapper/sw none swap swap 0 0
    /dev/mapper/data /home ext4 defaults 0 3
    Any idea how to fix it?
    Thank you.
    Last edited by alex.theoto (2015-05-02 15:42:40)

    Problem solved after the upgrade of systemd version 219-5
    There were very few cases on shutdown with no error on version 218 but from 219 I haven't see that problem.
    I think it is solved.

  • Can you help me? I meet some errors when I do incomplete recovery with RMAN

    In recover step, There are following errors:
    RMAN-11001: Oracle Error: ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/d/db/oradata/db01/system01.dbf'
    question:
    1. Should I restore archive log files generated on July 16th back to orignal archive directory in order to avoid to recover failure?
    2. Or Should I add the command "sql 'alter system archive log current'" in the backup script in order to avoid to recover failure?
    The following is the detail information:
    The database is ok when I try to do incomplete recovery database that was fully backed up on July,16th,2004. The database is oracle 8.1.7 and is in the archive mode:
    The following is the backup script:
    run {
    allocate channel 'dev_0' type 'sbt_tape'
    parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=db01,OB2BARLIST=ora8i_online)';
    backup incremental level 0 filesperset 1
    format 'ora8i_online&lt;db01_%s:%t:%p&gt;.dbf'
    database
    include current controlfile
    archivelog all delete input;
    I use it to do a full backup on July 16th,17th successfully.
    And I use the following scripts to do incomplete recovery:
    run {
    allocate channel 'dev_0' type 'sbt_tape'
    parms 'ENV=(OB2BARTYPE=ORACLE8,OB2APPNAME=db01)';
    sql "alter database mount";
    set until time ='17.07.2004';
    restore database;
    recover database;
    sql "alter database open resetlogs";
    sql "alter database open";
    There script is successful in restore step. But there are some errors in recover step. The detail information is showing in following log:
    RMAN-03022: compiling command: allocate
    RMAN-03023: executing command: allocate
    RMAN-08030: allocated channel: dev_0
    RMAN-08500: channel dev_0: sid=13 devtype=SBT_TAPE
    RMAN-08526: channel dev_0: HP OpenView OmniBack II A.04.10/176
    RMAN-03022: compiling command: sql
    RMAN-06162: sql statement: alter database mount
    RMAN-03023: executing command: sql
    RMAN-03022: compiling command: set
    RMAN-03022: compiling command: restore
    RMAN-03022: compiling command: IRESTORE
    RMAN-03023: executing command: IRESTORE
    RMAN-08016: channel dev_0: starting datafile backupset restore
    RMAN-08502: set_count=2056 set_stamp=531622798 creation_time=16.07.2004
    RMAN-08089: channel dev_0: specifying datafile(s) to restore from backup set
    RMAN-08016: channel dev_0: starting datafile backupset restore
    RMAN-08502: set_count=2180 set_stamp=531623409 creation_time=16.07.2004
    RMAN-08089: channel dev_0: specifying datafile(s) to restore from backup set
    RMAN-08523: restoring datafile 00001 to /d/db/oradata/db01/system01.dbf
    RMAN-08023: channel dev_0: restored backup piece 1
    RMAN-08511: piece handle=netace_ora8i_online&lt;db01_2180:531623409:1&gt;.dbf tag=null params=NULL
    RMAN-08024: channel dev_0: restore complete
    RMAN-08023: channel dev_0: restored backup piece 1
    RMAN-08511: piece handle=netace_ora8i_online&lt;db01_2212:531623994:1&gt;.dbf tag=null params=NULL
    RMAN-08024: channel dev_0: restore complete
    RMAN-03022: compiling command: recover
    RMAN-03022: compiling command: recover(1)
    RMAN-03022: compiling command: recover(2)
    RMAN-03022: compiling command: recover(3)
    RMAN-03023: executing command: recover(3)
    RMAN-08054: starting media recovery
    RMAN-03022: compiling command: recover(4)
    RMAN-03026: error recovery releasing channel resources
    RMAN-11001: Oracle Error: ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/d/db/oradata/db01/system01.dbf'
    RMAN-08031: released channel: dev_1
    RMAN-08031: released channel: dev_2
    RMAN-08031: released channel: dev_0
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: recover
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: recover(4)
    RMAN-06003: ORACLE error from target database: ORA-01220: file based sort illegal before database is open
    ORA-06512: at "SYS.X$DBMS_RCVMAN", line 7220
    ORA-06512: at "SYS.X$DBMS_RCVMAN", line 5053
    ORA-06512: at line 1
    I repeat my questions:
    1. Should I restore archive log files generated on July 16th back to original archive directory in order to avoid to recover failure?
    2. Or Should I add the command "sql 'alter system archive log current'" in the backup script in order to avoid to recover failure?
    Can you help me ? Thank you.

    You are correct. In RMAN8i, you should add the "alter system archive log current; command before you backup the archive logs.
    You are running into the case where Oracle needs additional redo to make the database consistent that was located in the current online log at the time of the backup.
    If you set UNTIL TIME to an earlier time does the recover work?
    In Oracle9i, if you issue the command, "backup database plus archive logs", RMAN will automatically archive the current online log before performing the archive log backups.
    Thanks, Tammy

  • Some error in MOSFET Driver Circuit,also have error with model that I creat in myself

    I am trying to simulate MOSFET Driver circuit.
     TC4426A for Gate driver
    IPD70N10S3L-12 for MOSFET
    But multisim libarary not consist of these components.So I download a spice model of TC4426A and creat model of IPD70N10S3L-12.
    when compile the circuit ,it display some error.But I cannot understand what it mean.
    SO I turn to expert for this problem.
    And if someone already have models of these component,please give me some hand~~~~~~~~~~~ 
    Appreciate for any reply!!!!
    Attachments:
    电路1.ms10 ‏50 KB

    The typical problem is symbol to Model mapping. In the Component Wizard the final mapping step maps the symbol pins to the order that the model pins are in (1 = position 1, 2 = position 2 and so on)... So it's very likely the pins are not mapped correctly.
    I would also recommend testing the parts separately first in a simple test circuit an them bring them together in a larger circuit once all small circuits test ok.
    Regards,
    Pat N

  • Arch 64b/KDE 4.5.2- No sound after Skype installation

    Hi,
    I've a fully updated Arch 64b/ KDE 4.5.2 system.
    Initially, sound worked fine till I installed, from repositories Skype (and needed 32b libraries).
    Afterwards, every time the system boots and I log in (in KDE), I do not hear KDE's sounds and get the following error:
    "Removed Sound Device:
    KDE detected that one or more internal sound devices were removed.
    Do you want KDE to permanently forget about these devices?
    This is the list of devices KDE thinks can be removed:
    Output: HD-Audio Generic, ATI HDMI (HDMI Audio Output)"
    Needless to say, Skype doesn't work either, at least the speakers, although I can hear myself knocking on the Mic through the speakers. Skpe's option provide local Pulse Audio server as the sole audio device both for input and output.
    My new hardware consists of a Gigabyte GA-890FXA-UD5 (ver 2.0) MoBO, with an on board Realtek ALC889 audio codec, and an HDMI complient PCIe graphic card (Radeon  5670). My speakers are connected to the rear audio ports of the MoBo (currently I don't use the HDMI audio capability).
    I've searched the ALSA Wiki and added some relevant outputs-Sorry for the long input below!
    Both alsa-utils and alsa-oss are installed.
    Running alsamixer I initially get Pulse Audio card at 90% for Master (Only channel displayed).  Selecting the sound card (F6) provides 2 options (besides the default): HDA ATI SB and HD-Audio Generic.
    Selecting the HDA option  I get all Realtek channels at 75-100% level with only the S/PIDF muted.
    Selecting HD-Audio generic selects the graphic card and displays only  S/PIDF @ zero.
    Is my problem related to the fact that lspci (see below) does NOT list the 889 module, and instead I see an Intel?? module?
    Please advise!
    Thanks!
    -------------relevant terminal outputs per ALSA Wiki-
    lspci | grep Audio
    00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
    01:00.1 Audio device: ATI Technologies Inc Redwood HDMI Audio [Radeon HD 5600 Series]
    $ ls -l /sys/module/snd/holders
    total 0
    lrwxrwxrwx 1 root root 0 Oct 18 12:12 snd_hda_codec -> ../../snd_hda_codec
    lrwxrwxrwx 1 root root 0 Oct 18 12:12 snd_hda_codec_realtek -> ../../snd_hda_codec_realtek
    lrwxrwxrwx 1 root root 0 Oct 18 12:12 snd_hda_intel -> ../../snd_hda_intel
    lrwxrwxrwx 1 root root 0 Oct 18 12:12 snd_hwdep -> ../../snd_hwdep
    lrwxrwxrwx 1 root root 0 Oct 18 12:12 snd_mixer_oss -> ../../snd_mixer_oss
    lrwxrwxrwx 1 root root 0 Oct 18 12:12 snd_pcm -> ../../snd_pcm
    lrwxrwxrwx 1 root root 0 Oct 18 12:12 snd_pcm_oss -> ../../snd_pcm_oss
    lrwxrwxrwx 1 root root 0 Oct 18 12:12 snd_seq -> ../../snd_seq
    lrwxrwxrwx 1 root root 0 Oct 18 12:12 snd_seq_device -> ../../snd_seq_device
    lrwxrwxrwx 1 root root 0 Oct 18 12:12 snd_seq_oss -> ../../snd_seq_oss
    lrwxrwxrwx 1 root root 0 Oct 18 12:12 snd_timer -> ../../snd_timer
    $ cat /proc/asound/modules
    0 snd_hda_intel
    1 snd_hda_intel
    I do NOT have a ~/.asoundrc  file!
    $ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: SB [HDA ATI SB], device 0: ALC889 Analog [ALC889 Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: SB [HDA ATI SB], device 1: ALC889 Digital [ALC889 Digital]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: Generic [HD-Audio Generic], device 3: ATI HDMI [ATI HDMI]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    $ lsmod|grep '^snd' | column -t
    snd_hda_codec_atihdmi  2739    1
    snd_hda_codec_realtek  269269  1
    snd_seq_dummy          1463    0
    snd_seq_oss            28792   0
    snd_hda_intel          22285   4
    snd_seq_midi_event     5436    1   snd_seq_oss
    snd_seq                50146   5   snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
    snd_seq_device         5297    3   snd_seq_dummy,snd_seq_oss,snd_seq
    snd_hda_codec          77223   3   snd_hda_codec_atihdmi,snd_hda_codec_realtek,snd_hda_intel
    snd_pcm_oss            39189   0
    snd_hwdep              6110    1   snd_hda_codec
    snd_mixer_oss          17106   1   snd_pcm_oss
    snd_pcm                71445   3   snd_hda_intel,snd_hda_codec,snd_pcm_oss
    snd_timer              19265   2   snd_seq,snd_pcm
    snd                    57626   19  snd_hda_codec_realtek,snd_seq_oss,snd_hda_intel,snd_seq,snd_seq_device,snd_hda_codec,snd_pcm_oss,snd_hwdep,snd_mixer_oss,snd_pcm,snd_timer
    snd_page_alloc         7249    2   snd_hda_intel,snd_pcm
    ls -l /dev/snd
    total 0
    crw-rw----  1 root audio 116,  0 Apr  8 14:17 controlC0
    crw-rw----  1 root audio 116, 32 Apr  8 14:17 controlC1
    crw-rw----  1 root audio 116, 24 Apr  8 14:17 pcmC0D0c
    crw-rw----  1 root audio 116, 16 Apr  8 14:17 pcmC0D0p
    crw-rw----  1 root audio 116, 25 Apr  8 14:17 pcmC0D1c
    crw-rw----  1 root audio 116, 56 Apr  8 14:17 pcmC1D0c
    crw-rw----  1 root audio 116, 48 Apr  8 14:17 pcmC1D0p
    crw-rw----  1 root audio 116,  1 Apr  8 14:17 seq
    crw-rw----  1 root audio 116, 33 Apr  8 14:17 timer
    $ ls -a /dev/snd/
    .  ..  by-path  controlC0  controlC1  hwC0D0  hwC1D0  pcmC0D0c  pcmC0D0p  pcmC0D1c  pcmC0D1p  pcmC0D2c  pcmC1D3p  seq  timer
    Only the default part of my alsa.conf is
    # defaults
    # show all name hints also for definitions without hint {} section
    defaults.namehint.showall off
    # show just basic name hints
    defaults.namehint.basic on
    # show extended name hints
    defaults.namehint.extended off
    defaults.ctl.card 0
    defaults.pcm.card 0
    defaults.pcm.device 0
    defaults.pcm.subdevice -1
    defaults.pcm.nonblock 1
    defaults.pcm.ipc_key 5678293
    defaults.pcm.ipc_gid audio
    defaults.pcm.ipc_perm 0660
    defaults.pcm.dmix.max_periods 0
    defaults.pcm.dmix.rate 48000
    defaults.pcm.dmix.format "unchanged"
    defaults.pcm.dmix.card defaults.pcm.card
    defaults.pcm.dmix.device defaults.pcm.device
    defaults.pcm.dsnoop.card defaults.pcm.card
    defaults.pcm.dsnoop.device defaults.pcm.device
    defaults.pcm.front.card defaults.pcm.card
    defaults.pcm.front.device defaults.pcm.device
    defaults.pcm.rear.card defaults.pcm.card
    defaults.pcm.rear.device defaults.pcm.device
    defaults.pcm.center_lfe.card defaults.pcm.card
    defaults.pcm.center_lfe.device defaults.pcm.device
    defaults.pcm.side.card defaults.pcm.card
    defaults.pcm.side.device defaults.pcm.device
    defaults.pcm.surround40.card defaults.pcm.card
    defaults.pcm.surround40.device defaults.pcm.device
    defaults.pcm.surround41.card defaults.pcm.card
    defaults.pcm.surround41.device defaults.pcm.device
    defaults.pcm.surround50.card defaults.pcm.card
    defaults.pcm.surround50.device defaults.pcm.device
    defaults.pcm.surround51.card defaults.pcm.card
    defaults.pcm.surround51.device defaults.pcm.device
    defaults.pcm.surround71.card defaults.pcm.card
    defaults.pcm.surround71.device defaults.pcm.device
    defaults.pcm.iec958.card defaults.pcm.card
    defaults.pcm.iec958.device defaults.pcm.device
    defaults.pcm.modem.card defaults.pcm.card
    defaults.pcm.modem.device defaults.pcm.device
    # truncate files via file or tee PCM
    defaults.pcm.file_format        "raw"
    defaults.pcm.file_truncate      true
    defaults.rawmidi.card 0
    defaults.rawmidi.device 0
    defaults.rawmidi.subdevice -1
    defaults.hwdep.card 0
    defaults.hwdep.device 0
    defaults.timer.class 2
    defaults.timer.sclass 0
    defaults.timer.card 0
    defaults.timer.device 0
    defaults.timer.subdevice 0
    #  PCM interface
    # redirect to load-on-demand extended pcm definitions
    pcm.cards cards.pcm
    pcm.default cards.pcm.default
    pcm.front cards.pcm.front
    pcm.rear cards.pcm.rear
    pcm.center_lfe cards.pcm.center_lfe
    pcm.side cards.pcm.side
    pcm.surround40 cards.pcm.surround40
    pcm.surround41 cards.pcm.surround41
    pcm.surround50 cards.pcm.surround50
    pcm.surround51 cards.pcm.surround51
    pcm.surround71 cards.pcm.surround71
    pcm.iec958 cards.pcm.iec958
    pcm.spdif iec958
    pcm.hdmi cards.pcm.hdmi
    pcm.dmix cards.pcm.dmix
    pcm.dsnoop cards.pcm.dsnoop
    pcm.modem cards.pcm.modem
    pcm.phoneline cards.pcm.phoneline
    Last edited by mibadt (2010-10-18 10:32:49)

    I had problems before with KDE also asking me about forgetting a device.  I believe what happened in my case was that when the system booted up, the order of the sound cards (card0, card1, etc; as listed in `aplay -l`) kept changing.  So for example, one time it would boot up and KDE would use the mobo's sound (which i want it to), and on the next bootup, the system would think my webcam was card0, so KDE would try and use the webcam for sound output rather than the mobo.
    I fixed the issue by setting the order of sound cards as done here: http://wiki.archlinux.org/index.php/Als … sound_card
    Hope this helps

Maybe you are looking for