Arch and Tascam US-122L USB 2.0 Sound Card
Hello,
I recently tried using my Tascam US-122L sound card, but I am not aware if there is support on linux for it or not. I tried the AUR, but it gave me information about a different Tascam card. I found this website which is interesting but must be outdated:
http://www.pps.jussieu.fr/~smimram/tascam/
I did a simple lsusb and the card seems to be recognised correctly by the system:
Bus 002 Device 007: ID 0644:800e TEAC Corp. TASCAM US-122L
but alsamixer gives me the message:
"This sound device does not have any controls."
and the device is not chosen (sound is coming out of the original speakers instead of the US-122L Phones output).
Maybe I am just failing to switch to the card? Any help would be appreciated.
Thanks in advance,
silentz0r
This soundcard is supposed to work ootb, there's a kernel module just for this card.
% modinfo snd-usb-us122l
filename: /lib/modules/2.6.39-ck/kernel/sound/usb/usx2y/snd-usb-us122l.ko.gz
license: GPL
description: TASCAM US-122L Version 0.5
author: Karsten Wiese <[email protected]>
alias: usb:v0644p8020d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0644p8021d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0644p800Fd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0644p800Ed*dc*dsc*dp*ic*isc*ip*
depends: snd-usbmidi-lib,snd,usbcore,snd-hwdep
vermagic: 2.6.39-ck SMP preempt mod_unload PENTIUMM
parm: index:Index value for US-122L. (array of int)
parm: id:ID string for US-122L. (array of charp)
parm: enable:Enable US-122L. (array of bool)
The controls (e.g. volume etc.) are hardware controls, so there's nothing to be done for the software. That's why alsamixer shows this message. In order to get any sound, you have to either configure this soundcard to be the default one(*), or you have to tell the player to use this soundcard(**).
(*) There is a gui which can do this for you quite easily, it's called asoundconf, you can find it in the AUR.
(**) You can do this e.g. with mplayer like this
mplayer file.end -ao alsa:device=plughw=2.0
Last edited by Army (2011-08-21 01:27:12)
Similar Messages
-
Unable to get upmixing to work with USB 5.1 sound card
Hello!
I'm having some trouble with an USB 7.1 sound-card that I want to use for my 5.1 sound system.
The sound-card is connected to my Lenovo Thinkpad T400 via docking staton on USB.
$ lsusb
Bus 008 Device 002: ID 0bdb:1900 Ericsson Business Mobile Networks BV F3507g Mobile Broadband Module
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 005: ID 0d8c:0102 C-Media Electronics, Inc. CM106 Like Sound Device
Bus 007 Device 004: ID 046d:c03e Logitech, Inc. Premium Optical Wheel Mouse (M-BT58)
Bus 007 Device 003: ID 04b3:4485 IBM Corp. Serial Converter
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 08ff:2810 AuthenTec, Inc. AES2810
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
$ lsmod | grep snd
snd_hda_codec_conexant 35994 1
snd_usb_audio 116956 1
snd_usbmidi_lib 19723 1 snd_usb_audio
snd_rawmidi 18710 1 snd_usbmidi_lib
snd_seq_device 5180 1 snd_rawmidi
snd_hda_intel 36520 0
snd_hda_codec 148129 2 snd_hda_codec_conexant,snd_hda_intel
snd_hwdep 6332 2 snd_usb_audio,snd_hda_codec
snd_pcm 77765 3 snd_usb_audio,snd_hda_codec,snd_hda_intel
snd_page_alloc 7234 2 snd_pcm,snd_hda_intel
snd_timer 18718 1 snd_pcm
snd 59141 13 snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_conexant,snd_pcm,snd_rawmidi,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,thinkpad_acpi,snd_seq_device
soundcore 5450 1 snd
usbcore 178119 11 btusb,uhci_hcd,snd_usb_audio,snd_usbmidi_lib,ehci_hcd,ehci_pci,usbhid,usbnet,cdc_acm,cdc_wdm,cdc_ether
So I put this into /etc/modprobe.d/alsa-base.conf:
options snd_slots=snd_usb_audio,snd_hda_intel
options snd_usb_audio index=0
options snd_hda_intel index=1
to always get a correct sound device order.
When I then - after reboot - play music, It works only on the two front-speakers. All other speakers - rear and center - are dead.
But when I invoke speaker-test with
$ speaker-test -c6 -D surround51
speaker-test 1.0.27.2
Playback device is surround51
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 87381
Period size range from 48 to 43690
Using max buffer size 87380
Periods = 4
was set period_size = 21845
was set buffer_size = 87380
0 - Front Left
4 - Center
1 - Front Right
3 - Rear Right
2 - Rear Left
5 - LFE
Time per period = 14.569581
all speakers make a noise when they are shown during the test correctly.
In the wiki, I tried some examples on the configuration of ~/.asoundrc as described, but none of them worked - everything I specify there is effectles, even after reboot.
What I've tried so far in ~/.asoundrc (without success):
pcm.dsp {
type plug
slave.pcm "dmix"
pcm.upmix51 {
type upmix
slave.pcm "surround51"
delay 15
channels 6
pcm.!default "plug:upmix51"
pcm.upmix71 {
type upmix
slave.pcm "surround71"
delay 15
channels 8
pcm.!default "plug:upmix71"
pcm.dmix6 {
type asym
playback.pcm {
type dmix
ipc_key 567829
slave {
pcm "hw:0,0"
channels 6
pcm.!default "plug:dmix6"
So what am I doing wrong?Hello there!
In the german forum, I found some more help.
This configuration now got 5.1 sound mixing to work via ALSA (without using PulseAudio).
$ cat /etc/modprobe.d/alsa-base.conf
options snd_hda_intel index=-2
options snd_usb_audio index=-1
$ cat /etc/asound.conf
pcm.!default
type plug
slave.pcm "surround51"
slave.channels 6
route_policy duplicate
$ cat /proc/asound/cards
0 [Device ]: USB-Audio - USB Sound Device
USB Sound Device at usb-0000:00:1a.7-5.4, full speed
1 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xfc620000 irq 47
4 [ThinkPadEC ]: ThinkPad EC - ThinkPad Console Audio Control
ThinkPad Console Audio Control at EC reg 0x30, fw 7VHT12WW-1.01
But this doesn't solve all my problems.
I'm still searching for a way of how to use the internal intel sound card as default PCM device if the USB sound is unplugged or not available during boot.
Any ideas? -
Hello,
I've got sound card - 14134 5.1 External Surround Sound Card, arch see that card but i cant change output voice on that card. Dont know what i should post here more to take help.
Please help me.McQueenNewbie wrote:Dont know what i should post here more to take help.
Start by posting:
What sound software you run.
What you have already tried, and what results those actions gave
What wikis/howtos you have followed and at what point these failed for you -
Will FCP X and QT will output audio thru any sound card that the Mac recognizes?
I watch FCP X video on my Mac Pro video monitor.
I want to output the audio thru a sound card to my audio monitor controller. My new digital audio monitor controller connects USB to the Mac, and USB is not an output option with FCP X. So, I need another audio path.
I have previously used a Pro Tools HD Native card for sending FCP X audio out, and this works fine.
I assume that any other sound card that works in the Mac (i.e., compatible and selectible in Mac Pro Sound Preferences) would work with FCP X, but I am just checking to be sure this is right before I buy something.
I am aware of potential sync issues, so I would use only a low latency sound card. The Pro Tools card, for instance, had very low latency and worked fine.OK, forget it.
I can just use the Mac Pro optical digital out. Doh.
Some days the brain just won't lock into gear. -
Does the iMac support a USB-5.1 sound card?
I have a new Intel iMac connected though USB to a "Sound Blaster Live 24 bit" sound card connected via mini-jacks to a logitech 5400, but I am not getting 5.1.
In the Audio MIDI pref pane, I can only select "multichannel," not "5.1".
Is there any way to fix this? If not, I need an optical to mini jack... any idea if there is such a thing?
MatthewHi Matthew,
I don't know about the SBlive 24bit device.
However, the Intel iMac's all have built in 5.1 optical output from the normal headphone jack (it is optical and electrical). There exist TOSLink to 3.5mm optical cables, and some can even be converted to either.
There are also some optical to coax SPDIF converters available if your speakers only take SPDIF coax and not SPDIF optical. -
My Tascam US-122L USB port mystery
This is the craziest problem I've had with a piece of audio gear. I have managed to get a signal into GB with my 122L, but it's been very faint and distorted. To get any signal I have to have the mic input maxed, which gives me a clipped signal in garage band. With a condenser mic and phantom power I get a stronger but still clipping signal. Below 3/4 max, I get nothing. The guitar line input gives no signal that I can detect. My conversation with Tascam confirmed I've got everything running and selected properly, with the right driver and firmware.
So here's the weird part. Tonight I unplugged the USB cable from the powered input on the back of the iMac and put it into the USB on the side of my keyboard. The 122 worked perfectly! -- for about five minutes, at which point I got the warning that the device was drawing too much power from that port and it disconnected and disappeared as an option in the GB preferences. I quit GB, restarted and tried again in the same configuration but, of course, now it only behaves the way it did before. (Though I did not get the warning about too much power drawn.)
Can anyone explain this? If I could just figure out what made it work perfectly for those few minutes I'd be all set. This is driving me nuts. The guy I bought it from said he'd take it back, but now this has become a mission. Please help!Yes. Same results with different cables. And the crazy thing is that it did record perfectly for that few minutes when it was plugged into the low-USB port on the keyboard. But now I've got it plugged in there and am again getting signal only when the mic input is maxed and I yell into the mic. And no warning about the device drawing too much power from the port.
-
Usb Sound Card Playback Issues - Alsa [SOLVED]
Hey folks:)
Just want to say Archlinux is lovely and you guys are doing great work (if be it a little frustrating at times i might add)
My problem is that i can't configure my USB UA-25 sound card properly.
If i want to record with ardour, or hydrogen using JACK, everything is fine.
BUT.
If i want to play back a simple music file, or run 'youtube' for example, sound refuses to come out of my computer.
In system>preferences>sound the driver is set to ALSA.
How can i get sound to play back normaly through my externel sound card? I think Archlinux is trying to use my onboard laptop sound card.
Thanks!
Last edited by coffeemonster (2007-04-09 18:33:11)fixed the probelm;
Had to reinstall alsa dirvers, removed all instances of 'usbaudio' from the modules. Reboot. modprobe snd-usb-audio. unmuted all mixers.
Selected alsa as the driver. Test. Yay! :"") -
"A How-To" on the steps to FIX the Problem of NO Sound Card DETECTION with AUDIGY 2 and Win XP
Note#: When restarting the PC each time, shut off the main power switch on the Power Supply then back on.
Note#2: You will need the Windows XP CD WITH the SP2 on it or have the download SP2 Install file from MS on your PC. I have it on CD.
. Remove the sound Card
2. Use the Removal/Un-installation Procedures for the drivers in Knowledge Base Under Windows XP Step by step. Restart to get all the files deleted in the Creative folder if necessary.
Here is the (Solution ID#) for the Uninstallaion found in the Creative.com Knowledge Base: SID72 "How to uninstall Sound Blaster drivers and applications?"
Alternati'vely, Click on the Sound Blaster Picture Box under the Knowledge Base Main Search Page and the article should be in the resulting list.
3. Use the DCProSetup_.exe from http://files.trunetworks.com/utilities/
Use it carefully Selecting [Creative] then Check the box for Muntiple Cleaning Filters, and remove the Creative Audio Drivers by Clicking on Start.
4. Go into the Registry by Typing Regedit in the Start>Run.. Menu
Navigate and remove the Entry for CTCMSGo.exe, it is running in the back ground otherwise and i believe it interrupts the re-installation of MediaSource Files.
HKEY_CURRENT USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
The file link/tag, it will be on the right half of the screen, Delete it. CTCMSGo.exe=(Creative Technologies Media Source Go)
5. Restart the PC, dont forget to switch Power Supply to off while powered down and on before powering back up.
6.Go to the Win XP SP2 CD or the file downloaded, select re-install but choose UPDATE, not New Installation. Let the Install run and update your pc, this procedure has no data loss or settings changes in Windows.
7. Restart PC
8. Turn off PC and install the Audigy 2 Card. Then turn on the PC. At this point you might get a plxcore.plx Error of file missing. Not to worry.. copy the file from within the Creative Drivers CD and paste it into the Creative Folder In C:\Program Files\Creative
The Knowledge base Article on the steps is: SID287 "Error: Program could not load because Plxcore.plx cannot be found"
9. Power up and see if you get PCI Device, and Audio Controller Detetion. If you dont then do the following:
A) Remove the Sound Card and Re-install the Win XP SP2 Update a number of times ( I did this about 5 times until detection) Each time restart and install the Sound Card into any of the empty PCI Ports until detection.
If that does not work after a number of times try the following:
B)Power off and switch the PCI slot of the Sound Card (to all the PCI slots if necessary with complete power off each time) Without Re-installing XP SP2 Update.
0. After you get Detection, The Windows Auto Installer for Drivers will pop up..select Find Drivers Automatically, then Install then install the drivers it finds. It will put in some basic Audigy Drivers from the CD or online i'm not sure where it gets them from. Keep your Driver CD in the CD Dri've.
.Restart the PC, then install the Drivers and Media Source Files from the CD (it may not all get installed and may give an error and you have to shut down and re-install the drivers and Media Source over again and over again so it fills in the gap of missing files/drivers until it all works without deleting the previously installed parts).
2. Only install this update from the File/ Downloads Section on the Creative website: EAX4DRV_AUDIGY2__84_50.exe Dated 29 July 04. The new beta one that was released is what started all my troubles, so plz i urge you to wait for it to be official.. unless you really want to test it out at your risk.
And there you have it.. in 8 Hours and some ideas from friends and relati'ves concerning detection problems of other hard ware they have had i decided to play Roulette all night and this combo works. I had to play Roulette switching the PCI slots (5 of them), and then towards the end play Roulette with the Creative Driver CD install... until they all work perfectly. WHEW!!!
Notice: I hope if you are really ticked off at having no sounds and want to try this at your own risk and responsiblity go ahead, and I wish you luck. None of the proedures are too out of the ordinary. I dont know if it will work for you but it worked for me and maybe it will possibly for other similar Sound Cards as well.. like ZS or Li've! etc. with similar problems. Happy Sound Blasting!!!
My Specs: P4 3.2Ghz Prescott on Intel D875PBZ MB, pqi GB PC3200 Dual Channel RAM, Win XP SP2, Plextor CD-R and DVD Dri'ves, BFG 6600GT OC 28MB and the Audigy 2 Sound CardMessage Edited by Flying_Ghost on 05-04-2005 09:38 PMThanks for pointing that out, it was not apparent on the day i used them and wrote the How-To. The links have been replaced with the SID# (Solution ID #) and the title given for the Article.
Have fun -
DC7700 can't detect and install sound card after update to Windows 7
I've been trying to get the sound on my HP DC7700 Ultra Slim desktops to work for a few months now (I'm a teacher at a high school, so I have about 100+ of them to take care of). I've upgraded them from XP to Windows 7, and the computers no longer recognize the sound card.
I have tried installing the Realtek driver from their site and HP's, I've tried updating the UAA architecture as suggested in other posts here and here.
In device manager, all hardware has been detected and correct drivers have been installed, including PCI and chipset drivers.
Randomly, ONE DC7700 with a unique hard drive worked. I painstakingly checked every single driver installed and found the two that were different:
"Realtek High Definition Audio" under "Sound, video and game controllers"
"High Definition Audio Controller" under "System devices"
Pictures of the driver details for both are posted below.
I am completely at a loss as to how to accomplish this successfully, and I appreciate any help. Our school is depressingly poor, and without sound videos are completely useless to them.
Thank you in advance for your time,
Kris BrackebuschHi, Kris:
Try reinstalling W7 on one of them that doesn't have audio.
On that model, W7 should be installing a generic HD audio driver that works and then you can install the Realtek HD audio driver either from the dc7700 support page or the latest one from Realtek.
You do not need the MS UAA Bus driver, because that is only for XP.
UAA is included native to Vista and newer versions of Windows.
I do not recommend you install it in an effort to resolve the issue.
I have worked on dc7600's dc7700's and the newer Elite 8xxx models, which all have the Realtek HD audio chip.
Never had a problem getting the sound to work right from the upgrade.
The HD audio is the driver that Windows installs natively.
The Realtek HD audio driver is from Realtek. -
I have just purchased Logic Pro X and it doesn't seem to want to work with my Tascam us-122L sound card. Do i need to purchase a new one and if so, any advice on a reasonable priced one?
What OS do you have? Have you tried the latest drivers?
http://tascam.com/product/us-122l/downloads/
alternatives: Focusrite Scarlett 2i2, Presonus Audiobox. -
[Solved] Boot process hangs for installed Arch and installation usb
Hi. I've been using Arch Linux for around 6 months now and I'm in love with it. It is now my primary OS. However, I might have done something or performed some update, and I can no longer boot into Arch. The boot process hangs right before it should show the login screen (I'm using Gnome 3.6 with GDM). I see the following messages on the screen:
Loading Linux core repo kernel ...
Loading initial ramdisk ...
/dev/sda3: recovering journal
/dev/sda3: clean, 330610/1749664 files, 5585671/6996827 blocks
And then it hangs right there. I have to hard-reboot after this.
I then tried to boot using the Arch Linux Installation USB (archlinux-2012.12.01-dual.img), which also hangs at a particular point, before it should show me the prompt. I took a picture of the screen where it hangs: Screen Capture. This is an issue with just my laptop, because the USB boots just fine on another laptop I tried.
I also have Windows 7 and Ubuntu 12.10 installed on my system, and I'm able to boot into both of them.
I have 2 hard drives: /dev/sda is a 120GB SSD, and /dev/sdb is a 500GB hard disk. My partitions are as follows:
sda1 - Windows 7 100MB System Reserved Partition (boot flag enabled)
sda2 - Windows 7 OS
sda3 - ArchLinux (boot flag enabled)
sdb1 - Ubuntu 12.10 (boot flag enabled)
sdb2 - Just data
I ran bootinfoscript and below is the output:
Boot Info Script 0.61 [1 April 2012]
============================= Boot Info Summary: ===============================
=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
in partition 99 for .
=> Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
in partition 99 for .
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /Windows/System32/winload.exe
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Mounting failed: mount: /dev/sda3 already mounted or sda3 busy
sdb1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 12.10
Boot files: /boot/grub/grub.cfg /etc/fstab
sdb2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 206,847 204,800 7 NTFS / exFAT / HPFS
/dev/sda2 206,848 178,466,084 178,259,237 7 NTFS / exFAT / HPFS
/dev/sda3 * 178,466,085 234,440,703 55,974,619 83 Linux
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 63 20,948,759 20,948,697 83 Linux
/dev/sdb2 20,964,824 976,771,071 955,806,248 7 NTFS / exFAT / HPFS
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/mmcblk0p1 6665-3162 vfat
/dev/sda1 CA6A20CC6A20B75B ntfs System Reserved
/dev/sda2 1EE242D5E242B137 ntfs
/dev/sda3 65db0c59-9f04-46f1-975d-8a4c28132137 ext4
/dev/sdb1 bb9818db-ce7c-43a4-8ad5-8d3702001aed ext4
/dev/sdb2 3C2E3A4E2E3A0206 ntfs
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/mmcblk0p1 /media/dhaval/6665-3162 vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
/dev/sdb1 / ext4 (rw,errors=remount-ro)
=========================== sdb1/boot/grub/grub.cfg: ===========================
# DO NOT EDIT THIS FILE
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
else
search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 13,37,73; then
clear
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
else
search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
fi
linux /boot/vmlinuz-3.5.0-21-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro quiet splash acpi_osi=Linux acpi_backlight=vendor $vt_handoff
initrd /boot/initrd.img-3.5.0-21-generic
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
menuentry 'Ubuntu, with Linux 3.5.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-21-generic-advanced-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
else
search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
fi
echo 'Loading Linux 3.5.0-21-generic ...'
linux /boot/vmlinuz-3.5.0-21-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro quiet splash acpi_osi=Linux acpi_backlight=vendor $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.5.0-21-generic
menuentry 'Ubuntu, with Linux 3.5.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-21-generic-recovery-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
else
search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
fi
echo 'Loading Linux 3.5.0-21-generic ...'
linux /boot/vmlinuz-3.5.0-21-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.5.0-21-generic
menuentry 'Ubuntu, with Linux 3.2.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-29-generic-advanced-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
else
search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
fi
echo 'Loading Linux 3.2.0-29-generic ...'
linux /boot/vmlinuz-3.2.0-29-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro quiet splash acpi_osi=Linux acpi_backlight=vendor $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-29-generic
menuentry 'Ubuntu, with Linux 3.2.0-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-29-generic-recovery-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
else
search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
fi
echo 'Loading Linux 3.2.0-29-generic ...'
linux /boot/vmlinuz-3.2.0-29-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-29-generic
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
else
search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
fi
linux16 /boot/memtest86+.bin
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
else
search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-CA6A20CC6A20B75B' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 CA6A20CC6A20B75B
else
search --no-floppy --fs-uuid --set=root CA6A20CC6A20B75B
fi
chainloader +1
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
=============================== sdb1/etc/fstab: ================================
# /etc/fstab: static file system information.
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sdb1 during installation
UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed / ext4 errors=remount-ro 0 1
=================== sdb1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
4.564525127 = 4.901121536 boot/grub/grub.cfg 1
5.130507946 = 5.508840960 boot/initrd.img-3.2.0-29-generic 2
5.851592541 = 6.283099648 boot/initrd.img-3.5.0-21-generic 2
6.317649364 = 6.783524352 boot/vmlinuz-3.2.0-29-generic 1
4.965751171 = 5.331934720 boot/vmlinuz-3.5.0-21-generic 2
5.851592541 = 6.283099648 initrd.img 2
5.851592541 = 6.283099648 initrd.img.old 2
4.965751171 = 5.331934720 vmlinuz 2
4.965751171 = 5.331934720 vmlinuz.old 2
I tried adding nomodeset and acpi=off to the boot parameters, but the boot process still hangs. Please let me know if I should provide any other information.
Last edited by dhavalparmar (2012-12-30 11:45:25)Ok.. So my Arch Linux randomly decided to work. I'm sure I didn't do anything between my last "not working" state and my current "working" state. Below are a few things I tried:
I thought of trying an earlier build of ArchLinux, and downloaded archlinux-2012.11.01-dual.iso and made a bootable USB out of it. It still hung.
I was getting error messages during Arch boot that the last access time for the disks was at a future date. I found out that Ubuntu was using localtime instead of UTC and screwing up my hardware clock. I fixed it, and thought maybe the time issues were causing the boot problem. But fixing time didn't solve my problem.
I chrooted into Arch from my Ubuntu install, ran 'sudo pacman -Syyu' and updated my Arch install.
I thought maybe GDM isn't starting up. I re-enabled the service using 'systemctl enable gdm.service'.
I removed OpenNTPd and installed NTPd. Enabled the daemon using 'systemctl enable ntpd'
None of the above solved the problem, and rebooting to Arch still hung the system. So I stopped fiddling with it yesterday. Today, as usual, I just tried logging into Arch.. And it just worked out of the blue. The solution to me is as mysterious as the problem.
I told this to my friend who introduced me to Arch, and this is what he said:
Damn it computers, you were supposed to be deterministic! -
Tascam US-122L won't work on my new iMac
Just bought a brand new iMac 3.06 GHz Intel Core 2 Duo with OSX10.6.2 and my Tascam US-122L audio interface won't work. It worked on my old PC (slowly!), and it works on my friend's iMac with OSX 10.5.8, but not on mine!
The Tascam control panel says "Device: none found", and the Garageband Audio input and output don't recognize the US-122L as being connected (they do on my friend's iMac with 10.5.8)
I've emailed Tascam - they're very quick to respond, but the suggestions of new drivers, uninstall and reinstall drivers, firmware etc have not made any difference.
Then I tried calling them - they told me it had nothing to do with 32 bit versus 64 bit, but that the new iMacs did not have enough power output from the USB ports to run the US-122L, and that I needed a powered USB hub. I've borrowed one to try, and guess what - still doesn't work!
Any suggestions would be welcome, since Tascam don't seem to be able to help.
Thanks.I doubt that insufficient USB power is the problem (whether supplied from a powered hub or an iMac). The Tascam US-122L is a discontinued model, replaced by the "Mk II" version, but either should comply with the USB bus powered spec to draw less than 500 ma (2.5 watts) or it wouldn't work with any standard USB host & most (including iMacs) would display a warning about it drawing too much power.
I suspect this particular unit is somehow defective, in part because of the above & in part because of the "slowly" comment in the original post. -
Audio/MIDI Interface to replace a Tascam US-122L?
Hi guys,
I bought a Tascam US-122L off ebay last week to replace an Asio Alesis iO2, with the intention of using it for recording, multi-tracking and most importantly gigging (MIDI keyboard thru Mainstage) at a festival next week.
I had the usual problems that people have with the US-122L on OSX Lion, and have managed to get it working for audio but not MIDI, effectively rendering it useless for the biggest thing I need it for.
As a result, I have decided I need to find another interface as I really don't have time to spend all next week trying all the different fixes that may or may not work.
So, can anyone recommend an interface which:
- is fully compatible with OSX Lion, and Logic and Mainstage 2.
- has both audio & MIDI capability-for example the M-Audio Fast Track doesn't have a MIDI port, so it would be of no use to me.
- is USB powered, not mains
- is of decent quality for audio
- is portable- not much bigger than the tascam at the most, preferably smaller
I need to be able to pick one up second hand (online) for preferably less than £80, if possible. I'll be using it on a late-2011 MacBook Pro and have a powered USB hub.
Thanks,
Alexworks fine here on 10.4.8 and a 15" 1.5Ghz G4 powerbook and an old us-122
Just for the record: When i first open the aggregate device editor no devices show up.
They do when i hit the "+" next to "add and remove aggregate.." -
Arch and Win7 cannot open an NTFS partition created by the other
This is almost certainly related to another post where I was struggling to create logical partitions from Windows. Basically, Linux and Minitool Partition Wizard agreed that there were no logical partitions, but the built-in Windows disk utility said there was. I ended up using fdisk from Arch install media, and Minitool and Arch now both saw the logical partitions (Windows shows a big extended partition of free space). I installed Arch just fine, can boot to it and win7... life is good.
Not so much. A key to my setup is having an encrypted partition to share data between OS's. I used TrueCrypt with great success on my former laptop and am now having great difficulty!
Some preliminary information:
# fdisk -l /dev/sda
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 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
Disklabel type: dos
Disk identifier: 0x1e6513b3
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 2101247 2099200 1G 7 HPFS/NTFS/exFAT
/dev/sda2 2101248 172433407 170332160 81.2G 7 HPFS/NTFS/exFAT
/dev/sda3 172433408 390537215 218103808 104G 7 HPFS/NTFS/exFAT
/dev/sda4 390537216 500118191 109580976 52.3G 5 Extended
/dev/sda5 390539264 391587839 1048576 512M 83 Linux
/dev/sda6 391589888 500118191 108528304 51.8G 83 Linux
I also went partition by partition to check Minitool's agreement on sectors (they match perfectly with the exception that it doesn't show the extended /dev/sda4 container). I triple checked the Minitool partition info properties as you can't copy and paste from it's window, and pasted the fdisk output to minimize errors. I'm showing a column for mini/Arch for both start/stop sectors, and just subtracted them to make sure I got 0. Appears to be perfect alignment:
| part | start (mini) | start (arch) | diff | | end (mini) | end (arch) | diff |
|------+--------------+--------------+------+---+------------+------------+------|
| sda1 | 2048 | 2048 | 0 | | 2101247 | 2101247 | 0 |
| sda2 | 2101248 | 2101248 | 0 | | 172433407 | 172433407 | 0 |
| sda3 | 172433408 | 172433408 | 0 | | 390537215 | 390537215 | 0 |
| sda4 | 390539264 | 390539264 | 0 | | 391587839 | 391587839 | 0 |
| sda5 | 391589888 | 391589888 | 0 | | 500118191 | 500118191 | 0 |
- Screenshot of how Minitool sees my disk
- Screenshot of how Windows disk utility sees my disk
I used TrueCrypt 7.1a on both OS's. I created a non-system encrypted partition using the GUI on Arch with the AES cipher/sha-512 hash, with filesystem as "none." Once created I did:
$ sudo cryptesetup --type tcrypt open /dev/sda3 vault
That worked fine, which I followed with:
$ sudo mkfs.ntfs /dev/mapper/vault
It initialized the device with zero's and then gave me the success/have a nice day message. Closed the volume and rebooted. When I tried to open the device from win7, I got "Incorrect password or not a TrueCrypt volume." Hmmm. I guess I'll try in reverse. I duplicated the procedure exactly as above from win7, this time having TrueCrypt automatically format with NTFS. All succeeds and I can open the device. Reboot into Arch and I get the same message from TrueCrypt! If I try with cryptsetup, it's "No device header detected with this passphrase."
Next, I tried just doing NTFS with no encryption. From Arch:
$ sudo mkfs.ntfs /dev/sda3
All goes well and I can mount it. I boot into Windows and it's not even listed! I used Minitool to issue it a drive letter, at which point clicking that pops up a windows dialog box asking me if I want to format the disk. Format the partition with NTFS in Windows, reboot into Arch and I get:
[jwhendy@arch_zbook ~]$ sudo mount /dev/sda3 /mnt/scratch/
NTFS signature is missing.
Failed to mount '/dev/sda3': Invalid argument
The device '/dev/sda3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Doesn't matter if I add "-t ntfs" or "-t ntfs-3g." I get the same result.
Just to add a couple more oddities... when I created the NTFS partition in Arch, I also created a file called vault.tc as a TrueCrypt file-based encrypted container. My thinking was that the issue was with TrueCrypt full-partitions and that I could get around it with a plain partition containing an encrypted file. Reboot into windows and the partition isn't shown (as stated above). From Minitool, if I right click the partition and choose "Explore," it lists the partition contents and there is my vault.tc file. Windows thinks it's unformatted!
I noticed the option to backup/restore a TrueCrypt header, and gave a shot at backing up the working TrueCrypt setup on windows to a flash drive, booting to Arch, and then restoring the /dev/sda3 header from the flash drive file. Arch still couldn't open it.
Lastly, I noticed when I go to select a device to encrypt in TrueCrypt, my logical partitions aren't showing up (just like Windows only sees the end of the disk as free space). I just can't help but think something is tweaked in the partition table... basically:
- TrueCrypt sees what Windows sees
- Arch sees what Minitool sees
How could I go about diagnosing further or fixing the issue. This is driving me crazy!
I'd hate to do this given that I already setup my wm, configs, packages, etc... but my last resort attempt would be to wipe my logical partitions and see if I can at least get the win7 disk utility, minitool, arch, and truecrypt to like each other with respect to /dev/sda1-3... and then try to re-add the logicals afterward and re-install arch? I honestly don't know why this would be any different, but was just a thought. The issues from the other post seem to arise with logical partitions not being recognized the same between win/linux.
Or figure out how to just use primaries (like dedicated boot on a USB drive or something). Or fiddle with growing/shrinking windows to see if I can undo whatever is telling windows where/what things are? Really grasping at straws here.
Last edited by jwhendy (2015-06-10 23:32:22)Hi Ramesh,
Please install the hotfix package and test the issue again:
http://support.microsoft.com/kb/2817576/en-us
In addition, try uncheck the option “confirm open after download” per:
http://jritmeijer.wordpress.com/2006/08/20/some-files-can-harm-your-computer-if-the-file-information-looks-suspicious-or-you-do-not-fully-trust-the-source-do-not-open-the-file/
Regards,
Rebecca Tu
TechNet Community Support -
Arch corrupts FS on external USB drive.
Good day almighty All,
I have a Dell Latitude E6520 laptop with SSD drive, which is probably unrelated to the problem.
Recently I decided to install Arch linux on it, but before that, being a bloody smart person, I decided to back up existing windows partition and CentOS filesystem to the external HDD connected with some noname SATA-to-USB connector.
(Actually it has a name, which is "Bus 002 Device 009: ID 14cd:6116 Super Top M6116 SATA Bridge").
Enclose has my old 500GB Segate in it with LVM partition.
So the box was booted with CentOS installed, first 2048 sectors of the drive and windows partitions were dumped with dd to the files on external HDD.
Could not tell which FS was on the volume, but most probably ext3.
After that I installed Arch (base, base-devel, grub as per installation manual), changed CentOS GRUB-0.9 to GRUB2, rebooted into arch, was unpleasantly surprised by the missing ifconfig, rebooted back into Arch usb, installed net-tools, rebooted into Arch, installed various small things like vim and KDE minimal, added missing ttf-dejavu, still could not boot into KDM - startx only.
Everything was going well so far.
Then it happened.
I mounted my USB drive from Arch and tried to dump on it CentOS partition.
Somewhere at the mark of 30-40Gb from the start I got Input/Output errors and that's it - partition is dead.
When I tried to remount it I've got:
mount: wrong fs type, bad option, bad superblock on /dev/mapper/lenovo01-data,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
I ran fsck on other laptop (Fedora 17) and got file system fixed but empty (well, lots of errors, everything was linked under lost+found).
RIP my backup (I have a copy on the storage and this one will be accessed via network only
I re-created FS (ext3), copied on it couple gigs of test files, connected drive to dell, mounted FS, "ls" the dir, all good.
Unmounted FS, mounted again - get what is quoted above - I/O errors.
The same drive on the same laptop works without any problem with installed CentOS and live GRML so it is not a hardware itself.
So far:
1. external drive can be mounted without problem when it is just connected to Arch
2. After some data traffic it starts to produce I/O errors.
3. When good FS is unmounted and then mounted again the story is the same - I/O errors.
4. As soon as it happened I cannot change FS on drive, I cannot change partition table and so on. fdisk and mkfs completed without error but FS is not there and attempt to mount produces the error above.
Below is some info about installation:
System is installed on encrypted with Luks LVM partition.
External HDD is not encrypted.
[root@darkstar ~]# uname -a
Linux darkstar 3.6.3-1-ARCH #1 SMP PREEMPT Mon Oct 22 10:23:56 CEST 2012 x86_64 GNU/Linux
[root@darkstar ~]# pacman -Suy
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
there is nothing to do
[root@darkstar ~]#
# dmesg after connection of USB drive
[Nov 2 14:08] usb 2-1.1: new high-speed USB device number 8 using ehci_hcd
[ +0.085473] scsi8 : usb-storage 2-1.1:1.0
[ +1.002053] scsi 8:0:0:0: Direct-Access Mass Storage Device PQ: 0 ANSI: 0
[ +0.001279] sd 8:0:0:0: [sdb] 976773166 512-byte logical blocks: (500 GB/465 GiB)
[ +0.000664] sd 8:0:0:0: [sdb] Write Protect is off
[ +0.000011] sd 8:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ +0.000562] sd 8:0:0:0: [sdb] No Caching mode page present
[ +0.000011] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[ +0.002354] sd 8:0:0:0: [sdb] No Caching mode page present
[ +0.000011] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[ +0.049185] sdb: sdb1 sdb2 sdb3
[ +0.003149] sd 8:0:0:0: [sdb] No Caching mode page present
[ +0.000022] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[ +0.000006] sd 8:0:0:0: [sdb] Attached SCSI disk
[Nov 2 14:09] usb 2-1.1: reset high-speed USB device number 8 using ehci_hcd
And this is dmesg after I tried to mount fs created on other box.
There was also XFS volume on the same VG.
[Nov 2 14:15] EXT4-fs (dm-8): mounted filesystem without journal. Opts: (null)
[Nov 2 14:16] EXT4-fs (dm-8): VFS: Can't find ext4 filesystem
[ +0.036964] EXT4-fs (dm-8): VFS: Can't find ext4 filesystem
[ +0.026500] EXT4-fs (dm-8): VFS: Can't find ext4 filesystem
[ +0.040551] XFS (dm-8): bad magic number
[ +0.000023] XFS (dm-8): SB validate failed
Will appreciate any help,
Thanks,
Eugene.Little bit of testing, just out of curiousity - do not have time to dig into it, sorry.
It puts garbage starting with "USBC" in first 32 bytes (the rest of the string varies) and then skips first 4K.
Tested it with CentOS - at least its 2.6 kernel works as expected.
[root@darkstar test]# uname -a
Linux darkstar 2.6.32-279.11.1.el6.x86_64 #1 SMP Tue Oct 16 15:57:10 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@darkstar test]# perl -e 'print "a"x5120' |dd bs=512 count=10 of=/dev/sdb
10+0 records in
10+0 records out
5120 bytes (5.1 kB) copied, 0.258486 s, 19.8 kB/s
[root@darkstar test]# dd bs=512 count=10 if=/dev/sdb status=noxfer |od -tax1
0000000 a a a a a a a a a a a a a a a a
61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61
0012000
10+0 records in
10+0 records out
[root@darkstar test]# uname -a
Linux darkstar 2.6.32-279.11.1.el6.x86_64 #1 SMP Tue Oct 16 15:57:10 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@darkstar test]# uname -a
Linux darkstar 3.6.7-1.el6.elrepo.x86_64 #1 SMP Sun Nov 18 08:35:06 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@darkstar test]# perl -e 'print "7"x5120' |dd bs=512 count=10 of=/dev/sdb
10+0 records in
10+0 records out
5120 bytes (5.1 kB) copied, 0.303432 s, 16.9 kB/s
[root@darkstar test]# dd bs=512 count=10 if=/dev/sdb status=noxfer |od -tax1
10+0 records in
10+0 records out
0000000 U S B C : soh nul nul nul dc4 nul nul nul nul nl *
55 53 42 43 ba 01 00 00 00 14 00 00 00 00 0a 2a
0000020 nul nul nul nul nul nul nul nl nul nul nul nul nul nul nul ^
00 00 00 00 00 00 00 0a 00 00 00 00 00 00 00 de
0000040 a a a a a a a a a a a a a a a a
61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61
0001000 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7
37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37
0012000
[root@darkstar test]# uname -a
Linux darkstar 3.6.7-1.el6.elrepo.x86_64 #1 SMP Sun Nov 18 08:35:06 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@darkstar test]#
Last edited by Eugene (2012-11-26 01:15:46)
Maybe you are looking for
-
Display one div at a time from an array?
I am trying to make a multiple choice quiz. I have each question and answer in a div. There are 20 divs. All are set to not display on the stage, and I want to call one randomly to display as the user answers that question. For the moment, I am tryin
-
My play lists and songs on iTunes and on my iPhone won't play. They are light grey instead of black and nothing happens when I click on the songs. All of the songs were either from CD's or from iTunes that I purchased. I have home sharing turned on
-
Eh, See title. When I attempt to run iPhoto it pops up "iPhoto can not run due to an incompatible version of ProKit on this system." So. What's ProKit and... I really need iPhoto today, quite urgent. iPhoto worked perfectly fine before the upgrade bu
-
Group by trunc(date)
Hi, lets say I have a source table like this Customer _ TimeStamp ________ BillAmount 001 ______ 01/01/2012 11:00 __ 100,00 001 ______ 01/01/2012 17:00 __ 150,00 I want to load a destination table like this Customer _ Date ________ BillAmount 001 ___
-
hi dear friends i am workink on tag files in jsp 2.0 but EL Expression is not working properly? and an compile time error occured as given below Actually when using jsp's useBean to assign a value to it's class attribute and type attribute ,i need to