Udev and mount usb

Hi gues
I''m new in arche and generalny in linux .
Lately I wanted to automount my MP3 player when i plug in him.
Let's move to the point .
Firstly i writen script to mount
#!/bin/bash
sleep 10
echo "pawel" >> /home/lenovo/pawel.txt
/bin/mount -o ro /dev/sony_walkman /mnt/sony_walkman
exit
Next
My udev rule
SUBSYSTEM=="block", ATTRS{ventor}=="SONY", SYMLINK+="sony_walkman:, RUN+="/bin/sh -c 'sudo /home/lenovo/.scripts/mount_sony_walkman.sh'"
When i plug the mp3 player the script i called because the file pawel.txt is changed .
By disk is not mount
When i invoke the script in console than the disk is mounting.

I use a slightly better method these days, which is:
In /etc/udev/rules.d/10-local.rules
ACTION=="add", KERNEL=="sd*1", ATTRS{serial}=="BIGLONGLISTOFHEXCHARS", SYMLINK+="mydrive%n", RUN+="/root/bin/mntmydrive"
And that file contains, essentially:
if ! mountpoint -q /media/mydrive ; then
mount /media/mydrive
fi
And there's an appropriate entry in /etc/fstab, e.g.:
/dev/mydrive1 /media/mydrive vfat noauto,noatime,users,flush,gid=100,umask=007
If it doesn't work for you, do some debugging.
Remember to run this, after changing udev rules:
udevadm control --reload

