Hi there, I need help to install a Conexant HSF 56k modem. I downloaded and run ScanModem, output files are attached, following the instructions within the ModemData file, whilst running the command line $ sudo dpkg -i hsfmodem*.deb an error occured while building driver packages, something to with SPIN_LOCK_UNLOCKED in the oscompat.h file, also i've attached the buildlog file. This is the first time i've tried to install a dialup modem in ubuntu. I was able to extract oscompat.h file from the hsfmodem_7.80.02.06full_i386.deb file, If anyone is able to help me and i need to reinsert a corrected version, then i'll need instructions on how to do that as i've never needed to build a deb file. Any assistance would be great ------ ----------- ---------- -------------- ModemData.txt Only plain text email is forwarded by the Discuss@xxxxxxxxxxxxx List Server, as HTML can contain viruses. Use as the email Subject Line: YourName, YourCountry kernel 3.0.0-14-generic With this Subject Line cogent experts will be alerted, and useful case names left in the Archive. YourCountry will enable Country specific guidance. Linux experts in YourCountry can be found through: http://www.linux.org/groups/index.html. They will know your Country's modem code, which may be essential for dialup service. Responses from Discuss@xxxxxxxxxxxxx are sometimes blocked by an Internet Provider mail filters. So in a day, also check the Archived responses at http://www.linmodems.org -------------------------- System information ---------------------------- CPU=i686, Ubuntu , ALSA_version=1.0.24 Linux version 3.0.0-14-generic (buildd@palmer) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #23-Ubuntu SMP Mon Nov 21 20:34:47 UTC 2011 scanModem update of: 2011_08_08 Distrib_ID=Ubuntu DistribCodeName=oneiric AptRepositoryStem=http://nz.archive.ubuntu.com/ubuntu/ Presently install your Linux Distributions dkms package. It provides for automated driver updates, following upgrade of your kernel. For details see http://linux.dell.com/projects.shtml#dkms There are no blacklisted modem drivers in /etc/modprobe* files Potentially useful modem drivers now loaded are: snd_hda_intel Attached USB devices are: ID 0458:0007 KYE Systems Corp. (Mouse Systems) ID 04ca:0020 Lite-On Technology Corp. If a cellphone is not detected, see http://ubuntuforums.org/archive/index.php/t-878554.html A sample report is: http://linmodems.technion.ac.il/bigarch/archive-nineth/msg00578.html If a USB modem or cellphone is attached and was not detected, please provide available information in your request to discuss@xxxxxxxxxxxxx Candidate PCI devices with modem chips are: 05:04.0 Communication controller: Conexant Systems, Inc. HSF 56k HSFi Modem (rev 01) High Definition Audio cards can host modem chips. For candidate card in slot 05:04.0, firmware information and bootup diagnostics are: PCI slot PCI ID SubsystemID Name ---------- --------- --------- -------------- 05:04.0 14f1:2f00 14f1:2004 Communication controller: Conexant Systems, Inc. HSF 56k HSFi Modem Modem interrupt assignment and sharing: --- Bootup diagnostics for card in PCI slot 05:04.0 ---- [ 0.078463] pci 0000:05:04.0: [14f1:2f00] type 0 class 0x000780 [ 0.078481] pci 0000:05:04.0: reg 10: [mem 0xfc510000-0xfc51ffff] [ 0.078491] pci 0000:05:04.0: reg 14: [io 0x1000-0x1007] [ 0.078545] pci 0000:05:04.0: PME# supported from D3hot D3cold [ 0.078550] pci 0000:05:04.0: PME# disabled The PCI slot 05:04.0 of the modem card may be disabled early in a bootup process, but then enabled later. If modem drivers load but the modem is not responsive, read DOCs/Bootup.txt about possible fixes. Send dmesg.txt along with ModemData.txt to discuss@xxxxxxxxxxxxx if help is needed. === Finished firmware and bootup diagnostics, next deducing cogent software. === Predictive diagnostics for card in bus 05:04.0: Modem chipset detected on NAME="Communication controller: Conexant Systems, Inc. HSF 56k HSFi Modem " CLASS=0780 PCIDEV=14f1:2f00 SUBSYS=14f1:2004 IRQ=11 IDENT=hsfmodem Driver=hsfmodem-drivers For candidate modem in: 05:04.0 0780 Communication controller: Conexant Systems, Inc. HSF 56k HSFi Modem Primary device ID: 14f1:2f00 Support type needed or chipset: hsfmodem For owners of a Dell PCs with Conexant HSF modems, a driver source package with full speed enabled is available, but requires driver compiling. Read DOCs/Conexant.txt Modem support packages from Linuxant include resources for compiling drivers. If an installer package matching your kernel_version is not provided, just install a generic code package. From http://www.linuxant.com/drivers/hsf/full/downloads-ubuntu-x86.php download hsfmodem-7.80.02.05full_k3.0.0_14_generic_ubuntu_i386.deb.zip Under Linux unpack with: $ unzip hsfmodem*.zip Then install with: $ sudo dpkg -i hsfmodem*.deb Subsequently, the modem should be found with $ sudo wvdialconf /etc/wvdial.conf Edit in your personal information with: $ sudo gedit /etc/wvdial.conf and try dialing out with: $ sudo wvdial. See DOCs/Testing.txt for details. The directions following below need only be pursued, if the above procedures are not adequate. Start at http://www.linuxant.com/drivers/hsf/downloads-license.php to find the hsfmodem package matching your System. For several Linux distros, there are precompiled drivers matched to specific kernels. These have within the FileName, your KernelVersion: 3.0.0_14_generic They can be found through http://www.linuxant.com/drivers/hsf/full/downloads.php A more precise location may be given a few paragraphs below. If an EXACT Match with your your KernelVersion is not found, one of the "Generic packages with source" near the bottom of the page must be used. Downloaded packages must be moved into the Linux partition (home folder is OK) and unzipped with: unzip hsf*.zip The installation command for a .deb suffic packages is, with root/adm permission: sudo dpkg -i hsf*.deb while for .rpm suffix it is, with: rpm -i hsf*.rpm Read DOCs/Conexant.txt Writing DOCs/Conexant.txt Completed candidate modem analyses. The base of the UDEV device file system is: /dev/.udev Versions adequately match for the compiler installed: 4.6.1 and the compiler used in kernel assembly: 4.6.1 linux-headers-3.0.0-14-generic resources needed for compiling are not manifestly ready! If compiling is necessary packages must be installed, providing: linux-headers-3.0.0-14-generic If a driver compilation fails, with message including some lack of some FileName.h (stdio.h for example), then Some additional kernel-header files need installation to /usr/include. The minimal additional packages are libc6-dev and any of its dependents, under Ubuntu linux-libc-dev If an alternate ethernet connection is available, $ apt-get update $ apt-get -s install linux-kernel-devel will install needed packages. For Debian/Ubuntu related distributions, run the following command to display the needed package list: Otherwise packages have to be found through http://packages.ubuntu.com Once downloaded and transferred into a Linux partition, they can be installed alltogether with: $ sudo dpkg -i *.deb Checking pppd properties: -rwsr-xr-x 1 root dip 273272 2011-02-04 21:43 /usr/sbin/pppd In case of an "error 17" "serial loopback" problem, see: http://linmodems.technion.ac.il/linmodems/archive-sixth/msg02637.html To enable dialout without Root permission do: $ su - root (not for Ubuntu) sudo chmod a+x /usr/sbin/pppd or under Ubuntu related Linuxes sudo chmod a+x /usr/sbin/pppd Checking settings of: /etc/ppp/options asyncmap 0 noauth crtscts lock hide-password modem lcp-echo-interval 30 lcp-echo-failure 4 noipx In case of a message like: Warning: Could not modify /etc/ppp/pap-secrets: Permission denied see http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html For guidance on FAX usage, get from http://linmodems.technion.ac.il/packages/ ; get faxing.tar.gz It has samples for a modem using port /dev/ttySL0, which must be changed to match your modem's port. Read Modem/DOCs/YourSystem.txt concerning other COMM channels: eth0 Which can interfere with Browser naviagation. Don't worry about the following, it is for experts should trouble shooting be necessary. ========================================================== Checking for modem support lines: -------------------------------------- /device/modem symbolic link: slmodemd created symbolic link /dev/ttySL0: Within /etc/udev/ files: Within /etc/modprobe.conf files: /etc/modprobe.d/alsa-base.conf:options snd-atiixp-modem index=-2 /etc/modprobe.d/alsa-base.conf:options snd-via82xx-modem index=-2 /etc/modprobe.d/blacklist-modem.conf:# Uncomment these entries in order to blacklist unwanted modem drivers /etc/modprobe.d/blacklist-modem.conf:# blacklist snd-atiixp-modem /etc/modprobe.d/blacklist-modem.conf:# blacklist snd-via82xx-modem Within any ancient /etc/devfs files: Within ancient kernel 2.4.n /etc/module.conf files: --------- end modem support lines -------- dmesg.txt CPU0 0: 44 IO-APIC-edge timer 1: 2 IO-APIC-edge i8042 3: 3 IO-APIC-edge 4: 3 IO-APIC-edge 6: 3 IO-APIC-edge floppy 7: 0 IO-APIC-edge parport0 8: 1 IO-APIC-edge rtc0 9: 0 IO-APIC-fasteoi acpi 12: 4 IO-APIC-edge i8042 14: 8938 IO-APIC-edge ata_piix 15: 834 IO-APIC-edge ata_piix 16: 2209 IO-APIC-fasteoi uhci_hcd:usb2, i915 17: 54 IO-APIC-fasteoi Intel ICH5 18: 0 IO-APIC-fasteoi ata_piix, uhci_hcd:usb4 19: 7588 IO-APIC-fasteoi uhci_hcd:usb3 20: 202 IO-APIC-fasteoi eth0 23: 3 IO-APIC-fasteoi ehci_hcd:usb1 NMI: 0 Non-maskable interrupts LOC: 43714 Local timer interrupts SPU: 0 Spurious interrupts PMI: 0 Performance monitoring interrupts IWI: 0 IRQ work interrupts RES: 0 Rescheduling interrupts CAL: 0 Function call interrupts TLB: 0 TLB shootdowns TRM: 0 Thermal event interrupts THR: 0 Threshold APIC interrupts MCE: 0 Machine check exceptions MCP: 2 Machine check polls ERR: 0 MIS: 0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.0.0-14-generic (buildd@palmer) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #23-Ubuntu SMP Mon Nov 21 20:34:47 UTC 2011 (Ubuntu 3.0.0-14.23-generic 3.0.9) [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] NSC Geode by NSC [ 0.000000] Cyrix CyrixInstead [ 0.000000] Centaur CentaurHauls [ 0.000000] Transmeta GenuineTMx86 [ 0.000000] Transmeta TransmetaCPU [ 0.000000] UMC UMC UMC UMC [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) [ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) [ 0.000000] BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved) [ 0.000000] BIOS-e820: 0000000000100000 - 000000007f7f0000 (usable) [ 0.000000] BIOS-e820: 000000007f7f0000 - 0000000080000000 (reserved) [ 0.000000] BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved) [ 0.000000] Notice: NX (Execute Disable) protection missing in CPU! [ 0.000000] NX (Execute Disable) protection: approximated by x86 segment limits [ 0.000000] DMI 2.3 present. [ 0.000000] DMI: Hewlett-Packard HP d530 SFF(DC578AV)/085Ch, BIOS 786B2 v1.11 07/10/2003 [ 0.000000] e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved) [ 0.000000] e820 remove range: 00000000000a0000 - 0000000000100000 (usable) [ 0.000000] last_pfn = 0x7f7f0 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-DFFFF write-protect [ 0.000000] E0000-EFFFF write-back [ 0.000000] F0000-FFFFF write-protect [ 0.000000] MTRR variable ranges enabled: [ 0.000000] 0 base 000000000 mask F80000000 write-back [ 0.000000] 1 base 07F800000 mask FFF800000 uncachable [ 0.000000] 2 base 0FEDA0000 mask FFFFE0000 write-back [ 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] original variable MTRRs [ 0.000000] reg 0, base: 0GB, range: 2GB, type WB [ 0.000000] reg 1, base: 2040MB, range: 8MB, type UC [ 0.000000] reg 2, base: 4175488KB, range: 128KB, type WB [ 0.000000] total RAM covered: 2040M [ 0.000000] Found optimal setting for mtrr clean up [ 0.000000] gran_size: 64K chunk_size: 16M num_reg: 3 lose cover RAM: 0G [ 0.000000] New variable MTRRs [ 0.000000] reg 0, base: 0GB, range: 2GB, type WB [ 0.000000] reg 1, base: 2040MB, range: 8MB, type UC [ 0.000000] reg 2, base: 4175488KB, range: 128KB, type WB [ 0.000000] e820 update range: 000000007f800000 - 00000000feda0000 (usable) ==> (reserved) [ 0.000000] found SMP MP-table at [c00faa60] faa60 [ 0.000000] initial memory mapped : 0 - 01c00000 [ 0.000000] Base memory trampoline at [c009b000] 9b000 size 16384 [ 0.000000] init_memory_mapping: 0000000000000000-00000000377fe000 [ 0.000000] 0000000000 - 0000400000 page 4k [ 0.000000] 0000400000 - 0037400000 page 2M [ 0.000000] 0037400000 - 00377fe000 page 4k [ 0.000000] kernel direct mapping tables up to 377fe000 @ 1bfb000-1c00000 [ 0.000000] RAMDISK: 365ea000 - 372ed000 [ 0.000000] ACPI: RSDP 000ea410 00014 (v00 COMPAQ) [ 0.000000] ACPI: RSDT 000e5e40 0007C (v01 COMPAQ CPQ0064 20030710 00000000) [ 0.000000] ACPI: FACP 000e5ef8 00074 (v01 COMPAQ SPRINGD 00000001 00000000) [ 0.000000] ACPI: DSDT 000e6008 00D7D (v01 COMPAQ DSDT 00000001 MSFT 0100000E) [ 0.000000] ACPI: FACS 000e5e00 00040 [ 0.000000] ACPI: SSDT 000e6d85 005FE (v01 COMPAQ PROJECT 00000001 MSFT 0100000E) [ 0.000000] ACPI: SSDT 000e7383 0053A (v01 COMPAQ CORE_PNP 00000001 MSFT 0100000E) [ 0.000000] ACPI: SSDT 000e78bd 001F2 (v01 COMPAQ CORE_UTL 00000001 MSFT 0100000E) [ 0.000000] ACPI: SSDT 000e7aaf 0032E (v01 COMPAQ VILLTBL1 00000001 MSFT 0100000E) [ 0.000000] ACPI: SSDT 000e7ddd 0053F (v01 COMPAQ LGCYLITE 00000001 MSFT 0100000E) [ 0.000000] ACPI: SSDT 000e831c 00167 (v01 COMPAQ UART2 00000001 MSFT 0100000E) [ 0.000000] ACPI: SSDT 000e8483 0014E (v01 COMPAQ FLOPPY 00000001 MSFT 0100000E) [ 0.000000] ACPI: APIC 000e5f6c 00068 (v01 COMPAQ SPRINGD 00000001 00000000) [ 0.000000] ACPI: SSDT 000ea16d 000B2 (v01 COMPAQ APIC 00000001 MSFT 0100000E) [ 0.000000] ACPI: ASF! 000e5fd4 00034 (v16 COMPAQ SPRINGD 00000001 00000000) [ 0.000000] ACPI: SSDT 000e8a3f 0040F (v01 COMPAQ PNP_PRSS 00000001 MSFT 0100000E) [ 0.000000] ACPI: SSDT 000e8e4e 0016D (v01 COMPAQ UR2_PRSS 00000001 MSFT 0100000E) [ 0.000000] ACPI: SSDT 000e8fbb 00119 (v01 COMPAQ FPY_PRSS 00000001 MSFT 0100000E) [ 0.000000] ACPI: SSDT 000e9189 00167 (v01 COMPAQ S3 00000001 MSFT 0100000E) [ 0.000000] ACPI: SSDT 000e92f0 000E3 (v01 COMPAQ CORE_S3 00000001 MSFT 0100000E) [ 0.000000] ACPI: SSDT 000e93d3 0013E (v01 COMPAQ PIDETM 00000001 MSFT 0100000E) [ 0.000000] ACPI: SSDT 000e9955 0016B (v01 COMPAQ GTF0 00000001 MSFT 0100000E) [ 0.000000] ACPI: SSDT 000e9511 00143 (v01 COMPAQ SIDETM 00000001 MSFT 0100000E) [ 0.000000] ACPI: SSDT 000e9c30 00170 (v01 COMPAQ GTF2 00000001 MSFT 0100000E) [ 0.000000] ACPI: SSDT 000e9f10 000F0 (v01 COMPAQ L08 00000001 MSFT 0100000E) [ 0.000000] ACPI: SSDT 000ea371 00054 (v01 COMPAQ FINIS 00000001 MSFT 0100000E) [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] 1151MB HIGHMEM available. [ 0.000000] 887MB LOWMEM available. [ 0.000000] mapped low ram: 0 - 377fe000 [ 0.000000] low ram: 0 - 377fe000 [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0x00000010 -> 0x00001000 [ 0.000000] Normal 0x00001000 -> 0x000377fe [ 0.000000] HighMem 0x000377fe -> 0x0007f7f0 [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[2] active PFN ranges [ 0.000000] 0: 0x00000010 -> 0x0000009f [ 0.000000] 0: 0x00000100 -> 0x0007f7f0 [ 0.000000] On node 0 totalpages: 522111 [ 0.000000] free_area_init_node: node 0, pgdat c17b3400, node_mem_map f55fa200 [ 0.000000] DMA zone: 32 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 3951 pages, LIFO batch:0 [ 0.000000] Normal zone: 1744 pages used for memmap [ 0.000000] Normal zone: 221486 pages, LIFO batch:31 [ 0.000000] HighMem zone: 2304 pages used for memmap [ 0.000000] HighMem zone: 292594 pages, LIFO batch:31 [ 0.000000] Using APIC driver default [ 0.000000] ACPI: PM-Timer IO Port: 0xf808 [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] disabled) [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1]) [ 0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0]) [ 0.000000] IOAPIC[0]: apic_id 1, version 32, 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 high level) [ 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] SMP: Allowing 2 CPUs, 1 hotplug CPUs [ 0.000000] nr_irqs_gsi: 40 [ 0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000 [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000 [ 0.000000] PM: Registered nosave memory: 00000000000e0000 - 0000000000100000 [ 0.000000] Allocating PCI resources starting at 80000000 (gap: 80000000:7ec00000) [ 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 12 pages/cpu @f5000000 s26240 r0 d22912 u2097152 [ 0.000000] pcpu-alloc: s26240 r0 d22912 u2097152 alloc=1*4194304 [ 0.000000] pcpu-alloc: [0] 0 1 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 518031 [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.0.0-14-generic root=UUID=7591895d-3ef0-4335-9f9d-9fa698505e62 ro quiet splash vt.handoff=7 [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Initializing CPU#0 [ 0.000000] allocated 8355328 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 (000377fe:0007f7f0) [ 0.000000] Memory: 2040148k/2088896k available (5335k kernel code, 48296k reserved, 2592k data, 696k init, 1179592k highmem) [ 0.000000] virtual kernel memory layout: [ 0.000000] fixmap : 0xfff16000 - 0xfffff000 ( 932 kB) [ 0.000000] pkmap : 0xff800000 - 0xffc00000 (4096 kB) [ 0.000000] vmalloc : 0xf7ffe000 - 0xff7fe000 ( 120 MB) [ 0.000000] lowmem : 0xc0000000 - 0xf77fe000 ( 887 MB) [ 0.000000] .init : 0xc17bf000 - 0xc186d000 ( 696 kB) [ 0.000000] .data : 0xc1535d84 - 0xc17be080 (2592 kB) [ 0.000000] .text : 0xc1000000 - 0xc1535d84 (5335 kB) [ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok. [ 0.000000] SLUB: Genslabs=15, HWalign=128, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU dyntick-idle grace-period acceleration is enabled. [ 0.000000] NR_IRQS:2304 nr_irqs:512 16 [ 0.000000] CPU 0 irqstacks, hard=f4408000 soft=f440a000 [ 0.000000] vt handoff: transparent VT on vt#7 [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] console [tty0] enabled [ 0.000000] Fast TSC calibration using PIT [ 0.000000] Detected 2792.716 MHz processor. [ 0.004005] Calibrating delay loop (skipped), value calculated using timer frequency.. 5585.43 BogoMIPS (lpj=11170864) [ 0.004013] pid_max: default: 32768 minimum: 301 [ 0.004049] Security Framework initialized [ 0.004087] AppArmor: AppArmor initialized [ 0.004091] Yama: becoming mindful. [ 0.004176] Mount-cache hash table entries: 512 [ 0.004433] Initializing cgroup subsys cpuacct [ 0.004442] Initializing cgroup subsys memory [ 0.004455] Initializing cgroup subsys devices [ 0.004459] Initializing cgroup subsys freezer [ 0.004463] Initializing cgroup subsys net_cls [ 0.004467] Initializing cgroup subsys blkio [ 0.004480] Initializing cgroup subsys perf_event [ 0.004529] CPU0: Hyper-Threading is disabled [ 0.004535] mce: CPU supports 4 MCE banks [ 0.004550] CPU0: Thermal monitoring enabled (TM1) [ 0.004839] SMP alternatives: switching to UP code [ 0.017184] ACPI: Core revision 20110413 [ 0.022223] ftrace: allocating 24878 entries in 49 pages [ 0.024151] Enabling APIC mode: Flat. Using 1 I/O APICs [ 0.024451] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.067662] CPU0: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 09 [ 0.068003] Performance Events: Netburst events, Netburst P4/Xeon PMU driver. [ 0.068003] ... version: 0 [ 0.068003] ... bit width: 40 [ 0.068003] ... generic registers: 18 [ 0.068003] ... value mask: 000000ffffffffff [ 0.068003] ... max period: 0000007fffffffff [ 0.068003] ... fixed-purpose events: 0 [ 0.068003] ... event mask: 000000000003ffff [ 0.068003] Brought up 1 CPUs [ 0.068003] Total of 1 processors activated (5585.43 BogoMIPS). [ 0.068003] devtmpfs: initialized [ 0.068501] print_constraints: dummy: [ 0.068529] Time: 0:32:57 Date: 01/02/12 [ 0.068591] NET: Registered protocol family 16 [ 0.068752] EISA bus registered [ 0.068765] ACPI: bus type pci registered [ 0.069069] PCI: PCI BIOS revision 2.20 entry at 0xec5a9, last bus=5 [ 0.069073] PCI: Using configuration type 1 for base access [ 0.070484] bio: create slab <bio-0> at 0 [ 0.071296] ACPI: EC: Look up EC in DSDT [ 0.072911] ACPI: Interpreter enabled [ 0.072920] ACPI: (supports S0 S1 S3 S4 S5) [ 0.072947] ACPI: Using IOAPIC for interrupt routing [ 0.076665] ACPI: No dock devices found. [ 0.076669] HEST: Table not found. [ 0.076676] PCI: Ignoring host bridge windows from ACPI; if necessary, use "pci=use_crs" and report a bug [ 0.076818] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 0.077069] pci_root PNP0A03:00: host bridge window [mem 0x80100000-0xfebfffff] (ignored) [ 0.077074] pci_root PNP0A03:00: host bridge window [io 0x0000-0x0cf7] (ignored) [ 0.077077] pci_root PNP0A03:00: host bridge window [io 0x0d00-0xffff] (ignored) [ 0.077080] pci_root PNP0A03:00: host bridge window [mem 0x000a0000-0x000bffff] (ignored) [ 0.077099] pci 0000:00:00.0: [8086:2570] type 0 class 0x000600 [ 0.077105] pci 0000:00:00.0: Enabling MCH 'Overflow' Device [ 0.077117] pci 0000:00:00.0: reg 10: [mem 0xf8000000-0xfbffffff pref] [ 0.077182] pci 0000:00:02.0: [8086:2572] type 0 class 0x000300 [ 0.077198] pci 0000:00:02.0: reg 10: [mem 0xf0000000-0xf7ffffff pref] [ 0.077208] pci 0000:00:02.0: reg 14: [mem 0xfc400000-0xfc47ffff] [ 0.077217] pci 0000:00:02.0: reg 18: [io 0x24e0-0x24e7] [ 0.077277] pci 0000:00:06.0: [8086:2576] type 0 class 0x000880 [ 0.077289] pci 0000:00:06.0: reg 10: [mem 0xfecf0000-0xfecf0fff] [ 0.077375] pci 0000:00:1d.0: [8086:24d2] type 0 class 0x000c03 [ 0.077422] pci 0000:00:1d.0: reg 20: [io 0x2440-0x245f] [ 0.077459] pci 0000:00:1d.1: [8086:24d4] type 0 class 0x000c03 [ 0.077506] pci 0000:00:1d.1: reg 20: [io 0x2460-0x247f] [ 0.077543] pci 0000:00:1d.2: [8086:24d7] type 0 class 0x000c03 [ 0.077589] pci 0000:00:1d.2: reg 20: [io 0x2480-0x249f] [ 0.077638] pci 0000:00:1d.7: [8086:24dd] type 0 class 0x000c03 [ 0.077661] pci 0000:00:1d.7: reg 10: [mem 0xfc480000-0xfc4803ff] [ 0.077745] pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold [ 0.077751] pci 0000:00:1d.7: PME# disabled [ 0.077770] pci 0000:00:1e.0: [8086:244e] type 1 class 0x000604 [ 0.077815] pci 0000:00:1f.0: [8086:24d0] type 0 class 0x000601 [ 0.077883] pci 0000:00:1f.0: Force enabled HPET at 0xfed00000 [ 0.077890] pci 0000:00:1f.0: Enabled i801 SMBus device [ 0.077900] pci 0000:00:1f.0: quirk: [io 0xf800-0xf87f] claimed by ICH4 ACPI/GPIO/TCO [ 0.077905] pci 0000:00:1f.0: quirk: [io 0xfa00-0xfa3f] claimed by ICH4 GPIO [ 0.077923] pci 0000:00:1f.1: [8086:24db] type 0 class 0x000101 [ 0.077939] pci 0000:00:1f.1: reg 10: [io 0x24e8-0x24ef] [ 0.077950] pci 0000:00:1f.1: reg 14: [io 0x2808-0x280b] [ 0.077961] pci 0000:00:1f.1: reg 18: [io 0x24f0-0x24f7] [ 0.077971] pci 0000:00:1f.1: reg 1c: [io 0x280c-0x280f] [ 0.077982] pci 0000:00:1f.1: reg 20: [io 0x24c0-0x24cf] [ 0.077993] pci 0000:00:1f.1: reg 24: [mem 0x00000000-0x000003ff] [ 0.078022] pci 0000:00:1f.2: [8086:24d1] type 0 class 0x000101 [ 0.078035] pci 0000:00:1f.2: reg 10: [io 0x24f8-0x24ff] [ 0.078045] pci 0000:00:1f.2: reg 14: [io 0x2810-0x2813] [ 0.078055] pci 0000:00:1f.2: reg 18: [io 0x2800-0x2807] [ 0.078064] pci 0000:00:1f.2: reg 1c: [io 0x2814-0x2817] [ 0.078074] pci 0000:00:1f.2: reg 20: [io 0x24d0-0x24df] [ 0.078108] pci 0000:00:1f.3: [8086:24d3] type 0 class 0x000c05 [ 0.078155] pci 0000:00:1f.3: reg 20: [io 0xfc00-0xfc1f] [ 0.078200] pci 0000:00:1f.5: [8086:24d5] type 0 class 0x000401 [ 0.078217] pci 0000:00:1f.5: reg 10: [io 0x2000-0x20ff] [ 0.078227] pci 0000:00:1f.5: reg 14: [io 0x2400-0x243f] [ 0.078237] pci 0000:00:1f.5: reg 18: [mem 0xfc480400-0xfc4805ff] [ 0.078248] pci 0000:00:1f.5: reg 1c: [mem 0xfc480600-0xfc4806ff] [ 0.078288] pci 0000:00:1f.5: PME# supported from D0 D3hot D3cold [ 0.078293] pci 0000:00:1f.5: PME# disabled [ 0.078335] pci 0000:05:02.0: [14e4:1696] type 0 class 0x000200 [ 0.078364] pci 0000:05:02.0: reg 10: [mem 0x00000000-0x0000ffff 64bit] [ 0.078436] pci 0000:05:02.0: PME# supported from D3hot D3cold [ 0.078441] pci 0000:05:02.0: PME# disabled [ 0.078463] pci 0000:05:04.0: [14f1:2f00] type 0 class 0x000780 [ 0.078481] pci 0000:05:04.0: reg 10: [mem 0xfc510000-0xfc51ffff] [ 0.078491] pci 0000:05:04.0: reg 14: [io 0x1000-0x1007] [ 0.078545] pci 0000:05:04.0: PME# supported from D3hot D3cold [ 0.078550] pci 0000:05:04.0: PME# disabled [ 0.078589] pci 0000:00:1e.0: PCI bridge to [bus 05-05] (subtractive decode) [ 0.078594] pci 0000:00:1e.0: bridge window [io 0x1000-0x1fff] [ 0.078600] pci 0000:00:1e.0: bridge window [mem 0xfc500000-0xfc7fffff] [ 0.078605] pci 0000:00:1e.0: bridge window [mem 0xfff00000-0x000fffff pref] (disabled) [ 0.078609] pci 0000:00:1e.0: bridge window [io 0x0000-0xffff] (subtractive decode) [ 0.078612] pci 0000:00:1e.0: bridge window [mem 0x00000000-0xffffffff] (subtractive decode) [ 0.078622] pci_bus 0000:00: on NUMA node 0 [ 0.078627] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] [ 0.078772] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB_._PRT] [ 0.079048] pci0000:00: Unable to request _OSC control (_OSC support mask: 0x1e) [ 0.083208] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 14 15) [ 0.083282] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 10 11 14 15) [ 0.083354] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *10 11 14 15) [ 0.083425] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 *5 6 7 10 11 14 15) [ 0.083496] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 *5 6 7 10 11 14 15) [ 0.083567] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 14 15) *0, disabled. [ 0.083640] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 14 15) *0, disabled. [ 0.083713] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *10 11 14 15) [ 0.083866] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none [ 0.083875] vgaarb: loaded [ 0.083877] vgaarb: bridge control possible 0000:00:02.0 [ 0.084235] SCSI subsystem initialized [ 0.084344] libata version 3.00 loaded. [ 0.084423] usbcore: registered new interface driver usbfs [ 0.084438] usbcore: registered new interface driver hub [ 0.084478] usbcore: registered new device driver usb [ 0.084609] PCI: Using ACPI for IRQ routing [ 0.084747] PCI: pci_cache_line_size set to 64 bytes [ 0.084816] reserve RAM buffer: 000000000009fc00 - 000000000009ffff [ 0.084819] reserve RAM buffer: 000000007f7f0000 - 000000007fffffff [ 0.084977] NetLabel: Initializing [ 0.084980] NetLabel: domain hash size = 128 [ 0.084982] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.084998] NetLabel: unlabeled traffic allowed by default [ 0.085172] hpet clockevent registered [ 0.085178] HPET: 3 timers in total, 0 timers will be used for per-cpu timer [ 0.085184] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0 [ 0.085191] hpet0: 3 comparators, 64-bit 14.318180 MHz counter [ 0.088083] Switching to clocksource hpet [ 0.091955] Switched to NOHz mode on CPU #0 [ 0.098388] AppArmor: AppArmor Filesystem Enabled [ 0.098459] pnp: PnP ACPI init [ 0.098494] ACPI: bus type pnp registered [ 0.098905] pnp 00:00: [mem 0x80100000-0xfebfffff window] [ 0.098909] pnp 00:00: [bus 00-ff] [ 0.098912] pnp 00:00: [io 0x0cf8-0x0cff] [ 0.098915] pnp 00:00: [io 0x0000-0x0cf7 window] [ 0.098918] pnp 00:00: [io 0x0d00-0xffff window] [ 0.098921] pnp 00:00: [mem 0x000a0000-0x000bffff window] [ 0.098986] pnp 00:00: Plug and Play ACPI device, IDs PNP0a03 (active) [ 0.099007] pnp 00:01: [io 0x00f0-0x00ff] [ 0.099029] pnp 00:01: [irq 13] [ 0.099061] pnp 00:01: Plug and Play ACPI device, IDs PNP0c04 (active) [ 0.099079] pnp 00:02: [io 0x0000-0x000f] [ 0.099083] pnp 00:02: [io 0x0080-0x008f] [ 0.099085] pnp 00:02: [io 0x00c0-0x00df] [ 0.099088] pnp 00:02: [dma 4] [ 0.099127] pnp 00:02: Plug and Play ACPI device, IDs PNP0200 (active) [ 0.099140] pnp 00:03: [io 0x0070-0x0071] [ 0.099150] pnp 00:03: [irq 8] [ 0.099182] pnp 00:03: Plug and Play ACPI device, IDs PNP0b00 (active) [ 0.099195] pnp 00:04: [io 0x0061] [ 0.099231] pnp 00:04: Plug and Play ACPI device, IDs PNP0800 (active) [ 0.099247] pnp 00:05: [irq 12] [ 0.099281] pnp 00:05: Plug and Play ACPI device, IDs PNP0f13 PNP0f0e (active) [ 0.099294] pnp 00:06: [io 0x0060] [ 0.099297] pnp 00:06: [io 0x0064] [ 0.099303] pnp 00:06: [irq 1] [ 0.099335] pnp 00:06: Plug and Play ACPI device, IDs PNP0303 (active) [ 0.099663] pnp 00:07: [irq 7] [ 0.099666] pnp 00:07: [dma 3] [ 0.099670] pnp 00:07: [io 0x0378-0x037f] [ 0.099672] pnp 00:07: [io 0x0778-0x077d] [ 0.099769] pnp 00:07: Plug and Play ACPI device, IDs PNP0401 (active) [ 0.100075] pnp 00:08: [irq 4] [ 0.100079] pnp 00:08: [io 0x03f8-0x03ff] [ 0.100178] pnp 00:08: Plug and Play ACPI device, IDs PNP0501 PNP0500 (active) [ 0.100405] pnp 00:09: [irq 6] [ 0.100408] pnp 00:09: [dma 2] [ 0.100411] pnp 00:09: [io 0x03f0-0x03f5] [ 0.100413] pnp 00:09: [io 0x03f7] [ 0.100461] pnp 00:09: Plug and Play ACPI device, IDs PNP0700 (active) [ 0.100527] pnp 00:0a: [mem 0xfec00000-0xfec00fff] [ 0.100563] pnp 00:0a: Plug and Play ACPI device, IDs PNP0003 (active) [ 0.100597] pnp 00:0b: [io 0x0010-0x001f] [ 0.100600] pnp 00:0b: [io 0x0050-0x0053] [ 0.100603] pnp 00:0b: [io 0x0072-0x0077] [ 0.100606] pnp 00:0b: [io 0x0090-0x009f] [ 0.100608] pnp 00:0b: [io 0x04d0-0x04d1] [ 0.100676] system 00:0b: [io 0x04d0-0x04d1] has been reserved [ 0.100681] system 00:0b: Plug and Play ACPI device, IDs PNP0c02 (active) [ 0.100697] pnp 00:0c: [io 0x0400-0x041f] [ 0.100701] pnp 00:0c: [io 0x0420-0x043f] [ 0.100703] pnp 00:0c: [io 0x0440-0x045f] [ 0.100706] pnp 00:0c: [io 0x0460-0x047f] [ 0.100709] pnp 00:0c: [io 0xf800-0xf81f] [ 0.100717] pnp 00:0c: [io 0xf820-0xf83f] [ 0.100720] pnp 00:0c: [io 0xf840-0xf85f] [ 0.100722] pnp 00:0c: [io 0xf860-0xf87f] [ 0.100725] pnp 00:0c: [io 0xfa00-0xfa3f] [ 0.100728] pnp 00:0c: [io 0xfc00-0xfc7f] [ 0.100730] pnp 00:0c: [io 0xfc80-0xfcff] [ 0.100733] pnp 00:0c: [io 0xfe00-0xfe7f] [ 0.100735] pnp 00:0c: [io 0xfe80-0xfeff] [ 0.100749] pnp 00:0c: disabling [io 0xf800-0xf81f] because it overlaps 0000:00:1f.0 BAR 13 [io 0xf800-0xf87f] [ 0.100753] pnp 00:0c: disabling [io 0xf820-0xf83f] because it overlaps 0000:00:1f.0 BAR 13 [io 0xf800-0xf87f] [ 0.100757] pnp 00:0c: disabling [io 0xf840-0xf85f] because it overlaps 0000:00:1f.0 BAR 13 [io 0xf800-0xf87f] [ 0.100762] pnp 00:0c: disabling [io 0xf860-0xf87f] because it overlaps 0000:00:1f.0 BAR 13 [io 0xf800-0xf87f] [ 0.100816] system 00:0c: [io 0x0400-0x041f] has been reserved [ 0.100820] system 00:0c: [io 0x0420-0x043f] has been reserved [ 0.100823] system 00:0c: [io 0x0440-0x045f] has been reserved [ 0.100827] system 00:0c: [io 0x0460-0x047f] has been reserved [ 0.100830] system 00:0c: [io 0xfa00-0xfa3f] has been reserved [ 0.100834] system 00:0c: [io 0xfc00-0xfc7f] could not be reserved [ 0.100838] system 00:0c: [io 0xfc80-0xfcff] has been reserved [ 0.100841] system 00:0c: [io 0xfe00-0xfe7f] has been reserved [ 0.100845] system 00:0c: [io 0xfe80-0xfeff] has been reserved [ 0.100849] system 00:0c: Plug and Play ACPI device, IDs PNP0c02 (active) [ 0.101163] pnp 00:0d: [mem 0x00000000-0x0009ffff] [ 0.101166] pnp 00:0d: [mem 0x00100000-0x7f7fffff] [ 0.101169] pnp 00:0d: [mem 0x7f800000-0x7f8fffff] [ 0.101172] pnp 00:0d: [mem 0x000e0000-0x000fffff] [ 0.101175] pnp 00:0d: [mem 0xfec01000-0xffffffff] [ 0.101177] pnp 00:0d: [mem 0x000ca600-0x000dffff] [ 0.101233] system 00:0d: [mem 0x00000000-0x0009ffff] could not be reserved [ 0.101238] system 00:0d: [mem 0x00100000-0x7f7fffff] could not be reserved [ 0.101241] system 00:0d: [mem 0x7f800000-0x7f8fffff] has been reserved [ 0.101245] system 00:0d: [mem 0x000e0000-0x000fffff] could not be reserved [ 0.101249] system 00:0d: [mem 0xfec01000-0xffffffff] could not be reserved [ 0.101252] system 00:0d: [mem 0x000ca600-0x000dffff] has been reserved [ 0.101256] system 00:0d: Plug and Play ACPI device, IDs PNP0c01 (active) [ 0.101266] pnp: PnP ACPI: found 14 devices [ 0.101268] ACPI: ACPI bus type pnp unregistered [ 0.101274] PnPBIOS: Disabled by ACPI PNP [ 0.138234] PCI: max bus depth: 1 pci_try_num: 2 [ 0.138263] pci 0000:00:1f.1: BAR 5: assigned [mem 0x80000000-0x800003ff] [ 0.138271] pci 0000:00:1f.1: BAR 5: set to [mem 0x80000000-0x800003ff] (PCI address [0x80000000-0x800003ff]) [ 0.138276] pci 0000:05:02.0: BAR 0: assigned [mem 0xfc500000-0xfc50ffff 64bit] [ 0.138285] pci 0000:05:02.0: BAR 0: set to [mem 0xfc500000-0xfc50ffff 64bit] (PCI address [0xfc500000-0xfc50ffff]) [ 0.138289] pci 0000:00:1e.0: PCI bridge to [bus 05-05] [ 0.138293] pci 0000:00:1e.0: bridge window [io 0x1000-0x1fff] [ 0.138299] pci 0000:00:1e.0: bridge window [mem 0xfc500000-0xfc7fffff] [ 0.138304] pci 0000:00:1e.0: bridge window [mem pref disabled] [ 0.138325] pci 0000:00:1e.0: setting latency timer to 64 [ 0.138330] pci_bus 0000:00: resource 0 [io 0x0000-0xffff] [ 0.138333] pci_bus 0000:00: resource 1 [mem 0x00000000-0xffffffff] [ 0.138337] pci_bus 0000:05: resource 0 [io 0x1000-0x1fff] [ 0.138340] pci_bus 0000:05: resource 1 [mem 0xfc500000-0xfc7fffff] [ 0.138343] pci_bus 0000:05: resource 4 [io 0x0000-0xffff] [ 0.138346] pci_bus 0000:05: resource 5 [mem 0x00000000-0xffffffff] [ 0.138415] NET: Registered protocol family 2 [ 0.138506] IP route cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.138945] TCP established hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.140389] TCP bind hash table entries: 65536 (order: 7, 524288 bytes) [ 0.141137] TCP: Hash tables configured (established 131072 bind 65536) [ 0.141142] TCP reno registered [ 0.141157] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.141188] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.141423] NET: Registered protocol family 1 [ 0.141462] pci 0000:00:02.0: Boot video device [ 0.141589] PCI: CLS 64 bytes, default 64 [ 0.142153] audit: initializing netlink socket (disabled) [ 0.142171] type=2000 audit(1325464377.140:1): initialized [ 0.163298] Trying to unpack rootfs image as initramfs... [ 0.208390] highmem bounce pool size: 64 pages [ 0.208400] HugeTLB registered 4 MB page size, pre-allocated 0 pages [ 0.248371] VFS: Disk quotas dquot_6.5.2 [ 0.248478] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.256397] fuse init (API version 7.16) [ 0.256604] msgmni has been set to 1680 [ 0.264620] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 0.264673] io scheduler noop registered [ 0.264677] io scheduler deadline registered [ 0.264702] io scheduler cfq registered (default) [ 0.264902] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 0.264937] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 [ 0.265144] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0 [ 0.265156] ACPI: Power Button [PBTN] [ 0.265214] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1 [ 0.265219] ACPI: Power Button [PWRF] [ 0.265250] ACPI: acpi_idle registered with cpuidle [ 0.266583] ERST: Table is not found! [ 0.266802] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled [ 0.287202] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 0.292134] isapnp: Scanning for PnP cards... [ 0.420553] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A [ 0.462217] 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 0.528646] Linux agpgart interface v0.103 [ 0.528734] agpgart-intel 0000:00:00.0: Intel 865 Chipset [ 0.528771] agpgart-intel 0000:00:00.0: detected gtt size: 131072K total, 131072K mappable [ 0.528927] agpgart-intel 0000:00:00.0: detected 8192K stolen memory [ 0.529110] agpgart-intel 0000:00:00.0: AGP aperture is 128M @ 0xf0000000 [ 0.530769] brd: module loaded [ 0.531536] loop: module loaded [ 0.531792] ata_piix 0000:00:1f.1: version 2.13 [ 0.531813] ata_piix 0000:00:1f.1: enabling device (0005 -> 0007) [ 0.531841] ata_piix 0000:00:1f.1: PCI INT A -> GSI 18 (level, low) -> IRQ 18 [ 0.531918] ata_piix 0000:00:1f.1: setting latency timer to 64 [ 0.540297] scsi0 : ata_piix [ 0.540533] scsi1 : ata_piix [ 0.540765] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x24c0 irq 14 [ 0.540769] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x24c8 irq 15 [ 0.540846] ata_piix 0000:00:1f.2: PCI INT A -> GSI 18 (level, low) -> IRQ 18 [ 0.540854] ata_piix 0000:00:1f.2: MAP [ P0 -- P1 -- ] [ 0.703661] ata_piix 0000:00:1f.2: setting latency timer to 64 [ 0.708449] ata2.00: ATAPI: ATAPI MS-8148C1, H.05, max MWDMA2 [ 0.712418] ata1.00: ATA-7: Maxtor 6E040L0, NAR61EA0, max UDMA/100 [ 0.712423] ata1.00: 78165360 sectors, multi 16: LBA [ 0.712666] scsi2 : ata_piix [ 0.716282] scsi3 : ata_piix [ 0.716396] ata3: SATA max UDMA/133 cmd 0x24f8 ctl 0x2810 bmdma 0x24d0 irq 18 [ 0.716401] ata4: SATA max UDMA/133 cmd 0x2800 ctl 0x2814 bmdma 0x24d8 irq 18 [ 0.716995] Fixed MDIO Bus: probed [ 0.717032] PPP generic driver version 2.4.2 [ 0.717147] tun: Universal TUN/TAP device driver, 1.6 [ 0.717150] tun: (C) 1999-2004 Max Krasnyansky <maxk@xxxxxxxxxxxx> [ 0.717304] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.717365] ehci_hcd 0000:00:1d.7: PCI INT D -> GSI 23 (level, low) -> IRQ 23 [ 0.717396] ehci_hcd 0000:00:1d.7: setting latency timer to 64 [ 0.717401] ehci_hcd 0000:00:1d.7: EHCI Host Controller [ 0.717452] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1 [ 0.717501] ehci_hcd 0000:00:1d.7: debug port 1 [ 0.721403] ehci_hcd 0000:00:1d.7: cache line size of 64 is not supported [ 0.721769] ehci_hcd 0000:00:1d.7: irq 23, io mem 0xfc480000 [ 0.725795] ata2.00: configured for MWDMA2 [ 0.728298] ata1.00: configured for UDMA/100 [ 0.740125] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00 [ 0.740435] hub 1-0:1.0: USB hub found [ 0.740443] hub 1-0:1.0: 8 ports detected [ 0.740562] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.740587] uhci_hcd: USB Universal Host Controller Interface driver [ 0.740691] uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 0.740704] uhci_hcd 0000:00:1d.0: setting latency timer to 64 [ 0.740709] uhci_hcd 0000:00:1d.0: UHCI Host Controller [ 0.740781] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2 [ 0.740828] uhci_hcd 0000:00:1d.0: irq 16, io base 0x00002440 [ 0.740998] hub 2-0:1.0: USB hub found [ 0.741005] hub 2-0:1.0: 2 ports detected [ 0.741095] uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19 [ 0.741105] uhci_hcd 0000:00:1d.1: setting latency timer to 64 [ 0.741109] uhci_hcd 0000:00:1d.1: UHCI Host Controller [ 0.741164] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3 [ 0.741202] uhci_hcd 0000:00:1d.1: irq 19, io base 0x00002460 [ 0.741365] hub 3-0:1.0: USB hub found [ 0.741371] hub 3-0:1.0: 2 ports detected [ 0.741448] uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18 [ 0.741458] uhci_hcd 0000:00:1d.2: setting latency timer to 64 [ 0.741462] uhci_hcd 0000:00:1d.2: UHCI Host Controller [ 0.741519] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4 [ 0.741545] uhci_hcd 0000:00:1d.2: irq 18, io base 0x00002480 [ 0.741710] hub 4-0:1.0: USB hub found [ 0.741716] hub 4-0:1.0: 2 ports detected [ 0.741865] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f0e:PS2M] at 0x60,0x64 irq 1,12 [ 0.749129] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 0.749151] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 0.749421] mousedev: PS/2 mouse device common for all mice [ 0.749633] rtc_cmos 00:03: RTC can wake from S4 [ 0.749751] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0 [ 0.749777] rtc0: alarms up to one month, y3k, 114 bytes nvram, hpet irqs [ 0.749965] device-mapper: uevent: version 1.0.3 [ 0.750074] device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@xxxxxxxxxx [ 0.750122] EISA: Probing bus 0 at eisa.0 [ 0.750134] Cannot allocate resource for EISA slot 1 [ 0.750136] Cannot allocate resource for EISA slot 2 [ 0.750164] EISA: Detected 0 cards. [ 0.750185] cpufreq-nforce2: No nForce2 chipset. [ 0.750189] cpuidle: using governor ladder [ 0.750191] cpuidle: using governor menu [ 0.750194] EFI Variables Facility v0.08 2004-May-17 [ 0.750562] TCP cubic registered [ 0.750756] NET: Registered protocol family 10 [ 0.751468] NET: Registered protocol family 17 [ 0.751500] Registering the dns_resolver key type [ 0.751544] Using IPI No-Shortcut mode [ 0.751696] PM: Hibernation image not present or could not be loaded. [ 0.751726] registered taskstats version 1 [ 0.903633] isapnp: No Plug & Play device found [ 0.925489] scsi 0:0:0:0: Direct-Access ATA Maxtor 6E040L0 NAR6 PQ: 0 ANSI: 5 [ 0.925780] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 0.926019] sd 0:0:0:0: [sda] 78165360 512-byte logical blocks: (40.0 GB/37.2 GiB) [ 0.926095] sd 0:0:0:0: [sda] Write Protect is off [ 0.926100] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 0.926132] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 0.927955] scsi 1:0:0:0: CD-ROM ATAPI MS-8148C1 H.05 PQ: 0 ANSI: 5 [ 0.930208] sr0: scsi3-mmc drive: 0x/48x cd/rw xa/form2 cdda tray [ 0.930216] cdrom: Uniform CD-ROM driver Revision: 3.20 [ 0.930431] sr 1:0:0:0: Attached scsi CD-ROM sr0 [ 0.930550] sr 1:0:0:0: Attached scsi generic sg1 type 5 [ 0.966041] sda: sda1 sda2 < sda5 > [ 0.966596] sd 0:0:0:0: [sda] Attached SCSI disk [ 1.069265] Freeing initrd memory: 13324k freed [ 1.105122] Magic number: 12:590:505 [ 1.105140] i8042 i8042: hash matches [ 1.105268] rtc_cmos 00:03: setting system clock to 2012-01-02 00:32:59 UTC (1325464379) [ 1.105297] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found [ 1.105299] EDD information not available. [ 1.105463] Freeing unused kernel memory: 696k freed [ 1.106472] Write protecting the kernel text: 5336k [ 1.106509] Write protecting the kernel read-only data: 2192k [ 1.140096] Refined TSC clocksource calibration: 2792.999 MHz. [ 1.140107] Switching to clocksource tsc [ 1.144331] udevd[86]: starting version 173 [ 1.356134] hub 1-0:1.0: over-current condition on port 7 [ 1.366397] Floppy drive(s): fd0 is 1.44M [ 1.399530] FDC 0 is a post-1991 82077 [ 1.469169] tg3.c:v3.119 (May 18, 2011) [ 1.469186] tg3 0000:05:02.0: enabling device (0104 -> 0106) [ 1.469217] tg3 0000:05:02.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20 [ 1.520057] tg3 0000:05:02.0: eth0: Tigon3 [partno(BCM95782A50) rev 3003] (PCI:33MHz:32-bit) MAC address 00:0e:7f:a9:75:05 [ 1.520065] tg3 0000:05:02.0: eth0: attached PHY is 5705 (10/100/1000Base-T Ethernet) (WireSpeed[0], EEE[0]) [ 1.520070] tg3 0000:05:02.0: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1] [ 1.520074] tg3 0000:05:02.0: eth0: dma_rwctrl[763f0000] dma_mask[64-bit] [ 1.596045] usb 3-1: new low speed USB device number 2 using uhci_hcd [ 1.780733] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) [ 1.799896] input: KYE Optical Mouse as /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/input/input2 [ 1.800148] generic-usb 0003:0458:0007.0001: input,hidraw0: USB HID v1.10 Mouse [KYE Optical Mouse] on usb-0000:00:1d.1-1/input0 [ 1.800178] usbcore: registered new interface driver usbhid [ 1.800181] usbhid: USB HID core driver [ 2.012044] usb 3-2: new low speed USB device number 3 using uhci_hcd [ 2.226786] input: LITEON Technology USB Keyboard as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/input/input3 [ 2.226952] generic-usb 0003:04CA:0020.0002: input,hidraw1: USB HID v1.10 Keyboard [LITEON Technology USB Keyboard] on usb-0000:00:1d.1-2/input0 [ 2.259122] input: LITEON Technology USB Keyboard as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.1/input/input4 [ 2.259276] generic-usb 0003:04CA:0020.0003: input,hidraw2: USB HID v1.10 Device [LITEON Technology USB Keyboard] on usb-0000:00:1d.1-2/input1 [ 10.818338] udevd[270]: starting version 173 [ 10.913677] lp: driver loaded but no devices found [ 10.980204] Adding 2086908k swap on /dev/sda5. Priority:-1 extents:1 across:2086908k [ 11.194353] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro [ 11.363901] [drm] Initialized drm 1.1.0 20060810 [ 11.423552] parport_pc 00:07: reported by Plug and Play ACPI [ 11.423611] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA] [ 11.650872] type=1400 audit(1325464390.040:2): apparmor="STATUS" operation="profile_load" name="/sbin/dhclient" pid=479 comm="apparmor_parser" [ 11.651481] type=1400 audit(1325464390.040:3): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=479 comm="apparmor_parser" [ 11.651805] type=1400 audit(1325464390.040:4): apparmor="STATUS" operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" pid=479 comm="apparmor_parser" [ 11.734578] intel_rng: Firmware space is locked read-only. If you can't or [ 11.734581] intel_rng: don't want to disable this in firmware setup, and if [ 11.734583] intel_rng: you are certain that your system has a functional [ 11.734585] intel_rng: RNG, try using the 'no_fwh_detect' option. [ 11.738314] lp0: using parport0 (interrupt-driven). [ 11.765013] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 [ 12.073426] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 12.073437] i915 0000:00:02.0: setting latency timer to 64 [ 12.288603] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). [ 12.288608] [drm] Driver supports precise vblank timestamp query. [ 12.288705] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem [ 12.426002] [drm] initialized overlay support [ 13.460084] ppdev: user-space parallel port driver [ 13.536990] fbcon: inteldrmfb (fb0) is primary device [ 13.538444] Console: switching to colour frame buffer device 180x56 [ 13.538489] fb0: inteldrmfb frame buffer device [ 13.538492] drm: registered panic notifier [ 13.538548] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0 [ 13.538643] Intel ICH 0000:00:1f.5: PCI INT B -> GSI 17 (level, low) -> IRQ 17 [ 13.538693] Intel ICH 0000:00:1f.5: setting latency timer to 64 [ 13.598822] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 13.851444] init: failsafe main process (700) killed by TERM signal [ 13.960036] intel8x0_measure_ac97_clock: measured 52477 usecs (2529 samples) [ 13.960043] intel8x0: clocking to 48000 [ 14.238410] type=1400 audit(1325464392.628:5): apparmor="STATUS" operation="profile_load" name="/usr/lib/lightdm/lightdm-guest-session-wrapper" pid=769 comm="apparmor_parser" [ 14.243471] type=1400 audit(1325464392.632:6): apparmor="STATUS" operation="profile_load" name="/usr/lib/cups/backend/cups-pdf" pid=768 comm="apparmor_parser" [ 14.249569] type=1400 audit(1325464392.640:7): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=770 comm="apparmor_parser" [ 14.250498] type=1400 audit(1325464392.640:8): apparmor="STATUS" operation="profile_load" name="/usr/sbin/cupsd" pid=768 comm="apparmor_parser" [ 14.267718] type=1400 audit(1325464392.656:9): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=770 comm="apparmor_parser" [ 14.268367] type=1400 audit(1325464392.660:10): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=770 comm="apparmor_parser" [ 14.289071] type=1400 audit(1325464392.680:11): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince" pid=774 comm="apparmor_parser" [ 14.608394] init: apport pre-start process (818) terminated with status 1 [ 14.694667] init: apport post-stop process (845) terminated with status 1 [ 15.023605] tg3 0000:05:02.0: eth0: Link is up at 100 Mbps, full duplex [ 15.023611] tg3 0000:05:02.0: eth0: Flow control is on for TX and on for RX [ 15.048711] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 19.266977] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro,commit=0 [ 25.272021] eth0: no IPv6 routers present [ 38.191739] Bluetooth: Core ver 2.16 [ 38.191837] NET: Registered protocol family 31 [ 38.191840] Bluetooth: HCI device and connection manager initialized [ 38.191844] Bluetooth: HCI socket layer initialized [ 38.191846] Bluetooth: L2CAP socket layer initialized [ 38.195259] Bluetooth: SCO socket layer initialized [ 38.204975] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 38.204982] Bluetooth: BNEP filters: protocol multicast [ 38.207675] Bluetooth: RFCOMM TTY layer initialized [ 38.207694] Bluetooth: RFCOMM socket layer initialized [ 38.207697] Bluetooth: RFCOMM ver 1.11 [ 38.464104] init: plymouth-stop pre-start process (2680) terminated with status 1 Module Size Used by bnep 17923 2 rfcomm 38408 0 bluetooth 148839 10 bnep,rfcomm snd_hda_intel 24262 0 snd_hda_codec 91754 1 snd_hda_intel snd_hwdep 13276 1 snd_hda_codec ppdev 12849 0 snd_intel8x0 33318 0 snd_ac97_codec 106082 1 snd_intel8x0 ac97_bus 12642 1 snd_ac97_codec snd_pcm 80435 4 snd_hda_intel,snd_hda_codec,snd_intel8x0,snd_ac97_codec snd_seq_midi 13132 0 snd_rawmidi 25241 1 snd_seq_midi snd_seq_midi_event 14475 1 snd_seq_midi snd_seq 51567 2 snd_seq_midi,snd_seq_midi_event snd_timer 28932 2 snd_pcm,snd_seq snd_seq_device 14172 3 snd_seq_midi,snd_rawmidi,snd_seq psmouse 73673 0 i915 505159 2 snd 55902 10 snd_hda_intel,snd_hda_codec,snd_hwdep,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device serio_raw 12990 0 soundcore 12600 1 snd snd_page_alloc 14115 3 snd_hda_intel,snd_intel8x0,snd_pcm binfmt_misc 17292 1 shpchp 32356 0 drm_kms_helper 32889 1 i915 parport_pc 32114 1 drm 192194 3 i915,drm_kms_helper i2c_algo_bit 13199 1 i915 video 18908 1 i915 lp 17455 0 parport 40930 3 ppdev,parport_pc,lp usbhid 41905 0 hid 77367 1 usbhid tg3 132972 0 floppy 60310 0 --------------- -------------- --------------- -------------- oscopat.h /* * oscompat.h: Compatibility defines to handle various Linux versions */ /* * Copyright (c) 2003-2004 Linuxant inc. * * 1. General Public License. This program is free software, and may * be redistributed or modified subject to the terms of the GNU General * Public License (version 2) or the GNU Lesser General Public License, * or (at your option) any later versions ("Open Source" code). You may * obtain a copy of the GNU General Public License at * http://www.fsf.org/copyleft/gpl.html and a copy of the GNU Lesser * General Public License at http://www.fsf.org/copyleft/less.html, * or you may alternatively write to the Free Software Foundation, Inc., * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * * 2. Disclaimer of Warranties. LINUXANT AND OTHER CONTRIBUTORS MAKE NO * REPRESENTATION ABOUT THE SUITABILITY OF THIS SOFTWARE FOR ANY PURPOSE. * IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTIES OF ANY KIND. * LINUXANT AND OTHER CONTRIBUTORS DISCLAIMS ALL WARRANTIES WITH REGARD TO * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS * FOR A PARTICULAR PURPOSE, GOOD TITLE AND AGAINST INFRINGEMENT. * * This software has not been formally tested, and there is no guarantee that * it is free of errors including, but not limited to, bugs, defects, * interrupted operation, or unexpected results. Any use of this software is * at user's own risk. * * 3. No Liability. * * (a) Linuxant or contributors shall not be responsible for any loss or * damage to user, or any third parties for any reason whatsoever, and * LINUXANT OR CONTRIBUTORS SHALL NOT BE LIABLE FOR ANY ACTUAL, DIRECT, * INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL, OR CONSEQUENTIAL * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED, WHETHER IN CONTRACT, STRICT OR OTHER LEGAL THEORY OF * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. * * (b) User agrees to hold Linuxant and contributors harmless from any * liability, loss, cost, damage or expense, including attorney's fees, * as a result of any claims which may be made by any person, including * but not limited to User, its agents and employees, its customers, or * any third parties that arise out of or result from the manufacture, * delivery, actual or alleged ownership, performance, use, operation * or possession of the software furnished hereunder, whether such claims * are based on negligence, breach of contract, absolute liability or any * other legal theory. * * 4. Notices. User hereby agrees not to remove, alter or destroy any * copyright, trademark, credits, other proprietary notices or confidential * legends placed upon, contained within or associated with the Software, * and shall include all such unaltered copyright, trademark, credits, * other proprietary notices or confidential legends on or in every copy of * the Software. * */ #ifndef __OSCOMPAT_H #define __OSCOMPAT_H #ifdef __cplusplus extern "C" { #endif #include "osuniqredef.h" #include <linux/version.h> #ifdef FOUND_LINUX_CONFIG #include <linux/config.h> #endif #include <linux/types.h> #if defined(STATIC_ERRNO) #ifndef _LINUX_UNISTD_H_ #define _LINUX_UNISTD_H_ #endif static int errno; #include <asm/unistd.h> #endif #include <linux/sched.h> #include <linux/slab.h> #include <linux/mm.h> #include <linux/interrupt.h> #include <linux/wait.h> #include <linux/module.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/string.h> #include <linux/kdev_t.h> #ifdef FOUND_LINUX_BYTEORDER_SWAB #include <linux/byteorder/swab.h> #else #include <linux/swab.h> #endif #include <linux/proc_fs.h> #ifdef FOUND_LINUX_SEMAPHORE #include <linux/semaphore.h> #endif #ifdef FOUND_MODULE_PARAM #include <linux/moduleparam.h> #endif #if LINUX_VERSION_CODE == KERNEL_VERSION(2,4,9) /* get rid of non-standard min/max macros */ #undef min #undef max #endif #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) #include <linux/tqueue.h> #else #include <linux/spinlock.h> #include <linux/list.h> #include <asm/bitops.h> #include <asm/system.h> /* * New proposed "bottom half" handlers: * (C) 1994 Kai Petzke, wpp@xxxxxxxxxxxxxxxxxxxxxxxxx * * Advantages: * - Bottom halfs are implemented as a linked list. You can have as many * of them, as you want. * - No more scanning of a bit field is required upon call of a bottom half. * - Support for chained bottom half lists. The run_task_queue() function can be * used as a bottom half handler. This is for example useful for bottom * halfs, which want to be delayed until the next clock tick. * * Notes: * - Bottom halfs are called in the reverse order that they were linked into * the list. */ struct tq_struct { struct list_head list; /* linked list of active bh's */ unsigned long sync; /* must be initialized to zero */ void (*routine)(void *); /* function to call */ void *data; /* argument to function */ }; /* * Emit code to initialise a tq_struct's routine and data pointers */ #define PREPARE_TQUEUE(_tq, _routine, _data) \ do { \ (_tq)->routine = _routine; \ (_tq)->data = _data; \ } while (0) /* * Emit code to initialise all of a tq_struct */ #define INIT_TQUEUE(_tq, _routine, _data) \ do { \ INIT_LIST_HEAD(&(_tq)->list); \ (_tq)->sync = 0; \ PREPARE_TQUEUE((_tq), (_routine), (_data)); \ } while (0) typedef struct list_head task_queue; #define DECLARE_TASK_QUEUE(q) LIST_HEAD(q) #define TQ_ACTIVE(q) (!list_empty(&q)) extern task_queue tq_timer, tq_immediate, tq_disk; /* * To implement your own list of active bottom halfs, use the following * two definitions: * * DECLARE_TASK_QUEUE(my_tqueue); * struct tq_struct my_task = { * routine: (void (*)(void *)) my_routine, * data: &my_data * }; * * To activate a bottom half on a list, use: * * queue_task(&my_task, &my_tqueue); * * To later run the queued tasks use * * run_task_queue(&my_tqueue); * * This allows you to do deferred processing. For example, you could * have a task queue called tq_timer, which is executed within the timer * interrupt. */ #ifdef STATIC_TQUEUE_LOCK static spinlock_t tqueue_lock __attribute__((unused)) = SPIN_LOCK_UNLOCKED; #else extern spinlock_t tqueue_lock; #endif /* * Queue a task on a tq. Return non-zero if it was successfully * added. */ static inline int queue_task(struct tq_struct *bh_pointer, task_queue *bh_list) { int ret = 0; if (!test_and_set_bit(0,&bh_pointer->sync)) { unsigned long flags; spin_lock_irqsave(&tqueue_lock, flags); list_add_tail(&bh_pointer->list, bh_list); spin_unlock_irqrestore(&tqueue_lock, flags); ret = 1; } return ret; } /* * Call all "bottom halfs" on a given list. */ static inline void run_task_queue(task_queue *list) { if (TQ_ACTIVE(*list)) { struct list_head head, *next; unsigned long flags; spin_lock_irqsave(&tqueue_lock, flags); list_add(&head, list); list_del_init(list); spin_unlock_irqrestore(&tqueue_lock, flags); next = head.next; while (next != &head) { void (*f) (void *); struct tq_struct *p; void *data; p = list_entry(next, struct tq_struct, list); next = next->next; f = p->routine; data = p->data; wmb(); p->sync = 0; if (f) f(data); } } } #define devfs_register_chrdev register_chrdev #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) */ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) && !defined(FOUND_DEVFS) #define devfs_register_chrdev register_chrdev #endif #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,2) #include <linux/circ_buf.h> #else struct circ_buf { char *buf; int head; int tail; }; /* Return count in buffer. */ #define CIRC_CNT(head,tail,size) (((head) - (tail)) & ((size)-1)) /* Return space available, 0..size-1. We always leave one free char as a completely full buffer has head == tail, which is the same as empty. */ #define CIRC_SPACE(head,tail,size) CIRC_CNT((tail),((head)+1),(size)) /* Return count up to the end of the buffer. Carefully avoid accessing head and tail more than once, so they can change underneath us without returning inconsistent results. */ #define CIRC_CNT_TO_END(head,tail,size) \ ({int end = (size) - (tail); \ int n = ((head) + end) & ((size)-1); \ n < end ? n : end;}) /* Return space available up to the end of the buffer. */ #define CIRC_SPACE_TO_END(head,tail,size) \ ({int end = (size) - 1 - (head); \ int n = (end + (tail)) & ((size)-1); \ n <= end ? n : end+1;}) #endif #ifdef CONFIG_KDB #define KDB_ENTER() asm("\tint $129\n") #else #define KDB_ENTER() do {} while(0) #endif #ifndef minor #define minor(d) MINOR(d) #endif #ifndef unlikely #define unlikely(x) (x) #endif #ifdef MODULE #ifndef THIS_MODULE #define THIS_MODULE (&__this_module) #endif #ifndef module_init #define module_init(x) int init_module(void) { return x(); } #endif #ifndef module_exit #define module_exit(x) void cleanup_module(void) { x(); } #endif #endif #ifndef MODULE_LICENSE #define MODULE_LICENSE(x) #endif #ifndef MODULE_INFO #define MODULE_INFO(x,y) #endif #ifndef EXPORT_SYMBOL_NOVERS #define EXPORT_SYMBOL_NOVERS(x) EXPORT_SYMBOL(x) #endif #ifndef __exit #define __exit #endif #ifndef __devexit_p #define __devexit_p(x) x #endif #ifndef DECLARE_MUTEX #define DECLARE_MUTEX(name) struct semaphore name=MUTEX #define init_MUTEX(x) *(x)=MUTEX #endif #ifndef DECLARE_WAITQUEUE #define DECLARE_WAITQUEUE(wait, current) struct wait_queue wait = { current, NULL } #define DECLARE_WAIT_QUEUE_HEAD(wait) wait_queue_head_t wait typedef struct wait_queue *wait_queue_head_t; #define init_waitqueue_head(x) *(x)=NULL #endif #ifndef set_current_state #define __set_current_state(state_value) do { current->state = state_value; } while (0) #ifdef __SMP__ #define set_current_state(state_value) do { __set_current_state(state_value); mb(); } while (0) #else #define set_current_state(state_value) __set_current_state(state_value) #endif #endif // set_current_state #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0) #define get_zeroed_page get_free_page #define try_inc_mod_count(mod) ((mod && !(mod->flags & MOD_DELETED)) ? __MOD_INC_USE_COUNT(mod), 1 : 0) #endif // LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0) #ifndef PREPARE_TQUEUE /* * Emit code to initialise a tq_struct's routine and data pointers */ #define PREPARE_TQUEUE(_tq, _routine, _data) \ do { \ (_tq)->routine = _routine; \ (_tq)->data = _data; \ } while (0) #endif #ifndef INIT_TQUEUE /* * Emit code to initialise all of a tq_struct */ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0) #define INIT_TQUEUE(_tq, _routine, _data) \ do { \ INIT_LIST_HEAD(&(_tq)->list); \ (_tq)->sync = 0; \ PREPARE_TQUEUE((_tq), (_routine), (_data)); \ } while (0) #else #define INIT_TQUEUE(_tq, _routine, _data) \ do { \ (_tq)->next = NULL; \ (_tq)->sync = 0; \ PREPARE_TQUEUE((_tq), (_routine), (_data)); \ } while (0) #endif #endif #ifndef DECLARE_TASKLET #define tasklet_struct tq_struct #define tasklet_init(tlet, func, parm) INIT_TQUEUE(tlet, (void (*)(void *))(func), (void *)(parm)) #define tasklet_schedule(tlet) queue_task(tlet, &tq_immediate); mark_bh(IMMEDIATE_BH) static inline void tasklet_kill(struct tasklet_struct *t) { unsigned long flags; struct tq_struct **pp; spin_lock_irqsave(&tqueue_lock, flags); if(t->sync) { for(pp = &tq_immediate; *pp; pp = &(*pp)->next) { if(*pp == t) { *pp = t->next; t->sync = 0; break; } } } spin_unlock_irqrestore(&tqueue_lock, flags); } #endif #if defined(EXPORT_SYMTAB) #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)) && defined(memcpy) /* accomodate references to memcpy caused by gcc */ void * memcpy_for_gcc(void *dest, const void *src, __kernel_size_t n) { return memcpy(dest, src, n); } #undef memcpy void * memcpy(void *dest, const void *src, __kernel_size_t n) __attribute__ ((weak, alias ("memcpy_for_gcc"))); #endif #endif // EXPORT_SYMTAB static inline void OsModuleUseCountInc(void) { #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) MOD_INC_USE_COUNT; #else (void)try_module_get(THIS_MODULE); #endif } static inline void OsModuleUseCountDec(void) { #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) MOD_DEC_USE_COUNT; #else module_put(THIS_MODULE); #endif } #if defined(DEBUG_CHECK_STACK) && (defined(EXPORT_SYMTAB) || defined(CNXTSERIAL_INCLUDE_CORE)) /* inspired by Benjamin LaHaise's CONFIG_X86_STACK_CHECK patch */ static void __attribute__ ((unused, used)) _OSUNIQDEF(stack_overflow)(void *esp, void *eip) { printk(KERN_ERR "%s: from %p. esp: %p\n", __FUNCTION__, eip, esp); KDB_ENTER(); } void mcount(void) __attribute__ ((alias (_OSUNIQDEF_STR(mcount)))); static int __attribute__ ((unused)) stack_danger_zone = sizeof(struct task_struct) + 512; asm( "\n" "THREAD_SIZE = 8192\n" /* 2 * PAGE_SIZE */ "\n" ".data\n" "\n" "stack_overflowed:\n" " .long 0\n" "\n" ".text\n" "\n" " .align 16\n" "\n" " .type "_OSUNIQDEF_STR(mcount)",@function\n" " .globl "_OSUNIQDEF_STR(mcount)"\n" "\n" _OSUNIQDEF_STR(mcount)":\n" " push %eax\n" " movl $(THREAD_SIZE - 1),%eax\n" " andl %esp,%eax\n" " cmpl stack_danger_zone, %eax\n" " jle 1f\n" "2:\n" " popl %eax\n" " ret\n" "\n" "1:\n" " movl %esp,%eax\n" "\n" " lock; btsl $0,stack_overflowed\n" /* prevent re-entry */ " jc 2b\n" "\n" " pushf\n" " cli\n" "\n" /* push eip then esp of error for stack_overflow */ " pushl 4(%eax)\n" " pushl %eax\n" " call "_OSUNIQDEF_STR(stack_overflow)"\n" " addl $8,%esp\n" "\n" " popf\n" "\n" " popl %eax\n" " movl $0,stack_overflowed\n" " ret\n" ); #warning stack check enabled #endif #ifndef irqs_disabled #define irqs_disabled() \ ({ \ unsigned long flags;\ __asm__ __volatile__("pushfl ; popl %0":"=g" (flags): /* no input */); \ !(flags & (1<<9)); \ }) #endif static inline int OsContextAllowsSleeping(void) { if(irqs_disabled()) return 0; if(in_irq()) return 0; if((in_interrupt()) #ifdef in_atomic || (in_atomic()) #endif || (in_softirq()) ) return 0; return 1; } #if defined(CONFIG_ALL_PPC) && !defined(CONFIG_PPC_PMAC) && (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)) #define CONFIG_PPC_PMAC #endif #ifdef __cplusplus } #endif #ifdef FOUND_DEV_NAME #define PCI_SLOT_NAME(x) dev_name(&(x)->dev) #else #ifdef FOUND_PCI_DEV_SLOT_NAME #define PCI_SLOT_NAME(x) (x)->slot_name #else #define PCI_SLOT_NAME(x) (x)->dev.bus_id #endif #endif #ifdef FOUND_CLASS_SIMPLE #define CLASS_DEVICE_CREATE(class, dev, device, fmt, rest...) class_simple_device_add(class, dev, device, fmt, ## rest) #define CLASS_DESTROY(class) class_simple_destroy(class) #define CLASS_DEVICE_DESTROY(class, dev) class_simple_device_remove(dev) #define CLASS_CREATE(owner, name) class_simple_create(owner, name) #else #ifdef FOUND_CLASS_DEVICE #ifdef FOUND_CLASS_DEVICE_PARENT #define CLASS_DEVICE_CREATE(class, dev, device, fmt, rest...) class_device_create(class, NULL, dev, device, fmt, ## rest) #else #define CLASS_DEVICE_CREATE(class, dev, device, fmt, rest...) class_device_create(class, dev, device, fmt, ## rest) #endif #define CLASS_DEVICE_DESTROY(class, dev) class_device_destroy(class, dev) #else #ifdef FOUND_DEVICE_CREATE_DRVDATA #define CLASS_DEVICE_CREATE(class, dev, device, fmt, rest...) device_create_drvdata(class, device, dev, NULL, fmt, ## rest) #else #ifdef FOUND_DEVICE_CREATE_WITH_DRVDATA #define CLASS_DEVICE_CREATE(class, dev, device, fmt, rest...) device_create(class, device, dev, NULL, fmt, ## rest) #else #define CLASS_DEVICE_CREATE(class, dev, device, fmt, rest...) device_create(class, device, dev, fmt, ## rest) #endif #endif #define CLASS_DEVICE_DESTROY(class, dev) device_destroy(class, dev) #endif #define CLASS_DESTROY(class) class_destroy(class) #define CLASS_CREATE(owner, name) class_create(owner, name) #endif #if ( LINUX_VERSION_CODE < KERNEL_VERSION(2,6,12) ) #define USB_MS_TIMEOUT(ms) ((ms / 1000) * HZ) #else #define USB_MS_TIMEOUT(ms) (ms) #endif #ifdef FOUND_PM_MESSAGE_STRUCT #define GET_PM_MESSAGE_EVENT(pm_message) (pm_message.event) #else #define GET_PM_MESSAGE_EVENT(pm_message) ((u32)(pm_message)) #endif #ifndef FOUND_PCI_CHOOSE_STATE #define pci_choose_state(pdev, state) (state) #endif #if !defined(FOUND_PM_MESSAGE_T) && !defined(FOUND_PM_MESSAGE_STRUCT) typedef u32 pm_message_t; #endif #ifdef FOUND_PCI_REGISTER_DRIVER #define PCI_REGISTER_DRIVER(pci_driver) pci_register_driver(pci_driver) #else #define PCI_REGISTER_DRIVER(pci_driver) pci_module_init(pci_driver) #endif #ifdef FOUND_TOUCH_ATIME #define TOUCH_ATIME(file) touch_atime((file)->f_vfsmnt,(file)->f_dentry); #else #define TOUCH_ATIME(file) update_atime((file)->f_dentry->d_inode); #endif #ifdef FOUND_PCI_GET_DEVICE #define PCI_GET_DEVICE pci_get_device #else #define PCI_GET_DEVICE pci_find_device #endif #ifndef __user #define __user #endif #ifdef IRQF_SHARED #define CNXT_IRQ_SHARED IRQF_SHARED #else #define CNXT_IRQ_SHARED SA_SHIRQ #endif #ifndef proc_root_driver #define proc_root_driver NULL #define PROC_PREFIX "driver/" #else #define PROC_PREFIX "" #endif #ifndef FOUND_KILL_PROC static inline struct pid *find_pid(int nr) { return find_pid_ns(nr, &init_pid_ns); } static inline int kill_proc(pid_t pid, int sig, int priv) { int ret; rcu_read_lock(); ret = kill_pid(find_pid(pid), sig, priv); rcu_read_unlock(); return ret; } #endif #ifdef FOUND_STRUCT_TTY_PORT #define UART_INFO_TO_TTY(ui) (ui->port.tty) #else #define UART_INFO_TO_TTY(ui) (ui->tty) #endif #ifdef FOUND_NO_STRUCT_UART_INFO typedef struct uart_state uart_info_t; #else typedef struct uart_info uart_info_t; #endif #endif /* __OSCOMPAT_H */ ------------ -------------- -------------- ----------- buildlog.txt driver version 7.80.02.06full (cd /lib/modules/3.0.0-14-generic/build && make "CNXT_KERNELSRC=/lib/modules/3.0.0-14-generic/build" "M=/usr/lib/hsfmodem/modules" "CC=gcc" clean) make[1]: Entering directory `/usr/src/linux-headers-3.0.0-14-generic' make[1]: Leaving directory `/usr/src/linux-headers-3.0.0-14-generic' (cd /lib/modules/3.0.0-14-generic/build && make "CNXT_KERNELSRC=/lib/modules/3.0.0-14-generic/build" "M=/usr/lib/hsfmodem/modules/GPL/hda" "CC=gcc" "HDA_CFLAGS=-DFOUND_KZALLOC -DFOUND_TLV -DFOUND_IRQ_HANDLER_T -DFOUND_DELAYED_WORK -DFOUND_NO_CTL_ELEM_RW" clean) make[1]: Entering directory `/usr/src/linux-headers-3.0.0-14-generic' make[1]: Leaving directory `/usr/src/linux-headers-3.0.0-14-generic' rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd .tmp_versions .tmp_versions /lib/modules/3.0.0-14-generic/build/.tmp_versions/hsfosspec.mod /lib/modules/3.0.0-14-generic/build/.tmp_versions/hsfserial.mod /lib/modules/3.0.0-14-generic/build/.tmp_versions/hsfengine.mod /lib/modules/3.0.0-14-generic/build/.tmp_versions/hsfpcibasic2.mod /lib/modules/3.0.0-14-generic/build/.tmp_versions/hsfpcibasic3.mod /lib/modules/3.0.0-14-generic/build/.tmp_versions/hsfhda.mod /lib/modules/3.0.0-14-generic/build/.tmp_versions/hsfmc97ich.mod /lib/modules/3.0.0-14-generic/build/.tmp_versions/hsfmc97via.mod /lib/modules/3.0.0-14-generic/build/.tmp_versions/hsfmc97ali.mod /lib/modules/3.0.0-14-generic/build/.tmp_versions/hsfmc97ati.mod /lib/modules/3.0.0-14-generic/build/.tmp_versions/hsfmc97sis.mod /lib/modules/3.0.0-14-generic/build/.tmp_versions/hsfsoar.mod Modules.symvers GPL/hda/Modules.symvers Module.symvers GPL/hda/Module.symvers modules.order GPL/hda/modules.order Module.markers GPL/hda/Module.markers (cd /lib/modules/3.0.0-14-generic/build && make "CNXT_KERNELSRC=/lib/modules/3.0.0-14-generic/build" "M=/usr/lib/hsfmodem/modules" "CC=gcc" modules) make[1]: Entering directory `/usr/src/linux-headers-3.0.0-14-generic' CC [M] /usr/lib/hsfmodem/modules/mod_engine.o CC [M] /usr/lib/hsfmodem/modules/mod_hda.o CC [M] /usr/lib/hsfmodem/modules/mod_mc97ali.o CC [M] /usr/lib/hsfmodem/modules/mod_mc97ati.o CC [M] /usr/lib/hsfmodem/modules/mod_mc97ich.o CC [M] /usr/lib/hsfmodem/modules/mod_mc97sis.o CC [M] /usr/lib/hsfmodem/modules/mod_mc97via.o CC [M] /usr/lib/hsfmodem/modules/mod_osspec.o CC [M] /usr/lib/hsfmodem/modules/osservices.o In file included from /usr/lib/hsfmodem/modules/osservices.c:20:0: /usr/lib/hsfmodem/modules/GPL/oscompat.h:201:57: error: 'SPIN_LOCK_UNLOCKED' undeclared here (not in a function) /usr/lib/hsfmodem/modules/osservices.c:51:28: fatal error: linux/smp_lock.h: No such file or directory compilation terminated. make[2]: *** [/usr/lib/hsfmodem/modules/osservices.o] Error 1 make[1]: *** [_module_/usr/lib/hsfmodem/modules] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-3.0.0-14-generic' make: *** [all] Error 2