Config 9iDS in linux os
hi,
I am new to linux environment, successfully installed oracle iDS 9i in Linux advance server. now my problem is how to invoke form designer and reports.
expecting helps
thanks in advance
The number one problem you are likely to run into will be related to OS packages which are installed or not installed. It is important that you use the versions noted in the Installation Guide. This includes the kernel version. If you attempt to use versions which are too new or too old, you likely will have problems.
Here is the URL to the Application Server Installation Guide. Whether you are installing a complete Infrastructure and Middle Tier or just Forms/Reports Services, the installation guide still applies. There is also a Forms/Reports Services doc, but this one is more complete.
http://download.oracle.com/docs/cd/B15790_08/docs.htm
Be aware that version 10.1.2 is old, so it will not be certified/supported on newer OS versions. So this may create a problem for you too. Here is the certification guide which will show you which OS versions were tested.
http://www.oracle.com/technetwork/middleware/ias/downloads/as-certification-r2-101202-095871.html
Similar Messages
-
9iDS for Linux - OWB, Disco Admin etc are missing from download
I've just installed 9iDS release 2 on a laptop running SuSE 8.0 and Oracle 9i release 2 Enterprise Edition.
As my work primarily involves 9i database and OWB 9i, I was to say the least dissappointed that 9iDS for Linux does not include OWB, or for that matter Disco Admin or Reports Admin.
When you go to download 9iDS for Linux, the download page says "This download includes the full distribution of Oracle9iDS", and the previous page (which lists all the elements of the download, next to the links for Windows, Linux, HP-UX and so on) does not in any way indicate that OWB is not included in the download.
There is, separately downloadable, an 'early adopters' release of OWB for Linux, but this does not include the bridging technology to Discoverer, Express and 9i OLAP. As it's 'early adopted' presumably it's not too stable.
Has anyone used this? Has anyone tried using a laptop purely with Linux on it as a way of using 9iDS? Does anyone at Oracle know when a full release of 9iDS, with all the elements found in the Windows release, will be made available? In the meantime, Oracle should clearly state on the Linux download page that not all the elements of 9iDS are found in the Linux version.
Mark Rittman
Plus Consultancy.I don't know the answer, but Designer will never be ported to Linux : It is a Windoze stuff...and without Designer...i will never be able to do 100% Linux :(
-
I have a problem regarding Oracle 9iDS under Linux AS 2.1.
I have installed Oracle 9iDS under Linux AS 2.1.
When i run Form builder the forms builder runs in light blue. It is its deault behaviour or i have mede any mistake. Can i change this colour scheme?
My second question is regarding to Jinitator.
Tell me how to install and configure it.
Many Thanks in advance.
Regards,
M.Usman Latifwhich browser you have configured..use netscape.., it will check for the jinitator, if it doesn't get it will go to sun java and down load for you..
default blue colour is right no issues..
good luck.. -
I'm trying to install 9iDS for linux the installation goes smooth until 76% where oracle is linking libraries.
I get this error:
Error in invoking target bld_install of makefile /ors9ids/oracle/app/9.0.2/reports/lib/ins_reports.mk
After ignoring it gives me another error that involves forms.
Here is the error: /ors9ids/oracle/app/9.0.2/forms90/lib/ins_forms.mk
Can you guys help me with that?
Thanks
MarcelMarcel,
I believe this is a known issue on Linux:-
Problem:
On Linux systems, you may see an error similar to the following when attempting to perform a
client-side or server-side installation from the Oracle Universal Installer:
error in invoking target install of makefile $ORACLE_HOME/plsql/lib/ins_plsql.mk (or other components)
Workaround:
Proceed as follows:
1.Open a new terminal session.
2.Set the ORACLE_HOME environment variable.
3.Change directory (cd) to $ORACLE_HOME/bin.
4.Take a backup copy of the file genclntsh.
5.Edit the file genclntsh by changing
LD_SELF_CONTAINED="-z defs"
to read:
LD_SELF_CONTAINED=""
6.Save the changes and exit the editor.
7.Regenerate the client shared libraries by entering the following at the OS prompt to execute
the file, and wait for it to complete:
./genclntsh
8.On the error dialog, click Retry.
David -
Where I can get flex-config.xml in Linux machine
Hell All,
We are using Linux machine as OS for portal.
Normally we can get flex-config.xml at UNIX machine atj2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\portalapps\co
m.sap.vc.mmcompiler\res\root\WEB-INF\flex\flex-config.xml location in UNIX machine.
But irj is not there is Linux machine.
Can anybody help me?
Regards,
Sonal DubeyHi Sonal,
As mentioned in the SAP note 886209, that is the route to find this file, what i recommend you is to check the Server in this path ... \cluster\*server0*\apps\sap...
Kind Regards,
Luis -
9iDS on Linux ,konqueror browser
Hi ALL ,
I Have Installed Oracle 9iDS & Oracle 9i database on
Red Hat Linux 7.3 , I Have Installed Netscape 7.0
because it comes with Java2 , at Present I am using
netscape to run the forms , but I Want to use Konqueror ,
Can any one help me configuring it
ThanksMarcel,
I believe this is a known issue on Linux:-
Problem:
On Linux systems, you may see an error similar to the following when attempting to perform a
client-side or server-side installation from the Oracle Universal Installer:
error in invoking target install of makefile $ORACLE_HOME/plsql/lib/ins_plsql.mk (or other components)
Workaround:
Proceed as follows:
1.Open a new terminal session.
2.Set the ORACLE_HOME environment variable.
3.Change directory (cd) to $ORACLE_HOME/bin.
4.Take a backup copy of the file genclntsh.
5.Edit the file genclntsh by changing
LD_SELF_CONTAINED="-z defs"
to read:
LD_SELF_CONTAINED=""
6.Save the changes and exit the editor.
7.Regenerate the client shared libraries by entering the following at the OS prompt to execute
the file, and wait for it to complete:
./genclntsh
8.On the error dialog, click Retry.
David -
When desktops had parrellel ports HP 4 plus would config to my linux machine(ubunto) but now that most desktops use USB ports, USB to parrellel cords to not work at all or work for six weeks then go hair wire. Geting a "w2 invailid pers" error and can not print. is this an issue of cheap cables or is this an issue of something else?
Early LaserJet printers supported PCL (levels 3, 4 or 5); some models (designated with suffix 'M' on older devices) also supported PostScript.
Most modern LaserJet printers (except for the cheap 'host-based' ones) support all three 'traditional' PDLs: PCL5 (5e for monochrome; 5c for colour); PCL6 (a.k.a. PCL XL); PostScript often referred to as PS).
"Invalid Personality" errors indicate that the printer is receiving a print job which uses a Page Description Language (PDL) which is not supported by the printer, or (perhaps) that the personality has been to to something other than Auto, via the front panel menu system (if it has one).
I've no idea what PDLs are supported by the Laser 4 Plus. -
Error installing package on Linux using SDM.
Hello Everyone...
I am having an issue getting a package installed on RHEL using the SDM. The package I'm trying to install is BP SAP CRM 5.0 SP01. The error I'm getting is as follows (shortened for space and info reasons):
DeploymentActionException: The substitution of deployment parameter variables failed.The following variables could not be substituted because theyare not known by the SDM-Repository:com.sap.cm.shareTo fix this problem go to the SDM-Repository-View of the SDM GUIand define substitution values for these variables or correct thetype information. Please note these are not typos or gramatical errors. This is verbatim from the error message.
If I take a look at Deployment Parameter Substitutions ==> Public substitution variables, I do not see a com.sap.cm.share defined anywhere, but I have never had to define anything while installing this under Windows in the past with identical settings in the SDM GUI.
Is this just a simple matter of defining the variable, or could this be a permissions/config issue with Linux? If it does need defining, if anyone has any ideas what the variables should be would be greatly appreciated.
Thanks in advance!Just an FYI, the answer to this was found over at Re: Troublshooting While Deploying CRM 5.0 BP on Enterprise Portal 7.0 A word of warning, the parameter variable needs to be listed as Com.sap.cm.share (just as it is listed in the post). I had been trying it as com.sap.cm.share, and it would not work when I tried to save it. Also, for those new to Linux, you need to use the / character, not the \ character as shown on the forum post if you are installing it under Linux.
-
How to install Oracle9iDS on linux (Step by step)
Hi friends,
Can you tell me how to install 9iDS on linux?
Take care,
TarekFor howto
www.suse.com/oracle -
I used aura to install linux-grsec, and after a while it said failed due to unresolved dependancies (gradm and linux-pax-flags). So I installed the two missing packages also using aura, and it finished without errors. Second installation of linux-grsec went also with no errors, but after reboot it gave me kernel panic.
Here is the photo of kernel panic:
grsec kernel panic]https://imagizer.ima … /c61m.jpg]
mod edit [ewaller] changed link to over sized picture to url link https://wiki.archlinux.org/index.php/Fo … s_and_Code
Last edited by ewaller (2014-02-19 14:15:46)The list of packages included quite some KDE binaries. Your login hanged on the next binary hit by this problem. You have to convert all binaries from PT_GNU_STACK to PT_PAX_FLAGS to make it work. One method is trial and error (check dmesg). The other method is doing this for the entire system.
The binary your box hangs on has PT_GNU_STACK. One dangerous method is to scan the entire system for the GNU_STACK and convert it with paxctl if it exists. Another method which I post here does this uncondinionally:
find /usr/bin /usr/sbin /usr/lib -type f -print0 | xargs -0 paxctl -c
Make a backup of all your data. The program gives output like this:
file leafpad had a PT_GNU_STACK program header, converted
To be really honest, I have no idea how does old PT_GNU_STACK sections got there in the first place. Paxctl should not create those. Did you use chpax by any chance? Furthermore, did you modify the .config of the linux-grsec package? -
Designer on Unix/Linux?
Is there any plan to move Designer and Repository Client functionality to Linux and Unix desktops? I was very disappointed to see 9iDS for Linux is basically JDev, Forms and Reports.
I understand that JDeveloper has an addin for SCM but that's not what I'm looking for.
I want an automated method to retrieve source code from SCM compile it and deploy it to an application server .. without a human involved.
It sounds to me that this is not possible in a Linux/Unix and I would have to use a windows machine in the middle in order to retrieve the code (Using Command Line Version). Everything else can be done in the Linux/Unix environment.
Is this correct? -
[AMD Catalyst] problem with "major" file
Hi, I'm using now the free driver xf86-video-ati for my [Radeon 9200 SE] card, and for several reasons, I want to switch to the proprietary driver, Catalyst.
I followed all the steps of the wiki, but when I "startx", it display:
ukiDynamicMajor = failed to open /proc/ati/major
I would precise that the command "modprobe fglrx" says "fglrx is not a valid expression". I hesitated to use aticonfig, but people say that creating one xorg.cong is bad; thus I have deleted this option.
What I have done:
pacman -S catalyst-hook catalyst-utils catalyst-libgl opencl-catalyst (install succeed)
pacman -R xf86-video-intel xf86-input-evdev (uninstall succeed exept for xf86-input-evdev because of his dependence on xorg-server)
modprobe fglrx (doesn't work)
touch /etc/modules-load.d/catalyst.conf (the file already exist)
less /etc/modules-load.d/catalyst.conf ("fglrx")
touch /etc/X11/xorg-conf.d/20-catalyst.conf
nano /etc/X11/xorg-conf.d/20-catalyst.conf
[quote]
Section "Device"
Identifier "Card0"
Driver "fglrx"
VendorName "ATI Technologies Inc"
BusID "PCI:1:00:1"
EndSection
[/quote]
rnmod radeon (doesn't work => rnmod is not a valid program)
touch /etc/modprobe.d/radeon_blacklist (sucessful)
echo /etc/modprobe.d/radeon_blacklist "blacklist radeon"( sucessful)
Config:
uname -a
Linux archlinux-desktop 3.14.3-1-ARCH #1 SMP PREEMPT Tue May 6 22:45:18 CEST 2014 i686 GNU/Linux
lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 645xx (rev 51)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] AGP Port (virtual PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] LPC Controller (rev 14)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2/3 SMBus controller
00:02.3 FireWire (IEEE 1394): Silicon Integrated Systems [SiS] FireWire Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 IDE Controller
00:02.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS7012 AC'97 Sound Controller (rev a0)
00:03.0 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.2 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.3 USB controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:0f.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV280 [Radeon 9200 SE] (rev 01)
01:00.1 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] RV280 [Radeon 9200 SE] (Secondary) (rev 01)
dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.14.3-1-ARCH (nobody@var-lib-archbuild-testing-i686-tobias) (gcc version 4.9.0 (GCC) ) #1 SMP PREEMPT Tue May 6 22:45:18 CEST 2014
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001ffeffff] usable
[ 0.000000] BIOS-e820: [mem 0x000000001fff0000-0x000000001fff2fff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x000000001fff3000-0x000000001fffffff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000ffffffff] reserved
[ 0.000000] Notice: NX (Execute Disable) protection missing in CPU!
[ 0.000000] SMBIOS 2.3 present.
[ 0.000000] DMI: Packard Bell NEC 00000000000000000000000, BIOS F2 10/15/2003
[ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000000] e820: last_pfn = 0x1fff0 max_arch_pfn = 0x100000
[ 0.000000] MTRR default type: uncachable
[ 0.000000] MTRR fixed ranges enabled:
[ 0.000000] 00000-9FFFF write-back
[ 0.000000] A0000-BFFFF uncachable
[ 0.000000] C0000-CAFFF write-protect
[ 0.000000] CB000-EFFFF uncachable
[ 0.000000] F0000-FFFFF write-through
[ 0.000000] MTRR variable ranges enabled:
[ 0.000000] 0 base 000000000 mask FE0000000 write-back
[ 0.000000] 1 base 0D0000000 mask FF8000000 write-combining
[ 0.000000] 2 disabled
[ 0.000000] 3 disabled
[ 0.000000] 4 disabled
[ 0.000000] 5 disabled
[ 0.000000] 6 disabled
[ 0.000000] 7 disabled
[ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[ 0.000000] found SMP MP-table at [mem 0x000f5370-0x000f537f] mapped at [c00f5370]
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] initial memory mapped: [mem 0x00000000-0x01bfffff]
[ 0.000000] Base memory trampoline at [c009b000] 9b000 size 16384
[ 0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[ 0.000000] [mem 0x00000000-0x000fffff] page 4k
[ 0.000000] init_memory_mapping: [mem 0x1f800000-0x1fbfffff]
[ 0.000000] [mem 0x1f800000-0x1fbfffff] page 2M
[ 0.000000] init_memory_mapping: [mem 0x18000000-0x1f7fffff]
[ 0.000000] [mem 0x18000000-0x1f7fffff] page 2M
[ 0.000000] init_memory_mapping: [mem 0x00100000-0x17ffffff]
[ 0.000000] [mem 0x00100000-0x003fffff] page 4k
[ 0.000000] [mem 0x00400000-0x17ffffff] page 2M
[ 0.000000] init_memory_mapping: [mem 0x1fc00000-0x1ffeffff]
[ 0.000000] [mem 0x1fc00000-0x1ffeffff] page 4k
[ 0.000000] BRK [0x01798000, 0x01798fff] PGTABLE
[ 0.000000] RAMDISK: [mem 0x1efe2000-0x1f302fff]
[ 0.000000] ACPI: RSDP 000f7520 000014 (v00 GBT )
[ 0.000000] ACPI: RSDT 1fff3000 00002C (v01 GBT AWRDACPI 42302E31 AWRD 01010101)
[ 0.000000] ACPI: FACP 1fff3040 000074 (v01 GBT AWRDACPI 42302E31 AWRD 01010101)
[ 0.000000] ACPI: DSDT 1fff30c0 003104 (v01 GBT AWRDACPI 00001000 MSFT 0100000C)
[ 0.000000] ACPI: FACS 1fff0000 000040
[ 0.000000] ACPI: APIC 1fff6200 000068 (v01 GBT AWRDACPI 42302E31 AWRD 01010101)
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] 0MB HIGHMEM available.
[ 0.000000] 511MB LOWMEM available.
[ 0.000000] mapped low ram: 0 - 1fff0000
[ 0.000000] low ram: 0 - 1fff0000
[ 0.000000] BRK [0x01799000, 0x01799fff] PGTABLE
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x00001000-0x00ffffff]
[ 0.000000] Normal [mem 0x01000000-0x1ffeffff]
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00001000-0x0009efff]
[ 0.000000] node 0: [mem 0x00100000-0x1ffeffff]
[ 0.000000] On node 0 totalpages: 130958
[ 0.000000] free_area_init_node: node 0, pgdat c15fc600, node_mem_map dfbf0020
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 3998 pages, LIFO batch:0
[ 0.000000] Normal zone: 992 pages used for memmap
[ 0.000000] Normal zone: 126960 pages, LIFO batch:31
[ 0.000000] Using APIC driver default
[ 0.000000] ACPI: PM-Timer IO Port: 0x1008
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] disabled)
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[ 0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 2, version 20, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 dfl dfl)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ2 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] smpboot: Allowing 2 CPUs, 1 hotplug CPUs
[ 0.000000] nr_irqs_gsi: 40
[ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[ 0.000000] e820: [mem 0x20000000-0xfebfffff] available for PCI devices
[ 0.000000] Booting paravirtualized kernel on bare hardware
[ 0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:2 nr_node_ids:1
[ 0.000000] PERCPU: Embedded 14 pages/cpu @dfbd0000 s33792 r0 d23552 u57344
[ 0.000000] pcpu-alloc: s33792 r0 d23552 u57344 alloc=14*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129934
[ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=14bd8feb-04a9-4b92-b3cb-798729208c52 rw quiet
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Initializing CPU#0
[ 0.000000] allocated 1048440 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] Initializing HighMem for node 0 (00000000:00000000)
[ 0.000000] Memory: 507120K/523832K available (4446K kernel code, 470K rwdata, 1280K rodata, 568K init, 956K bss, 16712K reserved, 0K highmem)
[ 0.000000] virtual kernel memory layout:
fixmap : 0xfff15000 - 0xfffff000 ( 936 kB)
pkmap : 0xff800000 - 0xffc00000 (4096 kB)
vmalloc : 0xe07f0000 - 0xff7fe000 ( 496 MB)
lowmem : 0xc0000000 - 0xdfff0000 ( 511 MB)
.init : 0xc160f000 - 0xc169d000 ( 568 kB)
.data : 0xc1457c92 - 0xc160eb40 (1755 kB)
.text : 0xc1000000 - 0xc1457c92 (4447 kB)
[ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[ 0.000000] SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU dyntick-idle grace-period acceleration is enabled.
[ 0.000000] Dump stacks of tasks blocking RCU-preempt GP.
[ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS:2304 nr_irqs:512 16
[ 0.000000] CPU 0 irqstacks, hard=df408000 soft=df40a000
[ 0.000000] Console: colour dummy device 80x25
[ 0.000000] console [tty0] enabled
[ 0.000000] tsc: Fast TSC calibration using PIT
[ 0.000000] tsc: Detected 2625.859 MHz processor
[ 0.003353] Calibrating delay loop (skipped), value calculated using timer frequency.. 5253.53 BogoMIPS (lpj=8752863)
[ 0.003360] pid_max: default: 32768 minimum: 301
[ 0.003378] ACPI: Core revision 20131218
[ 0.008679] ACPI: All ACPI Tables successfully acquired
[ 0.010020] Security Framework initialized
[ 0.010032] Yama: becoming mindful.
[ 0.010064] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.010069] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.010456] Initializing cgroup subsys memory
[ 0.010473] Initializing cgroup subsys devices
[ 0.010478] Initializing cgroup subsys freezer
[ 0.010482] Initializing cgroup subsys net_cls
[ 0.010485] Initializing cgroup subsys blkio
[ 0.010546] CPU0: Hyper-Threading is disabled
[ 0.010555] mce: CPU supports 4 MCE banks
[ 0.010568] CPU0: Thermal monitoring enabled (TM1)
[ 0.010592] Last level iTLB entries: 4KB 128, 2MB 128, 4MB 128
Last level dTLB entries: 4KB 64, 2MB 0, 4MB 64, 1GB 0
tlb_flushall_shift: 6
[ 0.018898] ftrace: allocating 18912 entries in 37 pages
[ 0.026857] Enabling APIC mode: Flat. Using 1 I/O APICs
[ 0.027167] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.062643] smpboot: CPU0: Intel(R) Celeron(R) CPU 2.60GHz (fam: 0f, model: 02, stepping: 09)
[ 0.063333] Performance Events: Netburst events, Netburst P4/Xeon PMU driver.
[ 0.063333] ... version: 0
[ 0.063333] ... bit width: 40
[ 0.063333] ... generic registers: 18
[ 0.063333] ... value mask: 000000ffffffffff
[ 0.063333] ... max period: 0000007fffffffff
[ 0.063333] ... fixed-purpose events: 0
[ 0.063333] ... event mask: 000000000003ffff
[ 0.076710] x86: Booted up 1 node, 1 CPUs
[ 0.076719] smpboot: Total of 1 processors activated (5253.53 BogoMIPS)
[ 0.077148] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
[ 0.077427] devtmpfs: initialized
[ 0.077889] PM: Registering ACPI NVS region [mem 0x1fff0000-0x1fff2fff] (12288 bytes)
[ 0.079963] pinctrl core: initialized pinctrl subsystem
[ 0.080103] RTC time: 16:19:41, date: 05/12/14
[ 0.080222] NET: Registered protocol family 16
[ 0.080459] cpuidle: using governor ladder
[ 0.080464] cpuidle: using governor menu
[ 0.080574] ACPI: bus type PCI registered
[ 0.080581] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.092329] PCI: PCI BIOS revision 2.10 entry at 0xfb1c0, last bus=1
[ 0.092335] PCI: Using configuration type 1 for base access
[ 0.093965] bio: create slab <bio-0> at 0
[ 0.094273] ACPI: Added _OSI(Module Device)
[ 0.094279] ACPI: Added _OSI(Processor Device)
[ 0.094282] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.094286] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.098161] ACPI: Interpreter enabled
[ 0.098184] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20131218/hwxface-580)
[ 0.098193] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20131218/hwxface-580)
[ 0.098216] ACPI: (supports S0 S3 S4 S5)
[ 0.098220] ACPI: Using IOAPIC for interrupt routing
[ 0.098299] PCI: Ignoring host bridge windows from ACPI; if necessary, use "pci=use_crs" and report a bug
[ 0.098438] ACPI: No dock devices found.
[ 0.108047] ACPI: \_PR_.CPU1: failed to get CPU APIC ID.
[ 0.108184] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 0.108198] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI]
[ 0.108210] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[ 0.108371] acpi PNP0A03:00: host bridge window [io 0x0000-0x047f] (ignored)
[ 0.108378] acpi PNP0A03:00: host bridge window [io 0x0490-0x0cf7] (ignored)
[ 0.108381] acpi PNP0A03:00: host bridge window [io 0x0d00-0x0fff] (ignored)
[ 0.108385] acpi PNP0A03:00: host bridge window [io 0x1100-0xffff] (ignored)
[ 0.108389] acpi PNP0A03:00: host bridge window [mem 0x000a0000-0x000bffff] (ignored)
[ 0.108393] acpi PNP0A03:00: host bridge window [mem 0x20000000-0xfebfffff] (ignored)
[ 0.108397] PCI: root bus 00: using default resources
[ 0.108402] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[ 0.108726] PCI host bridge to bus 0000:00
[ 0.108736] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.108741] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.108746] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffff]
[ 0.108768] pci 0000:00:00.0: [1039:0648] type 00 class 0x060000
[ 0.108783] pci 0000:00:00.0: reg 0x10: [mem 0xd0000000-0xd7ffffff]
[ 0.109012] pci 0000:00:01.0: [1039:0003] type 01 class 0x060400
[ 0.109196] pci 0000:00:02.0: [1039:0008] type 00 class 0x060100
[ 0.109281] pci 0000:00:02.0: Enabling SiS 96x SMBus
[ 0.109447] pci 0000:00:02.1: [1039:0016] type 00 class 0x0c0500
[ 0.109507] pci 0000:00:02.1: reg 0x20: [io 0x1400-0x141f]
[ 0.109684] pci 0000:00:02.3: [1039:7007] type 00 class 0x0c0010
[ 0.109711] pci 0000:00:02.3: reg 0x10: [mem 0xeb000000-0xeb000fff]
[ 0.109771] pci 0000:00:02.3: reg 0x30: [mem 0x00000000-0x0001ffff pref]
[ 0.109811] pci 0000:00:02.3: supports D1 D2
[ 0.109815] pci 0000:00:02.3: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.110016] pci 0000:00:02.5: [1039:5513] type 00 class 0x010180
[ 0.110085] pci 0000:00:02.5: reg 0x20: [io 0xf000-0xf00f]
[ 0.110284] pci 0000:00:02.6: [1039:7013] type 00 class 0x070300
[ 0.110311] pci 0000:00:02.6: reg 0x10: [io 0xd000-0xd0ff]
[ 0.110325] pci 0000:00:02.6: reg 0x14: [io 0xd400-0xd47f]
[ 0.110410] pci 0000:00:02.6: supports D1 D2
[ 0.110414] pci 0000:00:02.6: PME# supported from D3hot D3cold
[ 0.110506] pci 0000:00:02.6: System wakeup disabled by ACPI
[ 0.110605] pci 0000:00:02.7: [1039:7012] type 00 class 0x040100
[ 0.110631] pci 0000:00:02.7: reg 0x10: [io 0xd800-0xd8ff]
[ 0.110645] pci 0000:00:02.7: reg 0x14: [io 0xdc00-0xdc7f]
[ 0.110730] pci 0000:00:02.7: supports D1 D2
[ 0.110734] pci 0000:00:02.7: PME# supported from D3hot D3cold
[ 0.110907] pci 0000:00:03.0: [1039:7001] type 00 class 0x0c0310
[ 0.110929] pci 0000:00:03.0: reg 0x10: [mem 0xeb001000-0xeb001fff]
[ 0.111078] pci 0000:00:03.0: System wakeup disabled by ACPI
[ 0.111177] pci 0000:00:03.1: [1039:7001] type 00 class 0x0c0310
[ 0.111199] pci 0000:00:03.1: reg 0x10: [mem 0xeb002000-0xeb002fff]
[ 0.111356] pci 0000:00:03.1: System wakeup disabled by ACPI
[ 0.111454] pci 0000:00:03.2: [1039:7001] type 00 class 0x0c0310
[ 0.111475] pci 0000:00:03.2: reg 0x10: [mem 0xeb003000-0xeb003fff]
[ 0.111623] pci 0000:00:03.2: System wakeup disabled by ACPI
[ 0.111734] pci 0000:00:03.3: [1039:7002] type 00 class 0x0c0320
[ 0.111760] pci 0000:00:03.3: reg 0x10: [mem 0xeb004000-0xeb004fff]
[ 0.111850] pci 0000:00:03.3: PME# supported from D0 D3hot D3cold
[ 0.112045] pci 0000:00:0f.0: [10ec:8139] type 00 class 0x020000
[ 0.112070] pci 0000:00:0f.0: reg 0x10: [io 0xe000-0xe0ff]
[ 0.112083] pci 0000:00:0f.0: reg 0x14: [mem 0xeb005000-0xeb0050ff]
[ 0.112169] pci 0000:00:0f.0: supports D1 D2
[ 0.112173] pci 0000:00:0f.0: PME# supported from D1 D2 D3hot D3cold
[ 0.112437] pci 0000:01:00.0: [1002:5964] type 00 class 0x030000
[ 0.112464] pci 0000:01:00.0: reg 0x10: [mem 0xd8000000-0xdfffffff pref]
[ 0.112476] pci 0000:01:00.0: reg 0x14: [io 0xc000-0xc0ff]
[ 0.112488] pci 0000:01:00.0: reg 0x18: [mem 0xe9000000-0xe900ffff]
[ 0.112521] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0001ffff pref]
[ 0.112565] pci 0000:01:00.0: supports D1 D2
[ 0.112661] pci 0000:01:00.1: [1002:5d44] type 00 class 0x038000
[ 0.112682] pci 0000:01:00.1: reg 0x10: [mem 0xe0000000-0xe7ffffff pref]
[ 0.112695] pci 0000:01:00.1: reg 0x14: [mem 0xe9010000-0xe901ffff]
[ 0.112764] pci 0000:01:00.1: supports D1 D2
[ 0.112888] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 0.112896] pci 0000:00:01.0: bridge window [io 0xc000-0xcfff]
[ 0.112904] pci 0000:00:01.0: bridge window [mem 0xe8000000-0xe9ffffff]
[ 0.112910] pci 0000:00:01.0: bridge window [mem 0xd8000000-0xe7ffffff pref]
[ 0.112924] pci_bus 0000:00: on NUMA node 0
[ 0.113106] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
[ 0.113252] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
[ 0.113436] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
[ 0.113579] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
[ 0.113723] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
[ 0.113876] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
[ 0.114026] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
[ 0.114178] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
[ 0.114969] ACPI: Enabled 2 GPEs in block 00 to 0F
[ 0.115202] vgaarb: device added: PCI:0000:01:00.0,decodes=io+mem,owns=io+mem,locks=none
[ 0.115209] vgaarb: loaded
[ 0.115211] vgaarb: bridge control possible 0000:01:00.0
[ 0.115301] PCI: Using ACPI for IRQ routing
[ 0.115309] PCI: pci_cache_line_size set to 64 bytes
[ 0.115368] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff]
[ 0.115373] e820: reserve RAM buffer [mem 0x1fff0000-0x1fffffff]
[ 0.115616] NetLabel: Initializing
[ 0.115622] NetLabel: domain hash size = 128
[ 0.115624] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.115655] NetLabel: unlabeled traffic allowed by default
[ 0.115740] Switched to clocksource refined-jiffies
[ 0.129136] pnp: PnP ACPI init
[ 0.129177] ACPI: bus type PNP registered
[ 0.129597] system 00:00: Plug and Play ACPI device, IDs PNP0c01 (active)
[ 0.130147] system 00:01: [io 0x04d0-0x04d1] has been reserved
[ 0.130157] system 00:01: [io 0x0290-0x029f] has been reserved
[ 0.130162] system 00:01: [io 0x0800-0x0805] has been reserved
[ 0.130170] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
[ 0.130207] pnp 00:02: [dma 4]
[ 0.130277] pnp 00:02: Plug and Play ACPI device, IDs PNP0200 (active)
[ 0.130404] pnp 00:03: Plug and Play ACPI device, IDs PNP0b00 (active)
[ 0.130503] pnp 00:04: Plug and Play ACPI device, IDs PNP0800 (active)
[ 0.130621] pnp 00:05: Plug and Play ACPI device, IDs PNP0c04 (active)
[ 0.130910] pnp 00:06: [dma 2]
[ 0.131028] pnp 00:06: Plug and Play ACPI device, IDs PNP0700 (active)
[ 0.131556] pnp 00:07: Plug and Play ACPI device, IDs PNP0501 (active)
[ 0.132089] pnp 00:08: Plug and Play ACPI device, IDs PNP0501 (active)
[ 0.132675] pnp 00:09: [dma 3]
[ 0.132810] pnp 00:09: Plug and Play ACPI device, IDs PNP0401 (active)
[ 0.133009] pnp 00:0a: Plug and Play ACPI device, IDs PNP0303 (active)
[ 0.133074] pnp: PnP ACPI: found 11 devices
[ 0.133080] ACPI: bus type PNP unregistered
[ 0.174911] Switched to clocksource acpi_pm
[ 0.174951] pci 0000:00:02.3: BAR 6: assigned [mem 0x20000000-0x2001ffff pref]
[ 0.174962] pci 0000:01:00.0: BAR 6: assigned [mem 0xe8000000-0xe801ffff pref]
[ 0.174969] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 0.174975] pci 0000:00:01.0: bridge window [io 0xc000-0xcfff]
[ 0.174983] pci 0000:00:01.0: bridge window [mem 0xe8000000-0xe9ffffff]
[ 0.174989] pci 0000:00:01.0: bridge window [mem 0xd8000000-0xe7ffffff pref]
[ 0.174999] pci_bus 0000:00: resource 4 [io 0x0000-0xffff]
[ 0.175003] pci_bus 0000:00: resource 5 [mem 0x00000000-0xffffffff]
[ 0.175007] pci_bus 0000:01: resource 0 [io 0xc000-0xcfff]
[ 0.175010] pci_bus 0000:01: resource 1 [mem 0xe8000000-0xe9ffffff]
[ 0.175013] pci_bus 0000:01: resource 2 [mem 0xd8000000-0xe7ffffff pref]
[ 0.175076] NET: Registered protocol family 2
[ 0.175437] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.175457] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.175477] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.175521] TCP: reno registered
[ 0.175531] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.175541] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.175688] NET: Registered protocol family 1
[ 0.397112] pci 0000:01:00.0: Boot video device
[ 0.397124] PCI: CLS 32 bytes, default 64
[ 0.397238] Unpacking initramfs...
[ 0.517648] Freeing initrd memory: 3204K (defe2000 - df303000)
[ 0.517809] apm: BIOS not found.
[ 0.517886] Scanning for low memory corruption every 60 seconds
[ 0.518572] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.533762] HugeTLB registered 4 MB page size, pre-allocated 0 pages
[ 0.536896] zbud: loaded
[ 0.537090] VFS: Disk quotas dquot_6.5.2
[ 0.537200] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.537623] msgmni has been set to 996
[ 0.537789] Key type big_key registered
[ 0.538268] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.538390] io scheduler noop registered
[ 0.538397] io scheduler deadline registered
[ 0.538493] io scheduler cfq registered (default)
[ 0.538712] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 0.538757] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 0.538862] vesafb: mode is 1280x1024x32, linelength=5120, pages=0
[ 0.538866] vesafb: scrolling: redraw
[ 0.538870] vesafb: Truecolor: size=0:8:8:8, shift=0:16:8:0
[ 0.539366] vesafb: framebuffer at 0xd8000000, mapped to 0xe0800000, using 5120k, total 5120k
[ 0.646493] Console: switching to colour frame buffer device 160x64
[ 0.753177] fb0: VESA VGA frame buffer device
[ 0.753268] GHES: HEST is not enabled!
[ 0.753308] isapnp: Scanning for PnP cards...
[ 1.066034] isapnp: No Plug & Play device found
[ 1.066191] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.086839] 00:07: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 1.107535] 00:08: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[ 1.108786] rtc_cmos 00:03: RTC can wake from S4
[ 1.109049] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
[ 1.109090] rtc_cmos 00:03: alarms up to one year, 242 bytes nvram
[ 1.109177] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.109384] TCP: cubic registered
[ 1.109696] NET: Registered protocol family 10
[ 1.110235] NET: Registered protocol family 17
[ 1.110539] Using IPI No-Shortcut mode
[ 1.110887] registered taskstats version 1
[ 1.111374] Magic number: 14:861:337
[ 1.111396] tty tty58: hash matches
[ 1.111477] rtc_cmos 00:03: setting system clock to 2014-05-12 16:19:42 UTC (1399911582)
[ 1.111561] PM: Hibernation image not present or could not be loaded.
[ 1.112337] Freeing unused kernel memory: 568K (c160f000 - c169d000)
[ 1.112374] Write protecting the kernel text: 4448k
[ 1.112407] Write protecting the kernel read-only data: 1284k
[ 1.132515] random: systemd-tmpfile urandom read with 0 bits of entropy available
[ 1.140455] systemd-udevd[40]: starting version 212
[ 1.240350] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
[ 1.240356] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 1.240605] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 1.249861] Floppy drive(s): fd0 is 1.44M
[ 1.263944] FDC 0 is a post-1991 82077
[ 1.295454] SCSI subsystem initialized
[ 1.312358] ACPI: bus type USB registered
[ 1.312456] usbcore: registered new interface driver usbfs
[ 1.312497] usbcore: registered new interface driver hub
[ 1.316781] usbcore: registered new device driver usb
[ 1.317900] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.318313] ehci-pci: EHCI PCI platform driver
[ 1.319280] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.319680] ohci-pci: OHCI PCI platform driver
[ 1.327015] libata version 3.00 loaded.
[ 1.363547] firewire_ohci 0000:00:02.3: added OHCI v1.0 device as card 0, 4 IR + 6 IT contexts, quirks 0x0
[ 1.364218] ehci-pci 0000:00:03.3: EHCI Host Controller
[ 1.364240] ehci-pci 0000:00:03.3: new USB bus registered, assigned bus number 1
[ 1.364332] ehci-pci 0000:00:03.3: irq 23, io mem 0xeb004000
[ 1.373423] ehci-pci 0000:00:03.3: USB 2.0 started, EHCI 1.00
[ 1.373943] hub 1-0:1.0: USB hub found
[ 1.373981] hub 1-0:1.0: 6 ports detected
[ 1.375001] ohci-pci 0000:00:03.0: OHCI PCI host controller
[ 1.375023] ohci-pci 0000:00:03.0: new USB bus registered, assigned bus number 2
[ 1.375100] ohci-pci 0000:00:03.0: irq 20, io mem 0xeb001000
[ 1.429251] hub 2-0:1.0: USB hub found
[ 1.429296] hub 2-0:1.0: 2 ports detected
[ 1.429636] pata_sis 0000:00:02.5: version 0.5.2
[ 1.429683] pata_sis 0000:00:02.5: SiS 962/963 MuTIOL IDE UDMA133 controller
[ 1.437030] scsi0 : pata_sis
[ 1.443413] scsi1 : pata_sis
[ 1.443626] ata1: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xf000 irq 14
[ 1.443633] ata2: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xf008 irq 15
[ 1.444146] ohci-pci 0000:00:03.1: OHCI PCI host controller
[ 1.444168] ohci-pci 0000:00:03.1: new USB bus registered, assigned bus number 3
[ 1.444242] ohci-pci 0000:00:03.1: irq 21, io mem 0xeb002000
[ 1.453047] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[ 1.499191] hub 3-0:1.0: USB hub found
[ 1.499232] hub 3-0:1.0: 2 ports detected
[ 1.499756] ohci-pci 0000:00:03.2: OHCI PCI host controller
[ 1.499778] ohci-pci 0000:00:03.2: new USB bus registered, assigned bus number 4
[ 1.499856] ohci-pci 0000:00:03.2: irq 22, io mem 0xeb003000
[ 1.520042] tsc: Refined TSC clocksource calibration: 2625.851 MHz
[ 1.552850] hub 4-0:1.0: USB hub found
[ 1.552893] hub 4-0:1.0: 2 ports detected
[ 1.603787] ata1.00: ATA-7: Maxtor 6Y080L0, YAR41BW0, max UDMA/133
[ 1.603796] ata1.00: 160086528 sectors, multi 16: LBA
[ 1.617092] ata1.00: configured for UDMA/133
[ 1.617362] scsi 0:0:0:0: Direct-Access ATA Maxtor 6Y080L0 YAR4 PQ: 0 ANSI: 5
[ 1.733392] usb 1-4: new high-speed USB device number 3 using ehci-pci
[ 1.861345] hub 1-4:1.0: USB hub found
[ 1.861759] hub 1-4:1.0: 4 ports detected
[ 1.863604] firewire_core 0000:00:02.3: created device fw0: GUID 00000d610024cc70, S400
[ 1.906938] ata2.00: ATAPI: HL-DT-STDVD-ROM GDR8162B, 0017, max UDMA/66
[ 1.906951] ata2.01: ATAPI: LITE-ON DVD+RW LDW-401S, E9S3, max UDMA/33
[ 1.920261] ata2.00: configured for UDMA/66
[ 1.933596] ata2.01: configured for UDMA/33
[ 1.942307] scsi 1:0:0:0: CD-ROM HL-DT-ST DVD-ROM GDR8162B 0017 PQ: 0 ANSI: 5
[ 1.943253] scsi 1:0:1:0: CD-ROM LITE-ON DVD+RW LDW-401S E9S3 PQ: 0 ANSI: 5
[ 1.968652] sd 0:0:0:0: [sda] 160086528 512-byte logical blocks: (81.9 GB/76.3 GiB)
[ 1.968905] sd 0:0:0:0: [sda] Write Protect is off
[ 1.968913] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 1.969022] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1.979035] sr0: scsi3-mmc drive: 48x/48x cd/rw xa/form2 cdda tray
[ 1.979044] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 1.979566] sr 1:0:0:0: Attached scsi CD-ROM sr0
[ 1.991510] sr1: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
[ 1.991993] sr 1:0:1:0: Attached scsi CD-ROM sr1
[ 2.009048] sda: sda1 sda2 sda3 < sda5 sda6 >
[ 2.010569] sd 0:0:0:0: [sda] Attached SCSI disk
[ 2.143550] usb 2-1: new low-speed USB device number 2 using ohci-pci
[ 2.345412] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.358710] usbcore: registered new interface driver usbhid
[ 2.358717] usbhid: USB HID core driver
[ 2.361517] input: HID 04d9:048e as /devices/pci0000:00/0000:00:03.0/usb2/2-1/2-1:1.0/0003:04D9:048E.0001/input/input1
[ 2.361837] hid-generic 0003:04D9:048E.0001: input,hidraw0: USB HID v1.10 Mouse [HID 04d9:048e] on usb-0000:00:03.0-1/input0
[ 2.407135] usb 1-4.4: new high-speed USB device number 4 using ehci-pci
[ 2.500521] usb-storage 1-4.4:1.0: USB Mass Storage device detected
[ 2.500774] scsi2 : usb-storage 1-4.4:1.0
[ 2.502128] usbcore: registered new interface driver usb-storage
[ 2.520155] Switched to clocksource tsc
[ 3.175339] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
[ 3.505428] scsi 2:0:0:0: Direct-Access USB DISK 2.0 PMAP PQ: 0 ANSI: 4
[ 3.507279] sd 2:0:0:0: [sdb] 15273600 512-byte logical blocks: (7.82 GB/7.28 GiB)
[ 3.508020] sd 2:0:0:0: [sdb] Write Protect is off
[ 3.508029] sd 2:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 3.508769] sd 2:0:0:0: [sdb] No Caching mode page found
[ 3.509434] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 3.513361] random: nonblocking pool is initialized
[ 3.514387] sd 2:0:0:0: [sdb] No Caching mode page found
[ 3.515049] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 3.517301] sdb: sdb1 sdb2
[ 3.520401] sd 2:0:0:0: [sdb] No Caching mode page found
[ 3.521391] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 3.522153] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[ 3.928631] systemd[1]: systemd 212 running in system mode. (+PAM -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ +SECCOMP -APPARMOR)
[ 3.929099] systemd[1]: Detected architecture 'x86'.
[ 3.937340] systemd[1]: Set hostname to <archlinux-desktop>.
[ 5.174046] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[ 5.175398] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 5.175650] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 5.175707] systemd[1]: Starting Remote File Systems.
[ 5.175758] systemd[1]: Reached target Remote File Systems.
[ 5.175820] systemd[1]: Starting Encrypted Volumes.
[ 5.175867] systemd[1]: Reached target Encrypted Volumes.
[ 5.175954] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[ 5.176267] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 5.176359] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[ 5.176504] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 5.176555] systemd[1]: Starting Swap.
[ 5.176602] systemd[1]: Reached target Swap.
[ 5.176652] systemd[1]: Expecting device dev-disk-by\x2duuid-4e223aa4\x2d3894\x2d41bc\x2db82c\x2d955ae89b3eb2.device...
[ 5.176796] systemd[1]: Expecting device dev-disk-by\x2duuid-b7ca07ac\x2d5ceb\x2d40d6\x2db55c\x2ded651e31f452.device...
[ 5.176850] systemd[1]: Starting Root Slice.
[ 5.208364] systemd[1]: Created slice Root Slice.
[ 5.208422] systemd[1]: Starting User and Session Slice.
[ 5.209187] systemd[1]: Created slice User and Session Slice.
[ 5.209244] systemd[1]: Starting Device-mapper event daemon FIFOs.
[ 5.209403] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ 5.209451] systemd[1]: Starting Delayed Shutdown Socket.
[ 5.209585] systemd[1]: Listening on Delayed Shutdown Socket.
[ 5.209635] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ 5.209740] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 5.209789] systemd[1]: Starting LVM2 metadata daemon socket.
[ 5.209917] systemd[1]: Listening on LVM2 metadata daemon socket.
[ 5.209982] systemd[1]: Starting udev Kernel Socket.
[ 5.210180] systemd[1]: Listening on udev Kernel Socket.
[ 5.210249] systemd[1]: Starting udev Control Socket.
[ 5.210366] systemd[1]: Listening on udev Control Socket.
[ 5.210428] systemd[1]: Starting Journal Socket.
[ 5.210621] systemd[1]: Listening on Journal Socket.
[ 5.210717] systemd[1]: Starting System Slice.
[ 5.211489] systemd[1]: Created slice System Slice.
[ 5.211583] systemd[1]: Started File System Check on Root Device.
[ 5.211623] systemd[1]: Starting system-systemd\x2dfsck.slice.
[ 5.212405] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 5.212459] systemd[1]: Mounting Temporary Directory...
[ 5.239615] systemd[1]: Starting system-getty.slice.
[ 5.240697] systemd[1]: Created slice system-getty.slice.
[ 5.240838] systemd[1]: Mounting Debug File System...
[ 5.279740] systemd[1]: Started Load Kernel Modules.
[ 5.296122] systemd[1]: Starting Apply Kernel Variables...
[ 5.297870] systemd[1]: Starting Setup Virtual Console...
[ 5.299634] systemd[1]: Mounting POSIX Message Queue File System...
[ 5.301446] systemd[1]: Mounting Configuration File System...
[ 5.344473] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[ 5.346155] systemd[1]: Mounted FUSE Control File System.
[ 5.346271] systemd[1]: Mounting Huge Pages File System...
[ 5.370976] systemd[1]: Starting Set Up Additional Binary Formats...
[ 5.372655] systemd[1]: Starting udev Coldplug all Devices...
[ 5.374485] systemd[1]: Starting Journal Service...
[ 5.376393] systemd[1]: Started Journal Service.
[ 5.926924] systemd-udevd[120]: starting version 212
[ 6.249395] EXT4-fs (sda5): re-mounted. Opts: data=ordered
[ 7.438155] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input2
[ 7.438167] ACPI: Power Button [PWRB]
[ 7.438350] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[ 7.438360] ACPI: Power Button [PWRF]
[ 7.585684] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 7.625549] parport_pc 00:09: reported by Plug and Play ACPI
[ 7.625639] parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
[ 7.658989] Linux agpgart interface v0.103
[ 7.722256] sis96x_smbus 0000:00:02.1: SiS96x SMBus base address: 0x1400
[ 7.809304] [drm] Initialized drm 1.1.0 20060810
[ 7.958917] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[ 7.958969] 8139cp 0000:00:0f.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip, use 8139too
[ 7.980566] mousedev: PS/2 mouse device common for all mice
[ 7.980931] 8139too: 8139too Fast Ethernet driver 0.9.28
[ 7.984132] 8139too 0000:00:0f.0 eth0: RealTek RTL8139 at 0xe1724000, 00:0d:61:22:1d:3c, IRQ 16
[ 7.985877] agpgart-sis 0000:00:00.0: SiS chipset [1039/0648]
[ 8.016252] agpgart-sis 0000:00:00.0: AGP aperture is 128M @ 0xd0000000
[ 8.116064] input: PC Speaker as /devices/platform/pcspkr/input/input4
[ 8.251837] microcode: CPU0 sig=0xf29, pf=0x4, revision=0x11
[ 8.261786] microcode: Microcode Update Driver: v2.00 <[email protected]>, Peter Oruba
[ 8.279526] [drm] radeon kernel modesetting enabled.
[ 8.279631] checking generic (d8000000 500000) vs hw (d8000000 8000000)
[ 8.279639] fb: conflicting fb hw usage radeondrmfb vs VESA VGA - removing generic driver
[ 8.279680] Console: switching to colour dummy device 80x25
[ 8.301981] [drm] initializing kernel modesetting (RV280 0x1002:0x5964 0x1458:0x4032).
[ 8.302015] [drm] register mmio base: 0xE9000000
[ 8.302018] [drm] register mmio size: 65536
[ 8.302188] agpgart-sis 0000:00:00.0: AGP 3.5 bridge
[ 8.302214] agpgart-sis 0000:00:00.0: putting AGP V3 device at 0000:00:00.0 into 8x mode
[ 8.302220] agpgart-sis 0000:00:00.0: SiS delay workaround: giving bridge time to recover
[ 8.313685] agpgart-sis 0000:00:00.0: putting AGP V3 device at 0000:01:00.0 into 8x mode
[ 8.313704] radeon 0000:01:00.0: GTT: 128M 0xD0000000 - 0xD7FFFFFF
[ 8.313711] [drm] Generation 2 PCI interface, using max accessible memory
[ 8.313718] radeon 0000:01:00.0: VRAM: 128M 0x00000000D8000000 - 0x00000000DFFFFFFF (128M used)
[ 8.313742] [drm] Detected VRAM RAM=128M, BAR=128M
[ 8.313746] [drm] RAM width 64bits DDR
[ 8.318743] [TTM] Zone kernel: Available graphics memory: 255446 kiB
[ 8.318750] [TTM] Initializing pool allocator
[ 8.318762] [TTM] Initializing DMA pool allocator
[ 8.318815] [drm] radeon: 128M of VRAM memory ready
[ 8.318821] [drm] radeon: 128M of GTT memory ready.
[ 8.321257] radeon 0000:01:00.0: WB disabled
[ 8.321270] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x00000000d0000000 and cpu addr 0xe07fe000
[ 8.321276] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 8.321278] [drm] Driver supports precise vblank timestamp query.
[ 8.321311] [drm] radeon: irq initialized.
[ 8.321340] [drm] Loading R200 Microcode
[ 8.337126] ppdev: user-space parallel port driver
[ 8.350382] [drm] radeon: ring at 0x00000000D0001000
[ 8.350414] [drm] ring test succeeded in 1 usecs
[ 8.350728] [drm] ib test succeeded in 0 usecs
[ 8.351298] [drm] Radeon Display Connectors
[ 8.351305] [drm] Connector 0:
[ 8.351307] [drm] VGA-1
[ 8.351311] [drm] DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
[ 8.351313] [drm] Encoders:
[ 8.351315] [drm] CRT1: INTERNAL_DAC1
[ 8.351317] [drm] Connector 1:
[ 8.351319] [drm] SVIDEO-1
[ 8.351321] [drm] Encoders:
[ 8.351322] [drm] TV1: INTERNAL_DAC2
[ 8.481905] [drm] fb mappable at 0xD8040000
[ 8.481912] [drm] vram apper at 0xD8000000
[ 8.481914] [drm] size 8294400
[ 8.481916] [drm] fb depth is 24
[ 8.481918] [drm] pitch is 7680
[ 8.482299] fbcon: radeondrmfb (fb0) is primary device
[ 8.535240] Console: switching to colour frame buffer device 240x67
[ 8.614028] systemd-udevd[135]: renamed network interface eth0 to enp0s15
[ 8.614028] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
[ 8.614034] radeon 0000:01:00.0: registered panic notifier
[ 8.614052] [drm] Initialized radeon 2.37.0 20080528 for 0000:01:00.0 on minor 0
[ 9.523376] intel8x0_measure_ac97_clock: measured 52701 usecs (2535 samples)
[ 9.523383] intel8x0: clocking to 48000
[ 10.264223] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: data=ordered
[ 10.529887] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: data=ordered
[ 10.688972] systemd-journald[112]: Received request to flush runtime journal from PID 1
[ 11.588053] 8139too 0000:00:0f.0 enp0s15: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 130.919975] ISO 9660 Extensions: RRIP_1991A
[ 1052.318149] perf samples too long (2508 > 2500), lowering kernel.perf_event_max_sample_rate to 50100
[ 2771.015182] systemd[1]: Starting Journal Service...
[ 2773.625872] systemd-journald[112]: Received SIGTERM from PID 1 (systemd).
[ 2773.907874] systemd[1]: Unit systemd-journald.service entered failed state.
[ 2773.921616] systemd[1]: systemd-journald.service has no holdoff time, scheduling restart.
[ 2773.922423] systemd[1]: Stopping Journal Service...
[ 2773.922521] systemd[1]: Starting Journal Service...
[ 2773.924633] systemd[1]: Started Journal Service.
[ 2774.243766] systemd-journald[860]: Received request to flush runtime journal from PID 1
[ 2848.068160] perf samples too long (5003 > 4990), lowering kernel.perf_event_max_sample_rate to 25200
[ 2932.591054] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[ 2932.591064] Disabling lock debugging due to kernel taint
[ 2932.632805] <6>[fglrx] Maximum main memory to use for locked dma buffers: 427 MBytes.
[ 2932.633428] <3>[fglrx:firegl_init_device_list] *ERROR* No supported display adapters were found
[ 2932.633438] <3>[fglrx:firegl_init_module] *ERROR* firegl_init_devices failed
[ 3146.754229] <6>[fglrx] Maximum main memory to use for locked dma buffers: 427 MBytes.
[ 3146.754491] <3>[fglrx:firegl_init_device_list] *ERROR* No supported display adapters were found
[ 3146.754495] <3>[fglrx:firegl_init_module] *ERROR* firegl_init_devices failed
[ 3387.964180] <6>[fglrx] Maximum main memory to use for locked dma buffers: 427 MBytes.
[ 3387.964434] <3>[fglrx:firegl_init_device_list] *ERROR* No supported display adapters were found
[ 3387.964440] <3>[fglrx:firegl_init_module] *ERROR* firegl_init_devices failed
I have already seen this link and he explain that installing from AUR has resolved his problem, but the wiki says:
The second method you can use is the AUR; PKGBUILDs offered here are also made by Vi0L0 and are the same he uses to built packages for his repository. Lastly, you can install the driver directly from AMD.
My aim is to install Catalyst
Thank you for your helpI don't think that card is supported by AMD Catalyst anymore, even by the legacy branch...
-
[SOLVED] [makepkg] attempts to process source files multiple times
OK, so I decided I was going to update the PKGBUILD for linux-lts-tresor to the new format with separate sources for different architectures and PGP keys, having successfully done it for the nvidia packages I maintain and I get the following issue when I run mkaurball on the linux-lts-tresor PKGBUILD:
claire ~/Builds/linux-lts-tresor % mkaurball
==> Making package: linux-lts-tresor 3.14.28-1 (Fri 9 Jan 10:51:06 GMT 2015)
==> Retrieving sources...
-> Found linux-3.14.tar.xz
-> Found linux-3.14.tar.sign
-> Found patch-3.14.28.xz
-> Found patch-3.14.28.sign
-> Found config
-> Found config.x86_64
-> Found linux-lts-tresor.preset
-> Found linux-lts-tresor.install
-> Found change-default-console-loglevel.patch
-> Found 0001-Bluetooth-allocate-static-minor-for-vhci.patch
-> Found 0002-module-allow-multiple-calls-to-MODULE_DEVICE_TABLE-p.patch
-> Found 0003-module-remove-MODULE_GENERIC_TABLE.patch
-> Found 0006-genksyms-fix-typeof-handling.patch
-> Found tresor_sysfs.c
-> Found tresor-patch-3.6.2_i686
-> Found tresor-patch-3.6.2_i686.patch
-> Found tresor-patch-3.6.2_i686.patch.sig
-> Found patch-3.14.28.sign
-> Found config
-> Found config.x86_64
-> Found linux-lts-tresor.preset
-> Found linux-lts-tresor.install
-> Found change-default-console-loglevel.patch
-> Found 0001-Bluetooth-allocate-static-minor-for-vhci.patch
-> Found 0002-module-allow-multiple-calls-to-MODULE_DEVICE_TABLE-p.patch
-> Found 0003-module-remove-MODULE_GENERIC_TABLE.patch
-> Found 0006-genksyms-fix-typeof-handling.patch
-> Found tresor_sysfs.c
-> Found tresor-patch-3.8.2_aesni
-> Found tresor-patch-3.8.2_aesni.patch
-> Found tresor-patch-3.8.2_aesni.patch.sig
-> Found patch-3.14.28.sign
-> Found config
-> Found config.x86_64
-> Found linux-lts-tresor.preset
-> Found linux-lts-tresor.install
-> Found change-default-console-loglevel.patch
-> Found 0001-Bluetooth-allocate-static-minor-for-vhci.patch
-> Found 0002-module-allow-multiple-calls-to-MODULE_DEVICE_TABLE-p.patch
-> Found 0003-module-remove-MODULE_GENERIC_TABLE.patch
-> Found 0006-genksyms-fix-typeof-handling.patch
-> Found tresor_sysfs.c
==> Validating source files with sha256sums...
linux-3.14.tar.xz ... Passed
linux-3.14.tar.sign ... Skipped
patch-3.14.28.xz ... Passed
patch-3.14.28.sign ... Skipped
config ... Passed
config.x86_64 ... Passed
linux-lts-tresor.preset ... Passed
linux-lts-tresor.install ... Passed
change-default-console-loglevel.patch ... Passed
0001-Bluetooth-allocate-static-minor-for-vhci.patch ... Passed
0002-module-allow-multiple-calls-to-MODULE_DEVICE_TABLE-p.patch ... Passed
0003-module-remove-MODULE_GENERIC_TABLE.patch ... Passed
0006-genksyms-fix-typeof-handling.patch ... Passed
tresor_sysfs.c ... Passed
==> Validating source files with sha256sums...
tresor-patch-3.6.2_i686 ... Passed
tresor-patch-3.6.2_i686.patch ... Passed
tresor-patch-3.6.2_i686.patch.sig ... Skipped
==> Validating source files with sha256sums...
tresor-patch-3.8.2_aesni ... Passed
tresor-patch-3.8.2_aesni.patch ... Passed
tresor-patch-3.8.2_aesni.patch.sig ... Skipped
==> Verifying source file signatures with gpg...
linux-3.14.tar ... Passed
patch-3.14.28 ... Passed
tresor-patch-3.6.2_i686.patch ... Passed
patch-3.14.28 ... Passed
tresor-patch-3.8.2_aesni.patch ... Passed
patch-3.14.28 ... Passed
==> Entering fakeroot environment...
==> Creating source package...
-> Adding PKGBUILD...
-> Generating .SRCINFO file...
-> Adding config...
-> Adding config.x86_64...
-> Adding linux-lts-tresor.preset...
-> Adding linux-lts-tresor.install...
-> Adding change-default-console-loglevel.patch...
-> Adding 0001-Bluetooth-allocate-static-minor-for-vhci.patch...
-> Adding 0002-module-allow-multiple-calls-to-MODULE_DEVICE_TABLE-p.patch...
-> Adding 0003-module-remove-MODULE_GENERIC_TABLE.patch...
-> Adding 0006-genksyms-fix-typeof-handling.patch...
-> Adding tresor-patch-3.6.2_i686.patch...
-> Adding tresor-patch-3.6.2_i686.patch.sig...
-> Adding config...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-lts-tresor/srclinks.Qb2SC9gzL/linux-lts-tresor/config’: File exists
-> Adding config.x86_64...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-lts-tresor/srclinks.Qb2SC9gzL/linux-lts-tresor/config.x86_64’: File exists
-> Adding linux-lts-tresor.preset...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-lts-tresor/srclinks.Qb2SC9gzL/linux-lts-tresor/linux-lts-tresor.preset’: File exists
-> Adding linux-lts-tresor.install...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-lts-tresor/srclinks.Qb2SC9gzL/linux-lts-tresor/linux-lts-tresor.install’: File exists
-> Adding change-default-console-loglevel.patch...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-lts-tresor/srclinks.Qb2SC9gzL/linux-lts-tresor/change-default-console-loglevel.patch’: File exists
-> Adding 0001-Bluetooth-allocate-static-minor-for-vhci.patch...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-lts-tresor/srclinks.Qb2SC9gzL/linux-lts-tresor/0001-Bluetooth-allocate-static-minor-for-vhci.patch’: File exists
-> Adding 0002-module-allow-multiple-calls-to-MODULE_DEVICE_TABLE-p.patch...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-lts-tresor/srclinks.Qb2SC9gzL/linux-lts-tresor/0002-module-allow-multiple-calls-to-MODULE_DEVICE_TABLE-p.patch’: File exists
-> Adding 0003-module-remove-MODULE_GENERIC_TABLE.patch...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-lts-tresor/srclinks.Qb2SC9gzL/linux-lts-tresor/0003-module-remove-MODULE_GENERIC_TABLE.patch’: File exists
-> Adding 0006-genksyms-fix-typeof-handling.patch...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-lts-tresor/srclinks.Qb2SC9gzL/linux-lts-tresor/0006-genksyms-fix-typeof-handling.patch’: File exists
-> Adding tresor-patch-3.8.2_aesni.patch...
-> Adding tresor-patch-3.8.2_aesni.patch.sig...
-> Adding config...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-lts-tresor/srclinks.Qb2SC9gzL/linux-lts-tresor/config’: File exists
-> Adding config.x86_64...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-lts-tresor/srclinks.Qb2SC9gzL/linux-lts-tresor/config.x86_64’: File exists
-> Adding linux-lts-tresor.preset...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-lts-tresor/srclinks.Qb2SC9gzL/linux-lts-tresor/linux-lts-tresor.preset’: File exists
-> Adding linux-lts-tresor.install...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-lts-tresor/srclinks.Qb2SC9gzL/linux-lts-tresor/linux-lts-tresor.install’: File exists
-> Adding change-default-console-loglevel.patch...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-lts-tresor/srclinks.Qb2SC9gzL/linux-lts-tresor/change-default-console-loglevel.patch’: File exists
-> Adding 0001-Bluetooth-allocate-static-minor-for-vhci.patch...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-lts-tresor/srclinks.Qb2SC9gzL/linux-lts-tresor/0001-Bluetooth-allocate-static-minor-for-vhci.patch’: File exists
-> Adding 0002-module-allow-multiple-calls-to-MODULE_DEVICE_TABLE-p.patch...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-lts-tresor/srclinks.Qb2SC9gzL/linux-lts-tresor/0002-module-allow-multiple-calls-to-MODULE_DEVICE_TABLE-p.patch’: File exists
-> Adding 0003-module-remove-MODULE_GENERIC_TABLE.patch...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-lts-tresor/srclinks.Qb2SC9gzL/linux-lts-tresor/0003-module-remove-MODULE_GENERIC_TABLE.patch’: File exists
-> Adding 0006-genksyms-fix-typeof-handling.patch...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-lts-tresor/srclinks.Qb2SC9gzL/linux-lts-tresor/0006-genksyms-fix-typeof-handling.patch’: File exists
-> Compressing source package...
==> Leaving fakeroot environment.
==> Source package created: linux-lts-tresor (Fri 9 Jan 10:51:25 GMT 2015)
Here is the PKGBUILD:
# Maintainers:
# Claire Farron <[email protected]>
# Andes Ho <[email protected]> (Secondary Package Tester)
# Former Maintainer(s)
# Ido Rosen <[email protected]>
# xerc <aur[at]xerc.de>
# Contributor: tresor-patch-3.6.2_i686.patch and consolidation of patches
# Seth Dickson <[email protected]>
# Contributor(s) of the linux PKGBUILD
# Tobias Powalowski <[email protected]>
# Thomas Baechler <[email protected]>
### Do not edit below this line unless you know what you're doing
pkgbase=linux-lts-tresor # Build stock -lts kernel with TRESOR patches
#pkgbase=linux-custom # Build kernel with a different name
_srcname=linux-3.14
pkgname=linux-lts-tresor # placeholder
pkgdesc="Linux longterm stable kernel and modules with integrated TRESOR"
pkgver=3.14.28
pkgrel=1
arch=('i686' 'x86_64')
url="http://www1.informatik.uni-erlangen.de/tresor"
license=('GPL2')
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc')
options=('!strip')
source=("https://www.kernel.org/pub/linux/kernel/v3.x/${_srcname}.tar.xz"
"https://www.kernel.org/pub/linux/kernel/v3.x/${_srcname}.tar.sign"
"https://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz"
"https://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.sign"
# the main kernel config files
'config' 'config.x86_64'
# standard config files for mkinitcpio ramdisk
"${pkgbase}.preset"
"${pkgbase}.install"
'change-default-console-loglevel.patch'
'0001-Bluetooth-allocate-static-minor-for-vhci.patch'
'0002-module-allow-multiple-calls-to-MODULE_DEVICE_TABLE-p.patch'
'0003-module-remove-MODULE_GENERIC_TABLE.patch'
'0006-genksyms-fix-typeof-handling.patch'
'http://www1.informatik.uni-erlangen.de/filepool/projects/tresor/tresor_sysfs.c')
source_i686+=("http://www1.informatik.uni-erlangen.de/filepool/projects/tresor/tresor-patch-3.6.2_i686"
'tresor-patch-3.6.2_i686.patch'
'tresor-patch-3.6.2_i686.patch.sig')
source_x86_64+=("http://www1.informatik.uni-erlangen.de/filepool/projects/tresor/tresor-patch-3.8.2_aesni"
'tresor-patch-3.8.2_aesni.patch'
'tresor-patch-3.8.2_aesni.patch.sig')
sha256sums=('61558aa490855f42b6340d1a1596be47454909629327c49a5e4e10268065dffa'
'SKIP'
'e3c79a30ac959c84c329be5461da88a5c79c6463da30d376c27bb103aee79b51'
'SKIP'
'6291d78969d8db94525d9614fa15c6a5db97b070af50d84f68d32ecd5f40fd69'
'145a66ef4f702ed516a57d846dd00b5acac7b5cc1eff86d1e7ee6bd5a66040b2'
'003b45593f1b5cdb81ea2da6ab67deef04402eb15aae231921ff55f65948fbdd'
'edb6d4ed9ca2af1ffc15ddbf195152c219e77bd12da3ea176c5c24afc0a779d4'
'faced4eb4c47c4eb1a9ee8a5bf8a7c4b49d6b4d78efbe426e410730e6267d182'
'6d72e14552df59e6310f16c176806c408355951724cd5b48a47bf01591b8be02'
'52dec83a8805a8642d74d764494acda863e0aa23e3d249e80d4b457e20a3fd29'
'65d58f63215ee3c5f9c4fc6bce36fc5311a6c7dbdbe1ad29de40647b47ff9c0d'
'cf2e7a2d00787f754028e7459688c2755a406e632ce48b60952fa4ff7ed6f4b7'
'd6fcbd0ea7a5a4c42d326286b60bbd5b1d476b8a6752046fa28133e05351c1fe')
sha256sums_i686=('9a286a85c16ca5b6a02419af1aedbfe6e8b89bcabdcb32670ead3f26c09eadfd'
'2fb8c26e237883f39de57a264873b21bcdfc5b6b0c1e7c60cec8d141e5db33ba'
'SKIP')
sha256sums_x86_64=('54009b369b95a77ab13f6dd7cdbe22b0785b6314cae3a6c39190b48f4c4b12ce'
'6d0580f05db9cf47dd097326c2f3c0e493854493544d32692ab63290e12fc3e1'
'SKIP')
validpgpkeys=(
'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linux Torvalds
'647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman
'5F885602C7FD0951F565E27949F67298E6366A92' # Claire Farron
[[ "$CARCH" = "i686" ]] && _tresorpatch="tresor-patch-3.6.2_i686"
[[ "$CARCH" = "x86_64" ]] && _tresorpatch="tresor-patch-3.8.2_aesni"
_kernelname=${pkgbase#linux}
prepare() {
cd "${srcdir}/${_srcname}"
# add upstream patch
patch -p1 -i "${srcdir}/patch-${pkgver}"
# add latest fixes from stable queue, if needed
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
# set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
# remove this when a Kconfig knob is made available by upstream
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
patch -p1 -i "${srcdir}/change-default-console-loglevel.patch"
# Fix vhci warning in kmod (to restore every kernel maintainer's sanity)
msg "Patching source to fix vhci warning in kmod"
patch -p1 -i "${srcdir}/0001-Bluetooth-allocate-static-minor-for-vhci.patch"
# Fix atkbd aliases
msg "Patching source to fix atkbd aliases"
patch -p1 -i "${srcdir}/0002-module-allow-multiple-calls-to-MODULE_DEVICE_TABLE-p.patch"
patch -p1 -i "${srcdir}/0003-module-remove-MODULE_GENERIC_TABLE.patch"
# Fix generation of symbol CRCs
# http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dc53324060f324e8af6867f57bf4891c13c6ef18
msg "Patching source to fix generation of symbol CRCs"
patch -p1 -i "${srcdir}/0006-genksyms-fix-typeof-handling.patch"
# TRESOR Runs Encryption Securely Outside RAM
# i.e. the purpose of this package :-)
msg "Patching TRESOR for linux"
# Initialized the patched TRESOR file with the upstream patch.
cp "${srcdir}/${_tresorpatch}" "${_tresorpatch}.patched"
patch --follow-symlinks "${_tresorpatch}.patched" "${srcdir}/${_tresorpatch}.patch"
msg "Patching source with TRESOR"
patch -p1 -i "${_tresorpatch}.patched"
if [ "${CARCH}" = "x86_64" ]; then
cat "${srcdir}/config.x86_64" > ./.config
else
cat "${srcdir}/config" > ./.config
fi
if [ "${_kernelname}" != "" ]; then
sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
sed -i "s|CONFIG_LOCALVERSION_AUTO=.*|CONFIG_LOCALVERSION_AUTO=n|" ./.config
fi
# set extraversion to pkgrel
sed -ri "s|^(EXTRAVERSION =).*|\1 -${pkgrel}|" Makefile
# don't run depmod on 'make install'. We'll do this ourselves in packaging
sed -i '2iexit 0' scripts/depmod.sh
cd "${srcdir}"
cc tresor_sysfs.c -o tresor_sysfs
cd "${srcdir}/${_srcname}"
# get kernel version
make prepare
# load configuration
# Configure the kernel. Replace the line below with one of your choice.
#make menuconfig # CLI menu for configuration
#make nconfig # new CLI menu for configuration
#make xconfig # X-based configuration
#make oldconfig # using old config from previous kernel version
# ... or manually edit .config
# rewrite configuration
#yes "" | make config >/dev/null
make oldconfig
# save configuration for later reuse
# if [ "${CARCH}" = "x86_64" ]; then
# cat .config > "${startdir}/config.x86_64.last"
# else
# cat .config > "${startdir}/config.last"
# fi
build() {
cd "${srcdir}/${_srcname}"
make ${MAKEFLAGS} LOCALVERSION= bzImage modules
_package() {
true && pkgdesc="The ${pkgbase/linux/Linux} kernel and modules - stable longtime supported with integrated TRESOR"
depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
optdepends=('crda: to set the correct wireless channels of your country')
provides=("kernel26${_kernelname}=${pkgver}")
conflicts=("kernel26${_kernelname}")
replaces=("kernel26${_kernelname}")
backup=("etc/mkinitcpio.d/${pkgbase}.preset")
install=${pkgbase}.install
# TRESOR sysfs utility - not necessary but nice to have, in case someone
# enables CONFIG_TRESOR_SYSFS in a fork of this PKGBUILD...
cd "${srcdir}"
install -D -m755 tresor_sysfs "${pkgdir}/usr/bin/tresor_sysfs"
cd "${srcdir}/${_srcname}"
KARCH=x86
# get kernel version
_kernver="$(make LOCALVERSION= kernelrelease)"
_basekernel=${_kernver%%-*}
_basekernel=${_basekernel%.*}
mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot}
make LOCALVERSION= INSTALL_MOD_PATH="${pkgdir}" modules_install
cp arch/$KARCH/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgbase}"
# set correct depmod command for install
cp -f "${startdir}/${install}" "${startdir}/${install}.pkg"
true && install=${install}.pkg
sed \
-e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/" \
-e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/" \
-i "${startdir}/${install}"
# install mkinitcpio preset file for kernel
install -D -m644 "${srcdir}/${pkgbase}.preset" \
"${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"
sed \
-e "1s|'linux.*'|'${pkgbase}'|" \
-e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgbase}\"|" \
-e "s|default_image=.*|default_image=\"/boot/initramfs-${pkgbase}.img\"|" \
-e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-${pkgbase}-fallback.img\"|" \
-i "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"
# remove build and source links
rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build}
# remove the firmware
rm -rf "${pkgdir}/lib/firmware"
# gzip -9 all modules to save 100MB of space
find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \;
# make room for external modules
ln -s "../extramodules-${_basekernel}${_kernelname:--ARCH}" \
"${pkgdir}/lib/modules/${_kernver}/extramodules"
# add real version for building modules and running depmod from post_install/upgrade
mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--ARCH}"
echo "${_kernver}" > \
"${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--ARCH}/version"
# Now we call depmod...
depmod -b "${pkgdir}" -F System.map "${_kernver}"
# move module tree /lib -> /usr/lib
mkdir -p "${pkgdir}/usr"
mv "${pkgdir}/lib" "${pkgdir}/usr/"
# add vmlinux
install -D -m644 vmlinux "${pkgdir}/usr/lib/modules/${_kernver}/build/vmlinux"
_package-headers() {
true && pkgdesc="Header files and scripts for building modules for ${pkgbase/linux/Linux} kernel"
provides=("kernel26${_kernelname}-headers=${pkgver}")
conflicts=("kernel26${_kernelname}-headers")
replaces=("kernel26${_kernelname}-headers")
install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}"
cd "${srcdir}/${_srcname}"
install -D -m644 Makefile \
"${pkgdir}/usr/lib/modules/${_kernver}/build/Makefile"
install -D -m644 kernel/Makefile \
"${pkgdir}/usr/lib/modules/${_kernver}/build/kernel/Makefile"
install -D -m644 .config \
"${pkgdir}/usr/lib/modules/${_kernver}/build/.config"
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/include"
for i in acpi asm-generic config crypto drm generated keys linux math-emu \
media net pcmcia scsi sound trace uapi video xen; do
cp -a include/${i} "${pkgdir}/usr/lib/modules/${_kernver}/build/include/"
done
# copy arch includes for external modules
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/x86"
cp -a arch/x86/include "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/x86/"
# copy files necessary for later builds, like nvidia and vmware
cp Module.symvers "${pkgdir}/usr/lib/modules/${_kernver}/build"
cp -a scripts "${pkgdir}/usr/lib/modules/${_kernver}/build"
# fix permissions on scripts dir
chmod og-w -R "${pkgdir}/usr/lib/modules/${_kernver}/build/scripts"
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/.tmp_versions"
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/kernel"
cp arch/${KARCH}/Makefile "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/"
if [ "${CARCH}" = "i686" ]; then
cp arch/${KARCH}/Makefile_32.cpu \
"${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/"
fi
cp arch/${KARCH}/kernel/asm-offsets.s \
"${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/kernel/"
# add docbook makefile
install -D -m644 Documentation/DocBook/Makefile \
"${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/DocBook/Makefile"
# add dm headers
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/md"
cp drivers/md/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/md"
# add inotify.h
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/include/linux"
cp include/linux/inotify.h "${pkgdir}/usr/lib/modules/${_kernver}/build/include/linux/"
# add wireless headers
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/net/mac80211/"
cp net/mac80211/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/net/mac80211/"
# add dvb headers for external modules
# in reference to:
# http://bugs.archlinux.org/task/9912
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-core"
cp drivers/media/dvb-core/*.h \
"${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-core/"
# and...
# http://bugs.archlinux.org/task/11194
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/include/config/dvb/"
cp include/config/dvb/*.h \
"${pkgdir}/usr/lib/modules/${_kernver}/build/include/config/dvb/"
# add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new
# in reference to:
# http://bugs.archlinux.org/task/13146
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-frontends/"
cp drivers/media/dvb-frontends/lgdt330x.h \
"${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-frontends/"
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/i2c/"
cp drivers/media/i2c/msp3400-driver.h \
"${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/i2c/"
# add dvb headers
# in reference to:
# http://bugs.archlinux.org/task/20402
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/usb/dvb-usb"
cp drivers/media/usb/dvb-usb/*.h \
"${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/usb/dvb-usb/"
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-frontends"
cp drivers/media/dvb-frontends/*.h \
"${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-frontends/"
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/tuners"
cp drivers/media/tuners/*.h \
"${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/tuners/"
# add xfs and shmem for aufs building
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/fs/xfs"
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/mm"
cp fs/xfs/xfs_sb.h "${pkgdir}/usr/lib/modules/${_kernver}/build/fs/xfs/xfs_sb.h"
# copy in Kconfig files
for i in $(find . -name "Kconfig*"); do
mkdir -p "${pkgdir}"/usr/lib/modules/${_kernver}/build/`echo ${i} | sed 's|/Kconfig.*||'`
cp ${i} "${pkgdir}/usr/lib/modules/${_kernver}/build/${i}"
done
chown -R root.root "${pkgdir}/usr/lib/modules/${_kernver}/build"
find "${pkgdir}/usr/lib/modules/${_kernver}/build" -type d -exec chmod 755 {} \;
# strip scripts directory
find "${pkgdir}/usr/lib/modules/${_kernver}/build/scripts" -type f -perm -u+w 2>/dev/null | while read binary ; do
case "$(file -bi "${binary}")" in
*application/x-sharedlib*) # Libraries (.so)
/usr/bin/strip ${STRIP_SHARED} "${binary}";;
*application/x-archive*) # Libraries (.a)
/usr/bin/strip ${STRIP_STATIC} "${binary}";;
*application/x-executable*) # Binaries
/usr/bin/strip ${STRIP_BINARIES} "${binary}";;
esac
done
# remove unneeded architectures
rm -rf "${pkgdir}"/usr/lib/modules/${_kernver}/build/arch/{alpha,arc,arm,arm26,arm64,avr32,blackfin,c6x,cris,frv,h8300,hexagon,ia64,m32r,m68k,m68knommu,metag,mips,microblaze,mn10300,openrisc,parisc,powerpc,ppc,s390,score,sh,sh64,sparc,sparc64,tile,unicore32,um,v850,xtensa}
_package-docs() {
true && pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase/linux/Linux} kernel"
provides=("kernel26${_kernelname}-docs=${pkgver}")
conflicts=("kernel26${_kernelname}-docs")
replaces=("kernel26${_kernelname}-docs")
cd "${srcdir}/${_srcname}"
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build"
cp -al Documentation "${pkgdir}/usr/lib/modules/${_kernver}/build"
find "${pkgdir}" -type f -exec chmod 444 {} \;
find "${pkgdir}" -type d -exec chmod 755 {} \;
# remove a file already in linux package
rm -f "${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/DocBook/Makefile"
# true && is a workaround for AUR problem with split packages:
true && pkgname=("${pkgbase}" "${pkgbase}-headers" "${pkgbase}-docs")
for _p in ${pkgname[@]}; do
eval "package_${_p}() {
_package${_p#${pkgbase}}
done
EDIT: Here is the resulting source tarball for mkaurball.
Last edited by clfarron4 (2015-01-12 09:37:11)OK, so either I'm committing a huge stupid with both TRESOR packages or there is actually a problem with makepkg. I've done similar changes with the linux-tresor PKGBUILD and it's doing the same thing.
PKGBUILD:
# Maintainers:
# Claire Farron <[email protected]>
# Andes Ho <[email protected]> (Secondary Package Tester)
# Former Maintainer(s)
# Ido Rosen <[email protected]>
# xerc <aur[at]xerc.de>
# Contributor(s) of tresor-patch-3.6.2_i686.patch and consolidation of patches
# Seth Dickson <[email protected]>
# Contributor(s) of the linux PKGBUILD
# Tobias Powalowski <[email protected]>
# Thomas Baechler <[email protected]>
### Do not edit below this line unless you know what you're doing
pkgbase=linux-tresor # Build stock kernel with TRESOR patches
#pkgbase=linux-custom # Build kernel with a different name
_srcname=linux-3.18
pkgver=3.18.2
pkgrel=1
arch=('i686' 'x86_64')
url="http://www1.informatik.uni-erlangen.de/tresor"
license=('GPL2')
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc')
options=('!strip')
source=("https://www.kernel.org/pub/linux/kernel/v3.x/${_srcname}.tar.xz"
"https://www.kernel.org/pub/linux/kernel/v3.x/${_srcname}.tar.sign"
"https://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz"
"https://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.sign"
# the main kernel config files
'config' 'config.x86_64'
# standard config files for mkinitcpio ramdisk
"${pkgbase}.preset"
"${pkgbase}.install"
'change-default-console-loglevel.patch'
'http://www1.informatik.uni-erlangen.de/filepool/projects/tresor/tresor_sysfs.c')
source_i686+=("http://www1.informatik.uni-erlangen.de/filepool/projects/tresor/tresor-patch-3.6.2_i686"
'tresor-patch-3.6.2_i686.patch'
'tresor-patch-3.6.2_i686.patch.sig')
source_x86_64+=("http://www1.informatik.uni-erlangen.de/filepool/projects/tresor/tresor-patch-3.8.2_aesni"
'tresor-patch-3.8.2_aesni.patch'
'tresor-patch-3.8.2_aesni.patch.sig')
sha256sums=('becc413cc9e6d7f5cc52a3ce66d65c3725bc1d1cc1001f4ce6c32b69eb188cbd'
'SKIP'
'927a30c152a193d22242de21b99c9765fb0086b0aa3fabd31938ffc6e1b3f37c'
'SKIP'
'b0f867da9c07d778014c52afe2df59b86122b0d4de2ea8003303855a0750e90d'
'b76fa6691c4ab19d11e346112e8c021c88578950ed19468f115905e74cb0495e'
'e17c0209dcb887173adbb4cc69fe0799b01ed9b9b7c487d1d023daa99ee073e1'
'390c0b348c0f42ba760587e9df3098c62a3b6bd5d522eefb51c7a18f29069751'
'1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99'
'd6fcbd0ea7a5a4c42d326286b60bbd5b1d476b8a6752046fa28133e05351c1fe')
sha256sums_i686=('9a286a85c16ca5b6a02419af1aedbfe6e8b89bcabdcb32670ead3f26c09eadfd'
'800f592847d2a20679630491b8f657cb912abc65f9f2daecf804b6dc2f3b9352'
'SKIP')
sha256sums_x86_64=('54009b369b95a77ab13f6dd7cdbe22b0785b6314cae3a6c39190b48f4c4b12ce'
'9415840fe80f4e2f2b44c0762d8c650e5119fadc3cb494c4812406f6627f26c3'
'SKIP')
validpgpkeys=(
'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linux Torvalds
'647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman
'5F885602C7FD0951F565E27949F67298E6366A92' # Claire Farron
[[ "$CARCH" = "i686" ]] && _tresorpatch="tresor-patch-3.6.2_i686"
[[ "$CARCH" = "x86_64" ]] && _tresorpatch="tresor-patch-3.8.2_aesni"
_kernelname=${pkgbase#linux}
prepare() {
cd "${srcdir}/${_srcname}"
# add upstream patch
patch -p1 -i "${srcdir}/patch-${pkgver}"
# add latest fixes from stable queue, if needed
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
# set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
# remove this when a Kconfig knob is made available by upstream
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
patch -p1 -i "${srcdir}/change-default-console-loglevel.patch"
# TRESOR Runs Encryption Securely Outside RAM
# i.e. the purpose of this package :-)
msg "Patching TRESOR for linux"
# Initialized the patched TRESOR file with the upstream patch.
cp "${srcdir}/${_tresorpatch}" "${_tresorpatch}.patched"
patch --follow-symlinks "${_tresorpatch}.patched" "${srcdir}/${_tresorpatch}.patch"
msg "Patching source with TRESOR"
patch -p1 -i "${_tresorpatch}.patched"
if [ "${CARCH}" = "x86_64" ]; then
cat "${srcdir}/config.x86_64" > ./.config
else
cat "${srcdir}/config" > ./.config
fi
if [ "${_kernelname}" != "" ]; then
sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
sed -i "s|CONFIG_LOCALVERSION_AUTO=.*|CONFIG_LOCALVERSION_AUTO=n|" ./.config
fi
# set extraversion to pkgrel
sed -ri "s|^(EXTRAVERSION =).*|\1 -${pkgrel}|" Makefile
# don't run depmod on 'make install'. We'll do this ourselves in packaging
sed -i '2iexit 0' scripts/depmod.sh
cd "${srcdir}"
cc tresor_sysfs.c -o tresor_sysfs
cd "${srcdir}/${_srcname}"
# get kernel version
make prepare
# load configuration
# Configure the kernel. Replace the line below with one of your choice.
#make menuconfig # CLI menu for configuration
#make nconfig # new CLI menu for configuration
#make xconfig # X-based configuration
#make oldconfig # using old config from previous kernel version
# ... or manually edit .config
# rewrite configuration
#yes "" | make config >/dev/null
make oldconfig
# save configuration for later reuse
# if [ "${CARCH}" = "x86_64" ]; then
# cat .config > "${startdir}/config.x86_64.last"
# else
# cat .config > "${startdir}/config.last"
# fi
build() {
cd "${srcdir}/${_srcname}"
make ${MAKEFLAGS} LOCALVERSION= bzImage modules
_package() {
pkgdesc="The ${pkgbase/linux/Linux} kernel and modules with integrated TRESOR"
[ "${pkgbase}" = "linux" ] && groups=('base')
depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
optdepends=('crda: to set the correct wireless channels of your country')
provides=("kernel26${_kernelname}=${pkgver}")
conflicts=("kernel26${_kernelname}")
replaces=("kernel26${_kernelname}")
backup=("etc/mkinitcpio.d/${pkgbase}.preset")
install=${pkgbase}.install
# TRESOR sysfs utility - not necessary but nice to have, in case someone
# enables CONFIG_TRESOR_SYSFS in a fork of this PKGBUILD...
cd "${srcdir}"
install -D -m755 tresor_sysfs "${pkgdir}/usr/bin/tresor_sysfs"
cd "${srcdir}/${_srcname}"
KARCH=x86
# get kernel version
_kernver="$(make LOCALVERSION= kernelrelease)"
_basekernel=${_kernver%%-*}
_basekernel=${_basekernel%.*}
mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot}
make LOCALVERSION= INSTALL_MOD_PATH="${pkgdir}" modules_install
cp arch/$KARCH/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgbase}"
# set correct depmod command for install
cp -f "${startdir}/${install}" "${startdir}/${install}.pkg"
true && install=${install}.pkg
sed \
-e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/" \
-e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/" \
-i "${startdir}/${install}"
# install mkinitcpio preset file for kernel
install -D -m644 "${srcdir}/${pkgbase}.preset" \
"${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"
sed \
-e "1s|'linux.*'|'${pkgbase}'|" \
-e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgbase}\"|" \
-e "s|default_image=.*|default_image=\"/boot/initramfs-${pkgbase}.img\"|" \
-e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-${pkgbase}-fallback.img\"|" \
-i "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"
# remove build and source links
rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build}
# remove the firmware
rm -rf "${pkgdir}/lib/firmware"
# gzip -9 all modules to save 100MB of space
find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \;
# make room for external modules
ln -s "../extramodules-${_basekernel}${_kernelname:--ARCH}" "${pkgdir}/lib/modules/${_kernver}/extramodules"
# add real version for building modules and running depmod from post_install/upgrade
mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--ARCH}"
echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--ARCH}/version"
# Now we call depmod...
depmod -b "${pkgdir}" -F System.map "${_kernver}"
# move module tree /lib -> /usr/lib
mkdir -p "${pkgdir}/usr"
mv "${pkgdir}/lib" "${pkgdir}/usr/"
# add vmlinux
install -D -m644 vmlinux "${pkgdir}/usr/lib/modules/${_kernver}/build/vmlinux"
_package-headers() {
pkgdesc="Header files and scripts for building modules for ${pkgbase/linux/Linux} kernel"
provides=("kernel26${_kernelname}-headers=${pkgver}")
conflicts=("kernel26${_kernelname}-headers")
replaces=("kernel26${_kernelname}-headers")
install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}"
cd "${srcdir}/${_srcname}"
install -D -m644 Makefile \
"${pkgdir}/usr/lib/modules/${_kernver}/build/Makefile"
install -D -m644 kernel/Makefile \
"${pkgdir}/usr/lib/modules/${_kernver}/build/kernel/Makefile"
install -D -m644 .config \
"${pkgdir}/usr/lib/modules/${_kernver}/build/.config"
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/include"
for i in acpi asm-generic config crypto drm generated keys linux math-emu \
media net pcmcia scsi sound trace uapi video xen; do
cp -a include/${i} "${pkgdir}/usr/lib/modules/${_kernver}/build/include/"
done
# copy arch includes for external modules
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/x86"
cp -a arch/x86/include "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/x86/"
# copy files necessary for later builds, like nvidia and vmware
cp Module.symvers "${pkgdir}/usr/lib/modules/${_kernver}/build"
cp -a scripts "${pkgdir}/usr/lib/modules/${_kernver}/build"
# fix permissions on scripts dir
chmod og-w -R "${pkgdir}/usr/lib/modules/${_kernver}/build/scripts"
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/.tmp_versions"
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/kernel"
cp arch/${KARCH}/Makefile "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/"
if [ "${CARCH}" = "i686" ]; then
cp arch/${KARCH}/Makefile_32.cpu "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/"
fi
cp arch/${KARCH}/kernel/asm-offsets.s "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/kernel/"
# add docbook makefile
install -D -m644 Documentation/DocBook/Makefile \
"${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/DocBook/Makefile"
# add dm headers
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/md"
cp drivers/md/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/md"
# add inotify.h
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/include/linux"
cp include/linux/inotify.h "${pkgdir}/usr/lib/modules/${_kernver}/build/include/linux/"
# add wireless headers
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/net/mac80211/"
cp net/mac80211/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/net/mac80211/"
# add dvb headers for external modules
# in reference to:
# http://bugs.archlinux.org/task/9912
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-core"
cp drivers/media/dvb-core/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-core/"
# and...
# http://bugs.archlinux.org/task/11194
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/include/config/dvb/"
cp include/config/dvb/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/include/config/dvb/"
# add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new
# in reference to:
# http://bugs.archlinux.org/task/13146
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-frontends/"
cp drivers/media/dvb-frontends/lgdt330x.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-frontends/"
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/i2c/"
cp drivers/media/i2c/msp3400-driver.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/i2c/"
# add dvb headers
# in reference to:
# http://bugs.archlinux.org/task/20402
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/usb/dvb-usb"
cp drivers/media/usb/dvb-usb/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/usb/dvb-usb/"
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-frontends"
cp drivers/media/dvb-frontends/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-frontends/"
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/tuners"
cp drivers/media/tuners/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/tuners/"
# add xfs and shmem for aufs building
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/fs/xfs"
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/mm"
# removed in 3.17 series
# cp fs/xfs/xfs_sb.h "${pkgdir}/usr/lib/modules/${_kernver}/build/fs/xfs/xfs_sb.h"
# copy in Kconfig files
for i in $(find . -name "Kconfig*"); do
mkdir -p "${pkgdir}"/usr/lib/modules/${_kernver}/build/`echo ${i} | sed 's|/Kconfig.*||'`
cp ${i} "${pkgdir}/usr/lib/modules/${_kernver}/build/${i}"
done
chown -R root.root "${pkgdir}/usr/lib/modules/${_kernver}/build"
find "${pkgdir}/usr/lib/modules/${_kernver}/build" -type d -exec chmod 755 {} \;
# strip scripts directory
find "${pkgdir}/usr/lib/modules/${_kernver}/build/scripts" -type f -perm -u+w 2>/dev/null | while read binary ; do
case "$(file -bi "${binary}")" in
*application/x-sharedlib*) # Libraries (.so)
/usr/bin/strip ${STRIP_SHARED} "${binary}";;
*application/x-archive*) # Libraries (.a)
/usr/bin/strip ${STRIP_STATIC} "${binary}";;
*application/x-executable*) # Binaries
/usr/bin/strip ${STRIP_BINARIES} "${binary}";;
esac
done
# remove unneeded architectures
rm -rf "${pkgdir}"/usr/lib/modules/${_kernver}/build/arch/{alpha,arc,arm,arm26,arm64,avr32,blackfin,c6x,cris,frv,h8300,hexagon,ia64,m32r,m68k,m68knommu,metag,mips,microblaze,mn10300,openrisc,parisc,powerpc,ppc,s390,score,sh,sh64,sparc,sparc64,tile,unicore32,um,v850,xtensa}
_package-docs() {
pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase/linux/Linux} kernel"
provides=("kernel26${_kernelname}-docs=${pkgver}")
conflicts=("kernel26${_kernelname}-docs")
replaces=("kernel26${_kernelname}-docs")
cd "${srcdir}/${_srcname}"
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build"
cp -al Documentation "${pkgdir}/usr/lib/modules/${_kernver}/build"
find "${pkgdir}" -type f -exec chmod 444 {} \;
find "${pkgdir}" -type d -exec chmod 755 {} \;
# remove a file already in linux package
rm -f "${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/DocBook/Makefile"
pkgname=("${pkgbase}" "${pkgbase}-headers" "${pkgbase}-docs")
for _p in ${pkgname[@]}; do
eval "package_${_p}() {
$(declare -f "_package${_p#${pkgbase}}")
_package${_p#${pkgbase}}
done
Running makepkg -S to build the source tarball:
claire ~/Builds/linux-tresor % makepkg -S
==> Making package: linux-tresor 3.18.2-1 (Fri 9 Jan 17:24:58 GMT 2015)
==> Retrieving sources...
-> Downloading linux-3.18.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 77.1M 100 77.1M 0 0 2852k 0 0:00:27 0:00:27 --:--:-- 5975k
-> Downloading linux-3.18.tar.sign...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 473 100 473 0 0 1079 0 --:--:-- --:--:-- --:--:-- 1082
-> Downloading patch-3.18.2.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 40932 100 40932 0 0 48079 0 --:--:-- --:--:-- --:--:-- 48042
-> Downloading patch-3.18.2.sign...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 819 100 819 0 0 1207 0 --:--:-- --:--:-- --:--:-- 1207
-> Found config
-> Found config.x86_64
-> Found linux-tresor.preset
-> Found linux-tresor.install
-> Found change-default-console-loglevel.patch
-> Downloading tresor_sysfs.c...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2299 100 2299 0 0 28726 0 --:--:-- --:--:-- --:--:-- 29101
-> Downloading tresor-patch-3.6.2_i686...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 47050 100 47050 0 0 344k 0 --:--:-- --:--:-- --:--:-- 345k
-> Found tresor-patch-3.6.2_i686.patch
-> Found tresor-patch-3.6.2_i686.patch.sig
-> Found patch-3.18.2.sign
-> Found config
-> Found config.x86_64
-> Found linux-tresor.preset
-> Found linux-tresor.install
-> Found change-default-console-loglevel.patch
-> Found tresor_sysfs.c
-> Downloading tresor-patch-3.8.2_aesni...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 47192 100 47192 0 0 350k 0 --:--:-- --:--:-- --:--:-- 351k
-> Found tresor-patch-3.8.2_aesni.patch
-> Found tresor-patch-3.8.2_aesni.patch.sig
-> Found patch-3.18.2.sign
-> Found config
-> Found config.x86_64
-> Found linux-tresor.preset
-> Found linux-tresor.install
-> Found change-default-console-loglevel.patch
-> Found tresor_sysfs.c
==> Validating source files with sha256sums...
linux-3.18.tar.xz ... Passed
linux-3.18.tar.sign ... Skipped
patch-3.18.2.xz ... Passed
patch-3.18.2.sign ... Skipped
config ... Passed
config.x86_64 ... Passed
linux-tresor.preset ... Passed
linux-tresor.install ... Passed
change-default-console-loglevel.patch ... Passed
tresor_sysfs.c ... Passed
==> Validating source files with sha256sums...
tresor-patch-3.6.2_i686 ... Passed
tresor-patch-3.6.2_i686.patch ... Passed
tresor-patch-3.6.2_i686.patch.sig ... Skipped
==> Validating source files with sha256sums...
tresor-patch-3.8.2_aesni ... Passed
tresor-patch-3.8.2_aesni.patch ... Passed
tresor-patch-3.8.2_aesni.patch.sig ... Skipped
==> Verifying source file signatures with gpg...
linux-3.18.tar ... Passed
patch-3.18.2 ... Passed
tresor-patch-3.6.2_i686.patch ... Passed
patch-3.18.2 ... Passed
tresor-patch-3.8.2_aesni.patch ... Passed
patch-3.18.2 ... Passed
==> Entering fakeroot environment...
==> Creating source package...
-> Adding PKGBUILD...
-> Generating .SRCINFO file...
-> Adding config...
-> Adding config.x86_64...
-> Adding linux-tresor.preset...
-> Adding linux-tresor.install...
-> Adding change-default-console-loglevel.patch...
-> Adding tresor-patch-3.6.2_i686.patch...
-> Adding tresor-patch-3.6.2_i686.patch.sig...
-> Adding config...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-tresor/srclinks.W5jPjydXO/linux-tresor/config’: File exists
-> Adding config.x86_64...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-tresor/srclinks.W5jPjydXO/linux-tresor/config.x86_64’: File exists
-> Adding linux-tresor.preset...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-tresor/srclinks.W5jPjydXO/linux-tresor/linux-tresor.preset’: File exists
-> Adding linux-tresor.install...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-tresor/srclinks.W5jPjydXO/linux-tresor/linux-tresor.install’: File exists
-> Adding change-default-console-loglevel.patch...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-tresor/srclinks.W5jPjydXO/linux-tresor/change-default-console-loglevel.patch’: File exists
-> Adding tresor-patch-3.8.2_aesni.patch...
-> Adding tresor-patch-3.8.2_aesni.patch.sig...
-> Adding config...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-tresor/srclinks.W5jPjydXO/linux-tresor/config’: File exists
-> Adding config.x86_64...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-tresor/srclinks.W5jPjydXO/linux-tresor/config.x86_64’: File exists
-> Adding linux-tresor.preset...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-tresor/srclinks.W5jPjydXO/linux-tresor/linux-tresor.preset’: File exists
-> Adding linux-tresor.install...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-tresor/srclinks.W5jPjydXO/linux-tresor/linux-tresor.install’: File exists
-> Adding change-default-console-loglevel.patch...
ln: failed to create symbolic link ‘/home/claire/Builds/linux-tresor/srclinks.W5jPjydXO/linux-tresor/change-default-console-loglevel.patch’: File exists
-> Compressing source package...
==> Leaving fakeroot environment.
==> Source package created: linux-tresor (Fri 9 Jan 17:25:50 GMT 2015)
makepkg -S 24.38s user 1.40s system 48% cpu 53.129 total
Here is the resulting source tarball.
As far as I can see, they should be working PKGBUILDs too which meet the standards.
EDIT: Here's the bug report
Last edited by clfarron4 (2015-01-09 17:42:34) -
[SOLVED] No Sound except in mpd
I have a strange behaviour in my sound setup since last week or so. I didn't notice it at first, so I can't tell if it was an update. However I didn't change anything in my configuration. I don't hear any sound from my laptop (a HP Elitebook 8470w), not with the speakers nor with headphones. Except playing music with mpd, this works as usual. I also noticed, that my multimedia keys don't work anymore. Was there any recent change in alsa I missed?
What I tried:
> speaker-test -c 2
speaker-test 1.0.27.2
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 1048576
Period size range from 32 to 349526
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
0 - Front Left
1 - Front Right
Time per period = 10.940069
-> No sound
My config:
`--> uname -a
Linux tirion 3.13.7-1-ARCH #1 SMP PREEMPT Mon Mar 24 20:06:08 CET 2014 x86_64 GNU/Linux
/etc/asound.conf
# Use PulseAudio by default
pcm.!default {
type pulse
fallback "sysdefault"
hint {
show on
description "Default ALSA Output (currently PulseAudio Sound Server)"
ctl.!default {
type pulse
fallback "sysdefault"
# vim:set ft=alsaconf:
`--> aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: 92HD81B1X5 Analog [92HD81B1X5 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
~/.mpd/mpd.conf
music_directory "/home/strix/Musik"
playlist_directory "/home/strix/Musik/Playlists"
db_file "/home/strix/.mpd/mpd.db"
log_file "/home/strix/.mpd/mpd.log"
log_level "verbose"
pid_file "/home/strix/.mpd/mpd.pid"
state_file "/home/strix/.mpd/mpdstate"
save_absolute_paths_in_playlists "yes"
audio_output {
type "alsa"
name "Mukke"
mixer_type "software"
device "hw:0,0"
My multimedia keymapping was:
bindsym XF86AudioRaiseVolume exec amixer set Master 2%+
bindsym XF86AudioLowerVolume exec amixer set Master 2%-
bindsym XF86AudioMute exec amixer sset Master toggle
which does not work anymore. Funny thing is, I can modify the volume and mute/unmute my music with the following setup:
bindsym XF86AudioMute exec "pactl set-sink-mute 1 toggle"
bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume 1 +1%"
bindsym XF86AudioLowerVolume exec "pactl set-sink-volume 1 -- -1%"
Last edited by strix (2014-04-03 13:01:17).-(~)-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------(root@tirion)-
`--# fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: strix 2801 F.... pulseaudio
strix 23753 F.... mpd
/dev/snd/controlC1: strix 2801 F.... pulseaudio
If mpd blocks my audio, shouldn't it work then when I stop mpd? Because that's not the case...
Edit: When I set my mpd audio_output to this:
audio_output {
type "pulse"
name "pulse audio"
I get the following:
.-(~)-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------(root@tirion)-
`--# fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: strix 5730 F.... pulseaudio
/dev/snd/controlC1: strix 5730 F.... pulseaudio
/dev/snd/pcmC0D0p: strix 5730 F...m pulseaudio
And if it helps:
`--# lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Turks/Whistler HDMI Audio [Radeon HD 6000 Series]
Last edited by strix (2014-04-02 16:48:52) -
Package for DVC80 USB Video Interface
Gents;
Some info sources say that a linux app can be provided which will permit the DVC80 to respond to NTSC video camera input.
The DVC80 operates well in windows, permitting capture in Irfanview and a program called Dazzle.
The following data describes a possible application which may be compatible with arch. The interface in video apps, especially from USB, can be daunting. Audio is also provided on NTSC basis for camera input via the DVC80 input connectors(stereo).
The data below describes how it might be built in linux:
===============================================================
Readme for kernel 2.6.x Linux device driver for the Zoran/Nogatech USBVision Video Grabber
Author: Joerg Heckenbach <[email protected]>
Homepage: http://www.emuit.com/webcam.html (Dwaine Garden)
INTRODUCTION:
This is a driver for the USB video bridge USBVision from Zoran/Nogatech, a USB-only cable used in many "webcam" devices.
It supports streaming and capture of color or monochrome video via the Video4Linux
API. Most V4L apps are compatible with it, but a few video-conferencing programs
do not work yet.
If you need more information, please visit the Zoran/Nogatech homepage at the above URL.
usbvision-0.9.6 is the first prerelease of the 1.0 driver. I did many changes in the code and I hope I
didn't break working features on different devices. The decompression is completed. Just from time to
time there are some black or white error pixels in the image on slower machines. Maybe it is a timing problem
in the isoc interrupt routine. We stay a third of the time in interrupt and so it is likely, that the parser
is called twice. Let me cleanup the routine for performance, move the parser to user-context and add a lock.
For 2.6x kernels we can use the saa7111 from the kernel tree, so the make will not compile the saa7111-new
for these kernels. The bt819-new.c is not coded to 2.6. kernel yet.
I have tested the driver with kernel 2.6.1, 2.6.2 to 2.6.7 with devices "Hauppauge WinTV USB FM 1" and
"Pixelview PlayTV USB Pro FM" on a 600MHz PII system.
WHAT YOU NEED:
- If you want to help with the development, get the chip's specification docs at
http://www.emuit.com/webcam.html
- A Video4Linux compatible frame grabber program (I recommend xawtv or Kwintv)
xawtv is available at: http://www.in-berlin.de/User/kraxel/xawtv.html
- Radio Application to take advantage of the radio tuner. (some of the devices)
GQradio is available at: http://gqmpeg.sourceforge.net/radio.html
HOW TO INSTALL THE DEVICE DRIVER:
First way (The easy one)
It works with most modern standard installations.
a) In the usbvision directory do
make; make install; modprobe usbvision
b) Start your video application.
c) Enjoy.
If c) doesn't work, something went wrong ;-)
Second way (Not as easy as the first one)
You need this, if either usb-, i2c-, tuner- or v4l-support is missing in your kernel.
a) cp the following files into the directory /usr/src/linux/drivers/usb/media
usbvision.c
usbvision.h
saa7113.c
i2c-algo-usb.c
i2c-algo-usb.h
usbvision_ioctl.h
c) In the makefile of the dir /usr/src/linux/drivers/usb, look for the line "obj-$(CONFIG_USB_IBMCAM) +=media/",
insert an additional line then added the line for the usbvision driver
obj-$(CONFIG_USB_USBVISION) += media/
e) Add the line to the makefile in /usr/src/linux/driver/usb/media/
obj-$(CONFIG_USB_USBVISION) += usbvision.o saa7113.o i2c-algo-usb.o
f) Edit file /usr/src/linux/drivers/usb/media/Kconfig
Paste the following lines below after the entry for the IBMCAM.
---------------------------- Begin Paste ------------------------------
config USB_USBVISION
tristate "USB Zoran/Nogatech USBVision Video Grabber Support"
depends on USB && VIDEO_DEV && I2C && VIDEO_BT848 && VIDEO_DPC
---help---
Say Y here if you want to connect a Nogatech NT100x, or a Zoran
ZR36504/ZR36505 chipset based video/tv/radio grabber, to your
computer's USB port.
For more information, read <file:Documentation/usb/usbvision.txt>.
This driver needs the following support: Please enable (Y or M in config)
Video For Linux API
I2C API.
BT484 Device Support
DPC7146 demonstration board Device Support
This code is also available as a module ( = code which can be
inserted in and removed from the running kernel whenever you want).
The module will be called usbvision.o. If you want to compile it as a
module, say M here and read <file:Documentation/modules.txt>. This
video grabber has several configuration options which can be specified
when you load the module. Read <file:Documentation/usb/usbvision.txt> to
learn more.
---------------------------- End of Paste -----------------------------
h) If it is not already there (it usually is), create the video device:
mknod /dev/video c 81 0
i) Sometimes /dev/video is a symlink to /dev/video0
You will have to set permissions on this device to allow you to read/write
from it:
chmod 666 /dev/video
chmod 666 /dev/video0 (if necessary)
When configuring the kernel choose Zoran/Nogatech USBVISION video support as
module. You are going to need also to select i2c and v4l, and if your
device have tuner you need to compile also BT848 support or other modules
that compile the tuner.o module.
a) Do a make modules, make modules_install.
b) If the USB Support and the Video4Linux was compiled as modules.
modprobe usbcore.o
modprobe usb-uhci.o <OR> modprobe ohci-hcd.o
modprobe videodev.o
b) Install the modules:
modprobe usbvision- For a great radio application, try GQradio.
The usbvision module will also load the i2c-algo-usb, i2c-core, saa7111, saa7113.
VIDEO PLAYERS FOR PLAYING VIDEO OUPUT
Here is the setting to get the TV tuner working with mplayer. It does software video scaling, so you can have full screen mode with the USBVision driver.
mplayer tv:// -tv channel=43:driver=v4l:input=0:outfmt=rgb24:norm=ntsc:height=240:width=320 -flip
Here is the setting to get the TV tuner working with xawtv.
xawtv -c /dev/video0
USBVISION MODULE PARAMETERS:
NAME: isocMode
TYPE: integer (0x03, 0x14, 0x60)
DEFAULT: 0x60
DESC: The isocMode is the format mode of the data that is transmitted on the isocronous
pipe via USB. It is not depending on the connected video-hardware. Default is 0x14.
YUV422 0x03
YUV420 0x14
COMPRESSION 0x60 Enable compression for full framerate.
NAME: debug
TYPE: bitmask
DEFAULT: 0
DESC: You don't need this option unless you are a developer. If you are a developer then
you will see in the code what values do what. This is a bit mask, and you can combine any
number of bits to produce what you want:
bit 2 debug procfs
bit 3 debug video ioctl
bit 4 debug video io
bit 5 debug radio io
bit 7 debug usb frame header
bit 8 debug probe and disconnect
bit 9 debug irq
bit 10 debug handling of isochronus transfer
bit 11 debug parsing of usb data
bit 12 debug handling of scratch
bit 13 debug utility functions
bit 14 debug i2c stuff
NAME: flags
TYPE: bitmask
DEFAULT: 0
DESC: This is a bit mask, and you can combine any number of bits to produce what you want.
Usually you don't want any of extra features this option provides:
bit 0 FLAGS_RETRY_VIDIOCSYNC This bit allows to retry failed
VIDIOCSYNC ioctls without failing.
Will work with xawtv, will not
with xrealproducer. Default is
not set.
bit 1 FLAGS_MONOCHROME Activates monochrome (b/w) mode.
bit 2 FLAGS_DISPLAY_HINTS Shows colored pixels which have
magic meaning to developers.
bit 3 FLAGS_OVERLAY_STATS Shows tiny numbers on screen,
useful only for debugging.
bit 4 FLAGS_FORCE_TESTPATTERN Shows blue screen with numbers.
bit 5 FLAGS_SEPARATE_FRAMES Shows each frame separately, as
it was received from the camera.
Default (not set) is to mix the
preceding frame in to compensate
for occasional loss of Isoc data
on high frame rates.
bit 6 FLAGS_CLEAN_FRAMES Forces "cleanup" of each frame
prior to use; relevant only if
FLAGS_SEPARATE_FRAMES is set.
Default is not to clean frames,
this is a little faster but may
produce flicker if frame rate is
too high and Isoc data gets lost.
NAME: dga
TYPE: integer (0-1) boolean
DEFAULT: 1
DESC: This will set the option for DGA video to either Yes or No. Default is 1.
NAME: PowerOnAtOpen
TYPE: integer (0-1) boolean
DEFAULT: 1
DESC: This will set the device to power on automatically when opened. Default is 1.
NAME: SwitchSVideoInput
TYPE: integer (0-1) boolean
DEFAULT: 0
DESC: To help people with Black and White output with using s-video input. Some cables and input devices are wired differently.
If you are getting a black and white image when using the S-Video input. Set this parameter to 1. Default is 0, since most
devices do not have this problem.
NAME: CustomDevice
TYPE: string
DEFAULT: NULL
DESC: This will set a new Custom device
EXAMPLE: "0x0573 0x4D31 0 7113 3 PAL 1 1 1 5 -1 -1 -1 -1 -1"
FORMAT: "idVendor idProduct Interface Codec VideoChannels VideoNorm AudioChannels Radio
Tuner TunerType Vin_Reg1 Vin_Reg2 X_Offset Y_Offset Dvi_yuv"
Codec:
7111
7113
819
VideoNorm:
P or PAL
S or SECAM
N or NTSC
TunerType: (!!!use the NUMBER not the name) see latest in "/usr/src/linux/drivers/media/video/tuner.h"
TUNER_TEMIC_PAL 0 /* 4002 FH5 (3X 7756, 9483) */
TUNER_PHILIPS_PAL_I 1
TUNER_PHILIPS_NTSC 2
TUNER_PHILIPS_SECAM 3 /* you must actively select B/G, L, L` */
TUNER_ABSENT 4
TUNER_PHILIPS_PAL 5
TUNER_TEMIC_NTSC 6 /* 4032 FY5 (3X 7004, 9498, 9789) */
TUNER_TEMIC_PAL_I 7 /* 4062 FY5 (3X 8501, 9957) */
TUNER_TEMIC_4036FY5_NTSC 8 /* 4036 FY5 (3X 1223, 1981, 7686) */
TUNER_ALPS_TSBH1_NTSC 9
TUNER_ALPS_TSBE1_PAL 10
TUNER_ALPS_TSBB5_PAL_I 11
TUNER_ALPS_TSBE5_PAL 12
TUNER_ALPS_TSBC5_PAL 13
TUNER_TEMIC_4006FH5_PAL 14 /* 4006 FH5 (3X 9500, 9501, 7291) */
TUNER_ALPS_TSHC6_NTSC 15
TUNER_TEMIC_PAL_DK 16 /* 4016 FY5 (3X 1392, 1393) */
TUNER_PHILIPS_NTSC_M 17
TUNER_TEMIC_4066FY5_PAL_I 18 /* 4066 FY5 (3X 7032, 7035) */
TUNER_TEMIC_4006FN5_MULTI_PAL 19 /* B/G, I and D/K autodetected (3X 7595, 7606, 7657)*/
TUNER_TEMIC_4009FR5_PAL 20 /* incl. FM radio (3X 7607, 7488, 7711)*/
TUNER_TEMIC_4039FR5_NTSC 21 /* incl. FM radio (3X 7246, 7578, 7732)*/
TUNER_TEMIC_4046FM5 22 /* you must actively select B/G, D/K, I, L, L` ! (3X 7804, 7806, 8103, 8104)*/
TUNER_PHILIPS_PAL_DK 23
TUNER_PHILIPS_FQ1216ME 24 /* you must actively select B/G/D/K, I, L, L` */
TUNER_LG_PAL_I_FM 25
TUNER_LG_PAL_I 26
TUNER_LG_NTSC_FM 27
TUNER_LG_PAL_FM 28
TUNER_LG_PAL 29
TUNER_TEMIC_4009FN5_MULTI_PAL_FM 30 /* B/G, I and D/K autodetected (3X 8155, 8160, 8163)*/
TUNER_SHARP_2U5JF5540_NTSC 31
TUNER_Samsung_PAL_TCPM9091PD27 32
TUNER_MT2032 33
TUNER_TEMIC_4106FH5 34 /* 4106 FH5 (3X 7808, 7865)*/
TUNER_TEMIC_4012FY5 35 /* 4012 FY5 (3X 0971, 1099)*/
TUNER_TEMIC_4136FY5 36 /* 4136 FY5 (3X 7708, 7746)*/
TUNER_LG_PAL_NEW_TAPC 37
TUNER_PHILIPS_FM1216ME_MK3 38
TUNER_LG_NTSC_NEW_TAPC 39
TUNER_HITACHI_NTSC 40
TUNER_PHILIPS_PAL_MK 41
TUNER_PHILIPS_ATSC 42
TUNER_PHILIPS_FM1236_MK3 43
TUNER_PHILIPS_4IN1 44 /* ATI TV Wonder Pro - Conexant */
TUNER_MICROTUNE_4049FM5 45
TUNER_LG_NTSC_TAPE 47
TUNER_TNF_8831BGFF 48
================================================================================================
FINAL NOTE:
If your device isn't known, add it to usbvision_device_data and usbvision_table in usbvision.h.
You can speed up tuner detection, when adding "options tuner addr=your_addr" to /etc/modules.conf.
If your device isn't known, edit line (modprobe usbvision CustomDevice="0x0573 0x4D31 0 7113 3 PAL 1 1 1 5 -1 -1 -1 -1 -1")
in 'usbvision.rc' file then 'usbvision.rc start'
also edit "etc/rc.d/init.d/usbvision" if you use it
Please tell me your experience ([email protected]), or contact ([email protected]).
=============================================================
As described it is a PAL device. There are options for TV included.
I am interested in single frame capture and video stream capture via the camera input connectors(NTSC-stereo audio). My camera is a PIXERA and has video NTSC output.
The following is reference to the USBVISION tar.gz which seems to require ZORAN in the kernel. It used to be called ZORAN/NOGATECH.
It would seem necessary to enable ZORAN in the latest kernel in order to implement the device. Other requirements are likely as well.
Perhaps a pkg could be built but certainly seems a big challenge!
My DVC80 is recognized in USB.
Hopefully, it can be done in arch!
EDIT:The tar.gz reference below:
file:///root/Desktop/usbvision-0.9.8.2.tar.gzI use this one with Windows 7:http://www.chronos.com.tw/Product/E/2/USB%20Movie%20Editor/USB%20Movie%20Editor.htm
It worked bad with out of box Windows 7.
But after all updates it works very well and stable.
A nice thing is that it has little USB extender cable included. So it is less harmful for laptop usb port.
Maybe you are looking for
-
Can I recover lost contacts?
A little kid wiped out my phone a little while ago probably a month but he wiped out all the data by inputting the wrong code too many times and I was able to redownload all my lost media and stuff and most of my contacts were saved. However, a few o
-
No Scanner available in Acrobat ver. 9.x or X
Hello Community, recently I installed my new MFP Device "Koycera FS-C2126MFP+" (Color Print, Fax, Scan, Network + USB). I used the latest drivers from Kyocera website (KX Driver v6.0) for Windows 7 x64. Unfortunately my Acrobat 9.4 did not show the s
-
How to insert this css style to table
Hi, I'm a beginner in web design. I wanted to use a custom separator for my navigation bar. I searched and found this separator: http://front-back.com/pure-css-3-fancy-separator I'm interrested in the vertical-left one. I compiled the scss code to cs
-
After updating to Itunes 6 my Itunes does not open
Please can someone help. Ive updated my Itunes to Itunes 6 and now when i click on the desktop icon it says some of the files are missing so it cannot run. I have also tried to reinstall the cd that i got with my IPod. But this doesnt seem to work ei
-
ITunes sync's photo's as .itmbh
I have been using iTunes to sync my photo's to my Windows 7 laptop for years withouth issue. The photo's always used to sync as .JPG. iTunes has now started creating hundreds of files called ***.itmbh and cannot open or view these files? Why is iTune