Similar Messages

  • Filesystem Error (UDev and mounting)

    I'm having trouble with my filesystem(s) on startup. These problems began after I cleaned my case using compressed air / vacuum, though I don't think I jostled any hardware. My original filesystem was set up like this:
    /dev/sda1 NTFS WinXP partition
    /dev/sda2 XFS /var
    /dev/sda3 EXT3 root
    /dev/sda4 extended
    /dev/sda5 EXT3 /home
    /dev/sda6 swap
    /dev/sdb1 XFS /digitalmedia
    On startup, UDev starts and Modules are loaded, then I make it to:
    :: Checking Filesystems [BUSY]
    /dev/sda3: clean, 87750/977280 files, 668803/3905803 blocks
    /dev/sda5 is mounted. e2fsck: Cannot continue, aborting.
    /sbin/fsck.xfs: XFS file system. [FAIL]
    *** FILESYSTEM CHECK FAILED ***
    * Please repair manually and reboot *
    <snip>
    If I log in as root, /proc/mounts contains this:
    rootfs / rootfs rw 0 0
    proc /proc prox rw,relatime 0 0
    sys /sys sysfs rw,relatime 0 0
    udev /dev devtmpfs rw,nosuid,relatime,size=10240k,nr_inodes=256615,mode=755 0 0
    /dev/disk/by-uuid/dc4661ec-06bf-46a7-ac7d-ba183f39f402 / ext3 ro,noatime,errors=continue,barrier=0,data=writeback 0 0
    /dev/sdb1 /media/usbhd-sdb1 xfs rw,relatime,attr2,noquota 0 0
    /dev/sda5 /media/usbhd-sda5 ext3 rw,relatime,errors=continue,barrier=0,data=writeback 0 0
    /dev/sda1 /media/usbhd-sda1 ntfs ro,relatime,uid=0,gid=100,umask=02,nls=utf8,errors=continue,mft_zone_multiplier=1 0 0
    /dev/sda2 /media/usbhd-sda2 xfs rw,relatime,attr2,noquota 0 0
    As you can see, 4 partitions are mounted under /media/* instead of their appropriate locations. At this point, I rebooted to SystemRescue LiveCD and issued e2fsck -f commands for the (unmounted) EXT3 partitions:
    root@sysresccd /proc % e2fsck -f /dev/sda3
    e2fsck 1.41.12 (17-May-2010)
    Pass 1: Checking inodes, blocks, and sizes
    Pass 2: Checking directory structure
    Pass 3: Checking directory connectivity
    Pass 4: Checking reference counts
    Pass 5: Checking group summary information
    /dev/sda3: 87750/977280 files (1.0% non-contiguous), 668803/3905803 blocks
    root@sysresccd /proc % e2fsck -f /dev/sda5
    e2fsck 1.41.12 (17-May-2010)
    Superblock last mount time is in the future.
    (by less than a day, probably due to the hardware clock being
    incorrectly set) Fix<y>? yes
    Superblock last write time is in the future.
    (by less than a day, probably due to the hardware clock being
    incorrectly set). Fix<y>? yes
    Pass 1: Checking inodes, blocks, and sizes
    Pass 2: Checking directory structure
    Pass 3: Checking directory connectivity
    Pass 4: Checking reference counts
    Pass 5: Checking group summary information
    /dev/sda5: ***** FILE SYSTEM WAS MODIFIED *****
    /dev/sda5: 7092/2564096 files (7.1% non-contiguous), 3262832/10253478 blocks
    as well as xfs_check and xfs_repair commands for the (unmounted) XFS partitions:
    root@sysresccd /proc % xfs_check /dev/sda2
    root@sysresccd /proc % xfs_check /dev/sdb1
    root@sysresccd /proc % xfs_repair /dev/sda2
    Phase 1 - find and verify superblock...
    Phase 2 - using internal log
    - zero log...
    - scan filesystem freespace and inode maps...
    - found root inode chunk
    Phase 3 - for each AG...
    - scan and clear agi unlinked lists...
    - process known inodes and perform inode discovery...
    - agno = 0
    - agno = 1
    - agno = 2
    - agno = 3
    - process newly discovered inodes...
    Phase 4 - check for duplicate blocks...
    - setting up duplicate extent list...
    - check for inodes claiming duplicate blocks...
    - agno = 0
    - agno = 2
    - agno = 1
    - agno = 3
    Phase 5 - rebuild AG headers and trees...
    - reset superblock...
    Phase 6 - check inode connectivity...
    - resetting contents of realtime bitmap and summary inodes
    - traversing filesystem ...
    - traversal finished ...
    - moving disconnected inodes to lost+found ...
    Phase 7 - verify and correct link counts...
    done
    root@sysresccd /proc % xfs_repair /dev/sdb1
    Phase 1 - find and verify superblock...
    Phase 2 - using internal log
    - zero log...
    - scan filesystem freespace and inode maps...
    - found root inode chunk
    Phase 3 - for each AG...
    - scan and clear agi unlinked lists...
    - process known inodes and perform inode discovery...
    - agno = 0
    - agno = 1
    - agno = 2
    - agno = 3
    - process newly discovered inodes...
    Phase 4 - check for duplicate blocks...
    - setting up duplicate extent list...
    - check for inodes claiming duplicate blocks...
    - agno = 1
    - agno = 0
    - agno = 2
    - agno = 3
    Phase 5 - rebuild AG headers and trees...
    - reset superblock...
    Phase 6 - check inode connectivity...
    - resetting contents of realtime bitmap and summary inodes
    - traversing filesystem ...
    - traversal finished ...
    - moving disconnected inodes to lost+found ...
    Phase 7 - verify and correct link counts...
    done
    root@sysresccd /proc %
    but that doesn't seem to help. I went back to check if the UUIDs in fstab were correct, and they appear to be. Here's fstab:
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    devpts /dev/pts devpts defaults 0 0
    shm /dev/shm tmpfs nodev,nosuid 0 0
    #/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
    #/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
    #/dev/fd0 /media/fl auto user,noauto 0 0
    UUID=216defa9-66be-4a21-940a-2899111b6f9a swap swap defaults 0 0
    UUID=8c0d304b-8c4d-4d8d-a60b-0a2e08dbfd2c /home ext3 defaults,noatime 0 1
    UUID=dc4661ec-06bf-46a7-ac7d-ba183f39f402 / ext3 defaults,noatime 0 1
    UUID=e09984c8-9f9f-46f9-a1c7-e4b5ed6ea1c0 /var xfs defaults 0 1
    #UUID=130a944d-1094-4cde-9af3-90a840290698 /digitalmedia xfs defaults,noatime 000 1
    #UUID=F0D8093AD8090098 /winxp NTFS defaults,noatime 0 0
    And here's the output for fdisk-l, mount, and dmesg:
    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x3f353f35
    Device Boot Start End Blocks Id System
    /dev/sda1 * 63 152151614 76075776 7 HPFS/NTFS
    /dev/sda2 152151615 503718074 175783230 83 Linux
    /dev/sda3 503718075 534964499 15623212+ 83 Linux
    /dev/sda4 534964500 625137344 45086422+ 5 Extended
    /dev/sda5 534964563 616992389 41013913+ 83 Linux
    /dev/sda6 616992453 625137344 4072446 82 Linux swap / Solaris
    Disk /dev/sdb: 640.1 GB, 640135028736 bytes
    255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x0005007d
    Device Boot Start End Blocks Id System
    /dev/sdb1 63 1250258624 625129281 83 Linux
    mount
    proc on /proc type proc (rw,relatime)
    sys on /sys type sysfs (rw,relatime)
    udev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=256615,mode=755)
    /dev/disk/by-uuid/dc4661ec-06bf-46a7-ac7d-ba183f39f402 on / type ext3 (rw,noatime,errors=continue,barrier=0,data=writeback)
    shm on /dev/shm type tmpfs (rw,nosuid,nodev)
    fusectl on /sys/fs/fuse/connections type fusectl (rw)
    /dev/sda3 on /media/usbhd-sda3 type ext3 (rw,relatime)
    /dev/sdb1 on /media/usbhd-sdb1 type xfs (rw,relatime)
    /dev/sda1 on /media/usbhd-sda1 type ntfs (ro,relatime,utf8,gid=100,umask=002)
    /dev/sda5 on /media/usbhd-sda5 type ext3 (rw,relatime)
    /dev/sda2 on /media/usbhd-sda2 type xfs (rw,relatime)
    mount: warning: /etc/mtab is not writable (e.g. read-only filesystem).
    It's possible that information reported by mount(8) is not
    up to date. For actual information about system mount points
    check the /proc/mounts file
    dmesg
    Initializing cgroup subsys cpuset
    Initializing cgroup subsys cpu
    Linux version 2.6.36-ARCH (tobias@T-POWA-LX) (gcc version 4.5.1 20101125 (prerelease) (GCC) ) #1 SMP PREEMPT Fri Dec 10 20:32:37 CET 2010
    Command line: root=/dev/disk/by-uuid/dc4661ec-06bf-46a7-ac7d-ba183f39f402 ro vga=773
    BIOS-provided physical RAM map:
    BIOS-e820: 0000000000000000 - 000000000009f400 (usable)
    BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved)
    BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
    BIOS-e820: 0000000000100000 - 000000007fee0000 (usable)
    BIOS-e820: 000000007fee0000 - 000000007fee3000 (ACPI NVS)
    BIOS-e820: 000000007fee3000 - 000000007fef0000 (ACPI data)
    BIOS-e820: 000000007fef0000 - 000000007ff00000 (reserved)
    BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
    BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
    NX (Execute Disable) protection: active
    DMI 2.5 present.
    Phoenix BIOS detected: BIOS may corrupt low RAM, working around it.
    e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
    e820 update range: 0000000000000000 - 0000000000001000 (usable) ==> (reserved)
    e820 remove range: 00000000000a0000 - 0000000000100000 (usable)
    No AGP bridge found
    last_pfn = 0x7fee0 max_arch_pfn = 0x400000000
    MTRR default type: uncachable
    MTRR fixed ranges enabled:
    00000-9FFFF write-back
    A0000-BFFFF uncachable
    C0000-CCFFF write-protect
    CD000-EFFFF uncachable
    F0000-FFFFF write-through
    MTRR variable ranges enabled:
    0 base 000000000 mask F80000000 write-back
    1 base 07FF00000 mask FFFF00000 uncachable
    2 disabled
    3 disabled
    4 disabled
    5 disabled
    6 disabled
    7 disabled
    x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
    Scanning 0 areas for low memory corruption
    modified physical RAM map:
    modified: 0000000000000000 - 0000000000010000 (reserved)
    modified: 0000000000010000 - 000000000009f400 (usable)
    modified: 000000000009f400 - 00000000000a0000 (reserved)
    modified: 00000000000f0000 - 0000000000100000 (reserved)
    modified: 0000000000100000 - 000000007fee0000 (usable)
    modified: 000000007fee0000 - 000000007fee3000 (ACPI NVS)
    modified: 000000007fee3000 - 000000007fef0000 (ACPI data)
    modified: 000000007fef0000 - 000000007ff00000 (reserved)
    modified: 00000000e0000000 - 00000000f0000000 (reserved)
    modified: 00000000fec00000 - 0000000100000000 (reserved)
    initial memory mapped : 0 - 20000000
    found SMP MP-table at [ffff8800000f39f0] f39f0
    init_memory_mapping: 0000000000000000-000000007fee0000
    0000000000 - 007fe00000 page 2M
    007fe00000 - 007fee0000 page 4k
    kernel direct mapping tables up to 7fee0000 @ 16000-1a000
    RAMDISK: 37e02000 - 37ff0000
    ACPI: RSDP 00000000000f7970 00014 (v00 IntelR)
    ACPI: RSDT 000000007fee3000 00034 (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
    ACPI: FACP 000000007fee3080 00074 (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
    ACPI: DSDT 000000007fee3100 04EC3 (v01 INTELR AWRDACPI 00001000 MSFT 0100000E)
    ACPI: FACS 000000007fee0000 00040
    ACPI: MCFG 000000007fee80c0 0003C (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
    ACPI: APIC 000000007fee8000 00084 (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
    ACPI: SSDT 000000007fee8a20 00380 (v01 PmRef CpuPm 00003000 INTL 20041203)
    ACPI: Local APIC address 0xfee00000
    [ffffea0000000000-ffffea0001bfffff] PMD -> [ffff880002000000-ffff880003bfffff] on node 0
    Zone PFN ranges:
    DMA 0x00000010 -> 0x00001000
    DMA32 0x00001000 -> 0x00100000
    Normal empty
    Movable zone start PFN for each node
    early_node_map[2] active PFN ranges
    0: 0x00000010 -> 0x0000009f
    0: 0x00000100 -> 0x0007fee0
    On node 0 totalpages: 523887
    DMA zone: 56 pages used for memmap
    DMA zone: 0 pages reserved
    DMA zone: 3927 pages, LIFO batch:0
    DMA32 zone: 7109 pages used for memmap
    DMA32 zone: 512795 pages, LIFO batch:31
    ACPI: PM-Timer IO Port: 0x408
    ACPI: Local APIC address 0xfee00000
    ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
    ACPI: LAPIC (acpi_id[0x01] lapic_id[0x03] enabled)
    ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
    ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled)
    ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
    ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
    ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
    ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
    ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
    IOAPIC[0]: apic_id 4, version 32, address 0xfec00000, GSI 0-23
    ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
    ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
    ACPI: IRQ0 used by override.
    ACPI: IRQ2 used by override.
    ACPI: IRQ9 used by override.
    Using ACPI (MADT) for SMP configuration information
    SMP: Allowing 4 CPUs, 0 hotplug CPUs
    nr_irqs_gsi: 40
    early_res array is doubled to 64 at [18180 - 1897f]
    PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
    PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
    PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
    Allocating PCI resources starting at 7ff00000 (gap: 7ff00000:60100000)
    Booting paravirtualized kernel on bare hardware
    setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:4 nr_node_ids:1
    PERCPU: Embedded 28 pages/cpu @ffff880001a00000 s86016 r8192 d20480 u524288
    pcpu-alloc: s86016 r8192 d20480 u524288 alloc=1*2097152
    pcpu-alloc: [0] 0 1 2 3
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 516722
    Kernel command line: root=/dev/disk/by-uuid/dc4661ec-06bf-46a7-ac7d-ba183f39f402 ro vga=773
    PID hash table entries: 4096 (order: 3, 32768 bytes)
    Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
    Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
    Checking aperture...
    No AGP bridge found
    Calgary: detecting Calgary via BIOS EBDA area
    Calgary: Unable to locate Rio Grande table in EBDA - bailing!
    Subtract (48 early reservations)
    #1 [0001000000 - 00017fb9a8] TEXT DATA BSS
    #2 [0037e02000 - 0037ff0000] RAMDISK
    #3 [00017fc000 - 00017fc0ee] BRK
    #4 [00000f3a00 - 0000100000] BIOS reserved
    #5 [00000f39f0 - 00000f3a00] MP-table mpf
    #6 [000009ec00 - 00000f20d4] BIOS reserved
    #7 [00000f22a8 - 00000f39f0] BIOS reserved
    #8 [00000f20d4 - 00000f22a8] MP-table mpc
    #9 [0000010000 - 0000012000] TRAMPOLINE
    #10 [0000012000 - 0000016000] ACPI WAKEUP
    #11 [0000016000 - 0000018000] PGTABLE
    #12 [00017fc100 - 00017fd100] BOOTMEM
    #13 [0000018000 - 0000018180] BOOTMEM
    #14 [0001ffe000 - 0001fff000] BOOTMEM
    #15 [0001fff000 - 0002000000] BOOTMEM
    #16 [0002000000 - 0003c00000] MEMMAP 0
    #17 [00017fd100 - 0001815100] BOOTMEM
    #18 [0001815100 - 000182d100] BOOTMEM
    #19 [000182e000 - 000182f000] BOOTMEM
    #20 [00017fb9c0 - 00017fba03] BOOTMEM
    #21 [00017fba40 - 00017fbc70] BOOTMEM
    #22 [00017fbc80 - 00017fbce8] BOOTMEM
    #23 [00017fbd00 - 00017fbd68] BOOTMEM
    #24 [00017fbd80 - 00017fbde8] BOOTMEM
    #25 [00017fbe00 - 00017fbe68] BOOTMEM
    #26 [00017fbe80 - 00017fbee8] BOOTMEM
    #27 [00017fbf00 - 00017fbf68] BOOTMEM
    #28 [00017fbf80 - 00017fbfe8] BOOTMEM
    #29 [000182d100 - 000182d168] BOOTMEM
    #30 [000182d180 - 000182d1e8] BOOTMEM
    #31 [000182d200 - 000182d220] BOOTMEM
    #32 [000182d240 - 000182d287] BOOTMEM
    #33 [000182d2c0 - 000182d307] BOOTMEM
    #34 [0001a00000 - 0001a1c000] BOOTMEM
    #35 [0001a80000 - 0001a9c000] BOOTMEM
    #36 [0001b00000 - 0001b1c000] BOOTMEM
    #37 [0001b80000 - 0001b9c000] BOOTMEM
    #38 [000182d340 - 000182d348] BOOTMEM
    #39 [000182d380 - 000182d388] BOOTMEM
    #40 [000182d3c0 - 000182d3d0] BOOTMEM
    #41 [000182d400 - 000182d420] BOOTMEM
    #42 [000182d440 - 000182d570] BOOTMEM
    #43 [000182d580 - 000182d5d0] BOOTMEM
    #44 [000182d600 - 000182d650] BOOTMEM
    #45 [000182f000 - 0001837000] BOOTMEM
    #46 [0001b9c000 - 0001d9c000] BOOTMEM
    #47 [0001837000 - 0001937000] BOOTMEM
    Memory: 2052920k/2096000k available (3685k kernel code, 452k absent, 42628k reserved, 2089k data, 504k init)
    SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    Hierarchical RCU implementation.
    RCU-based detection of stalled CPUs is disabled.
    Verbose stalled-CPUs detection is disabled.
    NR_IRQS:2304
    Console: colour dummy device 80x25
    console [tty0] enabled
    allocated 20971520 bytes of page_cgroup
    please try 'cgroup_disable=memory' option if you don't want memory cgroups
    Fast TSC calibration using PIT
    Detected 2550.007 MHz processor.
    Calibrating delay loop (skipped), value calculated using timer frequency.. 5102.51 BogoMIPS (lpj=8500023)
    pid_max: default: 32768 minimum: 301
    Security Framework initialized
    TOMOYO Linux initialized
    AppArmor: AppArmor disabled by boot time parameter
    Mount-cache hash table entries: 256
    Initializing cgroup subsys ns
    Initializing cgroup subsys cpuacct
    Initializing cgroup subsys memory
    Initializing cgroup subsys devices
    Initializing cgroup subsys freezer
    Initializing cgroup subsys net_cls
    Initializing cgroup subsys blkio
    CPU: Physical Processor ID: 0
    CPU: Processor Core ID: 0
    mce: CPU supports 6 MCE banks
    CPU0: Thermal monitoring enabled (TM2)
    using mwait in idle threads.
    Performance Events: PEBS fmt0+, Core2 events, Intel PMU driver.
    ... version: 2
    ... bit width: 40
    ... generic registers: 2
    ... value mask: 000000ffffffffff
    ... max period: 000000007fffffff
    ... fixed-purpose events: 3
    ... event mask: 0000000700000003
    ACPI: Core revision 20100702
    Setting APIC routing to flat
    ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
    CPU0: Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz stepping 07
    NMI watchdog enabled, takes one hw-pmu counter.
    Booting Node 0, Processors #1
    NMI watchdog enabled, takes one hw-pmu counter.
    #2
    NMI watchdog enabled, takes one hw-pmu counter.
    #3 Ok.
    NMI watchdog enabled, takes one hw-pmu counter.
    Brought up 4 CPUs
    Total of 4 processors activated (20407.98 BogoMIPS).
    devtmpfs: initialized
    NET: Registered protocol family 16
    ACPI: bus type pci registered
    PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
    PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in E820
    PCI: Using configuration type 1 for base access
    bio: create slab <bio-0> at 0
    ACPI: EC: Look up EC in DSDT
    ACPI: SSDT 000000007fee8140 0022A (v01 PmRef Cpu0Ist 00003000 INTL 20041203)
    ACPI: Dynamic OEM Table Load:
    ACPI: SSDT (null) 0022A (v01 PmRef Cpu0Ist 00003000 INTL 20041203)
    ACPI: SSDT 000000007fee8600 00152 (v01 PmRef Cpu1Ist 00003000 INTL 20041203)
    ACPI: Dynamic OEM Table Load:
    ACPI: SSDT (null) 00152 (v01 PmRef Cpu1Ist 00003000 INTL 20041203)
    ACPI: SSDT 000000007fee8760 00152 (v01 PmRef Cpu2Ist 00003000 INTL 20041203)
    ACPI: Dynamic OEM Table Load:
    ACPI: SSDT (null) 00152 (v01 PmRef Cpu2Ist 00003000 INTL 20041203)
    ACPI: SSDT 000000007fee88c0 00152 (v01 PmRef Cpu3Ist 00003000 INTL 20041203)
    ACPI: Dynamic OEM Table Load:
    ACPI: SSDT (null) 00152 (v01 PmRef Cpu3Ist 00003000 INTL 20041203)
    ACPI: Interpreter enabled
    ACPI: (supports S0 S3 S4 S5)
    ACPI: Using IOAPIC for interrupt routing
    ACPI: No dock devices found.
    PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
    ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
    pci_root PNP0A08:00: host bridge window [io 0x0000-0x0cf7]
    pci_root PNP0A08:00: host bridge window [io 0x0d00-0xffff]
    pci_root PNP0A08:00: host bridge window [mem 0x000a0000-0x000bffff]
    pci_root PNP0A08:00: host bridge window [mem 0x000c0000-0x000dffff]
    pci_root PNP0A08:00: host bridge window [mem 0x7ff00000-0xfebfffff]
    pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
    pci 0000:00:01.0: PME# disabled
    pci 0000:00:1a.0: reg 20: [io 0xff00-0xff1f]
    pci 0000:00:1a.1: reg 20: [io 0xfe00-0xfe1f]
    pci 0000:00:1a.2: reg 20: [io 0xfd00-0xfd1f]
    pci 0000:00:1a.7: reg 10: [mem 0xfdfff000-0xfdfff3ff]
    pci 0000:00:1a.7: PME# supported from D0 D3hot D3cold
    pci 0000:00:1a.7: PME# disabled
    pci 0000:00:1b.0: reg 10: [mem 0xfdff8000-0xfdffbfff 64bit]
    pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
    pci 0000:00:1b.0: PME# disabled
    pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
    pci 0000:00:1c.0: PME# disabled
    pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
    pci 0000:00:1c.1: PME# disabled
    pci 0000:00:1c.2: PME# supported from D0 D3hot D3cold
    pci 0000:00:1c.2: PME# disabled
    pci 0000:00:1d.0: reg 20: [io 0xfc00-0xfc1f]
    pci 0000:00:1d.1: reg 20: [io 0xfb00-0xfb1f]
    pci 0000:00:1d.2: reg 20: [io 0xfa00-0xfa1f]
    pci 0000:00:1d.7: reg 10: [mem 0xfdffe000-0xfdffe3ff]
    pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
    pci 0000:00:1d.7: PME# disabled
    pci 0000:00:1f.0: quirk: [io 0x0400-0x047f] claimed by ICH6 ACPI/GPIO/TCO
    pci 0000:00:1f.0: quirk: [io 0x0480-0x04bf] claimed by ICH6 GPIO
    pci 0000:00:1f.0: ICH7 LPC Generic IO decode 1 PIO at 0290 (mask 0007)
    pci 0000:00:1f.2: reg 10: [io 0xf900-0xf907]
    pci 0000:00:1f.2: reg 14: [io 0xf800-0xf803]
    pci 0000:00:1f.2: reg 18: [io 0xf700-0xf707]
    pci 0000:00:1f.2: reg 1c: [io 0xf600-0xf603]
    pci 0000:00:1f.2: reg 20: [io 0xf500-0xf50f]
    pci 0000:00:1f.2: reg 24: [io 0xf400-0xf40f]
    pci 0000:00:1f.3: reg 10: [mem 0xfdffd000-0xfdffd0ff 64bit]
    pci 0000:00:1f.3: reg 20: [io 0x0500-0x051f]
    pci 0000:00:1f.5: reg 10: [io 0xf200-0xf207]
    pci 0000:00:1f.5: reg 14: [io 0xf100-0xf103]
    pci 0000:00:1f.5: reg 18: [io 0xf000-0xf007]
    pci 0000:00:1f.5: reg 1c: [io 0xef00-0xef03]
    pci 0000:00:1f.5: reg 20: [io 0xee00-0xee0f]
    pci 0000:00:1f.5: reg 24: [io 0xed00-0xed0f]
    pci 0000:01:00.0: reg 10: [mem 0xfa000000-0xfaffffff]
    pci 0000:01:00.0: reg 14: [mem 0xd0000000-0xdfffffff 64bit pref]
    pci 0000:01:00.0: reg 1c: [mem 0xf8000000-0xf9ffffff 64bit]
    pci 0000:01:00.0: reg 24: [io 0xaf00-0xaf7f]
    pci 0000:01:00.0: reg 30: [mem 0x00000000-0x0001ffff pref]
    pci 0000:00:01.0: PCI bridge to [bus 01-01]
    pci 0000:00:01.0: bridge window [io 0xa000-0xafff]
    pci 0000:00:01.0: bridge window [mem 0xf8000000-0xfbffffff]
    pci 0000:00:01.0: bridge window [mem 0xd0000000-0xdfffffff 64bit pref]
    pci 0000:00:1c.0: PCI bridge to [bus 02-02]
    pci 0000:00:1c.0: bridge window [io 0x9000-0x9fff]
    pci 0000:00:1c.0: bridge window [mem 0xfdb00000-0xfdbfffff]
    pci 0000:00:1c.0: bridge window [mem 0xfd900000-0xfd9fffff 64bit pref]
    pci 0000:03:00.0: reg 10: [io 0xdf00-0xdf07]
    pci 0000:03:00.0: reg 14: [io 0xde00-0xde03]
    pci 0000:03:00.0: reg 18: [io 0xdd00-0xdd07]
    pci 0000:03:00.0: reg 1c: [io 0xdc00-0xdc03]
    pci 0000:03:00.0: reg 20: [io 0xdb00-0xdb0f]
    pci 0000:03:00.0: reg 30: [mem 0x00000000-0x0000ffff pref]
    pci 0000:03:00.0: disabling ASPM on pre-1.1 PCIe device. You can enable it with 'pcie_aspm=force'
    pci 0000:00:1c.1: PCI bridge to [bus 03-03]
    pci 0000:00:1c.1: bridge window [io 0xd000-0xdfff]
    pci 0000:00:1c.1: bridge window [mem 0xfd800000-0xfd8fffff]
    pci 0000:00:1c.1: bridge window [mem 0xfde00000-0xfdefffff 64bit pref]
    pci 0000:04:00.0: reg 10: [mem 0xfddfc000-0xfddfffff 64bit]
    pci 0000:04:00.0: reg 18: [io 0xbe00-0xbeff]
    pci 0000:04:00.0: reg 30: [mem 0x00000000-0x0001ffff pref]
    pci 0000:04:00.0: supports D1 D2
    pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
    pci 0000:04:00.0: PME# disabled
    pci 0000:00:1c.2: PCI bridge to [bus 04-04]
    pci 0000:00:1c.2: bridge window [io 0xb000-0xbfff]
    pci 0000:00:1c.2: bridge window [mem 0xfdd00000-0xfddfffff]
    pci 0000:00:1c.2: bridge window [mem 0xfdc00000-0xfdcfffff 64bit pref]
    pci 0000:05:03.0: reg 10: [mem 0xfdae0000-0xfdaeffff]
    pci 0000:05:03.0: reg 14: [io 0xcf00-0xcf1f]
    pci 0000:05:04.0: reg 10: [mem 0xf4000000-0xf7ffffff pref]
    pci 0000:05:05.0: reg 10: [mem 0xfdaff000-0xfdafffff]
    pci 0000:05:05.0: supports D1 D2
    pci 0000:05:05.0: PME# supported from D0 D1 D2 D3hot
    pci 0000:05:05.0: PME# disabled
    pci 0000:00:1e.0: PCI bridge to [bus 05-05] (subtractive decode)
    pci 0000:00:1e.0: bridge window [io 0xc000-0xcfff]
    pci 0000:00:1e.0: bridge window [mem 0xfda00000-0xfdafffff]
    pci 0000:00:1e.0: bridge window [mem 0xf4000000-0xf7ffffff 64bit pref]
    pci 0000:00:1e.0: bridge window [io 0x0000-0x0cf7] (subtractive decode)
    pci 0000:00:1e.0: bridge window [io 0x0d00-0xffff] (subtractive decode)
    pci 0000:00:1e.0: bridge window [mem 0x000a0000-0x000bffff] (subtractive decode)
    pci 0000:00:1e.0: bridge window [mem 0x000c0000-0x000dffff] (subtractive decode)
    pci 0000:00:1e.0: bridge window [mem 0x7ff00000-0xfebfffff] (subtractive decode)
    pci_bus 0000:00: on NUMA node 0
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEX0._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEX1._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEX2._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]
    ACPI: PCI Interrupt Link [LNKA] (IRQs *3 4 5 7 9 10 11 12)
    ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 9 *10 11 12)
    ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 7 9 10 11 12)
    ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 9 10 *11 12)
    ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 9 10 11 12) *0, disabled.
    ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 *7 9 10 11 12)
    ACPI: PCI Interrupt Link [LNK0] (IRQs 3 *4 5 7 9 10 11 12)
    ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 5 7 9 10 *11 12)
    HEST: Table is not found!
    vgaarb: device added: PCI:0000:01:00.0,decodes=io+mem,owns=io+mem,locks=none
    vgaarb: loaded
    PCI: Using ACPI for IRQ routing
    PCI: pci_cache_line_size set to 64 bytes
    reserve RAM buffer: 000000000009f400 - 000000000009ffff
    reserve RAM buffer: 000000007fee0000 - 000000007fffffff
    NetLabel: Initializing
    NetLabel: domain hash size = 128
    NetLabel: protocols = UNLABELED CIPSOv4
    NetLabel: unlabeled traffic allowed by default
    Switching to clocksource tsc
    pnp: PnP ACPI init
    ACPI: bus type pnp registered
    pnp: PnP ACPI: found 11 devices
    ACPI: ACPI bus type pnp unregistered
    system 00:01: [io 0x04d0-0x04d1] has been reserved
    system 00:01: [io 0x0290-0x030f] has been reserved
    system 00:01: [io 0x0880-0x088f] has been reserved
    system 00:07: [io 0x0400-0x04bf] could not be reserved
    system 00:09: [mem 0xe0000000-0xefffffff] has been reserved
    system 00:0a: [mem 0x000f0000-0x000fffff] could not be reserved
    system 00:0a: [mem 0x7ff00000-0x7fffffff] has been reserved
    system 00:0a: [mem 0x7fee0000-0x7fefffff] could not be reserved
    system 00:0a: [mem 0x00000000-0x0009ffff] could not be reserved
    system 00:0a: [mem 0x00100000-0x7fedffff] could not be reserved
    system 00:0a: [mem 0xfec00000-0xfec00fff] could not be reserved
    system 00:0a: [mem 0xfed14000-0xfed1dfff] has been reserved
    system 00:0a: [mem 0xfed20000-0xfed9ffff] has been reserved
    system 00:0a: [mem 0xfee00000-0xfee00fff] has been reserved
    system 00:0a: [mem 0xffb00000-0xffb7ffff] has been reserved
    system 00:0a: [mem 0xfff00000-0xffffffff] has been reserved
    system 00:0a: [mem 0x000e0000-0x000effff] has been reserved
    pci 0000:01:00.0: BAR 6: assigned [mem 0xfb000000-0xfb01ffff pref]
    pci 0000:00:01.0: PCI bridge to [bus 01-01]
    pci 0000:00:01.0: bridge window [io 0xa000-0xafff]
    pci 0000:00:01.0: bridge window [mem 0xf8000000-0xfbffffff]
    pci 0000:00:01.0: bridge window [mem 0xd0000000-0xdfffffff 64bit pref]
    pci 0000:00:1c.0: PCI bridge to [bus 02-02]
    pci 0000:00:1c.0: bridge window [io 0x9000-0x9fff]
    pci 0000:00:1c.0: bridge window [mem 0xfdb00000-0xfdbfffff]
    pci 0000:00:1c.0: bridge window [mem 0xfd900000-0xfd9fffff 64bit pref]
    pci 0000:03:00.0: BAR 6: assigned [mem 0xfde00000-0xfde0ffff pref]
    pci 0000:00:1c.1: PCI bridge to [bus 03-03]
    pci 0000:00:1c.1: bridge window [io 0xd000-0xdfff]
    pci 0000:00:1c.1: bridge window [mem 0xfd800000-0xfd8fffff]
    pci 0000:00:1c.1: bridge window [mem 0xfde00000-0xfdefffff 64bit pref]
    pci 0000:04:00.0: BAR 6: assigned [mem 0xfdc00000-0xfdc1ffff pref]
    pci 0000:00:1c.2: PCI bridge to [bus 04-04]
    pci 0000:00:1c.2: bridge window [io 0xb000-0xbfff]
    pci 0000:00:1c.2: bridge window [mem 0xfdd00000-0xfddfffff]
    pci 0000:00:1c.2: bridge window [mem 0xfdc00000-0xfdcfffff 64bit pref]
    pci 0000:00:1e.0: PCI bridge to [bus 05-05]
    pci 0000:00:1e.0: bridge window [io 0xc000-0xcfff]
    pci 0000:00:1e.0: bridge window [mem 0xfda00000-0xfdafffff]
    pci 0000:00:1e.0: bridge window [mem 0xf4000000-0xf7ffffff 64bit pref]
    pci 0000:00:01.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    pci 0000:00:01.0: setting latency timer to 64
    pci 0000:00:1c.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    pci 0000:00:1c.0: setting latency timer to 64
    pci 0000:00:1c.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
    pci 0000:00:1c.1: setting latency timer to 64
    pci 0000:00:1c.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
    pci 0000:00:1c.2: setting latency timer to 64
    pci 0000:00:1e.0: setting latency timer to 64
    pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7]
    pci_bus 0000:00: resource 5 [io 0x0d00-0xffff]
    pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff]
    pci_bus 0000:00: resource 7 [mem 0x000c0000-0x000dffff]
    pci_bus 0000:00: resource 8 [mem 0x7ff00000-0xfebfffff]
    pci_bus 0000:01: resource 0 [io 0xa000-0xafff]
    pci_bus 0000:01: resource 1 [mem 0xf8000000-0xfbffffff]
    pci_bus 0000:01: resource 2 [mem 0xd0000000-0xdfffffff 64bit pref]
    pci_bus 0000:02: resource 0 [io 0x9000-0x9fff]
    pci_bus 0000:02: resource 1 [mem 0xfdb00000-0xfdbfffff]
    pci_bus 0000:02: resource 2 [mem 0xfd900000-0xfd9fffff 64bit pref]
    pci_bus 0000:03: resource 0 [io 0xd000-0xdfff]
    pci_bus 0000:03: resource 1 [mem 0xfd800000-0xfd8fffff]
    pci_bus 0000:03: resource 2 [mem 0xfde00000-0xfdefffff 64bit pref]
    pci_bus 0000:04: resource 0 [io 0xb000-0xbfff]
    pci_bus 0000:04: resource 1 [mem 0xfdd00000-0xfddfffff]
    pci_bus 0000:04: resource 2 [mem 0xfdc00000-0xfdcfffff 64bit pref]
    pci_bus 0000:05: resource 0 [io 0xc000-0xcfff]
    pci_bus 0000:05: resource 1 [mem 0xfda00000-0xfdafffff]
    pci_bus 0000:05: resource 2 [mem 0xf4000000-0xf7ffffff 64bit pref]
    pci_bus 0000:05: resource 4 [io 0x0000-0x0cf7]
    pci_bus 0000:05: resource 5 [io 0x0d00-0xffff]
    pci_bus 0000:05: resource 6 [mem 0x000a0000-0x000bffff]
    pci_bus 0000:05: resource 7 [mem 0x000c0000-0x000dffff]
    pci_bus 0000:05: resource 8 [mem 0x7ff00000-0xfebfffff]
    NET: Registered protocol family 2
    IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
    TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
    TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
    TCP: Hash tables configured (established 262144 bind 65536)
    TCP reno registered
    UDP hash table entries: 1024 (order: 3, 32768 bytes)
    UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
    NET: Registered protocol family 1
    pci 0000:01:00.0: Boot video device
    PCI: CLS 64 bytes, default 64
    Unpacking initramfs...
    Freeing initrd memory: 1976k freed
    Scanning for low memory corruption every 60 seconds
    audit: initializing netlink socket (disabled)
    type=2000 audit(1294574252.469:1): initialized
    HugeTLB registered 2 MB page size, pre-allocated 0 pages
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    msgmni has been set to 4013
    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    vesafb: framebuffer at 0xf9000000, mapped to 0xffffc90010100000, using 1536k, total 14336k
    vesafb: mode is 1024x768x8, linelength=1024, pages=3
    vesafb: scrolling: redraw
    vesafb: Pseudocolor: size=8:8:8:8, shift=0:0:0:0
    Console: switching to colour frame buffer device 128x48
    fb0: VESA VGA frame buffer device
    intel_idle: MWAIT substates: 0x20
    intel_idle: does not run on family 6 model 23
    ERST: Table is not found!
    Linux agpgart interface v0.103
    Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    PNP: No PS/2 controller found. Probing ports directly.
    serio: i8042 KBD port at 0x60,0x64 irq 1
    serio: i8042 AUX port at 0x60,0x64 irq 12
    mice: PS/2 mouse device common for all mice
    rtc_cmos 00:03: RTC can wake from S4
    rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
    rtc0: alarms up to one month, 242 bytes nvram
    cpuidle: using governor ladder
    cpuidle: using governor menu
    TCP cubic registered
    NET: Registered protocol family 17
    Registering the dns_resolver key type
    PM: Resume from disk failed.
    registered taskstats version 1
    rtc_cmos 00:03: setting system clock to 2011-01-09 11:57:33 UTC (1294574253)
    Initalizing network drop monitor service
    Freeing unused kernel memory: 504k freed
    udev[45]: starting version 164
    SCSI subsystem initialized
    libata version 3.00 loaded.
    pata_acpi 0000:00:1f.2: PCI INT A -> GSI 19 (level, low) -> IRQ 19
    pata_acpi 0000:00:1f.2: setting latency timer to 64
    pata_acpi 0000:00:1f.2: PCI INT A disabled
    ata_piix 0000:00:1f.2: version 2.13
    ata_piix 0000:00:1f.2: PCI INT A -> GSI 19 (level, low) -> IRQ 19
    Floppy drive(s): fd0 is 1.44M
    ata_piix 0000:00:1f.2: MAP [ P0 -- P1 -- ]
    ata_piix 0000:00:1f.2: setting latency timer to 64
    scsi0 : ata_piix
    scsi1 : ata_piix
    ata1: SATA max UDMA/133 cmd 0xf900 ctl 0xf800 bmdma 0xf500 irq 19
    ata2: SATA max UDMA/133 cmd 0xf700 ctl 0xf600 bmdma 0xf508 irq 19
    ata_piix 0000:00:1f.5: PCI INT A -> GSI 19 (level, low) -> IRQ 19
    ata_piix 0000:00:1f.5: MAP [ P0 -- P1 -- ]
    ata_piix 0000:00:1f.5: setting latency timer to 64
    scsi2 : ata_piix
    scsi3 : ata_piix
    ata3: SATA max UDMA/133 cmd 0xf200 ctl 0xf100 bmdma 0xee00 irq 19
    ata4: SATA max UDMA/133 cmd 0xf000 ctl 0xef00 bmdma 0xee08 irq 19
    FDC 0 is a post-1991 82077
    pata_acpi 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
    pata_acpi 0000:03:00.0: setting latency timer to 64
    pata_acpi 0000:03:00.0: PCI INT A disabled
    ata3: SATA link down (SStatus 0 SControl 300)
    ata4: SATA link down (SStatus 0 SControl 300)
    ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata2.00: ATA-8: WDC WD6400AAKS-65A7B2, 01.03B01, max UDMA/133
    ata2.00: 1250263728 sectors, multi 16: LBA48 NCQ (depth 0/32)
    ata2.00: configured for UDMA/133
    ata1.00: ATA-7: MAXTOR STM3320620AS, 3.AAE, max UDMA/133
    ata1.00: 625142448 sectors, multi 16: LBA48 NCQ (depth 0/32)
    ata1.00: configured for UDMA/133
    scsi 0:0:0:0: Direct-Access ATA MAXTOR STM332062 3.AA PQ: 0 ANSI: 5
    scsi 1:0:0:0: Direct-Access ATA WDC WD6400AAKS-6 01.0 PQ: 0 ANSI: 5
    pata_jmicron 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
    pata_jmicron 0000:03:00.0: setting latency timer to 64
    scsi4 : pata_jmicron
    scsi5 : pata_jmicron
    ata5: PATA max UDMA/100 cmd 0xdf00 ctl 0xde00 bmdma 0xdb00 irq 17
    ata6: PATA max UDMA/100 cmd 0xdd00 ctl 0xdc00 bmdma 0xdb08 irq 17
    sd 0:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB)
    sd 1:0:0:0: [sdb] 1250263728 512-byte logical blocks: (640 GB/596 GiB)
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
    sd 1:0:0:0: [sdb] Write Protect is off
    sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
    sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    sdb: sdb1
    sd 1:0:0:0: [sdb] Attached SCSI disk
    sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
    sd 0:0:0:0: [sda] Attached SCSI disk
    ata5.00: ATAPI: _NEC DVD_RW ND-3550A, 1.05, max UDMA/33
    ata5.00: configured for UDMA/33
    scsi 4:0:0:0: CD-ROM _NEC DVD_RW ND-3550A 1.05 PQ: 0 ANSI: 5
    sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
    cdrom: Uniform CD-ROM driver Revision: 3.20
    sr 4:0:0:0: Attached scsi CD-ROM sr0
    EXT3-fs: barriers not enabled
    kjournald starting. Commit interval 5 seconds
    EXT3-fs (sda3): mounted filesystem with writeback data mode
    Not activating Mandatory Access Control now since /sbin/tomoyo-init doesn't exist.
    udev[761]: starting version 164
    pci_hotplug: PCI Hot Plug PCI Core version: 0.5
    shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
    i801_smbus 0000:00:1f.3: PCI INT B -> GSI 18 (level, low) -> IRQ 18
    iTCO_vendor_support: vendor-support=0
    iTCO_wdt: Intel TCO WatchDog Timer Driver v1.06
    iTCO_wdt: Found a ICH9 TCO device (Version=2, TCOBASE=0x0460)
    iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
    sky2: driver version 1.28
    sky2 0000:04:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
    sky2 0000:04:00.0: setting latency timer to 64
    sky2 0000:04:00.0: Yukon-2 EC Ultra chip revision 3
    sky2 0000:04:00.0: irq 40 for MSI/MSI-X
    sky2 0000:04:00.0: eth0: addr 00:50:8d:b3:2b:d6
    input: PC Speaker as /devices/platform/pcspkr/input/input0
    sd 0:0:0:0: Attached scsi generic sg0 type 0
    sd 1:0:0:0: Attached scsi generic sg1 type 0
    sr 4:0:0:0: Attached scsi generic sg2 type 5
    HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
    HDA Intel 0000:00:1b.0: irq 41 for MSI/MSI-X
    HDA Intel 0000:00:1b.0: setting latency timer to 64
    hda_codec: ALC888: BIOS auto-probing.
    input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input1
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    ACPI: acpi_idle registered with cpuidle
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ehci_hcd 0000:00:1a.7: PCI INT C -> GSI 18 (level, low) -> IRQ 18
    ehci_hcd 0000:00:1a.7: setting latency timer to 64
    ehci_hcd 0000:00:1a.7: EHCI Host Controller
    ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1
    ehci_hcd 0000:00:1a.7: cache line size of 64 is not supported
    ehci_hcd 0000:00:1a.7: irq 18, io mem 0xfdfff000
    uhci_hcd: USB Universal Host Controller Interface driver
    ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 6 ports detected
    ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23
    ehci_hcd 0000:00:1d.7: setting latency timer to 64
    ehci_hcd 0000:00:1d.7: EHCI Host Controller
    ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
    ehci_hcd 0000:00:1d.7: cache line size of 64 is not supported
    ehci_hcd 0000:00:1d.7: irq 23, io mem 0xfdffe000
    ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 6 ports detected
    uhci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    uhci_hcd 0000:00:1a.0: setting latency timer to 64
    uhci_hcd 0000:00:1a.0: UHCI Host Controller
    uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3
    uhci_hcd 0000:00:1a.0: irq 16, io base 0x0000ff00
    hub 3-0:1.0: USB hub found
    hub 3-0:1.0: 2 ports detected
    uhci_hcd 0000:00:1a.1: PCI INT B -> GSI 21 (level, low) -> IRQ 21
    uhci_hcd 0000:00:1a.1: setting latency timer to 64
    uhci_hcd 0000:00:1a.1: UHCI Host Controller
    uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4
    uhci_hcd 0000:00:1a.1: irq 21, io base 0x0000fe00
    hub 4-0:1.0: USB hub found
    hub 4-0:1.0: 2 ports detected
    uhci_hcd 0000:00:1a.2: PCI INT D -> GSI 19 (level, low) -> IRQ 19
    uhci_hcd 0000:00:1a.2: setting latency timer to 64
    uhci_hcd 0000:00:1a.2: UHCI Host Controller
    uhci_hcd 0000:00:1a.2: new USB bus registered, assigned bus number 5
    uhci_hcd 0000:00:1a.2: irq 19, io base 0x0000fd00
    hub 5-0:1.0: USB hub found
    hub 5-0:1.0: 2 ports detected
    uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
    uhci_hcd 0000:00:1d.0: setting latency timer to 64
    uhci_hcd 0000:00:1d.0: UHCI Host Controller
    uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 6
    uhci_hcd 0000:00:1d.0: irq 23, io base 0x0000fc00
    hub 6-0:1.0: USB hub found
    hub 6-0:1.0: 2 ports detected
    uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
    uhci_hcd 0000:00:1d.1: setting latency timer to 64
    uhci_hcd 0000:00:1d.1: UHCI Host Controller
    uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 7
    uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000fb00
    hub 7-0:1.0: USB hub found
    hub 7-0:1.0: 2 ports detected
    uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
    uhci_hcd 0000:00:1d.2: setting latency timer to 64
    uhci_hcd 0000:00:1d.2: UHCI Host Controller
    uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 8
    uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000fa00
    hub 8-0:1.0: USB hub found
    hub 8-0:1.0: 2 ports detected
    input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2
    ACPI: Power Button [PWRB]
    input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
    ACPI: Power Button [PWRF]
    Linux video capture interface: v2.00
    ivtv: Start initialization, version 1.4.2
    ivtv0: Initializing card 0
    ivtv0: Autodetected Hauppauge card (cx23416 based)
    ivtv 0000:05:04.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
    thermal LNXTHERM:01: registered as thermal_zone0
    ACPI: Thermal Zone [THRM] (45 C)
    b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded successfully
    tveeprom 1-0050: Hauppauge model 26582, rev F0B2, serial# 9304267
    tveeprom 1-0050: tuner model is TCL M2523_5N_E (idx 112, type 50)
    tveeprom 1-0050: TV standards NTSC(M) (eeprom 0x08)
    tveeprom 1-0050: audio processor is CX25843 (idx 37)
    tveeprom 1-0050: decoder processor is CX25843 (idx 30)
    tveeprom 1-0050: has no radio
    ivtv0: Autodetected Hauppauge WinTV PVR-150
    cx25840 1-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #0)
    ACPI: Fan [FAN] (on)
    nvidia: module license 'NVIDIA' taints kernel.
    Disabling lock debugging due to kernel taint
    tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
    usb 3-2: new full speed USB device using uhci_hcd and address 2
    wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0)
    tuner-simple 1-0061: creating new instance
    tuner-simple 1-0061: type set to 50 (TCL 2002N)
    ivtv0: Registered device video0 for encoder MPG (4096 kB)
    ivtv0: Registered device video32 for encoder YUV (2048 kB)
    ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
    ivtv0: Registered device video24 for encoder PCM (320 kB)
    ivtv0: Initialized card: Hauppauge WinTV PVR-150
    flexcop-pci: will use the HW PID filter.
    flexcop-pci: card revision 2
    ivtv: End initialization
    b2c2_flexcop_pci 0000:05:03.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
    b2c2_flexcop_pci 0000:05:03.0: setting latency timer to 64
    ------------[ cut here ]------------
    WARNING: at fs/proc/generic.c:323 __xlate_proc_name+0xbd/0xe0()
    Hardware name: .
    name 'Technisat/B2C2 FlexCop II/IIb/III Digital TV PCI Driver'
    Modules linked in: tuner_simple tuner_types wm8775 tuner fan cx25840 snd_seq_dummy firewire_ohci(+) firewire_core crc_itu_t snd_seq_oss b2c2_flexcop_pci(+) b2c2_flexcop dvb_core cx24123 cx24113 s5h1420 ivtv cx2341x v4l2_common videodev v4l1_compat v4l2_compat_ioctl32 i2c_algo_bit tveeprom snd_seq_midi_event snd_seq snd_seq_device thermal button uhci_hcd processor ehci_hcd usbcore snd_hda_codec_realtek snd_pcm_oss snd_mixer_oss snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_timer snd soundcore snd_page_alloc psmouse evdev sg pcspkr sky2 iTCO_wdt iTCO_vendor_support i2c_i801 i2c_core shpchp serio_raw pci_hotplug intel_agp ext3 jbd mbcache sr_mod cdrom sd_mod pata_jmicron floppy ata_piix pata_acpi libata scsi_mod
    Pid: 2310, comm: modprobe Tainted: P 2.6.36-ARCH #1
    Call Trace:
    [<ffffffff81054f7a>] warn_slowpath_common+0x7a/0xb0
    [<ffffffff81055051>] warn_slowpath_fmt+0x41/0x50
    [<ffffffff81189c9d>] __xlate_proc_name+0xbd/0xe0
    [<ffffffff81189d30>] __proc_create+0x70/0x140
    [<ffffffff8118a769>] proc_mkdir_mode+0x29/0x60
    [<ffffffff8118a7b1>] proc_mkdir+0x11/0x20
    [<ffffffff810b7dcb>] register_handler_proc+0x11b/0x140
    [<ffffffff810b5ae9>] __setup_irq+0x1e9/0x340
    [<ffffffffa0636180>] ? flexcop_pci_isr+0x0/0x190 [b2c2_flexcop_pci]
    [<ffffffff810b5d4a>] request_threaded_irq+0x10a/0x210
    [<ffffffffa06364c0>] flexcop_pci_probe+0x1b0/0x350 [b2c2_flexcop_pci]
    [<ffffffff8120976a>] local_pci_probe+0x5a/0xd0
    [<ffffffff81209f50>] pci_device_probe+0x80/0xb0
    [<ffffffff812a4f6a>] ? driver_sysfs_add+0x7a/0xb0
    [<ffffffff812a5246>] driver_probe_device+0x96/0x1c0
    [<ffffffff812a540b>] __driver_attach+0x9b/0xa0
    [<ffffffff812a5370>] ? __driver_attach+0x0/0xa0
    [<ffffffff812a41ae>] bus_for_each_dev+0x5e/0x90
    [<ffffffff812a4ee9>] driver_attach+0x19/0x20
    [<ffffffff812a4a07>] bus_add_driver+0xc7/0x2e0
    [<ffffffffa063a000>] ? flexcop_pci_module_init+0x0/0x20 [b2c2_flexcop_pci]
    [<ffffffff812a5681>] driver_register+0x71/0x140
    [<ffffffff8107b29d>] ? notifier_call_chain+0x4d/0x70
    [<ffffffffa063a000>] ? flexcop_pci_module_init+0x0/0x20 [b2c2_flexcop_pci]
    [<ffffffff8120a1e1>] __pci_register_driver+0x51/0xd0
    [<ffffffff8107b5fe>] ? __blocking_notifier_call_chain+0x5e/0x80
    [<ffffffffa063a01e>] flexcop_pci_module_init+0x1e/0x20 [b2c2_flexcop_pci]
    [<ffffffff8100212f>] do_one_initcall+0x3f/0x180
    [<ffffffff8109113b>] sys_init_module+0xbb/0x200
    [<ffffffff8100af42>] system_call_fastpath+0x16/0x1b
    ---[ end trace cea0e78273359df7 ]---
    DVB: registering new adapter (FlexCop Digital TV device)
    b2c2-flexcop: MAC address = 00:d0:d7:30:15:0f
    CX24123: cx24123_i2c_readreg: reg=0x0 (error=-121)
    CX24123: wrong demod revision: 87
    usb 3-2: not running at top speed; connect to a high speed hub
    hub 3-2:1.0: USB hub found
    hub 3-2:1.0: 4 ports detected
    usb 3-2.2: new low speed USB device using uhci_hcd and address 3
    nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    nvidia 0000:01:00.0: setting latency timer to 64
    vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=io+mem
    NVRM: loading NVIDIA UNIX x86_64 Kernel Module 260.19.29 Wed Dec 8 12:08:56 PST 2010
    usb 3-2.3: new low speed USB device using uhci_hcd and address 4
    usbcore: registered new interface driver hiddev
    input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:1a.0/usb3/3-2/3-2.2/3-2.2:1.0/input/input4
    generic-usb 0003:046D:C01D.0001: input,hidraw0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:1a.0-2.2/input0
    attempt to access beyond end of device
    sda4: rw=0, want=4, limit=2
    EXT3-fs (sda4): error: unable to read superblock
    input: Generic USB K/B as /devices/pci0000:00/0000:00:1a.0/usb3/3-2/3-2.3/3-2.3:1.0/input/input5
    generic-usb 0003:13BA:0017.0002: input,hidraw1: USB HID v1.10 Keyboard [Generic USB K/B] on usb-0000:00:1a.0-2.3/input0
    input: Generic USB K/B as /devices/pci0000:00/0000:00:1a.0/usb3/3-2/3-2.3/3-2.3:1.1/input/input6
    generic-usb 0003:13BA:0017.0003: input,hidraw2: USB HID v1.10 Mouse [Generic USB K/B] on usb-0000:00:1a.0-2.3/input1
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
    SGI XFS Quota Management subsystem
    XFS mounting filesystem sdb1
    Ending clean XFS mount for filesystem: sdb1
    ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
    nxt200x: nxt200x_readbytes: i2c read error (addr 0x0a, err == -121)
    Unknown/Unsupported NXT chip: 00 00 00 00 00
    lgdt330x: i2c_read_demod_bytes: addr 0x59 select 0x02 error (ret == -121)
    ivtv0: Encoder revision: 0x02060039
    bcm3510: Revision: 0x1, Layer: 0xb.
    b2c2-flexcop: found 'Broadcom BCM3510 VSB/QAM frontend' .
    DVB: registering adapter 0 frontend 0 (Broadcom BCM3510 VSB/QAM frontend)...
    b2c2-flexcop: initialization of 'Air2PC/AirStar 2 ATSC 1st generation' at the 'PCI' bus controlled by a 'FlexCopIIb' complete
    firewire_ohci 0000:05:05.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
    firewire_ohci 0000:05:05.0: setting latency timer to 64
    firewire_ohci: Added fw-ohci device 0000:05:05.0, OHCI v1.0, 8 IR + 8 IT contexts, quirks 0x0
    NTFS driver 2.1.29 [Flags: R/W MODULE].
    NTFS-fs warning (device sda1): parse_options(): Option utf8 is no longer supported, using option nls=utf8. Please use option nls=utf8 in the future and make sure utf8 is compiled either as a module or into the kernel.
    EXT3-fs: barriers not enabled
    kjournald starting. Commit interval 5 seconds
    EXT3-fs (sda5): using internal journal
    EXT3-fs (sda5): mounted filesystem with writeback data mode
    NTFS volume version 3.1.
    NTFS-fs error (device sda1): load_system_files(): Volume is dirty. Mounting read-only. Run chkdsk and mount in Windows.
    XFS mounting filesystem sda2
    Ending clean XFS mount for filesystem: sda2
    firewire_core: created device fw0: GUID 0000010000013236, S400
    cx25840 1-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
    At this point, I'm not exactly sure where the problem is. I suspect that the filesystems themselves are ok (based on the liveCD tests), so perhaps the problem is the filesystems are inappropriately mounted under /media/* when they are not supposed to (ie before fsck during startup). Also, UDev (which I assume does this mounting) thinks these partitions are USB HD type directories instead of internal SATA partitions. Finally, the errors in dmesg referring to the flexcop module might be a red herring? Please help - I'm not sure what next step to take.

    Thanks for your reply. I did not disconnect any SATA leads. I mainly cleaned the CPU heatsink and fan.
    I am able to boot through UDev and get to filesystems checks without the LiveCD. More specifically, on boot without the live CD, both drives are recognized by the bios and Grub 1.5 is loaded, presenting options to boot into Arch Linux, Arch Linux Fallback, or Windows. If I select Arch Linux, boot messages scroll by, then I see:
    > Arch Linux
    > http://www.archlinux.org
    > Copyright 2002-2007 Judd Vinet
    > Copyright 2007-2010 Aaron Griffin
    > Distributed under the GNU General Public License (GPL)
    :: Starting UDev Daemon [DONE]
    :: Triggering UDev uevents [DONE]
    :: Loading Modules [DONE]
    :: Waiting for UDev uevents to be processed [DONE]
    :: Bringing up loopback interface [DONE]
    :: Mounting Root Read-only [DONE]
    :: Checking Filesystems [BUSY]
    /dev/sda3: clean, 87750/977280 files, 668803/3905803 blocks
    /dev/sda5 is mounted. e2fsck: Cannot continue, aborting.
    /sbin/fsck.xfs: XFS file system [FAIL]
    ***************** FILESYSTEM CHECK FAILED ****************
    * Please repair manually and reboot. Note that the root *
    * file system is currently mounted read-only. To remount *
    * it read-write type: mount -n -o remount,rw / *
    * When you exit the maintenance shell the system will *
    * reboot automatically. *
    Give root password for maintenance
    (or type Control-D to continue):
    At this prompt, if I press Control-D, the system reboots. If I log in using the root password, I see a root prompt. At this point, /proc/mounts already has partitions in it under /media (again this is without any LiveCD). Each directories' contents under media seem normal.
    Interestingly, as I posted above, mount reports that both /dev/disk/by-uuid/dc4661 and /dev/sda3 are mounted (to / and /media/usbhd-sda3, respectively), although this is actually the same partition.
    I should mention I have also run the bootable disk utilities provided by Seagate and WD for each drive and have run their diagnostic studies, which were unrevealing (each ran for ~1.5 hours).
    After seeing the sda1 error messages in dmesg, I booted to WinXP from GRUB. CHKDSK ran and the system booted normally. I ran CHKDSK again from within WinXP as well which revealed no errors. Then, booting into Arch produces a few new errors in dmesg (which are probably irrelevant to the main problem):
    NTFS volume version 3.1.
    NTFS-fs warning (device sda1): load_system_files(): Unsupported volume flags 0x4000 encountered.
    NTFS error (device sda1): load_system_files(): Volume has unsupported flags set. Mounting read-only. Run chkdsk and mount in Windows.
    I don't know if the problem is at the BIOS/hw, partition table, GRUB, UDev, etc.

  • Sunray Server and DTUs USB Support

    I'm looking for help on usb support through the Sunray DTUs. I would like to be able to connect a usb device as I would with inside of Windows from a Sunray. USB drives are about the only thing I have working but not consistently. I've used the USB drive daemon posted on the Thinkthin blog and that works most of the time. I would like to use printers connected directly to the DTU. I have an idea on how to add the printer using the tmp/SUWut/units/<macaddress>/dev path but it seems that I cannot get it to work; maybe I'm using the wrong settings/drivers. I would also like to use USB cdroms, floppys, etc. Basically anything that doesn't require a special driver in Windows I would like to use on a DTU. It makes it hard to convince people that these can replace desktops when the functionality of things like USB are nowhere nearly as developed as Windows desktops. BTW, I need it both on the Solaris side and through the Sunray Windows connector. Any help would be greatly appreciated.

    I am not sure about sunray connector (windows) but within solaris it is rather transparent as long as the usb drive device is not NTFS. Plug it in and it should show up in /tmp/SUNWut/mnt/user/. I use a dvdwriter (lightscribe) the same way.
    Whenever I have problems with users not being able to mount thumb drives it is always a NTFS issue or a high density thumb drive (8-16gb).
    Not sure why sun doesn't put something more apparent on the desktop when you mount a drive. The rest of the world does that and it would make it a bit more user friendly. If you want a pain in the rear try using virtualbox through a sunray and mount usb devices. It works but it is really convoluted.
    Never bothered with printers.

  • Mounting USB harddrives via UDEV with uuid?

    I started using arch with Gnome as primary system, there was this 'built in' automount via uid.
    now that i've changed to openbox, which program is the most prefered for openbox?
    Could it be that having udev and some other mount-programs on my local installation causes problems?
    And: Wasn't there something like almost all major distris started to use udev? Is this the better way to go when automounting?
    Last edited by gpunkt (2010-06-01 15:06:07)

    blkid output:
    /dev/sdc1: UUID="1474ba8c-a665-4065-8c1f-890aa79304ea" TYPE="xfs"
    [root@archlinux nils]# udevadm info -a -p $(udevadm info -q path -n /dev/sdc1); blkinfo > info
    Udevadm info starts with the device specified by the devpath and then
    walks up the chain of parent devices. It prints for every device
    found, all possible attributes in the udev rules key format.
    A rule to match, can be composed by the attributes of the device
    and the attributes from one single parent device.
    looking at device '/devices/pci0000:00/0000:00:02.1/usb1/1-3/1-3.4/1-3.4:1.0/h ost11/target11:0:0/11:0:0:0/block/sdc/sdc1':
    KERNEL=="sdc1"
    SUBSYSTEM=="block"
    DRIVER==""
    ATTR{partition}=="1"
    ATTR{start}=="63"
    ATTR{size}=="390716802"
    ATTR{alignment_offset}=="0"
    ATTR{discard_alignment}=="4294935040"
    ATTR{stat}==" 37 72 290 120 0 0 0 0 0 120 120"
    ATTR{inflight}==" 0 0"
    looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-3/1-3.4/1-3. 4:1.0/host11/target11:0:0/11:0:0:0/block/sdc':
    KERNELS=="sdc"
    SUBSYSTEMS=="block"
    DRIVERS==""
    ATTRS{range}=="16"
    ATTRS{ext_range}=="256"
    ATTRS{removable}=="0"
    ATTRS{ro}=="0"
    ATTRS{size}=="390721968"
    ATTRS{alignment_offset}=="0"
    ATTRS{discard_alignment}=="0"
    ATTRS{capability}=="52"
    ATTRS{stat}==" 54 75 450 266 0 0 0 0 0 266 266"
    ATTRS{inflight}==" 0 0"
    looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-3/1-3.4/1-3. 4:1.0/host11/target11:0:0/11:0:0:0':
    KERNELS=="11:0:0:0"
    SUBSYSTEMS=="scsi"
    DRIVERS=="sd"
    ATTRS{device_blocked}=="0"
    ATTRS{type}=="0"
    ATTRS{scsi_level}=="0"
    ATTRS{vendor}=="WDC WD20"
    ATTRS{model}=="00BB-98GUC0 "
    ATTRS{rev}=="0811"
    ATTRS{state}=="running"
    ATTRS{timeout}=="30"
    ATTRS{iocounterbits}=="32"
    ATTRS{iorequest_cnt}=="0x48"
    ATTRS{iodone_cnt}=="0x48"
    ATTRS{ioerr_cnt}=="0x4"
    ATTRS{modalias}=="scsi:t-0x00"
    ATTRS{evt_media_change}=="0"
    ATTRS{queue_depth}=="1"
    ATTRS{queue_type}=="none"
    ATTRS{max_sectors}=="64"
    looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-3/1-3.4/1-3. 4:1.0/host11/target11:0:0':
    KERNELS=="target11:0:0"
    SUBSYSTEMS=="scsi"
    DRIVERS==""
    looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-3/1-3.4/1-3. 4:1.0/host11':
    KERNELS=="host11"
    SUBSYSTEMS=="scsi"
    DRIVERS==""
    looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-3/1-3.4/1-3. 4:1.0':
    KERNELS=="1-3.4:1.0"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb-storage"
    ATTRS{bInterfaceNumber}=="00"
    ATTRS{bAlternateSetting}==" 0"
    ATTRS{bNumEndpoints}=="02"
    ATTRS{bInterfaceClass}=="08"
    ATTRS{bInterfaceSubClass}=="06"
    ATTRS{bInterfaceProtocol}=="50"
    ATTRS{modalias}=="usb:v05E3p0702d0033dc00dsc00dp00ic08isc06ip50"
    ATTRS{supports_autosuspend}=="0"
    looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-3/1-3.4':
    KERNELS=="1-3.4"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="c0"
    ATTRS{bMaxPower}==" 96mA"
    ATTRS{urbnum}=="238"
    ATTRS{idVendor}=="05e3"
    ATTRS{idProduct}=="0702"
    ATTRS{bcdDevice}=="0033"
    ATTRS{bDeviceClass}=="00"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{speed}=="480"
    ATTRS{busnum}=="1"
    ATTRS{devnum}=="6"
    ATTRS{devpath}=="3.4"
    ATTRS{version}==" 2.00"
    ATTRS{maxchild}=="0"
    ATTRS{quirks}=="0x0"
    ATTRS{authorized}=="1"
    ATTRS{product}=="USB TO IDE"
    looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-3':
    KERNELS=="1-3"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="e0"
    ATTRS{bMaxPower}=="100mA"
    ATTRS{urbnum}=="99"
    ATTRS{idVendor}=="0409"
    ATTRS{idProduct}=="005a"
    ATTRS{bcdDevice}=="0100"
    ATTRS{bDeviceClass}=="09"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="01"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{speed}=="480"
    ATTRS{busnum}=="1"
    ATTRS{devnum}=="3"
    ATTRS{devpath}=="3"
    ATTRS{version}==" 2.00"
    ATTRS{maxchild}=="4"
    ATTRS{quirks}=="0x0"
    ATTRS{authorized}=="1"
    looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1':
    KERNELS=="usb1"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="e0"
    ATTRS{bMaxPower}==" 0mA"
    ATTRS{urbnum}=="142"
    ATTRS{idVendor}=="1d6b"
    ATTRS{idProduct}=="0002"
    ATTRS{bcdDevice}=="0206"
    ATTRS{bDeviceClass}=="09"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{speed}=="480"
    ATTRS{busnum}=="1"
    ATTRS{devnum}=="1"
    ATTRS{devpath}=="0"
    ATTRS{version}==" 2.00"
    ATTRS{maxchild}=="6"
    ATTRS{quirks}=="0x0"
    ATTRS{authorized}=="1"
    ATTRS{manufacturer}=="Linux 2.6.33-ARCH ehci_hcd"
    ATTRS{product}=="EHCI Host Controller"
    ATTRS{serial}=="0000:00:02.1"
    ATTRS{authorized_default}=="1"
    looking at parent device '/devices/pci0000:00/0000:00:02.1':
    KERNELS=="0000:00:02.1"
    SUBSYSTEMS=="pci"
    DRIVERS=="ehci_hcd"
    ATTRS{vendor}=="0x10de"
    ATTRS{device}=="0x077c"
    ATTRS{subsystem_vendor}=="0x1019"
    ATTRS{subsystem_device}=="0x1b67"
    ATTRS{class}=="0x0c0320"
    ATTRS{irq}=="21"
    ATTRS{local_cpus}=="ffff"
    ATTRS{local_cpulist}=="0-15"
    ATTRS{modalias}=="pci:v000010DEd0000077Csv00001019sd00001B67bc0Csc03i20"
    ATTRS{dma_mask_bits}=="32"
    ATTRS{consistent_dma_mask_bits}=="32"
    ATTRS{enable}=="1"
    ATTRS{broken_parity_status}=="0"
    ATTRS{msi_bus}==""
    ATTRS{companion}==""
    looking at parent device '/devices/pci0000:00':
    KERNELS=="pci0000:00"
    SUBSYSTEMS==""
    DRIVERS==""

  • Mounting USB Hard Drives and Hard Locking

    So, it's been a long time since I've posted here which I have to say, is because Arch was running beautifully for a long time. Sadly though, my laptop was stolen and I was forced to buy a new one. With the new one, I've gotten everything mostly back up and running but I'm having an issue. Obviously the one in the subject line.
    A few things to note about this install and after testing before posting.
    1. Brand new install
    2. All packages are current EXCEPT 3.  I currently have nvidia-256.53-1-x86_64, nvidia-utils with the same version, and kernel26-2.6.35.5-1. These are due to a black screen I was getting on starting my xserver.
    3. HAL is running
    4. Optical disks mount and umount cleanly.
    5. NTFS-3G is installed and working.
    6. My Windows 7 install on the same internal hard drive can be accessed and mounted without a hard lock.
    My problem is this. Whenever I try and connect an external hard drive via USB, it takes a few seconds and then the whole machine hard locks with what looks like a kernel panic(can't do anything and I have blinking lights...ie capslock, etc).  This computer seems to have USB 3.0 which I noticed from Win7 awhile back if that makes a difference. (05:00.0 USB Controller: NEC Corporation Device 0194 (rev 03) )
    Last time I try to mount my WD Passport, I ran dmesg right after I plugged it in before I got my hard lock. The only thing I noticed were the entries at the bottom of things like this...
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    I have no idea whether that has anything to do with it or not. I'd be more than happy to post config files if needed. I've tried googling, the wiki, and the forums and I'm stumped. I actually plugged my drive in one time and got it to mount and opened some folders. Afterward, it hard locked.
    Last edited by Vipes (2010-12-10 07:09:42)

    So, I started looking at my logs. Here's the bottom cut from errors.log:
    Dec 10 08:04:03 localhost kernel: sd 6:0:0:0: [sdb] Assuming drive cache: write through
    Dec 10 08:04:03 localhost kernel: sd 6:0:0:0: [sdb] Assuming drive cache: write through
    Dec 10 08:04:03 localhost kernel: sd 6:0:0:0: [sdb] Assuming drive cache: write through
    Cut from my dmesg when I plugged the drive in:
    usb 2-4: new high speed USB device using xhci_hcd and address 0
    xhci_hcd 0000:05:00.0: WARN: short transfer on control ep
    xhci_hcd 0000:05:00.0: WARN: short transfer on control ep
    xhci_hcd 0000:05:00.0: WARN: short transfer on control ep
    xhci_hcd 0000:05:00.0: WARN: short transfer on control ep
    Initializing USB Mass Storage driver...
    scsi6 : usb-storage 2-4:1.0
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    scsi 6:0:0:0: Direct-Access WD My Passport 070A 1032 PQ: 0 ANSI: 4
    sd 6:0:0:0: Attached scsi generic sg2 type 0
    scsi 6:0:0:1: CD-ROM WD Virtual CD 070A 1032 PQ: 0 ANSI: 4
    sd 6:0:0:0: [sdb] 623769600 512-byte logical blocks: (319 GB/297 GiB)
    sd 6:0:0:0: [sdb] Write Protect is off
    sd 6:0:0:0: [sdb] Mode Sense: 23 00 10 00
    sd 6:0:0:0: [sdb] Assuming drive cache: write through
    sr1: scsi3-mmc drive: 51x/51x caddy
    sr 6:0:0:1: Attached scsi CD-ROM sr1
    sr 6:0:0:1: Attached scsi generic sg3 type 5
    sd 6:0:0:0: [sdb] Assuming drive cache: write through
    sdb:
    scsi 6:0:0:2: Enclosure WD SES Device 1032 PQ: 0 ANSI: 4
    scsi 6:0:0:2: Attached scsi generic sg4 type 13
    sdb1
    sd 6:0:0:0: [sdb] Assuming drive cache: write through
    sd 6:0:0:0: [sdb] Attached SCSI disk
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    ses 6:0:0:2: Attached Enclosure device
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    fuse init (API version 7.14)
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
    Kernel messages show pretty much the same thing. These logs were from just a moment ago when I plugged it in and then removed it. Sometimes it seems to hard lock, others it doesn't. Got me.

  • Buying OSX App store on my imac and mounting it on a USB for my old MBP legal?

    I want to buy OSX mountain lion in the App store on my imac and mount it on a USB to update my old MBP (running leopard so I can't use the app store.)
    If I am using the same apple id for both computers is this legal or will the app store think I am putting it on extra computers, and shut me down or something?

    Just to be clear the OSX mountain lion installer will not open even from a clean install, because the laptop is running 10.5.8
    (My imac is running the latest mountain lion and the app store is already installed, I am not installing the appstore as the subject of this thread is a little confusing i realise now.)

  • Udev and SCSI partitions not mounted

    I have just attempted to convert devfs to udev on my dual AMD Opteron with two SCSI drives running fully up-to-date Arch Linux.  The result of following the standard udev procedure (which has worked on three other IDE machines without a hitch) was that of the four mountable SCSI disk partititions, only swap and / were mounted properly
    /dev/discs/disc0/part1 / reiserfs defaults 0 0
    dev/discs/disc0/part2 swap swap defaults 0 0
    while the /home and /data partitions were not recognized and mounted:
    /dev/discs/disc0/part3 /home reiserfs defaults 0 0
    /dev/discs/disc1/part1 /data reiserfs defaults 0 0
    I was able to revert the machine back to its original devfs so the machine does work properly in its original configuration.
    I noticed a bash script in the /etc/udev directory that seemed to be used to identify the SCSI devices present. Is it possible that this is not working correctly?  Does anyone have any idea of how the SCSI configuration could have gone awry?
    Thanks.
    Some details about the machine:
    arch version: Arch Linux 0.7 (Wombat)
    kernel version: 2.6.7
    two processors: AMD Athlon(tm) MP 2600+
    two SCSI_storage_controllers: Adaptec AIC-7899P U160/m (rev 1).

    Once again, I installed archlinux on an scsi machine, and have been cought in the boot-scsi-device-fails-udev-trap. This time, I had a bit of time. Instead of editing the fstab entries, I decided to find out why ide devices are handled well, and scsi devices are not.
    Have a look at udev.rules. You will find an entry for ide block deviced there, that creates devfs symlinks:
    # ide block devices
    BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/ide-devfs.sh %k %b %n", NAME="%k", SYMLINK="%c{1} %c{2}"
    You will notice also there are no similar entries for scsi block devices. Therefore, their nodes will not fit devfs scheme. Now, let's have a look at /etc/udev/. You will find scsi-devfs.sh there. This script will create devfs-like nodes for scsi blocks. Now the problem is clear, isn't it. Add the following lines to udev.rules:
    # scsi block devices
    BUS="scsi", KERNEL="sd*", PROGRAM="/etc/udev/scsi-devfs.sh sd %b %n", NAME="%c{1}", SYMLINK="%c{2} %k %c{3} %c{4}"
    BUS="scsi", KERNEL="sr*", PROGRAM="/etc/udev/scsi-devfs.sh sr %b %n", NAME="%c{1}", SYMLINK="%c{2} %k %c{3} %c{4}"
    BUS="scsi", KERNEL="st*", PROGRAM="/etc/udev/scsi-devfs.sh st %b %n", NAME="%c{1}", SYMLINK="%c{2} %k %c{3} %c{4}"
    BUS="scsi", KERNEL="sg*", PROGRAM="/etc/udev/scsi-devfs.sh sg %b %n", NAME="%c{1}", SYMLINK="%c{2} %k %c{3} %c{4}"
    Now the devfs naming scheme should be used for scsi devices, too. Surprisingly, it isn't. Any hints are welcome.

  • [SOLVED] How to automatically mount USB drives with custom mount point

    edit:
    Original title was : 'Unable to mount USB disk via /etc/rc.local', but got changed since the /etc/rc.local problem isn't relevant for me anymore.
    Hello,
    Since I am new to this forum, I'll start off with this :
    Thanks to archlinux, its founder and all its contributors, cause this is the operating system (flavour) that annoys me the least.
    The root problem :
    I want to automount USB storage devices to other places than /media/ and without the need for programs that depend on gnome and the like. As I tried some stuff with hald and such, I didn't really get to a nice and easy to configure solution. Any hints in that direction are always welcome.
    For now, automount of known USB storages devices during boot, will do.
    So the things I tried and didnt work :
    1.
    Provide the disk info to /etc/fstab (via the disks UUID and 'auto' filesystem)
    Add 'mount /mountpoint' to /etc/rc.local
    Result : the mount command in rc.local says '... specify filesystem'
    However, after boot, running /etc/rc.local mounts the USB disks correctly.
    2.
    Provide the disk info to /etc/fstab (via the disks UUID and the correct filesystem)
    Add 'mount /mountpoint' to /etc/rc.local
    Result : pc doesn't get through boot process and gives me the 'ctrl-d to reboot or root passwd for maintenance'
    3.
    Provide no disk info in /etc/fstab
    Add the full mount line to /etc/rc.local (mount -t fs /dev/disks/by-uuid/MyUUID /MyMountpoint )
    Result : don't remember the output of the mount execution, but well, it didn't mount
    However, after boot, running /etc/rc.local mounts the USB disks correctly.
    Is there something that isn't loaded at the time of rc.local execution that I need for mounting of USB devices ? Or why else is this failing ?
    Regards,
    BasiK
    Last edited by BasiK (2009-08-28 07:22:50)

    Thanks for the hint hunterthomson, but the pc I will be using it on, is an own-built HTPC/home file server, so there is no way I want to use a graphical file manager to get the usb disks mounted.
    I tried to figure out a little about udev rules, and I got to do what I wanted to do, so thx for pointing me in that direction Mr.Elendig.
    Btw, I am indeed also using auto-sleep/park disks, but this udev way works perfectly.
    I added two rules files to /etc/udev/rules.d/ :
    The first for a known usb disk (with its volume uuid), with a named mountpoint under my media dir /symbiosis/ :
    [basik@plox ~]$ cat /etc/udev/rules.d/80-usb-utopia.rules
    ACTION=="add", KERNEL=="sd[b-z][0-9]", ENV{ID_FS_UUID}=="a59332c2-07ba-4c52-afb5-20e361bdf71a",SYMLINK+="usb-%n", GROUP="storage", NAME="%k"
    ACTION=="add", KERNEL=="sd[b-z][0-9]", ENV{ID_FS_UUID}=="a59332c2-07ba-4c52-afb5-20e361bdf71a",RUN+="/bin/mkdir -p /symbiosis/utopia"
    ACTION=="add", KERNEL=="sd[b-z][0-9]", ENV{ID_FS_UUID}=="a59332c2-07ba-4c52-afb5-20e361bdf71a", RUN+="/bin/mount -t auto -o rw,noauto,sync,dirsync,noexec,nodev,noatime /dev/%k /symbiosis/utopia", OPTIONS="last_rule"
    ACTION=="remove", KERNEL=="sd[b-z][0-9]", ENV{ID_FS_UUID}=="a59332c2-07ba-4c52-afb5-20e361bdf71a", RUN+="/bin/umount -l /symbiosis/utopia", OPTIONS="last_rule"
    The second for unknown usb disks, to mount under the same dir. This is simply taken from the archwiki http://wiki.archlinux.org/index.php/Ude … .26_Tricks
    Make sure these rules are executed after the ones for specific usb disks.
    [basik@plox ~]$ cat /etc/udev/rules.d/usb-disks.rules
    KERNEL=="sd[a-z]", NAME="%k", SYMLINK+="usb%m", GROUP="storage", OPTIONS="last_rule"
    ACTION=="add", KERNEL=="sd[a-z][0-9]", SYMLINK+="usb%n", GROUP="storage", NAME="%k"
    ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/mkdir -p /symbiosis/usb%n"
    ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/mount -t auto -o rw,noauto,sync,dirsync,noexec,nodev,noatime /dev/%k /symbiosis/usb%n", OPTIONS="last_rule"
    ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/umount -l /symbiosis/usb%n"
    ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/rmdir /symbiosis/usb%n", OPTIONS="last_rule"
    These may not be the nicest looking udev rules, but it works for what I wanted to do with it.

  • Mounting USB devices in arch guest

    I'm new to virtualbox, but not to linux.  I have been using arch for at least 3 years, so I have some familiarity with it.  I have recently installed arch as a guest OS on virtualbox (on OSX host).  I am having some trouble accessing an attached USB device from the arch guest.  I have defined the virtualbox USB filter for my device, and it appears to work, detecting the identified device and attaching it to the guest (at least as far as virtualbox is concerned).   I can see the device in the virtualbox pull-down menu, and it shows with a "checkmark" next to it, showing (I think) that it has been attached to my arch guest.
    Problem is, I cannot see the device from the arch guest.  no entry in /dev for any USB device.  symptoms are the same whether i insert ther USB device before or after starting the arch guest.  I have HAL and dbus active in my guest.  Also, I have made this work in arch installed natively.  since there is no /dev entry, this might appear to be some form of udev issue?  is there a specific udev setup that I should be aware of for arch as a guest?
    Please help if you can.  I will appreciate all comments and suggestions.
    -dvh

    hey, ive got Arch setup in virtualbox as well, and can mount usb's and cd's etc. (although with some issues i may need to bring up in another thread...) anyways, im assuming you have the PUEL virtualbox and not the OSE one?
    also, your certain that you've mounted the correct USB (on the Virtual Box pull-down menu)? because you may have mounted a USB which was already attached to your host, and not the actual USB?
    just checking, i dont know much about how to fix this issue so im just going at the simple solutions...

  • Pcmanfm is "Not Authorized" to mount usb drives

    Hi,
    I recently installed arch linux it's a nice distro but I got a few problem with it.
    The biggest one is that I am actually not able to mount usb drives with pcmanfm this means that I am not able to use my old debian /home so far.
    I tired multiple thinks (some of them are still active)  e.g for example I used to setup a udev rules which wasn't helpful at all (and even after deleting this rule I always see server empty folder in /media (but that's another problem)).
    Any ideas why I am not able to mount encrypted and not encrypted USB drives in arch linux?
    Last edited by 42sec (2011-12-28 13:21:41)

    wonder wrote:paste ck-list-sessions output, uname -r and cat /etc/pam.d/login
    [sec42@archlinux ~]$ ck-list-sessions
    Session1:
    unix-user = '1000'
    realname = ''
    seat = 'Seat1'
    session-type = ''
    active = FALSE
    x11-display = ''
    x11-display-device = ''
    display-device = '/dev/tty1'
    remote-host-name = ''
    is-local = TRUE
    on-since = '2011-12-28T14:28:01.840505Z'
    login-session-id = '1'
    idle-since-hint = '2011-12-28T14:28:32.462384Z'
    [sec42@archlinux ~]$ uname -r
    3.1.5-1-ARCH
    [sec42@archlinux ~]$ cat /etc/pam.d/login
    #%PAM-1.0
    auth required pam_securetty.so
    auth requisite pam_nologin.so
    auth required pam_unix.so nullok
    auth required pam_tally.so onerr=succeed file=/var/log/faillog
    # use this to lockout accounts for 10 minutes after 3 failed attempts
    #auth required pam_tally.so deny=2 unlock_time=600 onerr=succeed file=/var/log/faillog
    account required pam_access.so
    account required pam_time.so
    account required pam_unix.so
    #password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3
    #password required pam_unix.so sha512 shadow use_authtok
    session required pam_unix.so
    session required pam_env.so
    session required pam_motd.so
    session required pam_limits.so
    session optional pam_mail.so dir=/var/spool/mail standard
    session optional pam_lastlog.so
    session optional pam_loginuid.so
    -session optional pam_ck_connector.so nox11
    -session optional pam_systemd.so

  • AutoMounting / Udev and HAL

    Hey fellow Archers,
    Sorry if this is a bit of a Noob Question.
    But I am having issues with automounting usb drives that etc. 
    I am running eeepc 1000 and everything works fine out of the box.  But I have shown Arch to a friend of mine and we can't gain access to the usb drive with free.desktop permission error.  I have read the wiki and forum posts.  However I have found the are for much older versions of HAL and Udev, and they are contradictory. 
    Please if you could help me clarfiy a solutions.  Should Udev handle to mounting and permission rule or should I add HAL policy ?.
    If HAL if the best solution could be so kind as to provide a example of Hal policy as my previous attempt to edited HAL has failed.
    Kind Regards
    Mac Tzu

    Mac Tzu wrote:
    Great thanks SpeedVin
    Could you Show me w copy of your Hal polcy?
    No problem
    1 <!DOCTYPE busconfig PUBLIC
    2 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
    3 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
    4 <busconfig>
    5
    6 <!-- This configuration file specifies the required security policies
    7 for the HAL to work. -->
    8
    9 <!-- Only root or user hal can own the HAL service -->
    10 <policy user="hal">
    11 <allow own="org.freedesktop.Hal"/>
    12 </policy>
    13 <policy user="root">
    14 <allow own="org.freedesktop.Hal"/>
    15 </policy>
    16
    17 <!-- Allow anyone to invoke methods on the Manager and Device interfaces -->
    18 <policy context="default">
    19 <allow send_destination="org.freedesktop.Hal"
    20 send_interface="org.freedesktop.DBus.Introspectable"/>
    21 <allow send_destination="org.freedesktop.Hal"
    22 send_interface="org.freedesktop.DBus.Properties" />
    23
    24 <allow send_destination="org.freedesktop.Hal"
    25 send_interface="org.freedesktop.Hal.Device"/>
    26 <allow send_destination="org.freedesktop.Hal"
    27 send_interface="org.freedesktop.Hal.Manager"/>
    28
    29 <allow send_destination="org.freedesktop.Hal"
    30 send_interface="org.freedesktop.Hal.Device.CPUFreq"/>
    31 <allow send_destination="org.freedesktop.Hal"
    32 send_interface="org.freedesktop.Hal.Device.DockStation"/>
    33 <allow send_destination="org.freedesktop.Hal"
    34 send_interface="org.freedesktop.Hal.Device.KillSwitch"/>
    35 <allow send_destination="org.freedesktop.Hal"
    36 send_interface="org.freedesktop.Hal.Device.KeyboardBacklight"/>
    37 <allow send_destination="org.freedesktop.Hal"
    38 send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
    39 <allow send_destination="org.freedesktop.Hal"
    40 send_interface="org.freedesktop.Hal.Device.Leds"/>
    41 <allow send_destination="org.freedesktop.Hal"
    42 send_interface="org.freedesktop.Hal.Device.LightSensor"/>
    43 <allow send_destination="org.freedesktop.Hal"
    44 send_interface="org.freedesktop.Hal.Device.Storage"/>
    45 <allow send_destination="org.freedesktop.Hal"
    46 send_interface="org.freedesktop.Hal.Device.Storage.Removable"/>
    47 <allow send_destination="org.freedesktop.Hal"
    48 send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
    49 <allow send_destination="org.freedesktop.Hal"
    50 send_interface="org.freedesktop.Hal.Device.Volume"/>
    51 <allow send_destination="org.freedesktop.Hal"
    52 send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
    53 <allow send_destination="org.freedesktop.Hal"
    54 send_interface="org.freedesktop.Hal.Device.WakeOnLan"/>
    55
    56 </policy>
    57
    58 </busconfig>
    59
    Nuber's are from Vim

  • Dockingstation with udev and systemd

    Hello,
    first: sorry for my bad english... the last time i have practise my english was in school :-)
    now my problem:
    i try to setup a udev-rule for my thinkpad T61 when the latptop is (un)docked from the station.
    i try a lot of thinks... RUN+=" and such stuff -- but my script takes very long time (Setup Interface, WakeOnLAN, multiple cryptet mounts from my homeserver etc.) and killed by systemd after a while.
    related to this (jasonwryan.com -- Scripting with udev) and this (bbs.archlinux.org -- Automating a script for a usb device on systemd?) i create a udev-rule like this:
    /etc/udev/rules.d/10-thinkpad-dock.rules:
    TAG+="systemd", SUBSYSTEM=="platform", KERNEL=="dock.3", ACTION=="change", ENV{SYSTEMD_READY}="1", ENV{SYSTEMD_USER_WANTS}="dock.service"
    and a service-file like this:
    /etc/systemd/user/dock.service
    [Unit]
    Description=User docking actions
    After=graphical.target sys-devices-platform-dock.3.device
    [Service]
    Type=simple
    Restart=always
    Environment=DISPLAY=:0.0
    Environment=XAUTHORITY=/home/emilia/.Xauthority
    ExecStart=-/usr/local/sbin/tp-dock
    [Install]
    WantedBy=graphical.target sys-devices-platform-dock.3.device
    the problem is, the script runs only once at the first docking-action after a reboot. the other times nothing happens and also the logs are empty.
    Any suggestions and/or help please?

    Hello,
    first: sorry for my bad english... the last time i have practise my english was in school :-)
    now my problem:
    i try to setup a udev-rule for my thinkpad T61 when the latptop is (un)docked from the station.
    i try a lot of thinks... RUN+=" and such stuff -- but my script takes very long time (Setup Interface, WakeOnLAN, multiple cryptet mounts from my homeserver etc.) and killed by systemd after a while.
    related to this (jasonwryan.com -- Scripting with udev) and this (bbs.archlinux.org -- Automating a script for a usb device on systemd?) i create a udev-rule like this:
    /etc/udev/rules.d/10-thinkpad-dock.rules:
    TAG+="systemd", SUBSYSTEM=="platform", KERNEL=="dock.3", ACTION=="change", ENV{SYSTEMD_READY}="1", ENV{SYSTEMD_USER_WANTS}="dock.service"
    and a service-file like this:
    /etc/systemd/user/dock.service
    [Unit]
    Description=User docking actions
    After=graphical.target sys-devices-platform-dock.3.device
    [Service]
    Type=simple
    Restart=always
    Environment=DISPLAY=:0.0
    Environment=XAUTHORITY=/home/emilia/.Xauthority
    ExecStart=-/usr/local/sbin/tp-dock
    [Install]
    WantedBy=graphical.target sys-devices-platform-dock.3.device
    the problem is, the script runs only once at the first docking-action after a reboot. the other times nothing happens and also the logs are empty.
    Any suggestions and/or help please?

  • IPod touch recognized and mounted as digital camera

    I've connected my ipod tonight and for my surprise it was recognized by windows (7 RC1) as a digital camera and mounted as an external storage device. It shows 4.2GB of total space in DCF file system (?), wich is the amount shown in itunes as free space, what's goin on? is it indeed to happen? O_o
    2.2.1 firmware and itunes 8.1

    hello simonhwsn,
    this seems to be dependant to the OS due the same os is used on iPhones which has the camera function.
    I have a iPod Touch 2G and updated to OS 3.0.
    Due this seems to be a feature and not a bug,
    I use this function to use my iPod as built-in USB-Stick
    to carry additional files always with me.
    Kind regards
    zed1977

  • Mac mini with Mountain lion fails to load and mount the os-10.6.3 install disk

    I'm trying to use the hardware test utility that should be on the applications disk.  When I put in either the install or application disk the drive kicks it out again after 15 or 20 seconds.  These disks will both load on my imac (late 2009) but of course won't install anything.
    Is this normal behavour or do I have a hardware problem?
    In addition I boot from my Mountain lion usb recovery drive but find nothing about the hardware testing utility local or online.
    I wanted to test memory.  Used memtest and shows no errors.  I also want to test everything else too.

    Thanks much folks for the replies and ideas.
    Here is more info that should have been in my first post.
    The mini is late 2009.
    It ejects the install os 10.6.3 original disks without mounting them BUT will load and mount any other dvd or cd that I have tried video, music or data.  When either of the Apple disks are inserted the drive does a low pitch vibration for several seconds then stops.  It repeats about five times then ejects.  No other disks vibrate this way.  The apple disks for the mini  do not vibrate or eject in the iMac.  They load and mount normally.
    I looked for an update for the EFIboot and couldnt see anything that I thought mached the mini.
    I have tried the NVPRAM reset with no change in behavour.
    Doing a startup with d key doesn't find the AHT.  I assume if it is on the mac-HD it would be found and run.
    There doesnt seem to be one on the recovery USB drive that I created.
    I did upgrade from SL to ML, no erase.
    BDAqua,  I'm not sure what you mean, "In fact, do 3 in a row, takes a bit of time."  Should I do 3 NVRAM resets in a row?
    I haven't tried the cleaning kit since all other disks give no problems or errors that I know of. 

  • [solved]udev boot error - usb keyboard wont work in recovery shell

    i just hooked up an external drive for the first time to this system, i didnt do anything to it yet, except i went to run gdisk and realized it wasnt installed yet.  So i ran
    pacman -Syu gdisk
    from an SSh terminal, then when it was updating a package, cant exactly remember which one but i hitnk it was either kernel or udev, the ssh termilal appeared to disconnect becuause it lost its output.
    then i opened another terminal sshed in, and was able to run pacman -Syu again, which means the first update did finish, or the lockfile wouldnt have let me update a 2nd time i would think.  (note, the newly external hard drive was connected during all these events).  Something wierd happened here.It had files that needed updating, which i thought that would be rare since i just updated, unless it simply didnt finish, and the lockfile wasnt in place or something, then it finished updating successfully, and i was still remoted into a working SSH command line (i.e. didnt get kicked out this time).
    Now is where the fun begins.  i typed 'reboot', and the system appeared to reboot, but i wasnt able to shell in this time.  i connected the monitor to the system almost a minute later, and realized it was still shutting down, then when it rebooted i get an error message.
    running early hook [udev]
    Warning lib/modules/3.12.8-1-ARCH/modules.devname not found - ignoring
    runnign hook [udev]
    tiggering events
    Waiting 10 seconds for device /dev/sda2
    ERROR: device /dev/sda2 not found Skipping fsck
    Error unable to find root device /dev/sda2
    your being dropped to recovery shell
    [rootfs /]#
    NOW THE KEYBOARD DOESNT WORK, it only works in bios.  It stops functioning (the numlock light)  as soon as udev starts to initiate, which leaves me with no way to try to reupdate udev and the kernel again to see if i can fix it.
    all i could think of was to disconnect the external drive, that didnt help.  then i tried checking the USB settings in bios for any legacy options, it doesnt have them (Dell Optiplex), so i just made sure the USB boot was off and all ports enabled.
    Now im totally stuck short of a recovery disk. 
    any suggestions how i can just get the keyboard working and chroot into arch and update some package to fix it without having to jump through hoops to make a recovery disk while here at work with limited resources?
    Last edited by wolfdogg (2014-01-22 22:53:02)

    ok i found what happened, so far. 
    looking in /var/log/pacman.log i see a gap in the installs, a 2 minute gap, which is the time i rebooted and reran the install.
    at 9:25..  i was running an upgrade, and the last one in the minute of 9:25 is
    9:25[PACMAN] upgraded linux-firmware (20131013.7d0c7a8-1 -> 20131230.52d77db-1)
    this is where the shell got disconnected therefore i wasnt able to see what happened after this. 
    the the log continues at 9:27 minute, has to be when i rebooted and shelled back in and reran the upgrade, the log starts with
    9:27[PACMAN] upgraded linux (3.12.6-1 -> 3.12.8-1)
    so it appears that the shell got disconnected as it was upgrading linux-firmware (20131013.7d0c7a8-1 -> 20131230.52d77db-1)  .
    This begs the questions; Did the SSH shell get disconnected simply because the system was using those resources at the time?  i assume this.  the next question is, was it wrong to be upgrading via remote SSH shell then?  Or whats likely that happened here?
    Last edited by wolfdogg (2014-01-22 22:20:04)

Maybe you are looking for

  • How to use XQuery Exist() Function on a SSIS XML file

    I have a Package Inventory table that has an XML Column named CurrentPackageXML. This XML column contains the SSIS Package XML. I need to use the XQuery Exist() function to determine if the errorRowDisposition="IgnoreFailure" exists. Below I have a b

  • I want to edit my ibook

    i want to edit my audio book so that i can listen to my favorite parts. i can't import the book into a third party software where i can edit it because it's locked. the whole mp3 is two hours long, so i can't copy it 10 times and specify the starting

  • Marketing Planner Tab Pages

    Hi, In our development system, all the tab pages are not available for Marketing Plan and Campaign, but for Trade Promotion and Deals, more tab pages are available. For example, Channels, Segments, Product Catalogs, Products, Allocation Planning and

  • Digital Camera Raw Compatibility Update 2.7

    Having trouble updating my MacBook.  The network crashed during my latest update, now whenever I try to update, it tells me "The update 'Digital Camera Raw Compatibility Update' can't be saved.  A networking error has occurred:  Cannot open file (-30

  • Using Analytic functions in Cursors

    Hi, I am trying to use an analytic function as part of my select statement in a cursor declaration. However, i get a compilation error. Any idea?