NIO - Invalid argument (errno:22)
We have a mutlthreaded framework that spawns many individual threads with each merging extremely large files (1-3GB) to their own [thread] seperate files. We are using Java 1.4.2.10 and running on HP-UX.
The following is the bit of code that does our appending:
FileInputStream fileInputStream = new FileInputStream(fileName);
FileChannel in = fileInputStream.getChannel();
fileChannel.transferFrom(in, fileChannel.size(), in.size());
in.close();
fileInputStream.close();Now the grave issue that we have is that occasionaly we get the following "Invalid argument" error being thrown without any given specific reason. This error is not necessarily reproducable every time.
java.io.IOException: Invalid argument (errno:22)
at sun.nio.ch.FileChannelImpl.map0(Native Method)
at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:876)
at sun.nio.ch.FileChannelImpl.transferFromFileChannel(FileChannelImpl.java:535)
at sun.nio.ch.FileChannelImpl.transferFrom(FileChannelImpl.java:598)Any insight on this error (being an existing bug, etc) would be most useful.
Can you expand on the reason why you have chosen to
transfer 1MB at a time? Won't this have a performance
impact when transfering a 100MB file (we loop through
it 100 times as opposed to once).Have a think about how long it takes to transfer a megabyte and how long it takes to execute two or three lines of loop bookkeeping code 100 times, and you will see that the 'overhead' is negligible. The loop will spend 99% of its time transferring and 1% looping. Probably the true ratio is even more extreme.
In any case you don't have a choice but to reduce the transfer chunk considerably. It's up to you to find the optimum for your hardware, O/S, files, disk drives, etc.
The other question that I am really interested to
know the answer for, is why is thsi error being
thrown?That's been explained above in replies #1 and #2. You agreed with it yourself in reply #3.
Why do you suggest changing the copy size out of all things?Err, because that's what causes the error? As in replies #1, #2, and #3?
Similar Messages
-
Compress fails with errno 22: Invalid argument
Hi all,
we have a problem with our compress run on ECC 6.0. Database Version is 10.2.0.2.0, brtools Patchlevel is 40. Everytime we try to compress the database it fails with the following error message:
BR0278E Command output of 'C:\usr\sap\AKE\SYS\exe\uc\NTI386\brtools.exe -f compronly file G:\ORACLE\AKE\SAPDATA4\SR3_3\SR3.DATA3 13254008832 0':
BR0252E Function fread() failed for 'G:\ORACLE\AKE\SAPDATA4\SR3_3\SR3.DATA3' at location only_compress-4
BR0253E errno 22: Invalid argument
Any help is greatly aprreciated!
Regards,
MichaelHi Michael,
How do you make your backups (which options for brbackup? Using RMAN or 3rd party software via backint?). The "compress only" run is useful only if you use the O/S level storage utilities (cpio or dd) for the backup, so it might not even be necessary.
Running the compress-only with BR tracing enabled might also shed some light on the error (SET BR_TRACE=15, see note 29321).
Also, just in case, please do check the "Maximize Throughput for Network Applications" setting as per note 171085.
Regards,
Mark -
My AP execute ioctl(handle,command,&arg) got invalid argument
Hi Dear All,
I have coding one user space program.
It send my private control code to my scsi adapter driver.
But I got invalid argument when my program execute ioctl.
Does anyone know that if solaris has its command limit as FreeBSD or &arg spec.
typedef struct CMDIO_CONTROL
uint32_t HeaderLength;
uint8_t Signature[8];
uint32_t Timeout;
uint32_t ControlCode;
uint32_t ReturnCode;
uint32_t Length;
} CMD_IO_CONTROL,*PCMD_IO_CONTROL;
typedef struct CMDIOCTL_FIELD
CMD_IO_CONTROL cmdioctl; /*ioctl header*/
uint8_t ioctldatabuffer[224];/*areca gui program does not accept more than 1031 byte*/
} CMD_IOCTL_FIELD,*PCMD_IOCTL_FIELD;
/*FunctionCode*/
#define FUNCTION_READ_RQBUFFER 0x0001
#define FUNCTION_WRITE_WQBUFFER 0x0002
#define FUNCTION_CLEAR_RQBUFFER 0x0003
#define FUNCTION_CLEAR_WQBUFFER 0x0004
#define FUNCTION_CLEAR_ALLQBUFFER 0x0005
#define FUNCTION_RETURN_CODE_3F 0x0006
#define FUNCTION_SAY_HELLO 0x0007
#define FUNCTION_SAY_GOODBYE 0x0008
#define DEVCTL_IOC (0xDC << 16)
#define ARCMSR_IOCTL_READ_RQBUFFER (DEVCTL_IOC | 1)
#define ARCMSR_IOCTL_WRITE_WQBUFFER (DEVCTL_IOC | 2)
#define ARCMSR_IOCTL_CLEAR_RQBUFFER (DEVCTL_IOC | 3)
#define ARCMSR_IOCTL_CLEAR_WQBUFFER (DEVCTL_IOC | 4)
#define ARCMSR_IOCTL_CLEAR_ALLQBUFFER (DEVCTL_IOC | 5)
#define ARCMSR_IOCTL_REQUEST_RETURNCODE_3F (DEVCTL_IOC | 6)
#define ARCMSR_IOCTL_SAY_HELLO (DEVCTL_IOC | 7)
#define ARCMSR_IOCTL_SAY_GOODBYE (DEVCTL_IOC | 8)
if(file_handle=open(arcmsr_device_path_name, O_RDWR ) < 0)
perror("watchdog:open file fail");
else
printf("arcmsr watchdog:open %s ok \n",arcmsr_device_path_name);
memcpy(arcmsr_ioctl_field.cmdioctl.Signature, ustring, strlen(ustring));
arcmsr_ioctl_field.cmdioctl.ControlCode=ARCMSR_IOCTL_SAY_GOODBYE;
arcmsr_ioctl_field.cmdioctl.Length=sizeof(struct CMDIOCTL_FIELD);
printf("file_handle:%x \n",file_handle);
printf("Signature:%s \n",(char *) &arcmsr_ioctl_field.cmdioctl.Signature);
printf("ControlCode:%x \n",arcmsr_ioctl_field.cmdioctl.ControlCode);
printf("Length:%x \n",arcmsr_ioctl_field.cmdioctl.Length);
if (ioctl(file_handle, ARCMSR_IOCTL_SAY_GOODBYE, &arcmsr_ioctl_field) == SYSERR)
printf("errno=%x \n",errno);
printf("strerror=%s \n",strerror(errno));
perror("watchdog:ioctl fail");
else
printf("arcmsr watchdog:say goodbye to %s raid adapter complete \n",arcmsr_device_path_name);
}Hi Dear All,
The following description is my dump message.
# ./watchdog
watchdog:adapter=/devices/pci@0,0/pci8086,2543@2/pci8086,1460@1f/pci8086,335@6/p
ci17d3,1120@e:pci17d3,1120
arcmsr watchdog:open /devices/pci@0,0/pci8086,2543@2/pci8086,1460@1f/pci8086,335
@6/pci17d3,1120@e:pci17d3,1120 ok
file_handle:0
Signature:arcmsr ustring=arcmsr
ControlCode:6308
Length:1c
errno=16
strerror=Invalid argument
watchdog:ioctl fail: Invalid argument -
[Amixer] Invalid Argument - Sound but not levels
\o/
I recently bought a USB Headset. I'm using ALSA without Pulseaudio. The sound is working fine, but I have a problem setting levels etc.
When I open amixer and the default card is set to the headset, the mixer fails to load with
amixer: Mixer default load error: Invalid argument
I have read the whole internets about this. The usb-snd kernel module is loaded properly.
Some intel users have fixed their issue with using mode=generic. But if i'm correct this will disable 7.1 playback ability.
This is the output from
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VB Analog [ALC269VB Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Headset [SteelSeries SC2 USB Headset], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
And here is my ALSA Information script output:
upload=true&script=true&cardinfo=
!!ALSA Information Script v 0.4.63
!!Script ran on: Fri May 9 09:08:07 UTC 2014
!!Linux Distribution
Arch Linux \r (\l) NAME="Arch Linux" ID=arch PRETTY_NAME="Arch Linux" HOME_URL="https://www.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://bugs.archlinux.org/"
!!DMI Information
Manufacturer: Acer
Product Name: Aspire 5755
Product Version: V1.18
Firmware Version: V1.18
!!Kernel Information
Kernel release: 3.14.1-1-ARCH
Operating System: GNU/Linux
Architecture: x86_64
Processor: unknown
SMP Enabled: Yes
!!ALSA Version
Driver version: k3.14.1-1-ARCH
Library version: 1.0.27.2
Utilities version: 1.0.27.2
!!Loaded ALSA modules
snd_hda_intel
snd_usb_audio
!!Sound Servers on this system
Jack:
Installed - Yes (/usr/bin/jackd)
Running - No
!!Soundcards recognised by ALSA
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xc0700000 irq 47
1 [Headset ]: USB-Audio - SteelSeries SC2 USB Headset
SteelSeries SteelSeries SC2 USB Headset at usb-0000:00:1d.0-1.2, full speed
!!PCI Soundcards installed in the system
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
!!Advanced information - PCI Vendor/Device/Subsystem ID's
00:1b.0 0403: 8086:1c20 (rev 04)
Subsystem: 1025:0504
!!Loaded sound module options
!!Module: snd_hda_intel
align_buffer_size : -1
bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
beep_mode : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
enable_msi : -1
id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
jackpoll_ms : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
power_save : 0
power_save_controller : Y
probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
single_cmd : N
snoop : Y
!!Module: snd_usb_audio
autoclock : Y
device_setup : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
ignore_ctl_error : N
index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
pid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
vid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
!!HDA-Intel Codec information
--startcollapse--
Codec: Realtek ALC269VB
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0269
Subsystem Id: 0x10250504
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
Power states: D0 D1 D2 D3 CLKSTOP EPSS
Power: setting=D0, actual=D0
GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Control: name="Headphone Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Device: name="ALC269VB Analog", type="Audio", device=0
Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
Amp-Out vals: [0x00 0x00]
Converter: stream=0, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Control: name="Speaker Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
Amp-Out vals: [0x00 0x00]
Converter: stream=0, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
IEC Coding Type: 0x0
PCM:
rates [0x5e0]: 44100 48000 88200 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
Control: name="Capture Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Capture Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Device: name="ALC269VB Analog", type="Audio", device=0
Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x13 0x13]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Connection: 1
0x23
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x8b 0x8b]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Connection: 1
0x22
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Control: name="Internal Mic Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=3, ofs=0
Control: name="Internal Mic Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=3, ofs=0
Control: name="Mic Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Mic Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Beep Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=4, ofs=0
Control: name="Beep Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=4, ofs=0
Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 5
0x18 0x19 0x1a 0x1b 0x1d
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00]
Connection: 2
0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00]
Connection: 2
0x03 0x0b
Node 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0f [Audio Mixer] wcaps 0x20010a: Mono Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00] [0x80]
Connection: 2
0x02 0x0b
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Pin Complex] wcaps 0x40000b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
Amp-In vals: [0x00 0x00]
Pincap 0x00000020: IN
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Control: name="Speaker Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Control: name="Speaker Phantom Jack", index=0, device=0
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x00010014: OUT EAPD Detect
EAPD 0x2: EAPD
Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
Conn = ATAPI, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Connection: 2
0x0c 0x0d*
Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x16 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x17 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80]
Pincap 0x00000010: OUT
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Connection: 1
0x0f
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Control: name="Mic Boost Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Mic Jack", index=0, device=0
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00001734: IN OUT Detect
Vref caps: HIZ 50 GRD 80
Pin Default 0x03a19820: [Jack] Mic at Ext Left
Conn = 1/8, Color = Pink
DefAssociation = 0x2, Sequence = 0x0
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=02, enabled=1
Connection: 1
0x0d
Node 0x19 [Pin Complex] wcaps 0x40008b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
Amp-In vals: [0x00 0x00]
Pincap 0x00001724: IN Detect
Vref caps: HIZ 50 GRD 80
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN VREF_HIZ
Unsolicited: tag=00, enabled=0
Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x0000003c: IN OUT HP Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Unsolicited: tag=00, enabled=0
Connection: 2
0x0c* 0x0d
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Control: name="Internal Mic Boost Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Internal Mic Phantom Jack", index=0, device=0
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00000034: IN OUT Detect
Pin Default 0x99a30930: [Fixed] Mic at Int ATAPI
Conn = ATAPI, Color = Unknown
DefAssociation = 0x3, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Unsolicited: tag=00, enabled=0
Connection: 2
0x0c* 0x0d
Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
Pincap 0x00000020: IN
Pin Default 0x598301f0: [N/A] Line In at Int ATAPI
Conn = ATAPI, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400381: Stereo Digital
Pincap 0x00000014: OUT Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Connection: 1
0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Processing caps: benign=0, ncoeff=25
Node 0x21 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Control: name="Headphone Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Control: name="Headphone Jack", index=0, device=0
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x0000001c: OUT HP Detect
Pin Default 0x0321101f: [Jack] HP Out at Ext Left
Conn = 1/8, Color = Black
DefAssociation = 0x1, Sequence = 0xf
Pin-ctls: 0xc0: OUT HP
Unsolicited: tag=01, enabled=1
Connection: 2
0x0c* 0x0d
Node 0x22 [Audio Selector] wcaps 0x30010b: Stereo Amp-In
Amp-In caps: N/A
Amp-In vals: [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
Connection: 7
0x18* 0x19 0x1a 0x1b 0x1d 0x0b 0x12
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80]
Connection: 6
0x18 0x19 0x1a 0x1b 0x1d 0x0b
Codec: Intel CougarPoint HDMI
Address: 3
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x80862805
Subsystem Id: 0x80860101
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
rates [0x0]:
bits [0x0]:
formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
Power states: D0 D3 CLKSTOP EPSS
Power: setting=D0, actual=D0, Clock-stop-OK
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x6611: 8-Channels Digital
Converter: stream=0, channel=0
Digital: Enabled
Digital category: 0x0
IEC Coding Type: 0x0
PCM:
rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
bits [0x1e]: 16 20 24 32
formats [0x5]: PCM AC3
Power states: D0 D3 EPSS
Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x6611: 8-Channels Digital
Converter: stream=0, channel=0
Digital: Enabled
Digital category: 0x0
IEC Coding Type: 0x0
PCM:
rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
bits [0x1e]: 16 20 24 32
formats [0x5]: PCM AC3
Power states: D0 D3 EPSS
Power: setting=D0, actual=D0
Node 0x04 [Audio Output] wcaps 0x6611: 8-Channels Digital
Converter: stream=0, channel=0
Digital: Enabled
Digital category: 0x0
IEC Coding Type: 0x0
PCM:
rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
bits [0x1e]: 16 20 24 32
formats [0x5]: PCM AC3
Power states: D0 D3 EPSS
Power: setting=D0, actual=D0
Node 0x05 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
Control: name="HDMI/DP,pcm=3 Jack", index=0, device=0
Control: name="IEC958 Playback Con Mask", index=0, device=0
Control: name="IEC958 Playback Pro Mask", index=0, device=0
Control: name="IEC958 Playback Default", index=0, device=0
Control: name="IEC958 Playback Switch", index=0, device=0
Control: name="ELD", index=0, device=3
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x09000094: OUT Detect HBR HDMI DP
Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=01, enabled=1
Power states: D0 D3 EPSS
Power: setting=D0, actual=D0
Connection: 1
0x02
Node 0x06 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x80]
Pincap 0x09000094: OUT Detect HBR HDMI DP
Pin Default 0x58560020: [N/A] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0x2, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Power states: D0 D3 EPSS
Power: setting=D0, actual=D0
Connection: 1
0x03
Node 0x07 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x80]
Pincap 0x09000094: OUT Detect HBR HDMI DP
Pin Default 0x58560030: [N/A] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0x3, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Power states: D0 D3 EPSS
Power: setting=D0, actual=D0
Connection: 1
0x04
Node 0x08 [Vendor Defined Widget] wcaps 0xf00000: Mono
--endcollapse--
!!USB Mixer information
--startcollapse--
USB Mixer: usb_id=0x10381216, ctrlif=0, ctlerr=0
Card: SteelSeries SteelSeries SC2 USB Headset at usb-0000:00:1d.0-1.2, full speed
Unit: 2
Control: name="Headphone Playback Volume", index=0
Info: id=2, control=2, cmask=0xff, channels=8, type="S16"
Volume: min=-18944, max=0, dBmin=-7400, dBmax=0
Unit: 2
Control: name="Headphone Playback Switch", index=0
Info: id=2, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 6
Control: name="Mic Capture Volume", index=0
Info: id=6, control=2, cmask=0x3, channels=2, type="S16"
Volume: min=-18944, max=0, dBmin=-7400, dBmax=0
Unit: 6
Control: name="Mic Capture Switch", index=0
Info: id=6, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 9
Control: name="Sidetone Playback Volume", index=0
Info: id=9, control=2, cmask=0x0, channels=1, type="S16"
Volume: min=-18944, max=-4608, dBmin=-7400, dBmax=-1800
Unit: 9
Control: name="Sidetone Playback Switch", index=0
Info: id=9, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 10
Control: name="PCM Volume", index=4
Info: id=10, control=9, cmask=0x40, channels=1, type="S16"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 10
Control: name="PCM Volume", index=3
Info: id=10, control=8, cmask=0x80, channels=1, type="S16"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 10
Control: name="PCM Volume", index=2
Info: id=10, control=5, cmask=0x80, channels=1, type="S16"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 10
Control: name="PCM Volume", index=1
Info: id=10, control=4, cmask=0x20, channels=1, type="S16"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 10
Control: name="PCM Volume", index=0
Info: id=10, control=3, cmask=0x90, channels=2, type="S16"
Volume: min=0, max=1, dBmin=0, dBmax=0
--endcollapse--
!!ALSA Device nodes
crw-rw----+ 1 root audio 116, 7 May 8 10:30 /dev/snd/controlC0
crw-rw----+ 1 root audio 116, 10 May 9 07:29 /dev/snd/controlC1
crw-rw----+ 1 root audio 116, 6 May 8 10:30 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116, 5 May 8 10:30 /dev/snd/hwC0D3
crw-rw----+ 1 root audio 116, 4 May 8 10:30 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116, 3 May 8 10:46 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116, 2 May 8 10:30 /dev/snd/pcmC0D3p
crw-rw----+ 1 root audio 116, 9 May 9 07:29 /dev/snd/pcmC1D0c
crw-rw----+ 1 root audio 116, 8 May 9 08:45 /dev/snd/pcmC1D0p
crw-rw----+ 1 root audio 116, 1 May 8 10:30 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 May 8 10:30 /dev/snd/timer
/dev/snd/by-id:
total 0
drwxr-xr-x 2 root root 60 May 9 07:29 .
drwxr-xr-x 4 root root 300 May 9 07:29 ..
lrwxrwxrwx 1 root root 12 May 9 07:29 usb-SteelSeries_SteelSeries_SC2_USB_Headset_000000000000-00 -> ../controlC1
/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root 80 May 9 07:29 .
drwxr-xr-x 4 root root 300 May 9 07:29 ..
lrwxrwxrwx 1 root root 12 May 8 10:30 pci-0000:00:1b.0 -> ../controlC0
lrwxrwxrwx 1 root root 12 May 9 07:29 pci-0000:00:1d.0-usb-0:1.2:1.0 -> ../controlC1
!!ALSA configuration files
!!User specific config file (~/.asoundrc)
# ALSA library configuration file
# Include settings that are under the control of asoundconf(1).
# (To disable these settings, comment out this line.)
</home/mastermind/.asoundrc.asoundconf>
pcm.!default {
type hw
card 1
ctl.!default {
type hw
card 1
!!asoundconf-generated config file
# ALSA library configuration file managed by asoundconf(1).
# MANUAL CHANGES TO THIS FILE WILL BE OVERWRITTEN!
# Manual changes to the ALSA library configuration should be implemented
# by editing the ~/.asoundrc file, not by editing this file.
!defaults.pcm.card Headset
defaults.ctl.card Headset
defaults.pcm.device 0
defaults.pcm.subdevice -1
defaults.pcm.nonblock 1
defaults.pcm.compat 0
defaults.pcm.minperiodtime 5000
defaults.pcm.ipc_key 5678293
defaults.pcm.ipc_gid audio
defaults.pcm.ipc_perm 0660
defaults.pcm.dmix.max_periods 0
defaults.pcm.dmix.rate 48000
defaults.pcm.dmix.format "unchanged"
defaults.pcm.dmix.card defaults.pcm.card
defaults.pcm.dmix.device defaults.pcm.device
defaults.pcm.dsnoop.card defaults.pcm.card
defaults.pcm.dsnoop.device defaults.pcm.device
defaults.pcm.front.card defaults.pcm.card
defaults.pcm.front.device defaults.pcm.device
defaults.pcm.rear.card defaults.pcm.card
defaults.pcm.rear.device defaults.pcm.device
defaults.pcm.center_lfe.card defaults.pcm.card
defaults.pcm.center_lfe.device defaults.pcm.device
defaults.pcm.side.card defaults.pcm.card
defaults.pcm.side.device defaults.pcm.device
defaults.pcm.surround40.card defaults.pcm.card
defaults.pcm.surround40.device defaults.pcm.device
defaults.pcm.surround41.card defaults.pcm.card
defaults.pcm.surround41.device defaults.pcm.device
defaults.pcm.surround50.card defaults.pcm.card
defaults.pcm.surround50.device defaults.pcm.device
defaults.pcm.surround51.card defaults.pcm.card
defaults.pcm.surround51.device defaults.pcm.device
defaults.pcm.surround71.card defaults.pcm.card
defaults.pcm.surround71.device defaults.pcm.device
defaults.pcm.iec958.card defaults.pcm.card
defaults.pcm.iec958.device defaults.pcm.device
defaults.pcm.modem.card defaults.pcm.card
defaults.pcm.modem.device defaults.pcm.device
defaults.pcm.file_format "raw"
defaults.pcm.file_truncate true
defaults.rawmidi.card 0
defaults.rawmidi.device 0
defaults.rawmidi.subdevice -1
defaults.hwdep.card 0
defaults.hwdep.device 0
defaults.timer.class 2
defaults.timer.sclass 0
defaults.timer.card 0
defaults.timer.device 0
defaults.timer.subdevice 0
defaults.namehint.showall off
defaults.namehint.basic on
defaults.namehint.extended off
!!Aplay/Arecord output
APLAY
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VB Analog [ALC269VB Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Headset [SteelSeries SC2 USB Headset], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
ARECORD
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VB Analog [ALC269VB Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Headset [SteelSeries SC2 USB Headset], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
!!Amixer output
!!-------Mixer controls for card 0 [PCH]
Card hw:0 'PCH'/'HDA Intel PCH at 0xc0700000 irq 47'
Mixer name : 'Intel CougarPoint HDMI'
Components : 'HDA:10ec0269,10250504,00100100 HDA:80862805,80860101,00100000'
Controls : 32
Simple ctrls : 13
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 0 [0%] [-65.25dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 250 [98%] [-1.00dB]
Front Right: Playback 250 [98%] [-1.00dB]
Simple mixer control 'Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Beep',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 19 [61%] [12.00dB] [on]
Front Right: Capture 19 [61%] [12.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Enabled'
Simple mixer control 'Digital',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 120
Front Left: Capture 60 [50%] [0.00dB]
Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Internal Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Internal Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
!!-------Mixer controls for card 1 [Headset]
amixer: Mixer load hw:1 error: Invalid argument
Card hw:1 'Headset'/'SteelSeries SteelSeries SC2 USB Headset at usb-0000:00:1d.0-1.2, full speed'
Mixer name : 'USB Mixer'
Components : 'USB1038:1216'
Controls : 13
amixer: Mixer hw:1 load error: Invalid argument
!!Alsactl output
--startcollapse--
--endcollapse--
!!All Loaded Modules
Module
fuse
hid_generic
snd_usb_audio
usbhid
snd_usbmidi_lib
hid
snd_rawmidi
snd_seq_device
ctr
ccm
mousedev
arc4
ath9k
ath9k_common
ath9k_hw
ath
mac80211
cfg80211
tg3
ptp
pps_core
libphy
snd_hda_codec_hdmi
snd_hda_codec_realtek
snd_hda_codec_generic
iTCO_wdt
iTCO_vendor_support
joydev
acer_wmi
sparse_keymap
rfkill
uvcvideo
videobuf2_vmalloc
videobuf2_memops
videobuf2_core
videodev
media
intel_rapl
x86_pkg_temp_thermal
intel_powerclamp
kvm_intel
kvm
crct10dif_pclmul
crc32_pclmul
crc32c_intel
ghash_clmulni_intel
aesni_intel
aes_x86_64
lrw
gf128mul
glue_helper
ablk_helper
cryptd
microcode
psmouse
snd_hda_intel
i915
snd_hda_codec
snd_hwdep
snd_pcm
evdev
mac_hid
snd_timer
coretemp
drm_kms_helper
snd
hwmon
pcspkr
serio_raw
drm
i2c_i801
shpchp
soundcore
intel_gtt
mei_me
lpc_ich
i2c_algo_bit
mei
i2c_core
battery
ac
wmi
button
video
processor
vboxnetflt
vboxnetadp
vboxdrv
ext4
crc16
mbcache
jbd2
sd_mod
sr_mod
crc_t10dif
cdrom
crct10dif_common
atkbd
libps2
ahci
libahci
libata
scsi_mod
xhci_hcd
ehci_pci
sdhci_pci
ehci_hcd
sdhci
led_class
mmc_core
usbcore
usb_common
i8042
serio
!!Sysfs Files
/sys/class/sound/hwC0D0/init_pin_configs:
0x12 0x411111f0
0x14 0x99130110
0x17 0x411111f0
0x18 0x03a19820
0x19 0x411111f0
0x1a 0x411111f0
0x1b 0x99a30930
0x1d 0x598301f0
0x1e 0x411111f0
0x21 0x0321101f
/sys/class/sound/hwC0D0/driver_pin_configs:
/sys/class/sound/hwC0D0/user_pin_configs:
/sys/class/sound/hwC0D0/init_verbs:
/sys/class/sound/hwC0D0/hints:
/sys/class/sound/hwC0D3/init_pin_configs:
0x05 0x18560010
0x06 0x58560020
0x07 0x58560030
/sys/class/sound/hwC0D3/driver_pin_configs:
/sys/class/sound/hwC0D3/user_pin_configs:
/sys/class/sound/hwC0D3/init_verbs:
/sys/class/sound/hwC0D3/hints:
!!ALSA/HDA dmesg
[ 2.804467] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 2.804893] snd_hda_intel 0000:00:1b.0: irq 47 for MSI/MSI-X
[ 2.809383] [drm] Memory usable by graphics device = 2048M
[ 2.809500] Console: switching to colour dummy device 80x25
[ 2.822857] hda_codec: ALC269VB: SKU not ready 0x598301f0
[ 2.825609] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input11
[ 2.837175] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
[ 2.837341] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[ 2.837432] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[ 2.875879] i915 0000:00:02.0: irq 48 for MSI/MSI-X
[ 12.378034] 3:2:3: cannot get freq at ep 0x1
[ 12.415236] usbcore: registered new interface driver snd-usb-audio
[ 12.574045] usb 4-1.4.1: new full-speed USB device number 5 using ehci-pci
[21894.981516] tg3 0000:02:00.0: System wakeup disabled by ACPI
[21894.981666] snd_hda_intel 0000:00:1b.0: irq 47 for MSI/MSI-X
[21894.982611] ath: phy0: ASPM enabled: 0x42
A frickload of kudos to anybody that will either be able to recommend an alternative mixer (without having to install OSS/Pulse) or be able to link or recommend a fix.
Kind regards,
MastermindSo I just spent another couple of hours battling with alsa.
I went from sound but no mixer, to no sound at all. And then back to having sound again after 4 hours of command mashing. All that after just a weekend in suspend/standby.
The only difference I could detect was that the subdevice on the card changed, but simply defining (and alsa restoring) that one in the ~/.asoundrc did not do the trick.
I also came across a more detailed error with the crashing alsamixer.
/usr/share/alsa/init/default:171: value write error: Invalid argument
/usr/share/alsa/init/default:185: value write error: Invalid argument
Commenting these lines did not fix the error.
Some more outputs:
[root@Blitz mastermind]# alsactl restore
No state is present for card Headset
Found hardware: "USB-Audio" "USB Mixer" "USB1038:1216" "" ""
Hardware is initialized using a generic method
/usr/share/alsa/init/default:171: value write error: Invalid argument
/usr/share/alsa/init/default:185: value write error: Invalid argument
No state is present for card Headset
systemctl -l status alsa-restore.service
alsa-restore.service - Restore Sound Card State
Loaded: loaded (/usr/lib/systemd/system/alsa-restore.service; static)
Active: inactive (dead) since Thu 2014-05-08 10:30:47 UTC; 3 days ago
Process: 192 ExecStart=/usr/bin/alsactl restore (code=exited, status=19)
Main PID: 192 (code=exited, status=19)
May 08 10:30:47 Blitz alsactl[192]: /usr/bin/alsactl: load_state:1729: No soundcards found...
$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=PCH
HDA Intel PCH, ALC269VB Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC269VB Analog
Front speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC269VB Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC269VB Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC269VB Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC269VB Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC269VB Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
HDA Intel PCH, HDMI 0
HDMI Audio Output
sysdefault:CARD=Headset
SteelSeries SC2 USB Headset, USB Audio
Default Audio Device
front:CARD=Headset,DEV=0
SteelSeries SC2 USB Headset, USB Audio
Front speakers
surround40:CARD=Headset,DEV=0
SteelSeries SC2 USB Headset, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=Headset,DEV=0
SteelSeries SC2 USB Headset, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Headset,DEV=0
SteelSeries SC2 USB Headset, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Headset,DEV=0
SteelSeries SC2 USB Headset, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Headset,DEV=0
SteelSeries SC2 USB Headset, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Headset,DEV=0
SteelSeries SC2 USB Headset, USB Audio
IEC958 (S/PDIF) Digital Audio Output
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VB Analog [ALC269VB Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Headset [SteelSeries SC2 USB Headset], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
This is what I have in /etc/modprobe.d/alsa.conf :
options snd-hda-intel model=generic
options snd-usb-audio model=generic
.asoundrc for root
# ALSA library configuration file
# Include settings that are under the control of asoundconf(1).
# (To disable these settings, comment out this line.)
</root/.asoundrc.asoundconf>
audio_output {
type "alsa"
name "My ALSA Device"
card 1
# device "hw:1,1" # optional
mixer_control "mpd" # optional
pcm.!default {
type hw
card 1
ctl.!default {
type hw
card 1
for my user:
# ALSA library configuration file
# Include settings that are under the control of asoundconf(1).
# (To disable these settings, comment out this line.)
</home/mastermind/.asoundrc.asoundconf>
pcm.!default {
type hw
card 1
ctl.!default {
type hw
card 1
More:
ls -l /dev/snd
total 0
drwxr-xr-x 2 root root 60 May 12 10:25 by-id
drwxr-xr-x 2 root root 80 May 12 10:25 by-path
crw-rw----+ 1 root audio 116, 7 May 8 10:30 controlC0
crw-rw----+ 1 root audio 116, 10 May 12 10:25 controlC1
crw-rw----+ 1 root audio 116, 6 May 8 10:30 hwC0D0
crw-rw----+ 1 root audio 116, 5 May 8 10:30 hwC0D3
crw-rw----+ 1 root audio 116, 4 May 8 10:30 pcmC0D0c
crw-rw----+ 1 root audio 116, 3 May 8 10:46 pcmC0D0p
crw-rw----+ 1 root audio 116, 2 May 8 10:30 pcmC0D3p
crw-rw----+ 1 root audio 116, 9 May 12 10:25 pcmC1D0c
crw-rw----+ 1 root audio 116, 8 May 12 10:25 pcmC1D0p
crw-rw----+ 1 root audio 116, 1 May 8 10:30 seq
crw-rw----+ 1 root audio 116, 33 May 8 10:30 timer
lsmod | grep '^snd' | column -t
snd_usb_audio 118323 2
snd_usbmidi_lib 19756 1 snd_usb_audio
snd_rawmidi 18742 1 snd_usbmidi_lib
snd_seq_device 5180 1 snd_rawmidi
snd_hda_codec_hdmi 36588 1
snd_hda_codec_realtek 46566 1
snd_hda_codec_generic 53211 1 snd_hda_codec_realtek
snd_hda_intel 37704 0
snd_hda_codec 99871 4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
snd_hwdep 6332 2 snd_usb_audio,snd_hda_codec
snd_pcm 79815 5 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_timer 18718 1 snd_pcm
snd 59286 17 snd_hda_codec_realtek,snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device
restore alsa:
alsactl restore
No state is present for card Headset
Found hardware: "USB-Audio" "USB Mixer" "USB1038:1216" "" ""
Hardware is initialized using a generic method
/usr/share/alsa/init/default:171: value write error: Invalid argument
/usr/share/alsa/init/default:185: value write error: Invalid argument
No state is present for card Headset
# cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xc0700000 irq 47
1 [Headset ]: USB-Audio - SteelSeries SC2 USB Headset
SteelSeries SteelSeries SC2 USB Headset at usb-0000:00:1d.0-1.2, full speed
# cat /proc/asound/modules
0 snd_hda_intel
1 snd_usb_audio
Let me know if I can provide any more information.
Last edited by Mastermind (2014-05-12 09:54:11) -
Report fails with " Invalid argument for database." error.
Hi All,
Several of my reports deployed on Crystal Reports Server 2008 server fails everyday with the following error.
Error in File ~tmp121c5dc747685036.rpt: Invalid argument for database.
The error is not consistent, if report A fails today, it is Report B the next day. When I reschedule the reports, they run just fine. They fail only when the daily schedules run at 2:00 AM in the morning. 100 + reports are run at this time and some of the reports that fail run many times with different parameters. Is this error due to scheduling reports many times or is it something else? Appreciate any help with this.
Thanks
BinHi,
can you please check under <BOBJ installation directory>\BusinessObjects Enterprise 12.0\logging in the log files created by the crystal reports job server for additionaly error messages?
Regards,
Stratos
PS: Do you run CRS 2008 V0 or V1? -
Invalid Argument Exception on Java API's DB Close
When closing the database via the Java API's close method, I am getting an invalid argument exception... how can this be fixed... subsequent access to the DB causes the JVM to crash??
ERROR: An exception has occurred: java.lang.IllegalArgumentException: Invalid argument
java.lang.IllegalArgumentException: Invalid argument
at com.sleepycat.db.internal.db_javaJNI.DbEnv_close0(Native Method)
at com.sleepycat.db.internal.DbEnv.close0(DbEnv.java:217)
at com.sleepycat.db.internal.DbEnv.close(DbEnv.java:77)
at com.sleepycat.db.Environment.close(Environment.java:39)
at com.sleepycat.dbxml.XmlManager.closeInternal(XmlManager.java:301)
at com.sleepycat.dbxml.XmlManager.delete(XmlManager.java:33)
at com.sleepycat.dbxml.XmlManager.close(XmlManager.java:310)
at com.iconnect.data.adapters.BerkleyXMLDBImpl.insert(BerkleyXMLDBImpl.java:827)
at com.iconnect.data.DataManagerFactory.insert(DataManagerFactory.java:182)
at Xindice2Berkley.main(Xindice2Berkley.java:99)I had the same problem. I could fix it by carefully calling the delete() function on all those DBXML Xml..xyz objects that you create when you perform queries etc. It seems that those Java objects have some 'shadow' object in the underlying DLL and by calling delete() you free resources that remain otherwise assigned (maybe somebody with a C++ background who programmed this stuff?). Call delete() before the Java object gets out of scope. For instance:
results = mgr.query(collection,context,null);
XmlValue value;
try {
while ((value = results.next()) != null) {
XmlValue c = value.getFirstChild();
String ref = c.getNodeValue();
c.delete(); c = null;
value.delete(); value = null;
catch (Exception e) {
finally {
if (results != null) {
results.delete();
results = null;
Once i did this on all possible dbxml objects i used in my code, the java.lang.IllegalArgumentException: Invalid argument disappeared.
Message was edited by:
user562374 -
Invalid arguments error while executing oracle procedure
Dear all,
we have a table hr_emp with fields ecode, ename, edoj.
the following procedure we created to return the table data to our .net app.
CREATE OR REPLACE
PACKAGE pname AS
TYPE T_hr_cursor IS REF CURSOR;
PROCEDURE get_hr_list (P_hrlist OUT T_hr_cursor);
END HRPACK;
create or replace PACKAGE BODY pname AS
PROCEDURE get_hr_list (P_hrlist OUT T_hr_cursor)
IS
BEGIN
OPEN P_hrlist FOR
SELECT *
FROM Hr_Emp WHERE edoj>='01-jan-2009';
END get_hr_list;
END;
these code edited in a single file [both package and package body] and created successfully.
but, while executing, by typing execute get_hr_list, ORA-00304 error, invalid arguments, is coming. How to resolve this, please help.
also, in sql developer 1.5.3, when we create this, another error is ciming like 'source doesnot have a runnable target'.
Where is the issue? please helpYes, its great dear...
sqlplus>
declare
hr_cursor hrmain.t_hr_cursor;
begin
pname.get_hr_list(hr_cursor);
end;
Its worked as i got 'pl/sql procedure successfully executed'.
Also, then how i can call this get_hr_list procedure from .net? im using c# and i want to get the result of hr_emp to c#. how i can call the same from c#? any help please -
Hi everyone,
I have seen many topics about this problem but none of them helped and they seem to date a little bit so I would like to ask again.
here is the situation :
we have two iphone 4 in the house and everything was going fine until we did the update to the new 5.0 firmware. there was no problem while the update had only been applied to the first iphone... but after updating the second one, we now have the same problem on both iphones. We can still connect to the internet from the iphone just fine but the connection is erratic at best with the itunes store because we keep getting cut by this dreaded error message "connection to the itunes store impossible, "invalid argument" occasionnally we'd get a different message that says "connection reset by peer"
- what is invalid argument mean anyway???
- I have tried to renew the lease in the network settings, it didn't work
- I have tried to reset the network setting, it didn't help
- I have checked in the network setting for the IP address, it starts with 192.xx.xx..... which is supposed to be a good thing as opposed to 162.xx.xx....
- I have reset my router, nothing happened...
- I have tried unauthorising my computer to any accounts because we were afraid that using two iphones with two different itunes store accounts one the same computer may have caused these problems.. but no luck
I am running out of ideas, I would like to renew my frustration to apple because we buy these expensive products and still seem to suffers from stupid bugs... I was under the impression that these things were tested !!! anyway if anyone has found a definitive solution to this problem (short of burning your iphone out of anger) it would be deeply appreciated.
thxHi!
I'm also using Air SDK 15 and I'm getting Invalid Bundle Error:
Adobe Air iOS Invalid Bundle
The bundle does not support the minimum version os specified in info.plisthttp://stackoverflow.com/questions/26047837/adobe-air-ios-invalid-bundle-the-bundle-does-n ot-support-the-minimum-version-os
Really need help
Michael -
Disk Utility create image error - "Invalid Argument" - on USB drive.
I wanted to use a USB 2.0 drive that I share with a Windows machine to backup my son's iBook. I divided the drive into two partitions and formatted the iBook backup partition as FAT32. I attempted to create a read-only disk image on the USB drive in order to backup the iBook, but it does not complete successfully - it terminates with an "Invalid Argument" error. I also tried creating a read/write disk image and that terminates with an error "File or Folder not found." Anyone have any tips or clues as to what may be the problem?
iBook Mac OS X (10.4.3)I figured out my problem to some extent. I was not creating an empty image, but was trying to create a disk image without selecting a folder. Once I selected create an empty image from the File menu I did not get the error and was able to create an empty image on the USB drive.
-
Couldn't export schema because of invalid argument value and other errors.
Hello, All.
I am using an oracle 10g database, which is running on a Redhat9 linux server, to manage our lab information.
I plan to export a schema (only tables, not the real data) into a file.
First, I used the Enterprise Manager to export. I went through and complete the export job. After submitting, the system says:
There is a problem writing to the export files: ORA-39094: Parallel execution not supported in this database edition..
So I just copy the PL/SQL code which would be send to the source database and comment the set_parallel procedure.
The code is listed here:
declare
h1 NUMBER;
begin
begin
h1 := dbms_datapump.open (operation => 'EXPORT', job_mode => 'SCHEMA', job_name => 'EXPORT000468', version => 'COMPATIBLE');
end;
--begin
--dbms_datapump.set_parallel(handle => h1, degree => 1);
--end;
begin
dbms_datapump.add_file(handle => h1, filename => 'EXPDAT.LOG', directory => 'DATA_FILE_DIR', filetype => 3);
end;
begin
dbms_datapump.set_parameter(handle => h1, name => 'KEEP_MASTER', value => 0);
end;
begin
dbms_datapump.metadata_filter(handle => h1, name => 'SCHEMA_EXPR', value => 'IN(''FLOWLIMS'')');
end;
begin
dbms_datapump.set_parameter(handle => h1, name => 'ESTIMATE', value => 'BLOCKS');
end;
begin
dbms_datapump.add_file(handle => h1, filename => 'EXPDAT%U.DMP', directory => 'DATA_FILE_DIR', filetype => 1);
end;
begin
dbms_datapump.set_parameter(handle => h1, name => 'INCLUDE_METADATA', value => 1);
end;
begin
dbms_datapump.data_filter(handle => h1, name => 'INCLUDE_ROWS', value => 0);
end;
begin
dbms_datapump.set_parameter(handle => h1, name => 'DATA_ACCESS_METHOD', value => 'AUTOMATIC');
end;
begin
dbms_datapump.start_job(handle => h1, skip_current => 0, abort_step => 0);
end;
begin
dbms_datapump.detach(handle => h1);
end;
end;
I paste the code in an SQL*Plus session and execute it. The system says:
declare
ERROR at line 1:
ORA-39001: invalid argument value
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
ORA-06512: at "SYS.DBMS_DATAPUMP", line 2486
ORA-06512: at "SYS.DBMS_DATAPUMP", line 2718
ORA-06512: at line 23
I am not very sure which part is wrong for I have exported another schema successfully using this method just now.
Any advice is highly appreciated!
QianWell, I will list more details about how to complete the job here.
1) Go to the Enterprise Manager, log in as FLOWLIMS (I just want to export the schema FLOWLIMS)
2)Go to the "Maitenance"
3)Under the "Utilities", select the "Export to files"
4)in the next page: Export: Export Type, select "Schemas"
5) in the next page, select the schema "FLOWLIMS"
6) in the next page, select these parameters:
Maximam Number of Threads in Export job: 1
Estimate Disk Space: Blockes
7) when I click the "Estimate Disk Space Now", it says :
Export Estimate Failed
There is a problem writing to the export files: ORA-39094: Parallel execution not supported in this database edition..
8) So I give up extimating
9) Other options:
I select "Generate Log file"
The Directory Object is the default value "DATA_FILE_DIR"
The Log File is the default value "EXPDAT.LOG"
10) the advanced options are like these:
Content: What to export from the Source Database: "Metadata only"
Export content: "include all objects"
Flashback: select "As the specified System Change Number (SCN)
SCN: just accept the default number 28901412
Query: select nothing. I need all fields of all tables.
11) in the next page, I accept the default directory object "DATA_FILE_DIR" and the default File Name "EXPDAT%U.DMP". The Maximam File Size is blank, I just leave it blank.
12) in the next page "Schedule" , I select to start the job immediatly.
13) in the next page "Review", it shows:
Export Type Schemas
Statistics type Estimate optimizer statistics when data is imported
Parallelism 1
Files to Export DATA_FILE_DIR EXPDAT%U.DMP
Log File DATA_FILE_DIR EXPDAT.LOG
and the PL/SQL is like that:
declare
h1 NUMBER;
begin
begin
h1 := dbms_datapump.open (operation => 'EXPORT', job_mode => 'SCHEMA', job_name => 'EXPORT000487', version => 'COMPATIBLE');
end;
begin
dbms_datapump.set_parallel(handle => h1, degree => 1);
end;
begin
dbms_datapump.add_file(handle => h1, filename => 'EXPDAT.LOG', directory => 'DATA_FILE_DIR', filetype => 3);
end;
begin
dbms_datapump.set_parameter(handle => h1, name => 'KEEP_MASTER', value => 0);
end;
begin
dbms_datapump.metadata_filter(handle => h1, name => 'SCHEMA_EXPR', value => 'IN(''FLOWLIMS'')');
end;
begin
dbms_datapump.set_parameter(handle => h1, name => 'ESTIMATE', value => 'BLOCKS');
end;
begin
dbms_datapump.add_file(handle => h1, filename => 'EXPDAT%U.DMP', directory => 'DATA_FILE_DIR', filetype => 1);
end;
begin
dbms_datapump.set_parameter(handle => h1, name => 'INCLUDE_METADATA', value => 1);
end;
begin
dbms_datapump.data_filter(handle => h1, name => 'INCLUDE_ROWS', value => 0);
end;
begin
dbms_datapump.set_parameter(handle => h1, name => 'DATA_ACCESS_METHOD', value => 'AUTOMATIC');
end;
begin
dbms_datapump.start_job(handle => h1, skip_current => 0, abort_step => 0);
end;
begin
dbms_datapump.detach(handle => h1);
end;
end;
14) after I click the "submit" , it shows:
Export Submit Failed
There is a problem writing to the export files: ORA-39094: Parallel execution not supported in this database edition..
15) I copy the PL/SQL, comment this part:
--begin
--dbms_datapump.set_parallel(handle => h1, degree => 1);
--end;
I run it in an iSQL*Plus Release 10.1.0.2,
It shows:
declare
ERROR at line 1:
ORA-39001: invalid argument value
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
ORA-06512: at "SYS.DBMS_DATAPUMP", line 2486
ORA-06512: at "SYS.DBMS_DATAPUMP", line 2718
ORA-06512: at line 23
Could anybody help? Thanks a lot!
Qian -
T61 keeps poping up 'An invalid argument was encountered.' dialog
Just since this week, my T61 started poping up very annoying dialog titled ' Power Manager Gauge', which was saying: An invalid argument was encountered. I don't know where this problem come from as T61 works fine since I bought it in Oct. 2007. Could anyone tell me (or give me a hint) what this problem is and where I can find the solution?
My computer system info is as following:
System Make: ThinkPad T61 8897CTO
OS: Windows Vista SP2 en-us
RAM: 2GB
Battery: 6 cell battery
ThinkVantage software: All updated to the latest via ThinkVantage System Update
Installed software: Adobe Acrobat 9 Pro Extended, Adobe Photoshop CS4, MS Office Enterprise 2007...
Your help will be greatly appreciated.I'm having the same problem on my T61. It just recently started to happen. It seems to occur randomly and anytime that I try to access the Thinkpad Power Manager. I'll try to uninstall the Thinkpad Power Manager program and download and reinstall it. I never had the problem while running Vista 64-bit, and it only recently started while running Win7 64-bit. I'll let you know what happens after reinstallation.
UPDATE: I uninstalled and reinstalled the Thinkpad Power Manager and, after the required restart, all is back to normal with no more irritating '...invalid argument...' messages. -
Invalid arguments in call for an Application Module
We are writing a web-app which has two packages in our BC4J project, each with an Application Module. One of these app modules contains business components for objects owned by the user ILOGNET and the other for objects owned by the user EAGLE. We are allowing users to logon and connect to the database as themselves by specifying username and password dynamically as attributes of each instance of both application modules.
The problem we are having is that for a particular JSP sometimes when we deploy, we get an "invalid arguments in call" error. Other times, it doesn't seem to be a problem. The user I am testing with has Oracle roles that have privileges to view all the necessary objects. I'm just not sure why it seems to be temperamental like this. Does anyone have any ideas ? The code for the problem JSP is shown below.
Thanks for any help :
<%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
<%@ page contentType="text/html;charset=windows-1252"%>
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<link rel="stylesheet" type="text/css" href="../style/style.css">
<TITLE>
Commenting Subject Administration Portlet
</TITLE>
<script language="JavaScript">
var g_valid = false;
function get_validate()
var el_subject = document.getElementById("id_subject");
el_subject.value = pro_trim(el_subject.value);
if (el_subject.value == "")
alert("Subject is a required field");
g_valid = false;
else
g_valid = true;
function pro_trim(p_in)
var s_remaining = p_in;
while (s_remaining.charAt(s_remaining.length - 1) == ' ')
s_remaining = s_remaining.substring(0, s_remaining.length - 1);
while (s_remaining.charAt(0) == ' ')
s_remaining = s_remaining.substring(1, s_remaining.length);
return s_remaining;
</script>
</HEAD>
<body class="portlet">
<jbo:ApplicationModule id="am_subjectAdmin" configname="eagle.EagleModule.EagleModuleLocal" releasemode="Stateful" username="<%=request.getRemoteUser()%>" password='<%=(String)session.getValue("PASSWORD")%>' />
<jbo:DataSource id="ds_enditems" orderbyclause="eiacodxa" rangesize="4" appid="am_subjectAdmin" viewobject="EIACSELECTView" />
<table class="portlet" width="100%" cellpadding=10 cellspacing=0>
<tr class="portlet-title">
<td>
Commenting Subject Administration Portlet
</td>
</tr>
<tr class="portlet-body" height="100%">
<td>
<table width="100%" align="center">
<tr>
<td height="50"></td>
</tr>
<tr>
<td>
<form name="frm_subject" action="cls_comment_subject" method="post" onSubmit="get_validate();return g_valid;">
<table>
<tr>
<td width="150">End Item :</td>
<td align="left">
<jbo:InputSelect datasource="ds_enditems" dataitem="Eiacodxa" displaydatasource="ds_enditems" displaydataitem="Eiacodxa" displayvaluedataitem="Eiacodxa" ></jbo:InputSelect>
</td>
<td align="right">Subject Type :</td>
<td align="left">
<select name="type">
<option value="C">Comment
<option value="R">Response
</select>
</td>
<td width="250"></td>
</tr>
<tr>
<td width="150">Subject Title :</td>
<td colspan="3">
<input id="id_subject" type="text" name="subject" size="100" maxlength="255">
</td>
</tr>
<tr>
<td colspan="4" align="right">
<input type="Submit" value="Submit Subject">
<input type="Reset" value=" Clear ">
</td>
</tr>
<tr>
<td height="250">
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</HTML><jbo:ReleasePageResources />
Regards,
Joe MellorsI'd forgotten all about this until now when it just happened again. Seems strange that it works fine a lot of the time. It only seems to happen with one of the two Application Module's in the project.
Here is the call stack. I'd appreciate any help.
Thanks,
Joe
JBO-30003: The application pool (eagle.EagleModule.EagleModuleLocal) failed to checkout an application module due to the following exception:
oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:193)
at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:116)
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:290)
at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:208)
at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:63)
at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:53)
at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:615)
at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:815)
at oracle.jbo.server.NullDBTransactionImpl.initTxn(NullDBTransactionImpl.java:489)
at oracle.jbo.server.NullDBTransactionImpl.connect(NullDBTransactionImpl.java:367)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:201)
at oracle.jbo.common.ampool.ApplicationPoolImpl.connect(ApplicationPoolImpl.java:2304)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1096)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:1669)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:289)
at oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag(ApplicationModuleTag.java:181)
at org.apache.jsp.mp_0005fdt$jsp._jspService(mp_0005fdt$jsp.java:83)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:531)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:536)
## Detail 0 ##
java.sql.SQLException: invalid arguments in call
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:185)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:227)
at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:973)
at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:197)
at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:353)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:457)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:332)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:162)
at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:116)
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:290)
at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:208)
at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:63)
at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:53)
at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:615)
at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:815)
at oracle.jbo.server.NullDBTransactionImpl.initTxn(NullDBTransactionImpl.java:489)
at oracle.jbo.server.NullDBTransactionImpl.connect(NullDBTransactionImpl.java:367)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:201)
at oracle.jbo.common.ampool.ApplicationPoolImpl.connect(ApplicationPoolImpl.java:2304)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1096)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:1669)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:289)
at oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag(ApplicationModuleTag.java:181)
at org.apache.jsp.mp_0005fdt$jsp._jspService(mp_0005fdt$jsp.java:83)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:531)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:536) -
ORA-39001: invalid argument value dbms_datapump.open
Hello,
I'm trying to import objects in a tablespace from a remote database.
The link source.de is working, but the dbms_datapump.open statements fails with below errors
SQL> var h number;
SQL> exec :h := dbms_datapump.open (operation => 'IMPORT',job_mode => 'TABLESPACE', remote_link => 'source.de');
BEGIN :h := dbms_datapump.open (operation => 'IMPORT',job_mode => 'TABLESPACE', remote_link => 'source.de'); END;
ERROR at line 1:
ORA-39001: invalid argument value
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
ORA-06512: at "SYS.DBMS_DATAPUMP", line 2953
ORA-06512: at "SYS.DBMS_DATAPUMP", line 4603
ORA-06512: at line 1
When I describe dbms_datapump.open:
FUNCTION OPEN RETURNS NUMBER
Argument Name Type In/Out Default?
OPERATION VARCHAR2 IN
JOB_MODE VARCHAR2 IN
REMOTE_LINK VARCHAR2 IN DEFAULT
JOB_NAME VARCHAR2 IN DEFAULT
VERSION VARCHAR2 IN DEFAULT
COMPRESSION NUMBER IN DEFAULT
Anyone familier with this problem?
Regards,
TimORA-39001: invalid argument value, could be because of the db_link (is not seen by the owner of the code, by the schema which has the rights to run the code).
You can take a look at:
<p>
http://www.oracle-home.ro/Oracle_Database/10g_New_Features/Schema_refresh_DP.html</p> -
Oracle.jms.AQjmsException: invalid arguments in call
Hi
Has anyone seen this error before?
Environment Configuration:
APP SERVER 9.0.4 (OUT 0F BOX CONFIG)
JDK 1.4
RED HAT ENTERPRISE SERVER 3.0
COMPAC DL380
ON VM SOFTWARE
DB 9.2.0.4
HP-UX 11i
SUPERDOME
Error logs:
[18-06-04 10:27:20] [AJPRequestHandler-ApplicationServerThread-137] - [bcc.sde.common.jms.pool.QueueConnectionPool]
[getQueueConnection] :Using pooled queue connection for factory:
java:comp/resource/SDEJMS/QueueConnectionFactories/SDEQUEUETAB
[18-06-04 10:27:20] [AJPRequestHandler-ApplicationServerThread-137] - [bcc.sde.common.jms.pool.QueueSessionPool]
[createQueueSession] :Failed to create queue session: oracle.jms.AQjmsException: invalid arguments in call
[18-06-04 10:27:20] [AJPRequestHandler-ApplicationServerThread-137] - [bcc.sde.common.jms.BytesMessageWriter]
[writeBytesMessage] :Failed to write message onto queue: java:comp/resource/SDEJMS/Queues/SDEDEV_LOGQUEUE using queue
factory: java:comp/resource/SDEJMS/QueueConnectionFactories/SDEQUEUETAB - bcc.sde.common.jms.pool.JMSPoolException:
QueueSessionPool.createQueueSession() failed to create queue session - oracle.jms.AQjmsException: invalid arguments in call
[18-06-04 10:27:20] [AJPRequestHandler-ApplicationServerThread-137] - [bcc.sde.sil.common.log.silInteractionLogger] [log]
:silInteractionLogger.log() Exception writing ServiceExecutionRecord to JMS queue: bcc.sde.common.exception.SDEException:
Failed to write message onto queue: java:comp/resource/SDEJMS/Queues/SDEDEV_LOGQUEUE using queue factory:
java:comp/resource/SDEJMS/QueueConnectionFactories/SDEQUEUETAB - bcc.sde.common.jms.pool.JMSPoolException:
QueueSessionPool.createQueueSession() failed to create queue session - oracle.jms.AQjmsException: invalid arguments in
call: QueueSessionPool.createQueueSession() failed to create queue session - oracle.jms.AQjmsException: invalid arguments
in call;
---> nested: bcc.sde.common.jms.pool.JMSPoolException: QueueSessionPool.createQueueSession() failed to create queue
session - oracle.jms.AQjmsException: invalid arguments in call
[18-06-04 10:27:20] [AJPRequestHandler-ApplicationServerThread-137] - [bcc.sde.sil.bids.api.sql.BidsSQLInterface]
[logInteractionRecord] :Failed to log interaction record: bcc.sde.common.exception.SDEException: silInteractionLogger.log()
Exception writing ServiceExecutionRecord to JMS queue: bcc.sde.common.exception.SDEException: Failed to write message onto
queue: java:comp/resource/SDEJMS/Queues/SDEDEV_LOGQUEUE using queue factory:
java:comp/resource/SDEJMS/QueueConnectionFactories/SDEQUEUETAB - bcc.sde.common.jms.pool.JMSPoolException:
QueueSessionPool.createQueueSession() failed to create queue session - oracle.jms.AQjmsException: invalid arguments in
call: QueueSessionPool.createQueueSession() failed to create queue session - oracle.jms.AQjmsException: invalid arguments
in call;
---> nested: bcc.sde.common.jms.pool.JMSPoolException: QueueSessionPool.createQueueSession() failed to create queue
session - oracle.jms.AQjmsException: invalid arguments in call
Database error with same error message:
ORA-17433 - invalid arguments in call
http://www.doc.gold.ac.uk/oracle/doc/java.817/a83724/ermesap3.htm
Code causing problem:
queueConnection = queueConnectionPool.getQueueConnection(queueConnectionFactoryName, runningExternal);
queueSession = queueConnection.createQueueSession(TRANSACTIONAL, AUTO_ACK_MODE);I am facing the same problem. Have you figured out what the cause was? Thanks,
-
TS1368 " Cannot connect to I Tunes store. Invalid argument "
Using iPhone mobile:
When I tried to update an App, listed by the AppStore App, as needing an update, I received this pop-up message: "Cannot connect to ITunes Store. invalid argument."
What might I do to correct the problem?
• I have created a new password,
• I have shut down and restarted the App
• I have shut down and restarted my iPhone,
• I have been told to log in to ITunes Store but don't know how.
Baffled and needing guidance.
PapaNeufYou can look through Apple's support article that addresses this issue.
http://support.apple.com/kb/TS1368
This "fix" was working for some users recently.
Go to Settings>General>Date and Time>Set Automatically>Off. Set the date one year ahead. Try to update the apps again. If you get an error message, go back to the settings. Correct the date and time (set automatically) then go back and try to update the apps again.
Maybe you are looking for
-
Hi Experts, I want to prepare a new custom report in which the PO number should appear. I was advised to use EKBE table. On checking I found that I can pass only Material doc# and Fiscal Year and No company code field is found. Is it reliable to use
-
Can I add photos from camera roll to photostream to sync to iMac?
Trying to think of the easiest way to get some pics from my iPhone 5 to my iMac, and also to get them off my iPhone to free up some iCloud storage space. Is it possible to add some of my pics to a photostream and then on my iMac get them out of the p
-
Dynamic Update in real time with slider control
We have requirements to display complex data in a graphical format. So far this has gone well by leveraging ADF and DVT components (dvt:Map, dvt:gauge, dvt:bargraph, af:tables, af:inputNumberSlider, etc.); however, we recently have been asked to add
-
Before when I checked my email, the number of new messages would be displayed on the email icon on my screen. Now it doesnt show up, even tho there are new, unopen messages in my mailbox. I've tried powering off & Hard reset. Anyone else had this
-
2 iPhones and 2 Apple Watches on the same Apple ID
My household has 2 iPhones and 2 Apple Watches on the same Apple ID. When using the Apple Watch to contact one another (taps, drawings, heartbeat), the alert is duplicated on both Apple Watches. Is there a fix to this? iMessage has a setting that all